code
stringlengths
6
250k
repo_name
stringlengths
5
70
path
stringlengths
3
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
6
250k
/* * linux/arch/arm/mach-mmp/board-baffinq.c * * Support for the Marvell PXA988 Emei DKB Development Platform. * * Copyright (C) 2012 Marvell International Ltd. * * 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 * ...
bensonhsu2013/diff-T210-T110
arch/arm/mach-mmp/board-baffinq.c
C
gpl-2.0
121,321
/* * This file is part of the coreboot project. * * It was originally based on the Linux kernel (drivers/pci/pci.c). * * Modifications are: * Copyright (C) 2003-2004 Linux Networx * (Written by Eric Biederman <ebiederman@lnxi.com> for Linux Networx) * Copyright (C) 2003-2006 Ronald G. Minnich <rminnich@gmail.co...
ggkitsas/coreboot
src/device/pci_device.c
C
gpl-2.0
42,619
#include "mex.h" #include "math.h" #include "func_BarycentricCoordinatesTriangle.c" void mexFunction( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] ) { /* Size of output */ int odims[2]={1, 3}; double *Lambda; double *VN0, *VN1, *VN2,*RX, *RY; VN0=(double *)mxGetDat...
andreashorn/lead_dbs
ext_libs/Mesh2Tetra/functions/mexfunctions/BarycentricCoordinatesTriangle.c
C
gpl-3.0
703
/***************************************************************************** */ /* This file is part of Forward OS. */ /* */ /* Forward OS is free software: you can redistribute it and/or modify ...
kookerus/Forward-OS
src/timer.c
C
gpl-3.0
2,438
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This program is distributed in the hope tha...
uhhpctools/openuh-openacc
osprey/libu/clib/limit.c
C
gpl-3.0
1,492
/* bug-2548.c */ #include <testfwk.h> int *p; void testBug(void) { !(((p != 0)&1)); }
dfreniche/cpctelera
cpctelera/tools/sdcc-3.6.8-r9946/src/support/regression/tests/bug-2548.c
C
gpl-3.0
94
/* This file is part of darktable, Copyright (C) 2010-2020 darktable developers. darktable is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opti...
mazhe/darktable
src/gui/presets.c
C
gpl-3.0
64,374
/* * Copyright (c) 2009 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 * compli...
darlinghq/darling
src/dyld/unit-tests/test-cases/coreSymbolication-notify/main.c
C
gpl-3.0
1,632
/* Copyright (C) 2010-2018 The RetroArch team * * --------------------------------------------------------------------------------------- * The following license statement only applies to this file (stdstring.c). * --------------------------------------------------------------------------------------- * * Permis...
orbea/RetroArch
libretro-common/string/stdstring.c
C
gpl-3.0
9,395
/* vim: set expandtab ts=4 sw=4: */ /* * You may redistribute this program 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...
woshilapin/cjdns
util/Pinger.c
C
gpl-3.0
6,198
/* FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the terms of...
RobsonRojas/frertos-udemy
Keil-FreeRTOS-Sample-Project/Keil-FreeRTOS/FreeRTOSv9.0.0/FreeRTOS/Demo/PIC32MX_MPLAB/ParTest/ParTest_USBII_Starter_Kit.c
C
gpl-3.0
5,186
/* * asn1_ber_primitive_value.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 Lice...
careychow/libIEC61850
src/mms/asn1/asn1_ber_primitive_value.c
C
gpl-3.0
2,355
/* * Rate converter plugin using libavcodec's resampler * Copyright (c) 2007 by Nicholas Kain <njkain@gmail.com> * * based on rate converter that uses libsamplerate * Copyright (c) 2006 by Takashi Iwai <tiwai@suse.de> * * This library is free software; you can redistribute it and/or * modify it under the terms ...
Themaister/alsa-plugins-rsound
rate-lavc/rate_lavcrate.c
C
lgpl-2.1
7,108
/* GStreamer * Copyright (C) <2010> Wim Taymans <wim.taymans@gmail.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, or (at your option) any...
froggatt/gst-plugins-good-m
gst/rtp/gstrtpgstdepay.c
C
lgpl-2.1
16,098
/* * ctx.c: Context related functions * * Copyright (C) 2002 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; either * version 2.1 of the Licens...
kasparsd/opensc-latvia-id
src/libopensc/ctx.c
C
lgpl-2.1
26,031
/* * jniExecClass.c * * Copyright (c) 2004 * The Kaffe.org's developers. See ChangeLog for details. * * See the file "license.terms" for information on usage and redistribution * of this file. */ #include <jni.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <ltdl.h> static char *conca...
02N/kaffe
test/jni/jniExecClass.c
C
lgpl-2.1
2,373
#include <sys/ioctl.h> /* VME Linux driver test/demo code */ /* * Include files */ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <errno.h> #include "../vmedrv.h" vmeInfoCfg_t myVmeInfo; int getMyInfo() { int fd, status...
diamondIPP/eudaq-drs4
extern/Tsi148/testapps/vmesetinbound.c
C
lgpl-3.0
3,137
/* ecc-add-ehh.c Copyright (C) 2014 Niels Möller This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the Lic...
ShiftMediaProject/nettle
ecc-add-ehh.c
C
lgpl-3.0
3,266
/** * Author: Claude Abounegm */ #include <Shadow.h> #include <standard/CurrentThread.h> // METHOD SIGNATURES // shadow_boolean_t __ShadowCurrentThread_Yield(void); // METHOD SIGNATURES // #ifdef SHADOW_WINDOWS #include <Windows.h> shadow_boolean_t __ShadowCurrentThread_Yield(void) { Sleep(0); return true;...
TeamShadow/shadow
shadow/standard/CurrentThread.c
C
apache-2.0
444
/* * 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...
chrisy/vpp
src/plugins/srv6-am/node.c
C
apache-2.0
9,407
/****************************************************************************** * * Copyright (C) 2009-2012 Broadcom Corporation * * 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: * ...
nineisk/esp-idf
components/bt/bluedroid/stack/gatt/gatt_utils.c
C
apache-2.0
88,491
/* $NetBSD: adler32.c,v 1.1.1.1 2006/01/14 20:10:24 christos Exp $ */ /* adler32.c -- compute the Adler-32 checksum of a data stream * Copyright (C) 1995-2004 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) Id */ #define ZLIB_INTERNAL #include "zlib.h" #define BASE ...
ayyucedemirbas/Minix-Source-Code
minix-master/common/dist/zlib/adler32.c
C
apache-2.0
4,628
/* * (C) Copyright 2002 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> * Marius Groeger <mgroeger@sysgo.de> * * Copyright (C) 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
indashnet/InDashNet.Open.UN2000
lichee/u-boot/arch/arm/lib/bootm.c
C
apache-2.0
10,354
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not...
apache/lucy
perl/xs/Lucy/Index/DocReader.c
C
apache-2.0
4,845
/* SPC5 HAL - Copyright (C) 2013 STMicroelectronics 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 ...
raphaelchang/quadthingy-software
quadrotor/ChibiOS_16.1.4/os/hal/ports/SPC5/SPC5xx/eMIOS_v1/icu_lld.c
C
apache-2.0
22,040
#include <string.h> #include <curses.h> #include "textgfx.h" #include "curs.h" #include "../input/termin.h" #ifndef NCURSES_VERSION const short colors1_6[6] = { COLOR_RED, COLOR_GREEN, COLOR_YELLOW, COLOR_BLUE, COLOR_MAGENTA, COLOR_CYAN }; #endif unsigned textgfx_flags = 0; int margin_x = 0; WINDOW *window; WI...
dankmachine/dank-nooodls-vitetris
src/textgfx/curses.c
C
bsd-2-clause
5,475
#include "evas_common.h" #include "evas_private.h" #include "evas_cs.h" #ifdef EVAS_CSERVE2 #include "evas_cs2_private.h" #endif #ifdef LKDEBUG EAPI Eina_Bool lockdebug = EINA_FALSE; EAPI int lockmax = 0; #endif static int _evas_init_count = 0; int _evas_log_dom_global = -1; EAPI int evas_init(void) { if (++_evas_...
jordemort/evas
src/lib/canvas/evas_main.c
C
bsd-2-clause
15,571
/* SPDX-License-Identifier: BSD-2-Clause */ /******************************************************************************* * Copyright 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG * All rights reserved. *******************************************************************************/ #ifdef HAVE...
01org/TPM2.0-TSS
test/integration/esys-quote.int.c
C
bsd-2-clause
5,650
/* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * Copyright (C) 2010 John Crispin <blogic@openwrt.org> * Based on EP93xx wdt driver */ #define pr_fmt(fmt) KBUILD_MODN...
AiJiaZone/linux-4.0
virt/drivers/watchdog/lantiq_wdt.c
C
gpl-2.0
5,878
/* * File: arm_cm4.c * Purpose: Generic high-level routines for ARM Cortex M4 processors * * Notes: */ #include "common.h" /***********************************************************************/ /* * Configures the ARM system control register for STOP (deep sleep) mode * and then executes the WFI instructi...
andyOsaft/02_SourceCode
freeRTOS/FreeRTOSV7.4.0/FreeRTOSV7.4.0/FreeRTOS/Demo/CORTEX_Kinetis_K60_Tower_IAR/Freescale_Code/cpu/arm_cm4.c
C
mit
4,261
/* This software was developed at the National Institute of Standards and * Technology by employees of the Federal Government in the course of their * official duties. Pursuant to title 17 Section 105 of the United States * Code this software is not subject to copyright protection and is in the * public domain. NIS...
bpowers/DoubleTake
tests/SAMATE/overflow/heap_overflow_location_good_1848.c
C
mit
1,229
// // JHKeyframeAnimationFunctions.c // JHChainableAnimations // // Created by Jeff Hurray on 12/21/16. // Copyright © 2016 jhurray. All rights reserved. // #include "JHKeyframeAnimationFunctions.h" #include <math.h> #include <stdlib.h> // Source: http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js // Cr...
zdrjson/DDKit
iOS/Demo/AwesomeCocopodsLibrary/Pods/JHChainableAnimations/JHChainableAnimations/JHKeyframeAnimationFunctions.c
C
mit
6,305
/* Copyright (C) 2014 by Gianluca Della Vedova You can redistribute this file 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. Box is distributed in the hope that...
bioinformatica-corso/2015-16
intro/fibo3.c
C
cc0-1.0
1,687
/* vi: set sw=4 ts=4: */ /* * update_passwd * * update_passwd is a common function for passwd and chpasswd applets; * it is responsible for updating password file (i.e. /etc/passwd or * /etc/shadow) for a given user and password. * * Moved from loginutils/passwd.c by Alexander Shishkin <virtuoso@slind.org> */ ...
rhuitl/uClinux
user/busybox/libbb/update_passwd.c
C
gpl-2.0
3,867
/* * getopt.c - a simple getopt(3) implementation. See getopt.h for explanation. * * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by th...
prpplague/das_oszi_barebox
lib/getopt.c
C
gpl-2.0
3,949
//----------------------------------------------------------------------------- // massbal.c // // Project: EPA SWMM5 // Version: 5.0 // Date: 6/19/07 (Build 5.0.010) // 2/4/08 (Build 5.0.012) // 4/10/09 (Build 5.0.015) // 10/7/09 (Build 5.0.017) // ...
iut-ibk/DynaMind-ToolBox
DynaVIBe/swmm/src/massbal.c
C
gpl-2.0
35,142
#include <device/device.h> #include "chip.h" struct chip_operations mainboard_ops = { CHIP_NAME("Lippert Cool Frontrunner Mainboard") };
michaelforney/coreboot
src/mainboard/lippert/frontrunner/mainboard.c
C
gpl-2.0
140
//----------------------------------------------------------------------------- // lid.c // // Project: EPA SWMM5 // Version: 5.1 // Date: 07/30/10 (Build 5.0.019) // 04/20/11 (Build 5.0.022) // Author: L. Rossman (US EPA) // // This module handles all processing involving L...
iut-ibk/DynaMind-ToolBox
DynaVIBe/swmm/src/lid.c
C
gpl-2.0
91,930
/* * SuperH Mobile LCDC Framebuffer * * Copyright (c) 2008 Magnus Damm * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #include <linux/atomic.h> #include <linux/backlight.h> #include <...
LiquidSmooth-Devices/android_kernel_htc_msm8974
drivers/video/sh_mobile_lcdcfb.c
C
gpl-2.0
43,584
/* Copyright 2008 - 2016 Freescale Semiconductor Inc. * * 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 conditions and th...
Fe-Pi/linux
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
C
gpl-2.0
81,599
/* * rdgif.c * * Copyright (C) 1991-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains routines to read input images in GIF format. * *********************************************...
yeKcim/warmux
old/warmux-11.01/build/android/jni/jpeg/rdgif.c
C
gpl-2.0
1,276
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
Li-poly/stock-multi-hack
drivers/video/msm/mdss/mdss_mdp_overlay.c
C
gpl-2.0
83,790
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
fluxer/engine
code/client/cl_keys.c
C
gpl-2.0
33,773
/* * Generic waiting primitives. * * (C) 2004 Nadia Yvette Chambers, Oracle */ #include "sched.h" void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) { spin_lock_init(&wq_head->lock); lockdep_set_class_and_name(&wq_head->lock, key, name); INIT_LIST_HEAD(&wq_...
kronat/linux
kernel/sched/wait.c
C
gpl-2.0
13,333
/* * Copyright (C) 2014 Hann Woei Ho * * This file is part of Paparazzi. * * Paparazzi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * P...
HWal/paparazzi
sw/airborne/modules/computer_vision/opticflow_module.c
C
gpl-2.0
7,340
/* Copyright (C) 2005-2017 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 ...
norov/glibc
debug/stack_chk_fail.c
C
gpl-2.0
1,038
/* * AMD 10Gb Ethernet driver * * This file is available to you under your choice of the following two * licenses: * * License 1: GPLv2 * * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. * * This file is free software; you may copy, redistribute and/or modify * it under the terms of the GNU General Pub...
RoadRunnr/net-next
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
C
gpl-2.0
65,539
/* * drivers/cpufreq/cpufreq_lulzactive.c * * Copyright (C) 2010 Google, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distribu...
neobuddy89/vibrant_mackay_kernel
drivers/cpufreq/cpufreq_lulzactive.c
C
gpl-2.0
35,922
/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: packets.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "packets.pb-c.h" void gg110_login_ok__init (GG110LoginOK ...
N8Fear/purple-facebook
.pidgin/libpurple/protocols/gg/lib/packets.pb-c.c
C
gpl-2.0
75,591
/* Partial symbol tables. Copyright (C) 2009-2016 Free Software Foundation, Inc. This file is part of GDB. 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 Lic...
swigger/gdb-ios
gdb/psymtab.c
C
gpl-2.0
65,141
/* * Copyright (C) 2007 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...
hyperion70/j608_kernel
sound/soc/mediatek/mt_soc_audio_6580/mt_soc_pcm_routing.c
C
gpl-2.0
35,762
/* * f_rndis.c -- RNDIS link function driver * * Copyright (C) 2003-2005,2008 David Brownell * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger * Copyright (C) 2008 Nokia Corporation * Copyright (C) 2009 Samsung Electronics * Author: Michal Nazarewicz (mina86@mina86.com) * * This p...
caplio/android_kernel_samsung_hltedcm
drivers/usb/gadget/f_rndis.c
C
gpl-2.0
28,585
/* * Copyright 2004,2005,2006,2007,2008 Red Hat, Inc. * * 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, and the entire permission n...
rhuitl/uClinux
user/pam_krb5/src/afs5log.c
C
gpl-2.0
7,593
/* linux/include/asm-arm/arch-s3c2410/time.h * * Copyright (C) 2003 Simtec Electronics <linux@simtec.co.uk> * Ben Dooks, <ben@simtec.co.uk> * * 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 Found...
dduval/kernel-rhel4
arch/arm/mach-s3c2410/time.c
C
gpl-2.0
4,928
#include <stdio.h> #include <stdlib.h> #include <string.h> #define __USE_GNU #include <search.h> #include "lang.h" #define BUFSIZE 2048 static char *get_lang_charset(const char *lang); static void create_hash(int max); static void destroy_hash(); static int insert_key_val_into_hash(const char *key, const char *val,...
choushane/MaRa-a1a0a5aNaL
package/ezp-httpd/src/lang.c
C
gpl-2.0
4,526
/* * Copyright (c) 2003 Matteo Frigo * Copyright (c) 2003 Massachusetts Institute of Technology * * 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...
petterreinholdtsen/cinelerra-hv
thirdparty/fftw-3.0.1/dft/simd/codelets/n1bv_5.c
C
gpl-2.0
3,357
/* packet-ipmi-storage.c * Sub-dissectors for IPMI messages (netFn=Storage) * Copyright 2007-2008, Alexey Neyman, Pigeon Point Systems <avn@pigeonpoint.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can ...
sodzawic/tk
epan/dissectors/packet-ipmi-storage.c
C
gpl-2.0
38,325
/* * Copyright (c) 2002, Intel Corporation. All rights reserved. * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. * * The mmap( ) function shall fail if: * [EBADF] The fildes argument is not a valid open file ...
ycui1984/posixtestsuite
posixtestsuite/conformance/interfaces/mmap/19-1.c
C
gpl-2.0
1,184
/* $Id: irq.c,v 1.20 2004/01/13 05:52:11 kkojima Exp $ * * linux/arch/sh/kernel/irq.c * * Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar * * * SuperH version: Copyright (C) 1999 Niibe Yutaka */ /* * IRQs are in fact implemented a bit like signal handlers for the kernel. * Naturally it's not a 1:1 rel...
dduval/kernel-rhel4
arch/sh/kernel/irq.c
C
gpl-2.0
16,933
/* * Copyright 2006 Andi Kleen, SUSE Labs. * Subject to the GNU Public License, v.2 * * Fast user context implementation of clock_gettime, gettimeofday, and time. * * 32 Bit compat layer by Stefani Seibold <stefani@seibold.net> * sponsored by Rohde & Schwarz GmbH & Co. KG Munich/Germany * * The code should ha...
aseering/linux
arch/x86/entry/vdso/vclock_gettime.c
C
gpl-2.0
8,156
#include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/err.h> #include <asm/mach-types.h> #include <asm/gpio.h> #include <asm/io.h> #include <linux/skbuff.h> #include <linux/gpio.h> #include "linux/i2c/cpld.h" #include <linux/module.h> #include <l...
free-z4u/android_kernel_htc_z4u
arch/arm/mach-msm/board-cp3-wifi.c
C
gpl-2.0
3,819
#define HIETH_SFV300 #include <config.h> #include "hieth.h" #include "mdio.h" #include "mac.h" #include "ctrl.h" #include "glb.h" int hieth_glb_preinit_dummy(struct hieth_netdev_local *ld) { local_lock_init(ld); /* FIXME: hieth_glb_preinit_dummy * HW MAX DEFAULT RX-PKT-LEN [42,1518] * HW MAC FILTER TABLE DISAB...
TangCheng/hisi351x_uboot
drivers/net/hisfv300/glb.c
C
gpl-2.0
1,684
/* * Linux Socket Filter - Kernel level socket filtering * * Author: * Jay Schulist <jschlst@samba.org> * * Based on the design of: * - The Berkeley Packet Filter * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publi...
fizista/Dorimanx-SG2-I9100-Kernel
net/core/filter.c
C
gpl-2.0
18,280
/* * Copyright 2010 Hauke Mehrtens <hauke@hauke-m.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Compatibility file for Linux wireless for kernels 2.6.37. */ #in...
wwenigma/android_kernel_alcatel_cocktail
drivers/net/wireless/compat-wireless/compat/compat-2.6.37.c
C
gpl-2.0
7,730
/* * Driver for the Conexant CX23885 PCIe bridge * * Copyright (c) 2006 Steven Toth <stoth@hauppauge.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Li...
janrinze/loox7xxport
drivers/media/video/cx23885/cx23885-dvb.c
C
gpl-2.0
14,519
/* * gui-color.c - color functions (used by all GUI) * * Copyright (C) 2003-2013 Sebastien 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 p...
foresthz/weechat0
src/gui/gui-color.c
C
gpl-3.0
28,230
/*** * Excerpted from "Test-Driven Development for Embedded C", * published by The Pragmatic Bookshelf. * Copyrights apply to this code. It may not be used to create training material, * courses, books, articles, and the like. Contact us if you are in doubt. * We make no guarantees that this code is fit for any p...
pedrohfornari/tdd_embeddedC
code/docs/STMicroelectronics/c2414.c
C
gpl-3.0
65,880
/***************************************************************************** * * Filename: * --------- * sensor.c * * Project: * -------- * DUMA * * Description: * ------------ * Source code of Sensor driver * * * Author: * ------- * PC Huang (MTK02204) * *==================================...
shlyakpavel/s720-w832-KK-kernel
mediatek/custom/common/kernel/imgsensor/ov3640_yuv/ov3640yuv_Sensor.c
C
gpl-3.0
113,481
/* This file is part of darktable, copyright (c) 2018 Pascal Obry copyright (c) 2019 tobias ellinghaus darktable 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 ...
edgardoh/darktable
src/common/iop_group.c
C
gpl-3.0
1,955
/* * YAFFS: Yet another FFS. A NAND-flash specific file system. * * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Timothy Manning <timothy@yaffs.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of th...
daydaygit/flrelse
linux-3.0.1/yaffs2/direct/timothy_tests/quick_tests/test_yaffs_symlink_ENOENT2.c
C
gpl-3.0
1,120
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
alongwithyou/rnnlib
hdf5_snap/src/H5B.c
C
gpl-3.0
83,214
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> 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 ...
nrz/ylikuutio
external/SDL2-2.0.14/src/video/x11/SDL_x11window.c
C
agpl-3.0
58,584
/* * Copyright (C) 2014 Freie Universität Berlin * Copyright (C) 2015 Zolertia SL * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup boards_remote-reva * @{ * * @file ...
aabadie/RIOT
boards/remote-reva/board.c
C
lgpl-2.1
1,643
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "ipm_core.h" int ipm_get_procmem(double *bytes) { FILE *fh; int proc_ret; char proc_var[80]; char *cp; long long int ibytes; #if defined(OS_LINUX) #ifndef LINUX_XT3 #define PROCMEM_LINUX_PROC #endif #endif #if defined (OS_AIX) #def...
xiansl/IPM
src/memusage.c
C
lgpl-2.1
2,065
/* * Copyright (C) 2008-2009 Advanced Micro Devices, Inc. All Rights Reserved. * * This file is part of libacml_mv. * * libacml_mv 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...
simonbyrne/libacml_mv
src/tanhf.c
C
lgpl-2.1
3,389
/* * %CopyrightBegin% * * Copyright Ericsson AB 2001-2014. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *...
derek121/otp
erts/emulator/hipe/hipe_x86_signal.c
C
apache-2.0
13,400
/* * sophia database * sphia.org * * Copyright (c) Dmitry Simonenko * BSD License */ #include <sophia.h> #include <libss.h> #include <libsf.h> #include <libsr.h> #include <libsv.h> #include <libsd.h> #include <libst.h> static void cursor_md_test0(void) { void *env = sp_env(); t( env != NULL ); t( sp_setstrin...
Safari77/sophia
test/generic/cursor_md.test.c
C
bsd-2-clause
2,576
/* Copyright (c) 2016, Linaro Limited * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <stdlib.h> #include <string.h> #include <example_debug.h> #include <odp_api.h> #include <odp_l3fwd_db.h> /** Jenkins hash support. * * Copyrig...
mike-holmes-linaro/odp
example/l3fwd/odp_l3fwd_db.c
C
bsd-3-clause
11,293
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* EC for Link board configuration */ #include "adc.h" #include "adc_chip.h" #include "backlight.h" #include "chipset.h" #include "common.h" #i...
mtk09422/chromiumos-platform-ec
board/link/board.c
C
bsd-3-clause
5,470
/*- * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it u...
jrobhoward/SCADAbase
sys/dev/isci/scil/scif_sas_timer.c
C
bsd-3-clause
4,449
#include "terms_surface.h" #include "terms.h" #include "geommech.h" #undef __FUNC__ #define __FUNC__ "dw_surface_ltr" /*! @par Revision history: - 06.09.2006, c - 11.10.2006 */ int32 dw_surface_ltr( FMField *out, FMField *traction, Mapping *sg ) { int32 ii, dim, sym, nQP, nFP, ret = RET_OK; FMField *outQP = ...
rc/sfepy
sfepy/terms/extmods/terms_surface.c
C
bsd-3-clause
2,802
/* * * Copyright 2015, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
maxwell-demon/grpc
src/core/iomgr/executor.c
C
bsd-3-clause
4,991
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" FLA_Error FLA_Sylv_hh_bl...
dxander/libflame
src/lapack/sol/sylv/hh/flamec/FLA_Sylv_hh_blk_var17.c
C
bsd-3-clause
2,376
/* ** $Id: lcorolib.c,v 1.10.1.1 2017/04/19 17:20:42 roberto Exp $ ** Coroutine Library ** See Copyright Notice in lua.h */ #define lcorolib_c #define LUA_LIB #include "lprefix.h" #include <stdlib.h> #include "lua.h" #include "lauxlib.h" #include "lualib.h" static lua_State *getco (lua_State *L) { lua_State *...
nodemcu/nodemcu-firmware
app/lua53/lcorolib.c
C
mit
3,765
/* * Copyright 2008-2012 Freescale Semiconductor Inc. * * 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 conditions ...
jwhitham/ppc_linux
drivers/net/ethernet/freescale/fman/Peripherals/FM/SP/fm_sp.c
C
gpl-2.0
34,528
/* * Copyright (c) 2011-2014, 2016 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyrigh...
BhavySinghal/qassam-le2
drivers/staging/prima/CORE/MAC/src/pe/lim/limScanResultUtils.c
C
gpl-2.0
41,394
/* * drivers/cpufreq/cpufreq_interactive.c * * Copyright (C) 2010 Google, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distrib...
Pillar1989/linux-a80-3.4
drivers/cpufreq/cpufreq_interactive.c
C
gpl-2.0
46,906
/* Copyright (C) 1991-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 ...
Chilledheart/glibc
sysdeps/posix/ttyname.c
C
gpl-2.0
3,374
/* * This definitions of the PIC18F67J11 MCU. * * This file is part of the GNU PIC library for SDCC, originally * created by Molnar Karoly <molnarkaroly@users.sf.net> 2014. * * This file is generated automatically by the cinc2h.pl, 2014-07-08 08:41:51 UTC. * * SDCC is licensed under the GNU Public license (GPL)...
PinguinoIDE/pinguino-compilers
windows64/p8/share/sdcc/non-free/lib/src/pic16/libdev/pic18f67j11.c
C
gpl-2.0
12,643
#include <linux/module.h> #include <linux/skbuff.h> #include <net/ip.h> #include <net/ipv6.h> #include <linux/sctp.h> #include <linux/netfilter/x_tables.h> #include <linux/netfilter/xt_sctp.h> #include <linux/netfilter_ipv4/ip_tables.h> #include <linux/netfilter_ipv6/ip6_tables.h> MODULE_LICENSE("GPL"); MODULE_AUTHOR...
jkoelndorfer/android-kernel-msm
net/netfilter/xt_sctp.c
C
gpl-2.0
5,210
/* Interpolation for Kirchhoff-type operators (without antialiasing). */ /* Copyright (C) 2004 University of Texas at Austin 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...
zxtstarry/src
user/aklokov/stretch.c
C
gpl-2.0
2,400
/** ********************************************************************************* * * @file ald_lpuart.c * @brief Low Power UART module driver. * This file provides firmware functions to manage the following * functionalities of the Low Power Universal Asynchronous Receiver * ...
grissiom/rt-thread
bsp/essemi/es32f0334/libraries/ES32F033x_ALD_StdPeriph_Driver/Source/ald_lpuart.c
C
gpl-2.0
38,963
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
maniacx/android_kernel_htcleo-3.0_older
arch/arm/mach-msm/clock-pcom-lookup.c
C
gpl-2.0
19,855
/*************************************************************************** * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * * Copyrig...
tthef/openocd
src/target/arm946e.c
C
gpl-2.0
18,915
/* * IPv6 Address [auto]configuration * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published ...
blkredstarV/kernel_asus_moorefield
net/ipv6/addrconf.c
C
gpl-2.0
128,268
#include <dirent.h> #include <string.h> int alphasort64(const struct dirent64 **a, const struct dirent64 **b) { return strcmp((*a)->d_name,(*b)->d_name); }
ensc/dietlibc
libcruft/alphasort64.c
C
gpl-2.0
159
/* * Common time routines among all ppc machines. * * Written by Cort Dougan (cort@cs.nmt.edu) to merge * Paul Mackerras' version and mine for PReP and Pmac. * MPC8xx/MBX changes by Dan Malek (dmalek@jlc.net). * Converted for 64-bit by Mike Corrigan (mikejc@us.ibm.com) * * First round of bugfixes by Gabriel Pau...
BADBDY23/BKernel
arch/powerpc/kernel/time.c
C
gpl-2.0
34,273
/* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
PrasannaC/Galaxy_Fit_s5670-msm7x27_kernel
drivers/power/msm_battery.c
C
gpl-2.0
42,046
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2006-2010 Nokia Corporation * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.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 b...
sdemario/BlueZ
src/manager.c
C
gpl-2.0
10,125
/* * linux/fs/namespace.c * * (C) Copyright Al Viro 2000, 2001 * Released under GPL v2. * * Based on code from fs/super.c, copyright Linus Torvalds and others. * Heavily rewritten. */ #include <linux/syscalls.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/smp_lock.h> #include <linux/init....
gchiii/am3517_evm-linux
fs/namespace.c
C
gpl-2.0
59,236