code stringlengths 1.03k 250k | repo_name stringlengths 7 70 | path stringlengths 4 177 | language stringclasses 1
value | license stringclasses 15
values | size int64 1.03k 250k |
|---|---|---|---|---|---|
/*
* linux/fs/namespace.c
*
* (C) Copyright Al Viro 2000, 2001
* Released under GPL v2.
*
* Based on code from fs/super.c, copyright Linus Torvalds and others.
* Heavily rewritten.
*/
#include <linux/syscalls.h>
#include <linux/export.h>
#include <linux/capability.h>
#include <linux/mnt_namespace.h>
#include ... | ubuntustudio-kernel/ubuntu-quantal-lowlatency | fs/namespace.c | C | gpl-2.0 | 66,763 |
#define DRIVER_VERSION "v0.7.2"
#define DRIVER_AUTHOR "Matthias Urlichs <smurf@smurf.noris.de>"
#define DRIVER_DESC "USB Driver for GSM modems"
#include <linux/kernel.h>
#include <linux/jiffies.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/modu... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/drivers/usb/serial/usb_wwan.c | C | gpl-2.0 | 15,867 |
/*
* $Id: iq80310.c 573 2006-02-20 17:09:11Z stsp2 $
*
* Mapping for the Intel XScale IQ80310 evaluation board
*
* Author: Nicolas Pitre
* Copyright: (C) 2001 MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licens... | xerpi/3ds-arm9-linux | linux-2.6.x/drivers/mtd/maps/iq80310.c | C | gpl-2.0 | 2,639 |
/*
* kernel/workqueue.c - generic async execution with shared worker pool
*
* Copyright (C) 2002 Ingo Molnar
*
* Derived from the taskqueue/keventd code by:
* David Woodhouse <dwmw2@infradead.org>
* Andrew Morton
* Kai Petzke <wpp@marie.physik.tu-berlin.de>
* Theodore Ts'o <tytso@mit.edu>
*... | ZeroInfinityXDA/HelixKernel_Nougat | kernel/workqueue.c | C | gpl-2.0 | 141,181 |
/*
* IBM Onboard Peripheral Bus Interrupt Controller
*
* Copyright 2010 Jack Miller, IBM 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... | Jackeagle/android_kernel_sony_c2305 | arch/powerpc/platforms/wsp/opb_pic.c | C | gpl-2.0 | 7,649 |
/*
* linux/arch/arm/mach-omap1/timer32k.c
*
* OMAP 32K Timer
*
* Copyright (C) 2004 - 2005 Nokia Corporation
* Partial timer rewrite and additional dynamic tick timer support by
* Tony Lindgen <tony@atomide.com> and
* Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com>
* OMAP Dual-mode timer framework su... | Jackeagle/android_kernel_sony_c2305 | arch/arm/mach-omap1/timer32k.c | C | gpl-2.0 | 5,850 |
/*
* CS4270 ALSA SoC (ASoC) codec driver
*
* Author: Timur Tabi <timur@freescale.com>
*
* Copyright 2007-2009 Freescale Semiconductor, Inc. This file is licensed
* under the terms of the GNU General Public License version 2. This
* program is licensed "as is" without any warranty of any kind, whether
... | jeffegg/beaglebone | sound/soc/codecs/cs4270.c | C | gpl-2.0 | 23,868 |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <arpa/inet.h>
#include <linux/l2tp.h>
#include <linux/genetlink.h>
#include "sd-netlink.h"
#include "conf-parser.h"
#include "hashmap.h"
#include "l2tp-tunnel.h"
#include "missing.h"
#include "netlink-util.h"
#include "networkd-address.h"
#include "networkd-manager.h... | coreos/systemd | src/network/netdev/l2tp-tunnel.c | C | gpl-2.0 | 24,908 |
/*
* arch/arm/mach-tegra/wdt-recovery.c
*
* Copyright (c) 2012, NVIDIA Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distr... | wooshy1/kernel-olympus-3.1 | arch/arm/mach-tegra/wdt-recovery.c | C | gpl-2.0 | 3,524 |
/* Support for complaint handling during symbol reading in GDB.
Copyright (C) 1990-2017 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 Software F... | ganboing/binutils-gdb | gdb/complaints.c | C | gpl-2.0 | 9,530 |
/* drivers/gpu/mali400/mali/platform/pegasus-m400/exynos4_pmm.c
*
* Copyright 2011 by S.LSI. Samsung Electronics Inc.
* San#24, Nongseo-Dong, Giheung-Gu, Yongin, Korea
*
* Samsung SoC Mali400 DVFS driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gen... | Android-Dongyf/itop-kernel | drivers/media/video/samsung/mali_r4p0/platform/pegasus-m400/exynos4_pmm.c | C | gpl-2.0 | 26,197 |
/*
* drivers/video/msm/msm_fb.c
*
* Core MSM framebuffer driver.
*
* Copyright (C) 2007 Google Incorporated
* Copyright (c) 2008-2013, The Linux Foundation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Founda... | bmarko82/GT-I9505_MIUI_kernel | drivers/video/msm/msm_fb.c | C | gpl-2.0 | 114,017 |
/* Copyright (C) 1989-1994, 1998 Aladdin Enterprises. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license... | brho/plan9 | sys/src/cmd/gs/src/gdevepsn.c | C | gpl-2.0 | 14,731 |
/* Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list o... | drakaz/gaosp_kernel | drivers/video/msm/mddi_toshiba.c | C | gpl-2.0 | 65,196 |
/****************************************************************
Siano Mobile Silicon, Inc.
MDTV receiver kernel modules.
Copyright (C) 2006-2010, Erez Cohen
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 Fou... | Pivosgroup/buildroot-linux-kernel | drivers/media/dvb/siano/smschar.c | C | gpl-2.0 | 20,016 |
#ifdef __linux__
#include "aic79xx_osm.h"
#include "aic79xx_inline.h"
#else
#include <dev/aic7xxx/aic79xx_osm.h>
#include <dev/aic7xxx/aic79xx_inline.h>
#endif
#include "aic79xx_pci.h"
static inline uint64_t
ahd_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor)
{
uint64_t id;
id = subvendo... | leemgs/OptimusOneKernel-KandroidCommunity | drivers/scsi/aic7xxx/aic79xx_pci.c | C | gpl-2.0 | 21,997 |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
#include <asm/arch/gpio.h>
#include <asm/arch/mux.h>
#include <asm/mach-types.h>
#include <asm/arch/board.h>
static struct gpio_keys_button g6_gpio_keys_buttons[] = {
[0] = {
... | archos-sa/archos-gpl-gen6-kernel | arch/arm/mach-omap2/archosg6-keys.c | C | gpl-2.0 | 1,995 |
/*
* builtin-help.c
*
* Builtin help-related commands (help, usage, version)
*/
#include "cache.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "common-cmds.h"
#include "parse-options.h"
#include "run-command.h"
static struct man_viewer_list {
struct man_viewer_list *next;
char name[FLEX_ARRAY];
} *man_vi... | xlymian/git | help.c | C | gpl-2.0 | 15,727 |
/***************************************************************************
*
* Copyright (c) 2013 Baidu.com, Inc. All Rights Reserved
*
**************************************************************************/
/**
* @file monitor.c
* @author chendazhuang(com@baidu.com)
* @date 2013/03/12 17:00:29
* ... | lipeng-wei/storeMonitor | monitor.c | C | gpl-2.0 | 6,253 |
/*
* File Name : driver/net/emev-rfkill.c
* Function : emev_board
* Release Version : Ver 1.07
* Release Date : 2010/10/29
*
* Copyright (C) 2010 Renesas Electronics Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | Renesas-EMEV2/Kernel | drivers/net/wireless/emev_wifi_rfkill.c | C | gpl-2.0 | 9,435 |
/***************************************************************************
Namco System 11 - Arcade PSX Hardware
=====================================
Driver by smf & Ryan Holtz
Board notes by The Guru
Sound and MCU hookup by R. Belmont
Thanks to the original Zinc Team.
Issues:
- Random d... | Luke-Nukem/mame-144-vector_mod | src/mame/drivers/namcos11.c | C | gpl-2.0 | 92,139 |
/*
* USB Network driver infrastructure
* Copyright (C) 2000-2005 by David Brownell
* Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.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 Fo... | perkarom/Shark | drivers/net/usb/usbnet.c | C | gpl-2.0 | 44,573 |
#include "lolevel.h"
#include "platform.h"
#include "keyboard.h"
#include "kbd_common.h"
long kbd_new_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
long kbd_prev_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
long kbd_mod_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
KeyMap keymap[] = {
/* tiny bug:... | c10ud/CHDK | platform/a640/kbd.c | C | gpl-2.0 | 2,669 |
/*****************************************************************************
* ugly.c : ugly resampler (changes pitch)
*****************************************************************************
* Copyright (C) 2002, 2006 the VideoLAN team
* $Id: ugly.c 14997 2006-03-31 15:15:07Z fkuehne $
*
* Authors: Samuel... | scs/uclinux | user/blkfin-apps/vlc/vlc-0.8.6b/modules/audio_filter/resampler/ugly.c | C | gpl-2.0 | 5,298 |
/*
* Generic parts
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek <buytenh@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
* 2 of the License, or (... | sqlfocus/linux | net/bridge/br.c | C | gpl-2.0 | 6,247 |
/*
Copyright (C) 2003-2006 Andrey Nazarov
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 the h... | Bad-ptr/q2pro | src/gl_world.c | C | gpl-2.0 | 13,736 |
/*
* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright not... | qtekfun/htcDesire820Kernel | vendor/qcom/opensource/wlan/prima/CORE/HDD/src/wlan_hdd_assoc.c | C | gpl-2.0 | 137,813 |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <glib/gprintf.h>
#include "converter.h"
char *
latdeg2latmin( float lat)
{
static char latmin[20];
int degrees;
float minutes;
degrees = abs( (lat>0) ? floor(lat) : ceil(lat) );
minutes = (fabs(lat) - (float)degrees) * 60;
g_sprintf( latmin,
... | accumulator/foxtrotgps | src/converter.c | C | gpl-2.0 | 2,749 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/*
* This 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 of the License, or (at your option) a... | BtbN/NetworkManager | libnm/nm-vpn-connection.c | C | gpl-2.0 | 6,907 |
/*
Copyright (C) 2005 Michael K. McCarty & Fritz Bronner
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.
... | raceintospace/raceintospace-cvs | ast2.c | C | gpl-2.0 | 14,892 |
/*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | jmahler/linux-next | fs/btrfs/volumes.c | C | gpl-2.0 | 191,913 |
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2010 Nokia Corporation
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.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 b... | percy-g2/android_external_bluetooth_bluez | audio/a2dp.c | C | gpl-2.0 | 55,553 |
/*
* OpenTyrian: A modern cross-platform port of Tyrian
* Copyright (C) 2007-2009 The OpenTyrian 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; either version 2
* of... | Malkierian/OpenTyrianWP | OpenTyrianWP/OpenTyrianWP.Shared/Common/file.c | C | gpl-2.0 | 4,267 |
/*
* Driver for OMAP-UART controller.
* Based on drivers/serial/8250.c
*
* Copyright (C) 2010 Texas Instruments.
*
* Authors:
* Govindraj R <govindraj.raja@ti.com>
* Thara Gopinath <thara@ti.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | galaxyishere/samsung-kernel-latona | drivers/serial/omap-serial.c | C | gpl-2.0 | 43,452 |
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_bit.h"
#include "xfs_log.h"
#include "xfs_inum.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_dir2.h"
#include "xfs_dmapi.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
#include "xfs_alloc_btree.h"
#includ... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/fs/xfs/xfs_ialloc.c | C | gpl-2.0 | 40,712 |
/*
* SoC's CPUFREQ driver
* based on arch/arm/mach-tegra/cpu-tegra.c Copyright (C) 2010 Google, Inc.
*
* Author: Jisheng Zhang <jszhang@marvell.com>
* Copyright: Marvell International Ltd.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Softw... | cjheres/linux-3.0.8 | arch/arm/mach-mv88de3100/cpufreq.c | C | gpl-2.0 | 4,538 |
/* GObject introspection: Object implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
*
* This 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; eit... | kerrickstaley/GObject-Introspection-Docutils | girepository/giobjectinfo.c | C | gpl-2.0 | 27,210 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 The ChromiumOS Authors. 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; version 2 of the Lic... | wolflee/coreboot | src/drivers/elog/gsmi.c | C | gpl-2.0 | 3,559 |
/*
* ASoC driver for TI DAVINCI EVM platform
*
* Author: Vladimir Barinov, <vbarinov@embeddedalley.com>
* Copyright: (C) 2007 MontaVista Software, Inc., <source@mvista.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License versi... | SystemTera/SystemTera.Server-V-3.2-Kernel | sound/soc/davinci/davinci-evm.c | C | gpl-2.0 | 10,908 |
/* Copyright (c) 2011-2013, 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 hop... | SlimRoms/kernel_lge_mako | drivers/usb/gadget/u_data_hsic.c | C | gpl-2.0 | 29,045 |
/******************************************************************************
* Title:Pallet Structure
* summary:Palletの構造体内容を定義2
*
*LastUpdate:
******************************************************************************/
//データ読み書きコマンド用Palletの構造体内容を定義
typedef struct {
GtkWidget *pallet_window,*function_win... | wakakusa/kuikjulia | include/pallet_wr_data_structures.c | C | gpl-2.0 | 5,446 |
/* $OpenBSD: ssh.c,v 1.295 2007/01/03 03:01:40 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
* Ssh client program. This program can be used to log into a remote machine.
* The software supports st... | kidmaple/CoolWall | user/ssh/ssh.c | C | gpl-2.0 | 40,882 |
/*
* Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2004 Voltaire, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under ... | aospan/linux-next-bcm4708-edgecore-ecw7220-l | drivers/infiniband/ulp/ipoib/ipoib_multicast.c | C | gpl-2.0 | 30,607 |
/*
* WPA Supplicant / EAP-TLS (RFC 2716)
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this... | leiweigan/wpa_supplicant | eap_tls.c | C | gpl-2.0 | 5,486 |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/platform_... | uraran/rk3066-kernel | drivers/video/rockchip/hdmi/rk30_hdmi.c | C | gpl-2.0 | 8,442 |
/*
* Copyright (c) 2014 Google, Inc
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <fdtdec.h>
#include <malloc.h>
#include <spi.h>
#include <dm/device-internal.h>
#include <dm/uclass-internal.h>
#include <dm/root.h>
#include <dm/lists.h>
#include <dm/util.h... | cosino/u-boot-enigma | drivers/spi/spi-uclass.c | C | gpl-2.0 | 10,092 |
/* The MIT License
Copyright (c) 2008 Genome Research Ltd (GRL).
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 to use... | michaelglass/bwa-colorspace | bwt.c | C | gpl-3.0 | 9,675 |
/*
* This file is part of the Black Magic Debug project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* T... | gsmcmullin/blackmagic | src/lpc11xx.c | C | gpl-3.0 | 10,044 |
/*
This file is part of GNUnet.
Copyright (C) 2010 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 3, or (at your... | muggenhor/GNUnet | src/nat/gnunet-helper-nat-client.c | C | gpl-3.0 | 13,105 |
#include "builtin.h"
#include "perf.h"
#include "util/evlist.h"
#include "util/evsel.h"
#include "util/util.h"
#include "util/config.h"
#include "util/symbol.h"
#include "util/thread.h"
#include "util/header.h"
#include "util/session.h"
#include "util/tool.h"
#include "util/callchain.h"
#include <subcmd/parse-options... | williamfdevine/PrettyLinux | tools/perf/builtin-kmem.c | C | gpl-3.0 | 46,975 |
/* A Bison parser, made by GNU Bison 2.7. */
/* Bison implementation for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publi... | rilian-la-te/osec | src/txt2osec.c | C | gpl-3.0 | 54,128 |
/*******************************************************************************
*
*
* WashingtonDC Dreamcast Emulator
* Copyright (C) 2019 snickerbockers
*
* 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
*... | washingtondc-emu/washingtondc | src/libwashdc/jit/optimize.c | C | gpl-3.0 | 4,742 |
/*
shapeblobs - 3D metaballs in a shaped window
Copyright (C) 2016 John Tsiombikas <nuclear@member.fsf.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
(at yo... | jtsiomb/shapeblobs | src/blobs.c | C | gpl-3.0 | 6,437 |
#include <lv2/lv2plug.in/ns/lv2core/lv2.h>
#include <lv2/lv2plug.in/ns/ext/atom/atom.h>
#include <lv2/lv2plug.in/ns/ext/atom/util.h>
#include <lv2/lv2plug.in/ns/ext/log/log.h>
#include <lv2/lv2plug.in/ns/ext/log/logger.h>
#include <lv2/lv2plug.in/ns/ext/midi/midi.h>
#include <lv2/lv2plug.in/ns/ext/urid/urid.h>
#includ... | ssssam/boucle | lv2/boucle.c | C | gpl-3.0 | 11,845 |
/***************************************************************************
* Copyright (C) 2012 by Tobias Volk *
* mail@tobiasvolk.de *
* *
* This pr... | i-md/PeerVPN | libp2psec/console_test.c | C | gpl-3.0 | 29,451 |
/*
* StelVideo: video signal generator for the Stellaris LaunchPad.
* Copyright (C) 2013 Boris Gjenero <boris.gjenero@gmail.com>
*
* StelVideo 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... | dreamlayers/StelVideo | uart.c | C | gpl-3.0 | 1,632 |
/*
Espada 2
Copyright (C) 2013 Justin Jacobs
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 ... | dorkster/espada2 | src/draw.c | C | gpl-3.0 | 6,359 |
/*
* This file is part of EmsBench.
*
* Copyright 2015 University of Augsburg
*
* EmsBench 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 lat... | unia-sik/emsbench | embedded/ems/freeems_main.c | C | gpl-3.0 | 12,279 |
///////////////////////////////////////////////////////////////////////////////
//
/// \file sha256.c
/// \brief SHA-256
///
/// \todo Crypto++ has x86 ASM optimizations. They use SSE so if they
/// are imported to liblzma, SSE instructions need to be used
/// conditionally to k... | KubaKaszycki/kubux | xz-utils/src/liblzma/check/sha256.c | C | gpl-3.0 | 5,497 |
/* Singleplayer game code.
Copyright (C) 2006 Morten Hustveit <morten@rashbox.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
(at your o... | darkranger-red/pengupop-maemo5 | singleplayer.c | C | gpl-3.0 | 21,161 |
/*
Copyright 2009-2022 Lianqi Wang <lianqiw-at-tmt-dot-org>
This file is part of Multithreaded Adaptive Optics Simulator (MAOS).
MAOS 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 ... | lianqiw/maos | mex/io.c | C | gpl-3.0 | 21,138 |
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
* Copyright (C) 2002-2011 Match Grun and the Claws Mail 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 ver... | chriskmanx/qmole | QMOLEDEV/claws-mail-3.7.10/src/pine.c | C | gpl-3.0 | 14,960 |
/*
Kuji16 Flash MCU Programmer
Copyright (C) 2014-2016 Kari Sigurjonsson
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 ... | paurinn/kuji16 | kernal16.c | C | gpl-3.0 | 8,826 |
/*
* ./modf.c : stdlib function
* Copyright (c) 1992 Algorithmics Ltd.
*/
#include <math.h>
#define BITSPERBYTE 8
#define BITS(type) (BITSPERBYTE * (int)sizeof(type))
#define LONGBITS BITS(long)
#define DOUBLEBITS BITS(double)
#define _IEEE 1
#define _DEXPLEN 11
#define _FEXPLEN 8
#define _HIDDE... | tupelo-shen/my_test | doc/linux/mips-architecture/loongson-datasheet/pmon/src/pmon-loongson3/lib/libc/modf.c | C | gpl-3.0 | 1,235 |
/*** UART ***
* Implements 'file' interface.
*/
#include<_config.h>
#include <drivers/drivers.h>
#include <stdint.h>
#include <memory/memory.h>
#include <memory/vm/vm.h>
#include <chardevice/chardevice.h>
#include <file/file.h>
#include <memory/fifo_buffer.h>
#include <concurrency/spinlock.h>
#include <sched/sched... | chris-stones/ShovelOS | src/kernel/drivers/ti/omap/uart/uart.c | C | gpl-3.0 | 9,693 |
/*
ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
2011,2012 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
ChibiOS/RT is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software F... | openrobots-dev/ChibiOS | demos/ARMCM4-STM32F407-DISCOVERY/main.c | C | gpl-3.0 | 8,005 |
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#include "../common/mmo.h"
#include "../common/malloc.h"
#include "../common/socket.h"
#include "../common/strlib.h"
#include "../common/showmsg.h"
#include "../common/utils.h"
#include "../commo... | ro4peace/coloexpress-project | src/char/int_pet.c | C | gpl-3.0 | 9,019 |
/*
* ================================
* eli960@qq.com
* https://blog.csdn.net/eli960
* 2015-09-29
* ================================
*/
#include "zc.h"
typedef struct zargv_mpool_t zargv_mpool_t;
struct zargv_mpool_t {
zargv_t v;
zmpool_t *mpool;
};
void zargv_init(zargv_t *argvp, int size);
void zargv... | mailhonor/libzc | src/stdlib/argv.c | C | gpl-3.0 | 3,973 |
/* duplicates.c
*
* Copyright 2016 Bob Parker <rlp1938@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later... | rlp1938/Duplicates | duplicates.c | C | gpl-3.0 | 20,973 |
/*-------------------------------------------------------------------------
*
* resowner.c
* POSTGRES resource owner management code.
*
* Query-lifespan resources are tracked by associating them with
* ResourceOwner objects. This provides a simple mechanism for ensuring
* that such resources are freed at the ... | TextusData/Mover | thirdparty/postgresql-9.0.1/src/backend/utils/resowner/resowner.c | C | gpl-3.0 | 29,075 |
/*
* Copyright (c) 2003-2009 by FlashCode <flashcode@flashtux.org>
* See README for License detail, AUTHORS for developers list.
*
* 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 ve... | matsuu/weechat | src/core/wee-list.c | C | gpl-3.0 | 8,297 |
/**
******************************************************************************
* @file UART/UART_TwoBoards_ComDMA/Src/stm32f4xx_hal_msp.c
* @author MCD Application Team
* @version V1.2.7
* @date 17-February-2017
* @brief HAL MSP module.
*********************************************... | TRothfelder/Multicopter | libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32F4-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f4xx_hal_msp.c | C | gpl-3.0 | 8,466 |
/* Copyright (c) 1997-1999 Miller Puckette.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
/* my_numbox.c written by Thomas Musil (c) IEM KUG Graz Austria 2000-2001 */
#include <stdlib.h>
#include <string.h>
#include <st... | rvega/morphasynth | vendors/pd-extended-0.43.4/externals/vanilla/nbx.c | C | gpl-3.0 | 30,169 |
/******************************************************************************
*
* string/deunicode.c
* Replace unicode symbols.
*
* Copyright (C) 2016 Simone Conti
*
* This file is part of Cygne
*
* Cygne is free software: you can redistribute it and/or modify it under the
* terms of the GNU General... | SimoneCnt/cygne | src/libcygne/string/deunicode.c | C | gpl-3.0 | 4,072 |
/*
* Copyright (C) 2004-2007, 2010-2015 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1997-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and t... | krichter722/bind9 | lib/isc/heap.c | C | gpl-3.0 | 6,579 |
//
// '########'########::'######:::'##::: ##'########'########:'#######:::'#####:::
// ..... ##: ##.... ##'##... ##:: ###:: ## ##.....:..... ##:'##.... ##:'##.. ##::
// :::: ##:: ##:::: ## ##:::..::: ####: ## ##:::::::::: ##:: ##:::: ##'##:::: ##:
// ::: ##::: ##:::: ##. ######::: ## ## ## ######::::: ##:::: #####... | pbetti/ZDS | syslibs/cpm/delay.c | C | gpl-3.0 | 1,456 |
/*
This file is part of GNUnet.
Copyright (C) 2009, 2010 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 3, or (at your
option) any later version.
... | tg-x/gnunet | src/transport/test_transport_api_reliability.c | C | gpl-3.0 | 16,438 |
/* 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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | nidhugg/nidhugg | tests/litmus/C-tests/S+PPO647.c | C | gpl-3.0 | 1,704 |
/**
* \file region.c
* \author Christian Eder ( ederc@mathematik.uni-kl.de )
* \date August 2012
* \brief General source file for non-inline region handling functions.
* This file is part of XMALLOC, licensed under the GNU General
* Public License version 3. See COPYING for more information.... | ederc/xmalloc | src/region.c | C | gpl-3.0 | 3,745 |
/*
* Copyright © 2002 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear... | Elecon-rou/tinyxserver | xfixes/saveset.c | C | gpl-3.0 | 2,637 |
// Copyright 2009 Devrin Talen
// This file is part of ADBUSB.
//
// ADBUSB 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.
//
// ... | devrintalen/adbusb | code/usb.c | C | gpl-3.0 | 4,855 |
#define getTreeNodeElem( node, type ) (*((type *)(node->elem)))
typedeft struct {
void *elem;
int key;
TreeNode *left;
TreeNode *right;
TreeNode *prev;
} TreeNode;
bool hasLeft(TreeNode *node) {
if(node->left != NULL)
return true;
else
return false;
}
bool hasRight(TreeNode *no... | tijuo/Silverbox-OS | lib/libos/ostypes/tree.c | C | gpl-3.0 | 1,888 |
/**********************************************************************/
/* */
/* File name: int.c */
/* */
/* Since: 2004-Sept-... | kadircet/CENG | 336/the4.X/int.c | C | gpl-3.0 | 5,842 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* main.c
* Copyright (C) Thura Hlaing 2010 <trhura@gmail.com>
*
* rookie is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, eit... | trhura/rookie | src/main.c | C | gpl-3.0 | 1,383 |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... | tukusejssirs/eSpievatko | spievatko/espievatko/prtbl/srv/new/httpd-2.0.63/server/mpm/experimental/leader/leader.c | C | gpl-3.0 | 69,373 |
//+------------------------------------------------------------------+
//| Método de Mínimos Quadrados |
//| Copyright © 2014, Cleiton Gomes; Vanessa Barbosa |
//| http://www.softwarecsg.com.br |
//+---------------------------------... | cleitoncsg/investMVC | metodosNumericosTeste/minimosQuadrados.c | C | gpl-3.0 | 1,882 |
/**
****************************************************************************************
*
* @file otpc.c
*
* @brief eeprom driver over i2c interface header file.
*
* Copyright (C) 2012. Dialog Semiconductor Ltd, unpublished work. This computer
* program includes Confidential, Proprietary Information and i... | haozglue/TestDemo | Dialog/5.0.4/utilities/flash_programmer/src/otpc.c | C | gpl-3.0 | 2,699 |
/* This file is part of Lyos.
Lyos 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.
Lyos is distributed in the hope tha... | BackupGGCode/lyos | lib/uname.c | C | gpl-3.0 | 1,417 |
/***************************************************************************
* Copyright (C) 2009 - 2010 by Simon Qian <SimonQian@SimonQian.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it ... | versaloon/vsf | vsf/hal/cpu/nuc505/uart/NUC505_USART.c | C | gpl-3.0 | 11,725 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "var_management.h"
int new3DBoolean(VariableObject *anker, char *group, char *name, int x_length, int y_length, int z_length)
{
VariableObject *target = NULL;
if((target = addNewVariable(anker, group, name, THREEDBOOL)) == NULL)
retu... | audacity363/realHTMLparser | libs/variable_management/src/bool/3dbool.c | C | gpl-3.0 | 2,763 |
/*
Ethereal is a UCI chess playing engine authored by Andrew Grant.
<https://github.com/AndyGrant/Ethereal> <andrew@grantnet.us>
Ethereal 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... | AndyGrant/Ethereal | src/board.c | C | gpl-3.0 | 11,215 |
/* 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_0_r1_1;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | nidhugg/nidhugg | tests/litmus/C-tests/LB+PPO0218.c | C | gpl-3.0 | 1,934 |
/**
* @file traduir.c
* @brief Prova que realitza la tradució de bloc lógic a bloc físic mitjançant inodes
* @date 09/11/2010
*/
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "../include/bloques.h"
#include "../include/definicions.h"
#include "../include/ficheros.h"
int main(int argc, cha... | vtomasr5/aso | tests/traduir.c | C | gpl-3.0 | 1,343 |
/*
* MJPEG decoder
* Copyright (c) 2000, 2001 Fabrice Bellard
* Copyright (c) 2003 Alex Beregszaszi
* Copyright (c) 2003-2004 Michael Niedermayer
*
* Support for external huffman table, various fixes (AVID workaround),
* aspecting, new decode_frame mechanism and apple mjpeg-b support
* ... | DMCsys/smartalkaudio | oss-survey/ffmpeg/libavcodec/mjpegdec.c | C | gpl-3.0 | 55,693 |
/*
Unix SMB/CIFS implementation.
Core SMB2 server
Copyright (C) Stefan Metzmacher 2009
Copyright (C) Jeremy Allison 2010
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 v... | Zentyal/samba | source3/smbd/smb2_create.c | C | gpl-3.0 | 45,843 |
/* Functions to compute MD5 message digest of files or memory blocks.
according to the definition of MD5 in RFC 1321 from April 1992.
Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2005, 2006, 2008, 2009,
2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free... | guyru/spass | md5.c | C | gpl-3.0 | 15,314 |
#include "minibidi.h"
/************************************************************************
* $Id: minibidi.c 6910 2006-11-18 15:10:48Z simon $
*
* ------------
* Description:
* ------------
* This is an implemention of Unicode's Bidirectional Algorithm
* (known as UAX #9).
*
* http://www.unicode.org/re... | jdmansour/mintty | src/minibidi.c | C | gpl-3.0 | 44,857 |
/*
Unix SMB/CIFS implementation.
FS info functions
Copyright (C) Stefan (metze) Metzmacher 2003
Copyright (C) Jeremy Allison 2007
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 Foundati... | opinkerfi/winexe | source3/libsmb/clifsinfo.c | C | gpl-3.0 | 24,825 |
/****************************************************************************!
* _ _ _ _ *
* | |__ _ __ / \ | |_| |__ ___ _ __ __ _ *
* | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` | *
* ... | gabrielbdcxd/BrSabino | src/char/pincode.c | C | gpl-3.0 | 8,033 |
/*
* 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/filtering/region/filtering_region.c | C | gpl-3.0 | 9,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.