repo_name
string
path
string
copies
string
size
string
content
string
license
string
isj/sigmod
admin/winning_teams/mofumofu/code/impl/ref_impl/core.cpp
1
26591
/* * core.cpp version 1.0 * Copyright (c) 2013 KAUST - InfoCloud Group (All Rights Reserved) * Author: Amin Allam * * 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 * restricti...
bsd-2-clause
PopCap/GameIdea
Engine/Source/Editor/UnrealEd/Private/StaticLightingSystem/StaticLightingExport.cpp
1
4720
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. /*============================================================================= StaticLightingExport.cpp: Static lighting export implementations. =============================================================================*/ #include "UnrealEd.h" #includ...
bsd-2-clause
rajaditya-m/pbrt-realistic-camera
film/camerasensor.cpp
1
3247
// // camerasensor.cpp // pbrt // // Created by Rajaditya Mukherjee on 3/1/13. // // #include "pbrt.h" #include "imageio.h" #include "camerasensor.h" // CameraSensor Method Definitions CameraSensor::CameraSensor(int xres, int yres) : pixels(xres, yres) { xPixelCount = xres; yPixelCount = yres; // Allocate ...
bsd-2-clause
pok-kernel/pok
examples/arinc653-threads/sample-ada/cpu/kernel/deployment.c
1
2071
#include <core/error.h> #include <core/kernel.h> #include <core/partition.h> /*****************************************************/ /* This file was automatically generated by Ocarina */ /* Do NOT hand-modify this file, as your */ /* changes will be lost when you re-run Ocarina */ /******************...
bsd-2-clause
laureolus/rxTools
tools/toolsrc/xor/main.c
4
3233
/* padxorer by xerpi compile with: gcc -O3 padxorer.c -o padxorer usage: padxorer <input file 1> <input file 2> the output will be <input file 1>.out */ #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef __APPLE__ #include <sys/malloc.h> #else #include <malloc.h> #endif ...
bsd-2-clause
MattDevo/edk2
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/RRotU64.c
5
1077
/** 64-bit right rotation for Ia32 Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may ...
bsd-2-clause
coverxiaoeye/nginx-openresty-windows
nginx/src/event/ngx_event_udp_recv.c
7
7947
/* * Copyright (C) Ngwsx */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> typedef struct { ngx_event_t event; ngx_pool_t *pool; ngx_buf_t *buffer; u_char sockaddr[NGX_SOCKADDRLEN]; socklen_t socklen; } ngx_udp_recv_event_t; #if (NGX_WIN32) ...
bsd-2-clause
fangeugene/trajopt
src/humanoids/hull2d.cpp
8
2667
#include "hull2d.hpp" #include <algorithm> #include <vector> using namespace Eigen; using namespace std; // http://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain namespace { typedef float coord_t; // coordinate type typedef float coord2_t; // must be big enough to hold 2*...
bsd-2-clause
hugewave/asn1c
libasn1parser/asn1p_y.c
8
154577
/* A Bison parser, made by GNU Bison 2.3. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of th...
bsd-2-clause
pascal-brand-st-dev/optee_os
lib/libutils/isoc/arch/arm/softfloat/source/s_add128.c
10
2152
// SPDX-License-Identifier: BSD-3-Clause /*============================================================================ This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic Package, Release 3a, by John R. Hauser. Copyright 2011, 2012, 2013, 2014, 2015 The Regents of the University of California...
bsd-2-clause
ah744/ScaffCC_RKQC
clang/test/CodeGenCXX/default-arguments.cpp
11
1332
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s // PR5484 namespace PR5484 { struct A { }; extern A a; void f(const A & = a); void g() { f(); } } struct A1 { A1(); ~A1(); }; struct A2 { A2(); ~A2(); }; struct B { B(const A1& = A1(), const A2& = A2()); }; // CHECK: define...
bsd-2-clause
mikedlowis-prototypes/albase
source/kernel/drivers/net/ethernet/smsc/smc91x.c
19
64989
/* * smc91x.c * This is a driver for SMSC's 91C9x/91C1xx single-chip Ethernet devices. * * Copyright (C) 1996 by Erik Stahlman * Copyright (C) 2001 Standard Microsystems Corporation * Developed by Simple Network Magic Corporation * Copyright (C) 2003 Monta Vista Software, Inc. * Unified SMC91x driver by Nicolas...
bsd-2-clause
bureau14/qdb-benchmark
thirdparty/boost/libs/serialization/test/test_check.cpp
57
4561
// (C) Copyright 2009 Robert Ramey // 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) // See http://www.boost.org for most recent version including documentation. // note: this...
bsd-2-clause
andrewjylee/omniplay
linux-lts-quantal-3.5.0/arch/arm/mach-msm/devices-msm7x00.c
1354
9887
/* linux/arch/arm/mach-msm/devices.c * * Copyright (C) 2008 Google, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in...
bsd-2-clause
coverxiaoeye/nginx-openresty-windows
nginx/objs/lib_x64/openssl-1.0.1p/crypto/asn1/x_nx509.c
187
3099
/* x_nx509.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2005. */ /* ==================================================================== * Copyright (c) 2005 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
bsd-2-clause
rubenvb/skia
src/sksl/SkSLLexer.cpp
1
86014
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /***************************************************************************************** ******************** This file was generated by sksllex. Do not edit. **************...
bsd-3-clause
pridolfi/uPOSIX
external/target/lpc1769/lpc_chip_175x_6x/src/clock_17xx_40xx.c
1
13827
/* * @brief LPC17xx/40xx System and Control driver * * @note * Copyright(C) NXP Semiconductors, 2014 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC products. This softw...
bsd-3-clause
kylelutz/chemkit
tests/auto/plugins/gasteiger/gasteigertest.cpp
1
6115
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
bsd-3-clause
teoliphant/numpy-refactor
numpy/core/blasdot/_dotblas.c
1
44301
static char module_doc[] = "This module provides a BLAS \ optimized\nmatrix multiply, inner product and dot for numpy arrays"; #include "Python.h" #include "npy_api.h" #include "npy_descriptor.h" #include "numpy/ndarrayobject.h" #include "numpy/ndarraytypes.h" #ifndef CBLAS_HEADER #define CBLAS_HEADER "cblas.h" #endi...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE195_Signed_to_Unsigned_Conversion_Error/s01/CWE195_Signed_to_Unsigned_Conversion_Error__connect_socket_malloc_68b.c
1
3189
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE195_Signed_to_Unsigned_Conversion_Error__connect_socket_malloc_68b.c Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml Template File: sources-sink-68b.tmpl.c */ /* * @description * CWE: 195 Signed to Unsigned Conversion Error * BadSou...
bsd-3-clause
chshu/openthread
examples/platforms/simulation/virtual_time/platform-sim.c
2
8138
/* * Copyright (c) 2018, The OpenThread Authors. * 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 ...
bsd-3-clause
shengren/magma-1.6.1
testing/testing_zgeqrf_gpu.cpp
2
13437
/* -- MAGMA (version 1.6.1) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date January 2015 @precisions normal z -> c d s */ // includes, system #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> // includes, ...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s04/CWE134_Uncontrolled_Format_String__wchar_t_console_fprintf_64a.c
2
4780
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE134_Uncontrolled_Format_String__wchar_t_console_fprintf_64a.c Label Definition File: CWE134_Uncontrolled_Format_String.label.xml Template File: sources-sinks-64a.tmpl.c */ /* * @description * CWE: 134 Uncontrolled Format String * BadSource: console Read input ...
bsd-3-clause
youtube/cobalt
third_party/angle/src/tests/gl_tests/LinkAndRelinkTest.cpp
2
13520
// // Copyright 2017 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. // // LinkAndRelinkFailureTest: // Link and relink failure tests for rendering pipeline and compute pipeline. #include <vector> #include "test_u...
bsd-3-clause
youtube/cobalt_sandbox
third_party/skia/modules/skottie/src/layers/ShapeLayer.cpp
2
28504
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "modules/skottie/src/SkottiePriv.h" #include "include/core/SkPath.h" #include "modules/skottie/src/SkottieAdapter.h" #include "modules/skottie/src/SkottieJson.h" #in...
bsd-3-clause
malcolmreynolds/GTSAM
wrap/tests/testSpirit.cpp
2
5276
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ---...
bsd-3-clause
Sevalecan/paintown
src/paintown-engine/network/chat_client.cpp
3
18242
#ifdef HAVE_NETWORKING #include "util/graphics/bitmap.h" #include "../network/network.h" #include "util/events.h" #include "chat_client.h" #include "chat.h" #include "util/init.h" #include "util/version.h" #include "util/input/keyboard.h" #include "util/input/input-source.h" #include "util/font.h" #include "util/funcs...
bsd-3-clause
alishakiba/libflame
src/map/lapack2flamec/f2c/c/slarz.c
3
7532
/* ../netlib/slarz.f -- translated by f2c (version 20100827). 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...
bsd-3-clause
ayenter/CS411SampleCode
libnova/src/nutation.c
3
7898
/* * 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 later version. * * This library is distributed in the hope that it...
bsd-3-clause
marado/netkit-telnet
netkit-telnet-0.17/telnetd/setproctitle.c
3
4154
/* * setproctitle implementation for linux. * Stolen from sendmail 8.7.4 and bashed around by David A. Holland */ /* * Copyright (c) 1983, 1995 Eric P. Allman * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, w...
bsd-3-clause
bebo/usrsctp
usrsctplib/netinet/sctp_auth.c
3
61644
/*- * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted pro...
bsd-3-clause
youtube/cobalt
third_party/libjpeg-turbo/rdswitch.c
4
13195
/* * rdswitch.c * * This file was part of the Independent JPEG Group's software: * Copyright (C) 1991-1996, Thomas G. Lane. * libjpeg-turbo Modifications: * Copyright (C) 2010, 2018, 2022, D. R. Commander. * For conditions of distribution and use, see the accompanying README.ijg * file. * * This file contains...
bsd-3-clause
siraj/newos
boot/sparc/libkern/bzero.c
4
2355
/* $OpenBSD: bzero.c,v 1.3 1997/11/07 15:56:38 niklas Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. * 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. Redis...
bsd-3-clause
iPlantCollaborativeOpenSource/irods-3.3.1-iplant
server/api/src/rsSendXmsg.c
5
2625
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* sendXmsg.c */ #include "sendXmsg.h" #include "xmsgLib.h" extern ticketHashQue_t XmsgHashQue[]; extern xmsgQue_t XmsgQue; int rsSendXmsg (rsComm_t *rsComm...
bsd-3-clause
leighpauls/k2cro4
breakpad/src/third_party/libdisasm/ia32_invariant.c
262
8391
#include <stdlib.h> #include <string.h> #include "ia32_invariant.h" #include "ia32_insn.h" #include "ia32_settings.h" extern ia32_table_desc_t *ia32_tables; extern ia32_settings_t ia32_settings; extern size_t ia32_table_lookup( unsigned char *buf, size_t buf_len, unsigned int table, ia32_insn_t **raw_insn, unsi...
bsd-3-clause
MohamedSeliem/contiki
platform/openmote-cc2538/dev/antenna.c
7
3339
/* * Copyright (c) 2014, Thingsquare, http://www.thingsquare.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: * 1. Redistributions of source code must retain the above copyright * ...
bsd-3-clause
joone/chromium-crosswalk
third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp
9
1220
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "modules/bluetooth/NavigatorBluetooth.h" #include "core/frame/Navigator.h" #include "modules/bluetooth/Bluetooth.h" namespace blink { Navigato...
bsd-3-clause
sgraham/nope
third_party/mesa/src/src/mesa/drivers/common/driverfuncs.c
12
12129
/* * Mesa 3-D graphics library * Version: 7.1 * * Copyright (C) 1999-2007 Brian Paul 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, in...
bsd-3-clause
gem5/gem5
ext/systemc/src/sysc/kernel/sc_attribute.cpp
13
4764
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
bsd-3-clause
crosswalk-project/blink-crosswalk
Source/platform/text/StringTruncator.cpp
13
7317
/* * Copyright (C) 2005, 2006, 2007 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 li...
bsd-3-clause
anasazi/POP-REU-Project
pkgs/apps/ferret/src/src/bench.c
14
4094
/* AUTORIGHTS Copyright (C) 2007 Princeton University This file is part of Ferret Toolkit. Ferret Toolkit 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 your option) any later ver...
bsd-3-clause
xlsdg/phantomjs-linux-armv6l
src/qt/src/gui/styles/qstyle.cpp
15
109382
/**************************************************************************** ** ** Copyright (C) 2012 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:LGPL$ ** Commercial License Usage ** Licensees ...
bsd-3-clause
HackLinux/goblin-core
llvm/3.4.2/llvm-3.4.2.src/lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp
16
2725
//===- HexagonRemoveExtendArgs.cpp - Remove unnecessary argument sign extends // // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
bsd-3-clause
zhmz90/OpenBLAS
lapack-netlib/lapacke/src/lapacke_sgbsv.c
18
2747
/***************************************************************************** Copyright (c) 2011, Intel Corp. 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 cod...
bsd-3-clause
MjAbuz/OpenBLAS
lapack-netlib/lapacke/src/lapacke_zhseqr_work.c
18
5369
/***************************************************************************** Copyright (c) 2011, Intel Corp. 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 cod...
bsd-3-clause
dylanede/blaze-lib
blazetest/src/mathtest/smatsmatmult/LCaUCb.cpp
18
5084
//================================================================================================= /*! // \file src/mathtest/smatsmatmult/LCaUCb.cpp // \brief Source file for the LCaUCb sparse matrix/sparse matrix multiplication math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This fi...
bsd-3-clause
wsavoie/blaze-lib
blazemark/src/boost/TDMatDVecMult.cpp
19
4554
//================================================================================================= /*! // \file src/boost/TDMatDVecMult.cpp // \brief Source file for the Boost transpose dense matrix/dense vector multiplication kernel // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file is...
bsd-3-clause
tianzhihen/phantomjs
src/qt/src/gui/widgets/qabstractbutton.cpp
19
39365
/**************************************************************************** ** ** Copyright (C) 2013 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:LGPL$ ** Commercial License Usage ** Licensees ...
bsd-3-clause
castoryan/OpenBLAS
lapack-netlib/SRC/sla_lin_berr.f
24
4466
*> \brief \b SLA_LIN_BERR computes a component-wise relative backward error. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLA_LIN_BERR + dependencies *> <a href="http://www.netlib.org/cgi-bin/n...
bsd-3-clause
bitfusionio/OpenBLAS
lapack-netlib/SRC/clarf.f
24
6362
*> \brief \b CLARF applies an elementary reflector to a general rectangular matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CLARF + dependencies *> <a href="http://www.netlib.org/cgi-bin/n...
bsd-3-clause
grisuthedragon/OpenBLAS
kernel/arm/omatcopy_cn.c
24
2519
/*************************************************************************** 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
GaloisInc/hacrypto
src/C/FELICS/block_ciphers/source/ciphers/LBlock_64_80_v08/source/constants1.c
24
1636
/* * * University of Luxembourg * Laboratory of Algorithmics, Cryptology and Security (LACS) * * FELICS - Fair Evaluation of Lightweight Cryptographic Systems * * Copyright (C) 2015 University of Luxembourg * * Written in 2015 by Daniel Dinu <dumitru-daniel.dinu@uni.lu> * * This file is part of FELICS. * *...
bsd-3-clause
UCSantaCruzComputationalGenomicsLab/clapack
SRC/cung2l.c
26
4873
/* cung2l.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...
bsd-3-clause
gnu3ra/SCC15HPCRepast
INSTALLATION/hdf5-1.8.13/src/H5Tnative.c
26
40783
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
bsd-3-clause
johnmarinelli/nmatrix
ext/nmatrix_lapacke/lapacke/src/lapacke_zgesdd.c
29
4492
/***************************************************************************** Copyright (c) 2011, Intel Corp. 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 cod...
bsd-3-clause
hunslater/pdfium
core/src/fxcodec/libjpeg/fpdfapi_jfdctfst.c
31
7634
#if !defined(_FX_JPEG_TURBO_) /* * jfdctfst.c * * Copyright (C) 1994-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains a fast, not so accurate integer implementation of the * forw...
bsd-3-clause
windyuuy/opera
chromium/src/third_party/mesa/src/src/gallium/auxiliary/draw/draw_pt_emit.c
33
8606
/************************************************************************** * * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas. * 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...
bsd-3-clause
zimbatm/deb-redis
src/adlist.c
40
9528
/* adlist.c - A generic doubly linked list implementation * * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot 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: * * ...
bsd-3-clause
Cue/skia
tests/RefCntTest.cpp
40
4078
/* * 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 "SkTypes.h" #include "Test.h" #include "SkRefCnt.h" #include "SkThreadUtils.h" #include "SkWeakRefCnt.h" #include "SkTRefArray.h" //////////////////////////////////...
bsd-3-clause
hedisdb/hedis
deps/lua/src/lstate.c
1327
5674
/* ** $Id: lstate.c,v 2.36.1.2 2008/01/03 15:20:39 roberto Exp $ ** Global State ** See Copyright Notice in lua.h */ #include <stddef.h> #define lstate_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #include "llex.h" #include "lmem.h" #include "lstate.h...
bsd-3-clause
rsadhu/phantomjs
src/qt/src/3rdparty/webkit/Source/WebCore/css/SVGCSSParser.cpp
56
13637
/* Copyright (C) 2008 Eric Seidel <eric@webkit.org> Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2004, 2005, 2007, 2010 Rob Buis <buis@kde.org> Copyright (C) 2005, 2006 Apple Computer, Inc. This library is free software; you can redistribute it and/or mod...
bsd-3-clause
stan-dev/math
lib/boost_1.78.0/tools/auto_index/src/tiny_xml.cpp
58
7004
// tiny XML sub-set tools implementation -----------------------------------// // (C) Copyright Beman Dawes 2002. 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 "tiny_xml.hpp" #include <cassert> #i...
bsd-3-clause
libigl/eigen
unsupported/bench/bench_svd.cpp
314
3905
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2013 Gauthier Brun <brun.gauthier@gmail.com> // Copyright (C) 2013 Nicolas Carre <nicolas.carre@ensimag.fr> // Copyright (C) 2013 Jean Ceccato <jean.ceccato@ensimag.fr> // Copyright (C) 2013 Pierre Zoppitelli <p...
bsd-3-clause
felipebetancur/scipy
scipy/special/cephes/ellpk.c
60
2709
/* ellpk.c * * Complete elliptic integral of the first kind * * * * SYNOPSIS: * * double m, y, ellpk(); * * y = ellpk( m ); * * * * DESCRIPTION: * * Approximates the integral * * * * pi/2 * - * | | * ...
bsd-3-clause
guorendong/iridium-browser-ubuntu
native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_consistent.c
324
6747
/* * pthread_mutex_consistent.c * * Description: * This translation unit implements mutual exclusion (mutex) primitives. * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyr...
bsd-3-clause
fling-mstar/external-skia
gm/pathreverse.cpp
70
2897
/* * 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 "gm.h" #include "SkCanvas.h" #include "SkPath.h" #include "SkTypeface.h" static void test_path(SkCanvas* canvas, const SkPath& path) { SkPaint paint; paint.s...
bsd-3-clause
AndroidOpenDevelopment/android_external_chromium_org
content/shell/tools/plugin/Tests/SlowNPPNew.cpp
79
3115
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /* * Copyright (C) 2012 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are per...
bsd-3-clause
befelix/scipy
scipy/linalg/_blas_subroutine_wrappers.f
79
5440
c This file was generated by _cython_wrapper_generators.py. c Do not edit this file directly. subroutine cdotcwrp(ret, n, cx, incx, cy, incy) external wcdotc complex wcdotc complex ret integer n complex cx(n) integer incx complex cy(n) integ...
bsd-3-clause
gfreed/android_external_chromium-org
native_client_sdk/src/libraries/third_party/pthreads-win32/signal.c
335
5207
/* * signal.c * * Description: * Thread-aware signal functions. * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyright(C) 1999,2005 Pthreads-win32 contributors * * ...
bsd-3-clause
hhli/redis
deps/jemalloc/src/mutex.c
336
3339
#define JEMALLOC_MUTEX_C_ #include "jemalloc/internal/jemalloc_internal.h" #if defined(JEMALLOC_LAZY_LOCK) && !defined(_WIN32) #include <dlfcn.h> #endif #ifndef _CRT_SPINCOUNT #define _CRT_SPINCOUNT 4000 #endif /******************************************************************************/ /* Data. */ #ifdef JEMAL...
bsd-3-clause
chirilo/phantomjs
src/qt/qtbase/src/widgets/widgets/qtoolbararealayout.cpp
84
43995
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtWidgets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Lice...
bsd-3-clause
iver333/phantomjs
src/qt/qtbase/src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp
84
7083
/*************************************************************************** ** ** Copyright (C) 2012 Research In Motion ** Contact: http://www.qt-project.org/legal ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial...
bsd-3-clause
JosefMeixner/opentoonz
thirdparty/superlu/SuperLU_4.1/SRC/sgsrfs.c
86
15129
/*! @file sgsrfs.c * \brief Improves computed solution to a system of inear equations * * <pre> * -- SuperLU routine (version 3.0) -- * Univ. of California Berkeley, Xerox Palo Alto Research Center, * and Lawrence Berkeley National Lab. * October 15, 2003 * * Modified from lapack routine SGERFS * </pre> */...
bsd-3-clause
mydongistiny/external_chromium_org_third_party_skia
samplecode/SampleStringArt.cpp
89
2155
/* * 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 "SampleCode.h" #include "SkCanvas.h" // Reproduces https://code.google.com/p/chromium/issues/detail?id=279014 // Renders a string art shape. // The particular shape ...
bsd-3-clause
Srisai85/scipy
scipy/sparse/linalg/dsolve/SuperLU/SRC/spruneL.c
92
4069
/*! @file spruneL.c * \brief Prunes the L-structure * *<pre> * -- SuperLU routine (version 2.0) -- * Univ. of California Berkeley, Xerox Palo Alto Research Center, * and Lawrence Berkeley National Lab. * November 15, 1997 * * Copyright (c) 1994 by Xerox Corporation. All rights reserved. * * THIS MATERIAL I...
bsd-3-clause
jtyuan/racetrack
ext/libelf/gelf_checksum.c
93
1851
/*- * Copyright (c) 2006 Joseph Koshy * 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
zhengyongbo/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
112
5695
/* * Copyright (C) 2012 Company 100, 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 condi...
bsd-3-clause
bakhet/badvpn
lwip/src/core/timers.c
368
14651
/** * @file * Stack-internal timers implementation. * This file includes timer callbacks for stack-internal timers as well as * functions to set up or stop timers and check for expired timers. * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution a...
bsd-3-clause
fxtentacle/phantomjs
src/qt/qtwebkit/Source/JavaScriptCore/runtime/SymbolTable.cpp
113
3419
/* * Copyright (C) 2012 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 conditi...
bsd-3-clause
revolutionaryG/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp
113
13181
/* * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com * Copyright (C) 2007 Holger Hans Peter Freyther * Copyright (C) 2008 Christian Dywan <christian@imendio.com> * Copyright (C) 2008 Nuanti Ltd. * Copyright (C) 2008 INdT Instituto Nokia de Tecnolog...
bsd-3-clause
RobertoMalatesta/phantomjs
src/qt/qtwebkit/Source/WTF/wtf/FastMalloc.cpp
113
166170
// Copyright (c) 2005, 2007, Google Inc. // All rights reserved. // Copyright (C) 2005, 2006, 2007, 2008, 2009, 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: // // * Re...
bsd-3-clause
sharma1nitish/phantomjs
src/qt/qtwebkit/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
116
25291
/* * Copyright (C) 2010, 2011, 2012 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 ...
bsd-3-clause
AlbandeCrevoisier/ldd-athens
linux-socfpga/net/netfilter/ipset/ip_set_getport.c
886
3884
/* Copyright (C) 2003-2011 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> * * 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. */ /* Get Layer-4 data from the packets */ #include <lin...
bsd-3-clause
kyroskoh/phantomjs
src/qt/qtwebkit/Source/WebCore/bridge/jsc/BridgeJSC.cpp
119
3158
/* * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. * Copyright 2010, The Android Open Source Project * * 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 ret...
bsd-3-clause
joomel1/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/audio/HRTFKernel.cpp
119
5490
/* * 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 condit...
bsd-3-clause
admetricks/phantomjs
src/qt/qtwebkit/Source/WebKit/win/WebKitClassFactory.cpp
123
5884
/* * Copyright (C) 2006, 2007 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 condi...
bsd-3-clause
Lochlan/phantomjs
src/qt/qtwebkit/Source/WebCore/rendering/mathml/RenderMathMLSquareRoot.cpp
125
1705
/* * Copyright (C) 2009 Alex Milowski (alex@milowski.com). All rights reserved. * Copyright (C) 2010 François Sausset (sausset@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: * ...
bsd-3-clause
GeyerA/android_external_chromium_org
third_party/sqlite/src/src/test_wholenumber.c
144
8380
/* ** 2011 April 02 ** ** 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
Dapid/scipy
scipy/special/amos/zwrsk.f
157
3329
SUBROUTINE ZWRSK(ZRR, ZRI, FNU, KODE, N, YR, YI, NZ, CWR, CWI, * TOL, ELIM, ALIM) C***BEGIN PROLOGUE ZWRSK C***REFER TO ZBESI,ZBESK C C ZWRSK COMPUTES THE I BESSEL FUNCTION FOR RE(Z).GE.0.0 BY C NORMALIZING THE I FUNCTION RATIOS FROM ZRATI BY THE WRONSKIAN C C***ROUTINES CALLED D1MACH,ZBKNU,ZRATI,...
bsd-3-clause
VanirAOSP/external_chromium_org
native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_setschedpolicy.c
420
1810
/* * pthread_attr_setschedpolicy.c * * Description: * POSIX thread functions that deal with thread scheduling. * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyright(C) 1...
bsd-3-clause
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/testsuite/gcc.c-torture/execute/builtins/mempcpy-2.c
216
4486
/* Copyright (C) 2003 Free Software Foundation. Ensure that builtin mempcpy and stpcpy perform correctly. Written by Jakub Jelinek, 21/05/2003. */ extern void abort (void); typedef __SIZE_TYPE__ size_t; extern void *mempcpy (void *, const void *, size_t); extern int memcmp (const void *, const void *, size_t...
bsd-3-clause