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
5fea1034974be509fb893f4ef79ba7f60bff7ad6
1,739
cpp
C++
vstgui/tests/unittest/lib/cpoint_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
205
2019-06-09T18:40:27.000Z
2022-03-24T01:53:49.000Z
vstgui/tests/unittest/lib/cpoint_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
11
2019-02-09T16:15:34.000Z
2021-03-24T06:28:56.000Z
vstgui/tests/unittest/lib/cpoint_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
30
2019-06-11T04:05:46.000Z
2022-03-29T15:52:14.000Z
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #include "../../../lib/cpoint.h" #include "../unittests.h" namespace VSTGUI { TESTCASE(CPointTest, TEST(unequal,...
19.539326
70
0.565267
GizzZmo
5feb4e69c10ca0a874238cb07dbe30865b23f5dc
658
cpp
C++
modules/augment/src/uniformnoise.cpp
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
null
null
null
modules/augment/src/uniformnoise.cpp
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
1
2019-07-11T20:21:36.000Z
2019-07-11T20:21:36.000Z
modules/augment/src/uniformnoise.cpp
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
null
null
null
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #include "precomp.hpp" namespace cv { namespace augment { UniformNoise::UniformNoise(float _low, float _high) { low = _low;...
21.933333
90
0.711246
FadyEssam
5fedfe656a8f4eb606b3b48b506acf7b76af47db
32,654
cpp
C++
src/main/cpp/driver/ps_ds4_controller.cpp
morrky89/PSMoveSteamVRBridge
03d29b14d1738597523bd059d30736cb0d075d37
[ "Apache-2.0" ]
147
2017-03-28T21:32:25.000Z
2022-01-03T14:43:58.000Z
src/main/cpp/driver/ps_ds4_controller.cpp
morrky89/PSMoveSteamVRBridge
03d29b14d1738597523bd059d30736cb0d075d37
[ "Apache-2.0" ]
129
2017-04-01T20:34:52.000Z
2021-04-06T07:34:49.000Z
src/main/cpp/driver/ps_ds4_controller.cpp
morrky89/PSMoveSteamVRBridge
03d29b14d1738597523bd059d30736cb0d075d37
[ "Apache-2.0" ]
53
2017-03-29T19:31:40.000Z
2022-03-13T11:38:23.000Z
#define _USE_MATH_DEFINES #include "constants.h" #include "server_driver.h" #include "utils.h" #include "settings_util.h" #include "driver.h" #include "facing_handsolver.h" #include "ps_ds4_controller.h" #include "trackable_device.h" #include <assert.h> namespace steamvrbridge { // -- PSDualshock4ControllerConfig -...
43.772118
155
0.784866
morrky89
5feeb313522dbb912920abf6105287aa0f6676cb
9,638
cpp
C++
FDTD/EncodeOutput.cpp
plisdku/trogdor6
d77eb137dd0c03635c0016801ada54117697e521
[ "MIT" ]
null
null
null
FDTD/EncodeOutput.cpp
plisdku/trogdor6
d77eb137dd0c03635c0016801ada54117697e521
[ "MIT" ]
null
null
null
FDTD/EncodeOutput.cpp
plisdku/trogdor6
d77eb137dd0c03635c0016801ada54117697e521
[ "MIT" ]
null
null
null
/* * EncodeOutput.cpp * Trogdor6 * * Created by Paul Hansen on 3/23/11. * Copyright 2011 Stanford University. All rights reserved. * * This file is covered by the MIT license. See LICENSE.txt. */ #include "EncodeOutput.h" #include "SimulationDescription.h" #include "VoxelizedPartition.h" #include "opera...
30.596825
88
0.630629
plisdku
5fef168528168f3c92178c86d0dad2e17cfd3203
746
cpp
C++
codechef/lapindrome.cpp
NIKU-SINGH/problemsolving
f7dd9d065a945a2f59e84580f926d35949ce3be2
[ "MIT" ]
null
null
null
codechef/lapindrome.cpp
NIKU-SINGH/problemsolving
f7dd9d065a945a2f59e84580f926d35949ce3be2
[ "MIT" ]
1
2021-07-07T14:37:03.000Z
2021-07-07T14:39:58.000Z
codechef/lapindrome.cpp
NIKU-SINGH/problemsolving
f7dd9d065a945a2f59e84580f926d35949ce3be2
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { // your code goes here int t; cin>>t; while(t--) { string str; cin>>str; int n = str.length(); int part1freq[26] ={0}; int part2freq[26]={0}; for(int i=0;i<n/2;i++) { part1fre...
16.217391
44
0.349866
NIKU-SINGH
5ffb6add8895c91cfa81e7e0f06f13ade6048f8a
2,942
cpp
C++
source/internal/logger.cpp
HeliosInteractive/libkeen
f31246c2f0a705b9f1c25e4400d96a62408c37e6
[ "MIT" ]
1
2016-04-26T04:16:55.000Z
2016-04-26T04:16:55.000Z
source/internal/logger.cpp
HeliosInteractive/libkeen
f31246c2f0a705b9f1c25e4400d96a62408c37e6
[ "MIT" ]
null
null
null
source/internal/logger.cpp
HeliosInteractive/libkeen
f31246c2f0a705b9f1c25e4400d96a62408c37e6
[ "MIT" ]
2
2016-04-14T16:57:03.000Z
2020-02-21T00:17:48.000Z
#include "internal/logger.hpp" #include <iostream> #include <fstream> #include <iomanip> #include <chrono> #include <ctime> // by default turn on both file and console // logging behaviors. #ifndef LIBKEEN_LOG_TO_CONSOLE # define LIBKEEN_LOG_TO_CONSOLE 1 #endif #ifndef LIBKEEN_LOG_TO_LOGFILE # define LIBKEEN_LO...
22.120301
95
0.633583
HeliosInteractive
5ffc113e32897d21acdfb1256f6c36cb28d1b377
4,297
cpp
C++
Project/AudioManager.cpp
OiCGame/GameJam01
7860098d235678cbe32215c733366d4fb973ea5e
[ "MIT" ]
null
null
null
Project/AudioManager.cpp
OiCGame/GameJam01
7860098d235678cbe32215c733366d4fb973ea5e
[ "MIT" ]
null
null
null
Project/AudioManager.cpp
OiCGame/GameJam01
7860098d235678cbe32215c733366d4fb973ea5e
[ "MIT" ]
null
null
null
#include "AudioManager.h" CAudioManager::CAudioManager() { } CAudioManager::~CAudioManager() { } CAudioManager& CAudioManager::Singleton(void) { static CAudioManager obj; return obj; } void CAudioManager::Play(SoundBufferKey key) { auto temp = SoundBufferAsset(key); auto it = std::find(m_pSounds.be...
30.475177
92
0.695136
OiCGame
5ffca5a8fee1bfe85e677a558fb668dc73292ed0
472
cpp
C++
array/sumofallsubarray.cpp
riti2409/forplacements
9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04
[ "MIT" ]
5
2021-12-03T14:29:16.000Z
2022-02-04T09:06:37.000Z
array/sumofallsubarray.cpp
riti2409/forplacements
9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04
[ "MIT" ]
null
null
null
array/sumofallsubarray.cpp
riti2409/forplacements
9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04
[ "MIT" ]
2
2022-01-16T14:20:42.000Z
2022-01-17T06:49:01.000Z
//5 // 1 2 0 7 2 //o/p-> 1,3,3,10,12,2,2,9,11,0,7,9,7,9,2, #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int arr[n]; for (int i = 0; i < n; i++) { cin >> arr[i]; } int currsum=0; for (int i = 0; i < n; i++) { currs...
14.30303
42
0.358051
riti2409
5fff380e5006a8672a31e48f8f2f7a1f46761144
1,689
cpp
C++
ipc2/ipc2.cpp
Elexir-Stefan/ray-usermode
9a1c7d773496493482cf2e711fe1808b537db63a
[ "MIT" ]
null
null
null
ipc2/ipc2.cpp
Elexir-Stefan/ray-usermode
9a1c7d773496493482cf2e711fe1808b537db63a
[ "MIT" ]
null
null
null
ipc2/ipc2.cpp
Elexir-Stefan/ray-usermode
9a1c7d773496493482cf2e711fe1808b537db63a
[ "MIT" ]
null
null
null
#include <raykernel.h> #include <exception> #include <video/VideoStream.h> #include <processes/processes.h> #include <ipc/ipc.h> #include <sstream> using namespace Kernel; using namespace Kernel::IPC; using namespace Kernel::Processes; /** * TestFunction used as callback */ int TestFunction(int arg2, float arg3) { ...
19.870588
97
0.6791
Elexir-Stefan
2700c4b0db0f1c1293d72965144c99c28dd89578
1,540
cpp
C++
Accepted_The 2000's ACM-ICPC/P2783 (Robots).cpp
peneksglazami/acm-icpc-training
a3c41b65b8f8523713f9859b076f300a12c4e7f3
[ "CC0-1.0" ]
null
null
null
Accepted_The 2000's ACM-ICPC/P2783 (Robots).cpp
peneksglazami/acm-icpc-training
a3c41b65b8f8523713f9859b076f300a12c4e7f3
[ "CC0-1.0" ]
null
null
null
Accepted_The 2000's ACM-ICPC/P2783 (Robots).cpp
peneksglazami/acm-icpc-training
a3c41b65b8f8523713f9859b076f300a12c4e7f3
[ "CC0-1.0" ]
null
null
null
/*************************************************** Problem: 2783 - Robots ACM ICPC - North America - Mid Central - 2003/2004 Solved by Andrey Grigorov ***************************************************/ #include <stdio.h> #include <vector> #include <queue> using namespace std; typedef struct{ int ...
24.83871
78
0.380519
peneksglazami
dfd6b713f18b58b836b96f6fc5f669da6bc435ff
517
cpp
C++
cpp/data/grid.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
null
null
null
cpp/data/grid.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
null
null
null
cpp/data/grid.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
null
null
null
#include "grid.h" void Grid::binarize(ConstVecRef<float> row, VecRef<uint8_t> dst) const { for (int64_t f = 0; f < features_.size(); ++f) { dst[f] = computeBin(row[origFeatureIndex(f)], borders_[f]); } } void Grid::binarize(const Vec& x, Buffer<uint8_t>& to) const { assert(x.device().deviceType()...
28.722222
72
0.644101
equivalence1
dfd8d1e701891eb5373cf737aa8c8970666e3637
699
cpp
C++
Luogu/luogu4317.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
1
2020-10-05T02:07:52.000Z
2020-10-05T02:07:52.000Z
Luogu/luogu4317.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
null
null
null
Luogu/luogu4317.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
null
null
null
#include <cstdio> using namespace std; typedef long long ll; const ll p=10000007; ll n,f[107][107],t[107]; ll qpow(ll x,ll y){ ll ans=1; while(y){ if(y&1) ans=ans*x%p; x=x*x%p; y>>=1; } return ans; } ll dp(int n,int m){ if(m>n||!n||m<0) return 0; if(f[n][m]) return f[n][m]; if(n==m||!m) retur...
19.416667
57
0.492132
wzl19371
dfdbd34f1489377b3c0d503948724cef06abae30
389
cpp
C++
Competitive Programming/part_02/deque.cpp
l0rdluc1f3r/CppCompetitiveProgramming
71376b5a6182dc446811072c73a2b13f33110d4c
[ "Apache-2.0" ]
1
2022-03-24T06:38:53.000Z
2022-03-24T06:38:53.000Z
Competitive Programming/part_02/deque.cpp
l0rdluc1f3r/CppCompetitiveProgramming
71376b5a6182dc446811072c73a2b13f33110d4c
[ "Apache-2.0" ]
null
null
null
Competitive Programming/part_02/deque.cpp
l0rdluc1f3r/CppCompetitiveProgramming
71376b5a6182dc446811072c73a2b13f33110d4c
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> int main(){ std::deque<int> d1; std::deque<int> d2(5, 10); std::deque<int> d3(d2); std::deque<int> d4(d2.begin(), d2.end()); int arr[] = {1,2,3,4,5}; std::deque<int> d5(arr, arr+5); for(auto &el : d5){ std::cout<<el<<" "; } if(d5.empty()){ std::cout<<"Oh No"; } d1.push_back(10)...
18.52381
42
0.573265
l0rdluc1f3r
dfe7a9aee06726f7894b1bed816b96427f5c00d0
686
cxx
C++
templates/initmodule.cxx
lukeolson/crappy
fdd9449f7976e2a4e678db06e1b8d1a8bfef4e84
[ "BSD-3-Clause" ]
null
null
null
templates/initmodule.cxx
lukeolson/crappy
fdd9449f7976e2a4e678db06e1b8d1a8bfef4e84
[ "BSD-3-Clause" ]
null
null
null
templates/initmodule.cxx
lukeolson/crappy
fdd9449f7976e2a4e678db06e1b8d1a8bfef4e84
[ "BSD-3-Clause" ]
null
null
null
#include <Python.h> #include "crappy.h" extern "C" { #include "crappy_impl.h" static char crappy_doc[] = "Docstring for crappy."; #if PY_VERSION_HEX >= 0x03000000 static struct PyModuleDef moduledef = { PyModuleDef_HEAD_INIT, "crappy", NULL, -1, crappy_methods, NULL, NULL, NULL, ...
16.333333
61
0.639942
lukeolson
dfea84a2adab64773bce92477019e19b41ecd308
509
cpp
C++
source/jz28.cpp
loganautomata/leetcode
5a626c91f271bae231328c92a3be23eba227f66e
[ "MIT" ]
null
null
null
source/jz28.cpp
loganautomata/leetcode
5a626c91f271bae231328c92a3be23eba227f66e
[ "MIT" ]
null
null
null
source/jz28.cpp
loganautomata/leetcode
5a626c91f271bae231328c92a3be23eba227f66e
[ "MIT" ]
null
null
null
#include "jz28.h" using namespace std; bool Jz28::IsMirror(TreeNode* left, TreeNode* right) { if(left == nullptr && right == nullptr) return true; else if (left == nullptr || right == nullptr || left->val != right->val) return false; // 迭代终止条件, 遍历完至少一颗树, 或者发现两颗树不是镜像. return IsMirror(left->right, right->l...
26.789474
124
0.664047
loganautomata
dfeec959a6ac004088e326a95d987644c70b9f92
514
cpp
C++
2014/node.cpp
Yww729604/XidianCodeTest
bf99657fc58718f1edd2e91291420ee5e2c58d21
[ "MIT" ]
1
2022-02-05T16:37:13.000Z
2022-02-05T16:37:13.000Z
2014/node.cpp
Yww729604/XidianCodeTest
bf99657fc58718f1edd2e91291420ee5e2c58d21
[ "MIT" ]
null
null
null
2014/node.cpp
Yww729604/XidianCodeTest
bf99657fc58718f1edd2e91291420ee5e2c58d21
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef struct node { int data; string s; string t; struct node *next; }*linkList; void init(linkList &l) { int d; while(cin>>d) { linkList tempNode = (linkList)malloc(sizeof(struct node)); tempNode->data = d; tempNode->next = l; l = tempNode; } } void p...
12.536585
60
0.61284
Yww729604
dffd810adde01422c379df331b7e6794ae00f53a
292
hpp
C++
fw/include/fw/BasicEffect.hpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
fw/include/fw/BasicEffect.hpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
9
2016-12-09T13:02:18.000Z
2019-09-13T09:29:18.000Z
fw/include/fw/BasicEffect.hpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
#pragma once #include "Effect.hpp" namespace fw { class BasicEffect: public EffectBase { public: BasicEffect(); virtual ~BasicEffect(); void create(); virtual void destroy(); virtual void begin(); virtual void end(); protected: void createShaders(); }; }
12.166667
27
0.643836
sienkiewiczkm
dffef375e236877eca4d7bcfdbbc268ffc6ea653
4,319
cpp
C++
nTA/Source/igui_BuildButton.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
2
2020-05-09T20:50:12.000Z
2021-06-20T08:34:58.000Z
nTA/Source/igui_BuildButton.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
null
null
null
nTA/Source/igui_BuildButton.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
2
2018-01-08T00:12:04.000Z
2020-06-14T10:56:50.000Z
// igui_BuildButton.cpp // \author Logan Jones ///////////////////////// \date 4/25/2002 /// \file /// \brief ... ///////////////////////////////////////////////////////////////////// #include "igui.h" #include "igui_BuildButton.h" #include "game.h" #include...
37.556522
114
0.447094
loganjones
5f0b0bee274cc3e652992befca93a04e990ea2c6
18,825
cpp
C++
samples/Hello/third-party/fuzzylite/fuzzylite/src/rule/Antecedent.cpp
okocsis/ios-cmake
ca61d83725bc5b1a755928f4592badbd9a8b37f4
[ "BSD-3-Clause" ]
null
null
null
samples/Hello/third-party/fuzzylite/fuzzylite/src/rule/Antecedent.cpp
okocsis/ios-cmake
ca61d83725bc5b1a755928f4592badbd9a8b37f4
[ "BSD-3-Clause" ]
null
null
null
samples/Hello/third-party/fuzzylite/fuzzylite/src/rule/Antecedent.cpp
okocsis/ios-cmake
ca61d83725bc5b1a755928f4592badbd9a8b37f4
[ "BSD-3-Clause" ]
null
null
null
/* fuzzylite (R), a fuzzy logic control library in C++. Copyright (C) 2010-2017 FuzzyLite Limited. All rights reserved. Author: Juan Rada-Vilela, Ph.D. <jcrada@fuzzylite.com> This file is part of fuzzylite. fuzzylite is free software: you can redistribute it and/or modify it under the terms of the FuzzyLite Lic...
42.020089
130
0.511766
okocsis
5f0b11c4cd68c112a699f2ce03244a5e7c0a8e3a
2,075
cpp
C++
cmd/qc.cpp
cbutakoff/DSI-Studio
d77dffa4526d66da421fa84f7187e85bca6bce7c
[ "BSD-3-Clause" ]
null
null
null
cmd/qc.cpp
cbutakoff/DSI-Studio
d77dffa4526d66da421fa84f7187e85bca6bce7c
[ "BSD-3-Clause" ]
null
null
null
cmd/qc.cpp
cbutakoff/DSI-Studio
d77dffa4526d66da421fa84f7187e85bca6bce7c
[ "BSD-3-Clause" ]
null
null
null
#include <QString> #include <QStringList> #include <QFileInfo> #include "program_option.hpp" #include "libs/dsi/image_model.hpp" QStringList search_files(QString dir,QString filter); std::string quality_check_src_files(QString dir) { std::ostringstream out; QStringList filenames = search_files(dir,"*.src.gz"...
30.514706
134
0.595663
cbutakoff
5f0e3f2dd7ee0392eb3e547e9dc2ff6d8748df75
1,193
hpp
C++
tooling/data/prefix_splitter.hpp
victorlaurentiu/tsmp
5391ffb488d7db9555405965ede5c63800fbb71f
[ "MIT" ]
23
2021-10-30T09:32:58.000Z
2022-01-23T19:39:26.000Z
tooling/data/prefix_splitter.hpp
victorlaurentiu/tsmp
5391ffb488d7db9555405965ede5c63800fbb71f
[ "MIT" ]
null
null
null
tooling/data/prefix_splitter.hpp
victorlaurentiu/tsmp
5391ffb488d7db9555405965ede5c63800fbb71f
[ "MIT" ]
4
2021-10-31T13:05:29.000Z
2021-11-27T03:18:48.000Z
#pragma once #include "types.hpp" #include <fmt/core.h> #include <fmt/ranges.h> #include <algorithm> #include <iterator> namespace data { class prefix_splitter_t { public: prefix_splitter_t(const std::vector<record_decl_t>& records = {}, std::vector<std::string> trivial_types = {}); void add_record(record_de...
31.394737
115
0.736798
victorlaurentiu
5f10a140d8b55a3b61668b65754fdce6601f3d16
2,058
hpp
C++
include/shadertoy/pre.hpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
2
2020-02-23T09:33:07.000Z
2021-11-15T18:23:13.000Z
include/shadertoy/pre.hpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
2
2019-08-09T15:48:07.000Z
2020-11-16T13:51:56.000Z
include/shadertoy/pre.hpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
3
2019-12-12T09:42:34.000Z
2020-12-14T03:56:30.000Z
#ifndef _SHADERTOY_PRE_HPP_ #define _SHADERTOY_PRE_HPP_ #include "shadertoy/shadertoy_export.h" /// Base namespace for libshadertoy namespace shadertoy { /// Definition of rendering buffers namespace buffers { struct buffer_output; class basic_buffer; class program_buffer; class toy_buffer; } /// Shader...
17.294118
44
0.76725
vtavernier
5f126bb8b7c978139132b0742118e7df3dc353d8
71
cc
C++
logs/doc/02_window.cc
chanchann/Burger_client
548753124b563123a479f3e3a5a42f792001d673
[ "MIT" ]
null
null
null
logs/doc/02_window.cc
chanchann/Burger_client
548753124b563123a479f3e3a5a42f792001d673
[ "MIT" ]
null
null
null
logs/doc/02_window.cc
chanchann/Burger_client
548753124b563123a479f3e3a5a42f792001d673
[ "MIT" ]
null
null
null
/** * https://blog.csdn.net/Zhanganliu/article/details/79927310 * */
17.75
60
0.676056
chanchann
5f1a72bb9a4c910ddbe4a97a8b109b5681b1f070
4,044
cpp
C++
projector_fun/data/metaballs.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
projector_fun/data/metaballs.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
projector_fun/data/metaballs.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "metaballs.h" using namespace std; using namespace glm; namespace asdf { namespace projector_fun { metaballs_t::metaballs_t() { balls.reserve(5); balls.push_back(metaball_t{vec3{0.0f, 0.0f, 0.0f}, 50.0f}); balls.push_back(metaball_t{vec3{-100.0f, 100.0f, 0...
32.095238
130
0.560584
mflagel
5f21d84c5ad5cc082a87ea46dcf513cbcc1485f8
165
hh
C++
src/debug.hh
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/debug.hh
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/debug.hh
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
#ifndef debug_hh_INCLUDED #define debug_hh_INCLUDED #include "string.hh" namespace Kakoune { void write_debug(const String& str); } #endif // debug_hh_INCLUDED
11.785714
36
0.775758
nojhan
5f23c46d08dbd90a6786bc62dbb46ddd5bf8d734
367
cpp
C++
Exercicios/42.cpp
thiago1590/Exercicios_LinguagemC_1periodo
a7affcbb121493ef8abb556a6bdb7c28926144df
[ "MIT" ]
null
null
null
Exercicios/42.cpp
thiago1590/Exercicios_LinguagemC_1periodo
a7affcbb121493ef8abb556a6bdb7c28926144df
[ "MIT" ]
null
null
null
Exercicios/42.cpp
thiago1590/Exercicios_LinguagemC_1periodo
a7affcbb121493ef8abb556a6bdb7c28926144df
[ "MIT" ]
null
null
null
#include <stdio.h> int calculo(int anos, int meses, int dias, int result) { result = (365 * anos) + (30 * meses) + dias;} int main() { int anos, meses, dias, result,a; printf("digite sua idade em anos meses e dias"); scanf("%d %d %d", &anos, &meses, &dias); a = calculo(anos, meses, dias, result); printf(...
19.315789
55
0.607629
thiago1590
5f245914a64789f52ed6e45ea844f1f14ffb2212
787
cpp
C++
OnitamaEngine/Source/MoveInformation/MoveInformation.cpp
CodeGorger/OnitamaEngine
641930951ce272ee4922c5dfe57cc3b25b1ed37a
[ "MIT" ]
1
2021-09-14T16:25:02.000Z
2021-09-14T16:25:02.000Z
OnitamaEngine/Source/MoveInformation/MoveInformation.cpp
CodeGorger/OnitamaEngine
641930951ce272ee4922c5dfe57cc3b25b1ed37a
[ "MIT" ]
null
null
null
OnitamaEngine/Source/MoveInformation/MoveInformation.cpp
CodeGorger/OnitamaEngine
641930951ce272ee4922c5dfe57cc3b25b1ed37a
[ "MIT" ]
null
null
null
#include "MoveInformation.h" bool MoveInformation::ParseMove(std::string inTcpMove) { if (inTcpMove.size() > 20) { //"Invalid inTcpMove string is exceeded the maximal allowed length" return false; } size_t indexOfFirstSemicolon = inTcpMove.find_first_of(";"); _cardName=inTcpMove.substr(0, indexOfFirstSemicol...
22.485714
69
0.768742
CodeGorger
5f26fe6923b37dc6264b51411b8612ec8e293614
930
cpp
C++
src/utils/dll.cpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
2
2020-04-10T14:39:00.000Z
2021-02-11T15:52:16.000Z
src/utils/dll.cpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
2
2019-12-17T08:50:20.000Z
2020-02-03T09:37:56.000Z
src/utils/dll.cpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
1
2020-08-19T03:06:52.000Z
2020-08-19T03:06:52.000Z
#include "utils/dll.hpp" #ifdef OS_WINDOWS # include "utils/system.hpp" #endif namespace utils { dll::~dll() { if (m_handle == nullptr) { return; } #if defined OS_WINDOWS FreeLibrary(m_handle); #elif defined OS_LINUX dlclose(m_handle); #endif } dll::operator bool() const { return m_handle != nullptr; } std...
16.034483
45
0.692473
TiWinDeTea
5f2c025588e266c2452f1bc787d861692e79a247
2,668
hpp
C++
lib/malloy/core/detail/controller_run_result.hpp
Tectu/malloy
066adfe3ac312ac4c0b4a745603faed650400f5a
[ "MIT" ]
22
2021-04-17T17:32:14.000Z
2022-03-29T09:42:03.000Z
lib/malloy/core/detail/controller_run_result.hpp
Tectu/malloy
066adfe3ac312ac4c0b4a745603faed650400f5a
[ "MIT" ]
98
2021-04-03T18:53:19.000Z
2022-02-06T10:49:30.000Z
lib/malloy/core/detail/controller_run_result.hpp
Tectu/malloy
066adfe3ac312ac4c0b4a745603faed650400f5a
[ "MIT" ]
3
2021-05-12T15:17:11.000Z
2021-12-28T03:15:46.000Z
#pragma once #include <boost/asio/executor_work_guard.hpp> #include <boost/asio/io_context.hpp> #include <boost/asio/use_future.hpp> #include <spdlog/logger.h> #include <memory> #include <thread> #include <stdexcept> namespace malloy::detail { /** * Controller configuration. */ struct controller_co...
28.084211
115
0.53973
Tectu
5f2dc3edcc7d8f849aefa87bc990ccc20f81fcb7
1,259
cpp
C++
Tree/Binary_Tree/main.cpp
AshishS-1123/Data-Structures
58c36b7f1e0bc72064aac5ff53f96c7df34e52b5
[ "MIT" ]
null
null
null
Tree/Binary_Tree/main.cpp
AshishS-1123/Data-Structures
58c36b7f1e0bc72064aac5ff53f96c7df34e52b5
[ "MIT" ]
null
null
null
Tree/Binary_Tree/main.cpp
AshishS-1123/Data-Structures
58c36b7f1e0bc72064aac5ff53f96c7df34e52b5
[ "MIT" ]
null
null
null
#include <iostream> #include "binary_tree.cpp" #include "traverse.cpp" using namespace std; int main() { // create a tree object binaryTree tree = binaryTree(); // insert 10, 20, 30, 40, 50, 60 cout << "\nAfter adding 10..."; tree.insert_element(10); tree.print_tree(); cout << "\nAfter...
20.639344
52
0.612391
AshishS-1123
5f2ff7f49f8e5b1f37b9117542c9bfe0af6fbc11
2,113
cpp
C++
src/apps/S3DAnalyzer/widgets/widthhintlabel.cpp
hugbed/OpenS3D
4ffad16f9b0973404b59eb1424cc45f68754fe12
[ "BSD-3-Clause" ]
8
2017-04-16T16:38:15.000Z
2020-04-20T03:23:15.000Z
src/apps/S3DAnalyzer/widgets/widthhintlabel.cpp
hugbed/OpenS3D
4ffad16f9b0973404b59eb1424cc45f68754fe12
[ "BSD-3-Clause" ]
40
2017-04-12T17:24:44.000Z
2017-12-21T18:41:23.000Z
src/apps/S3DAnalyzer/widgets/widthhintlabel.cpp
hugbed/OpenS3D
4ffad16f9b0973404b59eb1424cc45f68754fe12
[ "BSD-3-Clause" ]
6
2017-07-13T21:51:09.000Z
2021-05-18T16:22:03.000Z
#include "widthhintlabel.h" #include <gsl/gsl_util> WidthHintLabel::WidthHintLabel(QWidget* parent) : QLabel(parent) { initPixmaps(); setAlignment(Qt::AlignCenter); setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed)); auto&& pixmap = m_pixmaps[static_cast<int>(State::Neutral)]; setMinim...
33.539683
73
0.708471
hugbed
5f311ccb8f94cd59ff9a022f220547b79ca01ba1
1,134
cpp
C++
OpenGL_Planetarium/Cubemap.cpp
vmkarhula/Planetarium
f99acf1c98f2789a3eae70eba69d83ab4cba2a43
[ "MIT" ]
null
null
null
OpenGL_Planetarium/Cubemap.cpp
vmkarhula/Planetarium
f99acf1c98f2789a3eae70eba69d83ab4cba2a43
[ "MIT" ]
null
null
null
OpenGL_Planetarium/Cubemap.cpp
vmkarhula/Planetarium
f99acf1c98f2789a3eae70eba69d83ab4cba2a43
[ "MIT" ]
null
null
null
#include "Cubemap.h" #include <iostream> #include "stb/stb_image.h" Cubemap::Cubemap(std::vector<std::string> paths) { glGenTextures(1, &m_GLID); glBindTexture(GL_TEXTURE_CUBE_MAP, m_GLID); int width, height, nrChannels; for (unsigned int i = 0; i < paths.size(); i++) { unsigned char* data = stbi_load(paths...
23.142857
113
0.741623
vmkarhula
5f3d6887aeba89c27f8cd0eaa2fe4b7d778f677d
1,206
cpp
C++
bistro/cron/CrontabItem.cpp
jiazerojia/bistro
95c8d9cf9786ff87d845d7732622a46d90de5f58
[ "BSD-3-Clause" ]
1
2021-05-19T23:02:04.000Z
2021-05-19T23:02:04.000Z
bistro/cron/CrontabItem.cpp
jiazerojia/bistro
95c8d9cf9786ff87d845d7732622a46d90de5f58
[ "BSD-3-Clause" ]
null
null
null
bistro/cron/CrontabItem.cpp
jiazerojia/bistro
95c8d9cf9786ff87d845d7732622a46d90de5f58
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
27.409091
79
0.733002
jiazerojia
5f3f6e57bd25a9f84975ffcae87ddcc1b522466e
757
hpp
C++
Explit/Explit/sdk/interfaces/valve/i_base_client_dll.hpp
patrykkolodziej/Explit
155a35e4b8951764e6bedb8847d3196561a4255c
[ "MIT" ]
18
2019-05-09T10:24:53.000Z
2021-05-17T04:39:47.000Z
Explit/Explit/sdk/interfaces/valve/i_base_client_dll.hpp
danielkrupinski/Expl
74124b67361cd29dd34389d692e43df86f83d072
[ "MIT" ]
6
2019-05-09T16:26:01.000Z
2019-05-14T11:30:18.000Z
Explit/Explit/sdk/interfaces/valve/i_base_client_dll.hpp
patrykkolodziej/Explit
155a35e4b8951764e6bedb8847d3196561a4255c
[ "MIT" ]
8
2019-05-08T17:28:24.000Z
2021-03-25T09:52:44.000Z
#pragma once #include "i_global_vars.hpp" #include "../../misc/valve/client_class.hpp" #include "../../misc/valve/i_app_system.hpp" class i_base_client_dll { public: virtual int connect(createinterfacefn app_system_factory, i_global_vars_base *p_globals) = 0; virtual int disconnect(void) = ...
42.055556
107
0.667107
patrykkolodziej
5f3f78d4cc8e7c4b773fff444541a7cc366b55de
441
cpp
C++
modules/logic/src/Logic/Cv/gmLogicCvBase.cpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/logic/src/Logic/Cv/gmLogicCvBase.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/logic/src/Logic/Cv/gmLogicCvBase.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#include "gmLogicCvBase.hpp" namespace gm { namespace Logic { namespace Cv { Base::Base(const QString& name) : Logic::Base("cv", name) { log_trace(Log::New); this->setRunnable(true); this->setUseTimer(true); } ...
19.173913
69
0.394558
GraphMIC
5f414de234732722d05c50fc338e610a8d84e190
2,363
hpp
C++
y2018/utils/udpClientServer.hpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
2
2016-08-06T06:21:02.000Z
2017-01-10T05:45:13.000Z
y2018/utils/udpClientServer.hpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
1
2017-04-15T20:54:59.000Z
2017-04-15T20:54:59.000Z
y2018/utils/udpClientServer.hpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
3
2016-07-30T06:19:55.000Z
2017-02-07T01:55:05.000Z
// UDP Client Server -- send/receive UDP packets // Copyright (C) 2013 Made to Order Software Corp. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, o...
29.5375
81
0.60474
valkyrierobotics
5f4b0db7e754be422bc7951f5cf621ed8fab7015
3,458
cpp
C++
widgets/demos/ex-translucent-clock/clock.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
16
2017-01-11T17:28:03.000Z
2021-09-27T16:12:01.000Z
widgets/demos/ex-translucent-clock/clock.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
null
null
null
widgets/demos/ex-translucent-clock/clock.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
4
2017-03-17T02:44:32.000Z
2021-01-22T07:57:34.000Z
/************************************************************************* * * Copyright (c) 2016 The Qt Company * All rights reserved. * * See the LICENSE.txt file shipped along with this file for the license. * *************************************************************************/ #include <QtGui> #includ...
27.664
91
0.588201
sfaure-witekio
5f4d34bace6ee9cd7d0e379eafef77ab8e33cbb0
7,687
hh
C++
saphIR/include/ir/types.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
14
2020-07-31T09:35:23.000Z
2021-11-15T11:18:35.000Z
saphIR/include/ir/types.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
saphIR/include/ir/types.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include "utils/assert.hh" #include "utils/scoped.hh" #include "ir/ops.hh" #include "utils/symbol.hh" #include "utils/ref.hh" #define DEFAULT_SIZE (42) namespace mach { struct target; } namespace types { enum class type { INT, STRING, VOID, INVALID }; enum class sign...
24.877023
80
0.712372
balayette
5f519bc1c25c34290477e9ce07ed8842754151f5
10,370
cpp
C++
src/audio/CBasicSound.cpp
JackCarlson/Avara
2d79f6a21855759e427e13ee2d791257bc8c8c71
[ "MIT" ]
77
2016-10-30T18:37:14.000Z
2022-02-13T05:02:55.000Z
src/audio/CBasicSound.cpp
tra/Avara
5a6b5a4f2cf29e8b2ddf7dd3f422579f37a14dab
[ "MIT" ]
135
2018-09-09T06:46:04.000Z
2022-01-29T19:33:12.000Z
src/audio/CBasicSound.cpp
tra/Avara
5a6b5a4f2cf29e8b2ddf7dd3f422579f37a14dab
[ "MIT" ]
19
2018-09-09T02:02:46.000Z
2022-03-16T08:21:08.000Z
/* Copyright ©1994-1996, Juri Munkki All rights reserved. File: CBasicSound.c Created: Friday, December 23, 1994, 10:57 Modified: Tuesday, September 3, 1996, 21:27 */ #include "CBasicSound.h" #include "CSoundHub.h" #include "CSoundMixer.h" #include <assert.h> void CBasicSound::Release() { i...
25.73201
91
0.548987
JackCarlson
34fc3eca1e3505b2d07896cb4ecee2a367e95d62
5,408
cpp
C++
src/core/renderer/shader.cpp
mdsitton/LudumDare38
afa00173cf245fef215aa10024bf397c01711f53
[ "BSD-2-Clause" ]
null
null
null
src/core/renderer/shader.cpp
mdsitton/LudumDare38
afa00173cf245fef215aa10024bf397c01711f53
[ "BSD-2-Clause" ]
1
2017-04-22T21:38:20.000Z
2017-04-22T21:38:20.000Z
src/core/renderer/shader.cpp
mdsitton/LudumDare38
afa00173cf245fef215aa10024bf397c01711f53
[ "BSD-2-Clause" ]
null
null
null
#include "config.hpp" #include <iostream> #include <stdexcept> #include <spdlog/spdlog.h> #include <glad/glad.h> #include "vfs.hpp" #include "shader.hpp" namespace ORCore { static std::shared_ptr<spdlog::logger> logger; static int _programCount = 0; Shader::Shader(ShaderInfo _info): info(_info) { ...
25.271028
83
0.611686
mdsitton
34fd456783bdd58cf5a710c3a4f029c2aeba3313
321
hpp
C++
src/rpcz/request_handler_ptr.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
4
2015-06-14T13:38:40.000Z
2020-11-07T02:29:59.000Z
src/rpcz/request_handler_ptr.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
1
2015-06-19T07:54:53.000Z
2015-11-12T10:38:21.000Z
src/rpcz/request_handler_ptr.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
3
2015-06-15T02:28:39.000Z
2018-10-18T11:02:59.000Z
// Author: Jin Qing (http://blog.csdn.net/jq0123) #ifndef RPCZ_REQUEST_HANDLER_PTR_H #define RPCZ_REQUEST_HANDLER_PTR_H #include <boost/shared_ptr.hpp> namespace rpcz { class request_handler; typedef boost::shared_ptr<request_handler> request_handler_ptr; } // namespace rpcz #endif // RPCZ_REQUEST_HANDLER_PTR_H...
20.0625
63
0.797508
jinq0123
34ff834048322fd5351a65e34660fef871d798db
719
cc
C++
src/lsp-protocol/static-data.cc
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
src/lsp-protocol/static-data.cc
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
src/lsp-protocol/static-data.cc
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
#include "Common.hh" #include "static-data.hh" namespace emlsp::rpc::lsp::data { #if 0 std::string const initialization_message = R"({ "jsonrpc": "2.0", "id": 1, "method": "initialize", "params": { "trace": "on", "locale": "en_US.UTF8", "clientInfo": ...
20.542857
76
0.513213
roflcopter4
5502c9b9825deb1d0594bfef07db2cc22ef09594
3,642
cpp
C++
MonoNative.Tests/mscorlib/System/mscorlib_System_OverflowException_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_OverflowException_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_OverflowException_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System // Name: OverflowException // C++ Typed Name: mscorlib::System::OverflowException #include <gtest/gtest.h> #include <mscorlib/System/mscorlib_System_OverflowException.h> #include <mscor...
22.7625
106
0.731466
brunolauze
5504cb8775368b3998df85f1df1ca63775176fd7
223
hh
C++
src/ast/Decl.hh
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
1
2020-01-06T09:43:56.000Z
2020-01-06T09:43:56.000Z
src/ast/Decl.hh
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
src/ast/Decl.hh
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
#pragma once #include "Statement.hh" // @TODO: Derive from something else class Decl : public Statement { MAKE_NONMOVABLE(Decl) MAKE_NONCOPYABLE(Decl) AST_NODE_NAME(Decl) protected: Decl() = default; };
18.583333
36
0.695067
walecome
550727d7b0ea51da785f910de3f02bb59e994fbc
746
hpp
C++
engine/source/util/util.hpp
aegooby/videosaurus
20e2dc52e3b06b15d546c8f0d4bba1f2c8b215ad
[ "Apache-2.0" ]
1
2021-02-19T13:02:23.000Z
2021-02-19T13:02:23.000Z
engine/source/util/util.hpp
aegooby/videosaurus
20e2dc52e3b06b15d546c8f0d4bba1f2c8b215ad
[ "Apache-2.0" ]
16
2021-02-11T04:23:48.000Z
2021-02-19T05:37:30.000Z
engine/source/util/util.hpp
aegooby/videosaurus
20e2dc52e3b06b15d546c8f0d4bba1f2c8b215ad
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../__common.hpp" namespace vs { namespace util { template<typename type> void print_arg(const type& arg) { std::cout << arg; } template<> void print_arg(const bool& arg) { std::cout << termcolor::bold << termcolor::yellow << (arg ? "true" : "false") << termcolor::reset; } ...
21.941176
79
0.621984
aegooby
550915e6b36470976148ac116d6c97b7a88ddbe9
1,464
hpp
C++
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_From.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
1
2021-06-03T15:56:32.000Z
2021-06-03T15:56:32.000Z
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_From.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
1
2015-08-05T05:51:49.000Z
2015-08-05T05:51:49.000Z
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_From.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
null
null
null
#if !defined(SIP0X_PARSER_TOKENSIPMESSAGEHEADER_FROM_HPP__) #define SIP0X_PARSER_TOKENSIPMESSAGEHEADER_FROM_HPP__ #include "parser/tokens/TokenAbstract.hpp" #include "parser/tokens/Operators.hpp" #include "parser/tokens/TokenRegex.hpp" #include "parser/tokens/TokenNameAddr.hpp" #include "parser/tokens/TokenGenericPar...
34.857143
182
0.686475
zanfire
55096fa25ddc42207a712250b4c5fd9d67d95038
773
cpp
C++
trainings/2015-10-13-Sichuan-Province-2012/A.cpp
HcPlu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
9
2017-10-07T13:35:45.000Z
2021-06-07T17:36:55.000Z
trainings/2015-10-13-Sichuan-Province-2012/A.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
null
null
null
trainings/2015-10-13-Sichuan-Province-2012/A.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
3
2018-04-24T05:27:21.000Z
2019-04-25T06:06:00.000Z
#include <iostream> using namespace std; int a[10], used[22][22][22]; void solve() { for (int i = 1; i <= 3; i++) { scanf("%d", &a[i]); } sort(a + 1, a + 4); memset(used, 0, sizeof(used)); for (int i = 1; i <= 3; i++) { for (int j = 1; j <= 3; j++) { for (int k = 1; k <...
22.735294
63
0.315653
HcPlu
550aa8d1a5439a4dfa72d97d3345ac219f405660
3,494
cpp
C++
main.cpp
picorro/VulkanEngine
eca00b4332783a44692207ac4f057f292ca07328
[ "MIT" ]
null
null
null
main.cpp
picorro/VulkanEngine
eca00b4332783a44692207ac4f057f292ca07328
[ "MIT" ]
null
null
null
main.cpp
picorro/VulkanEngine
eca00b4332783a44692207ac4f057f292ca07328
[ "MIT" ]
null
null
null
/******************************************************************* ** This code is part of Breakout. ** ** Breakout is free software: you can redistribute it and/or modify ** it under the terms of the CC BY 4.0 license as published by ** Creative Commons, either version 4 of the License, or (at your ** option) any la...
27.952
110
0.653692
picorro
550d4bfc530fd0ba42f49bed4131585a505fe65e
18,389
cc
C++
include/windows/google/protobuf/any_test.pb.cc
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
83
2019-12-03T08:42:15.000Z
2022-03-30T13:22:37.000Z
include/windows/google/protobuf/any_test.pb.cc
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
1
2021-08-06T10:40:57.000Z
2021-08-09T06:33:43.000Z
include/windows/google/protobuf/any_test.pb.cc
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
45
2020-05-29T03:22:48.000Z
2022-03-21T16:19:01.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/protobuf/any_test.proto #include "google/protobuf/any_test.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protob...
38.795359
203
0.73805
Thanalan
550de8d47b5f9f69b204979617fe7276bf2d5fba
11,501
cpp
C++
node/node.cpp
catenocrypt/tcpserver-libuv-sample
ad847ce3bb89adb92b6adf24e14a8f806580b7f1
[ "MIT" ]
1
2020-04-29T07:29:27.000Z
2020-04-29T07:29:27.000Z
node/node.cpp
catenocrypt/tcpserver-libuv-sample
ad847ce3bb89adb92b6adf24e14a8f806580b7f1
[ "MIT" ]
null
null
null
node/node.cpp
catenocrypt/tcpserver-libuv-sample
ad847ce3bb89adb92b6adf24e14a8f806580b7f1
[ "MIT" ]
null
null
null
#include "node.hpp" #include "peer_conn.hpp" #include "endpoint.hpp" #include "../lib/net_handler.hpp" #include "../lib/net_client.hpp" #include <cassert> #include <iostream> using namespace sample; using namespace std; NodeApp::PeerCandidateInfo::PeerCandidateInfo(std::string host_in, int port_in, int toTry_in) : ...
31.683196
204
0.536388
catenocrypt
550ed484a943b7c9c3414be1c5063ee32f77b838
965
cpp
C++
source/BinaryTree/144. Binary Tree Preorder Traversal.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
source/BinaryTree/144. Binary Tree Preorder Traversal.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
source/BinaryTree/144. Binary Tree Preorder Traversal.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
//递归解法: class Solution { public: void prebintree(TreeNode * root,vector<int> &res){//记得传地址而不是传值&res if(root == nullptr) { return; } res.push_back(root->val); prebintree(root->left,res); prebintree(root->right,res); return; } vector<int> preorderTr...
22.44186
70
0.533679
Tridu33
55131cf89a253821832354b7d53c2f3b0a84d1ea
436
cpp
C++
old/src/channel/BufferWrapper.cpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
null
null
null
old/src/channel/BufferWrapper.cpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
47
2019-12-30T22:14:04.000Z
2022-03-26T02:04:06.000Z
old/src/channel/BufferWrapper.cpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
null
null
null
#include "channel/BufferWrapper.hpp" using elrond::channel::BufferWrapper; /* **************************************************************************** ************** elrond::channel::BufferWrapper Implementation *************** ****************************************************************************/...
39.636364
83
0.431193
edwino-stein
55156c345ef50bf7727bbde804a325a7ba4bd841
1,553
hpp
C++
src/morda/widgets/proxy/click_proxy.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
69
2016-12-07T05:56:53.000Z
2020-11-27T20:59:05.000Z
src/morda/widgets/proxy/click_proxy.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
103
2015-07-10T14:42:21.000Z
2020-09-09T16:16:21.000Z
src/morda/widgets/proxy/click_proxy.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
18
2016-11-22T14:41:37.000Z
2020-04-22T18:16:10.000Z
/* morda - GUI framework Copyright (C) 2012-2021 Ivan Gagis <igagis@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version...
27.732143
79
0.714746
igagis
55164e1e221b2c4199fa953565a2f8df20edc4c7
936
cpp
C++
training/1-1-7-beads/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
2
2015-12-26T21:20:12.000Z
2017-12-19T00:11:45.000Z
training/1-1-7-beads/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
null
null
null
training/1-1-7-beads/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
null
null
null
/* ID: <ID HERE> LANG: C++11 TASK: beads */ #include <fstream> #include <string> using namespace std; template <typename iterator> int get_stretch(iterator begin, iterator end) { auto iter = begin; auto current_type = *iter; while (iter++ != end) { if (*iter == 'w') continue; if (current_type == 'w') current_...
19.5
86
0.666667
hsun324
5517c8062ce0660d358616c3c258be1ce9fb3327
54
hpp
C++
include/EnvironmentHider.hpp
Raemien/CustomBackgroundsQuest
40ad901b33075420f63d6088f0280013cc5321c1
[ "MIT" ]
4
2021-02-03T08:53:53.000Z
2022-03-14T06:02:35.000Z
include/EnvironmentHider.hpp
Raemien/CustomBackgroundsQuest
40ad901b33075420f63d6088f0280013cc5321c1
[ "MIT" ]
1
2021-09-14T17:45:34.000Z
2021-09-15T13:51:39.000Z
include/EnvironmentHider.hpp
Raemien/CustomBackgroundsQuest
40ad901b33075420f63d6088f0280013cc5321c1
[ "MIT" ]
2
2021-09-09T01:21:23.000Z
2022-02-13T09:14:11.000Z
extern void HideMenuEnv(); extern void HideGameEnv();
18
26
0.777778
Raemien
55184abb4520a516bff065baa04688408fb61ed1
3,525
hpp
C++
demos/TIMDemo/skin/MaskSkin.hpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
33
2018-07-04T09:38:12.000Z
2021-06-19T06:11:45.000Z
demos/TIMDemo/skin/MaskSkin.hpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
null
null
null
demos/TIMDemo/skin/MaskSkin.hpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
13
2018-07-01T01:55:17.000Z
2021-08-03T10:55:45.000Z
#ifndef __MASK_SKIN_HPP_ #define __MASK_SKIN_HPP_ #include "core/SSkin.h" //************************************ // 这个是 mask 遮罩 皮肤 头像 在skin.xml 里配置 需要 3个值 // src 和 imglist 一样 // mask_a 设置透明值 的rgb a // .a=3 .r=0 .g=1 .b=2 // mask 设置遮罩 图片 // <masklist name="default" src="image:default" mask_a="1" mask="image:ma...
24.143836
84
0.63461
wzaen
55210b4c09d6343a045c00f1aab3c56a53b7accc
842
cpp
C++
30days/day26.cpp
sagi-z/hackerrank
ba6c75947626adb8b0fc89868cb3cb86f60aaa14
[ "MIT" ]
null
null
null
30days/day26.cpp
sagi-z/hackerrank
ba6c75947626adb8b0fc89868cb3cb86f60aaa14
[ "MIT" ]
null
null
null
30days/day26.cpp
sagi-z/hackerrank
ba6c75947626adb8b0fc89868cb3cb86f60aaa14
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <iterator> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int d1, m1, y1; int d2, m2, y2; istream_iterator<int> iter(cin); d1 = *i...
18.711111
80
0.465558
sagi-z
55258619dc7b0fa1b8366e9eafff443d00ac4825
552
cpp
C++
classeA.cpp
RafaelNatsu/Projeto_Rafael_Natsu
71360db1788a2d3aa7d57de41ff90bff9e48f8bb
[ "MIT" ]
null
null
null
classeA.cpp
RafaelNatsu/Projeto_Rafael_Natsu
71360db1788a2d3aa7d57de41ff90bff9e48f8bb
[ "MIT" ]
null
null
null
classeA.cpp
RafaelNatsu/Projeto_Rafael_Natsu
71360db1788a2d3aa7d57de41ff90bff9e48f8bb
[ "MIT" ]
null
null
null
#include "classeA.hpp" classeA::classeA() { A1 = 0; A2 = 0; } classeA::~classeA(){} void classeA::MA1() { std::cout << "Metodo MA1" << std::endl; } void classeA::MA2() { std::cout << "Metodo MA2" << std::endl; } void classeA::MA3() { std::cout << "Alteração a classe A part...
12.266667
70
0.519928
RafaelNatsu
552ea5a5d0dee8d6d27ee878bf7c75c1e22c1589
10,777
cpp
C++
evs/src/v2/model/SnapshotDetails.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
evs/src/v2/model/SnapshotDetails.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
evs/src/v2/model/SnapshotDetails.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/evs/v2/model/SnapshotDetails.h" namespace HuaweiCloud { namespace Sdk { namespace Evs { namespace V2 { namespace Model { SnapshotDetails::SnapshotDetails() { id_ = ""; idIsSet_ = false; status_ = ""; statusIsSet_ = false; name_ = ""; nameIsSet_ = false; descripti...
25.00464
153
0.673286
yangzhaofeng
55307bf0b102da1dcbeca82bac7ed73adf53a86a
8,215
cpp
C++
MyProcessInjectControl/MFCMyProcCtlUI/MFCMyProcCtlUIDlg.cpp
shc0743/CLearn
e6580588102bb66fb76903deb6699f19b38f4676
[ "MIT" ]
null
null
null
MyProcessInjectControl/MFCMyProcCtlUI/MFCMyProcCtlUIDlg.cpp
shc0743/CLearn
e6580588102bb66fb76903deb6699f19b38f4676
[ "MIT" ]
null
null
null
MyProcessInjectControl/MFCMyProcCtlUI/MFCMyProcCtlUIDlg.cpp
shc0743/CLearn
e6580588102bb66fb76903deb6699f19b38f4676
[ "MIT" ]
null
null
null
 // MFCMyProcCtlUIDlg.cpp: 实现文件 // #include "pch.h" #include "framework.h" #include "MFCMyProcCtlUI.h" #include "MFCMyProcCtlUIDlg.h" #include "afxdialogex.h" #ifdef _DEBUG #define new DEBUG_NEW #endif #include <TlHelp32.h> using namespace std; CAboutDlg::CAboutDlg() : CDialogEx(IDD_ABOUTBOX) { } void CAboutDlg::...
26.246006
79
0.709677
shc0743
553345d2e3f5d662bb794c85bfdcafd0b77fc691
8,688
cpp
C++
Source/Qurses/util.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/Qurses/util.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/Qurses/util.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
/* Public Domain Curses */ #include "Qurses/curspriv.h" RCSID("$Id: util.c,v 1.71 2008/07/13 16:08:18 wmcbrine Exp $") /*man-start************************************************************** Name: util Synopsis: char *unctrl(chtype c); v...
26.487805
106
0.436119
mfaithfull
553c6630e13e876b18e0421953c8a53c297bc302
3,945
hpp
C++
threadsafe/queue/spsc_queue.hpp
AVasK/core
e8f73f2b92be1ac0a98bda2824682181c5575748
[ "MIT" ]
null
null
null
threadsafe/queue/spsc_queue.hpp
AVasK/core
e8f73f2b92be1ac0a98bda2824682181c5575748
[ "MIT" ]
null
null
null
threadsafe/queue/spsc_queue.hpp
AVasK/core
e8f73f2b92be1ac0a98bda2824682181c5575748
[ "MIT" ]
null
null
null
#pragma once #include <atomic> #include "../../cpu.hpp" // cacheline_size #include "../../range.hpp" #include "../auxiliary/tagged.hpp" // TaggedData #include "io_descriptors.hpp" // core::{queue_reader, queue_writer} #include <vector> template <typename T, typename size_type=unsigned> class spsc_queue { frie...
26.836735
146
0.532573
AVasK
553fa9919d6f85475b1ce52b5cd98398731f4ede
29,505
cpp
C++
libs/odbc/binder.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
null
null
null
libs/odbc/binder.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
1
2017-01-07T09:44:20.000Z
2017-01-07T09:44:20.000Z
libs/odbc/binder.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * Copyright 2005-2006, Hajo Kirchhoff - Lit Window Productions, http://www.litwindow.com * This file is part of the Lit Window ODBC Library. All use of this material - copying * in full or part, including in other works, using in non-profit or for-profit work * and other uses - is governed by the licence contained ...
35
285
0.716624
hajokirchhoff
554449e60a821f16c728c8c7d5f120483a2d48bd
3,792
cpp
C++
Example/Example.cpp
davemc0/Particle
04d9bbe19e21b9024c81eb21708425e4a1ebc361
[ "CC0-1.0" ]
1
2022-03-26T01:48:11.000Z
2022-03-26T01:48:11.000Z
Example/Example.cpp
davemc0/Particle
04d9bbe19e21b9024c81eb21708425e4a1ebc361
[ "CC0-1.0" ]
null
null
null
Example/Example.cpp
davemc0/Particle
04d9bbe19e21b9024c81eb21708425e4a1ebc361
[ "CC0-1.0" ]
null
null
null
// Example.cpp - An example of the Particle System API in OpenGL // // Copyright 1999-2006, 2022 by David K. McAllister #include "Particle/pAPI.h" using namespace PAPI; // OpenGL #include "GL/glew.h" // This needs to come after GLEW #include "GL/freeglut.h" // For C++17 execution policy to get parallelism of partic...
26.893617
151
0.64847
davemc0
5545628e382e2f84e9ad33d63a872f72b56334fc
1,281
hpp
C++
include/cql/cql_uuid.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
3
2016-02-24T09:22:16.000Z
2021-04-06T03:04:21.000Z
include/cql/cql_uuid.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
null
null
null
include/cql/cql_uuid.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
6
2015-04-26T07:16:44.000Z
2020-11-23T06:31:07.000Z
/* * File: cql_uuid_t.hpp * Author: mc * * Created on September 26, 2013, 12:35 PM */ #ifndef CQL_UUID_HPP_ #define CQL_UUID_HPP_ #include <functional> namespace cql { class cql_uuid_t; } namespace std { // template<> // struct hash<cql::cql_uuid_t>; } namespace cql { class cql_uuid_t { public:...
18.042254
64
0.551132
ncbi
5546642ce4eec804341472684f579415e01994e1
641
cpp
C++
simplefvm/src/FVMSolver/CoeffsPartsCommon/DataExchanger/DataExchangerP.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
4
2022-01-03T08:45:55.000Z
2022-01-06T19:57:11.000Z
simplefvm/src/FVMSolver/CoeffsPartsCommon/DataExchanger/DataExchangerP.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
null
null
null
simplefvm/src/FVMSolver/CoeffsPartsCommon/DataExchanger/DataExchangerP.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
null
null
null
#include "DataExchangerP.h" namespace fvmsolver { DataExchangerP::DataExchangerP(uPtrDataPort spData) : spData_(std::move(spData)), data_(*spData_) { } void DataExchangerP::assignCurrentCellValues(size_t step) { size_t numUw_ = data_.getNum...
27.869565
63
0.631825
artvns
554761e1a836a0c8b0f900513094b1f845556219
5,192
cpp
C++
src/physics/ycolshape.cpp
sivarajankumar/smoothernity
a4c7d290ca601bddf680ef040f3235dc7b029a6b
[ "MIT" ]
null
null
null
src/physics/ycolshape.cpp
sivarajankumar/smoothernity
a4c7d290ca601bddf680ef040f3235dc7b029a6b
[ "MIT" ]
null
null
null
src/physics/ycolshape.cpp
sivarajankumar/smoothernity
a4c7d290ca601bddf680ef040f3235dc7b029a6b
[ "MIT" ]
null
null
null
#include "yphysres.h" #include "ycolshape.hpp" #include "pmem.hpp" struct ycolshapes_t { int count; ycolshape_t *pool; }; static ycolshapes_t g_ycolshapes; int ycolshape_init(int count) { size_t size_max, align_max; ycolshape_t *cs; #define FIND_SIZES(t) \ if (sizeof(t) > size_max) size_...
27.764706
79
0.578005
sivarajankumar
554a6cc43c83e5ad46f4ae32c3288a1875b434a5
782
cpp
C++
src/client/src/ImagingException.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
src/client/src/ImagingException.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
src/client/src/ImagingException.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "ImagingException.h" #include "Tools.h" using namespace std; using namespace Tools; ImagingException::ImagingException(HRESULT result) : error (::GetLastError()) , result (result) { DWORD flags (FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_FROM_HMODULE|FORMAT_MESSAGE_IGNO...
24.4375
104
0.643223
don-reba
55500631f687f3ca724aa7dc4096cbb61ef2bf1b
1,385
cpp
C++
src/main.cpp
marangisto/dro
d5c7ff5a3d4a321f75288f4dc1417dc30cdca854
[ "MIT" ]
null
null
null
src/main.cpp
marangisto/dro
d5c7ff5a3d4a321f75288f4dc1417dc30cdca854
[ "MIT" ]
null
null
null
src/main.cpp
marangisto/dro
d5c7ff5a3d4a321f75288f4dc1417dc30cdca854
[ "MIT" ]
null
null
null
#include <gpio.h> #include <textio.h> #include <usart.h> #include <hardware/tm1637.h> #include <button.h> static const pin_t LED = PA5; static const pin_t PROBE = PA8; static const int SERIAL_USART = 2; static const pin_t SERIAL_TX = PA2; static const pin_t SERIAL_RX = P...
23.083333
60
0.625993
marangisto
55554a9d591a8c787954592b1ccf0f098e863c22
695
cpp
C++
src/samarium/physics/Spring.cpp
strangeQuark1041/samarium
7e4d107e719d54b55b16d63707595a27f357fb6d
[ "MIT" ]
1
2021-12-25T16:37:53.000Z
2021-12-25T16:37:53.000Z
src/samarium/physics/Spring.cpp
strangeQuark1041/samarium
7e4d107e719d54b55b16d63707595a27f357fb6d
[ "MIT" ]
1
2022-03-07T11:46:27.000Z
2022-03-07T11:46:27.000Z
src/samarium/physics/Spring.cpp
strangeQuark1041/samarium
7e4d107e719d54b55b16d63707595a27f357fb6d
[ "MIT" ]
null
null
null
/* * SPDX-License-Identifier: MIT * Copyright (c) 2022 Jai Bellare * See <https://opensource.org/licenses/MIT/> or LICENSE.md * Project homepage: https://github.com/strangeQuark1041/samarium */ #include "Spring.hpp" namespace sm { [[nodiscard]] auto Spring::length() const noexcept -> f64 { return math::distance(...
26.730769
100
0.666187
strangeQuark1041
55566650381b23567922169592f96bac20617ea6
948
cpp
C++
Leetcode/Day019/unique_path_obstacle.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
Leetcode/Day019/unique_path_obstacle.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
Leetcode/Day019/unique_path_obstacle.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
class Solution { public: int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) { int m = obstacleGrid.size(); int n = obstacleGrid[0].size(); vector<vector<unsigned int>> dp(m, vector<unsigned int> (n,0)); if(obstacleGrid[0][0] == 1) retur...
23.7
71
0.369198
SujalAhrodia
555eb04b23df36f8bbe34884d1adb71ad6759a83
2,712
cpp
C++
src/camera/CameraParams.cpp
huskyroboticsteam/PY2020
cd6368d85866204dbdca6aefacac69059e780aa2
[ "Apache-2.0" ]
11
2019-10-03T01:17:16.000Z
2020-10-25T02:38:32.000Z
src/camera/CameraParams.cpp
huskyroboticsteam/PY2020
cd6368d85866204dbdca6aefacac69059e780aa2
[ "Apache-2.0" ]
53
2019-10-03T02:11:04.000Z
2021-06-05T03:11:55.000Z
src/camera/CameraParams.cpp
huskyroboticsteam/Resurgence
649f78103b6d76709fdf55bb38d08c0ff50da140
[ "Apache-2.0" ]
3
2019-09-20T04:09:29.000Z
2020-08-18T22:25:20.000Z
#include "CameraParams.h" #include <opencv2/core.hpp> namespace cam { ////////////// CONSTRUCTORS ////////////// CameraParams::CameraParams() { } void CameraParams::init(const cv::Mat& camera_matrix, const cv::Mat& dist_coeff, cv::Size image_size) { if (camera_matrix.size() != cv::Size(3, 3)) { throw std:...
26.851485
94
0.696165
huskyroboticsteam
5561aca0f75c7279a4e60441e8f0e6ae404732fd
9,253
cpp
C++
src/heuristics/rcHeuristics/RCModelFactory.cpp
Songtuan-Lin/pandaPIengine
be019b16fec6f679fa3db31b97ccbe9491769d65
[ "BSD-3-Clause" ]
5
2021-04-06T22:06:47.000Z
2021-07-20T14:56:13.000Z
src/heuristics/rcHeuristics/RCModelFactory.cpp
Songtuan-Lin/pandaPIengine
be019b16fec6f679fa3db31b97ccbe9491769d65
[ "BSD-3-Clause" ]
2
2021-04-07T12:17:39.000Z
2021-09-03T10:30:26.000Z
src/heuristics/rcHeuristics/RCModelFactory.cpp
Songtuan-Lin/pandaPIengine
be019b16fec6f679fa3db31b97ccbe9491769d65
[ "BSD-3-Clause" ]
6
2021-06-16T13:41:06.000Z
2022-03-30T07:13:18.000Z
/* * RCModelFactory.cpp * * Created on: 09.02.2020 * Author: dh */ #include "RCModelFactory.h" namespace progression { RCModelFactory::RCModelFactory(Model* htn) { this->htn = htn; } RCModelFactory::~RCModelFactory() { // TODO Auto-generated destructor stub } Model* RCModelFactory::getRCmodelSTRIPS() ...
28.915625
93
0.584675
Songtuan-Lin
5563e17227c0e9ac9e3f36e11978115c10de87cf
3,764
cpp
C++
src/vismethods/boxplot.cpp
jakobtroidl/Barrio
55c447325f2e83a21b39c54cdca37b2779d0569c
[ "MIT" ]
null
null
null
src/vismethods/boxplot.cpp
jakobtroidl/Barrio
55c447325f2e83a21b39c54cdca37b2779d0569c
[ "MIT" ]
3
2021-11-02T22:24:04.000Z
2021-11-29T18:01:51.000Z
src/vismethods/boxplot.cpp
jakobtroidl/Barrio
55c447325f2e83a21b39c54cdca37b2779d0569c
[ "MIT" ]
null
null
null
#include "boxplot.h" Boxplot::Boxplot(Boxplot* boxplot) { m_datacontainer = boxplot->m_datacontainer; m_global_vis_parameters = boxplot->m_global_vis_parameters; } Boxplot::Boxplot(GlobalVisParameters* visparams, DataContainer* datacontainer) { m_global_vis_parameters = visparams; m_datacontainer = datacontainer;...
24.283871
135
0.772848
jakobtroidl
5568cae4112ad35a5722916126cef4f92baa52be
5,227
hpp
C++
libmikroxml/mikroxml/mikroxml.hpp
rantingmong/svgrenderer
082879b448a2c241f69e383620b59e307298bb77
[ "MIT" ]
1
2021-03-29T19:30:47.000Z
2021-03-29T19:30:47.000Z
libmikroxml/mikroxml/mikroxml.hpp
rantingmong/svgrenderer
082879b448a2c241f69e383620b59e307298bb77
[ "MIT" ]
null
null
null
libmikroxml/mikroxml/mikroxml.hpp
rantingmong/svgrenderer
082879b448a2c241f69e383620b59e307298bb77
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <utki/Buf.hpp> #include <utki/Exc.hpp> namespace mikroxml{ class Parser{ enum class State_e{ IDLE, TAG, TAG_SEEK_GT, TAG_EMPTY, DECLARATION, DECLARATION_END, COMMENT, COMMENT_END, ATTRIBUTES, ATTRIBUTE_NAME, ATTRIBUTE_SEEK_TO_EQUALS, ATTRIBUTE_SEEK_TO_...
35.080537
132
0.726229
rantingmong
556b6070e185d3ad180455bf7f53800ef7ee2f7e
165
cpp
C++
319-bulb-switcher/319-bulb-switcher.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
319-bulb-switcher/319-bulb-switcher.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
319-bulb-switcher/319-bulb-switcher.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
class Solution { public: int bulbSwitch(int n) { int cnt = 0; for(int i=1;i*i<=n;++i){ cnt++; } return cnt; } };
15
31
0.406061
shreydevep
5571b7ca836a9d01adde6967d32f705483a08ef8
5,851
cpp
C++
tests/unit_tests/libKitsunemimiCommon/statemachine_test.cpp
kitsudaiki/libKitsunemimiCommon
65c60deddf9fb813035fc2f3251c5ae5c8f7423f
[ "MIT" ]
null
null
null
tests/unit_tests/libKitsunemimiCommon/statemachine_test.cpp
kitsudaiki/libKitsunemimiCommon
65c60deddf9fb813035fc2f3251c5ae5c8f7423f
[ "MIT" ]
49
2020-08-24T18:09:35.000Z
2022-02-13T22:19:39.000Z
tests/unit_tests/libKitsunemimiCommon/statemachine_test.cpp
tobiasanker/libKitsunemimiCommon
d40d1314db0a6d7e04afded09cb4934e01828ac4
[ "MIT" ]
1
2020-08-29T14:30:41.000Z
2020-08-29T14:30:41.000Z
/** * @file statemachine_test.cpp * * @author Tobias Anker <tobias.anker@kitsunemimi.moe> * * @copyright MIT License */ #include "statemachine_test.h" #include <libKitsunemimiCommon/statemachine.h> namespace Kitsunemimi { Statemachine_Test::Statemachine_Test() : Kitsunemimi::CompareTestHelper("Stat...
26.595455
82
0.766194
kitsudaiki
5574c5de3bab02af2bbfed26f5cfe2ba8ae4a69e
5,927
cpp
C++
globe/globe_shader.cpp
MarkY-LunarG/LunarGlobe
d32a6145eebc68ad4d7e28bdd4fab88cbdd33545
[ "Apache-2.0" ]
2
2018-06-20T15:19:38.000Z
2018-07-13T15:13:30.000Z
globe/globe_shader.cpp
MarkY-LunarG/LunarGlobe
d32a6145eebc68ad4d7e28bdd4fab88cbdd33545
[ "Apache-2.0" ]
25
2018-07-27T23:02:01.000Z
2019-03-15T17:00:05.000Z
globe/globe_shader.cpp
MarkY-LunarG/LunarGravity
d32a6145eebc68ad4d7e28bdd4fab88cbdd33545
[ "Apache-2.0" ]
null
null
null
// // Project: LunarGlobe // SPDX-License-Identifier: Apache-2.0 // // File: globe/globe_shader.cpp // Copyright(C): 2018-2019; LunarG, Inc. // Author(s): Mark Young <marky@lunarg.com> // #include <cstring> #include <fstream> #include <string> #include <sstre...
40.047297
112
0.62578
MarkY-LunarG
55769a005a140f772cd2ea9a01a12416aa6e3b4f
15,261
cpp
C++
software/imageread/xi_input_image.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
288
2018-03-23T01:41:40.000Z
2022-03-03T08:52:54.000Z
software/imageread/xi_input_image.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
171
2018-03-25T11:03:23.000Z
2022-01-29T14:16:59.000Z
software/imageread/xi_input_image.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
154
2018-03-23T01:31:33.000Z
2022-03-04T14:26:40.000Z
/*---------------------------------------------------- Copyright 2017 Xilinx, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by app...
22.085384
180
0.636393
yhyoung
5578bfbd80af35e8b15a9510717a5a0cce4ba4cf
101
cc
C++
example/memcache/Item.cc
Conzxy/kanon
3440b0966153a0b8469e90b2a52df317aa4fe723
[ "MIT" ]
null
null
null
example/memcache/Item.cc
Conzxy/kanon
3440b0966153a0b8469e90b2a52df317aa4fe723
[ "MIT" ]
null
null
null
example/memcache/Item.cc
Conzxy/kanon
3440b0966153a0b8469e90b2a52df317aa4fe723
[ "MIT" ]
null
null
null
#include "Item.h" namespace memcache { std::atomic<u64> Item::s_cas_(0); } // namespace memcache
12.625
34
0.683168
Conzxy
5579482f0ec6190139c6f85f8691a06d2de5ff42
863
hpp
C++
plugins/opengl/include/sge/opengl/xrandr/set_resolution.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/include/sge/opengl/xrandr/set_resolution.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/include/sge/opengl/xrandr/set_resolution.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_OPENGL_XRANDR_SET_RESOLUTION_HPP_INCLUDED #define SGE_OPENGL_XRANDR_SET_RESOLUTION_HPP_...
30.821429
61
0.74971
cpreh
557a792be377471c08aeae8d211267379bea0f15
3,257
hpp
C++
tuo_units/TUO_Reg_Units_OPF_F.hpp
bc036/A3-TUO-Units
157f4f45317a19cf90d3f28b017b43de737f5bb3
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
tuo_units/TUO_Reg_Units_OPF_F.hpp
bc036/A3-TUO-Units
157f4f45317a19cf90d3f28b017b43de737f5bb3
[ "Naumen", "Condor-1.1", "MS-PL" ]
44
2019-09-24T17:11:29.000Z
2021-08-14T18:37:15.000Z
tuo_units/TUO_Reg_Units_OPF_F.hpp
bc036/A3-TUO-Units
157f4f45317a19cf90d3f28b017b43de737f5bb3
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
class O_T_TUO_Reg_Base_F:B_T_TUO_Reg_base_F { side=0; //OPF_F=0 BLU_F=1 IND_F=2 faction="TUO_T_OPF_F"; }; class O_A_TUO_Reg_base_F:B_A_TUO_Reg_base_F { side=0; //OPF_F=0 BLU_F=1 IND_F=2 faction="TUO_A_OPF_F"; }; class O_W_TUO_Reg_Base_F:B_W_TUO_Reg_base_F { side=0; //OPF_F=0 BLU_F=1 IND_F=2 faction="TUO_W_OPF_F";...
21.713333
51
0.760823
bc036
557b88c28caf8c1a8e0b49aea2e46c1ae215bf71
1,675
cpp
C++
test/cli/minions_coverage_test.cpp
seqan/minions
58339454f992264b73197f1bf8c94e8f4b1c3c2f
[ "BSD-3-Clause" ]
null
null
null
test/cli/minions_coverage_test.cpp
seqan/minions
58339454f992264b73197f1bf8c94e8f4b1c3c2f
[ "BSD-3-Clause" ]
16
2021-09-29T13:00:06.000Z
2022-03-07T13:34:16.000Z
test/cli/minions_coverage_test.cpp
MitraDarja/Comparison
58339454f992264b73197f1bf8c94e8f4b1c3c2f
[ "BSD-3-Clause" ]
1
2022-01-09T22:36:43.000Z
2022-01-09T22:36:43.000Z
#include "cli_test.hpp" TEST_F(cli_test, no_options) { cli_test_result result = execute_app("minions coverage"); std::string expected { "minions-coverage\n" "================\n" " Try -h or --help for more information.\n" }; EXPECT_EQ(result.exit_code, 0); EXPECT_EQ(r...
31.018519
131
0.665672
seqan
5355b6e7c24675c87cabae20b628a3dd5351c293
479
cpp
C++
linux/cmd.cpp
Universefei/f8snippet
408ae26cf666861e3aa0f58fbdd89a93b3fb1a4a
[ "Apache-2.0" ]
null
null
null
linux/cmd.cpp
Universefei/f8snippet
408ae26cf666861e3aa0f58fbdd89a93b3fb1a4a
[ "Apache-2.0" ]
null
null
null
linux/cmd.cpp
Universefei/f8snippet
408ae26cf666861e3aa0f58fbdd89a93b3fb1a4a
[ "Apache-2.0" ]
null
null
null
string exe_cmd(const string& cmd) { int t_ret = 0; string t_result = ""; t_result.resize(1024); FILE* fp = popen(cmd.c_str(), "r"); fgets(&t_result[0], t_result.capacity(), fp); pclose(fp); return t_result; } string get_md5(const string& file) { char buf[128] = {'\0'}; string cmd = "md5sum "; cmd....
21.772727
47
0.605428
Universefei
5368e5f9756762633f750c5c0ff8ef6f9882060e
1,151
cpp
C++
c++/zigzag_conversion.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/zigzag_conversion.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/zigzag_conversion.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSIIGYIR" Write the code that will take a string and make this conver...
20.192982
120
0.529105
SongZhao
536b253989e4c9c91ccb838702940a731c4b1c28
4,577
hpp
C++
include/foonathan/lex/token.hpp
foonathan/lex
2d0177d453f8c36afc78392065248de0b48c1e7d
[ "BSL-1.0" ]
142
2018-10-16T16:41:09.000Z
2021-12-13T20:04:50.000Z
include/foonathan/lex/token.hpp
foonathan/lex
2d0177d453f8c36afc78392065248de0b48c1e7d
[ "BSL-1.0" ]
null
null
null
include/foonathan/lex/token.hpp
foonathan/lex
2d0177d453f8c36afc78392065248de0b48c1e7d
[ "BSL-1.0" ]
10
2018-10-16T19:08:36.000Z
2021-03-19T14:36:29.000Z
// Copyright (C) 2018-2019 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #ifndef FOONATHAN_LEX_TOKEN_HPP_INCLUDED #define FOONATHAN_LEX_TOKEN_HPP_INCLUDED #include <foonathan/lex/spelling.hpp> ...
26.923529
100
0.59078
foonathan
537be64c75a2acd632f61bb9e80b6d443b077e80
2,219
cpp
C++
Filesystem/Problem36/main.cpp
vegemil/ModernCppChallengeStudy
52c2bb22c76ae3f3a883ae479cd70ac27513e78d
[ "MIT" ]
null
null
null
Filesystem/Problem36/main.cpp
vegemil/ModernCppChallengeStudy
52c2bb22c76ae3f3a883ae479cd70ac27513e78d
[ "MIT" ]
null
null
null
Filesystem/Problem36/main.cpp
vegemil/ModernCppChallengeStudy
52c2bb22c76ae3f3a883ae479cd70ac27513e78d
[ "MIT" ]
null
null
null
// 36. Deleting files older than a given date // Write a function that, given the path to a directory and a duration, deletes all // the entries (files or subdirectories) older than the specified duration, in a // recursive manner. The duration can represent anything, such as days, hours, // minutes, seconds, and so o...
28.448718
86
0.679585
vegemil
537cb69b0923b19595b35018463da84a46573bfc
472
cpp
C++
Engine/Source/Misc/Singleton.cpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
2
2022-01-11T21:15:31.000Z
2022-02-22T21:14:33.000Z
Engine/Source/Misc/Singleton.cpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
Engine/Source/Misc/Singleton.cpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
#include "Singleton.h" void SingletonCache::Store(const std::type_index& type, void* ptr) { //return; //using auto registers breaks this whole thing m_PointerCache[type] = ptr; } void* SingletonCache::Find(const std::type_index& type) { if(m_PointerCache.empty()) return nullptr; for (auto& pair : m_PointerCache)...
20.521739
74
0.724576
wdrDarx
537e955672b76efb287ccd96dea5e70143e09d32
3,574
hpp
C++
chapter20/uncommentedString.hpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
2
2022-01-08T03:31:25.000Z
2022-03-09T01:21:54.000Z
chapter20/uncommentedString.hpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
null
null
null
chapter20/uncommentedString.hpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
1
2022-03-09T01:26:01.000Z
2022-03-09T01:26:01.000Z
/********************************************************* * * Part of the answer to exercise 1 in chapter 20 * * Modified 20.3 from Sams Teach Yourself C++ in 24 Hours by Rogers Cadenhead * and Jesse Liberty * * Compiled with g++ (GCC) 11.1.0 * *********************************************************/ #include <io...
21.023529
77
0.618355
not-sponsored
53830346afd4c02fa7869d8037de73ed1ec97ef6
11,459
cpp
C++
Plugins/SimpleMaterialUI/Source/SimpleMaterialUIEditor/Private/SmMarginCustomization.cpp
dfyzy/StealthTest
ff48d800ef073abd559048d81df7efd014c91cb7
[ "MIT" ]
null
null
null
Plugins/SimpleMaterialUI/Source/SimpleMaterialUIEditor/Private/SmMarginCustomization.cpp
dfyzy/StealthTest
ff48d800ef073abd559048d81df7efd014c91cb7
[ "MIT" ]
null
null
null
Plugins/SimpleMaterialUI/Source/SimpleMaterialUIEditor/Private/SmMarginCustomization.cpp
dfyzy/StealthTest
ff48d800ef073abd559048d81df7efd014c91cb7
[ "MIT" ]
null
null
null
#include "SmMarginCustomization.h" #include "PropertyHandle.h" #include "DetailLayoutBuilder.h" #include "Widgets/Input/SNumericEntryBox.h" #include "Editor.h" bool FSmMarginIdentifier::IsPropertyTypeCustomized(const IPropertyHandle& PropertyHandle) const { return PropertyHandle.IsValidHandle() && PropertyHandle.Get...
38.844068
174
0.761498
dfyzy
5384176a24be9a050c35188a1a18a9ebb667084b
9,232
cpp
C++
betteryao/OTExtension/util/Miracl/zzn3.cpp
bt3ze/pcflib
c66cdc5957818cd5b3754430046cad91ce1a921d
[ "BSD-2-Clause" ]
null
null
null
betteryao/OTExtension/util/Miracl/zzn3.cpp
bt3ze/pcflib
c66cdc5957818cd5b3754430046cad91ce1a921d
[ "BSD-2-Clause" ]
null
null
null
betteryao/OTExtension/util/Miracl/zzn3.cpp
bt3ze/pcflib
c66cdc5957818cd5b3754430046cad91ce1a921d
[ "BSD-2-Clause" ]
null
null
null
/*************************************************************************** * Copyright 2013 CertiVox IOM Ltd. * * This file i...
23.313131
93
0.476603
bt3ze
53988aa7ba416ddd19afa84395af5a3fae8bd86d
1,714
cpp
C++
test/quiver/disjoint_set.cpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
null
null
null
test/quiver/disjoint_set.cpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
1
2018-11-28T12:55:50.000Z
2018-11-28T12:55:50.000Z
test/quiver/disjoint_set.cpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
1
2018-08-19T16:48:23.000Z
2018-08-19T16:48:23.000Z
/* * Quiver - A graph theory library * Copyright (C) 2018 Josua Rieder (josua.rieder1996@gmail.com) * Distributed under the MIT License. * See the enclosed file LICENSE.txt for further information. */ #include <catch2/catch.hpp> #include <quiver.hpp> using namespace quiver; TEST_CASE("disjoint_set", "[quiver][fu...
23.805556
63
0.620187
Fytch
539b28bd3fd509a516e0026b76ec38fb73d66154
795
cpp
C++
demo/ref_object.cpp
bianc2018/Sim
8c37f65d28b99598c1c75a650e4da36a460cf600
[ "MIT" ]
1
2021-01-19T15:25:25.000Z
2021-01-19T15:25:25.000Z
demo/ref_object.cpp
bianc2018/Sim
8c37f65d28b99598c1c75a650e4da36a460cf600
[ "MIT" ]
null
null
null
demo/ref_object.cpp
bianc2018/Sim
8c37f65d28b99598c1c75a650e4da36a460cf600
[ "MIT" ]
null
null
null
#include "Logger.hpp" #include "TaskPool.hpp" #include "RefObject.hpp" class faketype { public: faketype() { SIM_LINFO("faketype() "<<SIM_HEX(this)); } ~faketype() { SIM_LINFO("~faketype " << SIM_HEX(this)); } }; sim::RefObject<faketype> temp; void* run(void* pd) { sim::RefObject<faketype> ref = temp; SIM_...
17.666667
46
0.642767
bianc2018
53a00aa768d7073cafbf71f51d524ea23faded2c
669
cpp
C++
RapyutaTest.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
26
2019-04-05T07:10:15.000Z
2022-01-08T02:35:19.000Z
RapyutaTest.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
2
2019-04-25T15:47:54.000Z
2019-09-03T06:46:05.000Z
RapyutaTest.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
8
2019-04-05T08:58:50.000Z
2020-07-03T01:53:58.000Z
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int arr[n + 1]; for (int i = 1; i <= n; ++i) { cin >> arr[i]; } int dp[n + 1][n + 1]; memset(dp, sizeof(dp), 0); int res = INT_MIN; dp[1][0] = 0; dp[1][1] = arr[1]; for (int i = 2; i <= n; ++i) { for (int j = 0; j <= i; +...
19.114286
73
0.355755
abhis2007
53a6d540c52e63dc58070a971baff80f27fd0f77
2,388
cpp
C++
client/include/game/CCheckpoints.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
client/include/game/CCheckpoints.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/game/CCheckpoints.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CCheckpoints.h" unsigned int MAX_NUM_CHECKPOINTS = 32; unsigned int &CCheckpoints::NumActiveCPts = *...
45.923077
302
0.760888
MayconFelipeA
53b778497d67824a758b505d8509133ac53883c4
5,833
hpp
C++
include/RavEngine/unordered_vector.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
48
2020-11-18T23:14:25.000Z
2022-03-11T09:13:42.000Z
include/RavEngine/unordered_vector.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
1
2020-11-17T20:53:10.000Z
2020-12-01T20:27:36.000Z
include/RavEngine/unordered_vector.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
3
2020-12-22T02:40:39.000Z
2021-10-08T02:54:22.000Z
#pragma once #include <vector> #include <phmap.h> #include <functional> namespace RavEngine { /** The Unordered Vector provides: - O(1) erase by iterator All other complexities for valid behaviors are identical to a regular vector. Elements must be moveable. Note that the order of elements cannot be guareneed. *...
27.64455
188
0.652323
Ravbug
53ba76c61e98337aadf73ebd3e280e4db93c4c91
1,827
cpp
C++
book/CH02/S16_Presenting_an_image.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
5
2019-03-02T16:29:15.000Z
2021-11-07T11:07:53.000Z
book/CH02/S16_Presenting_an_image.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
null
null
null
book/CH02/S16_Presenting_an_image.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
2
2018-07-10T18:15:40.000Z
2020-01-03T04:02:32.000Z
// // Created by aicdg on 2017/6/19. // // // Chapter: 02 Image Presentation // Recipe: 16 Presenting an image #include "S16_Presenting_an_image.h" namespace VKCookbook { bool PresentImage(VkQueue queue, std::vector<VkSemaphore> rendering_semaphores, std::vector<Prese...
41.522727
116
0.509031
THISISAGOODNAME
53bf0759144880c94ad882e74dd18a42bbed8403
910
cpp
C++
lab2/Q1.cpp
jasonsie88/OOP-and-DS
fdf76d6e9b3c70e5c7a97401dfe93984b63e5e28
[ "MIT" ]
null
null
null
lab2/Q1.cpp
jasonsie88/OOP-and-DS
fdf76d6e9b3c70e5c7a97401dfe93984b63e5e28
[ "MIT" ]
null
null
null
lab2/Q1.cpp
jasonsie88/OOP-and-DS
fdf76d6e9b3c70e5c7a97401dfe93984b63e5e28
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; class Student { private: string name; string studentID; int score; public: Student(){ } Student(string name, string studentID, int score){ Student:: name=name; Student:: studentID=studentID; St...
21.162791
80
0.552747
jasonsie88
53c1d1bfbc4f270184ff9e72daeba7920a071150
5,895
cpp
C++
source/QtCore/QFutureWatcherBaseSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
1
2021-03-07T10:44:03.000Z
2021-03-07T10:44:03.000Z
source/QtCore/QFutureWatcherBaseSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
null
null
null
source/QtCore/QFutureWatcherBaseSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
2
2020-07-19T03:28:08.000Z
2021-03-05T18:07:20.000Z
/* Qt4xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 4 Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> */ /* DO NOT EDIT THIS FILE - the content was created using a source code generator */ #include "QFutureWatcherBaseSlots.h" QFutureWatcherBaseSlot...
26.917808
110
0.674979
kenny1818
53cc3cee63f5e72f8f8ef2ed867e47459b546d2b
8,973
cpp
C++
CGALib/src/Model.cpp
jorge-jcc/MarioCraftv2
f0870721685452b2b39df1004f4be26f2dfb3629
[ "Xnet", "X11" ]
null
null
null
CGALib/src/Model.cpp
jorge-jcc/MarioCraftv2
f0870721685452b2b39df1004f4be26f2dfb3629
[ "Xnet", "X11" ]
null
null
null
CGALib/src/Model.cpp
jorge-jcc/MarioCraftv2
f0870721685452b2b39df1004f4be26f2dfb3629
[ "Xnet", "X11" ]
null
null
null
/* * Model.cpp * * Created on: 13/09/2016 * Author: rey */ #include "Headers/Model.h" #include "Headers/TimeManager.h" #include "Headers/mathUtil.h" Model::Model() { this->aabb.mins.x = FLT_MAX; this->aabb.mins.y = FLT_MAX; this->aabb.mins.z = FLT_MAX; this->aabb.maxs.x = -FLT_MAX; thi...
36.77459
146
0.657528
jorge-jcc