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
f1d751e953d0eed8d2a4d0d74293687e75404e1c
2,719
cpp
C++
Shadows/Game.cpp
EmilianC/Jewel3D-Samples
077c5f2531814ffe9041021c5ba5fe93e0461348
[ "MIT" ]
6
2017-02-04T21:47:01.000Z
2019-06-01T00:33:56.000Z
Shadows/Game.cpp
EmilianC/Gemcutter-Samples
077c5f2531814ffe9041021c5ba5fe93e0461348
[ "MIT" ]
null
null
null
Shadows/Game.cpp
EmilianC/Gemcutter-Samples
077c5f2531814ffe9041021c5ba5fe93e0461348
[ "MIT" ]
3
2018-04-12T04:09:15.000Z
2019-12-19T20:06:49.000Z
#include "Game.h" #include <gemcutter/Entity/Hierarchy.h> #include <gemcutter/Input/Input.h> #include <gemcutter/Math/Matrix.h> #include <gemcutter/Rendering/Camera.h> #include <gemcutter/Rendering/Light.h> #include <gemcutter/Rendering/Mesh.h> #include <gemcutter/Resource/Material.h> #include <gemcutter/Resource/Mode...
26.920792
93
0.709084
EmilianC
f1d81120239f2881c17133155996f17f280e2788
1,966
ipp
C++
implement/oglplus/images/sphere_bmap.ipp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
364
2015-01-01T09:38:23.000Z
2022-03-22T05:32:00.000Z
implement/oglplus/images/sphere_bmap.ipp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
55
2015-01-06T16:42:55.000Z
2020-07-09T04:21:41.000Z
implement/oglplus/images/sphere_bmap.ipp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
57
2015-01-07T18:35:49.000Z
2022-03-22T05:32:04.000Z
/** * @file oglplus/images/sphere_bmap.ipp * @brief Implementation of images::SphereBumpMap * * @author Matus Chochlik * * Copyright 2010-2019 Matus Chochlik. 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.t...
27.690141
69
0.539166
matus-chochlik
f1ed79f793e5fa7fe143dcd2981a49c9d124d13a
2,795
cpp
C++
Source/BehaviorTreeExtension/Private/BTStateMachineSelector.cpp
bretvincent/UnrealBehaviorTreeExtension
dc82c9297a43bb5096c25c262d661609534f9897
[ "MIT" ]
2
2021-09-11T11:45:31.000Z
2021-12-23T07:35:41.000Z
Source/BehaviorTreeExtension/Private/BTStateMachineSelector.cpp
bretvincent/UnrealBehaviorTreeExtension
dc82c9297a43bb5096c25c262d661609534f9897
[ "MIT" ]
null
null
null
Source/BehaviorTreeExtension/Private/BTStateMachineSelector.cpp
bretvincent/UnrealBehaviorTreeExtension
dc82c9297a43bb5096c25c262d661609534f9897
[ "MIT" ]
1
2021-09-11T11:45:34.000Z
2021-09-11T11:45:34.000Z
// Copyright 2019 Vincent Breton Kochanowski. All Rights Reserved. #include "BTStateMachineSelector.h" #include "BTStateTransitionDecorator.h" void UBTStateMachineSelector::OnGameplayTaskActivated(UGameplayTask& Task) { } void UBTStateMachineSelector::OnGameplayTaskDeactivated(UGameplayTask& Task) { } ...
28.814433
143
0.743828
bretvincent
f1f069dbe0c7d96784f129f043ead6c4d09d247d
4,291
cc
C++
engine/Node.cc
zhouzhiyong18/SubgraphMatch
e34b088ed5efc67556c91ad9591dc8718a048d59
[ "Apache-2.0" ]
4
2018-11-19T08:05:41.000Z
2018-11-19T11:55:55.000Z
engine/Node.cc
ChengTsang/SSSP
6d6680b87e0edaac5668cbf9cb4d39ee7a77d150
[ "Apache-2.0" ]
null
null
null
engine/Node.cc
ChengTsang/SSSP
6d6680b87e0edaac5668cbf9cb4d39ee7a77d150
[ "Apache-2.0" ]
null
null
null
/** * @file Node.cc * @author Songjie Niu, Shimin Chen * @version 0.1 * * @section LICENSE * * Copyright 2016 Shimin Chen (chensm@ict.ac.cn) and * Songjie Niu (niusongjie@ict.ac.cn) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
28.230263
111
0.646003
zhouzhiyong18
7b008b951d5d37d8e11c711155bc85bb79ee924b
1,483
cpp
C++
src/2015/day03.cpp
AnthonyN1/Advent-of-Code
28782b219a50d92b2621dc88ecf00ae2e3b45b0a
[ "MIT" ]
null
null
null
src/2015/day03.cpp
AnthonyN1/Advent-of-Code
28782b219a50d92b2621dc88ecf00ae2e3b45b0a
[ "MIT" ]
null
null
null
src/2015/day03.cpp
AnthonyN1/Advent-of-Code
28782b219a50d92b2621dc88ecf00ae2e3b45b0a
[ "MIT" ]
null
null
null
/* Advent of Code - 2015: Day 03 Author: Anthony Nool (AnthonyN1) */ #include <iostream> #include <set> #include <string> #include <vector> #include "../../includes/point.h" /* Updates pt based on the direction ch is pointing. ch is either '^', 'v', '<', or '>'. */ void updatePoint(Point &pt, char ch){ switch(...
20.040541
74
0.633176
AnthonyN1
7b0277669cf1498f84f4fd55b963de55dc6848df
13,608
cpp
C++
AppForm.cpp
DarknessFX/UEPlugins_DisableDefault
dbaf4c83a8dbe1bb745bb00bd0a5f5a87c0b3271
[ "MIT" ]
1
2021-12-01T13:57:54.000Z
2021-12-01T13:57:54.000Z
AppForm.cpp
DarknessFX/UEPlugins_DisableDefault
dbaf4c83a8dbe1bb745bb00bd0a5f5a87c0b3271
[ "MIT" ]
null
null
null
AppForm.cpp
DarknessFX/UEPlugins_DisableDefault
dbaf4c83a8dbe1bb745bb00bd0a5f5a87c0b3271
[ "MIT" ]
null
null
null
/// /// Created by DarknessFX - https://dfx.lv - @DrkFX /// Source Code at https://github.com/DarknessFX/UEPlugins_DisableDefault /// #include <windows.h> #include "AppForm.h" using namespace System; using namespace System::Windows::Forms; using namespace System::IO; ...
33.935162
378
0.568122
DarknessFX
7b039b471b189e5416aa8eebf51d95d078696b02
8,365
cpp
C++
LifeBrush/Source/LifeBrush/VRInterface/CollectionSpace.cpp
timdecode/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
33
2019-04-23T23:00:09.000Z
2021-11-09T11:44:09.000Z
LifeBrush/Source/LifeBrush/VRInterface/CollectionSpace.cpp
MyelinsheathXD/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
1
2019-10-09T15:57:56.000Z
2020-03-05T20:01:01.000Z
LifeBrush/Source/LifeBrush/VRInterface/CollectionSpace.cpp
MyelinsheathXD/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
6
2019-04-25T00:10:55.000Z
2021-04-12T05:16:28.000Z
// Copyright 2018, Timothy Davison. All rights reserved. #include "LifeBrush.h" #include <cmath> #include "CollectionSpace.h" #include <../Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/Deploy/include/OpenEXR/halfLimits.h> UInteractionSpace::UInteractionSpace() { // Set this component to be initia...
24.895833
157
0.749671
timdecode
7b0885fff9dc7b16718e7cdc3d7d0b364df2b9b0
861
cpp
C++
unit_tests/test_flush.cpp
brridder/nanoarq
5aa9e5d9dda002f569aa70dcec0eded67404c44d
[ "Unlicense" ]
1
2021-12-07T18:33:20.000Z
2021-12-07T18:33:20.000Z
unit_tests/test_flush.cpp
skyformat99/nanoarq
167425b0a073c4e41f4d32eafc21cb1a71b186e3
[ "Unlicense" ]
null
null
null
unit_tests/test_flush.cpp
skyformat99/nanoarq
167425b0a073c4e41f4d32eafc21cb1a71b186e3
[ "Unlicense" ]
null
null
null
#include "arq_in_unit_tests.h" #include "arq_runtime_mock_plugin.h" #include <CppUTest/TestHarness.h> #include <CppUTestExt/MockSupport.h> #include <cstring> TEST_GROUP(flush) {}; namespace { TEST(flush, invalid_params) { CHECK_EQUAL(ARQ_ERR_INVALID_PARAM, arq_flush(nullptr)); } void MockSendWndFlush(arq__send_...
21.525
83
0.744483
brridder
7b0bb8a60fa230961fe485904d1fc910c3f6be90
333
cpp
C++
C++/bulb-switcher-iv.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/bulb-switcher-iv.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/bulb-switcher-iv.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n) // Space: O(1) class Solution { public: int minFlips(string target) { int result = 0; char curr = '0'; for (const auto& c : target) { if (c == curr) { continue; } curr = c; ++result; } return resu...
17.526316
38
0.393393
Akhil-Kashyap
7b0c268235e24726c5e4271e75d91c71fe37a633
1,691
cpp
C++
libs/modelmd3/impl/src/model/md3/impl/read_string.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/modelmd3/impl/src/model/md3/impl/read_string.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/modelmd3/impl/src/model/md3/impl/read_string.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/model/md3/exception.hpp> #include <sge/model/md3/string.hpp> #include <sge/model/md3/...
35.229167
92
0.716144
cpreh
7b0df066af04530745ec08a92576b72a336a1dee
5,864
cpp
C++
oja_unsupervised/main.cpp
Shimmen/NeuralNetworkStuff
f9058a7ce8aa9d1929083e974568795245304159
[ "MIT" ]
null
null
null
oja_unsupervised/main.cpp
Shimmen/NeuralNetworkStuff
f9058a7ce8aa9d1929083e974568795245304159
[ "MIT" ]
null
null
null
oja_unsupervised/main.cpp
Shimmen/NeuralNetworkStuff
f9058a7ce8aa9d1929083e974568795245304159
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <random> #define WITHOUT_NUMPY #include <matplotlib-cpp/matplotlibcpp.h> namespace plt = matplotlibcpp; /////////////////////////////////////////////// // Data reading, parsing, preprocessing struct Pattern { double x; double y; Pattern(double x, double y)...
28.8867
105
0.604707
Shimmen
7b16248afcbad5b4b9806804ed397b811651c375
9,742
cpp
C++
source/folders/camera/camera.cpp
jacoblammert/programmiersprachen-raytracer-cpp
d40ead374762094ee67d04c487764196f94748d6
[ "MIT" ]
null
null
null
source/folders/camera/camera.cpp
jacoblammert/programmiersprachen-raytracer-cpp
d40ead374762094ee67d04c487764196f94748d6
[ "MIT" ]
null
null
null
source/folders/camera/camera.cpp
jacoblammert/programmiersprachen-raytracer-cpp
d40ead374762094ee67d04c487764196f94748d6
[ "MIT" ]
null
null
null
#include "camera.hpp" /** Camera constructor with angle/ fov @param name of the camera @param fov field of view in degrees */ Camera::Camera (std::string const& name, float fov_x) : name_ {name}, position_ {0.0f, 0.0f, 0.0f}, direction_ {0.0000001f, 0.00000001f, -1.0f}, width_ {1}, height_ {1},...
32.912162
419
0.649559
jacoblammert
7b17e7e7fb6a568984fbf6c4e5913cb6c01ed11a
10,347
cpp
C++
Source/Scene/imstkcpdScene.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
2
2020-08-14T07:21:30.000Z
2021-08-30T09:39:09.000Z
Source/Scene/imstkcpdScene.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
null
null
null
Source/Scene/imstkcpdScene.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
1
2020-08-14T07:00:31.000Z
2020-08-14T07:00:31.000Z
#include "imstkcpdScene.h" #include <chrono> using Clock = std::chrono::steady_clock; const int nit = 1000; namespace cpd { Scene::Scene() { m_constraintSolver = std::make_shared<ConstraintSolver>(); m_externalForceSolver = std::make_shared<ExternalForceSolver>(); m_time.setZero(nit); m_pos.setZ...
25.802993
124
0.50662
quantingxie
7b2292fa629b25a62f8a6ccb64d25887a6cf388d
1,757
cpp
C++
Codes/Codes_for_xStar/diploidSequence.cpp
CasperLumby/Bottleneck_Size_Estimation
9f9d81e35c1ac9dc74541401e8da70d428be1ad1
[ "MIT" ]
null
null
null
Codes/Codes_for_xStar/diploidSequence.cpp
CasperLumby/Bottleneck_Size_Estimation
9f9d81e35c1ac9dc74541401e8da70d428be1ad1
[ "MIT" ]
null
null
null
Codes/Codes_for_xStar/diploidSequence.cpp
CasperLumby/Bottleneck_Size_Estimation
9f9d81e35c1ac9dc74541401e8da70d428be1ad1
[ "MIT" ]
1
2019-06-12T13:25:36.000Z
2019-06-12T13:25:36.000Z
// // diploidSequence.cpp // TransmissionProject // // Created by Casper Lumby on 28/10/2015. // Copyright © 2015 Casper Lumby. All rights reserved. // #include <stdio.h> #include "iostream" #include "diploidSequence.h" using namespace std; DiploidSequence::DiploidSequence() {} DiploidSequence::DiploidSequence(i...
27.888889
107
0.69152
CasperLumby
7b28229a8e9f3c34ef1117d7f38cc381de7f3050
778
cpp
C++
Code/src/engine/graphics/fonts/FontContainer.cpp
Thraix/MasterThesis
4e4cb94b2a4ee261b2b9974aa4b20f6643eb6595
[ "MIT" ]
1
2021-04-16T10:54:38.000Z
2021-04-16T10:54:38.000Z
Code/src/engine/graphics/fonts/FontContainer.cpp
Thraix/MasterThesis
4e4cb94b2a4ee261b2b9974aa4b20f6643eb6595
[ "MIT" ]
null
null
null
Code/src/engine/graphics/fonts/FontContainer.cpp
Thraix/MasterThesis
4e4cb94b2a4ee261b2b9974aa4b20f6643eb6595
[ "MIT" ]
null
null
null
#include "FontContainer.h" namespace Greet{ FontContainer::FontContainer(const std::string& filename, const std::string& name) : m_filename(filename),m_data(NULL),m_datasize(0), m_name(name) { } FontContainer::FontContainer(const byte* data, uint datasize, const std::string& name) : m_filename(""),m_...
19.45
88
0.611825
Thraix
7b2c9e3024ec3150c3e3013fa41163fbcf564d2c
400
cpp
C++
engine/source/private/core/threads.cpp
kociap/GameEngine
ff5f1ca589df5b44887c3383919a73bbe0ab05a0
[ "MIT" ]
12
2019-01-02T11:13:19.000Z
2020-06-02T10:58:20.000Z
engine/source/private/core/threads.cpp
kociap/GameEngine
ff5f1ca589df5b44887c3383919a73bbe0ab05a0
[ "MIT" ]
null
null
null
engine/source/private/core/threads.cpp
kociap/GameEngine
ff5f1ca589df5b44887c3383919a73bbe0ab05a0
[ "MIT" ]
1
2020-04-03T11:54:53.000Z
2020-04-03T11:54:53.000Z
#include <core/threads.hpp> #include <thread> #if defined(_WIN32) || defined(_WIN64) extern "C" { // xthreads.h struct xtime; void _Thrd_sleep(const xtime*); } namespace anton_engine::threads { void sleep(Timespec const& duration) { _Thrd_sleep(reinterpret_cast<xtime const*>(&duration)); ...
16.666667
63
0.6775
kociap
7b343a347a312d83c60063c15f44403f4a925f51
22,936
cpp
C++
comp477-a1/src/glMain.cpp
aidendeom/comp477-assignment
a2b4d752c40c23416f518047e92c29beaacf5e2c
[ "MIT" ]
null
null
null
comp477-a1/src/glMain.cpp
aidendeom/comp477-assignment
a2b4d752c40c23416f518047e92c29beaacf5e2c
[ "MIT" ]
null
null
null
comp477-a1/src/glMain.cpp
aidendeom/comp477-assignment
a2b4d752c40c23416f518047e92c29beaacf5e2c
[ "MIT" ]
null
null
null
#ifdef __APPLE__ #include <GLUT/glut.h> #else #ifdef _WIN32 #include "GL/glut.h" #else #include <GL/freeglut.h> #endif #endif #include <iostream> #include <fstream> #include <cmath> #include <cstring> #include <csignal> #include <chrono> #include <functional> #include <string> #include <Shlwapi.h> #include <Windows.h>...
23.427988
121
0.635943
aidendeom
7b38e38f837413b6622534a45a79f92246d736f0
18,513
cpp
C++
test/pt-client/test_pt_client.cpp
costanic/mbed-edge
4900e950ff67f8974b7aeef955289ef56606c964
[ "Apache-2.0" ]
24
2018-03-27T16:44:18.000Z
2020-04-28T15:28:34.000Z
test/pt-client/test_pt_client.cpp
costanic/mbed-edge
4900e950ff67f8974b7aeef955289ef56606c964
[ "Apache-2.0" ]
19
2021-01-28T20:14:45.000Z
2021-11-23T13:08:59.000Z
test/pt-client/test_pt_client.cpp
costanic/mbed-edge
4900e950ff67f8974b7aeef955289ef56606c964
[ "Apache-2.0" ]
28
2018-04-02T02:36:48.000Z
2020-10-13T05:37:16.000Z
#include "CppUTest/TestHarness.h" #include "CppUTestExt/MockSupport.h" #include "cpputest-custom-types/value_pointer.h" extern "C" { #include "jansson.h" #include <string.h> #include <event2/event.h> #include <event2/bufferevent.h> #include "pt-client/pt_api.h" #include "pt-client/pt_api_internal.h" #include "test-lib...
39.056962
120
0.708097
costanic
7b3d18818aba67a65bf5dcb69d54fcba1aed292f
21,118
cpp
C++
src/engine/render/Model.cpp
italrr/astro
1c1ac28eacb081eee17a19c833d7866dfb348967
[ "MIT" ]
2
2020-11-30T23:18:12.000Z
2021-10-16T05:26:16.000Z
src/engine/render/Model.cpp
italrr/astro
1c1ac28eacb081eee17a19c833d7866dfb348967
[ "MIT" ]
null
null
null
src/engine/render/Model.cpp
italrr/astro
1c1ac28eacb081eee17a19c833d7866dfb348967
[ "MIT" ]
null
null
null
#include <cmath> #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include "../common/Type.hpp" #include "../common/Result.hpp" #include "../Core.hpp" #include "Model.hpp" static astro::Mat<4,4, float> aiMat2Astro(const aiMatrix4x4 &mat){ astro::Mat<4,4, float>...
42.490946
183
0.564116
italrr
7b414cb0a59aa01e8d876de89b356fdd33d77f8e
5,672
cpp
C++
DialogSystemSolution/DialogSystem/j1DialogSystem.cpp
RoperoIvan/Dialogue-System
f9619decf859c452addc6a5ba37fcc26c892d9ea
[ "MIT" ]
null
null
null
DialogSystemSolution/DialogSystem/j1DialogSystem.cpp
RoperoIvan/Dialogue-System
f9619decf859c452addc6a5ba37fcc26c892d9ea
[ "MIT" ]
null
null
null
DialogSystemSolution/DialogSystem/j1DialogSystem.cpp
RoperoIvan/Dialogue-System
f9619decf859c452addc6a5ba37fcc26c892d9ea
[ "MIT" ]
null
null
null
#include "j1App.h" #include "j1UIManager.h" #include "j1Fonts.h" #include "j1DialogSystem.h" #include "j1Input.h" #include "GUI_Label.h" #include "GUI_Button.h" j1DialogSystem::j1DialogSystem() { } j1DialogSystem::~j1DialogSystem() { } bool j1DialogSystem::Start() { bool ret = true; LoadDialogue("Dialog.xml"); cur...
24.448276
165
0.681594
RoperoIvan
7b47036661d4b580854a359716405bc723c25137
810
cpp
C++
hackerrank/c++/stl/vector_erase.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
hackerrank/c++/stl/vector_erase.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
hackerrank/c++/stl/vector_erase.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <iostream> #include <vector> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int length; cin >> length; vector<unsigned int> sequence(length); for (auto& element : seq...
17.608696
63
0.569136
Rkhoiwal
0da2fba5c2f892c74d3f8f0f7cea5fa22c42a8a3
2,703
cpp
C++
Chapter_4_Graph/SSSP/kattis_emptyingbaltic.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
2
2021-12-29T04:12:59.000Z
2022-03-30T09:32:19.000Z
Chapter_4_Graph/SSSP/kattis_emptyingbaltic.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
null
null
null
Chapter_4_Graph/SSSP/kattis_emptyingbaltic.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
1
2022-03-01T06:12:46.000Z
2022-03-01T06:12:46.000Z
/* kattis - emptyingbaltic Observation 1: When considering how much water will eventually be drained from a cell r,c, we realise it is actually drained until the level of the minimum max height along all paths from r,c to the drain. This is actually similar to the SSSP principle but instead of minimising d...
34.653846
120
0.572327
BrandonTang89
0da5bf18e4e0ca7b2684740e13a4964a656c8332
370
cpp
C++
09-Inheritance/06-Gen_Spec.cpp
PronomitaDey/Cpp_Tutorial
a64a10a27d018bf9edf5280505201a1fbfd359ed
[ "MIT" ]
null
null
null
09-Inheritance/06-Gen_Spec.cpp
PronomitaDey/Cpp_Tutorial
a64a10a27d018bf9edf5280505201a1fbfd359ed
[ "MIT" ]
1
2021-10-01T13:35:44.000Z
2021-10-02T03:54:29.000Z
09-Inheritance/06-Gen_Spec.cpp
PronomitaDey/Cpp_Tutorial
a64a10a27d018bf9edf5280505201a1fbfd359ed
[ "MIT" ]
3
2021-10-01T14:07:09.000Z
2021-10-01T18:24:31.000Z
#include <iostream> using namespace std; // Generalization /* Shape is not something real whereas Rectangle, Square and all are so Shape is just a Generalization of those This is also called as Polymorphism */ // Specialization /* Cuboid is an extension of Rectangle So this method is calle...
16.818182
57
0.694595
PronomitaDey
0da642165d7437a4d49fd5224549f9f7b091fadc
2,196
cpp
C++
Jimmy_Core/source/Sys_Init.cpp
nozsavsev/jimmy
0be7a153e9c1a2f14710d072fd172ee1b3402742
[ "Apache-2.0" ]
1
2021-05-17T23:03:14.000Z
2021-05-17T23:03:14.000Z
Jimmy_Core/source/Sys_Init.cpp
nozsavsev/jimmy
0be7a153e9c1a2f14710d072fd172ee1b3402742
[ "Apache-2.0" ]
null
null
null
Jimmy_Core/source/Sys_Init.cpp
nozsavsev/jimmy
0be7a153e9c1a2f14710d072fd172ee1b3402742
[ "Apache-2.0" ]
null
null
null
/*Copyright 2020 Nozdrachev Ilia Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
32.776119
174
0.651639
nozsavsev
0da6a82aa2a526dede29cb766c8cc4d129cc92c6
2,513
cpp
C++
CameraCtrl.cpp
neil3d/ShadowMappingD3D
fa5c856ae8fb7ee0afa22e70e84c1dd34fbce52f
[ "MIT" ]
1
2019-11-29T01:19:31.000Z
2019-11-29T01:19:31.000Z
CameraCtrl.cpp
neil3d/ShadowMappingD3D
fa5c856ae8fb7ee0afa22e70e84c1dd34fbce52f
[ "MIT" ]
null
null
null
CameraCtrl.cpp
neil3d/ShadowMappingD3D
fa5c856ae8fb7ee0afa22e70e84c1dd34fbce52f
[ "MIT" ]
null
null
null
#include ".\cameractrl.h" #include "SGITrackBall.h" CameraCtrl g_camera; inline D3DXVECTOR3 operator * (const D3DXVECTOR3& v,const D3DXMATRIX& m) { return D3DXVECTOR3(v.x*m._11+v.y*m._21+v.z*m._31+m._41, v.x*m._12+v.y*m._22+v.z*m._32+m._42, v.x*m._13+v.y*m._23+v.z*m._33+m._43); } CameraCtrl::CameraCtrl(void) { ...
18.477941
93
0.68842
neil3d
0daa96caab68a09d8f1da30958d5760679e5f0e3
1,938
cpp
C++
graph-source-code/174-D/1509433.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/174-D/1509433.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/174-D/1509433.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <vector> #include <list> #include <map> #include <set> #include <queue> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <iomanip> #include <cstdio> #include...
19.188119
91
0.557276
AmrARaouf
0daba5852d634fb454ef7bfa9bfe9b59927befc4
867
cpp
C++
src/main.cpp
RomainAmuat/apt_project
520281a09756816f6297e3f35b42bce2ab12973b
[ "MIT" ]
null
null
null
src/main.cpp
RomainAmuat/apt_project
520281a09756816f6297e3f35b42bce2ab12973b
[ "MIT" ]
null
null
null
src/main.cpp
RomainAmuat/apt_project
520281a09756816f6297e3f35b42bce2ab12973b
[ "MIT" ]
null
null
null
#include <pistache/http.h> #include <pistache/description.h> #include <pistache/endpoint.h> #include <pistache/serializer/rapidjson.h> #include "view/ServiceManager.h" #include "model/MySQLLink.h" using namespace std; using namespace Pistache; int main(int argc, char *argv[]) { std::string url; if (argc >...
19.704545
84
0.594002
RomainAmuat
0dabefa1becca43221ab84ce7c3307441bbbeb58
6,550
cpp
C++
src/vm/appdomainstack.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
10
2015-11-03T16:35:25.000Z
2021-07-31T16:36:29.000Z
src/vm/appdomainstack.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
1
2019-03-05T18:50:09.000Z
2019-03-05T18:50:09.000Z
src/vm/appdomainstack.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
4
2015-10-28T12:26:26.000Z
2021-09-04T11:36:04.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // // #include "common.h" #include "appdomainstack.h" #include "appdomainstack.inl" #include "security.h" #include "securitypolicy.h" #include "appdomain.in...
33.248731
128
0.671145
CyberSys
0daec77a627b03e2bc4ead844c9bc8c9c0e152ff
1,535
cpp
C++
FindMissingNumber.cpp
Cuncis/codeWith-hacktoberfest
9cd5059e4d90b42fa9e12ba5ec8bf3f49c9e6c63
[ "MIT" ]
null
null
null
FindMissingNumber.cpp
Cuncis/codeWith-hacktoberfest
9cd5059e4d90b42fa9e12ba5ec8bf3f49c9e6c63
[ "MIT" ]
null
null
null
FindMissingNumber.cpp
Cuncis/codeWith-hacktoberfest
9cd5059e4d90b42fa9e12ba5ec8bf3f49c9e6c63
[ "MIT" ]
null
null
null
/* Problem-Task : Create a function that takes an array of numbers between 1 and 10 (excluding one number) and returns the missing number. * Problem Link : https://edabit.com/challenge/7YaJhC4terApw5DFa */ //C++ Program to find the Missing Number /*The logic we are using is: Sum of n integer elements is: n...
18.058824
88
0.614332
Cuncis
0db0ca1c31bf042834d85629285d51b66d9a2362
352
hpp
C++
include/cuda_dl.hpp
jetd1/kuafu
819d338682f3e889710731cf7ca16f790b54568f
[ "MIT" ]
17
2021-09-03T03:06:48.000Z
2022-03-27T04:02:14.000Z
include/cuda_dl.hpp
jetd1/kuafu
819d338682f3e889710731cf7ca16f790b54568f
[ "MIT" ]
null
null
null
include/cuda_dl.hpp
jetd1/kuafu
819d338682f3e889710731cf7ca16f790b54568f
[ "MIT" ]
null
null
null
// // Created by jet on 9/17/21. // #pragma once #include <cuda.h> namespace kuafu { void kfCuDlOpen(); void kfCuDlClose(); CUresult kfCuInit(unsigned int Flags); CUresult kfCuStreamCreate(CUstream* phStream, unsigned int Flags); CUresult kfCuCtxCreate(CUcontext* pctx, unsigned int flags, CUdevice dev); CUresult kf...
18.526316
74
0.758523
jetd1
0db79073d01f6a5e7dc7459f93003d3937f68c78
3,819
cpp
C++
Lab4/src/CircleHough.cpp
DavidePistilli173/Computer-Vision
4066a99f6f6fdc941829d3cd3015565ec0046a2f
[ "Apache-2.0" ]
null
null
null
Lab4/src/CircleHough.cpp
DavidePistilli173/Computer-Vision
4066a99f6f6fdc941829d3cd3015565ec0046a2f
[ "Apache-2.0" ]
null
null
null
Lab4/src/CircleHough.cpp
DavidePistilli173/Computer-Vision
4066a99f6f6fdc941829d3cd3015565ec0046a2f
[ "Apache-2.0" ]
null
null
null
#include "CircleHough.hpp" #include <opencv2/imgproc.hpp> using namespace lab4; CircleHough::CircleHough(const cv::Mat& img, std::string_view winName) : ImgProcessor(img, winName, CV_8UC3) { bool success{ true }; /* Add trackbars for parameters of type double. */ for (int i = 0; i < static_cast<int>...
32.092437
112
0.59911
DavidePistilli173
0dbf9b4c39ae19b637977f9af9789b6e31d8d519
29,310
cpp
C++
sketchup_converter/main.cpp
jhhsia/sketchup_converter
7d8daffd61c8d8f6c214640672e38c7817e37788
[ "MIT" ]
1
2020-09-27T10:55:07.000Z
2020-09-27T10:55:07.000Z
sketchup_converter/main.cpp
jhhsia/sketchup_converter
7d8daffd61c8d8f6c214640672e38c7817e37788
[ "MIT" ]
null
null
null
sketchup_converter/main.cpp
jhhsia/sketchup_converter
7d8daffd61c8d8f6c214640672e38c7817e37788
[ "MIT" ]
null
null
null
// // main.cpp // sketchup_converter // // Created by jahsia on 10/26/18. // Copyright © 2018 trisetra. All rights reserved. // #include <iostream> #include <SketchUpAPI/common.h> #include <SketchUpAPI/geometry.h> #include <SketchUpAPI/geometry/vector3d.h> #include <SketchUpAPI/initialize.h> #include <SketchUpAPI...
38.872679
162
0.608393
jhhsia
0dbff02f2d2ddc13d3713e7691ed49c0ee996e42
1,028
cpp
C++
Luogu/P3805/manacher.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Luogu/P3805/manacher.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Luogu/P3805/manacher.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 11000010 int radius[SIZE << 1]; string man; void init(const string & str) { memset(radius, 0, sizeof(radius)); man.clear(); man.push_back('#'); for (auto ch : str) { man.push_back(ch); man.push_back('#'); } } void manache...
21.87234
95
0.488327
codgician
0dc05ff01b6e68b3e8529d0234a5cd5841eee709
6,156
cc
C++
src/App.cc
ElChapos/BlockWorld
9fcd224682ef52a1ca82d7f4ff6c1b39afe97b94
[ "BSD-2-Clause" ]
1
2016-05-24T17:25:51.000Z
2016-05-24T17:25:51.000Z
src/App.cc
ElChapos/BlockWorld
9fcd224682ef52a1ca82d7f4ff6c1b39afe97b94
[ "BSD-2-Clause" ]
null
null
null
src/App.cc
ElChapos/BlockWorld
9fcd224682ef52a1ca82d7f4ff6c1b39afe97b94
[ "BSD-2-Clause" ]
null
null
null
#define GLEW_STATIC // Easier debugging #define RUN_GRAPHICS_DISPLAY 0x00; #include <GL/glew.h> #ifdef __APPLE__ #include <OpenGL/gl.h> #else #include <GL/gl.h> #endif #include <SDL2/SDL.h> #include <iostream> #include <memory> #include <boost/program_options.hpp> #include "common.h" #include "App.h" #include "GameWo...
24.722892
103
0.647336
ElChapos
0dc5ef8e54d12820990e9e15b07f85e89723a40d
900
cpp
C++
src/util/function.cpp
keszocze/abo
2d59ac20832b308ef5f90744fc98752797a4f4ba
[ "MIT" ]
null
null
null
src/util/function.cpp
keszocze/abo
2d59ac20832b308ef5f90744fc98752797a4f4ba
[ "MIT" ]
null
null
null
src/util/function.cpp
keszocze/abo
2d59ac20832b308ef5f90744fc98752797a4f4ba
[ "MIT" ]
1
2020-03-11T14:50:31.000Z
2020-03-11T14:50:31.000Z
#include "function.hpp" #include <algorithm> #include <cassert> namespace abo::util { Function::Function(const Cudd &mgr, const std::vector<BDD> &value, NumberRepresentation representation) : mgr(mgr), value(value), representation(representation) { assert(value.size() > 0); } BDD& Function::operator[...
18.75
105
0.626667
keszocze
0dc78a607390e1fcc4c43afa5600113d3d44d7c2
22,062
hpp
C++
src/algorithms/bfs.hpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
112
2016-04-26T05:54:30.000Z
2022-03-27T05:56:16.000Z
src/algorithms/bfs.hpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
21
2016-03-22T19:06:46.000Z
2021-10-07T15:40:18.000Z
src/algorithms/bfs.hpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
22
2016-04-26T05:54:35.000Z
2021-12-21T03:33:20.000Z
/* * GraphBLAS Template Library (GBTL), Version 3.0 * * Copyright 2020 Carnegie Mellon University, Battelle Memorial Institute, and * Authors. * * THIS MATERIAL WAS PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF * THE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR THE * UNITED STA...
40.780037
82
0.493382
KIwabuchi
0dcfca94ba8ea1a603a51334ea8cc925cdc8cc88
26,336
cpp
C++
Engine/Src/SFEngine/Graphics/Vulkan/SFVulkanLibrary.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
1
2020-06-20T07:35:25.000Z
2020-06-20T07:35:25.000Z
Engine/Src/SFEngine/Graphics/Vulkan/SFVulkanLibrary.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
Engine/Src/SFEngine/Graphics/Vulkan/SFVulkanLibrary.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // CopyRight (c) 2017 Kyungkun Ko // // Author : KyungKun Ko // // Description : Vulkan library // //////////////////////////////////////////////////////////////////////////////// #include "SFEnginePCH.h" #include "SFVul...
57.881319
131
0.851306
blue3k
0dd1418522f97a08080e378c45d316b27f9933c8
2,610
cpp
C++
src/qt/orphandownloader.cpp
Mart1250/biblepay
d53d04f74242596b104d360187268a50b845b82e
[ "MIT" ]
null
null
null
src/qt/orphandownloader.cpp
Mart1250/biblepay
d53d04f74242596b104d360187268a50b845b82e
[ "MIT" ]
null
null
null
src/qt/orphandownloader.cpp
Mart1250/biblepay
d53d04f74242596b104d360187268a50b845b82e
[ "MIT" ]
null
null
null
#include "orphandownloader.h" #include <univalue.h> #include "rpcipfs.h" #include "guiutil.h" #include "rpcpog.h" #include "timedata.h" #include <QUrl> #include <boost/algorithm/string/case_conv.hpp> #include <QDir> #include <QTimer> #include <QString> OrphanDownloader::OrphanDownloader(QString xURL, QString xDestN...
23.097345
136
0.67931
Mart1250
0dd1f5ec98aef716956bd127f9d70e50b8adfc43
1,254
hpp
C++
ufora/core/UnitTest.hpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/core/UnitTest.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/core/UnitTest.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
35.828571
77
0.555821
ufora
0dd7bc5f047c985bf90a901d7f732c8482e23cff
1,204
cpp
C++
pc_code/Serial/SerialTestMFC/AboutDlg.cpp
johnenrickplenos/water_level_monitoring
3e0628daea5eb1caba1fb69efdd2691590ce6c32
[ "MIT" ]
null
null
null
pc_code/Serial/SerialTestMFC/AboutDlg.cpp
johnenrickplenos/water_level_monitoring
3e0628daea5eb1caba1fb69efdd2691590ce6c32
[ "MIT" ]
null
null
null
pc_code/Serial/SerialTestMFC/AboutDlg.cpp
johnenrickplenos/water_level_monitoring
3e0628daea5eb1caba1fb69efdd2691590ce6c32
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "SerialTestMFC.h" #include "AboutDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CAboutDlg BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) //{{AFX_MSG_MAP(CAbou...
21.122807
77
0.63206
johnenrickplenos
0dd8861e56ff759a80a345bc27736ff4ef253114
2,796
hpp
C++
include/musycl/midi/midi_out.hpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
16
2021-05-07T11:33:59.000Z
2022-03-05T02:36:06.000Z
include/musycl/midi/midi_out.hpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
null
null
null
include/musycl/midi/midi_out.hpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
null
null
null
#ifndef MUSYCL_MIDI_MIDI_OUT_HPP #define MUSYCL_MIDI_MIDI_OUT_HPP /** \file SYCL abstraction for a MIDI output pipe Based on RtMidi library. */ #include <cstdlib> #include <functional> #include <iostream> #include <memory> #include <string> #include <vector> #include "rtmidi/RtMidi.h" #include "musycl/midi.hpp...
27.145631
79
0.628755
keryell
0ddfb804bf0e44a86e59569681b9e4f64d988f9e
13,615
cpp
C++
ObjGroupTree.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
1
2020-07-19T10:19:18.000Z
2020-07-19T10:19:18.000Z
ObjGroupTree.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
null
null
null
ObjGroupTree.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // ObjGroupTree.cpp /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2008, Joe Riedel // All rights reserved. // // Redistribution and use in source and binary forms, // with or without modif...
22.541391
107
0.644142
joeriedel
0de65532cb5c29f81f26e0e4af0b35029675c23d
605
cpp
C++
qmessagebox/mainwindow.cpp
orthoWitch/gosha-dudar-qt
6ec073a2bd1e6bd13f9084d84b6340d60753b978
[ "Apache-2.0" ]
null
null
null
qmessagebox/mainwindow.cpp
orthoWitch/gosha-dudar-qt
6ec073a2bd1e6bd13f9084d84b6340d60753b978
[ "Apache-2.0" ]
null
null
null
qmessagebox/mainwindow.cpp
orthoWitch/gosha-dudar-qt
6ec073a2bd1e6bd13f9084d84b6340d60753b978
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QMessageBox> #include <QDebug> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_pushButton_clicked() { QMessageBox:...
20.862069
103
0.636364
orthoWitch
df0438c6e92f5a896f8a86d411d0dd99d5462aff
910
hpp
C++
shared_model/backend/plain/domain.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
shared_model/backend/plain/domain.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
shared_model/backend/plain/domain.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_SHARED_MODEL_PLAIN_DOMAIN_HPP #define IROHA_SHARED_MODEL_PLAIN_DOMAIN_HPP #include "interfaces/common_objects/domain.hpp" #include "interfaces/common_objects/types.hpp" namespace shared_model { names...
27.575758
71
0.737363
akshatkarani
df06417639a31e1dfee729a0b26871250a217391
856
cc
C++
type_traits/remove_cvref.cc
pycpp/stl-test
cbae1e77a16c102715c1c0c64ba3f929f78aadef
[ "MIT" ]
null
null
null
type_traits/remove_cvref.cc
pycpp/stl-test
cbae1e77a16c102715c1c0c64ba3f929f78aadef
[ "MIT" ]
null
null
null
type_traits/remove_cvref.cc
pycpp/stl-test
cbae1e77a16c102715c1c0c64ba3f929f78aadef
[ "MIT" ]
null
null
null
// :copyright: (c) 2017-2018 Alex Huszagh. // :license: MIT, see LICENSE.md for more details. /* * \addtogroup Tests * \brief `remove_cvref` unittests. */ #include <pycpp/stl/type_traits/remove_cvref.h> #include <gtest/gtest.h> PYCPP_USING_NAMESPACE // TESTS // ----- TEST(remove_cvref, remove_cvref) { st...
32.923077
85
0.690421
pycpp
df0964fdde61703a0a7213b88824e398666942fb
899
cpp
C++
leet_code/binary_tree/rightView.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
leet_code/binary_tree/rightView.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
leet_code/binary_tree/rightView.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; 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), left(left), right(rig...
25.685714
89
0.498331
sahilduhan
df0cc0584c20635ed0c1bf551cb33223da674d80
30
cpp
C++
benchmarks/include/mpl11.min.erb.cpp
ldionne/benchcc
87cd508b47b39c9da5fb2152ec3f07de62297771
[ "BSL-1.0" ]
1
2017-10-12T11:54:43.000Z
2017-10-12T11:54:43.000Z
benchmarks/include/mpl11.min.erb.cpp
ldionne/benchcc
87cd508b47b39c9da5fb2152ec3f07de62297771
[ "BSL-1.0" ]
null
null
null
benchmarks/include/mpl11.min.erb.cpp
ldionne/benchcc
87cd508b47b39c9da5fb2152ec3f07de62297771
[ "BSL-1.0" ]
null
null
null
#include <boost/mpl11.min.hpp>
30
30
0.766667
ldionne
df11c53fdd1dc265f1bd7528a8245261b1dbc2a1
8,640
cpp
C++
src/backtester/TickGenerator.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
23
2015-07-24T15:45:36.000Z
2021-11-23T15:35:33.000Z
src/backtester/TickGenerator.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
null
null
null
src/backtester/TickGenerator.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
21
2015-07-12T16:42:01.000Z
2020-08-23T22:56:50.000Z
// The Open Trading Project - open-trading.org // // Copyright (c) 2011 Martin Tapia - martin.tapia@open-trading.org // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributio...
40
156
0.544792
paps
df1411ccbf54ff4c863292ddc46e2123e034a1cd
1,114
cc
C++
src/114_flatten-binary-tree-to-linked-list.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
2
2018-07-28T06:11:30.000Z
2019-01-15T15:16:54.000Z
src/114_flatten-binary-tree-to-linked-list.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
null
null
null
src/114_flatten-binary-tree-to-linked-list.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
null
null
null
// Given a binary tree, flatten it to a linked list in-place. // // For example, given the following tree: // // 1 // / \ // 2 5 // / \ \ // 3 4 6 // The flattened tree should look like: // // 1 // \ // 2 // \ // 3 // \ // 4 // \ // 5 // \ // 6 ...
19.206897
78
0.493716
q191201771
df16cfbc43d6c923158fd70b144f1c999c74c0d9
4,039
cpp
C++
Gems/Atom/Tools/AtomToolsFramework/Code/Tests/AtomToolsFrameworkTest.cpp
TheKeaver/o3de
3791149c6bb18d007ee375f592bdd031871f793d
[ "Apache-2.0", "MIT" ]
1
2021-08-11T02:20:46.000Z
2021-08-11T02:20:46.000Z
Gems/Atom/Tools/AtomToolsFramework/Code/Tests/AtomToolsFrameworkTest.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Tools/AtomToolsFramework/Code/Tests/AtomToolsFrameworkTest.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzTest/AzTest.h> #include <Atom/Utils/TestUtils/AssetSystemStub.h> #include <AtomToolsFr...
51.782051
220
0.694726
TheKeaver
df17e6d56363be3e65b1829713daf59c85f5d89c
729
cpp
C++
LeetCode/687.Longest_Univalue_Path.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
LeetCode/687.Longest_Univalue_Path.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
LeetCode/687.Longest_Univalue_Path.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int longestUnivaluePath(TreeNode* root) { int ans = 0; find(root, ans); ...
25.137931
63
0.492455
w181496
df1fd94d698e594f2648c6836684b55cfa8e3785
3,506
cc
C++
src/app/main.cc
JeanTracker/qt-qml-project-template-with-ci
022992af4bd4e4df006a3125fe124a56a25c23a5
[ "BSD-2-Clause" ]
null
null
null
src/app/main.cc
JeanTracker/qt-qml-project-template-with-ci
022992af4bd4e4df006a3125fe124a56a25c23a5
[ "BSD-2-Clause" ]
null
null
null
src/app/main.cc
JeanTracker/qt-qml-project-template-with-ci
022992af4bd4e4df006a3125fe124a56a25c23a5
[ "BSD-2-Clause" ]
null
null
null
// // Copyright (c) 2020, 219 Design, LLC // See LICENSE.txt // // https://www.219design.com // Software | Electrical | Mechanical | Product Design // #include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQuickStyle> #include "autogenerated/version.h" // USE THIS INCLUDE SPARINGLY. IT CAN TRIGGER REB...
43.283951
115
0.67741
JeanTracker
b3018ed8c9a08a6736a0df27939557770c4f67bb
1,161
cc
C++
samples/06-looping/do_while_loop/main.cc
brockus/the_cpp_tutorial
87d73fa7111dd6fe22299b01edc5663bfd192782
[ "Apache-2.0" ]
null
null
null
samples/06-looping/do_while_loop/main.cc
brockus/the_cpp_tutorial
87d73fa7111dd6fe22299b01edc5663bfd192782
[ "Apache-2.0" ]
null
null
null
samples/06-looping/do_while_loop/main.cc
brockus/the_cpp_tutorial
87d73fa7111dd6fe22299b01edc5663bfd192782
[ "Apache-2.0" ]
null
null
null
// // author: Michael Brockus // gmail : <michaelbrockus@gmail.com> // #include <iostream> #include <cstdlib> int main() { // // To run a block of code repeatedly in a predetermined // time, you use the for loop statement. In cases you // want to run a block of code repeatedly based on a // given c...
27.642857
68
0.63652
brockus
b305adef83ef8dcb74344a6b7039844e1bc9def9
1,778
cpp
C++
CastleDoctrine/gameSource/FastBoxBlurFilter.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
1
2020-01-16T00:07:11.000Z
2020-01-16T00:07:11.000Z
CastleDoctrine/gameSource/FastBoxBlurFilter.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
null
null
null
CastleDoctrine/gameSource/FastBoxBlurFilter.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
2
2019-09-17T12:08:20.000Z
2020-09-26T00:54:48.000Z
#include "FastBoxBlurFilter.h" #include <string.h> FastBoxBlurFilter::FastBoxBlurFilter() { } void FastBoxBlurFilter::applySubRegion( unsigned char *inChannel, int *inTouchPixelIndices, int inNumTouchPixels, ...
24.694444
72
0.568616
PhilipLudington
b30a3afe090e14054c69844fa0888371e872001c
844
cpp
C++
Dynamic Programming/0-1 Knapsack/(6)CountOfSubsetDiff.cpp
jaydulera/data-structure-and-algorithms
abc2d67871add6f314888a72215ff3a2da2dc6e1
[ "Apache-2.0" ]
53
2020-09-26T19:44:33.000Z
2021-09-30T20:38:52.000Z
Dynamic Programming/0-1 Knapsack/(6)CountOfSubsetDiff.cpp
jaydulera/data-structure-and-algorithms
abc2d67871add6f314888a72215ff3a2da2dc6e1
[ "Apache-2.0" ]
197
2020-08-25T18:13:56.000Z
2021-06-19T07:26:19.000Z
Dynamic Programming/0-1 Knapsack/(6)CountOfSubsetDiff.cpp
jaydulera/data-structure-and-algorithms
abc2d67871add6f314888a72215ff3a2da2dc6e1
[ "Apache-2.0" ]
204
2020-08-24T09:21:02.000Z
2022-02-13T06:13:42.000Z
#include<bits/stdc++.h> using namespace std; int t[100][100]; // LeetCode Target sum ques int CountSubsetGivenSum(int *wt, int Sum, int n) { for (int i = 0; i <= Sum; i++) t[0][i] = 0; for (int i = 0; i <= n; i++) t[i][0] = 1; //empty set for (int i = 1; i <= n; i++) { for (int j = 1; j <= Sum; j++) { if ...
18.347826
69
0.50237
jaydulera
b30ed7b2523b1e1d820217fed82ab8f66189698e
363
cpp
C++
09_lambda/09_07_generic_lambda_capture_expressions/09_07_00_generic_lambda_capture_expressions.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
13
2020-09-01T14:57:21.000Z
2021-11-24T06:00:26.000Z
09_lambda/09_07_generic_lambda_capture_expressions/09_07_00_generic_lambda_capture_expressions.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
5
2020-06-11T14:13:00.000Z
2021-07-14T05:27:53.000Z
09_lambda/09_07_generic_lambda_capture_expressions/09_07_00_generic_lambda_capture_expressions.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
10
2021-03-22T07:54:36.000Z
2021-09-15T04:03:32.000Z
// Generic lambda // Capture expressions #include <iostream> #include <vector> class move_only { public: move_only() = default; move_only(move_only&& other) = default; }; int main() { [](auto x){}; move_only mo; [mo](){}(); // how to fix int a{}; int b{}; // capture sum // type...
12.964286
43
0.564738
pAbogn
b310c32bc0bc1ed676d6841e2f40f15979ad8fc3
1,180
cpp
C++
src/main.cpp
int08h/SumoJam-Line-Sensors-Example
b5c5cfd15e7deb5446b3097f9dee31c796685c65
[ "Unlicense" ]
null
null
null
src/main.cpp
int08h/SumoJam-Line-Sensors-Example
b5c5cfd15e7deb5446b3097f9dee31c796685c65
[ "Unlicense" ]
null
null
null
src/main.cpp
int08h/SumoJam-Line-Sensors-Example
b5c5cfd15e7deb5446b3097f9dee31c796685c65
[ "Unlicense" ]
null
null
null
// // Example how to read the Zumo32U4 line sensors // #include <Zumo32U4.h> namespace { // Delay between loop()s in milliseconds constexpr unsigned long DELAY_MS = 100; // Line sensors interface Zumo32U4LineSensors lineSensors = Zumo32U4LineSensors{}; // Enable the LCD Screen Zumo32U4LCD lcd = Zumo32U4...
21.454545
61
0.668644
int08h
b314b54045963787d616d62b053d379759f5fb49
283
hpp
C++
src/tests/functional/plugin/shared/include/single_layer_tests/einsum.hpp
wood-ghost/openvino
0babf20bd2f4cd3f0be3c025d91ea55526b36fb2
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/tests/functional/plugin/shared/include/single_layer_tests/einsum.hpp
wood-ghost/openvino
0babf20bd2f4cd3f0be3c025d91ea55526b36fb2
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/tests/functional/plugin/shared/include/single_layer_tests/einsum.hpp
tuxedcat/openvino
5939cb1b363ebb56b73c2ad95d8899961a084677
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "shared_test_classes/single_layer/einsum.hpp" namespace LayerTestsDefinitions { TEST_P(EinsumLayerTest, CompareWithRefs) { Run(); } } // namespace LayerTestsDefinitions
17.6875
54
0.759717
wood-ghost
b31636287ed68f8f3b2037eb8d1dfc484fece7b2
869
cpp
C++
Leetcode/Day023/string_to_int_atoi.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
Leetcode/Day023/string_to_int_atoi.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
Leetcode/Day023/string_to_int_atoi.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
/* Imp to remember: erasing string mechanism | isdigit() | str.erase() */ class Solution { public: int myAtoi(string str) { long long int ans=0; string temp=str; bool pos=true; while(temp[0]==' ') temp.erase(temp.begin()); if(temp[0]=='-'...
18.891304
67
0.352129
SujalAhrodia
b3169991554b43dcb993a85a054ccb07c974c53c
8,881
cpp
C++
src/state/StateVector.cpp
neophack/steam
28f0637e3ae4ff2c21ad12b2331c535e9873c997
[ "BSD-3-Clause" ]
null
null
null
src/state/StateVector.cpp
neophack/steam
28f0637e3ae4ff2c21ad12b2331c535e9873c997
[ "BSD-3-Clause" ]
null
null
null
src/state/StateVector.cpp
neophack/steam
28f0637e3ae4ff2c21ad12b2331c535e9873c997
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////////////// /// \file StateVector.cpp /// /// \author Sean Anderson, ASRL ////////////////////////////////////////////////////////////////////////////////////////////// #include <steam/state/StateVector.hpp> #include <steam/blockmat/Blo...
41.306977
131
0.515145
neophack
b319184ac9b6fc21959e9ad978f1b468791faacd
1,431
cpp
C++
leetcode/problems/hard/115-distinct-subsequences.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/hard/115-distinct-subsequences.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/hard/115-distinct-subsequences.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Distinct Subsequences https://leetcode.com/problems/distinct-subsequences/ Given two strings s and t, return the number of distinct subsequences of s which equals t. A string's subsequence is a new string formed from the original string by deleting some (can be none) of the characters without disturbing the remain...
24.672414
246
0.594689
wingkwong
b31a116dfe80be72926d7f7dfe00938e3c20b5db
21,701
hpp
C++
Project/include/lak/transform.hpp
LAK132/OpenGL-Trash
9ddedf65792de78f642f47ad032b5027e4c390c1
[ "MIT" ]
null
null
null
Project/include/lak/transform.hpp
LAK132/OpenGL-Trash
9ddedf65792de78f642f47ad032b5027e4c390c1
[ "MIT" ]
null
null
null
Project/include/lak/transform.hpp
LAK132/OpenGL-Trash
9ddedf65792de78f642f47ad032b5027e4c390c1
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2018 Lucas Kleiss (LAK132) 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, p...
33.592879
170
0.516059
LAK132
b31e07989aeebeb61c6c758cbd2368a8c67891dc
8,707
cpp
C++
ze_imu/src/imu_buffer.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
30
2016-09-27T07:41:28.000Z
2021-12-03T20:44:28.000Z
ze_imu/src/imu_buffer.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
1
2018-12-18T15:53:06.000Z
2018-12-21T03:10:06.000Z
ze_imu/src/imu_buffer.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
12
2016-11-05T07:51:29.000Z
2020-07-13T02:26:08.000Z
// Copyright (c) 2015-2016, ETH Zurich, Wyss Zurich, Zurich Eye // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // ...
37.856522
90
0.733892
rockenbf
b31f20b37b5ecdb9921dbc8412cce7adb328b677
3,034
hpp
C++
core/injector/block_producing_node_injector.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
core/injector/block_producing_node_injector.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
core/injector/block_producing_node_injector.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_CORE_INJECTOR_BLOCK_PRODUCING_NODE_INJECTOR_HPP #define KAGOME_CORE_INJECTOR_BLOCK_PRODUCING_NODE_INJECTOR_HPP #include "application/app_config.hpp" #include "application/impl/local_key_storage.hpp" #in...
41
108
0.649637
FlorianFranzen
b320f1f2824b2938836eba833807f18832e371eb
5,423
cpp
C++
src/CourseContentsList.cpp
Midiman/stepmania
a55d5d614c4caa8b035b9b7cdca94017baba026b
[ "MIT" ]
1
2019-02-13T07:01:27.000Z
2019-02-13T07:01:27.000Z
src/CourseContentsList.cpp
Tatsh/stepmania
bff04ba72e9d578e922fd830819515559b535c45
[ "MIT" ]
null
null
null
src/CourseContentsList.cpp
Tatsh/stepmania
bff04ba72e9d578e922fd830819515559b535c45
[ "MIT" ]
null
null
null
#include "global.h" #include "CourseContentsList.h" #include "GameConstantsAndTypes.h" #include "RageLog.h" #include "Course.h" #include "Trail.h" #include "GameState.h" #include "XmlFile.h" #include "ActorUtil.h" #include "RageUtil.h" #include "Steps.h" REGISTER_ACTOR_CLASS( CourseContentsList ); CourseContentsList:...
28.244792
124
0.698506
Midiman
b32cbaa75e3a7496f340f5d835fafde175b5877c
1,233
cpp
C++
DSA/Graphs/Topological_Sort.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
DSA/Graphs/Topological_Sort.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
DSA/Graphs/Topological_Sort.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
/* Topological sort using bfs */ class Solution { public: vector<int> findOrder(int numCourses, vector<vector<int>>& prerequisites) { int in_degree[numCourses]; for(int i=0;i<numCourses;i++) in_degree[i]=0; vector<int>q[numCourses]; vector<int>t; for(int i=0;i<...
22.418182
79
0.394972
ShrishtiAgarwal
b333b03b2917ac62ad74a0bfaa214bb113a85ef3
430
cc
C++
P10-FundamentalAlgorithms&AdvancedExercises/P98179.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
P10-FundamentalAlgorithms&AdvancedExercises/P98179.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
P10-FundamentalAlgorithms&AdvancedExercises/P98179.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
//Inserció en taula ordenada #include <iostream> #include <vector> using namespace std; void insereix(vector<double>& v) { int tam = v.size(); for (int i = 1; i < tam; ++i) { double x = v[i]; int j = i; while (j > 0 && x < v[j - 1]) { ...
22.631579
47
0.351163
srmeeseeks
b3342d81ae0cdb7f677a1ecf5c5ca693c503cd90
1,224
cpp
C++
tests/categorytest.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
1
2020-03-02T09:25:44.000Z
2020-03-02T09:25:44.000Z
tests/categorytest.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
null
null
null
tests/categorytest.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <memory> #include <QList> #include <QNetworkAccessManager> #include <QApplication> #include <QFrame> #include <QPushButton> #include <QVBoxLayout> #include <QFile> #include "mainwindow.h" #include "uhunt/uhunt.h" #include "uhunt/category.h" using namespace std; using ...
23.538462
110
0.640523
jgcoded
b33907f967ff49758d5a1f84e421620393fb82e4
66,803
hpp
C++
include/SSDK/Archive/Json/json.hpp
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
include/SSDK/Archive/Json/json.hpp
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
include/SSDK/Archive/Json/json.hpp
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
#ifndef JSONHELPER_H #define JSONHELPER_H #include <string> #include <type_traits> #include <map> #include <iostream> #include <fstream> #include <memory> #include <stdio.h> #include <math.h> #include <boost/variant/variant.hpp> #include <boost/variant.hpp> #include <rapidjson/writer.h> #include <rapidjson/stringbuf...
38.74884
229
0.416613
djc80s
b33ea83d066a38090cfc443fe727b5b3e5879ecc
9,226
cpp
C++
historyView.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
historyView.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
historyView.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
3
2018-06-20T21:55:11.000Z
2020-10-21T19:04:54.000Z
/************************************************************************ * * * Copyright (C) 2007 Christina Warrender and Drew Levin * * * * This file is part of ...
39.939394
82
0.423911
neelsoumya
b33f308ad5284b295bc1aa8c12a524b657fb5637
531
hpp
C++
libraries/plugins/chain/include/steem/plugins/chain/abstract_block_producer.hpp
reactivespace/Steemit-Fork-2.0
1bf860963f5715309bda6f77e362e09e9d3ccf8a
[ "MIT" ]
null
null
null
libraries/plugins/chain/include/steem/plugins/chain/abstract_block_producer.hpp
reactivespace/Steemit-Fork-2.0
1bf860963f5715309bda6f77e362e09e9d3ccf8a
[ "MIT" ]
null
null
null
libraries/plugins/chain/include/steem/plugins/chain/abstract_block_producer.hpp
reactivespace/Steemit-Fork-2.0
1bf860963f5715309bda6f77e362e09e9d3ccf8a
[ "MIT" ]
null
null
null
#pragma once #include <fc/time.hpp> #include <clout/chain/database.hpp> namespace clout { namespace plugins { namespace chain { class abstract_block_producer { public: virtual ~abstract_block_producer() = default; virtual clout::chain::signed_block generate_block( fc::time_point_sec when, cons...
25.285714
64
0.721281
reactivespace
b3406b533c5cc030f01da5fc7a49f8ad453a7bb6
4,815
hpp
C++
sandbox/core/system.hpp
KabelitzJ/sandbox
fe870387e634e101a63398409966c61088e1384b
[ "MIT" ]
null
null
null
sandbox/core/system.hpp
KabelitzJ/sandbox
fe870387e634e101a63398409966c61088e1384b
[ "MIT" ]
null
null
null
sandbox/core/system.hpp
KabelitzJ/sandbox
fe870387e634e101a63398409966c61088e1384b
[ "MIT" ]
null
null
null
#ifndef SBX_ECS_SYSTEM_HPP_ #define SBX_ECS_SYSTEM_HPP_ #include <type_traits> #include <utility> #include <iostream> #include <memory> #include <string> #include <types/primitives.hpp> #include <types/transform.hpp> #include "resource_cache.hpp" #include "scene.hpp" #include "event_queue.hpp" #include "input.hpp" #...
26.75
100
0.71298
KabelitzJ
b3474ba95efadd131a0fca3e23e2f99058671c84
22,454
cpp
C++
qikkDB_test/DispatcherTestsRegression.cpp
veselyja/qikkdb-community
680f62632ba85e468beee672624b80a61ed40f55
[ "Apache-2.0" ]
15
2020-06-30T13:43:42.000Z
2022-02-02T12:52:33.000Z
qikkDB_test/DispatcherTestsRegression.cpp
veselyja/qikkdb-community
680f62632ba85e468beee672624b80a61ed40f55
[ "Apache-2.0" ]
1
2020-11-28T22:29:35.000Z
2020-12-22T10:28:25.000Z
qikkDB_test/DispatcherTestsRegression.cpp
qikkDB/qikkdb
4ee657c7d2bfccd460d2f0d2c84a0bbe72d9a80a
[ "Apache-2.0" ]
1
2020-06-30T12:41:37.000Z
2020-06-30T12:41:37.000Z
#include <cmath> #include "gtest/gtest.h" #include "../qikkDB/DatabaseGenerator.h" #include "../qikkDB/ColumnBase.h" #include "../qikkDB/BlockBase.h" #include "../qikkDB/PointFactory.h" #include "../qikkDB/ComplexPolygonFactory.h" #include "../qikkDB/Database.h" #include "../qikkDB/Table.h" #include "../qikkDB/QueryEn...
40.457658
111
0.659927
veselyja
b34a5a6353725e2d7b35c78dd8471fecee5c3bb4
363
cc
C++
jax/training/21-03/21-03-22-night/a.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
2
2022-01-01T16:55:02.000Z
2022-03-16T14:47:29.000Z
jax/training/21-03/21-03-22-night/a.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
null
null
null
jax/training/21-03/21-03-22-night/a.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int maxn = 1005; int arr[maxn]; int main() { int n, a, b, c, t; scanf("%d%d%d%d%d", &n, &a, &b, &c, &t); for (int i = 0; i < n; ++i) scanf("%d", arr + i); int ans = n * a; int k = c - b; if (k > 0) { for (int i = 0; i < n; ++i) ans += (t - ...
22.6875
60
0.432507
JaxVanYang
b34b3c8a71724c473ca5e182ca4726b0963d46bf
822
cc
C++
libDatabase/variant.cc
marcbejerano/cpp-tools
9ef62064a5b826b8722ff96e423ffff2d85f49f1
[ "BSD-3-Clause" ]
null
null
null
libDatabase/variant.cc
marcbejerano/cpp-tools
9ef62064a5b826b8722ff96e423ffff2d85f49f1
[ "BSD-3-Clause" ]
null
null
null
libDatabase/variant.cc
marcbejerano/cpp-tools
9ef62064a5b826b8722ff96e423ffff2d85f49f1
[ "BSD-3-Clause" ]
null
null
null
#include "variant.h" #include <iostream> #include <string> const std::string Variant::toString() const { std::string result = ""; switch (type) { case CHAR: result += data.c; break; case SHORT: result = std::to_string(data.sh); break; case INT: result = std::to_string(data.i); break;...
29.357143
80
0.536496
marcbejerano
b357869e3e23b1f62d8e822acd60b6e6e79393fa
76,249
hpp
C++
tm_kit/infra/RealTimeApp_TimeChecker_Piece.hpp
cd606/tm_infra
27f93cc3cf4344a962aa5faeb4105be8458d34f0
[ "Apache-2.0" ]
1
2020-05-22T08:47:05.000Z
2020-05-22T08:47:05.000Z
tm_kit/infra/RealTimeApp_TimeChecker_Piece.hpp
cd606/tm_infra
27f93cc3cf4344a962aa5faeb4105be8458d34f0
[ "Apache-2.0" ]
null
null
null
tm_kit/infra/RealTimeApp_TimeChecker_Piece.hpp
cd606/tm_infra
27f93cc3cf4344a962aa5faeb4105be8458d34f0
[ "Apache-2.0" ]
null
null
null
template <class A0, class A1> class TimeChecker<false, std::variant<A0,A1>> { private: std::bitset<2> finalMask_; std::optional<typename StateT::TimePointType> tp0_; VersionChecker<A0> versionChecker0_; std::optional<typename StateT::TimePointType> tp1_; VersionChecker<A1> versionChecker1_; public: ...
36.996118
430
0.520322
cd606
b35bd95e3401934078a1539df76ca686a32eff47
271
cpp
C++
atcoder/abc195/A/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc195/A/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc195/A/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; using ll = int64_t; using ff = long double; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); int M, H; cin >> M >> H; cout << (H % M == 0 ? "Yes" : "No") << endl; return 0; }
16.9375
48
0.542435
xirc
b3612b67874f5d112db450aa7efd49bf06b6016d
1,841
cpp
C++
computer-networks/udp-agenda/server1.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
computer-networks/udp-agenda/server1.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
computer-networks/udp-agenda/server1.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netinet/in.h> using namespace std; #define PORT 8080 #define MAX_SIZE 100 int sockfd; char msg[MAX_SIZE]; string ok = "Server 1 updated successfully"; struct sockaddr_in servaddr, cliad...
23.602564
99
0.593156
hsnavarro
b367ee59d5f312c4f9bd67540c9725b2c2e5b863
796
cc
C++
src/Parser/AST/TFPDefStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
null
null
null
src/Parser/AST/TFPDefStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
null
null
null
src/Parser/AST/TFPDefStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
1
2021-05-24T11:18:32.000Z
2021-05-24T11:18:32.000Z
#include <ast/TFPDefStatementNode.h> using namespace PythonCoreNative::RunTime::Parser::AST; using namespace PythonCoreNative::RunTime::Parser; TFPDefStatementNode::TFPDefStatementNode( unsigned int start, unsigned int end, std::shared_ptr<Token> op1, ...
24.121212
66
0.616834
stenbror
b3710a42b03d33f32ae14ddb7236e8ec1853db92
893
cpp
C++
C++/sentence-similarity-iii.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/sentence-similarity-iii.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/sentence-similarity-iii.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n) // Space: O(1) class Solution { public: bool areSentencesSimilar(string sentence1, string sentence2) { if (size(sentence1) > size(sentence2)) { swap(sentence1, sentence2); } int count = 0; for (int step = 0; step < 2; ++step) { for (int i = 0; ...
33.074074
106
0.410974
Priyansh2
b3722316be7a68ed15c4e0fc6f2c0b18809bd1c6
9,135
cpp
C++
foedus_code/foedus-core/src/foedus/memory/shared_memory.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/memory/shared_memory.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/memory/shared_memory.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
34.866412
120
0.673454
sam1016yu
b37c72cbae3ff5e65c7d2ebd2b7416791da0980a
3,606
cpp
C++
test/src/gpu.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
1
2020-02-19T13:13:10.000Z
2020-02-19T13:13:10.000Z
test/src/gpu.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
test/src/gpu.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
//======================================================================= // Copyright (c) 2014-2018 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
24.530612
73
0.574321
BeatWolf
b37d2c02d5c873483dba449319dee844fcc4e7aa
13,774
cpp
C++
src/ops/cdl/CDLOpCPU.cpp
omi-lab/lib_opencolorio
a2457657353b5081ca24b5b9b11dd708451c05ba
[ "BSD-3-Clause" ]
null
null
null
src/ops/cdl/CDLOpCPU.cpp
omi-lab/lib_opencolorio
a2457657353b5081ca24b5b9b11dd708451c05ba
[ "BSD-3-Clause" ]
null
null
null
src/ops/cdl/CDLOpCPU.cpp
omi-lab/lib_opencolorio
a2457657353b5081ca24b5b9b11dd708451c05ba
[ "BSD-3-Clause" ]
1
2022-01-27T17:21:42.000Z
2022-01-27T17:21:42.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright Contributors to the OpenColorIO Project. #include <algorithm> #include <cmath> #include <string.h> #include <OpenColorIO/OpenColorIO.h> #include "BitDepthUtils.h" #include "CDLOpCPU.h" #include "SSE.h" namespace OCIO_NAMESPACE { const float RcpMinValue = 1e-2f...
26.95499
99
0.644112
omi-lab
b3836fd9bba957a496ea400bae54631ac88acc6a
1,017
cpp
C++
simpleMaxCounter/main.cpp
zlum/simple
b5eaf45ad814ec6a2236828ce2ae78b16193bfc1
[ "MIT" ]
null
null
null
simpleMaxCounter/main.cpp
zlum/simple
b5eaf45ad814ec6a2236828ce2ae78b16193bfc1
[ "MIT" ]
null
null
null
simpleMaxCounter/main.cpp
zlum/simple
b5eaf45ad814ec6a2236828ce2ae78b16193bfc1
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include <string> using namespace std; struct Res { explicit Res(int size): arr(new int[size]), n(size) {} ~Res() { delete[] arr; } int* arr = nullptr; int n = 0; }; Res* findMax(int a[], int n) { if(n == 0) return nullptr; int max = a[0]; int coun...
14.955882
58
0.410029
zlum
b385c5e95c2af92bd65606f96a4d039f08a891e9
118
cpp
C++
examples/qml-keypad/imports/tests/keypad/tst_keypad.cpp
bstubert/tdd-training-add-ons
c6ee54069ad056f6bb468c23c99b090d034b42a3
[ "BSD-3-Clause" ]
1
2021-11-25T20:27:19.000Z
2021-11-25T20:27:19.000Z
examples/qml-keypad/imports/tests/keypad/tst_keypad.cpp
bstubert/tdd-training-add-ons
c6ee54069ad056f6bb468c23c99b090d034b42a3
[ "BSD-3-Clause" ]
null
null
null
examples/qml-keypad/imports/tests/keypad/tst_keypad.cpp
bstubert/tdd-training-add-ons
c6ee54069ad056f6bb468c23c99b090d034b42a3
[ "BSD-3-Clause" ]
null
null
null
// Copyright, Burkhard Stubert (burkhard.stubert@embeddeduse.com) #include <QtQuickTest> QUICK_TEST_MAIN(QmlKeypad)
19.666667
65
0.805085
bstubert
b3873f0356795ff40801a4737dad683a84e5637c
10,439
cpp
C++
test/test_mock_mock.cpp
lingjf/h2unit
5a55c718bc22ba52bd4500997b2df18939996efa
[ "Apache-2.0" ]
5
2015-03-02T22:29:00.000Z
2020-06-28T08:52:00.000Z
test/test_mock_mock.cpp
lingjf/h2unit
5a55c718bc22ba52bd4500997b2df18939996efa
[ "Apache-2.0" ]
5
2019-05-10T02:28:00.000Z
2021-07-17T00:53:18.000Z
test/test_mock_mock.cpp
lingjf/h2unit
5a55c718bc22ba52bd4500997b2df18939996efa
[ "Apache-2.0" ]
5
2016-05-25T07:31:16.000Z
2021-08-29T04:25:18.000Z
#include "../source/h2_unit.cpp" #include "test_types.hpp" SUITE(mock function) { Case(once) { MOCK(foobar2, int(int, const char*)).Once(1, "A").Return(11); OK(11, foobar2(1, "A")); } Case(twice) { MOCK(foobar2, int(int, const char*)).Twice(Eq(1), _).Return(11); OK(11, foobar2(1...
25.775309
157
0.552831
lingjf
b38c5d40162417d29e9c1f4c40ed5f73abb180c9
4,544
cpp
C++
os/fs/iso9660/iso9660Stream.cpp
rvedam/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
2
2020-11-30T18:38:20.000Z
2021-06-07T07:44:03.000Z
os/fs/iso9660/iso9660Stream.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
1
2019-01-14T03:09:45.000Z
2019-01-14T03:09:45.000Z
os/fs/iso9660/iso9660Stream.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008, 2009 Google Inc. * Copyright 2006 Nintendo Co., Ltd. * * 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 * * Unle...
20.106195
113
0.589349
rvedam
b399fd285905f88ac99223bdc65fbf66a5fa3c2f
869
hpp
C++
engine.hpp
ichristen/pGDS
c6959ea7db0cc01549eb170b7fdc273801735dbc
[ "MIT" ]
null
null
null
engine.hpp
ichristen/pGDS
c6959ea7db0cc01549eb170b7fdc273801735dbc
[ "MIT" ]
null
null
null
engine.hpp
ichristen/pGDS
c6959ea7db0cc01549eb170b7fdc273801735dbc
[ "MIT" ]
null
null
null
#ifndef ENGINE_HPP #define ENGINE_HPP #include <stdio.h> #include <string> #include <array> #include <vector> #include <map> #ifdef __APPLE__ // #include <OpenGL/OpenGL.h> // #include <Cocoa/Cocoa.h> #endif #ifdef __MINGW32__ #endif #ifdef __linux__ #endif #include "window.hpp" #include "vector.hpp" #include...
18.891304
111
0.638665
ichristen
b39a35483919cfbd0466862cd87d1f943ef337a6
1,839
cpp
C++
test/test_simple_enc.cpp
cwxcode/HDR_EXR2MKV
3b5403cb5789cc7e098c5393bcebf673b1cb123b
[ "BSD-3-Clause" ]
46
2016-07-05T14:55:24.000Z
2021-12-24T05:10:00.000Z
test/test_simple_enc.cpp
cwxcode/HDR_EXR2MKV
3b5403cb5789cc7e098c5393bcebf673b1cb123b
[ "BSD-3-Clause" ]
8
2018-05-25T07:36:41.000Z
2021-04-08T14:27:54.000Z
test/test_simple_enc.cpp
cwxcode/HDR_EXR2MKV
3b5403cb5789cc7e098c5393bcebf673b1cb123b
[ "BSD-3-Clause" ]
16
2016-05-29T13:39:23.000Z
2022-02-22T13:53:05.000Z
#include <luma_encoder.h> #include "exr_interface.h" #include <string.h> int main(int argc, char* argv[]) { if (argc > 1 && !(strcmp(argv[1], "-h") && strcmp(argv[1], "--help")) ) { printf("Usage: ./test_simple_enc <hdr_frames> <start_frame> <end_frame> <output>\n"); return 1; } c...
24.851351
106
0.553562
cwxcode
b39fe748855d4d54a9ee69a535a5b35f9b54fe66
7,702
hpp
C++
sdk/packages/dynamixel/gems/registers.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
sdk/packages/dynamixel/gems/registers.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
sdk/packages/dynamixel/gems/registers.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
29.737452
98
0.664762
ddr95070
b3a42bde03db67b2845476db5e55ba0ba41e6ad2
230
hpp
C++
engine/include/engine/Serializable.hpp
kkitsune/GoblinEngine
f69a82b13b418391554f1aeb8957f445352184b6
[ "MIT" ]
9
2016-02-04T16:42:31.000Z
2016-12-05T04:34:03.000Z
engine/include/engine/Serializable.hpp
kkitsune/GoblinEngine
f69a82b13b418391554f1aeb8957f445352184b6
[ "MIT" ]
null
null
null
engine/include/engine/Serializable.hpp
kkitsune/GoblinEngine
f69a82b13b418391554f1aeb8957f445352184b6
[ "MIT" ]
null
null
null
#pragma once #include <json.hpp> #include <ABI.h> using Json = nlohmann::basic_json<>; class E_ABI(engine) Serializable { public: virtual ~Serializable() {} virtual Json save() = 0; virtual void load(Json const&) = 0; };
12.777778
36
0.678261
kkitsune
b3a7acbb2b12389223b884089ce1ec21b6a26c6b
978
cpp
C++
naive_simulation_works/systemc_for_dummies/four_bit_adder/main.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
naive_simulation_works/systemc_for_dummies/four_bit_adder/main.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
naive_simulation_works/systemc_for_dummies/four_bit_adder/main.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
#include <systemc.h> #include "Four_Bit_Adder.h" #include "MyTestBenchDriver.h" #include "MyTestBenchMonitor.h" int sc_main(int sc_argc, char* sc_argv[]) { sc_signal<sc_lv<1> > pb_a[4], pb_b[4], pb_z[5]; int i = 0; Four_Bit_Adder MyAdder("MyAdder"); for(i=0; i < 4; i++) { MyAdder.a[i](pb_a[i]); MyAdder.b[i]...
21.26087
60
0.639059
VSPhaneendraPaluri
b3aecb9d7320b9ae30e0550e265e2bff6d69fe20
6,653
cpp
C++
connectors/dds4ccm/tests/LateBinding/ReadGet/Receiver/RG_LateBinding_Receiver_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
10
2016-07-20T00:55:50.000Z
2020-10-04T19:07:10.000Z
connectors/dds4ccm/tests/LateBinding/ReadGet/Receiver/RG_LateBinding_Receiver_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
13
2016-09-27T14:08:27.000Z
2020-11-11T10:45:56.000Z
connectors/dds4ccm/tests/LateBinding/ReadGet/Receiver/RG_LateBinding_Receiver_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
12
2016-04-20T09:57:02.000Z
2021-12-24T17:23:45.000Z
// -*- C++ -*- /** * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2 * TAO and the TAO IDL Compiler have been developed by: * Center for Distributed Object Computing * Washington University * St. Louis, MO * USA * http://www.cs.wustl.edu/~schmidt/doc-center.html * and ...
23.34386
96
0.63881
qinwang13
a2a5e51de7fd35e2aebcddd5162c3c5f867bf381
1,348
cpp
C++
src_sycl/gen.cpp
frengels/cuda-to-sycl-nbody
989f01cabb7fa0eceb70b18610e1b8b1e03eb8af
[ "MIT" ]
null
null
null
src_sycl/gen.cpp
frengels/cuda-to-sycl-nbody
989f01cabb7fa0eceb70b18610e1b8b1e03eb8af
[ "MIT" ]
3
2022-02-02T09:25:33.000Z
2022-02-17T15:43:48.000Z
src_sycl/gen.cpp
frengels/cuda-to-sycl-nbody
989f01cabb7fa0eceb70b18610e1b8b1e03eb8af
[ "MIT" ]
1
2022-02-16T17:45:43.000Z
2022-02-16T17:45:43.000Z
#include "gen.hpp" #include <random> const float PI = 3.14159265358979323846; // Copyright (C) 2016 - 2018 Sarah Le Luron // Copyright (C) 2022 Codeplay Software Limited using namespace std; mt19937 rng; uniform_real_distribution<> dis(0, 1); glm::vec4 randomParticlePos() { // Random position on a 'thick disk'...
26.431373
77
0.588279
frengels
a2a8a9372654535bc6a4d7a017816f70de1f23f0
334
cpp
C++
Bit Manipulation/Clear_all_bits_from_LSB_to_i.cpp
pranav918/DSA-Implementations-Under-Construction
4127d18b084652ae19959fc4f0da9cfad360df8d
[ "MIT" ]
1
2021-06-18T13:59:38.000Z
2021-06-18T13:59:38.000Z
Bit Manipulation/Clear_all_bits_from_LSB_to_i.cpp
pranav918/DSA-Implementations-Under-Construction
4127d18b084652ae19959fc4f0da9cfad360df8d
[ "MIT" ]
null
null
null
Bit Manipulation/Clear_all_bits_from_LSB_to_i.cpp
pranav918/DSA-Implementations-Under-Construction
4127d18b084652ae19959fc4f0da9cfad360df8d
[ "MIT" ]
null
null
null
/* Author : Pranav Deshmukh PICT,Pune Stay Focused! */ #include <bits/stdc++.h> using namespace std; int main() { int n, i; cout << "Enter number followed by ith(from 0) bit place:" << endl; cin >> n >> i; int m = ~((1 << (i + 1)) - 1); n = n & m; cout << "Answer is " << n << endl; ...
19.647059
68
0.505988
pranav918
a2a9174a976f58acebc1a7dcbeda149d508fe888
2,777
hpp
C++
Week2-Data-Structure-I/ZhengQianYi/src/ft/cuckoo_filter.hpp
zhengqianyi/training-plan
456cce5d124de171fe73f8e108a7c61c08e7a326
[ "MIT" ]
1
2021-09-29T04:35:36.000Z
2021-09-29T04:35:36.000Z
Week2-Data-Structure-I/ZhengQianYi/src/ft/cuckoo_filter.hpp
zqyi/training-plan
456cce5d124de171fe73f8e108a7c61c08e7a326
[ "MIT" ]
null
null
null
Week2-Data-Structure-I/ZhengQianYi/src/ft/cuckoo_filter.hpp
zqyi/training-plan
456cce5d124de171fe73f8e108a7c61c08e7a326
[ "MIT" ]
null
null
null
#ifndef FT_CUCKOO_FILTER_HPP #define FT_CUCKOO_FILTER_HPP #include "filter.hpp" #include "cuckoo_vector.hpp" #include "hasher.hpp" #include "Rand_int.hpp" #include <cmath> namespace ft { class cuckoo_filter : public filter { private: size_t cells_; size_t fingerprint_size_; size_...
23.141667
197
0.548073
zhengqianyi
a2ac58994f69c2901dd523177a165ed8737edc8d
667
cc
C++
iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
1
2022-02-08T02:24:08.000Z
2022-02-08T02:24:08.000Z
iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
null
null
null
iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
null
null
null
--- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2020-03-16 18:40:29 UTC +++ chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc @@ -295,7 +295,7 @@ void ChromeBrowserMainExtraPartsProfiles:: if (base::FeatureList::IsEnabled(media::kUseMediaHistoryStore)) media_histor...
55.583333
100
0.775112
behemoth3663
a2ad0de602bed30a14fbe3b1da51a6820b913644
1,788
cpp
C++
Source/FishEngine/ECS.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
10
2018-08-28T17:07:06.000Z
2021-06-19T09:51:27.000Z
Source/FishEngine/ECS.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
1
2018-10-25T19:42:10.000Z
2018-10-30T09:34:05.000Z
Source/FishEngine/ECS.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
5
2018-10-25T19:39:26.000Z
2020-08-09T05:47:57.000Z
#include <FishEngine/ECS/Component.hpp> #include <FishEngine/ECS/GameObject.hpp> #include <FishEngine/ECS/Scene.hpp> #include <FishEngine/ECS/System.hpp> #include <FishEngine/Components/Transform.hpp> #include <FishEngine/Serialization/Archive.hpp> using namespace FishEngine; GameObject::GameObject(EntityID entityID,...
20.089888
75
0.706935
yushroom
a2adb990212cd924d9398e7fbe452c0d0d30865c
6,878
hxx
C++
include/knapsack_object.hxx
LPMP/equality-knapsack
2a44a156aa8cd2bee1757a8b23facdc2be3246e0
[ "BSD-2-Clause" ]
null
null
null
include/knapsack_object.hxx
LPMP/equality-knapsack
2a44a156aa8cd2bee1757a8b23facdc2be3246e0
[ "BSD-2-Clause" ]
null
null
null
include/knapsack_object.hxx
LPMP/equality-knapsack
2a44a156aa8cd2bee1757a8b23facdc2be3246e0
[ "BSD-2-Clause" ]
null
null
null
#ifndef EKP_KNAPSACK_OBJECT_HXX #define EKP_KNAPSACK_OBJECT_HXX #include <config.hxx> #include <algorithm> #include <vector> #include <numeric> #include <memory> #include <stack> #include <tuple> namespace ekp { class ekp_instance { public: using node = std::tuple<REAL,REAL,REAL,REAL>; ...
26.867188
82
0.508287
LPMP
a2b079c7c95647c2bc8228fbb9a17fbaec414162
33,132
hpp
C++
src/frame_graph/frame_graph.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
203
2019-04-26T10:52:22.000Z
2022-03-15T17:42:44.000Z
src/frame_graph/frame_graph.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
90
2018-11-23T09:07:05.000Z
2019-04-13T10:44:03.000Z
src/frame_graph/frame_graph.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
14
2019-06-19T00:52:00.000Z
2021-02-19T13:44:01.000Z
/*! * Copyright 2019 Breda University of Applied Sciences and Team Wisp (Viktor Zoutman, Emilio Laiso, Jens Hagen, Meine Zeinstra, Tahar Meijs, Koen Buitenhuis, Niels Brunekreef, Darius Bouma, Florian Schut) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
31.464387
204
0.696125
LaisoEmilio