repo_name
string
path
string
copies
string
size
string
content
string
license
string
yongli3/rt-thread
bsp/imx6sx/cortex-a9/board/dcic_iomux_config.c
450
1677
/* * Copyright (c) 2012, Freescale Semiconductor, Inc. * All rights reserved. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE...
apache-2.0
Slugger/sagetv
third_party/mingw/pthreads/tests/kill1.c
198
2160
/* * File: kill1.c * * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyright(C) 1999,2005 Pthreads-win32 contributors * * Contact Email: rpj@callisto.canberra.edu.au ...
apache-2.0
Ant-OS/android_kernel_moto_shamu
drivers/gpu/drm/qxl/qxl_display.c
2002
26340
/* * Copyright 2013 Red Hat Inc. * * 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, d...
apache-2.0
OLIMEX/DIY-LAPTOP
SOFTWARE/A64-TERES/linux-a64/net/bridge/br_ioctl.c
211
9111
/* * Ioctl handler * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@gnu.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 (...
apache-2.0
gbcwbz/rt-thread
bsp/imx6sx/iMX6_Platform_SDK/board/mx6sdl/smart_device/rev_c_iomux/uart_iomux_config.c
480
1872
/* * Copyright (c) 2012, Freescale Semiconductor, Inc. * All rights reserved. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE...
apache-2.0
unnikrishnankgs/va
darknet/src/shortcut_layer.c
1
2266
#include "shortcut_layer.h" #include "cuda.h" #include "blas.h" #include "activations.h" #include <stdio.h> #include <assert.h> layer make_shortcut_layer(int batch, int index, int w, int h, int c, int w2, int h2, int c2) { fprintf(stderr,"Shortcut Layer: %d\n", index); layer l; memset(&l, 0, sizeof(l)); ...
bsd-2-clause
wynnr/pbrt-v3
src/shapes/loopsubdiv.cpp
2
16468
/* pbrt source code is Copyright(c) 1998-2015 Matt Pharr, Greg Humphreys, and Wenzel Jakob. This file is part of pbrt. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redi...
bsd-2-clause
mpatraw/bzzd
examples/plain/ex0.c
2
1323
#include <stdio.h> #include <butterfly.h> enum { WALL, FLOOR }; static void draw(int spots[24][80]) { for (int y = 0; y < 24; ++y) { for (int x = 0; x < 80; ++x) { printf("%c", spots[y][x] ? '.' : '#'); } printf("\n"); } } int main(void) { /* This can be created any way you'd like. This is an 80x24 m...
bsd-2-clause
brunolauze/pegasus-providers
UNIXProviders/DiskSpaceCheck/UNIX_DiskSpaceCheckMain.cpp
2
2195
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
bsd-2-clause
JuanKman94/TEMPered
utils/hid-query.c
3
6992
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <hidapi.h> #define DATA_MAX_LENGTH 256 /** Dump the given data to stdout. */ void dump_data( char* name, unsigned char* data, int data_length ) { printf( "%s (%i bytes):", name, data_length ); int i; for ( i = 0 ; i < data_length ; i++ ) { if (...
bsd-2-clause
koolhazz/nginx-0.8.55
src/os/unix/ngx_alloc.c
15
1566
/* * Copyright (C) Igor Sysoev */ #include <ngx_config.h> #include <ngx_core.h> ngx_uint_t ngx_pagesize; ngx_uint_t ngx_pagesize_shift; ngx_uint_t ngx_cacheline_size; void * ngx_alloc(size_t size, ngx_log_t *log) { void *p; p = malloc(size); if (p == NULL) { ngx_log_error(NGX_LOG_EMERG...
bsd-2-clause
mikedlowis-prototypes/albase
source/kernel/arch/arm/mach-zynq/platsmp.c
278
4337
/* * This file contains Xilinx specific SMP code, used to start up * the second processor. * * Copyright (C) 2011-2013 Xilinx * * based on linux/arch/arm/mach-realview/platsmp.c * * Copyright (C) 2002 ARM Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as pub...
bsd-2-clause
endplay/omniplay
eglibc-2.15/sysdeps/unix/sysv/linux/s390/brk.c
27
1582
/* Copyright (C) 2000 Free Software Foundation, Inc. Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com). This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published b...
bsd-2-clause
mdopark/Dexter
project/dexter-opensource/testdata/DefectiveProject/src/LGPL_v2.1/nl-list-caches.c
31
2986
/* * nl-list-caches.c List registered cache types * * 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 version 2.1 * of the License. * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suu...
bsd-2-clause
bhack/caffe
src/caffe/test/test_flatten_layer.cpp
47
3330
// Copyright 2014 BVLC and contributors. #include <cstring> #include <vector> #include "cuda_runtime.h" #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/vision_layers.hpp" #include "caffe/test/test_gradient_check_util.hpp" #include "caffe/test...
bsd-2-clause
sumedhghaisas/hunter
examples/dlib/bayes_net_ex.cpp
48
13064
// The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt /* This is an example illustrating the use of the Bayesian Network inference utilities found in the dlib C++ library. In this example all the nodes in the Bayesian network are boolean variables. That is, ...
bsd-2-clause
skeezix/zikzak
zik80/_reference/stm32f4-vga-build/Libraries/CMSIS/DSP_Lib/Source/TransformFunctions/arm_rfft_q31.c
54
10191
/* ---------------------------------------------------------------------- * Copyright (C) 2010 ARM Limited. All rights reserved. * * $Date: 15. July 2011 * $Revision: V1.0.10 * * Project: CMSIS DSP Library * Title: arm_rfft_q31.c * * Description: RFFT & RIFFT Q31 proce...
bsd-2-clause
berkus/leptonica
prog/fmorphauto_reg.c
62
5699
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
bsd-2-clause
bohuihuang/nginx-192
src/mail/ngx_mail_pop3_module.c
65
7331
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #include <ngx_mail.h> #include <ngx_mail_pop3_module.h> static void *ngx_mail_pop3_create_srv_conf(ngx_conf_t *cf); static char *ngx_mail_pop3_merge_srv_conf(ngx_conf_t *cf, void *p...
bsd-2-clause
aspotashev/leptonica-1.71-cmake
src/dwacomb.2.c
67
11320
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
bsd-2-clause
andrewjylee/omniplay
linux-lts-quantal-3.5.0/drivers/clocksource/sh_cmt.c
127
17955
/* * SuperH Timer Support - CMT * * Copyright (C) 2008 Magnus Damm * * 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 * * This program is distributed in ...
bsd-2-clause
alpine9000/BitOS
newlib-2.0.0-r/newlib/libc/iconv/ccs/koi8_ru.c
143
14622
/* * This file was generated automatically - don't edit it. * File contains iconv CCS tables for koi8_ru encoding. */ #include "ccsbi.h" #if defined (ICONV_TO_UCS_CCS_KOI8_RU) \ || defined (ICONV_FROM_UCS_CCS_KOI8_RU) #include <_ansi.h> #include <sys/types.h> #include <sys/param.h> #include "ccs.h" #include "ccs...
bsd-2-clause
mikedlowis-prototypes/albase
source/kernel/drivers/clk/mxs/clk-div.c
416
2662
/* * Copyright 2012 Freescale Semiconductor, Inc. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.or...
bsd-2-clause
approx-uw/rumor_spreading
simulate.cpp
1
4747
#include "include/alphas_strategies.h" #include "include/duration.h" #include "include/graph.h" #include "include/models.h" #include <boost/program_options.hpp> #include <cassert> #include <fstream> #include <iostream> using namespace std; bool file_exists(const char *fileName) { std::ifstream infile(fileNa...
bsd-3-clause
ImanolFotia/Epsilon-Engine-Mathematics
src/vec3.cpp
1
1902
#include "../include/vec3.h" #include "../include/functions.h" namespace EMath { vec3::vec3(float xi, float yi, float zi) { x = xi; y = yi; z = zi; length = sqrt((x * x) + ( y * y ) + ( z * z )); if(length < 0) length *= -1; } vec3::vec3(vec2 vector2, float zi) { x = vector2.x; ...
bsd-3-clause
tjolsen/chrono
src/demos/irrlicht/demo_IRR_mecanum.cpp
2
16150
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE672_Operation_on_Resource_After_Expiration_or_Release/CWE672_Operation_on_Resource_After_Expiration_or_Release__list_int_10.cpp
2
5828
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE672_Operation_on_Resource_After_Expiration_or_Release__list_int_10.cpp Label Definition File: CWE672_Operation_on_Resource_After_Expiration_or_Release__list_int.label.xml Template File: sources-sinks-10.tmpl.cpp */ /* * @description * CWE: 672 Operation on Resou...
bsd-3-clause
JianpingZeng/xcc
xcc/test/mediabench4/mesa/src/depth.c
2
20032
/* $Id: depth.c,v 1.8 1997/02/27 19:58:52 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 2.2 * Copyright (C) 1995-1997 Brian Paul * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Softwa...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE121_Stack_Based_Buffer_Overflow/s02/CWE121_Stack_Based_Buffer_Overflow__CWE193_wchar_t_declare_cpy_53b.c
2
1788
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE193_wchar_t_declare_cpy_53b.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE193.label.xml Template File: sources-sink-53b.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Point...
bsd-3-clause
ondra-novak/blink
Source/web/WebInputEvent.cpp
2
6680
/* * Copyright (C) 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 conditio...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE194_Unexpected_Sign_Extension/s01/CWE194_Unexpected_Sign_Extension__connect_socket_memcpy_68a.c
2
5427
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE194_Unexpected_Sign_Extension__connect_socket_memcpy_68a.c Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml Template File: sources-sink-68a.tmpl.c */ /* * @description * CWE: 194 Unexpected Sign Extension * BadSource: connect_socket Read data ...
bsd-3-clause
zhangshine/MdCharm
src/MdCharm/util/gui/findandreplace.cpp
2
4449
#include "findandreplace.h" #include "ui_findandreplaceform.h" FindAndReplace::FindAndReplace(QWidget *parent) : QWidget(parent), ui(new Ui::FindAndReplaceForm) { ui->setupUi(this); closeFindButton = ui->closeFindToolButton; prevFindButton = ui->prevFindToolButton; nextFindButton = ui->nextFindToo...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s02/CWE762_Mismatched_Memory_Management_Routines__delete_array_wchar_t_malloc_52b.cpp
2
1372
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_wchar_t_malloc_52b.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml Template File: sources-sinks-52b.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory...
bsd-3-clause
fourier49/BZ_DEV_EC
board/rambi/board.c
3
3901
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* EC for Rambi board configuration */ #include "adc.h" #include "adc_chip.h" #include "backlight.h" #include "charge_state.h" #include "charge...
bsd-3-clause
derekmarcotte/go
src/runtime/cgo/gcc_darwin_arm.c
3
4458
// Copyright 2014 The Go 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 <limits.h> #include <pthread.h> #include <signal.h> #include <string.h> /* for strerror */ #include <sys/param.h> #include <unistd.h> #include "libcgo...
bsd-3-clause
doubi-workshop/grpc
test/core/transport/metadata_test.c
3
8429
/* * * Copyright 2015, 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 condi...
bsd-3-clause
appleseedhq/cortex
src/IECoreNuke/MeshToNukeGeometryConverter.cpp
4
5677
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2010, Image Engine Design 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
cpforbes/lumina
src-qt5/core/lumina-desktop/desktop-plugins/rssreader/RSSObjects.cpp
4
14526
//=========================================== // Lumina-DE source code // Copyright (c) 2016, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "RSSObjects.h" #include <QNetworkRequest> #include <QXmlStreamReader> #...
bsd-3-clause
matsumoto-r/synciga
src/third_party/opus/src/tests/test_opus_api.c
5
60430
/* Copyright (c) 2011 Xiph.Org Foundation Written by Gregory Maxwell */ /* 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 ...
bsd-3-clause
RetroBSD/retrobsd
src/cmd/cron/database.c
5
6589
/* Copyright 1988,1990,1993,1994 by Paul Vixie * All rights reserved * * Distribute freely, except: don't remove my name from the source or * documentation (don't take credit for my work), mark your changes (don't * get me blamed for your possible bugs), don't alter or remove this * notice. May be sold if builda...
bsd-3-clause
Multi2Sim/m2s-bench-parsec-3.0-src
libs/mesa/src/src/mesa/drivers/dri/i915/i915_context.c
6
6195
/************************************************************************** * * Copyright 2003 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 * "Softwa...
bsd-3-clause
liuqx315/Sundials
sundials/src/cvodes/cvodes_spgmr.c
6
17311
/* * ----------------------------------------------------------------- * $Revision: 4272 $ * $Date: 2014-12-02 11:19:41 -0800 (Tue, 02 Dec 2014) $ * ----------------------------------------------------------------- * Programmer(s): Radu Serban @ LLNL * ------------------------------------------------------------...
bsd-3-clause
tempbottle/ardb
src/command/t_bitset.cpp
7
28929
/* *Copyright (c) 2013-2014, yinqiwen <yinqiwen@gmail.com> *All rights reserved. * *Redistribution and use in source and binary forms, with or without *modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * t...
bsd-3-clause
ironm73/blaze-lib
blazetest/src/mathtest/dmatdmatmult/LDbSUDa.cpp
7
4347
//================================================================================================= /*! // \file src/mathtest/dmatdmatmult/LDbSUDa.cpp // \brief Source file for the LDbSUDa dense matrix/dense matrix multiplication math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This fi...
bsd-3-clause
hujiajie/chromium-crosswalk
third_party/WebKit/Source/modules/push_messaging/PushController.cpp
9
1085
// 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/push_messaging/PushController.h" #include "public/platform/modules/push_messaging/WebPushClient.h" #include "wtf/PassOwnPtr.h" namespa...
bsd-3-clause
GafferHQ/gaffer
src/GafferDelight/IECoreDelightPreview/ParameterList.cpp
10
7219
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2017, John Haddon. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistribution...
bsd-3-clause
endlessm/chromium-browser
third_party/wds/gen/messagescanner.cpp
12
140951
#line 10 "messagelexer.l" /* * This file is part of Wireless Display Software for Linux OS * * Copyright (C) 2015 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundatio...
bsd-3-clause
dorofiykolya/blaze-lib
blazetest/src/mathtest/dmatsmatmult/UDbDCa.cpp
13
4474
//================================================================================================= /*! // \file src/mathtest/dmatsmatmult/UDbDCa.cpp // \brief Source file for the UDbDCa dense matrix/sparse matrix multiplication math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This fil...
bsd-3-clause
hassanabidpk/react-native
ReactAndroid/src/main/jni/first-party/jni/LocalString.cpp
272
7156
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include <j...
bsd-3-clause
surround-io/grpc
test/core/support/murmur_hash_test.c
17
3065
/* * * Copyright 2015, 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 condi...
bsd-3-clause
ModdedPA/android_external_skia
tools/skpdiff/skpdiff_util.cpp
18
8299
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #if SK_BUILD_FOR_MAC || SK_BUILD_FOR_UNIX || SK_BUILD_FOR_ANDROID # include <unistd.h> # include <sys/time.h> # include <dirent.h> #endif #if SK_BUILD_FOR_MAC || SK_BUI...
bsd-3-clause
ghc-android/ghc
testsuite/tests/rts/testmblockalloc.c
20
1475
#include "Rts.h" #include <stdio.h> // 16 * 64 == max 1GB const int MAXALLOC = 16; const int ARRSIZE = 64; const int LOOPS = 1000; const int SEED = 0xf00f00; extern lnat mblocks_allocated; int main (int argc, char *argv[]) { int i, j, b; void *a[ARRSIZE]; nat sizes[ARRSIZE]; srand(SEED); ...
bsd-3-clause
enginekit/redis
src/Win32_Interop/Win32_dlmalloc.c
21
224070
/* * Copyright (c), Microsoft Open Technologies, 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
hbwhlklive/color-emoji.skia
gm/mixedxfermodes.cpp
22
4997
/* * 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 "gm.h" #include "SkBitmap.h" #include "SkRandom.h" #include "SkShader.h" #include "SkXfermode.h" namespace skiagm { /** * Renders overlapping shapes with random Sk...
bsd-3-clause
hoangt/goblin-core
llvm/3.4.2/llvm-3.4.2.src/lib/Target/Mips/MipsAnalyzeImmediate.cpp
27
4589
//===-- MipsAnalyzeImmediate.cpp - Analyze Immediates ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
bsd-3-clause
zhongzw/skia-sdl
tests/SkpSkGrTest.cpp
28
24715
#if !SK_SUPPORT_GPU #error "GPU support required" #endif #include "GrContext.h" #include "GrContextFactory.h" #include "GrRenderTarget.h" #include "SkGpuDevice.h" #include "gl/GrGLDefines.h" #include "SkBitmap.h" #include "SkColor.h" #include "SkDevice.h" #include "SkCanvas.h" #include "SkGraphics.h" #include "SkImag...
bsd-3-clause
AOSP-S4-KK/platform_external_skia
src/core/SkPictureRecord.cpp
28
53409
/* * 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 "SkPictureRecord.h" #include "SkTSearch.h" #include "SkPixelRef.h" #include "SkRRect.h" #include "SkBBoxHierarchy.h" #include "SkDevice.h" #include "SkPictureStateTre...
bsd-3-clause
dxander/libflame
lapack-test/3.4.2/LIN/stbt05.f
32
10232
*> \brief \b STBT05 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE STBT05( UPLO, TRANS, DIAG, N, KD, NRHS, AB, LDAB, B, * LDB, X, LDX, XACT, LDXA...
bsd-3-clause
loopCM/chromium
third_party/mesa/MesaLib/src/mesa/drivers/dri/i915/i915_state.c
32
35557
/************************************************************************** * * Copyright 2003 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 * "Softwa...
bsd-3-clause
rogerwang/chromium
third_party/mesa/MesaLib/src/mesa/drivers/dri/savage/savagespan.c
33
7940
/* * Copyright 1998-2003 VIA Technologies, Inc. All Rights Reserved. * Copyright 2001-2003 S3 Graphics, 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 witho...
bsd-3-clause
mwgoldsmith/ilbc
ilbc/interpolate.c
34
1414
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
bsd-3-clause
MarshedOut/android_external_skia
src/pathops/SkDQuadLineIntersection.cpp
34
15923
/* * 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 "SkIntersections.h" #include "SkPathOpsLine.h" #include "SkPathOpsQuad.h" /* Find the interection of a line and quadratic by solving for valid t values. From http://...
bsd-3-clause
noselhq/skia
tests/RefCntTest.cpp
36
2096
/* * 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 "SkRefCnt.h" #include "SkThreadUtils.h" #include "SkTypes.h" #include "SkWeakRefCnt.h" #include "Test.h" static void bounce_ref(void* data) { SkRefCnt* ref = sta...
bsd-3-clause
pcwalton/skia
gm/convexpaths.cpp
36
12200
/* * 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 "SkRandom.h" #include "SkTArray.h" class SkDoOnce : SkNoncopyable { public: SkDoOnce() { fDidOnce = false; } bool needToDo() const { return ...
bsd-3-clause
neviim/boo
lib/antlr-2.7.5/lib/cpp/src/dll.cpp
42
10181
/* ANTLR Translator Generator * Project led by Terence Parr at http://www.jGuru.com * Software rights: http://www.antlr.org/license.html * * $Id:$ */ /* * DLL stub for MSVC++. Based upon versions of Stephen Naughton and Michael * T. Richter */ // RK: Uncommented by instruction of Alexander Lenski //#if _MSC_V...
bsd-3-clause
neraliu/tpjs
src/qt/src/3rdparty/webkit/Source/WebCore/loader/cache/MemoryCache.cpp
43
24545
/* Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) Copyright (C) 2001 Dirk Mueller (mueller@kde.org) Copyright (C) 2002 Waldo Bastian (bastian@kde.org) Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. This library is free software; you can redistribute it and/or mo...
bsd-3-clause
kzhong1991/Flight-AR.Drone-2
src/3rdparty/Qt4.8.4/src/3rdparty/webkit/Source/JavaScriptCore/runtime/JSStaticScopeObject.cpp
43
3205
/* * Copyright (C) 2008, 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 condit...
bsd-3-clause
AlbandeCrevoisier/ldd-athens
linux-socfpga/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
47
101093
/* * Hardware modules present on the DRA7xx chips * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com * * Paul Walmsley * Benoit Cousson * * This file is automatically generated from the OMAP hardware databases. * We respectfully ask that any modifications to this file be coordinated * w...
bsd-3-clause
AlbandeCrevoisier/ldd-athens
linux-socfpga/lib/rbtree_test.c
2101
5681
#include <linux/module.h> #include <linux/rbtree_augmented.h> #include <linux/random.h> #include <asm/timex.h> #define NODES 100 #define PERF_LOOPS 100000 #define CHECK_LOOPS 100 struct test_node { u32 key; struct rb_node rb; /* following fields used for testing augmented rbtree functionality */ u32 val; ...
bsd-3-clause
miselin/grpc
src/core/lib/json/json_string.c
56
12523
/* * * Copyright 2015, 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 condi...
bsd-3-clause
locnx1984/pcl
cuda/sample_consensus/src/msac.cpp
63
13637
/* * Software License Agreement (BSD License) * * Copyright (c) 2009, Willow Garage, 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 mu...
bsd-3-clause
Omegaphora/external_skia
samplecode/SampleFilterFuzz.cpp
66
17331
/* * 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 "SkAlphaThresholdFilter.h" #include "SkBicubicImageFilter.h" #include "SkBitmapDevice.h" #include "SkBitmapSource.h" #include "SkBlurImageFilte...
bsd-3-clause
lynnard/cocos2d-hs
cbits/cocos/editor-support/cocosbuilder/CCNode+CCBRelativePositioning.cpp
73
1758
#include "CCNode+CCBRelativePositioning.h" #include "CCBReader.h" using namespace cocos2d; namespace cocosbuilder { CC_DLL Vec2 getAbsolutePosition(const Vec2 &pt, CCBReader::PositionType type, const Size &containerSize, const std::string& propName) { Vec2 absPt; if (type == CCBReader::PositionType::RELATIVE...
bsd-3-clause
neraliu/tpjs
src/qt/src/3rdparty/webkit/Source/WebCore/platform/graphics/qt/PatternQt.cpp
73
1808
/* * Copyright (C) 2008 Eric Seidel <eric@webkit.org> * * 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 and...
bsd-3-clause
ondra-novak/chromium.src
native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_threadDestroy.c
339
2545
/* * ptw32_threadDestroy.c * * Description: * This translation unit implements routines which are private to * the implementation and may be used throughout it. * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyr...
bsd-3-clause
mark-ignacio/phantomjs
src/qt/qtbase/src/network/socket/qtcpserver.cpp
84
21911
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtNetwork module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Lice...
bsd-3-clause
woodpecker1/phantomjs
src/qt/qtbase/src/gui/text/qfontsubset.cpp
84
43679
/**************************************************************************** ** ** 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
yiakwy/numpy
numpy/core/src/npymath/halffloat.c
87
15767
#define NPY_NO_DEPRECATED_API NPY_API_VERSION #include "numpy/halffloat.h" /* * This chooses between 'ties to even' and 'ties away from zero'. */ #define NPY_HALF_ROUND_TIES_TO_EVEN 1 /* * If these are 1, the conversions try to trigger underflow, * overflow, and invalid exceptions in the FP system when needed. */...
bsd-3-clause
richasinha/redis-OS-project
deps/jemalloc/test/integration/mallocx.c
90
4116
#include "test/jemalloc_test.h" static unsigned get_nsizes_impl(const char *cmd) { unsigned ret; size_t z; z = sizeof(unsigned); assert_d_eq(mallctl(cmd, &ret, &z, NULL, 0), 0, "Unexpected mallctl(\"%s\", ...) failure", cmd); return (ret); } static unsigned get_nhuge(void) { return (get_nsizes_impl("are...
bsd-3-clause
jonycgn/scipy
scipy/interpolate/fitpack/fptrpe.f
91
6472
subroutine fptrpe(m,mm,idim,n,nr,sp,p,b,z,a,aa,q,right) c subroutine fptrpe reduces the (m+n-7) x (n-7) cyclic bandmatrix a c to upper triangular form and applies the same givens transformations c to the (m) x (mm) x (idim) matrix z to obtain the (n-7) x (mm) x c (idim) matrix q. c .. c ..scalar arguments.....
bsd-3-clause
lordadamson/opentoonz
thirdparty/superlu/SuperLU_4.1/SRC/creadhb.c
92
7795
/*! @file creadhb.c * \brief Read a matrix stored in Harwell-Boeing format * * <pre> * -- SuperLU routine (version 2.0) -- * Univ. of California Berkeley, Xerox Palo Alto Research Center, * and Lawrence Berkeley National Lab. * November 15, 1997 * * Purpose * ======= * * Read a COMPLEX PRECISION matrix st...
bsd-3-clause
VinceZK/phantomjs
src/qt/qtwebkit/Source/WebCore/rendering/RenderLayer.cpp
103
272690
/* * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. * * Portions are Copyright (C) 1998 Netscape Communications Corporation. * * Other contributors: * Robert O'Callahan <roc+@cs.cmu.edu> * David Baron <dbaron@fas.harvard.edu> * Christian Biesinger <cbiesinger@web.de...
bsd-3-clause
Rastii/badvpn
examples/substring_test.c
360
6237
/** * @file substring_test.c * @author Ambroz Bizjak <ambrop7@gmail.com> * * @section LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright...
bsd-3-clause
mgaitan/scipy
scipy/special/cdflib/gratio.f
106
12512
SUBROUTINE gratio(a,x,ans,qans,ind) C ---------------------------------------------------------------------- C EVALUATION OF THE INCOMPLETE GAMMA RATIO FUNCTIONS C P(A,X) AND Q(A,X) C C ---------- C C IT IS ASSUMED THAT A AND X ARE NONNEGATIVE, WHERE A AND X ...
bsd-3-clause
OptiPop/external_chromium_org
net/third_party/nss/ssl/dtlscon.c
108
34189
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * DTLS Protocol */ #include "ssl.h" #include "sslimpl.h" #include "sslproto.h" #ifndef PR_ARRAY_SIZE #defin...
bsd-3-clause
trankmichael/scipy
scipy/special/cdflib/cdfbet.f
109
8472
SUBROUTINE cdfbet(which,p,q,x,y,a,b,status,bound) C********************************************************************** C C SUBROUTINE CDFBET( WHICH, P, Q, X, Y, A, B, STATUS, BOUND ) C Cumulative Distribution Function C BETa Distribution C C C ...
bsd-3-clause
gskachkov/phantomjs
src/qt/qtwebkit/Source/WebCore/bindings/js/JSDataViewCustom.cpp
113
3846
/* * 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
bjko/phantomjs
src/qt/qtwebkit/Source/WebCore/dom/NodeTraversal.cpp
117
5481
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights ...
bsd-3-clause
iradul/phantomjs-clone
src/qt/qtwebkit/Source/WebCore/html/HTMLDataListElement.cpp
117
2525
/* * Copyright (C) 2009 Google Inc. All rights reserved. * Copyright (C) 2010 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: * * * Redistributions of source code must retai...
bsd-3-clause
bmotlaghFLT/FLT_PhantomJS
src/qt/qtwebkit/Source/WebCore/editing/ReplaceNodeWithSpanCommand.cpp
118
3417
/* * Copyright (c) 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 condit...
bsd-3-clause
you21979/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/graphics/wince/SharedBitmap.cpp
119
20639
/* * Copyright (C) 2007-2009 Torch Mobile, Inc. All rights reserved. * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundatio...
bsd-3-clause
Andrey-Pavlov/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/qt/LoggingQt.cpp
119
1973
/* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
bsd-3-clause
JingZhou0404/phantomjs
src/qt/qtwebkit/Source/WebCore/inspector/InjectedScriptCanvasModule.cpp
119
8219
/* * 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 * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
bsd-3-clause
javarange/mongrel2
src/polarssl/version.c
119
1512
/* * Version information * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it ...
bsd-3-clause
asrie/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/graphics/transforms/TransformOperations.cpp
125
4285
/* * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundat...
bsd-3-clause
HealthyHoney/temasek_SKIA
experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfTextAnnotationDictionary_autogen.cpp
127
2132
/* * 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 "SkPdfTextAnnotationDictionary_autogen.h" #include "SkPdfNativeDoc.h" SkString SkPdfTextAnnotationDictionary::Subtype(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret =...
bsd-3-clause
sigysmund/platform_external_skia
src/pathops/SkPathOpsBounds.cpp
131
1128
/* * 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 "SkPathOpsBounds.h" #include "SkPathOpsCubic.h" #include "SkPathOpsLine.h" #include "SkPathOpsQuad.h" void SkPathOpsBounds::setCubicBounds(const SkPoint a[4]) { S...
bsd-3-clause
zaxliu/scipy
scipy/linalg/src/id_dist/src/id_rand.f
139
10974
c this file contains the following user-callable routines: c c c routine id_frand generates pseudorandom numbers c drawn uniformly from [0,1]. id_frand is more c efficient that id_srand, but cannot generate c fewer than 55 pseudorandom numbers per call. c c routine id_srand generates...
bsd-3-clause
woodpecker1/phantomjs
src/qt/qtwebkit/Tools/WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp
140
2496
/* * 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
anntzer/scipy
scipy/sparse/linalg/_eigen/arpack/ARPACK/SRC/dsconv.f
141
3458
c----------------------------------------------------------------------- c\BeginDoc c c\Name: dsconv c c\Description: c Convergence testing for the symmetric Arnoldi eigenvalue routine. c c\Usage: c call dsconv c ( N, RITZ, BOUNDS, TOL, NCONV ) c c\Arguments c N Integer. (INPUT) c Number of Ritz...
bsd-3-clause