repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
heartsg/oceanbase | oceanbase_0.4/tests/chunkserver/test_fileinfocache.cpp | 13 | 2460 | /**
* (C) 2010-2011 Taobao 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 as published by the Free Software Foundation.
*
* test_fileinfocache.cpp for test file info cache
*
* Authors:
* yubai< yubai.lk@ta... | gpl-2.0 |
wanahmadzainie/linux-mainline | mm/workingset.c | 13 | 18559 | /*
* Workingset detection
*
* Copyright (C) 2013 Red Hat, Inc., Johannes Weiner
*/
#include <linux/memcontrol.h>
#include <linux/writeback.h>
#include <linux/pagemap.h>
#include <linux/atomic.h>
#include <linux/module.h>
#include <linux/swap.h>
#include <linux/dax.h>
#include <linux/fs.h>
#include <linux/mm.h>
/*... | gpl-2.0 |
daveti/gcc | gcc/lto-cgraph.c | 13 | 70167 | /* Write and read the cgraph to the memory mapped representation of a
.o file.
Copyright (C) 2009-2015 Free Software Foundation, Inc.
Contributed by Kenneth Zadeck <zadeck@naturalbridge.com>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU G... | gpl-2.0 |
Muglackh/cejkaz-tc | contrib/vmap_extractor_v2/stormlib/zlib/maketree.c | 269 | 2468 | /* maketree.c -- make inffixed.h table for decoding fixed codes
* Copyright (C) 1995-2002 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subje... | gpl-2.0 |
davidmueller13/flo-1 | drivers/iommu/msm_iommu_pagetable.c | 269 | 11688 | /* Copyright (c) 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 hope ... | gpl-2.0 |
khanfrd/Red-Kernel | kernel/futex.c | 525 | 73120 | /*
* Fast Userspace Mutexes (which I call "Futexes!").
* (C) Rusty Russell, IBM 2002
*
* Generalized futexes, futex requeueing, misc fixes by Ingo Molnar
* (C) Copyright 2003 Red Hat Inc, All Rights Reserved
*
* Removed page pinning, fix privately mapped COW pages and other cleanups
* (C) Copyright 2003, ... | gpl-2.0 |
idl3r/P8000-Kernel | drivers/net/can/mscan/mscan.c | 2317 | 18413 | /*
* CAN bus driver for the alone generic (as possible as) MSCAN controller.
*
* Copyright (C) 2005-2006 Andrey Volkov <avolkov@varma-el.com>,
* Varma Electronics Oy
* Copyright (C) 2008-2009 Wolfgang Grandegger <wg@grandegger.com>
* Copyright (C) 2008-2009 Pengutronix <kernel@pengutronix.... | gpl-2.0 |
npeacock/android_kernel_mediatek_mt6575 | arch/arm/mach-s5pv210/dev-spi.c | 2829 | 3889 | /* linux/arch/arm/mach-s5pv210/dev-spi.c
*
* Copyright (C) 2010 Samsung Electronics Co. Ltd.
* Jaswinder Singh <jassi.brar@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Fou... | gpl-2.0 |
WildfireDEV/android_kernel_htc_holiday | drivers/net/sun3lance.c | 3085 | 26354 | /* sun3lance.c: Ethernet driver for SUN3 Lance chip */
/*
Sun3 Lance ethernet driver, by Sam Creasey (sammy@users.qual.net).
This driver is a part of the linux kernel, and is thus distributed
under the GNU General Public License.
The values used in LANCE_OBIO and LANCE_IRQ seem to be empirically
true for th... | gpl-2.0 |
TheTypoMaster/ghost | arch/arm/mach-pxa/mainstone.c | 4621 | 15285 | /*
* linux/arch/arm/mach-pxa/mainstone.c
*
* Support for the Intel HCDDBBVA0 Development Platform.
* (go figure how they came up with such name...)
*
* Author: Nicolas Pitre
* Created: Nov 05, 2002
* Copyright: MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or m... | gpl-2.0 |
bsmitty83/NeWsEnSe | arch/alpha/oprofile/op_model_ev5.c | 4877 | 5475 | /**
* @file arch/alpha/oprofile/op_model_ev5.c
*
* @remark Copyright 2002 OProfile authors
* @remark Read the file COPYING
*
* @author Richard Henderson <rth@twiddle.net>
*/
#include <linux/oprofile.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include "op_i... | gpl-2.0 |
rootbalance/Kernel_source_jfltexx | arch/arm/mach-imx/mach-mx27ads.c | 4877 | 8179 | /*
* Copyright (C) 2000 Deep Blue Solutions Ltd
* Copyright (C) 2002 Shane Nay (shane@minirl.com)
* Copyright 2006-2007 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published... | gpl-2.0 |
michaelspeed/EntityMobile_Nexus5_kernel_AOSP | arch/arm/mach-imx/mach-mx25_3ds.c | 4877 | 7004 | /*
* Copyright 2009 Sascha Hauer, <kernel@pengutronix.de>
*
* 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.
* Thi... | gpl-2.0 |
Kernelhacker/2.6.38.3-Adam | drivers/isdn/divert/divert_init.c | 5133 | 2399 | /* $Id divert_init.c,v 1.5.6.2 2001/01/24 22:18:17 kai Exp $
*
* Module init for DSS1 diversion services for i4l.
*
* Copyright 1999 by Werner Cornelius (werner@isdn4linux.de)
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by r... | gpl-2.0 |
nimon/m8_kernel | drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c | 5389 | 1880 | /******************************************************************************
* Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
*
* Based on the r8180 driver, which is:
* Copyright 2004-2005 Andrea Merello <andreamrl@tiscali.it>, et al.
* This program is free software; you can redistribute it ... | gpl-2.0 |
jyizheng/net-next-nuse-old | drivers/isdn/hardware/eicon/debuglib.c | 9741 | 4506 |
/*
*
Copyright (c) Eicon Networks, 2002.
*
This source file is supplied for the use with
Eicon Networks range of DIVA Server Adapters.
*
Eicon File Revision : 2.1
*
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... | gpl-2.0 |
cristianomatos/crKernel-mako | drivers/isdn/hardware/eicon/diva_dma.c | 9741 | 2712 |
/*
*
Copyright (c) Eicon Networks, 2002.
*
This source file is supplied for the use with
Eicon Networks range of DIVA Server Adapters.
*
Eicon File Revision : 2.1
*
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... | gpl-2.0 |
dbones/linux | drivers/isdn/hardware/eicon/di.c | 9741 | 27971 |
/*
*
Copyright (c) Eicon Networks, 2002.
*
This source file is supplied for the use with
Eicon Networks range of DIVA Server Adapters.
*
Eicon File Revision : 2.1
*
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... | gpl-2.0 |
hustcalm/coreboot-hacking | src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Family/0x14/F14NbServices.c | 14 | 23722 | /* $NoKeywords:$ */
/**
* @file
*
* Graphics Controller family specific service procedure
*
*
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: GNB
* @e \$Revision: 48498 $ @e \$Date: 2011-03-09 12:44:53 -0700 (Wed, 09 Mar 2011) $
*
*/
/*
*****************... | gpl-2.0 |
igsor/okular | generators/dvi/dvisourcesplitter.cpp | 14 | 2994 | // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
//
// C++ Implementation: dvisourcesplitter
//
// Author: Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>, (C) 2004
//
// Copyright: See COPYING file that comes with this distribution
//
#include <config.h>
#include "dvisourcesplitter.h"... | gpl-2.0 |
Psycho666/Simplicity_trlte_kernel | drivers/infiniband/hw/mlx4/mad.c | 526 | 58564 | /*
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source... | gpl-2.0 |
omnirom/android_kernel_oppo_n1 | drivers/staging/prima/CORE/SME/src/csr/csrLinkList.c | 1294 | 15197 | /*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright not... | gpl-2.0 |
k2wl/android_kernel_samsung_serranodsdd | arch/arm/mach-imx/mach-imx27ipcam.c | 4878 | 2047 | /*
* Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
*
* Author: Fabio Estevam <fabio.estevam@freescale.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... | gpl-2.0 |
DirtyUnicorns-Ports/android_kernel_samsung_jf | drivers/staging/iio/dac/ad5360.c | 4878 | 13856 | /*
* Analog devices AD5360, AD5361, AD5362, AD5363, AD5370, AD5371, AD5373
* multi-channel Digital to Analog Converters driver
*
* Copyright 2011 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#include <linux/device.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <li... | gpl-2.0 |
mifl/android_kernel_pantech_vegapvw | arch/powerpc/sysdev/i8259.c | 6926 | 7105 | /*
* i8259 interrupt controller driver.
*
* 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.
*/
#undef DEBUG
#inclu... | gpl-2.0 |
akkufix/HTC_M7xx_kernel-4.4x | sound/usb/usx2y/usbusx2y.c | 7182 | 13552 | /*
* usbusy2y.c - ALSA USB US-428 Driver
*
2005-04-14 Karsten Wiese
Version 0.8.7.2:
Call snd_card_free() instead of snd_card_free_in_thread() to prevent oops with dead keyboard symptom.
Tested ok with kernel 2.6.12-rc2.
2004-12-14 Karsten Wiese
Version 0.8.7.1:
snd_pcm_open for rawusb pcm-devices now returns -... | gpl-2.0 |
pantech-msm8960/android_kernel_pantech_msm8960 | sound/core/seq/seq_prioq.c | 12558 | 10997 | /*
* ALSA sequencer Priority Queue
* Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.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 t... | gpl-2.0 |
DRHAX34/android_kernel_zte_sailboat | net/bridge/netfilter/ebt_arp.c | 13582 | 3671 | /*
* ebt_arp
*
* Authors:
* Bart De Schuymer <bdschuym@pandora.be>
* Tim Gardner <timg@tpi.com>
*
* April, 2002
*
*/
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/module.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bri... | gpl-2.0 |
rspc/mmc-sd40 | net/bridge/netfilter/ebt_arp.c | 13582 | 3671 | /*
* ebt_arp
*
* Authors:
* Bart De Schuymer <bdschuym@pandora.be>
* Tim Gardner <timg@tpi.com>
*
* April, 2002
*
*/
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/module.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bri... | gpl-2.0 |
ekasteel/MyPlayground | c/apue.2e/sockets/sendfd.c | 15 | 1330 | #include "apue.h"
#ifdef MACOS
#include <sys/uio.h>
#endif
#include <sys/socket.h>
/* size of control buffer to send/recv one file descriptor */
#define CONTROLLEN CMSG_LEN(sizeof(int))
static struct cmsghdr *cmptr = NULL; /* malloc'ed first time */
/*
* Pass a file descriptor to another process.
* If fd<0, then -... | gpl-2.0 |
robacklin/uclinux | lib/libgmp/mpn/cray/lshift.c | 15 | 1399 | /* mpn_lshift -- Shift left low level for Cray vector processors.
Copyright (C) 2000 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP 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 ... | gpl-2.0 |
asheeatusa/mitzuli | libraries/tesseract-android-tools/src/main/native/com_googlecode_tesseract_android/src/textord/alignedblob.cpp | 15 | 23973 | ///////////////////////////////////////////////////////////////////////
// File: alignedblob.cpp
// Description: Subclass of BBGrid to find vertically aligned blobs.
// Author: Ray Smith
// Created: Fri Mar 21 15:03:01 PST 2008
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, ... | gpl-2.0 |
arif8323/linux | sound/soc/codecs/max98090.c | 15 | 31729 | /*
* max98090.c -- MAX98090 ALSA SoC Audio driver
*
* Copyright 2011 Maxim Integrated Products
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#... | gpl-2.0 |
mzueger/linux-phycore-mpc5200b | drivers/usb/misc/usbtest.c | 15 | 66541 | #include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/scatterlist.h>
#include <linux/mutex.h>
#include <linux/usb.h>
/*----------------------------------------------------------... | gpl-2.0 |
brunotl/kernel-kobo-mx50-ntx | drivers/mxc/ipu3/ipu_calc_stripes_sizes.c | 15 | 11541 | /*
* Copyright 2009-2011 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-li... | gpl-2.0 |
adafruit/adafruit-raspberrypi-linux | fs/ext4/namei.c | 15 | 103439 | /*
* linux/fs/ext4/namei.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/namei.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Big-endian to little-endian... | gpl-2.0 |
Darthye/OverEmu | dep/acelite/ace/OS_NS_sys_utsname.cpp | 271 | 8514 | // $Id: OS_NS_sys_utsname.cpp 93543 2011-03-14 08:25:46Z johnnyw $
#include "ace/OS_NS_sys_utsname.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_unistd.h"
#if defined (ACE_VXWORKS) && defined (ACE_LACKS_UNAME)
// for sysBspRev(), sysModel()
# include /**/ <sysLib.h>
// for kernelV... | gpl-2.0 |
p500-ics-cm9/Franco-ICS-Kernel | drivers/video/msm/lcdc_external.c | 271 | 1597 | /* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | gpl-2.0 |
davidevinavil/kernel_s500_cm10 | sound/soc/msm/mdm9615.c | 271 | 64113 | /* Copyright (c) 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.
*
* This program is distributed in the hope th... | gpl-2.0 |
gbraad/linux-meego-panda | arch/arm/mach-omap2/sdrc2xxx.c | 1039 | 4290 | /*
* linux/arch/arm/mach-omap2/sdrc2xxx.c
*
* SDRAM timing related functions for OMAP2xxx
*
* Copyright (C) 2005, 2008 Texas Instruments Inc.
* Copyright (C) 2005, 2008 Nokia Corporation
*
* Tony Lindgren <tony@atomide.com>
* Paul Walmsley
* Richard Woodruff <r-woodruff2@ti.com>
*
* This program is free sof... | gpl-2.0 |
ntb-ch/linux | sound/drivers/vx/vx_pcm.c | 1551 | 33729 | /*
* Driver for Digigram VX soundcards
*
* PCM part
*
* Copyright (c) 2002,2003 by Takashi Iwai <tiwai@suse.de>
*
* 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 ... | gpl-2.0 |
ziozzang/linux | sound/drivers/vx/vx_pcm.c | 1551 | 33729 | /*
* Driver for Digigram VX soundcards
*
* PCM part
*
* Copyright (c) 2002,2003 by Takashi Iwai <tiwai@suse.de>
*
* 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 ... | gpl-2.0 |
eousphoros/android_kernel_samsung_noblelte | fs/udf/dir.c | 2063 | 5484 | /*
* dir.c
*
* PURPOSE
* Directory handling routines for the OSTA-UDF(tm) filesystem.
*
* COPYRIGHT
* This file is distributed under the terms of the GNU General Public
* License (GPL). Copies of the GPL can be obtained from:
* ftp://prep.ai.mit.edu/pub/gnu/GPL
* Each contributing author retains all rights ... | gpl-2.0 |
jcadduono/android_kernel_oneplus_msm8996 | arch/ia64/hp/common/aml_nfw.c | 2319 | 5560 | /*
* OpRegion handler to allow AML to call native firmware
*
* (c) Copyright 2007 Hewlett-Packard Development Company, L.P.
* Bjorn Helgaas <bjorn.helgaas@hp.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
* publis... | gpl-2.0 |
jamison904/T999_minimum_kernel | arch/powerpc/platforms/cell/beat_interrupt.c | 2831 | 6882 | /*
* Celleb/Beat Interrupt controller
*
* (C) Copyright 2006-2007 TOSHIBA 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 License, or
* (at your opt... | gpl-2.0 |
CyanideL/android_kernel_samsung_jf | drivers/staging/iio/meter/ade7854.c | 5135 | 15773 | /*
* ADE7854/58/68/78 Polyphase Multifunction Energy Metering IC Driver
*
* Copyright 2010 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/kernel.h>
#inclu... | gpl-2.0 |
HighwindONE/Kernel_GoldStar | drivers/net/ethernet/smsc/smc91c92_cs.c | 5135 | 60215 | /*======================================================================
A PCMCIA ethernet driver for SMC91c92-based cards.
This driver supports Megahertz PCMCIA ethernet cards; and
Megahertz, Motorola, Ositech, and Psion Dacom ethernet/modem
multifunction cards.
Copyright (C) 1999 David A. Hinds... | gpl-2.0 |
AOSPA-legacy/android_kernel_oppo_n1 | drivers/staging/rtl8192u/ieee80211/proc.c | 9487 | 2766 | /*
* Scatterlist Cryptographic API.
*
* Procfs information.
*
* Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
*
* 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 versi... | gpl-2.0 |
jasonpritchard/linux-imx | drivers/usb/storage/debug.c | 10255 | 7221 | /* Driver for USB Mass Storage compliant devices
* Debugging Functions Source Code File
*
* Current development and maintenance by:
* (c) 1999-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
*
* Developed with the assistance of:
* (c) 2002 Alan Stern <stern@rowland.org>
*
* Initial work by:
* (c) 199... | gpl-2.0 |
KylinUI/android_kernel_sony_apq8064 | arch/sh/mm/kmap.c | 11791 | 1664 | /*
* arch/sh/mm/kmap.c
*
* Copyright (C) 1999, 2000, 2002 Niibe Yutaka
* Copyright (C) 2002 - 2009 Paul Mundt
*
* Released under the terms of the GNU GPL v2.0.
*/
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/fs.h>
#include <linux/highmem.h>
#include <linux/module.h>
#i... | gpl-2.0 |
Altaf-Mahdi/mako-kernel-old | drivers/scsi/sr_vendor.c | 12047 | 8619 | /* -*-linux-c-*-
* vendor-specific code for SCSI CD-ROM's goes here.
*
* This is needed becauce most of the new features (multisession and
* the like) are too new to be included into the SCSI-II standard (to
* be exact: there is'nt anything in my draft copy).
*
* Aug 1997: Ha! Got a SCSI-3 cdrom spec across my ... | gpl-2.0 |
proximo256/kernel_samsung_exynos7420 | scripts/mod/mk_elfconfig.c | 12047 | 1234 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <elf.h>
int
main(int argc, char **argv)
{
unsigned char ei[EI_NIDENT];
union { short s; char c[2]; } endian_test;
if (fread(ei, 1, EI_NIDENT, stdin) != EI_NIDENT) {
fprintf(stderr, "Error: input truncated\n");
return 1;
}
if (memcmp(ei, ELFM... | gpl-2.0 |
mrksbrd/android_kernel_lge_z | net/bridge/netfilter/ebt_802_3.c | 13583 | 1727 | /*
* 802_3
*
* Author:
* Chris Vitale csv@bluetail.com
*
* May 2003
*
*/
#include <linux/module.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bridge/ebt_802_3.h>
static bool
ebt_802_3_mt(const struct sk_buff *skb, struct xt_action_param *par)
{
... | gpl-2.0 |
mostafa-z/gabriel5v6 | arch/powerpc/boot/redboot-83xx.c | 14095 | 1446 | /*
* RedBoot firmware support
*
* Author: Scott Wood <scottwood@freescale.com>
*
* Copyright (c) 2007 Freescale Semiconductor, Inc.
* Copyright (c) 2008 Codehermit
*
* 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 publis... | gpl-2.0 |
iPodLinux/linux-2.4.32-ipod | drivers/char/fetchop.c | 16 | 13278 | /*
* SN Platform FetchOp Support
*
* This driver exports the SN fetchop facility to user processes.
* Fetchops are atomic memory operations that are implemented in the
* memory controller on SGI SN hardware.
*/
/*
* Copyright (C) 1999,2001-2003 Silicon Graphics, Inc. All rights
* reserved.
*
* This program i... | gpl-2.0 |
longsleep/u-boot-odroidc | common/hush.c | 16 | 94300 | /*
* sh.c -- a prototype Bourne shell grammar parser
* Intended to follow the original Thompson and Ritchie
* "small and simple is beautiful" philosophy, which
* incidentally is a good match to today's BusyBox.
*
* Copyright (C) 2000,2001 Larry Doolittle <larry@doolittle.boa.org>
*
* Credits:
... | gpl-2.0 |
vvavrychuk/glibc | stdlib/erand48_r.c | 16 | 1663 | /* Copyright (C) 1995-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
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 ... | gpl-2.0 |
sloanyang/raspberrry2v8 | deps/libcxx/test/thread/futures/futures.unique_future/move_ctor.pass.cpp | 16 | 1694 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | gpl-2.0 |
FFTEAM/test-neutrino-mp-cst-next-max | src/eitd/debug.cpp | 16 | 1528 | /*
* debug.cpp, Debug tools (sectionsd) - d-box2 linux project
*
* (C) 2003 by thegoodguy <thegoodguy@berlios.de>
*
* Copyright (C) 2011-2012 CoolStream International Ltd
*
* License: GPLv2
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public ... | gpl-2.0 |
gentoo/systemd-old | src/libsystemd/sd-bus/test-bus-kernel-bloom.c | 16 | 5014 | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2013 Lennart Poettering
systemd 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... | gpl-2.0 |
vtsingaras/hurd-glibc | sysdeps/i386/fpu/feenablxcpt.c | 16 | 1630 | /* Enable floating-point exceptions.
Copyright (C) 1999-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Pub... | gpl-2.0 |
pboehm/minidlna | inotify.c | 16 | 18997 | /* MiniDLNA media server
* Copyright (C) 2008-2010 Justin Maggard
*
* This file is part of MiniDLNA.
*
* MiniDLNA 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.
*
* MiniDLNA is distributed... | gpl-2.0 |
nutsboard/linux-am335x | fs/ocfs2/ioctl.c | 528 | 23159 | /*
* linux/fs/ocfs2/ioctl.c
*
* Copyright (C) 2006 Herbert Poetzl
* adapted from Remy Card's ext2/ioctl.c
*/
#include <linux/fs.h>
#include <linux/mount.h>
#include <linux/blkdev.h>
#include <linux/compat.h>
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "alloc.h"
#include "dlmglue.h"
#include "file.h... | gpl-2.0 |
AOSPA-MARVEL/android_kernel_lge_msm7x27-3.0.x | drivers/net/wireless/iwlwifi/iwl-debugfs.c | 2320 | 90175 | /******************************************************************************
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License... | gpl-2.0 |
sadven/Meisie-Kernel | drivers/leds/leds-adp5520.c | 2320 | 5468 | /*
* LEDs driver for Analog Devices ADP5520/ADP5501 MFD PMICs
*
* Copyright 2009 Analog Devices Inc.
*
* Loosely derived from leds-da903x:
* Copyright (C) 2008 Compulab, Ltd.
* Mike Rapoport <mike@compulab.co.il>
*
* Copyright (C) 2006-2008 Marvell International Ltd.
* Eric Miao <eric.miao@marvell.com>
*
* ... | gpl-2.0 |
MoKee/android_kernel_cyanogen_msm8916-amss | drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c | 2832 | 11737 | /*
* BCM47XX NAND flash driver
*
* Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#include "bcm47xxnflash.h"
#inc... | gpl-2.0 |
AndroidGX/LiteGX-JB-4.3 | drivers/macintosh/smu.c | 3088 | 31499 | /*
* PowerMac G5 SMU driver
*
* Copyright 2004 J. Mayer <l_indien@magic.fr>
* Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
*
* Released under the term of the GNU GPL v2.
*/
/*
* TODO:
* - maybe add timeout to commands ?
* - blocking version of time functions
* - polling version of i2c commands (inclu... | gpl-2.0 |
MinoochX/i9500-mxk | arch/x86/kvm/mmu.c | 3856 | 98368 | /*
* Kernel-based Virtual Machine driver for Linux
*
* This module enables machines with Intel VT-x extensions to run virtual
* machines without emulation or binary translation.
*
* MMU support
*
* Copyright (C) 2006 Qumranet, Inc.
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* Authors:
* Yaniv... | gpl-2.0 |
rudij7/android_kernel_oneplus_one | drivers/net/wan/pc300_tty.c | 5136 | 29012 | /*
* pc300_tty.c Cyclades-PC300(tm) TTY Driver.
*
* Author: Regina Kodato <reginak@cyclades.com>
*
* Copyright: (c) 1999-2002 Cyclades Corp.
*
* 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 Foun... | gpl-2.0 |
sndnvaps/android_kernel_lge_hammerhead | sound/pci/ice1712/juli.c | 9232 | 20286 | /*
* ALSA driver for ICEnsemble VT1724 (Envy24HT)
*
* Lowlevel functions for ESI Juli@ cards
*
* Copyright (c) 2004 Jaroslav Kysela <perex@perex.cz>
* 2008 Pavel Hofman <dustin@seznam.cz>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of t... | gpl-2.0 |
deadman96385/Deathly_Kernel_D2 | drivers/video/matrox/matroxfb_crtc2.c | 9744 | 20380 | /*
*
* Hardware accelerated Matrox Millennium I, II, Mystique, G100, G200, G400 and G450.
*
* (c) 1998-2002 Petr Vandrovec <vandrove@vc.cvut.cz>
*
* Portions Copyright (c) 2001 Matrox Graphics Inc.
*
* Version: 1.65 2002/08/14
*
*/
#include "matroxfb_maven.h"
#include "matroxfb_crtc2.h"
#include "matroxfb_mi... | gpl-2.0 |
DESHONOR/android_kernel_huawei_msm8916 | drivers/uwb/i1480/dfu/phy.c | 14608 | 6445 | /*
* Intel Wireless UWB Link 1480
* PHY parameters upload
*
* Copyright (C) 2005-2006 Intel Corporation
* Inaky Perez-Gonzalez <inaky.perez-gonzalez@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 publishe... | gpl-2.0 |
choco81/x10_.32_kernel | drivers/input/touchscreen/tsc2007.c | 17 | 10833 | /*
* drivers/input/touchscreen/tsc2007.c
*
* Copyright (c) 2008 MtekVision Co., Ltd.
* Kwangwoo Lee <kwlee@mtekvision.com>
*
* Using code from:
* - ads7846.c
* Copyright (c) 2005 David Brownell
* Copyright (c) 2006 Nokia Corporation
* - corgi_ts.c
* Copyright (C) 2004-2005 Richard Purdie
* - omap_ts.[hc]... | gpl-2.0 |
mj10777/QGIS | tests/src/providers/testqgswmsprovider.cpp | 17 | 4161 | /***************************************************************************
testqgswmsprovider.cpp
---------------------
begin : May 2016
copyright : (C) 2016 by Patrick Valsecchi
email : patrick dot valsecchi at camptocamp dot com
*************************... | gpl-2.0 |
wbear2/OpenJdk7 | hotspot/src/share/vm/c1/c1_Canonicalizer.cpp | 17 | 34625 | /*
* Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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 ... | gpl-2.0 |
elettronicagf/kernel-am335x | arch/arm/mach-davinci/devices.c | 17 | 8351 | /*
* mach-davinci/devices.c
*
* DaVinci platform device setup/initialization
*
* 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 ... | gpl-2.0 |
michabs/linux-imx6-3.14 | drivers/gpu/drm/drm_crtc_helper.c | 17 | 32972 | /*
* Copyright (c) 2006-2008 Intel Corporation
* Copyright (c) 2007 Dave Airlie <airlied@linux.ie>
*
* DRM core CRTC related functions
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyrigh... | gpl-2.0 |
codythecoder/lmms | plugins/LadspaEffect/swh/satan_maximiser_1408.c | 17 | 10086 | #include <stdlib.h>
#include <string.h>
#ifndef WIN32
#include "config.h"
#endif
#ifdef ENABLE_NLS
#include <libintl.h>
#endif
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1
#define __USE_ISOC9X 1
#include <math.h>
#include "ladspa.h"
#ifdef WIN32
#... | gpl-2.0 |
vmcpherson/linux | drivers/hv/hv_fcopy.c | 529 | 11033 | /*
* An implementation of file copy service.
*
* Copyright (C) 2014, Microsoft, Inc.
*
* Author : K. Y. Srinivasan <ksrinivasan@novell.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Softwa... | gpl-2.0 |
fbocharov/au-linux-kernel-spring-2016 | linux/security/selinux/nlmsgtab.c | 785 | 7378 | /*
* Netlink message type permission tables, for user generated messages.
*
* Author: James Morris <jmorris@redhat.com>
*
* Copyright (C) 2004 Red Hat, Inc., James Morris <jmorris@redhat.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public ... | gpl-2.0 |
zeferot/test | drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c | 1297 | 10272 | /*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2013 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
ver... | gpl-2.0 |
PhilZ-cwm6/android_kernel_htc_vigor | drivers/mtd/ubi/wl.c | 1553 | 45901 | /*
* Copyright (c) International Business Machines Corp., 2006
*
* 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.
... | gpl-2.0 |
tweezy23/kernel-msm | arch/arm/mach-msm/pil-q6v5.c | 1809 | 8656 | /*
* Copyright (c) 2012-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 ... | gpl-2.0 |
StarKissed/starkissed-kernel-ardbeg | net/dccp/probe.c | 2321 | 5047 | /*
* dccp_probe - Observe the DCCP flow with kprobes.
*
* The idea for this came from Werner Almesberger's umlsim
* Copyright (C) 2004, Stephen Hemminger <shemminger@osdl.org>
*
* Modified for DCCP from Stephen Hemminger's code
* Copyright (C) 2006, Ian McDonald <ian.mcdonald@jandi.co.nz>
*
* This program is f... | gpl-2.0 |
yu-validus/kernel_cyanogen_msm8916 | drivers/leds/leds-lp3944.c | 2321 | 11146 | /*
* leds-lp3944.c - driver for National Semiconductor LP3944 Funlight Chip
*
* Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it>
*
* 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 Softwar... | gpl-2.0 |
El-Nath/bidji-find5 | arch/mips/bcm47xx/gpio.c | 4881 | 2516 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2007 Aurelien Jarno <aurelien@aurel32.net>
*/
#include <linux/export.h>
#include <linux/ssb/ssb.h>
#include <linux/ssb/ssb... | gpl-2.0 |
farchanrifai/lineage | arch/arm/mach-vt8500/devices-wm8505.c | 7953 | 2955 | /* linux/arch/arm/mach-vt8500/devices-wm8505.c
*
* Copyright (C) 2010 Alexey Charkov <alchark@gmail.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
... | gpl-2.0 |
jeboo/zte_a2017U_B27 | drivers/net/wireless/rtlwifi/rtl8192de/led.c | 9489 | 4571 | /******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... | gpl-2.0 |
Michael-Pizzileo/lichee-3.0.8-leaked | drivers/scsi/aic7xxx/aic79xx_osm_pci.c | 11281 | 10619 | /*
* Linux driver attachment glue for PCI based U320 controllers.
*
* Copyright (c) 2000-2001 Adaptec Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source... | gpl-2.0 |
MrHyde03/android_kernel_samsung_espressovzw | arch/powerpc/boot/bamboo.c | 14097 | 1219 | /*
* Copyright IBM Corporation, 2007
* Josh Boyer <jwboyer@linux.vnet.ibm.com>
*
* Based on ebony wrapper:
* Copyright 2007 David Gibson, IBM Corporation.
*
* Clocking code based on code by:
* Stefan Roese <sr@denx.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the te... | gpl-2.0 |
darth-llamah/kernel-caanoo | net/core/request_sock.c | 18 | 3731 | /*
* NET Generic infrastructure for Network protocols.
*
* Authors: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
*
* From code originally in include/net/tcp.h
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | gpl-2.0 |
Tomasen/SPlayer | src/subpic/MemSubPic.cpp | 18 | 14942 | /*
* Copyright (C) 2003-2006 Gabest
* http://www.gabest.org
*
* 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 (at your option)
* any later version.
* ... | gpl-2.0 |
ssilverm/stella-sdl-pi | src/libpng/pngrtran.c | 18 | 167889 |
/* pngrtran.c - transforms the data in a row for PNG readers
*
* Last changed in libpng 1.6.11 [June 12, 2014]
* Copyright (c) 1998-2014 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is rel... | gpl-2.0 |
mlongob/Linux-Kernel-Hack | kernel/padata.c | 274 | 28205 | /*
* padata.c - generic interface to process data streams in parallel
*
* Copyright (C) 2008, 2009 secunet Security Networks AG
* Copyright (C) 2008, 2009 Steffen Klassert <steffen.klassert@secunet.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions o... | gpl-2.0 |
onealtom/MYD-J335X-Linux-Kernel | arch/x86/kernel/amd_gart_64.c | 274 | 22769 | /*
* Dynamic DMA mapping support for AMD Hammer.
*
* Use the integrated AGP GART in the Hammer northbridge as an IOMMU for PCI.
* This allows to use PCI devices that only support 32bit addresses on systems
* with more than 4GB.
*
* See Documentation/DMA-API-HOWTO.txt for the interface specification.
*
* Copyri... | gpl-2.0 |
fards/hannspree_Oem_2.6.32.9- | drivers/watchdog/sb_wdog.c | 530 | 8689 | /*
* Watchdog driver for SiByte SB1 SoCs
*
* Copyright (C) 2007 OnStor, Inc. * Andrew Sharp <andy.sharp@onstor.com>
*
* This driver is intended to make the second of two hardware watchdogs
* on the Sibyte 12XX and 11XX SoCs available to the user. There are two
* such devices available on the SoC, but it seems t... | gpl-2.0 |
m4mbr3/RTOS_kernel | net/mac80211/rc80211_pid_debugfs.c | 530 | 5978 | /*
* Copyright 2007, Mattias Nissler <mattias.nissler@gmx.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/sched.h>
#include <linux/spinlock.h>
#include ... | gpl-2.0 |
apascual89/android_kernel_oneplus_msm8996-1 | net/core/gen_estimator.c | 786 | 8972 | /*
* net/sched/gen_estimator.c Simple rate estimator.
*
* 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.
*
* ... | gpl-2.0 |
rjwysocki/linux-pm | drivers/tty/moxa.c | 1298 | 53736 | /*****************************************************************************/
/*
* moxa.c -- MOXA Intellio family multiport serial driver.
*
* Copyright (C) 1999-2000 Moxa Technologies (support@moxa.com).
* Copyright (c) 2007 Jiri Slaby <jirislaby@gmail.com>
*
* This code is loosely b... | gpl-2.0 |
alexax66/KK_kernel_serranove3g | drivers/tty/ipwireless/tty.c | 2322 | 14504 | /*
* IPWireless 3G PCMCIA Network Driver
*
* Original code
* by Stephen Blackheath <stephen@blacksapphire.com>,
* Ben Martel <benm@symmetric.co.nz>
*
* Copyrighted as follows:
* Copyright (C) 2004 by Symmetric Systems Ltd (NZ)
*
* Various driver changes and rewrites, port to new kernels
* Copyrigh... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.