code
stringlengths
1.03k
250k
repo_name
stringlengths
7
70
path
stringlengths
4
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
1.03k
250k
/* * csum-file.c * * Copyright (C) 2005 Linus Torvalds * * Simple file write infrastructure for writing SHA1-summed * files. Useful when you write a file that you want to be * able to verify hasn't been messed with afterwards. */ #include "cache.h" #include "progress.h" #include "csum-file.h" static void flush...
racker/omnibus
source/git-1.7.6.4/csum-file.c
C
apache-2.0
2,581
/* * Copyright (c) 2013, Institute for Pervasive Computing, ETH Zurich * 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 ...
MohamedSeliem/contiki
examples/nrf52dk/coap-demo/resources/res-leds.c
C
bsd-3-clause
3,863
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <Python.h> #include <numpy/arrayobject.h> #include "numpy/ufuncobject.h" #include "compute_bounds.h" /* Define docstrings */ static char module_docstring[] = "Fast sigma clipping"; static char _sigma_clip_fast_docstring[] = "Compute sigma clipping"; /* Decla...
pllim/astropy
astropy/stats/src/fast_sigma_clip.c
C
bsd-3-clause
5,548
/*- * Copyright (C) 2010 Gabor Kovesdan <gabor@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notic...
jhbsz/OSI-OS
tools/test/iconv/const-gnuism.c
C
bsd-3-clause
2,152
// RUN: %libomp-compile-and-run // The test checks schedule(simd:runtime) // in combination with omp_set_schedule() #include <stdio.h> #include <stdlib.h> #include <omp.h> #if defined(WIN32) || defined(_WIN32) #include <windows.h> #define delay() Sleep(1); #define seten(a,b,c) _putenv_s((a),(b)) #else #include <unist...
endlessm/chromium-browser
third_party/llvm/openmp/runtime/test/worksharing/for/kmp_sch_simd_runtime_api.c
C
bsd-3-clause
7,118
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * libmm -- Access modem status & information from glib applications * * 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 Soft...
thezawad/ModemManager
libmm-glib/mm-modem-simple.c
C
gpl-2.0
16,820
/****************************************************************** * * * File : dense.c * * Programmers : Scott D. Cohen and Alan C. Hindmarsh @ LLNL * * Last Modified : 1 September 1994 ...
tfryett/qotoolbox
unixsrc/solvemc/dense.c
C
gpl-2.0
6,493
/* * Setup platform devices needed by the Freescale multi-port host * and/or dual-role USB controller modules based on the description * in flat device tree. * * 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 * F...
holyangel/LGE_G3
drivers/usb/host/fsl-mph-dr-of.c
C
gpl-2.0
7,925
/* * Quick & dirty crypto testing module. * * This will only exist until we have a better testing mechanism * (e.g. a char device). * * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org> * Copyright (c) 2007 Nokia Siemens Networks * * Updated R...
CPDroid/Samsung_STE_Kernel
crypto/tcrypt.c
C
gpl-2.0
28,629
/****************************************************************************** * * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. * * Portions of this file are derived from the ipw3945 project, as well * as portions of the ieee80211 subsystem header files. * * This program is free software; yo...
freexperia/android_kernel_sony_tegra
net/compat-wireless/drivers/net/wireless/iwlwifi/iwl-mac80211.c
C
gpl-2.0
42,802
/* * f_mtp.c -- USB MTP gadget driver * LG USB gadget driver for MTP sync * This program is the modified version of free software for LG USB gadget driver * Editor : jaeho.cho@lge.com * * Copyright (C) 2008 by LGE * * This software is licensed under the terms of the GNU General Public * License version 2, as published...
mtmichaelson/LG_Esteem_Kernel
drivers/usb/gadget/f_mtp.c
C
gpl-2.0
37,239
/* drivers/atm/eni.c - Efficient Networks ENI155P device driver */ /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ #include <linux/module.h> #include <linux/config.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/pci.h> #include <linux/errno.h> #include <linux/atm.h> #include <linux/a...
robacklin/celinux
drivers/atm/eni.c
C
gpl-2.0
63,709
/* * (c) Copyright 2003, 2006 Hewlett-Packard Development Company, L.P. * Alex Williamson <alex.williamson@hp.com> * 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 * published by the...
curbthepain/revkernel_us990
arch/ia64/kernel/acpi-ext.c
C
gpl-2.0
2,798
/* * Low level 3-way in-core file merge. * * Copyright (c) 2007 Junio C Hamano */ #include "cache.h" #include "attr.h" #include "xdiff-interface.h" #include "run-command.h" #include "ll-merge.h" #include "quote.h" struct ll_merge_driver; typedef int (*ll_merge_fn)(const struct ll_merge_driver *, mmbuffer_t...
sunny256/git
ll-merge.c
C
gpl-2.0
10,847
#include "analyzer-decls.h" void test(int start, int end, int step) { int i; __analyzer_dump_exploded_nodes (0); /* { dg-warning "1 processed enode" } */ for (i = start; i > end; i -= step) { __analyzer_eval (i > end); /* { dg-warning "TRUE" "true" } */ /* { dg-bogus "UNKNOWN" "unknown" { xfail *-*...
Gurgel100/gcc
gcc/testsuite/gcc.dg/analyzer/loop-start-down-to-end-by-step.c
C
gpl-2.0
1,182
/* * xHCI host controller driver * * Copyright (C) 2008 Intel Corp. * * Author: Sarah Sharp * Some code borrowed from the Linux EHCI driver. * * 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 Soft...
adafruit/adafruit-raspberrypi-linux
drivers/usb/host/xhci-ring.c
C
gpl-2.0
131,997
/* * This file is part of UBIFS. * * Copyright (C) 2006-2008 Nokia Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope t...
holyangel/LGE_G3
fs/ubifs/shrinker.c
C
gpl-2.0
9,682
// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -ffixed-point %s -emit-llvm -o - | FileCheck %s -check-prefixes=CHECK // // Check that we generate correct TBAA metadata for fixed-point types. void sfract(unsigned short _Fract *p, short _Fract *q, unsigned _Sat short _Fract *r, _Sat short _Fract *s) { ...
sabel83/metashell
3rd/templight/clang/test/CodeGen/fixed-point-tbaa.c
C
gpl-3.0
4,584
/* * S390 virtio-ccw loading program * * Copyright (c) 2013 Alexander Graf <agraf@suse.de> * * This work is licensed under the terms of the GNU GPL, version 2 or (at * your option) any later version. See the COPYING file in the top-level * directory. */ #include "s390-ccw.h" #include "virtio.h" char stack[PAG...
SurajAnil/KernelVirtualMachine
qemu/pc-bios/s390-ccw/main.c
C
gpl-3.0
3,249
/* * Copyright (c) 2012 Justin Ruggles <justin.ruggles@gmail.com> * * This file is part of Libav. * * Libav is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
MikeSouza/mpc-hc
src/thirdparty/ffmpeg/libavresample/audio_data.c
C
gpl-3.0
10,353
/* * Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or...
prajnashi/ffmpeg
libavcodec/os2thread.c
C
lgpl-2.1
4,380
/* tsum -- test file for the list summation function Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. Contributed by the AriC and Caramel projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/o...
SaberMod/gnu-mpfr
tests/tsum.c
C
lgpl-3.0
7,881
/** ****************************************************************************** * @file usbd_ioreq.c * @author MCD Application Team * @version V2.4.1 * @date 19-June-2015 * @brief This file provides the IO requests APIs for control endpoints. ********************************************...
lpodkalicki/stm32f401vct6u
usb_fs_device_class_cdc_example/lib/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c
C
bsd-2-clause
5,775
/* * * Copyright 2015, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
MakMukhi/grpc
src/core/lib/channel/connected_channel.c
C
bsd-3-clause
7,653
/* * * Hardware accelerated Matrox Millennium I, II, Mystique, G100, G200 and G400 * * (c) 1998-2002 Petr Vandrovec <vandrove@vc.cvut.cz> * * Portions Copyright (c) 2001 Matrox Graphics Inc. * * Version: 1.65 2002/08/14 * * MTRR stuff: 1998 Tom Rini <trini@kernel.crashing.org> * * Contributors: "menion?" <m...
AdaLovelance/lxcGrsecKernels
linux-3.14.37/drivers/video/matrox/matroxfb_Ti3026.c
C
gpl-2.0
26,238
/* * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische * Universitaet Berlin. See the accompanying file "COPYRIGHT" for * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. */ /* $Id: preprocess.c,v 1.4 1998/09/09 21:06:51 gert Exp $ */ #include <stdio.h> #include <assert.h> #include "...
msekletar/mgetty
voice/libmgsm/preprocess.c
C
gpl-2.0
2,882
/* Conversion from and to IBM281. Copyright (C) 1998-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Genera...
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/iconvdata/ibm281.c
C
gpl-2.0
1,082
/* * Copyright (c) 2003, 2007-14 Matteo Frigo * Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology * * 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 ...
Starlink/fftw
rdft/scalar/r2cb/hb_2.c
C
gpl-2.0
3,524
/* Copyright (C) 1991-2013 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 ...
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/resource/setrlimit64.c
C
gpl-2.0
1,479
/* Abstraction of GNU v2 abi. Copyright (C) 2001-2014 Free Software Foundation, Inc. Contributed by Daniel Berlin <dberlin@redhat.com> This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
zxombie/aarch64-freebsd-binutils
gdb/gnu-v2-abi.c
C
gpl-2.0
13,487
/***************************************************************************** * * STATUSWRL.C - Nagios 3-D (VRML) Network Status View * * * Description: * * This CGI will dynamically create a 3-D VRML model of all hosts that are * being monitored on your network. * * License: * * This program is free softw...
npe9/nagioscore
cgi/statuswrl.c
C
gpl-2.0
36,389
/* * Copyright (c) 2014 TRUSTONIC LIMITED * 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 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be u...
MassStash/htc_pme_kernel_sense_6.0
drivers/gud/TlcTui/tui-hal.c
C
gpl-2.0
3,591
/* 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) Oct. 2015 Intel Corporation. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General ...
makeen/obs-studio
plugins/obs-qsv11/obs-qsv11.c
C
gpl-2.0
22,179
/* { dg-options "-O3 -fdump-tree-lversion-details" } */ /* { dg-require-effective-target size20plus } */ /* Versioning for step == 1 in these loops would allow loop interchange, but otherwise isn't worthwhile. At the moment we decide not to version. */ void f1 (double x[][100], int step, int n) { for (int i = ...
Gurgel100/gcc
gcc/testsuite/gcc.dg/loop-versioning-2.c
C
gpl-2.0
1,489
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995-2003 Spencer Kimball and Peter Mattis * * 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...
brion/gimp
app/pdb/buffer-cmds.c
C
gpl-3.0
21,252
// The Strawhouse Pattern // // We allow or deny clients according to their IP address. It may keep // spammers and idiots away, but won't stop a real attacker for more // than a heartbeat. // // CZMQ APIv3 // // For more info see: http://hintjens.com/blog:49#toc3 // #include <czmq.h> int main (void) { //...
taotetek/czmq
examples/security/strawhouse.c
C
mpl-2.0
1,555
/* xxHash - Fast Hash algorithm Copyright (C) 2012, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistrib...
prazzb/radare2
libr/hash/xxhash.c
C
lgpl-3.0
7,481
#include "binary_tree.h" int Max( int x, int y ) { return x > y ? x : y; } int Height(tBTNode N){ if (N==NULL) return -1; else return N->height; } void btInit(tBTree *T){ T->root=NULL; T->lastAdded=NULL; } void btFree(tBTree *T){ deleteNodes(T->root); btInit(T); } void deleteNodes(tB...
fkolacek/FIT-VUT
IFJ/test/binary_tree.c
C
apache-2.0
4,706
/* Wrapper part of tests for AVX2 ISA versions of vector math functions. Copyright (C) 2014-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...
bigzz/glibc
sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c
C
gpl-2.0
1,315
/* * linux/kernel/printk.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Modified to make sys_syslog() more flexible: added commands to * return the last 4k of kernel messages, regardless of whether * they've been read or not. Added option to suppress kernel printk's * to the console. Added hook for send...
mohammad92/GT-S5360_Kernel_GB_Opensource_Update4
kernel/printk.c
C
gpl-2.0
41,398
/* 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...
Skin1980/Kexec-kk-kernel-G3
drivers/media/platform/msm/vidc/msm_vdec.c
C
gpl-2.0
53,927
/** * \file * <!-- * This file is part of BeRTOS. * * Bertos is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program...
asterix24/svaroskey
firmware/svaroskey/bertos/net/nmea.c
C
gpl-3.0
10,968
/* * ACPI support for Intel Lynxpoint LPSS. * * Copyright (C) 2013, Intel Corporation * Authors: Mika Westerberg <mika.westerberg@linux.intel.com> * Rafael J. Wysocki <rafael.j.wysocki@intel.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
brammittendorff/PF_RING
linux-3.16.7-ckt9/drivers/acpi/acpi_lpss.c
C
lgpl-2.1
18,311
/* GStreamer * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> * * EffecTV: * Copyright (C) 2001 FUKUCHI Kentarou * * EffecTV is free software. This library is free software; * you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Fr...
cpopescu/whispermedialib
third-party/gstreamer/gst-plugins-good-0.10.23/gst/effectv/gstvertigo.c
C
lgpl-3.0
8,825
/**************************************************************************** * * Copyright 2018 Samsung Electronics All Rights Reserved. * * 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...
jsdosa/TizenRT
framework/src/task_manager/task_manager_unicast.c
C
apache-2.0
5,026
/************************************************************************/ /* */ /* System.c This implements system dependent code */ /* */ /************************************************************************/ /* Author: Keith Vogel ...
biomurph/chipKIT-core-prebuilt
windows/chipkit-core/pic32/libraries/DEIPcK/utility/System.c
C
mit
13,383
/* Copyright (c) 2001-2004, Roger Dingledine. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2013, The Tor Project, Inc. */ /* See LICENSE for licensing information */ #include "orconfig.h" #define CONFIG_PRIVATE #include "or.h" #include "addressmap.h" #include "config.h" #include...
wkritzinger/asuswrt-merlin
release/src/router/tor/src/test/test_config.c
C
gpl-2.0
20,813
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/workqueue.h> #include <linux/rtnetlink.h> #include <linux/cache.h> #include <linux/slab.h> #include <linux/list.h> #include <linux/delay.h> #include <linux/sched.h> #include <linux/idr.h> #include <linux/rculist.h> #include <linux/nsproxy.h> #include <linux/f...
michael2012z/myKernel
net/core/net_namespace.c
C
gpl-2.0
26,103
/****************************************************************************** * * Copyright (C) 2010 - 2016 Xilinx, Inc. All rights reserved. * * 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 Softw...
mcoughli/root_of_trust
provisioning/xsdk/zcu102_fsbl_predefined_bsp/psu_cortexa53_0/libsrc/scugic_v3_5/src/xscugic.c
C
gpl-3.0
28,064
/* * Copyright (C) 2019 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup cpu_esp32 * @brief Implementation of the CAN controller driver for ESP32 (...
kYc0o/RIOT
cpu/esp32/periph/can.c
C
lgpl-2.1
30,374
/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #include <types.h> #include <benchmark.h> #inclu...
gpbonillas/seL4
src/api/syscall.c
C
bsd-2-clause
11,382
// SPDX-License-Identifier: GPL-2.0-or-later /******************************************************************************* * This file contains main functions related to iSCSI Parameter negotiation. * * (c) Copyright 2007-2013 Datera, Inc. * * Author: Nicholas A. Bellinger <nab@linux-iscsi.org> * ************...
CSE3320/kernel-code
linux-5.8/drivers/target/iscsi/iscsi_target_parameters.c
C
gpl-2.0
47,065
/* * Copyright (C) 2008 Advanced Micro Devices, Inc. * * Author: Joerg Roedel <joerg.roedel@amd.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. * * This program is dist...
stev47/linux
lib/dma-debug.c
C
gpl-2.0
33,989
/* User file parser in nss_files module. Copyright (C) 2009 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 Found...
utds3lab/pemu
plugins/glibc-2.13-new/nss/nss_files/files-sgrp.c
C
gpl-2.0
1,374
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <stdarg.h> #include "cpp.h" char rcsid[] = "cpp.c - faked rcsid"; #define OUTS 16384 char outbuf[OUTS]; char *outp = outbuf; Source *cursource; int nerrs; struct token nltoken = { NL, 0, 0, 0, 1, (uchar*)"\n" }; char *curtime; int i...
entdark/q3mme
trunk/code/tools/lcc/cpp/cpp.c
C
gpl-2.0
5,903
/* Copyright (c) 2009, Code Aurora Forum. 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...
sktjdgns1189/android_kernel_samsung_SHW-M240S
drivers/power/europa_battery.c
C
gpl-2.0
97,827
/* ssl/s23_clnt.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-comme...
AndreyPopovNew/asuswrt-merlin-rt-n
release/src/router/openssl/ssl/s23_clnt.c
C
gpl-2.0
19,214
/* ptrace.c: Sparc process tracing support. * * Copyright (C) 1996 David S. Miller (davem@caipfs.rutgers.edu) * * Based upon code written by Ross Biro, Linus Torvalds, Bob Manson, * and David Mosberger. * * Added Linux support -miguel (weird, eh?, the orignal code was meant * to emulate SunOS). */ #include <l...
laijs/linux-kernel-ancient-history
arch/sparc/kernel/ptrace.c
C
gpl-2.0
15,070
/* * Copyright (C) 2004-2010 NXP Software * Copyright (C) 2010 The Android Open Source Project * * 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/...
luquanhong/MyCodec
projects/stagefright/jni/src/codec/decoder/video/sw_opencore/OEM/jni/media/frameworks/base/media/libeffects/lvm/lib/Common/src/DelayMix_16x16.c
C
gpl-2.0
2,419
/* * acpi_system.c - ACPI System Driver ($Revision: 63 $) * * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is free soft...
JonnyH/pandora-kernel
drivers/acpi/system.c
C
gpl-2.0
16,476
/* * STMicroelectronics st_lsm6dsx i2c controller driver * * i2c controller embedded in lsm6dx series can connect up to four * slave devices using accelerometer sensor as trigger for i2c * read/write operations. Current implementation relies on SLV0 channel * for slave configuration and SLV{1,2,3} to read data an...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-5.4/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c
C
gpl-2.0
18,587
#include <kernel.h> #include <kdata.h> #include <netdev.h> #include <net_at.h> /* * Implement a very simple interface to serial 3 on Z80pack, with a * small patch that sets bit 2 to indicate channel connected. * * This is used to debug the ATD ipaddr interface. * * Note: the interface *must* be hardware flow con...
dfffffff/FUZIX
Kernel/dev/z80pack/devatsim.c
C
gpl-2.0
1,110
/* Gcc offline profile processing tool support. */ /* Copyright (C) 2014-2016 Free Software Foundation, Inc. Contributed by Rong Xu <xur@google.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 General Public License as published by the Free S...
selmentdev/selment-toolchain
source/gcc-latest/gcc/gcov-tool.c
C
gpl-3.0
16,214
/* * Sleepable Read-Copy Update mechanism for mutual exclusion, * tiny version for non-preemptible single-CPU use. * * 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...
mkvdv/au-linux-kernel-autumn-2017
linux/kernel/rcu/srcutiny.c
C
gpl-3.0
6,705
/* GDK - The GIMP Drawing Kit * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * 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; either * version 2 of the ...
davidgumberg/gtk
gdk/gdkwindowimpl.c
C
lgpl-2.1
1,800
/* radare - LGPL - Copyright 2011-2019 - pancake */ #include <r_types.h> #include <r_util.h> #include <r_lib.h> #include <r_bin.h> #include "../../fs/types.h" static char *fsname(RBuffer *b) { ut8 buf[1024]; int i, j; for (i = 0; fstypes[i].name; i++) { RFSType *f = &fstypes[i]; if (r_buf_read_at (b, f->bufo...
bigendiansmalls/radare2
libr/bin/p/bin_fs.c
C
lgpl-3.0
2,255
/****************************************************************************** * * Copyright (C) 2002 - 2015 Xilinx, Inc. All rights reserved. * * 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 Softw...
mosass/SixpodSW
sixpod_freertos901_xilinx_bsp_0/ps7_cortexa9_0/libsrc/gpio_v4_3/src/xgpio.c
C
mit
10,109
/* * net/sched/cls_route.c ROUTE4 classifier. * * 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. * * Authors:...
impedimentToProgress/UCI-BlueChip
snapgear_linux/linux-2.6.21.1/net/sched/cls_route.c
C
mit
12,909
/** * @file * * Implements the workaround for erratum 419. * * Returns the table of initialization steps to perform at * AmdInitEarly. * * @xrefitem bom "File Content Label" "Release Content" * @e project: AGESA * @e sub-project: CPU/FAMILY/0x10/RevD/HY * @e \$Revision$ @e \$Date$ * */ /* ********...
DarkDefender/coreboot
src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevD/HY/F10HyInitEarlyTable.c
C
gpl-2.0
6,106
/* * intel_pstate.c: Native P state management for Intel processors * * (C) Copyright 2012 Intel Corporation * Author: Dirk Brandewie <dirk.j.brandewie@intel.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...
minipli/linux-grsec
drivers/cpufreq/intel_pstate.c
C
gpl-2.0
69,188
/* * drivers/mmc/host/sdhci-msm.c - Qualcomm MSM SDHCI Platform * driver source file * * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * Copyright (C) 2013 Sony Mobile Communications Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the G...
Tommy-Geenexus/sony_sources
drivers/mmc/host/sdhci-msm.c
C
gpl-2.0
95,353
/* * drivers/video/sun3i/disp/OSAL/OSAL_Dma.c * * (C) Copyright 2007-2012 * Allwinner Technology Co., Ltd. <www.allwinnertech.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; eithe...
no-cannabis/linux-matrix1
drivers/video/sun3i/disp/OSAL/OSAL_Dma.c
C
gpl-2.0
9,842
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * PF_INET protocol family socket handler. * * Authors: Ross Biro * Fred N. van Kempen, <waltje@uWalt.NL.Mugn...
moonman/linux-stable
net/ipv4/af_inet.c
C
gpl-2.0
46,239
/* * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. * * 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 u...
val2k/linux
drivers/gpu/drm/i915/gvt/execlist.c
C
gpl-2.0
27,155
/* $Id: transport_tcp.c 3745 2011-09-08 06:47:28Z bennylp $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
wkritzinger/asuswrt-merlin
release/src/router/asusnatnl/pjproject-1.12/pjmedia/src/pjmedia/transport_tcp.c
C
gpl-2.0
29,403
/* * flexible mmap layout support * * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina. * 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...
mdalexca/marlin
arch/powerpc/mm/mmap.c
C
gpl-2.0
3,057
/* --------------------------------------------------------------------------- Copyright (c) 1998-2010, Brian Gladman, Worcester, UK. All rights reserved. The redistribution and use of this software (with or without changes) is allowed without the payment of fees or royalties provided that: source code distribution...
ColossusCoinXT/ColossusCoinXT
src/minizip/aes/aestab.c
C
mit
15,242
/* * EnGenius ESR900 board support * * Copyright (C) 2008-2012 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> * * 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 th...
pastcompute/openwrt-barrier-breaker-hardening
target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c
C
gpl-2.0
5,337
// SPDX-License-Identifier: GPL-2.0-only /* * call-path.h: Manipulate a tree data structure containing function call paths * Copyright (c) 2014, Intel Corporation. */ #include <linux/rbtree.h> #include <linux/list.h> #include "util.h" #include "call-path.h" static void call_path__init(struct call_path *cp, struct...
koct9i/linux
tools/perf/util/call-path.c
C
gpl-2.0
2,480
/* * Carsten Langgaard, carstenl@mips.com * Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved. * * This program is free software; you can distribute it and/or modify it * under the terms of the GNU General Public License (Version 2) as * published by the Free Software Foundation. * * This...
jmesmon/linux-2.4.37.y
arch/mips/mips-boards/atlas/atlas_setup.c
C
gpl-2.0
3,630
/* * Panasonic HotKey and LCD brightness control driver * (C) 2004 Hiroshi Miura <miura@da-cha.org> * (C) 2004 NTT DATA Intellilink Co. http://www.intellilink.co.jp/ * (C) YOKOTA Hiroshi <yokota (at) netlab. is. tsukuba. ac. jp> * (C) 2004 David Bronaugh <dbronaugh> * (C) 2006-2008 Harald Welte <laforge@gnu...
xobs/linux-2.6.28.mx233-falconwing
drivers/misc/panasonic-laptop.c
C
gpl-2.0
20,334
/* * DFU transfer routines * * This is supposed to be a general DFU implementation, as specified in the * USB DFU 1.0 and 1.1 specification. * * The code was originally intended to interface with a USB device running the * "sam7dfu" firmware (see http://www.openpcd.org/) on an AT91SAM7 processor. * * Copyright...
bufferoverflow/dfu-util
src/dfu_load.c
C
gpl-2.0
5,132
// RUN: rm -rf %t && mkdir -p %t // RUN: xcrun -sdk %target-sdk-name %clang -c -arch %target-cpu %s -o %t/SegmentAlignment.o // RUN: %target-build-swift %S/Inputs/SegmentAlignment.swift -Xlinker %t/SegmentAlignment.o -o %t/a.out // RUN: %target-run %t/a.out | %FileCheck %s // REQUIRES: executable_test // REQUIRES: CP...
codestergit/swift
test/stdlib/SegmentAlignment.c
C
apache-2.0
1,586
/* Copyright (c) 2016 Anton Valentinov Kirilov 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...
actframework/FrameworkBenchmarks
frameworks/C/h2o/src/utility.c
C
bsd-3-clause
2,441
/* * VGICv3 MMIO handling functions * * 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 WARR...
eva-oss/linux
virt/kvm/arm/vgic/vgic-mmio-v3.c
C
gpl-2.0
25,477
/* Copyright (c) 2011-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...
GalaxyTab4/android_kernel_samsung_matissevewifi
drivers/firmware/qcom/tz_log.c
C
gpl-2.0
18,754
/* CoreChip-sz SR9800 one chip USB 2.0 Ethernet Devices * * Author : Liu Junliang <liujunliang_ljl@163.com> * * Based on asix_common.c, asix_devices.c * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, wh...
shminer/kernel-msm-3.18
drivers/net/usb/sr9800.c
C
gpl-2.0
21,051
/* * linux/drivers/gpio/pl061.c * * Copyright (C) 2008, 2009 Provigent Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Driver for the ARM PrimeCell(tm) General Pu...
damienyong/Kernel-3.0.8
kernel/drivers/gpio/pl061.c
C
gpl-2.0
9,093
/* * Copyright (c) 2012 Stefano Sabatini * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any ...
bob-the-hamster/commandergenius
project/jni/ffmpeg/libavfilter/vf_bbox.c
C
lgpl-2.1
3,376
/* 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 the...
supersonicninja/L01FJBKERNEL
drivers/iommu/msm_iommu_dev-v1.c
C
gpl-2.0
13,039
/* Handle initialization things in C++. Copyright (C) 1987-2015 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.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 General Public License as published by the Free S...
nguyentu1602/gcc
gcc/cp/init.c
C
gpl-2.0
139,584
/* Copyright (C) 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell <pjb27@cam.ac.uk>, 1997. 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...
Bytewerk/uClinux-ipcam
uClibc/libc/inet/gai_strerror.c
C
gpl-2.0
2,216
/* * Copyright (C) 2009, 2011 Renesas Solutions Corp. * Copyright (C) 2009 Kuninori Morimoto <morimoto.kuninori@renesas.com> * Copyright (C) 2011 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <command.h> #include <asm/io.h> #include <as...
mdxy2010/forlinux-ok6410
u-boot15/board/renesas/ecovec/ecovec.c
C
gpl-2.0
2,224
/************************************************************************** * Copyright (c) 2007-2011, 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...
aberlemont/linux
drivers/gpu/drm/gma500/framebuffer.c
C
gpl-2.0
20,624
/* * Copyright (C) 2003, Axis Communications AB. */ #include <linux/sched.h> #include <linux/mm.h> #include <linux/kernel.h> #include <linux/signal.h> #include <linux/errno.h> #include <linux/wait.h> #include <linux/ptrace.h> #include <linux/unistd.h> #include <linux/stddef.h> #include <linux/syscalls.h> #include <l...
janrinze/loox7xxport.loox2624
arch/cris/arch-v32/kernel/signal.c
C
gpl-2.0
18,274
/* * Machine check exception handling CPU-side for power7 and power8 * * 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 vers...
aberlemont/linux
arch/powerpc/kernel/mce_power.c
C
gpl-2.0
17,182
/* * Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com> * 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 co...
JRHZRD/swapdb
swap-redis-4.0.0/src/t_list.c
C
bsd-2-clause
34,290
/*------------------------------------------------------------------------- * drawElements Base Portability Library * ------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in ...
endlessm/chromium-browser
third_party/angle/third_party/VK-GL-CTS/src/framework/delibs/debase/deRandom.c
C
bsd-3-clause
3,640
// SPDX-License-Identifier: GPL-2.0 /* * remote processor messaging bus * * Copyright (C) 2011 Texas Instruments, Inc. * Copyright (C) 2011 Google, Inc. * * Ohad Ben-Cohen <ohad@wizery.com> * Brian Swetland <swetland@google.com> */ #define pr_fmt(fmt) "%s: " fmt, __func__ #include <linux/kernel.h> #include <l...
kronat/linux
drivers/rpmsg/rpmsg_core.c
C
gpl-2.0
17,145
/* LZ4 HC - High Compression Mode of LZ4 Copyright (C) 2011-2017, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...
ps2dev/ps2-packer
stub/lz4/lz4hc.c
C
gpl-2.0
66,385