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
/* This file is an automatically generated file, please do not edit this file, modify the XlibParser.java file instead !*/ #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xos.h> #include <X11/Xatom.h> #include <stdio.h> #include <X11/extensions/Xdbe.h> #include "awt_p.h" #include "color.h" #include "colord...
Distrotech/icedtea7-2.3
generated/sun/awt/X11/generator/sizer.32.c
C
gpl-2.0
81,887
/* * Asterisk -- A telephony toolkit for Linux. * * Connect to MySQL * * Copyright (C) 2004, Constantine Filin and Christos Ricudis * * Christos Ricudis <ricudis@itc.auth.gr> * Constantine Filin <cf@intermedia.net> * * This program is free software, distributed under the terms of * the GNU General Public Li...
kidmaple/CoolWall
user/asterisk-addons/app_addon_sql_mysql.c
C
gpl-2.0
11,750
/* * MMX and SSE2 optimized snow DSP utils * Copyright (c) 2005-2006 Robert Edele <yartrebo@earthlink.net> * * 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 Foundat...
WinnerSoftLab/WinnerMediaPlayer
src/ExtLib/ffmpeg/libavcodec/x86/snowdsp.c
C
gpl-3.0
40,619
/*------------------------------------------------------------------------- * * createuser * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/bin/scripts/createuser.c * *---------------------------------------...
techdragon/Postgres-XL
src/bin/scripts/createuser.c
C
mpl-2.0
10,455
/* ********************************************************** * Copyright (c) 2013-2014 Google, Inc. All rights reserved. * Copyright (c) 2000-2008 VMware, Inc. All rights reserved. * **********************************************************/ /* * Redistribution and use in source and binary forms, with or witho...
bl4ckic3/dynamorio
core/arch/proc_shared.c
C
lgpl-2.1
7,015
/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* Copyright (C) 2011 Red Hat, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Lic...
x-hansong/aSpice
jni/src/spice-common/common/backtrace.c
C
apache-2.0
3,168
/* * Copyright 2009 Utkin Dmitry * * 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 agr...
tectronics/staff
staff/axis2/staff_security_module/src/StaffSecurityModule.c
C
apache-2.0
10,641
#include <stdlib.h> #include "sc2int.h" #include "xec-debug.h" param_list_t * param_list_new (param_t *param) { param_list_t *pl; pl = (param_list_t *)calloc (1, sizeof (*pl)); XEC_ASSERT0 (pl != NULL); if (pl != NULL) { TAILQ_INIT (pl); if (param != NULL) pl = param_list_link (pl, p...
cgerum/libcpu
test/libnix/tools/sc2int/lists.c
C
bsd-2-clause
2,023
/* Copyright (c) 2018, 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, this * l...
chshu/openthread
third_party/NordicSemiconductor/drivers/radio/mac_features/ack_generator/nrf_802154_enh_ack_generator.c
C
bsd-3-clause
12,001
// Copyright 2011 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
Tekserve/libwebp
src/enc/tree.c
C
bsd-3-clause
22,138
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Re...
honnibal/cython-blis
blis/_src/sandybridge/src/3/trsm/old/bli_trsm_blk_var3b.c
C
mit
5,929
/* ************************************************************************* * Ralink Tech Inc. * 5F., No.36, Taiyuan St., Jhubei City, * Hsinchu County 302, * Taiwan, R.O.C. * * (c) Copyright 2002-2010, Ralink Technology, Inc. * * This program is free software; you can redistribute it and/or modify * * it u...
Pivosgroup/TOFULinux-kernel
drivers/amlogic/wifi/mt7601uap/ap/ap_dls.c
C
gpl-2.0
10,412
/* * arch/arm/mach-tegra/tegra_core_volt_cap.c * * Copyright (c) 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 those ter...
libing64/manifold_linux
arch/arm/mach-tegra/tegra_core_volt_cap.c
C
gpl-2.0
18,855
/* * pata_piccolo.c - Toshiba Piccolo PATA/SATA controller driver. * * This is basically an update to ata_generic.c to add Toshiba Piccolo support * then split out to keep ata_generic "clean". * * Copyright 2005 Red Hat Inc, all rights reserved. * * Elements from ide/pci/generic.c * Copyright (C) 2001...
meta-debian/linux-ltsi
drivers/ata/pata_piccolo.c
C
gpl-2.0
3,711
/* Copyright (c) 2002,2007-2011, 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 t...
kmobs/htc-kernel-pyramid
drivers/video/msm_8x60/gpu/kgsl_adreno220/kgsl_drawctxt.c
C
gpl-2.0
56,904
/* DVB USB compliant linux driver for Conexant USB reference design. * * The Conexant reference design I saw on their website was only for analogue * capturing (using the cx25842). The box I took to write this driver (reverse * engineered) is the one labeled Medion MD95700. In addition to the cx25842 * for analogu...
grate-driver/linux-2.6
drivers/media/dvb/dvb-usb/cxusb.c
C
gpl-2.0
51,101
/***************************************************************************** * dvdread.c : DvdRead input module for vlc ***************************************************************************** * Copyright (C) 2001-2006 VLC authors and VideoLAN * $Id$ * * Authors: Stéphane Borel <stef@via.ecp.fr> * ...
lu-zero/vlc
modules/access/dvdread.c
C
gpl-2.0
42,005
#include "lolevel.h" #include "platform.h" #include "core.h" #include "conf.h" static long *nrflag = (long*)0xD1B4; #include "../../../generic/capt_seq.c" void __attribute__((naked,noinline)) sub_FFB2E77C_my(long p) { asm volatile ( "STMFD SP!, {R4,LR}\n" "MOV R4, R0\n" ...
pixeldoc2000/chdk
platform/tx1/sub/101b/capt_seq.c
C
gpl-2.0
13,194
/* * drivers/video/decon/panels/S6E3HA0_lcd_ctrl.c * * Samsung SoC MIPI LCD CONTROL functions * * Copyright (c) 2014 Samsung Electronics * * Jiun Yu, <jiun.yu@samsung.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 ...
SamsungGalaxyS6/Hacker_Kernel_SM-G92X
drivers/video/exynos/decon/panels/s6e3ha2_s6e3ha0_wqhd_lcd_ctrl.c
C
gpl-2.0
67,022
/* radiotrack (radioreveal) driver for Linux radio support * (c) 1997 M. Kirkwood * Coverted to new API by Alan Cox <Alan.Cox@linux.org> * Various bugfixes and enhancements by Russell Kroll <rkroll@exploits.org> * * History: * 1999-02-24 Russell Kroll <rkroll@exploits.org> * Fine tuning/VIDEO_TUNER_LOW * Fre...
robacklin/celinux
drivers/media/radio/radio-aimslab.c
C
gpl-2.0
9,187
/* $Id: logrel.cpp $ */ /** @file * Runtime VBox - Release Logger. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the ter...
kavishme/kvm
ubuntu/vbox/vboxguest/common/log/logrel.c
C
gpl-2.0
5,911
/* { dg-do run { target { power10_hw } } } */ /* { dg-do link { target { ! power10_hw } } } */ /* { dg-require-effective-target power10_ok } */ /* { dg-options "-O1 -mdejagnu-cpu=power10" } */ /* See vec-stril-19.c for the same test with -O2 optimization. */ #include <altivec.h> extern void abort (void); vector sig...
Gurgel100/gcc
gcc/testsuite/gcc.target/powerpc/vec-stril-18.c
C
gpl-2.0
1,916
/* Copyright 2020 tominabox1 * * 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...
kmtoki/qmk_firmware
keyboards/le_chiffre/keymaps/via/keymap.c
C
gpl-2.0
6,077
#include "blaswrap.h" #include "f2c.h" /* Subroutine */ int dlauu2_(char *uplo, integer *n, doublereal *a, integer * lda, integer *info) { /* -- LAPACK auxiliary routine (version 3.0) -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., Courant Institute, Argonne National Lab, and Rice ...
dilawar/sesc
src_without_LF/libsesctherm/CLAPACK/SRC/dlauu2.c
C
gpl-2.0
4,403
/****************************************************************************** * * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU Genera...
s20121035/rk3288_android5.1_repo
kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/rtw_cmd.c
C
gpl-3.0
101,665
/* * H.26L/H.264/AVC/JVT/14496-10/... encoder/decoder * Copyright (c) 2003-2011 Michael Niedermayer <michaelni@gmx.at> * * 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 Soft...
sexroute/commandergenius
project/jni/ffmpeg/libavcodec/h264pred_template.c
C
lgpl-2.1
42,091
/* * Copyright (C) 2016 Freie Universität Berlin * * 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 lpd8808 * @{ * * @file * @brief LPD8808 based LED strip drive...
kaleb-himes/RIOT
drivers/lpd8808/lpd8808.c
C
lgpl-2.1
1,741
/** ****************************************************************************** * @file stm32f1xx_ll_adc.c * @author MCD Application Team * @brief ADC LL module driver ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c...
adfernandes/mbed
targets/TARGET_STM/TARGET_STM32F1/STM32Cube_FW/STM32F1xx_HAL_Driver/stm32f1xx_ll_adc.c
C
apache-2.0
41,328
/* * csum-file.c * * Copyright (C) 2005 Linus Torvalds * * Simple file write infrastructure for writing SHA1-summed * files. Useful when you write a file that you want to be * able to verify hasn't been messed with afterwards. */ #include "cache.h" #include "progress.h" #include "csum-file.h" static void flush...
racker/omnibus
source/git-1.7.6.4/csum-file.c
C
apache-2.0
2,581
/* * Copyright (c) 2013, Institute for Pervasive Computing, ETH Zurich * 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 ...
MohamedSeliem/contiki
examples/nrf52dk/coap-demo/resources/res-leds.c
C
bsd-3-clause
3,863
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <Python.h> #include <numpy/arrayobject.h> #include "numpy/ufuncobject.h" #include "compute_bounds.h" /* Define docstrings */ static char module_docstring[] = "Fast sigma clipping"; static char _sigma_clip_fast_docstring[] = "Compute sigma clipping"; /* Decla...
pllim/astropy
astropy/stats/src/fast_sigma_clip.c
C
bsd-3-clause
5,548
/*- * Copyright (C) 2010 Gabor Kovesdan <gabor@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notic...
jhbsz/OSI-OS
tools/test/iconv/const-gnuism.c
C
bsd-3-clause
2,152
// RUN: %libomp-compile-and-run // The test checks schedule(simd:runtime) // in combination with omp_set_schedule() #include <stdio.h> #include <stdlib.h> #include <omp.h> #if defined(WIN32) || defined(_WIN32) #include <windows.h> #define delay() Sleep(1); #define seten(a,b,c) _putenv_s((a),(b)) #else #include <unist...
endlessm/chromium-browser
third_party/llvm/openmp/runtime/test/worksharing/for/kmp_sch_simd_runtime_api.c
C
bsd-3-clause
7,118
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * libmm -- Access modem status & information from glib applications * * 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 Soft...
thezawad/ModemManager
libmm-glib/mm-modem-simple.c
C
gpl-2.0
16,820
/****************************************************************** * * * File : dense.c * * Programmers : Scott D. Cohen and Alan C. Hindmarsh @ LLNL * * Last Modified : 1 September 1994 ...
tfryett/qotoolbox
unixsrc/solvemc/dense.c
C
gpl-2.0
6,493
/* * Setup platform devices needed by the Freescale multi-port host * and/or dual-role USB controller modules based on the description * in flat device tree. * * 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 * F...
holyangel/LGE_G3
drivers/usb/host/fsl-mph-dr-of.c
C
gpl-2.0
7,925
/* * Quick & dirty crypto testing module. * * This will only exist until we have a better testing mechanism * (e.g. a char device). * * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org> * Copyright (c) 2007 Nokia Siemens Networks * * Updated R...
CPDroid/Samsung_STE_Kernel
crypto/tcrypt.c
C
gpl-2.0
28,629
/****************************************************************************** * * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. * * Portions of this file are derived from the ipw3945 project, as well * as portions of the ieee80211 subsystem header files. * * This program is free software; yo...
freexperia/android_kernel_sony_tegra
net/compat-wireless/drivers/net/wireless/iwlwifi/iwl-mac80211.c
C
gpl-2.0
42,802
/* * f_mtp.c -- USB MTP gadget driver * LG USB gadget driver for MTP sync * This program is the modified version of free software for LG USB gadget driver * Editor : jaeho.cho@lge.com * * Copyright (C) 2008 by LGE * * This software is licensed under the terms of the GNU General Public * License version 2, as published...
mtmichaelson/LG_Esteem_Kernel
drivers/usb/gadget/f_mtp.c
C
gpl-2.0
37,239
/* drivers/atm/eni.c - Efficient Networks ENI155P device driver */ /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ #include <linux/module.h> #include <linux/config.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/pci.h> #include <linux/errno.h> #include <linux/atm.h> #include <linux/a...
robacklin/celinux
drivers/atm/eni.c
C
gpl-2.0
63,709
/* * (c) Copyright 2003, 2006 Hewlett-Packard Development Company, L.P. * Alex Williamson <alex.williamson@hp.com> * Bjorn Helgaas <bjorn.helgaas@hp.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...
curbthepain/revkernel_us990
arch/ia64/kernel/acpi-ext.c
C
gpl-2.0
2,798
/* * Low level 3-way in-core file merge. * * Copyright (c) 2007 Junio C Hamano */ #include "cache.h" #include "attr.h" #include "xdiff-interface.h" #include "run-command.h" #include "ll-merge.h" #include "quote.h" struct ll_merge_driver; typedef int (*ll_merge_fn)(const struct ll_merge_driver *, mmbuffer_t...
sunny256/git
ll-merge.c
C
gpl-2.0
10,847
#include "analyzer-decls.h" void test(int start, int end, int step) { int i; __analyzer_dump_exploded_nodes (0); /* { dg-warning "1 processed enode" } */ for (i = start; i > end; i -= step) { __analyzer_eval (i > end); /* { dg-warning "TRUE" "true" } */ /* { dg-bogus "UNKNOWN" "unknown" { xfail *-*...
Gurgel100/gcc
gcc/testsuite/gcc.dg/analyzer/loop-start-down-to-end-by-step.c
C
gpl-2.0
1,182
/* * xHCI host controller driver * * Copyright (C) 2008 Intel Corp. * * Author: Sarah Sharp * Some code borrowed from the Linux EHCI driver. * * 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 Soft...
adafruit/adafruit-raspberrypi-linux
drivers/usb/host/xhci-ring.c
C
gpl-2.0
131,997
/* * This file is part of UBIFS. * * Copyright (C) 2006-2008 Nokia Corporation. * * 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 t...
holyangel/LGE_G3
fs/ubifs/shrinker.c
C
gpl-2.0
9,682
/* vi: set sw=4 ts=4: */ /* * execve() for uClibc * * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include <sys/syscall.h> #include <unistd.h> #include <string.h> #include <sys/param.h> libc_hidden_proto(execve) _sysc...
rhuitl/uClinux
uClibc/libc/sysdeps/linux/common/execve.c
C
gpl-2.0
433
// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -ffixed-point %s -emit-llvm -o - | FileCheck %s -check-prefixes=CHECK // // Check that we generate correct TBAA metadata for fixed-point types. void sfract(unsigned short _Fract *p, short _Fract *q, unsigned _Sat short _Fract *r, _Sat short _Fract *s) { ...
sabel83/metashell
3rd/templight/clang/test/CodeGen/fixed-point-tbaa.c
C
gpl-3.0
4,584
/* * S390 virtio-ccw loading program * * Copyright (c) 2013 Alexander Graf <agraf@suse.de> * * This work is licensed under the terms of the GNU GPL, version 2 or (at * your option) any later version. See the COPYING file in the top-level * directory. */ #include "s390-ccw.h" #include "virtio.h" char stack[PAG...
SurajAnil/KernelVirtualMachine
qemu/pc-bios/s390-ccw/main.c
C
gpl-3.0
3,249
/* * Copyright (c) 2012 Justin Ruggles <justin.ruggles@gmail.com> * * This file is part of Libav. * * Libav 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, o...
MikeSouza/mpc-hc
src/thirdparty/ffmpeg/libavresample/audio_data.c
C
gpl-3.0
10,353
/* * Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or...
prajnashi/ffmpeg
libavcodec/os2thread.c
C
lgpl-2.1
4,380
/* tsum -- test file for the list summation function Copyright 2004, 2005, 2006, 2007, 2008, 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/o...
SaberMod/gnu-mpfr
tests/tsum.c
C
lgpl-3.0
7,881
/** ****************************************************************************** * @file usbd_ioreq.c * @author MCD Application Team * @version V2.4.1 * @date 19-June-2015 * @brief This file provides the IO requests APIs for control endpoints. ********************************************...
lpodkalicki/stm32f401vct6u
usb_fs_device_class_cdc_example/lib/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c
C
bsd-2-clause
5,775
/* * * Copyright 2015, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
MakMukhi/grpc
src/core/lib/channel/connected_channel.c
C
bsd-3-clause
7,653
/* * * Hardware accelerated Matrox Millennium I, II, Mystique, G100, G200 and G400 * * (c) 1998-2002 Petr Vandrovec <vandrove@vc.cvut.cz> * * Portions Copyright (c) 2001 Matrox Graphics Inc. * * Version: 1.65 2002/08/14 * * MTRR stuff: 1998 Tom Rini <trini@kernel.crashing.org> * * Contributors: "menion?" <m...
AdaLovelance/lxcGrsecKernels
linux-3.14.37/drivers/video/matrox/matroxfb_Ti3026.c
C
gpl-2.0
26,238
/* * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische * Universitaet Berlin. See the accompanying file "COPYRIGHT" for * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. */ /* $Id: preprocess.c,v 1.4 1998/09/09 21:06:51 gert Exp $ */ #include <stdio.h> #include <assert.h> #include "...
msekletar/mgetty
voice/libmgsm/preprocess.c
C
gpl-2.0
2,882
/* Conversion from and to IBM281. Copyright (C) 1998-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Genera...
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/iconvdata/ibm281.c
C
gpl-2.0
1,082
/* * Copyright (c) 2003, 2007-14 Matteo Frigo * Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology * * 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 ...
Starlink/fftw
rdft/scalar/r2cb/hb_2.c
C
gpl-2.0
3,524
/* Copyright (C) 1991-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/resource/setrlimit64.c
C
gpl-2.0
1,479
/* Abstraction of GNU v2 abi. Copyright (C) 2001-2014 Free Software Foundation, Inc. Contributed by Daniel Berlin <dberlin@redhat.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 Public License as published by ...
zxombie/aarch64-freebsd-binutils
gdb/gnu-v2-abi.c
C
gpl-2.0
13,487
/***************************************************************************** * * STATUSWRL.C - Nagios 3-D (VRML) Network Status View * * * Description: * * This CGI will dynamically create a 3-D VRML model of all hosts that are * being monitored on your network. * * License: * * This program is free softw...
npe9/nagioscore
cgi/statuswrl.c
C
gpl-2.0
36,389
#include <aim.h> static int reportinterval(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) { guint16 interval; aim_rxcallback_t userfunc; interval = aimbs_get16(bs); if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->sub...
meh/bitlbee
protocols/oscar/stats.c
C
gpl-2.0
883
/* * Copyright (c) 2014 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 be u...
MassStash/htc_pme_kernel_sense_6.0
drivers/gud/TlcTui/tui-hal.c
C
gpl-2.0
3,591
/* This file is provided under a dual BSD/GPLv2 license. When using or redistributing this file, you may do so under either license. GPL LICENSE SUMMARY Copyright(c) Oct. 2015 Intel Corporation. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General ...
makeen/obs-studio
plugins/obs-qsv11/obs-qsv11.c
C
gpl-2.0
22,179
/* { dg-options "-O3 -fdump-tree-lversion-details" } */ /* { dg-require-effective-target size20plus } */ /* Versioning for step == 1 in these loops would allow loop interchange, but otherwise isn't worthwhile. At the moment we decide not to version. */ void f1 (double x[][100], int step, int n) { for (int i = ...
Gurgel100/gcc
gcc/testsuite/gcc.dg/loop-versioning-2.c
C
gpl-2.0
1,489
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995-2003 Spencer Kimball and Peter Mattis * * 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...
brion/gimp
app/pdb/buffer-cmds.c
C
gpl-3.0
21,252
// The Strawhouse Pattern // // We allow or deny clients according to their IP address. It may keep // spammers and idiots away, but won't stop a real attacker for more // than a heartbeat. // // CZMQ APIv3 // // For more info see: http://hintjens.com/blog:49#toc3 // #include <czmq.h> int main (void) { //...
taotetek/czmq
examples/security/strawhouse.c
C
mpl-2.0
1,555
/* xxHash - Fast Hash algorithm Copyright (C) 2012, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistrib...
prazzb/radare2
libr/hash/xxhash.c
C
lgpl-3.0
7,481
#include "binary_tree.h" int Max( int x, int y ) { return x > y ? x : y; } int Height(tBTNode N){ if (N==NULL) return -1; else return N->height; } void btInit(tBTree *T){ T->root=NULL; T->lastAdded=NULL; } void btFree(tBTree *T){ deleteNodes(T->root); btInit(T); } void deleteNodes(tB...
fkolacek/FIT-VUT
IFJ/test/binary_tree.c
C
apache-2.0
4,706
/* Wrapper part of tests for AVX2 ISA versions of vector math functions. Copyright (C) 2014-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...
bigzz/glibc
sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c
C
gpl-2.0
1,315
/* { 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" float32x4_t foo (float32x4_t a, float32x4_t b) { return vcmulq_rot180_f32 (a, b); } /* { dg-final { scan-assembler "vcmul.f32" } } */ float32x4_t foo1 (f...
Gurgel100/gcc
gcc/testsuite/gcc.target/arm/mve/intrinsics/vcmulq_rot180_f32.c
C
gpl-2.0
437
int this_is_a_function_proto(int a, char * b); int this_is_a_function_def(int a, char * b) { this_is_a_function_call(a, b); a = another_function_call(a, b); } typedef const char * pu8_t; typedef short (*hello1)(char coolParam, ...
bufanwyl/uncrustify
tests/output/c/00162-fcn_indent.c
C
gpl-2.0
729
/* * linux/kernel/printk.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Modified to make sys_syslog() more flexible: added commands to * return the last 4k of kernel messages, regardless of whether * they've been read or not. Added option to suppress kernel printk's * to the console. Added hook for send...
mohammad92/GT-S5360_Kernel_GB_Opensource_Update4
kernel/printk.c
C
gpl-2.0
41,398
/* Copyright (c) 2012-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...
Skin1980/Kexec-kk-kernel-G3
drivers/media/platform/msm/vidc/msm_vdec.c
C
gpl-2.0
53,927
/** * \file * <!-- * This file is part of BeRTOS. * * Bertos 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...
asterix24/svaroskey
firmware/svaroskey/bertos/net/nmea.c
C
gpl-3.0
10,968
/* * ACPI support for Intel Lynxpoint LPSS. * * Copyright (C) 2013, Intel Corporation * Authors: Mika Westerberg <mika.westerberg@linux.intel.com> * Rafael J. Wysocki <rafael.j.wysocki@intel.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
brammittendorff/PF_RING
linux-3.16.7-ckt9/drivers/acpi/acpi_lpss.c
C
lgpl-2.1
18,311
/* GStreamer * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> * * EffecTV: * Copyright (C) 2001 FUKUCHI Kentarou * * EffecTV is free software. This library is free software; * you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Fr...
cpopescu/whispermedialib
third-party/gstreamer/gst-plugins-good-0.10.23/gst/effectv/gstvertigo.c
C
lgpl-3.0
8,825
/**************************************************************************** * * Copyright 2018 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
framework/src/task_manager/task_manager_unicast.c
C
apache-2.0
5,026
/************************************************************************/ /* */ /* System.c This implements system dependent code */ /* */ /************************************************************************/ /* Author: Keith Vogel ...
biomurph/chipKIT-core-prebuilt
windows/chipkit-core/pic32/libraries/DEIPcK/utility/System.c
C
mit
13,383
/* { dg-do compile } */ /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ /* { dg-options "-fdump-tree-fre1" } */ struct S { int i; void *p; int j; }; int foo (struct S * __restrict p, int *q, int flag) { int *x = &p->j; if (flag) x = &p->i; *q = 1; *x = 2; return *q; } /* { dg-final { scan-tree-dump "...
Gurgel100/gcc
gcc/testsuite/gcc.dg/torture/restrict-8.c
C
gpl-2.0
345
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */ #include "test_sve_acle.h" /* ** eorv_x0_u16: ** eorv h([0-9]+), p0, z0\.h ** umov w0, v\1\.h\[0\] ** ret */ TEST_REDUCTION_X (eorv_x0_u16, uint16_t, svuint16_t, x0 = sveorv_u16 (p0, z0), x0 = sveorv (p0, z0))
Gurgel100/gcc
gcc/testsuite/gcc.target/aarch64/sve/acle/asm/eorv_u16.c
C
gpl-2.0
287
/* Copyright (c) 2001-2004, Roger Dingledine. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2013, The Tor Project, Inc. */ /* See LICENSE for licensing information */ #include "orconfig.h" #define CONFIG_PRIVATE #include "or.h" #include "addressmap.h" #include "config.h" #include...
wkritzinger/asuswrt-merlin
release/src/router/tor/src/test/test_config.c
C
gpl-2.0
20,813
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/workqueue.h> #include <linux/rtnetlink.h> #include <linux/cache.h> #include <linux/slab.h> #include <linux/list.h> #include <linux/delay.h> #include <linux/sched.h> #include <linux/idr.h> #include <linux/rculist.h> #include <linux/nsproxy.h> #include <linux/f...
michael2012z/myKernel
net/core/net_namespace.c
C
gpl-2.0
26,103
/****************************************************************************** * * Copyright (C) 2010 - 2016 Xilinx, Inc. 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 Softw...
mcoughli/root_of_trust
provisioning/xsdk/zcu102_fsbl_predefined_bsp/psu_cortexa53_0/libsrc/scugic_v3_5/src/xscugic.c
C
gpl-3.0
28,064
/* * Copyright (C) 2019 Gunar Schorcht * * 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 cpu_esp32 * @brief Implementation of the CAN controller driver for ESP32 (...
kYc0o/RIOT
cpu/esp32/periph/can.c
C
lgpl-2.1
30,374
/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #include <types.h> #include <benchmark.h> #inclu...
gpbonillas/seL4
src/api/syscall.c
C
bsd-2-clause
11,382
// SPDX-License-Identifier: GPL-2.0-or-later /******************************************************************************* * This file contains main functions related to iSCSI Parameter negotiation. * * (c) Copyright 2007-2013 Datera, Inc. * * Author: Nicholas A. Bellinger <nab@linux-iscsi.org> * ************...
CSE3320/kernel-code
linux-5.8/drivers/target/iscsi/iscsi_target_parameters.c
C
gpl-2.0
47,065
/* * Copyright (C) 2008 Advanced Micro Devices, Inc. * * Author: Joerg Roedel <joerg.roedel@amd.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. * * This program is dist...
stev47/linux
lib/dma-debug.c
C
gpl-2.0
33,989
/* User file parser in nss_files module. Copyright (C) 2009 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 Found...
utds3lab/pemu
plugins/glibc-2.13-new/nss/nss_files/files-sgrp.c
C
gpl-2.0
1,374
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <stdarg.h> #include "cpp.h" char rcsid[] = "cpp.c - faked rcsid"; #define OUTS 16384 char outbuf[OUTS]; char *outp = outbuf; Source *cursource; int nerrs; struct token nltoken = { NL, 0, 0, 0, 1, (uchar*)"\n" }; char *curtime; int i...
entdark/q3mme
trunk/code/tools/lcc/cpp/cpp.c
C
gpl-2.0
5,903
/* Copyright (c) 2009, Code Aurora Forum. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
sktjdgns1189/android_kernel_samsung_SHW-M240S
drivers/power/europa_battery.c
C
gpl-2.0
97,827
/* ssl/s23_clnt.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-comme...
AndreyPopovNew/asuswrt-merlin-rt-n
release/src/router/openssl/ssl/s23_clnt.c
C
gpl-2.0
19,214
/* ptrace.c: Sparc process tracing support. * * Copyright (C) 1996 David S. Miller (davem@caipfs.rutgers.edu) * * Based upon code written by Ross Biro, Linus Torvalds, Bob Manson, * and David Mosberger. * * Added Linux support -miguel (weird, eh?, the orignal code was meant * to emulate SunOS). */ #include <l...
laijs/linux-kernel-ancient-history
arch/sparc/kernel/ptrace.c
C
gpl-2.0
15,070
/* * Copyright (C) 2004-2010 NXP Software * Copyright (C) 2010 The Android Open Source Project * * 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/...
luquanhong/MyCodec
projects/stagefright/jni/src/codec/decoder/video/sw_opencore/OEM/jni/media/frameworks/base/media/libeffects/lvm/lib/Common/src/DelayMix_16x16.c
C
gpl-2.0
2,419
/* * acpi_system.c - ACPI System Driver ($Revision: 63 $) * * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is free soft...
JonnyH/pandora-kernel
drivers/acpi/system.c
C
gpl-2.0
16,476
/* * STMicroelectronics st_lsm6dsx i2c controller driver * * i2c controller embedded in lsm6dx series can connect up to four * slave devices using accelerometer sensor as trigger for i2c * read/write operations. Current implementation relies on SLV0 channel * for slave configuration and SLV{1,2,3} to read data an...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-5.4/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c
C
gpl-2.0
18,587
#include <kernel.h> #include <kdata.h> #include <netdev.h> #include <net_at.h> /* * Implement a very simple interface to serial 3 on Z80pack, with a * small patch that sets bit 2 to indicate channel connected. * * This is used to debug the ATD ipaddr interface. * * Note: the interface *must* be hardware flow con...
dfffffff/FUZIX
Kernel/dev/z80pack/devatsim.c
C
gpl-2.0
1,110
/* Gcc offline profile processing tool support. */ /* Copyright (C) 2014-2016 Free Software Foundation, Inc. Contributed by Rong Xu <xur@google.com>. This file is part of GCC. GCC 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 S...
selmentdev/selment-toolchain
source/gcc-latest/gcc/gcov-tool.c
C
gpl-3.0
16,214
/* * Sleepable Read-Copy Update mechanism for mutual exclusion, * tiny version for non-preemptible single-CPU use. * * 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...
mkvdv/au-linux-kernel-autumn-2017
linux/kernel/rcu/srcutiny.c
C
gpl-3.0
6,705
/* GDK - The GIMP Drawing Kit * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * 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 ...
davidgumberg/gtk
gdk/gdkwindowimpl.c
C
lgpl-2.1
1,800
/* radare - LGPL - Copyright 2011-2019 - pancake */ #include <r_types.h> #include <r_util.h> #include <r_lib.h> #include <r_bin.h> #include "../../fs/types.h" static char *fsname(RBuffer *b) { ut8 buf[1024]; int i, j; for (i = 0; fstypes[i].name; i++) { RFSType *f = &fstypes[i]; if (r_buf_read_at (b, f->bufo...
bigendiansmalls/radare2
libr/bin/p/bin_fs.c
C
lgpl-3.0
2,255