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
// This file is part of FIREwork // // FIREwork 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. // // FIREwork is distributed in th...
hksonngan/astir.firework
bin/convert_root2bin.c
C
gpl-3.0
2,665
// RUN: %clang_cc1 -O1 -triple x86_64-none-linux-gnu -emit-llvm -debug-info-kind=line-tables-only %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=LIFETIME // We shouldn't have markers at -O0 or with msan. // RUN: %clang_cc1 -O0 -triple x86_64-none-linux-gnu -emit-llvm -debug-info-kind=line-tables-only %s -o...
HexHive/datashield
compiler/llvm/tools/clang/test/CodeGen/cleanup-destslot-simple.c
C
gpl-3.0
1,202
/* Brain Rarely Accepts Incoherent Nonsense (BRAIN) Copyright 2012-2013 Joshua Hawcroft This file is part of BRAIN. BRAIN 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...
jhawcroft/brain
src/nl/init.c
C
gpl-3.0
1,041
/* * Copyright 2012 Red Hat Inc. * * 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 to use, copy, modify, merge, publish, d...
williamfdevine/PrettyLinux
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.c
C
gpl-3.0
1,573
/* * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client * Copyright (C) 1999-2011 Colin Leroy <colin@colino.net> * 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 Softw...
chriskmanx/qmole
QMOLEDEV/claws-mail-3.7.10/src/ssl_manager.c
C
gpl-3.0
11,516
/* Multiple versions of strspn. PowerPC64 version. Copyright (C) 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 Soft...
geminy/aidear
oss/glibc/glibc-2.24/sysdeps/powerpc/powerpc64/multiarch/strspn.c
C
gpl-3.0
1,259
/* * Copyright (c) 2000-2012 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_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 ex...
p01arst0rm/decorum-linux
_resources/kernels/xnu-arm/osfmk/ipc/ipc_init.c
C
gpl-3.0
8,038
/* radare - LGPL - Copyright 2009-2016 - pancake */ #include <stdio.h> #include <string.h> #include <getopt.c> #include <r_io.h> #include <r_hash.h> #include <r_util.h> #include <r_print.h> #include <r_crypto.h> #include "../blob/version.c" static ut64 from = 0LL; static ut64 to = 0LL; static int incremental = 1; sta...
Ekleog/radare2
binr/rahash2/rahash2.c
C
gpl-3.0
16,653
/* This file is part of GNUnet. (C) 2009, 2011, 2012 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 yo...
schanzen/gnunet-mirror
src/statistics/test_statistics_api_watch.c
C
gpl-3.0
4,381
/* $XConsortium: XKBui.c /main/2 1995/12/07 21:18:19 kaleb $ */ /************************************************************ Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby g...
chriskmanx/qmole
QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/lib/xkbui/XKBui.c
C
gpl-3.0
20,724
/* * 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...
frank26080115/cleanflight
src/main/drivers/serial_softserial.c
C
gpl-3.0
12,895
/* * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * From ASN.1 module "ACSE-1" * found in "../../../dumpvdl2.asn1/atn-b1_ulcs.asn1" * `asn1c -fcompound-names -fincludes-quoted -gen-PER` */ #include "ACSE-apdu.h" static asn_per_constraints_t asn_PER_type_ACSE_apdu_constr_1 GCC_NOTUSED = { { APC_CONSTRA...
szpajder/dumpvdl2
src/asn1/ACSE-apdu.c
C
gpl-3.0
2,962
/* Intel PRO/1000 Linux driver * Copyright(c) 1999 - 2015 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed i...
williamfdevine/PrettyLinux
drivers/net/ethernet/intel/e1000e/ich8lan.c
C
gpl-3.0
169,375
/* Generated by CIL v. 1.3.7 */ /* print_CIL_Input is true */ #line 4 "/ddverify-2010-04-30/models/seq1/include/asm/posix_types.h" typedef unsigned long __kernel_ino_t; #line 5 "/ddverify-2010-04-30/models/seq1/include/asm/posix_types.h" typedef unsigned short __kernel_mode_t; #line 7 "/ddverify-2010-04-30/models/seq1...
nishanttotla/predator
tests/svcomp-fail/heap-manipulation14/ddv_machzwd_outl_p_true.cil.c
C
gpl-3.0
152,040
/* Quickscope - a software oscilloscope * Copyright (C) 2012-2014 Lance Arsenault * GNU General Public License version 3 */ #include <string.h> #include <limits.h> #include <stdlib.h> #include <math.h> #include <stdbool.h> #include <gtk/gtk.h> #include "debug.h" #include "Assert.h" #include "base.h" #include "adjus...
lanceman2/quickscope
lib/adjusterBool.c
C
gpl-3.0
1,793
/* * C293PCIE Board Setup * * Copyright 2013 Freescale Semiconductor Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) a...
williamfdevine/PrettyLinux
arch/powerpc/platforms/85xx/c293pcie.c
C
gpl-3.0
1,609
/* * setup.c - boot time setup code */ #include <linux/init.h> #include <linux/export.h> #include <asm/bootinfo.h> #include <asm/reboot.h> #include <asm/time.h> #include <linux/ioport.h> #include <asm/mach-rc32434/rb.h> #include <asm/mach-rc32434/pci.h> struct pci_reg __iomem *pci_reg; EXPORT_SYMBOL(pci_reg); st...
williamfdevine/PrettyLinux
arch/mips/rb532/setup.c
C
gpl-3.0
1,527
/* * ALSA sequencer Timer * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl> * Jaroslav Kysela <perex@perex.cz> * * * 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 ...
williamfdevine/PrettyLinux
sound/core/seq/seq_timer.c
C
gpl-3.0
12,341
/* RetroArch - A frontend for libretro. * Copyright (C) 2014-2015 - Mike Robinson * * 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- * ation, either version 3 of the License, or (at your option) ...
xerpi/RetroArch
input/drivers_joypad/parport_joypad.c
C
gpl-3.0
11,233
/*************************************************************************** JSPICE3 adaptation of Spice3f2 - Copyright (c) Stephen R. Whiteley 1992 Copyright 1990 Regents of the University of California. All rights reserved. Authors: 1988 Hong June Park 1993 Stephen R. Whiteley ******************************...
henjo/gnucap-models
models-jspice3-2.5/bsim2/b2mask.c
C
gpl-3.0
13,244
/* 0-Software. Implements singly linked lists */ #include <stdlib.h> #include <string.h> #include <stdio.h> #include "slist.h" #ifdef TESTX #include <CUnit/Cunit.h> #include <CUnit/Basic.h> #endif /* Initializes a structrue of type slist Return: A valid pointer to a slist structure or NULL on failure */ struct ...
forflo/libkact
sl_list.c
C
gpl-3.0
8,080
/* base64encode.c - modified by David Lazar Originally: cencoder.c - c source to a base64 encoding algorithm implementation This is part of the libb64 project, and has been placed in the public domain. For details, see http://sourceforge.net/projects/libb64 */ #include <stddef.h> #include <stdint.h> #include "base64...
lzhouAlan/ccode_test
certifificate/base64encode.c
C
gpl-3.0
2,969
/* * Copyright (c) 2016-2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * n...
jakapoor/AMRUPT
Firmware/Mobile-and-Ground_Communication/V_1.0/Mobile-node_code/rfListenBeforeTalk_CC1310_LAUNCHXL_tirtos_ccs/rfListenBeforeTalk.c
C
gpl-3.0
6,540
/* * ams-iaq-core.c - Support for AMS iAQ-Core VOC sensors * * Copyright (C) 2015 Matt Ranostay <mranostay@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of...
williamfdevine/PrettyLinux
drivers/iio/chemical/ams-iaq-core.c
C
gpl-3.0
4,887
/* * @OPENGROUP_COPYRIGHT@ * COPYRIGHT NOTICE * Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. * Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group * ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for * the full copyright text. * * This software is subject ...
CPFDSoftware-Tony/gmv
utils/OpenMotif/openMotif-2.3.3/lib/Mrm/Mrmerror.c
C
gpl-3.0
7,364
/* * test_loop_modification.c * * Tests the CIF API's general functions for manipulating existing data, * cif_pktitr_update_packet() and cif_pktitr_remove_packet(). * * Copyright 2014, 2015 John C. Bollinger * * * This file is part of the CIF API. * * The CIF API is free software: you can redistribute it and...
COMCIFS/cif_api
src/tests/test_loop_modification.c
C
gpl-3.0
20,642
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2015 - 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/udev_joypad.c
C
gpl-3.0
16,864
/* * 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...
flounderscore/inav
src/main/drivers/barometer/barometer_bmp280.c
C
gpl-3.0
6,662
/** * || ____ _ __ * +------+ / __ )(_) /_______________ _____ ___ * | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \ * +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/ * || || /_____/_/\__/\___/_/ \__,_/ /___/\___/ * * Crazyflie 2.0 NRF Firmware * Copyright (c) 2014, Bitcraze ...
DroneBucket/Drone_Bucket_CrazyFlie2_NRF_Firmware
src/slave/esb.c
C
gpl-3.0
11,033
// SESSION : 2016-17 // LAB : PROGRAMMING TOOLS - II // ASSIGNMENT : #6 // PROBLEM : #3 // CODE : - #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/wait.h> #include <signal.h> int status; void sig_handler(int sig) { printf("This is the CUSTOM signal handler\n"); if ( WIFEXIT...
1c3b3r6/PROG_TOOLS2
6ASSIGN/3p_assgn6.c
C
gpl-3.0
1,156
/* Red Black Trees (C) 1999 Andrea Arcangeli <andrea@suse.de> (C) 2002 David Woodhouse <dwmw2@infradead.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Li...
xiao0613cn/AModule
base/rbtree.c
C
gpl-3.0
8,920
/* Test of case-insensitive memory area comparison function. Copyright (C) 2007-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the...
Distrotech/coreutils
gnulib/tests/test-mbmemcasecoll.c
C
gpl-3.0
1,847
/* * SSL3 Protocol * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://w...
tmhorne/celtx
security/nss/lib/ssl/ssl3ext.c
C
mpl-2.0
42,898
// SLPRINTF.C // (c) Marco Paland (info@paland.com) 2014-2019, PALANDesign Hannover, Germany // license The MIT License (MIT) // // 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 res...
papyrussolution/OpenPapyrus
Src/SLib/slprintf.c
C
agpl-3.0
55,312
/** ****************************************************************************** * @file TIM/TIM_7PWMOutput/Src/stm32f4xx_it.c * @author MCD Application Team * @version V1.2.5 * @date 29-January-2016 * @brief Main Interrupt Service Routines. * This file provides template for al...
mariobarbareschi/stm32-compiler-docker
STM32Cube_FW_F4_V1.11.0/Projects/STM324xG_EVAL/Examples/TIM/TIM_7PWMOutput/Src/stm32f4xx_it.c
C
agpl-3.0
5,585
/** ****************************************************************************** * @file BSP/Src/sram.c * @author MCD Application Team * @version V1.0.3 * @date 29-January-2016 * @brief This example code shows how to use the SRAM Driver ***************************************************...
mariobarbareschi/stm32-compiler-docker
STM32Cube_FW_F4_V1.11.0/Projects/STM32469I_EVAL/Examples/BSP/Src/sram.c
C
agpl-3.0
10,854
/*Students' performance manipulation*/ /*Konstantinos Spalas, cst08094 * Only me in group */ #include <stdio.h> #define N 3//Here we change the amount of students allowed to store.Now is until three. //All the functions take as parameter the array of students //Presume that the values(ID,age,sex and degree) stored...
konnnGit/University
studentsPerformanceManipulation/Students'_performance_manipulation.c
C
agpl-3.0
4,182
/* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2018, 2020, 2021 Raymond Jennings * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Softw...
shentino/kotaka
mud/home/Game/initd.c
C
agpl-3.0
3,367
/* * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * From ASN.1 module "EUTRA-InterNodeDefinitions" * found in "36331-ac0.asn" * `asn1c -S /home/nyee/srsLTE/srslte/examples/src/asn1c/skeletons -fcompound-names -fskeletons-copy -gen-PER -pdu=auto` */ #include "CandidateCellInfo-r10.h" static asn_TYPE_mem...
nyee32/Senior_Project
lte/CandidateCellInfo-r10.c
C
agpl-3.0
3,754
/********************************************************************* * Portions COPYRIGHT 2016 STMicroelectronics * * Portions SEGGER Microcontroller GmbH & Co. KG * * Solutions for real time microcontroller applications * ********************************...
mariobarbareschi/stm32-compiler-docker
STM32Cube_FW_F4_V1.11.0/Projects/STM32F429I-Discovery/Applications/STemWin/STemWin_SampleDemo/Demo/GUIDEMO_Cursor.c
C
agpl-3.0
7,522
#include "mupdf/fitz.h" /* 4bit greyscale Thunderscan decoding */ typedef struct { fz_stream *chain; int lastpixel; int run; int pixel; int len; unsigned char *buffer; } fz_thunder; static int next_thunder(fz_context *ctx, fz_stream *stm, size_t max) { fz_thunder *state = stm->state; unsigned char *p = stat...
sebras/mupdf
source/fitz/filter-thunder.c
C
agpl-3.0
2,882
/* * Copyright (C) Tildeslash Ltd. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even th...
ezotrank/monit-src
src/protocols/mysql.c
C
agpl-3.0
4,907
/* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2018 Raymond Jennings * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundati...
shentino/kotaka
mud/home/Thing/sys/propertyd.c
C
agpl-3.0
4,221
/* * Copyright (c) 2010, JANET(UK) * 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 condit...
papyrussolution/OpenPapyrus
Src/OSF/cyrus-sasl/plugins/gs2.c
C
agpl-3.0
56,848
#include <stdio.h> #define size 1001 inline int in() { int x = 0, ch; do ch = getchar(); while (ch < '0' || ch > '9'); while (ch >= '0' && ch <= '9') x = x * 10 + ch - '0', ch = getchar(); return x; } int tot, arrays[size][size], len[size][2], arr[size], arr_size; int main(int argc, const char *argv[]) { freop...
ice1000/OI-codes
none-oj-codes/array.c
C
agpl-3.0
1,230
/* * minilex.c * * High efficiency lexical state parser * * Copyright (C)2011-2020 Andy Green <andy@warmcat.com> * * Licensed under MIT * * Usage: gcc minilex.c -o minilex && ./minilex > lextable.h * * Run it twice to test parsing on the generated table on stderr * * Whoo this got a bit complicated by lws-...
FriendSoftwareLabs/friendup
libs-ext/libwebsockets/lib/roles/http/minilex.c
C
agpl-3.0
9,911
/* Copyright (C) 2002, 2003, 2004, 2005, 2006 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 ...
czankel/xtensa-uclibc
libc/sysdeps/linux/common/sched_getaffinity.c
C
lgpl-2.1
1,586
/* vi: set sw=4 ts=4: */ /* * libfakechroot -- fake chroot environment * (c) 2003-2005 Piotr Roszatycki <dexter@debian.org>, LGPL * (c) 2006, 2007 Alexander Shishkin <virtuoso@slind.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
OpenInkpot-archive/iplinux-fakechroot-cross
src/execvp.c
C
lgpl-2.1
3,551
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * 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 o...
rkudiyarov/clutter_osx
clutter/clutter-shader-effect.c
C
lgpl-2.1
24,734
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* * Copyright (C) 2011, 2012, 2013, 2014, 2015 Red Hat, 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; eit...
felipeborges/gnome-online-accounts
src/goabackend/goaprovider.c
C
lgpl-2.1
50,722
/* ________ _____ ____________ ___ __ )____ ___ /_______ ___/_ /__________________ _______ ___ __ __ |_ / / / __/ _ \____ \_ __/_ ___/ _ \ __ `/_ __ `__ \ _ /_/ /_ /_/ // /_ / __/___/ // /_ _ / / __/ /_/ /_ / / / / / /_____/ _\__, / \__/ \___//____/ \__/ /_/ \___/\__,...
simpleigh/bytestream.c
lib/compare.c
C
lgpl-2.1
2,911
/* * libraw1394 - library for raw access to the 1394 bus with the Linux subsystem. * * Copyright (C) 2008 Dan Dennedy <dan@dennedy.org> * * This library is licensed under the GNU Lesser General Public License (LGPL), * version 2.1 or later. See the file COPYING.LIB in the distribution for * details. */ #includ...
Distrotech/libraw1394
src/dispatch.c
C
lgpl-2.1
19,343
/* CSP For Posix Threads Copyright (C) 2000 Richard Beton This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later ...
arian/libcsp
tests/chantest1.c
C
lgpl-2.1
1,628
/* Copyright (C) 2014 Fredrik Johansson This file is part of Arb. Arb is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) ...
pascalmolin/arb
acb_poly/zeta_em_choose_param.c
C
lgpl-2.1
2,741
/* * RELIC is an Efficient LIbrary for Cryptography * Copyright (C) 2007-2014 RELIC Authors * * This file is part of RELIC. RELIC is legal property of its developers, * whose names are not listed here. Please refer to the COPYRIGHT file * for contact information. * * RELIC is free software; you can redistribute...
enascimento/relic-git-avr
src/low/easy/relic_bn_add_low.c
C
lgpl-2.1
2,629
/* Copyright (C) Seiko Epson Corporation 2009. 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 2.1 of the License, or (at your option) any later version. Thi...
hotvic/epson-inkjet-printer-filter
src/raster/blendSource/blend-watermark-wbf-reader.c
C
lgpl-2.1
7,356
/** * @file lab.c * @synopsis * @author a1an1in@sina.com * @version * @date 2016-10-11 */ /* Copyright (c) 2015-2020 alan lin <a1an1in@sina.com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistrib...
a1an1in/libobject
src/cmds/mockery/lab/string.c
C
lgpl-2.1
3,226
/* Simple DirectMedia Layer Copyright (C) 2009-2014 Sergii Pylypenko This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, inc...
dd00/commandergenius
project/jni/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c
C
lgpl-2.1
52,746
#include <stdio.h> #if defined(TARGET_MSDOS) #include <conio.h> /* this is where Open Watcom hides the outp() etc. functions */ #include <ctype.h> #endif #include <stdlib.h> #include <unistd.h> #include <assert.h> #include <fcntl.h> #include <math.h> #if defined(TARGET_MSDOS) #include <dos.h> #endif #if defined(TARGE...
joncampbell123/doslib
fmt/minipng/minipn48.c
C
lgpl-2.1
1,044
/* casio-qv.c * * Copyright © 2001 Lutz Müller * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * Thi...
jcoenraadts/libgphoto2
camlibs/casio/casio-qv.c
C
lgpl-2.1
10,496
/** * This file is part of the tlog Library. * * Copyright 2017, Huang Yang <elious.huang@gmail.com>. All rights reserved. * * See the COPYING file for the terms of usage and distribution. */ #include <string.h> #include <stdlib.h> #include <errno.h> #include "thash_string.h" #include "tassert.h" /**************...
semerlin/tlog
src/thash_string.c
C
lgpl-2.1
12,497
/* Copyright (C) 2003 Commonwealth Scientific and Industrial Research Organisation (CSIRO) Australia Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above c...
fungos/seed1
contrib/oggplay/oggplay.c
C
lgpl-2.1
22,034
/* GStreamer H264 encoder plugin * Copyright (C) 2005 Michal Benes <michal.benes@itonis.tv> * Copyright (C) 2005 Josef Zlomek <josef.zlomek@itonis.tv> * Copyright (C) 2008 Mark Nauwelaerts <mnauw@users.sf.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU...
cpopescu/whispermedialib
third-party/gstreamer/gst-plugins-ugly-0.10.15/ext/x264/gstx264enc.c
C
lgpl-3.0
47,157
/* mpfr_set_str_binary -- set a floating-point number from a binary string Copyright 1999-2017 Free Software Foundation, Inc. Contributed by the AriC and Caramba projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/or modify it under the terms...
UBERTC/mpfr
src/set_str_raw.c
C
lgpl-3.0
1,691
/* * This file is part of the LAIK library. * Copyright (c) 2017, 2018 Josef Weidendorfer <Josef.Weidendorfer@gmx.de> * * LAIK 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, version 3 or later. ...
envelope-project/laik
src/backend-single.c
C
lgpl-3.0
3,647
#ifndef THRESHTREE_C #define THRESHTREE_C #include <stdlib.h> #include <stdio.h> #include <time.h> #include <string.h> //for memset #include "threshtree.h" #include "threshtree_macros.h" //#include "threshtree_macros_old.h" bool threshtree_create_workspace( const unsigned int w, const unsigned int h, Threshtre...
YggdrasiI/RPIMotionDetection
libs/blobdetection/threshtree.c
C
lgpl-3.0
39,250
/**************************************************************************** * uip-resolv.c * DNS host name to IP address resolver. * * The uIP DNS resolver functions are used to lookup a hostname and * map it to a numerical IP address. It maintains a list of resolved * hostnames that can be queried with the res...
apaikan/myCub
firmware/apps/netutils/resolv/resolv.c
C
lgpl-3.0
15,287
/* * vim:expandtab:shiftwidth=8:tabstop=8: */ /** * * \file fsal_truncate.c * \author $Author: leibovic $ * \date $Date: 2005/07/29 09:39:05 $ * \version $Revision: 1.4 $ * \brief Truncate function. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "fsal.h" #include "fsal_internal.h" #i...
alangenfeld/cloud-nfs
FSAL/FSAL_SNMP/fsal_truncate.c
C
lgpl-3.0
2,741
#include <math.h> typedef struct AHRS{ float _omega_I[3]; float _omega_P[3]; float _omega_yaw_P[3]; float _omega[3]; float _omega_bias[3]; float _omega_I_sum_time; float _quaternion[4]; float _euler[3]; float cbn11, cbn12, cbn13; float cbn21, cbn22, cbn23; float cbn31, cb...
matthewzhenggong/fiwt
FlightInWindTunnel.X/AHRS.c
C
lgpl-3.0
4,470
#include "SDL2/SDL.h" #include "SDL2_image/SDL_image.h" #include "graphics.h" #include <stdio.h> void graphics_init(graphics_t *graphics, int width, int height, int bpp, void *args) { SDL_Window *window; SDL_Init( SDL_INIT_EVERYTHING); window = SDL_CreateWindow( "SDL Tutorial", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOW...
jia200x/ZephyrJC
core/graphics_sdl.c
C
lgpl-3.0
1,789
/***************************************************************************** * Product: "Blinky" on MSP-EXP430G2, preemptive QK kernel * Last Updated for Version: 5.4.0 * Date of the Last Update: 2015-04-04 * * Q u a n t u m L e a P s * --------------------------- * ...
hyller/GladiatorCots
QP/v5.4.2/qpc/examples/msp430/blinky_msp-exp430g2/qk/bsp.c
C
unlicense
5,310
/* MIT License Copyright (c) 2017-2021 Mark E Sowden <hogsy@oldtimes-software.com> 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 to ...
Core-Development-Group/OpenPL
plcore/package/package_4x.c
C
unlicense
4,193
/* * Copyright (c) 2016 Freescale Semiconductor, Inc. * Copyright (c) 2018 Foundries.io * * SPDX-License-Identifier: Apache-2.0 */ #include <errno.h> #include <device.h> #include <pinmux.h> #include <fsl_common.h> #include <fsl_clock.h> struct pinmux_rv32m1_config { clock_ip_name_t clock_ip_name; PORT_Type *b...
explora26/zephyr
drivers/pinmux/pinmux_rv32m1.c
C
apache-2.0
3,496
/* $NetBSD: resolve_local.c,v 1.1.1.2 2013/01/02 18:59:00 tron Exp $ */ /*++ /* NAME /* resolve_local 3 /* SUMMARY /* determine if domain resolves to local mail system /* SYNOPSIS /* #include <resolve_local.h> /* /* void resolve_local_init() /* /* int resolve_local(domain) /* const char *domain; /* DESCRIPTION /* reso...
execunix/vinos
external/ibm-public/postfix/dist/src/global/resolve_local.c
C
apache-2.0
5,728
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
siconos/siconos-deb
numerics/src/FrictionContact/GlobalFrictionContactProblem.c
C
apache-2.0
5,821
/*******************************************ÉêÃ÷*************************************** ±¾Ç¶Èëʽ²Ù×÷ϵͳδ¾­ÊÚȨ£¬½ûÖ¹Ó¦ÓÃÓÚÈκÎÉÌÒµÓÃ; °æÈ¨ËùÓУ¬ÇÖȨ±Ø¾¿ http://www.trtos.com/ **************************************************************************************/ #include <..\USER\Prj_TP502T\UpgradeByGPRS.h> ...
tongjinlv/trtos
USER/Prj_TP502T/UpgradeByGPRS.c
C
apache-2.0
9,214
/* * OMX Video encoder * Copyright (C) 2011 Martin Storsjo * * 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 Software Foundation; either * version 2.1 of the License, or (a...
darlyhellen/oto
NDKFFmpeg/jni/ffmpeg/libavcodec/omx.c
C
apache-2.0
37,337
/* Copyright (c) 2013, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this list of c...
eliot-shao/qcom
msm8916_lk_mpp2_adc_test/pm8x41_adc.c
C
apache-2.0
11,236
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/crypto/drivers/otbn.h" #include <assert.h> #include <stddef.h> #include <stdint.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device...
lowRISC/opentitan
sw/device/lib/crypto/drivers/otbn.c
C
apache-2.0
4,988
/* Copyright 2011-2012 StormMQ Limited 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 ...
libamqp/libamqp
src/LibAmqp/Transport/LowLevel/EventLoop.c
C
apache-2.0
2,000
editCreateWorkout: editorButtons: deleteIcon Set Variable [ $delete; Value:Right ( Get ( ActiveLayoutObjectName ) ; 2 ) ] Go to Object [ Object Name: "segment" & $delete ] If [ Get ( ActiveFieldContents ) = "" ] Go to Field [ ] Set Variable [ $delete ] Refresh Window Exit Script [ ] End If Show Custom Dialog [ Message:...
HelpGiveThanks/HeartWhisperer
scripts/editCreateWorkout/editorButtons/deleteIcon.c
C
apache-2.0
2,108
/* * Wininet - HTTP Implementation * * Copyright 1999 Corel Corporation * Copyright 2002 CodeWeavers Inc. * Copyright 2002 TransGaming Technologies Inc. * Copyright 2004 Mike McCormack for CodeWeavers * Copyright 2005 Aric Stewart for CodeWeavers * Copyright 2006 Robert Shearman for CodeWeavers * Copyright 201...
howard5888/wine
wine-1.7.7/dlls/wininet/http.c
C
apache-2.0
203,685
/* * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014 Nicira, Inc. * * 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 * * Unles...
onecloud/ovs-igmp-v3
lib/dpif.c
C
apache-2.0
54,787
// Copyright 2014 Technical Machine, Inc. See the COPYRIGHT // file at the top-level directory of this distribution. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your /...
tessel/t1-firmware
src/sys/bootloader.c
C
apache-2.0
1,978
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
Danack/ImageMagick
coders/json.c
C
apache-2.0
61,414
/* * Copyright (c) 2009-2013 by Farsight Security, Inc. * * 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 appli...
hstern/nmsg
nmsg/input_nmsg.c
C
apache-2.0
15,168
/* ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 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 ap...
netik/dc26_spqr_badge
sw/firmware/ChibiOS/testhal/STM32/STM32F37x/PWM-ICU/main.c
C
apache-2.0
3,476
/* * Copyright (c) 2014 Apple 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 * complia...
WymanLyu/WYDemo
Animation/11-16Animation/11-16Animation/CF-1151.16/CFLocaleIdentifier.c
C
apache-2.0
136,700
/* * FreeModbus Libary: A portable Modbus implementation for Modbus ASCII/RTU. * Copyright (c) 2006 Christian Walter <wolti@sil.at> * 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. ...
espressif/ESP8266_RTOS_SDK
components/freemodbus/modbus/tcp/mbtcp_m.c
C
apache-2.0
5,462
/************************************************************************** * * Copyright (c) 2013 Alcatel-Lucent * * Alcatel Lucent licenses this file to You 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 cont...
jrcatbagan/umon-old
main/common/flash.c
C
apache-2.0
33,376
/* * Copyright 2008 Advanced Micro Devices, Inc. * * 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 to use, copy, modify, m...
execunix/vinos
xsrc/external/mit/xf86-video-radeonhd/dist/src/r600_textured_videofuncs.c
C
apache-2.0
19,036
/* * Copyright (c) 2015 Cisco and/or its affiliates. * 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 applicabl...
vpp-dev/vpp
src/plugins/dpdk/device/node.c
C
apache-2.0
15,254
/* $NetBSD: ucdata.c,v 1.1.1.4 2014/05/28 09:58:44 tron Exp $ */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2014 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ar...
execunix/vinos
external/bsd/openldap/dist/libraries/liblunicode/ucdata/ucdata.c
C
apache-2.0
36,507
#include <lua.h> #include <lauxlib.h> #include <stdio.h> #include <string.h> /* Don't define bool, true, and false in C++, except as a GNU extension. */ #ifndef __cplusplus #define bool int #define true 1 #define false 0 #elif defined(__GNUC__) && !defined(__STRICT_ANSI__) /* Define _Bool, bool, false, true as a GNU...
idtek/extendwork
lib/cocos2d-x/scripting/lua/cocos2dx_support/snapshot.c
C
apache-2.0
11,451
/* * Copyright 2012-present Facebook, Inc. * * 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...
mhaberler/libphenom
corelib/counter.c
C
apache-2.0
14,832
#include <stdio.h> #include <stdlib.h> #include "include/Status.h" void heapAdjust(int h[], int s, int m) {// 构建序列h[s, m]的堆(完全二叉树),堆顶h[1]为序列的最大值,s > 0 int rc = h[s]; for(int j = 2*s; j <= m; j *= 2) {// 遍历一棵完全二叉树,j指向二叉树的左树 if((j < m) && (h[j] < h[j+1])) j++; //若右子树大于左子树,取右子树 if(rc > h[j]) break; //若根比子树大,不需要交换...
tianqichongzhen/ProgramPrac
DataStruct/HeapSort.c
C
apache-2.0
1,384
/* Copyright 1999-2004 The Apache Software Foundation * * 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 applica...
JBlond/mod_log_rotate
src/mod_log_rotate.c
C
apache-2.0
15,785
// RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 %s // RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 %s int foo() { L1: foo(); #pragma omp atomic // expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x++;', 'x--;', 'x binop= expr;', 'x = x binop ...
apple/swift-clang
test/OpenMP/atomic_messages.c
C
apache-2.0
17,619
/* ============================================================================ * Project Name : ezbox configuration utilities * File Name : http/admin/http_html_admin_status_lan.c * * Description : interface to configurate ezbox information * * Copyright (C) 2008-2013 by ezbox-project * * History Rev ...
zetalabs/hi3520d
osdrv/ezcfg/ezcfg-0.1/libezcfg/src/bak/http/admin/http_html_admin_status_lan.c
C
apache-2.0
15,825
/* * Use GL_NV_fragment_program to implement per-pixel lighting. * * Brian Paul * 7 April 2003 */ #include <assert.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <GL/glew.h> #include "glut_wrap.h" static GLfloat Diffuse[4] = { 0.5, 0.5, 1.0, 1.0 }; static GLfloat Specul...
execunix/vinos
xsrc/external/mit/mesa-demos/dist/src/demos/fplight.c
C
apache-2.0
7,127