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
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #define MYPORT 1234 // the port users will be connecting to #define BACKLOG 5 // how many pending connections queue will ...
todaygood/my_c
network_basic_model/select/select_server.c
C
gpl-2.0
3,651
/* * vmnetfs - virtual machine network execution virtual filesystem * * Copyright (C) 2006-2014 Carnegie Mellon University * * 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 Free Software Foundation. ...
cmusatyalab/vmnetx
vmnetfs/vmnetfs.c
C
gpl-2.0
18,362
/***************************************************************************** * * userlist.c * Purpose ...............: Display Userlist * ***************************************************************************** * Copyright (C) 2013-2017 Robert James Clay <jame@rocasa.us> * Copyright (C) 1997-2007 Michiel ...
ftnapps/FTNd
ftnbbs/userlist.c
C
gpl-2.0
5,019
/* descriptor table format in memory UINT16 limit UINT24 addr 0..3 type system segment 3 execute: 0 data segment: readable, 1: write 2: expand down 1 code segment 1: readable 2: conforming (can be used with higher privilege level) 0: access (set...
pdzion/fc-100
source/src/vm/mame/i86/instr286.c
C
gpl-2.0
30,648
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2010-2014 Intel Corporation */ #include <string.h> #include <fcntl.h> #include <linux/pci_regs.h> #include <sys/eventfd.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <stdbool.h> #include <rte_log.h> #include <rte_pci.h> #incl...
grivet/dpdk
drivers/bus/pci/linux/pci_vfio.c
C
gpl-2.0
26,844
/** * Implementation of the Lyra2 Password Hashing Scheme (PHS). * * Author: The Lyra PHC team (http://www.lyra-kdf.net/) -- 2014. * * This software is hereby placed in the public domain. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED T...
foxer666/node-multi-hashing
lyra2.c
C
gpl-2.0
17,820
/* * sdhci-pltfm.c Support for SDHCI platform devices * Copyright (c) 2009 Intel Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed i...
szezso/3.0-mid
drivers/mmc/host/sdhci-pltfm.c
C
gpl-2.0
6,600
#include <linux/workqueue.h> #include <net/xfrm.h> #include <linux/pfkeyv2.h> #include <linux/ipsec.h> #include <linux/module.h> #include <linux/cache.h> #include <linux/audit.h> #include <asm/uaccess.h> #include "xfrm_hash.h" static DEFINE_SPINLOCK(xfrm_state_lock); static unsigned int xfrm_state_hashmax __read...
leemgs/OptimusOneKernel-KandroidCommunity
net/xfrm/xfrm_state.c
C
gpl-2.0
53,041
/* SCTP kernel implementation * (C) Copyright IBM Corp. 2001, 2004 * Copyright (c) 1999-2000 Cisco, Inc. * Copyright (c) 1999-2001 Motorola, Inc. * * This file is part of the SCTP kernel implementation * * These functions handle output processing. * * This SCTP implementation is free software; * you can redis...
evolver56k/xpenology
net/sctp/output.c
C
gpl-2.0
23,503
/* * Synaptics DSX touchscreen driver * * Copyright (C) 2012 Synaptics Incorporated * * Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com> * Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com> * * This program is free software; you can redistribute it and/or modify * it under the terms o...
Honor8Dev/android_kernel_huawei_FRD-L04
drivers/hisi/fpga_touchscreen/panel/synaptics/synaptics_debug.c
C
gpl-2.0
58,189
#include <stdio.h> #include "pmom_cat.h" #include "nvim.h" struct nv_icc_msg_name g_nv_msg_name_table[NV_ICC_MSG_TYPE_SUM] = { {NV_ICC_REQ_PRIORITY_HIGH_FLUSH, "CCPU", "req write high priority nv"}, {NV_ICC_REQ_PRIORITY1_FLUSH, "CCPU", "req write high priority1 nv"}, {NV_ICC_REQ_PRIORITY_MID_LO...
Honor8Dev/android_kernel_huawei_FRD-L04
drivers/vendor/hisi/modem/drv/acore/system/extras/pmom_cat/nvim.c
C
gpl-2.0
2,972
/* device.c -- Interaction with Windows tap driver in a MinGW environment Copyright (C) 2002-2004 Ivo Timmermans <ivo@tinc-vpn.org>, 2002-2004 Guus Sliepen <guus@tinc-vpn.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Pu...
enki/gvpe
src/tincd/mingw/device.c
C
gpl-2.0
8,333
/* Intel PRO/1000 Linux driver * Copyright(c) 1999 - 2015 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed i...
ikcalB/ethercat-master
devices/e1000e/ich8lan-3.4-ethercat.c
C
gpl-2.0
166,110
/* pr0file.c This frei0r plugin ia an "2D video oscilloscope" Version 0.1 jun 2010 Copyright (C) 2010 Marko Cebokli http://lea.hamradio.si/~s57uuu 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 Founda...
ttill/frei0r
src/filter/measure/pr0file.c
C
gpl-2.0
27,136
/** * Copyright (C) 2002, 2003 Billy Biggs <vektor@dumbterm.net>. * * Helped by XTest code from xine, a free video player, * Copyright (C) 2000-2003 the xine project * * 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 * ...
Mikachu/tvtime
src/xvoutput.c
C
gpl-2.0
12,934
/* * afdconvert.c - Part of AFD, an automatic file distribution program. * Copyright (c) 2009 - 2015 Deutscher Wetterdienst (DWD), * Holger Kiehl <Holger.Kiehl@dwd.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
holger24/AFD
src/tools/afdconvert.c
C
gpl-2.0
7,015
#include "fdtd.h" /* update magnetic field */ void updateH(Grid *g){ int mm; for (mm = 0; mm < SizeX - 1; mm++) Hy(mm) = Chyh(mm) * Hy(mm) + Chye(mm) * (Ez(mm + 1) - Ez(mm)); //printf("Hy(0): %g, Hy(1): %g\t", Hy(0), Hy(1)); return; } /* update electric field */ void updateE(Grid *g){ int mm; for (mm = 1...
mjonyh/1dfdtd
modular/update.c
C
gpl-2.0
473
/*-------------------------------------------------------*/ /* util/reaper.c */ /*-------------------------------------------------------*/ /* target : ¨Ï¥ÎªÌ±b¸¹©w´Á²M²z */ /* create : 95/03/29 */ /* remake : 12/10/08 */ /* update : 12/10/19 */ /*---------------------------------------------...
MapleCirc/Auroral
bbs/src/util/reaper.c
C
gpl-2.0
12,570
/* * RTC subsystem, dev interface * * Copyright (C) 2005 Tower Technologies * Author: Alessandro Zummo <a.zummo@towertech.it> * * based on arch/arm/common/rtctime.c * * 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 * pu...
Core2idiot/Kernel-Samsung-3.0...-
drivers/rtc/rtc-dev.c
C
gpl-2.0
12,921
/* * purple * * 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 redistribute it and/or modify * it under the terms of the GNU General Public Li...
gabrieldelsaint/uol-messenger
src/public/pidgin/libpurple/protocols/yahoo/yahoo_doodle.c
C
gpl-2.0
16,705
/*********************************************************************** 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...
freeciv/freeciv
client/gui-gtk-3.22/inteldlg.c
C
gpl-2.0
23,058
/* * Copyright (C) 1991, 1992 Linus Torvalds */ /* * 'tty_io.c' gives an orthogonal feeling to tty's, be they consoles * or rs-channels. It also implements echoing, cooked mode etc. * * Kill-line thanks to John T Kohl, who also corrected VMIN = VTIME = 0. * * Modified by Theodore Ts'o, 9/14/92, to dynamicall...
BenzoPlayer/kernel_asus_fugu
drivers/tty/tty_io.c
C
gpl-2.0
91,842
/* * LPDDR2 data as per JESD209-2 * * Copyright (C) 2010 Texas Instruments, Inc. * * Aneesh V <aneesh@ti.com> * Santosh Shilimkar <santosh.shilimkar@ti.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 ...
mdeejay/kernel_huawei_omap4
arch/arm/mach-omap2/lpddr2_jedec_data.c
C
gpl-2.0
3,494
#include <pspuser.h> PSP_MODULE_INFO("mcid_cov", 0, 1, 0); PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU); PSP_HEAP_SIZE_KB(-1); int backXMB(int a, int b, void* c) { sceKernelExitGame(); return 0; } int thread(SceSize a, void* b) { sceKernelRegisterExitCallback( sceKernelCreateCallback("cov_back_x...
mcidclan/cloud-of-voxels
psp/backthreads.c
C
gpl-2.0
594
/* BEGIN PN:DTS2013053103858 , Added by d00238048, 2013.05.31*/ #ifndef BUILD_LK #include <linux/string.h> #endif #include "lcm_drv.h" #ifdef BUILD_LK #include <platform/mt_gpio.h> #include <platform/mt_i2c.h> #include <platform/mt_pmic.h> #elif defined(BUILD_UBOOT) #include <asm/arch/mt_gpio.h> #else #includ...
AnonymousMediatekTeam/android_kernel_aio_otfp
drivers/misc/mediatek/lcm/nt35595_fhd_dsi_vdo_truly/nt35595_fhd_dsi_vdo_truly.c
C
gpl-2.0
28,379
/* Unix SMB2 implementation. Copyright (C) Andrew Tridgell 2005 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 2 of the ...
technosaurus/samba4-GPL2
source4/smb_server/smb2/receive.c
C
gpl-2.0
14,970
/* * desktop-app-info: A GDesktopAppInfo like object for garcon menu * items implementing and supporting GAppInfo * * Copyright 2012-2021 Stephan Haller <nomad@froevel.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public L...
xfce-mirror/xfdashboard
libxfdashboard/desktop-app-info.c
C
gpl-2.0
78,909
/* * This file is part of UBIFS. * * Copyright (C) 2006-2008 Nokia Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope t...
abev66/linux-kernel-vta2-ns
fs/ubifs/super.c
C
gpl-2.0
61,832
/* * mac80211 configuration hooks for cfg80211 * * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> * * This file is GPLv2 as found in COPYING. */ #include <linux/ieee80211.h> #include <linux/nl80211.h> #include <linux/rtnetlink.h> #include <linux/slab.h> #include <net/net_namespace.h> #include <lin...
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/compat-wireless-2013-06-27/net/mac80211/cfg.c
C
gpl-2.0
95,426
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * "Ping" sockets * * This program is free software; you can redistribute it and/or * modify it under the te...
forfivo/v500_kernel_aosp
net/ipv4/ping.c
C
gpl-2.0
21,605
/* Copyright Statement: * * (C) 2005-2016 MediaTek Inc. All rights reserved. * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licens...
flyingcys/rtthread-mtk_iot
bsp/mtk_iot/Libraries/driver/chip/mt7686/src_core/hal_sleep_manager_internal.c
C
gpl-2.0
33,959
/* * RTEMS for Nintendo DS console driver. * * Copyright (c) 2008 by Renaud Voltz <renaud.voltz@gmail.com> * Matthieu Bucchianeri <mbucchia@gmail.com> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * * http://www.rtems.or...
heshamelmatary/rtems-gsoc2014
c/src/lib/libbsp/arm/nds/console/console.c
C
gpl-2.0
3,873
char SOME_STRING[1000] = "kdlsjfklds;fjkls;djflksdjflkdsjfklsdjfkl;sjfklsdjfkl;jsdflk;jsdl;fjsdlkfjsdklf;jds;lfjskdl;fjkls;dfjlkds;jfkl;sjdfk;ldsjklnvklsnbklsdnblkdlsjfklds;fjkls;djflksdjflkdsjfklsdjfkl;sjfklsdjfkl;jsdflk;jsdl;fjsdlkfjsdklf;jds;lfjskdl;fjkls;dfjlkds;jfkl;sjdfk;ldsjklnvklsnbklsdnblkdlsjfklds;fjkls;djflk...
ravenexp/splint
test/moreBufferTests/strncatReallyGood.c
C
gpl-2.0
765
/* * Copyright (C) 2009 David Mohr <david@mcbf.net> * * 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. * * ...
squisher/checkcopy
src/checkcopy-details-window.c
C
gpl-2.0
10,149
/* 8139cp.c: A Linux PCI Ethernet driver for the RealTek 8139C+ chips. */ /* Copyright 2001-2004 Jeff Garzik <jgarzik@pobox.com> Copyright (C) 2001, 2002 David S. Miller (davem@redhat.com) [tg3.c] Copyright (C) 2000, 2001 David S. Miller (davem@redhat.com) [sungem.c] Copyright 2001 Manfred Spraul [natsemi.c...
xtreamerdev/linux-xtr
drivers/net/8139cplus.c
C
gpl-2.0
57,952
/* * drivers/base/power/wakeup.c - System wakeup events framework * * Copyright (c) 2010 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. * * This file is released under the GPLv2. */ #include <linux/device.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/capability.h> #include <linux/export.h> #i...
Rlasalle15/android_kernel_moto_shamu
drivers/base/power/wakeup.c
C
gpl-2.0
25,146
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -msse2 -march=k8" } */ /* { dg-final { scan-assembler "pand\[^\\n\]*magic" } } */ /* { dg-final { scan-assembler "pandn\[^\\n\]*magic" } } */ /* { dg-final { scan-assembler "pxor\[^\\n\]*magic" } } */ /* { dg-final { scan-assembler "por\[^\\n\]...
aosm/gcc_40
gcc/testsuite/gcc.dg/i386-ssetype-5.c
C
gpl-2.0
816
/* * drivers/cpufreq/cpufreq_intellidemand.c * * Copyright (C) 2001 Russell King * (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>. * Jun Nakajima <jun.nakajima@intel.com> * * This program is free software; you can redistribute it and/or modify * it under the ter...
laufersteppenwolf/android_kernel_lge_d680
drivers/cpufreq/cpufreq_intellidemand.c
C
gpl-2.0
25,238
//@+leo-ver=4-thin //@+node:gan0ling.20140624153650.1352:@shadow nrf_gzp_host.c //@@language c //@@tabwidth -4 //@+others //@+node:gan0ling.20140624184821.3396:nrf_gzp_host declarations /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is confidential property of No...
xiaogan-Studio/OpenCloudEnvMonitor
Src/Source/gzp/.leo_shadow/xnrf_gzp_host.c
C
gpl-2.0
24,962
/* xmpp-other.c * Wireshark's XMPP dissector. * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * $Id: packet-xmpp-other.c 46748 2012-12-26 05:57:06Z guy $ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free soft...
drower/wireshark-1.10.0
epan/dissectors/packet-xmpp-other.c
C
gpl-2.0
49,165
/* * Copyright (C) 2009 LSI Corporation * * See file CREDITS for list of people who contributed to this * project. * * 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 ...
z8cpaul/lsikernel-3.10
drivers/misc/lsi-ncr.c
C
gpl-2.0
8,529
/* Copyright (c) 2013-2016, 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...
JTdevAndroid/XKernel
drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c
C
gpl-2.0
40,142
/** * Tempesta Memory Reservation * * Copyright (C) 2015-2016 Tempesta Technologies, 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 of the License, * or (at you...
tempesta-tech/linux-4.8.15-tfw
mm/tempesta_mm.c
C
gpl-2.0
6,870
/* * Various utilities for ffmpeg system * Copyright (c) 2000, 2001, 2002 Fabrice Bellard * * 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 * ve...
loongson-community/mplayer
libavformat/os_support.c
C
gpl-2.0
1,903
/* Copyright (C) 2001 Tensilica, Inc. All Rights Reserved. Revised to support Tensilica processors and to improve overall performance */ /* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the term...
qiyao/xcc
libm/atan2ftab.c
C
gpl-2.0
2,784
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
luckasfb/OT_903D-kernel-2.6.35.7
bootable/bootloader/uboot/arch/arm/cpu/arm926ejs/mx25/reset.c
C
gpl-2.0
3,905
/* * Copyright (c) 2014 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * EXYNOS - CHIP ID support * Author: Pankaj Dubey <pankaj.dubey@samsung.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 * pub...
alexax66/android_kernel_samsung_exynos7870
drivers/soc/samsung/exynos-chipid.c
C
gpl-2.0
6,010
/* * vdc-draw.c - Rendering for the MOS 8563 (VDC) emulation. * * Written by * Andreas Boose <viceteam@t-online.de> * Ettore Perazzoli <ettore@comm2000.it> * Markus Brenner <markus@brenner.de> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This pro...
tojo9900/vice
src/vdc/vdc-draw.c
C
gpl-2.0
35,500
/* * File : startup.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006, RT-Thread Develop Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://openlab.rt-thread.com/license/LICENSE * * Change Logs: * Date Auth...
visitor83/fighting_stm32
bsp/fighting/startup.c
C
gpl-2.0
3,148
/* * Copyright (c) 2003, Intel Corporation. All rights reserved. * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com * 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. */ /* * Test that mq_open() fails wi...
shubmit/shub-ltp
testcases/open_posix_testsuite/conformance/interfaces/mq_open/29-1.c
C
gpl-2.0
1,137
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ #include "config.h" #include "cinnamon-app-system.h" #include <string.h> #include <gio/gio.h> #include <glib/gi18n.h> #include "cinnamon-app-private.h" #include "cinnamon-window-tracker-private.h" #include "cinnamon-app-system-private.h" #include "c...
collinss/Cinnamon
src/cinnamon-app-system.c
C
gpl-2.0
19,313
/* * linux/kernel/time/tick-sched.c * * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar * Copyright(C) 2006-2007 Timesys Corp., Thomas Gleixner * * No idle tick implementation for low and high resolution timers * * Started by: Thomas Glei...
asoneofus/v350
FADG_4.39A/kernel/kernel/time/tick-sched.c
C
gpl-2.0
22,750
/* * Copyright © 2003 USC, Information Sciences Institute * * Permission to use, copy, modify, distribute, and sell this software * and its documentation for any purpose is hereby granted without * fee, provided that the above copyright notice appear in all copies * and that both that copyright notice and this pe...
freedesktop-unofficial-mirror/poppler__test
read-png.c
C
gpl-2.0
5,405
/* gl520sm.c - Part of lm_sensors, Linux kernel modules for hardware monitoring Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl>, Kyösti Mälkki <kmalkki@cc.hut.fi> Copyright (c) 2005 Maarten Deprez <maartendeprez@users.sourceforge.net> ...
jeffegg/beaglebone
drivers/hwmon/gl520sm.c
C
gpl-2.0
29,566
/****************************************************************************** * xmit_linux.c * * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. * Linux device driver for RTL8192SU * * This program is free software; you can redistribute it and/or modify it * under the terms of version...
jeffegg/beaglebone
drivers/staging/rtl8712/xmit_linux.c
C
gpl-2.0
5,083
// // OOSMOS TimeoutInSeconds Example // // Copyright (C) 2014-2020 OOSMOS, LLC // // 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 ("GPLv2"). // // This software may...
oosmos/oosmos
Examples/Basic/Windows/TimeoutInSeconds.c
C
gpl-2.0
1,537
/****************************************************************************** * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserv...
jeffegg/beaglebone
drivers/net/wireless/iwlwifi/iwl-eeprom.c
C
gpl-2.0
26,420
/* * This file is part of the coreboot project. * * Copyright (C) 2015 - 2016 Intel Corp. * (Written by Alexandru Gagniuc <alexandrux.gagniuc@intel.com> for Intel Corp.) * * 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...
latelee/coreboot
src/drivers/intel/fsp2_0/graphics.c
C
gpl-2.0
3,035
/* $Id: opverbs.c 1831 2010-06-13 18:20:35Z andreradke $ */ /****************************************************************************** UserLand Frontier(tm) -- High performance Web content management, object database, system-level and Internet scripting environment, including source code editing ...
scripting/frontier
Common/source/opverbs.c
C
gpl-2.0
95,698
/* linux/arch/arm/mach-msm/board-trout-mmc.c ** Author: Brian Swetland <swetland@google.com> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/mmc/host.h> #include <linux/mmc/sdio_ids.h> #include <linux/err.h> #include <linux/debugfs.h> #i...
skywalker01/Samsung-Galaxy-S-Plus
arch/arm/mach-fsm/board-trout-mmc.c
C
gpl-2.0
11,172
/* * This file is part of sp-error-visualizer * * Copyright (C) 2007,2011 Nokia Corporation. * * Contact: Eero Tamminen <eero.tamminen@nokia.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free...
maemo-tools-old/sp-error-visualizer
src/sp-error-visualizer.c
C
gpl-2.0
12,208
/* ** Zabbix ** Copyright (C) 2001-2015 Zabbix SIA ** ** 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. ** ** This pro...
gplessis/dotdeb-zabbix
src/libs/zbxsysinfo/common/system.c
C
gpl-2.0
3,062
/* * Copyright (C) 2010-2011 B.A.T.M.A.N. contributors: * * Marek Lindner * * 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 Free Software Foundation. * * This program is distributed in the hope that...
chhapil/Dorimanx-SG2-I9100-Kernel
net/batman-adv/bat_debugfs.c
C
gpl-2.0
8,662
/* * 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...
Xuno/mpv
video/out/opengl/context_angle.c
C
gpl-2.0
13,658
/* * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs * * Pentium III FXSR, SSE support * Gareth Hughes <gareth@valinux.com>, May 2000 */ /* * Handle hardware traps and faults. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/interrupt.h> #inclu...
ssumpf/l4linux
arch/l4/kernel/arch-x86/traps.c
C
gpl-2.0
20,681
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/bitmap.h> #include <linux/crc32.h> #include <linux/ctype.h> #include <linux/debugfs.h> #include <linux/err.h> #include <linux/etherdevice.h> #include <linux/firmware.h> #include <linux/if_vlan.h> #include <linux/init.h> #include <linux/log2.h> #include <lin...
luckasfb/OT_903D-kernel-2.6.35.7
kernel/drivers/net/cxgb4/cxgb4_main.c
C
gpl-2.0
78,911
/* chronyd/chronyc - Programs for keeping computer clocks accurate. ********************************************************************** * Copyright (C) Richard P. Curnow 1997-2003 * Copyright (C) Miroslav Lichvar 2012-2014 * * This program is free software; you can redistribute it and/or modify * it unde...
mlichvar/chrony
rtc_linux.c
C
gpl-2.0
27,889
/* * IPv6 packet mangling table, a port of the IPv4 mangle table to IPv6 * * Copyright (C) 2000-2001 by Harald Welte <laforge@gnumonks.org> * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the G...
NeptunIDE/linux
net/ipv6/netfilter/ip6table_mangle.c
C
gpl-2.0
6,103
/* * This file is part of PRO CFW. * PRO CFW 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. * PRO CFW is distributed in the ho...
hz86/procfw-chn
Stargate/utility_patch.c
C
gpl-2.0
3,327
#include "xd60.h" #include "action_layer.h" const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // 0: Base Layer KEYMAP( KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \ KC_TAB, KC_Q, KC_W, KC_E, ...
jmacdonald/qmk_firmware
keyboards/xd60/keymaps/default/keymap.c
C
gpl-2.0
2,070
/* horst - Highly Optimized Radio Scanning Tool * * Copyright (C) 2005-2016 Bruno Randolf (br1@einfach.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 Lic...
RomanPGGP/HorstL
capture.c
C
gpl-2.0
3,164
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <pthread.h> #include <unistd.h> #include <litmus.h> #define PERIOD 100000 #define RELATIVE_DEADLINE 100000 #define EXEC_COST 50000 struct thread_context { int id; }; void* rt_thread(void *tcontext); #define CALL( exp ) do {...
zs673/litmus_mrsp
mytools/src/fifo.c
C
gpl-2.0
2,021
/* * tps62360.c -- TI tps62360 * * Driver for processor core supply tps62360, tps62361B, tps62362 and tps62363. * * Copyright (c) 2012, NVIDIA Corporation. * * Author: Laxman Dewangan <ldewangan@nvidia.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GN...
chrmhoffmann/android_kernel_asus_tf300t
drivers/regulator/tps62360-regulator.c
C
gpl-2.0
17,956
#include <newNTL/pair_GF2X_long.h> #include <newNTL/new.h> newNTL_START_IMPL newNTL_pair_impl(GF2X,long,pair_GF2X_long) newNTL_pair_io_impl(GF2X,long,pair_GF2X_long) newNTL_pair_eq_impl(GF2X,long,pair_GF2X_long) newNTL_vector_impl(pair_GF2X_long,vec_pair_GF2X_long) newNTL_io_vector_impl(pair_GF2X_long,vec_pair_GF2...
FredericJacobs/newNTL
src/pair_GF2X_long.c
C
gpl-2.0
402
/* * Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net> * * 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. * ...
MEShrek/pacemaker
crmd/te_callbacks.c
C
gpl-2.0
25,556
#include "dm.h" #include <linux/module.h> #include <linux/init.h> #include <linux/kmod.h> #include <linux/bio.h> #define DM_MSG_PREFIX "target" static LIST_HEAD(_targets); static DECLARE_RWSEM(_lock); #define DM_MOD_NAME_SIZE 32 static inline struct target_type *__find_target_type(const char *name) { struct tar...
luckasfb/OT_903D-kernel-2.6.35.7
kernel/drivers/md/dm-target.c
C
gpl-2.0
2,382
/* * General purpose random utilities * * Based on libuuid code. * * This file may be redistributed under the terms of the * GNU Lesser General Public License. */ #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include <sys/syscall.h> #in...
jwpi/util-linux
lib/randutils.c
C
gpl-2.0
4,733
/* * * Copyright (C) 2013 HUAWEI, Inc. *File Name: kernel/drivers/misc/hw_sensor_info.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 version 2 of the License, or * (at yo...
Explosion-y6/android_kernel_huawei_msm8909
drivers/huawei_platform/sensor/hw_sensor_info.c
C
gpl-2.0
3,110
/* * SATAN, Signal Applications To Any Network * Copyright (C) 2003 by Anton Persson & Johan Thim * Copyright (C) 2005 by Anton Persson * Copyright (C) 2006 by Anton Persson & Ted Björling * * About SATAN: * Originally developed as a small subproject in * a course about applied signal processing. * Origina...
pltxtra/libvuknob
src_jni/dynlib/xecho.c
C
gpl-2.0
5,043
/* * ProFTPD - FTP server daemon * Copyright (c) 2008 The ProFTPD Project team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any...
lazy404/proftpd
src/version.c
C
gpl-2.0
1,414
/* * Copyright 2004-2009 Analog Devices Inc. * 2005 National ICT Australia (NICTA) * Aidan Williams <aidan@nicta.com.au> * * Licensed under the GPL-2 or later. */ #include <linux/device.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/io.h> #incl...
scotthartbti/cm_samsung_kernel_dempsey
arch/blackfin/mach-bf537/boards/stamp.c
C
gpl-2.0
63,936
/* GStreamer * Copyright (C) 2003 Benjamin Otte <in7y118@public.uni-hamburg.de> * Copyright (C) 2005-2009 Tim-Philipp Müller <tim centricular net> * Copyright (C) 2009 Sebastian Dröge <sebastian.droege@collabora.co.uk> * * gsttypefindfunctions.c: collection of various typefind functions * * This library is free ...
alessandrod/gst-plugins-base
gst/typefind/gsttypefindfunctions.c
C
gpl-2.0
190,166
/* * RTC subsystem, interface functions * * Copyright (C) 2005 Tower Technologies * Author: Alessandro Zummo <a.zummo@towertech.it> * * based on arch/arm/common/rtctime.c * * 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...
Savaged-Zen/Savaged-Zen
drivers/rtc/interface.c
C
gpl-2.0
16,620
/***************************************************************************** * Copyright 2008 - 2009 Broadcom Corporation. All rights reserved. * * 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...
kzlin129/tt-gpl
go12/linux-2.6.28.10/arch/arm/plat-bcm476x/pm_platform.c
C
gpl-2.0
2,262
/*-- Baum --*/ #strict 2 #include TREE func CanHouseZapNest() { return true; } func CreateZapNestVertex() { return AddVertex(-8+Random(16),13); } func TreeType() { return "deciduous"; }
tyronx/gze
Objects_GZE.c4d/Vegetation.c4d/Tree1.c4d/Script.c
C
gpl-2.0
196
/* * drivers/cpufreq/cpufreq_conservative.c * * Copyright (C) 2001 Russell King * (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>. * Jun Nakajima <jun.nakajima@intel.com> * (C) 2009 Alexander Clouter <alex@digriz.org.uk> * * This program is free softw...
crazyleen/Linux-Crystal
drivers/cpufreq/cpufreq_conservative.c
C
gpl-2.0
22,445
/* * drivers/switch/switch_gpio.c * * Copyright (C) 2008 Google, Inc. * Author: Mike Lockwood <lockwood@android.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 modified under th...
kbehren/android_kernel_lenovo_msm8226
drivers/switch/hall_switch.c
C
gpl-2.0
4,583
/* Do various things to symbol tables (other than lookup), for GDB. Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/o...
sribits/gdb
gdb/symmisc.c
C
gpl-2.0
36,951
/* * $Id: poke.c 9686 2012-09-16 08:14:35Z andijahja $ */ /* * File......: POKE.C * Author....: Ted Means * CIS ID....: 73067,3332 * * This is an original work by Ted Means and is placed in the * public domain. * * Modification history: * --------------------- * * Rev 1.3 07 Feb 1994 20:13:22 GLENN ...
xharbour/core
contrib/libnf/poke.c
C
gpl-2.0
2,643
#include "seatest.h" #include <ctype.h> /* isdigit() */ #include "../../src/utils/macros.h" static int less_than_5(int x) { return x < 5; } void test_all_all_are_true(void) { assert_int_equal(1, ALL(less_than_5, 1, -2, 3)); assert_int_equal(1, ALL(isdigit, '1', '9')); } void test_all_all_are_false(void) { a...
sshilovsky/vifm
tests/misc/functional.c
C
gpl-2.0
1,736
/* * spi_flash_lib.c * * Created on: Feb 13, 2013 * Author: Robert */ #include "cyu3system.h" #include "cyu3os.h" #include "cyu3dma.h" #include "cyu3error.h" #include "cyu3usb.h" #include "cyu3uart.h" #include "bladeRF.h" #include "cyu3gpif.h" #include "cyu3pib.h" #include "cyu3gpio.h" #include "pib_regs.h"...
adamgreig/bladeRF
fx3_firmware/spi_flash_lib.c
C
gpl-2.0
10,032
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
dmlb2000/lustre-release
lustre/fld/fld_request.c
C
gpl-2.0
15,061
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <netinet/in.h> #include <libnetfilter_log/libnetfilter_log.h> static int print_pkt(struct nflog_data *ldata) { struct nfulnl_msg_packet_hdr *ph = nflog_get_msg_packet_hdr(ldata); uint32_t mark = nflog_get_nfmark(ldata); uint32_t indev = nflog_get...
chamaken/libnetfilter_log
utils/nfulnl_test.c
C
gpl-2.0
2,792
/* Integrity checks for ekg2 API * (c) 2011 Michał Górny */ #include "ekg2.h" #include <stdio.h> void add_recode_tests(void); PLUGIN_DEFINE(check, PLUGIN_UI, NULL); static void simple_errprint(const gchar *out) { fputs(out, stderr); } EXPORT int check_plugin_init(int prio) { int argc = 0; char **argv = { NUL...
11mariom/ekg2
plugins/check/check.c
C
gpl-2.0
633
/* Disassembler interface for targets using CGEN. -*- C -*- CGEN: Cpu tools GENerator THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU de...
palves/gdb-old-releases
opcodes/fr30-dis.c
C
gpl-2.0
18,439
#include "cpuminer-config.h" #include "miner.h" #include <memory.h> #include "ramhog.h" #include "pbkdf2.c" typedef struct { uint64_t s[64]; uint8_t p; uint64_t last; } xorshift_ctx; static inline uint64_t xorshift_next(xorshift_ctx *pctx) { uint64_t s0 = pctx->s[ pctx->p ]; uint64_t s1 = pctx->...
siklon/shinyminer
hashblock/ramhog.c
C
gpl-2.0
3,176
#include <linux/init.h> #include <linux/time.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/smp_lock.h> #include <linux/string.h> #include <sound/core.h> #include <sound/minors.h> #include <sound/info.h> #include <sound/version.h> #include <linux/proc_fs.h> #include <linux/mutex.h> #include <stdarg....
luckasfb/OT_903D-kernel-2.6.35.7
kernel/sound/core/info.c
C
gpl-2.0
19,496
/** * gadget.c - DesignWare USB3 DRD Controller Gadget Framework Link * * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * * Authors: Felipe Balbi <balbi@ti.com>, * Sebastian Andrzej Siewior <bigeasy@linutronix.de> * * This program is free software: you can redistribute it and/or...
nks15/nks_kernel_j7xeltektt
drivers/usb/dwc3/gadget.c
C
gpl-2.0
79,034
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * ianjuta-loader.c -- Autogenerated from libanjuta.idl * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; e...
kritikansal/Anjuta-Bug-Fixes
libanjuta/interfaces/ianjuta-loader.c
C
gpl-2.0
2,797
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * pidgin.c * pidgin plugin for caja-sendto * * Copyright (C) 2004 Roberto Majadas * Copyright (C) 2009 Pascal Terjan * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gene...
mate-desktop/mate-file-manager-sendto
src/plugins/pidgin/pidgin.c
C
gpl-2.0
11,986