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 |
|---|---|---|---|---|---|
/* hc128.c
*
* Copyright (C) 2006-2016 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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)... | NickolasLapp/wolfssl | wolfcrypt/src/hc128.c | C | gpl-2.0 | 14,573 |
/*
* Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org)
*
* Modifications for ppc64:
* Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.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 ... | ska-sa/borph_linux_devel | arch/powerpc/kernel/cputable.c | C | gpl-2.0 | 47,049 |
/*
* linux/net/sunrpc/xprt.c
*
* This is a generic RPC call interface supporting congestion avoidance,
* and asynchronous calls.
*
* The interface works like this:
*
* - When a process places a call, it allocates a request slot if
* one is available. Otherwise, it sleeps on the backlog queue
* (xprt_rese... | Nicklas373/AoiCore-Kernel-MSM8627-CM13 | net/sunrpc/xprt.c | C | gpl-2.0 | 34,605 |
/*******************************************************************
OS Exercises - Homework 5 - HOST dispatcher - Feedback Dispatcher
hostd
hostd is a three level feedback 'dispatcher' that reads in a list
of 'jobs' from a file and 'dispatches' them in feedback mode
(see below).
... | nijave/miami-university | cse381-OperatingSystems/hw5-dispatcher/feedback/hostd.c | C | gpl-2.0 | 9,617 |
/*
* Copyright (C) 2013 Nivis LLC.
* Email: opensource@nivis.com
* Website: http://www.nivis.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, version 3 of the License.
*
* Redis... | irares/WirelessHart-Field-Device | source_files/WirelessHart/uap.c | C | gpl-3.0 | 7,552 |
/*
* byte_stream.c
*
* Copyright 2013 Michael Zillgith
*
* This file is part of libIEC61850.
*
* libIEC61850 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
* (a... | rwl/libiec61850 | src/hal/byte_stream.c | C | gpl-3.0 | 3,324 |
/*
Copyright (c) 2014 Mathieu Laurendeau <mat.lau@laposte.net>
License: GPLv3
*/
#include <controller.h>
#include <stddef.h>
#include <stdio.h>
#include <connectors/report2event/ds42event.h>
#include <connectors/report2event/360Pad2event.h>
#include <connectors/report2event/xOnePad2event.h>
static struct
{
void ... | matlo/GIMX | core/connectors/report2event/report2event.c | C | gpl-3.0 | 1,255 |
/* debug.c
*
* This file proides debug and run time error analysis support. Some of the
* settings are very performance intense and my be turned off during a release
* build.
*
* File begun on 2008-01-22 by RGerhards
*
* Some functions are controlled by environment variables:
*
* RSYSLOG_DEBUGLOG if set, a d... | rngadam/rsyslog | runtime/debug.c | C | gpl-3.0 | 43,793 |
/*
* blackbox4.c - Cartridge handling, Blackbox V4 cart.
*
* Written by
* groepaz <groepaz@gmx.net>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Ge... | Rakashazi/emu-ex-plus-alpha | C64.emu/src/vice/c64/cart/blackbox4.c | C | gpl-3.0 | 7,817 |
/* Copyright (c) 1996 by Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INT... | benpicco/RIOT-old | sys/net/net_help/inet_pton.c | C | gpl-3.0 | 4,752 |
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "ADSMessageSetVersion2"
* found in "../../../dumpvdl2.asn1/atn-b2_adsc_v2.asn1"
* `asn1c -fcompound-names -fincludes-quoted -gen-PER`
*/
#include "EPPFlightPlanChangeRequest.h"
int
EPPFlightPlanChangeRequest_constraint(asn_TYPE_descr... | szpajder/dumpvdl2 | src/asn1/EPPFlightPlanChangeRequest.c | C | gpl-3.0 | 4,887 |
/*
Copyright 2010 John Morrice
This source file is part of The Obelisk Programming Language and is distributed under the terms of the GNU General Public License
This file is part of The Obelisk Programming Language.
The Obelisk Programming Language is free software: you can
redistribute it and/or modify it... | elginer/Obelisk | runtime/src/object.c | C | gpl-3.0 | 1,903 |
/*
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... | ph1l/cfengine3-debian | src/logic_expressions.c | C | gpl-3.0 | 6,855 |
/*
This file is part of GNUnet.
Copyright (C) 2013-2015 GNUnet e.V.
GNUnet 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 version.
... | tg-x/gnunet | src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c | C | gpl-3.0 | 37,559 |
/* vi: set sw=4 ts=4: */
/*
* Small lzma deflate implementation.
* Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
*
* Based on LzmaDecode.c from the LZMA SDK 4.22 (http://www.7-zip.org/)
* Copyright (C) 1999-2005 Igor Pavlov
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
#i... | endlessm/rufus | src/bled/decompress_unlzma.c | C | gpl-3.0 | 12,441 |
/* -------------------------------------------------------------------------------
Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or m... | zombihello/lifeRadiant | lifeRadiant/tools/quake3/q3map2/visflow.c | C | gpl-3.0 | 39,702 |
#include <stdio.h>
#include "board.h"
#include "hash.h"
const int direction[4]={NORTH,EAST,SOUTH,WEST};
const int trap[4]={33,36,63,66};
char message[1000];
static FILE *fp;
void BOARD_Init(board_t *bp)
{
int i, j;
for (i=0; i<100; i++)
{
BOARD(i)=OFF_BOARD_SQUARE;
}
... | tomik/akimot | other/match/bot_fairy/board.c | C | gpl-3.0 | 38,398 |
/*
* Copyright (c) Intel Corp. 2007.
* All Rights Reserved.
*
* Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to
* develop this driver.
*
* This file is part of the Carillo Ranch video subsystem driver.
* The Carillo Ranch video subsystem driver is free software;
* you can redistribute it an... | Siosm/contextd-capture | linux-2.6.32-hardened-r22/drivers/video/backlight/cr_bllcd.c | C | gpl-3.0 | 7,408 |
/**
* +----------------------------------------------------------------------+
* | This file is part of Samplecat. http://ayyi.github.io/samplecat/ |
* +----------------------------------------------------------------------+
* | This program is free software; you can redistribute it and/or modify |
* | it under the... | ayyi/samplecat | lib/samplecat/player/gplayer.c | C | gpl-3.0 | 4,747 |
/* =========================================================================
zconfig - work with config files written in rfc.zeromq.org/spec:4/ZPL.
-------------------------------------------------------------------------
Copyright (c) 1991-2014 iMatix Corporation <www.imatix.com>
Copyright other cont... | kaostao/czmq | src/zconfig.c | C | gpl-3.0 | 23,697 |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#ifdef RASPBERRYPI
#include <EGL/egl.h>
#include <GLES2/gl2.h>
#else /* not RASPBERRYPI */
#define GL_GLEXT_PROTOTYPES
#include <GL/glut.h>
#endif /* RASPBERRYPI */
#include "bcm_host.h"
#include "runtime.h"
vrms_runtime_t* vrms_runtime;
#define NANO_SECOND_MU... | kristov/vroom | main_eglbcm.c | C | gpl-3.0 | 4,063 |
#include "../../paul.h"
#include "../metric.h"
/*
* This is the Schwarzschild metric in Kerr-Schild cylindrical coordinates
* (t, r, phi, z). These are related to the usual spherical Schwarzschild
* coordinates (t_sc, R, theta, phi) by: t = t_sc + 2M log|R/2M-1|,
* r = R sin(theta), phi = phi, and z = R cos(the... | duffell/Disco | Hydro/Metric/schw_sc_rpz.c | C | gpl-3.0 | 3,018 |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.1.0/38413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#include "NGAP_PDUSessionResourceToReleaseItemHOCmd.h"
#include "NGAP_ProtocolExtensionContainer... | acetcom/cellwire | lib/asn1c/ngap/NGAP_PDUSessionResourceToReleaseItemHOCmd.c | C | gpl-3.0 | 4,312 |
/*
* Copyright (C) 2004-2012 Free Software Foundation, Inc.
* Copyright (C) 2013 Adam Sampson <ats@offog.org>
*
* Author: Simon Josefsson
*
* This file is part of GnuTLS.
*
* GnuTLS is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
*... | frankmorgner/gnutls | tests/x509self.c | C | gpl-3.0 | 14,298 |
/*-------------------------------------------------------------------------
*
* readfuncs.c
* Reader functions for Postgres tree nodes.
*
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $P... | TextusData/Mover | thirdparty/postgresql-9.0.1/src/backend/nodes/readfuncs.c | C | gpl-3.0 | 28,884 |
/*Copyright (c) 2011—2016. Pierre-Yves AQUILANTI and Xinzhe WU in Maison de la Simulation. All rights reserved */
#include "precond.h"
/*nb_eigen_all set the dimension of Tn, which referent the n in paper of Youssef Saad*/
PetscErrorCode LSPrecond(PetscReal a_ell, PetscReal d_ell, PetscReal c_ell,
PetscScalar * eta, ... | brunowu/UCGLE | Solvers/LS/precond.c | C | gpl-3.0 | 8,036 |
/*
This file is part of GNUnet.
Copyright (C) 2013 Christian Grothoff (and other contributing authors)
GNUnet 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 ... | muggenhor/GNUnet | src/conversation/gnunet-conversation.c | C | gpl-3.0 | 29,937 |
/*
This project 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.
Deviation is distributed in the hope that it will be useful,
but WITHO... | supermk2/Deviation | src/pages/common/advanced/_mixer_setup.c | C | gpl-3.0 | 17,834 |
/*
This project 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.
Deviation is distributed in the hope that it will be useful,
but WITHO... | cctsao1008/deviation | src/pages/128x64x1/main_layout.c | C | gpl-3.0 | 5,735 |
/**
******************************************************************************
* @file USB_Host/MSC_RTOS/Src/file_operations.c
* @author MCD Application Team
* @version V1.3.0
* @date 17-February-2017
* @brief Write/read file on the disk.
**********************************************... | TRothfelder/Multicopter | libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32446E_EVAL/Applications/USB_Host/MSC_RTOS/Src/file_operations.c | C | gpl-3.0 | 5,222 |
/**
* This software is subject to the ANT+ Shared Source License
* www.thisisant.com/swlicenses
* Copyright (c) Dynastream Innovations, Inc. 2015
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions ... | jogosa/flip_dot_clock_fw301 | MODIFIED_SDK_13.0.0_04a0bfd/examples/ant/ant_scan_and_forward/deviceregistry.c | C | gpl-3.0 | 6,103 |
/*
* Copyright 2009 Christopher Breneman
*
* This file is part of ClueVPN.
*
* ClueVPN 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 v... | cluenet/cluevpn | configfile.c | C | gpl-3.0 | 10,410 |
/*
* Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
... | darlinghq/darling | src/kernel/libsyscall/wrappers/unix03/mmap.c | C | gpl-3.0 | 2,311 |
/*
* Copyright (c) 1997-2006 Motoyuki Kasahara
*
* 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 conditions and the f... | Dangetsu/vnr | Frameworks/EB/src/modules/eb/src/filename.c | C | gpl-3.0 | 21,741 |
/*
* Code for class TYPE [REAL_64]
*/
#include "eif_eiffel.h"
#include "../E1/estructure.h"
#include "../E1/eoffsets.h"
#include "ty551.h"
#include "eif_built_in.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* {TYPE}.name */
EIF_REFERENCE F624_48... | evilksi/jeux-oriente-objet-2 | Test/EIFGENs/coinplumber/F_code/C12/ty551.c | C | gpl-3.0 | 3,931 |
/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2004, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
*
* 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 3 of
* t... | noahl/guile-jit | libguile/load.c | C | gpl-3.0 | 28,965 |
#include "tamper.h"
#include "mem_ops.h"
#include "string_ops.h"
char *encode64(char* input, int len)
{
int leftposition = len % 3,n = 0,outlen = 0;
char *ret = xmalloc(((len/3) * 4) + ((leftposition)?4:0) + 1);
uint8_t i = 0;
uint8_t *ptr = (uint8_t *) input;
const char *list = "ABCDEFGHIJKLMNOP... | sh1nu11bi/0d1n | tamper.c | C | gpl-3.0 | 5,631 |
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#include "../common/cbasetypes.h"
#include "../common/timer.h"
#include "../common/nullpo.h"
#include "../common/malloc.h"
#include "../common/mapindex.h"
#include "../common/showmsg.h"
#include "../commo... | Digor/Cronus | src/map/guild.c | C | gpl-3.0 | 51,601 |
/*
* Copyright (C) 2010 Free Software Foundation, Inc.
* Author: Nikos Mavrogiannopoulos
*
* This file is part of GnuTLS.
*
* GnuTLS 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 ... | chriskmanx/qmole | QMOLEDEV/gnutls-2.12.7/src/pkcs11.c | C | gpl-3.0 | 22,503 |
/**
* \file main.c
* File contenente le funzioni di main
* \author Luciano faretra
* \date 2015
* \ver 1.0
*/
#include <stdlib.h>
#include <stdio.h>
#include "inputOutput.h"
#include "elaborazione.h"
#include "CUnit/Basic.h"
/**
* Aggiungere tutti i metodi di test per le funzioni da testare
*/
void test_trov... | LucianoFaretra/Workspace | [Programmazione in C 2014]/prova_lab_31marzo_cunit/main.c | C | gpl-3.0 | 1,485 |
/*
* Copyright (C) Paul Mackerras 1997.
*
* 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.
*/
#include <stdarg.h>
... | williamfdevine/PrettyLinux | arch/alpha/boot/stdio.c | C | gpl-3.0 | 6,820 |
#include "../ulixlib.h"
int counter = 0;
int use_locks;
pthread_t t1, t2, t3;
pthread_mutex_t mut;
int adder_finished = false;
int subber_finished = false;
void output ();
void add ();
void sub ();
void delay ();
void usage_and_exit (char *s) {
printf ("%s: %s [01] (0 = no locks, 1 = locks)\n", s, s);
exit (0)... | hgesser/ulix | lib-build/tools/thread.c | C | gpl-3.0 | 2,632 |
/*
* Copyright (C) 2011 Red Hat Inc.
*
* Author:
* Matthias Clasen <mclasen@redhat.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License,... | chriskmanx/qmole | QMOLEDEV/gtk+-3.2.1/tests/a11y/util.c | C | gpl-3.0 | 1,600 |
/* library/validation_form.c */
/* -------------------------------------------------------------------- */
/* This is the appaserver validation_form ADT. */
/* */
/* Freely available software: see Appaserver.org */
/* -------------------------------------------------------------------- */
#include <... | timhriley/appaserver | library/validation_form.c | C | gpl-3.0 | 9,778 |
/*
*
*
* 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 of the License, or
* (at your option) any later version.
*
* This program is distributed... | mandl/MTK_Loader | mt6223_blink/led.c | C | gpl-3.0 | 1,521 |
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2010 Gareth McMullin <gareth@blacksphere.co.nz>
*
* 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 t... | henryeherman/libopencm3 | examples/stm32/f4/stm32f4-discovery/usb_cdcacm/cdcacm.c | C | gpl-3.0 | 6,299 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - 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... | heuripedes/RetroArch | gfx/drivers_font/wiiu_font.c | C | gpl-3.0 | 12,685 |
/*
-------------------------------------------------------------------------------
lookup3.c, by Bob Jenkins, May 2006, Public Domain.
These are functions for producing 32-bit hashes for hash table lookup.
hashword(), hashlittle(), hashlittle2(), hashbig(), mix(), and final()
are externally useful functions. Routine... | JialiUMassWengLab/laSV | src/hash_table/hash_key/bob_jenkins/hash_value.c | C | gpl-3.0 | 27,260 |
/* bind.c --- wrappers for Windows bind function
Copyright (C) 2008-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the Lic... | Distrotech/guile | lib/bind.c | C | gpl-3.0 | 1,302 |
/*
* CopyLeft (C) nie950@gmail.com
*/
#include "rtmp_config.h"
#include "rtmp_core.h"
rtmp_app_t* rtmp_create_app(mem_pool_t *pool,rtmp_host_t *host)
{
mem_pool_t *chunk_pool;
rtmp_app_t *app;
rtmp_app_conf_t *conf;
rtmp_host_conf_t *hconf;
hconf = host->hconf;
... | niesongsong/tiny-rtmp-server | trunk/src/rtmp/rtmp_app.c | C | gpl-3.0 | 3,774 |
/* Tests for `voice.c' functions.
Copyright (C) 2013-2014 Henrik Hedelund.
This file is part of libfreeztile.
libfreeztile 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 ... | henkelund/libfreeztile | tests/check_voice.c | C | gpl-3.0 | 6,147 |
#include "../lib/includes.h"
#include "../lib/utils.h"
#include "../lib/methnum.h"
#include "../Param/param.h"
#include "../Var/var.h"
#include "njl1.h"
static inline void plot_f ( double f ( double ), double lo, double hi, char *nf, char *com ) __attribute__((always_inline));
static inline void plot_fdf ( double ... | AlexandreBiguet/NJLlikeModels | legacy/programs/njl-1/njl1/solve_mf_plot_always.c | C | gpl-3.0 | 8,806 |
/***************************************************************************
* ncm_fftlog.c
*
* Fri May 18 16:44:23 2012
* Copyright 2012 Sandro Dias Pinto Vitenti
* <sandro@isoftware.com.br>
****************************************************************************/
/*
* numcosmo
* Copyright... | NumCosmo/NumCosmo | numcosmo/math/ncm_fftlog.c | C | gpl-3.0 | 49,088 |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-PDU-Contents"
* found in "../support/s1ap-r16.1.0/36413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#include "S1AP_E-RABToBeModifiedListBearerModReq.h"
#include "S1AP_ProtocolIE-SingleCon... | acetcom/cellwire | lib/asn1c/s1ap/S1AP_E-RABToBeModifiedListBearerModReq.c | C | gpl-3.0 | 2,264 |
/**
******************************************************************************
* @file Examples_LL/TIM/TIM_TimeBase/Src/stm32f0xx_it.c
* @author MCD Application Team
* @brief Main Interrupt Service Routines.
* This file provides template for all exceptions handler and
* peripher... | Fdepraetre/Handmouse | Software/Handmouse_STM/Lib_DL/STM32Cube_FW_F0_V1.8.0/Projects/STM32F072RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/stm32f0xx_it.c | C | gpl-3.0 | 5,133 |
/*
* Copyright (C) 2013 Nivis LLC.
* Email: opensource@nivis.com
* Website: http://www.nivis.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, version 3 of the License.
*
* Redistribution... | irares/WirelessHart-Gateway | Stack/src/ApplicationLayer/Binarization/CommonPracticeCommands/C055_WriteDeviceVariableDampingValue.c | C | gpl-3.0 | 2,175 |
/* This file is part of the 'neper' program. */
/* Copyright (C) 2003-2012, Romain Quey. */
/* See the COPYING file in the top-level directory. */
#include "neut_germset.h"
void
neut_germset_set_zero (struct GERMSET* pGermSet)
{
(*pGermSet).N = 0;
(*pGermSet).N1d = 0;
(*pGermSet).Id = 0;
(*pGermSet).morpho = ... | zhulcghshsf1989/neper | src/neut/neut_germset/neut_germset.c | C | gpl-3.0 | 1,210 |
/*****************************************************************************
* Copyright (c) 2014 Ted John
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* This file is part of OpenRCT2.
*
* OpenRCT2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public... | DrWeir/OpenRCT2 | src/windows/server_list.c | C | gpl-3.0 | 15,267 |
/**
* This file is part of RagEmu.
* http://ragemu.org - https://github.com/RagEmu/Renewal
*
* 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 published b... | RagEmu/Renewal | src/plugins/script_mapquit.c | C | gpl-3.0 | 1,525 |
/* makexrw.c
*
* Copyright 2012 David G. Barnes
*
* This file is part of S2VOLSURF.
*
* S2VOLSURF 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)... | mivp/s2volsurf | makexrw.c | C | gpl-3.0 | 2,625 |
/* libmemdisc.c: discovery of a unique malloc call
*
* Copyright (c) 2012..2018 Sebastian Parschauer <s.parschauer@gmx.de>
*
* This file may be used subject to the terms and conditions of the
* GNU General Public License Version 3, or any later version
* at your option, as published by the Free Software Founda... | sriemer/ugtrain | src/linuxhooking/libmemdisc.c | C | gpl-3.0 | 20,052 |
/*
*Copyright (C) 1994-2000 The XFree86 Project, Inc. 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, including
*without limitation the rights ... | ArcticaProject/vcxsrv | xorg-server/hw/xwin/winmsg.c | C | gpl-3.0 | 3,607 |
#include <stdio.h>
#include <string.h>
#ifdef DOS
#include <fcntl.h>
#include <errno.h>
#include <winsock.h>
#define detail_code WSAGetLastError()
#define EAGAIN WSAEWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#define usleep(X) Sleep(X/500)
#else
#include <sys/fcntl.h>
#include <sys/errno.h>
#include <sys/socket.h>... | TimMilesCox/RTA1 | rta/client/i.c | C | gpl-3.0 | 5,772 |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.1.0/38413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#include "NGAP_BroadcastPLMNItem.h"
#include "NGAP_ProtocolExtensionContainer.h"
asn_TYPE_member... | acetcom/cellwire | lib/asn1c/ngap/NGAP_BroadcastPLMNItem.c | C | gpl-3.0 | 2,624 |
#include "soarkernel.h"
#include "sysdep.h"
#if !defined(__SC__) && !defined(THINK_C) && !defined(WIN32) && !defined(MACINTOSH)
#include <sys/time.h> /* used for timing stuff */
#include <sys/resource.h> /* used for timing stuff */
#endif /* !__SC__ && !THINK_C && !WIN32 */
/* ... | Sonophoto/sioo | kernel/timers.c | C | gpl-3.0 | 5,695 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2015 - Daniel De Matteis
* Copyright (C) 2012-2015 - Michael Lelli
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as pu... | aldatsa/RetroArch | retroarch.c | C | gpl-3.0 | 52,839 |
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* Copyright © 2018 Purism SPC
* Copyright © 2018 Adrien Plazas <kekun.plazas@laposte.net>
*
* This file is part of Epiphany.
*
* Epiphany is free software: you can redistribute it and/or modify
* it under the terms of the GNU G... | Ahimta/epiphany | src/ephy-action-bar.c | C | gpl-3.0 | 6,544 |
/*
===========================================================================
Wolfenstein: Enemy Territory GPL Source Code
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of the Wolfenstein: Enemy Territory GPL Source Code (Wolf ET Source Code).
Wolf ET Source Code is free s... | ensiform/ETe | src/client/cl_console.c | C | gpl-3.0 | 24,140 |
/*
** Copyright (C) 2016 Anthony Buckley
**
** This file is part of Inodeum.
**
** Inodeum 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 ... | mr-headwind/Inodeum | src/calendar_ui.c | C | gpl-3.0 | 6,099 |
#include <tgmath.h>
#include "MMClockRecovery.h"
//M&M Clock Recovery Loop (interpolating version!)
unsigned long MMClockRecovery(DECIMAL_TYPE *dataStreamIn, DECIMAL_TYPE *dataStreamInTime, unsigned long numSamples, DECIMAL_TYPE *dataStreamOut, int Fs, DECIMAL_TYPE baud, DECIMAL_TYPE stepRange, DECIMAL_TYPE kp)
... | nebarnix/Project-Desert-Tortoise | common/MMClockRecovery.c | C | gpl-3.0 | 3,008 |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef WIN32
#include "config.win32.h"
#endif
#include <string.h> /* memcpy */
// DEBUG
#include <stdio.h>
#include "xn.h"
//#include "uts46.h"
//#include "ucd.h"
#include "xn_parse.h"
/* "xn_results.c" */
extern xn_result
__report_string_result(xn_result,result_li... | LibXN/libxn | lib/uts46.c | C | gpl-3.0 | 4,423 |
/*
* Driver for DBRI sound chip found on Sparcs.
* Copyright (C) 2004, 2005 Martin Habets (mhabets@users.sourceforge.net)
*
* Converted to ring buffered version by Krzysztof Helt (krzysztof.h1@wp.pl)
*
* Based entirely upon drivers/sbus/audio/dbri.c which is:
* Copyright (C) 1997 Rudolf Koenig (rfkoenig@immd4.in... | williamfdevine/PrettyLinux | sound/sparc/dbri.c | C | gpl-3.0 | 80,709 |
/*
* Mesa 3-D graphics library
* Version: 3.5
*
* Copyright (C) 1999-2001 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, i... | chriskmanx/qmole | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/extras/Mesa/src/fog.c | C | gpl-3.0 | 4,109 |
/* This file is part of the 'neper' program. */
/* Copyright (C) 2003-2012, Romain Quey. */
/* See the COPYING file in the top-level directory. */
#include"WriteMeshFev.h"
void
WriteMeshFev (struct IN In, struct GEO Geo,
struct NODES Nodes, struct MESH Mesh2D, struct MESH Mesh3D,
struct NSET NSet0D, str... | zhulcghshsf1989/neper | src/neper_fm/WriteMesh/WriteMeshFev/WriteMeshFev1.c | C | gpl-3.0 | 2,295 |
/*
* i5500_temp - Driver for Intel 5500/5520/X58 chipset thermal sensor
*
* Copyright (C) 2012, 2014 Jean Delvare <jdelvare@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; eith... | williamfdevine/PrettyLinux | drivers/hwmon/i5500_temp.c | C | gpl-3.0 | 4,201 |
#include "platform.h"
#include "debug.h"
#include "constants.h"
#include "cn_radio.h"
#include "iotlab_serial.h"
#include "phy.h"
#include "packer.h"
#include "soft_timer.h"
#include "platform.h"
#include "debug.h"
#include "iotlab_time.h"
static int32_t radio_off(uint8_t cmd_type, packet_t *pkt);
static int32_t ... | kYc0o/openlab-contiki | appli/iotlab/control_node/control_node/cn_radio.c | C | gpl-3.0 | 17,149 |
/*
* Apple Onboard Audio pmf GPIOs
*
* Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
*
* GPL v2, can be found in COPYING.
*/
#include <linux/slab.h>
#include <asm/pmac_feature.h>
#include <asm/pmac_pfunc.h>
#include "../aoa.h"
#define PMF_GPIO(name, bit) \
static void pmf_gpio_set_##name(struct ... | williamfdevine/PrettyLinux | sound/aoa/core/gpio-pmf.c | C | gpl-3.0 | 6,412 |
/*
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... | peckpeck/core | libpromises/syntax.c | C | gpl-3.0 | 38,140 |
/*
* Functions for accessing OPL4 devices
* Copyright (c) 2003 by Clemens Ladisch <clemens@ladisch.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... | williamfdevine/PrettyLinux | sound/drivers/opl4/opl4_lib.c | C | gpl-3.0 | 7,391 |
/* Functions related to terminal devices.
Copyright (C) 2005-2019 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 Software Foundation, either version 3 of t... | MetaDark/emacs | src/terminal.c | C | gpl-3.0 | 18,904 |
#include "concesionario.h"
#include <gtk/gtk.h>
struct concesionario *con;
int id;
static void algo(GtkButton *widget, gpointer dat)
{
printf("entra aqui\n");
gtk_widget_destroy((GtkWidget *)dat);
}
static void show_del_window(GtkButton *widget, gpointer data)
{
GtkWidget *ventana;
GtkWidget *boton;
GtkWidget *... | alvneiayu/curso-C | 4Clase/ejemplos/12/main.c | C | gpl-3.0 | 4,406 |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <pwd.h>
#include "../utils.h"
#include "../log.h"
#include "../lre.h"
#define PATH_ARR_... | hoyleeson/lre | lrc/lrc_process.c | C | gpl-3.0 | 24,526 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2015 - Daniel De Matteis
* Copyright (C) 2012-2015 - Michael Lelli
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as p... | CautiousAlbino/RetroArch | gfx/drivers/gl.c | C | gpl-3.0 | 87,359 |
/*-------------------------------------------------------------------------
*
* subselect.c
* Planning routines for subselects and parameters.
*
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* ... | TextusData/Mover | thirdparty/postgresql-9.0.1/src/backend/optimizer/plan/subselect.c | C | gpl-3.0 | 71,602 |
/*
This file is part of GNUnet.
Copyright (C) 2010-2013 GNUnet e.V.
GNUnet 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 version.
GNUnet is distributed in... | tg-x/gnunet | src/ats-tests/ats-testing-experiment.c | C | gpl-3.0 | 20,701 |
/**
* @file serial/serial.c
*
* @brief Serial scheduler
*
* This module implements the sequential execution of simulation models.
* Here all the routines to support sequential simulations are implemented,
* except for the event queue which uses the Calendar Queue implemented in
* calqueue.c.
*
* @copyright
*... | HPDCS/ROOT-Sim | src/serial/serial.c | C | gpl-3.0 | 7,016 |
/* Copyright (C) 1993-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the ... | geminy/aidear | oss/glibc/glibc-2.24/libio/iofopncook.c | C | gpl-3.0 | 8,506 |
/******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation.
*
* 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 Foundati... | williamfdevine/PrettyLinux | drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c | C | gpl-3.0 | 25,312 |
/*****************************************************************************
** $Source: /cygdrive/d/Private/_SVNROOT/bluemsx/blueMSX/Src/Memory/romMapperBunsetu.c,v $
**
** $Revision: 1.6 $
**
** $Date: 2008-03-30 18:38:42 $
**
** More info: http://www.bluemsx.com
**
** Copyright (C) 2003-2006 Daniel Vik
**
** This ... | pokebyte/blueberryMSX | Src/Memory/romMapperBunsetu.c | C | gpl-3.0 | 4,307 |
/*
* wee-hook-fd.c - WeeChat fd hook
*
* Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* t... | weechat/weechat | src/core/hook/wee-hook-fd.c | C | gpl-3.0 | 8,196 |
/**
* @file exercise1.c
* @brief Brief description.
*
* @author Raul Perula-Martinez <raules@gmail.com>
* @date 2014-11
*
* @license GPL v3
* @version 1.0.0
*/
#include<stdio.h>
#include<math.h>
double g1(double x);
double g2(double x);
double g3(double x);
double g4(double x);
... | raulperula/uco_student | advanced_mathematics/practices/src/p2/exercise1.c | C | gpl-3.0 | 1,633 |
/*
* Code for class FUNCTION [G#1, G#2, BOOLEAN]
*/
#include "eif_eiffel.h"
#include "../E1/estructure.h"
#include "../E1/eoffsets.h"
#include "fu248.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* {FUNCTION}.last_result */
EIF_BOOLEAN F740_6044 ... | evilksi/jeux-oriente-objet-2 | Test/EIFGENs/coinplumber/F_code/C5/fu248.c | C | gpl-3.0 | 1,240 |
/* standard includes */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
/* application includes */
#include "countries.h"
const char *iso_3166_table[][4] = {
{"1", "AF", "AFG", "Afghanistan, Islamic Republic of"},
{"2", "AL", "ALB", "Albania, Republic of"},
{"6", "AQ", "ATA", "Antarctic... | asabreu/footin | countries.c | C | gpl-3.0 | 14,177 |
/* ifrchk.c: procedures for detecting variable interference
*
* COPYRIGHT 2010. California Institute of Technology
*
* This file is part of chpsim.
*
* Chpsim 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... | dudecc/chpsim | ifrchk.c | C | gpl-3.0 | 25,071 |
#define _XOPEN_SOURCE 700
#include <signal.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <pthread.h>
pthread_mutex_t lock;
pthread_mutex_t cond_mutex;
pthread_cond_t cond;
void handler(int sig) { printf("SIGINT %d\n", sig); (void) sig; }
void* thread_main(void* n) {
if(n != 0) {
... | Cytoo/xisop | tme03/src/threadchain.c | C | mpl-2.0 | 1,595 |
/*
* file: V2X_Accel.c
*
* Created: 2/9/2016 10:53:17 AM
*
* Author: Jesse Banks
*
* brief: accelerometer features and functions
*/
#include "V2X.h"
Bool new_config = true;
Bool new_offset = false;
uint8_t last_sample[6];
uint8_t last_rate = ACL_RATE_100; //100hz
uint8_t last_data_format = (1<<ACL_RANGE_L)|... | PDXostc/rvi_v2x_firmware | V2X_Firmware/src/V2X/V2X_Accel.c | C | mpl-2.0 | 5,640 |
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "pcscf_restoration_request_data.h"
OpenAPI_pcscf_restoration_request_data_t *OpenAPI_pcscf_restoration_request_data_create(
char *dnn,
char *ip_domain,
OpenAPI_snssai_t *slice_info,
char *supi,
char *ue_ipv4,
char *ue_ipv6
)
{... | acetcom/nextepc | lib/sbi/openapi/model/pcscf_restoration_request_data.c | C | agpl-3.0 | 7,307 |
#include "mupdf/fitz.h"
#include <string.h>
#include <limits.h>
#define TYPE_NORMAL_OLD '\0'
#define TYPE_NORMAL '0'
#define TYPE_CONTIGUOUS '7'
#define TYPE_LONG_NAME 'L'
typedef struct
{
char *name;
int64_t offset;
int size;
} tar_entry;
typedef struct
{
fz_archive super;
int count;
tar_entry *entries;
} f... | sebras/mupdf | source/fitz/untar.c | C | agpl-3.0 | 6,274 |
/**
******************************************************************************
* @file GPIO/GPIO_IOToggle/Src/main.c
* @author MCD Application Team
* @version V1.0.1
* @date 29-January-2016
* @brief This example describes how to configure and use GPIOs through
* the STM32F4xx ... | mariobarbareschi/stm32-compiler-docker | STM32Cube_FW_F4_V1.11.0/Projects/STM32F446ZE-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/main.c | C | agpl-3.0 | 8,076 |
/*************************************************************************\
* Copyright (C) Michael Kerrisk, 2016. *
* *
* This program is free software. You may use, modify, and redistribute it *
* under the term... | jetm/tlpi | namespaces/unshare.c | C | agpl-3.0 | 3,486 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.