hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
b867c2059a12d5c2a450dee520e7e61a6c1ccecd
1,846
cpp
C++
LibCarla/source/carla/rpc/WeatherParameters.cpp
xiaobaibai521/auto
f0585716a8afc4e327dcc57944cb44fc39184b57
[ "MIT" ]
8
2019-11-27T18:43:09.000Z
2022-01-16T06:08:36.000Z
LibCarla/source/carla/rpc/WeatherParameters.cpp
tiev-tongji/carla-ex
1cd2ecc43a9ac1b039842b8c46b3de368b70afc4
[ "MIT" ]
2
2019-09-18T16:06:58.000Z
2019-09-24T16:48:07.000Z
LibCarla/source/carla/rpc/WeatherParameters.cpp
tiev-tongji/carla-ex
1cd2ecc43a9ac1b039842b8c46b3de368b70afc4
[ "MIT" ]
5
2020-05-12T20:03:10.000Z
2022-02-25T14:40:07.000Z
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/rpc/WeatherParameters.h" namespace carla { namespace rpc { using WP = Weath...
55.939394
91
0.472914
xiaobaibai521
b86cba27311b9ffe770a16aace7db8bfbb9bb40a
909
hpp
C++
include/NP-Engine/Memory/Memory.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Memory/Memory.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Memory/Memory.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
// // Memory.hpp // Project Space // // Created by Nathan Phipps on 2/7/21. // Copyright © 2021 Nathan Phipps. All rights reserved. // #ifndef NP_ENGINE_MEMORY_HPP #define NP_ENGINE_MEMORY_HPP #include "NP-Engine/Foundation/Foundation.hpp" #include "Allocator.hpp" #include "Block.hpp" #include "CAllocator.hpp" #...
24.567568
56
0.776678
naphipps
b86ed7331b7911705c6841460a642603dbf3414e
50,497
cpp
C++
groups/bsl/bslalg/bslalg_nothrowmovableutil.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
1
2021-11-10T16:53:42.000Z
2021-11-10T16:53:42.000Z
groups/bsl/bslalg/bslalg_nothrowmovableutil.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
2
2020-11-05T15:20:55.000Z
2021-01-05T19:38:43.000Z
groups/bsl/bslalg/bslalg_nothrowmovableutil.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
2
2020-01-16T17:58:12.000Z
2020-08-11T20:59:30.000Z
// bslalg_nothrowmovableutil.t.cpp -*-C++-*- #include <bslalg_nothrowmovableutil.h> #include <bslalg_constructorproxy.h> #include <bslma_defaultallocatorguard.h> #include <bsla_maybeunused.h> #include <bslma_testallocator.h> #include <bslma_usesbslmaallocator.h> #include <bsls_asse...
36.967057
80
0.588669
eddiepierce
b87653a3554e9111f5840f45dd932de5a1e33c09
6,066
cpp
C++
src/acid.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
1
2018-09-16T03:17:50.000Z
2018-09-16T03:17:50.000Z
src/acid.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
src/acid.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
#include "system.h" /* * ACID DAMAGE ROUTINES */ int obj_data :: vs_acid( ) { int save = 100; int i; for( i = 0; i < MAX_MATERIAL; i++ ) if( is_set( &pIndexData->materials, i ) ) save = min( save, material_table[i].save_acid ); if( pIndexData->item_type != ITEM_ARMOR || pIndexDat...
27.953917
144
0.661556
Celissa
b877a8ebf250532bd1f23deedb2ef1f8fed418c1
2,802
cpp
C++
solutions/src/map_groupAnagrams.cpp
imvasu/algorithms
6013bc4c0d3b1f233adc83b2f6fa9d51d482a441
[ "Apache-2.0" ]
null
null
null
solutions/src/map_groupAnagrams.cpp
imvasu/algorithms
6013bc4c0d3b1f233adc83b2f6fa9d51d482a441
[ "Apache-2.0" ]
3
2018-03-27T23:43:30.000Z
2018-03-27T23:48:58.000Z
solutions/src/map_groupAnagrams.cpp
imvasu/algorithms
6013bc4c0d3b1f233adc83b2f6fa9d51d482a441
[ "Apache-2.0" ]
null
null
null
// // map_groupAnagrams.cpp // algorithms // // Created by Vasu Pasupuleti on 3/28/18. // Copyright © 2018 Vasu Pasupuleti. All rights reserved. // /* INPUT anagrams(['xxy', 'cab', 'bca', 'cab', 'bac', 'dash', 'shad']) OUTPUT [ ['xxy'], ['cab', 'bca’, 'bac'], ['dash', 'shad'] ] Group strings that are an...
20.602941
140
0.637759
imvasu
b87b8beef92029ae1f4a625461703b424c687e50
1,079
hpp
C++
include/mtl/memory.hpp
scaryrawr/mtl
eea8e9c6662b613dc5098a2cb442a7b1522bf8f0
[ "MIT" ]
null
null
null
include/mtl/memory.hpp
scaryrawr/mtl
eea8e9c6662b613dc5098a2cb442a7b1522bf8f0
[ "MIT" ]
null
null
null
include/mtl/memory.hpp
scaryrawr/mtl
eea8e9c6662b613dc5098a2cb442a7b1522bf8f0
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <type_traits> #include "type_traits.hpp" namespace mtl { template <class FuncPtr, FuncPtr func> struct custom_delete { using value_type = unary_argument_type_t<FuncPtr>; auto operator()(value_type arg) const { return func(arg); ...
21.58
124
0.60519
scaryrawr
b87bf58908deca82c70532bdeab9663f6056fb00
2,595
cpp
C++
weekly-challenges/week154.cpp
guicaiWXY/HIHO-problems
e4334e3a13eb18d16c5902064ea02c38ab3c2cc2
[ "MIT" ]
null
null
null
weekly-challenges/week154.cpp
guicaiWXY/HIHO-problems
e4334e3a13eb18d16c5902064ea02c38ab3c2cc2
[ "MIT" ]
null
null
null
weekly-challenges/week154.cpp
guicaiWXY/HIHO-problems
e4334e3a13eb18d16c5902064ea02c38ab3c2cc2
[ "MIT" ]
null
null
null
// // Created by wxy on 17.6.15. // #include <vector> #include <cstring> #include "week154.h" #include <cstdio> //#define SQR(__x) ((__x) * (__x)) //#define INTERSECTED(i, j) ((long long)SQR(x[(i)] - x[(j)]) + SQR(y[(i)] - y[(j)])) <= (long long)SQR(r[(i)] + r[(j)]) int x[1000]; int y[1000]; int r[1000]; int indices...
21.991525
144
0.454721
guicaiWXY
b87c7f286679548d87c51b76c9d9274b273aaea3
3,228
cpp
C++
Plugins/org.mitk.gui.qt.application/src/QmitkDataNodeComponentAction.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.mitk.gui.qt.application/src/QmitkDataNodeComponentAction.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.gui.qt.application/src/QmitkDataNodeComponentAction.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
31.647059
145
0.742255
zhaomengxiao
b87d1d79bf33cccff70f3a0cbfac707753bfbd76
16,038
cpp
C++
NULL Engine/Source/GameObject.cpp
xsiro/NULL_Engine
bb8da3de7f507b27d895cf8066a03faa115ff3c6
[ "MIT" ]
null
null
null
NULL Engine/Source/GameObject.cpp
xsiro/NULL_Engine
bb8da3de7f507b27d895cf8066a03faa115ff3c6
[ "MIT" ]
null
null
null
NULL Engine/Source/GameObject.cpp
xsiro/NULL_Engine
bb8da3de7f507b27d895cf8066a03faa115ff3c6
[ "MIT" ]
null
null
null
#include "VariableTypedefs.h" #include "Macros.h" #include "Log.h" #include "JSONParser.h" #include "Random.h" #include "Application.h" #include "M_Renderer3D.h" // TMP. Move the Renderers generation elsewhere. #include "R_Mesh.h" #include "Component.h" #include "C_Transform.h" #include "C_Mesh.h...
22.556962
172
0.679885
xsiro
b87fa743a184093b4c1a360caae9643a5315827e
684
cpp
C++
src/noj_am/BOJ_5639.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
1
2020-06-01T12:19:31.000Z
2020-06-01T12:19:31.000Z
src/noj_am/BOJ_5639.cpp
ginami0129g/my-study-history
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
23
2020-11-08T07:14:02.000Z
2021-02-11T11:16:00.000Z
src/noj_am/BOJ_5639.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
null
null
null
#include <iostream> using namespace std; typedef struct Node { int data; Node *left = nullptr, *right = nullptr; } Node; int num; Node *root = nullptr; void insert(Node *&node, int data) { if (node == nullptr) { node = new Node; node->data = data; } else if (node->data < data) { insert(node->right...
19
41
0.608187
ginami0129g
b8818760146488af0756d048cdc8e7bd7f6568ce
7,851
cpp
C++
Atomic/AtSmtpSender.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
4
2019-11-10T21:56:40.000Z
2021-12-11T20:10:55.000Z
Atomic/AtSmtpSender.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
null
null
null
Atomic/AtSmtpSender.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
1
2019-11-11T08:38:59.000Z
2019-11-11T08:38:59.000Z
#include "AtIncludes.h" #include "AtSmtpSender.h" #include "AtInitOnFirstUse.h" #include "AtNumCvt.h" #include "AtSmtpSenderThread.h" #include "AtTime.h" #include "AtWait.h" namespace At { // SmtpSenderWorkItem SmtpSenderWorkItem::~SmtpSenderWorkItem() noexcept { if (m_memUsage.Any()) Int...
32.17623
129
0.6631
denisbider
b881a48eb4f61d5017c5660c7fa55f42ae308d81
17,467
hpp
C++
Libraries/Mathter/Matrix/MatrixArithmetic.hpp
petiaccja/MathterBench
e47ad69447a3031c24ed06c51435c60593719b26
[ "Unlicense" ]
1
2020-05-26T22:08:29.000Z
2020-05-26T22:08:29.000Z
Libraries/Mathter/Matrix/MatrixArithmetic.hpp
petiaccja/MathterBench
e47ad69447a3031c24ed06c51435c60593719b26
[ "Unlicense" ]
null
null
null
Libraries/Mathter/Matrix/MatrixArithmetic.hpp
petiaccja/MathterBench
e47ad69447a3031c24ed06c51435c60593719b26
[ "Unlicense" ]
null
null
null
#pragma once #include "MatrixImpl.hpp" #include <utility> namespace mathter { //------------------------------------------------------------------------------ // Matrix-matrix multiplication //------------------------------------------------------------------------------ namespace impl { template...
45.018041
220
0.640236
petiaccja
b8849bc28ba843753b3453fce59ab2d978be1486
4,044
hpp
C++
external/boost_1_60_0/qsboost/fusion/container/generation/detail/pp_make_vector.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/fusion/container/generation/detail/pp_make_vector.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/fusion/container/generation/detail/pp_make_vector.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman 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) =========================================...
34.862069
140
0.651583
wouterboomsma
b8854804dd7da7c7ba0eeecca6c439213a016c57
489
hpp
C++
libs/font/include/sge/font/object_unique_ptr.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/font/include/sge/font/object_unique_ptr.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/font/include/sge/font/object_unique_ptr.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_FONT_OBJECT_UNIQUE_PTR_HPP_INCLUDED #define SGE_FONT_OBJECT_UNIQUE_PTR_HPP_INCLUDED #i...
24.45
63
0.750511
cpreh
b886af39809c5eff327b66dccde51a9943335b9c
513
cpp
C++
chapter-01/sumI.cpp
zyzisyz/DataStructure
0856f1f1eccad90aadbb8e0c205bdc932d367d72
[ "Apache-2.0" ]
null
null
null
chapter-01/sumI.cpp
zyzisyz/DataStructure
0856f1f1eccad90aadbb8e0c205bdc932d367d72
[ "Apache-2.0" ]
null
null
null
chapter-01/sumI.cpp
zyzisyz/DataStructure
0856f1f1eccad90aadbb8e0c205bdc932d367d72
[ "Apache-2.0" ]
null
null
null
/********************************** * filename: sumI * author: Yang Zhang * e-mail: zyziszy@foxmail.com * time: 2018-10-15 ***********************************/ #include <iostream> using namespace std; //计算给定n个整数的总和 //时间复杂度为O(n) int sumI(int A[], int n) { int sum = 0; for (int i = 0; i < n; i++) sum +=...
16.548387
41
0.467836
zyzisyz
b889e6e8d801bc587942fc5623ddd86b9b34c971
84
cpp
C++
Engine/src/EnginePCH.cpp
jpvanoosten/VolumeTiledForwardShading
daf27632cb173c05faace6db0b72a74ae0fe216c
[ "MIT" ]
70
2017-11-12T08:25:47.000Z
2022-03-10T03:16:06.000Z
Engine/src/EnginePCH.cpp
jpvanoosten/VolumeTiledForwardShading
daf27632cb173c05faace6db0b72a74ae0fe216c
[ "MIT" ]
null
null
null
Engine/src/EnginePCH.cpp
jpvanoosten/VolumeTiledForwardShading
daf27632cb173c05faace6db0b72a74ae0fe216c
[ "MIT" ]
11
2017-12-18T12:42:32.000Z
2022-02-04T08:19:53.000Z
#include <EnginePCH.h> // Reference any static headers in EnginePCH.h and not here.
28
60
0.761905
jpvanoosten
b88a78cadaa1ab34d1402c0b0b430a81ff6b0c02
52
hpp
C++
src/boost_thread_pthread_recursive_mutex.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_thread_pthread_recursive_mutex.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_thread_pthread_recursive_mutex.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/thread/pthread/recursive_mutex.hpp>
26
51
0.826923
miathedev
b88cf523dcbbfe994d064afeac09aac9a6ab97d0
2,537
cpp
C++
src/caffe/layers/cudnn_relu_layer.cpp
superxuang/caffe_3d_faster_rcnn
5a18ab92997885f4b6033ed1f1b9ba907b1e2609
[ "BSD-2-Clause" ]
38
2018-07-30T07:53:56.000Z
2022-02-23T13:57:49.000Z
src/caffe/layers/cudnn_relu_layer.cpp
superxuang/caffe_triple-branch_FCN
e6b3ce2969dc95c55c25921194b93b05513f09ef
[ "MIT" ]
22
2018-07-12T03:33:35.000Z
2021-09-07T16:29:41.000Z
src/caffe/layers/cudnn_relu_layer.cpp
Wangdali-jpg/caffe_3d_faster_rcnn
5a18ab92997885f4b6033ed1f1b9ba907b1e2609
[ "BSD-2-Clause" ]
20
2019-01-01T07:33:56.000Z
2021-09-17T12:50:17.000Z
#ifdef USE_CUDNN #include <vector> #include "caffe/layers/cudnn_relu_layer.hpp" namespace caffe { template <typename Dtype> void CuDNNReLULayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) { ReLULayer<Dtype>::LayerSetUp(bottom, top); // initialize cuDNN CUDNN_CHECK...
27.576087
115
0.687426
superxuang
b88cfb16af59bd62fe67211318f1d7b45f444767
10,437
cpp
C++
code/components/citizen-server-impl/src/state/ServerRPC.cpp
R0JEA/fivem
a61a3d501d4c06e5f3f9d65b0ef33e52d4ccd50e
[ "MIT" ]
null
null
null
code/components/citizen-server-impl/src/state/ServerRPC.cpp
R0JEA/fivem
a61a3d501d4c06e5f3f9d65b0ef33e52d4ccd50e
[ "MIT" ]
null
null
null
code/components/citizen-server-impl/src/state/ServerRPC.cpp
R0JEA/fivem
a61a3d501d4c06e5f3f9d65b0ef33e52d4ccd50e
[ "MIT" ]
null
null
null
#include "StdInc.h" #include <ScriptEngine.h> #include <ServerInstanceBase.h> #include <NetBuffer.h> #include <ClientRegistry.h> #include <GameServer.h> #include <state/ServerGameState.h> #include <Resource.h> #include <ResourceManager.h> #include <fxScripting.h> #include <RpcConfiguration.h> #include <CoreConsol...
24.442623
161
0.615694
R0JEA
b892b25a6877470239cdbc4423601f96733a5007
10,063
cpp
C++
Jackal/Source/Core/Private/Math/Matrix4.cpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
Jackal/Source/Core/Private/Math/Matrix4.cpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
Jackal/Source/Core/Private/Math/Matrix4.cpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Jackal Engine, MIT License. #include "Core/Math/Matrix4.hpp" namespace jackal { Matrix4 Matrix4::operator+(const Matrix4 &m) const { return Matrix4( data[0][0] + m.data[0][0], data[0][1] + m.data[0][1], data[0][2] + m.data[0][2], data[0][3] + m.data[0][3], data[1][0] + m.data[1][0]...
44.330396
121
0.474113
CheezBoiger
b89780ff17deb6f22188194e4f6f657f496d9609
6,181
cpp
C++
src/graphics/render/pipeline.cpp
guillaume-haerinck/learn-vulkan
30acd5b477866f7454a3c89bf10a7bfffc11c9a1
[ "MIT" ]
null
null
null
src/graphics/render/pipeline.cpp
guillaume-haerinck/learn-vulkan
30acd5b477866f7454a3c89bf10a7bfffc11c9a1
[ "MIT" ]
null
null
null
src/graphics/render/pipeline.cpp
guillaume-haerinck/learn-vulkan
30acd5b477866f7454a3c89bf10a7bfffc11c9a1
[ "MIT" ]
null
null
null
#include "pipeline.h" #include <fstream> #include <iostream> #include <debug_break/debug_break.h> Pipeline::Pipeline(LogicalDevice& device, SwapChain& swapChain, DescriptorPool& descriptorPool, MemoryAllocator& memoryAllocator, Sampler& sampler, TextureImageView& texture ) : m_device(device...
34.920904
155
0.661705
guillaume-haerinck
b8987efcfc200daf40273c3590d42086e18e762b
2,066
cpp
C++
riscv-sim/src/FlashMemoryDevice.cpp
XiaoxingChen/riscv-console
8f671e13a374e7a350d202cde3fe98e3235aa9d3
[ "BSD-3-Clause" ]
null
null
null
riscv-sim/src/FlashMemoryDevice.cpp
XiaoxingChen/riscv-console
8f671e13a374e7a350d202cde3fe98e3235aa9d3
[ "BSD-3-Clause" ]
null
null
null
riscv-sim/src/FlashMemoryDevice.cpp
XiaoxingChen/riscv-console
8f671e13a374e7a350d202cde3fe98e3235aa9d3
[ "BSD-3-Clause" ]
null
null
null
#include "FlashMemoryDevice.h" #include <stdexcept> #include <cstring> #include <string> CFlashMemoryDevice::CFlashMemoryDevice(uint32_t size){ DBaseAddress = 0; DData.resize(size); DWriteEnabled = false; } uint8_t *CFlashMemoryDevice::AccessAddress(uint32_t addr, uint32_t size){ uint32_t Index = addr...
26.487179
85
0.70668
XiaoxingChen
b89ba9878b3486320fb2b3699cb8cca839151113
6,579
cpp
C++
panda_softhand_control/src/PoseControl.cpp
CentroEPiaggio/panda-softhand
817e78cdd7343bf62897897dcbe06c32e5ae8b88
[ "BSD-3-Clause" ]
3
2019-04-06T01:43:33.000Z
2021-04-23T13:03:16.000Z
panda_softhand_control/src/PoseControl.cpp
CentroEPiaggio/panda-softhand
817e78cdd7343bf62897897dcbe06c32e5ae8b88
[ "BSD-3-Clause" ]
null
null
null
panda_softhand_control/src/PoseControl.cpp
CentroEPiaggio/panda-softhand
817e78cdd7343bf62897897dcbe06c32e5ae8b88
[ "BSD-3-Clause" ]
2
2020-02-12T19:20:34.000Z
2022-03-18T11:29:08.000Z
/* POSE CONTROL - Uses moveit movegroupinterface to plan towards a pose Authors: George Jose Pollayil - Mathew Jose Pollayil Email: gpollayil@gmail.com, mathewjosepollayil@gmail.com */ #include "ros/ros.h" #include <cstdlib> #include <sstream> #include <string> #include "panda_softhand_control/PoseControl.h" #inclu...
35.562162
141
0.715458
CentroEPiaggio
b8a1e2b14b69ed8b918bc425f3419e34e4c55839
3,590
cpp
C++
Source/CSharp/CSharp/Urho3D/Native/HashMap.cpp
TrevorCash/Urho3D_old
d24b1467ab2932e9f2bf7881cf116f841a20a6a7
[ "MIT" ]
3
2018-06-26T05:53:51.000Z
2018-10-24T20:52:38.000Z
Source/CSharp/CSharp/Urho3D/Native/HashMap.cpp
TrevorCash/Urho3D_old
d24b1467ab2932e9f2bf7881cf116f841a20a6a7
[ "MIT" ]
1
2018-02-17T17:32:37.000Z
2018-03-03T03:51:11.000Z
Source/CSharp/CSharp/Urho3D/Native/HashMap.cpp
TrevorCash/Urho3D_old
d24b1467ab2932e9f2bf7881cf116f841a20a6a7
[ "MIT" ]
2
2018-08-04T21:12:11.000Z
2019-02-09T05:04:29.000Z
// // Copyright (c) 2018 Rokas Kupstys // // 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, publi...
37.789474
120
0.762674
TrevorCash
b8a4443cfee7e77cfbb9f0b178e25c965b81c6a8
3,485
cpp
C++
loom/script/native/core/system/lmJSON.cpp
RichardRanft/LoomSDK
7f12b9d572f2ca409b9070ba92a284a82263ae97
[ "ECL-2.0", "Apache-2.0", "BSD-2-Clause" ]
1
2018-08-10T01:24:52.000Z
2018-08-10T01:24:52.000Z
loom/script/native/core/system/lmJSON.cpp
RichardRanft/LoomSDK
7f12b9d572f2ca409b9070ba92a284a82263ae97
[ "ECL-2.0", "Apache-2.0", "BSD-2-Clause" ]
null
null
null
loom/script/native/core/system/lmJSON.cpp
RichardRanft/LoomSDK
7f12b9d572f2ca409b9070ba92a284a82263ae97
[ "ECL-2.0", "Apache-2.0", "BSD-2-Clause" ]
null
null
null
/* * =========================================================================== * Loom SDK * Copyright 2011, 2012, 2013 * The Game Engine Company, LLC * * 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 o...
36.302083
78
0.647346
RichardRanft
b8a79bb6df4ce8b152e463513f33f9836ee9f714
2,010
cpp
C++
Builds/JuceLibraryCode/modules/juce_audio_devices/native/juce_android_Midi.cpp
eriser/CSL
6f4646369f0c90ea90e2c113374044818ab37ded
[ "BSD-4-Clause-UC" ]
1
2019-10-16T08:54:44.000Z
2019-10-16T08:54:44.000Z
JuceLibraryCode/modules/juce_audio_devices/native/juce_android_Midi.cpp
connerlacy/quneo_demo_lab
073a81d7fa7fa462e07c7b33de3e982a03a0055c
[ "Unlicense" ]
null
null
null
JuceLibraryCode/modules/juce_audio_devices/native/juce_android_Midi.cpp
connerlacy/quneo_demo_lab
073a81d7fa7fa462e07c7b33de3e982a03a0055c
[ "Unlicense" ]
null
null
null
/* ============================================================================== This file is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-11 by Raw Material Software Ltd. ------------------------------------------------------------------------------ JUCE can be r...
23.372093
81
0.548756
eriser
b8acec46bf478e522cd3bf55798c297851b8e9a3
5,956
hpp
C++
Source/AllProjects/OrbUtils/CIDCfgSrv/CIDCfgSrv_CfgServerImpl.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/OrbUtils/CIDCfgSrv/CIDCfgSrv_CfgServerImpl.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/OrbUtils/CIDCfgSrv/CIDCfgSrv_CfgServerImpl.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDCfgSrv_CfgServerImpl.hpp // // AUTHOR: Dean Roddey // // CREATED: 12/05/2001 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://o...
32.725275
78
0.428475
MarkStega
b8af52638192a42bcb58bac39c0e50a3cd3ae3e5
53,882
cpp
C++
whisper.cpp
antoniocgj/SweRV-ISS-1
bc32016a0b92d6240b5963457c4403b498200403
[ "Apache-2.0" ]
null
null
null
whisper.cpp
antoniocgj/SweRV-ISS-1
bc32016a0b92d6240b5963457c4403b498200403
[ "Apache-2.0" ]
null
null
null
whisper.cpp
antoniocgj/SweRV-ISS-1
bc32016a0b92d6240b5963457c4403b498200403
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Western Digital Corporation or its affiliates. // // 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 requi...
29.204336
93
0.631899
antoniocgj
b8b522d550177a88f5383968ad588a1fa93756c5
231
cpp
C++
regression/esbmc-cpp/cpp/cstring2_strcat/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/cpp/cstring2_strcat/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/cpp/cstring2_strcat/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
/* strcat example */ #include <iostream> #include <cstring> int main () { char str[80] = "these "; strcat (str,"strings "); strcat (str,"are "); strcat (str,"concatenated."); std::cout << str << std::endl; return 0; }
16.5
32
0.588745
shmarovfedor
b8b5c6461ad487696649f6c3519c58532a2cc0eb
2,403
hpp
C++
src/mixer/linear_mixer.hpp
mtaillefumier/SIRIUS
50ec1c202c019113c5660f1966b170dec9dfd4d4
[ "BSD-2-Clause" ]
77
2016-03-18T08:38:30.000Z
2022-03-11T14:06:25.000Z
src/mixer/linear_mixer.hpp
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
240
2016-04-12T16:39:11.000Z
2022-03-31T08:46:12.000Z
src/mixer/linear_mixer.hpp
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
43
2016-03-18T17:45:07.000Z
2022-02-28T05:27:59.000Z
// Copyright (c) 2013-2019 Simon Frasch, Anton Kozhevnikov, Thomas Schulthess // 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 copy...
35.338235
116
0.734082
mtaillefumier
b8b6c1fab394ec3603dfc4497723e360eef7ed16
19,515
cpp
C++
src/dawn_native/vulkan/VulkanInfo.cpp
dcerisano/dawn-ray-tracing-linux
984b4cd0ca2886009a70c22d38cc656cbc565e67
[ "Apache-2.0" ]
null
null
null
src/dawn_native/vulkan/VulkanInfo.cpp
dcerisano/dawn-ray-tracing-linux
984b4cd0ca2886009a70c22d38cc656cbc565e67
[ "Apache-2.0" ]
null
null
null
src/dawn_native/vulkan/VulkanInfo.cpp
dcerisano/dawn-ray-tracing-linux
984b4cd0ca2886009a70c22d38cc656cbc565e67
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 The Dawn Authors // // 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 law or agreed t...
47.597561
100
0.625263
dcerisano
b8b7760b8a125375bf1beacb4199e993f9724aa0
4,682
hpp
C++
include/tileson_parser.hpp
SaraSmiseth/tileson
f12dfed9bc94cd94d2eb7efe7c2f940f51813b74
[ "BSD-2-Clause" ]
null
null
null
include/tileson_parser.hpp
SaraSmiseth/tileson
f12dfed9bc94cd94d2eb7efe7c2f940f51813b74
[ "BSD-2-Clause" ]
null
null
null
include/tileson_parser.hpp
SaraSmiseth/tileson
f12dfed9bc94cd94d2eb7efe7c2f940f51813b74
[ "BSD-2-Clause" ]
null
null
null
// // Created by robin on 22.03.2020. // #ifndef TILESON_TILESON_PARSER_HPP #define TILESON_TILESON_PARSER_HPP #include "common/Tools.hpp" #include "common/Base64Decompressor.hpp" #include "common/DecompressorContainer.hpp" #include "tiled/Map.hpp" #include "tiled/Project.hpp" #include "misc/MemoryStream.hpp" #includ...
29.821656
138
0.655703
SaraSmiseth
b8bd9d01a6afb6d6597a43f9ab92bb46c37182e0
1,055
cpp
C++
libraries/Si7021/si7021.cpp
emptyland/arduino
278cf1189401ba2bcb2d4125e42ac338c20ee4c8
[ "BSD-3-Clause" ]
null
null
null
libraries/Si7021/si7021.cpp
emptyland/arduino
278cf1189401ba2bcb2d4125e42ac338c20ee4c8
[ "BSD-3-Clause" ]
null
null
null
libraries/Si7021/si7021.cpp
emptyland/arduino
278cf1189401ba2bcb2d4125e42ac338c20ee4c8
[ "BSD-3-Clause" ]
null
null
null
#include "si7021.h" #include <Wire.h> void Si7021::init() { Wire.begin(); Wire.beginTransmission(0x40); Wire.endTransmission(); } void Si7021::getMonitor2(double *temp, double *humidity) { int X0,X1,Y0,Y1,Y2,Y3; double X,Y,X_out,Y_out1,Y_out2; /**发送温度测量命令**/ Wire.beginTransmission(0x40); Wire.write(0...
18.508772
59
0.567773
emptyland
b8bf2e3c1b6f678b3a5a71c888f567881c0a9e3f
1,829
cpp
C++
utility/unittest/reactor_test.cpp
hadescoincom/hds-core
383a38da9a5e40de66ba2277b54fea41b7c32537
[ "Apache-2.0" ]
null
null
null
utility/unittest/reactor_test.cpp
hadescoincom/hds-core
383a38da9a5e40de66ba2277b54fea41b7c32537
[ "Apache-2.0" ]
null
null
null
utility/unittest/reactor_test.cpp
hadescoincom/hds-core
383a38da9a5e40de66ba2277b54fea41b7c32537
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Hds Team // // 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 law or agreed to in ...
26.897059
75
0.668671
hadescoincom
b8c26f134e4eebd4896f39160a648b122dd0aa94
1,166
cpp
C++
ewk/unittest/utc_blink_ewk_settings_edge_effect_enabled_set_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
9
2015-04-09T20:22:08.000Z
2021-03-17T08:34:56.000Z
ewk/unittest/utc_blink_ewk_settings_edge_effect_enabled_set_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
2
2015-02-04T13:41:12.000Z
2015-05-25T14:00:40.000Z
ewk/unittest/utc_blink_ewk_settings_edge_effect_enabled_set_func.cpp
isabella232/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
14
2015-02-12T16:20:47.000Z
2022-01-20T10:36:26.000Z
// Copyright 2014 Samsung Electronics. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "utc_blink_ewk_base.h" class utc_blink_ewk_settings_edge_effect_enabled_set : public utc_blink_ewk_base { }; /** * @brief Tests if returns TRUE...
33.314286
82
0.797599
Jabawack
b8c337deafcc20682e646059d7cd59a6f6c055f5
43
hpp
C++
src/boost_type_erasure_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_type_erasure_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_type_erasure_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/type_erasure/iterator.hpp>
21.5
42
0.813953
miathedev
b8c35fff2f924aa122a0c3ca92711bb160bb09f8
1,665
hpp
C++
src/sdk/REMath.hpp
MeatSafeMurderer/REFramework
e275d7eccccfcb70311863b3f822428bdd74ce95
[ "MIT" ]
583
2021-06-05T06:56:54.000Z
2022-03-31T19:16:09.000Z
src/sdk/REMath.hpp
drowhunter/REFramework
49ef476d13439110cc0ae565cc323cd615d9b327
[ "MIT" ]
198
2021-07-13T02:54:19.000Z
2022-03-29T20:28:53.000Z
src/sdk/REMath.hpp
drowhunter/REFramework
49ef476d13439110cc0ae565cc323cd615d9b327
[ "MIT" ]
73
2021-07-12T18:52:12.000Z
2022-03-31T17:12:56.000Z
#pragma once #include <algorithm> #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/euler_angles.hpp> #include <glm/gtx/vector_angle.hpp> #include "ReClass.hpp" namespace utility::math { using namespace glm; static vec3 euler_angles(const glm::mat4& rot); static float fix_angle(float ang); static void fix_angles(c...
25.615385
110
0.667267
MeatSafeMurderer
fef58e6ea3dd75409d77d4afd00c94b81f80bef0
1,167
cpp
C++
PC/src/GameStates/GameOver.cpp
Termimad/UWOL
f6fb3e0d04d54d6338b4c661338648c8abf448bb
[ "MIT" ]
4
2016-10-17T14:32:53.000Z
2021-06-03T23:17:56.000Z
PC/src/GameStates/GameOver.cpp
Termimad/UWOL
f6fb3e0d04d54d6338b4c661338648c8abf448bb
[ "MIT" ]
4
2017-03-02T21:07:04.000Z
2017-03-02T21:45:14.000Z
PC/src/GameStates/GameOver.cpp
Termimad/UWOL
f6fb3e0d04d54d6338b4c661338648c8abf448bb
[ "MIT" ]
3
2016-09-20T16:30:06.000Z
2020-04-17T07:05:36.000Z
#include "GameOver.h" GameOver::GameOver() { _g = Graphics::GetInstance(); this->Name = "GameOver"; this->_currentFrame = new Frame("data/game-over.png"); this->_music = new Sound("music/GameOver.ogg"); this->_disposed = false; } GameOver::~GameOver() { this->Dispose(); } void GameOver::OnEnter() { this->_mus...
20.473684
84
0.686375
Termimad
fef74adcdc8e21327ba57495ee38aebb02e43dad
5,072
hpp
C++
roxie/ccd/ccdsnmp.hpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
null
null
null
roxie/ccd/ccdsnmp.hpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
null
null
null
roxie/ccd/ccdsnmp.hpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
3
2021-05-02T17:01:57.000Z
2021-05-02T17:02:28.000Z
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
34.27027
148
0.762815
davidarcher
fef9f797be8f6045e854e9fa2c6b56ab1410bd2d
2,721
cpp
C++
src/Ray3D.cpp
nsilvestri/cpp-raytracer
79336657784f5bd76bb3d15985488bd61255e00b
[ "MIT" ]
1
2021-03-29T09:39:33.000Z
2021-03-29T09:39:33.000Z
src/Ray3D.cpp
nsilvestri/cpp-raytracer
79336657784f5bd76bb3d15985488bd61255e00b
[ "MIT" ]
1
2021-05-19T05:55:23.000Z
2021-09-07T14:00:01.000Z
src/Ray3D.cpp
nsilvestri/cpp-raytracer
79336657784f5bd76bb3d15985488bd61255e00b
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> #include "Ray3D.hpp" #include "Vector3D.hpp" /** * Constructor for Ray3D. Creates a new Ray3D object based on the given origin * and direction, given as Vector3D objects. * @param origin the origin of this new Ray3D * @param direction the direction of this new Ray3D...
26.940594
81
0.646821
nsilvestri
fefba69df8d1d755cd5c5c88fa967b64d6bb84b7
50,861
cpp
C++
Source/AllProjects/CQCMedia/CQCMedia_Shared.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCMedia/CQCMedia_Shared.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCMedia/CQCMedia_Shared.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// ---------------------------------------------------------------------------- // FILE: CQCMedia_Shared.cpp // DATE: Fri, Feb 12 21:14:15 2021 -0500 // // This file was generated by the Charmed Quark CIDIDL compiler. Do not make // changes by hand, because they will be lost if the file is regenerated. // ---------...
48.346958
167
0.703211
MarkStega
fefcd231379463fc6db0d77a20e80bb9934052b1
410
cpp
C++
src/13000/13567.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/13000/13567.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/13000/13567.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int dx[]={1, 0, -1, 0}; int dy[]={0, 1, 0, -1}; int main() { int m, n, d; string cmd; cin>>m>>n; int x=0, y=0, cd=0; while(n--) { cin>>cmd>>d; if(cmd=="MOVE") { x=x+dx[cd]*d, y=y+dy[cd]*d; if(x<0 || x>=m || y<0 || y>=m) { cout<<-1; ...
11.714286
33
0.436585
upple
fefedf20b297f9be28d24060d24bb34005645607
34,681
cpp
C++
src/forks.cpp
nextcashtech/bitcoin
15f62465e909ef676d1cd41515776d0db2eeefc1
[ "MIT" ]
25
2018-04-14T05:35:48.000Z
2019-04-21T00:05:38.000Z
src/forks.cpp
nextcashtech/bitcoin
15f62465e909ef676d1cd41515776d0db2eeefc1
[ "MIT" ]
1
2020-01-23T16:39:45.000Z
2020-01-23T16:39:45.000Z
src/forks.cpp
nextcashtech/bitcoin
15f62465e909ef676d1cd41515776d0db2eeefc1
[ "MIT" ]
1
2019-04-05T14:12:26.000Z
2019-04-05T14:12:26.000Z
/************************************************************************** * Copyright 2017-2018 NextCash, LLC * * Contributors : * * Curtis Ellis <curtis@nextcash.tech> * * Distributed u...
37.614967
103
0.509847
nextcashtech
3a0223685c4f1d1132c6952fb6507caafcd473fe
372
hpp
C++
Secp256k1/Random.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
108
2020-10-01T17:12:40.000Z
2022-03-30T09:18:03.000Z
Secp256k1/Random.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
94
2020-10-03T13:40:30.000Z
2022-03-30T09:18:00.000Z
Secp256k1/Random.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
17
2020-10-29T13:27:59.000Z
2022-03-18T13:05:03.000Z
#ifndef SECP256K1_RANDOM_HPP #define SECP256K1_RANDOM_HPP #include<cstdint> #include<memory> namespace Secp256k1 { /* A source of random data. */ class Random { private: class Impl; std::unique_ptr<Impl> pimpl; public: Random(); Random(Random&&) =delete; Random(Random const&) =delete; ~Random(); std::uint...
13.285714
33
0.704301
3nprob
3a02a9adf3067b91d36e9dcd8eaa303ab79ddd3f
2,275
cpp
C++
src/subprocessoutputview.cpp
chigraph/chigraph-gui
26e72f9cdc4c69f331601bbd485abc88e8620197
[ "Apache-2.0" ]
91
2017-04-14T20:23:39.000Z
2022-03-30T16:44:20.000Z
src/subprocessoutputview.cpp
chigraph/chigraph-gui
26e72f9cdc4c69f331601bbd485abc88e8620197
[ "Apache-2.0" ]
21
2017-04-14T23:43:15.000Z
2020-02-04T09:27:09.000Z
src/subprocessoutputview.cpp
chigraph/chigraph-gui
26e72f9cdc4c69f331601bbd485abc88e8620197
[ "Apache-2.0" ]
27
2017-05-08T07:52:35.000Z
2022-01-24T11:14:38.000Z
#include "subprocessoutputview.hpp" #include <llvm-c/BitWriter.h> #include <KLocalizedString> #include <KMessageBox> #include <QApplication> #include <QLabel> #include <QPlainTextEdit> #include <QVBoxLayout> #include <chi/Context.hpp> #include <chi/GraphModule.hpp> #include <chi/Support/Result.hpp> #include <chi/Supp...
30.333333
96
0.687912
chigraph
3a08d8c61bd6b7b2e8d356650546b3737b4ba8c3
2,059
hh
C++
src/Damage/StrainPolicy.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Damage/StrainPolicy.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Damage/StrainPolicy.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // StrainPolicy -- An implementation of UpdatePolicyBase specialized // for the updating the strain. // // Created by JMO, Sun Sep 26 16:15:17 PDT 2004 //----------------------------------------------------------------------------// #ifnde...
30.731343
80
0.633803
jmikeowen
3a0bcae08a28734c3ae0467938fab0c9e3ce4e6f
2,461
cc
C++
Mu2eUtilities/src/MedianCalculator.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
1
2021-06-23T22:09:28.000Z
2021-06-23T22:09:28.000Z
Mu2eUtilities/src/MedianCalculator.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
125
2020-04-03T13:44:30.000Z
2021-10-15T21:29:57.000Z
Mu2eUtilities/src/MedianCalculator.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <memory> #include "cetlib_except/exception.h" #include "Mu2eUtilities/inc/MedianCalculator.hh" namespace mu2e { float MedianCalculator::weightedMedian(){ //now, we need to loop over it and evaluate the median size_t v_size = _vec.size(); if (v_siz...
25.635417
94
0.562779
lborrel
3a0de775ed00af0479eb3e1787133abbccf3e7e2
5,864
cpp
C++
framework/src/service/ServiceListenerEntry.cpp
hkgmahwa/CppMicroServices
05260dcf70e5f161da5093a5c8547b00d4d626ac
[ "Apache-2.0" ]
1
2020-12-08T16:21:45.000Z
2020-12-08T16:21:45.000Z
framework/src/service/ServiceListenerEntry.cpp
iHouLei/CppMicroServices
aa9cc47dde75ba9ead18df399ce08269c15e3aa1
[ "Apache-2.0" ]
null
null
null
framework/src/service/ServiceListenerEntry.cpp
iHouLei/CppMicroServices
aa9cc47dde75ba9ead18df399ce08269c15e3aa1
[ "Apache-2.0" ]
null
null
null
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed un...
29.467337
80
0.688097
hkgmahwa
3a0e5d474e7fc923b8bc9aeb862546e94743b0d1
3,365
cpp
C++
Filters/RadiusOutlier.cpp
QuMIke/PracticePCL
efe947607516d28c176721c9930be049b50ad18a
[ "MIT" ]
null
null
null
Filters/RadiusOutlier.cpp
QuMIke/PracticePCL
efe947607516d28c176721c9930be049b50ad18a
[ "MIT" ]
null
null
null
Filters/RadiusOutlier.cpp
QuMIke/PracticePCL
efe947607516d28c176721c9930be049b50ad18a
[ "MIT" ]
null
null
null
/* we will learn how to us a RadiusOutlierRemoval filter which removes all indices in it’s input cloud that don’t have at least some number of neighbors within a certain range. */ #include "stdafx.h" #include <iostream> #include <pcl/point_types.h> #include <pcl/filters/radius_outlier_removal.h> #include <pcl/visual...
39.127907
211
0.711144
QuMIke
3a14109f5812ea679b677f5c132766763e6f44eb
1,767
hpp
C++
include/gazebo_ros_articulated_steering/plugin.hpp
Kettenhoax/gazebo_ros_articulated_steering
270e0652c2711399c758eeb9ae384afa505f0a88
[ "Apache-2.0" ]
null
null
null
include/gazebo_ros_articulated_steering/plugin.hpp
Kettenhoax/gazebo_ros_articulated_steering
270e0652c2711399c758eeb9ae384afa505f0a88
[ "Apache-2.0" ]
null
null
null
include/gazebo_ros_articulated_steering/plugin.hpp
Kettenhoax/gazebo_ros_articulated_steering
270e0652c2711399c758eeb9ae384afa505f0a88
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 AIT Austrian Institute of Technology GmbH // // 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 a...
27.609375
100
0.742501
Kettenhoax
3a14da3880ba119dc261abe3541087174b786510
22,334
cpp
C++
ui/src/inputprofileeditor.cpp
markusb/qlcplus
1aae45b8d1914114b9a7ea6174e83e51e81ab8a1
[ "Apache-2.0" ]
2
2016-12-12T15:32:27.000Z
2021-05-18T17:55:30.000Z
ui/src/inputprofileeditor.cpp
markusb/qlcplus
1aae45b8d1914114b9a7ea6174e83e51e81ab8a1
[ "Apache-2.0" ]
null
null
null
ui/src/inputprofileeditor.cpp
markusb/qlcplus
1aae45b8d1914114b9a7ea6174e83e51e81ab8a1
[ "Apache-2.0" ]
null
null
null
/* Q Light Controller inputprofileeditor.cpp Copyright (C) Heikki Junnila 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.txt Unless...
32.892489
106
0.573655
markusb
3a16e14eea9f85cc7a6ae96dc026d1f680b64e22
668
hpp
C++
include/Game/gameobject.hpp
Lucrecious/DungeonGame
9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5
[ "MIT" ]
null
null
null
include/Game/gameobject.hpp
Lucrecious/DungeonGame
9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5
[ "MIT" ]
null
null
null
include/Game/gameobject.hpp
Lucrecious/DungeonGame
9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5
[ "MIT" ]
null
null
null
#ifndef GAMEOBJECT_H #define GAMEOBJECT_H #include <Utils/vector.hpp> #include <Global/kind.hpp> #include <string> class Game; class Controller; class GameObject { public: const Kind topKind; const Kind subKind; bool ghost; GameObject(Kind, Kind); virtual ~GameObject() = 0; void setPosition(Vector); void s...
16.292683
73
0.739521
Lucrecious
3a1881eacdacf9b61a925b62487573ba0f7af78a
2,306
cpp
C++
YorozuyaGSLib/source/_inven_download_result_zoclDetail.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_inven_download_result_zoclDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_inven_download_result_zoclDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_inven_download_result_zoclDetail.hpp> #include <common/ATFCore.hpp> START_ATF_NAMESPACE namespace Detail { Info::_inven_download_result_zoclctor__inven_download_result_zocl2_ptr _inven_download_result_zoclctor__inven_download_result_zocl2_next(nullptr); Info::_inven_downloa...
52.409091
155
0.740676
lemkova
3a19f9b3df2713b329d30fd9a86d5239800181c6
2,483
cpp
C++
IA20-CommonLib/src/ia20/commonlib/net/conn/udp/Base.cpp
InvenireAude/IA20-BuilderTools
7ef0116bd2d1db83e3d3583c9059d5b2ee5462d6
[ "Apache-2.0" ]
null
null
null
IA20-CommonLib/src/ia20/commonlib/net/conn/udp/Base.cpp
InvenireAude/IA20-BuilderTools
7ef0116bd2d1db83e3d3583c9059d5b2ee5462d6
[ "Apache-2.0" ]
null
null
null
IA20-CommonLib/src/ia20/commonlib/net/conn/udp/Base.cpp
InvenireAude/IA20-BuilderTools
7ef0116bd2d1db83e3d3583c9059d5b2ee5462d6
[ "Apache-2.0" ]
null
null
null
/* * File: IA20-CommonLib/src/commonlib/net/mcast/Base.cpp * * Copyright (C) 2020, Albert Krzymowski * * 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/license...
25.864583
86
0.578333
InvenireAude
3a1f9a4ba1584963acc7dc87db2d2a9c137c8d72
62,553
cpp
C++
arangod/IResearch/IResearchFilterFactory.cpp
pavelsevcik/arangodb
647a29d1aeab0909147961f5868dfd0618717e96
[ "Apache-2.0" ]
1
2018-12-08T01:58:16.000Z
2018-12-08T01:58:16.000Z
arangod/IResearch/IResearchFilterFactory.cpp
lipper/arangodb
66ea1fd4946668192e3f0d1060f0844f324ad7b8
[ "Apache-2.0" ]
null
null
null
arangod/IResearch/IResearchFilterFactory.cpp
lipper/arangodb
66ea1fd4946668192e3f0d1060f0844f324ad7b8
[ "Apache-2.0" ]
1
2018-12-05T04:56:16.000Z
2018-12-05T04:56:16.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2017 ArangoDB GmbH, Cologne, Germany /// /// 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...
29.958333
120
0.633799
pavelsevcik
3a2872084f9fb02bb2ad83efe1439a4de98540e3
3,760
cpp
C++
QTDialogs/QtOpenGLView/BaseGLView.cpp
msolids/musen
67d9a70d03d771ccda649c21b78d165684e31171
[ "BSD-3-Clause" ]
19
2020-09-28T07:22:50.000Z
2022-03-07T09:52:20.000Z
QTDialogs/QtOpenGLView/BaseGLView.cpp
LasCondes/musen
18961807928285ff802e050050f4c627dd7bec1e
[ "BSD-3-Clause" ]
5
2020-12-26T18:18:27.000Z
2022-02-23T22:56:43.000Z
QTDialogs/QtOpenGLView/BaseGLView.cpp
LasCondes/musen
18961807928285ff802e050050f4c627dd7bec1e
[ "BSD-3-Clause" ]
11
2020-11-02T11:32:03.000Z
2022-01-27T08:22:04.000Z
/* Copyright (c) 2013-2020, MUSEN Development Team. All rights reserved. This file is part of MUSEN framework http://msolids.net/musen. See LICENSE file for license and warranty information. */ #include "BaseGLView.h" #include <QPainter> #include <QtMath> void CBaseGLView::SetFontTime(const QFont& _font, const ...
39.578947
143
0.71383
msolids
3a2a326d67ca331b394193abd7cbd498822c1ddf
3,385
cpp
C++
SRC/Element/Interpolation/Utils/MultiIndex/MultiIndex.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
SRC/Element/Interpolation/Utils/MultiIndex/MultiIndex.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
SRC/Element/Interpolation/Utils/MultiIndex/MultiIndex.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
// MultiIndex.cpp: implementation of the MultiIndex class. // Copyright (c) 2017-2018 Extreme Computation Technology and Solutions, LLC // All rights reserved // see file License.txt for license details ////////////////////////////////////////////////////////////////////// //#include <cassert> #include "./MultiI...
22.269737
77
0.49483
bxl295
3a2b75c9ddfb50b8139901d55955ffb51bd5eff2
441
cpp
C++
lib/OTExtensionBristol/Networking/data.cpp
manel1874/libscapi
8cf705162af170c04c8e2299213f52888193cabe
[ "MIT" ]
160
2016-05-11T09:45:56.000Z
2022-03-06T09:32:19.000Z
Networking/data.cpp
bristolcrypto/apricot
3760dda51b0080ee0fb79c7184cbe2c00762c2b8
[ "BSD-4-Clause-UC" ]
57
2016-12-26T07:02:12.000Z
2022-03-06T16:34:31.000Z
lib/OTExtensionBristol/Networking/data.cpp
manel1874/libscapi
8cf705162af170c04c8e2299213f52888193cabe
[ "MIT" ]
67
2016-10-10T17:56:22.000Z
2022-03-15T22:56:39.000Z
// (C) 2016 University of Bristol. See LICENSE.txt #include "data.h" #include "Exceptions/Exceptions.h" void encode_length(octet *buff,int len) { if (len<0) { throw invalid_length(); } buff[0]=len&255; buff[1]=(len>>8)&255; buff[2]=(len>>16)&255; buff[3]=(len>>24)&255; } int decode_length(octet *buff) { ...
18.375
61
0.643991
manel1874
3a36f400b910612543529a658e55d8127d67c61b
48,334
cxx
C++
src/usb/ft4222/ftdi_ft4222.cxx
nazeer22/mraa
0a12c5a0177f9fa8e7c4c564e70a65c4a0bb81af
[ "MIT" ]
2
2019-04-17T12:41:28.000Z
2019-06-03T12:30:12.000Z
src/usb/ft4222/ftdi_ft4222.cxx
nazeer22/mraa
0a12c5a0177f9fa8e7c4c564e70a65c4a0bb81af
[ "MIT" ]
1
2018-11-01T14:54:06.000Z
2018-11-01T14:54:06.000Z
src/usb/ft4222/ftdi_ft4222.cxx
nazeer22/mraa
0a12c5a0177f9fa8e7c4c564e70a65c4a0bb81af
[ "MIT" ]
2
2018-07-12T11:59:47.000Z
2018-12-14T14:22:14.000Z
/* * Author: Henry Bruce <henry.bruce@intel.com> * Copyright (c) 2015 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 Software without restriction, including * without limi...
33.287879
125
0.650805
nazeer22
3a37d7f6f9925392d8e5b90d31018ca11d1e5f1f
8,114
cpp
C++
tests/tests.cpp
mfdeakin/nd_array
0315b77cbda7dc85e47fed79dfc4daead2ff6768
[ "MIT" ]
null
null
null
tests/tests.cpp
mfdeakin/nd_array
0315b77cbda7dc85e47fed79dfc4daead2ff6768
[ "MIT" ]
null
null
null
tests/tests.cpp
mfdeakin/nd_array
0315b77cbda7dc85e47fed79dfc4daead2ff6768
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "nd_array/nd_array.hpp" TEST_CASE("get, set, slice, reshape", "[ND_Array]") { ND_Array<int, 2, 3, 5> arr; int count = 1; for(decltype(arr)::size_type i = 0; i < arr.extent(0); ++i) { for(decltype(arr)::size_type j = 0; j < arr.extent(1); ...
31.088123
60
0.571358
mfdeakin
3a39a8b18959f4740d3b9b66ae5f7a7300ba6d38
1,188
hpp
C++
src/Factory/Module/Monitor/Monitor.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Factory/Module/Monitor/Monitor.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Factory/Module/Monitor/Monitor.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
#ifndef FACTORY_MONITOR_HPP #define FACTORY_MONITOR_HPP #include <string> #include "Module/Monitor/Monitor.hpp" #include "../../Factory.hpp" namespace aff3ct { namespace factory { extern const std::string Monitor_name; extern const std::string Monitor_prefix; struct Monitor : public Factory { class parameters : pu...
28.285714
113
0.560606
codechecker123
3a3c9562607079184679341cadf62eab8009bac1
1,880
ipp
C++
rice/cpp_api/Struct.ipp
lutaml/rice
f60f0efa5761d1b12fb4a8542c3ef13edbfb51c1
[ "BSD-2-Clause" ]
205
2015-01-05T04:11:36.000Z
2022-03-22T19:08:16.000Z
rice/cpp_api/Struct.ipp
lutaml/rice
f60f0efa5761d1b12fb4a8542c3ef13edbfb51c1
[ "BSD-2-Clause" ]
91
2015-01-01T19:06:47.000Z
2022-03-20T23:12:04.000Z
rice/cpp_api/Struct.ipp
lutaml/rice
f60f0efa5761d1b12fb4a8542c3ef13edbfb51c1
[ "BSD-2-Clause" ]
32
2015-01-17T01:00:51.000Z
2022-03-18T04:12:59.000Z
#include "Symbol.hpp" namespace Rice { inline Struct& Struct::initialize(Module module, Identifier name) { Class struct_class(rb_cStruct); Object type = struct_class.vcall("new", this->members()); set_value(type); module.const_set(name, type); return *this; } inline Struct& Struct::defi...
20.215054
75
0.645213
lutaml
3a3d4e86b4329677a5de0bdf88b8621c5a4e7d49
3,507
hpp
C++
src/libs/common/atomic/atomic.hpp
warm-byte/DTC
ff98a585c07712000e486cfd2d71515e6538435f
[ "Apache-2.0" ]
24
2021-08-22T12:17:50.000Z
2022-03-03T06:39:00.000Z
src/libs/common/atomic/atomic.hpp
warm-byte/DTC
ff98a585c07712000e486cfd2d71515e6538435f
[ "Apache-2.0" ]
2
2021-09-03T05:57:11.000Z
2021-09-03T05:59:38.000Z
src/libs/common/atomic/atomic.hpp
warm-byte/DTC
ff98a585c07712000e486cfd2d71515e6538435f
[ "Apache-2.0" ]
15
2021-08-22T14:44:22.000Z
2022-01-30T02:03:22.000Z
/* * Copyright [2021] JD.com, Inc. * * 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 law or agreed to in wri...
13.972112
74
0.618477
warm-byte
3a4046edcc74c2c4663661e3160eeb62399ce8ec
4,186
cpp
C++
tests/gt_main.cpp
mbits-libs/diags
6206ba7760f972787191803e234aa96a180a70e2
[ "MIT" ]
null
null
null
tests/gt_main.cpp
mbits-libs/diags
6206ba7760f972787191803e234aa96a180a70e2
[ "MIT" ]
null
null
null
tests/gt_main.cpp
mbits-libs/diags
6206ba7760f972787191803e234aa96a180a70e2
[ "MIT" ]
null
null
null
/* This file is taken almost verbatim from gmock_main.cc. Therefore copyright claim is retained from original file. */ // Copyright 2008, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following condi...
36.4
73
0.71548
mbits-libs
3a415f1aa7a8bd748178c4c100b995993acc6be7
3,272
cpp
C++
src/multipole/MultipoleProfileCalculator/DipoleCalculator.cpp
patwonder/pbrt-v2-skin
a6a58e5287925798c2d37adea6054dbec4587e4b
[ "BSD-2-Clause" ]
3
2020-12-09T00:03:29.000Z
2021-07-03T13:31:41.000Z
src/multipole/MultipoleProfileCalculator/DipoleCalculator.cpp
patwonder/pbrt-v2-skin
a6a58e5287925798c2d37adea6054dbec4587e4b
[ "BSD-2-Clause" ]
null
null
null
src/multipole/MultipoleProfileCalculator/DipoleCalculator.cpp
patwonder/pbrt-v2-skin
a6a58e5287925798c2d37adea6054dbec4587e4b
[ "BSD-2-Clause" ]
1
2020-11-28T12:33:24.000Z
2020-11-28T12:33:24.000Z
/* Copyright(c) 2013-2014 Yifan Wu. This file is part of fork of pbrt (pbrt-v2-skin). 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 copyrigh...
35.565217
76
0.676039
patwonder
3a44e3dc47bc8695a2737ab6467ca8d4e14822b3
5,776
hpp
C++
libraries/chain/include/xgt/chain/global_property_object.hpp
raggi/xgt
ab7dedab2230eadb500a556abe6468d686d7db55
[ "MIT" ]
6
2021-05-11T20:44:13.000Z
2021-12-02T01:26:43.000Z
libraries/chain/include/xgt/chain/global_property_object.hpp
raggi/xgt
ab7dedab2230eadb500a556abe6468d686d7db55
[ "MIT" ]
26
2021-06-08T16:20:23.000Z
2022-03-30T03:42:21.000Z
libraries/chain/include/xgt/chain/global_property_object.hpp
raggi/xgt
ab7dedab2230eadb500a556abe6468d686d7db55
[ "MIT" ]
7
2021-06-16T17:36:14.000Z
2021-12-02T01:27:06.000Z
#pragma once #include <xgt/chain/xgt_fwd.hpp> #include <fc/uint128.hpp> #include <xgt/chain/xgt_object_types.hpp> #include <xgt/protocol/asset.hpp> namespace xgt { namespace chain { using xgt::protocol::asset; using xgt::protocol::price; /** * @class dynamic_global_property_object * @brief Maint...
35.875776
132
0.637639
raggi
3a4de6d299b8a16a7dcaadef8d56997d5840fa0d
3,572
cpp
C++
NOLF/ClientShellDLL/FolderEffects.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
NOLF/ClientShellDLL/FolderEffects.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
NOLF/ClientShellDLL/FolderEffects.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// FolderEffects.cpp: implementation of the CFolderEffects class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "FolderEffects.h" #include "FolderMgr.h" #include "FolderCommands.h" #include "ClientRes.h" #include "GameClientShell.h" #include "GameSettings.h" ext...
25.884058
101
0.720325
haekb
3a4e03b4e1e5777b26cc288ff485f1171a79be92
953
cpp
C++
OpenDeformer/material/invertibleNeoHookean.cpp
OpenDeformerDev/OpenDeformer
f212a534acd4ebb94018b31074899599592d6680
[ "MIT" ]
8
2015-10-24T03:39:05.000Z
2017-04-29T21:32:56.000Z
OpenDeformer/material/invertibleNeoHookean.cpp
OpenDeformerDev/OpenDeformer
f212a534acd4ebb94018b31074899599592d6680
[ "MIT" ]
null
null
null
OpenDeformer/material/invertibleNeoHookean.cpp
OpenDeformerDev/OpenDeformer
f212a534acd4ebb94018b31074899599592d6680
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "invertibleNeoHookean.h" namespace ODER { InvertibleNeoHookeanMaterial::InvertibleNeoHookeanMaterial(Scalar rho, Scalar youngs, Scalar possion, Scalar inversionTrashold) : InvertibleHyperelasticMaterial(rho, inversionTrashold) { lambda = possion * youngs / ((Scalar(1.0) + possion) * (...
45.380952
129
0.704092
OpenDeformerDev
3a502c538edc1c5c418b8edd5b1da8f104a37526
109
hh
C++
src/elle/log/fwd.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
src/elle/log/fwd.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
src/elle/log/fwd.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
#pragma once namespace elle { namespace log { namespace detail { struct Send; } } }
8.384615
20
0.550459
infinitio
3a58567d273653f1a6ff25b31455fb7735d87937
289
cpp
C++
Engine/VulkanVertexShader.cpp
ebithril/Cerberus
8c5034bbb4fcdcc2cdb4495631176a2595c22dc7
[ "MIT" ]
1
2017-08-13T20:41:57.000Z
2017-08-13T20:41:57.000Z
Engine/VulkanVertexShader.cpp
ebithril/Cerberus
8c5034bbb4fcdcc2cdb4495631176a2595c22dc7
[ "MIT" ]
null
null
null
Engine/VulkanVertexShader.cpp
ebithril/Cerberus
8c5034bbb4fcdcc2cdb4495631176a2595c22dc7
[ "MIT" ]
null
null
null
#include "VulkanVertexShader.h" #include <FileOperations.h> void VulkanVertexShader::LoadShader(const String& ShaderFileName) { Array<int8> Glsl; ReadFileIntoArray(ShaderFileName, Glsl); Array<uint32> Spirv = CompileGLSL(ShaderFileName, ShaderType::VertexShader, Glsl); }
24.083333
84
0.761246
ebithril
3a598c10355a5afcb7cb406fff6c743cf8fad2b5
2,090
cpp
C++
DLLinjector/DLLinjector/DLLinjector.cpp
Rr42/SampleDLLInjector
d75b9329e059f25594d91691648dd1d0b917cb7c
[ "MIT" ]
null
null
null
DLLinjector/DLLinjector/DLLinjector.cpp
Rr42/SampleDLLInjector
d75b9329e059f25594d91691648dd1d0b917cb7c
[ "MIT" ]
null
null
null
DLLinjector/DLLinjector/DLLinjector.cpp
Rr42/SampleDLLInjector
d75b9329e059f25594d91691648dd1d0b917cb7c
[ "MIT" ]
null
null
null
// DLLinjector.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h" int main() { // path to our dll LPCSTR DllPath = "E:\\Dev\\DLLinjector\\DLLinjector\\Debug\\SampleDLL.dll"; // Process ID of destination DWORD wPid = 0; // Open a handle to tar...
38.703704
136
0.709569
Rr42
3a5d6484c5c9e7ff14a3be45ff7fd88b89d3b3fd
6,458
cpp
C++
distributed/components.cpp
sithhell/hpxcbenchmarks
3687081a1bab5ffa872576f4ff8267f32d4fcc85
[ "BSL-1.0" ]
1
2020-10-24T14:12:59.000Z
2020-10-24T14:12:59.000Z
distributed/components.cpp
sithhell/hpxcbenchmarks
3687081a1bab5ffa872576f4ff8267f32d4fcc85
[ "BSL-1.0" ]
null
null
null
distributed/components.cpp
sithhell/hpxcbenchmarks
3687081a1bab5ffa872576f4ff8267f32d4fcc85
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2018 Thomas Heller // // 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 <benchmark/benchmark.h> #include <hpx/hpx_main.hpp> #include <hpx/runtime/serialization/detail/preprocess.hpp> #i...
26.467213
82
0.693868
sithhell
3a5e5877a2c451656d839d7b36cd1c2cab56cc82
90,007
cpp
C++
Source/Mesh/geometry.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
null
null
null
Source/Mesh/geometry.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
7
2015-01-05T16:41:55.000Z
2015-01-17T11:21:06.000Z
Source/Mesh/geometry.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
null
null
null
#include "inmost.h" #if defined(USE_MESH) #include <deque> using namespace std; const std::string normal_name = "PROTECTED_GEOM_UTIL_NORMAL"; const std::string measure_name = "PROTECTED_GEOM_UTIL_MEASURE"; const std::string centroid_name = "PROTECTED_GEOM_UTIL_CENTROID"; const std::string barycenter_name = "PROTECTED_...
30.397501
212
0.55909
INM-RAS
3a5ee82aa4cb530b49875f5bef8fb32fef6504df
482
cpp
C++
ArcManagedFBX/FBXLight.cpp
arcanedreams/ArcManagedFBX
ea26f00e46166c37d887a9bd0475fdf5505fc03c
[ "MIT" ]
17
2015-06-06T08:04:08.000Z
2017-08-17T04:54:47.000Z
ArcManagedFBX/FBXLight.cpp
ArcaneDreams/ArcManagedFbx
ea26f00e46166c37d887a9bd0475fdf5505fc03c
[ "MIT" ]
4
2018-01-01T19:56:16.000Z
2018-10-10T00:04:04.000Z
ArcManagedFBX/FBXLight.cpp
ArcaneDreams/ArcManagedFbx
ea26f00e46166c37d887a9bd0475fdf5505fc03c
[ "MIT" ]
7
2015-11-18T17:10:30.000Z
2017-07-06T18:12:22.000Z
#include "Stdafx.h" #include "FBXLight.h" using namespace ArcManagedFBX; ARC_DEFAULT_INTERNAL_CONSTRUCTOR_INHERIT_IMPL(FBXLight,FBXNodeAttribute,FbxLight) ARC_DEFAULT_CONSTRUCTORS_IMPL(FBXLight) void ArcManagedFBX::FBXLight::SetShadowTexture(FBXTexture^ textureInstance) { this->GetFBXLight()->SetShadowTexture(text...
24.1
81
0.819502
arcanedreams
3a5f2b2d2f355edb94f4c1a7d1dc41bae4009309
625
hh
C++
skysim/onnc-cimHW/lib/op.template.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
2
2021-07-05T02:26:11.000Z
2022-01-11T10:37:20.000Z
skysim/onnc-cimHW/lib/op.template.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
null
null
null
skysim/onnc-cimHW/lib/op.template.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
1
2022-01-11T10:39:01.000Z
2022-01-11T10:39:01.000Z
//===- ${OperatorName}.hh -------------------------------------------------===// // // The CIM Hardware Simulator Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #pragma once #include "hardware/ComputeUnit.hh" #include ...
21.551724
80
0.4992
ONNC
3a6965d0e1cfe09408521c2c6bf698cdac49447c
805
hpp
C++
csf_workspace/ec/src/device_io/ec_device_io/hi/csf_hichannel_manager.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
2
2019-12-17T13:16:48.000Z
2019-12-17T13:16:51.000Z
csf_workspace/ec/src/device_io/ec_device_io/hi/csf_hichannel_manager.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
null
null
null
csf_workspace/ec/src/device_io/ec_device_io/hi/csf_hichannel_manager.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * *Copyright: armuxinxian@aliyun.com * *Author: f * *File name: csf_hichannel_manager.hpp * *Version: 1.0 * *Date: 03-12月-2019 13:50:14 * *Description: Class(csf_hichannel_manager) 表示海思媒体通道管理器 * *Others: * *History: * ********************...
18.72093
81
0.58882
Kitty-Kitty
3a7257b7c17bb29c7b941af4f312f385ac33bc38
5,105
hpp
C++
arbor/util/range.hpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
53
2018-10-18T12:08:21.000Z
2022-03-26T22:03:51.000Z
arbor/util/range.hpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
864
2018-10-01T08:06:00.000Z
2022-03-31T08:06:48.000Z
arbor/util/range.hpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
37
2019-03-03T16:18:49.000Z
2022-03-24T10:39:51.000Z
#pragma once /* Present a pair of iterators as a non-owning collection. * * Two public member fields, `left` and `right`, describe * the half-open interval [`left`, `right`). * * Constness of the range object only affects mutability * of the iterators, and does not relate to the constness * of the data to which...
28.049451
94
0.650343
kanzl
b91ac65ecaeb263d2c0b4ae98273629f72b0529e
1,411
cpp
C++
codeforces/E - Radio stations/Wrong answer on test 46.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/E - Radio stations/Wrong answer on test 46.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/E - Radio stations/Wrong answer on test 46.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Sep/22/2018 16:42 * solution_verdict: Wrong answer on test 46 language: GNU C++14 * run...
33.595238
111
0.483345
kzvd4729
b91fe07ac54a8e5aa9941ffc92676d2d845bd5cb
498
cpp
C++
components/agro_mesh/helper/convert.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
2
2021-07-19T12:03:39.000Z
2021-07-22T18:37:45.000Z
components/agro_mesh/helper/convert.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
null
null
null
components/agro_mesh/helper/convert.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
1
2021-07-08T09:07:10.000Z
2021-07-08T09:07:10.000Z
#include "convert.hpp" #include <ctype.h> /** * Adapted from https://stackoverflow.com/a/1086059 */ long long strntoll(const char *s, std::size_t n) noexcept { long long x = 0; bool negative = false; if(n == 0) return 0; if(s[0] == '-') { s++; n--; negative = true; } else...
16.6
57
0.441767
thmalmeida
b921dc406e1a8f761320da8a89b3a9eb9e1320ba
1,257
cpp
C++
ArduinoSTL/extras/uClibc++-OriginalFiles/tests/combotest.cpp
Silmaen/ArduinoLibraries
c702234b0e11978977cf8f6fc7454452d67afa33
[ "BSD-3-Clause" ]
3
2019-08-27T02:11:00.000Z
2021-01-16T16:31:52.000Z
ArduinoSTL/extras/uClibc++-OriginalFiles/tests/combotest.cpp
Silmaen/ArduinoLibraries
c702234b0e11978977cf8f6fc7454452d67afa33
[ "BSD-3-Clause" ]
41
2019-08-28T21:32:18.000Z
2022-03-02T13:42:19.000Z
ArduinoSTL/extras/uClibc++-OriginalFiles/tests/combotest.cpp
Silmaen/ArduinoLibraries
c702234b0e11978977cf8f6fc7454452d67afa33
[ "BSD-3-Clause" ]
4
2020-03-18T16:06:17.000Z
2021-06-15T04:29:42.000Z
/* * The purpose of theses tests is to test strange combinations of code which doesn't * properly belong in a unit test. For example, does pushing an object into a vector * contained in a map work properly? That doesn't really belong in either the map * or the vector tests. So we put it here until we find some p...
19.640625
89
0.645982
Silmaen
b927b12c286d5594a0b63ed772eb9ddec7310bb3
205
cpp
C++
use-gtest/sample1/hello.cpp
lua511/draft-cxx-testing
1afa0bb8b406d38bcabce471b90decc6cf6eae65
[ "MIT" ]
null
null
null
use-gtest/sample1/hello.cpp
lua511/draft-cxx-testing
1afa0bb8b406d38bcabce471b90decc6cf6eae65
[ "MIT" ]
null
null
null
use-gtest/sample1/hello.cpp
lua511/draft-cxx-testing
1afa0bb8b406d38bcabce471b90decc6cf6eae65
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> using namespace testing; TEST(SUITE1,CASE1) { int a = 5; ASSERT_EQ(a,5); } int main(int argc, char *argv[]) { InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
20.5
34
0.64878
lua511
b929673d051e945f51f2c86d63d6953ae2e391a0
2,612
cc
C++
google/cloud/appengine/instances_client.cc
sydney-munro/google-cloud-cpp
374b52e5cec78962358bdd5913d4118a47af1952
[ "Apache-2.0" ]
80
2017-11-24T00:19:45.000Z
2019-01-25T10:24:33.000Z
google/cloud/appengine/instances_client.cc
sydney-munro/google-cloud-cpp
374b52e5cec78962358bdd5913d4118a47af1952
[ "Apache-2.0" ]
1,579
2017-11-24T01:01:21.000Z
2019-01-28T23:41:21.000Z
google/cloud/appengine/instances_client.cc
sydney-munro/google-cloud-cpp
374b52e5cec78962358bdd5913d4118a47af1952
[ "Apache-2.0" ]
51
2017-11-24T00:56:11.000Z
2019-01-18T20:35:02.000Z
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
39.575758
80
0.758423
sydney-munro
b93861015eb6d87ff060465ae5e2a20fab05210a
2,846
hpp
C++
src/core/kext/Classes/IOLogWrapper.hpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
src/core/kext/Classes/IOLogWrapper.hpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
src/core/kext/Classes/IOLogWrapper.hpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
#ifndef IOLOGWRAPPER_HPP #define IOLOGWRAPPER_HPP #include <IOKit/IOLib.h> #include "Config.hpp" #define IOLOG_DEBUG(...) \ { \ if (!org_pqrs_Karabiner::IOLogWrapper::suppressed()) { \ if (Config::get_debug()) { ...
36.025316
63
0.358398
gkb
b93871cf13aad04871b67446babb813de3dcbfd4
360
hpp
C++
modules/scene_manager/include/visualization_msgs/msg/marker.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
1
2020-05-19T14:33:49.000Z
2020-05-19T14:33:49.000Z
ros2_mod_ws/install/include/visualization_msgs/msg/marker.hpp
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/visualization_msgs/msg/marker.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
// generated from rosidl_generator_cpp/resource/msg.hpp.em // generated code does not contain a copyright notice #ifndef VISUALIZATION_MSGS__MSG__MARKER_HPP_ #define VISUALIZATION_MSGS__MSG__MARKER_HPP_ #include "visualization_msgs/msg/marker__struct.hpp" #include "visualization_msgs/msg/marker__traits.hpp" #endif ...
32.727273
58
0.852778
Omnirobotic
b938caf65e8e0cac04e9ab866ee8e4a88a8f42c0
2,414
cpp
C++
src/tools/animatedwidget.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
1
2017-05-21T15:31:02.000Z
2017-05-21T15:31:02.000Z
src/tools/animatedwidget.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
null
null
null
src/tools/animatedwidget.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
null
null
null
/* ============================================================ * QupZilla - WebKit based browser * Copyright (C) 2010-2012 David Rosca <nowrep@gmail.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 Software ...
29.802469
89
0.658658
bubapl
b93ca65b96469a57f474a835d3885129782e79d3
190
hpp
C++
src/agl/engine/mesh_instance/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/engine/mesh_instance/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/engine/mesh_instance/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "bounding_box.hpp" #include "mesh_instance.hpp" #include "mesh.hpp" #include "primitive.hpp" #include "primitives.hpp" #include "uniform.hpp" #include "upload_to.hpp"
19
28
0.757895
the-last-willy
b9435cd02e06e6ad4abcfd1a1fe4d855330928ac
196
hpp
C++
src/shell/ParseLine.hpp
amsobr/iotool
233ec320ee25c96d34332fe847663682c4aa0a91
[ "MIT" ]
null
null
null
src/shell/ParseLine.hpp
amsobr/iotool
233ec320ee25c96d34332fe847663682c4aa0a91
[ "MIT" ]
4
2022-03-13T23:07:12.000Z
2022-03-13T23:10:09.000Z
src/shell/ParseLine.hpp
amsobr/iotool
233ec320ee25c96d34332fe847663682c4aa0a91
[ "MIT" ]
null
null
null
// // Created by to on 20/02/22. // #pragma once #include <tuple> #include <rps/ArgumentList.hpp> std::tuple<std::string, std::string, rps::ArgumentList> parseLine(std::string const& line );
15.076923
92
0.683673
amsobr
b944e8331911cc7a0f6ae062ba118ea6b37dfa8d
519
cpp
C++
daily_challenge/March_LeetCoding_Challenge_2021/integerToRoman.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
1
2021-01-27T16:37:36.000Z
2021-01-27T16:37:36.000Z
daily_challenge/March_LeetCoding_Challenge_2021/integerToRoman.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
daily_challenge/March_LeetCoding_Challenge_2021/integerToRoman.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
class Solution { public: string intToRoman(int num) { vector<int> integer = {1, 4, 5, 9, 10, 40, 50, 90, 100, 400, 500, 900, 1000}; vector<string> roman = {"I", "IV", "V", "IX", "X", "XL", "L", "XC", "C", "CD", "D", "CM", "M"}; int i = 1...
27.315789
68
0.396917
archit-1997
b946e91a263c99eb151b46c878884a0b07d4b34f
1,475
hpp
C++
Common/interface/Variadic.hpp
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
Common/interface/Variadic.hpp
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
Common/interface/Variadic.hpp
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
/******************************************************************************* * * Filename : Variadic.hpp * Description : Template functions for aiding with Variadic functions of same type * by contracting all arguments into a std::vector<T> * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.nt...
39.864865
83
0.414915
NTUHEP-Tstar
b948532f7f4bc76b8ca1038f91d6fe3ca3f4e118
4,219
cpp
C++
src/tools/hldaestimator/mainHLDAEstimator.cpp
atk-/bavieca-0014
031216739b4800285af717f22f44ecda54675139
[ "Apache-2.0" ]
null
null
null
src/tools/hldaestimator/mainHLDAEstimator.cpp
atk-/bavieca-0014
031216739b4800285af717f22f44ecda54675139
[ "Apache-2.0" ]
null
null
null
src/tools/hldaestimator/mainHLDAEstimator.cpp
atk-/bavieca-0014
031216739b4800285af717f22f44ecda54675139
[ "Apache-2.0" ]
null
null
null
/*---------------------------------------------------------------------------------------------* * Copyright (C) 2012 Daniel Bolaños - www.bltek.com - Boulder Language Technologies * * * * www.bavieca.org is the web...
49.635294
111
0.599668
atk-
b94f958f02afb542279fe09abdebcd1747b12eb9
354
cpp
C++
Source/HeliumRain/Quests/FlareQuestStep.cpp
fdsalbj/HeliumRain
a429db86e59e3c8d71c306a20c7abd2899a36464
[ "BSD-3-Clause" ]
2
2016-09-20T18:48:21.000Z
2021-03-30T02:42:59.000Z
Source/HeliumRain/Quests/FlareQuestStep.cpp
fdsalbj/HeliumRain
a429db86e59e3c8d71c306a20c7abd2899a36464
[ "BSD-3-Clause" ]
null
null
null
Source/HeliumRain/Quests/FlareQuestStep.cpp
fdsalbj/HeliumRain
a429db86e59e3c8d71c306a20c7abd2899a36464
[ "BSD-3-Clause" ]
null
null
null
#include "Flare.h" #include "FlareQuestStep.h" #define LOCTEXT_NAMESPACE "FlareQuestStep" /*---------------------------------------------------- Constructor ----------------------------------------------------*/ UFlareQuestStep::UFlareQuestStep(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializ...
19.666667
77
0.556497
fdsalbj
b9526e4bd7ef7aa49999b0ed06ced008710423b6
248
hh
C++
dune/grid/multiscale/exists.hh
dune-community/dune-grid-multiscale
cda095af3c472fb173717239527741439f5c0af6
[ "BSD-2-Clause" ]
1
2020-02-08T04:10:46.000Z
2020-02-08T04:10:46.000Z
dune/grid/multiscale/exists.hh
dune-community/dune-grid-multiscale
cda095af3c472fb173717239527741439f5c0af6
[ "BSD-2-Clause" ]
4
2019-05-09T08:05:19.000Z
2019-06-28T11:57:35.000Z
dune/grid/multiscale/exists.hh
pymor/dune-grid-multiscale
cda095af3c472fb173717239527741439f5c0af6
[ "BSD-2-Clause" ]
1
2020-02-08T04:10:49.000Z
2020-02-08T04:10:49.000Z
// This file is part of the dune-grid-multiscale project: // http://users.dune-project.org/projects/dune-grid-multiscale // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // I do
35.428571
78
0.741935
dune-community
b955159fc2e48505b1a4d6ef1a0e5c20564efba9
5,288
cpp
C++
warning.cpp
wisd0me/plog-converter
e534fa5873c9036f5193a28be19e1ded9738586a
[ "Apache-2.0" ]
null
null
null
warning.cpp
wisd0me/plog-converter
e534fa5873c9036f5193a28be19e1ded9738586a
[ "Apache-2.0" ]
null
null
null
warning.cpp
wisd0me/plog-converter
e534fa5873c9036f5193a28be19e1ded9738586a
[ "Apache-2.0" ]
null
null
null
// 2006-2008 (c) Viva64.com Team // 2008-2020 (c) OOO "Program Verification Systems" // 2020 (c) PVS-Studio LLC #include "warning.h" namespace PlogConverter { AnalyzerType Warning::GetType() const { const auto errorCode = GetErrorCode(); if ((errorCode >= 100 && errorCode <= 499) || errorCode == 4) { retu...
19.954717
133
0.642587
wisd0me
b957065047f092aa6711898318ad23a7f2a0b65b
8,934
cpp
C++
CityRenderingEngine/generator/Chunk.cpp
roooodcastro/city-rendering-engine
eb0f2f948ab509baf7f5e08ec05f6eb510805eac
[ "MIT" ]
2
2021-03-13T13:33:25.000Z
2021-03-13T14:19:18.000Z
CityRenderingEngine/generator/Chunk.cpp
roooodcastro/city-rendering-engine
eb0f2f948ab509baf7f5e08ec05f6eb510805eac
[ "MIT" ]
1
2020-05-23T05:48:01.000Z
2020-05-24T08:36:06.000Z
CityRenderingEngine/generator/Chunk.cpp
roooodcastro/city-rendering-engine
eb0f2f948ab509baf7f5e08ec05f6eb510805eac
[ "MIT" ]
1
2021-03-13T13:33:33.000Z
2021-03-13T13:33:33.000Z
#include "Chunk.h" Chunk::Chunk(void) : Entity(), Resource() { this->intersections = new std::vector<Intersection*>(); this->intersections->reserve(100); this->roads = new std::vector<Road*>(); this->cityBlocks = new std::vector<CityBlock*>(); this->setRenderRadius((Chunk::CHUNK_SIZE * 1.42f) / 2.0...
35.173228
118
0.622565
roooodcastro
b95744092100f79b608aca304a277bb314f40569
7,780
cpp
C++
server/src/entities/Worm.cpp
gabyrobles93/worms-game-remake
b97781f39369f807ae8c8316f7f313353d7a2df7
[ "MIT" ]
2
2019-04-24T18:27:29.000Z
2020-04-06T17:15:34.000Z
server/src/entities/Worm.cpp
gabyrobles93/tp-final-taller
b97781f39369f807ae8c8316f7f313353d7a2df7
[ "MIT" ]
null
null
null
server/src/entities/Worm.cpp
gabyrobles93/tp-final-taller
b97781f39369f807ae8c8316f7f313353d7a2df7
[ "MIT" ]
null
null
null
#include "Worm.h" #include <iostream> Worm::Worm(std::string n, int id, int team_id, int h, b2World& world, float posX, float posY) : world(world) { b2BodyDef wormDef; wormDef.type = b2_dynamicBody; wormDef.fixedRotation = true; wormDef.allowSleep = true; wormDef.position.Set(posX, posY); b2B...
25.25974
112
0.619537
gabyrobles93
b95a14ef1fbe506a4ee0ba9add9273d2ab640531
2,050
cpp
C++
Tetris/Tetris/Source/SceneIntro.cpp
punto16/Project1-NosusStudio
3f0f4356d49bd0c78061febec4c1c892c21a5610
[ "MIT" ]
null
null
null
Tetris/Tetris/Source/SceneIntro.cpp
punto16/Project1-NosusStudio
3f0f4356d49bd0c78061febec4c1c892c21a5610
[ "MIT" ]
null
null
null
Tetris/Tetris/Source/SceneIntro.cpp
punto16/Project1-NosusStudio
3f0f4356d49bd0c78061febec4c1c892c21a5610
[ "MIT" ]
null
null
null
#include "SceneIntro.h" #include "Application.h" #include "ModuleTextures.h" #include "ModuleRender.h" #include "ModuleAudio.h" #include "ModuleInput.h" #include "ModuleFadeToBlack.h" SceneIntro::SceneIntro(bool startEnabled) : Module(startEnabled) { } SceneIntro::~SceneIntro() { } // Load asse...
22.043011
89
0.647317
punto16
b95d0435e803f9fbfea9bb82612cea37210199a4
665
cpp
C++
test/zisa/unit_test/io/colors.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
test/zisa/unit_test/io/colors.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
test/zisa/unit_test/io/colors.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
1
2021-08-24T11:52:51.000Z
2021-08-24T11:52:51.000Z
// SPDX-License-Identifier: MIT // Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval #include <zisa/testing/testing_framework.hpp> #include <random> #include <zisa/io/colors.hpp> TEST_CASE("Color Conversions") { zisa::RGBColor rgb{0.3, 0.1, 0.4}; auto xyz = zisa::rgb2xyz(rgb); float tol = 1e-4; SECTION(...
21.451613
54
0.645113
1uc
b95d14c044f689e6483dfe36518438bf04eb6d91
5,998
cpp
C++
src/ripple/shamap/impl/SHAMapTreeNode.cpp
BRTNetwork/brtd
5bda54d04a669bfbe4cfd4bb5399d56caeaf5a1a
[ "BSL-1.0" ]
null
null
null
src/ripple/shamap/impl/SHAMapTreeNode.cpp
BRTNetwork/brtd
5bda54d04a669bfbe4cfd4bb5399d56caeaf5a1a
[ "BSL-1.0" ]
null
null
null
src/ripple/shamap/impl/SHAMapTreeNode.cpp
BRTNetwork/brtd
5bda54d04a669bfbe4cfd4bb5399d56caeaf5a1a
[ "BSL-1.0" ]
null
null
null
//------------------------------------------------------------------------------ /* This file is part of brtd: https://github.com/BRTNetwork/brtd Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby gr...
31.07772
80
0.662554
BRTNetwork
b95f56845e6dbd38fe62e8d104576f39856b0518
1,629
cpp
C++
pysim/systems/defaultsystemcollection1/cppsource/PredatorPrey.cpp
sspasweden/pysim
474e71933e7e639e9aff68844ae27e7c7ab5aa01
[ "BSD-3-Clause" ]
3
2019-10-31T14:08:17.000Z
2020-02-08T15:44:45.000Z
pysim/systems/defaultsystemcollection1/cppsource/PredatorPrey.cpp
sspasweden/pysim
474e71933e7e639e9aff68844ae27e7c7ab5aa01
[ "BSD-3-Clause" ]
4
2019-10-31T14:07:43.000Z
2020-06-01T07:56:44.000Z
pysim/systems/defaultsystemcollection1/cppsource/PredatorPrey.cpp
sspasweden/pysim
474e71933e7e639e9aff68844ae27e7c7ab5aa01
[ "BSD-3-Clause" ]
null
null
null
#include "PredatorPrey.h" #include "factory.hpp" std::string PredatorPrey::getDocs(){ return std::string( "System representing the Predator Prey equations for population dynamics\n\n" "The predator-prey equations, are a pair of first order, " "non-linear, differential equations frequently...
33.244898
99
0.646409
sspasweden
b96a7745a8ea69c039b0169036423da0c3d25547
13,575
cpp
C++
src/Externals/log4cpp/src/PropertyConfiguratorImpl.cpp
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Externals/log4cpp/src/PropertyConfiguratorImpl.cpp
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Externals/log4cpp/src/PropertyConfiguratorImpl.cpp
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
/* * PropertyConfiguratorImpl.cpp * * Copyright 2002, Log4cpp Project. All rights reserved. * * See the COPYING file for the terms of usage and distribution. */ #include "PortabilityImpl.hh" #ifdef LOG4CPP_HAVE_UNISTD_H #include <unistd.h> #endif #ifdef LOG4CPP_HAVE_IO_H # include <io.h> #endif #include <iost...
39.462209
133
0.601179
benjaminlarson