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
/* * Copyright (c) 2013-2015 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright noti...
mdalexca/OP3
drivers/staging/qcacld-2.0/CORE/UTILS/PKTLOG/pktlog_internal.c
C
gpl-2.0
18,685
/****************************************************************************** * * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the ...
linuxmake/kernel_softwinner_fiber
drivers/net/wireless/rtl8723au/os_dep/linux/sdio_intf.c
C
gpl-2.0
37,545
/* * Cisco router simulation platform. * Copyright (c) 2007 Christophe Fillot (cf@utc.fr) * * ATM bridge (RFC1483) */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <pthread.h> #include <errno.h> #include <sys/select.h> #include <sys/time.h> #include <sys/types.h> #includ...
dlintott/dynamips
common/atm_bridge.c
C
gpl-2.0
9,217
/* With the support of the HTML format ( msg & Reply ) ******************* * ReZa Hextor * * @HEXTOR_CH * ******************* */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef USE_LUA #include "lua-tg.h" #include <string.h> #include <stdlib.h> #include <lua.h> #include <lualib.h> #include <lauxl...
aboskroop/smilebot
tg/lua-tg.c
C
gpl-2.0
61,674
/* * kernel/sched/core.c * * Kernel scheduler and related syscalls * * Copyright (C) 1991-2002 Linus Torvalds * * 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and * make semaphores SMP safe * 1998-11-19 Implemented schedule_timeout() and related stuff * by Andrea Arcangeli * 2002-01...
jfdsmabalot/kernel_moto-x
kernel/sched/core.c
C
gpl-2.0
207,893
/* 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...
fredvj/kernel_huawei_u8860
arch/arm/mach-msm/board-8960.c
C
gpl-2.0
58,168
/* * drivers/gpu/ion/ion.c * * Copyright (C) 2011 Google, Inc. * Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. * * 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 m...
neighborhoodhacker/msm-3.4
drivers/gpu/ion/ion.c
C
gpl-2.0
48,872
/* * PROJECT: ReactOS Kernel * LICENSE: GPL - See COPYING in the top level directory * FILE: ntoskrnl/fsrtl/fsrtlpc.c * PURPOSE: Contains initialization and support code for the FsRtl * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org) */ /* INCLUDES ********************...
rickerliang/reactos-mirror2
ntoskrnl/fsrtl/fsrtlpc.c
C
gpl-2.0
12,606
/****************************************************************************** Copyright(C)2008,Hisilicon Co. LTD. ****************************************************************************** File Name : diag_Debug.c Description : History : 1.w00182550 2012-11-19 D...
araca/Zen-Kernel-Huawei-P7
drivers/hisi/modem/oam/lt/comm/diag/diag_debug.c
C
gpl-2.0
39,986
/* vi: set sw=4 ts=4: */ /* * Copyright (C) 2011 Denys Vlasenko. * * Licensed under GPLv2, see file LICENSE in this source tree. */ #include "common.h" #include "d6_common.h" #include "dhcpd.h" #include <netinet/in.h> #include <netinet/if_ether.h> #include <netpacket/packet.h> #if defined CONFIG_UDHCP_DEBUG && CON...
marcoguerri/busybox
networking/udhcp/d6_packet.c
C
gpl-2.0
4,591
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published b...
linuxmake/kernel_softwinner_fiber
drivers/net/wireless/rtl8188eu/hal/rtl8188e/rtl8188e_phycfg.c
C
gpl-2.0
106,993
/* Copyright (C) 2017 Open Information Security Foundation * * You can copy, redistribute or modify this Program 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...
daviddiallo/suricata
src/util-napatech.c
C
gpl-2.0
27,688
/* * Code for replacing ftrace calls with jumps. * * Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com> * * Thanks goes to Ingo Molnar, for suggesting the idea. * Mathieu Desnoyers, for suggesting postponing the modifications. * Arjan van de Ven, for keeping me straight, and explaining to me * the dan...
AdaLovelance/lxcGrsecKernels
linux-3.14.37/arch/x86/kernel/ftrace.c
C
gpl-2.0
18,509
/* packet-homeplug-av.c * Routines for HomePlug AV dissection * * Copyright 2011, Florian Fainelli <florian[AT]openwrt.org> * * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald[AT]wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it an...
boundary/wireshark
epan/dissectors/packet-homeplug-av.c
C
gpl-2.0
189,508
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
liquidmetal/bananaman
jni/gfx/vorbis/codebook.c
C
gpl-2.0
16,537
/* arch/arm/mach-msm/nand_partitions.c * * Code to extract partition information from ATAG set up by the * bootloader. * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved. * Author: Brian Swetland <swetland@google.com> * * This software is licensed under the te...
jab2/android_kernel_lge_l45c
arch/arm/mach-msm/nand_partitions.c
C
gpl-2.0
4,878
/* * linux/arch/arm/mach-pxa/pxa27x.c * * Author: Nicolas Pitre * Created: Nov 05, 2002 * Copyright: MontaVista Software Inc. * * Code specific to PXA27x aka Bulverde. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 ...
abgoyal/entourage_edge_kernel
arch/arm/mach-pxa/pxa27x.c
C
gpl-2.0
10,066
/* mpfr_digamma -- digamma function of a floating-point number Copyright 2009, 2010 Free Software Foundation, Inc. Contributed by the Arenaire and Cacao projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/or modify it under the terms of the G...
gnooth/xcl
mpfr/digamma.c
C
gpl-2.0
12,180
/** * collectd - src/multimeter.c * Copyright (C) 2005,2006 Peter Holik * * 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...
ciomaire/collectd
src/multimeter.c
C
gpl-2.0
5,486
/* * Bitbanging I2C bus driver using the GPIO API * * Copyright (C) 2007 Atmel 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. */ #include <linux/i2c.h> #include ...
janrinze/loox7xxport
drivers/i2c/busses/i2c-gpio.c
C
gpl-2.0
5,390
/* * Routines for Gravis UltraSound soundcards * Copyright (c) by Jaroslav Kysela <perex@suse.cz> * * * 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 Licen...
camelguo/linux-2.6-trimedia
sound/isa/gus/gus_main.c
C
gpl-2.0
14,194
/* { dg-do run } */ /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-unroll-loops --save-temps -fno-inline" } */ #define FTYPE double #define OP == #define INV_OP != #include "vect-fcm.x" /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 3 "vect" } } */ /* { dg-final { scan-assembler "fcmeq\\t...
atgreen/gcc
gcc/testsuite/gcc.target/aarch64/vect-fcm-eq-d.c
C
gpl-2.0
543
/* Perform doloop optimizations Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz) 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 publis...
unofficial-opensource-apple/gccfast
gcc/doloop.c
C
gpl-2.0
28,554
/* key.c: basic authentication token and access key management * * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published ...
fzqing/linux-2.6
security/keys/key.c
C
gpl-2.0
24,127
/* * Copyright (C)2008 Sourcefire, Inc. * * Author: 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 * published by the Free Software Foundation. * * This program is distributed in the hope ...
rhuitl/uClinux
user/clamav/clamav-milter/whitelist.c
C
gpl-2.0
3,086
/* Unix SMB/CIFS implementation. WINS Replication server Copyright (C) Stefan Metzmacher 2005 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...
urisimchoni/samba
source4/wrepl_server/wrepl_server.c
C
gpl-3.0
14,906
/* * hostapd / EAP-TTLS (RFC 5281) * Copyright (c) 2004-2011, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/ms_funcs.h" #include "crypto/sha1.h" #include "crypto/tls.h"...
anoidgit/padavan
trunk/user/wpa_supplicant/src/eap_server/eap_server_ttls.c
C
gpl-3.0
36,458
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * gimpbrush-transform.c * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either versi...
mardy/gimb
app/core/gimpbrush-transform.c
C
gpl-3.0
28,202
/* * FLV muxer * Copyright (c) 2003 The FFmpeg Project * * 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 yo...
luisvt/xuggle-xuggler
captive/ffmpeg/csrc/libavformat/flvenc.c
C
gpl-3.0
18,042
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "EUTRA-RRC-Definitions" * found in "fixed_grammar.asn" * `asn1c -gen-PER` */ #include "UECapabilityEnquiry-v8a0-IEs.h" static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), (ASN_TAG_CLAS...
massar5289/openairinterface5G
cmake_targets/oaisim_build_oai/build/CMakeFiles/Rel10/UECapabilityEnquiry-v8a0-IEs.c
C
gpl-3.0
4,094
/** * @file * Transmission Control Protocol, outgoing traffic * * The output functions of TCP. * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that th...
dcnewman/RepRapFirmware
src/Duet/Lwip/lwip/src/core/tcp_out.c
C
gpl-3.0
50,490
/* Hey EMACS -*- linux-c -*- */ /* $Id: scroptions.c 2753 2007-12-30 23:14:15Z kevinkofler $ */ /* TiEmu - Tiemu Is an EMUlator * * Copyright (c) 2000-2001, Thomas Corvazier, Romain Lievin * Copyright (c) 2001-2003, Romain Lievin * Copyright (c) 2003, Julien Blache * Copyright (c) 2004, Romain Liévin * Cop...
evnhali/titanium-emu
jni/tiemu-3.03/src/gui/scroptions.c
C
gpl-3.0
9,191
/* Unix SMB/CIFS implementation. Files[] structure handling Copyright (C) Andrew Tridgell 1998 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 ...
framon/samba
source3/smbd/files.c
C
gpl-3.0
17,834
/**************************************************************************/ /*! @file pwm.c @author K. Townsend (microBuilder.eu) @brief Simple PWM example that can be used to control a motor, dim an LED, etc. Uses 16-bit Timer 1 and P1.9 for PWM output. @section Example ...
jhnphm/xbs_xbd
platforms/lpc1114-evb/microbuilder_sdk/core/pwm/pwm.c
C
gpl-3.0
8,366
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1996, 2014 Oracle and/or its affiliates. All rights reserved. * * $Id$ */ #include "db_config.h" #include "db_int.h" #ifndef lint static const char copyright[] = "Copyright (c) 2010, 2014 Oracle and/or its affiliates. All rights...
zheguang/BerkeleyDB
util/db_replicate.c
C
agpl-3.0
10,413
/** * \file files.c * Example program that lists all files on a device. * * Copyright (C) 2005-2012 Linus Walleij <triad@df.lth.se> * Copyright (C) 2007 Ted Bullock <tbullock@canada.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publi...
philipl/libmtp
examples/files.c
C
lgpl-2.1
4,555
/* Copyright (C) 2006 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT AN...
natsys/mariadb_10.2
storage/maria/unittest/lockman2-t.c
C
lgpl-2.1
9,304
/* * libscdl.c: wrappers for dlfcn() interfaces * * Copyright (C) 2010 Martin Paljak <martin@martinpaljak.net> * * 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 ...
Nitrokey/OpenSC-main
src/common/libscdl.c
C
lgpl-2.1
1,598
/******************************************************************** * Description: hal_bb_gpio.c * Driver for the BeagleBone GPIO pins * * Author: Ian McMahon <imcmahon@prototechnical.com> * License: GPL Version 2 * Copyright (c) 2013. * *********************************************************...
strahlex/machinekit
src/hal/drivers/hal_bb_gpio/hal_bb_gpio.c
C
lgpl-2.1
15,485
/* specfunc/ellint.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * 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 (at * your optio...
PeterWolf-tw/NeoPraat
sources_5401/external/gsl/gsl_specfunc__ellint.c
C
lgpl-3.0
19,464
/** * FreeRDP: A Remote Desktop Protocol Implementation * Android Clipboard Redirection * * Copyright 2013 Felix Long * Copyright 2015 Thincast Technologies GmbH * Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you...
MartinHaimberger/FreeRDP
client/Android/android_cliprdr.c
C
apache-2.0
11,177
/* * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
openweave/openweave-core
third_party/openssl/openssl/test/crltest.c
C
apache-2.0
14,945
/* * $Id: tpix_manager.c,v 1.2 2012/09/23 12:44:41 drolon Exp $ * * Copyright (c) 2002-2011, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium * Copyright (c) 2002-2011, Professor Benoit Macq * Copyright (c) 2003-2004, Yannick Verschueren * Copyright (c) 2010-2011, Kaor...
sekys/Carlos
libs/include/FreeImage/LibOpenJPEG/tpix_manager.c
C
apache-2.0
5,188
/* @(#)w_hypot.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided t...
ayyucedemirbas/Minix-Source-Code
minix-master/lib/libm/src/w_hypot.c
C
apache-2.0
1,026
/* * Copyright (c), Microsoft Open Technologies, 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...
Mephostopilis/lua
xluasocket/Win32_Interop/Win32_RedisLog.c
C
apache-2.0
8,087
/* * $PostgreSQL: pgsql/contrib/tablefunc/tablefunc.c,v 1.60 2009/06/11 14:48:52 momjian Exp $ * * * tablefunc * * Sample to demonstrate C functions which return setof scalar * and setof composite. * Joe Conway <mail@joeconway.com> * And contributors: * Nabil Sayegh <postgresql@e-trolley.de> * * Copyright (...
edespino/gpdb
contrib/tablefunc/tablefunc.c
C
apache-2.0
44,874
/*------------------------------------------------------------------------- * * extprotocolcmds.c * * Routines for external protocol-manipulation commands * * Portions Copyright (c) 2011, Greenplum/EMC. * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Rege...
royc1/gpdb
src/backend/commands/extprotocolcmds.c
C
apache-2.0
9,922
/* * Copyright (C) 2011 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...
AndroidOpenSourceProject/platform_frameworks_av
libvideoeditor/vss/video_filters/src/M4VFL_transition.c
C
apache-2.0
19,395
#include "redismodule.h" #include <string.h> void InfoFunc(RedisModuleInfoCtx *ctx, int for_crash_report) { RedisModule_InfoAddSection(ctx, ""); RedisModule_InfoAddFieldLongLong(ctx, "global", -2); RedisModule_InfoAddFieldULongLong(ctx, "uglobal", (unsigned long long)-2); RedisModule_InfoAddSection(c...
ctripcorp/redis
tests/modules/infotest.c
C
bsd-3-clause
4,388
#include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include "svm.h" #include "eval.h" struct svm_node *x; int max_nr_attr = 64; struct svm_model* model; int predict_probability=0; static char *line = NULL; static int max_line_len; static char* readline(FILE *input) { ...
Purg/SMQTK
TPL/libsvm-3.1-custom/binary-predict.c
C
bsd-3-clause
5,790
/****************************************************************************** * * Module Name: nsdump - table dumping routines for debug * *****************************************************************************/ /****************************************************************************** * * 1. Copyri...
UIKit0/MosquitOS
kern/acpi/acpica/nsdumpdv.c
C
bsd-3-clause
9,309
/* ctrmm.f -- translated by f2c (version 19991025). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "FLA_f2c.h" /* Subroutine */ int ctrmm_(char *side, char *uplo, char *transa, char *diag, integer *m, integer *n, complex *alpha, complex *a, integer *lda, complex *b, in...
dxander/libflame
src/flablas/f2c/ctrmm.c
C
bsd-3-clause
29,490
/* $FreeBSD$ */ /* * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. */ #if defined(KERNEL) || defined(_KERNEL) # undef KERNEL # undef _KERNEL # define KERNEL 1 # define _KERNEL 1 #endif #if defined(__osf__) # define _PROTO_NET_H_ #endif #include <sys/par...
jhbsz/OSI-OS
sys/contrib/ipfilter/netinet/ip_lookup.c
C
bsd-3-clause
31,802
/* A lexical scanner generated by flex*/ /* Scanner skeleton version: * $Header: /cvs/bao-parsec/pkgs/libs/uptcpip/src/scripts/c-parser/lex.yy.c,v 1.1.1.1 2012/03/29 17:21:22 uid42307 Exp $ */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #include <stdio.h> #include <unistd.h...
bamos/parsec-benchmark
pkgs/libs/uptcpip/src/scripts/c-parser/lex.yy.c
C
bsd-3-clause
59,175
/* ---------------------------------------------------------------- *\ file : cursor_glyph.c author : m. gumz <akira at fluxbox dot org> copyr : copyright (c) 2005 - 2007 by m. gumz license : see LICENSE start : Di 17 Mai 2005 14:19:44 CEST \* ------------------------------------------------------...
tazjin/alock
src/cursor_glyph.c
C
mit
7,687
/***************************************************************************** * volume.c ***************************************************************************** * Copyright (C) 2007-2008 the VideoLAN team * $Id: 6b9409ff8c9568a926ae1d209e7821d5da405cca $ * * Authors: Antoine Cellerier <dionoea at videolan ...
junioraby/architec.awardspace.info
vlc-2.1.4/modules/lua/libs/volume.c
C
mit
3,444
/* mpfr_round_near_x -- Round a floating point number nears another one. Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by the Arenaire and Cacao projects, INRIA. This file is part of the GNU MPFR Library, and was contributed by Mathieu Dutour. The GNU MPFR Library is f...
dbetz/propgcc-gcc
mpfr/round_near_x.c
C
gpl-2.0
9,027
/* Copyright (C) 1994,95,96,97,99,2000 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 2, or (at your option) any later version. This ...
projectgnu/hurd
libdiskfs/rdwr-internal.c
C
gpl-2.0
2,254
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2016 Linux Test Project */ #include <stdio.h> #include "tst_test.h" static void do_test(void) { long free; long nproc; long dummy; SAFE_FILE_LINES_SCANF("/proc/meminfo", "MemFree: %ld", &free); if (FILE_LINES_SCANF("/proc/stat", "processes %ld", ...
chenhuacai/ltp
lib/newlib_tests/tst_safe_fileops.c
C
gpl-2.0
667
/* xstat using old-style Unix stat system call. 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 So...
Chilledheart/glibc
sysdeps/unix/sysv/linux/i386/xstat.c
C
gpl-2.0
1,907
/****************************************************************************** Copyright (C) 2013-2014 by Hugh Bailey <obs.jim@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundati...
RytoEX/obs-studio
libobs/obs-module.c
C
gpl-2.0
24,123
/* * link_gre.c gre driver module * * 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: Herbert Xu ...
pavlix/iproute2
ip/link_gre.c
C
gpl-2.0
12,891
/* * netsniff-ng - the packet sniffing beast * Copyright 2009 - 2013 Daniel Borkmann. * Subject to the GPL, version 2. */ #include <stdint.h> #include <stdbool.h> #include "hash.h" #include "xmalloc.h" #include "oui.h" #include "str.h" static struct hash_table oui; static bool initialized = false; struct vendo...
imcom/netsniff-ng
oui.c
C
gpl-2.0
1,861
/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS WinSock 2 API * FILE: bhook.c * PURPOSE: Blocking Hook support for 1.x clients * PROGRAMMER: Alex Ionescu (alex@relsoft.net) */ /* INCLUDES ******************************************************************/ #include <ws...
rickerliang/reactos-mirror2
dll/win32/ws2_32_new/src/bhook.c
C
gpl-2.0
3,284
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. 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 retai...
africallshop/africallshop-iphone
submodules/externals/opus/silk/decode_pitch.c
C
gpl-2.0
3,718
/* pcd.c (c) 1997-8 Grant R. Guenther <grant@torque.net> Under the terms of the GNU General Public License. This is a high-level driver for parallel port ATAPI CD-ROM drives based on chips supported by the paride module. By default, the driver will autoprobe for a single parallel ...
AshishNamdev/linux
drivers/block/paride/pcd.c
C
gpl-2.0
25,308
/* Copyright (c) 2016, The Linux Foundation. All rightsreserved. * * 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 ...
nychitman1/android_kernel_google_pixel
drivers/nfc/pn551.c
C
gpl-2.0
22,269
/* * drivers/gpu/ion/ion_cma_heap.c * * Copyright (C) Linaro 2012 * Author: <benjamin.gaignard@linaro.org> for ST-Ericsson. * * 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 un...
CyanogenMod/android_kernel_sony_msm8960t
drivers/gpu/ion/ion_cma_heap.c
C
gpl-2.0
9,363
/* __gmp_digit_value_tab -- support for mp*_set_str THE CONTENTS OF THIS FILE ARE FOR INTERNAL USE AND MAY CHANGE INCOMPATIBLY OR DISAPPEAR IN A FUTURE GNU MP RELEASE. Copyright 2003 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribu...
DDTChen/CookieVLC
vlc/contrib/android/gmp/mp_dv_tab.c
C
gpl-2.0
2,962
// SPDX-License-Identifier: GPL-2.0-only /* Copyright (C) 2005 Marc Kleine-Budde, Pengutronix * Copyright (C) 2006 Andrey Volkov, Varma Electronics * Copyright (C) 2008-2009 Wolfgang Grandegger <wg@grandegger.com> */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/netdevi...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-5.4/drivers/net/can/dev.c
C
gpl-2.0
35,415
/* 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...
tako0910/android_kernel_huawei_201hw
drivers/video/msm/mipi_simulator_video.c
C
gpl-2.0
2,969
/* * net/sunrpc/rpc_pipe.c * * Userland/kernel interface for rpcauth_gss. * Code shamelessly plagiarized from fs/nfsd/nfsctl.c * and fs/sysfs/inode.c * * Copyright (c) 2002, Trond Myklebust <trond.myklebust@fys.uio.no> * */ #include <linux/module.h> #include <linux/slab.h> #include <linux/string.h> #include <l...
arnet95/linux
net/sunrpc/rpc_pipe.c
C
gpl-2.0
29,141
/* Check __ppc_get_timebase_freq() for architecture changes Copyright (C) 2012-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...
Chilledheart/glibc
sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
C
gpl-2.0
1,854
/* Shared library add-on to iptables for ECN matching * * (C) 2002 by Harald Welte <laforge@gnumonks.org> * * This program is distributed under the terms of GNU GPL v2, 1991 * * libipt_ecn.c borrowed heavily from libipt_dscp.c * */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <getopt.h> ...
rhuitl/uClinux
user/iptables/extensions/libipt_ecn.c
C
gpl-2.0
4,194
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_mult_q15.c * Description: Q15 vector multiplication * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------------------------...
DD4WH/mchf-github
mchf-eclipse/basesw/ovi40-h7/Drivers/CMSIS/DSP/Source/BasicMathFunctions/arm_mult_q15.c
C
gpl-3.0
4,131
/**************************************************************** * * * Copyright 2011, 2012 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * *...
CoherentLogic/fis-gtm-netbsd
sr_unix/gtm_semutils.c
C
agpl-3.0
8,511
/* * Copyright (C) 2005 - 2006, Marco Barisione <marco@barisione.org> * Copyright (C) 2010 Red Hat, Inc. * * 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...
cosimoc/glib
glib/tests/regex.c
C
lgpl-2.1
122,956
/* 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 */ /* Mex file created by interface.pl for the F...
yaowee/libflame
src/base/other/matlab/Mscript-a-FLAME/old/FLA_Trmv_x.c
C
bsd-3-clause
1,316
/* * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
jens-maus/amissl
openssl/crypto/x509/x509_ext.c
C
bsd-3-clause
4,452
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-support/simd-generic128.h" #include "../common/hc2cfdftv_32.c"
termoshtt/rust-fftw3
fftw-src/fftw-3.3.8/rdft/simd/generic-simd128/hc2cfdftv_32.c
C
mit
134
/* * Copyright (C) STMicroelectronics 2009 * Copyright (C) ST-Ericsson SA 2010 * * License Terms: GNU General Public License v2 * Author: Sundar Iyer <sundar.iyer@stericsson.com> * */ #include <linux/kernel.h> #include <linux/cpufreq.h> #include <linux/delay.h> #include <linux/slab.h> #include <mach/hardware.h>...
Shaaan/android_kernel_samsung_u8500-common
arch/arm/mach-ux500/pm/cpufreq.c
C
gpl-2.0
3,647
/* * Copyright (c) 2003, 2007-11 Matteo Frigo * Copyright (c) 2003, 2007-11 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 ...
mesjetiu/grandorgue-es
src/fftw/src/rdft/scalar/r2cb/hc2cb2_16.c
C
gpl-2.0
22,920
/* This testcase is part of GDB, the GNU debugger. Copyright 2009, 2011 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...
epicsdeb/rtems-gdb
gdb/testsuite/gdb.cell/break.c
C
gpl-2.0
1,735
/* * Copyright (c) 2015, Sony Mobile Communications AB. * Copyright (c) 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 ...
moonman/linux-stable
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
C
gpl-2.0
20,196
/* =========================================================================== 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 ...
sethk/quake3-ios
code/q3_ui/ui_cdkey.c
C
gpl-2.0
7,543
/* 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...
felipeizzo/sprat
drivers/video/msm/mdss/mdss_mdp_rotator.c
C
gpl-2.0
18,345
/* * raid_class.c - implementation of a simple raid visualisation class * * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com> * * This file is licensed under GPLv2 * * This class is designed to allow raid attributes to be visualised and * manipulated in a form independent of the underlying rai...
davidmueller13/arter97_bb
drivers/scsi/raid_class.c
C
gpl-2.0
7,835
/* 950607-1.c from the execute part of the gcc torture suite. */ #include <testfwk.h> #ifdef __SDCC #pragma std_c99 #endif void testTortureExecute (void) { struct { long status; } h; h.status = 0; if (((h.status & 128) == 1) && ((h.status & 32) == 0)) ASSERT (0); return; }
pfalcon/sdcc
support/regression/tests/gcc-torture-execute-950607-1.c
C
gpl-2.0
295
#include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/gpio.h> #include <mach/gpio-exynos4.h> #include <plat/gpio-cfg.h> #include <plat/devs.h> #include <plat/ehci.h> #include <linux/msm_charm.h> #include <mach/mdm2.h> #include "mdm_private.h" static struct resource mdm_resources[] = { { .star...
espenfjo/android_kernel_samsung_n8000
arch/arm/mach-exynos/mdm_device.c
C
gpl-2.0
2,674
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) Marvell International Ltd. and its affiliates */ #include "ddr3_init.h" #include "mv_ddr_training_db.h" #include "mv_ddr_regs.h" #include "mv_ddr_sys_env_lib.h" #include <linux/delay.h> #define DDR_INTERFACES_NUM 1 #define DDR_INTERFACE_OCTETS_NUM 5 /* * 1. ...
Digilent/u-boot-digilent
drivers/ddr/marvell/a38x/mv_ddr_plat.c
C
gpl-2.0
36,848
/* Copyright (C) 2011-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gmail.com>, 2011. 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...
bigzz/glibc
math/w_scalbl.c
C
gpl-2.0
2,014
/* * Copyright (C) 2005-2014 Junjiro R. Okajima * * This program, aufs 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...
volk3/CS736
ubuntu/aufs/dcsub.c
C
gpl-2.0
4,978
#include <stdio.h> int lib_interface(void) { printf("Hello world!\n"); }
jeremiah/lintian-jeremiah-branch
t/tests/binaries-multiarch/debian/basic.c
C
gpl-2.0
78
/* ********************************************************************************************************* * uC/GUI V3.98 * Universal graphic software for embedded applications * * (c) Copyright 2002, Micrium Inc., Weston, F...
WildfireTeamPRJ/wildfire_stm32_iso
3-野火ISO-系统进阶篇/uCGUI/竖屏GUI_DEMO/uCGUI/Core/GUI_CursorArrowMPx.c
C
gpl-2.0
1,773
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-fab" } */ /* LLVM LOCAL test not applicable */ /* { dg-require-fdump "" } */ typedef struct { int i; } FILE; FILE *fp; extern int __fprintf_chk (FILE *, int, const char *, ...); volatile int vi0, vi1, vi2, vi3, vi4, vi5, vi6, vi7, vi8, vi9; void test (void) { ...
aosm/llvmgcc42
gcc/testsuite/gcc.dg/tree-ssa/builtin-fprintf-chk-1.c
C
gpl-2.0
1,498
/* * drivers/misc/logger.c * * A Logging Subsystem * * Copyright (C) 2007-2008 Google, Inc. * * Robert Love <rlove@google.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modif...
oschmidt/kernel_I8160P
drivers/staging/android/logger.c
C
gpl-2.0
19,094
/* * SDLA An implementation of a driver for the Sangoma S502/S508 series * multi-protocol PC interface card. Initial offering is with * the DLCI driver, providing Frame Relay support for linux. * * Global definitions for the Frame relay interface. * * Version: @(#)sdla.c 0.30 12 Sep 1996 * * Credits: S...
z3bu/AH4222
kernel/linux/drivers/net/wan/sdla.c
C
gpl-2.0
39,393
/* $Id: fmul.c,v 1.1 1999/08/23 18:59:44 cort Exp $ */ #include <linux/types.h> #include <linux/errno.h> #include <asm/uaccess.h> #include "soft-fp.h" #include "double.h" int fmul(void *frD, void *frA, void *frB) { FP_DECL_D(A); FP_DECL_D(B); FP_DECL_D(R); int ret = 0; #ifdef DEBUG printk("%s: %p %p %p\n", __...
QiuLihua83/linux-2.4.0
arch/ppc/math-emu/fmul.c
C
gpl-2.0
976
/** * @file * * @brief RTEMS Default File System reposits the read/write file offset * @ingroup LibIOFSOps File System Operations */ /* * COPYRIGHT (c) 2010. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in thi...
lizhuobin1981/rtems_test
cpukit/libfs/src/defaults/default_lseek.c
C
gpl-2.0
628
/* * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * ...
michael2012z/myKernel
fs/notify/fsnotify.c
C
gpl-2.0
11,348