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
/* sane - Scanner Access Now Easy. Copyright (C) 2000-2001 Kazuya Fukuda, based on sharp.c, which is based on canon.c. This file is part of the SANE package. 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 th...
dwery/sane-evolution
backend/nec.c
C
gpl-2.0
98,935
/***************************************************************************** * rtpfmt.c: RTP payload formats ***************************************************************************** * Copyright (C) 2003-2004 VLC authors and VideoLAN * Copyright © 2007 Rémi Denis-Courmont * $Id: 75b4143762b16657ba0a378d5081c...
sunqueen/vlc-2.2.0-rc2.32-2013
modules/stream_out/rtpfmt.c
C
gpl-2.0
52,630
m4_divert(-1) -*- C -*- # Yacc compatible skeleton for Bison # Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GN...
bloudraak/yaxx
bison/data/yacc-2.3.c
C
gpl-2.0
41,735
/* * jabberd - Jabber Open Source Server * Copyright (c) 2002 Jeremie Miller, Thomas Muldowney, * Ryan Eatmon, Robert Norris * * 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 Found...
yurial/jabberd2
s2s/router.c
C
gpl-2.0
11,812
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
rex-xxx/mt6572_x201
mediatek/external/lcdc_screen_cap/lcdc_screen_cap.c
C
gpl-2.0
12,965
/* * video output driver for libcaca * * by Pigeon <pigeon@pigeond.net> * * Some functions/codes/ideas are from x11 and aalib vo * * TODO: support draw_alpha? * * This file is part of MPlayer. * * MPlayer is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public ...
Cloudef/mpv
video/out/vo_caca.c
C
gpl-2.0
9,431
//----------------------------------------------------------------------------- // Merlok - 2012 // // This code is licensed to you under the terms of the GNU GPL, version 2 or, // at your option, any later version. See the LICENSE.txt file for the text of // the license. //---------------------------------------------...
samyk/proxmark3
armsrc/mifaresniff_disabled.c
C
gpl-2.0
11,783
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * GThumb * * Copyright (C) 2009 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 F...
novas0x2a/gthumb
extensions/pixbuf_savers/gth-jpeg-saver.c
C
gpl-2.0
13,653
#include "f2c.h" /* Subroutine */ int clarnv_(integer *idist, integer *iseed, integer *n, complex *x) { /* -- LAPACK auxiliary routine (version 2.0) -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., Courant Institute, Argonne National Lab, and Rice University September 30, 19...
dribbroc/HONEI
honei/math/SuperLU_4.1/TESTING/MATGEN/clarnv.c
C
gpl-2.0
5,128
/* * Driver for keys on GPIO lines capable of generating interrupts. * * Copyright 2005 Phil Blundell * Copyright 2010, 2011 David Jander <david@protonic.nl> * * 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 b...
meizuosc/m75
mediatek/kernel/drivers/keypad/gpio_keys.c
C
gpl-2.0
24,528
/* * linux/mm/vmscan.c * * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds * * Swap reorganised 29.12.95, Stephen Tweedie. * kswapd added: 7.1.96 sct * Removed kswapd_ctl limits, and swap out as many pages as needed * to bring the system back to freepages.high: 2.4.97, Rik van Riel. * Zone aware k...
AirOne70/android_kernel_asus_grouper
mm/vmscan.c
C
gpl-2.0
101,857
// Copyright (C) 1999-2000 Id Software, Inc. // #include "g_local.h" #include "..\ghoul2\g2.h" // g_client.c -- client functions that don't happen every frame static vec3_t playerMins = {-15, -15, DEFAULT_MINS_2}; static vec3_t playerMaxs = {15, 15, DEFAULT_MAXS_2}; forcedata_t Client_Force[MAX_CLIENTS]; /*QUAKED i...
Boothand/Birdbones
code/game/g_client.c
C
gpl-2.0
50,932
/*****************************************************************************\ * Copyright (C) 2001-2007 The Regents of the University of California. * Copyright (C) 2007-2014 Lawrence Livermore National Security, LLC. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). * Written by Jim Garl...
pete4abw/scrub
src/sig.c
C
gpl-2.0
3,662
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <string.h> #include <sys/mman.h> /* char *shellcode= \ "\x31\xdb" "\x31\xc9" "\x31\xd2" "\x31\xc0" "\xb0\x17\xcd\x80" //setuid(0) "\x31\xc0" "\x50" "\x68" ...
sigma-random/Linux_Shellcode
read_file/shellcode_loader.c
C
gpl-2.0
2,116
/* ANSI-C code produced by gperf version 3.0.1 */ /* Command-line: gperf -a -L ANSI-C -E -C -c -o -t -k '*' -Nkde_findEntity -D -Hhash_Entity -Wwordlist_Entity -s 2 kentities.gperf */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) && (')' ==...
serghei/kde3-kdelibs
kdecore/kentities.c
C
gpl-2.0
26,881
/* * Copyright (c) 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 h...
cbolumar/android_kernel_samsung_a3ulte
drivers/clk/qcom/clock-cpu-8939.c
C
gpl-2.0
11,593
/* * Copyright (C) 1996-2015 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ /* * Encoders adopted from http://ftp.sunet...
hieuit7/freewifi
squid-proxy/squid-3.5.3/lib/base64.c
C
gpl-2.0
6,110
/* main.c - Frotz V2.40 main function * Copyright (c) 1995-1997 Stefan Jokisch * * This file is part of Frotz. * * Frotz 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, ...
DavidKinder/Windows-Frotz
Generic/main.c
C
gpl-2.0
4,052
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * mate-rr-labeler.c - Utility to label monitors to identify them * while they are being configured. * * Copyright 2008, Novell, Inc. * * This file is part of the Mate Library. * * The Mate Library is free software; you can redistribute ...
City-busz/mate-desktop
libmate-desktop/mate-rr-labeler.c
C
gpl-2.0
16,664
#include "capwap.h" #include "capwap_element.h" /******************************************************************** 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Maximum Message Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type: 29 for Maximum Message Length Length:...
nm-mrt/smartcapwap
src/common/capwap_element_maximumlength.c
C
gpl-2.0
1,877
/**************************************************************************** * * Open Watcom Project * * Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved. * * ======================================================================== * * This file contains Original Code...
OS2World/DEV-UTIL-SNAP
src/snaprtl/clib/char/c/isascii.c
C
gpl-2.0
1,674
/**************************************************************************** * * acl.c - a small library for nrpe.c. It adds IPv4 subnets support to ACL in nrpe. * * License: GPLv2 * Copyright (c) 2011 Kaspersky Lab ZAO * * Description: * * acl.c creates two linked lists. One is for IPv4 hosts and networks, a...
NagiosEnterprises/nrpe
src/acl.c
C
gpl-2.0
21,230
/* * TI Touch Screen / ADC MFD driver * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.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 version 2. * * This pro...
jmc8/linux
drivers/mfd/ti_am335x_tscadc.c
C
gpl-2.0
9,643
/* * Copyright (c) 2005-2012 NFG Net Facilities Group BV support@nfg.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 * version 2 of the License, or (at your option) a...
moveone/dbmail
test/check_dbmail_user.c
C
gpl-2.0
4,873
/* 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
/* * 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
#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