code
stringlengths
1.03k
250k
repo_name
stringlengths
7
70
path
stringlengths
4
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
1.03k
250k
/* * devfreq: Generic Dynamic Voltage and Frequency Scaling (DVFS) Framework * for Non-CPU Devices. * * Copyright (C) 2011 Samsung Electronics * MyungJoo Ham <myungjoo.ham@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
ivanich/android_kernel_oneplus_msm8996
drivers/devfreq/devfreq.c
C
gpl-2.0
32,907
/* * Copyright (c) by Jaroslav Kysela <perex@suse.cz> * * Misc memory accessors * * * 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 ...
laitianli/kernel-change_linux-2.6.18
sound/core/memory.c
C
gpl-2.0
2,564
/* * xen/drivers/char/dt-uart.c * * Generic uart retrieved via the device tree * * Julien Grall <julien.grall@linaro.org> * Copyright (c) 2013 Linaro Limited. * * 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...
emonty/vhd-util
xen/drivers/char/dt-uart.c
C
gpl-2.0
1,988
/* * linux/fs/namespace.c * * (C) Copyright Al Viro 2000, 2001 * Released under GPL v2. * * Based on code from fs/super.c, copyright Linus Torvalds and others. * Heavily rewritten. */ #include <linux/syscalls.h> #include <linux/export.h> #include <linux/capability.h> #include <linux/mnt_namespace.h> #include ...
Koloses/kernel_j5
fs/namespace.c
C
gpl-2.0
71,550
/* ** LuaSQL, SQLite driver ** Author: Tiago Dionizio, Eduardo Quintao ** See Copyright Notice in license.html ** $Id: ls_sqlite3.c,v 1.15 2009/02/07 23:16:23 tomas Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "sqlite3.h" #include "lua.h" #include "lauxlib.h" #in...
ensiform/etlegacy
src/luasql/ls_sqlite3.c
C
gpl-3.0
15,930
/* Set file access and modification times. Copyright (C) 2003-2013 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 any ...
jave/xwidget-emacs
lib/utimens.c
C
gpl-3.0
18,151
/* * Mesa 3-D graphics library * * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without l...
ArcticaProject/vcxsrv
mesalib/src/mesa/math/m_xform.c
C
gpl-3.0
3,582
/* * * Copyright 2015 gRPC authors. * * 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 agree...
kumaralokgithub/grpc
src/core/lib/transport/metadata_batch.c
C
apache-2.0
10,888
/* * 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 ...
lavjain/incubator-hawq
src/test/examples/testlibpq3.c
C
apache-2.0
6,471
/* * This confidential and proprietary software may be used only as * authorised by a licensing agreement from ARM Limited * (C) COPYRIGHT 2007-2013 ARM Limited * ALL RIGHTS RESERVED * The entire notice above must be reproduced on all authorised * copies and copies may only be made to the extent permitted * by a...
zhengdejin/X1_Code
kernel-3.10/drivers/misc/mediatek/gpu/mt8127/mali/mali/common/mali_kernel_core.c
C
apache-2.0
46,229
/************************************************************************************ * configs/stm3240g-eval/src/up_adc.c * arch/arm/src/board/up_adc.c * * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary form...
gcds/project_xxx
nuttx/configs/stm3240g-eval/src/up_adc.c
C
bsd-3-clause
5,417
/** * @file usbKbdInit.c */ /* Embedded Xinu, Copyright (C) 2013. All rights reserved. */ #include <usb_core_driver.h> #include <usbkbd.h> /** Table of USB keyboard control blocks */ struct usbkbd usbkbds[NUSBKBD]; /** USB device driver structure for the usbkbd driver */ static struct usb_device_driver usbkbd_d...
uswick/xinu-parallella
device/usbkbd/usbKbdInit.c
C
bsd-3-clause
1,752
/* * Driver for keys on TCA6416 I2C IO expander * * Copyright (C) 2010 Texas Instruments * * Author : Sriramakrishnan.A.G. <srk@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 * published by the Free Software F...
huzl008/zeda-android-kernel
drivers/input/keyboard/tca6416-keypad.c
C
gpl-2.0
8,045
/* * drivers/gpu/ion/ion_chunk_heap.c * * Copyright (C) 2012 Google, 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 ...
csolg/hi35xx-buildroot
linux/linux-3.4.y/drivers/gpu/ion/ion_chunk_heap.c
C
gpl-2.0
4,826
/* Copyright (c) 2009-2010, 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...
mtmichaelson/LG_Spectrum_Kernel
lge/com_device/display/lcd_mipi_sharp_video_wvga_pt.c
C
gpl-2.0
4,795
/* * Written by Oron Peled <oron@actcom.co.il> * Copyright (C) 2011, Xorcom * * 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...
Evangileon/dahdi
linux/drivers/dahdi/xpp/card_echo.c
C
gpl-2.0
9,045
/* * lec.c: Lan Emulation driver * * Marko Kiiskila <mkiiskila@yahoo.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ #include <linux/slab.h> #include <linux/kernel.h> #include <linux/bitops.h> #include <linux/capability.h> /* We are ethernet device */ #include <linux/if_ether.h> #include <linux/...
bas-t/linux_media
net/atm/lec.c
C
gpl-2.0
61,120
/* COVERAGE: sendfile */ #include <fcntl.h> #include <stdlib.h> #include <stdio.h> #include <sys/sendfile.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <string.h> int main () { int fd, read_fd; int write_fd; struct stat stat_buf; off_t offset = 0; char buff[22]; // Note below 22 == ...
amitkr/systemtap
testsuite/systemtap.syscall/sendfile.c
C
gpl-2.0
1,044
/* Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2003. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as publ...
stephenR/glibc-fpp
nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c
C
gpl-2.0
2,817
/***************************************************************************** * loadsave.c : Playlist loading / saving functions ***************************************************************************** * Copyright (C) 1999-2004 VLC authors and VideoLAN * $Id$ * * Authors: Samuel Hocevar <sam@zoy.org> * * ...
qenter/vlc-android
vlc/src/playlist/loadsave.c
C
gpl-2.0
7,210
/* SPC5 HAL - Copyright (C) 2013 STMicroelectronics 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 ...
bhimebau/ChibiOS
os/hal/ports/SPC5/SPC56ELxx/hal_lld.c
C
gpl-3.0
10,673
/* radare - LGPL - Copyright 2013-2016 - pancake, sghctoma */ #include <r_cons.h> R_API void r_cons_pal_free () { int i; RCons *cons = r_cons_singleton (); for (i = 0; i < R_CONS_PALETTE_LIST_SIZE; i++) { if (cons->pal.list[i]) R_FREE (cons->pal.list[i]); } } R_API void r_cons_pal_init (const char *foo) { RCo...
lionaneesh/radare2
libr/cons/pal.c
C
lgpl-3.0
13,642
/** ****************************************************************************** * @file stm32f7xx_hal_can.c * @author MCD Application Team * @brief CAN HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Controller Area Netwo...
kjbracey-arm/mbed
targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/STM32F7xx_HAL_Driver/stm32f7xx_hal_can.c
C
apache-2.0
81,334
/**************************************************************************//** * * @copyright (C) 2020 Nuvoton Technology Corp. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2020-3-16 YH First version * *****************************...
armink/rt-thread
bsp/nuvoton/libraries/m480/rtt_port/drv_epwm.c
C
apache-2.0
6,997
/* * * IP-address/hostname to country converter. * * Problem; you want to know where IP a.b.c.d is located. * * Use ares_gethostbyname ("d.c.b.a.zz.countries.nerd.dk") * and get the CNAME (host->h_name). Result will be: * CNAME = zz<CC>.countries.nerd.dk with address 127.0.x.y (ver 1) or * CNAME = <a.b.c.d...
grpc/grpc-ios
native_src/third_party/cares/cares/src/tools/acountry.c
C
apache-2.0
26,727
/* * 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...
endlessm/chromium-browser
third_party/ffmpeg/libavcodec/pthread_slice.c
C
bsd-3-clause
7,565
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
bvernoux/micropython
py/objclosure.c
C
mit
3,801
/* $Id: cosa.c,v 1.31 2000/03/08 17:47:16 kas Exp $ */ /* * Copyright (C) 1995-1997 Jan "Yenya" Kasprzak <kas@fi.muni.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 vers...
zhoupeng/spice4xen
linux-2.6.18-xen.hg/drivers/net/wan/cosa.c
C
gpl-2.0
59,788
/* * QLogic Fibre Channel HBA Driver * Copyright (c) 2003-2014 QLogic Corporation * * See LICENSE.qla2xxx for copyright and licensing details. */ #include "qla_def.h" #include "qla_gbl.h" #include <linux/delay.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include "qla_devtbl.h" #ifdef CONFIG_SPARC #in...
xerpi/linux
drivers/scsi/qla2xxx/qla_init.c
C
gpl-2.0
202,587
#include <linux/kernel.h> #include <linux/module.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/spinlock.h> #include <linux/device.h> #include <linux/err.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #include <linux/gpio.h> #include <linux/of_gpio.h> #include <linux/idr.h> #include <...
bhree/android_kernel_jena_msm7x27a
drivers/gpio/gpiolib.c
C
gpl-2.0
46,029
/********************************************************************\ * 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...
jhs-s/gnucash-aqplus
src/import-export/csv-export/gncmod-csv-export.c
C
gpl-2.0
2,817
/* * Copyright (c) 2011-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 ...
FireLord1/android_kernel_motorola_msm8916
drivers/usb/gadget/f_rmnet.c
C
gpl-2.0
40,655
/* * ALSA driver for ATI IXP 150/200/250 AC97 modem controllers * * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either versio...
shichao-an/linux-2.6.11.12
sound/pci/atiixp_modem.c
C
gpl-2.0
36,373
/* Copyright (c) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@suse.de>, 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 by the...
SanDisk-Open-Source/SSD_Dashboard
uefi/userspace/glibc/nis/nis_file.c
C
gpl-2.0
2,543
/* Copyright (C) 2009-2015 Free Software Foundation, Inc. Contributed by ARM Ltd. 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 Lic...
rmbq/hjl-binutils
gdb/arch/aarch64-insn.c
C
gpl-2.0
11,363
/* Compare strings while treating digits characters numerically. Copyright (C) 1997, 2002, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>, 1997. The GNU C Library is free software; you can redistribute it and/or ...
pirix/glibc-pirix
string/strverscmp.c
C
gpl-2.0
3,132
/* ----------------------------------------------------------------------- * * * Copyright 2004-2008 H. Peter Anvin - 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 th...
android-ia/external_syslinux
com32/lib/sys/fileclose.c
C
gpl-2.0
1,601
// SPDX-License-Identifier: GPL-2.0 /* * This file is part of STM32 ADC driver * * Copyright (C) 2016, STMicroelectronics - All Rights Reserved * Author: Fabrice Gasnier <fabrice.gasnier@st.com>. * * Inspired from: fsl-imx25-tsadc * */ #include <linux/clk.h> #include <linux/interrupt.h> #include <linux/irqchip...
Pingmin/linux
drivers/iio/adc/stm32-adc-core.c
C
gpl-2.0
22,736
/* * Copyright (c) 2009 Baptiste Coudurier <baptiste.coudurier@gmail.com> * * 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 ...
OshinKaramian/jsmc
server/ffmpeg/linux/libavutil/tests/random_seed.c
C
gpl-3.0
1,659
/* variance_AD.c -- Adjoint of the lateral variance of outgoing photons Copyright (C) 2011 Robin Hogan <r.j.hogan@reading.ac.uk> 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...
NumPDEClassTTU/femus
external/adept/adept-1.0/multiscatter/variance_AD.c
C
lgpl-2.1
2,524
/* RunTime Type Identification Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Mostly written by Jason Merrill (jason@cygnus.com). This file is part of GCC. GCC is free software; you can redistribute it and/o...
the-linix-project/linix-kernel-source
gccsrc/gcc-4.7.2/gcc/cp/rtti.c
C
bsd-2-clause
47,693
/* * Copyright (c) 2010 Patrick McHardy <kaber@trash.net> * * 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. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module....
anasanzari/Cowcopy
net/netfilter/xt_CT.c
C
gpl-2.0
10,282
/* Copyright (c) 2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope...
savoca/kcal
drivers/video/msm/mdss/mdss_dsi_status.c
C
gpl-2.0
7,130
/* * This file is part of the coreboot project. * * Copyright 2013 Google Inc. * Copyright (C) 2012 Samsung Electronics * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the...
latelee/coreboot
src/soc/samsung/exynos5420/trustzone.c
C
gpl-2.0
1,217
/****************************** * * This function opens the .mdf file and extracts connectivity information * into the atoms Atom structure. It also updates the charge from the .car * file because the charge in the .mdf file has more significant figures. * */ #include "Msi2LMP2.h" /* Prototype for function to pro...
nchong/ic_liggghts
tools/msi2lmp/src/ReadMdfFile.c
C
gpl-2.0
12,839
/******************************************************************************* * * Module Name: utmutex - local mutex support * ******************************************************************************/ /* * Copyright (C) 2000 - 2014, Intel Corp. * All rights reserved. * * Redistribution and use in sour...
dtuchsch/linux-preempt_rt
drivers/acpi/acpica/utmutex.c
C
gpl-2.0
10,264
/* * Backlight driver for OMAP based boards. * * Copyright (c) 2006 Andrzej Zaborowski <balrog@zabor.org> * * This package 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 Licens...
robacklin/nxc2620
drivers/video/backlight/omap1_bl.c
C
gpl-2.0
5,049
/* * Copyright (C) 2003 Jana Saout <jana@saout.de> * Copyright (C) 2004 Clemens Fruhwirth <clemens@endorphin.org> * Copyright (C) 2006-2020 Red Hat, Inc. All rights reserved. * Copyright (C) 2013-2020 Milan Broz <gmazyland@gmail.com> * * This file is released under the GPL. */ #include <linux/completion.h> #inc...
penberg/linux
drivers/md/dm-crypt.c
C
gpl-2.0
90,376
/* cell.c: AFS cell and server record management * * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free So...
zhoupeng/spice4xen
linux-2.6.18-xen.hg/fs/afs/cell.c
C
gpl-2.0
13,409
/* * linux/fs/ext4/super.c * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * from * * linux/fs/minix/inode.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Big-endian to little-endian...
kamma/android_kernel_huawei_angler
fs/ext4/super.c
C
gpl-2.0
163,901
/* * A driver for the ARM PL022 PrimeCell SSP/SPI bus master. * * Copyright (C) 2008-2009 ST-Ericsson AB * Copyright (C) 2006 STMicroelectronics Pvt. Ltd. * * Author: Linus Walleij <linus.walleij@stericsson.com> * * Initial version inspired by: * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c * Initial adoptio...
redpig/linux
drivers/spi/spi-pl022.c
C
gpl-2.0
65,173
/* * This file is part of the coreboot project. * * Copyright (C) 2012 The ChromiumOS Authors. 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; version 2 of the Lic...
NamanG/coreboot2.0
src/southbridge/intel/lynxpoint/elog.c
C
gpl-2.0
4,660
/* * 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...
SuperrSonic/WiiMC-SSLC
source/mplayer/ffmpeg/libavcodec/snow.c
C
gpl-3.0
22,948
/** src/base/omx_base_filter.c OpenMAX Base Filter component. This component does not perform any multimedia processing. It derives from base component and contains two ports. It can be used as a base class for codec and filter components. Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009...
DroidModderXtreme/android_device_sony_nypon-2
hardware/media/libomxil-bellagio/src/base/omx_base_filter.c
C
apache-2.0
13,367
/***************************************************************************//** * \file cy_dma.c * \version 2.20 * * \brief * The source code file for the DMA driver. * ******************************************************************************** * \copyright * Copyright 2016-2019 Cypress Semiconductor Corporation ...
kjbracey-arm/mbed
targets/TARGET_Cypress/TARGET_PSOC6/psoc6pdl/drivers/source/cy_dma.c
C
apache-2.0
16,770
/* * This file is part of the Soletta Project * * Copyright (C) 2015 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain ...
gpaes/soletta
src/samples/common/platform-simple.c
C
bsd-3-clause
3,626
/* ** 2004 May 22 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *************************...
endlessm/chromium-browser
third_party/sqlite/src/src/test6.c
C
bsd-3-clause
32,372
/****************************************************** The transaction (c) 1996 Innobase Oy Created 3/26/1996 Heikki Tuuri *******************************************************/ #include "trx0trx.h" #ifdef UNIV_NONINL #include "trx0trx.ic" #endif #include "trx0undo.h" #include "trx0rseg.h" #include "log0log.h" ...
suhailsherif/MySQL-5.1-
storage/innobase/trx/trx0trx.c
C
gpl-2.0
50,117
/* Copyright (C) 1995, 1996, 1997, 1998 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 Library General Public License as published by the Free Software Foundation; either version ...
ysleu/RTL8685
uClinux-dist/lib/libc/sysdeps/arm/ptrace.c
C
gpl-2.0
1,581
/* ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requi...
DL7AD/pecanpico9
tracker/software/ChibiOS/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c
C
gpl-3.0
9,490
/* * drivers/mtd/nand/diskonchip.c * * (C) 2003 Red Hat, Inc. * (C) 2004 Dan Brown <dan_brown@ieee.org> * (C) 2004 Kalev Lember <kalev@smartlink.ee> * * Author: David Woodhouse <dwmw2@infradead.org> * Additional Diskonchip 2000 and Millennium support by Dan Brown <dan_brown@ieee.org> * Diskonchip Millennium Pl...
KOala888/GB_kernel
linux_kernel_galaxyplayer-master/drivers/mtd/nand/diskonchip.c
C
gpl-2.0
50,661
/* * hx8369 TFT-LCD Panel Driver for the Samsung Universal board * * Derived from drivers/video/samsung/s3cfb_hx8369.c * * 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 o...
KOala888/GB_kernel
linux_kernel_galaxyplayer-master/drivers/video/samsung/s3cfb_hx8369.c
C
gpl-2.0
18,986
// Default ECO Layout // KLE here : http://www.keyboard-layout-editor.com/#/gists/0733eca6b4cb88ff9d7de746803f4039 #include QMK_KEYBOARD_H extern keymap_config_t keymap_config; // Each layer gets a name for readability, which is then used in the keymap matrix below. // The underscores don't mean anything - you can ...
chancegrissom/qmk_firmware
keyboards/eco/keymaps/default/keymap.c
C
gpl-2.0
5,679
/* * kernel/workqueue.c - generic async execution with shared worker pool * * Copyright (C) 2002 Ingo Molnar * * Derived from the taskqueue/keventd code by: * David Woodhouse <dwmw2@infradead.org> * Andrew Morton * Kai Petzke <wpp@marie.physik.tu-berlin.de> * Theodore Ts'o <tytso@mit.edu> *...
rutvik95/android_kernel_samsung_universal-5260
kernel/workqueue.c
C
gpl-2.0
107,867
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2009 Oracle. All rights reserved. */ #include <linux/sched.h> #include <linux/pagemap.h> #include <linux/writeback.h> #include <linux/blkdev.h> #include <linux/rbtree.h> #include <linux/slab.h> #include "ctree.h" #include "disk-io.h" #include "transaction.h" #i...
Taeung/tip
fs/btrfs/relocation.c
C
gpl-2.0
115,411
/************************************************************************ * Unreal Internet Relay Chat Daemo, src/aln.c * (C) 2000 Carsten Munk (Techie/Stskeeps) <stskeeps@tspre.org> * Copyright (C) 2000 Lucas Madar [bahamut team] * * See file AUTHORS in IRC package for additional names of * the program...
morria/Unreal
src/aln.c
C
gpl-2.0
6,488
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Per-thread (in Go, per-M) malloc cache for small objects. // // See malloc.h for an overview. #include "runtime.h" #include "arch.h" #include "malloc.h" vo...
ptriller/dcpu-gcc
libgo/runtime/mcache.c
C
gpl-2.0
3,001
/* test mpz_divisible_2exp_p */ /* Copyright 2001 Free Software Foundation, Inc. This file is part of the GNU MP Library test suite. The GNU MP Library test suite is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;...
mwcampbell/gmp
tests/mpz/t-divis_2exp.c
C
gpl-3.0
3,047
/* * inet_diag.c Module for monitoring INET transport protocols sockets. * * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; ...
awid777/android_kernel_htc_k2-CM
net/ipv4/inet_diag.c
C
gpl-3.0
28,604
/* * software YUV to RGB converter * * Copyright (C) 2009 Konstantin Shishkov * * 1,4,8bpp support and context / deglobalize stuff * by 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 Le...
ShawnKoo/avplayer-1
third_party/android/ffmpeg_2.0/jni/ffmpeg/libswscale/yuv2rgb.c
C
gpl-3.0
32,152
/* * * 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...
gameduell/kythe
third_party/grpc/src/core/channel/client_channel.c
C
apache-2.0
19,560
/*************************************************************************** Copyright (c) 2014, The OpenBLAS Project 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...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/kernel/x86_64/dsymv_U_microk_sandy-2.c
C
bsd-3-clause
5,777
/* Copyright (c) 2009, Code Aurora Forum. All rights reserved. * Copyright (C) 2010 Sony Ericsson Mobile Communications AB. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Softwar...
nobodyAtall/nAa-kernel-ics
drivers/media/video/msm/msm_camera.c
C
gpl-2.0
65,519
/* Unix SMB/Netbios implementation. Version 1.9. uid/user handling Copyright (C) Andrew Tridgell 1992-1998 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...
carlobar/uclinux_leon3_UD
user/samba/source/smbd/uid.c
C
gpl-2.0
10,933
/* * Copyright (c) 2009 by Xuggle Incorporated. All rights reserved. * 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...
wkritzinger/asuswrt-merlin
release/src/router/ffmpeg/libavcodec/libspeexenc.c
C
gpl-2.0
6,253
/****************************************************************************** * * Copyright (C) 2010 - 2014 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...
rbesenczi/real-time-traffic-analyzer
src/traffic_analyser_Vivado_2014_4/traffic_analyser_Vivaldo_2014_4.sdk/fsbl_bsp/ps7_cortexa9_0/libsrc/scugic_v2_1/src/xscugic_hw.c
C
gpl-3.0
18,296
/** src/utils.c Set of utility functions for debugging purposes Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licens...
emrainey/libomxil-bellagio-staging
src/utils.c
C
lgpl-2.1
4,917
/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. 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 publ...
hjl-tools/uClibc
test/nptl/tst-mutex4.c
C
lgpl-2.1
3,990
#include <winpr/crt.h> #include <winpr/error.h> #include <winpr/wtsapi.h> int TestWtsApiExtraDynamicVirtualChannel(int argc, char* argv[]) { BOOL bSuccess; ULONG length; ULONG bytesRead; ULONG bytesWritten; BYTE buffer[1024]; HANDLE hVirtualChannel; length = sizeof(buffer); hVirtualChannel = WTSVirtualChann...
xproax/FreeRDP
winpr/libwinpr/wtsapi/test/TestWtsApiExtraDynamicVirtualChannel.c
C
apache-2.0
1,211
// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s --check-prefix=DEFAULT // RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - -fwrapv | FileCheck %s --check-prefix=WRAPV // RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - -ftrapv | FileCheck %s --check-prefix=TR...
youtube/cobalt
third_party/llvm-project/clang/test/CodeGen/integer-overflow.c
C
bsd-3-clause
3,563
#include <linux/types.h> #include <linux/errno.h> #include <linux/kmod.h> #include <linux/sched.h> #include <linux/interrupt.h> #include <linux/tty.h> #include <linux/tty_driver.h> #include <linux/file.h> #include <linux/mm.h> #include <linux/string.h> #include <linux/slab.h> #include <linux/poll.h> #include <linux/pro...
prototype-U/prototype-kernel-dx
drivers/tty/tty_ldisc.c
C
gpl-2.0
13,133
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2000-2002 Maxim Krasnyansky <maxk@qualcomm.com> * Copyright (C) 2003-2007 Marcel Holtmann <marcel@holtmann.org> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
rowboat/external-bluetooth-hcidump
parser/parser.c
C
gpl-2.0
7,393
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. Copyright 2013 Lennart Poettering systemd is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either...
shaded-enmity/systemd
src/libsystemd/sd-bus/bus-convenience.c
C
gpl-2.0
16,892
/* * 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 the hope that it will be use...
JonnyH/pandora-kernel
drivers/usb/serial/mos7840.c
C
gpl-2.0
78,274
/* * QLogic Fibre Channel HBA Driver * Copyright (c) 2003-2014 QLogic Corporation * * See LICENSE.qla2xxx for copyright and licensing details. */ #include "qla_def.h" #include "qla_gbl.h" #include "qla_target.h" #include <linux/moduleparam.h> #include <linux/vmalloc.h> #include <linux/slab.h> #include <linux/lis...
Pingmin/linux
drivers/scsi/qla2xxx/qla_mid.c
C
gpl-2.0
25,888
/* * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include <dirent.h> #include <errno.h> #define __need_NULL #include <stddef.h> #include "dirstream.h" #ifndef __READDIR # define __READDIR readdir # define __DIRENT_TYPE ...
czankel/xtensa-uclibc
libc/misc/dirent/readdir.c
C
lgpl-2.1
1,317
/**************************************************************** * @nolint * The author of this software is David M. Gay. * * Copyright (c) 1991, 2000, 2001 by Lucent Technologies. * * Permission to use, copy, modify, and distribute this software for any * purpose without fee is hereby granted, provided that th...
jpeach/zfsd
ext/libphenom/corelib/dtoa.c
C
apache-2.0
96,911
/* * File : dc.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006 - 2009, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date Au...
GuoZhiyong/RTT_GPS
components/rtgui/common/dc.c
C
gpl-2.0
29,476
/****************************************************************************** * * Copyright (C) 2009 - 2014 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...
rbesenczi/real-time-traffic-analyzer
src/traffic_analyser_Vivado_2014_4/traffic_analyser_Vivaldo_2014_4.sdk/fsbl_bsp/ps7_cortexa9_0/libsrc/standalone_v4_2/src/sleep.c
C
gpl-3.0
2,853
/* Processed by ecpg (regression mode) */ /* These include files are added by the preprocessor */ #include <ecpglib.h> #include <ecpgerrno.h> #include <sqlca.h> /* End of automatic include section */ #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y)) #line 1 "func.pgc" #include <stdio.h> #include <stdlib.h> #include <strin...
50wu/gpdb
src/interfaces/ecpg/test/expected/sql-func.c
C
apache-2.0
4,147
/* * OF helpers for parsing display timings * * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix * * based on of_videomode.c by Sascha Hauer <s.hauer@pengutronix.de> * * This file is released under the GPLv2 */ #include <linux/export.h> #include <linux/of.h> #include <linux/slab.h> #...
prasidh09/cse506
unionfs-3.10.y/drivers/video/of_display_timing.c
C
gpl-2.0
6,424
/* /linux/drivers/misc/modem_if/modem_modemctl_device_mdm6600.c * * Copyright (C) 2010 Google, Inc. * Copyright (C) 2010 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...
ownhere/samsung-kernel-sgs3-ownhere
drivers/misc/modem_if/modem_modemctl_device_mdm6600.c
C
gpl-2.0
14,810
// MELFAS HEX to C converter v1.6 [2008.05.26] const UINT16 MELFAS_binary_nLength = 0x21FC; // 8.5 KBytes ( 8700 Bytes ) const UINT8 MELFAS_binary[] = { // Model name : // Module revision : // Firmware version : 7 0xF0,0x1F,0x00,0x20,0xC1,0x00,0x00,0x00,0xD5,0x00,0x00,0x00,0xD7,0x00,0x00,...
CyanogenMod/samsung-kernel-hercules
drivers/input/touchscreen/MCS8000_bin.c
C
gpl-2.0
45,382
/* PR middle-end/47893 */ /* { dg-do run } */ /* { dg-options "-O2" } */ /* { dg-options "-O2 -mtune=atom -fno-omit-frame-pointer -fno-strict-aliasing" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern void abort (void); struct S { unsigned s1:4, s2:2, s3:2, s4:2, s5:2, s6:1, s7:1, s8:1, s9:1, s10:1; in...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.dg/pr47893.c
C
gpl-2.0
3,260
/* * NSA Security-Enhanced Linux (SELinux) security module * * This file contains the SELinux hook function implementations. * * Authors: Stephen Smalley, <sds@epoch.ncsc.mil> * Chris Vance, <cvance@nai.com> * Wayne Salamon, <wsalamon@nai.com> * James Morris <jmorris@redhat.com> * * Cop...
keepcalm444/android_kernel_samsung_smdk4412
security/selinux/hooks.c
C
gpl-2.0
148,050
/* binder.c * * Android IPC Subsystem * * Copyright (C) 2007-2008 Google, 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 distri...
bebek15/samsung_kernel_msm7x27
drivers/staging/android/binder.c
C
gpl-2.0
101,985
/* Copyright (C) 2005-2016 Free Software Foundation, Inc. Contributed by Richard Henderson <rth@redhat.com>. This file is part of the GNU Offloading and Multi Processing Library (libgomp). Libgomp is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
selmentdev/selment-toolchain
source/gcc-latest/libgomp/config/posix/lock.c
C
gpl-3.0
5,963
// SPDX-License-Identifier: GPL-2.0 /* * gadget.c - DesignWare USB3 DRD Controller Gadget Framework Link * * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com * * Authors: Felipe Balbi <balbi@ti.com>, * Sebastian Andrzej Siewior <bigeasy@linutronix.de> */ #include <linux/kernel.h> ...
cminyard/linux-live-app-coredump
drivers/usb/dwc3/gadget.c
C
gpl-2.0
116,191
/* * Universal Interface for Intel High Definition Audio Codec * * HD audio interface patch for SigmaTel STAC92xx * * Copyright (c) 2005 Embedded Alley Solutions, Inc. * Matt Porter <mporter@embeddedalley.com> * * Based on patch_cmedia.c and patch_realtek.c * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de> * ...
ya-mouse/linux-moxa-np6610
sound/pci/hda/patch_sigmatel.c
C
gpl-2.0
181,966
/* * This file is part of Cleanflight. * * Cleanflight 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. * * Cleanflight is distr...
alvins82/cleanflight
src/main/drivers/accgyro_spi_mpu6000.c
C
gpl-3.0
9,668