code
stringlengths
1.03k
250k
repo_name
stringlengths
7
70
path
stringlengths
4
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
1.03k
250k
/* This software was developed at the National Institute of Standards and * Technology by employees of the Federal Government in the course of their * official duties. Pursuant to title 17 Section 105 of the United States * Code this software is not subject to copyright protection and is in the * public domain. NIS...
bpowers/DoubleTake
tests/SAMATE/overflow/heap_overflow_location_good_1848.c
C
mit
1,229
// // JHKeyframeAnimationFunctions.c // JHChainableAnimations // // Created by Jeff Hurray on 12/21/16. // Copyright © 2016 jhurray. All rights reserved. // #include "JHKeyframeAnimationFunctions.h" #include <math.h> #include <stdlib.h> // Source: http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js // Cr...
zdrjson/DDKit
iOS/Demo/AwesomeCocopodsLibrary/Pods/JHChainableAnimations/JHChainableAnimations/JHKeyframeAnimationFunctions.c
C
mit
6,305
/* Copyright (C) 2014 by Gianluca Della Vedova You can redistribute this file and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Box is distributed in the hope that...
bioinformatica-corso/2015-16
intro/fibo3.c
C
cc0-1.0
1,687
/* vi: set sw=4 ts=4: */ /* * update_passwd * * update_passwd is a common function for passwd and chpasswd applets; * it is responsible for updating password file (i.e. /etc/passwd or * /etc/shadow) for a given user and password. * * Moved from loginutils/passwd.c by Alexander Shishkin <virtuoso@slind.org> */ ...
rhuitl/uClinux
user/busybox/libbb/update_passwd.c
C
gpl-2.0
3,867
/* * getopt.c - a simple getopt(3) implementation. See getopt.h for explanation. * * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, 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 th...
prpplague/das_oszi_barebox
lib/getopt.c
C
gpl-2.0
3,949
//----------------------------------------------------------------------------- // massbal.c // // Project: EPA SWMM5 // Version: 5.0 // Date: 6/19/07 (Build 5.0.010) // 2/4/08 (Build 5.0.012) // 4/10/09 (Build 5.0.015) // 10/7/09 (Build 5.0.017) // ...
iut-ibk/DynaMind-ToolBox
DynaVIBe/swmm/src/massbal.c
C
gpl-2.0
35,142
//----------------------------------------------------------------------------- // lid.c // // Project: EPA SWMM5 // Version: 5.1 // Date: 07/30/10 (Build 5.0.019) // 04/20/11 (Build 5.0.022) // Author: L. Rossman (US EPA) // // This module handles all processing involving L...
iut-ibk/DynaMind-ToolBox
DynaVIBe/swmm/src/lid.c
C
gpl-2.0
91,930
/* * SuperH Mobile LCDC Framebuffer * * Copyright (c) 2008 Magnus Damm * * 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. */ #include <linux/atomic.h> #include <linux/backlight.h> #include <...
LiquidSmooth-Devices/android_kernel_htc_msm8974
drivers/video/sh_mobile_lcdcfb.c
C
gpl-2.0
43,584
/* Copyright 2008 - 2016 Freescale Semiconductor Inc. * * 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 conditions and th...
Fe-Pi/linux
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
C
gpl-2.0
81,599
/* * rdgif.c * * Copyright (C) 1991-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains routines to read input images in GIF format. * *********************************************...
yeKcim/warmux
old/warmux-11.01/build/android/jni/jpeg/rdgif.c
C
gpl-2.0
1,276
/* 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...
Li-poly/stock-multi-hack
drivers/video/msm/mdss/mdss_mdp_overlay.c
C
gpl-2.0
83,790
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
fluxer/engine
code/client/cl_keys.c
C
gpl-2.0
33,773
/* * Generic waiting primitives. * * (C) 2004 Nadia Yvette Chambers, Oracle */ #include "sched.h" void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) { spin_lock_init(&wq_head->lock); lockdep_set_class_and_name(&wq_head->lock, key, name); INIT_LIST_HEAD(&wq_...
kronat/linux
kernel/sched/wait.c
C
gpl-2.0
13,333
/* * Copyright (C) 2014 Hann Woei Ho * * This file is part of Paparazzi. * * Paparazzi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * P...
HWal/paparazzi
sw/airborne/modules/computer_vision/opticflow_module.c
C
gpl-2.0
7,340
/* Copyright (C) 2005-2017 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 ...
norov/glibc
debug/stack_chk_fail.c
C
gpl-2.0
1,038
/* * AMD 10Gb Ethernet driver * * This file is available to you under your choice of the following two * licenses: * * License 1: GPLv2 * * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. * * This file is free software; you may copy, redistribute and/or modify * it under the terms of the GNU General Pub...
RoadRunnr/net-next
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
C
gpl-2.0
65,539
/* * drivers/cpufreq/cpufreq_lulzactive.c * * Copyright (C) 2010 Google, Inc. * * 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 distribu...
neobuddy89/vibrant_mackay_kernel
drivers/cpufreq/cpufreq_lulzactive.c
C
gpl-2.0
35,922
/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: packets.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "packets.pb-c.h" void gg110_login_ok__init (GG110LoginOK ...
N8Fear/purple-facebook
.pidgin/libpurple/protocols/gg/lib/packets.pb-c.c
C
gpl-2.0
75,591
/* Partial symbol tables. Copyright (C) 2009-2016 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the Lic...
swigger/gdb-ios
gdb/psymtab.c
C
gpl-2.0
65,141
/* * Copyright (C) 2007 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/LICENSE-2.0 * * Unless required by app...
hyperion70/j608_kernel
sound/soc/mediatek/mt_soc_audio_6580/mt_soc_pcm_routing.c
C
gpl-2.0
35,762
/* * f_rndis.c -- RNDIS link function driver * * Copyright (C) 2003-2005,2008 David Brownell * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger * Copyright (C) 2008 Nokia Corporation * Copyright (C) 2009 Samsung Electronics * Author: Michal Nazarewicz (mina86@mina86.com) * * This p...
caplio/android_kernel_samsung_hltedcm
drivers/usb/gadget/f_rndis.c
C
gpl-2.0
28,585
/* * Copyright 2004,2005,2006,2007,2008 Red Hat, Inc. * * 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, and the entire permission n...
rhuitl/uClinux
user/pam_krb5/src/afs5log.c
C
gpl-2.0
7,593
/* linux/include/asm-arm/arch-s3c2410/time.h * * Copyright (C) 2003 Simtec Electronics <linux@simtec.co.uk> * Ben Dooks, <ben@simtec.co.uk> * * 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...
dduval/kernel-rhel4
arch/arm/mach-s3c2410/time.c
C
gpl-2.0
4,928
#include <stdio.h> #include <stdlib.h> #include <string.h> #define __USE_GNU #include <search.h> #include "lang.h" #define BUFSIZE 2048 static char *get_lang_charset(const char *lang); static void create_hash(int max); static void destroy_hash(); static int insert_key_val_into_hash(const char *key, const char *val,...
choushane/MaRa-a1a0a5aNaL
package/ezp-httpd/src/lang.c
C
gpl-2.0
4,526
/* * Copyright (c) 2003 Matteo Frigo * Copyright (c) 2003 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 License, or * (at...
petterreinholdtsen/cinelerra-hv
thirdparty/fftw-3.0.1/dft/simd/codelets/n1bv_5.c
C
gpl-2.0
3,357
/* packet-ipmi-storage.c * Sub-dissectors for IPMI messages (netFn=Storage) * Copyright 2007-2008, Alexey Neyman, Pigeon Point Systems <avn@pigeonpoint.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can ...
sodzawic/tk
epan/dissectors/packet-ipmi-storage.c
C
gpl-2.0
38,325
/* * Copyright (c) 2002, Intel Corporation. All rights reserved. * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. * * The mmap( ) function shall fail if: * [EBADF] The fildes argument is not a valid open file ...
ycui1984/posixtestsuite
posixtestsuite/conformance/interfaces/mmap/19-1.c
C
gpl-2.0
1,184
/* $Id: irq.c,v 1.20 2004/01/13 05:52:11 kkojima Exp $ * * linux/arch/sh/kernel/irq.c * * Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar * * * SuperH version: Copyright (C) 1999 Niibe Yutaka */ /* * IRQs are in fact implemented a bit like signal handlers for the kernel. * Naturally it's not a 1:1 rel...
dduval/kernel-rhel4
arch/sh/kernel/irq.c
C
gpl-2.0
16,933
/* * Copyright 2006 Andi Kleen, SUSE Labs. * Subject to the GNU Public License, v.2 * * Fast user context implementation of clock_gettime, gettimeofday, and time. * * 32 Bit compat layer by Stefani Seibold <stefani@seibold.net> * sponsored by Rohde & Schwarz GmbH & Co. KG Munich/Germany * * The code should ha...
aseering/linux
arch/x86/entry/vdso/vclock_gettime.c
C
gpl-2.0
8,156
#include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/err.h> #include <asm/mach-types.h> #include <asm/gpio.h> #include <asm/io.h> #include <linux/skbuff.h> #include <linux/gpio.h> #include "linux/i2c/cpld.h" #include <linux/module.h> #include <l...
free-z4u/android_kernel_htc_z4u
arch/arm/mach-msm/board-cp3-wifi.c
C
gpl-2.0
3,819
#define HIETH_SFV300 #include <config.h> #include "hieth.h" #include "mdio.h" #include "mac.h" #include "ctrl.h" #include "glb.h" int hieth_glb_preinit_dummy(struct hieth_netdev_local *ld) { local_lock_init(ld); /* FIXME: hieth_glb_preinit_dummy * HW MAX DEFAULT RX-PKT-LEN [42,1518] * HW MAC FILTER TABLE DISAB...
TangCheng/hisi351x_uboot
drivers/net/hisfv300/glb.c
C
gpl-2.0
1,684
/* * Linux Socket Filter - Kernel level socket filtering * * Author: * Jay Schulist <jschlst@samba.org> * * Based on the design of: * - The Berkeley Packet Filter * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publi...
fizista/Dorimanx-SG2-I9100-Kernel
net/core/filter.c
C
gpl-2.0
18,280
/* * Copyright 2010 Hauke Mehrtens <hauke@hauke-m.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. * * Compatibility file for Linux wireless for kernels 2.6.37. */ #in...
wwenigma/android_kernel_alcatel_cocktail
drivers/net/wireless/compat-wireless/compat/compat-2.6.37.c
C
gpl-2.0
7,730
/* * Driver for the Conexant CX23885 PCIe bridge * * Copyright (c) 2006 Steven Toth <stoth@hauppauge.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 Li...
janrinze/loox7xxport
drivers/media/video/cx23885/cx23885-dvb.c
C
gpl-2.0
14,519
/* * gui-color.c - color functions (used by all GUI) * * Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org> * * This file is part of WeeChat, the extensible chat client. * * WeeChat is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
foresthz/weechat0
src/gui/gui-color.c
C
gpl-3.0
28,230
/*** * Excerpted from "Test-Driven Development for Embedded C", * published by The Pragmatic Bookshelf. * Copyrights apply to this code. It may not be used to create training material, * courses, books, articles, and the like. Contact us if you are in doubt. * We make no guarantees that this code is fit for any p...
pedrohfornari/tdd_embeddedC
code/docs/STMicroelectronics/c2414.c
C
gpl-3.0
65,880
/***************************************************************************** * * Filename: * --------- * sensor.c * * Project: * -------- * DUMA * * Description: * ------------ * Source code of Sensor driver * * * Author: * ------- * PC Huang (MTK02204) * *==================================...
shlyakpavel/s720-w832-KK-kernel
mediatek/custom/common/kernel/imgsensor/ov3640_yuv/ov3640yuv_Sensor.c
C
gpl-3.0
113,481
/* This file is part of darktable, copyright (c) 2018 Pascal Obry copyright (c) 2019 tobias ellinghaus darktable 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 3 of ...
edgardoh/darktable
src/common/iop_group.c
C
gpl-3.0
1,955
/* * YAFFS: Yet another FFS. A NAND-flash specific file system. * * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Timothy Manning <timothy@yaffs.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of th...
daydaygit/flrelse
linux-3.0.1/yaffs2/direct/timothy_tests/quick_tests/test_yaffs_symlink_ENOENT2.c
C
gpl-3.0
1,120
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
alongwithyou/rnnlib
hdf5_snap/src/H5B.c
C
gpl-3.0
83,214
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
nrz/ylikuutio
external/SDL2-2.0.14/src/video/x11/SDL_x11window.c
C
agpl-3.0
58,584
/* * Copyright (C) 2014 Freie Universität Berlin * Copyright (C) 2015 Zolertia SL * * 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 boards_remote-reva * @{ * * @file ...
aabadie/RIOT
boards/remote-reva/board.c
C
lgpl-2.1
1,643
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "ipm_core.h" int ipm_get_procmem(double *bytes) { FILE *fh; int proc_ret; char proc_var[80]; char *cp; long long int ibytes; #if defined(OS_LINUX) #ifndef LINUX_XT3 #define PROCMEM_LINUX_PROC #endif #endif #if defined (OS_AIX) #def...
xiansl/IPM
src/memusage.c
C
lgpl-2.1
2,065
/* * Copyright (C) 2008-2009 Advanced Micro Devices, Inc. All Rights Reserved. * * This file is part of libacml_mv. * * libacml_mv 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...
simonbyrne/libacml_mv
src/tanhf.c
C
lgpl-2.1
3,389
/* * %CopyrightBegin% * * Copyright Ericsson AB 2001-2014. 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 * * http://www.apache.org/licenses/LICENSE-2.0 *...
derek121/otp
erts/emulator/hipe/hipe_x86_signal.c
C
apache-2.0
13,400
/* * sophia database * sphia.org * * Copyright (c) Dmitry Simonenko * BSD License */ #include <sophia.h> #include <libss.h> #include <libsf.h> #include <libsr.h> #include <libsv.h> #include <libsd.h> #include <libst.h> static void cursor_md_test0(void) { void *env = sp_env(); t( env != NULL ); t( sp_setstrin...
Safari77/sophia
test/generic/cursor_md.test.c
C
bsd-2-clause
2,576
/* Copyright (c) 2016, Linaro Limited * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <stdlib.h> #include <string.h> #include <example_debug.h> #include <odp_api.h> #include <odp_l3fwd_db.h> /** Jenkins hash support. * * Copyrig...
mike-holmes-linaro/odp
example/l3fwd/odp_l3fwd_db.c
C
bsd-3-clause
11,293
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* EC for Link board configuration */ #include "adc.h" #include "adc_chip.h" #include "backlight.h" #include "chipset.h" #include "common.h" #i...
mtk09422/chromiumos-platform-ec
board/link/board.c
C
bsd-3-clause
5,470
/*- * 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) 2008 - 2011 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it u...
jrobhoward/SCADAbase
sys/dev/isci/scil/scif_sas_timer.c
C
bsd-3-clause
4,449
#include "terms_surface.h" #include "terms.h" #include "geommech.h" #undef __FUNC__ #define __FUNC__ "dw_surface_ltr" /*! @par Revision history: - 06.09.2006, c - 11.10.2006 */ int32 dw_surface_ltr( FMField *out, FMField *traction, Mapping *sg ) { int32 ii, dim, sym, nQP, nFP, ret = RET_OK; FMField *outQP = ...
rc/sfepy
sfepy/terms/extmods/terms_surface.c
C
bsd-3-clause
2,802
/* * * 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...
maxwell-demon/grpc
src/core/iomgr/executor.c
C
bsd-3-clause
4,991
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" FLA_Error FLA_Sylv_hh_bl...
dxander/libflame
src/lapack/sol/sylv/hh/flamec/FLA_Sylv_hh_blk_var17.c
C
bsd-3-clause
2,376
/* ** $Id: lcorolib.c,v 1.10.1.1 2017/04/19 17:20:42 roberto Exp $ ** Coroutine Library ** See Copyright Notice in lua.h */ #define lcorolib_c #define LUA_LIB #include "lprefix.h" #include <stdlib.h> #include "lua.h" #include "lauxlib.h" #include "lualib.h" static lua_State *getco (lua_State *L) { lua_State *...
nodemcu/nodemcu-firmware
app/lua53/lcorolib.c
C
mit
3,765
/* * Copyright 2008-2012 Freescale Semiconductor Inc. * * 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 conditions ...
jwhitham/ppc_linux
drivers/net/ethernet/freescale/fman/Peripherals/FM/SP/fm_sp.c
C
gpl-2.0
34,528
/* * Copyright (c) 2011-2014, 2016 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 copyrigh...
BhavySinghal/qassam-le2
drivers/staging/prima/CORE/MAC/src/pe/lim/limScanResultUtils.c
C
gpl-2.0
41,394
/* * drivers/cpufreq/cpufreq_interactive.c * * Copyright (C) 2010 Google, Inc. * * 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 distrib...
Pillar1989/linux-a80-3.4
drivers/cpufreq/cpufreq_interactive.c
C
gpl-2.0
46,906
/* Copyright (C) 1991-2016 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 ...
Chilledheart/glibc
sysdeps/posix/ttyname.c
C
gpl-2.0
3,374
/* * This definitions of the PIC18F67J11 MCU. * * This file is part of the GNU PIC library for SDCC, originally * created by Molnar Karoly <molnarkaroly@users.sf.net> 2014. * * This file is generated automatically by the cinc2h.pl, 2014-07-08 08:41:51 UTC. * * SDCC is licensed under the GNU Public license (GPL)...
PinguinoIDE/pinguino-compilers
windows64/p8/share/sdcc/non-free/lib/src/pic16/libdev/pic18f67j11.c
C
gpl-2.0
12,643
#include <linux/module.h> #include <linux/skbuff.h> #include <net/ip.h> #include <net/ipv6.h> #include <linux/sctp.h> #include <linux/netfilter/x_tables.h> #include <linux/netfilter/xt_sctp.h> #include <linux/netfilter_ipv4/ip_tables.h> #include <linux/netfilter_ipv6/ip6_tables.h> MODULE_LICENSE("GPL"); MODULE_AUTHOR...
jkoelndorfer/android-kernel-msm
net/netfilter/xt_sctp.c
C
gpl-2.0
5,210
/* Interpolation for Kirchhoff-type operators (without antialiasing). */ /* Copyright (C) 2004 University of Texas at Austin 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...
zxtstarry/src
user/aklokov/stretch.c
C
gpl-2.0
2,400
/** ********************************************************************************* * * @file ald_lpuart.c * @brief Low Power UART module driver. * This file provides firmware functions to manage the following * functionalities of the Low Power Universal Asynchronous Receiver * ...
grissiom/rt-thread
bsp/essemi/es32f0334/libraries/ES32F033x_ALD_StdPeriph_Driver/Source/ald_lpuart.c
C
gpl-2.0
38,963
/* 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...
maniacx/android_kernel_htcleo-3.0_older
arch/arm/mach-msm/clock-pcom-lookup.c
C
gpl-2.0
19,855
/*************************************************************************** * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * * Copyrig...
tthef/openocd
src/target/arm946e.c
C
gpl-2.0
18,915
/* * IPv6 Address [auto]configuration * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published ...
blkredstarV/kernel_asus_moorefield
net/ipv6/addrconf.c
C
gpl-2.0
128,268
/* * Common time routines among all ppc machines. * * Written by Cort Dougan (cort@cs.nmt.edu) to merge * Paul Mackerras' version and mine for PReP and Pmac. * MPC8xx/MBX changes by Dan Malek (dmalek@jlc.net). * Converted for 64-bit by Mike Corrigan (mikejc@us.ibm.com) * * First round of bugfixes by Gabriel Pau...
BADBDY23/BKernel
arch/powerpc/kernel/time.c
C
gpl-2.0
34,273
/* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
PrasannaC/Galaxy_Fit_s5670-msm7x27_kernel
drivers/power/msm_battery.c
C
gpl-2.0
42,046
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2006-2010 Nokia Corporation * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.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 b...
sdemario/BlueZ
src/manager.c
C
gpl-2.0
10,125
/* * linux/fs/namespace.c * * (C) Copyright Al Viro 2000, 2001 * Released under GPL v2. * * Based on code from fs/super.c, copyright Linus Torvalds and others. * Heavily rewritten. */ #include <linux/syscalls.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/smp_lock.h> #include <linux/init....
gchiii/am3517_evm-linux
fs/namespace.c
C
gpl-2.0
59,236
/* Copyright (C) 2012-2013 Free Software Foundation, Inc. Contributed by Richard Henderson <rth@redhat.com>. This file is part of the GNU Atomic Library (libatomic). Libatomic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by th...
jjones-cavium/gcc
libatomic/gexch.c
C
gpl-2.0
3,981
/* piix4.c - Part of lm_sensors, Linux kernel modules for hardware monitoring Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl> and Philip Edelbrock <phil@netroedge.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General ...
nandra/omap_850_kernel
drivers/i2c/busses/i2c-piix4.c
C
gpl-2.0
13,133
/*The file is auto generated by tools, don't modify it manully.*/ #include <hsad/config_data.h> #include <hsad/config_general_struct.h> config_pair frontvn1p3_hw_configs_common [] = { {"audio/audience_type", (const unsigned int)(unsigned int*)"uart", E_CONFIG_DATA_TYPE_STRING }, {"audio/enhance_type", (const ...
stap75/android_kernel_huawei_viva
drivers/huawei/hsad/auto-generate/frontvn1p3_hw_configs.c
C
gpl-2.0
2,897
/* * fs/cifs/file.c * * vfs operations that deal with files * * Copyright (C) International Business Machines Corp., 2002,2010 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * * This library is free software; you can redistribute it and/or modify * it...
gnehzuil/ali_kernel
fs/cifs/file.c
C
gpl-2.0
60,689
/****************************************************************************** * * Copyright(c) 2003 - 2010 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...
Metaluim/linux-rtws-2.6.36-d13
drivers/net/wireless/iwlwifi/iwl3945-base.c
C
gpl-2.0
125,030
/* Copyright (C) 1994-2016 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 ...
geminy/aidear
oss/glibc/glibc-2.24/misc/mprotect.c
C
gpl-3.0
1,171
/* ---------------------------------------------------------------------- * Copyright (C) 2010-2014 ARM Limited. All rights reserved. * * $Date: 03. January 2017 * $Revision: V.1.5.0 * * Project: CMSIS DSP Library * Title: arm_biquad_cascade_df2T_f64.c * * Description: Processing function for the...
dkmorb/axoloti
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df2T_f64.c
C
gpl-3.0
18,162
/*- * Copyright 2009 Colin Percival, 2011 ArtForz * 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 li...
edescourtis/ecoinpool
apps/ecoinpool/c_src/scrypt.c
C
gpl-3.0
18,696
#include <config.h> #include <inttypes.h> #include "testutils.h" #include "virfilewrapper.h" #include "qemu/qemu_vhost_user.h" #include "configmake.h" #define VIR_FROM_THIS VIR_FROM_QEMU /* A very basic test. Parse given JSON vhostuser description into * an internal structure, format it back and compare with the ...
libvirt/libvirt
tests/qemuvhostusertest.c
C
lgpl-2.1
3,454
#include "dsdp5.h" #include "dsdpconverge.h" /*! \file dsdpconverge.c \brief Monitor convergence. */ extern int DSDPGetConvergenceMonitor(DSDP, ConvergenceMonitor**); /*! \fn int DSDPDefaultConvergence(DSDP dsdp, void *ctx) \brief Check for Convergence. \param dsdp is the solver \param ctx is a pointer to a str...
ghorn/casadi
external_packages/DSDP/src/solver/dsdpconverge.c
C
lgpl-3.0
9,895
/* Farsight * Copyright (C) 2006 Marcel Moreaux <marcelm@spacelabs.nl> * (C) 2008 Wim Taymans <wim.taymans@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; ei...
google/aistreams
third_party/gst-plugins-good/gst/rtp/gstrtpdvpay.c
C
apache-2.0
11,949
/* * ZMap Copyright 2013 Regents of the University of Michigan * * 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 */ #include <stdlib.h> #incl...
prelongs/zmapscan
src/aesrand.c
C
apache-2.0
1,509
/* * Copyright (C) 2007, Andrew Butcher Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writi...
davidljung/rl-glue
src/RL_server_agent.c
C
apache-2.0
6,300
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard st, Cambridge MA, 02139 USA 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 Softw...
hlzz/dotfiles
science/igraph-0.7.1/examples/simple/matrix2.c
C
bsd-3-clause
8,733
/* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Ozan Yigit at York University. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
igor-m/retrobsd-with-double-precison
src/cmd/m4/expr.c
C
bsd-3-clause
10,673
/* * linux/arch/arm/mach-vexpress/platsmp.c * * Copyright (C) 2002 ARM Ltd. * 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. */ #include <linux/init....
mikedlowis-prototypes/albase
source/kernel/arch/arm/mach-vexpress/platsmp.c
C
bsd-2-clause
1,945
#include "defs.h" double get_seconds() { struct timeval tp; gettimeofday(&tp, NULL); return (double) (tp.tv_sec + ((1e-6)*tp.tv_usec)); } void prefix_sums(LONG_T *input, LONG_T* result, LONG_T* p, LONG_T n) { LONG_T i; #ifdef _OPENMP LONG_T j, r, start, end, add_value; int tid, nthre...
mcai/Archimulator
benchmarks/SSCA_Custom1/SSCA/ht/utils.c
C
mit
1,103
/* * BK Id: SCCS/s.semaphore.c 1.12 05/17/01 18:14:22 cort */ /* * PowerPC-specific semaphore code. * * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu> * * 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 Sof...
bticino/linux-2.4.19-rmk7-pxa2-btweb
arch/ppc/kernel/semaphore.c
C
gpl-2.0
3,583
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * 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 License, or (at your option) a...
vicamo/NetworkManager
libnm/nm-device-infiniband.c
C
gpl-2.0
6,830
/* * R : A Computer Language for Statistical Data Analysis * Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka * Copyright (C) 1997--2015 The R Core Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by *...
WelkinGuan/r-source
src/main/deparse.c
C
gpl-2.0
45,361
/* crypto/pem/pem_pkey.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 no...
ysleu/RTL8685
uClinux-dist/lib/openssl-0.9.8b/crypto/pem/pem_pkey.c
C
gpl-2.0
5,485
/* Helper function for cshift functions. Copyright (C) 2008-2017 Free Software Foundation, Inc. Contributed by Thomas Koenig <tkoenig@gcc.gnu.org> 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...
mickael-guene/gcc
libgfortran/generated/cshift0_c16.c
C
gpl-2.0
4,672
/* resources.c - manage X resources (colors etc) * * Window Maker window manager * * Copyright (c) 1997-2003 Alfredo K. Kojima * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; eith...
crmafra/wmaker
src/resources.c
C
gpl-2.0
1,828
/* * ARM Versatile/PB PCI host controller * * Copyright (c) 2006-2009 CodeSourcery. * Written by Paul Brook * * This code is licenced under the LGPL. */ #include "sysbus.h" #include "pci.h" typedef struct { SysBusDevice busdev; qemu_irq irq[4]; int realview; int mem_config; } PCIVPBState; stat...
bulotus/bulotus-qemu-at91sam9263ek
hw/versatile_pci.c
C
gpl-2.0
4,541
/* Control flow functions for trees. Copyright (C) 2001-2015 Free Software Foundation, Inc. Contributed by Diego Novillo <dnovillo@redhat.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 Softw...
nguyentu1602/gcc
gcc/tree-cfg.c
C
gpl-2.0
242,555
/* * PCIe host controller driver for TEGRA SOCs * * Copyright (c) 2010, CompuLab, Ltd. * Author: Mike Rapoport <mike@compulab.co.il> * * Based on NVIDIA PCIe driver * Copyright (c) 2008-2015, NVIDIA Corporation. All rights reserved. * * Bits taken from arch/arm/mach-dove/pcie.c * * This program is free softw...
arter97/android_kernel_nvidia_shieldtablet
drivers/pci/host/pci-tegra.c
C
gpl-2.0
116,609
/* Work with executable files, for GDB. Copyright (C) 1988-2003, 2007-2012 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; e...
adapteva/epiphany-gdb
gdb/exec.c
C
gpl-2.0
26,522
/* ** IA64 System Bus Adapter (SBA) I/O MMU manager ** ** (c) Copyright 2002-2004 Alex Williamson ** (c) Copyright 2002-2003 Grant Grundler ** (c) Copyright 2002-2004 Hewlett-Packard Company ** ** Portions (c) 2000 Grant Grundler (from parisc I/O MMU code) ** Portions (c) 1999 Dave S. Miller (from sparc64 I/O MMU code...
ashish-17/linux-2.4.27-CS518
arch/ia64/hp/common/sba_iommu.c
C
gpl-2.0
49,618
/* * Utility functions called from fips_crypto_hmac.sh. * * executed during Kernel build * * * Author : Rohit Kothari (r.kothari@samsung.com) * Date : 11 Feb 2014 * * Copyright (c) 2014 Samsung Electronics * */ #include <stdio.h> #include <stdlib.h> #include <string.h> int collect_crypto_bytes(const c...
gugu0das/android_kernel_samsung_jactivelteskt
scripts/fips_crypto_utils.c
C
gpl-2.0
5,828
/* * Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * Copyright (C) 2009 Sourcefire, Inc. * * Authors: aCaB <acab@clamav.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * p...
vrtadmin/clamav-devel
win32/compat/net.c
C
gpl-2.0
11,969
/* * kernel/power/autosleep.c * * Opportunistic sleep support. * * Copyright (C) 2012 Rafael J. Wysocki <rjw@sisk.pl> * Copyright (c) 2014 Sony Mobile Communications Inc. */ #include <linux/device.h> #include <linux/mutex.h> #include <linux/pm_wakeup.h> #include <linux/wakelock.h> #ifdef CONFIG_POWERSUSPEND #i...
Red--Code/android_kernel_sony_msm8974ac
kernel/power/autosleep.c
C
gpl-2.0
4,348
/* * V210 decoder * * Copyright (C) 2009 Michael Niedermayer <michaelni@gmx.at> * Copyright (c) 2009 Baptiste Coudurier <baptiste dot coudurier at gmail dot com> * * 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 Pu...
SuperrSonic/WiiMC-SSLC
source/mplayer/ffmpeg/libavcodec/v210dec.c
C
gpl-3.0
5,684