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
//======================================================================================== // // $HeadURL: svn://localhost/izine/iZinePlns/Codebase/trunk/iZinePublishUI/Source/Dialogs/TaskHistory/Windows/IOleClientSiteFunctions.c $ // $Revision: 2368 $ // $Date: 2010-10-22 11:58:01 +0200 (Fri, 22 Oct 2010) $ // $Autho...
izine-publish/izine-plugins
src/iZinePublishUI/Source/Dialogs/TaskHistory/Windows/IOleClientSiteFunctions.c
C
gpl-2.0
7,803
/* * Driver for OMAP-UART controller. * Based on drivers/serial/8250.c * * Copyright (C) 2010 Texas Instruments. * * Authors: * Govindraj R <govindraj.raja@ti.com> * Thara Gopinath <thara@ti.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
sysplay/bbb
Drivers/TTYDrivers/s3.c
C
gpl-2.0
15,893
/* Copyright (C) 2001-2002 A Nourai 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 ...
DavidWiberg/ezquake-source
utils.c
C
gpl-2.0
30,668
/* * Copyright (c) 2003-2006 Erez Zadok * Copyright (c) 2003-2006 Charles P. Wright * Copyright (c) 2005-2006 Josef Sipek * Copyright (c) 2005 Arun M. Krishnakumar * Copyright (c) 2005-2006 David P. Quigley * Copyright (c) 2003-2004 Mohammad Nayyer Zubair * Copyright (c) 2003 Puja Gupta * Copyright (c...
camelguo/linux-2.6-trimedia
fs/unionfs/usercommon.c
C
gpl-2.0
4,667
/* Copyright (C) 2009 - 2010 Artem Makhutov <artem@makhutov.org> http://www.makhutov.org Dmitry Vagin <dmitry2004@yandex.ru> bg <bg_one@mail.ru> */ #ifdef HAVE_CONFIG_H #include <config.h> #endif /* HAVE_CONFIG_H */ #include <asterisk.h> #include <asterisk/logger.h> /* ast_debug() */ #includ...
valkuc/asterisk-chan-dongle
at_response.c
C
gpl-2.0
47,853
/* * fm-app-menu-view.c * * Copyright 2010 - 2012 Hong Jen Yee (PCMan) <pcman.tw@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 ...
geekless/libsmfm-gtk
src/gtk/fm-app-menu-view.c
C
gpl-2.0
11,336
/*- * BSD LICENSE * * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * 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 ...
lagopus/virtq-pmd-dpdk-1.6
lib/librte_pmd_virtio/virtio_ethdev.c
C
gpl-2.0
20,094
/* Copyright (c) 2008-2010, 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...
DecimalMan/dkp-tw
arch/arm/mach-msm/modem_notifier.c
C
gpl-2.0
6,586
/* Copyright (C) 1995,1996 by Holger Veit (Holger.Veit@gmd.de) */ /* Use at your own risk! No Warranty! The author is not responsible for * any damage or loss of data caused by proper or improper use of this * device driver. */ #define INCL_ERRORS #define INCL_DOS #include <os2.h> #include <devcmd.h> #include "rp_p...
OS2World/DRV-PPtP
XF86NOTPATCHES/xf86sup/src/cons.c
C
gpl-2.0
7,792
/* * linux/fs/ext4/xattr.c * * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de> * * Fix by Harrison Xing <harrison@mountainviewdata.com>. * Ext4 code with a lot of help from Eric Jarman <ejarman@acm.org>. * Extended attributes for symlinks and special files added per * suggestion of Luka Renko <lu...
jmztaylor/android_kernel_htc_a5
fs/ext4/xattr.c
C
gpl-2.0
37,051
/* * R : A Computer Language for Statistical Data Analysis * Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka * Copyright (C) 1998--2016 The R Core 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 ...
allr/timeR
src/main/memory.c
C
gpl-2.0
115,235
/* v850 specific, C compiler specific functions. Copyright (C) 2000-2015 Free Software Foundation, Inc. Contributed by Jeff Law (law@cygnus.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 the Free So...
Noeyfan/gcc
gcc/config/v850/v850-c.c
C
gpl-2.0
6,633
// // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005-2014 Simon Howard // Copyright(C) 2016-2022 Julian Nechaevsky // // 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 ver...
JNechaevsky/russian-doom
src/doom/sounds.c
C
gpl-2.0
6,126
/* GPL (c) 2017, thorsten.johannvorderbrueggen@t-online.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 Foundation; either version 2 of the License, or (at your option) any later version. This ...
tjohann/my_gaming_playground
c/first_try/use_game_obj_t/main.c
C
gpl-2.0
5,016
/* $OpenBSD: sshd.c,v 1.364 2008/07/10 18:08:11 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved * This program is the ssh daemon. It listens for connections from clients, * and performs authenticatio...
scs/uclinux
user/ssh/sshd.c
C
gpl-2.0
60,444
#include "types.h" #define mix(a, b, c) \ do { \ a = a - b; a = a - c; a = a ^ (c >> 13); \ b = b - c; b = b - a; b = b ^ (a << 8); \ c = c - a; c = c - b; c = c ^ (b >> 13); \ a = a - b; a = a - c; a = a ^ (c >> 12); \ b = b - c; b = b - a; b = b ^ (a << 16); \ c = c - a; c = c - ...
luckasfb/OT_903D-kernel-2.6.35.7
kernel/fs/ceph/ceph_hash.c
C
gpl-2.0
2,579
/* * random.c -- A strong random number generator * * Copyright Matt Mackall <mpm@selenic.com>, 2003, 2004, 2005 * * Copyright Theodore Ts'o, 1994, 1995, 1996, 1997, 1998, 1999. All * rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided...
byeonggon/0android_kernel_samsung_crespo
drivers/char/random.c
C
gpl-2.0
44,679
/* * 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...
weritos666/Vee7
mm/page_alloc.c
C
gpl-2.0
171,196
/* ** Copyright 2000-2002 Double Precision, Inc. See COPYING for ** distribution information. */ #include "rfc2045_config.h" #include "rfc2045.h" #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <sys/types.h> #include <sys/stat.h> static const char rcsid[]="$...
zixia/wmail
src/rfc2045/rfc2045header.c
C
gpl-2.0
3,055
/** * A growing buffer tree node. * * Copyright (C) 2016 Red Hat * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any lat...
Scribery/aushape
lib/gbnode.c
C
gpl-2.0
9,631
/** * @file r_sphere.c * @brief Functions to generate and render spheres */ /* Copyright (C) 1997-2001 Id Software, 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 Li...
ptitSeb/UFO--AI-OpenPandora
src/client/renderer/r_sphere.c
C
gpl-2.0
9,347
/****************************************************************************** * * GPL LICENSE SUMMARY * * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. * * 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...
wschaub/compat-wireless
drivers/net/wireless/iwlegacy/common.c
C
gpl-2.0
144,758
/* Copyright (C) * 2016 - John Melton, G0ORX/N6LYT * * 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...
g0orx/pihpsdr
bandstack_menu.c
C
gpl-2.0
4,350
/******************************************************************************* Intel 82599 Virtual Function 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...
kofemann/linux-redpatch
drivers/net/ixgbevf/ethtool.c
C
gpl-2.0
25,121
/* * _ _ _ _ * __ _____| | |_ __| (_)_ __ * \ V / _ \ | _/ _` | \ V / command line voltage divider calculator * \_/\___/_|\__\__,_|_|\_/ (c)2015 Jonas Sjöberg * * A command-line calculator for common electronics design math. * Copyright (c)2015 Jonas Sjöberg * jomeganas@gmail.com *...
jonasjberg/voltdiv
src/calc.c
C
gpl-2.0
7,969
/* This file is (C) copyright 2001-2004 Software Improvements, Pty Ltd */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later ve...
milthorpe/evacs
voting_client_stripped/accumulate_preferences.c
C
gpl-2.0
2,113
// // distmultinormal.c // physher // // Created by mathieu on 17/4/20. // Copyright © 2020 Mathieu Fourment. All rights reserved. // #include "distmultinormal.h" #include <strings.h> #include "distmodel.h" #include "matrix.h" #include "parametersio.h" #include "statistics.h" void _update_gsl_parameters(Distri...
4ment/physher
src/phyc/distmultinormal.c
C
gpl-2.0
12,455
/* ==================================================================== * Copyright (c) 1999-2001 Carnegie Mellon University. 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. Redi...
pclouds/vspell
libvspell/lm/lm_3g.c
C
gpl-2.0
34,818
/* * This file is part of wl18xx * * Copyright (C) 2011 Texas Instruments * * 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 that it...
TI-OpenLink/wl18xx
drivers/net/wireless/ti/wl18xx/main.c
C
gpl-2.0
60,609
/* TUI support I/O functions. Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007, 2008, 2009, 2010, 2011 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 term...
ptriller/dcpu-binutils
gdb/tui/tui-io.c
C
gpl-2.0
19,902
/* * avrdude - A Downloader/Uploader for AVR device programmers * Copyright (C) 2005, 2007 Joerg Wunsch <j@uriah.heep.sax.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 Foundation; either versi...
zoobab/avrdude
jtagmkI.c
C
gpl-2.0
36,967
/* * Virtual master and slave controls * * Copyright (c) 2008 by Takashi Iwai <tiwai@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 Foundation, version 2. * */ #include <linux/slab...
ManishBadarkhe/linux-next
sound/core/vmaster.c
C
gpl-2.0
13,000
/* Copyright (c) 2009-2013, 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 hop...
fermasia/kernel_v700
drivers/usb/otg/msm_otg.c
C
gpl-2.0
151,797
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 1999 - 2010, 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...
Distrotech/asterisk
main/config.c
C
gpl-2.0
80,682
/* Copyright (c) 2011-2012, 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...
yseras/SGS4-3.13
arch/arm/mach-msm/board-8064-storage.c
C
gpl-2.0
18,678
/** * \file mixer/simple_none.c * \brief Mixer Simple Element Class Interface * \author Jaroslav Kysela <perex@suse.cz> * \author Abramo Bagnara <abramo@alsa-project.org> * \date 2001-2004 * * Mixer simple element class interface. */ /* * Mixer Interface - simple controls * Copyright (c) 2000,2004 by Jarosl...
scs/uclinux
lib/alsa-lib/alsa-lib-1.0.12/src/mixer/simple_none.c
C
gpl-2.0
40,136
/***************************************************************************** * core.c: Core functions : init, playlist, stream management ***************************************************************************** * Copyright (C) 2005 the VideoLAN team * $Id$ * * Authors: Olivier Aubert <olivier.aubert@liris....
maddox/vlc
src/control/mediacontrol_core.c
C
gpl-2.0
13,370
/* * multi.c -- Multifunction Composite driver * * Copyright (C) 2008 David Brownell * Copyright (C) 2008 Nokia Corporation * Copyright (C) 2009 Samsung Electronics * Author: Michal Nazarewicz (mina86@mina86.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of t...
clarkli86/linux-3.7-mini2440-mtp
drivers/usb/gadget/multi.c
C
gpl-2.0
7,640
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) a...
thom311/NetworkManager
libnm-glib/nm-types.c
C
gpl-2.0
9,963
/* * dw9712.c - focuser driver * * Copyright (c) 2011, NVIDIA, All Rights Reserved. * * 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/delay.h> #include <lin...
pengus77/kowalski
drivers/media/video/tegra/dw9712.c
C
gpl-2.0
5,393
/* Task_exit_extension * * This routine is the task exitted user extension. * * Input parameters: NONE * * Output parameters: NONE * * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENS...
t-crest/rtems
testsuites/sptests/sp07/taskexit.c
C
gpl-2.0
743
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
necioerrante/kernel
arch/arm/mach-msm/clock-mdss-8974.c
C
gpl-2.0
82,402
/* drivers/video/msm/src/panel/mddi/mddi_hitachi_hvga.c * * Copyright (C) 2008 QUALCOMM Incorporated. * Copyright (c) 2008 QUALCOMM USA, INC. * * All source code in this file is licensed under the following license * except where indicated. * * This program is free software; you can redistribute it and/or * ...
venkatkamesh/kernel-msm7x27-ics-3.0.8
drivers/video/msm/mddi_hitachi_hvga.c
C
gpl-2.0
25,960
/* 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 ...
lenovo-a3-dev/kernel_lenovo_a3
mediatek/platform/mt6589/uboot/mt65xx_disp_drv.c
C
gpl-2.0
23,570
/* * Driver for AMBA serial ports * * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. * * Copyright 1999 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * Copyright (C) 2010 ST-Ericsson SA * * This program is free software; you can redistribute it and/or modify * it under the ...
heptalium/rpi-sources-3.16
drivers/tty/serial/amba-pl011.c
C
gpl-2.0
59,935
/* ///////////////////////////////////////////////////////////////////////// */ /* This file is a part of the BSTools package */ /* written by Przemyslaw Kiciak */ /* ///////////////////////////////////////////////////////////////////////// */...
radek-p/BSTools
src/pknum/pknum58f.c
C
gpl-2.0
10,613
/* * * Copyright (C) 2009 Gulessoft , Inc. * Written by Guo Hongruan (guo.hongruan@gulessoft.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, ...
camelguo/linux-2.6-trimedia
arch/trimedia/lib/memset.c
C
gpl-2.0
1,034
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ /* * (C) 2011 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "mpiimpl.h" /* -- Begin Profiling Symbol Block for routine MPI_T_pvar_get_num */ #if defined(HAVE_PRAGMA_WEAK) #pragma weak MPI_T_pvar_get_num = P...
qingu/WRF-Libraries
src/mpich-3.0.1/src/mpi_t/pvar_get_num.c
C
gpl-2.0
3,267
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> /* ------------------------------------------------------------------------- */ #define DATE_LEN 20 /* "yyyy/mm/dd hh:mm:ss" */ #define MAXLEN 100 /* for read_line() */ #define...
LilinYume/Time_stamp
main.c
C
gpl-2.0
7,958
/* * USB hub driver. * * (C) Copyright 1999 Linus Torvalds * (C) Copyright 1999 Johannes Erdfelt * (C) Copyright 1999 Gregory P. Smith * (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au) * */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/module.h> #include <linux/moduleparam.h> #includ...
ubuntustudio-kernel/ubuntu-quantal-lowlatency
drivers/usb/core/hub.c
C
gpl-2.0
148,882
/* * kernel/sched.c * * Kernel scheduler and related syscalls * * Copyright (C) 1991-2002 Linus Torvalds * * 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and * make semaphores SMP safe * 1998-11-19 Implemented schedule_timeout() and related stuff * by Andrea Arcangeli * 2002-01-04 N...
kmihelich/linux-smileplug
kernel/sched.c
C
gpl-2.0
218,968
/*****************************************************************************\ * print.c - sinfo print job functions ***************************************************************************** * Copyright (C) 2002-2007 The Regents of the University of California. * Copyright (C) 2008-2010 Lawrence Livermore N...
lipari/slurm
src/sinfo/print.c
C
gpl-2.0
28,889
/* * The input core * * Copyright (c) 1999-2002 Vojtech Pavlik */ /* * 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. */ #define pr_fmt(fmt) KBUILD_BASENAME ": " fmt #include...
uarka/linux-next
drivers/input/input.c
C
gpl-2.0
61,306
/* Copyright (c) 2012, 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 hope that ...
bilalliberty/android_kernel_htc_villec2-caf-based
drivers/media/video/msm_wfd/enc-mfc-subdev.c
C
gpl-2.0
68,943
/* * Copyright (C) 2014 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup examples * @{ * * @file * @brief Hello World application * ...
ofauchon/oflmotes
mote-devboard/apps/tests/test-lowpower/main.c
C
gpl-3.0
1,829
/* * Copyright (C) 2014 Paulo Cesar Pereira de Andrade. * * This 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. * * This soft...
pcpa/owl
lib/ohashtable.c
C
gpl-3.0
8,320
/* * noumd.c is part of host2ms * Copyright (C) 2008 Poison * * 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) any later version. *...
joel16/Custom-Firmware-Extender
cfe_redirect/umd.c
C
gpl-3.0
3,433
#include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <osip2/osip.h> #include <osip2/osip_dialog.h> #include <osipparser2/sdp_message.h> #include <ortp/ortp.h> #include "sip.h" #include "nwk.h" #include "nwk-cc.h" #include "cfgfile.h" #include "termin...
vvg77ripe/dectpbx
software/src/sip.c
C
gpl-3.0
26,644
/* * Frontend driver for the GENPIX 8pks/qpsk/DCII USB2.0 DVB-S module * * Copyright (C) 2006,2007 Alan Nisota (alannisota@gmail.com) * Copyright (C) 2006,2007 Genpix Electronics (genpix@genpix-electronics.com) * * Thanks to GENPIX for the sample code used to implement this module. * * This module is based off ...
williamfdevine/PrettyLinux
drivers/media/dvb-frontends/gp8psk-fe.c
C
gpl-3.0
10,336
/* This file is part of punani-strike * Copyright (c) 2011 Gianni Tedesco * Released under the terms of GPLv3 */ #include <punani/punani.h> #include <punani/vec.h> #include <punani/renderer.h> #include <punani/light.h> #include <punani/asset.h> #include <punani/blob.h> #include <punani/punani_gl.h> #include <math.h> ...
giannitedesco/punani-strike
asset.c
C
gpl-3.0
6,097
/* Case-insensitive string comparison function. Copyright (C) 1998-1999, 2005-2019 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2005, based on earlier glibc code. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Publi...
komh/coreutils-os2
lib/mbscasecmp.c
C
gpl-3.0
2,885
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdarg.h> #include <ctype.h> #define MAXLINES 5000 #define MAXLINE 1000 #define issymbol(c) (!isupper(c) && !islower(c) && !isblank(c) && !isdigit(c)) char *lineptr[MAXLINES]; int readlines(char *lineptr[], int nlines); void writelines(char *linept...
filipegoncalves/codinghighway
KR/ch5/5-16/solution.c
C
gpl-3.0
4,283
/* * Copyright (c) 2008, 2009, 2010 Joseph Gaeddert * Copyright (c) 2008, 2009, 2010 Virginia Polytechnic * Institute & State University * * This file is part of liquid. * * liquid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Publ...
jgaeddert/liquid-fpm
fpmtest.c
C
gpl-3.0
28,737
/** * This file is part of RagEmu. * http://ragemu.org - https://github.com/RagEmu/PreRenewal * * Copyright (C) 2016 RagEmu Dev Team * Copyright (C) 2014-2015 Hercules Dev Team * * RagEmu is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe...
RagEmu/PreRenewal
src/plugins/script_mapquit.c
C
gpl-3.0
1,528
/* ;/hdr/ ************************************************************************ ; ; Copyright (c) 2001 VisualMetrics Corporation ; All Rights Reserved. ; ; This code contribution to the GeneSeqer Product has been contributed ; by VisualMetrics Corporation in part by work supported by the Nationa...
BrendelGroup/GeneSeqer
src/result.c
C
gpl-3.0
32,502
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> typedef struct{ struct item* next; struct item* prev; int value; }item; item* create_item(int value){ item* it = (item *)malloc(sizeof(item)); it->prev = NULL; it->next = NULL; it->value = value; return it; } item* q_front(bool update, ite...
khera-shanu/DSA
C/queue.c
C
gpl-3.0
1,574
/* * RPbdb::SettingsController * * */ /******************************************************************************************************************************************************************************************* ***************************************************************************************...
RidiculousPower/rpbdb-posix
src/SettingsController/SettingsController.c
C
gpl-3.0
30,212
/* Author : Gerard Visser e-mail : visser.gerard(at)gmail.com Copyright (C) 2010 Gerard Visser. 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 Li...
douwevos/natpad
gvlib/src/Map.c
C
gpl-3.0
7,518
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NGAP-PDU-Contents" * found in "../support/ngap-r16.1.0/38413-g10.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps` */ #include "NGAP_AMFConfigurationUpdateFailure.h" asn_TYPE_member_t asn_MBR_NGAP_AMFConfi...
acetcom/cellwire
lib/asn1c/ngap/NGAP_AMFConfigurationUpdateFailure.c
C
gpl-3.0
2,025
#include "commWrapper.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> int waitFrame(int sock, char str[], int maxSize); int waitFrame(int sock, char str[], int maxSize) //str should at least have ...... { int c...
urkopineda/system-programming-c
0301calculiServer/03calculiServer/commWrapper.c
C
gpl-3.0
2,953
/* * Copyright (c) 2014-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 t...
williamfdevine/PrettyLinux
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c
C
gpl-3.0
12,207
/* voiphopper - VoIP Hopper Copyright (C) 2012 Jason Ostrom <jpo@pobox.com> This file is part of VoIP Hopper. VoIP Hopper 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 ...
iknowjason/voiphopper
src/cache.c
C
gpl-3.0
1,746
/* FreeRTOS V7.5.2 - Copyright (C) 2013 Real Time Engineers Ltd. VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * * * Fr...
grosi/eurobot_core
FreeRTOS/FreeRTOS/Source/portable/GCC/ARM7_LPC2000/port.c
C
gpl-3.0
9,926
/* Test of case-insensitive searching in a string. Copyright (C) 2007-2011 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, ...
Distrotech/findutils
tests/test-strcasestr.c
C
gpl-3.0
7,614
/* Copyright (C) Cfengine AS This file is part of Cfengine 3 - written and maintained by Cfengine AS. 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 3. This program is di...
xrg/cfengine-core
src/html.c
C
gpl-3.0
2,903
/* Liquid War 6 is a unique multiplayer wargame. Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Christian Mauduit <ufoot@ufoot.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 F...
lijiaqigreat/liquidwar-web
reference/src/lib/bot/mod-random/mod-random-setup.c
C
gpl-3.0
1,772
/** @file aspa_dist.c * @brief Function definitions for distribution functions and tests * not included in the GSL * * @author Christophe Pouzat <christophe.pouzat@parisdescartes.fr> */ #include "aspa.h" /** @brief Multiplies m x m matrices A and B and return * result in m x m matrix C * * C...
christophe-pouzat/aspa
code/aspa_dist.c
C
gpl-3.0
13,147
#include"marocs.h" #include"splstr.h" #include<assert.h> #include<string.h> #include<stdlib.h> #define DEFAULT_SIZE 32 #ifdef SPLSTR_DEBUG unsigned int round_log(unsigned size) #else static unsigned int round_log(unsigned size) #endif /*SPLSTR_DEBUG*/ { unsigned int i=DEFAULT_SIZE; while(i<size) { i<<=1; } retu...
NosicLin/Codger
src/utility_c/splstr.c
C
gpl-3.0
5,510
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <assert.h> #include <errno.h> #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> #include "cbfi.h" int main(){ mkdir("testmakedir",077); printf("errno:%d \n",errno); assert(errno==0); mkdir("testmakedir2",077); printf("errno:%...
akshaynagpal/cbfi
tests/dir-test.c
C
gpl-3.0
635
/*********************************************** * *Filename: tcpserver.c * *@author: Xianghang Mi *@email: mixianghang@outlook.com *@description: --- *Create: 2015-09-18 11:14:44 *Last Modified: 2015-09-18 11:14:44 ************************************************/ #include "tcpserver.h" int main(int argc, char* argv...
mixianghang/tcpudp
src/tcpserver.c
C
gpl-3.0
6,260
#include <windows.h> #include <commctrl.h> #include "resource.h" #include "3ds-multinand.h" #define WINDOW_WIDTH 320 #define WINDOW_HEIGHT 330 static BOOL dont_close = FALSE, has_nand = FALSE; static HWND FormatGroupBox = NULL, NANDList = NULL, InjectEmuButton = NULL, InjectRedButton = NULL, ExtractButton = NULL, Ref...
DarkMatterCore/3ds-multinand
src/winmain.c
C
gpl-3.0
21,667
#include <stdio.h> #include <dirent.h> #include <string.h> #include <unistd.h> #include <getopt.h> #include <libgen.h> #include <stdlib.h> #include <limits.h> #include <sys/stat.h> #include <libxml/tree.h> #include <libxml/xpath.h> #include "s1kd_tools.h" /* Initial maximum number of CSDB objects of each type. */ #de...
kibook/s1kd-tools
tools/s1kd-ls/s1kd-ls.c
C
gpl-3.0
26,068
#include <stdio.h> #define MAX 1000 int pos[MAX]; int main (void) { int numero, posicoes, pastas; int i, max, salto, ok; /*Lendo o numero de posicoes e de pastas*/ scanf (" %d %d", &posicoes, &pastas); /*Limpando o vetor de posicoes*/ for (i = 0; i < posicoes; i++) pos[i] = 0; /*Lendo as etiq...
ProgDan/maratona
Maratona_C/OBI2007/pastas.c
C
gpl-3.0
714
// // Created by bruce on 19/04/20. // #define __STDC_WANT_LIB_EXT1__ 1 #include <fs/common.h> #include <fs/cache.h> #include <kernel/proc.h> #include <fs/super.h> #include "fsutil/fsutil.h" #include <assert.h> #include <stdio.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <argp.h> #include <std...
halfer53/winix
fs/make_disk.c
C
gpl-3.0
8,478
/** * @file interrupts.c * @author Vincenzo Ferrari - Barbara Iadarola * @note Questo modulo implementa il gestore delle eccezioni degli interrupt dei device. * In dettaglio processa tutti gli interrupt dei device, inclusi quelli dell'Interval Timer, * convertendoli in V per gli appositi semafori. */ /* I...
wilk/Kaya-2010
phase2/src/interrupts.c
C
gpl-3.0
11,520
//<FLAGS> //#define __GPU //#define __NOPROTO //<\FLAGS> //<INCLUDES> #include "fargo3d.h" //<\INCLUDES> //#define BLOCK_X 8 //#define BLOCK_Y 8 //#define BLOCK_Z 1 // Fills forces arrays of the force experienced by the planet void _ComputeForce_cpu(real x, real y, real z, real rsmoothing, real mass) { //<USER_DEF...
adamdempsey90/fargo3d
src/compute_force.c
C
gpl-3.0
5,457
/* radare - LGPL - Copyright 2008-2014 - nibble, pancake */ // TODO: rename to r_anal_meta_get() ?? #if 0 TODO ==== - handle sync to synchronize all the data on disk. - actually listing only works in memory - array_add doesnt needs index, right? - remove unused arguments from r_meta_find (where...
17twenty/radare2
libr/anal/meta.c
C
gpl-3.0
7,755
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * Copyright (C) 2011-2016 - Daniel De Matteis * * RetroArch 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- * atio...
lakkatv/RetroArch
configuration.c
C
gpl-3.0
116,419
#include <stdio.h> #include <time.h> #include <gtk/gtk.h> #include <glib.h> #include <notify.h> #include "countdown.h" gboolean run_alarm (gpointer user_data) { time_t now; struct tm *ts; char buf[80]; Countdown *c; NotifyNotification *notify; c = (Countdown*) user_data; notify_init ("countdown"); n...
tensorpudding/countdown
src/countdown.c
C
gpl-3.0
1,859
#include <stdlib.h> #include <stdio.h> #include <string.h> #include "zorg.h" void add_line(char *line) { unsigned int llen = strlen(line); if (line[0] == '#') { /* We don't store this line, as we don't yet have anywhere to store it; it contains the information needed to set the lines storage up....
hillwithsmallfields/zorg-mode
pebble-src/zorg-stream.c
C
gpl-3.0
813
/* * This file is part of the libsigrok project. * * Copyright (C) 2012 Bert Vermeulen <bert@biot.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, o...
asanza/libsigrok
src/hardware/lascar-el-usb/api.c
C
gpl-3.0
11,252
/* c-index-test.c */ #include "clang-c/Index.h" #include <ctype.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> /******************************************************************************/ /* Utility functions. */ /*********...
chriskmanx/qmole
QMOLEDEV/llvm-2.8/tools/clang-2.8/tools/c-index-test/c-index-test.c
C
gpl-3.0
51,455
/****************************************************************************** * _ _ _ _ * * _ __ ___ _ _ __| | __| | | ___ __| | * * | '_ ` _ \| | | |/ _` |/ _` | |/ _ \/ _` | *...
deadcoda/muddled
src/server/olc_object.c
C
gpl-3.0
6,923
/* * Convert AFS acls to NT acls and vice versa. * * Copyright (C) Volker Lendecke, 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 3 of the License, or * (at your ...
wimberosa/samba
source3/modules/vfs_afsacl.c
C
gpl-3.0
25,558
/* * Copyright(C) 2016 Davidson Francis <davidsondfgl@gmail.com> * * This file is part of Nanvix. * * Nanvix 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 ...
rurtle/nanvix
src/lib/libc/stdio/fseeko.c
C
gpl-3.0
8,584
/* Unix SMB/CIFS implementation. Authentication utility functions Copyright (C) Sumit Bose 2010 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 ...
lauria/Samba4
source3/rpc_client/util_lsarpc.c
C
gpl-3.0
8,619
/* Unix SMB/CIFS implementation. Directory handling routines Copyright (C) Andrew Tridgell 1992-1998 Copyright (C) Jeremy Allison 2007 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...
lidan-fnst/samba
source3/smbd/dir.c
C
gpl-3.0
55,496
/* * FreeRTOS Kernel V10.1.1 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. 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"), to deal in * the Software without restriction, includ...
radiolok/RelayComputer2
fw/[DEPRECATE]/Common/Minimal/flash.c
C
gpl-3.0
3,975
/* Client process that communicates with GNU Emacs acting as server. Copyright (C) 1986-1987, 1994, 1999-2016 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs 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 ...
NicolasPetton/emacs
lib-src/emacsclient.c
C
gpl-3.0
48,988
#include "modload.h" /* #include "../cw/mod.h" #include "cipwap/mod_cipwap.h" #include "capwap/mod_capwap.h" #include "cisco/mod_cisco.h" #include "capwap80211/mod_capwap80211.h" #define MODS_AC { mod_capwap_ac,mod_cipwap_ac, mod_cisco_ac, mod_capwap80211_ac, NULL } */ struct mod_ac *(*mods_ac[])() = MODS_AC; s...
alagoutte/actube
src/mod/modload_ac.c
C
gpl-3.0
503