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
/* * admin.c: the ADMIN command * * Copyright 2002 the Ithildin Project. * See the COPYING file for more information on licensing and use. */ #include <ithildin/stand.h> #include "ircd.h" IDSTRING(rcsid, "$Id: admin.c 579 2005-08-21 06:38:18Z wd $"); MODULE_REGISTER("$Rev: 579 $"); /* @DEPENDENCIES@: ircd */ ...
elly/ithildin
modules/ircd/commands/admin.c
C
bsd-3-clause
1,456
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_file_w32_spawnlp_54a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-54a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: file Read input from a file * ...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s08/CWE78_OS_Command_Injection__wchar_t_file_w32_spawnlp_54a.c
C
bsd-3-clause
3,715
/* $KAME: bf_skey.c,v 1.7 2002/02/27 01:33:59 itojun Exp $ */ /* crypto/bf/bf_skey.c */ /* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@mincom.oz.au). * The implementation was written so as to conform with Nets...
GaloisInc/hacrypto
src/C/FreeBSD/FreeBSD-10.0/crypto/blowfish/bf_skey.c
C
bsd-3-clause
4,369
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__int_min_predec_53c.c Label Definition File: CWE191_Integer_Underflow__int.label.xml Template File: sources-sinks-53c.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: min Set data to the minimum value for int * Good...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE191_Integer_Underflow/s05/CWE191_Integer_Underflow__int_min_predec_53c.c
C
bsd-3-clause
1,632
/* --COPYRIGHT--,BSD * Copyright (c) 2014, Texas Instruments Incorporated * 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 ab...
ekawahyu/MSP430Ware
examples/MSP430i2xx/pmm/pmm_ex1_lpm4-5.c
C
bsd-3-clause
4,637
/*-------------------------------------------------------------*/ /*--- Library top-level functions. ---*/ /*--- bzlib.c ---*/ /*-------------------------------------------------------------*/ /* ---------------------------------------------------...
spl/ivy
examples/multi-threaded/bzip2-1.0.4/bzlib.c
C
bsd-3-clause
46,203
#include <stdio.h> #include <stddef.h> #include <mcnet.h> #define PACKET(id, code) case 0x##id: { \ mcnet_packet_##id##_t* tmp = (mcnet_packet_##id##_t*)packet; \ printf("Packet ID: 0x%02x\n", tmp->pid); \ code \ printf("Packet size: %llu\n", (unsigned long long int)mcnet_generator_size(parser->data, packet))...
deoxxa/libmcnet
example.c
C
bsd-3-clause
4,328
#include "stdafx.h" #include <stdio.h> #include <malloc.h> #include <assert.h> #include "Coroutine.h" #include "DispatchBind.h" #include "core.h" Coroutine* CreateCoroutine(uint32_t size) { Coroutine* p = (Coroutine*)createObject(sizeof(Coroutine), 14); if (size > 0) { p->parameterCount = size; p->params = (int6...
jadedrip/silang
clib/Coroutine.c
C
bsd-3-clause
1,504
/* * A simple example for the use of PAPI, the number of flops you should * get is about INDEX^3 on machines that consider add and multiply one flop * such as SGI, and 2*(INDEX^3) that don't consider it 1 flop such as INTEL * -Kevin London */ #include "papi_test.h" #define INDEX 1000 #ifdef _WIN32 char format_...
tcreech/papi-4.0.0-64-solaris11.2
src/ctests/flops.c
C
bsd-3-clause
2,896
/* This code was auto-generated by ./generate_SSE_intrinsics.py. The * command line arguments used were: * * ./generate_SSE_intrinsics.py -N 4 */ #include <stdlib.h> #include <xmmintrin.h> #define A_OFFSET_11 (0*4+0)*64 // 0 #define A_OFFSET_12 (0*4+1)*64 // 64 #define A_OFFSET_13 (0*4+2)*64 // 128 #define A_OFFS...
FreeON/spammpack
src-C/prototype/stream_multiply/kernel.c
C
bsd-3-clause
64,585
#include "memcached.h" #include <signal.h> #include <assert.h> #include <errno.h> #include <string.h> #define ARR_SIZE(x) (sizeof(x) / sizeof(x[0])) #define STATIC_STRLEN(x) ( sizeof(x) - 1 ) #define MAGIC_BYTES "\xe2\x92\x11\x60\xf5\x6c\xba\x8b\x2a\x28\xa7\x04\xe0\x42\xb6\x0e" #define MAGIC_LEN STATIC_STRLEN(MAGIC_BY...
dkrotx/memcached-dd
dd.c
C
bsd-3-clause
6,417
/*- * Copyright (c) 2009 Alexander Motin <mav@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 * notice...
TigerBSD/TigerBSD
FreeBSD/sys/cam/ata/ata_all.c
C
isc
31,652
/* * The Yices SMT Solver. Copyright 2014 SRI International. * * This program may only be used subject to the noncommercial end user * license agreement which is downloadable along with this program. */ /* * SUPPORT FOR CONSTRUCTING FRESH BIT-VECTOR VALUES * AND MAINTAINING SETS OF USED VALUES * * This is use...
maelvalais/ocamlyices2
ext/yices/src/model/small_bvsets.c
C
isc
1,743
/*- * Copyright (c) 2011, Bryan Venteicher <bryanv@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 * n...
TigerBSD/TigerBSD
FreeBSD/sys/dev/virtio/network/if_vtnet.c
C
isc
98,272
/* error.c: common exception handling for Subversion * * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information...
TigerBSD/TigerBSD
FreeBSD/contrib/subversion/subversion/libsvn_subr/error.c
C
isc
22,537
/* * Copyright (c) 2007-2011, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. */ #include "helper.h" ...
kishoredbn/barrelfish
usr/drivers/solarflare/helper.c
C
mit
2,998
/* Copyright (c) 2012-2013, The Linux Foundation. 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 ...
hanjae/lumiab0
dev/panel/msm/mipi_toshiba_video_720p.c
C
mit
5,454
/* crypto/objects/obj_xref.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2006. */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, ...
NickAger/elm-slider
ServerSlider/HTTPServer/Packages/COpenSSL-0.14.0/Sources/obj_xref.c
C
mit
6,589
#include "clar_libgit2.h" #include "git2/refdb.h" #include "refdb.h" static git_repository *g_repo; static int g_expected = 0; void test_threads_refdb__initialize(void) { g_repo = NULL; } void test_threads_refdb__cleanup(void) { cl_git_sandbox_cleanup(); g_repo = NULL; } #define REPEAT 20 #define THREADS 20 sta...
dwings/atom-windows
resources/app/node_modules/git-utils/deps/libgit2/tests/threads/refdb.c
C
mit
4,292
#include "testarea.h" // structure definition for composite testarea_testservice_testfinalcompositea struct _testarea_testservice_testfinalcompositea_t { mal_integer_t f_intfield; mal_integer_t f_intfield2; }; // fields accessors for composite testarea_testservice_testfinalcompositea mal_integer_t testarea_tests...
gbonnefille/malc
test/testarea/src/testarea_testservice_testfinalcompositea.c
C
mit
2,881
/* Copyright (c) 2010-2011, 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 c...
beidl/lk_umia
platform/msm_shared/mmc.c
C
mit
79,079
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
danicampora/micropython
stmhal/sdcard.c
C
mit
15,878
/* * dns_srv.c * * This file contains the code for KMS SRV record lookup in DNS (_vlmcs._tcp.example.com IN SRV 0 0 1688 mykms.example.com) * */ #ifndef CONFIG #define CONFIG "config.h" #endif // CONFIG #include CONFIG #ifndef NO_DNS #include "dns_srv.h" #include <string.h> #include <stdio.h> #ifndef _WIN32 #i...
kebe7jun/linux-kms-server
vlmcsd/dns_srv.c
C
mit
8,524
/* * Copyright (c) 2009, Google Inc. * All rights reserved. * * Copyright (c) 2009-2010, 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 ...
jcsullins/moboot
platform/msm_shared/smem_ptable.c
C
mit
4,134
/* * Copyright (C) 2007 Marco Gerards <marco@gnu.org> * Copyright (C) 2009 David Conrad * * 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 * versio...
fillest/rtmp_load
src/libav/libavcodec/dirac.c
C
mit
9,678
/** * \file * \brief Rudimentary ELF32 loader and handling routines. */ /* * Copyright (c) 2007, 2008, 2009, 2010, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INF...
utsav2601/cmpe295A
lib/elf/elf32.c
C
mit
18,996
/** \brief K20-specific definition of the "spi" bsp module. \author Xavi Vilajosana <xvilajosana@eecs.berkeley.edu>, May 2012. */ #include "spi.h" #include "board.h" #include "common.h" //=========================== defines ========================================= #define SPI_SPEED_KHZ 6000 //6Mhz #define SPI_IN...
barriquello/iotstack
openwsn-fw-work/firmware/openos/bsp/boards/k20/bsp/spi.c
C
mit
13,827
#define _POSIX_C_SOURCE 200809L #include <assert.h> #include <fcntl.h> #include <limits.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <xf86drm.h> #include <wlr/config.h> #include <drm_fourcc.h> #include <wayland-server-core.h> #include <xcb/xcb.h> #inclu...
swaywm/wlroots
backend/x11/backend.c
C
mit
21,146
/* Teem: Tools to process and visualize scientific data and images Copyright (C) 2008, 2007, 2006, 2005 Gordon Kindlmann Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah This library is free software; you can redistribute it and/or modify it under the terms of the GNU...
vovythevov/Cleaver
teem/src/bin/vprobe.c
C
mit
20,075
/* * common UDP/RAW code * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * * $Id: datagram.c,v 1.1.1.1 2010/12/02 04:18:04 walf_wu Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as ...
smx-smx/dsl-n55u-bender
release/src-ra/linux/linux-2.6.21.x/net/ipv6.orig/datagram.c
C
gpl-2.0
17,376
/* * Copyright (C) 2007-2009 Collabora Ltd. * * 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.1 of the License, or (at your option) any later version. * * This l...
kenvandine/empathy
libempathy/empathy-dispatcher.c
C
gpl-2.0
55,328
/* 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...
shinru2004/HTC-C525c
sound/soc/msm/msm-pcm-routing.c
C
gpl-2.0
90,798
/* Interface between gdb and its extension languages. Copyright (C) 2014-2020 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;...
mattstock/binutils-bexkat1
gdb/extension.c
C
gpl-2.0
28,309
/* * libhugetlbfs - Easy use of Linux hugepages * Copyright (C) 2005-2006 David Gibson & Adam Litke, IBM Corporation. * * 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 versio...
rodrigc/kernel-tests
default/libhugetlbfs/libhugetlbfs/tests/get_hugepage_region.c
C
gpl-2.0
4,197
/* Copyright (C) 1999-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 1999. 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 ...
walac/glibc
elf/cache.c
C
gpl-2.0
23,706
/* * linux/fs/pipe.c * * Copyright (C) 1991, 1992, 1999 Linus Torvalds */ #include <linux/mm.h> #include <linux/file.h> #include <linux/poll.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/log2.h> #include <linux/mount.h> #include <linux/magic.h...
infraredbg/Lenovo_A820_kernel_kk
kernel/fs/pipe.c
C
gpl-2.0
30,075
/**************************************************************************** * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
ysleu/RTL8685
uClinux-dist/lib/ncurses/ncurses/tinfo/add_tries.c
C
gpl-2.0
4,121
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tomstdenis@gmail.com, http://l...
ipwndev/DSLinux-Mirror
user/dropbear/libtomcrypt/src/encauth/gcm/gcm_test.c
C
gpl-2.0
10,203
/* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /* Kernel module implementing an IP set type: the hash...
neutronth/ipset
kernel/net/netfilter/ipset/ip_set_hash_net.c
C
gpl-2.0
10,800
/* Target-dependent code for the Texas Instruments MSP430 for GDB, the GNU debugger. Copyright (C) 2012-2020 Free Software Foundation, Inc. Contributed by Red Hat, 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 Gene...
mattstock/binutils-bexkat1
gdb/msp430-tdep.c
C
gpl-2.0
28,585
/* GStreamer * Copyright (C) <2007> Leandro Melo de Sales <leandroal@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; either * version 2 of the License, or (at your opt...
community-ssu/gst-plugins-bad
gst/dccp/gstdccpclientsrc.c
C
gpl-2.0
11,998
/* * This file is part of formatter. * * formatter 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 option) any later version. * * formatter is distri...
AustESE-Infrastructure/calliope
calliope-0.2.2/formatter/src/dom.c
C
gpl-2.0
27,357
#include <linux/unistd.h> #include <linux/time.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/init.h> //#include <asm/semaphore.h> #include <linux/proc_fs.h> #include <linux/completion.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/interrupt.h> #include <linux/suspend...
FOSSEE/FOSSEE-netbook-kernel-source
drivers/input/touchscreen/gsl1680_ts/wmt_ts.c
C
gpl-2.0
24,645
/* ** Splint - annotation-assisted static program checker ** Copyright (C) 1994-2003 University of Virginia, ** 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 Sof...
ravenexp/splint
src/constraintExpr.c
C
gpl-2.0
69,047
/* * Please do not edit this file. * It was generated using rpcgen. */ #include <memory.h> /* for memset */ #include "nfsmount.h" /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape * media and as a part of the software prog...
wesen/lemonix
tool/util-linux-2.12r/mount/nfsmount_clnt.c
C
gpl-2.0
8,794
/* ** 2011 March 16 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ***********************...
cleanslate/CleanSlate
third-party/sqlcipher/src/test_vfstrace.c
C
gpl-2.0
32,596
// MELFAS HEX Studio v0.6 [2009.10.12] const uint16_t MELFAS_binary_nLength = 0x34C4; // 13.2 KBytes ( 13508 ) const uint8_t MELFAS_binary[] = { // Model name : MMH-SATLAS // Module revision : R10 // Firmware version : V08 0x02, 0x29, 0xA5, 0x02, 0x00, 0x1E, 0x43, 0xE8, 0x20, 0x22, 0x22, 0x02,...
geeknik/StupidFast
drivers/input/keyboard/MMH_SATLAS_R10_V08_bin.c
C
gpl-2.0
83,835
/* * $Id: pcigame.c,v 1.10 2001/04/26 10:24:46 vojtech Exp $ * * Copyright (c) 2000-2001 Vojtech Pavlik * * Based on the work of: * Raymond Ingles * * Sponsored by SuSE */ /* * Trident 4DWave and Aureal Vortex gameport driver for Linux */ /* * This program is free software; you can redistribute it and/...
rickgaiser/linux-2.4.17-ps2
drivers/char/joystick/pcigame.c
C
gpl-2.0
5,426
/* * This file is part of mpv. * * mpv 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 later version. * * mpv is distributed in the h...
tobiasjakobi/mpv
video/img_format.c
C
gpl-2.0
20,073
/* LUFA Library Copyright (C) Dean Camera, 2014. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purp...
rktrlng/avrm
lufa-avrm32u4/firmware/Keyboard/Keyboard.c
C
gpl-2.0
7,899
/* * BCMSDH Function Driver for the native SDIO/MMC driver in the Linux Kernel * * Copyright (C) 1999-2012, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU ...
Eason91/kernel_lge_x3
drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_sdmmc.c
C
gpl-2.0
40,895
/* PVCS version log * * 7 07/09/07 5:10p Paulkwong * * 6 07/09/07 11:21a Paulkwong * Full ioctl function * * 5 07/08/14 3:53p Paulkwong * Add polling function * * 4 07/07/02 6:11p Paulkwong * Verify with unit test * * 3 07/06/25 11:43a Paulkwong * * 2 07/03/05 10:32a Paulkwong * ...
v1ron/kernel-wm8505
drivers/input/touchscreen/wm9715-ts_800_480.c
C
gpl-2.0
34,774
/* * "splice": joining two ropes together by interweaving their strands. * * This is the "extended pipe" functionality, where a pipe is used as * an arbitrary in-memory buffer. Think of a pipe as a small kernel * buffer that you can use to transfer data from one end to the other. * * The traditional unix read/wr...
tellapart/ubuntu-precise
fs/splice.c
C
gpl-2.0
48,341
/* * linux/mm/page_alloc.c * * Manages the free list, the system allocates free pages here. * Note that kmalloc() lives in slab.c * * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds * Swap reorganised 29.12.95, Stephen Tweedie * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999 * Re...
user98/android_kernel_samsung_grandneove3g
mm/page_alloc.c
C
gpl-2.0
179,875
#include <stdio.h> #include <malloc.h> #include "define.c" #define STACK_INIT_SIZE 20 //存储空间初始分配量 #define STACKINCREMENT 5 //存储空间分配增量 typedef int SElemType; //创建一个栈的数据类型 typedef struct stack{ SElemType *base;//栈底指针,构造之前和销毁之后均为NULL SElemType *top;//栈顶指针 int stacksize;//栈空间大小,以元素为单位 }SqStack; /*top指针初...
gxzty/path_of_C
Unit_1/数据结构和算法/清华DSA/数据结构/Stack.c
C
gpl-2.0
4,340
/* * Copyright (C) 2010 Samsung Electronics. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be use...
alesaiko/UK-PRO5
drivers/misc/modem_v1/modem_io_device.c
C
gpl-2.0
44,672
/* * Generic process-grouping system. * * Based originally on the cpuset system, extracted by Paul Menage * Copyright (C) 2006 Google, Inc * * Notifications support * Copyright (C) 2009 Nokia Corporation * Author: Kirill A. Shutemov * * Copyright notices from the original cpuset code: * -------------...
iJo09/Hybridmax_Kernel_I9505_Lollipop-1
kernel/cgroup.c
C
gpl-2.0
141,565
/** * @file mlan_txrx.c * * @brief This file contains the handling of TX/RX in MLAN * * (C) Copyright 2009-2014 Marvell International Ltd. All Rights Reserved * * MARVELL CONFIDENTIAL * The source code contained or described herein and all documents related to * the source code ("Material") are owned by M...
acorn-marvell/brillo_pxa_kernel
drivers/marvell/sd8787/wlan_src/mlan/mlan_txrx.c
C
gpl-2.0
11,652
/********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold 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...
teknoa/freeciv-android
jni/freeciv/client/gui-android/plrdlg.c
C
gpl-2.0
1,441
/* * Copyright (c) 2013, TripNDroid Mobile Engineering * * 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. * * Thi...
maz-1/firefly-rk3288-kernel
block/tripndroid-iosched.c
C
gpl-2.0
7,505
/* * Race for the Galaxy AI * * Copyright (C) 2009-2011 Keldon Jones * * 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 v...
jamieQ/RFTG
ai_client.c
C
gpl-2.0
10,486
/* * Copyright (C) 2004-2012 Free Software Foundation, Inc. * * This file is part of GnuTLS. * * GnuTLS 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 op...
DDTChen/CookieVLC
vlc/contrib/android/gnutls/src/certtool-cfg.c
C
gpl-2.0
40,418
/* Broadcom B43 wireless driver Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> Copyright (c) 2005-2009 Michael Buesch <m@bues.ch> Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@wa...
dlarm/backports
drivers/net/wireless/b43/main.c
C
gpl-2.0
156,957
/***************************************************************************** * a52.c: parse A/52 audio sync info and packetize the stream ***************************************************************************** * Copyright (C) 2001-2002 the VideoLAN team * $Id$ * * Authors: Stéphane Borel <stef@via.ecp.fr>...
MessiahAndrw/Stereoscopic-VLC
modules/codec/a52.c
C
gpl-2.0
14,087
/* Copyright (c) 2002,2007-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 i...
CaptainThrowback/kernel_htc_m8ql
drivers/gpu/msm/adreno.c
C
gpl-2.0
58,653
/* * * Copyright (c) 2015, Red Hat, Inc. * Copyright (c) 2015, Masatake YAMATO * * Author: Masatake YAMATO <yamato@redhat.com> * * This source code is released for free distribution under the terms of the * GNU General Public License version 2 or (at your option) any later version. * */ #include "gene...
Akronix/geany
ctags/main/xtag.c
C
gpl-2.0
3,538
/* * Copyright (c) 2002, Intel Corporation. All rights reserved. * Copyright (c) 2012, Cyril Hrubis <chrubis@suse.cz> * * 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 file descriptor fildes shall have b...
chenhuacai/ltp
testcases/open_posix_testsuite/conformance/interfaces/mmap/6-6.c
C
gpl-2.0
2,083
/* GStreamer * Copyright (C) 2011 David Schleef <ds@entropywave.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; either * version 2 of the License, or (at your option) any la...
luisbg/gst-plugins-bad
gst/inter/gstintersubsink.c
C
gpl-2.0
7,226
/* * vivi/misc.c: functions used in vivi * * Copyright (C) MIZI Research, Inc. 2002 * * 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 optio...
xcvista/vivi
lib/misc.c
C
gpl-2.0
4,530
/* * linux/lib/string.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * stupid library routines.. The optimized versions should generally be found * as inline code in <asm-xx/string.h> * * These are buggy as well.. * * * Fri Jun 25 1999, Ingo Oeser <ioe@informatik.tu-chemnitz.de> * - Added strsep() ...
shminer/LG-F460-Kernel
lib/string.c
C
gpl-2.0
17,873
/* * ccio-rm-dma.c: * DMA management routines for first generation cache-coherent machines. * "Real Mode" operation refers to U2/Uturn chip operation. The chip * can perform coherency checks w/o using the I/O MMU. That's all we * need until support for more than 4GB phys mem is needed. * * This is the...
muromec/linux-ezxdev
arch/parisc/kernel/ccio-rm-dma.c
C
gpl-2.0
5,148
/* * Copyright 2012 Red Hat, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it w...
neverware/pesign
src/pesigcheck_context.c
C
gpl-2.0
2,391
/* * linux/mm/memory.c * * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds */ /* * demand-loading started 01.12.91 - seems it is high on the list of * things wanted, and it should be easy to implement. - Linus */ /* * Ok, demand-loading was easy, shared pages a little bit tricker. Shared * pages start...
ion-storm/Unleashed-N5
mm/memory.c
C
gpl-2.0
114,166
/* ** Copyright (C) 2014 Cisco and/or its affiliates. All rights reserved. ** Copyright (C) 2006-2013 Sourcefire, Inc. ** ** 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. You may no...
threatstream/snort
src/target-based/sftarget_reader.c
C
gpl-2.0
33,887
/* * drivers/cpufreq/cpufreq_ondemand.c * * Copyright (C) 2001 Russell King * (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>. * Jun Nakajima <jun.nakajima@intel.com> * (c) 2013 The Linux Foundation. All rights reserved. * * This program is free softw...
davidmueller13/custom_kernel_lt03lte_aosp_6.0
drivers/cpufreq/cpufreq_ondemand.c
C
gpl-2.0
44,471
/****************************************************************************** * * Name: hwtimer.c - ACPI Power Management Timer Interface * *****************************************************************************/ /****************************************************************************** * * 1. Copyr...
MicroTrustRepos/microkernel
src/l4/pkg/acpica/lib-acpi/src/acpica/components/hardware/hwtimer.c
C
gpl-2.0
11,001
/********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold 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...
jheusala/freeciv-extended
common/events.c
C
gpl-2.0
14,176
/* AFS filesystem file handling * * Copyright (C) 2002, 2007 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 by the Free Software Foun...
gilou811/Archos_OPENAOS_Kernel_ICS
fs/afs/file.c
C
gpl-2.0
8,395
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* Marco size/position constraints */ /* * Copyright (C) 2002, 2003 Red Hat, Inc. * Copyright (C) 2003, 2004 Rob Adams * Copyright (C) 2005, 2006 Elijah Newren * * This program is free software; you can redistribute it and/or * modify it under t...
infirit/marco
src/core/constraints.c
C
gpl-2.0
57,792
/* CPP main program, using CPP Library. * Copyright (C) 1995 Free Software Foundation, Inc. * Written by Per Bothner, 1994-95. * Copyright (C) 2003-2011 Kim Woelders * * 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...
jordemort/edje
src/bin/epp/cppmain.c
C
gpl-2.0
3,608
/** * Copyright (C) 2009 NXP N.V., All Rights Reserved. * This source code and any compilation or derivative thereof is the proprietary * information of NXP N.V. and is confidential in nature. Under no circumstances * is this software to be exposed to or placed under an Open Source License of * any type without t...
Globalscale/D3-Linux
drivers/video/hdmi/comps/tmbslTDA9989/src/tmbslTDA9989_Edid.c
C
gpl-2.0
57,003
/* * Copyright (c) 2009 NVIDIA Corporation. * 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 condit...
mingkaidox/kernel_tegra
arch/arm/mach-tegra/nvddk/nvddk_usbphy.c
C
gpl-2.0
24,909
/* _________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ | /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >...
adamflott/wargus
warextract.c
C
gpl-2.0
1,850
/* * linux/arch/arm64/mcpm/mcpm_plat.c * * Author: Fangsuo Wu <fswu@marvell.com> * Copyright: (C) 2013 marvell International Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either...
acorn-marvell/brillo_pxa_kernel
arch/arm64/mcpm/mcpm_plat.c
C
gpl-2.0
16,640
/* * Samsung Exynos5 SoC series Sensor driver * * * Copyright (c) 2011 Samsung Electronics Co., 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. */ #include <linux/i2c.h...
TeamWin/android_kernel_samsung_j2lte
drivers/media/platform/exynos/fimc-is2/sensor/module/fimc-is-device-3h7_sunny.c
C
gpl-2.0
4,726
/* SPDX-License-Identifier: LGPL-2.1+ */ #include <fcntl.h> #include <linux/rfkill.h> #include <poll.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include "sd-daemon.h" #include "sd-device.h" #include "alloc-util.h" #include "device-util.h" #include "escape.h" #include "fd-util.h" #include "fi...
tblume/systemd-testsuite-suse
src/rfkill/rfkill.c
C
gpl-2.0
12,466
/* * ircd-ratbox: A slightly useful ircd. * m_who.c: Shows who is on a channel. * * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center * Copyright (C) 1996-2002 Hybrid Development Team * Copyright (C) 2002-2005 ircd-ratbox development team * * This program is free software; you can redi...
skyhighwings/elemental-ircd
modules/m_who.c
C
gpl-2.0
17,306
/************************************************************************************************* * CGI script for file uploader * Copyright (C) 2000-2003 Mikio Hirabayashi * This file is part of QDBM, Quick Database Manager. * QDBM is free software; you can red...
oracc/oracc
oracc-hyperestraier/qdbm/cgi/qupl.c
C
gpl-2.0
15,046
/* * sound/arm/omap/omap-alsa-aic23-mixer.c * * Alsa Driver Mixer for generic codecs for omap boards * * Copyright (C) 2005 Instituto Nokia de Tecnologia - INdT - Manaus Brazil * Written by David Cohen, Daniel Petrini * {david.cohen, daniel.petrini}@indt.org.br * * Based on es1688_lib.c, * Copyrigh...
archos-sa/archos-gpl-gen6-kernel
sound/arm/omap/omap-alsa-aic23-mixer.c
C
gpl-2.0
14,516
/* * jcapistd.c * * Copyright (C) 1994-1996, 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 application interface code for the compression half * of the JPEG library. These are the ...
zrafa/se_uncoma
robotitos/myro-cpp-2.3.0/jpeg/jcapistd.c
C
gpl-2.0
5,889
/* megaco_stat.c * megaco-statistics for Wireshark * Copyright 2003 Lars Roland * Copyright 2008, Ericsson AB * By Balint Reczey <balint.reczey@ericsson.com> * * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free soft...
masonh/wireshark
ui/gtk/megaco_stat.c
C
gpl-2.0
6,323
/* fe-settings.c : irssi Copyright (C) 1999 Timo Sirainen 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....
ipwndev/DSLinux-Mirror
user/irssi/src/src/fe-common/core/fe-settings.c
C
gpl-2.0
10,087
/* * GraphApp - Cross-Platform Graphics Programming Library. * * File: windows.c -- manipulating on-screen windows. * Platform: Windows Version: 2.35 Date: 1998/03/03 * * Version: 1.00 Changes: Original version by Lachlan Patrick. * Version: 1.50 Changes: New rectangle type implemented. * Version: 2.00 Cha...
wch/r-source
src/extra/graphapp/windows.c
C
gpl-2.0
19,301
/***************************************************************************** 1 Í·Îļþ°üº¬ **************************************************************************** */ #include "OmHdlcInterface.h" #include "cbtapprl.h" #include "omprivate.h" #include "CbtPpm.h" #include "msp_errno.h" #include "diag_api.h" ...
Honor8Dev/android_kernel_huawei_FRD-L04
drivers/vendor/hisi/modem/oam/gu/acore/cbtfun/cbtapprl.c
C
gpl-2.0
23,489
/* * Copyright (C) 2003, 2004, 2005 Mondru AB. * Copyright (C) 2007-2011 Coova Technologies, LLC. <support@coova.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 3 o...
ysleu/RTL8685
uClinux-dist/user/fongw/foncoova/coova-chilli-1.2.9/src/main-response.c
C
gpl-2.0
3,809
/* sis190.c: Silicon Integrated Systems SiS190 ethernet driver Copyright (c) 2003 K.M. Liu <kmliu@sis.com> Copyright (c) 2003, 2004 Jeff Garzik <jgarzik@pobox.com> Copyright (c) 2003, 2004, 2005 Francois Romieu <romieu@fr.zoreil.com> Based on r8169.c, tg3.c, 8139cp.c, skge.c, epic100.c and SiS 190/191 ...
odit/rv042
linux/kernel_2.6/linux/drivers/net/sis190.c
C
gpl-2.0
45,859
/* File: file_asl.c Copyright (C) 2012 Christophe GRENIER <grenier@cgsecurity.org> This software 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...
qayshp/TestDisk
src/file_asl.c
C
gpl-2.0
1,883
/* Code to manipulate interface information, shared between ifconfig and netstat. 10/1998 partly rewriten by Andi Kleen to support an interface list. I don't claim that the list operations are efficient @). 8/2000 Andi Kleen make the list operations a bit more efficient. People are crazy enough ...
giftnuss/net-tools
lib/interface.c
C
gpl-2.0
24,125
/* * TP-LINK TL-WR2041N v1 board support * Board Info: CPU:ar9344 550MHZ wireless:ar9381 * * Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2013 Gui Iribarren <gui@altermundi.net> * * This program is free software; you can redistribute it and/or modify it * under the terms of the G...
V-E-O/lede-source
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2041n-v1.c
C
gpl-2.0
4,882
/* 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...
RazerRom/kernel_oneplus_msm8974
arch/arm/mach-msm/msm_watchdog_v2.c
C
gpl-2.0
17,015