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
f9ab887a9818e9fa3a2d15da97b21762827202fe
1,808
hpp
C++
level_editor/export/cpp.hpp
xiroV/game-tools
01b7d4f0269cfdcb70901ed07705d1467ed66f37
[ "MIT" ]
1
2021-11-05T10:06:16.000Z
2021-11-05T10:06:16.000Z
level_editor/export/cpp.hpp
xiroV/game-tools
01b7d4f0269cfdcb70901ed07705d1467ed66f37
[ "MIT" ]
24
2021-10-03T15:33:16.000Z
2021-11-29T22:24:57.000Z
level_editor/export/cpp.hpp
xiroV/game-tools
01b7d4f0269cfdcb70901ed07705d1467ed66f37
[ "MIT" ]
null
null
null
#ifndef __EXPORT_CPP__ #define __EXPORT_CPP__ #include "exporter.hpp" #include <sstream> struct CppExporter : Exporter { CppExporter() { setName("C++"); setExtension("hpp"); } std::string generate(Editor* editor) { stringstream output; output << "//version " << editor->ve...
30.133333
100
0.400442
xiroV
f9acf061a969b56be116e9f4506f5b48d03977a4
788
hpp
C++
include/canard/net/ofp/v13/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
include/canard/net/ofp/v13/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
include/canard/net/ofp/v13/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#ifndef CANARD_NET_OFP_V13_QUEUE_PROPERTIES_BAISC_QUEUE_PROPERTY_HPP #define CANARD_NET_OFP_V13_QUEUE_PROPERTIES_BAISC_QUEUE_PROPERTY_HPP #include <canard/net/ofp/detail/basic_queue_property.hpp> #include <canard/net/ofp/v13/openflow.hpp> namespace canard { namespace net { namespace ofp { namespace v13 { namespace qu...
27.172414
70
0.796954
amedama41
f9ae0c07f267178fe9e0d47a92d739f1423e4cf2
985
hpp
C++
include/saci/qt/radio_btn/radio_btn.hpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
1
2020-07-29T20:42:58.000Z
2020-07-29T20:42:58.000Z
include/saci/qt/radio_btn/radio_btn.hpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
null
null
null
include/saci/qt/radio_btn/radio_btn.hpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
null
null
null
// Copyright Ricardo Calheiros de Miranda Cosme 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include "saci/qt/base_widget.hpp" #include "saci/qt/radio_btn/detail/view_to_model.hpp" #include <Q...
24.02439
61
0.598985
ricardocosme
f9b3f5b5a0ad2fea452a20a10754d26251db1b3a
2,015
cpp
C++
C9_Histogram/Template/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
2
2020-09-03T09:49:23.000Z
2021-06-11T09:20:13.000Z
C9_Histogram/Template/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
null
null
null
C9_Histogram/Template/main.cpp
StarryThrone/OpenCV_Learning_Notes
b52151f443cdde38daf1962b7dc5429b0f050f13
[ "MIT" ]
1
2020-09-03T09:49:30.000Z
2020-09-03T09:49:30.000Z
// // main.cpp // Template // // Created by chenjie on 2020/7/15. // Copyright © 2020 chenjie. All rights reserved. // #include <iostream> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> void help(const char * argv[]) { std::cout << "\n" << "\nExample:...
26.866667
78
0.490819
StarryThrone
f9b621e1b5224710b65b5ac0ba9c61a63ac17024
8,348
cpp
C++
src/_i18n/charsets/Charset_ISO_8859_16_2001.inc.cpp
TheDoubleB/acpl
cae3169da73bbec9fcab261ba01b2170d3a22de2
[ "BSD-3-Clause" ]
null
null
null
src/_i18n/charsets/Charset_ISO_8859_16_2001.inc.cpp
TheDoubleB/acpl
cae3169da73bbec9fcab261ba01b2170d3a22de2
[ "BSD-3-Clause" ]
null
null
null
src/_i18n/charsets/Charset_ISO_8859_16_2001.inc.cpp
TheDoubleB/acpl
cae3169da73bbec9fcab261ba01b2170d3a22de2
[ "BSD-3-Clause" ]
null
null
null
#ifndef ACPL_I18N_CHARSETS_CHARSET_ISO_8859_16_2001_INC_CPP #define ACPL_I18N_CHARSETS_CHARSET_ISO_8859_16_2001_INC_CPP // WARNING: Do not modify this file because it was generated using i18nproc #include "../../Charsets.h" #include "../../_cp/Memory.inc.cpp" namespace acpl { namespace i18n { class Charset_ISO_8...
35.07563
121
0.575827
TheDoubleB
f9ba535a534d174b4e4fe63eaf45c5f8e6fc2f59
7,950
cpp
C++
playing/renderer/yas_playing_renderer.cpp
objective-audio/playing
b1bfe5f7e73d182717efafc6fd2e53257e92d8fd
[ "MIT" ]
null
null
null
playing/renderer/yas_playing_renderer.cpp
objective-audio/playing
b1bfe5f7e73d182717efafc6fd2e53257e92d8fd
[ "MIT" ]
null
null
null
playing/renderer/yas_playing_renderer.cpp
objective-audio/playing
b1bfe5f7e73d182717efafc6fd2e53257e92d8fd
[ "MIT" ]
null
null
null
// // yas_playing_renderer.cpp // #include "yas_playing_renderer.h" #include <audio/yas_audio_graph_io.h> #include <audio/yas_audio_io.h> #include <playing/yas_playing_types.h> using namespace yas; using namespace yas::playing; renderer::renderer(audio::io_device_ptr const &device) : graph(audio::graph::make_s...
46.491228
120
0.653962
objective-audio
f9c0500254198312e8e26665062d2cba531b2a30
1,290
cpp
C++
Engine/C_BoxCollider.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
2
2019-11-22T23:34:36.000Z
2019-11-27T10:27:35.000Z
Engine/C_BoxCollider.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
null
null
null
Engine/C_BoxCollider.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
null
null
null
#include "C_BoxCollider.h" #include "C_Mesh.h" #include "GameObject.h" C_BoxCollider::C_BoxCollider(GameObject* go) : C_Collider(go) { name.assign("Box Collider"); type = ComponentType::BOX_COLLIDER; size = float3::one; } void C_BoxCollider::CreateShape(C_Mesh* mesh) { if (is_loaded == false) { size = (mesh !=...
24.807692
88
0.710853
SOLID-TEAM
f9c0d26e22b18d634103e0f8cf7d527f96ac0048
56,128
cpp
C++
examples/MyFS/myfs.cpp
baz1/SimpleFuse
f047fb327d36f99fde7e05145903eb5630c18679
[ "0BSD" ]
2
2015-07-02T17:31:10.000Z
2015-11-09T22:00:40.000Z
examples/MyFS/myfs.cpp
baz1/SimpleFuse
f047fb327d36f99fde7e05145903eb5630c18679
[ "0BSD" ]
null
null
null
examples/MyFS/myfs.cpp
baz1/SimpleFuse
f047fb327d36f99fde7e05145903eb5630c18679
[ "0BSD" ]
null
null
null
#include "myfs.h" #include <string.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <stdio.h> #include <unistd.h> #include <arpa/inet.h> #include <time.h> #include <QByteArray> #define READONLY_FS 0 #define DIR_BLOCK_SIZE 0x400 #define REG_BLOCK_SIZE 0x1000 #define MAX...
32.146621
137
0.510173
baz1
f9ca369eb57fcf984b3a7fd04161ad537301539a
8,940
cxx
C++
Kinematics/StarKinematics.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
Kinematics/StarKinematics.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
Kinematics/StarKinematics.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
#include "StarKinematics.h" #include "StarGenerator/EVENT/StarGenEvent.h" #include "StarGenerator/EVENT/StarGenParticle.h" #include "StarGenerator/UTIL/StarParticleData.h" #include "StarGenerator/UTIL/StarRandom.h" #include <boost/algorithm/string.hpp> #include <vector> #include <string> #include <algorithm> #include ...
28.745981
141
0.518345
klendathu2k
f9d1ed93dae68ffa66228391dfc9dbcc5cc41bf0
8,827
cpp
C++
samples/gl-320-buffer-uniform.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
571
2015-01-08T16:29:38.000Z
2022-03-16T06:45:42.000Z
samples/gl-320-buffer-uniform.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
45
2015-01-15T12:47:28.000Z
2022-03-04T09:22:32.000Z
samples/gl-320-buffer-uniform.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
136
2015-01-31T15:24:57.000Z
2022-02-17T19:26:24.000Z
#include "test.hpp" namespace { char const* VERT_SHADER_SOURCE("gl-320/buffer-uniform.vert"); char const* FRAG_SHADER_SOURCE("gl-320/buffer-uniform.frag"); struct vertex_v3fn3fc4f { vertex_v3fn3fc4f ( glm::vec3 const & Position, glm::vec3 const & Normal, glm::vec4 const & Color ) : Position(Posi...
28.940984
151
0.71066
galek
f9d74d219afb8904a906f72c4f7923276f721e35
527
cpp
C++
Day 04/string2.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
Day 04/string2.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
Day 04/string2.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string str = "TUSHAR"; // convert to upper strings for (int i=0; i<str.length(); i++) { if(str[i>='a' && str[i]<='z']) { str[i]-=32; cout<<str[i]; } } ...
15.5
38
0.421252
tushar-nath
f9dd51dc663a65c0e9c2954e3f9a6bd117a80f77
10,537
cpp
C++
src/afv/VoiceSession.cpp
pierr3/afv-native
b85ddc102ae25600954f0f528169d701f685132f
[ "BSD-3-Clause" ]
2
2022-02-02T20:50:25.000Z
2022-02-27T09:21:44.000Z
src/afv/VoiceSession.cpp
xpilot-project/afv-native
afd4e4481a6a2eb373af36d2da322ad7ac104849
[ "BSD-3-Clause" ]
null
null
null
src/afv/VoiceSession.cpp
xpilot-project/afv-native
afd4e4481a6a2eb373af36d2da322ad7ac104849
[ "BSD-3-Clause" ]
1
2022-01-10T18:23:32.000Z
2022-01-10T18:23:32.000Z
/* afv/VoiceSession.cpp * * This file is part of AFV-Native. * * Copyright (c) 2019 Christopher Collins * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the abov...
36.842657
164
0.690329
pierr3
f9e0b6413b2ef2e1ae6b6723e406dc63f4a53f55
52,602
cpp
C++
src/frameworks/native/services/surfaceflinger/tests/fakehwc/SFFakeHwc_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/services/surfaceflinger/tests/fakehwc/SFFakeHwc_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/services/surfaceflinger/tests/fakehwc/SFFakeHwc_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2017 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...
37.734577
100
0.675221
dAck2cC2
f9e7b6666e7721cd253c562107c7a71029b49ad3
2,789
cpp
C++
problem_105.cpp
Xinghui-Wu/LeetCode
531d6a0bfa37ec4c729940f35a438c764e71e699
[ "MIT" ]
null
null
null
problem_105.cpp
Xinghui-Wu/LeetCode
531d6a0bfa37ec4c729940f35a438c764e71e699
[ "MIT" ]
null
null
null
problem_105.cpp
Xinghui-Wu/LeetCode
531d6a0bfa37ec4c729940f35a438c764e71e699
[ "MIT" ]
null
null
null
/** * 105. Construct Binary Tree from Preorder and Inorder Traversal * * Given two integer arrays preorder and inorder where preorder is the preorder traversal of a binary tree and inorder is the inorder traversal of the same tree, construct and return the binary tree. * * Constraints: * 1 <= preorder.length ...
30.315217
199
0.660452
Xinghui-Wu
f9ed1a6ff70fbe1cad9b750ec3fc6ced9712456a
1,633
cpp
C++
console/PhraseManager.cpp
mwgit00/cpox
9c3a1e1f7c8b077cd2b52aa8af2eb88fc260229c
[ "MIT" ]
null
null
null
console/PhraseManager.cpp
mwgit00/cpox
9c3a1e1f7c8b077cd2b52aa8af2eb88fc260229c
[ "MIT" ]
null
null
null
console/PhraseManager.cpp
mwgit00/cpox
9c3a1e1f7c8b077cd2b52aa8af2eb88fc260229c
[ "MIT" ]
null
null
null
#include <fstream> #include <sstream> #include <iostream> #include <opencv2/core/core.hpp> #include "PhraseManager.h" PhraseManager::PhraseManager() : default_phrase({ "this is a test", "" }), phrases(), next_phrase_index(0) { } PhraseManager::~PhraseManager() { } bool PhraseManager::load(const std::...
19.211765
78
0.478261
mwgit00
f9f3d2a2b250479d5d0ce89f366ed1fa5d9c6245
672
hpp
C++
include/RED4ext/Types/generated/ink/SingleDrawMetric.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/ink/SingleDrawMetric.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/ink/SingleDrawMetric.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Types/generated/Vector2.hpp> namespace RED4ext { namespace ink { struct SingleDrawMetric { static constexpr con...
24
62
0.720238
Cyberpunk-Extended-Development-Team
f9f9d16de2b711be2cd02a3f67e4759abeabb55f
561
hh
C++
Sources/AGEngine/Render/Textures/PixelTypesFormats.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Render/Textures/PixelTypesFormats.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Render/Textures/PixelTypesFormats.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#pragma once # include <Utils/OpenGL.hh> # include <unordered_map> struct PixelType { public: size_t size; public: PixelType() : size(0) { } PixelType(size_t size) : size(size) { } PixelType(PixelType const &copy) : size(copy.size) { } PixelType(PixelType &&move) : size(move.size) { } }; std:...
14.384615
60
0.673797
Another-Game-Engine
e6013180dcfd4783f0ec756ec1979cc001bb67b0
2,540
cpp
C++
Tempest/ui/controls/dialog.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
5
2017-05-31T21:25:57.000Z
2020-01-14T14:11:41.000Z
Tempest/ui/controls/dialog.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
2
2017-11-13T14:32:21.000Z
2018-10-03T17:07:36.000Z
Tempest/ui/controls/dialog.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
2
2018-01-31T14:06:58.000Z
2018-10-02T11:46:34.000Z
#include "dialog.h" #include <Tempest/SystemAPI> #include <Tempest/Window> #include <Tempest/Layout> #include <Tempest/Application> using namespace Tempest; struct Dialog::LayShadow : Tempest::Layout { void applyLayout(){ for(Widget* w:widgets()){ Point pos = w->pos(); if(w->x()+w->w()>owner()->w...
18.676471
64
0.583071
enotio
e601af42c7968e56411ca1a9afbc905c6b1658c8
1,485
cpp
C++
src/DataWriter/LocalFile.cpp
NIMML/ENISI-MSM
1faf7a6b7f67e1a1eb05afd7ae45abb470d17ba4
[ "Apache-2.0" ]
2
2017-01-23T15:33:07.000Z
2017-01-23T17:51:24.000Z
src/DataWriter/LocalFile.cpp
NIMML/ENISI-MSM
1faf7a6b7f67e1a1eb05afd7ae45abb470d17ba4
[ "Apache-2.0" ]
null
null
null
src/DataWriter/LocalFile.cpp
NIMML/ENISI-MSM
1faf7a6b7f67e1a1eb05afd7ae45abb470d17ba4
[ "Apache-2.0" ]
2
2016-12-09T18:44:46.000Z
2017-08-30T00:02:15.000Z
/* * LocalFile.cpp * * Created on: Apr 8, 2016 * Author: shoops */ #include "LocalFile.h" #include "repast_hpc/RepastProcess.h" #include "grid/Properties.h" #include <sstream> using namespace ENISI; // static std::map< std::string, LocalFile * > LocalFile::INSTANCES; // static std::ofstream & LocalFile:...
20.342466
104
0.63165
NIMML
e6043b61083693edbce8bb0af6929e97e3dee1d4
15,611
cc
C++
problems/ObsDrivingModel/ObsDrivingModel.cc
ppnathan/HMSHS
ae65c7622cf4b10d710722084d73a2ad8636bc9e
[ "Apache-2.0" ]
null
null
null
problems/ObsDrivingModel/ObsDrivingModel.cc
ppnathan/HMSHS
ae65c7622cf4b10d710722084d73a2ad8636bc9e
[ "Apache-2.0" ]
null
null
null
problems/ObsDrivingModel/ObsDrivingModel.cc
ppnathan/HMSHS
ae65c7622cf4b10d710722084d73a2ad8636bc9e
[ "Apache-2.0" ]
null
null
null
#include "ObsDrivingModel.h" #include "Utilities.h" #include <cmath> #include <cstdlib> #include <random> #include <iostream> #include <array> using namespace std; const double Discount_ObsDrMdl = 0.95; const int NumCStateVar_ObsDrMdl = 2; // number of continuous state variables const int NumDState_ObsDrMdl = 8; ...
38.450739
219
0.637819
ppnathan
e60eefd2a4367f50df8e934ceef2a4e4b7effb88
2,114
cpp
C++
src/Jogo/Parametros/ParametrosJogo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
src/Jogo/Parametros/ParametrosJogo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
src/Jogo/Parametros/ParametrosJogo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
// // ParametrosJogo.cpp // Jogo-SFML // // Created by Matheus Kunnen Ledesma on 11/15/19. // Copyright © 2019 Matheus Kunnen Ledesma. All rights reserved. // #include "ParametrosJogo.hpp" namespace Game { namespace Parametros { ParametrosJogo::ParametrosJogo(const string& filename): Parametro(filename), player_...
26.425
99
0.666982
MatheusKunnen
e610610c4ac6c02db0e766e301c853bd10a164ff
2,694
hpp
C++
libs/fnd/cstddef/include/bksge/fnd/cstddef/byte.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/cstddef/include/bksge/fnd/cstddef/byte.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/cstddef/include/bksge/fnd/cstddef/byte.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file byte.hpp * * @brief byte の定義 * * @author myoukaku */ #ifndef BKSGE_FND_CSTDDEF_BYTE_HPP #define BKSGE_FND_CSTDDEF_BYTE_HPP #include <cstddef> #if defined(__cpp_lib_byte) && (__cpp_lib_byte >= 201603) namespace bksge { using std::byte; using std::to_integer; } // namespace b...
24.490909
95
0.732739
myoukaku
e6112822a4a125b3bf17a44ecc3084b3f678223d
4,381
hpp
C++
include/propane_literals.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
3
2021-02-28T12:52:43.000Z
2021-12-31T00:12:48.000Z
include/propane_literals.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
null
null
null
include/propane_literals.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
null
null
null
#ifndef _HEADER_PROPANE_LITERALS #define _HEADER_PROPANE_LITERALS #include "propane_common.hpp" namespace propane { union literal_t { constexpr literal_t() : as_u64(0) {} constexpr literal_t(int8_t i8) : as_i8(i8) {} constexpr literal_t(uint8_t u8) : as_u8(u8) {} constexpr lite...
41.72381
127
0.642091
AggroBird
e611bcfcfc4c01f24dfade65f71ddfc63663f6b9
303
cpp
C++
53-maximum-subarray/53-maximum-subarray.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
2
2022-01-02T19:15:00.000Z
2022-01-05T21:12:24.000Z
53-maximum-subarray/53-maximum-subarray.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
null
null
null
53-maximum-subarray/53-maximum-subarray.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
1
2022-03-11T17:11:07.000Z
2022-03-11T17:11:07.000Z
class Solution { public: int maxSubArray(vector<int>& nums) { int currmax=nums[0]; int finmax=nums[0]; for(int i=1;i<nums.size();i++){ currmax=max(nums[i],nums[i]+currmax); finmax=max(currmax,finmax); } return finmax; } };
23.307692
49
0.508251
Ananyaas
e615a38c81405eb59bcf0ca3526a29d44bbe194f
12,002
cpp
C++
src/particle_system/ParticleSystem.cpp
SirKoto/particle_sim
76c8a89dd5bc8d52ebccfeb2ef6c4d604a343660
[ "MIT" ]
2
2022-01-10T18:22:34.000Z
2022-02-23T23:18:36.000Z
src/particle_system/ParticleSystem.cpp
SirKoto/particle_sim
76c8a89dd5bc8d52ebccfeb2ef6c4d604a343660
[ "MIT" ]
null
null
null
src/particle_system/ParticleSystem.cpp
SirKoto/particle_sim
76c8a89dd5bc8d52ebccfeb2ef6c4d604a343660
[ "MIT" ]
null
null
null
#include "ParticleSystem.hpp" #include <array> #include <glad/glad.h> #include <imgui.h> #include <numeric> #include "graphics/my_gl_header.hpp" using namespace particle; ParticleSystem::ParticleSystem() { const std::filesystem::path proj_dir(PROJECT_DIR); const std::filesystem::path shad_dir = proj...
32.61413
128
0.754624
SirKoto
e62412a371c674a02c9eca53c78e7d56f0f30e64
2,406
hh
C++
menon/bits/toctrans.hh
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
1
2020-09-10T16:47:09.000Z
2020-09-10T16:47:09.000Z
menon/bits/toctrans.hh
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
null
null
null
menon/bits/toctrans.hh
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
null
null
null
/// @file menon/bits/toctrans.hh /// 文字種変換関数の定義 /// @author @menonfled #ifndef MENON_BITS_TOCTRANS_HH_ #define MENON_BITS_TOCTRANS_HH_ #pragma once #include "menon/bits/sv.hh" #include "menon/bits/isctype.hh" #include <string> #include <algorithm> #include <iterator> namespace menon { /// 変換種別 using ctrans_t =...
23.821782
92
0.620116
menonfled
e63072a5d3a0e0744932ff7bb0938786ca0d2037
301
hpp
C++
include/timsort.hpp
Algorithms-and-Data-Structures-2021/semester-work-merge-and-insertion-sort-prod-OF
a97d75a2352d50dd99108d9ccbfd0a3cf04c1635
[ "MIT" ]
null
null
null
include/timsort.hpp
Algorithms-and-Data-Structures-2021/semester-work-merge-and-insertion-sort-prod-OF
a97d75a2352d50dd99108d9ccbfd0a3cf04c1635
[ "MIT" ]
null
null
null
include/timsort.hpp
Algorithms-and-Data-Structures-2021/semester-work-merge-and-insertion-sort-prod-OF
a97d75a2352d50dd99108d9ccbfd0a3cf04c1635
[ "MIT" ]
null
null
null
#pragma once namespace itis { struct TimSort { static const int RUN = 32; static void insertionSort(int arr[], int left, int right); static void merge(int arr[], int l, int m, int r); static void timSort(int arr[], int n); static void printArray(int arr[], int n); }; }
16.722222
62
0.627907
Algorithms-and-Data-Structures-2021
e6320df0947ee3ac02fffc5347ee4dc9e9f86578
354
hpp
C++
include/xigua/symbol.hpp
LiquidHelium/Xigua
bd7d1153d483f9c07607ffd7c6b292c264793f2f
[ "MIT" ]
2
2015-06-26T04:32:19.000Z
2016-02-02T11:36:41.000Z
include/xigua/symbol.hpp
LiquidHelium/Xigua
bd7d1153d483f9c07607ffd7c6b292c264793f2f
[ "MIT" ]
null
null
null
include/xigua/symbol.hpp
LiquidHelium/Xigua
bd7d1153d483f9c07607ffd7c6b292c264793f2f
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "xigua/data.hpp" #include "xigua/string.hpp" namespace xig { class symbol : public base_string { public: symbol(std::string value) : base_string(value) {} virtual ~symbol() {} virtual data_type type() const; virtual const symbol &as_symbol() const; }; extern data_pt...
16.857143
51
0.711864
LiquidHelium
e63417cdc7cc8c0163219865231516a018739167
3,520
hpp
C++
include/ast/nodes/node_base.hpp
momikey/rhea
6aadc65eefbb40d9dddf585c33b3225da3929abd
[ "MIT" ]
1
2020-08-31T08:39:05.000Z
2020-08-31T08:39:05.000Z
include/ast/nodes/node_base.hpp
momikey/rhea
6aadc65eefbb40d9dddf585c33b3225da3929abd
[ "MIT" ]
null
null
null
include/ast/nodes/node_base.hpp
momikey/rhea
6aadc65eefbb40d9dddf585c33b3225da3929abd
[ "MIT" ]
null
null
null
#ifndef RHEA_AST_NODE_BASE_HPP #define RHEA_AST_NODE_BASE_HPP #include <string> #include <vector> #include <memory> #include <utility> #include <tao/pegtl.hpp> #include "../parse_tree_node.hpp" #include "../../types/types.hpp" #include "../../util/compat.hpp" #include "../../visitor/visitor_fwd.hpp" /* * The base ...
34.509804
82
0.663068
momikey
e63f3938979647ce2b55bf1bbc754db53ab5bbe7
1,760
cpp
C++
The_Eye/src/PID.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
2
2017-06-03T01:07:16.000Z
2017-07-14T17:49:16.000Z
The_Eye/src/PID.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
5
2017-04-24T20:29:04.000Z
2017-06-26T17:40:53.000Z
The_Eye/src/PID.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
null
null
null
/* * PID.cpp * * Created on: 14. 7. 2017 * Author: michp */ #include <PID.h> namespace flyhero { // assume that PID will be computed at 1 kHz PID::PID(float i_max, float Kp, float Ki, float Kd) : d_term_lpf(Biquad_Filter::FILTER_LOW_PASS, 1000, 20) { this->last_t = 0; this->integrator =...
18.924731
65
0.586932
michprev
e645edf799785e82b1db9cdb60ec5f2b15a9d2f2
3,796
cpp
C++
sources/libcpp55iip_scan/tw_win_l2_dss_cap_get_ctnr_onev.cpp
Savraska2/GTS
78c8b4d634f1379eb3e33642716717f53bf7e1ad
[ "BSD-3-Clause" ]
61
2016-03-26T03:04:43.000Z
2021-09-17T02:11:18.000Z
sources/libcpp55iip_scan/tw_win_l2_dss_cap_get_ctnr_onev.cpp
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
92
2016-04-10T23:40:22.000Z
2022-03-11T21:49:12.000Z
sources/libcpp55iip_scan/tw_win_l2_dss_cap_get_ctnr_onev.cpp
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
18
2016-03-26T11:19:14.000Z
2021-08-07T00:26:02.000Z
#include "pri.h" #include "tw_win_l2_dss.h" /* get onevalue(container) */ int tw_win_l2_dss::_cap_get_ctnr_onevalue( TW_UINT16 ui16_cap, TW_ONEVALUE *p_tw_onevalue ) { TW_CAPABILITY tw_capability; TW_ONEVALUE *p_tw_ov; /* TWAIN機器からデータを取ってくる */ if (OK != this->_cap_get_ctnr( ui16_cap, &tw_capability ) ) { pri_fu...
23.288344
113
0.683878
Savraska2
e647699d6383da70228636b92a12954a852576e0
5,309
cpp
C++
src/bsa.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
1
2021-06-16T15:49:07.000Z
2021-06-16T15:49:07.000Z
src/bsa.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
null
null
null
src/bsa.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
null
null
null
#include "bsa.hpp" #include "for_each.hpp" #include <fstream> #include <numeric> namespace libbsarch { /* Properties */ fs::path bsa::get_filename() const { wchar_t name[max_string_buffer_size]; bsa_filename_get(archive_.get(), max_string_buffer_size, name); return name; } bsa_archive_ty...
25.524038
109
0.661141
Guekka
e64bece9fc801f3f8e96ca46aa7fcf92b6f95146
2,101
cpp
C++
src/gpio_reader.cpp
botamochi6277/ros2_pigpio
9f0a78ffd9092f628fae66897f96bdf0bfae8aca
[ "MIT" ]
2
2021-06-10T21:17:17.000Z
2022-02-22T04:39:16.000Z
src/gpio_reader.cpp
botamochi6277/ros2_pigpio
9f0a78ffd9092f628fae66897f96bdf0bfae8aca
[ "MIT" ]
null
null
null
src/gpio_reader.cpp
botamochi6277/ros2_pigpio
9f0a78ffd9092f628fae66897f96bdf0bfae8aca
[ "MIT" ]
1
2021-02-19T13:35:55.000Z
2021-02-19T13:35:55.000Z
/** * @file gpio_reader.cpp * * @brief ROS2 Talker to read inputted digital signals. * **/ #include <chrono> #include <memory> #include <thread> #include <sstream> #include <iomanip> #include <pigpiod_if2.h> #include "rclcpp/rclcpp.hpp" #include "std_msgs/msg/bool.hpp" using namespace std::chrono_literals; class...
23.087912
77
0.62732
botamochi6277
e65354b81f42d1761eba0f59ee2aa38135a6c8a0
8,797
hpp
C++
csf_workspace/csf/include/core/module/device/connect/csf_connect_buffer.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
2
2019-12-17T13:16:48.000Z
2019-12-17T13:16:51.000Z
csf_workspace/csf/include/core/module/device/connect/csf_connect_buffer.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
null
null
null
csf_workspace/csf/include/core/module/device/connect/csf_connect_buffer.hpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * *Copyright: armuxinxian@aliyun.com * *Author: f * *File name: csf_connect_buffer.hpp * *Version: 1.0 * *Date: 20-10月-2018 21:30:24 * *Description: Class(csf_connect_buffer) 为方便实现各种网络操作而定义的该结构,主要为网络连接发送接收而使用buffer信息。 该数据结构主要是对unsigned ch...
22.384224
87
0.585995
Kitty-Kitty
e6561561ff1441ce3424dcc2ce02511e2e8d0c9c
757
cc
C++
ps-lite/guide/example_d.cc
CNevd/SVDFeature
2ac6d94e8b885d4f36178ab544f1c605c22656e8
[ "Apache-2.0" ]
8
2016-06-12T08:06:46.000Z
2018-04-11T20:34:50.000Z
ps-lite/guide/example_d.cc
CNevd/SVDFeature
2ac6d94e8b885d4f36178ab544f1c605c22656e8
[ "Apache-2.0" ]
null
null
null
ps-lite/guide/example_d.cc
CNevd/SVDFeature
2ac6d94e8b885d4f36178ab544f1c605c22656e8
[ "Apache-2.0" ]
9
2016-08-01T05:58:28.000Z
2020-05-06T11:09:53.000Z
#include "ps.h" typedef float Val; DEFINE_int32(nt, 1, "num of server threads"); int CreateServerNode(int argc, char *argv[]) { ps::OnlineServer<Val> server(ps::IOnlineHandle<Val>(), 1, FLAGS_nt); return 0; } int WorkerNodeMain(int argc, char *argv[]) { using namespace ps; int n = 1000000; auto key = std:...
25.233333
70
0.630119
CNevd
e65e16c48f7fd9ad68a9176a47e4333fa2b20780
8,098
cpp
C++
src/FMILP.cpp
KohlbacherLab/libgrbfrc
068bb77941d101d3864702db04afa5df6b9a4579
[ "BSD-3-Clause" ]
null
null
null
src/FMILP.cpp
KohlbacherLab/libgrbfrc
068bb77941d101d3864702db04afa5df6b9a4579
[ "BSD-3-Clause" ]
null
null
null
src/FMILP.cpp
KohlbacherLab/libgrbfrc
068bb77941d101d3864702db04afa5df6b9a4579
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <cmath> #include "CharnesCooper.hpp" #include "Dinkelbach.hpp" #include "YGGY.hpp" #include "FMILP.hpp" namespace grbfrc { FMILP::FMILP(GRBEnv& env, GRBLinExpr objNumerator, GRBLinExpr objDenominator, int objSense...
25.071207
102
0.602371
KohlbacherLab
e666d0e98ccec9274120bbefe284ad1d6224d4a3
2,194
cpp
C++
src/LuaPlugins/LuaPluginHandler.cpp
GiantCrocodile/MCHawk
495d0519ed8d9d88d050e9dfcbb026d43aa7d3ff
[ "MIT" ]
8
2018-07-29T17:17:22.000Z
2021-11-23T02:45:54.000Z
src/LuaPlugins/LuaPluginHandler.cpp
GiantCrocodile/MCHawk
495d0519ed8d9d88d050e9dfcbb026d43aa7d3ff
[ "MIT" ]
68
2018-04-20T16:38:10.000Z
2019-01-04T19:32:38.000Z
src/LuaPlugins/LuaPluginHandler.cpp
GiantCrocodile/MCHawk
495d0519ed8d9d88d050e9dfcbb026d43aa7d3ff
[ "MIT" ]
4
2018-08-19T00:03:42.000Z
2021-07-13T16:56:05.000Z
#include "LuaPluginHandler.hpp" #include "LuaPluginAPI.hpp" #include <iostream> lua_State* LuaPluginHandler::L = nullptr; LuaPluginHandler::LuaPluginHandler() { Init(); } LuaPluginHandler::~LuaPluginHandler() { Cleanup(); } void LuaPluginHandler::Init() { L = luaL_newstate(); assert(L != nullptr); luaL_op...
18.59322
105
0.704193
GiantCrocodile
e673f66218dba5f03459dc4447ab2cafb83ff7c1
4,405
cpp
C++
lib/door/utils.cpp
robyu/door
8892fb8cb1f6aa55cca7fa5d04507971115400f2
[ "MIT" ]
null
null
null
lib/door/utils.cpp
robyu/door
8892fb8cb1f6aa55cca7fa5d04507971115400f2
[ "MIT" ]
null
null
null
lib/door/utils.cpp
robyu/door
8892fb8cb1f6aa55cca7fa5d04507971115400f2
[ "MIT" ]
null
null
null
#include <stdarg.h> #include <stdlib.h> #include <Arduino.h> #include <limits.h> #include "gpio_pins.h" #include "utils.h" /* reset the esp8266 also make sure to pull D3 and D0 high and D8 pull down see https://github.com/esp8266/Arduino/issues/1017 */ void utils_restart(void) { delay(500); ESP.restart...
23.940217
124
0.609762
robyu
e68128e1ee6ef3659e28c5e3098c6c928d81fe97
2,484
cxx
C++
gastpc/psreco/NeutrinoEnergy.cxx
LBNE/wp1-neardetector
729c30532670679b7c87131ec70b4141d04a3ede
[ "BSD-3-Clause" ]
3
2016-04-13T12:14:53.000Z
2017-03-28T22:46:03.000Z
gastpc/psreco/NeutrinoEnergy.cxx
DUNE/wp1-neardetector
729c30532670679b7c87131ec70b4141d04a3ede
[ "BSD-3-Clause" ]
null
null
null
gastpc/psreco/NeutrinoEnergy.cxx
DUNE/wp1-neardetector
729c30532670679b7c87131ec70b4141d04a3ede
[ "BSD-3-Clause" ]
1
2015-03-03T10:32:47.000Z
2015-03-03T10:32:47.000Z
// ------------------------------------------------------------------- /// \file NeutrinoEnergy.cxx /// \brief /// /// \author <justo.martin-albo@physics.ox.ac.uk> /// \date Creation: 21 Feb 2017 // ------------------------------------------------------------------- #include "NeutrinoEnergy.h" #include "MCGenIn...
25.608247
101
0.638486
LBNE
e687ad1ca9524ae5ad13e11e2a854149310d8744
726
cpp
C++
framework/src/platform/windows/network/windows_socket_api.cpp
jesseroffel/Rakas
1bb7200f43c1a3cf5ffb7d27c200cc97717c9d8f
[ "MIT" ]
null
null
null
framework/src/platform/windows/network/windows_socket_api.cpp
jesseroffel/Rakas
1bb7200f43c1a3cf5ffb7d27c200cc97717c9d8f
[ "MIT" ]
null
null
null
framework/src/platform/windows/network/windows_socket_api.cpp
jesseroffel/Rakas
1bb7200f43c1a3cf5ffb7d27c200cc97717c9d8f
[ "MIT" ]
null
null
null
#include "sampo_pch.hpp" #include "platform/windows/network/windows_socket_api.hpp" #include <WinSock2.h> namespace Sampo { void WindowsSocketAPI::Init() { WSADATA startupResultData; int error = WSAStartup(MAKEWORD(2, 2), &startupResultData); if (error != 0) { SAMP...
22
79
0.535813
jesseroffel
e689ae5c2e118018376af25033897d7b771220b3
1,261
cpp
C++
modules/boost/simd/sdk/unit/memory/utility/allocator.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/unit/memory/utility/allocator.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/unit/memory/utility/allocator.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
35.027778
80
0.559873
psiha
e68d8d80fd2ef5c4213afd8d966f4d905ea98169
1,962
cpp
C++
day3/3b.cpp
ympek/aoc2021
54a1c60273907183afdcf716b1eed1dc24024b29
[ "MIT" ]
null
null
null
day3/3b.cpp
ympek/aoc2021
54a1c60273907183afdcf716b1eed1dc24024b29
[ "MIT" ]
null
null
null
day3/3b.cpp
ympek/aoc2021
54a1c60273907183afdcf716b1eed1dc24024b29
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <string> #include <bitset> #include <algorithm> constexpr int BIT_COUNT = 12; enum RatingType { OXYGEN_RATING, CO2_RATING }; int calculateNumberOfOnesAtColumn(std::vector<std::string>& bitsets, int columnIndex) { int result = 0; for (auto& bse...
24.222222
90
0.616718
ympek
e68dfc1d775b77a2be6b347fa2224175c93b64f7
853
cpp
C++
Codeforces/Edu Codeforces Round 100 (div2)/A.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
Codeforces/Edu Codeforces Round 100 (div2)/A.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
Codeforces/Edu Codeforces Round 100 (div2)/A.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 2e18; const long long ...
21.871795
46
0.621336
python-programmer1512
e694da08754a7e9fe2f91053a5d44cdfc8f09b42
4,303
cpp
C++
src/main.cpp
vaefremov/otus_hw_09
de6c0634f344179a0a40b20f276ea08190059b5e
[ "BSD-2-Clause" ]
1
2020-07-02T13:13:36.000Z
2020-07-02T13:13:36.000Z
src/main.cpp
vaefremov/otus_hw_09
de6c0634f344179a0a40b20f276ea08190059b5e
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
vaefremov/otus_hw_09
de6c0634f344179a0a40b20f276ea08190059b5e
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <ostream> #include <cstdlib> #include <string> #include <vector> #include <algorithm> #include <boost/program_options.hpp> #include "files_comparator.h" #include "scanner.h" namespace po = boost::program_options; using str_vector=std::vector<std::string>; size_t const DEFAULT_BLOCK_SZ = ...
33.356589
118
0.571462
vaefremov
e69cba15c43aff44e72649283e229b1050cb163b
1,052
cpp
C++
test/common.cpp
mark-grimes/Palgo
c9ef617f71c10575f035ccee97f445c6d9baccca
[ "Apache-2.0" ]
null
null
null
test/common.cpp
mark-grimes/Palgo
c9ef617f71c10575f035ccee97f445c6d9baccca
[ "Apache-2.0" ]
null
null
null
test/common.cpp
mark-grimes/Palgo
c9ef617f71c10575f035ccee97f445c6d9baccca
[ "Apache-2.0" ]
null
null
null
#include "common.h" #include <random> // // Unnamed namespace for things only used in this file // namespace { /** @brief a global pseudo-random number generator so that I don't have repeats of number sequences * * Gets set in the first call to "nextRandomNumber". */ std::function<float()> globalRandomGenerator;...
23.377778
100
0.686312
mark-grimes
e6a2197b7e42dadfdb3816dbdad9d88dd303f1c2
2,047
cpp
C++
test/kumi/map.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
1
2021-07-16T18:17:24.000Z
2021-07-16T18:17:24.000Z
test/kumi/map.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
null
null
null
test/kumi/map.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
null
null
null
//================================================================================================== /** RABERU - Fancy Parameters Library Copyright : RABERU Contributors & Maintainers SPDX-License-Identifier: MIT **/ //==============================================================================================...
28.830986
100
0.514411
kitegi
e6a4453a4a7f687ba271e8577e9b8498ab986ffb
7,380
cpp
C++
flir_lepton_image_processing/src/utils/parameters.cpp
angetria/flir_lepton_rpi2
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
15
2015-11-10T10:39:53.000Z
2022-03-29T07:07:53.000Z
flir_lepton_image_processing/src/utils/parameters.cpp
angetria/flir_lepton
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
6
2015-10-23T12:18:45.000Z
2019-07-02T09:55:46.000Z
flir_lepton_image_processing/src/utils/parameters.cpp
angetria/flir_lepton_rpi2
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
6
2017-04-13T12:28:38.000Z
2019-07-03T21:58:51.000Z
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2015, P.A.N.D.O.R.A. Team. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
39.891892
81
0.702981
angetria
e6a549ac9e60654755928fbf79dec92943890818
16,051
cpp
C++
MonoNative.Tests/mscorlib/System/Security/Cryptography/X509Certificates/mscorlib_System_Security_Cryptography_X509Certificates_X509Certificate_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Security/Cryptography/X509Certificates/mscorlib_System_Security_Cryptography_X509Certificates_X509Certificate_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Security/Cryptography/X509Certificates/mscorlib_System_Security_Cryptography_X509Certificates_X509Certificate_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Security.Cryptography.X509Certificates // Name: X509Certificate // C++ Typed Name: mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate #include <gtest/gtest.h> #...
34.151064
226
0.722323
brunolauze
e6a6096dc9c35918ce09bdd653dc04af88d9c0ac
4,250
cpp
C++
tc 160+/CrazyComponents.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/CrazyComponents.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/CrazyComponents.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; bool done[50][1<<15]; double dp[50][1<<15]; int N; vector<int> I, E, M; double go(int k, int have) { if (k == -1) return 0.0;...
48.850575
558
0.571529
ibudiselic
e6a799067dc2efa0333720915a68138f7731ed44
669
hpp
C++
src/cpp/Module/Filter/Filter_FIR/Filter_FIR_ccr/Filter_FIR_ccr_fast.hpp
rtajan/eirballoon
0eded8f86174a9e5ed38297fa26c7f5a53b5ea53
[ "MIT" ]
null
null
null
src/cpp/Module/Filter/Filter_FIR/Filter_FIR_ccr/Filter_FIR_ccr_fast.hpp
rtajan/eirballoon
0eded8f86174a9e5ed38297fa26c7f5a53b5ea53
[ "MIT" ]
null
null
null
src/cpp/Module/Filter/Filter_FIR/Filter_FIR_ccr/Filter_FIR_ccr_fast.hpp
rtajan/eirballoon
0eded8f86174a9e5ed38297fa26c7f5a53b5ea53
[ "MIT" ]
null
null
null
#ifndef FILTER_FIR_CCR_FAST_HPP #define FILTER_FIR_CCR_FAST_HPP #include <vector> #include <complex> #include "Module/Filter/Filter_FIR/Filter_FIR_ccr/Filter_FIR_ccr.hpp" namespace aff3ct { namespace module { template <typename R = float> class Filter_FIR_ccr_fast : public Filter_FIR_ccr<R> { protected: int M; int...
19.114286
71
0.763827
rtajan
e6ab81000a8c5f072d041835ff9887b24ded1e64
42
cpp
C++
src/trade.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
1
2021-11-19T02:56:04.000Z
2021-11-19T02:56:04.000Z
src/trade.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
null
null
null
src/trade.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
null
null
null
#include "trade.h" Trade::Trade() { }
6
18
0.547619
joestilin
e6b0e1cc12facd8462d70acacc250ca1de37ab14
630
cpp
C++
src/engine/core/src/dummy/dummy_network.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
3,262
2016-04-10T15:24:10.000Z
2022-03-31T17:47:08.000Z
src/engine/core/src/dummy/dummy_network.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
53
2016-10-09T16:25:04.000Z
2022-01-10T13:52:37.000Z
src/engine/core/src/dummy/dummy_network.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
193
2017-10-23T06:08:41.000Z
2022-03-22T12:59:58.000Z
#include "dummy_network.h" using namespace Halley; void DummyNetworkAPI::init() {} void DummyNetworkAPI::deInit() {} std::unique_ptr<NetworkService> DummyNetworkAPI::createService(NetworkProtocol protocol, int port) { return std::make_unique<DummyNetworkService>(); } void DummyNetworkService::update() { } void D...
21
98
0.78254
sunhay
e6b6fe8b805312934bd44da71c48d5238f644536
150,137
cpp
C++
tests/DLXLibTest/src/Processor.test.cpp
AMS21/DLXEmu
9b5d40b68dcac0281bed7ed8157fc2b868d4de8e
[ "MIT" ]
null
null
null
tests/DLXLibTest/src/Processor.test.cpp
AMS21/DLXEmu
9b5d40b68dcac0281bed7ed8157fc2b868d4de8e
[ "MIT" ]
53
2021-02-01T22:31:16.000Z
2022-03-01T04:01:47.000Z
tests/DLXLibTest/src/Processor.test.cpp
AMS21/DLXEmu
9b5d40b68dcac0281bed7ed8157fc2b868d4de8e
[ "MIT" ]
1
2021-02-03T13:54:23.000Z
2021-02-03T13:54:23.000Z
#include "DLX/RegisterNames.hpp" #include <catch2/catch_test_macros.hpp> #include <DLX/InstructionLibrary.hpp> #include <DLX/Parser.hpp> #include <DLX/Processor.hpp> static dlx::InstructionLibrary lib; static dlx::Processor proc; static dlx::ParsedProgram res; TEST_CASE("Operation exceptions") { co...
32.888719
99
0.668716
AMS21
e6ba69ec8d219d9ea1fc3f561aee804957bc9cac
2,175
cpp
C++
ScrapEngine/ScrapEngine/Engine/Rendering/Base/Vertex.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
118
2019-10-12T01:29:07.000Z
2022-02-22T08:08:18.000Z
ScrapEngine/ScrapEngine/Engine/Rendering/Base/Vertex.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
15
2019-09-02T16:51:39.000Z
2021-02-21T20:03:58.000Z
ScrapEngine/ScrapEngine/Engine/Rendering/Base/Vertex.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
11
2019-10-21T15:53:23.000Z
2022-02-20T20:56:39.000Z
#include <Engine/Rendering/Base/Vertex.h> vk::VertexInputBindingDescription ScrapEngine::Render::Vertex::get_binding_description() { return vk::VertexInputBindingDescription(0, sizeof(Vertex), vk::VertexInputRate::eVertex); } std::array<vk::VertexInputAttributeDescription, 4> ScrapEngine::Render::Vertex::get_attribu...
44.387755
117
0.801379
alundb
e6c2d82b75336758e82b25efa3b6fb390287e316
939
cpp
C++
AtCoder/ABC 235/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
1
2021-09-14T11:25:21.000Z
2021-09-14T11:25:21.000Z
AtCoder/ABC 235/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
null
null
null
AtCoder/ABC 235/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define int long long #define lowbit(x) (x&-x) #define rep(i, l, r) for(int i = l; i < r; i ++) #define all(x) (x).begin(),(x).end() #define fi first #define se second using namespace std; typedef long long LL; typedef pair<int,int> PII; typedef vector<int> VI; typedef vector<vector<int>> VII; ...
22.902439
48
0.496273
Sansiff
e6c4cd92efd92423aeef514615fa23a57c6c2aa9
5,598
cpp
C++
tests/std/tests/Dev11_0343056_pair_tuple_ctor_sfinae/test.cpp
Weheineman/STL
2f4c5792b2be4f56b4130817803ca21f7a3ee8f4
[ "Apache-2.0" ]
2
2021-01-19T02:43:19.000Z
2021-11-20T05:21:42.000Z
tests/std/tests/Dev11_0343056_pair_tuple_ctor_sfinae/test.cpp
tapaswenipathak/STL
0d75fc5ab6684d4f6239879a6ec162aad0da860d
[ "Apache-2.0" ]
null
null
null
tests/std/tests/Dev11_0343056_pair_tuple_ctor_sfinae/test.cpp
tapaswenipathak/STL
0d75fc5ab6684d4f6239879a6ec162aad0da860d
[ "Apache-2.0" ]
4
2020-04-24T05:04:54.000Z
2020-05-17T22:48:58.000Z
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <memory> #include <tuple> #include <utility> using namespace std; #ifdef __clang__ #pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // This test intentionally uses 0 as null. #endi...
25.445455
116
0.535191
Weheineman
e6c82103c4ac637802c2f235e4fe96c575168d86
206
cc
C++
06/11/11.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
5
2019-08-01T07:52:27.000Z
2022-03-27T08:09:35.000Z
06/11/11.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
1
2020-10-03T17:29:59.000Z
2020-11-17T10:03:10.000Z
06/11/11.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
6
2019-08-24T08:55:56.000Z
2022-02-09T08:41:44.000Z
#include <iostream> void reset(int &i) { i = 0; } int main(void) { int i = 100; std::cout << "i = " << i << std::endl; reset(i); std::cout << "i = " << i << std::endl; return 0; }
12.875
42
0.451456
williamgherman
e6ce736d68bf7cb04368e6302e243e2d21e118e2
3,856
hpp
C++
lab_control_center/ui/lcc_errors/LCCErrorViewUI.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
9
2020-06-24T11:22:15.000Z
2022-01-13T14:14:13.000Z
lab_control_center/ui/lcc_errors/LCCErrorViewUI.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
1
2021-05-10T13:48:04.000Z
2021-05-10T13:48:04.000Z
lab_control_center/ui/lcc_errors/LCCErrorViewUI.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
2
2021-11-08T11:59:29.000Z
2022-03-15T13:50:54.000Z
#pragma once #include "defaults.hpp" #include <algorithm> #include <atomic> #include <cassert> #include <chrono> #include <ctime> #include <future> #include <map> #include <memory> #include <mutex> #include <sstream> #include <string> #include <thread> #include <gtkmm/builder.h> #include <gtkmm.h> #include <glib.h> #...
33.824561
152
0.699689
Durrrr95
e6d02cd27f2410ff894e4f29876fe87754a18442
3,004
cpp
C++
pgf+/src/parser/ActiveItem.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
1
2019-05-03T18:00:39.000Z
2019-05-03T18:00:39.000Z
pgf+/src/parser/ActiveItem.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
null
null
null
pgf+/src/parser/ActiveItem.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
null
null
null
// // ActiveItem.cpp // pgf+ // // Created by Emil Djupfeldt on 2012-07-04. // Copyright (c) 2012 Chalmers University of Technology. All rights reserved. // #include <gf/stringutil.h> #include <gf/parser/ActiveItem.h> namespace gf { namespace parser { ActiveItem::ActiveItem(uint32_t begin, ui...
30.969072
171
0.500333
egladil
e6d2da9d3ea57374b0bbbddfb8561453a8f34803
4,162
hpp
C++
ext/src/java/io/PrintStream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/io/PrintStream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/io/PrintStream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/io/fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/nio/charset/fwd-POI.hpp> #include <java/util/fwd-POI.hpp> #include <java/io/FilterOutputStream.hpp> #incl...
36.831858
121
0.675637
pebble2015
e6d745196d151d41dd1541723ccf20c32233acab
2,572
cpp
C++
Online Judges/UVA/10106-Product.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/UVA/10106-Product.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/UVA/10106-Product.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; char res[100000]; void addString(char *pro) { int len1=strlen(res); int len2=strlen(pro); int l_low,l_high; // cout<<len1<<" "<<len2<<endl; if(len1<=len2) { l_low=len1; l_high=len2; } else { ...
16.921053
56
0.360031
akazad13
e6daaeae978fb7901e8a4730c14c67f9e1c05706
8,142
cpp
C++
src/Main.cpp
eugen-bondarev/BLL
2cc6579207133f00c79794f97e4ae9e993e6141c
[ "MIT" ]
1
2021-12-10T09:27:45.000Z
2021-12-10T09:27:45.000Z
src/Main.cpp
eugen-bondarev/BLL
2cc6579207133f00c79794f97e4ae9e993e6141c
[ "MIT" ]
null
null
null
src/Main.cpp
eugen-bondarev/BLL
2cc6579207133f00c79794f97e4ae9e993e6141c
[ "MIT" ]
null
null
null
#include "MNIST/MNISTHelper.h" #include "Window/Window.h" #include "AI/Util/Random.h" #include "AI/Util/Util.h" #include "AI/Util/ImGuiMatrixRenderer.h" #include "AI/Network.h" #include "AI/Math.h" #include "AI/Metrics.h" #include "AI/Console.h" #include <future> int main() { try { // Zufallszahlenge...
34.066946
261
0.436748
eugen-bondarev
5c7922737adf0a6bfed77e962d6922dd305a7f70
984
hpp
C++
Server/Monsters/includes/MonsterInfo.hpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
1
2019-08-14T12:31:50.000Z
2019-08-14T12:31:50.000Z
Server/Monsters/includes/MonsterInfo.hpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
null
null
null
Server/Monsters/includes/MonsterInfo.hpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
null
null
null
// // Created by nhyarlathotep on 30/11/18. // #pragma once #include <string> #include "../../includes/Utils.hpp" namespace Game { struct MonsterInfo { public: MonsterInfo() : _type(""), _pos{0, 0}, _timer(0), _endGame(false) {} MonsterInfo(std::string &&type, float x, float ...
25.894737
82
0.537602
KillianG
5c7b9e56bc2e1e64d4c40eff512cbf20fd251d09
14,565
cpp
C++
src/socket.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
src/socket.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
src/socket.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
// // Created by Harrand on 14/12/2018. // #include "socket.hpp" #include "amethyst.hpp" bool am::detail::is_initialised = false; SocketDescriptor::SocketDescriptor(am::net::transmission::protocol transmission_protocol, am::net::internet::protocol internet_protocol): transmission_protocol(transmission_protocol), int...
43.477612
222
0.57082
Harrand
5c7bb3a079dcd91bec6adbbfd9be63e19f32225e
9,550
cpp
C++
mbed-glove-firmware/drivers/at42qt1070.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/at42qt1070.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/at42qt1070.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
1
2019-01-09T05:16:42.000Z
2019-01-09T05:16:42.000Z
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2015 Intel Corporation. * * 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 limitatio...
28.939394
82
0.500942
apadin1
5c7f01471c4e4eddbeff7cc9d5213d0319069cd2
1,443
hh
C++
XRADBasic/Sources/Containers/RealFunction.hh
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
1
2021-04-02T16:47:00.000Z
2021-04-02T16:47:00.000Z
XRADBasic/Sources/Containers/RealFunction.hh
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
null
null
null
XRADBasic/Sources/Containers/RealFunction.hh
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
3
2021-08-30T11:26:23.000Z
2021-09-23T09:39:56.000Z
/* Copyright (c) 2021, Moscow Center for Diagnostics & Telemedicine All rights reserved. This file is licensed under BSD-3-Clause license. See LICENSE file for details. */ // file RealFunction.hh //-------------------------------------------------------------- #ifndef XRAD__File_RealFunction_cc #define XRAD__File_R...
32.795455
104
0.586279
n-kulberg
5c8205a2eaadae8a73b6b9947801857862681897
11,036
hpp
C++
include/reactive/json/parser.hpp
ReactiveFramework/Reactive
b1e7e2a7d1dfaaef6cc372ae88111f36a42a304a
[ "MIT" ]
3
2015-03-31T23:09:12.000Z
2017-05-17T07:23:53.000Z
include/reactive/json/parser.hpp
ReactiveFramework/Reactive
b1e7e2a7d1dfaaef6cc372ae88111f36a42a304a
[ "MIT" ]
null
null
null
include/reactive/json/parser.hpp
ReactiveFramework/Reactive
b1e7e2a7d1dfaaef6cc372ae88111f36a42a304a
[ "MIT" ]
2
2015-11-06T20:29:49.000Z
2021-09-07T11:08:08.000Z
/** * Reactive * * (c) 2012-2014 Axel Etcheverry * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #pragma once #include <limits> #include <string> #include <inttypes.h> #include <reactive/json/func.hpp> namespace reactive { namesp...
23.682403
94
0.339888
ReactiveFramework
5c8af8e5c95364b69a355d9d39cc1ac9ee93bd89
6,391
cpp
C++
lib/ESP8266Audio-master/src/AudioOutputFilterBiquad.cpp
ChSt98/KraftPad
2f1d60893ded6d0f079e8067980016992a72794b
[ "BSD-3-Clause" ]
null
null
null
lib/ESP8266Audio-master/src/AudioOutputFilterBiquad.cpp
ChSt98/KraftPad
2f1d60893ded6d0f079e8067980016992a72794b
[ "BSD-3-Clause" ]
null
null
null
lib/ESP8266Audio-master/src/AudioOutputFilterBiquad.cpp
ChSt98/KraftPad
2f1d60893ded6d0f079e8067980016992a72794b
[ "BSD-3-Clause" ]
null
null
null
/* AudioOutputFilterBiquad Implements a Biquad filter Copyright (C) 2012 Nigel Redmon Copyright (C) 2021 William Bérubé This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version...
25.979675
112
0.531216
ChSt98
5c8c9e8e71dc7e6470f831d96531d1c2f58990d0
493
cpp
C++
Strings - Interview Problems/RemoveDuplicateCharacters.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
1
2020-07-05T06:30:32.000Z
2020-07-05T06:30:32.000Z
Strings - Interview Problems/RemoveDuplicateCharacters.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
null
null
null
Strings - Interview Problems/RemoveDuplicateCharacters.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <unordered_set> using namespace std; string longestSubstring(string s) { unordered_set<int> elements; string out = ""; for (int i = 0; i < s.length(); i++) { if (elements.find(s[i]) == elements.end()) { element...
17.607143
50
0.545639
gulatigaurav
5c8d79e38b1f1ef107ff8d6f5f75a83f37d1eab8
635
cpp
C++
Recursion/Recursive Digit Sum.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
Recursion/Recursive Digit Sum.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
Recursion/Recursive Digit Sum.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
// https://www.hackerrank.com/challenges/recursive-digit-sum/problem // Jordan Tonni #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <string> using namespace std; int superDigit(string str) { if(str.length() <= 1) return std::stoi(str); int s...
15.119048
68
0.525984
jordantonni
5c9bc277b1e705ee679b8e4911895c3e545b7f16
448
cpp
C++
codeforces/1088A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1088A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1088A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// A. Ehab and another construction problem #include <stdio.h> int main(){ int x; scanf("%d\n", &x); bool found = false; for (int b = x; b > 0; --b){ for (int a = b; !found && a > 0; --a){ if (b % a == 0 && a * b > x && a / b < x){ printf("%d %d\n", a, b); ...
16.592593
54
0.368304
sgrade
5c9f3244ed7d678a5693bbf38ff79d7d5ff02087
503
hpp
C++
addons/ai/CfgWaypoints.hpp
Drofseh/TMF
0733ad565b2aeee0ccf0340282ff784ff7f5c39c
[ "Naumen", "Condor-1.1", "MS-PL" ]
43
2016-08-02T19:50:34.000Z
2022-01-29T01:33:35.000Z
addons/ai/CfgWaypoints.hpp
Drofseh/TMF
0733ad565b2aeee0ccf0340282ff784ff7f5c39c
[ "Naumen", "Condor-1.1", "MS-PL" ]
232
2016-08-05T07:57:59.000Z
2022-03-31T01:50:23.000Z
addons/ai/CfgWaypoints.hpp
Drofseh/TMF
0733ad565b2aeee0ccf0340282ff784ff7f5c39c
[ "Naumen", "Condor-1.1", "MS-PL" ]
41
2016-08-03T19:16:40.000Z
2022-01-24T19:11:29.000Z
class CfgWaypoints { class Teamwork { class Fortify { displayName = "Fortify"; file = "\x\tmf\addons\AI\functions\fnc_fortify.sqf"; /* 0: GROUP 1: ARRAY - Waypoint position 2: OBJECT - Target to which waypoint is...
23.952381
75
0.459245
Drofseh
5cab68a0049564f99d1ea69987754f7b088a621e
3,722
cpp
C++
source/helloworld.cpp
LS060598/programmiersprachen-aufgabe-1.
f08c20f2027f442a8fab1770d50e33a247bb3a49
[ "MIT" ]
null
null
null
source/helloworld.cpp
LS060598/programmiersprachen-aufgabe-1.
f08c20f2027f442a8fab1770d50e33a247bb3a49
[ "MIT" ]
null
null
null
source/helloworld.cpp
LS060598/programmiersprachen-aufgabe-1.
f08c20f2027f442a8fab1770d50e33a247bb3a49
[ "MIT" ]
null
null
null
#include <iostream> # include <cmath> int factorial(int x){ if(x<=1){ return 1; } else{ return factorial(x-1)*x; } } double binomial(int n, int k){ if(k==0 || n==k){ return -1; } else{ ...
18.334975
73
0.448684
LS060598
5cb0851f56d134d2cf19e6c4cccc526a8b8bec94
8,353
cpp
C++
src/PreviewData.cpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
1
2021-08-20T06:44:10.000Z
2021-08-20T06:44:10.000Z
src/PreviewData.cpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
4
2017-03-27T17:55:29.000Z
2018-01-29T22:51:40.000Z
src/PreviewData.cpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
1
2021-08-20T06:44:10.000Z
2021-08-20T06:44:10.000Z
#include "FileManager.hpp" #include "parser/RmdParser.hpp" #include "PreviewData.hpp" #include "common/RC2Utils.hpp" #include "common/FormattedException.hpp" #include <cassert> #include <algorithm> #include <RInside.h> #include <boost/algorithm/string/trim.hpp> #include <boost/bind.hpp> #include <sstream> #include "Err...
35.696581
140
0.681552
rc2server
5cb2d65e6986f1bcc82f1b380e6d8c103ad389c4
4,917
cpp
C++
src/brov2_odometry/src/odom.cpp
bjornrho/Navigation-brov2
a7104803099159f4f27a1e83d733ba2e0dd75c2e
[ "MIT" ]
2
2022-01-22T10:02:07.000Z
2022-02-16T19:30:17.000Z
src/brov2_odometry/src/odom.cpp
bjornrho/Navigation-brov2
a7104803099159f4f27a1e83d733ba2e0dd75c2e
[ "MIT" ]
null
null
null
src/brov2_odometry/src/odom.cpp
bjornrho/Navigation-brov2
a7104803099159f4f27a1e83d733ba2e0dd75c2e
[ "MIT" ]
null
null
null
#include "odom.hpp" using std::placeholders::_1; SimpleOdom::SimpleOdom() : Node{"odom_node"} { // get params std::string imu_topic = "INSERT IMU TOPIC"; std::string dvl_topic = "INSERT DVL TOPIC"; std::string odom_topic = "INSERT ESTIMATED ODOMETRY TOPIC"; std::string mocap_topic; std::string imu_link; ...
43.513274
226
0.736221
bjornrho
5cbae0a72d1758e5044bdca6d3541255440b565e
4,619
cpp
C++
VariableDragManager.cpp
fredenigma/VesselBuilder1
4f332ec4e6fa80e1a63d8d920bb50e033c5b67f6
[ "MIT" ]
null
null
null
VariableDragManager.cpp
fredenigma/VesselBuilder1
4f332ec4e6fa80e1a63d8d920bb50e033c5b67f6
[ "MIT" ]
null
null
null
VariableDragManager.cpp
fredenigma/VesselBuilder1
4f332ec4e6fa80e1a63d8d920bb50e033c5b67f6
[ "MIT" ]
null
null
null
#include "VesselBuilder1.h" #include "DialogControl.h" #include "VariableDragManager.h" #include "AnimationManager.h" #define LogV(x,...) VB1->Log->Log(x,##__VA_ARGS__) VariableDragManager::VariableDragManager(VesselBuilder1* _VB1) { VB1 = _VB1; vard_def.clear(); return; } VariableDragManager::~VariableDragManager...
30.589404
107
0.720935
fredenigma
5cbc08086b52406335f93c7ce9191a7df6735618
1,865
cpp
C++
base/TextureCommons.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
6
2020-10-09T02:48:54.000Z
2021-07-30T06:31:20.000Z
base/TextureCommons.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
null
null
null
base/TextureCommons.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
null
null
null
#include "TextureCommons.h" #include "VulkanTexture.h" #include "VulkanDevice.h" namespace vku { void createSinglePixelTexture(VulkanDevice* device, unsigned char *pixels, VulkanTexture **texture) { *texture = new VulkanTexture(); VulkanTexture* pixTex = *texture; pixTex->image = new VulkanImage(device, Vulka...
30.57377
102
0.751743
wessles
5cbfb57dbf158fd18afd8345200ef56aa1a67373
141
cpp
C++
Source/SGame/iTween/iTAux.cpp
ZDron3/SimpleGame-Match-
427040e3dce0e76c710e0baab021f9a9ae2a8530
[ "MIT" ]
null
null
null
Source/SGame/iTween/iTAux.cpp
ZDron3/SimpleGame-Match-
427040e3dce0e76c710e0baab021f9a9ae2a8530
[ "MIT" ]
null
null
null
Source/SGame/iTween/iTAux.cpp
ZDron3/SimpleGame-Match-
427040e3dce0e76c710e0baab021f9a9ae2a8530
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SGame.h" #include "iTweenPCH.h" #include "iTAux.h"
23.5
78
0.751773
ZDron3
5cc264622f7cfd4487387e6b7699b8960507b69c
14,948
cc
C++
test/test_script_parse.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
test/test_script_parse.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
test/test_script_parse.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include "test.hh" #include "script_parse.hh" class TestScriptParseCtx : public plux::ScriptParseCtx, public TestSuite { public: TestScriptParseCtx() : plux::ScriptParseCtx(), TestSuite("ScriptParseCtx") { register_tes...
35.254717
79
0.549906
pekdon
5cc4f924f678b5da011b1e6ab201cb0f04b1e7a3
576
cpp
C++
Week-2/Editorials/Contest_2/problem-4/solution.cpp
tanayduggad0299/CP-Buddy-Series
29b85801f216e10e1817ce0769dd2d9d98856163
[ "MIT" ]
58
2020-08-02T16:38:43.000Z
2021-04-11T15:17:07.000Z
Week-2/Editorials/Contest_2/problem-4/solution.cpp
tanayduggad0299/CP-Buddy-Series
29b85801f216e10e1817ce0769dd2d9d98856163
[ "MIT" ]
29
2020-08-03T08:48:05.000Z
2020-10-05T08:25:09.000Z
Week-2/Editorials/Contest_2/problem-4/solution.cpp
tanayduggad0299/CP-Buddy-Series
29b85801f216e10e1817ce0769dd2d9d98856163
[ "MIT" ]
44
2020-08-02T16:51:08.000Z
2021-03-04T13:51:01.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #define ll long long int int p = 1; using namespace std; void fun(ll x, ll n){ cout << x << " "; x = p > 0 ? x - 5 : x + 5; if(x != n){ if(x <= 0){ p = 0; } fun(x,n); }else{ ...
15.567568
30
0.383681
tanayduggad0299
5cc92b4690bd96ef62a0acfafa82483ca2617abc
49,629
cpp
C++
cubicvr/source/datatree/DataTree.cpp
cjcliffe/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
48
2015-02-04T09:43:20.000Z
2021-09-29T00:45:28.000Z
cubicvr/source/datatree/DataTree.cpp
mcanthony/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
2
2016-06-08T09:03:52.000Z
2021-04-09T01:01:47.000Z
cubicvr/source/datatree/DataTree.cpp
mcanthony/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
17
2015-07-24T08:28:44.000Z
2021-04-09T02:14:21.000Z
/* * DataElement/DataNode/DataTree -- structured serialization/unserialization system * designed for the CoolMule project :) * Copyright (C) 2003 by Charles J. Cliffe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
24.150365
208
0.61998
cjcliffe
5ccaa325836b93a5ff0d33f132e41ce37c1035e8
4,684
hpp
C++
include/gptTracer.hpp
Galfurian/GnuplotTracer
b31db32f9e201616729d0f7bbfbd519ac9ffcc0f
[ "BSD-3-Clause" ]
null
null
null
include/gptTracer.hpp
Galfurian/GnuplotTracer
b31db32f9e201616729d0f7bbfbd519ac9ffcc0f
[ "BSD-3-Clause" ]
null
null
null
include/gptTracer.hpp
Galfurian/GnuplotTracer
b31db32f9e201616729d0f7bbfbd519ac9ffcc0f
[ "BSD-3-Clause" ]
null
null
null
/// @file gnuplotHelper.hpp /// @author Enrico Fraccaroli /// @date Oct 02 2017 /// @copyright /// Copyright (c) 2017 Enrico Fraccaroli <enrico.fraccaroli@univr.it> #pragma once #include "gptValue.hpp" #include "gptBound.hpp" #include <iostream> #ifdef WIN32 #define GNUPLOT_NAME "pgnuplot -persistent" #else...
25.736264
69
0.538002
Galfurian
5ccd42bdd220904da181e9a6038210af00f3fc75
2,834
cpp
C++
Source/ZJoy/Private/NetPlayGameState.cpp
avrcolak/ZJoy
32215b739b0f7b394d8ebd0e5ea1da00e595e3f2
[ "Unlicense" ]
null
null
null
Source/ZJoy/Private/NetPlayGameState.cpp
avrcolak/ZJoy
32215b739b0f7b394d8ebd0e5ea1da00e595e3f2
[ "Unlicense" ]
null
null
null
Source/ZJoy/Private/NetPlayGameState.cpp
avrcolak/ZJoy
32215b739b0f7b394d8ebd0e5ea1da00e595e3f2
[ "Unlicense" ]
null
null
null
// This is free and unencumbered software released into the public domain. #include "NetPlayGameState.h" #include "NetPlayPlayerController.h" #include "GameFramework/PlayerState.h" #include "Engine/World.h" #include "Engine/LocalPlayer.h" ANetPlayGameState::ANetPlayGameState() { PrimaryActorTick.bStartWithTickEnable...
19.680556
91
0.732534
avrcolak
5cce960449eee7db899f7ae6645e096442c3665b
385
hpp
C++
Source/Arbiter/Graphics/API/Opengl/GLVertexBufferObject.hpp
cookieniffler/Arbiter
271fe56cb9379d9c76704e028e07dfdb9693bd54
[ "BSD-3-Clause" ]
null
null
null
Source/Arbiter/Graphics/API/Opengl/GLVertexBufferObject.hpp
cookieniffler/Arbiter
271fe56cb9379d9c76704e028e07dfdb9693bd54
[ "BSD-3-Clause" ]
null
null
null
Source/Arbiter/Graphics/API/Opengl/GLVertexBufferObject.hpp
cookieniffler/Arbiter
271fe56cb9379d9c76704e028e07dfdb9693bd54
[ "BSD-3-Clause" ]
null
null
null
#pragma once #ifndef __VERTEXBUFFER_HPP__ #define __VERTEXBUFFER_HPP__ #include <Arbiter/Core/Common/Base.hpp> ARBITER_NAMESPACE_BEGIN OPENGL_NAMESPACE_BEGIN class VertexBuffer : public std::enable_shared_from_this<VertexBuffer> { private: public: VertexBuffer(); virtual ~VertexBuffer() = default; }; OPENGL_NAME...
16.73913
70
0.820779
cookieniffler
5cceb2450ee4b50e0e6b6ed4cda07357e228ef7a
2,237
hpp
C++
gecode/string/rel-op/lcase.hpp
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
1
2021-05-26T13:27:00.000Z
2021-05-26T13:27:00.000Z
gecode/string/rel-op/lcase.hpp
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
gecode/string/rel-op/lcase.hpp
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
namespace Gecode { namespace String { forceinline ExecStatus LowerCase::post(Home home, StringView x0, StringView x1) { if (x0.same(x1)) { StringVar y(home, x0.may_chars(), x0.min_length(), x0.max_length()); (void) new (home) LowerCase(home, x0, y); rel (home, x1, STRT_EQ, y); } else ...
29.434211
77
0.589629
ramadini
5cd3cba9c9a6bccc9fc7b507b1f7c64f73c48bd2
3,039
cpp
C++
test/unit/models/PlayerFilterTest.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
12
2021-09-28T14:37:22.000Z
2022-03-04T17:54:11.000Z
test/unit/models/PlayerFilterTest.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
null
null
null
test/unit/models/PlayerFilterTest.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
8
2021-11-05T18:56:55.000Z
2022-01-10T11:14:24.000Z
/* Copyright 2021 Enjin Pte. 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...
26.657895
75
0.663047
BlockChain-Station
5cd406d58760cf9d9e8efdeb2542dc5789565895
3,885
cc
C++
src/utils/SplinedCurve.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/utils/SplinedCurve.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/utils/SplinedCurve.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* ------------------------------------------------------------------------- Spline Author: Ethan Coon (coonet@ornl.gov) Spline fit of a curve, given points, values, and derivatives of those values. If needed, this could easily provide a constructor without derivatives, and use an algorithm to construct th...
29.884615
155
0.578121
fmyuan
5cda6079665f1ebe1e439c0679a8f1472e87f266
9,069
cpp
C++
src/Font.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
3
2016-01-27T00:34:21.000Z
2019-08-14T07:13:09.000Z
src/Font.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
null
null
null
src/Font.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
1
2019-09-05T04:59:59.000Z
2019-09-05T04:59:59.000Z
/* * Copyright (c) 2013 Pavlo Lavrenenko * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
39.090517
122
0.685522
santa01
5cdb9e56c7b928ae8ee77ae76099f5bd30ee0fbc
1,368
cpp
C++
codechef/GUESSRT/Partially Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codechef/GUESSRT/Partially Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codechef/GUESSRT/Partially Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 01-02-2019 16:56:20 * solution_verdict: Partially Accepted language: C++14 * run...
26.823529
111
0.384503
kzvd4729
5cdbcfda8170a4e834375ebcb4b6b8cf4e0b9bbe
1,195
cpp
C++
src/reverse-linked-list-ii.cpp
Liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
9
2015-09-09T20:28:31.000Z
2019-05-15T09:13:07.000Z
src/reverse-linked-list-ii.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2015-02-25T13:10:09.000Z
2015-02-25T13:10:09.000Z
src/reverse-linked-list-ii.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2016-08-31T19:14:52.000Z
2016-08-31T19:14:52.000Z
#include <iostream> #include <algorithm> #include <vector> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode* reverseBetween(ListNode* head, int m, int n) { if (m >= n) return head; ListNode* dum...
21.339286
65
0.43431
Liuchang0812
5cdc8c96401b0adfad7ac71605778bbbb36ede23
7,673
hpp
C++
src/ttauri/widgets/abstract_button_widget.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
src/ttauri/widgets/abstract_button_widget.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
src/ttauri/widgets/abstract_button_widget.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2019-2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #pragma once #include "widget.hpp" #include "button_delegate.hpp" #include "label_widget.hpp" #include "button_type.hpp" #include "...
33.801762
130
0.652418
PinkFlufflyLlama
5cdf2b6a1306c7ced727a0796dd0bd65b5e6589f
484
hpp
C++
include/Sprite/UIString.hpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
2
2020-05-05T13:31:55.000Z
2022-01-16T15:38:00.000Z
include/Sprite/UIString.hpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
null
null
null
include/Sprite/UIString.hpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
1
2021-11-27T02:32:24.000Z
2021-11-27T02:32:24.000Z
#ifndef UISPRITE_HPP #define UISPRITE_HPP #include "TextureSheet.hpp" #include "GameObject.hpp" #include <string> using namespace std; /** * @brief 表示英文字符 * @warn 不管给如的字符大小写,绘制的一律大写 */ class UIString : public GameObject{ public: static UIString* Create(); void SetText(string t); string GetText() const; ...
17.925926
35
0.68595
VisualGMQ
5ce59e33cc592a3407f0e9dd072ad153623052b9
1,527
cpp
C++
src/string_tests.cpp
tyoungjr/Catch2Practice
6c602b0b57edaf2299043b4ef3c11d9507ce167b
[ "MIT" ]
null
null
null
src/string_tests.cpp
tyoungjr/Catch2Practice
6c602b0b57edaf2299043b4ef3c11d9507ce167b
[ "MIT" ]
null
null
null
src/string_tests.cpp
tyoungjr/Catch2Practice
6c602b0b57edaf2299043b4ef3c11d9507ce167b
[ "MIT" ]
null
null
null
// // Created by tyoun on 10/24/2021. // #include <catch2/catch.hpp> #include <string> #include <iostream> using std::string; TEST_CASE("String operations ") { string s{"a dog"}; s += " is a dog"; SECTION("Test concatenation") { REQUIRE(s == "a dog is a dog"); } SECTION("String find me...
23.492308
98
0.518009
tyoungjr
5ce82c5014b4101d41dee1a7f051794d378edf5e
999
cpp
C++
net/AsioTlsTcpSocket.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
net/AsioTlsTcpSocket.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
net/AsioTlsTcpSocket.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#include "AsioTlsTcpSocket.hpp" #include "AsioBaseTcpSocket.ipp" #include "AsioService.hpp" BEGIN_INANITY_NET template class AsioBaseTcpSocket<Botan::TLS::Stream<boost::asio::ip::tcp::socket> >; AsioTlsTcpSocket::AsioTlsTcpSocket(ptr<AsioService> service, std::unique_ptr<Botan::TLS::Context>&& tlsContext) : AsioBase...
22.2
111
0.74975
quyse
5ce8ff0732486f241dbe06166e5543ad5c5a88fd
26,297
cpp
C++
Classes/data/Guid.cpp
thales-vogso/deer
f3492538881f632b55be657bb9529027897b0e63
[ "Apache-2.0" ]
null
null
null
Classes/data/Guid.cpp
thales-vogso/deer
f3492538881f632b55be657bb9529027897b0e63
[ "Apache-2.0" ]
null
null
null
Classes/data/Guid.cpp
thales-vogso/deer
f3492538881f632b55be657bb9529027897b0e63
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * @desc 新手引导信息 * @date 2015-06-30 * @author 120103 * @file data/User.h ******************************************************************************/ #include "Guid.h" #include "Item.h" #include "Building.h" #include "Crusad...
28.306781
213
0.493745
thales-vogso
5ceab5aa4910df6bb9f11de46f0f9acbee827ba9
1,787
cpp
C++
coast/foundation/io/cuteTest/ConnectorArgsTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/foundation/io/cuteTest/ConnectorArgsTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/foundation/io/cuteTest/ConnectorArgsTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * Copyright (c) 2015, David Tran, Faculty of Computer Science, * University of Applied Sciences Rapperswil (HSR), * 8640 Rapperswil, Switzerland * All rights reserved. * * This library/application is free softw...
28.822581
102
0.738668
zer0infinity
5ced779dec0001f9d5535a8b85d6ef0d009c7891
1,980
cpp
C++
subset/bench_subset_BF.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
null
null
null
subset/bench_subset_BF.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
6
2020-11-29T18:27:05.000Z
2021-12-24T13:14:47.000Z
subset/bench_subset_BF.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
8
2020-11-03T17:09:11.000Z
2021-12-04T14:24:49.000Z
#include "SSet.h" #include "benchmark/benchmark.h" #include <iostream> #include <sstream> static void BM_subsetBruteFromFile10T(benchmark::State& state) { SSet set; set.loadFromFile("../tests/input_sets/set_true_10.txt"); for (auto _ : state) { set.checkZeroSumSlow(); } } static void BM_subsetBruteFromFil...
26.756757
64
0.733838
DandyForever
5cefa78e5d383773238ce9f7714f4fc64f3c7781
3,767
cpp
C++
MathTL/algebra/symmetric_matrix.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
MathTL/algebra/symmetric_matrix.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
MathTL/algebra/symmetric_matrix.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation of MathTL::*TriangularMatrix inline functions #include <algorithm> #include <cassert> namespace MathTL { template <class C> inline SymmetricMatrix<C>::SymmetricMatrix(const size_type n) : LowerTriangularMatrix<C>(n) { } template <class C> inline SymmetricMatrix<C>::SymmetricMa...
24.782895
98
0.647996
kedingagnumerikunimarburg
5cf0fd512ce372f381352717a818f7fab7f03081
1,619
cpp
C++
Connector/BillCmdMsg_KOR.cpp
Light-Games-Ink/LMLastChaosSource
ff3f1988590dfd441824832d9c242fb51eb2c318
[ "Unlicense" ]
3
2016-05-22T16:44:18.000Z
2021-06-12T00:38:59.000Z
Connector/BillCmdMsg_KOR.cpp
Light-Games-Ink/LMLastChaosSource
ff3f1988590dfd441824832d9c242fb51eb2c318
[ "Unlicense" ]
null
null
null
Connector/BillCmdMsg_KOR.cpp
Light-Games-Ink/LMLastChaosSource
ff3f1988590dfd441824832d9c242fb51eb2c318
[ "Unlicense" ]
1
2021-01-16T23:15:30.000Z
2021-01-16T23:15:30.000Z
#include "stdhdrs.h" #ifndef USE_TENTER_BILLING #include "Server.h" #include "../ShareLib/DBCmd.h" #include "CmdMsg.h" void BillConnectMsg(CBPacket::SP& msg) { CLCString protocolVersion(17); protocolVersion.Format("%s", BILL_SERVER_VERSION); msg->Init(BM_CONNECT); RefMsg(msg) << protocolVersion ...
21.302632
125
0.62446
Light-Games-Ink
5cf65a31c0bfabb00320ec9f264e7d52a2c9ba75
2,933
cpp
C++
Fog.NET/SvgDocument.cpp
Rungee/Fog.NET
b95ab0a6ae9a466825505ca4346133a1004cf333
[ "MIT" ]
3
2015-01-28T17:51:34.000Z
2016-09-01T01:53:19.000Z
Fog.NET/SvgDocument.cpp
Rungee/Fog.NET
b95ab0a6ae9a466825505ca4346133a1004cf333
[ "MIT" ]
1
2015-05-07T15:47:16.000Z
2015-05-07T15:47:16.000Z
Fog.NET/SvgDocument.cpp
Rungee/Fog.NET
b95ab0a6ae9a466825505ca4346133a1004cf333
[ "MIT" ]
null
null
null
/****************************************************************************** * * Name: SvgDocument.cpp * Project: Fog-Framework (Copyright (c) 2006-2011, Petr Kobalicek <kobalicek.petr@gmail.com>) C++/CLI Interface * Author: Maxim Rylov * *****************************************************************...
32.230769
113
0.652915
Rungee