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) 2013 Paul B Mahol
*
* 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 (at your option) any late... | raj-bhatia/grooveip-ios-public | submodules/externals/ffmpeg/libavfilter/vf_colorchannelmixer.c | C | gpl-2.0 | 14,253 |
/* Print RTL for GNU C Compiler.
Copyright (C) 1987, 1988, 1992, 1997, 1998, 1999, 2000, 2002, 2003
Free Software Foundation, Inc.
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
Software Foundati... | uhhpctools/openuh-openacc | osprey/kgccfe/gnu/rs6000/print-rtl1.c | C | gpl-3.0 | 18,946 |
/*
* This file is part of Cleanflight and Betaflight.
*
* Cleanflight and Betaflight are free software. You can redistribute
* this software and/or modify this software 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 ... | AlienWiiBF/betaflight | src/main/pg/beeper_dev.c | C | gpl-3.0 | 1,460 |
/*
md.c : Multiple Devices driver for Linux
Copyright (C) 1998, 1999, 2000 Ingo Molnar
completely rewritten, based on the MD driver code from Marc Zyngier
Changes:
- RAID-1/RAID-5 extensions by Miguel de Icaza, Gadi Oxman, Ingo Molnar
- RAID-6 extensions by H. Peter Anvin <hpa@zytor.com>
- boo... | martinhruska/forester | tests/linux-drivers/original/linux-2.6.35-orig-md.c | C | gpl-3.0 | 193,043 |
/*****************************************************************************
* *
* Component: VLX PMEM user-land mapping support. *
* *
* ... | Lehkeda/android_kernel_samsung_mint2g | drivers/vlx/pmem-user.c | C | gpl-2.0 | 27,542 |
/* Copyright 2003 Andi Kleen, SuSE Labs.
* Subject to the GNU Public License, v.2
*
* Generic x86 APIC driver probe layer.
*/
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/ctype.h>
#include <linux/init.h>
#include <linux/errno.h>
#incl... | bqwd36/android-athena | arch/x86/mach-generic/probe.c | C | gpl-2.0 | 2,855 |
/*
** =========================================================================
** File:
** tspdrv.c
**
** Description:
** TouchSense Kernel Module main entry-point.
**
** Portions Copyright (c) 2008-2010 Immersion Corporation. All Rights Reserved.
**
** This file contains Original Code and/or Modifications of ... | ench0/kernel_samsung_hlte | drivers/motor/tspdrv.c | C | gpl-2.0 | 24,991 |
/* radare - LGPL - Copyright 2009-2015 - nibble, pancake */
#include <stdio.h>
#include <r_types.h>
#include <r_parse.h>
#include <list.h>
#include "../config.h"
R_LIB_VERSION (r_parse);
static RParsePlugin *parse_static_plugins[] =
{ R_PARSE_STATIC_PLUGINS };
R_API RParse *r_parse_new() {
int i;
RParsePlugin *... | four0four/radare2 | libr/parse/parse.c | C | gpl-3.0 | 4,620 |
/* Copyright 2015 Samsung Electronics Co., Ltd.
*
* 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 la... | Samsung/libtuv | test/runner_linux_raw.c | C | apache-2.0 | 3,593 |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2001-2016. 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
... | psyeugenic/otp | lib/erl_interface/src/decode/decode_fun.c | C | apache-2.0 | 3,577 |
// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-pc-win32 | FileCheck %s
// CHECK: define dso_local void @"?f@@$$J0YAXP6AX@Z@Z"
__attribute__((overloadable)) void f(void (*x)()) {}
// CHECK: define dso_local void @f
void f(void (*x)(int)) {}
// CHECK: define dso_local void @g
void g(void (*x)(int)) {}
// CHECK:... | endlessm/chromium-browser | third_party/llvm/clang/test/CodeGen/mangle-ms.c | C | bsd-3-clause | 419 |
/* mpn_mul_n -- Multiply two natural numbers of length n.
Copyright (C) 1991, 1992, 1993, 1994, 1996 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as publis... | pexip/os-eglibc | stdlib/mul_n.c | C | gpl-2.0 | 11,541 |
/*
* Copyright 2014 Broadcom Corporation.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/io.h>
#include <asm/errno.h>
#include <asm/arch/sysmap.h>
#include <asm/kona-common/clk.h>
#include "clk-core.h"
#define WR_ACCESS_ADDR ESUB_CLK_BASE_ADDR
#define WR_ACCESS_PASSWORD 0xA5A500
... | mdxy2010/forlinux-ok6410 | u-boot15/arch/arm/cpu/armv7/bcm281xx/clk-eth.c | C | gpl-2.0 | 3,855 |
// SPDX-License-Identifier: GPL-2.0
/*
* ADIS16475 IMU driver
*
* Copyright 2019 Analog Devices Inc.
*/
#include <linux/bitfield.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/iio/buffer.h>
#... | penberg/linux | drivers/iio/imu/adis16475.c | C | gpl-2.0 | 36,236 |
/******************************************************************************
**
** \file gh_uart2.c
**
** \brief UART2.
**
** Copyright: 2012 - 2013 (C) GoKe Microelectronics ShangHai Branch
**
** \attention THIS SAMPLE CODE IS PROVIDED AS IS. GOKE MICROELECTRONICS
** ACCEPTS NO RESP... | igou/rt-thread | bsp/gkipc/libraries/drv/710XS/gh/src/gh_uart2.c | C | apache-2.0 | 37,789 |
/* { dg-do run } */
/* { dg-options "-O2 -mavx512f" } */
/* { dg-require-effective-target avx512f } */
#define AVX512F
#include "avx512f-helper.h"
#define SIZE (AVX512F_LEN / 64)
#include "avx512f-mask-type.h"
#define IMM_MASK 0x7c
static void
CALC (long long *src1, int mask, long long *dst)
{
int i;
for (i ... | xinchoubiology/gcc | gcc/testsuite/gcc.target/i386/avx512f-vpermq-imm-2.c | C | gpl-2.0 | 1,298 |
/*
Copyright 2017 Joshua Broekhuijsen <snipeye+qmk@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 the License, or
(at your option) any later version.
This program is ... | chancegrissom/qmk_firmware | quantum/pointing_device.c | C | gpl-2.0 | 2,024 |
/*
* Copyright (C) 2007-2012 Siemens AG
*
* Written by:
* Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
*
* 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.
*
* This progr... | geminy/aidear | oss/linux/linux-4.7/net/mac802154/main.c | C | gpl-3.0 | 6,178 |
/* Check that the GBR address optimization does not combine a gbr store
and its use when a function call is inbetween, when GBR is a call used
register, i.e. it is invalidated by function calls. */
/* { dg-do compile { target "sh*-*-*" } } */
/* { dg-options "-O1 -fcall-used-gbr" } */
/* { dg-skip-if "" { "sh*-*... | Xilinx/gcc | gcc/testsuite/gcc.target/sh/pr54760-4.c | C | gpl-2.0 | 719 |
/*
* Copyright (C) 2005-2006 Micronas USA 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.
*
* This program is distributed in the hope that it will be useful,
* but WIT... | kzlin129/tt-gpl | go12/linux-2.6.28.10/drivers/staging/go7007/wis-sony-tuner.c | C | gpl-2.0 | 19,105 |
/*
* Information interface for ALSA driver
* Copyright (c) by 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
* the Free Software Foundation; either version 2 of the License,... | BHSPitMonkey/linwizard-strtrk | sound/core/info_oss.c | C | gpl-2.0 | 3,947 |
/* slahr2.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... | CreativeCimmons/ORB-SLAM-Android-app | slam_ext/external/clapack-3.2.1-CMAKE/SRC/slahr2.c | C | gpl-2.0 | 10,138 |
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | mkvdv/au-linux-kernel-autumn-2017 | linux/drivers/staging/lustre/lustre/ldlm/ldlm_request.c | C | gpl-3.0 | 59,405 |
/* GStreamer
*
* unit test for y4menc
*
* Copyright (C) <2006> Mark Nauwelaerts <manauw@skynet.be>
*
* 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 Li... | jcaden/gst-plugins-good | tests/check/elements/y4menc.c | C | lgpl-2.1 | 5,330 |
/* sgetrf.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... | juanjosegarciaripoll/cblapack | src/lapack/VARIANTS/lu/LL/sgetrf.c | C | bsd-3-clause | 7,193 |
#include <uwsgi.h>
extern struct uwsgi_server uwsgi;
struct uwsgi_symcall {
struct uwsgi_string_list *symcall_function_name;
int (*symcall_function)(struct wsgi_request *);
struct uwsgi_string_list *rpc;
struct uwsgi_string_list *post_fork;
int use_rtld_next;
void *dlsym_handle;
} usym;
struct uwsgi_plugin sym... | jyotikamboj/container | uw-plugins/symcall/symcall_plugin.c | C | mit | 6,471 |
/*****************************************************************************
* Wave Simulation in OpenGL
* (C) 2002 Jakob Thomsen
* http://home.in.tum.de/~thomsen
* Modified for GLFW by Sylvain Hellegouarch - sh@programmationworld.com
* Modified for variable frame rate by Marcus Geelnard
* 2003-Jan-31: Minor cl... | andresodio/lager | viewer/external/glfw-2.7.6/examples/wave.c | C | mit | 8,340 |
/* Copyright (c) 2011-2012, 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... | davidmueller13/Googy-Max3-Kernel | arch/arm/mach-msm/board-jactive_att-gpiomux.c | C | gpl-2.0 | 39,781 |
/* Implementation of the IRAND, RAND, and SRAND intrinsics.
Copyright (C) 2004-2013 Free Software Foundation, Inc.
Contributed by Steven G. Kargl <kargls@comcast.net>.
This file is part of the GNU Fortran 95 runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it un... | wilseypa/llamaOS | src/sys/gcc-4.8.0/libgfortran/intrinsics/rand.c | C | bsd-2-clause | 3,659 |
/*
* Copyright (c) 2012 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | iniwf/webm.libvpx | vp8/encoder/denoising.c | C | bsd-3-clause | 29,274 |
// SPDX-License-Identifier: GPL-2.0+
/*
* intel TCO Watchdog Driver
*
* (c) Copyright 2006-2011 Wim Van Sebroeck <wim@iguana.be>.
*
* Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor
* provide warranty for any of this software. This material is
* provided "AS-IS" and at no charge.
*
* The TCO watch... | c0d3z3r0/linux-rockchip | drivers/watchdog/iTCO_wdt.c | C | gpl-2.0 | 18,151 |
/*
* trace_export.c - export basic ftrace utilities to user space
*
* Copyright (C) 2009 Steven Rostedt <srostedt@redhat.com>
*/
#include <linux/stringify.h>
#include <linux/kallsyms.h>
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/ftrace.h>
#include <linux/module... | ysleu/RTL8685 | uClinux-dist/linux-2.6.x/kernel/trace/trace_export.c | C | gpl-2.0 | 2,584 |
/* Check special symbol's st_value.
Copyright (C) 2005 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; version 2 of the License... | AOKP/external_elfutils | libebl/ebl_check_special_symbol.c | C | gpl-2.0 | 3,327 |
/*
* Filename: dev.c
*
*
* Authors: Joshua Morris <josh.h.morris@us.ibm.com>
* Philip Kelleher <pjk1939@linux.vnet.ibm.com>
*
* (C) Copyright 2013 IBM Corporation
*
* 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 So... | Isopod/linux | drivers/block/rsxx/dev.c | C | gpl-2.0 | 8,337 |
/* Generated automatically. DO NOT EDIT! */
#define SIMD_HEADER "simd-avx.h"
#include "../common/n1bv_9.c"
| Shangxz/HackIllinois2017 | tone-analysis/fftw-3.3.6-pl1/dft/simd/avx/n1bv_9.c | C | gpl-3.0 | 108 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* ms_block.c - Sony MemoryStick (legacy) storage support
* Copyright (C) 2013 Maxim Levitsky <maximlevitsky@gmail.com>
*
* Minor portions of the driver were copied from mspro_block.c which is
* Copyright (C) 2007 Alex Dubov <oakad@yahoo.com>
*/
#define DRIVER_NAME "m... | koct9i/linux | drivers/memstick/core/ms_block.c | C | gpl-2.0 | 57,934 |
/*
* Machine check handler.
*
* K8 parts Copyright 2002,2003 Andi Kleen, SuSE Labs.
* Rest from unknown author(s).
* 2004 Andi Kleen. Rewrote most of it.
* Copyright 2008 Intel Corporation
* Author: Andi Kleen
*/
#include <linux/thread_info.h>
#include <linux/capability.h>
#include <linux/miscdevice.h>
#include... | jiangweifeng04/linux_kernel_2_6_32 | linux-2.6.32.61/arch/x86/kernel/cpu/mcheck/mce.c | C | gpl-2.0 | 49,315 |
/*******************************************************************************
Intel PRO/1000 Linux driver
Copyright(c) 1999 - 2012 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 pub... | Evervolv/android_kernel_htc_msm8974 | drivers/net/ethernet/intel/e1000e/82571.c | C | gpl-2.0 | 37,786 |
/*
pd.c (c) 1997-8 Grant R. Guenther <grant@torque.net>
Under the terms of the GNU General Public License.
This is the high-level driver for parallel port IDE hard
drives based on chips supported by the paride module.
By default, the driver will autoprobe for ... | kidmaple/CoolWall | linux-2.6.x/drivers/block/paride/pd.c | C | gpl-2.0 | 23,973 |
/* Geode LX framebuffer driver
*
* Copyright (C) 2006-2007, Advanced Micro Devices,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
* op... | kidmaple/CoolWall | linux-2.6.x/drivers/video/geode/lxfb_ops.c | C | gpl-2.0 | 13,923 |
/*
** SMP Support
**
** Copyright (C) 1999 Walt Drummond <drummond@valinux.com>
** Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com>
** Copyright (C) 2001,2004 Grant Grundler <grundler@parisc-linux.org>
**
** Lots of stuff stolen from arch/alpha/kernel/smp.c
** ...and then parisc stole from arch/ia64/kernel/... | SanDisk-Open-Source/SSD_Dashboard | uefi/linux-source-3.8.0/arch/parisc/kernel/smp.c | C | gpl-2.0 | 10,328 |
/*
* sata_sil24.c - Driver for Silicon Image 3124/3132 SATA-2 controllers
*
* Copyright 2005 Tejun Heo
*
* Based on preview driver from Silicon Image.
*
* 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... | htc-msm8974/android_kernel_htc_msm8974 | drivers/ata/sata_sil24.c | C | gpl-2.0 | 31,582 |
/*
* arch/sh/kernel/cpu/sh4a/clock-sh7723.c
*
* SH7723 clock framework support
*
* Copyright (C) 2009 Magnus Damm
*
* 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 t... | jameshilliard/m8-3.4.0-gb1fa77f | arch/sh/kernel/cpu/sh4a/clock-sh7723.c | C | gpl-2.0 | 11,275 |
/*
* MAX732x I2C Port Expander with 8/16 I/O
*
* Copyright (C) 2007 Marvell International Ltd.
* Copyright (C) 2008 Jack Ren <jack.ren@marvell.com>
* Copyright (C) 2008 Eric Miao <eric.miao@marvell.com>
* Copyright (C) 2015 Linus Walleij <linus.walleij@linaro.org>
*
* Derived from drivers/gpio/pca953x.c
... | ssuthiku/linux | drivers/gpio/gpio-max732x.c | C | gpl-2.0 | 18,727 |
/*
* linux/arch/mips/tx4938/common/irq.c
*
* Common tx4938 irq handler
* Copyright (C) 2000-2001 Toshiba Corporation
*
* 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the
* terms of the GNU General Public License version 2. This program is
* licensed "as is" without any warranty of any kin... | kidmaple/CoolWall | linux-2.6.x/arch/mips/tx4938/common/irq.c | C | gpl-2.0 | 1,285 |
/* simple.c -- BFD simple client routines
Copyright (C) 2002-2014 Free Software Foundation, Inc.
Contributed by MontaVista Software, Inc.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gene... | jlspyaozhongkai/Uter | third_party_backup/binutils-2.25/bfd/simple.c | C | gpl-3.0 | 8,810 |
#include "vdec_hw_common.h"
#include "../include/vdec_info_h264.h"
#include "vdec_hw_h264.h"
//#include "x_hal_ic.h"
#if CONFIG_DRV_VERIFY_SUPPORT
#include "../verify/vdec_verify_general.h"
#include "../verify/vdec_info_verify.h"
#if (!CONFIG_DRV_LINUX)
#include <string.h>
#include <stdio.h>
#endif
extern void vVDec... | zhengdejin/X1_Code | kernel-3.10/drivers/misc/mediatek/vdec/hal/vdec_hw_h264.c | C | apache-2.0 | 23,359 |
/*
* Generic OPP OF helpers
*
* Copyright (C) 2009-2010 Texas Instruments Incorporated.
* Nishanth Menon
* Romit Dasgupta
* Kevin Hilman
*
* 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... | bas-t/linux_media | drivers/base/power/opp/of.c | C | gpl-2.0 | 17,635 |
/* drivers/misc/lowmemorykiller.c
*
* The lowmemorykiller driver lets user-space specify a set of memory thresholds
* where processes with a range of oom_score_adj values will get killed. Specify
* the minimum oom_score_adj values in
* /sys/module/lowmemorykiller/parameters/adj and the number of free pages in
* /... | XXMrHyde/android_kernel_motorola_msm8610 | drivers/staging/android/lowmemorykiller.c | C | gpl-2.0 | 18,020 |
/*
* TCP sockets binding example.
*/
#define _GNU_SOURCE
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <time.h>
#include "duktape.h"
#define ERROR_FROM_ERRNO(ctx) ... | waterbolik/prestudy | lib-src/duktape/examples/eventloop/socket.c | C | mit | 5,817 |
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include "sp.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
static int rpc_con;
static char rpc_data[MAX... | halfbro/radare | src/rasc/rpc.c | C | gpl-2.0 | 2,469 |
/* Copyright (C) 2005-2014 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@redhat.com>.
This file is part of the GNU OpenMP Library (libgomp).
Libgomp is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Fr... | lapesd/libgomp | src/libgomp/sections.c | C | gpl-3.0 | 5,090 |
/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if !defined(__native_client__) || defined(__GLIBC__)
// GLIBC-only entry p... | androidarmv6/android_external_chromium_org | native_client_sdk/src/libraries/nacl_io/syscalls/fdatasync.c | C | bsd-3-clause | 497 |
/*
* Modified for Hawkboard - Syed Mohammed Khasim <khasim@beagleboard.org>
*
* Copyright (C) 2008 Sekhar Nori, Texas Instruments, Inc. <nsekhar@ti.com>
* Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
* Copyright (C) 2004 Texas Instruments.
* Copyright (C) 2012 Sughosh Ganu <urwithsughosh@gmail.com>.
*
* -... | r2t2sdr/r2t2 | u-boot/board/davinci/da8xxevm/hawkboard.c | C | gpl-3.0 | 3,081 |
/**
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup sys_random
* @{
* @file
*
* @brief Glue-code for tinymt... | hamilton-mote/RIOT-OS | sys/random/tinymt32.c | C | lgpl-2.1 | 817 |
/******************************************************************************
* Filename: aux_tdc.c
* Revised: 2017-04-26 18:27:45 +0200 (Wed, 26 Apr 2017)
* Revision: 48852
*
* Description: Driver for the AUX Time to Digital Converter interface.
*
* Copyright (c) 2015 - 2017, Texas Instrum... | JakubBrachTieto/openthread | third_party/ti/devices/cc26x2/driverlib/aux_tdc.c | C | bsd-3-clause | 4,034 |
/*
* Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
*
* Jansson is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <jansson.h>
#include <string.h>
#include "util.h"
static void file_not_found()
{
json_t *json;
js... | Bl00drav3n/obs-studio | deps/jansson/test/suites/api/test_load.c | C | gpl-2.0 | 6,171 |
/*
* Copyright (C) 2011 Texas Instruments
* Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
*
* 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.
*
* This program is distributed in ... | ystk/linux-poky-debian | drivers/video/omap2/dss/apply.c | C | gpl-2.0 | 30,138 |
/*
Copyright 2012,2013 Jun Wako <wakojun@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 the License, or
(at your option) any later version.
This program is distribute... | kmtoki/qmk_firmware | keyboards/cannonkeys/ortho60/keymaps/default/keymap.c | C | gpl-2.0 | 5,962 |
/*
hexium_gemini.c - v4l2 driver for Hexium Gemini frame grabber cards
Visit http://www.mihu.de/linux/saa7146/ and follow the link
to "hexium" for further details about this card.
Copyright (C) 2003 Michael Hunold <michael@mihu.de>
This program is free software; you can redistribute it and/or mod... | wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/drivers/media/video/hexium_gemini.c | C | gpl-2.0 | 15,148 |
/*
+------------------------------------------------------------------------+
| Zephir Language |
+------------------------------------------------------------------------+
| Copyright (c) 2011-2015 Zephir Team (http://www.zephir-lang.com) |
+-----... | shootsoft/zephir-performance | zephirperformance/ext/kernel/output.c | C | apache-2.0 | 3,274 |
/*
* Copyright (c) 2006-2007, XenSource Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This... | jamesbulpin/xcp-xen-4.1 | tools/libxen/src/xen_vm_guest_metrics.c | C | gpl-2.0 | 8,162 |
/*
* Driver for Xceive XC5000 "QAM/8VSB single chip tuner"
*
* Copyright (c) 2007 Xceive Corporation
* Copyright (c) 2007 Steven Toth <stoth@linuxtv.org>
* Copyright (c) 2009 Devin Heitmueller <dheitmueller@kernellabs.com>
*
* This program is free software; you can redistribute it and/or modify
* it under... | mdmower/android_kernel_htc_m7 | drivers/media/common/tuners/xc5000.c | C | gpl-2.0 | 28,388 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2007-2012 Nicira, Inc.
*/
#include <linux/if_vlan.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/skbuff.h>
#include <net/dst.h>
#include <net/xfrm.h>
#include <net/rtnetli... | koct9i/linux | net/openvswitch/vport-internal_dev.c | C | gpl-2.0 | 7,051 |
/* devices.c: Initial scan of the prom device tree for important
* Sparc device nodes which we need to find.
*
* This is based on the sparc64 version, but sun4m doesn't always use
* the hardware MIDs, so be careful.
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
*/
#include <linux/config.... | ipwndev/DSLinux-Mirror | linux-2.6.x/arch/sparc/kernel/devices.c | C | gpl-2.0 | 3,564 |
/*
* Freescale i.MX drm driver
*
* Copyright (C) 2011 Sascha Hauer, Pengutronix
*
* 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... | mikedlowis-prototypes/albase | source/kernel/drivers/gpu/drm/imx/imx-drm-core.c | C | bsd-2-clause | 14,990 |
/*
* 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.
*
* SGI UV APIC functions (note: not an Intel compatible APIC)
*
* Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved.
*/
#... | uwehermann/easybox-904-lte-firmware | linux/linux-2.6.32.32/arch/x86/kernel/apic/x2apic_uv_x.c | C | gpl-2.0 | 17,070 |
/*
* Copyright (C) 2008-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gp... | fwmiller/Conserver-Freescale-Linux-U-boot | rpm/BUILD/linux-3.0.35/arch/arm/mach-mx5/clock.c | C | gpl-2.0 | 133,696 |
/*
* An async IO implementation for Linux
* Written by Benjamin LaHaise <bcrl@kvack.org>
*
* Implements an efficient asynchronous io interface.
*
* Copyright 2000, 2001, 2002 Red Hat, Inc. All Rights Reserved.
*
* See ../COPYING for licensing terms.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#includ... | underscoremone/android_kernel_htc_endeavoru | fs/aio.c | C | gpl-2.0 | 46,909 |
#include <gsl/gsl_test.h>
#include <gsl/gsl_ieee_utils.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_cblas.h>
#include "tests.h"
void
test_rotmg (void) {
const double flteps = 1e-4, dbleps = 1e-6;
{
float d1 = -1630.28519312f;
float d2 = 44320.1964703f;
float b1 = 1274.7681352f;
float b2 = 0.9830069128... | vankampen92/islandPLUS | src/lib_gsl/cblas/test_rotmg.c | C | gpl-3.0 | 6,337 |
/*
* Copyright (c) 2001 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
* Andy Adamson <andros@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... | mkvdv/au-linux-kernel-autumn-2017 | linux/fs/nfsd/nfs4callback.c | C | gpl-3.0 | 30,444 |
/*
* net/sched/sch_fq.c Fair Queue Packet Scheduler (per flow pacing)
*
* Copyright (C) 2013-2015 Eric Dumazet <edumazet@google.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; eit... | kronat/linux | net/sched/sch_fq.c | C | gpl-2.0 | 22,892 |
/* Copyright (C) 2000, 2009-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or... | evilmucedin/tomita-parser | src/contrib/tools/bison/gnulib/src/spawn_faction_addopen.c | C | mpl-2.0 | 2,256 |
/*
* Copyright (c) 2000 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 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it wou... | xyzz/vita-newlib | winsup/testsuite/winsup.api/ltp/kill02.c | C | gpl-2.0 | 26,550 |
/*
* AD7280A Lithium Ion Battery Monitoring System
*
* Copyright 2011 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linu... | mkvdv/au-linux-kernel-autumn-2017 | linux/drivers/staging/iio/adc/ad7280a.c | C | gpl-3.0 | 26,256 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Stack trace management functions
*
* Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
*/
#include <linux/sched.h>
#include <linux/sched/debug.h>
#include <linux/sched/task_stack.h>
#include <linux/stacktrace.h>
#include <linux/export.h>
#include <asm/stacktrace.... | CSE3320/kernel-code | linux-5.8/arch/mips/kernel/stacktrace.c | C | gpl-2.0 | 2,358 |
/*
* wm8739
*
* Copyright (C) 2005 T. Adachi <tadachi@tadachi-net.com>
*
* Copyright (C) 2005 Hans Verkuil <hverkuil@xs4all.nl>
* - Cleanup
*
* 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 Founda... | ghmajx/asuswrt-merlin | release/src-rt/linux/linux-2.6/drivers/media/video/wm8739.c | C | gpl-2.0 | 9,073 |
/*
* Copyright 2008 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
* Copyright 2009 Jerome Glisse.
*
* 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, in... | bas-t/linux_media | drivers/gpu/drm/radeon/r600_cs.c | C | gpl-2.0 | 76,785 |
/*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
* Author: Rahul Sharma <rahul.sharma@samsung.com>
*
* 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.
*
* Common Clock Frame... | mericon/Xp_Kernel_LGH850 | virt/drivers/clk/samsung/clk-exynos5260.c | C | gpl-2.0 | 67,868 |
/*
* MSI-X device support
*
* This module includes support for MSI-X in pci devices.
*
* Author: Michael S. Tsirkin <mst@redhat.com>
*
* Copyright (c) 2009, Red Hat Inc, Michael S. Tsirkin (mst@redhat.com)
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top... | emonty/deb-vhd-util | tools/qemu-xen/hw/pci/msix.c | C | gpl-2.0 | 17,385 |
/*
* g_ffs.c -- user mode file system API for USB composite function controllers
*
* Copyright (C) 2010 Samsung Electronics
* Author: Michal Nazarewicz <mina86@mina86.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 ... | EvanHa/rbp | linux/drivers/usb/gadget/legacy/g_ffs.c | C | lgpl-3.0 | 13,500 |
/*
* linux/arch/arm/common/gic.c
*
* Copyright (C) 2002 ARM Limited, 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.
*
* Interrupt architecture for th... | droidroidz/d2usc-tw-jb | arch/arm/common/gic.c | C | gpl-2.0 | 24,747 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2012 Regents of the University of California
*/
#include <linux/init.h>
#include <linux/seq_file.h>
#include <linux/of.h>
#include <asm/smp.h>
/*
* Returns the hart ID of the given device tree node, or -ENODEV if the node
* isn't an enabled and valid RIS... | mpe/powerpc | arch/riscv/kernel/cpu.c | C | gpl-2.0 | 3,135 |
/* Copyright (c) 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 hope... | burakgon/E7_Elite_kernel | kernel/drivers/gpu/msm/adreno_coresight.c | C | gpl-2.0 | 6,810 |
/*
* Copyright (c) 2012, 2013, NVIDIA CORPORATION. All rights reserved.
*
* 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 in th... | mericon/Xp_Kernel_LGH850 | virt/drivers/clk/tegra/clk-tegra-super-gen4.c | C | gpl-2.0 | 4,264 |
/* { dg-do compile } */
/* { dg-options "-fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
struct __jmp_buf_tag {};
typedef struct __jmp_buf_tag jmp_buf[1];
extern int _setjmp (struct __jmp_buf_tag __env[1]);
jmp_buf g_return_jmp_buf;
void SetNaClSwitchExpectations (void... | xinchoubiology/gcc | gcc/testsuite/gcc.dg/torture/pr57147-1.c | C | gpl-2.0 | 544 |
/*
*
* Copyright (c) International Business Machines Corp., 2001
*
* 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 l... | openrisc/or1k-src | winsup/testsuite/winsup.api/ltp/read04.c | C | gpl-2.0 | 4,310 |
/******************************************************************************
*
* 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) 2007 - 2013 Intel Corporation. All rights reserved.
*
... | wurikiji/ttFS | ulinux/linux-3.10.61/drivers/net/wireless/iwlwifi/iwl-drv.c | C | gpl-2.0 | 36,868 |
/* vi: set sw=4 ts=4: */
/*
* coreutils utility routine
*
* Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.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... | Bytewerk/uClinux-ipcam | user/busybox/coreutils/libcoreutils/cp_mv_stat.c | C | gpl-2.0 | 1,429 |
/***************************************************************************/
/* */
/* ftccmap.c */
/* */
/* Fr... | nonrational/qt-everywhere-opensource-src-4.8.6 | src/3rdparty/freetype/src/cache/ftccmap.c | C | lgpl-2.1 | 12,933 |
/*
* Copyright (C) 2003-2008 Takahiro Hirofuchi
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This is distribute... | ziqiaozhou/cachebar | source/drivers/staging/usbip/stub_dev.c | C | gpl-2.0 | 14,045 |
/*
* Copyright (c) 2005-2011 Atheros Communications Inc.
* Copyright (c) 2011-2013 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
* copyright notice and this permission notice appear in al... | WukLab/Hotpot | hotpot-kernel/drivers/net/wireless/ath/ath10k/ce.c | C | gpl-2.0 | 33,642 |
/*
* FPU op helpers
*
* Copyright (c) 2003-2005 Fabrice Bellard
*
* 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... | ckohl/illumos-kvm-cmd | target-sparc/fop_helper.c | C | gpl-2.0 | 16,311 |
/*
* linux/mm/page_io.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Swap reorganised 29.12.95,
* Asynchronous swapping added 30.12.95. Stephen Tweedie
* Removed race in async swapping. 14.4.1996. Bruno Haible
* Add swap of shared pages through the page cache. 20.2.1998. Stephen Tweedie
... | greguu/linux-3.5-borzoi | mm/page_io.c | C | gpl-2.0 | 3,553 |
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
struct face_cachel {
unsigned int reverse :1;
unsigned char font_specified[1];
};
void
ensure_face_cachel_contains_charset (struct face_cachel *cachel) {
cachel->font_specified[0] = 0;
}
| cd80/UtilizedLLVM | tools/clang/test/CodeGen/2003-11-20-Bitfields.c | C | unlicense | 243 |
/* Copyright (c) 2011-2012, 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... | sktjdgns1189/android_kernel_samsung_SHV-E160S | sounds/soc/codecs/wcd9310.c | C | gpl-2.0 | 196,429 |
/* Copyright (C) 2007-2010 The Android Open Source Project
**
** 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 distributed in the hope that i... | whitestonelee/tlb_analyzer | qemu/memcheck/memcheck_mmrange_map.c | C | gpl-3.0 | 7,107 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* FPGA Manager Driver for Lattice iCE40.
*
* Copyright (c) 2016 Joel Holdsworth
*
* This driver adds support to the FPGA manager for configuring the SRAM of
* Lattice iCE40 FPGAs through slave SPI.
*/
#include <linux/fpga/fpga-mgr.h>
#include <linux/gpio/consumer.h>
... | rperier/linux | drivers/fpga/ice40-spi.c | C | gpl-2.0 | 5,476 |
/*
* test-all.c: Try to build all the main testcases at once.
*
* A well-configured system will have all the prereqs installed, so we can speed
* up auto-detection on such systems.
*/
/*
* Quirk: Python and Perl headers cannot be in arbitrary places, so keep
* these 3 testcases at the top:
*/
#define main main... | rubiojr/surface3-kernel | tools/perf/config/feature-checks/test-all.c | C | gpl-2.0 | 2,217 |
/* PR middle-end/66633 */
/* { dg-do compile } */
/* { dg-options "-fopenmp -O0" } */
#include "pr66633-1.c"
| selmentdev/selment-toolchain | source/gcc-latest/gcc/testsuite/gcc.dg/gomp/pr66633-2.c | C | gpl-3.0 | 110 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.