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
/* * 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 ...
idanfima/Jetstreamkernel
kernel/power/process.c
C
gpl-2.0
4,392
/* -*- mode: c; c-basic-offset: 4; -*- * * de-jong.c - The DeJong object builds on the ParameterHolder and HistogramRender * objects to provide a rendering of the DeJong map into a histogram image. * * Fyre - rendering and interactive exploration of chaotic functions * Copyright (C) 2004-2006 David Tr...
mvanderkolff/fyre-packaging
src/de-jong.c
C
gpl-2.0
35,976
#include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/aee.h> #include <linux/i2c.h> #include <linux/of_fdt.h> #include <linux/io.h> #ifdef CONFIG_OF #include <linux/of_address.h> #else #include <mach/mt_...
DKingCN/android_kernel_jiayu_s3_h560
drivers/misc/mediatek/spm/mt6752/mt_spm_sleep.c
C
gpl-2.0
72,893
/* * Universal Host Controller Interface driver for USB. * * Maintainer: Alan Stern <stern@rowland.harvard.edu> * * (C) Copyright 1999 Linus Torvalds * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com * (C) Copyright 1999 Randy Dunlap * (C) Copyright 1999 Georg Acher, acher@in.tum.de * (C) Copyri...
odit/rv042
linux/kernel_2.6/linux/drivers/usb/host/uhci-hcd.c
C
gpl-2.0
24,685
/* $Id: dvb_str.c,v 1.80 2009/11/22 15:36:31 rhabarber1848 Exp $ DVBSNOOP a dvb sniffer and mpeg2 stream analyzer tool http://dvbsnoop.sourceforge.net/ (c) 2001-2006 Rainer.Scherg@gmx.de -- DVB-Strings -- MPEG-Strings -- dvb decoder helper functions */ #include "dvbsnoop.h" #include "dvb_str.h" #i...
cotdp/dvbsnoop
src/strings/dvb_str.c
C
gpl-2.0
90,345
/* Expand the basic unary and binary arithmetic operations, for GNU compiler. Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
ryoon/gcc-2.95.3-SCO-OpenServer5
gcc/optabs.c
C
gpl-2.0
141,477
/* 802_3 * * Author: * Chris Vitale <csv@bluetail.com> * * May 2003 */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <getopt.h> #include "../include/ebtables_u.h" #include "../include/ethernetdb.h" #include <linux/netfilter_bridge/ebt_802_3.h> #define _802_3_SAP '1' #define _802_3_TYPE '2'...
ysleu/RTL8685
uClinux-dist/user/ebtables/extensions/ebt_802_3.c
C
gpl-2.0
3,606
/* * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://w...
fyu1/test
drivers/rtc/rtc-snvs.c
C
gpl-2.0
8,528
/* Verify that overloaded built-ins for vec_mul with __int128 inputs produce the right results. */ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_float128_hw_ok } */ /* { dg-require-effective-target int128 } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9...
itsimbal/gcc.cet
gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c
C
gpl-2.0
755
/* Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Per Bothner <bothner@cygnus.com>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free So...
vvavrychuk/glibc
libio/fileops.c
C
gpl-2.0
47,470
/* * stunnel Universal SSL tunnel * Copyright (c) 1998-2006 Michal Trojnara <Michal.Trojnara@mirt.net> * 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 S...
djs55/stunnel
src/gui.c
C
gpl-2.0
31,285
/* * raid1.c : Multiple Devices driver for Linux * * Copyright (C) 1999, 2000, 2001 Ingo Molnar, Red Hat * * Copyright (C) 1996, 1997, 1998 Ingo Molnar, Miguel de Icaza, Gadi Oxman * * RAID-1 management functions. * * Better read-balancing code written by Mika Kuoppala <miku@iki.fi>, 2000 * * Fixes to recons...
eugene373/Nexus_S_ICS
drivers/md/raid1.c
C
gpl-2.0
59,970
/* * Interface handling * * Copyright 2002-2005, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> * Copyright 2008, Johannes Berg <johannes@sipsolutions.net> * Copyright 2013-2014 Intel Mobile Communications GmbH * * This program is fre...
0x20c24/linux-psec
net/mac80211/iface.c
C
gpl-2.0
50,957
/* * linux/drivers/usbd/sa1100_bi/udc.c * * Copyright (c) 2000, 2001, 2002 Lineo * Copyright (c) 2001 Hewlett Packard * * By: * Stuart Lynne <sl@lineo.com>, * Tom Rushworth <tbr@lineo.com>, * Bruce Balden <balden@lineo.com> * * This program is free software; you can redistribute it and/or m...
muromec/linux-ezxdev
drivers/usb/device/bi/sa1100.c
C
gpl-2.0
60,598
/* * Copyright © 2006-2014 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 in the hope it will be useful, b...
rspc/mmc-sd40
drivers/iommu/intel-iommu.c
C
gpl-2.0
121,938
/* * zpool memory storage api * * Copyright (C) 2014 Dan Streetman * * This is a common frontend for memory storage pool implementations. * Typically, this is used to store compressed memory. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/list.h> #include <linux/types.h> #include <linux/mm.h> #...
qwertyTom/android_kernel_cyanogen_msm8916
mm/zpool.c
C
gpl-2.0
10,249
/* * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved. * * Description: * High-speed USB device controller driver. * The driver is based on Freescale driver code from Li Yang and Jiang Bo. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GN...
PureNexusProject/android_kernel_google_molly
drivers/usb/gadget/tegra_udc.c
C
gpl-2.0
82,500
// // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005-2014 Simon Howard // // 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...
WarlockD/crispy-doom
stm32/chocolate/chocdoom/w_wad.c
C
gpl-2.0
12,774
#include <linux/config.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/init.h> #include "cbob_spi.h" #include "cbob_digital.h" #include "cbob_analog.h" #include "cbob_sensors.h" #include "cbob_pid.h" #include "cbob_pwm.h" #include "cbob_servo.h" #include "cbob_uart.h" #include "cbob_status....
BotBallARDroneAPI/CBC_Library
kernel/cbob/cbob_main.c
C
gpl-2.0
1,397
/* * Copyright (C) 2014 Cisco and/or its affiliates. All rights reserved. * * Author: Shawn Webb * * 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 di...
erdincay/clamav-devel
libclamav/pdfng.c
C
gpl-2.0
29,615
/* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-pkinit.c */ /* ../../tools/asn2wrs.py -b -p pkinit -c ./pkinit.cnf -s ./packet-pkinit-tem...
hb9cwp/wireshark-jdsu
epan/dissectors/packet-pkinit.c
C
gpl-2.0
17,573
/* This tests the maximum number of events that can be opened */ /* This limit is set by the maximum number of file descriptors */ /* Which can be read by */ /* ulimit -Sn -- soft limit (1024 on my machine) */ /* ulimit -Hn -- hard limit (4096 on my machine) */ /* This has been raised to 65536 on my Debia...
deater/perf_event_tests
tests/error_returns/emfile.c
C
gpl-2.0
2,148
/** @file mlan_sta_event.c * * @brief This file contains MLAN event handling. * * (C) Copyright 2008-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 Marvell ...
acorn-marvell/brillo_pxa_kernel
drivers/marvell/sd8787/wlan_src/mlan/mlan_sta_event.c
C
gpl-2.0
24,848
/* * linux/fs/super.c * * Copyright (C) 1991, 1992 Linus Torvalds * * super.c contains code to handle: - mount structures * - super-block tables * - filesystem drivers list * - mount system call * ...
BrateloSlava/SaveEnergy-3
fs/super.c
C
gpl-2.0
21,621
/* $Id: promcon.c,v 1.15 1999/04/22 06:35:32 davem Exp $ * Console driver utilizing PROM sun terminal emulation * * Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) */ #include <linux/config.h> #include <linux/module.h> #include <linux/kernel.h> #include ...
empeg/empeg-hijack
drivers/video/promcon.c
C
gpl-2.0
12,188
/* * @brief UART Comm port call back routines * * @note * Copyright(C) NXP Semiconductors, 2012 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC products. This software is supplied...
TWilmer/targetboard
workspace/targetboard/src/target_uart.c
C
gpl-2.0
24,463
// SONIC ROBO BLAST 2 //----------------------------------------------------------------------------- // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 1998-2000 by DooM Legacy Team. // Copyright (C) 1999-2016 by Sonic Team Junior. // // This program is free software distributed under the // terms of the...
yellowtd/SRB2-EMS
src/w_wad.c
C
gpl-2.0
32,819
/* C140.c Simulator based on AMUSE sources. The C140 sound chip is used by Namco System 2 and System 21 The 219 ASIC (which incorporates a modified C140) is used by Namco NA-1 and NA-2 This chip controls 24 channels (C140) or 16 (219) of PCM. 16 bytes are associated with each channel. Channels can be 8 bit sig...
Luke-Nukem/mame-144-vector_mod
src/emu/sound/c140.c
C
gpl-2.0
13,359
#include <stdint.h> #include <stdlib.h> #include <string.h> #include "video.h" BITMAP *screen; void hline(BITMAP *b, int x1, int y, int x2, int col) { if (y < 0 || y >= buffer32->h) return; for (; x1 < x2; x1++) ((uint32_t *)b->line[y])[x1] = col; }...
Anamon/pcem
src/win-video.c
C
gpl-2.0
1,026
/* * This file is part of the coreboot project. * * Copyright (C) 2011 Advanced Micro Devices, 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; version 2 of the License. * * This ...
DarkDefender/coreboot
src/mainboard/amd/persimmon/romstage.c
C
gpl-2.0
5,184
/* * drivers/video/tegra/dc/dsi.c * * Copyright (c) 2011, NVIDIA Corporation. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distribu...
Myself5/android_kernel_sony_nbx03
drivers/video/tegra/dc/dsi.c
C
gpl-2.0
67,528
/* Parse and display command line options. Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 Pu...
imasahiro/gccjs
gcc/fortran/options.c
C
gpl-2.0
28,388
/* * Copyright (C) 2016 Felix "KoffeinFlummi" Wiegand * * 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. * * Th...
KoffeinFlummi/flummitools
src/rapify.c
C
gpl-2.0
13,513
/** * \file TestSyntaxChecker.c * \brief SyntaxChecker unit tests * \author Sarah Keating * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org for more * information about SBML, and the latest version of libSBML. * ...
dilawar/moose-full
dependencies/libsbml-5.9.0/src/sbml/test/TestSyntaxChecker.c
C
gpl-2.0
5,205
/* * Serial Attached SCSI (SAS) class SCSI Host glue. * * Copyright (C) 2005 Adaptec, Inc. All rights reserved. * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> * * This file is licensed under GPLv2. * * This program is free software; you can redistribute it and/or * modify it under the terms of t...
tescande/linux-nfc-next-stable
drivers/scsi/libsas/sas_scsi_host.c
C
gpl-2.0
26,082
/** * eCryptfs: Linux filesystem encryption layer * * Copyright (C) 1997-2003 Erez Zadok * Copyright (C) 2001-2003 Stony Brook University * Copyright (C) 2004-2007 International Business Machines Corp. * Author(s): Michael A. Halcrow <mahalcro@us.ibm.com> * Michael C. Thompson <mcthomps@us.ibm.com...
tellapart/ubuntu-precise
fs/ecryptfs/main.c
C
gpl-2.0
26,156
/* * s3fs - FUSE-based file system backed by Amazon S3 * * Copyright(C) 2021 Andrew Gaul <andrew@gaul.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...
s3fs-fuse/s3fs-fuse
test/junk_data.c
C
gpl-2.0
1,564
#include "uwsgi_rack.h" extern struct uwsgi_server uwsgi; extern struct uwsgi_rack ur; extern struct uwsgi_plugin rack_plugin; #define uwsgi_rack_api(x, y, z) rb_define_module_function(rb_uwsgi_embedded, x, y, z) VALUE rack_uwsgi_warning(VALUE *class, VALUE rbmessage) { Check_Type(rbmessage, T_STRING); ch...
alex/uwsgi
plugins/rack/rack_api.c
C
gpl-2.0
31,610
/* * 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/rdft/scalar/r2cf/r2cfII_2.c
C
gpl-2.0
2,944
/* JORTEPublicationSend.c */ /** * This code provides conversion between JAVA a C environments. * The C functions are calling here and results are send to JAVA * native functions. It uses the header pregenerated by JAVA * (by command 'javah -jni class_with_native_function') * * @author Lukas Pokorny (lukas...
qeef/orte
orte/libjorte/JORTEPublicationSend.c
C
gpl-2.0
2,113
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ /* link this file in with the server and any clients */ /* File created by MIDL compiler version 7.00.0499 */ /* at Fri Jul 31 09:41:16 2009 */ /* Compiler settings for e:/xr19rel/WINNT_5.2_Depend/mozilla/other-licenses/ia2/AccessibleApplica...
nikgoodley-ibboost/forklabs-javaxpcom
tools/xulrunner-1.9.0.13-sdk/include/accessibility/AccessibleApplication_i.c
C
gpl-2.0
1,792
/* * Copyright (C) 2007-2010 Nick Schermer <nick@xfce.org> * * This library 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. * *...
yaminov/xfce4-panel
plugins/clock/clock-binary.c
C
gpl-2.0
16,460
/***************************************************************************** * set.c: quantization init ***************************************************************************** * Copyright (C) 2005-2019 x264 project * * Authors: Loren Merritt <lorenm@u.washington.edu> * * This program is free software; yo...
lu-zero/x264
common/set.c
C
gpl-2.0
14,002
/* dummy.c: a dummy net driver The purpose of this driver is to provide a device to point a route through, but not to actually transmit packets. Why? If you have a machine whose only connection is an occasional PPP/SLIP/PLIP link, you can only connect to your own hostname when the link is up. Otherwise you hav...
KCFTech/Linux_3_2_0-26_Kernel
drivers/net/dummy.c
C
gpl-2.0
4,985
/* i915_drv.c -- i830,i845,i855,i865,i915 driver -*- linux-c -*- */ /* * * Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), ...
asias/linux-kvm
drivers/gpu/drm/i915/i915_drv.c
C
gpl-2.0
28,913
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, pro...
brho/plan9
sys/src/cmd/primes.c
C
gpl-2.0
2,884
#include <stdio.h> #include <getopt.h> #include <stdlib.h> #include "../include/ebtables_u.h" #include <linux/netfilter_bridge/ebt_imq.h> #define IMQ_TODEV '1' static struct option opts[] = { { "todev" , required_argument, 0, IMQ_TODEV }, { 0 } }; static void help(void) { printf( "IMQ o...
zhoupeng/spice4xen
tools/remus/imqebt/extensions/ebt_imq.c
C
gpl-2.0
1,948
/* * 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 program is distributed in the hope that it will be use...
compulab/cm-a510-debian-kernel
arch/arm/mach-kirkwood/mv_hal_support/export.c
C
gpl-2.0
9,382
/* * 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/lib/tt/mini_isam/isfileio.c
C
gpl-2.0
4,229
/* Copyright (c) 2013-2017, 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...
Bauuuuu/android_kernel_zte_nx512j
drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c
C
gpl-2.0
53,777
/* $Id$ */ /* * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.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; eit...
Jopie64/pjsip
pjmedia/src/test/audio_tool.c
C
gpl-2.0
9,772
/* * Copyright (C) 2011-2012, LG Eletronics,Inc. All rights reserved. * LGIT LCD device driver * * 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. * * Th...
aicjofs/android_kernel_lge_v500
drivers/video/msm/mipi_lgit.c
C
gpl-2.0
7,569
/* $Id$ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.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; eit...
xhook/asterisk-v11
res/pjproject/pjsip/src/pjsip/sip_util_statefull.c
C
gpl-2.0
5,129
/********************************************************************** * PTlink IRC Services is (C) CopyRight PTlink IRC Software 1999-2006 * * http://software.pt-link.net * * This program is distributed under GNU Public License * * Please read the file COPYING ...
openglx/taps-services
src/mysql.c
C
gpl-2.0
26,879
/* This dissector is based on the SBC2 specification. * TODO * parts of opcodes * 0x7f * 0xa3 * 0xa4 * 0x9e * are still missing. * Some DATA IN/OUT PDUs are missing as well. */ /* packet-scsi-sbc.c * Dissector for the SCSI SBC commandset * Extracted from packet-scsi.c * * Dinesh G Dutt (ddutt@cisco.com) *...
masonh/wireshark
epan/dissectors/packet-scsi-sbc.c
C
gpl-2.0
80,660
/* DO NOT EDIT This filter was automatically generated from dnsserver.idl and dnsserver.cnf. Pidl is a perl based IDL compiler for DCE/RPC idl files. It is maintained by the Samba team, not the Wireshark team. Instructions on how to download and install Pidl can be found at http://wiki.wireshark.org/Pidl $Id: ...
P1sec/LTE_monitor_c2xx
wireshark/epan/dissectors/packet-dcerpc-dnsserver.c
C
gpl-2.0
177,739
/* * ispvideo.c * * TI OMAP3 ISP - Generic video node * * Copyright (C) 2009-2010 Nokia Corporation * * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> * Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> * * This program is free software; you can redistribute it and/or modify * it un...
huzl008/zeda-android-kernel
drivers/media/video/isp/ispvideo.c
C
gpl-2.0
37,809
#if defined(LIBC_SCCS) && !defined(lint) static const char sccsid[] = "@(#)strerror.c 8.1 (Berkeley) 6/4/93"; static const char rcsid[] = "$Id: strerror.c,v 1.4.332.1 2005/04/27 05:00:46 sra Exp $"; #endif /* LIBC_SCCS and not lint */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. A...
kidmaple/CoolWall
user/bind/lib/bind/bsd/strerror.c
C
gpl-2.0
3,050
/* * H.264 encoding using the x264 library * Copyright (C) 2005 Mans Rullgard <mans@mansr.com> * * 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 ...
heiher/gst-ffmpeg
gst-libs/ext/libav/libavcodec/libx264.c
C
gpl-2.0
12,517
/* * 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/dtksh/ksh93/src/lib/libast/comp/tmpnam.c
C
gpl-2.0
3,864
/* * Copyright (C) 2010 Malata, Corp. All Right Reserved. * * Athor: LiuZheng <xmlz@malata.com> * */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <linux/switch.h> #include <linux/device.h> #include <linux/platform_device.h> #include <linux/gpio.h> #include <linux/interrupt....
ab73-hp-tab/ab73kernel-Hannspad-2632
drivers/switch/switch_dock_.c
C
gpl-2.0
7,360
/*!\file shadow.c * \brief Real-time shadow services. * \author Philippe Gerum * * Copyright (C) 2001-2008 Philippe Gerum <rpm@xenomai.org>. * Copyright (C) 2004 The RTAI project <http://www.rtai.org> * Copyright (C) 2004 The HYADES project <http://www.hyades-itea.org> * Copyright (C) 2005 The Xenomai project <h...
poopgiggle/fla-kernel
kernel/xenomai/nucleus/shadow.c
C
gpl-2.0
85,847
#ifndef lint static char rcsid[] = "$Id: shawrapper.c,v 1.1.1.1 2003/08/18 05:40:12 kaohj Exp $"; #endif /* * shawrapper.c * * signature function hook for SHA for Tripwire. * * The original SHA code is contained in sha.c in its entirety. * * Gene Kim * Purdue University * August 10, 1993 */ #include "../../...
ysleu/RTL8685
uClinux-dist/user/tripwire/sigs/sha/shawrapper.c
C
gpl-2.0
2,097
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * complete-sheet.c: Auto completes values from a sheet. * * Author: * Miguel de Icaza (miguel@gnu.org) * * This is a pretty simple implementation, should be helpful * to find performance hot-spots (if you bump SEARCH_...
10sr/gnumeric-gda
src/complete-sheet.c
C
gpl-2.0
3,307
/* * Author: MontaVista Software, Inc. <source@mvista.com> * * 2005 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied. */ #include <linux/init.h> #inc...
fzqing/linux-2.6
mvl_patches/pro-0096.c
C
gpl-2.0
445
/**********************************************************************\ * DBUS_LISTENER.C - module for BLUEPLATE * * Author: Jesse McCure * License: GPL3 \**********************************************************************/ /* Note: this is a work-in-progress rewrite of connman.c to address concerns * noted in th...
TrilbyWhite/Blueplate
src/dbus_listener.c
C
gpl-3.0
4,228
/* Simple statistics on a sequence file * * SRE, Sun Feb 24 15:33:53 2008 [UA5315 to St. Louis] * SVN $Id: esl-seqstat.c 509 2010-02-07 22:56:55Z eddys $ * from squid's seqstat (1994) */ #include "esl_config.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include "easel.h" #in...
rzeller/hmmer-3.0
easel/miniapps/esl-seqstat.c
C
gpl-3.0
8,291
/* Viterbi score implementation; SSE version. * * This is a SIMD vectorized, striped, interleaved, one-row O(M) * memory implementation of the Viterbi algorithm, for calculating an * accurate Viterbi score, without traceback. * * This implementation has full range and precision, so it may be used * in any alig...
Janelia-Farm-Xfam/Bio-HMM-Logo
src/src/impl_sse/vitscore.c
C
gpl-3.0
20,966
/* * Vortex OpenSplice * * This software and documentation are Copyright 2006 to TO_YEAR ADLINK * Technology Limited, its affiliated companies and licensors. All rights * reserved. * * Licensed under the ADLINK Software License Agreement Rev 2.7 2nd October * 2014 (the "License...
PrismTech/opensplice
src/services/executables/durability/code/mainWrapper.c
C
gpl-3.0
809
/* Copyright (c) 2015-2016, 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 ...
saikatrockz/android_device_yu_garlic
camera/QCamera2/stack/mm-lib2d-interface/src/mm_lib2d.c
C
gpl-3.0
17,723
/** * File: spc_spc.c * Set of function to handle binned spectra * * @author Nor Pirzkal * @package spc_spc * @version $Revision: 1.3 $ * @date $Date: 2009/09/21 12:46:16 $ */ #include "spc_spc.h" #include "aXe_utils.h" /** * Function: allocate_spectrum * allocates and initializes a spectrum and its s...
nfourmanoit/TIPS
src/axesim/spc_spc.c
C
gpl-3.0
45,713
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/wait.h> #include <time.h> #include <pcap.h> #include "thc-ipv6.h" unsigned char *pkt = NULL, buf[16], mac[16] = "", *realownmac; unsigned char *mac6 = mac,...
ArchAssault-Project/thc-ipv6
redirsniff6.c
C
gpl-3.0
4,718
//***************************************************************************** // // startup_ccs.c - Startup code for use with TI's Code Composer Studio. // // Copyright (c) 2014 Texas Instruments Incorporated. All rights reserved. // TI Information - Selective Disclosure // //*********************************...
ronny-macmaster/EE445L
lab4/CC3100GetWeather_4C123/startup_ccs.c
C
gpl-3.0
14,253
/* libxbee - a C library to aid the use of Digi's XBee wireless modules running in API mode. Copyright (C) 2009 onwards Attie Grande (attie@attie.co.uk) libxbee 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...
christophertfoo/libxbee3
modes/xbeeZB/mode.c
C
gpl-3.0
5,639
/* Formatted output to strings. Copyright (C) 1999, 2002, 2005-2007, 2009-2010 Free Software Foundation, Inc. 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 version 3 of...
coapp-packages/libunistring
lib/unistdio/u32-u32-sprintf.c
C
gpl-3.0
1,011
/*************************************************************************** * * W phase source inversion package * ------------- * * Main authors: Zacharie Duputel, Luis Rivera and Hiroo Kanamori * * (c) California Institute of Tech...
eost/wphase
src/rotate_traces.c
C
gpl-3.0
1,685
/** ****************************************************************************** * @file LCD_DSI/LCD_DSI_VideoMode_SingleBuffer/Src/stm32f4xx_hal_msp.c * @author MCD Application Team * @version V1.1.0 * @date 17-February-2017 * @brief HAL MSP module. *************************************...
TRothfelder/Multicopter
libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32469I_EVAL/Examples/LCD_DSI/LCD_DSI_VideoMode_SingleBuffer/Src/stm32f4xx_hal_msp.c
C
gpl-3.0
3,041
// ¡¶×Ô¼º¶¯ÊÖд±àÒëÆ÷¡¢Á´½ÓÆ÷¡·ÅäÌ×Ô´´úÂë #include "scc.h" TkWord* tk_hashtable[MAXKEY]; // µ¥´Ê¹þÏ£±í DynArray tktable; // µ¥´Ê±íÖзÅÖñêʶ·û£¬°üÀ¨±äÁ¿Ãû,º¯ÊýÃû,½á¹¹¶¨ÒåÃû DynString tkstr; // µ¥´Ê×Ö·û´® DynString sourcestr; // µ¥´ÊÔ´Âë×Ö·û´® int tkvalue; // µ¥´ÊÖµ(µ¥´ÊΪÕûÐͳ£Á¿) char ch; // ...
MiJiyang/CCompiler
examples/Make Compiler&Linker By MySelf/chapter9/scc/lex.c
C
gpl-3.0
14,589
/* Test of u16_stpncpy() function. Copyright (C) 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option...
coapp-packages/libunistring
tests/unistr/test-u16-stpncpy.c
C
gpl-3.0
1,918
/* Open a pseudo-terminal. Copyright (C) 2010-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) a...
biochem-fan/CrystFEL
lib/openpty.c
C
gpl-3.0
3,496
/* * Copyright (c) 2012 * MIPS Technologies, Inc., California. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of...
lwjfork/ffmpeg
libavcodec/ac3dec_fixed.c
C
gpl-3.0
6,756
/* This file is part of SUPPL - the supplemental library for DOS Copyright (C) 1996-2000 Steffen Kaiser 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 ...
joyent/sdcboot
freedos/source/command/suppl/src/dstrunqt.c
C
mpl-2.0
5,927
#include <grass/gis.h> #include <grass/vector.h> #include <grass/dbmi.h> #include <grass/glocale.h> #include "local_proto.h" void copy_tabs(const struct Map_info *In, int field, int new_cat, struct Map_info *Out) { int nlines, line, i; int ttype, ntabs; int **ocats, *nocats, nfields, *fields; ...
AsherBond/MondocosmOS
grass_trunk/vector/v.extract/copy_tab.c
C
agpl-3.0
2,639
/* Copyright (C) 2009 William Hart Copyright (C) 2010 Sebastian Pancratz 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...
fredrik-johansson/flint2
fmpz_vec/test/t-scalar_addmul_si.c
C
lgpl-2.1
1,924
/* Copyright (C) 2018 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)...
wbhart/flint2
fmpz_mpoly/mpolyd.c
C
lgpl-2.1
7,279
/***************************************************************************** * asf.c: asf muxer module for vlc ***************************************************************************** * Copyright (C) 2003-2004, 2006 VLC authors and VideoLAN * $Id$ * * Authors: Laurent Aimar <fenrir@via.ecp.fr> * ...
xkfz007/vlc
modules/mux/asf.c
C
lgpl-2.1
44,573
/* Copyright (C) 2014 Fredrik Johansson This file is part of Arb. Arb 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/arb
mag/test/t-expm1.c
C
lgpl-2.1
2,240
/* A Bison parser, made by GNU Bison 2.4.2. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Gene...
Fat-Zer/FreeCAD_sf_master
src/Gui/SelectionFilter.tab.c
C
lgpl-2.1
43,943
/* GStreamer ReplayGain analysis * * Copyright (C) 2006 Rene Stadler <mail@renestadler.de> * * rganalysis.c: Unit test for the rganalysis element * * 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 Soft...
Distrotech/gst-plugins-good
tests/check/elements/rganalysis.c
C
lgpl-2.1
63,782
/*************************************************************************\ * Copyright (C) Michael Kerrisk, 2015. * * * * This program is free software. You may use, modify, and redistribute it * * under the term...
harrifeng/tlpi-book
svshm/svshm_attach.c
C
lgpl-3.0
1,789
/* This file is part of BitPunch Copyright (C) 2015 Frantisek Uhrecky <frantisek.uhrecky[what here]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 Foundation, either version 3 of the License, or (at y...
n0whereman/bitpunch
runtest/results/2016-04-30T21:49:59.491929/src/bitpunch/code/goppa/goppatypes.c
C
lgpl-3.0
1,592
/** * WinPR: Windows Portable Runtime * Process Thread Functions * * Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com> * * 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 * ...
vworkspace/FreeRDP
winpr/libwinpr/thread/thread.c
C
apache-2.0
13,718
#include <stdio.h> #include "freertps/freertps.h" void chatter_cb(const void *msg) { uint32_t str_len = *((uint32_t *)msg); char buf[128] = {0}; for (int i = 0; i < str_len && i < sizeof(buf)-1; i++) buf[i] = ((uint8_t *)msg)[4+i]; printf("I heard: [%s]\n", buf); } int main(int argc, char **argv) { prin...
godzilla-max/freertps
apps/listener_no_rosidl/listener_no_rosidl.c
C
apache-2.0
690
/* $NetBSD: kern_turnstile.c,v 1.32 2012/06/15 13:51:40 yamt Exp $ */ /*- * Copyright (c) 2002, 2006, 2007, 2009 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Jason R. Thorpe and Andrew Doran. * * Redistribution and use in sou...
execunix/vinos
sys/kern/kern_turnstile.c
C
apache-2.0
13,827
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/krb/kdc_rep_dc.c */ /* * Copyright 1990 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government...
drankye/kerb-token
krb5/src/lib/krb5/krb/kdc_rep_dc.c
C
apache-2.0
2,593
#include<stdio.h> int top = 1; static void Hello() { printf("Hello World!\n"); } void pritty() { printf("This is a pretty girl\n"); }
nkysg/Asenal
apue/stack.c
C
apache-2.0
143
/* ============================================================================ Copyright (c) 2008-2014, Broadcom 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: 1. Redistributions of source c...
vanwinkeljan/rpi_vmcsx
middleware/khronos/vg/vg_path.c
C
apache-2.0
16,533
// Copyright 2018 Espressif Systems (Shanghai) PTE LTD // // 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 applic...
espressif/ESP8266_RTOS_SDK
components/protocomm/src/security/security0.c
C
apache-2.0
3,392
/* +----------------------------------------------------------------------+ | Xdebug | +----------------------------------------------------------------------+ | Copyright (c) 2002-2015 Derick Rethans | +---------...
mbutkereit/docker-php
php-fpm/php/5.4.x/config/xdebug/xdebug_xml.c
C
apache-2.0
5,653
/**************************************************************************** * * Copyright 2016 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
chanijjani/TizenRT
os/fs/driver/mtd/smart.c
C
apache-2.0
173,039