repo_name
string
path
string
copies
string
size
string
content
string
license
string
ondra-novak/blink
Source/core/timing/PerformanceResourceTiming.cpp
2
6918
/* * Copyright (C) 2012 Google Inc. All rights reserved. * Copyright (C) 2012 Intel 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
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s05/CWE122_Heap_Based_Buffer_Overflow__cpp_dest_char_cat_44.cpp
2
3305
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_dest_char_cat_44.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_dest.label.xml Template File: sources-sink-44.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Allocate usin...
bsd-3-clause
davetcoleman/moveit
moveit_ros/benchmarks/src/RunBenchmark.cpp
2
2481
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2015, Rice University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
bsd-3-clause
goddardl/cortex
src/IECore/StandardRadialLensModel.cpp
3
9349
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013, 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
espadrine/opera
chromium/src/third_party/WebKit/Source/WebKit/chromium/src/WebHitTestResult.cpp
3
2962
/* * 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: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and...
bsd-3-clause
danielknorr/MITK
Plugins/org.mitk.gui.qt.ext/src/QmitkOpenDicomEditorAction.cpp
3
3640
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
bsd-3-clause
yaowee/libflame
lapack-test/lapack-timing/EIG/EIGSRC/dbdsqr.f
4
23962
SUBROUTINE DBDSQR( UPLO, N, NCVT, NRU, NCC, D, E, VT, LDVT, U, $ LDU, C, LDC, WORK, INFO ) * * -- LAPACK routine (instrumented to count operations, version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice Univ...
bsd-3-clause
umbrant/libmemcached
libmemcached/hash.c
5
3604
/* LibMemcached * Copyright (C) 2006-2010 Brian Aker * All rights reserved. * * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. * * Summary: * */ #include "common.h" uint32_t memcached_generate_hash_value(const char *key, size_t key_length...
bsd-3-clause
openthread/openthread
src/core/api/icmp6_api.cpp
5
2738
/* * Copyright (c) 2016, 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
ethz-asl/Schweizer-Messer
sm_kinematics/src/homogeneous_coordinates.cpp
6
2692
#include <sm/kinematics/homogeneous_coordinates.hpp> #include <sm/assert_macros.hpp> namespace sm { namespace kinematics{ Eigen::Matrix<double,4,3> toHomogeneousJacobian(const Eigen::Vector3d &) { return Eigen::Matrix<double,4,3>::Identity(); } Eigen::Vector4d toHomogeneous(const Eigen::Vector3...
bsd-3-clause
youtube/cobalt_sandbox
third_party/llvm-project/libcxx/test/std/containers/sequences/deque/deque.modifiers/erase_iter.pass.cpp
7
2297
//===----------------------------------------------------------------------===// // // 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
kelvincheung/rt_hostap
src/crypto/tls_gnutls.c
7
38500
/* * SSL/TLS interface functions for GnuTLS * Copyright (c) 2004-2011, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include <gnutls/gnutls.h> #include <gnutls/x509.h> #ifdef PKCS12_FUNCS #include <gnutls/...
bsd-3-clause
openthread/ot-rtos
third_party/freertos/repo/FreeRTOS/Source/event_groups.c
7
26791
/* * FreeRTOS Kernel V10.1.1 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. 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, ...
bsd-3-clause
UECIDE/UECIDE_data
compilers/sdcc/windows/sdcc/lib/src/pic16/libsdcc/gptr/eeprom8_gptrput3.c
7
2760
/*------------------------------------------------------------------------- eeprom8_gptrput3.c - write 3 byte value to EEPROM via a generic pointer Copyright (C) 2012 Raphael Neider <rneider AT web.de> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Gener...
bsd-3-clause
gcds/project_xxx
nuttx/libc/stdio/lib_fsetpos.c
8
4785
/**************************************************************************** * libc/stdio/lib_fsetpos.c * * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitte...
bsd-3-clause
adobe/chromium
skia/ext/SkMemory_new_handler.cpp
10
1666
// Copyright (c) 2012 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 <stdio.h> #include <stdlib.h> #include <new> #include "third_party/skia/include/core/SkTypes.h" #include "third_party/skia/include/core/SkTh...
bsd-3-clause
surround-io/grpc
src/core/census/context.c
11
2292
/* * * 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
goddino/libjingle
trunk/third_party/libvpx/source/libvpx/examples/encoder_tmpl.c
15
5278
/* * 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
krakensden/mongrel2
src/adt/radixmap.c
15
7168
/* * Based on code by Andre Reinald. */ #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <mem/halloc.h> #include "adt/radixmap.h" #include "dbg.h" // undefine this to run the more correct but slower sort #define FAST_OPS #define ByteOf(x,y) (((uint8_t *)x)[(y)]) static inline void radix_sort(shor...
bsd-3-clause
NiteshKedia/Network-Measures-in-Social-Media-Twitter-
matlab_bgl/private/fruchterman_reingold_mex.c
15
3398
/** @file fruchterman_reingold_mex.c * @copyright Stanford University, 2008 * @author David F. Gleich * The mex interface to the matlab bgl wrapper. */ /** History * 2008-09-26: Initial version */ #include "mex.h" #if MX_API_VER < 0x07030000 typedef int mwIndex; typedef int mwSize; #endif /* MX_API_VER */ #in...
bsd-3-clause
hpanderson/OpenBLAS
lapack-netlib/lapacke/src/lapacke_cgbtrs.c
18
2844
/***************************************************************************** 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
alongwithyou/OpenBLAS
lapack-netlib/lapacke/src/lapacke_dlansy_work.c
18
3534
/***************************************************************************** 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
endlessm/chromium-browser
third_party/angle/third_party/VK-GL-CTS/src/framework/common/tcuFactoryRegistry.cpp
18
2688
/*------------------------------------------------------------------------- * drawElements Quality Program Tester Core * ---------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
bsd-3-clause
wesolows/golang-old
src/runtime/mem_nacl.c
19
2788
// Copyright 2010 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 "runtime.h" #include "arch_GOARCH.h" #include "defs_GOOS_GOARCH.h" #include "os_GOOS.h" #include "malloc.h" #include "textflag.h" enum { Debug = 0, ...
bsd-3-clause
neraliu/tpjs
src/qt/src/corelib/io/qprocess_win.cpp
19
29198
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees...
bsd-3-clause
mafintosh/phantomjs
src/qt/src/gui/kernel/qeventdispatcher_s60.cpp
19
4351
/**************************************************************************** ** ** 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
tcolar/golang
src/cmd/5c/sgen.c
22
5047
// Inferno utils/5c/sgen.c // http://code.google.com/p/inferno-os/source/browse/utils/5c/sgen.c // // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) // Portions Copyright © 1997-1999 Vita Nuova Limited // Portions Copyright © 20...
bsd-3-clause
walkerka/opentoonz
thirdparty/openblas/xianyi-OpenBLAS-e6e87a2/lapack/trtri/trtri_L_parallel.c
24
5137
/*********************************************************************/ /* Copyright 2009, 2010 The University of Texas at Austin. */ /* All rights reserved. */ /* */ /* Redistribution and use in sou...
bsd-3-clause
AOSPB/external_skia
src/opts/SkBlitRow_opts_SSE4.cpp
25
2643
#include "SkBlitRow_opts_SSE4.h" // Some compilers can't compile SSSE3 or SSE4 intrinsics. We give them stub methods. // The stubs should never be called, so we make them crash just to confirm that. #if SK_CPU_SSE_LEVEL < SK_CPU_SSE_LEVEL_SSE41 void S32A_Opaque_BlitRow32_SSE4(SkPMColor* SK_RESTRICT, const SkPMColor* ...
bsd-3-clause
TingPing/xenia
third_party/crunch/crnlib/crn_comp.cpp
26
73782
// File: crn_comp.cpp // See Copyright Notice and license at the end of inc/crnlib.h #include "crn_core.h" #include "crn_console.h" #include "crn_comp.h" #include "crn_zeng.h" #include "crn_checksum.h" #define CRNLIB_CREATE_DEBUG_IMAGES 0 #define CRNLIB_ENABLE_DEBUG_MESSAGES 0 namespace crnlib { static const uint ...
bsd-3-clause
gavinp/chromium
third_party/mesa/MesaLib/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
32
19780
/************************************************************************** * * Copyright 2007 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
CyanMobile/android_external_libvpx_cyanmobile
vpx_mem/memory_manager/hmm_alloc.c
37
1710
/* * 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
Bysmyyr/blink-crosswalk
Source/core/dom/ChildFrameDisconnector.cpp
38
3394
// 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 "config.h" #include "core/dom/ChildFrameDisconnector.h" #include "core/dom/shadow/ElementShadow.h" #include "core/dom/shadow/ShadowRoot.h" #incl...
bsd-3-clause
pkeb/sdl_core
src/3rd_party/apr-util-1.5.3/misc/apr_thread_pool.c
57
28874
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may...
bsd-3-clause
jefleponot/phantomjs
src/qt/src/3rdparty/webkit/Source/WebCore/platform/text/TextStream.cpp
58
3839
/* * Copyright (C) 2004, 2008, 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
bsd-3-clause
Nerei/pcl_old_repo
apps/point_cloud_editor/src/denoiseCommand.cpp
59
3281
/// /// Copyright (c) 2012, Texas A&M University /// 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...
bsd-3-clause
hendradarwin/VTK
ThirdParty/exodusII/vtkexodusII/expem.c
62
2737
/* * Copyright (c) 2006 Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement * retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...
bsd-3-clause
revolutionaryG/phantomjs
src/qt/qtbase/src/3rdparty/freetype/src/autofit/afdummy.c
322
2127
/***************************************************************************/ /* */ /* afdummy.c */ /* */ /* Au...
bsd-3-clause
keishi/chromium
third_party/libpng/pnggccrd.c
327
4792
/* pnggccrd.c was removed from libpng-1.2.20. */ /* This code snippet is for use by configure's compilation test. */ #if (!defined _MSC_VER) && \ defined(PNG_ASSEMBLER_CODE_SUPPORTED) && \ defined(PNG_MMX_CODE_SUPPORTED) int PNGAPI png_dummy_mmx_support(void); static int _mmx_supported = 2; // 0: no MMX; 1:...
bsd-3-clause
grevutiu-gabriel/phantomjs
src/qt/qtbase/src/network/socket/qnativesocketengine.cpp
84
44960
/**************************************************************************** ** ** 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
jkburges/phantomjs
src/qt/qtbase/src/plugins/platforms/qnx/qqnxbuffer.cpp
84
4600
/*************************************************************************** ** ** Copyright (C) 2011 - 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 com...
bsd-3-clause
F-AOSP/platform_external_skia
samplecode/SampleSpiral.cpp
98
1843
/* * 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" class SpiralView : public SampleView { public: SpiralView() { this->setBGColor(0xFFDDDDDD); ...
bsd-3-clause
linjeffrey/phantomjs
src/qt/qtbase/src/3rdparty/freetype/src/cid/cidriver.c
355
6253
/***************************************************************************/ /* */ /* cidriver.c */ /* */ /* CI...
bsd-3-clause
ramanajee/phantomjs
src/qt/qtwebkit/Source/WebCore/rendering/RenderBlock.cpp
102
377960
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2007 David Smith (catfish.man@gmail.com) * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. * Copyright (C) Research In Motion Limited 2010. Al...
bsd-3-clause
chauhanmohit/phantomjs
src/qt/qtbase/src/gui/doc/snippets/code/src_gui_text_qtextlayout.cpp
105
2467
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the documentation of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms ...
bsd-3-clause
fentas/phantomjs
src/qt/qtwebkit/Source/WebCore/bridge/qt/qt_pixmapruntime.cpp
112
9974
/* * Copyright (C) 2009 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 Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) an...
bsd-3-clause
dededong/goblin-core
binutils/binutils-2.23.2/gprof/symtab.c
113
7248
/* symtab.c Copyright 1999, 2000, 2001, 2002, 2004, 2007, 2008 Free Software Foundation, Inc. This file is part of GNU Binutils. 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; ei...
bsd-3-clause
youprofit/phantomjs
src/qt/qtwebkit/Source/WebCore/html/HTMLTablePartElement.cpp
114
4271
/** * Copyright (C) 1997 Martin Jones (mjones@kde.org) * (C) 1997 Torben Weis (weis@kde.org) * (C) 1998 Waldo Bastian (bastian@kde.org) * (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, ...
bsd-3-clause
chirilo/phantomjs
src/qt/qtwebkit/Source/JavaScriptCore/dfg/DFGVariableEventStream.cpp
116
11910
/* * Copyright (C) 2012, 2013 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
Infusion-OS/android_external_skia
tools/timer/TimerData.cpp
118
7691
/* * 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 "TimerData.h" #include "Timer.h" #include <limits> TimerData::TimerData(int maxNumTimings) : fMaxNumTimings(maxNumTimings) , fCurrTiming(0) , fWallTimes(...
bsd-3-clause
bjko/phantomjs
src/qt/qtwebkit/Source/WebCore/html/ImageInputType.cpp
119
6553
/* * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. * Copyright (C) 2010 Google Inc. All rights reserved. * Copyright (C) 2012 Samsung Electronics. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of th...
bsd-3-clause
klickagent/phantomjs
src/qt/qtwebkit/Tools/DumpRenderTree/qt/WorkQueueItemQt.cpp
120
4309
/* * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions ...
bsd-3-clause
codeman38/toggldesktop
third_party/openssl/crypto/asn1/a_strex.c
120
19104
/* a_strex.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2000. */ /* ==================================================================== * Copyright (c) 2000 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
bsd-3-clause
ixiom/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/graphics/blackberry/FloatSizeBlackBerry.cpp
123
1209
/* * Copyright (C) 2011 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
nbeaver/numpy
tools/win32build/cpucaps/cpucaps_main.c
125
2352
#include <stdio.h> #include <windows.h> #include "cpucaps_main.h" #include "cpuid.h" HINSTANCE g_hInstance; HWND g_hwndParent; #define CPUID_FAILED "Unknown" /* * if val is true, str is the "Y" string, otherwise the "N" string */ static int _set_bool_str(int val, char* str) { if (val) { str[0] = 'Y'; } el...
bsd-3-clause
jtg-gg/skia
experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfOutlineDictionary_autogen.cpp
127
2046
/* * 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 "SkPdfOutlineDictionary_autogen.h" #include "SkPdfNativeDoc.h" SkString SkPdfOutlineDictionary::Type(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("Type", "");...
bsd-3-clause
TeamEOS/external_skia
experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfJavascriptActionDictionary_autogen.cpp
127
1988
/* * 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 "SkPdfJavascriptActionDictionary_autogen.h" #include "SkPdfNativeDoc.h" SkString SkPdfJavascriptActionDictionary::S(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = g...
bsd-3-clause
Maria1099/webm.libvpx
vp8/common/arm/neon/loopfilter_neon.c
131
16842
/* * Copyright (c) 2014 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
tryroach/fresco
imagepipeline/src/main/jni/imagepipeline/jpeg/jpeg_stream_wrappers.cpp
132
6361
/* * 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 <s...
bsd-3-clause
AlbandeCrevoisier/ldd-athens
linux-socfpga/sound/soc/fsl/imx-audmux.c
901
9056
/* * Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2012 Linaro Ltd. * Copyright 2009 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de> * * Initial development of this code was funded by * Phytec Messtechnik GmbH, http://www.phytec.de * * This program is free software; you can redistribute it and/or ...
bsd-3-clause
ashray/VTK-EVM
ThirdParty/freetype/vtkfreetype/src/psaux/psconv.c
391
9607
/***************************************************************************/ /* */ /* psconv.c */ /* */ /* So...
bsd-3-clause
vprabu/iotsdk
c/lib/3rdparty/openssl-1.0.0d/crypto/jpake/jpake.c
657
11830
#include "jpake.h" #include <openssl/crypto.h> #include <openssl/sha.h> #include <openssl/err.h> #include <memory.h> /* * In the definition, (xa, xb, xc, xd) are Alice's (x1, x2, x3, x4) or * Bob's (x3, x4, x1, x2). If you see what I mean. */ typedef struct { char *name; /* Must be unique */ char *pe...
bsd-3-clause
mugizico/scikit-learn
sklearn/src/cblas/cblas_ddot.c
405
4988
/* --------------------------------------------------------------------- * * -- Automatically Tuned Linear Algebra Software (ATLAS) * (C) Copyright 2000 All Rights Reserved * * -- ATLAS routine -- Version 3.2 -- December 25, 2000 * * -- Suggestions, comments, bugs reports should be sent to the follo- * ...
bsd-3-clause
modulexcite/redis
src/ae_epoll.c
416
4876
/* Linux epoll(2) based ae.c module * * Copyright (c) 2009-2012, 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: * * * Redistributions of ...
bsd-3-clause
efiring/scipy
scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zsortc.f
162
8112
c\BeginDoc c c\Name: zsortc c c\Description: c Sorts the Complex*16 array in X into the order c specified by WHICH and optionally applies the permutation to the c Double precision array Y. c c\Usage: c call zsortc c ( WHICH, APPLY, N, X, Y ) c c\Arguments c WHICH Character*2. (Input) c 'LM' -> s...
bsd-3-clause
joomel1/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/graphics/filters/DistantLightSource.cpp
187
2826
/* * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> * Copyright (C) 2005 Eric Seidel <eric@webkit.org> * Copyright (C) 2010 Zoltan Herczeg <zherczeg@webkit.org> * Copyright (C) 2011 University of Szeged * Copyright (C) 2011 Renata Ho...
bsd-3-clause
jillesme/phantomjs
src/qt/qtwebkit/Source/WebCore/page/WorkerNavigator.cpp
205
1703
/* * 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
qiye/redis-storage
deps/jemalloc/test/bitmap.c
229
3057
#define JEMALLOC_MANGLE #include "jemalloc_test.h" #if (LG_BITMAP_MAXBITS > 12) # define MAXBITS 4500 #else # define MAXBITS (1U << LG_BITMAP_MAXBITS) #endif static void test_bitmap_size(void) { size_t i, prev_size; prev_size = 0; for (i = 1; i <= MAXBITS; i++) { size_t size = bitmap_size(i); assert(size >=...
bsd-3-clause
gdb/doom-py
doom_py/vizdoom_src/dumb/src/core/loadduh.c
1
1531
/* _______ ____ __ ___ ___ * \ _ \ \ / \ / \ \ / / ' ' ' * | | \ \ | | || | \/ | . . * | | | | | | || ||\ /| | * | | | | | | || || \/ | | ' ' ' * | | | | ...
mit
flericoin-project/flericoin
src/Common/StringView.cpp
1
7845
// Copyright (c) 2011-2016 The Flericoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "StringView.h" #include <limits> namespace Common { const StringView::Size StringView::INVALID = std::numeric_lim...
mit
petabricks/petabricks
src/runtime/tests/regionremotetest.cpp
1
2997
/*************************************************************************** * Copyright (C) 2008-2009 Massachusetts Institute of Technology * * * * This source code is part of the PetaBricks project and currently only * * availabl...
mit
innovacoin/innova
src/qt/intro.cpp
1
9620
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2019 The Innova Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "intro.h" #include "ui_intro.h" #include "guiutil.h" #includ...
mit
g-stefan/dll-inject-sample
source/new_advapi32.cpp
1
1942
typedef BOOL(WINAPI *_ptr_advapi32__CreateProcessAsUserA)(HANDLE hToken, LPCTSTR lpApplicationName, LPTSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCTSTR lpCurrentDirectory, LPSTARTUPINFO lpSt...
mit
adafruit/circuitpython
shared-bindings/_pew/__init__.c
1
2435
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2019 Radomir Dopieralski * * 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 t...
mit
CajetanP/code-learning
C/language/var_date_time/vdt.c
1
2258
#include <stdio.h> #include <stdarg.h> #include <time.h> #include <stdint.h> void simple_printf(const char* fmt, ...) { va_list args; va_start(args, fmt); while(*fmt != '\0') { if(*fmt == 'd') { int i = va_arg(args, int); printf("%d\n", i); } else if (*fmt == 'c') { // automatic conver...
mit
rawry1000/PatternRecognition
main.cpp
1
3166
#include <iostream> #include <cmath> using namespace std; //Author: Caiden Sacks void allTest(); void additionTest(); void subtractionTest(); void multiplicationTest(); void divisionTest(); void powerTest(); bool Again(); double num1, num2, num3, num4, num5; double rule; bool addRule, subRule, multRule, divRule, powR...
mit
Rapier-Foundation/rapier-script
src/rapierlang/test/CodeGenCXX/microsoft-abi-multiple-nonvirtual-inheritance.cpp
1
8305
// RUN: %clang_cc1 -fno-rtti -emit-llvm %s -o - -mconstructor-aliases -triple=i386-pc-win32 | FileCheck %s struct Left { virtual void left(); }; struct Right { virtual void right(); }; struct ChildNoOverride : Left, Right { }; struct ChildOverride : Left, Right { virtual void left(); virtual void right(); }...
mit
win-t/pseudoterminal-tools
ptunwrap.c
1
3122
#define _DEFAULT_SOURCE #define _GNU_SOURCE #include <fcntl.h> #include <signal.h> #include <stdio.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/wait.h> #include <termios.h> #include <unistd.h> #include <stdlib.h> #define FAIL_WITH_PPID #include "fail.h" #define LOCAL_BUF_SIZE 1024...
mit
open-rdc/autonomous-vehicle
megaRover.cpp
1
11631
#include "stdafx.h" #include <math.h> #include <mmsystem.h> #include "memoryMap.h" #include "megaRover.h" #include "Library/WRC003LVHID.h" #define M_PI 3.14159f #pragma comment(lib,"Library/CWRC003LVHID.lib") /*! * @class megaRover * @brief Mega Roverを制御するためのクラス * @author Y.Hayashibara */ /*! ...
mit
amlaanb/ABLexicalAnalyser
lex.c
1
12935
/* CREATED ON AUG 01 2015 AMLAAN BHOI https://in.linkedin.com/in/amlaanb https://github.com/amlaanb https://twitter.com/amlaanb */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> char *key[]={"void","main","char","float"}; void append(char* s, char c) { int len = s...
mit
wilseypa/warped
src/DefaultPhysicalCommunicationLayer.cpp
1
2362
#include <stdlib.h> // for abort, NULL #include <iostream> // for operator<<, basic_ostream, etc #include "DefaultPhysicalCommunicationLayer.h" class SerializedInstance; using std::cerr; using std::endl; DefaultPhysicalCommunicationLayer::DefaultPhysicalCommunicationLayer() ...
mit
libsmelt/libsmelt
src/backends/shm/shm.c
1
18986
/* * Copyright (c) 2013-2016, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group. */ #include <smlt.h> #includ...
mit
morzhovets/momo
test/tests/libcxx/unord.multimap/find_non_const.transparent.pass.cpp
1
2399
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
mit
Michael-Ma/Coding-Practice
LeetCode/ConstructBinaryTreeFrom2OrderTraversals2.cpp
1
3128
#include <sstream> #include <stdio.h> #include <string> #include <cstring> #include <iostream> #include <vector> #include <map> #include <stack> #include <queue> #include <cmath> #include <algorithm> //#include <unordered_map> using namespace std; // Definition for binary tree* struct TreeNode { int val; T...
mit
filipecn/Aergia
src/GUI/Graphics/GUIUtils.cpp
1
5819
/* * GUIUtils.cpp * * The MIT License (MIT) * * Copyright (c) 2014 FilipeCN * * 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 r...
mit
LloydLabs/librini
examples/server_config.c
1
1417
#include <stdio.h> #include <stdlib.h> #include <rini.h> // Globals are bad, this is just here for the example, please don't use them. const char config[] = "[server.main]" "# This server is used for clustering" "hostname=root\n" "distro=Ubuntu\n" ...
mit
paintdream/PaintsNow
Source/General/Driver/Filter/ASTC/Core/astcenc_percentile_tables.cpp
1
54992
// SPDX-License-Identifier: Apache-2.0 // ---------------------------------------------------------------------------- // Copyright 2011-2021 Arm Limited // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of ...
mit
RemiMattheyDoret/SimBit
src/test_RNG_wrapper.cpp
1
1277
#include <iostream> #include <list> #include <fstream> #include <random> #include <vector> #include <string> #include <limits.h> #include <float.h> #include <assert.h> #include <sstream> #include <iomanip> #include <algorithm> #include <map> #include <queue> #include <ctime> #include <boost/algorithm/string.hpp> #inclu...
mit
gubaojian/trylearn
WebLayoutCore/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
1
35020
/* * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. * Copyright (C) 2007 Collabora Ltd. All rights reserved. * Copyright (C) 2007 Alp Toker <alp@atoker.com> * Copyright (C) 2009 Gustavo Noronha Silva <gns@gnome.org> * Copyright (C) 2009, 2010, 2011, 2012, 2013, 2016, 2017 Igalia S.L * Copyright (C) 20...
mit
IonCoinDev/IonCoin
moc_monitoreddatamapper.cpp
1
3921
/**************************************************************************** ** Meta object code from reading C++ file 'monitoreddatamapper.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1) ** ** WARNING! All changes made in this file will be lost! *************************************************...
mit
duhone/BladeofBetrayal
Bob/ProjectileAGMSpit.cpp
2
2246
/* * ProjectileAGMSpit.cpp * BoB * * Created by Eric Duhon on 2/28/09. * Copyright 2009 __MyCompanyName__. All rights reserved. * */ #include "ProjectileAGMSpit.h" const float ProjectileAGMSpit::c_xTime = 1.0f; ProjectileAGMSpit::ProjectileAGMSpit(bool bDirection, int xPos, int yPos, std::list<Projectile*...
mit
trezor/micropython
ports/cc3200/util/gccollect.c
2
2124
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * Copyright (c) 2015 Daniel Campora * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation...
mit
seoulcoin/seoulcoin
src/qt/moc_optionsmodel.cpp
2
3387
/**************************************************************************** ** Meta object code from reading C++ file 'optionsmodel.h' ** ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "qt/optionsmodel.h" #if !defined...
mit
maurer/tiamat
samples/Juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s07/CWE762_Mismatched_Memory_Management_Routines__strdup_delete_wchar_t_10.cpp
2
4827
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__strdup_delete_wchar_t_10.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__strdup_delete.label.xml Template File: sources-sinks-10.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Manage...
mit
earonesty/bitcoin
src/test/test_bitcoin.cpp
2
5011
// Copyright (c) 2011-2016 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 "test_bitcoin.h" #include "chainparams.h" #include "consensus/consensus.h" #include "consensus/validation.h" #inclu...
mit
yorung/AngleTest
source/helper_win.cpp
2
1336
#include "stdafx.h" bool SaveFile(const char *fileName, const uint8_t* buf, int size) { bool result = false; FILE *f = nullptr; if (fopen_s(&f, fileName, "wb")) { return false; } if (!fwrite(buf, size, 1, f)) { goto DONE; } result = !fclose(f); f = nullptr; DONE: if (f) { fclose(f); } return result; ...
mit
maurer/tiamat
samples/Juliet/testcases/CWE194_Unexpected_Sign_Extension/s02/CWE194_Unexpected_Sign_Extension__rand_memcpy_61b.c
2
1140
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE194_Unexpected_Sign_Extension__rand_memcpy_61b.c Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml Template File: sources-sink-61b.tmpl.c */ /* * @description * CWE: 194 Unexpected Sign Extension * BadSource: rand Set data to result of RAND32()...
mit
nakijun/vtp
TerrainSDK/vtdata/Fence.cpp
3
10121
// // Fence.cpp // // Implemented vtFence; // // Copyright (c) 2001-2011 Virtual Terrain Project // Free for all uses, see license.txt for details. // #include "Fence.h" #include "shapelib/shapefil.h" #define LONGEST_FENCE 2000 // in meters /////////////////// void vtLinearParams::Defaults() { ApplyStyle(FS_WOOD...
mit
wa1tnr/ainsuSPI
0-Distribution.d/circuitpython-master/atmel-samd/asf/sam0/drivers/nvm/nvm.c
3
37170
/** * \file * * \brief SAM Non Volatile Memory driver * * Copyright (C) 2012-2016 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are m...
mit
crowning2/dash
src/qt/sendcoinsdialog.cpp
3
24692
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "address...
mit