repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
sathieu/samba | source4/heimdal/lib/hcrypto/rc2.c | 50 | 7641 | /*
* Copyright (c) 2004 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* 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 sourc... | gpl-3.0 |
alejandrorosas/ardupilot | libraries/DataFlash/DataFlash_APM1.cpp | 51 | 10760 | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
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 |
JianfuLi/shadowsocks-libev | libsodium/test/default/onetimeauth.c | 307 | 2137 |
#define TEST_NAME "onetimeauth"
#include "cmptest.h"
unsigned char rs[32]
= { 0xee, 0xa6, 0xa7, 0x25, 0x1c, 0x1e, 0x72, 0x91, 0x6d, 0x11, 0xc2,
0xcb, 0x21, 0x4d, 0x3c, 0x25, 0x25, 0x39, 0x12, 0x1d, 0x8e, 0x23,
0x4e, 0x65, 0x2d, 0x65, 0x1f, 0xa4, 0xc8, 0xcf, 0xf8, 0x80 };
unsigned char c[131]
... | gpl-3.0 |
Zheaoli/shadowsocks_server | libsodium/test/default/randombytes.c | 307 | 2003 |
#define TEST_NAME "randombytes"
#include "cmptest.h"
unsigned char x[65536];
unsigned long long freq[256];
static int compat_tests(void)
{
size_t i;
memset(x, 0, sizeof x);
randombytes(x, sizeof x);
for (i = 0; i < 256; ++i) {
freq[i] = 0;
}
for (i = 0; i < sizeof x; ++i) {
+... | gpl-3.0 |
gatieme/big.LITTLE | 3.10/lib/memory-notifier-error-inject.c | 4916 | 1116 | #include <linux/kernel.h>
#include <linux/module.h>
#include <linux/memory.h>
#include "notifier-error-inject.h"
static int priority;
module_param(priority, int, 0);
MODULE_PARM_DESC(priority, "specify memory notifier priority");
static struct notifier_err_inject memory_notifier_err_inject = {
.actions = {
{ NOTI... | gpl-3.0 |
orlov-vo/mtasa | MTA10/mods/shared_logic/lua/CLuaVector4.cpp | 56 | 1360 | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: mods/shared_logic/logic/lua/CLuaVector4.cpp
* PURPOSE: Lua vector4 class
* DEVELOPERS: Stanislav Bobrov <lil_toady@ho... | gpl-3.0 |
chriskmanx/qmole | QMOLEDEV/boost_1_49_0/libs/geometry/test/core/geometry_id.cpp | 56 | 2082 | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Unit Test
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_... | gpl-3.0 |
iodoom-gitorious/iodoom3-ensiform | neo/game/physics/Clip.cpp | 57 | 45145 | /*
===========================================================================
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 |
iodoom-gitorious/hystericss-iodoom3 | neo/curl/tests/libtest/lib509.c | 57 | 6542 | #include "test.h"
#ifdef USE_SSLEAY
#include <sys/time.h>
#include <sys/types.h>
#include <openssl/opensslv.h>
#include <openssl/x509v3.h>
#include <openssl/x509_vfy.h>
#include <openssl/crypto.h>
#include <openssl/lhash.h>
#include <openssl/objects.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <open... | gpl-3.0 |
error414/cleanflight | lib/main/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c | 59 | 37986 | /**
******************************************************************************
* @file stm32f4xx_hal_pcd.c
* @author MCD Application Team
* @version V1.6.0
* @date 04-November-2016
* @brief PCD HAL module driver.
* This file provides firmware functions to manage the following
* ... | gpl-3.0 |
Strilanc/RedPhone | jni/webrtc/modules/audio_processing/aecm/aecm_core_neon.c | 62 | 15377 | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | gpl-3.0 |
atulgoswami21/pdf-annotation | jni/jpeg/jfdctint.c | 830 | 158678 | /*
* jfdctint.c
*
* Copyright (C) 1991-1996, Thomas G. Lane.
* Modification developed 2003-2009 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains a slow-but-accurate integer implem... | gpl-3.0 |
s20121035/rk3288_android5.1_repo | external/skia/debugger/QT/SkRasterWidget.cpp | 65 | 1651 |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkRasterWidget.h"
SkRasterWidget::SkRasterWidget(SkDebugger *debugger) : QWidget() {
fBitmap.allocN32Pixels(800, 800);
fBitmap.eraseColor(SK_ColorTRANSPARE... | gpl-3.0 |
recycled-air/droidVncServer | jni/vnc/LibVNCServer-0.9.9/libvncserver/tableinittctemplate.c | 66 | 4829 | /*
* tableinittctemplate.c - template for initialising lookup tables for
* truecolour to truecolour translation.
*
* This file shouldn't be compiled. It is included multiple times by
* translate.c, each time with a different definition of the macro OUT.
* For each value of OUT, this file defines two functions fo... | gpl-3.0 |
IBobko/signal | jni/openssl/crypto/x509v3/v3_utl.c | 68 | 21060 | /* v3_utl.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
/* ====================================================================
* Copyright (c) 1999-2003 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* m... | gpl-3.0 |
gmoccapy/stmbl | stm32f103/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_cec.c | 332 | 11656 | /**
******************************************************************************
* @file stm32f10x_cec.c
* @author MCD Application Team
* @version V3.5.0
* @date 11-March-2011
* @brief This file provides all the CEC firmware functions.
****************************************************... | gpl-3.0 |
awid777/android_kernel_htc_k2-CM | drivers/net/team/team_mode_activebackup.c | 4942 | 3174 | /*
* net/drivers/team/team_mode_activebackup.c - Active-backup mode for team
* Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either ve... | gpl-3.0 |
wolfetplayer/RealRTCW | code/jpeg-8c/jdsample.c | 1103 | 11968 | /*
* jdsample.c
*
* Copyright (C) 1991-1996, Thomas G. Lane.
* Modified 2002-2008 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains upsampling routines.
*
* Upsampling input data... | gpl-3.0 |
ConnyCola/cleanflight | src/main/io/rc_curves.c | 80 | 2368 | /*
* This file is part of Cleanflight.
*
* Cleanflight is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Cleanflight is distr... | gpl-3.0 |
fancysherry/shadowsocks-android | src/main/jni/badvpn/ncd/modules/net_ipv4_addr.c | 360 | 5040 | /**
* @file net_ipv4_addr.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 |
kimifetch/shadowsocks-android | src/main/jni/openssl/crypto/pem/pem_sign.c | 875 | 4111 | /* crypto/pem/pem_sign.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 |
Matt07211/android_kernel_samsung_xcover3lte | drivers/staging/vt6655/tcrc.c | 2674 | 6558 | /*
* Copyright (c) 2003 VIA Networking, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | gpl-3.0 |
ellasafy/shadowsocks-android | src/main/jni/openssl/crypto/bn/exp.c | 884 | 1105 | /* unused */
#include <stdio.h>
#include <openssl/tmdiff.h>
#include "bn_lcl.h"
#define SIZE 256
#define NUM (8*8*8)
#define MOD (8*8*8*8*8)
main(argc,argv)
int argc;
char *argv[];
{
BN_CTX ctx;
BIGNUM a,b,c,r,rr,t,l;
int j,i,size=SIZE,num=NUM,mod=MOD;
char *start,*end;
BN_MONT_CTX mont;
double d,md;
BN_MON... | gpl-3.0 |
wongzigii/shadowsocks-android | src/main/jni/openssl/ssl/s3_both.c | 387 | 23924 | /* ssl/s3_both.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-commer... | gpl-3.0 |
eabatalov/au-linux-kernel-autumn-2017 | linux/arch/arm/mach-pxa/colibri-pxa270-income.c | 136 | 6007 | /*
* linux/arch/arm/mach-pxa/income.c
*
* Support for Income s.r.o. SH-Dmaster PXA270 SBC
*
* Copyright (C) 2010
* Marek Vasut <marek.vasut@gmail.com>
* Pavel Revak <palo@bielyvlk.sk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licens... | gpl-3.0 |
Michaelhobo/ee149-final-project | libraries/AP_Limits/AP_Limit_GPSLock.cpp | 139 | 1498 | // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/// @file limits.cpp
/// @brief Imposes limits on location (geofence), altitude and other parameters.
/// Each limit breach will trigger an action or set of actions to recover.
/// Adapted from geofence.
/// @author Andrew Tridgell
/// ... | gpl-3.0 |
hi-github/shadowsocks-android | src/main/jni/iptables/extensions/libipt_NETMAP.c | 400 | 2531 | /* Shared library add-on to iptables to add static NAT support.
Author: Svenning Soerensen <svenning@post5.tele.dk>
*/
#include <stdio.h>
#include <netdb.h>
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
#include <xtables.h>
#include <net/netfilter/nf_nat.h>
#define MODULENAME "NETMAP"
enum {
O_TO = ... | gpl-3.0 |
siuying/shadowsocks-android | src/main/jni/openssl/crypto/pkcs7/pk7_lib.c | 658 | 16066 | /* crypto/pkcs7/pk7_lib.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 n... | gpl-3.0 |
Matt07211/android_kernel_samsung_xcover3lte | drivers/tty/serial/ip22zilog.c | 150 | 31720 | /*
* Driver for Zilog serial chips found on SGI workstations and
* servers. This driver could actually be made more generic.
*
* This is based on the drivers/serial/sunzilog.c code as of 2.6.0-test7 and the
* old drivers/sgi/char/sgiserial.c code which itself is based of the original
* drivers/sbus/char/zs.c cod... | gpl-3.0 |
janimo/Signal-Android | jni/openssl/crypto/rsa/rsa_chk.c | 155 | 5364 | /* crypto/rsa/rsa_chk.c -*- Mode: C; c-file-style: "eay" -*- */
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... | gpl-3.0 |
libcrosswind/libcrosswind | external/sdl2/SDL_mixer-2/external/opus-1.0.3/src/opus_compare.c | 411 | 11230 | /* Copyright (c) 2011-2012 Xiph.Org Foundation, Mozilla Corporation
Written by Jean-Marc Valin and Timothy B. Terriberry */
/*
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 m... | gpl-3.0 |
SHAU-LOK/shadowsocks-libev | libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc_reduce.c | 412 | 8019 | #include "sc.h"
#include "crypto_int64.h"
#include "crypto_uint32.h"
#include "crypto_uint64.h"
static crypto_uint64 load_3(const unsigned char *in)
{
crypto_uint64 result;
result = (crypto_uint64) in[0];
result |= ((crypto_uint64) in[1]) << 8;
result |= ((crypto_uint64) in[2]) << 16;
return result;
}
stati... | gpl-3.0 |
biziwalker/mtasa | vendor/jpeg/jpeg-8d/rdswitch.c | 159 | 11078 | /*
* rdswitch.c
*
* Copyright (C) 1991-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains routines to process some of cjpeg's more complicated
* command-line switches. Swi... | gpl-3.0 |
devcline/mtasa-blue | vendor/jpeg/jpeg-8d/example.c | 161 | 17524 | /*
* example.c
*
* This file illustrates how to use the IJG code as a subroutine library
* to read or write JPEG image files. You should look at this code in
* conjunction with the documentation file libjpeg.txt.
*
* This code will not do anything useful as-is, but it may be helpful as a
* skeleton for... | gpl-3.0 |
CertifiedBlyndGuy/ewok-onyx | arch/tile/kernel/setup.c | 1192 | 44601 | /*
* Copyright 2010 Tilera Corporation. 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.
*
* This program is distributed in the hope that it will ... | gpl-3.0 |
n5047c/android_kernel_chagall | arch/powerpc/math-emu/fnmsubs.c | 13736 | 1192 | #include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
#include <math-emu/soft-fp.h>
#include <math-emu/double.h>
#include <math-emu/single.h>
int
fnmsubs(void *frD, void *frA, void *frB, void *frC)
{
FP_DECL_D(R);
FP_DECL_D(A);
FP_DECL_D(B);
FP_DECL_D(C);
FP_DECL... | gpl-3.0 |
LuigiGiaccari/Surface-Reconstruction-Toolbox | bin/CMakeFiles/3.9.0/CompilerIdC/CMakeCCompilerId.c | 179 | 17086 | #ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date comp... | gpl-3.0 |
CognetTestbed/COGNET_CODE | KERNEL_SOURCE_CODE/linux-source-3.8.11-voyage/lib/zlib_inflate/inflate.c | 12478 | 31348 | /* inflate.c -- zlib decompression
* Copyright (C) 1995-2005 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*
* Based on zlib 1.2.3 but modified for the Linux Kernel by
* Richard Purdie <richard@openedhand.com>
*
* Changes mainly for static instead of dynamic memory allocatio... | gpl-3.0 |
swathykrishnan001/owasp-igoat | lib/openssl-1.0.1e/engines/e_chil.c | 196 | 37932 | /* crypto/engine/e_chil.c -*- mode: C; c-file-style: "eay" -*- */
/* Written by Richard Levitte (richard@levitte.org), Geoff Thorpe
* (geoff@geoffthorpe.net) and Dr Stephen N Henson (steve@openssl.org)
* for the OpenSSL project 2000.
*/
/* ====================================================================
* Copyr... | gpl-3.0 |
Jappsy/jappsy | src/libs/jpeg-9b/jcomapi.c | 2759 | 3110 | /*
* jcomapi.c
*
* Copyright (C) 1994-1997, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains application interface routines that are used for both
* compression and decompression.
*/
... | gpl-3.0 |
Jarbu12/Xperia-M-Kernel | kernel/drivers/s390/net/qeth_l2_main.c | 4809 | 36092 | /*
* drivers/s390/net/qeth_l2_main.c
*
* Copyright IBM Corp. 2007, 2009
* Author(s): Utz Bacher <utz.bacher@de.ibm.com>,
* Frank Pavlic <fpavlic@de.ibm.com>,
* Thomas Spatzier <tspat@de.ibm.com>,
* Frank Blaschka <frank.blaschka@de.ibm.com>
*/
#define KMSG_COMPONENT "qeth"
#define pr_fmt(fmt) KMSG... | gpl-3.0 |
williamkosasih19/SM-T331-KERNEL-TOAD | arch/arm/mach-msm/board-8974-sec-f-gpiomux.c | 203 | 43716 | /* 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 the... | gpl-3.0 |
cosmomill/Signal-Android | jni/openssl/crypto/rand/rand_os2.c | 724 | 5687 | /* crypto/rand/rand_os2.c */
/* ====================================================================
* Copyright (c) 1998-2000 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... | gpl-3.0 |
hanqi7012/shadowsocks-android | src/main/jni/openssl/crypto/comp/c_zlib.c | 725 | 18005 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <openssl/objects.h>
#include <openssl/comp.h>
#include <openssl/err.h>
COMP_METHOD *COMP_zlib(void );
static COMP_METHOD zlib_method_nozlib={
NID_undef,
"(undef)",
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
};
#ifndef ZLIB
#undef ZLIB_SHARED
#else... | gpl-3.0 |
geminy/aidear | oss/linux/linux-4.7/drivers/mfd/as3711.c | 470 | 5903 | /*
* AS3711 PMIC MFC driver
*
* Copyright (C) 2012 Renesas Electronics Corporation
* Author: Guennadi Liakhovetski, <g.liakhovetski@gmx.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the version 2 of the GNU General Public License as
* published by the Free ... | gpl-3.0 |
gustavotorresm/PCS3746 | arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c | 2526 | 2371 | /*
* OMAP2/3 common powerdomain definitions
*
* Copyright (C) 2007-2008 Texas Instruments, Inc.
* Copyright (C) 2007-2011 Nokia Corporation
*
* Paul Walmsley, Jouni Högander
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2... | gpl-3.0 |
WisniaPL/LeEco-Le1S-Kernel | drivers/scsi/libfc/fc_lport.c | 2529 | 57738 | /*
* Copyright(c) 2007 Intel Corporation. All rights reserved.
*
* 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.
*
* This program is distributed in the hope it ... | gpl-3.0 |
tofra/domoticz | lua/src/lvm.c | 240 | 28838 | /*
** $Id: lvm.c,v 2.155 2013/03/16 21:10:18 roberto Exp $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define lvm_c
#define LUA_CORE
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "lgc.h"
#include "lobject... | gpl-3.0 |
theophile/SM-P600_5.1.1_kernel | drivers/net/wireless/iwlwifi/iwl-mac80211.c | 2036 | 41976 | /******************************************************************************
*
* Copyright(c) 2003 - 2012 Intel Corporation. All rights reserved.
*
* Portions of this file are derived from the ipw3945 project, as well
* as portions of the ieee80211 subsystem header files.
*
* This program is free software; yo... | gpl-3.0 |
ekr/nss-old | lib/freebl/mpi/tests/mptest-4a.c | 9 | 2091 | /*
* mptest4a - modular exponentiation speed test
*
* 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 <stdio.h>
#include <stdlib.h>
#include <string.h... | mpl-2.0 |
leosac/leosac | src/tools/JSONUtils.cpp | 1 | 2033 | /*
Copyright (C) 2014-2022 Leosac
This file is part of Leosac.
Leosac 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 Software Foundation, either version 3 of the License, or
(at your option) any later... | agpl-3.0 |
lavabit/magma | src/core/memory/memory.c | 1 | 5257 |
/**
* @file /magma/core/memory/memory.c
*
* @brief The functions used to handle Magma memory buffers.
*/
#include "magma.h"
/**
* @brief A checked cleanup function which can be used free a variable number memory buffers.
* @see mm_free
*
* @param block the block of memory to be freed.
*
* @return This fun... | agpl-3.0 |
Tulba/wowtbc | src/arcemu-world/TaxiHandler.cpp | 1 | 10639 | /*
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008 <http://www.ArcEmu.org/>
*
* This program 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 Softwa... | agpl-3.0 |
GroestlCoin/libgroestlcoin-explorer | test/commands/address-decode.cpp | 2 | 3509 | /**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin-explorer.
*
* libbitcoin-explorer is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the F... | agpl-3.0 |
RonnySoak/libsdb | tests/test_sdb_error.c | 2 | 1342 | /*
* test_search63.
*
* Created on: 18 Jul 2014
* Author: kaos
*/
#include "tests.h"
#include "../src/util.h"
#include "../src/libsdb.h"
START_TEST (test_error)
{
ck_assert_int_eq( 0, sdb_has_errors() );
sdb_add_error( DB_NOT_FOUND );
ck_assert_int_eq( 1, sdb_has_errors() );
... | agpl-3.0 |
openkava/PublicStable | Native/Clients/NPAPI/Windows/PluginRegistration.cpp | 4 | 6530 | /*
* Copyright 2010-2012 Fabric Engine Inc. All rights reserved.
*/
#include <Fabric/Base/Config.h>
#include <Fabric/Base/Util/Assert.h>
#include <Fabric/Base/Exception.h>
#include <windows.h>
#include <Shlwapi.h>
#include <vector>
namespace Fabric
{
namespace NPAPI
{
class RegistryKey
{
public:
... | agpl-3.0 |
sebras/mupdf | scripts/hexdump.c | 4 | 2030 | /* hexdump.c -- an "xxd -i" workalike for dumping binary files as source code */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static int string;
static int
hexdump(FILE *fo, FILE *fi)
{
int c, n;
if (string)
fprintf(fo, "\"");
n = 0;
c = fgetc(fi);
while (c != -1)
{
n += fprintf(fo, string ... | agpl-3.0 |
albag/Ultraxion-WoW | src/scripts/src/InstanceScripts/Instance_ShadowfangKeep.cpp | 15 | 9220 | /*
* ArcScripts for ArcEmu MMORPG Server
* Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/>
* Copyright (C) 2008-2009 Sun++ Team <http://www.sunscripting.com/>
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2007-2008 Moon++ Team <http://www.moonplusplus.info/>
*
* This p... | agpl-3.0 |
dberga/arcbliz | src/scripts/src/InstanceScripts/Instance_WailingCaverns.cpp | 16 | 16849 | /*
* ArcScripts for ArcEmu MMORPG Server
* Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/>
* Copyright (C) 2008-2009 Sun++ Team <http://www.sunscripting.com/>
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2007-2008 Moon++ Team <http://www.moonplusplus.info/>
*
* This p... | agpl-3.0 |
cris-iisc/mpc-primitives | crislib/libscapi/lib/boost_1_64_0/libs/geometry/test/algorithms/relational_operations/relate/relate_linear_areal_sph.cpp | 17 | 27308 | // Boost.Geometry
// Unit Test
// Copyright (c) 2016, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.bo... | agpl-3.0 |
cpanelli/thc-hydra | hydra-postgres.c | 19 | 3580 |
/*
* PostgresSQL Support - by Diaul (at) devilopers.org
*
*
* 110425 no obvious memleaks found
*/
#include "hydra-mod.h"
#ifndef LIBPOSTGRES
void dummy_postgres() {
printf("\n");
}
#else
#include "libpq-fe.h" // Postgres connection functions
#include <stdio.h>
#define DEFAULT_DB "template1"
ext... | agpl-3.0 |
AutoQuad/qgroundcontrol_aq | libs/opmapcontrol/src/core/alllayersoftype.cpp | 48 | 2698 | /**
******************************************************************************
*
* @file alllayersoftype.cpp
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
* @brief
* @see The GNU Public License (GPL) Version 3
* @defgroup OPMapWidget
* @{
*
********************... | agpl-3.0 |
RicoAntonioFelix/hypervisor | bfm/ioctl/arch/windows/ioctl_private.cpp | 1 | 6185 | //
// Bareflank Hypervisor
//
// Copyright (C) 2015 Assured Information Security, Inc.
// Author: Rian Quinn <quinnr@ainfosec.com>
// Author: Brendan Kerrigan <kerriganb@ainfosec.com>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Publi... | lgpl-2.1 |
arcean/qtcontacts-tracker | benchmarks/bm_qtcontacts_trackerplugin_wordcompletion.cpp | 1 | 3000 | /*********************************************************************************
** This file is part of QtContacts tracker storage plugin
**
** Copyright (c) 2010-2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
** GNU Lesser General Public License U... | lgpl-2.1 |
philipl/gvfs | common/gmounttracker.c | 1 | 16123 | /* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* 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... | lgpl-2.1 |
jr-weber/BigBlobby | Windows/apps/BigBlobby/VS2008/src/blobTuio/OutputChannel.cpp | 1 | 3018 | ////////////////////////////////////////////////////////////////////////////////
// OutputChannel
//
// PURPOSE: Abstract superclass for output channels: TuioUdpChannel,
// FlashXmlChannel, and BinaryTcpChannel.
//
// CREATED: 5/14/2014 (based on code from TUIO class of CCV 1.3).
/////////////////////////////... | lgpl-2.1 |
richardmg/qtcreator | src/tools/sdktool/settings.cpp | 1 | 3230 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | lgpl-2.1 |
eerimoq/pumba | src/module_inet/class_http_server_websocket.c | 2 | 8460 | /**
* @section License
*
* The MIT License (MIT)
*
* Copyright (c) 2016-2017, Erik Moqvist
*
* 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... | lgpl-2.1 |
bbannier/ROOT | interpreter/llvm/src/lib/Transforms/InstCombine/InstructionCombining.cpp | 3 | 99116 | //===- InstructionCombining.cpp - Combine multiple instructions -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | lgpl-2.1 |
whuaegeanse/mapnik | test/standalone/datasource_registration_test.cpp | 4 | 1382 | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include <mapnik/datasource_cache.hpp>
#include <mapnik/debug.hpp>
#include <iostream>
#include <vector>
#include <algorithm>
TEST_CASE("datasource_cache") {
SECTION("registration") {
try
{
mapnik::logger logger;
mapnik::logger::severity_type or... | lgpl-2.1 |
mpreisler/openscap | src/OVAL/probes/SEAP/seap-packetq.c | 4 | 2775 | #include <config.h>
#include <stdbool.h>
#include <pthread.h>
#include <errno.h>
#include "_seap-packet.h"
#include "_seap-packetq.h"
int SEAP_packetq_init(SEAP_packetq_t *queue)
{
if (queue == NULL) {
errno = EFAULT;
return (-1);
}
queue->flags = SEAP_PACKETQ_DONTFREE;
queue->count = 0;
queue->first = NULL;... | lgpl-2.1 |
mtezzele/dealii | bundled/muparser_v2_2_3/src/muParserBytecode.cpp | 4 | 21425 | /*
__________
_____ __ __\______ \_____ _______ ______ ____ _______
/ \ | | \| ___/\__ \ \_ __ \/ ___/_/ __ \\_ __ \
| Y Y \| | /| | / __ \_| | \/\___ \ \ ___/ | | \/
|__|_| /|____/ |____| (____ /|__| /____ ... | lgpl-2.1 |
max-ilse/csound | Opcodes/partials.c | 4 | 16627 | /* partials.c
(c) Victor Lazzarini, 2005
This file is part of Csound.
The Csound Library is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later ... | lgpl-2.1 |
knuesel/gst-plugins-good | tests/check/elements/udpsrc.c | 4 | 3600 | /* GStreamer UDP source unit tests
* Copyright (C) 2011 Tim-Philipp Müller <tim centricular net>
*
* 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 Foundation; either
* version 2 of the License... | lgpl-2.1 |
tiagofalcao/ArchC | src/aclib/ac_stats/ac_stats_base.cpp | 6 | 2506 | /**
* @file ac_stats_base.cpp
* @author Thiago Massariolli Sigrist
*
* @author The ArchC Team
* http://www.archc.org/
*
* Computer Systems Laboratory (LSC)
* IC-UNICAMP
* http://www.lsc.ic.unicamp.br/
*
* @version 2.0beta2
* @date Wed, 03 Ma... | lgpl-2.1 |
toonst/RIOT | cpu/esp32/exceptions.c | 6 | 7377 | /*
* Copyright (C) 2018 Gunar Schorcht
*
* 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 cpu_esp32
* @{
*
* @file
* @brief ESP32 exception handling
*
* @autho... | lgpl-2.1 |
ace0/relic | src/low/easy/relic_fb_sqr_low.c | 6 | 5023 | /*
* RELIC is an Efficient LIbrary for Cryptography
* Copyright (C) 2007-2015 RELIC Authors
*
* This file is part of RELIC. RELIC is legal property of its developers,
* whose names are not listed here. Please refer to the COPYRIGHT file
* for contact information.
*
* RELIC is free software; you can redistribute... | lgpl-2.1 |
kraj/uclibc-ng | libpthread/nptl/sysdeps/unix/sysv/linux/or1k/pthread_once.c | 6 | 2598 | /* Copyright (C) 2003-2013 Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
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 the Free Software Foundation; either
vers... | lgpl-2.1 |
danimo/qt-creator | src/plugins/qmakeprojectmanager/profilehighlighter.cpp | 6 | 3845 | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance wit... | lgpl-2.1 |
scrawl/osg | src/osgPlugins/ogr/ReaderWriterOGR.cpp | 6 | 19208 | /* -*- mode: c++; c-default-style: k&r; tab-width: 4; c-basic-offset: 4; -*-
* Copyright (C) 2007 Cedric Pinson - mornifle@plopbyte.net
*
* 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... | lgpl-2.1 |
iConsole/Console-OS_external_bluetooth_glib | gio/gbufferedinputstream.c | 9 | 42903 | /* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 Red Hat, Inc.
* Copyright (C) 2007 Jürg Billeter
*
* 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; eit... | lgpl-2.1 |
pocketbook-free/browser | webkit-1.2.5/WebCore/platform/text/TextCodecUTF16.cpp | 11 | 4402 | /*
* Copyright (C) 2004, 2006, 2008 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of ... | lgpl-2.1 |
johne53/MB3Gtk-2 | tests/pixbuf-lowmem.c | 13 | 5903 | /* -*- Mode: C; c-basic-offset: 2; -*- */
/* GdkPixbuf library - test loaders
*
* Copyright (C) 2001 Søren Sandmann (sandmann@daimi.au.dk)
*
* 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;... | lgpl-2.1 |
CristinaCristescu/root | interpreter/llvm/src/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 19 | 11473 | //===-- AMDGPUTargetTransformInfo.cpp - AMDGPU specific TTI pass ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------... | lgpl-2.1 |
sbinet/cxx-root | interpreter/llvm/src/lib/CodeGen/TailDuplication.cpp | 21 | 35652 | //===-- TailDuplication.cpp - Duplicate blocks into predecessors' tails ---===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | lgpl-2.1 |
gale320/glib | gio/kqueue/kqueue-exclusions.c | 23 | 2271 | /*******************************************************************************
Copyright (c) 2012 Dmitry Matveev <me@dmitrymatveev.co.uk>
Copyright (c) 2012 Antoine Jacoutot <ajacoutot@openbsd.org>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated do... | lgpl-2.1 |
marchelbling/osg | examples/osgviewerMFC/MainFrm.cpp | 29 | 2272 | // MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "MFC_OSG_MDI.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNAMIC(CMainFrame, CMDIFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CMDIFrameWnd)
ON_WM_CREATE()
END_MESSAGE_MAP()
stati... | lgpl-2.1 |
dknez/libmesh | contrib/exodusii/5.22b/exodus/cbind/src/ex_put_n_node_set.c | 30 | 6469 | /*
* Copyright (c) 1998 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement
* retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | lgpl-2.1 |
pstglia/external-bluetooth-bluez | profiles/network/bnep.c | 32 | 15394 | /*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2004-2010 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 as published by
* the Free Software Foundation; either vers... | lgpl-2.1 |
aflopes/arecont-compatible-ffmpeg | libavfilter/af_asetrate.c | 33 | 3831 | /*
* Copyright (c) 2013 Nicolas George
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any la... | lgpl-2.1 |
fengshao0907/google-mysql | storage/myisam/mi_static.c | 40 | 4336 | /* Copyright (c) 2000, 2011, 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... | lgpl-2.1 |
LudwigKnuepfer/RIOT | cpu/cc430/cc430-adc.c | 46 | 5989 | /* *************************************************************************************************
*
* Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | lgpl-2.1 |
latsku/RIOT | cpu/k64f/cpu.c | 51 | 1834 | /*
* Copyright (C) 2014 Freie Universität Berlin
* Copyright (C) 2015 PHYTEC Messtechnik GmbH
*
* 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 cpu_k64f
* @{
*
* @fil... | lgpl-2.1 |
A-Paul/RIOT | tests/unittests/tests-vfs/tests-vfs.c | 62 | 1082 | /*
* Copyright (C) 2016 Eistec AB
*
* 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.
*/
/**
* @{
*
* @file
* @brief Unittest entry point for the VFS test group
*
* @author Joaki... | lgpl-2.1 |
erhuabushuo/libusb | examples/sam3u_benchmark.c | 63 | 5160 | /*
* libusb example program to measure Atmel SAM3U isochronous performance
* Copyright (C) 2012 Harald Welte <laforge@gnumonks.org>
*
* Copied with the author's permission under LGPL-2.1 from
* http://git.gnumonks.org/cgi-bin/gitweb.cgi?p=sam3u-tests.git;a=blob;f=usb-benchmark-project/host/benchmark.c;h=74959f7ee8... | lgpl-2.1 |
zhuoshuguo/RIOT | tests/shell/main.c | 68 | 1733 | /*
* Copyright (C) 2013 Kaspar Schleiser <kaspar@schleiser.de>
* Copyright (C) 2013 Freie Universität Berlin
*
* 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.
*/
/**
* @file
* @brief s... | lgpl-2.1 |
MindChild/SDL-1.2.5 | src/video/SDL_gamma.c | 87 | 6000 | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your op... | lgpl-2.1 |
stevemarple/Arduino | libraries/Ethernet/EthernetUdp.cpp | 108 | 5255 | /*
* Udp.cpp: Library to send/receive UDP packets with the Arduino ethernet shield.
* This version only offers minimal wrapping of socket.c/socket.h
* Drop Udp.h/.cpp into the Ethernet library directory at hardware/libraries/Ethernet/
*
* MIT License:
* Copyright (c) 2008 Bjoern Hartmann
* Permission is here... | lgpl-2.1 |
mhaberler/machinekit | src/machinetalk/nanopb/examples/network_server/client.c | 128 | 4031 | /* This is a simple TCP client that connects to port 1234 and prints a list
* of files in a given directory.
*
* It directly deserializes and serializes messages from network, minimizing
* memory use.
*
* For flexibility, this example is implemented using posix api.
* In a real embedded system you would typical... | lgpl-2.1 |
jmgonzalez00449/Arduino | hardware/arduino/sam/system/CMSIS/CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_power_f32.c | 225 | 3555 | /* ----------------------------------------------------------------------
* Copyright (C) 2010 ARM Limited. All rights reserved.
*
* $Date: 15. July 2011
* $Revision: V1.0.10
*
* Project: CMSIS DSP Library
* Title: arm_power_f32.c
*
* Description: Sum of the squares of the element... | lgpl-2.1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.