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
5f98ac8dc2a29343977db8d2ddc282487b256327
1,183
cpp
C++
libs/conversion/test/lexical_cast_containers_test.cpp
AishwaryaDoosa/Boost1.49
67bdb3b36d72dec7414a62f3b050162e608ea266
[ "BSL-1.0" ]
null
null
null
libs/conversion/test/lexical_cast_containers_test.cpp
AishwaryaDoosa/Boost1.49
67bdb3b36d72dec7414a62f3b050162e608ea266
[ "BSL-1.0" ]
null
null
null
libs/conversion/test/lexical_cast_containers_test.cpp
AishwaryaDoosa/Boost1.49
67bdb3b36d72dec7414a62f3b050162e608ea266
[ "BSL-1.0" ]
null
null
null
// Testing boost::lexical_cast with boost::container::string. // // See http://www.boost.org for most recent version, including documentation. // // Copyright Antony Polukhin, 2011. // // Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www....
30.333333
86
0.72612
AishwaryaDoosa
5f9a09a6590471c0211f223f3bf4c4f15b99aabd
2,326
cpp
C++
LeetCode/Graph/DFS/PathSumii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/Graph/DFS/PathSumii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Graph/DFS/PathSumii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 113 Path Sum ii * Medium * Jiawei Wang * 2021.8.22 */ /* Revision * $1 2021.9.28 Jiawei Wang * $2 2021.10.17 Jiawei Wang */ #include <vector> #include <deque> #include <stack> using namespace::std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() : val(0...
25.844444
97
0.580396
a4org
5f9c641d3ffe79a888629e8ded33ab1b26fe9c5e
57,524
cpp
C++
SILENT/pthreed.cpp
DPSablowski/silent
a042dadb9bfa0b2219e95d2b292e3e61c0298d0d
[ "Apache-2.0" ]
2
2020-10-15T08:32:42.000Z
2021-07-02T23:17:17.000Z
SILENT/pthreed.cpp
DPSablowski/silent
a042dadb9bfa0b2219e95d2b292e3e61c0298d0d
[ "Apache-2.0" ]
null
null
null
SILENT/pthreed.cpp
DPSablowski/silent
a042dadb9bfa0b2219e95d2b292e3e61c0298d0d
[ "Apache-2.0" ]
null
null
null
#include "pthreed.h" #include "ui_pthreed.h" #include <fstream> #include <sstream> using namespace std; double x13d, x23d, y13d, y23d; string ptdpath; QString qptdpath; pthreed::pthreed(QWidget *parent) : QDialog(parent), ui(new Ui::pthreed) { ui->setupUi(this); this->setWindowTitle("3D Spectrograph ...
31.52
105
0.513473
DPSablowski
5f9f096d5967322c3eb1d8ae124bcf402357d4ef
1,452
cpp
C++
toml/src/storage.cpp
Hun1eR/TOML
7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b
[ "MIT" ]
5
2020-05-12T20:11:00.000Z
2021-02-26T16:59:05.000Z
toml/src/storage.cpp
Hun1eR/TOML
7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b
[ "MIT" ]
null
null
null
toml/src/storage.cpp
Hun1eR/TOML
7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b
[ "MIT" ]
null
null
null
// *********************************************************************** // Author : the_hunter // Created : 04-01-2020 // // Last Modified By : the_hunter // Last Modified On : 04-01-2020 // *********************************************************************** #include <toml/pch.h> /// <summar...
18.379747
95
0.562672
Hun1eR
5fa42e7f7a4287c5bd7052bb8399ef7c4786dab7
1,548
cpp
C++
DevelopmentGame/Game/Source/Hearts.cpp
RubokiReuchi/Development-Platform-Game
59175b86863bf3691422e9289fbb9fa46316f047
[ "MIT" ]
null
null
null
DevelopmentGame/Game/Source/Hearts.cpp
RubokiReuchi/Development-Platform-Game
59175b86863bf3691422e9289fbb9fa46316f047
[ "MIT" ]
null
null
null
DevelopmentGame/Game/Source/Hearts.cpp
RubokiReuchi/Development-Platform-Game
59175b86863bf3691422e9289fbb9fa46316f047
[ "MIT" ]
null
null
null
#include "App.h" #include "Textures.h" #include "Render.h" #include "Map.h" #include "Hearts.h" #include "Player.h" #include "Defs.h" #include "Log.h" Hearts::Hearts() : Entity() {} // Destructor Hearts::~Hearts() {} void Hearts::InitCustomEntity() { b2BodyDef c_body; c_body.type = b2_staticBody; c_body.position....
19.111111
112
0.704134
RubokiReuchi
5fa5e0ef92cc0e2b77957b9b4cde329b971ef1cf
2,945
hpp
C++
include/makeshift/experimental/functional.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
3
2020-04-03T14:06:41.000Z
2021-11-09T23:55:52.000Z
include/makeshift/experimental/functional.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
2
2020-04-03T14:21:09.000Z
2022-02-08T14:37:01.000Z
include/makeshift/experimental/functional.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
null
null
null
#ifndef INCLUDED_MAKESHIFT_EXPERIMENTAL_FUNCTIONAL_HPP_ #define INCLUDED_MAKESHIFT_EXPERIMENTAL_FUNCTIONAL_HPP_ #include <utility> // for move(), forward<>() #include <type_traits> // for move(), forward<>() #include <gsl-lite/gsl-lite.hpp> // for gsl_CPP17_OR_GREATER #include <makeshift/experimental/detail/fu...
24.139344
76
0.615959
mbeutel
5fa7529d1d4cff8639920472a609926a5bcc7b84
16,384
cpp
C++
vkconfig_core/test/test_configuration_built_in.cpp
Puschel2020/VulkanTools
6698657af2291c8cba809069a77e8fc90ff70406
[ "Apache-2.0" ]
null
null
null
vkconfig_core/test/test_configuration_built_in.cpp
Puschel2020/VulkanTools
6698657af2291c8cba809069a77e8fc90ff70406
[ "Apache-2.0" ]
null
null
null
vkconfig_core/test/test_configuration_built_in.cpp
Puschel2020/VulkanTools
6698657af2291c8cba809069a77e8fc90ff70406
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Valve Corporation * Copyright (c) 2020 LunarG, 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 * * Unl...
34.565401
128
0.76123
Puschel2020
5faaf4b0cbc8272189025dd8e2311605f58fe634
1,082
cpp
C++
Core/Core.cpp
Zaangetsuu/Zia
05868c5cc94c571ba76fd414fac970f5cd6e4556
[ "MIT" ]
null
null
null
Core/Core.cpp
Zaangetsuu/Zia
05868c5cc94c571ba76fd414fac970f5cd6e4556
[ "MIT" ]
null
null
null
Core/Core.cpp
Zaangetsuu/Zia
05868c5cc94c571ba76fd414fac970f5cd6e4556
[ "MIT" ]
null
null
null
// // Created by corentin on 20/02/18. // #include "Core.hpp" //Core Core::_singleton = Core(); Core::Core() : _configHandler("zia.conf"), _moduleManager(), _mutex() { } Core::~Core() = default; void Core::run() { updateConfig(); } void Core::updateConfig() { zia::api::Conf configuration; config...
20.415094
77
0.630314
Zaangetsuu
5fb0e05c133e2dab3ebf65e9d1127851ef965d8c
826
cpp
C++
game/src/Settings.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
game/src/Settings.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
game/src/Settings.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
// // Created by Artem Shemidko on 6/22/21. // #include "Settings.hpp" Settings *Settings::m_instance = nullptr; Settings::Settings() { std::ifstream file(ConfigFilePath); if (!file.is_open()) { throw std::invalid_argument(ConfigFilePath); } m_settings = json::parse(file); file.close(); ...
20.65
68
0.639225
Hvvang
5fb3b850bd54d5d5fc57b674c97c079236794cb6
35,086
cpp
C++
Source/Mesh/kdtree.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
null
null
null
Source/Mesh/kdtree.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
7
2015-01-05T16:41:55.000Z
2015-01-17T11:21:06.000Z
Source/Mesh/kdtree.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
null
null
null
#include "inmost_mesh.h" #if defined(USE_MESH) #define _m0(x) (x & 0x7FF) #define _m1(x) (x >> 11 & 0x7FF) #define _m2(x) (x >> 22 ) namespace INMOST { inline static void crossproduct(const Storage::real vecin1[3],const Storage::real vecin2[3], Storage::real vecout[3]) { vecout[0] = vecin1[1]*vecin2[2] - vecin1[2...
31.439068
173
0.545716
INM-RAS
5fb3ffb00d3187d775d28e7408b077d2f8160ca0
946
cpp
C++
rw_rh_engine_lib/render_client/light_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
232
2016-08-29T00:33:32.000Z
2022-03-29T22:39:51.000Z
rw_rh_engine_lib/render_client/light_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
10
2021-01-02T12:40:49.000Z
2021-08-31T06:31:04.000Z
rw_rh_engine_lib/render_client/light_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
40
2017-12-18T06:14:39.000Z
2022-01-29T16:35:23.000Z
// // Created by peter on 16.02.2021. // #include "light_state_recorder.h" #include <ipc/MemoryReader.h> #include <ipc/MemoryWriter.h> namespace rh::rw::engine { constexpr size_t gLightBufferSize = 1024; LightStateRecorder::LightStateRecorder() noexcept { PointLights.resize( gLightBufferSize ); PointLightCoun...
24.25641
63
0.726216
petrgeorgievsky
5fbc7950a61cd3bba983184cdf49e6d6fa78c527
4,127
cpp
C++
src/Imploder/Linux/Imploder.cpp
perriera/ng-monitor
38b47773d7a4cc39fd677622648f0e59a616a751
[ "MIT" ]
null
null
null
src/Imploder/Linux/Imploder.cpp
perriera/ng-monitor
38b47773d7a4cc39fd677622648f0e59a616a751
[ "MIT" ]
null
null
null
src/Imploder/Linux/Imploder.cpp
perriera/ng-monitor
38b47773d7a4cc39fd677622648f0e59a616a751
[ "MIT" ]
null
null
null
#include "../include/Imploder/Linux/Imploder.hpp" #include "../extra/include/Directory.hpp" #include "../extra/include/string_support.hpp" #include <fstream> #include <iostream> #include <sstream> #include <vector> using namespace std; std::ostream &operator<<(std::ostream &out, const LinuxImploder &obj) { out << "...
31.503817
80
0.618609
perriera
5fc3b7a4ee1de9f25f0a42435b224d43751ead56
7,634
inl
C++
src/cryptonote_core/cryptonote_core_idle.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
src/cryptonote_core/cryptonote_core_idle.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
src/cryptonote_core/cryptonote_core_idle.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------------------------- double factorial(unsigned int n) { if (n <= 1) return 1.0; double f = n; while (n-- > 1) f *= n; return f; } //---------------------------------------------------------------------------...
35.179724
166
0.529211
flywithfang
5fd81ae9cfe65941cbb90aa3dd2ec9a4c5c3c695
2,104
cpp
C++
src/interp_gen_inv.cpp
vincenzocoia/igcop
1ac1affbb7ec50f5946181207f6816dd37669d70
[ "MIT" ]
null
null
null
src/interp_gen_inv.cpp
vincenzocoia/igcop
1ac1affbb7ec50f5946181207f6816dd37669d70
[ "MIT" ]
null
null
null
src/interp_gen_inv.cpp
vincenzocoia/igcop
1ac1affbb7ec50f5946181207f6816dd37669d70
[ "MIT" ]
1
2021-02-09T08:50:05.000Z
2021-02-09T08:50:05.000Z
#include <Rcpp.h> using namespace Rcpp; //' @rdname generators_vec // [[Rcpp::export]] NumericVector interp_gen_inv_vec(NumericVector p, NumericVector eta, NumericVector alpha) { int i; int n = p.size(); double interp_gen_inv_algo (double, double, double, int, double, double); Nu...
32.369231
75
0.61692
vincenzocoia
5fdc1449b4fd53a3bcbd6e00abaefbba821519ea
34,474
cpp
C++
TommyGun/FrameWork/ZXProjectManager.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
34
2017-05-08T18:39:13.000Z
2022-02-13T05:05:33.000Z
TommyGun/FrameWork/ZXProjectManager.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
null
null
null
TommyGun/FrameWork/ZXProjectManager.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
6
2017-05-27T01:14:20.000Z
2020-01-20T14:54:30.000Z
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
35.141692
278
0.483553
tonyt73
5fdc82ee6a7af0e8ff43d8d09ecb0dc07ab4d219
4,151
cpp
C++
Tests/TestHarness/TestHarness.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Tests/TestHarness/TestHarness.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Tests/TestHarness/TestHarness.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "Stroika/Foundation/StroikaPreComp.h" #include <cstdlib> #include <iostream> #include "Stroika/Foundation/Characters/CodePage.h" #include "Stroika/Foundation/Characters/ToString.h" #include "Stroika/Foundation/Containers/Common.h"...
35.478632
150
0.655264
SophistSolutions
5fdeba227402e5fa7c2d0ed0354709a04aee8e0b
3,887
cpp
C++
src/packet.cpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
null
null
null
src/packet.cpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
null
null
null
src/packet.cpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
1
2020-05-01T19:01:38.000Z
2020-05-01T19:01:38.000Z
#include "wenet/packet.hpp" #include <algorithm> namespace sq { namespace wenet { Packet::Flags convertFlags(Packet::Flags flags) { using Exception = Packet::Exception; if (!flags) throw Exception{"Flags cannot be empty"}; if (flags & Packet::Flag::Reliable) { if (flags & Packet::Flag::Unsequen...
27.373239
84
0.647286
sQu1rr
5fe3994efdad7e149c195d80c3b463adf9e663de
15,356
cpp
C++
Electro/src/Platform/DX11/DX11Renderbuffer.cpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
21
2021-08-30T15:30:22.000Z
2022-02-09T14:05:36.000Z
Electro/src/Platform/DX11/DX11Renderbuffer.cpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
null
null
null
Electro/src/Platform/DX11/DX11Renderbuffer.cpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
null
null
null
// ELECTRO ENGINE // Copyright(c) 2021 - Electro Team - All rights reserved #include "epch.hpp" #include "DX11Renderbuffer.hpp" #include "DX11Internal.hpp" namespace Electro { // Max: 8K Texture; 8192 / 1204 = 8 static const Uint sMaxFramebufferSize = 8192; namespace Utils { ...
47.395062
179
0.670096
SurgeTechnologies
5fe53c0029d1e5affde4c094dfca9df22124ab1d
2,994
cpp
C++
_2007 - Undemo/src/libTexture/Texture.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
_2007 - Undemo/src/libTexture/Texture.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
_2007 - Undemo/src/libTexture/Texture.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
// // Simple texture class // #ifdef _WIN32 #include <windows.h> #endif #include <GL/gl.h> #include <GL/glu.h> #include <malloc.h> #include <memory.h> #include "Texture.h" Texture :: Texture () { width = 0; height = 0; numComponents = 0; data ...
25.159664
94
0.434202
retgone
5fe95fdfc63eb73eb12ecfd4e687164a67eb02a1
3,396
hpp
C++
math/private/taylor.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
41
2019-09-24T02:17:34.000Z
2022-01-18T03:14:46.000Z
math/private/taylor.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
2
2019-11-04T09:01:40.000Z
2020-06-23T03:03:38.000Z
math/private/taylor.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
8
2019-09-24T02:17:35.000Z
2021-09-11T00:21:03.000Z
#ifndef xpack_math_private_taylor #define xpack_math_private_taylor #pragma push_macro("xuser") #undef xuser #define xuser mixc::math_private_taylor::inc #include"define/base_type.hpp" #include"macro/xexport.hpp" #pragma pop_macro("xuser") // 生成 4x6 常量系数 // coe (coefficient) #define xcoe(name) ...
32.653846
69
0.46172
Better-Idea
5fedb50d51f7ad15cb04e0cbcde7555b65d6519f
1,023
cpp
C++
src/core/math/matrix3x3.cpp
ValtoForks/crown
0d273f352de01f0adac8a29db7f520979540b916
[ "MIT" ]
null
null
null
src/core/math/matrix3x3.cpp
ValtoForks/crown
0d273f352de01f0adac8a29db7f520979540b916
[ "MIT" ]
null
null
null
src/core/math/matrix3x3.cpp
ValtoForks/crown
0d273f352de01f0adac8a29db7f520979540b916
[ "MIT" ]
null
null
null
/* * Copyright (c) 2012-2018 Daniele Bartolini and individual contributors. * License: https://github.com/dbartolini/crown/blob/master/LICENSE */ #include "core/math/matrix3x3.h" namespace crown { Matrix3x3& invert(Matrix3x3& m) { const f32 xx = m.x.x; const f32 xy = m.x.y; const f32 xz = m.x.z; const f32 yx =...
22.733333
73
0.54741
ValtoForks
5ff1c66b9dd889cc507f35caba96ca46cbadae5c
1,174
cpp
C++
csapex_core_plugins/src/text/text_input.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
2
2016-09-02T15:33:22.000Z
2019-05-06T22:09:33.000Z
csapex_core_plugins/src/text/text_input.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
1
2021-02-11T09:14:31.000Z
2021-02-27T09:30:14.000Z
csapex_core_plugins/src/text/text_input.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
6
2016-10-12T00:55:23.000Z
2021-02-10T17:49:25.000Z
/// HEADER #include "text_input.h" /// PROJECT #include <csapex/model/node_modifier.h> #include <csapex/model/token.h> #include <csapex/msg/generic_value_message.hpp> #include <csapex/msg/io.h> #include <csapex/param/parameter_factory.h> #include <csapex/signal/event.h> #include <csapex/utility/register_apex_plugin.h>...
26.088889
106
0.689949
AdrianZw
5ff1f07f3de7eab200bafd6036dd24e193a40690
6,710
hh
C++
cc/virus/passage.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
cc/virus/passage.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
cc/virus/passage.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include "ext/fmt.hh" #include "ext/compare.hh" #include "utils/string.hh" #include "utils/messages.hh" // ====================================================================== namespace ae::virus::passage { struct deconstructed_t { struct element_t ...
37.277778
195
0.557526
skepner
5ff2dbff101f428a796f1ec674d67868ca7fdab4
3,905
cpp
C++
Bumblebee/BumblebeeGLSLProgram.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
1
2017-08-15T03:56:22.000Z
2017-08-15T03:56:22.000Z
Bumblebee/BumblebeeGLSLProgram.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
null
null
null
Bumblebee/BumblebeeGLSLProgram.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
null
null
null
#include "BumblebeeGLSLProgram.h" // Compiles a pipeline of shaders bool BumblebeeGLSLProgram::compile(bool transform) { _program = glCreateProgram(); if (_vertex_src) { _vertex = glCreateShader(GL_VERTEX_SHADER); glShaderSource(_vertex, 1, &_vertex_src, 0); glCompileShader(_vertex); glAttachShader(_program...
22.442529
95
0.715237
radical-bumblebee
5ff732b63bfcd41acfa362ff09a498db600c9e2b
38,389
cpp
C++
SkyBox.cpp
havokentity/Reaction-Engine-Renderer
cb0452d81da6a6baf8a681141fcc8e1ba0e04b14
[ "MIT" ]
2
2020-03-09T18:48:54.000Z
2020-05-14T03:58:45.000Z
SkyBox.cpp
havokentity/Reaction-Engine-Renderer
cb0452d81da6a6baf8a681141fcc8e1ba0e04b14
[ "MIT" ]
null
null
null
SkyBox.cpp
havokentity/Reaction-Engine-Renderer
cb0452d81da6a6baf8a681141fcc8e1ba0e04b14
[ "MIT" ]
null
null
null
/* Description: Skybox class and Lens flare object class classes contained are: class Skybox class LensFlareTexObj */ #include "SkyBox.h" #include "CoreEngine.h" #include "Console.h" namespace DifferentialArts { Skybox::~Skybox() { //this->Free(); } Skybox::Skybox() { this->inUse = false; this->si...
31.937604
138
0.703587
havokentity
5ff9bf0b84bb5ff286261824a8340d93d731fd43
1,063
hpp
C++
Control_movement/gimbal/Src/Imu.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-31T09:27:00.000Z
2021-12-31T09:27:00.000Z
Control_movement/gimbal/Src/Imu.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
null
null
null
Control_movement/gimbal/Src/Imu.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-22T03:34:04.000Z
2021-12-22T03:34:04.000Z
#ifndef IMU_HPP #define IMU_HPP #include "bsp_imu.h" #include "RobotEngine.hpp" class Imu : public SensorEntity { private: float m_YawRaw; float m_Yaw; float m_Pitch; float m_Roll; float m_WX; float m_WY; float m_WZ; float m_ZeroYaw; uint8_t m_FrameBuffer[64]; uint8_t m_BufferQ...
19.327273
49
0.648166
PhilosopheAM
dfd650ea0d737a754f9fbd0dd3fc1401d6610eec
2,177
cpp
C++
src/timer.cpp
narfg/gbemulator
4f911e50df966a79177b458f6f618f02d940e88c
[ "MIT" ]
3
2019-11-19T18:47:57.000Z
2019-11-24T12:45:36.000Z
src/timer.cpp
narfg/gbemulator
4f911e50df966a79177b458f6f618f02d940e88c
[ "MIT" ]
null
null
null
src/timer.cpp
narfg/gbemulator
4f911e50df966a79177b458f6f618f02d940e88c
[ "MIT" ]
null
null
null
#include "timer.h" Timer::Timer(uint8_t* ram): ram_(ram), div_tick_(0), tima_tick_(0) { } void Timer::tick() { // Game Boy clock frequency is 4 * 1024 * 1024 = 4194304 Hz div_tick_++; // On overflow (happens at 16384 Hz) if (div_tick_ == 0x00) { // Increment DIV ram_[0xFF0...
22.677083
63
0.439136
narfg
dfd6b522e5fe200349cfbfee506350f1accf450e
439
cpp
C++
old/AtCoder/abc075/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/AtCoder/abc075/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/AtCoder/abc075/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "adjacent_loop.hpp" #include "string.hpp" #include "vector.hpp" int main() { int h(in), w(in); Vector<String> s(h, in); for (int i = 0; i < h; ++i) { for (int j = 0; j < w; ++j) { if (s[i][j] == '#') { continue; } s[i][j] = '0'; for (auto k : AdjacentLoop<8>(i, j, h, ...
19.086957
50
0.396355
not522
dfdaadb1f936fdf7f0ca4d99a06279adce426195
8,891
cpp
C++
libcaf_core/src/detail/parse.cpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
4
2019-05-03T05:38:15.000Z
2020-08-25T15:23:19.000Z
libcaf_core/src/detail/parse.cpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/src/detail/parse.cpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
30.138983
80
0.570352
jsiwek
dfdf5ef1b67c7d6657aa8c7cb8339214d84fc674
580
hpp
C++
include/ndtree/relations/dimension.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
15
2015-09-02T13:25:55.000Z
2021-04-23T04:02:19.000Z
include/ndtree/relations/dimension.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
1
2015-11-18T03:50:18.000Z
2016-06-16T08:34:01.000Z
include/ndtree/relations/dimension.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
4
2016-05-20T18:57:27.000Z
2019-03-17T09:18:13.000Z
#pragma once /// \file dimension.hpp #include <ndtree/types.hpp> #include <ndtree/utility/assert.hpp> #include <ndtree/utility/ranges.hpp> namespace ndtree { inline namespace v1 { /// Range of spatial dimensions: [0, nd) /// /// TODO: make constexpr when view::iota is constexpr auto dimensions(uint_t nd) noexcept { re...
30.526316
67
0.775862
gnzlbg
dfdf9f59b62e76f3f7d1cada6dfafdd84c5f61b4
1,701
cpp
C++
src/gradientFill.cpp
da11an/tidyxl
44d47d667f0c86f2f8cea1216b821ae6a9da26c1
[ "MIT" ]
201
2016-09-15T23:04:37.000Z
2022-03-24T06:24:42.000Z
src/gradientFill.cpp
da11an/tidyxl
44d47d667f0c86f2f8cea1216b821ae6a9da26c1
[ "MIT" ]
60
2016-09-15T16:53:27.000Z
2022-03-31T20:57:16.000Z
src/gradientFill.cpp
da11an/tidyxl
44d47d667f0c86f2f8cea1216b821ae6a9da26c1
[ "MIT" ]
13
2017-01-02T22:04:55.000Z
2022-03-24T06:24:05.000Z
#include <Rcpp.h> #include "rapidxml.h" #include "gradientFill.h" #include "xlsxstyles.h" #include "color.h" using namespace Rcpp; gradientFill::gradientFill( rapidxml::xml_node<>* gradientFill, xlsxstyles* styles ) { // Initialize variables type_ = NA_STRING; degree_ = NA_INTEGER; left_ = NA_...
33.352941
96
0.62963
da11an
dfe63303d58054b1b5169bb242b675ab720f9c39
1,145
cpp
C++
Stp/Base/System/LibraryPosix.cpp
markazmierczak/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:52.000Z
2019-07-11T12:47:52.000Z
Stp/Base/System/LibraryPosix.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
null
null
null
Stp/Base/System/LibraryPosix.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:53.000Z
2019-07-11T12:47:53.000Z
// Copyright 2017 Polonite Authors. All rights reserved. // Distributed under MIT license that can be found in the LICENSE file. #include "Base/System/Library.h" #include "Base/Containers/Join.h" #include "Base/FileSystem/FilePath.h" #include "Base/Text/FormatMany.h" #include <dlfcn.h> namespace stp { static inlin...
24.891304
93
0.731004
markazmierczak
dfe7eca43a001a690c7d066899a2e34841f67702
11,500
cpp
C++
OneCodeTeam/C++ app automates Outlook (CppAutomateOutlook)/[C++]-C++ app automates Outlook (CppAutomateOutlook)/C++/CppAutomateOutlook/Solution2.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
OneCodeTeam/C++ app automates Outlook (CppAutomateOutlook)/[C++]-C++ app automates Outlook (CppAutomateOutlook)/C++/CppAutomateOutlook/Solution2.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
OneCodeTeam/C++ app automates Outlook (CppAutomateOutlook)/[C++]-C++ app automates Outlook (CppAutomateOutlook)/C++/CppAutomateOutlook/Solution2.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
/****************************** Module Header ******************************\ * Module Name: Solution2.cpp * Project: CppAutomateOutlook * Copyright (c) Microsoft Corporation. * * The code in Solution2.h/cpp demontrates the use of C/C++ and the COM APIs * to automate Outlook. The raw automation is much more dif...
26.136364
79
0.652957
zzgchina888
dfecca42c5fdb93c2256bf3b9c567f85b950a173
10,101
cxx
C++
Modules/Numerics/HighDimensionalOptimizers/test/itkRegistrationParameterScalesFromJacobianTest.cxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
2
2015-06-19T07:18:36.000Z
2019-04-18T07:28:23.000Z
Modules/Numerics/HighDimensionalOptimizers/test/itkRegistrationParameterScalesFromJacobianTest.cxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
null
null
null
Modules/Numerics/HighDimensionalOptimizers/test/itkRegistrationParameterScalesFromJacobianTest.cxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
2
2017-05-02T07:18:49.000Z
2020-04-30T01:37:35.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
35.69258
113
0.717751
CapeDrew
dfed579475fe5b8d59f6690b9a0dc956a4215e7e
3,792
cpp
C++
app/src/main/cpp/audio/FileDataSource.cpp
codecameo/fast-mixer
5f9403a61239984ce23b8250159a1e1913beda06
[ "MIT" ]
1
2021-01-20T18:27:02.000Z
2021-01-20T18:27:02.000Z
app/src/main/cpp/audio/FileDataSource.cpp
codecameo/fast-mixer
5f9403a61239984ce23b8250159a1e1913beda06
[ "MIT" ]
null
null
null
app/src/main/cpp/audio/FileDataSource.cpp
codecameo/fast-mixer
5f9403a61239984ce23b8250159a1e1913beda06
[ "MIT" ]
null
null
null
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
30.580645
97
0.663766
codecameo
dfefdfedbac7251dda93e256ce370a9ea96d275d
7,553
cpp
C++
trans_str_menu_snap.cpp
rsuzaki/FireAlpacaTranslation
529dc597f057da3f6abce63aa44dc92fc0cc3f0c
[ "MIT" ]
2
2021-08-16T20:56:54.000Z
2021-08-20T07:16:42.000Z
trans_str_menu_snap.cpp
rsuzaki/FireAlpacaTranslation
529dc597f057da3f6abce63aa44dc92fc0cc3f0c
[ "MIT" ]
null
null
null
trans_str_menu_snap.cpp
rsuzaki/FireAlpacaTranslation
529dc597f057da3f6abce63aa44dc92fc0cc3f0c
[ "MIT" ]
1
2021-10-17T14:07:35.000Z
2021-10-17T14:07:35.000Z
/* -*- coding: utf-8 -*- マルチバイト */ #if defined(_MSC_VER) #pragma execution_character_set("utf-8") #endif #include "trans.h" #include "trans_str_menu_snap.h" /////////////////////////////////////////////////////////////////////////// // - スナップメニューで使用される文字列 // - A string used in the snap menu. /////////////////////...
43.408046
86
0.554879
rsuzaki
dff4c277ebc23a04cfd9677c3070ce5d044e5524
1,803
hpp
C++
library/ATF/GUILD_BATTLE__CGuildBattleReservedSchedule.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/GUILD_BATTLE__CGuildBattleReservedSchedule.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/GUILD_BATTLE__CGuildBattleReservedSchedule.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <GUILD_BATTLE__CGuildBattleSchedule.hpp> #include <_worlddb_guild_battle_schedule_list.hpp> START_ATF_NAMESPACE namespace GUILD_BATTLE { struct...
40.977273
123
0.667221
lemkova
5f0173e0560cf546f6adf0f2389f52e443286399
2,053
hpp
C++
tests/functional/coherence/util/ConcurrentMapTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/functional/coherence/util/ConcurrentMapTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/functional/coherence/util/ConcurrentMapTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "cxxtest/TestSuite.h" #include "coherence/lang.ns" #include "coherence/net/NamedCache.hpp" #include "coherence/util/ConcurrentMap.hp...
22.811111
70
0.476376
chpatel3
5f03597167a31394156365fd4ce9b1ad969e7d70
19,004
hpp
C++
src/operations/blas3/gemm_no_local.hpp
sgeor255/sycl-blas
447219a01d24b132694d6743f67ba27b67c42369
[ "Apache-2.0" ]
null
null
null
src/operations/blas3/gemm_no_local.hpp
sgeor255/sycl-blas
447219a01d24b132694d6743f67ba27b67c42369
[ "Apache-2.0" ]
null
null
null
src/operations/blas3/gemm_no_local.hpp
sgeor255/sycl-blas
447219a01d24b132694d6743f67ba27b67c42369
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * @license * Copyright (C) Codeplay Software Limited * 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 * *...
40.008421
80
0.649074
sgeor255
5f0e74fb949fa1970136511ea2b7939392215ceb
982
cpp
C++
codeforces/A - Mind the Gap/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/A - Mind the Gap/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/A - Mind the Gap/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Apr/29/2018 19:27 * solution_verdict: Accepted language: GNU C++14 * run...
29.757576
111
0.35336
kzvd4729
5f0ea5324c1a2156ae92ef6b40a94826fbb94ffd
451
cpp
C++
src/libs/utility/unit-test/runtime_assert_test.cpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/libs/utility/unit-test/runtime_assert_test.cpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/libs/utility/unit-test/runtime_assert_test.cpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#include "test/test.hpp" #include "utility/runtime_assert.hpp" begin_suite(assert_test); test_case(assert_passes) { try { gorc::runtime_assert(true, "assert not thrown"); } catch(...) { assert_always("exception thrown"); } } test_case(assert_fails) { assert_throws(gorc::runtime_as...
18.791667
63
0.627494
jdmclark
5f1208d498c3a2777b3be89e9e8c1e3327fdc063
4,158
cpp
C++
app/interaction_service/core-algo/test/temp/random_graph_minimum_spanning_tree.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
1
2021-11-07T18:34:20.000Z
2021-11-07T18:34:20.000Z
app/interaction_service/core-algo/test/temp/random_graph_minimum_spanning_tree.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
1
2021-11-16T21:29:32.000Z
2021-11-16T21:29:32.000Z
app/interaction_service/core-algo/test/src/random_graph_minimum_spanning_tree.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
2
2021-11-05T11:06:18.000Z
2021-11-07T18:49:17.000Z
// Copyright (c) 2021 XOptimzer Team. // All rights reserved. // Standard libraries #include <utility> // std::pair, std::make_pair #include <chrono> // std::chrono::system_clock::now().time_since_epoch().count() #include <random> // std::mt19937_64 #include <algori...
39.6
224
0.604137
Philippe-Guyard
5f157134ea6a8536026b67f1ad3b648b3382fb09
694
cpp
C++
CPxRigidActor.cpp
bloeys/physx-c
0e2a4b2bd11a9a178c08a8137182c5ede647c3ac
[ "MIT" ]
null
null
null
CPxRigidActor.cpp
bloeys/physx-c
0e2a4b2bd11a9a178c08a8137182c5ede647c3ac
[ "MIT" ]
null
null
null
CPxRigidActor.cpp
bloeys/physx-c
0e2a4b2bd11a9a178c08a8137182c5ede647c3ac
[ "MIT" ]
null
null
null
#include <PxPhysicsAPI.h> #include "CPxRigidActor.h" #include "CPxDefaultAllocator.h" void CPxRigidActor_setSimFilterData(CPxRigidActor* cra, CPxFilterData* cfd) { physx::PxRigidActor* actor = static_cast<physx::PxRigidActor*>(cra->obj); const physx::PxU32 numShapes = actor->getNbShapes(); physx::PxShape*...
36.526316
119
0.723343
bloeys
5f15f8f9809f9ad5ae5b4d72ee9b6fc59e529727
128
cpp
C++
userland/utilities/reboot/main.cpp
smithersomer/pranaOS
b8ef2554af43fd3e0f67a5ceebbad8b1ae1c4cb1
[ "BSD-2-Clause" ]
1
2021-12-04T13:33:48.000Z
2021-12-04T13:33:48.000Z
userland/utilities/reboot/main.cpp
smithersomer/pranaOS
b8ef2554af43fd3e0f67a5ceebbad8b1ae1c4cb1
[ "BSD-2-Clause" ]
null
null
null
userland/utilities/reboot/main.cpp
smithersomer/pranaOS
b8ef2554af43fd3e0f67a5ceebbad8b1ae1c4cb1
[ "BSD-2-Clause" ]
null
null
null
#include <stdio.h> #include <signal.h> int main() { printf("rebooting..."); // return kill(1, SIGHUP); return 0; }
12.8
30
0.570313
smithersomer
5f18d49921f611a6fc34bc8a287cf420121b138d
125
cc
C++
Core/tests/testVector.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
Core/tests/testVector.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
Core/tests/testVector.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
#include <cc/Vector> namespace cc { template class Vector<double, 3>; } int main(int argc, char *argv[]) { return 0; }
13.888889
50
0.648
frankencode
5f1c2b05dcdaedfa9d9710cbd5536212ab55608b
590
cpp
C++
ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera2d.cpp
eric-fonseca/Throw-Things-at-Monsters
c92d9cd4e244d4ddb54b74e8508cba2b6408abb7
[ "MIT" ]
null
null
null
ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera2d.cpp
eric-fonseca/Throw-Things-at-Monsters
c92d9cd4e244d4ddb54b74e8508cba2b6408abb7
[ "MIT" ]
null
null
null
ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera2d.cpp
eric-fonseca/Throw-Things-at-Monsters
c92d9cd4e244d4ddb54b74e8508cba2b6408abb7
[ "MIT" ]
null
null
null
#include <vix_glcamera2d.h> namespace Vixen { GLCamera2D::GLCamera2D(float L, float R, float T, float B) { SetBounds(L, R, T, B); } void GLCamera2D::SetBounds(float L, float R, float T, float B) { m_left = L; m_right = R; m_top = T; m_bottom = B...
14.390244
62
0.576271
eric-fonseca
5f1c5a83059ffe2ca09c9d147add2eb75d32de46
505
cpp
C++
src/the_framework/dstruct/shellsort/main.cpp
schnedann/linebuffer
494745a6d83eef1adebf9a6e30c636a8edd5f0c2
[ "BSD-3-Clause" ]
null
null
null
src/the_framework/dstruct/shellsort/main.cpp
schnedann/linebuffer
494745a6d83eef1adebf9a6e30c636a8edd5f0c2
[ "BSD-3-Clause" ]
null
null
null
src/the_framework/dstruct/shellsort/main.cpp
schnedann/linebuffer
494745a6d83eef1adebf9a6e30c636a8edd5f0c2
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <cstdlib> #include <stdint.h> #include <ctime> #include <sstream> using namespace std; /** * */ int main() { uint16_t* data; cout << "Hello world!" << endl; data = new uint16_t[dVALUES]; fillran(data,dVALUES); cout << "Unsorte...
14.027778
63
0.548515
schnedann
5f1ca3ba83ee3e063c678dadfd2a01a0c4db3038
659
cpp
C++
215#kth-largest-element-in-an-array/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
215#kth-largest-element-in-an-array/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
215#kth-largest-element-in-an-array/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
class Solution { public: void search(int l, int r) { } int findKthLargest(vector<int>& nums, int k) { int *arr = nums.data(); int l = 0, r = nums.size(); k--; while (true) { if (l == r - 1 && l == k) return arr[k]; int v = arr[l]; ...
26.36
53
0.314112
llwwns
5f1eb99a1fae7f113f2b06e2e265a0047583fd39
1,950
cpp
C++
src/Game/CogShape.cpp
ananace/LD44
472e5134a1f846d9c2244b31fe3753d08963b71e
[ "MIT" ]
null
null
null
src/Game/CogShape.cpp
ananace/LD44
472e5134a1f846d9c2244b31fe3753d08963b71e
[ "MIT" ]
null
null
null
src/Game/CogShape.cpp
ananace/LD44
472e5134a1f846d9c2244b31fe3753d08963b71e
[ "MIT" ]
null
null
null
#include "CogShape.hpp" #include "../Util.hpp" #include <cstdio> using Game::CogShape; CogShape::CogShape(float aRadius, float aToothHeight, size_t aToothCount, uint8_t aToothWidth, bool aToothSlope) : m_circleRadius(aRadius) , m_toothHeight(aToothHeight) , m_toothCount(aToothCount) , m_toothWidth(aT...
20.744681
112
0.661026
ananace
5f1ebaf2a80daf73415741e7c9b16b1d1ab0c2f4
237
cpp
C++
Editor/Editor/Menu/ToolsMenu/ToolsMenu.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
null
null
null
Editor/Editor/Menu/ToolsMenu/ToolsMenu.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
null
null
null
Editor/Editor/Menu/ToolsMenu/ToolsMenu.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
1
2020-12-04T08:57:03.000Z
2020-12-04T08:57:03.000Z
#include "..\..\Editor.h" #include <Engine/Core/AssetLibrary/AssetLibrary.h> #include <Editor/WarningDialog/WarningDialog.h> void Editor::CreateToolsMenu(void) { toolsMenu = menuBar()->addMenu("Tools"); CreateDesignToolsMenu(); }
18.230769
50
0.734177
gregory-vovchok
5f22ba34654f5cb4d7e01db13a43e9e25eabfb47
111
hpp
C++
tool.hpp
Admaks/Minesweeper
6f2ca36e2eec5dba3e022a85542df7390278c7f7
[ "MIT" ]
null
null
null
tool.hpp
Admaks/Minesweeper
6f2ca36e2eec5dba3e022a85542df7390278c7f7
[ "MIT" ]
null
null
null
tool.hpp
Admaks/Minesweeper
6f2ca36e2eec5dba3e022a85542df7390278c7f7
[ "MIT" ]
null
null
null
#ifndef MINESWEEPER__TOOL_HPP_ #define MINESWEEPER__TOOL_HPP_ namespace TOOL { char toChar(int); } #endif
13.875
30
0.783784
Admaks
5f2785bbb9b796f967cdd0653e4aa8d97976cdfa
708
cpp
C++
2020-11-17/machado.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
2
2020-12-12T00:02:40.000Z
2021-04-21T19:49:59.000Z
2020-11-17/machado.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
2020-11-17/machado.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> int main() { int n, lines_per_page, chars_per_line; char word[124]; while(true) { if (scanf(" %d %d %d", &n, &lines_per_page, &chars_per_line)!=3) break; ++chars_per_line; int current_page = 1; int current_line = 1; int cu...
21.454545
52
0.55226
pufe
5f3370b3f1607e6b5983749b0e156556e8513ffd
1,572
cpp
C++
ctest/tests/geometry/Quadric.cpp
mgradysaunders/Precept
0677c70ac4ed9e0a8c5aad7b049daad22998de9e
[ "BSD-2-Clause" ]
null
null
null
ctest/tests/geometry/Quadric.cpp
mgradysaunders/Precept
0677c70ac4ed9e0a8c5aad7b049daad22998de9e
[ "BSD-2-Clause" ]
null
null
null
ctest/tests/geometry/Quadric.cpp
mgradysaunders/Precept
0677c70ac4ed9e0a8c5aad7b049daad22998de9e
[ "BSD-2-Clause" ]
null
null
null
#include "../../testing.h" #include <pre/geometry/Quadric> using namespace pre; TEST_CASE("geometry:Quadric") { Pcg32 gen = RandomGen(); SUBCASE("Ellipse (2-dimensional)") { auto quad = Quadric2d::make_ellipsoid({3, 2}); double t0 = NaN<double>; double t1 = NaN<double>; CHECK(...
35.727273
62
0.533079
mgradysaunders
5f33f9f2ead49e0c61fd3f89f466907652e6cadd
348
cpp
C++
atcoder(abc)/171E.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
atcoder(abc)/171E.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
atcoder(abc)/171E.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int maxn = 2e5 + 1; int a[maxn]; int main() { int n; cin >> n; cin >> a[0]; int xr = a[0]; for(int i=1; i<n; i++) { cin >> a[i]; xr = a[i]^xr; } for(int i=0; i<n; i++) cout << (a[i]^xr) << " "; cout ...
15.818182
53
0.393678
NafiAsib
5f34a695185cd3b602cf7a5a639b1eafe33b5009
4,485
cpp
C++
pendulum-pointers.cpp
Riccardo-Beccalli/Physical-Simulation
a6dfcc6b9f8cfda977970fdf08ce7c57ccb02ca9
[ "MIT" ]
null
null
null
pendulum-pointers.cpp
Riccardo-Beccalli/Physical-Simulation
a6dfcc6b9f8cfda977970fdf08ce7c57ccb02ca9
[ "MIT" ]
null
null
null
pendulum-pointers.cpp
Riccardo-Beccalli/Physical-Simulation
a6dfcc6b9f8cfda977970fdf08ce7c57ccb02ca9
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <fstream> #include <cstdlib> #include <unistd.h> using namespace std; #define W 20 #define G 9.81 void introduction (); void evolution (double *x, double *v, double *data, ofstream *ptrfout); void write (double *data, ofstream *ptrfout2); void choice (double *data, doub...
30.304054
115
0.467781
Riccardo-Beccalli
5f367cbd72ff29e32509e52b53c8ae0501b0f53e
8,848
cpp
C++
src/lastfmpp/tag.cpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
src/lastfmpp/tag.cpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
src/lastfmpp/tag.cpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
/************************************************************************** ** Copyright (C) 2015 Christian Manning ** ** This software may be modified and distributed under the terms ** of the MIT license. See the LICENSE file for details. **************************************************************************/ #...
44.913706
119
0.555493
chrismanning
5f3a83a1d0cd000b55f50ee21386dfeca4e737d1
1,310
cpp
C++
src/OpenGL/entrypoints/GL1.5/gl_is_query.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
114
2018-08-05T16:26:53.000Z
2021-12-30T07:28:35.000Z
src/OpenGL/entrypoints/GL1.5/gl_is_query.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
5
2018-08-18T21:16:58.000Z
2018-11-22T21:50:48.000Z
src/OpenGL/entrypoints/GL1.5/gl_is_query.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
6
2018-08-05T22:32:28.000Z
2021-10-04T15:39:53.000Z
/* VKGL (c) 2018 Dominik Witczak * * This code is licensed under MIT license (see LICENSE.txt for details) */ #include "OpenGL/entrypoints/GL1.5/gl_is_query.h" #include "OpenGL/context.h" #include "OpenGL/globals.h" static bool validate(OpenGL::Context* in_context_ptr, const GLuint& in_id) {...
24.259259
80
0.575573
kbiElude
5f4312923a694bf986c8d2d753f2b6c79ca4c6b2
1,952
cpp
C++
Source/DynamicalModels/ObjectStates/imstkCPDState.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
2
2020-08-14T07:21:30.000Z
2021-08-30T09:39:09.000Z
Source/DynamicalModels/ObjectStates/imstkCPDState.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
null
null
null
Source/DynamicalModels/ObjectStates/imstkCPDState.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
1
2020-08-14T07:00:31.000Z
2020-08-14T07:00:31.000Z
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
30.030769
100
0.664959
quantingxie
5f44c8d245494a9b2b21a59f033300ff3882816c
950
cpp
C++
src/RenderMethod_GrassFFP.cpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
1
2016-05-17T03:36:52.000Z
2016-05-17T03:36:52.000Z
src/RenderMethod_GrassFFP.cpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
null
null
null
src/RenderMethod_GrassFFP.cpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "RenderMethod_GrassFFP.h" void RenderMethod_GrassFFP::renderPass(RENDER_PASS pass) { switch (pass) { case OPAQUE_PASS: pass_opaque(); break; default: return; } } void RenderMethod_GrassFFP::pass_opaque() { CHECK_GL_ERROR(); // Setup state glPushAttrib(GL_AL...
21.111111
59
0.74
foxostro
5f45faf4488d38fb890c45ddf4219c3ab8706e94
633
cpp
C++
src/main.cpp
maxwillf/Huffman
8de0e08050b5ada24c0114b8832fca192f8abce7
[ "MIT" ]
null
null
null
src/main.cpp
maxwillf/Huffman
8de0e08050b5ada24c0114b8832fca192f8abce7
[ "MIT" ]
null
null
null
src/main.cpp
maxwillf/Huffman
8de0e08050b5ada24c0114b8832fca192f8abce7
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <map> #include <vector> #include "../include/node.h" #include "../include/util.h" #include "../include/huffman.h" #include "../include/ioManager.h" int main(int argc, char *argv[]) { std::ifstream input("res/input.txt"); std::ofstream output("res/output.txt"); ...
21.1
47
0.650869
maxwillf
5f473ae4e46a0335559d7c28cf870d7d8507d80b
15,136
cc
C++
src/EDepSimLogManager.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
15
2017-04-25T14:20:22.000Z
2022-03-15T19:39:43.000Z
src/EDepSimLogManager.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
24
2017-11-08T21:16:48.000Z
2022-03-04T13:33:18.000Z
src/EDepSimLogManager.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
20
2017-11-09T15:41:46.000Z
2022-01-25T20:52:32.000Z
#include <vector> #include <sstream> #include <fstream> #include <time.h> #include "EDepSimLog.hh" EDepSim::LogManager::ErrorPriority EDepSim::LogManager::fErrorPriority = EDepSim::LogManager::ErrorLevel; EDepSim::LogManager::LogPriority EDepSim::LogManager::fLogPriority = EDepSim::LogManager::LogLevel; std::ostream*...
38.318987
105
0.461879
andrewmogan
5f47d2228527a5b7377eab7235caf037f212e4b1
5,516
hpp
C++
examples/game_2d/src/helpers/spritemap.hpp
Turtwiggy/Cplusplus_game_engine
71f66c047b0802232a32ec113eb83b310aaec0ab
[ "Apache-2.0" ]
null
null
null
examples/game_2d/src/helpers/spritemap.hpp
Turtwiggy/Cplusplus_game_engine
71f66c047b0802232a32ec113eb83b310aaec0ab
[ "Apache-2.0" ]
null
null
null
examples/game_2d/src/helpers/spritemap.hpp
Turtwiggy/Cplusplus_game_engine
71f66c047b0802232a32ec113eb83b310aaec0ab
[ "Apache-2.0" ]
null
null
null
#pragma once // your proj headers #include "engine/maths_core.hpp" // other proj headers #include <glm/glm.hpp> #include <imgui.h> // standard lib #include <array> #include <map> #include <vector> namespace game2d { namespace sprite { enum class type { // row 0 EMPTY, BUSH_0, BUSH_1, BUSH_2, BUSH_3, ...
21.297297
69
0.569072
Turtwiggy
5f483e6a2426241ae8f199c6432fd9fd32c22e94
50
cpp
C++
src/engine/assets/handle_manager.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
1
2018-10-20T22:08:59.000Z
2018-10-20T22:08:59.000Z
src/engine/assets/handle_manager.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
null
null
null
src/engine/assets/handle_manager.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
null
null
null
// handle_manager.cpp #include "handle_manager.h"
16.666667
27
0.78
invaderjon
5f51192d7ae5ce2fddb892ddd514ed9d99682870
648
cpp
C++
Practice4/Task2.cpp
zuza-rzemieniewska/Cpp_Practices
96cade6c757185a533ecbb5ffd26dff929df8d9a
[ "MIT" ]
null
null
null
Practice4/Task2.cpp
zuza-rzemieniewska/Cpp_Practices
96cade6c757185a533ecbb5ffd26dff929df8d9a
[ "MIT" ]
null
null
null
Practice4/Task2.cpp
zuza-rzemieniewska/Cpp_Practices
96cade6c757185a533ecbb5ffd26dff929df8d9a
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main(){ int n, i=1; float a, sum = 0; cout << "Enter the number of numbers you want to count the average of: " << endl; cin >> n; if(n<=0){ cout << "The number of numbers must be positive!" << endl; ...
17.513514
86
0.433642
zuza-rzemieniewska
34fddf34fae9c8837fca2744dba4fd2b975db32d
1,203
hpp
C++
include/ValkyrieEngine/Util.hpp
VD-15/Valkyrie-Engine
2287568e24b3ab20dff4feecbbf523c2fbbced65
[ "MIT" ]
2
2020-06-18T21:32:29.000Z
2021-01-29T04:16:47.000Z
include/ValkyrieEngine/Util.hpp
VD-15/Valkyrie-Engine
2287568e24b3ab20dff4feecbbf523c2fbbced65
[ "MIT" ]
13
2020-02-02T19:00:15.000Z
2020-02-08T18:32:06.000Z
include/ValkyrieEngine/Util.hpp
VD-15/Valkyrie-Engine
2287568e24b3ab20dff4feecbbf523c2fbbced65
[ "MIT" ]
null
null
null
#ifndef VLK_UTIL_HPP #define VLK_UTIL_HPP #include <type_traits> namespace vlk { //Using `typename` keyword for templates like this is a C++17 extension /*! * \brief Is specialization template class * * Evaluates to <tt>std::true_type</tt> if template parameter <tt>T</tt> is a specialization of template cl...
27.976744
177
0.678304
VD-15
5500d43ef5b031fe38a3ccbd49fce332f8e78ac9
1,336
cpp
C++
sources/names.cpp
malytomas/unnatural-planets
57ad1a48629a37f95ff729b75f8aaf439e209093
[ "MIT" ]
1
2021-03-01T21:49:24.000Z
2021-03-01T21:49:24.000Z
sources/names.cpp
malytomas/unnatural-planets
57ad1a48629a37f95ff729b75f8aaf439e209093
[ "MIT" ]
2
2020-07-13T10:57:27.000Z
2021-02-24T21:10:09.000Z
sources/names.cpp
malytomas/unnatural-planets
57ad1a48629a37f95ff729b75f8aaf439e209093
[ "MIT" ]
null
null
null
#include <cage-core/math.h> #include <cage-core/string.h> using namespace cage; namespace { constexpr const char *Prefixes[] = { "bel", "nar", "xan", "bell", "natr", "ev", }; constexpr const char *Stems[] = { "adur", "aes", "anim", "apoll", "imac", "educ", "equis", "extr", "guius", "hann", "equi", "amora",...
24.290909
86
0.574102
malytomas
550426813a3db89ca22113035ac8bf7e59553647
3,142
hpp
C++
include/codegen/include/System/Array_SorterObjectArray.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Array_SorterObjectArray.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Array_SorterObjectArray.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.Array #include "System/Array.hpp" // Including t...
44.253521
199
0.699236
Futuremappermydud
550d2001921a86a72e4fb90ade31e07c845639d0
610
hpp
C++
include/anisthesia/player.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
33
2017-02-07T00:03:31.000Z
2022-02-09T12:06:52.000Z
include/anisthesia/player.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
7
2017-07-26T22:40:22.000Z
2022-01-30T08:05:51.000Z
include/anisthesia/player.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
9
2017-08-05T10:33:05.000Z
2021-10-03T00:23:21.000Z
#pragma once #include <string> #include <vector> namespace anisthesia { enum class Strategy { WindowTitle, OpenFiles, UiAutomation, }; enum class PlayerType { Default, WebBrowser, }; struct Player { PlayerType type = PlayerType::Default; std::string name; std::string window_title_format; std::vec...
19.0625
77
0.727869
swiftcitrus
551189f990bff99aba9835310a35ecc5267a7297
1,113
cpp
C++
tests-batch/net/launchSwapClient.cpp
dtorban/MinVR_Old
8b09ba1a61f6dcef051c5dd8d3f3e607ee55955d
[ "BSD-3-Clause" ]
18
2016-08-04T16:09:52.000Z
2022-01-17T15:43:37.000Z
tests-batch/net/launchSwapClient.cpp
OpenSpace/MinVR
17b4f3bd57cefd07f99159288069f01713053054
[ "BSD-3-Clause" ]
123
2015-01-08T17:32:39.000Z
2021-12-22T00:55:00.000Z
tests-batch/net/launchSwapClient.cpp
OpenSpace/MinVR
17b4f3bd57cefd07f99159288069f01713053054
[ "BSD-3-Clause" ]
21
2016-11-04T18:36:29.000Z
2022-03-01T19:44:11.000Z
#include "net/VRNetClient.h" #ifdef WIN32 #include <process.h> #define getpid _getpid #endif // Program to launch one VRNetClient that connects to server. Created // client executes syncSwapBuffersAcrossAllNodes. The program is // intended to be executed by a forked child process in the network // tests. We do thi...
32.735294
80
0.679245
dtorban
5517ed72ba6dcfa449db9440d7378dbd6e212161
669
cpp
C++
_site/Competitive Programming/Codeforces/1136B.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/Codeforces/1136B.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/Codeforces/1136B.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include "bits/stdc++.h" #ifdef PRINTERS #include "printers.hpp" using namespace printers; #define tr(a) cerr<<#a<<" : "<<a<<endl #else #define tr(a) #endif #define ll long long #define pb push_back #define mp make_pair #define pii pair<int,int> #define vi vector<...
20.90625
44
0.544096
anujkyadav07
551987d7d2abd0f6f163c02e0b95d9364cd025b5
424
cpp
C++
src/io/screen/screen.cpp
fishjump/osdevc_libinit
7221beb9c2a9035d3a24b90a9993fb73ee4063c3
[ "MIT" ]
null
null
null
src/io/screen/screen.cpp
fishjump/osdevc_libinit
7221beb9c2a9035d3a24b90a9993fb73ee4063c3
[ "MIT" ]
null
null
null
src/io/screen/screen.cpp
fishjump/osdevc_libinit
7221beb9c2a9035d3a24b90a9993fb73ee4063c3
[ "MIT" ]
null
null
null
#include <global/global.hpp> #include "../../lazyload.hpp" namespace { lazyload<system::io::entity::Screen> gobalScreen; } // namespace namespace system::global { namespace init { void initScreen() { gobalScreen.init(); } } // namespace init namespace instance { system::io::entity::Screen *getSc...
18.434783
49
0.653302
fishjump
551b7262d22290ae2294c9e79a7a5bed441c8187
1,141
cpp
C++
Algorithms/Src/String.cpp
ikarusx/ModernCpp
8c0111dec2d0a2a183250e2f9594573b99687ec5
[ "MIT" ]
null
null
null
Algorithms/Src/String.cpp
ikarusx/ModernCpp
8c0111dec2d0a2a183250e2f9594573b99687ec5
[ "MIT" ]
null
null
null
Algorithms/Src/String.cpp
ikarusx/ModernCpp
8c0111dec2d0a2a183250e2f9594573b99687ec5
[ "MIT" ]
null
null
null
#include "Precompiled.hpp" #include "String.hpp" #include <limits> #include <string> #include <iostream> using namespace Algorithms; namespace { static const auto speedup = []() { std::ios::sync_with_stdio(false); std::cin.tie(NULL); return 0; }(); } // No std algorithms. int String::AToI(std::string str...
16.779412
75
0.608238
ikarusx
551c3f2f5b73aa74c9961befe28aa3cc7891c65b
645
cpp
C++
docs/cpp/codesnippet/CPP/how-to-create-and-use-shared-ptr-instances_6.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/cpp/codesnippet/CPP/how-to-create-and-use-shared-ptr-instances_6.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/cpp/codesnippet/CPP/how-to-create-and-use-shared-ptr-instances_6.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
// Initialize two separate raw pointers. // Note that they contain the same values. auto song1 = new Song(L"Village People", L"YMCA"); auto song2 = new Song(L"Village People", L"YMCA"); // Create two unrelated shared_ptrs. shared_ptr<Song> p1(song1); shared_ptr<Song> p2(song2); //...
37.941176
68
0.593798
bobbrow
551d2a06b3e733b0bdca497ed5cb7f28a173baf1
18,865
hpp
C++
src/date.hpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
27
2016-11-19T16:51:21.000Z
2021-09-08T16:44:15.000Z
src/date.hpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
1
2016-12-28T16:38:38.000Z
2017-02-17T05:32:13.000Z
src/date.hpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
10
2016-12-28T02:31:38.000Z
2021-06-15T09:02:07.000Z
/* Copyright (C) 2016 -2017 Jerry Jin */ #ifndef date_h #define date_h #include <nan.h> #include <string> #include <queue> #include <utility> #include "../quantlibnode.hpp" #include <oh/objecthandler.hpp> using namespace node; using namespace v8; using namespace std; class PeriodFromFrequencyWorker : public Na...
15.826342
59
0.616539
quantlibnode
551f1694353d2b86cc15f39bc78274bac6675a04
3,157
cpp
C++
competitive programming/codechef/TREE2.cpp
sureshmangs/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
competitive programming/codechef/TREE2.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
competitive programming/codechef/TREE2.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
/* On a sunny day, Akbar and Birbal were taking a leisurely walk in palace gardens. Suddenly, Akbar noticed a bunch of sticks on the ground and decided to test Birbal's wits. There are N stick holders with negligible size (numbered 1 through N) in a row on the ground. Akbar places all the sticks in them vertically; fo...
36.709302
426
0.69528
sureshmangs
5520f325dbed7501f3d425b7abb2b0018f490070
390
cpp
C++
logout.cpp
fraxer/scgi-server
9f26eea5bb4e27c500bffddae5e91aec0f18ab52
[ "MIT" ]
null
null
null
logout.cpp
fraxer/scgi-server
9f26eea5bb4e27c500bffddae5e91aec0f18ab52
[ "MIT" ]
null
null
null
logout.cpp
fraxer/scgi-server
9f26eea5bb4e27c500bffddae5e91aec0f18ab52
[ "MIT" ]
null
null
null
class LogoutController: public Controller { public: string& run(map<const char*, const char*>& parms) { addHeader("Set-Cookie: id=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT"); addHeader("Set-Cookie: token=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT"); retu...
43.333333
92
0.574359
fraxer
5531c27ffd7423825958ed95e59fd394e420a3d8
129
hpp
C++
dependencies/glm/gtx/euler_angles.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/glm/gtx/euler_angles.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/glm/gtx/euler_angles.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:83c1f5f2fc2dcc4d7d99f930b6aa29e09677df4d1148a7d86389ea8c2a9a5dd0 size 4609
32.25
75
0.883721
realtehcman
553dc8b35d6f9886b9491ca697dab6dc8117668a
2,890
cpp
C++
src/simulated_annealing.cpp
paulora2405/iar-tsp-sa
552ee4aea9122d6cc66bc2650ec128dc85a0a718
[ "MIT" ]
null
null
null
src/simulated_annealing.cpp
paulora2405/iar-tsp-sa
552ee4aea9122d6cc66bc2650ec128dc85a0a718
[ "MIT" ]
null
null
null
src/simulated_annealing.cpp
paulora2405/iar-tsp-sa
552ee4aea9122d6cc66bc2650ec128dc85a0a718
[ "MIT" ]
null
null
null
#include "simulated_annealing.hpp" #include <algorithm> #include <cmath> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <random> namespace sa { static std::default_random_engine gen(time(NULL)); static std::uniform_real_distribution<double> prob0_1(0.0f, 1.0f); std::vector<Trio> ...
23.495935
96
0.547059
paulora2405
55433e84fe4a26b7293d7a091cfb84e51744cc4d
823
cpp
C++
src/offer.04.er-wei-shu-zu-zhong-de-cha-zhao-lcof/cpp/main.cpp
1-st/algos
d1f4cff9ee0b014e05629091fb3bdc3c9da90b15
[ "Apache-2.0" ]
1
2020-11-05T04:03:15.000Z
2020-11-05T04:03:15.000Z
src/offer.04.er-wei-shu-zu-zhong-de-cha-zhao-lcof/cpp/main.cpp
up0/algos
1ceee4a5e6445c3ac9b11482aad97d8cd44bbcec
[ "Apache-2.0" ]
null
null
null
src/offer.04.er-wei-shu-zu-zhong-de-cha-zhao-lcof/cpp/main.cpp
up0/algos
1ceee4a5e6445c3ac9b11482aad97d8cd44bbcec
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> /* { from:"https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof/" , description:"二维数组中的查找" } */ using namespace std; class Solution { public: bool findNumberIn2DArray(vector<vector<int>> &matrix, int target) { if (matrix.size() == 0 || matrix[0].size()...
20.575
81
0.561361
1-st
5543ca29ea100c88d35f297233fc5a7fdacba642
13,639
cpp
C++
EvolutionDlg.cpp
CanadianYankee/TrafficSwarm
9b2eb423de89fdeba7195a7fd6f1a667ecdea12c
[ "MIT" ]
1
2019-12-14T15:52:28.000Z
2019-12-14T15:52:28.000Z
EvolutionDlg.cpp
CanadianYankee/TrafficSwarm
9b2eb423de89fdeba7195a7fd6f1a667ecdea12c
[ "MIT" ]
null
null
null
EvolutionDlg.cpp
CanadianYankee/TrafficSwarm
9b2eb423de89fdeba7195a7fd6f1a667ecdea12c
[ "MIT" ]
null
null
null
// EvolutionDlg.cpp : implementation file // #include "pch.h" #include "TrafficSwarm.h" #include "EvolutionDlg.h" #include "afxdialogex.h" #include "Course.h" #include "AgentGenome.h" #include "TrialRun.h" // CEvolutionDlg dialog UINT RunThreadedTrial(LPVOID pParams) { CEvolutionDlg* pOwner = ((CEvolutionDlg*)pPa...
28.713684
167
0.72586
CanadianYankee
55503ce84af159e368f44a017f1c2ce725063e81
2,210
cp
C++
gps/gps.cp
igor-almeida-github/meus-projetos-com-microcontroladores
be1ac244cd79db66461e7ae2fec843dac60c266d
[ "MIT" ]
2
2021-06-09T15:01:11.000Z
2021-07-13T19:25:06.000Z
gps/gps.cp
igor-almeida-github/meus-projetos-com-microcontroladores
be1ac244cd79db66461e7ae2fec843dac60c266d
[ "MIT" ]
null
null
null
gps/gps.cp
igor-almeida-github/meus-projetos-com-microcontroladores
be1ac244cd79db66461e7ae2fec843dac60c266d
[ "MIT" ]
null
null
null
#line 1 "C:/Users/igor_/Documents/Microcontroladores/PIC/Mikroc/gps/gps.c" sbit LCD_RS at RB4_bit; sbit LCD_EN at RB5_bit; sbit LCD_D4 at RB0_bit; sbit LCD_D5 at RB1_bit; sbit LCD_D6 at RB2_bit; sbit LCD_D7 at RB3_bit; sbit LCD_RS_Direction at TRISB4_bit; sbit LCD_EN_Direction at TRISB5_bit; sbit L...
22.323232
75
0.676923
igor-almeida-github
55649b809c20937903949393d4f3a7099fce8014
37,223
hpp
C++
core/os/windows/src/cogs/os/sync/atomic_operators.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
5
2019-02-08T15:59:14.000Z
2022-01-22T19:12:33.000Z
core/os/windows/src/cogs/os/sync/atomic_operators.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
1
2019-12-03T03:11:34.000Z
2019-12-03T03:11:34.000Z
core/os/windows/src/cogs/os/sync/atomic_operators.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
null
null
null
// // Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC // #ifdef COGS_HEADER_ENV_SYNC_ATOMIC_OPERATORS #ifndef COGS_HEADER_OS_SYNC_ATOMIC_OPERATORS #define COGS_HEADER_OS_SYNC_ATOMIC_OPERATORS #include "cogs/arch/sync/atomic_operators.hpp" namespace cogs { namespace os { nam...
27.531805
145
0.644736
cogmine
556817c38c3259227c29c6b851cd31e277aa4ffb
434
cc
C++
LeetCode-278.cc
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
20
2015-12-22T14:14:59.000Z
2019-10-25T12:14:23.000Z
LeetCode-278.cc
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
null
null
null
LeetCode-278.cc
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
2
2016-06-27T13:34:08.000Z
2018-10-02T20:36:54.000Z
// Forward declaration of isBadVersion API. bool isBadVersion(int version); class Solution { public: int firstBadVersion(int n) { int low = 1; int high = n; while (low != high) { int mid = low + (high - low)/2; if (isBadVersion(mid)) high = mid; else lo...
19.727273
44
0.509217
therainmak3r
556b86c30beb85f19996670f398c4b181dd3f7e4
2,941
hpp
C++
include/class_info.hpp
gordonwatts/func-adl-types-atlas
9d135371d4e21d69373a8e1611ea8118cf2fff7f
[ "MIT" ]
null
null
null
include/class_info.hpp
gordonwatts/func-adl-types-atlas
9d135371d4e21d69373a8e1611ea8118cf2fff7f
[ "MIT" ]
1
2022-02-23T17:56:48.000Z
2022-02-23T17:56:48.000Z
include/class_info.hpp
gordonwatts/func-adl-types-atlas
9d135371d4e21d69373a8e1611ea8118cf2fff7f
[ "MIT" ]
null
null
null
#ifndef __class_info__ #define __class_info__ #include <string> #include <iostream> #include <vector> struct typename_info { // The list of identifiers separated by "::" std::vector<typename_info> namespace_list; // The actual type name std::string type_name; // The template arguments (if there ...
29.118812
85
0.704862
gordonwatts
556d758ce55ee9695384de5046927f37fd8c679d
34
cpp
C++
src/game/GameProfilingSystem.cpp
amarsero/stridecpp
afc37c50c735d59a4e0784787f3c905ff98e3f66
[ "Unlicense" ]
null
null
null
src/game/GameProfilingSystem.cpp
amarsero/stridecpp
afc37c50c735d59a4e0784787f3c905ff98e3f66
[ "Unlicense" ]
null
null
null
src/game/GameProfilingSystem.cpp
amarsero/stridecpp
afc37c50c735d59a4e0784787f3c905ff98e3f66
[ "Unlicense" ]
null
null
null
#include "GameProfilingSystem.h"
17
33
0.794118
amarsero
556e0fceab431f3577aafff800cc003f1087236d
672
cpp
C++
korbo/src/Main.cpp
Txuritan/korbo
6a8b3fa2459a381ec9462f849a8ec55ef83cee10
[ "MIT" ]
null
null
null
korbo/src/Main.cpp
Txuritan/korbo
6a8b3fa2459a381ec9462f849a8ec55ef83cee10
[ "MIT" ]
null
null
null
korbo/src/Main.cpp
Txuritan/korbo
6a8b3fa2459a381ec9462f849a8ec55ef83cee10
[ "MIT" ]
null
null
null
#include "Main.hpp" #include <KorboWindow.hpp> #include <StartUp.hpp> #include <gtkmm.h> namespace Korbo { Main::Main() { } Main::~Main() { } int Main::runKorbo(int argc, char *argv[]) { Korbo::KLogc::StartUp startUp = Korbo::KLogc::StartUp(); startUp.run()...
20.363636
112
0.583333
Txuritan
5575e93dfe614b58c169bddf6caf99988c5cd28b
2,357
cpp
C++
Plugins/UnLua/Source/UnLua/Public/LowLevel.cpp
xiejiangzhi/UnLua
86ad978f939016caed1d11f803bb79bc73dbdfc1
[ "MIT" ]
1
2022-03-24T02:56:59.000Z
2022-03-24T02:56:59.000Z
Plugins/UnLua/Source/UnLua/Public/LowLevel.cpp
xiejiangzhi/UnLua
86ad978f939016caed1d11f803bb79bc73dbdfc1
[ "MIT" ]
null
null
null
Plugins/UnLua/Source/UnLua/Public/LowLevel.cpp
xiejiangzhi/UnLua
86ad978f939016caed1d11f803bb79bc73dbdfc1
[ "MIT" ]
null
null
null
// Tencent is pleased to support the open source community by making UnLua available. // // Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the MIT License (the "License"); // you may not use this file except in compliance with the License. You may obtain a copy of th...
29.098765
107
0.556216
xiejiangzhi
55767b1c3386d704a4b2d5c6912fe81af4b22733
1,404
cpp
C++
Libraries/Led/Led.cpp
3KMedialab/Midi-Controller
412f1dff01b9f5c73c75e00aefb85ccf6d7bfe8a
[ "Apache-2.0" ]
null
null
null
Libraries/Led/Led.cpp
3KMedialab/Midi-Controller
412f1dff01b9f5c73c75e00aefb85ccf6d7bfe8a
[ "Apache-2.0" ]
1
2018-06-08T12:35:08.000Z
2018-06-08T12:35:08.000Z
Libraries/Led/Led.cpp
3KMedialab/Midi-Controller
412f1dff01b9f5c73c75e00aefb85ccf6d7bfe8a
[ "Apache-2.0" ]
null
null
null
/* * Led.cpp * * Class that represents a Led output component. * * Copyright 2017 3K MEDIALAB * * 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/license...
23.4
85
0.700142
3KMedialab
5350b333d1af47769c9ef83d1a9b77438b9df807
11,202
cpp
C++
test/StructUnitTest.cpp
dic-iit/matio-cpp
d8a450ea7c3289ca78ea5111aea0f451a8b19b74
[ "BSD-2-Clause" ]
12
2020-11-06T11:02:11.000Z
2021-07-14T20:45:52.000Z
test/StructUnitTest.cpp
dic-iit/matio-cpp
d8a450ea7c3289ca78ea5111aea0f451a8b19b74
[ "BSD-2-Clause" ]
20
2020-11-06T07:35:13.000Z
2021-06-28T08:36:35.000Z
test/StructUnitTest.cpp
ami-iit/matio-cpp
d8a450ea7c3289ca78ea5111aea0f451a8b19b74
[ "BSD-2-Clause" ]
3
2021-09-05T03:10:55.000Z
2022-02-18T09:40:12.000Z
/* * Copyright (C) 2020 Fondazione Istituto Italiano di Tecnologia * * This software may be modified and distributed under the terms of the * BSD-2-Clause license (https://opensource.org/licenses/BSD-2-Clause). */ #include <catch2/catch.hpp> #include <vector> #include <matioCpp/matioCpp.h> void checkSameDimensio...
33.240356
145
0.642207
dic-iit
5351edb474349634d08ce5c41cdcdb8a7809b766
2,920
cpp
C++
Demo.cpp
liurui39660/SNNDPC
2e75cd318335731b431eff66a54ea2b0c1ff29b8
[ "Apache-2.0" ]
23
2020-03-16T02:50:05.000Z
2022-03-29T00:51:40.000Z
Demo.cpp
liurui39660/SNNDPC
2e75cd318335731b431eff66a54ea2b0c1ff29b8
[ "Apache-2.0" ]
6
2020-03-08T07:18:48.000Z
2022-03-11T03:24:06.000Z
Demo.cpp
liurui39660/SNNDPC
2e75cd318335731b431eff66a54ea2b0c1ff29b8
[ "Apache-2.0" ]
10
2020-06-12T06:21:24.000Z
2021-11-15T11:38:02.000Z
#include <chrono> #include "SNNDPC.hpp" using namespace std::chrono; int main(int argc, char* argv[]) { // Parameter // -------------------------------------------------------------------------------- const auto pathData = SOLUTION_DIR"data/S2.tsv"; const int k = 35; const int n = 5000; // Number of data point...
32.808989
107
0.473288
liurui39660
53521fe0098612ae16ecd655a01b05afc3b28d3e
2,039
cpp
C++
tree-distance/main.cpp
svenstaro/challenges
3434b63ba585799eafac695a36cfc1bfbfb8a89d
[ "MIT" ]
null
null
null
tree-distance/main.cpp
svenstaro/challenges
3434b63ba585799eafac695a36cfc1bfbfb8a89d
[ "MIT" ]
null
null
null
tree-distance/main.cpp
svenstaro/challenges
3434b63ba585799eafac695a36cfc1bfbfb8a89d
[ "MIT" ]
null
null
null
#include <iostream> struct Node { int value = 0; Node* left = nullptr; Node* right = nullptr; }; int dfs(Node* root, Node* needle, int depth) { if (root == needle) { return depth; } if (root->left) { int result = dfs(root->left, needle, depth + 1); if (result >= 0) { ...
19.056075
87
0.470329
svenstaro
53533278615ced6d910d02be431d600c1ae9194a
442
cpp
C++
Super Synthesis Engine/Source/Random/Random.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
Super Synthesis Engine/Source/Random/Random.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
Super Synthesis Engine/Source/Random/Random.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
#include "Random/Random.h" namespace SSE { std::default_random_engine Random::randomEngine; bool Random::init() { std::random_device randomDevice; randomEngine.seed(randomDevice()); return true; } i32 Random::randInt(i32 min, i32 max) { return std::uniform_int_distribution<i32>{min, max}(randomEngine...
17.68
69
0.714932
nstearns96
536431c4b708ead0c57095f5141f50d5777ba25a
371
cpp
C++
luogu/p1060.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
luogu/p1060.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
luogu/p1060.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; vector<int> v(m), p(m), f(n+1); for(int i = 0; i < m; i++) cin >> v[i] >> p[i]; for(int i = 0; i < m; i++) { for(int j = n; j >= v[i]; j--) { f[j] = max(f[j], f[j-v[i]]+v[i]*p[i]); ...
20.611111
51
0.374663
freedomDR
536487bcf37f7d72dead2462f400c0b270a2b3be
151
cpp
C++
test/src/mock/animator.cpp
KazDragon/munin
ca5ae77cf5f75f6604fddd1a39393fa6acb88769
[ "MIT" ]
6
2017-07-15T10:16:20.000Z
2021-06-14T10:02:37.000Z
test/src/mock/animator.cpp
KazDragon/munin
ca5ae77cf5f75f6604fddd1a39393fa6acb88769
[ "MIT" ]
243
2017-05-01T19:27:07.000Z
2021-09-01T09:32:49.000Z
test/src/mock/animator.cpp
KazDragon/munin
ca5ae77cf5f75f6604fddd1a39393fa6acb88769
[ "MIT" ]
2
2019-07-16T00:29:43.000Z
2020-09-19T09:49:00.000Z
#include "mock/animator.hpp" std::shared_ptr<mock_animator> make_mock_animator() { return std::make_shared<testing::NiceMock<mock_animator>>(); }
21.571429
64
0.754967
KazDragon
5365e36475358434d0626764949a3e4e68227c3b
745
cpp
C++
BOJ_CPP/8273.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/8273.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/8273.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; typedef long long ll; int main() { fastio; ll n, cnt = 0; cin >> n; vector<ll> v(n); for (int i = 0, a, b; i < n && cin >> a >> b; v[i++] = a + b); for (int i = 0, j = 0; i < n; i = j...
25.689655
66
0.358389
tnsgh9603
53685dc4fb35e4d407b0a4f0627ee8a01eda8f1c
1,467
hpp
C++
sources/Notebook.hpp
itamaralmog/notebook-b
a511e2eb06c26cad5c684bd58ddf47c95eb004f0
[ "MIT" ]
null
null
null
sources/Notebook.hpp
itamaralmog/notebook-b
a511e2eb06c26cad5c684bd58ddf47c95eb004f0
[ "MIT" ]
null
null
null
sources/Notebook.hpp
itamaralmog/notebook-b
a511e2eb06c26cad5c684bd58ddf47c95eb004f0
[ "MIT" ]
null
null
null
#ifndef NOTEBOOK #define NOTEBOOK #include <string> #include "Direction.hpp" #include <vector> const int NUM_OF_COLUMNS = 100; // should be 100 const char EMPTY_PLACE = '_'; const char ERASE_PLACE = '~'; const int DEFULT_LENGTH = 10; const int START_RANGE_OF_CHARS = 32; const int END_RANGE_OF_CHARS = 126; const int N...
34.116279
98
0.596455
itamaralmog
5368be57c66547fd5a9d2c04ce5277de04482b74
3,280
hh
C++
include/fabrique/names.hh
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
2
2018-11-12T22:51:37.000Z
2019-03-13T12:46:03.000Z
include/fabrique/names.hh
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
23
2015-03-06T16:14:49.000Z
2019-04-04T18:08:52.000Z
include/fabrique/names.hh
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
null
null
null
//! @file names.hh Names defined or reserved by the Fabrique language /* * Copyright (c) 2018-2019 Jonathan Anderson * All rights reserved. * * This software was developed at Memorial University of Newfoundland * under the NSERC Discovery program (RGPIN-2015-06048). * * Redistribution and use in source and b...
36.853933
77
0.729573
fabriquer
536982251a4430219d56d4e5ad9db862d02d8313
755
hpp
C++
StickWatch/src/ArduinoJson_6.2.0-beta/ArduinoJson/Strings/StringTypes.hpp
stahifpv/StickWatch
b9f2b3824e62b4e2366859559dbb19a531560758
[ "Apache-2.0" ]
83
2019-01-24T01:32:21.000Z
2022-02-20T06:54:43.000Z
src/ArduinoJson_6.2.0-beta/ArduinoJson/Strings/StringTypes.hpp
sysdl132/m5stack-stickwatch
968087b9f1b06e64e45699b0f4ac22ffb3e6f2a9
[ "Apache-2.0" ]
5
2019-02-18T12:19:31.000Z
2020-04-26T01:37:47.000Z
src/ArduinoJson_6.2.0-beta/ArduinoJson/Strings/StringTypes.hpp
sysdl132/m5stack-stickwatch
968087b9f1b06e64e45699b0f4ac22ffb3e6f2a9
[ "Apache-2.0" ]
27
2019-01-26T14:12:14.000Z
2022-02-28T14:38:14.000Z
// ArduinoJson - arduinojson.org // Copyright Benoit Blanchon 2014-2018 // MIT License #pragma once #include "../Polyfills/type_traits.hpp" namespace ArduinoJson { namespace Internals { template <typename> struct IsString : false_type {}; template <typename T> struct IsString<const T> : IsString<T> {}; template <t...
20.405405
42
0.776159
stahifpv
5370056914bfdfe6034867a131acfab0054992d3
1,573
cpp
C++
galaxy/src/galaxy/graphics/Colour.cpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
19
2020-02-02T16:36:46.000Z
2021-12-25T07:02:28.000Z
galaxy/src/galaxy/graphics/Colour.cpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
103
2020-10-13T09:03:42.000Z
2022-03-26T03:41:50.000Z
galaxy/src/galaxy/graphics/Colour.cpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
5
2020-03-13T06:14:37.000Z
2021-12-12T02:13:46.000Z
/// /// Colour.cpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #include "Colour.hpp" namespace galaxy { namespace graphics { Colour::Colour() noexcept : m_red {255} , m_green {255} , m_blue {255} , m_alpha {255} { } Colour::Colour(const std::uint8_t r, const std::uint8_t g, co...
15.574257
113
0.562619
DomRe
53704cdb6bcba879e754189e21e1248aaee76b42
913
cpp
C++
test/concurrency_latch_wait_multiple_times.cpp
Farwaykorse/coroutine
cfe7f0ca5ab4670e539a9f4d6c69d85ba4cb18f7
[ "CC-BY-4.0" ]
null
null
null
test/concurrency_latch_wait_multiple_times.cpp
Farwaykorse/coroutine
cfe7f0ca5ab4670e539a9f4d6c69d85ba4cb18f7
[ "CC-BY-4.0" ]
null
null
null
test/concurrency_latch_wait_multiple_times.cpp
Farwaykorse/coroutine
cfe7f0ca5ab4670e539a9f4d6c69d85ba4cb18f7
[ "CC-BY-4.0" ]
null
null
null
// // Author : github.com/luncliff (luncliff@gmail.com) // License : CC BY 4.0 // #include <concurrency_helper.h> #include <coroutine/return.h> #include "test.h" using namespace std; using namespace coro; auto concrt_latch_wait_multiple_test() { latch wg{1}; _require_(wg.is_ready() == false); wg.coun...
21.738095
80
0.720701
Farwaykorse