repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
CyanogenMod/android_kernel_htc_flounder | arch/arm/mach-ux500/board-mop500-sdi.c | 2045 | 6396 | /*
* Copyright (C) ST-Ericsson SA 2010
*
* Author: Hanumath Prasad <hanumath.prasad@stericsson.com>
* License terms: GNU General Public License (GPL) version 2
*/
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/amba/bus.h>
#include <linux/amba/mmci.h>
#include <linux/mmc/host.h>
#include <linux/... | gpl-2.0 |
noba3/KoTos | lib/libUPnP/Neptune/ThirdParty/zlib-1.2.3/infback.c | 2301 | 22164 | /* infback.c -- inflate using a call-back interface
* Copyright (C) 1995-2005 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/*
This code is largely copied from inflate.c. Normally either infback.o or
inflate.o would be linked into an application--not both. The interf... | gpl-2.0 |
mathkid95/linux_samsung_jb | fs/afs/write.c | 2301 | 18323 | /* handling of writes to regular files and writing back to the server
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as pub... | gpl-2.0 |
newkid313/android_kernel_samsung_l300 | arch/m68k/apollo/dn_ints.c | 4605 | 1049 | #include <linux/interrupt.h>
#include <asm/irq.h>
#include <asm/traps.h>
#include <asm/apollohw.h>
void dn_process_int(unsigned int irq, struct pt_regs *fp)
{
__m68k_handle_int(irq, fp);
*(volatile unsigned char *)(pica)=0x20;
*(volatile unsigned char *)(picb)=0x20;
}
int apollo_irq_startup(unsigned int irq)
{
... | gpl-2.0 |
maxwen/primou-kernel-KISS | drivers/watchdog/w83697hf_wdt.c | 4861 | 10188 | /*
* w83697hf/hg WDT driver
*
* (c) Copyright 2006 Samuel Tardieu <sam@rfc1149.net>
* (c) Copyright 2006 Marcus Junker <junker@anduras.de>
*
* Based on w83627hf_wdt.c which is based on advantechwdt.c
* which is based on wdt.c.
* Original copyright messages:
*
* (c) Copyright 2003 Pádraig Brady <P@draigBrady.c... | gpl-2.0 |
mordesku/Solid_Kernel-GEEHRC | sound/pci/ymfpci/ymfpci.c | 4861 | 11201 | /*
* The driver for the Yamaha's DS1/DS1E cards
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lic... | gpl-2.0 |
vovanx500/ConceptKernel | drivers/leds/leds-tca6507.c | 4861 | 20536 | /*
* leds-tca6507
*
* The TCA6507 is a programmable LED controller that can drive 7
* separate lines either by holding them low, or by pulsing them
* with modulated width.
* The modulation can be varied in a simple pattern to produce a blink or
* double-blink.
*
* This driver can configure each line either as ... | gpl-2.0 |
OESF/linux-linaro-natty | drivers/net/wireless/rtl818x/rtl8187/leds.c | 5117 | 6573 | /*
* Linux LED driver for RTL8187
*
* Copyright 2009 Larry Finger <Larry.Finger@lwfinger.net>
*
* Based on the LED handling in the r8187 driver, which is:
* Copyright (c) Realtek Semiconductor Corp. All rights reserved.
*
* Thanks to Realtek for their support!
*
* This program is free software; you can redist... | gpl-2.0 |
shengdie/l01f_kernel_10c | drivers/mtd/onenand/onenand_sim.c | 8189 | 13804 | /*
* linux/drivers/mtd/onenand/onenand_sim.c
*
* The OneNAND simulator
*
* Copyright © 2005-2007 Samsung Electronics
* Kyungmin Park <kyungmin.park@samsung.com>
*
* Vishak G <vishak.g at samsung.com>, Rohit Hagargundgi <h.rohit at samsung.com>
* Flex-OneNAND simulator support
* Copyright (C) Samsung El... | gpl-2.0 |
Bdaman80/BDA-ACTV | arch/powerpc/boot/oflib.c | 12029 | 4906 | /*
* Copyright (C) Paul Mackerras 1997.
*
* 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.
*/
#include <stddef.h>
... | gpl-2.0 |
Dinjesk/android_kernel_oneplus_msm8996 | net/bridge/netfilter/nft_reject_bridge.c | 254 | 10735 | /*
* Copyright (c) 2014 Pablo Neira Ayuso <pablo@netfilter.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.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <... | gpl-2.0 |
matachi/linux-2.6.32.y | sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c | 510 | 3639 | /* sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c
*
* Copyright 2009 Simtec Electronics
*
* 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/module.h>
#include <... | gpl-2.0 |
Shabbypenguin/Kettle_Corn_Kernel | fs/coda/file.c | 2558 | 6186 | /*
* File operations for Coda.
* Original version: (C) 1996 Peter Braam
* Rewritten for Linux 2.1: (C) 1997 Carnegie Mellon University
*
* Carnegie Mellon encourages users of this code to contribute improvements
* to the Coda project. Contact Peter Braam <coda@cs.cmu.edu>.
*/
#include <linux/types.h>
#include ... | gpl-2.0 |
Stuxnet-Kernel/kernel_g3 | net/ceph/mon_client.c | 3326 | 25343 | #include <linux/ceph/ceph_debug.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/sched.h>
#include <linux/ceph/mon_client.h>
#include <linux/ceph/libceph.h>
#include <linux/ceph/debugfs.h>
#include <linux/ceph/decode.h>
#include <linux/ceph/auth.h... | gpl-2.0 |
h8rift/android_kernel_htc_m7ul | drivers/video/omap2/displays/panel-picodlp.c | 5118 | 13735 | /*
* picodlp panel driver
* picodlp_i2c_driver: i2c_client driver
*
* Copyright (C) 2009-2011 Texas Instruments
* Author: Mythri P K <mythripk@ti.com>
* Mayuresh Janorkar <mayur@ti.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public Licen... | gpl-2.0 |
ztemt/NX505J_Lollipop_kernel | drivers/media/video/cx88/cx88-video.c | 5118 | 58058 | /*
*
* device driver for Conexant 2388x based TV cards
* video4linux video interface
*
* (c) 2003-04 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
*
* (c) 2005-2006 Mauro Carvalho Chehab <mchehab@infradead.org>
* - Multituner support
* - video_ioctl2 conversion
* - PAL/M fixes
*
* This program is free softwa... | gpl-2.0 |
thoemy/android_kernel_htc_endeavoru | arch/x86/mm/pageattr-test.c | 5630 | 5387 | /*
* self test for change_page_attr.
*
* Clears the a test pte bit on random pages in the direct mapping,
* then reverts and compares page tables forwards and afterwards.
*/
#include <linux/bootmem.h>
#include <linux/kthread.h>
#include <linux/random.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <l... | gpl-2.0 |
ztemt/Z5mini_H112_kernel | arch/x86/mm/pageattr-test.c | 5630 | 5387 | /*
* self test for change_page_attr.
*
* Clears the a test pte bit on random pages in the direct mapping,
* then reverts and compares page tables forwards and afterwards.
*/
#include <linux/bootmem.h>
#include <linux/kthread.h>
#include <linux/random.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <l... | gpl-2.0 |
OpenFPGAduino/linux | drivers/hid/hid-monterey.c | 7422 | 2139 | /*
* HID driver for some monterey "special" devices
*
* Copyright (c) 1999 Andreas Gal
* Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
* Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
* Copyright (c) 2006-2007 Jiri Kosina
* Copyright (c) 2007 Paul Walmsley
* Copyri... | gpl-2.0 |
andi34/kernel_samsung_espresso-cm | drivers/staging/speakup/keyhelp.c | 7422 | 6108 | /* speakup_keyhelp.c
* help module for speakup
*
*written by David Borowski.
*
* Copyright (C) 2003 David Borowski.
*
* 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... | gpl-2.0 |
zombah/ubuntu-ac100 | drivers/staging/speakup/keyhelp.c | 7422 | 6108 | /* speakup_keyhelp.c
* help module for speakup
*
*written by David Borowski.
*
* Copyright (C) 2003 David Borowski.
*
* 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... | gpl-2.0 |
Donny3000/Gumstix-Overo-Kernel | arch/mips/math-emu/sp_mul.c | 7678 | 4799 | /* 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... | gpl-2.0 |
guopengpeng/ap-module-kernel-renying | drivers/staging/rtl8192u/ieee80211/arc4.c | 9470 | 2060 | /*
* Cryptographic API
*
* ARC4 Cipher Algorithm
*
* Jon Oberheide <jon@oberheide.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 ... | gpl-2.0 |
david-a-wheeler/linux | drivers/net/wireless/broadcom/b43/tables_phy_ht.c | 10238 | 32970 | /*
Broadcom B43 wireless driver
IEEE 802.11n HT-PHY data tables
Copyright (c) 2011 Rafał Miłecki <zajec5@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 t... | gpl-2.0 |
darkspr1te/kernel_samsung_msm8660_shv-e160L | fs/jfs/jfs_metapage.c | 10238 | 20060 | /*
* Copyright (C) International Business Machines Corp., 2000-2005
* Portions Copyright (C) Christoph Hellwig, 2001-2002
*
* 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; eithe... | gpl-2.0 |
hroark13/n861_two_n860 | fs/jfs/jfs_xtree.c | 11518 | 94348 | /*
* Copyright (C) International Business Machines Corp., 2000-2005
*
* 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 ... | gpl-2.0 |
alexax66/kernel_samsung_a3xelte | drivers/gpu/arm/mali400/mali/linux/mali_sync_user.c | 255 | 2992 | /*
* Copyright (C) 2011-2012 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 ... | gpl-2.0 |
t0mm13b/CAF-Zte-Blade-Android-MSM-2.6.35 | mm/sparse.c | 255 | 21017 | /*
* sparse memory mappings.
*/
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/mmzone.h>
#include <linux/bootmem.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/vmalloc.h>
#include "internal.h"
#include <asm/dma.h>
#include <asm/pgalloc.h>
#include <a... | gpl-2.0 |
Brainiarc7/android_kernel_huawei_u8185 | drivers/video/backlight/ltv350qv.c | 255 | 8418 | /*
* Power control for Samsung LTV350QV Quarter VGA LCD Panel
*
* Copyright (C) 2006, 2007 Atmel Corporation
*
* 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 <linu... | gpl-2.0 |
singleman/linux | security/selinux/ss/ebitmap.c | 767 | 10717 | /*
* Implementation of the extensible bitmap type.
*
* Author : Stephen Smalley, <sds@epoch.ncsc.mil>
*/
/*
* Updated: Hewlett-Packard <paul@paul-moore.com>
*
* Added support to import/export the NetLabel category bitmap
*
* (c) Copyright Hewlett-Packard Development Company, L.P., 2006
*/
/*
* Updated: ... | gpl-2.0 |
djvoleur/test_test | arch/sparc/kernel/smp_64.c | 767 | 36596 | /* smp.c: Sparc64 SMP support.
*
* Copyright (C) 1997, 2007, 2008 David S. Miller (davem@davemloft.net)
*/
#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/threads.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#inc... | gpl-2.0 |
kgilmer/bl-linux-omap | net/bridge/netfilter/ebt_mark.c | 767 | 1927 | /*
* ebt_mark
*
* Authors:
* Bart De Schuymer <bdschuym@pandora.be>
*
* July, 2002
*
*/
/* The mark target can be used in any chain,
* I believe adding a mangle table just for marking is total overkill.
* Marking a frame doesn't really change anything in the frame anyway.
*/
#include <linux/module.h>
#in... | gpl-2.0 |
01org/XenGT-Preview-kernel | drivers/acpi/button.c | 1023 | 12274 | /*
* button.c - ACPI Button Driver
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* This program is free software; you can redistrib... | gpl-2.0 |
aps243/kernel-imx | drivers/media/dvb-frontends/drxd_hard.c | 2303 | 76892 | /*
* drxd_hard.c: DVB-T Demodulator Micronas DRX3975D-A2,DRX397xD-B1
*
* Copyright (C) 2003-2007 Micronas
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 only, as published by the Free Software Foundation.
*
*
* This p... | gpl-2.0 |
civato/A500ICS_StormFlex | drivers/net/wireless/hostap/hostap_ap.c | 2815 | 86834 | /*
* Intersil Prism2 driver with Host AP (software access point) support
* Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
* <j@w1.fi>
* Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
*
* This file is to be included into hostap.c when S/W AP functionality is
* compiled.
*
* AP: F... | gpl-2.0 |
jderrick/linux-blkdev | drivers/video/fbdev/via/hw.c | 4607 | 60031 | /*
* Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
* Copyright 2001-2008 S3 Graphics, Inc. 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 ... | gpl-2.0 |
cristianomatos/android_kernel_google_msm | drivers/media/video/tvaudio.c | 4863 | 63582 | /*
* Driver for simple i2c audio chips.
*
* Copyright (c) 2000 Gerd Knorr
* based on code by:
* Eric Sandeen (eric_sandeen@bigfoot.com)
* Steve VanDeBogart (vandebo@uclink.berkeley.edu)
* Greg Alexander (galexand@acm.org)
*
* Copyright(c) 2005-2008 Mauro Carvalho Chehab
* - Some cleanups, code fixes, et... | gpl-2.0 |
Swapnil133609/Zeus_bacon | drivers/media/video/mt9m001.c | 4863 | 19752 | /*
* Driver for MT9M001 CMOS Image Sensor from Micron
*
* Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/... | gpl-2.0 |
gmm001/android_kernel_zte_nx503a-1 | arch/arm/mach-pxa/palmtc.c | 4863 | 13747 | /*
* linux/arch/arm/mach-pxa/palmtc.c
*
* Support for the Palm Tungsten|C
*
* Author: Marek Vasut <marek.vasut@gmail.com>
*
* Based on work of:
* Petr Blaha <p3t3@centrum.cz>
* Chetan S. Kumar <shivakumar.chetan@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under... | gpl-2.0 |
HackerOO7/android_kernel_huawei_u8951 | arch/arm/mach-pxa/saar.c | 4863 | 13270 | /*
* linux/arch/arm/mach-pxa/saar.c
*
* Support for the Marvell PXA930 Handheld Platform (aka SAAR)
*
* Copyright (C) 2007-2008 Marvell International 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
* publish... | gpl-2.0 |
drowningchild/dc-geebus | drivers/net/hamradio/baycom_epp.c | 5119 | 34930 | /*****************************************************************************/
/*
* baycom_epp.c -- baycom epp radio modem driver.
*
* Copyright (C) 1998-2000
* Thomas Sailer (sailer@ife.ee.ethz.ch)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the G... | gpl-2.0 |
anders3408/kernel_oppo_find5-old | drivers/hid/hid-sunplus.c | 7423 | 2099 | /*
* HID driver for some sunplus "special" devices
*
* Copyright (c) 1999 Andreas Gal
* Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
* Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
* Copyright (c) 2006-2007 Jiri Kosina
* Copyright (c) 2007 Paul Walmsley
* Copyrig... | gpl-2.0 |
tjbrandt/Project-Fjord | arch/arm/mach-pxa/generic.c | 7679 | 2347 | /*
* linux/arch/arm/mach-pxa/generic.c
*
* Author: Nicolas Pitre
* Created: Jun 15, 2001
* Copyright: MontaVista Software Inc.
*
* Code common to all PXA machines.
*
* 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
... | gpl-2.0 |
kozmikkick/tripndroid-endeavoru-3.0 | drivers/input/misc/gpio_axis.c | 9983 | 5861 | /* drivers/input/misc/gpio_axis.c
*
* Copyright (C) 2007 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 th... | gpl-2.0 |
williamfdevine/PrettyLinux | drivers/target/target_core_alua.c | 1 | 65286 | /*******************************************************************************
* Filename: target_core_alua.c
*
* This file contains SPC-3 compliant asymmetric logical unit assigntment (ALUA)
*
* (c) Copyright 2009-2013 Datera, Inc.
*
* Nicholas A. Bellinger <nab@kernel.org>
*
* This program is free softwar... | gpl-3.0 |
p01arst0rm/decorum-linux | _resources/kernels/xnu-x86/bsd/net/nwk_wq.c | 1 | 4318 | /*
* Copyright (c) 2016 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except i... | gpl-3.0 |
acetcom/cellwire | lib/nas/eps/ies.c | 1 | 123007 | /*
* The MIT License
*
* Copyright (C) 2019,2020 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* 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 restri... | gpl-3.0 |
hkzlab/libvk8055 | src/debounce_map.c | 1 | 1724 |
#define DEBOUNCE_MAP_LENGTH 256
static const Uint16 debounce_map[] = {
0,
1,
2,
3,
4,
5,
7,
9,
11,
13,
16,
18,
21,
25,
28,
32,
36,
40,
44,
49,
54,
59,
64,
70,
75,
81,
87,
94,
101,
107,
115,
122,
130,
137,
145,
154,
162,
171,
180,
189,
199,
208,
218,
228,
239,
249,
260,
2... | gpl-3.0 |
fabienbaron/squeeze | src/models/modelcode_spots.c | 1 | 4106 | /* modelcode_ud bwsmearing.c: An offset UD with bw smearing parameter
JDM
MACIM - software for the creation of images consistent with data sets
from optical interferometry, using a Monte-Carlo Markov Chain algorithm.
Copyright (c) 2006 California Institute of Technology. Written by
Dr. Michael Ireland wi... | gpl-3.0 |
Distrotech/guile | lib/safe-read.c | 1 | 2172 | /* An interface to read and write that retries after interrupts.
Copyright (C) 1993-1994, 1998, 2002-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 Lesser General Public License as published by
the Free S... | gpl-3.0 |
ethereum/cpp-ethereum | test/tools/libtesteth/TestSuite.cpp | 1 | 9416 | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2017-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
/// @file
/// Base functions for all test suites
#include <test/tools/libtesteth/JsonSpiritHeaders.h>
#include <test/tools/libtesteth/Stats.h>
#include <test/tools/libt... | gpl-3.0 |
sphantix/ocsi | src/main/inform.c | 1 | 2104 | /*
* File Name: inform.c
* Author: Sphantix
* Mail: sphantix@gmail.com
* Created Time: Fri 27 Nov 2015 10:37:02 AM CST
*/
#include <libsol-util/utl_logging.h>
#include <libsol-util/utl_memory.h>
#include "inform.h"
#include "event.h"
static ocsi_event_info_t event_infos[] = {
{OCSI_EVENT_FIRSTBOOT, OCSI_SOCK... | gpl-3.0 |
librarian/arm-labs | lab2-test.c | 1 | 3847 | // Lab2 buttons and encoder
// Copyright (C) 2010 Nikita A Menkovich menkovich@gmail.com
// git repository can be found on: https://github.com/librarian/arm-labs
#include "includes.h";
// total numbers of buttons
#define NUM_BTN (sizeof BTN_addr / sizeof BTN_addr[0])
// total size of array div to total size of firs... | gpl-3.0 |
ElkMonster/gloost-oma | src/Matrix.cpp | 1 | 24438 |
/*
___ __
/\_ \ /\ \__
__ \//\ \ ___ ___ ____\ \ _\
/'_ `\ \ \ \ / __`\ / __`\ / __\\ \ \/
/\ \ \ \ \_\ \_/\ \ \ \/\ \ \ \/\__ \\ \ \_
... | gpl-3.0 |
chriskmanx/qmole | QMOLEDEV/libetpan-0.57/src/driver/tools/generic_cache.c | 1 | 15478 | /*
* libEtPan! -- a mail stuff library
*
* Copyright (C) 2001, 2005 - DINH Viet Hoa
* 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 a... | gpl-3.0 |
freckles-the-pirate/plotline | src/lib/plotline.cpp | 1 | 3998 | #include "plotline.h"
const QString Plotline::J_CHARACTERS = "characters",
Plotline::J_SCENES = "scenes",
Plotline::J_SYNOPSIS = "synopsis",
Plotline::J_BRIEF = "brief",
Plotline::J_COLOR = "color";
Plotline::Plotline(const QString &brief,
const QString &synopsis,
... | gpl-3.0 |
sysizlayan/haptic_ccs | Embedded Code/Peripherals/I2C.c | 1 | 4473 | /* Copyright (C) 2015 Kristian Sloth Lauszus. All rights reserved.
This software may be distributed and modified under the terms of the GNU
General Public License version 2 (GPL2) as published by the Free Software
Foundation and appearing in the file GPL2.TXT included in the packaging of
this file. Please note tha... | gpl-3.0 |
DMCsys/smartalkaudio | oss-survey/ffmpeg/libavformat/mmsh.c | 1 | 12278 | /*
* MMS protocol over HTTP
* Copyright (c) 2010 Zhentan Feng <spyfeng at gmail dot com>
*
* 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
* ver... | gpl-3.0 |
dassencio/cracking-the-code-interview | chapter04/4.02/solve.cpp | 1 | 4993 | /*
* TASK: Determine whether there is a route between two nodes of a given
* directed graph.
*/
#include <algorithm>
#include <cassert>
#include <iostream>
#include <list>
#include <queue>
#include <unordered_set>
#include <vector>
/** @brief A directed graph represented by its adjacency list. */
class direc... | gpl-3.0 |
mdelcid/Progra3Examen2Tiburon-master | main.cpp | 1 | 3465 | // queue::push/pop
#include <iostream>
#include <list>
#include <fstream>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include "Contacto.h"
#include "Evaluador.h"
#include "NodoBinario.h"
using namespace std;
//Escribe los datos del objeto contacto (dado) en un archivo binario con el nombre dado ... | gpl-3.0 |
Fogost-Tower/Linux-Driver | led/first_drv.c | 1 | 3324 | #include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <asm/uaccess.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/arch/regs-gpio.h>
#include <asm/hardware.h>
#define ulong unsigned long
#define uchar unsigned char
#de... | gpl-3.0 |
mmoller2k/Float64 | softfloat/s_shortShiftRightJamM.c | 1 | 2713 |
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
Package, Release 3a, by John R. Hauser.
Copyright 2011, 2012, 2013, 2014, 2015 The Regents of the University of
California. All rights reserved.
Redistr... | gpl-3.0 |
RobertLuptonTheGood/psfex | src/fft.c | 1 | 7539 | /*
* fft.c
*
* Functions dealing with FFT.
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*
* This file part of: PSFEx
*
* Copyright: (C) 2008-2010 Emmanuel Bertin -- IAP/CNRS/UPMC
*
* License: GNU General Public License
*
* PSFEx is free software: you can redistribute it and/or m... | gpl-3.0 |
therifboy/echelon-bo2 | src/hud.cpp | 1 | 10991 | #include "hud.h"
#include "game_mp/g_local_mp.h"
#include <string.h>
inline game_hudelem_s* G_HudElems(int index)
{
return &g_hudelems[index];
}
game_hudelem_s* HudElem_Alloc(int client, he_type_t type)
{
game_hudelem_s* hud;
if (client == 0x3FF)
{
for (int index = 1008; index < 1024; index++)
{
if ((hud ... | gpl-3.0 |
femto-dev/femto | src/main/results.c | 1 | 25125 | /*
(*) 2006-2013 Michael Ferguson <michaelferguson@acm.org>
* This is a work of the United States Government and is not protected by
copyright in the United States.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as publi... | gpl-3.0 |
iodoom-gitorious/windowshasyous-dhewg-iodoom3 | neo/d3xp/ai/AI_events.cpp | 1 | 76884 | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code").
Doom 3 Source Code is free software: you can redistribute it and/or modify
it... | gpl-3.0 |
nidhugg/nidhugg | tests/litmus/C-tests/MP+PPO597.c | 2 | 1974 | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r11_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | gpl-3.0 |
joel16/Cyanogen3DS | source/libs/libsftd/source/texture_atlas.c | 2 | 2417 | #include <stdlib.h>
#include <string.h>
#include "texture_atlas.h"
texture_atlas *texture_atlas_create(int width, int height, sf2d_texfmt format, sf2d_place place)
{
texture_atlas *atlas = malloc(sizeof(*atlas));
if (!atlas)
return NULL;
bp2d_rectangle rect;
rect.x = 0;
rect.y = 0;
rect.w = width;
rect.h = h... | gpl-3.0 |
fehrler/Readout_Simulation | test.cpp | 2 | 2584 | /*
ROME (ReadOut Modelling Environment)
Copyright © 2017 Rudolf Schimassek (rudolf.schimassek@kit.edu),
Felix Ehrler (felix.ehrler@kit.edu),
Karlsruhe Institute of Technology (KIT)
- ASIC and Detector Laboratory (ADL)
This program... | gpl-3.0 |
jpinelo/Depthmap | src/depthmap/TopoMetDlg.cpp | 2 | 2335 | // Depthmap - spatial network analysis platform
// Copyright (C) 2000-2010 University College London, Alasdair Turner
// 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 o... | gpl-3.0 |
yfiumefreddo/Pcf | src/Switch.System.Windows.Forms/src/Native/CommonDialogApiWin32.cpp | 2 | 10474 | #if defined(_WIN32)
#define UNICODE
#define _CRT_SECURE_NO_WARNINGS
#include <windows.h>
#include <CommCtrl.h>
#include <ShlObj.h>
#include <Switch/Undef.hpp>
#include "Api.hpp"
#include <Switch/System/Buffer.hpp>
#include "../../include/Switch/System/Windows/Forms/ColorDialog.hpp"
#include "../../include/Switch/Syst... | gpl-3.0 |
tonilogar/ToolsPcot | OpePcot/identificadorcoordenadas.cpp | 2 | 2072 | // DepuPcot
// Copyright (C) {2014} {Antonio López García}
// tologar@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 3 of the License, or
// (... | gpl-3.0 |
konopka90/freeablo | apps/launcher/mainwindow.cpp | 2 | 4606 | #include "ui_mainwindow.h"
#include "mainwindow.h"
#include <QListWidgetItem>
#include <QMessageBox>
#include <QDir>
#include <QFile>
#include "playpage.h"
#include "graphicspage.h"
namespace Launcher
{
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(t... | gpl-3.0 |
Daedalus12/brewtarget | src/mashstep.cpp | 2 | 7866 | /*
* mashstep.cpp is part of Brewtarget, and is Copyright the following
* authors 2009-2014
* - Philip Greggory Lee <rocketman768@gmail.com>
*
* Brewtarget 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... | gpl-3.0 |
binghongcha08/pyQMD | QMC/MC_exchange/permute_variation/mod.f90 | 2 | 1281 |
module sci
implicit real*8(a-h,o-z)
real*8, public, parameter :: pi = 4.d0*atan(1.d0)
complex*16, public, parameter :: im=(0d0,1d0)
real (kind = 8), parameter :: half = 0.5d0
real (kind = 8), parameter :: one = 1d0
real (kind = 8), parameter :: au2k = 3.2d5
... | gpl-3.0 |
minPSVSDK/VHL | hook/threadmgr.c | 2 | 6592 | /*
threadmgr.c : Wraps calls to handle threads
Copyright (C) 2015 hgoel0974
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 your option) any... | gpl-3.0 |
baoping/Red-Bull-Media-Player | 3rdParty/src/taglib-1.6.1/taglib/mp4/mp4tag.cpp | 2 | 17322 | /**************************************************************************
copyright : (C) 2007 by Lukáš Lalinský
email : lalinsky@gmail.com
**************************************************************************/
/*****************************************************************... | gpl-3.0 |
autc04/Retro68 | gcc/libgfortran/generated/iall_i16.c | 3 | 12928 | /* Implementation of the IALL intrinsic
Copyright (C) 2010-2019 Free Software Foundation, Inc.
Contributed by Tobias Burnus <burnus@net-b.de>
This file is part of the GNU Fortran runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU Gene... | gpl-3.0 |
madevgeny/cppcheck | gui/settingsdialog.cpp | 3 | 11640 | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2015 Daniel Marjamäki and Cppcheck 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 3 of th... | gpl-3.0 |
iphydf/c-toxcore | toxav/rtp.c | 3 | 31534 | /* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright © 2016-2018 The TokTok team.
* Copyright © 2013-2015 Tox project.
*/
#include "rtp.h"
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "bwcontroller.h"
#include "../toxcore/Messenger.h"
#include "../toxcore/ccompat.h"
... | gpl-3.0 |
thededman/emu-ex-plus-alpha | GBA.emu/src/vbam/gba/Mode2.cpp | 3 | 12539 | #include "GBA.h"
#include "Globals.h"
#include "GBAGfx.h"
void mode2RenderLine(MixColorType *lineMix, GBALCD &lcd, const GBAMem::IoMem &ioMem)
{
#ifdef GBALCD_TEMP_LINE_BUFFER
u32 lcd.line2[240];
//gfxClearArray(lcd.line2);
u32 lcd.line3[240];
//gfxClearArray(lcd.line3);
u32 lcd.lineOBJ[240];
#endif
const u16 *... | gpl-3.0 |
regneq/ZeldaClassic | allegro/tests/akaitest.c | 4 | 18819 | /* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
* ... | gpl-3.0 |
jmysona/simpaticoMicelle | src/mcMd/mcMoves/ring/CfbRingRebridgeMove.cpp | 4 | 9648 | /*
* Simpatico - Simulation Package for Polymeric and Molecular Liquids
*
* Copyright 2010 - 2014, The Regents of the University of Minnesota
* Distributed under the terms of the GNU General Public License.
*/
#include "CfbRingRebridgeMove.h"
#include <mcMd/mcSimulation/McSystem.h>
#include <mcMd/simulation/Simulation... | gpl-3.0 |
montimaj/ShaktiT_LLVM | llvm/tools/clang/test/OpenMP/target_data_ast_print.cpp | 4 | 5290 | // RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=45 -ast-print %s | FileCheck %s
// RUN: %clang_cc1 -fopenmp -fopenmp-version=45 -x c++ -std=c++11 -emit-pch -o %t %s
// RUN: %clang_cc1 -fopenmp -fopenmp-version=45 -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print | FileCheck %s
// expected-no-diagnosti... | gpl-3.0 |
smithzvk/gsl-scattered-interpolation | specfunc/bessel_Jnu.c | 4 | 6153 | /* specfunc/bessel_Jnu.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, 2017 Konrad Griessinger
*
* 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 ... | gpl-3.0 |
ctubio/claws | src/plugins/vcalendar/day-view.c | 4 | 30599 | /*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
*
* Copyright (c) 2007-2008 Juha Kautto (juha at xfce.org)
* Copyright (c) 2008 Colin Leroy (colin@colino.net)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | gpl-3.0 |
parallaxinc/propgcc | gcc/gcc/tree-ssa-forwprop.c | 5 | 66953 | /* Forward propagation of expressions for single use variables.
Copyright (C) 2004, 2005, 2007, 2008, 2009, 2010, 2011
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 Fre... | gpl-3.0 |
AlexanderFabisch/OpenANN | src/SigmaPi.cpp | 5 | 8823 | #include <OpenANN/layers/SigmaPi.h>
#include <OpenANN/util/Random.h>
#include <OpenANN/util/OpenANNException.h>
namespace OpenANN
{
double SigmaPi::Constraint::operator()(int p1, int p2) const
{
throw OpenANNException("Constrain operator (p1, p2) must be implemented");
return 0.0;
}
double SigmaPi::Constraint::o... | gpl-3.0 |
zhuyue1314/pathgrind | valgrind-r12356/coregrind/m_replacemalloc/vg_replace_malloc.c | 5 | 35499 |
/*--------------------------------------------------------------------*/
/*--- Replacements for malloc() et al, which run on the simulated ---*/
/*--- CPU. vg_replace_malloc.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of... | gpl-3.0 |
jmue/cppcheck | test/testpreprocessor.cpp | 5 | 153143 | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2015 Daniel Marjamäki and Cppcheck 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 3 of th... | gpl-3.0 |
yGO77/betaflight | src/main/telemetry/srxl.c | 6 | 7209 | /*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... | gpl-3.0 |
alexandre433/WireRepack-Rework-By-SkyLiner | Source/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_viscidus.cpp | 6 | 11092 | /*
* Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.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
* option) any later ve... | gpl-3.0 |
krzysztof/pykep | src/third_party/cspice/bsrchd_c.c | 7 | 4172 | /*
-Procedure bsrchd_c ( Binary search for a double precision value )
-Abstract
Do a binary search for a key value within a double precision array,
assumed to be in increasing order. Return the index of the matching
array entry, or -1 if the key value is not found.
-Disclaimer
THIS SOFTWARE AND AN... | gpl-3.0 |
darioizzo/pykep | src/third_party/cspice/mxmtg.c | 7 | 7520 | /* mxmtg.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* $Procedure MXMTG ( Matrix times matrix transpose, general dimension ) */
/* Subroutine */ int mxmtg_(doublereal *m1, doublereal *m2, integer *nr1,
... | gpl-3.0 |
SOWRON/SC | src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp | 8 | 6557 | /*
* Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.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 Foun... | gpl-3.0 |
Halajohn/ARMware | ARMware/src/Gtk/MachineScreen.cpp | 8 | 26021 | // ARMware - an ARM emulator
// Copyright (C) <2007> Wei Hu <wei.hu.tw@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 3 of the License, or
// (at your option) ... | gpl-3.0 |
wdkk/iSuperColliderKit | external_libraries/oscpack/examples/OscDump.cpp | 10 | 2562 | /*
oscpack -- Open Sound Control packet manipulation library
http://www.audiomulch.com/~rossb/oscpack
Copyright (c) 2004-2005 Ross Bencina <rossb@audiomulch.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files
(the "Software"), to ... | gpl-3.0 |
evancich/apm_motor | modules/PX4NuttX/nuttx/graphics/nxglib/lcd/nxglib_getrectangle.c | 10 | 4113 | /****************************************************************************
* graphics/nxglib/lcd/nxglib_getrectangle.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, a... | gpl-3.0 |
Pulfer/clementine-vkservice | src/devices/gpoddevice.cpp | 10 | 6589 | /* This file is part of Clementine.
Copyright 2010, David Sansome <me@davidsansome.com>
Clementine 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 optio... | gpl-3.0 |
lidan-fnst/samba | source3/rpc_server/mdssvc/sparql_mapping.c | 11 | 9013 | /*
Unix SMB/CIFS implementation.
Main metadata server / Spotlight routines
Copyright (C) Ralph Boehme 2012-2014
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 o... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.