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
/* * $Id$ * * rc.c -- routines for processing the configuration file * * Copyright 2000-2004,2005 Thomas E. Dickey * * 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 ...
ipwndev/DSLinux-Mirror
user/dialog/rc.c
C
gpl-2.0
14,548
/* * Routines having to do with the 'struct sk_buff' memory handlers. * * Authors: Alan Cox <alan@lxorguk.ukuu.org.uk> * Florian La Roche <rzsfl@rz.uni-sb.de> * * Fixes: * Alan Cox : Fixed the worst of the load * balancer bugs. * Dave Platt : Interrupt stacking fix. * Richard Kooijman : Timestamp fixe...
henrix/beagle-linux
net/core/skbuff.c
C
gpl-2.0
114,539
/* * Copyright (C) International Business Machines Corp., 2000-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; either version 2 of the License, or * (at your option...
jeffegg/beaglebone
fs/jfs/jfs_uniupr.c
C
gpl-2.0
7,841
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * Utility functions for Python bindings. * Stolen from Epiphany. * * Copyright (C) 2005 Adam Hooper <adamh@cvs.gnome.org> * Copyright (C) 2005 Christian Persch <chpe@cvs.gnome.org> * Copyright (C) 2005 Crispin Flowerday <gnome@flowerday.c...
paulbellamy/Rhythmbox-iPod-Plugin
bindings/python/override_common.c
C
gpl-2.0
7,559
/* * ip6_flowlabel.c IPv6 flowlabel manager. * * 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. * ...
jmesmon/linux-2.4.37.y
net/ipv6/ip6_flowlabel.c
C
gpl-2.0
14,026
/* NOCW */ #include <stdio.h> #ifdef _OSD_POSIX #ifndef CHARSET_EBCDIC #define CHARSET_EBCDIC 1 #endif #endif #ifdef CHARSET_EBCDIC #include <openssl/ebcdic.h> #endif /* This version of crypt has been developed from my MIT compatible * DES library. * Eric Young (eay@cryptsoft.com) */ /* Modification by Jens Kupfer...
hajuuk/R7000
ap/gpl/transmission/openssl/crypto/des/fcrypt.c
C
gpl-2.0
4,328
/* * Licensed under the terms of the GNU GPL License version 2. */ #include <stdio.h> #include <sys/time.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <x86info.h> #include <rdtsc.h> void display_MHz(struct cpudata *cpu) { if (cpu->MHz < 1000) printf("%uMHz", cpu->...
kostikbel/x86info
MHz.c
C
gpl-2.0
1,677
/* * linux/arch/arm/mach-omap1/clock_data.c * * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc * * This program is free software; you can redistribute it and/or modify ...
nushor/samsung_aries_ics_OLD
arch/arm/mach-omap1/clock_data.c
C
gpl-2.0
24,556
#include <config.h> #ifdef WITH_QEMU # include <stdlib.h> # include "testutilsqemu.h" # include "testutils.h" # include "viralloc.h" # include "cpu_conf.h" # include "qemu/qemu_driver.h" # include "qemu/qemu_domain.h" # include "virstring.h" # define VIR_FROM_THIS VIR_FROM_QEMU static virCapsGuestMachinePtr *testQem...
liuji21/libvirt
tests/testutilsqemu.c
C
gpl-2.0
11,455
/* purple * @file secretservice.c Secret Service password storage * @ingroup plugins * * 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 redist...
N8Fear/purple-facebook
.pidgin/libpurple/plugins/keyrings/secretservice.c
C
gpl-2.0
9,654
/*--------------------------------------------------------------- * Copyright (c) 2014, The Regents of the University of California, * through Lawrence Berkeley National Laboratory (subject to receipt of any * required approvals from the U.S. Dept. of Energy). All rights reserved. * * Based on code that is: * ...
gbtian/linux_mpip
iperf-master/src/locale.c
C
gpl-2.0
16,796
/* * Copyright (C) 2002-2005 Roman Zippel <zippel@linux-m68k.org> * Copyright (C) 2002-2005 Sam Ravnborg <sam@ravnborg.org> * * Released under the terms of the GNU GPL v2.0. */ #include <stdarg.h> #include <string.h> #include "lkc.h" /* file already present in list? If not add it */ struct file *file_lookup(cons...
kozmikkick/eternityprj-kernel-endeavoru-128
scripts/kconfig/util.c
C
gpl-2.0
2,864
/* * viking -- GPS Data and Topo Analyzer, Explorer, and Manager * * Copyright (C) 2012-2013, Guilhem Bonnefille <guilhem.bonnefille@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 Found...
rnorris/viking
src/vikroutingengine.c
C
gpl-2.0
9,214
/* * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * T...
anthonyryan1/libnftnl
src/expr/bitwise.c
C
gpl-2.0
9,231
/* * linux/fs/nfs/inode.c * * Copyright (C) 1992 Rick Sladkey * * nfs inode and superblock handling functions * * Modularised by Alan Cox <alan@lxorguk.ukuu.org.uk>, while hacking some * experimental NFS changes. Modularisation taken straight from SYS5 fs. * * Change to nfs_read_super() to permit NFS m...
MatiasBjorling/lightnvm-moved-to-OpenChannelSSD-Linux
fs/nfs/inode.c
C
gpl-2.0
54,050
/* * sound/sscape.c * * Low level driver for Ensoniq Soundscape */ /* * Copyright (C) by Hannu Savolainen 1993-1996 * * USS/Lite for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL) * Version 2 (June 1991). See the "COPYING" file distributed with this software * for more info. */ #include <linu...
harrifeng/linux-2.0.1
drivers/sound/sscape.c
C
gpl-2.0
22,193
/* * Broadcom Home Gateway Reference Design * Web Page Configuration Support Routines * * Copyright 2004, Broadcom Corporation * All Rights Reserved. * * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM * SP...
smx-smx/dsl-n55u-bender
release/src/router/httpd/sysdeps/web-broadcom.c
C
gpl-2.0
73,237
/*************************************************************************** * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * * Copyrig...
lilvinz/openocd
src/flash/nor/str9x.c
C
gpl-2.0
19,213
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* gkr-pkix-asn1.c - ASN.1 helper routines Copyright (C) 2007 Stefan Walter The Gnome Keyring Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as publishe...
linuxmint/gnome-keyring
pkcs11/gkm/gkm-data-asn1.c
C
gpl-2.0
2,149
/* * linux/mm/memory_hotplug.c * * Copyright (C) */ #include <linux/stddef.h> #include <linux/mm.h> #include <linux/swap.h> #include <linux/interrupt.h> #include <linux/pagemap.h> #include <linux/bootmem.h> #include <linux/compiler.h> #include <linux/export.h> #include <linux/pagevec.h> #include <linux/writeback...
WildfireDEV/s6
mm/memory_hotplug.c
C
gpl-2.0
48,432
/* * hdhomerun_channelscan.c * * Copyright © 2007-2008 Silicondust Engineering Ltd. <www.silicondust.com>. * * 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 * vers...
xbmc/atv2
xbmc/lib/libhdhomerun/hdhomerun_channelscan.c
C
gpl-2.0
8,744
/* * Copyright (C) 2009 Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> * * This file is released under the 2-clause BSD license. Please refer to the * file LICENSE for details. */ #include <assert.h> #include <stdio.h> #include <stdlib.h> #include "jit/args.h" #include "vm/method.h" #include "vm/types...
jatovm/jato
arch/x86/args.c
C
gpl-2.0
3,660
/* GStreamer * Copyright (C) 2010 Marc-Andre Lureau <marcandre.lureau@gmail.com> * Copyright (C) 2010 Andoni Morales Alastruey <ylatuya@gmail.com> * Copyright (C) 2011, Hewlett-Packard Development Company, L.P. * Author: Youness Alaoui <youness.alaoui@collabora.co.uk>, Collabora Ltd. * Author: Sebastian Dröge <s...
knuesel/gst-plugins-bad
gst/hls/gsthlsdemux.c
C
gpl-2.0
41,006
/* * ip_nat_pptp.c - Version 3.0 * * NAT support for PPTP (Point to Point Tunneling Protocol). * PPTP is a a protocol for creating virtual private networks. * It is a specification defined by Microsoft and some vendors * working with Microsoft. PPTP is built on top of a modified * version of the Internet Generi...
me-oss/me-linux
net/ipv4/netfilter/ip_nat_helper_pptp.c
C
gpl-2.0
13,452
#include <linux/kernel.h> #include <linux/bitops.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/irqchip.h> #include <linux/io.h> #include <linux/device.h> #include <linux/gpio.h> #include <clocksource/samsung_pwm.h> #include <linux/sched.h> #include <linux/serial_core.h> #include <linux/of.h> #...
ultrasystem/uavlinux-x3
arch/arm/mach-exynos/exynos.c
C
gpl-2.0
10,361
/* * linux/fs/9p/vfs_file.c * * This file contians vfs file ops for 9P2000. * * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com> * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gene...
SoftRoCE/rxe-dev
fs/9p/vfs_file.c
C
gpl-2.0
16,958
/* Super Real Mahjong P5 (c)1994 SETA preliminary driver by Tomasz Slanina -- CPU : R3560 (IDT MIPS R3000 derivative) SOUND : TC6210AF (ST-0016) OSC. : 50.0000MHz 42.9545MHz SX008-01.BIN ; CHR ROM SX008-02.BIN ; | SX008-03.BIN ; | SX008-04.BIN ; | SX008-05.BIN ; | SX008-06.BIN ; | SX00...
Luke-Nukem/mame-144-vector_mod
src/mame/drivers/srmp5.c
C
gpl-2.0
19,990
#include <linux/stat.h> #include <linux/sysctl.h> #include "../fs/xfs/linux-2.6/xfs_sysctl.h" #include <linux/sunrpc/debug.h> #include <linux/string.h> #include <net/ip_vs.h> static int sysctl_depth(struct ctl_table *table) { struct ctl_table *tmp; int depth; depth = 0; for (tmp = table; tmp->parent; tmp = tmp->...
renaudallard/gnexus_kernel
kernel/sysctl_check.c
C
gpl-2.0
3,997
/* * $Id$ * * by JH <jheinonen@users.sourceforge.net> * * Copyright (C) Jaakko Heinonen */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <signal.h> #include <ctype.h> #include "abook.h" #include <assert.h> #include "ui.h" #include "edit.h" #include "d...
hhirsch/abook
ui.c
C
gpl-2.0
15,854
/* * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting * Copyright (c) 2002-2008 Atheros Communications, 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 notice and this permission notice appe...
princeofdream/debug_src_full
network_utils/madwifi/ath_hal/ar5416/ar5416_xmit.c
C
gpl-2.0
20,792
/* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* * Copyright (c) 2009 Ali Polatel <polatel@gmail.com> * Copyright (c) 2009 Saleem Abdulrasool <compnerd@compnerd.org> * * This file is part of the sydbox sandbox tool. sydbox is free software; * you can redistribute it and/or modify it under the terms of the GNU ...
psychoschlumpf/sydbox
src/main.c
C
gpl-2.0
16,361
/* BlueZ - Bluetooth protocol stack for Linux Copyright (C) 2000-2001 Qualcomm Incorporated Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.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 t...
arter97/odroid
backports/net/bluetooth/hci_sock.c
C
gpl-2.0
25,071
/* * IPv6 output functions * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * * $Id: ip6_output.c,v 1.34 2002/02/01 22:01:04 davem Exp $ * * Based on linux/net/ipv4/ip_output.c * * This program is free software; you can redistribute it and/or * modify it under the terms of...
waterice/Test-Git
net/ipv6/ip6_output.c
C
gpl-2.0
29,667
/* Copyright (C) 2007-2014 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...
chifflier/suricata
src/util-spm-bm.c
C
gpl-2.0
14,948
/* * INETPEER - A storage for permanent information about peers * * This source is covered by the GNU GPL, the same as all kernel sources. * * Version: $Id: inetpeer.c,v 1.1.1.1 2007/06/12 07:27:14 eyryu Exp $ * * Authors: Andrey V. Savochkin <saw@msu.ru> */ #include <linux/module.h> #include <linux/types....
sdwuyawen/linux2.6.21_helper2416
net/ipv4/inetpeer.c
C
gpl-2.0
15,016
/* * mst.c - NTFS multi sector transfer protection handling code. Part of the * Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov * * This program/include 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...
z3bu/AH4222
kernel/linux/fs/ntfs/mst.c
C
gpl-2.0
7,075
/* vim:set et sts=4: */ /* * Copyright © 2009 Red Hat, Inc. All rights reserved. * Copyright © 2009 Ding-Yi Chen <dchen at redhat.com> * * This file is part of the ibus-chewing Project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licen...
czchen/ibus-chewing
src/main.c
C
gpl-2.0
5,434
/* * gendisk handling */ #include <linux/module.h> #include <linux/fs.h> #include <linux/genhd.h> #include <linux/kdev_t.h> #include <linux/kernel.h> #include <linux/blkdev.h> #include <linux/init.h> #include <linux/spinlock.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/slab.h> #include ...
srfarias/cexstel-kernel
block/genhd.c
C
gpl-2.0
44,807
#include "lolevel.h" #include "platform.h" #include "core.h" #include "dryos31.h" #define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER) const char * const new_sa = &_end; extern void task_CaptSeq(); extern void task_InitFileModules(); extern void task_MovieRecord(); extern void task_ExpDrv(); extern void task_...
c10ud/CHDK
platform/ixus95_sd1200/sub/boot_hdr.c
C
gpl-2.0
1,403
/***************************************************************************** * httpd.c: HTTPd wrapper ***************************************************************************** * Copyright (C) 2007-2008 the VideoLAN team * $Id$ * * Authors: Antoine Cellerier <dionoea at videolan tod org> * * This program i...
squadette/vlc
modules/misc/lua/libs/httpd.c
C
gpl-2.0
13,345
/* BGP packet management routine. Copyright (C) 1999 Kunihiro Ishiguro Copyright (C) 2015 Hewlett Packard Enterprise Development LP This file is part of GNU Zebra. GNU Zebra 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...
open-switch/ops-quagga
bgpd/bgp_packet.c
C
gpl-2.0
73,973
/* * QEMU disk image utility * * Copyright (c) 2003-2008 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 ...
legumbre/qemu-z80
qemu-img.c
C
gpl-2.0
30,217
/* Target-dependent code for Atmel AVR, for GDB. Copyright (C) 1996-2013 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 Foundation; eith...
nds32/binutils
gdb/avr-tdep.c
C
gpl-2.0
48,417
/* Name: osccal.c * Author: Christian Starkjohann * Creation Date: 2008-04-10 * Tabsize: 4 * Copyright: (c) 2008 by OBJECTIVE DEVELOPMENT Software GmbH * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) * This Revision: $Id: osccal.c 762 2009-08-12 17:10:30Z cs $ */ #incl...
EjaadTech/Ejaaduino_AVRCDC
libs-device/osccal.c
C
gpl-2.0
3,603
/* * linux/fs/namei.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * Some corrections by tytso. */ /* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname * lookup logic. */ /* [Feb-Apr 2000, AV] Rewrite to the new namespace architecture. */ #include <linux/init.h> #include <linux/export.h...
johnnyslt/android_kernel_htc_msm8660
fs/namei.c
C
gpl-2.0
84,443
#include "driver.h" #include "vidhrdw/konamiic.h" static int layer_colorbase[2]; extern int bladestl_spritebank; PALETTE_INIT( bladestl ) { int i; #define TOTAL_COLORS(gfxn) (Machine->gfx[gfxn]->total_colors * Machine->gfx[gfxn]->color_granularity) #define COLOR(gfxn,offs) (colortable[Machine->drv->gfxdecodeinfo[g...
scs/uclinux
user/games/xmame/xmame-0.106/src/vidhrdw/bladestl.c
C
gpl-2.0
2,161
/* SPDX-License-Identifier: LGPL-2.1-or-later */ #include <netinet/tcp.h> #include <unistd.h> #include "alloc-util.h" #include "fd-util.h" #include "io-util.h" #include "missing_network.h" #include "resolved-dns-stream.h" #include "resolved-manager.h" #define DNS_STREAM_TIMEOUT_USEC (10 * USEC_PER_SEC) #define DNS_S...
tblume/systemd-upstream
src/resolve/resolved-dns-stream.c
C
gpl-2.0
21,331
/* * ACPI PCI Hot Plug Controller Driver * * Copyright (C) 1995,2001 Compaq Computer Corporation * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) * Copyright (C) 2001 IBM Corp. * Copyright (C) 2002 Hiroshi Aono (h-aono@ap.jp.nec.com) * Copyright (C) 2002,2003 Takayoshi Kochi (t-kochi@bq.jp.nec.com) * Co...
z3bu/AH4222
kernel/linux/drivers/pci/hotplug/acpiphp_core.c
C
gpl-2.0
9,711
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as ...
redrumrobot/quakeconstruct
code/game/g_spawn.c
C
gpl-2.0
19,651
/* * 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/parser/input.c
C
gpl-2.0
5,416
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * auto-correct.c: * * Authors: * Jukka-Pekka Iivonen <jiivonen@hutcs.cs.hut.fi> * Morten Welinder (UTF-8). * * (C) Copyright 2000, 2001 by Jukka-Pekka Iivonen <iivonen@iki.fi> * * This program is free s...
10sr/gnumeric-gda
src/tools/auto-correct.c
C
gpl-2.0
7,447
/* * scanMngr.c * * Copyright(c) 1998 - 2010 Texas Instruments. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
jjm2473/AMLOGIC_M8
drivers/net/wifi-fw-kk-amlogic/wgt7310/wl1271_m603/stad/src/Application/scanMngr.c
C
gpl-2.0
210,895
/* * QEMU AMD PC-Net II (Am79C970A) emulation * * Copyright (c) 2004 Antony T Curtis * * 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...
legumbre/qemu-z80
hw/pcnet.c
C
gpl-2.0
65,954
/* ChibiOS - Copyright (C) 2014 Derek Mulcahy 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 app...
galengold/split70
qmk_firmware/lib/chibios-contrib/os/hal/ports/KINETIS/LLD/hal_gpt_lld.c
C
gpl-3.0
10,416
/* * Unix SMB/CIFS implementation. * * Copyright (C) 2019 Michael Hanselmann <public@hansmi.ch> * * 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
source4/utils/oLschema2ldif/test.c
C
gpl-3.0
4,975
/* testing the speed of answering queries via net compile by linux: gcc nsmeasure.c -o nsmeasure -O2 -lpthread windows: cl /Ox /I"." Server\nsmeasure.c wgdb.lib run like nsmeasure 'http://127.0.0.1:8080/dserve?op=search' 4 1000 '5689' where: - url must use http - url must contain a numeric IP, not a domain name - u...
jqk6/whitedb
Server/nsmeasure.c
C
gpl-3.0
17,874
/* os_close_on_exec --- set close on exec flag, print warning if fails */ void os_close_on_exec(fd, name, what, dir) int fd; char *name, *what, *dir; { /* no-op */ } /* os_isdir --- is this an fd on a directory? */ #if ! defined(S_ISDIR) && defined(S_IFDIR) #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif in...
ystk/debian-gawk
unsupported/tandem/tmisc.c
C
gpl-3.0
3,625
/* This file is part of darktable, Copyright (C) 2018-2021 darktable developers. darktable 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 opti...
TurboGit/darktable
src/imageio/storage/piwigo.c
C
gpl-3.0
39,056
/* Unix SMB/CIFS implementation. Easy management of byte-length data Copyright (C) Andrew Tridgell 2001 Copyright (C) Andrew Bartlett 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...
Crypt0s/Ramen
fs_libs/cifsacl/data_blob.c
C
gpl-3.0
5,576
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
rtcwcoop/rtcwcoop
code/qcommon/cm_trace.c
C
gpl-3.0
39,301
/* Copyright 2003-2011 Tom Rune Flo This file is part of CAVEZ OF PHEAR CAVEZ OF PHEAR 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...
tomrf/cavez
src/loadmap.c
C
gpl-3.0
1,267
/* * brainfuck.c * humrcraft Source Code * Available on Github * * Copyright (c) 2017 Karol "digitcrusher" Łacina * * 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 restrictio...
digitcrusher/textcraft
src/brainfuck.c
C
gpl-3.0
2,916
/* * This file is part of Luma3DS * Copyright (C) 2016-2018 Aurora Wright, TuxSH * * 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 opti...
trbocode/Luma3DS
sysmodules/rosalina/source/gdb/server.c
C
gpl-3.0
9,109
/* Select <n> random lines from a file and print them. * * SRE, Fri Jun 13 08:17:53 2008 [Janelia] * SVN $Id$ */ #include "esl_config.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include "easel.h" #include "esl_getopts.h" #include "esl_random.h" static ESL_OPTIONS options[] = { /* name ...
rzeller/hmmer-3.0
easel/miniapps/esl-selectn.c
C
gpl-3.0
3,709
/* libFLAC - Free Lossless Audio Codec library * Copyright (C) 2000,2001,2002,2003,2004,2005 Josh Coalson * * 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 ab...
DMCsys/smartalkaudio
oss-survey/tcpmp/flac/flac/src/libFLAC/fixed.c
C
gpl-3.0
16,679
/* * Wolfenstein: Enemy Territory GPL Source Code * Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. * * ET: Legacy * Copyright (C) 2012-2016 ET:Legacy team <mail@etlegacy.com> * * This file is part of ET: Legacy - http://www.etlegacy.com * * ET: Legacy is free software: you can redistribute i...
ensiform/etlegacy
src/renderercommon/tr_common.c
C
gpl-3.0
17,106
/* seskey.c - Session key routines * Copyright (C) 1998, 1999, 2000, 2002, 2003, 2007, 2008, 2010 Free * Software Foundation, Inc. * * Author: Timo Schulz * * This file is part of OpenCDK. * * The OpenCDK library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gen...
freedesktop-unofficial-mirror/gstreamer-sdk__gnutls
lib/opencdk/seskey.c
C
gpl-3.0
6,426
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
variar/klogg
3rdparty/mimalloc/src/alloc-override.c
C
gpl-3.0
14,366
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * Copyright (C) 2011-2017 - Daniel De Matteis * Copyright (C) 2016-2017 - Gregor Richards * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as ...
GregorR/RetroArch
network/netplay/netplay_frontend.c
C
gpl-3.0
53,122
/* ** $Id: lstrlib.c,v 1.132.1.5 2010/05/14 15:34:19 roberto Exp $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ #include <ctype.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lstrlib_c #define LUA_LIB #include "lua.h" ...
ludamad/hashkat
src/dependencies/lua/lstrlib.c
C
gpl-3.0
23,597
/* * gtkchequer.c * * by Joern Thyssen <jthyssen@dk.ibm.com>, 2002 * * This program is free software; you can redistribute it and/or modify * it under the terms of version 3 or later of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope th...
cowpig/notorious-BG
gtkchequer.c
C
gpl-3.0
20,374
/* -*-mode:c;coding:utf-8; c-basic-offset:2;fill-column:70;c-file-style:"gnu"-*- * * Copyright (C) 2009 Arnaud "arnau" Fontaine <arnau@mini-dweeb.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 Fr...
mitrandir77/unagi
src/plugin.c
C
gpl-3.0
4,041
typedef unsigned char UCHAR; #include <stdio.h> #include <stdlib.h> #define MAXSIZ 32 * 1024 * 1024 + 310 int main(int argc, char** argv) { FILE *fp; UCHAR *buf = malloc(MAXSIZ), *l; int i, j = 0, k; static UCHAR head[0x8c] = { 0x4c, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x0...
HobbyOSs/opennask
src/bin2obj.c
C
gpl-3.0
3,940
/***************************************************************************** * COPYRIGHT : 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.o...
T12z/TCNopen
SDTv2/test/sdt_validator.c
C
mpl-2.0
60,624
/* * Copyright (C) 1999-2001, 2004-2007, 2009, 2011, 2012, 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
bin/named/tsigconf.c
C
mpl-2.0
4,276
/***************************************************************************//** * @file em_burtc.c * @brief Backup Real Time Counter (BURTC) Peripheral API * @version 4.3.0 ******************************************************************************* * @section License * <b>Copyright 2016 Silicon Laboratories,...
PW-Sat2/PWSat2OBC
libs/external/emlib/Source/em_burtc.c
C
agpl-3.0
11,659
/* libquvi * Copyright (C) 2012-2013 Toni Gundogdu <legatvs@gmail.com> * * This file is part of libquvi <http://quvi.sourceforge.net/>. * * This library 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 Found...
mogaal/libquvi
src/api/script_next.c
C
agpl-3.0
3,575
/* Copyright (C) 2020 Daniel Schultz 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 option)...
fredrik-johansson/flint2
fmpz_mod_mpoly_factor/bpoly_factor_smprime.c
C
lgpl-2.1
43,603
/* Copyright (C) 2014 Fredrik Johansson This file is part of Arb. Arb 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 option) ...
fredrik-johansson/arb
arb/test/t-chebyshev_u_ui.c
C
lgpl-2.1
3,795
/* * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup sys * @{ * @file * @brief ISR -> userspace pipe impl...
mfrey/RIOT
sys/isrpipe/isrpipe.c
C
lgpl-2.1
1,056
/* Copyright (C) 2011 Fredrik Johansson 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 opti...
wbhart/flint2
fmpz_poly_mat/test/t-mul_KS.c
C
lgpl-2.1
4,731
/* Copyright (C) 2011, 2010 Sebastian Pancratz Copyright (C) 2009, 2008 William Hart 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...
dsroche/flint2
fmpz_mod_poly/shift_right.c
C
lgpl-2.1
1,363
/********************************************************************* * * This is based on code created by Peter Harvey, * (pharvey@codebydesign.com). * * Modified and extended by Nick Gorham * (nick@lurcher.org). * * Any bugs or problems should be considered the fault of Nick and not * Peter. * * copyright...
kadler/unixODBC
DriverManager/SQLGetConnectOption.c
C
lgpl-2.1
14,322
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Authored By Matthew Allum <mallum@openedhand.com> * * Copyright (C) 2006 OpenedHand * * 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...
heysion/clutter-clone
clutter/clutter-color.c
C
lgpl-2.1
30,866
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * 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 o...
heysion/clutter-clone
clutter/clutter-click-action.c
C
lgpl-2.1
23,014
/* Teem: Tools to process and visualize scientific data and images . Copyright (C) 2012, 2011, 2010, 2009 University of Chicago Copyright (C) 2008, 2007, 2006, 2005 Gordon Kindlmann Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah This library is free software; you can...
CIBC-Internal/teem
src/air/dio.c
C
lgpl-2.1
9,468
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> static int file_get_contents (const char *path, char **contents, long *length, void *error); typedef struct { int16_t integer; uint16_t fraction; } s15f16_t...
GNOME/babl
tools/babl-icc-dump.c
C
lgpl-3.0
19,935
/* radare - LGPL - Copyright 2012 pancake<nopcode.org> */ #include <r_print.h> // TODO: work in progress #if 0 for(i=0; i<len; i++) { packing_7bit_character(config.block+i, buffer); cons_printf("%c", buffer[0]); } #endif R_API int r_print_pack7bit (const char *src, char *dest) { int len, i, j = 0, shift = ...
glandium/radare2
libr/print/seven.c
C
lgpl-3.0
1,577
//============================================================================= // RogueType.c // // 2015.08.30 by Abe Pralle //============================================================================= #include "Rogue.h" //----------------------------------------------------------------------------- // Dynamic ...
Plasmaworks/Rogue
Source/Unused/VM/RogueType.c
C
unlicense
2,283
/***************************************************************************//** * \file cy_crypto_core_hw_v1.c * \version 2.30.4 * * \brief * This file provides the source code for the HAL API for the * in the Crypto driver. * ******************************************************************************** * Copyrig...
mbedmicro/mbed
targets/TARGET_Cypress/TARGET_PSOC6/psoc6pdl/drivers/source/cy_crypto_core_hw_v1.c
C
apache-2.0
12,964
/** * \file * * \brief SAM Peripheral Access Controller Driver * * Copyright (C) 2012-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
runtimeinc/mynewt_arduino_zero
hw/mcu/atmel/samd21xx/src/sam0/drivers/pac/pac_sam_d_r/pac.c
C
apache-2.0
5,582
/* * Copyright 1998-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
openssl/openssl
crypto/comp/c_zlib.c
C
apache-2.0
18,013
/* * ----------------------------------------------------------------- * $Revision: 4075 $ * $Date: 2014-04-24 10:46:58 -0700 (Thu, 24 Apr 2014) $ * ----------------------------------------------------------------- * Programmer(s): Alan C. Hindmarsh and Radu Serban @ LLNL * ---------------------------------------...
mirams/opencor
src/plugins/thirdParty/SUNDIALS/src/ida/ida_dense.c
C
apache-2.0
9,154
/* * 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 ...
mlaz/mynewt-core
mgmt/smp/transport/smp_uart/src/smp_uart.c
C
apache-2.0
9,830
/* * Copyright (C) 1997 Cygnus Solutions. * * Author: Michael Graff */ /* * Dialog box building for various numbers of (label, entry) fields. * * This code is somewhat hardcoded to build boxes for the krb5_get_init_creds() * function. */ #include <windows.h> #include <windowsx.h> #include <stdlib.h> #includ...
drankye/kerb-token
krb5/src/windows/lib/vardlg.c
C
apache-2.0
10,807
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
loki04/jerryscript
jerry-core/ecma/builtin-objects/ecma-builtin-json.c
C
apache-2.0
52,745
/* * Copyright 2013-2014 Luke Dashjr * * 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. See COPYING for more detai...
asicontech/software-for-equipment
bfgminer/httpsrv.c
C
apache-2.0
2,652
/* pwdauth 2.0 - check a shadow password Author: Kees J. Bot * 7 Feb 1994 * * This program gets as input the key and salt arguments of the crypt(3) * function as two null terminated strings. The crypt result is output as * one null terminated string. Input and output must be <= 1024 characters. * The ex...
veritas-shine/minix3-rpi
minix/commands/pwdauth/pwdauth.c
C
apache-2.0
1,928
/** * FreeRDP: A Remote Desktop Protocol Implementation * GDI Region Functions * * Copyright 2010-2011 Marc-Andre Moreau <marcandre.moreau@gmail.com> * * 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 ...
zhangximin/FreeRDP
libfreerdp/gdi/region.c
C
apache-2.0
9,113
/* * Copyright (C) 2001-2009 Keisuke Nishida * Copyright (C) 2007-2009 Roger While * * 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.1, * or (at your option) any l...
thebillkidy/KdG_IAO301A
Legacy Systems/open-cobol-1.1/libcob/screenio.c
C
apache-2.0
21,706