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
/* * net/sched/mirred.c packet mirroring and redirect actions * * 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...
fizista/Dorimanx-SG2-I9100-Kernel
net/sched/act_mirred.c
C
gpl-2.0
6,905
/**************************************************************************** * * The MIT License (MIT) * * Copyright (c) 2014 - 2016 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), *...
NathanAtSamraksh/dart-linux
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c
C
gpl-2.0
101,223
/* * * Copyright (c) International Business Machines Corp., 2002 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
liaoqingwei/ltp
testcases/kernel/syscalls/ipc/msgctl/msgctl07.c
C
gpl-2.0
7,153
/* DB API */ #include "csync2.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <time.h> #include "db_api.h" #include "db_mysql.h" #include "db_postgres.h" #include "db_sqlite.h" #include "db_sqlite2.h" #define DEADLOCK_MESSAGE \ "Database backend is ...
rvanlaar/csync2
db_api.c
C
gpl-2.0
6,423
// SPDX-License-Identifier: GPL-2.0-only // SPDX-FileCopyrightText: © 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix #include <common.h> #include <command.h> #include <errno.h> #include <getopt.h> #include <fs.h> #include <fcntl.h> #include <envfs.h> static int do_saveenv(int argc, char *argv[]) { int ret, ...
masahir0y/barebox-yamada
commands/saveenv.c
C
gpl-2.0
1,559
/* * lib/crypto/prf.c * * Copyright (C) 2004 by the Massachusetts Institute of Technology. * All rights reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. * It is the responsibility of any person or organization contemp...
nmacs/lm3s-uclinux
lib/libkrb5/lib/crypto/prf.c
C
gpl-2.0
2,638
/* GStreamer * Copyright (C) 2009 Edward Hervey <edward.hervey@collabora.co.uk> * 2009 Nokia Corporation * * 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 Free Software Foundation; either * v...
pli3/gst-plugins-base
gst-libs/gst/pbutils/gstdiscoverer.c
C
gpl-2.0
50,643
/* * Common Flash Interface support: * Intel Extended Vendor Command Set (ID 0x0001) * * (C) 2000 Red Hat. GPL'd * * $Id: cfi_cmdset_0001.c,v 1.186 2005/11/23 22:07:52 nico Exp $ * * * 10/10/2000 Nicolas Pitre <nico@cam.org> * - completely revamped method functions so they are aware and * independent o...
janrinze/loox7xxport
drivers/mtd/chips/cfi_cmdset_0001.c
C
gpl-2.0
71,499
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <dirent.h> #include <signal.h> #include "config.h" #include <config/autoconf.h> /* This little program is a wrapper for the ssh key-gen program ...
rhuitl/uClinux
user/ssh/gen-keys.c
C
gpl-2.0
3,620
/* * Block driver for media (i.e., flash cards) * * Copyright 2002 Hewlett-Packard Company * Copyright 2005-2008 Pierre Ossman * * Use consistent with the GNU GPL is permitted, * provided that this copyright notice is * preserved in its entirety in all copies and derived works. * * HEWLETT-PACKARD COMPANY MAK...
bgn9000/ShunS4
drivers/mmc/card/block.c
C
gpl-2.0
80,790
/* * event tracer * * Copyright (C) 2008 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> * * - Added format output of fields of the trace point. * This was based off of work by Tom Zanussi <tzanussi@gmail.com>. * */ #include <linux/workqueue.h> #include <linux/spinlock.h> #include <linux/kthread.h> #incl...
AOSP-Jaguar/android_kernel_sony_msm8974
kernel/trace/trace_events.c
C
gpl-2.0
38,396
/******************************************************************************* * * Module Name: utmisc - common utility procedures * ******************************************************************************/ /* * Copyright (C) 2000 - 2004, R. Byron Moore * All rights reserved. * * Redistribution and use...
fzqing/linux-2.6
drivers/acpi/utilities/utmisc.c
C
gpl-2.0
37,531
// REQUIRES: x86-registered-target // RUN: %clang -target i386-apple-darwin10 -flto -S -g %s -o - | FileCheck %s // CHECK: @main.localstatic = internal global i32 0, align 4, !dbg [[L:![0-9]+]] // CHECK: @global = common global i32 0, align 4, !dbg [[G:![0-9]+]] int global; int main() { static int localstatic; r...
montimaj/ShaktiT_LLVM
llvm/tools/clang/test/CodeGen/2009-10-20-GlobalDebug.c
C
gpl-3.0
811
//***************************************************************************** // // watchdog.c - Driver for the Watchdog Timer Module. // // Copyright (c) 2005-2017 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Redistribution and use in source and binary forms, wi...
jhnphm/xbs_xbd
platforms/ek-tm4c129exl_16mhz/hal/tivaware/driverlib/watchdog.c
C
gpl-3.0
20,701
/****************************************************************************! * _ _ _ _ * * | |__ _ __ / \ | |_| |__ ___ _ __ __ _ * * | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` | * * ...
Jeeffrey/brAthena
src/common/thread.c
C
gpl-3.0
7,607
#include <fcntl.h> #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> #include "tvheadend.h" int tvh_open(const char *pathname, int flags, mode_t mode) { int fd; pthread_mutex_lock(&fork_lock); fd = open(pathname, flags, mode); if (fd != -1) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_...
unita02/tvheadend
src/wrappers.c
C
gpl-3.0
644
/* GIO - GLib Input, Output and Streaming Library * * Copyright © 2008 codethink * Copyright © 2009 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * versio...
endlessm/glib
gio/giostream.c
C
lgpl-2.1
27,199
/* * Copyright (C) 2011-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 later version. * ...
foxban/libvirt-0.9.12-centos5
gnulib/tests/test-ffs.c
C
lgpl-2.1
1,698
/* radare - LGPL - Copyright 2008-2016 - nibble, pancake */ // TODO: rename to r_anal_meta_get() ?? #if 0 TODO ==== - handle sync to synchronize all the data on disk. - actually listing only works in memory - array_add doesnt needs index, right? - remove unused arguments from r_meta_find (where...
killabytenow/radare2
libr/anal/meta.c
C
lgpl-3.0
16,930
/* $NetBSD: field_types.c,v 1.7 2006/03/19 20:02:27 christos Exp $ */ /*- * Copyright (c) 1998-1999 Brett Lymn * (blymn@baea.com.au, brett_lymn@yahoo.com.au) * All rights reserved. * * This code has been donated to The NetBSD Foundation by the Author. * * Redistribution and use in source...
ayyucedemirbas/Minix-Source-Code
minix-master/lib/libform/field_types.c
C
apache-2.0
6,405
/*====================================================================* - Copyright (C) 2001 Leptonica. All rights reserved. - This software is distributed in the hope that it will be - useful, but with NO WARRANTY OF ANY KIND. - No author or distributor accepts responsibility to anyone for the - consequence...
deekoder/tess_two
tess-two/jni/com_googlecode_leptonica_android/src/prog/bak/dwamorph1_reg.c
C
apache-2.0
7,457
#include <stdio.h> #include "utlist.h" typedef struct el { int id; struct el *next, *prev; } el; el *head = NULL; int eltcmp(el *a, el *b) {return a->id - b->id;} int main(int argc, char *argv[]) { int i; el els[10], *e, *tmp, *tmp2; for(i=0;i<10;i++) els[i].id='a'+i; /* test LL macros */ ...
cheyiliu/uthash
tests/test42.c
C
bsd-2-clause
1,671
/* * 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 (at your option) any later version. * * FFmpeg is distributed...
mxOBS/deb-pkg_trusty_chromium-browser
third_party/ffmpeg/libavutil/buffer.c
C
bsd-3-clause
9,226
/* * Derived from startup code originally published by Jakub Piotr Cłapa, * Copyright (c) 2010 LoEE under the new BSD license. * * See also: http://bitbucket.org/jpc/lpc1768/ * * NVIC handler names from NXP UM10360, comments taken from Opendous Inc. under * the following license: * * Permission to use, copy, m...
openxc/vi-firmware
src/platform/lpc17xx/startup.c
C
bsd-3-clause
11,224
#include <stdint.h> #include <strings.h> #include "stinger_core/stinger.h" #include "stinger_core/stinger_atomics.h" #include "stinger_core/xmalloc.h" #include "stinger_core/stinger_error.h" #include "stinger_net/stinger_alg.h" #include "stinger_utils/timer.h" void update_rates(stinger_registered_alg * a, int64_t nv,...
ogreen/stinger
src/clients/algorithms/rate_monitor/src/rate_monitor.c
C
bsd-3-clause
2,828
/* * Copyright (c) 2016 QLogic Corporation. * All rights reserved. * www.qlogic.com * * See LICENSE.qede_pmd for copyright and licensing details. */ #include "bcm_osal.h" #include "reg_addr.h" #include "ecore_hsi_common.h" #include "ecore_hsi_eth.h" #include "ecore_rt_defs.h" #include "ecore_status.h" #include "...
ipdcode/skydns
kdns/dpdk-17.02/drivers/net/qede/base/ecore_cxt.c
C
mit
63,790
#include "utils.h"
travisg/armemu
test/utils.c
C
mit
20
/** * \file * * \brief Default descriptors for a USB Device with a single interface MSC * * Copyright (c) 2009-2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
femtoio/femto-usb-blink-example
blinky/common/services/usb/class/msc/device/udi_msc_desc.c
C
mit
6,236
/* Copyright (c) 2013, Kenneth MacKay Copyright (c) 2014, Emergya (Cloud4all, FP7/2007-2013 grant agreement n° 289016) 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 mu...
cgvarela/passenger
src/cxx_supportlib/vendor-copy/libuv/src/unix/android-ifaddrs.c
C
mit
19,863
/* ** Id: //Department/DaVinci/BRANCHES/MT6620_WIFI_DRIVER_V2_3/os/linux/gl_init.c#11 */ /*! \file gl_init.c \brief Main routines of Linux driver This file contains the main routines of Linux driver for MediaTek Inc. 802.11 Wireless LAN Adapters. */ /* ** Log: gl_init.c ** ** 04 21 2014 eason.tsai ** ...
JonnyXDA/android_kernel_ulefone_metal
drivers/misc/mediatek/connectivity/wlan/gen3/os/linux/gl_init.c
C
gpl-2.0
98,578
/** * Copyright (c) 2016 Anup Patel. * 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, or (at your option) * any later version. * * This progra...
xvisor/xvisor
libs/wboxtest/threads/mutex2.c
C
gpl-2.0
5,155
/* Implementation of the RESHAPE intrinsic Copyright (C) 2002-2017 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org> This file is part of the GNU Fortran runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU Genera...
itsimbal/gcc.cet
libgfortran/generated/reshape_r4.c
C
gpl-2.0
9,582
/* * linux/fs/lockd/svclock.c * * Handling of server-side locks, mostly of the blocked variety. * This is the ugliest part of lockd because we tread on very thin ice. * GRANT and CANCEL calls may get stuck, meet in mid-flight, etc. * IMNSHO introducing the grant callback into the NLM protocol was one * of the wo...
jkoelndorfer/android-kernel-msm
fs/lockd/svclock.c
C
gpl-2.0
24,827
/* * felica_common.c * */ /* * INCLUDE FILES FOR MODULE */ #include <linux/wakelock.h> #include "felica_common.h" /* * DEFINE */ /* * INTERNAL DEFINITION */ static struct wake_lock felica_wake_lock; #ifdef FELICA_LED_SUPPORT static struct wake_lock felica_rfs_wake_lock; #e...
Skin1980/Kexec-kk-kernel-G3
drivers/felica/felica_common.c
C
gpl-2.0
4,443
/* * TCP Illinois congestion control. * Home page: * http://www.ews.uiuc.edu/~shaoliu/tcpillinois/index.html * * The algorithm is described in: * "TCP-Illinois: A Loss and Delay-Based Congestion Control Algorithm * for High-Speed Networks" * http://www.ews.uiuc.edu/~shaoliu/papersandslides/liubassri06perf.pdf ...
tmatsuya/milkymist-linux
net/ipv4/tcp_illinois.c
C
gpl-2.0
8,335
/* * iSNS object model - storage node * * Copyright (C) 2007 Olaf Kirch <olaf.kirch@oracle.com> */ #include <stdlib.h> #include <string.h> #include <time.h> #include "isns.h" #include "objects.h" #include "util.h" isns_object_t * isns_create_storage_node(const char *name, uint32_t type, isns_object_t *parent) ...
frank-fegert/debian_open-iscsi
utils/open-isns/storage-node.c
C
gpl-2.0
4,868
/* Copyright (c) 2011-2015, 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...
ashwinr64/android_kernel_motorola_msm8952
drivers/platform/msm/sps/sps_bam.c
C
gpl-2.0
63,883
/* * (C) Copyright 2002 * Gary Jennejohn, DENX Software Engineering, <garyj@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 License as * published by the F...
onealtom/craneboard-uboot
board/trab/trab.c
C
gpl-2.0
11,011
/* AFS superblock handling * * Copyright (c) 2002, 2007 Red Hat, Inc. All rights reserved. * * This software may be freely redistributed under the terms of the * GNU General Public License. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free...
nandra/omap_850_kernel
fs/afs/super.c
C
gpl-2.0
12,257
/* Self tests for ptid_t for GDB, the GNU debugger. Copyright (C) 2017 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either...
totalspectrum/binutils-propeller
gdb/unittests/ptid-selftests.c
C
gpl-2.0
5,936
/* * Cisco router simulation platform. * Copyright (C) 2006 Christophe Fillot. All rights reserved. * * Remote control module. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <unistd.h> #include <time.h> #include <errno.h> #include <pthread.h> #include <assert.h> #incl...
dlintott/dynamips
common/dev_remote.c
C
gpl-2.0
8,078
/* 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...
sebirdman/kernel-msm
drivers/platform/msm/qpnp-vibrator.c
C
gpl-2.0
11,430
/* GNU/Linux/CRIS specific low level interface, for the remote server for GDB. Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify i...
legumbre/gdb-z80
gdb/gdbserver/linux-cris-low.c
C
gpl-2.0
3,150
/* * Copyright (C) 2012, Samsung Electronics Co. Ltd. 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, or * (at your optio...
djvoleur/V_S6
drivers/sensorhub/brcm/factory/gyro_k6ds3tr.c
C
gpl-2.0
16,974
//file: _insn_test_v1shl_X1.c //op=270 #include <stdio.h> #include <stdlib.h> void func_exit(void) { printf("%s\n", __func__); exit(0); } void func_call(void) { printf("%s\n", __func__); exit(0); } unsigned long mem[2] = { 0xe89dbdd9027e7e2c, 0x8f37eee6381b10aa }; int main(void) { unsigned l...
acarno/slicer
valgrind/none/tests/tilegx/insn_test_v1shl_X1.c
C
gpl-2.0
1,318
/* * History: * Started: Aug 9 by Lawrence Foard (entropy@world.std.com), * to allow user process control of SCSI devices. * Development Sponsored by Killy Corp. NY NY * * Original driver (sg.c): * Copyright (C) 1992 Lawrence Foard * Version 2 and 3 extensions to driver: * Copyright ...
BHSPitMonkey/linwizard-strtrk
drivers/scsi/sg.c
C
gpl-2.0
81,207
/* $Id: sys_sunos32.c,v 1.64 2002/02/09 19:49:31 davem Exp $ * sys_sunos32.c: SunOS binary compatibility layer on sparc64. * * Copyright (C) 1995, 1996, 1997 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1995 Miguel de Icaza (miguel@nuclecu.unam.mx) * * Based upon preliminary work which is: * * Copyr...
jkoelndorfer/android-kernel-msm
arch/sparc64/kernel/sys_sunos32.c
C
gpl-2.0
34,116
/* * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public Licen...
XXLRay/linux-2.6.32-rhel6.x86_64
fs/gfs2/quota.c
C
gpl-2.0
39,192
/* Copyright (c) 2014,2017, 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...
vlw/android_kernel_samsung_msm8916_A3
drivers/power/qcom/msm-core.c
C
gpl-2.0
22,656
/****************************************************************************** ******************************************************************************* ** ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. ** ** This copyrig...
ska-sa/borph_linux_devel
fs/dlm/lockspace.c
C
gpl-2.0
17,253
/* Copyright (C) 2000-2016 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 ...
geminy/aidear
oss/glibc/glibc-2.24/csu/check_fds.c
C
gpl-3.0
3,378
/** * This file is part of Hercules. * http://herc.ws - http://github.com/HerculesWS/Hercules * * Copyright (C) 2012-2018 Hercules Dev Team * Copyright (C) Athena Dev Teams * * Hercules is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
guilherme-gm/Hercules
src/common/ers.c
C
gpl-3.0
13,913
/* ChibiOS - Copyright (C) 2006..2015 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 required by ap...
athirasubhash/AX25MODEM
os/hal/boards/OLIMEX_LPC_P1343/board.c
C
gpl-3.0
1,371
/* * This file is part of MPlayer. * * MPlayer 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. * * MPlayer is distributed in th...
DMCsys/smartalkaudio
oss-survey/mplayer-checkout-2011-04-26/gui/util/string.c
C
gpl-3.0
1,680
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
Yukarumya/Yukarum-Redfoxes
media/libvpx/libvpx/examples/vp8_multi_resolution_encoder.c
C
mpl-2.0
23,220
/* * Copyright (C) 2011-2012 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 License, or (at your option) any later version. * * This l...
rmarwaha/libvirt1
tests/virnettlscontexttest.c
C
lgpl-2.1
44,486
/* * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.h...
openweave/openweave-core
third_party/openssl/openssl/crypto/dsa/dsa_meth.c
C
apache-2.0
5,152
/****************************************************************************** * * Copyright (C) 1999-2012 Broadcom Corporation * * 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: * ...
empoweredhomes/esp-idf
components/bt/bluedroid/stack/gatt/gatt_api.c
C
apache-2.0
58,394
/* * 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...
igor47/nginx-config
src/os/unix/ngx_process_cycle.c
C
bsd-2-clause
38,090
/* Perform type resolution on the various stuctures. Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. Contributed by Andy Vaught 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 p...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/fortran/resolve.c
C
bsd-3-clause
190,278
// RUN: %clang_cc1 -fsyntax-only -verify %s -Wincompatible-pointer-types int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute only applies to functions}} void params(void) __attribute__((overloadable(12))); // expected-error {{'overloadable' attribute takes no arguments}} int *f(int) __a...
endlessm/chromium-browser
third_party/llvm/clang/test/Sema/overloadable.c
C
bsd-3-clause
12,266
/* * Squashfs - a compressed read only filesystem for Linux * * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 * Phillip Lougher <phillip@squashfs.org.uk> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publ...
geminy/aidear
oss/linux/linux-4.7/fs/squashfs/xz_wrapper.c
C
gpl-3.0
4,362
/* * Copyright (C) 2012 Samsung Electronics * Rajeshwari Shinde <rajeshwari.s@samsung.com> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <fdtdec.h> #include <i2c.h> #include <power/pmic.h> #include <power/max77686_pmic.h> #include <errno.h> DECLARE_GLOBAL_DATA_PTR; static const char ma...
guileschool/beagleboard
u-boot/drivers/power/pmic/pmic_max77686.c
C
mit
5,627
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-support/simd-generic256.h" #include "../common/t2bv_16.c"
termoshtt/rust-fftw3
fftw-src/fftw-3.3.8/dft/simd/generic-simd256/t2bv_16.c
C
mit
129
/* FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the...
PUCSIE-embedded-course/stm32f4-examples
firmware/freertos/semaphore/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit.c
C
mit
5,651
/* * $Id: hid-input.c,v 1.2 2002/04/23 00:59:25 rdamazio Exp $ * * Copyright (c) 2000-2001 Vojtech Pavlik * Copyright (c) 2006-2007 Jiri Kosina * * HID to Linux Input mapping */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
impedimentToProgress/UCI-BlueChip
snapgear_linux/linux-2.6.21.1/drivers/hid/hid-input.c
C
mit
30,057
/* * * Copyright (C) Bull S.A. 2001 * Copyright (c) International Business Machines Corp., 2001 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Licen...
chenhuacai/ltp
testcases/kernel/syscalls/statfs/statfs03.c
C
gpl-2.0
3,940
/* * Ptrace user space interface. * * Copyright IBM Corp. 1999,2010 * Author(s): Denis Joseph Barrow * Martin Schwidefsky (schwidefsky@de.ibm.com) */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/errno.h> #include <linux/ptrac...
insofter/linux
arch/s390/kernel/ptrace.c
C
gpl-2.0
32,552
/* Wrapper for __scalblnl handles setting errno. Copyright (C) 2014 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 Softwa...
rilian-la-te/glibc
sysdeps/ieee754/ldbl-64-128/w_scalblnl.c
C
gpl-2.0
1,072
/* mpn_sqr_basecase -- Internal routine to square two natural numbers of length m and n. THIS IS AN INTERNAL FUNCTION WITH A MUTABLE INTERFACE. IT IS ONLY SAFE TO REACH THIS FUNCTION THROUGH DOCUMENTED INTERFACES. Copyright (C) 1991, 1992, 1993, 1994, 1996, 1997, 2000 Free Software Foundation, Inc. This f...
ysleu/RTL8685
uClinux-dist/lib/libgmp/mpn/generic/sqr_basecase.c
C
gpl-2.0
2,293
/* 920908-1.c from the execute part of the gcc torture suite. */ #include <testfwk.h> #ifdef __SDCC #pragma std_c99 #endif // TODO: Enable when sdcc supports returning struct! #if 0 /* REPRODUCED:RUN:SIGNAL MACHINE:mips OPTIONS: */ #include <stdarg.h> typedef struct{int A;}T; T f(int x,...) { va_list ap; T X;...
pfalcon/sdcc
support/regression/tests/gcc-torture-execute-920908-1.c
C
gpl-2.0
538
/* 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...
bbedward/ZenKernel_Shamu
sound/soc/msm/apq8084.c
C
gpl-2.0
150,613
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * Copyright (C) 2013 Sony 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 and * only version 2 as published by the Free Software...
Abhinav1997/kernel-1
drivers/video/msm/mdss/mdss_dsi_panel.c
C
gpl-2.0
29,036
/* { dg-do run } */ /* { dg-options "-O2 -msse" } */ #include "sse-check.h" #include <xmmintrin.h> #include <stddef.h> #include <string.h> static void sse_test (void) { int alignment, n; void *ptr; int errors = 0; const char test [] = "This is a test."; for (alignment = 1; alignment <= (1 << 20); alignmen...
redstar3894/android-gcc
gcc/testsuite/gcc.target/i386/sse-9.c
C
gpl-2.0
688
/* @(#)s_asinh.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided t...
bigzz/glibc
sysdeps/ieee754/dbl-64/s_asinh.c
C
gpl-2.0
2,084
/* * linux/fs/jbd2/transaction.c * * Written by Stephen C. Tweedie <sct@redhat.com>, 1998 * * Copyright 1998 Red Hat corp --- All Rights Reserved * * This file is part of the Linux kernel and is made available under * the terms of the GNU General Public License, version 2, or at your * option, any later versio...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.14/fs/jbd2/transaction.c
C
gpl-2.0
82,066
/* * asmz80.c - Z80 Assembler-related utility functions. * * Written by * Andreas Boose <viceteam@t-online.de> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of...
AreaScout/vice-gles2
src/monitor/asmz80.c
C
gpl-2.0
73,288
/* Audio File Library Copyright (C) 2004, Michael Pruett <michael@68k.org> 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 Free Software Foundation; either version 2 of the License, or (at your option) any later...
OS2World/LIB-MM-audiofile
libaudiofile/avrwrite.c
C
gpl-2.0
3,694
/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries * FILE: lib/rtl/propvar.c * PURPOSE: Native properties and variants API * PROGRAMMER: Pierre Schweitzer (pierre@reactos.org) */ /* INCLUDES **********************************...
sunnyden/reactos
sdk/lib/rtl/propvar.c
C
gpl-2.0
4,440
/* ************************************************************************************************************************ * uC/OS-III * The Real-Time Kernel * * * (c) Copyright 2009...
ilikecake/Rocket-controller
software/ucos_iii/lpc_ucos_iii/uCOS-III/Ports/ARM-Cortex-M0/CSP/Generic/os_csp.c
C
gpl-3.0
4,776
/*------------------------------------------------------------------------- * * pgstrcasecmp.c * Portable SQL-like case-independent comparisons and conversions. * * SQL99 specifies Unicode-aware case normalization, which we don't yet * have the infrastructure for. Instead we use tolower() to provide a * loca...
arcivanov/postgres-xl
src/port/pgstrcasecmp.c
C
mpl-2.0
3,597
/******************************************************************************* * File Name: Clock_1.c * Version 2.20 * * Description: * This file provides the source code to the API for the clock component. * * Note: * ******************************************************************************** * Co...
scarlso/LED_controller
Design01.cydsn/Generated_Source/PSoC5/Clock_1.c
C
apache-2.0
18,716
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
deekoder/tess_two
tess-two/jni/com_googlecode_leptonica_android/src/src/boxbasic.c
C
apache-2.0
46,853
/****************************************************************************** * Copyright (c) 2015 Cambridge Silicon Radio Limited * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaim...
roywant/uribeacon
beacons/CSR-uribeacon-150202/gatt_access.c
C
apache-2.0
24,403
/* * Copyright (c) 2019 Western Digital Corporation or its affiliates * * SPDX-License-Identifier: Apache-2.0 */ #define DT_DRV_COMPAT swerv_pic /** * @brief SweRV EH1 PIC driver */ #include <kernel.h> #include <arch/cpu.h> #include <init.h> #include <sw_isr_table.h> #define SWERV_PIC_MAX_NUM CONFIG_NUM_IRQS ...
zephyrproject-rtos/zephyr
drivers/interrupt_controller/intc_swerv_pic.c
C
apache-2.0
5,251
/* u_1_7_gb.c: Invalid multi-byte character sequence (in string literal, character constant, header-name or comment). */ #define str( a) # a #pragma setlocale( "chinese-simplified") /* For Visual C */ #pragma __setlocale( "gb2312") /* For MCPP */ main( void) { char * cp = str(...
JackieXie168/mcpp
test-c/u_1_7_gb.c
C
bsd-2-clause
362
/* * ----------------------------------------------------------------- * $Revision: 4075 $ * $Date: 2014-04-24 10:46:58 -0700 (Thu, 24 Apr 2014) $ * ----------------------------------------------------------------- * Programmer(s): Radu Serban and Cosmin Petra @ LLNL * --------------------------------------------...
liuqx315/Sundials
sundials/src/idas/idaa_io.c
C
bsd-3-clause
20,554
#include <stdlib.h> #include <stdio.h> #include "cal.h" #include "tir4_driver.h" #include "pose.h" #include "pref_global.h" #include "utils.h" int main(int argc, char **argv) { struct frame_type frame; struct camera_control_block ccb; struct transform t; struct reflector_model_type rm; if(get_device(&ccb) =...
rayantony/linux-track
src/tests/pose_test.c
C
mit
2,816
/*----------------------------------------------------------------------------- * Copyright (C) 2010-2014 ARM Limited. All rights reserved. * * $Date: 12. March 2014 * $Revision: V1.4.3 * * Project: CMSIS DSP Library * Title: arm_iir_lattice_init_q31.c * * Description: I...
ehughes/hc-1
SRC/LPC-LINK-2/COMMON/CMSIS_DSP_4_0_1/up/FilteringFunctions/arm_iir_lattice_init_q31.c
C
gpl-2.0
3,370
#include "cache.h" #include "tag.h" #include "blob.h" #include "tree.h" #include "commit.h" #include "diff.h" #include "refs.h" #include "revision.h" #include "graph.h" #include "grep.h" #include "reflog-walk.h" #include "patch-ids.h" #include "decorate.h" #include "log-tree.h" #include "string-list.h" #include "line-l...
cloudwp/git
revision.c
C
gpl-2.0
92,838
/* * extcon-cable-xlate: Cable translator based on different cable states. * * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. * * Author: Laxman Dewangan <ldewangan@nvidia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
InES-HPMM/linux-l4t
drivers/extcon/extcon-cable-xlate.c
C
gpl-2.0
13,962
/* Copyright (c) 2000, 2001, 2006, 2007 MySQL AB Use is subject to license terms. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed...
facebookarchive/mysql-5.1
strings/strnlen.c
C
gpl-2.0
1,177
/* linux/net/ipv4/arp.c * * Version: $Id: arp.c,v 1.99 2001/08/30 22:55:42 davem Exp $ * * Copyright (C) 1994 by Florian La Roche * * This module implements the Address Resolution Protocol ARP (RFC 826), * which is used to convert IP addresses (or in the future maybe other * high-level addresses) into a low-le...
janrinze/loox7xxport.loox2-6-22
net/ipv4/arp.c
C
gpl-2.0
35,380
/* ivtv driver initialization and card probing Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> Copyright (C) 2004 Chris Kennedy <c@groovy.org> Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> This program is free software; you can redistribute it and/or modify it under...
AdaLovelance/lxcGrsecKernels
linux-3.14.37/drivers/media/pci/ivtv/ivtv-driver.c
C
gpl-2.0
47,536
/* Copyright (C) 2010-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Schwab <schwab@redhat.com>, 2010. 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...
vtsingaras/hurd-glibc
sysdeps/unix/sysv/linux/recvmmsg.c
C
gpl-2.0
2,687
/* { dg-do compile } */ /* { dg-options "-O1 -fdump-tree-optimized" } */ struct _fat_ptr { unsigned char *curr; unsigned char *base; unsigned char *last_plus_one; }; int Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr); int Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr) { struct _fat_ptr *_T0; st...
embecosm/avr32-gcc
gcc/testsuite/gcc.dg/tree-ssa/pr42585.c
C
gpl-2.0
827
/* * Generic hugetlb support. * (C) William Irwin, April 2004 */ #include <linux/list.h> #include <linux/init.h> #include <linux/module.h> #include <linux/mm.h> #include <linux/seq_file.h> #include <linux/sysctl.h> #include <linux/highmem.h> #include <linux/mmu_notifier.h> #include <linux/nodemask.h> #include <linux...
ypresto/linux-2.6
mm/hugetlb.c
C
gpl-2.0
78,760
/* sec_thermistor.c * * Copyright (C) 2011 Samsung Electronics * * 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 distributed in the hope ...
riversource/Galaxy-Note-Kernel
arch/arm/mach-s5pv310/sec_thermistor.c
C
gpl-2.0
5,398
/* * kernel/freezer.c - Function to freeze a process * * Originally from kernel/power/process.c */ #include <linux/interrupt.h> #include <linux/suspend.h> #include <linux/module.h> #include <linux/syscalls.h> #include <linux/freezer.h> /* * freezing is complete, mark current process as frozen */ static inline v...
bryce09/tf700t_kernel
kernel/freezer.c
C
gpl-2.0
4,303
/* * Copyright (C) 2003 Pascal Brisset, Antoine Drouin * * 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, or (at your option) * any lat...
Fab7c4/paparazzi
sw/airborne/modules/ins/ins_xsens.c
C
gpl-2.0
20,662