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) 2014 Fredrik Johansson
This file is part of Arb.
Arb is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) ... | fredrik-johansson/arb | arb/test/t-chebyshev_u_ui.c | C | lgpl-2.1 | 3,795 |
/*
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup sys
* @{
* @file
* @brief ISR -> userspace pipe impl... | mfrey/RIOT | sys/isrpipe/isrpipe.c | C | lgpl-2.1 | 1,056 |
/*
Copyright (C) 2011 Fredrik Johansson
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your opti... | wbhart/flint2 | fmpz_poly_mat/test/t-mul_KS.c | C | lgpl-2.1 | 4,731 |
/*
Copyright (C) 2011, 2010 Sebastian Pancratz
Copyright (C) 2009, 2008 William Hart
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either... | dsroche/flint2 | fmpz_mod_poly/shift_right.c | C | lgpl-2.1 | 1,363 |
/*********************************************************************
*
* This is based on code created by Peter Harvey,
* (pharvey@codebydesign.com).
*
* Modified and extended by Nick Gorham
* (nick@lurcher.org).
*
* Any bugs or problems should be considered the fault of Nick and not
* Peter.
*
* copyright... | kadler/unixODBC | DriverManager/SQLGetConnectOption.c | C | lgpl-2.1 | 14,322 |
/*
* Clutter.
*
* An OpenGL based 'interactive canvas' library.
*
* Authored By Matthew Allum <mallum@openedhand.com>
*
* Copyright (C) 2006 OpenedHand
*
* 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... | heysion/clutter-clone | clutter/clutter-color.c | C | lgpl-2.1 | 30,866 |
/*
* Clutter.
*
* An OpenGL based 'interactive canvas' library.
*
* Copyright (C) 2010 Intel Corporation.
*
* 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 o... | heysion/clutter-clone | clutter/clutter-click-action.c | C | lgpl-2.1 | 23,014 |
/*
Teem: Tools to process and visualize scientific data and images .
Copyright (C) 2012, 2011, 2010, 2009 University of Chicago
Copyright (C) 2008, 2007, 2006, 2005 Gordon Kindlmann
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
This library is free software; you can... | CIBC-Internal/teem | src/air/dio.c | C | lgpl-2.1 | 9,468 |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
static int
file_get_contents (const char *path,
char **contents,
long *length,
void *error);
typedef struct {
int16_t integer;
uint16_t fraction;
} s15f16_t... | GNOME/babl | tools/babl-icc-dump.c | C | lgpl-3.0 | 19,935 |
/*************************************************************************\
* Copyright (C) Michael Kerrisk, 2014. *
* *
* This program is free software. You may use, modify, and redistribute it *
* under the term... | youngsterxyf/tlpi_src | shlibs/demo_Bsymbolic/foo2.c | C | lgpl-3.0 | 923 |
/* radare - LGPL - Copyright 2012 pancake<nopcode.org> */
#include <r_print.h>
// TODO: work in progress
#if 0
for(i=0; i<len; i++) {
packing_7bit_character(config.block+i, buffer);
cons_printf("%c", buffer[0]);
}
#endif
R_API int r_print_pack7bit (const char *src, char *dest) {
int len, i, j = 0, shift = ... | glandium/radare2 | libr/print/seven.c | C | lgpl-3.0 | 1,577 |
//=============================================================================
// RogueType.c
//
// 2015.08.30 by Abe Pralle
//=============================================================================
#include "Rogue.h"
//-----------------------------------------------------------------------------
// Dynamic ... | Plasmaworks/Rogue | Source/Unused/VM/RogueType.c | C | unlicense | 2,283 |
/***************************************************************************//**
* \file cy_crypto_core_hw_v1.c
* \version 2.30.4
*
* \brief
* This file provides the source code for the HAL API for the
* in the Crypto driver.
*
********************************************************************************
* Copyrig... | mbedmicro/mbed | targets/TARGET_Cypress/TARGET_PSOC6/psoc6pdl/drivers/source/cy_crypto_core_hw_v1.c | C | apache-2.0 | 12,964 |
/**
* \file
*
* \brief SAM Peripheral Access Controller Driver
*
* Copyright (C) 2012-2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | runtimeinc/mynewt_arduino_zero | hw/mcu/atmel/samd21xx/src/sam0/drivers/pac/pac_sam_d_r/pac.c | C | apache-2.0 | 5,582 |
/*
* Copyright 1998-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... | openssl/openssl | crypto/comp/c_zlib.c | C | apache-2.0 | 18,013 |
/*
* -----------------------------------------------------------------
* $Revision: 4075 $
* $Date: 2014-04-24 10:46:58 -0700 (Thu, 24 Apr 2014) $
* -----------------------------------------------------------------
* Programmer(s): Alan C. Hindmarsh and Radu Serban @ LLNL
* ---------------------------------------... | mirams/opencor | src/plugins/thirdParty/SUNDIALS/src/ida/ida_dense.c | C | apache-2.0 | 9,154 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | mlaz/mynewt-core | mgmt/smp/transport/smp_uart/src/smp_uart.c | C | apache-2.0 | 9,830 |
/*
* Copyright (C) 1997 Cygnus Solutions.
*
* Author: Michael Graff
*/
/*
* Dialog box building for various numbers of (label, entry) fields.
*
* This code is somewhat hardcoded to build boxes for the krb5_get_init_creds()
* function.
*/
#include <windows.h>
#include <windowsx.h>
#include <stdlib.h>
#includ... | drankye/kerb-token | krb5/src/windows/lib/vardlg.c | C | apache-2.0 | 10,807 |
#define COMPRESS_ID 7
#define DDBITS 2
#define CLEVEL 3
#include "compr1c.h"
| OLR-xray/OLR-3.0 | src/xray/xrCompress/lzo/lzo1c_7.c | C | apache-2.0 | 84 |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | loki04/jerryscript | jerry-core/ecma/builtin-objects/ecma-builtin-json.c | C | apache-2.0 | 52,745 |
/*
* Copyright 2013-2014 Luke Dashjr
*
* 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. See COPYING for more detai... | asicontech/software-for-equipment | bfgminer/httpsrv.c | C | apache-2.0 | 2,652 |
/* pwdauth 2.0 - check a shadow password Author: Kees J. Bot
* 7 Feb 1994
*
* This program gets as input the key and salt arguments of the crypt(3)
* function as two null terminated strings. The crypt result is output as
* one null terminated string. Input and output must be <= 1024 characters.
* The ex... | veritas-shine/minix3-rpi | minix/commands/pwdauth/pwdauth.c | C | apache-2.0 | 1,928 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* GDI Region Functions
*
* Copyright 2010-2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | zhangximin/FreeRDP | libfreerdp/gdi/region.c | C | apache-2.0 | 9,113 |
/*
* Copyright (C) 2001-2009 Keisuke Nishida
* Copyright (C) 2007-2009 Roger While
*
* 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,
* or (at your option) any l... | thebillkidy/KdG_IAO301A | Legacy Systems/open-cobol-1.1/libcob/screenio.c | C | apache-2.0 | 21,706 |
/**
******************************************************************************
* @file TIM/TIM_6Steps/main.c
* @author MCD Application Team
* @version V1.4.0
* @date 04-August-2014
* @brief Main program body
*****************************************************************************... | MikeStitt/lowLevelProgrammingByExample | presentations/20170726-meetup-embedded-gr/hal.stm.stm32PeripheralLib/Project/STM32F4xx_StdPeriph_Examples/TIM/TIM_6Steps/main.c | C | apache-2.0 | 9,345 |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this list of ... | rneilturner/xeniface | src/xeniface/wmi.c | C | bsd-2-clause | 98,488 |
#include <generated/csr.h>
#include <irq.h>
#include <uart.h>
#include "hdmi_in0.h"
#include "hdmi_in1.h"
void isr(void);
void isr(void)
{
unsigned int irqs;
irqs = irq_pending() & irq_getmask();
if(irqs & (1 << UART_INTERRUPT))
uart_isr();
#ifdef CSR_HDMI_IN0_BASE
if(irqs & (1 << HDMI_IN0_INTERRUPT))
hdmi_... | mithro/HDMI2USB-litex-firmware | firmware/isr.c | C | bsd-2-clause | 428 |
#include "typeparam.h"
#include "assemble.h"
#include "cap.h"
#include "subtype.h"
#include "matchtype.h"
#include "../ast/token.h"
#include "../../libponyrt/mem/pool.h"
#include "ponyassert.h"
#include <string.h>
static token_id cap_union_constraint(token_id a, token_id b)
{
// Decide a capability for a type parame... | ponylang/ponyc | src/libponyc/type/typeparam.c | C | bsd-2-clause | 11,775 |
/*-
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
* Copyright (c) 1992, 1993, 1994, 1995, 1996
* Keith Bostic. All rights reserved.
* Copyright (c) 1995
* George V. Neville-Neil. All rights reserved.
*
* See the LICENSE file for redistribution information... | dplbsd/zcaplib | head/contrib/nvi/common/api.c | C | bsd-2-clause | 9,253 |
/*
* linux/kernel/irq/manage.c
*
* Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar
* Copyright (C) 2005-2006 Thomas Gleixner
*
* This file contains driver APIs to the irq subsystem.
*/
#define pr_fmt(fmt) "genirq: " fmt
#include <linux/irq.h>
#include <linux/kthread.h>
#include <linux/module.h>
#incl... | andrewjylee/omniplay | linux-lts-quantal-3.5.0/kernel/irq/manage.c | C | bsd-2-clause | 43,526 |
/****************************************************************************
* net/socket/net_timeo.c
*
* Copyright (C) 2007-2009, 2011-2012, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification... | IUTInfoAix/terrarium_2015 | nuttx/net/socket/net_timeo.c | C | bsd-2-clause | 3,182 |
/*******************************************************************************
Copyright (C), 2011-2016, Andrew Min Chang
File name: AMCDictionary.c
Author: Andrew Chang (Zhang Min)
Description:
This file implements mutable associative array support.
History:
2017-02-04: File created as AMCDicti... | Andrew-M-C/Linux-Linux_Programming_Template | history/170204_ARP/AMCDictionary.c | C | bsd-2-clause | 30,843 |
/* Copyright 2022 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#define DT_DRV_COMPAT cros_ec_kb_raw_emul
#include <logging/log.h>
LOG_MODULE_REGISTER(emul_kb_raw);
#include <device.h>
#include <drivers/emul.h... | coreboot/chrome-ec | zephyr/emul/emul_kb_raw.c | C | bsd-3-clause | 3,471 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_environment_w32_vsnprintf_07.c
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-07.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: envi... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s02/CWE134_Uncontrolled_Format_String__char_environment_w32_vsnprintf_07.c | C | bsd-3-clause | 7,295 |
/* $Header: /p/tcsh/cvsroot/tcsh/tc.who.c,v 3.59 2012/11/15 02:55:08 christos Exp $ */
/*
* tc.who.c: Watch logins and logouts...
*/
/*-
* Copyright (c) 1980, 1991 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modifica... | Distrotech/tcsh | tc.who.c | C | bsd-3-clause | 18,711 |
/*
* linux/arch/arm/kernel/armksyms.c
*
* Copyright (C) 2000 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/module.h>
#include <linux/strin... | ut-osa/syncchar | linux-2.6.16-unmod/arch/arm/kernel/armksyms.c | C | bsd-3-clause | 5,036 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE843_Type_Confusion__char_53d.c
Label Definition File: CWE843_Type_Confusion.label.xml
Template File: sources-sink-53d.tmpl.c
*/
/*
* @description
* CWE: 843 Type Confusion
* BadSource: char Point data to a char data type
* GoodSource: Point data to an int da... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE843_Type_Confusion/CWE843_Type_Confusion__char_53d.c | C | bsd-3-clause | 1,156 |
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#ifndef lint
static char sccsid[] = "@(#)init_field.c 5.1 (Berkeley) 5/30/85";
#endif not lint
# include "robots.h"
/*
* in... | igor-m/retrobsd-with-double-precison | src/games/robots/init_field.c | C | bsd-3-clause | 1,575 |
#include <sys/queue.h>
#include <sys/ioctl.h>
#include <limits.h>
#include <unistd.h>
#include <assert.h>
#include "mtcp.h"
#include "mtcp_api.h"
#include "tcp_in.h"
#include "tcp_stream.h"
#include "tcp_out.h"
#include "ip_out.h"
#include "eventpoll.h"
#include "pipe.h"
#include "fhash.h"
#include "addr_pool.h"
#incl... | chyyuu/mtcp | mtcp/src/api.c | C | bsd-3-clause | 35,215 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE253_Incorrect_Check_of_Function_Return_Value__wchar_t_scanf_01.c
Label Definition File: CWE253_Incorrect_Check_of_Function_Return_Value.label.xml
Template File: point-flaw-01.tmpl.c
*/
/*
* @description
* CWE: 253 Incorrect Check of Return Value
* Sinks: scanf... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE253_Incorrect_Check_of_Function_Return_Value/CWE253_Incorrect_Check_of_Function_Return_Value__wchar_t_scanf_01.c | C | bsd-3-clause | 2,629 |
/* crypto/bn/bn_nist.c */
/*
* Written by Nils Larsch for the OpenSSL project
*/
/* ====================================================================
* Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are p... | GaloisInc/hacrypto | src/C/openssl/openssl-0.9.8zh/crypto/bn/bn_nist.c | C | bsd-3-clause | 30,117 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__fscanf_malloc_54b.c
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-54b.tmpl.c
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: fscanf Read data from the console... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE194_Unexpected_Sign_Extension/s01/CWE194_Unexpected_Sign_Extension__fscanf_malloc_54b.c | C | bsd-3-clause | 1,454 |
/* pnmtosir.c - read a portable anymap and produce a Solitaire Image Recorder
** file (MGI TYPE 11 or MGI TYPE 17)
**
** Copyright (C) 1991 by Marvin Landis
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted, provided
** that t... | ownclo/jpeg-on-steroids | vendor/C/netpbm/converter/other/pnmtosir.c | C | bsd-3-clause | 3,868 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_listen_socket_printf_22a.c
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-22a.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: listen_socket Rea... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s03/CWE134_Uncontrolled_Format_String__char_listen_socket_printf_22a.c | C | bsd-3-clause | 12,079 |
/* This module is used to test the server keyspace events API.
*
* -----------------------------------------------------------------------------
*
* Copyright (c) 2020, Meir Shpilraien <meir at redislabs dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* mod... | PKRoma/redis | tests/modules/keyspace_events.c | C | bsd-3-clause | 10,906 |
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... | xianyi/OpenBLAS | lapack-netlib/LAPACKE/src/lapacke_dlaset_work.c | C | bsd-3-clause | 3,580 |
#ifdef HAVE_CONFIG_H
#include "../../ext_config.h"
#endif
#include <php.h>
#include "../../php_ext.h"
#include "../../ext.h"
#include <Zend/zend_exceptions.h>
#include "kernel/main.h"
/**
* Phalcon\Mvc\ViewInterface
*
* Interface for Phalcon\Mvc\View and Phalcon\Mvc\View\Simple
*/
ZEPHIR_INIT_CLASS(Phalcon_Mv... | Zaszczyk/cphalcon | ext/phalcon/mvc/viewbaseinterface.zep.c | C | bsd-3-clause | 1,683 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_connect_socket_sub_07.c
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-07.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: connect_socket Read data using a connect soc... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE191_Integer_Underflow/s02/CWE191_Integer_Underflow__int_connect_socket_sub_07.c | C | bsd-3-clause | 11,445 |
#include <errno.h>
#include "ruby.h"
#include "rubyspec.h"
#ifdef __cplusplus
extern "C" {
#endif
VALUE kernel_spec_call_proc(VALUE arg_array) {
VALUE arg = rb_ary_pop(arg_array);
VALUE proc = rb_ary_pop(arg_array);
return rb_funcall(proc, rb_intern("call"), 1, arg);
}
#ifdef HAVE_RB_BLOCK_GIVEN_P
static VALU... | yob/debian-rubinius | spec/ruby/optional/capi/ext/kernel_spec.c | C | bsd-3-clause | 9,113 |
#include <csolve.h>
void main () {
int s,t;
t = nondet();
switch (t) {
case 1:
csolve_assert(t==1);
s = 0;
break;
case 2:
csolve_assert(t==2);
s = 1;
break;
default:
s = 2;
}
}
| ucsd-progsys/csolve | tests/postests/branchvar2.c | C | bsd-3-clause | 256 |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | pelya/android-shmem | cutils/ashmem-dev.c | C | bsd-3-clause | 2,239 |
/*
* Copyright (c) 2019, 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 ... | turon/openthread | examples/platforms/nrf52840/spi-slave.c | C | bsd-3-clause | 6,914 |
/*
* Copyright (C) STMicroelectronics 2009
* Copyright (C) ST-Ericsson SA 2010
*
* License Terms: GNU General Public License v2
* Based on ARM realview platform
*
* Author: Sundar Iyer <sundar.iyer@stericsson.com>
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/smp.h>
#include <asm/cac... | JijonHyuni/HyperKernel-JB | virt/arch/arm/mach-ux500/hotplug.c | C | gpl-2.0 | 1,120 |
/* Copyright (c) 2016 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferab... | lab11/nrf5x-base | sdk/nrf5_sdk_12.2.0/components/libraries/block_dev/qspi/nrf_block_dev_qspi.c | C | mit | 24,095 |
/*
* This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2015 Paul Sokolovsky
*
* 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 ... | supergis/micropython | esp8266/modesp.c | C | mit | 21,905 |
/*-
* Copyright (c) 2003, 2004, 2005 Lev Walkin <vlm@lionet.info>.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
#include <asn_internal.h>
#include <constr_SET_OF.h>
#include <asn_SET_OF.h>
/*
* Number of bytes left for this structure.
* (ctx->left) indicates ... | mojmir-svoboda/DbgToolkit | trace_proto/generated/constr_SET_OF.c | C | mit | 24,374 |
/* serial_io_win32.c - serial i/o routines
*
* Copyright (c) 2009 by David Michael Betz. All rights reserved.
*
*/
#include <windows.h>
#include <stdio.h>
#include <stdarg.h>
#include <conio.h>
#include <fcntl.h>
#include "osint.h"
static HANDLE hSerial;
static COMMTIMEOUTS original_timeouts;
stat... | dbetz/xbasic | src/common/osint_win32.c | C | mit | 5,469 |
/**
******************************************************************************
* @file usbd_customhid.c
* @author MCD Application Team
* @version V2.4.1
* @date 19-June-2015
* @brief This file provides the CUSTOM_HID core functions.
*
* @verbatim
*
* =====================... | oroca/oroca_bldc | oroca_bldc/app/LIB_USB/STM32_USB_Device_Library/Class/CustomHID/Src/usbd_customhid.c | C | mit | 15,681 |
/*
* Copyright © 2010-2012 Intel Corporation
* Copyright © 2011-2012 Collabora, Ltd.
* Copyright © 2013 Raspberry Pi Foundation
*
* 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 withou... | krezovic/weston | ivi-shell/input-panel-ivi.c | C | mit | 11,785 |
/*
* This file is part of the Nautilus AeroKernel developed
* by the Hobbes and V3VEE Projects with funding from the
* United States National Science Foundation and the Department of Energy.
*
* The V3VEE Project is a joint project between Northwestern University
* and the University of New Mexico. The Hobb... | yhx189/nautilus | src/arch/x64/main.c | C | mit | 1,163 |
/*
Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
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, m... | AndreLei/ArkInC | cJSON-master/tests/compare_tests.c | C | mit | 8,432 |
/*
* "condition" match extension for iptables
* Stephane Ouellette <ouellettes [at] videotron ca>, 2002-10-22
* Massimiliano Hofer <max [at] nucleus it>, 2006-05-15
* Jan Engelhardt <jengelh [at] medozas de>, 2008
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of th... | jfenderico/xtables-addons | extensions/libxt_condition.c | C | gpl-2.0 | 2,668 |
/*
// ===========================================================================
mcp23017:
Driver for the MCP23017 port expander.
Copyright 2015 Darren Faulke <darren@alidaf.co.uk>
Based on the following guides and codes:
MCP23017 data sheet.
- see http://ww1.microchip.com/download... | alidaf/raspberryPi | meterPi/mcp23017.c | C | gpl-2.0 | 14,347 |
/*
* WUSB Wire Adapter
* Data transfer and URB enqueing
*
* Copyright (C) 2005-2006 Intel Corporation
* Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.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 ... | renaudallard/gnexus_kernel | drivers/usb/wusbcore/wa-xfer.c | C | gpl-2.0 | 47,214 |
/*
* Unix SMB/CIFS implementation.
* RPC Pipe client / server routines
* Copyright (C) Andrew Tridgell 1992-1997,
* Copyright (C) Luke Kenneth Casson Leighton 1996-1997,
* Copyright (C) Paul Ashton 1997.
* Copyright (C) Jeremy Allison 1998-2001.
* Copyrigh... | ipwndev/DSLinux-Mirror | user/samba/source/rpc_server/srv_netlog_nt.c | C | gpl-2.0 | 26,795 |
/*
* Unix SMB/CIFS implementation.
* Kerberos error mapping functions
* Copyright (C) Guenther Deschner 2005
*
* 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... | paul-chambers/netgear-r7800 | git_home/samba.git/source/libads/krb5_errs.c | C | gpl-2.0 | 3,847 |
/* $Id: RTLogWriteStdOut-stub-generic.cpp $ */
/** @file
* IPRT - Log To StdOut, Generic Dummy.
*/
/*
* Copyright (C) 2006-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it a... | nightscape/yoga-900-kernel | ubuntu/vbox/vboxguest/generic/RTLogWriteStdOut-stub-generic.c | C | gpl-2.0 | 1,536 |
/* lge/com_device/input/touch_synaptics_fw_upgrade.c
*
* Copyright (C) 2011 LGE, Inc.
*
* Author: hyesung.shin@lge.com
*
* Notice: This is synaptic general touch FW upgrade driver for using RMI4.
* It not depends on specific regitser map and device spec.
* If you want use this driver, you should completly un... | forumi0721/android_kernel_lge_batman_lgu_kr | lge/com_device/input/touch_synaptics_ijb_fw_upgrade.c | C | gpl-2.0 | 35,342 |
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
*
* 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... | phra/802_21 | myODTONE/app/dhcp_usr/libs/bind/bind-9.8.4-P1/bin/pkcs11/pkcs11-list.c | C | gpl-2.0 | 7,246 |
/* $Id: resample_resample.c 369517 2012-07-01 17:28:57Z file $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | fluentstream/asterisk-p2p | res/pjproject/pjmedia/src/pjmedia/resample_resample.c | C | gpl-2.0 | 11,306 |
/*
* OMAP4 PRM instance functions
*
* Copyright (C) 2009 Nokia Corporation
* Copyright (C) 2011 Texas Instruments, Inc.
* Paul Walmsley
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software F... | justindriggers/android_kernel_glass_glass-1 | arch/arm/mach-omap2/prminst44xx.c | C | gpl-2.0 | 6,547 |
/*
* PXA168 MSPM IDLE
*
* Copyright (c) 2003 Intel Corporation.
*
* This software program is licensed subject to the GNU General Public License
* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html
*
* (C) Copyright 2008 Marvell International Ltd.
* All Rights Reserved
*/
#undef DEBU... | c0ffee/linux-2.6.34-ts471x | arch/arm/mach-mmp/pxa168_mspm_idle.c | C | gpl-2.0 | 6,746 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2008 Collabora 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
... | smcgrath/empathy-smcgrath | libempathy/empathy-log-store.c | C | gpl-2.0 | 5,474 |
/*
** Copyright 2010, Adam Shanks (@ChainsDD)
** Copyright 2008, Zinx Verituse (@zinxv)
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.... | keulraesik/su | su.c | C | gpl-2.0 | 13,920 |
/*
* Marvell Armada-3700 SPI controller driver
*
* Author: Wilson Ding <dingwei@marvell.com>
* Copyright (C) 2007-2008 Marvell Ltd.
*
* 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 Founda... | moonman/linux-stable | drivers/spi/spi-armada-3700.c | C | gpl-2.0 | 28,816 |
/*
* USB
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/usb/musb.h>
#include <linux/usb/otg.h>
#include <mach/common.h>
#include <mach/hardware.h>
#include <mach/irqs.h>
#if defined(CONFIG_USB_MUSB_HDR... | melgurth/i780-kernel | arch/arm/mach-davinci/usb.c | C | gpl-2.0 | 1,991 |
/* packet-elmi.c
* Routines for Ethernet Local Management Interface (E-LMI) dissection
* Copyright 2014, Martin Kaiser <martin@kaiser.cx>
*
* based on a dissector written in lua
* Copyright 2013, Werner Fischer (fischer-interactive.de)
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark... | ryandoyle/wireshark | epan/dissectors/packet-elmi.c | C | gpl-2.0 | 7,707 |
/*
* ProFTPD - mod_sftp SCP
* Copyright (c) 2008-2010 TJ Saunders
*
* 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 versio... | paul-chambers/netgear-r7800 | git_home/proftpd.git/contrib/mod_sftp/scp.c | C | gpl-2.0 | 58,956 |
/* Copyright (c) 2009-2015, 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 hop... | rostifaner/android_kernel_xiaomi_msm8956 | drivers/usb/phy/phy-msm-usb.c | C | gpl-2.0 | 182,236 |
/*
* soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
*
* Copyright 2005 Wolfson Microelectronics PLC.
* Author: Liam Girdwood <lrg@slimlogic.co.uk>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* ... | blindcozy/kernel-zenfone-4 | sound/soc/soc-dapm.c | C | gpl-2.0 | 84,607 |
/*
* IPv6 Address [auto]configuration
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
* Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published ... | ProjectLense/kernel_omap4_spyder | net/ipv6/addrconf.c | C | gpl-2.0 | 118,841 |
/* file: wfdbcat.c G. Moody 3 March 2000
Last revised: 22 May 2000
-------------------------------------------------------------------------------
wfdbcat: Find and concatenate WFDB files on the standard output
Copyright (C) 2000 George B. Moody
This program is free software; you can redistribute it and/or modify i... | tnilanon/csci-686-final | wfdb-10.5.24/app/wfdbcat.c | C | gpl-2.0 | 3,008 |
/*
* (Tentative) USB Audio Driver for ALSA
*
* Mixer control part
*
* Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>
*
* Many codes borrowed from audio.c by
* Alan Cox (alan@lxorguk.ukuu.org.uk)
* Thomas Sailer (sailer@ife.ee.ethz.ch)
*
*
* This program is free software; you can redist... | thicklizard/komodo_ville | sound/usb/mixer.c | C | gpl-2.0 | 63,915 |
/*
* File : board.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009 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 Author ... | blueskycoco/rt-thread | bsp/stm32/stm32l496-st-nucleo/board/board.c | C | gpl-2.0 | 2,947 |
/*
* 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... | baselsayeh/kyleopen-kernel | drivers/staging/zram/zram_drv.c | C | gpl-2.0 | 22,549 |
/***************************************************************************
* Copyright (C) 2005 by Dominic Rath *
* Dominic.Rath@gmx.de *
* *
* Copyrig... | ensc/openocd | src/jtag/adapter.c | C | gpl-2.0 | 14,848 |
/*
* Copyright (c) 2013, 2016 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 ... | chrisk44/android_kernel_lge_hammerhead | sound/soc/msm/qdsp6v2/msm-lsm-client.c | C | gpl-2.0 | 21,720 |
/* $Header: /cvsroot/lesstif/lesstif/test/Xm/messagebox/test2.c,v 1.6 2001/05/15 14:08:34 amai Exp $
test of selection boxes */
#include <stdlib.h>
#include <Xm/Xm.h>
#include <Xm/PushBP.h>
#include <Xm/MessageB.h>
#include "../../common/Test.h"
Widget toplevel, box, push;
void Push(Widget w, XtPointer client, ... | ystk/debian-lesstif2 | test/Xm/messagebox/test2.c | C | gpl-2.0 | 1,866 |
/*
* linux/arch/arm/mm/fault.c
*
* Copyright (C) 1995 Linus Torvalds
* Modifications for ARM processor (c) 1995-2004 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 Foun... | rickyzhang82/bbb-linux | arch/arm/mm/fault.c | C | gpl-2.0 | 14,669 |
static const unsigned char toolbar_help_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30,
0x08, 0x06, 0x00, 0x00, 0x00, 0x57, 0x02, 0xf9, 0x87, 0x00, 0x00, 0x00,
0x04, 0x73, 0x42, 0x49, 0x54, 0x08, 0x08, 0x08, 0x0... | flewrain/flewrain-dolphin | Source/Core/DolphinWX/resources/toolbar_help.c | C | gpl-2.0 | 22,185 |
/*
This file was produced by Deep Exploration Plugin: CPP Export filter.
Deep Exploration
Copyright (c) 1999-2003 Right Hemisphere, Inc
WWW http://www.righthemisphere.com/dexp.htm
eMail support@righthemisphere.com
*/
//#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <math.h>
typedef struct sam... | Distrotech/pidgin | pidgin/plugins/crazychat/eye.c | C | gpl-2.0 | 46,785 |
/* drivers/input/touchscreen/himax8528.c
*
* Copyright (C) 2013 HTC Corporation.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distri... | jmztaylor/android_kernel_htc_a3ul_new | drivers/input/touchscreen/himax_852xD.c | C | gpl-2.0 | 223,214 |
#include <math.h>
#include "sndintrf.h"
#include "streams.h"
#include "2203intf.h"
#include "fm.h"
struct ym2203_info
{
sound_stream * stream;
mame_timer * timer[2];
void * chip;
void * psg;
const struct YM2203interface *intf;
};
static void psg_set_clock(void *param, int clock)
{
struct ym2203_info *info... | scs/uclinux | user/games/xmame/xmame-0.106/src/sound/2203intf.c | C | gpl-2.0 | 7,615 |
/*
* This file is part of wl1271
*
* Copyright (C) 2008-2010 Nokia Corporation
*
* Contact: Luciano Coelho <luciano.coelho@nokia.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 Fou... | danielgpalmer/linux-picosam9g45 | drivers/net/wireless/ti/wlcore/boot.c | C | gpl-2.0 | 11,640 |
/*
* Copyright (C) NXP Semiconductors (PLMA)
*
* 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 ... | apascual89/android_kernel_oneplus_msm8996-1 | sound/soc/codecs/tfa9890/tfa_dsp.c | C | gpl-2.0 | 63,350 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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. Oracle designates this
* particular file as subject to th... | openjdk/jdk7u | jdk/src/share/native/sun/java2d/cmm/lcms/cmsxform.c | C | gpl-2.0 | 49,412 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2017 Google, Inc.
*/
/*
* Regression test for commit 63a0b0509e70 ("KEYS: fix freeing uninitialized
* memory in key_update()"). Try to reproduce the crash in two different ways:
*
* 1. Try to update a key of a type that has a ->preparse() method bu... | linux-test-project/ltp | testcases/kernel/syscalls/keyctl/keyctl05.c | C | gpl-2.0 | 7,389 |
/*
* Fraps FPS1 decoder
* Copyright (c) 2005 Roine Gustafsson
* Copyright (c) 2006 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... | neuros/neuroslink-mythtv-0.21.0-fixes18722 | libs/libavcodec/fraps.c | C | gpl-2.0 | 9,963 |
/* Reads a sequence of 24-bit ints from a file with Little-Endian ordering
* and outputs them in a textual format such that they can be embedded in
* C sources for array initialization, using the system endianness.
*
* WARNING: THIS PROGRAM MAY FAIL TO WORK AS EXPECTED AND DO MORE OR LESS
* THAN INTENDED.
*
* TH... | Billy2600/refkeen | src/compat/3byteprt.c | C | gpl-2.0 | 995 |
/*
* pfmlib_intel_snb.c : Intel Sandy Bridge core PMU
*
* Copyright (c) 2010 Google, Inc
* Contributed by Stephane Eranian <eranian@gmail.com>
*
* 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... | wanghao-xznu/vte | testcases/third_party_suite/pfm/libpfm-4.2.0/lib/pfmlib_intel_snb.c | C | gpl-2.0 | 4,289 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.