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 |
|---|---|---|---|---|---|
/* Implements exception handling.
Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
Contributed by Mike Stump <mrs@cygnus.com>.
This file is part of GCC.
GCC is free software; you can redistribute it and/or mod... | epicsdeb/rtems-gcc-newlib | gcc/except.c | C | gpl-2.0 | 110,501 |
/*
* snprintf.c - a portable implementation of snprintf and vsnprintf
*/
/*
* Portions Copyright (C) 2000 - 2016 Eggheads Development 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... | poppabear8883/ViperBot | src/compat/snprintf.c | C | gpl-2.0 | 18,469 |
/*
* acpi_ec.c - ACPI Embedded Controller Driver ($Revision: 2 $)
*
* Copyright (C) 2004 Luming Yu <luming.yu@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | odit/rv042 | linux/kernel_2.6/linux/drivers/acpi/ec.c | C | gpl-2.0 | 40,264 |
/* Emacs style mode select -*- C++ -*-
*-----------------------------------------------------------------------------
*
* $Id: r_data.c,v 1.13.2.3 2002/07/20 18:08:37 proff_fs Exp $
*
* PrBoom a Doom port merged with LxDoom and LSDLDoom
* based on BOOM, a modified and improved DOOM engine
* Copyright... | MathewWi/strife-wii | source/r_data.c | C | gpl-2.0 | 31,794 |
/*
* Copyright (C) 1998,1999,2000,2001 Nikos Mavroyanopoulos
*
* 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 License, or
* (at your option) any later ... | EvanCarroll/freetds | src/utils/des.c | C | gpl-2.0 | 16,896 |
/*
* PXA3xx IPM Profiler
*
* Copyright (C) 2008 Marvell Corporation
* Haojian Zhuang <haojian.zhuang@marvell.com>
*
* This software program is licensed subject to the GNU General Public License
* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html
* (C) Copyright 2008 Marvell Internati... | crzyruski/OpenX2-kernel-original | arch/arm/mach-pxa/mspm_prof.c | C | gpl-2.0 | 28,549 |
/*
* Copyright (c) 2004-2008 Trusted Logic S.A.
* All Rights Reserved.
*
* This software is the confidential and proprietary information of
* Trusted Logic S.A. ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license... | DmitryADP/diff_qc750 | 3rdparty/trustedlogic/sdk/tegra3/tf_sdk/examples/example_tfctrl/src/tfctrl.c | C | gpl-2.0 | 22,546 |
/*
*
* (C) COPYRIGHT 2011-2013 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 l... | CM-Tab-S/android_kernel_samsung_exynos5420 | drivers/gpu/arm/t6xx/kbase/src/common/mali_kbase_softjobs.c | C | gpl-2.0 | 18,387 |
/*
* 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 | nix/sys/src/cmd/auth/factotum/httpdigest.c | C | gpl-2.0 | 2,657 |
/*
* kernel/sched/core.c
*
* Kernel scheduler and related syscalls
*
* Copyright (C) 1991-2002 Linus Torvalds
*
* 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and
* make semaphores SMP safe
* 1998-11-19 Implemented schedule_timeout() and related stuff
* by Andrea Arcangeli
* 2002-01... | rudij7/green_machine_bacon | kernel/sched/core.c | C | gpl-2.0 | 213,088 |
#include "test.h"
#include <eel/eel-wrap-table.h>
#include <eel/eel-labeled-image.h>
#include <eel/eel-vfs-extensions.h>
#include <libcaja-private/caja-customization-data.h>
#include <libcaja-private/caja-icon-info.h>
int
main (int argc, char* argv[])
{
CajaCustomizationData *customization_data;
GtkWidget *window;... | alexandervdm/caja | test/test-caja-wrap-table.c | C | gpl-2.0 | 2,599 |
//[*]--------------------------------------------------------------------------------------------------[*]
//
//
//
// I2C INA231(Sensor) driver
// 2013.07.17
//
//
//[*]--------------------------------------------------------------------------------------------------[*]
#include <linux/i2c.h>
#include <linux/modul... | voodik/android_kernel_hardkernel_odroidxu | drivers/hardkernel/ina231-i2c.c | C | gpl-2.0 | 10,716 |
/*
* Linux MegaRAID driver for SAS based RAID controllers
*
* Copyright (c) 2009-2011 LSI Corporation.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the ... | andi34/kernel_samsung_espresso-cm | drivers/scsi/megaraid/megaraid_sas_base.c | C | gpl-2.0 | 142,749 |
/*
* Scanning implementation
*
* Copyright 2003, Jouni Malinen <jkmaline@cc.hut.fi>
* Copyright 2004, Instant802 Networks, Inc.
* Copyright 2005, Devicescape Software, Inc.
* Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
* Copyright 2007, Michael Wu <flamingice@sourmilk.net>
*
* This program is free software; ... | voodik/android_kernel_hardkernel_odroidu | net/mac80211/scan.c | C | gpl-2.0 | 25,272 |
/*
* linux/arch/c6x/lib/misc.c
*
* Port on Texas Instruments TMS320C6x architecture
*
* Copyright (C) 2004, 2009 Texas Instruments Incorporated
* Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) and others
*
* This program is free software; you can redistribute it and/or modify
* it under the ter... | insys-projects/linux-c6x | arch/c6x/lib/misc.c | C | gpl-2.0 | 1,613 |
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
};
... | todaygood/my_c | modules/fault_inject/print_var/print_var.mod.c | C | gpl-2.0 | 659 |
/************************************************************************
* Routines to deal with the header-field objects in formail *
* *
* Copyright (c) 1990-2000, S.R. van den Berg, The Netherlands *
* #include "../README" *
************************************************************************/... | Distrotech/procmail | src/fields.c | C | gpl-2.0 | 4,525 |
/*****************************************************************************
1 Include HeadFile
*****************************************************************************/
#include "NasEmmAttDetInclude.h"
#include "NasLmmPubMPrint.h"
#include "NasEmmGIMComm.h"
/*lint -e767*/
#define THIS_FILE_I... | Honor8Dev/android_kernel_huawei_FRD-L04 | drivers/vendor/hisi/modem/ps/nas/tl/lte/EMM/SRC/DETACH/SRC/NasEmmDetach.c | C | gpl-2.0 | 47,130 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 1999 - 2010, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
* Copyright (C) 2004 - 2005 Anthony Minessale II <anthmct@yahoo.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly... | bklang/asterisk | res/res_config_odbc.c | C | gpl-2.0 | 33,188 |
/* Copyright (C) 1994-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the ... | n1koo/eglibc-trusty | .pc/hurd-i386/tg-hurdsig-global-dispositions.diff/sysdeps/mach/hurd/fork.c | C | gpl-2.0 | 23,883 |
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
* Copyright (C) 2016 XiaoMi, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This... | daeiron/kenzo_caf_kernel | sound/soc/msm/msm8952-slimbus.c | C | gpl-2.0 | 77,681 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* 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
*... | tomoe-musashi/cinnamon-control-center | panels/sound/cc-sound-panel.c | C | gpl-2.0 | 4,345 |
#include <stdio.h>
#include "pmom_cat.h"
#include "wakelock_parse.h"
char *g_wakerlock_obj[] = {
"unlock",
"lock",
};
char *wakelock_name[] = {
"PWRCTRL_SLEEP_TLPS" , /*MSP--fuxin*/
"PWRCTRL_SLEEP_PS_G0", /*GU--ganlan*/
"PWRCTRL_SLEEP_PS_W0", /*GU--ganlan*/
"PWRCTRL_SLEEP_PS_G1... | wbrambley/Grace-kernel | drivers/vendor/hisi/modem/drv/acore/system/extras/pmom_cat/wakelock_parse.c | C | gpl-2.0 | 1,697 |
/* 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/board/xes/xpedite5170/xpedite5170.c | C | gpl-2.0 | 5,169 |
/*
* ProFTPD - FTP server daemon
* Copyright (c) 2001-2012 The ProFTPD Project team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opti... | Distrotech/proftpd | src/ctrls.c | C | gpl-2.0 | 49,520 |
/*
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... | zardoru/vrxcl | src/ai/ai_movement.c | C | gpl-2.0 | 11,189 |
/* Qualcomm Crypto Engine driver.
*
* Copyright (c) 2010-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.
*
* ... | drewx2/Find5-Kernel-Source | drivers/crypto/msm/qce.c | C | gpl-2.0 | 73,832 |
/*
* linux/drivers/block/loop.c
*
* Written by Theodore Ts'o, 3/29/93
*
* Copyright 1993 by Theodore Ts'o. Redistribution of this file is
* permitted under the GNU General Public License.
*
* DES encryption plus some minor changes by Werner Almesberger, 30-MAY-1993
* more DES encryption plus IDEA encryption... | alfsamsung/LG_X3_P880_v20a | drivers/block/loop.c | C | gpl-2.0 | 46,054 |
/*
FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
***************************************************************************
* ... | spelle/FreeRTOS | FreeRTOS/Demo/RX200_RX210-RSK_Renesas/RTOSDemo/main-blinky.c | C | gpl-2.0 | 10,184 |
/*
* $Id: ixp4xx.c,v 1.1.1.1 2007/10/15 18:22:37 ronald Exp $
*
* drivers/mtd/maps/ixp4xx.c
*
* MTD Map file for IXP4XX based systems. Please do not make per-board
* changes in here. If your board needs special setup, do it in your
* platform level code in arch/arm/mach-ixp4xx/board-setup.c
*
* Original Author... | robacklin/ts7800 | drivers/mtd/maps/ixp4xx.c | C | gpl-2.0 | 6,919 |
/* platform dirver header */
/*
* (C) Copyright 2010 Amlogic, Inc
*
* Victor Wan, victor.wan@amlogic.com,
* 2010-03-24 @ Shanghai
*
*/
#include "platform.h"
/*
cfg = 0 : EXT clock
cfg = 1 : INT clock
*/
#ifdef CONFIG_M6
#define PREI_USB_PHY_A_REG_BASE 0xC1108400 //0x2100
#defin... | genehuangtaiwan/uboot | drivers/usb/gadget/aml_tiny_usbtool/platform.c | C | gpl-2.0 | 7,269 |
/*
* Copyright (C) 2008, 2009 Intel Corporation
* Authors: Andi Kleen, Fengguang Wu
*
* This software may be redistributed and/or modified under the terms of
* the GNU General Public License ("GPL") version 2 only as published by the
* Free Software Foundation.
*
* High level machine check handler. Handles page... | iodak/LG_X3_P880_v20a | mm/memory-failure.c | C | gpl-2.0 | 42,867 |
/* delay.c
This file is part of a program that implements a Software-Defined Radio.
Copyright (C) 2013 Warren Pratt, NR0V
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 Li... | TheChief/PowerSDR_Test | Source/wdsp/delay.c | C | gpl-2.0 | 3,829 |
/*
* linux/kernel/printk.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Modified to make sys_syslog() more flexible: added commands to
* return the last 4k of kernel messages, regardless of whether
* they've been read or not. Added option to suppress kernel printk's
* to the console. Added hook for send... | spezi77/kernel_msm | kernel/printk.c | C | gpl-2.0 | 46,891 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2012 Red Hat, Inc
*
* 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 Public License as published b... | endlessm/gnome-control-center | panels/network/connection-editor/ce-page-wifi.c | C | gpl-2.0 | 7,512 |
/*
* USB hub driver.
*
* (C) Copyright 1999 Linus Torvalds
* (C) Copyright 1999 Johannes Erdfelt
* (C) Copyright 1999 Gregory P. Smith
* (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au)
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#includ... | serj/kernel_graph_2.6.32_rhel | drivers/usb/core/hub.c | C | gpl-2.0 | 111,896 |
/* $Id: dict.c,v 1.2 2003/01/23 00:36:01 robertc Exp $
* Copyright (C) 2002 Rodrigo Campos
*
* 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 optio... | arthurtumanyan/squid-3.0-stable1-shaga | helpers/external_acl/ip_user/dict.c | C | gpl-2.0 | 4,500 |
/**
* @file opd_cookie.c
* cookie -> name cache
*
* @remark Copyright 2002, 2005 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon
*/
#include "opd_cookie.h"
#include "oprofiled.h"
#include "op_list.h"
#include "op_libiberty.h"
#include <sys/syscall.h>
#include <unistd.h>
#include <limit... | scs/uclinux | user/oprofile/oprofile-0.9.1/daemon/opd_cookie.c | C | gpl-2.0 | 4,328 |
/* Copyright (c) 2011-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... | binkybear/furnace_kernel_caf_hammerhead | arch/arm/mach-msm/subsystem_restart.c | C | gpl-2.0 | 34,204 |
/*
* Copyright (C) 2007-2009 ST-Ericsson AB
* License terms: GNU General Public License (GPL) version 2
* ST DDC I2C master mode driver, used in e.g. U300 series platforms.
* Author: Linus Walleij <linus.walleij@stericsson.com>
* Author: Jonas Aaberg <jonas.aberg@stericsson.com>
*/
#include <linux/init.h>
... | Jackeagle/android_kernel_sony_c2305 | drivers/i2c/busses/i2c-stu300.c | C | gpl-2.0 | 28,482 |
/*
* Copyright (C) 2001, 2004, 2005, 2007 Free Software Foundation
*
* Author: Nikos Mavrogiannopoulos
*
* This file is part of GNUTLS-EXTRA.
*
* GNUTLS-EXTRA 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 Found... | scs/uclinux | lib/gnutls/gnutls-2.2.0/libextra/gnutls_extra.c | C | gpl-2.0 | 4,773 |
/**
********************************************************************
* @file core_test.c
* @author Jun.Lu
* @version V1.0.0
* @date 5-March-2015
* @brief
********************************************************************
* @attention
* This file is the low level driver of gpio init.
*------------------------... | lujun723/Ebase | PROGRAM/user/core_test.c | C | gpl-2.0 | 2,407 |
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
* Copyright (c) 2012, LGE Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* Th... | samuaz/kernel_msm_gee | arch/arm/mach-msm/lge/mako/board-mako-gpiomux.c | C | gpl-2.0 | 12,505 |
/* omethlib.h - Ethernet Library for FPGA MAC Controller */
/*
------------------------------------------------------------------------------
Copyright (c) 2009, B&R
All rights reserved.
Redistribution and use in source and binary forms,
with or without modification,
are permitted provided that the following condition... | dummylink/plnk_fpga-stack | Edrv/openmac/source/omethlib.c | C | gpl-2.0 | 90,580 |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Muffin Keybindings */
/*
* Copyright (C) 2001 Havoc Pennington
* Copyright (C) 2002 Red Hat Inc.
* Copyright (C) 2003 Rob Adams
* Copyright (C) 2004-2006 Elijah Newren
*
* This program is free software; you can redistribute it and/or
* modi... | acmihal/muffin | src/core/keybindings.c | C | gpl-2.0 | 115,249 |
/*
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... | decino/Infighter | src/monsters/quake2/m_infantry.c | C | gpl-2.0 | 14,743 |
/*
fih 1090_usb driver porting,add for HWID control
*/
#ifdef CONFIG_FIH_PID_SWITCH //StevenCPHuang_20110824,add for PID Switch
struct device * dev_backup = NULL;
struct device * get_f_diag_dev(void)
{
return dev_backup;
}
int fih_enable_Diag(struct device * pdev)
{
char *buf = "1";
// printk("fih_enable_t... | chen2011521/xt560_kernel | drivers/fih/usb/gadget/fih_composite.c | C | gpl-2.0 | 2,436 |
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2011 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
* 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 versio... | sdemario/BlueZ | thermometer/thermometer.c | C | gpl-2.0 | 27,531 |
/*
* Driver interaction with Linux nl80211/cfg80211
* Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi>
* Copyright (c) 2003-2004, Instant802 Networks, Inc.
* Copyright (c) 2005-2006, Devicescape Software, Inc.
* Copyright (c) 2007, Johannes Berg <johannes@sipsolutions.net>
* Copyright (c) 2009-2010, Atheros Commu... | jjm2473/AMLOGIC_M8 | drivers/net/wifi-fw-kk-amlogic/wpa_supplicant_8_mtk/wpa_supplicant/src/drivers/driver_nl80211.c | C | gpl-2.0 | 249,566 |
/****************************************************************************
*
* Copyright (C) 2005 - 2013 by Vivante Corp.
* Copyright (C) 2011-2012 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License... | utilite-computer/linux-kernel-3.0 | drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c | C | gpl-2.0 | 34,943 |
/***************************************************************************/
/* */
/* Interface to a subset of the old subtour routines */
/* */
/* ... | gpalma/annsim | src/lib/concorde970827/XSTUFF/Xstuff.c | C | gpl-2.0 | 23,597 |
/*
* Copyright (c) 2012 Engenic Semiconductor Co., Ltd.
* http://www.ingenic.com/
*
* JZ4775 mensa board lcd setup routines.
*
* 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... | IngenicSemiconductor/kernel-inwatch | arch/mips/xburst/soc-4775/chip-4775/mensa/lcd-kfm701a21_1a.c | C | gpl-2.0 | 6,516 |
/**
* AMCC SoC PPC4xx Crypto Driver
*
* Copyright (c) 2008 Applied Micro Circuits Corporation.
* All rights reserved. James Hsiao <jhsiao@amcc.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 ... | williamfdevine/PrettyLinux | drivers/crypto/amcc/crypto4xx_alg.c | C | gpl-3.0 | 8,600 |
/* $Id: res_query.c,v 1.1.1.1 2006/09/14 01:59:06 root Exp $ */
/* $OpenBSD: res_query.c,v 1.13 1999/09/27 23:58:26 alex Exp $ */
/*
* ++Copyright++ 1988, 1993
* -
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary f... | tupelo-shen/my_test | doc/linux/mips-architecture/loongson-datasheet/pmon/src/pmon-loongson3/lib/libc/res_query.c | C | gpl-3.0 | 10,164 |
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
* This program is a 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 FSF - Free Software
* Foundation
*/
#include "shared.h"
#include "os_net/os_net.h"
#inc... | srikanth-dabbiru/chips | src/config/global-config.c | C | gpl-3.0 | 17,943 |
/* Copyright 2016 Ka-Ping Yee
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at: http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distri... | skipzone/Illumicone | simulator/openpixelcontrol/src/apa102_server.c | C | gpl-3.0 | 1,471 |
/*
* Copyright (C) International Business Machines Corp., 2000-2004
* 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... | williamfdevine/PrettyLinux | fs/jfs/jfs_logmgr.c | C | gpl-3.0 | 61,152 |
/*
* Wolfenstein: Enemy Territory GPL Source Code
* Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
* Copyright (C) 2010-2011 Robert Beckebans <trebor_7@users.sourceforge.net>
* Copyright (C) 2007 HermitWorks Entertainment Corporation
*
* ET: Legacy
* Copyright (C) 2012-2018 ET:Legacy team <mai... | zturtleman/etlegacy | src/renderer2/tr_image_dds.c | C | gpl-3.0 | 35,300 |
#include <stdio.h>
int main(void)
{
const int days[] = {31, 28, 31, 30, 31, 30, 31, 30, 31};
const int other[] = {1, [4] = 8, 9, 3, [1] = 2}; // ex. of designated initializers
int index;
for (index = 0; index < sizeof(days) / sizeof(days[0]); index++) {
printf("Month %2d has %d days.\n", index... | suicidejack/c_primer_plus | ch10/day_mon2.c | C | gpl-3.0 | 492 |
/*
Rocrail - Model Railroad Software
Copyright (C) 2002-2014 Rob Versluis, Rocrail.net
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) ... | KlausMerkert/FreeRail | roclcdr/impl/events/exit.c | C | gpl-3.0 | 3,921 |
/*
Copyright 2017-2021 Alex Margarit <alex@alxm.org>
This file is part of Faur, a C video game framework.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3,
as published by the Free Software Foundation.
This prog... | alxm/a2x | src/files/f_embed.c | C | gpl-3.0 | 3,418 |
/* 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[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r6_1;
atomic_int atom_1_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | nidhugg/nidhugg | tests/litmus/C-tests/DETOUR0665.c | C | gpl-3.0 | 1,876 |
// url_parser_test.c
/* Copyright 2013 Aalborg University. 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
* notic... | eudyptula/HomePort | http-webserver/src/url_parser_test.c | C | gpl-3.0 | 10,305 |
/**
* \file gnome_ui.c
*
* This file contains the main control UI for xvidcap
* \todo rename the global variables pthread* to xvc_pthread*
*/
/* Copyright (C) 2003-07 Karl H. Beckers, Frankfurt
* EMail: khb@jarre-de-the.net
*
* This program is free software; you can redistribute it and/or modify
* it under th... | descent/xvidcap | src/gnome_ui.c | C | gpl-3.0 | 113,941 |
/*
=======================================================================================================================================
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of Spearmint Source Code.
Spearmint Source Code is free software; you can redistribute it and/o... | KuehnhammerTobias/ioqw | code/game/g_mem.c | C | gpl-3.0 | 3,032 |
#include <stdarg.h>
#include <string.h>
#include "ili9320.h"
#include "scr_io.h"
#include "scr_io.h"
#define FONT_STEP_X 8
#define FONT_STEP_Y 16
static uint16_t fontColor = 0xffff, fontBkColor=0;
static uint16_t fix_fontColor = 0xffff, fix_fontBkColor=0;
static int8_t cur_col = 0, cur_row = 0, cur_width... | mmMikeKn/watering_ctrl | src/liblcd/scr_io.c | C | gpl-3.0 | 6,255 |
/*
Dokan : user-mode file system library for Windows
Copyright (C) 2008 Hiroki Asakawa info@dokan-dev.net
http://dokan-dev.net/en
Copyright (c) 2015 AIXIV
https://github.com/AIXIV/dokan
Dokan is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public Licen... | AIXIV/dokan | Driver/flush.c | C | gpl-3.0 | 3,737 |
/*
* Lossless video DSP utils
*
* 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 your option) any later versi... | lwjfork/ffmpeg | libavcodec/x86/lossless_videodsp_init.c | C | gpl-3.0 | 4,319 |
//<FLAGS>
//#define __GPU
//#define __NOPROTO
//<\FLAGS>
//<INCLUDES>
#include "fargo3d.h"
#define LEFT 0
#define RIGHT 1
#define DOWN 2
#define UP 3
//<\INCLUDES>
void boundary_zmax_cpu () {
//<USER_DEFINED>
//<\USER_DEFINED>
//<INTERNAL>
int i;
int j;
int k;
int jact;
int jgh;
int kact;
int kgh... | adamdempsey90/fargo3d | bin/zmax_bound.c | C | gpl-3.0 | 955 |
/*
* Roccat common functions for device specific drivers
*
* Copyright (c) 2011 Stefan Achatz <erazor_de@users.sourceforge.net>
*/
/*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; eith... | williamfdevine/PrettyLinux | drivers/hid/hid-roccat-common.c | C | gpl-3.0 | 4,954 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2015 - Daniel De Matteis
* Copyright (C) 2014-2015 - Jean-André Santoni
*
* RetroArch 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 Found-
* ation, ... | xoddark/RetroArch | menu/drivers/xmb.c | C | gpl-3.0 | 72,374 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | ngcurrier/ProteusCFD | TPLs/hdf5/hdf5-1.10.2/src/H5Adense.c | C | gpl-3.0 | 80,181 |
/*
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Deviation is distributed in the hope that it will be useful,
but WITHO... | F-D-R/deviation | src/mixer.c | C | gpl-3.0 | 28,245 |
#include <gtk/gtk.h>
#include "modSarrera.h"
static GtkWidget *testua, *labelIzena;
static int zenbat;
static void form_load(gchar *izena, int kop)
{
char kopurua[5];
sprintf (kopurua, "%d", kop);
gtk_entry_set_text(testua, kopurua);
gtk_label_set_text(labelIzena, izena);
}
static void btmUtzi()
{
gtk_main_qu... | enbata/on-egin | src/zenbatUnitate.c | C | gpl-3.0 | 3,527 |
/*
Exciting Licence Info.....
This file is part of FingerprinTLS.
FingerprinTLS 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.
Fingerprin... | LeeBrotherston/tls-fingerprinting | fingerprintls/fingerprintls.c | C | gpl-3.0 | 15,736 |
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "table.h"
#include "hash.h"
const int number_iterations = 1000000;
const int number_values = 1000000;
int main(){
Table* table = make_table(10, 10);
Value* keys = (Value*)malloc(sizeof(Value)*number_values);
Value* values = (Value*)malloc(size... | shauncarpenter/wattle | table_test.c | C | gpl-3.0 | 911 |
/*
amaranth.c -- Command line music player.
Copyright (C) 2008 Henri Häkkinen.
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 later versio... | henux/amaranth | src/amaranth.c | C | gpl-3.0 | 4,072 |
/* Implementation of pattern-matching file search paths for GNU Make.
Copyright (C) 1988-2014 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make 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;... | lava/make | vpath.c | C | gpl-3.0 | 18,416 |
/* this file is part of Libav and distributed under GPLv3lu0 */
#include <string.h>
#include "kernels.h"
extern const AVSKernel avs_rgbpck_kernel;
extern const AVSKernel avs_rgbunp_kernel;
extern const AVSKernel avs_rgb2yuv_kernel;
extern const AVSKernel avs_scale_kernel;
static void component_murder(void *ctx,
... | lu-zero/avscale | kernels.c | C | gpl-3.0 | 1,556 |
/*
* Regulator driver for Rockchip RK808/RK818
*
* Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd
*
* Author: Chris Zhong <zyw@rock-chips.com>
* Author: Zhang Qing <zhangqing@rock-chips.com>
*
* Copyright (C) 2016 PHYTEC Messtechnik GmbH
*
* Author: Wadim Egorov <w.egorov@phytec.de>
*
* This progr... | williamfdevine/PrettyLinux | drivers/regulator/rk808-regulator.c | C | gpl-3.0 | 20,523 |
/******************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* This file is part of Real VMX.
* Copyright (C) 2013 Surplus Users Ham Society
*
* Real VMX is free software: you can redistribute it and/or modify
* it under th... | phoboz/vmx | src/usr/usrFsLib.c | C | gpl-3.0 | 17,594 |
#include<stdio.h>
#include<dir.h>
main()
{
char directory[MAXPATH];
getcwd(directory,MAXPATH);
printf("\nThe current directory is:");
printf("%s",directory);
if(!rmdir("\\TC\\TEMP"))
{
printf("\nthe \\TC\\TEMP has successful deleted!");
}
getch();
}
| Huericiz/C_lg_small_examples | .code/4-7.c | C | gpl-3.0 | 284 |
/* vim: set tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab */
/* ================================================================== */
/* */
/* Microsoft Speech coder ANSI-C Source Code */
/* SC1200 1200 bps speech coder ... | gegel/pairphone | melpe/melp_syn.c | C | gpl-3.0 | 17,846 |
/*
* ttf2tfm.c
*
* This file is part of the ttf2pk package.
*
* Copyright 1997-1999 by
* Frederic Loyer <loyer@ensta.fr>
* Werner Lemberg <wl@gnu.org>.
*/
/*
* This program converts TTF files to TeX TFM files, and optionally
* to TeX VPL files that retain all kerning and ligature informatio... | chriskmanx/qmole | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/extras/FreeType/contrib/ttf2pk/ttf2tfm.c | C | gpl-3.0 | 21,178 |
/*
debug.c
Copyright (C) 2008-2010 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
--------------------------------------------------------------------
This file is part of the Leia application.
Leia is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Licens... | DoomHammer/leiads | src/debug.c | C | gpl-3.0 | 4,476 |
/*
* GEM-Mapper v3 (GEM3)
* Copyright (c) 2011-2017 by Santiago Marco-Sola <santiagomsola@gmail.com>
*
* This file is part of GEM-Mapper v3 (GEM3).
*
* 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 So... | smarco/gem3-mapper | src/fm_index/sampled_sa.c | C | gpl-3.0 | 9,369 |
/******************************************************************************/
/* DAC Initialization for Kinetis K50
/*
/* This application is using DAC0
/******************************************************************************/
#include "DAC.h"
void DAC12_Vin_SWtrig(vo... | slaxtrack/MedicalCareTeam | FreescaleTower/Implementacion/MED-EKG/Software/MED-EKG K53/app/cdc/iar_ew/kinetis/MED_EKG_FILES/LL_DRIVERS/DAC.c | C | gpl-3.0 | 897 |
/*
** Garbage collector.
** Copyright (C) 2005-2014 Mike Pall. See Copyright Notice in luajit.h
**
** Major portions taken verbatim or adapted from the Lua interpreter.
** Copyright (C) 1994-2008 Lua.org, PUC-Rio. See Copyright Notice in lua.h
*/
#define lj_gc_c
#define LUA_CORE
#include "lj_obj.h"
#include "lj_gc.h"... | franko/gsl-shell | luajit2/src/lj_gc.c | C | gpl-3.0 | 26,326 |
/*****************************************************************************
* Copyright (c) 2014 Ted John
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* This file is part of OpenRCT2.
*
* OpenRCT2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Gener... | rzeg/OpenRCT2 | src/platform/shared.c | C | gpl-3.0 | 29,706 |
#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/types.h>
#include <linux/spi/spidev.h>
//
#include "NokiaLCD_lib.h"
#include "NokiaLCD_lib_fonts.h"
void ShowWiFiSingleLogo( unsigned char idx... | cledic/ariettag25 | nokia/Nokia_lib.c | C | gpl-3.0 | 26,021 |
/* Functions for creating and updating GTK widgets.
Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs 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... | mediogre/emacsanity | src/gtkutil.c | C | gpl-3.0 | 135,796 |
// Copyright (C) 2015 Mars Saxman. All rights reserved.
// Permission is granted to use at your own risk and distribute this software
// in source and binary forms provided all source code distributions retain
// this paragraph and the above copyright notice. THIS SOFTWARE IS PROVIDED "AS
// IS" WITH NO EXPRESS OR IMPL... | marssaxman/fleet | libc/src/stdio/rename.c | C | gpl-3.0 | 460 |
/*
* hostapd / Initialization and configuration
* Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11... | s0lst1c3/eaphammer | local/hostapd-eaphammer/src/ap/hostapd.c | C | gpl-3.0 | 90,175 |
/*
VitaShell
Copyright (C) 2015-2016, TheFloW
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 later version.
This program is ... | thhoang99/VitaShell-touch | audioplayer.c | C | gpl-3.0 | 13,201 |
/*
===========================================================================
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of Spearmint Source Code.
Spearmint Source Code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public Licens... | mecwerks/revamp | code/q3_ui/ui_startserver.c | C | gpl-3.0 | 65,218 |
#include "first.h"
#include "base.h"
#include "joblist.h"
#include "log.h"
#include <stdlib.h>
#include <string.h>
int joblist_append(server *srv, connection *con) {
if (con->in_joblist) return 0;
if (srv->joblist->size == 0) {
srv->joblist->size = 16;
srv->joblist->ptr = malloc(sizeof(*srv->joblist->ptr) ... | whc10002/study | lighttpd/lighttpd-1.4.45/src/joblist.c | C | gpl-3.0 | 1,816 |
/* WMFO Lyrics Flagger
* WMFO - Tufts Freeform Radio
* Version 2.0
* Copyright 2010, 2011 Ben Yu, Andy Sayler, Phil Tang
* Distributed under the terms of the GNU General Public License
* Including additional terms located in file TERMS
*
* urlencode.c -
*
* Please maintain attribution/contribution list where ... | WMFO/WMFO-Lyric-Flagger-v2 | src/urlencode.c | C | gpl-3.0 | 1,016 |
///////////////////////////////////////////////////////////////////////
// //
// Copyright 2012 David Alonso //
// //
// ... | damonge/CUTE | CUTE_box/src/main.c | C | gpl-3.0 | 8,543 |
//******************************************************************
//
// Copyright 2015 Intel Mobile Communications GmbH All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | kadasaikumar/iotivity-1.2.1 | resource/csdk/stack/src/ocpayloadparse.c | C | gpl-3.0 | 48,014 |
/*******************************************************************************************************************************************************
* Copyright ¨Ï 2016 <WIZnet Co.,Ltd.>
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f... | arm8686/W7500P-Tau | W7500P-Tau-FW/Projects/Peripheral_Examples/RNG/Random_number_generation/W7500x_it.c | C | gpl-3.0 | 7,355 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.