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
bf91298e40c612d400b59a1ba3345244171e365e
1,293
hh
C++
code/language/family_prolog/language_prolog.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
code/language/family_prolog/language_prolog.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
code/language/family_prolog/language_prolog.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
// ***************************************************************************************** // // File description: // // Author: Joao Costa // Purpose: Provide the definitions/declarations for a programming language // // ***************************************************************************************** #ifnd...
23.944444
92
0.422274
jmpcosta
bf920eb264af20bd39516fb40da5ccaf9094ca7c
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.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_template_int_int_bottomLeftCorner_int_int.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_template_int_int_bottomLeftCorner_int_int.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:ccbb36f2c90e75f1642d971bedefd05aa14d5ad26bf65ff7021499ec23df1725 size 301
32
75
0.882813
initialz
bf992618c15b414844100ec7522af7048ab0ce02
1,024
hpp
C++
include/boost/simd/function/definition/shuffle.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/definition/shuffle.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/definition/shuffle.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T.Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) *...
26.947368
100
0.624023
yaeldarmon
bcce7e14c2292faff64de0cbe006700351469bcc
2,101
cpp
C++
src/SynchronizationPoint.cpp
omi-lab/tp_task_queue
e7b4e61cc87ad2ff3954782fb96d5e988c9fbc3f
[ "MIT" ]
null
null
null
src/SynchronizationPoint.cpp
omi-lab/tp_task_queue
e7b4e61cc87ad2ff3954782fb96d5e988c9fbc3f
[ "MIT" ]
null
null
null
src/SynchronizationPoint.cpp
omi-lab/tp_task_queue
e7b4e61cc87ad2ff3954782fb96d5e988c9fbc3f
[ "MIT" ]
2
2018-08-30T10:00:25.000Z
2021-05-05T08:39:06.000Z
#include "tp_task_queue/SynchronizationPoint.h" #include "tp_task_queue/Task.h" #include "tp_utils/MutexUtils.h" namespace tp_task_queue { //################################################################################################## struct SynchronizationPoint::Private { TP_REF_COUNT_OBJECTS("tp_task_queue:...
27.285714
100
0.447882
omi-lab
bccfd61828612b69f482e7a3c46f2248bdab8811
713
hpp
C++
include/SFRL/Direction.hpp
marukrap/SFRL
a241e09dae33eb6099b1ccb1eb1c741e0af589f0
[ "MIT" ]
4
2018-06-19T08:43:04.000Z
2021-03-15T08:37:57.000Z
include/SFRL/Direction.hpp
marukrap/SFRL
a241e09dae33eb6099b1ccb1eb1c741e0af589f0
[ "MIT" ]
null
null
null
include/SFRL/Direction.hpp
marukrap/SFRL
a241e09dae33eb6099b1ccb1eb1c741e0af589f0
[ "MIT" ]
null
null
null
#pragma once #include <SFML/System/Vector2.hpp> #include <array> namespace rl { class Direction : public sf::Vector2i { public: using sf::Vector2i::Vector2; Direction operator-() const; Direction left45() const; Direction right45() const; Direction left90() const; Direction right90() const; public: stati...
17.825
48
0.743338
marukrap
bcd570392a18bf0acdd15273f3a9f1d4aa4eec15
1,396
cpp
C++
CSES/Tree Algorithms/Tree Diameter.cpp
s166harth/CC
b6c0fe58f03633fe2787a567a16909f1b2966e7b
[ "MIT" ]
406
2020-05-28T13:35:08.000Z
2022-03-31T17:23:26.000Z
CSES/Tree Algorithms/Tree Diameter.cpp
shakeeb-droids/CC
2f49fcb52d748804aee9fc7f26abb3150bec69e5
[ "MIT" ]
3
2021-01-01T17:50:34.000Z
2021-10-02T10:02:27.000Z
CSES/Tree Algorithms/Tree Diameter.cpp
shakeeb-droids/CC
2f49fcb52d748804aee9fc7f26abb3150bec69e5
[ "MIT" ]
108
2020-07-21T13:02:33.000Z
2022-03-28T22:46:49.000Z
/** 🍪 thew6rst 🍪 11.02.2021 20:15:33 **/ #ifdef W #include "k_II.h" #else #include <bits/stdc++.h> using namespace std; #endif #define pb emplace_back #define all(x) x.begin(), x.end() #define sz(x) static_cast<int32_t>(x.size()) template<class T> class Y { T f; public: templat...
25.851852
72
0.465616
s166harth
bcde1e1fe21ce2194c1eaef09273b97749633db7
64
cpp
C++
test/wiztk/base/sigcxx/subject.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
37
2017-11-22T14:15:33.000Z
2021-11-25T20:39:39.000Z
test/unit/core-sigcxx/subject.cpp
zhanggyb/skland
055d91a6830b95d248d407c37a8a2fa20b148efd
[ "Apache-2.0" ]
3
2018-03-01T12:44:22.000Z
2021-01-04T23:14:41.000Z
test/wiztk/base/sigcxx/subject.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
10
2017-11-25T19:09:11.000Z
2020-12-02T02:05:47.000Z
// // Created by zhanggyb on 17-9-7. // #include "subject.hpp"
10.666667
33
0.625
wiztk
bce860a715f430c2d98ccef0ee18be5e34d29288
958
cpp
C++
EasyCppTest/OTP.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
3
2018-02-06T05:12:41.000Z
2020-05-12T20:57:32.000Z
EasyCppTest/OTP.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
41
2016-07-11T12:19:10.000Z
2017-08-08T07:43:12.000Z
EasyCppTest/OTP.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
2
2019-08-02T10:24:36.000Z
2020-09-11T01:45:12.000Z
#include <gtest/gtest.h> #include <Hash/HOTP.h> #include <Hash/TOTP.h> #include <HexEncoding.h> using namespace EasyCpp; using namespace EasyCpp::Hash; namespace EasyCppTest { TEST(OTP, HOTP) { std::string secret = "3132333435363738393031323334353637383930"; auto hotp = HOTP(HexEncoding::decode(secret)); std...
25.210526
66
0.692067
Thalhammer
bcedc443bbec46ce3220483cef3732cf95b74e68
1,533
hpp
C++
include/codegen/include/OVR/OpenVR/VRTextureDepthInfo_t.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/OVR/OpenVR/VRTextureDepthInfo_t.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/OVR/OpenVR/VRTextureDepthInfo_t.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:05 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: System.IntPtr #inclu...
39.307692
204
0.70972
Futuremappermydud
bcef795865b64ed8f4a5e4332ed5a48021129fd7
2,016
cpp
C++
src/entities/bretoniafighter.cpp
P-Sc/Pirateers
440e477d33bbbcd79d291700c369f74fd0a6cc7d
[ "MIT" ]
null
null
null
src/entities/bretoniafighter.cpp
P-Sc/Pirateers
440e477d33bbbcd79d291700c369f74fd0a6cc7d
[ "MIT" ]
null
null
null
src/entities/bretoniafighter.cpp
P-Sc/Pirateers
440e477d33bbbcd79d291700c369f74fd0a6cc7d
[ "MIT" ]
null
null
null
#include "bretoniafighter.h" #include "ship/shipsystem.h" #include "gamelogic/aisystem.h" BretoniaFighter::BretoniaFighter(ShipSystem& shipSystem, AISystem& aiSystem, ShipSettings shipSettings, float multiplier) : EnemyShip(shipSystem, aiSystem) { EnergySettings energySettings; ...
43.826087
103
0.713294
P-Sc
bcf3136b0161d63fcd188ddbac92dcb85a6f7e33
520
cpp
C++
tree/src/diameter.cpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
7
2019-04-30T14:25:40.000Z
2020-12-19T17:38:11.000Z
tree/src/diameter.cpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
46
2018-09-19T16:42:09.000Z
2020-05-07T09:05:08.000Z
tree/src/diameter.cpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
null
null
null
/* * Library for Diameter */ #include <iostream> #include <cassert> #include "../diameter.hpp" using namespace std; int main(int argc, char const* argv[]) { cout << "-- test for diameter start --" << endl; Tree<int> t(6); t.adde(0, 1, 1); t.adde(0, 4, 1); t.adde(1, 2, 1); t.adde(1, 3, 1); t.adde(4, 5, ...
19.259259
57
0.542308
fumiphys
bcf621d0d6f4d422359da11384b422b14a90c990
135,341
cpp
C++
retired/scalycpp/Parser.cpp
rschleitzer/scaly
7537cdf44f7a63ad1a560975017ee1c897c73787
[ "MIT" ]
4
2019-09-08T15:20:11.000Z
2021-06-07T11:27:36.000Z
retired/scalycpp/Parser.cpp
rschleitzer/scaly
7537cdf44f7a63ad1a560975017ee1c897c73787
[ "MIT" ]
null
null
null
retired/scalycpp/Parser.cpp
rschleitzer/scaly
7537cdf44f7a63ad1a560975017ee1c897c73787
[ "MIT" ]
1
2017-07-20T21:12:33.000Z
2017-07-20T21:12:33.000Z
#include "scalycpp.h" using namespace scaly; namespace scalycpp { Parser::Parser(string* theFileName, string* text) { lexer = new(_getPage()->allocateExclusivePage()) Lexer(text); fileName = theFileName; classKeyword = new(_getPage()) string("class"); functionKeyword = new(_getPage()) string("function"...
32.003074
165
0.671171
rschleitzer
bcfb26f1b23ecdb6fb1d8ca72d4cf914751b0995
8,418
cpp
C++
code/wxWidgets/src/mac/classic/dirmac.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/wxWidgets/src/mac/classic/dirmac.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/wxWidgets/src/mac/classic/dirmac.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
///////////////////////////////////////////////////////////////////////////// // Name: msw/dir.cpp // Purpose: wxDir implementation for Mac // Author: Stefan Csomor // Modified by: // Created: 08.12.99 // RCS-ID: $Id: dirmac.cpp,v 1.4 2005/04/05 16:10:06 ABX Exp $ // Copyright: (c) 1999 Stefa...
26.06192
117
0.456284
Bloodknight
4c01be17a7ee931aab224362627f5ded43f4288c
2,047
hpp
C++
include/HoudiniEngineUnity/HEU_TestHelpers_RequireClass_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_TestHelpers_RequireClass_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_TestHelpers_RequireClass_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: HoudiniEngineUnity.HEU_TestHelpers ...
53.868421
168
0.753786
RedBrumbler
4c05bd2e801efe4d94d466660e3639a588d0b640
528
cpp
C++
application/source/geometry_node.cpp
luigielbambino/CG_Lab_Titz120003Alvarez119446
e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc
[ "MIT" ]
null
null
null
application/source/geometry_node.cpp
luigielbambino/CG_Lab_Titz120003Alvarez119446
e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc
[ "MIT" ]
null
null
null
application/source/geometry_node.cpp
luigielbambino/CG_Lab_Titz120003Alvarez119446
e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc
[ "MIT" ]
null
null
null
// Geometry Node function definitions #include "node.hpp" #include "window_handler.hpp" #include "utils.hpp" #include <glbinding/gl/gl.h> // use gl definitions from glbinding using namespace gl; #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #include <iostream> //Geometry Node constructor GeometryNode::Geometry...
19.555556
50
0.761364
luigielbambino
4c07d9c899552b022ad3629f2b0f776769c1fa46
2,277
cpp
C++
test/error.cpp
madmongo1/url
e7c9b0c860abd5fba3b7a20c3b29552a326de7b5
[ "BSL-1.0" ]
null
null
null
test/error.cpp
madmongo1/url
e7c9b0c860abd5fba3b7a20c3b29552a326de7b5
[ "BSL-1.0" ]
null
null
null
test/error.cpp
madmongo1/url
e7c9b0c860abd5fba3b7a20c3b29552a326de7b5
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) // // 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) // // Official repository: https://github.com/CPPAlliance/url // // Test that header file is self-co...
30.36
79
0.639877
madmongo1
4c0a4a878fea72ad83ca002391f785bed505d4e9
6,635
cc
C++
src/student_dataSK.cc
rmolin88/corba
b23fe31e084b0946211ee8df6346f9042f4f5bac
[ "MIT" ]
null
null
null
src/student_dataSK.cc
rmolin88/corba
b23fe31e084b0946211ee8df6346f9042f4f5bac
[ "MIT" ]
null
null
null
src/student_dataSK.cc
rmolin88/corba
b23fe31e084b0946211ee8df6346f9042f4f5bac
[ "MIT" ]
1
2020-04-29T23:43:55.000Z
2020-04-29T23:43:55.000Z
// This file is generated by omniidl (C++ backend)- omniORB_4_2. Do not edit. #include "student_data.hh" #include <omniORB4/IOP_S.h> #include <omniORB4/IOP_C.h> #include <omniORB4/callDescriptor.h> #include <omniORB4/callHandle.h> #include <omniORB4/objTracker.h> OMNI_USING_NAMESPACE(omni) static const char* _0RL_l...
21.542208
116
0.728711
rmolin88
4c0ca970261e746930efb887b363d742f6ed5d0b
42
hpp
C++
src/boost_mpl_map_aux__at_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_map_aux__at_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_map_aux__at_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/map/aux_/at_impl.hpp>
21
41
0.761905
miathedev
4c0f49126be8045054e8bbb5fbc2b341af61d729
13,082
cpp
C++
VST3 SDK/vstgui4/vstgui/lib/controls/csegmentbutton.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
2
2019-06-14T10:20:30.000Z
2020-02-19T17:53:42.000Z
VST3 SDK/vstgui4/vstgui/lib/controls/csegmentbutton.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
null
null
null
VST3 SDK/vstgui4/vstgui/lib/controls/csegmentbutton.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
1
2021-03-16T13:02:17.000Z
2021-03-16T13:02:17.000Z
//----------------------------------------------------------------------------- // VST Plug-Ins SDK // VSTGUI: Graphical User Interface Framework not only for VST plugins // // Version 4.3 // //----------------------------------------------------------------------------- // VSTGUI LICENSE // (c) 2015, Steinberg Media T...
29.397753
240
0.561764
jagilley
4c167a98f982f4c381e95bf4a1ecf121b323b20c
26,089
cpp
C++
build/source/rotatelogsw.cpp
g-stefan/vendor-httpd
14c434fc0932dd888a620442016c7a52cfe34e14
[ "MIT", "Apache-2.0", "Unlicense" ]
null
null
null
build/source/rotatelogsw.cpp
g-stefan/vendor-httpd
14c434fc0932dd888a620442016c7a52cfe34e14
[ "MIT", "Apache-2.0", "Unlicense" ]
null
null
null
build/source/rotatelogsw.cpp
g-stefan/vendor-httpd
14c434fc0932dd888a620442016c7a52cfe34e14
[ "MIT", "Apache-2.0", "Unlicense" ]
null
null
null
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not...
32.288366
114
0.584423
g-stefan
4c1714d40ec701830907793939149d0f492a9e12
6,015
cpp
C++
arm9/source/level.cpp
RocketRobz/Konotsu-Gunner-DS
7e8f3d6594c4a02ab431662008f10614a3b6987e
[ "MIT" ]
1
2020-02-26T14:39:43.000Z
2020-02-26T14:39:43.000Z
arm9/source/level.cpp
RocketRobz/Konotsu-Gunner-DS
7e8f3d6594c4a02ab431662008f10614a3b6987e
[ "MIT" ]
null
null
null
arm9/source/level.cpp
RocketRobz/Konotsu-Gunner-DS
7e8f3d6594c4a02ab431662008f10614a3b6987e
[ "MIT" ]
1
2020-03-04T18:44:02.000Z
2020-03-04T18:44:02.000Z
#include <nds.h> #include "gl2d.h" #include "graphics/fontHandler.h" #include "graphics/graphics.h" #include "tonccpy.h" #include "sound.h" #include "player.h" #include "bottomImage.h" #include "spr_aimbutton.h" #include "tiles.h" #include "tilenum.h" #define bgTile 11 #define grayBlockTile 17 extern bool wideScre...
18.974763
131
0.599501
RocketRobz
4c1abc47ce27fd4ac8805bda0b50bfb8b2b3a6bc
665
cpp
C++
Miracle/src/Miracle/MiracleAppBuilder.cpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
null
null
null
Miracle/src/Miracle/MiracleAppBuilder.cpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
3
2021-12-10T23:19:29.000Z
2022-03-27T05:04:14.000Z
Miracle/src/Miracle/MiracleAppBuilder.cpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
null
null
null
#include <Miracle/components/Miracle/MiracleAppBuilder.hpp> namespace Miracle { MiracleAppBuilder& MiracleAppBuilder::configureWindow(std::function<void (View::WindowProps&)> configurer) { configurer(m_windowProps); return *this; } MiracleAppBuilder& MiracleAppBuilder::setStartScript(std::function<void ()> st...
22.166667
109
0.754887
McFlyboy
4c2500db72cf536f5754aceeb1c412e75ade4455
1,412
cpp
C++
aoj/1195/main.cpp
acm-icpc-training/acm-icpc-training
a4ee0f81a89cfe95b94c3de8521a11d61290bba3
[ "MIT" ]
null
null
null
aoj/1195/main.cpp
acm-icpc-training/acm-icpc-training
a4ee0f81a89cfe95b94c3de8521a11d61290bba3
[ "MIT" ]
null
null
null
aoj/1195/main.cpp
acm-icpc-training/acm-icpc-training
a4ee0f81a89cfe95b94c3de8521a11d61290bba3
[ "MIT" ]
null
null
null
#include <algorithm> #include <unordered_set> #include <iostream> #include <string> #include <vector> using namespace std; bool ProcessCase() { string encoded; cin >> encoded; if (encoded == "#") return false; unordered_set<string> curr_set; curr_set.insert(encoded); unordered_set<string> next_set; fo...
21.074627
63
0.525496
acm-icpc-training
4c2710bc5685a5c748ce3c4505b334a480be6ce6
1,128
cpp
C++
src/Engine.cpp
nsierra-/DotEngine
07d0d9bc6cf5238d9e94e6f538298b89d51832e5
[ "MIT" ]
null
null
null
src/Engine.cpp
nsierra-/DotEngine
07d0d9bc6cf5238d9e94e6f538298b89d51832e5
[ "MIT" ]
null
null
null
src/Engine.cpp
nsierra-/DotEngine
07d0d9bc6cf5238d9e94e6f538298b89d51832e5
[ "MIT" ]
null
null
null
#include "Engine.hpp" #include "Logger.hpp" namespace Dot { Engine::Engine() : _running(true), _window(sf::VideoMode(800, 600), "DotEngine") { } void Engine::handleEvents(void) { Logger::debug("Engine - handleEvents()"); _retrieveEvents(); _statesManager.handleEvents(this); } void Engine::update(voi...
17.353846
80
0.640071
nsierra-
4c276fd69fe70021e55ab4059c738da69f267136
2,521
cpp
C++
test_json.cpp
6502/jsoncpp
934481de03c373ee5299b8f880e0179a9d3a0030
[ "MIT" ]
2
2016-10-25T09:31:08.000Z
2018-11-10T07:42:29.000Z
test_json.cpp
6502/jsoncpp
934481de03c373ee5299b8f880e0179a9d3a0030
[ "MIT" ]
null
null
null
test_json.cpp
6502/jsoncpp
934481de03c373ee5299b8f880e0179a9d3a0030
[ "MIT" ]
null
null
null
#include "json.h" using JSON::Value; int main() { Value v; v["x"][2]["y"] = "Test"; v["a"] = false; v["b"] = 3.141592654; Value& vv = v["c"]; vv[0] = 42; vv[2] = "Foo"; vv[4]["x"] = 10; vv[4]["y"] = 20; std::vector< std::vector<int> > vvi(2); vvi[0].push_back(1); vvi[0...
25.72449
79
0.455375
6502
4c295f55b985099b580bdbc8686857ddc049022b
189
cpp
C++
258-add-digits/258-add-digits.cpp
ComputerScientist-01/SDE-Sheet
e0ebd6e6a21ed07ce0a1ae123f552e7a4da3ac3a
[ "MIT" ]
null
null
null
258-add-digits/258-add-digits.cpp
ComputerScientist-01/SDE-Sheet
e0ebd6e6a21ed07ce0a1ae123f552e7a4da3ac3a
[ "MIT" ]
null
null
null
258-add-digits/258-add-digits.cpp
ComputerScientist-01/SDE-Sheet
e0ebd6e6a21ed07ce0a1ae123f552e7a4da3ac3a
[ "MIT" ]
null
null
null
class Solution { public: int addDigits(int num) { // we use the property of 9 if(num == 0) return 0; if(num % 9 == 0 ) return 9; return (num%9); } };
21
35
0.492063
ComputerScientist-01
4c2e5c096d5deddf10ce1cb14fc8826ed0c5e871
579
cpp
C++
src/env.cpp
ibradypod/bradypod
cd3b0bc156d7fccb1b8efb2b02163dca46c366d7
[ "BSD-3-Clause" ]
3
2018-03-05T15:29:42.000Z
2018-03-07T01:54:11.000Z
src/env.cpp
ibradypod/bradypod
cd3b0bc156d7fccb1b8efb2b02163dca46c366d7
[ "BSD-3-Clause" ]
null
null
null
src/env.cpp
ibradypod/bradypod
cd3b0bc156d7fccb1b8efb2b02163dca46c366d7
[ "BSD-3-Clause" ]
null
null
null
#include "env.h" #include <QCoreApplication> #include <QString> #include <QVariantMap> #include <QProcessEnvironment> static Env* env_instance = NULL; Env* Env::instance() { if (NULL == env_instance) { env_instance = new Env(); } return env_instance; } Env::Env() : QObject(QCoreApplication:...
17.029412
78
0.658031
ibradypod
4c32df3f96185150890e6b58f2b995ed6470d32e
463
cpp
C++
Questions Level-Wise/Medium/count-nice-pairs-in-an-array.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Medium/count-nice-pairs-in-an-array.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Medium/count-nice-pairs-in-an-array.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: int rev(int num) { int t=0; while(num>0) t=(t*10)+(num%10),num/=10; return t; } int countNicePairs(vector<int>& nums) { int c=0; unordered_map<int,int> x; for(int i=0;i<nums.size();i++) x[nums[i]-rev(nu...
23.15
82
0.464363
PrakharPipersania
4c3370c1c627b7857e4423d1aeaf009ac6d23811
2,219
cpp
C++
projects/acommandline/test/repeated_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
projects/acommandline/test/repeated_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
136
2020-03-29T11:15:38.000Z
2020-10-14T06:21:23.000Z
projects/acommandline/test/repeated_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
1
2020-08-04T09:56:53.000Z
2020-08-04T09:56:53.000Z
import atest; import acommandline; using ::atest::expect; using ::atest::suite; using ::atest::test; static const auto S = suite("repeated", [] { // NOLINT(cert-err58-cpp) test("single named", [] { std::stringstream stream; ::acommandline::CommandLine commandLine{stream}; std::vector<std:...
38.929825
161
0.626408
agnesoft
4c3984bc3005960c087f0b4d701a9d4caba60fda
1,057
cc
C++
cpp/leetcode/451.sort-characters-by-frequency.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
3
2021-03-03T13:18:23.000Z
2022-02-09T07:49:24.000Z
cpp/leetcode/451.sort-characters-by-frequency.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
null
null
null
cpp/leetcode/451.sort-characters-by-frequency.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
1
2021-03-29T15:21:42.000Z
2021-03-29T15:21:42.000Z
#include <gtest/gtest.h> #include <algorithm> #include <string> #include <unordered_map> namespace { class Solution { public: std::string frequencySort(const std::string& s) { std::unordered_map<char, int> charcount; for (auto& ch : s) { charcount[ch]++; } std::vector<std::pair<char, int>> v(...
22.978261
76
0.589404
liubang
4c3be975324d4c979442a56019d9e3ddc8edb0c8
567
cpp
C++
src/cells/src/lib/logic/effect/buff/Slow.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
src/cells/src/lib/logic/effect/buff/Slow.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
15
2021-05-18T14:16:03.000Z
2021-06-17T19:36:32.000Z
src/cells/src/lib/logic/effect/buff/Slow.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
#include "Slow.h" #include <cassert> #include "logic/entity/MobEntity.h" Slow::Slow(MobEntity * target_p, std::string id_p, double spawntime_p, double duration_p, double slow_p, unsigned long maxStack_p) : BuffTimer(target_p, id_p, spawntime_p, duration_p, maxStack_p) , _slow(slow_p) { assert(_slow > 1e-5); asser...
24.652174
130
0.705467
SimonPiCarter
4c410d1d29d3a9598e009809b2aca084df0c1b48
893
cpp
C++
Problem Solving/Data Structures/Linked Lists/Find Merge Point of Two Lists/find merge point of two lists.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
108
2021-03-29T05:04:16.000Z
2022-03-19T15:11:52.000Z
Problem Solving/Data Structures/Linked Lists/Find Merge Point of Two Lists/find merge point of two lists.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
null
null
null
Problem Solving/Data Structures/Linked Lists/Find Merge Point of Two Lists/find merge point of two lists.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
32
2021-03-30T03:56:54.000Z
2022-03-27T14:41:32.000Z
/* Author: Isaac Asante * HackerRank URL for this exercise: https://www.hackerrank.com/challenges/find-the-merge-point-of-two-joined-linked-lists/problem * Original video explanation: https://www.youtube.com/watch?v=PUMCc5GPn1Q * Last verified on: March 28, 2021 */ /* IMPORTANT: * This code is meant to be used as...
34.346154
130
0.693169
IsaacAsante
4c417224f883b73130aba6d98bc4b1db7c73d838
4,501
hpp
C++
src/read_set.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
33
2015-07-13T03:00:01.000Z
2021-03-20T08:49:07.000Z
src/read_set.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
9
2016-11-29T00:04:30.000Z
2020-02-10T17:46:01.000Z
src/read_set.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
6
2015-09-10T15:49:34.000Z
2017-03-09T05:14:06.000Z
#ifndef ISOLATOR_READ_SET_HPP #define ISOLATOR_READ_SET_HPP #include <boost/iterator/iterator_facade.hpp> #include <boost/unordered_map.hpp> #include <vector> #include "common.hpp" #include "hat-trie/hat-trie.h" #include "samtools/sam.h" #include "samtools/samtools_extra.h" #include "transcripts.hpp" /* A represent...
23.321244
81
0.623639
dcjones
4c436c434537e6a9b906a1a0c48187e7b294f98f
20,984
cpp
C++
src/main.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
9
2019-08-01T14:42:38.000Z
2021-09-03T17:49:37.000Z
src/main.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
107
2016-05-22T14:28:08.000Z
2022-03-31T08:27:27.000Z
src/main.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
3
2017-12-13T04:15:42.000Z
2021-07-17T20:59:00.000Z
#include <iostream> #include <memory> #include <fstream> #include <cctype> #include <algorithm> #include <string> #include <stdexcept> #include <utility> #include "Game/Game.h" #include "Game/Board.h" #include "Game/Clock.h" #include "Game/Game_Result.h" #include "Moves/Move.h" #include "Players/Minimax_AI.h" #includ...
39.22243
275
0.468643
MarkZH
4c477a5cf79b4be9d463acfb54ce565b4d909723
959
cc
C++
tests/proto_worker.cc
acs-network/MCC
808e8f27a5a875331f2d54b99c83d4720f2c9bb9
[ "BSD-3-Clause" ]
5
2022-03-04T06:57:43.000Z
2022-03-30T08:45:42.000Z
tests/proto_worker.cc
acs-network/MCC
808e8f27a5a875331f2d54b99c83d4720f2c9bb9
[ "BSD-3-Clause" ]
null
null
null
tests/proto_worker.cc
acs-network/MCC
808e8f27a5a875331f2d54b99c83d4720f2c9bb9
[ "BSD-3-Clause" ]
2
2022-03-04T07:19:13.000Z
2022-03-04T07:23:58.000Z
#include "proto/mcc.pb.h" #include "application.h" #include "reactor.h" #include "tcp_server.h" using namespace infgen; namespace bpo = boost::program_options; int main(int argc, char* argv[]) { application app; app.add_options() ("client-id,n", bpo::value<unsigned>()->default_value(0), "client id"); app.ru...
27.4
75
0.618352
acs-network
4c47ffd057e8d17bf3da03f0f9e399a9055e9775
229
cpp
C++
native_libs/src/ValueHolder.cpp
mwu-tow/Dataframes
fd82802fe9b490cee9ac7be9aee0f5cc2e1fba28
[ "MIT" ]
4
2019-05-09T17:25:29.000Z
2019-10-30T21:22:14.000Z
native_libs/src/ValueHolder.cpp
mwu-tow/Dataframes
fd82802fe9b490cee9ac7be9aee0f5cc2e1fba28
[ "MIT" ]
94
2018-07-09T19:02:56.000Z
2019-03-29T13:30:39.000Z
native_libs/src/ValueHolder.cpp
mwu-tow/Dataframes
fd82802fe9b490cee9ac7be9aee0f5cc2e1fba28
[ "MIT" ]
3
2019-05-16T21:05:39.000Z
2020-06-19T14:36:33.000Z
#include "ValueHolder.h" #include <utility> const char * ValueHolder::store(std::string s) { buffer = std::move(s); return buffer.c_str(); } void ValueHolder::clear() { buffer.clear(); buffer.shrink_to_fit(); }
15.266667
46
0.650655
mwu-tow
4c4ef384bb0ab01432660c8f155c5409c543a8f3
1,631
cpp
C++
src/Crypt.cpp
thomaseolsen/SpaceMonopoly
96eb22111f3584b972e71b3880ee91314d9fd0cd
[ "MIT" ]
null
null
null
src/Crypt.cpp
thomaseolsen/SpaceMonopoly
96eb22111f3584b972e71b3880ee91314d9fd0cd
[ "MIT" ]
null
null
null
src/Crypt.cpp
thomaseolsen/SpaceMonopoly
96eb22111f3584b972e71b3880ee91314d9fd0cd
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl\vcl.h> #pragma hdrstop #include "crypt.h" //--------------------------------------------------------------------------- /***************************************************************************** * crypt -- encrypt a...
33.979167
81
0.351318
thomaseolsen
4c570b3d079bc038581b4359cbf08f4267f96251
7,901
cpp
C++
src/native/Utils.cpp
sx-aurora-test/rv
5d546958b155d7349b20a8cbbeff1b4c65589fd7
[ "Apache-2.0" ]
2
2020-09-04T07:19:24.000Z
2020-10-08T11:36:58.000Z
src/native/Utils.cpp
sx-aurora-test/rv
5d546958b155d7349b20a8cbbeff1b4c65589fd7
[ "Apache-2.0" ]
null
null
null
src/native/Utils.cpp
sx-aurora-test/rv
5d546958b155d7349b20a8cbbeff1b4c65589fd7
[ "Apache-2.0" ]
1
2022-01-25T07:01:35.000Z
2022-01-25T07:01:35.000Z
//===- Utils.cpp -----------------------------===// // // The Region Vectorizer // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // // @author montada #include <llvm/IR/DerivedTypes.h> #include <llvm/IR/Constants.h> #include <utils...
32.24898
141
0.654727
sx-aurora-test
4c59fe702fd49d18898f89598a63ac96541d1ac3
13,407
cpp
C++
tests/sm/test_btree_basic.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
27
2015-04-21T08:52:37.000Z
2022-03-18T03:38:58.000Z
tests/sm/test_btree_basic.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
24
2015-07-04T10:45:41.000Z
2018-05-03T08:52:36.000Z
tests/sm/test_btree_basic.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
15
2015-03-31T09:57:10.000Z
2021-06-09T13:44:58.000Z
#include "btree_test_env.h" #include "gtest/gtest.h" #include "sm_vas.h" #include "btree.h" #include "btcursor.h" btree_test_env *test_env; /** * Unit test for basic Insert/Select/Delete features of BTree. */ w_rc_t insert_simple(ss_m* ssm, test_volume_t *test_volume) { StoreID stid; PageID root_pid; W...
33.68593
105
0.664877
lslersch
4c5a826ebefb81e6e0062c3ce90b8057aaba4c06
37,943
cpp
C++
SPOUTSDK/SpoutGL/SpoutControls.cpp
initialfx/Spout2
0f88e631d5328d5e5aedef287a7f8f3076b99be3
[ "BSD-2-Clause" ]
null
null
null
SPOUTSDK/SpoutGL/SpoutControls.cpp
initialfx/Spout2
0f88e631d5328d5e5aedef287a7f8f3076b99be3
[ "BSD-2-Clause" ]
null
null
null
SPOUTSDK/SpoutGL/SpoutControls.cpp
initialfx/Spout2
0f88e631d5328d5e5aedef287a7f8f3076b99be3
[ "BSD-2-Clause" ]
null
null
null
// // SpoutControls // // Allows an application to control a Spout sender // // ==================================================================================== // Revisions : // // 21.06.15 - project start // 08.07.15 - project Version 1 // 16.07.15 - changed CheckControls to return the control index that w...
29.970774
134
0.647155
initialfx
4c5abf814ba2ac2274c92395df2b592cff646d16
3,170
cpp
C++
FileZillaFTP/source/AdminInterface.cpp
JyothsnaMididoddi26/xampp
8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b
[ "Apache-2.0" ]
1
2017-01-31T08:49:16.000Z
2017-01-31T08:49:16.000Z
FileZillaFTP/source/AdminInterface.cpp
JyothsnaMididoddi26/xampp
8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b
[ "Apache-2.0" ]
2
2020-07-17T00:13:41.000Z
2021-05-08T17:01:54.000Z
FileZillaFTP/source/AdminInterface.cpp
JyothsnaMididoddi26/xampp
8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b
[ "Apache-2.0" ]
null
null
null
// FileZilla Server - a Windows ftp server // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de> // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the Licens...
31.7
117
0.655205
JyothsnaMididoddi26
4c5b7b47c52278a64e3e8ca486aef44db48f8b04
4,007
cc
C++
Source/BladeDevice/source/window/android/AndroidWindowMessagePump.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/BladeDevice/source/window/android/AndroidWindowMessagePump.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/BladeDevice/source/window/android/AndroidWindowMessagePump.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2013/12/28 filename: AndroidWindowMessagePump.cc author: Crazii purpose: *********************************************************************/ #include <BladePCH.h> #if BLADE_PLATFORM == BLADE_PLATFORM_ANDROID #include <unistd.h> #i...
32.314516
122
0.516346
OscarGame
4c5f08ba5759a8c633e2c29c73f944038e1e4e86
13,012
cc
C++
Modules/Transformation/src/irtkPartialBSplineFreeFormTransformationSV.cc
kevin-keraudren/IRTK
ce329b7f58270b6c34665dcfe9a6e941649f3b94
[ "Apache-2.0" ]
3
2018-10-04T19:32:36.000Z
2021-09-02T07:37:30.000Z
Modules/Transformation/src/irtkPartialBSplineFreeFormTransformationSV.cc
kevin-keraudren/IRTK
ce329b7f58270b6c34665dcfe9a6e941649f3b94
[ "Apache-2.0" ]
null
null
null
Modules/Transformation/src/irtkPartialBSplineFreeFormTransformationSV.cc
kevin-keraudren/IRTK
ce329b7f58270b6c34665dcfe9a6e941649f3b94
[ "Apache-2.0" ]
4
2016-03-17T02:55:00.000Z
2018-02-03T05:40:05.000Z
/* The Image Registration Toolkit (IRTK) * * Copyright 2008-2015 Imperial College London * * 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...
40.409938
158
0.511912
kevin-keraudren
4c64128d35359e3e2bc9ef4b29a43e59c171f064
92,562
hpp
C++
include/voxelio/3rd_party/lodepng.hpp
Eisenwave/voxel-io
d902568de2d4afda254e533a5ee9e4ad5fe7d2be
[ "MIT" ]
12
2020-06-25T13:40:22.000Z
2021-12-06T04:00:29.000Z
include/voxelio/3rd_party/lodepng.hpp
Eisenwave/voxel-io
d902568de2d4afda254e533a5ee9e4ad5fe7d2be
[ "MIT" ]
2
2021-02-04T16:19:40.000Z
2021-06-25T09:39:20.000Z
include/voxelio/3rd_party/lodepng.hpp
Eisenwave/voxel-io
d902568de2d4afda254e533a5ee9e4ad5fe7d2be
[ "MIT" ]
null
null
null
/* LodePNG version 20200306 Copyright (c) 2005-2020 Lode Vandevenne 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, incl...
48.084156
136
0.75276
Eisenwave
4c64e7e41edd0448714ab80a001590deabd9bfc8
21,132
cpp
C++
sundog_engine/various/palmos/palm_functions.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
100
2016-01-15T02:43:07.000Z
2022-03-16T14:02:38.000Z
sundog_engine/various/palmos/palm_functions.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
2
2018-01-10T18:21:37.000Z
2021-12-05T01:48:08.000Z
sundog_engine/various/palmos/palm_functions.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
17
2016-05-16T19:48:19.000Z
2022-03-23T10:59:42.000Z
#include <PalmOS.h> #include "VFSMgr.h" #include "PceNativeCall.h" #include "palm_functions.h" // local definition of the emulation state structure void *g_form_handler; long *g_new_screen_size; EmulStateType *emulStatePtr; Call68KFuncType *call68KFuncPtr; unsigned char args_stack[ 4 * 32 ]; unsigned char args_ptr = 0...
26.349127
130
0.675989
Sound-Linux-More
4c66f3691c04f078b9c0457c9bb158bfd22867d2
27,034
cpp
C++
MWCNNLayerImpl.cpp
henryjimenez/DL-matlab
de77f6d5387a4feb43dd175100006138bbea755f
[ "BSD-2-Clause" ]
null
null
null
MWCNNLayerImpl.cpp
henryjimenez/DL-matlab
de77f6d5387a4feb43dd175100006138bbea755f
[ "BSD-2-Clause" ]
null
null
null
MWCNNLayerImpl.cpp
henryjimenez/DL-matlab
de77f6d5387a4feb43dd175100006138bbea755f
[ "BSD-2-Clause" ]
null
null
null
#include "MWCNNLayerImpl.hpp" #include "MWTargetNetworkImpl.hpp" #include "cnn_api.hpp" #include <cassert> #include <cstring> #include <stdio.h> #if MW_LAYERS_TAP extern void mw_interm_tap(arm_compute::Tensor& armTensor, int size, int count); extern int tap_count; #endif MWCNNLayerImpl::MWCNNLayerImpl(MWCNNLayer* la...
64.520286
136
0.774506
henryjimenez
4c6b8ca41338111eb30b19cf2f22b586572688df
592
hpp
C++
src/state.hpp
ebassi/node-clutter
760b8f5704a216dcd633658051c0778151b21391
[ "MIT" ]
1
2017-08-31T00:58:33.000Z
2017-08-31T00:58:33.000Z
src/state.hpp
ebassi/node-clutter
760b8f5704a216dcd633658051c0778151b21391
[ "MIT" ]
null
null
null
src/state.hpp
ebassi/node-clutter
760b8f5704a216dcd633658051c0778151b21391
[ "MIT" ]
null
null
null
#ifndef NODE_CLUTTER_STATE_H_ #define NODE_CLUTTER_STATE_H_ #include <clutter/clutter.h> #include <v8.h> #include <node.h> namespace clutter { class State : public node::ObjectWrap { public: static void Initialize(v8::Handle<v8::Object> target); static void PrototypeMethodsInit(v8::Handle<v8::FunctionTemplate> con...
21.142857
89
0.746622
ebassi
4c6baa5c68411296b4cc7a6cc74c1d9d6e6a8dd5
163
hpp
C++
kernel/keyboard.hpp
mox692/mos
211b36dade615cfd43d3bb077703b82b638eec10
[ "Apache-2.0" ]
null
null
null
kernel/keyboard.hpp
mox692/mos
211b36dade615cfd43d3bb077703b82b638eec10
[ "Apache-2.0" ]
null
null
null
kernel/keyboard.hpp
mox692/mos
211b36dade615cfd43d3bb077703b82b638eec10
[ "Apache-2.0" ]
null
null
null
/** * @file keyboard.hpp * * キーボード制御プログラム. */ #pragma once #include <deque> #include "message.hpp" void InitializeKeyboard(std::deque<Message>& msg_queue);
12.538462
56
0.687117
mox692
4c6e81dbf53824b66fe0a3f5b00c2e88a212be88
688
cpp
C++
ejercicios clase/ejercicioGasolina(random).cpp
Trx21-5672/IMEC-8A-5672
ff4f0f4bcd61425a9eccba7be1fb646849360d45
[ "MIT" ]
null
null
null
ejercicios clase/ejercicioGasolina(random).cpp
Trx21-5672/IMEC-8A-5672
ff4f0f4bcd61425a9eccba7be1fb646849360d45
[ "MIT" ]
1
2020-04-05T03:13:08.000Z
2020-04-05T03:13:08.000Z
ejercicios clase/ejercicioGasolina(random).cpp
Trx21-5672/IMEC-8A-5672
ff4f0f4bcd61425a9eccba7be1fb646849360d45
[ "MIT" ]
null
null
null
#include <iostream> //random seed #include <cstdlib> #include <ctime> using namespace std; const int x1=12; const int x2=10; const int precio=19; int costo_final=0; int m = 0; int main(){ srand(time(NULL)); int lim_inf = 50; int lim_sup = 150; for (int i=0;i<2000;i++) { int velocidad =...
22.933333
85
0.597384
Trx21-5672
dbc8a8d1ebce122a4794f37b992e534ddb1cd498
4,370
hh
C++
servicesim_competition/src/Checkpoint.hh
raymondchaneee/servicesim
9e1c827aa0022d3f3c188be7d2ccf1ed20391d09
[ "Apache-2.0" ]
6
2020-05-03T01:27:45.000Z
2021-12-14T06:36:48.000Z
servicesim_competition/src/Checkpoint.hh
raymondchaneee/servicesim
9e1c827aa0022d3f3c188be7d2ccf1ed20391d09
[ "Apache-2.0" ]
1
2021-04-19T14:24:26.000Z
2021-04-19T14:24:26.000Z
servicesim_competition/src/Checkpoint.hh
raymondchaneee/servicesim
9e1c827aa0022d3f3c188be7d2ccf1ed20391d09
[ "Apache-2.0" ]
6
2020-06-15T14:34:18.000Z
2021-09-28T19:50:17.000Z
/* * Copyright (C) 2018 Open Source Robotics Foundation * * 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 appl...
32.61194
79
0.680092
raymondchaneee
dbca7033d2e551b6d754c8f530d7918631ff8de9
160
cpp
C++
chapter12/ex12_16.cpp
chaomi1998/CppPrimer_5th
9ecad51c21e5f57f2d682d9941812e1d51cc8a43
[ "MIT" ]
null
null
null
chapter12/ex12_16.cpp
chaomi1998/CppPrimer_5th
9ecad51c21e5f57f2d682d9941812e1d51cc8a43
[ "MIT" ]
null
null
null
chapter12/ex12_16.cpp
chaomi1998/CppPrimer_5th
9ecad51c21e5f57f2d682d9941812e1d51cc8a43
[ "MIT" ]
null
null
null
#include <memory> using std::unique_ptr; int main() { unique_ptr<int> p1(new int(42)); unique_ptr<int> p2(p1); unique_ptr<int> p3; p3 = p1; }
13.333333
36
0.60625
chaomi1998
dbd17702a329c4b83b51779eb2f79b9026e168d6
888
cpp
C++
leetcode/188.best-time-to-buy-and-sell-stock-iv.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
leetcode/188.best-time-to-buy-and-sell-stock-iv.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
null
null
null
leetcode/188.best-time-to-buy-and-sell-stock-iv.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
/* * @lc app=leetcode id=188 lang=cpp * * [188] Best Time to Buy and Sell Stock IV */ // @lc code=start class Solution { public: int maxProfit(int K, vector<int>& prices) { int n = prices.size(); if(K>=n/2) { int ans = 0; for(int i=1;i<n;i++) { if(prices[...
24
72
0.371622
vkashkumar
dbd4bac249440c2fb749f49563a123b468e79220
572
cpp
C++
tests/test.cpp
Darioshka/lab_03
24d79f98900451ccd336d9c9b930d6c4d3d7f0dd
[ "MIT" ]
null
null
null
tests/test.cpp
Darioshka/lab_03
24d79f98900451ccd336d9c9b930d6c4d3d7f0dd
[ "MIT" ]
null
null
null
tests/test.cpp
Darioshka/lab_03
24d79f98900451ccd336d9c9b930d6c4d3d7f0dd
[ "MIT" ]
null
null
null
// Copyright 2018 Your Name <your_email> #include <gtest/gtest.h> #include "header.hpp" TEST(Example, EmptyTest) { int*a = new int; a[0] = 42; int*b = new int; b[0] = 20; SharedPtr<int> link1(a); SharedPtr<int> link2(link1); SharedPtr<int> link3(b); EXPECT_EQ(static_cast<int>(link1.get(...
24.869565
52
0.624126
Darioshka
dbd83e5512cfabf81133a23131ebb9a96e15fba9
2,922
cpp
C++
Projects/Skylicht/Components/Source/ParticleSystem/Particles/Zones/CPolyLine.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
310
2019-11-25T04:14:11.000Z
2022-03-31T23:39:19.000Z
Projects/Skylicht/Components/Source/ParticleSystem/Particles/Zones/CPolyLine.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
79
2019-11-17T07:51:02.000Z
2022-03-22T08:49:41.000Z
Projects/Skylicht/Components/Source/ParticleSystem/Particles/Zones/CPolyLine.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
24
2020-05-10T09:37:55.000Z
2022-03-05T13:19:31.000Z
/* !@ MIT License Copyright (c) 2020 Skylicht Technology CO., LTD 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...
27.055556
141
0.688227
tsukoyumi
dbdb9f2fd3ab2ec71471a114984e2591469ef965
11,510
hpp
C++
src/ganon-classify/include/ganon-classify/Config.hpp
benvenutti/ganon
0d6f1b73eacb7659a0d541567b9aa60287e05f82
[ "MIT", "BSD-3-Clause" ]
1
2021-04-11T22:09:18.000Z
2021-04-11T22:09:18.000Z
src/ganon-classify/include/ganon-classify/Config.hpp
benvenutti/ganon
0d6f1b73eacb7659a0d541567b9aa60287e05f82
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/ganon-classify/include/ganon-classify/Config.hpp
benvenutti/ganon
0d6f1b73eacb7659a0d541567b9aa60287e05f82
[ "MIT", "BSD-3-Clause" ]
null
null
null
#pragma once #include <algorithm> #include <cinttypes> #include <iomanip> #include <iostream> #include <map> #include <ostream> #include <string> #include <vector> namespace GanonClassify { struct FilterConfig { std::string ibf_file; std::string map_file; std::string tax_file; int16_t max_error; ...
34.878788
113
0.482884
benvenutti
dbdd5abe0accf7f06ccea27f68a7c55dbbaa260a
51,996
cpp
C++
src/pafpython/PythonWrapper.cpp
fdyjfd/paf
fb6b275532483184b5e02f2d6850e503eb9bfad1
[ "MIT" ]
1
2021-04-02T10:17:59.000Z
2021-04-02T10:17:59.000Z
src/pafpython/PythonWrapper.cpp
fdyjfd/paf
fb6b275532483184b5e02f2d6850e503eb9bfad1
[ "MIT" ]
null
null
null
src/pafpython/PythonWrapper.cpp
fdyjfd/paf
fb6b275532483184b5e02f2d6850e503eb9bfad1
[ "MIT" ]
null
null
null
#include <new.h> #include "Python.h" #include "../pafcore/Variant.h" #include "../pafcore/InstanceMethod.h" #include "../pafcore/NameSpace.h" #include "../pafcore/NameSpace.mh" #include "../pafcore/Metadata.mh" #include "../pafcore/Type.mh" #include "../pafcore/ClassType.h" #include "../pafcore/EnumType.h" #include ".....
29.244094
166
0.748846
fdyjfd
dbdec26c028ff42e9f5f193c9eea7efe879435dd
4,500
cpp
C++
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/node/AODVsndcode.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2019-08-31T08:06:48.000Z
2019-08-31T08:06:48.000Z
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/node/AODVsndcode.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
null
null
null
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/node/AODVsndcode.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2020-01-07T10:46:23.000Z
2020-01-07T10:46:23.000Z
double AODVsndcode(int seg, void* data) { AODVsnd_Data* d = (AODVsnd_Data*) data; int myID = d->nodeID; MailboxMsg *mailboxmsg; GenericNwkMsg *nwkmsg; DataMsg *datamsg; RREQMsg *rreqmsg; int dest; double now, etime; RouteEntry *dest_entry; DataNode *dn; switch (seg) {...
14.469453
136
0.582222
raulest50
dbdf58de09ffeed6854c5f822b4fa4d7caa9d730
1,563
cpp
C++
sdk/object/entity.cpp
playday3008/herby
3ab4594588c4776182f18edf89d461adef583614
[ "MIT" ]
null
null
null
sdk/object/entity.cpp
playday3008/herby
3ab4594588c4776182f18edf89d461adef583614
[ "MIT" ]
null
null
null
sdk/object/entity.cpp
playday3008/herby
3ab4594588c4776182f18edf89d461adef583614
[ "MIT" ]
null
null
null
#include "entity.hpp" #include "csgo/engine.hpp" C_BaseEntity* C_BaseEntity::GetBaseEntity(int index) { auto client_entity = csgo::m_client_entity_list->GetClientEntity(index); return (client_entity ? client_entity->GetBaseEntity() : nullptr); } int C_BaseEntity::GetMoveType() { auto& netvar = csgo::engine::NetPro...
28.944444
113
0.751759
playday3008
dbdf5e502674a08010f428b1000f028875412737
14,606
cpp
C++
InitFile/Tests/ifTestSupport.cpp
opendragon/IF
11e9132b896a67115b8fc9fc9cddcd592b838bfa
[ "BSD-3-Clause" ]
null
null
null
InitFile/Tests/ifTestSupport.cpp
opendragon/IF
11e9132b896a67115b8fc9fc9cddcd592b838bfa
[ "BSD-3-Clause" ]
null
null
null
InitFile/Tests/ifTestSupport.cpp
opendragon/IF
11e9132b896a67115b8fc9fc9cddcd592b838bfa
[ "BSD-3-Clause" ]
null
null
null
//-------------------------------------------------------------------------------------------------- // // File: Tests/ifTestSupport.cpp // // Project: IF // // Contains: The function and class definitions for InitFile test programs. // // Written by: Norman Jaffe // // Copyright: (c) 2020 by OpenDrago...
27.768061
100
0.598863
opendragon
dbe01a7a918e25d8af6f4f4186ca3f27826f9e95
1,617
cc
C++
net/socket.cc
xingdl2007/polly
c23906d7f58d2eb263cb102b0343dccd5a245881
[ "BSD-3-Clause" ]
2
2018-04-12T21:13:18.000Z
2018-06-10T14:18:04.000Z
net/socket.cc
xingdl2007/polly
c23906d7f58d2eb263cb102b0343dccd5a245881
[ "BSD-3-Clause" ]
null
null
null
net/socket.cc
xingdl2007/polly
c23906d7f58d2eb263cb102b0343dccd5a245881
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2018 The Polly Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <stdlib.h> #include <sys/socket.h> #include "socket.h" #include "log/logger.h" namespace polly ...
27.87931
86
0.687075
xingdl2007
dbe839aaaa905f258032ddd7d5ff5568245b3081
1,465
hpp
C++
include/xvega/grammar/encodings/encoding-channels/hyperlink-channels/href.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
34
2020-08-14T14:32:51.000Z
2022-02-16T23:20:02.000Z
include/xvega/grammar/encodings/encoding-channels/hyperlink-channels/href.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
19
2020-08-20T20:04:39.000Z
2022-02-28T14:34:37.000Z
include/xvega/grammar/encodings/encoding-channels/hyperlink-channels/href.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
7
2020-08-14T14:18:17.000Z
2022-02-01T10:59:24.000Z
// Copyright (c) 2020, QuantStack and XVega Contributors // // Distributed under the terms of the BSD 3-Clause License. // // The full license is in the file LICENSE, distributed with this software. #ifndef XVEGA_ENCODING_HREF_HPP #define XVEGA_ENCODING_HREF_HPP #include <xproperty/xobserved.hpp> #include <xtl/xopti...
32.555556
75
0.698976
domoritz
dbf6e33ac75bfa73b68fa656dddc3b1e5f035c7a
808
hpp
C++
Siv3D/include/Siv3D/EmojiDictionary.hpp
ai2playgame/OpenSiv3D
e8814b4bb2baf23fcfc300325f700b842cce79b1
[ "MIT" ]
null
null
null
Siv3D/include/Siv3D/EmojiDictionary.hpp
ai2playgame/OpenSiv3D
e8814b4bb2baf23fcfc300325f700b842cce79b1
[ "MIT" ]
null
null
null
Siv3D/include/Siv3D/EmojiDictionary.hpp
ai2playgame/OpenSiv3D
e8814b4bb2baf23fcfc300325f700b842cce79b1
[ "MIT" ]
null
null
null
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2019 Ryo Suzuki // Copyright (c) 2016-2019 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <memory> # include "Fw...
17.955556
93
0.612624
ai2playgame
dbf8b652b081c6876c2586a5371fc019198306ec
962
cpp
C++
CodeForces/964B/13538902_AC_15ms_3304kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
CodeForces/964B/13538902_AC_15ms_3304kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
CodeForces/964B/13538902_AC_15ms_3304kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
/** * @author Moe_Sakiya sakiya@tun.moe * @date 2018-04-17 22:33:09 * */ #include <iostream> #include <string> #include <algorithm> #include <set> #include <map> #include <vector> #include <stack> #include <queue> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> using namespace std; ...
17.178571
45
0.529106
BakaErii
dbf90495427ac7591c1027b14ba3c08bdde28591
1,513
cpp
C++
ch04/e4-08.cpp
nanonashy/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
3
2021-12-17T17:25:18.000Z
2022-03-02T15:52:23.000Z
ch04/e4-08.cpp
nashinium/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
1
2020-04-22T07:16:34.000Z
2020-04-22T10:04:04.000Z
ch04/e4-08.cpp
nashinium/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
1
2020-04-22T08:13:51.000Z
2020-04-22T08:13:51.000Z
// 問題文: // 「チェス」を考案したものに褒美を与えようと考えた皇帝が、望みは何かと尋ねたという昔話があ // る。そのものは、チェス盤の1つ目の升目に1グレインのコメ、2つ目の升目に2グレインの米、 // 3つ目の升目には4グレインの米といったように、64の升目ごとに2倍のの量の米を所望した。謙 // 虚な申し出のように思えたが、帝国にはそれだけの米がなかった。少なくとも1,000グレイン、 // 少なくとも100万グレイン、そして少なくとも10億グレインの米を褒美として与えるのに必要 // な升目の数を計算するプログラムを作成する。当然ながら、ループが必要である。また、現在の // 升目を追跡す...
29.096154
72
0.551223
nanonashy
dbf9e591593ea426d4d2006806c04acacfe7ecd2
2,337
cpp
C++
Ray/Mono/RScript.cpp
CAt0mIcS/Ray
898ebbfe1207513045718a4fb1df339621568de4
[ "MIT" ]
null
null
null
Ray/Mono/RScript.cpp
CAt0mIcS/Ray
898ebbfe1207513045718a4fb1df339621568de4
[ "MIT" ]
null
null
null
Ray/Mono/RScript.cpp
CAt0mIcS/Ray
898ebbfe1207513045718a4fb1df339621568de4
[ "MIT" ]
null
null
null
#include "RScript.h" #include <mono/jit/jit.h> #include <mono/metadata/object.h> #include <mono/metadata/environment.h> #include <mono/metadata/assembly.h> #include <mono/metadata/debug-helpers.h> #include <mono/metadata/mono-config.h> namespace At0::Ray::Mono { bool Script::s_MonoInitialized = false; Script::Sc...
26.556818
88
0.708601
CAt0mIcS
dbfa42d8d9f64bb063ac1f7144888d06207464df
730
cpp
C++
codeforces/1433/B.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
codeforces/1433/B.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
codeforces/1433/B.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=200005; int arr[55]; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t;cin>>t; while(t--){ int n; cin>>n; int st=0,en=0; for(int i=0;i<n;i++){cin>>arr[i];} for (int i=0;i<n;i...
16.590909
39
0.367123
Mohammad-Elsharkawy
dbfe04cf1c58c348023fb999e085cafe93b144da
1,805
cpp
C++
handout/Game/Source/SceneIntro.cpp
MHF13/VideoPlayer
861790d7482bb32c36f8be77e4a57482cd3d207c
[ "MIT" ]
null
null
null
handout/Game/Source/SceneIntro.cpp
MHF13/VideoPlayer
861790d7482bb32c36f8be77e4a57482cd3d207c
[ "MIT" ]
null
null
null
handout/Game/Source/SceneIntro.cpp
MHF13/VideoPlayer
861790d7482bb32c36f8be77e4a57482cd3d207c
[ "MIT" ]
null
null
null
#include "App.h" #include "Input.h" #include "Textures.h" #include "Audio.h" #include "Render.h" #include "Fonts.h" #include "SceneIntro.h" #include "SceneManager.h" #include <SDL_mixer\include\SDL_mixer.h> #include "Defs.h" #include "Log.h" SceneIntro::SceneIntro() { active = true; name.Create("sceneIntro"); } ...
13.884615
79
0.645429
MHF13
e000e988ce3722403b6fc67add980d8361d4bb25
1,393
hpp
C++
engine/include/ph/util/GltfWriter.hpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
engine/include/ph/util/GltfWriter.hpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
engine/include/ph/util/GltfWriter.hpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // // 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 ...
36.657895
96
0.758794
PetorSFZ
e0088941fbfffd55079b88cf6b541ff017203d01
3,635
cc
C++
src/network/client_handler.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
17
2016-11-27T13:13:40.000Z
2021-09-07T06:42:25.000Z
src/network/client_handler.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
22
2017-01-18T06:10:18.000Z
2019-05-15T03:49:19.000Z
src/network/client_handler.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
5
2017-07-24T15:19:32.000Z
2022-02-19T09:11:01.000Z
#include "client_handler.hh" #include "../messages/factory.hh" #include "../common/context_singleton.hh" #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/asio/error.hpp> #include <boost/asio/connect.hpp> #include <boost/asio/spawn.hpp> #include <exception> #include <boost/scoped_ptr.hpp> using names...
26.727941
93
0.625585
zzunny97
e008b58e2dff76f4f02393c22eeb36519dc3929e
1,952
cpp
C++
opencl/source/kernel/image_transformer.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
1
2019-03-01T13:54:45.000Z
2019-03-01T13:54:45.000Z
opencl/source/kernel/image_transformer.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
5
2019-03-26T17:26:07.000Z
2021-03-30T12:17:10.000Z
opencl/source/kernel/image_transformer.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
4
2018-05-09T10:04:27.000Z
2018-07-12T13:33:31.000Z
/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/source/kernel/image_transformer.h" #include "shared/source/helpers/ptr_math.h" #include "opencl/source/mem_obj/image.h" #include "opencl/source/program/kernel_info.h" namespace NEO { void ImageTransformer::reg...
39.04
155
0.721311
lukaszgotszaldintel
e009d19d55138021b147a48ad8b257c77d85b3b4
602
hpp
C++
smart_tales_ii/game/ui/scorebubble.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
smart_tales_ii/game/ui/scorebubble.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
11
2018-02-08T14:50:16.000Z
2022-01-21T19:54:24.000Z
smart_tales_ii/game/ui/scorebubble.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
/* scorebubble.hpp This class is nothing more than a number floating upwards. It has a lifetime and velocity defined in its cpp file. */ #pragma once #include <SFML/Graphics.hpp> #include <string> class ScoreBubble : public sf::Drawable { private: sf::Text text; float timeAlive = 0.f; // in seconds protected:...
20.758621
78
0.739203
TijmenUU
e00aa79854d72fc0c9d2e918db9f38ff06131034
1,209
cpp
C++
recordMagData.cpp
chuanstudyup/MPU9250
aa41c58e8100b56bdcb1261d9617552378417257
[ "Apache-2.0" ]
5
2021-09-15T09:10:08.000Z
2022-02-09T11:44:14.000Z
recordMagData.cpp
chuanstudyup/MPU9250
aa41c58e8100b56bdcb1261d9617552378417257
[ "Apache-2.0" ]
null
null
null
recordMagData.cpp
chuanstudyup/MPU9250
aa41c58e8100b56bdcb1261d9617552378417257
[ "Apache-2.0" ]
4
2021-09-15T09:10:44.000Z
2022-02-09T11:44:17.000Z
#include "MPU9250.h" #include <fstream> using namespace std; int main() { MPU9250 mpu; bcm2835_init(); mpu.verbose(true); if(!mpu.setup(0x68)) { while(1){ printf("MPU connection failed.\n"); delay(5000); } }else printf("MPU setup successfully!\n"); mpu.initRecordCalData(); //记录用来校准的原始数据时,先把校准参数都设置为...
24.673469
91
0.652605
chuanstudyup
e00c96ad564ea7fc974d666898080db71d109d7b
2,890
hpp
C++
include/TE/DrawManager.hpp
bitDaft/grid-game-system
e11e45b6ed3ce12e04ebf76c93c3d8cc5335679e
[ "MIT" ]
1
2020-06-24T16:16:49.000Z
2020-06-24T16:16:49.000Z
include/DrawManager.hpp
bitDaft/Project-TE
f0e0ec184d42b46799d48d69eb4eb9d369cbfcc3
[ "MIT" ]
null
null
null
include/DrawManager.hpp
bitDaft/Project-TE
f0e0ec184d42b46799d48d69eb4eb9d369cbfcc3
[ "MIT" ]
null
null
null
/* * File: DrawManager.hpp * Project: Project-TE * Created Date: Sunday December 1st 2019 * Author: bitDaft * ----- * Last Modified: Saturday December 28th 2019 11:24:55 pm * Modified By: bitDaft at <ajaxhis@tutanota.com> * ----- * Copyright (c) 2019 bitDaft */ #ifndef DRAWMANAGER_HPP #define DRAWMANAGER_HPP...
28.058252
104
0.703806
bitDaft
e015da95851bf7c2cfc045b0baefd8d0ecb543a9
2,251
cpp
C++
source/basic/ref_ptr.cpp
JianboYan/cppthings-learning
71c15213474786795fb09800efd3cf19ee562681
[ "MIT" ]
null
null
null
source/basic/ref_ptr.cpp
JianboYan/cppthings-learning
71c15213474786795fb09800efd3cf19ee562681
[ "MIT" ]
null
null
null
source/basic/ref_ptr.cpp
JianboYan/cppthings-learning
71c15213474786795fb09800efd3cf19ee562681
[ "MIT" ]
null
null
null
// // ref_ptr.cpp // CppThings // // Created by Ryan on 2020/10/2. // #include <iostream> #include <vector> namespace RefPtr{ using namespace std; // 1. 指针与引用的区别 // 1.1. 定义初始化 // int &ri; // error: Declaration of reference variable 'ri' requires an initializer int i; int &ri = i; // 定义必须初始化 int *pi; // 定义可以不初始...
20.651376
187
0.59307
JianboYan
e0179465b9cb5aa3cf0b479421f9f0457b5cc1ac
14,008
cpp
C++
Source/FAP.cpp
biug/XBot
20f51094ee18aeaa58d769a894c68b4f05f900d4
[ "MIT" ]
1
2017-09-21T19:08:42.000Z
2017-09-21T19:08:42.000Z
Source/FAP.cpp
biug/XBot
20f51094ee18aeaa58d769a894c68b4f05f900d4
[ "MIT" ]
null
null
null
Source/FAP.cpp
biug/XBot
20f51094ee18aeaa58d769a894c68b4f05f900d4
[ "MIT" ]
null
null
null
#include "FAP.h" #include "BWAPI.h" XBot::FastAPproximation fap; namespace XBot { FastAPproximation::FastAPproximation() { } void FastAPproximation::addUnitPlayer1(FAPUnit fu) { player1.push_back(fu); } void FastAPproximation::addIfCombatUnitPlayer1(FAPUnit fu) { if (fu.groundDamage || fu.airDamage || fu...
29.366876
198
0.666119
biug
e01a758c3acfc94a99a93f10bbd5db16f70d2f6e
522
cpp
C++
Homework/3.35.cpp
TuringGu/C-code
76085120a930a900e7d686065261032288858fb6
[ "MIT" ]
null
null
null
Homework/3.35.cpp
TuringGu/C-code
76085120a930a900e7d686065261032288858fb6
[ "MIT" ]
null
null
null
Homework/3.35.cpp
TuringGu/C-code
76085120a930a900e7d686065261032288858fb6
[ "MIT" ]
null
null
null
#include<iostream> #include<string> using namespace std; const int MAXSIZE=100; class Stock{ public: Stock() { strcpy_s(stockcode, " "); } Stock(char na[MAXSIZE], int q = 1000, double p = 8.98) { strcpy_s(stockcode, na); quan = q; price = p; } void print() { cout << stockcode<<" " << quan <<" "<< pr...
13.736842
57
0.599617
TuringGu
e01e77202b5a9ef61ef96c1246e34c6f9ed6f18f
16,962
hpp
C++
flat_map.hpp
pingwindyktator/cpp_sandbox
815a80f826aa0ea718389ebda0f8e6513a051de1
[ "WTFPL" ]
1
2018-02-15T21:06:17.000Z
2018-02-15T21:06:17.000Z
flat_map.hpp
pingwindyktator/cpp_sandbox
815a80f826aa0ea718389ebda0f8e6513a051de1
[ "WTFPL" ]
null
null
null
flat_map.hpp
pingwindyktator/cpp_sandbox
815a80f826aa0ea718389ebda0f8e6513a051de1
[ "WTFPL" ]
null
null
null
#pragma once #include <algorithm> #include <cstddef> #include <functional> #include <stdexcept> #include <type_traits> #include <utility> #include <vector> namespace sandbox { template<class Key, class T, class Compare = std::less<Key>, class Allocator = std::allocator<std::pair<const Key, T>>> class flat_map { public...
24.547033
154
0.545219
pingwindyktator
e020dbb997287980cb17e804366dd87eb2338188
108
cpp
C++
ro-string-db/string_pool/run_local_tests.cpp
vladcc/ro-string-db
6f27a71e583f1816277c4027b51fe45c29e017fd
[ "MIT" ]
1
2020-09-20T22:12:53.000Z
2020-09-20T22:12:53.000Z
ro-string-db/string_pool/run_local_tests.cpp
vladcc/ro-string-db
6f27a71e583f1816277c4027b51fe45c29e017fd
[ "MIT" ]
null
null
null
ro-string-db/string_pool/run_local_tests.cpp
vladcc/ro-string-db
6f27a71e583f1816277c4027b51fe45c29e017fd
[ "MIT" ]
null
null
null
#include "test_string_pool.hpp" int main() { run_test_string_pool(); return test_string_pool_failed(); }
13.5
34
0.759259
vladcc
e0249a262cd61106e21005cfabe5f19fb889e8a7
1,456
cpp
C++
3DLfC4D shaders/source/DL_Principled_Object.cpp
FilipMalmberg/3Delight-for-Cinema-4D
3394f8cd9e1121b8c35aa4e2b2443450ef82cbff
[ "MIT" ]
null
null
null
3DLfC4D shaders/source/DL_Principled_Object.cpp
FilipMalmberg/3Delight-for-Cinema-4D
3394f8cd9e1121b8c35aa4e2b2443450ef82cbff
[ "MIT" ]
null
null
null
3DLfC4D shaders/source/DL_Principled_Object.cpp
FilipMalmberg/3Delight-for-Cinema-4D
3394f8cd9e1121b8c35aa4e2b2443450ef82cbff
[ "MIT" ]
null
null
null
#include "c4d.h" #include "IDs.h" /* We want our shaders to be directly on the create menu of materials instead of being on create->shader->YourShaderDir->yourShader to do so we use C4DPL_BUILDMENU to dynamically enhance the menu In C4D you can only call objects or commands to C4DPL_BUILDMENU. But cinema4d regist...
33.860465
143
0.791896
FilipMalmberg
e024cf04b6e9269577717c77c6dc6388843a8cc2
1,904
hpp
C++
library/include/darcel/data_types/callable_data_type.hpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
null
null
null
library/include/darcel/data_types/callable_data_type.hpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
null
null
null
library/include/darcel/data_types/callable_data_type.hpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
1
2020-04-17T13:25:25.000Z
2020-04-17T13:25:25.000Z
#ifndef DARCEL_CALLABLE_DATA_TYPE_HPP #define DARCEL_CALLABLE_DATA_TYPE_HPP #include "darcel/data_types/data_type.hpp" #include "darcel/data_types/data_type_visitor.hpp" #include "darcel/data_types/data_types.hpp" #include "darcel/semantics/function.hpp" namespace darcel { //! A data type used to represent all of a...
27.594203
78
0.707458
spiretrading
e02b48f54b5e5ee32c43890c1ec0aa11543fe7a8
7,990
cpp
C++
os/internal/threads.cpp
JehTeh/jel
2c43cf23ea7b89e7ec0f7c2e9549be74ab0bbc4b
[ "MIT" ]
14
2018-10-09T00:08:26.000Z
2021-09-24T19:49:42.000Z
os/internal/threads.cpp
JehTeh/jel
2c43cf23ea7b89e7ec0f7c2e9549be74ab0bbc4b
[ "MIT" ]
null
null
null
os/internal/threads.cpp
JehTeh/jel
2c43cf23ea7b89e7ec0f7c2e9549be74ab0bbc4b
[ "MIT" ]
null
null
null
/** @file os/internal/threads.cpp * @brief Implementation of the threading wrappers for jel. * * @detail * The Thread wrappers used by the jel perform two functions: Abstracting the C API of the RTOS * and providing some additional setup and teardown capability, such as exception capture. This * is don...
26.993243
100
0.673967
JehTeh
e02b80492b11d593f0c813c15a06408f4db5b6ec
3,948
cpp
C++
XYModem/examples/example_ymodem.cpp
Riuzakiii/XYModem
97d5dba9285aaefa2668865e4088a579cccc53a7
[ "MIT" ]
null
null
null
XYModem/examples/example_ymodem.cpp
Riuzakiii/XYModem
97d5dba9285aaefa2668865e4088a579cccc53a7
[ "MIT" ]
null
null
null
XYModem/examples/example_ymodem.cpp
Riuzakiii/XYModem
97d5dba9285aaefa2668865e4088a579cccc53a7
[ "MIT" ]
null
null
null
/* * Usage : ./ymodem.exe -f "filepath" -port COM1 * -h : get help * -port : the serial port of your device. If you don't add a port after this, it will display the available ports * -f "filepath1": send file (filepath should be absolute, don't * know what happens if the path is relative) -hex : activate the hex...
36.220183
114
0.531408
Riuzakiii
e02d2784f099894e23c86d2570450059dd5d44ee
3,978
cpp
C++
src/line.cpp
ansko/geom3d
a46d53d28c61491cdaeea38314da12ea00b2c3db
[ "Apache-2.0" ]
null
null
null
src/line.cpp
ansko/geom3d
a46d53d28c61491cdaeea38314da12ea00b2c3db
[ "Apache-2.0" ]
null
null
null
src/line.cpp
ansko/geom3d
a46d53d28c61491cdaeea38314da12ea00b2c3db
[ "Apache-2.0" ]
null
null
null
#include "point.hpp" #include "line.hpp" #include "line_segment.hpp" #include "plane.hpp" #include "polygon.hpp" namespace geom3d { Point Line::pt1() const { return pt1_; } Point Line::pt2() const { return pt2_; } double Line::distance_to(const Point &pt) const { double x1 = pt1_.x(), x2 = pt2_.x(),...
29.25
82
0.498994
ansko
e02de197270a1e8b93e668161b4a4dae6dc79c54
3,040
cpp
C++
Projects/ShipGame/src/Main.cpp
SemperParatusGithub/SemperGL
b2866b43224cc1afa17c7ce0445507eb4733adc8
[ "MIT" ]
7
2020-11-10T23:43:49.000Z
2021-04-25T20:13:40.000Z
Projects/ShipGame/src/Main.cpp
SemperParatusGithub/SemperGL
b2866b43224cc1afa17c7ce0445507eb4733adc8
[ "MIT" ]
null
null
null
Projects/ShipGame/src/Main.cpp
SemperParatusGithub/SemperGL
b2866b43224cc1afa17c7ce0445507eb4733adc8
[ "MIT" ]
null
null
null
#include "Level.h" enum State { MainMenu = 0, Playing, Dead, Close }; int main() { sgl::Core::Init(); sgl::Window window("Ship Game", 1280, 720); window.SetIcon(sgl::WindowIcon("res/icons/Icon.png")); window.SetVsync(1); bool fullscreen = false; window.SetEventCallback([&](sgl::Event &e) { if (e.isType<...
25.123967
110
0.642434
SemperParatusGithub
e0306a85bdbba3a75ea283908382efea5e64e581
2,684
cpp
C++
untests/sources/untests_core/debug.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
92
2018-08-07T14:45:33.000Z
2021-11-14T20:37:23.000Z
untests/sources/untests_core/debug.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
43
2018-09-30T20:48:03.000Z
2020-04-20T20:05:26.000Z
untests/sources/untests_core/debug.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
13
2018-08-08T13:45:28.000Z
2020-10-02T11:55:58.000Z
/******************************************************************************* * This file is part of the "Enduro2D" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2018-2020, by Matvey Cherevko (blackmatov@gmail.com) ***************************************************...
34.857143
88
0.552534
NechukhrinN
e03268d013bd44d5ed1d9bc787bf40e15fb1cb46
51,165
cpp
C++
src/GUI/scrollbar.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
1
2018-04-01T16:47:52.000Z
2018-04-01T16:47:52.000Z
src/GUI/scrollbar.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
src/GUI/scrollbar.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
/////////////////////////////////////////////// // // scrollbar.cpp // // Implementace pro scrollbar a jeho casti scrollbarButtons // // A: Jan Poduska // /////////////////////////////////////////////// #include "stdafx.h" #include "scrollbar.h" #include "widgets.h" #include "dxbliter.h" //////////...
40.192459
305
0.619936
HonzaMD
e03d6aa003ca8bd54ec8993b909c9093fa671d35
717
cpp
C++
APIs_Drivers/DigitalIn_ex_1/main.cpp
adbridge/mbed-os-examples-docs_only
3f71b9fae755955ba6e5b2c8978a9f83f65c0f9c
[ "Apache-2.0" ]
4
2018-11-21T06:56:02.000Z
2021-12-02T13:51:18.000Z
APIs_Drivers/DigitalIn_ex_1/main.cpp
adbridge/mbed-os-examples-docs_only
3f71b9fae755955ba6e5b2c8978a9f83f65c0f9c
[ "Apache-2.0" ]
62
2018-10-12T16:19:19.000Z
2021-09-19T23:44:21.000Z
APIs_Drivers/DigitalIn_ex_1/main.cpp
adbridge/mbed-os-examples-docs_only
3f71b9fae755955ba6e5b2c8978a9f83f65c0f9c
[ "Apache-2.0" ]
27
2018-10-12T15:52:45.000Z
2021-08-13T05:42:33.000Z
/* * Copyright (c) 2006-2020 Arm Limited and affiliates. * SPDX-License-Identifier: Apache-2.0 */ #include "mbed.h" DigitalIn mypin(SW2); // change this to the button on your board DigitalOut myled(LED1); int main() { // check mypin object is initialized and connected to a pin if (mypin.is_connected()) {...
25.607143
65
0.645746
adbridge
e0411a6404bca9d2b90aefb3ef94b78edb1ee377
8,848
cpp
C++
src/puzzles.cpp
LeifAndersen/remarkable_puzzles
2745eceeb5965406d3e9dd5fbf6b5057706a3f69
[ "MIT" ]
8
2021-01-14T16:07:05.000Z
2021-12-07T11:35:31.000Z
src/puzzles.cpp
LeifAndersen/remarkable_puzzles
2745eceeb5965406d3e9dd5fbf6b5057706a3f69
[ "MIT" ]
15
2021-01-14T21:00:03.000Z
2022-01-04T04:09:12.000Z
src/puzzles.cpp
LeifAndersen/remarkable_puzzles
2745eceeb5965406d3e9dd5fbf6b5057706a3f69
[ "MIT" ]
2
2021-01-14T20:56:15.000Z
2021-03-04T19:59:13.000Z
#include <cstdarg> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <sys/time.h> #include "puzzles.hpp" #include "config.hpp" // === Debug === #include "debug.hpp" #ifdef NDEBUG #undef DEBUG_FRONTEND #undef DEBUG_DRAW #undef DEBUG_TIMER #endif #ifdef DEBUG_FRO...
26.41194
86
0.615732
LeifAndersen
e043eb1f59f4577012d4abf7160302b79a6c3e6b
8,144
cpp
C++
NYPR/PlateLocate/NYPlateDetect.cpp
NathanYu1124/PLR_Vision
2eceda3462e656a257a6cabb18fef6bee448fb9b
[ "Apache-2.0" ]
17
2018-06-20T17:48:47.000Z
2021-12-01T10:40:27.000Z
NYPR/PlateLocate/NYPlateDetect.cpp
rsingh2083/PLR_Vision
2eceda3462e656a257a6cabb18fef6bee448fb9b
[ "Apache-2.0" ]
null
null
null
NYPR/PlateLocate/NYPlateDetect.cpp
rsingh2083/PLR_Vision
2eceda3462e656a257a6cabb18fef6bee448fb9b
[ "Apache-2.0" ]
10
2019-03-02T07:15:34.000Z
2021-08-11T12:07:06.000Z
// // NYPlateDetect.cpp // NYPlateRecognition // // Created by NathanYu on 24/01/2018. // Copyright © 2018 NathanYu. All rights reserved. // #include "NYPlateDetect.hpp" // 检测图片中的车牌 vector<NYPlate> NYPlateDetect::detectPlates(Mat src) { vector<NYPlate> platesVec; vector<NYPlate> sobel_plates; vector<N...
28.376307
125
0.564219
NathanYu1124
e04ceeb56788a5b8cda7f248428ac669cd955aeb
1,731
cpp
C++
Easy/valid-parentheses.cpp
utkarshavardhana/LeetCode-Problems
1b574945c59d8050a55a9d1c922dde65e6bb7c75
[ "MIT" ]
1
2020-05-10T07:21:24.000Z
2020-05-10T07:21:24.000Z
Easy/valid-parentheses.cpp
utkarshavardhana/LeetCode-Problems
1b574945c59d8050a55a9d1c922dde65e6bb7c75
[ "MIT" ]
null
null
null
Easy/valid-parentheses.cpp
utkarshavardhana/LeetCode-Problems
1b574945c59d8050a55a9d1c922dde65e6bb7c75
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/valid-parentheses/ // // Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. // // An input string is valid if: // // Open brackets must be closed by the same type of brackets. // Open brackets must be cl...
25.086957
122
0.353553
utkarshavardhana
e04dfe2331a9c141b5ae3fec88e534d0f6549211
1,486
cpp
C++
Valtrook/Valtrook/RenderingEngine.cpp
animeenginedev/Valtrook
10cf7332643765534f8a4263cc4e422c4356487b
[ "MIT" ]
null
null
null
Valtrook/Valtrook/RenderingEngine.cpp
animeenginedev/Valtrook
10cf7332643765534f8a4263cc4e422c4356487b
[ "MIT" ]
null
null
null
Valtrook/Valtrook/RenderingEngine.cpp
animeenginedev/Valtrook
10cf7332643765534f8a4263cc4e422c4356487b
[ "MIT" ]
null
null
null
#include "RenderingEngine.h" #include <gl\glew.h> #include <iostream> #include <sstream> namespace Val { Window RenderingEngine::window; RenderingEngine::RenderingEngine() { } RenderingEngine::~RenderingEngine() { } void RenderingEngine::InitWindow() { window.create(0); std::stringstream str = std::stri...
20.081081
63
0.711306
animeenginedev
e05059cf8c65f90777bcff5cebe533bfa326746b
2,229
hpp
C++
src/SynthesizeSegment.hpp
haruneko/uzume_vocoder
63343118fd8d0dd8b7ebb92d98f023bfa6b9855e
[ "MIT" ]
1
2020-04-28T06:29:25.000Z
2020-04-28T06:29:25.000Z
src/SynthesizeSegment.hpp
haruneko/uzume
63343118fd8d0dd8b7ebb92d98f023bfa6b9855e
[ "MIT" ]
null
null
null
src/SynthesizeSegment.hpp
haruneko/uzume
63343118fd8d0dd8b7ebb92d98f023bfa6b9855e
[ "MIT" ]
null
null
null
// Copyright 2020 Hal@shurabaP. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. #ifndef __UZUME_VOCODER_SYNTHESIZE_SEGMENT_HPP__ #define __UZUME_VOCODER_SYNTHESIZE_SEGMENT_HPP__ #include "Spectrogram.hpp" namespace uzume { namespace vocoder...
33.772727
124
0.75729
haruneko
e050f21091ba16d03fa8ce813149006f205678e6
3,217
cpp
C++
CONTRIB/LLVM/src/lib/Tg/AMDGPU/AMDGPUTargetObjectFile.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
30
2016-09-06T06:58:43.000Z
2021-12-23T11:59:38.000Z
CONTRIB/LLVM/src/lib/Tg/AMDGPU/AMDGPUTargetObjectFile.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
21
2016-08-11T09:43:43.000Z
2017-01-29T12:52:56.000Z
CONTRIB/LLVM/src/lib/Tg/AMDGPU/AMDGPUTargetObjectFile.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
17
2016-10-24T06:08:16.000Z
2022-02-18T17:27:14.000Z
//===-- AMDGPUHSATargetObjectFile.cpp - AMDGPU Object Files ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
36.556818
81
0.578489
Cwc-Test
e051f2422e3ff0ebeea24593e27b4b2762c4b2aa
539
hpp
C++
src/player_human.hpp
a-n-t-h-o-n-y/cursed-chess
a932f48bac0431c927e7ec569e8d167e3b261754
[ "MIT" ]
null
null
null
src/player_human.hpp
a-n-t-h-o-n-y/cursed-chess
a932f48bac0431c927e7ec569e8d167e3b261754
[ "MIT" ]
null
null
null
src/player_human.hpp
a-n-t-h-o-n-y/cursed-chess
a932f48bac0431c927e7ec569e8d167e3b261754
[ "MIT" ]
null
null
null
#ifndef CHESS_PLAYER_HUMAN_HPP #define CHESS_PLAYER_HUMAN_HPP #include <mutex> #include "move.hpp" #include "player.hpp" #include "shared_user_input.hpp" namespace chess { class Chess_engine; } // namespace chess namespace chess::player { inline auto human() -> Player { return {"Human", [](Chess_engine const&)...
21.56
74
0.679035
a-n-t-h-o-n-y
e053d66898ad019e0101859f68cd0c73e58218db
1,284
hpp
C++
include/Game/Item.hpp
darwin-s/nanocraft
dcb8b590fa3310b726529ab5e36b18893f6a3b1f
[ "Apache-2.0" ]
2
2021-08-12T10:05:53.000Z
2021-08-13T16:25:49.000Z
include/Game/Item.hpp
darwin-s/nanocraft
dcb8b590fa3310b726529ab5e36b18893f6a3b1f
[ "Apache-2.0" ]
null
null
null
include/Game/Item.hpp
darwin-s/nanocraft
dcb8b590fa3310b726529ab5e36b18893f6a3b1f
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Sirbu Dan // // 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...
29.181818
75
0.715732
darwin-s
e0546cb6216e6946ff2b3bec378ac70d890d1da8
465
cpp
C++
src/tools/tools__MB.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
src/tools/tools__MB.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
src/tools/tools__MB.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
// // // /// @brief Returns the conversion factor from bytes to megabytes. // /// @return @f$ 0.000000954 @f$ // inline const double MB() { return 0.000000954; }; // // // /// @param [in] data_size A numerical (only) argument in byte units. // /// @brief Converts the given @c data_size to megabyte units. // /// @retur...
17.884615
68
0.664516
violador
e054d96afb4867d6e5dee9a2d51042dce8b99679
5,457
hpp
C++
src/backend/cuda/kernel/resize.hpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
4
2015-12-16T09:41:32.000Z
2018-10-29T10:38:53.000Z
src/backend/cuda/kernel/resize.hpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
3
2015-11-15T18:43:47.000Z
2015-12-16T09:43:14.000Z
src/backend/cuda/kernel/resize.hpp
pavanky/arrayfire
f983a79c7d402450bd2a704bbc1015b89f0cd504
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
40.422222
105
0.439069
ckeitz
e0576645a761fdeaebb6655a7fbee24b356879da
25,721
cpp
C++
src/Socket.cpp
seppeon/NetChat
9b30513179f5d97a39ad9444dc94640976218b77
[ "MIT" ]
null
null
null
src/Socket.cpp
seppeon/NetChat
9b30513179f5d97a39ad9444dc94640976218b77
[ "MIT" ]
null
null
null
src/Socket.cpp
seppeon/NetChat
9b30513179f5d97a39ad9444dc94640976218b77
[ "MIT" ]
null
null
null
#include "Socket.h" #include "WinsockRaii.h" #include "WindowsSocketRaii.h" #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <ws2tcpip.h> #pragma comment(lib, "ws2_32.lib") namespace Net { std::string GetStatusDescription(BindStatus status) noexcept { switch(status) { case BindStatus::Success: retur...
50.832016
422
0.755647
seppeon
e057dc6310154c57912c788292829909feffde5a
2,169
cpp
C++
pc/1.6.4_lcddisplay.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
pc/1.6.4_lcddisplay.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
pc/1.6.4_lcddisplay.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstring> #include <cctype> #define VERT 1 #define HOR 0 using namespace std; const int MAXN = 8+2; const int MAXS = 10+5; const int MAXR = 2*MAXS+3; const int MAXC = MAXN*(MAXS+2); int S; // [1, 10] size int N; // [0, 9999 9999] number int digits[10][7] = {{1, 1, 1, 1, 1...
23.576087
71
0.384509
aoibird
e05844649f727696eca04f4542aab71cbfe7031c
395
cc
C++
src/leetcode/palindromeNumber.cc
yuebanyishenqiu/my_repo
ecc05146eac9f85ccb1ba07717a36f3044652264
[ "MIT" ]
null
null
null
src/leetcode/palindromeNumber.cc
yuebanyishenqiu/my_repo
ecc05146eac9f85ccb1ba07717a36f3044652264
[ "MIT" ]
null
null
null
src/leetcode/palindromeNumber.cc
yuebanyishenqiu/my_repo
ecc05146eac9f85ccb1ba07717a36f3044652264
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; bool judge(int i){ if(i < 0 || ((i % 10 == 0 && i != 0))) return false; int j = 0; while(i > j){ j = j*10 + i%10; i /= 10; } return (i == j || i == j/10)? true:false; } int main(){ int i; cin >> i; if(judge(i)) cout ...
17.954545
45
0.425316
yuebanyishenqiu