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
d6c74a92210f9b00f7379014e0e31f8784c84cf0
316
cpp
C++
Others/timer.cpp
landcelita/algorithm
544736df6b3cbe20ec58d44d81fe9372b8acd93e
[ "CC0-1.0" ]
197
2018-08-19T06:49:14.000Z
2022-03-26T04:11:48.000Z
Others/timer.cpp
landcelita/algorithm
544736df6b3cbe20ec58d44d81fe9372b8acd93e
[ "CC0-1.0" ]
null
null
null
Others/timer.cpp
landcelita/algorithm
544736df6b3cbe20ec58d44d81fe9372b8acd93e
[ "CC0-1.0" ]
15
2018-09-14T09:15:12.000Z
2021-11-16T12:43:43.000Z
#include <iostream> #include <sys/time.h> using namespace std; double getTime() { struct timeval s; gettimeofday(&s, NULL); return s.tv_sec + s.tv_usec * 1e-6; } int main() { auto s = getTime(); for (int i = 0; i < 1000000000; ++i) { } auto t = getTime(); cout << t - s << endl; }
16.631579
42
0.556962
landcelita
d6cd02017375e48080066243c8cb90c73663c198
3,803
cpp
C++
flashlight/distributed/FileStore.cpp
danthe3rd/flashlight
15e453d0aee045afb5d40f4e8af0557ed8b15107
[ "BSD-3-Clause" ]
1
2020-07-21T17:54:51.000Z
2020-07-21T17:54:51.000Z
flashlight/distributed/FileStore.cpp
awesomemachinelearning/flashlight
b0e89196ac9b0058f3b1e9dd3ff9373ea8004f2e
[ "BSD-3-Clause" ]
null
null
null
flashlight/distributed/FileStore.cpp
awesomemachinelearning/flashlight
b0e89196ac9b0058f3b1e9dd3ff9373ea8004f2e
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "flashlight/distributed/FileStore.h" #include <fcntl.h> #include <unistd.h> #include <fstr...
26.047945
78
0.650276
danthe3rd
d6cefc34621d0ab06ddf37cf837a4e8225a10233
6,920
hpp
C++
packages/monte_carlo/active_region/core/src/MonteCarlo_IndependentPhaseSpaceDimensionDistribution.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/active_region/core/src/MonteCarlo_IndependentPhaseSpaceDimensionDistribution.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/active_region/core/src/MonteCarlo_IndependentPhaseSpaceDimensionDistribution.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_IndependentPhaseSpaceDimensionDistribution.hpp //! \author Alex Robinson //! \brief Independent phase space dimension distribution class declaration //! //---------------------------------------------------------...
41.939394
137
0.73526
bam241
d6cf2549cf8cfaa6aa5d9f54602f9f7b4996f36a
5,126
cc
C++
test/http_client_test.cc
chengchenwish/evpp
750f87eb7c0f0313c85e280f41ba0f424ad455ce
[ "BSD-3-Clause" ]
3,189
2017-03-04T02:56:39.000Z
2022-03-31T16:06:08.000Z
test/http_client_test.cc
chengchenwish/evpp
750f87eb7c0f0313c85e280f41ba0f424ad455ce
[ "BSD-3-Clause" ]
259
2017-03-07T02:01:25.000Z
2022-03-27T09:16:19.000Z
test/http_client_test.cc
chengchenwish/evpp
750f87eb7c0f0313c85e280f41ba0f424ad455ce
[ "BSD-3-Clause" ]
990
2017-03-06T03:55:43.000Z
2022-03-24T10:50:18.000Z
#include <iostream> #include "test_common.h" #include <stdio.h> #include <stdlib.h> #include <evpp/libevent.h> #include <evpp/timestamp.h> #include <evpp/event_loop_thread.h> #include <evpp/httpc/request.h> #include <evpp/httpc/conn.h> #include <evpp/httpc/response.h> #include "evpp/http/service.h" #include "evpp/...
30.879518
149
0.563207
chengchenwish
d6d0e6daaf1cc033ed7bc232a6d3bc6ecc7c8e8f
7,047
cpp
C++
KxServer/BaseFrame/Communication/TCPClienter.cpp
wyb10a10/KxServer
2a1da418ac5dc8bfc321e5d9391126df35157550
[ "MIT" ]
22
2015-02-10T07:04:27.000Z
2021-10-07T01:39:05.000Z
KxServer/BaseFrame/Communication/TCPClienter.cpp
wyb10a10/KxServer
2a1da418ac5dc8bfc321e5d9391126df35157550
[ "MIT" ]
null
null
null
KxServer/BaseFrame/Communication/TCPClienter.cpp
wyb10a10/KxServer
2a1da418ac5dc8bfc321e5d9391126df35157550
[ "MIT" ]
19
2015-02-10T07:04:28.000Z
2021-07-06T16:20:46.000Z
#include <iostream> #include "TCPClienter.h" #include "CommPool.h" #include "MemPool.h" using namespace std; //1024 * 6 #define BUFF_SIZE 6144 #define MAX_PKGLEN 1<<16 namespace KxServer { char* CTCPClienter::g_RecvBuffer = NULL; CTCPClienter::CTCPClienter(CBaseSocket* sock, ICommunicationPoller* poller) :m_S...
21.550459
87
0.615155
wyb10a10
d6d112e899761d4aae1c2300750e8db0be02f5bc
1,652
cpp
C++
src/main.cpp
fbksd/proceduralrender
635aee89c0e9b22c9f48f876bc1aaa1a2cb88733
[ "MIT" ]
null
null
null
src/main.cpp
fbksd/proceduralrender
635aee89c0e9b22c9f48f876bc1aaa1a2cb88733
[ "MIT" ]
null
null
null
src/main.cpp
fbksd/proceduralrender
635aee89c0e9b22c9f48f876bc1aaa1a2cb88733
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Jonas Deyson * * This software is released under the MIT License. * * You should have received a copy of the MIT License * along with this program. If not, see <https://opensource.org/licenses/MIT> */ #include "server.h" #include "ProceduralRender.h" #include <QCoreApplication> #include ...
28
135
0.700969
fbksd
d6d4ee75a7368a4aad6557b5b329ae6c82941622
666
cc
C++
src/mechanics/aerial_turn_pybind11.cc
kipje13/RLUtilities
eb887b312e33136b27a64516179ea812c366c2fa
[ "MIT" ]
null
null
null
src/mechanics/aerial_turn_pybind11.cc
kipje13/RLUtilities
eb887b312e33136b27a64516179ea812c366c2fa
[ "MIT" ]
null
null
null
src/mechanics/aerial_turn_pybind11.cc
kipje13/RLUtilities
eb887b312e33136b27a64516179ea812c366c2fa
[ "MIT" ]
null
null
null
#include "mechanics/aerial_turn.h" #include <pybind11/pybind11.h> void init_aerialturn(pybind11::module & m) { pybind11::class_<AerialTurn>(m, "AerialTurn") .def(pybind11::init<Car &>()) .def_readwrite("target", &AerialTurn::target) .def_readwrite("eps_phi", &AerialTurn::eps_phi) .def_readwrite...
41.625
62
0.689189
kipje13
d6d6ff4db46dff18a52446903b905c6eb0e0afeb
1,329
hpp
C++
Nacro/SDK/FN_DailyRewardsCurrent_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_DailyRewardsCurrent_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_DailyRewardsCurrent_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function DailyRewardsC...
29.533333
152
0.560572
Milxnor
d6d94841a2663dab9d52824785f99a5d896e9658
1,568
cc
C++
kernel/src/hal/memory/memmap.cc
igarfieldi/Danaos64
f4a2df8de5f214af7a4d18e14790740d2c481c48
[ "Apache-2.0" ]
2
2017-09-16T19:41:14.000Z
2017-11-04T10:41:38.000Z
kernel/src/hal/memory/memmap.cc
igarfieldi/Danaos64
f4a2df8de5f214af7a4d18e14790740d2c481c48
[ "Apache-2.0" ]
null
null
null
kernel/src/hal/memory/memmap.cc
igarfieldi/Danaos64
f4a2df8de5f214af7a4d18e14790740d2c481c48
[ "Apache-2.0" ]
null
null
null
#include "memmap.h" namespace hal { multiboot_memmap::multiboot_memmap(multiboot_tag_mmap &map) : m_map(map) { } multiboot_memmap::entry_type &multiboot_memmap::operator[](size_t i) { return m_map.entries[i]; } const multiboot_memmap::entry_type &multiboot_memmap::operator[](size_t i...
29.584906
107
0.673469
igarfieldi
d6e136bef9b94e4a082e93b00fda6cea7dd4835c
437
cpp
C++
src/tdme/utils/Float.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/utils/Float.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/utils/Float.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/utils/Float.h> #include <string> using std::string; using std::to_string; using std::stof; using std::isnan; using tdme::utils::Float; constexpr float tdme::utils::Float::MAX_VALUE; constexpr float tdme::utils::Float::MIN_VALUE; constexpr float tdme::utils::Float::NaN; constexpr int32_t tdme::utils::...
20.809524
46
0.7254
mahula
d6e602abbca5108a7d3e1acbf17321fc062e623b
560
hpp
C++
src/arch/pico/extmem/spiram.hpp
yocto-8/yocto-8
4911a82f399776731d3030234c731c15593f1910
[ "MIT" ]
22
2021-06-20T21:23:29.000Z
2022-03-26T01:46:10.000Z
src/arch/pico/extmem/spiram.hpp
yocto-8/yocto-8
4911a82f399776731d3030234c731c15593f1910
[ "MIT" ]
2
2021-09-06T12:08:32.000Z
2021-09-06T12:23:55.000Z
src/arch/pico/extmem/spiram.hpp
yocto-8/yocto-8
4911a82f399776731d3030234c731c15593f1910
[ "MIT" ]
1
2021-11-26T08:34:59.000Z
2021-11-26T08:34:59.000Z
#pragma once #include <cstddef> #include <cstdint> #include <span> namespace arch::pico::extmem::spiram { static constexpr int pin_rx = 8, pin_cs = 9, pin_sck = 10, pin_tx = 11; static constexpr std::size_t ram_size = 8 * 1024 * 1024, page_size = 1024, burst_size = 32; void setup(); void select(bool chip_selected)...
25.454545
91
0.742857
yocto-8
d6e9869184799153ed48f35ad1992242a0e949ed
9,168
cpp
C++
src/game.cpp
darkwood101/snake_game
8d768ae8fd7b461f3a82c697f375de711ef7269a
[ "MIT" ]
null
null
null
src/game.cpp
darkwood101/snake_game
8d768ae8fd7b461f3a82c697f375de711ef7269a
[ "MIT" ]
3
2020-12-14T17:16:32.000Z
2020-12-25T23:43:30.000Z
src/game.cpp
darkwood101/snake_game
8d768ae8fd7b461f3a82c697f375de711ef7269a
[ "MIT" ]
1
2021-04-24T05:33:32.000Z
2021-04-24T05:33:32.000Z
#include "game.hpp" #include "globals.hpp" #include <thread> // Game::Game() // Initializes the instance of Game with pointers to Snake, Food, Border, and Text. // Initializes the SDL-related objects. // Initializes other members of the Game class. Game::Game() { screenWidth_ = globals::mapWidth;...
31.077966
167
0.603185
darkwood101
d6eae3eaa7f4ba015d0f26fb78b83c0d0a880521
1,143
cpp
C++
advanced_recursion/replace_character_recursively.cpp
de1401/Coding-Ninjas-Competitive-Programming
c7601ac9f2dcf312e405a26f551d00c89ccfe990
[ "CC0-1.0" ]
19
2020-08-09T11:42:36.000Z
2022-03-10T08:49:00.000Z
advanced_recursion/replace_character_recursively.cpp
de1401/Coding-Ninjas-Competitive-Programming
c7601ac9f2dcf312e405a26f551d00c89ccfe990
[ "CC0-1.0" ]
null
null
null
advanced_recursion/replace_character_recursively.cpp
de1401/Coding-Ninjas-Competitive-Programming
c7601ac9f2dcf312e405a26f551d00c89ccfe990
[ "CC0-1.0" ]
5
2020-10-03T14:01:35.000Z
2022-03-13T14:49:56.000Z
/* Given an input string S and two characters c1 and c2, you need to replace every occurrence of character c1 with character c2 in the given string. Do this recursively. Input Format : Line 1 : Input String S Line 2 : Character c1 and c2 (separated by space) Output Format : Updated string Constraints : 1 <= Length of S...
26.581395
145
0.624672
de1401
d6eae6e067f15e64ae918c0f0c780fd2dd115641
11,673
cpp
C++
ffscript/CommandTree.cpp
VincentPT/xscript
cea6ee9e8c5af87af75188695ffa89080dce49b8
[ "MIT" ]
null
null
null
ffscript/CommandTree.cpp
VincentPT/xscript
cea6ee9e8c5af87af75188695ffa89080dce49b8
[ "MIT" ]
null
null
null
ffscript/CommandTree.cpp
VincentPT/xscript
cea6ee9e8c5af87af75188695ffa89080dce49b8
[ "MIT" ]
1
2019-12-24T22:24:01.000Z
2019-12-24T22:24:01.000Z
/****************************************************************** * File: CommandTree.cpp * Description: implement command unit classes. Instances of these * classes are compiled code of the script. They are * executable. They have main command and sub commands. * The sub...
28.751232
148
0.657586
VincentPT
d6ecabd768bff6108bdf271a79231f010f72086b
3,627
cpp
C++
project/src/transpiler/matchers.cpp
polystat/c2eo
b9f30cd010ee36c4d8827f7909780f462e9b73d6
[ "MIT" ]
12
2021-08-05T12:12:09.000Z
2022-03-08T13:33:53.000Z
project/src/transpiler/matchers.cpp
polystat/c2eo
b9f30cd010ee36c4d8827f7909780f462e9b73d6
[ "MIT" ]
26
2021-08-23T10:25:37.000Z
2022-03-30T12:56:08.000Z
project/src/transpiler/matchers.cpp
polystat/c2eo
b9f30cd010ee36c4d8827f7909780f462e9b73d6
[ "MIT" ]
12
2021-08-17T09:20:07.000Z
2022-03-31T13:37:28.000Z
#include "matchers.h" //============================================================================== //------------------------------------------------------------------------------ // Сопоставитель с определением функции void addFuncDeclMatcher(MatchFinder &finder) { static FuncDeclAnalyzer funcDeclAnalyzer; ...
41.689655
88
0.600772
polystat
d6ef6a7f0008054f7129ebbb2e60c39839f78c01
2,384
hpp
C++
engine/graphics/opengl/OGLBlendState.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
1
2021-03-01T13:17:49.000Z
2021-03-01T13:17:49.000Z
engine/graphics/opengl/OGLBlendState.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
null
null
null
engine/graphics/opengl/OGLBlendState.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
null
null
null
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #ifndef OUZEL_GRAPHICS_OGLBLENDSTATE_HPP #define OUZEL_GRAPHICS_OGLBLENDSTATE_HPP #include "../../core/Setup.h" #if OUZEL_COMPILE_OPENGL #include "OGL.h" #if OUZEL_OPENGLES # include "GLES/gl.h" # include "GLES2/gl2.h" # include "GLES2/gl2ext.h" # i...
30.177215
80
0.663591
taida957789
d6f12ea95eb6434194337e5f658d7e9233f24dcd
107
cpp
C++
cppLib/code/server/Map/Map.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
3
2019-05-14T07:19:59.000Z
2019-05-14T08:08:25.000Z
cppLib/code/server/Map/Map.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
null
null
null
cppLib/code/server/Map/Map.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
1
2018-08-08T07:39:16.000Z
2018-08-08T07:39:16.000Z
#include "Map.h" namespace server { MapInstance::MapInstance() { } MapInstance::~MapInstance() { } }
9.727273
28
0.654206
DrYaling
d6f1398cae1d48577936db89375ffb36ceae93d8
7,766
cpp
C++
src/Macro/MacroCheck.cpp
johnzeng/SimpleCompletor
e54b57242b7e624fea2d240bc50733ab6be72f6d
[ "MIT" ]
1
2016-06-10T05:30:32.000Z
2016-06-10T05:30:32.000Z
src/Macro/MacroCheck.cpp
johnzeng/SimpleCompletor
e54b57242b7e624fea2d240bc50733ab6be72f6d
[ "MIT" ]
1
2016-07-19T02:36:39.000Z
2016-08-12T02:11:51.000Z
src/Macro/MacroCheck.cpp
johnzeng/CppParser
e54b57242b7e624fea2d240bc50733ab6be72f6d
[ "MIT" ]
null
null
null
#include "LexData.h" #include "MacroLex.h" #include "GrammarUtil.h" #include "StringUtil.h" #include "JZLogger.h" #include <unistd.h> using namespace LexUtil; uint32 MacroLex::isMacroSuccess(const LexRecList& logic, bool* ret) { JZFUNC_BEGIN_LOG(); *ret = false; MacroCheckDataStack symStack; MacroCheckDataStack ...
22.316092
105
0.62001
johnzeng
d6f19e2976d1005be0863fbcd0edbd923fb11e87
5,687
cc
C++
src/workload/simplemem/ProcessorTerminal.cc
hkustliqi/SuperSim
7cff887d485b784c99b37b78a7adaedb4fde8da6
[ "Apache-2.0" ]
null
null
null
src/workload/simplemem/ProcessorTerminal.cc
hkustliqi/SuperSim
7cff887d485b784c99b37b78a7adaedb4fde8da6
[ "Apache-2.0" ]
null
null
null
src/workload/simplemem/ProcessorTerminal.cc
hkustliqi/SuperSim
7cff887d485b784c99b37b78a7adaedb4fde8da6
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 Hewlett Packard Enterprise Development LP * * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
31.594444
77
0.699138
hkustliqi
d6fa32e36ed1c015276ea0a2c423b46537aa9303
1,300
cpp
C++
ewk/unittest/utc_blink_ewk_settings_scripts_window_open_set_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
null
null
null
ewk/unittest/utc_blink_ewk_settings_scripts_window_open_set_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
null
null
null
ewk/unittest/utc_blink_ewk_settings_scripts_window_open_set_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 Samsung Electronics. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "utc_blink_ewk_base.h" class utc_blink_ewk_settings_scripts_window_open_set : public utc_blink_ewk_base { }; /** * @brief Positive test case of...
33.333333
82
0.811538
Jabawack
d6fb88cefc4fe05270b76a0f12327618057ccba9
4,924
cc
C++
src/Camera.cc
AnotherHermit/VoxelConeTracing
3c10cd07584fcec805c154abc08cf07838933a66
[ "Beerware" ]
16
2016-08-09T15:25:27.000Z
2021-06-11T21:48:31.000Z
src/Camera.cc
AnotherHermit/VoxelConeTracing
3c10cd07584fcec805c154abc08cf07838933a66
[ "Beerware" ]
null
null
null
src/Camera.cc
AnotherHermit/VoxelConeTracing
3c10cd07584fcec805c154abc08cf07838933a66
[ "Beerware" ]
3
2021-03-22T09:48:29.000Z
2021-07-04T11:14:13.000Z
/////////////////////////////////////// // // Computer Graphics TSBK03 // Conrad Wahlén - conwa099 // /////////////////////////////////////// #include "Camera.h" #include "GL_utilities.h" #include "gtc/matrix_transform.hpp" #include <iostream> // // // CAMERA // // Camera::Camera() { isPaused = true; needUpdat...
22.587156
183
0.667953
AnotherHermit
d90472b09ef744053b67907629c402d96273b34b
9,854
hpp
C++
src/Utilities.hpp
csfoo/contrafold-se
91322024471d430681437c083a09cf1c9ce65e0e
[ "BSD-3-Clause" ]
2
2017-07-23T11:28:23.000Z
2020-10-03T09:32:10.000Z
src/Utilities.hpp
csfoo/contrafold-se
91322024471d430681437c083a09cf1c9ce65e0e
[ "BSD-3-Clause" ]
1
2021-08-24T22:10:03.000Z
2021-08-24T22:10:03.000Z
src/Utilities.hpp
csfoo/contrafold-se
91322024471d430681437c083a09cf1c9ce65e0e
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // Utilities.hpp ////////////////////////////////////////////////////////////////////// #ifndef UTILITIES_HPP #define UTILITIES_HPP #include <algorithm> #include <cerrno> #include <cmath> #include <cstdarg> #include <cstdio> #include <cstdlib> #in...
45.201835
125
0.698498
csfoo
d9112aa3fdcbf3b719a8301475012d28b67bf12b
39,903
cpp
C++
src/snarl_manager.cpp
meredith705/libsnarls
1ebeb57a56a5bcd311055ee79ac008bbfa7b0adf
[ "MIT" ]
null
null
null
src/snarl_manager.cpp
meredith705/libsnarls
1ebeb57a56a5bcd311055ee79ac008bbfa7b0adf
[ "MIT" ]
null
null
null
src/snarl_manager.cpp
meredith705/libsnarls
1ebeb57a56a5bcd311055ee79ac008bbfa7b0adf
[ "MIT" ]
1
2021-10-06T19:09:58.000Z
2021-10-06T19:09:58.000Z
#include "snarls/snarl_manager.hpp" #include "snarls/visit.hpp" #include "snarls/snarl.hpp" #include <vg/io/protobuf_iterator.hpp> #include <vg/io/protobuf_emitter.hpp> #include <list> namespace snarls { using namespace std; using namespace vg; using namespace handlegraph; SnarlManager::SnarlManager(istream& in) :...
36.844875
166
0.589931
meredith705
d9121a56de07094fd4fbca4c6b4e14a02e481be1
1,696
cpp
C++
examples/1_Float/src/ofApp.cpp
moebiussurfing/ofxSurfingAnimators
c7bc2b91a430c6b45c81c827a56fa2115f80f3c4
[ "MIT" ]
2
2020-12-19T10:08:11.000Z
2021-12-28T10:14:10.000Z
examples/1_Float/src/ofApp.cpp
moebiussurfing/ofxSurfingAnimators
c7bc2b91a430c6b45c81c827a56fa2115f80f3c4
[ "MIT" ]
null
null
null
examples/1_Float/src/ofApp.cpp
moebiussurfing/ofxSurfingAnimators
c7bc2b91a430c6b45c81c827a56fa2115f80f3c4
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetFrameRate(60); ofSetCircleResolution(200); animator1_Float.setNameLabel("Radius"); // Optional: set a name animator1_Float.setup(); // Default limits are 0 to 1 //animator1_Float.setup(1, 2); // But you...
22.918919
80
0.534788
moebiussurfing
d9127c061faa09df15748160471efe72344f742f
3,138
cpp
C++
kernel/duckkernel/memory/heap.cpp
erikinkinen/DuckOS
3cfe29e2e27ae4e2f52dbfaa45eaf8bbb281694a
[ "BSD-2-Clause" ]
null
null
null
kernel/duckkernel/memory/heap.cpp
erikinkinen/DuckOS
3cfe29e2e27ae4e2f52dbfaa45eaf8bbb281694a
[ "BSD-2-Clause" ]
null
null
null
kernel/duckkernel/memory/heap.cpp
erikinkinen/DuckOS
3cfe29e2e27ae4e2f52dbfaa45eaf8bbb281694a
[ "BSD-2-Clause" ]
null
null
null
#include <memory/heap.h> #include <memory/pageframe.h> #include <utils/logger.h> Heap Heap::k; void Heap::init() { LOG_DEBUG("Initializing kernel heap..."); first = last = (HeapBlockHeader *)PageFrameAllocator::alloc(); first->size = 4096; first->previous = nullptr; first->next = nullptr; firs...
28.527273
91
0.598789
erikinkinen
d916829ba051d05dd585f940cd5891851a9981fd
548
cpp
C++
test/src/decompressor.test.cpp
hhsdev/huffman-compression
5c538f54a37c5ada3117c92ec70428a01c75d113
[ "MIT" ]
null
null
null
test/src/decompressor.test.cpp
hhsdev/huffman-compression
5c538f54a37c5ada3117c92ec70428a01c75d113
[ "MIT" ]
null
null
null
test/src/decompressor.test.cpp
hhsdev/huffman-compression
5c538f54a37c5ada3117c92ec70428a01c75d113
[ "MIT" ]
null
null
null
#include <string> #include "./decompressor.test.hpp" #include "./tree_reconstruction.hpp" #include "./compressor.hpp" TEST_CASE("Normal decompression usage", "[Decompressor]") { std::string uncompressedString = "Huffman coding is a data compression algorithm"; Compressor c; Decompressor d; c.buildCodeTabl...
26.095238
84
0.744526
hhsdev
d917a2c23fc95b3f133bd5faabaf468801aab1d2
3,066
cpp
C++
LibsExternes/Includes/lzma465/CPP/7zip/Common/MethodProps.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
LibsExternes/Includes/lzma465/CPP/7zip/Common/MethodProps.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
LibsExternes/Includes/lzma465/CPP/7zip/Common/MethodProps.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
// MethodProps.cpp #include "StdAfx.h" #include "../../Common/MyCom.h" #include "../ICoder.h" #include "MethodProps.h" static UInt64 k_LZMA = 0x030101; // static UInt64 k_LZMA2 = 0x030102; HRESULT SetMethodProperties(const CMethod &method, const UInt64 *inSizeForReduce, IUnknown *coder) { bool tr...
30.66
133
0.61546
benkaraban
d917f61deced21a4613fdf559f2d8d646d4d6851
558
hpp
C++
includes/components/transform.hpp
wagnrd/simple-graphics-engine
92e8277a267c364fadecb725ecd4af1b1a753e32
[ "MIT" ]
null
null
null
includes/components/transform.hpp
wagnrd/simple-graphics-engine
92e8277a267c364fadecb725ecd4af1b1a753e32
[ "MIT" ]
null
null
null
includes/components/transform.hpp
wagnrd/simple-graphics-engine
92e8277a267c364fadecb725ecd4af1b1a753e32
[ "MIT" ]
null
null
null
#ifndef SIMPLE_GRAPHICS_ENGINE_TRANSFORM_HPP #define SIMPLE_GRAPHICS_ENGINE_TRANSFORM_HPP #include <utility> #include <glm/vec2.hpp> #include "includes/component.hpp" class Transform: public Component { public: glm::vec2 position{}; float rotation{}; glm::vec2 scale{1, 1}; public: Transform() = defa...
22.32
80
0.68638
wagnrd
d919f5ffd49da20fdd676606aca64514e3775a8c
5,508
cpp
C++
references/cookbook-20201017T073132Z-001/cookbook/compare/tester.cpp
hakatu/kyber90sfpga
91cbba721516634c141292dd62ef4ef05b1d890d
[ "MIT" ]
1
2021-12-09T13:11:07.000Z
2021-12-09T13:11:07.000Z
hdlCoresTparty/cookbook/compare/tester.cpp
waqarnabi/tybec
b69157146a58a195dd7c1856833fcd8f91edfe9f
[ "MIT" ]
null
null
null
hdlCoresTparty/cookbook/compare/tester.cpp
waqarnabi/tybec
b69157146a58a195dd7c1856833fcd8f91edfe9f
[ "MIT" ]
null
null
null
// Copyright 2007 Altera Corporation. All rights reserved. // Altera products are protected under numerous U.S. and foreign patents, // maskwork rights, copyrights and other intellectual property laws. // // This reference design file, and your use thereof, is subject to and governed // by the terms and conditions...
19.394366
80
0.558097
hakatu
d91e771aff61980ebcf447c874dcfa9098bd0ecf
4,116
cc
C++
tests/sound_json_parser_test.cc
kshitijavis/synther
05f2e12b3aa41b2631d15e2565bd147106792a47
[ "MIT" ]
2
2020-12-26T06:50:38.000Z
2021-02-15T00:38:27.000Z
tests/sound_json_parser_test.cc
kshitijavis/synther
05f2e12b3aa41b2631d15e2565bd147106792a47
[ "MIT" ]
1
2020-12-26T06:09:22.000Z
2020-12-26T06:09:22.000Z
tests/sound_json_parser_test.cc
kshitijavis/synther
05f2e12b3aa41b2631d15e2565bd147106792a47
[ "MIT" ]
1
2021-05-03T20:48:56.000Z
2021-05-03T20:48:56.000Z
// // Created by Kshitij Sinha on 11/29/20. // #include "core/sound_json_parser.h" #include <catch2/catch.hpp> #include <fstream> #include <map> #include <string> #include "core/music_note.h" using synther::audio::SoundJsonParser; using synther::music::Accidental; using synther::music::Note; TEST_CASE("Correctly p...
35.482759
79
0.655734
kshitijavis
0ba7488c75f10712ab262e978bbf4670502cde6a
3,603
cpp
C++
src/server/service/bot/agent.cpp
npangunion/wise.kernel
a44f852f5e7ade2c5f95f5d615daaf154bc69468
[ "MIT" ]
1
2020-03-01T04:05:59.000Z
2020-03-01T04:05:59.000Z
src/server/service/bot/agent.cpp
npangunion/wise.kernel
a44f852f5e7ade2c5f95f5d615daaf154bc69468
[ "MIT" ]
null
null
null
src/server/service/bot/agent.cpp
npangunion/wise.kernel
a44f852f5e7ade2c5f95f5d615daaf154bc69468
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "agent.hpp" #include "report.hpp" #include <wise/server/server.hpp> #include <wise/net/network.hpp> #include <wise/net/addr.hpp> #include <wise/server/util/json_helper.hpp> #include <spdlog/fmt/fmt.h> #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_generators.hpp> #include <boost/...
15.872247
68
0.636969
npangunion
0ba7a2ca77d860b139fde096fe18645e80e75bb8
1,851
cpp
C++
widgets/demos/ex-transformination/animationqueue.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
16
2017-01-11T17:28:03.000Z
2021-09-27T16:12:01.000Z
widgets/demos/ex-transformination/animationqueue.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
null
null
null
widgets/demos/ex-transformination/animationqueue.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
4
2017-03-17T02:44:32.000Z
2021-01-22T07:57:34.000Z
/************************************************************************* * * Copyright (c) 2016 The Qt Company * All rights reserved. * * See the LICENSE.txt file shipped along with this file for the license. * *************************************************************************/ #include <QGraphicsScene...
27.220588
99
0.63101
sfaure-witekio
0ba8cea66b50b5ef1ad86235a2b8df365edab254
30,290
cpp
C++
src/1.5/dom/domFx_newparam.cpp
TomDataworks/3p-colladadom
5e37592a81525b94e707a53fb7c0bb17c68fb25e
[ "MIT", "BSL-1.0", "Zlib", "BSD-3-Clause" ]
7
2016-01-08T20:38:51.000Z
2021-03-03T03:54:40.000Z
src/1.5/dom/domFx_newparam.cpp
TomDataworks/3p-colladadom
5e37592a81525b94e707a53fb7c0bb17c68fb25e
[ "MIT", "BSL-1.0", "Zlib", "BSD-3-Clause" ]
null
null
null
src/1.5/dom/domFx_newparam.cpp
TomDataworks/3p-colladadom
5e37592a81525b94e707a53fb7c0bb17c68fb25e
[ "MIT", "BSL-1.0", "Zlib", "BSD-3-Clause" ]
null
null
null
#include <dae.h> #include <dae/daeDom.h> #include <dom/domFx_newparam.h> #include <dae/daeMetaCMPolicy.h> #include <dae/daeMetaSequence.h> #include <dae/daeMetaChoice.h> #include <dae/daeMetaGroup.h> #include <dae/daeMetaAny.h> #include <dae/daeMetaElementAttribute.h> daeElementRef domFx_newparam::create(DAE& dae) { ...
26.710758
75
0.720403
TomDataworks
0ba9c6bf5b33a1c8f9f74b18c4c57e3e1b9062d0
592
cpp
C++
LeetCode/ReverseLinkedList.cpp
Shreyashm16/Competitive-Programming-Solutions
aab4be9d9542fc5c7396c9fdbffea6620ebe3fa3
[ "MIT" ]
null
null
null
LeetCode/ReverseLinkedList.cpp
Shreyashm16/Competitive-Programming-Solutions
aab4be9d9542fc5c7396c9fdbffea6620ebe3fa3
[ "MIT" ]
null
null
null
LeetCode/ReverseLinkedList.cpp
Shreyashm16/Competitive-Programming-Solutions
aab4be9d9542fc5c7396c9fdbffea6620ebe3fa3
[ "MIT" ]
3
2020-10-01T04:08:41.000Z
2020-10-01T15:15:36.000Z
//Time: 4ms (97.96%),Memory: 8.7MB (50.03%) /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class ...
22.769231
62
0.498311
Shreyashm16
0badaf0f6710efd9641a1eb4a9fc61c2137ce1d5
886
cc
C++
src/53_maximum-subarray.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
2
2018-07-28T06:11:30.000Z
2019-01-15T15:16:54.000Z
src/53_maximum-subarray.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
null
null
null
src/53_maximum-subarray.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
null
null
null
// Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. // // Example: // // Input: [-2,1,-3,4,-1,2,1,-5,4], // Output: 6 // Explanation: [4,-1,2,1] has the largest sum = 6. // Follow up: // // If you have figured out the O(n) solution,...
23.315789
139
0.598194
q191201771
0baf302a48d053d7c897eb43c769abb48090aa79
2,178
cpp
C++
LeetCode/234.Palindrome_Linked_List.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
LeetCode/234.Palindrome_Linked_List.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
LeetCode/234.Palindrome_Linked_List.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ // 醜爆 // 反轉左半 class Solution { public: bool isPalindrome(ListNode* head) { ListNode *pp, *p, *cur; int len = 0; if(head == NULL) retu...
25.325581
88
0.35124
w181496
0bb313c8d7290789084caf2fb34adfd085893c89
854,276
cpp
C++
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/UnresolvedVirtualCallStubs.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/UnresolvedVirtualCallStubs.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/UnresolvedVirtualCallStubs.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> // System.Action`1<System.Object> struct Action_1_tD9663D9715FAA4E62035CFCF1AD4D094EE7872DC; // System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Object,System.Runtime....
47.21322
385
0.854422
DreVinciCode
0bb325d08be7b98854648956459128ad189c74bb
2,208
cpp
C++
4. String Algorithms/Programming-Assignment-3/suffix_array_long/suffix_array_long.cpp
theyashmhatre/coursera-ds-algorithms
99e08921c0c0271e66a9aea42e7d38b7df494007
[ "MIT" ]
58
2017-12-24T05:08:58.000Z
2022-01-09T01:00:30.000Z
4. String Algorithms/Programming-Assignment-3/suffix_array_long/suffix_array_long.cpp
theyashmhatre/coursera-ds-algorithms
99e08921c0c0271e66a9aea42e7d38b7df494007
[ "MIT" ]
null
null
null
4. String Algorithms/Programming-Assignment-3/suffix_array_long/suffix_array_long.cpp
theyashmhatre/coursera-ds-algorithms
99e08921c0c0271e66a9aea42e7d38b7df494007
[ "MIT" ]
49
2017-12-07T02:52:46.000Z
2022-02-08T02:49:09.000Z
#include <algorithm> #include <iostream> #include <string> #include <vector> #include <utility> using namespace std; struct suffix { int index; int rank[2]; }; int cmp(suffix a, suffix b) { return (a.rank[0] == b.rank[0]) ? (a.rank[1] < b.rank[1]) : (a.rank[0] < b.rank[0]); } ...
25.674419
79
0.45788
theyashmhatre
0bb61ddd78056b1563e5954df049e6b81ebe792a
938
hpp
C++
ngraph/core/include/ngraph/op/sigmoid.hpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
1
2021-03-16T17:40:26.000Z
2021-03-16T17:40:26.000Z
ngraph/core/include/ngraph/op/sigmoid.hpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
42
2020-11-23T08:09:57.000Z
2022-02-21T13:03:34.000Z
ngraph/core/include/ngraph/op/sigmoid.hpp
tsocha/openvino
3081fac7581933568b496a3c4e744d1cee481619
[ "Apache-2.0" ]
4
2021-04-02T08:48:38.000Z
2021-07-01T06:59:02.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "ngraph/op/op.hpp" #include "ngraph/op/util/binary_elementwise_arithmetic.hpp" #include "ngraph/op/util/unary_elementwise_arithmetic.hpp" #include "ngraph/util.hpp" namespace ngraph { namespace op { namespace...
30.258065
101
0.745203
uikilin100
0bba59ae3eca0260853bde380dc1ca2e6a673684
1,468
cpp
C++
Generic Tree/Generic_Tree_10_Level_Order-4.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
Generic Tree/Generic_Tree_10_Level_Order-4.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
Generic Tree/Generic_Tree_10_Level_Order-4.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Node { int data; vector<Node *> children; }; Node *newNode(int key) { Node *temp = new Node; temp->data = key; return temp; } class Pair { public: Node *node; int level; Pair(Node *node, int level) { this->node = node; ...
16.873563
48
0.409401
compl3xX
0bbb1cdf1407f15b6af9c0e504b7fb38bba85ab4
2,682
hpp
C++
Lexer/include/tokens.hpp
nuua-io/Nuua
d74bec22d09d25f2bc0ced8d7c9a154ff84a874d
[ "MIT" ]
43
2018-11-17T02:08:09.000Z
2022-03-03T14:50:02.000Z
Lexer/include/tokens.hpp
nuua-io/Nuua
d74bec22d09d25f2bc0ced8d7c9a154ff84a874d
[ "MIT" ]
2
2019-08-07T03:16:51.000Z
2021-05-17T03:05:08.000Z
Lexer/include/tokens.hpp
nuua-io/Nuua
d74bec22d09d25f2bc0ced8d7c9a154ff84a874d
[ "MIT" ]
3
2019-01-07T18:43:35.000Z
2021-07-21T12:12:23.000Z
/** * |-------------| * | Nuua Tokens | * |-------------| * * Copyright 2019 Erik Campobadal <soc@erik.cat> * https://nuua.io */ #ifndef TOKEN_HPP #define TOKEN_HPP #include <vector> #include <unordered_map> #include <string> #include <stdint.h> #include "../../Logger/include/logger.hpp" // For the file_t line...
26.294118
119
0.606264
nuua-io
0bbf9238f5f2108f82c698b5626fb7f9f9cbfc1e
684
cpp
C++
_100daysofcoding_/CCI/1.Array & Strings/array_string_1.7.cpp
Sayak9495/100DaysofCoding
97b6cbd8f33667f685ed2626f756760433b8d5f4
[ "MIT" ]
null
null
null
_100daysofcoding_/CCI/1.Array & Strings/array_string_1.7.cpp
Sayak9495/100DaysofCoding
97b6cbd8f33667f685ed2626f756760433b8d5f4
[ "MIT" ]
1
2021-11-15T17:47:39.000Z
2021-11-15T17:47:39.000Z
_100daysofcoding_/CCI/1.Array & Strings/array_string_1.7.cpp
Sayak9495/100DaysofCoding
97b6cbd8f33667f685ed2626f756760433b8d5f4
[ "MIT" ]
null
null
null
//Rotate [nxn] matrix by 90 degree. #include<iostream> using namespace std; int main(){ int n; cin>>n; //create_matrix() int arr[n][n]; cout<<"Enter matrix row wise"<<endl; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ cin>>arr[i][j]; } cout<<endl; } //show_matrix(arr, n); for(int i=0;i<n;i++){ ...
13.68
37
0.52924
Sayak9495
0bc28401ec6098d99791cb9214347233c5952d1f
366
cpp
C++
src/system/terminal_resize_event.cpp
nkoturovic/CPPurses
6dce457b5d4fec6d7f9ad8023cdd9f556874a597
[ "MIT" ]
null
null
null
src/system/terminal_resize_event.cpp
nkoturovic/CPPurses
6dce457b5d4fec6d7f9ad8023cdd9f556874a597
[ "MIT" ]
null
null
null
src/system/terminal_resize_event.cpp
nkoturovic/CPPurses
6dce457b5d4fec6d7f9ad8023cdd9f556874a597
[ "MIT" ]
null
null
null
#include <cppurses/system/events/terminal_resize_event.hpp> #include <stdio.h> #include <sys/ioctl.h> #include <cppurses/system/system.hpp> namespace cppurses { bool Terminal_resize_event::send() const { struct winsize w; ioctl(fileno(stdin), TIOCGWINSZ, &w); System::terminal.resize(w.ws_col, w.ws_row);...
20.333333
59
0.718579
nkoturovic
0bc39f73ddecfcc703c23e68c404bb03d2bef8fd
877
hpp
C++
include/ActionMessage.hpp
mikaelmello/story-based-rpg
bc73c24ad0e41512c3e980ca3aad0fc5738af2f2
[ "Zlib" ]
null
null
null
include/ActionMessage.hpp
mikaelmello/story-based-rpg
bc73c24ad0e41512c3e980ca3aad0fc5738af2f2
[ "Zlib" ]
null
null
null
include/ActionMessage.hpp
mikaelmello/story-based-rpg
bc73c24ad0e41512c3e980ca3aad0fc5738af2f2
[ "Zlib" ]
null
null
null
#ifndef ACTIONMESSAGE_H #define ACTIONMESSAGE_H /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * INCLUDES E DEFINES * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include <memory> #include <string> #include "Component.hpp" #include ...
21.925
80
0.59065
mikaelmello
0bc6f74c47d41724ce16c6c7158c86f1ed7e79ef
12,723
cpp
C++
pxr/usdImaging/lib/usdImaging/indexProxy.cpp
chen2qu/USD
2bbedce05f61f37e7461b0319609f9ceeb91725e
[ "AML" ]
88
2018-07-13T01:22:00.000Z
2022-01-16T22:15:27.000Z
pxr/usdImaging/lib/usdImaging/indexProxy.cpp
chen2qu/USD
2bbedce05f61f37e7461b0319609f9ceeb91725e
[ "AML" ]
1
2022-01-14T21:25:56.000Z
2022-01-14T21:25:56.000Z
pxr/usdImaging/lib/usdImaging/indexProxy.cpp
chen2qu/USD
2bbedce05f61f37e7461b0319609f9ceeb91725e
[ "AML" ]
26
2018-06-06T03:39:22.000Z
2021-08-28T23:02:42.000Z
// // Copyright 2018 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
33.837766
82
0.641201
chen2qu
0bcd1582845d9dccdda7f335476fc4c1fd0eda01
2,111
hpp
C++
gce/actor/detail/acceptor.hpp
nousxiong/gce
722edb8c91efaf16375664d66134ecabb16e1447
[ "BSL-1.0" ]
118
2015-01-24T01:16:46.000Z
2022-03-09T07:31:21.000Z
gce/actor/detail/acceptor.hpp
txwdyzcb/gce
722edb8c91efaf16375664d66134ecabb16e1447
[ "BSL-1.0" ]
1
2015-09-24T13:03:11.000Z
2016-12-24T04:00:59.000Z
gce/actor/detail/acceptor.hpp
txwdyzcb/gce
722edb8c91efaf16375664d66134ecabb16e1447
[ "BSL-1.0" ]
30
2015-03-12T09:21:45.000Z
2021-12-15T01:55:08.000Z
/// /// Copyright (c) 2009-2014 Nous Xiong (348944179 at qq dot com) /// /// 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) /// /// See https://github.com/nousxiong/gce for latest version. /// #ifndef GCE_ACTOR_DET...
21.762887
80
0.725722
nousxiong
0bce158bb13b27e6402c9f77fe36ef6e4e4bfc74
353
cpp
C++
libropium/ropchain/assertion.cpp
Boyan-MILANOV/ropium
16f3a823a7a02856db4dc168bb2816507fa90004
[ "MIT" ]
110
2020-02-09T17:20:47.000Z
2022-03-20T02:39:32.000Z
libropium/ropchain/assertion.cpp
Boyan-MILANOV/ropium
16f3a823a7a02856db4dc168bb2816507fa90004
[ "MIT" ]
15
2020-02-09T10:21:12.000Z
2022-03-16T03:08:44.000Z
libropium/ropchain/assertion.cpp
Boyan-MILANOV/ropium
16f3a823a7a02856db4dc168bb2816507fa90004
[ "MIT" ]
22
2020-02-09T10:38:50.000Z
2021-12-29T20:39:22.000Z
#include "assertion.hpp" #include <algorithm> void ValidPointers::add_valid_pointer(int reg){ _regs.push_back(reg); } bool ValidPointers::is_valid_pointer(int reg){ return std::find(_regs.begin(), _regs.end(), reg) != _regs.end(); } void ValidPointers::clear(){ _regs.clear(); } void Assertion::clear(...
16.045455
69
0.685552
Boyan-MILANOV
0bd0fbcd8944d8dcefb2d2be7ba761e9b0963204
574
hpp
C++
Loyalty/DataModel/Entities/BalanceTxDesc.hpp
uno-labs-solana-hackathon/core-server
fdbdefd32e12fcaa19227f56154e0163c18a35cb
[ "Apache-2.0" ]
null
null
null
Loyalty/DataModel/Entities/BalanceTxDesc.hpp
uno-labs-solana-hackathon/core-server
fdbdefd32e12fcaa19227f56154e0163c18a35cb
[ "Apache-2.0" ]
1
2021-03-06T11:38:01.000Z
2021-03-15T21:33:16.000Z
Loyalty/DataModel/Entities/BalanceTxDesc.hpp
uno-labs-solana-hackathon/core-server
fdbdefd32e12fcaa19227f56154e0163c18a35cb
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Entities_global.hpp" namespace Sol::Loyalty::DataModel { class SOL_LOYALTY_DATA_MODEL_ENTITIES_API BalanceTxDesc final: public GpTypeStructBase { public: CLASS_DECLARE_DEFAULTS(BalanceTxDesc) TYPE_STRUCT_DECLARE("3b78287d-74e8-495b-9411-a656398c3b89"_sv) public: BalanceTxDesc (void)...
22.076923
86
0.766551
uno-labs-solana-hackathon
0bd249b8772591c8edb8cb08208556578fecb0c5
8,239
hpp
C++
astronomy/frames.hpp
qwer640/12
ddb85384030e15c4d35dfb6ba29f8342cf32795d
[ "MIT" ]
1
2020-02-23T21:12:28.000Z
2020-02-23T21:12:28.000Z
astronomy/frames.hpp
qwer640/5678
ddb85384030e15c4d35dfb6ba29f8342cf32795d
[ "MIT" ]
null
null
null
astronomy/frames.hpp
qwer640/5678
ddb85384030e15c4d35dfb6ba29f8342cf32795d
[ "MIT" ]
null
null
null
 #pragma once #include <functional> #include "geometry/frame.hpp" #include "geometry/named_quantities.hpp" #include "quantities/si.hpp" #include "serialization/geometry.pb.h" namespace principia { namespace astronomy { namespace internal_frames { using geometry::Frame; using geometry::Handedness; using geometry::I...
49.63253
80
0.73941
qwer640
0bd6dc94e5d458cccf9cca6abb95afa05673c387
2,150
hpp
C++
libs/core/include/fcppt/math/vector/bit_strings.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/vector/bit_strings.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/vector/bit_strings.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2017. // Copyright Philipp Middendorf 2009 - 2017. // 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) #ifndef FCPPT_MATH_VECTOR_BIT_STRINGS_HPP_IN...
15.693431
61
0.676744
pmiddend
0bd9220ebab83f34c4a9aca17c3bfa41bac37b3b
22,398
cpp
C++
open-backdoor/c2.cpp
computerline1z/open-nettraveler
0caceaf5be2184ebdce5606a48c0d26253e39125
[ "Apache-2.0" ]
16
2017-01-30T06:14:08.000Z
2021-08-30T20:00:15.000Z
open-backdoor/c2.cpp
computerline1z/open-nettraveler
0caceaf5be2184ebdce5606a48c0d26253e39125
[ "Apache-2.0" ]
null
null
null
open-backdoor/c2.cpp
computerline1z/open-nettraveler
0caceaf5be2184ebdce5606a48c0d26253e39125
[ "Apache-2.0" ]
9
2017-05-05T05:32:49.000Z
2021-09-09T12:35:08.000Z
// Copyright 2015 Christian Roggia. All rights reserved. // Use of this source code is governed by an Apache 2.0 license that can be // found in the LICENSE file. #include "c2.hpp" #include <iostream> #include <Wininet.h> #include <time.h> #include "StdAfx.hpp" #include "debug.hpp" #include "3rd-party\base64.h" #ifn...
25.983759
129
0.680507
computerline1z
0bdcbd84f9fbdf1ad730b1a2bb3e11a5bfe4d2f1
204
hh
C++
src/Titon/Intl/locales/sw/locale.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
src/Titon/Intl/locales/sw/locale.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
src/Titon/Intl/locales/sw/locale.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh // Swahili return Map { 'code' => 'sw', 'iso2' => 'sw', 'iso3' => 'swa', 'timezone' => 'Africa/Bujumbura', 'title' => 'Swahili', 'plural' => Titon\Intl\PluralRule::RULE_2 };
17
45
0.504902
ciklon-z
0bdcfdbfd1a92757dd2321b49d38b67983ed6799
2,501
cpp
C++
cpp/ProjectEuler/23/main.cpp
HoppenR/programs
e49781f9cee883c92505f387e83889da472e76cc
[ "MIT" ]
null
null
null
cpp/ProjectEuler/23/main.cpp
HoppenR/programs
e49781f9cee883c92505f387e83889da472e76cc
[ "MIT" ]
null
null
null
cpp/ProjectEuler/23/main.cpp
HoppenR/programs
e49781f9cee883c92505f387e83889da472e76cc
[ "MIT" ]
null
null
null
#include <algorithm> // permutation #include <iostream> #include <numeric> // accumulate #include <set> #include <vector> // TODO: optimize further? // IDEAS: // Every multiple (beyond 1) of a perfect number is abundant. // But there are only 3 perfect numbers in the range // // Every multiple of an abundant number is...
25.01
77
0.646541
HoppenR
0bde9f097b10a4f268e5509e019a82110ad2eab5
5,153
cpp
C++
deviceinfo_helper.cpp
4sbat/EasyCL
3de66441146db30b1783ba7f898a6f76153169dd
[ "MIT" ]
167
2015-05-07T09:26:21.000Z
2022-01-21T02:17:57.000Z
tests/EasyCL/deviceinfo_helper.cpp
lighttransport/rainbowmist
119eb697e5568a94a21ca2d4ebf6e982dafa43c9
[ "MIT" ]
25
2015-05-04T03:23:22.000Z
2018-06-16T19:09:02.000Z
tests/EasyCL/deviceinfo_helper.cpp
lighttransport/rainbowmist
119eb697e5568a94a21ca2d4ebf6e982dafa43c9
[ "MIT" ]
47
2015-05-08T05:22:47.000Z
2021-09-28T07:47:38.000Z
// Copyright Hugh Perkins 2013 hughperkins at gmail // // This Source Code Form is subject to the terms of the Mozilla Public License, // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at http://mozilla.org/MPL/2.0/. #ifdef USE_CLEW #include "clew.h" #endif #include <algorith...
43.669492
193
0.654376
4sbat
0bdf1aaeaba4accd8dd3ee3ed61d2b669913dc53
15,421
cpp
C++
cplus/libcfsec/CFSecSecSessionObj.cpp
msobkow/cfsec_2_13
4f5b2d82d4265e1373955a63bea4d1a9fc35a64e
[ "Apache-2.0" ]
null
null
null
cplus/libcfsec/CFSecSecSessionObj.cpp
msobkow/cfsec_2_13
4f5b2d82d4265e1373955a63bea4d1a9fc35a64e
[ "Apache-2.0" ]
null
null
null
cplus/libcfsec/CFSecSecSessionObj.cpp
msobkow/cfsec_2_13
4f5b2d82d4265e1373955a63bea4d1a9fc35a64e
[ "Apache-2.0" ]
null
null
null
// Description: C++18 base object instance implementation for CFSec SecSession. /* * org.msscf.msscf.CFSec * * Copyright (c) 2020 Mark Stephen Sobkow * * MSS Code Factory CFSec 2.13 Security Essentials * * Copyright 2020-2021 Mark Stephen Sobkow * * This file is part of MSS Code Factory. * * MSS Code ...
31.795876
194
0.71247
msobkow
0be119227b25c9c8ef37fb791142746502ac3b4d
409
hpp
C++
new_entity/SpecialEntity.hpp
sempr-tk/examples
9d77114841afe969f5bfcabee3574ff3345b5735
[ "BSD-3-Clause" ]
null
null
null
new_entity/SpecialEntity.hpp
sempr-tk/examples
9d77114841afe969f5bfcabee3574ff3345b5735
[ "BSD-3-Clause" ]
1
2018-01-26T10:01:38.000Z
2018-01-26T10:01:38.000Z
new_entity/SpecialEntity.hpp
sempr-tk/examples
9d77114841afe969f5bfcabee3574ff3345b5735
[ "BSD-3-Clause" ]
null
null
null
#ifndef SPECIALENTITY_HPP_ #define SPECIALENTITY_HPP_ #include <sempr/entity/Entity.hpp> #include <memory> #pragma db object class SpecialEntity : public sempr::entity::Entity { SEMPR_ENTITY public: using Ptr = std::shared_ptr<SpecialEntity>; SpecialEntity(); SpecialEntity(const sempr::core::IDGenBase...
18.590909
52
0.723716
sempr-tk
0be96bfafa856cb93250d4216aff11a076bb5c05
666
cpp
C++
d19/scanner.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
d19/scanner.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
d19/scanner.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
#ifndef SCANNER_H #define SCANNER_H struct Beacon { int x,y,z; }; class Scanner { public: void add_beacon(Beacon b) { beacons.push_back(b); } vector<Beacon>& get_beacons() { return beacons; } void rotateX(int num) { for(auto& it : beacons) { while(num--){ rotatePt(it.y, it.z); } }...
14.170213
33
0.546547
Immortale-dev
0bf976f6e34a76e21ed7d3a5e70b487e178c4f36
1,246
hpp
C++
foundation/pro/include/pro/utils/string_misc.hpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
14
2018-06-16T04:49:50.000Z
2021-04-10T03:18:40.000Z
foundation/pro/include/pro/utils/string_misc.hpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
null
null
null
foundation/pro/include/pro/utils/string_misc.hpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
7
2018-06-14T10:15:32.000Z
2020-11-06T17:07:09.000Z
/** * @file * @copyright defined in xmax/LICENSE */ #pragma once #include <memory> #include <pro/types/generictypes.hpp> #include <pro/types/any_object.hpp> namespace pro { class ArgsPack : private AnyObject { public: ArgsPack() { } ArgsPack& operator()(const AnyObject::EntityKey& key, const AnyValue...
17.549296
76
0.642857
xleakOfficial
0bf98e681c2afaee1efc237e9e90259be007ea12
3,461
cpp
C++
gui/src/inspector/scriptManagerInspector.cpp
F4r3n/FarenMediaLibrary
3f71054df7178ca79781b101ca2d58cd95a20a43
[ "Apache-2.0" ]
7
2016-09-09T16:43:15.000Z
2021-06-16T22:32:33.000Z
gui/src/inspector/scriptManagerInspector.cpp
F4r3n/FarenMediaLibrary
3f71054df7178ca79781b101ca2d58cd95a20a43
[ "Apache-2.0" ]
null
null
null
gui/src/inspector/scriptManagerInspector.cpp
F4r3n/FarenMediaLibrary
3f71054df7178ca79781b101ca2d58cd95a20a43
[ "Apache-2.0" ]
1
2020-01-05T19:22:32.000Z
2020-01-05T19:22:32.000Z
#include "inspector/scriptManagerInspector.hpp" #include <Components/CScriptManager.h> #include <Script/LuaScript.h> #include <Script/cppscript.hpp> #include <imgui/imgui.h> #include "Core/FilePath.h" #include "Resource/ResourcesManager.h" using namespace gui; DEFINE_INSPECTOR_FUNCTIONS(ScriptManager, fmc::CScriptManag...
24.899281
115
0.643167
F4r3n
0bfa9dd62310d955cbcdf9ea0f66d4cabe28f183
13,490
cpp
C++
Game/Source/PartyPanel.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
null
null
null
Game/Source/PartyPanel.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
7
2022-03-19T21:14:34.000Z
2022-03-19T21:53:13.000Z
Game/Source/PartyPanel.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
1
2022-03-08T12:25:02.000Z
2022-03-08T12:25:02.000Z
#include "PartyPanel.h" #include "Log.h" #include "App.h" #include "GuiManager.h" #include "FadeToBlack.h" #include "TitleScreen.h" #include "Textures.h" #include "Input.h" #include "Character.h" #include "Fonts.h" #include "Window.h" #include "PlayerModule.h" PartyPanel::PartyPanel(bool active) : GuiPanel(active) { ...
40.755287
105
0.553521
aNnAm2606
04009bae2f9cf7aff8cc0f3456316f189351f62d
233
cpp
C++
Source/Logics/QUuid_Ext.cpp
yxbh/UUIDer
0de7b0e310f78b284b4e9983901ea05bde4b730a
[ "MIT" ]
null
null
null
Source/Logics/QUuid_Ext.cpp
yxbh/UUIDer
0de7b0e310f78b284b4e9983901ea05bde4b730a
[ "MIT" ]
null
null
null
Source/Logics/QUuid_Ext.cpp
yxbh/UUIDer
0de7b0e310f78b284b4e9983901ea05bde4b730a
[ "MIT" ]
2
2019-08-15T02:48:32.000Z
2021-08-03T01:00:59.000Z
#include "QUuid_Ext.hpp" namespace BH { std::string StdString_Cast(const QUuid & p_rUUID) { return p_rUUID.toString().toStdString(); } QString QString_Cast(const QUuid & p_rUUID) { return p_rUUID.toString(); } } // BH ns
13.705882
49
0.699571
yxbh
040459e14b7c36c6d7c8edd60a82c331bc94bc26
425
cpp
C++
gloom/src/scene_graph/PathFollowingNode.cpp
Stektpotet/gloom
fcb6e031d573be029dd829d8e4fc0a97feb22687
[ "MIT" ]
null
null
null
gloom/src/scene_graph/PathFollowingNode.cpp
Stektpotet/gloom
fcb6e031d573be029dd829d8e4fc0a97feb22687
[ "MIT" ]
null
null
null
gloom/src/scene_graph/PathFollowingNode.cpp
Stektpotet/gloom
fcb6e031d573be029dd829d8e4fc0a97feb22687
[ "MIT" ]
null
null
null
#include "PathFollowingNode.hpp" #include "toolbox.hpp" PathFollowingNode::PathFollowingNode(double startTime) : pathTime{startTime} {} void PathFollowingNode::update(float deltaTime) { pathTime += deltaTime*0.75; Heading heading = simpleHeadingAnimation(pathTime); position = glm::vec3{ h...
28.333333
70
0.701176
Stektpotet
0405419080b72c8b5434572181b57e386ec306da
3,689
cpp
C++
tests.cpp
mstrommer/ALDA_Exercise3v12021
2b38ac58aec9fa56683617c54b95e48357d04981
[ "MIT" ]
null
null
null
tests.cpp
mstrommer/ALDA_Exercise3v12021
2b38ac58aec9fa56683617c54b95e48357d04981
[ "MIT" ]
null
null
null
tests.cpp
mstrommer/ALDA_Exercise3v12021
2b38ac58aec9fa56683617c54b95e48357d04981
[ "MIT" ]
null
null
null
// Test definitions. Do NOT edit this file! #include <tuple> //#define CATCH_CONFIG_MAIN // defines main() automatically #include "lib/catch.hpp" #include "sudoku.hpp" #include <string.h> // ===================== // Sudoku Testcases // --------------------- TEST_CASE("Test1", "Sudoku") { int result = 0; in...
29.99187
154
0.406343
mstrommer
040bda809937a03055fee739260e9c2e94f01803
4,405
cpp
C++
test/smtpclient_unittest/credential_unittest.cpp
JamesBremner/mailout
a4c670680caa54d4aafbbad8520072e2bf3487f6
[ "MIT" ]
null
null
null
test/smtpclient_unittest/credential_unittest.cpp
JamesBremner/mailout
a4c670680caa54d4aafbbad8520072e2bf3487f6
[ "MIT" ]
null
null
null
test/smtpclient_unittest/credential_unittest.cpp
JamesBremner/mailout
a4c670680caa54d4aafbbad8520072e2bf3487f6
[ "MIT" ]
null
null
null
#include "../../src/credential.h" #include <gtest/gtest.h> using namespace jed_utils; TEST(Credential_Constructor, NullUsername) { try { Credential cred(nullptr, "123"); FAIL(); } catch(std::invalid_argument &err) { ASSERT_STREQ("Username cannot be null or empty", err.what()); } } TEST(Credential_...
20.114155
69
0.68899
JamesBremner
040ed1d1519f4ca748c3b2ffeeb7dc481c24b81c
2,314
hh
C++
src/nqsok/mesh.hh
CaffeineViking/nqsok
1f4c7c2b7e7e907facd794b3267f07a2e01f6f87
[ "MIT" ]
1
2019-06-18T07:17:51.000Z
2019-06-18T07:17:51.000Z
src/nqsok/mesh.hh
CaffeineViking/nqsok
1f4c7c2b7e7e907facd794b3267f07a2e01f6f87
[ "MIT" ]
null
null
null
src/nqsok/mesh.hh
CaffeineViking/nqsok
1f4c7c2b7e7e907facd794b3267f07a2e01f6f87
[ "MIT" ]
null
null
null
#ifndef NQSOK_MESH_HH #define NQSOK_MESH_HH #include <string> #include <stdexcept> #include <initializer_list> #include <unordered_map> #include <GL/glew.h> #include "buffer.hh" #include "shader.hh" namespace nq { class Mesh_error final : public std::runtime_error { public: using std::runtime_error::runtime_e...
30.853333
113
0.576059
CaffeineViking
0415abdce1e3e351857706c4bfe60bde56615cbd
1,164
cpp
C++
src/core/providers/WebSocketClientDataProvider.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
6
2018-09-12T15:20:04.000Z
2021-02-20T20:36:58.000Z
src/core/providers/WebSocketClientDataProvider.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
null
null
null
src/core/providers/WebSocketClientDataProvider.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
4
2019-03-05T03:12:10.000Z
2021-10-31T18:56:58.000Z
// // Created by Raffaele Montella on 06/09/2018. // #include "WebSocketClientDataProvider.hpp" WebSocketClientDataProvider::WebSocketClientDataProvider(bool enabled, std::string id,SignalK::SignalKModel *document, int perms, std::string url) { this->enabled=enabled; this->id=id; this->type="providers/...
29.1
229
0.696735
nohal
0419e15edfb6fa1db5c07139fbee7661e5976250
2,924
cc
C++
opencensus/trace/internal/grpc_trace_bin.cc
terencekwt/opencensus-cpp
5728183ac9d0ff2d96ceb8e2e4c3d35f51b76aaf
[ "Apache-2.0" ]
139
2017-08-15T01:03:37.000Z
2022-02-10T11:53:30.000Z
opencensus/trace/internal/grpc_trace_bin.cc
terencekwt/opencensus-cpp
5728183ac9d0ff2d96ceb8e2e4c3d35f51b76aaf
[ "Apache-2.0" ]
235
2017-12-12T09:28:12.000Z
2022-03-30T06:36:14.000Z
opencensus/trace/internal/grpc_trace_bin.cc
terencekwt/opencensus-cpp
5728183ac9d0ff2d96ceb8e2e4c3d35f51b76aaf
[ "Apache-2.0" ]
68
2017-11-08T02:35:56.000Z
2022-03-28T21:27:21.000Z
// Copyright 2019, OpenCensus Authors // // 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 agree...
32.853933
75
0.728112
terencekwt
041a9c4cc69eb969bdf3ad1b5b9adaf062649bc2
2,665
cpp
C++
s32v234_sdk/kernels/apu/sample_filtering_kernels/src/filter_a_apu.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/kernels/apu/sample_filtering_kernels/src/filter_a_apu.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/kernels/apu/sample_filtering_kernels/src/filter_a_apu.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
2
2021-01-21T02:06:16.000Z
2021-01-28T10:47:37.000Z
/***************************************************************************** * * Freescale Confidential Proprietary * * Copyright (c) 2013 Freescale Semiconductor; * Copyright (c) 2017 NXP * All Rights Reserved * ***************************************************************************** * * THIS SOFTWARE IS PROVI...
35.065789
84
0.58424
intesight
041b3b84d3b80086af7a349a580425f9d1193a97
6,133
hpp
C++
rpt-core/include/RpT-Core/Timer.hpp
ThisALV/RpT-Minigames-Server
311738bea6e7025944c1d723217a878c29b20695
[ "BSL-1.0", "MIT" ]
null
null
null
rpt-core/include/RpT-Core/Timer.hpp
ThisALV/RpT-Minigames-Server
311738bea6e7025944c1d723217a878c29b20695
[ "BSL-1.0", "MIT" ]
null
null
null
rpt-core/include/RpT-Core/Timer.hpp
ThisALV/RpT-Minigames-Server
311738bea6e7025944c1d723217a878c29b20695
[ "BSL-1.0", "MIT" ]
null
null
null
#ifndef RPT_MINIGAMES_SERVER_TIMER_HPP #define RPT_MINIGAMES_SERVER_TIMER_HPP /** * @file Timer.hpp */ #include <functional> #include <stdexcept> #include <string> #include <string_view> #include <vector> #include <RpT-Core/ServiceContext.hpp> namespace RpT::Core { /// State used internally by `Timer`, also used...
31.942708
120
0.683515
ThisALV
041dafb9529bb2d6003b6b5a1f901b65512f63e6
1,562
hpp
C++
CommonIncludes.hpp
ReimuNotMoe/libEpollPlus
3fca2c5541dc1d1ee9dafb54dc921d5ca678e406
[ "MIT" ]
5
2019-03-10T11:47:33.000Z
2020-05-08T13:49:05.000Z
CommonIncludes.hpp
ReimuNotMoe/libEpollPlus
3fca2c5541dc1d1ee9dafb54dc921d5ca678e406
[ "MIT" ]
null
null
null
CommonIncludes.hpp
ReimuNotMoe/libEpollPlus
3fca2c5541dc1d1ee9dafb54dc921d5ca678e406
[ "MIT" ]
1
2019-03-10T15:52:30.000Z
2019-03-10T15:52:30.000Z
/* This file is part of libEpollPlus. Copyright (C) 2018 ReimuNotMoe This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied wa...
24.40625
72
0.689501
ReimuNotMoe
041deaabd1bbe96e2730df7d503cc85d61ba6c71
3,367
cpp
C++
framework/shape.cpp
TonyZoeppig/raytracer-project
5bba9227797d6c7232b7486c03445fd5ae9a3431
[ "MIT" ]
2
2020-08-03T12:37:58.000Z
2020-08-16T12:15:31.000Z
framework/shape.cpp
TonyZoeppig/raytracer-project
5bba9227797d6c7232b7486c03445fd5ae9a3431
[ "MIT" ]
null
null
null
framework/shape.cpp
TonyZoeppig/raytracer-project
5bba9227797d6c7232b7486c03445fd5ae9a3431
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES #define GLM_FORCE_RADIANS //to enforce all the angles to be radians #include "shape.hpp" #include <iostream> #include <glm/gtc/matrix_transform.hpp> #include <cmath> Shape::Shape(std::string const& name, Material const& material) : name_{name}, material_{ material } {} std::string Shape:...
36.597826
172
0.639739
TonyZoeppig
0422140ca87517154d679af74d0c19a0352b7d1e
6,803
hpp
C++
hpx/runtime/parcelset/mpi/parcelport.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/runtime/parcelset/mpi/parcelport.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/runtime/parcelset/mpi/parcelport.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2012 Hartmut Kaiser // Copyright (c) 2013 Thomas Heller // // 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) #if !defined(HPX_PARCELSET_MPI_PARCELPORT_HPP) #define HPX_PARCELSET_MPI_PAR...
37.379121
91
0.591504
andreasbuhr
042233b4a506c43d15b91211bb5f6fba90c7873c
4,131
cpp
C++
gui/media/ptt/AudioUtils.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
81
2019-09-18T13:53:17.000Z
2022-03-19T00:44:20.000Z
gui/media/ptt/AudioUtils.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
4
2019-10-03T15:17:00.000Z
2019-11-03T01:05:41.000Z
gui/media/ptt/AudioUtils.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
25
2019-09-27T16:56:02.000Z
2022-03-14T07:11:14.000Z
#include "stdafx.h" #include "AudioUtils.h" Q_LOGGING_CATEGORY(pttLog, "ptt") namespace { #pragma pack(push, 1) // WAVE file header format struct wav_header_t { char chunk_id[4]; // RIFF string unsigned int chunk_size; // overall size of file in bytes (36 + data_size) char ...
37.216216
132
0.647059
mail-ru-im
042293959d13561ca963480df2e4ca460e003948
15,990
cpp
C++
export/debug/windows/obj/src/openfl/display/Tileset.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
1
2021-07-19T05:10:43.000Z
2021-07-19T05:10:43.000Z
export/debug/windows/obj/src/openfl/display/Tileset.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/debug/windows/obj/src/openfl/display/Tileset.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_lime_utils_ObjectPool #include <lime/utils/ObjectPool.h> #endif #ifndef INCLUDED_openfl__Vector_FloatVector #include <openfl/_Vector/FloatVector.h> #endif #ifndef INCLUDED_openfl__Vector_IVector #include <openfl/_Vector/IVector.h> #endif #ifndef INCLUDED_o...
40.481013
425
0.686304
bobisdabbing
042502ab72532a87781b659be704cd7a2aeca51e
562
cpp
C++
lightcone_resample/util_scripts/dtk/src/cosmo.cpp
ArgonneCPAC/skysim
f271debe3439efd1ae5230c6020b2dbc5f79d824
[ "BSD-2-Clause" ]
4
2020-08-08T10:01:49.000Z
2022-02-27T07:21:00.000Z
lightcone_resample/util_scripts/dtk/src/cosmo.cpp
ArgonneCPAC/skysim
f271debe3439efd1ae5230c6020b2dbc5f79d824
[ "BSD-2-Clause" ]
67
2018-07-16T22:12:16.000Z
2020-07-02T01:12:48.000Z
lightcone_resample/util_scripts/dtk/src/cosmo.cpp
aphearin/cosmodc2
5bc2abebd7123f29b424efc11c3ef374a51cd6c1
[ "BSD-3-Clause" ]
null
null
null
#include "dtk/cosmo.hpp" namespace dtk{ StepRedshift::StepRedshift(float z_start,float z_end,int num_steps): z_in(z_start),z_out(z_end),num_steps(num_steps){ a_in = a_from_z(z_start); a_out = a_from_z(z_end); a_del = (a_out - a_in)/num_steps; } float StepRedshift::step_from_z(float z){ floa...
22.48
70
0.669039
ArgonneCPAC
0425f2e3ab4a02acde73dd9c05a7225d8ef49303
8,768
cpp
C++
tcr/src/v20190924/model/TriggerResp.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tcr/src/v20190924/model/TriggerResp.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tcr/src/v20190924/model/TriggerResp.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
28.937294
136
0.689895
sinjoywong
54b8483bacc20d31ea4c4c53ef639f53e8bd5de6
7,311
cpp
C++
hphp/runtime/test/memmgr-test.cpp
kkopachev/hhvm
a9f242ec029c37b1e9d1715b13661e66293d87ab
[ "PHP-3.01", "Zend-2.0" ]
1
2021-06-19T23:31:58.000Z
2021-06-19T23:31:58.000Z
hphp/runtime/test/memmgr-test.cpp
alisha/hhvm
523dc33b444bd5b59695eff2b64056629b0ed523
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/test/memmgr-test.cpp
alisha/hhvm
523dc33b444bd5b59695eff2b64056629b0ed523
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
33.691244
79
0.653673
kkopachev
54b9f15f4467d1527732946dc740d88d019aed93
6,206
cpp
C++
minetest-ego/src/tool.cpp
medialab-prado/Interactivos-15-Ego
4c7e184b9495d07fc1008573ef1b752d20ebc1ab
[ "MIT" ]
null
null
null
minetest-ego/src/tool.cpp
medialab-prado/Interactivos-15-Ego
4c7e184b9495d07fc1008573ef1b752d20ebc1ab
[ "MIT" ]
null
null
null
minetest-ego/src/tool.cpp
medialab-prado/Interactivos-15-Ego
4c7e184b9495d07fc1008573ef1b752d20ebc1ab
[ "MIT" ]
null
null
null
/* Minetest Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later ve...
28.865116
86
0.701418
medialab-prado
54bee22b3df602d4f3bef92f0628663d11be9bc3
2,505
cpp
C++
BrowserApp/main/WidgetsDemoBase.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
4
2021-05-17T19:33:22.000Z
2022-03-09T12:48:58.000Z
BrowserApp/main/WidgetsDemoBase.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
null
null
null
BrowserApp/main/WidgetsDemoBase.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "WidgetsDemoBase.h" CWidgetsDemoBase::CWidgetsDemoBase(HWND parent, CButtonUI* pVtkShowBtn) : m_parentWnd(parent) //, m_rc(rc) , m_pVtkShowBtn(pVtkShowBtn) { } CWidgetsDemoBase::~CWidgetsDemoBase(void) { } void CWidgetsDemoBase::ShowWidgets_Test() { // Create the RenderWindow, R...
27.527473
124
0.756886
jia1000
54c4a209d4060fde05904deabbf58c82dd193436
23,612
cpp
C++
QuoteVerification/Src/AttestationLibrary/src/PckParser/PckParser.cpp
akryeem-INTC/SGXDataCenterAttestationPrimitives
6dc28ac33e825abf715fc1597e46fc6537380fe1
[ "BSD-3-Clause" ]
null
null
null
QuoteVerification/Src/AttestationLibrary/src/PckParser/PckParser.cpp
akryeem-INTC/SGXDataCenterAttestationPrimitives
6dc28ac33e825abf715fc1597e46fc6537380fe1
[ "BSD-3-Clause" ]
null
null
null
QuoteVerification/Src/AttestationLibrary/src/PckParser/PckParser.cpp
akryeem-INTC/SGXDataCenterAttestationPrimitives
6dc28ac33e825abf715fc1597e46fc6537380fe1
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017, Intel Corporation * * 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 following disc...
25.918771
132
0.655811
akryeem-INTC
54c540e0ac9a0d2ece62c286cab584312c6e5ef7
15,437
cpp
C++
tests/Basic/StringTools/main.cpp
cash2/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
5
2018-12-29T11:47:17.000Z
2021-04-30T11:40:15.000Z
tests/Basic/StringTools/main.cpp
aphivantrakul/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
2
2019-07-10T15:53:44.000Z
2021-06-26T17:41:46.000Z
tests/Basic/StringTools/main.cpp
aphivantrakul/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
10
2018-11-25T18:45:50.000Z
2022-03-21T17:19:42.000Z
// Copyright (c) 2018-2021 The Cash2 developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <Common/StringTools.h> #include <gtest/gtest.h> /* MyNotes asString() asString() asBinaryArray() fromHex() fromHex()...
19.91871
383
0.618514
cash2
54c89712ff349c4c20dccbf0c9b45c58d260ea67
1,084
hpp
C++
mapf/include/cbs_refine.hpp
Kei18/mapf-IR
3132deebdee32b8d4530b7c0d61c5bd92a677cda
[ "MIT" ]
42
2021-03-01T06:36:26.000Z
2022-03-29T10:13:22.000Z
mapf/include/cbs_refine.hpp
Kei18/mapf-IR
3132deebdee32b8d4530b7c0d61c5bd92a677cda
[ "MIT" ]
1
2021-05-11T12:14:17.000Z
2021-05-11T18:15:32.000Z
mapf/include/cbs_refine.hpp
Kei18/mapf-IR
3132deebdee32b8d4530b7c0d61c5bd92a677cda
[ "MIT" ]
5
2021-07-12T00:29:11.000Z
2021-12-13T16:34:40.000Z
/* * Implementation of CBS for Iterative Refinement * This cannot be used directly */ #pragma once #include "cbs.hpp" class CBS_REFINE : public virtual CBS { protected: const Plan old_plan; // old plan, equivalent to old_paths const Paths old_paths; // old paths, equivalent to old_p...
30.971429
74
0.685424
Kei18
54c9a19be05564f1797f59834936204a59d5c99b
1,063
cpp
C++
Code/main.cpp
Tigole/OpenGL-SandBox
652d07e7b5b3aff2600f61d4e5b7114a2ebf8b24
[ "MIT" ]
null
null
null
Code/main.cpp
Tigole/OpenGL-SandBox
652d07e7b5b3aff2600f61d4e5b7114a2ebf8b24
[ "MIT" ]
null
null
null
Code/main.cpp
Tigole/OpenGL-SandBox
652d07e7b5b3aff2600f61d4e5b7114a2ebf8b24
[ "MIT" ]
null
null
null
#include <iostream> #include <SFML/Graphics.hpp> #include "Rendering/Renderer.hpp" #include "Rendering/Mesh.hpp" #include "Rendering/VertexArray.hpp" #include "Rendering/Material.hpp" #include "Utilities/Log.hpp" #include "ShaderWaves.hpp" #include "CollisionTest.hpp" #include "Map3DFromTiled.hpp" #include "MeshL...
22.145833
99
0.723424
Tigole
54ca20c0e3a025c0340b44be23b270af7b871672
1,562
cpp
C++
src/Examples/Framework-CPP/Audio/Render-Device-1.cpp
RiscadoA/Magma
ea025e6762366d59b4841d174076c5aed3156623
[ "MIT" ]
1
2018-06-27T19:51:40.000Z
2018-06-27T19:51:40.000Z
src/Examples/Framework-CPP/Audio/Render-Device-1.cpp
RiscadoA/Simple-Game
ea025e6762366d59b4841d174076c5aed3156623
[ "MIT" ]
30
2018-08-19T15:42:59.000Z
2018-09-09T19:09:34.000Z
src/Examples/Framework-CPP/Audio/Render-Device-1.cpp
RiscadoA/Simple-Game
ea025e6762366d59b4841d174076c5aed3156623
[ "MIT" ]
null
null
null
#include <Magma/Framework/Entry.hpp> #include <Magma/Framework/Audio/RenderDevice.hpp> #include <Magma/Framework/Audio/WAVLoader.h> #include <Magma/Framework/File/FileSystem.hpp> #include <Magma/Framework/File/FolderArchive.hpp> #include <Magma/Framework/String/Stream.hpp> #include <Magma/Framework/String/StringStream...
24.030769
145
0.720871
RiscadoA
54ca3ec3386b44aabcc6977aff581b7b4dfabae6
98,271
cpp
C++
src/aadcUser/OptIlmDriveX/Optilm_AutonomousDriving/Data_Processing.cpp
ronharry/OptIlmDriveX
01d808fd1ac65a3b862cfd3e7c50f4b5a3d87acc
[ "BSD-4-Clause" ]
1
2019-02-15T19:12:08.000Z
2019-02-15T19:12:08.000Z
src/aadcUser/OptIlmDriveX/Optilm_AutonomousDriving/Data_Processing.cpp
ronharry/OptIlmDriveX
01d808fd1ac65a3b862cfd3e7c50f4b5a3d87acc
[ "BSD-4-Clause" ]
null
null
null
src/aadcUser/OptIlmDriveX/Optilm_AutonomousDriving/Data_Processing.cpp
ronharry/OptIlmDriveX
01d808fd1ac65a3b862cfd3e7c50f4b5a3d87acc
[ "BSD-4-Clause" ]
1
2020-03-17T15:14:08.000Z
2020-03-17T15:14:08.000Z
#include "Optilm_AutonomousDriving.h" tResult cOptilm_AutonomousDriving::CalculateUltrasonicWorldCoordinate(void) { float radian = 0; US_coordinate.side_left.X = 15; //X is US_coordinate.side_left.Y = -US_data.tSideLeft.f32Value - 15; //Y is -> US_coordinate.side_right.X = 15; //X is US_coord...
37.167549
261
0.577973
ronharry
54caa41409c6a8a631863108ad59801eb26fdb25
1,118
hpp
C++
examples/esp32-s3-eye/main/include/app_lcd.hpp
Qitas/esp-who
7199eb1619cffbae91f1f0199c6aae9c7ac08dc7
[ "MIT-0" ]
null
null
null
examples/esp32-s3-eye/main/include/app_lcd.hpp
Qitas/esp-who
7199eb1619cffbae91f1f0199c6aae9c7ac08dc7
[ "MIT-0" ]
null
null
null
examples/esp32-s3-eye/main/include/app_lcd.hpp
Qitas/esp-who
7199eb1619cffbae91f1f0199c6aae9c7ac08dc7
[ "MIT-0" ]
null
null
null
#pragma once #include "screen_driver.h" #include "__base__.hpp" #include "app_camera.hpp" #include "app_button.hpp" #include "app_speech.hpp" #define BOARD_LCD_MOSI 47 #define BOARD_LCD_MISO -1 #define BOARD_LCD_SCK 21 #define BOARD_LCD_CS 44 #define BOARD_LCD_DC 43 #define BOARD_LCD_RST -1 #define BOARD_LCD_BL 48 #...
22.36
67
0.742397
Qitas
54cf196fdac75f3cc3d4ccbe7d395898a073d7e4
1,280
cpp
C++
webui/Launcher/src/AppRegistry.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
2
2020-11-23T23:37:00.000Z
2020-12-22T04:02:41.000Z
webui/Launcher/src/AppRegistry.cpp
bas524/cmake.macchina.io
22a21d78f8075fd145b788b41a23603591e91c9f
[ "Apache-2.0" ]
null
null
null
webui/Launcher/src/AppRegistry.cpp
bas524/cmake.macchina.io
22a21d78f8075fd145b788b41a23603591e91c9f
[ "Apache-2.0" ]
1
2022-01-11T02:51:18.000Z
2022-01-11T02:51:18.000Z
// // AppRegistry.cpp // // Copyright (c) 2015, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "AppRegistry.h" namespace IoT { namespace Web { namespace Launcher { std::string AppRegistry::SERVICE_NAME("io.macchina.web.appregistry"); ...
16
77
0.682813
gboyraz
54d7ebb14ea34aa88e53c39558214adedcb31407
3,893
hpp
C++
modules/boost/simd/base/include/boost/simd/swar/functions/simd/sse/avx/interleave_second.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/base/include/boost/simd/swar/functions/simd/sse/avx/interleave_second.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/swar/functions/simd/sse/avx/interleave_second.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
40.978947
82
0.463139
psiha
54d907707d0e8d2540dbd998961cf7d9f8f07045
950
cpp
C++
src/SimGetRepository/Manifest.cpp
NiklasZeroZero/simget-cli
ea23cebd045ea176156f1a0c883fb937614b8c56
[ "MIT" ]
2
2021-07-23T14:47:09.000Z
2021-11-18T00:13:23.000Z
src/SimGetRepository/Manifest.cpp
NiklasZeroZero/simget-cli
ea23cebd045ea176156f1a0c883fb937614b8c56
[ "MIT" ]
null
null
null
src/SimGetRepository/Manifest.cpp
NiklasZeroZero/simget-cli
ea23cebd045ea176156f1a0c883fb937614b8c56
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <stdio.h> #include <yaml.h> #include <Manifest.h> namespace SimGet::Repository { Manifest::Manifest(FILE *fh) { yaml_parser_t parser; /* Initialize parser */ if( !yaml_parser_initialize(&parser) ) { std::cout << "Could not ini...
19.791667
74
0.524211
NiklasZeroZero
54d92dd0b436ca7f12fe4dc9ebd76edfe43b16f1
1,032
hpp
C++
Source/Musa/RenderPipeline/BatchPrimitives.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Musa/RenderPipeline/BatchPrimitives.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Musa/RenderPipeline/BatchPrimitives.hpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
// Copyright 2020, Nathan Blane #pragma once #include "Graphics/BatchCollection.hpp" class RenderContext; struct View; struct NativeVertexShader; struct NativeFragmentShader; // Define functions to batch specific primitives, like lines, quads, circles, etc void BatchLinePrimitive(const BatchedLineDescription& line...
34.4
81
0.847868
frobro98
54d9e9201798fde77ed1f6135f985bc7ed21b60b
2,604
hpp
C++
PySTL.hpp
javierjuan/tools
fd51855d3babccabc2cf95e9d7ac00c0a390f7fc
[ "Apache-2.0" ]
null
null
null
PySTL.hpp
javierjuan/tools
fd51855d3babccabc2cf95e9d7ac00c0a390f7fc
[ "Apache-2.0" ]
null
null
null
PySTL.hpp
javierjuan/tools
fd51855d3babccabc2cf95e9d7ac00c0a390f7fc
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** /* Javier Juan Albarracin - jajuaal1@ibime.upv.es */ /* Universidad Politecnica de Valencia, Spain */ /* */ /* Copyright...
27.410526
142
0.487327
javierjuan
54dfe87b8f5085eeaef0a7ea42439eb018b32d83
2,945
cpp
C++
Stack Codes/GetMinTimeSpaceEfficient/main.cpp
ayushs2k1/Data-Structures-and-Algorithms
d7cbb3bf0aba12ab005c485ca10878441a15f75f
[ "MIT" ]
1
2021-01-31T16:34:57.000Z
2021-01-31T16:34:57.000Z
Stack Codes/GetMinTimeSpaceEfficient/main.cpp
ayushs2k1/Data-Structures-and-Algorithms
d7cbb3bf0aba12ab005c485ca10878441a15f75f
[ "MIT" ]
null
null
null
Stack Codes/GetMinTimeSpaceEfficient/main.cpp
ayushs2k1/Data-Structures-and-Algorithms
d7cbb3bf0aba12ab005c485ca10878441a15f75f
[ "MIT" ]
1
2021-09-23T13:24:25.000Z
2021-09-23T13:24:25.000Z
/* Consider the following SpecialStack 16 --> TOP 15 29 19 18 When getMin() is called it should return 15, which is the minimum element in the current stack. If we do pop two times on stack, the stack becomes 29 --> TOP 19 18 When getMin() is called, it should return 18 which is the minimum in the current stack...
21.18705
68
0.528353
ayushs2k1
54e40ed6141c898ab22cac77f37a009d6dd5c404
33,700
cpp
C++
KugleFirmware/Libraries/Devices/MPU9250/MPU9250.cpp
VBorjaDD/Kugle-Embedded
8cea8503b1aa6a9fa70c4ec9b4dedfacb99499ba
[ "MIT" ]
22
2020-02-02T18:44:17.000Z
2022-03-24T09:54:08.000Z
KugleFirmware/Libraries/Devices/MPU9250/MPU9250.cpp
VBorjaDD/Kugle-Embedded
8cea8503b1aa6a9fa70c4ec9b4dedfacb99499ba
[ "MIT" ]
4
2019-04-06T11:38:58.000Z
2020-12-21T15:30:23.000Z
KugleFirmware/Libraries/Devices/MPU9250/MPU9250.cpp
VBorjaDD/Kugle-Embedded
8cea8503b1aa6a9fa70c4ec9b4dedfacb99499ba
[ "MIT" ]
18
2019-01-31T09:04:59.000Z
2021-11-15T10:13:32.000Z
/* MPU9250.cpp Brian R Taylor brian.taylor@bolderflight.com 2017-01-04 Copyright (c) 2016 Bolder Flight Systems 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 with...
34.742268
161
0.664777
VBorjaDD
54e53ba78d86d342c40dde063781616a8c9d7fa9
1,577
cpp
C++
src/rdf4cpp/rdf/Dataset.cpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
3
2022-01-10T10:35:44.000Z
2022-02-18T00:38:38.000Z
src/rdf4cpp/rdf/Dataset.cpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
8
2021-06-06T17:45:14.000Z
2022-02-06T17:45:45.000Z
src/rdf4cpp/rdf/Dataset.cpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
4
2021-09-16T12:49:09.000Z
2022-02-18T01:58:57.000Z
#include "Dataset.hpp" #include <rdf4cpp/rdf/Graph.hpp> #include <utility> namespace rdf4cpp::rdf { Dataset::Dataset(Dataset::DatasetStorage dataset_storage) : dataset_storage(std::move(dataset_storage)) {} Dataset::Dataset(Dataset::NodeStorage node_storage) : dataset_storage(Dataset::DatasetStorage::new_instanc...
35.044444
127
0.752695
kaimal11
54e827cf812c4350c674238b1a41148c4d03f641
3,568
cpp
C++
Source/Plugins/bsfD3D11RenderAPI/BsD3D11TimerQuery.cpp
pgruenbacher/bsf
9bbac75ca4cc445cd26b435f74465ad91d3e528e
[ "MIT" ]
2
2019-07-08T17:26:25.000Z
2019-10-13T19:15:28.000Z
Source/Plugins/bsfD3D11RenderAPI/BsD3D11TimerQuery.cpp
REGoth-project/bsf
e176800d1cb9e71b7be8a28bdae935ed9ddd1de4
[ "MIT" ]
null
null
null
Source/Plugins/bsfD3D11RenderAPI/BsD3D11TimerQuery.cpp
REGoth-project/bsf
e176800d1cb9e71b7be8a28bdae935ed9ddd1de4
[ "MIT" ]
4
2019-06-23T09:55:47.000Z
2019-07-08T17:23:05.000Z
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "BsD3D11TimerQuery.h" #include "BsD3D11RenderAPI.h" #include ...
25.126761
124
0.694787
pgruenbacher
54eed8103f36d8acfa0954690b84a32d40195280
4,293
hpp
C++
include/mdlutils/types/sequence_iterator.hpp
Marandil/mdlutils-cpp
6532777ff27e04bfd423e326237eed3b3ce95937
[ "MIT" ]
null
null
null
include/mdlutils/types/sequence_iterator.hpp
Marandil/mdlutils-cpp
6532777ff27e04bfd423e326237eed3b3ce95937
[ "MIT" ]
null
null
null
include/mdlutils/types/sequence_iterator.hpp
Marandil/mdlutils-cpp
6532777ff27e04bfd423e326237eed3b3ce95937
[ "MIT" ]
null
null
null
// // Created by marandil on 03.09.15. // #ifndef MDLUTILS_TYPES_SEQUENCE_ITERATOR_HPP #define MDLUTILS_TYPES_SEQUENCE_ITERATOR_HPP #include <mdlutils/exceptions/invalid_argument_exception.hpp> namespace mdl { template <typename T> class sequence_iterator : public std::iterator<std::random_access_iterator_ta...
31.8
171
0.582576
Marandil
54ef071bf43736a5a80eb13dbf22537e7fca391b
978
hpp
C++
Plugins/ShowtimeUnreal/external/include/showtime/adaptors/ZstConnectionAdaptor.hpp
straycatss/NectoXR
c7d00fe5070cfd1d94aa9401bb7ef66238d4cae7
[ "MIT" ]
2
2018-11-14T03:55:12.000Z
2019-03-21T08:28:41.000Z
Plugins/ShowtimeUnreal/external/include/showtime/adaptors/ZstConnectionAdaptor.hpp
straycatss/NectoXR
c7d00fe5070cfd1d94aa9401bb7ef66238d4cae7
[ "MIT" ]
2
2021-03-09T01:07:50.000Z
2021-05-08T06:08:13.000Z
include/showtime/adaptors/ZstConnectionAdaptor.hpp
Mystfit/Showtime-Cpp
01a745b386737737fcb5a091d37286b7d3510e51
[ "MIT" ]
null
null
null
#pragma once #include <showtime/ZstExports.h> #include <showtime/adaptors/ZstEventAdaptor.hpp> #include <showtime/ZstServerAddress.h> namespace showtime { //Forwards class ShowtimeClient; class ZST_CLASS_EXPORTED ZstConnectionAdaptor #ifndef SWIG : public inheritable_enable_shared_from_this< ZstConnectionAdaptor >...
37.615385
132
0.845603
straycatss
54f1afabe54d40b07e64333e4c58f73ec8c6d0bb
721
cpp
C++
bullet/Demos/SliderConstraintDemo/main.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
2,617
2015-01-01T11:22:33.000Z
2022-03-31T16:15:46.000Z
bullet/Demos/SliderConstraintDemo/main.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
286
2015-01-13T17:22:49.000Z
2022-03-03T15:10:50.000Z
bullet/Demos/SliderConstraintDemo/main.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
439
2015-01-12T21:50:57.000Z
2022-03-31T20:59:09.000Z
/* Added by Roman Ponomarev (rponom@gmail.com) April 04, 2008 */ #include "SliderConstraintDemo.h" #include "GlutStuff.h" #include "GLDebugDrawer.h" #include "btBulletDynamicsCommon.h" GLDebugDrawer gDebugDrawer; int main(int argc,char** argv) { SliderConstraintDemo* sliderConstraintDemo = new SliderCons...
27.730769
140
0.764216
microaaron
54f29d344858f8ee3e7101b1e0edc2beeb2385c5
1,072
hpp
C++
Questless/Questless/src/animation/particles/text_particle.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
2
2020-07-14T12:50:06.000Z
2020-11-04T02:25:09.000Z
Questless/Questless/src/animation/particles/text_particle.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
null
null
null
Questless/Questless/src/animation/particles/text_particle.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
null
null
null
//! @file //! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>. #pragma once #include "particle.hpp" #include <string> namespace ql { //! A particle composed of colored text. struct text_particle : particle { //! @param lifetime The amount of time before this particle expires. //! @param font The font to ...
28.972973
99
0.711754
jonathansharman
54f46e047dd496595e2624a65be4560c1cf8ef9a
927
hpp
C++
include/RadonFramework/Math/Lazy/Types.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
3
2015-09-15T06:57:50.000Z
2021-03-16T19:05:02.000Z
include/RadonFramework/Math/Lazy/Types.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
2
2015-09-26T12:41:10.000Z
2015-12-08T08:41:37.000Z
include/RadonFramework/Math/Lazy/Types.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
1
2015-07-09T02:56:34.000Z
2015-07-09T02:56:34.000Z
#ifndef RF_MATH_LAZY_TYPES_HPP #define RF_MATH_LAZY_TYPES_HPP #if _MSC_VER > 1000 #pragma once #endif #include <type_traits> namespace RadonFramework::Math::Lazy { template <typename T> struct NumericLiteral { using Type = T; NumericLiteral(const T Value) : m_Value(Value) {} const T m_Value; }; template <typ...
17.826923
74
0.740022
tak2004