repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
advx9600/kernel-4.4-RuiEr | security/selinux/ss/hashtab.c | 12560 | 2990 | /*
* Implementation of the hash table type.
*
* Author : Stephen Smalley, <sds@epoch.ncsc.mil>
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include "hashtab.h"
struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
int (*keycmp)(struct hash... | gpl-2.0 |
pierdebeer/AudaxPlus_M_Kernel | drivers/net/wireless/bcmdhd4359/dhd_pcie_linux.c | 17 | 40449 | /*
* Linux DHD Bus Module for PCIE
*
* Copyright (C) 1999-2015, 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 "GPL")... | gpl-2.0 |
OtherCrashOverride/linux | block/elevator.c | 17 | 25136 | /*
* Block device elevator/IO-scheduler.
*
* Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
*
* 30042000 Jens Axboe <axboe@kernel.dk> :
*
* Split the elevator a bit so that it is possible to choose a different
* one or even write a new "plug in". There are three pieces:
* - elevator_fn, inserts a ... | gpl-2.0 |
jomeister15/SGH-I727-kernel | drivers/usb/function/msm_hsusb.c | 17 | 94688 | /* drivers/usb/function/msm_hsusb.c
*
* Driver for HighSpeed USB Client Controller in MSM7K
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
* Author: Brian Swetland <swetland@google.com>
*
* This software is licensed under the terms of the GNU General Publi... | gpl-2.0 |
krizky82/semc-kernel-msm7x30-ics | drivers/usb/class/cdc-acm.c | 17 | 48916 | /*
* cdc-acm.c
*
* Copyright (c) 1999 Armin Fuerst <fuerst@in.tum.de>
* Copyright (c) 1999 Pavel Machek <pavel@suse.cz>
* Copyright (c) 1999 Johannes Erdfelt <johannes@erdfelt.com>
* Copyright (c) 2000 Vojtech Pavlik <vojtech@suse.cz>
* Copyright (c) 2004 Oliver Neukum <oliver@neukum.name>
* Copyright (c) 2005 ... | gpl-2.0 |
kartzan/android_kernel_samsung_msm8930-common | net/wireless/sme.c | 785 | 27070 | /*
* SME code for cfg80211's connect emulation.
*
* Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
* Copyright (C) 2009 Intel Corporation. All rights reserved.
*/
#include <linux/etherdevice.h>
#include <linux/if_arp.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/wireless.h>
#... | gpl-2.0 |
tanxjian/gec2440-linux | drivers/isdn/hisax/gazel.c | 785 | 16260 | /* $Id: gazel.c,v 2.19.2.4 2004/01/14 16:04:48 keil 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 Publ... | gpl-2.0 |
andr7e/rk3188_tablet_jb | kernel/drivers/mtd/mtdchar.c | 1041 | 26769 | /*
* Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.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 of the License, or
* (at your option) any later version.... | gpl-2.0 |
mfornero/linux | drivers/media/platform/davinci/dm644x_ccdc.c | 1041 | 31079 | /*
* Copyright (C) 2006-2009 Texas Instruments 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 pr... | gpl-2.0 |
TheJJ/linux | drivers/tty/serial/sccnxp.c | 1297 | 26334 | /*
* NXP (Philips) SCC+++(SCN+++) serial driver
*
* Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru>
*
* Based on sc26xx.c, by Thomas Bogendörfer (tsbogend@alpha.franken.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | gpl-2.0 |
Drgravy/g3stock | drivers/input/misc/lis3dh_acc.c | 1809 | 40271 | /******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
*
* File Name : lis3dh_acc.c
* Authors : MSH - Motion Mems BU - Application Team
* : Matteo Dameno (matteo.dameno@st.com)
* : Carmine Iascone (carmine.iascone@st.com)
* : Samuel Hu... | gpl-2.0 |
kornyone/htc-kernel-doubleshot_old | init/noinitramfs.c | 1809 | 1426 | /*
* init/noinitramfs.c
*
* Copyright (C) 2006, NXP Semiconductors, All Rights Reserved
* Author: Jean-Paul Saman <jean-paul.saman@nxp.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 Foundati... | gpl-2.0 |
kirananto/android_kernel_motorola_msm8916 | drivers/s390/scsi/zfcp_cfdc.c | 2321 | 12479 | /*
* zfcp device driver
*
* Userspace interface for accessing the
* Access Control Lists / Control File Data Channel;
* handling of response code and states for ports and LUNs.
*
* Copyright IBM Corp. 2008, 2010
*/
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/compa... | gpl-2.0 |
YAOSP/kernel_huawei_angler | drivers/regulator/max8907-regulator.c | 2321 | 11297 | /*
* max8907-regulator.c -- support regulators in max8907
*
* Copyright (C) 2010 Gyungoh Yoo <jack.yoo@maxim-ic.com>
* Copyright (C) 2010-2012, NVIDIA CORPORATION. All rights reserved.
*
* Portions based on drivers/regulator/tps65910-regulator.c,
* Copyright 2010 Texas Instruments Inc.
* Author: Graeme ... | gpl-2.0 |
eugene373/ApexqJB | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 2321 | 45146 | /*
* Copyright (c) 2010-2011 Atheros Communications 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 notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | gpl-2.0 |
visi0nary/android_kernel_alps_k05ts_a | 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 |
NoelMacwan/Kernel-Honami-14.1.N.0.52 | drivers/staging/iio/Documentation/iio_event_monitor.c | 4881 | 5546 | /* Industrialio event test code.
*
* Copyright (c) 2011-2012 Lars-Peter Clausen <lars@metafoo.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.
*
* This program is primaril... | gpl-2.0 |
Butterfly-CM/android_kernel_htc_dlxub1 | drivers/net/ethernet/amd/nmclan_cs.c | 5137 | 45839 | /* ----------------------------------------------------------------------------
Linux PCMCIA ethernet adapter driver for the New Media Ethernet LAN.
nmclan_cs.c,v 0.16 1995/07/01 06:42:17 rpao Exp rpao
The Ethernet LAN uses the Advanced Micro Devices (AMD) Am79C940 Media
Access Controller for Ethernet (MACE). I... | gpl-2.0 |
geggio84/kernel-beaglebone | 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 |
jamison904/Galaxy_Note_3 | drivers/uwb/i1480/i1480-est.c | 13073 | 3167 | /*
* Intel Wireless UWB Link 1480
* Event Size tables for Wired Adaptors
*
* 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
... | gpl-2.0 |
hoxton22/CriseHearth | src/server/scripts/Commands/cs_ban.cpp | 18 | 29534 | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.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 of the License, or (at your
* option) any later ve... | gpl-2.0 |
eliastor/rt-thread | bsp/lm4f232/Libraries/driverlib/i2s.c | 18 | 40475 | //*****************************************************************************
//
// i2s.c - Driver for the I2S controller.
//
// Copyright (c) 2008-2011 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use solely an... | gpl-2.0 |
mirror3000/jedi-outcast | code/ff/ff_HandleTable.cpp | 18 | 2737 | #include "common_headers.h"
#ifdef _IMMERSION
////----------------------
/// FFHandleTable::Convert
//--------------------------
//
//
ffHandle_t FFHandleTable::Convert( ChannelCompound &compound, const char *name, qboolean create )
{
ffHandle_t ff = FF_HANDLE_NULL;
// Reserve a handle for effects tha... | gpl-2.0 |
Nedj/CG-Blizzlike | src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp | 18 | 51575 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.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 ... | gpl-2.0 |
tangyiyong/collectd | src/amqp.c | 18 | 35401 | /**
* collectd - src/amqp.c
* Copyright (C) 2009 Sebastien Pahl
* Copyright (C) 2010-2012 Florian Forster
*
* 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, ... | gpl-2.0 |
houzhenggang/bcm63xx-next | net/netfilter/xt_hashlimit.c | 274 | 25307 | /*
* xt_hashlimit - Netfilter module to limit the number of packets per time
* separately for each hashbucket (sourceip/sourceport/dstip/dstport)
*
* (C) 2003-2004 by Harald Welte <laforge@netfilter.org>
* (C) 2006-2012 Patrick McHardy <kaber@trash.net>
* Copyright © CC Computer Consultants GmbH, 2007 - 2008
*
... | gpl-2.0 |
y10g/elini_kernel | drivers/ide/ide-disk.c | 530 | 19819 | /*
* Copyright (C) 1994-1998 Linus Torvalds & authors (see below)
* Copyright (C) 1998-2002 Linux ATA Development
* Andre Hedrick <andre@linux-ide.org>
* Copyright (C) 2003 Red Hat
* Copyright (C) 2003-2005, 2007 Bartlomiej Zolnierkiewicz
*/
/*
* Mostly written by Mark Lord <mlord@pobox... | gpl-2.0 |
jamesjjliao/linux | drivers/staging/lustre/lustre/llite/vvp_io.c | 530 | 34465 | /*
* 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... | gpl-2.0 |
OMAP4-AOSP/android_kernel_omap4_common | security/selinux/ss/conditional.c | 530 | 14837 | /* Authors: Karl MacMillan <kmacmillan@tresys.com>
* Frank Mayer <mayerf@tresys.com>
*
* Copyright (C) 2003 - 2004 Tresys Technology, LLC
* 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... | gpl-2.0 |
sysexits/cs530 | drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv04.c | 786 | 1923 | /*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | gpl-2.0 |
MAKO-MM/android_kernel_lge_mako | drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_trace.c | 1298 | 12366 | /*
* 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 |
vathpela/linux-esrt | arch/s390/crypto/sha1_s390.c | 1554 | 2813 | /*
* Cryptographic API.
*
* s390 implementation of the SHA1 Secure Hash Algorithm.
*
* Derived from cryptoapi implementation, adapted for in-place
* scatterlist interface. Originally based on the public domain
* implementation written by Steve Reid.
*
* s390 Version:
* Copyright IBM Corp. 2003, 2007
* A... | gpl-2.0 |
jiankangshiye/linux-2.6.32.63-mini2440 | drivers/scsi/aacraid/rkt.c | 1810 | 3069 | /*
* Adaptec AAC series RAID controller driver
* (c) Copyright 2001 Red Hat Inc.
*
* based on the old aacraid driver that is..
* Adaptec aacraid device driver for Linux.
*
* Copyright (c) 2000-2007 Adaptec, Inc. (aacraid@adaptec.com)
*
* This program is free software; you can redistribute it and/or modify
* i... | gpl-2.0 |
garwynn/L900_NE2_Kernel | drivers/net/wireless/libertas/ethtool.c | 2322 | 3255 | #include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/delay.h>
#include "decl.h"
#include "cmd.h"
static void lbs_ethtool_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info)
{
struct lbs_private *priv = dev->ml_priv;
snprintf(info->fw_version, 32, "%u.%u.%u.p%u",
priv->fwre... | gpl-2.0 |
os2sd/android_kernel_lge_msm7x27-3.0.x | arch/sparc/kernel/traps_64.c | 2834 | 76556 | /* arch/sparc64/kernel/traps.c
*
* Copyright (C) 1995,1997,2008,2009 David S. Miller (davem@davemloft.net)
* Copyright (C) 1997,1999,2000 Jakub Jelinek (jakub@redhat.com)
*/
/*
* I like traps on v9, :))))
*/
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/linkage.h>
#include <linux/kernel.h>
... | gpl-2.0 |
sunrunning/ok6410_linux | arch/powerpc/sysdev/fsl_85xx_cache_sram.c | 2834 | 4368 | /*
* Copyright 2009-2010 Freescale Semiconductor, Inc.
*
* Simple memory allocator abstraction for QorIQ (P1/P2) based Cache-SRAM
*
* Author: Vivek Mahajan <vivek.mahajan@freescale.com>
*
* This file is derived from the original work done
* by Sylvain Munaut for the Bestcomm SRAM allocator.
*
* This program i... | gpl-2.0 |
Krabappel2548/u8500_kernel_sources | sound/soc/au1x/psc-i2s.c | 3090 | 10669 | /*
* Au12x0/Au1550 PSC ALSA ASoC audio support.
*
* (c) 2007-2008 MSC Vertriebsges.m.b.H.,
* Manuel Lauss <manuel.lauss@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 Foundat... | gpl-2.0 |
Frank77GLD/android_kernel_YG_m805_892x | arch/powerpc/kernel/ptrace32.c | 3090 | 9353 | /*
* ptrace for 32-bit processes running on a 64-bit kernel.
*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* Derived from "arch/m68k/kernel/ptrace.c"
* Copyright (C) 1994 by Hamish Macdonald
* Taken from linux/kernel/ptrace.c and modified for M680x0.
* linux/kernel/ptra... | gpl-2.0 |
gundal/zerofltetmo | drivers/video/auo_k1901fb.c | 3090 | 6915 | /*
* auok190xfb.c -- FB driver for AUO-K1901 controllers
*
* Copyright (C) 2011, 2012 Heiko Stuebner <heiko@sntech.de>
*
* based on broadsheetfb.c
*
* Copyright (C) 2008, Jaya Kumar
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | gpl-2.0 |
SlimRoms/kernel_lge_msm7x27a-common | fs/btrfs/struct-funcs.c | 4882 | 5093 | /*
* Copyright (C) 2007 Oracle. 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 WITHO... | gpl-2.0 |
touchpro/android_kernel_lge_x5_old | drivers/net/ethernet/8390/pcnet_cs.c | 5138 | 61761 | /*======================================================================
A PCMCIA ethernet driver for NS8390-based cards
This driver supports the D-Link DE-650 and Linksys EthernetCard
cards, the newer D-Link and Linksys combo cards, Accton EN2212
cards, the RPTI EP400, and the PreMax PE-200 in non-sh... | gpl-2.0 |
SlimRoms/kernel_oneplus_msm8974 | drivers/mtd/maps/solutionengine.c | 5138 | 3079 | /*
* Flash and EPROM on Hitachi Solution Engine and similar boards.
*
* (C) 2001 Red Hat, Inc.
*
* GPL'd
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions... | gpl-2.0 |
Adrioid83/jflte_xxx | net/sunrpc/auth.c | 5394 | 16286 | /*
* linux/net/sunrpc/auth.c
*
* Generic RPC client authentication API.
*
* Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
*/
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/hash.h>
#include <linux/sunrpc/clnt.h>
#in... | gpl-2.0 |
maqiangddb/Android_kernel | arch/arm/mach-vt8500/timer.c | 7954 | 4609 | /*
* arch/arm/mach-vt8500/timer.c
*
* Copyright (C) 2010 Alexey Charkov <alchark@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at ... | gpl-2.0 |
Snuzzo/B14CKB1RD_kernel_m8 | drivers/staging/usbip/userspace/src/usbip.c | 7954 | 4057 | /*
* command structure borrowed from udev
* (git://git.kernel.org/pub/scm/linux/hotplug/udev.git)
*
* Copyright (C) 2011 matt mooney <mfm@muteddisk.com>
* 2005-2007 Takahiro Hirofuchi
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General P... | gpl-2.0 |
Phoenix-Silver/Zte-Blade-New-35-kernel | drivers/mtd/maps/map_funcs.c | 14866 | 1078 | /*
* Out-of-line map I/O functions for simple maps when CONFIG_COMPLEX_MAPPINGS
* is enabled.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mtd/map.h>
#include <linux/mtd/xip.h>
static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs)
{
return inline_map_read(map... | gpl-2.0 |
wdv4758h/glibc | sysdeps/unix/sysv/linux/sigpending.c | 19 | 1122 | /* Copyright (C) 1997-2015 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 ... | gpl-2.0 |
omnirom/android_kernel_samsung_jf | kernel/futex.c | 19 | 77118 | /*
* 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 |
daanhettema/ccv-hand | CCV-HAND_Windows/addons/ofxVectorMath/src/ofxVec2f.cpp | 19 | 6856 | #include "ofxVec2f.h"
ofxVec2f::ofxVec2f( float _x, float _y ) {
x = _x;
y = _y;
}
ofxVec2f::ofxVec2f( const ofPoint& pnt ) {
x = pnt.x;
y = pnt.y;
}
// Getters and Setters.
//
//
void ofxVec2f::set( float _x, float _y ) {
x = _x;
y = _y;
}
void ofxVec2f::set( const ofPoint& vec ) {
x = vec.x;
y = vec.y;... | gpl-2.0 |
aktau/pcsx2 | plugins/CDVDnull/CDVD.cpp | 19 | 2284 | /* CDVDnull
* Copyright (C) 2002-2010 PCSX2 Dev Team
*
* PCSX2 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 Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* ... | gpl-2.0 |
VincentS/glibc | sysdeps/unix/sysv/linux/utimensat.c | 19 | 1505 | /* Change access and modification times of open file. Linux version.
Copyright (C) 2007-2015 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 pu... | gpl-2.0 |
techno/gcc-mist32 | gcc/targhooks.c | 19 | 48436 | /* Default target hook functions.
Copyright (C) 2003-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 version 3, or (at your option) any... | gpl-2.0 |
jwakely/gcc | gcc/testsuite/gfortran.dg/unlimited_polymorphic_20.f90 | 19 | 2396 | ! { dg-do run }
!
! Testing fix for PR fortran/60255
!
! Author: Andre Vehreschild <vehre@gmx.de>
!
MODULE m
contains
subroutine bar (arg, res)
class(*) :: arg
character(100) :: res
select type (w => arg)
type is (character(*))
write (res, '(I2)') len(w)
end select
end subroutine
END... | gpl-2.0 |
imoseyon/leanKernel-d2usc-deprecated | drivers/net/macvlan.c | 531 | 21841 | /*
* Copyright (c) 2007 Patrick McHardy <kaber@trash.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) any later version.
*
* ... | gpl-2.0 |
xdje42/gdb | libiberty/clock.c | 531 | 2622 | /* ANSI-compatible clock function.
Copyright (C) 1994, 1995, 1999 Free Software Foundation, Inc.
This file is part of the libiberty library. This library 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 |
aosm/gcc | libiberty/vsprintf.c | 531 | 1878 | /* Simple implementation of vsprintf for systems without it.
Highly system-dependent, but should work on most "traditional"
implementations of stdio; newer ones should already have vsprintf.
Written by Per Bothner of Cygnus Support.
Based on libg++'s "form" (written by Doug Lea; dl@rocky.oswego.edu).
Cop... | gpl-2.0 |
060411121/zcl_linux | drivers/acpi/sbshc.c | 787 | 7733 | /*
* SMBus driver for ACPI Embedded Controller (v0.1)
*
* Copyright (c) 2007 Alexey Starikovskiy
*
* 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.
*/
#include <linux/acpi.h>
#... | gpl-2.0 |
joetang1989/linux-kernel4.2 | tools/thermal/tmon/tmon.c | 1299 | 9053 | /*
* tmon.c Thermal Monitor (TMON) main function and entry point
*
* Copyright (C) 2012 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 version
* 2 or later as published by the Free Software Fo... | gpl-2.0 |
lukego/linux | tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c | 1299 | 1517 | /*
* Copyright 2014, Michael Ellerman, IBM Corp.
* Licensed under GPLv2.
*/
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <setjmp.h>
#include <signal.h>
#include "ebb.h"
/*
* Test that a fork clears the P... | gpl-2.0 |
regalstreak/S7262-Kernel | fs/binfmt_misc.c | 1811 | 15557 | /*
* binfmt_misc.c
*
* Copyright (C) 1997 Richard Günther
*
* binfmt_misc detects binaries via a magic or filename extension and invokes
* a specified wrapper. This should obsolete binfmt_java, binfmt_em86 and
* binfmt_mz.
*
* 1997-04-25 first version
* [...]
* 1997-05-19 cleanup
* 1997-06-26 hpa: ... | gpl-2.0 |
ion-storm/nexusplayer | fs/gfs2/rgrp.c | 2067 | 64103 | /*
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
* Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public Licen... | gpl-2.0 |
nadavitay/linux-3.14.1 | drivers/mtd/ubi/misc.c | 2067 | 4594 | /*
* 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 |
GeyerA/kernel_shamu | drivers/leds/leds-da9052.c | 2323 | 5185 | /*
* LED Driver for Dialog DA9052 PMICs.
*
* Copyright(c) 2012 Dialog Semiconductor Ltd.
*
* Author: David Dajun Chen <dchen@diasemi.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 Fo... | gpl-2.0 |
faux123/HTC_Amaze_Kernel | drivers/net/wireless/libertas/tx.c | 2323 | 5441 | /*
* This file contains the handling of TX in wlan driver.
*/
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/sched.h>
#include <net/cfg80211.h>
#include "host.h"
#include "radiotap.h"
#include "decl.h"
#include "defs.h"
#include "dev.h"
/**
* convert_radiotap_rate_to_mv - converts Tx/R... | gpl-2.0 |
mihadyuk/wandboard-linux | fs/jffs2/compr_lzo.c | 3347 | 2326 | /*
* JFFS2 -- Journalling Flash File System, Version 2.
*
* Copyright © 2007 Nokia Corporation. All rights reserved.
* Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
*
* Created by Richard Purdie <rpurdie@openedhand.com>
*
* For licensing information, see the file 'LICENCE' in this directory.
*
*... | gpl-2.0 |
Kali-/android_kernel_sony_msm8960T | arch/x86/kernel/traps.c | 4115 | 19578 | /*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs
*
* Pentium III FXSR, SSE support
* Gareth Hughes <gareth@valinux.com>, May 2000
*/
/*
* Handle hardware traps and faults.
*/
#include <linux/interrupt.h>
#include <linux/kallsyms.h>
#include <linux/spinlock... | gpl-2.0 |
Megatron007/Megabyte_kernel_victara | drivers/mtd/maps/ixp2000.c | 5139 | 6143 | /*
* drivers/mtd/maps/ixp2000.c
*
* Mapping for the Intel XScale IXP2000 based systems
*
* Copyright (C) 2002 Intel Corp.
* Copyright (C) 2003-2004 MontaVista Software, Inc.
*
* Original Author: Naeem M Afzal <naeem.m.afzal@intel.com>
* Maintainer: Deepak Saxena <dsaxena@plexity.net>
*
* This program is free... | gpl-2.0 |
blaskewitts/android_kernel_samsung_klte | arch/mips/pci/pci-yosemite.c | 8723 | 1702 | /*
* 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) 2004 by Ralf Baechle (ralf@linux-mips.org)
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/types.h>
#i... | gpl-2.0 |
jomeister15/ICS-SGH-I727-kernel | drivers/scsi/bvme6000_scsi.c | 9235 | 3367 | /*
* Detection routine for the NCR53c710 based BVME6000 SCSI Controllers for Linux.
*
* Based on work by Alan Hourihane and Kars de Jong
*
* Rewritten to use 53c700.c by Richard Hirst <richard@sleepie.demon.co.uk>
*/
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/device.h>
#include <linux/pl... | gpl-2.0 |
sev3n85/samsung_s3ve3g_EUR | drivers/hid/hid-ezkey.c | 9747 | 2453 | /*
* HID driver for some ezkey "special" devices
*
* Copyright (c) 1999 Andreas Gal
* Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
* Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
* Copyright (c) 2006-2007 Jiri Kosina
* Copyright (c) 2007 Paul Walmsley
* Copyright... | gpl-2.0 |
utkanos/android_htc_mecha_kernel | drivers/pci/hotplug/cpqphp_nvram.c | 12563 | 13820 | /*
* Compaq Hot Plug Controller Driver
*
* Copyright (C) 1995,2001 Compaq Computer Corporation
* Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
* Copyright (C) 2001 IBM Corp.
*
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the G... | gpl-2.0 |
scotthartbti/samsung_kernel_d2att | drivers/parisc/wax.c | 14611 | 3227 | /*
* WAX Device Driver
*
* (c) Copyright 2000 The Puffin Group 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... | gpl-2.0 |
gdachs/linux | drivers/amlogic/wifi/rtl8811AU/hal/OUTSRC/rtl8812a/HalHWImg8812A_MAC.c | 20 | 8504 | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek 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 as
* published by the Free S... | gpl-2.0 |
holyangel/M8-GPE_M | drivers/platform/msm/avtimer.c | 20 | 14718 | /* Copyright (c) 2012-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 hope th... | gpl-2.0 |
dorapanda/qemu-2.0.0-with-fm3 | roms/ipxe/src/drivers/net/via-velocity.c | 20 | 54582 | /**************************************************************************
* via-velocity.c: Etherboot device driver for the VIA 6120 Gigabit
* Changes for Etherboot port:
* Copyright (c) 2006 by Timothy Legge <tlegge@rogers.com>
*
* This program is free software; you can redistribute it and/or modify
*... | gpl-2.0 |
allenloves/fmCalculator | JuceLibraryCode/modules/juce_audio_basics/midi/juce_MidiMessageSequence.cpp | 20 | 10325 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL... | gpl-2.0 |
david-visteon/uboot-imx | board/netstal/mcu25/mcu25.c | 20 | 5412 | /*
*(C) Copyright 2005-2008 Netstal Maschinen AG
* Niklaus Giger (Niklaus.Giger@netstal.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Software
* Foundation; eit... | gpl-2.0 |
hzhuang1/linux | arch/arm/mach-shmobile/timer.c | 276 | 2134 | /*
* SH-Mobile Timer
*
* Copyright (C) 2010 Magnus Damm
* Copyright (C) 2002 - 2009 Paul Mundt
*
* 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 pr... | gpl-2.0 |
JackWindows/OpenWRT-14.07-JS9331 | package/libs/libnl-tiny/src/error.c | 532 | 3538 | /*
* lib/error.c Error Handling
*
* This 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 version 2.1
* of the License.
*
* Copyright (c) 2008 Thomas Graf <tgraf@suug.ch>
*/
#include <n... | gpl-2.0 |
JPG-Consulting/linux | arch/arm/mach-pxa/devices.c | 532 | 24548 | #include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/spi/pxa2xx_spi.h>
#include <linux/i2c/pxa-i2c.h>
#include <mach/udc.h>
#include <linux/platform_data/usb-pxa3xx-ulpi.h>
#include <linux/platform_data/video-pxafb... | gpl-2.0 |
CyanogenMod/semc-kernel-msm7x30 | arch/powerpc/sysdev/of_rtc.c | 788 | 1573 | /*
* Instantiate mmio-mapped RTC chips based on device tree information
*
* Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM 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 Found... | gpl-2.0 |
treejames/android_kernel_htc_msm7x30 | drivers/media/video/pvrusb2/pvrusb2-ioread.c | 1556 | 12501 | /*
*
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License
*
* This program is distributed in the ho... | gpl-2.0 |
Clouded/linux-rt-rpi2 | arch/arm/mach-ixp4xx/omixp-setup.c | 2068 | 6342 | /*
* arch/arm/mach-ixp4xx/omixp-setup.c
*
* omicron ixp4xx board setup
* Copyright (C) 2009 OMICRON electronics GmbH
*
* based nslu2-setup.c, ixdp425-setup.c:
* Copyright (C) 2003-2004 MontaVista Software, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the t... | gpl-2.0 |
theophile/amazon_fire_kffowi_bonus_modules | security/apparmor/audit.c | 2324 | 4817 | /*
* AppArmor security module
*
* This file contains AppArmor auditing functions
*
* Copyright (C) 1998-2008 Novell/SUSE
* Copyright 2009-2010 Canonical Ltd.
*
* 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 Fr... | gpl-2.0 |
venue3x40-dev/android_kernel_dell_venue3x40 | drivers/media/common/siano/smsdvb-debugfs.c | 2580 | 17670 | /***********************************************************************
*
* Copyright(c) 2013 Mauro Carvalho Chehab <mchehab@redhat.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, ... | gpl-2.0 |
DSMKexec/kexec-kernel-g720n0 | drivers/hwmon/sht21.c | 2836 | 7475 | /* Sensirion SHT21 humidity and temperature sensor driver
*
* Copyright (C) 2010 Urs Fleisch <urs.fleisch@sensirion.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | gpl-2.0 |
sooorajjj/android_kernel_yu_msm8916-caf | drivers/staging/speakup/speakup_soft.c | 3092 | 9712 | /* speakup_soft.c - speakup driver to register and make available
* a user space device for software synthesizers. written by: Kirk
* Reiser <kirk@braille.uwo.ca>
*
* Copyright (C) 2003 Kirk Reiser.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General... | gpl-2.0 |
mythos234/SimplKernel-5.1.1 | lib/strnlen_user.c | 3092 | 3717 | #include <linux/kernel.h>
#include <linux/export.h>
#include <linux/uaccess.h>
#include <asm/word-at-a-time.h>
/* Set bits in the first 'n' bytes when loaded from memory */
#ifdef __LITTLE_ENDIAN
# define aligned_byte_mask(n) ((1ul << 8*(n))-1)
#else
# define aligned_byte_mask(n) (~0xfful << (BITS_PER_LONG - 8 - 8*... | gpl-2.0 |
bagnz0r/GT-I8160_Kernel | drivers/input/serio/rpckbd.c | 3092 | 3980 | /*
* Copyright (c) 2000-2001 Vojtech Pavlik
* Copyright (c) 2002 Russell King
*/
/*
* Acorn RiscPC PS/2 keyboard controller driver for Linux/ARM
*/
/*
* 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 Soft... | gpl-2.0 |
andi34/kernel_oneplus_msm8974 | arch/powerpc/kvm/book3s_hv.c | 4372 | 34728 | /*
* Copyright 2011 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com>
* Copyright (C) 2009. SUSE Linux Products GmbH. All rights reserved.
*
* Authors:
* Paul Mackerras <paulus@au1.ibm.com>
* Alexander Graf <agraf@suse.de>
* Kevin Wolf <mail@kevin-wolf.de>
*
* Description: KVM functions specific to runni... | gpl-2.0 |
nychitman1/android_kernel_samsung_manta | arch/microblaze/kernel/ftrace.c | 7700 | 6208 | /*
* Ftrace support for Microblaze.
*
* Copyright (C) 2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2009 PetaLogix
*
* Based on MIPS and PowerPC ftrace code
*
* 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 arch... | gpl-2.0 |
NikitaProAndroid/android_kernel_lge_msm8x26 | fs/nls/nls_iso8859-2.c | 12564 | 13181 | /*
* linux/fs/nls/nls_iso8859-2.c
*
* Charset iso8859-2 translation tables.
* Generated automatically from the Unicode and charset
* tables from the Unicode Organization (www.unicode.org).
* The Unicode to charset table has only exact mappings.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <li... | gpl-2.0 |
ouya/ouya_1_1-kernel | scripts/unifdef.c | 12564 | 35639 | /*
* Copyright (c) 2002 - 2011 Tony Finch <dot@dotat.at>
*
* 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, this list of conditions ... | gpl-2.0 |
tzanussi/linux-yocto-micro-3.17 | kernel/time/timeconv.c | 13844 | 3580 | /*
* Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
* This file is part of the GNU C Library.
* Contributed by Paul Eggert (eggert@twinsun.com).
*
* The GNU C Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License a... | gpl-2.0 |
elelinux/pyramid_kernel_aosp | drivers/usb/core/message.c | 21 | 60464 | /*
* message.c - synchronous message handling
*/
#include <linux/pci.h> /* for scatterlist macros */
#include <linux/usb.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/ctype.h>
#include <linux/nls.h>
#include <linux/device.h... | gpl-2.0 |
just-another-one-timmy/wireshark | epan/dissectors/packet-adb_cs.c | 21 | 18009 | /* packet-adb_cs.c
* Routines for Android Debug Bridge Client-Server Protocol
*
* Copyright 2014, Michal Labedzki for Tieto Corporation
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/... | gpl-2.0 |
Pascal-TK/Beagleboard-xM-Kernel | drivers/misc/sgi-gru/grufile.c | 21 | 11611 | /*
* SN Platform GRU Driver
*
* FILE OPERATIONS & DRIVER INITIALIZATION
*
* This file supports the user system call for file open, close, mmap, etc.
* This also incudes the driver initialization code.
*
* Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free s... | gpl-2.0 |
jwpi/glibc | sysdeps/sparc/sparc32/soft-fp/q_sqrt.c | 21 | 1246 | /* Software floating-point emulation.
Return sqrtl(a)
Copyright (C) 1997-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
The GNU C Library is free software; you can redistribute it an... | gpl-2.0 |
AndroidPrimou/android_kernel_htc_msm7x30 | drivers/video/msm/mdp_vsync.c | 21 | 11787 | /* Copyright (c) 2008-2009, 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 distribu... | gpl-2.0 |
bgat/linux-multi-v7 | arch/arm64/kernel/suspend.c | 21 | 4796 | #include <linux/ftrace.h>
#include <linux/percpu.h>
#include <linux/slab.h>
#include <asm/alternative.h>
#include <asm/cacheflush.h>
#include <asm/cpufeature.h>
#include <asm/debug-monitors.h>
#include <asm/pgtable.h>
#include <asm/memory.h>
#include <asm/mmu_context.h>
#include <asm/smp_plat.h>
#include <asm/suspend.h... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.