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 |
|---|---|---|---|---|---|
/**
*
*/
#define ADTG_WRITE_FUNC 0x11644
#define CMOS_WRITE_FUNC 0x119CC
#define CMOS16_WRITE_FUNC 0x11AB8
#include <module.h>
#include <dryos.h>
#include <property.h>
#include <bmp.h>
#include <menu.h>
#include <config.h>
#include <gdb.h>
#include <cache_hacks.h>
unsigned int hook_calls = ... | frantony/magic-lantern | modules/adtg_log/adtg_log.c | C | gpl-2.0 | 8,884 |
/*
* File : board.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2012, 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://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Autho... | blueskycoco/rt-thread | bsp/ls1bdev/drivers/board.c | C | gpl-2.0 | 1,879 |
/*
* Copyright (C) 2007-2009 ST-Ericsson AB
* License terms: GNU General Public License (GPL) version 2
* ST DDC I2C master mode driver, used in e.g. U300 series platforms.
* Author: Linus Walleij <linus.walleij@stericsson.com>
* Author: Jonas Aaberg <jonas.aberg@stericsson.com>
*/
#include <linux/init.h>
#includ... | andi34/kernel_samsung_espresso-cm | drivers/i2c/busses/i2c-stu300.c | C | gpl-2.0 | 27,431 |
/*
* Copyright (c) 2014 Realtek Semiconductor Corp. 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 as published by the Free Software Foundation.
*
*/
#include <linux/signal.h>
#include <linux/slab.... | bgat/linux-multi-v7 | drivers/net/usb/r8152.c | C | gpl-2.0 | 99,691 |
/*
* Code for AM335X EVM.
*
* Copyright (C) 2011 Texas Instruments, Inc. - http://www.ti.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 version 2.
*
* This program is distributed... | ExorEmbedded/android-us01-kernel | arch/arm/mach-omap2/board-am335xevm.c | C | gpl-2.0 | 125,121 |
/*
callbacks.c - Part of IMSKPE
Copyright (C) 2004 Andreas Madsack
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.... | imskpe/imskpe | imskpe/src/callbacks.c | C | gpl-2.0 | 62,074 |
/*
*
* Zinitix bt541 touchscreen driver
*
* Copyright (C) 2013 Samsung Electronics Co.Ltd
*
* 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 progra... | Danile71/serranoveltexx_kernel | drivers/input/touchscreen/zinitix/zinitix_bt541_ts.c | C | gpl-2.0 | 137,227 |
/*
* Driver for PowerMac Z85c30 based ESCC cell found in the
* "macio" ASICs of various PowerMac models
*
* Copyright (C) 2003 Ben. Herrenschmidt (benh@kernel.crashing.org)
*
* Derived from drivers/macintosh/macserial.c by Paul Mackerras
* and drivers/serial/sunzilog.c by David S. Miller
*
* Hrm... actually, ... | titusece/linux_imx | drivers/tty/serial/pmac_zilog.c | C | gpl-2.0 | 51,526 |
/*
* Xiphos Bible Study Tool
* commentary.c - gui for commentary modules
*
* Copyright (C) 2000-2020 Xiphos Developer 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 versio... | crosswire/xiphos | src/gtk/commentary.c | C | gpl-2.0 | 4,006 |
/*
* Mathlib : A C Library of Special Functions
* Copyright (C) 1998 Ross Ihaka
* Copyright (C) 2000-8 The R Development Core Team
* Copyright (C) 2005 The R Foundation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... | radfordneal/pqR | src/nmath/qf.c | C | gpl-2.0 | 1,745 |
/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if !defined(__native_client__) || defined(__GLIBC__)
int __lxstat(int ver... | qtekfun/htcDesire820Kernel | external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/lstat.c | C | gpl-2.0 | 407 |
//
// Copyright(C) 2005-2014 Simon Howard
//
// 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 d... | AlexMax/crispy-doom | src/deh_main.c | C | gpl-2.0 | 11,200 |
/*
* cx2341x - generic code for cx23415/6 based devices
*
* Copyright (C) 2006 Hans Verkuil <hverkuil@xs4all.nl>
*
* 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 ... | xiandaicxsj/copyKvm | drivers/media/video/cx2341x.c | C | gpl-2.0 | 31,380 |
/*
* linux/drivers/mmc/sdio.c
*
* Copyright 2006-2007 Pierre Ossman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later v... | hypnos-android/Hypnos | drivers/mmc/core/sdio.c | C | gpl-2.0 | 19,548 |
/*
* COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO)
* (a.k.a. Fault Tolerance or Continuous Replication)
* Implement a qdisc to capture the packets from master and slave.
*
* Copyright (C) 2014 FUJITSU LIMITED
*
* Author: Wen Congyang <wency@cn.fujitsu.com>
*
* This work is licensed... | wencongyang/colo-agent | colo.c | C | gpl-2.0 | 4,681 |
/*
* GTKBlistThemeLoader for Pidgin
*
* Pidgin is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of t... | tdrhq/pidgin-clone | pidgin/gtkblist-theme-loader.c | C | gpl-2.0 | 9,165 |
/*
* Ut Video decoder
* Copyright (c) 2011 Konstantin Shishkov
*
* 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, o... | gupanpan/ijkplayer | extra/ffmpeg/libavcodec/utvideodec.c | C | gpl-2.0 | 32,733 |
/*
Motion detection module
Author: mx3 (Max Sagaydachny) . win1251 ( Ìàêñèì Ñàãàéäà÷íûé )
Email: win.drivers@gmail.com
Skype: max_dtc
ICQ#: 125-985-663
Country: Ukraine
Sity: Kharkiv
20070912 mx3: first version
20070918 mx3: speed optimization,
20101201 CHDKLover: speed optimization
20160710 62ndidiot: prelim dig... | c10ud/CHDK | modules/motion_detector.c | C | gpl-2.0 | 30,249 |
/* $Id: pcre_study.c 129 2005-12-10 00:07:02Z jon $ */
/*************************************************
* Perl-Compatible Regular Expressions *
*************************************************/
/* PCRE is a library of functions to support regular expressions whose syntax
and semantics are as close as po... | diegoagudo/redebr-ircd | lib/pcre/pcre_study.c | C | gpl-2.0 | 14,427 |
/*
* Samsung EXYNOS FIMC-LITE (camera host interface) driver
*
* Copyright (C) 2012 Samsung Electronics Co., Ltd.
* Sylwester Nawrocki <s.nawrocki@samsung.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 ... | ubuntustudio-kernel/ubuntu-quantal-lowlatency | drivers/media/video/s5p-fimc/fimc-lite.c | C | gpl-2.0 | 41,830 |
/* Copyright (c) 2008-2009, 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... | OMFGBKANG/nk2 | drivers/video/msm/mdp_vsync.c | C | gpl-2.0 | 12,758 |
/*
* File: main.c
* Author: pdavila
*
* Created on 8 de noviembre de 2013, 8:56
*/
#include <stdio.h> // Librería donde se encuntra la instrucción "printf" y "scanf"
/*
* Primer programa vacio - Prueba
*/
int main() {
// Este programa no hace nada
/* Declaración de variables ... | pdavila13/Programacion_C | Pseudocodi/ProgramaVacio/main.c | C | gpl-2.0 | 1,825 |
/*
* viking -- GPS Data and Topo Analyzer, Explorer, and Manager
*
* Copyright (C) 2003-2005, Evan Battaglia <gtoevan@gmx.net>
*
* 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... | talba/viking | src/vikwindow.c | C | gpl-2.0 | 83,664 |
/*
* kernel/stop_machine.c
*
* Copyright (C) 2008, 2005 IBM Corporation.
* Copyright (C) 2008, 2005 Rusty Russell rusty@rustcorp.com.au
* Copyright (C) 2010 SUSE Linux Products GmbH
* Copyright (C) 2010 Tejun Heo <tj@kernel.org>
*
* This file is released under the GPLv2 and any later version.
*/
#include <li... | SmokyBob/android_kernel_asus_padfone2 | kernel/stop_machine.c | C | gpl-2.0 | 13,722 |
/*******************************************************************************
File - CO_OD.c
CANopen Object Dictionary.
Copyright (C) 2004-2008 Janez Paternoster
License: GNU Lesser General Public License (LGPL).
<http://canopennode.sourceforge.net>
(For more information see <CO_SDO.h>.)
*/
/*... | luminize/CANopenSocket | CANopend/CO_OD.c | C | gpl-2.0 | 55,726 |
/*******************************************************************************
*
* File mscg.c
*
* Copyright (C) 2012 Martin Luescher
*
* This software is distributed under the terms of the GNU General Public
* License (GPL)
*
* Generic multi-shift CG solver program for the lattice Dirac equation
*
* The externally ... | bjoern-leder/mrw | modules/linsolv/mscg.c | C | gpl-2.0 | 11,449 |
/*
*
*
* Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
* 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 Soft... | tommythorn/yari | shared/cacao-related/phoneme_feature/midp/src/ams/ams_util/svm/native/MIDletProxyUtils.c | C | gpl-2.0 | 1,325 |
/*
The oRTP library is an RTP (Realtime Transport Protocol - rfc3550) stack.
Copyright (C) 2001 Simon MORLAT simon.morlat@linphone.org
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... | scs/uclinux | user/linphone/linphone-2.0.1/oRTP/src/avprofile.c | C | gpl-2.0 | 8,927 |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "catcierge_config.h"
#include "catcierge_fsm.h"
#include "minunit.h"
#include "catcierge_test_config.h"
#include "catcierge_test_helpers.h"
#include "catcierge_args.h"
#include "catcierge_types.h"
#include <opencv2/imgproc/imgproc_c.h>
#include <opencv... | JoakimSoderberg/catcierge | test/TEST_catcierge_fsm_rfid.c | C | gpl-2.0 | 13,392 |
/*! @file get_perm_c.c
* \brief Matrix permutation operations
*
* <pre>
* -- SuperLU routine (version 3.1) --
* Univ. of California Berkeley, Xerox Palo Alto Research Center,
* and Lawrence Berkeley National Lab.
* August 1, 2008
* </pre>
*/
#include "slu_ddefs.h"
#include "colamd.h"
extern int genmmd_(int *... | dribbroc/HONEI | honei/math/SuperLU_4.1/SRC/get_perm_c.c | C | gpl-2.0 | 15,083 |
#include <stdio.h>
/* By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see
that the 6th prime is 13.
What is the 10 001st prime number?
*/
int isPrime(int num, int primes[], int primeCount);
int main(int argc, char *arv[])
{
int primes[10001];
int primeCount = 1, i=3;
primes[0] = 2;
wh... | rgiesler/projectEulerSolutions_C | problem7.c | C | gpl-2.0 | 878 |
/* ASCEND modelling environment
Copyright (C) 1996-2007 Carnegie Mellon University
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This... | georgyberdyshev/ascend | models/sensitivity/sensitivity.c | C | gpl-2.0 | 25,309 |
/*! \file arch/ppc/platforms/katanaQp.c
*
* Board setup routines for the Artesyn KatanaQP
*
* Tim Montgomery <timm@artesyncp.com>
*
* Based on code by Rabeeh Khoury - rabeeh@galileo.co.il
* Based on code by Mark A. Greer - <mgreer@mvista.com>
*
* This program is free software; you can redistribute it and/or ... | camelguo/linux-2.6-trimedia | arch/ppc/platforms/katanaQp.c | C | gpl-2.0 | 29,907 |
// Copyright (C) 1999-2000 Id Software, Inc.
//
#include "g_local.h"
qboolean G_SpawnString( const char *key, const char *defaultString, char **out ) {
int i;
if ( !level.spawning ) {
*out = (char *)defaultString;
// G_Error( "G_SpawnString() called while not spawning" );
}
for ( i = 0 ; i < level.numSpawnV... | bretcolin/GalleryVirtuality | code/game/g_spawn.c | C | gpl-2.0 | 15,568 |
/*
* %GPL_START_LICENSE%
* ---------------------------------------------------------------------
* Copyright 2008-2018, Pittsburgh Supercomputing Center
* 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 publis... | pscedu/slash2 | sliod/ric.c | C | gpl-2.0 | 17,754 |
/*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 1994, Karl Keyte: Added support for disk statistics
* Elevator latency, (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
* Queue request tables / lock, selectable elevator, Jens Axboe <axboe@suse.de>
* kernel-doc documentation started by NeilBrown <... | davidmueller13/flo-1 | block/blk-core.c | C | gpl-2.0 | 81,216 |
/*
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
* s_bsd_poll.c: POSIX poll() compatible network routines.
*
* Originally by Adrian Chadd <adrian@creative.net.au>
* Copyright (C) 2002 Hybrid Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under... | mendix/ircd-hybrid | src/s_bsd_poll.c | C | gpl-2.0 | 4,778 |
/*
Copyright (C) 2003 by Sean David Fleming
sean@ivec.org
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is dis... | arohl/gdis | src/file_diff.c | C | gpl-2.0 | 7,577 |
/*
* Copyright (C) 2007 Oracle. 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 v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | alfsamsung/LG_X3_P880_v20a | fs/btrfs/ioctl.c | C | gpl-2.0 | 73,102 |
/* purple
*
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | failedxyz/pidgin | libpurple/accountopt.c | C | gpl-2.0 | 11,453 |
// Copyright (c) 2017 Jakub Filipowicz <jakubf@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 version.
//... | jakubfi/em400 | src/fpga/iobus.c | C | gpl-2.0 | 17,611 |
/*
* Copyright (C) 2010 Freescale Semiconductor, 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 late... | wanghao-xznu/vte | testcases/vte_tests_suite/timer_test/nanosleep_test.c | C | gpl-2.0 | 2,396 |
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | CzBiX/Telegram | TMessagesProj/jni/libtgvoip3/webrtc_dsp/common_audio/signal_processing/resample_by_2_internal.c | C | gpl-2.0 | 20,406 |
/* cm-unknown.c - Widget to show information about an unknown card
* Copyright (C) 2009, 2011 g10 Code GmbH
*
* This file is part of GPA.
*
* GPA is free software; you can redistribute and/or modify this part
* of GPA under the terms of either
*
* - the GNU Lesser General Public License as published by the ... | gpg/gpa | src/cm-unknown.c | C | gpl-3.0 | 6,497 |
/* (c) Itai Nahshon */
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/cirrus/lg_i2c.c,v 1.4 2000/12/06 15:35:17 eich Exp $ */
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86_ansic.h"
#include "compiler.h"
#include "xf86Pci.h"
#include "xf86PciInfo.h"
#include "vgaHW.h"
#include "cir.h"
#define _LG_P... | chriskmanx/qmole | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/hw/xfree86/drivers/cirrus/lg_i2c.c | C | gpl-3.0 | 1,938 |
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* 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
* (... | brion/gimp | plug-ins/script-fu/script-fu-interface.c | C | gpl-3.0 | 31,719 |
/* base64.c -- Encode binary data using printable characters.
Copyright (C) 1999-2001, 2004-2006, 2009-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; ... | lijiaqigreat/liquidwar-web | reference/src/lib/glb/gnulib-base64.c | C | gpl-3.0 | 18,824 |
#if 0
vox2v3a.exe: vox2v3a.c; cl vox2v3a.c /Ox /G6Fy /MD /link /opt:nowin98
del vox2v3a.obj
!if 0
#endif
#include <malloc.h>
#include <stdlib.h>
#include <stdio.h>
//#include <stdio.h>
#include <termios.h>
#include <unistd.h>
//int mygetch( ) {
int getch( ) {
struct termios oldt,
newt;
int ... | Gnomescroll/Gnomescroll | tools/vox_lib/converters/vox2v3a.c | C | gpl-3.0 | 2,484 |
/*********************************************************************************
* MeetiX OS By MeetiX OS Project [Marco Cicognani] *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Gene... | MarcoCicognani/MeetiX-OS-Project | toolchain/i686/libs/libsource/libs/src/api/ename.c | C | gpl-3.0 | 1,464 |
/*
* This file is part of u360gts, aka amv-open360tracker 32bits:
* https://github.com/raul-ortega/amv-open360tracker-32bits
*
* The code below is an adaptation by Ra�l Ortega of the original code written by Samuel Brucksch:
* https://github.com/SamuelBrucksch/open360tracker
*
* u360gts is free software: you can... | raul-ortega/u360gts | src/main/tracker/telemetry.c | C | gpl-3.0 | 4,338 |
#include "symlinkat.h"
#include "../base.h"
#include "../errno.h"
#include <linux-syscalls/linux.h>
#include "../../../../../platform-include/sys/errno.h"
#include "../common_at.h"
extern char* strcpy(char* dst, const char* src);
long sys_symlinkat(int fd, const char* path, const char* link)
{
int ret;
ret = LINUX... | X0rg/darling | src/kernel/emulation/linux/unistd/symlinkat.c | C | gpl-3.0 | 431 |
#include <ctype.h>
int __isspace_ascii ( int ch );
int __isspace_ascii ( int ch ) {
return (unsigned int)(ch - 9) < 5u || ch == ' ';
}
int isspace ( int ch ) __attribute__((weak,alias("__isspace_ascii")));
| DemonSinusa/SiemanC | LibsCore/dietlibc/src/lib/isspace.c | C | gpl-3.0 | 214 |
#include "RawData.h"
#include "Encodings.h"
int RAWDATAAppend(RAWDATA *RD, const char *Data, const char *Encoding, int MaxBuffLen)
{
int encode;
if (StrValid(Data))
{
if (StrValid(Encoding))
{
encode=EncodingParse(Encoding);
if (encode < 0) return(0);
R... | ColumPaget/daytime | libUseful/RawData.c | C | gpl-3.0 | 5,211 |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "../support/s1ap-r16.1.0/36413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#include "S1AP_WarningSecurityInfo.h"
int
S1AP_WarningSecurityInfo_constraint(const asn_TYPE_des... | acetcom/cellwire | lib/asn1c/s1ap/S1AP_WarningSecurityInfo.c | C | gpl-3.0 | 2,079 |
/*
* Copyright (c) 2003, 2007-14 Matteo Frigo
* Copyright (c) 2003, 2007-14 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 ... | praaline/Praaline | dependency-builds/sv/src/fftw-3.3.5/rdft/scalar/r2cf/r2cfII_20.c | C | gpl-3.0 | 12,953 |
//=============================================================================
//
// am33_serial.c
//
// Simple driver for the serial controllers on AM33 (MN103E) CPUs
//
//=============================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -----------------------... | luebbers/reconos | core/ecos/ecos-patched/ecos/packages/hal/mn10300/am33/current/src/am33_serial.c | C | gpl-3.0 | 16,723 |
/*
* Copyright (c) 2013 Alexander Wong <admin@alexander-wong.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 3 of the License, or
* (at your option) any later ve... | awwong1/c379a3 | saucer.c | C | gpl-3.0 | 8,564 |
/*
* Copyright (C) 2003 Sistina Software Limited.
* Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
*
* This file is released under the GPL.
*/
#include <linux/device-mapper.h>
#include "dm-rq.h"
#include "dm-bio-record.h"
#include "dm-path-selector.h"
#include "dm-uevent.h"
#include <linux/blkdev.h>... | williamfdevine/PrettyLinux | drivers/md/dm-mpath.c | C | gpl-3.0 | 53,307 |
#include "image_sio.h"
#include "lib_functions.h"
void polyfit(double *T, double *Y, double *C, int *Mp, int *Np)
/* T - array of independent variable of length M - input */
/* Y - array of dependent variable of length M - input */
/* C - array of polynomial coefficients length N - output */
/* FORTRAN ... | joa-quim/GMT5SAR | preproc/ALOS_preproc/lib_src/polyfit.c | C | gpl-3.0 | 2,579 |
/*******************************************************************************
*
* Copyright (C) 2014-2018 Greg McGarragh <mcgarragh@atm.ox.ac.uk>
*
* This source code is licensed under the GNU General Public License (GPL),
* Version 3. See the file COPYING for more details.
*
***********************... | gmcgarragh/seviri_native_util | read_write_nat.c | C | gpl-3.0 | 24,866 |
/*
* SkypeWeb Plugin for libpurple/Pidgin
* Copyright (c) 2014-2015 Eion Robb
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | edhelas/skype4pidgin | skypeweb/skypeweb_messages.c | C | gpl-3.0 | 37,370 |
/*
* Copyright (C) 2015 Florent Pouthier
* Copyright (C) 2015 Emmanuel Pouthier
*
* This file is part of SIGMAE.
*
* Aye-Aye 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... | hasardel/sigmae | audev-oss.c | C | gpl-3.0 | 2,774 |
/*
* 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... | shaggytwodope/alarm-clock | src/counters.c | C | gpl-3.0 | 10,877 |
/**
******************************************************************************
* @file usbd_core.c
* @author MCD Application Team
* @version V2.0.0
* @date 18-February-2014
* @brief This file provides all the USBD core functions.
********************************************************... | OPALESECURITY/hardsploit-uc | Source/src/USB_CORE/usbd_core.c | C | gpl-3.0 | 12,257 |
/**
* slibc — Yet another C library
* Copyright © 2015, 2016 Mattias Andrée (maandree@member.fsf.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | maandree/slibc | src/wchar/wcscmp.c | C | gpl-3.0 | 1,291 |
// auxiliary skripts commands
| prool/proolix | proolix-l/src/stage2/aux-skripts.c | C | gpl-3.0 | 30 |
#include <Eden/gluttext.h>
#if GLUTTEXT_BITMAP_ENABLE
/* GENERATED FILE -- DO NOT MODIFY */
#define glutBitmap9By15 XXX
#include "glutbitmap.h"
#undef glutBitmap9By15
static const BitmapCharRec ch0 = {0, 0, 0, 0, 9, 0};
static const BitmapCharRec ch32 = {0, 0, 0, 0, 9, 0};
static const BitmapCharRec ch127 = {0, 0, 0... | hyyh619/ARToolKit_5.3.1 | lib/SRC/Eden/gluttext/glut_9x15.c | C | gpl-3.0 | 43,723 |
/* The LibVMI Library is an introspection library that simplifies access to
* memory in a target virtual machine or in a file containing a dump of
* a system's physical memory. LibVMI is based on the XenAccess Library.
*
* Copyright 2011 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with San... | miguelinux/libvmi | libvmi/driver/file/file.c | C | gpl-3.0 | 7,272 |
/**
* @file msiklm.c
*
* @brief source file that contains controller functions to configure the SteelSeries keyboard in MSI gaming notebooks
*/
#include "msiklm.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int parse_color(const char* color_str, struct color* result)
{
int ret = -1;
if (co... | Gibtnix/MSIKLM | src/msiklm.c | C | gpl-3.0 | 12,355 |
//////////////////////////////////////////////////////////////////////////////////////////////
//
// Hello world - blink the Beagleboard LEDs
//
// The Beagleboard C4 schematic shows that the LEDS are on the following signals
//
// GPIO_149 LED1
// GPIO_150 LED0
//
// Both of these GPIO signals are part of the... | FHV-S1-FFPST/BOSS | LEDBlink_BB/main.c | C | gpl-3.0 | 1,847 |
/*
* Copyright (c) 2008-2011 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... | williamfdevine/PrettyLinux | drivers/net/wireless/ath/ath9k/calib.c | C | gpl-3.0 | 12,667 |
/*-
* Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
* Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pro... | liyouchang/webrtc-qt | third_party/usrsctp/usrsctplib/netinet/sctp_crc32.c | C | gpl-3.0 | 41,899 |
/**
*******************************************************************************
* @file shell.c
* @author Keidan
* @date 05/08/2013
* @par Project
* tk
*
* @par Copyright
* Copyright 2011-2013 Keidan, all right reserved
*
* This software is distributed in the hope that it will be useful, but WITHOUT
* A... | Keidan/tk | src/tk/shell/shell.c | C | gpl-3.0 | 5,599 |
/*
Copyright (c) 2007-2011 Gluster, Inc. <http://www.gluster.com>
This file is part of GlusterFS.
GlusterFS 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... | vbellur/glusterfs-udp | xlators/cluster/unify/src/unify-self-heal.c | C | gpl-3.0 | 31,126 |
/*
* 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... | sambas/cleanflight | src/main/drivers/compass_hmc5883l.c | C | gpl-3.0 | 11,753 |
/*************************************************************************
> File Name: /usr/include/myerr.c
> Author: Hac
> Mail: hac@zju.edu.cn
> Created Time: 2015年11月22日 星期日 10时39分22秒
************************************************************************/
#include "http_service.h"
#include <stdio.h>
#includ... | ZJUemb/Gateway | src/myerr.c | C | gpl-3.0 | 2,421 |
/**
* @file lv_obj_class.c
*
*/
/*********************
* INCLUDES
*********************/
#include "lv_obj.h"
#include "lv_theme.h"
/*********************
* DEFINES
*********************/
#define MY_CLASS &lv_obj_class
/**********************
* TYPEDEFS
**********************/
/**************... | stefanbode/Sonoff-Tasmota | lib/libesp32_lvgl/LVGL8/src/core/lv_obj_class.c | C | gpl-3.0 | 5,686 |
/*
This file is part of GNUnet.
Copyright (C) 2012 Christian Grothoff (and other contributing authors)
GNUnet 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, or (at your... | muggenhor/GNUnet | src/fs/test_fs_search_probes.c | C | gpl-3.0 | 7,286 |
#include <stdlib.h>
#include <libooc/hash.h>
#include <libooc/array.h>
#include <libooc/inttype.h>
#include <libooc/object_type.h>
#include "nonterminal.h"
#include "block.h"
#include "production.struct.h"
O_DEF_CLASS(Production, Object)
override
def(ctor, void : va_list * @args_ptr) {
self->nonterminal = va_arg... | xsoameix/LL-1-table-builder | src/production.c | C | gpl-3.0 | 3,426 |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <sys/times.h>
#include "Utilities.h"
//-----------------------------------------------------------------------------
void CodingError(char * ErrorMessage) {
printf("ERROR:... | daghovland/clp | src/Utilities.c | C | gpl-3.0 | 6,048 |
/*
* Copyright(C) 2011-2018 Pedro H. Penna <pedrohenriquepenna@gmail.com>
* 2016-2018 Davidson Francis <davidsondfgl@gmail.com>
*
* This file is part of Nanvix.
*
* Nanvix is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... | Theldus/nanvix | src/lib/libc/arch/or1k/shutdown.c | C | gpl-3.0 | 1,176 |
#include "../lib/apue.h"
#define TOK_ADD 5
void do_line(char *);
void cmd_add(void);
int get_token(void);
int main(void){
char line[MAXLINE];
while( fgets(line,MAXLINE,stdin) != NULL ){
do_line(line);
}
exit(0);
}
char *tok_ptr; /* global pointer for get_token()*/
void
do_line(char ... | huicpc0215/UNIXprograming | apue/cp07/fig7.9.c | C | gpl-3.0 | 776 |
/*
* Copyright (C) 2012-2015 Leo Grange <grangeleo@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 3 of the License, or
* (at your option) any later version.
*... | fixos/fixos | bootloader/smem_file.c | C | gpl-3.0 | 4,491 |
#include "editor.h"
#include "list.h"
void *event_cursor_up(void *data) {
api_t *api = (api_t *)data;
api->cursor.y--;
return NULL;
}
void *event_cursor_down(void *data) {
api_t *api = (api_t *)data;
api->cursor.y++;
return NULL;
}
void *event_cursor_left(void *data) {
api_t *api = (api_t... | johey/tranker | src/editor.c | C | gpl-3.0 | 2,552 |
#include <openssl/conf.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <string.h>
void print_shellcode(unsigned char *shellcode) {
size_t len = strlen(shellcode);
int i;
for (i = 0; i < len; i++) {
printf("\\x%02x", *(shellcode + i));
}
printf("\n\n");
}
int main(int argc, ... | avanzo/SLAE | assignment-7/crypt.c | C | gpl-3.0 | 4,177 |
/*-------------------------------------------------------------
conf.c -- SYSCONF support
Copyright (C) 2008
Hector Martin (marcan)
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.
Permissi... | Monroe88/RetroArch | wii/libogc/libogc/conf.c | C | gpl-3.0 | 9,663 |
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <err.h>
#include <fcntl.h>
#include <stdarg.h>
#include <assert.h>
/***************************************************************... | cesaro/cunf | scripts/prcompress.c | C | gpl-3.0 | 17,866 |
/*
* client_events.c
*
* Copyright (C) 2012 - 2015 James Booth <boothj5@gmail.com>
*
* This file is part of Profanity.
*
* Profanity 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... | immae/profanity | src/event/client_events.c | C | gpl-3.0 | 5,101 |
#include "test.h"
#include "schnaps.h"
#include<stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
int TestKernelVolume(void){
bool test=true;
if(!cldevice_is_acceptable(nplatform_cl, ndevice_cl)) {
printf("OpenCL device not acceptable.\n");
return true;
}
field f;
init_empty_field(... | malcolmroberts/schnaps | test/testkernelvolume.c | C | gpl-3.0 | 3,490 |
#include <stdio.h>
#include "csample.h"
static long left = 9000000000000,
right = 7000000000000,
centre = 3000000000000,
or_mask = 0x5a5a5a5a5a5a,
xor_mask = 0x999999999999,
and_mask = 0xFFFF0000FFFF,
long_scale_left = 9,
long_scale_right = 3,
long_multiplier = 6000000000,
long_divisor = 3... | TimMilesCox/RTA1 | rta/target.rta/test.msm/ctests.c | C | gpl-3.0 | 948 |
#define A B.
#define C if(
#define D >>E&1
#define F return
#define G typedef
#define H printf( I(
#define J(E,K) for(E=K; E--; )
#define L(M) =N(O.M)+3*N(O.M&O.P),
G
int
Q;
G
unsigned
R;
G
struct
{
Q
N,
S,
P,
T,
U,
V;
}
W;
R
_;
R
N(
R
X)
{
R
Y=
2,
Z;
for
(;
Y
;
Y*=
Y)
{
Z=
-1
/-
~Y
;
X=
(X
/Y
&Z
)+
(X
&Z
)*
(Y
*_
-~... | kkaaii/c | ioccc/2000/robison.c | C | gpl-3.0 | 2,838 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2015 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your opt... | fcatrin/rxMultiEmulatorAddOn | command_event.c | C | gpl-3.0 | 52,279 |
/*
* Apple HTTP Live Streaming demuxer
* Copyright (c) 2010 Martin Storsjo
* Copyright (c) 2013 Anssi Hannula
*
* 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 Fou... | chenzeyuan/smt | smt-player/ffmpeg/libavformat/hls.c | C | gpl-3.0 | 68,282 |
/*
* Dreamos
* dirent.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 License, or (at your option) any later version.
*
* This program is distributed in the h... | inuyasha82/DreamOs | src/sys/dirent.c | C | gpl-3.0 | 2,932 |
#include <stdio.h>
void print_time(char* lable, long time)
{
const long minute = 60;
const long hour = minute * 60;
const long day = hour * 24;
printf("%s: %ld days, %ld:%02ld:%02ld\n", lable, time / day, (time % day)/hour, (time % hour) / minute, time % minute);
}
int main()
{
FILE *fp;
doub... | shucommon/little-routine | c/alp/chapter7/print-uptime.c | C | gpl-3.0 | 546 |
/*
* Routines only used by the sending process.
*
* Copyright (C) 1996 Andrew Tridgell
* Copyright (C) 1996 Paul Mackerras
* Copyright (C) 2003-2015 Wayne Davison
*
* 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
* th... | MageSlayer/rsync-fadvise | sender.c | C | gpl-3.0 | 11,232 |
/*
* Copyright (C) 2010 Francisco Jerez.
* 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 limitation the rights to use,... | williamfdevine/PrettyLinux | drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c | C | gpl-3.0 | 4,436 |
/*
Unix SMB/CIFS implementation.
Samba internal messaging functions
Copyright (C) 2007 by Volker Lendecke
Copyright (C) 2007 by Andrew Tridgell
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... | abartlet/samba | source3/lib/ctdbd_conn.c | C | gpl-3.0 | 30,419 |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... | emabello42/FREAK-on-FPGA | embeddedretina_ise/isim/GaussianFilter_isim_beh.exe.sim/work/a_3904115852_3212880686.c | C | gpl-3.0 | 6,958 |
#include "item.h"
#include "capwap_items.h"
const char CW_ITEM_IDLE_TIMEOUT[]="idle_timeout";
const char CW_ITEM_DISCOVERY_TYPE[]="discovery_type";
const char CW_ITEM_WTP_NAME[]="wtp_name";
const char CW_ITEM_WTP_MAC_TYPE[]="wtp_mac_type";
const char CW_ITEM_WTP_FRAME_TUNNEL_MODE[]="wtp_frame_tunnel_mode";
const ... | alagoutte/actube | src/mod/cisco/capwap_items.c | C | gpl-3.0 | 4,520 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.