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 |
|---|---|---|---|---|---|
/*
* This file is part of the coreboot project.
*
* Copyright (C) 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; version 2 of the License.
*
* This ... | XVilka/coreboot | src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c | C | gpl-2.0 | 9,119 |
// SPDX-License-Identifier: GPL-2.0+
/*
* Driver for Realtek RTS51xx USB card reader
*
* Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved.
*
* Author:
* wwang (wei_wang@realsil.com.cn)
* No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
*/
#include <linux/module.h>
#include <linux/... | michael2012z/myKernel | drivers/usb/storage/realtek_cr.c | C | gpl-2.0 | 26,879 |
/*
* Copyright (c) Wipro Technologies Ltd, 2002. 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 w... | wanghao-xznu/vte | testcases/kernel/syscalls/munlock/munlock02.c | C | gpl-2.0 | 4,966 |
/* Binutils emulation layer.
Copyright 2002, 2003, 2006, 2007, 2008 Free Software Foundation, Inc.
Written by Tom Rix, Red Hat Inc.
This file is part of GNU Binutils.
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... | wanghao-xznu/vte | openlibs/binutils-2.19.51.0.12/binutils/emul_aix.c | C | gpl-2.0 | 4,410 |
/*
* builtin-record.c
*
* Builtin record command: Record the profile of a workload
* (or a CPU, or a PID) into the perf.data output file - for
* later analysis via perf report.
*/
#define _FILE_OFFSET_BITS 64
#include "builtin.h"
#include "perf.h"
#include "util/build-id.h"
#include "util/util.h"
#include "uti... | gao-feng/net | tools/perf/builtin-record.c | C | gpl-2.0 | 28,959 |
#include <uwsgi.h>
/*
this plugin, allows remote spooling of jobs
*/
extern struct uwsgi_server uwsgi;
int uwsgi_request_spooler(struct wsgi_request *wsgi_req) {
struct uwsgi_header uh;
// TODO get the spooler from the modifier2
if (uwsgi.spoolers == NULL) {
uwsgi_log("the spool... | DataDog/uwsgi | plugins/spooler/spooler_plugin.c | C | gpl-2.0 | 1,622 |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | gromaudio/linux-imx6-31053 | net/ipv4/tcp_output.c | C | gpl-2.0 | 94,971 |
/*
* Copyright (C) 2014 BlueKitchen GmbH
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the follo... | Zimoy/Metronome | modules/btstack/chipset-em9301/bt_control_em9301.c | C | gpl-2.0 | 3,200 |
/*
* Completely Fair Scheduling (CFS) Class (SCHED_NORMAL/SCHED_BATCH)
*
* Copyright (C) 2007 Red Hat, Inc., Ingo Molnar <mingo@redhat.com>
*
* Interactivity improvements by Mike Galbraith
* (C) 2007 Mike Galbraith <efault@gmx.de>
*
* Various enhancements by Dmitry Adamushko.
* (C) 2007 Dmitry Adamushko <... | kerneldevs/caf-kernel | kernel/sched_fair.c | C | gpl-2.0 | 96,384 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2019, Daniel St... | ccw808/mtasa-blue | vendor/curl/lib/ldap.c | C | gpl-3.0 | 29,007 |
/* shutdown.c --- wrappers for Windows shutdown function
Copyright (C) 2008-2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the Li... | freedesktop-unofficial-mirror/gstreamer-sdk__gnutls | gl/shutdown.c | C | gpl-3.0 | 1,252 |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "feat.h"
#include "ckd_alloc.h"
#include "test_macros.h"
const mfcc_t data[6][13] = {
{ FLOAT2MFCC(15.114), FLOAT2MFCC(-1.424), FLOAT2MFCC(-0.953),
FLOAT2MFCC(0.186), FLOAT2MFCC(-0.656), FLOAT2MFCC(-... | michael-chi/jumbo | v1/robot-node/stt/sphinxbase/test/unit/test_feat/test_feat_live.c | C | gpl-3.0 | 3,916 |
/* movstat/movmedian.c
*
* Routines related to a moving window median
*
* Copyright (C) 2018 Patrick Alken
*
* 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... | mancoast/gsl | movstat/movmedian.c | C | gpl-3.0 | 1,423 |
/* install-info -- create Info directory entry(ies) for an Info file.
$Id: install-info.c,v 1.13 2008/05/18 16:54:02 karl Exp $
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2007, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or ... | BreakawayConsulting/texinfo | install-info/install-info.c | C | gpl-3.0 | 87,742 |
/*
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/sbrk.c | C | gpl-3.0 | 1,462 |
/*
* This file is part of the libsigrok project.
*
* Copyright (C) 2011-2014 Uwe Hermann <uwe@hermann-uwe.de>
*
* 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 Lic... | mrnuke/libsigrok | src/hardware/chronovu-la/api.c | C | gpl-3.0 | 14,389 |
/*
* Copyright 2004 PathScale, Inc. All Rights Reserved.
*/
/*
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 Sof... | uhhpctools/openuh-openacc | osprey/libF77/s_rnge.c | C | gpl-3.0 | 2,622 |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "InformationElements"
* found in "../asn/InformationElements.asn"
* `asn1c -fcompound-names -fnative-types`
*/
#include "UE-RadioAccessCapability-va40ext.h"
static asn_TYPE_member_t asn_MBR_UE_RadioAccessCapability_va40ext_1[] = {
{... | BramBonne/snoopsnitch-pcapinterface | contrib/libosmo-asn1-rrc/src/UE-RadioAccessCapability-va40ext.c | C | gpl-3.0 | 2,313 |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "InformationElements"
* found in "../asn/InformationElements.asn"
* `asn1c -fcompound-names -fnative-types`
*/
#include "E-DPDCH-Reference-E-TFCIList-r7.h"
static asn_per_constraints_t asn_PER_type_E_DPDCH_Reference_E_TFCIList_r7_con... | BramBonne/snoopsnitch-pcapinterface | contrib/libosmo-asn1-rrc/src/E-DPDCH-Reference-E-TFCIList-r7.c | C | gpl-3.0 | 2,080 |
/*
* Copyright 2005, 2006 PathScale, Inc. All Rights Reserved.
*/
/*
Copyright (C) 2000,2004 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 Fre... | pumpkin83/OpenUH-OpenACC | osprey/libdwarf/libdwarf/pro_reloc.c | C | gpl-3.0 | 7,066 |
/*
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... | RobsonRojas/frertos-udemy | FreeRTOSv9.0.0/FreeRTOS/Demo/Common/Minimal/GenQTest.c | C | gpl-3.0 | 26,183 |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "InformationElements"
* found in "../asn/InformationElements.asn"
* `asn1c -fcompound-names -fnative-types`
*/
#include "SysInfoType13-v3a0ext-IEs.h"
static asn_TYPE_member_t asn_MBR_SysInfoType13_v3a0ext_IEs_1[] = {
{ ATF_NOFLAGS, ... | E3V3A/snoopsnitch | contrib/libosmo-asn1-rrc/src/SysInfoType13-v3a0ext-IEs.c | C | gpl-3.0 | 2,182 |
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*******************... | hyc/BerkeleyDB | lang/sql/sqlite/src/update.c | C | agpl-3.0 | 24,442 |
/*
* Copyright (C) 2011 Igalia S.L.
*
* Contact: Iago Toral Quiroga <itoral@igalia.com>
*
* 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; version 2.1 of
* the License, or (at your... | GNOME/grilo | src/grl-caps.c | C | lgpl-2.1 | 7,616 |
/*
* Copyright (C) 2011 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This librar... | jeckersb/libvirt | tests/virlockspacetest.c | C | lgpl-2.1 | 8,984 |
/*************************************************************************************************
* The utility API of Tokyo Tyrant
* Copyright (C) 2006-2010 FAL Labs
* This file is part of Tokyo Tyrant.
* Tokyo Tyrant is free software; you can redistri... | hthetiot/Tokyo-Tyrant | ttutil.c | C | lgpl-2.1 | 46,179 |
/**
* \file initialize.c
*
* initialize the libopts data structures.
*
* @addtogroup autoopts
* @{
*/
/*
* This file is part of AutoOpts, a companion to AutoGen.
* AutoOpts is free software.
* AutoOpts is Copyright (C) 1992-2015 by Bruce Korb - all rights reserved
*
* AutoOpts is available under any on... | komh/gnutls-os2 | src/libopts/init.c | C | lgpl-2.1 | 8,662 |
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <unistd.h>
#include <netinet/tcp.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/un.h>
#include <stdlib.h>
#include <dlfcn.h>
#include "asm/types.h"
#include "libnetlink.h"
#include "cr_options.h"
#include "imgset.h"
#in... | gonkulator/criu | sk-unix.c | C | lgpl-2.1 | 30,352 |
/* radare - LGPL - Copyright 2015 - pancake, nibble */
#include <r_anal.h>
typedef void (*RAnalEsilPin)(RAnal *a);
#if 0
// TODO: those hardcoded functions should go
/* default pins from libc */
static void pin_strlen(RAnal *a) {
// get a0 register
// read memory and interpret it as a string
// set a0 to the resu... | wargio/radare2 | libr/anal/pin.c | C | lgpl-3.0 | 1,867 |
/* This file is an image processing operation for GEGL
*
* GEGL is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* GEGL ... | OpenCL/GEGL-OpenCL-old | operations/common/map-absolute.c | C | lgpl-3.0 | 5,072 |
/***************************************************************************//**
* @file em_cryotimer.c
* @brief Ultra Low Energy Timer/Counter (CRYOTIMER) peripheral API
* @version 5.6.0
*******************************************************************************
* # License
* <b>Copyright 2016 Silicon Labora... | ldts/zephyr | ext/hal/silabs/gecko/emlib/src/em_cryotimer.c | C | apache-2.0 | 2,864 |
/* File httpscat.c
* November 2000
* By John Roll
* Test http access to scat
* Load with -lnsl -lsocket
*/
#include <stdio.h>
#include <strings.h>
#define CHUNK 8192
#define LINE 1024
FILE *scathttp();
main() {
FILE *fp;
int red;
char cat[CHUNK];
if ( !(fp = s... | hankwing/Squirrel | library/wcstools-3.8.5/httpscat.c | C | apache-2.0 | 6,418 |
#include <stdio.h>
#include "grib2.h"
#define MAPSEC1LEN 13
g2int g2_create(unsigned char *cgrib,g2int *listsec0,g2int *listsec1)
//$$$ SUBPROGRAM DOCUMENTATION BLOCK
// . . . .
// SUBPROGRAM: g2_create
// PRGMMR: Gilbert ORG: W/NP11 DATE:... | nbuchanan/node-gdal | deps/libgdal/gdal/frmts/grib/degrib18/g2clib-1.0.4/g2_create.c | C | apache-2.0 | 4,750 |
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#include "remote.h"
#include "git2/config.h"
#include "git2/types.h"
#include "git2/oid.h"
#include "gi... | chigraph/chigraph | third_party/libgit2/src/remote.c | C | apache-2.0 | 63,621 |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2017, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | juanmont/one | src/mad/utils/tty_expect.c | C | apache-2.0 | 4,582 |
/*
* Battery charger driver for allwinnertech AXP81X
*
* Copyright (C) 2014 ALLWINNERTECH.
* Ming Li <liming@allwinnertech.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 Foundatio... | OLIMEX/DIY-LAPTOP | SOFTWARE/A64-TERES/linux-a64/drivers/power/axp_power/axp81x-sply.c | C | apache-2.0 | 15,485 |
/*
*
* Copyright 2016 gRPC authors.
*
* 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 agree... | yang-g/grpc | src/core/lib/iomgr/timer_uv.c | C | apache-2.0 | 3,055 |
/** @file
Timer Architectural Protocol module using High Precesion Event Timer (HPET)
Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies th... | hwu25/edk2_PcAtChipsetPkg | HpetTimerDxe/HpetTimer.c | C | bsd-2-clause | 37,006 |
/*
* Copyright (C) Roman Arutyunyan
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
#include <ngx_stream.h>
static char *ngx_stream_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
static ngx_int_t ngx_stream_add_ports(ngx_conf_t *cf, ngx_array_t *ports,... | bohuihuang/nginx-190 | src/stream/ngx_stream.c | C | bsd-2-clause | 14,078 |
/**
* @file recvtime.c
* @provides recvtime.
*
* $Id: recvtime.c 2070 2009-09-18 22:36:02Z brylow $
*/
/* Embedded Xinu, Copyright (C) 2009. All rights reserved. */
#include <conf.h>
#include <stddef.h>
#include <thread.h>
#include <clock.h>
/**
* wait to receive a message or timeout and return result
* @para... | thekeele/xinu-rpi | system/recvtime.c | C | bsd-3-clause | 1,197 |
#include "stdint.h"
#include "string.h"
#include "stdio.h"
static char *_val_for_vid(uint32_t *nodes, uint32_t *kids, uint32_t vid, char *rval) {
char *curr = rval;
uint32_t node = nodes[vid];
uint32_t kid_offset = (uint32_t )0x00ffffff & node;
uint32_t parent = kids[kid_offset++];
if (parent) {
... | kunthar/hustle | deps/librtrie/rtrie.c | C | mit | 5,086 |
#include "config.h"
#include <string.h>
#include <stdlib.h>
#define LOCAL_DEBUG
#include "../afterbase.h"
#include "../afterimage.h"
#include "common.h"
#include "../char2uni.h"
/* Usage: astext [-f font] [-s size] [-t text] [-S 3D_style]
[-c text_color] [-b background_color]
[... | born2late/afterstep-devel | libAfterImage/apps/asi18n.c | C | mit | 9,590 |
/*******************************************************************************
*
* Module Name: utxfmutex - external AML mutex access functions
*
******************************************************************************/
/******************************************************************************
*
* 1... | aclements/sv6 | kernel/acpica/source/components/utilities/utxfmutex.c | C | mit | 10,920 |
/**
* \file
*
* \brief USB Device Controller (UDC) optimized for DFU FLIP Device
*
* Copyright (c) 2011-2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... | turbinenreiter/micropython | atmel-samd/asf/common/services/usb/udc/udc_dfu_small.c | C | mit | 12,466 |
//
// firfilt_crcf_example.c
//
// Complex finite impulse response filter example. Demonstrates the
// functionality of firfilt by designing a low-order prototype and using it
// to filter a noisy signal. The filter coefficients are real, but the
// input and output arrays are complex. The filter order and cutoff
... | cjcliffe/liquid-dsp | examples/firfilt_crcf_example.c | C | mit | 4,475 |
/* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern float strtof(char const *str , char const *endptr ) ;
extern void signal(int sig , void *func ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char co... | tum-i22/obfuscated-programs | tigress-generated-programs/empty-Seed1-RandomFuns-Type_short-ControlStructures_12-BB2-ForBound_input-Operators_all.c | C | mit | 3,501 |
/*++
/* NAME
/* postscreen_haproxy 3
/* SUMMARY
/* haproxy protocol adapter
/* SYNOPSIS
/* #include <postscreen_haproxy.h>
/*
/* void psc_endpt_haproxy_lookup(smtp_client_stream, lookup_done)
/* VSTRING *smtp_client_stream;
/* void (*lookup_done)(status, smtp_client_stream,
/* smtp_client_addr, smtp_client_port,
/* ... | Dexus/ubuntu-trusty-postfix | src/postscreen/postscreen_haproxy.c | C | epl-1.0 | 5,602 |
/* @(#)s_isnan.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided t... | pexip/os-eglibc | sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c | C | gpl-2.0 | 915 |
/*
* u_ether.c -- Ethernet-over-USB link layer utilities for Gadget stack
*
* Copyright (C) 2003-2005,2008 David Brownell
* Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger
* Copyright (C) 2008 Nokia Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the te... | AndroPlus-org/android_kernel_sony_msm8994 | drivers/usb/gadget/u_ether.c | C | gpl-2.0 | 51,420 |
/*
* Copyright (C) 2008 The Android Open Source Project
* 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, t... | rex-xxx/mt6572_x201 | bionic/libc/unistd/sigwait.c | C | gpl-2.0 | 2,969 |
/*
* Copyright (C) 2010-2012 Advanced Micro Devices, Inc.
* Author: Joerg Roedel <jroedel@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.
*
* This program is distrib... | pratyushanand/linux | drivers/iommu/amd_iommu_v2.c | C | gpl-2.0 | 22,419 |
/*
* linux/drivers/video/omap2/dss/dsi.c
*
* Copyright (C) 2009 Nokia Corporation
* Author: Tomi Valkeinen <tomi.valkeinen@nokia.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 Foun... | MikeC84/mac_kernel_moto_minnow | drivers/video/omap2/dss/dsi.c | C | gpl-2.0 | 147,377 |
/* pci_psycho.c: PSYCHO/U2P specific PCI controller support.
*
* Copyright (C) 1997, 1998, 1999, 2007 David S. Miller (davem@davemloft.net)
* Copyright (C) 1998, 1999 Eddie C. Dost (ecd@skynet.be)
* Copyright (C) 1999 Jakub Jelinek (jakub@redhat.com)
*/
#include <linux/kernel.h>
#include <linux/types.h>
#incl... | janrinze/loox7xxport.loox2-6-26 | arch/sparc64/kernel/pci_psycho.c | C | gpl-2.0 | 37,708 |
/* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
* Copyright (C) 2011 CaH4e3
*
* 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 Licen... | Oggom/libretro-fceumm | src/boards/116.c | C | gpl-2.0 | 8,272 |
/*
* ALSA driver for VT1724 ICEnsemble ICE1724 / VIA VT1724 (Envy24HT)
* VIA VT1720 (Envy24PT)
*
* Copyright (c) 2000 Jaroslav Kysela <perex@suse.cz>
* 2002 James Stafford <jstafford@ampltd.com>
* 2003 Takashi Iwai <tiwai@suse.de>
*
* This program is f... | tianya3796/linux2.6.9 | sound/pci/ice1712/ice1724.c | C | gpl-2.0 | 65,449 |
/*
Copyright (C) 2016 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file LICENSE for details.
*/
#include "window.h"
#include "memory.h"
#include "window_manager.h"
#define CHARACTER_W 8
#define CHARACTER_H 8
static inline void window_clear_bounds(struct wind... | kkoser/Nunya | src/window.c | C | gpl-2.0 | 4,508 |
/* drivers/misc/oneseg_tuner_drv.c
*
* 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; either version 2
* of the License, or (at your option) any later version.
*/
/*
* Copyright... | AndroPlus-org/android_kernel_sony_msm8994 | drivers/misc/oneseg_tuner_drv.c | C | gpl-2.0 | 13,723 |
/* Blackfin Direct Memory Access (DMA) Channel model.
Copyright (C) 2010-2020 Free Software Foundation, Inc.
Contributed by Analog Devices, Inc.
This file is part of simulators.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as... | mattstock/binutils-bexkat1 | sim/bfin/dv-bfin_dma.c | C | gpl-2.0 | 15,107 |
/*
* linux/kernel/time/tick-sched.c
*
* Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
* Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar
* Copyright(C) 2006-2007 Timesys Corp., Thomas Gleixner
*
* No idle tick implementation for low and high resolution timers
*
* Started by: Thomas Glei... | CM-CHT/android_kernel_intel_cherrytrail | kernel/time/tick-sched.c | C | gpl-2.0 | 30,000 |
/* Support routines for manipulating internal types for GDB.
Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
Contributed by Cygnus Support, using pieces from other GDB modules.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under th... | zheka/nacl-gdb | gdb/gdbtypes.c | C | gpl-2.0 | 119,674 |
/* Copyright (C) 2004 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 Licen... | ScotSalmon/glibc | rt/mq_timedreceive.c | C | gpl-2.0 | 1,214 |
/* gdth_proc.c
* $Id: gdth_proc.c,v 1.42 2004/03/05 15:50:20 achim Exp $
*/
#include <linux/completion.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
int gdth_proc_info(struct Scsi_Host *host, char *buffer,char **start,off_t offset,int length,
int inout)
{
int hanum,busnum;
TRACE... | zrafa/linuxkernel | linux-2.6.17.new/drivers/scsi/gdth_proc.c | C | gpl-2.0 | 35,016 |
/*
* kernel/ve/vzdev.c
*
* Copyright (C) 2000-2005 SWsoft
* All rights reserved.
*
* Licensing governed by "linux/COPYING.SWsoft" file.
*
*/
#include <linux/fs.h>
#include <linux/list.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/vzctl.h>
#include <linux/slab.h>
#include <linux/vm... | rootfs/vzkernel | kernel/ve/vzdev.c | C | gpl-2.0 | 2,976 |
/* poly/companion.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough
*
* 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... | nchaimov/m3l-af | libs/gsl/poly/companion.c | C | gpl-2.0 | 1,177 |
#include "Ve_profile.h"
#ifdef CONFIG_RTK_VOIP_DRIVERS_SLIC_ZARLINK_ON_NEW_ARCH
#include "snd_define.h"
#else
#include "Slic_api.h"
#endif
/************** User defined Cadence_Definitions **************/
#ifdef CONFIG_RTK_VOIP_SLIC_ZARLINK_880_SERIES
VpProfileDataType LE880_RING_CAD_USER_DEF[] =
{
/* Cadence Profi... | ysleu/RTL8685 | uClinux-dist/linux-2.6.x/rtk_voip-single_cpu/voip_drivers/zarlink/api_lib-2.16.1/profiles/Ve_profile.c | C | gpl-2.0 | 685 |
/* drivers/input/touchscreen/synaptics_i2c_rmi_tm.c
*
* Copyright (C) 2009 HUAWEI.
**
*/
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/earlysuspend.h>
#include <linux/hrtimer.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/p... | sencis/kernel_huawei_u8500 | drivers/input/touchscreen/synaptics_i2c_rmi_tm.c | C | gpl-2.0 | 44,277 |
/**
* \file
*
* \brief SAM4E-EK board init.
*
* Copyright (c) 2012 - 2013 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... | Lindem-Data-Acquisition-AS/TM4C129-discontinued | libraries/FreeRTOSv8.0.1/FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/boards/sam4e_ek/init.c | C | gpl-2.0 | 13,966 |
/** @file
*
* VirtualBox Windows Guest Shared Folders
*
* File System Driver network redirector subsystem routines
*/
/*
* Copyright (C) 2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can ... | mirror/vbox | src/VBox/Additions/WINNT/SharedFolders/driver/net.c | C | gpl-2.0 | 16,646 |
/*
* 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 ... | sandymanu/manufooty_yu_lp | drivers/video/msm/mdss/mdss_mdp_pp.c | C | gpl-2.0 | 162,715 |
/*
* Based on arch/arm/mm/fault.c
*
* Copyright (C) 1995 Linus Torvalds
* Copyright (C) 1995-2004 Russell King
* Copyright (C) 2012 ARM 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
* published by the Free Soft... | antmicro/linux-sunxi | arch/arm64/mm/fault.c | C | gpl-2.0 | 15,451 |
/******************************************************************************
*
* Module Name: tbfadt - FADT table utilities
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2007, R. Byron Moore
* All rights reserved.
*
* Redistribution and use in s... | archos-sa/archos-gpl-gen6-kernel | drivers/acpi/tables/tbfadt.c | C | gpl-2.0 | 14,829 |
/*The file is auto generated by tools, don't modify it manully.*/
#include <hsad/configdata.h>
config_pair hw_U9700GVC_configs [] = {
{"apds/apds_type", (unsigned int)3, E_CONFIG_DATA_TYPE_INT },
{"arch/arch_type", (unsigned int)2, E_CONFIG_DATA_TYPE_INT },
{"audio/aud_para", (const unsigned int)(unsigned ... | damienyong/Kernel-3.0.8 | kernel/drivers/huawei/hsad/auto-generate/hw_U9700GVC_configs.c | C | gpl-2.0 | 12,776 |
/*
* Driver for MT9V022 CMOS Image Sensor from Micron
*
* Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.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.
*/... | kmalekinasab/wireless-network | drivers/media/i2c/soc_camera/mt9v022.c | C | gpl-2.0 | 27,577 |
/**
* @file proxyfs_pipe_real_file.c - File class for accessing pipe files
* (used by proxyfs_server_task)
*
*
*
*
* Date: 08/02/2007
*
* Author: Petr Malat
*
* $Id: proxyfs_pipe_real_file.c,v 1.8 2008/05/02 19:59:20 stavam2 Exp $
*
* This file is part of Proxy filesystem (ProxyFS)
... | MarstCVUT/Clondike | src/proxyfs/proxyfs_pipe_real_file.c | C | gpl-2.0 | 11,251 |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "fixed_grammar.asn"
* `asn1c -gen-PER`
*/
#include "MBMSCountingRequest-r10.h"
static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_4[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_UNI... | massar5289/openairinterface5G | cmake_targets/oaisim_build_oai/build/CMakeFiles/Rel10/MBMSCountingRequest-r10.c | C | gpl-3.0 | 4,392 |
/*
Unix SMB/CIFS implementation.
Samba utility functions
Copyright (C) Andrew Tridgell 1992-2001
Copyright (C) Simo Sorce 2001-2002
Copyright (C) Martin Pool 2003
Copyright (C) James Peach 2006
Copyright (C) Jeremy Allison 1992-2007
This program is free software; you can redistribut... | zahari/samba | source3/lib/util_str.c | C | gpl-3.0 | 26,177 |
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/export.h>
#include <linux/iio/buffer.h>
#include <linux/iio/consumer.h>
struct iio_cb_buffer {
struct iio_buffer buffer;
int (*cb)(const void *data, void *private);
void *private;
struct iio_channel *channels;
};
static struc... | r2t2sdr/r2t2 | linux/trunk/linux-4.0-adi/drivers/iio/buffer_cb.c | C | gpl-3.0 | 3,167 |
/*
* Copyright(C) 2017 Davidson Francis <davidsondfgl@gmail.com>
*
* This file is part of Nanvix.
*
* Nanvix 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 ... | turbolay/nanvix | src/lib/libc/ctype/isgraph.c | C | gpl-3.0 | 3,716 |
/* xxd: my hexdump facility. jw
*
* 2.10.90 changed to word output
* 3.03.93 new indent style, dumb bug inserted and fixed.
* -c option, mls
* 26.04.94 better option parser, -ps, -l, -s added.
* 1.07.94 -r badly needs - as input file. Per default autoskip over
* consequtive lines of zero... | weissj3/milkywayathome_client | tools/xxd/xxd.c | C | gpl-3.0 | 20,031 |
/**************************************************************************/
/* */
/* OCaml */
/* */
/* ... | gerdstolpmann/ocaml | runtime/intern.c | C | lgpl-2.1 | 31,604 |
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2010 Collabora, Ltd.
*
* 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 (... | ImageMagick/glib | gio/gproxyaddress.c | C | lgpl-2.1 | 11,287 |
// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve \
// RUN: -emit-llvm -o - %s -debug-info-kind=limited 2>&1 | FileCheck %s
void test_locals(void) {
// CHECK-DAG: name: "__clang_svint8x4_t",{{.*}}, baseType: ![[CT8:[0-9]+]]
// CHECK-DAG: ![[CT8]] = !DICompositeType(tag: DW_TAG_array_type, bas... | google/llvm-propeller | clang/test/CodeGen/aarch64-debug-sve-vectorx4-types.c | C | apache-2.0 | 5,003 |
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
/*
* Assemble a FFS Image (no, not that FFS, this FFS)
*
* Copyright 2013-2019 IBM Corp.
*/
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include... | legoater/skiboot | external/ffspart/ffspart.c | C | apache-2.0 | 12,590 |
/*
FreeRTOS V9.0.0rc2 - 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
... | kubostech/KubOS | freertos/os/FreeRTOS/Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/main-full.c | C | apache-2.0 | 26,812 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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. Oracle designates this
* particular file as subject to th... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/src/share/native/java/util/zip/zlib-1.1.3/inffast.c | C | apache-2.0 | 7,053 |
/*
* 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 ... | apache/guacamole-server | src/common/ibar_cursor.c | C | apache-2.0 | 2,937 |
/**
* @file jump64.c
*
* @brief jump function for tinymt64
*
* Jump function changes the internal state vector of tinymt64
* pseudorandom number generator to the state which is N step after
* current state, as if it generated N random numbers. The jump is
* much faster than generating N numbers, when N is larg... | RobertGBryan/TinyMTCPP | TinyMT-src-1.0.1 Orig C Code/TinyMTJump-src-1.1/jump64.c | C | bsd-3-clause | 2,550 |
/*------------------------------------------------------------------------*/
/* TPI: Thread Pool Interface */
/* Copyright (2008) Sandia Corporation */
/* */
/* Under te... | sdressler/objekt | examples/mantevo/miniFE-1.1/optional/ThreadPool/src/TPI.c | C | bsd-3-clause | 31,045 |
#include "sway/commands.h"
#include "sway/config.h"
struct cmd_results *cmd_include(int argc, char **argv) {
struct cmd_results *error = NULL;
if ((error = checkarg(argc, "include", EXPECTED_EQUAL_TO, 1))) {
return error;
}
if (!load_include_configs(argv[0], config)) {
return cmd_results_new(CMD_INVALID, "inc... | johalun/sway | sway/commands/include.c | C | mit | 441 |
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 05/17/06 */
/* */
/* ... | nickmain/racket-clips-ffi | xcode/clips63b1/objbin.c | C | mit | 56,806 |
/*
* Bluegiga APX4 Development Kit
*
* Copyright (C) 2012 Bluegiga Technologies Oy
*
* Authors:
* Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
* Lauri Hintsala <lauri.hintsala@bluegiga.com>
*
* Based on m28evk.c:
* Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
* on behalf of DENX Software En... | guileschool/beagleboard | u-boot/board/bluegiga/apx4devkit/apx4devkit.c | C | mit | 2,705 |
#include <Python.h>
#include <inttypes.h>
#include <stdint.h>
#include "compat_py23.h"
typedef struct {
uint8_t is_local;
uint64_t address;
} block_id;
typedef int (*jitted_func)(block_id*, PyObject*);
PyObject* gcc_exec_block(PyObject* self, PyObject* args)
{
jitted_func func;
PyObject* jitcpu;
PyObject* func... | cea-sec/miasm | miasm/jitter/Jitgcc.c | C | gpl-2.0 | 1,860 |
/*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 1994, Karl Keyte: Added support for disk statistics
* Elevator latency, (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
* Queue request tables / lock, selectable elevator, Jens Axboe <axboe@suse.de>
* kernel-doc documentation started by NeilBrown <... | andip71/boeffla-kernel-oos-opx | block/blk-core.c | C | gpl-2.0 | 87,192 |
/*
* Copyright (c) 2016, Szymon Tomasz Stefanek
*
* This source code is released for free distribution under the terms of the
* GNU General Public License version 2 or (at your option) any later version.
*
* This module contains functions for parsing and scanning C++ source files
*/
#include "cxx_parser.h"
#inc... | universal-ctags/ctags | parsers/cxx/cxx_parser_typedef.c | C | gpl-2.0 | 13,377 |
/*******************************************************************************
Intel PRO/1000 Linux driver
Copyright(c) 1999 - 2009 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... | EAVR/EV3.14 | ev3sources/extra/linux-03.20.00.13/drivers/net/e1000e/netdev.c | C | gpl-2.0 | 151,149 |
/*
* stk2203.c - Linux kernel modules for stk220x ambient light sensor with interrupt
*
* Copyright (C) 2011 Patrick Chang / SenseTek <patrick_chang@sitronix.com.tw>
*
* 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
... | CyanogenMod/android_kernel_acer_t30 | drivers/misc/stk2203.c | C | gpl-2.0 | 13,195 |
/**
* Copyright (c) 2012 Anup Patel.
* 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, or (at your option)
* any later version.
*
* This progra... | hschauhan/xvisor-x86_64 | commands/cmd_heap.c | C | gpl-2.0 | 4,649 |
/*
* arch/arm/mach-tegra/tegra2_i2s.c
*
* Copyright (C) 2010 Google, Inc.
*
* Author:
* Iliyan Malchev <malchev@google.com>
*
* 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 modi... | y10g/lge-kernel-startablet-l06c | arch/arm/mach-tegra/tegra2_i2s.c | C | gpl-2.0 | 13,018 |
/*
* linux/drivers/mmc/host/msm_sdcc.c - Qualcomm MSM 7X00A SDCC Driver
*
* Copyright (C) 2007 Google Inc,
* Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or m... | cile/pyramid-kernel | drivers/mmc/host/msm_sdcc_8x60.c | C | gpl-2.0 | 69,665 |
/* Copyright (c) 2015, 2019, Oracle and/or its affiliates. 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.0,
as published by the Free Software Foundation.
This program is also distributed with certai... | greenlion/mysql-server | rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/app_data.c | C | gpl-2.0 | 12,136 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.