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
/* Copyright (C) 2012-2013 Free Software Foundation, Inc. Contributed by Richard Henderson <rth@redhat.com>. This file is part of the GNU Atomic Library (libatomic). Libatomic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by th...
jjones-cavium/gcc
libatomic/gexch.c
C
gpl-2.0
3,981
/* piix4.c - Part of lm_sensors, Linux kernel modules for hardware monitoring Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl> and Philip Edelbrock <phil@netroedge.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General ...
nandra/omap_850_kernel
drivers/i2c/busses/i2c-piix4.c
C
gpl-2.0
13,133
/*The file is auto generated by tools, don't modify it manully.*/ #include <hsad/config_data.h> #include <hsad/config_general_struct.h> config_pair frontvn1p3_hw_configs_common [] = { {"audio/audience_type", (const unsigned int)(unsigned int*)"uart", E_CONFIG_DATA_TYPE_STRING }, {"audio/enhance_type", (const ...
stap75/android_kernel_huawei_viva
drivers/huawei/hsad/auto-generate/frontvn1p3_hw_configs.c
C
gpl-2.0
2,897
/* * fs/cifs/file.c * * vfs operations that deal with files * * Copyright (C) International Business Machines Corp., 2002,2010 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * * This library is free software; you can redistribute it and/or modify * it...
gnehzuil/ali_kernel
fs/cifs/file.c
C
gpl-2.0
60,689
/****************************************************************************** * * Copyright(c) 2003 - 2010 Intel Corporation. All rights reserved. * * Portions of this file are derived from the ipw3945 project, as well * as portions of the ieee80211 subsystem header files. * * This program is free software; yo...
Metaluim/linux-rtws-2.6.36-d13
drivers/net/wireless/iwlwifi/iwl3945-base.c
C
gpl-2.0
125,030
/* Copyright (C) 1994-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
geminy/aidear
oss/glibc/glibc-2.24/misc/mprotect.c
C
gpl-3.0
1,171
/* ---------------------------------------------------------------------- * Copyright (C) 2010-2014 ARM Limited. All rights reserved. * * $Date: 03. January 2017 * $Revision: V.1.5.0 * * Project: CMSIS DSP Library * Title: arm_biquad_cascade_df2T_f64.c * * Description: Processing function for the...
dkmorb/axoloti
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df2T_f64.c
C
gpl-3.0
18,162
/*- * Copyright 2009 Colin Percival, 2011 ArtForz * 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 li...
edescourtis/ecoinpool
apps/ecoinpool/c_src/scrypt.c
C
gpl-3.0
18,696
#include <config.h> #include <inttypes.h> #include "testutils.h" #include "virfilewrapper.h" #include "qemu/qemu_vhost_user.h" #include "configmake.h" #define VIR_FROM_THIS VIR_FROM_QEMU /* A very basic test. Parse given JSON vhostuser description into * an internal structure, format it back and compare with the ...
libvirt/libvirt
tests/qemuvhostusertest.c
C
lgpl-2.1
3,454
#include "dsdp5.h" #include "dsdpconverge.h" /*! \file dsdpconverge.c \brief Monitor convergence. */ extern int DSDPGetConvergenceMonitor(DSDP, ConvergenceMonitor**); /*! \fn int DSDPDefaultConvergence(DSDP dsdp, void *ctx) \brief Check for Convergence. \param dsdp is the solver \param ctx is a pointer to a str...
ghorn/casadi
external_packages/DSDP/src/solver/dsdpconverge.c
C
lgpl-3.0
9,895
/* Farsight * Copyright (C) 2006 Marcel Moreaux <marcelm@spacelabs.nl> * (C) 2008 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; ei...
google/aistreams
third_party/gst-plugins-good/gst/rtp/gstrtpdvpay.c
C
apache-2.0
11,949
/* * ZMap Copyright 2013 Regents of the University of Michigan * * 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 */ #include <stdlib.h> #incl...
prelongs/zmapscan
src/aesrand.c
C
apache-2.0
1,509
/* * Copyright (C) 2007, Andrew Butcher 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 writi...
davidljung/rl-glue
src/RL_server_agent.c
C
apache-2.0
6,300
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard st, Cambridge MA, 02139 USA 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...
hlzz/dotfiles
science/igraph-0.7.1/examples/simple/matrix2.c
C
bsd-3-clause
8,733
/* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Ozan Yigit at York University. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
igor-m/retrobsd-with-double-precison
src/cmd/m4/expr.c
C
bsd-3-clause
10,673
/* * linux/arch/arm/mach-vexpress/platsmp.c * * Copyright (C) 2002 ARM Ltd. * 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 as * published by the Free Software Foundation. */ #include <linux/init....
mikedlowis-prototypes/albase
source/kernel/arch/arm/mach-vexpress/platsmp.c
C
bsd-2-clause
1,945
#include "defs.h" double get_seconds() { struct timeval tp; gettimeofday(&tp, NULL); return (double) (tp.tv_sec + ((1e-6)*tp.tv_usec)); } void prefix_sums(LONG_T *input, LONG_T* result, LONG_T* p, LONG_T n) { LONG_T i; #ifdef _OPENMP LONG_T j, r, start, end, add_value; int tid, nthre...
mcai/Archimulator
benchmarks/SSCA_Custom1/SSCA/ht/utils.c
C
mit
1,103
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-support/simd-generic256.h" #include "../common/n2fv_8.c"
termoshtt/rust-fftw3
fftw-src/fftw-3.3.8/dft/simd/generic-simd256/n2fv_8.c
C
mit
128
/* * BK Id: SCCS/s.semaphore.c 1.12 05/17/01 18:14:22 cort */ /* * PowerPC-specific semaphore code. * * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu> * * 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 Sof...
bticino/linux-2.4.19-rmk7-pxa2-btweb
arch/ppc/kernel/semaphore.c
C
gpl-2.0
3,583
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * 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) a...
vicamo/NetworkManager
libnm/nm-device-infiniband.c
C
gpl-2.0
6,830
/* * R : A Computer Language for Statistical Data Analysis * Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka * Copyright (C) 1997--2015 The R Core 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 *...
WelkinGuan/r-source
src/main/deparse.c
C
gpl-2.0
45,361
/* crypto/pem/pem_pkey.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and no...
ysleu/RTL8685
uClinux-dist/lib/openssl-0.9.8b/crypto/pem/pem_pkey.c
C
gpl-2.0
5,485
/* Helper function for cshift functions. Copyright (C) 2008-2017 Free Software Foundation, Inc. Contributed by Thomas Koenig <tkoenig@gcc.gnu.org> This file is part of the GNU Fortran runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU...
mickael-guene/gcc
libgfortran/generated/cshift0_c16.c
C
gpl-2.0
4,672
/* resources.c - manage X resources (colors etc) * * Window Maker window manager * * Copyright (c) 1997-2003 Alfredo K. Kojima * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; eith...
crmafra/wmaker
src/resources.c
C
gpl-2.0
1,828
/* * ARM Versatile/PB PCI host controller * * Copyright (c) 2006-2009 CodeSourcery. * Written by Paul Brook * * This code is licenced under the LGPL. */ #include "sysbus.h" #include "pci.h" typedef struct { SysBusDevice busdev; qemu_irq irq[4]; int realview; int mem_config; } PCIVPBState; stat...
bulotus/bulotus-qemu-at91sam9263ek
hw/versatile_pci.c
C
gpl-2.0
4,541
/* Control flow functions for trees. Copyright (C) 2001-2015 Free Software Foundation, Inc. Contributed by Diego Novillo <dnovillo@redhat.com> This file is part of GCC. GCC 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...
nguyentu1602/gcc
gcc/tree-cfg.c
C
gpl-2.0
242,555
/* * PCIe host controller driver for TEGRA SOCs * * Copyright (c) 2010, CompuLab, Ltd. * Author: Mike Rapoport <mike@compulab.co.il> * * Based on NVIDIA PCIe driver * Copyright (c) 2008-2015, NVIDIA Corporation. All rights reserved. * * Bits taken from arch/arm/mach-dove/pcie.c * * This program is free softw...
arter97/android_kernel_nvidia_shieldtablet
drivers/pci/host/pci-tegra.c
C
gpl-2.0
116,609
/* Work with executable files, for GDB. Copyright (C) 1988-2003, 2007-2012 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; e...
adapteva/epiphany-gdb
gdb/exec.c
C
gpl-2.0
26,522
/* ** IA64 System Bus Adapter (SBA) I/O MMU manager ** ** (c) Copyright 2002-2004 Alex Williamson ** (c) Copyright 2002-2003 Grant Grundler ** (c) Copyright 2002-2004 Hewlett-Packard Company ** ** Portions (c) 2000 Grant Grundler (from parisc I/O MMU code) ** Portions (c) 1999 Dave S. Miller (from sparc64 I/O MMU code...
ashish-17/linux-2.4.27-CS518
arch/ia64/hp/common/sba_iommu.c
C
gpl-2.0
49,618
/* * Utility functions called from fips_crypto_hmac.sh. * * executed during Kernel build * * * Author : Rohit Kothari (r.kothari@samsung.com) * Date : 11 Feb 2014 * * Copyright (c) 2014 Samsung Electronics * */ #include <stdio.h> #include <stdlib.h> #include <string.h> int collect_crypto_bytes(const c...
gugu0das/android_kernel_samsung_jactivelteskt
scripts/fips_crypto_utils.c
C
gpl-2.0
5,828
/* * Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * Copyright (C) 2009 Sourcefire, Inc. * * Authors: aCaB <acab@clamav.net> * * 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...
vrtadmin/clamav-devel
win32/compat/net.c
C
gpl-2.0
11,969
/* * kernel/power/autosleep.c * * Opportunistic sleep support. * * Copyright (C) 2012 Rafael J. Wysocki <rjw@sisk.pl> * Copyright (c) 2014 Sony Mobile Communications Inc. */ #include <linux/device.h> #include <linux/mutex.h> #include <linux/pm_wakeup.h> #include <linux/wakelock.h> #ifdef CONFIG_POWERSUSPEND #i...
Red--Code/android_kernel_sony_msm8974ac
kernel/power/autosleep.c
C
gpl-2.0
4,348
/* * V210 decoder * * Copyright (C) 2009 Michael Niedermayer <michaelni@gmx.at> * Copyright (c) 2009 Baptiste Coudurier <baptiste dot coudurier at gmail dot com> * * 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 Pu...
SuperrSonic/WiiMC-SSLC
source/mplayer/ffmpeg/libavcodec/v210dec.c
C
gpl-3.0
5,684
/* 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/ColdFire_MCF52259_CodeWarrior/ParTest/ParTest.c
C
gpl-3.0
5,470
/* packet-pcap.c * Routines for UTRAN Iupc interface Positioning Calculation Application Part (PCAP) packet dissection * * Copyright 2008, Anders Broman <anders.broman@ericsson.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program ...
aagallag/nexmon
utilities/wireshark/epan/dissectors/asn1/pcap/packet-pcap-template.c
C
gpl-3.0
8,139
/* * Exercise libpcp_import metric name validation. * * Copyright (c) 2013 Red Hat. */ #include <pcp/pmapi.h> #include <pcp/import.h> static void check(int sts, char *name) { if (sts < 0) { fprintf(stderr, "%s: Error: %s\n", name, pmiErrStr(sts)); } else { fprintf(stderr, "%s: OK", name); if (sts != 0)...
adfernandes/pcp
qa/src/check_import_name.c
C
lgpl-2.1
982
/* * Copyright (c) 2017 Nordic Semiconductor ASA * 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...
screamerbg/mbed
targets/TARGET_NORDIC/TARGET_NRF5/i2c_api.c
C
apache-2.0
21,495
/* @(#)e_fmod.c 1.3 95/01/18 */ /*- * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided ...
webos21/xbionic
platform_bionic-android-vts-12.0_r2/libm/upstream-freebsd/lib/msun/src/s_remquof.c
C
apache-2.0
3,097
/** * @file * * @brief PF_UNIX protocol family socket handler * * @date 31.01.2012 * @author Anton Bondarev */ #include <errno.h> #include <sys/socket.h> #include <net/sock.h> #include "family.h" EMBOX_NET_FAMILY(AF_UNIX, unix_create); /* Prototypes */ static const struct family_ops unix_dgram_ops; static co...
gzoom13/embox
src/net/socket/af_unix.c
C
bsd-2-clause
1,511
/******************************************************************************* * * Copyright (c) 2000-2003 Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Red...
commshare/pupnp
upnp/src/api/upnpdebug.c
C
bsd-3-clause
6,951
// This file has been prepared for Doxygen automatic documentation generation. /*! \file ********************************************************************* * * \brief menu_definitions.c Auto_generated file - do not edit! * * * * \par Application note: * AVR2017: RZRAVEN FW * * \par Documen...
rfmcpherson/killerbee
firmware/src/kb-rzusbstick/application/avrraven/3290p/menu/menu_definitions.c
C
bsd-3-clause
9,527
/* from src/prism2/download/prism2dl.c * * utility for downloading prism2 images moved into kernelspace * * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved. * -------------------------------------------------------------------- * * linux-wlan * * The contents of this file are subject to the Mozill...
go2ev-devteam/Gplus_2159_0801
openplatform/sdk/os/kernel-2.6.32/drivers/staging/wlan-ng/prism2fw.c
C
gpl-2.0
34,232
/* * Copyright (c) 2007 - 2015 Joseph Gaeddert * * 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, mer...
cjcliffe/liquid-dsp
src/matrix/bench/smatrixf_mul_benchmark.c
C
mit
3,349
/* * Copyright (c) 2012 Dave Vasilevsky <dave@vasilevsky.ca> * 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 * noti...
pmq20/ruby-compiler
ruby/squash_nonstd-makedev.c
C
mit
1,519
/* Software floating-point emulation. Return a converted to IEEE quad Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). The GNU C Library is free software; you can re...
stefan2904/glibc
soft-fp/extendsftf2.c
C
gpl-2.0
1,866
/* Copyright (c) 2012-2013, 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...
gmm001/android_kernel_zte_nx503a-1
arch/arm/mach-msm/lpm_levels.c
C
gpl-2.0
13,297
#include "lolevel.h" #include "platform.h" #include "core.h" static long *nrflag = (long*)0x6E50; #include "../../../generic/capt_seq.c" void __attribute__((naked,noinline)) sub_FF9A2B40_my(long p) { asm volatile ( "STMFD SP!, {R4,LR}\n" "MOV R4, R0\n" "SUB ...
pixeldoc2000/chdk
platform/g7/sub/100g/capt_seq.c
C
gpl-2.0
14,324
#include "blaswrap.h" #include "f2c.h" /* Subroutine */ int zgglse_(integer *m, integer *n, integer *p, doublecomplex *a, integer *lda, doublecomplex *b, integer *ldb, doublecomplex *c__, doublecomplex *d__, doublecomplex *x, doublecomplex *work, integer *lwork, integer *info) { /* -- LAPACK driver routine (ver...
dilawar/sesc
src_without_LF/libsesctherm/CLAPACK/SRC/zgglse.c
C
gpl-2.0
9,651
/* * Bitbanging I2C bus driver using the GPIO API * * Copyright (C) 2007 Atmel Corporation * * 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. */ #include <linux/i2c.h> #include ...
geeknik/StupidFast
drivers/i2c/busses/i2c-gpio.c
C
gpl-2.0
5,463
/* * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "system.h"...
lizhuobin1981/rtems_test
testsuites/sptests/sp13/task1.c
C
gpl-2.0
12,318
/* * algif_skcipher: User-space interface for skcipher algorithms * * This file provides the user-space API for symmetric key ciphers. * * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General ...
gdayton/linux-cmps107
crypto/algif_skcipher.c
C
gpl-2.0
18,717
/* * (C) 2009 by Pablo Neira Ayuso <pablo@netfilter.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 License, or * (at your option) any la...
Distrotech/conntrack-tools
extensions/libct_proto_udplite.c
C
gpl-2.0
5,852
// PCI config space access functions. // // Copyright (C) 2008 Kevin O'Connor <kevin@koconnor.net> // Copyright (C) 2002 MandrakeSoft S.A. // // This file may be distributed under the terms of the GNU LGPLv3 license. #include "pci.h" // pci_config_writel #include "ioport.h" // outl #include "util.h" // dprintf #incl...
suhorng/vm14hw1
roms/seabios/src/pci.c
C
gpl-2.0
5,843
#ifdef CONFIG_CPU_SUP_INTEL /* * Intel PerfMon, used on Core and later. */ static const u64 intel_perfmon_event_map[] = { [PERF_COUNT_HW_CPU_CYCLES] = 0x003c, [PERF_COUNT_HW_INSTRUCTIONS] = 0x00c0, [PERF_COUNT_HW_CACHE_REFERENCES] = 0x4f2e, [PERF_COUNT_HW_CACHE_MISSES] = 0x412e, [PERF_COUNT_HW_BRANCH_IN...
grate-driver/linux-2.6
arch/x86/kernel/cpu/perf_event_intel.c
C
gpl-2.0
26,016
/* Copyright (C) 1993-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 as published by the Free Software Foundation; either version 2.1 of the ...
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/hurd/geteuids.c
C
gpl-2.0
1,924
/***************************************************************************** 1 Í·Îļþ°üº¬ *****************************************************************************/ #include "AtCmdCallProc.h" #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /*****************************************...
asyan4ik/android_kernel_huawei_h60
drivers/vendor/hisi/modem/taf/comm/src/acore/at/src/AtCmdCallProc.c
C
gpl-2.0
1,017
/* -*- mode: c; c-basic-offset: 2 -*- */ /* * Copyright (C) 2007-2012 David Bird (Coova Technologies) <support@coova.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 ...
gderosa/coova-chilli
src/main-script.c
C
gpl-2.0
2,865
#include "lolevel.h" #include "platform.h" typedef struct { unsigned int address; unsigned int length; } cam_ptp_data_chunk; //camera specific structure #define MAX_CHUNKS_FOR_JPEG 3 // filewritetask is prepared for this many chunks /* * fwt_data_struct: defined here as it's camera dependent * unneeded memb...
c10ud/CHDK
platform/ixus95_sd1200/sub/filewrite_hdr.c
C
gpl-2.0
668
/** * @file tcmi_shadowtask.c - TCMI shadow task, migrated process abstraction on CCN * * * * * Date: 04/26/2005 * * Author: Jan Capek * * $Id: tcmi_shadowtask.c,v 1.17 2009-04-06 21:48:46 stavam2 Exp $ * * This file is part of Task Checkpointing and Migration Infrastructure(TCMI) * ...
MarstCVUT/Clondike
src/tcmi/task/tcmi_shadowtask.c
C
gpl-2.0
17,118
/** ****************************************************************************** * @file system_stm32f30x.c * @author MCD Application Team * @version V1.1.1 * @date 28-March-2014 * @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File. * This file contains the system...
ChrisNisbet01/cleanflight
src/main/target/STM32F3DISCOVERY/system_stm32f30x.c
C
gpl-3.0
13,713
/* getdtablesize() function: Return maximum possible file descriptor value + 1. Copyright (C) 2008-2017 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2008. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
ljos/remacs
lib/getdtablesize.c
C
gpl-3.0
3,451
#include "zgl.h" static char *op_table_str[]= { #define ADD_OP(a,b,c) "gl" #a " " #c, #include "opinfo.h" }; static void (*op_table_func[])(GLContext *,GLParam *)= { #define ADD_OP(a,b,c) glop ## a , #include "opinfo.h" }; static int op_table_size[]= { #define ADD_OP(a,b,c) b + 1 , #include "opinfo.h" }; GLCont...
animotron/animos
phantom/gl/list.c
C
lgpl-3.0
4,093
/******************************************************************************* * * Module Name: evsci - System Control Interrupt configuration and * legacy to ACPI mode state transition functions * ******************************************************************************/ /************...
animotron/animos
phantom/libkern/acpi/evsci.c
C
lgpl-3.0
10,649
/* * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2018-11-06 SummerGift first version */ #include <rtthread.h> #include <rtdevice.h> #include <board.h> /* defined the LED3 pin: PA3 */ #define LED3_PIN ...
armink/rt-thread
bsp/stm32/stm32f103-yf-ufun/applications/main.c
C
apache-2.0
610
/* Copyright (c) 2010 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. */ /* Routines for verifying a file's signature. Useful in testing the core * RSA verification implementation. */ #include <fcntl.h> #include <...
acorn-marvell/vboot_reference
utility/verify_data.c
C
bsd-3-clause
2,511
/* * Copyright (C) 2011 Sansar Choinyambuu, Andreas Steffen * HSR Hochschule fuer Technik Rapperswil * * 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 (...
maire/strongswan
src/libpts/pts/components/pts_comp_evidence.c
C
gpl-2.0
5,432
/* * Xilinx gpio driver * * Copyright 2008 Xilinx, Inc. * * 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. * * You should have received a copy of the GNU General Public License...
holyangel/LGE_G3
drivers/gpio/gpio-xilinx.c
C
gpl-2.0
7,155
/* * Copyright (C) 2012, Samsung Electronics Co. Ltd. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any...
maxfu/android_kernel_samsung_exynos5410
drivers/sensorhub/ssp_data.c
C
gpl-2.0
10,459
/* linux/drivers/i2c/busses/i2c-s3c2410.c * * Copyright (C) 2004,2005,2009 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * S3C2410 I2C Controller * * 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 Soft...
nightvixen/explosion_kernel
drivers/i2c/busses/i2c-s3c2410.c
C
gpl-2.0
24,622
/* riowd.c - driver for hw watchdog inside Super I/O of RIO * * Copyright (C) 2001, 2008 David S. Miller (davem@davemloft.net) */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/types.h> #include <linux/fs.h> #include <linux/errno.h> #include <linux/i...
curbthepain/revkernel_us990
drivers/watchdog/riowd.c
C
gpl-2.0
5,822
/* * socket.c -- DHCP server client/server socket creation * * udhcp client/server * Copyright (C) 1999 Matthew Ramsay <matthewr@moreton.com.au> * Chris Trew <ctrew@moreton.com.au> * * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 * * This program is free software; you can redistribute it and/or modify ...
ysleu/RTL8685
uClinux-dist/user/udhcp-0.9.9-pre/socket.c
C
gpl-2.0
4,233
/* * Linux NET3: Internet Group Management Protocol [IGMP] * * This code implements the IGMP protocol as defined in RFC1112. There has * been a further revision of this protocol since which is now supported. * * If you have trouble with this module be careful what gcc you have used, * the older version didn't c...
pratyushanand/linux
net/ipv4/igmp.c
C
gpl-2.0
74,046
/* { dg-require-effective-target vect_int } */ #include <stdarg.h> #include "tree-vect.h" #define N 64 #define DOT1 43680 signed char X[N] __attribute__ ((__aligned__(16))); signed char Y[N] __attribute__ ((__aligned__(16))); /* char->short->int dot product. The dot-product pattern should be detected. Vector...
embecosm/avr32-gcc
gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8a.c
C
gpl-2.0
1,369
/* PR c/28712 */ /* { dg-do compile } */ /* { dg-options "--combine" } */ /* { dg-additional-sources "pr28712.c pr28712.c" } */ /* APPLE LOCAL 4881841 */ /* { dg-skip-if "" { *-*-* } { "-ObjC" } { "" } } */ struct A; extern struct A *a; struct A { } __attribute__((packed)); struct B __attribute__((aligned (sizeof (...
sungsujo/nacl-llvm-branches.llvm-gcc-trunk
gcc/testsuite/gcc.dg/pr28712.c
C
gpl-2.0
396
/*--------------------------------------------------------------------*/ /*--- x86- and AMD64-specific definitions. cg-x86-amd64.c ---*/ /*--------------------------------------------------------------------*/ /* This file is part of Cachegrind, a Valgrind tool for cache profiling programs. Copyrig...
shakalaca/ASUS_ZenFone_A450CG
external/valgrind/main/cachegrind/cg-x86-amd64.c
C
gpl-2.0
21,314
/* read.c - read a source file - Copyright (C) 1986-2014 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. GAS 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 vers...
tuliom/binutils-gdb
gas/read.c
C
gpl-2.0
148,505
/* * Frame buffer device for IBM GXT4500P and GXT6000P display adaptors * * Copyright (C) 2006 Paul Mackerras, IBM Corp. <paulus@samba.org> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/fb.h> #include <linux/console.h> #include <linux/pci.h> #include <linux/pci_ids.h> #include <linux/delay...
holyangel/LGE_G3
drivers/video/gxt4500.c
C
gpl-2.0
21,480
/* Samsung S5H1411 VSB/QAM demodulator driver Copyright (C) 2008 Steven Toth <stoth@linuxtv.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 License, ...
holyangel/LGE_G3
drivers/media/dvb/frontends/s5h1411.c
C
gpl-2.0
24,369
/****************************************************************************** AudioScience HPI driver Copyright (C) 1997-2012 AudioScience Inc. <support@audioscience.com> This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public L...
sleekmason/LG-V510-Kitkat
sound/pci/asihpi/hpios.c
C
gpl-2.0
2,680
/* Test and measure STRCHR functions. Copyright (C) 1999-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Jakub Jelinek <jakub@redhat.com>, 1999. Added wcschr support by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>, 2011 The GNU C Library is free software; you can ...
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/string/test-strchr.c
C
gpl-2.0
6,809
/* -*- mode: c; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4; coding: utf-8 -*- */ /************************************************************************************ ** ** ** mcHF QRP Transceiver...
f4fhh/mchf-github
mchf-eclipse/drivers/audio/filters/iir_8_5k.c
C
gpl-3.0
2,099
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tomstdenis@iahu.ca, ht...
yuri-moens/eid-mw
cardcomm/pkcs11/src/common/libtomcrypt/sha384.c
C
lgpl-3.0
3,653
/****************************************************************************** * * Copyright (C) 2009 - 2014 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Softw...
kubostech/KubOS
freertos/os/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/BSP/microblaze_0/libsrc/standalone_v4_2/src/xil_testcache.c
C
apache-2.0
5,725
/**************************************************************************//** * @file epwm.c * @version V3.00 * $Revision: 3 $ * @brief M480 series EPWM driver source file * * SPDX-License-Identifier: Apache-2.0 * @copyright (C) 2016-2020 Nuvoton Technology Corp. All rights reserved. ******************...
armink/rt-thread
bsp/nuvoton/libraries/m480/StdDriver/src/nu_epwm.c
C
apache-2.0
69,644
/* * Copyright (c) 2010 Brandon Mintern * Copyright (c) 2007 Bobby Bingham * * 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 th...
guorendong/iridium-browser-ubuntu
third_party/ffmpeg/libavfilter/vf_fade.c
C
bsd-3-clause
15,832
/* * Alpha specific irq code. */ #include <linux/init.h> #include <linux/sched.h> #include <linux/irq.h> #include <linux/kernel_stat.h> #include <linux/module.h> #include <asm/machvec.h> #include <asm/dma.h> #include "proto.h" #include "irq_impl.h" /* Hack minimum IPL during interrupt processing for broken hardwa...
felixhaedicke/nst-kernel
src/arch/alpha/kernel/irq_alpha.c
C
gpl-2.0
6,849
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
carmark/vbox
src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dcpc.c
C
gpl-2.0
31,954
#include <common.h> #include <linux/sizes.h> #include <io.h> #include <asm/barebox-arm-head.h> #include <asm/barebox-arm.h> #include <mach/generic.h> #include <debug_ll.h> #include <asm/cache.h> #include "sdram_config.h" #include <mach/sdram_config.h> #include "pinmux_config.c" #include "pll_config.h" #include <mach/pl...
zhang3/barebox
arch/arm/boards/terasic-sockit/lowlevel.c
C
gpl-2.0
2,129
/* Copyright (c) 2010, 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 h...
schmatzler/zte-kernel-tureis
drivers/video/msm/vidc/1080p/ddl/vcd_ddl_metadata.c
C
gpl-2.0
16,518
/* * Copyright 2012 Freescale Semiconductor, Inc. * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <asm/fsl_portals.h> #include <asm/fsl_liodn.h> #ifdef CONFIG_SYS_DPAA_QBMAN struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS] = { /* dqrr liodn, frame data liodn, liodn off, sdest */ SE...
vkrmsngh/new_pro
u-boot/arch/powerpc/cpu/mpc85xx/t4240_ids.c
C
gpl-2.0
5,181
/* * Split spinlock implementation out into its own file, so it can be * compiled in a FTRACE-compatible way. */ #include <linux/spinlock.h> #include <linux/module.h> #include <linux/jump_label.h> #include <asm/paravirt.h> struct pv_lock_ops pv_lock_ops __read_only = { #ifdef CONFIG_SMP .lock_spinning = __PV_IS_C...
AdaLovelance/lxcGrsecKernels
linux-3.14.37/arch/x86/kernel/paravirt-spinlocks.c
C
gpl-2.0
532
/* lzo1c_1.c -- main internal configuration file for the the LZO library This file is part of the LZO real-time data compression library. Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2009 Markus Franz Xaver Johannes Oberhum...
zarboz/XBMC-PVR-mac
tools/darwin/depends/liblzo2/src/lzo1c_1.c
C
gpl-2.0
2,081
/*****************************************************************************\ * lbtable.c ***************************************************************************** * Copyright (C) 2002-2005 The Regents of the University of California. * Produced at the Lawrence Livermore National Laboratory. * Written by ...
BTDC/coreboot
util/nvramtool/lbtable.c
C
gpl-2.0
27,926
/* * This file is part of the coreboot project. * * Copyright (C) 2011-2013 Alexandru Gagniuc <mr.nuke.me@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...
fishbaoz/coreboot
src/device/dram/ddr3.c
C
gpl-2.0
16,176
/* * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README */ /* * Written by Anatoly P. Pinchuk pap@namesys.botik.ru * Programm System Institute * Pereslavl-Zalessky Russia */ /* * This file contains functions dealing with S+tree * * B_IS_IN_TREE * copy_item_head * comp_short_keys * c...
zhoupeng/spice4xen
linux-2.6.18-xen.hg/fs/reiserfs/stree.c
C
gpl-2.0
68,118
/* * Funsoft Serial USB driver * * Copyright (C) 2006 Greg Kroah-Hartman <gregkh@suse.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. */ #include <linux/kernel.h> #inclu...
zhoupeng/spice4xen
linux-2.6.18-xen.hg/drivers/usb/serial/funsoft.c
C
gpl-2.0
1,446
/* { dg-do compile } */ /* { dg-options "-fsanitize=address -c -O3 -fdump-tree-optimized -ffat-lto-objects" } */ int x; static inline __attribute__((no_sanitize("address"))) void do_not_sanitize(void) { x++; } void sanitize_this(void) { x++; do_not_sanitize(); } /* { dg-final { scan-tree-dump-times "Function ...
Gurgel100/gcc
gcc/testsuite/c-c++-common/asan/inline.c
C
gpl-2.0
358
/* * This file is part of MPlayer. * * MPlayer 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. * * MPlayer is distributed in th...
macressler/mplayer2
mpcommon.c
C
gpl-3.0
819
/* * Unix SMB/CIFS implementation. * server auto-generated by pidl. DO NOT MODIFY! */ #include "includes.h" #include "ntdomain.h" #include "librpc/gen_ndr/srv_policyagent.h" static bool api_policyagent_Dummy(struct pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; struct ndr_push ...
SaM-Solutions/samba
source3/librpc/gen_ndr/srv_policyagent.c
C
gpl-3.0
2,426
/* * This file is part of the Soletta (TM) Project * * Copyright (C) 2015 Intel Corporation. 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.a...
edersondisouza/soletta
src/modules/flow/timestamp/timestamp.c
C
apache-2.0
14,060