repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
sdphome/UHF_Reader | u-boot-2015.04/arch/avr32/cpu/portmux-gpio.c | 52 | 2316 | /*
* Copyright (C) 2008 Atmel Corporation
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/gpio.h>
void portmux_select_peripheral(void *port, unsigned long pin_mask,
enum portmux_function func, unsigned long flags)
{
/* Both pull... | gpl-3.0 |
shlevy/grub | grub-core/gnulib/argp-parse.c | 52 | 31705 | /* Hierarchical argument parsing, layered over getopt
Copyright (C) 1995-2000, 2002-2004, 2009-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Miles Bader <miles@gnu.ai.mit.edu>.
This program is free software: you can redistribute it and/or modify
it under the term... | gpl-3.0 |
wafgo/linux-kernel-custom-hw-uio | drivers/platform/x86/toshiba-wmi.c | 312 | 3388 | /*
* toshiba_wmi.c - Toshiba WMI Hotkey Driver
*
* Copyright (C) 2015 Azael Avalos <coproscefalo@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licen... | gpl-3.0 |
Anubisss/tao_time_example | libs/ACE_wrappers/ace/Intrusive_List.cpp | 571 | 2184 | // $Id: Intrusive_List.cpp 92069 2010-09-28 11:38:59Z johnnyw $
#ifndef ACE_INTRUSIVE_LIST_CPP
#define ACE_INTRUSIVE_LIST_CPP
#include "ace/Intrusive_List.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if !defined (__ACE_INLINE__)
#include "ace/Intrusive_List.inl"
#endif /... | gpl-3.0 |
autc04/Retro68 | gcc/gcc/testsuite/gcc.dg/enum-incomplete-2.c | 69 | 1353 | /* PR c/52085 */
/* { dg-do compile } */
/* { dg-options "" } */
#define SA(X) _Static_assert((X),#X)
enum e1;
enum e1 { A } __attribute__ ((__packed__));
enum e2 { B } __attribute__ ((__packed__));
SA (sizeof (enum e1) == sizeof (enum e2));
SA (_Alignof (enum e1) == _Alignof (enum e2));
enum e3;
enum e3 { C = 256 }... | gpl-3.0 |
jabez1314/shadowsocks-libev | libsodium/test/default/scalarmult.c | 342 | 1088 |
#define TEST_NAME "scalarmult"
#include "cmptest.h"
unsigned char alicesk[32]
= { 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d, 0x3c, 0x16, 0xc1,
0x72, 0x51, 0xb2, 0x66, 0x45, 0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0,
0x99, 0x2a, 0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a };
unsigned char alicepk... | gpl-3.0 |
CertifiedBlyndGuy/ewok-onyx | drivers/media/rc/rc-loopback.c | 5462 | 6448 | /*
* Loopback driver for rc-core,
*
* Copyright (c) 2010 David Härdeman <david@hardeman.nu>
*
* This driver receives TX data and passes it back as RX data,
* which is useful for (scripted) debugging of rc-core without
* having to use actual hardware.
*
* This program is free software; you can redistribute it a... | gpl-3.0 |
adomasalcore3/android_kernel_Vodafone_VDF600 | fs/btrfs/extent_map.c | 1634 | 10917 | #include <linux/err.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/hardirq.h>
#include "ctree.h"
#include "extent_map.h"
static struct kmem_cache *extent_map_cache;
int __init extent_map_init(void)
{
extent_map_cache = kmem_cache_create("btrfs_extent_map",
sizeof(struct extent_map), 0,
... | gpl-3.0 |
jeichenhofer/chuck-light | SoC/software/spl_bsp/uboot-socfpga/board/freescale/common/pixis.c | 102 | 12089 | /*
* Copyright 2006,2010 Freescale Semiconductor
* Jeff Brown
* Srikanth Srinivasan (srikanth.srinivasan@freescale.com)
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Pub... | gpl-3.0 |
d1b/TextSecure | jni/openssl/crypto/x509/x509_d2.c | 876 | 4337 | /* crypto/x509/x509_d2.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 |
chkamil/ardupilot | ArduCopter/control_flip.cpp | 114 | 8881 | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Copter.h"
/*
* control_flip.pde - init and run calls for flip flight mode
* original implementation in 2010 by Jose Julio
* Adapted and updated for AC2 in 2011 by Jason Short
*
* Controls:
* CH7_OPT -... | gpl-3.0 |
justhyx/DOOM-3 | neo/game/physics/Physics_Parametric.cpp | 116 | 35860 | /*
===========================================================================
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 |
n5047c/android_kernel_chagall | drivers/power/bq27x00_battery.c | 150 | 26897 | /*
* BQ27x00 battery driver
*
* Copyright (C) 2008 Rodolfo Giometti <giometti@linux.it>
* Copyright (C) 2008 Eurotech S.p.A. <info@eurotech.it>
* Copyright (C) 2010-2011 Lars-Peter Clausen <lars@metafoo.de>
* Copyright (C) 2011 Pali Rohár <pali.rohar@gmail.com>
* Copyright (C) 2011 NVIDIA Corporation.
*
* Base... | gpl-3.0 |
guysoft/Marlin | ArduinoAddons/Arduino_1.5.x/hardware/marlin/avr/libraries/U8glib/utility/u8g_com_arduino_parallel.c | 411 | 5309 | /*
u8g_arduino_parallel.c
Universal 8bit Graphics Library
Copyright (c) 2011, olikraus@gmail.com
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 mu... | gpl-3.0 |
cosmomill/Signal-Android | jni/openssl/crypto/asn1/a_time.c | 673 | 5904 | /* crypto/asn1/a_time.c */
/* ====================================================================
* 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 the following conditions
* are met:
... | gpl-3.0 |
IXgnas/dixcovery_kernel | arch/sh/mm/uncached.c | 12194 | 1176 | #include <linux/init.h>
#include <linux/module.h>
#include <asm/sizes.h>
#include <asm/page.h>
#include <asm/addrspace.h>
/*
* This is the offset of the uncached section from its cached alias.
*
* Legacy platforms handle trivial transitions between cached and
* uncached segments by making use of the 1:1 mapping re... | gpl-3.0 |
danialbehzadi/Nokia-RM-1013-2.0.0.11 | kernel/arch/arm/mach-imx/mx51_efika.c | 5036 | 15697 | /*
* based on code from the following
* Copyright 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2009-2010 Pegatron Corporation. All Rights Reserved.
* Copyright 2009-2010 Genesi USA, Inc. All Rights Reserved.
*
* The code contained herein is licensed under the GNU General Public
* Lice... | gpl-3.0 |
WisniaPL/LeEco-Le1S-Kernel | fs/afs/vnode.c | 13744 | 24687 | /* AFS vnode management
*
* Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@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; ... | gpl-3.0 |
k0nane/R915_kernel_GB | Kernel/arch/arm/plat-samsung/dev-i2c1.c | 199 | 2323 | /* linux/arch/arm/plat-s3c/dev-i2c1.c
*
* Copyright 2008-2009 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
* http://armlinux.simtec.co.uk/
*
* S3C series device definition for i2c device 1
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | gpl-3.0 |
CertifiedBlyndGuy/ewok-onyx | drivers/md/dm-thin-metadata.c | 4808 | 32017 | /*
* Copyright (C) 2011 Red Hat, Inc.
*
* This file is released under the GPL.
*/
#include "dm-thin-metadata.h"
#include "persistent-data/dm-btree.h"
#include "persistent-data/dm-space-map.h"
#include "persistent-data/dm-space-map-disk.h"
#include "persistent-data/dm-transaction-manager.h"
#include <linux/list.h>... | gpl-3.0 |
slfl/HUAWEI89_WE_KK_700 | kernel/drivers/rtc/rtc-m41t93.c | 4809 | 5700 | /*
*
* Driver for ST M41T93 SPI RTC
*
* (c) 2010 Nikolaus Voss, Weinmann Medical GmbH
*
* 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/bcd.h>
#include <li... | gpl-3.0 |
MinFu/shadowsocks-android | src/main/jni/iptables/utils/nfnl_osf.c | 463 | 10177 | /*
* Copyright (c) 2005 Evgeniy Polyakov <johnpol@2ka.mxt.ru>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | gpl-3.0 |
autc04/Retro68 | gcc/gcc/testsuite/gcc.dg/format/multattr-3.c | 211 | 1605 | /* Test for multiple format_arg attributes. Test for both branches
getting checked. */
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -Wformat" } */
#include "format.h"
extern char *ngettext (const char *, const char *, unsigned long int)
__attribute__((__fo... | gpl-3.0 |
k0nane/R915_kernel_GB | Kernel/arch/arm/mach-pxa/raumfeld.c | 727 | 25076 | /*
* arch/arm/mach-pxa/raumfeld.c
*
* Support for the following Raumfeld devices:
*
* * Controller
* * Connector
* * Speaker S/M
*
* See http://www.raumfeld.com for details.
*
* Copyright (c) 2009 Daniel Mack <daniel@caiaq.de>
*
* This program is free software; you can redistribute it and/or modify
*... | gpl-3.0 |
stranostrano/android_kernel_oppo_msm8974 | arch/arm/mach-at91/board-pcontrol-g20.c | 4823 | 5679 | /*
* Copyright (C) 2010 Christian Glindkamp <christian.glindkamp@taskit.de>
* taskit GmbH
*
* 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 Lic... | gpl-3.0 |
JiaolongTong/ONOMPS_RTU | OpenSourceLibrary/linux-3.2.0-psp04.06.00.08.sdk/drivers/usb/core/message.c | 217 | 60155 | /*
* message.c - synchronous message handling
*/
#include <linux/pci.h> /* for scatterlist macros */
#include <linux/usb.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/ctype.h>
#include <linux/nls.h>
#include <linux/device.h... | gpl-3.0 |
invisiblek/kernel_lge_v700 | arch/powerpc/platforms/powernv/opal-rtc.c | 7132 | 2401 | /*
* PowerNV Real Time Clock.
*
* Copyright 2011 IBM Corp.
*
* 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 |
slfl/HUAWEI89_WE_KK_610 | kernel/drivers/usb/misc/sisusbvga/sisusb_init.c | 11746 | 25368 | /*
* sisusb - usb kernel driver for SiS315(E) based USB2VGA dongles
*
* Display mode initializing code
*
* Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria
*
* If distributed as part of the Linux kernel, this code is licensed under the
* terms of the GPL v2.
*
* Otherwise, the following license... | gpl-3.0 |
orsonwang/shadowsocks-android | src/main/jni/openssl/crypto/aes/aes_cbc.c | 740 | 2885 | /* crypto/aes/aes_cbc.c -*- mode:C; c-file-style: "eay" -*- */
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | gpl-3.0 |
chuncky/nuc900kernel | linux-2.6.35.4/drivers/net/wireless/rt2x00/rt2x00pci.c | 757 | 9108 | /*
Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
<http://rt2x00.serialmonkey.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your opti... | gpl-3.0 |
geminy/aidear | oss/linux/linux-4.7/drivers/misc/mic/bus/vop_bus.c | 252 | 4989 | /*
* Intel MIC Platform Software Stack (MPSS)
*
* Copyright(c) 2016 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.
*
* This program is distributed in t... | gpl-3.0 |
k0nane/R915_kernel_GB | Kernel/fs/smbfs/getopt.c | 2047 | 1655 | /*
* getopt.c
*/
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/net.h>
#include "getopt.h"
/**
* smb_getopt - option parser
* @caller: name of the caller, for error messages
* @options: the options string
* @opts: an array of &struct option entries controlling parser operations
* @optopt:... | gpl-3.0 |
tmhorne/celtx | toolkit/components/remote/nsPhRemoteService.cpp | 1 | 5341 | /*
* 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
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* I... | mpl-2.0 |
bryantabaird/cs6660 | Include/eigen/bench/spbench/spbenchsolver.cpp | 259 | 3302 | #include <bench/spbench/spbenchsolver.h>
void bench_printhelp()
{
cout<< " \nbenchsolver : performs a benchmark of all the solvers available in Eigen \n\n";
cout<< " MATRIX FOLDER : \n";
cout<< " The matrices for the benchmark should be collected in a folder specified with an environment variable EIGEN_MAT... | mpl-2.0 |
evarty/Microcontroller | ARM/SAMD20XPlainedPRO/ASFFiles/drivers/trng/unit_test/unit_test.c | 1 | 8389 | /**
* \file
*
* \brief SAM True Random Number Generator (TRNG) Unit test
*
* Copyright (C) 2014-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 followi... | agpl-3.0 |
EASEA/EASEAudioMonitor | AudioMonitor/server/src/FluidCompositor.cpp | 1 | 3077 | #include "FluidCompositor.hpp"
void FluidCompositor::send(){
Compositor::send();
}
FluidCompositor::~FluidCompositor(){}
void FluidCompositor::send(osc::OutboundPacketStream oscMsg){
Compositor::send(oscMsg);
}
osc::OutboundPacketStream FluidCompositor::compose(EASEAClientData* cl){
char buffer[OUTPUT_BUF... | agpl-3.0 |
pohly/funambol-cpp-client-api | test/client-test-main.cpp | 1 | 7826 | /*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the additio... | agpl-3.0 |
kaltura/nginx-secure-token-module | iijpta/ngx_http_secure_token_iijpta.c | 1 | 6080 | #include <ngx_config.h>
#include "ngx_http_secure_token_iijpta.h"
#include "../ngx_http_secure_token_filter_module.h"
#include "../ngx_http_secure_token_utils.h"
#include <openssl/evp.h>
// macros
#define set_be32(p, dw) \
{ \
((u_char*)p)[0] = ((dw) >> 24) & 0xFF; \
((u_char*)p)[1] = ((dw) >> 16) &... | agpl-3.0 |
djludo/navitia | source/type/message.cpp | 8 | 3947 | /* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved.
This file is part of Navitia,
the software to build cool stuff with public transport.
Hope you'll enjoy and contribute to this project,
powered by Canal TP (www.canaltp.fr).
Help us simplify mobility and open public transport:
... | agpl-3.0 |
xyg165/testgit.github.io | u-boot-1.1.6/board/MAI/bios_emulator/scitech/src/x86emu/ops.c | 46 | 306177 | /****************************************************************************
*
* Realmode X86 Emulator Library
*
* Copyright (C) 1996-1999 SciTech Software, Inc.
* Copyright (C) David Mosberger-Tang
* Copyright (C) 1999 Egbert Eich
*
* ================================================... | agpl-3.0 |
cris-iisc/mpc-primitives | crislib/libscapi/lib/boost_1_64_0/libs/math/example/policy_ref_snip6.cpp | 63 | 1200 | // Copyright John Maddock 2007.
// Copyright Paul A. Bristow 2010.
// Use, modification and distribution are 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_0.txt)
// Note that this file contains quickbook mark-up as well a... | agpl-3.0 |
f4grx/c2fxp | c2dec.c | 1 | 1065 | /*
* c2fxp - codec2 fixed point encoder/decoder.
* Copyright (C) 2017 Sebastien F4GRX <f4grx@f4grx.net>
* Based on original code by David Rowe <david@rowetel.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 ... | lgpl-2.1 |
qtproject/qt-mobility | plugins/contacts/symbian/contactsmodel/tsrc/t_lowdiskspace.cpp | 2 | 8968 | /*
* Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
* Contact: http://www.qt-project.org/legal
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/leg... | lgpl-2.1 |
tectronics/relic-toolkit | test/test_rand.c | 2 | 16208 | /*
* RELIC is an Efficient LIbrary for Cryptography
* Copyright (C) 2007-2014 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 |
vladimir-kazakov/gpac | src/compositor/texturing.c | 3 | 9401 | /*
* 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 |
Distrotech/cogl | cogl/cogl-boxed-value.c | 3 | 9696 | /*
* Cogl
*
* An object oriented GL/GLES Abstraction/Utility Layer
*
* Copyright (C) 2011 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... | lgpl-2.1 |
calincru/marble | src/lib/marble/MarbleWidgetInputHandler.cpp | 4 | 4454 | //
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2006-2007 Torsten Rahn <tackat@kde.org>
// Copyright 2007 Inge Wallin <ingwa@kde.o... | lgpl-2.1 |
take-cheeze/pthreads-emb | tests/mutex7e.c | 4 | 3410 | /*
* mutex7e.c
*
*
* --------------------------------------------------------------------------
*
* Pthreads-embedded (PTE) - POSIX Threads Library for embedded systems
* Copyright(C) 2008 Jason Schmidlapp
*
* Contact Email: jschmidlapp@users.sourceforge.net
*
*
* Based upon Pthreads-win... | lgpl-2.1 |
mangokingTW/libchewing | src/chewingutil.c | 4 | 50121 | /**
* chewingutil.c
*
* Copyright (c) 1999, 2000, 2001
* Lu-chuan Kung and Kang-pen Chen.
* All rights reserved.
*
* Copyright (c) 2004-2006, 2008, 2010-2014
* libchewing Core Team. See ChangeLog for details.
*
* See the file "COPYING" for information on usage and redistribution
* of this file... | lgpl-2.1 |
tibogens/OpenThreads | examples/workcrew/ThreadObserver.cpp | 4 | 1413 | //
// OpenThread library, Copyright (C) 2002 - 2003 The Open Thread Group
//
// 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 option) ... | lgpl-2.1 |
sunblithe/qt-everywhere-opensource-src-4.7.1 | src/3rdparty/webkit/WebCore/platform/MIMETypeRegistry.cpp | 5 | 15940 | /*
* Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved.
* Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... | lgpl-2.1 |
vrjuggler/vrjuggler | modules/vrjuggler/test/Draw/OGL/texture/cubeGeometry.cpp | 6 | 2839 | /*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* VR Juggler is (C) Copyright 1998-2011 by Iowa State University
*
* Original Authors:
* Allen Bierbaum, Christopher Just,
* Patrick Hartling, Kevin Meinert,
* Carolina Cruz-Neira, Albert Baker
*
* This library is free soft... | lgpl-2.1 |
DanielNoteboom/MyFecLibrary | decode_rs.c | 7 | 6863 | /* Reed-Solomon decoder
* Copyright 2002 Phil Karn, KA9Q
* May be used under the terms of the GNU Lesser General Public License (LGPL)
*/
#ifdef DEBUG
#include <stdio.h>
#endif
#include <string.h>
#define NULL ((void *)0)
#define min(a,b) ((a) < (b) ? (a) : (b))
#ifdef FIXED
#include "fixed.h"
#elif defined(BIGS... | lgpl-2.1 |
okyfirmansyah/sofia-sip | libsofia-sip-ua/su/su_log.c | 8 | 6699 | /*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software F... | lgpl-2.1 |
bbockelm/root-historical | interpreter/llvm/src/tools/clang/test/CodeGen/inline.c | 8 | 3826 | // RUN: echo "GNU89 tests:"
// RUN: %clang %s -O1 -emit-llvm -S -o %t -std=gnu89
// RUN: grep "define available_externally i32 @ei()" %t
// RUN: grep "define i32 @foo()" %t
// RUN: grep "define i32 @bar()" %t
// RUN: grep "define void @unreferenced1()" %t
// RUN: not grep unreferenced2 %t
// RUN: grep "define void @gnu... | lgpl-2.1 |
rversteegen/commandergenius | project/jni/lzo2/src/lzo1.c | 8 | 19709 | /* lzo1.c -- implementation of the LZO1 algorithm
This file is part of the LZO real-time data compression library.
Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 200... | lgpl-2.1 |
RobertoMalatesta/libwebsockets | lib/client-handshake.c | 11 | 12139 | #include "private-libwebsockets.h"
struct libwebsocket *libwebsocket_client_connect_2(
struct libwebsocket_context *context,
struct libwebsocket *wsi
) {
struct libwebsocket_pollfd pfd;
#ifdef LWS_USE_IPV6
struct sockaddr_in6 server_addr6;
struct sockaddr_in6 client_addr6;
struct addrinfo hints, *result;
#endif
... | lgpl-2.1 |
lodle/SoapServer | third_party/poco-1.4.7p1/Foundation/testsuite/src/BinaryReaderWriterTest.cpp | 13 | 6522 | //
// BinaryReaderWriterTest.cpp
//
// $Id: //poco/1.4/Foundation/testsuite/src/BinaryReaderWriterTest.cpp#2 $
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the s... | lgpl-2.1 |
cahaynes/libmesh | contrib/netcdf/4.3.1/ncgen/genchar.c | 14 | 8601 | /*********************************************************************
* Copyright 2009, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*********************************************************************/
#include "includes.h"
/********************************************... | lgpl-2.1 |
marchelbling/osg | src/osgShadow/ShadowTexture.cpp | 15 | 9555 | /* -*-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 |
krichter722/gstreamer | tests/check/libs/sparsefile.c | 16 | 6335 | /* GStreamer
*
* unit test for cachefile helper
*
* Copyright (C) 2014 Wim Taymans <wtaymans@redhat.com>
*
* 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... | lgpl-2.1 |
ddcc/klee-uclibc-0.9.33.2 | libc/sysdeps/linux/arm/aeabi_lcsts.c | 17 | 3365 | /* Link-time constants for ARM EABI.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundatio... | lgpl-2.1 |
aupeo/log4cpp | src/SyslogAppender.cpp | 18 | 2378 | /*
* SyslogAppender.cpp
*
* Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
* Copyright 2000, Bastiaan Bakker. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#include "PortabilityImpl.hh"
#if LOG4CPP_HAVE_SYSLOG
#include <unistd.h>
#includ... | lgpl-2.1 |
lgiommi/root | interpreter/llvm/src/lib/Object/SymbolicFile.cpp | 21 | 3172 | //===- SymbolicFile.cpp - Interface that only provides symbols --*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | lgpl-2.1 |
ktd2004/live555 | liveMedia/MP3InternalsHuffman.cpp | 22 | 29045 | /**********
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
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | lgpl-2.1 |
bblacey/FreeCAD-MacOS-CI | src/Mod/PartDesign/Gui/ViewProviderThickness.cpp | 26 | 2168 | /***************************************************************************
* Copyright (c) 2015 Stefan Tröger <stefantroeger@gmx.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | lgpl-2.1 |
tomasthoresen/osg | src/osgPlugins/ive/BlinkSequence.cpp | 26 | 2819 | /**********************************************************************
*
* FILE: BlinkSequence.cpp
*
* DESCRIPTION: Read/Write osgSim::BlinkSequence in binary format to disk.
*
* CREATED BY: Auto generated by iveGenerator
* and later modified by Rune Schmidt Jens... | lgpl-2.1 |
nicolacavallini/dealii | bundled/tbb41_20130401oss/src/rml/test/test_thread_monitor.cpp | 38 | 4508 | /*
Copyright 2005-2013 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks.
Threading Building Blocks 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 Foundat... | lgpl-2.1 |
dennis-sheil/commandergenius | project/jni/freetype/src/gxvalid/gxvmort0.c | 306 | 5011 | /***************************************************************************/
/* */
/* gxvmort0.c */
/* */
/* Tr... | lgpl-2.1 |
mitake/tinycc | tests2/22_floating_point.c | 67 | 1146 | #include <stdio.h>
#include <math.h>
int main()
{
// variables
float a = 12.34 + 56.78;
printf("%f\n", a);
// infix operators
printf("%f\n", 12.34 + 56.78);
printf("%f\n", 12.34 - 56.78);
printf("%f\n", 12.34 * 56.78);
printf("%f\n", 12.34 / 56.78);
// comparison operators
printf("%d %d... | lgpl-2.1 |
ruler501/pSDL | src/video/ataricommon/SDL_atarigl.c | 80 | 24890 | /*
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 Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your opt... | lgpl-2.1 |
brammittendorff/PF_RING | linux-3.16.7-ckt9/drivers/acpi/acpica/rsio.c | 600 | 9211 | /*******************************************************************************
*
* Module Name: rsio - IO and DMA resource descriptors
*
******************************************************************************/
/*
* Copyright (C) 2000 - 2014, Intel Corp.
* All rights reserved.
*
* Redistribution and us... | lgpl-2.1 |
rockhowse/jna | native/libffi/testsuite/libffi.call/cls_align_longdouble.c | 366 | 2571 | /* Area: ffi_call, closure_call
Purpose: Check structure alignment of long double.
Limitations: none.
PR: none.
Originator: <hos@tamanegi.org> 20031203 */
/* { dg-do run } */
#include "ffitest.h"
typedef struct cls_struct_align {
unsigned char a;
long double b;
unsigned char c;
} cls_struct_align... | lgpl-2.1 |
xyzz/vcmi-build | project/jni/application/lbreakout2-2.6.2/intl/relocatable.c | 126 | 13040 | /* Provide relocatable packages.
Copyright (C) 2003 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program 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 Foundati... | lgpl-2.1 |
NumPDEClassTTU/femus | external/jsoncpp/jsoncpp-src-0.5.0/src/jsontestrunner/main.cpp | 129 | 6135 | #include <json/json.h>
#include <algorithm> // sort
#include <stdio.h>
#if defined(_MSC_VER) && _MSC_VER >= 1310
# pragma warning( disable: 4996 ) // disable fopen deprecation warning
#endif
static std::string
readInputTestFile( const char *path )
{
FILE *file = fopen( path, "rb" );
if ( !file )
ret... | lgpl-2.1 |
PaulStoffregen/Arduino-1.6.2-Teensyduino | libraries/Robot_Control/src/utility/Adafruit_GFX.cpp | 167 | 17465 | /*
This is the core graphics library for all our displays, providing a common
set of graphics primitives (points, lines, circles, etc.). It needs to be
paired with a hardware-specific library for each display device we carry
(to handle the lower-level functions).
Adafruit invests time and resources providing this ope... | lgpl-2.1 |
stanxii/wr1004sjl | linux-3.4.6/security/tomoyo/securityfs_if.c | 5070 | 7630 | /*
* security/tomoyo/securityfs_if.c
*
* Copyright (C) 2005-2011 NTT DATA CORPORATION
*/
#include <linux/security.h>
#include "common.h"
/**
* tomoyo_check_task_acl - Check permission for task operation.
*
* @r: Pointer to "struct tomoyo_request_info".
* @ptr: Pointer to "struct tomoyo_acl_info".
*
* Ret... | lgpl-2.1 |
kindahl/descripten | runtime/value_data.c | 1 | 2512 | /*
* descripten - ECMAScript to native compiler
* Copyright (C) 2011-2014 Christian Kindahl
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... | lgpl-3.0 |
openlecturnity/os45 | lecturnity/editor/MouseAction.cpp | 1 | 28968 | #include "stdafx.h"
#include "MouseAction.h"
#include "MarkReaderWriter.h"
#include "editorDoc.h"
#include "InteractionStream.h" // E_IAX_INVALID_DATA
#include "QuestionnaireEx.h"
#include "QuestionEx.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
IMPLEMENT_DYNCREATE(... | lgpl-3.0 |
marcomaggi/ccexceptions | tests/test-condition-subtyping-errno.c | 1 | 1832 | /*
Part of: CCExceptions
Contents: test for subtyping of errno conditions
Date: Apr 18, 2020
Abstract
Test file for subtyping of errno conditions.
Copyright (C) 2020 Marco Maggi <mrc.mgg@gmail.com>
See the COPYING file.
*/
/** --------------------------------------------------------------------
** ... | lgpl-3.0 |
gsvitec/lightning-objects | lmdb/liblmdb/mdb_stat.c | 1 | 6519 | /* mdb_stat.c - memory-mapped database status tool */
/*
* Copyright 2011-2016 Howard Chu, Symas Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is av... | lgpl-3.0 |
devicescape/aws_dynamo | src/aws_dynamo_delete_table.c | 1 | 16478 | /*
* Copyright (c) 2014 Devicescape Software, Inc.
* This file is part of aws_dynamo, a C library for AWS DynamoDB.
*
* aws_dynamo 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 ... | lgpl-3.0 |
mexus/vk-messages-loader | manager/src/history-export.cpp | 1 | 1749 | #include <manager/history-export.h>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <fstream>
#include <stdexcept>
namespace manager {
HistoryExport::HistoryExport(const cache::Users& users_cache)
: users_cache_(users_cache),
locale_(std::cout.getloc(),
new boost::posix_time::tim... | lgpl-3.0 |
DynabyteSoftware/DynabyteSoftwareCore | Networking/BoostImplementation/src/IPaddress.cpp | 1 | 1553 | #include "BoostImplementation/IPaddress.h"
using namespace DynabyteSoftware::Networking;
using namespace DynabyteSoftware::Networking::BoostImplementation;
using namespace DynabyteSoftware::Networking::Internal;
using namespace boost::asio::ip;
using namespace std;
#pragma region Template Utility Functions
template<t... | lgpl-3.0 |
rgbdemo/rgbdemo | calibration/calibrate_pmdnano.cpp | 1 | 4788 | /**
* Copyright (C) 2013 ManCTL SARL <contact@manctl.com>
*
* This program 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 License, or
* (at your option) any later version.... | lgpl-3.0 |
Bhattiasif/plumed2 | src/crystallization/DFSClustering.cpp | 2 | 5775 | /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2014,2015 The plumed team
(see the PEOPLE file at the root of the distribution for a list of names)
See http://www.plumed-code.org for more information.
This file is part of plumed, version 2.
plumed is free sof... | lgpl-3.0 |
ruijieguo/firtex2 | test/src/queryparser/QueryExprBisonParserTestCase.cpp | 2 | 5183 | #include "queryparser/QueryExprBisonParserTestCase.h"
#include "firtex/queryparser/QueryExprParser.h"
using namespace std;
FX_NS_DEF(queryparser);
SETUP_STREAM_LOGGER(queryparser, QueryExprBisonParserTestCase);
CPPUNIT_TEST_SUITE_REGISTRATION(QueryExprBisonParserTestCase);
QueryExprBisonParserTestCase::QueryExprBis... | lgpl-3.0 |
mdaus/nitro | modules/c++/nitf/source/IOStreamWriter.cpp | 2 | 2685 | /* =========================================================================
* This file is part of NITRO
* =========================================================================
*
* (C) Copyright 2004 - 2017, MDA Information Systems LLC
*
* NITRO is free software; you can redistribute it and/or modify
* it u... | lgpl-3.0 |
bradh/six-library | externals/coda-oss/modules/c++/sys/unittests/test_aligned_alloc.cpp | 5 | 2231 | /* =========================================================================
* This file is part of sys-c++
* =========================================================================
*
* (C) Copyright 2004 - 2014, MDA Information Systems LLC
*
* sys-c++ is free software; you can redistribute it and/or modify
* ... | lgpl-3.0 |
sonbt56/opencore-aacdec | src/calc_auto_corr.c | 21 | 12776 | /* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* 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.o... | lgpl-3.0 |
stoneshaker/libswiftnav | clapack-3.2.1-CMAKE/BLAS/SRC/csrot.c | 26 | 4358 | /* csrot.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of ... | lgpl-3.0 |
tsaikd/MagicKD | tags/1.0.2.1/CxImage/CxImage/ximaenc.cpp | 27 | 25972 | // xImaCodec.cpp : Encode Decode functions
/* 07/08/2001 v1.00 - Davide Pizzolato - www.xdp.it
* CxImage version 5.99c 17/Oct/2004
*/
#include "ximage.h"
#if CXIMAGE_SUPPORT_JPG
#include "ximajpg.h"
#endif
#if CXIMAGE_SUPPORT_GIF
#include "ximagif.h"
#endif
#if CXIMAGE_SUPPORT_PNG
#include "ximapn... | lgpl-3.0 |
sysalexis/kbengine | kbe/src/lib/python/Modules/_ctypes/libffi/testsuite/libffi.call/cls_ushort.c | 812 | 1096 | /* Area: closure_call
Purpose: Check return value ushort.
Limitations: none.
PR: none.
Originator: <andreast@gcc.gnu.org> 20030828 */
/* { dg-do run } */
#include "ffitest.h"
static void cls_ret_ushort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
void* userdata __UNUSED__)
{
*(ffi_arg... | lgpl-3.0 |
bottompawn/kbengine | kbe/src/lib/dependencies/apr/locks/beos/thread_mutex.c | 75 | 4412 | /* 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 may not... | lgpl-3.0 |
tsaikd/MagicKD | tags/1.0.3.2/CxImage/jpeg/jcmaster.c | 110 | 20479 | /*
* jcmaster.c
*
* Copyright (C) 1991-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 master control logic for the JPEG compressor.
* These routines are concerned with ... | lgpl-3.0 |
MITHyperloopTeam/software_core | software/externals/sam/CMSIS/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_norm_q15.c | 225 | 11003 | /* ----------------------------------------------------------------------
* Copyright (C) 2010 ARM Limited. All rights reserved.
*
* $Date: 15. July 2011
* $Revision: V1.0.10
*
* Project: CMSIS DSP Library
* Title: arm_lms_norm_q15.c
*
* Description: Q15 NLMS filter.
*
* ... | lgpl-3.0 |
cvmanjoo/RTC | src/PCF8523.cpp | 1 | 13944 | /*
* PCF8523.cpp - Library to set & get time from RTC PCF8523
* Created by Manjunath CV. August 15, 2022, 08:07 PM
* Released into the public domain.
*/
#include <time.h>
#include <Arduino.h>
#include <Wire.h>
#include <I2C_RTC.h>
#define R_CONTROL_1 0x00
#define R_CONTROL_2 0x01
#define R_CONTROL_3 0x02
#define R_SE... | unlicense |
jasonhutchens/kranzky_ice | girder.cpp | 1 | 3619 | //==============================================================================
#include <girder.hpp>
#include <engine.hpp>
#include <entity_manager.hpp>
#include <hgesprite.h>
#include <Box2D.h>
#include <sqlite3.h>
#include <Database.h>
#include <Query.h>
//============================================... | unlicense |
ytailor/42sh | libft/ft_memset.c | 4 | 1053 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memset.c :+: :+: :+: ... | unlicense |
cd80/UtilizedLLVM | tools/clang/test/SemaCXX/class-layout.cpp | 20 | 9117 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify -std=c++98 -Wno-inaccessible-base
// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify -std=c++11 -Wno-inaccessible-base
// expected-no-diagnostics
#define SA(n, p) int a##n[(p) ? 1 : -1]
struct A {
int a;
char b;
};
... | unlicense |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.