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 |
|---|---|---|---|---|---|
/*
* The PCI Library -- User Access
*
* Copyright (c) 1997--2014 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "internal.h"
void
pci_scan_bus(struct pci_access *a)
{
a-... | pexip/os-pciutils | lib/access.c | C | gpl-2.0 | 4,950 |
/* Analysis of polymorphic call context.
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 published by the Free
Software Foundation; eith... | kito-cheng/gcc | gcc/ipa-polymorphic-call.c | C | gpl-2.0 | 76,922 |
/*******************************************************************************
* Copyright (c) 2013, MediaTek 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.
*
* Alternatively... | aloksinha2001/rk3x_kernel_3.0.36 | drivers/staging/mtk_wcn_combo/drv_wlan/mt6620/wlan/os/linux/gl_init.c | C | gpl-2.0 | 71,978 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <CL/cl.h>
unsigned char *read_buffer(char *file_name, size_t *size_ptr)
{
FILE *f;
unsigned char *buf;
size_t size;
/* Open file */
f = fopen(file_name, "rb");
if (!f)
return NULL;
/* ... | xianggong/m2c_unit_test | test/operator/pre_decrement_short16/pre_decrement_short16_bin.c | C | gpl-2.0 | 10,058 |
/*
* drivers/cpufreq/cpufreq_pegasusq.c
*
* Copyright (C) 2011 Samsung Electronics co. ltd
* ByungChang Cha <bc.cha@samsung.com>
*
* Based on ondemand governor
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
* Jun Nakaj... | jxxhwy/NewWorld_f160_JB_kernel | drivers/cpufreq/cpufreq_pegasusq.c | C | gpl-2.0 | 35,736 |
/* Test for ldbl-128ibm fmodl handling of equal values (bug 19602).
Copyright (C) 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... | h4ck3rm1k3/glibc | sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c | C | gpl-2.0 | 2,438 |
/* version_info.c
* Routines to report version information for stuff used by Wireshark
*
* $Id: version_info.c 46883 2013-01-01 15:02:14Z pascal $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistrib... | Abhi9k/wireshark-dissector | version_info.c | C | gpl-2.0 | 18,128 |
/*
* Block chaining cipher operations.
*
* Generic encrypt/decrypt wrapper for ciphers, handles operations across
* multiple page boundaries by using temporary blocks. In user context,
* the kernel is given a chance to schedule us once per page.
*
* Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
... | Core2idiot/Kernel-Samsung-3.0...- | crypto/blkcipher.c | C | gpl-2.0 | 19,183 |
/*
* Copyright (c) 2008-2011 Atheros Communications 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 all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | yajnab/android_kernel_samsung_delos3geur | drivers/net/wireless/ath/ath9k/recv.c | C | gpl-2.0 | 54,570 |
/*
* USB Compaq iPAQ driver
*
* Copyright (C) 2001 - 2002
* Ganesh Varadarajan <ganesh@veritas.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,... | Core2idiot/Kernel-Samsung-3.0...- | drivers/usb/serial/ipaq.c | C | gpl-2.0 | 35,323 |
/*
* linux/arch/arm/mach-omap1/board-osk.c
*
* Board specific init for OMAP5912 OSK
*
* Written by Dirk Behme <dirk.behme@de.bosch.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;... | Core2idiot/Kernel-Samsung-3.0...- | arch/arm/mach-omap1/board-osk.c | C | gpl-2.0 | 17,194 |
/* 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... | hunter3k/aosp_kernel_lge_d315 | arch/arm/mach-msm/lge/board-8610-w3ds-open-br-gpiomux.c | C | gpl-2.0 | 28,894 |
/*
* drivers/cpufreq/cpufreq_smartmax.c
*
* Copyright (C) 2013 maxwen
*
* 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.
*
* Author: maxwen
*
* Based on the ondemand and smar... | alebcay/android_kernel_oneplus_msm8974 | drivers/cpufreq/cpufreq_smartmax_eps.c | C | gpl-2.0 | 41,548 |
/*
* kernel/sched/debug.c
*
* Print the CFS rbtree
*
* Copyright(C) 2007, Red Hat, Inc., Ingo Molnar
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/pro... | halaszk/Perseus-halaszk-universal5433 | kernel/sched/debug.c | C | gpl-2.0 | 14,685 |
/*
* Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com>
* Horst Hummel <Horst.Hummel@de.ibm.com>
* Carsten Otte <Cotte@de.ibm.com>
* Martin Schwidefsky <schwidefsky@de.ibm.com>
* Bugreports.to..: <Linux390@de.ibm.com>
* Copyright IBM Corp. 1999, 2009
*/
#define KMSG_COMPONENT "dasd"
... | cneira/ebpf-backports | linux-3.10.0-514.21.1.el7.x86_64/drivers/s390/block/dasd.c | C | gpl-2.0 | 105,025 |
/*
Copyright (C) 2003-2008 FreeIPMI Core Team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed ... | ystk/debian-freeipmi | common/src/toolcommon/tool-sensor-common.c | C | gpl-2.0 | 1,905 |
/* kernel/power/wakelock.c
*
* Copyright (C) 2005-2008 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the ... | gslate-cm9/android_kernel_lge_v909 | kernel/power/wakelock.c | C | gpl-2.0 | 18,309 |
#include <linux/dma-mapping.h>
#include <asm/lv1call.h>
#include <asm/ps3stor.h>
static struct ps3_flash_workaround {
int flash_open;
int disk_open;
struct ps3_system_bus_device *disk_sbd;
} ps3_flash_workaround;
static int ps3stor_open_hv_device(struct ps3_system_bus_device *sbd)
{
int error = ps3_open_hv_d... | leemgs/OptimusOneKernel-KandroidCommunity | drivers/ps3/ps3stor_lib.c | C | gpl-2.0 | 7,603 |
/* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* Copyright (C) 2002, 2004 Oracle. 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; eit... | wanahmadzainie/linux-mainline | fs/ocfs2/aops.c | C | gpl-2.0 | 62,615 |
#include <linux/mutex.h>
#include <linux/socket.h>
#include <linux/skbuff.h>
#include <net/netlink.h>
#include <net/net_namespace.h>
#include <linux/module.h>
#include <linux/rtnetlink.h>
#include <net/sock.h>
#include <linux/inet_diag.h>
#include <linux/sock_diag.h>
static struct sock_diag_handler *sock_diag_handler... | VegaDevTeam/android_kernel_pantech_ef52s | net/core/sock_diag.c | C | gpl-2.0 | 4,999 |
/* (c) 2001-2006 by Marcin Wiacek */
/* Based on some Pawel Kot and others work from Gnokii (www.gnokii.org)
* (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot
* GNU GPL version 2 or later
*/
/* Due to a problem in the source code management, the names of some of
* the authors have unfortunatel... | gammu/gammu | libgammu/service/sms/gsmsms.c | C | gpl-2.0 | 39,203 |
/*
* linux/fs/vfat/namei.c
*
* Written 1992,1993 by Werner Almesberger
*
* Windows95/Windows NT compatible extended MSDOS filesystem
* by Gordon Chaffee Copyright (C) 1995. Send bug reports for the
* VFAT filesystem to <chaffee@cs.berkeley.edu>. Specify
* what file operation caused you trouble and... | drakaz/GalaxoKernel | fs/vfat/namei.c | C | gpl-2.0 | 24,900 |
/* Copyright (c) 2013-2016, 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... | OctaviaBlake/kernel-msm | drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c | C | gpl-2.0 | 59,941 |
/* $Id: diddfunc.c,v 1.14.6.2 2004/08/28 20:03:53 armin Exp $
*
* DIDD Interface module for Eicon active cards.
*
* Functions are in dadapter.c
*
* Copyright 2002-2003 by Armin Schindler (mac@melware.de)
* Copyright 2002-2003 Cytronics & Melware (info@melware.de)
*
* This software may be used and distributed a... | linux-scraping/linux-grsecurity | drivers/isdn/hardware/eicon/diddfunc.c | C | gpl-2.0 | 2,612 |
/* (C) IT Sky Consulting GmbH 2015
* http://www.it-sky-consulting.com/
* Author: Karl Brodowsky
* Date: 2016-06-05
* License: GPL v2 (See https://de.wikipedia.org/wiki/GNU_General_Public_License )
*/
/* implements tests for c-arithmetic */
/* enable qsort_r */
#define _GNU_SOURCE
#include <stdio.h>
#include <st... | bk1/c-arithmetic | test/test-sqrt-ffff.c | C | gpl-2.0 | 2,562 |
/* $Id$
*
* Copyright(C) 1997-2001 Id Software, Inc.
* Copyright(c) 2002 The Quakeforge Project.
*
* 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... | luaman/qforge-2 | src/r_misc.c | C | gpl-2.0 | 15,197 |
/*****************************************************************************
* lpcm.c: lpcm decoder/packetizer module
*****************************************************************************
* Copyright (C) 1999-2008 VLC authors and VideoLAN
* $Id: 0c0ba352e124fd12f37b6486c5d9d223fa911cd2 $
*
* Authors: Sa... | supersonic13/vlc_dvbtsanalyser | modules/codec/lpcm.c | C | gpl-2.0 | 42,045 |
/*
* Copyright (C) 2015 Edward Baudrez <edward.baudrez@gmail.com>
* This file is part of Libpathcomp.
*
* Libpathcomp 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
... | ebaudrez/libpathcomp | test/test_buf.c | C | gpl-2.0 | 8,480 |
/************************************************************************
Copyright (C) Alain Di Chiappari
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
(a... | alainrk/AmiKaya11 | phase2/src/scheduler.c | C | gpl-2.0 | 4,524 |
/*
* QEMU PC System Emulator
*
* Copyright (c) 2003-2004 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... | MatzeB/qemu-fixes | hw/pc.c | C | gpl-2.0 | 34,285 |
/* horst - Highly Optimized Radio Scanning Tool
*
* Copyright (C) 2005-2014 Bruno Randolf (br1@einfach.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 Lic... | link4all/20170920openwrt | package/link4all/doit/src/display-channel.c | C | gpl-2.0 | 2,446 |
/* Copyright (C) 2000 drscholl@users.sourceforge.net
This is free software distributed under the terms of the
GNU Public License. See the file COPYING for details.
$Id$ */
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include "opennap.h"
#include "debug.h"
/* this is nasty ... | scassiba/opennap | whois.c | C | gpl-2.0 | 3,577 |
/*
mtr -- a network diagnostic tool
Copyright (C) 1997,1998 Matt Kimball
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... | simonswine/mtr | report.c | C | gpl-2.0 | 7,847 |
/*
* Copyright (C) 2012 OpenSIPS Solutions
*
* This file is part of opensips, a free SIP server.
*
* opensips 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 y... | chiforbogdan/opensips | menuconfig/commands.c | C | gpl-2.0 | 12,066 |
/*
* GPAC - Multimedia Framework C SDK
*
* Copyright (c) Jean Le Feuvre 2000-2005
* All rights reserved
*
* This file is part of GPAC / MPEG-4 ObjectDescriptor sub-project
*
* GPAC is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License ... | upyzl/direct264umod | GPAC/odf_dump.c | C | gpl-2.0 | 67,844 |
/*
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
* Universal interface for Audio Codec '97
*
* For more details look to AC '97 component specification revision 2.2
* by Intel Corporation (http://developer.intel.com).
*
*
* This program is free software; you can redistribute it and/or modify
* it ... | dl9pf/linux | sound/pci/ac97/ac97_codec.c | C | gpl-2.0 | 95,802 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | gabrieldelsaint/uol-messenger | src/libuolfone/wengophone-ng/current/libs/3rdparty/curl/lib/telnet.c | C | gpl-2.0 | 36,730 |
#include <linux/sched.h>
#include <linux/stacktrace.h>
#include <linux/module.h>
#include <asm/stacktrace.h>
static void save_raw_context_stack(struct stack_trace *trace,
unsigned long reg29)
{
unsigned long *sp = (unsigned long *)reg29;
unsigned long addr;
while (!kstack_end(sp)) {
addr = *sp++;
if (__kerne... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/arch/mips/kernel/stacktrace.c | C | gpl-2.0 | 1,835 |
/*****************************************************************************
* common.c: misc common functions
*****************************************************************************
* Copyright (C) 2003-2014 x264 project
*
* Authors: Loren Merritt <lorenm@u.washington.edu>
* Laurent Aimar <fenri... | AreaScout/vice-gles2 | src/lib/libx264/common/common.c | C | gpl-2.0 | 50,149 |
/* Copyright (c) 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 hope... | TeamPlaceholder/android_kernel_lge_gee | arch/arm/mach-msm/msm_dcvs_scm.c | C | gpl-2.0 | 4,675 |
/*
* x86 SMP booting functions
*
* (c) 1995 Alan Cox, Building #3 <alan@redhat.com>
* (c) 1998, 1999, 2000 Ingo Molnar <mingo@redhat.com>
*
* Much of the core SMP work is based on previous work by Thomas Radke, to
* whom a great many thanks are extended.
*
* Thanks to Intel for making available several differe... | dduval/kernel-rhel4 | arch/i386/kernel/smpboot.c | C | gpl-2.0 | 31,173 |
/*
* HID raw devices, giving access to raw HID events.
*
* In comparison to hiddev, this device does not process the
* hid events at all (no parsing, no lookups). This lets applications
* to work on raw hid events as they want to, and avoids a need to
* use a transport-specific userspace libhid/libusb libraries.... | nullie/ardrone-kernel | drivers/hid/hidraw.c | C | gpl-2.0 | 11,789 |
//
// Copyright(C) 2007-2014 Samuel Villarreal
// Copyright(C) 2014 Night Dive Studios, 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... | dotfloat/restrife | strife-ve-src/src/opengl/rb_decal.c | C | gpl-2.0 | 25,473 |
/*
* OMAP34xx M2 divider clock code
*
* Copyright (C) 2007-2008 Texas Instruments, Inc.
* Copyright (C) 2007-2010 Nokia Corporation
*
* Paul Walmsley
* Jouni Högander
*
* Parts of this code are based on code written by
* Richard Woodruff, Tony Lindgren, Tuukka Tikkanen, Karthik Dasu
*
* This program is free... | evolver56k/xpenology | arch/arm/mach-omap2/clkt34xx_dpll3m2.c | C | gpl-2.0 | 3,273 |
/**
* @file mprLiense.c
* @brief Mpr commerical license validation
* @overview
* @remarks
*/
/*
* @copy default
*
* Copyright (c) Embedthis Software LLC, 2003-2012. All Rights Reserved.
* Copyright (c) Michael O'Brien, 1994-2012. All Rights Reserved.
*
* This software is distribu... | embedthis/tools-3 | build/src/license/mprLicense.c | C | gpl-2.0 | 7,441 |
/*
* Copyright (C) 2010 Martin Mueller
*
* This file is part of paparazzi.
*
* paparazzi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
*... | monzie9000/rory | sw/airborne/modules/sensors/trigger_ext.c | C | gpl-2.0 | 1,911 |
/*
* Copyright (c) Bull S.A. 2007 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 would be useful, but
* ... | shubmit/shub-ltp | testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/5-scalability.c | C | gpl-2.0 | 3,788 |
/*
* i2c-necravine.c: adapter and algoritms driver for the I2C peripheral on the
* NEC RavinE
*
* Copyright 2003 mycable GmbH
* Author: mycable GmbH
* Joerg Ritter jr@mycable.de
*
* based on Montavista's i2c-x220.c
*
* This program is free software; you can redistribute it and/... | robacklin/celinux | drivers/i2c/i2c-necravine.c | C | gpl-2.0 | 14,201 |
/*
* arch/arm/plat-mxc/iomux-v1.c
*
* Copyright (C) 2004 Sascha Hauer, Synertronixx GmbH
* Copyright (C) 2009 Uwe Kleine-Koenig, Pengutronix
*
* Common code for i.MX1, i.MX21 and i.MX27
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | Core2idiot/Kernel-Samsung-3.0...- | arch/arm/plat-mxc/iomux-v1.c | C | gpl-2.0 | 6,129 |
/* DVB USB compliant linux driver for mobile DVB-T USB devices based on
* reference designs made by DiBcom (http://www.dibcom.fr/) (DiB3000M-B)
*
* Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de)
*
* based on GPL code from DiBcom, which has
* Copyright (C) 2004 Amaury Demol for DiBcom (ademol@d... | archos-sa/archos-gpl-gen6-kernel | drivers/media/dvb/dvb-usb/dibusb-mb.c | C | gpl-2.0 | 14,417 |
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include <X11/X.h>
#include "os.h"
#include "xf86.h"
#include "xf86Priv.h"
#define XF86_OS_PRIVS
#include "xf86_OSproc.h"
#include "xf86_OSlib.h"
#include <machine/apmvar.h>
#define APM_DEVICE "/dev/apm"
static pointer APMihPtr = NULL;
static void bsdCloseAP... | atmark-techno/atmark-dist | user/xorg-xserver/xorg-server-1.12.4/hw/xfree86/os-support/bsd/bsd_apm.c | C | gpl-2.0 | 3,401 |
/*
* Copyright 2001-2004 Brandon Long
* All Rights Reserved.
*
* ClearSilver Templating System
*
* This code is made available under the terms of the ClearSilver License.
* http://www.clearsilver.net/license.hdf
*
*/
/* Initial version based on multi-proc based server (like apache 1.x)
*
* Parts are:
* 1... | udawtr/magro | src/clearsilver/neo_server.c | C | gpl-2.0 | 4,920 |
/*
* net/core/ethtool.c - Ethtool ioctl handler
* Copyright (c) 2003 Matthew Wilcox <matthew@wil.cx>
*
* This file is where we call all the ethtool_ops commands to get
* the information ethtool needs.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | kozmikkick/eternityprj-kernel-endeavoru-128 | net/core/ethtool.c | C | gpl-2.0 | 43,324 |
/*
* Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* 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 Fou... | TheTypoMaster/Scaper | openjdk/jdk/src/solaris/native/sun/java2d/loops/vis_IntArgbPre.c | C | gpl-2.0 | 36,242 |
/*
* ss_cazm.c: CAZM- and ASCII- format routines for SpiceStream
*
* Copyright (C) 1998,1999 Stephen G. Tell
*
* 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... | l-chang/gwave | spicefile/ss_cazm.c | C | gpl-2.0 | 6,286 |
/* $Id: errno.c 3174 2010-05-17 12:51:06Z ming $ */
/*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.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... | kaaustubh/pjsip | pjmedia/src/pjmedia-audiodev/errno.c | C | gpl-2.0 | 5,995 |
// SPDX-License-Identifier: GPL-2.0
//
// Exemples de la formation
// "Ecriture de drivers et programmation noyau Linux"
// Chapitre "Driver en mode caracteres"
//
// (c) 2001-2022 Christophe Blaess
//
// https://www.logilin.fr/
//
#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <l... | Logilin/ild | exemples/04-driver-caracteres/example-IV-06.c | C | gpl-2.0 | 2,215 |
/*
* arch/arm/mach-tegra/tegra2_clocks.c
*
* Copyright (C) 2010 Google, Inc.
*
* Author:
* Colin Cross <ccross@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 modified u... | hzc1126/dell_gallo_kernel_ics | arch/arm/mach-tegra/tegra2_clocks.c | C | gpl-2.0 | 72,441 |
/* Select disassembly routine for specified architecture.
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
This library is free software; you can redistribute it and/o... | jellycn/gdb-python | opcodes/disassemble.c | C | gpl-2.0 | 11,890 |
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates.
*
* 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,... | smarr/Truffle | sulong/tests/com.oracle.truffle.llvm.tests.sulongcpp.native/cpp/builtin/arithmetic/arithmetic_uadd_i64.c | C | gpl-2.0 | 3,723 |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
/* Test if a string represented in the form of a linked list is a palindrome */
#define TRUE 1
#define FALSE 0
#define ENDS ('\0')
struct node {
char c;
struct node * next;
};
struct node * createll(char * str)
{
int i = 0;
char c;
str... | susingha/0x_tools | programs/palindrome_ll.c | C | gpl-2.0 | 2,041 |
/*
* NET3 Protocol independent device support routines.
*
* 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.
*
... | DirtyUnicorns/android_kernel_lge_msm8974 | net/core/dev.c | C | gpl-2.0 | 164,309 |
/* Routines required for instrumenting a program. */
/* Compile this one with gcc. */
/* Copyright (C) 1989-2014 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... | embecosm/avr-gcc | libgcc/libgcov-interface.c | C | gpl-2.0 | 6,388 |
/****************************************************************
* *
* Copyright 2001, 2002 Sanchez Computer Associates, Inc. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* ... | h4ck3rm1k3/FIS-GT.M | sr_port_cm/gtcm_add_region.c | C | gpl-2.0 | 1,598 |
/* kernel/power/fbearlysuspend.c
*
* Copyright (C) 2005-2008 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed i... | andi34/kernel_samsung_espresso-cm | kernel/power/fbearlysuspend.c | C | gpl-2.0 | 3,830 |
/*
* intel_mid_dma.c - Intel Langwell DMA Drivers
*
* Copyright (C) 2008-10 Intel Corp
* Author: Vinod Koul <vinod.koul@intel.com>
* The driver design is based on dw_dmac driver
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* This program is free software; you can redistri... | robocoreio/edison-kernel | drivers/dma/intel_mid_dma.c | C | gpl-2.0 | 61,621 |
#include <windows.h>
#include <errno.h>
#include <io.h>
#include "mman.h"
#ifndef FILE_MAP_EXECUTE
#define FILE_MAP_EXECUTE 0x0020
#endif /* FILE_MAP_EXECUTE */
static int __map_mman_error(const DWORD err, const int deferr)
{
if (err == 0)
return 0;
//TODO: implement
return er... | neurodebian/pebl-language | src/utility/mman.c | C | gpl-2.0 | 4,176 |
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2010 Nokia Corporation
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
* Copyright (C) 2011 Texas Instruments, Inc.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms ... | redboltz/bluez | android/avctp.c | C | gpl-2.0 | 35,759 |
#include <linux/backlight.h>
#include <linux/fb.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#define ADX_BACKLIGHT_CONTROL 0x00
#define ADX_BACKLIGHT_CONTROL_ENABLE (1 << 0)
#define ADX_BACKLIGHT_BRIGHTNESS 0x08
#define ADX_BACKLIGHT_STATUS 0x10
#define ADX_BACKLIGHT_ERROR... | leemgs/OptimusOneKernel-KandroidCommunity | drivers/video/backlight/adx_bl.c | C | gpl-2.0 | 3,602 |
/*
* mm/rmap.c - physical to virtual reverse mappings
*
* Copyright 2001, Rik van Riel <riel@conectiva.com.br>
* Released under the General Public License (GPL).
*
* Simple, low overhead reverse mapping scheme.
* Please try to keep this thing as modular as possible.
*
* Provides methods for unmapping each kind... | Zkin/pf-kernel-updates | mm/rmap.c | C | gpl-2.0 | 47,973 |
/*
* HTR -- The Heisetrolljan
*
* Copyright (C) 2016 Martin Wolters
*
* 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 ... | peterwankman/kryo-chief | src/hfuncs.c | C | gpl-2.0 | 4,739 |
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
/************************************************
rbpangomatrix.c -
$Author: mutoh $
$Date: 2006/12/10 15:13:10 $
Copyright (C) 2005 Masao Mutoh
************************************************/
#include "rbpango.h"
#if PANGO_CHECK_VERSION(1,6,0)
#d... | taf2/ruby-gnome2 | pango/src/rbpangomatrix.c | C | gpl-2.0 | 3,639 |
/*
* hdmi.c
*
* HDMI interface DSS driver setting for TI's OMAP4 family of processor.
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
* Authors: Yong Zhi
* Mythri pk <mythripk@ti.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of ... | bsmitty83/Kernel_Tuna_AOSP | drivers/video/omap2/dss/hdmi.c | C | gpl-2.0 | 23,080 |
/*
rbd.c -- Export ceph rados objects as a Linux block device
based on drivers/block/osdblk.c:
Copyright 2009 Red Hat, 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.
T... | volk3/CS736 | drivers/block/rbd.c | C | gpl-2.0 | 150,062 |
/*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-07-20 thread-liu the first version
*/
#include "board.h"
#include "drv_config.h"
#include <netif/ethernetif.h>
#include "lwipopts.h"
#incl... | blueskycoco/rt-thread | bsp/stm32/stm32mp157a-st-ev1/board/ports/eth/drv_eth.c | C | gpl-2.0 | 26,455 |
/*
Copyright (C) 2001 Tensilica, Inc. All Rights Reserved.
Revised to support Tensilica processors and to improve overall performance
*/
/* Subroutines needed for unwinding IA-64 standard format stack frame
info for exception handling. */
/* Compile this one with gcc. */
/* Copyright (C) 1997, ... | qiyao/xcc | gccfe/gnu/config/ia64/frame-ia64.c | C | gpl-2.0 | 43,069 |
/*****************************************************************************\
* as_mysql_qos.c - functions dealing with qos.
*****************************************************************************
*
* Copyright (C) 2004-2007 The Regents of the University of California.
* Copyright (C) 2008-2010 Lawrence... | pompp/slurm-power-management | slurm/src/plugins/accounting_storage/mysql/as_mysql_qos.c | C | gpl-2.0 | 36,024 |
/*
* Samsung Exynos5 SoC series FIMC-IS driver
*
* exynos5 fimc-is video functions
*
* Copyright (c) 2011 Samsung Electronics Co., 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 Fo... | Biktorgj/Android_b2_Kernel | drivers/media/video/exynos/fimc-is-w1/fimc-is-video-isp.c | C | gpl-2.0 | 21,529 |
/*
* Copyright (c) 2011-2013, 2016 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 distribute... | DerRomtester/android_kernel_oneplus_msm8974-3.10 | arch/arm/kernel/perf_event_msm_krait.c | C | gpl-2.0 | 16,737 |
/* Framework for configuring and reading PHY devices
* Based on code in sungem_phy.c and gianfar_phy.c
*
* Author: Andy Fleming
*
* Copyright (c) 2004 Freescale Semiconductor, Inc.
* Copyright (c) 2006, 2007 Maciej W. Rozycki
*
* This program is free software; you can redistribute it and/or modify it
* under... | jmontleon/fedora-solidrun | drivers/net/phy/phy.c | C | gpl-2.0 | 32,020 |
/*
* Copyright (c) 2015-2016 Cray Inc. All rights reserved.
* Copyright (c) 2015-2016 Los Alamos National Security, LLC.
* All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* Genera... | spud93/libfabric | prov/gni/src/gnix_cq.c | C | gpl-2.0 | 19,257 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2017-2018 Intel 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; version 2 of the License.
*
* This progr... | wolflee/coreboot | src/soc/intel/common/block/pmc/pmc.c | C | gpl-2.0 | 3,919 |
/*
* tivo@wingert.org, February 2003
*
* Copyright (C) 2003 Christopher R. Wingert
*
* The license covers the portions of this file regarding TiVo additions.
*
* Olaf Beck and Tridge (indirectly) were essential at providing
* information regarding the format of the TiVo streams.
*
* However, no code in the fo... | azuwis/mplayer | libmpdemux/demux_ty.c | C | gpl-2.0 | 27,698 |
/*
* Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com
* Written by Alex Tomas <alex@clusterfs.com>
*
* Architecture independence:
* Copyright (c) 2005, Bull S.A.
* Written by Pierre Peiffer <pierre.peiffer@bull.net>
*
* This program is free software; you can redistribute it and/or modi... | Krizthian/BeliveKernel_otus | fs/ext4/extents.c | C | gpl-2.0 | 137,162 |
/*
* Copyright (C) 2003 Robert Kooima
*
* NEVERBALL 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 d... | libcg/neverball-psp | ball/main.c | C | gpl-2.0 | 13,988 |
/* $Id$ */
/*
** Copyright (C) 2005 Sourcefire, Inc.
** AUTHOR: Steven Sturges <ssturges@sourcefire.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, o... | scs/uclinux | user/snort/src/preprocessors/snort_stream4_udp.c | C | gpl-2.0 | 13,515 |
/*
* Alarmtimer interface
*
* This interface provides a timer which is similarto hrtimers,
* but triggers a RTC alarm if the box is suspend.
*
* This interface is influenced by the Android RTC Alarm timer
* interface.
*
* Copyright (C) 2010 IBM Corperation
*
* Author: John Stultz <john.stultz@linaro.org>
*
... | tidatida/linux-stable-grsec | kernel/time/alarmtimer.c | C | gpl-2.0 | 20,558 |
/*
* Copyright (C) Freescale Semicondutor, Inc. 2007, 2008.
* Copyright (C) Semihalf 2009
* Copyright (C) Ilya Yanok, Emcraft Systems 2010
*
* Written by Piotr Ziecik <kosmo@semihalf.com>. Hardware description
* (defines, structures and comments) was taken from MPC5121 DMA driver
* written by Hongjun Chen <hong-... | leftrepo/Owl-Kernel-for-Xperia-Sola | drivers/dma/mpc512x_dma.c | C | gpl-2.0 | 23,222 |
/**
* @file cl_camera.c
*/
/*
All original material Copyright (C) 2002-2010 UFO: Alien Invasion.
Original file from Quake 2 v3.21: quake2-2.31/client/cl_input.c
Copyright (C) 1997-2001 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Publi... | chrisglass/ufoai | src/client/battlescape/cl_camera.c | C | gpl-2.0 | 12,346 |
/* kate: space-indent on; indent-width 2; mixedindent off; indent-mode cstyle; remove-trailing-space on;
* Copyright (C) 2008 the xine project
* Copyright (C) 2008 Christophe Thommeret <hftom@free.fr>
*
* This file is part of xine, a free video player.
*
* xine is free software; you can redistribute it and/or mod... | pingflood/xine-lib | src/video_dec/libvdpau/alterh264_decode.c | C | gpl-2.0 | 71,790 |
/*
* ALSA SoC TWL6040 codec driver
*
* Author: Misael Lopez Cruz <x0052729@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 the ho... | ch33kybutt/kernel_cmplus_tuna | sound/soc/codecs/twl6040.c | C | gpl-2.0 | 51,951 |
/*
* DO NOT EDIT THIS FILE - it is generated by Glade.
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include "callbacks.h"
#include "interface.h"
#includ... | irssi-import/xirssi | src/glade/interface.c | C | gpl-2.0 | 221,049 |
/*
* misc.c
*
* This is a collection of several routines from gzip-1.0.3
* adapted for Linux.
*
* Modified for ARM Linux by Russell King
*
* Nicolas Pitre <nico@visuaide.com> 1999/04/14 :
* For this code to run directly from Flash, all constant variables must
* be marked with 'const' and all other variab... | camelguo/linux-2.6-trimedia | arch/arm26/boot/compressed/misc.c | C | gpl-2.0 | 2,713 |
#include <linux/version.h>
#include <linux/module.h>
#include <linux/irq.h>
#include <linux/types.h>
#include <linux/input.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/device.h>
#in... | longsleep/ubuntu-odroidc | drivers/amlogic/hdmi/hdmi_tx/hdmi_cec_key.c | C | gpl-2.0 | 5,946 |
/*
* linux/drivers/scsi/ide-scsi.c Version 0.9 Jul 4, 1999
*
* Copyright (C) 1996 - 1999 Gadi Oxman <gadio@netvision.net.il>
*/
/*
* Emulation of a SCSI host adapter for IDE ATAPI devices.
*
* With this driver, one can use the Linux SCSI drivers instead of the
* native IDE ATAPI drivers.
*
* Ver 0.1 Dec... | dduval/kernel-rhel4 | drivers/scsi/ide-scsi.c | C | gpl-2.0 | 36,203 |
/******************************************************************************
Copyright (c) 2009
Lantiq Deutschland GmbH
Am Campeon 3; 85579 Neubiberg, Germany
For licensing information, see the file 'LICENSE' in the root folder of
t... | uwehermann/easybox-904-xdsl-firmware | package/infineon-utilities/feeds/ifx_voice_cpe/ifx-voice-cpe-vmmc/src.904dsl/src/drv_vmmc_int.c | C | gpl-2.0 | 62,504 |
/* See COPYRIGHT for copyright information. */
#include <inc/x86.h>
#include <inc/error.h>
#include <inc/string.h>
#include <inc/assert.h>
#include <kern/env.h>
#include <kern/pmap.h>
#include <kern/trap.h>
#include <kern/syscall.h>
#include <kern/console.h>
#include <kern/sched.h>
#include <kern/time.h>
#include <ke... | tuituji/6.828-MIT-OS | lab/kern/syscall.c | C | gpl-2.0 | 17,438 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* GThumb
*
* Copyright (C) 2008 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 F... | GNOME/gthumb | extensions/search/main.c | C | gpl-2.0 | 2,236 |
/*
* COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO)
* (a.k.a. Fault Tolerance or Continuous Replication)
* A device for the usespace to control comparing and wait checkpoint
*
* Copyright (C) 2014 FUJITSU LIMITED
*
* Author: Wen Congyang <wency@cn.fujitsu.com>
*
* This work is licen... | wencongyang/colo-agent | compare_device.c | C | gpl-2.0 | 9,569 |
/*
* Copyright (c) 2013 Andrew Mortensen
* All rights reserved. See LICENSE.
*/
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "duo_cosign_cfg.h"
extern int errno;
char *
dc_get_cfg_p... | moretension/duo_cosign | duo_cosign_cfg.c | C | gpl-2.0 | 4,397 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.