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 |
|---|---|---|---|---|---|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_listen_socket_postdec_45.c
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-45.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: listen_socket Read data using a listen so... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE191_Integer_Underflow/s04/CWE191_Integer_Underflow__int_listen_socket_postdec_45.c | C | bsd-3-clause | 8,543 |
/*
* This file is part of the Soletta Project
*
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain ... | rchiossi/soletta | src/lib/comms/sol-oic-server.c | C | bsd-3-clause | 25,099 |
/*
* Copyright (c) 2006, 2006, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* ceil(x)
* Return x rounded toward -inf to integral value
* Method:
* Bit twiddling.
* Exception:
* Inexact flag raised if x not equal to ceil(x).
*/
#... | SnakeDoc/GuestVM | guestvm~guestvm/com.oracle.max.ve.native/fdlibm/s_ceil.c | C | bsd-3-clause | 1,481 |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | jrobhoward/SCADAbase | sys/cddl/dev/lockstat/lockstat.c | C | bsd-3-clause | 8,829 |
#include <core/Runtime.h>
#include <stdlib.h>
#include <math.h>
int runtime_f32_mul(Stack stack)
{
Value* operand1 = NULL;
Value* operand2 = NULL;
pop_Value(stack, &operand2);
pop_Value(stack, &operand1);
if(isnan(operand1->value.f32) || isnan(operand2->value.f32)) {
push_Value(stack, new_... | LuisHsu/WasmVM | src/lib/core/runtime/f32_mul.c | C | bsd-3-clause | 1,224 |
/*-
* Copyright (c) 1996-1999
* Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
* 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... | MarginC/kame | freebsd3/sys/dev/kbd/atkbdc.c | C | bsd-3-clause | 26,073 |
/* $OpenBSD: isp_sbus.c,v 1.7 1999/03/25 22:58:37 mjacob Exp $ */
/* release_03_25_99 */
/*
* SBus specific probe and attach routines for Qlogic ISP SCSI adapters.
*
* Copyright (c) 1997 by Matthew Jacob
* NASA AMES Research Center
* All rights reserved.
*
* Redistribution and use in source and binary forms, wit... | MarginC/kame | openbsd/sys/arch/sparc/dev/isp_sbus.c | C | bsd-3-clause | 10,106 |
/**
* Copyright (c) 2019, Łukasz Marcin Podkalicki <lpodkalicki@gmail.com>
* ESP8266/005
* Blinky example using pure ESP8266 Non-OS SDK.
*/
#include "ets_sys.h"
#include "osapi.h"
#include "gpio.h"
#include "os_type.h"
#include "user_config.h"
#define LED_PIN (2)
static volatile os_timer_t blinky_timer;
static ... | lpodkalicki/blog | esp8266/005_nonos_sdk_blinky/user/main.c | C | bsd-3-clause | 1,066 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_environment_w32_spawnv_61b.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-61b.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from a... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_environment_w32_spawnv_61b.c | C | bsd-3-clause | 2,024 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__fgets_malloc_03.c
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-03.tmpl.c
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: fgets Read data from the console usi... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE194_Unexpected_Sign_Extension/s01/CWE194_Unexpected_Sign_Extension__fgets_malloc_03.c | C | bsd-3-clause | 4,693 |
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
* 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 ret... | dcui/FreeBSD-9.3_kernel | sys/net80211/ieee80211_ioctl.c | C | bsd-3-clause | 97,910 |
/*
* Copyright (c) 2012 The Native Client 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 "native_client/src/include/portability_string.h"
#include "native_client/src/include/nacl_macros.h"
#include "native_client/src/i... | leighpauls/k2cro4 | native_client/src/trusted/service_runtime/arch/x86_64/sel_ldr_x86_64.c | C | bsd-3-clause | 5,566 |
//------------------------------------------------------------------------------
// GB_Descriptor_get: get the status of a descriptor
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved.
// http://suitesparse.co... | jlblancoc/suitesparse-metis-for-windows | SuiteSparse/GraphBLAS/Source/GB_Descriptor_get.c | C | bsd-3-clause | 5,829 |
//------------------------------------------------------------------------------
// GB_AxB: hard-coded C=A*B and C<M>=A*B
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved.
// http://suitesparse.com See ... | jlblancoc/suitesparse-metis-for-windows | SuiteSparse/GraphBLAS/Source/Generated/GB_AxB__times_isgt_int32.c | C | bsd-3-clause | 8,225 |
/*
* Copyright (c) 2016, The OpenThread Authors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this ... | erja-gp/openthread | examples/platforms/da15000/alarm.c | C | bsd-3-clause | 2,963 |
/*******************************************************************************
*
* Module Name: rscalc - Calculate stream and list lengths
*
******************************************************************************/
/*
* Copyright (C) 2000 - 2016, Intel Corp.
* All rights reserved.
*
* Redistribution an... | TigerBSD/TigerBSD | FreeBSD/sys/contrib/dev/acpica/components/resources/rscalc.c | C | isc | 23,744 |
/*-
* Copyright (c) 1999 M. Warner Losh <imp@village.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice... | TigerBSD/TigerBSD | FreeBSD/sys/dev/sn/if_sn_pccard.c | C | isc | 8,607 |
/*
Copyright (C) 2004 Michael J. Silbersack. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the ... | TigerBSD/TigerBSD | FreeBSD/tests/sys/kern/pipe/pipe_fstat_bug_test.c | C | isc | 3,787 |
/*
* The Yices SMT Solver. Copyright 2014 SRI International.
*
* This program may only be used subject to the noncommercial end user
* license agreement which is downloadable along with this program.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
#include "utils/int_stack.h"
... | maelvalais/ocamlyices2 | ext/yices/tests/unit/test_int_stack.c | C | isc | 2,167 |
/*-
* Copyright (c) 2010, 2012 Konstantin Belousov <kib@FreeBSD.org>
* Copyright (c) 2015 The FreeBSD Foundation
* All rights reserved.
*
* Portions of this software were developed by Konstantin Belousov
* under sponsorship from the FreeBSD Foundation.
*
* Redistribution and use in source and binary forms, with... | TigerBSD/TigerBSD | FreeBSD/sys/kern/kern_sharedpage.c | C | isc | 7,826 |
/****************************************************************************
**
** Name: MicoFileStat.c
**
** Description:
** Implements _fstat, called by Newlib C library file functions
**
** $Revision: $
**
** Disclaimer:
**
** This source code is intended as a design reference which
** illustrates how... | ptracton/wb_soc_template | rtl/lm32_top/drivers/service/MicoFileStat.c | C | mit | 2,525 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | PooyaEimandar/WolfEngine | engine/src/wolf.system/curl/src/multi.c | C | mit | 99,453 |
/**
\brief A timer module with only a single compare value. Can be used to replace
the "bsp_timer" and "radiotimer" modules with the help of abstimer.
\author Xavi Vilajosana <xvilajosana@eecs.berkeley.edu>, May 2012.
\author Thomas Watteyne <watteyne@eecs.berkeley.edu>, May 2012.
*/
#include "sctimer.h"
#incl... | barriquello/iotstack | openwsn-fw-work/firmware/openos/bsp/boards/gina/sctimer.c | C | mit | 2,026 |
#include "multi_modelstruct.h"
#include "multivar_support.h"
#include <math.h>
#include <assert.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_errno.h>
/**
* ccs, 05.06.2012
* \todo this all needs to be checked carefully against an example that works in R
* \... | MADAI/MADAIEmulator | src/multi_modelstruct.c | C | mit | 16,184 |
/* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern float strtof(char const *str , char const *endptr ) ;
extern void signal(int sig , void *func ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char co... | tum-i22/obfuscation-benchmarks | tigress-generated-programs/empty-Seed4-RandomFuns-Type_int-ControlStructures_9-BB2-ForBound_input-Operators_all.c | C | mit | 3,118 |
/* MACHINE GENERATED FILE, DO NOT EDIT */
#include <jni.h>
#include "extgl.h"
typedef GL_APICALL void (GL_APIENTRY *glTexStorage1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
typedef GL_APICALL void (GL_APIENTRY *glTexStorage2DEXTPROC) (GLenum target, GLsizei levels, GLenum internal... | eriqadams/computer-graphics | lib/lwjgl-2.9.1/lwjgl-source-2.9.1/src/native/generated/opengles/org_lwjgl_opengles_EXTTextureStorage.c | C | mit | 4,247 |
/*
This file contains the sigma-delta driver implementation.
*/
#include "platform.h"
#include "hw_timer.h"
#include "task/task.h"
#include "c_stdlib.h"
#include "pcm.h"
static const os_param_t drv_sd_hw_timer_owner = 0x70636D; // "pcm"
static void ICACHE_RAM_ATTR drv_sd_timer_isr( os_param_t arg )
{
cfg_t *... | devsaurus/nodemcu-firmware | app/pcm/drv_sigma_delta.c | C | mit | 2,905 |
/*
* Special implementations of built-in functions and methods.
*
* Optional optimisations for builtins are in Optimize.c.
*
* General object operations and protocols are in ObjectHandling.c.
*/
//////////////////// Globals.proto ////////////////////
static PyObject* __Pyx_Globals(void); /*proto*/
////////////... | mollstam/UnrealPy | UnrealPyEmbed/Development/Python/2015.08.07-Python2710-x64-Source-vs2015/Python27/Source/Cython-0.22.1/Cython/Utility/Builtins.c | C | mit | 12,711 |
/** \file
* \brief Scintilla control: Cursor and Zooming
*
* See Copyright Notice in "iup.h"
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#undef SCI_NAMESPACE
#include <Scintilla.h>
#include "iup.h"
#include "iup_object.h"
#include "iup_attrib.h"
#include "iup_str.h"
#include... | ivanceras/iup-mirror | srcscintilla/iupsci_cursor.c | C | mit | 2,233 |
/**************************************************************************//**
* Copyright (c) 2016 by Silicon Laboratories Inc. All rights reserved.
*
* http://developer.silabs.com/legal/version/v11/Silicon_Labs_Software_License_Agreement.txt
***********************************************************************... | ahtn/keyplus | ports/efm8/efm8/mcu/EFM8UB3/peripheral_driver/src/uart_1.c | C | mit | 14,124 |
/***************************************************************************/
/* */
/* pshinter.c */
/* */
/* ... | yapingxin/saturn-gui-lib-workshop | Lib/FreeType/freetype-2.6.2/src/pshinter/pshinter.c | C | mit | 1,453 |
/*
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
* Copyright (c) 2007 Mans Rullgard
*
* 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
* versi... | devintaietta/Remote-Player-Audio | dipendenze/dacompilare/ffmpeg-2.6.3/libavutil/avstring.c | C | gpl-2.0 | 10,363 |
/* -*- mode: c -*- */
/* Copyright (C) 2005-2016 Alexander Chernov <cher@ejudge.ru> */
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... | misty-fungus/ejudge-debian | win32/cpu.c | C | gpl-2.0 | 878 |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... | brho/plan9 | sys/src/cmd/aux/vga/mach64xx.c | C | gpl-2.0 | 30,679 |
/* soundeffects.c
* An example on how to use libmikmod to play sound effects.
*
* (C) 2004, Raphael Assenat (raph@raphnet.net)
*
* This example is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRENTY; without event the implied warrenty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS... | gameblabla/methane | source/gcw/libmikmod-3.3.7/examples/soundeffects/soundeffects.c | C | gpl-2.0 | 2,980 |
/*++
drivers/i2c/busses/wmt-i2c-bus-3.c
Copyright (c) 2013 WonderMedia 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, or (at your option) an... | FOSSEE/FOSSEE-netbook-kernel-source | drivers/i2c/busses/wmt-i2c-bus-3.c | C | gpl-2.0 | 32,741 |
/*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2010 Nokia Corporation
Copyright (c) 2011-2012 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 as
published by t... | BrateloSlava/kernel_apq8064 | net/bluetooth/mgmt.c | C | gpl-2.0 | 77,823 |
/*
* Copyright 2002-2005, Instant802 Networks, Inc.
* Copyright 2005-2006, Devicescape Software, Inc.
* Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
* Copyright 2008 Luis R. Rodriguez <lrodriguz@atheros.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms... | maurillo71/beaglebone-linux | net/wireless/reg.c | C | gpl-2.0 | 61,442 |
/*
* IMG Pistachio USB PHY driver
*
* Copyright (C) 2015 Google, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*/
#include <linux/clk.h>
#include <li... | chrisdearman/kernel-common | drivers/phy/phy-pistachio-usb.c | C | gpl-2.0 | 5,778 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2013 Richard Hughes <richard@hughsie.com>
*
* Licensed under the GNU General Public License Version 2
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public ... | heysion/colord-clone | lib/huey/huey-enum.c | C | gpl-2.0 | 2,937 |
/*
* Copyright (C) 2001-2004 by David Brownell
*
* 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 progra... | btolfa/kernel_tion_pro28 | drivers/usb/host/ehci-hub.c | C | gpl-2.0 | 31,050 |
/**
* @file error.c Error functions
*
* 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 t... | difro/pidgin-nateon | src/error.c | C | gpl-2.0 | 7,255 |
/*
* rtl_tcp_andro is a library that uses libusb and librtlsdr to
* turn your Realtek RTL2832 based DVB dongle into a SDR receiver.
* It independently implements the rtl-tcp API protocol for native Android usage.
* Copyright (C) 2016 by Martin Marinov <martintzvetomirov@gmail.com>
*
* This program is free softwar... | AnthonyQuan/AndroidRTLPower | app/src/main/jni/queue.c | C | gpl-2.0 | 2,396 |
/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
publish... | entdark/q3mme | trunk/code/botlib/be_aas_file.c | C | gpl-2.0 | 24,509 |
/* Core Hardware driver for Hx4700 (ASIC3, EGPIOs)
*
* Copyright (c) 2005 SDG Systems, LLC
*
* 2005-03-29 Todd Blumer Converted basic structure to support hx4700
* 2005-04-30 Todd Blumer Add IRDA code from H2200
*/
#include <linux/module.h>
#include <linux/version.h>
#include <linux/interrupt.h>
... | janrinze/loox7xxport.loox2-6-22 | arch/arm/mach-pxa/hx4700/hx4700_core.c | C | gpl-2.0 | 9,113 |
/**
*
*/
#include <stdio.h>
#define NUM_ROWS_A 12 //rows of input [A]
#define NUM_COLUMNS_A 12 //columns of input [A]
#define NUM_ROWS_B 12 //rows of input [B]
#define NUM_COLUMNS_B 12 //columns of input [B]
#pragma xmp nodes p(*)
#pragma xmp template t(0:11)
#pragma xmp distribute t(block) onto p
double a[NUM... | tempbottle/pop-cpp | examples/xmp-matrix/xmp-matrix.c | C | gpl-2.0 | 871 |
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... | tempesta-tech/mariadb_10.2 | storage/myisam/ft_parser.c | C | gpl-2.0 | 11,421 |
/*
* linux/fs/ext4/ialloc.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)
*
* BSD ufs-inspired inode and directory allocation by
* Stephen Tweedie (sct@redhat.com), 1993
* Big-endian to litt... | CurtisMJ/g800f_custom_kernel | fs/ext4/ialloc.c | C | gpl-2.0 | 33,970 |
/*
***************************************************************************
* Ralink Tech Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
*
* (c) Copyright 2002, Ralink Technology, Inc.
*
* All rights reserved. Ralink's source code is an unpublished work and th... | tossp/lede-k3 | package/lean/mt/drivers/mt7615d/src/mt_wifi/os/linux/rbus_prop_dev.c | C | gpl-2.0 | 7,562 |
/*
Copyright 2007-2011 David Robillard <http://drobilla.net>
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.
THIS SOFTWARE IS PROVIDED "AS IS" AND... | ccherrett/oom | dependencies/lilvbundle/lilv-0.5.0/src/node.c | C | gpl-2.0 | 10,040 |
/* Operating system support for run-time dynamic linker. Hurd version.
Copyright (C) 1995-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as ... | Phant0mas/glibc-hurd | sysdeps/mach/hurd/dl-sysdep.c | C | gpl-2.0 | 17,842 |
/*
* Block driver for media (i.e., flash cards)
*
* Copyright 2002 Hewlett-Packard Company
* Copyright 2005-2008 Pierre Ossman
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived works.
*
* HEWLETT-PACKARD COMPANY MAK... | iJo09/Hybridmax_Kernel_I9505_Lollipop-1 | drivers/mmc/card/block.c | C | gpl-2.0 | 76,834 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007-2009 coresystems GmbH
* Copyright (C) 2013 Google Inc.
* Copyright (C) 2015 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*... | latelee/coreboot | src/mainboard/intel/kunimitsu/mainboard.c | C | gpl-2.0 | 2,726 |
/*
* Driver O/S-independent utility routines
*
* Copyright (C) 1999-2010, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License version 2 (... | sktjdgns1189/android_kernel_samsung_SHW-M130L | drivers/net/wireless/bcm4329/src/shared/bcmutils.c | C | gpl-2.0 | 44,532 |
/*
* Interface to libmp3lame for mp3 encoding
* Copyright (c) 2002 Lennert Buytenhek <buytenh@gnu.org>
*
* 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;... | uwehermann/easybox-904-lte-firmware | package/ffmpeg/src/libavcodec/libmp3lame.c | C | gpl-2.0 | 6,658 |
/* $Id: capi.c,v 1.1.1.1 2007-05-25 06:50:09 bruce Exp $
*
* ISDN lowlevel-module for the IBM ISDN-S0 Active 2000.
* CAPI encoder/decoder
*
* Author Fritz Elfert
* Copyright by Fritz Elfert <fritz@isdn4linux.de>
*
* This software may be used and distributed according to the terms
* of the GNU Ge... | shaowei-wang/520board-v1-linux-2.6.21.x | drivers/isdn/act2000/capi.c | C | gpl-2.0 | 33,040 |
/* arch/arm/mach-msm/cpufreq.c
*
* MSM architecture cpufreq driver
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2007-2010, Code Aurora Forum. All rights reserved.
* Author: Mike A. Chan <mikechan@google.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as ... | BytecodeMe/vanquish | arch/arm/mach-msm/cpufreq.c | C | gpl-2.0 | 7,616 |
/**
* \file drawMath.c
* \brief outputs the math of a model as a dot graph
* \author Sarah Keating
*
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the latest version of libSBML.
*/
#include <stdio.h>
#include <stdlib.h>
#include <sbml/util/util.h>
... | dilawar/moose-full | dependencies/libsbml-5.9.0/examples/c/drawMath.c | C | gpl-2.0 | 20,197 |
/* Copyright (c) 2012-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 th... | upworkstar/AndroidAmazon | sound/soc/msm/qdsp6v2/q6voice.c | C | gpl-2.0 | 133,119 |
/*
* Copyright 2005 Eric Anholt
* 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, copy, mo... | ZHAW-INES/rioxo-uClinux-dist | lib/mesa/src/mesa/drivers/dri/sis/sis6326_state.c | C | gpl-2.0 | 19,463 |
/*****************************************************************************
Copyright (c) 1996, 2010, Innobase Oy. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; version 2 o... | cryptdb-org/mysql-5-5-14 | storage/innobase/dict/dict0load.c | C | gpl-2.0 | 65,630 |
/* arch/arm/mach-rk29/vpu.c
*
* Copyright (C) 2010 ROCKCHIP, Inc.
* author: chenhengming chm@rock-chips.com
*
* 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 thos... | crewrktablets/rk3x_kernel_3.10 | arch/arm/mach-rockchip/vcodec_service.c | C | gpl-2.0 | 73,376 |
/* cast5.c */
/*
This file is part of the AVR-Crypto-Lib.
Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.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, or... | nerilex/avr-crypto-lib | cast5/cast5.c | C | gpl-2.0 | 12,161 |
/*********************************************************************************************
* Fichero: Bmp.c
* Autor:
* Descrip: Funciones de control y visualizacion del LCD
* Version:
*********************************************************************************************/
/*--- Archivos cabecera ---... | UnizarCurryMicroSystems/ProyectoHardware | PH_3/Bmp.c | C | gpl-2.0 | 8,483 |
/*
* USI wm-bn-bm-01-5(bcm4329) sdio wifi power management API
* evb gpio define
* A10 gpio define:
* usi_bm01a_wl_pwr = port:PH12<1><default><default><0>
* usi_bm01a_wlbt_regon = port:PI11<1><default><default><0>
* usi_bm01a_wl_rst = port:PI10<1><default><default><0>
* usi_bm01a_wl_wake ... | sdugit/linux-3.0_7025 | drivers/mmc/mmc-pm/mmc_pm_usi_bm01a.c | C | gpl-2.0 | 5,469 |
/*
* board/omap3621_boxer/max17042.c
*
* Copyright (C) 2010 Barnes & Noble, Inc.
* Intrinsyc Software International, Inc. on behalf of Barnes & Noble, Inc.
*
* Max17042 Gas Gauge initialization for u-boot
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU G... | astarasikov/uboot-bn-nook-hd-fastboot | drivers/max17042.c | C | gpl-2.0 | 30,417 |
/*
*
* This source code is released for free distribution under the terms of the
* GNU General Public License.
*
* This module contains functions for generating tags for Rust files.
*/
/*
* INCLUDE FILES
*/
#include "general.h" /* must always come first */
#include "main.h"
#include <string.h>
#include "keyw... | TheGameCreators/AGKIDE | tagmanager/ctags/rust.c | C | gpl-2.0 | 22,209 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | skyHALud/codenameone | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/luni/src/main/native/luni/shared/dblparse.c | C | gpl-2.0 | 28,372 |
/**
******************************************************************************
* @file fatfs.c
* @brief Code for fatfs applications
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2020 STMicroelectronics.
* All right... | cafe-alpha/wascafe | v13/stm32_bup_test/r07c_firm_F446RE/Src/fatfs.c | C | gpl-2.0 | 1,568 |
/* MMIX-specific support for 64-bit ELF.
Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Contributed by Hans-Peter Nilsson <hp@bitrange.com>
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... | guoqingzhang/binutils-coffee | bfd/elf64-mmix.c | C | gpl-2.0 | 94,117 |
/*
*************************************************************************************
* Linux
* USB Host Controller Driver
*
* (c) Copyright 2006-2012, SoftWinners Co,Ld.
* All Rights Reserved
*
* File Name : sw_hcd_virt_hub.c
*
* Author : ja... | mozilla-b2g/kernel_flatfish | drivers/usb/sun7i_usb/hcd/core/sw_hcd_virt_hub.c | C | gpl-2.0 | 15,810 |
/*
* This file contains work-arounds for many known PCI hardware
* bugs. Devices present only on certain architectures (host
* bridges et cetera) should be handled in arch-specific code.
*
* Note: any quirks for hotpluggable devices must _NOT_ be declared __init.
*
* Copyright (c) 1999 Martin Mares <mj@ucw... | uwehermann/easybox-904-lte-firmware | linux/linux-2.6.32.32/drivers/pci/quirks.c | C | gpl-2.0 | 94,163 |
/*
* drivers/media/video/omap/gfx_tiler.c
*
* Copyright (C) 2010 Texas Instruments.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*
*/
#include <linux/errno.h>
#include <l... | michaellass/lenovo_a1_07_kernel | drivers/media/video/omapgfx/gfx_tiler.c | C | gpl-2.0 | 4,322 |
/*
CMTP implementation for Linux Bluetooth stack (BlueZ).
Copyright (C) 2002-2003 Marcel Holtmann <marcel@holtmann.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation;
TH... | 12019/Dorimanx-SG2-I9100-Kernel | net/bluetooth/cmtp/sock.c | C | gpl-2.0 | 5,532 |
/****************************************************************************
* Ralink Tech Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
* (c) Copyright 2002, Ralink Technology, Inc.
*
* All rights reserved. Ralink's source code is an unpublished work and the
* ... | silver-alx/ac100_kernel | drivers/net/wireless/DPA_RT3070_WiFiBTCombo/NETIF/os/linux/rt_profile.c | C | gpl-2.0 | 2,320 |
/* main-rc6-test.c */
/*
This file is part of the AVR-Crypto-Lib.
Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.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 versi... | nerilex/avr-crypto-lib | test_src/main-rc6-test.c | C | gpl-2.0 | 2,347 |
/*
* Copyright (C) 2013-2015 Kay Sievers
* Copyright (C) 2013-2015 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Copyright (C) 2013-2015 Daniel Mack <daniel@zonque.org>
* Copyright (C) 2013-2015 David Herrmann <dh.herrmann@gmail.com>
* Copyright (C) 2013-2015 Linux Foundation
* Copyright (C) 2014-2015 Djalal ... | TeamFahQ/kernel_linux_next | ipc/kdbus/bus.c | C | gpl-2.0 | 14,169 |
/*
* CPUFreq sakuractive governor
*
* Copyright (C) 2011 sakuramilk <c.sakuramilk@gmail.com>
*
* Based on hotplug governor
* Copyright (C) 2010 Texas Instruments, Inc.
* Mike Turquette <mturquette@ti.com>
* Santosh Shilimkar <santosh.shilimkar@ti.com>
*
* Based on ondemand governor
* Copyright (C) 2001 ... | k2wl/kernel-gt-i9082-stock-based | drivers/cpufreq/cpufreq_sakuractive.c | C | gpl-2.0 | 22,646 |
/* SCTP kernel implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 2001 Intel Corp.
* Copyright (c) 2001 Nokia, Inc.
* Copyright (c) 2001 La Monte H.P. Yarroll
*
* These functions manipulate an sctp event. T... | jeffegg/beaglebone | net/sctp/ulpevent.c | C | gpl-2.0 | 32,388 |
/* Miscellaneous utilities for GIMPLE streaming. Things that are used
in both input and output are here.
Copyright (C) 2009-2015 Free Software Foundation, Inc.
Contributed by Doug Kwan <dougkwan@google.com>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the t... | kito-cheng/gcc | gcc/lto-streamer.c | C | gpl-2.0 | 11,719 |
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* 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 ... | JideTechnology/remixos-kernel | drivers/staging/rtl8812au/hal/phydm/phydm_acs.c | C | gpl-2.0 | 41,700 |
/*
* linux/drivers/video/omapfb/boot_progressbar.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.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 by the Free Software Found... | dhiru1602/android_kernel_samsung_latona | drivers/video/omap2/omapfb/omapfb-progressbar.c | C | gpl-2.0 | 6,333 |
/*
* empathy-streamed-media-factory.c - Source for EmpathyStreamedMediaFactory
* Copyright (C) 2008-2011 Collabora Ltd.
* @author Sjoerd Simons <sjoerd.simons@collabora.co.uk>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License ... | dinoboy197/Empathy | src/empathy-streamed-media-factory.c | C | gpl-2.0 | 8,514 |
/*
IGraph library.
Copyright (C) 2021 The igraph development team <igraph@igraph.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 o... | igraph/igraph | tests/unit/igraph_neighborhood_size.c | C | gpl-2.0 | 3,528 |
/*
* linux/mm/vmscan.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Swap reorganised 29.12.95, Stephen Tweedie.
* kswapd added: 7.1.96 sct
* Removed kswapd_ctl limits, and swap out as many pages as needed
* to bring the system back to freepages.high: 2.4.97, Rik van Riel.
* Zone aware k... | philenotfound/belkin-wemo-linux-2.6.21.x | mm/vmscan.c | C | gpl-2.0 | 48,319 |
/* Install given floating-point environment and raise exceptions.
Copyright (C) 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Huggins-Daines <dhd@debian.org>, 2000
The GNU C Library is free software; you can redistribute it and/or
modify it under the te... | ystk/debian-eglibc | ports/sysdeps/hppa/fpu/feupdateenv.c | C | gpl-2.0 | 1,504 |
/*
protocol_subnet.c -- handle the meta-protocol, subnets
Copyright (C) 1999-2005 Ivo Timmermans,
2000-2012 Guus Sliepen <guus@tinc-vpn.org>
2009 Michael Tokarev <mjt@tls.msk.ru>
This program is free software; you can redistribute it and/or modify
it under the t... | jed1/tinc | src/protocol_subnet.c | C | gpl-2.0 | 6,984 |
/*
* rev-parse.c
*
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "commit.h"
#include "refs.h"
#include "quote.h"
#include "builtin.h"
#include "parse-options.h"
#include "diff.h"
#include "revision.h"
#include "split-index.h"
#define DO_REVS 1
#define DO_NOREV 2
#define DO_FLAGS 4
#define DO... | sunny256/git | builtin/rev-parse.c | C | gpl-2.0 | 20,118 |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2010 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either... | freedesktop-unofficial-mirror/systemd__systemd-stable | src/core/namespace.c | C | gpl-2.0 | 7,610 |
/**
* TODO: legal stuff
*
* 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 ... | dmoonfire/prpltwtr-old | src/prpltwtr/prpltwtr_auth.c | C | gpl-2.0 | 18,305 |
/*
* net/dccp/ipv4.c
*
* An implementation of the DCCP protocol
* Arnaldo Carvalho de Melo <acme@conectiva.com.br>
*
* 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
* ... | xiandaicxsj/copyKvm | net/dccp/ipv4.c | C | gpl-2.0 | 28,989 |
/* Minimal malloc implementation for interposition tests.
Copyright (C) 2016-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by t... | ctyler/spo600-glibc | malloc/tst-interpose-aux.c | C | gpl-2.0 | 6,803 |
/*
* linux/fs/ext4/super.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/inode.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Big-endian to little-endian... | rkharwar/ubuntu-saucy-powerpc | fs/ext4/super.c | C | gpl-2.0 | 158,220 |
/* 32-bit ELF support for S+core.
Copyright (C) 2006-2017 Free Software Foundation, Inc.
Contributed by
Brain.lin (brain.lin@sunplusct.com)
Mei Ligang (ligang@sunnorth.com.cn)
Pei-Lin Tsai (pltsai@sunplus.com)
This file is part of BFD, the Binary File Descriptor library.
This program is free soft... | totalspectrum/binutils-propeller | bfd/elf32-score.c | C | gpl-2.0 | 157,881 |
/* gsm_map_summary.c
* Routines for GSM MAP Statictics summary window
*
* Copyright 2004, Michael Lum <mlum [AT] telostech.com>
* In association with Telos Technology Inc.
*
* Modified from summary_dlg.c
*
* $Id: gsm_map_summary.c 48448 2013-03-21 02:58:59Z wmeier $
*
* Wireshark - Network traffic analyzer
*... | P1sec/LTE_monitor_c2xx | wireshark/ui/gtk/gsm_map_summary.c | C | gpl-2.0 | 12,651 |
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <asm/setup.h>
#include <linux/pagemap.h>
struct st_read_proc {
char *name;
int (*read_proc)(char *, char **, off_t, int, int *, void *);
};
extern unsigned int get_pd_charge_flag(void);
extern unsigned int get_boot_into_recovery_flag(void);
extern unsigne... | Wonfee/huawei_u9508_kernel | fs/proc/app_info.c | C | gpl-2.0 | 1,527 |
/* GStreamer
* Copyright (C) <2009> Руслан Ижбулатов <lrn1986 _at_ gmail _dot_ com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at you... | freedesktop-unofficial-mirror/gstreamer-sdk__gst-plugins-bad | gst/videomeasure/gstvideomeasure.c | C | gpl-2.0 | 2,378 |
/*
* CDE - Common Desktop Environment
*
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; ei... | sTeeLM/MINIME | toolkit/srpm/SOURCES/cde-2.2.4/lib/DtWidget/EditAreaData.c | C | gpl-2.0 | 49,947 |
#include <stdio.h>
#include <l4/sys/kdebug.h>
void fork_to_background(void);
void fork_to_background(void)
{
printf("unimplemented: %s\n", __func__);
enter_kdebug();
}
| MicroTrustRepos/microkernel | src/l4/pkg/ankh/examples/wget/l4re_helpers.c | C | gpl-2.0 | 171 |
/*
* mm/page-writeback.c
*
* Copyright (C) 2002, Linus Torvalds.
* Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra <pzijlstr@redhat.com>
*
* Contains functions related to writing back dirty pages at the
* address_space level.
*
* 10Apr2002 Andrew Morton
* Initial version
*/
#include <linux/kernel.h>
#incl... | andrewwrightt/kernel_moto_shamu | mm/page-writeback.c | C | gpl-2.0 | 76,843 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.