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
/* ************************************************************************** */ /* */ /* Copyright (C) 2000-2007 Cédric Auger (cedric@grisbi.org) */ /* 2004-2008 Benjamin Drieu (bdrieu@april.org) ...
philippedelorme/grisbi
src/gsb_data_currency.c
C
gpl-2.0
14,761
#ifdef BUILD_LK #else #include <linux/string.h> #if defined(BUILD_UBOOT) #include <asm/arch/mt_gpio.h> #else #include <mach/mt_gpio.h> #endif #endif #include "lcm_drv.h" // --------------------------------------------------------------------------- // Local Constants // --------------...
MrColdbird/android_kernel_oukitel_k4000pro
drivers/misc/mediatek/lcm/hct_nt35517_dsi_vdo_qhd_cpt/hct_nt35517_dsi_vdo_qhd_cpt.c
C
gpl-2.0
27,107
/* * Copyright (c) 2008-2009 Atheros Communications 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 all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
kraml/desire-sense-kernel
drivers/net/wireless/ath/ath9k/main.c
C
gpl-2.0
75,925
/* TILE-Gx-specific support for 64-bit CGC. Copyright 2011 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. 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 Soft...
CyberGrandChallenge/binutils
bfd/cgc64-tilegx.c
C
gpl-2.0
4,921
/****************************************************************************** * Copyright (c) 2004, 2008 IBM Corporation * Copyright (c) 2008, 2009 Pattrick Hueper <phueper@hueper.net> * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
wolflee/coreboot
src/device/oprom/yabel/interrupt.c
C
gpl-2.0
21,335
/* * divideQuadXform_d_rt helper function for Projective * transformation block. Double precision input datatype * Subdivide input quadrilateral and convert each subdivisions * into quadrilateral/rectangle * Copyright 1995-2006 The MathWorks, Inc. * $Revision: 1.1.8.6 $ $Date: 2006/12/27 21:26:04 $ */ #i...
heqiaoliu/Viral-Dark-Matter
ivireons/server_ivireon_test/cgi-bin/Bioperl/toolbox/rtw/vipblks/c/vipprojective/divideQuadXform_d_rt.c
C
gpl-2.0
935
#include <stdio.h> #include <signal.h> #include <unistd.h> #include <fcntl.h> #include <stdarg.h> #include <inttypes.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <netdb.h> #include <sys/signalfd.h> #include <sys/epoll.h> #include <sys/stat.h> #include <errno.h> #include <sys/wait...
thepaul/uftrace
cmds/recv.c
C
gpl-2.0
14,913
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <pthread.h> #include "../headers/log.h" #include "../headers/numeric.h" #include "../headers/server.h" #include "../headers/channel.h" #include "../headers/plugin_handler.h" #include "../headers/callback_defines.h" channel **channel_list; int channe...
Jonuz/BCIRC
src/channel.c
C
gpl-2.0
3,621
/* * File : board.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006, RT-Thread Develop Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://openlab.rt-thread.com/license/LICENSE * * Change Logs: * Date Author...
visitor83/fighting_stm32
bsp/lpc2478/board.c
C
gpl-2.0
2,053
/* FCEUmm - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2019 Libretro 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; either version 2 of the License,...
libretro/libretro-fceumm
src/boards/resetnromxin1.c
C
gpl-2.0
1,996
/* * $Id: pow.c,v 1.4 2008/07/15 07:40:54 bnv Exp $ * $Log: pow.c,v $ * Revision 1.4 2008/07/15 07:40:54 bnv * #include changed from <> to "" * * Revision 1.3 2002/06/11 12:37:15 bnv * Added: CDECL * * Revision 1.2 2001/06/25 18:49:48 bnv * Header changed to Id * * Revision 1.1 1998/07/02 17:18:00 b...
vlachoudis/brexx
lstring/pow.c
C
gpl-2.0
590
/* * svnloganal - Reads Subversion logs and writes statistics in xml format. * Copyright (C) 2007 Arto Vuori * * 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 L...
avuori/svnloganal
treetest.c
C
gpl-2.0
3,674
/* * poweroff.c - sysrq handler to gracefully power down machine. * * This file is released under the GPL v2 */ #include <linux/kernel.h> #include <linux/sysrq.h> #include <linux/init.h> #include <linux/pm.h> #include <linux/workqueue.h> #include <linux/reboot.h> #include <linux/cpumask.h> /* * Wh...
DJSteve/StreakKernel
kernel/power/poweroff.c
C
gpl-2.0
1,060
/* * Hardware modules present on the OMAP44xx chips * * Copyright (C) 2009-2011 Texas Instruments, Inc. * Copyright (C) 2009-2010 Nokia Corporation * * Paul Walmsley * Benoit Cousson * * This file is automatically generated from the OMAP hardware databases. * We respectfully ask that any modifications to this...
TI-OpenLink/kernel-omap
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
C
gpl-2.0
172,416
/* A pass for lowering trees to RTL. Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ver...
gittup/gcc
gcc/cfgexpand.c
C
gpl-2.0
71,947
/********************************************************************************** * Si8240 Linux Driver * * Copyright (C) 2011-2012 Silicon Image 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 Fre...
hfutxqd/android_kernel_zte_s291_msm8974
drivers/SiI8240/driver/hdmi_tx_lite_drv_8240/si_drv_infoframe.c
C
gpl-2.0
10,179
/* * xfrm algorithm interface * * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> * * 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...
ndmsystems/linux-2.6.22-tc
net/xfrm/xfrm_algo.c
C
gpl-2.0
12,145
/* * videobuf2-core.c - V4L2 driver helper framework * * Copyright (C) 2010 Samsung Electronics * * Author: Pawel Osciak <pawel@osciak.com> * Marek Szyprowski <m.szyprowski@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
elixirflash/dm-keepfast
drivers/media/video/videobuf2-core.c
C
gpl-2.0
47,891
/* * * 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...
anthony-kolesov/arc_ltp
testcases/kernel/device-drivers/tbio/user_space/user_tbio.c
C
gpl-2.0
8,386
/* Copyright (c) 2011-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...
dr87/G2-L-KERNEL
arch/arm/mach-msm/lge/8974ac-g3/board-8974-g3-kddi.c
C
gpl-2.0
6,731
/* * Common CPU TLB handling * * Copyright (c) 2003 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.1 of the License, or (at your option) an...
marioli/qemu
accel/tcg/cputlb.c
C
gpl-2.0
42,546
/* * 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/module.h> #include <linux/percpu.h> #include <linux/init.h> #include <linux/gfp.h> #include <linux/smp.h> #include <linux/cpu.h> ...
kamarush/ZTE_GXIn_Kernel-3.0.8
kernel/smp.c
C
gpl-2.0
18,865
/* * linux/fs/ext2/dir.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/dir.c * * Copyright (C) 1991, 1992 Linus Torvalds * * ext2 directory handling functio...
robacklin/celinux
fs/ext2/dir.c
C
gpl-2.0
15,109
/* * CFQ, or complete fairness queueing, disk scheduler. * * Based on ideas from a previously unfinished io * scheduler (round robin per-process disk scheduling) and Andrea Arcangeli. * * Copyright (C) 2003 Jens Axboe <axboe@kernel.dk> */ #include <linux/module.h> #include <linux/slab.h> #include <linux/blkd...
glitschi/kernel_P7320
block/cfq-iosched.c
C
gpl-2.0
104,101
/* * Copyright (c) 2003, 2006 Matteo Frigo * Copyright (c) 2003, 2006 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 Licens...
exic/last.fm-dbus
src/libFingerprint/libs/fftw/src/rdft/buffered.c
C
gpl-2.0
7,886
#include <drv_types.h> #include <rtl8812a_recv.h> #include <../rtl8821au/trx.h> #include <../rtl8821au/fw.h> #include "debug.h" #undef DBG_871X static inline void DBG_871X(const char *fmt, ...) { } #undef DBG_8192C static inline void DBG_8192C(const char *fmt, ...) { } /* * Increase and check if the continual_urb_er...
ssurba/rtl8821au
usb.c
C
gpl-2.0
59,121
#include <stdio.h> #define NMAX 7 #define NUM 29 int num[NUM]; int lottery[NMAX]; void combine(int n, int m) { int i, j; for (i = n; i >= m; i--) { lottery[m - 1] = num[i - 1]; if (1 < m) combine(i - 1, m - 1); else { for (j = NMAX - 1; j >= 0; j--) printf("%3d", lottery[j]); printf("\n"); } ...
doc-cloud/ds
temptation/temptation.c
C
gpl-2.0
463
/* * ixp4xx PATA/Compact Flash driver * Copyright (C) 2006-07 Tower Technologies * Author: Alessandro Zummo <a.zummo@towertech.it> * * An ATA driver to handle a Compact Flash connected * to the ixp4xx expansion bus in TrueIDE mode. The CF * must have it chip selects connected to two CS lines * on the ixp4xx. In...
Core2idiot/Kernel-Samsung-3.0...-
drivers/ata/pata_ixp4xx_cf.c
C
gpl-2.0
6,191
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #include <stdio.h> #include <stdlib.h> #include <string.h> #ifndef _WIN32 #include <unistd.h> #endif #include "grfio.h" #define MAP_NAME_LENGTH 12 #define MAP_NAME_LENGTH_EXT 16 #define NO_WATER 100000...
monimonih/eathena
src/tool/mapcache.c
C
gpl-2.0
8,444
/* cLog - cross platform logging library * Copyright (c) 2003 WebGroup Media, LLC <support@webgroupmedia.com> * * The MIT License * * 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 with...
wgm/cerb2-cparser
clog/clog_fileopen.c
C
gpl-2.0
2,105
/* * Compressed RAM block device * * Copyright (C) 2008, 2009, 2010 Nitin Gupta * * This code is released using a dual license strategy: BSD/GPL * You can choose the licence that better fits your requirements. * * Released under the terms of 3-clause BSD License * Released under the terms of GNU General Publi...
klothius/htc_magic_kernel_2635
drivers/staging/zram/zram_sysfs.c
C
gpl-2.0
5,531
/* $Id: socksys.c,v 1.1.1.1 2006/01/06 00:51:18 jsantiago Exp $ * socksys.c: /dev/inet/ stuff for Solaris emulation. * * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 1997, 1998 Patrik Rak (prak3264@ss1000.ms.mff.cuni.cz) * Copyright (C) 1995, 1996 Mike Jagdis (jaggy@purplet.demon.co.uk...
gerboland/linux-2.6.15-neuros-eabi
arch/sparc64/solaris/socksys.c
C
gpl-2.0
5,388
/* * forward_alg_omp.c * * Ver 0.0 * * March 2014 * * Implemented with C OpenMP library of multiple processes. * Input: gradient, K, edge list, number of labels, node degree, maximum node degree * Output: score matrix, pointer matrix * Compile into MATLAB function with: * part of compute_topk_omp...
hongyusu/RTA
inference_codes/forward_alg_omp.c
C
gpl-2.0
15,677
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^\ _ ^ ______ ___ ___ \______________| \ ^ / _____) \ \ / / \ ^ | | \ \/ / ) - b l u e 7 &&' N e u t r o s i d e r ^ | |___ / /\ \ ______________ / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ \____...
nicolai92/crossover-experience
resources/info/info.c
C
gpl-2.0
18,081
/* * Copyright (C) 2014, 2015 netblue30 (netblue30@yahoo.com) * * This file is part of firejail 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 version 2 of the License, ...
Sidnioulz/firejail
src/lib/common.c
C
gpl-2.0
8,782
/* Copyright (C) 1997-2001 Id Software, 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 2 of the License, or (at your option) any later version. This program is distributed in th...
qbism/coopx
src/baseq2/g_svcmds.c
C
gpl-2.0
7,122
/* belle-sip - SIP (RFC3261) library. Copyright (C) 2010 Belledonne Communications SARL 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 y...
Num98801/Linphone_lib
tester/register_tester.c
C
gpl-2.0
35,794
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 William Jon McCann <mccann@jhu.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; eith...
freedesktop-unofficial-mirror/ConsoleKit
tools/ck-collect-session-info.c
C
gpl-2.0
11,153
#include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/reboot.h> #include <linux/kdev_t.h> #include <linux/types.h> #include <linux/major.h> #include <linux/blkdev.h> #include <linux/console.h> #include <linux/delay.h> #include <linux/stringify.h> #include ...
luckasfb/OT_903D-kernel-2.6.35.7
kernel/arch/xtensa/platforms/iss/setup.c
C
gpl-2.0
1,860
/* * f_rmnet_smd_sdio.c -- RmNet SMD & SDIO function driver * * Copyright (C) 2003-2005,2008 David Brownell * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger * Copyright (C) 2003 Al Borchers (alborchers@steinerpoint.com) * Copyright (C) 2008 Nokia Corporation * Copyright (c) 2011 Code Aurora Forum. Al...
dmeadows013/Ds_Kernel_Gingerbread
drivers/usb/gadget/f_rmnet_smd_sdio.c
C
gpl-2.0
54,334
/* gzwrite.c -- zlib functions for writing gzip files * Copyright (C) 2004, 2005, 2010 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ #include "gzguts.h" /* Local functions */ local int gz_init OF((gz_statep)); local int gz_comp OF((gz_statep, int)); local int gz_z...
zeromus/biz-stella
src/zlib/gzwrite.c
C
gpl-2.0
15,100
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2007, Digium, Inc. * * Steve Murphy <murf@digium.com> borrowed code from cdr, * Mark Spencer <markster@digium.com> and others. * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact ...
bloddy/Asterisk
cel/cel_sqlite3_custom.c
C
gpl-2.0
9,327
/* * Copyright (C) 2012 Spreadtrum Communications 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 the hope that it w...
TRKP/android_kernel_samsung_s5312
arch/arm/mach-sc/board-pocket23g-wifi.c
C
gpl-2.0
9,055
/* * Copyright (C) 2010-2013 Andreas Steffen * HSR Hochschule fuer Technik Rapperswil * * 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...
maire/strongswan
src/libtnccs/plugins/tnccs_11/tnccs_11.c
C
gpl-2.0
16,293
/* * linux/arch/arm/mach-clps711x/p720t.c * * Copyright (C) 2000-2001 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, or * (a...
patrikryd/kernel
arch/arm/mach-clps711x/p720t.c
C
gpl-2.0
3,031
/* 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 the ...
faust93/kernel_f93_a5f
drivers/media/radio/radio-iris.c
C
gpl-2.0
147,666
/* * Driver for HighSpeed USB Client Controller in MSM7K * * Copyright (C) 2008 Google, Inc. * Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved. * Author: Mike Lockwood <lockwood@android.com> * Brian Swetland <swetland@google.com> * * This software is licensed under the terms of the GNU G...
justsoso8/kernel_zte_n780
drivers/usb/gadget/msm72k_udc.c
C
gpl-2.0
58,032
/* dw_macho_utils.c : Mach-O file format utils. (c) 2007-2011-2013-2017 Fernando Iazeolla 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 yo...
elboza/dwarf-ng
src/dw_macho_utils.c
C
gpl-2.0
39,891
/* * MSM architecture clock driver * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2007-2011, Code Aurora Forum. All rights reserved. * Author: San Mehat <san@android.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundatio...
Motorhead1991/android_kernel_samsung_msm7x27a
arch/arm/mach-msm/acpuclock-7201.c
C
gpl-2.0
35,086
/* * rfd_ftl.c -- resident flash disk (flash translation layer) * * Copyright (C) 2005 Sean Young <sean@mess.org> * * $Id: rfd_ftl.c,v 1.1.1.1 2010/03/11 21:07:58 kris Exp $ * * This type of flash translation layer (FTL) is used by the Embedded BIOS * by General Software. It is known as the Resident Flash Disk...
fgoncalves/Modified-TS7500-Kernel
drivers/mtd/rfd_ftl.c
C
gpl-2.0
18,762
/* this file is generated, don't edit it yourself */ #include <common.h> #include <asm/arch/dram.h> static struct dram_para dram_para = { .clock = 480, .type = 3, .rank_num = 1, .density = 4096, .io_width = 16, .bus_width = 32, .cas = 6, .zq = 123, .odt_en = 0, .size = 1024, .tpr0 = 0x30926692, .tpr1 = 0x...
Red54/u-boot-shumeipai2
board/allwinner/cubieboard/dram.c
C
gpl-2.0
482
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <CL/cl.h> unsigned char *read_buffer(char *file_name, size_t *size_ptr) { FILE *f; unsigned char *buf; size_t size; /* Open file */ f = fopen(file_name, "rb"); if (!f) return NULL; /* ...
xianggong/m2c_unit_test
test/integer/sub_sat_uint16uint16/sub_sat_uint16uint16_bin.c
C
gpl-2.0
11,417
#include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/fs.h> #include <linux/cdev.h> #include <linux/types.h> #include <linux/slab.h> #include <linux/device.h> MODULE_LICENSE("GPL"); MODULE_AUTHOR("KETAN"); /*dev will contain device number within kernel*/ static dev_t dev_no = 0; ...
ketanarlulkar/ldd3_on4.3.0
scull/char_scull.c
C
gpl-2.0
3,106
/** ****************************************************************************** * @file LwIP/LwIP_IAP/Src/flash_if.c * @author MCD Application Team * @version V1.3.1 * @date 09-October-2015 * @brief This file provides high level routines to manage internal Flash * programming...
kamfor/STMF4
STM/Projects/STM324xG_EVAL/Applications/LwIP/LwIP_IAP/Src/flash_if.c
C
gpl-2.0
4,258
/* Native Client support for ELF Copyright (C) 2012-2015 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. 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 Softwa...
DSMan195276/protura-binutils
bfd/elf-nacl.c
C
gpl-2.0
11,030
/* * wm8988.c -- WM8988 ALSA SoC audio driver * * Copyright 2009 Wolfson Microelectronics plc * Copyright 2005 Openedhand Ltd. * * 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 Lic...
sfumato77/rk3x_kernel_3.0.36
sound/soc/codecs/wm8988.c
C
gpl-2.0
30,168
/* * Handle mapping of the flash memory access routines * on TQM8xxL based devices. * * $Id: tqm8xxl.c 2 2007-04-05 08:51:12Z tt $ * * based on rpxlite.c * * Copyright(C) 2001 Kirk Lee <kirk@hpc.ee.ntu.edu.tw> * * This code is GPLed * */ /* * According to TQM8xxL hardware manual, TQM8xxL series have * fo...
odit/rv042
linux/kernel_2.6/linux/drivers/mtd/maps/tqm8xxl.c
C
gpl-2.0
6,965
/* * address space "slices" (meta-segments) support * * Copyright (C) 2007 Benjamin Herrenschmidt, IBM Corporation. * * Based on hugetlb implementation * * Copyright (C) 2003 David Gibson, IBM Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU...
raumfeld/linux-am33xx
arch/powerpc/mm/slice.c
C
gpl-2.0
23,046
/* Includes ------------------------------------------------------------------*/ //#include <string.h> #include "main.h" #include "stm32f0xx_hal.h" #include "board.h" #include "function.h" /* Private function prototypes -----------------------------------------------*/ #define MAXIMUM_TIMEOUT_MS 600000 void System...
hakehuang/mcu_stm32
apps/habs/main.c
C
gpl-2.0
5,151
cFont::tPixelData FontSml_iso8859_7[][22] = { { // 32 9, 20, 0x00000000, // ......... 0x00000000, // ......... 0x00000000, // ......... 0x00000000, // ......... 0x00000000, // ......... 0x00000000, // ......... 0x00000000, // ......... 0x00000000, // .....
signal2noise/vdr-mirror
fontsml-iso8859-7.c
C
gpl-2.0
147,317
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * Copyright (C) 2011 Robert Bosch Car Multimedia GmbH. * Copyright (C) 2012 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU L...
GNOME/mutter
clutter/clutter/clutter-gesture-action.c
C
gpl-2.0
43,623
#include <linux/module.h> #include <linux/pci.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/ioport.h> #include <linux/slab.h> #include <linux/errno.h> #include <linux/unistd.h> #include <linux/interrupt.h> #include <linux/spinlock.h> #include <linux/debugfs.h> #include ...
leemgs/OptimusOneKernel-KandroidCommunity
drivers/usb/host/uhci-hcd.c
C
gpl-2.0
18,209
/* * linux/arch/arm/kernel/signal.c * * Copyright (C) 1995-2009 Russell King * * 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/errno.h> #include <linux/sig...
mrg666/nook_kernel
arch/arm/kernel/signal.c
C
gpl-2.0
19,980
/* Source code for the "strstr" library routine. * * Copyright (c) 1988-1993 The Regents of the University of California. * All rights reserved. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its document...
VBWizard/os
aproj/libChrisOS/src/strstr.c
C
gpl-2.0
3,274
/* * drivers/s390/cio/device.c * bus driver for ccw devices * * Copyright (C) 2002 IBM Deutschland Entwicklung GmbH, * IBM Corporation * Author(s): Arnd Bergmann (arndb@de.ibm.com) * Cornelia Huck (cornelia.huck@de.ibm.com) * Martin Schwidefsky (schwidefsky@de.ibm.com) */ #include <linux/module....
milaq/linux-hpc
drivers/s390/cio/device.c
C
gpl-2.0
29,326
/* Copyright (c) 1999, 2000, 2002, 2003, 2004, 2005, 2006 John E. Davis * This file is part of JED editor library source. * * You may distribute this file under the terms the GNU General Public * License. See the file COPYING for more information. */ #include "config.h" #include "jed-feat.h" #include <stdio.h> #...
olesenm/jed
src/version.c
C
gpl-2.0
2,876
/* * linux/mm/compaction.c * * Memory compaction for the reduction of external fragmentation. Note that * this heavily depends upon page migration to do all the real heavy * lifting * * Copyright IBM Corp. 2007-2010 Mel Gorman <mel@csn.ul.ie> */ #include <linux/swap.h> #include <linux/migrate.h> #include <linux...
TeamEOS/kernel_oppo_find7
mm/compaction.c
C
gpl-2.0
32,579
/* * drivers/mtd/nand.c * * Overview: * This is the generic MTD driver for NAND flash devices. It should be * capable of working with almost all NAND chips currently available. * Basic support for AG-AND chips is provided. * * Additional technical information is available on * http://www.linux-mtd.infr...
canjiangsu/u-boot-1.3.4-sucj
drivers/mtd/nand/nand_base.c
C
gpl-2.0
77,059
/** * Tempesta TLS benchmark for crypto routines * * Copyright (C) 2020-2021 Tempesta Technologies, 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 2 of the License...
tempesta-tech/tempesta
tls/t/benchmark.c
C
gpl-2.0
6,018
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <ctype.h> #include <netinet/in.h> #include <net/if.h> #include <sys/socket.h> #include <fcntl.h> #include <sys/ioctls.h> #include <string.h> #include <glob.h> #define DEV_DIR "/dev/" const char *if_types[255] = { [0x18] = "loopback", [6] = "etherne...
dbittman/sea
apps/seaos-util/src/ifc.c
C
gpl-2.0
9,894
/* * Adaptec AAC series RAID controller driver * (c) Copyright 2001 Red Hat Inc. * * based on the old aacraid driver that is.. * Adaptec aacraid device driver for Linux. * * Copyright (c) 2000-2010 Adaptec, Inc. * 2010 PMC-Sierra, Inc. (aacraid@pmc-sierra.com) * * This program is free software; ...
GuoqingJiang/SLE12-clustermd
drivers/scsi/aacraid/linit.c
C
gpl-2.0
46,753
/* gzio.c -- IO on .gz files * Copyright (C) 1995-2002 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h * * Compile this file with -DNO_DEFLATE to avoid the compression code. */ /* @(#) $Id: gzio.c,v 1.1.1.3 2002/03/14 04:06:06 shebs Exp $ */ #include <stdio.h> #include...
unofficial-opensource-apple/gcc_jaguar
zlib/gzio.c
C
gpl-2.0
25,790
/* * see - https://jwhsmith.net/2014/12/capturing-a-webcam-stream-using-v4l2/ * - https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/user-func.html#user-func */ #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/ioctl.h> #include <unistd.h> #inc...
tjohann/my_common_docs
Programming/video_stuff/video.c
C
gpl-2.0
2,976
/* * Broadcom Dongle Host Driver (DHD), Linux-specific network interface * Basically selected code segments from usb-cdc.c and usb-rndis.c * * Copyright (C) 1999-2013, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, th...
arter97/android_kernel_nvidia_shieldtablet
drivers/net/wireless/bcmdhd_88/dhd_linux.c
C
gpl-2.0
188,606
#include <stdlib.h> #include <assert.h> #include "layout.h" int layout_obj_coord(layout_object_t *obj, layout_object_coord_t coord) { AnyObjectType *o; if (obj == NULL) return -1; o = (AnyObjectType *)obj->obj.l; /* bounding box is the same for any type */ switch (coord) { case OC_BX1: return o->BoundingBo...
timofonic/pcb-rnd
src/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/object.c
C
gpl-2.0
3,425
/* Custom IOS Module (FAT) Copyright (C) 2008 neimod. Copyright (C) 2009 WiiGator. Copyright (C) 2010 Waninkoko. 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 Lic...
waninkoko/fat-module
ehci.c
C
gpl-2.0
6,025
/* * linux/drivers/char/pcmcia/synclink_cs.c * * $Id: synclink_cs.c,v 4.34 2005/09/08 13:20:54 paulkf Exp $ * * Device driver for Microgate SyncLink PC Card * multiprotocol serial adapter. * * written by Paul Fulghum for Microgate Corporation * paulkf@microgate.com * * Microgate and SyncLink are trademarks o...
arjen75/LG-Optimus-Chic-Kernel-2.6.32.59-
drivers/char/pcmcia/synclink_cs.c
C
gpl-2.0
114,069
/* * linux/mm/memory.c * * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds */ /* * demand-loading started 01.12.91 - seems it is high on the list of * things wanted, and it should be easy to implement. - Linus */ /* * Ok, demand-loading was easy, shared pages a little bit tricker. Shared * pages start...
longqzh/chronnOS
mm/memory.c
C
gpl-2.0
110,770
/* * Copyright (C) 2009 Ludovic Jacomme (ludovic.jacomme@gmail.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 Software Foundation; either version 2 of the License, or * (at your option) any later ...
blchinezu/EZX-Projects
Games/MSX Emulator/src/psp_menu_set.c
C
gpl-2.0
15,114
/* Native-dependent code for x86 (i386 and x86-64). Copyright (C) 2001-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; e...
atgreen/binutils-gdb
gdb/x86-nat.c
C
gpl-2.0
9,510
#include <stdlib.h> /* free, EXIT_SUCCESS */ typedef int Bool; #define False 0 static void CheckQualsSub(Bool Found); void CheckQuals(void) { Bool B = False; CheckQualsSub (B); }
ravenexp/splint
test/tests2.2a/fred.c
C
gpl-2.0
198
/* ///////////////////////////////////////////////////////////////////////// */ /* This file is a part of the BSTools package */ /* written by Przemyslaw Kiciak */ /* ///////////////////////////////////////////////////////////////////////// */...
radek-p/BSTools
src/eghole/eg1hsplcore3d.c
C
gpl-2.0
24,071
/* * drivers/base/power/main.c - Where the driver meets power management. * * Copyright (c) 2003 Patrick Mochel * Copyright (c) 2003 Open Source Development Lab * * This file is released under the GPLv2 * * * The driver model core calls device_pm_add() when a device is registered. * This will initialize the e...
darth-llamah/a510_almoststock
drivers/base/power/main.c
C
gpl-2.0
28,985
/* * Copyright (c) 2008 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. */ #include <linux/types.h> #include <linux/init.h> #include <linux/i...
Core2idiot/Kernel-Samsung-3.0...-
net/ipv4/netfilter/nf_nat_proto_sctp.c
C
gpl-2.0
2,860
/* * Regulator driver for TPS6524x PMIC * * Copyright (C) 2010 Texas Instruments * * 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. * * This program is distributed "as...
Jackeagle/android_kernel_sony_c2305
drivers/regulator/tps6524x-regulator.c
C
gpl-2.0
16,526
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2017 Intel Corporation */ #include <stdio.h> #include <errno.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <stdarg.h> #include <inttypes.h> #include <rte_byteorder.h> #include <rte_common.h> #include <rte_debug.h> #include <rte_atomic...
emmericp/dpdk
drivers/net/iavf/iavf_vchnl.c
C
gpl-2.0
22,304
/* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. * Copyright 2009 Jerome Glisse. * * 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, in...
evolver56k/xpenology
drivers/gpu/drm/radeon/rv515.c
C
gpl-2.0
39,318
#include "multivoc.h" #include "_multivc.h" void MV_16BitReverb( const char *src, char *dest, const VOLUME16 *volume, int count ) { int i; short *pdest = (short *)dest; for (i = 0; i < count; i++) { int sl = src[i*2+0]; int sh = src[i*2+1] ^ 0x80; sl = (*volume)[sl] >> 8; sh = (*volume)[sh]; pdes...
marespiaut/ElOscuro
src/audiolib/mvreverb.c
C
gpl-2.0
1,155
/* --------------------------------------------------------------------------- Copyright (c) 2003, Dr Brian Gladman <brg@gladman.me.uk>, Worcester, UK. All rights reserved. LICENSE TERMS The free distribution and use of this software in both source and binary form is allowed (with or without changes) provided t...
nicwolff/asterisk-agi-mp3
main/aeskey.c
C
gpl-2.0
14,952
/** * Copyright (C) 2006-2008 Henning Norén * Copyright (C) 1996-2005 Glyph & Cog, LLC. * * 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 op...
x2q/pdfcrack-ng
pdfcrack.c
C
gpl-2.0
28,511
/* OpenCP Module Player * copyright (c) '04-'10 Stian Skjelstad <stian@nixia.no> * * unit-test of "mchasm.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 of the Lice...
cynthia/ocp-osx
dev/mchasm_test.c
C
gpl-2.0
54,810
/** * nInvaders - a space invaders clone for ncurses * Copyright (C) 2002-2003 Dettus * * 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...
TheZ3ro/ninvaders
highscore.c
C
gpl-2.0
7,613
/* htop - LinuxProcessList.c (C) 2014 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ #include "LinuxProcessList.h" #include "LinuxProcess.h" #include "CRT.h" #include "String.h" #include <errno.h> #include <sys/time.h> #include <sys/utsname.h> #incl...
wfxiang08/htop
linux/LinuxProcessList.c
C
gpl-2.0
23,589
#include "../cobj.h" static COObject *anonymous_func_name = NULL; static COObject * function_repr(COFunctionObject *this) { COObject *s; s = COStr_FromFormat("<function '%s'>", COStr_AsString(this->func_name)); return s; } static void function_dealloc(COFunctionObject *this) { CO_DECREF(this->func_na...
talkspoon/cobj
objects/functionobject.c
C
gpl-2.0
1,986
/*====================================================================== A driver for Adaptec AHA152X-compatible PCMCIA SCSI cards. This driver supports the Adaptec AHA-1460, the New Media Bus Toaster, and the New Media Toast & Jam. aha152x_cs.c 1.54 2000/06/12 21:27:25 The contents of this ...
sarnobat/knoppix
drivers/scsi/pcmcia/aha152x_stub.c
C
gpl-2.0
10,656
/* $Id$ */ /* ** Copyright (C) 2014-2016 Cisco and/or its affiliates. All rights reserved. * ** Copyright (C) 2005-2013 Sourcefire, Inc. * ** AUTHOR: Steven Sturges * ** * ** 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...
jasonish/snort
src/preprocessors/stream_api.c
C
gpl-2.0
1,262
/* * $Id: version.c,v 1.5 2008/08/23 13:50:16 cdidier Exp $ * * Copyright (C) 2007 Colin DIDIER * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distribut...
astro/irssi-xmpp
src/core/xep/version.c
C
gpl-2.0
4,232
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program 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 Software Foundation. * * This program is distributed...
sdsc/lustre-release
lustre/ptlrpc/lproc_ptlrpc.c
C
gpl-2.0
39,568
/* * UIO Hilscher CIF card driver * * (C) 2007 Hans J. Koch <hjk@hansjkoch.de> * Original code (C) 2005 Benedikt Spranger <b.spranger@linutronix.de> * * Licensed under GPL version 2 only. * */ #include <linux/device.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/uio...
andi34/kernel_samsung_espresso-cm
drivers/uio/uio_cif.c
C
gpl-2.0
3,569
/* makecosfile.c 19.1.96. * 14/10/98 - large scale changes * 5/2/98 change generators from type char to type `gen'. * * Starting from an input file containing the definition of a rewriting * system for a group or monoid, and a file containing a list of * words generating a subgroup or submonoid, output a file c...
gap-packages/kbmag
standalone/src/makecosfile.c
C
gpl-2.0
6,862