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
c09e901d337723a02f6d6524b023fec6521d5653
7,668
cc
C++
src/vt/vrt/context/context_vrtmanager.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
26
2019-11-26T08:36:15.000Z
2022-02-15T17:13:21.000Z
src/vt/vrt/context/context_vrtmanager.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
1,215
2019-09-09T14:31:33.000Z
2022-03-30T20:20:14.000Z
src/vt/vrt/context/context_vrtmanager.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
12
2019-09-08T00:03:05.000Z
2022-02-23T21:28:35.000Z
/* //@HEADER // ***************************************************************************** // // context_vrtmanager.cc // DARMA/vt => Virtual Transport // // Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of ...
32.218487
81
0.72157
rbuch
c0a217a85ab6e497cb7765e4854318cfcbf67fc1
5,864
cpp
C++
tests/ConfigTests.cpp
ha11owed/xcmake
c3704b9d6a0ef744c192513062c4e6eb7db5c996
[ "MIT" ]
null
null
null
tests/ConfigTests.cpp
ha11owed/xcmake
c3704b9d6a0ef744c192513062c4e6eb7db5c996
[ "MIT" ]
null
null
null
tests/ConfigTests.cpp
ha11owed/xcmake
c3704b9d6a0ef744c192513062c4e6eb7db5c996
[ "MIT" ]
null
null
null
#include <Config.h> #include <gtest/gtest.h> namespace gatools { class ConfigTests : public ::testing::Test { public: JConfig createConfig(bool includeStar = true); }; JConfig ConfigTests::createConfig(bool includeStar) { JConfig expected; { expected.cmdEnvironment = {"E1=1", "E2=2"}; e...
37.113924
116
0.665757
ha11owed
c0a890e425baefcb608dc93479ced968ad4d38af
4,060
cpp
C++
fortnight06/test/TestCase04.cpp
ootaviofonseca/armethyst
44c6deb264cc8e32c68569f25287d8943af132c6
[ "MIT" ]
3
2022-02-24T23:00:56.000Z
2022-03-31T01:56:59.000Z
fortnight06/test/TestCase04.cpp
ootaviofonseca/armethyst
44c6deb264cc8e32c68569f25287d8943af132c6
[ "MIT" ]
1
2020-11-24T04:01:15.000Z
2020-11-24T04:01:15.000Z
fortnight06/test/TestCase04.cpp
ootaviofonseca/armethyst
44c6deb264cc8e32c68569f25287d8943af132c6
[ "MIT" ]
52
2020-06-15T06:01:25.000Z
2022-03-23T00:19:55.000Z
/* ---------------------------------------------------------------------------- (EN) armethyst - A simple ARM Simulator written in C++ for Computer Architecture teaching purposes. Free software licensed under the MIT License (see license below). (PT) armethyst - Um simulador ARM simples escrito em C++...
29.42029
84
0.689163
ootaviofonseca
c0a8ecaae666cafbf819b4995724144cdb26807a
2,172
cpp
C++
src/Track.cpp
towa7bc/SpotifyWebApiAdapter
3f4aa88eea6fc49fbc1e902df06878f5352bbf66
[ "Unlicense" ]
null
null
null
src/Track.cpp
towa7bc/SpotifyWebApiAdapter
3f4aa88eea6fc49fbc1e902df06878f5352bbf66
[ "Unlicense" ]
null
null
null
src/Track.cpp
towa7bc/SpotifyWebApiAdapter
3f4aa88eea6fc49fbc1e902df06878f5352bbf66
[ "Unlicense" ]
null
null
null
// // Created by Michael Wittmann on 08/05/2020. // #include "Track.hpp" #include <type_traits> // for move #include "Artist.hpp" // for Artist namespace spotify { inline namespace v1 { Track::Track(model::track t_track) : available_markets_(std::move(t_track.available_markets)), external_id_(std::move...
34.47619
70
0.691068
towa7bc
c0ac301f658ea84151a0bcefcf36df6828ce9ef0
4,699
cpp
C++
tests/extension/oneapi_device_global/device_global_queue_array_copy.cpp
AndreyXRomanov/SYCL-CTS
9e232c7031c80f28ef55366bcfb7f6e843032b67
[ "Apache-2.0" ]
null
null
null
tests/extension/oneapi_device_global/device_global_queue_array_copy.cpp
AndreyXRomanov/SYCL-CTS
9e232c7031c80f28ef55366bcfb7f6e843032b67
[ "Apache-2.0" ]
null
null
null
tests/extension/oneapi_device_global/device_global_queue_array_copy.cpp
AndreyXRomanov/SYCL-CTS
9e232c7031c80f28ef55366bcfb7f6e843032b67
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* // // SYCL 2020 Conformance Test Suite // // Provides test for array for overloads for queue::copy for device_global // *******************************************************************************/ #include "../../common/common.h" #i...
31.75
80
0.659289
AndreyXRomanov
c0acdf511b79fc74245d46a0de42f24a6f174ac6
442
cpp
C++
datetime/daystofrom.cpp
jamcodes/Qt5-Code-Examples
8f2db35cb03425c237f867c04674e5ba3291524d
[ "BSD-2-Clause" ]
5
2020-11-30T13:19:47.000Z
2021-06-16T13:44:06.000Z
datetime/daystofrom.cpp
jamcodes/Qt5-Code-Examples
8f2db35cb03425c237f867c04674e5ba3291524d
[ "BSD-2-Clause" ]
null
null
null
datetime/daystofrom.cpp
jamcodes/Qt5-Code-Examples
8f2db35cb03425c237f867c04674e5ba3291524d
[ "BSD-2-Clause" ]
3
2020-11-30T13:20:33.000Z
2021-01-14T17:57:55.000Z
#include <QTextStream> #include <QDate> int main(void) { QTextStream out(stdout); QDate dt { 2020, 5, 11 }; QDate nd = dt.addDays(55); QDate cd = QDate::currentDate(); int year = cd.year(); QDate xmas { year, 12, 24 }; out << "55 days from " << dt.toString() << " is " << nd.toSt...
22.1
60
0.549774
jamcodes
c0ad1641620b26c047f3b16e2bd51484afc3aeb0
3,064
cpp
C++
test/units/test_units.cpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
1
2019-06-11T05:22:54.000Z
2019-06-11T05:22:54.000Z
test/units/test_units.cpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
1
2019-10-30T14:33:37.000Z
2019-10-31T15:01:09.000Z
test/units/test_units.cpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
null
null
null
#include "../test.hpp" #include "ouchilib/units/units.hpp" #include "ouchilib/units/si.hpp" #include <type_traits> struct l {}; struct m {}; struct t {}; struct b {}; using system_t = ouchi::units::system_of_units<l, m, t, b>; using meter_t = typename system_t::template unit_t<l>; using kg_t = typename system_t::temp...
28.90566
68
0.609008
ouchiminh
c0b2dd6056a033333b3fba3729625e38696fd06d
1,965
cpp
C++
pybind_functions/pybind_functions.cpp
liff-engineer/pybind11-examples
735623ee641069266f2de4c4e5ce0b6df4b5751e
[ "MIT" ]
3
2020-12-30T07:49:43.000Z
2022-01-23T14:39:32.000Z
pybind_functions/pybind_functions.cpp
liff-engineer/pybind11-examples
735623ee641069266f2de4c4e5ce0b6df4b5751e
[ "MIT" ]
null
null
null
pybind_functions/pybind_functions.cpp
liff-engineer/pybind11-examples
735623ee641069266f2de4c4e5ce0b6df4b5751e
[ "MIT" ]
null
null
null
#include <string> #include <functional> #include <pybind11\pybind11.h> #include <pybind11\functional.h> int func_arg(const std::function<int(int)> &f) { return f(10); } std::function<int(int)> func_ret(const std::function<int(int)> &f) { return [f](int i) { return f(i) + 1; }; } pybind11::cpp_fun...
23.392857
79
0.499746
liff-engineer
c0b5c726cbad0e8adb9c920015c8f0842011cbdf
1,192
cpp
C++
ConcServer/src/NodeServer/Session.cpp
leopardIO/leopardIO
9640c8bdfb80572458a33b6260a370691dcd9f87
[ "Apache-2.0" ]
null
null
null
ConcServer/src/NodeServer/Session.cpp
leopardIO/leopardIO
9640c8bdfb80572458a33b6260a370691dcd9f87
[ "Apache-2.0" ]
null
null
null
ConcServer/src/NodeServer/Session.cpp
leopardIO/leopardIO
9640c8bdfb80572458a33b6260a370691dcd9f87
[ "Apache-2.0" ]
null
null
null
#include "Session.h" #include <iostream> #include <stdlib.h> #include <glog/logging.h> using namespace NodeServer; Session::Session(): _sessionID_( 0 ),_is_recycler_( false ) { } Session::~Session() { } string Session::FormMessage( uint32_t proto_type , string &proto_str,string & content_str) { /**...
27.72093
98
0.642617
leopardIO
c0b7afda3a6c0a5f356977a5963ef5bdd39b12d2
1,334
cpp
C++
src/Menge/MengeVis/Runtime/GoalRenderer/GoalRenderer.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
src/Menge/MengeVis/Runtime/GoalRenderer/GoalRenderer.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
src/Menge/MengeVis/Runtime/GoalRenderer/GoalRenderer.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
#include "MengeVis/Runtime/GoalRenderer/GoalRenderer.h" #include "MengeCore/BFSM/Goals/Goal.h" #include "MengeVis/SceneGraph/graphCommon.h" namespace MengeVis { namespace Runtime { namespace GoalVis { using Menge::Math::Vector2; ///////////////////////////////////////////////////////////////////// // ...
29.644444
80
0.569715
mfprado
c0b87bbad03bbcfbffc48fdb84d34e632b5cc3d1
1,514
cc
C++
test/0100-system/test.cc
stfwi/duktape-cc
5ce7e818bc080b011a5dbcefe5e643deea7cdcdb
[ "MIT" ]
9
2018-06-21T06:35:02.000Z
2021-05-11T00:36:34.000Z
test/0100-system/test.cc
stfwi/duktape-cc
5ce7e818bc080b011a5dbcefe5e643deea7cdcdb
[ "MIT" ]
4
2019-08-13T15:02:02.000Z
2021-04-14T20:02:07.000Z
test/0100-system/test.cc
stfwi/duktape-cc
5ce7e818bc080b011a5dbcefe5e643deea7cdcdb
[ "MIT" ]
4
2018-03-09T15:19:31.000Z
2019-08-13T05:45:24.000Z
#include "../testenv.hh" #include <mod/mod.stdio.hh> #include <mod/mod.sys.hh> using namespace std; void test(duktape::engine& js) { duktape::mod::system::define_in<>(js); test_comment( "sys.pid() = " << js.eval<long>("sys.pid()") ); test_expect( js.eval<long>("sys.pid()") > 0 ); #if defined(__li...
35.209302
86
0.584544
stfwi
c0b993922904c9132d0f6722f7d2dd72f7cef1d7
1,085
cpp
C++
Viking/Source/Viking/Core/LayerStack.cpp
BartoszJakubZielonka/Viking
560ad45ff66bd4e1a3ceaf3f8f7212cc95a0fbd8
[ "Apache-2.0" ]
null
null
null
Viking/Source/Viking/Core/LayerStack.cpp
BartoszJakubZielonka/Viking
560ad45ff66bd4e1a3ceaf3f8f7212cc95a0fbd8
[ "Apache-2.0" ]
14
2021-01-01T17:03:53.000Z
2021-05-23T11:45:21.000Z
Viking/Source/Viking/Core/LayerStack.cpp
BartoszJakubZielonka/Viking
560ad45ff66bd4e1a3ceaf3f8f7212cc95a0fbd8
[ "Apache-2.0" ]
null
null
null
// // Created by batzi on 15.05.2021. // #include "vipch.h" #include "LayerStack.h" namespace Viking { LayerStack::~LayerStack() { for(Layer* layer: mLayers) { layer->onDetach(); delete layer; } } void LayerStack::pushLayer(Layer *layer) { mLayers.emplace(mL...
24.111111
89
0.553917
BartoszJakubZielonka
c0bfa3eb01055b631d9e05d00d73f04fbeb60714
1,000
hpp
C++
LED_Matrix/drawables.hpp
KyrillW/LED_Matrix-Library
2de0bae3d98d35aaa47b24d1f5e37cf172a0711d
[ "BSL-1.0" ]
null
null
null
LED_Matrix/drawables.hpp
KyrillW/LED_Matrix-Library
2de0bae3d98d35aaa47b24d1f5e37cf172a0711d
[ "BSL-1.0" ]
null
null
null
LED_Matrix/drawables.hpp
KyrillW/LED_Matrix-Library
2de0bae3d98d35aaa47b24d1f5e37cf172a0711d
[ "BSL-1.0" ]
null
null
null
#ifndef DRAWABLES_HPP #define DRAWABLES_HPP /// @file #include "LED_Matrix.hpp" #include "struct_xy.hpp" #include "struct_RGB.hpp" /// \brief /// Drawables /// \details /// This an class in which the object LED_Matrix gets stored. /// The class also stores the location of other drawables and the RGB value. class dra...
26.315789
109
0.711
KyrillW
c0c24bd4fcc816545b265efe98e19f6e97e44fa2
5,169
cpp
C++
Game/SceneInGame/DebugBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Game/SceneInGame/DebugBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Game/SceneInGame/DebugBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
// MIT License // // This file is part of SpaceGame. // Copyright (c) 2014-2018 Miika Pelkonen // // 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 lim...
34.46
105
0.652544
mipelius
c0c26b00fcab0cce437904645fe76d842e2a15f3
431
cpp
C++
LinearList/cycleLinkList/src/myFunc.cpp
JinqiXu/data-structure-learning
f4de33fe7dcc26fe88568f669a1c9fc38f0129fe
[ "Unlicense" ]
null
null
null
LinearList/cycleLinkList/src/myFunc.cpp
JinqiXu/data-structure-learning
f4de33fe7dcc26fe88568f669a1c9fc38f0129fe
[ "Unlicense" ]
null
null
null
LinearList/cycleLinkList/src/myFunc.cpp
JinqiXu/data-structure-learning
f4de33fe7dcc26fe88568f669a1c9fc38f0129fe
[ "Unlicense" ]
null
null
null
#include "myFunc.h" #include <cstdlib> #include <iostream> using namespace std; bool InitList(cycleLinkList& L) { L = (LNode*)malloc(sizeof(LNode)); if (L == NULL) return false; L->next = L; return true; } bool empty(cycleLinkList L) { if (L->next == L) return true; return fal...
14.862069
38
0.589327
JinqiXu
c0c2a23aa7c8ea082c224ecc20be289097819eb9
1,531
cpp
C++
src/montyplython.cpp
aretw0/Monty-Plython
6de984028b38764f4e301dd29a74b53ba79179d9
[ "Unlicense" ]
null
null
null
src/montyplython.cpp
aretw0/Monty-Plython
6de984028b38764f4e301dd29a74b53ba79179d9
[ "Unlicense" ]
null
null
null
src/montyplython.cpp
aretw0/Monty-Plython
6de984028b38764f4e301dd29a74b53ba79179d9
[ "Unlicense" ]
null
null
null
/* UNIVERSIDADE FEDERAL RURAL DO SEMI-ÁRIDO CENTRO DE CIENCIAS EXATAS E NATURAIS-CCEN CURSO DE CIENCIAS DA COMPUTAÇÃO DISCIPLINA DE COMPUTAÇÃO GRÁFICA PROFº LEANDRO SOUZA ===================================================================== ARTHUR ALEKSANDRO ALVES SILVA * 1. Implementar um visualizador d...
35.604651
182
0.703462
aretw0
c0c4b9b922c4c35fc2033d50fa9ec4e46b74ad68
2,255
cpp
C++
test/simple_state_test.cpp
sumory/mas
41cea6c8888a87052e25bfff3e5c05b3e41ade7c
[ "MIT" ]
2
2019-03-28T15:32:37.000Z
2019-09-05T17:12:44.000Z
test/simple_state_test.cpp
sumory/mas
41cea6c8888a87052e25bfff3e5c05b3e41ade7c
[ "MIT" ]
null
null
null
test/simple_state_test.cpp
sumory/mas
41cea6c8888a87052e25bfff3e5c05b3e41ade7c
[ "MIT" ]
null
null
null
#include <iostream> #include "mas/store.h" #include "test/test_common.h" using namespace mas; class State { public: bool enable = false; int id = 1; State() {} explicit State(int i) : id(i) {} void print(const std::string& prefix = "") const { std::cout << prefix << "state, enable:" << (...
22.326733
78
0.563193
sumory
c0c579b4d4ce61ba04b921ec0de5ce5fef339b83
1,510
hpp
C++
test/unit/module/real/math/secpi/regular/secpi.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/math/secpi/regular/secpi.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/math/secpi/regular/secpi.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
35.116279
100
0.533113
orao
c0c8348a7ebbd68d35b280661652b1f739ce8e54
7,860
cpp
C++
plugins/evalua/ev.cpp
linuxmao-org/shiru-plugins
08853f99140012234649e67e5647906fda74f6cc
[ "WTFPL" ]
11
2019-06-15T06:36:36.000Z
2022-02-22T04:49:22.000Z
plugins/evalua/ev.cpp
nyxkn/shiru-plugins
8088c04b94afb498cec6a14bd03c448936bf31e9
[ "WTFPL" ]
6
2019-06-15T14:04:49.000Z
2019-11-27T15:35:13.000Z
plugins/evalua/ev.cpp
nyxkn/shiru-plugins
8088c04b94afb498cec6a14bd03c448936bf31e9
[ "WTFPL" ]
2
2020-12-30T00:21:35.000Z
2021-07-04T18:32:46.000Z
#include "ev.h" EV::EV(void) { } EV::~EV() { } //there is 26 variables named A-Z that can be used in an evtion //their values can be set before calling Solve void EV::ClearVars(void) { memset(vars,0,sizeof(vars)); } void EV::SetVar(char var,long long value) { if(var<'A'||var>'Z') return; vars[var-'A']=value...
17.782805
120
0.648092
linuxmao-org
c0c8830f6954e29f723705e84c600985e161bdd7
692
cpp
C++
c++/6 - Math/Chinese Remainder Theorem.cpp
CarlosSalazar84/notebook
b2bb07daaf22d3eddfa09a2ea4484932bdaa75df
[ "MIT" ]
34
2016-03-07T16:43:38.000Z
2022-02-28T07:35:20.000Z
c++/6 - Math/Chinese Remainder Theorem.cpp
CarlosSalazar84/notebook
b2bb07daaf22d3eddfa09a2ea4484932bdaa75df
[ "MIT" ]
72
2015-10-12T04:18:59.000Z
2021-03-17T02:00:12.000Z
c++/6 - Math/Chinese Remainder Theorem.cpp
CarlosSalazar84/notebook
b2bb07daaf22d3eddfa09a2ea4484932bdaa75df
[ "MIT" ]
36
2016-08-12T16:46:56.000Z
2022-03-29T01:56:02.000Z
Encuentra un x tal que para cada i : x es congruente con A_i mod M_i Devuelve {x, lcm}, donde x es la solucion con modulo lcm (lcm = LCM(M_0, M_1, ...)). Dado un k : x + k*lcm es solucion tambien. Si la solucion no existe o la entrada no es valida devuelve {-1, -1} Agregar Extended Euclides. pair<int, int> crt(vector<...
40.705882
127
0.528902
CarlosSalazar84
c0c9053ead4a683244e84ae13a3a742d7c9e603c
18,907
cpp
C++
KRender/Internal/Vulkan/KVulkanCommandBuffer.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
13
2019-10-19T17:41:19.000Z
2021-11-04T18:50:03.000Z
KRender/Internal/Vulkan/KVulkanCommandBuffer.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
3
2019-12-09T06:22:43.000Z
2020-05-28T09:33:44.000Z
KRender/Internal/Vulkan/KVulkanCommandBuffer.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
null
null
null
#include "KVulkanCommandBuffer.h" #include "KVulkanRenderTarget.h" #include "KVulkanRenderPass.h" #include "KVulkanPipeline.h" #include "KVulkanBuffer.h" #include "KVulkanFrameBuffer.h" #include "KVulkanQuery.h" #include "KVulkanGlobal.h" #include "KVulkanInitializer.h" #include "Internal/KConstantDefinition.h" KVulka...
29.916139
198
0.769926
King19931229
c0ca8b098a0c8f3d7e440e718f6fba49868ba6b6
1,842
hpp
C++
src/Simulation/Native/src/util/openmp.hpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
260
2019-07-11T16:40:17.000Z
2022-03-23T17:46:59.000Z
src/Simulation/Native/src/util/openmp.hpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
507
2019-07-11T17:14:48.000Z
2022-03-29T01:17:07.000Z
src/Simulation/Native/src/util/openmp.hpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
89
2019-07-11T18:02:27.000Z
2022-03-25T09:06:58.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "config.hpp" #include <mutex> #include <thread> #ifdef _OPENMP #include "omp.h" #else inline int omp_get_num_threads() { return 1; } inline int omp_get_thread_num() { return 0; } inline in...
17.055556
72
0.679153
Bradben
c0cc4a42d3ea2fbd00a00d2d733b340094fbc4cc
1,703
hpp
C++
include/UnityEngine/Audio/AudioMixerGroup.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Audio/AudioMixerGroup.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Audio/AudioMixerGroup.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.Object #include "UnityEngine/Object.hpp" #include "extern...
44.815789
115
0.697592
darknight1050
c0cdfb2d0c9a9c201523deab7e914b195f48a752
3,345
cpp
C++
Codeforces/Round #753/G.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
1
2021-09-14T11:25:21.000Z
2021-09-14T11:25:21.000Z
Codeforces/Round #753/G.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
null
null
null
Codeforces/Round #753/G.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define int long long using namespace std; struct node{ int i, a, b, c; int da, db; }; bool cmp(node A, node B){ return A.c < B.c; } bool cmpi(node A, node B){ return A.i < B.i; } void solve(){ int n, m; cin >> n >> m; vector<node> arr(n); int sum = 0; for(...
25.150376
57
0.250523
Sansiff
c0ceb1325c8fc4f339697ae374293c0542b1acb8
2,471
cpp
C++
Engine/Source/Manager/AudioManager.cpp
ReDEnergy/OpenGL4.5-GameEngine
79468b7807677372bbc0450ea49b48ad66bbbd41
[ "MIT" ]
11
2016-02-18T03:22:33.000Z
2021-01-21T13:05:30.000Z
Engine/Source/Manager/AudioManager.cpp
ReDEnergy/OpenGL4.5-GameEngine
79468b7807677372bbc0450ea49b48ad66bbbd41
[ "MIT" ]
3
2015-04-26T09:52:12.000Z
2015-05-13T13:06:58.000Z
Engine/Source/Manager/AudioManager.cpp
ReDEnergy/GameEngine
79468b7807677372bbc0450ea49b48ad66bbbd41
[ "MIT" ]
11
2015-03-14T13:35:22.000Z
2015-09-16T16:26:08.000Z
#include "AudioManager.h" #include <string> #include <iostream> using namespace std; #include <include/utils.h> #ifdef USE_AUDIO_MANAGER #include <Audio/AudioStream.h> #include <Audio/SoundFX.h> #endif #include <Manager/DebugInfo.h> #include <Manager/Manager.h> #include <Component/Transform/Transform...
22.0625
106
0.671388
ReDEnergy
c0d10c219e21ef1d8f77bba98911b4b67b00ce42
335
cpp
C++
src/lib/banal/cuda/CudaCodeSource.cpp
zygyz/hpctoolkit
73ac8daa640b76a1cf1ef64055962a5557341ace
[ "BSD-3-Clause" ]
null
null
null
src/lib/banal/cuda/CudaCodeSource.cpp
zygyz/hpctoolkit
73ac8daa640b76a1cf1ef64055962a5557341ace
[ "BSD-3-Clause" ]
3
2020-03-31T14:34:52.000Z
2020-04-09T06:00:33.000Z
src/lib/banal/cuda/CudaCodeSource.cpp
aarontcopal2/hpctoolkit
dfc750353f042e879d9b71b6ae84fec38ed534a3
[ "BSD-3-Clause" ]
2
2021-11-30T18:24:10.000Z
2022-02-13T18:13:17.000Z
#include "CudaCodeSource.hpp" namespace Dyninst { namespace ParseAPI { CudaCodeSource::CudaCodeSource( std::vector<CudaParse::Function *> &functions, Dyninst::SymtabAPI::Symtab *s) { for (auto *function : functions) { Address address = function->address; _hints.push_back(Hint(address, 0, 0, function->name...
20.9375
81
0.704478
zygyz
c0d20b1b233932cfadea558ef1488710aa18f787
8,924
cpp
C++
tests/Unit/NumericalAlgorithms/LinearOperators/Test_MeanValue.cpp
desperadoshi/spectre
b61c12dce108a98a875a1e9476e5630bea634119
[ "MIT" ]
null
null
null
tests/Unit/NumericalAlgorithms/LinearOperators/Test_MeanValue.cpp
desperadoshi/spectre
b61c12dce108a98a875a1e9476e5630bea634119
[ "MIT" ]
null
null
null
tests/Unit/NumericalAlgorithms/LinearOperators/Test_MeanValue.cpp
desperadoshi/spectre
b61c12dce108a98a875a1e9476e5630bea634119
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <array> #include <cmath> #include <cstdlib> #include <numeric> #include <utility> #include "DataStructures/DataVector.hpp" #include "DataStructures/Index.hpp" #include "DataStructures/IndexIterato...
42.09434
80
0.561744
desperadoshi
c0d29bdf68c3511845d4482dd2b194a94e9d1d96
3,015
cpp
C++
CAGE/Graphics/Uniforms/Uniforms.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
null
null
null
CAGE/Graphics/Uniforms/Uniforms.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
null
null
null
CAGE/Graphics/Uniforms/Uniforms.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
1
2019-06-16T19:00:31.000Z
2019-06-16T19:00:31.000Z
#include "Uniforms.hpp" #include <GLM/glm/gtc/type_ptr.hpp> namespace cage::uniforms { ///////////////////////////////////////////////////////////// /////////////// INTEGER ///////////////////////////////////// ///////////////////////////////////////////////////////////// IntUniform::IntUniform(unsigned int prog...
26.919643
74
0.400332
Mr-1337
c0d3eff0a12cb56c7134f81f7f0ecd46584de8f2
9,567
hpp
C++
ork/memory.hpp
calsev/ork
0247981395e28d68b3a446f62b2e426ea752a322
[ "MIT" ]
null
null
null
ork/memory.hpp
calsev/ork
0247981395e28d68b3a446f62b2e426ea752a322
[ "MIT" ]
4
2018-01-19T01:24:28.000Z
2018-01-19T01:27:07.000Z
ork/memory.hpp
calsev/ork
0247981395e28d68b3a446f62b2e426ea752a322
[ "MIT" ]
null
null
null
/* This file is part of the ORK library. Full copyright and license terms can be found in the LICENSE.txt file. */ #pragma once #include "ork/type_traits.hpp" namespace ork { /* The C++ standard does not offer a smart pointer with value sematics. For one, C++ does not offer a standard way to copy an object to preve...
27.025424
111
0.65057
calsev
c0d8a563827ddf89576f0b7095798e4ec8e2ef0d
275
cpp
C++
src/algorithm/std1.cpp
0h-n0/cpp-toto
0fbebd401b32cc936bfce5bb846135f3bcc50f25
[ "MIT" ]
null
null
null
src/algorithm/std1.cpp
0h-n0/cpp-toto
0fbebd401b32cc936bfce5bb846135f3bcc50f25
[ "MIT" ]
null
null
null
src/algorithm/std1.cpp
0h-n0/cpp-toto
0fbebd401b32cc936bfce5bb846135f3bcc50f25
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main(){ vector<int> v = {3 ,1 ,4}; cout << boolalpha; bool result1 = all_of(v.begin(), v.end(), [](int x){return x < 5;}); cout << result1 << endl; return 0; }
14.473684
72
0.563636
0h-n0
c0da465fd41de3ed346a9cd8527a636ec9ce887b
4,119
cc
C++
src/Mesh/PolyhedralZone.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Mesh/PolyhedralZone.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Mesh/PolyhedralZone.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // PolyhedralZone -- 3-D zone class. // // Created by JMO, Thu Jan 6 09:12:50 PST 2011 //----------------------------------------------------------------------------// #include "Mesh.hh" #include "Utilities/SpheralFunctions.hh" #include "...
32.179688
110
0.533867
jmikeowen
c0df6c9f3b4dd856deaf24601558e2bc3d4533b4
1,552
cpp
C++
cpp/subprojects/common/src/common/model/head_partial.cpp
mrapp-ke/SyndromeLearner
ed18c282949bebbc8e1dd5d2ddfb0b224ee71293
[ "MIT" ]
null
null
null
cpp/subprojects/common/src/common/model/head_partial.cpp
mrapp-ke/SyndromeLearner
ed18c282949bebbc8e1dd5d2ddfb0b224ee71293
[ "MIT" ]
null
null
null
cpp/subprojects/common/src/common/model/head_partial.cpp
mrapp-ke/SyndromeLearner
ed18c282949bebbc8e1dd5d2ddfb0b224ee71293
[ "MIT" ]
1
2022-03-08T22:06:56.000Z
2022-03-08T22:06:56.000Z
#include "common/model/head_partial.hpp" PartialHead::PartialHead(uint32 numElements) : numElements_(numElements), scores_(new float64[numElements]), labelIndices_(new uint32[numElements]) { } PartialHead::PartialHead(const PartialPrediction& prediction) : PartialHead(prediction.getNumElements()) { std:...
26.305085
108
0.76933
mrapp-ke
c0e08d8895c083bb3088483c6860ee65742d9418
3,201
hpp
C++
boost/lib/include/boost/serialization/optional.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
101
2019-02-12T12:53:18.000Z
2022-03-14T14:14:38.000Z
boost/lib/include/boost/serialization/optional.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
157
2019-02-06T05:04:20.000Z
2022-03-31T21:50:28.000Z
boost/lib/include/boost/serialization/optional.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
15
2019-05-11T04:03:35.000Z
2022-02-12T18:53:47.000Z
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // (C) Copyright 2002-4 Pavel Vozenilek . // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Provi...
30.198113
80
0.683849
mamil
c0e191f71a8e5ed9bdf498c271c90dfb8c045f1e
1,914
cpp
C++
audio_editor_core/audio_editor_core/presenters/time_presenter/ae_time_presenter_utils.cpp
objective-audio/audio_editor
649f74cdca3d7db3d618922a345ea158a0c03a1d
[ "MIT" ]
null
null
null
audio_editor_core/audio_editor_core/presenters/time_presenter/ae_time_presenter_utils.cpp
objective-audio/audio_editor
649f74cdca3d7db3d618922a345ea158a0c03a1d
[ "MIT" ]
null
null
null
audio_editor_core/audio_editor_core/presenters/time_presenter/ae_time_presenter_utils.cpp
objective-audio/audio_editor
649f74cdca3d7db3d618922a345ea158a0c03a1d
[ "MIT" ]
null
null
null
// // ae_time_presenter_utils.cpp // #include "ae_time_presenter_utils.h" #include <audio_editor_core/ae_common_types.h> #include <audio_editor_core/ae_math.h> #include <playing/yas_playing_math.h> #include <iomanip> #include <sstream> using namespace yas; using namespace yas::ae; time_components time_presenter_u...
34.178571
113
0.626959
objective-audio
c0e685d72a937b5384aca8de25cefaf407eec846
2,134
cpp
C++
deprecated/src/Graphics/Diagnostics/FrameInfo.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
4
2019-03-21T16:02:03.000Z
2020-04-09T08:53:29.000Z
deprecated/src/Graphics/Diagnostics/FrameInfo.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
24
2018-04-06T08:25:17.000Z
2020-10-19T11:01:09.000Z
deprecated/src/Graphics/Diagnostics/FrameInfo.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
null
null
null
#include "Graphics\Diagnostics\FrameInfo.h" /* Defines the output directory for all debug images. */ #define OUTDIR(x) "./debug/" x ".png" using namespace Plutonium; Texture* GenerateFrameTexture(GraphicsAdapter *device, const char *name) { /* Get the width and height of the frame buffer. */ const Plutonium::Recta...
29.638889
86
0.718369
Arzana
c0ec9d8f987a3eb4df7b1f075b85ee3494ded136
3,867
hxx
C++
couchbase/topology/configuration.hxx
jrawsthorne/couchbase-cxx-client
b8fea51f900af80abe09cbdda90aef944b05c10a
[ "Apache-2.0" ]
1
2022-02-14T19:46:50.000Z
2022-02-14T19:46:50.000Z
couchbase/topology/configuration.hxx
jrawsthorne/couchbase-cxx-client
b8fea51f900af80abe09cbdda90aef944b05c10a
[ "Apache-2.0" ]
46
2021-09-15T13:49:29.000Z
2022-02-22T15:12:16.000Z
couchbase/topology/configuration.hxx
jrawsthorne/couchbase-cxx-client
b8fea51f900af80abe09cbdda90aef944b05c10a
[ "Apache-2.0" ]
5
2021-09-02T02:17:34.000Z
2021-12-08T18:43:20.000Z
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2020-2021 Couchbase, 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 * * ...
32.225
139
0.672614
jrawsthorne
c0ed0b375f4f393912db74fd9c1da44c8d41e41c
7,113
hpp
C++
include/xtensor-blas/xblas_utils.hpp
muncasterconsulting/xtensor-blas
a63b47e4f120ad7a4f48d7d64e3e422268b987f5
[ "BSD-3-Clause" ]
null
null
null
include/xtensor-blas/xblas_utils.hpp
muncasterconsulting/xtensor-blas
a63b47e4f120ad7a4f48d7d64e3e422268b987f5
[ "BSD-3-Clause" ]
null
null
null
include/xtensor-blas/xblas_utils.hpp
muncasterconsulting/xtensor-blas
a63b47e4f120ad7a4f48d7d64e3e422268b987f5
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * Copyright (c) Wolf Vollprecht, Johan Mabille and Sylvain Corlay * * Copyright (c) QuantStack * * * * Distribute...
33.7109
144
0.554478
muncasterconsulting
c0f6650d54d2d6748678de8c23e6fe08cee8e269
4,734
cpp
C++
aws-cpp-sdk-iotthingsgraph/source/model/SystemInstanceDescription.cpp
crazecdwn/aws-sdk-cpp
e74b9181a56e82ee04cf36a4cb31686047f4be42
[ "Apache-2.0" ]
1
2019-10-10T20:58:44.000Z
2019-10-10T20:58:44.000Z
aws-cpp-sdk-iotthingsgraph/source/model/SystemInstanceDescription.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-iotthingsgraph/source/model/SystemInstanceDescription.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
27.847059
178
0.779679
crazecdwn
c0fac9cc337b220c0f7f5f5b11fa509fd491d2cd
1,184
cpp
C++
ReeeEngine/src/ReeeEngine/Rendering/Context/TransformData.cpp
Lewisscrivens/ReeeEngine
abb31ef7e1adb553fafe02c4f9bd60ceb520acbf
[ "MIT" ]
null
null
null
ReeeEngine/src/ReeeEngine/Rendering/Context/TransformData.cpp
Lewisscrivens/ReeeEngine
abb31ef7e1adb553fafe02c4f9bd60ceb520acbf
[ "MIT" ]
null
null
null
ReeeEngine/src/ReeeEngine/Rendering/Context/TransformData.cpp
Lewisscrivens/ReeeEngine
abb31ef7e1adb553fafe02c4f9bd60ceb520acbf
[ "MIT" ]
null
null
null
#include "TransformData.h" #include "../../Application.h" #include "../../World/World.h" #include "../../World/Components/CameraComponent.h" namespace ReeeEngine { std::unique_ptr<VertexConstantBuffer<MeshTransform>> TransformData::transformData; TransformData::TransformData(Graphics& graphics, const RenderableMesh&...
35.878788
139
0.759291
Lewisscrivens
8d04bcf7fa46edb7d50a1be866ba2a6fa1cae656
8,427
cc
C++
dcmimage/libsrc/diquant.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
10
2016-07-03T12:16:58.000Z
2021-12-18T06:15:50.000Z
dcmimage/libsrc/diquant.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
1
2020-04-30T07:55:55.000Z
2020-04-30T07:55:55.000Z
dcmimage/libsrc/diquant.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
9
2017-02-09T02:16:39.000Z
2021-01-06T02:49:24.000Z
/* * * Copyright (C) 2002-2010, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmimage * * Author: Marco E...
37.959459
150
0.688264
trice-imaging
8d08d81d18bf26363caae5937fa40451237789cc
5,585
cpp
C++
input_filter/BamKeysFilter.cpp
arnavbhatt288/bamkeys
6c246f3fec39b5f79af46f92a1252ce20d277fde
[ "MIT" ]
null
null
null
input_filter/BamKeysFilter.cpp
arnavbhatt288/bamkeys
6c246f3fec39b5f79af46f92a1252ce20d277fde
[ "MIT" ]
1
2019-01-08T17:03:16.000Z
2019-01-08T17:03:16.000Z
input_filter/BamKeysFilter.cpp
arnavbhatt288/bamkeys
6c246f3fec39b5f79af46f92a1252ce20d277fde
[ "MIT" ]
2
2019-01-04T06:16:35.000Z
2020-12-06T02:31:25.000Z
#include <add-ons/input_server/InputServerFilter.h> #include <Beep.h> #include "BamKeysFilter.h" extern "C" _EXPORT BInputServerFilter* instantiate_input_filter(); BInputServerFilter* instantiate_input_filter() { return (new BamKeysFilter()); } BamKeysFilter::BamKeysFilter() : BHandler("BamKeys") { fDoFilter = tr...
26.469194
87
0.625425
arnavbhatt288
8d0b7f81b9acb8adbbe1121e4c4db28b9892a908
9,240
cpp
C++
Source Files/Fish.cpp
saribe0/Sea-
d88b54985440c7e554307562bc12069974f05a3b
[ "MIT" ]
null
null
null
Source Files/Fish.cpp
saribe0/Sea-
d88b54985440c7e554307562bc12069974f05a3b
[ "MIT" ]
null
null
null
Source Files/Fish.cpp
saribe0/Sea-
d88b54985440c7e554307562bc12069974f05a3b
[ "MIT" ]
null
null
null
#include "Fish.h" #include "Cave.h" #include "Model.h" //Default constructor creates a fish with a certain code and size Fish::Fish(char display_code, int siz, Model* model) :GameObject(display_code, 0) { world = model; state = 'f'; energy = 15; this->size = size; prefeast_size = size; destination = CartPoint();...
24.251969
134
0.607035
saribe0
8d0df99999968445ded3e39330430eadd4d356d9
3,512
cpp
C++
getting_started/kernel_opt/aos_vs_soa_c/src/dot_aos.cpp
cchalmers/SDAccel_Examples
28322a4fa642cb9bc6302a14b481ce3b2cf5a447
[ "BSD-3-Clause" ]
364
2016-10-18T18:07:32.000Z
2022-03-31T05:21:25.000Z
getting_started/kernel_opt/aos_vs_soa_c/src/dot_aos.cpp
cchalmers/SDAccel_Examples
28322a4fa642cb9bc6302a14b481ce3b2cf5a447
[ "BSD-3-Clause" ]
54
2016-09-19T09:11:27.000Z
2021-04-19T04:42:58.000Z
getting_started/kernel_opt/aos_vs_soa_c/src/dot_aos.cpp
cchalmers/SDAccel_Examples
28322a4fa642cb9bc6302a14b481ce3b2cf5a447
[ "BSD-3-Clause" ]
227
2016-08-18T23:12:33.000Z
2022-01-19T14:06:12.000Z
/********** Copyright (c) 2018, Xilinx, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
35.12
101
0.683371
cchalmers
8d0f511a23959debbe445e08cb973c434f845919
5,370
cpp
C++
getic/DlgNewTerrain.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
null
null
null
getic/DlgNewTerrain.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
1
2020-09-01T15:02:02.000Z
2020-09-01T16:11:07.000Z
getic/DlgNewTerrain.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
1
2020-09-08T19:14:57.000Z
2020-09-08T19:14:57.000Z
// DlgNewTerrain.cpp : implementation file // #include "stdafx.h" #include "geticgui.h" #include "z-edmap.h" #include "MainFrm.h" #include "DlgNewTerrain.h" #include "DlgBar.h" #include "Brush.h" #include "z_ed2Doc.h" #include "z_ed2View.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static c...
23.973214
87
0.581937
circinusX1
8d12d62a618130ad4524ad274a74d5c197259d8f
5,291
cxx
C++
Modules/Detection/ObjectDetection/test/otbObjectDetectionClassifier.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
2
2019-02-13T14:48:19.000Z
2019-12-03T02:54:28.000Z
Modules/Detection/ObjectDetection/test/otbObjectDetectionClassifier.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
3
2015-10-14T10:11:38.000Z
2015-10-15T08:26:23.000Z
Modules/Detection/ObjectDetection/test/otbObjectDetectionClassifier.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
2
2019-01-17T10:36:14.000Z
2019-12-03T02:54:36.000Z
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
32.460123
98
0.726517
lfyater
8d145f2ee96202ee9532a0492bee83565097865c
4,344
cpp
C++
src/main/cpp/AuxAttachment.cpp
VLPatton/2022-Testboard-Code
cacb512e19d646e1170143c0827c4393f00411c2
[ "BSD-3-Clause" ]
1
2022-01-13T01:26:37.000Z
2022-01-13T01:26:37.000Z
src/main/cpp/AuxAttachment.cpp
VLPatton/2022-Testboard-Code
cacb512e19d646e1170143c0827c4393f00411c2
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/AuxAttachment.cpp
VLPatton/2022-Testboard-Code
cacb512e19d646e1170143c0827c4393f00411c2
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** Description: Implements the CAuxAttachment control class. Classes: CAuxAttachment Project: 2022 Testboard Robot Code ****************************************************************************/ #include "AuxAttachment.h" ///////////////...
35.606557
139
0.522099
VLPatton
8d14e067f8e1642b40122e1d8909f8afdf4e5b7d
3,714
cpp
C++
ogsr_engine/Layers/xrRender/RenderTargetPhaseAA.cpp
LVutner/OGSR-Engine
fea725c29e1a1b3e72295e1419c124097ed98dfd
[ "Apache-2.0" ]
247
2018-11-02T18:50:55.000Z
2022-03-15T09:11:43.000Z
ogsr_engine/Layers/xrRender/RenderTargetPhaseAA.cpp
LVutner/OGSR-Engine
fea725c29e1a1b3e72295e1419c124097ed98dfd
[ "Apache-2.0" ]
193
2018-11-02T20:12:44.000Z
2022-03-07T13:35:17.000Z
ogsr_engine/Layers/xrRender/RenderTargetPhaseAA.cpp
LVutner/OGSR-Engine
fea725c29e1a1b3e72295e1419c124097ed98dfd
[ "Apache-2.0" ]
106
2018-10-26T11:33:01.000Z
2022-03-19T12:34:20.000Z
#include "stdafx.h" void CRenderTarget::ProcessSMAA() { u32 Offset; constexpr float d_Z = EPS_S; constexpr float d_W = 1.0f; constexpr u32 C = color_rgba(0, 0, 0, 255); const float _w = float(Device.dwWidth); const float _h = float(Device.dwHeight); // Half-pixel offset (DX9 only) #if defined(USE_DX10) || def...
36.411765
112
0.662628
LVutner
8d1d0b099b39ab0d74646011c025fe5cdbb229bb
1,586
cpp
C++
Tools/DryWetFilter.cpp
AudioTK/ATKJUCEComponents
36c05038d292eb67a09d4c0a6c7426dc6b575dbe
[ "BSD-3-Clause" ]
3
2021-01-22T04:05:01.000Z
2021-12-16T11:55:53.000Z
Tools/DryWetFilter.cpp
AudioTK/ATKJUCEComponents
36c05038d292eb67a09d4c0a6c7426dc6b575dbe
[ "BSD-3-Clause" ]
null
null
null
Tools/DryWetFilter.cpp
AudioTK/ATKJUCEComponents
36c05038d292eb67a09d4c0a6c7426dc6b575dbe
[ "BSD-3-Clause" ]
null
null
null
/** * \file DryWetFilter.cpp */ #include "DryWetFilter.h" #include "../JUCE/LookAndFeel.h" namespace ATK { namespace juce { DryWetFilterComponent::DryWetFilterComponent (::juce::AudioProcessorValueTreeState& paramState, const std::string& name, const std::string& display) : levelSlider(::juce::Slider::...
33.041667
152
0.681589
AudioTK
8d23eee12552182b7a04e04a85fbf6a72c31fa61
881
cpp
C++
src/SigGen.cpp
peterus/ESP32_WSPR
979ba33f855141ac85dbbf7ac3606bdb06301985
[ "MIT" ]
null
null
null
src/SigGen.cpp
peterus/ESP32_WSPR
979ba33f855141ac85dbbf7ac3606bdb06301985
[ "MIT" ]
null
null
null
src/SigGen.cpp
peterus/ESP32_WSPR
979ba33f855141ac85dbbf7ac3606bdb06301985
[ "MIT" ]
null
null
null
#include "SigGen.h" constexpr uint32_t _denom = 1000; constexpr uint8_t OUTPUT_CHANNEL = 0; SigGen::SigGen() { } SigGen::~SigGen() { } bool SigGen::begin() { if (_si5351.begin() != ERROR_NONE) { return false; } _si5351.setupPLL(SI5351_PLL_A, 36, 0, _denom); _si5351.setupRdiv(OUTPUT_CHANNEL, S...
21.487805
74
0.675369
peterus
8d24137a0e4cb6640f898dd19c8be0ce7506a1ac
4,026
hpp
C++
src/viterbi_simd.hpp
mjgerdes/paraterbi
914c5430fc053788812cc5da7465b637de22458e
[ "MIT" ]
null
null
null
src/viterbi_simd.hpp
mjgerdes/paraterbi
914c5430fc053788812cc5da7465b637de22458e
[ "MIT" ]
null
null
null
src/viterbi_simd.hpp
mjgerdes/paraterbi
914c5430fc053788812cc5da7465b637de22458e
[ "MIT" ]
1
2018-12-05T03:31:49.000Z
2018-12-05T03:31:49.000Z
#ifndef PARATERBI__VITERBI_SIMD_HPP__ #define PARATERBI__VITERBI_SIMD_HPP__ #include "MatrixV.hpp" #include "utility.hpp" #include <iostream> #include <limits> #include <algorithm> #include <vector> template <typename probability_T, typename label_T = int, typename emission_T = int> class Viterbi { public: us...
28.553191
75
0.686786
mjgerdes
8d2541f296766bbb11ebf512cb2b8c2884b4983d
414
cpp
C++
lib/Profile/ProviderIni.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
8
2015-01-23T05:41:46.000Z
2019-11-20T05:10:27.000Z
lib/Profile/ProviderIni.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
null
null
null
lib/Profile/ProviderIni.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
4
2015-05-05T05:15:43.000Z
2020-03-07T11:10:56.000Z
/********************************************************************************************************* * ProviderIni.hpp * Note: Phoenix ProviderIni * Date: @2015.04 * E-mail:<forcemz@outlook.com> * Copyright (C) 2015 The ForceStudio All Rights Reserved. *************************************************************...
31.846154
107
0.359903
fstudio
8d27eb128168527c8837b6a0f7ddf57d4827c90b
4,006
hpp
C++
libraries/p2p/include/graphene/p2p/message.hpp
EDCBlockchain/blockchain
41c74b981658d79d770b075191cfb14faeb84dab
[ "MIT" ]
12
2019-10-31T13:24:21.000Z
2021-12-29T22:02:22.000Z
libraries/p2p/include/graphene/p2p/message.hpp
DONOVA28/blockchain
41c74b981658d79d770b075191cfb14faeb84dab
[ "MIT" ]
null
null
null
libraries/p2p/include/graphene/p2p/message.hpp
DONOVA28/blockchain
41c74b981658d79d770b075191cfb14faeb84dab
[ "MIT" ]
11
2019-07-24T12:46:29.000Z
2021-11-27T04:41:48.000Z
// see LICENSE.txt #pragma once #include <array> #include <fc/io/varint.hpp> #include <fc/network/ip.hpp> #include <fc/io/raw.hpp> #include <fc/crypto/ripemd160.hpp> #include <fc/reflect/variant.hpp> namespace graphene { namespace p2p { using namespace graphene::chain; struct message_header { uint32_t s...
24.426829
86
0.591613
EDCBlockchain
8d29efd734731587b441a1b8e7d2e6c9b72bd844
6,771
cpp
C++
main/src/jumpnrun/mover/enemy/Pumpkin.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/mover/enemy/Pumpkin.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/mover/enemy/Pumpkin.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
#pragma once #define _USE_MATH_DEFINES #include"jumpnrun/mover/bullet/Bullet.h" #include"jumpnrun/mover/enemy/Enemy.h" #include"jumpnrun/mover/effect/Effect.h" #include"jumpnrun/mover/Barrier.h" #include"jumpnrun/GRAPHICS.h" #include"jumpnrun/system/Parmanent.h" #include"jumpnrun/MoverUtilities.h" #include"jumpnrun/mov...
18.913408
127
0.58278
wonderhorn
8d2caf9e06b7f394df9831fba3ed5ae1e26c073a
38
cc
C++
test/resources/type-checking/bad/MissingVariable.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
test/resources/type-checking/bad/MissingVariable.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
test/resources/type-checking/bad/MissingVariable.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
int main() { x = 12; return 0; }
5.428571
11
0.447368
monadplus
8d2eed5ccf2f57b614e9e8ae2b89ec7d21f3aefb
4,159
cpp
C++
src/Players/Upgrades/Upgrades.cpp
krogenth/AdditionalPylons
60a2ba5503857de9c6aafa5261e911f39ad0ccf1
[ "MIT" ]
1
2022-01-22T00:45:45.000Z
2022-01-22T00:45:45.000Z
src/Players/Upgrades/Upgrades.cpp
krogenth/AdditionalPylons
60a2ba5503857de9c6aafa5261e911f39ad0ccf1
[ "MIT" ]
39
2022-01-10T22:23:20.000Z
2022-03-31T03:56:21.000Z
src/Players/Upgrades/Upgrades.cpp
krogenth/AdditionalPylons
60a2ba5503857de9c6aafa5261e911f39ad0ccf1
[ "MIT" ]
null
null
null
#include "./Upgrades.h" Upgrades::Upgrades(BWAPI::Player _player) { this->player = _player; this->weaponDamage.clear(); this->weaponRange.clear(); this->unitCooldown.clear(); this->unitSpeed.clear(); this->unitArmor.clear(); this->unitSight.clear(); this->researchedTech.clear(); this->upgradeLevel.clear(); };...
28.881944
59
0.708343
krogenth
8d31a5d08c5f9ddd4fab71cc5a61785b0753a201
4,747
cxx
C++
third_party/windows/fltk-1.1.10/src/Fl_Overlay_Window.cxx
peterliu2/tivaWare
332ffb2561698feb0779a92f43d0c584ff891eb8
[ "BSD-3-Clause" ]
25
2015-04-20T13:03:05.000Z
2022-01-06T07:25:02.000Z
third_party/windows/fltk-1.1.10/src/Fl_Overlay_Window.cxx
peterliu2/tivaWare
332ffb2561698feb0779a92f43d0c584ff891eb8
[ "BSD-3-Clause" ]
1
2021-03-21T03:00:58.000Z
2021-03-22T10:05:45.000Z
third_party/windows/fltk-1.1.10/src/Fl_Overlay_Window.cxx
peterliu2/tivaWare
332ffb2561698feb0779a92f43d0c584ff891eb8
[ "BSD-3-Clause" ]
24
2015-09-22T12:08:11.000Z
2021-12-30T10:17:30.000Z
// // "$Id: Fl_Overlay_Window.cxx 5190 2006-06-09 16:16:34Z mike $" // // Overlay window code for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2005 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Publ...
30.429487
77
0.673899
peterliu2
8d3436cfdba97237594919f33a76f7c33f7c283f
6,657
cpp
C++
sqlsrv/core_init.cpp
Jan-E/msphpsql
9628db1bd944ea9cc7bf3d5e55cce127ec24a1b5
[ "Apache-2.0" ]
1
2015-02-23T11:51:06.000Z
2015-02-23T11:51:06.000Z
sqlsrv/core_init.cpp
Jan-E/msphpsql
9628db1bd944ea9cc7bf3d5e55cce127ec24a1b5
[ "Apache-2.0" ]
null
null
null
sqlsrv/core_init.cpp
Jan-E/msphpsql
9628db1bd944ea9cc7bf3d5e55cce127ec24a1b5
[ "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------------------------------------------------------------- // File: core_init.cpp // // Contents: common initialization routines shared by PDO and sqlsrv // // Copyright Microsoft Corporation // // Licensed under the Apache License, Version...
38.04
133
0.628662
Jan-E
8d3562f23ae306e7465f7cc8d3b0f4aec0bf510b
7,642
cc
C++
geas/lib/constraints/mdd.cc
AppleGamer22/FIT2082
298459dbfdb158bdd4e6d8428e6c958d186fdb20
[ "MIT" ]
3
2021-09-29T08:06:31.000Z
2022-03-25T10:24:54.000Z
geas/lib/constraints/mdd.cc
AppleGamer22/FIT2082
298459dbfdb158bdd4e6d8428e6c958d186fdb20
[ "MIT" ]
null
null
null
geas/lib/constraints/mdd.cc
AppleGamer22/FIT2082
298459dbfdb158bdd4e6d8428e6c958d186fdb20
[ "MIT" ]
null
null
null
#include <numeric> #include <geas/utils/MurmurHash3.h> #include <geas/solver/solver.h> #include <geas/solver/solver_ext.h> #include <geas/constraints/mdd.h> namespace geas { namespace mdd { class mdd_manager : public solver_ext<mdd_manager> { public: mdd_manager(solver_data* s) { } ~mdd_manager(void) { for...
23.157576
131
0.552604
AppleGamer22
8d35bb574bdf2404049611ce06ed22fc3800e675
2,445
cpp
C++
sources/airplane/Container.cpp
GatorQue/ct-sfml-example
f4bf110d8ff8c9087b052d55468faa30608df173
[ "MIT" ]
null
null
null
sources/airplane/Container.cpp
GatorQue/ct-sfml-example
f4bf110d8ff8c9087b052d55468faa30608df173
[ "MIT" ]
null
null
null
sources/airplane/Container.cpp
GatorQue/ct-sfml-example
f4bf110d8ff8c9087b052d55468faa30608df173
[ "MIT" ]
null
null
null
#include "Container.hpp" #include "Foreach.hpp" #include <SFML/Graphics/RenderStates.hpp> #include <SFML/Graphics/RenderTarget.hpp> #include <SFML/Window/Event.hpp> namespace GUI { Container::Container() : children(), selectedChild(-1) { } void Container::pack(Component::Ptr component) { childr...
21.830357
79
0.604908
GatorQue
8d36095d5d61b6265b0ba6550960c842be8823dd
2,176
cpp
C++
uebung3/musterloesung/game_of_life_lsg_WS1819/functions_game.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
uebung3/musterloesung/game_of_life_lsg_WS1819/functions_game.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
uebung3/musterloesung/game_of_life_lsg_WS1819/functions_game.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
#include "functions_game.h" using namespace std; MatrixXi create_field2d(const unsigned int nx, const unsigned int ny){ MatrixXi field=MatrixXi::Zero(nx,ny); return field; } void init_field2d(MatrixXi &field, const double frac){ int count = 0; int todo_fill; int rand_x, rand_y; const unsign...
22.905263
70
0.476563
jWeb94
8d379f616504d28969bcf1b376f25ac03033260c
902
hpp
C++
src/server/Resources.hpp
Kirtsim/Memo-server
508abe88841ed156ffbba25a56a166dd7460f17f
[ "MIT" ]
null
null
null
src/server/Resources.hpp
Kirtsim/Memo-server
508abe88841ed156ffbba25a56a166dd7460f17f
[ "MIT" ]
9
2020-07-09T11:32:37.000Z
2020-09-06T18:30:08.000Z
src/server/Resources.hpp
Kirtsim/Memo-server
508abe88841ed156ffbba25a56a166dd7460f17f
[ "MIT" ]
1
2020-08-18T07:57:37.000Z
2020-08-18T07:57:37.000Z
#pragma once #include "db/IDatabase.hpp" #include <memory> #include <string> namespace memo { // Class that holds data/tools that should be globally accessible class Resources { public: using Ptr = std::shared_ptr<Resources>; static Ptr Create(const std::string& iAddress, const std::str...
22.55
65
0.660754
Kirtsim
8d38c3e066ee25754338c2e445db0474c91796e2
14,087
cpp
C++
physx/samples/sampleframework/framework/src/SampleApplication.cpp
Guillaume0477/PhysX_ME
69c35c405d39df9b112567750e92542b235bdba7
[ "Unlicense" ]
13
2020-01-08T00:55:42.000Z
2022-01-21T06:15:08.000Z
physx/samples/sampleframework/framework/src/SampleApplication.cpp
Guillaume0477/PhysX_ME
69c35c405d39df9b112567750e92542b235bdba7
[ "Unlicense" ]
8
2020-01-13T07:10:57.000Z
2021-05-14T20:55:17.000Z
physx/samples/sampleframework/framework/src/SampleApplication.cpp
Guillaume0477/PhysX_ME
69c35c405d39df9b112567750e92542b235bdba7
[ "Unlicense" ]
5
2020-03-31T10:27:26.000Z
2021-08-13T20:38:08.000Z
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
29.908705
186
0.739192
Guillaume0477
8d39761943cecdd65ed92798e4317c9db1c162b1
556
cpp
C++
GradingStudents.cpp
AmitHasanShuvo/Programming
f47ecc626e518a0bf5f9f749afd15ce67bbe737b
[ "MIT" ]
8
2019-05-26T19:24:13.000Z
2021-03-24T17:36:14.000Z
GradingStudents.cpp
AmitHasanShuvo/Programming
f47ecc626e518a0bf5f9f749afd15ce67bbe737b
[ "MIT" ]
null
null
null
GradingStudents.cpp
AmitHasanShuvo/Programming
f47ecc626e518a0bf5f9f749afd15ce67bbe737b
[ "MIT" ]
1
2020-04-19T04:59:54.000Z
2020-04-19T04:59:54.000Z
#include <bits/stdc++.h> #include<assert.h> using namespace std; void solution() { int n, x; cin >> n; assert(n > 0 && n <= 60); for(int i = 0; i < n; i++) { cin >> x; assert(x >= 0 && x <= 100); if(x >= 38) { int y = x; while(1) ...
13.9
35
0.307554
AmitHasanShuvo
8d3d5c37c082dc3918b867a871df1e8af494ca90
28,032
cpp
C++
src/RoomState.cpp
mikaelmello/story-based-rpg
bc73c24ad0e41512c3e980ca3aad0fc5738af2f2
[ "Zlib" ]
null
null
null
src/RoomState.cpp
mikaelmello/story-based-rpg
bc73c24ad0e41512c3e980ca3aad0fc5738af2f2
[ "Zlib" ]
null
null
null
src/RoomState.cpp
mikaelmello/story-based-rpg
bc73c24ad0e41512c3e980ca3aad0fc5738af2f2
[ "Zlib" ]
null
null
null
#include "RoomState.hpp" #include <iostream> #include "Antagonist.hpp" #include "Camera.hpp" #include "CameraAction.hpp" #include "CameraFollower.hpp" #include "Collider.hpp" #include "Collision.hpp" #include "Dialog.hpp" #include "Door.hpp" #include "EndingState.hpp" #include "Furniture.hpp" #include "Game.hpp" #inclu...
35.984596
80
0.655608
mikaelmello
8d3e3849b2f86247239a8608481ac4afc99a5371
433
cpp
C++
tests/Unit/Evolution/DiscontinuousGalerkin/Limiters/Test_Tags.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/Evolution/DiscontinuousGalerkin/Limiters/Test_Tags.cpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/Evolution/DiscontinuousGalerkin/Limiters/Test_Tags.cpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include "Evolution/DiscontinuousGalerkin/Limiters/Tags.hpp" #include "Helpers/DataStructures/DataBox/TestHelpers.hpp" namespace { struct SomeType {}; } // namespace SPECTRE_TEST_CASE("Unit.Evolution.DG....
27.0625
75
0.764434
nilsvu
8d41593964bdffc5cacdd0bfc05144e4c2a2517b
3,534
cpp
C++
src/prediction.cpp
yijieluo/MRLBP_GNP
21299fb839feb5633cb944346991855428bfa735
[ "MIT" ]
null
null
null
src/prediction.cpp
yijieluo/MRLBP_GNP
21299fb839feb5633cb944346991855428bfa735
[ "MIT" ]
null
null
null
src/prediction.cpp
yijieluo/MRLBP_GNP
21299fb839feb5633cb944346991855428bfa735
[ "MIT" ]
null
null
null
#include "prediction.h" using namespace cv::ml; double svmPrediction(std::vector<std::unique_ptr<double[]>>& featureVector, uint32_t featureDimension, const std::vector<uint8_t>& labelVector) { /*svm*/ //cv::Ptr<SVM> svm = StatModel::load<SVM>("./svmModel.xml"); auto svm = cv::Algorithm::load<SVM>("./svmModel.xm...
26.571429
143
0.629881
yijieluo
1d28b596b224370c82cfaeec147220dff8c0042d
3,421
cpp
C++
oss_src/unity/R-package/src/rcpp_dict.cpp
parquette/ParFrame
0522aa6afdf529b3e91505b70e918f1500aae886
[ "BSD-3-Clause" ]
null
null
null
oss_src/unity/R-package/src/rcpp_dict.cpp
parquette/ParFrame
0522aa6afdf529b3e91505b70e918f1500aae886
[ "BSD-3-Clause" ]
null
null
null
oss_src/unity/R-package/src/rcpp_dict.cpp
parquette/ParFrame
0522aa6afdf529b3e91505b70e918f1500aae886
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2015 Dato, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This software ma...
28.508333
95
0.572932
parquette
1d2a848ebe636a5e350752e26881bc5f5c6d80b7
1,661
cc
C++
src/developer/debug/zxdb/symbols/line_table_impl.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
null
null
null
src/developer/debug/zxdb/symbols/line_table_impl.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
null
null
null
src/developer/debug/zxdb/symbols/line_table_impl.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/developer/debug/zxdb/symbols/line_table_impl.h" #include <lib/syslog/cpp/macros.h> #include "llvm/DebugInfo/DWARF/DWARFContext.h" namespac...
30.2
95
0.718242
csrpi
1d2c71d5b441d3c026af7ec59218fdc8a48308a2
630
cpp
C++
modules/algorithm/test/testcluster.cpp
ljm941004/HYPERCV_PUBLIC
aef4f392ed0136284409c3e2d750a7812e4a5e35
[ "BSD-3-Clause" ]
8
2019-08-16T00:38:02.000Z
2021-12-05T10:24:44.000Z
modules/algorithm/test/testcluster.cpp
mafu0927/HYPERCV_PUBLIC
aef4f392ed0136284409c3e2d750a7812e4a5e35
[ "BSD-3-Clause" ]
null
null
null
modules/algorithm/test/testcluster.cpp
mafu0927/HYPERCV_PUBLIC
aef4f392ed0136284409c3e2d750a7812e4a5e35
[ "BSD-3-Clause" ]
5
2019-07-23T07:28:29.000Z
2021-01-14T01:27:48.000Z
/************************************************************************* > File Name: modules/algorithm/test/testcluster.cpp > Author: ljm > Mail: jimin@iscas.ac.cn ************************************************************************/ #include "precomp.h" void testkmeans() { simple_mat mat = smread_bmp("/h...
21
74
0.526984
ljm941004
1d2f49d7ccad83b29ff154d2ec3e3724682ee789
2,747
cc
C++
cxx/test/date_format.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
10
2018-03-03T02:02:19.000Z
2020-04-02T22:47:55.000Z
cxx/test/date_format.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
13
2018-01-28T15:20:55.000Z
2022-01-27T23:32:41.000Z
cxx/test/date_format.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
null
null
null
#include "ora.hh" #include "gtest/gtest.h" using namespace ora; using namespace ora::ez; using std::string; //------------------------------------------------------------------------------ TEST(DateFormat, date) { auto const date = 2013/AUG/7; EXPECT_EQ("2013-08-07", DateFormat("%Y-%m-%d")(date)); EXPECT_EQ("...
41
80
0.702585
alexhsamuel
1d301d97a631e466b66129d3cb1d4a42377fc79c
443
cpp
C++
InterviewBit/Pick_from_both_sides!.cpp
AniketTewari/Hacktoberfest-2021
28bc1abb0277010d535ada332fa71c0deca32cf2
[ "MIT" ]
1
2022-02-22T17:13:54.000Z
2022-02-22T17:13:54.000Z
InterviewBit/Pick_from_both_sides!.cpp
AniketTewari/Hacktoberfest-2021
28bc1abb0277010d535ada332fa71c0deca32cf2
[ "MIT" ]
11
2022-01-24T20:42:11.000Z
2022-02-27T23:58:24.000Z
InterviewBit/Pick_from_both_sides!.cpp
AniketTewari/Hacktoberfest-2021
28bc1abb0277010d535ada332fa71c0deca32cf2
[ "MIT" ]
null
null
null
// https://www.interviewbit.com/problems/pick-from-both-sides/ // 0(N) Time O(1) Space int Solution::solve(vector<int> &A, int B) { int sum = 0, ans = 0; for( int i = 0 ; i < B; i++) sum += A[i]; int left = B-1, right = A.size()-1; ans = sum; while( left >= 0){ ...
19.26087
62
0.453725
AniketTewari
1d30fcb745801cb101c9042677e11ac6e743ccbb
1,478
cpp
C++
PhysicsComponent.cpp
demonrifle/Custom-Game-Shell
dcfe1f6ee09127c744a134a92739c38f67e4a609
[ "MIT" ]
null
null
null
PhysicsComponent.cpp
demonrifle/Custom-Game-Shell
dcfe1f6ee09127c744a134a92739c38f67e4a609
[ "MIT" ]
null
null
null
PhysicsComponent.cpp
demonrifle/Custom-Game-Shell
dcfe1f6ee09127c744a134a92739c38f67e4a609
[ "MIT" ]
null
null
null
/* Author : w17012919 The PhysicsComponent Class holds Velocity and Rotation speeds and transforms the parent GameObject according to them */ #include "PhysicsComponent.h" #include "GameObject.h" /* Parameterized constructor */ PhysicsComponent::PhysicsComponent(Vector2D mVelocity, float mRotation) { //Set Componen...
20.246575
82
0.766576
demonrifle
1d365a596cc68bbcce34bb1c0106ba58afb81c7a
2,745
cpp
C++
SYCL/Basic/event.cpp
asidoren-intel/llvm-test-suite
93d8391573adfc19b759f971e1269a245be4b87a
[ "Apache-2.0" ]
null
null
null
SYCL/Basic/event.cpp
asidoren-intel/llvm-test-suite
93d8391573adfc19b759f971e1269a245be4b87a
[ "Apache-2.0" ]
null
null
null
SYCL/Basic/event.cpp
asidoren-intel/llvm-test-suite
93d8391573adfc19b759f971e1269a245be4b87a
[ "Apache-2.0" ]
null
null
null
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %HOST_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out //==--------------- event.cpp - SYCL event test ----------------------------==// // // Part of the LLVM Project, under the Apache License v2.0 wi...
30.842697
80
0.576321
asidoren-intel
1d38be2ca9cddcc56000cf9f5b233dd62f669678
2,031
cpp
C++
all/native/styles/PointStyleBuilder.cpp
JianYT/mobile-sdk
1835603e6cb7994222fea681928dc90055816628
[ "BSD-3-Clause" ]
155
2016-10-20T08:39:13.000Z
2022-02-27T14:08:32.000Z
all/native/styles/PointStyleBuilder.cpp
JianYT/mobile-sdk
1835603e6cb7994222fea681928dc90055816628
[ "BSD-3-Clause" ]
448
2016-10-20T12:33:06.000Z
2022-03-22T14:42:58.000Z
all/native/styles/PointStyleBuilder.cpp
JianYT/mobile-sdk
1835603e6cb7994222fea681928dc90055816628
[ "BSD-3-Clause" ]
64
2016-12-05T16:04:31.000Z
2022-02-07T09:36:22.000Z
#include "PointStyleBuilder.h" #include "assets/DefaultPointPNG.h" #include "components/Exceptions.h" #include "graphics/Bitmap.h" #include "styles/PointStyle.h" namespace carto { PointStyleBuilder::PointStyleBuilder() : StyleBuilder(), _bitmap(GetDefaultBitmap()), _clickSize(-1), ...
28.605634
100
0.634663
JianYT
1d4673d26439965afa8b6875dc51a826203a3855
7,870
cpp
C++
test/fx/parser/yaml_to_json/yaml_to_json_test.cpp
jathu/fx
2ab96b8b47da16ad980bf7422e211cc1f773bf6d
[ "Apache-2.0" ]
14
2022-02-09T02:57:54.000Z
2022-03-11T08:18:27.000Z
test/fx/parser/yaml_to_json/yaml_to_json_test.cpp
jathu/fx
2ab96b8b47da16ad980bf7422e211cc1f773bf6d
[ "Apache-2.0" ]
null
null
null
test/fx/parser/yaml_to_json/yaml_to_json_test.cpp
jathu/fx
2ab96b8b47da16ad980bf7422e211cc1f773bf6d
[ "Apache-2.0" ]
1
2022-02-13T16:09:18.000Z
2022-02-13T16:09:18.000Z
#include "fx/parser/yaml_to_json/yaml_to_json.hpp" #include <gtest/gtest.h> #include <yaml-cpp/yaml.h> #include <nlohmann/json.hpp> #include <variant> #include "fx/result/result.hpp" // Convert --------------------------------------------------------------------- struct Convert : testing::Test { void static expect_...
23.492537
80
0.598094
jathu
1d4b4db5d3182ad143fc5eec11950c399041de71
1,164
cpp
C++
CPlusPlus-Class/04 - Exercice 2 - Class - Point/04 - Exercice 2 - Class - Point.cpp
StudioAlbert/SAE921-GRP4100-CPlusPlus-Class
f90b82ab625d5d59201be5240fd02141badeae76
[ "MIT" ]
null
null
null
CPlusPlus-Class/04 - Exercice 2 - Class - Point/04 - Exercice 2 - Class - Point.cpp
StudioAlbert/SAE921-GRP4100-CPlusPlus-Class
f90b82ab625d5d59201be5240fd02141badeae76
[ "MIT" ]
null
null
null
CPlusPlus-Class/04 - Exercice 2 - Class - Point/04 - Exercice 2 - Class - Point.cpp
StudioAlbert/SAE921-GRP4100-CPlusPlus-Class
f90b82ab625d5d59201be5240fd02141badeae76
[ "MIT" ]
null
null
null
#include <iostream> #include "Point.h" int main() { Point monPoint(0, 0); monPoint.saisir(); std::cout << std::endl; // Distance entre 2 points -------------------------------------------------------------------- Point ptDistance; std::cout << "Vous allez saisir un nouveau point pour en calculer la distance"...
25.304348
110
0.554983
StudioAlbert
1d4d33f8f6866969e7a9ba28edeb6cbd6124b212
1,513
cpp
C++
src/aoc/aoc_font.cpp
dholmes215/adventofcode-cpp
2a0ce43c51ec3beccc56fb48bf91de070e6ca136
[ "BSL-1.0" ]
null
null
null
src/aoc/aoc_font.cpp
dholmes215/adventofcode-cpp
2a0ce43c51ec3beccc56fb48bf91de070e6ca136
[ "BSL-1.0" ]
null
null
null
src/aoc/aoc_font.cpp
dholmes215/adventofcode-cpp
2a0ce43c51ec3beccc56fb48bf91de070e6ca136
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2020-2021 David Holmes (dholmes at dholmes dot us) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "aoc.hpp" #include "aoc_font.hpp" #include "aoc_range.hpp" #include <array> #in...
15.597938
79
0.555849
dholmes215
1d4e99d8306f878862c4f24f8595cf4eb121b0ad
3,719
cc
C++
test/harness.cc
nmtrmail/cascade
82d831da7b4259f476d77f27d7f1048538d1270c
[ "BSD-2-Clause" ]
null
null
null
test/harness.cc
nmtrmail/cascade
82d831da7b4259f476d77f27d7f1048538d1270c
[ "BSD-2-Clause" ]
null
null
null
test/harness.cc
nmtrmail/cascade
82d831da7b4259f476d77f27d7f1048538d1270c
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2017-2019 VMware, Inc. // SPDX-License-Identifier: BSD-2-Clause // // The BSD-2 license (the License) set forth below applies to all parts of the // Cascade project. You may not use this file except in compliance with the // License. // // BSD-2 License // // Redistribution and use in source and binary fo...
29.515873
86
0.695617
nmtrmail
1d4ea8b2993cab87ff4cc4bf51c1e383db0913a4
2,129
cc
C++
whale/src/dbi/arm64/inline_hook_arm64.cc
QiYueColdRain/whale
ab62303c8146d7a79f89c7b26a6625cbcf65b0f9
[ "Apache-2.0" ]
1,333
2019-01-27T03:46:51.000Z
2022-03-31T05:28:23.000Z
whale/src/dbi/arm64/inline_hook_arm64.cc
QiYueColdRain/whale
ab62303c8146d7a79f89c7b26a6625cbcf65b0f9
[ "Apache-2.0" ]
59
2019-02-01T09:57:25.000Z
2022-03-09T09:40:33.000Z
whale/src/dbi/arm64/inline_hook_arm64.cc
QiYueColdRain/whale
ab62303c8146d7a79f89c7b26a6625cbcf65b0f9
[ "Apache-2.0" ]
309
2019-01-29T11:41:14.000Z
2022-03-31T06:10:38.000Z
#include <sys/mman.h> #include "platform/memory.h" #include "dbi/arm64/inline_hook_arm64.h" #include "dbi/arm64/registers_arm64.h" #include "dbi/arm64/instruction_rewriter_arm64.h" #include "assembler/vixl/aarch64/macro-assembler-aarch64.h" #include "base/align.h" #include "base/logging.h" #define __ masm. namespace ...
27.294872
82
0.678722
QiYueColdRain
1d56a2404815b16adee9fc15a8c1d3f8028d0b53
1,203
cpp
C++
Day 29/ccc.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
Day 29/ccc.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
Day 29/ccc.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define for0(i, n) for (int i = 0; i < (int)(n); ++i) #define for1(i, n) for (int i = 1; i <= (int)(n); ++i) #define forc(i, l, r) for (int i = (int)(l); i <= (int)(r); ++i) #define forr0(i, n) for (int i = (int)(n) - 1; i >= 0; --i) #define forr1(i, n) for (int i = (int)(n); i >= 1; --i) usi...
22.277778
64
0.485453
tushar-nath
1d5abdf738a999fc273aa8cff09525acadd7c6c1
11,859
cpp
C++
include/KVSMLObjectKunPoint.cpp
zkbreeze/KunPBR
9f545a4e589998691b469bbcadb65a63ac826ebd
[ "BSD-3-Clause" ]
null
null
null
include/KVSMLObjectKunPoint.cpp
zkbreeze/KunPBR
9f545a4e589998691b469bbcadb65a63ac826ebd
[ "BSD-3-Clause" ]
null
null
null
include/KVSMLObjectKunPoint.cpp
zkbreeze/KunPBR
9f545a4e589998691b469bbcadb65a63ac826ebd
[ "BSD-3-Clause" ]
null
null
null
// // KVSMLObjectKunPoint.cpp // // // Created by Kun Zhao on 2014-10-03 11:22:45. // // #include "KVSMLObjectKunPoint.h" #include <Core/FileFormat/KVSML/DataReader.h> #include <Core/FileFormat/KVSML/DataWriter.h> #include <Core/FileFormat/KVSML/PointObjectTag.h> #include <Core/FileFormat/KVSML/VertexTag.h> #include...
29.137592
104
0.53588
zkbreeze
1d60a1a0667ccc31b024aa12fd160e540e9039ee
696
cpp
C++
TAD_pilha_main.cpp
costadev00/ED2_UFU
2fea18870793c773be5cdc949fe36c59c8bea75d
[ "MIT" ]
1
2021-03-19T04:33:37.000Z
2021-03-19T04:33:37.000Z
TAD_pilha_main.cpp
costadev00/ED2_UFU
2fea18870793c773be5cdc949fe36c59c8bea75d
[ "MIT" ]
null
null
null
TAD_pilha_main.cpp
costadev00/ED2_UFU
2fea18870793c773be5cdc949fe36c59c8bea75d
[ "MIT" ]
null
null
null
/* */ #include <bits/stdc++.h> using namespace std; #include "TAD_pilha.cpp" void binario(int n) { int bin[8000]; int aux; for (aux = 7; aux >= 0; aux--) { if (n % 2 == 0) bin[aux] = 0; else bin[aux] = 1; n = n / 2; } for (aux = 0; aux < 8; aux...
15.818182
90
0.406609
costadev00
1d6264051905f87868ade05424992c246a89db1a
911
hpp
C++
AbstractHardware/Timer/delaytimer.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
AbstractHardware/Timer/delaytimer.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
AbstractHardware/Timer/delaytimer.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
// Filename: delaytimer.hpp // Created by by Sergey Kolody aka Lamerok on 12.03.2020. // // Copyright (c) 2020 Sergey Kolody All rights reserved. #ifndef REGISTERS_DELAYTIMER_HPP #define REGISTERS_DELAYTIMER_HPP #include <chrono> // for std::chrono::microseconds #include "susudefs.hpp" //for __forceinline template<...
29.387097
101
0.74753
snorkysnark
1d62c551223bb3cfe80d7d5a57bb66ee61e0f380
466
hpp
C++
libs/core/render/include/bksge/core/render/d3d12/detail/fwd/hlsl_texture_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/d3d12/detail/fwd/hlsl_texture_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/d3d12/detail/fwd/hlsl_texture_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file hlsl_texture_fwd.hpp * * @brief HlslTexture クラスの前方宣言 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_D3D12_DETAIL_FWD_HLSL_TEXTURE_FWD_HPP #define BKSGE_CORE_RENDER_D3D12_DETAIL_FWD_HLSL_TEXTURE_FWD_HPP namespace bksge { namespace render { namespace d3d12 { class HlslTextur...
15.533333
66
0.740343
myoukaku
1d6612134cf75bf6eeb047aac23785c6018e466f
102,019
cpp
C++
src/game/client/cstrike/c_cs_player.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
null
null
null
src/game/client/cstrike/c_cs_player.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
null
null
null
src/game/client/cstrike/c_cs_player.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
null
null
null
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "c_cs_player.h" #include "c_user_message_register.h" #include "view.h" #include "iclientvehicle.h" #include "iview...
28.999147
239
0.688538
DeadZoneLuna
1d6713fed4021a4ae9086760750f36d2a3f5d533
10,662
hpp
C++
clustered_freq_index.hpp
jermp/clustered_elias_fano_indexes
545323c40a503cc8a61e0a765843a9edcbdd217d
[ "Apache-2.0" ]
12
2017-09-03T04:14:14.000Z
2022-03-18T17:45:48.000Z
clustered_freq_index.hpp
jermp/clustered_elias_fano_indexes
545323c40a503cc8a61e0a765843a9edcbdd217d
[ "Apache-2.0" ]
null
null
null
clustered_freq_index.hpp
jermp/clustered_elias_fano_indexes
545323c40a503cc8a61e0a765843a9edcbdd217d
[ "Apache-2.0" ]
4
2017-12-16T06:12:13.000Z
2022-03-20T09:52:11.000Z
#pragma once #include "bitvector_collection.hpp" #include "compact_elias_fano.hpp" #include "integer_codes.hpp" #include "global_parameters.hpp" #include "configuration.hpp" #include "clustered_sequence.hpp" #include "util.hpp" #include <unordered_set> namespace ds2i { template <typename FreqsSequence> class...
33.955414
91
0.487807
jermp
1d6a12d30de031e11e53c7c12703d35878856565
27,732
hpp
C++
include/recompression/parallel_ls_recompression.hpp
christopherosthues/recompression
1932cc5aa77a533d9994dbe0c80dbb889a4d25ec
[ "ECL-2.0", "Apache-2.0" ]
5
2019-07-18T12:48:14.000Z
2022-01-04T13:54:13.000Z
include/recompression/parallel_ls_recompression.hpp
christopherosthues/recompression
1932cc5aa77a533d9994dbe0c80dbb889a4d25ec
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/recompression/parallel_ls_recompression.hpp
christopherosthues/recompression
1932cc5aa77a533d9994dbe0c80dbb889a4d25ec
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#pragma once #include <omp.h> #include <parallel/algorithm> #include <algorithm> #include <chrono> #include <iostream> #include <random> #include <string> #include <thread> #include <tuple> #include <utility> #include <vector> #include <ips4o.hpp> #include "parallel_rnd_recompression.hpp" #include "defs.hpp" #incl...
38.463245
129
0.536456
christopherosthues
1d6a665ec8661e28988cfeff6c9a9a07c6042ea4
1,595
hpp
C++
src/gltf/v2/gltf.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/gltf/v2/gltf.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/gltf/v2/gltf.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
#pragma once #include "gltf/v2/asset.hpp" #include "gltf/v2/accessor.hpp" #include "gltf/v2/animation.hpp" #include "gltf/v2/buffer.hpp" #include "gltf/v2/bufferview.hpp" #include "gltf/v2/camera.hpp" #include "gltf/v2/image.hpp" #include "gltf/v2/material.hpp" #include "gltf/v2/mesh.hpp" #include "gltf/v2/sampler.hpp"...
25.725806
73
0.69279
degarashi
1d6c345bf011be747d802757db44e9feea975267
439
cpp
C++
Tutorials/T01_Particles/SUI_Demo_Particles.cpp
Row64/GPU-Script
67c356becce138920acf25f1577ab36ededab534
[ "MIT" ]
2
2021-02-05T05:30:23.000Z
2021-02-05T05:30:26.000Z
Tutorials/T01_Particles/SUI_Demo_Particles.cpp
Row64/GPU-Script
67c356becce138920acf25f1577ab36ededab534
[ "MIT" ]
null
null
null
Tutorials/T01_Particles/SUI_Demo_Particles.cpp
Row64/GPU-Script
67c356becce138920acf25f1577ab36ededab534
[ "MIT" ]
null
null
null
#ifndef SUI_DEMO_PARTICLES_CPP #define SUI_DEMO_PARTICLES_CPP #include "c_PipelineManager.h" namespace AppCore { ParticlesSUI::ParticlesSUI( PipelineManager &parent ) : SUI_PipelineBase( parent ) { Parameters.shader_vert_path = "Shaders/particles.vert.spv"; Parameters.shader_frag_pat...
23.105263
67
0.712984
Row64
1d6c74100623a395dd1902070908221b94f7a8e5
550
cpp
C++
InterviewBit/Math/Palindrome Integer.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
InterviewBit/Math/Palindrome Integer.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
InterviewBit/Math/Palindrome Integer.cpp
sankalpmittal1911-BitSian/Competitive-Coding
eac5b4f465083e27496a0711a527d67ab657a35c
[ "MIT" ]
null
null
null
/*Determine whether an integer is a palindrome. Do this without extra space. A palindrome integer is an integer x for which reverse(x) = x where reverse(x) is x with its digit reversed. Negative numbers are not palindromic. Example : Input : 12121 Output : True Input : 123 Output : False*/ bool Solution::isPalindr...
18.965517
108
0.621818
sankalpmittal1911-BitSian
1d741e187278f19b16285b8db0ad33a142aa3b00
1,368
hpp
C++
include/boost/simd/function/rem_2pi.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/rem_2pi.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/rem_2pi.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
24.428571
100
0.59576
yaeldarmon
1d75269b9c628abf7ae0bd0a8e21a285a185975f
9,159
cpp
C++
Code/Source/Cesium/Gltf/GltfModelBuilder.cpp
CesiumGS/cesium-o3de
b4e682df0131256c08ec5680397abfbfcb89f4b0
[ "Apache-2.0" ]
23
2022-01-14T16:20:16.000Z
2022-03-24T07:41:55.000Z
Code/Source/Cesium/Gltf/GltfModelBuilder.cpp
CesiumGS/cesium-o3de
b4e682df0131256c08ec5680397abfbfcb89f4b0
[ "Apache-2.0" ]
12
2022-01-21T18:34:26.000Z
2022-03-28T16:03:35.000Z
Code/Source/Cesium/Gltf/GltfModelBuilder.cpp
CesiumGS/cesium-o3de
b4e682df0131256c08ec5680397abfbfcb89f4b0
[ "Apache-2.0" ]
4
2022-02-08T15:17:08.000Z
2022-03-23T04:45:20.000Z
#include "Cesium/Gltf/GltfModelBuilder.h" #include "Cesium/Gltf/GltfPrimitiveBuilder.h" #include "Cesium/Gltf/GltfLoadContext.h" #include "Cesium/Systems/GenericIOManager.h" #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/quaternion.hpp> // Window 10 wingdi.h header defines OPAQUE macro which mess up with Ce...
36.783133
136
0.591768
CesiumGS
1d775fc20c7b57fdca2b9df84ee5efbf92ce74c1
10,916
hpp
C++
include/termox/widget/widgets/banner.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
include/termox/widget/widgets/banner.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
include/termox/widget/widgets/banner.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#ifndef TERMOX_WIDGET_WIDGETS_BANNER_HPP #define TERMOX_WIDGET_WIDGETS_BANNER_HPP #include <chrono> #include <cstddef> #include <memory> #include <optional> #include <utility> #include <vector> #include <signals_light/signal.hpp> #include <termox/painter/glyph_string.hpp> #include <termox/painter/painter.hpp> #includ...
27.496222
80
0.655918
a-n-t-h-o-n-y
1d7e0c7627a7206f38847311a991df77a45f20c5
1,279
hpp
C++
cpp/godot-cpp/include/gen/VisualScriptBasicTypeConstant.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/include/gen/VisualScriptBasicTypeConstant.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/include/gen/VisualScriptBasicTypeConstant.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#ifndef GODOT_CPP_VISUALSCRIPTBASICTYPECONSTANT_HPP #define GODOT_CPP_VISUALSCRIPTBASICTYPECONSTANT_HPP #include <gdnative_api_struct.gen.h> #include <stdint.h> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include "Variant.hpp" #include "VisualScriptNode.hpp" namespace godot { class VisualScriptBasicTyp...
26.645833
245
0.799062
GDNative-Gradle
1d7e159af87a3b98774ac2c2602e6d57dfdcd9f1
7,279
cpp
C++
type.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
1
2017-03-19T21:43:42.000Z
2017-03-19T21:43:42.000Z
type.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
null
null
null
type.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
null
null
null
#include "type.hpp" #include <vector> #include <sstream> #include "ast.hpp" #include "tool.hpp" #include "maybe.hpp" #include "package.hpp" #include "unify.hpp" #include "substitution.hpp" namespace type { static const auto make_constant = [](const char* name, kind::any k=kind::term()) { return make_ref<con...
23.710098
84
0.534551
maxime-tournier
1d7e6b79766afbd3d20349bbf955db50c8846490
1,396
cpp
C++
AtCoder/abc151/C.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
AtCoder/abc151/C.cpp
iamsuryakant/competitive-programming
413000f5bc4a627407e1335c35dcdbee516e8cc1
[ "MIT" ]
null
null
null
AtCoder/abc151/C.cpp
iamsuryakant/competitive-programming
413000f5bc4a627407e1335c35dcdbee516e8cc1
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
/**************************************************** * Template for coding contests * * Author : Sanjeev Sharma * * Email : thedevelopersanjeev@gmail.com * *****************************************************/ #pragma GCC optimize ("O3") #pragma GCC opt...
29.083333
97
0.497135
Code-With-Aagam
1d859ba1f9eab144bc8b63e4c22dc343d7671d94
8,950
cpp
C++
Vic2ToHoI4/Source/V2World/Countries/CountryFactory.cpp
icalamesa/Vic2ToHoI4
9b8cef2eacf7229806281f68c34a8aa28b2c0324
[ "MIT" ]
2
2020-12-04T15:27:00.000Z
2021-01-13T18:41:59.000Z
Vic2ToHoI4/Source/V2World/Countries/CountryFactory.cpp
DrDudelsack/Vic2ToHoI4
fec8101fc78fe53d4049e05bb10027514cd4fd4e
[ "MIT" ]
null
null
null
Vic2ToHoI4/Source/V2World/Countries/CountryFactory.cpp
DrDudelsack/Vic2ToHoI4
fec8101fc78fe53d4049e05bb10027514cd4fd4e
[ "MIT" ]
null
null
null
#include "CountryFactory.h" #include "CommonRegexes.h" #include "Log.h" #include "ParserHelpers.h" #include "StringUtils.h" #include "V2World/Culture/CultureGroupsFactory.h" #include "V2World/Military/Leaders/TraitsFactory.h" #include "V2World/Technology/InventionsFactory.h" #include <cmath> #include <sstream> Vic2:...
35.23622
117
0.722011
icalamesa
1d8e069cfeadc724c2c6406201e2dda0830eced0
3,037
cpp
C++
tst/segment_test.cpp
alsbraga/polygons
f420e907817d1ccf2dd5d701aec9853f1a3097eb
[ "MIT" ]
null
null
null
tst/segment_test.cpp
alsbraga/polygons
f420e907817d1ccf2dd5d701aec9853f1a3097eb
[ "MIT" ]
null
null
null
tst/segment_test.cpp
alsbraga/polygons
f420e907817d1ccf2dd5d701aec9853f1a3097eb
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <Segment.hpp> using namespace asordi::polygons; TEST_CASE("Segment creation", "[segment]") { const Point a(6, 5); const Point b(5, 5); Segment s(a, b); CHECK(s.p0 == a); CHECK(s.p1 == b); } TEST_CASE("Segment parallels", "[segment]") { CHECK(Segment(Point(...
56.240741
146
0.646362
alsbraga
1d8f03fcb0242f5baf897f647a1d1debd94f749a
3,459
cpp
C++
DarkMessiah/Source/DarkMessiah/CharacterAI.cpp
SynysterRev/DarkMessiah
3c5fe7e06cd26965eb2749db2ebf149c39c7d0f7
[ "MIT" ]
2
2020-04-24T14:16:28.000Z
2020-04-24T14:16:50.000Z
DarkMessiah/Source/DarkMessiah/CharacterAI.cpp
SynysterRev/DarkMessiah
3c5fe7e06cd26965eb2749db2ebf149c39c7d0f7
[ "MIT" ]
null
null
null
DarkMessiah/Source/DarkMessiah/CharacterAI.cpp
SynysterRev/DarkMessiah
3c5fe7e06cd26965eb2749db2ebf149c39c7d0f7
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "CharacterAI.h" #include "GameFramework/CharacterMovementComponent.h" #include "Components/CapsuleComponent.h" #include "Components/SkeletalMeshComponent.h" #include "Helpers/HelperLibrary.h" #include "PhysicsEngine/PhysicsConstra...
29.067227
152
0.769008
SynysterRev
1d90164e6be04fe5a26f87917fdeca7f5e3ad30e
18,584
cpp
C++
src/Editor/WorldEditor/CInstancesModel.cpp
aprilwade/PrimeWorldEditor
28e82947eeb400b2641e27a1aa89e82a29ce6c2b
[ "MIT" ]
null
null
null
src/Editor/WorldEditor/CInstancesModel.cpp
aprilwade/PrimeWorldEditor
28e82947eeb400b2641e27a1aa89e82a29ce6c2b
[ "MIT" ]
null
null
null
src/Editor/WorldEditor/CInstancesModel.cpp
aprilwade/PrimeWorldEditor
28e82947eeb400b2641e27a1aa89e82a29ce6c2b
[ "MIT" ]
null
null
null
#include "CInstancesModel.h" #include "Editor/UICommon.h" #include <Core/Resource/Script/CScriptLayer.h> #include <Core/Resource/Script/NGameList.h> #include <Core/Scene/CScriptNode.h> #include <QApplication> #include <QIcon> /* * The tree has 3 levels: * 1. Node Type (Script Object, Light, World Mesh, etc) - repres...
31.445008
150
0.598149
aprilwade