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
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 */ /* * File : memheap.c * * Change Logs: * Date Author Notes * 2012-04-10 Bernard first implementation * 2012-10-16 Bernard add the mutex lock for heap object. * 2012-12-2...
wolfgangz2013/rt-thread
src/memheap.c
C
apache-2.0
24,210
/** * WinPR: Windows Portable Runtime * Schannel Security Package (OpenSSL) * * Copyright 2012-2014 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 the...
everhopingandwaiting/FreeRDP
winpr/libwinpr/sspi/Schannel/schannel_openssl.c
C
apache-2.0
11,667
/** * xrdp: A Remote Desktop Protocol server. * * Copyright (C) Jay Sorg 2004-2013 * * 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 ...
lmcro/xrdp
sesman/verify_user_pam_userpass.c
C
apache-2.0
2,454
/* * Copyright 2004,2005 The Apache Software 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 required by ap...
techhead/wsf_php_dist
wsf_c/sandesha2c/src/wsrm/fault_code.c
C
apache-2.0
6,161
/******************************************************************* * (c) Copyright 2011-2012 Discretix Technologies Ltd. * * This software is protected by copyright, international * * treaties and patents. * * Use of this Software as part of or with ...
wbrambley/Grace-kernel
drivers/hisi/keymaster/code/sym_adaptor_driver.c
C
gpl-2.0
37,771
/* Cypress WestBridge C110 Kernel Hal source file (cyashalc110_cram.c) ## =========================== ## Copyright (C) 2010 Cypress Semiconductor ## ## 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...
Entropy512/linux_kernel_sgh-i777
drivers/staging/westbridge/astoria/arch/arm/mach-c110/cyashalc110_cram.c
C
gpl-2.0
43,905
/* Test the `vld4u64' ARM Neon intrinsic. */ /* This file was autogenerated by neon-testgen. */ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-options "-save-temps -O0 -mfpu=neon -mfloat-abi=softfp" } */ #include "arm_neon.h" void test_vld4u64 (void) { uint64x1x4_t out_uint64x...
zerovm/gcc
gcc/testsuite/gcc.target/arm/neon/vld4u64.c
C
gpl-2.0
627
/* * saf775x.c -- SAF775X Soc Audio driver * * Copyright (c) 2014-2015 NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundatio...
arter97/android_kernel_nvidia_shieldtablet
drivers/misc/saf775x/saf775x_stub.c
C
gpl-2.0
4,753
/* * This confidential and proprietary software may be used only as * authorised by a licensing agreement from ARM Limited * (C) COPYRIGHT 2013-2015 ARM Limited * ALL RIGHTS RESERVED * The entire notice above must be reproduced on all authorised * copies and copies may only be made to the extent permitted * by a...
JonnyXDA/android_kernel_ulefone_metal
drivers/misc/mediatek/gpu/gpu_mali/mali_utgard/mali/mali/linux/mali_memory_os_alloc.c
C
gpl-2.0
22,033
/* * budget-patch.c: driver for Budget Patch, * hardware modification of DVB-S cards enabling full TS * * Written by Emard <emard@softhome.net> * * Original idea by Roberto Deza <rdeza@unav.es> * * Special thanks to Holger Waechtler, Michael Hunold, Marian Durkovic * and Metzlerbros * * This program is free ...
pengdonglin137/linux-2.6.11
drivers/media/dvb/ttpci/budget-patch.c
C
gpl-2.0
24,925
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. Copyright 2013 Lennart Poettering systemd 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...
gebi/systemd
src/libsystemd/sd-bus/sd-bus.c
C
gpl-2.0
104,655
/* Copyright (C) 2003-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003. 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 pub...
bigzz/glibc
nptl/pthread_rwlock_wrlock.c
C
gpl-2.0
3,872
/* Copyright (C) 2001-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 Foundation; either version 2.1 of the ...
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/dlfcn/tstcxaatexit.c
C
gpl-2.0
1,666
#include <aubio.h> int main (void) { uint_t n = 10; // compute n times uint_t win_s = 1024; // window size uint_t hop_s = 256; // hop size // create some vectors fvec_t * in = new_fvec (hop_s); // input buffer cvec_t * fftgrain = new_cvec (win_s); // fft norm and phase cvec_t * cstead = new_cve...
madmouser1/aubio
tests/src/spectral/test-tss.c
C
gpl-3.0
1,505
/* mpfr_digamma -- digamma function of a floating-point number Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. Contributed by the AriC and Caramel projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/or modify it under th...
SaberMod/gnu-mpfr
src/digamma.c
C
lgpl-3.0
12,397
/* Copyright 2014 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
ksuarz/mongo-c-driver
src/mongoc/mongoc-scram.c
C
apache-2.0
22,798
/**************************************************************************** * arch/arm/src/stm32/stm32_rtc.c * * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitte...
gcds/project_xxx
nuttx/arch/arm/src/stm32/stm32_rtc.c
C
bsd-3-clause
3,762
/* * af_alg: User-space algorithm interface * * This file provides the user-space API for algorithms. * * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by th...
iwinoto/v4l-media_build
media/crypto/af_alg.c
C
gpl-2.0
9,495
/* * Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. * * This file is part of Jam - see jam.c for Copyright information. */ /* This file is ALSO: * Copyright 2001-2004 David Abrahams. * Copyright 2005 Rene Rivera. * Distributed under the Boost Software License, Version 1.0. * (See acco...
mxrrow/zaicoin
src/deps/boost/tools/build/v2/engine/fileunix.c
C
mit
12,906
/* * Copyright (C) 2013 Gautier Hattenberger * * Mixed with modified version of MNAV * * This file is part of paparazzi. * * paparazzi 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,...
lplp8899/paparazzi
sw/simulator/nps/nps_fdm_crrcsim.c
C
gpl-2.0
15,096
/* * Copyright (C) 2003 - 2009 NetXen, Inc. * Copyright (C) 2009 - QLogic Corporation. * 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 ...
MartinsAD/xperia-kernel-msm7x30
drivers/net/netxen/netxen_nic_init.c
C
gpl-2.0
38,864
/* * -- SuperLU routine (version 2.0) -- * Univ. of California Berkeley, Xerox Palo Alto Research Center, * and Lawrence Berkeley National Lab. * November 15, 1997 * */ /* * File name: dgsequ.c * History: Modified from LAPACK routine DGEEQU */ #include <math.h> #include "slu_ddefs.h" void dgsequ(SuperMat...
dilawar/sesc
src_without_LF/libsuperlu/dgsequ.c
C
gpl-2.0
5,512
/* { dg-require-effective-target arm_v8_1m_mve_ok } */ /* { dg-add-options arm_v8_1m_mve } */ /* { dg-additional-options "-O2" } */ #include "arm_mve.h" uint8x16_t foo (uint8x16_t inactive, uint32_t a, uint32_t b, mve_pred16_t p) { return vdwdupq_m (inactive, a, b, 4, p); } /* { dg-final { scan-assembler "vpst" } ...
Gurgel100/gcc
gcc/testsuite/gcc.target/arm/mve/intrinsics/vdwdupq_m_n_u8.c
C
gpl-2.0
603
/* Test DFP types and constants rejected if no DFP support. Bug 91985. */ /* { dg-do compile { target { ! dfp } } } */ /* { dg-options "-std=c2x" } */ _Decimal32 d32a; /* { dg-error "not supported" } */ _Decimal64 d64a; /* { dg-error "not supported" } */ _Decimal128 d128a; /* { dg-error "not supported" } */ _Boo...
Gurgel100/gcc
gcc/testsuite/gcc.dg/c2x-no-dfp-1.c
C
gpl-2.0
482
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2001-2002 Nokia Corporation * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com> * Copyright (C) 2002-2010 Marcel Holtmann <marcel@holtmann.org> * Copyright (C) 2002-2003 Stephen Crane <steve.crane@rococosoft.com> * Copyrig...
finikorg/android-bluez
tools/sdptool.c
C
gpl-2.0
123,092
/* * Copyright (C) 1995 Linus Torvalds * * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999 * * Memory region support * David Parsons <orc@pell.chi.il.us>, July-August 1999 * * Added E820 sanitization routine (removes overlapping memory regions); * Brian Moyle <bmoyle@mvista.com>, Februa...
IntelBUAP/Repo-Linux-RT
arch/x86/kernel/setup.c
C
gpl-2.0
32,295
/* * 32bit Socket syscall emulation. Based on arch/sparc64/kernel/sys_sparc32.c. * * Copyright (C) 2000 VA Linux Co * Copyright (C) 2000 Don Dugger <n0ano@valinux.com> * Copyright (C) 1999 Arun Sharma <arun.sharma@intel.com> * Copyright (C) 1997,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 19...
task650/kernel_htc_msm8974
net/compat.c
C
gpl-2.0
25,360
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-h235.c */ /* asn2wrs.py -p h235 -c ./h235.cnf -s ./packet-h235-template -D . -O ../.. H...
FabianKnapp/nexmon
utilities/wireshark/epan/dissectors/packet-h235.c
C
gpl-3.0
63,295
/** @file @ingroup cudd @brief %ADD ITE function and satellites. @author Fabio Somenzi @copyright@parblock Copyright (c) 1995-2015, Regents of the University of Colorado All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided ...
moves-rwth/storm
resources/3rdparty/cudd-3.0.0/cudd/cuddAddIte.c
C
gpl-3.0
15,444
/* ** 2001 September 16 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *******************...
aydancoskun/timetrex-community-edition
vendor/pear/pear/tests/PEAR_Installer/test_upgrade_pecl/libsqlite/src/os.c
C
agpl-3.0
51,622
/* This file is part of CanFestival, a library implementing CanOpen Stack. Copyright (C): Edouard TISSERANT and Francis DUPIN ARM Port: Peter CHRISTEN See COPYING file for copyrights details. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lice...
chrta/canfestival-3-ct
examples/AT91/Master/main.c
C
lgpl-2.1
5,235
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #include <ngx_channel.h> static void ngx_start_worker_processes(ngx_cycle_t *cycle, ngx_int_t n, ngx_int_t type); static void ngx_start_cache_manager_processes(ngx_cycle_t *cycl...
freeletics/nginx
src/os/unix/ngx_process_cycle.c
C
bsd-2-clause
32,767
/**************************************************************************** * libc/stdio/lib_fwrite.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are perm...
IUTInfoAix/terrarium_2015
nuttx/libc/stdio/lib_fwrite.c
C
bsd-2-clause
4,151
#include "ms_port.h" #include "ms_misc.h" #include "ms_mspro.h" #include "ms_protocol.h" extern unsigned check_one_boot_block; int ms_media_type_identification(MS_MSPRO_Card_Info_t *ms_mspro_info) { MS_MSPRO_Card_Buffer_t *ms_mspro_buf = (MS_MSPRO_Card_Buffer_t *)(ms_mspro_info->ms_mspro_buf); if((ms_mspro_buf->ms...
samnazarko/vero2-linux
drivers/amlogic/cardreader/ms/ms_protocol.c
C
gpl-2.0
75,975
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * gimpwindowstrategy.c * Copyright (C) 2011 Martin Nordholts <martinn@src.gnome.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Licens...
brion/gimp
app/widgets/gimpwindowstrategy.c
C
gpl-3.0
2,713
/*- * Copyright (c) 2007, by Cisco Systems, Inc. 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...
sctplab/sctp-refimpl
APPS/debug_tools/parse_log.c
C
bsd-2-clause
5,398
// RUN: %clang -target arm-none-eabi -### -c %s 2>&1 | FileCheck --check-prefix=STATIC %s // RUN: %clang -target arm-none-eabi -fropi -### -c %s 2>&1 | FileCheck --check-prefix=ROPI %s // RUN: %clang -target arm-none-eabi -frwpi -### -c %s 2>&1 | FileCheck --check-prefix=RWPI %s // RUN: %cla...
endlessm/chromium-browser
third_party/llvm/clang/test/Driver/ropi-rwpi.c
C
bsd-3-clause
3,736
/* SCTP kernel implementation * (C) Copyright IBM Corp. 2001, 2004 * Copyright (c) 1999-2000 Cisco, Inc. * Copyright (c) 1999-2001 Motorola, Inc. * Copyright (c) 2001-2002 Intel Corp. * Copyright (c) 2002 Nokia Corp. * * This is part of the SCTP Linux Kernel Implementation. * * These are the state functio...
wurikiji/ttFS
src/net/sctp/sm_statefuns.c
C
gpl-2.0
201,793
/* SPU native-dependent code for GDB, the GNU debugger. Copyright (C) 2006-2015 Free Software Foundation, Inc. Contributed by Ulrich Weigand <uweigand@de.ibm.com>. 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 Publi...
gbenson/binutils-gdb
gdb/spu-linux-nat.c
C
gpl-2.0
17,918
/* * fs/kernfs/file.c - kernfs file implementation * * Copyright (c) 2001-3 Patrick Mochel * Copyright (c) 2007 SUSE Linux Products GmbH * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> * * This file is released under the GPLv2. */ #include <linux/fs.h> #include <linux/seq_file.h> #include <linux/slab.h> #...
longman88/kernel-qspinlock
fs/kernfs/file.c
C
gpl-2.0
21,955
#include "wwd_resources.h" extern resource_hnd_t wifi_firmware_image; const resource_hnd_t* wwd_firmware_image_resource(void) { return &wifi_firmware_image; }
BrewPi/firmware
platform/spark/firmware/modules/photon/system-part1/src/wiced_stubs.c
C
agpl-3.0
165
/*=== *** test_1 (duk_safe_call) ==> rc=0, result='undefined' *** test_2 (duk_safe_call) ==> rc=1, result='TypeError: not null' *** test_3 (duk_safe_call) ==> rc=1, result='TypeError: not null' *** test_4 (duk_safe_call) ==> rc=1, result='TypeError: not null' ===*/ static duk_ret_t test_1(duk_context *ctx) { duk_set_...
kphillisjr/duktape
tests/api/test-require-null.c
C
mit
960
/* * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. * * 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 u...
chenshuo/linux-study
drivers/gpu/drm/i915/gvt/handlers.c
C
gpl-2.0
116,743
/* * HID support for Linux * * Copyright (c) 1999 Andreas Gal * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc * Copyright (c) 2006-2012 Jiri Kosina */ /* * This program is free software; you can redistribute it and/or...
animalcreek/linux
drivers/hid/hid-core.c
C
gpl-2.0
106,161
/* * linux/fs/binfmt_elf.c * * These are the functions used to load ELF format executables as used * on SVr4 machines. Information on the format may be found in the book * "UNIX SYSTEM V RELEASE 4 Programmers Guide: Ansi C and Programming Support * Tools". * * Copyright 1993, 1994: Eric Youngdale (ericy@cais.c...
sfumato77/Kernel-4.8_Android-x86_BayTrail
fs/binfmt_elf.c
C
gpl-2.0
62,307
/*************************************************************************/ /*! @Title Device specific power routines @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved @License Dual MIT/GPLv2 The contents of this file are subject to the MIT license as set out below. Permi...
Ryuinferno/Blazing_Kernel_t1
usr/pvr-source/services4/srvkm/devices/sgx/sgxpower.c
C
gpl-2.0
19,581
/* This testcase is part of GDB, the GNU debugger. Copyright 2015-2016 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 published by the Free Software Foundation; either version 3 of the License, or ...
freak97/binutils
gdb/testsuite/gdb.compile/compile-ifunc.c
C
gpl-2.0
1,137
/* * Common time routines among all ppc machines. * * Written by Cort Dougan (cort@cs.nmt.edu) to merge * Paul Mackerras' version and mine for PReP and Pmac. * MPC8xx/MBX changes by Dan Malek (dmalek@jlc.net). * Converted for 64-bit by Mike Corrigan (mikejc@us.ibm.com) * * First round of bugfixes by Gabriel Pau...
faust93/Ak-xGenesis-geehrc
arch/powerpc/kernel/time.c
C
gpl-2.0
26,549
/** @file AsmReadMm6 function Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at...
carmark/vbox
src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/Ia32/ReadMm6.c
C
gpl-2.0
889
/* I2C bus common (driver-independent) primitives implementation. * * Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia * Author: Victor V. Vengerov <vvv@oktet.ru> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * * http://www.rtems.org/lice...
heshamelmatary/rtems-rumpkernel
c/src/lib/libbsp/powerpc/gen5200/i2c/i2c.c
C
gpl-2.0
8,577
/* * arLabelingSub*.c * ARToolKit5 * * This file is part of ARToolKit. * * ARToolKit 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 3 of the License, or * (at your option...
lazyjarvis/artoolkit5
lib/SRC/AR/arLabelingSub/arLabelingSubEBI3CA5551.c
C
gpl-3.0
2,120
/* * i386 emulator main execution loop * * Copyright (c) 2003-2005 Fabrice Bellard * * This library is free software; you can redistribute it and/or
yasharmaster/scancode-toolkit
tests/cluecode/data/ics/qemu/cpu-exec.c
C
apache-2.0
155
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
standak3/m8_ul_4.4.2_original
arch/arm/mach-msm/msm_bus/msm_bus_noc.c
C
gpl-2.0
16,540
#include <stdlib.h> #include <string.h> #ifndef WIN32 #include "config.h" #endif #ifdef ENABLE_NLS #include <libintl.h> #endif #define _ISOC9X_SOURCE 1 #define _ISOC99_SOURCE 1 #define __USE_ISOC99 1 #define __USE_ISOC9X 1 #include <math.h> #include "ladspa.h" #ifdef WIN32 #...
rcorre/lmms
plugins/LadspaEffect/swh/dj_eq_1901.c
C
gpl-2.0
19,934
/* * This confidential and proprietary software may be used only as * authorised by a licensing agreement from ARM Limited * (C) COPYRIGHT 2010-2014 ARM Limited * ALL RIGHTS RESERVED * The entire notice above must be reproduced on all authorised * copies and copies may only be made to the extent permitted * by a...
XePeleato/android_ALE-L21_kernel
drivers/gpu/arm/mali4_64/r4p1_release/common/mali_kernel_utilization.c
C
gpl-2.0
12,627
/* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */ /* { dg-require-effective-target powerpc_p9vector_ok } */ /* { dg-options "-mcpu=power9" } */ #include <altivec.h> vector bool char fetch_data (vector unsigned char *arg1_...
mickael-guene/gcc
gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-2.c
C
gpl-2.0
524
/* * fs/libfs.c * Library for filesystems writers. */ #include <linux/export.h> #include <linux/pagemap.h> #include <linux/slab.h> #include <linux/mount.h> #include <linux/vfs.h> #include <linux/quotaops.h> #include <linux/mutex.h> #include <linux/exportfs.h> #include <linux/writeback.h> #include <linux/buffer_head...
SaatvikShukla/android_kernel_sony_msm8974
fs/libfs.c
C
gpl-2.0
26,409
/****************************************************************************** * $Id$ * * Project: TIFF Overview Builder * Purpose: Library functions to maintain two rows of tiles or two strips * of data for output overviews as an output cache. * Author: Frank Warmerdam, warmerdam@pobox.com * **...
Distrotech/clamav
win32/clamav-for-windows/sigui/wxWidgets-2.9.1/src/tiff/contrib/addtiffo/tif_ovrcache.c
C
gpl-2.0
13,970
/******************************************************************************* Intel 10 Gigabit PCI Express Linux driver Copyright(c) 1999 - 2013 Intel Corporation. This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU General Public License, ver...
ziqiaozhou/cachebar
source/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
C
gpl-2.0
238,542
// SPDX-License-Identifier: GPL-2.0-or-later /* * IO workarounds for PCI on Celleb/Cell platform * * (C) Copyright 2006-2007 TOSHIBA CORPORATION */ #undef DEBUG #include <linux/kernel.h> #include <linux/of_platform.h> #include <linux/slab.h> #include <linux/io.h> #include <asm/ppc-pci.h> #include <asm/pci-bridge...
CSE3320/kernel-code
linux-5.8/arch/powerpc/platforms/cell/spider-pci.c
C
gpl-2.0
4,277
#include <stdio.h> #include <string.h> void main () { int n; scanf("%d", &n); int i; int k; for(i = 0; i <= n; i++) { for(k = 0; k < n - i; k++) { printf(" "); } for(k = 0; k < 2*i - 1;k++) { printf("*"); } printf(...
MarchiT/po-homework
2015-2016/G/19/03/triangle.c
C
mit
336
// This file is dual licensed under the terms of the Apache License, Version // 2.0, and the BSD License. See the LICENSE file in the root of this // repository for complete details. /* Returns the value of the input with the most-significant-bit copied to all of the bits. */ static uint8_t Cryptography_DUPLICATE_M...
deandunbar/html2bwml
venv/lib/python2.7/site-packages/cryptography/hazmat/primitives/src/padding.c
C
mit
1,476
/* * arch/arm/mach-ixp2000/ixdp2x01.c * * Code common to Intel IXDP2401 and IXDP2801 platforms * * Original Author: Andrzej Mialkowski <andrzej.mialkowski@intel.com> * Maintainer: Deepak Saxena <dsaxena@plexity.net> * * Copyright (C) 2002-2003 Intel Corp. * Copyright (C) 2003-2004 MontaVista Software, Inc. * ...
impedimentToProgress/UCI-BlueChip
snapgear_linux/linux-2.6.21.1/arch/arm/mach-ixp2000/ixdp2x01.c
C
mit
12,151
/* * (C) Copyright 2001 * Raymond Lo, lo@routefree.com * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licen...
haitend/uboot_for_mpc8315_2012.10
disk/part_dos.c
C
gpl-2.0
7,741
/* * R : A Computer Language for Statistical Data Analysis * Copyright (C) 1999-2010 The R Core Team. * * Based on ACM TOMS643 (1993) * * 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 Founda...
allr/timeR
src/library/stats/src/fexact.c
C
gpl-2.0
53,708
#include "obs-ffmpeg-mux.h" #define do_log(level, format, ...) \ blog(level, "[ffmpeg hls muxer: '%s'] " format, \ obs_output_get_name(stream->output), ##__VA_ARGS__) #define warn(format, ...) do_log(LOG_WARNING, format, ##__VA_ARGS__) #define info(format, ...) do_log(LOG_INFO, format, ##_...
c3r1c3/obs-studio
plugins/obs-ffmpeg/obs-ffmpeg-hls-mux.c
C
gpl-2.0
8,580
/******************************************************************************************* Copyright 2010 Broadcom Corporation. All rights reserved. Unless you and Broadcom execute a separate written software license agreement governing use of this software, this software is licensed to you under the terms of the...
mohammad92/GT-S5360_Kernel_GB_Opensource_Update4
modules/drivers/sound/brcm/alsa_athena/audio_stubs.c
C
gpl-2.0
3,890
/* packet-mndp.c * Routines for the disassembly of the Mikrotik Neighbor Discovery Protocol * * Copyright 2011 Joerg Mayer (see AUTHORS file) * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute i...
pmembrey/wireshark
epan/dissectors/packet-mndp.c
C
gpl-2.0
10,246
/* { dg-do assemble { target aarch64_asm_sve_ok } } */ /* { dg-options "-O2 -ftree-vectorize -msve-vector-bits=512 --save-temps" } */ #include "struct_vect_14.c" /* { dg-final { scan-assembler-times {\tld2b\t{z[0-9]+.b - z[0-9]+.b}, p[0-7]/z, \[x[0-9]+\]\n} 1 } } */ /* { dg-final { scan-assembler-times {\tld3b\t{z[0-...
Gurgel100/gcc
gcc/testsuite/gcc.target/aarch64/sve/struct_vect_15.c
C
gpl-2.0
2,663
/* * Essential Camera Sensor Driver * * Copyright (c) 2012 Marvell Ltd. * Jiaquan Su <jqsu@marvell.com> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /* basic senso...
bensonhsu2013/diff-T210-T110
drivers/media/video/ecs/ecs-core.c
C
gpl-2.0
12,251
#if !defined(_FX_JPEG_TURBO_) /* * jerror.c * * Copyright (C) 1991-1998, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains simple error-reporting and trace-message routines. * ...
s20121035/rk3288_android5.1_repo
external/pdfium/core/src/fxcodec/libjpeg/fpdfapi_jerror.c
C
gpl-3.0
8,126
/* Tests of setenv. Copyright (C) 2009-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 published by the Free Software Foundation; either version 3 of the License, or (at your option) any late...
ashking/Cloud9
node_modules/jsDAV/node_modules/gnu-tools/grep-src/gnulib-tests/test-setenv.c
C
gpl-3.0
1,606
#include <gdk/gdk.h> #include <gtk/gtk.h> #include <gdkx.h> #include <stdio.h> #include <errno.h> #include <sys/wait.h> #include <unistd.h> #include <X11/extensions/shape.h> #include <gdk-pixbuf/gdk-pixbuf.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <signal.h> #include <unistd.h> #in...
Sidnioulz/SandboxGtk
docs/tools/shooter.c
C
lgpl-2.1
6,717
/* * atlas-ph-sensor.c - Support for Atlas Scientific OEM pH-SM sensor * * Copyright (C) 2015 Matt Ranostay <mranostay@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 ...
puppybane/linux-cyrus
drivers/iio/chemical/atlas-ph-sensor.c
C
gpl-2.0
16,870
/* * patch.c - livepatch patching functions * * Copyright (C) 2014 Seth Jennings <sjenning@redhat.com> * Copyright (C) 2014 SUSE * Copyright (C) 2015 Josh Poimboeuf <jpoimboe@redhat.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licen...
Taeung/tip
kernel/livepatch/patch.c
C
gpl-2.0
7,217
/* drivers/video/msm/mddi_nt_panels/mddi_nt_sony_acx424akm.c * * Copyright (C) 2010 Sony Ericsson Mobile Communications AB. * * 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; eit...
kh007im/ngawi-ics
drivers/video/msm/mddi_nt_panels/mddi_nt_sony_acx424akm.c
C
gpl-2.0
3,679
/* * Memory merging support. * * This code enables dynamic sharing of identical pages found in different * memory areas, even if they are not shared by fork() * * Copyright (C) 2008-2009 Red Hat, Inc. * Authors: * Izik Eidus * Andrea Arcangeli * Chris Wright * Hugh Dickins * * This work is licensed under t...
daivietpda/M7WLJ-5.0.2
mm/ksm.c
C
gpl-2.0
65,489
/* * arch/arm/mach-ixp4xx/vulcan-setup.c * * Arcom/Eurotech Vulcan board-setup * * Copyright (C) 2010 Marc Zyngier <maz@misterjones.org> * * based on fsg-setup.c: * Copyright (C) 2008 Rod Whitby <rod@whitby.id.au> */ #include <linux/if_ether.h> #include <linux/irq.h> #include <linux/serial.h> #include <linux/...
Oleh-Kravchenko/asusp535
arch/arm/mach-ixp4xx/vulcan-setup.c
C
gpl-2.0
6,093
/** * Copyright (c) 2016 - 2017, Nordic Semiconductor ASA * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
weiyuliang/rt-thread
bsp/nrf52832/nRF5_SDK_13.0.0_04a0bfd/components/libraries/experimental_section_vars/nrf_section_iter.c
C
apache-2.0
3,920
#include <_ansi.h> #include <ctype.h> #undef _toupper int _DEFUN(_toupper,(c),int c) { return islower(c) ? c - 'a' + 'A' : c; }
shaotuanchen/sunflower_exp
tools/source/newlib-1.9.0/newlib/libc/ctype/_toupper.c
C
bsd-3-clause
131
/* ---------------------------------------------------------------------- * Copyright (C) 2010 ARM Limited. All rights reserved. * * $Date: 15. February 2012 * $Revision: V1.1.0 * * Project: CMSIS DSP Library * Title: arm_cmplx_conj_q15.c * * Description: Q15 compl...
kentdev/m4-text-editor
lib/dsp/ComplexMathFunctions/arm_cmplx_conj_q15.c
C
mit
4,168
/* Screen10 * * This routine generates error screen 10 for test 9. * * Input parameters: NONE * * Output parameters: NONE * * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this ...
heshamelmatary/rtems-rumpkernel
testsuites/sptests/spratemon_err01/screen10.c
C
gpl-2.0
6,563
/* * Copyright (c) 2013-2015 TRUSTONIC LIMITED * 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 as published by the Free Software Foundation. * * This program is distributed in the hope that it will...
jcadduono/android_kernel_lge_msm8996
drivers/gud/MobiCoreDriver/client.c
C
gpl-2.0
22,678
/* * Copyright 2012-15 Advanced Micro Devices, Inc. * * 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...
aristeu/linux-2.6
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
C
gpl-2.0
50,793
/* vi: set sw=4 ts=4: */ /* * util.c --- helper functions used by tune2fs and mke2fs * * Copyright 1995, 1996, 1997, 1998, 1999, 2000 by Theodore Ts'o. * * %Begin-Header% * This file may be redistributed under the terms of the GNU Public * License. * %End-Header% */ #include <stdio.h> #include <string.h> #inc...
rhuitl/uClinux
user/busybox/e2fsprogs/old_e2fsprogs/util.c
C
gpl-2.0
6,997
/* * wrapper to call all the mib module initialization functions */ #include <net-snmp/agent/mib_module_config.h> #include <net-snmp/net-snmp-config.h> #if HAVE_STRING_H #include <string.h> #else #include <strings.h> #endif #if HAVE_STDLIB_H #include <stdlib.h> #endif #if HAVE_UNISTD_H #include <unistd.h> #endif #i...
ZHAW-INES/rioxo-uClinux-dist
user/net-snmp/net-snmp-5.7.1/agent/mib_modules.c
C
gpl-2.0
1,923
/* * DHD Bus Module for SDIO * * Copyright (C) 1999-2011, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2 (the "GPL"), ...
godmachine81/AsusTF300-Enhanced-Kernel
drivers/net/wireless/bcmdhd/dhd_sdio.c
C
gpl-2.0
179,132
#include <config.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "internal.h" #include "virxml.h" #include "testutils.h" #include "xen/xen_hypervisor.h" #include "virfile.h" #include "virstring.h" #define VIR_FROM_THIS VIR_FROM_NONE static int testCompareFiles(virArch host...
KKoukiou/my_libvirt_clone
tests/xencapstest.c
C
gpl-2.0
6,605
/* linux/driver/spi/spi_aic3254.c * * * Copyright (C) 2009 HTC Corporation. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distribute...
idanfima/Jetstreamkernel
drivers/spi/spi_aic3254.c
C
gpl-2.0
27,623
/****************************************************************************** * * Module Name: evevent - Fixed Event handling and dispatch * *****************************************************************************/ /* * Copyright (C) 2000 - 2007, R. Byron Moore * All rights reserved. * * Redistribution ...
janrinze/loox7xxport.loox2624
drivers/acpi/events/evevent.c
C
gpl-2.0
9,183
// SPDX-License-Identifier: GPL-2.0-only /* * cec-adap.c - HDMI Consumer Electronics Control framework - CEC adapter * * Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved. */ #include <linux/errno.h> #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <l...
penberg/linux
drivers/media/cec/core/cec-adap.c
C
gpl-2.0
64,306
// SPDX-License-Identifier: GPL-2.0-or-later /******************************************************************************* * This file contains tcm implementation using v4 configfs fabric infrastructure * for QLogic target mode HBAs * * (c) Copyright 2010-2013 Datera, Inc. * * Author: Nicholas A. Bellinger <na...
chenshuo/linux-study
drivers/scsi/qla2xxx/tcm_qla2xxx.c
C
gpl-2.0
55,342
/* * Copyright (c) 2000-2003 Silicon Graphics, Inc. * 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. * * This program is distributed in the hope that it would be ...
HarveyHunt/linux
fs/xfs/xfs_dquot_item.c
C
gpl-2.0
12,411
/** * collectd - src/tests/common_test.c * Copyright (C) 2013 Florian octo Forster * * 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 limitat...
mihu/collectd
src/tests/common_test.c
C
gpl-2.0
6,071
/* Unix SMB/CIFS implementation. RPC pipe client Copyright (C) Tim Potter 2000 Copyright (C) Guenther Deschner 2008 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either versi...
zarboz/XBMC-PVR-mac
tools/darwin/depends/samba/samba-3.6.6/source3/rpcclient/cmd_netlogon.c
C
gpl-2.0
31,335
/* * wm5102.c -- WM5102 ALSA SoC Audio driver * * Copyright 2012 Wolfson Microelectronics plc * * Author: Mark Brown <broonie@opensource.wolfsonmicro.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 b...
gokulnatha/GT-I9500
sound/soc/codecs/wm5102.c
C
gpl-2.0
54,078
/* Copyright (c) 2012, Broadcom Europe Ltd 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 of conditions and t...
joolswills/RetroArch
gfx/include/userland/interface/vmcs_host/linux/vcfiled/vcfiled_lock_test.c
C
gpl-3.0
2,527
/* * Copyright (c) 2017, Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
quark-mcu/qmsi
soc/quark_se/drivers/power_states.c
C
bsd-3-clause
6,580
/* sdb - MIT - Copyright 2012-2017 - pancake */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "rangstr.c" #include "../types.h" SDB_IPI void json_path_first(Rangstr *s) { char *p; if (!s->p) { return; } p = strchr (s->p, '.'); s->f = 0; s->t = p? (size_t)(p - s->p): strlen (s->p); } SDB...
radare/sdb
src/json/path.c
C
mit
4,176
/* * IPv6 over IPv4 tunnel device - Simple Internet Transition (SIT) * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publi...
goodwinos/linux-dm
net/ipv6/sit.c
C
gpl-2.0
39,848