repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
dinhchitrung/Windows-universal-samples | d2dcustomeffects/cpp/computeshader/dfteffect.cpp | 24 | 7439 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h... | mit |
lunastorm/wissbi | 3rd_party/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move_convert07.fail.cpp | 29 | 1168 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | mit |
Sridhar-MS/coreclr | src/pal/tests/palsuite/filemapping_memmgt/CreateFileMappingA/test8/createfilemapping.c | 31 | 2594 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*=============================================================
**
** Source: createfilemapping.c (test 8)
**
** Purpose: Positive test the CreateFileMapping AP... | mit |
miikama/cpp-math | eigen/test/smallvectors.cpp | 291 | 2125 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// 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 ... | mit |
peters/openalpr-windows | tesseract-ocr/dependencies/libtiff/libtiff/src/tif_tile.c | 36 | 7879 | /* $Id: tif_tile.c,v 1.12.2.1 2010-06-08 18:50:43 bfriesen Exp $ */
/*
* Copyright (c) 1991-1997 Sam Leffler
* Copyright (c) 1991-1997 Silicon Graphics, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* ... | mit |
yan97ao/nanomsg | src/transports/ws/sha1.c | 36 | 4563 | /*
Copyright (c) 2014 Wirebird Labs LLC. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to u... | mit |
CodeClubJUSL/codeclubjusl.github.io | vendor/bundle/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c | 805 | 1685 | /* Area: ffi_call, closure_call
Purpose: Check passing of multiple signed short values.
Limitations: none.
PR: PR13221.
Originator: <andreast@gcc.gnu.org> 20031129 */
/* { dg-do run } */
#include "ffitest.h"
signed short test_func_fn(signed short a1, signed short a2)
{
signed short result;
result =... | mit |
Kogser/bitcoin | db-4.8.30.NC/db/db_pr.c | 42 | 39244 | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996-2009 Oracle. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#include "dbinc/db_page.h"
#include "dbinc/btree.h"
#include "dbinc/hash.h"
#include "dbinc/mp.h"
#include "dbinc/partition.h"
#include "dbi... | mit |
Kogser/bitcoin | db-4.8.30.NC/tcl/tcl_db_pkg.c | 42 | 108684 | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1999-2009 Oracle. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#ifdef CONFIG_TEST
#define DB_DBM_HSEARCH 1
#endif
#include "db_int.h"
#ifdef HAVE_SYSTEM_INCLUDE_FILES
#include <tcl.h>
#endif
#include "dbinc/db_page.h"
#inc... | mit |
manopaul/Autonomous-Vehicles | 11 - Path Planning/src/Eigen-3.3/bench/benchFFT.cpp | 301 | 2806 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Mark Borgerding mark a borgerding net
//
// 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 ... | mit |
calvinfarias/IC2015-2 | BOOST/boost_1_61_0/libs/config/test/no_auto_multidecl_fail.cpp | 47 | 1080 | // This file was automatically generated on Thu Mar 12 17:32:04 2009
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// 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/L... | mit |
Shockblast/godot | thirdparty/icu4c/common/dictionarydata.cpp | 49 | 8292 | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2014-2016, International Business Machines
* Corporation and others. All Rights Reserved.
******************... | mit |
alexhenrie/poedit | deps/boost/libs/local_function/test/typeof_template.cpp | 53 | 1154 |
// Copyright (C) 2009-2012 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE_1_0.txt or a copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Home at http://www.boost.org/libs/local_function
#include <boost/config.hpp>
#ifdef BOOST_NO_CXX11_VARIADIC_MACROS... | mit |
huziyizero/godot | drivers/builtin_openssl2/ssl/s23_clnt.c | 54 | 27000 | /* ssl/s23_clnt.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... | mit |
egoitzro/poedit | deps/boost/libs/spirit/test/karma/stream.cpp | 59 | 4525 | // Copyright (c) 2001-2011 Hartmut Kaiser
//
// Distributed under 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)
#include <cwchar>
#include <streambuf>
#include <iostream>
#include <boost/config/warning_disable.hpp>
#include <bo... | mit |
valavanisleonidas/Automatic_Image_Classification | Libs/VLFEAT/src/mser.c | 64 | 17322 | /** @file mser-driver.c
** @author Andrea Vedaldi
** @brief MSER command line driver - Definition
** @internal
**/
/*
Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
All rights reserved.
This file is part of the VLFeat library and is made available under
the terms of the BSD license (see the CO... | mit |
BenKeyFSI/poedit | deps/boost/libs/iostreams/test/stream_offset_32bit_test.cpp | 64 | 1640 | /*
* Distributed under 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.)
*
* See http://www.boost.org/libs/iostreams for documentation.
* File: libs/iostreams/test/stream_offset_32bit_test.cpp
* Date: Sun Dec 23 21:1... | mit |
rollenrolm/godot | drivers/freetype/src/base/ftapi.c | 66 | 4042 | /***************************************************************************/
/* */
/* ftapi.c */
/* */
/* Th... | mit |
stephaneAG/PengPod700 | QtEsrc/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore/dom/ScriptRunner.cpp | 67 | 3947 | /*
* Copyright (C) 2010 Google, 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 conditions... | mit |
mosafwat/InterviewTool | node_modules/node-sass/src/libsass/src/values.cpp | 324 | 4873 | #include "sass.hpp"
#include "sass.h"
#include "values.hpp"
#include <stdint.h>
namespace Sass {
// convert value from C++ side to C-API
union Sass_Value* ast_node_to_sass_value (const Expression_Ptr val)
{
if (val->concrete_type() == Expression::NUMBER)
{
Number_Ptr_Const res = Cast<Number>(val)... | mit |
fractalcoin/fractalcoin | src/test/multisig_tests.cpp | 71 | 9964 |
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "script.h"
#include "uint256.h"
#include <boost/assign/std/vector.hpp>
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
using namespace std;
using namespace boost::assign;
typedef vector<unsigned char> valtype;
extern uint256 Signat... | mit |
arca1n/cocos2d-x_nextpeer_integration | external/lua/luajit/src/src/host/buildvm_fold.c | 73 | 6473 | /*
** LuaJIT VM builder: IR folding hash table generator.
** Copyright (C) 2005-2013 Mike Pall. See Copyright Notice in luajit.h
*/
#include "buildvm.h"
#include "lj_obj.h"
#include "lj_ir.h"
/* Context for the folding hash table generator. */
static int lineno;
static int funcidx;
static uint32_t foldkeys[BUILD_MAX_... | mit |
andrewrk/zig | lib/libc/wasi/libc-top-half/musl/src/math/cos.c | 87 | 2111 | /* origin: FreeBSD /usr/src/lib/msun/src/s_cos.c */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely ... | mit |
AdrianoRuseler/LAUNCHXL-F28377S | ControlSuite/F2837xS_examples_Cpu1/sdfm_filter_sync_dma_cpu01/F2837xS_PieVect.c | 92 | 14768 | //###########################################################################
//
// FILE: F2837xS_PieVect.c
//
// TITLE: F2837xS Device PIE Vector Initialization Functions
//
//###########################################################################
// $TI Release: F2837xS Support Library v210 $
// $Release Date:... | mit |
pentix/mongoose | mongoose.c | 104 | 141876 | // Copyright (c) 2004-2011 Sergey Lyubka
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... | mit |
wulin9005/cocosbuilder | Examples/CocosBuilderExample/libs/CCBReader/SSZipArchive/minizip/unzip.c | 109 | 71943 | /* unzip.c -- IO for uncompress .zip files using zlib
Version 1.1, February 14h, 2010
part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
Modifications of Unzip for Zip6... | mit |
sjsinju/coreclr | src/pal/prebuilt/idl/clrprivbinding_i.cpp | 117 | 2517 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any client... | mit |
Dmitry-Me/coreclr | src/binder/stringlexer.cpp | 120 | 5283 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// ============================================================
//
// StringLexer.cpp
//
//
// Implements the Strin... | mit |
x13945/Android-ImageMagick | library/src/main/jni/libwebp-0.3.1/swig/libwebp_java_wrap.c | 121 | 53665 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do... | mit |
poizan42/coreclr | src/pal/tests/palsuite/c_runtime/vfprintf/test12/test12.cpp | 137 | 1525 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================================
**
** Source: test12.c
**
** Purpose... | mit |
mammix2/killercoin-development | src/protocol.cpp | 1427 | 3431 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "protocol.h"
#include "util.h"
#include "netbase.h"
#include "main.h"
#i... | mit |
kasperdokter/Reo-compiler | FreeRTOSv9.0.0/FreeRTOS/Demo/Common/ethernet/lwIP_132/src/netif/ppp/chpms.c | 148 | 11840 | /*** WARNING - THIS CODE HAS NOT BEEN FINISHED! ***/
/*** The original PPPD code is written in a way to require either the UNIX DES
encryption functions encrypt(3) and setkey(3) or the DES library libdes.
Since both is not included in lwIP, MSCHAP currently does not work! */
/*********************************... | mit |
poetryfar/WinObjC | tools/vsimporter/xib2nib/UINavigationController.cpp | 156 | 2685 | //******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... | mit |
robertblackwood/Chipmunk-Spacemanager | Example 2.0/Example 2.0/libs/Chipmunk/src/constraints/cpPivotJoint.c | 165 | 3621 | /* Copyright (c) 2007 Scott Lembcke
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish... | mit |
snowmap/WinObjC | deps/3rdparty/cairolegacy/src/cairo-atomic.c | 186 | 2953 | /* cairo - a vector graphics library with display and print output
*
* Copyright © 2007 Chris Wilson
*
* This library is free software; you can redistribute it and/or
* modify it either under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Foundation
* (the "LGP... | mit |
johnmyqin/WinObjC | deps/3rdparty/icu/icu/source/tools/genrb/genrb.c | 188 | 27271 | /*
*******************************************************************************
*
* Copyright (C) 1998-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
*
* File genrb.c
*
* Modification History:... | mit |
jackalchen/WinObjC | deps/3rdparty/cairolegacy/src/cairo-mutex.c | 196 | 2692 | /* cairo - a vector graphics library with display and print output
*
* Copyright © 2007 Mathias Hasselmann
*
* This library is free software; you can redistribute it and/or
* modify it either under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Foundation
* (th... | mit |
homerunlathecut/homerunlathecut.github.io | node_modules/node-sass/src/sass_context_wrapper.cpp | 1253 | 1683 | #include "sass_context_wrapper.h"
extern "C" {
using namespace std;
void compile_it(uv_work_t* req) {
sass_context_wrapper* ctx_w = (sass_context_wrapper*)req->data;
if (ctx_w->dctx) {
compile_data(ctx_w->dctx);
}
else if (ctx_w->fctx) {
compile_file(ctx_w->fctx);
}
}
void co... | mit |
windofthesky/WinObjC | deps/3rdparty/icu/icu/source/common/normlzr.cpp | 244 | 14795 | /*
*************************************************************************
* COPYRIGHT:
* Copyright (c) 1996-2012, International Business Machines Corporation and
* others. All Rights Reserved.
*************************************************************************
*/
#include "unicode/utypes.h"
#if !UCONF... | mit |
supriyasingh01/github_basics | Internetworking Distributed Project/Kernal/linux-3.6.3/drivers/media/dvb/frontends/itd1000.c | 5031 | 11347 | /*
* Driver for the Integrant ITD1000 "Zero-IF Tuner IC for Direct Broadcast Satellite"
*
* Copyright (c) 2007-8 Patrick Boettcher <pb@linuxtv.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 Softw... | cc0-1.0 |
kaskr/CppAD | test_more/general/mul.cpp | 1 | 4293 | /* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution is under
the terms of the
Eclipse Public License Version 1.0.
A copy of this l... | epl-1.0 |
rizard/bigcode | modules/FME/module/src/fme_config.c | 6 | 4031 | /****************************************************************
*
* Copyright 2013, Big Switch Networks, Inc.
*
* Licensed under the Eclipse Public License, Version 1.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* ... | epl-1.0 |
tkelman/graphviz | cmd/smyrna/trackball.c | 18 | 8442 | /*
* (c) Copyright 1993, 1994, Silicon Graphics, Inc.
* ALL RIGHTS RESERVED
* Permission to use, copy, modify, and distribute this software for
* any purpose and without fee is hereby granted, provided that the above
* copyright notice appear in all copies and that both the copyright notice
* and this permission ... | epl-1.0 |
hunterhu/linux-sunxi | modules/wifi/bcm40181/open-src/src/bcmsdio/sys/bcmsdh.c | 256 | 16076 | /*
* BCMSDH interface glue
* implement bcmsdh API for SDIOH driver
*
* Copyright (C) 1999-2011, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU Genera... | gpl-2.0 |
samno1607/P920-SU760-Source-Differences-GB | fs/ocfs2/refcounttree.c | 512 | 115843 | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* refcounttree.c
*
* Copyright (C) 2009 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License version 2 as published by the Free... | gpl-2.0 |
zeroprobe/ZeroMHL-Overclocked-V3 | drivers/gpu/drm/i915/intel_display.c | 512 | 224646 | /*
* Copyright © 2006-2007 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge... | gpl-2.0 |
Fusion-Devices/android_kernel_mediatek_sprout | drivers/iio/adc/ad7793.c | 2048 | 25794 | /*
* AD7785/AD7792/AD7793/AD7794/AD7795 SPI ADC driver
*
* Copyright 2011-2012 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h>
#include <linux/regulato... | gpl-2.0 |
Chibaibuki/TCP-IP-Timer-For-Linux-Kernel | drivers/scsi/qla2xxx/qla_mbx.c | 2048 | 127683 | /*
* QLogic Fibre Channel HBA Driver
* Copyright (c) 2003-2013 QLogic Corporation
*
* See LICENSE.qla2xxx for copyright and licensing details.
*/
#include "qla_def.h"
#include "qla_target.h"
#include <linux/delay.h>
#include <linux/gfp.h>
/*
* qla2x00_mailbox_command
* Issue mailbox command and waits for com... | gpl-2.0 |
CaptainThrowback/android_kernel_htc_a32e | arch/um/drivers/slip_user.c | 3584 | 5060 | /*
* Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/termios.h>
#include <sys/wait.h>
#include <net_user.h>
#include <os.h>
#include "slip.h"... | gpl-2.0 |
sorenb-xlnx/linux-xlnx | arch/um/drivers/slip_user.c | 3584 | 5060 | /*
* Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/termios.h>
#include <sys/wait.h>
#include <net_user.h>
#include <os.h>
#include "slip.h"... | gpl-2.0 |
AdiPat/android_kernel_htc_pico | arch/arm/mach-u300/i2c.c | 3840 | 8242 | /*
* arch/arm/mach-u300/i2c.c
*
* Copyright (C) 2009 ST-Ericsson AB
* License terms: GNU General Public License (GPL) version 2
*
* Register board i2c devices
* Author: Linus Walleij <linus.walleij@stericsson.com>
*/
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/mfd/abx500.h>
#include <linux/... | gpl-2.0 |
HackerOO7/android_kernel_huawei_u8951 | drivers/media/dvb/frontends/cxd2820r_core.c | 4864 | 14358 | /*
* Sony CXD2820R demodulator driver
*
* Copyright (C) 2010 Antti Palosaari <crope@iki.fi>
*
* 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
... | gpl-2.0 |
bingfengxiaokai/kernel3.4.2-transplant | arch/arm/mach-mxs/pm.c | 5120 | 1045 | /*
* Copyright (C) 2010 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This... | gpl-2.0 |
zeroblade1984/htc_msm8930_kernel | net/can/proc.c | 5120 | 15199 | /*
* proc.c - procfs support for Protocol family CAN core module
*
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
* 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. Re... | gpl-2.0 |
jeboo/kernel_JB_ZSLS6_i777 | tools/perf/builtin-list.c | 8192 | 1387 | /*
* builtin-list.c
*
* Builtin list command: list all event types
*
* Copyright (C) 2009, Thomas Gleixner <tglx@linutronix.de>
* Copyright (C) 2008-2009, Red Hat Inc, Ingo Molnar <mingo@redhat.com>
* Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
*/
#include "builtin.h"
#include "... | gpl-2.0 |
k2wlxda/3.10 | net/ceph/crush/hash.c | 12032 | 3181 |
#include <linux/types.h>
#include <linux/crush/hash.h>
/*
* Robert Jenkins' function for mixing 32-bit values
* http://burtleburtle.net/bob/hash/evahash.html
* a, b = random bits, c = input and output
*/
#define crush_hashmix(a, b, c) do { \
a = a-b; a = a-c; a = a^(c>>13); \
b = b-c; b = b-a; b = b^(a<... | gpl-2.0 |
YoungjaeLee/linux-4.3-cxlbdev | arch/mips/txx9/jmr3927/irq.c | 12544 | 4180 | /*
* Copyright 2001 MontaVista Software Inc.
* Author: MontaVista Software, Inc.
* ahennessy@mvista.com
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2000... | gpl-2.0 |
u-ra/android_kernel_htc_memul | arch/mips/txx9/jmr3927/irq.c | 12544 | 4180 | /*
* Copyright 2001 MontaVista Software Inc.
* Author: MontaVista Software, Inc.
* ahennessy@mvista.com
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2000... | gpl-2.0 |
chyyuu/ucore_os_lab | labcodes_answer/lab6_result/kern/trap/trap.c | 1 | 9443 | #include <defs.h>
#include <mmu.h>
#include <memlayout.h>
#include <clock.h>
#include <trap.h>
#include <x86.h>
#include <stdio.h>
#include <assert.h>
#include <console.h>
#include <vmm.h>
#include <swap.h>
#include <kdebug.h>
#include <unistd.h>
#include <syscall.h>
#include <error.h>
#include <sched.h>
#include <sync... | gpl-2.0 |
ghisvail/nfft | kernel/nsfft/nsfft.c | 1 | 53632 | /*
* Copyright (c) 2002, 2015 Jens Keiner, Stefan Kunis, Daniel Potts
*
* 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
* ver... | gpl-2.0 |
WildfireTeamPRJ/wildfire_stm32_iso_mini | 02-野火ISO-MINI 程序/9、DMA-为CPU减负/User/usart/bsp_usart1.c | 1 | 3991 | /**
******************************************************************************
* @file bsp_usart1.c
* @author fire
* @version V1.0
* @date 2013-xx-xx
* @brief usartÓ¦ÓÃbsp
******************************************************************************
* @attention
*
* ʵÑéÆ½Ì¨:... | gpl-2.0 |
chronoxor/Depth | tests/containers/test-containers-CArray.cpp | 1 | 7186 | /*!
* \file test-containers-CArray.cpp Testing of the CArray class.
* \brief Testing of the CArray class.
* \author Ivan Shynkarenka aka 4ekucT
* \version 1.0
* \date 14.02.2007
*/
/*==========================================================================*/
/*
FILE DESCRIPTION: Testing of the ... | gpl-2.0 |
facebookexperimental/eden | eden/fs/store/hg/test/HgBackingStoreTest.cpp | 1 | 4245 | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2.
*/
#include <folly/executors/QueuedImmediateExecutor.h>
#include <folly/experimental/TestUtil.h>
#include <folly/portability/GMock.h>
#include... | gpl-2.0 |
kendling/android_kernel_google_dragon | drivers/net/wireless/iwl7000/mac80211/tdls.c | 1 | 55897 | /*
* mac80211 TDLS handling code
*
* Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
* Copyright 2014, Intel Corporation
* Copyright 2014 Intel Mobile Communications GmbH
* Copyright 2015 Intel Deutschland GmbH
*
* This file is GPLv2 as found in COPYING.
*/
#include <linux/ieee80211.h>
#includ... | gpl-2.0 |
PabloPiaggi/lammps | src/USER-MISC/pair_cosine_squared.cpp | 1 | 15267 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | gpl-2.0 |
abev66/linux-kernel-vta2-ns | drivers/net/wireless/bcmdhd/wl_cfg80211.c | 1 | 226162 | /*
* Linux cfg80211 driver
*
* Copyright (C) 1999-2011, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License version 2 (the "GPL"),
* ... | gpl-2.0 |
Bootz/OpenStage-Project | src/server/scripts/EasternKingdoms/MoltenCore/boss_majordomo_executus.cpp | 1 | 7882 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.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 ... | gpl-2.0 |
matrixise/empathy-with-import-gajim-account | libempathy/empathy-tp-contact-list.c | 1 | 31425 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2007 Xavier Claessens <xclaesse@gmail.com>
* Copyright (C) 2007-2008 Collabora Ltd.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Licens... | gpl-2.0 |
mynew/FunCore | src/server/game/Guilds/Guild.cpp | 1 | 97858 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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; eith... | gpl-2.0 |
shonumi/gekko-gc-emu | src/core/src/powerpc/cpu_core_regs.cpp | 1 | 1691 | #include "common.h"
#include "cpu_core_regs.h"
#include "crc.h"
/*
u32 ireg_PC()
{
return ireg.PC;
}
void set_ireg_PC(u32 NewPC)
{
ireg.PC = NewPC;
}
u32 ireg_gpr(u32 Register)
{
return ireg.gpr[Register];
}
void set_ireg_gpr(u32 Register, u32 NewVal)
{
ireg.gpr[Register] = NewVal;
}
u... | gpl-2.0 |
papylhomme/diskmonitor | settings/appearance.cpp | 1 | 2001 | /****************************************************************************
* DisKMonitor, KDE tools to monitor SMART and MDRaid health status *
* Copyright (C) 2014-2015 Michaël Lhomme <papylhomme@gmail.com> *
* *
* This ... | gpl-2.0 |
Bootz/OpenStage-Project | src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp | 1 | 60366 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | gpl-2.0 |
cgsecurity/testdisk | src/file_lxo.c | 1 | 3189 | /*
File: file_lxo.c
Copyright (C) 2011 Christophe GRENIER <grenier@cgsecurity.org>
This software 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... | gpl-2.0 |
gelu/ChgSD2 | scripts/outland/black_temple/boss_illidan.cpp | 1 | 92942 | /* Copyright (C) 2006 - 2011 ScriptDev2 <http://www.scriptdev2.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 option) any later version.... | gpl-2.0 |
juston-li/mako | drivers/cpufreq/cpufreq_ondemand.c | 1 | 32243 | /*
* drivers/cpufreq/cpufreq_ondemand.c
*
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
* Jun Nakajima <jun.nakajima@intel.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of... | gpl-2.0 |
htc-m8-caf/android_kernel_htc_msm8974 | drivers/net/wireless/wcnss/wcnss_wlan.c | 1 | 64709 | /* Copyright (c) 2011-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-2.0 |
DroidThug/kernel_delta_msm8916 | drivers/cpufreq/cpufreq_governor.c | 1 | 13238 | /*
* drivers/cpufreq/cpufreq_governor.c
*
* CPUFREQ governors common code
*
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
* (C) 2003 Jun Nakajima <jun.nakajima@intel.com>
* (C) 2009 Alexander Clouter <alex@digriz.org.uk>
* (c) 2012 Viresh Kumar <viresh.ku... | gpl-2.0 |
matthewbauer/dosbox | src/cpu/cpu.cpp | 1 | 70305 | /*
* Copyright (C) 2002-2013 The DOSBox 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.
*
* This p... | gpl-2.0 |
GameTheory-/android_kernel_lge_l0 | drivers/felica/felica_rfs.c | 1 | 8763 | /*
* felica_rfs.c
*
*/
/*
* INCLUDE FILES FOR MODULE
*/
#include "felica_rfs.h"
#include "felica_gpio.h"
#include "felica_test.h"
/*
* DEFINE
*/
#ifdef FELICA_LED_SUPPORT
enum{
RFS_LED_OFF = 0,
RFS_LED_ON,
};
#endif
/*
* FUNCTION PROTOTYPE
*/
/*
* INTERNAL DEFINITION
... | gpl-2.0 |
doublesword/commuse | Source/interview_test/整数逆序链表相加返回链表.cpp | 1 | 2161 | #ifndef __ÕûÊýÁ´±íÏà¼Ó·µ»ØÁ´±í_H
#define __ÕûÊýÁ´±íÏà¼Ó·µ»ØÁ´±í_H
namespace addnum2
{
struct ListNode {
int val;
ListNode *next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(x), next(nullptr) {}
ListNode(int x, ListNode *next) : val(x), next(next) {}
};
void Reserver(ListNode*... | gpl-2.0 |
rafoid/gen_LL_sort | genlistsort.c | 1 | 5593 | /**************************************************************************
*
* Title: genlistsort.c
* Description: Implements the sorting of generic linked list using
* max-heap sort algorithm
* Author: rafoid
* Date: 3/21/2014
* Licensed under GPL v.2
*
*****... | gpl-2.0 |
gwq5210/learn_curl | examples/http-post.c | 1 | 1933 | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | gpl-2.0 |
rdebath/Brainfuck | bf2any/bf2dc.c | 1 | 9830 | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
#if _POSIX_VERSION < 200112L && _XOPEN_VERSION < 500
#define NO_SNPRINTF
#endif
#include "bf2any.h"
/*
* Unix/GNU dc translation from BF, runs at about 1,500,000 instructions per second.
If malloc is avoided ... ... | gpl-2.0 |
sten0/btrfs-progs | extent_io.c | 1 | 23502 |
/*
* Copyright (C) 2007 Oracle. 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 v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITH... | gpl-2.0 |
insilico/reliefseq | ArffDataset.cpp | 1 | 13226 | /*
* ArffDataset.cpp - Bill White
* see ArffDataset.h and http://www.cs.waikato.ac.nz/ml/weka/arff.html
*/
#include <string>
#include <iostream>
#include <fstream>
#include <cstring>
#include <string>
#include <sstream>
#include <boost/lexical_cast.hpp>
#include "Dataset.h"
#include "DatasetInstance.h"
#include "... | gpl-2.0 |
andi34/kernel_samsung_espresso-cm | fs/nfsd/nfs4acl.c | 1 | 22028 | /*
* Common NFSv4 ACL handling code.
*
* Copyright (c) 2002, 2003 The Regents of the University of Michigan.
* All rights reserved.
*
* Marius Aamodt Eriksen <marius@umich.edu>
* Jeff Sedlak <jsedlak@umich.edu>
* J. Bruce Fields <bfields@umich.edu>
*
* Redistribution and use in source and binary forms,... | gpl-2.0 |
sigmabeta/dolphin | Source/Core/DolphinWX/MainToolBar.cpp | 1 | 8586 | // Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "DolphinWX/MainToolBar.h"
#include <array>
#include <utility>
#include "Core/Core.h"
#include "Core/HW/CPU.h"
#include "DolphinWX/Globals.h"
#include "DolphinWX/WxUtils.h"
wxDEFINE_EVENT(DOLPHIN_E... | gpl-2.0 |
jeffegg/beaglebone | arch/arm/mach-exynos4/init.c | 1 | 1083 | /* linux/arch/arm/mach-exynos4/init.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*... | gpl-2.0 |
visitor83/fighting_stm32 | rtgui/common/image_hdc.c | 1 | 5900 | #include <rtthread.h>
#include <rtgui/dc_hw.h>
#include <rtgui/image.h>
#include <rtgui/rtgui_system.h>
#include <rtgui/image_hdc.h>
#define HDC_MAGIC_LEN 4
struct rtgui_image_hdc
{
rt_bool_t is_loaded;
/* hdc image information */
rt_uint16_t byte_per_pixel;
rt_uint16_t pitch;
rt_size_t pixel_offset... | gpl-2.0 |
vingarzan/kamailio | msg_translator.c | 1 | 84883 | /*
* Copyright (C) 2001-2003 FhG Fokus
*
* This file is part of Kamailio, a free SIP server.
*
* Kamailio 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 ... | gpl-2.0 |
rex-xxx/mt6572_x201 | frameworks/compile/libbcc/runtime/test/Unit/fixunsdfdi_test.c | 1 | 3139 | //===-- fixunsdfdi_test.c - Test __fixunsdfdi -----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | gpl-2.0 |
stephenjschaefer/MMCd | mmcd.c | 1 | 69592 | /*
* $Id: mmcd.c,v 1.16 2003/07/03 10:29:50 dmitry Exp $
*
* Copyright (c) 2003, Dmitry Yurtaev <dm1try@umail.ru>
*
* This 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 (at ... | gpl-2.0 |
sstjohn/wireshark | epan/dissectors/packet-db-lsp.c | 1 | 7779 | /* packet-db-lsp.c
* Routines for Dropbox LAN sync Protocol
*
* Copyright 2010, Stig Bjorlykke <stig@bjorlykke.org>
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* mod... | gpl-2.0 |
vishesh/kde-baseapps | konqueror/settings/performance/konqueror.cpp | 1 | 6997 | /*
* Copyright (c) 2003 Lubos Lunak <l.lunak@kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*... | gpl-2.0 |
boyska/chdkripto | platform/s90/sub/101c/lib.c | 1 | 3067 | #include "platform.h"
#include "stdlib.h"
#include "lolevel.h"
/*
*********************
G11
**********************
note sensor size for camera.h is from
@ FFB09A68
0xEE9200 = 15634944
15634944/12 * 8 = 10423296 ---
|
@ FFB09690 |
0xEA0 and 0xAE0 = |
37... | gpl-2.0 |
loginab/esxdrivers | vmkdrivers/src26/drivers/net/ixgbe/ixgbe_82598.c | 1 | 27976 | /*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2008 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
ver... | gpl-2.0 |
vinni-au/vega-strike | vegastrike/src/networking/netclient_login.cpp | 1 | 28692 | #include "networking/lowlevel/vsnet_debug.h"
#include "cmd/unit_generic.h"
#include "vs_globals.h"
#include "vsfilesystem.h"
#include "networking/netclient.h"
#include "savegame.h"
#include "main_loop.h"
#include "networking/lowlevel/netbuffer.h"
#include "networking/lowlevel/packet.h"
#include "lin_time.h"
#include "n... | gpl-2.0 |
drdaeman/accel-ppp | accel-pppd/ctrl/pppoe/pppoe.c | 1 | 43574 | #include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/ethernet.h>
#include <netpacket/packet.h>
#include <arpa/inet.h>
#include <printf.h>
#include <ctype.... | gpl-2.0 |
brymaster5000/Lunar_Max | drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 513 | 209656 | /*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2012 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
ver... | gpl-2.0 |
shianyow/kernel-android-galaxy-s2-t989 | fs/ocfs2/export.c | 1025 | 6700 | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* export.c
*
* Functions to facilitate NFS exporting
*
* Copyright (C) 2002, 2005 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.