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 |
|---|---|---|---|---|---|
/* drivers/i2c/chips/lis3dh.c - LIS3DH motion sensor driver
*
*
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope... | yevgeniy-logachev/CATB15Kernel | mediatek/custom/common/kernel/accelerometer/lis3dh_auto/lis3dh.c | C | gpl-2.0 | 49,830 |
/*
FILE
tTemplate source code of unxsISP.cgi
Built by mysqlRAD2.cgi (C) Gary Wallis and Hugo Urquiza 2001-2009
svn ID removed
PURPOSE
Schema dependent RAD generated file.
Program app functionality in ttemplatefunc.h while
RAD is still to be used.
*/
#include "mysqlrad.h"
//Table Variables
//Table Variables
//... | unxs0/unxsVZ | unxsISP/ttemplate.c | C | gpl-2.0 | 17,292 |
/*
* CUnit - A Unit testing framework library for C.
* Copyright (C) 2004-2006 Jerry St.Clair
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the Li... | zxgyy/QiNiuBatchUpload | BatchupLoad/qiniu/CUnit/CUnit/Sources/Test/test_cunit.c | C | gpl-2.0 | 3,772 |
/*
Copyright (c) 2004 The Regents of the University of Michigan.
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... | greearb/nfs-utils-ct | utils/gssd/gssd_main_loop.c | C | gpl-2.0 | 6,223 |
/*
* Universal power supply monitor class
*
* Copyright © 2007 Anton Vorontsov <cbou@mail.ru>
* Copyright © 2004 Szabolcs Gyurko
* Copyright © 2003 Ian Molton <spyro@f2s.com>
*
* Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/
#include <linux/module.h>
#incl... | titusece/linux_imx | drivers/power/power_supply_core.c | C | gpl-2.0 | 19,435 |
/*
* This file implements the perfmon-2 subsystem which is used
* to program the IA-64 Performance Monitoring Unit (PMU).
*
* The initial version of perfmon.c was written by
* Ganesh Venkitachalam, IBM Corp.
*
* Then it was modified for perfmon-1.x by Stephane Eranian and
* David Mosberger, Hewlett Packard Co.
... | leftrepo/Owl-Kernel-for-Xperia-Sola | arch/ia64/kernel/perfmon.c | C | gpl-2.0 | 172,407 |
/*
* ISDB subtitle decoding
* Copyright (c) 2013 0p1pp1
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at y... | 0p1pp1/mplayer | sub/isdbsubdec.c | C | gpl-2.0 | 81,372 |
/*
* BSD compression module
*
* Patched version for ISDN syncPPP written 1997/1998 by Michael Hipp
* The whole module is now SKB based.
*
*/
/*
* Update: The Berkeley copyright was changed, and the change
* is retroactive to all "true" BSD software (ie everything
* from UCB as opposed to other peop... | Jackeagle/android_kernel_sony_c2305 | drivers/isdn/i4l/isdn_bsdcomp.c | C | gpl-2.0 | 24,813 |
/*
* resolve.c - resolve names and tags into specific devices
*
* Copyright (C) 2001, 2003 Theodore Ts'o.
* Copyright (C) 2001 Andreas Dilger
*
* %Begin-Header%
* This file may be redistributed under the terms of the
* GNU Lesser General Public License.
* %End-Header%
*/
#include <stdio.h>
#if HAVE_UNISTD_H
... | jgunthorpe/busybox | e2fsprogs/blkid/resolve.c | C | gpl-2.0 | 3,032 |
/*
* libata-scsi.c - helper library for ATA
*
* Maintained by: Jeff Garzik <jgarzik@pobox.com>
* Please ALWAYS copy linux-ide@vger.kernel.org
* on emails.
*
* Copyright 2003-2004 Red Hat, Inc. All rights reserved.
* Copyright 2003-2004 Jeff Garzik
*
*
* This program is free software; you... | Rashed97/android_kernel_sony_marvell | drivers/ata/libata-scsi.c | C | gpl-2.0 | 100,260 |
/* gameplaySP
*
* Copyright (C) 2006 Exophase <exophase@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later versi... | BASLQC/gPSP | video.c | C | gpl-2.0 | 204,850 |
/*
* linux/kernel/exit.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/capability.h>
#include <linux/completion.h>
#include <linux/personality.h>
#include <linux/tty.h>
#include <linux/iocontext... | PennPanda/litmus-rt | kernel/exit.c | C | gpl-2.0 | 44,381 |
//=============================================================================
//
// m25pxx.c
//
// SPI flash driver for Numonyx M25Pxx devices and compatibles.
//
//=============================================================================
// ####ECOSGPLCOPYRIGHTBEGIN####
// -----------------------------... | reille/proj_ecos | src/ecos/packages/devs/flash/spi/m25pxx/current/src/m25pxx.c | C | gpl-2.0 | 17,781 |
/*
* drivers/power/process.c - Functions for starting/stopping processes on
* suspend transitions.
*
* Originally from swsusp.
*/
#undef DEBUG
#include <linux/interrupt.h>
#include <linux/oom.h>
#include <linux/suspend.h>
#include <linux/module.h>
#include <linux/syscalls.h>
#include ... | forfivo/v500_kernel_aosp | kernel/power/process.c | C | gpl-2.0 | 5,537 |
/* 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... | C-Aniruddh/kernel_vortex | drivers/thermal/msm_thermal.c | C | gpl-2.0 | 134,237 |
/* $Id$
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 in the hope ... | xfce-mirror/xfwm4 | src/events.c | C | gpl-2.0 | 95,564 |
/**********************************************************************
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; eith... | jheusala/freeciv | server/ruleset.c | C | gpl-2.0 | 174,636 |
/* 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... | jameskdev/lge-kernel-d1l_kr | arch/arm/mach-msm/lge/l_dcm/board-l_dcm-panel.c | C | gpl-2.0 | 35,276 |
/*
* Copyright (c) 2009, Yauhen Kharuzhy <jekhor@gmail.com>
*
* See file CREDITS for list of people who contributed to this
* 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; e... | OpenInkpot-archive/uboot-n516 | common/cmd_update.c | C | gpl-2.0 | 19,636 |
/*
* A framebuffer driver for VBE 2.0+ compliant video cards
*
* (c) 2007 Michal Januszewski <spock@gentoo.org>
* Loosely based upon the vesafb driver.
*
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/skbuff.h>
#include <linux/timer.h>
#include <linux/compl... | manveru0/FeaCore_Phoenix_S3 | drivers/video/uvesafb.c | C | gpl-2.0 | 52,031 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | luckasfb/OT_903D-kernel-2.6.35.7 | bootable/bootloader/uboot/arch/powerpc/cpu/mpc83xx/pcie.c | C | gpl-2.0 | 11,152 |
/* $Id$ */
/** @file
* IPRT - User & Kernel Memory, Ring-0 Driver, Solaris.
*/
/*
* Copyright (C) 2009 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 redistribute it and/or modify it under the... | dezelin/vbox-haiku | src/VBox/Runtime/r0drv/solaris/memuserkernel-r0drv-solaris.c | C | gpl-2.0 | 2,352 |
/**
* @file g_func.c
* @brief func_* edicts
*/
/*
All original material Copyright (C) 2002-2011 UFO: Alien Invasion.
Original file from Quake 2 v3.21: quake2-2.31/game/g_spawn.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... | ptitSeb/UFO--AI-OpenPandora | src/game/g_func.c | C | gpl-2.0 | 11,042 |
/*
* 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... | drodin/neverball-old | share/solid_sim_sol.c | C | gpl-2.0 | 19,801 |
/*
* (C) Copyright 2008-2013 STMicroelectronics.
*
* Sean McGoogan <Sean.McGoogan@st.com>
*
* See file CREDITS for list of people who contributed to this
* 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... | Blagus/STB8000-U-Boot | board/st/b2000/b2000.c | C | gpl-2.0 | 10,205 |
/* $Id: mpnotification-r0drv-solaris.c $ */
/** @file
* IPRT - Multiprocessor Event Notifications, Ring-0 Driver, Solaris.
*/
/*
* Copyright (C) 2008-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
... | miguelinux/vbox | src/VBox/Runtime/r0drv/solaris/mpnotification-r0drv-solaris.c | C | gpl-2.0 | 4,766 |
/*
* mms_ts.c - Touchscreen driver for Melfas MMS-series touch controllers
*
* Copyright (C) 2011 Google Inc.
* Author: Dima Zavin <dima@android.com>
* Simon Wilson <simonwilson@google.com>
*
* ISP reflashing code based on original code from Melfas.
*
* This program is free software; you can redistribu... | kunato/s3-u6 | drivers/input/touchscreen/mms_ts.c | C | gpl-2.0 | 78,817 |
/*
* Fast Userspace Mutexes (which I call "Futexes!").
* (C) Rusty Russell, IBM 2002
*
* Generalized futexes, futex requeueing, misc fixes by Ingo Molnar
* (C) Copyright 2003 Red Hat Inc, All Rights Reserved
*
* Removed page pinning, fix privately mapped COW pages and other cleanups
* (C) Copyright 2003, ... | Psycho666/Simplicity_trlte_kernel | kernel/futex.c | C | gpl-2.0 | 77,612 |
/* Copyright (c) 2009-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... | AdrianoMartins/android_kernel_lge_v500 | drivers/char/msm_rotator.c | C | gpl-2.0 | 88,858 |
/*
* f_mass_storage.c -- Mass Storage USB Composite Function
*
* Copyright (C) 2003-2008 Alan Stern
* Copyright (C) 2009 Samsung Electronics
* Author: Michal Nazarewicz <mina86@mina86.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modific... | xingrz/android_kernel_nubia_msm8996 | drivers/usb/gadget/function/f_mass_storage.c | C | gpl-2.0 | 106,868 |
/* Copyright (C) 2001 artofcode LLC. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license contained in the... | brho/plan9 | sys/src/cmd/gs/src/gp_stdia.c | C | gpl-2.0 | 1,087 |
/* Qualcomm Crypto Engine driver.
*
* 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.
*
... | MattCrystal/tripping-hipster | drivers/crypto/msm/qce50.c | C | gpl-2.0 | 128,263 |
/* GStreamer
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
* 2005 Wim Taymans <wim@fluendo.com>
*
* gstaudiosink.c: simple audio sink base class
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Li... | iperry/gst-plugins-base | gst-libs/gst/audio/gstaudiosink.c | C | gpl-2.0 | 18,574 |
/*
* kernel/workqueue.c - generic async execution with shared worker pool
*
* Copyright (C) 2002 Ingo Molnar
*
* Derived from the taskqueue/keventd code by:
* David Woodhouse <dwmw2@infradead.org>
* Andrew Morton
* Kai Petzke <wpp@marie.physik.tu-berlin.de>
* Theodore Ts'o <tytso@mit.edu>
*... | SubhrajyotiSen/HelioxKernelOnyx | kernel/workqueue.c | C | gpl-2.0 | 109,169 |
#include "../comedidev.h"
#include "comedi_pci.h"
#include "8255.h"
#define PCI_VENDOR_ID_CB 0x1307 /* PCI vendor number of ComputerBoards */
#define EEPROM_SIZE 128 /* number of entries in eeprom */
#define MAX_AO_CHANNELS 8 /* maximum number of ao channels for supported boards */
/* PCI-DDA base addresses */
... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/drivers/staging/comedi/drivers/cb_pcidda.c | C | gpl-2.0 | 20,633 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2008 VIA Technologies, Inc.
* (Written by Aaron Lwe <aaron.lwe@gmail.com> for VIA)
*
* 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... | latelee/coreboot | src/mainboard/via/epia-cn/romstage.c | C | gpl-2.0 | 2,336 |
/* dia -- an diagram creation/manipulation program
* Copyright (C) 1998 Alexander Larsson
*
* dia_svg.c -- Refactoring by Hans Breuer from :
*
* Custom Objects -- objects defined in XML rather than C.
* Copyright (C) 1999 James Henstridge.
*
* This program is free software; you can redistribute it and/or modif... | GNOME/dia | lib/dia_svg.c | C | gpl-2.0 | 53,495 |
/* This program was written with lots of love under the GPL by Jonathan
* Blandford <jrb@gnome.org>
*/
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <gdk/gdkx.h>
#include <X11/Xatom.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
#if GTK_CHECK_... | City-busz/mate-control-center | capplets/keybindings/mate-keybinding-properties.c | C | gpl-2.0 | 58,766 |
/*
* BackFS Filesystem Cache
* Copyright (c) 2010-2014 William R. Fraser
*/
#define _XOPEN_SOURCE 500 // for pread()
#include "fscache.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <sys/st... | ninoles/backfs | fscache.c | C | gpl-2.0 | 35,045 |
/*
* Intel 3000/3010 Memory Controller kernel module
* Copyright (C) 2007 Akamai Technologies, Inc.
* Shamelessly copied from:
* Intel D82875P Memory Controller kernel module
* (C) 2003 Linux Networx (http://lnxi.com)
*
* This file may be distributed under the terms of the
* GNU General Public License... | jeffegg/beaglebone | drivers/edac/i3000_edac.c | C | gpl-2.0 | 14,324 |
/*****************************************************************************\
* $Id: fillfile.c 77 2006-02-15 01:00:42Z garlick $
*****************************************************************************
* Copyright (C) 2001-2008 The Regents of the University of California.
* Produced at Lawrence Livermore... | tjohansen14/diskscrub | src/fillfile.c | C | gpl-2.0 | 8,230 |
/* packet-laplink.c
* Routines for laplink dissection
* Copyright 2003, Brad Hards <bradh@frogmouth.net>
*
* $Id: packet-laplink.c 42632 2012-05-15 19:23:35Z wmeier $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free softwa... | Abhi9k/wireshark-dissector | epan/dissectors/packet-laplink.c | C | gpl-2.0 | 7,776 |
/* Discovery of auto-inc and auto-dec instructions.
Copyright (C) 2006-2015 Free Software Foundation, Inc.
Contributed by Kenneth Zadeck <zadeck@naturalbridge.com>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as publis... | kito-cheng/gcc | gcc/auto-inc-dec.c | C | gpl-2.0 | 44,162 |
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opti... | andrewrk/mpd | src/pcm_volume.c | C | gpl-2.0 | 4,334 |
/*
* Copyright (C) 2008 by NXP Semiconductors
* All rights reserved.
*
* @Author: Kevin Wells
* @Descr: LPC3250 SLC NAND controller interface support functions
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify... | diverger/uboot-lpc32xx | drivers/mtd/nand/lpc32xx_nand.c | C | gpl-2.0 | 11,991 |
/*
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 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 distributed in th... | lambda/wxQuake2 | game/g_trigger.c | C | gpl-2.0 | 17,071 |
#include "capwap.h"
#include "capwap_element.h"
/********************************************************************
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | alagoutte/smartcapwap | src/common/capwap_element_80211_updatestationqos.c | C | gpl-2.0 | 3,276 |
/*
* This file is part of Libav.
*
* Libav 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.
*
* Libav is distributed in... | DDTChen/CookieVLC | vlc/contrib/android/ffmpeg/libavfilter/asrc_anullsrc.c | C | gpl-2.0 | 1,481 |
/*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <sys/param.h>
#include <sys/uio.h>
#include <sys/... | igorbernstein/netatalk-debian | etc/afpd/main.c | C | gpl-2.0 | 16,185 |
/*
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
* s_misc.c: Yet another miscellaneous functions file.
*
* Copyright (C) 2002 by the past and present ircd coders, and others.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | codemstr/eircd-hybrid | src/s_misc.c | C | gpl-2.0 | 3,996 |
/*
sort.c
Ruby/GSL: Ruby extension library for GSL (GNU Scientific Library)
(C) Copyright 2001-2006 by Yoshiki Tsunesada
Ruby/GSL is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License.
This library is distributed in the hope that it will be useful, b... | iliya-gr/rb-gsl | ext/gsl/sort.c | C | gpl-2.0 | 7,112 |
/* frame_data.c
* Routines for packet disassembly
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as pu... | sstjohn/wireshark | epan/frame_data.c | C | gpl-2.0 | 9,594 |
/*
* computeOnsetFeatures.c
*
* Code generation for function 'computeOnsetFeatures'
*
* C source code generated on: Fri Apr 25 23:35:45 2014
*
*/
/* Include files */
#include "rt_nonfinite.h"
#include "computeOnsetFeatures_export.h"
/* Type Definitions */
#ifndef struct_emxArray__common
#define struct_emxArray... | aneeshvartakavi/birdID | birdID/Source/Export/computeOnsetFeatures_export.c | C | gpl-2.0 | 74,844 |
/*
* This file contains work-arounds for many known PCI hardware
* bugs. Devices present only on certain architectures (host
* bridges et cetera) should be handled in arch-specific code.
*
* Note: any quirks for hotpluggable devices must _NOT_ be declared __init.
*
* Copyright (c) 1999 Martin Mares <mj@ucw... | aospan/linux-next-bcm4708-edgecore-ecw7220-l | drivers/pci/quirks.c | C | gpl-2.0 | 164,319 |
/*
* Read flash partition table from command line
*
* Copyright © 2002 SYSGO Real-Time Solutions GmbH
* Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.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
... | de-wolff/android_kernel_motorola_xt320 | drivers/mtd/cmdlinepart.c | C | gpl-2.0 | 10,218 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A P... | anthony-kolesov/arc_ltp | testcases/open_posix_testsuite/conformance/interfaces/shm_open/14-2.c | C | gpl-2.0 | 2,192 |
/* OS134, Copyright (C) 2005, Benjamin Stein, Jaap Weel, Ting Liao --
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version. This prog... | jaapweel/os134 | loader.c | C | gpl-2.0 | 3,002 |
/***********************************************
* Author: Alexander Oro Acebo
* Date: 01/22/2015
* Description: Change current dir
* ********************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys/shm.h>
#include "../include/Root... | pappacurds/csi385-FAT12-OS | package/cd/cd.c | C | gpl-2.0 | 7,028 |
/*
* Copyright (C) 2010 Xavier Claessens <xclaesse@gmail.com>
* Copyright (C) 2010 Collabora Ltd.
*
* 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 (... | freedesktop-unofficial-mirror/telepathy__telepathy-ssh-contact | src/service.c | C | gpl-2.0 | 5,471 |
/*****************************************************************************
* macroblock.c: macroblock encoding
*****************************************************************************
* Copyright (C) 2003-2017 x264 project
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Loren Merritt <lorenm@u.... | kodabb/x264 | encoder/macroblock.c | C | gpl-2.0 | 57,854 |
/*
* SocialLedge.com - Copyright (C) 2013
*
* This file is part of free software framework for embedded processors.
* You can use it and/or distribute it as long as this copyright header
* remains unmodified. The code is free for personal use and requires
* permission to use in a commer... | kammce/SJSU-DEV-Linux | firmware/default/lib/L2_Drivers/src/can.c | C | gpl-2.0 | 36,142 |
/*
* Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
* Copyright (c) 2008 Dave Chinner
* 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.
*
* This program is d... | Scorpio92/linux_kernel_3.16.1 | fs/xfs/xfs_trans_ail.c | C | gpl-2.0 | 20,742 |
/*
* ecgen, tool for generating Elliptic curve domain parameters
* Copyright (C) 2017-2018 J08nY
*/
#include "hex.h"
#include "exhaustive/arg.h"
#include "field.h"
#include "util/bits.h"
#include "util/memory.h"
#include "util/str.h"
static char *hex_point(point_t *point) {
GEN fx = field_elementi(gel(point->point... | J08nY/ecgen | src/gen/hex.c | C | gpl-2.0 | 3,044 |
/* linux/drivers/mmc/host/sdhci-s3c.c
*
* Copyright 2008 Openmoko Inc.
* Copyright 2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
* http://armlinux.simtec.co.uk/
*
* SDHCI (HSMMC) support for Samsung SoC
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | Android-Dongyf/itop-kernel | drivers/mmc/host/sdhci-s3c-ori.c | C | gpl-2.0 | 23,555 |
/* Copyright (c) 2009-2011, 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... | hiikezoe/android_kernel_fujitsu_f12nad | drivers/video/msm/mdp4_overlay_mddi.c | C | gpl-2.0 | 16,555 |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
// prototypes declarations
char** split(char *str, char *delimitators);
int main(void)
{
char** result;
char str[] = "1-0:0.0.1(132412515)\n1-0:0.2.3.4(654236517)\n";
result = split(str, "()\n");
for(size_t index = 0; *(result + index); index++)
{
p... | marcelodavid/c_utilities | string/split.c | C | gpl-2.0 | 1,269 |
/*
* ALSA SoC Voice Codec Interface for TI DAVINCI processor
*
* Copyright (C) 2010 Texas Instruments.
*
* Author: Miguel Aguilar <miguel.aguilar@ridgerun.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 F... | bticino/linux | sound/soc/davinci/davinci-vcif.c | C | gpl-2.0 | 7,528 |
/* MI Command Set - disassemble commands.
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Contributed by Cygnus Solutions (a Red Hat company).
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General P... | sergiodj/gdb-sergio | gdb/mi/mi-cmd-disas.c | C | gpl-2.0 | 4,527 |
/**
******************************************************************************
* @file TIM/TIM_TimeBase/Src/main.c
* @author MCD Application Team
* @version V1.2.3
* @date 09-October-2015
* @brief This sample code shows how to use STM32F4xx TIM HAL API to generate
* a time ba... | kamfor/STMF4 | STM/Projects/STM324xG_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c | C | gpl-2.0 | 9,525 |
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
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 version 2.1 of the Li... | neheb/systemd | src/core/swap.c | C | gpl-2.0 | 46,326 |
/*
* File: prg.c
* Implements: parsing javascript program aggregate
*
* Copyright: Jens Låås, 2015
* Copyright license: According to GPL, see file COPYING in this directory.
*
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include "duktape.h"
#incl... | jelaas/sys | prg.c | C | gpl-2.0 | 7,575 |
/*
* Intel XScale PXA Programmable Interrupt Controller.
*
* Copyright (c) 2006 Openedhand Ltd.
* Copyright (c) 2006 Thorsten Zitterell
* Written by Andrzej Zaborowski <balrog@zabor.org>
*
* This code is licenced under the GPL.
*/
#include "hw.h"
#include "pxa.h"
#define ICIP 0x00 /* Interrupt Controller IRQ ... | XVilka/qemu | hw/pxa2xx_pic.c | C | gpl-2.0 | 9,607 |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/jiffies.h>
#include <asm/system.h>
#include <asm/io.h>
#include <asm/setup.h>
#include <asm... | leemgs/OptimusOneKernel-KandroidCommunity | drivers/net/apne.c | C | gpl-2.0 | 12,904 |
/**
* Copyright (C) ARM Limited 2012-2015. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#define NEWLINE_CANARY \
/* Unix */ \
"1\n" \
/* Windo... | javilonas/Lonas_KL-SM-G901F | drivers/gator/gator_marshaling.c | C | gpl-2.0 | 12,460 |
/*
* 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.interop.native/interop/createResolveHandle.c | C | gpl-2.0 | 1,844 |
/*
** Copyright (C) 1991, 1997 Free Software Foundation, Inc.
**
** This file is part of TACK.
**
** TACK 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 ... | nslu2/glibc | ncurses/tack/menu.c | C | gpl-2.0 | 8,641 |
/*
* linux/fs/namei.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
/*
* Some corrections by tytso.
*/
/* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname
* lookup logic.
*/
/* [Feb-Apr 2000, AV] Rewrite to the new namespace architecture.
*/
#include <linux/init.h>
#include <linux/export.h... | Pulshen/XKernel | fs/namei.c | C | gpl-2.0 | 87,242 |
/* a10 513
* Copyright (c) 2001-2012 Nicolas Léveillé <knos.free.fr>
*
* You should have received this file ('src/lib/cokus.c') with a license
* agreement. ('LICENSE' file)
*
* Copying, using, modifying and distributing this file are rights
* covered under this licensing agreement and are conditioned by its
* f... | uucidl/plus-one-minus-one | src/lib/cokus.c | C | gpl-2.0 | 7,813 |
/*
* Copyright (C) ST-Ericsson SA 2010,2011
*
* Author: Chris Blair <chris.blair@stericsson.com> for ST-Ericsson
*
* License terms: GNU General Public License (GPL) version 2
*
* U9500 <-> M6718 IPC protocol implementation using SPI.
* state machine definition and functionality.
*/
#include <linux/modem/m671... | janrinze/snowballkernel | drivers/modem/m6718_spi/statemachine.c | C | gpl-2.0 | 40,413 |
/*
* Virtual Raw MIDI client on Sequencer
*
* Copyright (c) 2000 by Takashi Iwai <tiwai@suse.de>,
* Jaroslav Kysela <perex@perex.cz>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | Jackeagle/android_kernel_sony_c2305 | sound/core/seq/seq_virmidi.c | C | gpl-2.0 | 14,463 |
/*
* Copyright (C) 2014 Fraunhofer ITWM
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY ... | nsat/zynq-linux | net/mac802154/llsec.c | C | gpl-2.0 | 24,885 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | pfchrono/mudmagic-client | bundled/curl/getinfo.c | C | gpl-2.0 | 5,871 |
/* nip2-cli.c ... run the nip2 executable, connecting stdin and stdout to the
* console
*
* 11/12/09
* - use SetHandleInformation() to stop the child inheriting the read
* handle (thanks Leo)
*/
/*
Copyright (C) 2008 Imperial College, London
This program is free software; you can redistribute it an... | jcupitt/nip2 | src/nip2-cli.c | C | gpl-2.0 | 5,159 |
/* utility routines for keeping some statistics */
/* (C) 2009 by Harald Welte <laforge@gnumonks.org>
*
* 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 vers... | techniker/libosmocore | src/statistics.c | C | gpl-2.0 | 1,583 |
/*
* fs/f2fs/recovery.c
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#includ... | flaming-toast/linux-jeyu | fs/f2fs/recovery.c | C | gpl-2.0 | 16,232 |
/*
* This file is part of MPlayer.
*
* MPlayer is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* MPlayer is distribut... | svn2github/MPlayer-SB | stream/open.c | C | gpl-2.0 | 1,868 |
/*
* Copyright 2008-2009 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/nio/fs/SolarisNativeDispatcher.c | C | gpl-2.0 | 2,058 |
/*
* SSLv3/TLSv1 server-side functions
*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* 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 L... | mc-server/polarssl | library/ssl_srv.c | C | gpl-2.0 | 158,375 |
/*
* xHCI host controller driver
*
* Copyright (C) 2008 Intel Corp.
*
* Author: Sarah Sharp
* Some code borrowed from the Linux EHCI driver.
*
* 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... | ashikrobi/Crabbykernel | drivers/usb/host/xhci-ring.c | C | gpl-2.0 | 115,318 |
/*
* Copyright (c) 2009-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 ... | OlegKyiashko/LGOGP-kernel | drivers/video/msm/mdp4_overlay.c | C | gpl-2.0 | 112,817 |
/*
* linux/drivers/mmc/core/core.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
* Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
* MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved.
* Copyrig... | fedosis/android_kernel_xiaomi_msm8937 | drivers/mmc/core/core.c | C | gpl-2.0 | 102,367 |
/*
* Copyright 2009-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-li... | zOrg1331/wandboard-kernel | drivers/media/video/mxc/capture/ipu_csi_enc.c | C | gpl-2.0 | 10,146 |
/*
* linux/mm/filemap.c
*
* Copyright (C) 1994-1999 Linus Torvalds
*/
/*
* This file handles the generic file mmap semantics used by
* most "normal" filesystems (but you don't /have/ to use this:
* the NFS filesystem used to do this differently, for example)
*/
#include <linux/export.h>
#include <linux/compil... | shengdie/Dorimanx-LG-G2-D802-Kernel | mm/filemap.c | C | gpl-2.0 | 68,410 |
/* Map (unsigned int) keys to (source file, line, column) triples.
Copyright (C) 2001-2016 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, or (at y... | h4ck3rm1k3/gcc-1 | libcpp/line-map.c | C | gpl-2.0 | 71,107 |
/*
* libquicktime yuv4 encoder
*
* Copyright (c) 2011 Carl Eugen Hoyos
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the L... | tojo9900/vice | src/lib/libffmpeg/libavcodec/yuv4enc.c | C | gpl-2.0 | 2,758 |
/*
* arch/s390/kernel/sys_s390.c
*
* S390 version
* Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
* Thomas Spatzier (tspat@de.ibm.com)
*
* Derived from "arch/i386/kernel/sys_i386.c"
*
* This... | Jackeagle/android_kernel_sony_c2305 | arch/s390/kernel/sys_s390.c | C | gpl-2.0 | 4,389 |
/*
* GIT - The information manager from hell
*
* Copyright (C) Linus Torvalds, 2005
* Copyright (C) Johannes Schindelin, 2005
*
*/
#include "cache.h"
#include "exec_cmd.h"
#include "strbuf.h"
#include "quote.h"
typedef struct config_file {
struct config_file *prev;
FILE *f;
const char *name;
int linenr;
int... | Devindik/origin | config.c | C | gpl-2.0 | 40,138 |
/* IEEE754 floating point arithmetic
* single precision
*/
/*
* MIPS floating point support
* Copyright (C) 1994-2000 Algorithmics Ltd.
*
* ########################################################################
*
* This program is free software; you can distribute it and/or modify it
* under the terms of t... | evolver56k/xpenology | arch/mips/math-emu/sp_frexp.c | C | gpl-2.0 | 1,405 |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*/
#include "tomcrypt_private.h"
/**
@file rsa... | mangosthree/server | dep/tomlib/Crypt/src/pk/rsa/rsa_import.c | C | gpl-2.0 | 4,169 |
/*
Lucy the Diamond Girl - Game where player collects diamonds.
Copyright (C) 2005-2015 Joni Yrjänä <joniyrjana@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version ... | Peanhua/diamond-girl | src/widget_set_navigation_right.c | C | gpl-2.0 | 1,294 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.