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
75377cbcb4fe1e517ef5a38125aa2e31da2f6840
3,817
cpp
C++
test/test_GroupCallsMultiProcess.cpp
minsii/rccl
84d5fce7ddb75448449ec116b56fc082e15dcd1f
[ "FSFAP" ]
98
2017-12-29T17:34:39.000Z
2022-03-24T00:48:38.000Z
test/test_GroupCallsMultiProcess.cpp
minsii/rccl
84d5fce7ddb75448449ec116b56fc082e15dcd1f
[ "FSFAP" ]
136
2018-02-12T08:18:33.000Z
2022-03-31T21:16:36.000Z
test/test_GroupCallsMultiProcess.cpp
minsii/rccl
84d5fce7ddb75448449ec116b56fc082e15dcd1f
[ "FSFAP" ]
56
2018-06-06T14:41:21.000Z
2022-03-08T00:52:33.000Z
/************************************************************************* * Copyright (c) 2019-2021 Advanced Micro Devices, Inc. All rights reserved. * * See LICENSE.txt for license information ************************************************************************/ #include "test_GroupCallsMultiProcess.hpp" nam...
41.043011
119
0.450616
minsii
753b39198381eaa82222e0558c85f26e2640c621
4,213
cpp
C++
src/main.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
14
2021-05-03T16:03:22.000Z
2022-02-14T23:42:39.000Z
src/main.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
1
2021-09-27T12:01:33.000Z
2021-09-27T12:01:33.000Z
src/main.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <algorithm> #include "json.hpp" #include "gflags/gflags.h" #include "glog/logging.h" #include "Driver.hpp" #ifdef SECCOMP #include "SecComp.hpp" #endif #include "meta.hpp" using json = nlohmann::json; DEFINE_string(binfile, "", "input binary to analy...
32.407692
177
0.59981
cyber-itl
753bd71471c8957cac7355239af73621e7951840
6,845
hpp
C++
docs/vault/assets/proposals.cost.access.hpp
henrikuuste/codejam22-template
1c7556c0ac1cdf2078705a41a9c927be399a6494
[ "MIT" ]
1
2022-03-04T16:15:50.000Z
2022-03-04T16:15:50.000Z
docs/vault/assets/proposals.cost.access.hpp
henrikuuste/codejam22-template
1c7556c0ac1cdf2078705a41a9c927be399a6494
[ "MIT" ]
null
null
null
docs/vault/assets/proposals.cost.access.hpp
henrikuuste/codejam22-template
1c7556c0ac1cdf2078705a41a9c927be399a6494
[ "MIT" ]
null
null
null
/******************* * @Proposal 1a *******************/ // Static costmap cell should be user-defined (might be just single number cost of a single pixel or // might be multiple factors such as slope or roughness or whatever ) /* struct Node { float cost; }; OR struct Node { float roughness; float slope; boo...
30.558036
100
0.692476
henrikuuste
754597b8115a0a92a4a1826bebe7482ca389ebbf
458
cpp
C++
LeetCode/Find the Distance Value Between Two Arrays/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/Find the Distance Value Between Two Arrays/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
LeetCode/Find the Distance Value Between Two Arrays/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
class Solution { public: int findTheDistanceValue(vector<int>& arr1, vector<int>& arr2, int d) { int n = arr1.size(), m = arr2.size(), ans = 0; for (int i = 0; i < n; i++) { bool good = true; for (int j = 0; j < m; j++) { if (abs(arr1[i] - arr2[j]) <= d) { good...
24.105263
75
0.39083
Code-With-Aagam
754e421fe3f749b9ed7702fe9e1a6e6223552aac
929
cpp
C++
src/19.cpp
dxscjx123/SwordOffer
e04958beb3f99c103f879b09f3da547679a208c4
[ "MIT" ]
3
2018-04-20T14:07:14.000Z
2019-08-29T14:35:30.000Z
src/19.cpp
dxscjx123/SwordOffer
e04958beb3f99c103f879b09f3da547679a208c4
[ "MIT" ]
null
null
null
src/19.cpp
dxscjx123/SwordOffer
e04958beb3f99c103f879b09f3da547679a208c4
[ "MIT" ]
null
null
null
// 分析: // 这个题稍微麻烦的地方主要是要求栈的最小值。如果采用循环遍历返回最小值的 // 方法,时间复杂度是O(N)不是O(1)。最初想到的方法是变量min_stack,用来在每 // 次入栈比较value,并更新min_stack,但细想在出栈时无法确定最小值是否已经 // 出栈,故方法不可取。再细想,只用在每次入栈时,将比当前最小值还小的元素 // 入新栈即可。定义一个辅助栈,若新的元素比最小值还小,将其入辅助栈。出栈 // 时比较辅助栈顶,如果出栈元素等于了辅助栈顶元素,证明当前最小值出栈,将 // 辅助栈同时出栈,保证辅助栈栈顶保存的是当前栈的最小值。 class Solution { public: v...
22.658537
71
0.658773
dxscjx123
75512c90992705eee0fa2adc284314db6b029b8a
1,112
hpp
C++
pre-cxx20/blog-2020-09/sigint_state.hpp
test-scenarios/boost_beast_websocket_echo
9eab1f8a2454c670b8830de704718ba6a2f567c0
[ "BSL-1.0" ]
14
2020-06-11T14:50:37.000Z
2021-06-02T15:18:22.000Z
pre-cxx20/blog-2020-09/sigint_state.hpp
test-scenarios/boost_beast_websocket_echo
9eab1f8a2454c670b8830de704718ba6a2f567c0
[ "BSL-1.0" ]
null
null
null
pre-cxx20/blog-2020-09/sigint_state.hpp
test-scenarios/boost_beast_websocket_echo
9eab1f8a2454c670b8830de704718ba6a2f567c0
[ "BSL-1.0" ]
2
2020-06-15T04:04:39.000Z
2021-02-10T08:12:12.000Z
#include "net.hpp" #include <functional> #include <vector> namespace project { struct sigint_state { using executor_type = net::any_io_executor; auto get_executor() const -> executor_type const &; explicit sigint_state(executor_type const &exec); void start()...
19.172414
57
0.506295
test-scenarios
7555541dc3c91909a6a6fcc5b13ea396c58467ae
807
hpp
C++
visual_studio/visual_studio/oxi/scene/object/camera.hpp
collus-corn/oxi
93e00c51c00f78cb3d09aa9c890e98c1a572af3a
[ "MIT" ]
null
null
null
visual_studio/visual_studio/oxi/scene/object/camera.hpp
collus-corn/oxi
93e00c51c00f78cb3d09aa9c890e98c1a572af3a
[ "MIT" ]
null
null
null
visual_studio/visual_studio/oxi/scene/object/camera.hpp
collus-corn/oxi
93e00c51c00f78cb3d09aa9c890e98c1a572af3a
[ "MIT" ]
null
null
null
#pragma once #include "../i_camera.hpp" namespace oxi { namespace scene { namespace object { class Camera :public ICamera { private: int kind_; std::shared_ptr<IPosition> position_; std::shared_ptr<IPosition> right_; std::shared_ptr<IPosition> left_; public: explicit Camera(std::...
26.9
124
0.700124
collus-corn
755784a955e6d9f3e58de9951ebd78970b5a0bf5
3,442
hh
C++
Phase2Sim/include/HGCReadoutModule.hh
uiowahep/Old
e52c4a67960028010904a1214f7d060c92f3da8c
[ "Apache-2.0" ]
null
null
null
Phase2Sim/include/HGCReadoutModule.hh
uiowahep/Old
e52c4a67960028010904a1214f7d060c92f3da8c
[ "Apache-2.0" ]
null
null
null
Phase2Sim/include/HGCReadoutModule.hh
uiowahep/Old
e52c4a67960028010904a1214f7d060c92f3da8c
[ "Apache-2.0" ]
null
null
null
#ifndef HGCREADOUTMODULE_H #define HGCREADOUTMODULE_H // // ROOT Inclusions // #include "TROOT.h" #include "TApplication.h" #include "TFile.h" #include "TTree.h" // // STD inclusions // #include <iostream> #include <vector> #include <string> // // Phase2Sim inclusions // #include "CMSEndcapDefs.hh" #include "SHDefs....
16.790244
75
0.717316
uiowahep
755b8a35b02b8add53417cbddebbb89f55dec527
8,940
cpp
C++
Tools/tfile_tool/tfile.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
16
2020-07-09T15:38:41.000Z
2022-03-03T19:05:24.000Z
Tools/tfile_tool/tfile.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
7
2020-07-03T22:38:24.000Z
2022-01-09T18:25:22.000Z
Tools/tfile_tool/tfile.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
2
2021-08-23T08:25:44.000Z
2022-01-09T16:05:46.000Z
#include "../common/prettynamer.h" #include "tfile.h" #include <QBuffer> #include <QCryptographicHash> #include <QDebug> #include <QDir> #include <QtEndian> bool TFile::extractFiles() { QDir outputDir(getFilename().left(getFilename().indexOf('.'))); if (!outputDir.exists()) outputDir.mkpath("."); ...
28.745981
113
0.597539
IvanDSM
7560670365f61ba150e260ab1b45db044e568638
355
cpp
C++
LeetCode/ThousandOne/0326-power_of_three.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0326-power_of_three.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0326-power_of_three.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 326. 3的幂 给定一个整数,写一个函数来判断它是否是 3 的幂次方。 示例 1: 输入: 27 输出: true 示例 2: 输入: 0 输出: false 示例 3: 输入: 9 输出: true 示例 4: 输入: 45 输出: false 进阶: 你能不使用循环或者递归来完成本题吗? */ bool isPowerOfThree(int n) { int const a = 1162261467; return (n > 0) && (a % n == 0); } int main() { OutBool(isPowerOfThree(27)...
9.102564
32
0.628169
Ginkgo-Biloba
756457d7fa17d979915715dcbc0eeb601059c2c3
5,408
cpp
C++
src/host/schedulerb.cpp
wjie98/staratlas-gs
8d2612fd78a1edad2ead8dba1669f7dc4c49e555
[ "MIT" ]
2
2022-03-29T13:20:36.000Z
2022-03-31T06:55:57.000Z
src/host/schedulerb.cpp
wjie98/staratlas-gs
8d2612fd78a1edad2ead8dba1669f7dc4c49e555
[ "MIT" ]
null
null
null
src/host/schedulerb.cpp
wjie98/staratlas-gs
8d2612fd78a1edad2ead8dba1669f7dc4c49e555
[ "MIT" ]
null
null
null
#include <core/scheduler.hh> #include <chrono> #include <algorithm> namespace wasmtm { SchedulerBlock::SchedulerBlock(SchedulerQueue::Type type, std::shared_ptr<Storage> storage, bool distinct) { this->_Q = std::make_unique<SchedulerQueue>(type); this->_selected = std::make_unique<std::unordered_set<nid_t>>(...
31.08046
118
0.557322
wjie98
7564e91b360fc1ffb0a0ef4be212f03847a8ec20
2,637
cpp
C++
2019/Day10/Main.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day10/Main.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day10/Main.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES // must be defined before anything else potentially includes <cmath> #include "Day10.h" #include <cassert> #include <iostream> #include <algorithm> #include <fstream> #include <map> #include <set> #include <cmath> int main() { using namespace Day10; std::fstream fs("input.txt"); // chan...
23.336283
94
0.678802
luddet
757168a89a7b2d86ab605b3628cb1eb1b75e6799
733
cpp
C++
Plugins/3rdparts/Utils.cpp
airego/Fucier
ffb3e455e246662087b8b449fc18343b5eb63fc1
[ "Apache-2.0" ]
1
2021-01-29T14:29:41.000Z
2021-01-29T14:29:41.000Z
Plugins/3rdparts/Utils.cpp
airego/Fucier
ffb3e455e246662087b8b449fc18343b5eb63fc1
[ "Apache-2.0" ]
2
2021-01-26T17:04:07.000Z
2021-01-29T14:28:51.000Z
Plugins/3rdparts/Utils.cpp
airego/Fucier
ffb3e455e246662087b8b449fc18343b5eb63fc1
[ "Apache-2.0" ]
null
null
null
// // Created by xiaoyong on 2021/1/27. // #include "Utils.h" #include <sys/stat.h> int Utils::mkdirs(string path) { if (!(path[path.length() - 1] == '\\' || path[path.length() - 1] == '/')) path.append("\\"); int len = path.length(); char tmpDirPath[1024] = { 0 }; for (int i = 0; i < len; i...
22.90625
77
0.462483
airego
7578a491874597009a14fb8d57b81a57f4fd647b
2,845
cpp
C++
Lighting/tttt.cpp
arturnista/glfwstudy
fa24539c88149d388aebada68e6e10b862e19829
[ "MIT" ]
null
null
null
Lighting/tttt.cpp
arturnista/glfwstudy
fa24539c88149d388aebada68e6e10b862e19829
[ "MIT" ]
null
null
null
Lighting/tttt.cpp
arturnista/glfwstudy
fa24539c88149d388aebada68e6e10b862e19829
[ "MIT" ]
null
null
null
// // #pragma warning(disable:4996) // #include <stdio.h> // #include <iostream> // #include <string> // #include <fstream> // #include <sstream> // #include <vector> // #include <math.h> // #include <time.h> /* time */ // // using namespace std; // // // Build: // // nodemon --exec "g++ -o ./build/tttt.out ./ttt...
36.474359
182
0.457996
arturnista
757b3a4fe9fb1c4a268a1b8d1fd5ab6e61ff4ed5
332
hpp
C++
dll/sampcac-loader/utils/console/console.hpp
ryanocf/sampcac-loader
3a68c1dbcebf0f77a00ab4c1f540633e9fcd2952
[ "MIT" ]
null
null
null
dll/sampcac-loader/utils/console/console.hpp
ryanocf/sampcac-loader
3a68c1dbcebf0f77a00ab4c1f540633e9fcd2952
[ "MIT" ]
1
2021-09-12T19:25:11.000Z
2021-09-27T15:20:03.000Z
dll/sampcac-loader/utils/console/console.hpp
ryanocf/sampcac-loader
3a68c1dbcebf0f77a00ab4c1f540633e9fcd2952
[ "MIT" ]
null
null
null
#pragma once #include <memory> class Console { public: auto initialize(const char* title) -> void; auto release() -> void; template <typename ... Args> auto log(char const* const format, Args const& ... args) -> void { printf(format, args ...); } }; inline std::unique_ptr<Console> console = std::make_unique...
18.444444
70
0.668675
ryanocf
757d08429f2832bc1d32c2adce892e6ce12132b8
260
cpp
C++
c++/day01/85.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
c++/day01/85.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
c++/day01/85.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
class Solution { public: int add(int num1, int num2){ while(num2 != 0 ){ int sum = num1 ^ num2; int carry = (num1 & num2) << 1; // 加括号 num1 = sum; num2 = carry; } return num1; } };
21.666667
50
0.419231
msoild
757d90fb87588dee285e4a0b46a4001082dbbe18
1,812
cc
C++
hilti/instructions/debug.cc
asilha/hilti
ebfffc7dad31059b43a02eb26abcf7a25f742eb8
[ "BSD-3-Clause" ]
46
2015-01-21T13:31:25.000Z
2020-10-27T10:18:03.000Z
hilti/instructions/debug.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
29
2015-03-30T08:23:04.000Z
2019-05-03T13:11:35.000Z
hilti/instructions/debug.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
20
2015-01-27T12:59:38.000Z
2020-10-28T21:40:47.000Z
iBegin(debug::Assert, "debug.assert") iOp1(optype::boolean, true); iOp2(optype::optional(optype::string), true); iHideInDebugTrace(); iValidate { } iDoc(R"( If compiled in debug mode, verifies that *op1* is true. If not, throws an ~~AssertionError exception with *op2* ...
21.831325
79
0.628587
asilha
757fde992a3a03a2096fe10cfafcbc58f8eed089
10,451
cpp
C++
gdip/core/test/diptest.cpp
petvana/gdip
ae70f2f645df134ac943ac23008346e49a4fb8c6
[ "BSD-2-Clause" ]
9
2018-06-08T10:11:30.000Z
2022-01-12T17:24:04.000Z
gdip/core/test/diptest.cpp
petvana/gdip
ae70f2f645df134ac943ac23008346e49a4fb8c6
[ "BSD-2-Clause" ]
2
2021-02-10T09:21:38.000Z
2021-02-12T23:06:36.000Z
gdip/core/test/diptest.cpp
petvana/gdip
ae70f2f645df134ac943ac23008346e49a4fb8c6
[ "BSD-2-Clause" ]
5
2020-06-15T09:47:46.000Z
2022-02-04T11:23:08.000Z
/** * @file circletest.h * @author Petr Vana * @brief Test implementation of the DIP */ #include "gtest/gtest.h" #include "opendubins/dubins.h" using namespace std; using namespace opendubins; namespace maxdiptest { const int COUNT = 1000; int typeCount[200] = {}; void check(AngleInterval &interval1, ...
31.669697
107
0.484834
petvana
758234f41c5331131043689828dc64f0cb20cb4c
652
cpp
C++
Button.cpp
RafaelGC/ArduinoClock
857cb23395c5314438b411a6a06461a5568191cb
[ "MIT" ]
1
2019-10-10T07:27:27.000Z
2019-10-10T07:27:27.000Z
Button.cpp
rafaelgc/ArduinoClock
857cb23395c5314438b411a6a06461a5568191cb
[ "MIT" ]
null
null
null
Button.cpp
rafaelgc/ArduinoClock
857cb23395c5314438b411a6a06461a5568191cb
[ "MIT" ]
null
null
null
#include "Button.h" #include "Arduino.h" Button::Button(int pin, int minDelay){ lastState = false; this->minDelay = minDelay; previousMillis = 0; this->pin = pin; pinMode(pin,INPUT); } bool Button::update(){ // In order to avoid noise we should wait some milliseconds // to change the state. if ((unsig...
18.628571
62
0.625767
RafaelGC
75844ec4d6b0dcbfd3b065dab3a8eddc4a7d7185
858
cpp
C++
coding interviews/56.shu_zu_zhong_shu_zi_chu_xian_de_ci_shu_lcof.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
5
2019-09-12T05:23:44.000Z
2021-11-15T11:19:39.000Z
coding interviews/56.shu_zu_zhong_shu_zi_chu_xian_de_ci_shu_lcof.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
18
2019-09-23T13:11:06.000Z
2019-11-09T11:20:17.000Z
coding interviews/56.shu_zu_zhong_shu_zi_chu_xian_de_ci_shu_lcof.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
null
null
null
#include <vector> using namespace std; class Solution { public: vector<int> singleNumbers(vector<int> &nums) { int t = 0; for (const auto &num : nums) { t ^= num; } int h = 1; while (!(h & t)) { h = (h << 1); } ...
16.5
56
0.386946
liangwt
759aa61ff6b1911ca37211037f5593ede2b1061f
508
hpp
C++
allocator/insufficientmemory.hpp
StiliyanDr/allocator
eb83302d52b1992509556cfa7044c4b99884ad2a
[ "MIT" ]
null
null
null
allocator/insufficientmemory.hpp
StiliyanDr/allocator
eb83302d52b1992509556cfa7044c4b99884ad2a
[ "MIT" ]
null
null
null
allocator/insufficientmemory.hpp
StiliyanDr/allocator
eb83302d52b1992509556cfa7044c4b99884ad2a
[ "MIT" ]
null
null
null
#ifndef __INSUFFICIENT_MEMORY_HEADER_INCLUDED__ #define __INSUFFICIENT_MEMORY_HEADER_INCLUDED__ #include <stdexcept> namespace allocator { class InsufficientMemory : public std::runtime_error { public: InsufficientMemory() : InsufficientMemory{ "Insufficient memory!" } { ...
19.538462
58
0.665354
StiliyanDr
759e2c64d2208e80dc7868002fe04f167a5f9fc6
20,136
cpp
C++
patch/3dsystem/3d_gen.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
3
2021-10-10T11:12:03.000Z
2021-11-04T16:46:57.000Z
patch/3dsystem/3d_gen.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
patch/3dsystem/3d_gen.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
#include <specific/standard.h> #include <specific/global.h> #include <specific/hwrender.h> #include <specific/init.h> #include <specific/drawprimitive.h> #include <specific/fn_stubs.h> #include <game/room.h> #include <game/draw.h> #include <game/effect2.h> #include <game/lara.h> #include <game/camera.h> #include <mai...
24.676471
117
0.587704
Tonyx97
759f6b5490b5bf67437dc24dfc7cea1b26bb2530
152
cpp
C++
Letgen/src/Letgen/Scene/Entity.cpp
mrLegenius/Letgen
fda8e9fccdf2b3c7a688cd522286d6a9797b8c3f
[ "MIT" ]
null
null
null
Letgen/src/Letgen/Scene/Entity.cpp
mrLegenius/Letgen
fda8e9fccdf2b3c7a688cd522286d6a9797b8c3f
[ "MIT" ]
null
null
null
Letgen/src/Letgen/Scene/Entity.cpp
mrLegenius/Letgen
fda8e9fccdf2b3c7a688cd522286d6a9797b8c3f
[ "MIT" ]
null
null
null
#include "pch.h" #include "Entity.h" namespace Letgen { Entity::Entity(const entt::entity id, Scene* scene) : m_EntityID(id), m_Scene(scene) { } }
16.888889
52
0.677632
mrLegenius
b5b0db58c764348abf3566ce4cbcb02a54da6817
2,244
cpp
C++
src/Camera/FreeCamera.cpp
AmrikSadhra/FCE-To-Obj
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
212
2019-08-10T16:57:57.000Z
2022-03-30T02:21:05.000Z
src/Camera/FreeCamera.cpp
AmrikSadhra/FCE-To-Obj
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
11
2018-07-10T18:01:09.000Z
2019-06-26T13:41:24.000Z
src/Camera/FreeCamera.cpp
AmrikSadhra/FCE-to-OBJ
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
20
2020-02-09T02:38:35.000Z
2022-03-23T20:26:28.000Z
#include "FreeCamera.h" FreeCamera::FreeCamera(const std::shared_ptr<GLFWwindow> &window, glm::vec3 initialPosition) : BaseCamera(CameraMode::FREE_LOOK, window) { position = initialPosition; } void FreeCamera::ComputeMatricesFromInputs(float deltaTime) { // Get mouse position and compute new orientation with ...
34.523077
144
0.595811
AmrikSadhra
b5b10a373288afe86da9ca74dea7444e49df779b
13,239
cpp
C++
inheritance1/Tester.cpp
MichaelWYT/Cplusplus
6e091fec5209c03d3889bd82ab90fbea3b2c224d
[ "Apache-2.0" ]
null
null
null
inheritance1/Tester.cpp
MichaelWYT/Cplusplus
6e091fec5209c03d3889bd82ab90fbea3b2c224d
[ "Apache-2.0" ]
null
null
null
inheritance1/Tester.cpp
MichaelWYT/Cplusplus
6e091fec5209c03d3889bd82ab90fbea3b2c224d
[ "Apache-2.0" ]
null
null
null
#include <stdlib.h> #include <iostream> #include <utility> #include <sstream> #include "Tester.h" using std::cout; using std::cerr; using std::endl; using std::vector; using std::string; using std::stringstream; Tester::Tester() : error_(false), funcname_("") { unsigned int val(time(0)*rand()); srand(val); } Tes...
22.786575
92
0.567112
MichaelWYT
b5b8cb1710dbc76308d4ae2280d01a9e0a4c59fa
1,920
cpp
C++
1010.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
1010.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
1010.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cstring> using namespace std; char char2num[128]; int remove_leading_zero(char* str) { if (str[0] == '\0') return 0; int ri = 0, wi = 0; while (str[ri] == '0') ri++; int len = 0; while ((str[wi++] = str[ri++]) != '\0') len++; if (len == 0) { str[0] == '0'; st...
19.591837
59
0.549479
hgfeaon
b5b9e37de92ad89c6516b2c8009ae9f99f14a933
720
cpp
C++
Dynamic Programming/279 Perfect Squares.cpp
ankitapuri/LeetCode-Solutions
16d9b6a992663a19db373f207b23b95225f56c28
[ "MIT" ]
18
2021-11-07T06:45:25.000Z
2022-03-03T10:37:01.000Z
Dynamic Programming/279 Perfect Squares.cpp
ankitapuri/LeetCode-Solutions
16d9b6a992663a19db373f207b23b95225f56c28
[ "MIT" ]
1
2021-10-12T15:32:27.000Z
2021-11-06T11:48:11.000Z
Dynamic Programming/279 Perfect Squares.cpp
ankitapuri/LeetCode-Solutions
16d9b6a992663a19db373f207b23b95225f56c28
[ "MIT" ]
2
2021-11-25T10:25:44.000Z
2021-12-31T15:16:47.000Z
class Solution { public: int numsreq(int target , int curr,vector<vector<long>>&vec) { if(target == 0) return 0; if(target-(curr*curr)<0) return 10001; if(vec[curr][target]!=-1) return vec[curr][target]; int consider = 10001; if(target-(curr*curr)>=0) ...
30
66
0.534722
ankitapuri
b5bd6aa08073a85a9cffa1a3fb551d9832ccfcc6
1,730
cpp
C++
19-Binary Search Tree/insertionDeletion.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
21
2020-10-03T03:57:19.000Z
2022-03-25T22:41:05.000Z
19-Binary Search Tree/insertionDeletion.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
40
2020-10-02T07:02:34.000Z
2021-10-30T16:00:07.000Z
19-Binary Search Tree/insertionDeletion.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
90
2020-10-02T07:06:22.000Z
2022-03-25T22:41:17.000Z
#include <iostream> #include<queue> using namespace std; class node{ public: int data; node*left; node*right; node(int d){ data = d; left = NULL; right = NULL; } }; //Accepts the old root node & data and returns the new root node node* ...
16.634615
85
0.473988
ShreyashRoyzada
b5bebd976e65eac3a364656a8e31ad2b92068cc6
4,640
cpp
C++
C++/find-all-people-with-secret.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/find-all-people-with-secret.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/find-all-people-with-secret.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(nlogn) // Space: O(n) class Solution { public: vector<int> findAllPeople(int n, vector<vector<int>>& meetings, int firstPerson) { sort(begin(meetings), end(meetings), [](const auto& a, const auto& b) { return a[2] < b[2]; }); unordered_set<int> result = {0, firstPerson}; unorder...
30.326797
103
0.411422
Priyansh2
b5bf5287dca579e0f45c35117d514732c93a74be
528
cpp
C++
1.Arrays/linear_Search.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
1.Arrays/linear_Search.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
1.Arrays/linear_Search.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int n, key; int arr[1000] = {0}; cout<<"Enter the no of elements :"; cin >> n; for(int i=0; i<n; i++){ cin >> arr[i]; } for(int i=0; i<n; i++) { cout<<arr[i]<<" ,"; } cout<<"Enter the key ...
16.5
66
0.395833
suraj0803
b5c65c0c5400813b06154aee407caab527b4862a
249
cpp
C++
src/vega/manipulators/person_name_manipulator.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
18
2018-01-23T12:28:13.000Z
2022-02-13T12:23:21.000Z
src/vega/manipulators/person_name_manipulator.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
2
2018-11-29T01:51:25.000Z
2022-03-22T14:14:22.000Z
src/vega/manipulators/person_name_manipulator.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
6
2019-02-01T09:54:44.000Z
2022-01-09T22:13:54.000Z
#include "vega/manipulators/person_name_manipulator.h" namespace vega { namespace vr { template <> bool manipulator_is_valid_for<manipulators::PersonNameManipulator>(VR::value_type value) { return value == vr::PN_VALUE; } } }
22.636364
94
0.714859
project-eutopia
b5c98a3e18889104cf8e32e177c9310e4435917d
952
cpp
C++
main.cpp
andywu1998/MarkdownTransform
626d34329cd6d3260638103c03baf549d4d07e27
[ "MIT" ]
1
2018-06-25T12:21:32.000Z
2018-06-25T12:21:32.000Z
main.cpp
andywu1998/MarkdownTransform
626d34329cd6d3260638103c03baf549d4d07e27
[ "MIT" ]
null
null
null
main.cpp
andywu1998/MarkdownTransform
626d34329cd6d3260638103c03baf549d4d07e27
[ "MIT" ]
1
2018-06-25T12:21:37.000Z
2018-06-25T12:21:37.000Z
#include <iostream> #include <fstream> #include <cstring> #include "markdown.hpp" /* https://daringfireball.net/projects/markdown/syntax */ int main(){ MarkdownTransform transformer("test.md"); // 编写一个 `getTableOfContents()` 方法来获取 Markdown 文件 HTML 格式的目录 std::string table = transformer.getTableOfContents(); ...
29.75
63
0.635504
andywu1998
b5cbe51b317d22cf0163be59df1fc06206c74a38
3,810
cpp
C++
gpio/Encoder.cpp
framefactory/ff-esp-native
658bea290062fef0b6a7cb2ecd29973d524aa69a
[ "MIT" ]
null
null
null
gpio/Encoder.cpp
framefactory/ff-esp-native
658bea290062fef0b6a7cb2ecd29973d524aa69a
[ "MIT" ]
null
null
null
gpio/Encoder.cpp
framefactory/ff-esp-native
658bea290062fef0b6a7cb2ecd29973d524aa69a
[ "MIT" ]
null
null
null
/** * ESP/Native Library * Copyright 2021 Frame Factory GmbH, Ralph Wiedemeier * License: MIT */ #include "Encoder.h" #include "driver/gpio.h" #include "esp_log.h" #include "esp_timer.h" F_USE_NAMESPACE void _buttonHandler(void* pData) { Encoder* pEncoder = static_cast<Encoder*>(pData); pEncoder->onButto...
22.678571
68
0.669816
framefactory
b5d7840497a1c26a9f1f3470b2f7ce94fc767b0f
841
cpp
C++
Algorithms/S3_Strings/Strong Password.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
Algorithms/S3_Strings/Strong Password.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
Algorithms/S3_Strings/Strong Password.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // Complete the minimumNumber function below. int minimumNumber(int n, string password) { // Return the minimum number of characters to make the password strong int num=0,a1=0,a2=0,a3=0,a4=0; for(char i:password) { if(i>='a' && i<='z') a1++; el...
20.512195
74
0.54459
VaibhavDS19
b5db60795e1747a1a6f4750d662e99f5f049449d
399
cpp
C++
progressdialog.cpp
animetosho/ParParGUI
a9e81dec356d698eb1449da9e285889d9d976581
[ "CC0-1.0" ]
4
2021-12-05T15:59:05.000Z
2022-03-27T02:49:03.000Z
progressdialog.cpp
animetosho/ParParGUI
a9e81dec356d698eb1449da9e285889d9d976581
[ "CC0-1.0" ]
null
null
null
progressdialog.cpp
animetosho/ParParGUI
a9e81dec356d698eb1449da9e285889d9d976581
[ "CC0-1.0" ]
null
null
null
#include "progressdialog.h" #include <QProgressBar> ProgressDialog::ProgressDialog(QWidget* parent, const QString& labelText) : QProgressDialog(parent) { setLabelText(labelText); setMinimumDuration(1000); setWindowModality(Qt::WindowModal); auto* pb = new QProgressBar(this); pb->setAlignment(Q...
22.166667
73
0.706767
animetosho
b5dc0fc6a00691eccb30881b5d6ea9dae4167361
508
cpp
C++
archive/2020/10/2020-10-30/maxsum.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
2
2020-12-12T00:02:40.000Z
2021-04-21T19:49:59.000Z
archive/2020/10/2020-10-30/maxsum.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
archive/2020/10/2020-10-30/maxsum.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
#include <cstdio> #include <climits> const int maxn = 1000010; int vet[maxn]; int main() { int t, n; int best_sum; scanf(" %d", &t); for(int i=0; i<t; ++i) { scanf(" %d", &n); best_sum = INT_MIN; for(int j=0; j<n; ++j) scanf(" %d", &vet[j]); int sum=0; for(int star...
17.517241
41
0.468504
pufe
b5ddd35fad676019455a663c8a34bfbbb40a8132
9,708
cc
C++
dcmsr/libsrc/dsrpnmtn.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
24
2015-07-22T05:07:51.000Z
2019-02-28T04:52:33.000Z
dcmsr/libsrc/dsrpnmtn.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
13
2015-07-23T05:43:02.000Z
2021-07-17T17:14:45.000Z
dcmsr/libsrc/dsrpnmtn.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
13
2015-07-23T01:07:30.000Z
2021-01-05T09:49:30.000Z
/* * * Copyright (C) 2000-2010, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmsr * * Author: Joerg Ries...
32.797297
119
0.637412
chrisvana
b5e0aba5a50a7c8de2d759c99e47d3e6df648053
3,893
hpp
C++
components/scream/src/share/field/field_group.hpp
ashlynrlee/scream
3d58c32340058368bee0cb2b02457c4723fb18db
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
components/scream/src/share/field/field_group.hpp
ashlynrlee/scream
3d58c32340058368bee0cb2b02457c4723fb18db
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
components/scream/src/share/field/field_group.hpp
ashlynrlee/scream
3d58c32340058368bee0cb2b02457c4723fb18db
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
#ifndef SCREAM_FIELD_GROUP_HPP #define SCREAM_FIELD_GROUP_HPP #include <ekat/util/ekat_string_utils.hpp> #include <ekat/std_meta/ekat_std_utils.hpp> #include <ekat/ekat_assert.hpp> #include <list> #include <map> namespace scream { /* * A FieldGroup is a small structure storing some info on a group of fields * (wr...
30.653543
87
0.713588
ashlynrlee
b5e48bf6de8c25bdf51331261cb7a0c1cd30bd1c
5,796
cpp
C++
worker/manager_service.cpp
hfingler/ava
8ade884d82dc1465a24fd1ab682a54afe1765f6e
[ "BSD-2-Clause" ]
null
null
null
worker/manager_service.cpp
hfingler/ava
8ade884d82dc1465a24fd1ab682a54afe1765f6e
[ "BSD-2-Clause" ]
null
null
null
worker/manager_service.cpp
hfingler/ava
8ade884d82dc1465a24fd1ab682a54afe1765f6e
[ "BSD-2-Clause" ]
1
2021-06-17T16:13:27.000Z
2021-06-17T16:13:27.000Z
#include "manager_service.hpp" #include <limits.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/wait.h> #include <boost/algorithm/string/join.hpp> #include <exception> #include <iostream> using namespace boost; using boost::asio::ip::tcp; namespace ava_manager { ManagerServiceServerBase::ManagerServiceS...
35.777778
117
0.661491
hfingler
b5e88808ca981f8837b91afba313f772a099fff6
7,283
cpp
C++
src/effects.cpp
itsankoff/phi
276b5237a174082f2ce5d5205c1a1a4972f476ed
[ "MIT" ]
null
null
null
src/effects.cpp
itsankoff/phi
276b5237a174082f2ce5d5205c1a1a4972f476ed
[ "MIT" ]
null
null
null
src/effects.cpp
itsankoff/phi
276b5237a174082f2ce5d5205c1a1a4972f476ed
[ "MIT" ]
null
null
null
#include "effects.h" #include "sdl.h" #include "slog/slog.h" #include "scale.h" #include "utils.h" #include <cmath> #include <memory> #include <omp.h> #include <emmintrin.h> void GrayScale(Image* image, SDLKey key, uint8_t type) { SLOG_DEBUG("Execute BlakcAndWhite"); int height = image->height; int width...
29.248996
98
0.444322
itsankoff
b5e8c0cacb593af23fff0dead0203ed285944a47
441
cpp
C++
OOP/OOP(first week )/CalcFrac/fraction.cpp
pashak14/CppHomeWork
861bf1241800f2c6a0fb782738554d617de89599
[ "MIT" ]
null
null
null
OOP/OOP(first week )/CalcFrac/fraction.cpp
pashak14/CppHomeWork
861bf1241800f2c6a0fb782738554d617de89599
[ "MIT" ]
null
null
null
OOP/OOP(first week )/CalcFrac/fraction.cpp
pashak14/CppHomeWork
861bf1241800f2c6a0fb782738554d617de89599
[ "MIT" ]
1
2020-12-14T11:52:04.000Z
2020-12-14T11:52:04.000Z
#include "fraction.h" bool fraction::getFrac() { if (this->chis != 0 && this->znam != 0) { cout << this->chis << "/" << this->znam << endl; return true; } else { return false; } } int fraction::getChis() { return this->chis; } int fraction::getZnam() { return this->znam; } bool fraction::setFrac( int a...
13.363636
50
0.553288
pashak14
b5eaecd4929e1184269284a0daa70be91074f999
3,307
hpp
C++
mainwindow.hpp
iamOgunyinka/Hend_Old
a7fa808ccf5d890b421214c1a5769c38bb4d7d73
[ "MIT" ]
2
2015-04-02T16:46:53.000Z
2015-06-20T04:04:44.000Z
mainwindow.hpp
iamOgunyinka/Hend_Old
a7fa808ccf5d890b421214c1a5769c38bb4d7d73
[ "MIT" ]
1
2015-03-30T07:34:56.000Z
2015-04-02T07:50:05.000Z
mainwindow.hpp
iamOgunyinka/Hend
a7fa808ccf5d890b421214c1a5769c38bb4d7d73
[ "MIT" ]
1
2016-01-30T23:45:44.000Z
2016-01-30T23:45:44.000Z
#ifndef MAINWINDOW_HPP #define MAINWINDOW_HPP #include <QMainWindow> #include <QtWidgets> #include <QMap> #include <QHeaderView> #include <memory> #include "searchdialog.hpp" #include "filterfunctions.hpp" #include "extractor.hpp" #include "downloadmanager.hpp" #include "videodetails.hpp" namespace Hend { class ...
31.798077
80
0.601754
iamOgunyinka
b5ee68343aee63286129f30e75631a8a1f1e9ec4
1,178
cpp
C++
ad_hoc/implementation/codeforces/F1362A/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
17
2019-09-23T04:09:13.000Z
2020-07-27T02:51:51.000Z
ad_hoc/implementation/codeforces/F1362A/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
15
2019-09-23T06:33:47.000Z
2020-06-04T18:55:45.000Z
ad_hoc/implementation/codeforces/F1362A/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
16
2019-09-21T23:19:58.000Z
2020-06-18T07:26:39.000Z
// problem name: Johnny and Ancient Computer // problem link: https://codeforces.com/contest/1362/problem/A // contest link: https://codeforces.com/contest/1362 // time: (?) // author: reyad // other_tags: (?) // difficulty_level: beginner #include <bits/stdc++.h> using namespace std; int main() { in...
18.40625
63
0.404075
ashtishad
b5efd866f35620a08098ca6f64adfa74a6df3d96
33,368
hpp
C++
lagunita/Bitmaps.hpp
renato-grottesi/arduboy
7bf33ef64a18b0ae783819e2a4e498b5ab442bdd
[ "MIT" ]
6
2019-11-18T02:23:15.000Z
2021-05-16T19:24:15.000Z
lagunita/Bitmaps.hpp
renato-grottesi/arduboy
7bf33ef64a18b0ae783819e2a4e498b5ab442bdd
[ "MIT" ]
39
2019-08-28T21:53:40.000Z
2020-03-08T17:54:18.000Z
lagunita/Bitmaps.hpp
renato-grottesi/arduboy
7bf33ef64a18b0ae783819e2a4e498b5ab442bdd
[ "MIT" ]
2
2019-08-28T18:57:00.000Z
2021-12-10T20:11:18.000Z
#pragma once #include <avr/io.h> #include <avr/pgmspace.h> /* * Game bitmaps stored in PROGMEM */ const unsigned char PROGMEM bmp_selection[] = { 0b00010000, /**/ 0b00110000, /**/ 0b01111111, /**/ 0b11111111, /**/ 0b01111111, /**/ 0b00110000, /**/ 0b00010000, /**/ 0b00000000, /**/ }...
20.764157
71
0.482468
renato-grottesi
b5f2a8938b8d7fe5b646a25e219fa75817459568
2,533
hpp
C++
source/Scene/Scene.hpp
zeskeertwee/Engine
919d9cff18fa16a828ab3dc382f1f8e13337acfc
[ "MIT" ]
null
null
null
source/Scene/Scene.hpp
zeskeertwee/Engine
919d9cff18fa16a828ab3dc382f1f8e13337acfc
[ "MIT" ]
null
null
null
source/Scene/Scene.hpp
zeskeertwee/Engine
919d9cff18fa16a828ab3dc382f1f8e13337acfc
[ "MIT" ]
null
null
null
#ifndef SCENE_HPP #define SCENE_HPP #include "Entity.hpp" #include <vector> #include<glm/glm.hpp> #include<glm/gtc/quaternion.hpp> #include<glm/common.hpp> //#include <string> class Scene { private: std::string m_Name; std::vector<Entity> m_Entities; int m_MaxID; public: void...
35.180556
123
0.543624
zeskeertwee
b5f3326aac4c6689e83295886f8df766f82cd3ca
5,733
cpp
C++
examples/playground/skeleton.cpp
lvandam/universal
a60558cce12213afa166904d774905df0684fb3f
[ "MIT" ]
null
null
null
examples/playground/skeleton.cpp
lvandam/universal
a60558cce12213afa166904d774905df0684fb3f
[ "MIT" ]
null
null
null
examples/playground/skeleton.cpp
lvandam/universal
a60558cce12213afa166904d774905df0684fb3f
[ "MIT" ]
null
null
null
// skeleton.cpp example showing the basic program structure to use custom posit configurations // // Copyright (C) 2017-2018 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. // enable the mathematical constants in cmath #defin...
26.915493
106
0.655154
lvandam
b5f405bb6f195cc6d4312d13e0aee3c1e76bc8af
2,178
cpp
C++
tests/main.cpp
LoungeCPP/PicturaMediocritas
f0aa7aa1d3ad7bfb997550529b31d164bb63e448
[ "MIT" ]
null
null
null
tests/main.cpp
LoungeCPP/PicturaMediocritas
f0aa7aa1d3ad7bfb997550529b31d164bb63e448
[ "MIT" ]
6
2017-11-19T18:04:42.000Z
2017-12-30T19:32:03.000Z
tests/main.cpp
LoungeCPP/PicturaMediocritas
f0aa7aa1d3ad7bfb997550529b31d164bb63e448
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2017 Lounge<C++> // 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, m...
27.225
83
0.719927
LoungeCPP
b5f6611d218d34e794da1089764f0d59cd92ca24
760
cpp
C++
InClass/InClass1/RealPrimes.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
InClass/InClass1/RealPrimes.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
InClass/InClass1/RealPrimes.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; bool isPrime(int x) { for( int i = 2; i < int(sqrt(x)) + 1; i++) { if( x % i == 0) return false; } return true; } int swap(int x) { int temp = 0; while(x > 0) { temp *= 10; temp += x % 10; ...
16.521739
46
0.360526
zyzkevin
bd0da2751b450638250eae1d93e3c146cf0cedef
2,907
cpp
C++
modules/engine/src/Render/Camcorder.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
1
2016-11-12T02:43:29.000Z
2016-11-12T02:43:29.000Z
modules/engine/src/Render/Camcorder.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
modules/engine/src/Render/Camcorder.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
#include <randar/Render/Canvas.hpp> #include <randar/Render/Camcorder.hpp> #include <randar/System/Directory.hpp> #include <randar/System/Execute.hpp> // Constructors. randar::Camcorder::Camcorder() { } randar::Camcorder::Camcorder(randar::Canvas& canvas) { this->watch(canvas); } // Assignment. randar::Camcorde...
23.827869
80
0.619195
litty-studios
bd171bbf5b8bc1c14891de57e5ea7eb024898b0d
349
hpp
C++
libs/core/input/include/bksge/core/input/win32/dinput.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/input/include/bksge/core/input/win32/dinput.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/input/include/bksge/core/input/win32/dinput.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file dinput.hpp * * @brief dinput.h をインクルードするときは代わりにこのファイルをインクルードする * * @author myoukaku */ #ifndef BKSGE_CORE_INPUT_WIN32_DINPUT_HPP #define BKSGE_CORE_INPUT_WIN32_DINPUT_HPP #include <bksge/core/detail/win32.hpp> #define DIRECTINPUT_VERSION 0x0800 #include <dinput.h> #endif // BKSGE_...
19.388889
51
0.747851
myoukaku
bd17381d7dde0da0aabdfaa6c6c1b5137cccc029
479
cpp
C++
src/main.cpp
AlaaAlassi/CppND-System-Monitor
437a10143384742a5e9c40b323c5e16ab04a8923
[ "MIT" ]
null
null
null
src/main.cpp
AlaaAlassi/CppND-System-Monitor
437a10143384742a5e9c40b323c5e16ab04a8923
[ "MIT" ]
null
null
null
src/main.cpp
AlaaAlassi/CppND-System-Monitor
437a10143384742a5e9c40b323c5e16ab04a8923
[ "MIT" ]
null
null
null
#include "ncurses_display.h" #include "system.h" #include "linux_parser.h" #include <iostream> #include<algorithm> int main() { std::vector<Process> processes; int n = 20; std::vector<int> pidVector = LinuxParser::Pids(); for (auto pid:pidVector){ processes.push_back(Process(pid)); } std::sort(processes.begi...
23.95
50
0.720251
AlaaAlassi
bd1d21a048941d49866df0247b6fcf9a5715b8fe
2,418
cpp
C++
src/main.cpp
rbrugo/gravity
91076be02960e73cddebb962a2eeee1c95c6342f
[ "MIT" ]
1
2020-03-30T19:42:41.000Z
2020-03-30T19:42:41.000Z
src/main.cpp
rbrugo/gravity
91076be02960e73cddebb962a2eeee1c95c6342f
[ "MIT" ]
2
2020-03-31T14:24:51.000Z
2020-11-30T12:50:57.000Z
src/main.cpp
rbrugo/gravity
91076be02960e73cddebb962a2eeee1c95c6342f
[ "MIT" ]
null
null
null
/** * @author : Riccardo Brugo (brugo.riccardo@gmail.com) * @file : main * @created : Saturday Jan 11, 2020 17:08:18 CET */ #include "common.hpp" // for common utils - also includes entt, linear_algebra and units #include "simulation.hpp" #include "config.hpp" // for "...
43.178571
149
0.581886
rbrugo
bd1f63d7499d014978bbeb5e62c39b69a40221fe
4,531
hpp
C++
GSGL/src/data/stack.hpp
kulibali/periapsis
8a8588caff526d3b17604c96338145329be160b8
[ "MIT" ]
null
null
null
GSGL/src/data/stack.hpp
kulibali/periapsis
8a8588caff526d3b17604c96338145329be160b8
[ "MIT" ]
null
null
null
GSGL/src/data/stack.hpp
kulibali/periapsis
8a8588caff526d3b17604c96338145329be160b8
[ "MIT" ]
null
null
null
#ifndef GSGL_DATA_STACK_H #define GSGL_DATA_STACK_H // // $Id$ // // Copyright (c) 2008, The Periapsis Project. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redis...
31.465278
138
0.565879
kulibali
bd21abce3e5775344d80f95beaee0ecfe955ab64
3,467
cpp
C++
ex2/main.cpp
sugartastic81/MCI_DiBSE21_MSE2
5565cbe7996402d70483bb5e63dfc0dc9389f0d7
[ "Unlicense" ]
null
null
null
ex2/main.cpp
sugartastic81/MCI_DiBSE21_MSE2
5565cbe7996402d70483bb5e63dfc0dc9389f0d7
[ "Unlicense" ]
null
null
null
ex2/main.cpp
sugartastic81/MCI_DiBSE21_MSE2
5565cbe7996402d70483bb5e63dfc0dc9389f0d7
[ "Unlicense" ]
null
null
null
// // Created by juerg on 20.02.2022. // #include <iostream> #include "character.h" #include "hero.h" #include "item.h" using namespace std; struct BADDIE { Character baddieCharacter; Item baddieItems[STARTINGINVENTORY]; }; int main() { int i, j; srand( (unsigned) time(nullptr)); // Initialisie...
36.494737
132
0.628497
sugartastic81
bd23dbfb6d9c25b4b625f161218c6df13b825361
8,282
cpp
C++
test_suite/PenControllerTest.cpp
Massless-io/OpenVRDriver_MasslessPen
bce3c01877752d4e9c2135dec3e56b40e956ae60
[ "BSD-3-Clause-Clear", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
test_suite/PenControllerTest.cpp
Massless-io/OpenVRDriver_MasslessPen
bce3c01877752d4e9c2135dec3e56b40e956ae60
[ "BSD-3-Clause-Clear", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
test_suite/PenControllerTest.cpp
Massless-io/OpenVRDriver_MasslessPen
bce3c01877752d4e9c2135dec3e56b40e956ae60
[ "BSD-3-Clause-Clear", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2020 Massless Corp. - All Rights Reserved * Author: Jacob Hilton. * You may use, distribute and modify this code under the * terms of the BSD 3-Clause "New" or "Revised" License. * * You should have received a copy of this license with * this file. If not, please email support@massless.io */ #i...
52.08805
212
0.743661
Massless-io
bd25a9f7feefacc3ae57b99ede0a8745e4d1aef8
905
cpp
C++
Examples/Effect/R_O_I/R_O_I_Strings.cpp
richardlalancette/AfterEffectsExperimentations
5eae44e81c867ee44d00f88aaefaef578f7c3de7
[ "MIT" ]
2
2021-10-09T03:47:42.000Z
2022-02-06T06:34:31.000Z
Examples/Effect/R_O_I/R_O_I_Strings.cpp
richardlalancette/AfterEffectsExperimentations
5eae44e81c867ee44d00f88aaefaef578f7c3de7
[ "MIT" ]
null
null
null
Examples/Effect/R_O_I/R_O_I_Strings.cpp
richardlalancette/AfterEffectsExperimentations
5eae44e81c867ee44d00f88aaefaef578f7c3de7
[ "MIT" ]
null
null
null
/* R_O_I_Strings.cpp */ #include "R_O_I.h" typedef struct { unsigned long index; char str[256]; } TableString; TableString g_strs[StrID_NUMTYPES] = { StrID_NONE, "", StrID_Name, "R_O_I", StrID_Description, "A SmartFX-ified exercise of our processing callbacks.\nCopyright 2007 Adobe Systems Incor...
29.193548
123
0.738122
richardlalancette
bd25d4e15e8ed7cbd1056fceeb73a8f695db78da
8,152
cpp
C++
StereoCamera.cpp
lidiawu/OpenARK
e98e29a3f1f7d5db7067d7ae6943f1775a936fc9
[ "Apache-2.0" ]
280
2017-04-12T06:14:12.000Z
2022-02-13T15:09:47.000Z
StereoCamera.cpp
lidiawu/OpenARK
e98e29a3f1f7d5db7067d7ae6943f1775a936fc9
[ "Apache-2.0" ]
33
2017-06-02T04:32:58.000Z
2021-12-18T20:18:35.000Z
StereoCamera.cpp
lidiawu/OpenARK
e98e29a3f1f7d5db7067d7ae6943f1775a936fc9
[ "Apache-2.0" ]
122
2017-03-29T17:49:19.000Z
2022-01-12T21:01:12.000Z
#include "stdafx.h" #include "Version.h" #include "StereoCamera.h" #include "Visualizer.h" namespace ark { StereoCamera::StereoCamera(StereoCalibration::Ptr calib, std::function<cv::Mat(void)> imageSource, SGBMConfig::Ptr sgbmConf) : StereoCamera(calib, sgbmConf) { imageSource = imageSource; ...
37.394495
158
0.603778
lidiawu
bd29312b2596beea90ea43cb6800ea1058ec28cf
2,010
cpp
C++
src/tools/geant4/MTRunManager.cpp
bencline1/Allpix_GaAs
c4922dc9d981aca265e076eb5bfe4cefe51913a2
[ "MIT" ]
3
2019-03-04T22:31:32.000Z
2021-04-20T11:19:17.000Z
src/tools/geant4/MTRunManager.cpp
bencline1/Allpix_GaAs
c4922dc9d981aca265e076eb5bfe4cefe51913a2
[ "MIT" ]
27
2019-04-01T12:25:46.000Z
2021-09-03T12:20:19.000Z
src/tools/geant4/MTRunManager.cpp
bencline1/Allpix_GaAs
c4922dc9d981aca265e076eb5bfe4cefe51913a2
[ "MIT" ]
15
2017-08-08T14:57:51.000Z
2021-06-26T17:16:21.000Z
/** * @file * @brief Implementation of MTRunManager * @copyright Copyright (c) 2019 CERN and the Allpix Squared authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the privileges and immunities granted...
31.904762
122
0.730846
bencline1
bd2ff3cca3019bea1bec74dcc0eb621f5a9c3393
88
cpp
C++
samples/02_oop/2017/Functions/functions.cpp
code-hunger/lecture-notes
0200c57a4c2539b4d8b7cb172c2b6e4f5c689268
[ "MIT" ]
32
2016-11-24T01:40:21.000Z
2021-11-01T19:24:22.000Z
samples/02_oop/2017/Functions/functions.cpp
code-hunger/lecture-notes
0200c57a4c2539b4d8b7cb172c2b6e4f5c689268
[ "MIT" ]
6
2016-10-15T05:57:00.000Z
2021-08-13T12:29:24.000Z
samples/02_oop/2017/Functions/functions.cpp
code-hunger/lecture-notes
0200c57a4c2539b4d8b7cb172c2b6e4f5c689268
[ "MIT" ]
49
2016-01-26T13:36:02.000Z
2022-03-16T10:24:41.000Z
#include "functions.h" double Function::operator () (double x) { return value (x); }
12.571429
39
0.659091
code-hunger
bd308af7cca03c0e8b8806b6d373c24bd5b6d846
1,491
hpp
C++
code/adobe.poly/adobe/localization.hpp
andyprowl/virtual-concepts
ed3a5690c353b6998abcd3368a9b448f1bb2aa19
[ "Unlicense" ]
59
2015-04-01T12:55:36.000Z
2021-06-22T02:46:20.000Z
adobe/localization.hpp
brycelelbach/asl
df0d271f6c67fbb944039a9455c4eb69ae6df141
[ "MIT" ]
1
2015-06-29T14:51:55.000Z
2015-06-29T16:40:26.000Z
adobe/localization.hpp
brycelelbach/asl
df0d271f6c67fbb944039a9455c4eb69ae6df141
[ "MIT" ]
5
2016-04-19T09:21:11.000Z
2021-12-29T09:48:09.000Z
/* Copyright 2005-2007 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://stlab.adobe.com/licenses.html) */ /*************************************************************************************************/ #ifndef ADOBE_LOCALIZATION_...
28.132075
99
0.39772
andyprowl
bd3d4198da628972ea5639f7ea5c90c6274dba8b
14,916
cpp
C++
src/solvers/flattening/flatten_byte_operators.cpp
lihaol/cbmc
ea3a21fb0a4e9775736cac4abf2bedfd410c7885
[ "BSD-4-Clause" ]
1
2021-08-17T08:41:12.000Z
2021-08-17T08:41:12.000Z
src/solvers/flattening/flatten_byte_operators.cpp
lihaol/cbmc
ea3a21fb0a4e9775736cac4abf2bedfd410c7885
[ "BSD-4-Clause" ]
null
null
null
src/solvers/flattening/flatten_byte_operators.cpp
lihaol/cbmc
ea3a21fb0a4e9775736cac4abf2bedfd410c7885
[ "BSD-4-Clause" ]
null
null
null
/*******************************************************************\ Module: Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include <util/expr.h> #include <util/std_types.h> #include <util/std_expr.h> #include <util/arith_tools.h> #include <uti...
28.795367
84
0.609681
lihaol
bd400ee273f8d8d2fda27328da4494ccd05d3426
47
hpp
C++
src/boost_multi_array_storage_order.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_multi_array_storage_order.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_multi_array_storage_order.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/multi_array/storage_order.hpp>
23.5
46
0.829787
miathedev
bd42a39f018f8ceb0d39eafbfbdf3f4765e8a835
1,006
cpp
C++
Strings/BinaryRepresentationsAnagram.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
Strings/BinaryRepresentationsAnagram.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
Strings/BinaryRepresentationsAnagram.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
// https://www.geeksforgeeks.org/check-binary-representations-two-numbers-anagram/ #include<bits/stdc++.h> #include<algorithm> #include<iostream> #include<vector> #include<chrono> using namespace std; using namespace std::chrono; int main() { auto start = high_resolution_clock::now(); int a = 8; int b =...
17.964286
82
0.488072
sachanakshat
bd46b2bd6016050deed0e53671829cbf9068f314
802
cpp
C++
Source/HideAndSeekWithAI/TObstacle.cpp
NuLL3rr0r/HideAndSeekWithAI
7715a58e0c8953ae5328aa2a6c8f19bf18f04f54
[ "Unlicense", "MIT" ]
5
2020-07-03T11:50:59.000Z
2020-08-01T17:16:40.000Z
Source/HideAndSeekWithAI/TObstacle.cpp
NuLL3rr0r/HideAndSeekWithAI
7715a58e0c8953ae5328aa2a6c8f19bf18f04f54
[ "Unlicense", "MIT" ]
null
null
null
Source/HideAndSeekWithAI/TObstacle.cpp
NuLL3rr0r/HideAndSeekWithAI
7715a58e0c8953ae5328aa2a6c8f19bf18f04f54
[ "Unlicense", "MIT" ]
1
2021-09-02T12:56:48.000Z
2021-09-02T12:56:48.000Z
#include "TObstacle.h" #include "HideAndSeekWithAI.h" #include <Components/StaticMeshComponent.h> ATObstacle::ATObstacle( const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { PrimaryActorTick.bCanEverTick = false; Mesh = ObjectInitializer.CreateDefaultSubobject<UStaticMeshCom...
29.703704
74
0.69202
NuLL3rr0r
bd4c647d23d3da78454bfb3dac95d388a56fe7af
321
cpp
C++
SceneServer/SSBattleMgr/SSBTreeCon_NotSilence.cpp
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
6
2019-07-15T23:55:15.000Z
2020-09-07T15:07:54.000Z
SceneServer/SSBattleMgr/SSBTreeCon_NotSilence.cpp
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
null
null
null
SceneServer/SSBattleMgr/SSBTreeCon_NotSilence.cpp
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
7
2019-07-15T23:55:24.000Z
2021-08-10T07:49:05.000Z
#include "SSBTreeCon_NotSilence.h" #include "SSAI_HeroRobot.h" #include "SSHero.h" namespace SceneServer{ BOOLEAN CSSBTreeCon_NotSilence::Travel(CSSAI_HeroRobot* pAI,CSSBTreeNode *&pActionNode,vector<SBTreeResult> *rstVec){ CSSHero* pHero = pAI->GetHero(); return pHero->GetFPData(eEffectCate_Silence) <= 0; } }...
26.75
118
0.76947
tsymiar
bd529969e591db3087dd1f1bbe63b49bfda05e78
3,901
cpp
C++
samples/mesh_rendering/main.cpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
1
2018-05-29T07:55:52.000Z
2018-05-29T07:55:52.000Z
samples/mesh_rendering/main.cpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
null
null
null
samples/mesh_rendering/main.cpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "ARVisualizer.hpp" /* A small sample application to show basic usage of ARVisualizer This sample just uses ARVisualizer to create and render several simple 3D meshes. */ int main(void) { ar::ARVisualizer* visualizer = new ar::ARVisualizer(); // Start the visu...
33.059322
121
0.604973
am-lola
32e8a362faf57fcaf53b7ee011b77abe22f33dcb
3,382
hpp
C++
include/RadonFramework/Core/Pattern/Signal.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
3
2015-09-15T06:57:50.000Z
2021-03-16T19:05:02.000Z
include/RadonFramework/Core/Pattern/Signal.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
2
2015-09-26T12:41:10.000Z
2015-12-08T08:41:37.000Z
include/RadonFramework/Core/Pattern/Signal.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
1
2015-07-09T02:56:34.000Z
2015-07-09T02:56:34.000Z
#ifndef RF_CORE_PATTERN_SIGNAL_HPP #define RF_CORE_PATTERN_SIGNAL_HPP #if _MSC_VER > 1000 #pragma once #endif #include <RadonFramework/Collections/List.hpp> #include <RadonFramework/Core/Pattern/Delegate.hpp> #include <RadonFramework/System/Threading/Mutex.hpp> #include <RadonFramework/Threading/Scopelock.hpp> namesp...
22.697987
61
0.683028
tak2004
32f2709f305e2052d9922892f5a6dc203a90725d
797
hh
C++
Engine/spcCore/graphics/projector.hh
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
null
null
null
Engine/spcCore/graphics/projector.hh
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
1
2021-09-09T12:51:56.000Z
2021-09-09T12:51:56.000Z
Engine/spcCore/graphics/projector.hh
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <spcCore/coreexport.hh> #include <spcCore/graphics/eprojectionmode.hh> #include <spcCore/math/vector3f.hh> namespace spc { struct iDevice; class SPC_CORE_API Projector { public: Projector(); void UpdatePerspective(float angle, float aspect, float near, float far); void UpdatePerspectiv...
19.439024
98
0.74404
marcellfischbach
32f84365ad59b84ccd9e0b54482fc1750f296ef0
465
cpp
C++
rotate_d.cpp
AntarikshaKar/Practice_programs
5e7653f9549d69792d0aad363a59309b889fff70
[ "MIT" ]
null
null
null
rotate_d.cpp
AntarikshaKar/Practice_programs
5e7653f9549d69792d0aad363a59309b889fff70
[ "MIT" ]
null
null
null
rotate_d.cpp
AntarikshaKar/Practice_programs
5e7653f9549d69792d0aad363a59309b889fff70
[ "MIT" ]
null
null
null
#include<iostream> void rotate(int a[],int d,int kc); int main(){ int a[]={2,3,4,5,6}; int d=3; int kc=sizeof(a)/sizeof(a[0]); rotate(a,d,kc); return 0; } void rotate(int a[],int d, int kc){ int size_on=(sizeof(a[kc])/sizeof(a[0])); int temp; for(int i=0; i < d;i++) { temp=a[0]; for(int j=0; j < size_on;j++){...
10.333333
41
0.529032
AntarikshaKar
32fca77e6b3e8570c9981e3d3e6898a6bf62d108
61
cpp
C++
State/Memory.cpp
dllexport/cxxredis
91bebcea1c873b868a538742b17f3cf02f077de1
[ "BSD-3-Clause" ]
null
null
null
State/Memory.cpp
dllexport/cxxredis
91bebcea1c873b868a538742b17f3cf02f077de1
[ "BSD-3-Clause" ]
null
null
null
State/Memory.cpp
dllexport/cxxredis
91bebcea1c873b868a538742b17f3cf02f077de1
[ "BSD-3-Clause" ]
null
null
null
// // Created by Mario on 2020/5/27. // #include "Memory.h"
10.166667
33
0.606557
dllexport
fd0213665d7d5df7f84df23bec620dc639465a14
332
hpp
C++
test/freertos/flag_under_test_definition.hpp
KKoovalsky/JunglesOsHelpers
d0644fbb6eacbef5190a1c85f5640a3df60abb9b
[ "MIT" ]
null
null
null
test/freertos/flag_under_test_definition.hpp
KKoovalsky/JunglesOsHelpers
d0644fbb6eacbef5190a1c85f5640a3df60abb9b
[ "MIT" ]
null
null
null
test/freertos/flag_under_test_definition.hpp
KKoovalsky/JunglesOsHelpers
d0644fbb6eacbef5190a1c85f5640a3df60abb9b
[ "MIT" ]
null
null
null
/** * @file test_flag_impl.cpp * @brief Defines the implementation for flag for the generic test. * @author Kacper Kowalski - kacper.s.kowalski@gmail.com */ #include <memory> #include "jungles_os_helpers/freertos/flag.hpp" jungles::freertos::flag get_flag_implementation_under_test() { return jungles::freertos...
23.714286
67
0.746988
KKoovalsky
fd0259cb04ef1b4d93bd5b63a875397b2b89e7fc
950
cpp
C++
waterbox/bsnescore/bsnes/sfc/coprocessor/icd/serialization.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
waterbox/bsnescore/bsnes/sfc/coprocessor/icd/serialization.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
waterbox/bsnescore/bsnes/sfc/coprocessor/icd/serialization.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
auto ICD::serialize(serializer& s) -> void { Thread::serialize(s); auto size = GB_get_save_state_size(&sameboy); auto data = new uint8_t[size]; if(s.mode() == serializer::Save) { GB_save_state_to_buffer(&sameboy, data); } s.array(data, size); if(s.mode() == serializer::Load) { GB_load_state_from_...
21.590909
52
0.670526
Fortranm
fd0260683635f8e61de473cc91d9dceabdaeb5e0
8,630
hpp
C++
include/utils.hpp
wolfv/powerloader
7240c3cea10a8b48a8512f82fdd21b9cbb8d5424
[ "BSD-3-Clause" ]
6
2021-09-15T17:21:54.000Z
2021-11-16T18:35:58.000Z
include/utils.hpp
wolfv/powerloader
7240c3cea10a8b48a8512f82fdd21b9cbb8d5424
[ "BSD-3-Clause" ]
9
2021-09-19T21:38:58.000Z
2021-10-02T06:48:53.000Z
include/utils.hpp
wolfv/powerloader
7240c3cea10a8b48a8512f82fdd21b9cbb8d5424
[ "BSD-3-Clause" ]
2
2021-09-22T12:42:55.000Z
2021-09-22T17:31:35.000Z
#pragma once #include <array> #include <algorithm> #include <fstream> #include <filesystem> #include <iomanip> #include <iostream> #include <sstream> #include <string_view> #include <cctype> namespace fs = std::filesystem; extern "C" { #include <openssl/evp.h> } namespace powerloader { inline bool is_sig_interr...
27.928803
94
0.52445
wolfv
fd046dc2fd9d4cafe714b9704d1c5e6815a2b2e9
11,361
cpp
C++
MapManager.cpp
alaar/Dungeons-and-Dragons
62201ac5726069625697485000b9b121a88e6df0
[ "MIT" ]
null
null
null
MapManager.cpp
alaar/Dungeons-and-Dragons
62201ac5726069625697485000b9b121a88e6df0
[ "MIT" ]
null
null
null
MapManager.cpp
alaar/Dungeons-and-Dragons
62201ac5726069625697485000b9b121a88e6df0
[ "MIT" ]
null
null
null
/// /// This runs everything, it starts a fresh campaign, so to use it start /// by creating a map, it automatically saves, then you click save campaign, /// it saves the campaign, u can load it and display the maps in it, /// and the actual map itself.. /// #include "MapManager.h" void Flush() { cin.clear(); cin...
30.956403
103
0.471261
alaar
fd06dbbc4edf28d41261ed35c3a616a6aeee369b
1,320
hpp
C++
ROBOT-GRASP/include/Opencv.hpp
IDLER1229/ROBOT-GRASP
f83590c0552da3058d98b18e6174235b5eb10939
[ "MIT" ]
null
null
null
ROBOT-GRASP/include/Opencv.hpp
IDLER1229/ROBOT-GRASP
f83590c0552da3058d98b18e6174235b5eb10939
[ "MIT" ]
null
null
null
ROBOT-GRASP/include/Opencv.hpp
IDLER1229/ROBOT-GRASP
f83590c0552da3058d98b18e6174235b5eb10939
[ "MIT" ]
null
null
null
#pragma once /************************************************************************/ /* namespace std */ /************************************************************************/ #include "Common.hpp" /**********************************************************...
32.195122
94
0.381818
IDLER1229
fd0d2c58d3b60ede726c686f23ca37a2c44b0679
1,422
cpp
C++
112-path-sum/path-sum.cpp
xiechengsheng/leetcode
1775838165ffdf7948862b746a562d2e1cd571b8
[ "Apache-2.0" ]
null
null
null
112-path-sum/path-sum.cpp
xiechengsheng/leetcode
1775838165ffdf7948862b746a562d2e1cd571b8
[ "Apache-2.0" ]
null
null
null
112-path-sum/path-sum.cpp
xiechengsheng/leetcode
1775838165ffdf7948862b746a562d2e1cd571b8
[ "Apache-2.0" ]
null
null
null
// // Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. // // // For example: // Given the below binary tree and sum = 22, // // 5 // / \ // 4 8 // / / \ // ...
24.947368
151
0.489451
xiechengsheng
fd12d68d86350eec26e8db40846526111d2301c8
668
cc
C++
mm/mm.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
3
2019-08-01T03:16:31.000Z
2022-02-17T06:52:26.000Z
mm/mm.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
32
2018-03-26T20:10:44.000Z
2020-07-13T03:01:42.000Z
mm/mm.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
1
2018-08-29T21:31:06.000Z
2018-08-29T21:31:06.000Z
#include <boot/info.h> #include <kernel.h> #include <mm/page.h> #include <mm/physical.h> namespace memory { void __attribute__((weak)) arch_pre_init(struct boot::info& info) { } void __attribute__((weak)) arch_init(struct boot::info& info) { } void __attribute__((weak)) arch_post_init(struct boot::info& info) { } vo...
20.875
66
0.661677
PoisonNinja
fd1bf0f3e842df7ce4f689e69c3cae771085ef0a
4,432
cpp
C++
src/mapper/InfoNES_Mapper_065.cpp
jay-kumogata/InfoNES
045dd572123753cd53bbbcd387b70a66d0a8562c
[ "Apache-2.0" ]
6
2019-05-10T02:09:55.000Z
2021-09-16T09:10:14.000Z
src/mapper/InfoNES_Mapper_065.cpp
b004004/InfoNES-1
045dd572123753cd53bbbcd387b70a66d0a8562c
[ "Apache-2.0" ]
null
null
null
src/mapper/InfoNES_Mapper_065.cpp
b004004/InfoNES-1
045dd572123753cd53bbbcd387b70a66d0a8562c
[ "Apache-2.0" ]
1
2019-05-10T16:02:51.000Z
2019-05-10T16:02:51.000Z
/*===================================================================*/ /* */ /* Mapper 65 (Irem H3001) */ /* */ /*==========================...
25.618497
78
0.442464
jay-kumogata
fd2115b3b0d8151464f47b5909fb4681ee62731f
2,289
cpp
C++
src/tdme/tools/shared/controller/ProgressBarScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/shared/controller/ProgressBarScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/shared/controller/ProgressBarScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/tools/shared/controller/ProgressBarScreenController.h> #include <string> #include <tdme/application/Application.h> #include <tdme/engine/Engine.h> #include <tdme/gui/GUI.h> #include <tdme/gui/GUIParser.h> #include <tdme/gui/events/GUIActionListener_Type.h> #include <tdme/gui/nodes/GUIElementNode.h> #in...
27.914634
92
0.771079
mahula
fd2258c33fdb594a729a7df8d8c508a66c57f721
1,083
cpp
C++
software/src/master/src/kernel/Vca_IBinding.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
30
2016-10-07T15:23:35.000Z
2020-03-25T20:01:30.000Z
src/kernel/Vca_IBinding.cpp
MichaelJCaruso/vision-software-src-master
12b1b4f12a7531fe6e3cbb6861b40ac8e1985b92
[ "BSD-3-Clause" ]
30
2016-10-31T19:48:08.000Z
2021-04-28T01:31:53.000Z
software/src/master/src/kernel/Vca_IBinding.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
15
2016-10-07T16:44:13.000Z
2021-06-21T18:47:55.000Z
/***** Vca_IBinding Implementation *****/ /************************ ************************ ***** Interfaces ***** ************************ ************************/ /******************** ***** System ***** ********************/ #include "Vk.h" /****************** ***** Self ***** *****************...
21.66
74
0.401662
c-kuhlman
fd25e46c0a8a336a035995766cd6152d35741784
719
hpp
C++
impl/jamtemplate/common/tilemap/object_layer.hpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
6
2021-09-05T08:31:36.000Z
2021-12-09T21:14:37.000Z
impl/jamtemplate/common/tilemap/object_layer.hpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
30
2021-05-19T15:33:03.000Z
2022-03-30T19:26:37.000Z
impl/jamtemplate/common/tilemap/object_layer.hpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
3
2021-05-23T16:06:01.000Z
2021-10-01T01:17:08.000Z
#ifndef GUARD_JAMTEMPLATE_OBJECTLAYER_HPP #define GUARD_JAMTEMPLATE_OBJECTLAYER_HPP #include "info_rect.hpp" #include "tileson.h" #include <map> #include <memory> #include <string> #include <vector> namespace jt { namespace tilemap { class ObjectLayer { public: using Sptr = std::shared_ptr<ObjectLayer>; ///...
21.147059
81
0.726008
runvs
fd29ed57a14a7d153b2ede587601103de27d5430
8,082
cpp
C++
lab_5/main.cpp
yuriyzakharchuk/cyb_sec
b32a675a023fc64eac068fdaa97804cba6880ddc
[ "MIT" ]
2
2020-11-01T19:26:13.000Z
2020-11-19T23:16:06.000Z
lab_5/main.cpp
yuriyzakharchuk/cyb_sec
b32a675a023fc64eac068fdaa97804cba6880ddc
[ "MIT" ]
null
null
null
lab_5/main.cpp
yuriyzakharchuk/cyb_sec
b32a675a023fc64eac068fdaa97804cba6880ddc
[ "MIT" ]
null
null
null
// Base64 encoding/decoding from https://stackoverflow.com/questions/5288076/base64-encoding-and-decoding-with-openssl #include <iostream> #include <string> #include <fstream> #include <cassert> #include <cstring> extern "C" { #include <openssl/evp.h> } constexpr size_t KEY_SIZEOF { 16 }; constexpr size_t IV_SIZEOF ...
32.720648
118
0.563598
yuriyzakharchuk
fd2a87ece620556480792f78d2656742d21a3dcf
403
cpp
C++
source/detail/arch/impl.cpp
Smertig/rcmp
72cef849f9de81f483347ae045ac02b3401f9aa2
[ "MIT" ]
41
2020-10-03T20:44:52.000Z
2022-03-09T07:07:16.000Z
source/detail/arch/impl.cpp
Smertig/rcmp
72cef849f9de81f483347ae045ac02b3401f9aa2
[ "MIT" ]
1
2020-11-09T13:11:47.000Z
2020-11-09T14:08:27.000Z
source/detail/arch/impl.cpp
Smertig/rcmp
72cef849f9de81f483347ae045ac02b3401f9aa2
[ "MIT" ]
3
2020-10-04T15:10:11.000Z
2021-01-18T05:16:07.000Z
#include <rcmp/detail/config.hpp> #if RCMP_GET_ARCH() == RCMP_ARCH_X86 static_assert(sizeof(void*) == 4); #include "x86/impl.cpp" #elif RCMP_GET_ARCH() == RCMP_ARCH_X86_64 static_assert(sizeof(void*) == 8); #include "x86-64/impl.cpp" #elif RCMP_GET_ARCH() == RCMP_ARCH_ARM64 static_assert(sizeof(voi...
26.866667
41
0.692308
Smertig
fd34b49bc9679875ce67fed52a8a6d4739da1869
4,618
cpp
C++
AATelloEngine/UniformHandle.cpp
jose-tello/TelloEngine
37593701c5191cf766c872dda445505781d1f32e
[ "MIT" ]
null
null
null
AATelloEngine/UniformHandle.cpp
jose-tello/TelloEngine
37593701c5191cf766c872dda445505781d1f32e
[ "MIT" ]
null
null
null
AATelloEngine/UniformHandle.cpp
jose-tello/TelloEngine
37593701c5191cf766c872dda445505781d1f32e
[ "MIT" ]
null
null
null
#include "UniformHandle.h" UniformHandle::UniformHandle(std::string& name, VARIABLE_TYPE type) : name(name), type(type) { memset(mat4, 0, sizeof(mat4)); } const char* UniformHandle::GetName() const { return name.c_str(); } VARIABLE_TYPE UniformHandle::GetVartiableType() const { return type; } bool Uniform...
15.291391
69
0.630793
jose-tello
fd399c0082fc862d304319d37d948eac88033ca4
6,527
cc
C++
mayz-src/TreeConverter.cc
mynlp/enju
d984a630b30b95de16f3b715277e95dc6fbe15b4
[ "Apache-2.0" ]
48
2016-10-11T06:07:02.000Z
2022-03-02T16:26:25.000Z
mayz-src/TreeConverter.cc
mynlp/enju
d984a630b30b95de16f3b715277e95dc6fbe15b4
[ "Apache-2.0" ]
7
2017-02-13T09:14:34.000Z
2019-01-18T06:06:29.000Z
mayz-src/TreeConverter.cc
mynlp/enju
d984a630b30b95de16f3b715277e95dc6fbe15b4
[ "Apache-2.0" ]
18
2016-11-13T23:14:28.000Z
2022-01-12T15:21:44.000Z
/********************************************************************** * * Copyright (c) 2005, Tsujii Laboratory, The University of Tokyo. * All rights reserved. * * @file TreeConverter.cc * @version Time-stamp: <2005-06-21 19:00:57 yusuke> * Converting trees using pattern rules * ***********************...
38.394118
122
0.562739
mynlp
fd39c066b9ff18a05137520dc756e4dcaa5bf2e4
629
cpp
C++
src/LcdTask.cpp
stefunkk/openstill
17cc439fe9dbe7dea02588d77e51652fc1cc50ce
[ "MIT" ]
1
2021-02-13T08:40:50.000Z
2021-02-13T08:40:50.000Z
src/LcdTask.cpp
stefunkk/openstill
17cc439fe9dbe7dea02588d77e51652fc1cc50ce
[ "MIT" ]
null
null
null
src/LcdTask.cpp
stefunkk/openstill
17cc439fe9dbe7dea02588d77e51652fc1cc50ce
[ "MIT" ]
null
null
null
#include "LcdTask.h" LcdTaskClass::LcdTaskClass(StillDataContextClass& context, SensorDataClass& sensorData, LcdServiceClass& lcdService): _context(context), _sensorData(sensorData), _lcdService(lcdService) { } uint32_t LcdTaskClass::timeOfNextCheck() { setTriggered(true); return millisToMicros(1000); } void LcdT...
20.290323
117
0.756757
stefunkk
fd4419fc7a2a06f279b8854ad0d3305ea7a7b651
2,847
cpp
C++
oym8CHWave/dialogdevice.cpp
oymotion/oym8CHWave
1d07e28f53a14dea4884b15c7cef731caa228ebd
[ "Apache-2.0" ]
10
2020-07-04T02:59:20.000Z
2022-03-01T09:14:43.000Z
oym8CHWave/dialogdevice.cpp
oymotion/oym8CHWave
1d07e28f53a14dea4884b15c7cef731caa228ebd
[ "Apache-2.0" ]
1
2021-05-14T06:35:35.000Z
2021-08-18T06:49:58.000Z
oym8CHWave/dialogdevice.cpp
oymotion/oym8CHWave
1d07e28f53a14dea4884b15c7cef731caa228ebd
[ "Apache-2.0" ]
4
2021-05-24T05:01:52.000Z
2022-01-14T18:09:26.000Z
#include "dialogdevice.h" #include "ui_dialogdevice.h" #include <QDebug> #include "dialogdatasetting.h" DialogDevice::DialogDevice(std::shared_ptr<gf::Hub> &hub, std::shared_ptr<gfListener> &listener, QWidget *parent) : QDialog(parent), listener(listener), hub(hub), ui(new Ui::DialogDe...
23.92437
118
0.587285
oymotion
fd4587174c866854a105f3525ee6f6cfee609f3a
1,725
cpp
C++
yage/core/imageloader.cpp
ymherklotz/YAGE
11a6d07652c98b13be6d8097e389480453a7c568
[ "MIT" ]
7
2017-08-02T12:38:42.000Z
2020-03-03T12:26:49.000Z
yage/core/imageloader.cpp
ymherklotz/YAGE
11a6d07652c98b13be6d8097e389480453a7c568
[ "MIT" ]
14
2017-04-05T01:39:44.000Z
2018-05-04T20:37:34.000Z
yage/core/imageloader.cpp
ymherklotz/YAGE
11a6d07652c98b13be6d8097e389480453a7c568
[ "MIT" ]
null
null
null
/** --------------------------------------------------------------------------- * -*- c++ -*- * @file: imageloader.cpp * * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> * MIT License, see LICENSE file for more details. * ---------------------------------------------------------------------------- ...
30.263158
79
0.614493
ymherklotz
fd4a82aebea1e2874e1e0ef09fa5e3be6379c15f
5,541
cpp
C++
dbstream/src/writer.cpp
vkardon/dbstream
1e5eb9354a1fb05466a178d2275aecab4b7f8bdd
[ "MIT" ]
null
null
null
dbstream/src/writer.cpp
vkardon/dbstream
1e5eb9354a1fb05466a178d2275aecab4b7f8bdd
[ "MIT" ]
null
null
null
dbstream/src/writer.cpp
vkardon/dbstream
1e5eb9354a1fb05466a178d2275aecab4b7f8bdd
[ "MIT" ]
null
null
null
// // main.cpp // #include <stdlib.h> #include <iostream> // std::cout #include <fstream> // std::ifstream #include <algorithm> // std::replace #include <dirent.h> #include <sys/stat.h> // stat #include <sys/time.h> // gettimeofday #include <dlfcn.h> // dlopen #include <libgen.h> // For dirname...
26.136792
95
0.535463
vkardon
fd4e3bbfdbf125a5ebe1d7757e63a2e4d66c014a
560
cpp
C++
Session_04/01_AnimatedFaceWithClass/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
26
2015-09-23T12:31:16.000Z
2020-12-14T03:19:19.000Z
Session_04/01_AnimatedFaceWithClass/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
2
2017-07-05T18:14:52.000Z
2017-10-31T00:04:13.000Z
Session_04/01_AnimatedFaceWithClass/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
37
2015-09-19T22:10:32.000Z
2019-12-07T19:35:55.000Z
#include "ofApp.h" void ofApp::setup() { ofBackground(255); myOtherFace.headColor = ofColor::yellow; myOtherFace.mouthHeight = 10; myOtherFace.mouthWidth = 10; } void ofApp::update() { // Here we call the myFace.update(); myOtherFace.update(); } void ofApp::draw() { ofPushMatrix(...
11.914894
59
0.605357
SAIC-ATS
fd4fccc49c55800f00a5693e86338db290c5ad24
150
hh
C++
include/core/object.hh
stelro/fission-system
3a0162aaf74707c12a422ae03aceba21cea95eb1
[ "Unlicense" ]
1
2019-07-11T10:38:56.000Z
2019-07-11T10:38:56.000Z
include/core/object.hh
stelro/fission-system
3a0162aaf74707c12a422ae03aceba21cea95eb1
[ "Unlicense" ]
null
null
null
include/core/object.hh
stelro/fission-system
3a0162aaf74707c12a422ae03aceba21cea95eb1
[ "Unlicense" ]
null
null
null
#pragma once namespace fn { class Object { private: public: Object() noexcept; virtual ~Object() noexcept; }; } // namespace fn
11.538462
31
0.606667
stelro
fd53d7f0a0ee5b29792982dbe9406cc75fb80951
1,521
cpp
C++
src/enhance/utility.cpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
2
2021-01-30T00:30:32.000Z
2021-04-20T11:54:53.000Z
src/enhance/utility.cpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
null
null
null
src/enhance/utility.cpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
null
null
null
/************************************************ * * * rs@md * * (reactive steps @ molecular dynamics ) * * * ************************************************/ /* Copyright 2020...
26.684211
92
0.531887
myrabiedermann
5b775d6a255c413bfa315cc7f835c50ef50e0c45
1,539
cpp
C++
src/tests/merger_tests/getNextLine.cpp
danguenther/spfe-framework
f1f91330e136727edc12b8b0a07723a4059fa039
[ "MIT" ]
null
null
null
src/tests/merger_tests/getNextLine.cpp
danguenther/spfe-framework
f1f91330e136727edc12b8b0a07723a4059fa039
[ "MIT" ]
null
null
null
src/tests/merger_tests/getNextLine.cpp
danguenther/spfe-framework
f1f91330e136727edc12b8b0a07723a4059fa039
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <merger.h> #include <fstream> #define TEST_FILE_GET_NEXT_LINE "src/tests/merger_tests/test_files/getNextLineTest.txt" /* * Tests for getNextLine() function */ /* * tests if a whole line in a file can be read. This test covers multiple cases: * 1. The very first line of a file *...
36.642857
87
0.695906
danguenther
5b8379e3ee66125ad769b8568dc3b3d74ba872ed
34,670
hpp
C++
GLAnnotate/GLAnnotate.hpp
mokafolio/GLAnnotate
c1f4b9dedbcca81b0397b0f9984306c1d8d3636e
[ "MIT" ]
4
2017-06-14T18:38:11.000Z
2020-01-21T05:14:04.000Z
GLAnnotate/GLAnnotate.hpp
mokafolio/GLAnnotate
c1f4b9dedbcca81b0397b0f9984306c1d8d3636e
[ "MIT" ]
null
null
null
GLAnnotate/GLAnnotate.hpp
mokafolio/GLAnnotate
c1f4b9dedbcca81b0397b0f9984306c1d8d3636e
[ "MIT" ]
null
null
null
#ifndef GLANNOTATE_HPP #define GLANNOTATE_HPP //POSSIBLE PLATFORMS //@TODO: Add IOS & Android #define GLANNOTATE_PLATFORM_OSX 1 #define GLANNOTATE_PLATFORM_LINUX 2 #if defined ( __APPLE__ ) #define GLANNOTATE_PLATFORM GLANNOTATE_PLATFORM_OSX #elif __linux__ #define GLANNOTATE_PLATFORM GLANNOTATE_PLATFORM_LINUX #endif...
34.326733
231
0.509663
mokafolio
5b922e7c3d642101ad38299c3391610128bc74cf
1,483
hpp
C++
source/sdl/resource_loader.hpp
alohaeee/DungeonSlayer
b1a95031371b5f5b3be8f8d592a56140047e61da
[ "MIT" ]
41
2020-01-31T15:18:57.000Z
2022-03-12T05:48:21.000Z
source/sdl/resource_loader.hpp
alohaeee/DungeonSlayer
b1a95031371b5f5b3be8f8d592a56140047e61da
[ "MIT" ]
2
2020-01-31T15:18:52.000Z
2022-02-16T12:21:45.000Z
source/sdl/resource_loader.hpp
alohaeee/DungeonSlayer
b1a95031371b5f5b3be8f8d592a56140047e61da
[ "MIT" ]
4
2020-03-27T05:10:19.000Z
2021-02-22T09:18:34.000Z
#ifndef TEXTURE_CACHE_HPP #define TEXTURE_CACHE_HPP #include <string> #include <SDL_image.h> #include <SDL_mixer.h> #include <SDL_render.h> #include <SDL_surface.h> #include <SDL_ttf.h> #include "graphics.hpp" namespace ssecs::sdl { /*! @brief Texture Loader struct. */ struct ResourceLoader { static SDL_Textur...
20.315068
114
0.571814
alohaeee
5b9da70ea7518835822d1e41324928da8cd0d93e
862
cpp
C++
Reader.cpp
leti9005/prog_2.7.2
6fa17fa361dc955aab1c740b978c0ae551b6d738
[ "MIT" ]
null
null
null
Reader.cpp
leti9005/prog_2.7.2
6fa17fa361dc955aab1c740b978c0ae551b6d738
[ "MIT" ]
null
null
null
Reader.cpp
leti9005/prog_2.7.2
6fa17fa361dc955aab1c740b978c0ae551b6d738
[ "MIT" ]
null
null
null
#include "Reader.h" Reader::Reader() { _id= 0; _name = ""; } Reader::Reader(unsigned int id) : _id(id), _name() { } unsigned int Reader::get_id() const { return _id; } std::string Reader::get_name() const { return _name; } Reader *Reader::from_raw_string(std::string line) { unsigned int id; ...
17.591837
62
0.555684
leti9005
5ba3c6516ac216083a20a675317b216c5465c847
1,228
cpp
C++
src/db.cpp
sielenk/furnace
092f047322ac8e6874f19a801f6e8e773801fad6
[ "MIT" ]
null
null
null
src/db.cpp
sielenk/furnace
092f047322ac8e6874f19a801f6e8e773801fad6
[ "MIT" ]
null
null
null
src/db.cpp
sielenk/furnace
092f047322ac8e6874f19a801f6e8e773801fad6
[ "MIT" ]
null
null
null
// (C) 2016 Marvin Sielenkemper #include "db.hpp" #include "Config.hpp" #include "db/MySql.hpp" #include "db/Statement.hpp" #include "db/ResultSet.hpp" #include "db/Bindings.hpp" #include <boost/any.hpp> #include <boost/range/iterator_range_core.hpp> #include <boost/iterator/iterator_facade.hpp> #include <boost/fore...
21.54386
63
0.667752
sielenk
5ba53c4d07b580bd12815f3fd899f6971608c525
1,105
cpp
C++
Terum/Item.cpp
pzebadua/Terum
fa0475042dcf4d504c2d4663bad7e27de99d95a8
[ "MIT" ]
null
null
null
Terum/Item.cpp
pzebadua/Terum
fa0475042dcf4d504c2d4663bad7e27de99d95a8
[ "MIT" ]
null
null
null
Terum/Item.cpp
pzebadua/Terum
fa0475042dcf4d504c2d4663bad7e27de99d95a8
[ "MIT" ]
null
null
null
// // Item.cpp // Terum // // Created by Pablo Zebadúa on 31/03/16. // Copyright © 2016 Controversial Games. All rights reserved. // #include "Item.hpp" Item::Item() { ID = 0; weight = 0; type = 0; quality = 0; atk = 0; hp = 0; mg = 0; name = ""; } Item::~Item(void) { } vo...
10.833333
62
0.552036
pzebadua
5ba74827a40ff163ab18163b9da111a0222bcef1
1,150
hpp
C++
src/copy_and_move/src/SmartPtr.hpp
VincentPopie/Sandbox
882c5bf7325af595739fd9004ba1774ceeee272f
[ "MIT" ]
null
null
null
src/copy_and_move/src/SmartPtr.hpp
VincentPopie/Sandbox
882c5bf7325af595739fd9004ba1774ceeee272f
[ "MIT" ]
null
null
null
src/copy_and_move/src/SmartPtr.hpp
VincentPopie/Sandbox
882c5bf7325af595739fd9004ba1774ceeee272f
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include <iostream> template <typename T> class SmartPtr { public: SmartPtr(): _ptr(nullptr) {}; explicit SmartPtr(T* iPtr): _ptr(iPtr) {}; SmartPtr(const SmartPtr<T>& aCopy) = delete; SmartPtr(SmartPtr<T>&& aMove) { std::cout << "Call SmartPtr move constructor" << std::e...
19.827586
74
0.589565
VincentPopie
5ba774a15cd171aa82cb8edcd11d62e0babc7950
1,809
cpp
C++
C1_Introduction_Environment/PyramidImage/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
2
2020-09-03T09:49:23.000Z
2021-06-11T09:20:13.000Z
C1_Introduction_Environment/PyramidImage/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
null
null
null
C1_Introduction_Environment/PyramidImage/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
1
2020-09-03T09:49:30.000Z
2020-09-03T09:49:30.000Z
// // main.cpp // PyramidImage // // Created by chenjie on 2020/2/20. // Copyright © 2020 chenjie. All rights reserved. // // 运行需要注意以下几点 // 1. 如果报动态库无法加载,首先确保已经安装OpenCV,然后请在工程选项-当前Target选项-General选项-Framework and libraries中检查所依赖的动态库,在文件资源的Frameworks中删除相应的动态库,再添加自己安装好的动态库。 // 2. 如果报动态库无法加载,并提示无动态库签名,请在终端使用命令“codesi...
31.736842
209
0.692095
StarryThrone