code
stringlengths
6
250k
repo_name
stringlengths
5
70
path
stringlengths
3
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
6
250k
/* Copyright (c) 2010-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...
SlimLG2/msm8974_caf_G2
drivers/gpu/msm/kgsl_pwrctrl.c
C
gpl-2.0
49,644
/* * drivers/pci/pci-driver.c * * (C) Copyright 2002-2004, 2007 Greg Kroah-Hartman <greg@kroah.com> * (C) Copyright 2007 Novell Inc. * * Released under the GPL v2 only. * */ #include <linux/pci.h> #include <linux/module.h> #include <linux/init.h> #include <linux/device.h> #include <linux/mempolicy.h> #include ...
markgross/kernel
drivers/pci/pci-driver.c
C
gpl-2.0
36,229
#if defined (HAVE_CONFIG_H) # include "config.h" #endif #include <stdbool.h> #include <string.h> #include <math.h> #include "cdi.h" #include "cdi_int.h" #include "dmemory.h" #include "resource_handle.h" #include "varscan.h" #include "vlist.h" #include "grid.h" #include "zaxis.h" #undef UNDEFID #define UNDEFID -1 ...
AZed/cdo
libcdi/src/varscan.c
C
gpl-2.0
31,239
/* Core dump and executable file functions above target vector, for GDB. Copyright (C) 1986-2014 Free Software Foundation, Inc. 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 by the Free S...
atgreen/binutils-gdb
gdb/corefile.c
C
gpl-2.0
15,063
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/msg.h> struct msgbuf{ long int mtype; char mtext[1]; } ; int main(int argc, char* argv[]) { int queue_id = msgget(IPC_PRIVATE, 0600); struct msgbuf* msg; struct msgb...
bamboolll/embedded_system_2014
lab3/private_queue.c
C
gpl-2.0
1,399
/* * Copyright (c) 2004, QUALCOMM Inc. All rights reserved. * Created by: abisain REMOVE-THIS AT qualcomm 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 pthread_cancel() * * Any destructo...
crystax/android-vendor-openpts
conformance/interfaces/pthread_cancel/2-2.c
C
gpl-2.0
2,491
/* * UAE - The Un*x Amiga Emulator * * Custom chip emulation * * Copyright 1995-2002 Bernd Schmidt * Copyright 1995 Alessandro Bissacco * Copyright 2000-2004 Toni Wilen */ //#define CUSTOM_DEBUG #define SPRITE_DEBUG 0 #define SPRITE_DEBUG_MINY 0x6a #define SPRITE_DEBUG_MAXY 0x70 #define SPR0_HPOS 0x15...
CrashSerious/PiUAE
src/custom.c
C
gpl-2.0
154,895
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * gimpdesaturateconfig.c * Copyright (C) 2008 Sven Neumann <sven@gimp.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
jdburton/gimp-osx
src/gimp-2.6.12/app/gegl/gimpdesaturateconfig.c
C
gpl-2.0
3,849
/* * Copyright (c) 2003-2014 Erez Zadok * Copyright (c) 2003-2006 Charles P. Wright * Copyright (c) 2005-2007 Josef 'Jeff' Sipek * Copyright (c) 2005-2006 Junjiro Okajima * Copyright (c) 2006 Shaya Potter * Copyright (c) 2005 Arun M. Krishnakumar * Copyright (c) 2004-2006 David P. Quigley * Copyright ...
mayli/unionfs-latest
fs/unionfs/mmap.c
C
gpl-2.0
4,209
/* * @file dsLib.c * @brief ds1307 library * @author Theodore ATEBA * @version 1.0 * @date 21 June 2015 * */ //============================================================================= // Include Files //============================================================================= #in...
tateba/ds1307
dslib.c
C
gpl-2.0
5,879
/** ****************************************************************************** * @file QSPI/QSPI_ExecuteInPlace/Src/stm32f4xx_it.c * @author MCD Application Team * @version V1.1.1 * @date 09-October-2015 * @brief Main Interrupt Service Routines. * This file provides template ...
kamfor/STMF4
STM/Projects/STM32446E_EVAL/Examples/QSPI/QSPI_ExecuteInPlace/Src/stm32f4xx_it.c
C
gpl-2.0
5,858
/* readtokens0.c -- Read NUL-separated tokens from an input stream. Copyright (C) 2004 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 2, or ...
ankurmittal/OS-u2fs
hw2/coreutils/lib/readtokens0.c
C
gpl-2.0
2,829
#define _MACROARGUMENTTABLE_ #include "macroargumenttable.h" #include "hash.h" #include "commons.h" #define HASH_FUN(elemp) hashFun(elemp->name) #define HASH_ELEM_EQUAL(e1,e2) (strcmp(e1->name,e2->name)==0) #include "hashtab.tc" MacroArgumentTable macroArgumentTable; void allocateMacroArgumentTable(void) { PPM...
thoni56/c-xrefactory
src/macroargumenttable.c
C
gpl-2.0
472
/******************************************** * * * Eyüp Can KILINÇDEMİR * * KARADENİZ TEKNİK UNİVERSİTESİ * * ceksoft.wordpress.com * * eyupcankilincdemir@gmail.com * * ...
EyupCan/C-codes
15-calisanin_maasi.c
C
gpl-2.0
937
/* * Real-Time Scheduling Class (mapped to the SCHED_FIFO and SCHED_RR * policies) */ #ifdef CONFIG_RT_GROUP_SCHED #define rt_entity_is_task(rt_se) (!(rt_se)->my_q) static inline struct task_struct *rt_task_of(struct sched_rt_entity *rt_se) { #ifdef CONFIG_SCHED_DEBUG WARN_ON_ONCE(!rt_entity_is_task(rt_se)); #en...
kh007im/ngawi-ics
kernel/sched_rt.c
C
gpl-2.0
41,867
/* * Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 only, as published by the Free Software ...
tommythorn/yari
shared/cacao-related/phoneme_feature/midp/src/ams/example/nams_port/javacall/native/nams.c
C
gpl-2.0
7,881
/* * Copyright (c) 2017, 2020, Oracle and/or its affiliates. * * 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 retain the above copyright notice,...
smarr/Truffle
sulong/tests/com.oracle.truffle.llvm.tests.sulong.native/c/truffle-c/unaryTest/unaryTest13.c
C
gpl-2.0
1,649
/* * Copyright (C) 2011 Nippon Telegraph and Telephone Corporation. * * 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. * * You should have received a copy of the GNU General Publ...
mitake/sheepdog
sheep/cluster/corosync.c
C
gpl-2.0
19,514
/* * Copyright (C) 2008 Martin Willi * Hochschule fuer Technik Rapperswil * * 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 late...
ramarnat/astaro-strongswan
src/libcharon/plugins/eap_identity/eap_identity_plugin.c
C
gpl-2.0
1,477
/* $Id: gazel.c,v 1.1.1.1 2010/03/11 21:07:42 kris Exp $ * * low level stuff for Gazel isdn cards * * Author BeWan Systems * based on source code from Karsten Keil * Copyright by BeWan Systems * * This software may be used and distributed according to the terms * of the GNU General Publi...
fgoncalves/Modified-TS7500-Kernel
drivers/isdn/hisax/gazel.c
C
gpl-2.0
16,311
/* * This file is part of the coreboot project. * * Copyright (C) 2012 Samsung Electronics * Copyright 2013 Google 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; version 2 of the...
lkundrak/coreboot
src/mainboard/google/pit/memory.c
C
gpl-2.0
3,373
/* $Id: alt_pjsua_aud.c 3983 2012-03-22 10:03:33Z bennylp $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.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 versio...
me-oss/me-pjproject
pjsip-apps/src/3rdparty_media_sample/alt_pjsua_aud.c
C
gpl-2.0
18,184
/*- * BSD LICENSE * * Copyright(c) 2010-2016 Intel Corporation. All rights reserved. * Copyright 2014 6WIND S.A. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * ...
RehiveTech/dpdk
drivers/net/ixgbe/ixgbe_rxtx.c
C
gpl-2.0
165,561
/** ****************************************************************************** * @file TIM/OCToggle/system_stm32f10x.c * @author MCD Application Team * @version V3.5.0 * @date 08-April-2011 * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File. * * 1. This file provid...
LyndonXu/keyboard_nj_db
KeyBoard/Project/STM32F10x_StdPeriph_Examples/TIM/OCToggle/system_stm32f10x.c
C
gpl-2.0
35,482
#include <linux/kernel.h> #include <linux/delay.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/hdmi.h> #include <linux/i2c.h> #include <linux/interrupt.h> #include <mach/gpio.h> #include <mach/iomux.h> #include <mach/board.h> #include "anx7150.h" #include "anx7150_hw.h" int anx7150_i...
qwerty97/rk3066
drivers/video/hdmi/chips/anx7150.c
C
gpl-2.0
7,120
/* * This file is part of the coreboot project. * * Copyright (C) 2006 Tyan * Copyright (C) 2006 AMD * Written by Yinghai Lu <yinghailu@gmail.com> for Tyan and AMD. * * Copyright (C) 2007 University of Mannheim * Written by Philipp Degler <pdegler@rumms.uni-mannheim.de> for University of Mannheim * Copyright (...
siro20/coreboot
src/mainboard/hp/dl165_g6_fam10/romstage.c
C
gpl-2.0
7,512
/* Proxytunnel - (C) 2001-2008 Jos Visser / Mark Janssen */ /* Contact: josv@osp.nl / maniac@maniac.nl */ /* * 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 versio...
pombredanne/proxytunnel
io.c
C
gpl-2.0
3,855
/***************************************************************************** * Copyright(C) 2011, ZTE Corporation * * Module Name : * File Name : modem_control.c * Description : * Author : lixingyuan * Version : * Data : 2011-07-22 * Others : * Revision De...
sloanyang/android_kernel_zte_u950
arch/arm/mach-tegra/modem_control_enterprise.c
C
gpl-2.0
18,432
/* * linux/drivers/mmc/core/core.c * * Copyright (C) 2003-2004 Russell King, All Rights Reserved. * SD support Copyright (C) 2004 Ian Molton, All Rights Reserved. * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. * MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved. * * This ...
motley-git/Kernel-GT-P73xx-v2
drivers/mmc/core/core.c
C
gpl-2.0
44,245
/* * MDSS MDP Interface (used by framebuffer core) * * Copyright (c) 2007-2015, The Linux Foundation. All rights reserved. * Copyright (C) 2007 Google Incorporated * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may...
Foxda-Tech/polaris-kernel
drivers/video/msm/mdss/mdss_mdp.c
C
gpl-2.0
101,973
#include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <osmocom/core/utils.h> #include <osmocom/core/select.h> #include <osmocom/core/logging.h> #include <osmocom/core/fsm.h> #include <osmocom/ctrl/control_if.h> enum { DMAIN, }; static void *g_...
osmocom/libosmocore
tests/fsm/fsm_test.c
C
gpl-2.0
11,439
/* packet-skinny.c * * Dissector for the Skinny Client Control Protocol * (The "D-Channel"-Protocol for Cisco Systems' IP-Phones) * Copyright 2001, Joerg Mayer (see AUTHORS file) * * Paul E. Erkkila (pee@erkkila.org) - fleshed out the decode * skeleton to report values for most message/message fields. * Much ...
MavEtJu/wireshark-lean
epan/dissectors/packet-skinny.c
C
gpl-2.0
187,269
/* * * $Id: pvrusb2-video-v4l.c,v 1.1.1.1 2010/04/09 09:37:19 feiyan Exp $ * * Copyright (C) 2005 Mike Isely <isely@pobox.com> * Copyright (C) 2004 Aurelien Alleaume <slts@free.fr> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Licens...
ndmsystems/linux-2.6.22-tc
drivers/media/video/pvrusb2/pvrusb2-video-v4l.c
C
gpl-2.0
5,848
/* * OpenVirtualization: * For additional details and support contact developer@sierraware.com. * Additional documentation can be found at www.openvirtualization.org * * Copyright (C) 2011 SierraWare * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Gen...
northox/ov-secure-kernel
tzone_sdk/ns_client_apps/otz_virtual_keyboard.c
C
gpl-2.0
2,488
/********************************************************************** Freeciv - Copyright (C) 2004 - The Freeciv 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 Software Foundation; either version 2, o...
zielmicha/freeciv-mirror
tools/civmanual.c
C
gpl-2.0
19,342
/***************************************************************************** * freetype.c : Put text on the video, using freetype2 ***************************************************************************** * Copyright (C) 2002 - 2007 the VideoLAN team * $Id$ * * Authors: Sigmund Augdal Helberg <dnumgis@video...
epitech-labfree/vlc-1.1-encre
modules/misc/freetype.c
C
gpl-2.0
89,519
/* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape * media and as a part of the software program in whole or part. Users * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to an...
nslu2/glibc
sunrpc/rpc_util.c
C
gpl-2.0
9,559
/* * EffecTV - Realtime Digital Video Effector * Copyright (C) 2001-2003 FUKUCHI Kentaro * * LifeTV - Play John Horton Conway's `Life' game with video input. * Copyright (C) 2001-2002 FUKUCHI Kentaro * * This idea is stolen from Nobuyuki Matsushita's installation program of * ``HoloWall''. (See http://www.csl.s...
ChristianFrisson/gephex
effectvmodules/src/effectvlifemodule/life.c
C
gpl-2.0
2,442
/* * RTC driver for Maxim MAX8907c * * Copyright (c) 2011, NVIDIA Corporation. * Based on drivers/rtc/rtc-max8925.c, Copyright (C) 2009-2010 Marvell International Ltd. * * 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...
pengus77/kowalski
drivers/rtc/rtc-max8907c.c
C
gpl-2.0
12,184
/* * Linux Wireless Extensions support * * Copyright (C) 1999-2011, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2 (the...
hiikezoe/android_kernel_fujitsu_f11d
drivers/net/wireless/bcmdhd/wl_iw.c
C
gpl-2.0
202,094
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #define BUFSIZE 12 /* the estimated diff between funcptr/buf */ #define CMD "xterm &" /* command to execute if successful */ #define ERROR -1 in...
arnaud/computerbreaker
src/services/heap_expl.c
C
gpl-2.0
2,771
/* * nvme-lightnvm.c - LightNVM NVMe device * * Copyright (C) 2014-2015 IT University of Copenhagen * Initial release: Matias Bjorling <mb@lightnvm.io> * * 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 ...
FlorinPetriuc/linux-1-moved-to-OpenChannelSSD-linux-nba_target
drivers/block/nvme-lightnvm.c
C
gpl-2.0
11,925
/* Copyright (C) 2007-2010 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
pilcrow/suricata
src/detect-engine-state.c
C
gpl-2.0
40,586
#include <linux/slab.h> #include <linux/module.h> #include <linux/kernel.h> #include <pcmcia/cs_types.h> #include <pcmcia/ss.h> #include <pcmcia/cs.h> #include <pcmcia/cistpl.h> #include "cs_internal.h" int static_init(struct pcmcia_socket *s) { /* the good thing about SS_CAP_STATIC_MAP sockets is * that they do...
luckasfb/OT_903D-kernel-2.6.35.7
kernel/drivers/pcmcia/rsrc_mgr.c
C
gpl-2.0
1,264
/* * Bastile * * Copyright (C) 2004 Stefan Walter * * 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. * * This p...
gfunkmonk2/bastile
libbastile/bastile-progress.c
C
gpl-2.0
13,417
#include <lcm_drv.h> extern LCM_DRIVER hx8369_lcm_drv; extern LCM_DRIVER hx8369_6575_lcm_drv; extern LCM_DRIVER hx8363_6575_dsi_lcm_drv; extern LCM_DRIVER hx8363_6575_dsi_hvga_lcm_drv; extern LCM_DRIVER bm8578_lcm_drv; extern LCM_DRIVER nt35582_mcu_lcm_drv; extern LCM_DRIVER nt35582_mcu_6575_lcm_drv; extern LCM_DRIVER ...
Dr-Shadow/android_kernel_acer_c10
mediatek/custom/out/aa66/kernel/lcm/mt65xx_lcm_list.c
C
gpl-2.0
4,855
/* -*- mode: c; c-basic-offset: 8; -*- * vim: noexpandtab sw=8 ts=8 sts=0: * * reservations.c * * Allocation reservations implementation * * Some code borrowed from fs/ext3/balloc.c and is: * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * ...
Core2idiot/Kernel-Samsung-3.0...-
fs/ocfs2/reservations.c
C
gpl-2.0
23,935
/* * Copyright(c) 2004 - 2006 Intel Corporation. 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; either version 2 of the License, or (at your option) * any later ver...
Core2idiot/Kernel-Samsung-3.0...-
drivers/dma/dmaengine.c
C
gpl-2.0
29,245
/* * dc_xpwr_pwrsrc.c - Intel Dollar Cove(X-power) Power Source Detect Driver * * Copyright (C) 2014 Intel Corporation * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General P...
tank0412/android_kernel_xiaomi_latte
drivers/extcon/extcon-dc-pwrsrc.c
C
gpl-2.0
16,984
/* Copyright (c) 2008-2013, 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...
Jackeagle/android_kernel_samsung_n7502
drivers/char/diag/diagfwd.c
C
gpl-2.0
75,323
/* * This trivial program illustrates how we might normally read from and * write to a file. Here, we simply open the source code file, read the * first few bytes, then append a comment. */ #include <sys/stat.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #inc...
hemantku/NWSamples
02-fileio/rwex.c
C
gpl-2.0
1,168
/* r3964 linediscipline for linux * * ----------------------------------------------------------- * Copyright by * Philips Automation Projects * Kassel (Germany) * http://www.pap-philips.de * ----------------------------------------------------------- * This software may be used and distributed according to th...
embeddedarm/linux-2.6.35-ts4800
drivers/char/n_r3964.c
C
gpl-2.0
31,566
/* * Simple synchronous userspace interface to SPI devices * * Copyright (C) 2006 SWAPP * Andrea Paterniani <a.paterniani@swapp-eng.it> * Copyright (C) 2007 David Brownell (simplification, cleanup) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General P...
hexianren/linux-3.7-Panda
drivers/spi/spidev.c
C
gpl-2.0
18,048
/* * Pentium 4/Xeon CPU on demand clock modulation/speed scaling * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> * (C) 2002 Zwane Mwaikambo <zwane@commfireservices.com> * (C) 2002 Arjan van de Ven <arjanv@redhat.com> * (C) 2002 Tora T. Engstad * All Rights Reserved * * This program is free software; you ca...
Tkkg1994/Nova-Kernel
drivers/cpufreq/p4-clockmod.c
C
gpl-2.0
8,456
/* Copyright (c) 2011-2012, 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...
pio-masaki/android_kernel_samsung_jf
arch/arm/mach-msm/board-jf_spr.c
C
gpl-2.0
133,868
/* Forward propagation of expressions for single use variables. Copyright (C) 2004-2015 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 Free Software Foundation; either vers...
villevoutilainen/gcc
gcc/tree-ssa-forwprop.c
C
gpl-2.0
75,730
/* * drivers/net/ibm_newemac/core.c * * Driver for PowerPC 4xx on-chip ethernet controller. * * Copyright 2007 Benjamin Herrenschmidt, IBM Corp. * <benh@kernel.crashing.org> * * Based on the arch/ppc version of the driver: * * Copyright (c) 2004, 2005 Zultys Technologies. * Eugene Surovegin <e...
davem330/net-next
drivers/net/ethernet/ibm/emac/core.c
C
gpl-2.0
82,394
/* * "$Id: flstring.c 4288 2005-04-16 00:13:17Z mike $" * * BSD string functions for the Fast Light Tool Kit (FLTK). * * Copyright 1998-2005 by Bill Spitzak and others. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as p...
oyranos-cms/icc-examin
flstring.c
C
gpl-2.0
2,488
/* * linux/init/main.c * * (C) 1991 Linus Torvalds */ #define __LIBRARY__ // 定义该变量是为了包括定义在unistd.h 中的内嵌汇编代码等信息。 #include <unistd.h> // *.h 头文件所在的默认目录是include/,则在代码中就不用明确指明位置。 // 如果不是UNIX 的标准头文件,则需要指明所在的目录,并用双引号括住。 // 标准符号常数与类型文件。定义了各种符号常数和类型,并申明了各种函数。 // 如果定义了__LIBRARY__,则还包括系统调用号和内嵌汇编代码_syscall0()等。 #include <t...
BMY-Soft/Kestrel-Kernel
Reference/linux0.1.1_reference/init/_main.c
C
gpl-2.0
15,318
/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: CRT * PURPOSE: Implementation of _mbstrnlen * FILE: lib/sdk/crt/string/_mbstrnlen.c * PROGRAMMER: Timo Kreuzer */ #include <precomp.h> #include <mbctype.h> #include <specstrings.h> _Success_(return>...
GreenteaOS/Kernel
third-party/reactos/sdk/lib/crt/string/_mbstrnlen.c
C
gpl-2.0
1,133
/* * ============================================================================ * ax88796b.c: Linux2.6.x Ethernet device driver for ASIX AX88796B chip. * * This program is free software; you can distrine_block_inputbute it and/or * modify it under the terms of the GNU General Public License (Version 2) as * pu...
danguria/linux-kernel-study
drivers/net/ax88796b.c
C
gpl-2.0
62,250
/********************************************************************\ * BitlBee -- An IRC to other IM-networks gateway * * * * Copyright 2002-2012 Wilmer van der Gaast and others * \*************************...
mcepl/bitlbee
unix.c
C
gpl-2.0
8,869
/* -*- Mode: C; tab-width: 4 -*- */ /* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2009 The PHP Group ...
db89/php-redis
php-redis/redis_session.c
C
gpl-2.0
12,235
#include <asm/machdep.h> #include <asm/pci-bridge.h> #include <asm/ppc4xx.h> #include <asm/prom.h> #include <asm/time.h> #include <asm/udbg.h> #include <asm/uic.h> #include <linux/init.h> #include <linux/of_platform.h> static __initdata struct of_device_id ppc44x_of_bus[] = { { .compatible = "ibm,plb4", }, { .com...
luckasfb/OT_903D-kernel-2.6.35.7
kernel/arch/powerpc/platforms/44x/ppc44x_simple.c
C
gpl-2.0
1,374
/* * Copyright (c) 2010-2012 Samsung Electronics Co., Ltd. * * I2C7 GPIO configuration. * * 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. */ struct platform_device; /* don't ne...
Biktorgj/Android_b2_Kernel
arch/arm/mach-exynos/setup-i2c7.c
C
gpl-2.0
1,213
/* * CFQ, or complete fairness queueing, disk scheduler. * * Based on ideas from a previously unfinished io * scheduler (round robin per-process disk scheduling) and Andrea Arcangeli. * * Copyright (C) 2003 Jens Axboe <axboe@kernel.dk> */ #include <linux/module.h> #include <linux/slab.h> #include <linux/blkd...
Sublime-Development/kernel_flounder
block/cfq-iosched.c
C
gpl-2.0
123,227
/* * QEMU System Emulator * * Copyright (c) 2003-2008 Fabrice Bellard * * 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 * ...
andrewb-IMG/qemu
vl.c
C
gpl-2.0
129,772
/* xfrm_user.c: User interface to configure xfrm engine. * * Copyright (C) 2002 David S. Miller (davem@redhat.com) * * Changes: * Mitsuru KANDA @USAGI * Kazunori MIYAZAWA @USAGI * Kunihiro Ishiguro <kunihiro@ipinfusion.com> * IPv6 support * */ #include <linux/crypto.h> #include <linux/module.h> #include ...
heptalium/rpi-sources-3.16
net/xfrm/xfrm_user.c
C
gpl-2.0
72,109
/** * @file * * @brief SMP Support * @ingroup Score */ /* * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. */ #if ...
zhongweiy/rtems
cpukit/score/src/smp.c
C
gpl-2.0
4,687
#include "common.h" NS115_PINMUX(pad_prototypeboard) = { /*PIN 0-15*/ PINMUX(S(0, 0, 0, 0), S(0, 0, 0, 0), S(0, 0, 0, 0), S(2, 2, 2, 2)), /*PIN 16-31*/ PINMUX(S(0, 0, 0, 0), S(0, 0, 0, 0), S(0, 0, 0, 0), S(0, 0, 0, 0)), /*PIN 32-47*/ PINMUX(S(0, 0, 0, 0), S(0, 0, 0, 0), S(0, 0, 0, 0), S(1, 0, 0, 0)), //set lcd_sync to...
adamdmcbride/Nufront_linux_kernel
arch/arm/mach-ns115/pad_prototype_pinmux.c
C
gpl-2.0
910
#ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /***************************************************************************** 1 Í·Îļþ°üº¬ *****************************************************************************/ #ifdef _PRE_WLAN_FEATURE_AUTO_FREQ #include "oam_ext_if.h" #include "pm_extern.h"...
Honor8Dev/android_kernel_huawei_FRD-L04
drivers/connectivity/hisi/c01/wifi/dmac/dmac_auto_adjust_freq.c
C
gpl-2.0
4,066
#include <linux/errno.h> #include <linux/fs.h> #include <linux/init.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/platform_device.h> #include <linux/types.h> #include <linux/watchdog.h> #include <linux/jiffies...
luckasfb/OT_903D-kernel-2.6.35.7
kernel/drivers/watchdog/at91sam9_wdt.c
C
gpl-2.0
6,692
/* BlueZ - Bluetooth protocol stack for Linux Copyright (C) 2000-2001 Qualcomm Incorporated 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 GNU General Public License version 2 as published by t...
Alucard24/Dorimanx-SG2-I9100-Kernel
net/bluetooth_mgmt/af_bluetooth.c
C
gpl-2.0
13,467
/****************************************************************************** * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2012 - 2013 Intel Corporation. All rights reserved. * ...
gameboy709494/LinuxKernel
drivers/net/wireless/iwlwifi/mvm/tx.c
C
gpl-2.0
28,558
/* * Copyright (C) 2008 Red Hat. 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 v2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITH...
kozmikkick/eternityprj-kernel-endeavoru-128
fs/btrfs/free-space-cache.c
C
gpl-2.0
60,271
/* * drivers/mtd/nandids.c * * Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.de) * * $Id: nand_ids.c,v 1.16 2005/11/07 11:14:31 gleixner Exp $ * * 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 ...
dgarnier/barebox
drivers/mtd/nand/nand_ids.c
C
gpl-2.0
8,245
#include "coreio.h" #include <stdio.h> FILE* open_fs = NULL; superblock sb = {0}; raw_err coreio_open_device(const uint8* file) { if(file == NULL) return ERR_NULLPTR; if(open_fs != NULL) fclose(open_fs); if((open_fs = fopen(file, "r+")) == NULL) return ERR_IO; return SUCCESS; } raw_err coreio_...
danierukun/rawfs
coreio.c
C
gpl-2.0
1,693
#include "sec_intf.h" #include "sec_share.h" #include "public.h" #include "tvp_adapter.h" /************************************************************************ Secure VFMW Init *************************************************************************/ SINT32 SEC_VDEC_Init(UINT32 Args, UINT32 Share)...
Honor8Dev/android_kernel_huawei_FRD-L04
drivers/vcodec/hi_vcodec/vdec/vfmw/vfmw_v4.0/scene/tvp/secure/sec_intf.c
C
gpl-2.0
5,589
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. * Copyright (C) 2016 XiaoMi, Inc. * * 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. * *...
int0x19/android_kernel_xiaomi_msm8992
drivers/leds/leds-qpnp-flash.c
C
gpl-2.0
40,086
/* * Author: MontaVista Software, Inc. <source@mvista.com> * * 2008 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied. */ #include <linux/init.h> #inc...
xoox/linux-2.6.18_pro500
mvl_patches/pro50-0913.c
C
gpl-2.0
446
/* Dummy program to check your libc version */ #include <stdio.h> #include <gnu/libc-version.h> int main (void) { puts (gnu_get_libc_version ()); return 0; }
takachiron/checkinstall
installwatch/libctest.c
C
gpl-2.0
167
/* * This file is part of the coreboot project. * * Copyright 2014 Rockchip 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; version 2 of the License. * * This program is distribu...
NamanG/coreboot2.0
src/soc/rockchip/rk3288/clock.c
C
gpl-2.0
17,489
/* * drivers/mtd/nand/h1910.c * * Copyright (C) 2003 Joshua Wise (joshua@joshuawise.com) * * Derived from drivers/mtd/nand/edb7312.c * Copyright (C) 2002 Marius Gröger (mag@sysgo.de) * Copyright (c) 2001 Thomas Gleixner (gleixner@autronix.de) * * $Id: h1910.c,v 1.6 2005/11/07 11:14:30 gleixner E...
janrinze/loox7xxport.loox2-6-22
drivers/mtd/nand/h1910.c
C
gpl-2.0
4,709
/** * blink.c -- modified from * http://burningsmell.org/pic16f628/src/0001-test.c * 0001-test.c -- modified from * http://ubicomp.lancs.ac.uk/~martyn/sdcc_linux/test.c * * Ports A and B will be set as all outputs. Look for successively * slower squarewaves on B0, B1, ... B7, and A0, A1, ... A3. A4 will *...
athenajc/XideSDCC
examples/pic14/blink/blink.c
C
gpl-2.0
1,005
/* * bbftpd/sendafile.c * Copyright (C) 1999, 2000, 2001, 2002 IN2P3, CNRS * bbftp@in2p3.fr * http://doc.in2p3.fr/bbftp * * 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...
ucla/bbftp-server
bbftpd/sendafile.c
C
gpl-2.0
21,861
/* * intelfb * * Linux framebuffer driver for Intel(R) 865G integrated graphics chips. * * Copyright © 2002, 2003 David Dawes <dawes@xfree86.org> * 2004 Sylvain Meyer * * This driver consists of two parts. The first part (intelfbdrv.c) provides * the basic fbdev interfaces, is deriv...
Jackeagle/android_kernel_sony_c2305
drivers/video/intelfb/intelfbhw.c
C
gpl-2.0
54,684
/* * 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. * * Copyright (C) 2003, 04, 11 Ralf Baechle (ralf@linux-mip...
proyvind/linux-3.12
arch/mips/pci/pci.c
C
gpl-2.0
9,158
/* Copyright (c) 2008-2014,2016, 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 i...
mikeNG/android_kernel_oneplus_msm8974
drivers/gpu/msm/kgsl.c
C
gpl-2.0
125,869
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
bacaldwell/lustre
lustre/llite/lproc_llite.c
C
gpl-2.0
51,017
/* * Based on arch/arm/plat-omap/clock.c * * Copyright (C) 2004 - 2005 Nokia corporation * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> * Modified for omap shared clock framework by Tony Lindgren <tony@atomide.com> * Copyright 2007-2012 Freescale Semiconductor, Inc. * Copyright 2008 Juergen Beiser...
fread-ink/linux-2.6.35.3-imx5-kindle4
arch/arm/plat-mxc/clock.c
C
gpl-2.0
15,359
#ifdef BUILD_UBOOT #include <asm/arch/disp_drv_platform.h> extern s32 mt_set_gpio_out(u32 pin, u32 output); extern s32 mt_set_gpio_mode(u32 pin, u32 mode); extern s32 mt_set_gpio_dir(u32 pin, u32 dir); extern s32 mt_set_gpio_pull_enable(u32 pin, u32 enable); #else #include <linux/delay.h> #include <linux/fb.h> #inclu...
jawad6233/android_kernel_bq_aquaris5
mediatek/kernel/drivers/video/disp_drv.c
C
gpl-2.0
86,486
/* packet-gssapi.c * Dissector for GSS-API tokens as described in rfc2078, section 3.1 * Copyright 2002, Tim Potter <tpot@samba.org> * Copyright 2002, Richard Sharpe <rsharpe@samba.org> Added a few * bits and pieces ... * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copy...
zonque/wireshark
epan/dissectors/packet-gssapi.c
C
gpl-2.0
21,838
/* page_table.c * * The code submitted by Eric Vaitl <vaitl@viasat.com> for the MVME162 appears * to be for a uniprocessor implementation. The function that sets up the * page tables, page_table_init(), is not data driven. For all processors, it * sets up page tables to map virtual addresses from 0x20000 to 0...
yangxi/omap4m3
c/src/lib/libbsp/m68k/mvme167/startup/page_table.c
C
gpl-2.0
6,042
/* * drivers/cpufreq/cpufreq_stats.c * * Copyright (C) 2003-2004 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>. * (C) 2004 Zou Nan hai <nanhai.zou@intel.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 * p...
MikePach/Alucard-Kernel-jfltexx
drivers/cpufreq/cpufreq_stats.c
C
gpl-2.0
20,351
/* * IPI management based on arch/arm/kernel/smp.c (Copyright 2002 ARM Limited) * * Copyright 2007-2009 Analog Devices Inc. * Philippe Gerum <rpm@xenomai.org> * * Licensed under the GPL-2. */ #include <linux/module.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/spinl...
kozmikkick/eternityprj-kernel-endeavoru-128
arch/blackfin/mach-common/smp.c
C
gpl-2.0
12,125
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Implementation of the Transmission Control Protocol(TCP). * * IPv4 specific functions * * * code split ...
changyihsin/powermemo_kernel
net/ipv4/tcp_ipv4.c
C
gpl-2.0
69,383
/* Native-dependent code for FreeBSD/amd64. Copyright (C) 2003-2017 Free Software Foundation, Inc. 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 by the Free Software Foundation; either ve...
ganboing/binutils-gdb
gdb/amd64-fbsd-nat.c
C
gpl-2.0
8,848
/* * The simplest mpeg encoder (well, it was the simplest!) * Copyright (c) 2000,2001 Fabrice Bellard * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> * * 4MV & hq & B-frame encoding stuff by Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; yo...
bkury/OpenPHT
lib/ffmpeg/libavcodec/mpegvideo_enc.c
C
gpl-2.0
179,048
/****************************************Copyright (c)************************************************** ** Çå ·ç º£ °¶ ** ** yzfcer@163.com ** **--------------ÎļþÐÅÏ¢--------------------------------------------------------------------...
yzfcer/wind_os
src/boot/boot_imghead.c
C
gpl-2.0
5,613
/* * Copyright (c) 2012 NVIDIA Corporation. All rights reserved. * * NVIDIA Corporation and its licensors retain all intellectual property * and proprietary rights in and to this software and related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this softw...
DmitryADP/diff_qc750
vendor/nvidia/tegra/core/system/nvdiagnostics/se/se_test_t30.c
C
gpl-2.0
20,737