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
/* linux/arch/arm/mach-s3c2410/cpu.c * * Copyright (c) 2004-2005 Simtec Electronics * http://www.simtec.co.uk/products/SWLINUX/ * Ben Dooks <ben@simtec.co.uk> * * S3C24XX CPU Support * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
zhoupeng/spice4xen
linux-2.6.18-xen.hg/arch/arm/mach-s3c2410/cpu.c
C
gpl-2.0
7,987
/* * linux/fs/nls/nls_cp1255.c * * Charset cp1255 translation tables. * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/errno.h> static const wchar_t charset2uni[256] = { /* 0x00*/ 0x00...
1N4148/android_kernel_samsung_msm8974
fs/nls/nls_cp1255.c
C
gpl-2.0
17,391
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * The User Datagram Protocol (UDP). * * Authors: Ross Biro * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG...
AndroidDevelopersTeam/android_kernel_samsung_j2xlte_dd
net/ipv4/udp.c
C
gpl-2.0
62,671
/** * @file * * @brief IMFS Device Node Handlers * @ingroup IMFS */ /* * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.org/license/LICENSE....
heshamelmatary/rtems-rumpkernel
cpukit/libfs/src/imfs/deviceio.c
C
gpl-2.0
1,789
/******************************************************************************* * * Module Name: rsdump - AML debugger support for resource structures. * ******************************************************************************/ /****************************************************************************** ...
jeinglis/457assignment4
src/extern/acpica/source/components/resources/rsdump.c
C
gpl-3.0
21,466
#include "hex.ih" int hex_smear(su3_tuple *m_field_out, hex_parameters const *params, su3_tuple *m_field_in) { static int initialized = 0; static su3_tuple *gamma_buffer[3]; static su3_tuple *v_buffer[3]; if (!initialized) { /* Allocate consecutive memory for both of the buffers upon first instantiation...
amabdelrehim/tmLQCD
smearing/hex_hex_smear.c
C
gpl-3.0
1,957
/* * Copyright (c) 2010 Nolan Lum <nol888@gmail.com> * Copyright (c) 2009 Loren Merritt <lorenm@u.washignton.edu> * * 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 ...
SuperrSonic/WiiMC-SSLC
source/mplayer/ffmpeg/libavfilter/vf_gradfun.c
C
gpl-3.0
9,235
/* reiserfs.c - ReiserFS versions up to 3.6 */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2003,2004,2005,2008 Free Software Foundation, Inc. * * GRUB 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...
projectgnu/grub
grub-core/fs/reiserfs.c
C
gpl-3.0
42,564
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2013-05-19 Bernard porting from LPC17xx drivers. */ #include <rtthread.h> #include "lwipopts.h" #include <netif/ethernetif.h> #include "lpc_iap.h" #i...
hezlog/rt-thread
bsp/lpc43xx/drivers/drv_emac.c
C
apache-2.0
14,239
/* * Copyright 2011 INRIA Saclay * Copyright 2012-2013 Ecole Normale Superieure * * Use of this software is governed by the MIT license * * Written by Sven Verdoolaege, INRIA Saclay - Ile-de-France, * Parc Club Orsay Universite, ZAC des vignes, 4 rue Jacques Monod, * 91893 Orsay, France * and Ecole Normal...
CompOpt4Apps/IEGenLib
lib/isl/isl_band.c
C
bsd-2-clause
18,314
/* vim: set expandtab ts=4 sw=4: */ /* * You may redistribute this program 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. * * This program is distributed in the hope that it...
krattai/noo-ebs
ref_code/cjdns/interface/ETHInterface_linux.c
C
bsd-2-clause
12,936
#include "system.h" #include <stdio.h> #include "popt.h" static int _debug = 0; static int _verbose = 1; static const char * dictfn = "/usr/share/dict/words"; static poptBits dictbits = NULL; static struct { unsigned total; unsigned hits; unsigned misses; } e; static int loadDict(const char * fn, poptBits...
ystk/debian-popt
tdict.c
C
mit
3,287
/* * Copyright (c) 2003, 2007-11 Matteo Frigo * Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the ...
Aegisub/fftw3
rdft/scalar/r2cf/hc2cf_16.c
C
gpl-2.0
20,447
// SPDX-License-Identifier: GPL-2.0-only /* * proc/fs/generic.c --- generic routines for the proc-fs * * This file contains generic proc-fs routines for handling * directories and files. * * Copyright (C) 1991, 1992 Linus Torvalds. * Copyright (C) 1997 Theodore Ts'o */ #include <linux/cache.h> #include <linux...
Pingmin/linux
fs/proc/generic.c
C
gpl-2.0
17,781
/* * High-level sync()-related operations */ #include <linux/kernel.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/namei.h> #include <linux/sched.h> #include <linux/writeback.h> #include <linux/syscalls.h> #include <linux/linkage.h> #include <linux/...
mericon/Xp_Kernel_LGH850
virt/fs/sync.c
C
gpl-2.0
10,770
/* 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...
forth32/kernel-Y900
arch/arm/mach-msm/clock-fsm9900.c
C
gpl-2.0
89,107
/* * vhost-net support * * Copyright Red Hat, Inc. 2010 * * Authors: * Michael S. Tsirkin <mst@redhat.com> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. * * Contributions after 2012-01-13 are licensed under the terms of the * GNU GP...
mwhudson/qemu
hw/net/vhost_net.c
C
gpl-2.0
11,062
/* mpfr_signbit -- Signbit of a MPFR number Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. Contributed by the AriC and Caramel projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/or modify it under the terms...
epowers/mpfr
src/signbit.c
C
gpl-3.0
1,126
/* SDL_image: An example image loading library for use with SDL Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permiss...
rversteegen/commandergenius
project/jni/sdl_image/IMG_xpm.c
C
lgpl-2.1
11,504
/* * File: ms_setting.c * Author: Mingqiang Zhuang * * Created on February 10, 2009 * * (c) Copyright 2009, Schooner Information Technology, Inc. * http://www.schoonerinfotech.com/ * */ #include "mem_config.h" #include <libmemcached/memcached.h> #include <ctype.h> #include <inttypes.h> #include <limits.h>...
unix1986/universe
thirdparty/libmemcached-1.0.18/clients/ms_setting.c
C
bsd-2-clause
27,066
/* * Marvell MV88W8618 / Freecom MusicPal emulation. * * Copyright (c) 2008 Jan Kiszka * * This code is licensed under the GNU GPL v2. * * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ #include "hw/sysbus.h" #include "hw/arm/a...
xsilon/qemu
hw/arm/musicpal.c
C
gpl-2.0
48,330
/* * Copyright(c) 2012, LG Electronics Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope...
holyangel/LGG3
drivers/video/slimport/slimport7816.c
C
gpl-2.0
36,679
/* * This file is part of the coreboot project. * * Copyright (C) 2014 Rockchip 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 License. * * This program ...
librecore-org/librecore
payloads/libpayload/drivers/usb/dwc2_rh.c
C
gpl-2.0
4,185
/* * Routines for driver control interface * 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,...
civato/P900-Lollipop
sound/core/control.c
C
gpl-2.0
45,796
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
fahhem/mbed-os
targets/TARGET_STM/TARGET_STM32F1/serial_device.c
C
apache-2.0
23,079
/* * Copyright 2016-2019 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/lice...
pmq20/ruby-compiler
vendor/openssl/crypto/blake2/blake2b.c
C
mit
8,363
/** ** $Header: /roq/libim/imrle.c 1 11/02/99 4:38p Zaphod $ ** Copyright (c) 1989-1995 San Diego Supercomputer Center (SDSC) ** a division of General Atomics, San Diego, California, USA ** ** Users and possessors of this source code are hereby granted a ** nonexclusive, royalty-free copyr...
blaenk/jedioutcast
utils/roq2/libim/imrle.c
C
gpl-2.0
48,044
/* 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...
GalaxyTab4/android_kernel_samsung_msm8930-common
drivers/video/msm/mipi_samsung_oled-8930.c
C
gpl-2.0
57,336
/* Python frame filters Copyright (C) 2013-2014 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 Licen...
SaberMod/binutils-saber
gdb/python/py-framefilter.c
C
gpl-2.0
42,825
/* Copyright (c) 2011, 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...
SlimRoms/kernel_samsung_msm8660
arch/arm/mach-msm/sdio_tty.c
C
gpl-2.0
22,254
/* * CPU-agnostic ARM page table allocator. * * ARMv7 Short-descriptor format, supporting * - Basic memory attributes * - Simplified access permissions (AP[2:1] model) * - Backwards-compatible TEX remap * - Large pages/supersections (if indicated by the caller) * * Not supporting: * - Legacy access permission...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.19/drivers/iommu/io-pgtable-arm-v7s.c
C
gpl-2.0
26,025
/* * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
sigecoin/sigecoin
libevent/test/regress_thread.c
C
gpl-3.0
14,998
/* Intel i7 core/Nehalem Memory Controller kernel module * * This driver supports the memory controllers found on the Intel * processor families i7core, i7core 7xx/8xx, i5core, Xeon 35xx, * Xeon 55xx and Xeon 56xx also known as Nehalem, Nehalem-EP, Lynnfield * and Westmere-EP. * * This file may be distributed un...
souljaboy11792/linux
drivers/edac/i7core_edac.c
C
gpl-2.0
65,694
/* * Copyright (c) 2014 Fujitsu Ltd. * Author: Zeng Linggang <zenglg.jy@cn.fujitsu.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in ...
liaoqingwei/ltp
testcases/kernel/syscalls/open/open12.c
C
gpl-2.0
5,901
/***************************************************************************** * rtmp.c: RTMP output. ***************************************************************************** * Copyright (C) URJC - LADyR - Luis Lopez Fernandez * * Author: Miguel Angel Cabrera Moya * * This program is free software; you can ...
matthiasbock/VideoLAN-for-Allwinner-A10-VPU
modules/access_output/rtmp.c
C
gpl-2.0
14,588
/* * soc-dapm.c -- ALSA SoC Dynamic Audio Power Management * * Copyright 2005 Wolfson Microelectronics PLC. * 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 Public License as published by the * ...
souljaboy11792/linux
sound/soc/soc-dapm.c
C
gpl-2.0
75,661
/* * u_serial.c - utilities for USB gadget "serial port"/TTY support * * Copyright (C) 2003 Al Borchers (alborchers@steinerpoint.com) * Copyright (C) 2008 David Brownell * Copyright (C) 2008 by Nokia Corporation * Copyright (c) 2013-2015 The Linux Foundation. All rights reserved. * * This code also borrows from...
minz1/xosp_kernel_xiaomi_msm8956
drivers/usb/gadget/u_serial.c
C
gpl-2.0
42,251
/* * (C) Copyright 2002 * Brad Kemp, Seranoa Networks, Brad.Kemp@seranoa.com * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <mpc8260.h> #include <asm/processor.h> #undef DEBUG_FLASH /* * This file implements a Common Flash Interface (CFI) driver for U-Boot. * The width of the port and t...
vkrmsngh/new_pro
u-boot/board/ppmc8260/strataflash.c
C
gpl-2.0
20,576
/* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team * * 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; eit...
blaa/claws
src/image_viewer.c
C
gpl-3.0
12,584
/* HTTP support. Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014 Free Software Foundation, Inc. This file is part of GNU Wget. GNU Wget is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
harshadjs/wget-xia
src/http.c
C
gpl-3.0
135,303
const unsigned char dumpbc[41010]={ 0x49,0x46,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x08,0x00,0x00,0x00, 0x7a,0x0c,0x00,0x00,0xff,0xff,0xff,0xff,0x11,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x11,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0...
sebastienhouzet/nabaztag-source-code
hardware/compilateur/mtl_linux/dumpbc.c
C
mit
207,652
/* linux/arch/arm/mach-s3c2440/mach-osiris.c * * Copyright (c) 2005 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * 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 Fr...
impedimentToProgress/UCI-BlueChip
snapgear_linux/linux-2.6.21.1/arch/arm/mach-s3c2440/mach-osiris.c
C
mit
7,115
/* * Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com> * * 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) * ...
monzie9000/rory
workspace/EclipsePapa/src/sw/airborne/subsystems/actuators/actuators_mkk_v2.c
C
gpl-2.0
3,242
/* * Synopsys DesignWare Multimedia Card Interface driver * * Copyright (C) 2009 NXP Semiconductors * Copyright (C) 2009, 2010 Imagination Technologies Ltd. * * 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 ...
TeamRegular/android_kernel_samsung_kminilte
drivers/mmc/host/dw_mmc-pltfm.c
C
gpl-2.0
3,258
/* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code distributions * retain the above copyright notice and...
rhuitl/uClinux
user/tcpdump/print-vjc.c
C
gpl-2.0
4,141
/* getroot.c - Get root device */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2006,2007,2008,2009,2010,2011 Free Software Foundation, Inc. * * GRUB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published b...
dweeezil/grub
util/getroot.c
C
gpl-3.0
11,469
/* * Copyright (C) 2012-2013 Michael Niedermayer (michaelni@gmx.at) * * This file is part of libswresample * * libswresample 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 ...
guorendong/iridium-browser-ubuntu
third_party/ffmpeg/libswresample/dither.c
C
bsd-3-clause
5,206
/* * Generic helpers for smp ipi calls * * (C) Jens Axboe <jens.axboe@oracle.com> 2008 */ #include <linux/rcupdate.h> #include <linux/rculist.h> #include <linux/kernel.h> #include <linux/export.h> #include <linux/percpu.h> #include <linux/init.h> #include <linux/gfp.h> #include <linux/smp.h> #include <linux/cpu.h> ...
burstlam/pantech_kernel_A850
kernel/smp.c
C
gpl-2.0
21,846
/* * kexec: Linux boots Linux * * modified from kexec-ppc.c * */ #define _GNU_SOURCE #include <stddef.h> #include <stdio.h> #include <errno.h> #include <stdint.h> #include <string.h> #include <getopt.h> #include "../../kexec.h" #include "../../kexec-syscall.h" #include "kexec-arm.h" #include <arch/options.h> #de...
CyanogenMod/android_external_kexec-tools
kexec/arch/arm/kexec-arm.c
C
gpl-2.0
2,217
/* * usbmidi.c - ALSA USB MIDI driver * * Copyright (c) 2002-2009 Clemens Ladisch * All rights reserved. * * Based on the OSS usb-midi driver by NAGANO Daisuke, * NetBSD's umidi driver by Takuya SHIOZAKI, * the "USB Device Class Definition for MIDI Devices" by Roland * * Redistribution and u...
sagark/linux-pf-profile
sound/usb/midi.c
C
gpl-2.0
68,344
/* Subroutines used for code generation of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2016 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. 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 Pub...
selmentdev/selment-toolchain
source/gcc-latest/gcc/config/nds32/nds32.c
C
gpl-3.0
120,492
#include <ctype.h> #include "hw/usb.h" #include "hw/usb/desc.h" #include "trace.h" /* ------------------------------------------------------------------ */ static uint8_t usb_lo(uint16_t val) { return val & 0xff; } static uint8_t usb_hi(uint16_t val) { return (val >> 8) & 0xff; } int usb_desc_device(const ...
SSLAB-HSA/HSAemu
qemu/hw/usb/desc.c
C
gpl-3.0
23,040
/* GObject - GLib Type, Object, Parameter and Signal Library * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc. * Copyright © 2010 Christian Persch * * 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...
zhongliangkang/twemproxy41
migrate/glib/gobject/gvaluetypes.c
C
apache-2.0
35,747
/* $Id: sgi2tiff.c,v 1.5 2006/01/11 16:59:36 fwarmerdam Exp $ */ /* * Copyright (c) 1991-1997 Sam Leffler * Copyright (c) 1991-1997 Silicon Graphics, Inc. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * tha...
AntonKast/LightZone
lightcrafts/jnisrc/tiff/libtiff/tiff-3.8.2/tools/sgi2tiff.c
C
bsd-3-clause
8,936
/*********************************************************************/ /* Copyright 2009, 2010 The University of Texas at Austin. */ /* All rights reserved. */ /* */ /* Redistribution and use in sou...
hpanderson/OpenBLAS
lapack/getrf/getrf_parallel_omp.c
C
bsd-3-clause
7,276
/* * Fadecandy DFU Bootloader * * Copyright (c) 2013 Micah Elizabeth Scott * * 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 rig...
marcinkaszynski/burner-files
vendor/fadecandy/bootloader/bootloader.c
C
mit
4,522
/* ---------------------------------------------------------------------- * Copyright (C) 2010-2014 ARM Limited. All rights reserved. * * $Date: 12. March 2014 * $Revision: V1.4.4 * * Project: CMSIS DSP Library * Title: arm_sin_f32.c * * Description: Fast sine calculat...
sundw2014/sdr-transmiter
software/stm32F4/Libraries/CMSIS/DSP_Lib/Source/FastMathFunctions/arm_sin_f32.c
C
mit
4,935
/* * ftp.c * * Copyright (C) 2009-2011 by ipoque GmbH * Copyright (C) 2011-15 - ntop.org * * This file is part of nDPI, an open source deep packet inspection * library based on the OpenDPI and PACE technology by ipoque GmbH * * nDPI is free software: you can redistribute it and/or modify * it under the terms ...
nanshusu/nanshusu.github.cn
uware/src/dpi/lib/ndpi/protocols/attic/ftp.c
C
gpl-2.0
16,366
/************************************************************** spi_main.c process of spi This is MASTER side. ***************************************************************/ /************************************************************** Preprocessor by common **************************************************...
sdonati84/GalaxyS3_Kernel
drivers/phone_svn/ipc_spi/spi_main.c
C
gpl-2.0
14,075
/* * * 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 License, or * (at your option) any l...
liaoqingwei/ltp
testcases/kernel/syscalls/ipc/semget/semget02.c
C
gpl-2.0
4,062
/* * OpenMAMA: The open middleware agnostic messaging API * Copyright (C) 2011 NYSE Technologies, 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...
dpauls/OpenMAMA
common/c_cpp/src/c/windows/wSemaphore.c
C
lgpl-2.1
3,899
/* * fs/sdcardfs/mmap.c * * Copyright (c) 2013 Samsung Electronics Co. Ltd * Authors: Daeho Jeong, Woojoong Lee, Seunghwan Hyun, * Sunghwan Yun, Sungjong Seo * * This program has been developed as a stackable file system based on * the WrapFS which written by * * Copyright (c) 1998-2011 Erez Z...
LG-V10/LGV10__pplus_msm8992_kernel
fs/sdcardfs/mmap.c
C
gpl-2.0
2,316
/* sha1.c : Implementation of the Secure Hash Algorithm */ /* SHA: NIST's Secure Hash Algorithm */ /* This version written November 2000 by David Ireland of DI Management Services Pty Limited <code@di-mgt.com.au> Adapted from code in the Python Cryptography Toolkit, version 1.0.0 by A.M. Kuchling 1995. */ /* A...
cmpham/decaf-platform
shared/sleuthkit/src/hashtools/sha1.c
C
gpl-2.0
2,406
/* * Makes a tree bootable image for IBM Evaluation boards. * Basically, just take a zImage, skip the ELF header, and stuff * a 32 byte header on the front. * * We use htonl, which is a network macro, to make sure we're doing * The Right Thing on an LE machine. It's non-obvious, but it should * work on anything...
mvpmc/mvpmc
tools/mktree/mktree.c
C
gpl-2.0
3,534
/** * QEMU RTL8139 emulation * * Copyright (c) 2006 Igor Kovalenko * * 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 ...
asias/qemu
hw/rtl8139.c
C
gpl-2.0
103,463
/* * BSS client mode implementation * Copyright 2003-2008, Jouni Malinen <j@w1.fi> * Copyright 2004, Instant802 Networks, Inc. * Copyright 2005, Devicescape Software, Inc. * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> * Copyright 2007, Michael Wu <flamingice@sourmilk.net> * * This program is free software; yo...
speef/linux
net/mac80211/mlme.c
C
gpl-2.0
124,038
/* * Copyright (c) 2004-2011 Atheros Communications Inc. * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in al...
wanam/Adam-Kernel-N8000
drivers/net/wireless/ath/ath6kl/main.c
C
gpl-2.0
36,756
/* * Copyright Copyright 2003 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms specified in the COPYING file * distributed with the Net-SNMP package. */ /* * pkcs.c */ #include <net-snmp/net-snmp-config.h> #ifdef NETSNMP_USE_PKCS11 #include <net-snmp/types.h> #include <net-snmp/outp...
ZHAW-INES/rioxo-uClinux-dist
user/net-snmp/net-snmp-5.7.1/snmplib/pkcs.c
C
gpl-2.0
23,153
//***************************************************************************** // // Only include parts of code relevant for Energia device // //***************************************************************************** #if defined(__MSP430FR5969__) || defined(__MSP430FR5739__) /* --COPYRIGHT--,BSD * Copyright (c...
wespo/Energia
hardware/msp430/libraries/DriverLib/utility/eusci_a_uart.c
C
lgpl-2.1
28,520
/* * 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 option) any...
harise100/Harise100Kernel
drivers/sensorhub/factory/accel_mpu6500.c
C
gpl-2.0
9,181
/* * HighPoint RR3xxx/4xxx controller driver for Linux * Copyright (C) 2006-2015 HighPoint Technologies, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version...
qzhuyan/linux
drivers/scsi/hptiop.c
C
gpl-2.0
46,849
/* * mxser.c -- MOXA Smartio/Industio family multiport serial driver. * * Copyright (C) 1999-2006 Moxa Technologies (support@moxa.com.tw). * Copyright (C) 2006-2007 Jiri Slaby <jirislaby@gmail.com> * * This code is loosely based on the 1.8 moxa driver which is based on * Linux serial driver...
darth-llamah/kernel-caanoo
drivers/char/mxser_new.c
C
gpl-2.0
72,367
/* * rk610.c -- RK610 ALSA SoC audio driver * * Copyright (C) 2009 rockchip lhh * * * Based on RK610.c * * 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/...
davidftv/rk3x_kernel_3.0.36
sound/soc/codecs/rk610_codec.c
C
gpl-2.0
25,676
/*--------------------------------------------------------------------*/ /*--- Callgrind ---*/ /*--- ct_costs.c ---*/ /*--------------------------------------------------------------------*/ /* This file is part of ...
svn2github/Valgrind3
callgrind/costs.c
C
gpl-2.0
2,228
/******************************************************************************* * Copyright 2011 Broadcom Corporation. All rights reserved. * * @file arch/arm/plat-kona/kona_cpufreq.c * * Unless you and Broadcom execute a separate written software license agreement * governing use of this software, this software is l...
sai9615/MY-kernel-for-grand-I9082
dragon/arch/arm/plat-kona/kona_cpufreq.c
C
gpl-2.0
17,206
/** ****************************************************************************** * @file stm32l4xx_hal_usart_ex.c * @author MCD Application Team * @brief Extended USART HAL module driver. * This file provides firmware functions to manage the following extended * functionalities of ...
kjbracey-arm/mbed
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_usart_ex.c
C
apache-2.0
15,990
/* Copyright (c) 2008-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...
DennisBold/android_kernel_htc_pyramid
drivers/char/diag/diagchar_core.c
C
gpl-2.0
59,713
#define WIN32_LEAN_AND_MEAN #include "../git-compat-util.h" #include "win32.h" #include "../cache.h" /* to read configuration */ static inline void filetime_to_timespec(const FILETIME *ft, struct timespec *ts) { long long winTime = ((long long)ft->dwHighDateTime << 32) + ft->dwLowDateTime; winTime -= 116444736000...
asoltys/git
compat/cygwin.c
C
gpl-2.0
4,877
/* Test program for rpmatch function. Copyright (C) 1998-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jochen Hein <jochen.hein@delphi.central.de>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser ...
tripleee/glibc-en-150
localedata/tst-rpmatch.c
C
gpl-2.0
1,253
/* Set up combined include path chain for the preprocessor. Copyright (C) 1986-2014 Free Software Foundation, Inc. Broken out of cppinit.c and cppfiles.c and rewritten Mar 2003. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
albertghtoun/gcc-libitm
gcc/incpath.c
C
gpl-2.0
15,062
/*********************************************************************** * * Copyright 2001 MontaVista Software Inc. * Author: jsun@mvista.com or jsun@junsun.net * * arch/mips/ddb5xxx/common/prom.c * prom.c file. * * This program is free software; you can redistribute it and/or modify it * under the term...
sensysnetworks/uClinux
linux-2.4.x/arch/mips/ddb5xxx/common/prom.c
C
gpl-2.0
4,561
/* * Copyright (C) 2005 SAN People * Copyright (C) 2008 Atmel * * 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....
librae8226/linux-2.6.30.4
arch/arm/mach-at91/board-sam9g20ek.c
C
gpl-2.0
5,803
/* Copyright (C) 2002 FPMD group This file is distributed under the terms of the GNU General Public License. See the file `License' in the root directory of the present distribution, or http://www.gnu.org/copyleft/gpl.txt . */ #include <stdio.h> #include <stdlib.h> #include "c_defs.h" #define MAX_INDEX 327...
maxhutch/quantum-espresso
clib/indici.c
C
gpl-2.0
3,753
/* * This file is part of Cleanflight and Betaflight. * * Cleanflight and Betaflight are free software. You can redistribute * this software and/or modify this software 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 ...
AlienWiiBF/betaflight
src/main/common/huffman.c
C
gpl-3.0
3,137
/* * R : A Computer Language for Statistical Data Analysis * Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka * Copyright (C) 2000-2007 The R Core Team * * 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 *...
gatoravi/regtools
src/utils/rmath/pt.c
C
mit
2,636
/* * linux/arch/arm/mach-integrator/integrator_cp.c * * Copyright (C) 2003 Deep Blue Solutions Ltd * * 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. */...
fedya/aircam-openwrt
build_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/linux-2.6.28.fa2/arch/arm/mach-integrator/integrator_cp.c
C
gpl-2.0
13,282
/* Unix SMB/CIFS implementation. low level tdb backup and restore utility Copyright (C) Andrew Tridgell 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 ver...
zarboz/XBMC-PVR-mac
tools/darwin/depends/samba/samba-3.6.6/lib/tdb/tools/tdbbackup.c
C
gpl-2.0
7,654
/* * bf5xx-ac97.c -- AC97 support for the ADI blackfin chip. * * Author: Roy Huang * Created: 11th. June 2007 * Copyright: Analog Device Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Soft...
ZhizhouTian/s3c-linux
sound/soc/blackfin/bf5xx-ac97.c
C
gpl-2.0
10,820
/*! \file gd32f30x_crc.c \brief CRC driver \version 2018-10-10, V1.1.0, firmware for GD32F30x (The version is for mbed) */ /* Copyright (c) 2018, GigaDevice Semiconductor Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted...
mbedmicro/mbed
targets/TARGET_GigaDevice/TARGET_GD32F30X/GD32F30x_standard_peripheral/Source/gd32f30x_crc.c
C
apache-2.0
3,644
/* * florida-tables.c -- data tables for Florida-class codecs * * Copyright 2012 Wolfson Microelectronics plc * * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 a...
engine95/exynos5433-MM-NNKernel
drivers/mfd/florida-tables.c
C
gpl-2.0
139,756
/* * Copyright (C) 2003, Axis Communications AB. */ #include <linux/sched.h> #include <linux/mm.h> #include <linux/kernel.h> #include <linux/signal.h> #include <linux/errno.h> #include <linux/wait.h> #include <linux/ptrace.h> #include <linux/unistd.h> #include <linux/stddef.h> #include <linux/syscalls.h> #include <l...
JonnyH/pandora-kernel
arch/cris/arch-v32/kernel/signal.c
C
gpl-2.0
17,823
/* * Copyright (C) 2003 - 2009 NetXen, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later versi...
pichina/linux-bcache
drivers/net/netxen/netxen_nic_main.c
C
gpl-2.0
45,678
/* * Copyright (C) 2013 Stefan Roese <sr@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 Free Software Foundation; either vers...
lxl1140989/dmsdk
uboot/u-boot-dm6291/arch/powerpc/cpu/ppc4xx/spl_boot.c
C
gpl-2.0
1,819
/***************************************************************************/ /* */ /* gxvmorx4.c */ /* */ /* ...
mabels/jmupdf
src/main/cpp/thirdparty/freetype-2.4.10/src/gxvalid/gxvmorx4.c
C
gpl-2.0
2,885
/* * Copyright 2016 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...
evaautomation/linux
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c
C
gpl-2.0
14,915
/* * raw.c - Raw sockets for protocol family CAN * * Copyright (c) 2002-2007 Volkswagen Group Electronic Research * 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...
freak07/Kirisakura_Pixel
net/can/raw.c
C
gpl-2.0
18,932
/* net/tipc/udp_media.c: IP bearer support for TIPC * * Copyright (c) 2015, Ericsson AB * 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 th...
jarodwilson/linux-muck
net/tipc/udp_media.c
C
gpl-2.0
20,061
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. */ #include <linux/export.h> #include <linux/module.h> #include <linux/regmap.h> #include <linux/platform_device.h> #include <linux/clk-provider.h> #include <linux/reset-controller.h> #include <linux/of.h> #...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.19/drivers/clk/qcom/common.c
C
gpl-2.0
6,632
/* * linux/drivers/mmc/host/msm_sdcc.c - Qualcomm MSM 7X00A SDCC Driver * * Copyright (C) 2007 Google Inc, * Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved. * Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or m...
Hybrid-Rom/kernel_lge_ls970
drivers/mmc/host/msm_sdcc.c
C
gpl-2.0
185,186
/* Copyright (c) 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 hope th...
vishal-android-freak/Super_Fusion
drivers/video/msm/vidc/common/enc/venc.c
C
gpl-2.0
39,604