code
stringlengths
1.03k
250k
repo_name
stringlengths
7
70
path
stringlengths
4
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
1.03k
250k
/* Copyright (C) 1991-1999, 2000, 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. This program is free software; you can redistribute it and/or modify it under th...
mfisk/smacq
libgnu/strftime.c
C
gpl-2.0
37,170
/* * linux/drivers/mmc/pxa.c - PXA MMCI driver * * Copyright (C) 2003 Russell King, 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 as * published by the Free Software Foundation. * * This hardware...
hackndev/linux-hnd
drivers/mmc/pxamci.c
C
gpl-2.0
14,166
#include "razer_daemon.h" char *daemon_parameter_to_json(struct razer_parameter *parameter) { char *parameter_json = str_CreateEmpty(); parameter_json = str_CatFree(parameter_json,"{\n \"key\": \""); parameter_json = str_CatFree(parameter_json,parameter->key); parameter_json = str_CatFree(parameter_json,"\",\n"); ...
TheKiwi5000/razer_blackwidow_chroma_driver
daemon/razer_daemon_parameters.c
C
gpl-2.0
20,697
/* * gsf-command-context.c: Command context class * * Copyright (C) 2002-2006 Rodrigo Moya (rodrigo@gnome-db.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2.1 of the GNU Lesser General Public * License as published by the Free Software Foundation. ...
Distrotech/libgsf
gsf/gsf-command-context.c
C
gpl-2.0
7,607
/* SSA Jump Threading Copyright (C) 2005-2016 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later versi...
PrasadG193/gcc_gimple_fe
gcc/tree-ssa-threadbackward.c
C
gpl-2.0
21,677
/* readable.c: check if a filename is a readable non-directory file. Copyright 1993, 1995, 1996, 2008, 2011, 2012 Karl Berry. Copyright 1998, 1999, 2000, 2001, 2005 Olaf Weber. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licen...
omasanori/luatex-mirror
source/texk/kpathsea/readable.c
C
gpl-2.0
4,383
/* packet-ip.c * Routines for IP and miscellaneous IP protocol packet disassembly * * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * Wednesday, January 17, 2006 * Support for the CIPSO IPv4 option * (http://sourceforge.net/docman/displ...
giuliano108/wireshark-rtpmon
epan/dissectors/packet-ip.c
C
gpl-2.0
98,088
/* Owl PDF viewer * * Copyright (c) 2009, 2010 Zoltan Kovacs, Peter Szilagyi * * 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 th...
tomszilagyi/owl
src/engine/render.c
C
gpl-2.0
6,550
/* * linux/mm/page_alloc.c * * Manages the free list, the system allocates free pages here. * Note that kmalloc() lives in slab.c * * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds * Swap reorganised 29.12.95, Stephen Tweedie * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999 * Re...
jfdsmabalot/kernel_mako
mm/page_alloc.c
C
gpl-2.0
171,481
#include <stdio.h> #include <string.h> FILE *pctop; FILE *html_out; char line[80]; char pos[80]; char user[80]; char bytes[80]; char changes[80]; char ReleaseDate[80]; char feedtopic[80]; char *p; char html_buffer[1024]; int i; void Html_Header(char *topic) { sprintf(html_buffer, "<html>\n" "<head...
SnakeManPMC/linux-pctop
html/asc2html.c
C
gpl-2.0
12,814
/* * (C) Copyright 2010 Juergen Beisert - Pengutronix * * 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...
jkent/mini210s-barebox
arch/arm/boards/chumby_falconwing/falconwing.c
C
gpl-2.0
12,228
/* Copyright (c) 2012-2015, 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...
Fechinator/FechdaKernelReloaded6.0
drivers/media/platform/msm/vidc/msm_vidc_common.c
C
gpl-2.0
99,617
// Copyright (C) 1999-2000 Id Software, Inc. // // cg_info.c -- display information while data is being loading #include "cg_local.h" #define MAX_LOADING_PLAYER_ICONS 16 #define MAX_LOADING_ITEM_ICONS 26 //static int loadingPlayerIconCount; //static qhandle_t loadingPlayerIcons[MAX_LOADING_PLAYER_ICONS]; void CG...
videoP/jaPRO
codemp/cgame/cg_info.c
C
gpl-2.0
13,007
/*************************************************************************** * Copyright (C) 2011 by levin * * levin108@gmail.com * * * * This pr...
levin108/hybrid
src/groupadd.c
C
gpl-2.0
8,106
/* Some code common to C++ and ObjC++ front ends. Copyright (C) 2004-2013 Free Software Foundation, Inc. Contributed by Ziemowit Laski <zlaski@apple.com> This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by th...
Mustaavalkosta/toolchain_gcc-4.9
gcc/cp/cp-objcp-common.c
C
gpl-2.0
9,110
/*************************************************************************** * $Id$ * * Copyright 2004 Gagarine Yaikhom * gyaikhom@gmail.com ****************************************************************************/ /* * This program is free software; you can redistribute it and/or modify * it under th...
gyaikhom/libdsys
examples/common/pi_mpi.c
C
gpl-2.0
2,153
/* * PROJECT: DiskPart * LICENSE: GPL - See COPYING in the top level directory * FILE: base/system/diskpart/interpreter.c * PURPOSE: Reads the user input and then envokes the selected * command by the user. * PROGRAMMERS: Lee Schroeder */ #include "diskpar...
GreenteaOS/Kernel
third-party/reactos/base/system/diskpart/interpreter.c
C
gpl-2.0
6,906
/* * linux/fs/nfs/file.c * * Copyright (C) 1992 Rick Sladkey * * Changes Copyright (C) 1994 by Florian La Roche * - Do not copy data too often around in the kernel. * - In nfs_file_read the return value of kmalloc wasn't checked. * - Put in a better version of read look-ahead buffering. Original idea ...
mostafa-z/Gabriel_MM
fs/nfs/file.c
C
gpl-2.0
25,871
/***************************************************************************** * ts_psip.c : TS demux ATSC A65 PSIP handling ***************************************************************************** * Copyright (C) 2016 - VideoLAN Authors * * This program is free software; you can redistribute it and/or modify...
pddthinh/android-vlc
vlc/modules/demux/mpeg/ts_psip.c
C
gpl-2.0
31,798
#include "kvm/virtio-console.h" #include "kvm/virtio-pci-dev.h" #include "kvm/disk-image.h" #include "kvm/virtio.h" #include "kvm/ioport.h" #include "kvm/util.h" #include "kvm/term.h" #include "kvm/mutex.h" #include "kvm/kvm.h" #include "kvm/pci.h" #include "kvm/threadpool.h" #include "kvm/irq.h" #include "kvm/guest_co...
rminnich/vmtool
virtio/console.c
C
gpl-2.0
5,071
/* * dbgp.c -- EHCI Debug Port device gadget * * Copyright (C) 2010 Stephane Duverger * * Released under the GPLv2. * */ /* verbose messages */ #include <linux/kernel.h> #include <linux/device.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> /* See comments in "zero.c" */ #include "epautoconf.c" #i...
kernelzilla/android-kernel
drivers/usb/gadget/dbgp.c
C
gpl-2.0
8,490
/* * linux/fs/buffer.c * * Copyright (C) 1991, 1992, 2002 Linus Torvalds */ /* * Start bdflush() with kernel_thread not syscall - Paul Gortmaker, 12/95 * * Removed a lot of unnecessary code and simplified things now that * the buffer cache isn't our primary cache - Andrew Tridgell 12/96 * * Speed up hash,...
andi34/kernel_samsung_espresso-cm
fs/buffer.c
C
gpl-2.0
90,490
/* * Copyright (c) 2006 Franck Bui-Huu * Copyright (c) 2006 Rene Scharfe */ #include "cache.h" #include "builtin.h" #include "archive.h" #include "pkt-line.h" #include "sideband.h" static int run_remote_archiver(const char *remote, int argc, const char **argv) { char *url, buf[LARGE_PACKET_MAX]; int fd[...
vmiklos/gsoc2008
builtin-archive.c
C
gpl-2.0
2,755
/* * USB device quirk handling logic and table * * Copyright (c) 2007 Oliver Neukum * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de> * * 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 Foundat...
wurikiji/ttFS
src/drivers/usb/core/quirks.c
C
gpl-2.0
7,532
#ifdef HAVE_CONFIG_H #include "config.h" /* If autoconfed, only include malloc.h when it's presen */ #ifdef HAVE_MALLOC_H #include <malloc.h> #endif #else /* undef HAVE_CONFIG_H */ #include <malloc.h> #endif /* HAVE_CONFIG_H */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include "gr...
cjg/grads
src/gribscan.c
C
gpl-2.0
31,622
#include "libertas_tf.h" #include "linux/etherdevice.h" #define DRIVER_RELEASE_VERSION "004.p0" #define LBTF_FW_VER_MIN 0x05840300 #define LBTF_FW_VER_MAX 0x0584ffff #define QOS_CONTROL_LEN 2 static const char lbtf_driver_version[] = "THINFIRM-USB8388-" DRIVER_RELEASE_VERSION; struct workqueue_struct *lbtf_wq; ...
leemgs/OptimusOneKernel-KandroidCommunity
drivers/net/wireless/libertas_tf/main.c
C
gpl-2.0
15,357
/* * CFQ, or complete fairness queueing, disk scheduler. * * Based on ideas from a previously unfinished io * scheduler (round robin per-process disk scheduling) and Andrea Arcangeli. * * Copyright (C) 2003 Jens Axboe <axboe@kernel.dk> */ #include <linux/module.h> #include <linux/slab.h> #include <linux/blkd...
Lucius1972/Vex
block/cfq-iosched.c
C
gpl-2.0
123,066
/****************************************************************************** CRYSTALPALACE - Episode specific code *******************************************************************************/ #include "g_local.h" #include "voice_punk.h" #include "voice_bitch.h" void ProcessKingpin (edict_t *self, edict_t ...
amokmen/q2ctc
Catch the Chicken for Kingpin v1.1/ctc_source_v1-1_kingpin/ep_crystalpalace.c
C
gpl-2.0
3,949
/* * Unix SMB/CIFS implementation. * RPC Pipe client / server routines * * Copyright (C) Marcin Krzysztof Porwit 2005. * * Largely Rewritten (Again) by: * Copyright (C) Gerald (Jerry) Carter 2005. * Copyright (C) Guenther Deschner 2008,2009. * * This program is fre...
SVoxel/R7800
git_home/samba.git/source3/rpc_server/svcctl/srv_svcctl_nt.c
C
gpl-2.0
33,062
/* * cexcel - A library to read data from Excel spread sheets * * Copyright (C) 2007 RIKEN Japan, All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 ...
neuroinformatics/excel2xoonips
cexcel/file.c
C
gpl-2.0
4,256
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
telent/minipod
wma.c
C
gpl-2.0
19,368
/* drivers/input/accelerometer/gs_bosch.c * * Copyright (C) 2010-2011 Huawei. * * 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...
Fagulhas/android_kernel_huawei_u8815
drivers/input/accelerometer/gs_bosch.c
C
gpl-2.0
21,182
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2008 William Jon McCann <jmccann@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; ...
gcampax/gdm
gui/simple-greeter/test-a11y-preferences.c
C
gpl-2.0
1,618
/***************************************************************************** * direct3d.c: Windows Direct3D video output module ***************************************************************************** * Copyright (C) 2006-2009 VLC authors and VideoLAN *$Id$ * * Authors: Damien Fouilleul <damienf@videolan.o...
bluebarnacles/vlc-2.1
modules/video_output/msw/direct3d.c
C
gpl-2.0
50,282
/* * * This source code is part of * * G R O M A C S * * GROningen MAchine for Chemical Simulations * * VERSION 3.2.0 * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others. * Copyright (c) 1991-2000, University of G...
aar2163/GROMACS
src/tools/gmx_rama.c
C
gpl-2.0
3,421
/* * rtm_map.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 your option) any later version. * * Authors: Alexey Kuznetsov, <kuz...
chraso/GT-I5500_
iproute2_src/ip/rtm_map.c
C
gpl-2.0
2,506
/* * OpenPIC emulation * * Copyright (c) 2004 Jocelyn Mayer * 2011 Alexander Graf * * 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 withou...
poblces/qemu
hw/openpic.c
C
gpl-2.0
37,052
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A P...
rogerq/ltp-ddt
testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/23-4.c
C
gpl-2.0
1,373
/* strerror.c * * cml hacked on this function 940627 * so that the error message would be copied into a static buffer, * and then return a ptr to that buffer. * * Previously, a ptr into the sys_errlist array was returned, * but this caused core dumps. I don't understand the problem * but it's better now. *...
sarnold/cyclo
strerror.c
C
gpl-2.0
1,166
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * GThumb * * Copyright (C) 2009 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 F...
novas0x2a/gthumb
gthumb/gth-task.c
C
gpl-2.0
5,716
/* * Copyright (C) 2014-2019 Firejail Authors * * This file is part of firejail 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 the License, or * (at your o...
pmillerchip/firejail
src/fbuilder/build_bin.c
C
gpl-2.0
2,891
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2010, Digium, Inc. * * David Vossel <dvossel@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the project...
mehulsbhatt/asterisk
main/framehook.c
C
gpl-2.0
5,460
/* Lower vector operations to scalar operations. Copyright (C) 2004-2016 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at y...
paranoiacblack/gcc
gcc/tree-vect-generic.c
C
gpl-2.0
58,499
/* * Copyright (C) ST-Ericsson SA 2010 * Author: Stefan Nilsson <stefan.xk.nilsson@stericsson.com> for ST-Ericsson. * Author: Martin Persson <martin.persson@stericsson.com> for ST-Ericsson. * License terms: GNU General Public License (GPL), version 2. */ /* * Mailbox nomenclature: * * APE MODEM...
igloocommunity/igloo-kernel
drivers/misc/mbox.c
C
gpl-2.0
17,221
#include <common.h> #include <linux/compiler.h> #include <asm/mach-types.h> #include <asm/arch/memory.h> #include <asm/arch/io.h> #include <asm/arch/power_gate.h> #include <asm/arch/gpio.h> #include <asm/arch/clock.h> /* * Caution: Assembly code in sleep.S makes assumtion on the order * of the members o...
genehuangtaiwan/uboot
arch/arm/cpu/aml_meson/m6tv/suspend.c
C
gpl-2.0
21,755
/* conversations_table.c * conversations_table 2003 Ronnie Sahlberg * Helper routines common to all endpoint conversations tap. * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or * m...
VladimirTyrin/wireshark
epan/conversation_table.c
C
gpl-2.0
28,154
#include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #ifdef IS_FBSD #include "machine/soundcard.h" #define DSP_DEVICE "/dev/dsp" #endif #ifdef IS_OBSD #include "soundcard.h" #define DSP_DEVICE "/dev/sound" #endif #ifdef IS_LINUX #include <sys/soundcard.h> #define ...
UkCvs/commando
apps/tuxbox/funstuff/gnuboy/sys/oss/oss.c
C
gpl-2.0
1,524
/* ** Job Arranger for ZABBIX ** Copyright (C) 2012 FitechForce, Inc. All Rights Reserved. ** Copyright (C) 2013 Daiwa Institute of Research Business Innovation Ltd. 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...
mastering-jaz/jobarranger
src/jobarg_server/jajobnet/jajobnetready.c
C
gpl-2.0
4,966
/*************************************************************************** generate_code_ada.c - description ------------------- begin : 2001-07-18 copyright : (C) 2001 by Thomas Preymesser (C) 2002 b...
OldRepoPreservation/dia2code
dia2code/generate_code_ada.c
C
gpl-2.0
21,422
//Não esquecer de implementar a anulação da variável last_pawn_move_two_ranks no método de execução de movimento //Implementar casting #include <stdlib.h> #include <stdio.h> typedef enum Piece_Type { pawn, rook, knight, bishop, queen, king } Piece_Type; typedef enum Color { white, black } Color; typedef str...
brunohadlich/chesstroyer
Main.c
C
gpl-2.0
9,944
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "framebuffer/fb_draw.h" #include "image2screen.h" static int fb0; static void *fbdata_buf = NULL; static int fbdata_bufsize = 0; extern void image2screen_init(char *fb_file) { fb_open(fb_file); fbdata_bufsize = fb_bufsize(); printf("The buf...
shawn-peng/net-screen-demo
lib/image2screen.c
C
gpl-2.0
1,989
/* A Bison parser, made by GNU Bison 2.7.12-4996. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2013 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 ...
hxfeng/R-3.1.2
src/main/gram.c
C
gpl-2.0
166,329
/** ****************************************************************************** * @file TIM/TIM_InputCapture/Src/stm32f4xx_it.c * @author MCD Application Team * @version V1.1.0 * @date 26-June-2014 * @brief Main Interrupt Service Routines. * This file provides template for all...
matianfu/stm32f4cube13
Projects/STM324xG_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f4xx_it.c
C
gpl-2.0
5,798
/* * STMicrolectronics STiG125 SoC audio glue driver * * Copyright (c) 2012-2013 STMicroelectronics Limited * * Authors: John Boddie <john.boddie@st.com> * Japneet Chhatwal <Japneet.chhatwal@st.com> * * This program is free software; you can redistribute it and/or modify * it under the ter...
suzuke/pdk7105-stm-kernel
sound/stm/stig125.c
C
gpl-2.0
4,478
/* * lib/reed_solomon/encode_rs.c * * Overview: * Generic Reed Solomon encoder / decoder library * * Copyright 2002, Phil Karn, KA9Q * May be used under the terms of the GNU General Public License (GPL) * * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de) * * $Id: encode_rs.c 2 2007-04-05 08:...
odit/rv042
linux/kernel_2.6/linux/lib/reed_solomon/encode_rs.c
C
gpl-2.0
1,317
/* * High-level sync()-related operations */ #include <linux/kernel.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/namei.h> #include <linux/sched.h> #include <linux/writeback.h> #include <linux/syscalls.h> #include <linux/linkage.h> #include <linux/...
LiquidSmokeX64/android_kernel_oneplus_msm8974-UR3.6
fs/sync.c
C
gpl-2.0
10,123
/* __LICENSE_HEADER_BEGIN__ */ /* * Copyright (C) 2009-2011 Emmanuel Roullit <emmanuel@netsniff-ng.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, o...
eroullit/net-toolbox
netcore-ng/init.c
C
gpl-2.0
1,095
/* * This file is part of the coreboot project. * * Copyright (C) 2008-2009 coresystems GmbH * * 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 prog...
wolflee/coreboot
src/southbridge/intel/lynxpoint/early_usb.c
C
gpl-2.0
1,638
/* Handle SOM shared libraries. Copyright (C) 2004, 2005, 2007, 2008, 2009, 2010 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 Found...
legumbre/gdb-z80
gdb/solib-som.c
C
gpl-2.0
26,506
/*** This file is part of systemd. Copyright 2012 Lennart Poettering systemd 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 ve...
mohan43u/systemd
src/basic/calendarspec.c
C
gpl-2.0
34,105
/* * ===================================================================================== * * Filename: hello.c * * Description: * * Version: 1.0 * Created: 2012年09月04日 11时47分44秒 * Revision: none * Compiler: gcc * * Author: James Lee (Jsl), pighacker@gmail...
princeofdream/debug_src_full
platform/kernel_module/block_device/jsl_mod.c
C
gpl-2.0
4,535
/* * poll_windows: poll compatibility wrapper for Windows * Copyright (C) 2009-2010 Pete Batard <pbatard@gmail.com> * With contributions from Michael Plante, Orin Eman et al. * Parts of poll implementation from libusb-win32, by Stephan Meyer et al. * * This library is free software; you can redistribute it and/or...
qtekfun/htcDesire820Kernel
external/libusb_aah/libusb/os/poll_windows.c
C
gpl-2.0
15,953
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* (c) Johannes Schmid 2003 * 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...
abderrahim/anjuta
plugins/message-view/message-view.c
C
gpl-2.0
38,175
/* * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2007-2011, Code Aurora Forum. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This ...
StarKissed/starkissed-kernel-mecha
arch/arm/mach-msm/acpuclock-7x30.c
C
gpl-2.0
15,651
#include "stdlib.h" #include "interrupts.h" #include "tty.h" typedef struct { uint16 address_0_15; uint16 selector; uint8 reserved; uint8 type; uint16 address_16_31; } __attribute__((packed)) IntDesc; typedef struct { uint16 limit; void *base; } __attribute__((packed)) IDTR; IntDesc *idt = (void*)0xFFFFC000; ...
AnarbekB/FunOS
src/kernel/interrupts.c
C
gpl-2.0
1,171
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* vector3f_add.c :+: :+: :+: ...
BenjaminRepingon/Pong-C
lib3d/vector3f_add.c
C
gpl-2.0
1,164
/* * Copyright (C) 2011 Intel Corporation. * Copyright (C) 2016 Red Hat * Copyright (C) 2018 DisplayLink (UK) Ltd. * Copyright (C) 2018 Canonical Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Softwa...
GNOME/mutter
src/backends/native/meta-drm-buffer-dumb.c
C
gpl-2.0
10,339
/* * PPC System library functions * * Maintainer: Kumar Gala <galak@kernel.crashing.org> * * Copyright 2005 Freescale Semiconductor Inc. * Copyright 2005 MontaVista, Inc. by Vitaly Bordug <vbordug@ru.mvista.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of ...
ska-sa/borph_linux_devel
arch/ppc/syslib/ppc_sys.c
C
gpl-2.0
8,141
/*The file is auto generated by tools, don't modify it manully.*/ #include <hsad/configdata.h> config_pair hw_U9701L_VA_configs [] = { {"arch/arch_type", (unsigned int)2, E_CONFIG_DATA_TYPE_INT }, {"audio/aud_para", (const unsigned int)(unsigned int*)"U9701L", E_CONFIG_DATA_TYPE_STRING }, {"audio/audience"...
daniabo/kernel-HuaweiP2-6011.3.0.8
drivers/huawei/hsad/auto-generate/hw_U9701L_VA_configs.c
C
gpl-2.0
11,738
#include <linux/module.h> #include <linux/spinlock.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/amlogic/amports/timestamp.h> #include <linux/amlogic/amports/tsync.h> #include <linux/amlogic/amports/ptsserv.h> #ifdef ARC_700 #include <asm/arch/am_regs.h> #else #include <mach/am_regs.h>...
kszaq/linux-amlogic
drivers/amlogic/amports/tsync.c
C
gpl-2.0
52,628
/* * Copyright (C) 2000,2001 Marco Ziech (mmz@gmx.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. * * Th...
jrmuizel/bnetd
src/bnetd/bits_rconn.c
C
gpl-2.0
3,614
#if 0 #include <linux/i2c.h> #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/cdev.h> #include <linux/uaccess.h> #include <linux/slab.h> #include <linux/fs.h> #include "kd_camera_hw.h" #include "eeprom.h" #include "eeprom_define.h" #include "GT24c32a.h" #include <asm/system.h> #else #incl...
lbule/kernel_htc_mtk
drivers/misc/mediatek/cam_cal/src/mt6752/GT24c32a_eeprom/GT24c32a.c
C
gpl-2.0
25,203
/* * Copyright (C) 2006 PA Semi, Inc * * Authors: Kip Walker, PA Semi * Olof Johansson, PA Semi * * Maintained by: Olof Johansson <olof@lixom.net> * * Based on arch/powerpc/platforms/maple/pci.c * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gener...
milaq/linux-hpc
arch/powerpc/platforms/pasemi/pci.c
C
gpl-2.0
4,599
/* Verify that overloaded built-ins for vec_insert() with short inputs produce the right codegen. Power8 variant. */ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-O2 -mdejagnu-cpu=power8" } */ #include <altivec.h> vector bool short testbs_var(unsigned short ...
Gurgel100/gcc
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p8.c
C
gpl-2.0
1,546
#include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <asm/types.h> #include <mach/hardware.h> #include <asm/irq.h> #include <mach/irqs.h> #include <asm/mach/irq.h> #include <asm/mach/time.h> #include <linux/device.h> #include <linux/serial_8250.h> #include "common.h" static struct ...
leemgs/OptimusOneKernel-KandroidCommunity
arch/arm/mach-h720x/cpu-h7202.c
C
gpl-2.0
4,387
/* * Framebuffer driver for TI OMAP boards * * Copyright (C) 2004 Nokia Corporation * Author: Imre Deak <imre.deak@nokia.com> * * Acknowledgements: * Alex McMains <aam@ridgerun.com> - Original driver * Juha Yrjola <juha.yrjola@nokia.com> - Original driver and improvements * Dirk Behme <dirk.behme...
umeshkrishnan/pb-bugbase-kernel
drivers/video/omap/omapfb_main.c
C
gpl-2.0
48,904
#include "public.h" #include <pthread.h> #include <signal.h> #include <syslog.h> extern int already_running(); extern void daemonize(const char *cmd); sigset_t mask; void reload() { /* reload config file */ syslog(LOG_INFO, "RELOAD CONFIG FILE"); } void *thr_fn(void * arg) { int signo; while(sigwait(&mask, &s...
clamxyz/apue
ch13/prog13_3.c
C
gpl-2.0
1,078
/* Copyright (c) 2012-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...
fedosis/android_kernel_xiaomi_msm8937
sound/soc/msm/qdsp6v2/q6adm.c
C
gpl-2.0
134,972
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 1999 - 2005, Digium, Inc. * * Mark Spencer <markster@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the...
nicwolff/asterisk-agi-mp3
apps/app_read.c
C
gpl-2.0
6,752
#include<stdio.h> #include<stdlib.h> #define N 4 #define M 3 struct student{ long num; char str[15]; float score[M]; float avg; }stu[N],newstu[N]; #define Len sizeof(struct student) void main(){ char *filename = "../13.8.txt"; char *file = "../13.9.txt"; FILE *fp; struct student sp,stu_new; int i,j,k; float ...
lixiangbest/algorithm
tan/13.9.c
C
gpl-2.0
1,649
/* Icecast * * This program is distributed under the GNU General Public License, version 2. * A copy of this license is included with this source. * * Copyright 2000-2004, Jack Moffitt <jack@xiph.org, * Michael Smith <msmith@xiph.org>, * oddsock <oddsock@xiph.org>, * ...
BogusCurry/Icecast-Server
src/logging.c
C
gpl-2.0
7,021
/* $Id: ps_item_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $ * * Lasso - A free implementation of the Liberty Alliance specifications. * * Copyright (C) 2004-2007 Entr'ouvert * http://lasso.entrouvert.org * * Authors: See AUTHORS file in top-level directory. * * This program is free software; you can redistr...
adieu/lasso
lasso/xml/id-wsf-2.0/ps_item_data.c
C
gpl-2.0
3,161
/* packet-olsr.c * Routines for OLSR (IPv4 & IPv6 compatible) RFC parsing * Compatible with RFC-compliant OLSR implementations such as * NRLOLSRD (http://pf.itd.nrl.navy.mil/projects/olsr/). * Parser created by Aaron Woo <woo@itd.nrl.navy.mil> of * the Naval Research Laboratory * Currently maintained by Jeff West...
P1sec/LTE_monitor_c2xx
wireshark/epan/dissectors/packet-olsr.c
C
gpl-2.0
33,941
/* * Copyright (C) 2013-2015 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/busfreq-imx6.h> #include <linux/clk.h> #include <...
RealDigitalMediaAndroid/linux-imx6
drivers/cpufreq/cpufreq-imx6.c
C
gpl-2.0
13,781
/* * This file is part of gshutdown. * * Copyright (c) GShutdown Team <gshutdown@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 2 of the License, or * (at y...
Asher256/gshutdown
src/misc.c
C
gpl-2.0
6,180
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. */ #include "tomcrypt_private.h" #ifdef LTC_PBES...
mangosthree/server
dep/tomlib/Crypt/src/misc/pbes/pbes2.c
C
gpl-2.0
7,865
/* Disassembly display. Copyright (C) 1998-2017 Free Software Foundation, Inc. Contributed by Hewlett-Packard Company. 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 Softwa...
ganboing/binutils-gdb
gdb/tui/tui-disasm.c
C
gpl-2.0
11,696
/* * Copyright (C) 2013 Andreas Steffen * HSR Hochschule fuer Technik Rapperswil * * 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) a...
Ibrahimous/strongswan
src/libimcv/imv/imv_policy_manager.c
C
gpl-2.0
8,684
/* * Copyright (C) 2002-2012 by Dave J. Andruczyk <djandruczyk at yahoo dot com> * * Linux Megasquirt tuning software * * * This software comes under the GPL (GNU Public License) * You may freely copy,distribute etc. this as long as the source code * is made available for FREE. * * No warranty is made or i...
djandruczyk/MegaTunix
src/personalities.c
C
gpl-2.0
11,460
/* * netfilter module for userspace bridged Ethernet frames logging daemons * * Authors: * Bart De Schuymer <bdschuym@pandora.be> * Harald Welte <laforge@netfilter.org> * * November, 2004 * * Based on ipt_ULOG.c, which is * (C) 2000-2002 by Harald Welte <laforge@netfilter.org> * * This module a...
Jackeagle/android_kernel_sony_c2305
net/bridge/netfilter/ebt_ulog.c
C
gpl-2.0
9,290
/* * vpx3220a, vpx3216b & vpx3214c video decoder driver version 0.0.1 * * Copyright (C) 2001 Laurent Pinchart <lpinchart@freegates.be> * * 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; ei...
mbadarkhe/davinci-next
drivers/media/i2c/vpx3220.c
C
gpl-2.0
15,309
/* * linux/arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c * * CPU frequency scaling for S5PC1XX * * Copyright (C) 2008 Samsung Electronics * * Based on cpu-sa1110.c, Copyright (C) 2001 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
ZhizhouTian/s3c-linux
arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c
C
gpl-2.0
11,879
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <errno.h> #include <fcntl.h> #include <net/ethernet.h> #ifdef _MINGW_ #include <winsock2.h> #else #include <fcntl.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> #defi...
nanshusu/nanshusu.github.cn
uware/src/sundry/app/l2c/l2c_tcp.c
C
gpl-2.0
8,547
/* =========================================================================== 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 publish...
everettcaleb/openarena
source/code/q3_ui/ui_credits.c
C
gpl-2.0
2,278
/* Bongo Project licensing applies to this file, see COPYING * (C) 2007 Alex Hudson */ /** \file * Implementation of XPL hash API: access to gcrypt's MD5 and SHA1 algorithms */ #include <config.h> #include <libintl.h> #include <xplhash.h> #include <memmgr.h> #include <gcrypt.h> #include <libintl.h> #include <loc...
bongo-project/bongo
src/libs/xpl/hash.c
C
gpl-2.0
3,881
/* * motion_comp_altivec.c * Copyright (C) 2000-2003 Michel Lespinasse <walken@zoy.org> * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * * This file is part of mpeg2dec, a free MPEG-2 video stream decoder. * See http://libmpeg2.sourceforge.net/ for updates. * * mpeg2dec is free software; y...
muravjov/bombono-dvd
libs/mpeg2dec/libmpeg2/motion_comp_altivec.c
C
gpl-2.0
29,445
/* SPDX-License-Identifier: GPL-2.0+ */ /* * 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 dis...
pszewczyk/systemd
src/udev/udevadm-control.c
C
gpl-2.0
6,585
/* * Copyright 2006 John-Mark Bell <jmb202@ecs.soton.ac.uk> * * This file is part of NetSurf, http://www.netsurf-browser.org/ * * NetSurf 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...
ashmew2/nskolibrios
netsurf/riscos/textarea.c
C
gpl-2.0
29,072
/*************************************************************************** * Copyright (C) 2009-2012 Virginia Tech Real-Time Systems Lab * * * * Original version written by Matthew Dellinger * * mdellin...
longqzh/chronOS_test
sched_test_app/src/tester.c
C
gpl-2.0
15,697
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * Mu Qiao <qiaomuf@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 2 of the Licens...
Xeralux/NetworkManager
src/settings/plugins/ifnet/connection_parser.c
C
gpl-2.0
88,724