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 |
|---|---|---|---|---|---|
/*
* 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 |
/*
* 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 |
/* Implements exception handling.
Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
Contributed by Mike Stump <mrs@cygnus.com>.
This file is part of GCC.
GCC is free software; you can redistribute it and/or mod... | epicsdeb/rtems-gcc-newlib | gcc/except.c | C | gpl-2.0 | 110,501 |
/*
* snprintf.c - a portable implementation of snprintf and vsnprintf
*/
/*
* Portions Copyright (C) 2000 - 2016 Eggheads Development Team
*
* 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... | poppabear8883/ViperBot | src/compat/snprintf.c | C | gpl-2.0 | 18,469 |
/*
* acpi_ec.c - ACPI Embedded Controller Driver ($Revision: 2 $)
*
* Copyright (C) 2004 Luming Yu <luming.yu@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | odit/rv042 | linux/kernel_2.6/linux/drivers/acpi/ec.c | C | gpl-2.0 | 40,264 |
/* Emacs style mode select -*- C++ -*-
*-----------------------------------------------------------------------------
*
* $Id: r_data.c,v 1.13.2.3 2002/07/20 18:08:37 proff_fs Exp $
*
* PrBoom a Doom port merged with LxDoom and LSDLDoom
* based on BOOM, a modified and improved DOOM engine
* Copyright... | MathewWi/strife-wii | source/r_data.c | C | gpl-2.0 | 31,794 |
/*
* Copyright (C) 1998,1999,2000,2001 Nikos Mavroyanopoulos
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Library General Public License as published
* by the Free Software Foundation; either version 2 of the License, or
* (at your option) any later ... | EvanCarroll/freetds | src/utils/des.c | C | gpl-2.0 | 16,896 |
/*
* PXA3xx IPM Profiler
*
* Copyright (C) 2008 Marvell Corporation
* Haojian Zhuang <haojian.zhuang@marvell.com>
*
* This software program is licensed subject to the GNU General Public License
* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html
* (C) Copyright 2008 Marvell Internati... | crzyruski/OpenX2-kernel-original | arch/arm/mach-pxa/mspm_prof.c | C | gpl-2.0 | 28,549 |
/*
* Copyright (c) 2004-2008 Trusted Logic S.A.
* All Rights Reserved.
*
* This software is the confidential and proprietary information of
* Trusted Logic S.A. ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license... | DmitryADP/diff_qc750 | 3rdparty/trustedlogic/sdk/tegra3/tf_sdk/examples/example_tfctrl/src/tfctrl.c | C | gpl-2.0 | 22,546 |
/*
*
* (C) COPYRIGHT 2011-2013 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation, and any use by you of this program is subject to the terms
* of such GNU l... | CM-Tab-S/android_kernel_samsung_exynos5420 | drivers/gpu/arm/t6xx/kbase/src/common/mali_kbase_softjobs.c | C | gpl-2.0 | 18,387 |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... | brho/plan9 | nix/sys/src/cmd/auth/factotum/httpdigest.c | C | gpl-2.0 | 2,657 |
/*
* kernel/sched/core.c
*
* Kernel scheduler and related syscalls
*
* Copyright (C) 1991-2002 Linus Torvalds
*
* 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and
* make semaphores SMP safe
* 1998-11-19 Implemented schedule_timeout() and related stuff
* by Andrea Arcangeli
* 2002-01... | rudij7/green_machine_bacon | kernel/sched/core.c | C | gpl-2.0 | 213,088 |
#include "test.h"
#include <eel/eel-wrap-table.h>
#include <eel/eel-labeled-image.h>
#include <eel/eel-vfs-extensions.h>
#include <libcaja-private/caja-customization-data.h>
#include <libcaja-private/caja-icon-info.h>
int
main (int argc, char* argv[])
{
CajaCustomizationData *customization_data;
GtkWidget *window;... | alexandervdm/caja | test/test-caja-wrap-table.c | C | gpl-2.0 | 2,599 |
//[*]--------------------------------------------------------------------------------------------------[*]
//
//
//
// I2C INA231(Sensor) driver
// 2013.07.17
//
//
//[*]--------------------------------------------------------------------------------------------------[*]
#include <linux/i2c.h>
#include <linux/modul... | voodik/android_kernel_hardkernel_odroidxu | drivers/hardkernel/ina231-i2c.c | C | gpl-2.0 | 10,716 |
/*
* Linux MegaRAID driver for SAS based RAID controllers
*
* Copyright (c) 2009-2011 LSI Corporation.
*
* 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 ... | andi34/kernel_samsung_espresso-cm | drivers/scsi/megaraid/megaraid_sas_base.c | C | gpl-2.0 | 142,749 |
/*
* Scanning implementation
*
* Copyright 2003, Jouni Malinen <jkmaline@cc.hut.fi>
* Copyright 2004, Instant802 Networks, Inc.
* Copyright 2005, Devicescape Software, Inc.
* Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
* Copyright 2007, Michael Wu <flamingice@sourmilk.net>
*
* This program is free software; ... | voodik/android_kernel_hardkernel_odroidu | net/mac80211/scan.c | C | gpl-2.0 | 25,272 |
/*
* linux/arch/c6x/lib/misc.c
*
* Port on Texas Instruments TMS320C6x architecture
*
* Copyright (C) 2004, 2009 Texas Instruments Incorporated
* Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) and others
*
* This program is free software; you can redistribute it and/or modify
* it under the ter... | insys-projects/linux-c6x | arch/c6x/lib/misc.c | C | gpl-2.0 | 1,613 |
/************************************************************************
* Routines to deal with the header-field objects in formail *
* *
* Copyright (c) 1990-2000, S.R. van den Berg, The Netherlands *
* #include "../README" *
************************************************************************/... | Distrotech/procmail | src/fields.c | C | gpl-2.0 | 4,525 |
/*****************************************************************************
1 Include HeadFile
*****************************************************************************/
#include "NasEmmAttDetInclude.h"
#include "NasLmmPubMPrint.h"
#include "NasEmmGIMComm.h"
/*lint -e767*/
#define THIS_FILE_I... | Honor8Dev/android_kernel_huawei_FRD-L04 | drivers/vendor/hisi/modem/ps/nas/tl/lte/EMM/SRC/DETACH/SRC/NasEmmDetach.c | C | gpl-2.0 | 47,130 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 1999 - 2010, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
* Copyright (C) 2004 - 2005 Anthony Minessale II <anthmct@yahoo.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly... | bklang/asterisk | res/res_config_odbc.c | C | gpl-2.0 | 33,188 |
/* Copyright (C) 1994-2014 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
version 2.1 of the ... | n1koo/eglibc-trusty | .pc/hurd-i386/tg-hurdsig-global-dispositions.diff/sysdeps/mach/hurd/fork.c | C | gpl-2.0 | 23,883 |
/* Copyright (c) 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.
*
* This... | daeiron/kenzo_caf_kernel | sound/soc/msm/msm8952-slimbus.c | C | gpl-2.0 | 77,681 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2008 Red Hat, 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 of the
*... | tomoe-musashi/cinnamon-control-center | panels/sound/cc-sound-panel.c | C | gpl-2.0 | 4,345 |
#include <stdio.h>
#include "pmom_cat.h"
#include "wakelock_parse.h"
char *g_wakerlock_obj[] = {
"unlock",
"lock",
};
char *wakelock_name[] = {
"PWRCTRL_SLEEP_TLPS" , /*MSP--fuxin*/
"PWRCTRL_SLEEP_PS_G0", /*GU--ganlan*/
"PWRCTRL_SLEEP_PS_W0", /*GU--ganlan*/
"PWRCTRL_SLEEP_PS_G1... | wbrambley/Grace-kernel | drivers/vendor/hisi/modem/drv/acore/system/extras/pmom_cat/wakelock_parse.c | C | gpl-2.0 | 1,697 |
/* 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 ... | luckasfb/OT_903D-kernel-2.6.35.7 | bootable/bootloader/uboot/board/xes/xpedite5170/xpedite5170.c | C | gpl-2.0 | 5,169 |
/*
* ProFTPD - FTP server daemon
* Copyright (c) 2001-2012 The ProFTPD Project team
*
* 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 opti... | Distrotech/proftpd | src/ctrls.c | C | gpl-2.0 | 49,520 |
/*
Copyright (C) 1997-2001 Id Software, 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
of the License, or (at your option) any later version.
This program is distributed in th... | zardoru/vrxcl | src/ai/ai_movement.c | C | gpl-2.0 | 11,189 |
/* Qualcomm Crypto Engine driver.
*
* Copyright (c) 2010-2012, 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.
*
* ... | drewx2/Find5-Kernel-Source | drivers/crypto/msm/qce.c | C | gpl-2.0 | 73,832 |
/*
* linux/drivers/block/loop.c
*
* Written by Theodore Ts'o, 3/29/93
*
* Copyright 1993 by Theodore Ts'o. Redistribution of this file is
* permitted under the GNU General Public License.
*
* DES encryption plus some minor changes by Werner Almesberger, 30-MAY-1993
* more DES encryption plus IDEA encryption... | alfsamsung/LG_X3_P880_v20a | drivers/block/loop.c | C | gpl-2.0 | 46,054 |
/*
FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
***************************************************************************
* ... | spelle/FreeRTOS | FreeRTOS/Demo/RX200_RX210-RSK_Renesas/RTOSDemo/main-blinky.c | C | gpl-2.0 | 10,184 |
/*
* $Id: ixp4xx.c,v 1.1.1.1 2007/10/15 18:22:37 ronald Exp $
*
* drivers/mtd/maps/ixp4xx.c
*
* MTD Map file for IXP4XX based systems. Please do not make per-board
* changes in here. If your board needs special setup, do it in your
* platform level code in arch/arm/mach-ixp4xx/board-setup.c
*
* Original Author... | robacklin/ts7800 | drivers/mtd/maps/ixp4xx.c | C | gpl-2.0 | 6,919 |
/* platform dirver header */
/*
* (C) Copyright 2010 Amlogic, Inc
*
* Victor Wan, victor.wan@amlogic.com,
* 2010-03-24 @ Shanghai
*
*/
#include "platform.h"
/*
cfg = 0 : EXT clock
cfg = 1 : INT clock
*/
#ifdef CONFIG_M6
#define PREI_USB_PHY_A_REG_BASE 0xC1108400 //0x2100
#defin... | genehuangtaiwan/uboot | drivers/usb/gadget/aml_tiny_usbtool/platform.c | C | gpl-2.0 | 7,269 |
/*
* Copyright (C) 2008, 2009 Intel Corporation
* Authors: Andi Kleen, Fengguang Wu
*
* This software may be redistributed and/or modified under the terms of
* the GNU General Public License ("GPL") version 2 only as published by the
* Free Software Foundation.
*
* High level machine check handler. Handles page... | iodak/LG_X3_P880_v20a | mm/memory-failure.c | C | gpl-2.0 | 42,867 |
/* delay.c
This file is part of a program that implements a Software-Defined Radio.
Copyright (C) 2013 Warren Pratt, NR0V
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 Li... | TheChief/PowerSDR_Test | Source/wdsp/delay.c | C | gpl-2.0 | 3,829 |
/*
* linux/kernel/printk.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Modified to make sys_syslog() more flexible: added commands to
* return the last 4k of kernel messages, regardless of whether
* they've been read or not. Added option to suppress kernel printk's
* to the console. Added hook for send... | spezi77/kernel_msm | kernel/printk.c | C | gpl-2.0 | 46,891 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2012 Red Hat, Inc
*
* Licensed under the GNU General Public License Version 2
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | endlessm/gnome-control-center | panels/network/connection-editor/ce-page-wifi.c | C | gpl-2.0 | 7,512 |
/*
* USB hub driver.
*
* (C) Copyright 1999 Linus Torvalds
* (C) Copyright 1999 Johannes Erdfelt
* (C) Copyright 1999 Gregory P. Smith
* (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au)
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#includ... | serj/kernel_graph_2.6.32_rhel | drivers/usb/core/hub.c | C | gpl-2.0 | 111,896 |
/* $Id: dict.c,v 1.2 2003/01/23 00:36:01 robertc Exp $
* Copyright (C) 2002 Rodrigo Campos
*
* 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 optio... | arthurtumanyan/squid-3.0-stable1-shaga | helpers/external_acl/ip_user/dict.c | C | gpl-2.0 | 4,500 |
/**
* @file opd_cookie.c
* cookie -> name cache
*
* @remark Copyright 2002, 2005 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon
*/
#include "opd_cookie.h"
#include "oprofiled.h"
#include "op_list.h"
#include "op_libiberty.h"
#include <sys/syscall.h>
#include <unistd.h>
#include <limit... | scs/uclinux | user/oprofile/oprofile-0.9.1/daemon/opd_cookie.c | C | gpl-2.0 | 4,328 |
/* Copyright (c) 2011-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... | binkybear/furnace_kernel_caf_hammerhead | arch/arm/mach-msm/subsystem_restart.c | C | gpl-2.0 | 34,204 |
/*
* Copyright (C) 2007-2009 ST-Ericsson AB
* License terms: GNU General Public License (GPL) version 2
* ST DDC I2C master mode driver, used in e.g. U300 series platforms.
* Author: Linus Walleij <linus.walleij@stericsson.com>
* Author: Jonas Aaberg <jonas.aberg@stericsson.com>
*/
#include <linux/init.h>
... | Jackeagle/android_kernel_sony_c2305 | drivers/i2c/busses/i2c-stu300.c | C | gpl-2.0 | 28,482 |
/*
* Copyright (C) 2001, 2004, 2005, 2007 Free Software Foundation
*
* Author: Nikos Mavrogiannopoulos
*
* This file is part of GNUTLS-EXTRA.
*
* GNUTLS-EXTRA 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... | scs/uclinux | lib/gnutls/gnutls-2.2.0/libextra/gnutls_extra.c | C | gpl-2.0 | 4,773 |
/**
********************************************************************
* @file core_test.c
* @author Jun.Lu
* @version V1.0.0
* @date 5-March-2015
* @brief
********************************************************************
* @attention
* This file is the low level driver of gpio init.
*------------------------... | lujun723/Ebase | PROGRAM/user/core_test.c | C | gpl-2.0 | 2,407 |
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
* Copyright (c) 2012, LGE 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.
*
* Th... | samuaz/kernel_msm_gee | arch/arm/mach-msm/lge/mako/board-mako-gpiomux.c | C | gpl-2.0 | 12,505 |
/* omethlib.h - Ethernet Library for FPGA MAC Controller */
/*
------------------------------------------------------------------------------
Copyright (c) 2009, B&R
All rights reserved.
Redistribution and use in source and binary forms,
with or without modification,
are permitted provided that the following condition... | dummylink/plnk_fpga-stack | Edrv/openmac/source/omethlib.c | C | gpl-2.0 | 90,580 |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Muffin Keybindings */
/*
* Copyright (C) 2001 Havoc Pennington
* Copyright (C) 2002 Red Hat Inc.
* Copyright (C) 2003 Rob Adams
* Copyright (C) 2004-2006 Elijah Newren
*
* This program is free software; you can redistribute it and/or
* modi... | acmihal/muffin | src/core/keybindings.c | C | gpl-2.0 | 115,249 |
/*
Copyright (C) 1997-2001 Id Software, 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
of the License, or (at your option) any later version.
This program is distributed in th... | decino/Infighter | src/monsters/quake2/m_infantry.c | C | gpl-2.0 | 14,743 |
/*
fih 1090_usb driver porting,add for HWID control
*/
#ifdef CONFIG_FIH_PID_SWITCH //StevenCPHuang_20110824,add for PID Switch
struct device * dev_backup = NULL;
struct device * get_f_diag_dev(void)
{
return dev_backup;
}
int fih_enable_Diag(struct device * pdev)
{
char *buf = "1";
// printk("fih_enable_t... | chen2011521/xt560_kernel | drivers/fih/usb/gadget/fih_composite.c | C | gpl-2.0 | 2,436 |
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2011 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
* 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... | sdemario/BlueZ | thermometer/thermometer.c | C | gpl-2.0 | 27,531 |
/*
* Driver interaction with Linux nl80211/cfg80211
* Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi>
* Copyright (c) 2003-2004, Instant802 Networks, Inc.
* Copyright (c) 2005-2006, Devicescape Software, Inc.
* Copyright (c) 2007, Johannes Berg <johannes@sipsolutions.net>
* Copyright (c) 2009-2010, Atheros Commu... | jjm2473/AMLOGIC_M8 | drivers/net/wifi-fw-kk-amlogic/wpa_supplicant_8_mtk/wpa_supplicant/src/drivers/driver_nl80211.c | C | gpl-2.0 | 249,566 |
/****************************************************************************
*
* Copyright (C) 2005 - 2013 by Vivante Corp.
* Copyright (C) 2011-2012 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License... | utilite-computer/linux-kernel-3.0 | drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c | C | gpl-2.0 | 34,943 |
/***************************************************************************/
/* */
/* Interface to a subset of the old subtour routines */
/* */
/* ... | gpalma/annsim | src/lib/concorde970827/XSTUFF/Xstuff.c | C | gpl-2.0 | 23,597 |
/*
* Copyright (c) 2012 Engenic Semiconductor Co., Ltd.
* http://www.ingenic.com/
*
* JZ4775 mensa board lcd setup routines.
*
* 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... | IngenicSemiconductor/kernel-inwatch | arch/mips/xburst/soc-4775/chip-4775/mensa/lcd-kfm701a21_1a.c | C | gpl-2.0 | 6,516 |
/**
* AMCC SoC PPC4xx Crypto Driver
*
* Copyright (c) 2008 Applied Micro Circuits Corporation.
* All rights reserved. James Hsiao <jhsiao@amcc.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 ... | williamfdevine/PrettyLinux | drivers/crypto/amcc/crypto4xx_alg.c | C | gpl-3.0 | 8,600 |
/* $Id: res_query.c,v 1.1.1.1 2006/09/14 01:59:06 root Exp $ */
/* $OpenBSD: res_query.c,v 1.13 1999/09/27 23:58:26 alex Exp $ */
/*
* ++Copyright++ 1988, 1993
* -
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary f... | tupelo-shen/my_test | doc/linux/mips-architecture/loongson-datasheet/pmon/src/pmon-loongson3/lib/libc/res_query.c | C | gpl-3.0 | 10,164 |
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
* This program is a 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 FSF - Free Software
* Foundation
*/
#include "shared.h"
#include "os_net/os_net.h"
#inc... | srikanth-dabbiru/chips | src/config/global-config.c | C | gpl-3.0 | 17,943 |
/* Copyright 2016 Ka-Ping Yee
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at: http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distri... | skipzone/Illumicone | simulator/openpixelcontrol/src/apa102_server.c | C | gpl-3.0 | 1,471 |
/*
* Copyright (C) International Business Machines Corp., 2000-2004
* Portions Copyright (C) Christoph Hellwig, 2001-2002
*
* 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; eithe... | williamfdevine/PrettyLinux | fs/jfs/jfs_logmgr.c | C | gpl-3.0 | 61,152 |
/*
* Wolfenstein: Enemy Territory GPL Source Code
* Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
* Copyright (C) 2010-2011 Robert Beckebans <trebor_7@users.sourceforge.net>
* Copyright (C) 2007 HermitWorks Entertainment Corporation
*
* ET: Legacy
* Copyright (C) 2012-2018 ET:Legacy team <mai... | zturtleman/etlegacy | src/renderer2/tr_image_dds.c | C | gpl-3.0 | 35,300 |
/*
Rocrail - Model Railroad Software
Copyright (C) 2002-2014 Rob Versluis, Rocrail.net
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) ... | KlausMerkert/FreeRail | roclcdr/impl/events/exit.c | C | gpl-3.0 | 3,921 |
/*
Copyright 2017-2021 Alex Margarit <alex@alxm.org>
This file is part of Faur, a C video game framework.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3,
as published by the Free Software Foundation.
This prog... | alxm/a2x | src/files/f_embed.c | C | gpl-3.0 | 3,418 |
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r6_1;
atomic_int atom_1_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | nidhugg/nidhugg | tests/litmus/C-tests/DETOUR0665.c | C | gpl-3.0 | 1,876 |
// url_parser_test.c
/* Copyright 2013 Aalborg University. 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
* notic... | eudyptula/HomePort | http-webserver/src/url_parser_test.c | C | gpl-3.0 | 10,305 |
/**
* \file gnome_ui.c
*
* This file contains the main control UI for xvidcap
* \todo rename the global variables pthread* to xvc_pthread*
*/
/* Copyright (C) 2003-07 Karl H. Beckers, Frankfurt
* EMail: khb@jarre-de-the.net
*
* This program is free software; you can redistribute it and/or modify
* it under th... | descent/xvidcap | src/gnome_ui.c | C | gpl-3.0 | 113,941 |
/*
=======================================================================================================================================
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of Spearmint Source Code.
Spearmint Source Code is free software; you can redistribute it and/o... | KuehnhammerTobias/ioqw | code/game/g_mem.c | C | gpl-3.0 | 3,032 |
#include <stdarg.h>
#include <string.h>
#include "ili9320.h"
#include "scr_io.h"
#include "scr_io.h"
#define FONT_STEP_X 8
#define FONT_STEP_Y 16
static uint16_t fontColor = 0xffff, fontBkColor=0;
static uint16_t fix_fontColor = 0xffff, fix_fontBkColor=0;
static int8_t cur_col = 0, cur_row = 0, cur_width... | mmMikeKn/watering_ctrl | src/liblcd/scr_io.c | C | gpl-3.0 | 6,255 |
/*
Dokan : user-mode file system library for Windows
Copyright (C) 2008 Hiroki Asakawa info@dokan-dev.net
http://dokan-dev.net/en
Copyright (c) 2015 AIXIV
https://github.com/AIXIV/dokan
Dokan is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public Licen... | AIXIV/dokan | Driver/flush.c | C | gpl-3.0 | 3,737 |
/*
* Lossless video DSP utils
*
* This file is part of FFmpeg.
*
* FFmpeg 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
* version 2.1 of the License, or (at your option) any later versi... | lwjfork/ffmpeg | libavcodec/x86/lossless_videodsp_init.c | C | gpl-3.0 | 4,319 |
/*
* Roccat common functions for device specific drivers
*
* Copyright (c) 2011 Stefan Achatz <erazor_de@users.sourceforge.net>
*/
/*
* 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; eith... | williamfdevine/PrettyLinux | drivers/hid/hid-roccat-common.c | C | gpl-3.0 | 4,954 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2015 - Daniel De Matteis
* Copyright (C) 2014-2015 - Jean-André Santoni
*
* RetroArch 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-
* ation, ... | xoddark/RetroArch | menu/drivers/xmb.c | C | gpl-3.0 | 72,374 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | ngcurrier/ProteusCFD | TPLs/hdf5/hdf5-1.10.2/src/H5Adense.c | C | gpl-3.0 | 80,181 |
/*
This project 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
(at your option) any later version.
Deviation is distributed in the hope that it will be useful,
but WITHO... | F-D-R/deviation | src/mixer.c | C | gpl-3.0 | 28,245 |
#include <gtk/gtk.h>
#include "modSarrera.h"
static GtkWidget *testua, *labelIzena;
static int zenbat;
static void form_load(gchar *izena, int kop)
{
char kopurua[5];
sprintf (kopurua, "%d", kop);
gtk_entry_set_text(testua, kopurua);
gtk_label_set_text(labelIzena, izena);
}
static void btmUtzi()
{
gtk_main_qu... | enbata/on-egin | src/zenbatUnitate.c | C | gpl-3.0 | 3,527 |
/*
Exciting Licence Info.....
This file is part of FingerprinTLS.
FingerprinTLS 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
(at your option) any later version.
Fingerprin... | LeeBrotherston/tls-fingerprinting | fingerprintls/fingerprintls.c | C | gpl-3.0 | 15,736 |
/*
amaranth.c -- Command line music player.
Copyright (C) 2008 Henri Häkkinen.
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 (at your option)
any later versio... | henux/amaranth | src/amaranth.c | C | gpl-3.0 | 4,072 |
/* Implementation of pattern-matching file search paths for GNU Make.
Copyright (C) 1988-2014 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make 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;... | lava/make | vpath.c | C | gpl-3.0 | 18,416 |
/* this file is part of Libav and distributed under GPLv3lu0 */
#include <string.h>
#include "kernels.h"
extern const AVSKernel avs_rgbpck_kernel;
extern const AVSKernel avs_rgbunp_kernel;
extern const AVSKernel avs_rgb2yuv_kernel;
extern const AVSKernel avs_scale_kernel;
static void component_murder(void *ctx,
... | lu-zero/avscale | kernels.c | C | gpl-3.0 | 1,556 |
/*
* Regulator driver for Rockchip RK808/RK818
*
* Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd
*
* Author: Chris Zhong <zyw@rock-chips.com>
* Author: Zhang Qing <zhangqing@rock-chips.com>
*
* Copyright (C) 2016 PHYTEC Messtechnik GmbH
*
* Author: Wadim Egorov <w.egorov@phytec.de>
*
* This progr... | williamfdevine/PrettyLinux | drivers/regulator/rk808-regulator.c | C | gpl-3.0 | 20,523 |
/******************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* This file is part of Real VMX.
* Copyright (C) 2013 Surplus Users Ham Society
*
* Real VMX is free software: you can redistribute it and/or modify
* it under th... | phoboz/vmx | src/usr/usrFsLib.c | C | gpl-3.0 | 17,594 |
/* vim: set tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab */
/* ================================================================== */
/* */
/* Microsoft Speech coder ANSI-C Source Code */
/* SC1200 1200 bps speech coder ... | gegel/pairphone | melpe/melp_syn.c | C | gpl-3.0 | 17,846 |
/*
* ttf2tfm.c
*
* This file is part of the ttf2pk package.
*
* Copyright 1997-1999 by
* Frederic Loyer <loyer@ensta.fr>
* Werner Lemberg <wl@gnu.org>.
*/
/*
* This program converts TTF files to TeX TFM files, and optionally
* to TeX VPL files that retain all kerning and ligature informatio... | chriskmanx/qmole | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/extras/FreeType/contrib/ttf2pk/ttf2tfm.c | C | gpl-3.0 | 21,178 |
/*
debug.c
Copyright (C) 2008-2010 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
--------------------------------------------------------------------
This file is part of the Leia application.
Leia is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Licens... | DoomHammer/leiads | src/debug.c | C | gpl-3.0 | 4,476 |
/*
* GEM-Mapper v3 (GEM3)
* Copyright (c) 2011-2017 by Santiago Marco-Sola <santiagomsola@gmail.com>
*
* This file is part of GEM-Mapper v3 (GEM3).
*
* 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 So... | smarco/gem3-mapper | src/fm_index/sampled_sa.c | C | gpl-3.0 | 9,369 |
/*
** Garbage collector.
** Copyright (C) 2005-2014 Mike Pall. See Copyright Notice in luajit.h
**
** Major portions taken verbatim or adapted from the Lua interpreter.
** Copyright (C) 1994-2008 Lua.org, PUC-Rio. See Copyright Notice in lua.h
*/
#define lj_gc_c
#define LUA_CORE
#include "lj_obj.h"
#include "lj_gc.h"... | franko/gsl-shell | luajit2/src/lj_gc.c | C | gpl-3.0 | 26,326 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.