code stringlengths 6 250k | repo_name stringlengths 5 70 | path stringlengths 3 177 | language stringclasses 1
value | license stringclasses 15
values | size int64 6 250k |
|---|---|---|---|---|---|
/*
* Stanford Enetfilter subroutines for tcpdump
*
* Based on the MERIT NNstat etherifrt.c and the Ultrix pcap-pf.c
* subroutines.
*
* Rayan Zachariassen, CA*Net
*/
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /usr/local/dslrepos/uClinux-dist/user/libpcap/pcap-enet.c,v 1.1 2009/10/08 07:30:58 ... | ysleu/RTL8685 | uClinux-dist/user/libpcap/pcap-enet.c | C | gpl-2.0 | 5,024 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2014 Google Inc
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; version 2 of
* the License.
*
* This program is dist... | mtk09422/chromiumos-third_party-coreboot | src/arch/arm64/startup.c | C | gpl-2.0 | 1,880 |
/**
* $Id$
*
* Copyright (C) 2012 Daniel-Constantin Mierla (asipto.com)
*
* This file is part of Kamailio, a free SIP server.
*
* This file 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 versi... | gbour/kamailio | modules/msrp/msrp_mod.c | C | gpl-2.0 | 10,629 |
/*
*
* @Component OMAPCONF
* @Filename vp44xx.c
* @Description OMAP4 VOLTAGE PROCESSOR (VP) Definitions &
* Functions
* @Author Patrick Titiano (p-titiano@ti.com)
* @Date 2012
* @Copyright Texas Instruments Incorporated
*
*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.co... | houlixin/BBB-TISDK | example-applications/omapconf-1.71/arch/arm/mach-omap/omap4/prcm/vp44xx.c | C | gpl-2.0 | 10,299 |
/* plugin.c
*
* hashkill - a hash cracking tool
* Copyright (C) 2010 Milen Rangelov <gat3way@gat3way.eu>
*
* 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,... | gat3way/hashkill | src/plugins/plugin.c | C | gpl-2.0 | 18,244 |
/* $NoKeywords:$ */
/**
* @file
*
* AMD Family_14 Microcode patch.
*
* Fam14 Microcode Patch rev 05000025 for 5010 or equivalent.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/FAMILY/0x14
* @e \$Revision: 37850 $ @e \$Date: 2010-09-13 18:09:57 -0400... | lkundrak/coreboot | src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch05000025.c | C | gpl-2.0 | 12,991 |
#include <1-wire.h>
#include <common.h>
#include <s3c6410.h>
#define TINT_CSTAT_REG __REG(0x7F006044)
#define rGPFCON GPFCON_REG
#define rGPFDAT GPFDAT_REG
#define rTCNTB3 TCNTB3_REG
#define rTINT_CSTAT TINT_CSTAT_REG
#define rTCON TCON_REG
#define TINT_CSTAT_INTMASK(n) ( (n&0x1FU))
#define TIMER3_PENDING_CLEAR (1U<... | rocklee104/u-boot-mini6410 | drivers/1-wire.c | C | gpl-2.0 | 3,432 |
/*
* This code implements the MD5 message-digest algorithm.
* The algorithm is due to Ron Rivest. This code was
* written by Colin Plumb in 1993, no copyright is claimed.
* This code is in the public domain; do with it what you wish.
*
* Equivalent code is available from RSA Data Security, Inc.
* This code has b... | MJLHThomassen/rpgxEF | code/game/md5.c | C | gpl-2.0 | 8,343 |
/*
* Copyright (C) 2009
* Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.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.
*/
#include <linux/gpio.h>
#i... | jeffegg/beaglebone | arch/arm/mach-imx/mach-pcm037_eet.c | C | gpl-2.0 | 4,518 |
/*
* xfrm6_policy.c: based on xfrm4_policy.c
*
* Authors:
* Mitsuru KANDA @USAGI
* Kazunori MIYAZAWA @USAGI
* Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* IPv6 support
* YOSHIFUJI Hideaki
* Split up af-specific portion
*
*/
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/netdevice.h... | ircncl/linux-grsec-incremental | net/ipv6/xfrm6_policy.c | C | gpl-2.0 | 9,528 |
/****************************************************************************
Name
dekludge.c -- C-INTERCAL expression and flow optimizers
DESCRIPTION
This file contains optimizations used by the C-INTERCAL compiler.
LICENSE TERMS
Copyright (C) 1996 Eric S. Raymond
This program is free software; you... | calvinmetcalf/intercal | src/dekludge.c | C | gpl-2.0 | 21,844 |
/*
* r8169.c: RealTek 8169/8168/8101 ethernet driver.
*
* Copyright (c) 2002 ShuChen <shuchen@realtek.com.tw>
* Copyright (c) 2003 - 2007 Francois Romieu <romieu@fr.zoreil.com>
* Copyright (c) a lot of people too. Please respect their work.
*
* See MAINTAINERS file for support contact information.
*/
#include ... | 0x20c24/linux-psec | drivers/net/ethernet/realtek/r8169.c | C | gpl-2.0 | 210,204 |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... | brho/plan9 | sys/src/ape/lib/bsd/_sock_ingetaddr.c | C | gpl-2.0 | 1,256 |
/*
* (C) Johann Hanne, 2005, GPL
*
* Tiburon (Actiontec Dual PC Modem) flash driver
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/config.h>
/* partition_inf... | iPodLinux/linux-2.4.32-ipod | drivers/mtd/maps/tiburon.c | C | gpl-2.0 | 3,581 |
/*
* (C) Copyright 2011 - 2012 Samsung Electronics
* EXT4 filesystem implementation in Uboot by
* Uma Shankar <uma.shankar@samsung.com>
* Manjunatha C Achar <a.manjunatha@samsung.com>
*
* ext4ls and ext4load : Based on ext2 ls load support in Uboot.
*
* (C) Copyright 2004
* esd gmbh <www.esd-electronics.com>
... | chris4795/u-boot-novena | fs/ext4/ext4_common.c | C | gpl-2.0 | 60,619 |
/**
* @file : lpc17xx_dac.c
* @brief : Contains all functions support for DAC firmware library on LPC17xx
* @version : 1.0
* @date : 3. April. 2009
* @author : HieuNguyen
**************************************************************************
* Software that is described herein is for illustrative purposes on... | fgr-17/Pres24_repo | workspace/Lib_MCU/src/lpc17xx_dac.c | C | gpl-2.0 | 5,018 |
/*
* Fork apbasil process as co-process, parse output.
*
* Copyright (c) 2009-2011 Centro Svizzero di Calcolo Scientifico (CSCS)
* Portions Copyright (C) 2011 SchedMD <http://www.schedmd.com>.
* Licensed under the GPLv2.
*/
#include "parser_internal.h"
static void _rsvn_write_reserve_xml(FILE *fp, struct basil_... | cgvarela/slurm | src/plugins/select/cray/libalps/basil_request.c | C | gpl-2.0 | 5,430 |
/*
* GStreamer
* Copyright (C) 2010 Thiago Santos <thiago.sousa.santos@collabora.co.uk>
*
* 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 limitati... | frocha/GstStabilizer | gst/geometrictransform/gstpinch.c | C | gpl-2.0 | 6,549 |
/*****************************************************************************\
* partition_info.c - get/print the partition state information of slurm
*****************************************************************************
* Copyright (C) 2002-2007 The Regents of the University of California.
* Copyright ... | surban/slurm | src/api/partition_info.c | C | gpl-2.0 | 14,186 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (c) 2004-2006 Tilghman Lesher <app_stack_v003@the-tilghman.com>.
*
* This code is released by the author with no restrictions on usage.
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly conta... | russellb/asterisk | apps/app_stack.c | C | gpl-2.0 | 38,107 |
/*
* Copyright (c) 2003 Century Software, Inc. All Rights Reserved.
*
* This file is part of the PIXIL Operating Environment
* ... | ipwndev/DSLinux-Mirror | user/pixil/libs/wm/nxutil.c | C | gpl-2.0 | 7,627 |
/*
* Copyright (C) 2008 RuggedCom, Inc.
* Richard Retanubun <RichardRetanubun@RuggedCom.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 ... | arm000/u-boot | disk/part_efi.c | C | gpl-2.0 | 13,260 |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <mainboard/google/cyan/irqroute.h>
#include <soc/gpio.h>
/* South East Community */
static const struct soc_gpio_map gpse_gpio_map[] = {
Native_M1,/* MF_PLT_CLK0 */
GPIO_NC, /* 01 PWM1 */
GPIO_INPUT_NO_PULL, /* 02 MF_PLT_CLK1, RAMID2 */
GPIO_NC, /* 03 MF_PLT_CL... | coreboot/coreboot | src/mainboard/google/cyan/variants/terra/gpio.c | C | gpl-2.0 | 7,657 |
/*
Unix SMB/CIFS implementation.
POSIX NTVFS backend - async request wait routines
Copyright (C) Andrew Tridgell 2004
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 versi... | racemidev/WMI_cmd | Samba/source/ntvfs/posix/pvfs_wait.c | C | gpl-2.0 | 5,202 |
/*
* closefs.c --- close an ext2 filesystem
*
* Copyright (C) 1993, 1994, 1995, 1996 Theodore Ts'o.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Public
* License.
* %End-Header%
*/
#include <config.h>
#include <stdio.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <... | wturnerharris/fuse-ext2 | e2fsprogs-1.41.9/ext2fs/closefs.c | C | gpl-2.0 | 10,777 |
/*
* Copyright (C) 2008 Michael Brown <mbrown@fensystems.co.uk>.
*
* 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 any later version.
*
* This progr... | zeha/syslinux | gpxe/src/interface/efi/efi_io.c | C | gpl-2.0 | 5,610 |
/*
* graph.c - helpful graph structure and setup/teardown methods
*
* Copyright (c) 2007-2011 Pacman Development Team <pacman-dev@archlinux.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... | matthewbauer/unipkg-pacman | lib/libalpm/graph.c | C | gpl-2.0 | 1,177 |
/*
* Copyright (C) Guangzhou FriendlyARM Computer Tech. Co., Ltd.
* (http://www.friendlyarm.com)
*
* (C) Copyright 2009
* jung hyun kim, Nexell Co, <jhkim@nexell.co.kr>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
... | ouyanghy/nanopi2 | arch/arm/plat-s5p4418/nanopi2/bt_bcm.c | C | gpl-2.0 | 12,716 |
/******************************************************************************
* tasklet.c
*
* Tasklets are dynamically-allocatable tasks run in VCPU context
* (specifically, the idle VCPU's context) on at most one CPU at a time.
*
* Copyright (c) 2010, Citrix Systems, Inc.
* Copyright (c) 1992, Linus Torvald... | sudkannan/xen-hv | xen/common/tasklet.c | C | gpl-2.0 | 5,009 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2006-2011 Richard Hughes <richard@hughsie.com>
*
* Licensed under the GNU General Public License Version 2
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... | gerow/cinnamon-settings-daemon | cinnamon-settings-daemon/cinnamon-settings-session.c | C | gpl-2.0 | 11,834 |
/*
*
* Copyright (c) International Business Machines Corp., 2001
*
* 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 l... | heluxie/LTP | testcases/kernel/syscalls/ipc/semctl/semctl04.c | C | gpl-2.0 | 5,003 |
/* hostlist_sctp.c 2008 Stig Bjorlykke
*
* 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 published by the Free Sof... | kevincox/wireshark | ui/gtk/hostlist_sctp.c | C | gpl-2.0 | 2,674 |
/*
* linux/kernel/sys.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#include <linux/export.h>
#include <linux/mm.h>
#include <linux/utsname.h>
#include <linux/mman.h>
#include <linux/reboot.h>
#include <linux/prctl.h>
#include <linux/highuid.h>
#include <linux/fs.h>
#include <linux/kmod.h>
#include <linux/pe... | barome/HD_mako | kernel/sys.c | C | gpl-2.0 | 52,825 |
/* 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... | sakuraba001/android_kernel_samsung_kactivelte | arch/arm/mach-msm/board-8610-sec-kanas3g-ctc-gpiomux.c | C | gpl-2.0 | 16,095 |
/*
* Copyright (C) 2010 Nokia Corporation <multimedia@maemo.org>
* 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 Software Foundation; either version 2.1 of the License, or
* (at your option) any later versio... | kangear/v4l-utils | lib/libv4l2/v4l2-plugin-android.c | C | gpl-2.0 | 4,677 |
/* drivers/leds/leds-lm3533_ng.c
*
* Copyright (C) 2011 Sony Ericsson Mobile Communications AB.
* Copyright (C) 2012-2013 Sony Mobile Communications AB.
*
* Author: Aleksej Makarov <aleksej.makarov@sonymobile.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of t... | nikhil18/lightning-kernel | drivers/leds/leds-lm3533_ng.c | C | gpl-2.0 | 49,875 |
/* sound/soc/s3c24xx/s5p-rp.c
*
* SRP Audio driver for Samsung s5pc210
*
* Copyright (c) 2010 Samsung Electronics
* http://www.samsungsemi.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 S... | riversource/Galaxy-Note-Kernel | sound/soc/s3c24xx/s5p-rp.c | C | gpl-2.0 | 52,855 |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
#include "format-table.h"
#include "string-util.h"
#include "time-util.h"
static void test_issue_9549(void) {
_cleanup_(table_unrefp) Table *table = NULL;
_cleanup_free_ char *formatted = NULL;
assert_se(table = table_new("name"... | tblume/systemd-testsuite-suse | src/test/test-format-table.c | C | gpl-2.0 | 6,074 |
/*
* drivers/s390/cio/device.c
* bus driver for ccw devices
* $Revision: 1.131 $
*
* Copyright (C) 2002 IBM Deutschland Entwicklung GmbH,
* IBM Corporation
* Author(s): Arnd Bergmann (arndb@de.ibm.com)
* Cornelia Huck (cohuck@de.ibm.com)
* Martin Schwidefsky (schwidefsky@de.ibm.com)
*/
#inclu... | kzlin129/tt-gpl | go9/linux-s3c24xx/drivers/s390/cio/device.c | C | gpl-2.0 | 28,061 |
/**
* \file r128_ioc32.c
*
* 32-bit ioctl compatibility routines for the R128 DRM.
*
* \author Dave Airlie <airlied@linux.ie> with code from patches by Egbert Eich
*
* Copyright (C) Paul Mackerras 2005
* Copyright (C) Egbert Eich 2003,2004
* Copyright (C) Dave Airlie 2005
* All Rights Reserved.
*
... | Jackeagle/android_kernel_sony_c2305 | drivers/gpu/drm/r128/r128_ioc32.c | C | gpl-2.0 | 7,211 |
/* $Id: envctrl.c,v 1.25 2002/01/15 09:01:26 davem Exp $
* envctrl.c: Temperature and Fan monitoring on Machines providing it.
*
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
* Copyright (C) 2000 Vinh Truong (vinh.truong@eng.sun.com)
* VT - The implementation is to support Sun Microelectronics (SME) pla... | milaq/linux-hpc | drivers/sbus/char/envctrl.c | C | gpl-2.0 | 31,112 |
/*
* linux/fs/nfs/nfs3proc.c
*
* Client-side NFSv3 procedures stubs.
*
* Copyright (C) 1997, Olaf Kirch
*/
#include <linux/mm.h>
#include <linux/utsname.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/sunrpc/clnt.h>
#include <linux/nfs.h>
#include <linux/nfs3.h>
#include <linux/nfs_fs.h>... | gerboland/linux-2.6.15-neuros-eabi | fs/nfs/nfs3proc.c | C | gpl-2.0 | 23,088 |
/*
* Written for linux by Johan Myreen as a translation from
* the assembly version by Linus (with diacriticals added)
*
* Some additional features added by Christoph Niemann (ChN), March 1993
*
* Loadable keymaps by Risto Kankkunen, May 1993
*
* Diacriticals redone & other small changes, aeb@cwi.nl, June 1993
... | sjp38/linux.doc_trans_membarrier | drivers/tty/vt/keyboard.c | C | gpl-2.0 | 53,136 |
/*
* Copyright (C) 2008 Kristian Høgsberg <krh@redhat.com>
* Copyright (C) 2008 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; either version 2 of the License, or
* (at ... | freedesktop-unofficial-mirror/razor | librazor/rpm.c | C | gpl-2.0 | 23,386 |
/*
* trace event based perf event profiling/tracing
*
* Copyright (C) 2009 Red Hat Inc, Peter Zijlstra <pzijlstr@redhat.com>
* Copyright (C) 2009-2010 Frederic Weisbecker <fweisbec@gmail.com>
*/
#include <linux/module.h>
#include <linux/kprobes.h>
#include "trace.h"
static char __percpu *perf_trace_buf[PERF_NR_C... | PureNexusProject/android_kernel_asus_fugu | kernel/trace/trace_event_perf.c | C | gpl-2.0 | 8,084 |
/* Copyright (C) 2007-2013 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program 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... | glongo/suricata | src/flow.c | C | gpl-2.0 | 48,011 |
/*
* Copyright (c) 2005, 2014, Oracle and/or its affiliates. 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 ... | openjdk/jdk7u | jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c | C | gpl-2.0 | 26,876 |
/*
* Copyright (C) 2012, Samsung Electronics Co. Ltd. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any... | mahound/bricked-S7275-kernel | drivers/input/touchscreen/mxts.c | C | gpl-2.0 | 117,220 |
/*
* QEMU Ultrasparc APB PCI host
*
* Copyright (c) 2006 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
... | iggy/qemu | hw/apb_pci.c | C | gpl-2.0 | 13,803 |
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/spinlock.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/cpu.h>
#include <asm/desc.h>
#include <asm/tlbflush.h>
#include <asm/mmu_context.h>
#include <asm/cache.h>
#include <asm/apic.h>
#include <asm/uv/uv.h... | jolicloud/jolicloud-robby-kernel | arch/x86/mm/tlb.c | C | gpl-2.0 | 9,204 |
//
// Nibo-NanoVM, a tiny java VM for the Nibo robot
//
// Copyright (C) 2007 by Nils Springob <nils@nicai-systems.de>
// Based on work by Benjamin Benz(c't-Bot) and Till Harbaum(NanoVM)
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public Licen... | LSUVM/nanovm | vm/src/nibo/native_textdisplay.c | C | gpl-2.0 | 3,100 |
/*
* linux/arch/arm/kernel/traps.c
*
* Copyright (C) 1995-2009 Russell King
* Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds
*
* 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
* publ... | IOKP-kitkat/kernel_samsung_hlte | arch/arm/kernel/traps.c | C | gpl-2.0 | 21,306 |
/************************************************************************
This file is part of Echo Digital Audio's generic driver library.
Copyright Echo Digital Audio Corporation (c) 1998 - 2005
All rights reserved
www.echoaudio.com
This library is free software; you can redistribute it and/or
modify it und... | Jackeagle/android_kernel_sony_c2305 | sound/pci/echoaudio/indigoiox_dsp.c | C | gpl-2.0 | 2,268 |
/* $NetBSD: trade.c,v 1.9 2004/01/27 20:30:30 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
* The Regents of the University of California. 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... | ipwndev/DSLinux-Mirror | user/games/bsdgames/monop/trade.c | C | gpl-2.0 | 8,064 |
#include "emu.h"
#include "includes/ssrj.h"
/* tilemap 1 */
WRITE8_HANDLER(ssrj_vram1_w)
{
ssrj_state *state = space->machine().driver_data<ssrj_state>();
state->m_vram1[offset] = data;
tilemap_mark_tile_dirty(state->m_tilemap1, offset>>1);
}
static TILE_GET_INFO( get_tile_info1 )
{
ssrj_state *s... | Luke-Nukem/mame-144-vector_mod | src/mame/video/ssrj.c | C | gpl-2.0 | 6,279 |
/******************************************************************************
*
* Module Name: exoparg2 - AML execution - opcodes with 2 arguments
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2005, R. Byron Moore
* All rights reserved.
*
* Redistr... | kzlin129/tt-gpl | go9/linux-s3c24xx/drivers/acpi/executer/exoparg2.c | C | gpl-2.0 | 16,766 |
/*
* Handle incoming frames
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek <buytenh@gnu.org>
*
* $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 ... | ipwndev/DSLinux-Mirror | linux-2.6.x/net/bridge/br_input.c | C | gpl-2.0 | 3,153 |
/*
* purple
*
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | mssurajkaiga/pidgin-2.10.6 | libpurple/plugin.c | C | gpl-2.0 | 39,824 |
/*
* * Copyright (C) 2006-2011 Anders Brander <anders@brander.dk>,
* * Anders Kvist <akv@lnxbx.dk> and Klaus Post <klauspost@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; ei... | sergiomb2/rawstudio | plugins/lensfun/lensfun.c | C | gpl-2.0 | 23,523 |
/*
* Command execution
* Copyright
* (C) 1992 Joseph H. Allen
*
* This file is part of JOE (Joe's Own Editor)
*/
#include "types.h"
int joe_beep = 0;
/* Command table */
int ubeep(BW *bw, int k)
{
ttputc(7);
return 0;
}
CMD cmds[] = {
{USTR "abort", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabort, NULL, 0, NU... | ipwndev/DSLinux-Mirror | user/joe/src/cmd.c | C | gpl-2.0 | 21,162 |
/*
* This file is part of mpv.
*
* mpv 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.
*
* mpv is distributed in the hope that ... | c-14/mpv | player/discnav.c | C | gpl-2.0 | 12,438 |
/*
MAR 2, 99 DAG
Fixed LV problem with MRPC AND MRPC2. LV bytes at beginning of
message were not being chopped off as in SQL. They were inappropriately
begin returned to the caller. Copied the last part of
ProfileSQL over to ProfileMRPC and PofileMRPC2 to solve the problem. That
is, I used the parsing mechanism setu... | kulhos/pip_v01 | libsql_V3.2/src/libsql.c | C | gpl-2.0 | 20,864 |
/*
* Copyright (C) 2014 ASUSTek 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 hope that it will be use... | shakalaca/ASUS_ZenFone_ZE500KL | kernel/drivers/sensors/IRsensor/hardware/ap3425/ap3425.c | C | gpl-2.0 | 21,949 |
/* MI Interpreter Definitions and Commands for GDB, the GNU debugger.
Copyright (C) 2002-2014 Free Software Foundation, Inc.
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 Public License as published by
the Free Soft... | tuliom/binutils-gdb | gdb/mi/mi-interp.c | C | gpl-2.0 | 30,528 |
/*
* QEMU live migration via Unix Domain Sockets
*
* Copyright Red Hat, Inc. 2009
*
* Authors:
* Chris Lalancette <clalance@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* Contributions after 2012-01-13 are licensed und... | xndcn/qemu | migration-unix.c | C | gpl-2.0 | 2,714 |
/*
* Copyright © 2011 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; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distri... | 1dot75cm/gnome-control-center | panels/wacom/cc-wacom-page.c | C | gpl-2.0 | 28,418 |
/*
Copyright (c) 2001, 2011, Oracle and/or its affiliates.
Copyright (C) 2009- 2011 Monty Program Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This ... | tempesta-tech/mariadb | mysys/my_bitmap.c | C | gpl-2.0 | 18,363 |
/*
* Marvell Wireless LAN device driver: debugfs
*
* Copyright (C) 2011, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/or modify... | crseanpaul/muon-catalyzed-fusion | drivers/net/wireless/mwifiex/debugfs.c | C | gpl-2.0 | 22,664 |
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: dll/directx/ddraw/cleanup.c
* PURPOSE: DirectDraw Library
* PROGRAMMER: Magnus Olsen (greatlrd)
*
*/
#include <windows.h>
#include "rosdraw.h"
#include "d3dhal.... | sunnyden/reactos | dll/directx/ddraw/cleanup.c | C | gpl-2.0 | 1,325 |
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* Copyright (C) <2002> David A. Schleef <ds@schleef.org>
*
* 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; e... | elisescu/gst-plugins-base | gst/videotestsrc/gstvideotestsrc.c | C | gpl-2.0 | 31,980 |
/*
* (C) Copyright 2002 ELTEC Elektronik AG
* Frank Gottschling <fgottschling@eltec.de>
*
* 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 th... | abrasive/gk802-uboot | drivers/video/cfb_console.c | C | gpl-2.0 | 54,445 |
/*
* GIT - The information manager from hell
*
* Copyright (C) Linus Torvalds, 2005
*/
#include "util.h"
static void report(const char *prefix, const char *err, va_list params)
{
char msg[1024];
vsnprintf(msg, sizeof(msg), err, params);
fprintf(stderr, " %s%s\n", prefix, msg);
}
static NORETURN v... | pio-masaki/android-kernel-at1s0 | tools/perf/util/usage.c | C | gpl-2.0 | 1,770 |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "msg.h"
#include "config.h"
#include "net.h"
#include "netsetup.h"
extern int led_pid;
void net_receive(char *data, int length)
{
sense_data_t *sensor_data;
msg_t msg;
printf("net: CALLED RECEIVE, packet length %i\n", length);
if ... | haukepetersen/Demos | gatesense/led/net.c | C | gpl-2.0 | 881 |
/* Copyright (c) 2009-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... | flar2/ElementalX-m7-4.0 | arch/arm/mach-msm/clock-8960.c | C | gpl-2.0 | 211,797 |
/* drivers/gpu/t6xx/kbase/src/platform/gpu_control_exynos5422.c
*
* Copyright 2011 by S.LSI. Samsung Electronics Inc.
* San#24, Nongseo-Dong, Giheung-Gu, Yongin, Korea
*
* Samsung SoC Mali-T604 DVFS driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU G... | tiagormk/linux-vitamins-odroidxu | drivers/gpu/arm/midgard/platform/gpu_control_exynos5422.c | C | gpl-2.0 | 10,446 |
/*
* CDE - Common Desktop Environment
*
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; ei... | sTeeLM/MINIME | toolkit/srpm/SOURCES/cde-2.2.4/programs/dthelp/parser/pass2/util/context.c | C | gpl-2.0 | 9,641 |
/* vcfindex.c -- Index bgzip compressed VCF/BCF files for random access.
Copyright (C) 2014 Genome Research Ltd.
Author: Shane McCarthy <sm15@sanger.ac.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to d... | fw1121/Pandoras-Toolbox-for-Bioinformatics | src/samtools/bcftools-1.1/vcfindex.c | C | gpl-3.0 | 8,236 |
/**************************************************************************************************
Filename: zcl_hvac.c
Revised: $Date: 2013-10-16 16:08:27 -0700 (Wed, 16 Oct 2013) $
Revision: $Revision: 35699 $
Description: Zigbee Cluster Library - HVAC
Copyright 2006-2013 Texas Ins... | paoloach/ZigbeeElectronics | TemperatureSensor/Components/stack/zcl/zcl_hvac.c | C | gpl-3.0 | 37,430 |
/* KiWin - A small GUI for the embedded system
* 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
*... | Halajohn/kiwin | src/Program_files/demo2/demo2.c | C | gpl-3.0 | 1,524 |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Routing netlink socket interface: protocol independent part.
*
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.... | mkvdv/au-linux-kernel-autumn-2017 | linux/net/core/rtnetlink.c | C | gpl-3.0 | 104,742 |
/* File: quickSort.c */
#include "sort_interface.h"
void swap(int *a, int *b) {
int t = *a; *a = *b; *b = t;
}
void quickSort(int arr[], int beg, int end, int * nb) {
if (end > beg + 1) {
int piv = arr[beg], l = beg + 1, r = end;
while(l < r) {
if(arr[l] <= piv) l++;
else {
if(*nb == 0) retu... | sami-evangelista/helena | examples/lna/quickSort.c | C | gpl-3.0 | 692 |
/*
* Unix SMB/CIFS implementation.
* NetApi Shutdown Support
* Copyright (C) Guenther Deschner 2009
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License... | opinkerfi/winexe | source3/lib/netapi/shutdown.c | C | gpl-3.0 | 3,004 |
/* File retrieval.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
Inc.
This file is part of GNU Wget.
GNU Wget is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License a... | giuseppe/wget-parallel | src/retr.c | C | gpl-3.0 | 47,903 |
/******************************************************************************
*
* Freescale Semiconductor Inc.
* (c) Copyright 2004-2010 Freescale Semiconductor, Inc.
* ALL RIGHTS RESERVED.
*
******************************************************************************
*
* THIS SOFTWARE IS PROVIDED BY FREESC... | slaxtrack/MedicalCareTeam | FreescaleTower/Implementacion/MED-SPO2 MK53N512/app/common/cfv2/bsp/init_hw_52277.c | C | gpl-3.0 | 8,542 |
/*
Copyright (C) 2003-2005 Christopher Lais (aka "Zinx Verituse")
and is covered by the following license:
***
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Pe... | ensiform/etlegacy | src/game/g_mdx.c | C | gpl-3.0 | 66,497 |
#include "platform.h"
#include "printf.h"
#include "soft_timer.h"
/*
* A firmware that consums power and print a message every five minutes
* The goal is to know when the battery will be discharged
*/
#define _DELAY_M 5
#define DELAY soft_timer_s_to_ticks(60 * _DELAY_M)
#define PERIODIC 1
void do_serial... | adjih/openlab | appli/iotlab_tests/battery_test/main.c | C | gpl-3.0 | 698 |
/*
Unix SMB/CIFS implementation.
Samba utility functions
Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008-2010
Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Li... | ceph/samba | source4/libnet/py_net.c | C | gpl-3.0 | 22,689 |
/*
kid-climb.c -- kid climb module;
Copyright (C) 2015, 2016, 2017 Bruno Félix Rezende Ribeiro
<oitofelix@gnu.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 3, or (a... | oitofelix/mininim | src/kid/kid-climb.c | C | gpl-3.0 | 5,665 |
/*
* samplerate conversion for both audio and video
* Copyright (c) 2000 Fabrice Bellard
*
* 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... | DragonZX/fdm | MediaConverter/ffmpeg/libavcodec/resample.c | C | gpl-3.0 | 11,836 |
/*
* Unix SMB/CIFS implementation.
*
* Copyright (C) 2018-2019 Andreas Schneider <asn@samba.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 3 of the License, or
* (... | kernevil/samba | lib/util/tests/test_byteorder.c | C | gpl-3.0 | 8,626 |
#include <stdlib.h> // exit(), malloc(), free()
int *f(int *p) {
int i;
int *pp = p;
*pp = 1;
if(i)
exit(1); // end of program
return pp;
}
int main(int argc, char *argv[]) {
int *p = malloc(100);
p = f(p);
free(p);
return p==0;
}
/**
* @file test-0252.c
*
* ... | kdudka/predator | tests/predator-regre/test-0252.c | C | gpl-3.0 | 544 |
/*
* Copyright (C) 1999-2002, 2004, 2005, 2007-2011, 2013-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* ... | pecharmin/bind9 | lib/dns/journal.c | C | mpl-2.0 | 62,043 |
/*********************************************************************
Copyright 2010, UCAR/Unidata See netcdf/COPYRIGHT file for
copying and redistribution conditions.
*********************************************************************/
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <as... | polymec/polyglot-dev | 3rdparty/netcdf/libdispatch/nclistmgr.c | C | mpl-2.0 | 2,403 |
/*
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | acetcom/nextepc | lib/app/ogs-init.c | C | agpl-3.0 | 7,698 |
/*
utils.c
Copyright (C) 2012-2019 the SQLAlchemy authors and contributors <see AUTHORS file>
This module is part of SQLAlchemy and is released under
the MIT License: http://www.opensource.org/licenses/mit-license.php
*/
#include <Python.h>
#define MODULE_NAME "cutils"
#define MODULE_DOC "Module containing C version... | skarra/PRS | libs/sqlalchemy/cextension/utils.c | C | agpl-3.0 | 5,264 |
/**********************************************************************\
* Copyright (C) Michael Kerrisk, 2010. *
* *
* This program is free software. You may use, modify, and redistribute *
* it under the terms of the ... | tangyi/tlpi-dist | shlibs/version_scripts/sv_libabc.c | C | agpl-3.0 | 820 |
/**
* \file fetch.c
*
* \brief Low level SQLite database functions.
*
* This program is free software under the GNU General Public License
* (>=v2). Read the file COPYING that comes with GRASS for details.
*
* \author Radim Blazek
* \author Support for multiple connections by Markus Metz
*
* \date 2005-2011... | AsherBond/MondocosmOS | grass_trunk/db/drivers/sqlite/fetch.c | C | agpl-3.0 | 6,524 |
/* 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.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... | devzero2000/RPM5 | rpmio/md2.c | C | lgpl-2.1 | 5,897 |
/*
Copyright (C) 2011 Sebastian Pancratz
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your opt... | wbhart/flint2 | fmpz_mod_poly/make_monic.c | C | lgpl-2.1 | 1,092 |
/*
* README: This file is appended to at file generation time.
* Edits can be made throughout the file
*/
/*
* Generated by the ICS Builder Xcessory (BX).
*
*
* Builder Xcessory 3.5.1.
*
*/
#include <Xm/Xm.h>
/*
* Standard includes for builtins.
*/
#include <stdio.h>
#include <string.h>
#include <ctype.h>
... | unix-junkie/motif | demos/programs/TabStack/callbacks.c | C | lgpl-2.1 | 6,194 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.