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
/* testPM2() */ /* Rip_PM20() */ /* Depack_PM20() */ #include "globals.h" #include "extern.h" short testPM2 ( void ) { PW_Start_Address = PW_i; /* test 1 */ if ( (PW_Start_Address + 5714) > PW_in_size ) { return BAD; } /* test 2 */ /*if ( in_data[PW_Start_Address+5094] != 0x03 )*/ /* not sur...
lunixbochs/fs-uae-gles
src/prowizard/rippers/Promizer20.c
C
gpl-2.0
8,784
/* * Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net> * * 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 of the License, or (at your option) any later vers...
vmgmedia/pacemaker
lib/cib/cib_ops.c
C
gpl-2.0
25,554
#include <windows.h> #undef RtlZeroMemory NTSYSAPI VOID NTAPI RtlZeroMemory(VOID UNALIGNED *Destination, SIZE_T Length); #include <msi.h> #include <msiquery.h> #pragma comment(linker, "/EXPORT:CheckPaths=_CheckPaths@4") BOOL __stdcall _DllMainCRTStartup(HINSTANCE hInstance, DWORD dwReason, LPVOID lpData) ...
sdebnath/jabberd2
win32/setup/ca/ca.c
C
gpl-2.0
1,702
/* * arch/arm/mach-tegra/board-dalmore-pinmux.c * * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under th...
chaoskagami/android_kernel_nvidia_roth
arch/arm/mach-tegra/board-dalmore-pinmux.c
C
gpl-2.0
11,917
/* * svc.c, Server-side remote procedure call interface. * * There are two sets of procedures here. The xprt routines are * for handling transport handles. The svc routines handle the * list of service routines. * * Copyright (C) 1984, Sun Microsystems, Inc. * * Redistribution and use in source and binary fo...
davidlt/glibc-slc6
sunrpc/svc.c
C
gpl-2.0
13,648
/* dnsmasq is Copyright (c) 2000-2017 Simon Kelley 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 dated June, 1991, or (at your option) version 3 dated 29 June, 2007. This...
liquidm/dnsmasq
src/rfc2131.c
C
gpl-2.0
83,537
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * PACKET - implements raw packet sockets. * * Authors: Ross Biro * Fred N. van Kempen, <waltje@uWalt.NL.Mugn...
animalcreek/linux
net/packet/af_packet.c
C
gpl-2.0
109,383
/******************************************************************************* Copyright (C) Marvell International Ltd. and its affiliates This software file (the "File") is owned and distributed by Marvell International Ltd. and/or its affiliates ("Marvell") under the following alternative licensing terms. Once yo...
aldencolerain/mc2kernel
drivers/net/ethernet/mvebu_net/pp2/hal/wol/mvPp2Wol.c
C
gpl-2.0
9,951
/* * usblp.c * * Copyright (c) 1999 Michael Gee <michael@linuxspecific.com> * Copyright (c) 1999 Pavel Machek <pavel@suse.cz> * Copyright (c) 2000 Randy Dunlap <rdunlap@xenotime.net> * Copyright (c) 2000 Vojtech Pavlik <vojtech@suse.cz> # Copyright (c) 2001 Pete Zaitcev <zaitcev@redhat.com> # Copyright (c) 2001...
kidmaple/CoolWall
linux-2.6.x/drivers/usb/class/usblp.c
C
gpl-2.0
39,530
/* zzekgrs.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* $Procedure ZZEKGRS ( EK, get record status ) */ /* Subroutine */ int zzekgrs_(integer *handle, integer *recptr, integer * status) { extern ...
esa/pykep
src/third_party/cspice/zzekgrs.c
C
gpl-3.0
9,070
/* * Indom metadata support for pmlogrewrite * * Copyright (c) 2011 Ken McDonell. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License,...
prasincs/pcp
src/pmlogrewrite/indom.c
C
lgpl-2.1
10,787
/* * SpanDSP - a series of DSP components for telephony * * complex_vector_int_tests.c * * Written by Steve Underwood <steveu@coppice.org> * * Copyright (C) 2006 Steve Underwood * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU ...
Distrotech/spandsp
tests/vector_int_tests.c
C
lgpl-2.1
4,254
#if 0 /** * * Phantom OS * * Copyright (C) 2005-2011 Dmitry Zavalishin, dz@dz.ru * * ia32 page table support * **/ #define DEBUG_MSG_PREFIX "pgtable" #include <debug_ext.h> #define debug_level_flow 6 #define debug_level_error 10 #define debug_level_info 10 #include <kernel/mmu.h> #include...
tectronics/phantomuserland
oldtree/kernel/phantom/amd64/paging.c
C
lgpl-3.0
1,565
/* mbed Microcontroller Library * Copyright (c) 2019 ARM Limited * Copyright (c) 2019 STMicroelectronics * SPDX-License-Identifier: Apache-2.0 * * 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 Lice...
adfernandes/mbed
targets/TARGET_STM/TARGET_STM32WB/TARGET_STM32WB15xC/system_clock.c
C
apache-2.0
4,510
/* * Copyright 2008-2014 Arsen Chaloyan * * 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 ag...
pgaval/unimrcp
platforms/asr-client/src/main.c
C
apache-2.0
7,430
/* * Wi-Fi Direct - P2P Group Owner Negotiation * Copyright (c) 2009-2010, Atheros Communications * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "utils/eloop.h" #include "common/ieee802_11_defs.h" #inc...
kelvincheung/rt_hostap
src/p2p/p2p_go_neg.c
C
bsd-3-clause
45,559
/* * DV decoder * Copyright (c) 2002 Fabrice Bellard * Copyright (c) 2004 Roman Shaposhnik * * DV encoder * Copyright (c) 2003 Roman Shaposhnik * * 50 Mbps (DVCPRO50) support * Copyright (c) 2006 Daniel Maas <dmaas@maasdigital.com> * * 100 Mbps (DVCPRO HD) support * Initial code by Daniel Maas <dmaas@maasdi...
retsu0/FFmepg-Android
jni/ffmpeg/libavcodec/dv.c
C
mit
11,461
/* * Copyright ¬ 2004-2007 Diego Nehab * * 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, copy, modify, merge, pub...
hacxman/dsf2dsdraw
libs/libcommon/timeout.c
C
gpl-2.0
5,048
// SPDX-License-Identifier: GPL-2.0 /* * UCSI driver for Cypress CCGx Type-C controller * * Copyright (C) 2017-2018 NVIDIA Corporation. All rights reserved. * Author: Ajay Gupta <ajayg@nvidia.com> * * Some code borrowed from drivers/usb/typec/ucsi/ucsi_acpi.c */ #include <linux/acpi.h> #include <linux/delay.h> #...
gazoo74/linux
drivers/usb/typec/ucsi/ucsi_ccg.c
C
gpl-2.0
27,125
/* * Copyright (c) 2008-2011 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 appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
Blefish/kernel_common
drivers/net/wireless/ath/ath9k/main.c
C
gpl-2.0
65,192
/* * Copyright (C) 2013 Gabor Juhos <juhosg@openwrt.org> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * */ #include <linux/module.h> #include <linux/init.h> #include <...
P424D0X/hamwrt
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_seama.c
C
gpl-2.0
3,049
/* * Kernel-based Virtual Machine driver for Linux * * This module enables machines with Intel VT-x extensions to run virtual * machines without emulation or binary translation. * * Copyright (C) 2006 Qumranet, Inc. * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * Authors: * Avi Kivity <avi@qumra...
loxdegio/linux-zenx
virt/kvm/kvm_main.c
C
gpl-2.0
98,043
/* Copyright (C) 2000-2004 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. There are special exceptions to the terms and conditions of the GPL as it is applied to this softwa...
metacloud/percona-xtrabackup
percona-server-5.1-xtrabackup/Percona-Server-5.1.59-rel13.0/libmysql/get_password.c
C
gpl-2.0
5,322
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
IGGYVIP/lge-kernel-e430
drivers/media/video/msm/actuators/msm_actuator.c
C
gpl-2.0
23,343
/* Copyright (c) 2013-2014, 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...
CyanogenMod/android_kernel_samsung_lt03lte
drivers/video/msm/mdss/dsi_status_6g.c
C
gpl-2.0
3,544
#include <linux/delay.h> #include <linux/pm.h> #include <asm/io.h> #include <mach/io.h> #include <asm/cacheflush.h> #include <mach/system.h> #include <linux/notifier.h> #include <linux/reboot.h> #include <mach/gpio.h> #include <mach/sec_debug.h> #if 0 /* should be fixed later */ /* charger cable state */ extern bool i...
TeamWin/android_kernel_samsung_goyave
arch/arm/mach-sc/sec-reboot.c
C
gpl-2.0
3,881
/* * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs */ #include <linux/kallsyms.h> #include <linux/kprobes.h> #include <linux/uaccess.h> #include <linux/hardirq.h> #include <linux/kdebug.h> #include <linux/module.h> #include <linux/ptrace.h> #include <linux/kexec.h>...
henrix/beagle-linux
arch/x86/kernel/dumpstack_32.c
C
gpl-2.0
3,683
/* * Asterisk -- An open source telephony toolkit. * * Copyright 2004 - 2005, Anthony Minessale <anthmct@yahoo.com> * * Anthony Minessale <anthmct@yahoo.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this projec...
mojolingo/asterisk
apps/app_while.c
C
gpl-2.0
10,292
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -ftree-vectorize -mcpu=power7" } */ /* { dg-...
itsimbal/gcc.cet
gcc/testsuite/gcc.target/powerpc/vsx-vector-3.c
C
gpl-2.0
921
/* Copyright (c) 2010 Frank Lahm <franklahm@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 version. This progra...
knu/netatalk
test/afpd/test.c
C
gpl-2.0
3,669
/* * Copyright (c) International Business Machines Corp., 2000 * Copyright (c) 2010 Cyril Hrubis chrubis@suse.cz * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either versio...
chenhuacai/ltp
testcases/kernel/fs/fs_perms/fs_perms.c
C
gpl-2.0
5,761
/* TDA10023 - DVB-C decoder (as used in Philips CU1216-3 NIM and the Reelbox DVB-C tuner card) Copyright (C) 2005 Georg Acher, BayCom GmbH (acher at baycom dot de) Copyright (c) 2006 Hartmut Birr (e9hack at gmail dot com) Remotely based on tda10021.c Copyright (C) 1999 Convergence Integrated ...
holyangel/LGE_G3
drivers/media/dvb/frontends/tda10023.c
C
gpl-2.0
16,592
/* */ /* */ #include "gmac.h" #include "elmer0.h" #include "vsc7326_reg.h" /* */ #define STATS_TICK_SECS 15 /* */ #...
holyangel/LGE_G3
drivers/net/ethernet/chelsio/cxgb/vsc7326.c
C
gpl-2.0
19,904
/** * @file mangle_tests.c * * @remark Copyright 2003 OProfile authors * @remark Read the file COPYING * * @author John Levon * @author Philippe Elie */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "op_libiberty.h" #include "op_mangle.h" #include "op_config.h" struct test_input { stru...
scs/uclinux
user/oprofile/oprofile-0.9.2.1rc1/libop/tests/mangle_tests.c
C
gpl-2.0
2,420
/* * ARM NEON vector operations. * * Copyright (c) 2007, 2008 CodeSourcery. * Written by Paul Brook * * This code is licensed under the GNU GPL v2. */ #include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #define SIGNBIT (uint32_t)0x80000000 #define SIGNBIT64 ((uint...
dslutz/qemu
target/arm/neon_helper.c
C
gpl-2.0
53,935
/* ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio 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 requi...
mihadyuk/ChibiOS
os/common/abstractions/nasa_cfe/psp/src/cfe_psp_exception.c
C
gpl-3.0
2,482
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * SPDX-License-Identifier: Apache-2.0 * * 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.o...
adfernandes/mbed
targets/TARGET_NXP/TARGET_LPC176X/serial_api.c
C
apache-2.0
16,331
//****************************************************************** // // Copyright 2014 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
lssgood/TizenRT
external/iotivity/iotivity_1.2-rel/resource/csdk/stack/src/oicgroup.c
C
apache-2.0
40,742
/* * Copyright 2015 The SageTV Authors. All Rights Reserved. * * 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 re...
troll5501/sagetv
native/ax/Native2.0/NativeCore/TSFilter.c
C
apache-2.0
71,345
/* * Copyright (c) 2016-present, Yann Collet, Facebook, Inc. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * Yo...
kubernetes/dns
vendor/github.com/DataDog/zstd/zdict.c
C
apache-2.0
43,582
/******************************************************************** * COPYRIGHT: * Copyright (c) 2000-2016, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /* * File stdnmtst.c * * Modification History: * * Dat...
amrnablus/PDF-Writer
libIcu/source/test/cintltst/stdnmtst.c
C
apache-2.0
11,115
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2015-2019 Paul Sokolovsky * * 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 ...
bvernoux/micropython
extmod/modussl_axtls.c
C
mit
11,897
/** * @file * * @ingroup ClassicEventSystem * * @brief rtems_event_system_receive() implementation. */ /* * Copyright (c) 2012 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Obere Lagerstr. 30 * 82178 Puchheim * Germany * <rtems@embedded-brains.de> * * The license and distri...
swordsmaster/waf
cpukit/rtems/src/systemeventreceive.c
C
gpl-2.0
1,572
/* * Copyright (c) 2018 Chelsio Communications, 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 as * published by the Free Software Foundation. * * Written by: Atul Gupta (atul.gupta@chelsio.com) */ #include <linux/m...
Fe-Pi/linux
drivers/crypto/chelsio/chtls/chtls_io.c
C
gpl-2.0
45,113
/* * linux/arch/arm/mach-omap2/board-omap3beagle.c * * Copyright (C) 2008 Texas Instruments * * Modified from mach-omap2/board-3430sdp.c * * Initial code: Syed Mohammed Khasim * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versio...
mdr78/Linux-x1000
arch/arm/mach-omap2/board-omap3beagle.c
C
gpl-2.0
15,579
/* * RIFF common functions and data * Copyright (c) 2000 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the ...
kingvuplus/xbmc
lib/ffmpeg/libavformat/riff.c
C
gpl-2.0
40,094
/* * Copyright (C) 2009 Jonathan Matthew <jonathan@d14n.org> * * 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) any later vers...
mssurajkaiga/rhythmbox
lib/libmediaplayerid/mpid-udev.c
C
gpl-2.0
2,622
/* * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #include <signal.h> #include "kern_constants.h" #include "kern_util.h" #include "longjmp.h" #include "task.h" #include "user.h" #include "sysdep/ptrace.h" /* Set during early boot */ int host_has_cmov = 1; static...
janrinze/loox7xxport
arch/um/sys-i386/bugs.c
C
gpl-2.0
1,886
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
chrdwhdhxtszpzclljxk/CrossAny
third_lib/curl-7.43.0/lib/vtls/gtls.c
C
gpl-2.0
47,657
/* Plural expression evaluation. Copyright (C) 2000-2013 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 Foundati...
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/intl/plural-eval.c
C
gpl-2.0
2,663
/** * collectd - src/virt.c * Copyright (C) 2006-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; only version 2 of the license is applicable. * * This program is dis...
abwaheed/collectd
src/virt.c
C
gpl-2.0
28,983
/******************************************************* HIDAPI - Multi-Platform library for communication with HID devices. Alan Ott Signal 11 Software 8/22/2009 Linux Version - 6/2/2010 Libusb Version - 8/13/2010 Copyright 2009, All Rights Reserved. At the discretion of the user of this library, this s...
seergey/LPD
Software/src/hidapi/linux/hid-libusb.c
C
gpl-3.0
37,330
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.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 ...
dr4g0nsr/mplayer-skyviia-8860
mplayer_android/libfaad2/pulse.c
C
gpl-3.0
1,766
/* * HMAC_DRBG implementation (NIST SP 800-90) * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 ...
RetroPie/RetroArch
deps/mbedtls/hmac_drbg.c
C
gpl-3.0
11,071
#include "clar_libgit2.h" #include "git2/rebase.h" #include "posix.h" #include <fcntl.h> static git_repository *repo; static git_index *_index; static git_signature *signature; /* Fixture setup and teardown */ void test_rebase_iterator__initialize(void) { repo = cl_git_sandbox_init("rebase"); cl_git_pass(git_repos...
chigraph/chigraph
third_party/libgit2/tests/rebase/iterator.c
C
apache-2.0
4,490
/* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <assert.h> #include <string.h> #include <platform_def.h> #include <arch_helpers.h> #include <common/bl_common.h> #include <common/debug.h> #include <drivers/console.h> #include <lib/m...
jenswi-linaro/arm-trusted-firmware
plat/hisilicon/hikey/hisi_mcu.c
C
bsd-3-clause
5,381
/* gdtr.c * * Gamma distribution function * * * * SYNOPSIS: * * double a, b, x, y, gdtr(); * * y = gdtr( a, b, x ); * * * * DESCRIPTION: * * Returns the integral from zero to x of the Gamma probability * density function: * * * x * b - * a | | b-1 -...
lesserwhirls/scipy-cwt
scipy/special/cephes/gdtr.c
C
bsd-3-clause
2,044
/* * Copyright (c) 2014, 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 h...
TheNameIsNigel/android_kernel_huawei_msm8916
mm/showmem.c
C
gpl-2.0
1,472
/* Return nonzero value if number is negative. Copyright (C) 1997-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
VincentS/glibc
sysdeps/ieee754/ldbl-96/s_signbitl.c
C
gpl-2.0
984
/* * Kernel-based Virtual Machine driver for Linux * * This module enables machines with Intel VT-x extensions to run virtual * machines without emulation or binary translation. * * Copyright (C) 2006 Qumranet, Inc. * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * Authors: * Avi Kivity <avi@qumra...
hackeran/linux-netmap
arch/x86/kvm/vmx.c
C
gpl-2.0
215,158
/* * Adapted from Linux v2.6.36 kernel: arch/powerpc/kernel/asm-offsets.c * * This program is used to generate definitions needed by * assembly language modules. * * We use the technique used in the OSF Mach kernel code: * generate asm statements containing #defines, * compile this file to assembler, and then e...
dingguanliang/uboot2014formicro2440
u-boot-2014.10/lib/asm-offsets.c
C
gpl-2.0
1,153
/* sec_nad.c * * Copyright (C) 2016 Samsung Electronics * * 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...
Fevax/android_kernel_samsung_universal8890-N
drivers/staging/samsung/sec_nad.c
C
gpl-2.0
5,334
/* Copyright (C) 1999-2015 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 ...
wjflyhigh/glibc-2.21
libio/iofwide.c
C
gpl-2.0
14,044
/* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */ /* { dg-add-options arm_v8_1m_mve_fp } */ /* { dg-additional-options "-O2" } */ #include "arm_mve.h" int16x8_t foo (int16_t a) { return vdupq_n_s16 (a); } /* { dg-final { scan-assembler "vdup.16" } } */
Gurgel100/gcc
gcc/testsuite/gcc.target/arm/mve/intrinsics/vdupq_n_s16.c
C
gpl-2.0
268
/** * this is a small sample script to use libmbfl. * Rui Hirokawa <hirokawa@php.net> * * this file is encoded in EUC-JP. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "mbfl/mbfilter.h" int main(int argc, char **argv) { enum mbfl_no_encoding no_encoding; enum mbfl_no_language no_langua...
scottmac/libmbfl-old
tests/strwidth.c
C
lgpl-2.1
1,630
/* { dg-do run } */ /* { dg-options "-O2 -fno-strict-aliasing -msse2" } */ /* { dg-additional-options "-mno-mmx" { target { ! ia32 } } } */ #include "sse2-check.h" #include "mmx-vals.h" __attribute__((noinline, noclone)) static void test_pavgw (long long *ll1, long long *ll2, long long *r) { __m64 t1 = *(__m64 *) ...
Gurgel100/gcc
gcc/testsuite/gcc.target/i386/sse2-mmx-pavgw.c
C
gpl-2.0
1,142
// SPDX-License-Identifier: GPL-2.0-only /* * Driver for Allwinner sun4i Pulse Width Modulation Controller * * Copyright (C) 2014 Alexandre Belloni <alexandre.belloni@free-electrons.com> */ #include <linux/bitops.h> #include <linux/clk.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/io.h> #inclu...
Pingmin/linux
drivers/pwm/pwm-sun4i.c
C
gpl-2.0
10,172
/* Return hyperbole sine of complex float value. Copyright (C) 2004, 2005 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 ...
mseaborn/nacl-glibc
sysdeps/alpha/fpu/s_csinhf.c
C
gpl-2.0
1,534
/* * meson-rng.c - Random Number Generator driver for the Amlogic Meson * * Copyright (C) 2014 Amlogic, 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; * * This program is distri...
Raybuntu/linux
drivers/char/hw_random/meson-rng.c
C
gpl-2.0
2,395
/* { dg-do compile } */ /* { dg-options "-O2 -ftree-vectorize" } */ #define DEF_LOOP(TYPE, NAME, CONST) \ void \ test_##TYPE##_##NAME (TYPE *restrict x, \ TYPE *restrict pred, int n) \ { \ for (int i = 0; i < n; ++i) \ x[i] = pred[i] > 0 ? CONST : 0; \ } #define TEST_TYPE(T, T...
Gurgel100/gcc
gcc/testsuite/gcc.target/aarch64/sve/vcond_18.c
C
gpl-2.0
2,209
/* vi: set sw=4 ts=4: */ /* * Display or change file attributes on a fat file system * * Copyright 2005 H. Peter Anvin * Busybox'ed (2014) by Pascal Bellard <pascal.bellard@ads-lu.com> * * This file can be redistributed under the terms of the GNU General * Public License */ //config:config FATATTR //config: boo...
josefbacik/busybox
util-linux/fatattr.c
C
gpl-2.0
2,628
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License...
md-5/jdk10
test/hotspot/jtreg/runtime/exceptionMsgs/ArrayStoreException/libArrayStoreExceptionTest.c
C
gpl-2.0
1,386
/* * Copyright (C) 2003-2011 The Music Player Daemon Project * http://www.musicpd.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 opti...
lintweaker/mpd-dsd
src/archive_api.c
C
gpl-2.0
2,982
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */ #include "test_sve_acle.h" /* ** qincd_1_s64_tied: ** sqincd z0\.d ** ret */ TEST_UNIFORM_Z (qincd_1_s64_tied, svint64_t, z0 = svqincd_s64 (z0, 1), z0 = svqincd (z0, 1)) /* ** qincd_1_s64_untied: ** movprfx z0, z1 ** sqincd z0\.d ** ret */ TEST_U...
Gurgel100/gcc
gcc/testsuite/gcc.target/aarch64/sve/acle/asm/qincd_s64.c
C
gpl-2.0
1,961
/* SPARC translation Copyright (C) 2003 Thomas M. Ogrisegg <tom@fnord.at> Copyright (C) 2003-2005 Fabrice Bellard 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 v...
kashifqazi/qemu-migration
target-sparc/translate.c
C
gpl-2.0
194,729
/* * RL2 Format Demuxer * Copyright (c) 2008 Sascha Sommer (saschasommer@freenet.de) * * 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...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/libavformat/rl2.c
C
gpl-3.0
8,972
/*- * Copyright (c) 2001-2007, by Weongyo Jeong. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * a) Redistributions of source code must retain the above copyright notice, * this list of...
sctplab/sctp-refimpl
APPS/sock_regression/ut_002_setopt/ut_002_setopt.c
C
bsd-2-clause
16,783
// SPDX-License-Identifier: LGPL-2.1 /* * fs/cifs/file.c * * vfs operations that deal with files * * Copyright (C) International Business Machines Corp., 2002,2010 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * */ #include <linux/fs.h> #include <linux/ba...
cminyard/linux-live-app-coredump
fs/cifs/file.c
C
gpl-2.0
129,758
/* * sched_clock.c: support for extending counters to full 64-bit ns counter * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/clocksource.h> #include <linux/i...
evil-god/runbo-q5x6
kernel/arch/arm/kernel/sched_clock.c
C
gpl-2.0
4,984
/* Copyright (C) 2004 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in t...
lzpfmh/oceanbase
oceanbase_0.4/tools/sysbench/sysbench/drivers/mysql/drv_mysql.c
C
gpl-2.0
26,182
/* libco.armeabi (2013-04-05) author: Themaister license: public domain */ #define LIBCO_C #include <libco.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #ifndef __APPLE__ #include <malloc.h> #endif #ifdef __cplusplus extern "C" { #endif static thread_local uint32_t co_acti...
rootfather/RetroArch
libretro-common/libco/armeabi.c
C
gpl-3.0
2,385
/* Test mpz_set_d and mpz_init_set_d. Copyright 2000, 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is part of the GNU MP Library test suite. The GNU MP Library test suite is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by th...
carthy/beard.gmp
tests/mpz/t-set_d.c
C
gpl-3.0
3,615
/**************************************************************************** * * Copyright 2016 Samsung Electronics All Rights Reserved. * * 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...
jsdosa/TizenRT
lib/libc/string/lib_strncasecmp.c
C
apache-2.0
3,488
/** ****************************************************************************** * @file stm32wlxx_ll_rcc.c * @author MCD Application Team * @brief RCC LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
adfernandes/mbed
targets/TARGET_STM/TARGET_STM32WL/STM32Cube_FW/STM32WLxx_HAL_Driver/stm32wlxx_ll_rcc.c
C
apache-2.0
34,267
/* * Copyright (c) 2001-2003 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). * 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 ...
dcui/FreeBSD-9.3_kernel
sys/contrib/ngatm/netnatm/sig/sig_verify.c
C
bsd-3-clause
11,592
/* * Bitmap of bitmaps, where each layer is number-of-bits-per-word smaller than * the previous. Hence an 'axmap', since we axe each previous layer into a * much smaller piece. I swear, that is why it's named like that. It has * nothing to do with anything remotely narcissistic. * * A set bit at layer N indicates...
laitianli/fio
lib/axmap.c
C
gpl-2.0
10,648
/* * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of th...
koct9i/linux
drivers/infiniband/hw/mlx5/main.c
C
gpl-2.0
187,266
/* * This file is part of the Sofia-SIP package * * Copyright (C) 2006 Nokia Corporation. * * Contact: Pekka Pessi <pekka.pessi@nokia.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 F...
deklab/dektalk
mobile/ios/dependencies/sources/sofia-sip/libsofia-sip-ua/nua/nua.c
C
apache-2.0
28,593
/* * Copyright 2012 Nouveau Community * * 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, copy, modify, merge, publi...
prasidh09/cse506
unionfs-3.10.y/drivers/gpu/drm/nouveau/core/subdev/bus/nv04.c
C
gpl-2.0
2,735
/* exynos_drm_fimd.c * * Copyright (C) 2011 Samsung Electronics Co.Ltd * Authors: * Joonyoung Shim <jy0922.shim@samsung.com> * Inki Dae <inki.dae@samsung.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 ...
garwynn/D710SPR_FL24_Kernel
drivers/gpu/drm/exynos/exynos_drm_fimd.c
C
gpl-2.0
35,585
/* * audio output driver for SDL 1.2+ * Copyright (C) 2012 Rudolf Polzer <divVerent@xonotic.org> * * This file is part of mpv. * * mpv is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 o...
typcn/mpv
audio/out/ao_sdl.c
C
gpl-2.0
5,530
/* * AAC encoder main-type prediction * Copyright (C) 2015 Rostislav Pehlivanov * * 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 ...
raj-bhatia/grooveip-ios-public
submodules/externals/ffmpeg/libavcodec/aacenc_pred.c
C
gpl-2.0
12,358
/* * Copyright (c) 2010-2013 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Obere Lagerstr. 30 * 82178 Puchheim * Germany * <rtems@embedded-brains.de> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.r...
jamieiles/rtems-oldland
c/src/lib/libbsp/arm/shared/arm-cp15-set-ttb-entries.c
C
gpl-2.0
1,585
/* i810_dma.c -- DMA support for the i810 -*- linux-c -*- * Created: Mon Dec 13 01:50:01 1999 by jhartmann@precisioninsight.com * * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. * All Rights Reserved. * * Permission is hereby granted, f...
AvaKathrynShaw/Linux-2.4.27.1
drivers/char/drm/i810_dma.c
C
gpl-2.0
33,038
/* * linux/fs/nfs/dir.c * * Copyright (C) 1992 Rick Sladkey * * nfs directory handling functions * * 10 Apr 1996 Added silly rename for unlink --okir * 28 Sep 1996 Improved directory cache --okir * 23 Aug 1997 Claus Heine claus@momo.math.rwth-aachen.de * Re-implemented silly rename for unli...
AOSP-Jaguar/android_kernel_sony_msm8974
fs/nfs/dir.c
C
gpl-2.0
60,692
/* PR middle-end/88968 */ /* { dg-do compile } */ struct __attribute__((packed)) S { unsigned int a : 16; unsigned int b : 1; } s; void f1 (void) { #pragma omp atomic ++s.a; } int f2 (void) { int r; #pragma omp atomic capture { r = s.a; s.a = 0; } return r; } int f3 (void) { int r; #pragma o...
Gurgel100/gcc
gcc/testsuite/c-c++-common/gomp/atomic-23.c
C
gpl-2.0
482
/* * drivers/base/power/runtime.c - Helper functions for device run-time PM * * Copyright (c) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. * Copyright (C) 2010 Alan Stern <stern@rowland.harvard.edu> * * This file is released under the GPLv2. */ #include <linux/sched.h> #include <linux/pm_runtime.h> #includ...
vwmofo/vigor_mofokernel
drivers/base/power/runtime.c
C
gpl-2.0
35,361
/*Daala video codec Copyright (c) 2013 Daala project contributors. 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...
KyleSiefring/daala
src/tests/logging_test.c
C
bsd-2-clause
6,855
/* * Generic process-grouping system. * * Based originally on the cpuset system, extracted by Paul Menage * Copyright (C) 2006 Google, Inc * * Notifications support * Copyright (C) 2009 Nokia Corporation * Author: Kirill A. Shutemov * * Copyright notices from the original cpuset code: * -------------...
dancefire/hd806-kernel-android
kernel/cgroup.c
C
gpl-2.0
129,386
#include <adapter/frontend.h> #include <demod/dib7000p.h> #include <tuner/dib0090.h> #include <sip/dibx090p.h> #include "dibx090p_priv.h" #ifdef CONFIG_BUILD_HOST //#define DYN_DEBUG_FULL_RF_LIST // ONLY FOR DRIVER DEBUG : Use of double and printf to log prediv/loopdiv found couples !!! #endif static const struct...
lgeek/linux-tronsmart-orion-r28
drivers/media/rkdtv/DIBCom7090/sip/dibx090p/dib7090p.c
C
gpl-2.0
23,090