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 © 2008 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
geeknik/StupidFast
drivers/gpu/drm/i915/intel_dp.c
C
gpl-2.0
44,552
/*****************************************************************************\ ** mpi_none.c - Library routines for initiating jobs on without mpi support ** $Id$ ***************************************************************************** * Copyright (C) 2004 The Regents of the University of California. * P...
cgvarela/slurm
src/plugins/mpi/none/mpi_none.c
C
gpl-2.0
4,391
/* * SHA1 hash algorithm. Used in SSH-2 as a MAC, and the transform is * also used as a `stirring' function for the PuTTY random number * pool. Implemented directly from the specification by Simon * Tatham. */ #include "ssh.h" #include <nettle/sha1.h> /* ----------------------------------------------------------...
zedfoxus/filezilla-client
src/putty/sshsha.c
C
gpl-2.0
7,109
/* * Dominance frontier computation for SSA form * Copyright (c) 2010 Pekka Enberg * * This file is released under the GPL version 2 with the following * clarification and special exception: * * Linking this library statically or dynamically with other modules is * making a combined work based on this ...
headius/jato
jit/dominance.c
C
gpl-2.0
4,546
/*Qualcomm Secure Execution Environment Communicator (QSEECOM) driver * * 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 ...
Rlasalle15/android_kernel_moto_shamu
drivers/misc/qseecom.c
C
gpl-2.0
124,840
/* CPP Library - lexical analysis. Copyright (C) 2000-2017 Free Software Foundation, Inc. Contributed by Per Bothner, 1994-95. Based on CCCP program by Paul Rubin, June 1986 Adapted to ANSI C, Richard Stallman, Jan 1987 Broken out to separate file, Zack Weinberg, Mar 2000 This program is free software; ...
mickael-guene/gcc
libcpp/lex.c
C
gpl-2.0
107,142
/* * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL * * Ported the filesystem routines to 2.5. * 2003-02-10 Petr Baudis <pasky@ucw.cz> */ #include <linux/fs.h> #include <linux/module.h> #include <linux/mm.h> #include <linux/pagemap.h> #include <linux/statfs.h> #inc...
gao-feng/net
fs/hostfs/hostfs_kern.c
C
gpl-2.0
21,116
/* Copyright (C) 1989, 1995, 1996 Aladdin Enterprises. All rights reserved. This file is part of GNU Ghostscript. GNU Ghostscript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for...
ysleu/RTL8685
uClinux-dist/user/cups/cups-1.0.5/pstoraster/gxccman.c
C
gpl-2.0
24,274
#include <unistd.h> #include <fcntl.h> #include <signal.h> #include <time.h> #include <errno.h> #include <sys/time.h> #include <zlib.h> /* Needed early for CONFIG_BSD etc. */ #include "config-host.h" #ifndef _WIN32 #include <libgen.h> #include <pwd.h> #include <sys/times.h> #include <sys/wait.h> #include <termios.h>...
CoreSecurity/pycodin
pyqemu/vl.c
C
gpl-2.0
105,096
/* * drivers/power/process.c - Functions for starting/stopping processes on * suspend transitions. * * Originally from swsusp. */ #undef DEBUG #include <linux/interrupt.h> #include <linux/oom.h> #include <linux/suspend.h> #include <linux/module.h> #include <linux/syscalls.h> #include ...
Volidol1/android_kernel_lge_d605
kernel/power/process.c
C
gpl-2.0
5,809
/** * @file * Representation of an email header (envelope) * * @authors * Copyright (C) 2017 Richard Russon <rich@flatcap.org> * Copyright (C) 2019 Pietro Cerutti <gahr@gahr.ch> * * @copyright * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public...
flatcap/neomutt
email/envelope.c
C
gpl-2.0
10,202
/* * arch/ppc/platforms/pmac_feature.c * * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au) * Ben. Herrenschmidt (benh@kernel.crashing.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * ...
gerboland/linux-2.6.15-neuros-eabi
arch/ppc/platforms/pmac_feature.c
C
gpl-2.0
82,614
/* * 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 ...
dstuck/tinker_integrated_PIMC
tinker/fftw/api/plan-many-dft-c2r.c
C
gpl-2.0
1,839
/* * 2002-10-18 written by Jim Houston jim.houston@ccur.com * Copyright (C) 2002 by Concurrent Computer Corporation * Distributed under the GNU GPL license version 2. * * Modified by George Anzinger to reuse immediately and to use * find bit instructions. Also removed _irq on spinlocks. * * Small id to pointe...
me-oss/me-linux
lib/idr.c
C
gpl-2.0
10,963
/* * SPU file system -- SPU context management * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.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...
xiandaicxsj/copyKvm
arch/powerpc/platforms/cell/spufs/context.c
C
gpl-2.0
4,546
/* md5.c - Functions to compute MD5 message digest of files or memory blocks according to the definition of MD5 in RFC 1321 from April 1992. Copyright (C) 1995, 1996 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glib...
scassiba/opennap
md5.c
C
gpl-2.0
12,449
/* Character set conversion support for GDB. Copyright 2001, 2003 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 vers...
scs/uclinux
user/gdb/gdb/charset.c
C
gpl-2.0
45,703
/* * Copyright (C) Huawei Technologies Co., Ltd. 2012-2015. All rights reserved. * foss@huawei.com * * If distributed as part of the Linux kernel, the following license terms * apply: * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public Lice...
Honor8Dev/android_kernel_huawei_FRD-L04
drivers/vendor/hisi/modem/drv/acore/kernel/drivers/hisi/modem/drv/balong_timer/timer_slice.c
C
gpl-2.0
10,359
/* Primary expression subroutines Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. Contributed by Andy Vaught 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 Publi...
h4ck3rm1k3/gcc
gcc/fortran/primary.c
C
gpl-2.0
78,379
/* * Copyright (C) 2014 Idwer Vollering <vidwer@gmail.com> * * Based on winbond.c * * Copyright 2008, Network Appliance Inc. * Author: Jason McMullan <mcmullan <at> netapp.com> * Licensed under the GPL-2 or later. */ #include <console/console.h> #include <stdlib.h> #include <spi_flash.h> #include <spi-generic....
groeck/coreboot
src/drivers/spi/amic.c
C
gpl-2.0
4,604
/* * Copyright (C) huawei company * * 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/uaccess.h> #include <mach/gpio.h> #include <linux/module.h> #incl...
KainXS/android_kernel_huawei_y301a2
drivers/devdetect/hw_dev_dec.c
C
gpl-2.0
3,446
/* * $Id$ * * rc.c -- routines for processing the configuration file * * Copyright 2000-2004,2005 Thomas E. Dickey * * This program 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 ...
ipwndev/DSLinux-Mirror
user/dialog/rc.c
C
gpl-2.0
14,548
/* * Routines having to do with the 'struct sk_buff' memory handlers. * * Authors: Alan Cox <alan@lxorguk.ukuu.org.uk> * Florian La Roche <rzsfl@rz.uni-sb.de> * * Fixes: * Alan Cox : Fixed the worst of the load * balancer bugs. * Dave Platt : Interrupt stacking fix. * Richard Kooijman : Timestamp fixe...
henrix/beagle-linux
net/core/skbuff.c
C
gpl-2.0
114,539
/* * Copyright (C) International Business Machines Corp., 2000-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 option...
jeffegg/beaglebone
fs/jfs/jfs_uniupr.c
C
gpl-2.0
7,841
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * Utility functions for Python bindings. * Stolen from Epiphany. * * Copyright (C) 2005 Adam Hooper <adamh@cvs.gnome.org> * Copyright (C) 2005 Christian Persch <chpe@cvs.gnome.org> * Copyright (C) 2005 Crispin Flowerday <gnome@flowerday.c...
paulbellamy/Rhythmbox-iPod-Plugin
bindings/python/override_common.c
C
gpl-2.0
7,559
/* * ip6_flowlabel.c IPv6 flowlabel manager. * * 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. * ...
jmesmon/linux-2.4.37.y
net/ipv6/ip6_flowlabel.c
C
gpl-2.0
14,026
/* NOCW */ #include <stdio.h> #ifdef _OSD_POSIX #ifndef CHARSET_EBCDIC #define CHARSET_EBCDIC 1 #endif #endif #ifdef CHARSET_EBCDIC #include <openssl/ebcdic.h> #endif /* This version of crypt has been developed from my MIT compatible * DES library. * Eric Young (eay@cryptsoft.com) */ /* Modification by Jens Kupfer...
hajuuk/R7000
ap/gpl/transmission/openssl/crypto/des/fcrypt.c
C
gpl-2.0
4,328
/* * Licensed under the terms of the GNU GPL License version 2. */ #include <stdio.h> #include <sys/time.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <x86info.h> #include <rdtsc.h> void display_MHz(struct cpudata *cpu) { if (cpu->MHz < 1000) printf("%uMHz", cpu->...
kostikbel/x86info
MHz.c
C
gpl-2.0
1,677
/* * linux/arch/arm/mach-omap1/clock_data.c * * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc * * This program is free software; you can redistribute it and/or modify ...
nushor/samsung_aries_ics_OLD
arch/arm/mach-omap1/clock_data.c
C
gpl-2.0
24,556
#include <config.h> #ifdef WITH_QEMU # include <stdlib.h> # include "testutilsqemu.h" # include "testutils.h" # include "viralloc.h" # include "cpu_conf.h" # include "qemu/qemu_driver.h" # include "qemu/qemu_domain.h" # include "virstring.h" # define VIR_FROM_THIS VIR_FROM_QEMU static virCapsGuestMachinePtr *testQem...
liuji21/libvirt
tests/testutilsqemu.c
C
gpl-2.0
11,455
/* purple * @file secretservice.c Secret Service password storage * @ingroup plugins * * Purple is the legal property of its developers, whose names are too numerous * to list here. Please refer to the COPYRIGHT file distributed with this * source distribution. * * This program is free software; you can redist...
N8Fear/purple-facebook
.pidgin/libpurple/plugins/keyrings/secretservice.c
C
gpl-2.0
9,654
/*--------------------------------------------------------------- * Copyright (c) 2014, The Regents of the University of California, * through Lawrence Berkeley National Laboratory (subject to receipt of any * required approvals from the U.S. Dept. of Energy). All rights reserved. * * Based on code that is: * ...
gbtian/linux_mpip
iperf-master/src/locale.c
C
gpl-2.0
16,796
/* * Copyright (C) 2002-2005 Roman Zippel <zippel@linux-m68k.org> * Copyright (C) 2002-2005 Sam Ravnborg <sam@ravnborg.org> * * Released under the terms of the GNU GPL v2.0. */ #include <stdarg.h> #include <string.h> #include "lkc.h" /* file already present in list? If not add it */ struct file *file_lookup(cons...
kozmikkick/eternityprj-kernel-endeavoru-128
scripts/kconfig/util.c
C
gpl-2.0
2,864
/* * viking -- GPS Data and Topo Analyzer, Explorer, and Manager * * Copyright (C) 2012-2013, Guilhem Bonnefille <guilhem.bonnefille@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 Found...
rnorris/viking
src/vikroutingengine.c
C
gpl-2.0
9,214
/* * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * T...
anthonyryan1/libnftnl
src/expr/bitwise.c
C
gpl-2.0
9,231
/* * linux/fs/nfs/inode.c * * Copyright (C) 1992 Rick Sladkey * * nfs inode and superblock handling functions * * Modularised by Alan Cox <alan@lxorguk.ukuu.org.uk>, while hacking some * experimental NFS changes. Modularisation taken straight from SYS5 fs. * * Change to nfs_read_super() to permit NFS m...
MatiasBjorling/lightnvm-moved-to-OpenChannelSSD-Linux
fs/nfs/inode.c
C
gpl-2.0
54,050
/* * sound/sscape.c * * Low level driver for Ensoniq Soundscape */ /* * Copyright (C) by Hannu Savolainen 1993-1996 * * USS/Lite for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL) * Version 2 (June 1991). See the "COPYING" file distributed with this software * for more info. */ #include <linu...
harrifeng/linux-2.0.1
drivers/sound/sscape.c
C
gpl-2.0
22,193
/* * Broadcom Home Gateway Reference Design * Web Page Configuration Support Routines * * Copyright 2004, Broadcom Corporation * All Rights Reserved. * * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM * SP...
smx-smx/dsl-n55u-bender
release/src/router/httpd/sysdeps/web-broadcom.c
C
gpl-2.0
73,237
/*************************************************************************** * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * * Copyrig...
lilvinz/openocd
src/flash/nor/str9x.c
C
gpl-2.0
19,213
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* gkr-pkix-asn1.c - ASN.1 helper routines Copyright (C) 2007 Stefan Walter The Gnome Keyring Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as publishe...
linuxmint/gnome-keyring
pkcs11/gkm/gkm-data-asn1.c
C
gpl-2.0
2,149
/* * linux/mm/memory_hotplug.c * * Copyright (C) */ #include <linux/stddef.h> #include <linux/mm.h> #include <linux/swap.h> #include <linux/interrupt.h> #include <linux/pagemap.h> #include <linux/bootmem.h> #include <linux/compiler.h> #include <linux/export.h> #include <linux/pagevec.h> #include <linux/writeback...
WildfireDEV/s6
mm/memory_hotplug.c
C
gpl-2.0
48,432
/* * hdhomerun_channelscan.c * * Copyright © 2007-2008 Silicondust Engineering Ltd. <www.silicondust.com>. * * 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 * vers...
xbmc/atv2
xbmc/lib/libhdhomerun/hdhomerun_channelscan.c
C
gpl-2.0
8,744
/* * Copyright (C) 2009 Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> * * This file is released under the 2-clause BSD license. Please refer to the * file LICENSE for details. */ #include <assert.h> #include <stdio.h> #include <stdlib.h> #include "jit/args.h" #include "vm/method.h" #include "vm/types...
jatovm/jato
arch/x86/args.c
C
gpl-2.0
3,660
/* GStreamer * Copyright (C) 2010 Marc-Andre Lureau <marcandre.lureau@gmail.com> * Copyright (C) 2010 Andoni Morales Alastruey <ylatuya@gmail.com> * Copyright (C) 2011, Hewlett-Packard Development Company, L.P. * Author: Youness Alaoui <youness.alaoui@collabora.co.uk>, Collabora Ltd. * Author: Sebastian Dröge <s...
knuesel/gst-plugins-bad
gst/hls/gsthlsdemux.c
C
gpl-2.0
41,006
/* * ip_nat_pptp.c - Version 3.0 * * NAT support for PPTP (Point to Point Tunneling Protocol). * PPTP is a a protocol for creating virtual private networks. * It is a specification defined by Microsoft and some vendors * working with Microsoft. PPTP is built on top of a modified * version of the Internet Generi...
me-oss/me-linux
net/ipv4/netfilter/ip_nat_helper_pptp.c
C
gpl-2.0
13,452
#include <linux/kernel.h> #include <linux/bitops.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/irqchip.h> #include <linux/io.h> #include <linux/device.h> #include <linux/gpio.h> #include <clocksource/samsung_pwm.h> #include <linux/sched.h> #include <linux/serial_core.h> #include <linux/of.h> #...
ultrasystem/uavlinux-x3
arch/arm/mach-exynos/exynos.c
C
gpl-2.0
10,361
/* * linux/fs/9p/vfs_file.c * * This file contians vfs file ops for 9P2000. * * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com> * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gene...
SoftRoCE/rxe-dev
fs/9p/vfs_file.c
C
gpl-2.0
16,958
/* Super Real Mahjong P5 (c)1994 SETA preliminary driver by Tomasz Slanina -- CPU : R3560 (IDT MIPS R3000 derivative) SOUND : TC6210AF (ST-0016) OSC. : 50.0000MHz 42.9545MHz SX008-01.BIN ; CHR ROM SX008-02.BIN ; | SX008-03.BIN ; | SX008-04.BIN ; | SX008-05.BIN ; | SX008-06.BIN ; | SX00...
Luke-Nukem/mame-144-vector_mod
src/mame/drivers/srmp5.c
C
gpl-2.0
19,990
#include <linux/stat.h> #include <linux/sysctl.h> #include "../fs/xfs/linux-2.6/xfs_sysctl.h" #include <linux/sunrpc/debug.h> #include <linux/string.h> #include <net/ip_vs.h> static int sysctl_depth(struct ctl_table *table) { struct ctl_table *tmp; int depth; depth = 0; for (tmp = table; tmp->parent; tmp = tmp->...
renaudallard/gnexus_kernel
kernel/sysctl_check.c
C
gpl-2.0
3,997
/* * $Id$ * * by JH <jheinonen@users.sourceforge.net> * * Copyright (C) Jaakko Heinonen */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <signal.h> #include <ctype.h> #include "abook.h" #include <assert.h> #include "ui.h" #include "edit.h" #include "d...
hhirsch/abook
ui.c
C
gpl-2.0
15,854
/* * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting * Copyright (c) 2002-2008 Atheros Communications, 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 notice and this permission notice appe...
princeofdream/debug_src_full
network_utils/madwifi/ath_hal/ar5416/ar5416_xmit.c
C
gpl-2.0
20,792
/* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* * Copyright (c) 2009 Ali Polatel <polatel@gmail.com> * Copyright (c) 2009 Saleem Abdulrasool <compnerd@compnerd.org> * * This file is part of the sydbox sandbox tool. sydbox is free software; * you can redistribute it and/or modify it under the terms of the GNU ...
psychoschlumpf/sydbox
src/main.c
C
gpl-2.0
16,361
/* BlueZ - Bluetooth protocol stack for Linux Copyright (C) 2000-2001 Qualcomm Incorporated Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by t...
arter97/odroid
backports/net/bluetooth/hci_sock.c
C
gpl-2.0
25,071
/* * IPv6 output functions * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * * $Id: ip6_output.c,v 1.34 2002/02/01 22:01:04 davem Exp $ * * Based on linux/net/ipv4/ip_output.c * * This program is free software; you can redistribute it and/or * modify it under the terms of...
waterice/Test-Git
net/ipv6/ip6_output.c
C
gpl-2.0
29,667
/* Copyright (C) 2007-2014 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...
chifflier/suricata
src/util-spm-bm.c
C
gpl-2.0
14,948
/* * INETPEER - A storage for permanent information about peers * * This source is covered by the GNU GPL, the same as all kernel sources. * * Version: $Id: inetpeer.c,v 1.1.1.1 2007/06/12 07:27:14 eyryu Exp $ * * Authors: Andrey V. Savochkin <saw@msu.ru> */ #include <linux/module.h> #include <linux/types....
sdwuyawen/linux2.6.21_helper2416
net/ipv4/inetpeer.c
C
gpl-2.0
15,016
/* * mst.c - NTFS multi sector transfer protection handling code. Part of the * Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov * * This program/include file is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published * by the...
z3bu/AH4222
kernel/linux/fs/ntfs/mst.c
C
gpl-2.0
7,075
/* vim:set et sts=4: */ /* * Copyright © 2009 Red Hat, Inc. All rights reserved. * Copyright © 2009 Ding-Yi Chen <dchen at redhat.com> * * This file is part of the ibus-chewing Project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licen...
czchen/ibus-chewing
src/main.c
C
gpl-2.0
5,434
/* * gendisk handling */ #include <linux/module.h> #include <linux/fs.h> #include <linux/genhd.h> #include <linux/kdev_t.h> #include <linux/kernel.h> #include <linux/blkdev.h> #include <linux/init.h> #include <linux/spinlock.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/slab.h> #include ...
srfarias/cexstel-kernel
block/genhd.c
C
gpl-2.0
44,807
#include "lolevel.h" #include "platform.h" #include "core.h" #include "dryos31.h" #define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER) const char * const new_sa = &_end; extern void task_CaptSeq(); extern void task_InitFileModules(); extern void task_MovieRecord(); extern void task_ExpDrv(); extern void task_...
c10ud/CHDK
platform/ixus95_sd1200/sub/boot_hdr.c
C
gpl-2.0
1,403
/***************************************************************************** * httpd.c: HTTPd wrapper ***************************************************************************** * Copyright (C) 2007-2008 the VideoLAN team * $Id$ * * Authors: Antoine Cellerier <dionoea at videolan tod org> * * This program i...
squadette/vlc
modules/misc/lua/libs/httpd.c
C
gpl-2.0
13,345
/* BGP packet management routine. Copyright (C) 1999 Kunihiro Ishiguro Copyright (C) 2015 Hewlett Packard Enterprise Development LP This file is part of GNU Zebra. GNU Zebra 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 Soft...
open-switch/ops-quagga
bgpd/bgp_packet.c
C
gpl-2.0
73,973
/* * QEMU disk image utility * * Copyright (c) 2003-2008 Fabrice Bellard * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
legumbre/qemu-z80
qemu-img.c
C
gpl-2.0
30,217
/* Target-dependent code for Atmel AVR, for GDB. Copyright (C) 1996-2013 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; eith...
nds32/binutils
gdb/avr-tdep.c
C
gpl-2.0
48,417
/* Name: osccal.c * Author: Christian Starkjohann * Creation Date: 2008-04-10 * Tabsize: 4 * Copyright: (c) 2008 by OBJECTIVE DEVELOPMENT Software GmbH * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) * This Revision: $Id: osccal.c 762 2009-08-12 17:10:30Z cs $ */ #incl...
EjaadTech/Ejaaduino_AVRCDC
libs-device/osccal.c
C
gpl-2.0
3,603
/* * linux/fs/namei.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * Some corrections by tytso. */ /* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname * lookup logic. */ /* [Feb-Apr 2000, AV] Rewrite to the new namespace architecture. */ #include <linux/init.h> #include <linux/export.h...
johnnyslt/android_kernel_htc_msm8660
fs/namei.c
C
gpl-2.0
84,443
#include "driver.h" #include "vidhrdw/konamiic.h" static int layer_colorbase[2]; extern int bladestl_spritebank; PALETTE_INIT( bladestl ) { int i; #define TOTAL_COLORS(gfxn) (Machine->gfx[gfxn]->total_colors * Machine->gfx[gfxn]->color_granularity) #define COLOR(gfxn,offs) (colortable[Machine->drv->gfxdecodeinfo[g...
scs/uclinux
user/games/xmame/xmame-0.106/src/vidhrdw/bladestl.c
C
gpl-2.0
2,161
/* SPDX-License-Identifier: LGPL-2.1-or-later */ #include <netinet/tcp.h> #include <unistd.h> #include "alloc-util.h" #include "fd-util.h" #include "io-util.h" #include "missing_network.h" #include "resolved-dns-stream.h" #include "resolved-manager.h" #define DNS_STREAM_TIMEOUT_USEC (10 * USEC_PER_SEC) #define DNS_S...
tblume/systemd-upstream
src/resolve/resolved-dns-stream.c
C
gpl-2.0
21,331
/* * ACPI PCI Hot Plug Controller Driver * * Copyright (C) 1995,2001 Compaq Computer Corporation * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) * Copyright (C) 2001 IBM Corp. * Copyright (C) 2002 Hiroshi Aono (h-aono@ap.jp.nec.com) * Copyright (C) 2002,2003 Takayoshi Kochi (t-kochi@bq.jp.nec.com) * Co...
z3bu/AH4222
kernel/linux/drivers/pci/hotplug/acpiphp_core.c
C
gpl-2.0
9,711
/* =========================================================================== 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 ...
redrumrobot/quakeconstruct
code/game/g_spawn.c
C
gpl-2.0
19,651
/* * CDE - Common Desktop Environment * * Copyright (c) 1993-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published by the Free Software * Foundation; ei...
sTeeLM/MINIME
toolkit/srpm/SOURCES/cde-2.2.4/programs/dthelp/parser/pass2/parser/input.c
C
gpl-2.0
5,416
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * auto-correct.c: * * Authors: * Jukka-Pekka Iivonen <jiivonen@hutcs.cs.hut.fi> * Morten Welinder (UTF-8). * * (C) Copyright 2000, 2001 by Jukka-Pekka Iivonen <iivonen@iki.fi> * * This program is free s...
10sr/gnumeric-gda
src/tools/auto-correct.c
C
gpl-2.0
7,447
/* * scanMngr.c * * Copyright(c) 1998 - 2010 Texas Instruments. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
jjm2473/AMLOGIC_M8
drivers/net/wifi-fw-kk-amlogic/wgt7310/wl1271_m603/stad/src/Application/scanMngr.c
C
gpl-2.0
210,895
/* * QEMU AMD PC-Net II (Am79C970A) emulation * * Copyright (c) 2004 Antony T Curtis * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation...
legumbre/qemu-z80
hw/pcnet.c
C
gpl-2.0
65,954
/* ChibiOS - Copyright (C) 2014 Derek Mulcahy 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...
galengold/split70
qmk_firmware/lib/chibios-contrib/os/hal/ports/KINETIS/LLD/hal_gpt_lld.c
C
gpl-3.0
10,416
/* * Unix SMB/CIFS implementation. * * Copyright (C) 2019 Michael Hanselmann <public@hansmi.ch> * * 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 ...
kernevil/samba
source4/utils/oLschema2ldif/test.c
C
gpl-3.0
4,975
/* testing the speed of answering queries via net compile by linux: gcc nsmeasure.c -o nsmeasure -O2 -lpthread windows: cl /Ox /I"." Server\nsmeasure.c wgdb.lib run like nsmeasure 'http://127.0.0.1:8080/dserve?op=search' 4 1000 '5689' where: - url must use http - url must contain a numeric IP, not a domain name - u...
jqk6/whitedb
Server/nsmeasure.c
C
gpl-3.0
17,874
/* os_close_on_exec --- set close on exec flag, print warning if fails */ void os_close_on_exec(fd, name, what, dir) int fd; char *name, *what, *dir; { /* no-op */ } /* os_isdir --- is this an fd on a directory? */ #if ! defined(S_ISDIR) && defined(S_IFDIR) #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif in...
ystk/debian-gawk
unsupported/tandem/tmisc.c
C
gpl-3.0
3,625
/* This file is part of darktable, Copyright (C) 2018-2021 darktable developers. darktable 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 opti...
TurboGit/darktable
src/imageio/storage/piwigo.c
C
gpl-3.0
39,056
/* Unix SMB/CIFS implementation. Easy management of byte-length data Copyright (C) Andrew Tridgell 2001 Copyright (C) Andrew Bartlett 2001 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...
Crypt0s/Ramen
fs_libs/cifsacl/data_blob.c
C
gpl-3.0
5,576
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
rtcwcoop/rtcwcoop
code/qcommon/cm_trace.c
C
gpl-3.0
39,301
/* Copyright 2003-2011 Tom Rune Flo This file is part of CAVEZ OF PHEAR CAVEZ OF PHEAR 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...
tomrf/cavez
src/loadmap.c
C
gpl-3.0
1,267
/* * brainfuck.c * humrcraft Source Code * Available on Github * * Copyright (c) 2017 Karol "digitcrusher" Łacina * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restrictio...
digitcrusher/textcraft
src/brainfuck.c
C
gpl-3.0
2,916
/* * This file is part of Luma3DS * Copyright (C) 2016-2018 Aurora Wright, TuxSH * * 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 opti...
trbocode/Luma3DS
sysmodules/rosalina/source/gdb/server.c
C
gpl-3.0
9,109
/* Select <n> random lines from a file and print them. * * SRE, Fri Jun 13 08:17:53 2008 [Janelia] * SVN $Id$ */ #include "esl_config.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include "easel.h" #include "esl_getopts.h" #include "esl_random.h" static ESL_OPTIONS options[] = { /* name ...
rzeller/hmmer-3.0
easel/miniapps/esl-selectn.c
C
gpl-3.0
3,709
/* libFLAC - Free Lossless Audio Codec library * Copyright (C) 2000,2001,2002,2003,2004,2005 Josh Coalson * * 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...
DMCsys/smartalkaudio
oss-survey/tcpmp/flac/flac/src/libFLAC/fixed.c
C
gpl-3.0
16,679
/* * Wolfenstein: Enemy Territory GPL Source Code * Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. * * ET: Legacy * Copyright (C) 2012-2016 ET:Legacy team <mail@etlegacy.com> * * This file is part of ET: Legacy - http://www.etlegacy.com * * ET: Legacy is free software: you can redistribute i...
ensiform/etlegacy
src/renderercommon/tr_common.c
C
gpl-3.0
17,106
/* seskey.c - Session key routines * Copyright (C) 1998, 1999, 2000, 2002, 2003, 2007, 2008, 2010 Free * Software Foundation, Inc. * * Author: Timo Schulz * * This file is part of OpenCDK. * * The OpenCDK library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gen...
freedesktop-unofficial-mirror/gstreamer-sdk__gnutls
lib/opencdk/seskey.c
C
gpl-3.0
6,426
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
variar/klogg
3rdparty/mimalloc/src/alloc-override.c
C
gpl-3.0
14,366
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * Copyright (C) 2011-2017 - Daniel De Matteis * Copyright (C) 2016-2017 - Gregor Richards * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as ...
GregorR/RetroArch
network/netplay/netplay_frontend.c
C
gpl-3.0
53,122
/* ** $Id: lstrlib.c,v 1.132.1.5 2010/05/14 15:34:19 roberto Exp $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ #include <ctype.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lstrlib_c #define LUA_LIB #include "lua.h" ...
ludamad/hashkat
src/dependencies/lua/lstrlib.c
C
gpl-3.0
23,597
/* * gtkchequer.c * * by Joern Thyssen <jthyssen@dk.ibm.com>, 2002 * * This program is free software; you can redistribute it and/or modify * it under the terms of version 3 or later of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope th...
cowpig/notorious-BG
gtkchequer.c
C
gpl-3.0
20,374
/* -*-mode:c;coding:utf-8; c-basic-offset:2;fill-column:70;c-file-style:"gnu"-*- * * Copyright (C) 2009 Arnaud "arnau" Fontaine <arnau@mini-dweeb.org> * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Fr...
mitrandir77/unagi
src/plugin.c
C
gpl-3.0
4,041
typedef unsigned char UCHAR; #include <stdio.h> #include <stdlib.h> #define MAXSIZ 32 * 1024 * 1024 + 310 int main(int argc, char** argv) { FILE *fp; UCHAR *buf = malloc(MAXSIZ), *l; int i, j = 0, k; static UCHAR head[0x8c] = { 0x4c, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x0...
HobbyOSs/opennask
src/bin2obj.c
C
gpl-3.0
3,940
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-avx2-128.h" #include "../common/t1fv_6.c"
Shangxz/HackIllinois2017
tone-analysis/fftw-3.3.6-pl1/dft/simd/avx2-128/t1fv_6.c
C
gpl-3.0
113
/***************************************************************************** * COPYRIGHT : This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.o...
T12z/TCNopen
SDTv2/test/sdt_validator.c
C
mpl-2.0
60,624
/* * Copyright (C) 1999-2001, 2004-2007, 2009, 2011, 2012, 2016 Internet Systems Consortium, Inc. ("ISC") * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*...
pecharmin/bind9
bin/named/tsigconf.c
C
mpl-2.0
4,276
/***************************************************************************//** * @file em_burtc.c * @brief Backup Real Time Counter (BURTC) Peripheral API * @version 4.3.0 ******************************************************************************* * @section License * <b>Copyright 2016 Silicon Laboratories,...
PW-Sat2/PWSat2OBC
libs/external/emlib/Source/em_burtc.c
C
agpl-3.0
11,659
/* libquvi * Copyright (C) 2012-2013 Toni Gundogdu <legatvs@gmail.com> * * This file is part of libquvi <http://quvi.sourceforge.net/>. * * This library is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public * License as published by the Free Software Found...
mogaal/libquvi
src/api/script_next.c
C
agpl-3.0
3,575
/* Copyright (C) 2020 Daniel Schultz This file is part of FLINT. FLINT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
fredrik-johansson/flint2
fmpz_mod_mpoly_factor/bpoly_factor_smprime.c
C
lgpl-2.1
43,603