repo_name
string
path
string
copies
string
size
string
content
string
license
string
mark-ignacio/phantomjs
src/qt/qtwebkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/DrawsGradient.cpp
144
3606
/* 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and ...
bsd-3-clause
hgl888/chromium-crosswalk-efl
third_party/libjpeg/jdinput.c
924
13500
/* * jdinput.c * * Copyright (C) 1991-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains input control logic for the JPEG decompressor. * These routines are concerned with controll...
bsd-3-clause
sgraham/nope
third_party/libjpeg/jdinput.c
924
13500
/* * jdinput.c * * Copyright (C) 1991-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains input control logic for the JPEG decompressor. * These routines are concerned with controll...
bsd-3-clause
highweb-project/highweb-webcl-html5spec
native_client_sdk/src/libraries/third_party/pthreads-win32/spin.c
416
1758
/* * spin.c * * Description: * This translation unit implements spin lock primitives. * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyright(C) 1999,2005 Pthreads-win32 co...
bsd-3-clause
hvos234/raspberrypi.home.website
vendor/Arduino/libraries/GSM/src/GSM3VoiceCallService.cpp
195
3722
/* This file is part of the GSM3 communications library for Arduino -- Multi-transport communications platform -- Fully asynchronous -- Includes code for the Arduino-Telefonica GSM/GPRS Shield V1 -- Voice calls -- SMS -- TCP/IP connections -- HTTP basic clients This library has been developed by Telefónica D...
bsd-3-clause
Deepakpatle/phantomjs
src/qt/qtwebkit/Source/WebCore/rendering/style/StyleSurroundData.cpp
205
1476
/* * 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
Jonekee/chromium.src
third_party/iccjpeg/iccjpeg.c
206
8606
/* * iccprofile.c * * This file provides code to read and write International Color Consortium * (ICC) device profiles embedded in JFIF JPEG image files. The ICC has * defined a standard format for including such data in JPEG "APP2" markers. * The code given here does not know anything about the internal structu...
bsd-3-clause
eriknstr/ThinkPad-FreeBSD-setup
FreeBSD/sys/dev/mlx5/mlx5_core/mlx5_pd.c
2
2373
/*- * Copyright (c) 2013-2015, Mellanox Technologies, Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
isc
MikeHeiber/KMC_Lattice
src/Object.cpp
1
2179
// Copyright (c) 2017-2020 Michael C. Heiber // This source file is part of the KMC_Lattice project, which is subject to the MIT License. // For more information, see the LICENSE file that accompanies this software. // The KMC_Lattice project can be found on Github at https://github.com/MikeHeiber/KMC_Lattice #include...
mit
ncultra/Pegasus-2.5
src/WMIMapper/WMIProvider/WMIException.cpp
1
5832
//%2005//////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; // IBM Corp.; EMC Cor...
mit
skylersaleh/ArgonEngine
common/BulletCollision/CollisionShapes/btBox2dShape.cpp
1
1665
//Generated by the Argon Build System /* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/ 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...
mit
bostick/tuppence
src/exe/Main.cpp
1
1958
#include "TuppenceConfig.h" #include "../lib/Interpreter.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Support/CommandLine.h" #include <fstream> #include <sstream> //#include <cstdlib> // for std::exit #include <iostream> #include <unistd.h> using namespace tuppence; llvm::cl::opt<bool> Jupyter("jupyter"...
mit
robolib/robolibc
src/Athena/ctre/PCM.cpp
1
16103
#pragma GCC diagnostic ignored "-Wmissing-field-initializers" #include "PCM.h" #include "NetworkCommunication/CANSessionMux.h" #include <string.h> // memset #include <unistd.h> // usleep /* This can be a constant, as long as nobody needs to updatie solenoids within 1/50 of a second. */ static const INT32 k...
mit
LugosFingite/LudOS
kern/tasking/scheduler.cpp
1
3773
/* scheduler.cpp Copyright (c) 29 Yann BOUCHER (yann) 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, pub...
mit
maurer/tiamat
samples/Juliet/testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_file_execl_53b.c
1
1997
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_file_execl_53b.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-53b.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: file Read input from a file * GoodSourc...
mit
NeilBryant/IEDiagnosticsAdapter
IEDiagnosticsAdapter/WebSocketHandler.cpp
1
18362
// // Copyright (C) Microsoft. All rights reserved. // #include "stdafx.h" #include "WebSocketHandler.h" #include "IEDiagnosticsAdapter.h" #include "Helpers.h" #include "resource.h" #include "Strsafe.h" #include <VersionHelpers.h> #include <boost/algorithm/string/case_conv.hpp> #include <Psapi.h> #include <Wininet.h> ...
mit
gallenmu/MoonGen
libmoon/deps/tbb/src/tbb/x86_rtm_rw_mutex.cpp
1
11113
/* Copyright (c) 2005-2018 Intel Corporation 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 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
mit
fillest/rtmp_load
src/luajit/src/lib_ffi.c
1
22292
/* ** FFI library. ** Copyright (C) 2005-2013 Mike Pall. See Copyright Notice in luajit.h */ #define lib_ffi_c #define LUA_LIB #include <errno.h> #include "lua.h" #include "lauxlib.h" #include "lualib.h" #include "lj_obj.h" #if LJ_HASFFI #include "lj_gc.h" #include "lj_err.h" #include "lj_str.h" #include "lj_tab....
mit
quirinpa/visual-search
vsmatch.cpp
1
9939
#include <argp.h> const char *argp_program_version = "vs-match " PROGRAM_VERSION, *argp_program_bug_address = "quirinpa@gmail.com"; static char doc[] = "Match query and train descriptors to identify if an image "\ "contains an object.", args_doc[] = "[query-path] [train-path]"; typedef struct { ...
mit
KazDragon/terminalpp-ui
test/rectangle_test.cpp
1
2088
#include <terminalpp-ui/rectangle.hpp> #include <gtest/gtest.h> TEST(rectangle_test, default_constructed_rectangle_is_at_origin_with_no_size) { terminalpp::ui::rectangle rect; terminalpp::point expected_origin{0, 0}; terminalpp::extent expected_size{0, 0}; ASSERT_EQ(expected_origin, rect.origin); ...
mit
MrTAB/aabGameEngine
geometry/driver/test_line.cpp
1
6262
#include"../../auden/auden.hpp" #include"../../events/events.hpp" #include"../../game/game.hpp" #include"../../geometry/geometry.hpp" #include"../../input/input.hpp" #include"../../maths/maths.hpp" #include"../../test/test.hpp" #include"../../time/time.hpp" #include"../../types/types.hpp" #include"../../vi...
mit
MiUishadow/magnum
src/Magnum/MeshTools/Compile.cpp
1
7121
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016 Vladimír Vondruš <mosra@centrum.cz> 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 S...
mit
mosass/SixpodSW
sixpod/src/platform/i2c.c
1
2115
/* * i2c.c * * Created on: Feb 14, 2017 * Author: Phanomphon Yotchon */ #include "i2c.h" #include "sleep.h" #include "platform.h" XIicPs I2cInts; int initI2c(void){ int status; XIicPs_Config *I2cConfig; if(I2cInts.IsReady){ return XST_SUCCESS; } I2cConfig = XIicPs_LookupConfig(XPAR_PS7_I2C_0_DEV...
mit
maurer/tiamat
samples/Juliet/testcases/CWE23_Relative_Path_Traversal/s01/CWE23_Relative_Path_Traversal__char_connect_socket_fopen_64b.cpp
2
2514
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE23_Relative_Path_Traversal__char_connect_socket_fopen_64b.cpp Label Definition File: CWE23_Relative_Path_Traversal.label.xml Template File: sources-sink-64b.tmpl.cpp */ /* * @description * CWE: 23 Relative Path Traversal * BadSource: connect_socket Read data u...
mit
maurer/tiamat
samples/Juliet/testcases/CWE761_Free_Pointer_Not_at_Start_of_Buffer/CWE761_Free_Pointer_Not_at_Start_of_Buffer__char_console_52c.c
2
1682
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE761_Free_Pointer_Not_at_Start_of_Buffer__char_console_52c.c Label Definition File: CWE761_Free_Pointer_Not_at_Start_of_Buffer.label.xml Template File: source-sinks-52c.tmpl.c */ /* * @description * CWE: 761 Free Pointer not at Start of Buffer * BadSource: cons...
mit
ober/pinky-server
vendor/projects/ngx_openresty-1.2.7.6/bundle/set-misc-nginx-module-0.22rc8/src/ngx_http_set_random.c
2
1394
#ifndef DDEBUG #define DDEBUG 0 #endif #include "ddebug.h" #include <ndk.h> #include "ngx_http_set_random.h" #include <stdlib.h> ngx_int_t ngx_http_set_misc_set_random(ngx_http_request_t *r, ngx_str_t *res, ngx_http_variable_value_t *v) { ngx_http_variable_value_t *rand_from, *r...
mit
kamyu104/LintCode
C++/interval-sum-ii.cpp
2
5025
// Time: ctor: O(n), // query: O(logn), // modify: O(logn) // Space: O(n) /** * Definition of Interval: * classs Interval { * int start, end; * Interval(int start, int end) { * this->start = start; * this->end = end; * } */ // Segment Tree solution. class SegmentT...
mit
FabianHahn/shoveler
base/src/log.c
2
3062
#include "shoveler/log.h" #include <glib.h> #include <stdbool.h> // bool #include <stddef.h> // NULL #include <stdio.h> // FILE, fprintf, fflush #include <stdlib.h> // free #include <string.h> // strdup, strstr static void logHandler(const char* file, int line, ShovelerLogLevel level, const char* message); static boo...
mit
maurer/tiamat
samples/Juliet/testcases/CWE134_Uncontrolled_Format_String/s04/CWE134_Uncontrolled_Format_String__wchar_t_console_fprintf_83_bad.cpp
2
2273
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE134_Uncontrolled_Format_String__wchar_t_console_fprintf_83_bad.cpp Label Definition File: CWE134_Uncontrolled_Format_String.label.xml Template File: sources-sinks-83_bad.tmpl.cpp */ /* * @description * CWE: 134 Uncontrolled Format String * BadSource: console R...
mit
maurer/tiamat
samples/Juliet/testcases/CWE606_Unchecked_Loop_Condition/CWE606_Unchecked_Loop_Condition__wchar_t_listen_socket_53d.c
2
3383
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE606_Unchecked_Loop_Condition__wchar_t_listen_socket_53d.c Label Definition File: CWE606_Unchecked_Loop_Condition.label.xml Template File: sources-sinks-53d.tmpl.c */ /* * @description * CWE: 606 Unchecked Input For Loop Condition * BadSource: listen_socket Rea...
mit
TiddoLangerak/flow
hack/utils/compiler_id_impl.c
2
1220
/** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #define CAML_N...
mit
ducis/pile-of-cpp
Common/MyMaterialExtraClass.cpp
2
1319
// TKBMS v1.0 ----------------------------------------------------- // // PLATFORM : ALL // PRODUCT : PHYSICS // VISIBILITY : PUBLIC // // ------------------------------------------------------TKBMS v1.0 // WARNING: THIS FILE IS GENERATED. EDITS WILL BE LOST. // Generated from 'D:/MyDemo/Common/MyMateria...
mit
fillest/rtmp_load
src/libav/libavcodec/aaccoder.c
2
44879
/* * AAC coefficients encoder * Copyright (C) 2008-2009 Konstantin Shishkov * * This file is part of Libav. * * Libav 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.1 of the...
mit
plawanrath/Computer_Architectures_Design_Choice_Analysis
CA_Proj/simplesim-3.0/stats.c
3
33177
/* stats.c - statistical package routines */ /* SimpleScalar(TM) Tool Suite * Copyright (C) 1994-2003 by Todd M. Austin, Ph.D. and SimpleScalar, LLC. * All Rights Reserved. * * THIS IS A LEGAL DOCUMENT, BY USING SIMPLESCALAR, * YOU ARE AGREEING TO THESE TERMS AND CONDITIONS. * * No portion of this work may b...
mit
LuaDist/lzmq
src/lzutils.c
3
6062
#include "lzutils.h" #include <memory.h> #include <assert.h> #if LUA_VERSION_NUM >= 502 int luazmq_typerror (lua_State *L, int narg, const char *tname) { const char *msg = lua_pushfstring(L, "%s expected, got %s", tname, luaL_typename(L, narg)); return luaL_argerror(L, narg, msg); } #else ...
mit
UAF-SuperDARN-OPS/SuperDARN_MSI_ROS
qnx/root/operational_radar_code/ros/gc314FS_driver.1.32.exp/include/_create_DMA_buff.c
4
1478
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <sys/mman.h> int _create_DMA_buff(unsigned long *virtual_addr, unsigned long *physical_addr, size_t length){ int temp; size_t contig_length; void *v_addr; //unsigned int p_addr; off64_t p_addr; // map and get 'virtual address' (address in c...
mit
opmana/godot
modules/ik/ik.cpp
4
8421
/*************************************************************************/ /* ik.cpp */ /* Copyright (c) 2016 Sergey Lapin <slapinid@gmail.com> */ /*************************************************************************/ /* ...
mit
jwm/dovecot-notmuch
src/lib-charset/charset-iconv.c
4
3409
/* Copyright (c) 2002-2014 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "buffer.h" #include "unichar.h" #include "charset-utf8.h" #ifdef HAVE_ICONV #include <iconv.h> #include <ctype.h> struct charset_translation { iconv_t cd; normalizer_func_t *normalizer; }; int charset_to_utf8_b...
mit
dushibaiyu/DsbyLiteExample
QFtpSeriesDown/qurlinfo.cpp
4
17395
/**************************************************************************** ** ** Copyright (C) 2012 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:LGPL$ ** Commercial License Usage ...
mit
applehackfoxus/Quantum-Trading
QuantLib-1.4/ql/models/marketmodels/evolvers/lognormalcotswapratepc.cpp
4
6405
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2006, 2007 Ferdinando Ametrano Copyright (C) 2006, 2007 Mark Joshi This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLi...
mit
shengwen1997/stm32_pratice
firmware/freertos/create_task/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo_bsp/ps7_cortexa9_0/libsrc/uartps_v2_1/src/xuartps_options.c
6
23589
/****************************************************************************** * * Copyright (C) 2010 - 2014 Xilinx, 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 Softw...
mit
OpenSocialGames/godot
drivers/opus/silk/tables_NLSF_CB_WB.c
6
11193
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retai...
mit
Vertexwahn/appleseed
src/appleseed/foundation/math/specialfunctions.cpp
6
5424
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2014-2018 Esteban Tovagliari, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any perso...
mit
sevenminer7/7coin
src/crypter.cpp
1030
4747
// Copyright (c) 2009-2012 The Bitcoin Developers // Copyright (c) 2011-2012 Litecoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <openssl/aes.h> #include <openssl/evp.h> #include <vector> #include <s...
mit
ivansafrin/Polycode
Core/Contents/Source/PolyFontManager.cpp
9
2837
/* Copyright (C) 2011 by Ivan Safrin 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, distri...
mit
MarkPfennig/gamecredits
src/test/allocator_tests.cpp
10
3898
// Original Code: Copyright (c) 2012-2014 The Bitcoin Core Developers // Modified Code: Copyright (c) 2014 Project Bitmark // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "util.h" #include <boost/test/unit_test.hpp...
mit
triyoifanto/Mean-BookStore
node_modules/node-sass/src/libsass/src/units.cpp
266
6128
#include <stdexcept> #include "units.hpp" #ifdef IN #undef IN #endif namespace Sass { /* the conversion matrix can be readed the following way */ /* if you go down, the factor is for the numerator (multiply) */ /* if you go right, the factor is for the denominator (divide) */ /* and yes, we actually use both...
mit
laborautonomo/poedit
deps/boost/libs/smart_ptr/test/allocate_shared_array_init_test.cpp
11
2796
/* * Copyright (c) 2012 Glen Joseph Fernandes * glenfe at live dot com * * Distributed under the Boost Software License, * Version 1.0. (See accompanying file LICENSE_1_0.txt * or copy at http://boost.org/LICENSE_1_0.txt) */ #include <boost/detail/lightweight_test.hpp> #include <boost/smart_ptr/allocate_share...
mit
Ombae/sph336_june2015
twrk60/TSI/uart.c
11
2280
/* * uart.c * * Copyright (c) 2015 David Muriuki * see the LICENCE file */ #include"uart.h" void init_uart(UART_MemMapPtr uartch, int sysclk, int baud){ uint16_t ubd, temp, brfa; /* Make sure that the transmitter and receiver are disabled while we * change settings. */ UART_C2_REG(uartch) &= ~(UART_C2_TE_MA...
mit
retsu0/FFmepg-Android
jni/ffmpeg/libavcodec/gifdec.c
11
17207
/* * GIF decoder * Copyright (c) 2003 Fabrice Bellard * Copyright (c) 2006 Baptiste Coudurier * Copyright (c) 2012 Vitaliy E Sugrobov * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published...
mit
mircea/mraa
src/arm/raspberry_pi.c
11
22691
/* * Author: Thomas Ingleby <thomas.c.ingleby@intel.com> * Author: Michael Ring <mail@michael-ring.org> * Copyright (c) 2014 Intel Corporation. * * 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...
mit
MTASZTAKI/ApertusVR
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/openssl/openssl/crypto/evp/p5_crpt.c
12
2975
/* * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
mit
GarageGames/Torque3D
Engine/source/windowManager/win32/winDispatch.cpp
13
17201
//----------------------------------------------------------------------------- // 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
goldcoin/gldcoin
BuildDeps/deps/boost/libs/geometry/test/multi/algorithms/multi_touches.cpp
13
3033
// Boost.Geometry (aka GGL, Generic Geometry Library) // // Copyright (c) 2010-2012 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #in...
mit
UWNetworksLab/arrakis
lib/oldc/src/gdtoa/smisc.c
14
3694
/**************************************************************** The author of this software is David M. Gay. Copyright (C) 1998, 1999 by Lucent Technologies All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro...
mit
yxcoin/yxcoin
src/boost_1_55_0/libs/asio/example/cpp03/services/daytime_client.cpp
16
2330
// // daytime_client.cpp // ~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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/asio.hpp> #incl...
mit
dan-tull/Halide
test/correctness/gpu_object_lifetime.cpp
16
1374
#include "Halide.h" #include <iostream> #include "../common/gpu_object_lifetime.h" using namespace Halide; void halide_print(void *user_context, const char *str) { printf("%s", str); record_gpu_debug(str); } int main(int argc, char *argv[]) { Internal::JITHandlers handlers; handlers.custom_print = ...
mit
jjimenezg93/ai-pathfinding
moai/3rdparty/box2d-2.2.1/Box2D/Collision/b2CollideEdge.cpp
29
15537
/* * Copyright (c) 2007-2009 Erin Catto http://www.box2d.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 purpos...
mit
openmv/openmv
src/hal/cmsis/src/dsp/StatisticsFunctions/arm_std_q15.c
37
5797
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_std_q15.c * Description: Standard deviation of an array of Q15 vector * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------...
mit
remspoor/nodemcu-firmware
app/ucglib/ucg_dev_ic_st7735.c
37
11236
/* ucg_dev_ic_st7735.c Specific code for the st7735 controller (TFT displays) Universal uC Color Graphics Library Copyright (c) 2014, olikraus@gmail.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following...
mit
CooloiStudio/Cocos2d-x_DESEncryption
cocos2d/extensions/GUI/CCScrollView/CCTableView.cpp
39
15932
/**************************************************************************** Copyright (c) 2012 cocos2d-x.org Copyright (c) 2010 Sangwoo Im http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
mit
didier-v/godot
scene/resources/mesh_data_tool.cpp
39
17274
/*************************************************************************/ /* mesh_data_tool.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
mit
zhs007/cardmaker
client/cardmaker/cocos2d/cocos/editor-support/spine/Event.c
41
2123
/****************************************************************************** * Spine Runtimes Software License * Version 2.3 * * Copyright (c) 2013-2015, Esoteric Software * All rights reserved. * * You are granted a perpetual, non-exclusive, non-sublicensable and * non-transferable license to use, install...
mit
haodongxi/WinObjC
deps/3rdparty/libdispatch/testing/dispatch_readsync.c
45
1804
/* * Copyright (c) 2008-2009 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * 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 the License at * * http://www.apache.org/l...
mit
PauloMigAlmeida/cordova-plugin-tesseract-camera
src/android/libs/com_googlecode_leptonica_android/src/src/bilinear.c
48
30740
/*====================================================================* - 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...
mit
honix/godot
thirdparty/bullet/BulletDynamics/Featherstone/btMultiBodyMLCPConstraintSolver.cpp
50
33025
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2018 Google Inc. 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 granted to an...
mit
yxcoin/yxcoin
src/boost_1_55_0/libs/spirit/classic/test/multi_pass_compile_tests.cpp
55
2127
/*============================================================================= Copyright (c) 2004 Hartmut Kaiser http://spirit.sourceforge.net/ Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boo...
mit
david-mitchell/coreclr
src/pal/tests/palsuite/c_runtime/vfprintf/test17/test17.c
62
1730
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*============================================================================ ** ** Source: test17.c ** ** Purpose: Test #17 for the vfprintf function. Tests t...
mit
bitcrazed/coreclr
src/pal/tests/palsuite/c_runtime/fprintf/test14/test14.c
62
1995
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*============================================================================ ** ** Source: test14.c (fprintf) ** ** Purpose: Tests the lowercase expon...
mit
gridcoin/Gridcoin-master
src/test/miner_tests.cpp
65
8574
#include <boost/test/unit_test.hpp> #include "init.h" #include "main.h" #include "uint256.h" #include "util.h" #include "wallet.h" extern void SHA256Transform(void* pstate, void* pinput, const void* pinit); BOOST_AUTO_TEST_SUITE(miner_tests) static struct { unsigned char extranonce; unsigned int nonce; } bl...
mit
cwahbong/nodegit
vendor/libgit2/tests/merge/workdir/trivial.c
65
8694
#include "clar_libgit2.h" #include "git2/repository.h" #include "git2/merge.h" #include "git2/sys/index.h" #include "merge.h" #include "../merge_helpers.h" #include "refs.h" #include "fileops.h" static git_repository *repo; static git_index *repo_index; #define TEST_REPO_PATH "merge-resolve" #define TEST_INDEX_PATH T...
mit
goldcoin/gldcoin
BuildDeps/deps/boost/libs/chrono/example/manipulate_clock_object.cpp
67
1775
// manipulate_clock_object.cpp ----------------------------------------------------------// // Copyright 2008 Howard Hinnant // Copyright 2008 Beman Dawes // Copyright 2009 Vicente J. Botet Escriba // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt /* Thi...
mit
StephanieMak/nodegit
vendor/libgit2/tests/refs/peel.c
70
3482
#include "clar_libgit2.h" static git_repository *g_repo; static git_repository *g_peel_repo; void test_refs_peel__initialize(void) { cl_git_pass(git_repository_open(&g_repo, cl_fixture("testrepo.git"))); cl_git_pass(git_repository_open(&g_peel_repo, cl_fixture("peeled.git"))); } void test_refs_peel__cleanup(void) ...
mit
chukong/sdkbox-facebook-sample-v2
cocos2dx/platform/third_party/marmalade/freetype/src/base/ftstream.c
79
19884
/***************************************************************************/ /* */ /* ftstream.c */ /* */ /* I/...
mit
olpotkin/CarND-Path-Planning
src/Eigen-3.3/test/sparse_block.cpp
84
11867
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2015 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
mit
Naituw/nodegit
vendor/openssl/openssl/crypto/asn1/a_d2i_fp.c
596
7624
/* crypto/asn1/a_d2i_fp.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and n...
mit
vladikoff/nodegit
vendor/openssl/openssl/crypto/aes/aes_misc.c
599
3291
/* crypto/aes/aes_misc.c -*- mode:C; c-file-style: "eay" -*- */ /* ==================================================================== * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
mit
washcycle/Windows-universal-samples
Samples/WiFiScan/cpp/Scenario4_Connect.xaml.cpp
99
9488
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
mit
omnicoin/eurobit
src/qt/transactionfilterproxy.cpp
1381
2418
#include "transactionfilterproxy.h" #include "transactiontablemodel.h" #include <QDateTime> #include <cstdlib> // Earliest date that can be represented (far in the past) const QDateTime TransactionFilterProxy::MIN_DATE = QDateTime::fromTime_t(0); // Last date that can be represented (far in the future) const QDateT...
mit
byte-coin/bytecoin
src/walletdb.cpp
103
22551
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletdb.h" #include "wallet.h" #include <boost/version.hpp> #include <b...
mit
qiudesong/coreclr
src/pal/tests/palsuite/c_runtime/sinhf/test1/test1.c
108
4478
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================================= ** ** Source: test1.c ** ** Purpose:...
mit
troncell/Windows-universal-samples
Samples/Simple3DGameDX/cpp/Simple3DGame.cpp
111
44384
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
mit
thezawad/WinObjC
deps/3rdparty/iculegacy/source/samples/datefmt/answers/main_2.cpp
388
2545
/******************************************************************** * COPYRIGHT: * Copyright (c) 1999-2002, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ #include "unicode/unistr.h" #include "unicode/calendar.h...
mit
noorthapa/Windows-universal-samples
Samples/MessageDialog/cpp/CancelCommand.xaml.cpp
135
2923
//********************************************************* // // 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
cloudmonkeypeng/WinObjC
deps/3rdparty/iculegacy/source/test/intltest/caltztst.cpp
393
6500
/******************************************************************** * COPYRIGHT: * Copyright (c) 1997-2010, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /* * File CALTZTST.H * * Modification History: * * Dat...
mit
rollenrolm/godot
drivers/builtin_openssl2/crypto/ec/ec_curve.c
145
139571
/* crypto/ec/ec_curve.c */ /* * Written by Nils Larsch for the OpenSSL project. */ /* ==================================================================== * Copyright (c) 1998-2010 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are...
mit
nodegit/test2
vendor/openssl/openssl/crypto/rc5/rc5test.c
657
13112
/* crypto/rc5/rc5test.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non...
mit
freder/nodegit
vendor/openssl/openssl/ssl/ssl_cert.c
148
22087
/*! \file ssl/ssl_cert.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and no...
mit
blackwc/godot
tools/freetype/freetype/src/pshinter/pshmod.c
413
3521
/***************************************************************************/ /* */ /* pshmod.c */ /* */ /* Fr...
mit
insionng/WinObjC
deps/3rdparty/icu/icu/source/test/intltest/loctest.cpp
166
104128
/******************************************************************** * COPYRIGHT: * Copyright (c) 1997-2015, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ #include "loctest.h" #include "unicode/decimfmt.h" #incl...
mit
brexitcoin/BrexitCoin
src/qt/bitcoinamountfield.cpp
176
4241
#include "bitcoinamountfield.h" #include "qvaluecombobox.h" #include "bitcoinunits.h" #include "guiconstants.h" #include <QHBoxLayout> #include <QKeyEvent> #include <QDoubleSpinBox> #include <QApplication> #include <qmath.h> // for qPow() BitcoinAmountField::BitcoinAmountField(QWidget *parent): QWidget(paren...
mit
bSr43/WinObjC
deps/3rdparty/iculegacy/source/samples/numfmt/main.cpp
182
9102
/******************************************************************** * COPYRIGHT: * Copyright (c) 1999-2010, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ #include "unicode/utypes.h" #include "unicode/unistr.h" ...
mit
KennethLK/WinObjC
deps/3rdparty/icu/icu/source/test/intltest/dtfmtrtts.cpp
187
21323
/*********************************************************************** * COPYRIGHT: * Copyright (c) 1997-2014, International Business Machines Corporation * and others. All Rights Reserved. ***********************************************************************/ #include "unicode/utypes.h" #if !UCONFIG_NO_FOR...
mit
davidlee80/WinObjC
deps/3rdparty/icu/icu/source/test/intltest/transtst.cpp
188
175258
/* ********************************************************************** * Copyright (C) 1999-2014, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description * 11/10/99 aliu ...
mit
TheCryptoServices/LiteCoinUltra
src/zerocoin/ParamGeneration.cpp
194
25774
/// \file ParamGeneration.cpp /// /// \brief Parameter manipulation routines for the Zerocoin cryptographic /// components. /// /// \author Ian Miers, Christina Garman and Matthew Green /// \date June 2013 /// /// \copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green ...
mit
KenanSulayman/nodegit
vendor/openssl/openssl/engines/ccgost/gost_md.c
204
2265
/********************************************************************** * md_gost.c * * Copyright (c) 2005-2006 Cryptocom LTD * * This file is distributed under the same license as OpenSSL * * ...
mit
praveenperera/qrideshare
vendor/cache/ruby/2.2.0/gems/ffi-1.9.10/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c
213
1513
/* Area: ffi_call, closure_call Purpose: Test doubles passed in variable argument lists. Limitations: none. PR: none. Originator: Blake Chaffin 6/6/2007 */ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */ /* { dg-output "" { xfail avr32*-*-* } } */ /* { dg-output "" { xfail mips-sgi-irix6* } }...
mit
SuPair/WinObjC
deps/3rdparty/icu/icu/source/common/umapfile.c
237
16055
/* ****************************************************************************** * * Copyright (C) 1999-2013, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************/ /*---------------------------------------...
mit
byte-mug/xpp
luasrc/llex.c
246
16097
/* ** $Id: llex.c,v 2.96 2016/05/02 14:02:12 roberto Exp $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ #define llex_c #define LUA_CORE #include "lprefix.h" #include <locale.h> #include <string.h> #include "lua.h" #include "lctype.h" #include "ldebug.h" #include "ldo.h" #include "lgc.h" #include "llex....
mit
MultiCoinTeam/MultiCoin
src/groestl.c
1015
132617
/* $Id: groestl.c 260 2011-07-21 01:02:38Z tp $ */ /* * Groestl implementation. * * ==========================(LICENSE BEGIN)============================ * * Copyright (c) 2007-2010 Projet RNRT SAPHIR * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and assoc...
mit