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
dffa1bc31a4cae28c9d6faf20ac193a8aeda7ce0
5,457
cpp
C++
src/DataObjects/JPetSigCh/JPetSigCh.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
10
2016-07-04T14:54:14.000Z
2021-04-11T14:19:29.000Z
src/DataObjects/JPetSigCh/JPetSigCh.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
119
2016-06-17T20:22:07.000Z
2022-02-21T08:50:22.000Z
src/DataObjects/JPetSigCh/JPetSigCh.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
30
2016-06-17T17:56:35.000Z
2020-12-30T22:20:19.000Z
/** * @copyright Copyright 2018 The J-PET Framework Authors. 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 find a copy of the License in the LICENCE file. * * Unless required by applicable la...
24.581081
139
0.700568
BlurredChoise
5f016c0b68d0bc601251a9526317edc4e804ba39
5,610
cpp
C++
src/Core/ThreadService.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
2
2019-06-10T06:51:27.000Z
2021-11-20T19:57:46.000Z
src/Core/ThreadService.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
1
2019-07-12T03:05:02.000Z
2019-08-12T12:01:06.000Z
src/Core/ThreadService.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
null
null
null
#include "ThreadService.h" #undef OS_WINDOWS #include <tbb/concurrent_queue.h> #ifdef XE_PROFILING #define MICROPROFILE_ENABLED 1 #else #define MICROPROFILE_ENABLED 0 #endif // XE_PROFILING #define MICROPROFILE_IMPL #include <microprofile/microprofile.h> #include <microprofile/microprofile.cpp> BEG_META( XE::Threa...
18.637874
109
0.625668
xenginez
5f02bd284547979e46c60d7034236665e638832f
1,143
hpp
C++
include/forma/events/key_event.hpp
LuxAter/Forma
0a46daf9810548cc62146ef90bbdd8e143eaf640
[ "Apache-2.0" ]
null
null
null
include/forma/events/key_event.hpp
LuxAter/Forma
0a46daf9810548cc62146ef90bbdd8e143eaf640
[ "Apache-2.0" ]
null
null
null
include/forma/events/key_event.hpp
LuxAter/Forma
0a46daf9810548cc62146ef90bbdd8e143eaf640
[ "Apache-2.0" ]
null
null
null
#ifndef FORM_KEY_EVENT_HPP_ #define FORM_KEY_EVENT_HPP_ #include <fmt/format.h> #include "forma/core.hpp" #include "event.hpp" namespace forma { class FORMA_API KeyEvent : public Event { public: inline int get_keycode() const { return key_code; } EVENT_CLASS_CATEGORY(KEYBOARD_EVENT | INPUT_EVENT); protected: ...
25.977273
68
0.727034
LuxAter
5f0dbefee982825c1d3969c3abccfe54c7fe1508
19,874
hpp
C++
src/core/grabber/include/manipulator/details/basic.hpp
rcmdnk/Karabiner-Elements
2e66f8fcfb5558ee49c2a1e7e74de13c05f51cf3
[ "Unlicense" ]
null
null
null
src/core/grabber/include/manipulator/details/basic.hpp
rcmdnk/Karabiner-Elements
2e66f8fcfb5558ee49c2a1e7e74de13c05f51cf3
[ "Unlicense" ]
null
null
null
src/core/grabber/include/manipulator/details/basic.hpp
rcmdnk/Karabiner-Elements
2e66f8fcfb5558ee49c2a1e7e74de13c05f51cf3
[ "Unlicense" ]
null
null
null
#pragma once #include "manipulator/details/base.hpp" #include "manipulator/details/types.hpp" #include "time_utility.hpp" #include <json/json.hpp> #include <unordered_set> #include <vector> namespace krbn { namespace manipulator { namespace details { class basic final : public base { public: class manipulated_origi...
39.987928
170
0.505937
rcmdnk
5f1ae2218c7d98f7d031dfa4718ee63456364dc9
371
hpp
C++
src/hw/platform_device_server/request_handler.hpp
pblxptr/hhctrl-mgmt
829189d51985205b1a9ce25aff2ce5d1e579c94d
[ "MIT" ]
null
null
null
src/hw/platform_device_server/request_handler.hpp
pblxptr/hhctrl-mgmt
829189d51985205b1a9ce25aff2ce5d1e579c94d
[ "MIT" ]
null
null
null
src/hw/platform_device_server/request_handler.hpp
pblxptr/hhctrl-mgmt
829189d51985205b1a9ce25aff2ce5d1e579c94d
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <hw/platform_device/device.hpp> namespace hw::pdctrl { class PlatformDeviceCtrlHandler { public: using DeviceCollection_t = std::vector<std::reference_wrapper<const hw::platform_device::Device>>; virtual ~PlatformDeviceCtrlHandler() = default; virtual Device...
20.611111
102
0.743935
pblxptr
5f1cb5f4dc189e3dcaa9b6ce259042c94a406fd9
413
cpp
C++
ABC_208_A.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
ABC_208_A.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
ABC_208_A.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
//AT-COder BEginner Contest #include <bits/stdc++.h> #define int long long #define mod 1000000007 #define rep(i,n,s) for(int i=0;i<n;i+=s) #define mxsize 100000 using namespace std; void solve() { int a, b; cin >> a >> b; if (((a * 6) >= b ) && (b >= a))cout << "Yes" << endl; else cout << "No" << endl; } int32...
15.884615
55
0.590799
kamlesh012
5f207dbcd5c53480966b86818af42168f772800d
7,557
hpp
C++
include/nntlib/net.hpp
crepererum/nntlib
78763e8c63c85e79be21be8767fb44e2869f4ce4
[ "BSL-1.0" ]
null
null
null
include/nntlib/net.hpp
crepererum/nntlib
78763e8c63c85e79be21be8767fb44e2869f4ce4
[ "BSL-1.0" ]
null
null
null
include/nntlib/net.hpp
crepererum/nntlib
78763e8c63c85e79be21be8767fb44e2869f4ce4
[ "BSL-1.0" ]
null
null
null
#pragma once #include "utils.hpp" #include <functional> #include <tuple> #include <vector> namespace nntlib { template <typename T, typename Loss, typename... Layers> class net { public: typedef nntlib::utils::undef weights_t; net(Layers&... layers); template <typename InputIt> ...
40.629032
192
0.622602
crepererum
5f21a5be67eeeee5c13d2365226fb22bfdee0904
2,087
cpp
C++
C++/problems/0094_bus_routes.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
6
2019-03-20T22:23:26.000Z
2020-08-28T03:10:27.000Z
C++/problems/0094_bus_routes.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
15
2019-10-13T20:53:53.000Z
2022-03-31T02:01:35.000Z
C++/problems/0094_bus_routes.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
3
2019-03-11T10:57:46.000Z
2020-02-26T21:13:21.000Z
// Problem Statement // We have a list of bus routes. Each routes[i] is a bus route that the i-th bus repeats forever. // For example if routes[0] = [1, 5, 7], this means that the first bus (0-th indexed) // travels in the sequence 1->5->7->1->5->7->1->... forever. // // We start at bus stop S (initially not on a bus),...
31.621212
97
0.498323
oxone-999
5f23c824c29af289d22d3ca96bcfaf9d67b5a072
1,616
hpp
C++
include/codegen/include/UnityEngine/jvalue.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/jvalue.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/jvalue.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:26 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.ValueType #include "System/ValueType.hpp" // Includin...
29.925926
231
0.606436
Futuremappermydud
5f2983e126ed697236d7c76d64d21448e6ad1233
4,509
cpp
C++
VisualLiveSystem/signal/decoder.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
40
2015-09-12T17:13:29.000Z
2022-02-14T21:54:56.000Z
VisualLiveSystem/signal/decoder.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
4
2016-01-08T15:17:23.000Z
2018-11-04T19:56:59.000Z
VisualLiveSystem/signal/decoder.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
4
2016-07-08T15:36:14.000Z
2021-01-23T16:17:03.000Z
#include "signal/decoder.hpp" #include "signal/basserrorhandler.hpp" #include <iostream> #include <QMessageBox> BassDecoder::BassDecoder(QObject* parent): Decoder(parent), _music(0), _mod(false), _ended(true), _bytesStep(0), _samplesForSignals(0) { if (!BASS_Init(0,Signal::frequency,0,0,0)) { std::cerr << "er...
24.372973
168
0.656021
XT95
5f2bfa5650f891d955c33269322da90645343669
1,538
cpp
C++
experimental/tests/tests/utils/statistics_checker.cpp
Dllieu/experimental
05a32a786d541b5560f713e2cf87e147142999cb
[ "MIT" ]
null
null
null
experimental/tests/tests/utils/statistics_checker.cpp
Dllieu/experimental
05a32a786d541b5560f713e2cf87e147142999cb
[ "MIT" ]
26
2017-10-10T18:02:16.000Z
2019-08-12T03:06:39.000Z
experimental/tests/tests/utils/statistics_checker.cpp
Dllieu/experimental
05a32a786d541b5560f713e2cf87e147142999cb
[ "MIT" ]
null
null
null
#include <cstddef> #include <gtest/gtest.h> #include <tests/utils/statistics_checker.h> namespace tests { StatisticsChecker::StatisticsChecker() : m_ExpectedAllocatedBytes() , m_ExpectedDeallocatedBytes() , m_IgnoreCheck(false) { } void StatisticsChecker::IgnoreChecks() { ...
26.517241
83
0.672302
Dllieu
5f2e287349423769045eef14abae3c08463be16a
246
cpp
C++
Ladder 11/015 Drinks.cpp
vickycoder101/a2oj-solutions
279758593446edfa38c594cbb1ad4765397a9532
[ "MIT" ]
null
null
null
Ladder 11/015 Drinks.cpp
vickycoder101/a2oj-solutions
279758593446edfa38c594cbb1ad4765397a9532
[ "MIT" ]
1
2021-12-01T06:53:18.000Z
2021-12-01T07:09:31.000Z
Ladder 11/015 Drinks.cpp
vickycoder101/a2oj-solutions
279758593446edfa38c594cbb1ad4765397a9532
[ "MIT" ]
4
2021-10-31T16:36:28.000Z
2021-12-01T05:48:31.000Z
#include <iostream> using namespace std; int main() { int a; cin>>a; int c; double b=0; for(int i=1;i<=a;i++) { cin>>c; b=b+c; } double d=a; double e=b; cout<<(b/double(a)); return 0; }
13.666667
25
0.455285
vickycoder101
5f31cbd1aac0ef8add3d187e49d385f79c742b9b
103
cpp
C++
chapter_2/ex_2.13.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
chapter_2/ex_2.13.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
chapter_2/ex_2.13.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
/** * int i = 42; * int main() * { *     int i = 100; *     int j = i; j's value is 100 * } */
10.3
34
0.359223
YasserKa
5f33712ec2b154e0244409ef0e2b9fca717ae2c7
1,026
hpp
C++
include/GLHandlerImpl.hpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
include/GLHandlerImpl.hpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
include/GLHandlerImpl.hpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include "shapegl.hpp" #include "IWindow.hpp" #include "Scene.hpp" #include "Color.hpp" #include "GLHandler.hpp" #include "RenderPackage.hpp" #include "GLRenderObject.hpp" namespace shapegame { class GLHandlerImpl : public GLHandler { private: GLFWwindow *window...
31.090909
89
0.648148
hasahmed
5f34a509ba8a5101237572144bb7735bc5ae8e15
1,953
cpp
C++
QML_ML_Camera/camera-core/MovieAlbumDAO.cpp
gwamoniak/automatic-adventure
ea3c19ae9329f23c323c8c692db2f3061e15f58d
[ "MIT" ]
null
null
null
QML_ML_Camera/camera-core/MovieAlbumDAO.cpp
gwamoniak/automatic-adventure
ea3c19ae9329f23c323c8c692db2f3061e15f58d
[ "MIT" ]
null
null
null
QML_ML_Camera/camera-core/MovieAlbumDAO.cpp
gwamoniak/automatic-adventure
ea3c19ae9329f23c323c8c692db2f3061e15f58d
[ "MIT" ]
1
2022-01-21T14:40:54.000Z
2022-01-21T14:40:54.000Z
#include "MovieAlbumDAO.h" #include <QSqlDatabase> #include <QSqlQuery> #include <QVariant> #include "DatabaseManager.h" #include "Album.h" using namespace std; MovieAlbumDAO::MovieAlbumDAO(QSqlDatabase& _database) : m_sqlDB(_database) { } void MovieAlbumDAO::init() const { if (!m_sqlDB...
28.304348
98
0.659498
gwamoniak
5f34ee5c24d839e0325011831d082b4483583814
4,582
cpp
C++
Src/Qt/kwt/src/kthread_p.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
null
null
null
Src/Qt/kwt/src/kthread_p.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
null
null
null
Src/Qt/kwt/src/kthread_p.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
1
2020-05-11T05:36:49.000Z
2020-05-11T05:36:49.000Z
#include "precomp.h" #include "kthread_p.h" #if (QT_VERSION < 0x050000) #include <Windows.h> #endif // // KThread // //#if (QT_VERSION < 0x050000) void KThread::sleep(unsigned long secs) { ::Sleep(secs * 1000); } void KThread::msleep(unsigned long msecs) { ::Sleep(msecs); } void KThread::usleep(unsigned l...
17.69112
86
0.551506
iclosure
5f3957232f4cf91c7d4be526716f8cc078526eae
1,220
cpp
C++
test/unit_tests/cql_message_startup.cpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
3
2016-02-24T09:22:16.000Z
2021-04-06T03:04:21.000Z
test/unit_tests/cql_message_startup.cpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
null
null
null
test/unit_tests/cql_message_startup.cpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
6
2015-04-26T07:16:44.000Z
2020-11-23T06:31:07.000Z
#include <boost/test/unit_test.hpp> #include "cql/cql.hpp" #include "cql/cql_error.hpp" #include "cql/internal/cql_defines.hpp" #include "cql/internal/cql_message_startup_impl.hpp" BOOST_AUTO_TEST_SUITE(cql_message_startup) char TEST_MESSAGE_STARTUP[] = { 0x00, 0x01, 0x00, 0x0b, 0x43, 0x51, 0x4c, 0x5f, 0x56, ...
29.047619
100
0.751639
ncbi
5f4172d376df44ff5bd158f544a1583a6c50224f
416
cpp
C++
cpp_scratch/quizzes/q1_4_a.cpp
Anirudh-Swaminathan/ani_random_stuff
8da4f2ec3bc97e377f2341802c64e49b8ea16c67
[ "MIT" ]
null
null
null
cpp_scratch/quizzes/q1_4_a.cpp
Anirudh-Swaminathan/ani_random_stuff
8da4f2ec3bc97e377f2341802c64e49b8ea16c67
[ "MIT" ]
null
null
null
cpp_scratch/quizzes/q1_4_a.cpp
Anirudh-Swaminathan/ani_random_stuff
8da4f2ec3bc97e377f2341802c64e49b8ea16c67
[ "MIT" ]
null
null
null
#include <iostream> // function to return twice the value of an integer // this function satisfies the 4th question of the quiz int doubleNumber(int x) { return 2*x; } int userInput() { int x; std::cout << "Please enter an integer; "; std::cin >> x; return x; } int main() { int s = userInput(...
17.333333
59
0.579327
Anirudh-Swaminathan
5f43953cbc0b35edb4153142ee9557d0cd3649e5
235
cpp
C++
20200412_ABC162/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20200412_ABC162/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20200412_ABC162/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { long long n; cin >> n; long long ans=0; for(long long i=1;i<=n;i++){ if(i%3==0 || i%5==0) continue; ans+=i; } cout << ans << endl; }
13.823529
38
0.476596
miyalab
5f4c2d6f253b9e96c8e52c2ec827b9e544b073d8
4,026
cpp
C++
RecastCWrapper/Source/DetourWrapper.cpp
mathias234/RecastSharp
622118aa29f1c55cd4b9ea7e904370e569183372
[ "MIT" ]
2
2021-03-24T17:12:35.000Z
2021-05-03T17:30:45.000Z
RecastCWrapper/Source/DetourWrapper.cpp
mathias234/RecastSharp
622118aa29f1c55cd4b9ea7e904370e569183372
[ "MIT" ]
null
null
null
RecastCWrapper/Source/DetourWrapper.cpp
mathias234/RecastSharp
622118aa29f1c55cd4b9ea7e904370e569183372
[ "MIT" ]
2
2021-05-15T19:30:23.000Z
2021-06-02T20:37:05.000Z
#include "DetourWrapper.h" #include "DetourNavMeshBuilder.h" #include "DetourNavMesh.h" #include "DetourNavMeshQuery.h" #include <iostream> EXPORT_API bool dtwCreateNavMeshData(dtwNavMeshCreateParams* params, unsigned char** outData, int* outDataSize) { dtNavMeshCreateParams* dtParams = (dtNavMeshCreateParams*)params...
35.315789
168
0.787134
mathias234
5f50c1f0ea514086e4d76bc8228cf047f73551f5
1,349
cpp
C++
tests/draw_world.cpp
lhiuming/REI
e5a8ac706158faa1210146b387716a5825984b47
[ "MIT" ]
1
2021-04-18T22:07:53.000Z
2021-04-18T22:07:53.000Z
tests/draw_world.cpp
lhiuming/REI
e5a8ac706158faa1210146b387716a5825984b47
[ "MIT" ]
null
null
null
tests/draw_world.cpp
lhiuming/REI
e5a8ac706158faa1210146b387716a5825984b47
[ "MIT" ]
1
2021-01-11T13:07:28.000Z
2021-01-11T13:07:28.000Z
// Test loading and drwing a 3D file as a world #ifdef USE_MSVC #pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup") #endif #include <asset_loader.h> #include <console.h> #include <renderer.h> #include <scene.h> #include <viewer.h> using namespace std; using namespace rei; int main(int argc, char** a...
22.483333
67
0.629355
lhiuming
34fb3cde4cf970d1e4dc20f537a3b60a132f8ccd
3,473
cpp
C++
src/Pathing/Pathfinding.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
src/Pathing/Pathfinding.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
src/Pathing/Pathfinding.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
#pragma once #include "Pathfinding.hpp" #include <algorithm> #include <iostream> #include <math.h> #include <set> using Pathing::Node; using Pathing::Pathfinding; int Pathing::Pathfinding::findDistance(Node &nodeA, Node &nodeB) { int dstX = abs(nodeA.x - nodeB.x); int dstY = abs(nodeA.y - nodeB.y); if (ds...
29.939655
92
0.546214
KieraG
34fc514f531679e884e5c00c88a16f637ffbea32
960
cpp
C++
Algorithms/0557.ReverseWordsInStringIII/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0557.ReverseWordsInStringIII/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0557.ReverseWordsInStringIII/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <string> #include "gtest/gtest.h" namespace { class Solution { public: std::string reverseWords(std::string const &s) const { std::string dest; size_t index = 0; while (index < s.size()) { if (!dest.empty()) { dest.push_back(' '...
21.818182
99
0.545833
stdstring
34feb182fde74d7225ec7c7d56256ad39fb94340
28,788
cpp
C++
opaque/numeric_typedef.test.cpp
kmarkley86/opaque_typedef
880011a48e55520a9945e02b5888db4d00088712
[ "BSD-3-Clause" ]
null
null
null
opaque/numeric_typedef.test.cpp
kmarkley86/opaque_typedef
880011a48e55520a9945e02b5888db4d00088712
[ "BSD-3-Clause" ]
null
null
null
opaque/numeric_typedef.test.cpp
kmarkley86/opaque_typedef
880011a48e55520a9945e02b5888db4d00088712
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2015, 2016, 2018, 2021 // Kyle Markley. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // ...
31.427948
81
0.615673
kmarkley86
550367a3183119c1f32da4fa327dbc9cb67122ac
4,294
cxx
C++
src/LaplaceP2PCPU.cxx
ecrc/bemfmm
4b9bccb373ff3a066bf17404ca2b69c617347dc6
[ "MIT" ]
7
2020-05-01T01:23:27.000Z
2021-07-22T13:22:06.000Z
src/LaplaceP2PCPU.cxx
ecrc/BEMFMM
4b9bccb373ff3a066bf17404ca2b69c617347dc6
[ "MIT" ]
null
null
null
src/LaplaceP2PCPU.cxx
ecrc/BEMFMM
4b9bccb373ff3a066bf17404ca2b69c617347dc6
[ "MIT" ]
6
2018-10-31T10:57:53.000Z
2019-10-09T17:14:56.000Z
#include "kernel.h" #if EXAFMM_USE_SIMD #include "simdvec.h" #endif namespace exafmm { namespace kernel { real_t eps2; vec3 Xperiodic; void P2P(C_iter Ci, C_iter Cj, bool mutual) { B_iter Bi = Ci->BODY; B_iter Bj = Cj->BODY; int ni = Ci->NBODY; int nj = Cj->NBODY; int i = 0...
21.04902
55
0.491616
ecrc
5505b234442b806d0fb9b7317aa402e72d2c6f77
5,735
cpp
C++
src/ContainersPP/Containers/InlineTable.cpp
guymella/Oryol-ContainersPP
ff84699df8df6cf932451f8457a28c785338dd01
[ "MIT" ]
null
null
null
src/ContainersPP/Containers/InlineTable.cpp
guymella/Oryol-ContainersPP
ff84699df8df6cf932451f8457a28c785338dd01
[ "MIT" ]
null
null
null
src/ContainersPP/Containers/InlineTable.cpp
guymella/Oryol-ContainersPP
ff84699df8df6cf932451f8457a28c785338dd01
[ "MIT" ]
null
null
null
#include "InlineTable.h" ContainersPP::InlineTable::InlineTable(uint32_t PartitionCount) { Buffer().CopyBack((uint8_t*)Types::BASEDEFAULT, sizeof(uint64_t)*2); Index()[0] = sizeof(uint64_t) * 2; for (uint32_t i = 0; i < PartitionCount; i++) New(); } ContainersPP::InlinePartition ContainersPP::iInl...
27.705314
139
0.675153
guymella
5508ce14235075c470bdc23a1704b2b2d4023288
2,076
cpp
C++
Tracker/Archive/Tracker_horst/Pylon_with_OpenCV/threshold.cpp
horsto/2P_tracking
d3eab554841a5f746a9231d770777f718267da6d
[ "MIT" ]
1
2018-07-16T07:08:42.000Z
2018-07-16T07:08:42.000Z
Tracker/Archive/Tracker_horst/Pylon_with_OpenCV/threshold.cpp
horsto/2P_tracking
d3eab554841a5f746a9231d770777f718267da6d
[ "MIT" ]
null
null
null
Tracker/Archive/Tracker_horst/Pylon_with_OpenCV/threshold.cpp
horsto/2P_tracking
d3eab554841a5f746a9231d770777f718267da6d
[ "MIT" ]
1
2018-07-16T07:08:46.000Z
2018-07-16T07:08:46.000Z
#include "stdafx.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/video/video.hpp> #include <iostream> using namespace cv; using namespace std; cv::Mat GetThresholdedImage(cv::Mat img, uint low_h, uint high_h, uint low_s, uint high_s, uint low_v, uint high_v) { // Create a...
38.444444
129
0.675337
horsto
550b63bc307e754423e3e7435109943c98b27c58
2,491
hpp
C++
include/noarr/cuda-pipelines/CudaPipelines.hpp
ParaCoToUl/noarr-pipelines
138f69065e40403a41b95103262b39f2e04dcab8
[ "MIT" ]
null
null
null
include/noarr/cuda-pipelines/CudaPipelines.hpp
ParaCoToUl/noarr-pipelines
138f69065e40403a41b95103262b39f2e04dcab8
[ "MIT" ]
null
null
null
include/noarr/cuda-pipelines/CudaPipelines.hpp
ParaCoToUl/noarr-pipelines
138f69065e40403a41b95103262b39f2e04dcab8
[ "MIT" ]
null
null
null
#ifndef NOARR_CUDA_PIPELINES_CUDA_PIPELINES_HPP #define NOARR_CUDA_PIPELINES_CUDA_PIPELINES_HPP #include <cassert> #include <cuda_runtime.h> #include "noarr/pipelines/Device.hpp" #include "noarr/pipelines/HardwareManager.hpp" #include "noarr/cuda-pipelines/NOARR_CUCH.hpp" #include "noarr/cuda-pipelines/CudaAllocator...
26.5
83
0.654757
ParaCoToUl
55120485e68235b98fd67c5b1443ea2549cca72d
8,913
cpp
C++
src/lib/serialport/qserialportinfo_symbian.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
8
2015-11-16T19:15:55.000Z
2021-02-17T23:58:33.000Z
src/lib/serialport/qserialportinfo_symbian.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
5
2015-11-12T00:19:59.000Z
2020-03-23T10:18:19.000Z
src/lib/serialport/qserialportinfo_symbian.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
11
2015-03-15T23:02:48.000Z
2021-09-05T14:17:13.000Z
/**************************************************************************** ** ** Copyright (C) 2011-2012 Denis Shienkov <denis.shienkov@gmail.com> ** Copyright (C) 2011 Sergey Belyashov <Sergey.Belyashov@gmail.com> ** Copyright (C) 2012 Laszlo Papp <lpapp@kde.org> ** Contact: http://www.qt-project.org/legal ** ** Th...
35.652
126
0.641423
Hayesie88
551a1f2d6d6b0efbe51a70b7c500d163674d6c20
5,974
cpp
C++
engine/navigation/navigation_interfaces.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
engine/navigation/navigation_interfaces.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
engine/navigation/navigation_interfaces.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
22.714829
119
0.644125
AugustoMoura
551e38a7251fd7eceae18b666f2a71eed9ab4bfd
142
cc
C++
src/messages/filerequest.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
17
2016-11-27T13:13:40.000Z
2021-09-07T06:42:25.000Z
src/messages/filerequest.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
22
2017-01-18T06:10:18.000Z
2019-05-15T03:49:19.000Z
src/messages/filerequest.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
5
2017-07-24T15:19:32.000Z
2022-02-19T09:11:01.000Z
#include "filerequest.hh" namespace eclipse { namespace messages { std::string FileRequest::get_type() const { return "FileRequest"; } } }
14.2
67
0.725352
zzunny97
552236be1ae49ab06ce805c93610ddcdaba3d5cf
343
cpp
C++
cpp/761-770/Max Chunks To Make Sorted.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/761-770/Max Chunks To Make Sorted.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/761-770/Max Chunks To Make Sorted.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: int maxChunksToSorted(vector<int>& arr) { int result = 0; int temp_max = arr[0]; for (int i = 0; i < arr.size(); i++) { temp_max = max(temp_max, arr[i]); if (temp_max == i) { result++; } } r...
21.4375
46
0.422741
KaiyuWei
5523c01ea257c3717642c381fa72ac3a37f9e2c2
5,632
cpp
C++
src/hammer/NewVisGroupDlg.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/hammer/NewVisGroupDlg.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/hammer/NewVisGroupDlg.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: A dialog that is invoked when a new visgroup is created. // It lets the user pick an existing visgroup or create a new one. // //=============================================================================/...
34.765432
95
0.468572
cstom4994
5527795693a090240fc930b5d1068ffdea956e23
5,161
cpp
C++
src/graphics/RenderContext.cpp
cstegel/opengl-fireworks
5acc2e2e937cae632bf2cf8074d209ea22d719c8
[ "MIT" ]
1
2017-10-09T06:56:17.000Z
2017-10-09T06:56:17.000Z
src/graphics/RenderContext.cpp
cstegel/opengl-fireworks
5acc2e2e937cae632bf2cf8074d209ea22d719c8
[ "MIT" ]
null
null
null
src/graphics/RenderContext.cpp
cstegel/opengl-fireworks
5acc2e2e937cae632bf2cf8074d209ea22d719c8
[ "MIT" ]
null
null
null
#include "graphics/RenderContext.hpp" #include "core/InputManager.hpp" #include "core/Game.hpp" #include "ecs/components/View.hpp" #include "ecs/components/Transform.hpp" #include <glm/gtc/matrix_transform.hpp> namespace fw { RenderContext::Timer::Timer(RenderStage stage) : stage(stage) { startTime = glfwGetTime(...
21.684874
85
0.755086
cstegel
552cb1e81dd4efc8ca85afe864376b476b525ee8
9,864
cpp
C++
src/afk/physics/PhysicsBody.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
src/afk/physics/PhysicsBody.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
src/afk/physics/PhysicsBody.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
#include "afk/physics/PhysicsBody.hpp" #include "afk/debug/Assert.hpp" using Afk::PhysicsBody; PhysicsBody::PhysicsBody(GameObject e, Afk::PhysicsBodySystem *physics_system, Afk::Transform transform, float bounciness, float linear_dampening, float angular_dampening, ...
41.974468
126
0.68015
christocs
552da535f2b08b9136348d35397592c7125965aa
3,800
cpp
C++
Boss2D/addon/boss_addon_websocket.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/boss_addon_websocket.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/boss_addon_websocket.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
#include <boss.h> #if !defined(BOSS_NEED_ADDON_WEBSOCKET) || (BOSS_NEED_ADDON_WEBSOCKET != 0 && BOSS_NEED_ADDON_WEBSOCKET != 1) #error BOSS_NEED_ADDON_WEBSOCKET macro is invalid use #endif bool __LINK_ADDON_WEBSOCKET__() {return true;} // 링크옵션 /OPT:NOREF가 안되서 임시코드 #if BOSS_NEED_ADDON_WEBSOCKET #include...
35.185185
110
0.689474
Yash-Wasalwar-07
5531871cefd1742a1ef05774e5a70bc33e94324a
320
hpp
C++
packets/PKT_NPC_BuffUpdateCountGroup.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
1
2022-03-27T10:21:41.000Z
2022-03-27T10:21:41.000Z
packets/PKT_NPC_BuffUpdateCountGroup.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
null
null
null
packets/PKT_NPC_BuffUpdateCountGroup.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
3
2019-07-20T03:59:10.000Z
2022-03-27T10:20:09.000Z
#ifndef HPP_093_PKT_NPC_BuffUpdateCountGroup_HPP #define HPP_093_PKT_NPC_BuffUpdateCountGroup_HPP #include "base.hpp" #pragma pack(push, 1) struct PKT_NPC_BuffUpdateCountGroup_s : DefaultPacket<PKT_NPC_BuffUpdateCountGroup> { float duration; float runningTime; char numInGroup; }; #pragma pack(pop) #endif
21.333333
83
0.809375
HoDANG
5533999e7f1eee9d59fa5673461260af713e79fc
311
cpp
C++
Lista I Estrutura de Dados/2a.cpp
MateusVS/Estrutura-de-dados
fd30aeeb65cef06749adf1a5ab77549d622d4304
[ "Apache-2.0" ]
2
2019-04-09T03:57:40.000Z
2019-04-09T03:59:46.000Z
Lista I Estrutura de Dados/2a.cpp
MateusVS/Estrutura-de-dados
fd30aeeb65cef06749adf1a5ab77549d622d4304
[ "Apache-2.0" ]
null
null
null
Lista I Estrutura de Dados/2a.cpp
MateusVS/Estrutura-de-dados
fd30aeeb65cef06749adf1a5ab77549d622d4304
[ "Apache-2.0" ]
null
null
null
// Exercicio 2.a - Lista 1 - Estrutura de dados // Danilo de Nadai Sicari - Turma 1 - Fatec Araras // 24/03/18 #include <iostream> #include <stdlib.h> #include <stdio.h> using namespace std; int main(void) { int x, *p; x = 100; p = &x; printf("Valor de p: %d.\n", *p); return 0; }
15.55
51
0.578778
MateusVS
553476dda131cca329c0f592a5fdd2bd06e43903
1,614
cxx
C++
Testing/Code/Libraries/NiftyLinkTrackingDataMessageHelpersTests.cxx
NifTK/NiftyLink
b8b794afb682ffcdcf5181661fcf167989369a5d
[ "BSD-3-Clause" ]
5
2015-05-10T14:09:34.000Z
2021-02-23T03:35:51.000Z
Testing/Code/Libraries/NiftyLinkTrackingDataMessageHelpersTests.cxx
NifTK/NiftyLink
b8b794afb682ffcdcf5181661fcf167989369a5d
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/Libraries/NiftyLinkTrackingDataMessageHelpersTests.cxx
NifTK/NiftyLink
b8b794afb682ffcdcf5181661fcf167989369a5d
[ "BSD-3-Clause" ]
1
2021-02-23T03:35:52.000Z
2021-02-23T03:35:52.000Z
/*============================================================================= NiftyLink: A software library to facilitate communication over OpenIGTLink. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty ...
26.032258
79
0.580545
NifTK
5538df156c58894fa76f880771a5d73271343fc4
139
hxx
C++
src/Providers/UNIXProviders/CAHasPublicCertificate/UNIX_CAHasPublicCertificate_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/CAHasPublicCertificate/UNIX_CAHasPublicCertificate_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/CAHasPublicCertificate/UNIX_CAHasPublicCertificate_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_STUB #ifndef __UNIX_CAHASPUBLICCERTIFICATE_PRIVATE_H #define __UNIX_CAHASPUBLICCERTIFICATE_PRIVATE_H #endif #endif
11.583333
47
0.863309
brunolauze
553a100c886780496530454a97f908613940f78b
766
cpp
C++
Project/Kross-Engine/Source/Core/Renderer/Material.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
Project/Kross-Engine/Source/Core/Renderer/Material.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
Project/Kross-Engine/Source/Core/Renderer/Material.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
/* * Author: Deklyn Palmer. * Editors: * - Deklyn Palmer. */ #include "Material.h" #include "../Manager/ResourceManager.h" namespace Kross { Material::~Material() { m_Diffuse = nullptr; m_Normal = nullptr; m_Specular = nullptr; } Material* Material::OnCreate(const std::string& name) { /* Crea...
18.238095
54
0.659269
Deklyn-Palmer
553f053c80f5e519e399471d61dacd99d54f5ebf
1,057
cc
C++
src/main.cc
oyoungs/topice
631a6411b9e15d44514be5d61bace7135545f780
[ "MIT" ]
null
null
null
src/main.cc
oyoungs/topice
631a6411b9e15d44514be5d61bace7135545f780
[ "MIT" ]
null
null
null
src/main.cc
oyoungs/topice
631a6411b9e15d44514be5d61bace7135545f780
[ "MIT" ]
null
null
null
#include <oyoung/topice.hpp> #include <ros/node_handle.h> #include <std_msgs/Bool.h> #include <std_msgs/String.h> #include <iostream> int main(int argc, char **argv) { ros::init(argc, argv, "Topice"); ros::NodeHandle node; auto topice = oyoung::make_topice(node); topice.service<std_msgs::...
24.581395
109
0.56386
oyoungs
55413d0503f5c82e8d97e9e11abd084633157499
776
hxx
C++
src/utility/FileSystemUtility.hxx
TWLord/DUNEPrismTools
bde52eb1331ac10ba81cdf1bf63488707bfe5496
[ "MIT" ]
null
null
null
src/utility/FileSystemUtility.hxx
TWLord/DUNEPrismTools
bde52eb1331ac10ba81cdf1bf63488707bfe5496
[ "MIT" ]
null
null
null
src/utility/FileSystemUtility.hxx
TWLord/DUNEPrismTools
bde52eb1331ac10ba81cdf1bf63488707bfe5496
[ "MIT" ]
3
2018-01-09T20:57:33.000Z
2019-11-24T03:48:28.000Z
#include <dirent.h> #include <regex> #include <string> #include <vector> inline std::string EnsureTrailingSlash(std::string str) { if (!str.size()) { return str; } if (str.back() != '/') { return str + '/'; } return str; } inline std::vector<std::string> GetMatchingFiles(std::string directory, ...
21.555556
78
0.585052
TWLord
55417720498d4b469acbbe1c37312b55e29363db
380
cpp
C++
test/reverse_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
test/reverse_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
test/reverse_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
/** * @file reverse_unittest.cpp * @author lipingan (lipingan.dev@outlook.com) * @brief * @version 0.1 * @date 2022-01-03 * * @copyright Copyright (c) 2022 * */ #include "reverse.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include <iostream> namespace leetcode { TEST(reverse, case_0) { int ret = r...
17.272727
46
0.657895
Rokugatsu
55463aa96caf79258d475995bfa4529d21c9f4e7
30,538
cpp
C++
unittest/obproxy/test_unix_net_processor.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
74
2021-05-31T15:23:49.000Z
2022-03-12T04:46:39.000Z
unittest/obproxy/test_unix_net_processor.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
16
2021-05-31T15:26:38.000Z
2022-03-30T06:02:43.000Z
unittest/obproxy/test_unix_net_processor.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
64
2021-05-31T15:25:36.000Z
2022-02-23T08:43:58.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ...
29.822266
106
0.689076
stutiredboy
554e4b14c9c7a988ef10a21b5b98d46b43b3ea46
4,912
hpp
C++
libspace/plugins/prox/LibproxManualProximity.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
1
2016-05-09T03:34:51.000Z
2016-05-09T03:34:51.000Z
libspace/plugins/prox/LibproxManualProximity.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
libspace/plugins/prox/LibproxManualProximity.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2011 Sirikata Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE file. #ifndef _SIRIKATA_LIBPROX_MANUAL_PROXIMITY_HPP_ #define _SIRIKATA_LIBPROX_MANUAL_PROXIMITY_HPP_ #include "LibproxProximityBase.hpp" #include <prox/manual...
41.982906
197
0.773208
pathorn
55528012daf02ada9362691b35ee713454d35f5e
1,276
hpp
C++
Source/Texture/TextureSampleSettings.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Texture/TextureSampleSettings.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Texture/TextureSampleSettings.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
// Copyright 2020, Nathan Blane #pragma once #include "BasicTypes/Intrinsics.hpp" #include "Graphics/GraphicsAPIDefinitions.hpp" enum class TextureFilter : u8 { Linear, Bilinear }; inline SamplerFilter TextureToGraphicsFilter(TextureFilter filter) { switch (filter) { case TextureFilter::Linear: return Samp...
18.492754
79
0.758621
frobro98
555c6b90e81d1964f9975f1e2951e11574850325
314
hpp
C++
Library/CasualLibrary.hpp
CasualCoder91/CasualLibrary
ca86e7b3c6d1469e98d66f6fcb258a6e4bd6014c
[ "MIT" ]
39
2020-06-04T21:32:18.000Z
2022-03-29T10:14:02.000Z
Library/CasualLibrary.hpp
CasualCoder91/CasualLibrary
ca86e7b3c6d1469e98d66f6fcb258a6e4bd6014c
[ "MIT" ]
2
2020-12-27T13:40:39.000Z
2021-10-04T22:44:36.000Z
Library/CasualLibrary.hpp
CasualCoder91/CasualLibrary
ca86e7b3c6d1469e98d66f6fcb258a6e4bd6014c
[ "MIT" ]
15
2020-10-24T15:13:51.000Z
2022-02-25T10:02:13.000Z
// Must be included solely by a user #pragma once #ifdef _WIN32 // Windows-only // Memory #include "CasualLibrary/Memory/Memory.hpp" #include "CasualLibrary/Memory/External.hpp" #include "CasualLibrary/Memory/Internal.hpp" // Other #include "CasualLibrary/Address.hpp" #include "CasualLibrary/Helper.hpp" #endif
22.428571
44
0.773885
CasualCoder91
5566269bac8d5808897d3fad9ffea7bff43ae20c
10,276
hpp
C++
include/memoria/api/multimap/multimap_output_adapters.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/api/multimap/multimap_output_adapters.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/api/multimap/multimap_output_adapters.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2019 Victor Smirnov // // 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...
32.726115
126
0.509342
victor-smirnov
55693d69eb8145f3fdfd259c26aa2847c9f2c419
2,352
cpp
C++
libs/threadsafe_queue/test/main.cpp
pdsherman/pendulum
ed3e708e8cd66c1a7d5282110b4ceb94492c460f
[ "MIT" ]
null
null
null
libs/threadsafe_queue/test/main.cpp
pdsherman/pendulum
ed3e708e8cd66c1a7d5282110b4ceb94492c460f
[ "MIT" ]
null
null
null
libs/threadsafe_queue/test/main.cpp
pdsherman/pendulum
ed3e708e8cd66c1a7d5282110b4ceb94492c460f
[ "MIT" ]
null
null
null
/* * File: main.cpp * Author: pdsherman * Date: April 2021 */ #include <libs/threadsafe_queue/ThreadsafeQueue.hpp> #include <libs/util/util.hpp> #include <iostream> #include <atomic> #include <thread> #include <random> #include <chrono> #include <string> #include <vector> #include <unistd.h> static Thre...
26.426966
124
0.65051
pdsherman
556c8999bb4869c71fa575d02076a8afdc9a95fc
4,946
hpp
C++
rgbd_object_detection/include/rgbd_object_detection/camera_utils.hpp
shangzhouye/disinfection-robot-ros
736ec6495511e0f9fe458c45cac80a99962ce9c1
[ "MIT" ]
9
2020-12-12T20:34:55.000Z
2022-02-20T23:06:37.000Z
rgbd_object_detection/include/rgbd_object_detection/camera_utils.hpp
shangzhouye/disinfection-robot-ros
736ec6495511e0f9fe458c45cac80a99962ce9c1
[ "MIT" ]
1
2021-04-25T07:06:54.000Z
2021-04-25T07:06:54.000Z
rgbd_object_detection/include/rgbd_object_detection/camera_utils.hpp
shangzhouye/disinfection-robot-ros
736ec6495511e0f9fe458c45cac80a99962ce9c1
[ "MIT" ]
4
2021-03-05T07:21:51.000Z
2021-12-23T16:10:34.000Z
#ifndef CAMERA_UTILS_INCLUDE_GUARD_HPP #define CAMERA_UTILS_INCLUDE_GUARD_HPP /// \file /// \brief Camera model and camera lidar fusion /// /*! Definition of extrinsics * map -> ... -> base_link -> velodyne -> camera_link -> camera_color_optical_frame * (obtained from slam) (extrinsic) (given by cam...
34.110345
122
0.586737
shangzhouye
556e2678c8fabb5e0c4bfe72fac2fbeb6d8771b1
9,395
cpp
C++
tests/vector2D_tests.cpp
KPO-2020-2021/zad5_3-kgliwinski
302d567d68d8e26c7395f9607632df266d7b7df9
[ "Unlicense" ]
null
null
null
tests/vector2D_tests.cpp
KPO-2020-2021/zad5_3-kgliwinski
302d567d68d8e26c7395f9607632df266d7b7df9
[ "Unlicense" ]
null
null
null
tests/vector2D_tests.cpp
KPO-2020-2021/zad5_3-kgliwinski
302d567d68d8e26c7395f9607632df266d7b7df9
[ "Unlicense" ]
null
null
null
#include"../tests/doctest/doctest.h" #include"vector2D.hpp" // This is all that is needed to compile a test-runner executable. // More tests can be added here, or in a new tests/*.cpp file. TEST_CASE("V 1.01: Vector2D konstruktor bezparametryczny oraz przeciazenie strumienia wyjsciowego<<"){ Vector2D a; std::os...
23.083538
137
0.574667
KPO-2020-2021
55754d5ddd88da20067fcb7a240cb6abbcf808d0
67
hh
C++
extern/glow/src/glow/common/force_semicolon.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow/src/glow/common/force_semicolon.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow/src/glow/common/force_semicolon.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #define GLOW_FORCE_SEMICOLON static_assert(true, "")
16.75
52
0.791045
rovedit
5578b6298b6feb665db26e7f96e09a757068c4a8
1,647
cpp
C++
classes/Animation.cpp
Torphage/SFML-project
02e87cb3976486f801d1b41b8c23d401b5e2738f
[ "MIT" ]
7
2018-05-07T08:40:21.000Z
2019-01-15T13:08:11.000Z
classes/Animation.cpp
Torphage/SFML-project
02e87cb3976486f801d1b41b8c23d401b5e2738f
[ "MIT" ]
4
2018-09-11T08:03:04.000Z
2018-10-24T09:49:11.000Z
classes/Animation.cpp
Torphage/SFML-project
02e87cb3976486f801d1b41b8c23d401b5e2738f
[ "MIT" ]
1
2019-01-05T16:54:49.000Z
2019-01-05T16:54:49.000Z
#include <SFML/Graphics.hpp> #include <iostream> #include "../headers/Animation.h" int Animation::animation_count = 0; Animation::Animation() { } Animation::Animation(sf::Texture &spriteSheet, sf::Vector2f size, float animLength, float currTime, float frames, int currFrame) { this->spriteSheet = &sprit...
22.256757
78
0.641166
Torphage
557c8e02ab15b6fcee5246aaa227d5f1e1c6ae72
156
hpp
C++
addons/common/adminWhitelist.hpp
Tinter/fparma-mods
0c094958ac1768f0993eccebb309110deb33ecae
[ "MIT" ]
null
null
null
addons/common/adminWhitelist.hpp
Tinter/fparma-mods
0c094958ac1768f0993eccebb309110deb33ecae
[ "MIT" ]
null
null
null
addons/common/adminWhitelist.hpp
Tinter/fparma-mods
0c094958ac1768f0993eccebb309110deb33ecae
[ "MIT" ]
null
null
null
cba_settings_whitelist[] = { "admin", // logged in/voted admin ADMINS }; enableDebugConsole[] = { ADMINS }; GVAR(admins)[] = { ADMINS };
11.142857
37
0.583333
Tinter
53510b08d4706cfd7235a21352364e1d664bf76c
2,027
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/util/pkcs1.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/util/pkcs1.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
1
2019-07-19T02:40:32.000Z
2019-07-19T02:40:32.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/util/pkcs1.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
7
2018-07-11T10:37:02.000Z
2019-08-03T10:34:08.000Z
// OpenVPN -- An application to securely tunnel IP networks // over a single port, with support for SSL/TLS-based // session authentication and key exchange, // packet encryption, packet authentication, and // packet compression. // // Copyright (C) 2012-201...
28.152778
78
0.675876
TiagoPedroByterev
53549577a59ceec62b27bcc5217f78aa6318caf9
62,625
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Input.DotNet_Attr.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Input.DotNet_Attr.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Input.DotNet_Attr.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <limits> #include <stdint.h> // System.Char[] struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34; // System.Type[] struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755; // System.Reflection.Ass...
53.571429
286
0.866667
JBrentJ
5358fdfbe8c6a207299c081efee72b9718b78c11
512
cpp
C++
golang/count_complete_tree_nodes/count_complete_tree_nodes.cpp
Hubstation/100challenges
68189cde28cadc91bcabe2d12a68703ce913099f
[ "MIT" ]
43
2020-08-30T18:12:35.000Z
2022-03-08T05:03:05.000Z
golang/count_complete_tree_nodes/count_complete_tree_nodes.cpp
sangam14/challenges
d71cbb3960bc3adb43311959ca5694c1de63401c
[ "MIT" ]
15
2020-08-30T18:12:24.000Z
2020-10-08T17:02:50.000Z
golang/count_complete_tree_nodes/count_complete_tree_nodes.cpp
sangam14/challenges
d71cbb3960bc3adb43311959ca5694c1de63401c
[ "MIT" ]
24
2020-08-31T15:07:24.000Z
2021-02-28T09:56:46.000Z
struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: int countNodes(TreeNode* root) { int depth = 0; TreeNode *left, *right; left = right = root; while (left!=NULL && right!=NULL){ left = left->left; right = rig...
20.48
53
0.611328
Hubstation
535c3ea0dd9cf665304118dfbe45fb01ca6e8c26
3,456
cpp
C++
src/insns_65c02.cpp
b-pub/six5c02
40bba56b4d8add11ce5f953f9dea654f350f5c8e
[ "BSD-2-Clause" ]
null
null
null
src/insns_65c02.cpp
b-pub/six5c02
40bba56b4d8add11ce5f953f9dea654f350f5c8e
[ "BSD-2-Clause" ]
null
null
null
src/insns_65c02.cpp
b-pub/six5c02
40bba56b4d8add11ce5f953f9dea654f350f5c8e
[ "BSD-2-Clause" ]
null
null
null
/* * six5c02 - emulated 6502 chip framework * * 65c02 instruction implementations * * Copyright 2021, Brent Burton * See LICENSE file for BSD 2-clause license. */ #include "six5c02.h" #include "support.h" namespace six5c02 { /* * 65c02 additional functions. * * Author: Paul Robson (paul@robson.org.uk) */ ...
22.441558
82
0.55816
b-pub
535e39974a98982f86dfa82a7b70dd82bd130315
411
cpp
C++
Exercices_Cpp/Exercises_math/Question_20.cpp
ViniciusCRQ/Ola-Mundo
af4c78481606deb65b67c5fb4eb8dd138582d755
[ "MIT" ]
null
null
null
Exercices_Cpp/Exercises_math/Question_20.cpp
ViniciusCRQ/Ola-Mundo
af4c78481606deb65b67c5fb4eb8dd138582d755
[ "MIT" ]
null
null
null
Exercices_Cpp/Exercises_math/Question_20.cpp
ViniciusCRQ/Ola-Mundo
af4c78481606deb65b67c5fb4eb8dd138582d755
[ "MIT" ]
null
null
null
//Questão 20 #include <iostream> #include <math.h> #include <conio.h> int main(){ float nblusas,nnovelos,div; printf("Informe a quantidade de novelos gastos: "); scanf("%f",&nnovelos); printf("Certo,agora informe a quantidade de blusas confeccionadas: "); scanf("%f",&nblusas); div=nnovelos/nblusas; printf...
20.55
73
0.693431
ViniciusCRQ
53646671f3ca8f6df165e5d06e8d476816358967
862
cpp
C++
SCRambl/ProjectManager.cpp
Deji69/SCRambl
cf6eb64272b4126094c77a720c2402ed47822a50
[ "MIT" ]
5
2015-07-10T18:31:14.000Z
2021-12-31T18:35:10.000Z
SCRambl/ProjectManager.cpp
Deji69/SCRambl
cf6eb64272b4126094c77a720c2402ed47822a50
[ "MIT" ]
null
null
null
SCRambl/ProjectManager.cpp
Deji69/SCRambl
cf6eb64272b4126094c77a720c2402ed47822a50
[ "MIT" ]
2
2015-03-21T20:03:24.000Z
2021-09-18T02:46:26.000Z
#include "stdafx.h" #include "utils.h" #include "utils\xml.h" #include "ProjectManager.h" namespace SCRambl{ //CProject * s_pProject; void Project::LoadFile(const char* path) { pugi::xml_document xml; auto err = xml.load_file(path); if (err.status == pugi::xml_parse_status::status_ok) { } throw; } vo...
26.121212
63
0.685615
Deji69
53681c23ac6ca3c2f8175be813db9a65b94f68b8
1,028
cpp
C++
uva_674/uva_674.cpp
stwklu/403_repo
62ba70bf012a556137fea6e94dd8bf4f2e660a91
[ "MIT" ]
null
null
null
uva_674/uva_674.cpp
stwklu/403_repo
62ba70bf012a556137fea6e94dd8bf4f2e660a91
[ "MIT" ]
1
2018-01-16T05:56:28.000Z
2018-02-03T04:29:08.000Z
uva_674/uva_674.cpp
stwklu/403_repo
62ba70bf012a556137fea6e94dd8bf4f2e660a91
[ "MIT" ]
null
null
null
/* UVa problem: <674> * * Topic: Dynamic Programming * * Level: easy * * Brief problem description: * * Given coin[5] = {1,5,10,25,50}, find how many ways can make up one amount * * Solution Summary: * * Use DP to precompute all values * * Used Resources: * * StackOverflow * Competitive Prog...
17.133333
78
0.620623
stwklu
536d4f7da293e2d61e8770e7f6dadf0f7dde7b6e
1,048
cpp
C++
wrap/tests/expected/python/operator_pybind.cpp
Alevs2R/gtsam
6cef675e6eaeaf89f2462e8cfec4a4a9a497fac8
[ "BSD-3-Clause" ]
1,402
2017-03-28T00:18:11.000Z
2022-03-30T10:28:32.000Z
wrap/tests/expected/python/operator_pybind.cpp
Alevs2R/gtsam
6cef675e6eaeaf89f2462e8cfec4a4a9a497fac8
[ "BSD-3-Clause" ]
851
2017-11-27T15:09:56.000Z
2022-03-31T22:26:38.000Z
wrap/tests/expected/python/operator_pybind.cpp
Alevs2R/gtsam
6cef675e6eaeaf89f2462e8cfec4a4a9a497fac8
[ "BSD-3-Clause" ]
565
2017-11-30T16:15:59.000Z
2022-03-31T02:53:04.000Z
#include <pybind11/eigen.h> #include <pybind11/stl_bind.h> #include <pybind11/pybind11.h> #include <pybind11/operators.h> #include "gtsam/nonlinear/utilities.h" // for RedirectCout. #include "gtsam/geometry/Pose3.h" #include "wrap/serialization.h" #include <boost/serialization/export.hpp> using namespace std;...
25.560976
125
0.675573
Alevs2R
536d7a85a37d13fc6d78c1a2749b3f2a8fd85c34
9,070
cpp
C++
season/main.cpp
asm128/bigbro
cdb42e32eca5330eaa849ee19646fb09e94f29f7
[ "Apache-2.0" ]
null
null
null
season/main.cpp
asm128/bigbro
cdb42e32eca5330eaa849ee19646fb09e94f29f7
[ "Apache-2.0" ]
null
null
null
season/main.cpp
asm128/bigbro
cdb42e32eca5330eaa849ee19646fb09e94f29f7
[ "Apache-2.0" ]
null
null
null
#define GPK_CONSOLE_LOG_ENABLED #define GPK_ERROR_PRINTF_ENABLED #define GPK_WARNING_PRINTF_ENABLED #define GPK_INFO_PRINTF_ENABLED #include "gpk_log.h" #include "gpk_storage.h" #include "gpk_json.h" #include "gpk_parse.h" #include "gpk_find.h" #include "gpk_deflate.h" #include "gpk_aes.h" #include "gpk_noise.h" #inc...
57.405063
233
0.674642
asm128
536d8df5457cf6bc6d12f73ad6244b3b998bc728
342
cpp
C++
linkedList/src/node.cpp
moderah/cpp_examples
2600e5d780d7548782830c570f8df61ed9aed405
[ "MIT" ]
null
null
null
linkedList/src/node.cpp
moderah/cpp_examples
2600e5d780d7548782830c570f8df61ed9aed405
[ "MIT" ]
null
null
null
linkedList/src/node.cpp
moderah/cpp_examples
2600e5d780d7548782830c570f8df61ed9aed405
[ "MIT" ]
null
null
null
#include "node.h" node::node() { node* newNode = new node(0, 0, 0, 0); }; node::node(int x, int y, int z, int w) { node* newNode = new node(x, y, z, w); node::data = newNode; }; node::node(const int* x, const int* y, const int* z, const int* w) { node* newNode = new node(*x, *y, *z, *w); node::data = newNode; ...
18
68
0.561404
moderah
536de2a9f4b6a53e56aaf5700b60665d87cdca66
5,931
cpp
C++
lang/Format.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
lang/Format.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
lang/Format.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "Format.h" #include <lang/Character.h> #include <assert.h> #include "config.h" namespace lang { Format::Format() { m_args = 0; } Format::Format( const String& pattern ) { m_pattern = pattern; m_args = 0; } Format::Format( const String& pattern, const Formattable& arg0 ) { m_pattern = pattern;...
23.819277
289
0.557073
Andrewich
53706a25d19177da1f87085c1a0a31f14fc4b4eb
1,463
cc
C++
apps/chargen_tun.cc
MUCZ/Starfish
4960b7f6001264731c1aea0b8171d187f5ec8ed8
[ "Apache-2.0" ]
null
null
null
apps/chargen_tun.cc
MUCZ/Starfish
4960b7f6001264731c1aea0b8171d187f5ec8ed8
[ "Apache-2.0" ]
null
null
null
apps/chargen_tun.cc
MUCZ/Starfish
4960b7f6001264731c1aea0b8171d187f5ec8ed8
[ "Apache-2.0" ]
null
null
null
// a chargen example using TUNSocket // send random char to <ip> <port> // show throughput and quit after certain length sent #include "tcp_tun_socket.hh" #include "util.hh" #include <chrono> #include <iomanip> #include <cstdlib> #include <iostream> using namespace std; using namespace std::chrono; string message...
29.26
125
0.605605
MUCZ
537a15381ce0bc8934a2517d70f18917a3e6ee82
2,227
cpp
C++
SimpleDivX/SimpleDivXBatch.cpp
StefH/SimpleDivX
9740b4e2e497dbb602a907ea4328c0be59651a55
[ "MIT" ]
1
2020-08-01T18:29:50.000Z
2020-08-01T18:29:50.000Z
SimpleDivX/SimpleDivXBatch.cpp
StefH/SimpleDivX
9740b4e2e497dbb602a907ea4328c0be59651a55
[ "MIT" ]
null
null
null
SimpleDivX/SimpleDivXBatch.cpp
StefH/SimpleDivX
9740b4e2e497dbb602a907ea4328c0be59651a55
[ "MIT" ]
null
null
null
#include "stdafx.h" #include ".\SimpleDivX_Defines.h" #include ".\simpledivxbatch.h" IMPLEMENT_SERIAL( CSimpleDivXBatch, CObject, 1 ) CSimpleDivXBatch::CSimpleDivXBatch(void) { MyList.RemoveAll(); } CSimpleDivXBatch::~CSimpleDivXBatch(void) { } void CSimpleDivXBatch::CopyIt(const CSimpleDivXBatch& e) { int i = 0;...
17.263566
76
0.694207
StefH
538254ea2d74ac1e41b3d1751bdded82d3eff578
1,123
cpp
C++
SFML Tutorial/GameWinState.cpp
arsenalgunnershubert777/LazerMan_Game
cea1f55b8e055052116be6ccf4e76b7d61bfdcf6
[ "MIT" ]
null
null
null
SFML Tutorial/GameWinState.cpp
arsenalgunnershubert777/LazerMan_Game
cea1f55b8e055052116be6ccf4e76b7d61bfdcf6
[ "MIT" ]
null
null
null
SFML Tutorial/GameWinState.cpp
arsenalgunnershubert777/LazerMan_Game
cea1f55b8e055052116be6ccf4e76b7d61bfdcf6
[ "MIT" ]
null
null
null
#include "GameWinState.hpp" #include <sstream> #include "DEFINITIONS.hpp" #include <iostream> #include "MainMenuState.hpp" namespace g35 //processes screen after you beat final boss { GameWinState::GameWinState(GameDataRef data) : _data(data) { } void GameWinState::Init() { ...
24.955556
87
0.591273
arsenalgunnershubert777
539ba4eb2a9c7673def5cca6c7d5bfccf33c37a6
5,794
cpp
C++
Modules/LogicServer/TextureHelper.cpp
alanzw/FGCG
9819ff9c543cf52bfac16655d1d30417291b5d4c
[ "Apache-2.0" ]
13
2016-10-24T11:39:12.000Z
2021-04-11T13:24:05.000Z
Modules/LogicServer/TextureHelper.cpp
zhangq49/sharerender
9819ff9c543cf52bfac16655d1d30417291b5d4c
[ "Apache-2.0" ]
1
2017-07-28T06:29:00.000Z
2017-07-28T06:29:00.000Z
Modules/LogicServer/TextureHelper.cpp
zhangq49/sharerender
9819ff9c543cf52bfac16655d1d30417291b5d4c
[ "Apache-2.0" ]
4
2018-06-05T03:39:06.000Z
2020-06-06T04:44:20.000Z
#include "TextureHelper.h" #include "..\LibCore\InfoRecorder.h" //#define ENABLE_LOG_TEXTURE_HELPER int SurfaceHelper::TotalBufferedTextureSize = 0; TextureHelper::TextureHelper(short _levels, D3DFORMAT format, bool _autogenable /* = false */) : autoGenable(_autogenable), aquired(false), levels(_levels), bufferSiz...
28.126214
196
0.707111
alanzw
539eb0187409a032af5ac17f8bf3d6095b473c32
5,592
cpp
C++
aws-cpp-sdk-migrationhubstrategy/source/model/TransformationToolName.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-migrationhubstrategy/source/model/TransformationToolName.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-migrationhubstrategy/source/model/TransformationToolName.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/migrationhubstrategy/model/TransformationToolName.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using ...
44.031496
148
0.691345
perfectrecall
53a3f49f2199b8d80c6340c0c61efa9afb6f1622
1,377
cpp
C++
sensormanager.cpp
xavi-b/test_QML_1
0e48f3ea25b40e422ef35fb8c5e45044fdbd4fc9
[ "MIT" ]
null
null
null
sensormanager.cpp
xavi-b/test_QML_1
0e48f3ea25b40e422ef35fb8c5e45044fdbd4fc9
[ "MIT" ]
null
null
null
sensormanager.cpp
xavi-b/test_QML_1
0e48f3ea25b40e422ef35fb8c5e45044fdbd4fc9
[ "MIT" ]
null
null
null
#include "sensormanager.h" SensorManager::SensorManager(QObject* parent) : QObject(parent) { this->faker.setSingleShot(false); connect(&this->faker, &QTimer::timeout, this, [=](){ for(auto& sensor : this->sensors) { sensor->setStrength(std::rand()%100); sensor->setState(...
32.023256
110
0.623094
xavi-b
53a88d37e131f8dd38bbd5f8e10f2d0ab1d57900
6,044
cpp
C++
effectNodes-for-cocos2dx-3x/code/ripple_horizontal/layer_ripple_horizontal.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
2
2016-08-07T01:38:56.000Z
2016-11-03T04:27:21.000Z
effectNodes-for-cocos2dx-3x/code/ripple_horizontal/layer_ripple_horizontal.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
null
null
null
effectNodes-for-cocos2dx-3x/code/ripple_horizontal/layer_ripple_horizontal.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
4
2016-05-04T05:47:55.000Z
2020-05-27T07:40:38.000Z
#include "layer_ripple_horizontal.h" #include "chooseScene.h" bool Clayer_ripple_horizontal::init() { this->setTouchEnabled(true); CCSize winSize=CCDirector::sharedDirector()->getWinSize();//winSize equals to designResolutionSize CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize(); ...
37.775
178
0.650728
songxiaopeng
53a9b1d231fb074762784b1a8aa5d342e115153a
421
cpp
C++
source/propertyguizeug/source/dpi_util.cpp
kateyy/libzeug
ffb697721cd8ef7d6e685fd5e2c655d711565634
[ "MIT" ]
null
null
null
source/propertyguizeug/source/dpi_util.cpp
kateyy/libzeug
ffb697721cd8ef7d6e685fd5e2c655d711565634
[ "MIT" ]
null
null
null
source/propertyguizeug/source/dpi_util.cpp
kateyy/libzeug
ffb697721cd8ef7d6e685fd5e2c655d711565634
[ "MIT" ]
null
null
null
#include <propertyguizeug/dpi_util.h> #include <cassert> #include <QPaintDevice> namespace propertyguizeug { qreal dpiBasedScale(const QPaintDevice & device) { #ifdef Q_OS_MAC return 1.0; #else assert(device.logicalDpiX() == device.logicalDpiY()); static const auto standardDpi = 96.0; const aut...
17.541667
57
0.714964
kateyy
53b6209eb2aebb6201652dde7bfd892b532ce9f5
5,648
cpp
C++
src/scannerDisplay.cpp
alvarohub/Laser-Scanner-Controller---SUPER-RES-ATOM-
474531a9454ebfddbf32a066972e3aa4c3213b2e
[ "MIT" ]
null
null
null
src/scannerDisplay.cpp
alvarohub/Laser-Scanner-Controller---SUPER-RES-ATOM-
474531a9454ebfddbf32a066972e3aa4c3213b2e
[ "MIT" ]
null
null
null
src/scannerDisplay.cpp
alvarohub/Laser-Scanner-Controller---SUPER-RES-ATOM-
474531a9454ebfddbf32a066972e3aa4c3213b2e
[ "MIT" ]
null
null
null
#include "scannerDisplay.h" namespace DisplayScan { // Define the extern variables: PointBuffer displayBuffer1, displayBuffer2; volatile PointBuffer *ptrCurrentDisplayBuffer, *ptrHiddenDisplayBuffer; uint16_t readingHead, newSizeBuffers; volatile uint16_t sizeBuffers; bool canSwapFlag; vo...
40.342857
102
0.591183
alvarohub
53bec9b7711b4b09ead33d055bd70ac1dacafe89
924
cpp
C++
src/Plugin/PlaybackHandle.cpp
HardlightVR/HL-cplugin
2bd9a5db983c4a8ab3d5678cef2ee770035b1d27
[ "MIT" ]
null
null
null
src/Plugin/PlaybackHandle.cpp
HardlightVR/HL-cplugin
2bd9a5db983c4a8ab3d5678cef2ee770035b1d27
[ "MIT" ]
null
null
null
src/Plugin/PlaybackHandle.cpp
HardlightVR/HL-cplugin
2bd9a5db983c4a8ab3d5678cef2ee770035b1d27
[ "MIT" ]
1
2020-06-29T14:36:40.000Z
2020-06-29T14:36:40.000Z
#include "stdafx.h" #include "PlaybackHandle.h" #include "EventList.h" #include "HLVR.h" #include "Engine.h" PlaybackHandle::PlaybackHandle() : handle(0), engine{ nullptr } { } bool PlaybackHandle::IsBound() const { return handle != 0; } int PlaybackHandle::Pause() { if (engine != nullptr) { return engine->Han...
15.4
63
0.709957
HardlightVR
53c36855210dcf4499be303b4f1bf2b3600b3621
879
cpp
C++
Examenes/2ExamenPracticasJavi/RecorrerColumnas.cpp
JArandaIzquierdo/FP
a38e711c89c82c70aadafb79687a06b66fca5dcb
[ "Apache-2.0" ]
null
null
null
Examenes/2ExamenPracticasJavi/RecorrerColumnas.cpp
JArandaIzquierdo/FP
a38e711c89c82c70aadafb79687a06b66fca5dcb
[ "Apache-2.0" ]
null
null
null
Examenes/2ExamenPracticasJavi/RecorrerColumnas.cpp
JArandaIzquierdo/FP
a38e711c89c82c70aadafb79687a06b66fca5dcb
[ "Apache-2.0" ]
null
null
null
/* Dado una matriz de enteros, crear una funcion que devuelva la cifra menor de la suma de las columnas, y el indice de la columna donde la suma es menor. */ #include <iostream> using namespace std; const int FIL=2; const int COL=5; void sumaIndice (int matriz[][COL],int FIL, int COL, int &suma, int &indice){ in...
19.977273
84
0.623436
JArandaIzquierdo
53c72cf3913378bc42f6c00729cd83748a06ef1d
469
cc
C++
洛谷/普及-/P4136.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
67
2019-07-14T05:38:41.000Z
2021-12-23T11:52:51.000Z
洛谷/普及-/P4136.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
null
null
null
洛谷/普及-/P4136.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
12
2020-01-16T10:48:01.000Z
2021-06-11T16:49:04.000Z
/* * Author : OFShare * E-mail : OFShare@outlook.com * Created Time : 2020-03-11 22:39:35 PM * File Name : P4136.cc */ #include <bits/stdc++.h> #define ll long long void debug() { #ifdef Acui freopen("data.in", "r", stdin); freopen("data.out", "w", stdout); #endif } int n; int mai...
17.37037
41
0.522388
OFShare
53c8c084f0fa83c0715bbfc88baa24db7af00eeb
2,884
cpp
C++
lsimd/fastarray_4i32.cpp
lawnjelly/godot-lsimd
2d0bd167bc00c31153044d54789966ce2a9f54f2
[ "MIT" ]
7
2020-09-01T07:44:13.000Z
2021-12-18T02:48:49.000Z
lsimd/fastarray_4i32.cpp
lawnjelly/godot-lsimd
2d0bd167bc00c31153044d54789966ce2a9f54f2
[ "MIT" ]
null
null
null
lsimd/fastarray_4i32.cpp
lawnjelly/godot-lsimd
2d0bd167bc00c31153044d54789966ce2a9f54f2
[ "MIT" ]
1
2021-01-27T21:24:24.000Z
2021-01-27T21:24:24.000Z
// Copyright (c) 2019 Lawnjelly // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distr...
43.044776
107
0.736824
lawnjelly
53d059ae2393e989bb6374506ab505f1d1c01f2a
1,602
cpp
C++
Block4/es401/main401.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
null
null
null
Block4/es401/main401.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
null
null
null
Block4/es401/main401.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
1
2021-09-02T07:02:52.000Z
2021-09-02T07:02:52.000Z
/* SUP che chiede all'utente di specificare un intervallo per il quale calcolare le seguenti classificazioni numeriche. Le verifiche di appartenenza devono essere svolte in funzioni. Per ogni gruppo sono indicati gli identificativi di serie numeriche OEIS. ˆ Numeri Abbondanti: numeri più piccoli...
26.262295
103
0.614232
andreadelprete
53d2b7fac4c50d05a023ae2534bc95eed9e3214a
597,874
cpp
C++
resources/se/shiori_ne.cpp
heongle/shiori-sound-button
7e49063ab23b9ce19d207f6bec63de1d7569a478
[ "Zlib" ]
null
null
null
resources/se/shiori_ne.cpp
heongle/shiori-sound-button
7e49063ab23b9ce19d207f6bec63de1d7569a478
[ "Zlib" ]
null
null
null
resources/se/shiori_ne.cpp
heongle/shiori-sound-button
7e49063ab23b9ce19d207f6bec63de1d7569a478
[ "Zlib" ]
null
null
null
unsigned char shiori_ne_wav[] = { 0x52, 0x49, 0x46, 0x46, 0xa4, 0x7a, 0x01, 0x00, 0x57, 0x41, 0x56, 0x45, 0x66, 0x6d, 0x74, 0x20, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x44, 0xac, 0x00, 0x00, 0x10, 0xb1, 0x02, 0x00, 0x04, 0x00, 0x10, 0x00, 0x64, 0x61, 0x74, 0x61, 0x80, 0x7a, 0x01, 0x00, 0xff, 0xff, 0x...
73.966844
73
0.648662
heongle
53de466a435ea2d09b94e94e66f0007c31308ec0
3,158
cpp
C++
src/Modules/Graphics/Lighting/Shadow/ShadowMap.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
5
2018-10-12T17:40:17.000Z
2020-11-20T10:49:34.000Z
src/Modules/Graphics/Lighting/Shadow/ShadowMap.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
71
2018-07-19T01:59:38.000Z
2020-03-29T18:03:13.000Z
src/Modules/Graphics/Lighting/Shadow/ShadowMap.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
1
2022-03-24T13:21:25.000Z
2022-03-24T13:21:25.000Z
#include "Modules/Graphics/Lighting/Shadow/ShadowMap.h" #include <algorithm> ShadowMap::~ShadowMap() { glDeleteFramebuffers(1, &m_fboID); glDeleteTextures(3, m_textureIDS); } ShadowMap::ShadowMap() noexcept { glCreateFramebuffers(1, &m_fboID); glCreateTextures(GL_TEXTURE_2D_ARRAY, 3, m_textureIDS); resize(glm::...
50.126984
159
0.791007
Yattabyte
53df5eca648111cfda6361cacf625bc0b7cd662b
2,989
cpp
C++
VisualCreatePatch/CreatePatchThread.cpp
shouttrickword/ZPatcher
ecfefc8c8d9d3eb58d2744472209eb37614777bc
[ "BSD-3-Clause" ]
45
2016-05-30T23:07:07.000Z
2021-09-22T19:27:11.000Z
VisualCreatePatch/CreatePatchThread.cpp
shouttrickword/ZPatcher
ecfefc8c8d9d3eb58d2744472209eb37614777bc
[ "BSD-3-Clause" ]
15
2016-06-01T22:08:29.000Z
2022-01-12T07:19:00.000Z
VisualCreatePatch/CreatePatchThread.cpp
shouttrickword/ZPatcher
ecfefc8c8d9d3eb58d2744472209eb37614777bc
[ "BSD-3-Clause" ]
21
2016-06-01T11:16:21.000Z
2021-08-07T03:16:56.000Z
////////////////////////////////////////////////////////////////////////// // // VisualCreatePatch - Patcher system - Part of the ZUpdater suite // Felipe "Zoc" Silveira - (c) 2016-2018 // ////////////////////////////////////////////////////////////////////////// // // CreatePatchThread.cpp // Implement worker thread f...
35.583333
154
0.693208
shouttrickword
53e794d20385ab72f408572b3ba05d209748202d
755
cpp
C++
plugins/node/module/npm_package.cpp
5cript/dukextpp
266497ade215a1bc125bbfeef74796209a837f7a
[ "MIT" ]
null
null
null
plugins/node/module/npm_package.cpp
5cript/dukextpp
266497ade215a1bc125bbfeef74796209a837f7a
[ "MIT" ]
null
null
null
plugins/node/module/npm_package.cpp
5cript/dukextpp
266497ade215a1bc125bbfeef74796209a837f7a
[ "MIT" ]
null
null
null
#include "npm_package.hpp" #include <string> #include <fstream> #include <streambuf> bool readPackageJson(std::string const& fileName, Package& pack) { std::ifstream reader (fileName); if (!reader.good()) return false; std::string content((std::istreambuf_iterator<char>(reader)), ...
22.205882
69
0.589404
5cript
53e81f481e366948ff3afe014e1413638f97a675
715
cpp
C++
Doomed_Editor/src/Panels/SettingsPanel.cpp
BrandnerKasper/Eternal
ab133237a0e30b2f223f3a3014fc4ece7e3743d9
[ "Apache-2.0" ]
1
2021-02-08T14:22:47.000Z
2021-02-08T14:22:47.000Z
Doomed_Editor/src/Panels/SettingsPanel.cpp
BrandnerKasper/Eternal
ab133237a0e30b2f223f3a3014fc4ece7e3743d9
[ "Apache-2.0" ]
null
null
null
Doomed_Editor/src/Panels/SettingsPanel.cpp
BrandnerKasper/Eternal
ab133237a0e30b2f223f3a3014fc4ece7e3743d9
[ "Apache-2.0" ]
null
null
null
#include "SettingsPanel.h" #include <imgui/imgui.h> #include "Eternal/Core/Timestep.h" namespace Eternal { void SettingsPanel::OnImGuiRender() { ImGui::Begin("Settings"); auto stats = Renderer2D::GetStats(); ImGui::Text("Batch Renderer Stats:"); ImGui::Text("Draw Calls: %d", s...
26.481481
75
0.604196
BrandnerKasper
53e8625b78f3ff44cdd018b57263f3fb96843018
10,585
cpp
C++
lib/motion_tracker/motion_tracker.cpp
botocracy/8bitbot
a9539543331c970f384f950ad4a6c7ae74df81c4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
lib/motion_tracker/motion_tracker.cpp
botocracy/8bitbot
a9539543331c970f384f950ad4a6c7ae74df81c4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
lib/motion_tracker/motion_tracker.cpp
botocracy/8bitbot
a9539543331c970f384f950ad4a6c7ae74df81c4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (C) 2020 Marquise Stein * This file is part of 8bitbot - https://github.com/botocracy/8bitbot * * SPDX-License-Identifier: Apache-2.0 * See LICENSE.txt for more information. */ #include "motion_tracker.hpp" #include "vision_graph.hpp" #include "utils/emscripten_utils.hpp" #include "utils/math_uti...
30.071023
112
0.64223
botocracy
53e9954d67eac147caa17049337307cf4876d707
861
hpp
C++
libs/fnd/iterator/include/bksge/fnd/iterator/begin.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/iterator/include/bksge/fnd/iterator/begin.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/iterator/include/bksge/fnd/iterator/begin.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file begin.hpp * * @brief begin 関数の定義 * * @author myoukaku */ #ifndef BKSGE_FND_ITERATOR_BEGIN_HPP #define BKSGE_FND_ITERATOR_BEGIN_HPP #include <bksge/fnd/iterator/config.hpp> #if defined(BKSGE_USE_STD_ITERATOR) namespace bksge { using std::begin; } // namespace bksge #else ...
15.105263
49
0.680604
myoukaku
53ebb13ed13787040251a10e664bdd695de1da91
93
cpp
C++
test/cstdio_cstring_conflict.cpp
victorrseloy/JSCPP-LIVE-REPL
941b5fd787b05e7ff18327a982b0a225ebfba70f
[ "MIT" ]
773
2015-05-26T23:51:00.000Z
2022-03-12T13:39:09.000Z
test/cstdio_cstring_conflict.cpp
victorrseloy/JSCPP-LIVE-REPL
941b5fd787b05e7ff18327a982b0a225ebfba70f
[ "MIT" ]
128
2015-03-28T09:11:26.000Z
2022-03-11T09:14:28.000Z
test/cstdio_cstring_conflict.cpp
victorrseloy/JSCPP-LIVE-REPL
941b5fd787b05e7ff18327a982b0a225ebfba70f
[ "MIT" ]
74
2015-06-16T08:44:49.000Z
2022-02-22T18:48:58.000Z
#include <stdio.h> #include <string.h> int main() { printf("test - ok"); return 0; }
11.625
24
0.569892
victorrseloy
53ecdcfe0bc201226fc07a7d5de4308d7d730f1a
379
cpp
C++
EmyRenderingEngine/src/Asset/MeshAsset.cpp
TheJemy191/EmyGameEngine
cbefe9bc8e59533e4de96623a5916835846af8cd
[ "MIT" ]
null
null
null
EmyRenderingEngine/src/Asset/MeshAsset.cpp
TheJemy191/EmyGameEngine
cbefe9bc8e59533e4de96623a5916835846af8cd
[ "MIT" ]
null
null
null
EmyRenderingEngine/src/Asset/MeshAsset.cpp
TheJemy191/EmyGameEngine
cbefe9bc8e59533e4de96623a5916835846af8cd
[ "MIT" ]
1
2019-09-03T16:49:50.000Z
2019-09-03T16:49:50.000Z
#include "MeshAsset.h" std::string MeshAsset::GetType() { return "MeshAsset"; } void MeshAsset::GUI() { Asset::GUI(); ImGui::Text("Ima mesh asset :)"); } nlohmann::json MeshAsset::Save() { using json = nlohmann::json; json meshAsset = Asset::Save(); return meshAsset; } void MeshAsset::Load(nlohmann::json da...
13.068966
41
0.664908
TheJemy191
53ecffdbb2a4b64162e6e7e045fd316bf0e56e4e
8,489
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/settings_screen/TimeSettingContainer.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/settings_screen/TimeSettingContainer.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/settings_screen/TimeSettingContainer.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * @attention * * Copyright (c) 2018 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file ...
35.970339
130
0.715043
ramkumarkoppu
53f31dd1f423da8f749e3bb4c21ce3bf6db208c1
26,639
cpp
C++
SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/Occupancy.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
null
null
null
SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/Occupancy.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
null
null
null
SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/Occupancy.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2018 by Author: Aroudj, Samir * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include <cstring> #include <fstre...
32.566015
166
0.717144
pavelsevecek
53f9233ef7725065a92e470a79b903fd0cd699cb
618
cpp
C++
Array/14_next_permutation.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
Array/14_next_permutation.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
Array/14_next_permutation.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <algorithm> #include "general.h" using namespace std; namespace ritik { void next_permutation (vector<int>& vec) { int in1 = -1; for (int i = vec.size() - 2; i >= 0; i--) { if (vec.at(i) < vec.at(i+1)) { in1 = i; break; } } if ...
15.45
48
0.529126
ritikrajdev
53f9c03ebc543aa33ae457c2390ac66d2d1c5fe1
7,265
cc
C++
klib/kgl_primitive.cc
kumakoko/KumaGL
b5179c72f148332fc16786d7f2186c3368614c39
[ "MIT" ]
10
2019-02-14T06:44:52.000Z
2021-11-17T07:33:34.000Z
klib/kgl_primitive.cc
kumakoko/KumaGL
b5179c72f148332fc16786d7f2186c3368614c39
[ "MIT" ]
null
null
null
klib/kgl_primitive.cc
kumakoko/KumaGL
b5179c72f148332fc16786d7f2186c3368614c39
[ "MIT" ]
2
2019-02-14T06:56:12.000Z
2021-11-17T07:33:24.000Z
/************************************************************************************************************************** Copyright(C) 2014-2017 www.xionggf.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to d...
40.586592
243
0.694701
kumakoko
53fc925ebfdf89ddac3792fb26aad87174a11cac
500
cpp
C++
Network/sources/Protocol/ListGames.cpp
LiardeauxQ/r-type
8a77164c276b2d5958cd3504a9ea34f1cf6823cf
[ "MIT" ]
2
2020-02-12T12:02:00.000Z
2020-12-23T15:31:59.000Z
Network/sources/Protocol/ListGames.cpp
LiardeauxQ/r-type
8a77164c276b2d5958cd3504a9ea34f1cf6823cf
[ "MIT" ]
null
null
null
Network/sources/Protocol/ListGames.cpp
LiardeauxQ/r-type
8a77164c276b2d5958cd3504a9ea34f1cf6823cf
[ "MIT" ]
2
2020-02-12T12:02:03.000Z
2020-12-23T15:32:55.000Z
// // Created by Quentin Liardeaux on 12/18/19. // #include "Protocol/ListGames.hpp" std::unique_ptr<Message> ListGames::from(void *data) { auto msg = std::make_unique<ListGames>(); return msg; } std::vector<uint8_t> ListGames::serialize() const { std::vector<uint8_t> data = Message::createHeader(m_id, ...
25
77
0.662
LiardeauxQ
d87d52b63958fdc455e7127e83c8dc824270afa7
1,289
cpp
C++
ABC204/c.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
null
null
null
ABC204/c.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
3
2021-03-31T01:39:25.000Z
2021-05-04T10:02:35.000Z
ABC204/c.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
null
null
null
// UnionFind #include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < n; i++) #define REPR(i, n) for (int i = n - 1; i >= 0; i--) #define FOR(i, m, n) for (int i = m; i <= n; i++) #define FORR(i, m, n) for (int i = m; i >= n; i--) #define SORT(v, n) sort(v, v + n) using namespace std; using ll = long long; using ...
20.460317
51
0.489527
KoukiNAGATA
d885f910d29bdbb491776997fc9b412f011c51fc
1,228
cpp
C++
cpp/godot-cpp/src/gen/VisualShaderNodeBooleanConstant.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/VisualShaderNodeBooleanConstant.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/VisualShaderNodeBooleanConstant.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "VisualShaderNodeBooleanConstant.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" namespace godot { VisualShaderNodeBooleanConstant::___method_bindings VisualShaderNodeBooleanConstant::___mb = {}; void VisualS...
34.111111
243
0.822476
GDNative-Gradle
d887dca4a08dcca82053790dd5b3570035ab4bb0
636
hpp
C++
include/8080.hpp
bakaq/space-invaders-emulator
7b11710685cf423c25cf5ac3d46ba8689d5d6fb0
[ "MIT" ]
null
null
null
include/8080.hpp
bakaq/space-invaders-emulator
7b11710685cf423c25cf5ac3d46ba8689d5d6fb0
[ "MIT" ]
null
null
null
include/8080.hpp
bakaq/space-invaders-emulator
7b11710685cf423c25cf5ac3d46ba8689d5d6fb0
[ "MIT" ]
null
null
null
#ifndef _8080_HPP #define _8080_HPP #include <vector> #include <cstdint> #include <string> // A class for the 8080 chip class c8080{ public: // State uint8_t a; uint8_t b; uint8_t c; uint8_t d; uint8_t e; uint8_t h; uint8_t l; uint16_t sp; uint16_t pc; std::vector<uint8_t> memory; struct Cond...
15.512195
45
0.674528
bakaq
d88a9982c36e7cca4859c03017cb970b7982399a
2,655
cpp
C++
robot_ws/src/camera_ingest/src/viewer_api/image_transport/image_transport.cpp
NS-Robotics/NSRA2
86dbd504ed268fa951c61b010924bea6faff5a43
[ "BSD-3-Clause" ]
null
null
null
robot_ws/src/camera_ingest/src/viewer_api/image_transport/image_transport.cpp
NS-Robotics/NSRA2
86dbd504ed268fa951c61b010924bea6faff5a43
[ "BSD-3-Clause" ]
null
null
null
robot_ws/src/camera_ingest/src/viewer_api/image_transport/image_transport.cpp
NS-Robotics/NSRA2
86dbd504ed268fa951c61b010924bea6faff5a43
[ "BSD-3-Clause" ]
null
null
null
#include "image_transport.h" #include <chrono> NSSCImageTransport::NSSCImageTransport(std::shared_ptr<NSSC>& node, std::shared_ptr<cameraManager>& camManager) : NSSC_ERRORS(node) { this->camManager = camManager; this->node = node; this->left_pub = image_transport::create_publisher(this->node.get(), "NSSC...
35.4
159
0.680603
NS-Robotics
d88c773d1ae78b308a8e879280db8453b74a8a2e
857
cpp
C++
cpp/0110_isBalanced.cpp
linhx25/leetcode
9cf1d6d2372fd8777825c8107780b7f3c934fe20
[ "MIT" ]
1
2021-04-16T12:54:56.000Z
2021-04-16T12:54:56.000Z
cpp/0110_isBalanced.cpp
linhx25/leetcode
9cf1d6d2372fd8777825c8107780b7f3c934fe20
[ "MIT" ]
null
null
null
cpp/0110_isBalanced.cpp
linhx25/leetcode
9cf1d6d2372fd8777825c8107780b7f3c934fe20
[ "MIT" ]
1
2021-04-26T13:20:41.000Z
2021-04-26T13:20:41.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
28.566667
93
0.57993
linhx25
d891455f6d991105aaa40cf9976615d069a5e68c
714
cpp
C++
src/opcontrol.cpp
SpencerJ21/gif-pros
3b4f76ae27a46f109d3a5a9f6521d6388c08fc0d
[ "MIT" ]
17
2019-09-16T11:57:22.000Z
2021-12-16T23:56:01.000Z
src/opcontrol.cpp
SpencerJ21/gif-pros
3b4f76ae27a46f109d3a5a9f6521d6388c08fc0d
[ "MIT" ]
1
2020-01-09T03:03:26.000Z
2020-01-09T03:03:26.000Z
src/opcontrol.cpp
SpencerJ21/gif-pros
3b4f76ae27a46f109d3a5a9f6521d6388c08fc0d
[ "MIT" ]
3
2019-10-02T14:34:55.000Z
2020-07-29T07:59:00.000Z
#include "main.h" #include "gif-pros/gifclass.hpp" /** * Runs the operator control code. This function will be started in its own task * with the default priority and stack size whenever the robot is enabled via * the Field Management System or the VEX Competition Switch in the operator * control mode. * * If no...
28.56
80
0.726891
SpencerJ21