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
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <getopt.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include <malloc.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> #include <sys/mman.h> #include <sys/ioctl.h> #inc...
xinpengliu/xinpengliu.github.io
gc6500/captureForGc6500.c
C
gpl-2.0
7,780
/* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved * The authentication agent program. * * As far as I am concerned, the code I have written for this software * can be used freely for any purpose. Any derived version...
atmark-techno/atmark-dist
user/openssh/openssh-4.3p2/ssh-agent.c
C
gpl-2.0
29,835
/* Copyright (C) 2004 Benoît Dejean <TazForEver at dlfp dot org LibGTop 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. L...
RaumZeit/gdesklets-core
libdesklets/system/gtop.c
C
gpl-2.0
38,988
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. * * This file is automatically generated by buildiface * DO NOT EDIT */ #include "mpi_fortimpl.h" /* Begin MPI profiling block */ #if defined(USE_WEAK_SYMBOLS) && !defined(USE...
qingu/WRF-Libraries
src/mpich-3.0.1/src/binding/f77/barrierf.c
C
gpl-2.0
6,352
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2007-2008, Digium, Inc. * * Dwayne M. Hubbard <dhubbard@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; * ...
Distrotech/asterisk
main/taskprocessor.c
C
gpl-2.0
15,172
/* * Copyright (c) Bull S.A. 2007 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 as * published by the Free Software Foundation. * * This program is distributed in the hope that it would be useful, but * ...
anthony-kolesov/arc_ltp
testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/tirpc_svc_7/tirpc_svc_7.c
C
gpl-2.0
5,606
/* 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 License, or (at your option) any later version. This program is distributed in th...
decino/Infighter
src/monsters/quake1/m_demon.c
C
gpl-2.0
8,074
/* * Extended AGI test application * * This code is released into the public domain * with no warranty of any kind */ #include "asterisk.h" #define AUDIO_FILENO (STDERR_FILENO + 1) /*! \file * Extended AGI test application * * This code is released into the public domain * with no warranty of any kind * *...
bklang/asterisk
agi/eagi-test.c
C
gpl-2.0
3,734
/* -*- OpenSAF -*- * * (C) Copyright 2010 The OpenSAF Foundation * * 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 PARTICULAR PURPOSE. This file and program are licensed * under the GNU Les...
indonexia2004/opensaf-indo
osaf/services/infrastructure/dtms/dtm/dtm_intra.c
C
gpl-2.0
30,559
/* Copyright (C) 2002 Richard Henderson Copyright (C) 2001 Rusty Russell, 2002, 2010 Rusty Russell IBM. 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 Licen...
F4uzan/skernel_u0
kernel/module.c
C
gpl-2.0
92,124
/* ** Copyright (C) 2013 Vladimir Zahradnik <vladimir.zahradnik@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 or version 3 of the ** License. ** ** This progr...
vladimir-zahradnik/AudioTools
src/dsp.c
C
gpl-2.0
12,955
/* * RTC subsystem, sysfs interface * * Copyright (C) 2005 Tower Technologies * Author: Alessandro Zummo <a.zummo@towertech.it> * * 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...
cyox93/s3c-linux-2.6.21
drivers/rtc/rtc-sysfs.c
C
gpl-2.0
6,196
/* * NETJet mISDN driver * * Author Karsten Keil <keil@isdn4linux.de> * * Copyright 2009 by Karsten Keil <keil@isdn4linux.de> * * 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 Foun...
evolver56k/xpenology
drivers/isdn/hardware/mISDN/netjet.c
C
gpl-2.0
29,370
/*------------------------------------------------------------------------- SDCCBBlock.c - routines to manipulate basic Blocks Written By - Sandeep Dutta . sandeep.dutta@usa.net (1998) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Pub...
darconeous/sdcc
src/SDCCBBlock.c
C
gpl-2.0
24,715
/* * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com * Written by Alex Tomas <alex@clusterfs.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * T...
W4TCH0UT/zz_plutonium
fs/ext4/mballoc.c
C
gpl-2.0
147,543
/* * APIC driver for "bigsmp" xAPIC machines with more than 8 virtual CPUs. * * Drives the local APIC in "clustered mode". */ #include <linux/threads.h> #include <linux/cpumask.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/dmi.h> #include <linux/smp.h> #include <asm/apicdef.h> #include <asm/...
DirtyDev/DirtyKernel-ANDROID
arch/x86/kernel/apic/bigsmp_32.c
C
gpl-2.0
7,117
/* * Copyright (c) 1988, 1992, 1993 * The Regents of the University of California. 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 code must retain th...
mborjesson/PCem-wx-SDL2
src/slirp/cksum.c
C
gpl-2.0
4,063
/**************************************************************************** * * Copyright (C) 2014 Cisco and/or its affiliates. All rights reserved. * Copyright (C) 2003-2013 Sourcefire, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public ...
adwisatya/snort_ids
src/preprocessors/HttpInspect/server/hi_server.c
C
gpl-2.0
62,915
/* Jeeps wrapper for Garmin serial protocol. Copyright (C) 2002, 2003, 2004, 2005, 2006 Robert Lipe, robertlipe@usa.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 ...
twpayne/gpsbabel-flytec
garmin.c
C
gpl-2.0
28,718
/* * Completely Fair Scheduling (CFS) Class (SCHED_NORMAL/SCHED_BATCH) * * Copyright (C) 2007 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> * * Interactivity improvements by Mike Galbraith * (C) 2007 Mike Galbraith <efault@gmx.de> * * Various enhancements by Dmitry Adamushko. * (C) 2007 Dmitry Adamushko <...
WildfireDEV/android_kernel_m8_sense
kernel/sched/fair.c
C
gpl-2.0
145,445
/*** **Copyright 2005-2009 Freescale Semiconductor, Inc. All Rights Reserved. ** **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.ht...
wanghao-xznu/vte
testcases/vte_tests_suite/pmic_tests/pmic_convity_module/pmic_convity_module.c
C
gpl-2.0
47,909
#ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /*lint -save -e537*/ #include <linux/kthread.h> #include <osl_thread.h> #include <bsp_nvim.h> #include "nv_comm.h" #include "nv_file.h" #include "nv_ctrl.h" #include "nv_xml_dec.h" #include "NVIM_ResumeId.h" /*lint -restore +e537*/ /*li...
gabry3795/android_kernel_huawei_mt7_l09
drivers/vendor/hisi/modem/drv/acore/kernel/drivers/modem/nvim/nv_base.c
C
gpl-2.0
54,483
/* * linux/arch/arm/kernel/traps.c * * Copyright (C) 1995-2009 Russell King * Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds * * 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 * publ...
xobs/novena-linux.aqs
arch/arm/kernel/traps.c
C
gpl-2.0
22,416
/* * GRUB -- GRand Unified Bootloader * Copyright (C) 2009 Free Software Foundation, Inc. * * GRUB 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...
albertz/grub-fuse
grub-core/lib/i386/relocator.c
C
gpl-3.0
7,620
/* * modeline-parser.c * Emacs, Kate and Vim-style modelines support for gedit. * * Copyright (C) 2005-2007 - Steve Frécinaux <code@istique.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 Fou...
mwleeds/gnome-builder
libide/modelines/modeline-parser.c
C
gpl-3.0
19,080
// // nixieclock-firmware - Nixie Clock Main Firmware Program // Copyright (C) 2015 Joe Ciccone // // 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...
JoeTheSchmo/nixieclock-firmware
lib/string/strncat.c
C
gpl-3.0
1,169
/*--------------------------------------------------------------------------- * Copyright (C) 2008-2017 - Emanuele Bovisio * * This file is part of Mulk. * * Mulk 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 Softw...
emabo/mulk
lib/option_obj.c
C
gpl-3.0
28,323
/* homefrog * Copyright (C) 2016 Ognyan Tonchev <otonchev at 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 your option) any later...
otonchev/homefrog
src/shp-complextype-factory.c
C
gpl-3.0
4,083
// tinyfs.c // //[reference] // https://blog.csdn.net/dog250/article/details/100099936 // https://blog.csdn.net/Angel_94/article/details/100880297 // https://blog.csdn.net/u011784994/article/details/52614935 // // $ make all install test // dmesg // [ 382.940306] tinyfs_mount; -enter, dev_name=none // [ 382.940317...
syslover33/ctank
linux_kernel/vfs/self_implemented_tinyfs/tinyfs.c
C
gpl-3.0
12,117
/* * -- High Performance Computing Linpack Benchmark (HPL-GPU) * HPL-GPU - 2.0 - 2015 * * David Rohr * Matthias Kretz * Matthias Bach * Goethe Universität, Frankfurt am Main * Frankfurt Institute for Advanced Studies * (C) Copyright 2010 All Rights Reserved * * Antoine P. Pet...
davidrohr/hpl-gpu
src/blas/HPL_dswap.c
C
gpl-3.0
4,326
///////////////////// DIVERSITY ///////////////////// // DIVERSITY is a tool to explore multiple ways of protein-DNA // binding in the genome. More information can be found in the README file. // Copyright (C) 2015 Sneha Mitra, Anushua Biswas and Leelavati Narlikar // DIVERSITY is free software: you can ...
NarlikarLab/DIVERSITY
motifops.c
C
gpl-3.0
8,441
/* pbmtoppa.c * program to print a 600 dpi PBM file on the HP DJ820Cse or the HP720 series. * Copyright (c) 1998 Tim Norman. See LICENSE for details * 2-24-98 */ #define _BSD_SOURCE /* This makes sure strcasecmp() is in string.h */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat....
fritsche/curso-cuda
labs/netpbm/converter/pbm/pbmtoppa/pbmtoppa.c
C
gpl-3.0
14,286
/** * The µkleos scheduler implementation * * Copyright (C) 2010 Freie Universität Berlin * * This file subject to the terms and conditions of the GNU General Public * License. See the file LICENSE in the top level directory for more details. * * @ingroup kernel * @{ * @file * @author Kaspar Schleiser <kaspa...
benpicco/RIOT-old
core/sched.c
C
gpl-3.0
5,515
/***************************************************************************/ /* * m5407.c -- platform support for ColdFire 5407 based boards * * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com) * Copyright (C) 2000, Lineo (www.lineo.com) */ /************************************************************...
williamfdevine/PrettyLinux
arch/m68k/coldfire/m5407.c
C
gpl-3.0
1,450
/* * Copyright (C) 2011 Dmitry Skiba * * 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. * * This program is distr...
DmitrySkiba/itoa-main
src/CoreGraphics/CGAffineTransform.c
C
gpl-3.0
4,932
/* * This file is part of Cleanflight. * * Cleanflight 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. * * Cleanflight is distr...
sambas/cleanflight
src/main/drivers/adc_stm32f4xx.c
C
gpl-3.0
6,156
/* ------------------------------------------------------------ */ /* HTTrack Website Copier, Offline Browser for Windows and Unix Copyright (C) 1998-2013 Xavier Roche and other contributors This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
bukka/httrack
src/proxy/proxytrack.c
C
gpl-3.0
52,623
/* * Copyright 2010 Tilera Corporation. 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, version 2. * * This program is distributed in the hope that it will ...
Demicro/SM-J510FN_KERNEL
arch/tile/mm/fault.c
C
gpl-3.0
25,354
/* AGS - Advanced GTK Sequencer * Copyright (C) 2005-2011 Joël Krähemann * * 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 ...
weedlight/gsequencer
src/ags/X/ags_machine_editor.c
C
gpl-3.0
17,696
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
zeruniverse/Single-cycle_CPU
ISE project/isim/test_isim_beh.exe.sim/work/m_00000000002262663564_3418785828.c
C
gpl-3.0
4,582
/** ****************************************************************************** * @file LwIP/LwIP_IAP/Src/tftpserver.c * @author MCD Application Team * @version V1.5.0 * @date 17-February-2017 * @brief basic tftp server implementation for IAP (only Write Req supported) ****************...
TRothfelder/Multicopter
libs/STM32Cube_FW_F4_V1.16.0/Projects/STM324x9I_EVAL/Applications/LwIP/LwIP_IAP/Src/tftpserver.c
C
gpl-3.0
14,736
/** ****************************************************************************** * @file GPIO/GPIO_IOToggle/Src/main.c * @author MCD Application Team * @version V1.4.0 * @date 17-February-2017 * @brief This example describes how to configure and use GPIOs through * the STM32F4...
TRothfelder/Multicopter
libs/STM32Cube_FW_F4_V1.16.0/Projects/STM324x9I_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c
C
gpl-3.0
7,827
/* * This file is part of Cleanflight. * * Cleanflight 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. * * Cleanflight is distr...
ledvinap/cleanflight
src/main/drivers/inverter.c
C
gpl-3.0
1,113
/* * Copyright (c) 2005 Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement * retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...
CPFDSoftware-Tony/gmv
utils/ExodusII/exodusii-4.46/cbind/src/expcns.c
C
gpl-3.0
3,867
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/ioperm_noop.c,v 3.4 2001/07/23 13:15:48 dawes Exp $ */ /* * Copyright 1993 by David Wexelblat <dwex@XFree86.org> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee...
chriskmanx/qmole
QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/hw/xfree86/os-support/shared/ioperm_noop.c
C
gpl-3.0
1,661
/* * Process Hacker - * debug console * * Copyright (C) 2010-2011 wj32 * * This file is part of Process Hacker. * * Process Hacker 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 o...
processhacker2/processhacker
ProcessHacker/dbgcon.c
C
gpl-3.0
53,673
/* * This file is part of vallumd. * * Copyright (C) 2017 Stijn Tintel <stijn@linux-ipv6.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, either version 3 of the License, or * (at ...
nmaas87/vallumd
src/main.c
C
gpl-3.0
2,681
/* va_list error handler for noninteractive utilities Copyright (C) 2006-2007, 2009-2018 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...
pexip/os-coreutils
lib/verror.c
C
gpl-3.0
2,631
/*- * Copyright 2014 sgminer developers. * 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 code must retain the above copyright * notice, this list of con...
mrbrdo/sgminer
pool.c
C
gpl-3.0
1,875
/* * Copyright (c) 2012 University of Padua, Department of Mathematics * * This file is free software: you may copy, redistribute 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 la...
UPD-RTS/mppa-TiCOS
kernel/middleware/portutils.c
C
gpl-3.0
13,162
#include "mk20dx128.h" #include "core_pins.h" #include "HardwareSerial.h" // UART0 and UART1 are clocked by F_CPU, UART2 is clocked by F_BUS // UART0 has 8 byte fifo, UART1 and UART2 have 1 byte buffer #define TX_BUFFER_SIZE 40 static volatile uint8_t tx_buffer[TX_BUFFER_SIZE]; static volatile uint8_t tx_buffer_head ...
cepr/hummingdroid-teensy
teensy3/serial3.c
C
gpl-3.0
3,871
/************************************************************************** * * 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 * "Softwa...
CPFDSoftware-Tony/gmv
utils/Mesa/Mesa-7.8.2/src/gallium/drivers/i915/i915_debug.c
C
gpl-3.0
26,242
/* * HMM_multiForwardBackward.c * ========================================================================= * * Copyright (C) 2014 Martin Lindén, E-mail: bmelinden@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 publishe...
bmelinden/vbSPT
HMMcore/HMM_multiForwardBackward.c
C
gpl-3.0
6,735
// ================================================================== // @(#)dp_rules.c // // @author Bruno Quoitin (bruno.quoitin@uclouvain.be) // @date 13/11/2002 // $Id: dp_rules.c,v 1.23 2009-08-04 06:06:10 bqu Exp $ // // C-BGP, BGP Routing Solver // Copyright (C) 2002-2008 Bruno Quoitin // // This program is free...
lvanbever/cbgp
src/bgp/dp_rules.c
C
gpl-3.0
25,536
/* * Copyright (c) 2013 Qualcomm Atheros, Inc.. * All Rights Reserved. * Qualcomm Atheros Confidential and Proprietary. */ #include "qcom_common.h" #include "threadx/tx_api.h" #include "qcom_cli.h" #include "threadxdmn_api.h" #include <aj_target.h> #include "aj_status.h" #include "aj_wifi_ctrl.h" TX_THREAD ho...
dengcj0/QCA4010
target/demo/aj/alljoyn/applications/sample_apps/tcl/ServicesSamples/target/aj_qca4004/aj_ServiceSample/aj_ServiceSample.c
C
gpl-3.0
3,229
/* * GRUB -- GRand Unified Bootloader * Copyright (C) 2017 Free Software Foundation, Inc. * * GRUB 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...
a1ive/grub2-mod
grub-core/commands/getkey.c
C
gpl-3.0
1,812
/* ---------------------------------------------------------------------------- (c) The University of Glasgow 2004 Support for System.Process ------------------------------------------------------------------------- */ #if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32) #define UNICODE #endif /...
jwiegley/ghc-release
libraries/process/cbits/runProcess.c
C
gpl-3.0
18,971
/********************************************************************* * SEGGER Microcontroller GmbH & Co. KG * * Solutions for real time microcontroller applications * ********************************************************************** * ...
JiabinDainel/Master-design
emWin Simulator/Sample/Application/MultiUser/Task_2.c
C
gpl-3.0
92,128
/* * Copyright (C) 2009 Daniel Prevost <dprevost@photonsoftware.org> * * This file is part of Photon (photonsoftware.org). * * This file may be distributed and/or modified under the terms of the * GNU General Public License version 2 or version 3 as published by the * Free Software Foundation and appearing in t...
dprevost/photon
src/Java/jni_src/jni_dataDefinition.c
C
gpl-3.0
10,928
/********************************************************************* * SEGGER Microcontroller GmbH & Co. KG * * Solutions for real time microcontroller applications * ********************************************************************** * ...
JiabinDainel/Master-design
emWin Simulator/Application/GUIDEMO_Intro.c
C
gpl-3.0
3,742
/* * Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "opal_config.h" #include <stdlib.h> #include <string.h> #include "opal/constants.h" ...
ClaudioNahmad/Servicio-Social
Parametros/CosmoMC/prerrequisitos/openmpi-2.0.2/opal/mca/if/bsdx_ipv4/if_bsdx.c
C
gpl-3.0
4,063
#include "vogl.h" static long px = -1, py = -1, pxs = -1, pys = -1; /* * prefposition * * Specify a prefered position for a window that is * under control of a window manager. * Position is the location of the upper left corner. * Should be called before ginit. */ void prefposition(long int x1, long int x2, l...
berndf/avg_q
vogl/src/pref.c
C
gpl-3.0
1,149
/** ****************************************************************************** * @file USB_Host/HID_Standalone/Src/main.c * @author MCD Application Team * @version V1.0.0 * @date 17-February-2017 * @brief USB host HID Mouse and Keyboard demo main file **********************************...
TRothfelder/Multicopter
libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32F413H-Discovery/Applications/USB_Host/HID_Standalone/Src/main.c
C
gpl-3.0
10,131
#include <stdlib.h> #include <stdio.h> #include <string.h> #include "search-sort.h" int binary_search_int(const int64_t arr[], int start, int end, int64_t key) { int mid; while(start <= end) { mid = start + (end - start) / 2; if(arr[mid] < key) start = mid + 1; else i...
AlpacaTunnel/AlpacaTunnel
data-struct/search-sort.c
C
gpl-3.0
4,457
/* Copyright 2007-2010,2016 IPB, Universite de Bordeaux, INRIA & CNRS ** ** This file is part of the Scotch software package for static mapping, ** graph partitioning and sparse matrix ordering. ** ** This software is governed by the CeCILL-C license under French law ** and abiding by the rules of distribution of free ...
rquey/neper
src/contrib/scotch/src/libscotch/wgraph_part_zr.c
C
gpl-3.0
3,539
/* * File: graph.c * Last modified on Fri Sep 26 09:34:55 2014 by eroberts * ----------------------------------------------------- * This file implements the graph.h interface using sets to represent the * nodes and arcs. */ #include <stdio.h> #include "foreach.h" #include "cslib.h" #include "generic.h" #include...
eric-roberts/StanfordCSLib
src/graph.c
C
gpl-3.0
9,897
/* Command line parsing. Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GNU Wget. GNU Wget 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 ...
giuseppe/wget
src/main.c
C
gpl-3.0
59,971
size_t my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream) /* Used by curl */ { struct curlfile *out=(struct curlfile *)stream; if(out && !out->stream) { out->stream=fopen(out->filename, "wb"); if(!out->stream) return -1; } return fwrite(buffer, size, nmemb, out->stream); } int in_arr...
simonpl/elektrol-gif-maker
functions.c
C
gpl-3.0
2,107
#include <stdio.h> #include <stdlib.h> #include <math.h> #include "openmx_common.h" #define S3J_0 1e-10 #define S3J_MAX_FACT 40 #define S3J_EQUAL(a,b) (fabs((a)-(b))<S3J_0) #define S3J_MAX(a,b,c,ris) (((a)>(b)?(ris=(a)):(ris=(b)))>(c)?ris:(ris=(c))) #define S3J_MIN(a,b,c,ris) (((a)<(b)?(ris=(a)):(ris=(b)))<(c)?ris:...
RafaelDexter/OpenMX
source/Gaunt.c
C
gpl-3.0
6,518
/* * Beautiful Capi generates beautiful C API wrappers for your C++ classes * Copyright (C) 2015 Petr Petrovich Petrov * * This file is part of Beautiful Capi. * * Beautiful Capi is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the ...
PetrPPetrov/beautiful-capi
examples/clanguage/client/Main.c
C
gpl-3.0
1,894
/* This file is part of darktable, copyright (c) 2010 Henrik Andersson. darktable is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
muessel/darktable
src/iop/zonesystem.c
C
gpl-3.0
34,849
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995-2002 Spencer Kimball, Peter Mattis, and others * * gimppluginmanager-restore.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 Foun...
brion/gimp
app/plug-in/gimppluginmanager-restore.c
C
gpl-3.0
24,364
/*-----------------------------------------------------------------------*/ /* Low level disk I/O module skeleton for Petit FatFs (C)ChaN, 2010 */ /*-----------------------------------------------------------------------*/ #include "diskio.h" #include <string.h> #include <LUFA/Drivers/USB/Class/MassStorag...
m3741/due_eeprom
LUFA 100807/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c
C
gpl-3.0
1,670
/* Buff to buff example - Test program for the lzlib library Copyright (C) 2010, 2011, 2012, 2013 Antonio Diaz Diaz. This program is free software: you have unlimited permission to copy, distribute and modify it. Usage is: bbexample filename This program is an example of how buffer-to-buff...
tom42/txtvc
lzlib/bbexample.c
C
gpl-3.0
6,116
/* * This file is part of Cleanflight. * * Cleanflight 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. * * Cleanflight is distr...
rb1205/inav
src/main/drivers/accgyro/accgyro_adxl345.c
C
gpl-3.0
4,079
/* * MJPEG decoder * Copyright (c) 2000, 2001 Fabrice Bellard * Copyright (c) 2003 Alex Beregszaszi * Copyright (c) 2003-2004 Michael Niedermayer * * Support for external huffman table, various fixes (AVID workaround), * aspecting, new decode_frame mechanism and apple mjpeg-b support * ...
s20121035/rk3288_android5.1_repo
external/ffmpeg/libavcodec/mjpegdec.c
C
gpl-3.0
67,685
// (c) Copyright 2020 Richard W. Marinelli // // This work is licensed under the GNU General Public License (GPLv3). To view a copy of this license, see the // "License.txt" file included with this distribution or visit http://www.gnu.org/licenses/gpl-3.0.en.html. // // parse.c Routines dealing with statement and stri...
italia389/MightEMacs
src/parse.c
C
gpl-3.0
27,592
#include "test.h" #include "schnaps.h" #include<stdio.h> #include <stdlib.h> #include <assert.h> #include <math.h> #include <string.h> int TestDtfield_CL(void); int main(void) { int resu = TestDtfield_CL(); if (resu) printf("Dtfield_CL test OK !\n"); else printf("Dtfield_CL test failed !\n"); retu...
phelluy/SCHNAPS
test/oldtests/testdtfield_cl.c
C
gpl-3.0
2,317
/* @@@LICENSE * * Copyright (c) 2012 Simon Busch <morphis@gravedo.de> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
webOS-ports/android-property-service
src/luna_service_utils.c
C
gpl-3.0
4,291
#ifdef __cplusplus extern "C" { #endif #include "project.h" #include "managerment.h" #include "CPrintf.h" #include "stdio.h" #include "stdint.h" #include "../HARDWARE/DCMotor/DCMotor.h" #include "../HARDWARE/StepMotor/StepMotor.h" #include "../HARDWARE/Beep/beep.h" #include "../HARDWARE/NTCResistor/NTCResistor.h"...
zhjiehua/TCN-I
Logic/project.c
C
gpl-3.0
29,617
/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
ZeroInfinityXDA/HelixKernel-EAS-HTC10
drivers/media/platform/msm/camera_v2/pproc/cpp/msm_cpp.c
C
gpl-3.0
122,873
/* * Copyright (C) 2005 Anthony Liguori <anthony@codemonkey.ws> * * Network Block Device Server Side * * 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; under version 2 of the License...
SurajAnil/KernelVirtualMachine
qemu/nbd/server.c
C
gpl-3.0
36,304
// // Created by bruce on 27/04/20. // #include "../fs.h" int sys_chdir(struct proc* who, char* pathname){ int ret = OK; inode_t *inode = NULL, *curr_working; if((ret = get_inode_by_path(who, pathname, &inode))) return ret; if(!inode) return EEXIST; if(!(S_ISDIR(inode->i_mode)))...
halfer53/winix
fs/system/chdir_mkdir.c
C
gpl-3.0
1,883
/************************************************************************** BuguRTOS-0.8.x(Bugurt real time operating system) Copyright (C) 2015 anonimous 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...
F03SD/bugurtos
arch/stm8/raisonance/bugurt_proc_stack_init.c
C
gpl-3.0
7,542
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "struct.h" #include "access.h" #include "util.h" #include "search.h" void aux_comptage(node* nd, int* counter){ //cas simple, on à trouvé un mot. if( prefix_has_epsilon(nd)){ //on augmente le compteur (*counter)++; } int i; //s...
lavigne958/ALGAV-projet
patricia_tree/src/comptage.c
C
gpl-3.0
3,733
/* {{{ This file is part of DPGSolver. DPGSolver 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 any later version. DPGSolver is distributed in the hope that it will be useful...
PhilipZwanenburg/DPGSolver
src/simulation/computational_elements/computational_elements.c
C
gpl-3.0
15,138
// Copyright (C) 2015 Francis Bergin #include "includes.h" //***************************************************************************** // // Function : eth_generate_header // Description : generarete ethernet header, contain destination and source MAC // address, // ethernet type. // //***************************...
fbergin/internet-thermostat
src/ethernet.c
C
gpl-3.0
2,660
/* * Copyright (C) 2010-2011 * "Mu Lei" known as "NalaGinrut" <NalaGinrut@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 you...
NalaGinrut/mimosa
debug/trace.c
C
gpl-3.0
1,301
/* * Copyright (c) 1982, 1986, 1989 Regents of the University of California. * 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 code must retain the above copy...
axelmuhr/Helios-NG
filesys/ufs/ufs_inode.c
C
gpl-3.0
18,814
/** @file sys_startup.c * @brief Startup Source File * @date 29.May.2013 * @version 03.05.02 * * This file contains: * - Include Files * - Type Definitions * - External Functions * - VIM RAM Setup * - Startup Routine * . * which are relevant for the Startup. */ /* (c) Texas Instru...
satellogic/canopus
src/conf.d/halcogen/Torino1500/TMS570LS3137PGE/source/sys_startup.c
C
gpl-3.0
17,254
/* * lsm303.c * * Created on: Mar 5, 2016 * Author: mupimenov */ #include "lsm303c.h" #include <string.h> /* * * * Acceleration Registers * * **/ #define LSM303C_WHO_AM_I_ADDR_A 0x0F /* device identification register */ #define LSM303C_ACT_THS_ADDR_A 0x1E #define LSM303C_AC...
mupimenov/plane
src/drivers/lsm303c.c
C
gpl-3.0
17,752
/* * Mesa 3-D graphics library * Version: 7.1 * * Copyright (C) 1999-2007 Brian Paul 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, in...
CPFDSoftware-Tony/gmv
utils/Mesa/Mesa-7.8.2/src/mesa/main/api_validate.c
C
gpl-3.0
9,046
/********************************************************************* * Copyright 2010, UCAR/Unidata * See netcdf/COPYRIGHT file for copying and redistribution conditions. * $Id$ * $Header$ *********************************************************************/ #include "config.h" #include <stdlib.h> #in...
MengbinZhu/pfldp
ropp-7.0/netcdf-4.1.3/libcdmr/nccrproto.c
C
gpl-3.0
12,060
#include <stdio.h> #include "thash.h" #include<stdlib.h> // As chaves dos valores a serem armazenados #define CHAVE1 "abcd" #define CHAVE2 "xyz2" #define CHAVE3 "3qwert" // Tamanho default da tabela #define CAPACIDADE 5 // Funcao para converter os dados armazenados em strings char* mostra(void * p) { return (ch...
EltonBroering/Programacao_C
Hash Table/p5.c
C
gpl-3.0
1,567
/** ****************************************************************************** * @file BSP/Src/joystick.c * @author MCD Application Team * @version V1.1.0 * @date 17-February-2017 * @brief This example code shows how to use the joystick feature in the * STM32F446ZE Nucleo 14...
TRothfelder/Multicopter
libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32F446ZE-Nucleo/Examples/BSP/Src/joystick.c
C
gpl-3.0
6,406
/* * ArtTreeKS: Finite dimensional kinematic synthesis for articulated trees * Copyright(C) 2010-2012 Edgar Simo-Serra <esimo@iri.upc.edu> * License: see synthesis.h */ #include "mapmask.h" #include <string.h> #include <malloc.h> #include <stdlib.h> static void* memdup( const void *base, size_t size ) { void...
bobbens/ArtTreeKS
mapmask.c
C
gpl-3.0
5,699
//FIXME Not checked on threadsafety yet; after checking please remove this line #include "globals.h" #if defined OS_MACOSX || defined OS_FREEBSD #include <net/if_dl.h> #include <ifaddrs.h> #elif defined OS_SOLARIS #include <net/if.h> #include <net/if_arp.h> #include <sys/sockio.h> #else #include <net/if.h> #endif #i...
kacipbuah/oscam-cs
oscam-config.c
C
gpl-3.0
166,597
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nsc/gfx/vid_rdcl.c,v 1.3 2003/02/21 16:51:10 alanh Exp $ */ /* * $Workfile: vid_rdcl.c $ * * This file contains routines to control the Redcloud display filter video overlay hardware. * * NSC_LIC_ALTERNATIVE_PREAMBLE * * Revision 1.0 * * National Semiconducto...
chriskmanx/qmole
QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/hw/xfree86/drivers/nsc/gfx/vid_rdcl.c
C
gpl-3.0
94,281
/* -*- mode: c; c-basic-offset: 8 -*- */ /* NCR Dual 700 MCA SCSI Driver * * Copyright (C) 2001 by James.Bottomley@HansenPartnership.com **----------------------------------------------------------------------------- ** ** This program is free software; you can redistribute it and/or modify ** it under the terms o...
williamfdevine/PrettyLinux
drivers/scsi/NCR_D700.c
C
gpl-3.0
10,721
/* $Xorg: PsPolygon.c,v 1.4 2001/02/09 02:04:36 xorgcvs Exp $ */ /* Copyright 1996, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both ...
chriskmanx/qmole
QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/Xprint/ps/PsPolygon.c
C
gpl-3.0
7,703