repo_name
string
path
string
copies
string
size
string
content
string
license
string
tobid89/pilight
libs/pilight/events/operators/lt.c
8
1403
/* Copyright (C) 2013 - 2014 CurlyMo This file is part of pilight. pilight 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. pilight ...
gpl-3.0
DanielYS/JdeRobot
src/stable/components/visualHFSM/point.cpp
9
3190
/* * Copyright (C) 1997-2013 JDERobot Developers Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * *...
gpl-3.0
Po-Jen/NTU_BeeBot
beebot_planners_master/anytimeRRTs/include/smp/costtogo/interface/_coder_costotogo_info.c
10
81477
/* * _coder_costotogo_info.c * * Code generation for function 'costotogo' * * C source code generated on: Wed Jun 11 17:43:10 2014 * */ /* Include files */ #include "_coder_costotogo_info.h" /* Function Declarations */ static void info_helper(const mxArray **info); static const mxArray *emlrt_marshallOut(const...
gpl-3.0
Olegas/chinese_marlin
ConfigurationStore.cpp
11
9879
#include "Marlin.h" #include "planner.h" #include "temperature.h" #include "ultralcd.h" #include "ConfigurationStore.h" void _EEPROM_writeData(int &pos, uint8_t* value, uint8_t size) { do { eeprom_write_byte((unsigned char*)pos, *value); pos++; value++; }while(--size); } #define EEP...
gpl-3.0
jlspyaozhongkai/Uter
third_party_backup/Python-2.7.9/PC/VS8.0/make_buildinfo.c
11
3241
#include <windows.h> #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #define CMD_SIZE 500 /* This file creates the getbuildinfo.o object, by first invoking subwcrev.exe (if found), and then invoking cl.exe. As a side effect, it might generate PCBuild\getbuildinfo2.c also. If this isn't a subv...
gpl-3.0
Matt07211/android_kernel_samsung_xcover3lte
drivers/media/usb/dvb-usb/dtt200u.c
4363
9648
/* DVB USB library compliant Linux driver for the WideView/ Yakumo/ Hama/ * Typhoon/ Yuan/ Miglia DVB-T USB2.0 receiver. * * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.de) * * Thanks to Steve Chang from WideView for providing support for the WT-220U. * * This program is free software; you can...
gpl-3.0
AMDmi3/pingus
external/tinygettext/tinygettext/iconv.cpp
12
4073
// tinygettext - A gettext replacement that works directly on .po files // Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de> // // 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...
gpl-3.0
msrb/freeipa
asn1/asn1c/INTEGER.c
12
20381
/*- * Copyright (c) 2003, 2004, 2005, 2006 Lev Walkin <vlm@lionet.info>. * All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include <asn_internal.h> #include <INTEGER.h> #include <asn_codecs_prim.h> /* Encoder and decoder of a primitive type */ #include <errno.h> /*...
gpl-3.0
yonahbox/ardupilot
libraries/AP_HAL_F4Light/RC_NRF_parser.cpp
13
19215
/* (c) 2017 night_ghost@ykoctpa.ru based on: BetaFlight NRF driver */ #include <exti.h> #include <timer.h> #include "RCInput.h" #include <pwm_in.h> #include <AP_HAL/utility/dsm.h> #include "sbus.h" #include "GPIO.h" #include "ring_buffer_pulse.h" #include "RC_NRF_parser.h" using namespace F4Light; extern con...
gpl-3.0
r0mai/metashell
3rd/templight/clang/test/Sema/address_space_print_macro.c
14
3020
// RUN: %clang_cc1 %s -fsyntax-only -verify #define AS1 __attribute__((address_space(1))) #define AS2 __attribute__((address_space(2), annotate("foo"))) #define AS_ND __attribute__((address_space(2), noderef)) #define AS(i) address_space(i) #define AS3 __attribute__((AS(3))) #define AS5 __attribute__((address_space(5...
gpl-3.0
caguado/boinc-v2
lib/mfile.cpp
15
4307
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2008 University of California // // BOINC 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 3 of the Licens...
gpl-3.0
1151637/ivmultiplayer
Network/Core/RakNet/LogCommandParser.cpp
16
7503
#include "NativeFeatureIncludes.h" #if _RAKNET_SUPPORT_LogCommandParser==1 #include "LogCommandParser.h" #include "TransportInterface.h" #include <memory.h> #include <stdio.h> #include <string.h> #include <stdarg.h> #include "LinuxStrings.h" #ifdef _MSC_VER #pragma warning( push ) #endif using n...
gpl-3.0
ymattw/rsyslog
runtime/ratelimit.c
16
10800
/* ratelimit.c * support for rate-limiting sources, including "last message * repeated n times" processing. * * Copyright 2012 Rainer Gerhards and Adiscon GmbH. * * This file is part of the rsyslog runtime library. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ...
gpl-3.0
linuxmcu/ardupilot
libraries/AP_HAL/examples/UART_test/UART_test.cpp
18
1453
/* simple test of UART interfaces */ #include <AP_HAL/AP_HAL.h> #if HAL_OS_POSIX_IO #include <stdio.h> #endif const AP_HAL::HAL& hal = AP_HAL::get_HAL(); /* setup one UART at 57600 */ static void setup_uart(AP_HAL::UARTDriver *uart, const char *name) { if (uart == nullptr) { // that UART doesn't e...
gpl-3.0
MattDevo/stk-code
lib/irrlicht/tests/fast_atof.cpp
22
8699
// Copyright (C) 2008-2012 Colin MacDonald // No rights reserved: this software is in the public domain. #include "testUtils.h" using namespace irr; using namespace core; //! This was an older Irrlicht implementation, tested against for reference. static inline u32 old_strtol10(const char* in, const char** ...
gpl-3.0
fhedberg/ardupilot
libraries/RC_Channel/examples/RC_UART/RC_UART.cpp
23
3100
/* take RC channels in from UART and put out as PWM */ #include <AP_HAL/AP_HAL.h> #include <GCS_MAVLink/include/mavlink/v2.0/checksum.h> const AP_HAL::HAL& hal = AP_HAL::get_HAL(); #define NUM_CHANNELS 4 #define ESC_MAGIC 0xF7 #define RC_SPEED 490 #define UART serial(4) class RC_UART : public AP_HAL::HAL::Callba...
gpl-3.0
basdelfos/betaflight
lib/main/DSP_Lib/Source/MatrixFunctions/arm_mat_init_f32.c
280
3115
/* ---------------------------------------------------------------------------- * Copyright (C) 2010-2014 ARM Limited. All rights reserved. * * $Date: 19. March 2015 * $Revision: V.1.4.5 * * Project: CMSIS DSP Library * Title: arm_mat_init_f32.c * * Description: Floating-...
gpl-3.0
jswxdzc/shadowsocks-android
src/main/jni/openssl/crypto/ec/ecp_nistp521.c
537
63240
/* crypto/ec/ecp_nistp521.c */ /* * Written by Adam Langley (Google) for the OpenSSL project */ /* Copyright 2011 Google Inc. * * 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 * * ...
gpl-3.0
maexlich/boinc-igemathome
client/auto_update.cpp
27
8805
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2008 University of California // // BOINC 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 3 of the Licens...
gpl-3.0
dipspb/ardupilot
libraries/AP_HAL/examples/Printf/Printf.cpp
30
2640
#include <AP_Common/AP_Common.h> #include <AP_HAL/AP_HAL.h> const AP_HAL::HAL& hal = AP_HAL::get_HAL(); void setup(void) { hal.console->println("Starting Printf test"); } static const struct { const char *fmt; float v; const char *result; } float_tests[] = { { "%f", 3.71f, "3.710000" }, { "%....
gpl-3.0
jeffreysanti/AdventurePlatform
angelscript/as_outputbuffer.cpp
32
2773
/* AngelCode Scripting Library Copyright (c) 2003-2012 Andreas Jonsson 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. Permission is granted to anyone to use this ...
gpl-3.0
chibitronics/ltc-os
os/various/cpp_wrappers/ch.cpp
32
16150
/* ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio 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 requi...
gpl-3.0
fw867/ntopng
third-party/rrdtool-1.4.8/src/hash_32.c
35
4381
/* * hash_32 - 32 bit Fowler/Noll/Vo hash code * * *** * * Fowler/Noll/Vo hash * * The basis of this hash algorithm was taken from an idea sent * as reviewer comments to the IEEE POSIX P1003.2 committee by: * * Phong Vo (http://www.research.att.com/info/kpv/) * Glenn Fowler (http://www.research.at...
gpl-3.0
victorzhao/miniblink49
third_party/skia/src/effects/SkDropShadowImageFilter.cpp
36
5675
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkDropShadowImageFilter.h" #include "SkBitmap.h" #include "SkBlurImageFilter.h" #include "SkCanvas.h" #include "SkColorMatrixFilter.h" #include "SkDevice.h" #includ...
gpl-3.0
parallaxinc/propgcc
gcc/gcc/testsuite/gfortran.dg/function_types_2.f90
38
1620
! { dg-do compile } ! Tests the fix for PR34431 in which function TYPEs that were ! USE associated would cause an error. ! ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> ! module m1 integer :: hh type t real :: r end type t end module m1 module m2 type t integer :: k end type t end module m2 mo...
gpl-3.0
Lazydevs/THUG
includes/FreeImage/LibOpenJPEG/raw.c
39
2815
/* * Copyright (c) 2002-2007, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium * Copyright (c) 2002-2007, Professor Benoit Macq * Copyright (c) 2003-2007, Francois-Olivier Devaux and Antonin Descampe * Copyright (c) 2005, Herve Drolon, FreeImage Team * All rights reserv...
gpl-3.0
ppelleti/gnutls
gl/getopt.c
39
40772
/* Getopt for GNU. NOTE: getopt is part of the C library, so if you don't know what "Keep this file name-space clean" means, talk to drepper@gnu.org before changing it! Copyright (C) 1987-1996, 1998-2004, 2006, 2008-2011 Free Software Foundation, Inc. This file is part of the GNU C Library. This p...
gpl-3.0
ih24n69/android_kernel_samsung_young23g
net/batman-adv/vis.c
2087
25846
/* Copyright (C) 2008-2013 B.A.T.M.A.N. contributors: * * Simon Wunderlich * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that...
gpl-3.0
jason-liew/shadowsocks-android
src/main/jni/openssl/crypto/bf/bf_ofb64.c
808
4197
/* crypto/bf/bf_ofb64.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non...
gpl-3.0
orlov-vo/mtasa
vendor/ehs/sslerror.cpp
41
1762
/* EHS is a library for adding web server support to a C++ application Copyright (C) 2001, 2002 Zac Hansen 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 only. ...
gpl-3.0
zhaozoz/stardict-3
tools/src/degb2utf.cpp
41
9461
/* * This file is part of StarDict. * * StarDict 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. * * StarDict is distributed in...
gpl-3.0
geminy/aidear
oss/linux/linux-4.7/drivers/net/wireless/ath/ath9k/dynack.c
48
8994
/* * Copyright (c) 2014, Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> * * 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 PR...
gpl-3.0
RiverSeed/gsl
cblas/test_sbmv.c
49
9917
#include <gsl/gsl_test.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "tests.h" void test_sbmv (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int uplo = 121; float alpha = 1.0f; float beta = 0.0f; int N = 3; int k = 1; in...
gpl-3.0
insflow/shadowsocks-android
src/main/jni/openssl/crypto/asn1/a_bytes.c
822
7918
/* crypto/asn1/a_bytes.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and no...
gpl-3.0
constantine001/DOOM-3
neo/sys/linux/sound.cpp
57
14235
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you can redistribute it and/or modify...
gpl-3.0
hankbao/shadowsocks-android
src/main/jni/openssl/crypto/x509v3/tabtest.c
829
3519
/* tabtest.c */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * ...
gpl-3.0
Distrotech/libunistring
gnulib/lib/close.c
64
1479
/* close replacement. Copyright (C) 2008-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; either version 3 of the License, or (at your option) any la...
gpl-3.0
moypray/ardupilot
libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.cpp
68
3739
/* * Example of APM_Compass library (HMC5843 sensor). * Code by Jordi MuÒoz and Jose Julio. DIYDrones.com */ #include <AP_Common/AP_Common.h> #include <AP_Progmem/AP_Progmem.h> #include <AP_Param/AP_Param.h> #include <StorageManager/StorageManager.h> #include <AP_HAL/AP_HAL.h> #include <AP_HAL_AVR/AP_HA...
gpl-3.0
TonyBazz/betaflight
lib/main/STM32F4/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rng.c
71
16965
/** ****************************************************************************** * @file stm32f4xx_hal_rng.c * @author MCD Application Team * @version V1.7.1 * @date 14-April-2017 * @brief RNG HAL module driver. * This file provides firmware functions to manage the following * ...
gpl-3.0
ZeroInfinityXDA/HelixKernel-EAS-HTC10
arch/x86/kernel/cpu/mtrr/main.c
77
22687
/* Generic MTRR (Memory Type Range Register) driver. Copyright (C) 1997-2000 Richard Gooch Copyright (c) 2002 Patrick Mochel This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Fo...
gpl-3.0
flounderscore/ardupilot
libraries/AP_HAL_AVR/Scheduler_Timer.cpp
79
4933
#include <AP_HAL/AP_HAL.h> #if (CONFIG_HAL_BOARD == HAL_BOARD_APM1 || CONFIG_HAL_BOARD == HAL_BOARD_APM2) #include <avr/io.h> #include <avr/interrupt.h> #include "Scheduler.h" using namespace AP_HAL_AVR; #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) #if (CONF...
gpl-3.0
qinmenghua/shadowsocks-android
src/main/jni/openssl/crypto/pkcs7/pkcs7err.c
592
9769
/* crypto/pkcs7/pkcs7err.c */ /* ==================================================================== * Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ar...
gpl-3.0
dreamsxin/mangler
android/jni/speex/libspeex/preprocess.c
593
41693
/* Copyright (C) 2003 Epic Games (written by Jean-Marc Valin) Copyright (C) 2004-2006 Epic Games File: preprocess.c Preprocessor with denoising based on the algorithm by Ephraim and Malah Redistribution and use in source and binary forms, with or without modification, are permitted provided that th...
gpl-3.0
tazdij/odingine
src/odingine/lua/lfunc.c
338
4270
/* ** $Id: lfunc.c,v 2.30.1.1 2013/04/12 18:48:47 roberto Exp $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ #include <stddef.h> #define lfunc_c #define LUA_CORE #include "lua.h" #include "lfunc.h" #include "lgc.h" #include "lmem.h" #include "lobject.h" #include ...
gpl-3.0
WisniaPL/LeEco-Le1S-Kernel
drivers/ide/ide-cs.c
5202
12339
/*====================================================================== A driver for PCMCIA IDE/ATA disk cards The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of ...
gpl-3.0
cat9/shadowsocks-android
src/main/jni/openssl/crypto/dh/dh_ameth.c
598
11158
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ar...
gpl-3.0
KubaKaszycki/kubux
gcc/gcc/testsuite/gfortran.dg/matmul_9.f90
90
1527
! { dg-do run } ! { dg-options "-fdump-tree-original" } ! ! PR fortran/56318 ! ! Contributed by Alberto Luaces ! SUBROUTINE mass_matrix DOUBLE PRECISION,PARAMETER::m1=1.d0 DOUBLE PRECISION,DIMENSION(3,2),PARAMETER::A1=reshape([1.d0,0.d0, 0.d0, & 0.d0,1.d0, 0.d0],[3,2]) DOUBLE PRECISION,DIMENSION(2,...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtlocation/src/3rdparty/mapbox-gl-native/src/3rd_party/rapidjson/test/unittest/pointertest.cpp
91
55407
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
gpl-3.0
wciq1208/shadowsocks-android
src/main/jni/pdnsd/src/rr_types.c
353
4336
/* rr_types.c - Tables with information for handling all rr types known to pdnsd, plus some helper functions useful for turning binary RR data into text or vice versa. Copyright (C) 2000, 2001 Thomas Moestl Copyright (C) 2003, 2004, 2007, 2010, 2011 Paul A. Rombouts This file is part of th...
gpl-3.0
xyb/shadowsocks-android
src/main/jni/openssl/crypto/bio/bss_conn.c
869
14935
/* crypto/bio/bss_conn.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and no...
gpl-3.0
phenix3443/shadowsocks-android
src/main/jni/badvpn/ncd/modules/list.c
360
22041
/** * @file list.c * @author Ambroz Bizjak <ambrop7@gmail.com> * * @section LICENSE * * 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 * not...
gpl-3.0
psycho-source/Psycho-Kernel
arch/ia64/kernel/smpboot.c
1896
20804
/* * SMP boot-related support * * Copyright (C) 1998-2003, 2005 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> * Copyright (C) 2001, 2004-2005 Intel Corp * Rohit Seth <rohit.seth@intel.com> * Suresh Siddha <suresh.b.siddha@intel.com> * Gordon Jin <gordon.jin@intel.com> * Ashok Raj <ashok.raj...
gpl-3.0
raptorz/shadowsocks-android
src/main/jni/openssl/crypto/bio/bss_null.c
877
4724
/* crypto/bio/bss_null.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and no...
gpl-3.0
FabianKnapp/nexmon
utilities/gettext/gettext-tools/gnulib-lib/libxml/c14n.c
111
71073
/* * "Canonical XML" implementation * http://www.w3.org/TR/xml-c14n * * "Exclusive XML Canonicalization" implementation * http://www.w3.org/TR/xml-exc-c14n * * See Copyright for the status of this software. * * Author: Aleksey Sanin <aleksey@aleksey.com> */ #define IN_LIBXML #include "libxml.h" #ifdef LIBXML_...
gpl-3.0
danbi/sgminer
ccan/typesafe_cb/test/run.c
112
2419
#include <ccan/typesafe_cb/typesafe_cb.h> #include <string.h> #include <stdint.h> #include <ccan/tap/tap.h> static char dummy = 0; /* The example usage. */ static void _set_some_value(void *val) { ok1(val == &dummy); } #define set_some_value(expr) \ _set_some_value(typesafe_cb_cast(void *, unsigned long, (exp...
gpl-3.0
zcchen/shadowsocks-android
src/main/jni/badvpn/dostest/StreamBuffer.c
368
4968
/** * @file StreamBuffer.c * @author Ambroz Bizjak <ambrop7@gmail.com> * * @section LICENSE * * 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 ...
gpl-3.0
heihei1252/shadowsocks-android
src/main/jni/badvpn/client/client.c
368
93905
/** * @file client.c * @author Ambroz Bizjak <ambrop7@gmail.com> * * @section LICENSE * * 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 * n...
gpl-3.0
pihao/shadowsocks-android
src/main/jni/badvpn/tests/bproto_test.c
368
2003
#include <string.h> #include <stdint.h> #include <stdio.h> #include <misc/debug.h> #include <misc/balloc.h> #include <generated/bproto_bproto_test.h> int main () { uint16_t a = 17501; uint64_t c = 82688926; uint16_t d1 = 1517; uint16_t d2 = 1518; uint8_t e = 72; const char *f = "hello world";...
gpl-3.0
Matt07211/android_kernel_samsung_xcover3lte
drivers/net/ethernet/chelsio/cxgb3/sge.c
391
93615
/* * Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source ...
gpl-3.0
agate/shadowsocks-android
src/main/jni/iptables/extensions/libxt_osf.c
403
3652
/* * Copyright (c) 2003+ Evgeniy Polyakov <zbr@ioremap.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 version 2 of the License, or * (at your option) any later version. ...
gpl-3.0
disdi/MMC-DMA-Linux-performance
linux-3.15-rc8/drivers/acpi/bgrt.c
1946
2810
/* * Copyright 2012 Red Hat, Inc <mjg@redhat.com> * Copyright 2012 Intel Corporation * * 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/kernel.h> #include <li...
gpl-3.0
SamWanng/ShadowVPN-iOS
Pods/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash24.c
412
2197
#include "api.h" #include "crypto_uint64.h" #include "crypto_uint32.h" #include "crypto_uint8.h" typedef crypto_uint64 u64; typedef crypto_uint32 u32; typedef crypto_uint8 u8; #define ROTL(x,b) (u64)( ((x) << (b)) | ( (x) >> (64 - (b))) ) #define U32TO8_LE(p, v) \ (p)[0] = (u8)((v) ); (p)[1] = (u8...
gpl-3.0
SHAU-LOK/shadowsocks-android
src/main/jni/openssl/crypto/asn1/x_long.c
674
5845
/* x_long.c */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ /* ==================================================================== * Copyright (c) 2000 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
gpl-3.0
fatedier/studies
codis-2.0.13/extern/redis-2.8.21/deps/jemalloc/test/unit/rb.c
423
7430
#include "test/jemalloc_test.h" #define rbtn_black_height(a_type, a_field, a_rbt, r_height) do { \ a_type *rbp_bh_t; \ for (rbp_bh_t = (a_rbt)->rbt_root, (r_height) = 0; \ rbp_bh_t != &(a_rbt)->rbt_nil; \ rbp_bh_t = rbtn_left_get(a_type, a_field, rbp_bh_t)) { \ if (rbtn_red_get(a_type...
gpl-3.0
CertifiedBlyndGuy/ewok-onyx
crypto/ahash.c
1215
13006
/* * Asynchronous Cryptographic Hash operations. * * This is the asynchronous version of hash.c with notification of * completion via a callback. * * Copyright (c) 2008 Loc Ho <lho@amcc.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public ...
gpl-3.0
williamkosasih19/SM-T331-KERNEL-TOAD
drivers/net/wireless/orinoco/fw.c
5057
9917
/* Firmware file reading and download helpers * * See copyright notice in main.c */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/firmware.h> #include <linux/device.h> #include <linux/module.h> #include "hermes.h" #include "hermes_dld.h" #include "orinoco.h" #include "fw.h" /* End markers (for...
gpl-3.0
ganluo/shadowsocks-android
src/main/jni/openssl/crypto/engine/eng_table.c
714
10125
/* ==================================================================== * Copyright (c) 2001 The OpenSSL Project. 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 ...
gpl-3.0
bwrenn/dart-mx6-linux-2.6-imx
fs/dlm/lock.c
1229
161379
/****************************************************************************** ******************************************************************************* ** ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved. ** ** This copyrighted material is made available to anyone wishing to use, ** modify, copy...
gpl-3.0
luckypoem/shadowsocks-android
src/main/jni/openssl/crypto/ts/ts_rsp_verify.c
467
21702
/* crypto/ts/ts_resp_verify.c */ /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL * project 2002. */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or...
gpl-3.0
VeilsideGX/Hercules
3rdparty/mt19937ar/mtTest.c
215
2539
/* A C-program for MT19937, with initialization improved 2002/1/26. Coded by Takuji Nishimura and Makoto Matsumoto. Before using, initialize the state by using init_genrand(seed) or init_by_array(init_key, key_length). Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights r...
gpl-3.0
CertifiedBlyndGuy/ewok-onyx
drivers/staging/rts_pstor/rtsx_transport.c
4830
19955
/* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009 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 as published by the * Free Software Foundation; either version 2, or ...
gpl-3.0
papostolescu/DECAF
decaf/path.c
225
4782
/* Code to mangle pathnames into those matching a given prefix. eg. open("/lib/foo.so") => open("/usr/gnemul/i386-linux/lib/foo.so"); The assumption is that this area does not change. */ #include <sys/types.h> #include <sys/param.h> #include <dirent.h> #include <unistd.h> #include <stdlib.h> #include <string.h> ...
gpl-3.0
kmangame0/stk
lib/bullet/src/BulletCollision/Gimpact/gim_memory.cpp
483
2908
/* ----------------------------------------------------------------------------- This source file is part of GIMPACT Library. For the latest info, see http://gimpact.sourceforge.net/ Copyright (c) 2006 Francisco Leon Najera. C.C. 80087371. email: projectileman@yahoo.com This library is free software; you can redist...
gpl-3.0
JiaolongTong/ONOMPS_RTU
OpenSourceLibrary/linux-3.2.0-psp04.06.00.08.sdk/drivers/rtc/rtc-pcf8563.c
248
7433
/* * An I2C driver for the Philips PCF8563 RTC * Copyright 2005-06 Tower Technologies * * Author: Alessandro Zummo <a.zummo@towertech.it> * Maintainers: http://www.nslu2-linux.org/ * * based on the other drivers in this same directory. * * http://www.semiconductors.philips.com/acrobat/datasheets/PCF8563-04.pdf...
gpl-3.0
CrazyLauren/sm_lib
src/tasks.cpp
1
1260
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* * tasks.cpp * * Copyright © 2016 https://github.com/CrazyLauren * * Created on: 12.04.2016 * Author: https://github.com/CrazyLauren * * Distr...
mpl-2.0
Yukarumya/Yukarum-Redfoxes
media/libvpx/libvpx/vpx_dsp/arm/highbd_vpx_convolve_neon.c
6
3355
/* * Copyright (c) 2016 The WebM 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 contributin...
mpl-2.0
Yukarumya/Yukarum-Redfoxes
security/nss/lib/freebl/ecl/ecp_jac.c
9
18801
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "ecp.h" #include "mplogic.h" #include <stdlib.h> #ifdef ECL_DEBUG #include <assert.h> #endif /* Converts...
mpl-2.0
Johennes/firefox-ios
ThirdParty/SQLite.swift/Vendor/sqlcipher/src/crypto.c
16
27627
/* ** SQLCipher ** http://sqlcipher.net ** ** Copyright (c) 2008 - 2013, ZETETIC LLC ** 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 ...
mpl-2.0
prusa3d/Slic3r
src/slic3r/Utils/Serial.cpp
1
15186
#include "Serial.hpp" #include "libslic3r/Exception.hpp" #include <algorithm> #include <string> #include <vector> #include <chrono> #include <thread> #include <fstream> #include <exception> #include <stdexcept> #include <boost/algorithm/string/predicate.hpp> #include <boost/filesystem.hpp> #include <boost/format.hpp...
agpl-3.0
oocran/vbbu
srslte/lib/fec/test/turbodecoder_test.c
2
7184
/** * * \section COPYRIGHT * * Copyright 2013-2015 Software Radio Systems Limited * * \section LICENSE * * This file is part of the srsLTE library. * * srsLTE is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Soft...
agpl-3.0
josephlewis42/UDenverQGC
src/libs/utils/fancylineedit.cpp
28
8123
/** ****************************************************************************** * * @file fancylineedit.cpp * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. * Parts by Nokia Corporation (qt-info@nokia.com) Copyright (C) 2009. * @brief * @see The GNU...
agpl-3.0
pfchrono/rs-ascent
extras/collision/extractor/stormlib/zlib/adler32.c
144
1245
/* adler32.c -- compute the Adler-32 checksum of a data stream * Copyright (C) 1995-2002 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #include "zlib.h" #define BASE 65521L /* largest prime smaller than 65536 */ #define NMAX 5552 /* NMAX is the largest n s...
agpl-3.0
jkriege2/JKQtPlotter
lib/jkqtplotter/jkqtpgraphsbasestylingmixins.cpp
1
21231
/* Copyright (c) 2008-2022 Jan W. Krieger (<jan@jkrieger.de>) This software 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 (a...
lgpl-2.1
gabeharms/firestorm
indra/llui/lldockablefloater.cpp
1
5907
/** * @file lldockablefloater.cpp * @brief Creates a panel of a specific kind for a toast * * $LicenseInfo:firstyear=2000&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the te...
lgpl-2.1
ShiftMediaProject/libbluray
src/libbluray/bdj/bdj.c
1
37265
/* * This file is part of libbluray * Copyright (C) 2010 William Hahne * Copyright (C) 2012-2019 Petri Hintukainen <phintuka@users.sourceforge.net> * * 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 S...
lgpl-2.1
rbouqueau/gpac_brew_travis
src/compositor/compositor_2d.c
1
55642
/* * GPAC - Multimedia Framework C SDK * * Authors: Jean Le Feuvre * Copyright (c) Telecom ParisTech 2000-2012 * All rights reserved * * This file is part of GPAC / Scene Compositor sub-project * * GPAC is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser...
lgpl-2.1
looooo/netgen
libsrc/interface/writeOpenFOAM15x.cpp
1
27648
/*! \file writeOpenFOAM15x.cpp * \brief Export Netgen Mesh in the OpenFOAM 1.5+ File format * \author Philippose Rajan * \date 25 October 2009 * * This function extends the export capabilities of * Netgen to include the OpenFOAM 1.5+ File Format. * * The OpenFOAM 1.5+ mesh format consists of a set of 5 fi...
lgpl-2.1
stden/drmemory
drheapstat/drheapstat.c
1
78045
/* ********************************************************** * Copyright (c) 2010-2012 Google, Inc. All rights reserved. * Copyright (c) 2009-2010 VMware, Inc. All rights reserved. * **********************************************************/ /* Dr. Memory: the memory debugger * * This library is free software...
lgpl-2.1
KDE/kdewebkit
src/kwebpluginfactory.cpp
1
5795
/* * This file is part of the KDE project. * * Copyright (C) 2008 Michael Howell <mhowell123@gmail.com> * Copyright (C) 2008 Urs Wolfer <uwolfer @ kde.org> * Copyright (C) 2009 Dawit Alemayehu <adawit @ kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the...
lgpl-2.1
KDE/peruse
src/common/peruse_helpers.cpp
1
3574
#include "peruse_helpers.h" #include <QQmlEngine> #include <QString> #include <QQmlComponent> #include <QQmlContext> #include <QStandardPaths> #include <QApplication> #include <QOpenGLContext> #include <QOffscreenSurface> #include <QOpenGLFunctions> #include <QDebug> #include <QDir> #include <QtQuick/QQuickView> #incl...
lgpl-2.1
bblacey/FreeCAD-MacOS-CI
src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
2
265972
/*************************************************************************** * Copyright (c) 2009 Juergen Riegel <juergen.riegel@web.de> * * * * This file is part of the FreeCAD CAx development system. * * ...
lgpl-2.1
Lyude/gtk-
gtk/gtkcssmatcher.c
2
19274
/* GTK - The GIMP Toolkit * Copyright (C) 2012 Benjamin Otte <otte@gnome.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; either * version 2 of the License, or (at your option...
lgpl-2.1
kevleyski/DirectFB-1
lib/voodoo/connection_packet.cpp
2
14271
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by Denis Oliver Kropp <dok@directfb.org>, Andreas Shim...
lgpl-2.1
genesi/gstreamer
plugins/elements/gstmultiqueue.c
2
53111
/* GStreamer * Copyright (C) 2006 Edward Hervey <edward@fluendo.com> * Copyright (C) 2007 Jan Schmidt <jan@fluendo.com> * Copyright (C) 2007 Wim Taymans <wim@fluendo.com> * * gstmultiqueue.c: * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General...
lgpl-2.1
marchelbling/osg
src/osg/Texture1D.cpp
3
16293
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this...
lgpl-2.1
neiljay/RIOT
sys/base64/base64.c
4
5497
/* * Copyright (C) 2014 Hochschule für Angewandte Wissenschaften Hamburg (HAW) * Copyright (C) 2014 Martin Landsmann <Martin.Landsmann@HAW-Hamburg.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 de...
lgpl-2.1
davibe/gst-plugins-good
gst/audioparsers/gstac3parse.c
4
21053
/* GStreamer AC3 parser * Copyright (C) 2009 Tim-Philipp Müller <tim centricular net> * Copyright (C) 2009 Mark Nauwelaerts <mnauw users sf net> * Copyright (C) 2009 Nokia Corporation. All rights reserved. * Contact: Stefan Kost <stefan.kost@nokia.com> * * This library is free software; you can redistribute it ...
lgpl-2.1
sumitn/pvfs
test/client/sysint/list-eattr.c
5
6926
/* * (C) 2004 Clemson University and The University of Chicago * * See COPYING in top-level directory. */ #include <unistd.h> #include <stdio.h> #include <errno.h> #include <string.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/time.h> #include <time.h> #include <stdlib.h> #include "pvfs2.h" #include ...
lgpl-2.1
cicku/libproxy
libproxy/modules/pacrunner_natus.cpp
5
3390
/******************************************************************************* * libproxy - A library for proxy configuration * Copyright (C) 2006 Nathaniel McCallum <nathaniel@natemccallum.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Genera...
lgpl-2.1
vrjuggler/vrjuggler
modules/vapor/vpr/Util/BadCastException.cpp
6
1777
/****************** <VPR heading BEGIN do not edit this line> ***************** * * VR Juggler Portable Runtime * * Original Authors: * Allen Bierbaum, Patrick Hartling, Kevin Meinert, Carolina Cruz-Neira * ****************** <VPR heading END do not edit this line> ******************/ /*************** <auto-c...
lgpl-2.1