code
stringlengths
6
250k
repo_name
stringlengths
5
70
path
stringlengths
3
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
6
250k
/* * arch/s390x/kernel/delay.c * Precise Delay Loops for S390 * * S390 version * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com), * * Derived from "arch/i386/lib/delay.c" * Copyright (C) 1993 Linus Torvalds * Copyr...
sensysnetworks/uClinux
linux-2.4.x/arch/s390x/lib/delay.c
C
gpl-2.0
1,396
/* mbed Microcontroller Library * Copyright (c) 2006-2017 ARM Limited * * 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...
ryankurte/mbed-os
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F411xE/TARGET_SAKURAIO_EVB_01/system_clock.c
C
apache-2.0
10,577
/* Copyright (c) 2011-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 ho...
Altaf-Mahdi/mako-kernel-old
arch/arm/mach-msm/devices-msm7x27a.c
C
gpl-2.0
41,898
// SPDX-License-Identifier: ISC /* Copyright (C) 2020 MediaTek Inc. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/pci.h> #include "mt7615.h" #include "regs.h" #include "mac.h" #include "../trace.h" const u32 mt7615e_reg_map[] = { [MT_TOP_CFG_BASE] = 0x0100...
HinTak/linux
drivers/net/wireless/mediatek/mt76/mt7615/mmio.c
C
gpl-2.0
7,124
/* * SA1100 Power Management Routines * * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License. * * History: * * 2001-02-06: Cliff Brake Initial code * * 2001-02-25: Sukjae...
foxsat-hdr/linux-kernel
arch/arm/mach-sa1100/pm.c
C
gpl-2.0
3,408
/* { dg-do compile } */ /* { dg-options "-fgimple" } */ void __GIMPLE () foo () { int *b; *b = 1; }
PrasadG193/gcc_gimple_fe
gcc/testsuite/gcc.dg/gimplefe-3.c
C
gpl-2.0
105
/* * (C) Copyright 2009 DENX Software Engineering * Author: John Rigby <jrigby@gmail.com> * * Based on mx27/generic.c: * Copyright (c) 2008 Eric Jarrige <eric.jarrige@armadeus.org> * Copyright (c) 2009 Ilya Yanok <yanok@emcraft.com> * * This program is free software; you can redistribute it and/or * modify i...
JeremySavonet/Eurobot-2017-Moon-Village
software/custom_leds/fpga/software/spl_bsp/uboot-socfpga/arch/arm/cpu/arm926ejs/mx25/generic.c
C
gpl-3.0
8,917
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-neon.h" #include "../common/n2fv_8.c"
Shangxz/HackIllinois2017
tone-analysis/fftw-3.3.6-pl1/dft/simd/neon/n2fv_8.c
C
gpl-3.0
109
/* operational.c - monitor backend operational attributes function */ /* $OpenLDAP: pkg/ldap/servers/slapd/back-monitor/operational.c,v 1.17.2.8 2011/01/04 23:50:38 kurt Exp $ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 2001-2011 The OpenLDAP Foundation. * Portions Copyrigh...
mapr/impala
thirdparty/openldap-2.4.25/servers/slapd/back-monitor/operational.c
C
apache-2.0
1,827
#include <linux/types.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/smp.h> #include <linux/time.h> #include <linux/clockchips.h> #include <asm/i8253.h> #include <asm/sni.h> #include <asm/time.h> #include <asm-generic/rtc.h> #define SNI_CLOCK_TICK_RATE 3686400 #define SNI_COUNTER2_DIV ...
JijonHyuni/HyperKernel-JB
virt/arch/mips/sni/time.c
C
gpl-2.0
4,984
// SPDX-License-Identifier: GPL-2.0-only /* * Xen PCI - handle PCI (INTx) and MSI infrastructure calls for PV, HVM and * initial domain support. We also handle the DSDT _PRT callbacks for GSI's * used in HVM and initial domain mode (PV does not parse ACPI, so it has no * concept of GSIs). Under PV we hook under the...
chenshuo/linux-study
arch/x86/pci/xen.c
C
gpl-2.0
16,582
/* * linux/mm/mlock.c * * (C) Copyright 1995 Linus Torvalds * (C) Copyright 2002 Christoph Hellwig */ #include <linux/capability.h> #include <linux/mman.h> #include <linux/mm.h> #include <linux/swap.h> #include <linux/swapops.h> #include <linux/pagemap.h> #include <linux/pagevec.h> #include <linux/mempolicy.h> ...
AKuHAK/xcover3ltexx_custom_kernel
mm/mlock.c
C
gpl-3.0
23,161
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-altivec.h" #include "../common/q1fv_2.c"
Shangxz/HackIllinois2017
tone-analysis/fftw-3.3.6-pl1/dft/simd/altivec/q1fv_2.c
C
gpl-3.0
112
/* Copyright (c) 2016 Phoenix Systems All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condition...
GarethNelson/Zoidberg
userland/newlib/newlib/libc/sys/phoenix/symlink.c
C
gpl-2.0
1,931
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
Necktrox/mtasa-blue
vendor/curl/docs/examples/multi-double.c
C
gpl-3.0
4,101
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-fre1" } */ int x; int foo (void) { x = 1; return __builtin_ffs (x); } /* { dg-final { scan-tree-dump-not "ffs" "fre1" } } */ /* { dg-final { cleanup-tree-dump "fre1" } } */
crystax/android-toolchain-gcc-5
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-41.c
C
gpl-2.0
235
/* * Universal Interface for Intel High Definition Audio Codec * * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de> * * * This driver 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 ...
nazgee/igep-kernel
sound/pci/hda/hda_codec.c
C
gpl-2.0
135,529
/* * Blackfin CPLB exception handling for when MPU in on * * Copyright 2008-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/module.h> #include <linux/mm.h> #include <asm/blackfin.h> #include <asm/cacheflush.h> #include <asm/cplb.h> #include <asm/cplbinit.h> #include <asm/mmu_c...
jameshilliard/m8-3.4.0-gb1fa77f
arch/blackfin/kernel/cplb-mpu/cplbmgr.c
C
gpl-2.0
8,421
/* This testcase is part of GDB, the GNU debugger. Copyright 2012-2013 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
hzq1001/or1k-src
gdb/testsuite/gdb.base/ctxobj-m.c
C
gpl-2.0
1,172
/* * Copyright (c) 2000-2002,2005 Silicon Graphics, 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 by the Free Software Foundation. * * This program is distributed in the hope that it woul...
jameshilliard/m8-3.4.0-gb1fa77f
fs/xfs/xfs_alloc.c
C
gpl-2.0
55,605
/* * net/tipc/net.c: TIPC network routing code * * Copyright (c) 1995-2006, Ericsson AB * Copyright (c) 2005, 2010-2011, Wind River Systems * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
jameshilliard/m8-3.4.0-gb1fa77f
net/tipc/net.c
C
gpl-2.0
3,977
/* PR 28152: error messages should mention _Complex */ /* { dg-do compile } */ /* { dg-options "" } */ int main (void) { _Complex float z; z = _Complex (1.90000007326203904e+19, 0.0); /* { dg-error "_Complex" } */ z = _Complex (1.0e+0, 0.0) / z; /* { dg-error "_Complex" } */ /* { dg-error "at end of input"...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.dg/parser-pr28152.c
C
gpl-2.0
349
/* * Copyright (C) 2010 Nokia * Copyright (C) 2010 Texas Instruments * * 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> #include <linux/init.h> #in...
AccentureMobilityServices/kernel
arch/arm/mach-omap2/mux2430.c
C
gpl-2.0
30,603
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tomstdenis@gmail.com, http://l...
rhuitl/uClinux
user/dropbear/libtomcrypt/src/pk/dsa/dsa_verify_key.c
C
gpl-2.0
2,735
#include <linux/sched.h> #include <linux/module.h> #include <linux/init.h> #include <linux/clk.h> #include <linux/io.h> #include <linux/wakelock.h> #include <linux/time.h> #include <linux/kernel_stat.h> #include <linux/rtc.h> #include <linux/irq.h> #include <linux/time.h> #include <linux/wakelock.h> #include <../clock....
sbryan12144/BeastMode-Elite
arch/arm/mach-msm/htc_util.c
C
gpl-2.0
11,275
#include <linux/kernel.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/namei.h> #include <linux/sched.h> #include <linux/writeback.h> #include <linux/syscalls.h> #include <linux/linkage.h> #include <linux/pagemap.h> #include <linux/quotaops.h> #include...
MyAOSP/kernel_htc_m7
fs/sync.c
C
gpl-2.0
9,459
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tomstdenis@gmail.com, http://l...
rhuitl/uClinux
user/dropbear/libtomcrypt/src/misc/crypt/crypt_prng_is_valid.c
C
gpl-2.0
980
/* * timer_delete.c - delete a per-process timer. */ #include <errno.h> #include <stdlib.h> #include <time.h> #include <sys/syscall.h> #include "kernel-posix-timers.h" #ifdef __NR_timer_delete #define __NR___syscall_timer_delete __NR_timer_delete static __inline__ _syscall1(int, __syscall_timer_delete, kernel_tim...
Bytewerk/uClinux-ipcam
uClibc/librt/timer_delete.c
C
gpl-2.0
635
// SPDX-License-Identifier: GPL-2.0 #include <test_progs.h> void test_reference_tracking(void) { const char *file = "test_sk_lookup_kern.o"; const char *obj_name = "ref_track"; DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = obj_name, .relaxed_maps = true, ); struct bpf_object *obj; struc...
tprrt/linux-stable
tools/testing/selftests/bpf/prog_tests/reference_tracking.c
C
gpl-2.0
1,259
/* * linux/fs/fat/inode.c * * Written 1992,1993 by Werner Almesberger * VFAT extensions by Gordon Chaffee, merged with msdos fs by Henrik Storner * Rewritten for the constant inumbers support by Al Viro * * Fixes: * * Max Cohan: Fixed invalid FSINFO offset when info_sector is 0 */ #include <linux/module...
MikeUYSCUTI/surnia_msm8916
fs/fat/inode.c
C
gpl-2.0
43,988
/********************************************************************* * * Filename: ircomm_tty.c * Version: 1.0 * Description: IrCOMM serial TTY driver * Status: Experimental. * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Sun Jun 6 21:00:56 1999 * Modified at: Wed Feb 23...
hannes/linux
drivers/staging/irda/net/ircomm/ircomm_tty.c
C
gpl-2.0
36,674
/* * RNDIS MSG parser * * Authors: Benedikt Spranger, Pengutronix * Robert Schwebel, Pengutronix * * 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 ...
SanDisk-Open-Source/SSD_Dashboard
uefi/linux-source-3.8.0/drivers/usb/gadget/rndis.c
C
gpl-2.0
29,869
/* Test the `vreinterprets64_u32' ARM Neon intrinsic. */ /* This file was autogenerated by neon-testgen. */ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-options "-save-temps -O0" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" void test_vreinterprets64_u32 (void) ...
selmentdev/selment-toolchain
source/gcc-latest/gcc/testsuite/gcc.target/arm/neon/vreinterprets64_u32.c
C
gpl-3.0
441
/*====================================================================== Aironet driver for 4500 and 4800 series cards This code is released under both the GPL version 2 and BSD licenses. Either license may be used. The respective licenses are found at the end of this file. This code was develop...
go2ev-devteam/Gplus_2159_0801
openplatform/sdk/os/kernel-2.6.32/drivers/net/wireless/airo_cs.c
C
gpl-2.0
16,214
/* BlueZ - Bluetooth protocol stack for Linux Copyright (C) 2000-2001 Qualcomm Incorporated Copyright (C) 2011 ProFUSION Embedded Systems Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gene...
david-a-wheeler/linux
net/bluetooth/hci_core.c
C
gpl-2.0
101,128
#ifdef pr_fmt #undef pr_fmt #endif #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/printk.h> #include <linux/types.h> #include <linux/kobject.h> #include "mach/mtk_thermal_monitor.h" #include <mach/system.h> /* This API function is implemented in media...
Tesla-Redux-Devices/android_kernel_mediatek_sprout
drivers/misc/mediatek/thermal/mtk_cooler_backlight.c
C
gpl-2.0
4,624
/****************************************************************************** * Filename: trng.c * Revised: 2017-04-26 18:27:45 +0200 (Wed, 26 Apr 2017) * Revision: 48852 * * Description: Driver for the TRNG module * * Copyright (c) 2015 - 2017, Texas Instruments Incorporated * All rights ...
georgecpr/openthread
third_party/ti/devices/cc26x2/driverlib/trng.c
C
bsd-3-clause
4,509
/* * RTL8XXXU mac80211 USB driver - 8723b specific subdriver * * Copyright (c) 2014 - 2016 Jes Sorensen <Jes.Sorensen@redhat.com> * * Portions, notably calibration code: * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This driver was written as a replacement for the vendor provided * r...
sjp38/linux.doc_trans_membarrier
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c
C
gpl-2.0
51,654
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
Solitarily/LGF180-Optimus-G-_Android_KK_v30b_Kernel
arch/arm/mach-msm/lge/gvkr/board-gk-storage.c
C
gpl-2.0
31,964
/* * mac80211 configuration hooks for cfg80211 * * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> * * This file is GPLv2 as found in COPYING. */ #include <linux/ieee80211.h> #include <linux/nl80211.h> #include <linux/rtnetlink.h> #include <linux/slab.h> #include <net/net_namespace.h> #include <lin...
JijonHyuni/HyperKernel-JB
virt/net/mac80211/cfg.c
C
gpl-2.0
55,507
/* * linux/fs/ufs/util.c * * Copyright (C) 1998 * Daniel Pirkl <daniel.pirkl@email.cz> * Charles University, Faculty of Mathematics and Physics */ #include <linux/string.h> #include <linux/slab.h> #include <linux/buffer_head.h> #include "ufs_fs.h" #include "ufs.h" #include "swab.h" #include "util.h" struct u...
AiJiaZone/linux-4.0
virt/fs/ufs/util.c
C
gpl-2.0
6,184
// SPDX-License-Identifier: GPL-2.0 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/errno.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/prctl.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/sched/idle.h> #include <linux/sched/debug.h> #include...
koct9i/linux
arch/x86/kernel/process.c
C
gpl-2.0
21,539
/* * Sunplus spca561 subdriver * * Copyright (C) 2004 Michel Xhaard mxhaard@magic.fr * * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> * * 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...
botioni/aml_linux_kernel
drivers/media/video/gspca/spca561.c
C
gpl-2.0
29,013
/* * 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...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.14/drivers/staging/lustre/lnet/lnet/acceptor.c
C
gpl-2.0
12,755
/* udis86 - libudis86/syn.c * * Copyright (c) 2002-2013 Vivek Thampi * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyr...
bhootravi/radare2
shlr/udis86/syn.c
C
gpl-3.0
6,252
/* * KZM-ARM11-01 support * Copyright (C) 2009 Yoichi Yuasa <yuasa@linux-mips.org> * * based on code for MX31ADS, * Copyright (C) 2000 Deep Blue Solutions Ltd * Copyright (C) 2002 Shane Nay (shane@minirl.com) * Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved. * * This program is free...
rahulkodinya/drm
arch/arm/mach-imx/mach-kzm_arm11_01.c
C
gpl-2.0
7,699
// SPDX-License-Identifier: GPL-2.0 /* * PCI Endpoint *Controller* (EPC) library * * Copyright (C) 2017 Texas Instruments * Author: Kishon Vijay Abraham I <kishon@ti.com> */ #include <linux/device.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/of_device.h> #include <linux/pci-epc.h> #includ...
HinTak/linux
drivers/pci/endpoint/pci-epc-core.c
C
gpl-2.0
21,190
/* ldbuildid.c - Build Id support routines Copyright (C) 2013-2015 Free Software Foundation, Inc. This file is part of the GNU Binutils. 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...
selmentdev/selment-toolchain
source/binutils-latest/ld/ldbuildid.c
C
gpl-3.0
3,601
// SPDX-License-Identifier: GPL-2.0-only /* * HID Sensors Driver * Copyright (c) 2012, Intel Corporation. */ #include <linux/device.h> #include <linux/platform_device.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/hid-sensor-hub.h> #include <linux/iio/iio.h> #include <linux/iio/buffe...
tprrt/linux-stable
drivers/iio/magnetometer/hid-sensor-magn-3d.c
C
gpl-2.0
16,384
/* * Generic page table allocator for IOMMUs. * * 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 distributed in the hope that it will be useful, * but WITHOU...
mericon/Xp_Kernel_LGH850
virt/drivers/iommu/io-pgtable.c
C
gpl-2.0
3,550
/** ****************************************************************************** * @file stm32f7xx_hal_hcd.c * @author MCD Application Team * @version V1.2.2 * @date 14-April-2017 * @brief HCD HAL module driver. * This file provides firmware functions to manage the following * ...
watsonc4/watson
libraries/stm32f7xx_hal/src/stm32f7xx_hal_hcd.c
C
apache-2.0
35,332
/* * Sonics Silicon Backplane * Broadcom ChipCommon Power Management Unit driver * * Copyright 2009, Michael Buesch <m@bues.ch> * Copyright 2007, Broadcom Corporation * * Licensed under the GNU/GPL. See COPYING for details. */ #include <linux/ssb/ssb.h> #include <linux/ssb/ssb_regs.h> #include <linux/ssb/ssb_d...
WhiteBearSolutions/WBSAirback
packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/drivers/ssb/driver_chipcommon_pmu.c
C
apache-2.0
19,592
/* * Copyright 2013 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...
systemdaemon/systemd
src/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv44.c
C
gpl-2.0
2,109
/* Copyright (c) 2011, 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...
sbryan12144/BeastMode-Elite
sound/soc/msm/msm-dai-fe.c
C
gpl-2.0
7,420
/* * Interface handling * * Copyright 2002-2005, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> * Copyright 2008, Johannes Berg <johannes@sipsolutions.net> * * This program is free software; you can redistribute it and/or modify * it u...
crseanpaul/staging
net/mac80211/iface.c
C
gpl-2.0
48,997
/* * Copyright (c) 2011, Jim Hollinger * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
iSCInc/cURL
v7.38.0/docs/examples/rtsp.c
C
mit
8,497
/* * array.c - functions to create, destroy, access, and manipulate arrays * of strings. * * Arrays are sparse doubly-linked lists. An element's index is stored * with it. * * Chet Ramey * chet@ins.cwru.edu */ /* Copyright (C) 1997-2009 Free Software Foundation, Inc. This file is part of GNU Bash, t...
tavaresdong/courses-notes
uw_cse333/hw/projdocs/test_tree/bash-4.2/array.c
C
mit
23,772
/* Copyright (C) 2002-2015 Free Software Foundation, Inc. Contributed by Andy Vaught F2003 I/O support contributed by Jerry DeLisle This file is part of the GNU Fortran runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
evaautomation/gcc-linaro
libgfortran/io/read.c
C
gpl-2.0
26,585
// SPDX-License-Identifier: GPL-2.0-only /* * Changes: * Arnaldo Carvalho de Melo <acme@conectiva.com.br> 08/23/2000 * - get rid of some verify_areas and use __copy*user and __get/put_user * for the ones that remain */ #include <linux/module.h> #include <linux/blkdev.h> #include <linux/interrupt.h> #include <lin...
CSE3320/kernel-code
linux-5.8/drivers/scsi/scsi_ioctl.c
C
gpl-2.0
8,821
/* { dg-require-effective-target vect_int } */ #include <stdarg.h> #include "tree-vect.h" #define A 3 #define B 4 #define N 256 short src[N], dst[N]; void foo (short * __restrict__ dst, short * __restrict__ src, int h, int stride, int dummy) { int i; h /= 16; for (i = 0; i < h; i++) { dst[0] += A*sr...
selmentdev/selment-toolchain
source/gcc-latest/gcc/testsuite/gcc.dg/vect/bb-slp-25.c
C
gpl-3.0
1,244
/* Copyright (C) 2007-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 later version. GCC is distribute...
evaautomation/gcc-linaro
libgcc/config/libbid/_usi_to_td.c
C
gpl-2.0
1,165
/* * arch/arm/mach-s3c2410/h1940-bluetooth.c * Copyright (c) Arnaud Patard <arnaud.patard@rtp-net.org> * * 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. * * S3C2410 bluetooth "driver" * ...
EAVR/EV3.14
ev3sources/extra/linux-03.20.00.13/arch/arm/mach-s3c2410/h1940-bluetooth.c
C
gpl-2.0
3,028
// SPDX-License-Identifier: GPL-2.0-or-later /* * max6650.c - Part of lm_sensors, Linux kernel modules for hardware * monitoring. * * (C) 2007 by Hans J. Koch <hjk@hansjkoch.de> * * based on code written by John Morris <john.morris@spirentcom.com> * Copyright (c) 2003 Spirent Communications * and Cl...
chenshuo/linux-study
drivers/hwmon/max6650.c
C
gpl-2.0
19,506
// SPDX-License-Identifier: GPL-2.0-only /* * Old U-boot compatibility for 83xx * * Author: Scott Wood <scottwood@freescale.com> * * Copyright (c) 2007 Freescale Semiconductor, Inc. */ #include "ops.h" #include "stdio.h" #include "cuboot.h" #define TARGET_83xx #include "ppcboot.h" static bd_t bd; static void ...
CSE3320/kernel-code
linux-5.8/arch/powerpc/boot/cuboot-83xx.c
C
gpl-2.0
1,376
// SPDX-License-Identifier: MIT /* * Copyright © 2018 Intel Corporation */ #include "gem/i915_gem_pm.h" #include "gt/intel_engine_user.h" #include "gt/intel_gt.h" #include "i915_selftest.h" #include "intel_reset.h" #include "selftests/igt_flush_test.h" #include "selftests/igt_reset.h" #include "selftests/igt_spinne...
mpe/powerpc
drivers/gpu/drm/i915/gt/selftest_workarounds.c
C
gpl-2.0
30,024
/* * Copyright (c) 2000-2001,2005 Silicon Graphics, 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 by the Free Software Foundation. * * This program is distributed in the hope that it woul...
kv193/buildroot
linux/linux-kernel/fs/xfs/xfs_dir2.c
C
gpl-2.0
16,361
/* * linux/fs/ext4/ialloc.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) * * BSD ufs-inspired inode and directory allocation by * Stephen Tweedie (sct@redhat.com), 1993 * Big-endian to litt...
impedimentToProgress/UCI-BlueChip
snapgear_linux/linux-2.6.21.1/fs/ext4/ialloc.c
C
mit
22,027
/* * arch/arm/mach-tegra/common.c * * Copyright (c) 2013 NVIDIA Corporation. All rights reserved. * Copyright (C) 2010 Google, Inc. * * Author: * Colin Cross <ccross@android.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foun...
aps243/kernel-imx
arch/arm/mach-tegra/common.c
C
gpl-2.0
2,847
#include <r_io.h> int main(int argc, char **argv) { char buf[1024], *file; struct r_io_t *io; RIODesc *fd; int ret; io = r_io_new(); if (io == NULL) return 1; file = argc>1?argv[1]:"/bin/ls"; fd = r_io_open_nomap(io, file, R_IO_READ, 0); if (fd == NULL) { printf("Cannot open file '%s'\n", file); r_io_f...
ninjahacker/radare2-regressions
unit/legacy_unit/io/read4.c
C
gpl-3.0
614
/* * Copyright (c) 2016, Mellanox Technologies 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 th...
eabatalov/au-linux-kernel-autumn-2017
linux/drivers/infiniband/core/rdma_core.c
C
gpl-3.0
17,879
/* Copyright (C) 2008 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> * * 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. */ /* Kernel module implementing an IP set type: the setlist t...
rhuitl/uClinux
user/ipset/kernel/ip_set_setlist.c
C
gpl-2.0
7,681
/* * Copyright (C) 2012 Russell King * Rewritten from the dovefb driver, and Armada510 manuals. * * 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/clk.h> #inc...
eabatalov/au-linux-kernel-autumn-2017
linux/drivers/gpu/drm/armada/armada_crtc.c
C
gpl-3.0
39,329
/***************************************************************************/ /* */ /* cffgload.c */ /* */ /* Op...
Sebbyastian/openfaction
vendor/freetype/src/cff/cffgload.c
C
gpl-3.0
94,060
/* * Copyright (c) 2015-2016, Linaro Limited * * 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. * * This program is distributed in the hope that it will be use...
eabatalov/au-linux-kernel-autumn-2017
linux/drivers/tee/optee/rpc.c
C
gpl-3.0
9,386
/* * Copyright (c) 2006 Oracle. 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 tree, or t...
Schischu/xoom-ElementalX
net/rds/ib_cm.c
C
gpl-2.0
23,929
/* * Generic parts * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@gnu.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 (...
santod/NuK3rn3l_htc_m7_GPE-5.0.x
net/bridge/br.c
C
gpl-2.0
2,057
/* * s3c24xx-i2s.c -- ALSA Soc Audio Layer * * (c) 2006 Wolfson Microelectronics PLC. * Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com * * Copyright 2004-2005 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * This program is free software; you c...
linuxium/ubuntu-xenial
sound/soc/samsung/s3c24xx-i2s.c
C
gpl-2.0
12,658
/* -*- mode: C; c-file-style: "gnu" -*- */ /* xdgmime.c: XDG Mime Spec mime resolver. Based on version 0.11 of the spec. * * More info can be found at http://www.freedesktop.org/standards/ * * Copyright (C) 2003,2004 Red Hat, Inc. * Copyright (C) 2003,2004 Jonathan Blandford <jrb@alum.mit.edu> * * Licensed u...
tierney/cryptagram-cc
src/base/third_party/xdg_mime/xdgmime.c
C
gpl-3.0
20,931
/****************************************************************************** * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2012 - 2013 Intel Corporation. All rights reserved. * ...
hoonir/iamroot_hypstudy_5th
drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c
C
gpl-2.0
9,504
/* * KZM Board System emulation. * * Copyright (c) 2008 OKL and 2011 NICTA * Written by Hans at OK-Labs * Updated by Peter Chubb. * * This code is licensed under the GPL, version 2 or later. * See the file `COPYING' in the top level directory. * * It (partially) emulates a Kyoto Microcomputer * KZM-ARM11-01 ...
JavaGuy147/RT-Xen-Scheduler
tools/qemu-xen/hw/arm/kzm.c
C
gpl-2.0
5,652
/* comedi/drivers/daqboard2000.c hardware driver for IOtech DAQboard/2000 COMEDI - Linux Control and Measurement Device Interface Copyright (C) 1999 Anders Blomdell <anders.blomdell@control.lth.se> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gen...
soap-DEIM/l4android
drivers/staging/comedi/drivers/daqboard2000.c
C
gpl-2.0
26,395
/* * Copyright (C) 2000, 2001 Blue Mug, 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 by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versi...
prasidh09/cse506
unionfs-3.10.y/arch/arm/mach-clps711x/board-edb7211.c
C
gpl-2.0
5,044
/* This revealed a bug when rotates are expanded into two shifts. */ /* { dg-do run } */ /* { dg-options "-O1 -std=c99" } */ #include <stdlib.h> #if __INT_MAX__ == 2147483647 typedef unsigned int uint32_t; #elif __LONG_MAX__ == 2147483647 typedef unsigned long uint32_t; #else #error unable to find 32-bit integer...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.dg/20050922-1.c
C
gpl-2.0
881
/* * Copyright (c) 2006 Chelsio, 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 tree,...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-5.4/drivers/infiniband/hw/cxgb3/iwch_mem.c
C
gpl-2.0
3,021
// SPDX-License-Identifier: GPL-2.0 #include <stdarg.h> #include <stdio.h> #include <perf/threadmap.h> #include <internal/tests.h> static int libperf_print(enum libperf_print_level level, const char *fmt, va_list ap) { return vfprintf(stderr, fmt, ap); } int main(int argc, char **argv) { struct perf_thread_map ...
rperier/linux-rockchip
tools/lib/perf/tests/test-threadmap.c
C
gpl-2.0
590
/****************************************************************************** * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2012 - 2013 Intel Corporation. All rights reserved. * ...
andyhui/linux-kernel-3.12.17
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
C
gpl-2.0
35,358
/* * Support for PCI on Celleb platform. * * (C) Copyright 2006-2007 TOSHIBA CORPORATION * * This code is based on arch/powerpc/kernel/rtas_pci.c: * Copyright (C) 2001 Dave Engebretsen, IBM Corporation * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM * * This program is free software; you can red...
mericon/Xp_Kernel_LGH850
virt/arch/powerpc/platforms/cell/celleb_pci.c
C
gpl-2.0
12,165
/* * 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...
ziqiaozhou/cachebar
source/drivers/staging/lustre/lustre/llite/lloop.c
C
gpl-2.0
21,296
/* 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 distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty ...
ncarrier/carino-packages-linux
net/mac802154/cfg.c
C
gpl-2.0
5,344
/* * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the...
tzanussi/linux-yocto-micro-3.19
drivers/soc/tegra/fuse/fuse-tegra30.c
C
gpl-2.0
5,497
/* Check that on SH2A the 4 byte mov.b displacement insn is generated to handle larger displacements. If it is generated correctly, there should be no base address adjustments outside the mov.b insns. */ /* { dg-do compile } */ /* { dg-options "-O1" } */ /* { dg-skip-if "" { "sh*-*-*" } { "*" } { "-m2a*" } } *...
alpine9000/BitOS
tests/gcc.target.sh/bad/pr50751-3.c
C
bsd-2-clause
647
/* * Copyright(c) 2007 - 2008 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the h...
dperezde/little-penguin
linux/drivers/scsi/libfc/fc_rport.c
C
gpl-2.0
56,723
/* * IBM/3270 Driver - console view. * * Author(s): * Original 3270 Code for 2.4 written by Richard Hitt (UTS Global) * Rewritten for 2.5 by Martin Schwidefsky <schwidefsky@de.ibm.com> * Copyright IBM Corp. 2003, 2009 */ #include <linux/module.h> #include <linux/console.h> #include <linux/init.h> #inclu...
mikedlowis-prototypes/albase
source/kernel/drivers/s390/char/con3270.c
C
bsd-2-clause
16,202
#include <math_ldbl_opt.h> #include <sysdeps/ieee754/dbl-64/s_lround.c> #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) compat_symbol (libm, __lround, lroundl, GLIBC_2_1); #endif
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/sysdeps/ieee754/ldbl-opt/s_lround.c
C
gpl-2.0
171
/* { dg-do run { target openacc_nvidia_accel_selected } } */ /* { dg-additional-options "-lcuda" } */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <openacc.h> #include <cuda.h> int main (int argc, char **argv) { CUdevice dev; CUfunction delay; CUmodule module; CUresult r; CUstream str...
selmentdev/selment-toolchain
source/gcc-latest/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-72.c
C
gpl-3.0
2,526
/* Intel PRO/1000 Linux driver * Copyright(c) 1999 - 2014 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, * version 2, as published by the Free Software Foundation. * * This program is distributed i...
mericon/Xp_Kernel_LGH850
virt/drivers/net/ethernet/intel/e1000e/nvm.c
C
gpl-2.0
15,672
/* * drivers/pci/iov.c * * Copyright (C) 2009 Intel Corporation, Yu Zhao <yu.zhao@intel.com> * * PCI Express I/O Virtualization (IOV) support. * Single Root IOV 1.0 * Address Translation Service 1.0 */ #include <linux/pci.h> #include <linux/slab.h> #include <linux/mutex.h> #include <linux/export.h> #includ...
andyhui/linux-kernel-3.12.17
drivers/pci/iov.c
C
gpl-2.0
19,297
/** * @file * Dynamic pool memory manager * * lwIP has dedicated pools for many structures (netconn, protocol control blocks, * packet buffers, ...). All these pools are managed here. */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in...
poranmeloge/test-github
stm32_rtt_wifi/components/net/lwip-1.3.2/src/core/memp.c
C
gpl-2.0
12,047
/* * linux/drivers/leds-pwm.c * * simple PWM based LED control * * Copyright 2009 Luotao Fu @ Pengutronix (l.fu@pengutronix.de) * * based on leds-gpio.c by Raphael Assenat <raph@8d.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
mikedlowis-prototypes/albase
source/kernel/drivers/leds/leds-pwm.c
C
bsd-2-clause
5,379
/* * Copyright (C) 2012 Red Hat * * based in parts on udlfb.c: * Copyright (C) 2009 Roberto De Ioris <roberto@unbit.it> * Copyright (C) 2009 Jaya Kumar <jayakumar.lkml@gmail.com> * Copyright (C) 2009 Bernie Thompson <bernie@plugable.com> * * This file is subject to the terms and conditions of the GNU General Pu...
boddob/linux
drivers/gpu/drm/udl/udl_fb.c
C
gpl-2.0
13,304