repo_name
string
path
string
copies
string
size
string
content
string
license
string
QuuxZebula/python-twitter
simplejson/_speedups.c
136
75169
#include "Python.h" #include "structmember.h" #if PY_VERSION_HEX < 0x02060000 && !defined(Py_TYPE) #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) #endif #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) typedef int Py_ssize_t; #define PY_SSIZE_T_MAX INT_MAX #define PY_SSIZE_T_MIN INT_MIN #define PyInt_F...
apache-2.0
algohary/SlicerExtension_ColiageFilter
CLIModule_ColiageFilter/Eigen/test/array_replicate.cpp
156
2010
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 ob...
apache-2.0
tinchoss/Python_Android
python-build/openssl/crypto/mdc2/mdc2test.c
950
5131
/* crypto/mdc2/mdc2test.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...
apache-2.0
azMallco/TeamTalk
win-client/3rdParty/src/cxImage/png/pngwio.c
440
7611
/* pngwio.c - functions for data output * * Last changed in libpng 1.2.13 November 13, 2006 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2006 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy...
apache-2.0
ARM-software/mbed-beetle
libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dma.c
200
12791
/******************************************************************************* * DISCLAIMER * This software is supplied by Renesas Electronics Corporation and is only * intended for use with Renesas products. No other uses are authorized. This * software is owned by Renesas Electronics Corporation and is protected un...
apache-2.0
junior1407/AlgoritmoHuffman
RedBlack/cmake-build-debug/CMakeFiles/3.7.1/CompilerIdCXX/CMakeCXXCompilerId.cpp
971
16397
/* This source file must have a .cpp extension so that all C++ compilers recognize the extension without flags. Borland does not know .cxx for example. */ #ifndef __cplusplus # error "A C compiler has been selected for C++." #endif /* Version number components: V=Version, R=Revision, P=Patch Version date c...
apache-2.0
Ant-Droid/android_kernel_moto_shamu_OLD
drivers/pinctrl/mvebu/pinctrl-armada-370.c
1999
13701
/* * Marvell Armada 370 pinctrl driver based on mvebu pinctrl core * * Copyright (C) 2012 Marvell * * Thomas Petazzoni <thomas.petazzoni@free-electrons.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...
apache-2.0
OLIMEX/DIY-LAPTOP
SOFTWARE/A64-TERES/linux-a64/drivers/pci/hotplug/ibmphp_hpc.c
10708
33511
/* * IBM Hot Plug Controller Driver * * Written By: Jyoti Shah, IBM Corporation * * Copyright (C) 2001-2003 IBM Corp. * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fo...
apache-2.0
aayushkapoor206/whatshot
node_modules/node-sass/src/libsass/src/sass_values.cpp
225
14274
#include <cstdlib> #include <cstring> #include "util.hpp" #include "eval.hpp" #include "values.hpp" #include "sass/values.h" #include "sass_values.hpp" extern "C" { using namespace Sass; // Return the sass tag for a generic sass value enum Sass_Tag ADDCALL sass_value_get_tag(const union Sass_Value* v) { return ...
apache-2.0
goblinr/omim
3party/icu/i18n/ethpccal.cpp
235
5878
/* ******************************************************************************* * Copyright (C) 2003 - 2013, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* */ #include "unicode/utypes.h" #if !UCONFIG_NO_...
apache-2.0
michelborgess/RealOne-Victara-Kernel
samples/hidraw/hid-example.c
8171
3905
/* * Hidraw Userspace Example * * Copyright (c) 2010 Alan Ott <alan@signal11.us> * Copyright (c) 2010 Signal 11 Software * * The code may be used by anyone for any purpose, * and can serve as a starting point for developing * applications using hidraw. */ /* Linux */ #include <linux/types.h> #include <linux/i...
apache-2.0
morsdatum/ArangoDB
3rdParty/icu/source/i18n/vzone.cpp
240
5586
/* ******************************************************************************* * Copyright (C) 2009-2011, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* */ /** * \file * \brief C API: VTimeZone classe...
apache-2.0
blats002/JLRAssessment
plugins/cordova-plugin-globalization/src/blackberry10/native/public/json_reader.cpp
253
22356
// Copyright 2007-2010 Baptiste Lepilleur // Distributed under MIT license, or public domain if desired and // recognized in your jurisdiction. // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE /* Permission is hereby granted, free of charge, to any person obtaining a copy of this softwa...
apache-2.0
prswan/arduino-mega-ict
libraries/C2650Cpu/C2650Cpu.cpp
1
26576
// // Copyright (c) 2015, Paul R. Swan // 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 condit...
bsd-2-clause
ibudiselic/contest-problem-solutions
tc bef160/grafixMask.cpp
1
9251
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; const int maxr = 399; const int maxc = 599; char field[maxr+3][maxc+3]; int r1, c1, r2, c2, s; vector<int> sol; stack<pair<int, int...
bsd-2-clause
cedric-chaumont-st-dev/optee_os
core/arch/arm/plat-vexpress/vendor_props.c
1
3299
/* * Copyright (c) 2016, Linaro Limited. * 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 condit...
bsd-2-clause
tm604/rapidcheck
test/gen/TupleTests.cpp
3
5369
#include <catch.hpp> #include <rapidcheck/catch.h> #include "util/ArbitraryRandom.h" #include "util/Predictable.h" #include "util/GenUtils.h" #include "rapidcheck/gen/Tuple.h" #include "rapidcheck/gen/Create.h" #include "rapidcheck/shrinkable/Operations.h" using namespace rc; using namespace rc::test; TEST_CASE("ge...
bsd-2-clause
khldragon/Sora
DebugTool/source/DebugPlotChannelLibrary/ShareChannelManager.cpp
7
5964
#include <Windows.h> #include <stdio.h> #include "Channel.h" #include "DpSharedMemAllocator.h" #include "DpFixedSizeSharedMemAllocator.h" #include "RollbackManager.h" #include "ShareChannelManager.h" #include "Config.h" using namespace SharedChannelTable; struct _EnumPara { ChannelEnumCallback callback; void * user...
bsd-2-clause
ssaini4/RoboticLamp
mailbox.c
11
7398
/* Copyright (c) 2012, Broadcom Europe Ltd. Copyright (c) 2016, Jeremy Garff All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright not...
bsd-2-clause
gale320/sctp-refimpl
APPS/incast/display_ele_sink.c
11
2619
/*- * Copyright (c) 2011, by Randall Stewart. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * a) Redistributions of source code must retain the above copyright notice, * this lis...
bsd-2-clause
haitao52198/seL4
src/arch/x86/machine/registerset.c
15
2246
/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #include <arch/machine/registerset.h> #include <...
bsd-2-clause
simanstar/nginx-1.0.14_comment
src/os/unix/ngx_darwin_sendfile_chain.c
17
9753
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> /* * It seems that Darwin 9.4 (Mac OS X 1.5) sendfile() has the same * old bug as early FreeBSD sendfile() syscall: * http://www.freebsd.org/cgi/query-pr.cgi?pr=33771 * * Besid...
bsd-2-clause
hoangt/ScaffCC
clang/test/SemaCXX/warn-sign-conversion.cpp
18
3655
// RUN: %clang_cc1 -verify -fsyntax-only -Wsign-conversion %s // NOTE: When a 'enumeral mismatch' warning is implemented then expect several // of the following cases to be impacted. // namespace for anonymous enums tests namespace test1 { enum { A }; enum { B = -1 }; template <typename T> struct Foo { enu...
bsd-2-clause
gordoncww/ruby-debug-base19
ext/ruby_debug/breakpoint.c
50
14870
#include <ruby.h> #include <stdio.h> #include <vm_core.h> #include <iseq.h> #include "ruby_debug.h" VALUE rdebug_breakpoints = Qnil; VALUE rdebug_catchpoints; static VALUE cBreakpoint; static ID idEval; static VALUE eval_expression(VALUE args) { return rb_funcall2(rb_mKernel, idEval, 2, RARRAY_PTR(args)); } ...
bsd-2-clause
andrewjylee/omniplay
linux-lts-quantal-3.5.0/arch/mips/jz4740/time.c
7528
3824
/* * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> * JZ4740 platform time support * * 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 (...
bsd-2-clause
aosm/WebKit
win/WebSerializedJSValue.cpp
142
3873
/* * Copyright (C) 2009 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 conditions...
bsd-2-clause
BloodyKnight/nginx-openresty-windows
nginx/objs/lib/openssl-1.0.1p/crypto/asn1/x_sig.c
189
3486
/* crypto/asn1/x_sig.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-c...
bsd-2-clause
mikedlowis-prototypes/albase
source/kernel/arch/x86/kernel/i8259.c
447
11048
#include <linux/linkage.h> #include <linux/errno.h> #include <linux/signal.h> #include <linux/sched.h> #include <linux/ioport.h> #include <linux/interrupt.h> #include <linux/timex.h> #include <linux/random.h> #include <linux/init.h> #include <linux/kernel_stat.h> #include <linux/syscore_ops.h> #include <linux/bitops.h>...
bsd-2-clause
endplay/omniplay
linux-lts-quantal-3.5.0/drivers/net/wireless/rtlwifi/rtl8192se/hw.c
4071
71041
/****************************************************************************** * * Copyright(c) 2009-2012 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundati...
bsd-2-clause
hnhoan/LED-Matrix-Arduino
LedMxLib/ledmxfont.c
1
24445
/*--------------------------------------------------------------------------- File : ledmxfont.c Author : Hoang Nguyen Hoan Feb. 28, 2011 Desc : Font definitions for use with LED Matrix Display Copyright (c) 2011, I-SYST inc, all rights reserved Permission to use, copy, modify, and distribute this software...
bsd-3-clause
ecoal95/angle
src/libANGLE/ResourceManager_unittest.cpp
1
1959
// // Copyright 2015 The ANGLE 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. // // Unit tests for ResourceManager. // #include <gmock/gmock.h> #include <gtest/gtest.h> #include "libANGLE/ResourceManager.h" #include "tests/...
bsd-3-clause
scpeters/chrono
src/unit_COSIMULATION/ChSocket.cpp
1
45558
#include "ChSocket.h" #include "ChExceptionSocket.h" using namespace std; using namespace chrono; using namespace chrono::cosimul; const int MSG_HEADER_LEN = 6; ChSocket::ChSocket(int pNumber) { portNumber = pNumber; blocking = 1; try { if ( (socketId=socket(AF_INET,SOCK_STREAM,0)) == -1) ...
bsd-3-clause
iPlantCollaborativeOpenSource/irods-3.3.1-iplant
server/api/src/rsDataObjGet.c
2
10221
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* This is script-generated code (for the most part). */ /* See dataObjGet.h for a description of this API call.*/ #include "dataObjGet.h" #include "rodsLog.h...
bsd-3-clause
coreboot/chrome-ec
zephyr/drivers/cros_flash/cros_flash_xec.c
2
14153
/* Copyright 2022 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #define DT_DRV_COMPAT microchip_xec_cros_flash #include "../drivers/flash/spi_nor.h" #include "flash.h" #include "spi_flash_reg.h" #include "write_protect.h" #include <...
bsd-3-clause
youtube/cobalt
third_party/icu/source/i18n/units_converter.cpp
3
19303
// © 2020 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html #include "unicode/utypes.h" #if !UCONFIG_NO_FORMATTING #include "charstr.h" #include "cmemory.h" #include "double-conversion-string-to-double.h" #include "measunit_impl.h" #include "uassert.h" #include "un...
bsd-3-clause
JohanMabille/xtensor
test/test_xscalar_semantic.cpp
3
9959
/*************************************************************************** * Copyright (c) Johan Mabille, Sylvain Corlay and Wolf Vollprecht * * Copyright (c) QuantStack * * * * Distribute...
bsd-3-clause
FabianRepository/SinusProject
Code/include/igl/polyvector_field_comb_from_matchings_and_cuts.cpp
3
5273
#include <igl/colon.h> #include <algorithm> #include <deque> #include <igl/polyvector_field_comb_from_matchings_and_cuts.h> #include <igl/edge_topology.h> #include <igl/triangle_triangle_adjacency.h> template <typename DerivedV, typename DerivedF, typename DerivedTT, typename DerivedS, typename DerivedM, typename Deri...
bsd-3-clause
igor-m/retrobsd-with-double-precison
src/games/backgammon/move.c
5
11113
/* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ #include "back.h" #include <unistd.h> #ifdef DEBUG #ifdef CROSS # include </usr/include/stdio.h> #else # include <stdio.h>...
bsd-3-clause
cooljeanius/trousers-0.3.11.2
src/tcs/rpc/tcstp/rpc_context.c
5
2003
/* * Licensed Materials - Property of IBM * * trousers - An open source TCG Software Stack * * (C) Copyright International Business Machines Corp. 2004-2006 * */ #include <stdlib.h> #include <stdio.h> #include <syslog.h> #include <string.h> #include <netdb.h> #include "trousers/tss.h" #include "trousers_types...
bsd-3-clause
herloct/FrameworkBenchmarks
frameworks/C++/cutelyst/src/cutelyst-benchmarks.cpp
5
2661
#include "cutelyst-benchmarks.h" #include <Cutelyst/Plugins/StaticSimple/staticsimple.h> #include <QtSql/QSqlDatabase> #include <QtSql/QSqlError> #include <QCoreApplication> #include <QThread> #include <QDebug> #include <QMutexLocker> #include "root.h" #include "jsontest.h" #include "singledatabasequerytest.h" #incl...
bsd-3-clause
ylow/SFrame
oss_test/fault/pub_test.cpp
5
1693
/* * Copyright (C) 2016 Turi * * 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 Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in...
bsd-3-clause
the-nightling/cudpp
apps/cudpp_testrig/cudpp_testrig_options.cpp
6
3514
// ------------------------------------------------------------- // cuDPP -- CUDA Data Parallel Primitives library // ------------------------------------------------------------- // $Revision$ // $Date$ // ------------------------------------------------------------- // This source code is distributed under the terms...
bsd-3-clause
shelsonjava/TeaJS
deps/v8/third_party/icu/source/common/dictbe.cpp
6
44986
/** ******************************************************************************* * Copyright (C) 2006-2013, International Business Machines Corporation * and others. All Rights Reserved. ******************************************************************************* */ #include "unicode/utypes.h" #if !UCONFIG...
bsd-3-clause
larrybradley/astropy
astropy/wcs/src/str_list_proxy.c
11
6271
/* Author: Michael Droettboom mdroe@stsci.edu */ #define NO_IMPORT_ARRAY #include "astropy_wcs/pyutil.h" /*************************************************************************** * List-of-strings proxy object ***************************************************************************/ static PyTypeO...
bsd-3-clause
guorendong/iridium-browser-ubuntu
third_party/mesa/src/src/gallium/drivers/svga/svga_pipe_query.c
12
8675
/********************************************************** * Copyright 2008-2009 VMware, Inc. 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 * restrict...
bsd-3-clause
OptiPop/external_chromium_org_third_party_skia
tests/SurfaceTest.cpp
15
19271
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkCanvas.h" #include "SkData.h" #include "SkDecodingImageGenerator.h" #include "SkImageEncoder.h" #include "SkRRect.h" #include "SkSurface.h" #include "SkUtils.h" #i...
bsd-3-clause
temasek/android_external_chromium_org_third_party_WebKit
Source/core/css/CSSRuleList.cpp
17
1480
/** * (C) 1999-2003 Lars Knoll (knoll@kde.org) * (C) 2002-2003 Dirk Mueller (mueller@kde.org) * Copyright (C) 2002, 2005, 2006, 2012 Apple Computer, Inc. * * 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 F...
bsd-3-clause
castoryan/OpenBLAS
kernel/generic/geadd.c
17
2188
/*************************************************************************** Copyright (c) 2013, The OpenBLAS Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must...
bsd-3-clause
honnibal/blaze-lib
blazetest/src/mathtest/dmatsmatsub/M2x2bMCa.cpp
19
3789
//================================================================================================= /*! // \file src/mathtest/dmatsmatsub/M2x2bMCa.cpp // \brief Source file for the M2x2bMCa dense matrix/sparse matrix subtraction math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This fil...
bsd-3-clause
boulzordev/android_external_skia
src/image/SkSurface_Gpu.cpp
23
4610
/* * 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 "SkSurface_Gpu.h" #include "SkCanvas.h" #include "SkGpuDevice.h" #include "SkImage_Base.h" #include "SkImage_Gpu.h" #include "SkImagePriv.h" #include "SkSurface_Base...
bsd-3-clause
dededong/goblin-core
riscv/llvm/3.5/llvm-3.5.0.src/tools/llvm-c-test/disassemble.c
24
2773
/*===-- disassemble.c - tool for testing libLLVM and llvm-c API -----------===*\ |* *| |* The LLVM Compiler Infrastructure *| |* ...
bsd-3-clause
raspberrypi/userland
containers/core/containers_filters.c
26
7709
/* Copyright (c) 2012, Broadcom Europe Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and t...
bsd-3-clause
guorendong/iridium-browser-ubuntu
buildtools/third_party/libc++/trunk/test/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp
28
3099
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
bsd-3-clause
yuyichao/OpenBLAS
lapack-netlib/SRC/sposv.f
29
5688
*> \brief <b> SPOSV computes the solution to system of linear equations A * X = B for PO matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SPOSV + dependencies *> <a href="http://www.ne...
bsd-3-clause
mydongistiny/external_chromium_org
third_party/speex/libspeex/stereo.c
552
9883
/* Copyright (C) 2002 Jean-Marc Valin File: stereo.c Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-3-clause
guker/OpenBLAS
test/cblat3.f
44
130308
PROGRAM CBLAT3 * * Test program for the COMPLEX Level 3 Blas. * * The program must be driven by a short data file. The first 14 records * of the file are read using list-directed input, the last 9 records * are read using the format ( A6, L2 ). An annotated example of a data * file can be obtained b...
bsd-3-clause
WebRTC-Labs/libvpx
vp8/common/sad_c.c
58
14728
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
bsd-3-clause
jefleponot/phantomjs
src/qt/src/3rdparty/webkit/Source/WebCore/bindings/js/JavaScriptCallFrame.cpp
58
3541
/* * Copyright (C) 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 conditions a...
bsd-3-clause
tangyibin/goblin-core
riscv/llvm/3.5/cfe-3.5.0.src/test/CXX/over/over.match/over.match.best/over.ics.rank/p3-0x.cpp
63
1107
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s // expected-no-diagnostics namespace std_example { int i; int f1(); int&& f2(); int &g(const int &); float &g(const int &&); int &j = g(i); float &k = g(f1()); float &l = g(f2()); int &g2(const int &); float &g2(int &&); int &j2 = g2(i); ...
bsd-3-clause
smasala/phantomjs
src/qt/qtbase/src/3rdparty/pcre/sljit/sljitNativePPC_32.c
75
10065
/* * Stack-less Just-In-Time compiler * * Copyright 2009-2012 Zoltan Herczeg (hzmester@freemail.hu). 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 ...
bsd-3-clause
Guardiannw/react-native
ReactCommon/cxxreact/JSCMemory.cpp
78
1214
// Copyright 2004-present Facebook. All Rights Reserved. #include "JSCMemory.h" #ifdef WITH_FB_MEMORY_PROFILING #include <stdio.h> #include <string.h> #include <JavaScriptCore/API/JSProfilerPrivate.h> #include <jschelpers/JSCHelpers.h> #include <jschelpers/Value.h> using namespace facebook::react; static JSValueRe...
bsd-3-clause
petermat/phantomjs
src/qt/qtbase/src/gui/kernel/qdrag.cpp
84
12617
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensee...
bsd-3-clause
bukalov/phantomjs
src/qt/qtbase/src/tools/moc/preprocessor.cpp
84
40835
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Copyright (C) 2014 Olivier Goffart <ogoffart@woboq.org> ** Contact: http://www.qt-project.org/legal ** ** This file is part of the tools applications of the Qt Toolkit. ** ** ...
bsd-3-clause
TeslaOS/android_external_skia
samplecode/SampleVertices.cpp
84
6843
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SampleCode.h" #include "SkView.h" #include "SkCanvas.h" #include "SkGradientShader.h" #include "SkGraphics.h" #include "SkImageDecoder.h" #include "SkPath.h" #includ...
bsd-3-clause
rishilification/phantomjs
src/qt/qtbase/src/corelib/tools/qmessageauthenticationcode.cpp
84
7925
/**************************************************************************** ** ** Copyright (C) 2013 Ruslan Nigmatullin <euroelessar@yandex.ru> ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Lic...
bsd-3-clause
wuxiaowei907/annotated_redis_source
deps/jemalloc/src/chunk_dss.c
340
4167
#define JEMALLOC_CHUNK_DSS_C_ #include "jemalloc/internal/jemalloc_internal.h" /******************************************************************************/ /* Data. */ const char *dss_prec_names[] = { "disabled", "primary", "secondary", "N/A" }; /* Current dss precedence default, used when creating new arenas...
bsd-3-clause
JCROM-Android/jcrom_external_chromium_org
native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_setstacksize.c
342
3486
/* * pthread_attr_setstacksize.c * * Description: * This translation unit implements operations on thread attribute objects. * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * C...
bsd-3-clause
shelsonjava/TeaJS
deps/v8/third_party/icu/source/test/intltest/msfmrgts.cpp
367
37175
/*********************************************************************** * COPYRIGHT: * Copyright (c) 1997-2011, International Business Machines Corporation * and others. All Rights Reserved. ***********************************************************************/ #include "unicode/utypes.h" #if !UCONFIG_NO_FOR...
bsd-3-clause
zhulin2609/phantomjs
src/qt/qtwebkit/Source/WebKit2/Shared/WebPageCreationParameters.cpp
113
5072
/* * Copyright (C) 2010, 2011 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 condit...
bsd-3-clause
klim-iv/phantomjs-qt5
src/webkit/Source/WebCore/platform/text/TextEncodingDetectorICU.cpp
113
4946
/* * Copyright (C) 2008, 2009 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: * * * Redistributions of source code must retain the above copyright * notice, this list of co...
bsd-3-clause
liorvh/phantomjs
src/qt/qtwebkit/Source/WebCore/html/DOMURL.cpp
113
5307
/* * Copyright (C) 2011 Google Inc. All rights reserved. * Copyright (C) 2012 Motorola Mobility Inc. * * 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...
bsd-3-clause
gnu3ra/SCC15HPCRepast
INSTALLATION/boost_1_54_0/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml.cpp
114
12042
// Copyright 2010 Christophe Henry // henry UNDERSCORE christophe AT hotmail DOT com // This is an extended version of the state machine available in the boost::mpl library // Distributed under the same license as the original. // Copyright for the original version: // Copyright 2005 David Abrahams and Aleksey Gurtovoy...
bsd-3-clause
Tomtomgo/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/graphics/cg/FloatSizeCG.cpp
114
1739
/* * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. * Copyright (C) 2005 Nokia. 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 mus...
bsd-3-clause
attilahorvath/phantomjs
src/qt/qtwebkit/Source/WebKit2/Shared/linux/WebMemorySamplerLinux.cpp
116
7796
/* * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. * Copyright (C) 2012 Samsung Electronics * * 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...
bsd-3-clause
petermat/phantomjs
src/qt/qtwebkit/Source/JavaScriptCore/dfg/DFGVirtualRegisterAllocationPhase.cpp
118
6156
/* * Copyright (C) 2011 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 conditions a...
bsd-3-clause
jorik041/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/PlatformSpeechSynthesisVoice.cpp
119
2373
/* * Copyright (C) 2013 Apple Computer, 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 c...
bsd-3-clause
mapbased/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/LinkHash.cpp
123
10607
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * (C) 2006 Alexey Proskuryakov (ap@webkit.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * * This library is f...
bsd-3-clause
sharma1nitish/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/network/blackberry/ResourceErrorBlackBerry.cpp
123
1050
/* * Copyright (C) 2010 Research In Motion Limited. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any...
bsd-3-clause
chauhanmohit/phantomjs
src/qt/qtwebkit/Source/WebCore/bindings/js/JSInjectedScriptManager.cpp
124
3917
/* * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> * Copyright (C) 2012 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...
bsd-3-clause
lattwood/phantomjs
src/qt/qtwebkit/Tools/TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp
127
2611
/* * Copyright (C) 2011 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 conditions a...
bsd-3-clause
AlbandeCrevoisier/ldd-athens
linux-socfpga/drivers/media/usb/stk1160/stk1160-v4l.c
130
21322
/* * STK1160 driver * * Copyright (C) 2012 Ezequiel Garcia * <elezegarcia--a.t--gmail.com> * * Based on Easycap driver by R.M. Thomas * Copyright (C) 2010 R.M. Thomas * <rmthomas--a.t--sciolus.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera...
bsd-3-clause
aospx-kitkat/platform_external_chromium_org
third_party/sqlite/src/ext/fts3/fts3_porter.c
136
17321
/* ** 2006 September 30 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *******************...
bsd-3-clause
VanirAOSP/external_chromium_org
third_party/sqlite/src/src/vtab.c
140
29459
/* ** 2006 June 10 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************...
bsd-3-clause
AALEKH/go
test/bench/shootout/threadring.c
191
3324
/* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form ...
bsd-3-clause
xin3liang/platform_external_chromium_org
third_party/simplejson/_speedups.c
210
89288
#include "Python.h" #include "structmember.h" #if PY_VERSION_HEX < 0x02070000 && !defined(PyOS_string_to_double) #define PyOS_string_to_double json_PyOS_string_to_double static double json_PyOS_string_to_double(const char *s, char **endptr, PyObject *overflow_exception); static double json_PyOS_string_to_double(const c...
bsd-3-clause
Omegaphora/external_speex
libspeex/exc_5_256_table.c
1000
6096
/* Copyright (C) 2002 Jean-Marc Valin File: exc_5_256_table.c Codebook for excitation in narrowband CELP mode (12800 bps) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source cod...
bsd-3-clause
sgraham/nope
third_party/opus/src/silk/enc_API.c
250
30333
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retai...
bsd-3-clause
eriknstr/ThinkPad-FreeBSD-setup
FreeBSD/sys/amd64/vmm/io/ppt.c
2
14698
/*- * Copyright (c) 2011 NetApp, 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 condit...
isc
TigerBSD/TigerBSD
FreeBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/Checker.cpp
52
1377
//== Checker.cpp - Registration mechanism for checkers -----------*- C++ -*--=// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
isc
danjtg/Odin-Project
Odin/Source/Core/Log/Log.cpp
1
1608
// // Log.cpp // Odin.MacOSX // // Created by Daniel on 20/05/15. // Copyright (c) 2015 DG. All rights reserved. // #include "preprocessor.h" #if defined ODIN_SYSTEM_MACOSX #include <sys/stat.h> // MacOSX - mkdir #endif #include "Log.h" namespace odin { namespace core { Log::Log(LogLevel level...
mit
nagadomi/animeface-2009
nvxs/CLAPACK/TESTING/EIG/zlarfy.c
1
3984
#include "f2c.h" #include "blaswrap.h" /* Table of constant values */ static doublecomplex c_b1 = {1.,0.}; static doublecomplex c_b2 = {0.,0.}; static integer c__1 = 1; /* Subroutine */ int zlarfy_(char *uplo, integer *n, doublecomplex *v, integer *incv, doublecomplex *tau, doublecomplex *c__, integer *ldc, doub...
mit
Luoyayu/ACM
CodeBook/资料/紫书代码/ch5/BigInteger.cpp
1
1855
#include<cstdio> #include<cstring> #include<vector> #include<iostream> using namespace std; struct BigInteger { static const int BASE = 100000000; static const int WIDTH = 8; vector<int> s; BigInteger(long long num = 0) { *this = num; } // 构造函数 BigInteger operator = (long long num) { // 赋值运算符 ...
mit
Infernoman/skidoo
src/chainparams.cpp
1
13325
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "random.h" #include "util.h" #include "utilstrencod...
mit
rburing/kontsevich_graph_series-cpp
tests/schouten_bracket.cpp
1
1455
#include "../kontsevich_graph_series.hpp" #include <ginac/ginac.h> #include <iostream> #include <fstream> using namespace std; using namespace GiNaC; int main(int argc, char* argv[]) { if (argc != 3) { cerr << "Usage: " << argv[0] << " <graph-series-filename1> <graph-series-filename2>\n"; retur...
mit
junyanz/MirrorMirror
src/FadeModule.cpp
1
21704
#include "FadeModule.h" #include "Timer.h" #include "ImageTools.h" #include "WarpingModule.h" #include "BlendModule.h" #include "WarpUtils.h" const int NUM_BINS = 256; const int NUM_FRAMES_COLOR = 30; const double MAX_ERROR = 2.5f; #ifdef __linux__ #include<X11/Xlib.h> #include<GL/glx.h> Display ...
mit
Biart95/appleseed
src/appleseed/renderer/modeling/edf/edffactoryregistrar.cpp
1
2848
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization //...
mit
rockeet/nark-fsa-intro
samples/regex_submatch.cpp
1
2058
#define _SCL_SECURE_NO_WARNINGS #include <nark/fsa/forward_decl.hpp> #include <nark/fsa/mre_match.hpp> #include <nark/util/linebuf.hpp> #include <nark/util/profiling.hpp> #include <getopt.h> #include <malloc.h> using namespace nark; void match_and_print(MultiRegexSubmatch& sub, fstring text) { printf("%s ----------\...
mit
crockeo/cpp-whatisthisgame
src/entities/player.cpp
1
2863
#include "player.hpp" ////////////// // Includes // #include "../observer.hpp" #include "../events.hpp" #include "../utils.hpp" ////////// // Code // // Creating a new player at a given location. Player::Player(float x, float y) : Entity(Rectangle(x, y, Player::width, Player::height)) { this->dy = 0; } ...
mit
armink/SFUD
demo/stm32f2xx_rtt/RT-Thread-2.1.0/components/drivers/serial/serial.c
1
23443
/* * File : serial.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006 - 2012, RT-Thread Development 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...
mit
johnnylee/jlsampler2
ringbuffer.c
1
1037
#include "ringbuffer.h" #include "mem.h" struct RingBuffer { int size; jack_ringbuffer_t *buf; }; RingBuffer *ringbuf_new(int size) { RingBuffer *rb = malloc_exit(sizeof(RingBuffer)); rb->size = size; rb->buf = jack_ringbuffer_create(sizeof(void *) * size); return rb; } void ringbuf_free(Ring...
mit