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
06a39a830b627d29de407000892141944bd3c7be
1,690
cpp
C++
example/SampleFilter.cpp
shoarai/WashoutFilter
d3489460b58b7dd6d0b54e5132df57b1d8738539
[ "MIT" ]
10
2017-04-24T14:21:26.000Z
2021-03-13T03:34:15.000Z
example/SampleFilter.cpp
shoarai/WashoutFilter
d3489460b58b7dd6d0b54e5132df57b1d8738539
[ "MIT" ]
3
2017-06-01T12:52:22.000Z
2022-03-02T07:20:56.000Z
example/SampleFilter.cpp
shoarai/WashoutFilter
d3489460b58b7dd6d0b54e5132df57b1d8738539
[ "MIT" ]
5
2018-03-09T09:27:35.000Z
2021-12-20T01:50:46.000Z
// Copyright (c) 2017 shoarai #include "SampleFilter.h" double Sample_translationHighPassFilter::doFilter(const double &input0) { input[DELAY_0] = input0; // T[s]×ωn double T_w = cutoffFrequency * time_ms / 1000; // Solve difference equation output[DELAY_0] = square(2 / (T_w + 2)) * (input[DELAY_0] ...
24.142857
86
0.572189
shoarai
06a3dd4e28fd0e2a0ed0b8a49e6dbc658eb33af0
276
hh
C++
src/Nuxed/Contract/Log/LogLevel.hh
tomoki1337/framework
ff06d260c5bf2a78a99b8d17b041de756550f95a
[ "MIT" ]
1
2019-01-25T20:05:55.000Z
2019-01-25T20:05:55.000Z
src/Nuxed/Contract/Log/LogLevel.hh
gitter-badger/framework-27
368b734f2753b06b7f19f819185091f896838467
[ "MIT" ]
null
null
null
src/Nuxed/Contract/Log/LogLevel.hh
gitter-badger/framework-27
368b734f2753b06b7f19f819185091f896838467
[ "MIT" ]
null
null
null
<?hh // strict namespace Nuxed\Contract\Log; /** * Describes log levels. */ enum LogLevel: string { EMERGENCY = 'emergency'; ALERT = 'alert'; CRITICAL = 'critical'; ERROR = 'error'; WARNING = 'warning'; NOTICE = 'notice'; INFO = 'info'; DEBUG = 'debug'; }
15.333333
29
0.605072
tomoki1337
06a569e7bd530090c99270274e906b1056135691
489
hpp
C++
http/echo/NdgEchoConf.hpp
Swanzzy/ngx_cpp_dev
bd479d627294eaaa2a51b47a3d50928a2a85d018
[ "BSD-2-Clause" ]
3
2019-03-06T19:24:02.000Z
2020-11-14T13:16:13.000Z
http/echo/NdgEchoConf.hpp
Swanzzy/ngx_cpp_dev
bd479d627294eaaa2a51b47a3d50928a2a85d018
[ "BSD-2-Clause" ]
null
null
null
http/echo/NdgEchoConf.hpp
Swanzzy/ngx_cpp_dev
bd479d627294eaaa2a51b47a3d50928a2a85d018
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2015 // Author: Chrono Law #ifndef _NDG_ECHO_CONF_HPP #define _NDG_ECHO_CONF_HPP #include "NgxAll.hpp" class NdgEchoConf final { public: typedef NdgEchoConf this_type; public: NdgEchoConf() = default; ~NdgEchoConf() = default; public: ngx_str_t msg; public: static void* create(ngx...
17.464286
61
0.711656
Swanzzy
06a65111e124c690167b081f271a251c9cf7c32e
43
hpp
C++
src/boost_test_results_reporter.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_test_results_reporter.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_test_results_reporter.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/test/results_reporter.hpp>
21.5
42
0.813953
miathedev
06af58b03aed467094cc604a93b285baa4125a33
1,690
cpp
C++
HackerBlocks/More/KMP.cpp
p1yush/code-DS-ALGO
f015f766e75cb61ca908e30bb600bdd6d2fb2e82
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
HackerBlocks/More/KMP.cpp
p1yush/code-DS-ALGO
f015f766e75cb61ca908e30bb600bdd6d2fb2e82
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
HackerBlocks/More/KMP.cpp
p1yush/code-DS-ALGO
f015f766e75cb61ca908e30bb600bdd6d2fb2e82
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include<bits/stdc++.h> #include<unordered_set> using namespace std; #define fio ios_base::sync_with_stdio(false) #define ll long long int #define s(x) scanf("%lld",&x) #define s2(x,y) s(x)+s(y) #define s3(x,y,z) s(x)+s(y)+s(z) #define p(x) printf("%lld\n",x) #define p2(x,y) p(x)+p(y) #define p3(x,y,z) p(x)+p(y)...
18.571429
56
0.540237
p1yush
06b1ab91cb5b3da3220faeeb9cadcce33764179a
3,763
cpp
C++
compiler/luci/pass/src/FoldSparseToDensePass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/FoldSparseToDensePass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/FoldSparseToDensePass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved * * 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...
29.398438
100
0.674993
chunseoklee
06b2ccc73a38270d03f40492f88cb97d279e0eb6
614
cpp
C++
AtCoder/abc017/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc017/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc017/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int N, M; cin >> N >> M; vector<int> L(N, 0); vector<int> R(N, 0); vector<int> S(N, 0); vector<int> sum(M + 1, 0); int ans = 0; for (int i = 0; i < N; ++i) { cin >> L[i] ...
21.928571
49
0.425081
H-Tatsuhiro
06b444e5be73837f699a565f06a1b2c9b6315399
513
cc
C++
uva/10720.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
uva/10720.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
uva/10720.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://uva.onlinejudge.org/external/107/10720.pdf #include<bits/stdc++.h> using namespace std; using vi=vector<int>; int main(){ int n; while(1){ cin>>n; if(!n)break; vi a(n); int o=1; for(int i=0;i<n;i++)cin>>a[i]; sort(&a[0],&a[n],greater<int>()); if(accumulate(&a[0],&a[n],0)%2)o=0...
22.304348
53
0.516569
Ashindustry007
06b8d94754cc1fdc608d3101a4c42482aaa27f07
4,466
cpp
C++
src/shk/test/cmd/pooled_command_runner_test.cpp
pereckerdal/shuriken
6988cf16904481e9d587b6ce9cfc7f1318518e50
[ "Apache-2.0" ]
19
2017-05-15T08:20:00.000Z
2021-12-03T05:58:32.000Z
src/shk/test/cmd/pooled_command_runner_test.cpp
pereckerdal/shuriken
6988cf16904481e9d587b6ce9cfc7f1318518e50
[ "Apache-2.0" ]
null
null
null
src/shk/test/cmd/pooled_command_runner_test.cpp
pereckerdal/shuriken
6988cf16904481e9d587b6ce9cfc7f1318518e50
[ "Apache-2.0" ]
3
2018-01-16T18:07:30.000Z
2021-06-30T07:33:44.000Z
// Copyright 2017 Per Grön. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
32.838235
78
0.660322
pereckerdal
06be667dc5d10b52677c8283a9de75203ac4307d
3,169
hpp
C++
PolyEngine/Engine/Src/ECS/EntityTransform.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
65
2017-04-04T20:33:44.000Z
2019-12-02T23:06:58.000Z
PolyEngine/Engine/Src/ECS/EntityTransform.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
46
2017-04-21T12:26:38.000Z
2019-12-15T05:31:47.000Z
PolyEngine/Engine/Src/ECS/EntityTransform.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
51
2017-04-12T10:53:32.000Z
2019-11-20T13:05:54.000Z
#pragma once #include <Defines.hpp> #include <RTTI/RTTI.hpp> #include <Math/Vector.hpp> #include <Math/Quaternion.hpp> namespace Poly { class Entity; class ENGINE_DLLEXPORT EntityTransform final : public RTTIBase { RTTI_DECLARE_TYPE_DERIVED(::Poly::EntityTransform, ::Poly::RTTIBase) { RTTI_PROPERTY_AUTONA...
38.646341
83
0.770906
PiotrMoscicki
06bf9f02e0b70b936a376efd6b129a3479aac6a0
127
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_col.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_col.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_col.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:9f63f7a7cccd03054cd4049a60c7d1461a20f574b2333d556a5637a1ad20f08c size 82
31.75
75
0.88189
initialz
06c0a6a2055cb8e2cca478d14844c454523cb389
3,684
cpp
C++
AfxHookGoldSrc/screenfade.cpp
markusforss/advancedfx
0c427594e23c30b88081139c6b80f2688b7c211f
[ "MIT" ]
339
2018-01-09T13:12:38.000Z
2022-03-22T21:25:59.000Z
AfxHookGoldSrc/screenfade.cpp
markusforss/advancedfx
0c427594e23c30b88081139c6b80f2688b7c211f
[ "MIT" ]
474
2018-01-01T18:58:41.000Z
2022-03-27T11:09:44.000Z
AfxHookGoldSrc/screenfade.cpp
markusforss/advancedfx
0c427594e23c30b88081139c6b80f2688b7c211f
[ "MIT" ]
77
2018-01-24T11:47:04.000Z
2022-03-30T12:25:59.000Z
// Project : Half-Life Advanced Effects // File : dllg/screenfade.cpp // Comment : Allows to alter or surpress pfnGetScreenFade requests #include <wrect.h> #include <cl_dll.h> #include <cdll_int.h> #include <cvardef.h> #include "hl_addresses.h" #include "detours.h" #include <screenfade.h> #include...
25.232877
187
0.649294
markusforss
06c2670cd16ceab44e067c6bec5673a31925b4a0
4,373
cpp
C++
src/gui.cpp
aceiii/sfml-city-builder
020c05cc3e1c42f86eb0616fbc6473ba61666d6d
[ "MIT" ]
1
2021-01-11T21:09:47.000Z
2021-01-11T21:09:47.000Z
src/gui.cpp
aceiii/sfml-city-builder
020c05cc3e1c42f86eb0616fbc6473ba61666d6d
[ "MIT" ]
null
null
null
src/gui.cpp
aceiii/sfml-city-builder
020c05cc3e1c42f86eb0616fbc6473ba61666d6d
[ "MIT" ]
null
null
null
// // Created by Borin Ouch on 2016-03-23. // #include "gui.h" GuiStyle::GuiStyle() { } GuiStyle::GuiStyle(sf::Font *font, float borderSize, sf::Color bodyColor, sf::Color borderColor, sf::Color textColor, sf::Color bodyHighlightColor, sf::Color borderHighlightColor, sf::Color textHighlightColor)...
25.573099
117
0.611708
aceiii
06c2f7ccfcea2c834d8861f06233b36480345f19
1,057
cpp
C++
gtestrunner/TestRunResult.cpp
Kittyfisto/gtestrunner
ce9d3de30390190ce4d6ef60e8f9e9b083186fad
[ "MIT" ]
null
null
null
gtestrunner/TestRunResult.cpp
Kittyfisto/gtestrunner
ce9d3de30390190ce4d6ef60e8f9e9b083186fad
[ "MIT" ]
null
null
null
gtestrunner/TestRunResult.cpp
Kittyfisto/gtestrunner
ce9d3de30390190ce4d6ef60e8f9e9b083186fad
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "TestRunResult.h" TestRunResult::TestRunResult(const std::vector<TestResult>& testResults) : _testResults(testResults) {} std::size_t TestRunResult::NumSuccesses() const { return std::count_if(_testResults.begin(), _testResults.end(), [](const TestResult& result) -> bool {return result....
31.088235
138
0.736045
Kittyfisto
06c3b84faa24d9e72d7a4c24760c452d0d80098f
2,538
cpp
C++
Examples/4244OS_07_Code/maxMovementLK/maxMovementLK.cpp
LinuxGogley/OpenCV3-C-
07f7fe3eb3be373b1c695d2d0f0bd86072f89c27
[ "MIT" ]
null
null
null
Examples/4244OS_07_Code/maxMovementLK/maxMovementLK.cpp
LinuxGogley/OpenCV3-C-
07f7fe3eb3be373b1c695d2d0f0bd86072f89c27
[ "MIT" ]
null
null
null
Examples/4244OS_07_Code/maxMovementLK/maxMovementLK.cpp
LinuxGogley/OpenCV3-C-
07f7fe3eb3be373b1c695d2d0f0bd86072f89c27
[ "MIT" ]
null
null
null
#include "opencv2/opencv.hpp" using namespace std; using namespace cv; const int MAX_FEATURES = 500; const int MAX_MOVEMENT = 100; void maxMovementLK(Mat& prev_frame, Mat& frame) { // 1-Detect right features to apply the optical flow vector<Point2f> initial_features; goodFeaturesToTrack(prev_...
27
137
0.617809
LinuxGogley
06c7ed02bcd8a6bd55e13b13c85bd38cd153dd7c
118,048
cc
C++
wrspice/devlib/stag/soi3load.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/stag/soi3load.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/stag/soi3load.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
43.916667
104
0.463405
wrcad
06ca42d934a442acb37c1a77c8cb12b1d22a36a7
839
cpp
C++
temp_gen.cpp
SimplyCpp/exemplos
139cd3c7af6885d0f4be45b0049e0f714bce3468
[ "MIT" ]
6
2015-05-19T06:30:06.000Z
2018-07-24T08:15:45.000Z
temp_gen.cpp
SimplyCpp/exemplos
139cd3c7af6885d0f4be45b0049e0f714bce3468
[ "MIT" ]
1
2015-05-19T06:42:38.000Z
2015-05-19T14:45:49.000Z
temp_gen.cpp
SimplyCpp/exemplos
139cd3c7af6885d0f4be45b0049e0f714bce3468
[ "MIT" ]
3
2015-10-09T05:54:58.000Z
2018-07-25T13:52:32.000Z
int sumNonTemplated(int a, int b) { return a+b; } template <typename T> T sumTemplated(T a, T b) { return a+b; } class NonTemplated { int value; public: using value_type = int; NonTemplated(int a) : value(a) {} int sum(int a) { return value + a; } }; template <typename T> class Templated { T value; public:...
14.719298
39
0.605483
SimplyCpp
06caaef0e7225ae3e53d708f22e5fc4154de6176
805
hpp
C++
Source/enemies/basic.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
Source/enemies/basic.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
Source/enemies/basic.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
#pragma once #include <object_types/iscriptable.hpp> #include <object_types/icollidable.hpp> #include <object_types/killable.hpp> #include <object_types/moveable_object.hpp> #include <object_types/drawable_object.hpp> #include <model/model.hpp> #include <ship/ship.hpp> class BasicEnemy : public IScriptable, public IC...
32.2
127
0.78882
vif
06d51a1d00b9e0404e21b5b1265f68f680c87f37
2,418
cpp
C++
src/apps/login.cpp
GilDev/IntelliCasier-2
d59fa7c53230b137d91a128440f1f0a69034004a
[ "MIT" ]
6
2016-08-23T15:11:22.000Z
2018-07-28T12:29:41.000Z
src/apps/login.cpp
GilDev/IntelliCasier-2
d59fa7c53230b137d91a128440f1f0a69034004a
[ "MIT" ]
null
null
null
src/apps/login.cpp
GilDev/IntelliCasier-2
d59fa7c53230b137d91a128440f1f0a69034004a
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "menu.h" #include "../alarm.h" #include "../config.h" #include "../events.h" #include "../lcd.h" #include "../screensaver.h" byte connectedUser; static byte code[4]; static byte currentColumn; static TimerId eraseWrongPasswordTimer = -1; static void changeNumber(byte lower) { if (lower)...
21.39823
76
0.693135
GilDev
06d9521843caacb44cceead2884621cdcf8abb53
11,200
cc
C++
src/rabbitmq/rpc/producer.cc
silvermagic/Practice
285c464b36016cd202173045dcff98afef197f2d
[ "MIT" ]
null
null
null
src/rabbitmq/rpc/producer.cc
silvermagic/Practice
285c464b36016cd202173045dcff98afef197f2d
[ "MIT" ]
null
null
null
src/rabbitmq/rpc/producer.cc
silvermagic/Practice
285c464b36016cd202173045dcff98afef197f2d
[ "MIT" ]
1
2021-11-29T02:47:35.000Z
2021-11-29T02:47:35.000Z
#include <iostream> #include <iomanip> #include <cstring> #include <amqp.h> #include <amqp_framing.h> #include <amqp_tcp_socket.h> // 子频道标识,实现物理AMQP连接的逻辑复用,即基于一个物理AMQP连接,我们可以创建多个对应虚拟AMQP连接,用于区分不同业务, // 默认情况下我们只需要一个虚拟AMQP连接,因为我们的业务一般只有接收和发送 const int SEND_CHANNEL_ID = 1; const int RECV_CHANNEL_ID = 2; void amqp_reply_...
43.243243
114
0.551786
silvermagic
06ed26099feb3a085bdbb6f05a7e90cf925af033
5,127
cpp
C++
SimulatedAnnealingExtraP/ExtraPSolution.cpp
MiBu84/SMP-Simulated-Annealing
e70ce403012ffc285e5053afd87e5e78a0d5fefa
[ "Apache-2.0" ]
null
null
null
SimulatedAnnealingExtraP/ExtraPSolution.cpp
MiBu84/SMP-Simulated-Annealing
e70ce403012ffc285e5053afd87e5e78a0d5fefa
[ "Apache-2.0" ]
null
null
null
SimulatedAnnealingExtraP/ExtraPSolution.cpp
MiBu84/SMP-Simulated-Annealing
e70ce403012ffc285e5053afd87e5e78a0d5fefa
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "ExtraPSolution.h" #include <math.h> #include <iostream> #include <random> #include "EigenParameterEstimator.h" #include "RSSCostCalculator.h" #include "Configurator.h" /**************** Represents a model of form c_0 + c_1 * p ^ (c_2) * log_2 ^ (c_3) (p) ****************/ ExtraPSolution...
26.025381
100
0.657695
MiBu84
06ee0ba345d8e714e691bfc4bc1f2b981573d2a0
842
cpp
C++
shared/OnOffMovement/OnOffMovement.cpp
Issaimaru/2021Mechanam-Intra-Club-Robot-Contest
abac07e0a292de78d4d4518057e8f0189fb5c524
[ "MIT" ]
null
null
null
shared/OnOffMovement/OnOffMovement.cpp
Issaimaru/2021Mechanam-Intra-Club-Robot-Contest
abac07e0a292de78d4d4518057e8f0189fb5c524
[ "MIT" ]
null
null
null
shared/OnOffMovement/OnOffMovement.cpp
Issaimaru/2021Mechanam-Intra-Club-Robot-Contest
abac07e0a292de78d4d4518057e8f0189fb5c524
[ "MIT" ]
null
null
null
#include "OnOffMovement.h" OnOffMovement::OnOffMovement(Movement *movement) : AutomaticMovement(movement) {} Eigen::Vector3d OnOffMovement::move_automatic(Eigen::Vector3d current_position) { Eigen::Vector3d position_difference, speed_move; position_difference = _target_position - current_position; for(int i = 0; ...
23.388889
84
0.749406
Issaimaru
06f05bbc8b03ee1a5c60fcfec2408b6d079d0229
581
cpp
C++
vm/mterp/c/OP_ARRAY_LENGTH.cpp
flowcoaster/android_platform_dalvik
de43d1017cd6e987a202ac2d977a716f46d429e7
[ "Apache-2.0" ]
1
2021-04-18T07:39:33.000Z
2021-04-18T07:39:33.000Z
vm/mterp/c/OP_ARRAY_LENGTH.cpp
seojangho/android_platform_dalvik
b4f742dec1f7fd25361443ffc622782c981d2995
[ "Apache-2.0" ]
null
null
null
vm/mterp/c/OP_ARRAY_LENGTH.cpp
seojangho/android_platform_dalvik
b4f742dec1f7fd25361443ffc622782c981d2995
[ "Apache-2.0" ]
1
2017-10-14T08:01:05.000Z
2017-10-14T08:01:05.000Z
HANDLE_OPCODE(OP_ARRAY_LENGTH /*vA, vB*/) { ArrayObject* arrayObj; vdst = INST_A(inst); vsrc1 = INST_B(inst); arrayObj = (ArrayObject*) GET_REGISTER(vsrc1); ILOGV("|array-length v%d,v%d (%p)", vdst, vsrc1, arrayObj); if (!checkForNullExportPC((Object*) arrayObj, fp,...
30.578947
68
0.6179
flowcoaster
06f4d961aaf15f3b9d1f5abe4b82b470d4e4b132
5,471
hpp
C++
src/batched/KokkosBatched_Schur2x2_Serial_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
156
2017-03-01T23:38:10.000Z
2022-03-27T21:28:03.000Z
src/batched/KokkosBatched_Schur2x2_Serial_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
1,257
2017-03-03T15:25:16.000Z
2022-03-31T19:46:09.000Z
src/batched/KokkosBatched_Schur2x2_Serial_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
76
2017-03-01T17:03:59.000Z
2022-03-03T21:04:41.000Z
#ifndef __KOKKOSBATCHED_SCHUR2X2_SERIAL_INTERNAL_HPP__ #define __KOKKOSBATCHED_SCHUR2X2_SERIAL_INTERNAL_HPP__ /// \author Kyungjoo Kim (kyukim@sandia.gov) #include "KokkosBatched_Util.hpp" namespace KokkosBatched { /// /// Serial Internal Impl /// ==================== /// /// this impl follows the flam...
42.410853
86
0.586913
dialecticDolt
06f7bba9d48f06d86001d91d32e431e9c1780fc2
3,467
cpp
C++
pomdog/chrono/detail/game_clock_impl.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
pomdog/chrono/detail/game_clock_impl.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
pomdog/chrono/detail/game_clock_impl.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #include "pomdog/chrono/detail/game_clock_impl.hpp" #include "pomdog/basic/conditional_compilation.hpp" #include "pomdog/chrono/time_source.hpp" #include "pomdog/utility/assert.hpp" #include "pomdog/utility/errors.hpp" POMDOG_SUPPRESS_WARNINGS_GENERATED_BY_STD...
26.875969
102
0.748486
mogemimi
06f8e92a0dead5558f9a2e77cb9a6d45181de48a
381
cpp
C++
2019Homeworks/20191019_2017MidTerm/5.UnfoldArray.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
2019Homeworks/20191019_2017MidTerm/5.UnfoldArray.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
2019Homeworks/20191019_2017MidTerm/5.UnfoldArray.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include<iostream> using namespace std; int R,C; int m[102][102]; int main(){ cin>>R>>C; for(int i=1;i<=R;i++){ for(int j=1;j<=C;j++){ cin>>m[i][j]; } } for(int k=2;k<=C+R;k++){ for(int i=1;i<=R;i++){ for(int j=1;j<=C;j++){ if(i+j==k)cout<...
18.142857
46
0.377953
Guyutongxue
660bc43c6849c04b4bb2b681746f4f3e55b7e5b6
8,325
cpp
C++
src/game/server/memberlist.cpp
ftk/XXLDDRace
68ae75092f4483f003e165d93e6334524015dfec
[ "Zlib" ]
2
2015-04-23T16:38:41.000Z
2016-05-24T00:59:25.000Z
src/game/server/memberlist.cpp
ftk/XXLDDRace
68ae75092f4483f003e165d93e6334524015dfec
[ "Zlib" ]
null
null
null
src/game/server/memberlist.cpp
ftk/XXLDDRace
68ae75092f4483f003e165d93e6334524015dfec
[ "Zlib" ]
1
2019-10-21T23:12:12.000Z
2019-10-21T23:12:12.000Z
/* (c) XXLTomate (xxltomate@v93.eu) -- MemberList */ #include "gamecontext.h" #include "memberlist.h" #include <base/tl/sorted_array.h> #include <engine/shared/config.h> #include <engine/external/md5/md5.h> #include <engine/server/server.h> #include <string.h> #include <sstream> #include <fstream> std::string SaveM...
28.316327
188
0.693694
ftk
660d16ca3cd4561b4d0a3f70d4ddcb5d1f27dc57
1,586
hh
C++
skysim/include/sim-module/fifo.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
2
2021-07-05T02:26:11.000Z
2022-01-11T10:37:20.000Z
skysim/include/sim-module/fifo.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
null
null
null
skysim/include/sim-module/fifo.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
1
2022-01-11T10:39:01.000Z
2022-01-11T10:39:01.000Z
#pragma once #include "sim-module/channel.hh" #include "sim-module/fifo_if.hh" #define MAX_BUF_SIZE 1<<20 template<typename T, size_t buf_size=MAX_BUF_SIZE> class FIFO: public Channel, public FIFOReadIF<T>, public FIFOWriteIF<T> { private: std::array<T, buf_size> buf; int read_begin, write_begin, n_readable, n_writ...
27.824561
73
0.691047
ONNC
6614267a6ebc7af077f3b09a3db6583c9420581d
2,412
cpp
C++
Divide & Conquer (D & C)/Max Subarray Sum using D & C.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
8
2021-02-13T17:07:27.000Z
2021-08-20T08:20:40.000Z
Divide & Conquer (D & C)/Max Subarray Sum using D & C.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
null
null
null
Divide & Conquer (D & C)/Max Subarray Sum using D & C.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
5
2021-02-17T18:12:20.000Z
2021-10-10T17:49:34.000Z
/* Problem description ---> You are given a one dimensional array that may contain both positive and negative integers, find the sum of contiguous subarray of numbers which has the largest sum. For example, if the given array is {-2, -5, 6, -2, -3, 1, 5, -6}, then the maximum subarray sum is 7. NOTE:- please solve th...
23.417476
108
0.611111
Edith-3000
6618f9074532a9b97528500506f8ce9b9557135a
851
cpp
C++
src/clixel/ClxBasic.cpp
chromex/clixel
86566460c029ae3578837786fc89412a2df0187e
[ "MIT" ]
null
null
null
src/clixel/ClxBasic.cpp
chromex/clixel
86566460c029ae3578837786fc89412a2df0187e
[ "MIT" ]
null
null
null
src/clixel/ClxBasic.cpp
chromex/clixel
86566460c029ae3578837786fc89412a2df0187e
[ "MIT" ]
null
null
null
#include "pch.h" #include "clixel/Clx.h" ClxBasic::ClxBasic() : _exists(true) , _active(true) , _visible(true) , _alive(true) { } ClxBasic::~ClxBasic() {} bool ClxBasic::IsExist() const { return _exists; } void ClxBasic::SetExist(bool val) { _exists = val; } bool ClxBasic::IsActive() const { return ...
18.911111
55
0.659224
chromex
662067cd84da6583b2020b6af3d597a0a8fad9f6
2,181
cpp
C++
rungeKutta.cpp
SantiagoBeltran/SantiagoBeltran_Ejercicio26
48b6e55fa03f7fed1a2f7a5fa53639946e82ee5b
[ "MIT" ]
null
null
null
rungeKutta.cpp
SantiagoBeltran/SantiagoBeltran_Ejercicio26
48b6e55fa03f7fed1a2f7a5fa53639946e82ee5b
[ "MIT" ]
null
null
null
rungeKutta.cpp
SantiagoBeltran/SantiagoBeltran_Ejercicio26
48b6e55fa03f7fed1a2f7a5fa53639946e82ee5b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> using namespace std; void solve_equation_euler(float t_init, float t_end, float delta_t, float omega, string filename); void solve_equation_rk4(float t_init, float t_end, float delta_t, float omega, string filename); void solve_equation_leapfrog(float t_init, float t_end, float ...
25.964286
101
0.619441
SantiagoBeltran
6621255c1f2da18f80e62cf1779e7c7fe926f878
1,817
hpp
C++
source/AsioExpress/pch.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/pch.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/pch.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
// Copyright Ross MacGregor 2013 // 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) #pragma once #include "AsioExpressConfig/config.hpp" #ifdef _MSC_VER #define WIN32_LEAN_...
32.446429
82
0.757292
suhao
662155abf277454de3ebcc51ebc473e1bb30dea1
304
hpp
C++
third_party/libosmium/test/include/utils.hpp
jhermsmeier/osrm-backend
7b11cd3a11c939c957eeff71af7feddaa86e7f82
[ "BSD-2-Clause" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
third_party/libosmium/test/include/utils.hpp
serarca/osrm-backend
3b4e2e83ef85983df1381dbeacd0ea5d4b9bbbcb
[ "BSD-2-Clause" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
third_party/libosmium/test/include/utils.hpp
serarca/osrm-backend
3b4e2e83ef85983df1381dbeacd0ea5d4b9bbbcb
[ "BSD-2-Clause" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#include <cstdlib> #include <string> inline std::string with_data_dir(const char* filename) { const char* data_dir = getenv("OSMIUM_TEST_DATA_DIR"); std::string result; if (data_dir) { result = data_dir; result += '/'; } result += filename; return result; }
16
58
0.611842
jhermsmeier
6623f5a4a23eac6534d63c661f99fdcf72f5e319
1,818
cpp
C++
src/CriAtomEx3dListener.cpp
ueshita/ADX2LE-GodotPlugin
cb0d9a585e2c35c1d1708a0904899e1a47096b77
[ "MIT" ]
1
2020-10-08T14:56:23.000Z
2020-10-08T14:56:23.000Z
src/CriAtomEx3dListener.cpp
ueshita/ADX2LE-GodotPlugin
cb0d9a585e2c35c1d1708a0904899e1a47096b77
[ "MIT" ]
null
null
null
src/CriAtomEx3dListener.cpp
ueshita/ADX2LE-GodotPlugin
cb0d9a585e2c35c1d1708a0904899e1a47096b77
[ "MIT" ]
null
null
null
#include "GDLibrary.h" #include "CriAtomEx3dListener.h" namespace godot { void CriAtomEx3dListener::_register_methods() { register_method("_init", &CriAtomEx3dListener::_init); register_method("create", &CriAtomEx3dListener::create); register_method("destroy", &CriAtomEx3dListener::destroy); register_method("upda...
23.307692
94
0.79813
ueshita
6626690c237d12267babd490a923f8cf01ed0402
43,124
hpp
C++
examples/bluepy.hpp
AlexeyPsarev/btle_gw-bluepy
7853cf82cc52f9722692544ee85ae185a3595f3f
[ "MIT" ]
null
null
null
examples/bluepy.hpp
AlexeyPsarev/btle_gw-bluepy
7853cf82cc52f9722692544ee85ae185a3595f3f
[ "MIT" ]
null
null
null
examples/bluepy.hpp
AlexeyPsarev/btle_gw-bluepy
7853cf82cc52f9722692544ee85ae185a3595f3f
[ "MIT" ]
null
null
null
/** @file @brief The BTLE gateway example. @author Sergey Polichnoy <sergey.polichnoy@dataart.com> @see @ref page_simple_gw */ #ifndef __EXAMPLES_BLUE_PY_HPP_ #define __EXAMPLES_BLUE_PY_HPP_ #if !defined(HIVE_PCH) # include <boost/enable_shared_from_this.hpp> # include <boost/algorithm/string.hpp> # include <boo...
25.653778
121
0.51774
AlexeyPsarev
6626d5c680aaf4cd1e942754eb12c0361cbc3ef5
1,967
hpp
C++
database/Dictionary.hpp
gpl2021/triad
dfded62dfa0cc0329c99771142923fdf44a4902c
[ "Apache-2.0" ]
4
2018-07-09T07:53:14.000Z
2019-08-20T17:33:17.000Z
database/Dictionary.hpp
sairamgv/triad-rdf
fba91141362f347ae021ffe0d8da4921826393bd
[ "Apache-2.0" ]
2
2019-05-17T16:48:06.000Z
2021-07-06T09:27:57.000Z
database/Dictionary.hpp
gpl2021/triad
dfded62dfa0cc0329c99771142923fdf44a4902c
[ "Apache-2.0" ]
1
2019-05-29T07:58:02.000Z
2019-05-29T07:58:02.000Z
/* Copyright 2014 Sairam Gurajada Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
23.141176
86
0.748348
gpl2021
662761a3af4a029f86b208d25828bd19f6342867
1,293
cpp
C++
Source/EngineStd/GameAssetManager/Factory/BaseComponent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
2
2015-12-30T00:32:09.000Z
2016-02-27T14:50:06.000Z
Source/EngineStd/GameAssetManager/Factory/BaseComponent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
Source/EngineStd/GameAssetManager/Factory/BaseComponent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
#include "EngineStd.h" #include "../GameAsset.h" #include "BaseComponent.h" BaseComponent::BaseComponent(Context* context) : LogicComponent(context) ,m_Lifetime(0.0f) ,m_GameAssetType(GAType_None) ,m_GameAssetState(GAState_None) ,m_CreateMode(Urho3D::CreateMode::LOCAL) ,m_bIsPostInit(false) { } BaseComponent...
17.712329
111
0.766435
vivienneanthony
6629d04c49338d4088778639bf76f9d5e6fa99f9
13,188
cc
C++
Source/Plugins/UIPlugins/UIPlugin/source/ConfigDialog/ConfigDialog.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/Plugins/UIPlugins/UIPlugin/source/ConfigDialog/ConfigDialog.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/Plugins/UIPlugins/UIPlugin/source/ConfigDialog/ConfigDialog.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
// ConfigDialog.cc : implementation file // #include "stdafx.h" #include <ConfigDialog/ConfigDialog.h> #include <ConfigDialog/ConfigControlUtil.h> #include <interface/IConfigManager.h> #include <interface/IEnvironmentManager.h> #include <ConstDef.h> #include <interface/public/IStartupOutput.h> #include <ui/IconManager...
30.317241
163
0.633758
OscarGame
662d142ad8882349814fcc9842fd2c44657a7b1c
2,601
cpp
C++
data-structures/stanford-kdtree.cpp
KaisatoK/icpc-notebook
a9afbb35e143376947a06bc21339b5eb6b664c99
[ "MIT" ]
null
null
null
data-structures/stanford-kdtree.cpp
KaisatoK/icpc-notebook
a9afbb35e143376947a06bc21339b5eb6b664c99
[ "MIT" ]
null
null
null
data-structures/stanford-kdtree.cpp
KaisatoK/icpc-notebook
a9afbb35e143376947a06bc21339b5eb6b664c99
[ "MIT" ]
1
2022-02-18T17:54:39.000Z
2022-02-18T17:54:39.000Z
const int maxn = 200005; struct kdtree { int xl, xr, yl, yr, zl, zr, max, flag; // flag=0:x axis 1:y 2:z } tree[5000005]; int N, M, lastans, xq, yq; int a[maxn], pre[maxn], nxt[maxn]; int x[maxn], y[maxn], z[maxn], wei[maxn]; int xc[maxn], yc[maxn], zc[maxn], wc[maxn], hash[maxn], biao[maxn]; bool cmp1(int a, i...
38.820896
78
0.510573
KaisatoK
662d2ef8a6662a4767a760e101d8dea173e9f08f
1,052
cpp
C++
filter.cpp
brinkqiang2cpp/NavMeshScene
ba07333d0bd1ce017b24f44e8650b91f97ce6926
[ "MIT" ]
69
2018-08-24T14:01:10.000Z
2022-01-14T03:21:55.000Z
filter.cpp
brinkqiang2cpp/NavMeshScene
ba07333d0bd1ce017b24f44e8650b91f97ce6926
[ "MIT" ]
3
2019-10-12T03:12:40.000Z
2021-09-19T09:01:54.000Z
filter.cpp
brinkqiang2cpp/NavMeshScene
ba07333d0bd1ce017b24f44e8650b91f97ce6926
[ "MIT" ]
29
2018-09-24T02:51:44.000Z
2022-03-12T08:40:57.000Z
#include "filter.h" #include <DetourNavMeshQuery.h> namespace NavMeshScene { Filter::Filter() : mFilter(new dtQueryFilter()) { mFilter->setAreaCost(POLYAREA_GROUND, DEFAULT_AREA_COST_GROUND); mFilter->setAreaCost(POLYAREA_WATER, DEFAULT_AREA_COST_WATER); mFilter->setAreaCost(PO...
29.222222
72
0.70057
brinkqiang2cpp
6631cad2d3b612deaedb210ec31dce9bd09e2f79
356
cpp
C++
Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimGraph/Pixel2DAnimGraph.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
1
2021-12-18T13:50:51.000Z
2021-12-18T13:50:51.000Z
Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimGraph/Pixel2DAnimGraph.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
1
2021-11-30T08:09:46.000Z
2021-11-30T08:09:46.000Z
Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimGraph/Pixel2DAnimGraph.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
null
null
null
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. #include "Pixel2DAnimGraph.h" #define LOCTEXT_NAMESPACE "Pixel2DAnimGraph" ///////////////////////////////////////////////////// // UPixel2DAnimGraph UPixel2DAnimGraph::UPixel2DAnimGraph(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitiali...
20.941176
81
0.685393
UnderGround-orchestra-band
66405555a9985a594583069d6e96101e440b8ab6
369
cpp
C++
Engine/Component.cpp
JoanBarduena/VideogameEngines
cd868a8e495d736c325a3b3f095b9b23118569e0
[ "MIT" ]
null
null
null
Engine/Component.cpp
JoanBarduena/VideogameEngines
cd868a8e495d736c325a3b3f095b9b23118569e0
[ "MIT" ]
null
null
null
Engine/Component.cpp
JoanBarduena/VideogameEngines
cd868a8e495d736c325a3b3f095b9b23118569e0
[ "MIT" ]
null
null
null
#include "Component.h" #include "mmgr/mmgr.h" Component::Component(GameObject * my_GO, Component::Type comp_type) { my_go = my_GO; this->type = comp_type; } Component::~Component() { } bool Component::Enable() { return true; } bool Component::Update() { return true; } bool Component::Disable() { return true;...
10.852941
67
0.680217
JoanBarduena
6641450d201c9dbcfd5d01018f3877639c463022
3,642
cpp
C++
term_2/wk_03/main.cpp
egorkaGubarev/modeling_2021_egorkaGubarev
cca05950c0455c4a378fd6ca3b399a6d9c277968
[ "Unlicense" ]
null
null
null
term_2/wk_03/main.cpp
egorkaGubarev/modeling_2021_egorkaGubarev
cca05950c0455c4a378fd6ca3b399a6d9c277968
[ "Unlicense" ]
null
null
null
term_2/wk_03/main.cpp
egorkaGubarev/modeling_2021_egorkaGubarev
cca05950c0455c4a378fd6ca3b399a6d9c277968
[ "Unlicense" ]
null
null
null
#include <array> #include <cmath> #include <iostream> #include <fstream> #include <random> #include <string> #include <vector> typedef unsigned int uint; class UniformRandomGenerator { public: explicit UniformRandomGenerator(long long seed): seed_{seed} { if (seed == -1){ seed_ = time(null...
29.136
100
0.612301
egorkaGubarev
66424d9dd0546d4304a99867888bd1f0cd273108
460
cpp
C++
Codeforces/Is your horseshoe on the other hoof/solution.cpp
Dhruvil-Dave/Hack-CP-DSA
216b529b127f7c822625a5f266c767e1eedb1b89
[ "MIT" ]
205
2021-09-30T15:41:05.000Z
2022-03-27T18:34:56.000Z
Codeforces/Is your horseshoe on the other hoof/solution.cpp
Dhruvil-Dave/Hack-CP-DSA
216b529b127f7c822625a5f266c767e1eedb1b89
[ "MIT" ]
566
2021-09-30T15:27:27.000Z
2021-10-16T21:21:02.000Z
Codeforces/Is your horseshoe on the other hoof/solution.cpp
Dhruvil-Dave/Hack-CP-DSA
216b529b127f7c822625a5f266c767e1eedb1b89
[ "MIT" ]
399
2021-09-29T05:40:46.000Z
2022-03-27T18:34:58.000Z
//228A - Is your horseshoe on the other hoof? // Code by :- Rishav Singh Solanki #include <iostream> #include <algorithm> using namespace std; int arr[5], e = 3; int main() { for (int i = 0; i < 4; i++) { cin >> arr[i]; //Taking input from users } sort(arr, arr + 4); // Sorting the array for...
23
63
0.51087
Dhruvil-Dave
664d938313add5ae396a4a248f9db3ca65b704bc
389
cpp
C++
ieee_sep/DRLCCapabilities.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
ieee_sep/DRLCCapabilities.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
ieee_sep/DRLCCapabilities.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
/////////////////////////////////////////////////////////// // DRLCCapabilities.cpp // Implementation of the Class DRLCCapabilities // Created on: 13-Apr-2020 2:51:27 PM // Original author: svanausdall /////////////////////////////////////////////////////////// #include "DRLCCapabilities.h" DRLCCapabilities...
20.473684
59
0.506427
Tylores
66517b82315e2b6bb87043bae374ca7a61cd9304
1,124
hpp
C++
hashmap/hashmap.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
hashmap/hashmap.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
hashmap/hashmap.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#pragma once #include "hashmap-base.hpp" template <typename Key, typename Val> struct HashMap : HashMapImpl::HashMapBase<Key, pair<Key, Val>> { using base = typename HashMapImpl::HashMapBase<Key, pair<Key, Val>>; using HashMapImpl::HashMapBase<Key, pair<Key, Val>>::HashMapBase; using Data = pair<Key, Val>; V...
26.139535
70
0.55427
NachiaVivias
593fbf8080df3824aca928eec60058716f536ba2
1,772
cpp
C++
Solutions-to-OJs/USACO/Chapter2/2.3/03_zero_sum.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
2
2016-08-31T19:13:24.000Z
2017-02-18T18:48:31.000Z
Solutions-to-OJs/USACO/Chapter2/2.3/03_zero_sum.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
1
2018-12-10T16:32:26.000Z
2018-12-27T19:50:48.000Z
Solutions-to-OJs/USACO/Chapter2/2.3/03_zero_sum.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
null
null
null
/* ID: skyline12 PROG: zerosum LANG: C++11 */ // Xiaoyan Wang 01/09/2017 #include <fstream> // #include <iostream> #include <string> using namespace std; string sol = "1 2 3 4 5 6 7 8 9"; int N; bool increment(string& s); bool is_zero(const string& s); int main() { ifstream fin("zerosum.in"); ofstream fout("...
20.847059
68
0.378104
Horizon-Blue
5940f174457c75b680678b5ef4a710d3f3bd8558
797
cpp
C++
leetcode/687.longest-univalue-path.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
177
2017-08-21T08:57:43.000Z
2020-06-22T03:44:22.000Z
leetcode/687.longest-univalue-path.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
2
2018-09-06T13:39:12.000Z
2019-06-03T02:54:45.000Z
leetcode/687.longest-univalue-path.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
23
2017-08-23T06:01:28.000Z
2020-04-20T03:17:36.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { private: int ans = 0; int helper(TreeNode* cur) { if (cur == NULL) { ...
21.540541
76
0.471769
geemaple
59441960f78f86ee894ff0fee4d0864543c5c827
1,402
cpp
C++
XJ Contests/2020/11.21/C/std.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
XJ Contests/2020/11.21/C/std.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
XJ Contests/2020/11.21/C/std.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> #include<cstring> #include<cstdio> #include<ctime> #include<climits> #include<algorithm> #include<vector> #define ll long long using namespace std; const ll N=1000010,mod=1e9+7; struct node { ll to,nxt; }edge[N*2]; vector<ll> v[31]; ll dp[N],w[N],head[N],gcnt,flag,n; void add(ll x...
25.035714
102
0.49572
jinzhengyu1212
5949be1130886dc0787ead81f88812a3542d4592
11,989
cpp
C++
rdkPlugins/Storage/source/LoopMountDetails.cpp
goruklu/Dobby
ee371b97b865238d7e04406a22e888dc5a0aa9c1
[ "Apache-2.0" ]
null
null
null
rdkPlugins/Storage/source/LoopMountDetails.cpp
goruklu/Dobby
ee371b97b865238d7e04406a22e888dc5a0aa9c1
[ "Apache-2.0" ]
null
null
null
rdkPlugins/Storage/source/LoopMountDetails.cpp
goruklu/Dobby
ee371b97b865238d7e04406a22e888dc5a0aa9c1
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2022 Sky UK * * 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...
29.529557
112
0.586704
goruklu
5954142d2e889d03b399d08b7a5e48d0a8da509f
4,871
cpp
C++
test/nnfusion/inventory/arg_max.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
639
2020-09-05T10:00:59.000Z
2022-03-30T08:42:39.000Z
test/nnfusion/inventory/arg_max.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
252
2020-09-09T05:35:36.000Z
2022-03-29T04:58:41.000Z
test/nnfusion/inventory/arg_max.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
104
2020-09-05T10:01:08.000Z
2022-03-23T10:59:13.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** * \brief Unit tests for ir::ArgMax * \author generated by script */ #include "../test_util/common.hpp" namespace nnfusion { namespace test { template <typename T, size_t N> using NDArray = nnfusion::test::NDArra...
41.279661
100
0.337918
lynex
595971c638f1d8f9c7737effc1bb272dadd6d144
225
cpp
C++
sources codes/tute16.cpp
darkrabel/c-personal-reference-code-
0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f
[ "MIT" ]
2
2021-06-17T11:05:01.000Z
2021-11-15T11:39:46.000Z
sources codes/tute16.cpp
darkrabel/c-personal-reference-code-
0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f
[ "MIT" ]
null
null
null
sources codes/tute16.cpp
darkrabel/c-personal-reference-code-
0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void swap(int a, int b){ int temp = a ; a = b; b = temp; } int main(){ int a = 4; int b =5; cout<<"the value of sum"<<swap(4 ,5)<<endl; return 0; } //1:45
11.842105
47
0.52
darkrabel
595e024c5dcc6020e61e0fc3c37c5d2f203758b5
226
hpp
C++
src/utility/warnings.hpp
pvelesko/warped2
d42cd6b43616157cd9721c25b59cf39c4f3004bf
[ "MIT" ]
11
2015-03-03T20:50:15.000Z
2022-02-21T16:47:19.000Z
src/utility/warnings.hpp
pvelesko/warped2
d42cd6b43616157cd9721c25b59cf39c4f3004bf
[ "MIT" ]
3
2015-04-14T17:11:12.000Z
2019-11-17T19:49:22.000Z
src/utility/warnings.hpp
pvelesko/warped2
d42cd6b43616157cd9721c25b59cf39c4f3004bf
[ "MIT" ]
12
2015-04-11T15:32:37.000Z
2020-11-24T03:24:33.000Z
#ifndef WARPED_UTILITY_WARNINGS_HPP #define WARPED_UTILITY_WARNINGS_HPP namespace warped { // This template will silence unused parameter warnings. template<class... T> void unused(T&& ...) {} } // namespace warped #endif
18.833333
56
0.761062
pvelesko
59611ef861ecb9d7d3fdf446d7a7d8a5eff2af05
251
hpp
C++
include/Esdiel/Utility/AsUnderlying.hpp
MetGang/Esdiel
0b75a3e10b16291ce9055a9673a6bc3f36a224f8
[ "MIT" ]
2
2021-08-04T22:18:02.000Z
2022-01-09T21:53:49.000Z
include/Esdiel/Utility/AsUnderlying.hpp
MetGang/Esdiel
0b75a3e10b16291ce9055a9673a6bc3f36a224f8
[ "MIT" ]
null
null
null
include/Esdiel/Utility/AsUnderlying.hpp
MetGang/Esdiel
0b75a3e10b16291ce9055a9673a6bc3f36a224f8
[ "MIT" ]
null
null
null
#pragma once // Esdiel #include <Esdiel/Core.hpp> // C++ #include <type_traits> namespace esd { /// template <typename Enum> constexpr auto AsUnderlying(Enum e) { return static_cast<std::underlying_type_t<Enum>>(e); } }
13.944444
60
0.633466
MetGang
59665ead7a14b8b7913eb56ef11f7fdc6a3c3d25
704
cpp
C++
OperatingSystems/Scheduler/process.cpp
adithyap/coursework
0b1cf7575ef0b1afa599df90fca2e1f7f3e3347f
[ "MIT" ]
2
2016-04-01T19:10:25.000Z
2016-04-01T20:03:47.000Z
OperatingSystems/Scheduler/process.cpp
adithyap/coursework
0b1cf7575ef0b1afa599df90fca2e1f7f3e3347f
[ "MIT" ]
null
null
null
OperatingSystems/Scheduler/process.cpp
adithyap/coursework
0b1cf7575ef0b1afa599df90fca2e1f7f3e3347f
[ "MIT" ]
null
null
null
#include "process.hpp" Process::Process(int process_id, int arrival_time, int total_cpu_time, int cpu_burst, int io_burst) { this->process_id = process_id ; this->arrival_time = arrival_time; this->total_cpu_time = total_cpu_time; this->cpu_burst = cpu_burst; this->io_burst = io_burst; sta...
21.333333
99
0.680398
adithyap
5967ee68bbd92f60e7bf213017ed4eee88de00ef
1,139
hpp
C++
src/discordpp/rest/RestAPI.hpp
Devincf/Discordpp
0166773f378ed4aa15389133ebee283a8287c07a
[ "Apache-2.0" ]
2
2019-02-15T16:32:48.000Z
2019-04-02T11:29:38.000Z
src/discordpp/rest/RestAPI.hpp
Devincf/Discordpp
0166773f378ed4aa15389133ebee283a8287c07a
[ "Apache-2.0" ]
null
null
null
src/discordpp/rest/RestAPI.hpp
Devincf/Discordpp
0166773f378ed4aa15389133ebee283a8287c07a
[ "Apache-2.0" ]
null
null
null
/** * @file RestAPI.hpp * @author Devin-Can Firat (devinc.firat@gmail.com) * @brief * @version 0.1 * @date 2019-04-01 08:30 * * @copyright Copyright (c) 2019 * */ #ifndef RESTAPI_HPP #define RESTAPI_HPP #include <string> #include <curlpp/cURLpp.hpp> #include <curlpp/Easy.hpp> #include <curlpp/Options.hpp...
24.76087
118
0.714662
Devincf
596b5c5b2faf794481d92aae789763b8b996e52a
4,374
cpp
C++
tutorials/RNN/main.cpp
wok1909/WICWIU-OSSLab-Final-Project
ea172614c3106de3a8e203acfac8f0dd4eca7c7c
[ "Apache-2.0" ]
119
2018-05-30T01:16:36.000Z
2021-11-08T13:01:07.000Z
tutorials/RNN/main.cpp
wok1909/WICWIU-OSSLab-Final-Project
ea172614c3106de3a8e203acfac8f0dd4eca7c7c
[ "Apache-2.0" ]
24
2018-08-05T16:50:42.000Z
2020-10-28T00:38:48.000Z
tutorials/RNN/main.cpp
wok1909/WICWIU-OSSLab-Final-Project
ea172614c3106de3a8e203acfac8f0dd4eca7c7c
[ "Apache-2.0" ]
35
2018-06-29T17:10:13.000Z
2021-06-05T04:07:48.000Z
#include "net/my_RNN.hpp" #include "net/my_LSTM.hpp" #include "net/my_GRU.hpp" #include <time.h> #include <unistd.h> #include <iostream> #include <string> #include <fstream> #include <cstring> #include <algorithm> #include "TextDataset.hpp" using namespace std; #define EMBED_DIM 64 #def...
29.16
103
0.55144
wok1909
596ca31dda566a2a0843a1848c6f65853a8d9410
3,043
cpp
C++
AkBot.Tests/ExplorerManagerTest.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
2
2017-07-06T18:27:41.000Z
2018-03-14T06:19:43.000Z
AkBot.Tests/ExplorerManagerTest.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
18
2017-10-29T20:37:47.000Z
2019-08-25T16:01:28.000Z
AkBot.Tests/ExplorerManagerTest.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
1
2017-09-13T07:02:23.000Z
2017-09-13T07:02:23.000Z
#define BOOST_TEST_MODULE ExplorerManagerTest #include <boost/test/included/unit_test.hpp> #include "GameImpl.h" #include "ExplorerManager.h" using AKBot::ExplorerManager; template <typename Container> bool contains(Container const& c, typename Container::const_reference v) { return std::find(c.begin(), c.end(), v) ...
37.109756
113
0.781137
kant2002
596cb2952da5a243d4d9c3d73bcb839fef935ce2
3,745
cpp
C++
src/Ic3d/IcCamera.cpp
simviu/IcEng
52ca0359011f7b3a40d915fa526f1254fe131bbe
[ "BSD-3-Clause" ]
10
2017-04-13T06:43:11.000Z
2020-10-28T18:14:54.000Z
src/Ic3d/IcCamera.cpp
simviu/IcEng
52ca0359011f7b3a40d915fa526f1254fe131bbe
[ "BSD-3-Clause" ]
1
2018-05-23T08:13:12.000Z
2018-10-15T15:34:16.000Z
src/Ic3d/IcCamera.cpp
simviu/IcEng
52ca0359011f7b3a40d915fa526f1254fe131bbe
[ "BSD-3-Clause" ]
2
2018-03-30T19:19:11.000Z
2020-01-23T15:41:39.000Z
// // IcCamera.cpp // DevEng // // Created by Sherman Chen on 3/8/16. // Copyright (c) 2016 Simviu Technology Inc. // All rights reserved. // http://www.simviu.com/dev // #include "Ic3d.h" #include "IcRenderEng.h" namespace Ic3d { using namespace std; using namespace ctl; //---------------------------------...
25.650685
78
0.460614
simviu
5973e186fd5581a9d07da1d3048e7b2eeea612ca
1,990
hpp
C++
include/pipes/detail/pipes/sinks.hpp
TillHeinzel/pipes2
0acd98e8801058e6530725e1fdb6b8b81d645d8c
[ "MIT" ]
3
2019-10-25T21:18:02.000Z
2022-03-23T18:37:00.000Z
include/pipes/detail/pipes/sinks.hpp
TillHeinzel/pipes2
0acd98e8801058e6530725e1fdb6b8b81d645d8c
[ "MIT" ]
null
null
null
include/pipes/detail/pipes/sinks.hpp
TillHeinzel/pipes2
0acd98e8801058e6530725e1fdb6b8b81d645d8c
[ "MIT" ]
1
2019-10-26T19:53:18.000Z
2019-10-26T19:53:18.000Z
#pragma once #include <functional> #include "pipes/detail/util/CopyableCallable.hpp" namespace tillh { namespace pipes { template<class Iterator> class IteratorSink { public: IteratorSink(Iterator iterator): iterator_(iterator) {} template<class T> void push(T&& t) const ...
20.10101
108
0.554271
TillHeinzel
5977005ba3ee0b80180db161c18287873ee0c7ff
1,997
hpp
C++
general/matrix.hpp
Tengke-Xiong/efanna
a65bb84e5cd5dc771d61ba181da3bcf8024ae8d3
[ "BSD-2-Clause" ]
143
2017-12-20T12:36:24.000Z
2022-03-14T20:39:40.000Z
general/matrix.hpp
ZJULearning/hashingSearch
ee6f81a72111ed1e0837bc70ea107c0fcafed899
[ "BSD-2-Clause" ]
7
2018-06-15T08:28:21.000Z
2020-09-09T17:08:09.000Z
general/matrix.hpp
ZJULearning/efanna
a65bb84e5cd5dc771d61ba181da3bcf8024ae8d3
[ "BSD-2-Clause" ]
39
2018-02-05T18:55:15.000Z
2021-12-15T13:45:09.000Z
#ifndef EFANNA_MATRIX_H #define EFANNA_MATRIX_H #include <cstddef> #include <algorithm> #include <stdexcept> #include <vector> #include <iostream> #include "distance.hpp" namespace efanna { template <typename T> class Matrix { public: /** * Create a matrix using number of rows and cols with rawdata. * r...
26.276316
110
0.596895
Tengke-Xiong
597757f0386ff47c85ceadf814c54fbed1a1b013
1,055
cpp
C++
test/bit/circular_bit.cpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
test/bit/circular_bit.cpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
test/bit/circular_bit.cpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#include <test/test.hpp> #include <falcon/bit/circular_bit.hpp> #include "circular_bit.hpp" void circular_bit_test() { { falcon::basic_circular_bit<uint8_t> circular; CHECK_EQUAL_VALUE(0x80,*circular); CHECK_EQUAL_VALUE(0x40,*++circular); CHECK_EQUAL_VALUE(0x20,*++circular); CHECK_EQUAL_VALUE(0x10,*++circu...
28.513514
55
0.752607
jonathanpoelen
59794cf24ab498eb3096d9bbd4e509eb49f3d29a
1,169
cpp
C++
cpp/basics/stl/containers/queue.cpp
isaacdejesus/Languages
aeb4598809a5cf3bffd2f2c5b010d2b310edae39
[ "MIT" ]
null
null
null
cpp/basics/stl/containers/queue.cpp
isaacdejesus/Languages
aeb4598809a5cf3bffd2f2c5b010d2b310edae39
[ "MIT" ]
null
null
null
cpp/basics/stl/containers/queue.cpp
isaacdejesus/Languages
aeb4598809a5cf3bffd2f2c5b010d2b310edae39
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include "functions.h" int main() { std::queue<std::string> a_queue; // push add elements to queue a_queue.push("lol"); a_queue.push("the"); a_queue.push(" great potato"); a_queue.push(" man strikes again!"); //pop removes element from queue a_queue.p...
26.568182
71
0.620188
isaacdejesus
597956730262560d85c7ac41d69ba6ad5fab7a63
2,389
cxx
C++
4.CalculatePairCopulas/src/PairCopulaCalculator.cxx
covit2019/analysis_codes
0c580c51f790723390676eef85422055007e2354
[ "MIT" ]
null
null
null
4.CalculatePairCopulas/src/PairCopulaCalculator.cxx
covit2019/analysis_codes
0c580c51f790723390676eef85422055007e2354
[ "MIT" ]
null
null
null
4.CalculatePairCopulas/src/PairCopulaCalculator.cxx
covit2019/analysis_codes
0c580c51f790723390676eef85422055007e2354
[ "MIT" ]
1
2020-04-09T12:59:17.000Z
2020-04-09T12:59:17.000Z
#include <vinecopulib.hpp> #include <iostream> #include <fstream> #include <sstream> #include <iomanip> #include <chrono> #include "CSVReader.h" void usage() { std::cout<<"usage:"<<"\t"<<"PairCopulaCalculator.exe <input csv> <output csv>"<<std::endl; } int main(int argc, char* argv[]) { if (argc !=3 ) { usage...
31.434211
95
0.561323
covit2019
597e5d1e77706aa3f80ceb63e52adfac84d0e721
8,866
cpp
C++
source/glbackend/hw_draw2d.cpp
bisk89/Raze
1a2663f7ac84d4e4f472e0796b937447ee6fab6b
[ "RSA-MD" ]
2
2020-03-26T10:11:17.000Z
2021-01-19T08:16:48.000Z
source/glbackend/hw_draw2d.cpp
bisk89/Raze
1a2663f7ac84d4e4f472e0796b937447ee6fab6b
[ "RSA-MD" ]
null
null
null
source/glbackend/hw_draw2d.cpp
bisk89/Raze
1a2663f7ac84d4e4f472e0796b937447ee6fab6b
[ "RSA-MD" ]
null
null
null
/* ** hw_draw2d.cpp ** 2d drawer Renderer interface ** **--------------------------------------------------------------------------- ** Copyright 2018-2019 Christoph Oelckers ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the...
31.21831
243
0.702008
bisk89
598401c235360c6744c0625a58b3b3e0cea9ea91
519
hpp
C++
clove/components/systems/serialisation/include/Clove/Serialisation/Yaml.hpp
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
33
2020-01-09T04:57:29.000Z
2021-08-14T08:02:43.000Z
clove/components/systems/serialisation/include/Clove/Serialisation/Yaml.hpp
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
234
2019-10-25T06:04:35.000Z
2021-08-18T05:47:41.000Z
clove/components/systems/serialisation/include/Clove/Serialisation/Yaml.hpp
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
4
2020-02-11T15:28:42.000Z
2020-09-07T16:22:58.000Z
#pragma once #include "Clove/Serialisation/Node.hpp" #include <Clove/Expected.hpp> #include <string> #include <filesystem> namespace clove{ enum class LoadError { BadFile, WrongType, WrongVersion, }; /** * @brief Emitts a node graph as a yaml file. */ std::string em...
20.76
90
0.635838
mondoo
59851fd76631c3211cf28dc3d80180ca61e812ba
4,158
hpp
C++
src/EC_Core/Components/soundeffects.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
src/EC_Core/Components/soundeffects.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
src/EC_Core/Components/soundeffects.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
#ifndef SOUNDEFFECTS_HPP #define SOUNDEFFECTS_HPP #include "../entityManager.hpp" #include "../../media.hpp" class SoundEffects : public Component { Mix_Chunk* rotate_sfx; Mix_Chunk* softdrop_sfx; Mix_Chunk* harddrop_sfx; Mix_Chunk* single_sfx; Mix_Chunk* double_sfx; Mix_Chunk* triple_sfx; ...
37.125
128
0.654882
rainstormstudio
5985671c9be99249d1340be0bb6eb053fc01d340
1,417
cpp
C++
Top 100 Liked/124. Binary Tree Maximum Path Sum/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Top 100 Liked/124. Binary Tree Maximum Path Sum/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Top 100 Liked/124. Binary Tree Maximum Path Sum/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 124. Binary Tree Maximum Path Sum // // Created by 边俊林 on 2019/10/15. // Copyright © 2019 Minecode.Link. All rights reserved. // #include <map> #include <set> #include <queue> #include <string> #include <stack> #include <vector> #include <cstdio> #include <numeric> #include <cstdlib> #include <ut...
20.242857
56
0.588567
Minecodecraft
598588c2eeb802c9094eeccb8af92e3f9e3a73e5
8,463
cpp
C++
gmtl-0.6.1/Test/TestSuite/TestCases/VecGenTest.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
gmtl-0.6.1/Test/TestSuite/TestCases/VecGenTest.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
gmtl-0.6.1/Test/TestSuite/TestCases/VecGenTest.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
// GMTL is (C) Copyright 2001-2010 by Allen Bierbaum // Distributed under the GNU Lesser General Public License 2.1 with an // addendum covering inlined code. (See accompanying files LICENSE and // LICENSE.addendum or http://www.gnu.org/copyleft/lesser.txt) #include "VecGenTest.h" #include "../Suites.h" #include <cppu...
32.675676
123
0.575092
Glitch0011
5988dff9b0ebae9188a4130269664e63c7e3105c
18,358
cpp
C++
src/instructions.cpp
dimpk/dmg-emu
92421992dba374d2a3897d62601163739677f1a3
[ "MIT" ]
null
null
null
src/instructions.cpp
dimpk/dmg-emu
92421992dba374d2a3897d62601163739677f1a3
[ "MIT" ]
null
null
null
src/instructions.cpp
dimpk/dmg-emu
92421992dba374d2a3897d62601163739677f1a3
[ "MIT" ]
null
null
null
#include <iostream> #include "cpu.h" #define F_Z(BOOL) \ (BOOL) ? F |= F_Z : F &= ~F_Z #define F_N(BOOL) \ (BOOL) ? F |= F_N : F &= ~F_Z #define F_H(BOOL) \ (BOOL) ? F |= F_H : F &= ~F_H #define F_C(BOOL) \ (BOOL) ? F |= F_C : F &= ~F_C // INC, DEC operations used only for byte values #define DEC(VAL) \ VAL--...
32.958707
101
0.531757
dimpk
5989c4ae5d70ea52f592cf438372a58ce7bc7a07
1,267
cpp
C++
graph.cpp
futr/sensorreader
52e17ef7b4352071951b55ec9e4594a06881d70a
[ "MIT" ]
null
null
null
graph.cpp
futr/sensorreader
52e17ef7b4352071951b55ec9e4594a06881d70a
[ "MIT" ]
null
null
null
graph.cpp
futr/sensorreader
52e17ef7b4352071951b55ec9e4594a06881d70a
[ "MIT" ]
null
null
null
#include "graph.h" Graph::Graph(QWidget *parent) : QWidget(parent), bar( new QScrollBar( this ) ), layout( new QVBoxLayout( this ) ), label( new QLabel( this ) ), wave( new WaveGraphWidget( this ) ) { // Setup setSizePolicy( QSizePolicy::Preferred, QSizePolicy::MinimumExpanding ); bar->set...
28.795455
103
0.662983
futr
598ad4ab6a71a9b966eba273b31ad023a165e10d
2,186
cpp
C++
Sources/AGEngine/Engine/Entity/BinaryEntityPack.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Engine/Entity/BinaryEntityPack.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Engine/Entity/BinaryEntityPack.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include "BinaryEntityPack.hpp" #include <cereal/types/vector.hpp> #include <cereal/types/map.hpp> #include <fstream> #include <Utils/Debug.hpp> #include <Core/AScene.hh> #include "Components/ArchetypeComponent.hpp" namespace AGE { BinaryEntityPack::BinaryEntityPack() {} BinaryEntityPack::~BinaryEntityPack() {} ...
23.505376
105
0.668344
Another-Game-Engine
598d3b60187d50f35174d2605cd35bcb12d31bf9
1,303
cpp
C++
C++ STL/lists1.cpp
junior-geek04/C-Stl
d7731c52616810f5067162453557075b524690a5
[ "Apache-2.0" ]
2
2021-05-27T12:18:32.000Z
2021-05-27T17:33:03.000Z
C++ STL/lists1.cpp
junior-geek04/C-Stl
d7731c52616810f5067162453557075b524690a5
[ "Apache-2.0" ]
null
null
null
C++ STL/lists1.cpp
junior-geek04/C-Stl
d7731c52616810f5067162453557075b524690a5
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<list> using namespace std; int main() { list<int>l1; list<int>l2(7); //cout<<l1.size();//displaying size of list //cout<<"\n"<<l2.size(); // l1.push_back(9); // l1.push_back(10); // l1.push_back(2); // l1.push_back(3); ...
22.859649
55
0.502686
junior-geek04
599428ee48977374f0ba0e86d28bcae562df9dd3
8,834
cc
C++
Kernel/MpiDataClass.cc
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Kernel/MpiDataClass.cc
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Kernel/MpiDataClass.cc
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
//Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved. //For the list of developers, see <http://www.MercuryDPM.org/Team>. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // * Redistributions ...
39.088496
109
0.755377
gustavo-castillo-bautista
599447593757faf62f79c4666ab536d7ff59d33d
252
hpp
C++
source/integrator/path-tracer/path-tracer.hpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
149
2020-03-06T00:39:43.000Z
2022-03-31T07:28:36.000Z
source/integrator/path-tracer/path-tracer.hpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
4
2020-07-27T15:33:09.000Z
2022-02-24T11:34:40.000Z
source/integrator/path-tracer/path-tracer.hpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
17
2020-03-23T16:05:36.000Z
2022-02-21T02:38:31.000Z
#pragma once #include <nlohmann/json.hpp> #include <glm/vec3.hpp> #include "../integrator.hpp" class PathTracer : public Integrator { public: PathTracer(const nlohmann::json& j) : Integrator(j) { } virtual glm::dvec3 sampleRay(Ray ray); };
16.8
59
0.694444
triplu-zero
59962ab2644b9f3529ad43ac05b1fc181327b192
3,169
cpp
C++
src/SoftmaxLayer.cpp
YinZhaoYuan/mushroom_recognization
c7dbcd94e4393e3e428a7243b0205da60f7c3e94
[ "WTFPL" ]
180
2016-08-02T02:48:34.000Z
2022-03-13T18:59:56.000Z
samples/src/EasyCNN/src/SoftmaxLayer.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
8
2016-08-15T23:15:31.000Z
2022-02-23T03:22:15.000Z
samples/src/EasyCNN/src/SoftmaxLayer.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
68
2016-08-09T14:08:20.000Z
2021-08-16T08:00:09.000Z
#include <algorithm> #include "EasyCNN/SoftmaxLayer.h" namespace EasyCNN { ////////////////////////////////////////////////////////////////////////// //normal softmax SoftmaxLayer::SoftmaxLayer() { } SoftmaxLayer::~SoftmaxLayer() { } DEFINE_LAYER_TYPE(SoftmaxLayer, "SoftmaxLayer"); std::string SoftmaxLaye...
34.445652
118
0.669612
YinZhaoYuan
5996cdaad4e241f3eab7dc3a2f386402e10b83f8
576
hpp
C++
pythran/pythonic/include/numpy/empty.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/numpy/empty.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/numpy/empty.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_NUMPY_EMPTY_HPP #define PYTHONIC_INCLUDE_NUMPY_EMPTY_HPP #include "pythonic/utils/proxy.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/types/numpy_type.hpp" namespace pythonic { namespace numpy { template <size_t N, class dtype = double> types::ndarray<typename typ...
23.04
65
0.71875
artas360
599ca612d695b2d2f55b2be9098fe0784fb9e515
705
cpp
C++
BaekJoon/11724.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/11724.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/11724.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
/*11724*/ /*Got it!*/ #include <iostream> #include <vector> #include <algorithm> using namespace std; void dfs(vector<vector<int>>& g, int*& check, int start){ check[start] = 1; for(int i = 0; i < g[start].size(); i++){ int s = g[start][i]; if(check[s] == 0) dfs(g, check, s); } } int main(...
20.142857
57
0.465248
falconlee236
59a8b2232972910e992b83dfa7779bf900fa82f8
244
cpp
C++
programs/wrong-subtraction.cpp
bhardwaj-varun/codeforces-practice
f1213f8cd31332dc79f39808452c5d95fbde3c13
[ "MIT" ]
null
null
null
programs/wrong-subtraction.cpp
bhardwaj-varun/codeforces-practice
f1213f8cd31332dc79f39808452c5d95fbde3c13
[ "MIT" ]
null
null
null
programs/wrong-subtraction.cpp
bhardwaj-varun/codeforces-practice
f1213f8cd31332dc79f39808452c5d95fbde3c13
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ long long int n ,k; scanf("%lld%lld", &n , &k); for(int i=0;i<k; i++){ if(n%10 == 0) n/=10; else --n; } printf("%lld", n); }
15.25
31
0.413934
bhardwaj-varun
59b37dc6d542df56425745abfe35cc4f4d1f4995
346
cpp
C++
UnitTestMachine/CacheTest.cpp
mvxxx/MarsCombat
c4d10da7cf9bf8a71e00f64e5e364a358b477b15
[ "MIT" ]
1
2019-08-25T10:36:16.000Z
2019-08-25T10:36:16.000Z
UnitTestMachine/CacheTest.cpp
mvxxx/MarsCombat
c4d10da7cf9bf8a71e00f64e5e364a358b477b15
[ "MIT" ]
null
null
null
UnitTestMachine/CacheTest.cpp
mvxxx/MarsCombat
c4d10da7cf9bf8a71e00f64e5e364a358b477b15
[ "MIT" ]
null
null
null
#pragma once #include "pch.h" #include "../source/cache/Cache.hpp" #include <SFML/Graphics/Texture.hpp> /** * @brief CacheTest -> Cache.hpp -> get test test */ TEST(CacheTest, get) { mv::Cache<sf::Texture> cache; std::shared_ptr<sf::Texture> ptr = cache.get("../data/textures/unitTest.png"); EXPECT_EQ(ptr->getSize(...
23.066667
79
0.679191
mvxxx
59b8886eed17d4dd0d4fa15b7c04e3d7f9e28f33
1,829
hpp
C++
aurora.mpich.miniapps/src/include/devices.hpp
illuhad/HPC-Patterns
2e8221ba9e62cfd6744b920e08f5b80d8d6dd618
[ "BSD-3-Clause" ]
3
2022-02-02T05:14:34.000Z
2022-03-31T07:00:43.000Z
aurora.mpich.miniapps/src/include/devices.hpp
illuhad/HPC-Patterns
2e8221ba9e62cfd6744b920e08f5b80d8d6dd618
[ "BSD-3-Clause" ]
2
2022-03-31T00:27:16.000Z
2022-03-31T18:48:19.000Z
aurora.mpich.miniapps/src/include/devices.hpp
illuhad/HPC-Patterns
2e8221ba9e62cfd6744b920e08f5b80d8d6dd618
[ "BSD-3-Clause" ]
2
2021-12-07T19:20:28.000Z
2022-03-30T23:45:37.000Z
#pragma once #include <CL/sycl.hpp> using Devices = std::vector<sycl::device>; inline Devices get_devices(const char *target) { for (auto &p : sycl::platform::get_platforms()) { if (p.get_info<sycl::info::platform::name>().rfind(target) == 0) return p.get_devices(); } return Devices(); } /** Create ...
30.483333
76
0.658283
illuhad
59bbe646060891197d0a3c55b96c507fb0910c7b
1,261
cpp
C++
prj/src/test/Timing.cpp
ujoychou/eco
4845b42799f62a591fb36ae20fa5b7b06ef12761
[ "MIT" ]
8
2018-04-08T08:37:36.000Z
2022-01-31T16:14:34.000Z
prj/src/test/Timing.cpp
ujoychou/eco
4845b42799f62a591fb36ae20fa5b7b06ef12761
[ "MIT" ]
1
2021-12-22T22:02:35.000Z
2021-12-22T22:05:20.000Z
prj/src/test/Timing.cpp
ujoychou/eco
4845b42799f62a591fb36ae20fa5b7b06ef12761
[ "MIT" ]
2
2018-04-08T08:56:34.000Z
2018-09-03T11:17:44.000Z
#include "PrecHeader.h" #include <eco/test/Timing.h> //////////////////////////////////////////////////////////////////////////////// #include <boost/date_time/posix_time/ptime.hpp> #include <boost/date_time/posix_time/posix_time_types.hpp> ECO_NS_BEGIN(eco); ECO_NS_BEGIN(test); /////////////////////////////////////...
24.72549
80
0.551943
ujoychou
59c13fdc7a69a0580d2a9d66a527a70b98033465
364
cpp
C++
m_maximum_subarray.cpp
skyera/myleetcode
c3524e73b320afb863d0c04d40b1b660ff9fec8c
[ "MIT" ]
null
null
null
m_maximum_subarray.cpp
skyera/myleetcode
c3524e73b320afb863d0c04d40b1b660ff9fec8c
[ "MIT" ]
null
null
null
m_maximum_subarray.cpp
skyera/myleetcode
c3524e73b320afb863d0c04d40b1b660ff9fec8c
[ "MIT" ]
null
null
null
// Maximum subarray // Medium #include <iostream> #include <vector> #include <climits> using namespace std; int maxsubarray(vector<int> &nums) { int result = INT_MIN; int f = 0; for (int i = 0; i < nums.size(); i++) { f = max(f + nums[i], nums[i]); result = max(result, f); } ret...
14
43
0.557692
skyera
59c65a4de1d02ad286d83157404d26b2251eb58f
1,970
cpp
C++
higan/processor/arm/serialization.cpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
3
2016-03-23T01:17:36.000Z
2019-10-25T06:41:09.000Z
higan/processor/arm/serialization.cpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
higan/processor/arm/serialization.cpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
auto ARM::PSR::serialize(serializer& s) -> void { s.integer(n); s.integer(z); s.integer(c); s.integer(v); s.integer(i); s.integer(f); s.integer(t); s.integer(m); } auto ARM::serialize(serializer& s) -> void { s.integer(processor.r0.data); s.integer(processor.r1.data); s.integer(processor.r2.data)...
26.986301
49
0.714721
ameer-bauer
59c6e30c12c0e106898c3b8a0150bb324afde2fc
6,627
hpp
C++
ft_containers/utils/ft_reverse_iterator.hpp
PP189B/42projects_archive
88000dcad27d742a2fb40f571f920447688effa0
[ "MIT" ]
null
null
null
ft_containers/utils/ft_reverse_iterator.hpp
PP189B/42projects_archive
88000dcad27d742a2fb40f571f920447688effa0
[ "MIT" ]
null
null
null
ft_containers/utils/ft_reverse_iterator.hpp
PP189B/42projects_archive
88000dcad27d742a2fb40f571f920447688effa0
[ "MIT" ]
null
null
null
#ifndef __FT_REVERSE_ITERATOR_HPP # define __FT_REVERSE_ITERATOR_HPP # include "ft_iterator.hpp" namespace ft { template<class Iterator> class reverse_iterator { public: typedef Iterator iterator_type; typedef typename ft::iterator_traits<Iterator>:...
26.939024
75
0.535235
PP189B
59c7067e50018fb130803c0d2f35d4353951da04
361
cpp
C++
CodeChef/ChefandRemissness.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
CodeChef/ChefandRemissness.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
CodeChef/ChefandRemissness.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
//https://www.codechef.com/problems/REMISS #include<bits/stdc++.h> using namespace std ; int main() { ios_base::sync_with_stdio(false); cin.tie(0); int testcase ; cin >> testcase ; while(testcase--) { long long int a{0} , b {0} ; cin >> a >> b ; cout << max(a...
21.235294
51
0.493075
canis-majoris123
59c8c82ce70312c0a8ebaf96ec08b6293792efc6
1,845
cpp
C++
src/mod/debug/client_player_track.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
33
2016-02-18T04:27:53.000Z
2022-01-15T18:59:53.000Z
src/mod/debug/client_player_track.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
5
2018-01-10T18:41:38.000Z
2020-10-01T13:34:53.000Z
src/mod/debug/client_player_track.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
14
2017-08-06T23:02:49.000Z
2021-08-24T00:24:16.000Z
#include "mod.h" namespace Mod::Client::Player_Track { // can we find NDebugOverlay::EntityBounds in the client? ConVar cvar_indexes("sig_debug_client_player_track_indexes", "all", FCVAR_NOTIFY, "Debug: list of entity indexes to track (or 'all')"); ConVar cvar_duration("sig_debug_client_player_trac...
25.273973
111
0.626558
fugueinheels
59d6a1e60b79642a567d16dda6cd780a9190e325
4,162
cpp
C++
privatedns/src/v20201028/model/FlowUsage.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
privatedns/src/v20201028/model/FlowUsage.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
privatedns/src/v20201028/model/FlowUsage.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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 ...
28.312925
144
0.70567
suluner
59d71fdf6699e6502a876c6a483c8e4c3c8fa670
1,365
cpp
C++
code archive/SPOJ PT07Z.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/SPOJ PT07Z.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/SPOJ PT07Z.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef double lf; typedef pair<ll,ll> ii; #define REP(i,n) for(int i=0;i<n;i++) #define FILL(i,n) memset(i,n,sizeof(i)); #define X first #define Y second #define pb push_back #ifdef brian #define debug(...) do{\ fprintf(stderr,"%s - %d : (%s) = ",...
20.373134
93
0.550916
brianbbsu
59d831a6f36e67032b92794ab0617e2977a5b4c3
1,312
hpp
C++
DoodleJump/src/include/enemy.hpp
PashaBarahimi/DoodleJump
2cd34368022347d4ae2015f30ea8425d8c9b6310
[ "MIT" ]
1
2021-05-15T05:28:02.000Z
2021-05-15T05:28:02.000Z
DoodleJump/src/include/enemy.hpp
PashaBarahimi/DoodleJump
2cd34368022347d4ae2015f30ea8425d8c9b6310
[ "MIT" ]
null
null
null
DoodleJump/src/include/enemy.hpp
PashaBarahimi/DoodleJump
2cd34368022347d4ae2015f30ea8425d8c9b6310
[ "MIT" ]
1
2021-07-29T14:21:06.000Z
2021-07-29T14:21:06.000Z
#ifndef ENEMY_HPP #define ENEMY_HPP #include "rsdl.hpp" #include "doodler.hpp" #include "game_board.hpp" typedef Point sizeVector; constexpr int DESTROY_DELAY = 10; constexpr int DESTROY_PIXEL_CHANGE = 5; constexpr int MAXIMUM_HOVER_TIME = 500; class Enemy { public: enum class Type { Normal = 0, Movable = 1 ...
24.754717
88
0.782012
PashaBarahimi
59db77246f74401ed365253cc39d24ea64674dc5
1,626
hpp
C++
cpp/include/raft/stats/kl_divergence.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
cpp/include/raft/stats/kl_divergence.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
cpp/include/raft/stats/kl_divergence.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019-2022, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
31.882353
100
0.744157
kaatish
59e1b9c8402424cdb1514435d34f7fa07edfe816
4,575
hpp
C++
src/query/query_column.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
3
2021-06-24T01:05:42.000Z
2021-07-23T07:24:16.000Z
src/query/query_column.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
5
2021-06-25T00:13:51.000Z
2021-07-23T14:26:01.000Z
src/query/query_column.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
null
null
null
#pragma once #include "query/base_query.hpp" #include "query/query_comp.hpp" #include "query/query_const.hpp" class TableSchema; class QuerySchema; class TableColumn; // NOTE: Kind of weird, but I've decided to use negative numbers to // refer some types of query columns that come up, such as splats, but // also SHO...
24.465241
83
0.68
farleyknight
59e7bf2320e9a7e5f41ba9952a4185530ef397aa
3,844
cpp
C++
Src/System/BitFlag_signal.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
Src/System/BitFlag_signal.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
Src/System/BitFlag_signal.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
/* Copyright 1992 Kurt W. Allen. This is an unpublished work by Kurt W. Allen. All rights are reserved, and no part of this work may be distributed or released with out the express permission of Kurt W. Allen, 3540 43'rd Ave S., Mpls, Mn 55406. */ /* $Revision: 1.1 $ $Modtime: 01 May 1993 09:32:20 $ $Workfil...
29.79845
72
0.633975
Gjoll
59ebda8cbda7012d9b2b70827753005f680c408a
789
cc
C++
app/source/app.cc
Piepsii/lime
f23771033365cb96e5c928546c3a3335d7f10608
[ "Unlicense" ]
null
null
null
app/source/app.cc
Piepsii/lime
f23771033365cb96e5c928546c3a3335d7f10608
[ "Unlicense" ]
null
null
null
app/source/app.cc
Piepsii/lime
f23771033365cb96e5c928546c3a3335d7f10608
[ "Unlicense" ]
null
null
null
// app.cc #include "app.hpp" int main(int argc, char **argv) { using namespace lime; // note: window has to be 1280x720 if( window::open(1280, 720, "lime") ) { Bitmap tileset{}; if( !bitmap::create("assets/explosion.bmp", tileset) ) { return false; } Bitmap image{}; // note: has to be 320x180 if( !...
17.533333
57
0.565272
Piepsii
59f05dd59c6b51d02aeb767d251ff9617fc62ebe
3,540
cpp
C++
src/modules/osgWidget/generated_code/_osgWidget.main.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
3
2017-04-20T09:11:47.000Z
2021-04-29T19:24:03.000Z
src/modules/osgWidget/generated_code/_osgWidget.main.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
null
null
null
src/modules/osgWidget/generated_code/_osgWidget.main.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
null
null
null
// This file has been generated by Py++. #include "boost/python.hpp" #include "__call_policies.pypp.hpp" #include "__convenience.pypp.hpp" #include "indexing_suite/container_suite.hpp" #include "indexing_suite/vector.hpp" #include "indexing_suite/list.hpp" #include "wrap_osgWidget.h" #include "Box.pypp.hpp" #i...
18.730159
102
0.774576
cmbruns
59f3b95e046d9a4269e2cd99f4057de7b03e5dde
2,769
cpp
C++
TeaFiles.Test/os/FileIOTest.cpp
fced42/TeaFiles.Cpp
6702a2056d025da9d18d0112ba294ac47269e861
[ "MIT" ]
47
2015-01-01T14:37:36.000Z
2021-04-25T07:38:07.000Z
TeaFiles.Test/os/FileIOTest.cpp
fced42/TeaFiles.Cpp
6702a2056d025da9d18d0112ba294ac47269e861
[ "MIT" ]
6
2016-01-11T05:20:05.000Z
2021-02-06T11:37:24.000Z
TeaFiles.Test/os/FileIOTest.cpp
fced42/TeaFiles.Cpp
6702a2056d025da9d18d0112ba294ac47269e861
[ "MIT" ]
17
2015-01-05T15:10:43.000Z
2021-06-22T04:59:16.000Z
#include <gtest/gtest.h> #include "TeaFiles/os/FileIO.h" using namespace teatime; TEST(FileIOTest, WriteReadRoundTrip) { remove("test.tea"); { { FileIO f; f.Create("test.tea"); EXPECT_EQ(0, f.GetFilePosition()); EXPECT_EQ(0, f.FileSize()); f.Flush(); uint64 value ...
21.97619
89
0.527627
fced42
59f6309922218bf971dc946e9f221811cde81414
1,699
cpp
C++
application_kit/AppKitModel/HandlerAsDataObject/StringHandler.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-09-09T21:01:57.000Z
2022-03-27T10:01:27.000Z
application_kit/AppKitModel/HandlerAsDataObject/StringHandler.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
null
null
null
application_kit/AppKitModel/HandlerAsDataObject/StringHandler.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-04-03T01:45:23.000Z
2021-05-14T08:23:01.000Z
/* StringHandler.cpp */ /* Copyright 1999, Be Incorporated. All Rights Reserved. This file may be used under the terms of the Be Sample Code License. */ #include <String.h> #include <Message.h> #include "StringHandler.h" #include "StringHandlerProtocol.h" StringHandler::StringHandler(const char *value, const ch...
16.028302
69
0.685109
return
59fdbad76022ac168b765a8821656acf1d3edf35
4,541
hpp
C++
spoki/libspoki/spoki/scamper/async_decoder.hpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
1
2022-02-03T15:35:16.000Z
2022-02-03T15:35:16.000Z
spoki/libspoki/spoki/scamper/async_decoder.hpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
spoki/libspoki/spoki/scamper/async_decoder.hpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
/* * This file is part of the CAF spoki driver. * * Copyright (C) 2018-2021 * Authors: Raphael Hiesgen * * All rights reserved. * * Report any bugs, questions or comments to raphael.hiesgen@haw-hamburg.de * */ #pragma once #include <thread> #include <unordered_map> #include <vector> #include <caf/all.hpp> ...
27.858896
80
0.693239
inetrg
94000562d8aa73bd0b046785fd059000e44943af
854
hpp
C++
include/argot/gen/concept_body/detail/parse_auto.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
49
2018-05-09T23:17:45.000Z
2021-07-21T10:05:19.000Z
include/argot/gen/concept_body/detail/parse_auto.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
null
null
null
include/argot/gen/concept_body/detail/parse_auto.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
2
2019-08-04T03:51:36.000Z
2020-12-28T06:53:29.000Z
/*============================================================================== Copyright (c) 2017, 2018 Matt Calabrese 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) =============================================...
42.7
80
0.592506
mattcalabrese
94054767fe23237649b403a4b9951f645220faa1
2,287
cpp
C++
ESP8266_firmware/temperature_sensor/src/main.cpp
0x1001/smarthome
a275a44cf4fb4ff44b6e00ce5a2b3fdcdcd1e51d
[ "MIT" ]
null
null
null
ESP8266_firmware/temperature_sensor/src/main.cpp
0x1001/smarthome
a275a44cf4fb4ff44b6e00ce5a2b3fdcdcd1e51d
[ "MIT" ]
null
null
null
ESP8266_firmware/temperature_sensor/src/main.cpp
0x1001/smarthome
a275a44cf4fb4ff44b6e00ce5a2b3fdcdcd1e51d
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <my_data.h> #include <sensor.hpp> #include <mqtt.hpp> #include <network.hpp> #include <vbat.hpp> #ifndef UNIT_TEST Sensor sensor; MQTT mqtt(MQTT_SERVER, MQTT_PORT, MQTT_USER, MQTT_KEY); Network network(WIFI_SSID, WIFI_PASSWORD); VBAT vbat; void setup() { Serial.begin(74880); delay(...
24.073684
70
0.665063
0x1001