code
stringlengths
1.03k
250k
repo_name
stringlengths
7
70
path
stringlengths
4
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
1.03k
250k
/***************************************************************************** * Copyright (c) 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 Gener...
rzeg/OpenRCT2
src/platform/shared.c
C
gpl-3.0
29,706
#include <stdint.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <getopt.h> #include <fcntl.h> #include <sys/ioctl.h> #include <linux/types.h> #include <linux/spi/spidev.h> // #include "NokiaLCD_lib.h" #include "NokiaLCD_lib_fonts.h" void ShowWiFiSingleLogo( unsigned char idx...
cledic/ariettag25
nokia/Nokia_lib.c
C
gpl-3.0
26,021
/* Functions for creating and updating GTK widgets. Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 F...
mediogre/emacsanity
src/gtkutil.c
C
gpl-3.0
135,796
/* * hostapd / Initialization and configuration * Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/ieee802_11...
s0lst1c3/eaphammer
local/hostapd-eaphammer/src/ap/hostapd.c
C
gpl-3.0
90,175
/* VitaShell Copyright (C) 2015-2016, TheFloW 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 ...
thhoang99/VitaShell-touch
audioplayer.c
C
gpl-3.0
13,201
/* =========================================================================== Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of Spearmint Source Code. Spearmint Source Code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licens...
mecwerks/revamp
code/q3_ui/ui_startserver.c
C
gpl-3.0
65,218
#include "first.h" #include "base.h" #include "joblist.h" #include "log.h" #include <stdlib.h> #include <string.h> int joblist_append(server *srv, connection *con) { if (con->in_joblist) return 0; if (srv->joblist->size == 0) { srv->joblist->size = 16; srv->joblist->ptr = malloc(sizeof(*srv->joblist->ptr) ...
whc10002/study
lighttpd/lighttpd-1.4.45/src/joblist.c
C
gpl-3.0
1,816
/////////////////////////////////////////////////////////////////////// // // // Copyright 2012 David Alonso // // // // ...
damonge/CUTE
CUTE_box/src/main.c
C
gpl-3.0
8,543
//****************************************************************** // // Copyright 2015 Intel Mobile Communications GmbH All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except ...
kadasaikumar/iotivity-1.2.1
resource/csdk/stack/src/ocpayloadparse.c
C
gpl-3.0
48,014
/******************************************************************************************************************************************************* * Copyright ¨Ï 2016 <WIZnet Co.,Ltd.> * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f...
arm8686/W7500P-Tau
W7500P-Tau-FW/Projects/Peripheral_Examples/RNG/Random_number_generation/W7500x_it.c
C
gpl-3.0
7,355
/* This file is part of GNU Dico. Copyright (C) 2008, 2010, 2012 Sergey Poznyakoff GNU Dico 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. ...
baohaojun/dico
modules/pam/pam.c
C
gpl-3.0
4,056
#include "gwion_util.h" #include "gwion_ast.h" #include "gwion_env.h" #include "vm.h" #include "gwion.h" #define __CLEAN_IMPL #include "clean.h" ANN static void clean_array_sub(Clean *a, Array_Sub b) { if (b->exp) clean_exp(a, b->exp); } ANN static void clean_id_list(Clean *a, ID_List b) { if (b->next) clean_id_l...
fennecdjay/Gwion
src/clean.c
C
gpl-3.0
9,163
/* $Header: /4CReleased/V2.20.00/Target/4CWin/Control/WinVisu/visTest.c 2 25.05.07 13:24 Ln $ * ------------------------------------------------------------------------------ * * =FILENAME $Workfile: visTest.c $ * $Logfile: /4CReleased/V2.20.00/Target/4CWin/Control/WinVisu/visTest.c $ * * =PROJE...
MECTsrl/ATCMcontrol_Engineering
src/TargetBase/Control/visTest/visTest.c
C
gpl-3.0
17,294
/* * Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation * Copyright (C) 1999, 2000 Red Hat, Inc. * All rights reserved. * * This file is part of the Mate Library. * * The Mate Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public Licens...
monsta/mate-terminal
src/eggshell.c
C
gpl-3.0
2,397
// Fast data compression library // Copyright (C) 2006-2009 Lasse Mikkel Reinhold // lar@quicklz.com // // QuickLZ can be used for free under the GPL-1 or GPL-2 license (where anything // released into public must be open source) or under a commercial license if such // has been acquired (see http://www.quicklz.com/o...
rootfs/lessfs
lib_qlz.c
C
gpl-3.0
28,165
/********************************************************************* * * Address Resolution Protocol (ARP) Client and Server * Module for Microchip TCP/IP Stack * -Provides IP address to Ethernet MAC address translation * -Reference: RFC 826 * *************************************************...
beckg/common
src/tcpip/ARP.c
C
gpl-3.0
23,721
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * 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 * (...
brion/gimp
app/display/gimpcanvas.c
C
gpl-3.0
8,722
/** This file is part of MaxEntMC, a maximum entropy algorithm with moment constraints. **/ /** Copyright (C) 2014 Rafail V. Abramov. **/ /** **/ /** This program is free software: you can r...
rafail-abramov/MaxEntMC
src/core/maxentmc_power.c
C
gpl-3.0
27,034
#include "common/hercules.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "common/HPMi.h" #include "map/clif.h" #include "map/atcommand.h" #include "map/script.h" #include "map/pc.h" #include "common/nullpo.h" #include "common/HPMDataCheck.h" HPExport struct hplugin_info pin...
HerculesHekper/HerculesStuff
plugins/emotion.c
C
gpl-3.0
1,559
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
nidhugg/nidhugg
tests/litmus/C-tests/S+PPO131.c
C
gpl-3.0
1,621
/* Program to compute the solution of a given system of linear equations using LU Decomposition Method where the coefficient matrix is decomposed into Lower Triangular and Upper Triangular matrix */ #include<stdio.h> #include<stdlib.h> void display(float **mat,int n){ int i,j; for (i=0;i<n;i++){ for (j=0...
aneekroy/Numerical-Analysis-Lab-Assignments
12. LU Decomposition.c
C
gpl-3.0
2,420
#include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <time.h> #include <fcntl.h> #include "strutils.h" #include "logger.h" bool silent = false; int write_2_led(const char* value) { int ret; fled = open(GLED01_DEV, O_RDWR); if (fled < 0) return -1; ret = wr...
eiger824/bbbw-utils
ledtest/1-led/logger.c
C
gpl-3.0
1,346
/* * IP block integration code for the HDQ1W/1-wire IP block * * Copyright (C) 2012 Texas Instruments, Inc. * Paul Walmsley * * Based on the I2C reset code in arch/arm/mach-omap2/i2c.c by * Avinash.H.M <avinashhm@ti.com> * * This program is free software; you can redistribute it and/or * modify it under t...
williamfdevine/PrettyLinux
arch/arm/mach-omap2/hdq1w.c
C
gpl-3.0
2,835
/* * Driver for the LED found on the EBSA110 machine * Based on Versatile and RealView machine LED code * * License terms: GNU General Public License (GPL) version 2 * Author: Bryan Wu <bryan.wu@canonical.com> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include <linux/slab.h> #incl...
williamfdevine/PrettyLinux
arch/arm/mach-ebsa110/leds.c
C
gpl-3.0
1,443
/***************************************************************************** * 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...
achapp/OpenRCT2
src/title.c
C
gpl-3.0
14,049
/* * ======================================================================================= * * Filename: pci_proc.c * * Description: Interface to procfs/sysfs for PCI device lookup * * Version: <VERSION> * Released: <DATE> * * Author: Thomas Roehl (tr), thomas.roehl@googlemai...
gbfree/likwid
src/pci_proc.c
C
gpl-3.0
3,423
#include "Vram.h" Vram v_lock(SDL_Texture* const texture) { void* raw; int pitch; SDL_LockTexture(texture, NULL, &raw, &pitch); const Vram vram = { (uint32_t*) raw, (int) (pitch / sizeof(uint32_t)) }; return vram; } void v_unlock(SDL_Texture* const texture) { SDL_UnlockTexture(texture); } voi...
yellingintothefan/water
src/Vram.c
C
gpl-3.0
1,666
/* =========================================================================== Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of Spearmint Source Code. Spearmint Source Code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licens...
KuehnhammerTobias/ioid3-game
code/game/bg_misc.c
C
gpl-3.0
53,599
#include <stdint.h> #include "drm_context.h" void drm_context_add_screen(struct drm_context_t* context, drmModeConnector* connector) { struct screen* screen = &context->screens[context->screen_idx]; screen->connector_id = connector->connector_id; context->screen_idx++; } void drm_context_scan(drm_context_...
kristov/vroom
render/drm/drm_context.c
C
gpl-3.0
2,861
#include<ncurses.h> #include<locale.h> #include<time.h> #include<stdlib.h> void data_hora() { time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime ( &rawtime ); //printf ( "The current date/time is: %s", asctime (timeinfo) ); } void start() { has_colors(); start_color(); } void m...
Calebe94/Programacao_em_C
Projetos_UP/VCSYSTEM/Working/CVSystem.c
C
gpl-3.0
1,615
/************************************************************************* > File Name: entry.c > Author: > Mail: > Created Time: Wed 16 Aug 2017 02:51:21 PM CST ************************************************************************/ #include "minicrt.h" #ifdef WIN32 #include <Windows.h> #endif ext...
NEWPLAN/books
programming/chap13/miniCRT/64bit/entry.c
C
gpl-3.0
1,570
/* This file is part of darktable, copyright (c) 2014-2017 Roman Lebedev. (based on code by johannes hanika) 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 ...
rwh86/darktable
src/iop/rawprepare.c
C
gpl-3.0
29,311
/*- * line-based multiplayer game server * Copyright (C) 2014 github at ia0 dot eu * * 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)...
ia0/lbmgs
src/common.c
C
gpl-3.0
1,717
/* * This file is part of otama. * * Copyright (C) 2013 nagadomi@nurs.or.jp * * 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 any later version. *...
nagadomi/otama
src/util/otama_vacuum_index.c
C
gpl-3.0
2,572
/* * PCIe host controller driver for Axis ARTPEC-6 SoC * * Author: Niklas Cassel <niklas.cassel@axis.com> * * Based on work done by Phil Edworthy <phil@edworthys.org> * * 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 * p...
williamfdevine/PrettyLinux
drivers/pci/host/pcie-artpec6.c
C
gpl-3.0
7,737
/* * 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 distributed in the hope that it will be use...
DanDeKalb/The-Powder-Toy
src/elements/sltw.c
C
gpl-3.0
1,400
/* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client * Copyright (C) 2003-2012 Match Grun and the Claws Mail 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 * the Free Software Foundation; either ver...
chriskmanx/qmole
QMOLEDEV/claws-mail-3.9.0/src/ldapctrl.c
C
gpl-3.0
23,148
#include <zlib.h> #include "common.h" #include "hfsplus.h" #include "hfscompress.h" void flipHFSPlusDecmpfs(HFSPlusDecmpfs *compressData) { FLIPENDIANLE(compressData->magic); FLIPENDIANLE(compressData->flags); FLIPENDIANLE(compressData->size); } void flipRsrcHead(HFSPlusCmpfRsrcHead *data) { FLIPENDIAN(data...
matthewbauer/undmg
hfscompress.c
C
gpl-3.0
10,007
/* * Copyright (C) 2007 Marco Gerards <marco@gnu.org> * Copyright (C) 2009 David Conrad * Copyright (C) 2011 Jordi Ortiz * * This file is part of FFmpeg. * * FFmpeg 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 S...
LarsSch/qTox
libs/ffmpeg-2.7/libavcodec/diracdec.c
C
gpl-3.0
70,883
//========================================================================== // // monitor_cmd.c // // Monitor commands for the CygMON ROM monitor // //========================================================================== //####ECOSGPLCOPYRIGHTBEGIN#### // ------------------------------------------- // T...
luebbers/reconos
core/ecos/ecos-patched/ecos/packages/cygmon/current/misc/monitor_cmd.c
C
gpl-3.0
55,905
/****************************************************************************** * * * main.c * * * ...
vincent-noel/libSigNetSim
libsignetsim/lib/templates/simulation/main.c
C
gpl-3.0
13,241
/* * Copyright (c) 2d3D, Inc. * Written by Abraham vd Merwe <abraham@2d3d.co.za> * All rights reserved. * * $Id: flashcp.c 4848 2007-01-29 06:50:23Z aubrey $ * * Renamed to flashcp.c to avoid conflicts with fcp from fsh package * * Redistribution and use in source and binary forms, with or without * modifica...
DICENetworks/switchfin
package/sources/mtd-utils/flashcp.c
C
gpl-3.0
11,323
/** Implementation of a set of GSL helper functions, including the * cross-product vector formatting, and libconfig parsing functions. * * \file gsl.c * \author Christopher Dellin * \date 2008-2009 */ /* Copyright 2008, 2009 * Barrett Technology <support@barrett.com> */ /* This file is part of libba...
jhu-lcsr-forks/barrett
src/cdlbt/gsl.c
C
gpl-3.0
5,476
/** * dictionary.c * * Computer Science 50 * Problem Set 5 * * Implements a dictionary's functionality. */ #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include "dictionary.h" #include <ctype.h> #include <string.h> // global variables int numWords = 0; char word[LENGTH + 1]; int SIZE = 25000; in...
historybuffjb/My-Open-Source-Society-Journey
CS50-Problem-Sets/Problem-Set-5/dictionary.c
C
gpl-3.0
3,885
/* RetroArch - A frontend for libretro. * Copyright (C) 2014-2017 - Jean-André Santoni * Copyright (C) 2015-2018 - Andre Leiradella * Copyright (C) 2018-2019 - natinusala * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published...
frangarcj/RetroArch
menu/widgets/menu_widgets.c
C
gpl-3.0
79,017
/* Input parser for bison Copyright (C) 1984, 1986 Bob Corbett and Free Software Foundation, Inc. BISON is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for whether it serves any particular pur...
axelmuhr/Helios-NG
cmds/gnu/bison/reader.c
C
gpl-3.0
35,932
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT...
OXKernel/ox
libk/printk.c
C
gpl-3.0
1,835
/* 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- * ati...
xerpi/RetroArch
input/drivers_joypad/linuxraw_joypad.c
C
gpl-3.0
9,448
// kernel/arch/x86/time/clock_tick.c #include <attributes.h> #include <irq/irq.h> #include <pit_8253/pit_8253.h> #include <cmos/cmos.h> #include <cmos/rtc.h> #include <time/time.h> #include <time/clock.h> #include <time/clock_tick.h> // TODO: define based on bogomips. #define CLOCK_TICK_RTC_RATE 10 #define CLOCK_TIC...
Izzette/izix
kernel/arch/x86/time/clock_tick.c
C
gpl-3.0
1,242
/* Generated by gupnp-binding-tool */ #include <libgupnp/gupnp.h> #ifndef GUPNP_GENERATED_CLIENT_BINDING_RC #define GUPNP_GENERATED_CLIENT_BINDING_RC G_BEGIN_DECLS #ifndef __GUPNPASYNCDATA_TYPE__ #define __GUPNPASYNCDATA_TYPE__ typedef struct {GCallback cb; gpointer userdata; } GUPnPAsyncData; #endif static void _f...
phillimar/UPNPAudioPlayer
src/RenderingControl_wrapper.c
C
gpl-3.0
9,800
//***************************************************************************** // // fontcmss46.c - Font definition for the 46pt Cmss font. // // Copyright (c) 2011-2013 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instruments (TI) is supplying this software f...
trfiladelfo/unesp_mdt
boards/SW-TM4C-2.0.1.11577/grlib/fonts/fontcmss46.c
C
mpl-2.0
32,152
/* SPDX-License-Identifier: MPL-2.0 libCWebUI Copyright (C) 2007 - 2019 Ramin Seyed-Moussavi Projekt URL : https://github.com/lordrasmus/libcwebui This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one...
lordrasmus/libcwebui
lib/src/engine_tags.c
C
mpl-2.0
2,809
/* Bacula® - The Network Backup Solution Copyright (C) 2006-2014 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. You may use this file and others of this release according to the l...
rkorzeniewski/bacula
bacula/src/lib/runscript.c
C
agpl-3.0
8,007
/** ****************************************************************************** * @file SPI/SPI_FullDuplex_ComPolling/Src/main.c * @author MCD Application Team * @version V1.0.1 * @date 29-January-2016 * @brief This sample code shows how to use STM32F4xx SPI HAL API to transmit * ...
mariobarbareschi/stm32-compiler-docker
STM32Cube_FW_F4_V1.11.0/Projects/STM32F411E-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c
C
agpl-3.0
11,562
# include <iflib.h> # include <worldlib.h> /* * Holds information about identity and description. */ string *adjectives; string *nouns; string *plural_adjectives; string *plural_nouns; mapping descriptions; void create(varargs int clone) { adjectives = ({ }); nouns = ({ }); descriptions = ([ ]); plural_nou...
jgsmith/second-contract
mud/usr/WorldLib/data/lib/id.c
C
agpl-3.0
2,460
/*----------------------------------------------------------------------------------// Máquina de Refrigerante usando o Monitor de Cristal Líquido Código elaborado por: Pedro Beltran Esta obra está licenciada com uma licença GNU AGPL-3.0 //--------------------------...
pedrovbeltran/8051
Uso do MCL/MR - MCL - Programa Base.c
C
agpl-3.0
7,405
#include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <errno.h> int main(int argc, char **argv) { if (argc < 2) { fprintf(stderr, "usage: %s <gpio> <mode>\n", argv[0]); exit(...
mtu-most/franklin
server/bb/setpin.c
C
agpl-3.0
2,019
/*------------------------------------------------------------------------- * * sprompt.c * simple_prompt() routine * * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * src/port/sprompt.c * ...
tpostgres-projects/tPostgres
src/port/sprompt.c
C
agpl-3.0
3,186
/* * Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF Digital, * Applied Mathematics, Norway. * * Contact information: E-mail: tor.dokken@sintef.no * SINTEF Digital, Department of Mathematics and Cybernetics, * P.O. Box 124 Blindern, ...
SINTEF-Geometry/SISL
src/s1856.c
C
agpl-3.0
5,264
/* File: netsock.c Description: This file contains the definition to work with the network abstraction struct NetSock. These functions provide easy access to read and write functions. Copyright (C) 2017 Robert Szwajkowski This program is free software: you can redistribute it and/or modify it un...
BobbySz/Tuna
src/NetSock/netsock.c
C
agpl-3.0
8,999
/**************************************************************** * * * Copyright 2012 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * * the l...
luisibanez/fis-gtm
sr_port/jnl_write_trunc_rec.c
C
agpl-3.0
1,779
/** ****************************************************************************** * @file IAP_Binary_Template/Src/main.c * @author MCD Application Team * @version V1.0.3 * @date 29-January-2016 * @brief Main program body *******************************************************************...
mariobarbareschi/stm32-compiler-docker
STM32Cube_FW_F4_V1.11.0/Projects/STM32469I_EVAL/Applications/IAP/IAP_binary_template/Src/main.c
C
agpl-3.0
8,672
/* * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
FriendSoftwareLabs/friendup
libs-ext/openssl/test/dsatest.c
C
agpl-3.0
3,782
/* * Copyright (c) 2016 Lammert Bies * Copyright (c) 2013-2016 the Civetweb developers * Copyright (c) 2004-2013 Sergey Lyubka * * 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 withou...
FriendSoftwareLabs/friendup
libs-ext/libhttp/src/httplib_get_request_len.c
C
agpl-3.0
2,105
#include <errno.h> #include <math.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../definitions.h" #include "../error.h" #include "simple.h" #define CLAMP(in, max) \ (((in) > (max)) ? (max) : ((in) < (-(max))) ? -(max) : (in)) void bmo_mix_sb(float *out, float *f1,...
ldrumm/libbeemo
src/dsp/simple.c
C
lgpl-2.1
10,682
/* vi: set ts=4 expandtab shiftwidth=4: */ /** * @file * @copyright Copyright 2020-2021 Digital Aggregates Corporation, Colorado, USA. * @note Licensed under the terms in LICENSE.txt. * @brief This is a unit test of the Timer feature with Periodic callbacks. * @author Chip Overclock <mailto:coverclock@diag.com> *...
coverclock/com-diag-diminuto
Diminuto/tst/unittest-periodic2.c
C
lgpl-2.1
4,241
/* * libxl_migration.c: methods for handling migration with libxenlight * * Copyright (C) 2014-2015 SUSE LINUX Products GmbH, Nuernberg, Germany. * * 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 Softw...
andreabolognani/libvirt
src/libxl/libxl_migration.c
C
lgpl-2.1
44,097
/* * "$Id: testhttp.c 11445 2013-12-05 19:57:43Z msweet $" * * HTTP test program for CUPS. * * Copyright 2007-2013 by Apple Inc. * Copyright 1997-2006 by Easy Software Products. * * These coded instructions, statements, and computer programs are the * property of Apple Inc. and are protected by Federal copyrig...
andropenoffie/cups4android
cups-1.7.2/cups/testhttp.c
C
lgpl-2.1
23,463
/************************************************************************************************* * The table database API of Tokyo Cabinet * Copyright (C) 2006-2009 Mikio Hirabayashi * This file is part of Tokyo Cabinet. * Tokyo Cabinet is free software; you ca...
ph1l/tokyocabinet-debian
tctdb.c
C
lgpl-2.1
193,212
/* GtkToolPalette -- A tool palette with categories and DnD support * Copyright (C) 2008 Openismus GmbH * * 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 th...
chipx86/gtk
gtk/gtktoolitemgroup.c
C
lgpl-2.1
76,064
/* * opensc-explorer.c: A shell for accessing smart cards with libopensc * * Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi> * * 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; ...
viktorTarasov/OpenSC-SM
src/tools/opensc-explorer.c
C
lgpl-2.1
51,681
/* ============================================================================= AOTMSA2 Adalberto Otranto Tardelli / Meide da Silva Ancao Application 1 by AOT, 05/01/2002 Reads BIREME's Medline by AOT, 09/03/2003 aotmsa2.c CI/tabula casos segund...
bireme/cisis
aotmsa2pc.c
C
lgpl-2.1
95,634
#include <stdio.h> #include <stdlib.h> #include <gmodule.h> #include <clutter/clutter.h> #include <cogl/cogl.h> #include <cogl-pango/cogl-pango.h> #define FONT "Sans 12" static void set_text (ClutterActor *actor, const gchar *text) { GList *children, *l; children = clutter_container_get_children (CLUTTER_CONTA...
djdeath/clutter-multithreaded
tests/interactive/test-table-layout.c
C
lgpl-2.1
9,067
/* * Copyright (C) 2015 Jan Pohlmann <jan-pohlmann@gmx.de> * * 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. */ /** * @addtogroup driver_periph * @{ * * @file * @brief Low-level I2C...
patkan/RIOT
cpu/cowbus-one/periph/i2c.c
C
lgpl-2.1
12,219
/** Implementation of Z module. This file is part of the Zarith library http://forge.ocamlcore.org/projects/zarith . It is distributed under LGPL 2 licensing, with static linking exception. See the LICENSE file included in the distribution. Copyright (c) 2010-2011 Antoine Miné, Abstraction project. A...
talex5/zarith
caml_z.c
C
lgpl-2.1
72,865
#include "dconf-state.h" #include "dconf-shmdir.h" #include <string.h> #include <stdlib.h> #include <stdio.h> #include <errno.h> static void dconf_state_init_session (DConfState *state) { const gchar *config_dir = g_get_user_config_dir (); state->db_dir = g_build_filename (config_dir, "dconf", NULL); if (g_m...
nekohayo/dconf
service/dconf-state.c
C
lgpl-2.1
2,449
/* application object */ /* vim: set sw=2 et: */ /* * Copyright (C) 2001 Havoc Pennington * Copyright (C) 2003 Red Hat, Inc. * Copyright (C) 2005-2007 Vincent Untz * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as publish...
mate-desktop/libmatewnck
libmatewnck/application.c
C
lgpl-2.1
20,938
/* GTK - The GIMP Toolkit * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * 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 Lice...
ystk/debian-gtk-2.0
gtk/gtkmenu.c
C
lgpl-2.1
157,569
/* * consumer_cbrts.c -- output constant bitrate MPEG-2 transport stream * * Copyright (C) 2010-2015 Broadcasting Center Europe S.A. http://www.bce.lu * an RTL Group Company http://www.rtlgroup.com * Author: Dan Dennedy <dan@dennedy.org> * Some ideas and portions come from OpenCaster, Copyright (C) Lorenzo Palla...
anba8005/mlt
src/modules/plusgpl/consumer_cbrts.c
C
lgpl-2.1
36,185
/* StarPU --- Runtime system for heterogeneous multicore architectures. * * Copyright (C) 2009, 2010-2011 Université de Bordeaux * Copyright (C) 2010, 2011 CNRS * * StarPU 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...
joao-lima/starpu-1.2.0rc2
starpufft/tests/testx_threads.c
C
lgpl-2.1
2,435
/*!The Treasure Box Library * * 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 applicable law or agreed to in wr...
waruqi/tbox
src/tbox/object/number.c
C
lgpl-2.1
17,301
/* vips_text * * Written on: 20/5/04 * 29/7/04 * - !HAVE_PANGOFT2 was broken, thanks Kenneth * 15/11/04 * - gah, still broken, thanks Stefan * 5/4/06 * - return an error for im_text( "" ) rather than trying to make an * empty image * 2/2/10 * - gtkdoc * 3/6/13 * - rewrite as a class */ /* This...
binarytemple/debian-vips
libvips/create/text.c
C
lgpl-2.1
9,333
/******************************************************************************* * This file is part of mdcore. * Coypright (c) 2010 Pedro Gonnet (gonnet@maths.ox.ac.uk) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as publis...
AndySomogyi/mdcore
examples/neon/neon.c
C
lgpl-3.0
10,809
/* Load a shared object at runtime, relocate it, and run its initializer. Copyright (C) 1996-2013 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 a...
Boshin/workspace
glibc/glibc-2.18/elf/dl-open.c
C
lgpl-3.0
23,091
/* **Copyright (C) 2015 Matthias Gatto ** **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 License, or **(at your option) any later version. ** **This program is di...
cosmo-ray/yirl
tests/tcc-script.c
C
lgpl-3.0
2,481
/** * * Phantom OS * * Copyright (C) 2005-2011 Dmitry Zavalishin, dz@dz.ru * * Basic bitmap font output. * * **/ #include <video/window.h> //#include <video/internal.h> #include <video/font.h> #include <kernel/libkern.h> #include <assert.h> #include <string.h> #include <phantom_libc.h> st...
animotron/animos
phantom/libwin/w_font.c
C
lgpl-3.0
6,781
#include "include.h" #include "integrator.h" #include "render.h" #include "config.h" #include "input.h" Body* body_list; int nbodies; uint8_t running = 1; int follow = 0; extern SDL_Window* win; extern SDL_Renderer* ren; void enable_tracking(Body *b) { b->track = 1; b->history = malloc(N_TRACK*sizeof(Vector)...
Hidodey/nbody
main.c
C
unlicense
2,167
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_putwchar.c :+: :+: :+: ...
tac4ttack/rtv1
libft/ft_putwchar.c
C
unlicense
1,435
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
rampantpixels/rpmalloc-benchmark
benchmark/mimalloc/src/stats.c
C
unlicense
21,227
/* * Copyright (C) 2010 The Android Open Source Project * * 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...
gokutek/ReverseKit
vm/test/AtomicTest.c
C
unlicense
11,228
/** // RIV[CLHASH-256, XOR-CTR[Deoxys-128-128]] reference code. // Note: This uses CLHASH with four iterations of the // Toeplitz matrix extension. // Note: This version might be susceptible to side-channel attacks. // // Deoxys-128-128 code was adapted from v1.1 of the optimized implementation by // Jeremy Jea...
medsec/riv
riv-clhash-256/ref/riv.c
C
unlicense
12,088
#include "test.h" #include "mongo.h" #include <sys/socket.h> #include "libmongo-private.h" void test_mongo_sync_cmd_insert (void) { mongo_sync_connection *c; bson *b1, *b2; c = test_make_fake_sync_conn (-1, FALSE); b1 = test_bson_generate_full (); b2 = test_bson_generate_full (); ok (mongo_sync_cmd_inse...
algernon/libmongo-client
tests/unit/mongo/sync/sync_cmd_insert.c
C
apache-2.0
2,170
/* $NetBSD: sectioning.c,v 1.2 2011/05/11 23:20:46 joerg Exp $ */ /* sectioning.c -- for @chapter, @section, ..., @contents ... Id: sectioning.c,v 1.25 2004/07/05 22:23:23 karl Exp Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute i...
execunix/vinos
gnu/dist/texinfo/makeinfo/sectioning.c
C
apache-2.0
23,955
/* * Copyright 2017, Victor van der Veen * * 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 applicable law or a...
vusec/typearmor
static/arms_dyninst_cfg.c
C
apache-2.0
29,822
/* * Copyright (c) 2015 - 2016, Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, th...
scottdarch/Noer
FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/boards/frdmk66f/usb_examples/usb_host_hid_generic/freertos/app.c
C
apache-2.0
8,382
/* * Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
jldodds/s2n
crypto/s2n_dhe.c
C
apache-2.0
10,095
/*******************************************ÉêÃ÷*************************************** ±¾Ç¶Èëʽ²Ù×÷ϵͳδ¾­ÊÚȨ£¬½ûÖ¹Ó¦ÓÃÓÚÈκÎÉÌÒµÓÃ; °æÈ¨ËùÓУ¬ÇÖȨ±Ø¾¿ http://www.trtos.com/ **************************************************************************************/ #include <Include.h> #include <Driver_Include.h>...
tongjinlv/trtos
USER/Prj_CXHeftSensor/CXHeftSensor_main.c
C
apache-2.0
2,235
/* Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable 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...
freeVM/freeVM
enhanced/buildtest/tests/vts/vm/src/test/vm/jni/static_methods/CallStaticByteMethodVTest/CallStaticByteMethodVTest.c
C
apache-2.0
5,534
/* * Copyright 1999-2006 University of Chicago * * 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 applicable law...
gridcf/gct
xio/src/test/http_pingpong_test.c
C
apache-2.0
17,075
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "esp_blufi_api.h" #include "btc/btc_task.h" #include "btc_blufi_prf.h" #include "btc/btc_manage.h" #include "osi/future.h" #if (BLUFI_INCLUDED == TRUE) esp_err_t esp_blufi_register_callba...
espressif/esp-idf
components/bt/common/api/esp_blufi_api.c
C
apache-2.0
3,642