hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
67k
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
1db4e61de4c1a7e1dd0283a3eab5da5dba535c29
6,522
hpp
C++
Tests/FixedBGProcaConstraintCheck/FixedBGProcaFieldTest.impl.hpp
Scientistwang/GRChombo_Zipeng
cd7aeb9ce0d67422e769b9c2072afafb0b9a2659
[ "BSD-3-Clause" ]
null
null
null
Tests/FixedBGProcaConstraintCheck/FixedBGProcaFieldTest.impl.hpp
Scientistwang/GRChombo_Zipeng
cd7aeb9ce0d67422e769b9c2072afafb0b9a2659
[ "BSD-3-Clause" ]
null
null
null
Tests/FixedBGProcaConstraintCheck/FixedBGProcaFieldTest.impl.hpp
Scientistwang/GRChombo_Zipeng
cd7aeb9ce0d67422e769b9c2072afafb0b9a2659
[ "BSD-3-Clause" ]
null
null
null
/* GRChombo * Copyright 2012 The GRChombo collaboration. * Please refer to LICENSE in GRChombo's root directory. */ #if !defined(FIXEDBGPROCAFIELDTEST_HPP_) #error "This file should only be included through FixedBGProcaFieldTest.hpp" #endif #ifndef FIXEDBGPROCAFIELDTEST_IMPL_HPP_ #define FIXEDBGPROCAFIELDTEST_IMPL...
34.146597
80
0.533119
[ "vector" ]
1db82800cb8a02dcbe83242bde57f7e3213eaa0a
11,177
cc
C++
onnxruntime/core/providers/openvino/backend_manager.cc
jgbradley1/onnxruntime
6c26e521346a246cdcd109412b0bc41a49cfafd0
[ "MIT" ]
1
2020-10-21T11:54:26.000Z
2020-10-21T11:54:26.000Z
onnxruntime/core/providers/openvino/backend_manager.cc
jgbradley1/onnxruntime
6c26e521346a246cdcd109412b0bc41a49cfafd0
[ "MIT" ]
null
null
null
onnxruntime/core/providers/openvino/backend_manager.cc
jgbradley1/onnxruntime
6c26e521346a246cdcd109412b0bc41a49cfafd0
[ "MIT" ]
1
2020-09-11T02:23:48.000Z
2020-09-11T02:23:48.000Z
// Copyright(C) 2019 Intel Corporation // Licensed under the MIT License #include <inference_engine.hpp> #include <google/protobuf/io/zero_copy_stream_impl.h> #include "core/graph/graph.h" #include "core/graph/model.h" #include "core/platform/env.h" #include "contexts.h" #include "backend_manager.h" #include "ibacke...
35.823718
142
0.682741
[ "shape", "vector", "model" ]
1dc086f1cfaf77f6818b3e640ada953f795a58fd
3,128
cpp
C++
SIPL-Example/example.cpp
kayarre/VoxelModelingClass
2651459d19ecdb96641f803713e500abd72ffe88
[ "Unlicense" ]
null
null
null
SIPL-Example/example.cpp
kayarre/VoxelModelingClass
2651459d19ecdb96641f803713e500abd72ffe88
[ "Unlicense" ]
null
null
null
SIPL-Example/example.cpp
kayarre/VoxelModelingClass
2651459d19ecdb96641f803713e500abd72ffe88
[ "Unlicense" ]
null
null
null
#include "SIPL/Core.hpp" #include "SIPL/Visualization.hpp" //using namespace SIPL; int main(int argc, char ** argv) { // Load image from disk and display it /* SIPL::Image<SIPL::color_uchar> * im = new SIPL::Image<SIPL::color_uchar>("images/sunset.jpg"); im->display(); // Remove all the gree...
35.146067
122
0.557545
[ "vector", "3d" ]
1dc36119f5e3db22c3c1e5e459f4ef1c7b0c0f17
6,964
cpp
C++
src/copentimelineio/markerRetainerVector.cpp
hisergiorojas/OpenTimelineIO-C-Bindings
78e52d9d9f0f03adc04e586655bb2a4151b541be
[ "Apache-2.0" ]
1
2022-02-03T02:49:00.000Z
2022-02-03T02:49:00.000Z
src/copentimelineio/markerRetainerVector.cpp
hisergiorojas/OpenTimelineIO-C-Bindings
78e52d9d9f0f03adc04e586655bb2a4151b541be
[ "Apache-2.0" ]
32
2021-07-26T00:42:57.000Z
2022-03-28T00:29:39.000Z
src/copentimelineio/markerRetainerVector.cpp
hisergiorojas/OpenTimelineIO-C-Bindings
78e52d9d9f0f03adc04e586655bb2a4151b541be
[ "Apache-2.0" ]
4
2021-02-10T18:28:25.000Z
2022-03-18T03:14:47.000Z
#include "copentimelineio/markerRetainerVector.h" #include <opentimelineio/marker.h> #include <vector> typedef std::vector<OTIO_NS::Marker::Retainer<OTIO_NS::Marker>> MarkerRetainerVectorDef; typedef std::vector<OTIO_NS::Marker::Retainer<OTIO_NS::Marker>>::iterator MarkerRetainerVectorIteratorDef; type...
41.452381
87
0.765796
[ "vector" ]
1dc7007dabb80ad31ac3cc69ffe82bcd11ea35af
1,366
cpp
C++
cc_nov_long/ALEXTASK-Again.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
cc_nov_long/ALEXTASK-Again.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
cc_nov_long/ALEXTASK-Again.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; long long int gcd(long long int a, long long int b) { if (b == 0) return a; else return gcd(b, a%b); } long long int lcm(long long int a, long long int b) { return (a*b)/gcd(a,b); } int main() { long long int t; cin>>t; while(t-- > 0){...
17.291139
52
0.477306
[ "vector" ]
1dcd3ed28674e457efd5c25f8c46ca82f2d4e15d
1,211
hpp
C++
lib/separating_family.hpp
praseodym/Yannakakis
804944662d9323af9a95f370929e70b99ac07d4c
[ "MIT" ]
1
2020-04-21T23:43:02.000Z
2020-04-21T23:43:02.000Z
lib/separating_family.hpp
praseodym/Yannakakis
804944662d9323af9a95f370929e70b99ac07d4c
[ "MIT" ]
null
null
null
lib/separating_family.hpp
praseodym/Yannakakis
804944662d9323af9a95f370929e70b99ac07d4c
[ "MIT" ]
null
null
null
#pragma once #include "types.hpp" struct adaptive_distinguishing_sequence; struct splitting_tree; /// \brief From the LY algorithm we generate a separating family /// If the adaptive distinguihsing sequence is complete, then we do not need to augment the LY /// result. If it is not complete, we augment it with seque...
44.851852
98
0.753922
[ "vector" ]
1dd044742c98c1e6d80827ede7f9520d10ed619a
9,342
cpp
C++
src/caffe/layers/parallel_inMem_data_layer.cpp
cc-hpc-itwm/caffeGPI
85c57a91ec99fb1419fc281585cf54b0e3c97fb8
[ "BSD-2-Clause" ]
1
2017-09-07T07:32:29.000Z
2017-09-07T07:32:29.000Z
src/caffe/layers/parallel_inMem_data_layer.cpp
cc-hpc-itwm/CaffeGPI
85c57a91ec99fb1419fc281585cf54b0e3c97fb8
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/parallel_inMem_data_layer.cpp
cc-hpc-itwm/CaffeGPI
85c57a91ec99fb1419fc281585cf54b0e3c97fb8
[ "BSD-2-Clause" ]
null
null
null
#ifdef USE_OPENCV #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <fstream> // NOLINT(readability/streams) #include <iostream> // NOLINT(readability/streams) #include <string> #include <utility> #include <vector> #include "caffe/layers/parallel_inMem_data_layer.hpp" #include "caffe/...
29.377358
124
0.682402
[ "vector", "transform" ]
1dd31163255187df6027d3db8cd946a71fed6f6a
3,083
cc
C++
commands/run.cc
finiteloop/compiler
700f5d2956d2024764f4677fc733e9e7bef70167
[ "Apache-2.0" ]
35
2020-08-24T23:24:09.000Z
2021-12-17T17:22:21.000Z
commands/run.cc
finiteloop/compiler
700f5d2956d2024764f4677fc733e9e7bef70167
[ "Apache-2.0" ]
1
2020-12-26T09:59:57.000Z
2020-12-31T20:00:42.000Z
commands/run.cc
finiteloop/compiler
700f5d2956d2024764f4677fc733e9e7bef70167
[ "Apache-2.0" ]
2
2020-12-29T06:21:09.000Z
2021-11-19T12:43:04.000Z
// Copyright 2020 Bret Taylor // // 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 ...
30.524752
79
0.693156
[ "vector" ]
1dd5927af8effc80a82f12d5f837305ff975597c
3,100
cpp
C++
code/pcc-digrafo.cpp
gafeol/chinese-postman
1b1dd9173ad0f58d325e0a973e2689625094df0b
[ "MIT" ]
null
null
null
code/pcc-digrafo.cpp
gafeol/chinese-postman
1b1dd9173ad0f58d325e0a973e2689625094df0b
[ "MIT" ]
16
2020-02-23T05:46:26.000Z
2021-01-27T02:09:49.000Z
code/pcc-digrafo.cpp
gafeol/chinese-postman
1b1dd9173ad0f58d325e0a973e2689625094df0b
[ "MIT" ]
1
2020-12-11T18:26:31.000Z
2020-12-11T18:26:31.000Z
#include "bits/stdc++.h" using namespace std; #include "min-cost-matching/MCM.cpp" #include "digrafo.hpp" #include "floyd-warshall.cpp" #include "euler-digrafo.cpp" #include "problema-transporte.cpp" struct PCC { private: Digrafo G; public: vector<Aresta> expande(int ini, int fim, vector<vector<doub...
29.807692
128
0.510645
[ "vector" ]
1dd5b43969efa900686a10021a85901c85e4d243
1,292
cc
C++
DRsim/src/DRsimRunAction.cc
chanchoen/eic-dual-readout
8cea1f6df9f837c9355416ad84df33a8de2ab600
[ "Apache-2.0" ]
1
2021-04-19T02:33:00.000Z
2021-04-19T02:33:00.000Z
DRsim/src/DRsimRunAction.cc
chanchoen/eic-dual-readout
8cea1f6df9f837c9355416ad84df33a8de2ab600
[ "Apache-2.0" ]
1
2021-04-16T05:37:08.000Z
2021-07-21T12:05:07.000Z
DRsim/src/DRsimRunAction.cc
chanchoen/eic-dual-readout
8cea1f6df9f837c9355416ad84df33a8de2ab600
[ "Apache-2.0" ]
3
2021-04-25T23:02:22.000Z
2021-07-19T08:14:49.000Z
#include "DRsimRunAction.hh" #include "DRsimEventAction.hh" #include "G4AutoLock.hh" #include "G4Threading.hh" #include <vector> using namespace std; namespace { G4Mutex DRsimRunActionMutex = G4MUTEX_INITIALIZER; } HepMCG4Reader* DRsimRunAction::sHepMCreader = 0; RootInterface<DRsimInterface::DRsimEventData>* DRsimR...
21.898305
109
0.704334
[ "vector" ]
1b8cdc76271206a3312d8227b3fe9e57f3700d1f
422
cpp
C++
tests/WordSearchTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
tests/WordSearchTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
tests/WordSearchTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "catch.hpp" #include "WordSearch.hpp" TEST_CASE("Word Search") { WordSearch s; SECTION("Sample tests") { vector<vector<char>> board{ {'A', 'B', 'C', 'E'}, {'S', 'F', 'C', 'S'}, {'A', 'D', 'E', 'E'} }; REQUIRE(s.exist(board, "ABCC...
23.444444
46
0.447867
[ "vector" ]
1b8f98a0b4e0e1d63a70115f1ed33ca71910de1c
9,809
cpp
C++
source_calibration/Input.cpp
Eve-ning/ManiaLib
b010c87ebe0f9e6cd2fcea2b0df2e9ea59baa3d9
[ "MIT" ]
5
2017-03-18T12:21:50.000Z
2017-10-05T18:44:29.000Z
source_calibration/Input.cpp
Eve-ning/ManiaLib
b010c87ebe0f9e6cd2fcea2b0df2e9ea59baa3d9
[ "MIT" ]
3
2017-03-18T15:57:54.000Z
2017-04-29T01:34:28.000Z
source_calibration/Input.cpp
Eve-ning/ManiaLib
b010c87ebe0f9e6cd2fcea2b0df2e9ea59baa3d9
[ "MIT" ]
null
null
null
#include "Input.h" //Initiates a SINGULAR note input prompt //Input NIL //Return (Double) Offset, (Int) Key Position std::tuple<double, int> Input::Input_N_S() { if (DEBUG == true) { std::cout << "[DEBUG] Input_N_S" << std::endl; } std::string input_raw; std::string input_bracket; std::string i...
24.959288
117
0.588643
[ "vector" ]
1b92039c5a8a712ddb815f566796134fd82ea085
33,997
cpp
C++
game/g_ambients.cpp
kugelrund/Elite-Reinforce
a2fe0c0480ff2d9cdc241b9e5416ee7f298f00ca
[ "DOC" ]
10
2017-07-04T14:38:48.000Z
2022-03-08T22:46:39.000Z
game/g_ambients.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
null
null
null
game/g_ambients.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
2
2017-04-23T18:24:44.000Z
2021-11-19T23:27:03.000Z
//g_ambient.cpp //Ambient creatures, effects, hazards, etc. #include "g_local.h" #include "g_functions.h" #include "b_local.h" extern void G_StartObjectMoving( gentity_t *object, vec3_t dir, float speed, trType_t trType ); extern void G_RunObject( gentity_t *ent ); extern void G_StopObjectMoving( gentity_t *object ); ...
27.394843
155
0.661882
[ "object", "solid" ]
1b92788485d8db736426455be73c68761b42e339
3,958
cpp
C++
src/test/json/self_contained.cpp
ClausKlein/json
eeabe4bdef13ccba985b4423ce558438fd2f5497
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
src/test/json/self_contained.cpp
ClausKlein/json
eeabe4bdef13ccba985b4423ce558438fd2f5497
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
src/test/json/self_contained.cpp
ClausKlein/json
eeabe4bdef13ccba985b4423ce558438fd2f5497
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2016-2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/json/ #include "test.hpp" #include <tao/json/self_contained.hpp> #include <tao/json/value.hpp> namespace tao::json { template< typename T > struct view_traits : traits< T > ...
36.990654
149
0.59045
[ "object" ]
1b92f67bb97e851aade72f61e233dfedbc2605ba
6,480
cpp
C++
grammar/toml/lex-number.cpp
tociyuki/libtoml-cxx11
64b4017273e5c94b9bdd57fca3efc6bc6663ac4e
[ "Unlicense" ]
null
null
null
grammar/toml/lex-number.cpp
tociyuki/libtoml-cxx11
64b4017273e5c94b9bdd57fca3efc6bc6663ac4e
[ "Unlicense" ]
null
null
null
grammar/toml/lex-number.cpp
tociyuki/libtoml-cxx11
64b4017273e5c94b9bdd57fca3efc6bc6663ac4e
[ "Unlicense" ]
null
null
null
#include <cstdlib> #include <iostream> #include <string> #include <vector> #include "../check-builder.hpp" #include "../layoutable.hpp" enum { TOKEN_INVALID, TOKEN_BAREKEY, TOKEN_STRKEY, TOKEN_STRING, TOKEN_BOOLEAN, TOKEN_FIXNUM, TOKEN_FLONUM, TOKEN_DATETIME, TOKEN_LBRACE, TOKEN...
27.457627
86
0.461883
[ "render", "vector" ]
1b9533cd4e7037ddb46f2f96cc1af0a1e99ca98c
487
hpp
C++
ad_map_access/tests/landmark/KnownTrafficSigns.hpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
61
2019-12-19T20:57:24.000Z
2022-03-29T15:20:51.000Z
ad_map_access/tests/landmark/KnownTrafficSigns.hpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
54
2020-04-05T05:32:47.000Z
2022-03-15T18:42:33.000Z
ad_map_access/tests/landmark/KnownTrafficSigns.hpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
31
2019-12-20T07:37:39.000Z
2022-03-16T13:06:16.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2018-2021 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #pragma once #include <vector> #include "ad/map/landmark/TrafficSignType.hpp" nam...
21.173913
74
0.570842
[ "vector" ]
1b9b29f663b3451a005ce1c4d05441c38d676018
561
hpp
C++
include/unzip.hpp
NapOli1084/pipes
842cb9b4ca6c2711d1f38dd8dac768fefe8e5b47
[ "MIT" ]
null
null
null
include/unzip.hpp
NapOli1084/pipes
842cb9b4ca6c2711d1f38dd8dac768fefe8e5b47
[ "MIT" ]
null
null
null
include/unzip.hpp
NapOli1084/pipes
842cb9b4ca6c2711d1f38dd8dac768fefe8e5b47
[ "MIT" ]
1
2019-10-28T20:57:29.000Z
2019-10-28T20:57:29.000Z
#ifndef PIPES_UNZIP_HPP #define PIPES_UNZIP_HPP #include "helpers/FWD.hpp" #include "helpers/meta.hpp" #include "transform.hpp" #include <tuple> #include <utility> namespace pipes { template<size_t... Is> auto make_transform(std::index_sequence<Is...> const&) { return transform([](auto&& tup){return std::get<Is...
19.344828
85
0.707665
[ "transform" ]
1ba2324906d3b41f15fcba28b40466f48e16d4d2
903
cpp
C++
solutions/0040.combination-sum-ii/0040.combination-sum-ii.1570946701.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
1
2021-01-14T06:01:02.000Z
2021-01-14T06:01:02.000Z
solutions/0040.combination-sum-ii/0040.combination-sum-ii.1570946701.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
8
2018-03-27T11:47:19.000Z
2018-11-12T06:02:12.000Z
solutions/0040.combination-sum-ii/0040.combination-sum-ii.1570946701.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
2
2020-04-30T09:47:01.000Z
2020-12-03T09:34:08.000Z
class Solution { public: vector<vector<int>> combinationSum2(vector<int>& candidates, int target) { sort(candidates.begin(), candidates.end()); vector<vector<int>> res; vector<int> current; backtrack(candidates, 0, current, target, res); return res; } void backtr...
31.137931
112
0.51938
[ "vector" ]
1ba36e53aac49c80ebc07ee4efef5233865f080a
8,051
cpp
C++
PwdList.cpp
alex-caelus/kryptan_core
e836230391b77a90e5730bd8ec6c1bbbdc110d8a
[ "MIT" ]
null
null
null
PwdList.cpp
alex-caelus/kryptan_core
e836230391b77a90e5730bd8ec6c1bbbdc110d8a
[ "MIT" ]
null
null
null
PwdList.cpp
alex-caelus/kryptan_core
e836230391b77a90e5730bd8ec6c1bbbdc110d8a
[ "MIT" ]
null
null
null
#include "PwdList.h" #include <stdexcept> #include <string.h> #include "Exceptions.h" using namespace Kryptan::Core; using namespace std; #ifdef _WIN32 #include <windows.h> const char* strcasestr(char* haystack, char* needle) { int i; int matchamt = 0; for(i=0;i<haystack[i];i++) { if (t...
26.926421
148
0.637933
[ "vector" ]
1ba73420832e851365d7c04fc6b2f48f3a9c6f5f
2,487
cc
C++
tests/functional_small/ode_advancers/ode_advance_functions.cc
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
29
2019-11-11T13:17:57.000Z
2022-03-16T01:31:31.000Z
tests/functional_small/ode_advancers/ode_advance_functions.cc
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
303
2019-09-30T10:15:41.000Z
2022-03-30T08:24:04.000Z
tests/functional_small/ode_advancers/ode_advance_functions.cc
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
4
2020-07-07T03:32:36.000Z
2022-03-10T05:21:42.000Z
#include <gtest/gtest.h> #include "pressio/ode_advancers.hpp" using ScalarType = double; using VectorType = std::vector<ScalarType>; struct MyFakeStepperExplicit { void operator()(VectorType & odeState, const ScalarType & time, const ScalarType & dt, const pressio::ode::step_count_type & step)...
23.242991
93
0.59228
[ "vector" ]
1bbafeb051d1e2b7fc9bf02c8c007bd281629475
1,156
hpp
C++
sparta/sparta/utils/SpartaSharedPointerBaseAllocator.hpp
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
44
2019-12-13T06:39:13.000Z
2022-03-29T23:09:28.000Z
sparta/sparta/utils/SpartaSharedPointerBaseAllocator.hpp
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
222
2020-01-14T21:58:56.000Z
2022-03-31T20:05:12.000Z
sparta/sparta/utils/SpartaSharedPointerBaseAllocator.hpp
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
19
2020-01-03T19:03:22.000Z
2022-01-09T08:36:20.000Z
#pragma once namespace sparta { #ifndef DO_NOT_DOCUMENT //////////////////////////////////////////////////////////////////////////////// // Internals to support cross object allocation (derivative types) // using Allocators. In a nutshell, if one SSP // (SpartaSharedPointer) of the base type is being...
29.641026
84
0.606401
[ "object" ]
1bbf5d926222b8f5f1ebbcc2c2b7262e411934c5
1,821
hpp
C++
MLPP/TanhReg/TanhReg.hpp
KangLin/MLPP
abd2dba6076c98aa2e1c29fb3198b74a3f28f8fe
[ "MIT" ]
927
2021-12-03T07:02:25.000Z
2022-03-30T07:37:23.000Z
MLPP/TanhReg/TanhReg.hpp
DJofOUC/MLPP
6940fc1fbcb1bc16fe910c90a32d9e4db52e264f
[ "MIT" ]
7
2022-02-13T22:38:08.000Z
2022-03-07T01:00:32.000Z
MLPP/TanhReg/TanhReg.hpp
DJofOUC/MLPP
6940fc1fbcb1bc16fe910c90a32d9e4db52e264f
[ "MIT" ]
132
2022-01-13T02:19:04.000Z
2022-03-23T19:23:56.000Z
// // TanhReg.hpp // // Created by Marc Melikyan on 10/2/20. // #ifndef TanhReg_hpp #define TanhReg_hpp #include <vector> #include <string> namespace MLPP { class TanhReg{ public: TanhReg(std::vector<std::vector<double>> inputSet, std::vector<double> outputSet, std::string reg = ...
30.35
161
0.562878
[ "vector" ]
1bc083899fe4a21c17592c1b46c59fb3e19dfa2f
8,926
cc
C++
main/src/Import/save_obj.cc
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
main/src/Import/save_obj.cc
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
main/src/Import/save_obj.cc
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
//#pragma optimize ("", off) #include <import.hh> #include <Geo/vector.hh> #include <PolygonTriangularization/poly_triang.hh> #include <Topology/impl.hh> #include <Topology/iterator.hh> #include <Utils/error_handling.hh> #include <fstream> #include <iomanip> #include <map> #include <set> #include <sstr...
28.157729
100
0.531929
[ "vector" ]
1bc116e18fb0878f59681f47474a2ca6fc7f4641
2,159
cpp
C++
src/mytoggle.cpp
arrufat/json-tui
ed49aa41b6c0d7182ae6d19e3ff10b75905bfa49
[ "MIT" ]
null
null
null
src/mytoggle.cpp
arrufat/json-tui
ed49aa41b6c0d7182ae6d19e3ff10b75905bfa49
[ "MIT" ]
null
null
null
src/mytoggle.cpp
arrufat/json-tui
ed49aa41b6c0d7182ae6d19e3ff10b75905bfa49
[ "MIT" ]
null
null
null
// Copyright 2022 Arthur Sonzogni. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. #include "mytoggle.hpp" #include "ftxui/component/event.hpp" namespace { using namespace ftxui; class MyToggleImpl : public ComponentBase { public: MyToggleIm...
25.104651
78
0.586383
[ "render" ]
1bc88e9ba78765fb2b71eb73ce3a9c1689731a33
1,059
cpp
C++
src/Canvas.cpp
Seizzzz/RayTracer
e8399c311e700ae494a1c353e553d9f0727361a4
[ "MIT" ]
null
null
null
src/Canvas.cpp
Seizzzz/RayTracer
e8399c311e700ae494a1c353e553d9f0727361a4
[ "MIT" ]
null
null
null
src/Canvas.cpp
Seizzzz/RayTracer
e8399c311e700ae494a1c353e553d9f0727361a4
[ "MIT" ]
null
null
null
#include "Canvas.h" #include "Common.h" Canvas::Canvas() { outPPM.open(Common::g_PPMFilePath); } Canvas::~Canvas() { outPPM.close(); } void Canvas::Render(const function<Color(uint32_t&, uint32_t&)>& func) { outPPM << "P3\n" << Common::g_ImageWidth << ' ' << Common::g_ImageHeight << "\n255\n"; for (auto line = 0...
24.627907
87
0.612842
[ "render" ]
1bc98bbd6f33a3c91876285278cdba169678ec82
5,532
cpp
C++
core/src/support/GLUtil.cpp
flyskywhy/GCanvas
b5e0109eedf6f278bde0bd5cbf2b193c8170f101
[ "Apache-2.0" ]
null
null
null
core/src/support/GLUtil.cpp
flyskywhy/GCanvas
b5e0109eedf6f278bde0bd5cbf2b193c8170f101
[ "Apache-2.0" ]
null
null
null
core/src/support/GLUtil.cpp
flyskywhy/GCanvas
b5e0109eedf6f278bde0bd5cbf2b193c8170f101
[ "Apache-2.0" ]
null
null
null
/** * Created by G-Canvas Open Source Team. * Copyright (c) 2017, Alibaba, Inc. All rights reserved. * * This source code is licensed under the Apache Licence 2.0. * For the full copyright and license information, please view * the LICENSE file in the root directory of this source tree. */ #include "GLUtil.h" namespa...
37.127517
98
0.487708
[ "vector" ]
1bc99a04410f557e8d85b29ddab4439216d45d7d
59,842
cpp
C++
LocalizeRCDlg.cpp
yfdyh000/LocalizeRC
630d7ed2720c1326046569c1b4d6f5a40b2dd819
[ "BSD-2-Clause" ]
null
null
null
LocalizeRCDlg.cpp
yfdyh000/LocalizeRC
630d7ed2720c1326046569c1b4d6f5a40b2dd819
[ "BSD-2-Clause" ]
null
null
null
LocalizeRCDlg.cpp
yfdyh000/LocalizeRC
630d7ed2720c1326046569c1b4d6f5a40b2dd819
[ "BSD-2-Clause" ]
null
null
null
// LocalizeRCDlg.cpp : implementation file // #include "stdafx.h" #include "resource.h" #include "IniEx.h" #include "LocalizeRC.h" #include "LocalizeRCDlg.h" #include <math.h> #include <boost/regex/mfc.hpp> #define OLDFILEFORMAT -2 #ifdef _DEBUG #define new DEBUG_NEW #endif //#define _MFC_VER 0x0...
29.580821
159
0.641991
[ "model" ]
1bd6d1788c529e8a1d59ec0a997a2b3e829cf394
32,224
cpp
C++
Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/CChooseLockPassword.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/CChooseLockPassword.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/CChooseLockPassword.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
38.777377
153
0.664319
[ "object" ]
1bd786bcba02de63bdfd56d29047b1599914ed13
95,343
cpp
C++
toonz/sources/common/tvectorimage/tvectorimage.cpp
ericwomer/opentoonz
2467105e4ec0a2a3545efe8d33485c8d78d19e43
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/common/tvectorimage/tvectorimage.cpp
ericwomer/opentoonz
2467105e4ec0a2a3545efe8d33485c8d78d19e43
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/common/tvectorimage/tvectorimage.cpp
ericwomer/opentoonz
2467105e4ec0a2a3545efe8d33485c8d78d19e43
[ "BSD-3-Clause" ]
null
null
null
#include "tcurves.h" //#include "tpalette.h" #include "tvectorimage.h" #include "tvectorimageP.h" #include "tstroke.h" //#include "tgl.h" #include "tvectorrenderdata.h" #include "tmathutil.h" //#include "tdebugmessage.h" #include "tofflinegl.h" //#include "tcolorstyles.h" #include "tpaletteutil.h" #include "tthreadme...
30.795543
100
0.553276
[ "render", "shape", "vector", "transform" ]
1bd9e88754b9b5c66638a63362aed06d9fd93d73
7,447
inl
C++
common/src/partitioning/grid/GridContainer.inl
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
24
2015-10-05T00:13:57.000Z
2020-05-06T20:14:06.000Z
common/src/partitioning/grid/GridContainer.inl
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
1
2019-11-01T08:00:55.000Z
2019-11-01T08:00:55.000Z
common/src/partitioning/grid/GridContainer.inl
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
10
2015-11-25T07:33:13.000Z
2020-03-02T08:21:10.000Z
template<class T> AxisCompare<T>::AxisCompare(std::size_t axisIndex) : axisIndex(axisIndex) { } template<class T> bool AxisCompare<T>::operator() (const T& item1, const T& item2) const { return item1->getGridPosition()[axisIndex] < item2->getGridPosition()[axisIndex]; } template<class T> GridContainer<T...
41.143646
166
0.61743
[ "vector" ]
1bdde70414fdc8e6a2179c3c94daed0edf08d8a1
26,656
hpp
C++
include/System/Net/HttpListenerResponse.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/System/Net/HttpListenerResponse.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/System/Net/HttpListenerResponse.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.IDispos...
53.526104
1,126
0.720176
[ "object", "vector" ]
1bef585268907597bdc4c4e521d765f1dd4e96c8
10,826
cpp
C++
demos/gaze_estimation_demo/cpp_gapi/src/custom_kernels.cpp
kblaszczak-intel/open_model_zoo
e313674d35050d2a4721bbccd9bd4c404f1ba7f8
[ "Apache-2.0" ]
2,201
2018-10-15T14:37:19.000Z
2020-07-16T02:05:51.000Z
demos/gaze_estimation_demo/cpp_gapi/src/custom_kernels.cpp
kblaszczak-intel/open_model_zoo
e313674d35050d2a4721bbccd9bd4c404f1ba7f8
[ "Apache-2.0" ]
759
2018-10-18T07:43:55.000Z
2020-07-16T01:23:12.000Z
demos/gaze_estimation_demo/cpp_gapi/src/custom_kernels.cpp
kblaszczak-intel/open_model_zoo
e313674d35050d2a4721bbccd9bd4c404f1ba7f8
[ "Apache-2.0" ]
808
2018-10-16T14:03:49.000Z
2020-07-15T11:41:45.000Z
// Copyright (C) 2021-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "custom_kernels.hpp" #include <stddef.h> #include <algorithm> #include <cmath> #include <memory> #include <opencv2/gapi/cpu/gcpukernel.hpp> #include <opencv2/imgproc.hpp> #include "kernel_packages.hpp" namespace { void ...
39.510949
118
0.572603
[ "object", "vector" ]
1bf1c8149e1a95db92621d846e1c4eb76971e26f
4,276
cpp
C++
source/Plugins/Language/Swift/ObjCRuntimeSyntheticProvider.cpp
xiaobai/swift-lldb
9238527ce430e6837108a16d2a91b147551fb83c
[ "Apache-2.0" ]
765
2015-12-03T16:44:59.000Z
2022-03-07T12:41:10.000Z
source/Plugins/Language/Swift/ObjCRuntimeSyntheticProvider.cpp
xiaobai/swift-lldb
9238527ce430e6837108a16d2a91b147551fb83c
[ "Apache-2.0" ]
1,815
2015-12-11T23:56:05.000Z
2020-01-10T19:28:43.000Z
source/Plugins/Language/Swift/ObjCRuntimeSyntheticProvider.cpp
xiaobai/swift-lldb
9238527ce430e6837108a16d2a91b147551fb83c
[ "Apache-2.0" ]
284
2015-12-03T16:47:25.000Z
2022-03-12T05:39:48.000Z
//===-- ObjCRuntimeSyntheticProvider.cpp ------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
33.669291
80
0.624181
[ "vector" ]
1bf1fc9f669e0a320253f110be8acf12a3cd3bd1
2,978
hpp
C++
src/interrupt.hpp
balsini/FREDSim
720dc30d4c2f8a51a05ec74584aef352f029c19f
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-05-24T15:20:53.000Z
2020-05-24T15:20:53.000Z
src/interrupt.hpp
balsini/rtlib2.0
720dc30d4c2f8a51a05ec74584aef352f029c19f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/interrupt.hpp
balsini/rtlib2.0
720dc30d4c2f8a51a05ec74584aef352f029c19f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
/*************************************************************************** begin : Thu Apr 24 15:54:58 CEST 2003 copyright : (C) 2003 by Giuseppe Lipari email : lipari@sssup.it ***************************************************************************/ /*********...
28.361905
77
0.543318
[ "vector" ]
1bf295a9cd54c419b18c3362fd1b8b9fc469ac78
21,698
cpp
C++
native/src/Participant.cpp
tha061/DataRing
4ae8466777c5a882b53b387b282ded94aca500e9
[ "MIT" ]
null
null
null
native/src/Participant.cpp
tha061/DataRing
4ae8466777c5a882b53b387b282ded94aca500e9
[ "MIT" ]
null
null
null
native/src/Participant.cpp
tha061/DataRing
4ae8466777c5a882b53b387b282ded94aca500e9
[ "MIT" ]
null
null
null
#include "Participant.h" #include "../public_func.h" /** * @file Participant.cpp * @brief Implementation of Participant's functionality * @author Tham Nguyen tham.nguyen@mq.edu.au, Nam Bui, Data Ring * @date April 2020 */ Participant::Participant() { size_dataset = 0; } Participant::Parti...
27.640764
260
0.555212
[ "vector" ]
1bf39eb5b0843868172d245804f28cdb338db35e
3,048
cpp
C++
src/old/VX_MaterialVoxel.cpp
mertan-a/voxcraft-sim
dfb61f7c8fcc1a4f9277d2fcd98f721d2a6adbf1
[ "CC0-1.0" ]
26
2020-06-27T23:44:45.000Z
2022-02-19T22:31:10.000Z
src/old/VX_MaterialVoxel.cpp
mertan-a/voxcraft-sim
dfb61f7c8fcc1a4f9277d2fcd98f721d2a6adbf1
[ "CC0-1.0" ]
40
2020-06-22T19:42:47.000Z
2021-11-08T15:16:57.000Z
src/old/VX_MaterialVoxel.cpp
mertan-a/voxcraft-sim
dfb61f7c8fcc1a4f9277d2fcd98f721d2a6adbf1
[ "CC0-1.0" ]
9
2020-06-05T16:12:15.000Z
2021-12-01T07:07:55.000Z
/******************************************************************************* Copyright (c) 2015, Jonathan Hiller To cite academic use of Voxelyze: Jonathan Hiller and Hod Lipson "Dynamic Simulation of Soft Multimaterial 3D-Printed Objects" Soft Robotics. March 2014, 1(1): 88-101. Available at http://online.liebertp...
35.034483
242
0.73458
[ "3d" ]
1bf634093772e29fcfc4b850c7672460e45075aa
2,230
cpp
C++
Sources/Internal/Scene3D/Systems/LightUpdateSystem.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-11-14T10:18:24.000Z
2020-11-14T10:18:24.000Z
Sources/Internal/Scene3D/Systems/LightUpdateSystem.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/Scene3D/Systems/LightUpdateSystem.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-09-05T21:16:17.000Z
2020-09-05T21:16:17.000Z
#include "Scene3D/Systems/LightUpdateSystem.h" #include "Scene3D/Entity.h" #include "Scene3D/Components/LightComponent.h" #include "Scene3D/Components/TransformComponent.h" #include "Scene3D/Components/SingleComponents/TransformSingleComponent.h" #include "Render/Highlevel/Frustum.h" #include "Render/Highlevel/Camera.h...
31.408451
150
0.730942
[ "render", "transform" ]
400c803e3f088a8389a9991e2b9ebb1a241f91c9
830
cpp
C++
src/2000/2629.cpp17.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/2000/2629.cpp17.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/2000/2629.cpp17.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> c; bool dp[40001]; int main() { int n; cin>>n; c.resize(n); for(int i=0; i<n; i++) { cin>>c[i]; } dp[0]=1; queue<int> Q; Q.push(0); for(int i=0; i<n; i++) { for(int size=Q.size(); size--;) { int cur=Q.front(); Q.pop(); Q.push(cur); ...
13.174603
47
0.463855
[ "vector" ]
400fd1f76d65ba6657140e92458eadca2d21e164
2,212
cpp
C++
Codeforces/1401/d.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
14
2019-08-14T00:43:10.000Z
2021-12-16T05:43:31.000Z
Codeforces/1401/d.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
null
null
null
Codeforces/1401/d.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
6
2020-12-30T03:30:17.000Z
2022-03-11T03:40:02.000Z
#include <bits/stdc++.h> #define f first #define s second using namespace std; typedef long long ll; typedef vector<ll> vi; typedef pair<ll, ll> pii; template <typename T1, typename T2> ostream &operator <<(ostream &os, pair<T1, T2> p){os << p.first << " " << p.second; return os;} template <typename T> ostream &opera...
25.425287
101
0.438969
[ "vector" ]
4017faa2047d76983e93d46bd3bc411c0c40fa6d
584
cpp
C++
LeetCode/970.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
LeetCode/970.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
LeetCode/970.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { public: int pow(int x,int k) { int ret = 1; for(int i=0;i<k;i++) ret = ret*x; return ret; } vector<int> powerfulIntegers(int x, int y, int bound) { //bound最大1000000 //2的20次方大于这个数 int xval, yval; set<int> st; for(int i=0;i<20 && (xval=pow(x,i))<bound;i++) for(int j=0;j<20 &&...
20.137931
59
0.563356
[ "vector" ]
401860c57a4ad0c308f14f11c3b2366924d112ec
2,966
hpp
C++
caffe/include/caffe/util/octree_parser.hpp
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
299
2019-05-27T02:18:56.000Z
2022-03-31T15:29:20.000Z
caffe/include/caffe/util/octree_parser.hpp
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
100
2019-05-07T03:17:01.000Z
2022-03-30T09:02:04.000Z
caffe/include/caffe/util/octree_parser.hpp
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
84
2019-05-17T17:44:06.000Z
2022-02-14T04:32:02.000Z
#ifndef CAFFE_UTIL_OCTREE_PARSER_ #define CAFFE_UTIL_OCTREE_PARSER_ #include <vector> #include <string> #include "caffe/util/octree_info.hpp" using std::vector; using std::string; namespace caffe { class OctreeParser { public: typedef unsigned int uint32; typedef unsigned long long uint64; typedef OctreeInf...
33.704545
69
0.74646
[ "vector" ]
40195378b453dffb604f8271d171ef8cc8e3fb03
17,404
cpp
C++
neon/Helium/HeliumForWindows/Implementation/Plugins/PB_ImageCapture_PLG/PBPlugin.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
neon/Helium/HeliumForWindows/Implementation/Plugins/PB_ImageCapture_PLG/PBPlugin.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
neon/Helium/HeliumForWindows/Implementation/Plugins/PB_ImageCapture_PLG/PBPlugin.cpp
watusi/rhodes
07161cca58ff6a960bbd1b79b36447b819bfa0eb
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
#include "stdafx.h" #include "../../common/public/pbplugin.h" #include <windows.h> #pragma once #pragma region ClassMembers //////////////////////////////////////////////////////////////////////////////// /// Function: PBModule /// Description: Sets the Module count variable and copies the default name "Abstract" ...
30.426573
139
0.597794
[ "object" ]
401efdf96198001286225b91d70a96ad656477f0
553
cpp
C++
dynamic-programming/maximumSubarray.cpp
pg-thakur/data-structure-and-algorithms
59712df30d5d887e1d18a369019b424b2b8dc9e9
[ "Apache-2.0" ]
null
null
null
dynamic-programming/maximumSubarray.cpp
pg-thakur/data-structure-and-algorithms
59712df30d5d887e1d18a369019b424b2b8dc9e9
[ "Apache-2.0" ]
2
2020-10-04T06:39:24.000Z
2020-10-18T10:37:31.000Z
dynamic-programming/maximumSubarray.cpp
pg-thakur/data-structure-and-algorithms
59712df30d5d887e1d18a369019b424b2b8dc9e9
[ "Apache-2.0" ]
1
2020-10-05T07:40:03.000Z
2020-10-05T07:40:03.000Z
//Given an integer array nums, find the contiguous subarray //(containing at least one number) which has the largest sum and return its sum. //A subarray is a contiguous part of an array. // @author: Prashant Gaurav #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; vector<int> num...
18.433333
80
0.571429
[ "vector" ]
40249652797825a27cd0188e03acfce1ebd4993e
591
cpp
C++
_codeforces/501B/501b.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
11
2015-08-29T13:41:22.000Z
2020-01-08T20:34:06.000Z
_codeforces/501B/501b.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
null
null
null
_codeforces/501B/501b.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
5
2016-01-20T18:17:01.000Z
2019-10-30T11:57:15.000Z
#include <string> #include <iostream> #include <fstream> #include <vector> #include <map> using namespace std; map<string, int> idx; map<int, string> aux, last; int main() { #ifndef ONLINE_JUDGE freopen("501b.in", "r", stdin); freopen("501b.out", "w", stdout); #endif int n; cin >> n; int users = 0; for(int i...
16.416667
43
0.519459
[ "vector" ]
4028c18038fb668d5db6d0c006386f77d7b4d473
33,245
cpp
C++
tools/SeekTest/SeekTest.cpp
FunctionLab/sleipnir
6f74986ef03cb2df8deee1077ae180391557403a
[ "CC-BY-3.0" ]
1
2021-03-21T23:17:12.000Z
2021-03-21T23:17:12.000Z
tools/SeekTest/SeekTest.cpp
FunctionLab/sleipnir
6f74986ef03cb2df8deee1077ae180391557403a
[ "CC-BY-3.0" ]
4
2021-03-26T13:56:59.000Z
2022-03-30T21:38:06.000Z
tools/SeekTest/SeekTest.cpp
FunctionLab/sleipnir
6f74986ef03cb2df8deee1077ae180391557403a
[ "CC-BY-3.0" ]
null
null
null
/***************************************************************************** * This file is provided under the Creative Commons Attribution 3.0 license. * * You are free to share, copy, distribute, transmit, or adapt this work * PROVIDED THAT you attribute the work to the authors listed below. * For more information,...
33.682877
115
0.502662
[ "vector" ]
403041ad1d21fb1893fd40538f3425ce5bc6622e
6,821
cpp
C++
indra/newview/llhudeffecttrail.cpp
SaladDais/LLUDP-Encryption
8a426cd0dd154e1a10903e0e6383f4deb2a6098a
[ "ISC" ]
1
2022-01-29T07:10:03.000Z
2022-01-29T07:10:03.000Z
indra/newview/llhudeffecttrail.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
null
null
null
indra/newview/llhudeffecttrail.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
1
2021-10-01T22:22:27.000Z
2021-10-01T22:22:27.000Z
/** * @file llhudeffecttrail.cpp * @brief LLHUDEffectSpiral class implementation * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of th...
24.017606
120
0.709867
[ "render", "object" ]
4030ac9644993f3c0a5759747c8b6b60bbd60791
1,176
cpp
C++
filters/src/filter_plane.cpp
utarvl/core
6720f254e202d2bc4b6a6a02915635a76ab9d7e9
[ "Apache-2.0" ]
2
2019-06-09T08:27:45.000Z
2019-09-22T20:55:50.000Z
filters/src/filter_plane.cpp
utarvl/core
6720f254e202d2bc4b6a6a02915635a76ab9d7e9
[ "Apache-2.0" ]
null
null
null
filters/src/filter_plane.cpp
utarvl/core
6720f254e202d2bc4b6a6a02915635a76ab9d7e9
[ "Apache-2.0" ]
null
null
null
/* * Cloud-based Object Recognition Engine (CORE) * */ #include <core/filters/filter_plane.h> int filterPlaneModel (pcl::PointCloud<pcl::PointXYZRGB>::Ptr &cloud, float distance) { Eigen::VectorXf planecoeffs, coeffs; pcl::PointIndices::Ptr inliers (new pcl::PointIndices); pcl::SampleConsensusModelPlane<...
29.4
80
0.740646
[ "object" ]
4031c559698a51387b6bbdc7514ac0f403bac590
2,537
cc
C++
ui/base/idle/idle_android.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ui/base/idle/idle_android.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
ui/base/idle/idle_android.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/idle/idle.h" #include "base/android/jni_string.h" #include "base/android/scoped_java_ref.h" #include "base/memory/singleton.h" #include...
28.829545
77
0.733544
[ "object" ]
40379114da70e989673c4195e50635e9c1323777
951
cpp
C++
Problems/Array/MonotoneArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Problems/Array/MonotoneArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Problems/Array/MonotoneArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; bool isMonotonic(vector<int>& A) { bool flag = true; A.erase(unique(A.begin(),A.end()),A.end()); if(A.size()==1){ return true; } if(A[0]>=A[1]){ for(int i=1;i<A.size()-1;i++){ ...
23.775
51
0.410095
[ "vector" ]
403ea47f4e61b5c893d882168ff6f985bf95406d
6,343
cc
C++
src/arith/domain_touched.cc
driazati/tvm
b76c817986040dc070d215cf32523d9b2adc8e8b
[ "Apache-2.0" ]
1
2021-12-13T22:07:00.000Z
2021-12-13T22:07:00.000Z
src/arith/domain_touched.cc
driazati/tvm
b76c817986040dc070d215cf32523d9b2adc8e8b
[ "Apache-2.0" ]
7
2022-02-17T23:04:46.000Z
2022-03-31T22:22:55.000Z
src/arith/domain_touched.cc
driazati/tvm
b76c817986040dc070d215cf32523d9b2adc8e8b
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
33.209424
100
0.689421
[ "vector" ]
4041461a57c1cc70885035fc628b9a14d4baa832
6,537
cpp
C++
CppProject5_3D/CppProject5/src/models/ModelBank.cpp
Damoy/Tower3D
a6f1ec9fd5e7c26ade5528828cc576f5ed45394a
[ "MIT" ]
1
2019-08-25T03:04:35.000Z
2019-08-25T03:04:35.000Z
CppProject5_3D/CppProject5/src/models/ModelBank.cpp
Damoy/Tower3D
a6f1ec9fd5e7c26ade5528828cc576f5ed45394a
[ "MIT" ]
null
null
null
CppProject5_3D/CppProject5/src/models/ModelBank.cpp
Damoy/Tower3D
a6f1ec9fd5e7c26ade5528828cc576f5ed45394a
[ "MIT" ]
null
null
null
#include "ModelBank.h" #include "loaders\ModelLoader.h" #include "gameEngine\Configs.h" namespace ModelBank { namespace Textures { const char* GREEN_TEXTURE_128x128 = "res/textures/green_128x128.png"; const char* GREEN_TEXTURE_16x16 = "res/textures/green_16x16.png"; const char* GLASS_TEXTURE_64x64 = "res/textu...
28.545852
227
0.672327
[ "model" ]
4044e0399af9e4db38781821d142292ea92b2554
29,900
cc
C++
c++/test/TestReader.cc
PengleiShi/orc
6b69228f52f13e33f0bdb35a84dd9902b7a969f9
[ "Apache-2.0" ]
null
null
null
c++/test/TestReader.cc
PengleiShi/orc
6b69228f52f13e33f0bdb35a84dd9902b7a969f9
[ "Apache-2.0" ]
null
null
null
c++/test/TestReader.cc
PengleiShi/orc
6b69228f52f13e33f0bdb35a84dd9902b7a969f9
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
44.230769
100
0.711003
[ "vector" ]
404b2c13cdd5f8d06c09f87a654c984059ca1e05
10,657
cc
C++
onnxruntime/core/optimizer/dynamic_quantize_matmul_fusion.cc
sriduth/onnxruntime
b2da700e4d953239833e40f9a1b39b15936cc6dd
[ "MIT" ]
1
2020-10-21T11:54:26.000Z
2020-10-21T11:54:26.000Z
onnxruntime/core/optimizer/dynamic_quantize_matmul_fusion.cc
sriduth/onnxruntime
b2da700e4d953239833e40f9a1b39b15936cc6dd
[ "MIT" ]
null
null
null
onnxruntime/core/optimizer/dynamic_quantize_matmul_fusion.cc
sriduth/onnxruntime
b2da700e4d953239833e40f9a1b39b15936cc6dd
[ "MIT" ]
1
2020-09-11T02:23:48.000Z
2020-09-11T02:23:48.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "dynamic_quantize_matmul_fusion.h" #include "core/graph/graph_utils.h" #include "core/optimizer/initializer.h" #include "core/optimizer/utils.h" #include <deque> using namespace ONNX_NAMESPACE; using namespace ::...
45.738197
151
0.522943
[ "shape", "vector" ]
404b395c96d85975a3450f952d821cfc7a42f709
19,938
cc
C++
onnxruntime/contrib_ops/cpu/tokenizer.cc
CaseyCarter/onnxruntime
4cc7121368a033ec0d2925c0dfcd6de1774fdd9c
[ "MIT" ]
null
null
null
onnxruntime/contrib_ops/cpu/tokenizer.cc
CaseyCarter/onnxruntime
4cc7121368a033ec0d2925c0dfcd6de1774fdd9c
[ "MIT" ]
null
null
null
onnxruntime/contrib_ops/cpu/tokenizer.cc
CaseyCarter/onnxruntime
4cc7121368a033ec0d2925c0dfcd6de1774fdd9c
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/common/common.h" #include "core/framework/tensor.h" #include "core/framework/op_kernel.h" #include "core/graph/onnx_protobuf.h" #include "onnx/defs/schema.h" #include "core/common/utf8_util.h" #include "re2/...
30.579755
111
0.630454
[ "shape", "vector" ]
4050b1675c942a8ae01839e319fca56b077bd926
389
cpp
C++
0-course1/02-week/0-SortingIntegersModulo.cpp
mamoudmatook/CPlusPlusInRussian
ef1f92e4880f24fe16fbcbef8dba3a2658d2208e
[ "MIT" ]
null
null
null
0-course1/02-week/0-SortingIntegersModulo.cpp
mamoudmatook/CPlusPlusInRussian
ef1f92e4880f24fe16fbcbef8dba3a2658d2208e
[ "MIT" ]
null
null
null
0-course1/02-week/0-SortingIntegersModulo.cpp
mamoudmatook/CPlusPlusInRussian
ef1f92e4880f24fe16fbcbef8dba3a2658d2208e
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; bool compare(int x, int y) { return abs(x) < abs(y); } int main() { int n; cin >> n; vector<int> nums(n); for(auto &i: nums) { cin >> i; }; sort(nums.begin(),nums.end(), compare); for (const aut...
14.961538
43
0.503856
[ "vector" ]
40513f8da14c75075e331b7a69f41769b71a64fa
9,815
cpp
C++
src/mimic_renderer.cpp
kahuz/3d-mimic
94a17926302eb23a6de28a863577b6f506e723b1
[ "MIT" ]
null
null
null
src/mimic_renderer.cpp
kahuz/3d-mimic
94a17926302eb23a6de28a863577b6f506e723b1
[ "MIT" ]
null
null
null
src/mimic_renderer.cpp
kahuz/3d-mimic
94a17926302eb23a6de28a863577b6f506e723b1
[ "MIT" ]
null
null
null
// user header #include "mimic_renderer.h" #include "mimic_ui.h" #include "Logger.h" using namespace std; static GLFWwindow *window = NULL; static void glfw_error_callback(int error, const char* description) { fprintf(stderr, "Glfw Error %d: %s\n", error, description); } bool InitRenderContext() { // Setup...
33.047138
182
0.542944
[ "render", "object" ]
4053fd48014b8a51ec0bf749ffc4edee002570e8
3,930
cpp
C++
Cpp/fost-core/string-ascii.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
2
2016-05-25T22:17:38.000Z
2019-04-02T08:34:17.000Z
Cpp/fost-core/string-ascii.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
5
2018-07-13T10:43:05.000Z
2019-09-02T14:54:42.000Z
Cpp/fost-core/string-ascii.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
1
2020-10-22T20:44:24.000Z
2020-10-22T20:44:24.000Z
/** Copyright 2009-2019 Red Anchor Trading Co. Ltd. Distributed under the Boost Software License, Version 1.0. See <http://www.boost.org/LICENSE_1_0.txt> */ #include "fost-core.hpp" #include <fost/detail/hex.hpp> #include <fost/insert.hpp> #include <fost/unicode.hpp> #include <fost/exception/not_implem...
32.75
81
0.646565
[ "vector" ]
4063586f682bc2871f6f280860db930ea73c4f04
2,788
cpp
C++
tightvnc/desktop/Win32ScreenDriverBaseImpl.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
47
2016-08-17T03:18:32.000Z
2022-01-14T01:33:15.000Z
tightvnc/desktop/Win32ScreenDriverBaseImpl.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
3
2018-06-29T06:13:28.000Z
2020-11-26T02:31:49.000Z
tightvnc/desktop/Win32ScreenDriverBaseImpl.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
15
2016-08-17T07:03:55.000Z
2021-08-02T14:42:02.000Z
// Copyright (C) 2011,2012 GlavSoft LLC. // All rights reserved. // //------------------------------------------------------------------------- // This file is part of the TightVNC software. Please visit our Web site: // // http://www.tightvnc.com/ // // This program is free software; you can red...
32.045977
89
0.690818
[ "shape" ]
40643f268bcdb5dfac984bd77abb8e12bb644a3d
5,490
cpp
C++
test/geoindex_test.cpp
KevinStern/index-cpp
42ae81cec1fb6f65376f7e818925233b0e4b783e
[ "MIT" ]
63
2015-01-15T19:47:47.000Z
2022-03-16T02:55:01.000Z
test/geoindex_test.cpp
KevinStern/index-cpp
42ae81cec1fb6f65376f7e818925233b0e4b783e
[ "MIT" ]
null
null
null
test/geoindex_test.cpp
KevinStern/index-cpp
42ae81cec1fb6f65376f7e818925233b0e4b783e
[ "MIT" ]
18
2015-08-17T15:15:36.000Z
2019-06-02T07:00:06.000Z
/* Copyright (c) 2013 Kevin L. Stern * * 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...
38.125
98
0.723315
[ "vector" ]
4067f7fddca9aa127df1c981abf1bad471667dad
1,207
cpp
C++
test/dmsorttest/dmsorttest.cpp
brinkqiang/dmcpp
9be9d3675b20879d5335fabc231b4e5d26208786
[ "MIT" ]
null
null
null
test/dmsorttest/dmsorttest.cpp
brinkqiang/dmcpp
9be9d3675b20879d5335fabc231b4e5d26208786
[ "MIT" ]
null
null
null
test/dmsorttest/dmsorttest.cpp
brinkqiang/dmcpp
9be9d3675b20879d5335fabc231b4e5d26208786
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include <string> #include <type_traits> #include <variant> #include <vector> #include <algorithm> // test git patch class player { public: player(int nLevel, int nAge) : m_nLevel(nLevel), m_nAge(nAge) { } int get_level() { return m_nLevel; ...
20.810345
85
0.573322
[ "vector" ]
406999ecad9a6cc4185ba8bfefae29a93df0eca8
2,695
cpp
C++
OJ/11813/11813.cpp
albertored11/PCOM-Problems
018abf1870e9189c2e369e0864596a3678eb8e25
[ "MIT" ]
null
null
null
OJ/11813/11813.cpp
albertored11/PCOM-Problems
018abf1870e9189c2e369e0864596a3678eb8e25
[ "MIT" ]
null
null
null
OJ/11813/11813.cpp
albertored11/PCOM-Problems
018abf1870e9189c2e369e0864596a3678eb8e25
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <climits> #include <vector> #include <iomanip> #include <queue> // Cola de mayor a menor por defecto en priority #include <algorithm> #include <cstring> #include <cmath> #include <string> #include <list> #include <stack> #include <map> #include <set> #include <unordered_ma...
21.388889
78
0.505751
[ "vector" ]
40706f6b4e1d59c737d2948fe808f9d178025200
2,260
cpp
C++
Measure/main.cpp
Colin-Orian/HAPI-GPU
acd9af0728fc7b01a81cff57d0f0966a9f9bbba5
[ "MIT" ]
null
null
null
Measure/main.cpp
Colin-Orian/HAPI-GPU
acd9af0728fc7b01a81cff57d0f0966a9f9bbba5
[ "MIT" ]
null
null
null
Measure/main.cpp
Colin-Orian/HAPI-GPU
acd9af0728fc7b01a81cff57d0f0966a9f9bbba5
[ "MIT" ]
null
null
null
/******************************************** * * test * * Test program for the HAPI library. * ********************************************/ #define _USE_MATH_DEFINES #include <math.h> #include "HAPI.h" #include <stdio.h> #include "Matrix.h" #include <vector> int main(int argc, char **argv) { Node ...
25.977011
70
0.54823
[ "vector" ]
4085120ff8e2f034646519debac109c5aa2fe8ea
3,099
hpp
C++
include/tikpp/request.hpp
aymanalqadhi/tikpp
8e94abdc4ac8c85dd893780ad4256cdd6690a758
[ "Apache-2.0" ]
4
2021-02-07T08:21:10.000Z
2022-01-16T04:33:18.000Z
include/tikpp/request.hpp
xSHAD0Wx/tikpp
8e94abdc4ac8c85dd893780ad4256cdd6690a758
[ "Apache-2.0" ]
null
null
null
include/tikpp/request.hpp
xSHAD0Wx/tikpp
8e94abdc4ac8c85dd893780ad4256cdd6690a758
[ "Apache-2.0" ]
3
2020-10-18T20:00:38.000Z
2022-03-22T09:04:46.000Z
#ifndef TIKPP_REQUEST_HPP #define TIKPP_REQUEST_HPP #include "tikpp/sentence.hpp" #include "fmt/format.h" #include <cstdint> #include <string> #include <vector> namespace tikpp { namespace detail { template <typename T, std::size_t size = sizeof(T)> inline void append_uint(const T &val, std::vector<std::uint8_t> ...
28.431193
80
0.596644
[ "vector" ]
408c485802ae81b39de30f9449b705d2a723cbe3
1,434
cpp
C++
cpp/problems/39_Combination_Sum/solution.cpp
zerdzhong/LeetCode
a293a4ae3ac32f416c5361f386d027f558a67954
[ "MIT" ]
null
null
null
cpp/problems/39_Combination_Sum/solution.cpp
zerdzhong/LeetCode
a293a4ae3ac32f416c5361f386d027f558a67954
[ "MIT" ]
null
null
null
cpp/problems/39_Combination_Sum/solution.cpp
zerdzhong/LeetCode
a293a4ae3ac32f416c5361f386d027f558a67954
[ "MIT" ]
null
null
null
// // Created by zhongzhendong on 2018-12-28. // #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <vector> using namespace std; /* https://leetcode.com/problems/combination-sum/ */ class Solution { public: vector<vector<int>> combinationSum(vector<int>& candidates, int target) { vect...
22.061538
77
0.540446
[ "vector" ]
408e8cd25653029812e313e905bf816a9e310774
3,073
cpp
C++
src/bill.cpp
Thavarshan/vigaro
697df33eb29e4fdf40aad96d3c30c0b90c82c158
[ "MIT" ]
3
2021-07-22T03:00:53.000Z
2021-08-07T09:52:53.000Z
src/bill.cpp
Thavarshan/vigaro
697df33eb29e4fdf40aad96d3c30c0b90c82c158
[ "MIT" ]
5
2021-03-01T12:01:01.000Z
2021-03-04T17:14:39.000Z
src/bill.cpp
Thavarshan/vigaro
697df33eb29e4fdf40aad96d3c30c0b90c82c158
[ "MIT" ]
1
2021-04-09T20:29:11.000Z
2021-04-09T20:29:11.000Z
/** * @file bill.cpp * @author Thavarshan Thayananthajothy (tjthavarshan@gmail.com) <CL/HDCSE/95/15> * @brief Rathnayaka GYMS Application (ICBT Batch 95 - Programming Fundamentals Assignment). * @version 2.6.2 * @date 2021-04-16 * * @copyright Copyright (c) 2021 * */ #include "include/details.h" #include <ios...
35.321839
110
0.677514
[ "vector" ]
4099f4be38a41a3cf20e68a1803f0349395f6fab
16,371
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/string.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/string.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
null
null
null
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/string.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
6
2021-07-03T07:56:56.000Z
2022-02-14T15:28:23.000Z
// OpenVPN -- An application to securely tunnel IP networks // over a single port, with support for SSL/TLS-based // session authentication and key exchange, // packet encryption, packet authentication, and // packet compression. // // Copyright (C) 2012-201...
25.070444
94
0.594221
[ "vector" ]
409a67b37efc4a797f078df98b196d783f62b221
1,590
hpp
C++
src/metal-filesystem-pipeline/include/metal-filesystem-pipeline/metal_pipeline_storage.hpp
metalfs/metal_fs
f244d4125622849f36bd7846881a5f3a7efca188
[ "MIT" ]
12
2020-04-21T05:21:32.000Z
2022-02-19T11:27:18.000Z
src/metal-filesystem-pipeline/include/metal-filesystem-pipeline/metal_pipeline_storage.hpp
metalfs/metal_fs
f244d4125622849f36bd7846881a5f3a7efca188
[ "MIT" ]
10
2019-02-10T17:10:16.000Z
2020-02-01T20:05:42.000Z
src/metal-filesystem-pipeline/include/metal-filesystem-pipeline/metal_pipeline_storage.hpp
metalfs/metal_fs
f244d4125622849f36bd7846881a5f3a7efca188
[ "MIT" ]
4
2020-07-15T04:42:20.000Z
2022-02-19T11:27:19.000Z
#pragma once #include <metal-filesystem-pipeline/metal-filesystem-pipeline_api.h> #include <map> #include <memory> #include <vector> #include <metal-filesystem/metal.h> #include <metal-filesystem-pipeline/filesystem_context.hpp> #include <metal-pipeline/card.hpp> #include <metal-pipeline/fpga_interface.hpp> namespa...
29.444444
78
0.755975
[ "vector" ]
409e6c60e8db6262b47137cc059db2d947d9d6f5
14,641
cc
C++
runtime/bin/elf_loader.cc
jtlapp/sdk
0bca6aaf106b1d2752df8134d745743d52b6a78b
[ "BSD-3-Clause" ]
2
2019-11-06T13:44:11.000Z
2019-11-17T06:49:40.000Z
runtime/bin/elf_loader.cc
jtlapp/sdk
0bca6aaf106b1d2752df8134d745743d52b6a78b
[ "BSD-3-Clause" ]
1
2021-01-21T14:45:59.000Z
2021-01-21T14:45:59.000Z
runtime/bin/elf_loader.cc
jtlapp/sdk
0bca6aaf106b1d2752df8134d745743d52b6a78b
[ "BSD-3-Clause" ]
1
2019-12-06T19:09:33.000Z
2019-12-06T19:09:33.000Z
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include <bin/elf_loader.h> #include <bin/file.h> #include <platform/elf.h> #include <platform/globals....
36.420398
80
0.630148
[ "object" ]
40a150067302e01c8871e955dec251da6aa176ad
21,949
cxx
C++
base/fs/utils/untfs/src/ntfsbit.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/fs/utils/untfs/src/ntfsbit.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/fs/utils/untfs/src/ntfsbit.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1991-2000 Microsoft Corporation Module Name: ntfsbit.cxx Abstract: This module contains the declarations for NTFS_BITMAP, which models the bitmap of an NTFS volume, and MFT_BITMAP, which models the bitmap for the Master File Table. Author: Bill McJohn (billm...
25.611435
105
0.543988
[ "object" ]
40a35550d76365ada5a1ec8837f985629b4a1d47
54,736
cpp
C++
src/main.cpp
rohankumardubey/HybridRendering
509f768cddb705afd26a639e3440240357b6b009
[ "MIT" ]
224
2020-04-20T03:42:54.000Z
2022-01-04T16:08:48.000Z
src/main.cpp
rohankumardubey/HybridRendering
509f768cddb705afd26a639e3440240357b6b009
[ "MIT" ]
7
2020-02-17T10:33:15.000Z
2021-12-09T21:58:16.000Z
src/main.cpp
rohankumardubey/HybridRendering
509f768cddb705afd26a639e3440240357b6b009
[ "MIT" ]
13
2020-07-03T13:39:52.000Z
2021-12-11T08:50:42.000Z
#include <application.h> #include <camera.h> #include <profiler.h> #include <assimp/scene.h> #include <equirectangular_to_cubemap.h> #include <ImGuizmo.h> #include <math.h> #define GLM_ENABLE_EXPERIMENTAL #include <gtx/matrix_decompose.hpp> #include <gtc/quaternion.hpp> #include "g_buffer.h" #include "deferred_shading....
46.035324
494
0.494391
[ "render" ]
40a50c80528fcc8a82b3001e28b5e4d64b0e111e
2,894
cpp
C++
spline.cpp
jimchan932/guassEliminationForSpline
3deefc11b7923d1c88f779523af843a243e932bd
[ "Apache-2.0" ]
null
null
null
spline.cpp
jimchan932/guassEliminationForSpline
3deefc11b7923d1c88f779523af843a243e932bd
[ "Apache-2.0" ]
null
null
null
spline.cpp
jimchan932/guassEliminationForSpline
3deefc11b7923d1c88f779523af843a243e932bd
[ "Apache-2.0" ]
1
2021-11-03T13:53:43.000Z
2021-11-03T13:53:43.000Z
#include <iostream> #include <vector> //#include "tridiag.h" #define MAXSIZE 100 using namespace std; //#define gamma 234 // solve for x void tridiag(double* a, double* b, double* c, double* r, double* u , int n) { int j; double bet; double *gam = new double[n]; u[0] = r[0] / (bet = b[0]); for(j = 1; j < n...
19.687075
77
0.516586
[ "vector" ]
40a605af29f5bac401e6fc9d9c2a9f7200d012b9
6,270
cpp
C++
src/brminterface.cpp
kimuras/broomie
4ec89753f049c452790e70c4d0744b6b689ac60d
[ "BSD-3-Clause" ]
null
null
null
src/brminterface.cpp
kimuras/broomie
4ec89753f049c452790e70c4d0744b6b689ac60d
[ "BSD-3-Clause" ]
null
null
null
src/brminterface.cpp
kimuras/broomie
4ec89753f049c452790e70c4d0744b6b689ac60d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2009 Shunya Kimura <brmtrain@gmail.com> * All Rights Reserved. * * Use and distribution of this program is licensed under the * BSD license. See the COPYING file for full text. */ #include "brmalgorithm.hpp" #include "brmutil.hpp" #include <math.h> #include <iterator> #include <fcgi_stdio.h> ...
27.379913
78
0.532376
[ "vector" ]
40a904c92f2d570d3d42c5dea12623a4b045d6d6
7,311
cc
C++
compiler/mcr_cc/llvm/llvm_intrinsics.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
20
2021-06-24T16:38:42.000Z
2022-01-20T16:15:57.000Z
compiler/mcr_cc/llvm/llvm_intrinsics.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
null
null
null
compiler/mcr_cc/llvm/llvm_intrinsics.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
4
2021-11-03T06:01:12.000Z
2022-02-24T02:57:31.000Z
/** * Copyright (C) 2021 Paschalis Mpeis (paschalis.mpeis-AT-gmail.com) * * 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 * * Unles...
30.08642
82
0.694023
[ "vector" ]
40aa52cb5f791cf5822653d5dd623ed60edba82f
5,825
cpp
C++
src/smartpeak/source/core/RawDataProcessors/CalculateIsotopicPurities.cpp
dmccloskey/SmartPeak2
d3b42a938b225973117ddd4f9f5e5016034c09be
[ "MIT" ]
7
2020-07-16T02:51:26.000Z
2020-10-17T11:20:35.000Z
src/smartpeak/source/core/RawDataProcessors/CalculateIsotopicPurities.cpp
dmccloskey/SmartPeak2
d3b42a938b225973117ddd4f9f5e5016034c09be
[ "MIT" ]
5
2020-08-02T20:18:31.000Z
2020-12-01T13:37:49.000Z
src/smartpeak/source/core/RawDataProcessors/CalculateIsotopicPurities.cpp
dmccloskey/SmartPeak2
d3b42a938b225973117ddd4f9f5e5016034c09be
[ "MIT" ]
1
2020-07-25T07:41:22.000Z
2020-07-25T07:41:22.000Z
// -------------------------------------------------------------------------- // SmartPeak -- Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing // -------------------------------------------------------------------------- // Copyright The SmartPeak Team -- Novo Nordisk Foundation // Center for Biosustainabil...
40.734266
240
0.649099
[ "vector" ]
40b179e8cb234a29a56d4d1678f8c62833ce5f54
200
cpp
C++
apps/app2/app.cpp
phiwen96/Phan
61bd47d57dc6d0e7a92c6e9db676f5d76ed8edb4
[ "Apache-2.0" ]
3
2021-03-15T12:57:32.000Z
2021-03-15T15:34:07.000Z
apps/app2/app.cpp
phiwen96/Phan
61bd47d57dc6d0e7a92c6e9db676f5d76ed8edb4
[ "Apache-2.0" ]
null
null
null
apps/app2/app.cpp
phiwen96/Phan
61bd47d57dc6d0e7a92c6e9db676f5d76ed8edb4
[ "Apache-2.0" ]
1
2021-03-15T13:36:21.000Z
2021-03-15T13:36:21.000Z
#include <iostream> #include <vector> #include <tuple> using namespace std; int main() { std::vector<double> input = {1.2, 2.3, 3.4, 4.5}; cout << "hello world" << endl; return 0; }
12.5
53
0.585
[ "vector" ]
40bb7632c8d0e2006c900658d45d2fe1cca18f5e
6,257
cpp
C++
Presentation/Section/Dockage.cpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
Presentation/Section/Dockage.cpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
Presentation/Section/Dockage.cpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------------ Copyright 2021 Garmin Ltd. or its subsidiaries. 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.apach...
35.151685
100
0.516382
[ "object", "vector" ]
8add15564b7ddef6c66faef5ca4c5245b288874d
922
cpp
C++
CI1-16/src/Postman.cpp
pemesteves/AEDA_1819-exercises
c8158547a53865c3910e420208b853579d0971c6
[ "MIT" ]
2
2018-11-28T10:59:27.000Z
2018-12-21T14:33:12.000Z
CI1-16/src/Postman.cpp
pemesteves/AEDA_1819-exercises
c8158547a53865c3910e420208b853579d0971c6
[ "MIT" ]
null
null
null
CI1-16/src/Postman.cpp
pemesteves/AEDA_1819-exercises
c8158547a53865c3910e420208b853579d0971c6
[ "MIT" ]
1
2018-11-18T23:41:41.000Z
2018-11-18T23:41:41.000Z
/* * Postman.cpp */ #include "Postman.h" unsigned int Postman::nId = 0; Postman::Postman(): id(0){}; Postman::Postman(string name): id(++nId){ this->name = name; } void Postman::setName(string nm){ name = nm; } string Postman::getName() const{ return name; } vector<Mail *> Postman::getMail() const { return...
17.074074
55
0.644252
[ "vector" ]
8ae75cceac9bd64b651683283302b9df9145cbe3
8,990
cc
C++
tests/round_robin.cc
alionurdemetoglu/gearmand
dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22
[ "BSD-3-Clause" ]
712
2016-07-02T03:32:22.000Z
2022-03-23T14:23:02.000Z
tests/round_robin.cc
alionurdemetoglu/gearmand
dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22
[ "BSD-3-Clause" ]
294
2016-07-03T16:17:41.000Z
2022-03-30T04:37:49.000Z
tests/round_robin.cc
alionurdemetoglu/gearmand
dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22
[ "BSD-3-Clause" ]
163
2016-07-08T10:03:38.000Z
2022-01-21T05:03:48.000Z
/* Gearman server and library * Copyright (C) 2008 Brian Aker, Eric Day * All rights reserved. * * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. */ #include "gear_config.h" #include <libtest/test.hpp> using namespace libtest; #include <casse...
22.875318
92
0.622914
[ "object" ]
8aea6e174ecfd6b0947fceb0586bd71cdfa66935
4,247
cc
C++
src/attributes/OdaGeoDecoderWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/OdaGeoDecoderWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/OdaGeoDecoderWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
29.699301
129
0.739581
[ "object" ]
8aeb41b690e5dc6890c57d62e05f2d6269c80531
17,217
cpp
C++
DiligentTools/Imgui/src/ImGuiImplDiligent.cpp
Romanovich1311/DEngine-pcsx4
65d28b15e9428d77963de95412aaceeb5930d29d
[ "Apache-2.0" ]
15
2021-07-03T17:20:50.000Z
2022-03-20T23:39:09.000Z
DiligentTools/Imgui/src/ImGuiImplDiligent.cpp
Romanovich1311/DEngine-pcsx4
65d28b15e9428d77963de95412aaceeb5930d29d
[ "Apache-2.0" ]
1
2021-08-09T15:10:17.000Z
2021-09-30T06:47:04.000Z
DiligentTools/Imgui/src/ImGuiImplDiligent.cpp
Romanovich1311/DEngine-pcsx4
65d28b15e9428d77963de95412aaceeb5930d29d
[ "Apache-2.0" ]
9
2021-07-21T10:53:59.000Z
2022-03-03T10:27:33.000Z
/* * Copyright 2019-2020 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
35.645963
144
0.644595
[ "render" ]
8aed3ccfcad6b04afa4d880ecf3a3b28abb04d85
19,981
cpp
C++
src/plugins/extra/entities/opensubdiv.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
19
2016-11-07T00:01:19.000Z
2021-12-29T05:35:14.000Z
src/plugins/extra/entities/opensubdiv.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
33
2016-07-06T21:58:05.000Z
2020-08-01T18:18:24.000Z
src/plugins/extra/entities/opensubdiv.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
null
null
null
#include "Environment.h" #include "Logger.h" #include "Profiler.h" #include "ResourceManager.h" #include "SceneLoadContext.h" #include "cache/Cache.h" #include "emission/IEmission.h" #include "entity/IEntity.h" #include "entity/IEntityPlugin.h" #include "geometry/CollisionData.h" #include "material/IMaterial.h" #includ...
34.629116
207
0.716681
[ "mesh", "geometry", "vector", "transform" ]
8af8952196d060ccf38c119c0589a25adaa0707d
4,337
cc
C++
components/ntp_snippets/contextual/contextual_suggestions_ukm_entry_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/ntp_snippets/contextual/contextual_suggestions_ukm_entry_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/ntp_snippets/contextual/contextual_suggestions_ukm_entry_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/ntp_snippets/contextual/contextual_suggestions_ukm_entry.h" #include "base/macros.h" #include "base/test/scoped_task_environment.h" #...
40.157407
87
0.801706
[ "vector" ]
8afcd6ac4f821feb1cfbff869afd9e73021a9e8b
17,088
cpp
C++
Controller_AI_Rudra/src/Controller_AI_Rudra.cpp
Rudra-Trivedi/CrashLatest
58de43e089786579d2db981d0ff1559fad245fd7
[ "MIT" ]
null
null
null
Controller_AI_Rudra/src/Controller_AI_Rudra.cpp
Rudra-Trivedi/CrashLatest
58de43e089786579d2db981d0ff1559fad245fd7
[ "MIT" ]
null
null
null
Controller_AI_Rudra/src/Controller_AI_Rudra.cpp
Rudra-Trivedi/CrashLatest
58de43e089786579d2db981d0ff1559fad245fd7
[ "MIT" ]
null
null
null
// MIT License // // Copyright(c) 2020 Arthur Bacon and Kevin Dill // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softwareand associated documentation files(the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use...
31.411765
158
0.569522
[ "vector" ]
c104a76a55efc678bcf4f208c499ce92e6dd923a
1,415
cpp
C++
src/System_GUI.cpp
int-Frank/DgEngine
aaec951a36c0c06540a14299b428e3f9ed1b5b20
[ "Apache-2.0" ]
1
2015-01-13T06:58:27.000Z
2015-01-13T06:58:27.000Z
src/System_GUI.cpp
int-Frank/DgEngine
aaec951a36c0c06540a14299b428e3f9ed1b5b20
[ "Apache-2.0" ]
null
null
null
src/System_GUI.cpp
int-Frank/DgEngine
aaec951a36c0c06540a14299b428e3f9ed1b5b20
[ "Apache-2.0" ]
null
null
null
//@group Systems #include "System_GUI.h" #include "InputCodes.h" #include "Options.h" #include "Options.h" #include "GUI_Internal.h" #include "Renderer.h" #include "GUI.h" namespace DgE { MAKE_SYSTEM_DEFINITION(System_GUI) System_GUI::System_GUI(int a_windowW, int a_windowH) : m_dt(1.0f / 60.0f) , m_pScr...
20.507246
89
0.674205
[ "render" ]
c104cab139bb6607b1fd808590178dc213709de4
9,388
cpp
C++
Plugins/org.blueberry.ui.qt/src/internal/berryCommandService.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Plugins/org.blueberry.ui.qt/src/internal/berryCommandService.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Plugins/org.blueberry.ui.qt/src/internal/berryCommandService.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
29.429467
116
0.679591
[ "object" ]
c1097e36b9259904c17c517602faa1c588a77143
1,090
hpp
C++
include/caffe/layers/QuadExpandLayer.hpp
PengHuiSun/caffe
a628672032dc83f3df6536bb72c5475ae0a5f512
[ "Intel", "BSD-2-Clause" ]
null
null
null
include/caffe/layers/QuadExpandLayer.hpp
PengHuiSun/caffe
a628672032dc83f3df6536bb72c5475ae0a5f512
[ "Intel", "BSD-2-Clause" ]
null
null
null
include/caffe/layers/QuadExpandLayer.hpp
PengHuiSun/caffe
a628672032dc83f3df6536bb72c5475ae0a5f512
[ "Intel", "BSD-2-Clause" ]
null
null
null
#ifndef CAFFE_QUAD_EXPAND_LAYER_HPP__ #define CAFFE_QUAD_EXPAND_LAYER_HPP__ #include <vector> #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" namespace caffe { template <typename Dtype> class QuadExpandLayer : public Layer<Dtype> { public: QuadExpandLayer(const LayerParamete...
34.0625
99
0.717431
[ "vector" ]
c119db0fa2517b34cc95ac4b20839354ce193782
11,085
hpp
C++
Source/Configuration.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
4
2018-12-06T01:20:50.000Z
2019-08-04T10:19:23.000Z
Source/Configuration.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
Source/Configuration.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
/** * Copyright (C) 2015-2019 * Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com> * * This file is part of Dixter Project * License-Identifier: MIT License * See README.md for more information. */ #pragma once #include <map> #include <unordered_map> #include <set> #include <mutex> #include <boost/proper...
25.659722
93
0.698421
[ "vector" ]
c120f5567528eb83b6781c78d60134a4aa97e128
5,996
cpp
C++
src/controls/cell_renderer.cpp
AndrewGrim/Agro
f065920ab665938852bc8aa7e38d4d73f7e3ec0d
[ "MIT" ]
null
null
null
src/controls/cell_renderer.cpp
AndrewGrim/Agro
f065920ab665938852bc8aa7e38d4d73f7e3ec0d
[ "MIT" ]
null
null
null
src/controls/cell_renderer.cpp
AndrewGrim/Agro
f065920ab665938852bc8aa7e38d4d73f7e3ec0d
[ "MIT" ]
1
2021-04-18T12:06:55.000Z
2021-04-18T12:06:55.000Z
#include "cell_renderer.hpp" CellRenderer::CellRenderer() { style.widget_background = COLOR_NONE; } CellRenderer::~CellRenderer() {} bool CellRenderer::isWidget() { return false; } EmptyCell::EmptyCell() {} EmptyCell::~EmptyCell() {} void EmptyCell::draw(DrawingContext &dc, Rect rect, int state) { Colo...
27.759259
128
0.597899
[ "vector" ]
c1227d0b0c83ffdbd01e9ddfd1284dbd7c252fd5
837,652
cpp
C++
src/main_2700.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
src/main_2700.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
src/main_2700.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: Microsoft.Win32.SafeHandles.SafeFindHandle #include "Microsoft/Win32/SafeHandles/SafeFindHandle.hpp" #include "beatsaber-hook/shared/utils/il2cpp-u...
77.617865
509
0.761388
[ "object", "vector" ]
c1237030def0bf99531430dc39dfc3f5dccd6618
3,775
cpp
C++
src/demo/mxm_homework.cpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
112
2016-04-26T05:54:30.000Z
2022-03-27T05:56:16.000Z
src/demo/mxm_homework.cpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
21
2016-03-22T19:06:46.000Z
2021-10-07T15:40:18.000Z
src/demo/mxm_homework.cpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
22
2016-04-26T05:54:35.000Z
2021-12-21T03:33:20.000Z
/* * GraphBLAS Template Library (GBTL), Version 3.0 * * Copyright 2020 Carnegie Mellon University, Battelle Memorial Institute, and * Authors. * * THIS MATERIAL WAS PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF * THE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR THE * UNITED STA...
34.318182
82
0.581987
[ "vector" ]
c12efdab05f5f0685cdba02aa5b982c0da3c386d
11,370
cpp
C++
src/gdb_session.cpp
VP-Vibes/DBT-RISE-Core
87ecbd4ae12a3a1adc24dd1d5cfee4889b1b5866
[ "BSD-3-Clause" ]
2
2021-03-17T15:50:41.000Z
2021-03-19T17:09:26.000Z
src/gdb_session.cpp
VP-Vibes/DBT-RISE-Core
87ecbd4ae12a3a1adc24dd1d5cfee4889b1b5866
[ "BSD-3-Clause" ]
null
null
null
src/gdb_session.cpp
VP-Vibes/DBT-RISE-Core
87ecbd4ae12a3a1adc24dd1d5cfee4889b1b5866
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (C) 2017, 2018, MINRES Technologies GmbH * 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. ...
35.867508
113
0.562093
[ "vector" ]
c130287ddcab4d612c85deeb8e5f42fc69b05900
6,407
cpp
C++
src_ext/as_addon/scriptmath/scriptmathcomplex.cpp
suxinde2009/oge2d
8386762bed546db083f77736e7da0010cdd0082b
[ "MIT" ]
null
null
null
src_ext/as_addon/scriptmath/scriptmathcomplex.cpp
suxinde2009/oge2d
8386762bed546db083f77736e7da0010cdd0082b
[ "MIT" ]
null
null
null
src_ext/as_addon/scriptmath/scriptmathcomplex.cpp
suxinde2009/oge2d
8386762bed546db083f77736e7da0010cdd0082b
[ "MIT" ]
null
null
null
#include <assert.h> #include <string.h> // strstr #include <new> // new() #include <math.h> #include "scriptmathcomplex.h" #ifdef __BORLANDC__ // C++Builder doesn't define a non-standard "sqrtf" function but rather an overload of "sqrt" // for float arguments. inline float sqrtf (float x) { return sqrt (x); } #endif ...
31.253659
188
0.682847
[ "object" ]
c131c38525eb43ff95e2b6c5950d8433804d70f5
1,808
cpp
C++
codeforces/784/G.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
codeforces/784/G.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
codeforces/784/G.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using vi = vector<int>; using vvi = vector<vi>; using ii = pair<int,int>; using vii = vector<ii>; using l = long long; using vl = vector<l>; using vvl = vector<vl>; using ll = pair<l,l>; using vll = vector<ll>; using vvll = vector<vll>; using lu = unsigned long long; usin...
25.111111
73
0.510509
[ "vector" ]
c131f20c281a8bffc91c051058fa68a6430487a5
8,571
cpp
C++
wcda_txt.cpp
Devlit/WCDA
885045f4f45562feab8b19efd8ec465202293ee4
[ "MIT" ]
null
null
null
wcda_txt.cpp
Devlit/WCDA
885045f4f45562feab8b19efd8ec465202293ee4
[ "MIT" ]
null
null
null
wcda_txt.cpp
Devlit/WCDA
885045f4f45562feab8b19efd8ec465202293ee4
[ "MIT" ]
null
null
null
#include "wcda_txt.h" #include <locale> #include <limits> #include <thread> #include "utils.h" Wcda_txt::Wcda_txt() { init_range(id_prim); init_range(E_prim); init_range(theta_prim); init_range(phi_prim); init_range(x_prim); init_range(y_prim); init_range(z_first_inter); init_range(num); i...
28.761745
182
0.646716
[ "vector" ]
c135f4921c0b40cd9e334f28651b0090546aadd7
27,747
cpp
C++
src/main/cpp/kernelscore_gen_vanilla.cpp
ehsantn/data-analytics-benchmarks
db6ecf8c3e1d899a146ced47a8cc3e92b52fca69
[ "BSD-2-Clause" ]
1
2017-06-19T17:09:06.000Z
2017-06-19T17:09:06.000Z
src/main/cpp/kernelscore_gen_vanilla.cpp
ehsantn/data-analytics-benchmarks
db6ecf8c3e1d899a146ced47a8cc3e92b52fca69
[ "BSD-2-Clause" ]
null
null
null
src/main/cpp/kernelscore_gen_vanilla.cpp
ehsantn/data-analytics-benchmarks
db6ecf8c3e1d899a146ced47a8cc3e92b52fca69
[ "BSD-2-Clause" ]
null
null
null
#include <random> #include <mpi.h> #include <stdint.h> #include <float.h> #include <limits.h> #include <complex> #include <math.h> #include <stdio.h> #include <iostream> #include "/home/etotoni/.julia/v0.5/ParallelAccelerator/src/../deps/include/j2c-array.h" #include "/home/etotoni/.julia/v0.5/ParallelAccelerator/src/....
38.698745
153
0.768083
[ "vector" ]
c138ce3f9e68e125fecb4a8397697939f0f60fc0
3,647
cc
C++
runtime/exec_utils_test.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
20
2021-06-24T16:38:42.000Z
2022-01-20T16:15:57.000Z
runtime/exec_utils_test.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
null
null
null
runtime/exec_utils_test.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
4
2021-11-03T06:01:12.000Z
2022-02-24T02:57:31.000Z
/* * Copyright (C) 2011 The Android Open Source Project * * 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 app...
34.40566
81
0.733205
[ "vector" ]
c13ed01de63ac52be7c31bb2eb0b85b86a7e7cdc
2,694
cpp
C++
src/Module/Extractor/RSC/Extractor_RSC.cpp
FredrikBlomgren/aff3ct
fa616bd923b2dcf03a4cf119cceca51cf810d483
[ "MIT" ]
315
2016-06-21T13:32:14.000Z
2022-03-28T09:33:59.000Z
src/Module/Extractor/RSC/Extractor_RSC.cpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
153
2017-01-17T03:51:06.000Z
2022-03-24T15:39:26.000Z
src/Module/Extractor/RSC/Extractor_RSC.cpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
119
2017-01-04T14:31:58.000Z
2022-03-21T08:34:16.000Z
#include <algorithm> #include <memory> #include "Module/Extractor/RSC/Extractor_RSC.hpp" using namespace aff3ct; using namespace aff3ct::module; template <typename B, typename Q> Extractor_RSC<B,Q> ::Extractor_RSC(const int K, const int N, const int tail_length, const bool buffered_encoding) : Extractor<B,Q>(K, N, t...
25.657143
119
0.626206
[ "vector" ]
c142bbc25642ad26767ef9af72fa67ddc10fc7ad
836
cpp
C++
codechef/nov 10/august challenge/problem difficulties.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
codechef/nov 10/august challenge/problem difficulties.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
codechef/nov 10/august challenge/problem difficulties.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> #define endl "\n" typedef long long ll; typedef unsigned long long ull; const int mod = 1e9 + 7; using namespace std; int main(){ cin.tie(0)->sync_with_stdio(false);cout.tie(0); int t; cin >> t; while(t--){ vector<int> arr(11, 0); for(int i =...
20.9
51
0.392344
[ "vector" ]
c147bb32b1c94a798731fd57390d4af4d23a6ef8
6,818
hpp
C++
src/ds_emitter.hpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
src/ds_emitter.hpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
src/ds_emitter.hpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
#ifndef __NODE_MAPNIK_DS_EMITTER_H__ #define __NODE_MAPNIK_DS_EMITTER_H__ // v8 #include <v8.h> #include "utils.hpp" // mapnik #include <mapnik/attribute_descriptor.hpp> // for attribute_descriptor, etc #include <mapnik/datasource.hpp> // for datasource, etc #include <mapnik/feature.hpp> // for fea...
35.510417
121
0.51188
[ "geometry", "object", "vector" ]
c14aff218da1794a3a4962b9466858e0edee00d0
52,865
cpp
C++
Engine/Source/Editor/Kismet/Private/Tests/BlueprintEditorTests.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Editor/Kismet/Private/Tests/BlueprintEditorTests.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Editor/Kismet/Private/Tests/BlueprintEditorTests.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "CoreMinimal.h" #include "HAL/FileManager.h" #include "Misc/Paths.h" #include "Misc/AutomationTest.h" #include "Modules/ModuleManager.h" #include "UObject/Class.h" #include "UObject/Package.h" #include "Misc/PackageName.h" #include "Framework/Comman...
37.466336
233
0.755074
[ "mesh", "object" ]