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
2dfb034ef23c7ede4e43dcbd4c84cc83f6de0e08
570
cpp
C++
C++/problem0070.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
C++/problem0070.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
C++/problem0070.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
//代码中使用的 \texttt{pow}pow 函数的时空复杂度与 CPU 支持的指令集相关; class Solution { public: int climbStairs(int n) { // if (n == 1) // { // return 1; // } // else if (n == 2) // { // return 2; // } // return climbStairs(n - 1) + climbStairs(n - 2); ...
21.923077
58
0.366667
1050669722
9301e5d243cf4f39b13265d1037851ae243d1e95
1,199
hpp
C++
source/Arguments.hpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
8
2015-01-23T05:41:46.000Z
2019-11-20T05:10:27.000Z
source/Arguments.hpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
null
null
null
source/Arguments.hpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
4
2015-05-05T05:15:43.000Z
2020-03-07T11:10:56.000Z
/********************************************************************************************************* * Arguments.hpp * Note: Phoenix CommandLine Arguments * Date: @2015.03 * E-mail:<forcemz@outlook.com> * Copyright (C) 2015 The ForceStudio All Rights Reserved. *****************************************************...
26.644444
107
0.616347
fstudio
9301f55a1847c1cd83daeb4255a176415fd44397
738
hpp
C++
src/controllers/actions/npc_action_move.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
1
2020-09-23T11:17:35.000Z
2020-09-23T11:17:35.000Z
src/controllers/actions/npc_action_move.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
src/controllers/actions/npc_action_move.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
#pragma once #include <SFML/System.hpp> #include "npc_action.hpp" namespace space { class NpcActionMove : public NpcAction { public: // Fields // Constructor NpcActionMove(NpcController *controller, sf::Vector2f destination); // Methods st...
22.363636
79
0.554201
astrellon
930822c3bd7b3c5b7d843281c62c2fcfad70ea0e
5,950
cpp
C++
tests/filesource.cpp
therocode/rexource
0de08b9cce20930b19ddcd6780e7e4a173e9782f
[ "MIT" ]
5
2016-02-07T21:39:50.000Z
2017-09-16T23:31:30.000Z
tests/filesource.cpp
therocode/rexource
0de08b9cce20930b19ddcd6780e7e4a173e9782f
[ "MIT" ]
null
null
null
tests/filesource.cpp
therocode/rexource
0de08b9cce20930b19ddcd6780e7e4a173e9782f
[ "MIT" ]
null
null
null
#include <catch.hpp> #include "helpers/treefilesource.hpp" SCENARIO("File sources set to a folder with a regex will find files recursively with the regex as a filter") { GIVEN("a file source which is set to read all files in a directory") { TreeFileSource treeSource("tests/data/trees", std::regex(".*")...
35
145
0.529748
therocode
93083a3238bf41db9f725c8a83e96c8256dc68f9
2,036
cpp
C++
src/WindowManager.cpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
1
2016-03-09T01:32:22.000Z
2016-03-09T01:32:22.000Z
src/WindowManager.cpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
null
null
null
src/WindowManager.cpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
null
null
null
#include "WindowManager.hpp" #include "Window.hpp" #include "GlHelper.hpp" #include "App.hpp" #include <iostream> WindowManager::WindowManager(App* app) { m_app = app; m_mouseX = 0; m_mouseY = 0; m_nextWindowY = 0; } WindowManager::~WindowManager() { while (m_windows.size() != 0) destroyWindow(m_windows[0]...
16.826446
69
0.649312
jamiesyme
9308b2575e79755371a4ea80004e21d00a4acdde
1,421
cpp
C++
src/main/cpp/logging/CSVUtil.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
10
2020-02-07T04:13:15.000Z
2022-02-26T00:13:39.000Z
src/main/cpp/logging/CSVUtil.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
82
2020-02-12T03:05:15.000Z
2022-02-18T02:14:38.000Z
src/main/cpp/logging/CSVUtil.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
5
2020-02-14T16:24:01.000Z
2022-03-31T09:10:01.000Z
// Copyright (c) 2020-2021 FRC Team 3512. All Rights Reserved. #include "logging/CSVUtil.hpp" #include <algorithm> #if __has_include(<filesystem>) #include <filesystem> #elif __has_include(<experimental/filesystem>) #include <experimental/filesystem> namespace std { namespace filesystem = experimental::filesystem; }...
27.326923
79
0.599578
frc3512
93097b0e546672fa8fa1ee5491a5fd642ca8e8d0
2,029
cpp
C++
Plain/src/Runtime/Rendering/Backend/VulkanCommandRecording.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
9
2021-04-09T14:07:45.000Z
2022-03-06T07:51:14.000Z
Plain/src/Runtime/Rendering/Backend/VulkanCommandRecording.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
14
2021-04-10T11:06:06.000Z
2021-05-07T14:20:34.000Z
Plain/src/Runtime/Rendering/Backend/VulkanCommandRecording.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
null
null
null
#include "pch.h" #include "VulkanCommandRecording.h" #include "VulkanContext.h" void resetCommandBuffer(const VkCommandBuffer buffer) { auto res = vkResetCommandBuffer(buffer, 0); checkVulkanResult(res); } void beginCommandBuffer(const VkCommandBuffer buffer, const VkCommandBufferUsageFlags usageFlags, co...
34.982759
100
0.765402
Gaukler
930ddd595a06b78fcd816253870aa15d61e90d82
974
hpp
C++
LEDTableApps/include/LEDTableApps/pong.hpp
michaelbarbera/LEDTableEngine
d7f5fd1e3030c0833086269a6c462954c0fe4d18
[ "Apache-2.0" ]
53
2018-03-12T12:39:53.000Z
2021-08-21T02:41:10.000Z
LEDTableApps/include/LEDTableApps/pong.hpp
michaelbarbera/LEDTableEngine
d7f5fd1e3030c0833086269a6c462954c0fe4d18
[ "Apache-2.0" ]
29
2018-01-24T15:46:47.000Z
2021-05-14T12:04:06.000Z
LEDTableApps/include/LEDTableApps/pong.hpp
michaelbarbera/LEDTableEngine
d7f5fd1e3030c0833086269a6c462954c0fe4d18
[ "Apache-2.0" ]
5
2018-05-03T20:03:36.000Z
2020-01-18T02:35:51.000Z
#ifndef _H_PONG_APP_ #define _H_PONG_APP_ #include <LEDTableEngine/core/baseApplication.hpp> namespace ledApps{ class Pong : public led::BaseApplication { protected: std::default_random_engine m_generator; std::uniform_real_distribution<float> m_randFloat; led::Pointf m_ballSpeed; led::Pointf m_ball...
20.723404
64
0.687885
michaelbarbera
931678f6c087b46d2355d1510252fd43c6bb1929
652
hpp
C++
src/engine/engine.hpp
MoriokaReimen/randballs
9566558524407ebce401afc6ef62b54b2057f86a
[ "MIT" ]
29
2018-05-17T14:08:16.000Z
2021-12-01T08:15:03.000Z
src/engine/engine.hpp
MoriokaReimen/randballs
9566558524407ebce401afc6ef62b54b2057f86a
[ "MIT" ]
4
2018-09-04T13:46:19.000Z
2020-05-15T16:05:35.000Z
src/engine/engine.hpp
MoriokaReimen/randballs
9566558524407ebce401afc6ef62b54b2057f86a
[ "MIT" ]
2
2020-03-30T05:19:37.000Z
2020-04-24T03:02:25.000Z
#pragma once #include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Window/Event.hpp> #include "graphics/scenemanager.hpp" #include "graphics/texturemanager.hpp" #define UPDATES_PER_SEC 60 #define TIMESTEP_N 1000000000 / UPDATES_PER_SEC #define TIMESTEP_S 1.f / UPDATES_PER_SEC class Engine { bool isRunning = true...
21.032258
66
0.760736
MoriokaReimen
931917a5ab54b49f9aae674635f95cef057eb835
1,493
hpp
C++
unlabeled_mapf/include/ten.hpp
Kei18/tswap
4f1fb59579c88de122d04a3760dbdda8aa82ba34
[ "MIT" ]
2
2022-02-13T23:31:31.000Z
2022-02-14T05:34:38.000Z
unlabeled_mapf/include/ten.hpp
AlbaIntelligence/unlabeled-MAPF
db60f8aa4a12dfee1d0736037372a6d3a93813ce
[ "MIT" ]
null
null
null
unlabeled_mapf/include/ten.hpp
AlbaIntelligence/unlabeled-MAPF
db60f8aa4a12dfee1d0736037372a6d3a93813ce
[ "MIT" ]
1
2022-03-18T00:07:47.000Z
2022-03-18T00:07:47.000Z
/* * Time Expanded Network, TEN */ #pragma once #include "lib_ten.hpp" #include "plan.hpp" #include "problem.hpp" class TEN { protected: Problem* const P; // original problem const Nodes V; // all nodes in G LibTEN::ResidualNetwork network; // main body bool valid_network; // Plan sol...
23.698413
73
0.679169
Kei18
7938be70891636dc4b0e5c1c580bab7aa7e657ad
2,607
cpp
C++
Base/RenderUnit.cpp
CrusaderCrab/YugiohPhantomRealm
79bd1e9948d2d2d29acf042fd412804c30562a8e
[ "Zlib" ]
13
2018-04-13T22:10:00.000Z
2022-01-01T08:26:23.000Z
Base/RenderUnit.cpp
CrusaderCrab/YugiohPhantomRealm
79bd1e9948d2d2d29acf042fd412804c30562a8e
[ "Zlib" ]
null
null
null
Base/RenderUnit.cpp
CrusaderCrab/YugiohPhantomRealm
79bd1e9948d2d2d29acf042fd412804c30562a8e
[ "Zlib" ]
3
2017-02-22T16:35:06.000Z
2019-12-21T20:39:23.000Z
#include <GL\glew.h> #include <Utility\ErrorHandler.h> #include <Base\RenderUnit.h> #include <Game\Animation\Camera.h> #include <Utility\DebugUnit.h> #include <Utility\TextPrinter.h> #include <Game\Cursor.h> #include <Utility\Clock.h> #include <Game\Animation\FadeUnit.h> #include <iostream>//needed to print glew error ...
24.828571
92
0.752589
CrusaderCrab
7938e3f9690c6ba7b1894e70ff4f95ec7b61b649
200,701
inl
C++
2d_samples/pmj02_339.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_339.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_339.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.574865222f, 0.717404485f}, std::array<float,2>{0.296307385f, 0.468312413f}, std::array<float,2>{0.941933513f, 0.0187484808f}, std::array<float,2>{0.11922197f, 0.795354962f}, std::array<float,2>{0.818768919f, 0.979393661f}, std::array<float,2>{0.129698187f, 0.156977192f}, std::array<float,2>{0.631...
48.999268
52
0.734685
st-ario
793a560eb76a88ec6330b05717b876b27a295a73
9,153
cc
C++
src/test/politetest.cc
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
2
2018-03-06T02:36:25.000Z
2020-01-13T10:55:35.000Z
src/test/politetest.cc
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
null
null
null
src/test/politetest.cc
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
null
null
null
/* <LICENSE> License for the MULTOVL multiple genomic overlap tools Copyright (c) 2007-2012, Dr Andras Aszodi, Campus Science Support Facilities GmbH (CSF), Dr-Bohr-Gasse 3, A-1030 Vienna, Austria, Europe. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permi...
26.763158
106
0.596526
aaszodi
793c3a394098bb31b07bb24892dfb35e0075e749
601
hpp
C++
src/threadpool.hpp
ASLeonard/pangenie
aeb0c2aa28bf69041755855306d32f5523371274
[ "MIT" ]
8
2021-12-10T10:30:08.000Z
2022-03-30T08:49:01.000Z
src/threadpool.hpp
ASLeonard/pangenie
aeb0c2aa28bf69041755855306d32f5523371274
[ "MIT" ]
7
2022-02-09T15:28:23.000Z
2022-03-22T10:12:50.000Z
src/threadpool.hpp
ASLeonard/pangenie
aeb0c2aa28bf69041755855306d32f5523371274
[ "MIT" ]
1
2022-02-08T09:56:36.000Z
2022-02-08T09:56:36.000Z
#ifndef THREADPOOL_HPP #define THREADPOOL_HPP #include <vector> #include <thread> #include <mutex> #include <condition_variable> #include <functional> #include <list> /** Code take from: http://www.mathematik.uni-ulm.de/numerik/pp/ss17/pp-folien-2017-05-18.pdf **/ class ThreadPool { public: using Job = std::functio...
20.033333
97
0.727121
ASLeonard
7941ae64bdd430f7f8aa71de41033a2f13b7cf57
18,312
cpp
C++
Seidon/src/Physics/PhysicSystem.cpp
Soarex/Seidon
65a59783e6fddb02670b1ba8c4f1e2e231a06f50
[ "Apache-2.0" ]
null
null
null
Seidon/src/Physics/PhysicSystem.cpp
Soarex/Seidon
65a59783e6fddb02670b1ba8c4f1e2e231a06f50
[ "Apache-2.0" ]
null
null
null
Seidon/src/Physics/PhysicSystem.cpp
Soarex/Seidon
65a59783e6fddb02670b1ba8c4f1e2e231a06f50
[ "Apache-2.0" ]
null
null
null
#include "PhysicSystem.h" #include "../Core/Application.h" #include "../Ecs/Entity.h" using namespace physx; namespace Seidon { void PhysicSystem::Init() { api = Application::Get()->GetPhysicsApi(); physics = api->GetPhysics(); PxSceneDesc sceneDesc(physics->getTolerancesScale()); sceneDesc.gravity = PxVe...
31.195911
127
0.749563
Soarex
79455d04392be106a44bc3fcce19fdd8c41f677e
2,864
cpp
C++
dsp++/src/flt_biquad.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
dsp++/src/flt_biquad.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
dsp++/src/flt_biquad.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
#include <dsp++/flt/biquad_design.h> #include <dsp++/const.h> #include <stdexcept> #include <cmath> void dsp::biquad::design(double b[], double a[], biquad::type::spec type, double norm_freq, const double* gain_db, const double* q, const double* bw, const double* s) { if (norm_freq < 0. || norm_freq > 0.5) ...
33.302326
167
0.519553
andrzejc
794796ffd91e2fbc8d202c6deab7eefc46fd98dc
5,076
cc
C++
towr/src/spline_holder.cc
IoannisDadiotis/towr
cbbe6d30d637b4271558e31bf522536451a9110c
[ "BSD-3-Clause" ]
null
null
null
towr/src/spline_holder.cc
IoannisDadiotis/towr
cbbe6d30d637b4271558e31bf522536451a9110c
[ "BSD-3-Clause" ]
null
null
null
towr/src/spline_holder.cc
IoannisDadiotis/towr
cbbe6d30d637b4271558e31bf522536451a9110c
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** Copyright (c) 2018, Alexander W. Winkler. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code...
55.173913
135
0.709811
IoannisDadiotis
794e9f968002a5779ef3c130f756770cfa6ba52a
1,918
cpp
C++
startalk_ui/messagebubble/MessageAddFriends.cpp
xuepingiw/open_source_startalk
44d962b04039f5660ec47a10313876a0754d3e72
[ "MIT" ]
34
2019-03-18T08:09:24.000Z
2022-03-15T02:03:25.000Z
startalk_ui/messagebubble/MessageAddFriends.cpp
venliong/open_source_startalk
51fda091a932a8adea626c312692836555753a9a
[ "MIT" ]
5
2019-05-29T09:32:05.000Z
2019-08-29T03:01:33.000Z
startalk_ui/messagebubble/MessageAddFriends.cpp
venliong/open_source_startalk
51fda091a932a8adea626c312692836555753a9a
[ "MIT" ]
32
2019-03-15T09:43:22.000Z
2021-08-10T08:26:02.000Z
#include "MessageAddFriends.h" #include "XmppMessage.h" MessageAddingFriend::MessageAddingFriend() { } MessageAddingFriend::~MessageAddingFriend() { } int MessageAddingFriend::getMessageMediaType() { return 0; } bool MessageAddingFriend::getTranslatedMessage(QSharedPointer<Biz::XmppMessage> spMessage, QString& ...
24.909091
130
0.707508
xuepingiw
7953225d9e5e5e2822bc499789723fb186804cc8
1,832
hpp
C++
src/utils.hpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
src/utils.hpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
src/utils.hpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
// utils.hpp // // Collection of reusable code bits for luaconfig #ifndef __LUACONFIG_UTILS_HPP #define __LUACONFIG_UTILS_HPP #include <tuple> #include <functional> namespace luaconfig { // Is type T a std::tuple? template<class T> struct is_tuple { static const bool value = false; }; template<class... Args> s...
22.617284
72
0.632096
LiamPattinson
795566e958e921525140d4e598fad45cb36429cb
2,117
cpp
C++
src/util/NetworkStatus.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
null
null
null
src/util/NetworkStatus.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
7
2018-10-18T14:08:39.000Z
2022-03-31T08:34:07.000Z
src/util/NetworkStatus.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
8
2018-10-17T11:33:09.000Z
2021-11-04T18:15:24.000Z
// Copyright (c) 2008-2018 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
34.145161
87
0.674067
jdapena
7957f3d59aba96a1a8876a15bad3007dc32c9382
627
cpp
C++
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva573.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva573.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva573.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
/**** *@PoloShen *Title:UVa 573 */ #include <iostream> #include <cstring> #include <cstdio> #include <cmath> using namespace std; double H, U, D, F; void solve(){ double height = 0, down = U * F / 100.0; int cnt = 1; while (1){ if (U > 0) height += U; if (height > H) {printf("success on ...
20.225806
66
0.484848
bilibiliShen
7958d866dc84702a234799126c4c173ad2931627
49
cpp
C++
Source/EngineStd/EventManager/BaseEvent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
2
2015-12-30T00:32:09.000Z
2016-02-27T14:50:06.000Z
Source/EngineStd/EventManager/BaseEvent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
Source/EngineStd/EventManager/BaseEvent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
#include "EngineStd.h" #include "BaseEvent.h"
8.166667
22
0.693878
vivienneanthony
7961d2155bc822e8edcde64ac63a6b6b5c91e1c7
971
cpp
C++
object_tracking/main.cpp
mmmfarrell/robotic_vision
3657b54578a7e2f7fbc899fbca39d991fe211c1e
[ "MIT" ]
null
null
null
object_tracking/main.cpp
mmmfarrell/robotic_vision
3657b54578a7e2f7fbc899fbca39d991fe211c1e
[ "MIT" ]
null
null
null
object_tracking/main.cpp
mmmfarrell/robotic_vision
3657b54578a7e2f7fbc899fbca39d991fe211c1e
[ "MIT" ]
null
null
null
/* * File: main.cpp * Author: sagar * * Created on 10 September, 2012, 7:48 PM */ #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> using namespace cv; using namespace std; int main() { VideoCapture vcap(0); //0 is the id of video device.0 if you have only one...
24.275
107
0.624099
mmmfarrell
79655bde8a58ee06340ddf8635624d7121bc697e
88,325
cpp
C++
src/AdvCmpProc.cpp
FarPlugins/AdvCmpEx
f8f308b51dfd42b7f45766455370a066d10bfaee
[ "BSD-3-Clause" ]
6
2021-01-20T08:45:30.000Z
2022-01-23T09:39:58.000Z
src/AdvCmpProc.cpp
FarPlugins/AdvCmpEx
f8f308b51dfd42b7f45766455370a066d10bfaee
[ "BSD-3-Clause" ]
5
2021-01-04T19:02:34.000Z
2021-02-01T16:32:05.000Z
src/AdvCmpProc.cpp
FarPlugins/AdvCmpEx
f8f308b51dfd42b7f45766455370a066d10bfaee
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * AdvCmpProc.cpp * * Plugin module for Far Manager 3.0 * * Copyright (c) 2006 Alexey Samlyukov ****************************************************************************/ /* Redistribution and use in source and binary forms, with or w...
35.217305
159
0.545044
FarPlugins
796aa03fe3dcccda61d9ae14f2afbd5bf64e3eef
9,496
hpp
C++
include/HoudiniEngineUnity/HEU_HandleParamBinding.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_HandleParamBinding.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_HandleParamBinding.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: HoudiniEngineUnity.IEquivable`1 #in...
54.574713
233
0.760531
RedBrumbler
796aaf1229fc37e7335cca05666c6c6e8e1935fa
9,377
cpp
C++
CMinus/CMinus/type/type_object.cpp
benbraide/CMinusMinus
6e32b825f192634538b3adde6ca579a548ca3f7e
[ "MIT" ]
null
null
null
CMinus/CMinus/type/type_object.cpp
benbraide/CMinusMinus
6e32b825f192634538b3adde6ca579a548ca3f7e
[ "MIT" ]
null
null
null
CMinus/CMinus/type/type_object.cpp
benbraide/CMinusMinus
6e32b825f192634538b3adde6ca579a548ca3f7e
[ "MIT" ]
null
null
null
#include "../node/node_object.h" #include "../storage/global_storage.h" #include "../evaluator/initializer.h" #include "../evaluator/evaluator_object.h" #include "class_type.h" #include "primitive_type.h" cminus::type::object::object(const std::string &name, storage::object *parent) : name_(name), parent_(parent){}...
30.845395
171
0.743948
benbraide
7970282347f5360f8a46d77d47cebe6e07d9675e
584
cpp
C++
PKU/Introduction to Calculation A/Homework/5-Phrase_1_Coding_Practice_(3)/5-2-no_of_4digits_num_satisfy_condition.cpp
sailinglove/personal-general
b2e932dcd7989bdf856d4852e38f96cbbfc9c907
[ "MIT" ]
1
2020-06-19T11:47:23.000Z
2020-06-19T11:47:23.000Z
PKU/Introduction to Calculation A/Homework/5-Phrase_1_Coding_Practice_(3)/5-2-no_of_4digits_num_satisfy_condition.cpp
sailinglove/personal-general
b2e932dcd7989bdf856d4852e38f96cbbfc9c907
[ "MIT" ]
null
null
null
PKU/Introduction to Calculation A/Homework/5-Phrase_1_Coding_Practice_(3)/5-2-no_of_4digits_num_satisfy_condition.cpp
sailinglove/personal-general
b2e932dcd7989bdf856d4852e38f96cbbfc9c907
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int num = 0, sum = 0; cin >> num; int array[32] = {0}; for (int i = 0; i < num; i++) { cin >> array[i]; } int thousands = 0, hundreds = 0, tens = 0; for (int i = 0; i < num; i++) { thousands = array[i] / 1000; ...
22.461538
59
0.429795
sailinglove
7971bc9a6662e77d376e350801981e9b77f8e166
701
cpp
C++
Qt/1/44_qundoview/command.cpp
alientek-openedv/Embedded-Qt-Tutorial
3c75142235b4d39c22e1ad56a5bd92d08c1a0d42
[ "MIT" ]
1
2022-02-21T03:19:36.000Z
2022-02-21T03:19:36.000Z
Qt/1/44_qundoview/command.cpp
alientek-openedv/Embedded-Qt-Tutorial
3c75142235b4d39c22e1ad56a5bd92d08c1a0d42
[ "MIT" ]
null
null
null
Qt/1/44_qundoview/command.cpp
alientek-openedv/Embedded-Qt-Tutorial
3c75142235b4d39c22e1ad56a5bd92d08c1a0d42
[ "MIT" ]
1
2021-10-19T04:03:56.000Z
2021-10-19T04:03:56.000Z
#include "command.h" #include <QDebug> addCommand::addCommand(int *value, QUndoCommand *parent) { /* 使用Q_UNUSED,避免未使用的数据类型 */ Q_UNUSED(parent); /* undoView显示的操作信息 */ setText("进行了加1操作"); /* value的地址赋值给new_count */ new_count = value; /* 让构造函数传过来的*new_count的值赋值给old_count */ old_count = ...
15.577778
56
0.616262
alientek-openedv
7974112d42495828b4d62405446e4d498f09aefa
1,127
cpp
C++
PC_Parcial_1/Parcial E.8/ADAPLANT.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
PC_Parcial_1/Parcial E.8/ADAPLANT.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
PC_Parcial_1/Parcial E.8/ADAPLANT.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #define MAXN 100010 using namespace std; const int INF = 1e9 + 1; int arvore[4*MAXN],vetor[MAXN],n; void build(int pos,int left,int right){ if(left == right){ arvore[pos] = vetor[left]; return; } int mid = (left + right)/2; build(2*pos,left,mid); build(2*pos+1,mid+1,right...
19.431034
99
0.570541
ElizabethYasmin
7979a594370db7520f2625c9eab9919298e59526
654
hpp
C++
test/StdUnorderedSetTester.hpp
andybui01/Bloom
20cc1bbb03f84c6f96a191f92e596013c9ac2da9
[ "MIT" ]
null
null
null
test/StdUnorderedSetTester.hpp
andybui01/Bloom
20cc1bbb03f84c6f96a191f92e596013c9ac2da9
[ "MIT" ]
null
null
null
test/StdUnorderedSetTester.hpp
andybui01/Bloom
20cc1bbb03f84c6f96a191f92e596013c9ac2da9
[ "MIT" ]
null
null
null
#ifndef TEST_STDUNORDEREDSETTESTER_HPP #define TEST_STDUNORDEREDSETTESTER_HPP #include <vector> #include <string> #include <unordered_set> #include "Tester.hpp" class StdUnorderedSetTester : public Tester { private: std::unordered_set<std::string> set; public: void insert_words(std::vector<std::string> inse...
21.096774
60
0.665138
andybui01
797d0076aa32a4c6c064861da6620d03e30cabfe
592
cpp
C++
engine/kotek.core.defines.static.render.vk/src/main_core_defines_static_render_vk_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
engine/kotek.core.defines.static.render.vk/src/main_core_defines_static_render_vk_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
engine/kotek.core.defines.static.render.vk/src/main_core_defines_static_render_vk_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
#include "../include/kotek_core_defines_static_render_vk.h" namespace Kotek { namespace Core { bool InitializeModule_Core_Defines_Static_Render_Vulkan( ktkMainManager* p_manager) { return true; } bool ShutdownModule_Core_Defines_Static_Render_Vulkan( ktkMainManager* p_manager) { return true; ...
19.096774
59
0.760135
wh1t3lord
79816129fb95ffeb8cebc2ae22fd0f81a93f633b
6,886
cpp
C++
src/minami/so_routing.cpp
AlanPi1992/MAC-POSTS
4e4ed3bb6faa5ebd0aa5059b2dfff103fe8f1961
[ "MIT" ]
18
2017-03-02T20:12:11.000Z
2022-03-11T02:38:38.000Z
src/minami/so_routing.cpp
AlanPi1992/MAC-POSTS
4e4ed3bb6faa5ebd0aa5059b2dfff103fe8f1961
[ "MIT" ]
7
2019-02-26T04:11:49.000Z
2019-09-16T05:43:17.000Z
src/minami/so_routing.cpp
Lemma1/MAC-POSTS
7e3d0fe2d34a2f3d1edc8c33059e9c84868bd236
[ "MIT" ]
19
2017-08-18T04:11:25.000Z
2022-03-11T02:38:43.000Z
#include "routing.h" /************************************************************************** Pre determined Routing **************************************************************************/ MNM_Routing_Predetermined::MNM_Routing_Predetermined(PNEGraph &graph, MNM_OD_Facto...
40.034884
129
0.615452
AlanPi1992
7982d8a08bdb36fa2ff451f487c35e6603cf9251
6,065
cpp
C++
src/msix/pack/AppxBlockMapWriter.cpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
486
2018-03-07T17:15:03.000Z
2019-05-06T20:05:44.000Z
src/msix/pack/AppxBlockMapWriter.cpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
172
2019-05-14T18:56:36.000Z
2022-03-30T16:35:24.000Z
src/msix/pack/AppxBlockMapWriter.cpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
83
2019-05-29T18:38:36.000Z
2022-03-17T07:34:16.000Z
// // Copyright (C) 2019 Microsoft. All rights reserved. // See LICENSE file in the project root for full license information. // #include "XmlWriter.hpp" #include "AppxBlockMapWriter.hpp" #include "StringHelper.hpp" #include <vector> namespace MSIX { /* <BlockMap HashMethod="http://www....
44.925926
149
0.662325
palenshus
7985ad3ee126ec191ccc2f9055bf24c050a7af10
1,008
cpp
C++
openjudge/02/03/6262.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2020-07-22T16:54:07.000Z
2020-07-22T16:54:07.000Z
openjudge/02/03/6262.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2018-05-12T12:53:06.000Z
2018-05-12T12:53:06.000Z
openjudge/02/03/6262.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <iostream> int main () { char list [100][100]; char list2[100][100]; int n; scanf ("%d", &n); int d; for (int a = 0; a < n; a += 1) { scanf ("%c", &d); for (int b = 0; b < n; b += 1) scanf ("%c", &list [a][b]); } std::cin >> d; for (int f = 0; f < d-1; f += 1) { for (int...
21.913043
66
0.369048
TheBadZhang
7985bb529ecb9dde61be6dee805bd99363b5ea51
8,881
cpp
C++
examples/tartool/tartool.cpp
Vladimir-Lin/QtTAR
47a6757f5c072d9e0977658fbcc45be0471cb9b2
[ "MIT" ]
null
null
null
examples/tartool/tartool.cpp
Vladimir-Lin/QtTAR
47a6757f5c072d9e0977658fbcc45be0471cb9b2
[ "MIT" ]
null
null
null
examples/tartool/tartool.cpp
Vladimir-Lin/QtTAR
47a6757f5c072d9e0977658fbcc45be0471cb9b2
[ "MIT" ]
null
null
null
#include <QtCore> #include <QtTar> #if defined(Q_OS_WIN) #include <windows.h> #endif class TarBALL : public QtTarBall { public: explicit TarBALL (void) ; virtual ~TarBALL (void) ; protected: virtual bool Interval (void) ; virtual void Report (void * hiddenFileInfo) ; ...
37.952991
79
0.267988
Vladimir-Lin
7988ee511f1e67bc9e88b0662839c219bea8e89c
2,715
cpp
C++
src/generated/rpg_savepicture.cpp
BeWorld2018/liblcf
01b73de93cf80185fcdf3ffd4737dfdb9111a85e
[ "MIT" ]
72
2015-01-03T12:04:47.000Z
2022-03-14T23:40:24.000Z
src/generated/rpg_savepicture.cpp
BeWorld2018/liblcf
01b73de93cf80185fcdf3ffd4737dfdb9111a85e
[ "MIT" ]
207
2015-01-03T11:00:17.000Z
2022-02-25T15:50:25.000Z
src/generated/rpg_savepicture.cpp
BeWorld2018/liblcf
01b73de93cf80185fcdf3ffd4737dfdb9111a85e
[ "MIT" ]
42
2015-01-07T12:30:40.000Z
2022-02-11T12:05:05.000Z
/* !!!! GENERATED FILE - DO NOT EDIT !!!! * -------------------------------------- * * This file is part of liblcf. Copyright (c) 2021 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright ...
36.689189
77
0.641621
BeWorld2018
79897611df6eda188cd6c98bc4d5ac175a77bfe6
1,656
cc
C++
src/pks/mpc_pk/ChemistryMatrixFracture_PK.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/mpc_pk/ChemistryMatrixFracture_PK.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/mpc_pk/ChemistryMatrixFracture_PK.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* This is the mpc_pk component of the Amanzi code. Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Authors: Konstantin Lipnikov ...
33.12
105
0.533816
fmyuan
798e1b5c6185a904dc0b297593fda4d8f09b7601
446
hpp
C++
src/centurion/detail/czstring_compare.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
126
2020-12-05T00:05:56.000Z
2022-03-30T15:15:03.000Z
src/centurion/detail/czstring_compare.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
46
2020-12-27T14:25:22.000Z
2022-01-26T13:58:11.000Z
src/centurion/detail/czstring_compare.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
13
2021-01-20T20:50:18.000Z
2022-03-25T06:59:03.000Z
#ifndef CENTURION_DETAIL_CZSTRING_COMPARE_HEADER #define CENTURION_DETAIL_CZSTRING_COMPARE_HEADER #include "../core/str.hpp" #include "czstring_eq.hpp" /// \cond FALSE namespace cen::detail { struct czstring_compare final { auto operator()(const str lhs, const str rhs) const noexcept -> bool { return detail:...
20.272727
70
0.748879
twantonie
79907086e98fa3d21f45c1c9e02963e4a4d9fe2f
2,003
cpp
C++
Daa_Greedy1/A_3/program3.cpp
anuj0405/DAA
3ea853200317dd1b588d56e7d24f65d66821040c
[ "MIT" ]
1
2020-02-01T20:19:44.000Z
2020-02-01T20:19:44.000Z
Daa_Greedy1/A_3/program3.cpp
anuj0405/DAA
3ea853200317dd1b588d56e7d24f65d66821040c
[ "MIT" ]
null
null
null
Daa_Greedy1/A_3/program3.cpp
anuj0405/DAA
3ea853200317dd1b588d56e7d24f65d66821040c
[ "MIT" ]
null
null
null
#include<chrono> #include<vector> #include<fstream> #include<iostream> using namespace std::chrono; using namespace std; class sort { public: long a,cm=0; int i=0,j=0; vector<double> v1; void mergesort(int,int); void merge_count(int,int,int); void countingversion(int); }; static long long int count...
14.837037
86
0.560659
anuj0405
799a2031763ecbcf92a6d09dd52f2474a5dbe48b
11,954
cpp
C++
solClientThread.cpp
brandonto/topic-monitor
d3aa666e92e13e93abe8539799c98f985b79f1bb
[ "BSD-3-Clause" ]
2
2019-10-22T22:05:09.000Z
2020-02-02T05:42:19.000Z
solClientThread.cpp
brandonto/topic-monitor
d3aa666e92e13e93abe8539799c98f985b79f1bb
[ "BSD-3-Clause" ]
null
null
null
solClientThread.cpp
brandonto/topic-monitor
d3aa666e92e13e93abe8539799c98f985b79f1bb
[ "BSD-3-Clause" ]
null
null
null
//****************************************************************************** // // Copyright (c) 2019, Brandon To // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions o...
33.391061
103
0.678267
brandonto
79a0bb73780abbea33fe3c5fc98eedf1f634ef65
110
hpp
C++
libcaramel/adapters/queue.hpp
Wmbat/libcaramel
71bd054aea82b081f202f52b7d24226871123b3f
[ "MIT" ]
2
2020-12-19T04:00:41.000Z
2021-09-11T19:28:29.000Z
libcaramel/adapters/queue.hpp
Wmbat/libcaramel
71bd054aea82b081f202f52b7d24226871123b3f
[ "MIT" ]
4
2021-05-11T22:52:16.000Z
2021-05-16T20:43:31.000Z
libcaramel/adapters/queue.hpp
Wmbat/libcaramel
71bd054aea82b081f202f52b7d24226871123b3f
[ "MIT" ]
1
2021-01-06T04:05:56.000Z
2021-01-06T04:05:56.000Z
#pragma once namespace caramel { template <typename Any> class queue { }; } // namespace caramel
11
26
0.645455
Wmbat
79a346ce41317849a953cf58e572534c4526d437
705
cpp
C++
leetcode/problems/easy/69-sqrtx.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/69-sqrtx.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/69-sqrtx.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Sqrt(x) https://leetcode.com/problems/sqrtx/ Given a non-negative integer x, compute and return the square root of x. Since the return type is an integer, the decimal digits are truncated, and only the integer part of the result is returned. Example 1: Input: x = 4 Output: 2 Example 2: Input: x = 8 Output: 2 E...
20.735294
123
0.575887
wingkwong
79a58e6f679687548894f8a39e10181acd6d6672
6,857
cc
C++
script/api/api_simple.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
38
2017-07-26T14:48:12.000Z
2022-03-24T23:48:55.000Z
script/api/api_simple.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
74
2017-03-15T21:07:34.000Z
2022-03-18T07:53:11.000Z
script/api/api_simple.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
43
2017-03-10T15:27:28.000Z
2022-03-05T10:55:38.000Z
/* * This file is part of the Simutrans-Extended project under the Artistic License. * (see LICENSE.txt) */ #include "api.h" /** @file api_simple.cc exports simple data types. */ #include "api_simple.h" #include "../api_class.h" #include "../api_function.h" #include "../../dataobj/ribi.h" #include "../../simworld...
27.873984
96
0.684264
chris-nada
79a6b9efe0dd1aecd62e87a7f901339e21cd22f3
5,238
cpp
C++
src/core/Collection.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
3
2020-05-10T16:52:35.000Z
2021-03-12T08:06:06.000Z
src/core/Collection.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
null
null
null
src/core/Collection.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
null
null
null
#include "Collection.h" #include "g3log/g3log.hpp" #include "search/IndexSearcher.h" namespace Skilo { using namespace Schema; Collection::Collection(const CollectionMeta &collection_meta,StorageService *storage_service,const SkiloConfig &config): _collection_id(collection_meta.get_collection_id()), _collect...
35.391892
130
0.734822
demonatic
79a6d5cac7c48459079f05a2b5cbca81a4a52e94
1,180
hpp
C++
test/test_parent_parsers.hpp
MasterMann/argparse
e6a8802551d54fbd5a9eefb543239776dc763e96
[ "MIT" ]
3
2019-12-31T09:13:42.000Z
2021-11-25T12:26:20.000Z
test/test_parent_parsers.hpp
MasterMann/argparse
e6a8802551d54fbd5a9eefb543239776dc763e96
[ "MIT" ]
20
2019-12-24T16:57:30.000Z
2019-12-29T03:34:03.000Z
test/test_parent_parsers.hpp
MasterMann/argparse
e6a8802551d54fbd5a9eefb543239776dc763e96
[ "MIT" ]
1
2020-01-05T00:25:11.000Z
2020-01-05T00:25:11.000Z
#pragma once #include <catch.hpp> #include <argparse.hpp> TEST_CASE("Add parent parsers", "[parent_parsers]") { argparse::ArgumentParser parent_parser("main"); parent_parser.add_argument("--verbose") .default_value(false) .implicit_value(true); argparse::ArgumentParser child_parser("foo"); child_parse...
34.705882
72
0.688983
MasterMann
79a7d6d4510165a7845990b23d244c0fb1d66cd9
2,948
hpp
C++
Tools/AtlasViewer/src/AtlasViewer.hpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
Tools/AtlasViewer/src/AtlasViewer.hpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
Tools/AtlasViewer/src/AtlasViewer.hpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <unordered_map> #include <vector> #include <string> #include <cstdint> #include <fstream> #include <stb_image.h> #include <GraphicsCommon.hpp> #include <Types.hpp> #include <Utils.hpp> #include <Assets.hpp> #include <fmt/format.h> #include <filesystem> static LPSTR* CommandL...
22.165414
98
0.712008
palikar
79b0849accd41d291fd083601cea7d4fe92782cf
764
cpp
C++
third_party/libprocess/src/synchronized.cpp
clearstorydata/mesos
4164125048c6635a4d0dbe72daf243457b0f325b
[ "Apache-2.0" ]
1
2019-02-17T15:56:26.000Z
2019-02-17T15:56:26.000Z
third_party/libprocess/src/synchronized.cpp
yubo/mesos
b177a56a4c4343e87e3eead34863a63a2e91db94
[ "Apache-2.0" ]
null
null
null
third_party/libprocess/src/synchronized.cpp
yubo/mesos
b177a56a4c4343e87e3eead34863a63a2e91db94
[ "Apache-2.0" ]
3
2017-07-10T07:28:30.000Z
2020-07-25T19:48:07.000Z
#include "synchronized.hpp" using std::string; static string s1; static synchronizable(s1); static string s2; static synchronizable(s2) = SYNCHRONIZED_INITIALIZER; static string s3; static synchronizable(s3) = SYNCHRONIZED_INITIALIZER_RECURSIVE; void bar() { synchronized(s3) { } } void foo() { synchroni...
11.402985
63
0.653141
clearstorydata
79b5adc304ce24f89fe0b3f5e6b412245010db7e
6,564
hpp
C++
modules/concurrency/include/shard/concurrency/channel.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
modules/concurrency/include/shard/concurrency/channel.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
modules/concurrency/include/shard/concurrency/channel.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Miklos Molnar. All rights reserved. #ifndef SHARD_CONCURRENCY_CHANNEL_HPP #define SHARD_CONCURRENCY_CHANNEL_HPP #include <shard/core/non_copyable.hpp> #include <shard/optional.hpp> #include <atomic> #include <condition_variable> #include <mutex> #include <queue> #include <utility> namespace sh...
28.663755
79
0.587599
ikimol
79b7bc50e3feec0d780bc392d247762da59b9b34
352
cpp
C++
Practice Programs/alice_bob_cindi_dani.cpp
SR-Sunny-Raj/CPP_Language_Programs
3e10a365187f70cc473c5b62155ff51dc12e38b8
[ "MIT" ]
3
2021-02-04T17:59:00.000Z
2022-01-29T17:21:42.000Z
Practice Programs/alice_bob_cindi_dani.cpp
SR-Sunny-Raj/CPP_Language_Programs
3e10a365187f70cc473c5b62155ff51dc12e38b8
[ "MIT" ]
null
null
null
Practice Programs/alice_bob_cindi_dani.cpp
SR-Sunny-Raj/CPP_Language_Programs
3e10a365187f70cc473c5b62155ff51dc12e38b8
[ "MIT" ]
3
2021-10-02T14:38:21.000Z
2021-10-05T06:19:22.000Z
#include <iostream> using namespace std; int main() { string str1, str2, str3; cin >> str1 >> str2 >> str3; if (str1 != "Alice") cout << "Alice" << endl; else if (str2 != "Bob") cout << "Bob" << endl; else if (str3 != "Cindy") cout << "Cindy" << endl; else cout <<...
22
32
0.485795
SR-Sunny-Raj
79ba07b4f83837cb53909d50b2cf9aa25a796e3e
3,963
hxx
C++
src/core/include/ivy/io/transcodechannel.hxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
src/core/include/ivy/io/transcodechannel.hxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
src/core/include/ivy/io/transcodechannel.hxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
/* * Copyright (c) 2019, 2020, 2021 SiKol Ltd. * Distributed under the Boost Software License, Version 1.0. */ #ifndef IVY_IO_TRANSCODECHANNEL_HXX_INCLUDED #define IVY_IO_TRANSCODECHANNEL_HXX_INCLUDED #include <deque> #include <span> #include <system_error> #include <ivy/charenc.hxx> #include <ivy/ex...
35.383929
81
0.574817
sikol
79ba1de0a45375b206513f390cf7fa8e7a7a3e38
153
cpp
C++
src/mango/core/wire/request/ScenarioRequest.cpp
vero-zhang/mango
0cc8d34a8b729151953df41a7e9cd26324345d44
[ "MIT" ]
null
null
null
src/mango/core/wire/request/ScenarioRequest.cpp
vero-zhang/mango
0cc8d34a8b729151953df41a7e9cd26324345d44
[ "MIT" ]
null
null
null
src/mango/core/wire/request/ScenarioRequest.cpp
vero-zhang/mango
0cc8d34a8b729151953df41a7e9cd26324345d44
[ "MIT" ]
null
null
null
#include "mango/core/wire/request/ScenarioRequest.h" MANGO_NS_BEGIN ScenarioRequest::ScenarioRequest(const Tags& tags) : tags(tags) {} MANGO_NS_END
15.3
52
0.784314
vero-zhang
79be6d71569663060fd3db563a97ed31f9a909d9
13,800
cpp
C++
src/commands/ScreenshotCommand.cpp
Audacity-Team/Audacity
61cdb408abcb2260c539cdffb1602a33e366ec2d
[ "CC-BY-3.0", "MIT" ]
24
2015-01-22T13:55:17.000Z
2021-06-25T09:41:19.000Z
src/commands/ScreenshotCommand.cpp
Audacity-Team/Audacity
61cdb408abcb2260c539cdffb1602a33e366ec2d
[ "CC-BY-3.0", "MIT" ]
null
null
null
src/commands/ScreenshotCommand.cpp
Audacity-Team/Audacity
61cdb408abcb2260c539cdffb1602a33e366ec2d
[ "CC-BY-3.0", "MIT" ]
14
2015-01-12T23:13:35.000Z
2021-01-16T09:02:41.000Z
/********************************************************************** Audacity - A Digital Audio Editor Copyright 1999-2009 Audacity Team License: GPL v2 - see LICENSE.txt Dominic Mazzoni Dan Horgan ******************************************************************//** \class ScreenshotCommand \bri...
28.105906
81
0.613768
Audacity-Team
79bf2bc92a01302721f77adb1ee71cde7d736086
282
cpp
C++
C++Code/1008.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
C++Code/1008.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
C++Code/1008.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
//Questão: Salario #include <iostream> #include <iomanip> using namespace std; int main() { int N, HT; cin >> N >> HT; float SH; cin >> SH; cout << "NUMBER = "<< N <<endl; cout << fixed << setprecision(2); cout << "SALARY = U$ "<< HT*SH <<endl; return 0; }
16.588235
41
0.546099
CrystianPrintes20
79c2cc0898a994722fcb1ac0a5d0af17bc6cb10a
106
cpp
C++
test/llvm_test_code/module_wise/module_wise_8/src1.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
1
2022-02-15T07:56:29.000Z
2022-02-15T07:56:29.000Z
test/llvm_test_code/module_wise/module_wise_8/src1.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
test/llvm_test_code/module_wise/module_wise_8/src1.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
#include "src1.h" void foo(int &a, int &b, int &c) { c = a + b; inc(c); } void inc(int &a) { ++a; }
11.777778
34
0.471698
janniclas
79c2f119428a404b6b860101ce8b18f947f5bdee
478
cpp
C++
nd-coursework/books/cpp/C++Templates/basics/myfirstmain.cpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++Templates/basics/myfirstmain.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++Templates/basics/myfirstmain.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2017 by Addison-Wesley, David Vandevoorde, Nicolai M. Josuttis, and Douglas Gregor. All rights reserved. // See the LICENSE file in the project root for more information. // // Name: myfirstmain.cpp // Author: crdrisko // Date: 08/12/2020-14:52:01 // Description: Using the printTypeof<> template #incl...
29.875
121
0.658996
crdrisko
79c537fe27718a983781d5afb6576759b3fcd8f2
26,326
cpp
C++
untests/flat_map_tests.cpp
BlackMATov/flat.hpp
98184d75a8227e47ac426b590fd23ead4859bb88
[ "MIT" ]
71
2019-05-04T01:34:33.000Z
2022-01-31T13:46:47.000Z
untests/flat_map_tests.cpp
BlackMATov/flat.hpp
98184d75a8227e47ac426b590fd23ead4859bb88
[ "MIT" ]
21
2019-05-04T11:23:59.000Z
2020-11-29T22:26:24.000Z
untests/flat_map_tests.cpp
BlackMATov/flat.hpp
98184d75a8227e47ac426b590fd23ead4859bb88
[ "MIT" ]
1
2019-05-06T11:04:38.000Z
2019-05-06T11:04:38.000Z
/******************************************************************************* * This file is part of the "https://github.com/blackmatov/flat.hpp" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2019-2021, by Matvey Cherevko (blackmatov@gmail.com) *********************...
40.009119
139
0.517245
BlackMATov
79c86d2dcdb409c36b8cbd454c4c168756a080fc
594
cc
C++
src/opustags.cc
hackerb9/opustags
3d941961c88053259b4d249675f8903b80c6f7c6
[ "BSD-3-Clause" ]
38
2016-07-10T03:01:26.000Z
2022-03-17T16:17:17.000Z
src/opustags.cc
hackerb9/opustags
3d941961c88053259b4d249675f8903b80c6f7c6
[ "BSD-3-Clause" ]
51
2016-03-16T10:51:50.000Z
2022-02-25T19:50:57.000Z
src/opustags.cc
hackerb9/opustags
3d941961c88053259b4d249675f8903b80c6f7c6
[ "BSD-3-Clause" ]
9
2018-05-31T18:11:08.000Z
2022-03-17T16:18:05.000Z
/** * \file src/opustags.cc * \brief Main function for opustags. * * See opustags.h for the program's documentation. */ #include <opustags.h> #include <locale.h> /** * Main function of the opustags binary. * * Does practically nothing but call the cli module. */ int main(int argc, char** argv) { try { se...
20.482759
57
0.636364
hackerb9
79c8b503e1bfbf60f47f62b2be068268d4869a83
48,323
cpp
C++
test/TestApp/AutoGenTests/AutoGenSharedGroupsTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
null
null
null
test/TestApp/AutoGenTests/AutoGenSharedGroupsTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
null
null
null
test/TestApp/AutoGenTests/AutoGenSharedGroupsTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
null
null
null
#include "TestAppPch.h" #include "TestContext.h" #include "TestApp.h" #include "AutoGenSharedGroupsTests.h" #include "XAsyncHelper.h" #include "playfab/PFAuthentication.h" namespace PlayFabUnit { using namespace PlayFab::Wrappers; AutoGenSharedGroupsTests::SharedGroupsTestData AutoGenSharedGroupsTests::testData; vo...
48.959473
215
0.788672
jasonsandlin
79caa9119b3a31843cdeacb6ea0fbeabbaf47076
7,854
cpp
C++
cpu_seg.cpp
kele/cuda_image_segmentation
1d9aa1c83e73ed1af29640e7fcc909abfb355439
[ "MIT" ]
null
null
null
cpu_seg.cpp
kele/cuda_image_segmentation
1d9aa1c83e73ed1af29640e7fcc909abfb355439
[ "MIT" ]
null
null
null
cpu_seg.cpp
kele/cuda_image_segmentation
1d9aa1c83e73ed1af29640e7fcc909abfb355439
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <deque> #include "cpu_seg.hpp" void push_relabel(ImageGraph &g); void segmentation_cpu(int width, int height, const pixel_t *image, const pixel_t *marks, pixel_t *segmented_image) { typedef ImageGraph::regular_node_t regular_n...
31.926829
85
0.424879
kele
79d3efe7cc270b106db582ae299dfe961d32a5ab
1,601
cc
C++
src/TRAINING/io.cc
DrAugus/augus_cpp
ba46aae72cd7e91052dd17985f1625efd146b0fa
[ "MIT" ]
null
null
null
src/TRAINING/io.cc
DrAugus/augus_cpp
ba46aae72cd7e91052dd17985f1625efd146b0fa
[ "MIT" ]
1
2022-03-10T03:17:07.000Z
2022-03-10T03:17:07.000Z
src/TRAINING/io.cc
DrAugus/cpp
ba46aae72cd7e91052dd17985f1625efd146b0fa
[ "MIT" ]
null
null
null
// // Created by AUGUS on 2021/8/9. // #include "io.hh" #include "gtest/gtest.h" std::string binaryToHex(const std::string &binaryStr) { std::string ret; static const char *hex = "0123456789ABCDEF"; for (auto c:binaryStr) { ret.push_back(hex[(c >> 4) & 0xf]); //取二进制高四位 ret.push_back(hex[c ...
24.630769
178
0.532167
DrAugus
79d49e69821340407b9782f046431279be1cc256
1,953
cc
C++
src/graphics/color_test.cc
kofuk/pixel-terrain
f39e2a0120aab5a11311f57cfd1ab46efa65fddd
[ "MIT" ]
2
2020-10-16T08:46:45.000Z
2020-11-04T02:19:19.000Z
src/graphics/color_test.cc
kofuk/minecraft-image-generator
ef2f7deb2daac7f7c2cfb468ef39e0cdc8b33db7
[ "MIT" ]
null
null
null
src/graphics/color_test.cc
kofuk/minecraft-image-generator
ef2f7deb2daac7f7c2cfb468ef39e0cdc8b33db7
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT #include <boost/test/tools/interface.hpp> #include <boost/test/unit_test.hpp> #include <boost/test/unit_test_suite.hpp> #include "graphics/color.hh" using namespace pixel_terrain; BOOST_AUTO_TEST_CASE(blend_color) { BOOST_TEST((graphics::blend_color(0xffffffaa, 0x00000000) & 0xff...
39.06
78
0.664619
kofuk
79d58b6d2b272a8cbe82d3b32bcf35471eebd27e
575
cpp
C++
LuoguOJ/Luogu 1781.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
LuoguOJ/Luogu 1781.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
LuoguOJ/Luogu 1781.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define _ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); using namespace std; struct Item { string num; int no; }; bool cmp(Item a,Item b){ if(a.num.length()==b.num.length()){ int i; for(i=0;i<(int)a.num.length()&&a.num[i]==b.num[i];i++); return a.num[i]>b.num[i]; } else return a....
19.827586
57
0.591304
tico88612
79d657060df323046cab2275d30bfc4c267350f3
87,000
cpp
C++
wind/qDbManager.cpp
huangwenguang/wind
d2b7e15d3ad41a0a5ea17e7ed5780d148e5d4dff
[ "Apache-2.0" ]
null
null
null
wind/qDbManager.cpp
huangwenguang/wind
d2b7e15d3ad41a0a5ea17e7ed5780d148e5d4dff
[ "Apache-2.0" ]
null
null
null
wind/qDbManager.cpp
huangwenguang/wind
d2b7e15d3ad41a0a5ea17e7ed5780d148e5d4dff
[ "Apache-2.0" ]
null
null
null
#include "qDbManager.h" #include <QTimer> #include <QTime> #include <QtSql> #include <QSqlQuery> #include "qConfig.h" qDbManager::qDbManager(QObject *parent) : QObject(parent) { } qDbManager::~qDbManager() { delete m_redis; } /**连接数据库11 * @brief qDbManager::createConnection * @return */ bool qDbManager::cr...
41.232227
123
0.364103
huangwenguang
79dfd05b1bfad2afe56dcec8446963d070cad25c
2,486
cpp
C++
binding/python/io.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
null
null
null
binding/python/io.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
1
2021-08-04T13:29:57.000Z
2021-08-04T14:10:49.000Z
binding/python/io.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
1
2020-09-21T22:25:57.000Z
2020-09-21T22:25:57.000Z
/** @file "/owlcpp/binding/python/io.cpp" part of owlcpp project. @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt. @n Copyright Mikhail K Levin 2011 *******************************************************************************/ #include "boost/python.hpp" namespace bp = boost::pytho...
27.622222
89
0.600161
GreyMerlin
076a8cd90f93853076a89e582437e5e741544744
2,700
cpp
C++
src/machine/timer/timer.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
2
2021-02-02T19:28:02.000Z
2021-11-28T20:14:28.000Z
src/machine/timer/timer.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
null
null
null
src/machine/timer/timer.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
null
null
null
// timer.cpp // E64-II // // Copyright © 2019-2020 elmerucr. All rights reserved. #include "timer.hpp" #include "common.hpp" void E64::timer_ic::reset() { machine.TTL74LS148->release_line(interrupt_device_number); registers[0] = 0x00; // no pending irq's registers[1] = 0x00; // all timers turned off // l...
25
74
0.591852
elmerucr
0777728cfc4a2a06445b9daf796e5cecaadac892
100
cpp
C++
XI/recursivitate/info.mcip.ro/216.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
XI/recursivitate/info.mcip.ro/216.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
XI/recursivitate/info.mcip.ro/216.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
#216. [2010-03-20 - 18:00:30] Sa se calculeze recusiv suma S=1/2+2/1+2/3+3/2+...+n/(n+1)+(n+1)/n.
25
39
0.56
rlodina99
077802f97457dcd4a612891ebc01e376e3f840a6
10,149
cpp
C++
JetBrainsFileWatcher/JetBrainsFileWatcher/JBNativeFileWatcher.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
4
2022-03-07T01:47:19.000Z
2022-03-07T12:24:48.000Z
JetBrainsFileWatcher/JetBrainsFileWatcher/JBNativeFileWatcher.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
null
null
null
JetBrainsFileWatcher/JetBrainsFileWatcher/JBNativeFileWatcher.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
null
null
null
#include "JBNativeFileWatcher.h" #include "JBFileWatcher.h" #include "JBFileWatcherNotificationSink.h" #include <QCoreApplication> #include <QFileInfo> #include <QThread> using namespace JBFileWatcherUtils; JBNativeFileWatcher::JBNativeFileWatcher(QObject *parent) : JBPluggableFileWatcher(parent), myLastChangedP...
28.113573
100
0.618288
SineStriker
077af8d955f545651c664c4e7b9b225c939c8323
385
cpp
C++
tree/priority_queue/heap_sort/heapSort.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
tree/priority_queue/heap_sort/heapSort.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
tree/priority_queue/heap_sort/heapSort.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
// test heap sort #include <iostream> #include <algorithm> #include "heapSort.h" using namespace std; int main(void) { int a[11], i, n = 10; // initialize descending data for (i = 1; i <= 10; i++) a[i] = n - i + 1; heapSort(a, 10); // output sorted data copy(a, a+n, ostrea...
16.73913
51
0.537662
vectordb-io
077bc8525a993f66fe619826094b26f7a432f4cc
544
hpp
C++
LevelManager.hpp
HyruleExplorer/FORGE
95b29e9f810d901efa7e904e2ceed9936cef2a11
[ "Zlib" ]
null
null
null
LevelManager.hpp
HyruleExplorer/FORGE
95b29e9f810d901efa7e904e2ceed9936cef2a11
[ "Zlib" ]
null
null
null
LevelManager.hpp
HyruleExplorer/FORGE
95b29e9f810d901efa7e904e2ceed9936cef2a11
[ "Zlib" ]
null
null
null
#ifndef LEVEL_MANAGER_HPP #define LEVEL_MANAGER_HPP #include "SFML/Graphics.hpp" #include "Level_1.hpp" #include "Level_2.hpp" class LevelManager { public: LevelManager(); ~LevelManager(); void run(); void ignite( Level& level ); void update( Level& level ); private: Level mM...
18.758621
58
0.641544
HyruleExplorer
077cf772881551e212f9eda07607dc866bcf9d51
271
cpp
C++
window_gerenciar.cpp
hun251/Fastmarket
2b759bf08bd0ff7872b09ffc74af272fbb0b3ae7
[ "Apache-2.0" ]
1
2021-04-23T16:13:55.000Z
2021-04-23T16:13:55.000Z
window_gerenciar.cpp
hun251/Fastmarket
2b759bf08bd0ff7872b09ffc74af272fbb0b3ae7
[ "Apache-2.0" ]
2
2021-05-03T21:02:42.000Z
2021-06-08T17:18:23.000Z
window_gerenciar.cpp
hun251/Fastmarket
2b759bf08bd0ff7872b09ffc74af272fbb0b3ae7
[ "Apache-2.0" ]
null
null
null
#include "window_gerenciar.h" #include "ui_window_gerenciar.h" window_gerenciar::window_gerenciar(QWidget *parent) : QDialog(parent), ui(new Ui::window_gerenciar) { ui->setupUi(this); } window_gerenciar::~window_gerenciar() { delete ui; }
18.066667
54
0.682657
hun251
077ea6bf2d9e4761a945e18c6f1dc7381ef48fd2
6,020
cpp
C++
example/27.pid/3.AutoTune.cpp
eboxmaker/eboxFramework-rtt
9718678422f56faec1cf21a6a8fd3f72441bea33
[ "MIT" ]
115
2018-08-12T08:41:17.000Z
2022-03-08T07:43:48.000Z
example/27.pid/3.AutoTune.cpp
eboxmaker/eboxFramework-rtt
9718678422f56faec1cf21a6a8fd3f72441bea33
[ "MIT" ]
4
2018-08-13T10:14:55.000Z
2019-07-03T06:54:10.000Z
example/27.pid/3.AutoTune.cpp
eboxmaker/eboxFramework-rtt
9718678422f56faec1cf21a6a8fd3f72441bea33
[ "MIT" ]
59
2018-09-02T21:54:25.000Z
2022-01-13T02:28:28.000Z
/** ****************************************************************************** * @file pwm.cpp * @author shentq * @version V2.0 * @date 2016/08/14 * @brief ebox application example . ****************************************************************************** * @attention * * No part ...
24.471545
114
0.504319
eboxmaker
0785437488fb1a85a75a4654b4cc7a4bb62777c9
1,778
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter10Exercise8.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter10Exercise8.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter10Exercise8.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE Concatenate two files Chapter10Exercise8.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Create a file that contains the concatenated data of two other files. Input: - Output: - Author: Chris B. Kirov Date: 03.05.2015 */ #in...
23.706667
92
0.604612
Ziezi
0788c566aaad9ecea5d43057eaa253fdfdcb1412
15,025
hpp
C++
client/client/src/proj/ap_type2s.hpp
oracleloyall/CommonLib
f2a092ab1b87f45cfd4470b9a87f5fd658e2d7da
[ "Apache-2.0" ]
3
2019-07-03T03:16:39.000Z
2019-12-02T08:08:43.000Z
client/client/src/proj/ap_type2s.hpp
oracleloyall/CommonLib
f2a092ab1b87f45cfd4470b9a87f5fd658e2d7da
[ "Apache-2.0" ]
null
null
null
client/client/src/proj/ap_type2s.hpp
oracleloyall/CommonLib
f2a092ab1b87f45cfd4470b9a87f5fd658e2d7da
[ "Apache-2.0" ]
null
null
null
/* * ap_type2s.hpp * * Created on: 2015骞�6鏈�17鏃� * Author: sw */ #ifndef PROJ_AP_TYPE2S_HPP_ #define PROJ_AP_TYPE2S_HPP_ #include "../hlib/global.hpp" typedef unsigned char __u8; typedef unsigned short __u16; typedef unsigned int __u32; typedef unsigned long long __u64; const __u16 H_PROTO_LOGO = 2955...
29.005792
137
0.733511
oracleloyall
078df870ecfa9a50db5dffb2638b40d244a61d42
4,619
cpp
C++
2014/prelim/C.cpp
golmansax/google-code-jam
4486db353b19a5d61512aee8d6350aca75a5ab56
[ "MIT" ]
null
null
null
2014/prelim/C.cpp
golmansax/google-code-jam
4486db353b19a5d61512aee8d6350aca75a5ab56
[ "MIT" ]
null
null
null
2014/prelim/C.cpp
golmansax/google-code-jam
4486db353b19a5d61512aee8d6350aca75a5ab56
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstdlib> #include <string> #include <cstring> #include <cmath> #include <algorithm> #include <set> #include <map> #include <vector> using namespace std; struct tCell { int x; int y; int adjacent_unopens; tCell(int my_x, int my_y, int my_adjacent_unopens) : ...
26.394286
69
0.423252
golmansax
078ebf10fc69cdec76e3899d305e4916a872486a
2,109
hpp
C++
include/psst/math/angles.hpp
maxpagani/math
fb93b8ab78f74278fdbf51bfb81373b12f887803
[ "Apache-2.0" ]
36
2016-12-14T16:02:47.000Z
2022-03-03T18:16:45.000Z
include/psst/math/angles.hpp
maxpagani/math
fb93b8ab78f74278fdbf51bfb81373b12f887803
[ "Apache-2.0" ]
null
null
null
include/psst/math/angles.hpp
maxpagani/math
fb93b8ab78f74278fdbf51bfb81373b12f887803
[ "Apache-2.0" ]
8
2017-09-17T06:01:32.000Z
2021-07-28T09:28:41.000Z
/* * pi.hpp * * Created on: Dec 19, 2016 * Author: zmij */ #ifndef PSST_MATH_ANGLES_HPP_ #define PSST_MATH_ANGLES_HPP_ #include <psst/math/detail/value_policy.hpp> #include <cmath> namespace psst { namespace math { template <typename T> struct pi { static const T value; }; template <typename T> con...
18.663717
71
0.647226
maxpagani
078f7a0304ccf7aaf9ba222cf88734da77c9c91f
2,081
hpp
C++
include/zmq/socket_cache.hpp
haal/fluent
b387aec46155a3f2d4c2060e818e212b7649c7ca
[ "Apache-2.0" ]
1,164
2018-07-25T23:17:07.000Z
2019-07-11T20:33:52.000Z
include/zmq/socket_cache.hpp
longwutianya/fluent
c8fc9f2dd781e5ed91c34351adc6a101cc383083
[ "Apache-2.0" ]
126
2018-07-25T22:41:53.000Z
2019-07-10T21:49:19.000Z
include/zmq/socket_cache.hpp
longwutianya/fluent
c8fc9f2dd781e5ed91c34351adc6a101cc383083
[ "Apache-2.0" ]
178
2018-07-25T23:17:11.000Z
2019-07-10T02:45:27.000Z
// Copyright 2018 U.C. Berkeley RISE Lab // // 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...
37.160714
79
0.709755
haal
079163232d247c1ce8d5a07de2c22fc6c1e84c77
1,047
cpp
C++
clstatphys/tests/rootfinder/false_position_method.cpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
null
null
null
clstatphys/tests/rootfinder/false_position_method.cpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
2
2020-01-21T08:54:05.000Z
2020-01-21T09:29:10.000Z
clstatphys/tests/rootfinder/false_position_method.cpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
2
2020-07-18T03:36:32.000Z
2021-07-21T22:58:27.000Z
#include <gtest/gtest.h> #include <clstatphys/tools/false_position_method.hpp> double f(double x) { return 3*x*x-5*x+1; } TEST(FlasePositionTest, FlasePosition1) { optimization::FalsePositionMethod optimizer; int iteration; iteration = optimizer.find_zero(f, 0, 1); EXPECT_TRUE(iteration > 0); EXPECT_DOUBLE_...
29.083333
62
0.730659
FIshikawa
07927e7ce599ea938f72c7e5917ddc481c256d21
3,108
cpp
C++
src/tdme/tools/particlesystem/TDMEParticleSystem.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/particlesystem/TDMEParticleSystem.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/particlesystem/TDMEParticleSystem.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/tools/particlesystem/TDMEParticleSystem.h> #include <cstdlib> #include <string> #include <tdme/utils/Time.h> #include <tdme/engine/Engine.h> #include <tdme/engine/model/Color4.h> #include <tdme/gui/GUI.h> #include <tdme/tools/shared/tools/Tools.h> #include <tdme/tools/shared/views/PopUps.h> #include <...
22.521739
88
0.717181
mahula
07930c1c3b65b8fd591ac2e791fb5ee01ec64163
5,553
cpp
C++
src/Scenes/Tiles/Tileset.cpp
Tristeon/Tristeon
9052e87b743f1122ed4c81952f2bffda96599447
[ "MIT" ]
32
2018-06-16T20:50:15.000Z
2022-03-26T16:57:15.000Z
src/Scenes/Tiles/Tileset.cpp
Tristeon/Tristeon2D
9052e87b743f1122ed4c81952f2bffda96599447
[ "MIT" ]
2
2018-10-07T17:41:39.000Z
2021-01-08T03:14:19.000Z
src/Scenes/Tiles/Tileset.cpp
Tristeon/Tristeon2D
9052e87b743f1122ed4c81952f2bffda96599447
[ "MIT" ]
9
2018-06-12T21:00:58.000Z
2021-01-08T02:18:30.000Z
#include "Tileset.h" #include "AssetManagement/Resources.h" #include <Rendering/Texture.h> namespace Tristeon { void to_json(json& j, const TileInfo& p) { j["hasCollider"] = p.hasCollider; j["density"] = p.density; j["friction"] = p.friction; j["restitution"] = p.restitution; } void from_json(const json& ...
23.529661
71
0.65118
Tristeon
079380678b7f324136966bee809ed8b96aa0e4a9
2,656
cpp
C++
Homeworks/HW-3/Task-3/task-3.cpp
kgolov/uni-data-structures
8d8b2ff75ffa0ceed3ebe7bbc294680134b7d1c1
[ "MIT" ]
null
null
null
Homeworks/HW-3/Task-3/task-3.cpp
kgolov/uni-data-structures
8d8b2ff75ffa0ceed3ebe7bbc294680134b7d1c1
[ "MIT" ]
null
null
null
Homeworks/HW-3/Task-3/task-3.cpp
kgolov/uni-data-structures
8d8b2ff75ffa0ceed3ebe7bbc294680134b7d1c1
[ "MIT" ]
null
null
null
#include <iostream> // Calculates the number of balloons needed if the maximum number of sweets is target long long balloonsNeeded(long long* sweets, long long* maxSweets, int size, long long target) { long long counter = 0; for (int i = 0; i < size; i++) { // Check if we need balloons here to reduce ...
32
112
0.589985
kgolov
07938e6b44fe67f182eafe4e1c24e97b0c79a870
3,588
cc
C++
src/main.cc
qianqian121/odrMgrLite
877c5676198e8c35fb72c01c411c72a453449c65
[ "Unlicense" ]
null
null
null
src/main.cc
qianqian121/odrMgrLite
877c5676198e8c35fb72c01c411c72a453449c65
[ "Unlicense" ]
null
null
null
src/main.cc
qianqian121/odrMgrLite
877c5676198e8c35fb72c01c411c72a453449c65
[ "Unlicense" ]
null
null
null
/* =================================================== * file: main.cc * --------------------------------------------------- * purpose: main program for testing the * OdrManager * --------------------------------------------------- * first edit: 08.07.2006 by M. Dupuis * ================...
36.989691
145
0.401895
qianqian121
0795b2136bb20d35edbae00ce15ee2459c33a7b6
1,067
cpp
C++
poj-3125.cpp
casper001207/uva-online-judge
19dc42224c24ac66bc99d52498a26fd310caf6bc
[ "MIT" ]
1
2020-04-08T14:07:05.000Z
2020-04-08T14:07:05.000Z
poj-3125.cpp
casper001207/uva-online-judge
19dc42224c24ac66bc99d52498a26fd310caf6bc
[ "MIT" ]
null
null
null
poj-3125.cpp
casper001207/uva-online-judge
19dc42224c24ac66bc99d52498a26fd310caf6bc
[ "MIT" ]
null
null
null
#include <cstdio> #include <queue> using namespace std; bool checkIfOkToPrint(queue<int> q, int job, int priority[]); int main() { int Case, n, m; int priority[105]; scanf("%d", &Case); while (Case--) { scanf("%d %d", &n, &m); for (int i = 0; i < n; ++i) scanf("%d", &priorit...
22.702128
61
0.424555
casper001207
079bca3915e04aa1ea5fa7f7fc726d691d0f6c03
908
hh
C++
src/cassette/CasImage.hh
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/cassette/CasImage.hh
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/cassette/CasImage.hh
imulilla/openMSX_TSXadv
afffe852f73cb5f9a1f1d60f0ab9ff9a4da98c31
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#ifndef CASIMAGE_HH #define CASIMAGE_HH #include "CassetteImage.hh" #include <cstdint> #include <vector> namespace openmsx { class CliComm; class Filename; class FilePool; /** * Code based on "cas2wav" tool by Vincent van Dam */ class CasImage final : public CassetteImage { public: CasImage(const Filename& fileN...
20.636364
75
0.75
sdsnatcher73
079c67dacd53f1908346ff078896802240dcb050
5,862
cpp
C++
OpenROV/CAutopilot_EXP.cpp
noxxomatik/openrov-software-arduino-30.0.4-BNO055
e40b64e84cec6de2ee00abd013fe24fb483ab42d
[ "MIT" ]
null
null
null
OpenROV/CAutopilot_EXP.cpp
noxxomatik/openrov-software-arduino-30.0.4-BNO055
e40b64e84cec6de2ee00abd013fe24fb483ab42d
[ "MIT" ]
null
null
null
OpenROV/CAutopilot_EXP.cpp
noxxomatik/openrov-software-arduino-30.0.4-BNO055
e40b64e84cec6de2ee00abd013fe24fb483ab42d
[ "MIT" ]
null
null
null
#include "AConfig.h" #if( HAS_EXP_AUTOPILOT ) // Includes #include "CAutopilot.h" #include "CTimer.h" #include "NDataManager.h" #include "NCommManager.h" #include "CPIDController.h" #include "Utility.h" // File local variables and methods namespace { CTimer pilotTimer; // These should be replaced with two CPIDCon...
27.521127
164
0.704708
noxxomatik
079cb8b3bc323aa7bfba617286de5052b0043dce
7,271
cpp
C++
modules/cudastereo/src/stereobm.cpp
JosephGeoBenjamin/opencv_contrib-hip
2a948c02b9077b0fd3ae2baf903e9990a5f0a684
[ "BSD-3-Clause" ]
null
null
null
modules/cudastereo/src/stereobm.cpp
JosephGeoBenjamin/opencv_contrib-hip
2a948c02b9077b0fd3ae2baf903e9990a5f0a684
[ "BSD-3-Clause" ]
null
null
null
modules/cudastereo/src/stereobm.cpp
JosephGeoBenjamin/opencv_contrib-hip
2a948c02b9077b0fd3ae2baf903e9990a5f0a684
[ "BSD-3-Clause" ]
1
2020-11-16T14:32:58.000Z
2020-11-16T14:32:58.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
39.091398
187
0.673773
JosephGeoBenjamin
079d6c7a9f6eee82e69c43655c04877ed611621a
2,602
cpp
C++
UVa/UVA227.cpp
Insouciant21/solution
8f241ec2076c9c29c0d39c2c285ee12eac1dee9e
[ "Apache-2.0" ]
1
2020-09-11T13:17:28.000Z
2020-09-11T13:17:28.000Z
UVa/UVA227.cpp
Insouciant21/solution
8f241ec2076c9c29c0d39c2c285ee12eac1dee9e
[ "Apache-2.0" ]
1
2020-10-22T13:36:23.000Z
2020-10-22T13:36:23.000Z
UVa/UVA227.cpp
Insouciant21/solution
8f241ec2076c9c29c0d39c2c285ee12eac1dee9e
[ "Apache-2.0" ]
1
2020-10-22T13:33:11.000Z
2020-10-22T13:33:11.000Z
#include <bits/stdc++.h> using namespace std; int main() { int kase = 0; while (true) { string grid[5]; for (auto &i : grid) i = ""; kase++; char ch = getchar(); if (ch == '\n') ch = getchar(); if (ch == 'Z') return 0; grid[0] += ch; for (auto &i...
28.282609
82
0.259416
Insouciant21
079de2e3f63c950bede97fde173e4f9d0a0252f5
2,765
hpp
C++
common/dpcpp/cuckoo_hashtable.hpp
bagrorg/dwarf_bench
e06427c2b64b1696ba88a46ba758b1f5c9605893
[ "MIT" ]
5
2021-09-17T19:16:23.000Z
2022-03-18T11:45:44.000Z
common/dpcpp/cuckoo_hashtable.hpp
bagrorg/dwarf_bench
e06427c2b64b1696ba88a46ba758b1f5c9605893
[ "MIT" ]
20
2021-07-28T15:20:18.000Z
2021-09-02T14:18:03.000Z
common/dpcpp/cuckoo_hashtable.hpp
bagrorg/dwarf_bench
e06427c2b64b1696ba88a46ba758b1f5c9605893
[ "MIT" ]
null
null
null
#include <CL/sycl.hpp> #include "hashfunctions.hpp" template <class Key, class Val, class Hasher1, class Hasher2> class CuckooHashtable{ private: sycl::global_ptr<Key> _keys; sycl::global_ptr<Val> _vals; const size_t _size; Hasher1 _hasher1; Hasher2 _hasher2; const...
34.135802
108
0.491863
bagrorg
07a1c7952a9a1bd56840f41440de7d7325c4695b
2,571
cpp
C++
aifm/exp/fig12a/linux_mem/read/main.cpp
asarthas/AIFM
aaf7113cb3ba58381174e8b86bdd7a0f1fd1acc4
[ "MIT" ]
49
2020-11-01T00:14:40.000Z
2022-03-26T07:28:12.000Z
aifm/exp/fig12a/linux_mem/read/main.cpp
asarthas/AIFM
aaf7113cb3ba58381174e8b86bdd7a0f1fd1acc4
[ "MIT" ]
12
2020-12-15T08:30:19.000Z
2022-03-13T03:54:24.000Z
aifm/exp/fig12a/linux_mem/read/main.cpp
asarthas/AIFM
aaf7113cb3ba58381174e8b86bdd7a0f1fd1acc4
[ "MIT" ]
19
2020-12-24T22:32:22.000Z
2022-03-30T01:33:43.000Z
extern "C" { #include <runtime/runtime.h> } #include "deref_scope.hpp" #include "device.hpp" #include "helpers.hpp" #include "manager.hpp" #include <algorithm> #include <array> #include <cstdint> #include <cstdlib> #include <iostream> #include <memory> #include <iostream> using namespace far_memory; using namespace...
23.587156
78
0.671723
asarthas
07aac5a1de403d0a564475970c8977c8aedb089a
3,040
cpp
C++
src/swish/hooks-i3nt.cpp
becls/swish-win
bab98dfa757dfd851d8cf5176fb3e88115f311f4
[ "MIT" ]
19
2017-12-05T21:48:32.000Z
2019-12-09T05:18:02.000Z
src/swish/hooks-i3nt.cpp
becls/swish-win
bab98dfa757dfd851d8cf5176fb3e88115f311f4
[ "MIT" ]
null
null
null
src/swish/hooks-i3nt.cpp
becls/swish-win
bab98dfa757dfd851d8cf5176fb3e88115f311f4
[ "MIT" ]
1
2019-06-15T22:39:56.000Z
2019-06-15T22:39:56.000Z
// Copyright 2017 Beckman Coulter, Inc. // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, copy, // modify, merge, p...
36.626506
70
0.819079
becls
07abeda787829d35361a1f1ff0cf2f5494618887
290
hpp
C++
pythran/pythonic/include/omp/set_nested.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/omp/set_nested.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/omp/set_nested.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_OMP_SET_NESTED_HPP #define PYTHONIC_INCLUDE_OMP_SET_NESTED_HPP #include <omp.h> #include "pythonic/include/utils/functor.hpp" namespace pythonic { namespace omp { void set_nested(long val); DECLARE_FUNCTOR(pythonic::omp, set_nested); } } #endif
14.5
47
0.762069
xmar
07ac42f03e495d5514cccd71b2a91d385c2790e7
830
cpp
C++
convolution/test/ntt.test.cpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
4
2020-05-13T05:06:22.000Z
2020-09-18T17:03:36.000Z
convolution/test/ntt.test.cpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
1
2019-12-11T13:53:17.000Z
2019-12-11T13:53:17.000Z
convolution/test/ntt.test.cpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
3
2019-12-11T06:45:45.000Z
2020-09-07T13:45:32.000Z
#define PROBLEM "https://judge.yosupo.jp/problem/convolution_mod" #include "../ntt.hpp" #include "../../modint.hpp" #include "../../number/modint_runtime.hpp" #include <iostream> using namespace std; constexpr int MOD = 998244353; using mint = ModInt<MOD>; using mintr = ModIntRuntime; int main() { cin.tie(nullptr...
25.9375
65
0.543373
rsm9
07ade805a1e01f9d2aeb281d4a3f53b0dd02f27b
2,671
cpp
C++
src/ui/Dialog.cpp
tomasiser/pepr3d
5eaacd573c553e0e8eb79212842894bf32b5c666
[ "BSD-2-Clause" ]
128
2019-11-18T16:09:58.000Z
2022-01-15T03:59:51.000Z
src/ui/Dialog.cpp
tomasiser/pepr3d
5eaacd573c553e0e8eb79212842894bf32b5c666
[ "BSD-2-Clause" ]
3
2019-04-01T17:41:19.000Z
2020-07-23T08:55:08.000Z
src/ui/Dialog.cpp
tomasiser/pepr3d
5eaacd573c553e0e8eb79212842894bf32b5c666
[ "BSD-2-Clause" ]
31
2019-04-04T11:28:11.000Z
2022-03-14T08:52:38.000Z
#include "Dialog.h" namespace pepr3d { bool Dialog::draw() const { bool isAccepted = false; if(!ImGui::IsPopupOpen("##dialog")) { ImGui::OpenPopup("##dialog"); } ImGuiWindowFlags window_flags = 0; window_flags |= ImGuiWindowFlags_NoTitleBar; window_flags |= ImGuiWindowFlags_NoMove; ...
39.865672
111
0.649569
tomasiser
07b39443adf607ff4bc02b5186e4858ec5d009b6
1,273
cpp
C++
src/raw-cpp/src/states/level-state.cpp
guillaume-haerinck/RollGoal
c6f95fad3b042da5c537dc892f5879326074549a
[ "MIT" ]
6
2019-06-16T18:56:50.000Z
2020-07-11T01:53:51.000Z
src/raw-cpp/src/states/level-state.cpp
guillaume-haerinck/RollGoal
c6f95fad3b042da5c537dc892f5879326074549a
[ "MIT" ]
null
null
null
src/raw-cpp/src/states/level-state.cpp
guillaume-haerinck/RollGoal
c6f95fad3b042da5c537dc892f5879326074549a
[ "MIT" ]
2
2019-07-07T21:22:15.000Z
2020-03-25T16:01:33.000Z
#include "level-state.h" #include "systems/physic-system.h" #include "systems/render-system.h" #include "systems/input-system.h" LevelState::LevelState(Context context) : IState(STATE_LEVEL, context) { m_systems = { new PhysicSystem(*context.registry), new RenderSystem(*context.registry), new InputSystem(*cont...
25.46
77
0.48154
guillaume-haerinck
07b5abd29b72cf8ae980b74807a8960950538081
951
cpp
C++
Source/SageChargeBar.cpp
Project2CITM/Proyecto2
a10c78fded2b226629a817c4e9cd46ed9e8b5bc8
[ "MIT" ]
2
2022-03-13T20:31:50.000Z
2022-03-28T06:43:45.000Z
Source/SageChargeBar.cpp
Project2CITM/The-last-purifier
e082e8ce6d6aa90b1d232cd9e15f4bec994556ed
[ "MIT" ]
null
null
null
Source/SageChargeBar.cpp
Project2CITM/The-last-purifier
e082e8ce6d6aa90b1d232cd9e15f4bec994556ed
[ "MIT" ]
null
null
null
#include "SageChargeBar.h" SageChargeBar::SageChargeBar(iPoint pos, int width, int height, int values[3], SDL_Color totalColor, SDL_Color currentColors[3]) : Bar(pos, width, height, values[0], totalColor, currentColors[0]) { totalValues[0] = values[0]; totalValues[1] = values[1]; totalValues[2] = values[2]; curre...
25.702703
195
0.756046
Project2CITM
07be2b957c358e75c60d9b0ffa30e191b561a4b5
1,791
cpp
C++
Chapter-6-Functions/6.7-The-Return-Statement/Examples/6-11.cpp
jesushilarioh/C-Plus-Plus
bbff921460ac4267af48558f040c7d82ccf42d5e
[ "MIT" ]
3
2019-10-28T01:12:46.000Z
2021-10-16T09:16:31.000Z
Chapter-6-Functions/6.7-The-Return-Statement/Examples/6-11.cpp
jesushilarioh/C-Plus-Plus
bbff921460ac4267af48558f040c7d82ccf42d5e
[ "MIT" ]
null
null
null
Chapter-6-Functions/6.7-The-Return-Statement/Examples/6-11.cpp
jesushilarioh/C-Plus-Plus
bbff921460ac4267af48558f040c7d82ccf42d5e
[ "MIT" ]
4
2020-04-10T17:22:17.000Z
2021-11-04T14:34:00.000Z
//************************************************************** // This program uses a function to perform division. If division // by zero is detected, the function returns. // // by: Jesus Hilario Hernandez // last updated: November 2, 2016 //************************************************************** #include <i...
30.355932
69
0.450586
jesushilarioh
07c0ff457ca4a60a79fbf0d6df9a8df269f87f42
411
cpp
C++
chapter-7/7.37.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-7/7.37.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-7/7.37.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
#include <iostream> #include "Sales_data.hpp" using std::cin; Sales_data first_item(cin); // Sales_data(istream &is) {read(is, *this);} data members depend on cin int main() { Sales_data next; // Sales_data(string s = ""): bookNo(s) {} bookNo "", units_sold 0, revenue 0.0 Sales_data last("9-999-99999-9"); // Sa...
31.615385
129
0.6691
zero4drift
07c3fc4540820ec5f4c605347750b2b7c4f550da
505
cpp
C++
Problems/Codeforces/CF-816B.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
6
2019-10-12T15:14:10.000Z
2020-02-02T11:16:00.000Z
Problems/Codeforces/CF-816B.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
73
2019-10-11T15:09:40.000Z
2020-09-15T07:49:24.000Z
Problems/Codeforces/CF-816B.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
5
2019-10-14T02:57:39.000Z
2020-06-19T09:38:34.000Z
// 816B #include <bits/stdc++.h> using namespace std; const int N = 2e5 + 10; int n, k, q, l, r; int b[N], sum[N]; int main() { scanf("%d%d%d", &n, &k, &q); for (int i = 1; i <= n; ++i) { scanf("%d%d", &l, &r); b[l]++; b[r + 1]--; } int tot = 0; for (int i = 1; i <= 200000; ++i) { tot += b[...
17.413793
40
0.4
zhugezy
07c689c64812600c527e6d8a38f716b433e8cff0
1,507
cpp
C++
src/utils/posix/spawn.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
1
2020-08-03T18:57:01.000Z
2020-08-03T18:57:01.000Z
src/utils/posix/spawn.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
1
2021-03-07T21:32:10.000Z
2021-03-08T13:56:10.000Z
src/utils/posix/spawn.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
null
null
null
#include "utils/spawn.h" #include "utils/command.h" #include <vector> #include <sys/wait.h> #include <unistd.h> namespace tofi { bool spawn(Command command) { // Fork first child to start a new session pid_t pid{fork()}; if (0 == pid) { if (pid < 0) { ...
25.982759
121
0.474453
scaryrawr
07c77156c0c7ac935870303eed9006b25034cfde
5,755
cpp
C++
Src/Object.cpp
bDiazCentro/AlchemyFramework
6b55cdef1d0b9ddb4248382e44bbbfdb8320f062
[ "MIT" ]
null
null
null
Src/Object.cpp
bDiazCentro/AlchemyFramework
6b55cdef1d0b9ddb4248382e44bbbfdb8320f062
[ "MIT" ]
null
null
null
Src/Object.cpp
bDiazCentro/AlchemyFramework
6b55cdef1d0b9ddb4248382e44bbbfdb8320f062
[ "MIT" ]
null
null
null
#include "Object.hpp" #include <algorithm> #include "GameManager.hpp" #define VNAME(x) #x #pragma region CONSTRUCTORS Object::Object() { std::string name = "object"; int renameTry = 1; std::string nameComplement = ""; while (GameManager::Instance()->ReturnGameObjectByName(name + nameComplement) != n...
24.489362
125
0.647958
bDiazCentro
07ca4aaea898196be71b8e746e623b592a9056ad
3,111
cpp
C++
Source/Core/Elements/XMLNodeHandlerSelect.cpp
MatthiasJFM/RmlUi
557dfdbf76ca1397d72c70003081aae4f33b82d0
[ "MIT" ]
1,099
2019-05-11T07:04:26.000Z
2022-03-30T12:39:09.000Z
Source/Core/Elements/XMLNodeHandlerSelect.cpp
MatthiasJFM/RmlUi
557dfdbf76ca1397d72c70003081aae4f33b82d0
[ "MIT" ]
251
2019-05-07T08:35:47.000Z
2022-03-31T20:28:49.000Z
Source/Core/Elements/XMLNodeHandlerSelect.cpp
MatthiasJFM/RmlUi
557dfdbf76ca1397d72c70003081aae4f33b82d0
[ "MIT" ]
148
2019-07-08T14:46:04.000Z
2022-03-31T10:59:33.000Z
/* * This source file is part of RmlUi, the HTML/CSS Interface Middleware * * For the latest information, see http://github.com/mikke89/RmlUi * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * Copyright (c) 2019 The RmlUi Team, and contributors * * Permission is hereby granted, free of charge, to...
35.352273
125
0.739312
MatthiasJFM