repo_name
string
path
string
copies
string
size
string
content
string
license
string
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE194_Unexpected_Sign_Extension/s01/CWE194_Unexpected_Sign_Extension__fscanf_memcpy_34.c
2
3583
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE194_Unexpected_Sign_Extension__fscanf_memcpy_34.c Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml Template File: sources-sink-34.tmpl.c */ /* * @description * CWE: 194 Unexpected Sign Extension * BadSource: fscanf Read data from the console u...
bsd-3-clause
habanero-rice/hclib
test/performance-regression/full-apps/qmcpack/src/QMCDrivers/Experimental/EE/EEFactory.cpp
2
1734
////////////////////////////////////////////////////////////////// // (c) Copyright 2003- by Jeongnim Kim ////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// // Jeongnim Kim // National Center for Supercomputing Applications & // Ma...
bsd-3-clause
Pballer/prayer
mod_fcgid-2.3.7/modules/fcgid/fcgid_filter.c
3
3397
/* * 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
srekcah/infer
infer/tests/codetoanalyze/c/errors/null_dereference/null_pointer_dereference.c
3
2400
/* * 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 <stdlib...
bsd-3-clause
shaotuanchen/sunflower_exp
tools/source/newlib-1.9.0/newlib/libc/time/asctime.c
3
1217
/* * asctime.c * Original Author: G. Haley * * Converts the broken down time in the structure pointed to by tim_p into a * string of the form * * Wed Jun 15 11:38:07 1988\n\0 * * Returns a pointer to the string. */ /* FUNCTION <<asctime>>---format time as string INDEX asctime INDEX _asctime_r ANSI_SYNOPS...
bsd-3-clause
Multi2Sim/m2s-bench-parsec-3.0-src
facesim/TaskQ/lib/taskQDistCommon.c
5
10496
/* * Implements dynamic task queues to provide load balancing * Sanjeev Kumar --- December, 2004 */ #include <time.h> #include "config.h" #ifdef ENABLE_PTHREADS #include "alamere.h" pthread_t _M4_threadsTable[MAX_THREADS]; int _M4_threadsTableAllocated[MAX_THREADS]; pthread_mutexattr_t _M4_normalMutexAt...
bsd-3-clause
zlqhem/crest-boost
benchmarks/vim-5.7/src/ctags/strlist.c
7
3873
/***************************************************************************** * $Id: strlist.c,v 8.4 1999/09/29 02:20:25 darren Exp $ * * Copyright (c) 1999, Darren Hiebert * * This source code is released for free distribution under the terms of the * GNU General Public License. * * This module contains fun...
bsd-3-clause
MisterTea/HyperNEAT
boost_1_57_0/libs/coroutine/example/cpp11/symmetric/simple.cpp
8
1198
// Copyright Oliver Kowalke 2009. // 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 <cstdlib> #include <iostream> #include <boost/coroutine/all.hpp> typedef boost::corou...
bsd-3-clause
maxhutch/magma
testing/lin/zebchvxx.f
9
18236
SUBROUTINE ZEBCHVXX( THRESH, PATH ) IMPLICIT NONE * .. Scalar Arguments .. DOUBLE PRECISION THRESH CHARACTER*3 PATH * * Purpose * ====== * * ZEBCHVXX will run Z**SVXX on a series of Hilbert matrices and then * compare the error bounds returned by Z**SVXX to see if the returned * ...
bsd-3-clause
js0701/chromium-crosswalk
third_party/WebKit/Source/core/paint/PaintLayerStackingNodeIterator.cpp
9
5852
/* * Copyright (C) 2013 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
gnu3ra/SCC15HPCRepast
INSTALLATION/hdf5-1.8.13/tools/h5jam/tellub.c
10
5025
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
bsd-3-clause
victorv/arrayfire
src/backend/opencl/assign.cpp
11
2321
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
bsd-3-clause
petchat/bosen
app/caffe/src/caffe/layers/hdf5_data_layer.cpp
12
4106
/* TODO: - load file in a separate thread ("prefetch") - can be smarter about the memcpy call instead of doing it row-by-row :: use util functions caffe_copy, and Blob->offset() :: don't forget to update hdf5_daa_layer.cu accordingly - add ability to shuffle filenames if flag is set */ #include <fstream> // NOLINT...
bsd-3-clause
vanish87/skia
src/views/win/skia_win.cpp
12
3854
/* * 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 <windows.h> #include <tchar.h> #include "SkTypes.h" #include "SkApplication.h" #include "SkOSWindow_Win.h" LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); //...
bsd-3-clause
ThanhVic/stm32plus
examples/timer_master_slave/system/f107_72_8/System.c
524
34717
/** ****************************************************************************** * @file system_stm32f10x.c * @author MCD Application Team * @version V3.5.0 * @date 11-March-2011 * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File. * * 1. This file provides two functio...
bsd-3-clause
dylanede/blaze-lib
blazetest/src/mathtest/dmatdmatmult/DDbSDb.cpp
13
4287
//================================================================================================= /*! // \file src/mathtest/dmatdmatmult/DDbSDb.cpp // \brief Source file for the DDbSDb dense matrix/dense matrix multiplication math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file...
bsd-3-clause
hoangt/goblin-core
riscv/llvm/3.5/cfe-3.5.0.src/test/CodeGen/volatile-2.c
17
1188
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s void test0() { // CHECK-LABEL: define void @test0() // CHECK: [[F:%.*]] = alloca float // CHECK-NEXT: [[REAL:%.*]] = load volatile float* getelementptr inbounds ({ float, float }* @test0_v, i32 0, i32 0), align 4 // CHECK-N...
bsd-3-clause
guorendong/iridium-browser-ubuntu
third_party/mesa/src/src/egl/main/eglarray.c
17
4805
/************************************************************************** * * Copyright 2010 LunarG, 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 wit...
bsd-3-clause
aashish24/VTK-old
ThirdParty/ftgl/src/FTFont.cpp
17
5236
#include "FTFace.h" #include "FTFont.h" #include "FTGlyphContainer.h" #include "FTGlyph.h" // for FTBbox #ifdef FTGL_DEBUG #include "mmgr.h" #endif #ifdef FTGL_USE_NAMESPACE namespace ftgl { #endif FTFont::FTFont() : numFaces(0), glyphList(0), numGlyphs(0), preCache(true), err(0) { pen.x = 0; pen.y...
bsd-3-clause
WarrenWeckesser/scipy
scipy/integrate/odepack/lsoda.f
18
78159
subroutine lsoda (f, neq, y, t, tout, itol, rtol, atol, itask, 1 istate, iopt, rwork, lrw, iwork, liw, jac, jt) external f, jac integer neq, itol, itask, istate, iopt, lrw, iwork, liw, jt, isav double precision y, t, tout, rtol, atol, rwork, rsav dimension neq(1), y(1), rto...
bsd-3-clause
CVML/OpenBLAS
lapack-netlib/lapacke/src/lapacke_zsyr_work.c
18
3811
/***************************************************************************** Copyright (c) 2010, 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
unb-libraries/phantomjs
src/qt/src/corelib/animation/qvariantanimation.cpp
19
24281
/**************************************************************************** ** ** 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
tvandijck/premake-core
contrib/curl/lib/hostcheck.c
20
4965
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
bsd-3-clause
AOSP-YU/platform_external_skia
gm/shadertext.cpp
23
6640
/* * 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 "SkGradientShader.h" namespace skiagm { static void makebm(SkBitmap* bm, int w, int h) { bm->allocN32Pixels(w, h); bm-...
bsd-3-clause
AOKPSaber/android_external_skia
samplecode/SampleBigGradient.cpp
25
1345
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SampleCode.h" #include "SkView.h" #include "SkCanvas.h" #include "SkGradientShader.h" static SkShader* make_grad(SkScalar w, SkScalar h) { SkColor colors[] = { ...
bsd-3-clause
firebitsbr/golang-old
src/cmd/gc/const.c
26
31421
// Copyright 2009 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 <u.h> #include <libc.h> #include "go.h" #define TUP(x,y) (((x)<<16)|(y)) /*c2go int TUP(int, int); */ static Val tocplx(Val); static Val toflt(Val); s...
bsd-3-clause
OPM/eigen3
blas/chpr.f
28
6849
SUBROUTINE CHPR(UPLO,N,ALPHA,X,INCX,AP) * .. Scalar Arguments .. REAL ALPHA INTEGER INCX,N CHARACTER UPLO * .. * .. Array Arguments .. COMPLEX AP(*),X(*) * .. * * Purpose * ======= * * CHPR performs the hermitian rank 1 operation * * A := alpha*x*conjg( x' ) + A, ...
bsd-3-clause
UPenn-RoboCup/OpenBLAS
lapack-netlib/SRC/dstevd.f
29
9120
*> \brief <b> DSTEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DSTEVD + dependencies *> <a...
bsd-3-clause
tkelman/OpenBLAS
lapack-netlib/TESTING/EIG/ssbt21.f
32
7790
*> \brief \b SSBT21 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SSBT21( UPLO, N, KA, KS, A, LDA, D, E, U, LDU, WORK, * RESULT ) * * .. ...
bsd-3-clause
endlessm/chromium-browser
third_party/llvm/clang/test/Index/print-mangled-name.cpp
37
1107
// REQUIRES: x86-registered-target // RUN: c-index-test -write-pch %t_linux.ast -target i686-pc-linux-gnu %s // RUN: c-index-test -test-print-mangle %t_linux.ast | FileCheck %s --check-prefix=ITANIUM // RUN: c-index-test -write-pch %t_macho.ast -target x86_64-apple-darwin %s // RUN: c-index-test -test-print-mangle %t_...
bsd-3-clause
pizzathief/scipy
scipy/optimize/minpack/dpmpar.f
38
5806
recursive *double precision function dpmpar(i) integer i c ********** c c Function dpmpar c c This function provides double precision machine parameters c when the appropriate set of data statements is activated (by c removing the c from column 1) and all other data statements are c...
bsd-3-clause
ut-osa/laminar
linux-2.6.22.6/net/rxrpc/ar-call.c
61
21718
/* RxRPC individual remote procedure call handling * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free ...
bsd-3-clause
attilahorvath/phantomjs
src/qt/qtbase/src/3rdparty/freetype/src/truetype/ttdriver.c
323
17743
/***************************************************************************/ /* */ /* ttdriver.c */ /* */ /* Tr...
bsd-3-clause
Hybrid-Rom/external_skia
src/utils/SkPDFRasterizer.cpp
76
2221
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifdef SK_BUILD_FOR_WIN32 #pragma warning(push) #pragma warning(disable : 4530) #endif #include "SkPDFRasterizer.h" #include "SkColorPriv.h" #ifdef SK_BUILD_NATIVE_PDF_REND...
bsd-3-clause
huangguiyang/minix-v3.1.0
lib/zlib-1.2.3/trees.c
1874
44027
/* trees.c -- output deflated data using Huffman coding * Copyright (C) 1995-2005 Jean-loup Gailly * For conditions of distribution and use, see copyright notice in zlib.h */ /* * ALGORITHM * * The "deflation" process uses several Huffman trees. The more * common source values are represented by shor...
bsd-3-clause
avinashkunuje/phantomjs
src/qt/qtbase/src/corelib/codecs/qeucjpcodec.cpp
84
8288
/**************************************************************************** ** ** Copyright (C) 2014 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:LGPL21$ ** Commercial License Usage ** License...
bsd-3-clause
TeamEOS/external_chromium_org_third_party_skia
experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp
87
21238
/* * 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 "SkPdfNativeDoc.h" #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include "SkPdfMapper_autogen.h" #include "SkPdfNativeObject....
bsd-3-clause
apanda/phantomjs-intercept
src/qt/qtbase/src/corelib/doc/snippets/code/src_corelib_kernel_qcoreapplication.cpp
105
3666
/**************************************************************************** ** ** 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
likaiwalkman/phantomjs
src/qt/qtwebkit/Source/WebCore/platform/graphics/ImageBuffer.cpp
109
4744
/* * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> * Copyright (C) Research In Motion Limited 2011. 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 m...
bsd-3-clause
wuxianghou/phantomjs
src/qt/qtwebkit/Source/WebCore/bindings/js/IDBBindingUtilities.cpp
115
12039
/* * Copyright (C) 2010 Google Inc. All rights reserved. * Copyright (C) 2012 Michael Pruett <michael@68k.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...
bsd-3-clause
toanalien/phantomjs
src/qt/qtwebkit/Source/WebCore/inspector/InspectorDebuggerAgent.cpp
116
31986
/* * Copyright (C) 2010 Apple Inc. All rights reserved. * Copyright (C) 2010-2011 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 re...
bsd-3-clause
ixiom/phantomjs
src/qt/qtwebkit/Source/WebCore/html/shadow/ProgressShadowElement.cpp
116
3381
/* * Copyright (C) 2011 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
sharma1nitish/phantomjs
src/qt/qtwebkit/Source/WebCore/editing/atk/FrameSelectionAtk.cpp
117
3771
/* * Copyright (C) 2009 Igalia S.L. * * 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) any later version. * * This library i...
bsd-3-clause
bprodoehl/phantomjs
src/qt/qtwebkit/Tools/WebKitTestRunner/PixelDumpSupport.cpp
126
4086
/* * Copyright (C) 2009 Apple, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
bsd-3-clause
bukalov/phantomjs
src/qt/qtwebkit/Source/WebCore/bindings/js/JSEntryCustom.cpp
127
2220
/* * 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
bsd-3-clause
eceglov/phantomjs
src/qt/qtwebkit/Source/WebCore/svg/SVGAnimatedIntegerOptionalInteger.cpp
127
5079
/* * Copyright (C) Research In Motion Limited 2012. 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 Foundation; either * version 2 of the License, or (at your option) an...
bsd-3-clause
grevutiu-gabriel/phantomjs
src/qt/qtwebkit/Source/WebKit/win/DefaultDownloadDelegate.cpp
140
8426
/* * Copyright (C) 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 conditions ...
bsd-3-clause
trankmichael/scipy
scipy/special/cdflib/gaminv.f
151
10511
SUBROUTINE gaminv(a,x,x0,p,q,ierr) C ---------------------------------------------------------------------- C INVERSE INCOMPLETE GAMMA RATIO FUNCTION C C GIVEN POSITIVE A, AND NONEGATIVE P AND Q WHERE P + Q = 1. C THEN X IS COMPUTED WHERE P(A,X) = P AND Q(A,X) = Q. SCHRODER C ITERATION IS E...
bsd-3-clause
kyle-emmerich/blueshift-engine
Dependencies/bullet/include/BulletCollision/CollisionShapes/btConeShape.cpp
411
4137
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is grant...
bsd-3-clause
PurityROM/platform_external_skia
src/animator/SkPathParts.cpp
206
5287
/* * Copyright 2006 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkPathParts.h" #include "SkAnimateMaker.h" #include "SkDrawMatrix.h" #include "SkDrawRectangle.h" #include "SkDrawPath.h" SkPathPart::SkPathPa...
bsd-3-clause
eriknstr/ThinkPad-FreeBSD-setup
FreeBSD/sys/dev/ppc/ppc_acpi.c
4
3328
/*- * Copyright (c) 2006 Marcel Moolenaar * 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 co...
isc
andrewssobral/bgslibrary
src/algorithms/LBP_MRF/MEImage.cpp
1
50479
#include <opencv2/opencv.hpp> // opencv legacy includes #include <opencv2/imgproc/types_c.h> #include <opencv2/imgproc/imgproc_c.h> #include "MEImage.hpp" #include "MEDefs.hpp" #if CV_MAJOR_VERSION >= 2 && CV_MAJOR_VERSION <= 3 && CV_MINOR_VERSION <= 4 && CV_VERSION_REVISION <= 7 //using namespace bgslibrary::algori...
mit
mishless/smart-mirror
SmartMirror/neural_network/perceptron_layer.cpp
1
54985
/****************************************************************************************************************/ /* */ /* OpenNN: Open Neural Networks Library ...
mit
skylersaleh/ArgonEngine
mac/SDL2/thread/pthread/SDL_systhread.c
1
5985
//Generated by the Argon Build System /* Simple DirectMedia Layer Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permi...
mit
smogpill/core
src/imgui/backends/imgui_impl_opengl3.cpp
1
35469
#include "imgui/pch.h" // dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline // - Desktop GL: 2.x 3.x 4.x // - Embedded GL: ES 2.0 (WebGL 1.0), ES 3.0 (WebGL 2.0) // This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..) // Implemented features: // [X] R...
mit
npettiaux/orthanc-viewer
Code/Controller/SubInterface.cpp
1
2749
/** * Copyright (c) 2013-2014 Quentin Smetz <qsmetz@gmail.com>, Sebastien * Jodogne <s.jodogne@gmail.com> * * 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, inclu...
mit
coder-bot/ftc5602-code
2011-2012 Bowled Over!/bowlingservos.c
1
5019
#pragma config(Hubs, S1, HTMotor, HTServo, HTMotor, none) #pragma config(Sensor, S1, , sensorI2CMuxController) #pragma config(Motor, mtr_S1_C1_1, motorD, tmotorNone, openLoop) #pragma config(Motor, mtr_S1_C1_2, motorE, tmotorNone, openLoop) #pragma config(Motor, mtr_S1_C3_...
mit
maurer/tiamat
samples/Juliet/testcases/CWE415_Double_Free/s01/CWE415_Double_Free__malloc_free_int64_t_84_goodB2G.cpp
1
1376
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE415_Double_Free__malloc_free_int64_t_84_goodB2G.cpp Label Definition File: CWE415_Double_Free__malloc_free.label.xml Template File: sources-sinks-84_goodB2G.tmpl.cpp */ /* * @description * CWE: 415 Double Free * BadSource: Allocate data using malloc() and Dea...
mit
century-arcade/src
c64/vice-2.4/src/arch/unix/gui/uifliplist.c
1
13280
/* * uifliplist.c * * Written by * pottendo <pottendo@gmx.net> * Andreas Boose <viceteam@t-online.de> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
mit
sarielsaz/sarielsaz
src/pubkey.cpp
1
9188
// Copyright (c) 2009-2016 The Sarielsaz Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "pubkey.h" #include <secp256k1.h> #include <secp256k1_recovery.h> namespace { /* Global secp256k1_context object...
mit
reuben/freshplayerplugin
src/config_libpdf_backend.c
2
2292
/* * Copyright © 2013-2015 Rinat Ibragimov * * This file is part of FreshPlayerPlugin. * * 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 limitat...
mit
EliteProgrammersClub/ublab_bot
src/cmds.c
2
88844
/* * cmds.c -- handles: * commands from a user via dcc * (split in 2, this portion contains no-irc commands) * * $Id: cmds.c,v 1.129 2011/02/13 14:19:33 simple Exp $ */ /* * Copyright (C) 1997 Robey Pointer * Copyright (C) 1999 - 2011 Eggheads Development Team * * This program is free software; you can re...
mit
nonconforme/AtomicGameEngine
Attic/AtomicEditorReference/Source/Build/BuildBase.cpp
2
2749
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // Please see LICENSE.md in repository root for license information // https://github.com/AtomicGameEngine/AtomicGameEngine #include "AtomicEditor.h" #include <Atomic/IO/Log.h> #include <Atomic/IO/FileSystem.h> #include "BuildBase.h" #include "Res...
mit
chinesebear/rtt-examples
examples/07/application.c
2
19148
/* * File : application.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006-2012, RT-Thread Develop Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date ...
mit
netmask/rembox
ext/termbox/termbox_wrap.c
2
94648
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.11 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. D...
mit
maurer/tiamat
samples/Juliet/testcases/CWE36_Absolute_Path_Traversal/s02/CWE36_Absolute_Path_Traversal__char_file_w32CreateFile_07.cpp
2
5680
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__char_file_w32CreateFile_07.cpp Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-07.tmpl.cpp */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: file Read input from a file ...
mit
bhlzlx/ogre
Tests/OgreMain/src/MeshWithoutIndexDataTests.cpp
3
16954
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
mit
ashemedai/ProDBG
src/native/external/angelscript/angelscript/source/as_objecttype.cpp
3
28091
/* AngelCode Scripting Library Copyright (c) 2003-2014 Andreas Jonsson This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software...
mit
RongbinZhuang/simpleOS
Alpha/book/ffmpeg/ffdecoder/InitShell.c
4
5209
/* * ===================================================================================== * * Filename: InitShell.c * * Description: * * Version: 1.0 * Created: 03/18/2012 08:14:56 PM * Revision: none * Compiler: gcc * * Author: DAI ZHENGHUA (), djx.zhengh...
mit
tum-i22/obfuscation-benchmarks
tigress-generated-programs/empty-Seed2-RandomFuns-Type_long-ControlStructures_3-BB2-ForBound_constant-Operators_Shiftlt_Shiftrt_Lt_Gt_Le_Ge_Eq_Ne_BAnd_BXor_BOr.c
4
3665
/* Generated by CIL v. 1.7.0 */ /* print_CIL_Input is false */ struct _IO_FILE; struct timeval; extern float strtof(char const *str , char const *endptr ) ; extern void signal(int sig , void *func ) ; typedef struct _IO_FILE FILE; extern int atoi(char const *s ) ; extern double strtod(char const *str , char co...
mit
guileschool/BEAGLEBONE-tutorials
BBB-firmware/u-boot-v2015.10-rc2/arch/x86/lib/bios_interrupts.c
5
5069
/* * From Coreboot * * Copyright (C) 2001 Ronald G. Minnich * Copyright (C) 2005 Nick.Barker9@btinternet.com * Copyright (C) 2007-2009 coresystems GmbH * * SPDX-License-Identifier: GPL-2.0 */ #include <common.h> #include <asm/pci.h> #include "bios_emul.h" /* errors go in AH. Just set these up so that word ass...
mit
mrcatacroquer/Bridge
WinQuake/snd_win.c
5
15285
/* Copyright (C) 1996-1997 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
mit
joe9/barrelfish
kernel/arch/x86/misc.c
5
3240
/** \file * \brief Miscellaneous kernel support code. * * This file contains miscellaneous architecture-independent kernel support * code that doesn't belong anywhere else. */ /* * Copyright (c) 2007, 2008, 2009, 2010, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the atta...
mit
bitcoin/bitcoin
src/test/util_tests.cpp
6
72098
// Copyright (c) 2011-2021 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 <util/system.h> #include <clientversion.h> #include <fs.h> #include <hash.h> // For Hash() #include <key.h> // For...
mit
tue-es/bones
skeletons/GPU-OPENCL-AMD/kernel/D-element-to-1-shared.host.c
6
4178
// Store the initial value cl_mem bones_initial_value = clCreateBuffer(bones_context,CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,sizeof(<out0_type>),<out0_name>,&bones_errors); error_check(bones_errors); // Create the kernels cl_kernel bones_kernel_<algorithm_name>_0 = clCreateKernel(bones_program, "bones_kern...
mit
gibtang/CCNSCoding
external/emscripten/tests/zlib/inftrees.c
1286
13769
/* inftrees.c -- generate Huffman trees for efficient decoding * Copyright (C) 1995-2010 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ #include "zutil.h" #include "inftrees.h" #define MAXBITS 15 const char inflate_copyright[] = " inflate 1.2.5 Copyright 1995-2010 Mark A...
mit
thiz11/platform_bootable_bootloader_lk
app/aboot/recovery.c
7
13353
/* Copyright (c) 2010-2011, Code Aurora Forum. 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 c...
mit
ensemblr/llvm-project-boilerplate
include/llvm/tools/clang/test/CodeGen/rdrand-builtins.c
8
1085
// RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -target-feature +rdrnd -target-feature +rdseed -emit-llvm -o - %s | FileCheck %s #include <x86intrin.h> int rdrand16(unsigned short *p) { return _rdrand16_step(p); // CHECK: @rdrand16 // CHECK: call { i16, i32 } @llvm.x86.rdrand.16 // CHECK: store i1...
mit
andyfangdz/turtlebot_tracking
src/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp
9
20565
#include <iostream> #include <sstream> #include <time.h> #include <stdio.h> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/highgui/highgui.hpp> #ifndef _CRT_SECURE_NO_WARNINGS # define _CRT_SECURE_NO_WARNINGS #endif using namespace cv;...
mit
guc-cs/Campus-Vision
opencv-1.1.0/tests/cv/src/akmeans.cpp
9
8245
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
mit
zjutjsj1004/third
boost/libs/spirit/test/karma/symbols1.cpp
9
3387
// Copyright (c) 2001-2011 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/config/warning_disable.hpp> #include <boost/detail/lightweight_test.hpp> #include <boost/sp...
mit
Pyroh/SwiftMark
Xcode/SwiftMark/houdini_html_u.c
9
3565
#include <assert.h> #include <stdio.h> #include <string.h> #include "buffer.h" #include "houdini.h" #include "utf8.h" #include "entities.inc" /* Binary tree lookup code for entities added by JGM */ static const unsigned char *S_lookup(int i, int low, int hi, const unsigned char *...
mit
TukekeSoft/jacos2d-x
src/cocos2dx/actions/CCActionPageTurn3D.cpp
10
3754
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2009 Sindesso Pty Ltd http://www.sindesso.com/ http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
mit
8l/barrelfish
lib/phoenix/processor.c
11
4429
/* Copyright (c) 2007-2009, Stanford 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, this list of ...
mit
tempbottle/libpomelo2
deps/openssl/openssl/demos/state_machine/state_machine.c
267
11016
/* ==================================================================== * Copyright (c) 2000 The OpenSSL 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 ...
mit
pombredanne/duktape
api-testcases/test-get-length.c
15
2461
/*=== top: 19 index 0: length 3 index 1: length 4 index 2: length 0 index 3: length 123 index 4: length 0 index 5: length 123 index 6: length 0 index 7: length 0 index 8: length 4294967295 index 9: length 0 index 10: length 0 index 11: length 0 index 12: length 0 index 13: length 1234 index 14: length 2345 index 15: le...
mit
bhavindarji/STM32F4-Dev
Project_Templates/stm32f4_bsp_template_v2/Drivers/CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_init_f32.c
16
3316
/* ---------------------------------------------------------------------- * Copyright (C) 2010-2014 ARM Limited. All rights reserved. * * $Date: 12. March 2014 * $Revision: V1.4.4 * * Project: CMSIS DSP Library * Title: arm_pid_init_f32.c * * Description: Floating-p...
mit
John3/Torque3D
Engine/lib/sdl/test/testrendertarget.c
16
9736
/* Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, ...
mit
zhangfengthu/CoRunBench
leukocyte/meschach_lib/fmacheps.c
16
1400
/************************************************************************** ** ** Copyright (C) 1993 David E. Steward & Zbigniew Leyk, all rights reserved. ** ** Meschach Library ** ** This Meschach Library is provided "as is" without any express ** or implied warranty of any kind with respect to this softwar...
mit
tinybearc/sdkbox-vungle-sample
js/frameworks/cocos2d-x/cocos/audio/android/jni/cddandroidAndroidJavaEngine.cpp
17
14130
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2015 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation file...
mit
Will-of-the-Wisp/Torque3D
Engine/source/T3D/physics/physicsUserData.cpp
18
1437
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
mit
Nau3D/nau
contrib/freeglut-3.0.0/src/fg_state.c
19
11020
/* * fg_state.c * * Freeglut state query methods. * * Copyright (c) 1999-2000 Pawel W. Olszta. All Rights Reserved. * Written by Pawel W. Olszta, <olszta@sourceforge.net> * Creation date: Thu Dec 16 1999 * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and as...
mit
3meng/Windows-universal-samples
customsensors/cpp/scenario2_polling.xaml.cpp
19
6906
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. /...
mit
joncav2222/TronStickArcade
es-app/src/components/ScraperSearchComponent.cpp
23
15100
#include "components/ScraperSearchComponent.h" #include "guis/GuiMsgBox.h" #include "components/TextComponent.h" #include "components/ScrollableContainer.h" #include "components/ImageComponent.h" #include "components/RatingComponent.h" #include "components/DateTimeComponent.h" #include "components/AnimatedImageCompone...
mit
deleisha/evt
sample/libuv-tls/libuv/src/unix/netbsd.c
25
8841
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights ...
mit
dalek7/Algorithms
Optimization/LevmarAndroid/jni/Thirdparty/clapack/SRC/slals0.c
26
14505
/* slals0.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...
mit
ericeil/coreclr
src/jit/regalloc.cpp
28
248217
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX...
mit
chiguire/nttcitygenerator
src/physics/BulletCollision/CollisionShapes/btCylinderShape.cpp
28
7518
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is grant...
mit
SmeltFool/Yippe-Hippe
src/qt/overviewpage.cpp
29
6427
#include "overviewpage.h" #include "ui_overviewpage.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "optionsmodel.h" #include "transactiontablemodel.h" #include "transactionfilterproxy.h" #include "guiutil.h" #include "guiconstants.h" #include <QAbstractItemDelegate> #include <QPainter> #define DECORA...
mit
imranj131/imranj131.github.io
node_modules/gulp-sass/node_modules/node-sass/src/sass_types/string.cpp
799
1188
#include <nan.h> #include "string.h" #include "../create_string.h" namespace SassTypes { String::String(Sass_Value* v) : SassValueWrapper(v) {} Sass_Value* String::construct(const std::vector<v8::Local<v8::Value>> raw_val, Sass_Value **out) { char const* value = ""; if (raw_val.size() >= 1) { if (!...
mit