code stringlengths 1.03k 250k | repo_name stringlengths 7 70 | path stringlengths 4 177 | language stringclasses 1
value | license stringclasses 15
values | size int64 1.03k 250k |
|---|---|---|---|---|---|
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2019 Intel Corporation
*/
#include <unistd.h>
#include <inttypes.h>
#include <rte_mbuf.h>
#include "rte_rawdev.h"
#include "rte_ioat_rawdev.h"
#include "ioat_private.h"
#define MAX_SUPPORTED_RAWDEVS 64
#define TEST_SKIPPED 77
#define COPY_LEN 1024
int ioat_ra... | john-mcnamara-intel/dpdk | drivers/raw/ioat/ioat_rawdev_test.c | C | mit | 20,614 |
/*
* Copyright (c) 2001-2007, Tom St Denis
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of cond... | sigma-random/libteecrypt | libteecrypt/lib/libtomcrypt/src/mac/hmac/hmac_memory.c | C | mit | 3,768 |
/*
*
* arch/arm/mach-u300/core.c
*
*
* Copyright (C) 2007-2010 ST-Ericsson SA
* License terms: GNU General Public License (GPL) version 2
* Core platform support, IRQ handling and device definitions.
* Author: Linus Walleij <linus.walleij@stericsson.com>
*/
#include <linux/kernel.h>
#include <linux/init.h>
#in... | arnet95/linux | arch/arm/mach-u300/core.c | C | gpl-2.0 | 55,389 |
/*
* pcic.c: MicroSPARC-IIep PCI controller support
*
* Copyright (C) 1998 V. Roganov and G. Raiko
*
* Code is derived from Ultra/PCI PSYCHO controller support, see that
* for author info.
*
* Support for diverse IIep based platforms by Pete Zaitcev.
* CP-1200 by Eric Brower.
*/
#include <linux/config.h>
#in... | zrafa/linuxkernel | linux-2.6.17.new/arch/sparc/kernel/pcic.c | C | gpl-2.0 | 27,310 |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1998 Alexander Larsson
*
* 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 o... | montsuqi/monpe | objects/UML/realizes.c | C | gpl-2.0 | 13,321 |
/*
* IEEE 802.15.4 dgram socket interface
*
* Copyright 2007, 2008 Siemens AG
*
* 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 tha... | kendling/android_kernel_google_dragon | net/ieee802154/dgram.c | C | gpl-2.0 | 11,497 |
/* Copyright (C) 1996, 1997, 1998 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 ... | nslu2/glibc | sysdeps/mach/hurd/mips/sigreturn.c | C | gpl-2.0 | 6,737 |
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**
** Copyright (C), 2003, Victorian Partnership for Advanced Computing (VPAC) Ltd, 110 Victoria Street, Melbourne, 3053, Australia.
**
** Authors:
** Stevan M. Quenette, Senior Software ... | bmi-forum/bmi-pyre | StGermain/Base/Container/src/IndexMap.c | C | gpl-2.0 | 7,534 |
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | OnePlusOSS/android_kernel_oneplus_msm8994 | sound/soc/codecs/wcd9xxx-mbhc.c | C | gpl-2.0 | 172,567 |
/*
* Renesas USB DMA Controller Driver
*
* Copyright (C) 2015 Renesas Electronics Corporation
*
* based on rcar-dmac.c
* Copyright (C) 2014 Renesas Electronics Inc.
* Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*
* This is free software; you can redistribute it and/or modify
* it under the te... | kmihelich/linux-espressobin | drivers/dma/sh/usb-dmac.c | C | gpl-2.0 | 23,668 |
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | animania260/android_ani-kernel_galaxy_reverb | arch/arm/mach-msm/board-8930.c | C | gpl-2.0 | 57,343 |
/*
*
* Marvell Orion Alsa SOC Sound driver
*
* Author: Yuval Elmaliah
* Author: Ethan Ku
* Copyright (C) 2008 Marvell 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 Software Foundation... | Globalscale/D3-Linux | arch/arm/plat-orion/mv_hal_drivers/mv_drivers_lsp/mv_audio_soc/mv88fx-rt5623.c | C | gpl-2.0 | 8,127 |
/* bnx2x_cmn.c: QLogic Everest network driver.
*
* Copyright (c) 2007-2013 Broadcom Corporation
* Copyright (c) 2014 QLogic Corporation
* 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... | devmapal/linux | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | C | gpl-2.0 | 138,415 |
// Auto-generated with: android/scripts/gen-entries.py --mode=wrapper audio/wrappers/alsa.entries
// DO NOT EDIT THIS FILE
#include <dlfcn.h>
#include <alsa/asoundlib.h>
///
/// W R A P P E R P O I N T E R S
///
static snd_pcm_sframes_t (*__dll_snd_pcm_avail_update)(snd_pcm_t * pcm) = 0;
static int (*__dll_snd_pc... | zeldin/platform_external_qemu | audio/wrappers/alsa.c | C | gpl-2.0 | 13,101 |
/*
* f_ecm.c -- USB CDC Ethernet (ECM) link function driver
*
* Copyright (C) 2003-2005,2008 David Brownell
* Copyright (C) 2008 Nokia 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 Software F... | ElectryDev/octokitty | drivers/usb/gadget/f_ecm.c | C | gpl-2.0 | 25,682 |
/***************************************************************************
NWNXFuncs.cpp - Implementation of the CNWNXFuncs class.
Copyright (C) 2007 Doug Swarin (zac@intertex.net)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Licen... | jd28/nwnx2-linux | plugins/defenses/local/l_GetIsDeathAttackImmune.c | C | gpl-2.0 | 1,163 |
/****************************************************************
Siano Mobile Silicon, Inc.
MDTV receiver kernel modules.
Copyright (C) 2006-2010, Erez Cohen
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 Fo... | laufersteppenwolf/android_kernel_lge_d680 | mediatek/platform/mt6577/kernel/drivers/cmmbdrv/siano/smsspidrv.c | C | gpl-2.0 | 17,003 |
/*****************************************************************************
1 Í·Îļþ°üº¬
*****************************************************************************/
#include "product_config.h"
#include "vos.h"
#include "Taf_Tafm_Remote.h"
#include "UsimPsInterface.h"
#include "Ssa_Define.h"
#include... | wbrambley/Grace-kernel | drivers/vendor/hisi/modem/taf/gu/src/ccore/src/Mn/Task/Src/MnTask.c | C | gpl-2.0 | 26,467 |
/*
* pata_ninja32.c - Ninja32 PATA for new ATA layer
* (C) 2007 Red Hat Inc
* Alan Cox <alan@redhat.com>
*
* Note: The controller like many controllers has shared timings for
* PIO and DMA. We thus flip to the DMA timings in dma_start and flip back
* in the dma_stop function. Thus we actually don't need... | jkoelndorfer/android-kernel-msm | drivers/ata/pata_ninja32.c | C | gpl-2.0 | 5,793 |
/*
* Bridge multicast support.
*
* 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 Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at yo... | Minia89/MetallizedKernelRebased | net/bridge/br_multicast.c | C | gpl-2.0 | 39,498 |
/* Implementation of the BSD usleep function using nanosleep.
Copyright (C) 1996-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the te... | Chilledheart/glibc | sysdeps/posix/usleep.c | C | gpl-2.0 | 1,316 |
#include <config.h>
#include "testutils.h"
#ifdef WITH_OPENVZ
# include <stdio.h>
# include <string.h>
# include <unistd.h>
# include "internal.h"
# include "viralloc.h"
# include "openvz/openvz_conf.h"
# include "virstring.h"
# define VIR_FROM_THIS VIR_FROM_OPENVZ
static int
testLocateConfFile(int vpsid ATTRIBUT... | ethernetdan/libvirt | tests/openvzutilstest.c | C | gpl-2.0 | 4,363 |
/* Install given floating-point environment.
Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Le... | Chilledheart/glibc | sysdeps/i386/fpu/fesetenv.c | C | gpl-2.0 | 3,996 |
#include "fdiskP.h"
/*
* Don't use this function derectly, use fdisk_new_context_from_filename()
*/
int fdisk_probe_labels(struct fdisk_context *cxt)
{
size_t i;
cxt->label = NULL;
for (i = 0; i < cxt->nlabels; i++) {
struct fdisk_label *lb = cxt->labels[i];
struct fdisk_label *org = cxt->label;
int rc;
... | azuwis/debian_util-linux-extra | libfdisk/src/label.c | C | gpl-2.0 | 9,342 |
/* Copyright (c) 2009-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... | KlinkOnE/caf-port | drivers/net/wireless/libra/libra_sdioif.c | C | gpl-2.0 | 13,417 |
/*
* Flash partitions described by the OF (or flattened) device tree
*
* Copyright (C) 2006 MontaVista Software Inc.
* Author: Vitaly Wool <vwool@ru.mvista.com>
*
* Revised to handle newer style flash binding by:
* Copyright (C) 2007 David Gibson, IBM Corporation.
*
* This program is free software; you can r... | jkoelndorfer/android-kernel-msm | drivers/mtd/ofpart.c | C | gpl-2.0 | 1,941 |
/* $NoKeywords:$ */
/**
* @file
*
* Config FCH HD Audio Controller
*
*
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: FCH
* @e \$Revision: 63425 $ @e \$Date: 2011-12-22 11:24:10 -0600 (Thu, 22 Dec 2011) $
*
*/
/*
*****************************************... | hustcalm/coreboot-hacking | src/vendorcode/amd/agesa/f15tn/Proc/Fch/Azalia/AzaliaMid.c | C | gpl-2.0 | 16,108 |
/*
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Deviation is distributed in the hope that it will be useful,
but WITHO... | cctsao1008/deviation | src/target/x9d/clock.c | C | gpl-3.0 | 10,674 |
#define PETSCMAT_DLL
#include "src/mat/impls/aij/seq/aij.h"
EXTERN PetscErrorCode Mat_CheckInode(Mat,PetscTruth);
EXTERN_C_BEGIN
EXTERN PetscErrorCode PETSCMAT_DLLEXPORT MatInodeAdjustForInodes_Inode(Mat,IS*,IS*);
EXTERN PetscErrorCode PETSCMAT_DLLEXPORT MatInodeGetInodeSizes_Inode(Mat,PetscInt*,PetscInt*[],PetscInt*)... | realincubus/pluto_clang | orio-0.1.0/testsuite/petsc/inode2.c | C | gpl-3.0 | 7,068 |
/* pmlastmsg.c
* This is a parser module specifically for those horrible
* "<PRI>last message repeated n times" messages notoriously generated
* by some syslog implementations. Note that this parser should be placed
* on top of the parser stack -- it takes out only these messages and
* leaves all others for proces... | aturetta/rsyslog | plugins/pmlastmsg/pmlastmsg.c | C | gpl-3.0 | 4,969 |
/* Copyright (C) 2015-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/nss/valid_field.c | C | gpl-3.0 | 1,201 |
/*
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file copying.txt for copying permission.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include "xmlrpc_config.h"
#include "xmlparse.h"
#include "codepage.h"
#include "xmlfile.h"
#include "xmltchar.h"
#if MSV... | JMSDOnline/QuickBox | xmlrpc-c_1-39-07/lib/expat/xmlwf/xmlwf.c | C | gpl-3.0 | 17,924 |
/*
Unix SMB/CIFS implementation.
Filename utility functions.
Copyright (C) Tim Prouty 2009
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
(at... | sathieu/samba | source3/lib/filename_util.c | C | gpl-3.0 | 8,836 |
/*
Cubesat Space Protocol - A small network-layer protocol designed for Cubesats
Copyright (C) 2012 Gomspace ApS (http://www.gomspace.com)
Copyright (C) 2012 AAUSAT3 Project (http://aausat3.space.aau.dk)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General ... | marshall/libcsp | src/arch/macosx/pthread_queue.c | C | lgpl-2.1 | 4,452 |
#include "clar_libgit2.h"
#include "git2/merge.h"
#include "buffer.h"
#include "merge.h"
#include "../merge_helpers.h"
#include "posix.h"
#define TEST_REPO_PATH "merge-resolve"
#define MERGE_BRANCH_OID "7cb63eed597130ba4abb87b3e544b85021905520"
#define AUTOMERGEABLE_MERGED_FILE \
"this file is changed in master\n" \... | rcorre/libgit2 | tests/merge/workdir/dirty.c | C | lgpl-2.1 | 8,749 |
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
// This isn't really testing anything ARM-specific; it's just a convenient
// 32-bit platform.
#define SWIFTCALL __attribute__((swiftcall))
#define OUT __attribute__((swift_indirect_result))
#define ERROR __attribute__((swift_error_resul... | cd80/UtilizedLLVM | tools/clang/test/CodeGen/arm-swiftcall.c | C | unlicense | 28,014 |
/*
* Copyright (c) 2013-2021, Pelion and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/LICEN... | adfernandes/mbed | connectivity/nanostack/sal-stack-nanostack/source/libDHCPv6/dhcp_service_api.c | C | apache-2.0 | 36,946 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | techhead/wsf_php_dist | wsf_c/axis2c/util/src/dll_desc.c | C | apache-2.0 | 7,773 |
/*++
Copyright (c) 2004, 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 this distribution. The full text of the license may be found at ... | google/google-ctf | third_party/edk2/EdkCompatibilityPkg/Foundation/Guid/EfiShell/EfiShell.c | C | apache-2.0 | 1,146 |
/*
FreeRTOS V8.2.3 - Copyright (C) 2015 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... | PUCSIE-embedded-course/stm32f4-examples | firmware/freertos/semaphore/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/PIC32MZ_MPLAB/ISRTriggeredTask.c | C | mit | 9,510 |
/**
* Copyright (c) 2014,2015 NetEase, Inc. and other Pomelo contributors
* MIT Licensed.
*/
#include <assert.h>
#include <string.h>
#include <pomelo_trans.h>
#include "pc_lib.h"
#include "pc_pomelo_i.h"
void pc_trans_fire_event(pc_client_t* client, int ev_type, const char* arg1, const char* arg2)
{
int pend... | hitstanley/libpomelo2 | src/pc_trans.c | C | mit | 10,100 |
/*
* Block driver for media (i.e., flash cards)
*
* Copyright 2002 Hewlett-Packard Company
* Copyright 2005-2008 Pierre Ossman
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived works.
*
* HEWLETT-PACKARD COMPANY MAK... | mahound/Cyanogenmod_kernel_samsung_loganreltexx | drivers/mmc/card/block.c | C | gpl-2.0 | 81,469 |
/*
* drivers/media/video/msm/ov5642_reg_globaloptics.c
*
* Refer to drivers/media/video/msm/mt9d112_reg.c
* For IC OV5642 of Module GLOBALOPTICS: 5.0Mp 1/4-Inch System-On-A-Chip (SOC) CMOS Digital Image Sensor
*
* Copyright (C) 2009-2010 ZTE Corporation.
*
* This software is licensed under the terms of the GNU ... | ZTE-BLADE/ZTE-BLADE-2.6.32 | drivers/media/video/msm/mt9d113_qtech_sunny_socket.c | C | gpl-2.0 | 56,303 |
/*
* This file contains the RTC driver table for Motorola MCF5206eLITE
* ColdFire evaluation board.
*
* Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution o... | yangxi/omap4m3 | c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c | C | gpl-2.0 | 2,267 |
/**********************************************************************
* $Id$ lpc18xx_qei.c 2011-06-02
*//**
* @file lpc18xx_pwr.c
* @brief Contains all functions support for QEI firmware library on LPC18xx
* @version 1.0
* @date 02. June. 2011
* @author NXP MCU SW Application Team
*
* Copyright(C) 2011, NXP Semic... | Lindem-Data-Acquisition-AS/TM4C129-discontinued | libraries/FreeRTOSv8.0.1/FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC/ThirdParty/CMSISv2p10_LPC18xx_DriverLib/src/lpc18xx_qei.c | C | gpl-2.0 | 20,918 |
/*
* Driver O/S-independent utility routines
*
* $Copyright Open Broadcom Corporation$
* $Id: bcmutils.c,v 1.277.2.18 2011-01-26 02:32:08 $
*/
#include <typedefs.h>
#include <bcmdefs.h>
#include <stdarg.h>
#ifdef BCMDRIVER
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#if defined(BCMNVRAM)
#includ... | hroark13/n861_two_n860 | drivers/net/wireless/bcmdhd/bcmutils.c | C | gpl-2.0 | 45,582 |
/* 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... | Spartonos/android_kernel_motorola_falcon_umts | drivers/video/msm/mdss/mdss_mdp_intf_video.c | C | gpl-2.0 | 19,252 |
/*
* linux/sound/oss/dmasound/dmasound_awacs.c
*
* PowerMac `AWACS' and `Burgundy' DMA Sound Driver
* with some limited support for DACA & Tumbler
*
* See linux/sound/oss/dmasound/dmasound_core.c for copyright and
* history prior to 2001/01/26.
*
* 26/01/2001 ed 0.1 Iain Sandoe
* - added version info.
... | waterice/Test-Git | sound/oss/dmasound/dmasound_awacs.c | C | gpl-2.0 | 86,835 |
/* 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... | ztemt/Z5mini_H112_kernel | arch/arm/mach-msm/board/zte-camera.c | C | gpl-2.0 | 23,184 |
/*
* linux/lib/vsprintf.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
* (C) Copyright 2000-2009
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
/*
* Wirzenius wrote this portably, Torvalds fucked it up :-)
*
* from hush: simple_itoa() was lift... | Digilent/u-boot-digilent | lib/vsprintf.c | C | gpl-2.0 | 19,676 |
/*
* SPU file system -- SPU context management
*
* (C) Copyright IBM Deutschland Entwicklung GmbH 2005
*
* Author: Arnd Bergmann <arndb@de.ibm.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... | zhoupeng/spice4xen | linux-2.6.18-xen.hg/arch/powerpc/platforms/cell/spufs/context.c | C | gpl-2.0 | 3,935 |
/*
* Bt8xx based DVB adapter driver
*
* Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.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
*... | kzlin129/tt-gpl | go9/linux-s3c24xx/drivers/media/dvb/bt8xx/dvb-bt8xx.c | C | gpl-2.0 | 23,010 |
/*
* Samsung EXYNOS FIMC-LITE (camera host interface) driver
*
* Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
* Author: Sylwester Nawrocki <s.nawrocki@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 a... | Barracuda09/media_build-bst | linux/drivers/media/platform/exynos4-is/fimc-lite.c | C | gpl-2.0 | 45,548 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2006 Imendio AB
*
* 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
* L... | jmansar/empathy | libempathy-gtk/empathy-conf.c | C | gpl-2.0 | 7,566 |
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995-2002 Spencer Kimball, Peter Mattis, and others
*
* gimp-gradients.c
* Copyright (C) 2002 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | mskala/noxcf-gimp | app/core/gimp-gradients.c | C | gpl-3.0 | 5,035 |
/* Calculate the size of physical memory.
Copyright (C) 2000-2001, 2003, 2005-2006, 2009-2013 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 ver... | geminy/aidear | oss/shell/coreutils/coreutils-8.21/lib/physmem.c | C | gpl-3.0 | 7,604 |
/* Provide a working getlogin for systems which lack it.
Copyright (C) 2010-2013 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... | geminy/aidear | oss/shell/coreutils/coreutils-8.21/lib/getlogin.c | C | gpl-3.0 | 1,234 |
/*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... | DocCreator/DocCreator | thirdparty/leptonica/src/ptafunc1.c | C | lgpl-3.0 | 75,693 |
/**
* @file
* Point To Point Protocol Sequential API module
*
*/
/*
* 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... | jaracil/esp-idf | components/lwip/api/pppapi.c | C | apache-2.0 | 10,470 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* X11 Video Redirection
*
* Copyright 2010-2011 Vic Lee
*
* 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.ap... | 0359xiaodong/FreeRDP | client/X11/xf_tsmf.c | C | apache-2.0 | 10,083 |
/*
* Copyright (c) 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Mellanox Technologies Ltd. All rights reserved.
* Copyright (c) 2006 Cisco Systems. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under ... | dplbsd/soc2013 | head/contrib/ofed/libmthca/src/cq.c | C | bsd-2-clause | 16,469 |
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_absvdi2
//===-- absvdi2_test.c - Test __absvdi2 -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-Lice... | endlessm/chromium-browser | third_party/llvm/compiler-rt/test/builtins/Unit/absvdi2_test.c | C | bsd-3-clause | 1,888 |
/* libunwind - a platform-independent unwind library
Copyright (C) 2008 CodeSourcery
Copyright 2011 Linaro Limited
This file is part of libunwind.
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 Sof... | adsharma/libunwind | src/arm/Gstep.c | C | mit | 8,679 |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2001-2020 Intel Corporation
*/
/*
* 82542 Gigabit Ethernet Controller
*/
#include "e1000_api.h"
STATIC s32 e1000_init_phy_params_82542(struct e1000_hw *hw);
STATIC s32 e1000_init_nvm_params_82542(struct e1000_hw *hw);
STATIC s32 e1000_init_mac_params_825... | john-mcnamara-intel/dpdk | drivers/net/e1000/base/e1000_82542.c | C | mit | 14,510 |
/*
* linux/kernel/printk.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Modified to make sys_syslog() more flexible: added commands to
* return the last 4k of kernel messages, regardless of whether
* they've been read or not. Added option to suppress kernel printk's
* to the console. Added hook for send... | glfernando/linux-kernel-ipc | kernel/printk.c | C | gpl-2.0 | 32,592 |
/*
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
* Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public Licen... | bcnice20/android-kernel-common | fs/gfs2/aops.c | C | gpl-2.0 | 30,429 |
/*
8139too.c: A RealTek RTL-8139 Fast Ethernet driver for Linux.
Maintained by Jeff Garzik <jgarzik@pobox.com>
Copyright 2000-2002 Jeff Garzik
Much code comes from Donald Becker's rtl8139.c driver,
versions 1.13 and older. This driver was originally based
on rtl8139.c version 1.07. Header of rtl8139.c versio... | milaq/linux-hpc | drivers/net/8139too.c | C | gpl-2.0 | 70,963 |
/*
* 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.
*
* Generic socket support routines. Memory allocators, socket lock/release
* handler for protocols to use and g... | tgraf/net-next | net/core/sock.c | C | gpl-2.0 | 78,117 |
/*
* focuser driver.
*
* Copyright (C) 2010 LGE 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
* kind, whether express or implied.
*/
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/i2... | carburano/KingOfBirds_Kernel | drivers/media/video/tegra/ar0832_focuser.c | C | gpl-2.0 | 6,171 |
/*
* arch/arm/mach-tegra/pm-t3.c
*
* Tegra3 SOC-specific power and cluster management
*
* Copyright (c) 2009-2011, NVIDIA 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 Software Foundation; ... | Galaxian-Soup/android_kernel_asus_tf300t | arch/arm/mach-tegra/pm-t3.c | C | gpl-2.0 | 12,299 |
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2006-03-13 Bernard the first version
*/
#include <rtthread.h>
#include <sep4020.h>
/**
* @addtogroup S3C24X0
*/
/*@{*/
/**
* This function will ini... | grissiom/rt-thread | libcpu/arm/sep4020/stack.c | C | gpl-2.0 | 1,888 |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2010 Lennart Poettering
systemd 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... | flonatel/systemd-pne1 | src/core/selinux-setup.c | C | gpl-2.0 | 3,884 |
/*
* aQuantia Corporation Network Driver
* Copyright (C) 2014-2017 aQuantia 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.
*... | animalcreek/linux | drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c | C | gpl-2.0 | 13,329 |
/* $Id: gazel.c,v 2.19.2.4 2004/01/14 16:04:48 keil Exp $
*
* low level stuff for Gazel isdn cards
*
* Author BeWan Systems
* based on source code from Karsten Keil
* Copyright by BeWan Systems
*
* This software may be used and distributed according to the terms
* of the GNU General Publ... | zrafa/linuxkernel | linux-2.6.17.new/drivers/isdn/hisax/gazel.c | C | gpl-2.0 | 16,305 |
/*
* arch/x86/kernel/nmi-selftest.c
*
* Testsuite for NMI: IPIs
*
* Started by Don Zickus:
* (using lib/locking-selftest.c as a guide)
*
* Copyright (C) 2011 Red Hat, Inc., Don Zickus <dzickus@redhat.com>
*/
#include <linux/smp.h>
#include <linux/cpumask.h>
#include <linux/delay.h>
#include <linux/init.h>
#... | danielgpalmer/linux-picosam9g45 | arch/x86/kernel/nmi_selftest.c | C | gpl-2.0 | 4,533 |
/*
* drivers/gpu/drm/omapdrm/omap_plane.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob.clark@linaro.org>
*
* 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.
... | ninjablocks/kernel-VAR-SOM-AMxx | drivers/gpu/drm/omapdrm/omap_plane.c | C | gpl-2.0 | 12,702 |
#include "git-compat-util.h"
#include "cache.h"
#include "branch.h"
#include "refs.h"
#include "remote.h"
#include "commit.h"
#include "worktree.h"
struct tracking {
struct refspec spec;
char *src;
const char *remote;
int matches;
};
static int find_tracked_branch(struct remote *remote, void *priv)
{
struct trac... | formorer/pkg-cgit | git/branch.c | C | gpl-2.0 | 8,331 |
/*--------------------------------------------------------------------*/
/*--- Signal-related libc stuff. m_libcsignal.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright ... | bmerry/datagrind | coregrind/m_libcsignal.c | C | gpl-2.0 | 17,995 |
/* refchg.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__2 = 2;
/* $Procedure REFCHG (Reference frame Change) */
/* Subroutine */ int refchg_(integer *fra... | darioizzo/pykep | src/third_party/cspice/refchg.c | C | gpl-3.0 | 24,383 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | su2code/SU2 | externals/cgns/hdf5/H5Ffake.c | C | lgpl-2.1 | 3,425 |
/*
* General DV muxer/demuxer
* Copyright (c) 2003 Roman Shaposhnik
*
* Many thanks to Dan Dennedy <dan@dennedy.org> for providing wealth
* of DV technical info.
*
* Raw DV format
* Copyright (c) 2002 Fabrice Bellard
*
* 50 Mbps (DVCPRO50) support
* Copyright (c) 2006 Daniel Maas <dmaas@maasdigital.com>
*
... | leighpauls/k2cro4 | third_party/ffmpeg/libavformat/dvenc.c | C | bsd-3-clause | 16,245 |
/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
#ifdef CAPSTONE_HAS_SPARC
#include "../../utils.h"
#include "../../MCRegisterInfo.h"
#include "SparcDisassembler.h"
#include "SparcInstPrinter.h"
#include "SparcMapping.h"
static cs_err init(cs_struct *ud)
{
MCRegisterInfo *mr... | v3n/ProDBG | src/native/external/capstone/arch/Sparc/SparcModule.c | C | mit | 1,133 |
/*
*/
#include <linux/init.h>
#include <linux/cache.h>
#include <linux/sched.h>
#include <lin... | holyangel/LGE_G3 | arch/alpha/kernel/irq_i8259.c | C | gpl-2.0 | 3,962 |
/*
* (C) Copyright IBM Deutschland Entwicklung GmbH 2006
*
* Author: Maxim Shchetynin <maxim@de.ibm.com>
*
* Axon DDR2 device driver.
* It registers one block device per Axon's DDR2 memory bank found on a system.
* Block devices are called axonram?, their major and minor numbers are
* available in /proc/devices... | curbthepain/revkernel_us990 | arch/powerpc/sysdev/axonram.c | C | gpl-2.0 | 9,433 |
// SPDX-License-Identifier: GPL-2.0
/*
* linux/fs/ext4/namei.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/namei.c
*
* Copyright (C) 1991, 1992 Linus Torvald... | val2k/linux | fs/ext4/namei.c | C | gpl-2.0 | 104,545 |
/*
comedi/drivers/ni_labpc.c
Driver for National Instruments Lab-PC series boards and compatibles
Copyright (C) 2001, 2002, 2003 Frank Mori Hess <fmhess@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License a... | holyangel/LGE_G3 | drivers/staging/comedi/drivers/ni_labpc.c | C | gpl-2.0 | 62,708 |
/* Basic IPA utilities for type inheritance graph construction and
devirtualization.
Copyright (C) 2013-2015 Free Software Foundation, Inc.
Contributed by Jan Hubicka
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 ... | nguyentu1602/gcc | gcc/ipa-devirt.c | C | gpl-2.0 | 126,410 |
#include "conf.h"
int *video_quality = &conf.video_quality;
int *video_mode = &conf.video_mode;
long def_table1[9]={0x2000,0x38D,0x788,0x5800,0x9C5,0x14B8,0x10000,0x1C6A,0x3C45};
long def_table2[9]={0x1CCD,-0x2E1,-0x579,0x4F33,-0x7EB,-0xF0C,0xE666,-0x170A,-0x2BC6};
long table1[9], table2[9];
void change_video_ta... | arne182/chdk-eyefi | platform/a700/sub/100b/movie_rec.c | C | gpl-2.0 | 37,022 |
/*
* Copyright (C) 2010-2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
* A ... | kszaq/linux-amlogic | drivers/amlogic/gpu/ump/linux/ump_ukk_wrappers.c | C | gpl-2.0 | 7,996 |
/* 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... | androidrbox/android_kernel_amazon_bueller | drivers/media/video/msm/csi/msm_ispif.c | C | gpl-2.0 | 25,457 |
/* Copyright (C) 2000-2006 MySQL AB
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 program is distributed in the hope that it will be useful,
but WITHO... | ottok/mariadb-galera-10.0 | storage/heap/_check.c | C | gpl-2.0 | 5,942 |
/****************************************************************************
*
* Copyright (c) DiBcom SA. All rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES ... | fefifofum/android_kernel_bq_maxwell2plus_3.0.8 | drivers/media/dvb/rkdtv/DIBCom1009XH/Bridge/Common/Dragonfly/DibBridgeDragonfly.c | C | gpl-2.0 | 39,664 |
/*
mxb - v4l2 driver for the Multimedia eXtension Board
Copyright (C) 1998-2003 Michael Hunold <michael@mihu.de>
Visit http://www.mihu.de/linux/saa7146/mxb/
for further details about this card.
This program is free software; you can redistribute it and/or modify
it under the terms of ... | ipwndev/DSLinux-Mirror | linux-2.6.x/drivers/media/video/mxb.c | C | gpl-2.0 | 30,749 |
/**
* @file
* Packet buffer management
*
* Packets are built from the pbuf data structure. It supports dynamic
* memory allocation for packet contents or can reference externally
* managed packet contents both in RAM and ROM. Quick allocation for
* incoming packets is provided through pools with fixed sized pbuf... | jnouyang/kitten | net/pbuf.c | C | gpl-2.0 | 39,009 |
/*
LUFA Library
Copyright (C) Dean Camera, 2014.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... | ruriwo/ErgoThumb072_firmware | tmk_core/protocol/lufa/LUFA-git/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c | C | gpl-2.0 | 19,637 |
/*
* Renesas SuperH DMA Engine support
*
* base is drivers/dma/flsdma.c
*
* Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
* Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved.
* Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
*
* This is free software; y... | aicjofs/android_kernel_lge_v500_stock | drivers/dma/shdma.c | C | gpl-2.0 | 39,306 |
/*
* Core maple bus functionality
*
* Copyright (C) 2007 - 2009 Adrian McMenamin
* Copyright (C) 2001 - 2008 Paul Mundt
* Copyright (C) 2000 - 2001 YAEGASHI Takeshi
* Copyright (C) 2001 M. R. Brown
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPY... | holyangel/LGE_G3 | drivers/sh/maple/maple.c | C | gpl-2.0 | 21,950 |
/*
* OMAP5 thermal driver.
*
* Copyright (C) 2011-2012 Texas Instruments Inc.
* Contact:
* Eduardo Valentin <eduardo.valentin@ti.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 ... | bsmitty83/kernel_omap | drivers/thermal/omap5-bg-sen-data.c | C | gpl-2.0 | 13,846 |
/*
* linux/fs/ext4/xattr.c
*
* Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
*
* Fix by Harrison Xing <harrison@mountainviewdata.com>.
* Ext4 code with a lot of help from Eric Jarman <ejarman@acm.org>.
* Extended attributes for symlinks and special files added per
* suggestion of Luka Renko <lu... | davidmueller13/AK-Flo | fs/ext4/xattr.c | C | gpl-2.0 | 43,253 |
/*
* SuperH interrupt controller module
*
* Copyright (c) 2007 Magnus Damm
* Based on sh_timer.c and arm_timer.c by Paul Brook
* Copyright (c) 2005-2006 CodeSourcery.
*
* This code is licensed under the GPL.
*/
#include "sh_intc.h"
#include "hw.h"
#include "sh.h"
//#define DEBUG_INTC
//#define DEBUG_INTC_SOUR... | SSLab-NTHU/qemu-guest-armvisor | hw/sh_intc.c | C | gpl-2.0 | 12,189 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.