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
586ce7652d7f0fd734259904e7eb424301cb50c9
413
cpp
C++
1d/reduction/cilk/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/reduction/cilk/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/reduction/cilk/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
#include <cilk/cilk.h> #include <cilk/reducer_opadd.h> #include <iostream> int main(int argc, char** argv){ int x[10]; int sum = 0; cilk::reducer<cilk::op_add< decltype( sum ) >> sum_reducer( sum ); cilk_for (auto t1=0;t1<=9;++t1) { x[t1] = 0; *sum_reducer += t1; } sum = sum_re...
17.208333
70
0.542373
realincubus
586d3de4c1a1a64f2ea96b78731cb7902521dce8
2,238
cpp
C++
plugin_III/game_III/CStuckCarCheck.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_III/game_III/CStuckCarCheck.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_III/game_III/CStuckCarCheck.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CStuckCarCheck.h" PLUGIN_SOURCE_FILE int ctor_addr(CStuckCarCheck) = ADDRESS_BY_VERSION(0x43ED20, 0x43ED20, 0x...
46.625
140
0.798481
gta-chaos-mod
586ecd1bf3091a4829d0148fc5c701eb0222a070
2,393
cpp
C++
M2FBX/M2FBX/Source/MTObject/MT_ObjectHandler.cpp
farivarfarsiann/MafiaToolkit
884d37771f1f85a54d89b4c72af342663fa8c48f
[ "MIT" ]
3
2018-06-29T16:05:54.000Z
2018-07-01T14:31:42.000Z
M2FBX/M2FBX/Source/MTObject/MT_ObjectHandler.cpp
Greavesy1899/Mafia2Tools
d7f68827e17531ac6f13af6eaa078fbfe98e4f0d
[ "MIT" ]
null
null
null
M2FBX/M2FBX/Source/MTObject/MT_ObjectHandler.cpp
Greavesy1899/Mafia2Tools
d7f68827e17531ac6f13af6eaa078fbfe98e4f0d
[ "MIT" ]
null
null
null
#include "MT_ObjectHandler.h" #include "MT_Object.h" #include "Utilities/FileUtils.h" #include <cstdio> MT_ObjectBundle* MT_ObjectHandler::ReadBundleFromFile(const std::string& FileName) { FILE* InStream = nullptr; fopen_s(&InStream, FileName.data(), "rb"); if (!InStream) { // Failed return nullptr; } //...
18.992063
100
0.70957
farivarfarsiann
586f1cb07dcb8b1e66d66c2322561145bb07a46b
2,149
cc
C++
src/windows/kernel/nt/syscall/types/memory_information/MEMORY_INFORMATION_IMPL.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
23
2021-02-17T16:58:52.000Z
2022-02-12T17:01:06.000Z
src/windows/kernel/nt/syscall/types/memory_information/MEMORY_INFORMATION_IMPL.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
1
2021-04-01T22:41:32.000Z
2021-09-24T14:14:17.000Z
src/windows/kernel/nt/syscall/types/memory_information/MEMORY_INFORMATION_IMPL.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
4
2021-02-17T16:53:18.000Z
2021-04-13T16:51:10.000Z
/* * Copyright 2021 Assured Information Security, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
37.051724
99
0.712424
IntroVirt
58725db5bab1b835f9d0042cb5d4525e63b40b72
3,240
hpp
C++
rcraam/inst/include/craam/Action.hpp
marekpetrik/craam2
b07f4547d578626c698cbc660495dbf6f179a672
[ "MIT" ]
4
2020-08-11T17:30:58.000Z
2022-03-25T11:08:11.000Z
rcraam/inst/include/craam/Action.hpp
marekpetrik/craam2
b07f4547d578626c698cbc660495dbf6f179a672
[ "MIT" ]
null
null
null
rcraam/inst/include/craam/Action.hpp
marekpetrik/craam2
b07f4547d578626c698cbc660495dbf6f179a672
[ "MIT" ]
2
2020-05-15T17:42:53.000Z
2022-03-25T11:08:16.000Z
// This file is part of CRAAM, a C++ library for solving plain // and robust Markov decision processes. // // MIT License // // 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 restric...
35.217391
89
0.657099
marekpetrik
587399608606b14aec6b7353ebe8f4ffc3c57875
4,450
cc
C++
tests/test_cat_dns.cc
dixyes-bot/libcat
fe441647c43f8439bd493aa4c129082e9331276d
[ "Apache-2.0" ]
53
2020-10-14T04:32:07.000Z
2022-03-29T07:48:16.000Z
tests/test_cat_dns.cc
dixyes-bot/libcat
fe441647c43f8439bd493aa4c129082e9331276d
[ "Apache-2.0" ]
10
2020-10-26T07:33:34.000Z
2022-03-15T06:23:34.000Z
tests/test_cat_dns.cc
dixyes-bot/libcat
fe441647c43f8439bd493aa4c129082e9331276d
[ "Apache-2.0" ]
14
2019-09-16T09:44:45.000Z
2022-03-29T07:48:19.000Z
/* +--------------------------------------------------------------------------+ | libcat | +--------------------------------------------------------------------------+ | Licensed under the Apache License, Version 2.0 (the "License"); | ...
37.711864
118
0.563371
dixyes-bot
58747f468ee2cd5f0d34ea1d6828014160c3f113
467
cpp
C++
src/common/Scene.cpp
TMoCo/VulkanDeferredRendering
ccf16e25d18c2e0d8fa200e2a265930fa81a5643
[ "MIT" ]
null
null
null
src/common/Scene.cpp
TMoCo/VulkanDeferredRendering
ccf16e25d18c2e0d8fa200e2a265930fa81a5643
[ "MIT" ]
null
null
null
src/common/Scene.cpp
TMoCo/VulkanDeferredRendering
ccf16e25d18c2e0d8fa200e2a265930fa81a5643
[ "MIT" ]
null
null
null
// // Definition of the Scene class // #include <common/Scene.h> Scene::Scene(const std::string& path) { // constructor with path argument calls the load scene method automatically LoadScene(path); } void Scene::LoadScene(const std::string& path) { std::string error; bool r = loader.LoadASCIIFromFile(&scene, &er...
22.238095
76
0.678801
TMoCo
5874bf58597208558d7c5f219dd3b043b4eb6b93
4,347
cpp
C++
src/interpreter/parser.cpp
TheMarlboroMan/punge
01f467877529121a23bcd19e0267be942e997b08
[ "MIT" ]
null
null
null
src/interpreter/parser.cpp
TheMarlboroMan/punge
01f467877529121a23bcd19e0267be942e997b08
[ "MIT" ]
null
null
null
src/interpreter/parser.cpp
TheMarlboroMan/punge
01f467877529121a23bcd19e0267be942e997b08
[ "MIT" ]
null
null
null
#include "parser.h" #include <iostream> #include <cctype> #include <number_generator.h> #include <log.h> #include "board_loader.h" extern tools::log applog; using namespace interpreter; parser::parser() :brd(4,4) { } bool parser::is_end() const { return end_signal; } void parser::load_board_from_filename(co...
24.84
158
0.681159
TheMarlboroMan
587557b2e953768910f1e8a6bc5c9e9e7a848e4f
1,676
hpp
C++
sprig/performance_timer.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2017-10-24T13:56:24.000Z
2018-09-28T13:21:22.000Z
sprig/performance_timer.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
null
null
null
sprig/performance_timer.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2016-04-12T03:26:06.000Z
2018-09-28T13:21:22.000Z
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig 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) ===...
24.289855
79
0.667064
bolero-MURAKAMI
587c2531f5a12e3df38ccc34d66e043d280a79ef
4,050
cpp
C++
src/uvaarenasettings.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
1
2020-03-02T09:25:44.000Z
2020-03-02T09:25:44.000Z
src/uvaarenasettings.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
null
null
null
src/uvaarenasettings.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
null
null
null
#include "uvaarenasettings.h" using namespace uva; const QString KeyUserName = "UserName"; const QString DefaultUserName = ""; const QString KeyUserId = "UserId"; const qint32 DefaultUserId = -1; const QString KeyProblemsUpdateInterval = "ProblemsUpdateInterval"; const qint64 DefaultProblemsUpdateInterval = 7; ...
27.931034
75
0.811111
jgcoded
587e951f88622501c3ac1da1792645800eb83850
13,703
hpp
C++
AbstractHardware/Registers/STM32F0x1/usart6registers.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
AbstractHardware/Registers/STM32F0x1/usart6registers.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
AbstractHardware/Registers/STM32F0x1/usart6registers.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
/******************************************************************************* * Filename : usart6registers.hpp * * Details : Universal synchronous asynchronous receiver transmitter. This * header file is auto-generated for STM32F0x1 device. * * *********************************************...
57.334728
107
0.725024
snorkysnark
587eace591b75c7a2e6c3eaee1f19504d3d7240f
3,627
cc
C++
sai_p4/tools/p4info_tools_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
6
2021-12-08T17:29:38.000Z
2022-02-17T20:36:54.000Z
sai_p4/tools/p4info_tools_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
2
2022-01-20T08:55:05.000Z
2022-03-08T18:30:11.000Z
sai_p4/tools/p4info_tools_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
5
2021-12-10T02:41:52.000Z
2022-03-03T06:59:23.000Z
// Copyright 2021 Google LLC // // 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 ...
34.216981
76
0.715192
fichtl
588014693d26b7ba183353a21d9670cc38c6361b
1,558
cpp
C++
src/FileSystemModel.cpp
TimSusa/flacshlonz
33f457ae2d22983ff17cd093e83f4238ef7eda9e
[ "MIT" ]
1
2018-03-21T16:26:44.000Z
2018-03-21T16:26:44.000Z
src/FileSystemModel.cpp
TimSusa/flacshlonz
33f457ae2d22983ff17cd093e83f4238ef7eda9e
[ "MIT" ]
null
null
null
src/FileSystemModel.cpp
TimSusa/flacshlonz
33f457ae2d22983ff17cd093e83f4238ef7eda9e
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////// //!\file FileSystemModel.cpp //!\brief Subclassed QFileSystemModel. //!\author timmsusa@googlemail.com ////////////////////////////////////////////////////////////////////// #include "FileSystemModel.hpp" #include <QDebug> // Change file-endings t...
28.851852
94
0.594352
TimSusa
58828f77a0bd10b7d34cbb8f978a950c0f875a74
1,093
cpp
C++
PAT/advanced/A1094.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
PAT/advanced/A1094.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
PAT/advanced/A1094.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <vector> #include <queue> #include <cmath> using namespace std; vector<int> child[100005]; int N; int root; int layer[100005]; int layer_counter[100005]; int main(){ int K; //cin>>N>>K; scanf("%d %d",&N,&K); //cout<<N<<" "<<K<<endl; int i,j,k; for(i=0;i<K;i++){...
15.84058
56
0.57731
sptuan
588402b61656b820cdd523e6816912bc8923ac8b
12,017
cpp
C++
src/ringmesh/geomodel/core/geomodel.cpp
ringmesh/RINGMesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
74
2017-10-26T15:40:23.000Z
2022-03-22T09:27:39.000Z
src/ringmesh/geomodel/core/geomodel.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
45
2017-10-26T15:54:01.000Z
2021-01-27T10:16:34.000Z
src/ringmesh/geomodel/core/geomodel.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
17
2018-03-27T11:31:24.000Z
2022-03-06T18:41:52.000Z
/* * Copyright (c) 2012-2018, Association Scientifique pour la Geologie et ses * Applications (ASGA). 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 mus...
32.303763
79
0.589332
ringmesh
58866801acb5e9b4e6e2dd8773cd06e1aa3f0fae
9,508
cpp
C++
Code/Game/Enemies.cpp
adamenkov/jet-story
f095b24007796e739a764a0cd886c520bc3a78dd
[ "MIT" ]
5
2017-10-16T14:45:41.000Z
2021-07-29T05:02:50.000Z
Code/Game/Enemies.cpp
adamenkov/jet-story
f095b24007796e739a764a0cd886c520bc3a78dd
[ "MIT" ]
40
2016-05-05T14:11:53.000Z
2022-02-26T10:24:38.000Z
Code/Game/Enemies.cpp
adamenkov/jet-story
f095b24007796e739a764a0cd886c520bc3a78dd
[ "MIT" ]
1
2018-05-10T05:55:34.000Z
2018-05-10T05:55:34.000Z
#include "Enemies.h" #include "../Shared/Engine.h" #include "../Shared/Game.h" #include "Debug.h" #include "Maze.h" #include "Player.h" #include "Projectiles.h" void Enemy::Reset() { Entity::Reset(); EColor eColor = static_cast<EColor> (static_cast<int>(EColor::LightBlue) + (rand() % (static_cast<i...
15.310789
130
0.558267
adamenkov
588804ec81768aae547939774964926033d83e69
2,446
cpp
C++
rh-/rh-/LightSystem.cpp
ShiroixD/Rh-
33db74b21bb9a7255d72b14afd6746f142c1784b
[ "Apache-2.0" ]
null
null
null
rh-/rh-/LightSystem.cpp
ShiroixD/Rh-
33db74b21bb9a7255d72b14afd6746f142c1784b
[ "Apache-2.0" ]
null
null
null
rh-/rh-/LightSystem.cpp
ShiroixD/Rh-
33db74b21bb9a7255d72b14afd6746f142c1784b
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "LightSystem.h" LightSystem::LightSystem(std::shared_ptr<ShadowFactory> ShadowsfxFactory, std::shared_ptr<ToonFactory> NoShadowsfxFactory, std::shared_ptr<ReflectionFactory> RefFactory) { _ShadowsfxFactory = ShadowsfxFactory; _noShadowsfxFactory = NoShadowsfxFactory; _refFactory = RefFacto...
40.766667
193
0.774734
ShiroixD
588c7dec2679c63a964a236ff3fcd8f1406d57b2
1,506
cpp
C++
src/Graphics/OpenGL/TestShader.cpp
MisterVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
3
2017-05-10T10:58:17.000Z
2018-10-30T09:50:26.000Z
src/Graphics/OpenGL/TestShader.cpp
mVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
3
2017-05-09T21:17:09.000Z
2020-02-24T14:46:22.000Z
src/Graphics/OpenGL/TestShader.cpp
mVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
null
null
null
#include "Graphics/OpenGL/TestShader.h" namespace SteelEngine { namespace Graphics { namespace OpenGL { void TestShader::InitCustom() { m_Uniforms[Uniforms::AMBIENT_LIGHT] = GetUniformLocation("ambientLight"); m_Uniforms[Uniforms::BASE_COLOR] = GetUniformLocation("baseColor"); m_Unifor...
36.731707
91
0.715139
MisterVento3
588df1f71512ea38840d44a29acda1a9b860d204
2,485
hpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F7508-DISCO/Demonstrations/TouchGFX/Gui/generated/gui_generated/include/gui_generated/graph_screen/GraphViewBase.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F7508-DISCO/Demonstrations/TouchGFX/Gui/generated/gui_generated/include/gui_generated/graph_screen/GraphViewBase.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F7508-DISCO/Demonstrations/TouchGFX/Gui/generated/gui_generated/include/gui_generated/graph_screen/GraphViewBase.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
/*********************************************************************************/ /********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/ /*********************************************************************************/ #ifndef GRAPH_VIEW_BASE_HPP #define GRAPH_VIEW_BASE_HPP #include <g...
27.611111
86
0.670423
ramkumarkoppu
588f3e6ab8de3b844377e05c6f6f2798a35552ae
9,892
hpp
C++
disc-fe/src/Panzer_BlockedVector_Write_GlobalEvaluationData.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
disc-fe/src/Panzer_BlockedVector_Write_GlobalEvaluationData.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
disc-fe/src/Panzer_BlockedVector_Write_GlobalEvaluationData.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
36.501845
130
0.546805
hillyuan
58912b19a70a5b6b9321366c5d7e9fc52ff56206
636
cpp
C++
codeforces/445/B.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
codeforces/445/B.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
codeforces/445/B.cpp
Mohammad-Elsharkawy/CompetitiveProgramming
8d052465ff08cb36e66b7e6c6813090ac410bf1d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll ; const int N=55; int vis[N], vid=0; vector<int>adj[N]; int cnt=0; void dfs(int n){ cnt++; vis[n]=vid; for(int v:adj[n]){ if(vis[v]==vid) continue; dfs(v); } } int main(){ ios_base::sync_with_stdio(false); cin.ti...
14.133333
37
0.518868
Mohammad-Elsharkawy
5895611f86258ad65609d93954c874e8b5e3bfbc
972
cpp
C++
Diggy/Client/Diggy/SetupMenu.cpp
MJBrune/RandomProjects
c24d8aa78aa9d5a6df8ae186a92a82165a96c50c
[ "WTFPL" ]
null
null
null
Diggy/Client/Diggy/SetupMenu.cpp
MJBrune/RandomProjects
c24d8aa78aa9d5a6df8ae186a92a82165a96c50c
[ "WTFPL" ]
null
null
null
Diggy/Client/Diggy/SetupMenu.cpp
MJBrune/RandomProjects
c24d8aa78aa9d5a6df8ae186a92a82165a96c50c
[ "WTFPL" ]
null
null
null
#include "SetupMenu.h" void SetupMenu::Draw(sf::RenderWindow& window) { window.draw(nameText); window.draw(textTitle); } SetupMenu::SetupMenu(std::string name) { playerName = name; nameText.setString(playerName); textTitle.setString("Name: "); textTitle.setPosition(200,200); nameText.setPosition(300,200); en...
21.6
70
0.683128
MJBrune
5896ba02af82fdb3366dd861bc2c7ab8d356e8fc
5,514
cpp
C++
tools/gredemo.cpp
rivercg/packet-agent
101a92ad2f35f629f83623b6ac7f4a0734039ce8
[ "BSD-3-Clause" ]
6
2019-07-05T08:18:52.000Z
2019-07-05T09:13:04.000Z
tools/gredemo.cpp
liddx000/packet-agent
07975d82d234e45c0effb5f7328d867578e719ff
[ "BSD-3-Clause" ]
null
null
null
tools/gredemo.cpp
liddx000/packet-agent
07975d82d234e45c0effb5f7328d867578e719ff
[ "BSD-3-Clause" ]
6
2019-07-05T08:18:55.000Z
2019-07-05T08:37:50.000Z
#ifdef WIN32 #include <WinSock2.h> #define IPPROTO_GRE 47 #else #include <arpa/inet.h> #endif #include <iostream> #include <fstream> #include <boost/program_options.hpp> #include <boost/filesystem.hpp> typedef struct PktHdr { uint32_t tv_sec; // epoc seconds uint32_t tv_usec; // and microseconds uint32...
34.248447
123
0.566739
rivercg
5899c1db92c78f0cd1ecd3169c2d76e07cbe2cc9
1,630
hpp
C++
src/graphics/opengl/gl_mesh.hpp
tntmeijs/VerletIntegration
feed3a01be73b0e6e1ad33988ed124ae206ec983
[ "MIT" ]
null
null
null
src/graphics/opengl/gl_mesh.hpp
tntmeijs/VerletIntegration
feed3a01be73b0e6e1ad33988ed124ae206ec983
[ "MIT" ]
null
null
null
src/graphics/opengl/gl_mesh.hpp
tntmeijs/VerletIntegration
feed3a01be73b0e6e1ad33988ed124ae206ec983
[ "MIT" ]
null
null
null
#ifndef GRAPHICS_OPENGL_MESH_HPP #define GRAPHICS_OPENGL_MESH_HPP #include "graphics/mesh.hpp" #include "glad/glad.h" #include <cstddef> namespace vi::gl { /** * OpenGL implementation of a mesh object */ class GLMesh : public Mesh { public: /** * Allocate VRAM for the vertex and index data * * @p...
21.447368
104
0.694479
tntmeijs
589cbd9e33a622577d21a641ed0d3d16db7ff6ab
2,154
hh
C++
src/opbox/common/Types.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
src/opbox/common/Types.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
src/opbox/common/Types.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #ifndef OPBOX_TYPES_HH #define OPBOX_TYPES_HH #include <functional> #include "opbox/common/Message.hh" #include...
28.342105
92
0.712628
faodel
589dec37ced979771b9a24651d7836099c842182
5,641
hpp
C++
src/AbstractChemicalOdeSystem.hpp
OSS-Lab/ChemChaste
d32c36afa1cd870512fee3cba0753d5c6faf8109
[ "BSD-3-Clause" ]
null
null
null
src/AbstractChemicalOdeSystem.hpp
OSS-Lab/ChemChaste
d32c36afa1cd870512fee3cba0753d5c6faf8109
[ "BSD-3-Clause" ]
null
null
null
src/AbstractChemicalOdeSystem.hpp
OSS-Lab/ChemChaste
d32c36afa1cd870512fee3cba0753d5c6faf8109
[ "BSD-3-Clause" ]
null
null
null
#ifndef ABSTRACTCHEMICALODESYSTEM_HPP_ #define ABSTRACTCHEMICALODESYSTEM_HPP_ #include "AbstractOdeSystem.hpp" #include "AbstractReactionSystem.hpp" #include "ChemicalOdeSystemInformation.hpp" // Ode system for performing chemical reactions of templated chemical kinetic rate laws class AbstractChemicalOdeSystem: pub...
26.990431
122
0.75359
OSS-Lab
58a15bd1c25e9a7af316f498f0a1456593341d60
11,197
cpp
C++
Samples/Win7Samples/winui/shell/appshellintegration/RecipeThumbnailProvider/RecipeThumbnailProvider.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/winui/shell/appshellintegration/RecipeThumbnailProvider/RecipeThumbnailProvider.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/winui/shell/appshellintegration/RecipeThumbnailProvider/RecipeThumbnailProvider.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved #include <shlwapi.h>...
33.827795
154
0.565509
windows-development
58a18a712d605b0818215b96fab8265c9699a09c
3,454
cpp
C++
codes/HDU/HDU_4747.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/HDU/HDU_4747.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/HDU/HDU_4747.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
//chtholly and emilia will carry me to cm #include <iostream> #include <cstdio> #include <cstring> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <array> #include <tuple> #define ll long long #define lb long double #define sz(vec) ((int)(vec.size())) #define all(x) x.begin(), x.e...
25.585185
135
0.522293
chessbot108
58a236f8033d44383ed03d1d0c61396491c11204
7,743
cc
C++
servlib/prophet/Repository.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
14
2016-06-27T19:28:23.000Z
2021-06-28T20:41:17.000Z
servlib/prophet/Repository.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
null
null
null
servlib/prophet/Repository.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
5
2019-09-23T11:07:39.000Z
2021-06-28T20:41:24.000Z
/* * Copyright 2007 Baylor University * * 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...
26.426621
79
0.575488
delay-tolerant-networking
58a3c5ee4306dd11e300901346cd48c29ad1ef4b
3,707
cc
C++
samples/fast-dictionary/mainwindow.cc
blsim/residue-cpp
2f052a6fab6798fc700a55ea29febf3189236226
[ "Apache-2.0" ]
2
2018-12-11T05:11:08.000Z
2019-05-24T06:02:35.000Z
samples/fast-dictionary/mainwindow.cc
blsim/residue-cpp
2f052a6fab6798fc700a55ea29febf3189236226
[ "Apache-2.0" ]
null
null
null
samples/fast-dictionary/mainwindow.cc
blsim/residue-cpp
2f052a6fab6798fc700a55ea29febf3189236226
[ "Apache-2.0" ]
2
2018-12-11T05:11:11.000Z
2019-05-24T06:02:35.000Z
#include "mainwindow.hh" #include "ui_mainwindow.h" #include "listwithsearch.hh" #include "log.h" #include <QFile> #include <QTextStream> #include <QMessageBox> class LogTerminal : public el::LogDispatchCallback { public: void setTerminalBox(QPlainTextEdit* t) { m_terminalBox = t; } protected: ...
34.009174
166
0.657405
blsim
58a411eb76ad798a0dc4790ba767ba7b64fee600
1,909
cpp
C++
example_kitt/main.cpp
BIGduzy/glow
b7d9963dc44bc59dc9351f4b3d6fea073932cd1e
[ "BSL-1.0" ]
null
null
null
example_kitt/main.cpp
BIGduzy/glow
b7d9963dc44bc59dc9351f4b3d6fea073932cd1e
[ "BSL-1.0" ]
null
null
null
example_kitt/main.cpp
BIGduzy/glow
b7d9963dc44bc59dc9351f4b3d6fea073932cd1e
[ "BSL-1.0" ]
null
null
null
// ========================================================================== // // File : main.cpp // Part of : C++ Glow, Lightweight WS2812B LED strip library // Author : Nick Bout // Github : https://github.com/BIGduzy/glow // Copyright : nick.bout@student.hu.nl 2017 // // Distributed under the Boost So...
34.709091
77
0.531692
BIGduzy
58aa2bf72ab7ab8b718827170eda79c9440b5672
688
hpp
C++
OpenS4/Input/ExampleListener.hpp
MadShadow-/OpenS4
1b2f69d617406a2a49ed0511d93771d978b6bfc3
[ "MIT" ]
3
2020-08-05T19:54:08.000Z
2021-06-11T12:21:51.000Z
OpenS4/Input/ExampleListener.hpp
MadShadow-/OpenS4
1b2f69d617406a2a49ed0511d93771d978b6bfc3
[ "MIT" ]
null
null
null
OpenS4/Input/ExampleListener.hpp
MadShadow-/OpenS4
1b2f69d617406a2a49ed0511d93771d978b6bfc3
[ "MIT" ]
4
2020-07-20T13:25:13.000Z
2021-08-06T12:44:14.000Z
#pragma once #include "InputListener.hpp" #include "Events/KeyEvent.hpp" namespace OpenS4::Input { /// @brief Example on how to use the InputListener /// 1. Subclass it. /// 2. Overwrite each callback of your interest, see InputListener /// 3. Define Keybinds in the constructor. class ExampleListen...
34.4
72
0.696221
MadShadow-
58ac0c931c12cdba20ee90df1ad9f01d070a0dce
424
cpp
C++
examples/main_8.cpp
NearlyTRex/object_threadsafe
940911017993d73ebfe5cb9ebabd3a9dd7bd45b2
[ "Apache-2.0" ]
409
2017-05-01T12:29:31.000Z
2022-03-28T17:47:09.000Z
examples/main_8.cpp
NearlyTRex/object_threadsafe
940911017993d73ebfe5cb9ebabd3a9dd7bd45b2
[ "Apache-2.0" ]
1
2019-10-11T13:19:26.000Z
2019-10-11T13:25:11.000Z
examples/main_8.cpp
NearlyTRex/object_threadsafe
940911017993d73ebfe5cb9ebabd3a9dd7bd45b2
[ "Apache-2.0" ]
109
2017-05-02T09:16:01.000Z
2022-03-19T07:21:44.000Z
#include <iostream> #include <vector> struct T4 { int a = 1, b = 2, c = 3; }; T4 t4; struct T3 { T4* operator -> () { return &t4; } }; struct T2 { T3 operator -> () { return T3(); } }; struct T1 { T2 operator -> () { return T2(); } }; int main() { T1 t1; std::cout << t1->c << std::endl; std::cout << (t1.opera...
22.315789
62
0.518868
NearlyTRex
58ad4ed001b8fa27f1bc31b17ea560f37e14ff54
5,940
cpp
C++
dbms/src/Functions/tests/gtest_strings_replace.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/Functions/tests/gtest_strings_replace.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/Functions/tests/gtest_strings_replace.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, 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 // // Unless required by applicable law or agreed to i...
32.108108
86
0.491919
solotzg
58b461e70331159827dafb6568b13bb40e309e83
22,175
hpp
C++
src/axom/mint/deprecated/MCArray.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
86
2019-04-12T20:39:37.000Z
2022-01-28T17:06:08.000Z
src/axom/mint/deprecated/MCArray.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
597
2019-04-25T22:36:16.000Z
2022-03-31T20:21:54.000Z
src/axom/mint/deprecated/MCArray.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
21
2019-06-27T15:53:08.000Z
2021-09-30T20:17:41.000Z
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #ifndef AXOM_DEPRECATED_MCARRAY_HPP_ #define AXOM_DEPRECATED_MCARRAY_HPP_ #include "axom/config.hpp" ...
28.761349
83
0.623495
bmhan12
58b99a3b58cbee610f6415db3542041148cd3c7b
5,377
cpp
C++
llvm/tools/clang/lib/Basic/Cuda.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
115
2018-02-01T18:56:44.000Z
2022-03-21T13:23:00.000Z
llvm/tools/clang/lib/Basic/Cuda.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
27
2018-09-17T17:49:49.000Z
2021-11-03T04:31:51.000Z
llvm/tools/clang/lib/Basic/Cuda.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
#include "clang/Basic/Cuda.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringSwitch.h" #include "llvm/Support/ErrorHandling.h" namespace clang { const char *CudaVersionToString(CudaVersion V) { switch (V) { case CudaVersion::UNKNOWN: return "unknown"; case CudaVersion::CUDA_70: return "7.0"; ...
27.433673
60
0.699461
dmitryryintel
58be5e2b159c8103286e25c4cbc8bf204139e943
1,273
cpp
C++
Struct/point.cpp
xubenhao/VisualAlgorithm
5fc45d9a4fc58569953fe3d880517adcd2fb0881
[ "Apache-2.0" ]
1
2021-01-29T02:12:53.000Z
2021-01-29T02:12:53.000Z
Struct/point.cpp
xubenhao/VisualAlgorithm
5fc45d9a4fc58569953fe3d880517adcd2fb0881
[ "Apache-2.0" ]
null
null
null
Struct/point.cpp
xubenhao/VisualAlgorithm
5fc45d9a4fc58569953fe3d880517adcd2fb0881
[ "Apache-2.0" ]
null
null
null
// Author : XuBenHao // Version : 1.0.0 // Mail : xbh370970843@163.com // Copyright : XuBenHao 2020 - 2030 #include "point.h" namespace NStruct { Point operator-(const Point& poOne_, const Point& poTwo_) { Point _poRet; _poRet.m_nX = poOne_.m_nX - poTwo_.m_nX; _...
21.576271
61
0.553024
xubenhao
58c2709a4a229e07fbb4bd16a6180f51c9b57df0
216
cpp
C++
anyagok/youtube/Literals in C++.cpp
tzsombi01/sze_programozas
7ddc8dfb7b6259b1ef0b2c944d6eb2c08cf52204
[ "MIT" ]
null
null
null
anyagok/youtube/Literals in C++.cpp
tzsombi01/sze_programozas
7ddc8dfb7b6259b1ef0b2c944d6eb2c08cf52204
[ "MIT" ]
2
2022-02-13T19:33:24.000Z
2022-03-07T19:22:44.000Z
anyagok/youtube/Literals in C++.cpp
tzsombi01/sze_programozas
7ddc8dfb7b6259b1ef0b2c944d6eb2c08cf52204
[ "MIT" ]
1
2022-03-07T19:13:26.000Z
2022-03-07T19:13:26.000Z
#include <iostream> using namespace std; int main() { int n, m, o; n = 25; // decimal m = 031; // octal o = 0x19; // hexadecimal cout << n << endl << m << endl << o << endl; return 0; }
14.4
26
0.490741
tzsombi01
58c34e1fa654ddaa390ca9e0da3d496e85bc3125
37
hpp
C++
src/boost_hana_fwd_remove.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_hana_fwd_remove.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_hana_fwd_remove.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/hana/fwd/remove.hpp>
18.5
36
0.756757
miathedev
58c456447cc51ba9372fe29ac8138e605299d571
431
cpp
C++
user.cpp
Kwanhooo/LibManagement
56f7719321159e869c361d86024b62cf8fcb44eb
[ "MIT" ]
null
null
null
user.cpp
Kwanhooo/LibManagement
56f7719321159e869c361d86024b62cf8fcb44eb
[ "MIT" ]
null
null
null
user.cpp
Kwanhooo/LibManagement
56f7719321159e869c361d86024b62cf8fcb44eb
[ "MIT" ]
null
null
null
#include "user.h" User::User(QString userName, QString password, QString email, QString phone,QString avatar,QString Bio) { this->userName = userName; this->password = password; this->email = email; this->phone = phone; this->avatar = avatar; this->Bio = Bio; } QString User::toString() { ...
23.944444
112
0.654292
Kwanhooo
58c60fbb60b9225f0155fe4a6b7f53b008d364e2
4,404
cpp
C++
src/Framework/Buffer.cpp
yuphin/Lumen
a210b5a923b684ed1fc6f047544b82af4fdfe2db
[ "MIT" ]
1
2022-01-07T21:25:53.000Z
2022-01-07T21:25:53.000Z
src/Framework/Buffer.cpp
yuphin/Lumen
a210b5a923b684ed1fc6f047544b82af4fdfe2db
[ "MIT" ]
null
null
null
src/Framework/Buffer.cpp
yuphin/Lumen
a210b5a923b684ed1fc6f047544b82af4fdfe2db
[ "MIT" ]
null
null
null
#include "LumenPCH.h" #include "Buffer.h" #include "CommandBuffer.h" #include "Utils.h" void Buffer::create(VulkanContext* ctx, VkBufferUsageFlags usage, VkMemoryPropertyFlags mem_property_flags, VkSharingMode sharing_mode, VkDeviceSize size, void* data, bool use_staging) { if (!this->ctx) { this->ct...
34.677165
122
0.758401
yuphin
58cad8cd3336968fb5c701705e1d7814da7c9d74
7,604
cpp
C++
Core/GDCore/Extensions/Builtin/FileExtension.cpp
Oneoeigh/GDevelop
dddad3ff4b305b161ab6d7938e437fdbf9f0fed6
[ "MIT" ]
1
2018-11-23T11:56:08.000Z
2018-11-23T11:56:08.000Z
Core/GDCore/Extensions/Builtin/FileExtension.cpp
Oneoeigh/GDevelop
dddad3ff4b305b161ab6d7938e437fdbf9f0fed6
[ "MIT" ]
null
null
null
Core/GDCore/Extensions/Builtin/FileExtension.cpp
Oneoeigh/GDevelop
dddad3ff4b305b161ab6d7938e437fdbf9f0fed6
[ "MIT" ]
1
2018-11-23T15:58:40.000Z
2018-11-23T15:58:40.000Z
/* * GDevelop Core * Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights * reserved. This project is released under the MIT License. */ #include "AllBuiltinExtensions.h" #include "GDCore/Tools/Localization.h" using namespace std; namespace gd { void GD_CORE_API BuiltinExtensionsImplementer::Im...
39.195876
80
0.550631
Oneoeigh
58cca9ec76c994b98ce8b2db0ae3d65998a637a4
10,556
cpp
C++
SurfaceReconstruction/SurfaceKernelColoring/SurfaceKernelColoring.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
102
2017-10-17T10:10:59.000Z
2022-01-19T02:10:29.000Z
SurfaceReconstruction/SurfaceKernelColoring/SurfaceKernelColoring.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
2
2019-12-21T11:59:15.000Z
2020-09-08T11:38:36.000Z
SurfaceReconstruction/SurfaceKernelColoring/SurfaceKernelColoring.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
27
2017-10-18T09:37:34.000Z
2022-03-22T01:30:51.000Z
/* * Copyright (C) 2018 by Author: Aroudj, Samir * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #ifdef _WINDOWS #include <Windows...
28.074468
114
0.743653
pavelsevecek
58d2e1eea421fb95bfe49e5874bc06156d15b2d2
744
cpp
C++
modules/triangle-point/src/TrianglePoint.cpp
WolfCub15/devtools-course-practice
680941b93baffac260f4eb6ad94b7dc03b2461f2
[ "CC-BY-4.0" ]
null
null
null
modules/triangle-point/src/TrianglePoint.cpp
WolfCub15/devtools-course-practice
680941b93baffac260f4eb6ad94b7dc03b2461f2
[ "CC-BY-4.0" ]
3
2021-04-22T17:12:19.000Z
2021-05-14T12:16:25.000Z
modules/triangle-point/src/TrianglePoint.cpp
taktaev-artyom/devtools-course-practice
7cf19defe061c07cfb3ebb71579456e807430a5d
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2021 Belik Julia #include <cmath> #include <utility> #include "include/TrianglePoint.h" Triangle::Triangle(std::pair<double, double> _a, std::pair<double, double> _b, std::pair<double, double> _c) : a(_a), b(_b), c(_c) {} bool Triangle::isInside(std::pair<double, double> x) { double t1, t2, t...
33.818182
79
0.541667
WolfCub15
58d5399e1ec3cbf416d523cf679c066c5080f8dc
881
cpp
C++
src/main.cpp
gilliardrodrigues/tp1_alg1
d4901ec380b4628e3f2b7393f66999b87f94f299
[ "MIT" ]
null
null
null
src/main.cpp
gilliardrodrigues/tp1_alg1
d4901ec380b4628e3f2b7393f66999b87f94f299
[ "MIT" ]
null
null
null
src/main.cpp
gilliardrodrigues/tp1_alg1
d4901ec380b4628e3f2b7393f66999b87f94f299
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <sstream> #include "grafo.h" using namespace std; int main() { int qtd_CD, qtd_PV, incremento_temperatura; string linha; getline(cin, linha); // Lê a primeira linha da entrada e armazena em 'linha'. istringstream stream(linha); // Cria um objeto ...
29.366667
106
0.690125
gilliardrodrigues
58d9609512efd2e9fe3a06a4286c04b080b7bc96
1,297
hh
C++
CommBasicObjects/smartsoft/src-gen/CommBasicObjects/CommDataFilesData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommBasicObjects/smartsoft/src-gen/CommBasicObjects/CommDataFilesData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommBasicObjects/smartsoft/src-gen/CommBasicObjects/CommDataFilesData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
30.880952
92
0.707016
canonical-robots
58df6a1d45433ba4b15e228e09d250523a120ec2
2,719
cpp
C++
src/gconv/sage_layer.cpp
chenxuhao/GraphAIBench
ba799487946eed92d9e616b079b6dc17650dcc67
[ "MIT" ]
2
2022-01-19T14:44:50.000Z
2022-02-05T09:38:45.000Z
src/gconv/sage_layer.cpp
chenxuhao/GraphAIBench
ba799487946eed92d9e616b079b6dc17650dcc67
[ "MIT" ]
null
null
null
src/gconv/sage_layer.cpp
chenxuhao/GraphAIBench
ba799487946eed92d9e616b079b6dc17650dcc67
[ "MIT" ]
null
null
null
#include "math_functions.h" #include "graph_conv_layer.h" // Assume before calling forward, feat_in has already been filled in. // feat_out should be the feat_in of next layer void SAGE_layer::forward(float* feat_out) { auto x = num_samples; auto y = dim_in; auto z = dim_out; //std::cout << "SAGE Layer " << l...
43.854839
117
0.621184
chenxuhao
58e46e9e0bd68d5155527cff0c403ef5a9142ffc
103
cpp
C++
lib/binary_tree/main.cpp
LuLStackCoder/My-implementation-STL
65ef1af97e53f82eba09dc7149f2b809998b8e66
[ "MIT" ]
1
2021-03-08T14:17:53.000Z
2021-03-08T14:17:53.000Z
lib/binary_tree/main.cpp
LuLStackCoder/My-implementation-STL
65ef1af97e53f82eba09dc7149f2b809998b8e66
[ "MIT" ]
null
null
null
lib/binary_tree/main.cpp
LuLStackCoder/My-implementation-STL
65ef1af97e53f82eba09dc7149f2b809998b8e66
[ "MIT" ]
null
null
null
#include <iostream> #include "binary_tree.hpp" using namespace std; int main() { return 0; }
11.444444
26
0.650485
LuLStackCoder
58e4d1042afa544982c83c252d7cf43422e23ee8
16,953
cpp
C++
csv/applications/csv-repeat.cpp
3DTK/comma
a6b3173ae8cd9a28108d5b2c2c683f2b15525f60
[ "BSD-3-Clause" ]
21
2015-05-07T06:11:09.000Z
2022-02-01T09:55:46.000Z
csv/applications/csv-repeat.cpp
3DTK/comma
a6b3173ae8cd9a28108d5b2c2c683f2b15525f60
[ "BSD-3-Clause" ]
17
2015-01-16T01:38:08.000Z
2020-03-30T09:05:01.000Z
csv/applications/csv-repeat.cpp
3DTK/comma
a6b3173ae8cd9a28108d5b2c2c683f2b15525f60
[ "BSD-3-Clause" ]
13
2016-01-13T01:29:29.000Z
2022-02-01T09:55:49.000Z
// This file is part of comma, a generic and flexible library // Copyright (c) 2016 The University of Sydney // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source cod...
51.844037
194
0.538784
3DTK
4500e37ccac60b0d38a9ae4be36df97b9ef3fc34
3,517
cc
C++
src/dictionaries/webrtc/video_frame_buffer.cc
elofun/node-webrtc
be63c8c007402c25962df9e30c9813ba70b8a17b
[ "Apache-2.0" ]
1,302
2018-11-26T03:29:51.000Z
2022-03-31T23:38:34.000Z
src/dictionaries/webrtc/video_frame_buffer.cc
elofun/node-webrtc
be63c8c007402c25962df9e30c9813ba70b8a17b
[ "Apache-2.0" ]
311
2018-11-26T14:22:19.000Z
2022-03-28T09:47:38.000Z
src/dictionaries/webrtc/video_frame_buffer.cc
elofun/node-webrtc
be63c8c007402c25962df9e30c9813ba70b8a17b
[ "Apache-2.0" ]
233
2018-11-26T18:08:11.000Z
2022-03-30T01:29:50.000Z
#include "src/dictionaries/webrtc/video_frame_buffer.h" #include <webrtc/api/video/i420_buffer.h> #include "src/dictionaries/node_webrtc/image_data.h" #include "src/functional/validation.h" namespace node_webrtc { static rtc::scoped_refptr<webrtc::I420Buffer> CreateI420Buffer( I420ImageData i420Frame) { auto ...
38.648352
109
0.705431
elofun
4502cd50e589c850c3cb472a7d46b52253a364f6
109
cpp
C++
tests/test_project/example.cpp
vokin-labs/lab11
b5acc90b26db0881fcff57903182576bb41362a6
[ "MIT" ]
null
null
null
tests/test_project/example.cpp
vokin-labs/lab11
b5acc90b26db0881fcff57903182576bb41362a6
[ "MIT" ]
null
null
null
tests/test_project/example.cpp
vokin-labs/lab11
b5acc90b26db0881fcff57903182576bb41362a6
[ "MIT" ]
null
null
null
// // Created by aleksandr on 11.05.2021. // #include <iostream> int main(){ std::cout << "Hi, world!\n"; }
15.571429
38
0.59633
vokin-labs
450375cf1a6a3f3e38c92bf6b2d78ea24970c807
105,303
cc
C++
benchmark/benchmark_message1_proto2.pb.cc
feverzsj/jkl
1ea32ff2495120cc901d29a9c351154ca1f565e4
[ "MIT" ]
null
null
null
benchmark/benchmark_message1_proto2.pb.cc
feverzsj/jkl
1ea32ff2495120cc901d29a9c351154ca1f565e4
[ "MIT" ]
null
null
null
benchmark/benchmark_message1_proto2.pb.cc
feverzsj/jkl
1ea32ff2495120cc901d29a9c351154ca1f565e4
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: benchmark_message1_proto2.proto #include "benchmark_message1_proto2.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/...
40.115429
205
0.693864
feverzsj
45047ade876d55554a29559ee0cca6ebf6686166
835
cpp
C++
SockWrapper/SocketManager.cpp
Re-Coma/TCPSocketFunction-Wrapper-For-Cplusplus
f9c191613a93b0969c90a403641e3250a21ebd2b
[ "MIT" ]
null
null
null
SockWrapper/SocketManager.cpp
Re-Coma/TCPSocketFunction-Wrapper-For-Cplusplus
f9c191613a93b0969c90a403641e3250a21ebd2b
[ "MIT" ]
null
null
null
SockWrapper/SocketManager.cpp
Re-Coma/TCPSocketFunction-Wrapper-For-Cplusplus
f9c191613a93b0969c90a403641e3250a21ebd2b
[ "MIT" ]
null
null
null
#include "Socket.hpp" #include "SocketManager.hpp" #include <string> #include <unistd.h> #include <sys/socket.h> #include <arpa/inet.h> using namespace std; //using namespace SockWrapperForCplusplus; const bool SockWrapperForCplusplus::setSocket(Socket* _socket) { if( _socket->setDiscripter( socket(PF_INET, SOCK_...
21.973684
95
0.717365
Re-Coma
4508970aa3aadb0d3478b9be5aeb21be713fe7e4
1,249
cpp
C++
Train/train.cpp
miteshgoplani/computer-graphics
f59636d5920ec2e04480b99969550708a9293dce
[ "MIT" ]
93
2017-11-04T04:56:05.000Z
2022-03-23T07:54:43.000Z
Train/train.cpp
ShenggKai/computer-graphics
bf23418e9ebf75dbf4ac43fb4943787f7b4af978
[ "MIT" ]
1
2021-02-16T11:36:32.000Z
2021-02-16T11:36:32.000Z
Train/train.cpp
ShenggKai/computer-graphics
bf23418e9ebf75dbf4ac43fb4943787f7b4af978
[ "MIT" ]
55
2017-09-05T08:35:37.000Z
2022-03-23T07:54:44.000Z
using namespace std; #include <iostream> #include <graphics.h> #include <cstdio> #include <cmath> void train(int x, int y) { float h = (float)getwindowheight(); float w = (float)getwindowwidth(); line(0,h/2, w, h/2); line(0,h/2 - 20, w, h/2 - 20); int xx = 10; while(xx < w) { line(...
21.534483
80
0.489992
miteshgoplani
450d05d9c9f5a4e55afb1205d389bd8b105ae922
9,223
cpp
C++
src/impl2d.cpp
EatTofuEveryDay/processing-plus-plus
5b2d867acee755544092a12c517201bb802bd9a6
[ "MIT" ]
null
null
null
src/impl2d.cpp
EatTofuEveryDay/processing-plus-plus
5b2d867acee755544092a12c517201bb802bd9a6
[ "MIT" ]
null
null
null
src/impl2d.cpp
EatTofuEveryDay/processing-plus-plus
5b2d867acee755544092a12c517201bb802bd9a6
[ "MIT" ]
null
null
null
// processing v0.0 #include "../include/processing.h" #define EXT #include "private.h" // For SafeRelease #include "basewin.h" #include "debug.h" bool prxx::__private::operator!=(prxx::__private::runningFunc a, prxx::__private::runningFunc b) { return !(a == b); } // Just the 2d primitives in this file void prxx:...
43.098131
172
0.692183
EatTofuEveryDay
450ef55f5fac26d09617ed8b2f520f3f115aad1e
4,730
cpp
C++
tests/bi.cpp
gyzkard/index-base
5d6ad1e4fc8206cac39eba62deb9d12ad39447c8
[ "MIT" ]
null
null
null
tests/bi.cpp
gyzkard/index-base
5d6ad1e4fc8206cac39eba62deb9d12ad39447c8
[ "MIT" ]
null
null
null
tests/bi.cpp
gyzkard/index-base
5d6ad1e4fc8206cac39eba62deb9d12ad39447c8
[ "MIT" ]
null
null
null
#include "bi.hpp" #include <gympl/testing.hpp> #include <type_traits> //#define INDEX_BASE_DISABLE_DEFINE_LITERALS //#define INDEX_BASE_DISABLE_DEFINE_USINGS #include <inba/inba.hpp> namespace { void extended_runtime_tests() { using namespace inba; using namespace inba::tests; auto f...
33.076923
77
0.590486
gyzkard
450f3b16ac60194e4bc15398fd9ab0d51a34fd43
2,862
hpp
C++
src/visual/visual.hpp
ericwolter/position-based-fluids
30e92ead037b397573a0b7fb9fbac3770093793a
[ "MIT" ]
2
2018-01-03T01:26:54.000Z
2022-01-01T08:43:04.000Z
src/visual/visual.hpp
ericwolter/position-based-fluids
30e92ead037b397573a0b7fb9fbac3770093793a
[ "MIT" ]
null
null
null
src/visual/visual.hpp
ericwolter/position-based-fluids
30e92ead037b397573a0b7fb9fbac3770093793a
[ "MIT" ]
null
null
null
#ifndef _VISUAL_HPP #define _VISUAL_HPP #define GL_GLEXT_PROTOTYPES // Necessary for vertex buffer #include "../Precomp_OpenGL.h" #include "../OGL_Utils.h" #include "../hesp.hpp" #include "../Resources.hpp" #include "../Simulation.hpp" #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transfor...
19.337838
92
0.712089
ericwolter
931f0edeb6c873b8cfe371174966827608905545
577
cpp
C++
paxos++/detail/io_thread.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
54
2015-02-09T11:46:30.000Z
2021-08-13T14:08:52.000Z
paxos++/detail/io_thread.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
null
null
null
paxos++/detail/io_thread.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
17
2015-01-13T03:18:49.000Z
2022-03-23T02:20:57.000Z
#include <functional> #include "io_thread.hpp" namespace paxos { namespace detail { io_thread::io_thread () : work_ (io_service_) { } void io_thread::launch () { thread_ = std::move ( boost::thread (std::bind (&io_thread::run, this))); } void io_t...
11.77551
49
0.538995
armos-db
9329463c11cba5c8be7417a62b2ff511f90dd65d
1,555
cpp
C++
SDLSandbox/SDLSandbox/Source/Controller/PauseState.cpp
kyuuzou/poison-strike
f9d0c41575ed94fd725ca48457e0eb54bf58cc4d
[ "MIT" ]
null
null
null
SDLSandbox/SDLSandbox/Source/Controller/PauseState.cpp
kyuuzou/poison-strike
f9d0c41575ed94fd725ca48457e0eb54bf58cc4d
[ "MIT" ]
null
null
null
SDLSandbox/SDLSandbox/Source/Controller/PauseState.cpp
kyuuzou/poison-strike
f9d0c41575ed94fd725ca48457e0eb54bf58cc4d
[ "MIT" ]
1
2022-03-16T23:01:04.000Z
2022-03-16T23:01:04.000Z
/* * Miniclip Challenge: Poison Strike * @author Nelson Rodrigues */ #include "PauseState.h" #include "IGameController.h" #include "MainMenuState.h" #include "../Audio/IAudioManager.h" #include "../Services/ServiceLocator.h" using namespace Challenge; using namespace std; const std::string PauseStat...
23.923077
103
0.704823
kyuuzou
932a13dca5d8816133b68c30b2bbddfe87f37e3e
813
inl
C++
src/Engine/Renderer/Light/PointLight.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Engine/Renderer/Light/PointLight.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Engine/Renderer/Light/PointLight.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
#include <Engine/Renderer/Light/PointLight.hpp> namespace Ra { inline void Engine::PointLight::setPosition( const Core::Vector3& pos ) { m_position = pos; } inline const Core::Vector3& Engine::PointLight::getPosition() const { return m_position; } inline vo...
23.911765
93
0.618696
nmellado
9335a7e66997fd8070e9f0266bb17e953c5c7e3a
54,847
cpp
C++
hphp/runtime/vm/jit/irtranslator.cpp
nask0/hiphop-php
dde3c9e8d8d585017c09201f98ba804bb24e4134
[ "PHP-3.01", "Zend-2.0" ]
1
2019-04-14T20:29:41.000Z
2019-04-14T20:29:41.000Z
hphp/runtime/vm/jit/irtranslator.cpp
nask0/hiphop-php
dde3c9e8d8d585017c09201f98ba804bb24e4134
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/jit/irtranslator.cpp
nask0/hiphop-php
dde3c9e8d8d585017c09201f98ba804bb24e4134
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | +---------...
29.361349
80
0.635677
nask0
93387f1ee753984bf393da20870c3703d5316bf2
19,836
cpp
C++
TerrainApps/VTBuilder/ImportOSM.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
3
2016-09-02T08:44:46.000Z
2021-04-21T08:27:59.000Z
TerrainApps/VTBuilder/ImportOSM.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
null
null
null
TerrainApps/VTBuilder/ImportOSM.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
1
2016-11-16T07:49:36.000Z
2016-11-16T07:49:36.000Z
// // ImportOSM.cpp: The main Builder class of the VTBuilder // // Copyright (c) 2006-2012 Virtual Terrain Project // Free for all uses, see license.txt for details. // // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif ...
23.336471
89
0.611565
nakijun
9338c2fbb3e5b6e7b33350e0c8ab5fe2a2f53074
975
cpp
C++
solutions/72.edit-distance.393720164.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/72.edit-distance.393720164.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/72.edit-distance.393720164.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
int f(int i, int j, vector<vector<int>> &dp, string &word1, string &word2) { int n = word1.size(); int m = word2.size(); if (i == n) { return (m - j); } if (j == m) { return (n - i); } // Cache if (dp[i][j] != -1) return dp[i][j]; int ans = 1 + f(i + 1, j, dp, word1, word2); // Del...
26.351351
77
0.516923
satu0king
933973dda4194816c0b8fe4c5c1782cb0b752afc
2,201
cpp
C++
OptFrame/Parallel/MapReduce++/examples/RandomInt/SeqRandomInt.cpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
2
2018-05-24T11:04:12.000Z
2020-03-03T13:37:07.000Z
OptFrame/Parallel/MapReduce++/examples/RandomInt/SeqRandomInt.cpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
null
null
null
OptFrame/Parallel/MapReduce++/examples/RandomInt/SeqRandomInt.cpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
1
2019-06-06T16:57:49.000Z
2019-06-06T16:57:49.000Z
// OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License v3 as published by...
28.584416
89
0.683326
216k155
933ecb283a8f4104aa73a62645bd14b6ea7212e2
753
cpp
C++
engine/private/core/modules/input-controls-2/input-binding.cpp
cppcooper/Cheryl-Engine
9a0b08da46539f756c6fe7d70212e9ca91c6fbe7
[ "MIT" ]
null
null
null
engine/private/core/modules/input-controls-2/input-binding.cpp
cppcooper/Cheryl-Engine
9a0b08da46539f756c6fe7d70212e9ca91c6fbe7
[ "MIT" ]
1
2019-01-22T22:07:27.000Z
2019-01-22T22:07:27.000Z
engine/private/core/modules/input-controls-2/input-binding.cpp
cppcooper/cheryl-engine
9a0b08da46539f756c6fe7d70212e9ca91c6fbe7
[ "MIT" ]
null
null
null
#include "../InputBinding.h" #include "../InputState.h" InputBindingDigital::InputBindingDigital( InputStateDigital * state, std::function<void()> callback, unsigned int priority ) { m_State = state; m_ActionCallback = callback; m_Priority = priority; } void InputBindingDigital::poll() { if ( m_State-...
23.53125
137
0.690571
cppcooper
933fa4d6901b7488cfffbbd1f4ff82908ed8cf22
335
hpp
C++
include/res_loader/res_json.hpp
wu1274704958/vulkan_demo
545e00a1fae98e0ff179115887dfa7669b56ccde
[ "MIT" ]
null
null
null
include/res_loader/res_json.hpp
wu1274704958/vulkan_demo
545e00a1fae98e0ff179115887dfa7669b56ccde
[ "MIT" ]
null
null
null
include/res_loader/res_json.hpp
wu1274704958/vulkan_demo
545e00a1fae98e0ff179115887dfa7669b56ccde
[ "MIT" ]
1
2021-12-27T08:40:07.000Z
2021-12-27T08:40:07.000Z
#pragma once #include <json/json.h> #include "res_comm.hpp" namespace vkd{ template<typename ... Args> struct LoadJson { using RetTy = std::shared_ptr<Json::Value>; using ArgsTy = std::tuple<Args...>; using RealRetTy = std::tuple<bool, RetTy>; static RealRetTy load(gld::FStream*, const std::string&, bool printErr...
20.9375
80
0.701493
wu1274704958
934cde0336e7d0ae23940ab10698586429250a91
4,816
cpp
C++
Ouroboros/Source/oCore/Tests/TESTcamera.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
Ouroboros/Source/oCore/Tests/TESTcamera.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
Ouroboros/Source/oCore/Tests/TESTcamera.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
// Copyright (c) 2014 Antony Arciuolo. See License.txt regarding use. #include <oCore/camera.h> #include <oBase/assert.h> #include "../../test_services.h" namespace ouro { const char* as_string(const camera::format& _Format); // @tony: why is this necessary? namespace tests { void TESTcamera(test_ser...
24.697436
141
0.620432
jiangzhu1212
93524490a4adf3bf8b77563fccd0bb84d6481989
362
cpp
C++
libuavcan/test/dsdl_test/dsdl_const_2.cpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
libuavcan/test/dsdl_test/dsdl_const_2.cpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
libuavcan/test/dsdl_test/dsdl_const_2.cpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> */ #include <gtest/gtest.h> #include <uavcan/FigureOfMerit.hpp> TEST(DsdlConst2, FigureOfMerit) { using uavcan::FigureOfMerit; std::cout << &FigureOfMerit::MAX << std::endl; std::cout << &FigureOfMerit::MIN << std::endl; std::cout <...
21.294118
63
0.662983
hsteinhaus
935e6c32f1b8bbce73e8878f3d658930b45ff5db
4,632
cpp
C++
Android/jni/ImageWarper.cpp
ututrc/Panorama-tracker-plugins
5b161aea4d8803277b38695de9fdb569def1ecac
[ "MIT" ]
null
null
null
Android/jni/ImageWarper.cpp
ututrc/Panorama-tracker-plugins
5b161aea4d8803277b38695de9fdb569def1ecac
[ "MIT" ]
null
null
null
Android/jni/ImageWarper.cpp
ututrc/Panorama-tracker-plugins
5b161aea4d8803277b38695de9fdb569def1ecac
[ "MIT" ]
null
null
null
#include "ImageWarper.h" ImageWarper::ImageWarper() : warper(570) { } ImageWarper::ImageWarper(float warper_scale, bool use_android) : warper(warper_scale) { Mat_<float> cameraParameters(3, 3); Mat_<float> distCoeffs(1, 5); //Logitech C920 calibration from video if (!use_android){ //cameraParameters(0, 0) = 6....
27.903614
97
0.674223
ututrc
93619ef001adf0698846629872d59949f12bd63d
8,884
cpp
C++
game/src/Systems/PieceController.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
game/src/Systems/PieceController.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
game/src/Systems/PieceController.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
#include "Systems/PieceController.hpp" #include <Systems/TileController.hpp> #include <GameController.hpp> #include <Components/MoveComponent.hpp> #include <Components/ScoreComponent.hpp> #include <Settings.hpp> using ::Engine::Math::operator-; void PieceController::update(float deltaTime) { localTime += delt...
43.126214
146
0.657587
Hvvang
9362374180d155ecb45841a6c1415d411bb70779
5,255
hpp
C++
src/ai/ai_info.hpp
trademarks/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
8
2016-10-21T09:01:43.000Z
2021-05-31T06:32:14.000Z
src/ai/ai_info.hpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
null
null
null
src/ai/ai_info.hpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
4
2017-05-16T00:15:58.000Z
2020-08-06T01:46:31.000Z
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD 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, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
31.656627
185
0.698763
trademarks
9365be25e27a319da71a1d8c107aebf8ccb6de24
4,612
cpp
C++
tests/src/runtimeApi/module/hipFuncSetSharedMemConfig.cpp
parmance/HIP
96ee9d1397f02ac4b4badd9243994728f6a89fe5
[ "MIT" ]
1,935
2017-05-28T04:52:18.000Z
2022-03-30T23:50:43.000Z
tests/src/runtimeApi/module/hipFuncSetSharedMemConfig.cpp
JCLYHY23/HIP
6a09344dba91a1a9816cb6bcdcc6d8bc6ea564c3
[ "MIT" ]
1,310
2017-05-30T22:16:09.000Z
2022-03-31T08:25:58.000Z
tests/src/runtimeApi/module/hipFuncSetSharedMemConfig.cpp
JCLYHY23/HIP
6a09344dba91a1a9816cb6bcdcc6d8bc6ea564c3
[ "MIT" ]
495
2017-06-01T01:26:27.000Z
2022-03-28T16:36:51.000Z
/* Copyright (c) 2020 - 2021 Advanced Micro Devices, Inc. All rights reserved. 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, c...
39.418803
80
0.685169
parmance
93660f54878e78b290bf7be8cebdeeff9917cb93
164
hpp
C++
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Buildings/Boat.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Buildings/Boat.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Buildings/Boat.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2021-07-15T20:09:13.000Z
2022-02-23T19:21:13.000Z
Boat[] = { {Loot_WEAPON, 1, ItemFishingPole}, {Loot_GROUP, 9, Generic} }; BoatSmall[] = { {Loot_GROUP, 5, GenericSmall}, {Loot_GROUP, 4, Consumable} };
14.909091
37
0.621951
TheFirstNoob
93675706d3bf410525ec46130a5350ed2088db12
13,431
cpp
C++
Source/WinSandbox/GraphicsSystem.cpp
wradley/Freight
91eda2ca0af64036202309f6adbf2d80c406e031
[ "MIT" ]
null
null
null
Source/WinSandbox/GraphicsSystem.cpp
wradley/Freight
91eda2ca0af64036202309f6adbf2d80c406e031
[ "MIT" ]
null
null
null
Source/WinSandbox/GraphicsSystem.cpp
wradley/Freight
91eda2ca0af64036202309f6adbf2d80c406e031
[ "MIT" ]
null
null
null
#include "GraphicsSystem.hpp" #include "GraphicsResourceManager.hpp" #include "Freight/FileIO.hpp" #include "Physics/PhysicsEvents.hpp" GraphicsSystem::GraphicsSystem() { } GraphicsSystem::~GraphicsSystem() { } void GraphicsSystem::start(fr::EventManager &em) { addOnWindowResizeEvent(em); addOnLoadEn...
33.661654
154
0.65252
wradley
9368a413dbe74c14f5ae5cd2154bb2a2986cccbd
1,207
hpp
C++
src/include/AST/BinaryOperator.hpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
src/include/AST/BinaryOperator.hpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
src/include/AST/BinaryOperator.hpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
#ifndef AST_BINARY_OPERATOR_NODE_H #define AST_BINARY_OPERATOR_NODE_H #include "AST/expression.hpp" #include "AST/operator.hpp" #include "visitor/AstNodeVisitor.hpp" #include <memory> class BinaryOperatorNode final : public ExpressionNode { private: Operator m_op; std::unique_ptr<ExpressionNode> m_left_ope...
31.763158
84
0.715824
LittleLaGi
9369ce0f61ba6e0d4b05e3fc7a34cd86414e1d61
4,024
cpp
C++
primegen_clean.cpp
Garbaz/primegen
5cd2b653c40d16ede5912d17a5487700ceeaef58
[ "MIT" ]
null
null
null
primegen_clean.cpp
Garbaz/primegen
5cd2b653c40d16ede5912d17a5487700ceeaef58
[ "MIT" ]
null
null
null
primegen_clean.cpp
Garbaz/primegen
5cd2b653c40d16ede5912d17a5487700ceeaef58
[ "MIT" ]
null
null
null
/**INFO: * This is a simple programm to generate a list of primes using the sieve of eratosthenes. * NOTE: This piece of software is NOT optimized in any way. If time is an important factor to you, * this specific implementation of the algorithm isn't for you. Furthermore this may be filled with * "bad-habit-code";...
25.794872
113
0.58996
Garbaz
9371414d6fe15df885500e0f8f1207bb170c5777
6,176
hpp
C++
include/Org/BouncyCastle/Math/EC/Multiplier/WNafPreCompInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Math/EC/Multiplier/WNafPreCompInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Math/EC/Multiplier/WNafPreCompInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: Org.BouncyCastle.Math.EC.Multiplier.PreCompInfo #include "Org/BouncyCa...
48.629921
455
0.689443
darknight1050
9371b5b06c4bbfa541810f3f81529e7cef24bd67
1,280
cpp
C++
LeetCode/Problems/Algorithms/#2025_MaximumNumberOfWaysToPartitionAnArray_sol2_diffs_O(N)_time_O(N)_extra_space_664ms_236MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#2025_MaximumNumberOfWaysToPartitionAnArray_sol2_diffs_O(N)_time_O(N)_extra_space_664ms_236MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#2025_MaximumNumberOfWaysToPartitionAnArray_sol2_diffs_O(N)_time_O(N)_extra_space_664ms_236MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: int waysToPartition(vector<int>& nums, int k) { const int N = nums.size(); const long long TOTAL_SUM = accumulate(nums.begin(), nums.end(), 0LL); long long prefSum = 0; long long suffSum = TOTAL_SUM; unordered_map<long long, int> diff...
32.820513
79
0.46875
Tudor67
937e309f6c745d517a68c315752eda4a2f1ef2f0
199
cpp
C++
leccion1/holamundo/main.cpp
avalero/IniciacionCpp11
90bf858ef7ecec2510703148deacfd44fb569fa5
[ "MIT" ]
null
null
null
leccion1/holamundo/main.cpp
avalero/IniciacionCpp11
90bf858ef7ecec2510703148deacfd44fb569fa5
[ "MIT" ]
null
null
null
leccion1/holamundo/main.cpp
avalero/IniciacionCpp11
90bf858ef7ecec2510703148deacfd44fb569fa5
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; string nombre{"Nieves"}; unsigned short int edad{27}; int main() { cout << "Hola " << nombre <<", tienes " << edad << " años."<< endl; return 0; }
15.307692
71
0.592965
avalero
9381f52baafdc12881837ae21f2099002efd462b
889
hpp
C++
include/stack.hpp
hun756/Data-Sutructures-in-CPlusPlus
6760f04bfaa2ce6a3afa636faa75a496bf8e900b
[ "MIT" ]
7
2020-10-22T17:46:02.000Z
2022-03-12T16:59:54.000Z
include/stack.hpp
hun756/Data-Sutructures-in-CPlusPlus
6760f04bfaa2ce6a3afa636faa75a496bf8e900b
[ "MIT" ]
1
2020-10-25T18:28:27.000Z
2020-10-28T00:58:24.000Z
include/stack.hpp
hun756/Data-Sutructures-in-CPlusPlus
6760f04bfaa2ce6a3afa636faa75a496bf8e900b
[ "MIT" ]
1
2020-10-25T19:20:46.000Z
2020-10-25T19:20:46.000Z
/** * File : stack.hpp * Explain : C++ stack implementation like std::stack * Author : Mehmet Ekemen * Nickname : `hun * Email : ekemenms@hotmail.com * Date : 5.12.2012 (DD-MM-YYYY) (Updated) * Github : github.com/hun756 * Resource : https://githu...
16.163636
76
0.596175
hun756
938642c26da64e7a26bb4c194d0cb211bd6b0bc7
458
cpp
C++
Work/Source/Sparrow.DirectX/DirectX/Direct3D10/D3D10Structs.cpp
vinothsparrow/SparrowToolkit
32b38281e47db5ab86bedaa801e6736722b244be
[ "MS-PL" ]
1
2020-02-18T11:11:56.000Z
2020-02-18T11:11:56.000Z
Work/Source/Sparrow.DirectX/DirectX/Direct3D10/D3D10Structs.cpp
vinothsparrow/SparrowToolkit
32b38281e47db5ab86bedaa801e6736722b244be
[ "MS-PL" ]
null
null
null
Work/Source/Sparrow.DirectX/DirectX/Direct3D10/D3D10Structs.cpp
vinothsparrow/SparrowToolkit
32b38281e47db5ab86bedaa801e6736722b244be
[ "MS-PL" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. #include "stdafx.h" #include "D3D10Structs.h" #include "D3D10EffectShaderVariable.h" using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D10; PassShaderDescription::PassShaderDescription(const D3D10_PASS_SHADER_DESC& desc) { Sha...
30.533333
104
0.775109
vinothsparrow
93872d6ac3972b0f24f3f69348e79c468fe81770
697
cpp
C++
tests/hci/hci_advertising_tests.cpp
TorstenRobitzki/bluetoe
0f04ccefa4e9ba6a89bf4dfaa0dd62b8e3a46043
[ "MIT" ]
138
2015-04-11T12:07:19.000Z
2022-02-11T13:22:36.000Z
tests/hci/hci_advertising_tests.cpp
TorstenRobitzki/bluetoe
0f04ccefa4e9ba6a89bf4dfaa0dd62b8e3a46043
[ "MIT" ]
60
2015-08-29T12:32:56.000Z
2022-03-25T07:20:21.000Z
tests/hci/hci_advertising_tests.cpp
TorstenRobitzki/bluetoe
0f04ccefa4e9ba6a89bf4dfaa0dd62b8e3a46043
[ "MIT" ]
34
2015-07-08T22:06:25.000Z
2021-12-15T13:17:42.000Z
#define BOOST_TEST_MODULE #include <boost/test/included/unit_test.hpp> #include <bluetoe/server.hpp> #include <bluetoe/service.hpp> #include <bluetoe/characteristic.hpp> #include <bluetoe/link_layer.hpp> #include "transport.hpp" std::uint16_t value = 0x0815; using simple_gatt_server = bluetoe::server< bluetoe::s...
25.814815
83
0.72023
TorstenRobitzki
9390f4bf31cbea41127e14d6f86ad64c2a488467
5,653
cpp
C++
engine/source/Iron/Rendering/Screen.cpp
amkhitaryan/Iron
0f65b8ba129d77ccdec58a03d22d1a5499e3793e
[ "MIT" ]
null
null
null
engine/source/Iron/Rendering/Screen.cpp
amkhitaryan/Iron
0f65b8ba129d77ccdec58a03d22d1a5499e3793e
[ "MIT" ]
null
null
null
engine/source/Iron/Rendering/Screen.cpp
amkhitaryan/Iron
0f65b8ba129d77ccdec58a03d22d1a5499e3793e
[ "MIT" ]
null
null
null
#include <GLFW/glfw3.h> #include <glm/gtc/matrix_transform.hpp> #include "Screen.h" #include "../Core/Input.h" #include "../Core/Application.h" #define UI_MIN_DISTANCE -100.0f #define UI_MAX_DISTANCE 100.0f GLFWwindow* _window; bool needToUpdateViewport = false; bool screenSizeDirty = false; int Screen::_width, Scr...
21.742308
107
0.660711
amkhitaryan
939d3f1a081638cca6869f6c16425443f37c5e04
202
hpp
C++
include/ttl/nn/bits/kernels/normalization.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
3
2018-10-23T18:46:39.000Z
2019-06-24T00:46:10.000Z
include/ttl/nn/bits/kernels/normalization.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
27
2018-11-10T14:19:16.000Z
2020-03-08T23:33:01.000Z
include/ttl/nn/bits/kernels/normalization.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
1
2018-11-05T06:17:12.000Z
2018-11-05T06:17:12.000Z
#pragma once namespace ttl { namespace nn { namespace kernels { template <typename D, typename image_order, typename R> class batch_norm; } // namespace kernels } // namespace nn } // namespace ttl
14.428571
55
0.732673
stdml
4d35488ef567734e61fb3ebff37b5cac63954e0c
5,750
hpp
C++
openstudiocore/src/contam/PrjSubobjectsImpl.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/contam/PrjSubobjectsImpl.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/contam/PrjSubobjectsImpl.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2013-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
33.045977
126
0.64887
ORNL-BTRIC
4d381be4e27af76cb2ceba0023d095189f5d36a5
1,595
cc
C++
mmap/js/mmap_js.cc
datacratic/DasDB
5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b
[ "Apache-2.0" ]
3
2017-12-06T00:25:52.000Z
2021-08-24T20:46:54.000Z
mmap/js/mmap_js.cc
datacratic/DasDB
5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b
[ "Apache-2.0" ]
null
null
null
mmap/js/mmap_js.cc
datacratic/DasDB
5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b
[ "Apache-2.0" ]
1
2016-11-24T17:14:16.000Z
2016-11-24T17:14:16.000Z
/* mmap_js.cc -*- C++ -*- Rémi Attab, 19 April 2012 Copyright (c) 2012 Datacratic. All rights reserved. JS mmap module definition */ #include "v8.h" #include "mmap_js.h" #include "mmap_file_js.h" #include "mmap/mmap_const.h" #include "soa/js/js_registry.h" us...
29
77
0.665831
datacratic
4d38c474bd19663c56984a4a144f753af1403374
15,867
cpp
C++
Framework/PVRApi/OGLES/PipelineConfigStates.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
13
2017-07-24T05:12:53.000Z
2021-06-12T15:35:40.000Z
Framework/PVRApi/OGLES/PipelineConfigStates.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
null
null
null
Framework/PVRApi/OGLES/PipelineConfigStates.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
5
2017-11-03T19:23:02.000Z
2021-12-24T04:12:34.000Z
/*! \brief Definitions of the OpenGL ES implementation of several Pipeline State objects (see GraphicsPipeline). \file PVRApi/OGLES/PipelineConfigStates.cpp \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ #include "PVRApi/OGLES/PipelineConfigStates...
39.470149
137
0.777589
kusharami
4d3b2b63faf1d1d22d2e5dfbcf89240af63ece8f
1,474
hpp
C++
Test/ArcherController.hpp
Cwc-Test/Nima-Cwc
cdcb31bb448c1cbbc6b2d47a9468d5841b4ac2f9
[ "MIT" ]
null
null
null
Test/ArcherController.hpp
Cwc-Test/Nima-Cwc
cdcb31bb448c1cbbc6b2d47a9468d5841b4ac2f9
[ "MIT" ]
null
null
null
Test/ArcherController.hpp
Cwc-Test/Nima-Cwc
cdcb31bb448c1cbbc6b2d47a9468d5841b4ac2f9
[ "MIT" ]
null
null
null
#ifndef _ARCHERCONTROLLER_HPP_ #define _ARCHERCONTROLLER_HPP_ #include "GameActor.hpp" #include <nima/Animation/ActorAnimation.hpp> class ArcherController : public nima::GameActorController { private: nima::ActorAnimation* m_Idle; nima::ActorAnimation* m_Aim; //nima::ActorAnimation* m_Walk; nima::ActorAnimat...
25.859649
87
0.77137
Cwc-Test
4d3c5c22e742b95150a5992621b58e4f87edb959
11,321
cpp
C++
toolbox/clothsimulation/cloth.cpp
katjawolff/custom_fit_garments
1d6f9dcba612010bb5552201f39595f7b288b8d5
[ "MIT" ]
4
2021-08-15T09:28:51.000Z
2022-03-14T10:19:09.000Z
toolbox/clothsimulation/cloth.cpp
katjawolff/custom_fit_garments
1d6f9dcba612010bb5552201f39595f7b288b8d5
[ "MIT" ]
1
2021-12-24T07:16:34.000Z
2021-12-24T07:16:34.000Z
toolbox/clothsimulation/cloth.cpp
katjawolff/custom_fit_garments
1d6f9dcba612010bb5552201f39595f7b288b8d5
[ "MIT" ]
null
null
null
#include "cloth.h" #include "../adjacency.h" #include "../timer.h" #include <iostream> #include <chrono> #include <memory> #include <unsupported/Eigen/SparseExtra> #include <igl/signed_distance.h> #include <igl/opengl/glfw/Viewer.h> #include <igl/opengl/glfw/imgui/ImGuiMenu.h> #include <igl/opengl/glfw/imgui/ImGuiHe...
29.329016
135
0.635986
katjawolff
4d4006d8b653720d3b66dcae59c802c4225f1af9
494
cpp
C++
catkin_ws/src/node_tuto/src/publisher_private.cpp
PMinThant/ROS-with-Cpp
5a63722b4817b02b5e2e66c14a9ff88a4fe2fbd7
[ "MIT" ]
null
null
null
catkin_ws/src/node_tuto/src/publisher_private.cpp
PMinThant/ROS-with-Cpp
5a63722b4817b02b5e2e66c14a9ff88a4fe2fbd7
[ "MIT" ]
null
null
null
catkin_ws/src/node_tuto/src/publisher_private.cpp
PMinThant/ROS-with-Cpp
5a63722b4817b02b5e2e66c14a9ff88a4fe2fbd7
[ "MIT" ]
null
null
null
#include "ros/ros.h" #include "std_msgs/String.h" #include <sstream> int main(int argc, char ** argv) { ros::init(argc,argv, "publisher_node"); ros::NodeHandle n("~"); ros::Publisher pub = n.advertise<std_msgs::String>("message",1000); ros::Rate r (10); std_msgs::String msg; std::stringstream ss; ss<<"I am Pub...
17.034483
68
0.631579
PMinThant
4d41690c77a844eed73bdcc4096d4b6378ca1b35
1,067
cpp
C++
src/Missile.cpp
asalahli/Bombardier
96fb6bcef662dfcc7a2cb1b250dc11b8a1c39051
[ "MIT" ]
null
null
null
src/Missile.cpp
asalahli/Bombardier
96fb6bcef662dfcc7a2cb1b250dc11b8a1c39051
[ "MIT" ]
null
null
null
src/Missile.cpp
asalahli/Bombardier
96fb6bcef662dfcc7a2cb1b250dc11b8a1c39051
[ "MIT" ]
null
null
null
#include "Missile.hpp" #include "ResourceManager.hpp" #define SPEED 1000 Missile::Missile(Screen& screen, GameObject* o, bool enemy) : GameObject(screen) , owner(o) , damage(20) { mVertices.resize(4); if (enemy) getScreen().getGame().getResourceManager().loadSprite(this, 0, "laserRed02.png...
27.358974
97
0.636364
asalahli
4d46cd38697c7f5cb1c9a61a20a54f29a532c050
1,899
cpp
C++
2017-04-07/D.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-04-07/D.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-04-07/D.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> using namespace std; const int NMAX = 310, KMAX = 310, MOD = 1000000007; int N, K; int f[2][NMAX][KMAX][2][2]; int g[2][NMAX][KMAX][2][2]; int t[NMAX], fac[NMAX], ans; bool trans(int *&nf, int *&ng, int i, int j, int k, int l, int m, int o...
21.1
115
0.395471
tangjz
4d4b82d68913ce8173950599cab082a51450eba4
1,356
hpp
C++
exercise-12/code/mc_SU2.hpp
lkeegan/LQCD
c0597a9270006cbfdbb93d26c0ae3cc91109ddc5
[ "MIT" ]
1
2020-01-11T12:37:09.000Z
2020-01-11T12:37:09.000Z
exercise-12/code/mc_SU2.hpp
lkeegan/LQCD
c0597a9270006cbfdbb93d26c0ae3cc91109ddc5
[ "MIT" ]
null
null
null
exercise-12/code/mc_SU2.hpp
lkeegan/LQCD
c0597a9270006cbfdbb93d26c0ae3cc91109ddc5
[ "MIT" ]
null
null
null
#include "4d.hpp" #include "su2.hpp" #include <random> #include <complex> class mc_su2 { protected: lattice grid; field<gauge> U; double beta_; std::ranlux48 rng; std::uniform_int_distribution<int> randdist_int_0_3; std::uniform_int_distribution<int> randdist_int_0_V; std::uniform_real_distribution<double> ran...
27.12
85
0.727876
lkeegan
4d5237ac54e1f5af27b982a93c0851c65f8dd064
315
cpp
C++
src/rt/rust_sched_reaper.cpp
mernen/rust
bb5c07922f20559af1e40d63a15b1be0402e5fe4
[ "MIT" ]
2
2021-09-12T23:47:03.000Z
2021-11-17T10:43:56.000Z
src/rt/rust_sched_reaper.cpp
mernen/rust
bb5c07922f20559af1e40d63a15b1be0402e5fe4
[ "MIT" ]
4
2015-07-22T02:27:23.000Z
2021-06-14T22:17:21.000Z
src/rt/rust_sched_reaper.cpp
mernen/rust
bb5c07922f20559af1e40d63a15b1be0402e5fe4
[ "MIT" ]
1
2021-08-09T01:01:08.000Z
2021-08-09T01:01:08.000Z
#include "rust_kernel.h" #include "rust_sched_reaper.h" // NB: We're using a very small stack here const size_t STACK_SIZE = 1024*20; rust_sched_reaper::rust_sched_reaper(rust_kernel *kernel) : rust_thread(STACK_SIZE), kernel(kernel) { } void rust_sched_reaper::run() { kernel->wait_for_schedulers(); }
19.6875
57
0.742857
mernen
4d56fb9f74ab7d1306ff77bbdb67a917eccf19d5
11,472
cpp
C++
6-FinalCoursework/project2/Mesh.cpp
Torantulino/PhysicsBasedAnimation
3a7362591da6efa6940a35b1d1e5a4faebb49916
[ "MIT" ]
null
null
null
6-FinalCoursework/project2/Mesh.cpp
Torantulino/PhysicsBasedAnimation
3a7362591da6efa6940a35b1d1e5a4faebb49916
[ "MIT" ]
null
null
null
6-FinalCoursework/project2/Mesh.cpp
Torantulino/PhysicsBasedAnimation
3a7362591da6efa6940a35b1d1e5a4faebb49916
[ "MIT" ]
1
2018-10-10T10:41:52.000Z
2018-10-10T10:41:52.000Z
#include "Mesh.h" #include <errno.h> #include <algorithm> /* ** MESH */ // default constructor creates a horizontal plane or dimensions 1 x 1 centered on the origin Mesh::Mesh() { // Create triangle vertices Vertex vertices[] = { Vertex(glm::vec3(-1.0,-1.0,0.0)), Vertex(glm::vec3(0, 1.0, 0.0)), Vertex(glm::vec...
30.189474
208
0.63363
Torantulino
4d6ff249eb311f3b4a46f31d8068072c5e2ba156
9,555
cpp
C++
source/RAIIGen/Generator/Simple/Format/FormatToCpp.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
8
2016-11-02T14:08:51.000Z
2021-03-25T02:00:00.000Z
source/RAIIGen/Generator/Simple/Format/FormatToCpp.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
4
2016-08-23T12:37:17.000Z
2016-09-30T01:58:20.000Z
source/RAIIGen/Generator/Simple/Format/FormatToCpp.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
null
null
null
//*************************************************************************************************************************************************** //* BSD 3-Clause License //* //* Copyright (c) 2016, Rene Thrane //* All rights reserved. //* //* Redistribution and use in source and binary forms, with or without modif...
37.034884
149
0.627525
Unarmed1000
4d723d7be768db39442240247b4471654880ead1
389
cpp
C++
ieee_sep/OneHourRangeType.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
ieee_sep/OneHourRangeType.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
ieee_sep/OneHourRangeType.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
/////////////////////////////////////////////////////////// // OneHourRangeType.cpp // Implementation of the Class OneHourRangeType // Created on: 13-Apr-2020 2:51:36 PM // Original author: svanausdall /////////////////////////////////////////////////////////// #include "OneHourRangeType.h" OneHourRangeType...
20.473684
59
0.506427
Tylores
4d75d054c56c8d5b90aca61dd8600e12ba1bdf92
755
cpp
C++
two-arrays-and-sum-of-functions/ac.cpp
syedakainat3/youtube
9e6860786b3f7b57add7cb4a0d44c551f88b8248
[ "MIT" ]
2,605
2019-02-05T16:03:10.000Z
2022-03-31T15:17:10.000Z
two-arrays-and-sum-of-functions/ac.cpp
MohaiminulEraj/youtube
9e6860786b3f7b57add7cb4a0d44c551f88b8248
[ "MIT" ]
11
2019-10-21T14:40:15.000Z
2021-11-07T21:57:26.000Z
two-arrays-and-sum-of-functions/ac.cpp
MohaiminulEraj/youtube
9e6860786b3f7b57add7cb4a0d44c551f88b8248
[ "MIT" ]
586
2019-03-24T18:39:57.000Z
2022-03-26T12:22:17.000Z
// E. Two Arrays and Sum of Functions, CF #560 (Div. 3) // https://codeforces.com/contest/1165/problem/E // O(n*log(n)) #include <bits/stdc++.h> using namespace std; const int MOD = 998244353; int main() { int n; scanf("%d", &n); vector<long long> a(n); for(int i = 0; i < n; ++i) { scanf("%lld", &a[i]); a[i] = ...
26.034483
61
0.560265
syedakainat3
4d7618ee1ae7b1ddf0c911078b8b994b486b24b0
7,319
cpp
C++
Tests/src/ECS/View.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
Tests/src/ECS/View.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
Tests/src/ECS/View.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
#include "Tefnout/Core/Logger.hpp" #include "catch2/catch.hpp" #include "Tefnout/ECS/View.hpp" #include "Tefnout/ECS/Warehouse.hpp" #include "DataStructure.hpp" /* Unit-Tests for SparseSet View implementation. */ TEST_CASE("SparseSet view can be created", "[SparseSet View]") { Tefnout::ECS::Warehouse<Dynamic> ...
39.777174
95
0.627681
JeremyBois
4d7871b69c543040e61c57e2d153e202f4eeeabd
915
cc
C++
leetcode/p875.cc
lhyqie/lhyqie.github.io
d986ac4afddf169a07d4f1de95bcc737368e212b
[ "MIT" ]
null
null
null
leetcode/p875.cc
lhyqie/lhyqie.github.io
d986ac4afddf169a07d4f1de95bcc737368e212b
[ "MIT" ]
null
null
null
leetcode/p875.cc
lhyqie/lhyqie.github.io
d986ac4afddf169a07d4f1de95bcc737368e212b
[ "MIT" ]
null
null
null
#include "common.h" class Solution { public: int minEatingSpeed(vector<int>& piles, int h) { int high = *std::max_element(piles.begin(), piles.end()); int low = 1; while (low < high) { int mid = low + (high - low) / 2; if (can_eat(piles, h, mid)) { high = mid...
33.888889
131
0.526776
lhyqie