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
/* -*- Mode: C; c-basic-offset: 4 -*- */ /* Python plug-in for dia * Copyright (C) 1999 James Henstridge * * 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, ...
montsuqi/monpe
plug-ins/python/pydia-cpoint.c
C
gpl-2.0
3,013
/* * This file is part of the coreboot project. * * Copyright (C) 2007-2010 coresystems GmbH * * 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...
DarkDefender/coreboot
src/northbridge/intel/i945/early_init.c
C
gpl-2.0
24,988
/* ----------------------------------------------------------------------- ffi.c m68k Foreign Function Interface ----------------------------------------------------------------------- */ #include <ffi.h> #include <ffi_common.h> #include <stdlib.h> /* ffi_prep_args is called by the assembly routine onc...
unofficial-opensource-apple/gcc_jaguar
libffi/src/m68k/ffi.c
C
gpl-2.0
3,840
/* * Hisilicon Terminal SoCs drm fbdev driver * * Copyright (c) 2014-2015 Hisilicon Limited. * Author: z.liuxinliang@huawei.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...
SmithGitHu/linux
drivers/gpu/drm/hisilicon/hisi_drm_fb.c
C
gpl-2.0
4,741
/* * raid10.c : Multiple Devices driver for Linux * * Copyright (C) 2000-2004 Neil Brown * * RAID-10 support for md. * * Base on code in raid1.c. See raid1.c for further copyright information. * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
AshishNamdev/linux
drivers/md/raid10.c
C
gpl-2.0
137,187
/* ***************************************************************************** * * Filename: * --------- * s5k5e2yamipi_Sensor.c * * Project: * -------- * ALPS * * Description: * ------------ * Source code of Sensor driver * * *------------------------------------------------------------------------...
superac11/x500_letv_kernel_3.10_K11
drivers/misc/mediatek/imgsensor/src/mt6795/s5k5e2ya_ofilm_mipi_raw/s5k5e2yaofilmmipiraw_Sensor.c
C
gpl-2.0
150,769
struct typeExp { int nodetype; char *id; struct typeExp *kid1; struct typeExp *kid2; }; struct typeVarList { char *name; struct typeVarList *next; }; struct typeEnv { char *name; struct typeExp *type; struct typeEnv *next; }; struct typeExp *CreateType(int type, char *name, struct typeExp *kid1, ...
iamrekcah/cyclone
banshee/tests/test.programs/ML-typecheck.preproc/types.c
C
gpl-2.0
9,822
/* Copyright (c) 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 the hope th...
andr00ib/e730_JB_kernel
arch/arm/mach-msm/board-msm8960.c
C
gpl-2.0
9,355
/******************** (C) COPYRIGHT 2010 STMicroelectronics ******************** * * File Name : lis3dh_acc.c * Authors : MSH - Motion Mems BU - Application Team * : Matteo Dameno (matteo.dameno@st.com) * : Carmine Iascone (carmine.iascone@st.com) * : Samuel Hu...
k2wlxda/android_kernel_N958St
drivers/input/misc/lis3dh_acc.c
C
gpl-2.0
43,699
/* * An rtc/i2c driver for the Micro Crystal RV-4162 Real-time clock * * Copyright 2013 Boundary Devices * * Author: Eric Nelson <eric.nelson@boundarydevices.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 * publi...
ADVANSEE/0066_linux
drivers/rtc/rtc-rv4162.c
C
gpl-2.0
4,484
/* * This file is part of the coreboot project. * * Copyright (C) 2015 secunet Security Networks AG * * 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 ...
siro20/coreboot
src/mainboard/roda/rv11/variants/rv11/romstage.c
C
gpl-2.0
4,127
/* Everything about breakpoints, for GDB. Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute ...
rhuitl/uClinux
user/gdb/gdb/breakpoint.c
C
gpl-2.0
244,841
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
multitheftauto/mtasa-blue
vendor/curl/lib/md5.c
C
gpl-3.0
17,878
#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers /***************************************************************************** * OpenRCT2, an open source clone of Roller Coaster Tycoon 2. * * OpenRCT2 is the work of many authors, a full list can be found in contributors.md * For more information, visit h...
RussianHackers/OpenRCT2
src/openrct2/ride/thrill/magic_carpet.c
C
gpl-3.0
8,422
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Kiddinglife/gecoengine
thirdparty/apr/poll/unix/port.c
C
gpl-3.0
17,738
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
modulexcite/RTCW-MP
src/bspc/aas_cfg.c
C
gpl-3.0
10,960
/* Copyright (c) 2011 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 con...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/libvpx/source/config/win/ia32/vpx_config.c
C
gpl-3.0
832
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> #include <signal.h> #include <unistd.h> #include <assert.h> #include "Ecore.h" #include "ecore_private.h" /* make mono happy - this is evil though... */ #undef SIGPWR /* valgrind in some versions/setups us...
vote539/gnutls
tests/suite/ecore/src/lib/ecore_signal.c
C
gpl-3.0
15,525
/**************************************************************** * * * Copyright 2001, 2006 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * *...
TheTypoMaster/gtm
sr_port/iotcp_read.c
C
agpl-3.0
606
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * soup-cookie-jar-sqlite.c: deprecated version of sqlite-based cookie storage * * Copyright 2012 Red Hat, Inc. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdlib.h> /* Avoid deprecation warnings */ #define SOUP_VERSIO...
Distrotech/libsoup
libsoup/soup-cookie-jar-sqlite.c
C
lgpl-2.1
1,013
/* Test program for returning the canonical absolute name of a given file. Copyright (C) 1996,1997,2000,2002,2004,2005,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger <davidm@azstarnet.com>. The GNU C Library is free software; you can redistribu...
m-labs/uclibc-lm32
test/stdlib/test-canon.c
C
lgpl-2.1
6,916
/* Part of SWI-Prolog Author: Jan Wielemaker E-mail: J.Wielemaker@vu.nl WWW: http://www.swi-prolog.org Copyright (c) 1998-2011, University of Amsterdam All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permit...
edechter/swipl-devel
src/rc/util.c
C
lgpl-2.1
3,787
/* * Copyright (C) 2014 Hamburg University of Applied Sciences * * 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_stm32f4 * @{ * * @file * @brief Low-level S...
rfswarm2/RIOT
cpu/stm32f4/periph/spi.c
C
lgpl-2.1
12,233
/* Copyright (C) 2006 Tim-Philipp Müller <tim centricular net> * * 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 ver...
cpopescu/whispermedialib
third-party/gstreamer/gst-plugins-base-0.10.29/ext/alsa/gstalsa.c
C
lgpl-3.0
16,533
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
gillesgagniard/wso2-wsf-cpp-gg
wsf_c/axis2c/src/core/transport/http/sender/ntlm/libntlm/libntlm_wrapper.c
C
apache-2.0
3,756
/** ****************************************************************************** * @file stm32f3xx_ll_comp.c * @author MCD Application Team * @brief COMP LL module driver ****************************************************************************** * @attention * * <h2><center>&copy; COPYRIGHT(...
kraj/zephyr
ext/hal/st/stm32cube/stm32f3xx/drivers/src/stm32f3xx_ll_comp.c
C
apache-2.0
65,390
/* * ----------------------------------------------------------------- * $Revision: 4433 $ * $Date: 2015-03-23 18:24:01 -0700 (Mon, 23 Mar 2015) $ * ----------------------------------------------------------------- * Programmers: Carol Woodward @ LLNL * Daniel R. Reynolds @ SMU * -------------------...
paulstapor/AMICI
sundials-2.6.2/src/sundials/sundials_sparse.c
C
bsd-2-clause
16,552
/***************************************************************************** Copyright (c) 2014, Intel Corp. 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 cod...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/LAPACKE/src/lapacke_sorgrq.c
C
bsd-3-clause
3,433
int main() { int val = 5; int *p; p = &val; return *p; }
lxp/sulong
tests/sulong/c/truffle-c/assignTest/assignTest8.c
C
bsd-3-clause
65
/* File: acl_add_perm.c Copyright (C) 1999, 2000 Andreas Gruenbacher, <a.gruenbacher@bestbits.at> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Licen...
impedimentToProgress/UCI-BlueChip
snapgear_linux/lib/libacl/libacl/acl_add_perm.c
C
mit
1,132
/* * BFQ, or Budget Fair Queueing, disk scheduler. * * Based on ideas and code from CFQ: * Copyright (C) 2003 Jens Axboe <axboe@kernel.dk> * * Copyright (C) 2008 Fabio Checconi <fabio@gandalf.sssup.it> * Paolo Valente <paolo.valente@unimore.it> * * Licensed under the GPL-2 as detailed in the accompanyin...
AOSP-TEAM/android_kernel_google_tuna
block/bfq-iosched.c
C
gpl-2.0
83,846
#include "f2c.h" /* Main program */ MAIN__(void) { /* -- LAPACK test routine (version 3.0) -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., Courant Institute, Argonne National Lab, and Rice University February 29, 1992 Determine the character set. */ /* Tab...
dilawar/sesc
src_without_LF/libsesctherm/CLAPACK/INSTALL/lsametst.c
C
gpl-2.0
3,753
/* * linux/drivers/mmc/core/core.c * * Copyright (C) 2003-2004 Russell King, All Rights Reserved. * SD support Copyright (C) 2004 Ian Molton, All Rights Reserved. * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. * MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved. * * This ...
sencis/kernel_huawei_u8500
drivers/mmc/core/core.c
C
gpl-2.0
32,806
/* * Copyright 2013 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, m...
proyvind/linux-3.12
drivers/gpu/drm/radeon/ci_dpm.c
C
gpl-2.0
159,994
/******************************************************************************/ /* 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 ...
chenhuacai/ltp
testcases/kernel/security/tomoyo/tomoyo_filesystem_test.c
C
gpl-2.0
24,403
/* * core.c -- Voltage/Current Regulator framework. * * Copyright 2007, 2008 Wolfson Microelectronics PLC. * Copyright 2008 SlimLogic Ltd. * * Author: Liam Girdwood <lrg@slimlogic.co.uk> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Pub...
showp1984/bricked-shooteru-ics-sense
drivers/regulator/core.c
C
gpl-2.0
80,018
/** * @file * * @ingroup QorIQ * * @brief Network configuration. */ /* * Copyright (c) 2010 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Obere Lagerstr. 30 * 82178 Puchheim * Germany * <rtems@embedded-brains.de> * * The license and distribution terms for this file may be ...
zhongweiy/rtems
c/src/lib/libbsp/powerpc/qoriq/network/network.c
C
gpl-2.0
3,241
/* i915_irq.c -- IRQ support for the I915 -*- linux-c -*- */ /* * Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas. * 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...
heptalium/rpi-sources-3.16
drivers/gpu/drm/i915/i915_irq.c
C
gpl-2.0
128,584
/* * Copyright (C) 2003-2011 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your opti...
sol/mpd
src/decoder_api.c
C
gpl-2.0
13,485
/* Support for mach's mapped time Copyright (C) 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> 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...
joshumax/hurd
libshouldbeinlibc/maptime.c
C
gpl-2.0
2,634
/* * linux/drivers/ide/ide-m8xx.c * * Copyright (C) 2000, 2001 Wolfgang Denk, wd@denx.de * Modified for direct IDE interface * by Thomas Lange, thomas@corelatus.com * Modified for direct IDE interface on 8xx without using the PCMCIA * controller * by Steven.Scholz@imc-berlin.de * Moved out of arch/ppc/ke...
robacklin/celinux
drivers/ide/ide-m8xx.c
C
gpl-2.0
20,529
/* * linux/arch/parisc/kernel/process.c * based on the work for i386 */ /* * This file handles the architecture-dependent parts of process handling.. */ #define __KERNEL_SYSCALLS__ #include <stdarg.h> #include <linux/errno.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/mm.h> #include <li...
snike4342/linux-2.4.0
arch/parisc/kernel/process.c
C
gpl-2.0
5,115
/* * drivers/iommu/bcm_iovmm.c * * Copyright (C) 2012 Broadcom, Inc. * * 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 th...
SiniTurk/android_kernel_samsung_kylevexx
drivers/iommu/bcm_iovmm.c
C
gpl-2.0
12,465
/* * (C) 2012 Mauro Carvalho Chehab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * T...
igel-oss/v4l-utils
lib/libv4l-mplane/libv4l-mplane.c
C
gpl-2.0
12,441
/* drivers/misc/lowmemorykiller.c * * The lowmemorykiller driver lets user-space specify a set of memory thresholds * where processes with a range of oom_adj values will get killed. Specify the * minimum oom_adj values in /sys/module/lowmemorykiller/parameters/adj and the * number of free pages in /sys/module/lowm...
cocafe/i9070_kernel_CoCore_Refresh
drivers/staging/android/lowmemorykiller.c
C
gpl-2.0
6,069
/* Copyright (C) 2014 SchedMD */ #include <stdio.h> #include <time.h> #include <stdlib.h> #include <string.h> #include <slurm/pmi2.h> #include <sys/time.h> static char *mrand(int, int); int main(int argc, char **argv) { int rank; int size; int appnum; int spawned; int flag; int len; int ...
sentinel88/slurm
contribs/pmi2/testpmi2.c
C
gpl-2.0
2,843
/**************************************************************************** * px4/sensors/test_gpio.c * * Copyright (C) 2012 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ...
hangzhouzhikuntech/flycontrolprj
src/systemcmds/tests/test_led.c
C
gpl-3.0
4,393
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
ensiform/ETe
src/curl-7.58.0/lib/curl_sasl.c
C
gpl-3.0
20,403
/* packet-ssl.c * Routines for ssl dissection * Copyright (c) 2000-2001, Scott Renfro <scott@renfro.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or * modify it under the terms ...
FabianKnapp/nexmon
utilities/wireshark/epan/dissectors/packet-ssl.c
C
gpl-3.0
170,190
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #include "git2/errors.h" #include "common.h" #include "refspec.h" #include "util.h" #include "posix.h" ...
Acidburn0zzz/libgit2
src/refspec.c
C
lgpl-2.1
7,286
/* GTK - The GIMP Toolkit * 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 Lice...
Distrotech/gtk2
gtk/gtkborder.c
C
lgpl-2.1
1,914
#include <lua.h> #include <lauxlib.h> #include <time.h> #include <stdint.h> #include <string.h> #include <stdlib.h> #define SMALL_CHUNK 256 /* the eight DES S-boxes */ static uint32_t SB1[64] = { 0x01010400, 0x00000000, 0x00010000, 0x01010404, 0x01010004, 0x00010404, 0x00000004, 0x00010000, 0x00000400, 0x0101040...
Luanluan/skynet_test
lualib-src/lua-crypt.c
C
mit
25,808
/*++ /* NAME /* postconf_service 3 /* SUMMARY /* service-defined parameter name support /* SYNOPSIS /* #include <postconf.h> /* /* void register_service_parameters() /* DESCRIPTION /* Service-defined parameter names are created by appending /* postfix-defined suffixes to master.cf service names. All /* service-defined ...
xushiwei/postfix
src/postconf/postconf_service.c
C
epl-1.0
5,461
/* * linux/drivers/mmc/core/sd.c * * Copyright (C) 2003-2004 Russell King, All Rights Reserved. * SD support Copyright (C) 2004 Ian Molton, All Rights Reserved. * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under t...
roqu3/Kernel-Pecan-2.6.32
drivers/mmc/core/sd.c
C
gpl-2.0
17,724
/* packet-gssapi.c * Dissector for GSS-API tokens as described in rfc2078, section 3.1 * Copyright 2002, Tim Potter <tpot@samba.org> * Copyright 2002, Richard Sharpe <rsharpe@samba.org> Added a few * bits and pieces ... * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copy...
jfzazo/wireshark-hwgen
src/epan/dissectors/packet-gssapi.c
C
gpl-2.0
22,025
/* BlueZ - Bluetooth protocol stack for Linux Copyright (c) 2000-2001, 2010, Code Aurora Forum. All rights reserved. Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License versi...
k2wl/kernel-gt-i9082-stock-based
net/bluetooth/hci_event.c
C
gpl-2.0
73,332
/* * Copyright (C) 2003 Russell King, All Rights Reserved. * Copyright 2006-2007 Pierre Ossman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #include <linux/slab.h> ...
animalcreek/linux
drivers/mmc/core/queue.c
C
gpl-2.0
10,184
/* * AMLOGIC LCD panel parameter. * * 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 named License, * or any later version. * * This program is distributed...
InternetBowser/plutos
u-boot-s805/board/amlogic/m6_ref_v1/lcd.c
C
gpl-2.0
13,889
/* * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
md-5/jdk10
src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.c
C
gpl-2.0
5,171
/* APPLE LOCAL file v7 merge */ /* Test the `vld1_dupp8' 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_vld1_dup...
ericmckean/nacl-llvm-branches.llvm-gcc-trunk
gcc/testsuite/gcc.target/arm/neon/vld1_dupp8.c
C
gpl-2.0
611
/* Implementation of the EXECUTE_COMMAND_LINE intrinsic. Copyright (C) 2009-2017 Free Software Foundation, Inc. Contributed by François-Xavier Coudert. 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 th...
mickael-guene/gcc
libgfortran/intrinsics/execute_command_line.c
C
gpl-2.0
5,392
/* * gdb server stub * * Copyright (c) 2003-2005 Fabrice Bellard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later...
amuaddib/qemu_scratch
gdbstub.c
C
gpl-2.0
77,984
/* Copyright 2011-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 version 3 of the License, or (at your option) an...
mickael-guene/binutils
gdb/testsuite/gdb.base/infoline.c
C
gpl-2.0
1,044
/* * Timers abstract layer * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at you...
nks15/nks_kernel_j7xeltektt
sound/core/timer.c
C
gpl-2.0
52,434
/* * Copyright 1989 - 1994, Julianne Frances Haugh * 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...
rhuitl/uClinux
user/shadow/libmisc/setugid.c
C
gpl-2.0
3,631
/* * linux/drivers/serial/s3c2410.c * * Driver for onboard UARTs on the Samsung S3C24XX * * Based on drivers/char/serial.c and drivers/char/21285.c * * Ben Dooks, (c) 2003-2005 Simtec Electronics * http://www.simtec.co.uk/products/SWLINUX/ * * Changelog: * * 22-Jul-2004 BJD Finished off device rewrite * ...
kidmaple/CoolWall
linux-2.6.x/drivers/serial/s3c2410.c
C
gpl-2.0
45,126
/* Remote File-I/O communications Copyright (C) 2003-2016 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 version 3 of...
ccilab/binutils
gdb/remote-fileio.c
C
gpl-3.0
30,830
// (C) British Crown Copyright 2010 - 2015, Met Office // // This file is part of Iris. // // Iris 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 optio...
SusanJL/iris
src/iris/fileformats/pp_packing/pp_packing.c
C
gpl-3.0
8,586
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * Copyright (C) 2011-2017 - Daniel De Matteis * * RetroArch 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- * atio...
RobLoach/RetroArch
audio/drivers/audioio.c
C
gpl-3.0
4,522
/**************************************************************** * * * Copyright 2001 Sanchez Computer Associates, Inc. * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * * the li...
CoherentLogic/fis-gtm-netbsd
sr_unix/iob_write.c
C
agpl-3.0
1,409
/* * OMAP4+ Power Management Routines * * Copyright (C) 2010-2013 Texas Instruments, Inc. * Rajendra Nayak <rnayak@ti.com> * Santosh Shilimkar <santosh.shilimkar@ti.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 ...
brammittendorff/PF_RING
linux-3.16.7-ckt9/arch/arm/mach-omap2/pm44xx.c
C
lgpl-2.1
7,131
/** * nativenet.h implementation * * Copyright (C) 2013 Ludwig Ortmann <ludwig.ortmann@fu-berlin.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. * * @ingroup native_cpu * @ingroup net ...
AnonMall/RIOT
cpu/native/net/interface.c
C
lgpl-2.1
17,114
// This is just a small test to check whether Assimp's API compiles from C #include <assimp/postprocess.h> #include <assimp/scene.h> #include <assimp/version.h> #include <assimp/config.h> #include <assimp/cimport.h> #include <assimp/cexport.h>
gsi-upm/SmartSim
smartbody/src/assimp-3.1.1/test/unit/CCompilerTest.c
C
apache-2.0
255
/* * Copyright 2015 The SageTV Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
ai7/sagetv
native/ax/Native2.0/NativeCore/Demuxer.c
C
apache-2.0
58,051
// Copyright (c) 2013 Pieter Wuille // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "impl/num.h" #include "impl/field.h" #include "impl/group.h" #include "impl/ecmult.h" #include "impl/ecdsa.h" void secp256k1_start...
luke-jr/secp256k1
src/secp256k1.c
C
mit
8,886
/* * Copyright (C) 2015 Freescale Semiconductor, Inc. * * Author: * Peng Fan <Peng.Fan@freescale.com> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <div64.h> #include <asm/io.h> #include <linux/errno.h> #include <asm/arch/imx-regs.h> #include <asm/arch/crm_regs.h> #include <asm/arch/cloc...
guileschool/beagleboard
u-boot/arch/arm/mach-imx/mx7/clock_slice.c
C
mit
22,763
/* * OmniVision OV9740 Camera Driver * * Copyright (C) 2011 NVIDIA Corporation * * Based on ov9640 camera 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 Software Foundation. */ #inclu...
fedux/linux
backports/drivers/media/i2c/soc_camera/ov9740.c
C
gpl-2.0
26,649
/* Copyright (c) 2011, 2012, Monty Program Ab This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful,...
hholzgra/server
plugin/auth_pam/auth_pam.c
C
gpl-2.0
6,464
/* * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Common Codes for EXYNOS * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include...
Tomoms/android_kernel_sony_msm8x60
arch/arm/mach-exynos/common.c
C
gpl-2.0
23,939
/* * Copyright (C) 2006 * NTT (Nippon Telegraph and Telephone Corporation). * * 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 la...
holyangel/LGE_G3
crypto/camellia_generic.c
C
gpl-2.0
35,798
/* * This file is part of SIS. * * SIS, SPARC instruction simulator. Copyright (C) 1995 Jiri Gaisler, European * Space Agency * * 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 ver...
nds32/binutils
sim/erc32/float.c
C
gpl-2.0
4,743
/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
s0be/msm-caf
drivers/gpu/msm/kgsl_pwrctrl.c
C
gpl-2.0
24,545
/* 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...
HostZero/android_kernel_zuk_msm8996
net/ipc_router/ipc_router_core.c
C
gpl-2.0
121,904
/* * Copyright (C) 2001, 2002 Sistina Software (UK) Limited. * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. * * This file is released under the GPL. */ #include "dm.h" #include "dm-uevent.h" #include <linux/init.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/moduleparam.h> #i...
7420dev/android_kernel_samsung_zeroflte
drivers/md/dm.c
C
gpl-2.0
64,351
/*************************************************************************** * Plug-in for TAS5130D1B image sensor connected to the SN9C1xx PC Camera * * Controllers * * * * Copyright...
holyangel/LGE_G3
drivers/media/video/sn9c102/sn9c102_tas5130d1b.c
C
gpl-2.0
4,650
/* Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published b...
jjones-cavium/glibc
sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
C
gpl-2.0
1,732
// This is the canonical layout file for the Quantum project. If you want to add another keyboard, // this is the style you want to emulate. //Author: tong92 <tong92power@gmail.com> #include "tv44.h" #include "action_layer.h" #include "eeconfig.h" #ifdef BACKLIGHT_ENABLE #include "backlight.h" #endif // Fillers to ...
plgruener/qmk_firmware
keyboards/tv44/keymaps/tong92/keymap.c
C
gpl-2.0
7,180
/* * pci_root.c - ACPI PCI Root Bridge Driver ($Revision: 40 $) * * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is fre...
greguu/linux-3.11.3-borzoi
drivers/acpi/pci_root.c
C
gpl-2.0
18,900
/* { dg-do compile } */ /* { dg-require-effective-target powerpc_p9vector_ok } */ /* { dg-require-effective-target lp64 } */ /* { dg-options "-O2 -mdejagnu-cpu=power9" } */ vector float test (float *a, float *b, float *c, float *d) { return (vector float){*a, *b, *c, *d}; } /* { dg-final { scan-assembler-not {\mlxs...
Gurgel100/gcc
gcc/testsuite/gcc.target/powerpc/vector_float.c
C
gpl-2.0
556
// SPDX-License-Identifier: GPL-2.0-or-later /* * Marvell 88E6xxx Switch Global 2 Registers support * * Copyright (c) 2008 Marvell Semiconductor * * Copyright (c) 2016-2017 Savoir-faire Linux Inc. * Vivien Didelot <vivien.didelot@savoirfairelinux.com> */ #include <linux/bitfield.h> #include <linux/interrupt.h> ...
tmshlvck/omnia-linux
drivers/net/dsa/mv88e6xxx/global2.c
C
gpl-2.0
27,443
/* Pseudo NMI support on sparc64 systems. * * Copyright (C) 2009 David S. Miller <davem@davemloft.net> * * The NMI watchdog support and infrastructure is based almost * entirely upon the x86 NMI support code. */ #include <linux/kernel.h> #include <linux/param.h> #include <linux/init.h> #include <linux/percpu.h> #...
holyangel/LGE_G3
arch/sparc/kernel/nmi.c
C
gpl-2.0
6,128
/* * linux/kernel/sys.c * * Copyright (C) 1991, 1992 Linus Torvalds */ #include <linux/module.h> #include <linux/mm.h> #include <linux/utsname.h> #include <linux/mman.h> #include <linux/notifier.h> #include <linux/reboot.h> #include <linux/prctl.h> #include <linux/highuid.h> #include <linux/fs.h> #include <linu...
abenagiel/android_kernel_fih_msm7x30
kernel/sys.c
C
gpl-2.0
39,481
/* test vectors from p1ovect1.txt */ #include <stdio.h> #include <string.h> #include "e_os.h" #include <openssl/crypto.h> #include <openssl/err.h> #include <openssl/rand.h> #include <openssl/bn.h> #ifdef OPENSSL_NO_RSA int main(int argc, char *argv[]) { printf("No RSA support\n"); return(0); } #else #include...
ysleu/RTL8685
uClinux-dist/lib/openssl-0.9.8b/crypto/rsa/rsa_test.c
C
gpl-2.0
10,510
/* ia64-opc-x.c -- IA-64 `X' opcode table. Copyright 1998, 1999, 2000, 2002 Free Software Foundation, Inc. Contributed by Timothy Wall <twall@cygnus.com> This file is part of GDB, GAS, and the GNU binutils. GDB, GAS, and the GNU binutils are free software; you can redistribute them and/or modify them u...
scs/uclinux
user/gdb/opcodes/ia64-opc-x.c
C
gpl-2.0
6,725
/* arch/arm/mach-msm/qdsp5/audpp.c * * common code to deal with the AUDPP dsp task (audio postproc) * * Copyright (C) 2008 Google, Inc. * Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by ...
rastomanchik/android_kernel_htc_primou_new
arch/arm/mach-msm/qdsp5v2/audpp.c
C
gpl-2.0
26,372
/* * SH7724 Pinmux * * Copyright (C) 2009 Renesas Solutions Corp. * * Kuninori Morimoto <morimoto.kuninori@renesas.com> * * Based on SH7723 Pinmux * Copyright (C) 2008 Magnus Damm * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main d...
holyangel/LGE_G3
arch/sh/kernel/cpu/sh4a/pinmux-sh7724.c
C
gpl-2.0
77,737
/* ChibiOS/RT - Copyright (C) 2006-2013 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 req...
peakhunt/ChibiOS_2.6.5
os/hal/platforms/STM32/USARTv1/serial_lld.c
C
gpl-3.0
13,288
/** * Storage for siege data * * Copyright (C) 2000-2014 by * Jeffrey Fulmer - <jeff@joedog.org>, et al. * This file is distributed as part of Siege * * 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 Softwar...
endrjuskr/siege
src/data.c
C
gpl-3.0
4,550
/* * card-gids.c: Support for GIDS smart cards. * * Copyright (C) 2015 Vincent Le Toux (My Smart Logon) <vincent.letoux@mysmartlogon.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foun...
dengert/OpenSC
src/libopensc/card-gids.c
C
lgpl-2.1
80,868
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm %s -o - -verify | FileCheck %s // CHECK: @weakvar = weak global // CHECK: @__weakvar_alias = common global // CHECK: @correct_linkage = weak global // CHECK-DAG: @both = alias void (), void ()* @__both // CHECK-DAG: @both2 = alias void (), void ()* @__both2 /...
cd80/UtilizedLLVM
tools/clang/test/CodeGen/pragma-weak.c
C
unlicense
5,609