code stringlengths 1.03k 250k | repo_name stringlengths 7 70 | path stringlengths 4 177 | language stringclasses 1
value | license stringclasses 15
values | size int64 1.03k 250k |
|---|---|---|---|---|---|
#include <stdlib.h>
#include <string.h>
#ifndef WIN32
#include "config.h"
#endif
#ifdef ENABLE_NLS
#include <libintl.h>
#endif
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1
#define __USE_ISOC9X 1
#include <math.h>
#include "ladspa.h"
#ifdef WIN32
#... | universalprojectfile/universal-project-file | universal-daw/plugins/LadspaEffect/swh/wave_terrain_1412.c | C | apache-2.0 | 6,290 |
/*
* File: pci-acpi.c
* Purpose: Provide PCI support in ACPI
*
* Copyright (C) 2005 David Shaohua Li <shaohua.li@intel.com>
* Copyright (C) 2004 Tom Long Nguyen <tom.l.nguyen@intel.com>
* Copyright (C) 2004 Intel Corp.
*/
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/mo... | JonnyH/pandora-kernel | drivers/pci/pci-acpi.c | C | gpl-2.0 | 10,108 |
/*
Copyright 2016 Fred Sundvik <fsundvik@gmail.com>
Jun Wako <wakojun@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version... | hiro2016/ergodox_gui_configurator | qmk_firmware/keyboards/ergodox/infinity/matrix.c | C | gpl-2.0 | 5,499 |
/*
Unix SMB/CIFS implementation.
Winbind status program.
Copyright (C) Tim Potter 2000-2003
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2003-2004
Copyright (C) Francesco Chemolli <kinkie@kame.usr.dsi.unimi.it> 2000
Copyright (C) Robert O'Callahan 2006 (added cached credential code).
C... | QGuLL/samba | source3/utils/ntlm_auth.c | C | gpl-3.0 | 82,796 |
#include "ruby.h"
#include "rubyspec.h"
#ifdef RUBY_VERSION_IS_1_8
#include "rubyio.h"
#else
#include "ruby/io.h"
#endif
#include <fcntl.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef RUBY_VERSION_IS_LT_1_8_7
#define rb_io_t OpenFile
#endif
static int set_non_blocking(int fd) {
int flags;
#if defined(O_NONBLOCK)... | slawosz/rubinius | spec/ruby/optional/capi/ext/io_spec.c | C | bsd-3-clause | 3,658 |
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/types.h>
... | prasidh09/cse506 | unionfs-3.10.y/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c | C | gpl-2.0 | 3,428 |
#include <sys/stat.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include "expat.h"
static void
usage(const char *prog, int rc)
{
fprintf(stderr,
"usage: %s [-n] filename bufferSize nr_of_loops\n", prog);
exit(rc);
}
int main (int argc, char *argv[])
{
XML_Parser parser;
char ... | clawoo/BreakoutCocos2D-x | libs/cocos2dx/platform/third_party/airplay/expat/tests/benchmark/benchmark.c | C | mit | 2,533 |
/*
* Copyright (c) 2008 Patrick McHardy <kaber@trash.net>
* Copyright (c) 2013 Pablo Neira Ayuso <pablo@netfilter.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Dev... | zhiyisun/linux | net/bridge/netfilter/nf_tables_bridge.c | C | gpl-2.0 | 2,059 |
/* This testcase is part of GDB, the GNU debugger.
Copyright 2004, 2007-2012 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the Licens... | ILyoan/gdb | gdb/testsuite/gdb.base/call-sc.c | C | gpl-2.0 | 1,580 |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <getopt.h>
#include "macro.h"
#include "strv.h"
#include "verbs.h"
static int noop_dispatcher(int argc, char *argv[], void *userdata) {
return 0;
}
#define test_dispatch_one(argv, verbs, expected) \
optind = 0; \
assert_se(dispatch_verb(strv_... | splantefeve/systemd | src/test/test-verbs.c | C | gpl-2.0 | 2,142 |
/*
* TCP over IPv6
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* Based on:
* linux/net/ipv4/tcp.c
* linux/net/ipv4/tcp_input.c
* linux/net/ipv4/tcp_output.c
*
* Fixes:
* Hideaki YOSHIFUJI : sin6_scope_id support
* YOSHIFUJI Hideaki @USAGI and: Support IPV6_V6ONLY socket ... | sria91/linux | net/ipv6/tcp_ipv6.c | C | gpl-2.0 | 51,054 |
/* SF16-FMR2 and SF16-FMD2 radio driver for Linux
* Copyright (c) 2011 Ondrej Zary
*
* Original driver was (c) 2000-2002 Ziglio Frediano, freddy77@angelfire.com
* but almost nothing remained here after conversion to generic TEA575x
* implementation
*/
#include <linux/delay.h>
#include <linux/module.h> /* Modules... | prasidh09/cse506 | unionfs-3.10.y/drivers/media/radio/radio-sf16fmr2.c | C | gpl-2.0 | 8,787 |
/* packet-dpvreq.c
* Routines for DOCSIS 3.0 DOCSIS Path Verify Response Message dissection.
* Copyright 2010, Guido Reismueller <g.reismueller[AT]avm.de>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can re... | frenos/wireshark | plugins/docsis/packet-dpvreq.c | C | gpl-2.0 | 5,712 |
/*
* Routines to compress and uncompress tcp packets (for transmission
* over low speed serial lines).
*
* Copyright (c) 1989 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this pa... | z3bu/AH4222 | kernel/linux/drivers/net/slhc.c | C | gpl-2.0 | 20,403 |
/*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Copyright 2010, Sony Ericsson Mobile Communications AB
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the... | androidarmv6/android_kernel_semc_msm7x27 | net/bluetooth/l2cap.c | C | gpl-2.0 | 63,354 |
/* Analog Devices 1889 audio driver
*
* This is a driver for the AD1889 PCI audio chipset found
* on the HP PA-RISC [BCJ]-xxx0 workstations.
*
* Copyright (C) 2004-2005, Kyle McMartin <kyle@parisc-linux.org>
* Copyright (C) 2005, Thibaut Varene <varenet@parisc-linux.org>
* Based on the OSS AD1889 driver by Ran... | JonnyH/pandora-kernel | sound/pci/ad1889.c | C | gpl-2.0 | 27,091 |
/*
* Copyright (c) 1982, 1986, 1988, 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must reta... | atgreen/RTEMS | cpukit/libnetworking/netinet/ip_output.c | C | gpl-2.0 | 32,713 |
/*
Unix SMB/CIFS implementation.
Test NTP authentication support
Copyright (C) Andrew Bartlet <abartlet@samba.org> 2008
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... | ghmajx/asuswrt-merlin | release/src/router/samba-3.5.8/source4/torture/ntp/ntp_signd.c | C | gpl-2.0 | 9,354 |
/* $NoKeywords:$ */
/**
* @file
*
* Four node Square Topology.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: HyperTransport
* @e \$Revision: 44324 $ @e \$Date: 2010-12-22 17:16:51 +0800 (Wed, 22 Dec 2010) $
*
*/
/*
*************************************... | BTDC/coreboot | src/vendorcode/amd/agesa/f12/Proc/HT/htGraph/htGraph4Square.c | C | gpl-2.0 | 2,749 |
/*
* aeskeywrap.c
* Perform RFC3394 AES-based key wrap and unwrap functions.
*
* Copyright (C) 2014, Broadcom Corporation
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in... | wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/bcmcrypto/aeskeywrap.c | C | gpl-2.0 | 7,588 |
// SPDX-License-Identifier: GPL-2.0
/*
* Hardware monitoring driver for Maxim MAX16508 and MAX16601.
*
* Implementation notes:
*
* This chip series supports two rails, VCORE and VSA. Telemetry information
* for the two rails is reported in two subsequent I2C addresses. The driver
* instantiates a dummy I2C clien... | openwrt-es/linux | drivers/hwmon/pmbus/max16601.c | C | gpl-2.0 | 9,844 |
/* This file contains an example program from The Little Book of
Semaphores, available from Green Tea Press, greenteapress.com
Copyright 2014 Allen B. Downey
License: Creative Commons Attribution-ShareAlike 3.0
*/
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <semaphore.h>
#define NUM... | jackfan108/SoftwareSystems | lecture21/counter_mutex.c | C | gpl-3.0 | 2,620 |
/*
* linux/arch/arm/vfp/vfpmodule.c
*
* Copyright (C) 2004 ARM Limited.
* Written by Deep Blue Solutions Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#incl... | jassycliq/lg_g2d801 | arch/arm/vfp/vfpmodule.c | C | gpl-2.0 | 19,977 |
/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
... | mseaborn/nacl-glibc | socket/getsockname.c | C | gpl-2.0 | 1,215 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* linux/kernel/power/snapshot.c
*
* This file provides system snapshot/restore functionality for swsusp.
*
* Copyright (C) 1998-2005 Pavel Machek <pavel@ucw.cz>
* Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl>
*/
#define pr_fmt(fmt) "PM: hibernation: " fmt
#inclu... | rperier/linux-rockchip | kernel/power/snapshot.c | C | gpl-2.0 | 74,368 |
/* cpu.c: Dinky routines to look for the kind of Sparc cpu
* we are on.
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <linux/threads.h>
#include <asm/oplib.h>
#include <asm/page.h>
#include <asm/head.h>
#i... | kzlin129/tt-gpl | go12/linux-2.6.28.10/arch/sparc/kernel/cpu.c | C | gpl-2.0 | 4,915 |
/**
* eCryptfs: Linux filesystem encryption layer
*
* Copyright (C) 1997-2004 Erez Zadok
* Copyright (C) 2001-2004 Stony Brook University
* Copyright (C) 2004-2007 International Business Machines Corp.
* Author(s): Michael A. Halcrow <mahalcro@us.ibm.com>
* Michael C. Thompsion <mcthomps@us.ibm.co... | xInterlopeRx/android_kernel_samsung_lt02ltespr | fs/ecryptfs/inode.c | C | gpl-2.0 | 38,320 |
#include <linux/kernel.h>
#include <linux/xlog.h>
#include "jpeg_drv_6589_reg.h"
#include "jpeg_drv_6589_common.h"
... | valascus/android_p8000_kernel_nougat | drivers/misc/mediatek/jpeg/mt6735/jpeg_drv_6589_enc.c | C | gpl-3.0 | 13,410 |
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | sktjdgns1189/android_kernel_lge_f180k | drivers/slimbus/slim-msm-ngd.c | C | gpl-2.0 | 46,802 |
/**
******************************************************************************
* @file stm32f2xx_hal_hash.c
* @author MCD Application Team
* @version V1.1.3
* @date 29-June-2016
* @brief HASH HAL module driver.
* This file provides firmware functions to manage the following
* ... | RonEld/mbed | targets/TARGET_STM/TARGET_STM32F2/device/stm32f2xx_hal_hash.c | C | apache-2.0 | 58,884 |
/* $Id: processor.c,v 1.1 2002/07/20 16:27:06 rhirst Exp $
*
* Initial setup-routines for HP 9000 based hardware.
*
* Copyright (C) 1991, 1992, 1995 Linus Torvalds
* Modifications for PA-RISC (C) 1999-2008 Helge Deller <deller@gmx.de>
* Modifications copyright 1999 SuSE GmbH (Philipp Rumpf)
* ... | pichina/linux-bcache | arch/parisc/kernel/processor.c | C | gpl-2.0 | 12,067 |
/*
* Machine check exception handling CPU-side for power7 and power8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | mkvdv/au-linux-kernel-autumn-2017 | linux/arch/powerpc/kernel/mce_power.c | C | gpl-3.0 | 17,501 |
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT AN... | metacloud/percona-xtrabackup | percona-server-5.1-xtrabackup/Percona-Server-5.1.59-rel13.0/mysys/my_sleep.c | C | gpl-2.0 | 1,257 |
/*
* Copyright (c) 2002-2003, Intel Corporation. All rights reserved.
* Created by: salwan.searty REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
* Test that the sigwaitinfo() funct... | yankunsam/ltp | testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/9-1.c | C | gpl-2.0 | 1,498 |
/*
* QEMU Leon3 System Emulator
*
* Copyright (c) 2010-2011 AdaCore
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... | BlastarIndia/Blastarix | qemu-1.7.0/hw/sparc/leon3.c | C | gpl-3.0 | 6,949 |
/*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... | Drakefrog/tess-two | tess-two/jni/com_googlecode_leptonica_android/src/src/fhmtauto.c | C | apache-2.0 | 31,769 |
/*
* Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source ... | CoderSherlock/Mondroid | kernelsource/msm/drivers/net/ethernet/chelsio/cxgb3/sge.c | C | gpl-2.0 | 93,563 |
/*
* Copyright (c) 2003, Intel Corporation. All rights reserved.
* Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
*/
/*
* Test that if the access mode... | yankunsam/ltp | testcases/open_posix_testsuite/conformance/interfaces/mq_open/8-2.c | C | gpl-2.0 | 4,114 |
/*
* Copyright (c) 2005 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement
* retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | vityurkiv/Ox | libmesh/contrib/exodusii/5.22b/exodus/cbind/src/ex_put_set_dist_fact.c | C | lgpl-2.1 | 5,693 |
/*
* rt5631.c -- RT5631 ALSA Soc Audio driver
*
* Copyright 2011 Realtek Microelectronics
*
* Author: flove <flove@realtek.com>
*
* Based on WM8753.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by t... | flyfire/linux | sound/soc/codecs/rt5631.c | C | gpl-2.0 | 56,669 |
/*
* Copyright 2011-2013 Freescale Semiconductor, Inc.
* Copyright 2011 Linaro Ltd.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gp... | ftCommunity/ft-TXT | board/knobloch/TXT/board-support/ti-linux/arch/arm/mach-imx/clk-imx6q.c | C | gpl-2.0 | 33,429 |
/*
* Copyright (c) 2015 - 2016, Freescale Semiconductor, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice, th... | scottdarch/Noer | FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/boards/frdmk66f/usb_examples/usb_suspend_resume_device_hid_mouse/freertos/usb_device_ch9.c | C | apache-2.0 | 44,816 |
/*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs
*/
#include <linux/kallsyms.h>
#include <linux/kprobes.h>
#include <linux/uaccess.h>
#include <linux/utsname.h>
#include <linux/hardirq.h>
#include <linux/kdebug.h>
#include <linux/module.h>
#include <linux/ptrace.... | david-a-wheeler/linux | arch/x86/kernel/dumpstack.c | C | gpl-2.0 | 7,847 |
/* This testcase is part of GDB, the GNU debugger.
Copyright 2009-2013 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
... | hzq1001/or1k-src | gdb/testsuite/gdb.base/gnu-ifunc.c | C | gpl-2.0 | 1,431 |
/* The IGEN simulator generator for GDB, the GNU Debugger.
Copyright 2002-2013 Free Software Foundation, Inc.
Contributed by Andrew Cagney.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... | ChristophTWeinmann/GDB | sim/igen/gen-icache.c | C | gpl-2.0 | 23,222 |
/*
* linux/arch/unicore32/kernel/puv3-core.c
*
* Code specific to PKUnity SoC and UniCore ISA
*
* Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn>
* Copyright (C) 2001-2010 Guan Xuetao
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | jameshilliard/m8-3.4.0-gb1fa77f | arch/unicore32/kernel/puv3-core.c | C | gpl-2.0 | 5,597 |
/* More subroutines needed by GCC output code on some machines. */
/* Compile this one with gcc. */
/* Copyright (C) 1989-2014 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the... | periclesroalves/gcc-conair | libgcc/config/h8300/fixunssfsi.c | C | gpl-2.0 | 1,451 |
// SPDX-License-Identifier: GPL-2.0
/*
* System Control and Management Interface (SCMI) Clock Protocol
*
* Copyright (C) 2018 ARM Ltd.
*/
#include "common.h"
enum scmi_clock_protocol_cmd {
CLOCK_ATTRIBUTES = 0x3,
CLOCK_DESCRIBE_RATES = 0x4,
CLOCK_RATE_SET = 0x5,
CLOCK_RATE_GET = 0x6,
CLOCK_CONFIG_SET = 0x7,
... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.19/drivers/firmware/arm_scmi/clock.c | C | gpl-2.0 | 7,886 |
/*
* Intel(R) Processor Trace PMU driver for perf
* Copyright (c) 2013-2014, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This prog... | jallen93/linux-vnic-dbg | arch/x86/events/intel/pt.c | C | gpl-2.0 | 35,637 |
/*
* EFI stub implementation that is shared by arm and arm64 architectures.
* This should be #included by the EFI stub implementation files.
*
* Copyright (C) 2013,2014 Linaro Limited
* Roy Franz <roy.franz@linaro.org
* Copyright (C) 2013 Red Hat, Inc.
* Mark Salter <msalter@redhat.com>
*
* This file i... | chkohn/linux-xlnx | drivers/firmware/efi/libstub/arm-stub.c | C | gpl-2.0 | 12,699 |
/*
* Driver for Dell laptop extras
*
* Copyright (c) Red Hat <mjg@redhat.com>
* Copyright (c) 2014 Gabriele Mazzotta <gabriele.mzt@gmail.com>
* Copyright (c) 2014 Pali Rohár <pali.rohar@gmail.com>
*
* Based on documentation in the libsmbios package:
* Copyright (C) 2005-2014 Dell Inc.
*
* This program ... | Taeung/tip | drivers/platform/x86/dell-laptop.c | C | gpl-2.0 | 59,713 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* tifm_core.c - TI FlashMedia driver
*
* Copyright (C) 2006 Alex Dubov <oakad@yahoo.com>
*/
#include <linux/tifm.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/idr.h>
#include <linux/module.h>
#define DRIVER_NAME "tifm_core"
#define DRIVER_VERSION ... | tprrt/linux-stable | drivers/misc/tifm_core.c | C | gpl-2.0 | 8,290 |
/*
* linux/arch/arm/kernel/irq.c
*
* Copyright (C) 1992 Linus Torvalds
* Modifications for ARM processor Copyright (C) 1995-2000 Russell King.
*
* Support for Dynamic Tick Timer Copyright (C) 2004-2005 Nokia Corporation.
* Dynamic Tick Timer written by Tony Lindgren <tony@atomide.com> and
* Tuukka Tikkane... | Tesla-Redux-Devices/android_kernel_mediatek_sprout | arch/arm/kernel/irq.c | C | gpl-2.0 | 5,270 |
/*
* Copyright 2016 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | cneira/ebpf-backports | linux-3.10.0-514.21.1.el7.x86_64/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c | C | gpl-2.0 | 1,662 |
/*
* Copyright (C) 2006-2007 Red Hat, Inc. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
*/
#include <linux/miscdevice.h>
#include <linux/init.h>
#incl... | alcobar/asuswrt-merlin | release/src-rt/linux/linux-2.6/fs/dlm/user.c | C | gpl-2.0 | 20,895 |
/*
* Copyright (c) 2016 Hisilicon Limited.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source tree, or the
* OpenI... | HarveyHunt/linux | drivers/infiniband/hw/hns/hns_roce_cmd.c | C | gpl-2.0 | 7,796 |
/* test_plugin.c -- simple linker plugin test
Copyright (C) 2008-2015 Free Software Foundation, Inc.
Written by Cary Coutant <ccoutant@google.com>.
This file is part of gold.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... | selmentdev/selment-toolchain | source/binutils-latest/gold/testsuite/plugin_test.c | C | gpl-3.0 | 18,009 |
/*
* f_audio.c -- USB Audio class function driver
*
* Copyright (C) 2008 Bryan Wu <cooloney@kernel.org>
* Copyright (C) 2008 Analog Devices, Inc
*
* Enter bugs at http://blackfin.uclinux.org/
*
* Licensed under the GPL-2 or later.
*/
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>... | prasidh09/cse506 | unionfs-3.10.y/drivers/usb/gadget/f_uac1.c | C | gpl-2.0 | 20,221 |
/*
* Remote VUB300 SDIO/SDmem Host Controller Driver
*
* Copyright (C) 2010 Elan Digital Systems Limited
*
* based on USB Skeleton driver - 2.2
*
* Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the G... | rahulkodinya/drm | drivers/mmc/host/vub300.c | C | gpl-2.0 | 74,236 |
/*
* Generic process-grouping system.
*
* Based originally on the cpuset system, extracted by Paul Menage
* Copyright (C) 2006 Google, Inc
*
* Notifications support
* Copyright (C) 2009 Nokia Corporation
* Author: Kirill A. Shutemov
*
* Copyright notices from the original cpuset code:
* -------------... | dperezde/little-penguin | linux-eudyptula/kernel/cgroup.c | C | gpl-2.0 | 154,146 |
/*
* Copyright (c) 1997-2000 LAN Media Corporation (LMC)
* All rights reserved. www.lanmedia.com
*
* This code is written by:
* Andrew Stanley-Jones (asj@cban.com)
* Rob Braun (bbraun@vix.com),
* Michael Graff (explorer@vix.com) and
* Matt Thomas (matt@3am-software.com).
*
* With Help By:
* Davi... | ghmajx/asuswrt-merlin | release/src-rt/linux/linux-2.6/drivers/net/wan/lmc/lmc_proto.c | C | gpl-2.0 | 6,170 |
/*
*
* Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | shishaochen/TensorFlow-0.8-Win | third_party/grpc/test/core/support/sync_test.c | C | apache-2.0 | 15,307 |
/*
* Copyright (C) 2013-2014 Allwinner Tech Co., Ltd
* Author: Sugar <shuge@allwinnertech.com>
*
* Copyright (C) 2014 Maxime Ripard
* Maxime Ripard <maxime.ripard@free-electrons.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | geminy/aidear | oss/linux/linux-4.7/drivers/dma/sun6i-dma.c | C | gpl-3.0 | 31,225 |
/* sdb - MIT - Copyright 2011-2015 - pancake */
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include "sdb.h"
#define MODE_ZERO '0'
#define MODE_JSON 'j'
#define MODE_DFLT 0
static int save = 0;
static Sdb *s = NULL;
static ut32 options = SDB_OPTION_FS | SDB_OPTIO... | Maijin/sdb | src/main.c | C | mit | 10,459 |
/*
* (C) Copyright 2007 Michal Simek
*
* Michal SIMEK <monstr@monstr.eu>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Softwa... | hujiafu/lpc1788_uboot | u-boot-linux-cortexm-1.10.2/cpu/microblaze/timer.c | C | gpl-2.0 | 1,785 |
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | gui2dev/android_kernel_motorola_tinboost | kernel/drivers/media/video/msm/mt9d113.c | C | gpl-2.0 | 15,991 |
// SPDX-License-Identifier: GPL-2.0-only
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <asm/page.h>
#include <asm/pgt... | c0d3z3r0/linux-rockchip | drivers/scsi/a3000.c | C | gpl-2.0 | 6,709 |
/*
* Public API and common code for kernel->userspace relay file support.
*
* See Documentation/filesystems/relay.txt for an overview.
*
* Copyright (C) 2002-2005 - Tom Zanussi (zanussi@us.ibm.com), IBM Corp
* Copyright (C) 1999-2005 - Karim Yaghmour (karim@opersys.com)
*
* Moved to kernel/relay.c by Paul Mundt... | ysleu/RTL8685 | uClinux-dist/linux-2.6.x/kernel/relay.c | C | gpl-2.0 | 33,350 |
/*
* dvb_frontend.c: DVB frontend tuning interface/thread
*
*
* Copyright (C) 1999-2001 Ralph Metzler
* Marcus Metzler
* Holger Waechtler
* for convergence integrated media GmbH
*
* Copyright (C) 2004 Andrew de Quincey (tuning thread cleanup)
*
* This program is free software; you can red... | codebam/linux | drivers/media/dvb-core/dvb_frontend.c | C | gpl-2.0 | 76,604 |
/***************************************************************************/
/*
* linux/arch/m68knommu/platform/523x/config.c
*
* Sub-architcture dependent initialization code for the Freescale
* 523x CPUs.
*
* Copyright (C) 1999-2005, Greg Ungerer (gerg@snapgear.com)
* Copyright (C) 2001-2003, SnapGear Inc. (... | kv193/buildroot | linux/linux-kernel/arch/m68k/platform/coldfire/m523x.c | C | gpl-2.0 | 2,276 |
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSLS, KC_INS,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC... | kmtoki/qmk_firmware | keyboards/evyd13/ta65/keymaps/via/keymap.c | C | gpl-2.0 | 3,108 |
/*
* SuperH IrDA Driver
*
* Copyright (C) 2009 Renesas Solutions Corp.
* Kuninori Morimoto <morimoto.kuninori@renesas.com>
*
* Based on bfin_sir.c
* Copyright 2006-2009 Analog Devices Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... | soap-DEIM/l4android | drivers/net/irda/sh_sir.c | C | gpl-2.0 | 18,178 |
/*
* linux/mm/madvise.c
*
* Copyright (C) 1999 Linus Torvalds
* Copyright (C) 2002 Christoph Hellwig
*/
#include <linux/mman.h>
#include <linux/pagemap.h>
#include <linux/syscalls.h>
#include <linux/mempolicy.h>
#include <linux/hugetlb.h>
#include <linux/sched.h>
#include <linux/ksm.h>
#include <linux/file.h>
... | MartinsAD/xperia-kernel-msm7x30 | mm/madvise.c | C | gpl-2.0 | 11,524 |
/* binder.c
*
* Android IPC Subsystem
*
* Copyright (C) 2007-2008 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distri... | aps243/kernel-imx | drivers/staging/android/binder.c | C | gpl-2.0 | 100,894 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* tboot.c: main implementation of helper functions used by kernel for
* runtime support of Intel(R) Trusted Execution Technology
*
* Copyright (c) 2006-2009, Intel Corporation
*/
#include <linux/intel-iommu.h>
#include <linux/init_task.h>
#include <linux/spinlo... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/arch/x86/kernel/tboot.c | C | gpl-2.0 | 13,018 |
/* -*- Mode: C; indent-tabs-mode:t ; c-basic-offset:8 -*- */
/*
* Core functions for libusbx
* Copyright © 2012-2013 Nathan Hjelm <hjelmn@cs.unm.edu>
* Copyright © 2007-2008 Daniel Drake <dsd@gentoo.org>
* Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
*
* This library is free software; you can redistri... | aospx-kitkat/platform_external_chromium_org | third_party/libusb/src/libusb/core.c | C | bsd-3-clause | 75,530 |
/*******************************************************************************
comedi/drivers/pci1723.c
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2000 David A. Schleef <ds@schleef.org>
This program is free software; you can redistribute it and/or modify
it under the terms ... | aps243/kernel-imx | drivers/staging/comedi/drivers/adv_pci1723.c | C | gpl-2.0 | 9,499 |
/*
* Copyright (c) 1997 - 2008 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions o... | GaloisInc/hacrypto | src/C/FreeBSD/FreeBSD-10.0/heimdal/lib/krb5/crypto-evp.c | C | bsd-3-clause | 5,498 |
/******************************************************************************
**
** FILE NAME : ifxmips_atm_ar9.c
** PROJECT : UEIP
** MODULES : ATM
**
** DATE : 7 Jul 2009
** AUTHOR : Xu Liang
** DESCRIPTION : ATM driver common source file (core functions)
** COPYRIGHT : Copyrigh... | garyvan/openwrt | trunk/package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ar9.c | C | gpl-2.0 | 5,608 |
// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
/*
* Copyright (c) 2013-2020, Mellanox Technologies inc. All rights reserved.
* Copyright (c) 2020, Intel Corporation. All rights reserved.
*/
#include <linux/debugfs.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/e... | mpe/powerpc | drivers/infiniband/hw/mlx5/main.c | C | gpl-2.0 | 122,073 |
/*
* O(1) TX queue with built-in allocator for ST-Ericsson CW1200 drivers
*
* Copyright (c) 2010, ST-Ericsson
* Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* p... | val2k/linux | drivers/net/wireless/st/cw1200/queue.c | C | gpl-2.0 | 14,868 |
/*
* wm8988.c -- WM8988 ALSA SoC audio driver
*
* Copyright 2009 Wolfson Microelectronics plc
* Copyright 2005 Openedhand Ltd.
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | tusharbehera/linux | sound/soc/codecs/wm8988.c | C | gpl-2.0 | 26,868 |
/*
* Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
* Copyright (c) 2013 Red Hat, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is ... | iwinoto/v4l-media_build-devel | media/fs/xfs/xfs_dir2_data.c | C | gpl-2.0 | 31,088 |
/*
* Copyright (c) 2012, Freescale Semiconductor, Inc.
* All rights reserved.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE... | armink/rt-thread | bsp/imx6sx/iMX6_Platform_SDK/board/mx6sdl/smart_device/rev_c_iomux/i2c3_iomux_config.c | C | apache-2.0 | 9,569 |
/* $Id: transport_loop_test.c 3553 2011-05-05 06:14:19Z nanang $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | yuezhou/telephony2 | telephony/Classes/pjproject-2.2.1/pjsip/src/test/transport_loop_test.c | C | mit | 3,648 |
/* $Id: signal.c,v 1.110 2002/02/08 03:57:14 davem Exp $
* linux/arch/sparc/kernel/signal.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx)
* Copyright (C) 1997 Eddie C. Dost (ecd@skyne... | ghmajx/asuswrt-merlin | release/src-rt/linux/linux-2.6/arch/sparc/kernel/signal.c | C | gpl-2.0 | 32,162 |
/*
* tps65910.c -- TI TPS6591x
*
* Copyright 2010 Texas Instruments Inc.
*
* Author: Jorge Eduardo Candelaria <jedu@slimlogic.co.uk>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundat... | talnoah/android_kernel_htc_dlx | virt/drivers/mfd/tps65911-comparator.c | C | gpl-2.0 | 4,637 |
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.1
*
* Project: CMSIS DSP Library
* Title: arm_add_q7.c
*
* Description: Q7 vector addition.
* ... | ruriwo/ErgoThumb072_firmware | tmk_core/tool/mbed/mbed-sdk/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q7.c | C | gpl-2.0 | 4,093 |
/*
* pervasive backend for the cbe_cpufreq driver
*
* This driver makes use of the pervasive unit to
* engage the desired frequency.
*
* (C) Copyright IBM Deutschland Entwicklung GmbH 2005-2007
*
* Author: Christian Krafft <krafft@de.ibm.com>
*
* This program is free software; you can redistribute it and/or m... | kzlin129/tt-gpl | go12/linux-2.6.28.10/arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c | C | gpl-2.0 | 2,914 |
// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
******************************************************************************/
#define _USB_OPS_LINUX_C_
#include <drv_types.... | GuillaumeSeren/linux | drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | C | gpl-2.0 | 22,467 |
// SPDX-License-Identifier: GPL-2.0
//
// Copyright (C) 2016 Freescale Semiconductor, Inc.
// Copyright 2017-2018 NXP.
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-... | rperier/linux | drivers/pinctrl/freescale/pinctrl-imx6sll.c | C | gpl-2.0 | 11,887 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Intel MIC Platform Software Stack (MPSS)
*
* Copyright(c) 2013 Intel Corporation.
*
* Disclaimer: The codes contained in these modules may be specific to
* the Intel Software Development Platform codenamed: Knights Ferry, and
* the Intel product codenamed: Knights Co... | CSE3320/kernel-code | linux-5.8/drivers/misc/mic/card/mic_debugfs.c | C | gpl-2.0 | 1,944 |
/*
* Copyright (c) 2001 Vojtech Pavlik
*
* CATC EL1210A NetMate USB Ethernet driver
*
* Sponsored by SuSE
*
* Based on the work of
* Donald Becker
*
* Old chipset support added by Simon Evans <spse@secret.org.uk> 2002
* - adds support for Belkin F5U011
*/
/*
* This program is free software; you ... | hannes/linux | drivers/net/usb/catc.c | C | gpl-2.0 | 24,487 |
/*
* max7359_keypad.c - MAX7359 Key Switch Controller Driver
*
* Copyright (C) 2009 Samsung Electronics
* Kim Kyuwon <q1.kim@samsung.com>
*
* Based on pxa27x_keypad.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* ... | mericon/Xp_Kernel_LGH850 | virt/drivers/input/keyboard/max7359_keypad.c | C | gpl-2.0 | 7,946 |
/*
* Copyright (c) 1999-2001 Vojtech Pavlik
*
* USB HIDBP Keyboard support
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option)... | talnoah/android_kernel_htc_dlx | virt/drivers/hid/usbhid/usbkbd.c | C | gpl-2.0 | 11,776 |
/*
* A hwmon driver for the Analog Devices ADT7470
* Copyright (C) 2007 IBM
*
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either... | dperezde/little-penguin | linux/drivers/hwmon/adt7470.c | C | gpl-2.0 | 43,819 |
/*
* Kernel-based Virtual Machine -- Performance Monitoring Unit support
*
* Copyright 2011 Red Hat, Inc. and/or its affiliates.
*
* Authors:
* Avi Kivity <avi@redhat.com>
* Gleb Natapov <gleb@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the... | dperezde/little-penguin | linux-eudyptula/arch/x86/kvm/pmu.c | C | gpl-2.0 | 14,708 |
/*
* twl-common.c
*
* Copyright (C) 2011 Texas Instruments, Inc..
* Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This ... | SanDisk-Open-Source/SSD_Dashboard | uefi/linux-source-3.8.0/arch/arm/mach-omap2/twl-common.c | C | gpl-2.0 | 15,995 |
/* Key type used to cache DNS lookups made by the kernel
*
* See Documentation/networking/dns_resolver.txt
*
* Copyright (c) 2007 Igor Mammedov
* Author(s): Igor Mammedov (niallain@gmail.com)
* Steve French (sfrench@us.ibm.com)
* Wang Lei (wang840925@gmail.com)
* David Howells (dh... | linux-wpan/linux-wpan | net/dns_resolver/dns_key.c | C | gpl-2.0 | 7,938 |
/*
* linux/fs/ext2/balloc.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* Enhanced block allocation by Stephen Tweedie (sct@redhat.com), 1993
* Big-endian to little-endian byte-swapping/bi... | mkvdv/au-linux-kernel-autumn-2017 | linux/fs/ext2/balloc.c | C | gpl-3.0 | 46,100 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.