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
4d7dcf59da258ab6479d599c1add7504a3955a3b
2,124
cpp
C++
src/peersafe/schema/SchemaManager.cpp
ChainSQL/chainsqld
6af7eb0624c67776098250a39eae9f195d8a473a
[ "BSL-1.0" ]
211
2017-12-11T03:11:37.000Z
2022-03-15T12:38:19.000Z
src/peersafe/schema/SchemaManager.cpp
ChainSQL/chainsqld
6af7eb0624c67776098250a39eae9f195d8a473a
[ "BSL-1.0" ]
17
2017-12-18T07:22:06.000Z
2022-02-15T10:24:29.000Z
src/peersafe/schema/SchemaManager.cpp
ChainSQL/chainsqld
6af7eb0624c67776098250a39eae9f195d8a473a
[ "BSL-1.0" ]
81
2017-12-11T03:09:21.000Z
2022-03-20T09:42:42.000Z
#include <peersafe/schema/SchemaManager.h> #include <boost/format.hpp> namespace ripple { SchemaManager::SchemaManager(Application& app, beast::Journal j) : app_(app), j_(j) { } std::shared_ptr<Schema> SchemaManager::createSchema(Config& config, SchemaParams const& params) { if (config.SCHEMA_PATH.empty()) ...
22.595745
79
0.685028
ChainSQL
4d8a3d4c3ef2df5f7884fcb7fd331a138f0ba832
277
cpp
C++
samples/src/playground/src/app/Command.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
4
2018-06-15T12:54:10.000Z
2020-09-22T16:01:35.000Z
samples/src/playground/src/app/Command.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
null
null
null
samples/src/playground/src/app/Command.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
null
null
null
#include "app/Command.h" namespace pg { Command::Command(std::function<void()> execute, std::function<void()> undo) : execute_(execute), undo_(undo) {} void Command::execute() const { execute_(); } void Command::undo() const { undo_(); } }
15.388889
76
0.592058
Rosme
4d8d10209b59d5d0afbf3959416ba395072aeed7
9,972
cpp
C++
src/memberList.cpp
Edwardkoroteev/ChocAn-CS-300
bd734b2b8e2e45747833926360f9bfa918df6fbc
[ "MIT" ]
null
null
null
src/memberList.cpp
Edwardkoroteev/ChocAn-CS-300
bd734b2b8e2e45747833926360f9bfa918df6fbc
[ "MIT" ]
null
null
null
src/memberList.cpp
Edwardkoroteev/ChocAn-CS-300
bd734b2b8e2e45747833926360f9bfa918df6fbc
[ "MIT" ]
null
null
null
#include "providerList.h" #include "memberList.h" #include "serviceList.h" #include "managerList.h" #include "provider.h" #include "member.h" #include "service.h" #include "manager.h" #include <iostream> #include <fstream> #include <cstring> #include <cstdlib> #include <cctype> #include <string> memberList::memberLis...
29.590504
140
0.472824
Edwardkoroteev
4d8fe2e2d5687839a565eb471d940e470b30fe5d
774
cpp
C++
Blue-Flame-Engine/Core/BF/Graphics/GUI/Checkbox.cpp
21423236/Blue-Flame-Engine
cf26fbdb94d1338f04e57ba88f0bbfc8b77c969b
[ "MIT" ]
1
2021-07-02T12:40:44.000Z
2021-07-02T12:40:44.000Z
Blue-Flame-Engine/Core/BF/Graphics/GUI/Checkbox.cpp
21423236/Blue-Flame-Engine
cf26fbdb94d1338f04e57ba88f0bbfc8b77c969b
[ "MIT" ]
null
null
null
Blue-Flame-Engine/Core/BF/Graphics/GUI/Checkbox.cpp
21423236/Blue-Flame-Engine
cf26fbdb94d1338f04e57ba88f0bbfc8b77c969b
[ "MIT" ]
null
null
null
#include "Checkbox.h" namespace BF { namespace Graphics { namespace GUI { using namespace std; Checkbox::Checkbox(Application::Scene& scene) : checked(false) { scene.GetWidgetManager().AddWidget(this); } Checkbox::~Checkbox() { } void Checkbox::Initialize(Renderers::SpriteRende...
16.125
78
0.618863
21423236
4d90b812538f53fb4e4c4ebb4a11c0014fe624ec
3,219
cpp
C++
engine/src/engine/private/base/physicsSystem.cpp
brass-suzume/orb-engine
b26e63d6f8c2fc2036c9ea558b873f9e29b608f6
[ "MIT" ]
null
null
null
engine/src/engine/private/base/physicsSystem.cpp
brass-suzume/orb-engine
b26e63d6f8c2fc2036c9ea558b873f9e29b608f6
[ "MIT" ]
null
null
null
engine/src/engine/private/base/physicsSystem.cpp
brass-suzume/orb-engine
b26e63d6f8c2fc2036c9ea558b873f9e29b608f6
[ "MIT" ]
null
null
null
#include "physicsSystem.h" #include "tickRegister.h" #include "physicsComponent.h" #include "gameInstance.h" #include "entitySystemInterface.h" #include "entity.h" ORB_REGISTER_SYSTEM( PhysicsSystem ); namespace core { void PhysicsSystem::RegisterComponent( const std::shared_ptr< PhysicsComponent >& component ) {...
27.512821
112
0.700217
brass-suzume
4d91c0be223ceb1324d63efca7bfc4c468eda341
2,200
hpp
C++
tools/i128.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
2
2021-06-24T11:21:08.000Z
2022-03-15T05:57:25.000Z
tools/i128.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
102
2021-10-30T21:30:00.000Z
2022-03-26T18:39:47.000Z
tools/i128.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
null
null
null
#pragma once #include "./base.hpp" #include <cassert> #include <iostream> #include <string> namespace tools { namespace int128 { __int128_t parse(const string &s) { __int128_t res = 0; for (char c: s) { if (isdigit(c)) res = res * 10 + (c - '0'); } if (s[0] == '-') res *= -1; ...
21.568627
83
0.453182
matumoto1234
4d948c6840ebfe06c6913e875324a62f68fe1ea4
782
cpp
C++
intuit_10.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
intuit_10.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
intuit_10.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
/* problem link: https://leetcode.com/problems/number-of-provinces/ */ class Solution { public: void dfs(vector<vector<int>>& graph,vector<bool>& vis,int ind){ if(vis[ind]==true)return; vis[ind]=true; for(int i=0;i<vis.size();i++){ if(graph[ind][i]==1 && vis[i]==false && i!=in...
22.342857
70
0.433504
gurleen-kaur1313
4d9dcc4be2b10e8057fb89b751525797a2315bcf
2,456
cpp
C++
src/GSvar/PRSWidget.cpp
BeneKenobi/ngs-bits
cf849deb1c80e87b734d748f37f5878536277386
[ "MIT" ]
null
null
null
src/GSvar/PRSWidget.cpp
BeneKenobi/ngs-bits
cf849deb1c80e87b734d748f37f5878536277386
[ "MIT" ]
null
null
null
src/GSvar/PRSWidget.cpp
BeneKenobi/ngs-bits
cf849deb1c80e87b734d748f37f5878536277386
[ "MIT" ]
null
null
null
#include "PRSWidget.h" #include "Helper.h" #include "GUIHelper.h" #include <QDesktopServices> #include <QFile> #include <QMenu> PRSWidget::PRSWidget(QString filename, QWidget *parent) : QWidget(parent) , ui_() , prs_table_() { ui_.setupUi(this); // connect signals and slots connect(ui_.prs,SIGNAL(customContextM...
26.989011
119
0.685261
BeneKenobi
4d9fc1d16941d139cb76c81755f62bf52422b3a3
15,559
cpp
C++
src/database_sqlite.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
src/database_sqlite.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
src/database_sqlite.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
/* * Copyright (c) 2013-2017, Collobos Software Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * ...
21.431129
184
0.642458
Collobos
4da00572fdc57cf52c308d7568d20c2b02b40db3
276
cpp
C++
_Programming/tasks/pirats.cpp
DenysGusti/university
d90ddbc3cb023a0d8c8799223457999da4da23b1
[ "MIT" ]
null
null
null
_Programming/tasks/pirats.cpp
DenysGusti/university
d90ddbc3cb023a0d8c8799223457999da4da23b1
[ "MIT" ]
null
null
null
_Programming/tasks/pirats.cpp
DenysGusti/university
d90ddbc3cb023a0d8c8799223457999da4da23b1
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() { for (int n = 1; n <= 14; n++) { uint64_t k = ((n & 1) ? 1 : (n - 1)) * static_cast<uint64_t>(pow(n, n)) - n + 1; cout << "n = " << n << "\ncoins: " << k << endl; } return 0; }
23
88
0.460145
DenysGusti
4da1150fd6566570a8212e0754d82123e54f0e14
1,538
cpp
C++
test/matrix-tests.cpp
jvmnielsen/graphics-math
a7ac23dd28dd11747550238bbad6e0b364cf6cff
[ "MIT" ]
1
2020-07-20T15:21:05.000Z
2020-07-20T15:21:05.000Z
test/matrix-tests.cpp
jvmnielsen/graphics-math
a7ac23dd28dd11747550238bbad6e0b364cf6cff
[ "MIT" ]
null
null
null
test/matrix-tests.cpp
jvmnielsen/graphics-math
a7ac23dd28dd11747550238bbad6e0b364cf6cff
[ "MIT" ]
null
null
null
#include <graphics-math.hpp> #include <catch2/catch.hpp> #include <type_traits> TEMPLATE_TEST_CASE( "Identity matrix", "[Matrix4x4]", std::int32_t, std::int64_t, float, double) { auto constexpr matrix = gm::Matrix4x4<TestType>::identity(); auto constexpr identity = gm::Matrix4x4<TestType>{ ...
20.236842
64
0.503901
jvmnielsen
4da5a46613e76e70a6d9b88155a48b735ae8636a
666
cpp
C++
src/clock.cpp
jamiesyme/CozyCape
11228119402bf39bbc30aeea242d07fbde6f9994
[ "Unlicense" ]
null
null
null
src/clock.cpp
jamiesyme/CozyCape
11228119402bf39bbc30aeea242d07fbde6f9994
[ "Unlicense" ]
null
null
null
src/clock.cpp
jamiesyme/CozyCape
11228119402bf39bbc30aeea242d07fbde6f9994
[ "Unlicense" ]
null
null
null
#include "clock.hpp" #include <SDL2/SDL.h> #include <thread> #include <chrono> static Clock::Timer gTimer; namespace Clock { double getRawTime() { return (double)SDL_GetTicks() / 1000.0; } double getTime() { return gTimer.get(); } void setTime(double time) { gTimer.set(time); } void sleepFor(doub...
13.875
64
0.62012
jamiesyme
4dad4ab1449791e7ebfda3ca3badf7e4c6566026
11,245
cpp
C++
SimpleCipher.cpp
catid/tonk
e993c9b7d1bf14bd510739036e022cf24c3ecf3c
[ "BSD-3-Clause" ]
91
2018-09-14T12:35:50.000Z
2021-12-24T18:09:35.000Z
SimpleCipher.cpp
catid/tonk
e993c9b7d1bf14bd510739036e022cf24c3ecf3c
[ "BSD-3-Clause" ]
6
2018-09-15T00:30:37.000Z
2018-09-18T17:58:22.000Z
SimpleCipher.cpp
catid/tonk
e993c9b7d1bf14bd510739036e022cf24c3ecf3c
[ "BSD-3-Clause" ]
9
2018-09-14T14:04:16.000Z
2022-03-22T14:36:45.000Z
/** \file \brief Simple Cipher \copyright Copyright (c) 2017-2018 Christopher A. Taylor. 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 must retai...
30.557065
102
0.64153
catid
4dafcf1758eb1e5b3cc4ae6bf0ed7434db73cca1
74,466
cpp
C++
src/ivroverlay.cpp
SieR-VR/OpenVR.js
999b73c81296543b15a51cf9f3de040d577a5c40
[ "MIT" ]
5
2021-04-23T12:32:31.000Z
2021-12-06T15:13:59.000Z
src/ivroverlay.cpp
SieR-VR/OpenVR.js
999b73c81296543b15a51cf9f3de040d577a5c40
[ "MIT" ]
5
2021-09-01T11:32:17.000Z
2021-12-21T11:47:17.000Z
src/ivroverlay.cpp
SieR-VR/OpenVR.js
999b73c81296543b15a51cf9f3de040d577a5c40
[ "MIT" ]
3
2021-09-01T11:50:49.000Z
2021-12-06T14:54:35.000Z
#include "ivroverlay.h" #include "util.h" #include <array> #include <node.h> #include <openvr.h> using namespace v8; Nan::Persistent<Function> IVROverlay::constructor; void IVROverlay::Init(Local<Object> exports) { Local<Context> context = exports->CreationContext(); Nan::HandleScope scope; Local<Funct...
50.145455
287
0.741546
SieR-VR
4db00966c0bbcd70ed2f4fc2f064d01603fb7fa2
7,904
cpp
C++
Sandbox/src/Sandbox2D.cpp
xRiveria/Prism-Engine-Reforged
da43e0170844f9a86dbaa53cfad5c7c6043236c5
[ "Apache-2.0" ]
1
2020-12-23T12:20:09.000Z
2020-12-23T12:20:09.000Z
Sandbox/src/Sandbox2D.cpp
xRiveria/Prism-Engine-Reforged
da43e0170844f9a86dbaa53cfad5c7c6043236c5
[ "Apache-2.0" ]
null
null
null
Sandbox/src/Sandbox2D.cpp
xRiveria/Prism-Engine-Reforged
da43e0170844f9a86dbaa53cfad5c7c6043236c5
[ "Apache-2.0" ]
null
null
null
#include "Prism.h" #include "Prism/Core/EntryPoint.h" #include "Platform/OpenGL/OpenGLShader.h" #include "imgui/imgui.h" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include "Sandbox2D.h" class ExampleLayer : public Prism::Layer { public: ExampleLayer() :Layer("Example Layer"), m_CameraCon...
31.241107
133
0.699266
xRiveria
4db0f84432b530aafbc2f1c64be889cabe330993
1,186
hpp
C++
Engine/Renderer/FrameBuffer.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/Renderer/FrameBuffer.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/Renderer/FrameBuffer.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
//============================================================================================================== //FrameBuffer.hpp //by Albert Chen Jul-21-2016. //============================================================================================================== #pragma once #ifndef _included_FrameBuffer__...
25.782609
112
0.397133
achen889
4db321c8a3ad3ecdd2880f37286e4a74d0b9c5a4
1,909
cc
C++
src/simpleExternalElement.cc
sstsimulator/sst-external-element
fc796ba646313941d098be23676426aac2d71874
[ "BSD-3-Clause" ]
1
2020-04-08T00:10:19.000Z
2020-04-08T00:10:19.000Z
src/simpleExternalElement.cc
sstsimulator/sst-external-element
fc796ba646313941d098be23676426aac2d71874
[ "BSD-3-Clause" ]
4
2021-04-26T21:10:33.000Z
2021-04-27T19:28:31.000Z
src/simpleExternalElement.cc
sstsimulator/sst-external-element
fc796ba646313941d098be23676426aac2d71874
[ "BSD-3-Clause" ]
4
2017-06-29T14:47:27.000Z
2019-12-05T06:34:14.000Z
// Copyright 2009-2021 NTESS. Under the terms // of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Copyright (c) 2009-2021, NTESS // All rights reserved. // // This file is part of the SST software package. For license // information, see the LICENSE file in the ...
29.369231
118
0.715034
sstsimulator
4db44c2452dbb38c0de01038bb63e4ac11bcfc32
2,688
hpp
C++
INCLUDE/Vcl/optosoapdomcustom.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
1
2022-01-13T01:03:55.000Z
2022-01-13T01:03:55.000Z
INCLUDE/Vcl/optosoapdomcustom.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
INCLUDE/Vcl/optosoapdomcustom.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
// Borland C++ Builder // Copyright (c) 1995, 2002 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'OPToSOAPDomCustom.pas' rev: 6.00 #ifndef OPToSOAPDomCustomHPP #define OPToSOAPDomCustomHPP #pragma delphiheader begin #pragma option push -w- #pragma option...
34.025316
172
0.690476
earthsiege2
4db48050236f4fa60a1665dac9e6cb8540cbb895
1,285
cpp
C++
WeaponUpgrade.cpp
Team-DJS/Hyper-Infinity-Carnage
a5fc4411440ac3270070d49c8ce18f4d35a3b5d8
[ "Apache-2.0" ]
null
null
null
WeaponUpgrade.cpp
Team-DJS/Hyper-Infinity-Carnage
a5fc4411440ac3270070d49c8ce18f4d35a3b5d8
[ "Apache-2.0" ]
null
null
null
WeaponUpgrade.cpp
Team-DJS/Hyper-Infinity-Carnage
a5fc4411440ac3270070d49c8ce18f4d35a3b5d8
[ "Apache-2.0" ]
null
null
null
#include "WeaponUpgrade.hpp" using namespace HIC; //----------------------------------- // Static Initialisations //----------------------------------- IMesh* WeaponUpgrade::mMesh = nullptr; //----------------------------------- // Constructors / Destructors //----------------------------------- // Con...
22.54386
103
0.475486
Team-DJS
4dbde2b404b1e3c2f4fad50dcd28c85707d92766
35,361
cpp
C++
Source/AllProjects/DataUtils/CIDMData/CIDMData_AttrData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/DataUtils/CIDMData/CIDMData_AttrData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/DataUtils/CIDMData/CIDMData_AttrData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDMData_AttrData.cpp // // AUTHOR: Dean Roddey // // CREATED: 11/03/2015 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensou...
25.905495
103
0.572156
eudora-jia
4dc030759104a7445c94eba01da21dd41687e8ff
437
hpp
C++
src/util/number_representation.hpp
keszocze/abo
2d59ac20832b308ef5f90744fc98752797a4f4ba
[ "MIT" ]
null
null
null
src/util/number_representation.hpp
keszocze/abo
2d59ac20832b308ef5f90744fc98752797a4f4ba
[ "MIT" ]
null
null
null
src/util/number_representation.hpp
keszocze/abo
2d59ac20832b308ef5f90744fc98752797a4f4ba
[ "MIT" ]
1
2020-03-11T14:50:31.000Z
2020-03-11T14:50:31.000Z
#pragma once namespace abo::util { //! This enum represents the number format that BDD forests should be interpreted as enum class NumberRepresentation : bool { //! used for unsigned integers, the first bit in the vector is the lowest significant one BaseTwo, //! used for signed integers in twos complemen...
27.3125
94
0.727689
keszocze
4dc6184e5088d3ab126141d71d6e02331922ad48
555
cpp
C++
src/004 - Largest palindrome product.cpp
montyanderson/euler
ba07a13c8afaa61edf35987f2a4db34c89b5ad39
[ "MIT" ]
1
2016-03-16T17:08:54.000Z
2016-03-16T17:08:54.000Z
src/004 - Largest palindrome product.cpp
montyanderson/euler
ba07a13c8afaa61edf35987f2a4db34c89b5ad39
[ "MIT" ]
null
null
null
src/004 - Largest palindrome product.cpp
montyanderson/euler
ba07a13c8afaa61edf35987f2a4db34c89b5ad39
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; bool isPalindrome(int in) { int num = in, out = 0; while(num != 0) { out *= 10; out += num % 10; num /= 10; } if(in == out) { return true; } else { return false; } } int main() { int largest = 0; for(i...
15.857143
52
0.428829
montyanderson
4dccd4893c34a9b0fd607398e7b7044c658fcb63
18,452
cpp
C++
micro_services/file_managing/middle_server/middle_server.cpp
kcenon/messaging_system
37f2ec906cc2845c85ff334083d2268c92bc9042
[ "BSD-3-Clause" ]
19
2021-05-09T04:01:10.000Z
2022-02-24T01:30:55.000Z
micro_services/file_managing/middle_server/middle_server.cpp
kcenon/messaging_system
37f2ec906cc2845c85ff334083d2268c92bc9042
[ "BSD-3-Clause" ]
null
null
null
micro_services/file_managing/middle_server/middle_server.cpp
kcenon/messaging_system
37f2ec906cc2845c85ff334083d2268c92bc9042
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "logging.h" #include "messaging_server.h" #include "messaging_client.h" #include "compressing.h" #include "file_manager.h" #include "argument_parser.h" #include "value.h" #include "values/bool_value.h" #include "values/ushort_value.h" #include "values/string_value.h" #ifdef _CONSOLE #inc...
30.804674
210
0.734013
kcenon
4dd3231d0043ec23326cb8ef3a15f19ed9742800
545
hpp
C++
Application/include/PickableObject.hpp
inhibitor1217/cs380-lighting
7949a743d78a4151db807c17ef89c7999a2c5334
[ "MIT" ]
null
null
null
Application/include/PickableObject.hpp
inhibitor1217/cs380-lighting
7949a743d78a4151db807c17ef89c7999a2c5334
[ "MIT" ]
null
null
null
Application/include/PickableObject.hpp
inhibitor1217/cs380-lighting
7949a743d78a4151db807c17ef89c7999a2c5334
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <glm/glm.hpp> #include <RenderObject.hpp> #include <Mesh.hpp> #include <Material.hpp> #include <PickingMaterial.hpp> class PickableObject : public Engine::RenderObject { private: PickingMaterial* _pickingMat; int _index; public: PickableObject(Engine::Mesh* mesh, En...
23.695652
68
0.726606
inhibitor1217
4ddd4c4f6ff9ef4e94742bab00e22b2ea0ce8a7c
796
cpp
C++
pigeons_mission_viewer/pigeons_mission_viewer_lib/src/data/data-decorator.cpp
bjaury/pigeons-mission-viewer
c13d992b00d166367bfd35fbb5f81cac21f41634
[ "MIT" ]
null
null
null
pigeons_mission_viewer/pigeons_mission_viewer_lib/src/data/data-decorator.cpp
bjaury/pigeons-mission-viewer
c13d992b00d166367bfd35fbb5f81cac21f41634
[ "MIT" ]
null
null
null
pigeons_mission_viewer/pigeons_mission_viewer_lib/src/data/data-decorator.cpp
bjaury/pigeons-mission-viewer
c13d992b00d166367bfd35fbb5f81cac21f41634
[ "MIT" ]
null
null
null
#include "data-decorator.h" namespace pigeons_mission_viewer { namespace data { class DataDecorator::Implementation { public: Implementation(Entity* _parent, const QString& _key, const QString& _label) : parentEntity(_parent) , key(_key) , label(_label) { } Entity* parentEntity{nullptr}; QString key; QStr...
17.304348
86
0.744975
bjaury
4de2d81c6976c3ae45fe8f0585ec78815d66ae40
2,507
cpp
C++
lib/rawkit-file/src/rawkit-file.cpp
tmpvar/rawk
0dee2bdf9e11e9033988a0d9d1e52603263c6aca
[ "MIT" ]
9
2020-08-14T19:46:33.000Z
2021-10-13T09:33:20.000Z
lib/rawkit-file/src/rawkit-file.cpp
tmpvar/rawkit
0dee2bdf9e11e9033988a0d9d1e52603263c6aca
[ "MIT" ]
null
null
null
lib/rawkit-file/src/rawkit-file.cpp
tmpvar/rawkit
0dee2bdf9e11e9033988a0d9d1e52603263c6aca
[ "MIT" ]
null
null
null
#include <uv.h> #include <rawkit/file.h> #include <rawkit/hot.h> #include <rawkit/diskwatcher.h> #include <string> using namespace std; #include <ghc/filesystem.hpp> namespace fs = ghc::filesystem; enum file_status { NOT_FOUND = -1, INIT = 0, RUNNING = 1, DONE = 2, }; typedef struct file_state_t { uint64...
22.585586
127
0.626247
tmpvar
4de32f894a4d15c5568ee533bd0912d87bf1d646
363
cpp
C++
vm/main-windows.cpp
doublec/factor
21ef21588252e2b54030ad6fd2fd1075dceb48f0
[ "BSD-2-Clause" ]
3
2015-04-26T05:09:07.000Z
2020-08-03T01:34:32.000Z
vm/main-windows.cpp
doublec/factor
21ef21588252e2b54030ad6fd2fd1075dceb48f0
[ "BSD-2-Clause" ]
null
null
null
vm/main-windows.cpp
doublec/factor
21ef21588252e2b54030ad6fd2fd1075dceb48f0
[ "BSD-2-Clause" ]
null
null
null
#include "master.hpp" VM_C_API int wmain(int argc, wchar_t **argv) { factor::init_globals(); factor::start_standalone_factor(argc,argv); return 0; } int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { int argc; wchar_t **argv = CommandLineToArgvW(GetCommandLine(...
16.5
61
0.735537
doublec
4de4539bc98262d2bd65429dd5909ba231a81aac
1,914
hpp
C++
lib/openZia/openZia/DynamicLoader.hpp
NicolasKeita/Apache-like
e8e866ab164547dda4353dc6fbc8219e32846082
[ "MIT" ]
1
2020-01-13T22:50:40.000Z
2020-01-13T22:50:40.000Z
lib/openZia/openZia/DynamicLoader.hpp
NicolasKeita/My_Apache
e8e866ab164547dda4353dc6fbc8219e32846082
[ "MIT" ]
null
null
null
lib/openZia/openZia/DynamicLoader.hpp
NicolasKeita/My_Apache
e8e866ab164547dda4353dc6fbc8219e32846082
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** openZia ** File description: ** DynamicLoader */ #pragma once #include <string> #include <unordered_map> #include "OperatingSystem.hpp" #if defined(SYSTEM_LINUX) || defined(SYSTEM_DARWIN) #include <dlfcn.h> #elif defined(SYSTEM_WINDOWS) #include <Windows.h> #endif namespace oZ { ...
23.925
156
0.677116
NicolasKeita
4e28dd653cbf3933aadbbd657e24e2bc727687f6
14,200
cpp
C++
test/Math/RayTest.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
test/Math/RayTest.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
test/Math/RayTest.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #include <Pomdog/Math/Ray.hpp> #include <Pomdog/Math/BoundingBox.hpp> #include <Pomdog/Math/BoundingSphere.hpp> #include <gtest/iutest_switch.hpp> #include <limits> using Pomdog::Ray; using namespace Pomdog; namespace { static constexpr auto Eps...
33.023256
83
0.639155
ValtoForks
4e2c8d099c502b1f5f0bba8babd4d32f09ebaa37
3,233
hpp
C++
src/pose_with_velocity/PoseUKF.hpp
rock-slam/slam-pose_estimation
66c516b2bed5f9a826811e34cf24b08b0483e508
[ "BSD-3-Clause" ]
6
2017-06-13T07:26:29.000Z
2022-01-25T02:51:09.000Z
src/pose_with_velocity/PoseUKF.hpp
rock-slam/slam-pose_estimation
66c516b2bed5f9a826811e34cf24b08b0483e508
[ "BSD-3-Clause" ]
2
2016-04-26T16:46:41.000Z
2016-04-27T16:10:23.000Z
src/pose_with_velocity/PoseUKF.hpp
rock-slam/slam-pose_estimation
66c516b2bed5f9a826811e34cf24b08b0483e508
[ "BSD-3-Clause" ]
8
2015-04-20T12:29:02.000Z
2019-09-05T14:47:10.000Z
#ifndef _POSE_ESTIMATION_POSE_UKF_HPP #define _POSE_ESTIMATION_POSE_UKF_HPP #include "PoseWithVelocity.hpp" #include <pose_estimation/Measurement.hpp> #include <pose_estimation/UnscentedKalmanFilter.hpp> namespace pose_estimation { /** * This filter integrates various linear and angular position and velocity measur...
33.329897
105
0.738014
rock-slam
4e2dd6738989e8d87280ff77aa6b4c0d0ed7e94f
28,003
cxx
C++
Packages/java/lang/String.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/lang/String.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/lang/String.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
// // String.cxx // Aries // // Created by Brandon on 2017-08-26. // Copyright © 2017 Brandon. All rights reserved. // #include "String.hxx" #include "Object.hxx" #include "CharSequence.hxx" #include "Iterable.hxx" #include "Object.hxx" #include "StringBuffer.hxx" #include "StringBuilder.hxx" #include "Charset.hxx...
44.733227
159
0.681106
Brandon-T
4e31ddd9f0eccc5f13db9267c50d4211944b915b
1,308
cpp
C++
main.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
main.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
main.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
#include "concurrent/Barrier.h" #include "tree/bst.h" #include <collection/Array.h> #include <map/HashSetTree.h> #include <prng/xorshift.h> #include <util/Bitset.h> static void test(); int main() { sp::Barrier b(1); binary::Tree<int> s; test(); } static void test() { sp::HashSetTree<std::uint32_t> set; pr...
21.096774
68
0.57263
zpooky
4e324ab0c1f617837c412fc2877ae0282b6e47b2
1,855
hpp
C++
perf_test/blas/blas1/KokkosBlas_dot_perf_test.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
null
null
null
perf_test/blas/blas1/KokkosBlas_dot_perf_test.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
7
2020-05-04T16:43:08.000Z
2022-01-13T16:31:17.000Z
perf_test/blas/blas1/KokkosBlas_dot_perf_test.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
null
null
null
// Created by David Poliakoff and Amy Powell on 6/15/2021 #ifndef KOKKOSKERNELS_KOKKOSBLAS_DOT_TEST_RPS_HPP #define KOKKOSKERNELS_KOKKOSBLAS_DOT_TEST_RPS_HPP #include <Kokkos_Core.hpp> #include "blas/KokkosBlas1_dot.hpp" #include <Kokkos_Random.hpp> // These headers are required for RPS perf test implementation //...
29.444444
76
0.721833
NexGenAnalytics
4e32b0094c046bbbbac810247da17df6f8532a3f
15,666
cpp
C++
applications/mne_scan/plugins/epidetect/epidetect.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
2
2017-04-20T20:21:16.000Z
2017-04-26T16:30:25.000Z
applications/mne_scan/plugins/epidetect/epidetect.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
null
null
null
applications/mne_scan/plugins/epidetect/epidetect.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
1
2017-04-23T15:55:31.000Z
2017-04-23T15:55:31.000Z
//============================================================================================================= /** * @file epidetect.cpp * @author Louis Eichhorst <louis.eichhorst@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date January, 2017 * * @section LICENS...
35.125561
238
0.537661
13grife37
4e3f539ec6220214628db3395fd8716342b4a1d1
3,815
cpp
C++
apps/triangle_2vbos/Application.cpp
karenkz/openglnoel
ac57d91e258993e361518f002e8b2763b7c22653
[ "Unlicense" ]
null
null
null
apps/triangle_2vbos/Application.cpp
karenkz/openglnoel
ac57d91e258993e361518f002e8b2763b7c22653
[ "Unlicense" ]
null
null
null
apps/triangle_2vbos/Application.cpp
karenkz/openglnoel
ac57d91e258993e361518f002e8b2763b7c22653
[ "Unlicense" ]
null
null
null
#include "Application.hpp" #include <iostream> #include <glm/glm.hpp> #include <imgui.h> int Application::run() { float clearColor[3] = { 0, 0, 0 }; // Loop until the user closes the window for (auto iterationCount = 0u; !m_GLFWHandle.shouldClose(); ++iterationCount) { const auto seconds = gl...
28.051471
199
0.655832
karenkz
4e41f4fb7eeee8cfb506f60060541d6b2237be48
7,574
cc
C++
lib/mime/types.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2020-07-11T21:48:52.000Z
2020-07-11T21:48:52.000Z
lib/mime/types.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2020-07-13T15:01:30.000Z
2020-07-19T21:23:05.000Z
lib/mime/types.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2021-05-24T23:05:59.000Z
2021-05-24T23:05:59.000Z
/* Copyright [2020] [Luke A.C.A. Rieff] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
41.845304
119
0.725904
skywa04885
4e434cad13184691726016cf8c1edeb269c6fd5f
2,236
cpp
C++
graph-source-code/369-C/5301257.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/369-C/5301257.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/369-C/5301257.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <vector> #include <map> #include <set> #include <algorithm> #include <string> #include <stdio.h> #include <functional> #include <cstdlib> #include <stack> #include <cmath> #include <queue> #include <cstdio> #include <stdlib.h> #include <cstdlib> #include...
17.746032
70
0.47898
AmrARaouf
4e43e3f9769196004450f245a0bdc38edd6e3eee
2,228
cpp
C++
tests/Bootstrap.Tests/tests/SmallVectorTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
null
null
null
tests/Bootstrap.Tests/tests/SmallVectorTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
2
2020-09-30T07:09:46.000Z
2021-01-03T20:01:02.000Z
tests/Bootstrap.Tests/tests/SmallVectorTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
null
null
null
#include "collections.h" #include <gtest/gtest.h> #include "TestUtils.h" class SmallVectorTests : public testing::Test { public: protected: autocrat::small_vector<MovableItem> _vector; }; TEST_F(SmallVectorTests, ShouldStoreSmallNumbersOfElements) { MovableItem original(1); _vector.emplace_back(original)...
22.734694
78
0.653052
samcragg
4e4b0a644fe4892f1feb281fbf64448a1a99d99d
4,356
cpp
C++
sandbox/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_PX4.cpp
prabhu-dev/LineDetectorLengthFix
2450bae17eb8bfbf0e3b942d765c5c4954715bde
[ "MIT" ]
null
null
null
sandbox/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_PX4.cpp
prabhu-dev/LineDetectorLengthFix
2450bae17eb8bfbf0e3b942d765c5c4954715bde
[ "MIT" ]
null
null
null
sandbox/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_PX4.cpp
prabhu-dev/LineDetectorLengthFix
2450bae17eb8bfbf0e3b942d765c5c4954715bde
[ "MIT" ]
null
null
null
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- #include <AP_HAL.h> #if CONFIG_HAL_BOARD == HAL_BOARD_PX4 #include "AP_InertialSensor_PX4.h" const extern AP_HAL::HAL& hal; #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <drivers/drv_accel.h>...
25.775148
105
0.71281
prabhu-dev
4e4f9bbcda97ce4618efffab67fed4b58b65fd08
1,184
cpp
C++
271B.cpp
AdithyaViswanathan/Codeforces
4f045759227845ced165dfae5763ce76cdca852d
[ "MIT" ]
null
null
null
271B.cpp
AdithyaViswanathan/Codeforces
4f045759227845ced165dfae5763ce76cdca852d
[ "MIT" ]
null
null
null
271B.cpp
AdithyaViswanathan/Codeforces
4f045759227845ced165dfae5763ce76cdca852d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long ll prime[100004]={0}; ll nearestprime[100004]={0}; void sieve() { // cout<<"HERE\n"; prime[0]=1; prime[1]=1; for(int p=2;p*p<=100003;p++) { for(int j=p*p;j<=100003;j+=p) { if(!prime[j]) { prime[j]=1; } } } ll nearest = 0; for(...
16
47
0.54223
AdithyaViswanathan
4e50e0c1780b72742c5b7f2b4b3095afacbf7981
9,630
cpp
C++
Nacro/SDK/FN_B_Melee_Generic_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_B_Melee_Generic_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2021-08-11T18:40:26.000Z
2021-08-11T18:40:26.000Z
Nacro/SDK/FN_B_Melee_Generic_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function B_Melee_Generic.B_Melee_Gene...
28.575668
168
0.770301
Milxnor
4e577fd39f9381bd50e652756ac7dbe6c1c0befb
21,862
cpp
C++
StyleFramework/StyleMDIFrameWnd.cpp
edwig/StyleFramework
c9b19af74f5298c3da348cdbdc988191e76ed807
[ "MIT" ]
2
2021-04-03T12:50:30.000Z
2022-02-08T23:23:56.000Z
StyleFramework/StyleMDIFrameWnd.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
10
2022-01-14T13:28:32.000Z
2022-02-13T12:46:34.000Z
StyleFramework/StyleMDIFrameWnd.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////// // // File: StyleMDIFrameWnd.cpp // Function: Main Window styling frame for MDI and SDI applications // Has a singular title bar with a system menu // // _____ _ _ _ ______ ...
29.227273
203
0.596286
edwig
4e5be878f5bec6af9ee8d0d308509507ea5fcae5
833
cpp
C++
leetcode/395. Longest Substring with At Least K Repeating Characters/s1.cpp
joycse06/LeetCode-1
ad105bd8c5de4a659c2bbe6b19f400b926c82d93
[ "Fair" ]
1
2021-02-03T10:41:04.000Z
2021-02-03T10:41:04.000Z
leetcode/395. Longest Substring with At Least K Repeating Characters/s1.cpp
AnupSadhukhan/LeetCode
725c22ec2f11f5232fd7ab6d63ab4fcd800f201b
[ "Fair" ]
null
null
null
leetcode/395. Longest Substring with At Least K Repeating Characters/s1.cpp
AnupSadhukhan/LeetCode
725c22ec2f11f5232fd7ab6d63ab4fcd800f201b
[ "Fair" ]
1
2021-03-25T17:11:14.000Z
2021-03-25T17:11:14.000Z
class Solution { public: int longestSubstring(string s, int k) { unordered_map<char, int> cnt; for (char c : s) cnt[c]++; int i = 0, j = 0, ans = 0; while (i < s.size()) { unordered_map<char, int> added; while (i < s.size() && cnt[s[i]] < k) ++i; j...
32.038462
73
0.376951
joycse06
4e5e8e09158cdbcc7fc9f3c48941769f9f66a04a
2,576
cpp
C++
common-src/application_instance_file_guard/application_instance_file_guard.cpp
SaltyChiang/VapourSynth-Editor
6ea46953250226a1a96f66f62993de2d34f4198b
[ "MIT" ]
56
2021-08-23T11:28:00.000Z
2022-03-29T22:02:29.000Z
common-src/application_instance_file_guard/application_instance_file_guard.cpp
AmusementClub/VapourSynth-Editor
5dc4808b7fbb36123a9529c9996a75bc7fb9a3c0
[ "MIT" ]
21
2021-08-28T23:26:36.000Z
2022-03-26T10:18:13.000Z
common-src/application_instance_file_guard/application_instance_file_guard.cpp
AmusementClub/VapourSynth-Editor
5dc4808b7fbb36123a9529c9996a75bc7fb9a3c0
[ "MIT" ]
6
2021-12-20T06:37:06.000Z
2022-03-20T06:59:08.000Z
#include "application_instance_file_guard.h" #include <QObject> #include <QStandardPaths> #ifndef Q_OS_WIN #include <sys/file.h> #endif //============================================================================== ApplicationInstanceFileGuard::ApplicationInstanceFileGuard( const QString & a_fileName) { m_temp...
20.774194
80
0.548525
SaltyChiang
4e612e38ea9319911743fef2a7ae7333847e1f02
2,872
hpp
C++
include/object.hpp
davidallendj/ez_paint
c45ff17dec1e17b68e02afb7acae335093c79106
[ "MIT" ]
null
null
null
include/object.hpp
davidallendj/ez_paint
c45ff17dec1e17b68e02afb7acae335093c79106
[ "MIT" ]
null
null
null
include/object.hpp
davidallendj/ez_paint
c45ff17dec1e17b68e02afb7acae335093c79106
[ "MIT" ]
null
null
null
#pragma once #include "message.hpp" #include "log.hpp" #include "counter.hpp" #include <SFML/Config.hpp> #include <SFML/System/Vector2.hpp> #include <SFML/Graphics/CircleShape.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <type_traits> namespace ez_paint { class Object : counter<Object> ...
24.973913
82
0.661908
davidallendj
4e6886c882b4b194631e4ef3d34314fe904760fb
522
cpp
C++
Test.Async.Out.cpp
phiwen96/Delta
66f4acf304c67368d5b0d0d2add64e7e90e739dc
[ "MIT" ]
null
null
null
Test.Async.Out.cpp
phiwen96/Delta
66f4acf304c67368d5b0d0d2add64e7e90e739dc
[ "MIT" ]
null
null
null
Test.Async.Out.cpp
phiwen96/Delta
66f4acf304c67368d5b0d0d2add64e7e90e739dc
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> import Delta; template <typename T, auto N> struct bajs { constexpr static auto begin (T (t) [N]) noexcept -> T* { return t; } }; // static_assert (AllOf <[]<typename T>{return Same <T, std::vector<int>>;}, types>); auto main (int, char**) -> int { ...
13.384615
85
0.588123
phiwen96
4e6ab967b1b1a50754d2211466dd1e9645bf07b6
4,160
cpp
C++
Source/BattleTank/Private/TankAimingComponent.cpp
UnrealCourseSadr/BattleTank
7f5b0d972fa310098925f7ec4cc46cf4a77ab6af
[ "MIT" ]
null
null
null
Source/BattleTank/Private/TankAimingComponent.cpp
UnrealCourseSadr/BattleTank
7f5b0d972fa310098925f7ec4cc46cf4a77ab6af
[ "MIT" ]
null
null
null
Source/BattleTank/Private/TankAimingComponent.cpp
UnrealCourseSadr/BattleTank
7f5b0d972fa310098925f7ec4cc46cf4a77ab6af
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "TankAimingComponent.h" #include "Components/StaticMeshComponent.h" #include "Kismet/GameplayStatics.h" #include "TankBarrel.h" #include "TankTurret.h" #include "Projectile.h" // Sets default values for this component's propertie...
27.733333
125
0.757452
UnrealCourseSadr
4e71c745bf81e882cc7f3d394cc899459cfbaedb
11,834
cc
C++
src/generators/net_caffe_convnet.cc
pnsuau/deepdetect
655aa483c0f129a0a07c0da9be1f1ab8a465f1be
[ "Apache-2.0" ]
1
2022-01-31T01:10:17.000Z
2022-01-31T01:10:17.000Z
src/generators/net_caffe_convnet.cc
pnsuau/deepdetect
655aa483c0f129a0a07c0da9be1f1ab8a465f1be
[ "Apache-2.0" ]
null
null
null
src/generators/net_caffe_convnet.cc
pnsuau/deepdetect
655aa483c0f129a0a07c0da9be1f1ab8a465f1be
[ "Apache-2.0" ]
null
null
null
/** * DeepDetect * Copyright (c) 2014-2017 Emmanuel Benazera * Author: Emmanuel Benazera <beniz@droidnik.fr> * * This file is part of deepdetect. * * deepdetect 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 Softw...
40.251701
79
0.546814
pnsuau
4e7623acb26025fcf39f6203160cef8779606843
555
hpp
C++
AirLib/include/vehicles/multirotor/firmwares/ros_flight/firmware/dummycommlink.hpp
TalatCikikci/AirSim
d71527274de468dad4fb1a229605a68dd9246061
[ "MIT" ]
11
2018-03-29T09:15:43.000Z
2020-07-01T03:18:42.000Z
AirLib/include/vehicles/multirotor/firmwares/ros_flight/firmware/dummycommlink.hpp
TalatCikikci/AirSim
d71527274de468dad4fb1a229605a68dd9246061
[ "MIT" ]
4
2017-07-27T01:05:50.000Z
2018-07-11T06:48:13.000Z
AirLib/include/vehicles/multirotor/firmwares/ros_flight/firmware/dummycommlink.hpp
TalatCikikci/AirSim
d71527274de468dad4fb1a229605a68dd9246061
[ "MIT" ]
9
2017-06-24T00:55:06.000Z
2021-02-09T17:25:18.000Z
#pragma once #include "commlink.hpp" namespace ros_flight { class DummyCommLink : public CommLink { public: virtual void init() override {} virtual void update() override {} virtual void set_sys_id(int32_t sys_id) override {} virtual void set_streaming_rate(uint16_t param_id, int32_t rate) override ...
27.75
82
0.745946
TalatCikikci
4e792c2046af100ab8ffda7fabdb30a4e92a521b
5,002
hpp
C++
source/modus_core/gui/Dockspace.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/gui/Dockspace.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/gui/Dockspace.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
#ifndef _ML_DOCKSPACE_HPP_ #define _ML_DOCKSPACE_HPP_ #include <modus_core/gui/ImGui.hpp> namespace ml::ImGuiExt { // dockspace callback using DockspaceCallback = method<void(struct Dockspace *)>; // dockspace struct ML_NODISCARD Dockspace { public: /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * ...
35.225352
163
0.654338
Gurman8r
4e8662746d661a1ae8596d11eebb86fe2a84849a
4,292
cpp
C++
examples/led-dog/dog/setup.cpp
aleks96n/iotempower
50933dcb9d8ae2cf80e9c48f95698c5de3db9a48
[ "MIT" ]
7
2019-05-22T19:05:27.000Z
2022-01-19T09:34:24.000Z
examples/led-dog/dog/setup.cpp
aleks96n/iotempower
50933dcb9d8ae2cf80e9c48f95698c5de3db9a48
[ "MIT" ]
20
2019-06-13T09:41:02.000Z
2022-01-21T10:13:51.000Z
examples/led-dog/dog/setup.cpp
aleks96n/iotempower
50933dcb9d8ae2cf80e9c48f95698c5de3db9a48
[ "MIT" ]
12
2019-06-04T09:18:13.000Z
2022-01-13T10:09:31.000Z
// vars for eyes enum eyes_anim_type {none, wink, color_animation}; eyes_anim_type eyes_atype = none; CRGB dest_color; int eyes_frame_counter = 0; int eyes_frames = 0; int current_eye = 0; // vars for tie enum tie_anim_type {tie_none, scroll, fade_out}; tie_anim_type tie_atype = tie_none; int tie_frames = 0; // proto...
29.39726
86
0.536114
aleks96n
4e898bedd90d7a101d7af0af3ae1e2c57570be78
408
cpp
C++
src/Input_Manager.cpp
eaymerich/sdltest
6415fbcd07dfb28e4d84f56675842c06a523385c
[ "Unlicense" ]
null
null
null
src/Input_Manager.cpp
eaymerich/sdltest
6415fbcd07dfb28e4d84f56675842c06a523385c
[ "Unlicense" ]
null
null
null
src/Input_Manager.cpp
eaymerich/sdltest
6415fbcd07dfb28e4d84f56675842c06a523385c
[ "Unlicense" ]
null
null
null
#include <SDL2/SDL.h> #include "Goon.h" #include "Input_Manager.h" Input_Manager::Input_Manager() : eventHandler{nullptr} {} void Input_Manager::setEventHandler(EventHandler* handler) { eventHandler = handler; } void Input_Manager::readInput() { SDL_Event event; if (eventHandler) { while (SD...
18.545455
60
0.656863
eaymerich
4e8b359885f076b7eba7d357b3b8afeefcec97ef
4,742
cpp
C++
test/training_data/plag_original_codes/1341D-Nastya_and_Scoreboard.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/1341D-Nastya_and_Scoreboard.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/1341D-Nastya_and_Scoreboard.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <vector> #include <list> #include <set> #include <map> #include <queue> #include <stack> #include <cctype> #include <cassert> #include <climits> #include <string> #include <bitset> #include <cfloat> #include <random> #...
23.019417
78
0.489456
xryuseix
4e93f694ccb6101e597801e1f2f3ce76d21d5cbc
852
cpp
C++
04/uva815.cpp
ericxie/aoapc
10092cebbc5b47364680ffecb5269d94349330e8
[ "MIT" ]
10
2019-11-10T10:37:23.000Z
2021-06-16T14:18:22.000Z
04/uva815.cpp
ericxie/aoapc
10092cebbc5b47364680ffecb5269d94349330e8
[ "MIT" ]
null
null
null
04/uva815.cpp
ericxie/aoapc
10092cebbc5b47364680ffecb5269d94349330e8
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <utility> int a[33][33],n,m; const double eps = 1e-6; double getV(double x,int &k){ int i,j; double v=0.0; k = 0; for(i=0;i<m;i++) for(j=0;j<n;j++) if(a[i][j] < x){ k++; v += (x - a[i][j]) * 100; } return v; } std::pair<double,double> get(double w){ double L,R,M,...
19.363636
70
0.535211
ericxie
4e940b1dbbdb77db79f576d8a738da5140354413
96
cpp
C++
CMakeModules/BMI.cpp
wolfee001/sdsl-lite
3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75
[ "BSD-3-Clause" ]
54
2017-03-23T23:10:40.000Z
2022-03-22T14:25:11.000Z
CMakeModules/BMI.cpp
wolfee001/sdsl-lite
3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75
[ "BSD-3-Clause" ]
65
2017-05-09T05:28:43.000Z
2021-12-16T13:02:25.000Z
CMakeModules/BMI.cpp
wolfee001/sdsl-lite
3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75
[ "BSD-3-Clause" ]
23
2017-03-23T23:11:44.000Z
2022-02-20T22:36:33.000Z
#include <stdint.h> #include <x86intrin.h> int main() { uint64_t res = _tzcnt_u64(1ULL); }
12
36
0.65625
wolfee001
4e945145723f717066c4eafb1b269973f2b3e14c
2,122
cpp
C++
14-prime-cryptarithm/crypt1.cpp
Kaychub/usaco-bronze-juni-learning
7f7985393ab63b06c3692ab97eb4450df8dc1bcf
[ "MIT-0" ]
null
null
null
14-prime-cryptarithm/crypt1.cpp
Kaychub/usaco-bronze-juni-learning
7f7985393ab63b06c3692ab97eb4450df8dc1bcf
[ "MIT-0" ]
null
null
null
14-prime-cryptarithm/crypt1.cpp
Kaychub/usaco-bronze-juni-learning
7f7985393ab63b06c3692ab97eb4450df8dc1bcf
[ "MIT-0" ]
null
null
null
/* ID: caleb.h1 LANG: C++ PROG: crypt1 */ #include <fstream> #include <unordered_set> #include <iostream> bool hasBadDigits(uint n, const std::unordered_set<char>& digits) { while (n) { // If there's a bad digit, return true if (digits.find(n % 10) == digits.end()) { return true; ...
25.878049
67
0.520735
Kaychub
4e9efa047e6427b915e27be6340bbde414696534
3,950
cpp
C++
YokoScroll_rev/Main.cpp
oyakodon/session-siv3d
857bca5bad845d5522d9bff82a5c35f63287b753
[ "MIT" ]
null
null
null
YokoScroll_rev/Main.cpp
oyakodon/session-siv3d
857bca5bad845d5522d9bff82a5c35f63287b753
[ "MIT" ]
null
null
null
YokoScroll_rev/Main.cpp
oyakodon/session-siv3d
857bca5bad845d5522d9bff82a5c35f63287b753
[ "MIT" ]
null
null
null
# include <Siv3D.hpp> # include "wm4s3d.hpp" class Block { public: Block() {} Block(const RectF& region) : m_region(region), m_texture(L"Example/Brick.jpg") {} // プレイヤーの現在位置を更新する関数 void setPlayerPos(const Vec2& pos) { m_playerPosition = pos; } // 描画以外の操作をする関数 void update() {} // 点との当たり判定を取る関数 boo...
16.527197
179
0.616456
oyakodon
4e9ffaa98cb9b4e989201185e693eeb716ef8746
34,055
cpp
C++
src/benchmark_workflow.cpp
sotex/tin-terrain
dcf959e1dd71fbcb16dad58bfa6bb7db1999267f
[ "MIT" ]
1
2020-07-17T03:33:32.000Z
2020-07-17T03:33:32.000Z
src/benchmark_workflow.cpp
sotex/tin-terrain
dcf959e1dd71fbcb16dad58bfa6bb7db1999267f
[ "MIT" ]
null
null
null
src/benchmark_workflow.cpp
sotex/tin-terrain
dcf959e1dd71fbcb16dad58bfa6bb7db1999267f
[ "MIT" ]
null
null
null
#include "tntn/benchmark_workflow.h" #include "tntn/Mesh.h" #include "tntn/logging.h" #include "tntn/File.h" #include "tntn/SurfacePoints.h" #include "tntn/Raster.h" #include "tntn/RasterIO.h" #include "tntn/FileFormat.h" #include "tntn/MeshIO.h" #include "tntn/Mesh2Raster.h" #include "tntn/terra_meshing.h" #include ...
31.649628
125
0.577654
sotex
4ea02441946712256dc8744173dd213766a523cd
2,420
cpp
C++
examples/models/models_billboard.cpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
253
2019-03-20T16:15:21.000Z
2022-03-28T06:04:48.000Z
examples/models/models_billboard.cpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
96
2019-08-19T22:12:28.000Z
2022-03-29T00:25:54.000Z
examples/models/models_billboard.cpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
56
2019-09-09T04:39:50.000Z
2022-03-28T17:42:46.000Z
/******************************************************************************************* * * raylib [models] example - Drawing billboards * * This example has been created using raylib 1.3 (www.raylib.com) * raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) * * Copyright...
36.666667
101
0.402066
luanfagu
4ea4ce19fd7f6a41c1469c750e5f7aefb3d9440a
4,515
cpp
C++
src/api.cpp
Tiza59/primesieve
79798932ce53062f050067355e71db917e1894af
[ "BSD-2-Clause" ]
null
null
null
src/api.cpp
Tiza59/primesieve
79798932ce53062f050067355e71db917e1894af
[ "BSD-2-Clause" ]
null
null
null
src/api.cpp
Tiza59/primesieve
79798932ce53062f050067355e71db917e1894af
[ "BSD-2-Clause" ]
null
null
null
/// /// @file api.cpp /// @brief primesieve C++ API. /// Contains the implementations of the functions declared /// in the primesieve.hpp header file. /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in th...
22.132353
70
0.703654
Tiza59
4ea988b8bd3bfb0679658f93d1b3d3fed120fb86
1,232
cpp
C++
aws-cpp-sdk-glue/source/model/GetBlueprintRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-glue/source/model/GetBlueprintRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-glue/source/model/GetBlueprintRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/glue/model/GetBlueprintRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Glue::Model; using namespace Aws::Utils::Json; using namespace...
20.533333
87
0.750812
perfectrecall
4eab7beb4ae5e982a685c422169a020a46bb44d2
1,372
cpp
C++
Robotron/Source/DirectX9Framework/UserInterface/StaticImage.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
Robotron/Source/DirectX9Framework/UserInterface/StaticImage.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
Robotron/Source/DirectX9Framework/UserInterface/StaticImage.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
// // Bachelor of Software Engineering // Media Design School // Auckland // New Zealand // // (c) 2005 - 2015 Media Design School // // File Name : StaticImage.cpp // Description : CStaticImage implementation file. // Author : Hayden Asplet. // Mail : hayden.asplet@mediadesignschool.com // // PCH #include "GameSt...
18.794521
109
0.732507
ThatBeanBag
4eb24a8857607fd543935d2dc00388facc1b8b5d
2,059
cpp
C++
src/PID.cpp
andrewmegaris/pid_controller
4aaeb923d9c88f136348f0ccd1f63760184cb8af
[ "MIT" ]
null
null
null
src/PID.cpp
andrewmegaris/pid_controller
4aaeb923d9c88f136348f0ccd1f63760184cb8af
[ "MIT" ]
null
null
null
src/PID.cpp
andrewmegaris/pid_controller
4aaeb923d9c88f136348f0ccd1f63760184cb8af
[ "MIT" ]
null
null
null
#include "PID.h" #include <math.h> #include <iostream> #define MIN_STEPS 20 using namespace std; PID::PID() {} PID::~PID() {} void PID::Init(double Kp_, double Ki_, double Kd_) { Kp = Kp_; Ki = Ki_; Kd = Kd_; p_error = 0; i_error = 0; d_error = 0; dpp = Kp/4; dpi = Ki/4; dpd = Kd/4; tol = 0.75 ...
12.329341
53
0.445847
andrewmegaris
4eb263f86dcc3b506de4f73d39dddf97c1df3096
8,089
hpp
C++
AbstractHardware/Registers/RISCV32/FieldValues/csrfieldvalues.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
AbstractHardware/Registers/RISCV32/FieldValues/csrfieldvalues.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
AbstractHardware/Registers/RISCV32/FieldValues/csrfieldvalues.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
// Filename: scrfieldvalues.hpp // Created by by Sergey Kolody on 14.07.2020. #pragma once #include "corefieldvalue.hpp" //for CoreFieldValues #include "corefiledvaluemask.hpp" // for CoreFieldValueMask template<typename Reg, size_t offset, size_t size, typename AccessMode, typename BaseType> struct CSR_MCAUSE_...
51.852564
103
0.810112
snorkysnark
4eb58d150f8e5bd0c759d23b9b907ffbb5800b37
1,742
hpp
C++
src/include/progressive/progressive_quicksort.hpp
pdet/ProgressiveMergesort
5678066b5177b8576ebd909ad0ba4f1486c7ca7d
[ "MIT" ]
null
null
null
src/include/progressive/progressive_quicksort.hpp
pdet/ProgressiveMergesort
5678066b5177b8576ebd909ad0ba4f1486c7ca7d
[ "MIT" ]
null
null
null
src/include/progressive/progressive_quicksort.hpp
pdet/ProgressiveMergesort
5678066b5177b8576ebd909ad0ba4f1486c7ca7d
[ "MIT" ]
null
null
null
#pragma once #include <column.hpp> #include <climits> struct QuicksortNode { int64_t pivot; int64_t min = INT_MIN; int64_t max = INT_MAX; size_t start; size_t end; size_t current_start, current_end; bool sorted; int64_t position; int64_t parent; int64_t left; int64_t right; QuicksortNode() : position(-1...
29.525424
112
0.710677
pdet
4ec07e18142e586ceed9bc1fa4824eff219b14b0
1,309
cpp
C++
main.cpp
tt4g/fruit-issue-130
fa83883c4d369896531cf7c692f26f964099fa3b
[ "Apache-2.0" ]
null
null
null
main.cpp
tt4g/fruit-issue-130
fa83883c4d369896531cf7c692f26f964099fa3b
[ "Apache-2.0" ]
null
null
null
main.cpp
tt4g/fruit-issue-130
fa83883c4d369896531cf7c692f26f964099fa3b
[ "Apache-2.0" ]
null
null
null
#include "OuterClass.hpp" #include "FruitComponents.hpp" #include "TypeEnum.hpp" #include <memory> namespace { using namespace fruit_issue_130; using InjectorType = fruit::Injector< OuterClassComponentAnnotationA, OuterClassComponentAnnotationB, OuterClassComponentAnnotationC>; ...
22.568966
66
0.656226
tt4g
4ec315442db05871e14bcfedff2f6d32c06b2a1b
408
cpp
C++
Dialogs/dialog-manual.cpp
Intueor/BinInjector
457ae2fb2aee5b88c754bda716f262d67f1d0fe9
[ "Apache-2.0" ]
null
null
null
Dialogs/dialog-manual.cpp
Intueor/BinInjector
457ae2fb2aee5b88c754bda716f262d67f1d0fe9
[ "Apache-2.0" ]
null
null
null
Dialogs/dialog-manual.cpp
Intueor/BinInjector
457ae2fb2aee5b88c754bda716f262d67f1d0fe9
[ "Apache-2.0" ]
null
null
null
//== ВКЛЮЧЕНИЯ. #include "dialog-manual.h" #include "ui_dialog-manual.h" //== ФУНКЦИИ КЛАССОВ. //== Класс окна диалога. // Конструктор. DialogManual::DialogManual(QWidget* p_parent) : QDialog(p_parent), p_ui(new Ui::DialogManual) { p_ui->setupUi(this); } // Деструктор. DialogManual::~DialogManual() { delete p_ui; }...
17
93
0.710784
Intueor
4eca5a9553852a3d5510a1af67e084d81d5553f8
5,539
cpp
C++
modules/le_file_watcher/le_file_watcher_linux.cpp
sp0lsh/island
dbb3165f66abdfe6b44d07baeba115e9dac6b61a
[ "MIT" ]
null
null
null
modules/le_file_watcher/le_file_watcher_linux.cpp
sp0lsh/island
dbb3165f66abdfe6b44d07baeba115e9dac6b61a
[ "MIT" ]
null
null
null
modules/le_file_watcher/le_file_watcher_linux.cpp
sp0lsh/island
dbb3165f66abdfe6b44d07baeba115e9dac6b61a
[ "MIT" ]
null
null
null
#include "le_file_watcher.h" #ifdef LE_FILE_WATCHER_IMPL_LINUX # include <iomanip> # include <iostream> # include <bitset> # include <stdio.h> # include <string> # include <list> # include <filesystem> # include <algorithm> # include <dirent.h> # include <sys/inotify.h> # include <unistd.h> // --------------------...
32.775148
169
0.581513
sp0lsh
4ecf9ee0c313d546f7221c60e485a942288cfca6
474
cpp
C++
day-01/day1.cpp
WhoSoup/aoc2019
90f68bb555e93d41a9ffc8e84bcda4548d41d26c
[ "MIT" ]
null
null
null
day-01/day1.cpp
WhoSoup/aoc2019
90f68bb555e93d41a9ffc8e84bcda4548d41d26c
[ "MIT" ]
null
null
null
day-01/day1.cpp
WhoSoup/aoc2019
90f68bb555e93d41a9ffc8e84bcda4548d41d26c
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <cmath> using namespace std; int fuel(int mass) { return mass / 3 - 2; } int fuelfuel(int mass) { int f = fuel(mass); return f <= 0 ? 0 : f + fuelfuel(f); } int main() { ifstream in("input.txt"); int f; long total1 = 0; long total2 = 0; ...
16.928571
40
0.533755
WhoSoup
4ed3a00e489dd32ad54b429abb56507cb08d0fe6
4,043
cpp
C++
src/decision_engine.cpp
gerner/cvc
20fefae422d8e04848e5b4e64d3eeb6e3c182f86
[ "MIT" ]
null
null
null
src/decision_engine.cpp
gerner/cvc
20fefae422d8e04848e5b4e64d3eeb6e3c182f86
[ "MIT" ]
null
null
null
src/decision_engine.cpp
gerner/cvc
20fefae422d8e04848e5b4e64d3eeb6e3c182f86
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> #include <memory> #include <random> #include <cassert> #include <sstream> #include <iterator> #include <algorithm> #include "core.h" #include "decision_engine.h" #include "action.h" std::unique_ptr<DecisionEngine> DecisionEngine::Create( std::vector<Agent*> agents, CVC* cvc, L...
29.510949
80
0.660153
gerner
4ed84c11b70b81938c7818166c756bf9f221863c
5,218
cpp
C++
Engine/Base/Translation.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
Engine/Base/Translation.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
Engine/Base/Translation.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
#include "stdh.h" #include <Engine/Base/CTString.h> #include <Engine/Base/Translation.h> #include <Engine/Base/TranslationPair.h> #include <Engine/Base/Input.h> #include <Engine/Templates/NameTable_CTranslationPair.h> #include <Engine/Base/Memory.h> #include <Engine/Base/Stream.h> #include <Engine/Base/Console.h> #in...
23.718182
115
0.674205
openlastchaos
4debb80ef7d969fde34b7528b5556f4a022c232b
14,034
cpp
C++
libairt/aerotoolsFCSMessageProcessor.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
1
2019-02-07T12:24:51.000Z
2019-02-07T12:24:51.000Z
libairt/aerotoolsFCSMessageProcessor.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
null
null
null
libairt/aerotoolsFCSMessageProcessor.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
1
2020-07-06T10:33:10.000Z
2020-07-06T10:33:10.000Z
#include <cstring> #include <cassert> #include "../atreyu/include/fcsmodule.h" #include "aerotoolsFCSMessageProcessor.h" #include "stdMessage.h" #ifdef TESTING #include "dummySerial.h" #else #include "serial.h" #endif #include "log.h" #include "utils.h" #define MAX_MSG_LENGTH 64 #define SYNC1 0xb5 #define SYNC2 0xc...
29.923241
134
0.625766
AiRT-Software
4dec26cf305fe433705e83577dfb3cd47f58b38b
1,574
hpp
C++
inc/vpp/stage/input.hpp
ezdayo/vpp
90d13ed9ab49ff0db7188ef72a89821f0c14a9bf
[ "MIT" ]
1
2020-06-18T14:01:50.000Z
2020-06-18T14:01:50.000Z
inc/vpp/stage/input.hpp
ezdayo/vpp
90d13ed9ab49ff0db7188ef72a89821f0c14a9bf
[ "MIT" ]
null
null
null
inc/vpp/stage/input.hpp
ezdayo/vpp
90d13ed9ab49ff0db7188ef72a89821f0c14a9bf
[ "MIT" ]
null
null
null
/** * * @file vpp/stage/input.hpp * * @brief This is the VPP input stage definition * * @details This is always the first stage used in any VPP pipeline for it is * the only one to get the original stream of images, be it from an * internal camera, a wifi camera, any other netwo...
26.677966
80
0.647395
ezdayo
4df395b42ea71bcafa2461bad03110e15010fd74
900
cpp
C++
VirtualDispatchAndItsAlternatives/RunTimeVisitor.cpp
inbal2l/CppTalks
5340a73a31132a56c38ca640ab1221d0d401b6a6
[ "MIT" ]
null
null
null
VirtualDispatchAndItsAlternatives/RunTimeVisitor.cpp
inbal2l/CppTalks
5340a73a31132a56c38ca640ab1221d0d401b6a6
[ "MIT" ]
null
null
null
VirtualDispatchAndItsAlternatives/RunTimeVisitor.cpp
inbal2l/CppTalks
5340a73a31132a56c38ca640ab1221d0d401b6a6
[ "MIT" ]
null
null
null
#include <ctime> #include <variant> #include <iostream> using namespace std; using Pixel =int; const int PHOTO_SIZE = 10000; struct FilterBright{}; struct FilterDark{}; struct VisitActivate { void operator()(FilterBright& filter, Pixel& pixel) { pixel+=1; } void operator()(FilterDark&, Pixel& pixel) { pixel-...
21.95122
85
0.653333
inbal2l
4df52c16d8cbf04c85f6eb59cc7c0c3bdf864d88
1,552
cpp
C++
testing/vex_speedtest.cpp
AVasK/Vex
8dc8ed6e65f0cec1b07a41f1910f2d7494b5616d
[ "MIT" ]
null
null
null
testing/vex_speedtest.cpp
AVasK/Vex
8dc8ed6e65f0cec1b07a41f1910f2d7494b5616d
[ "MIT" ]
null
null
null
testing/vex_speedtest.cpp
AVasK/Vex
8dc8ed6e65f0cec1b07a41f1910f2d7494b5616d
[ "MIT" ]
null
null
null
#include <iostream> #include "vex.hpp" #include "vex_proxy.hpp" #include "vex_view.hpp" #include "timing.hpp" #include <vector> #include <valarray> template <typename T> class Error; // #ifdef __SSE4_2__ // #error "SSE4.2 flag has leaked into user-space" // #endif // #ifdef __AVX__ // #error "AVX flag has leake...
19.4
52
0.485825
AVasK
4df891fe4582c98f5c597637b229f6f6bb344291
535
cpp
C++
arduino/library/Mexdulon/MexInput.cpp
mexdulon/tetra-Boards
7c8315b8710bb806d2329b0ba33472b41b0fa471
[ "OLDAP-2.2.1" ]
3
2017-08-08T13:53:08.000Z
2019-11-21T10:32:38.000Z
arduino/library/Mexdulon/MexInput.cpp
mexdulon/mexdulon
7c8315b8710bb806d2329b0ba33472b41b0fa471
[ "OLDAP-2.2.1" ]
1
2016-11-18T15:51:46.000Z
2017-02-18T10:31:51.000Z
arduino/library/Mexdulon/MexInput.cpp
mexdulon/mexdulon
7c8315b8710bb806d2329b0ba33472b41b0fa471
[ "OLDAP-2.2.1" ]
1
2019-01-25T00:35:51.000Z
2019-01-25T00:35:51.000Z
/** Mexdulon Input Source www.mexdulon.com Copyright (c) Oliver Krebs **/ #include "MexInput.h" MexInput::MexInput(int port) : _port(port, INPUT) { } void MexInput::init() { _port.init(); } void MexInput::update() { _port.update(); } uint8_t MexInput::getState(uint8_t idx) const...
13.717949
48
0.588785
mexdulon
4dfc41e9e9518279547eec4284c1cd6a205e29b9
1,631
cpp
C++
Log/Logger.cpp
tryturned/webserver
f9a1342b08c1e2fe36249ce881a771b72bc9b423
[ "MulanPSL-1.0" ]
null
null
null
Log/Logger.cpp
tryturned/webserver
f9a1342b08c1e2fe36249ce881a771b72bc9b423
[ "MulanPSL-1.0" ]
null
null
null
Log/Logger.cpp
tryturned/webserver
f9a1342b08c1e2fe36249ce881a771b72bc9b423
[ "MulanPSL-1.0" ]
null
null
null
/* * @Autor: taobo * @Date: 2020-05-28 10:42:39 * @LastEditTime: 2020-05-28 12:41:46 * @Description: Logger 的实现 */ #include "Logger.h" #include <sys/time.h> #include <time.h> #include <cstring> #include <mutex> #include <string> #include "AsyncLogging.h" #include "LogBuffer.h" #include "LogStream.h" using name...
23.637681
82
0.68363
tryturned
4dfd047f9fd9b08319df70e69b40c00f80046a1f
369
cpp
C++
src/factory-machines.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
src/factory-machines.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
src/factory-machines.cpp
SurajWarrier/cses-problem-set
6248468f526caef10b2d56d8d6ec71059799d60e
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long int main() { int n;ll t; cin>>n>>t; ll a[n]; for(int i=0;i<n;i++) cin>>a[i]; ll l=1,r=1e18,ans=0; while(l<=r) { ll s=0; ll m=l+(r-l)/2; for(int i=0;i<n;i++) { s+=m/a[i]; if(s>=t) { break; } } if(s>=t) { ans=m; r=m-1;...
12.3
24
0.474255
SurajWarrier
15010a137180602ec056834adf95e83c1e2661dd
85,654
cpp
C++
src/sdd/ReverseTranslator.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
3
2020-09-05T18:13:23.000Z
2022-01-15T14:47:57.000Z
src/sdd/ReverseTranslator.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
4
2016-06-27T21:25:59.000Z
2020-04-28T14:00:21.000Z
src/sdd/ReverseTranslator.cpp
jmarrec/OpenStudio
5276feff0d8dbd6c8ef4e87eed626bc270a19b14
[ "blessing" ]
1
2021-06-05T18:16:02.000Z
2021-06-05T18:16:02.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
42.550422
150
0.673687
muehleisen
15160201e18417bef0339daed7e435e770436c60
326
cpp
C++
old/Codeforces/581/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/Codeforces/581/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/Codeforces/581/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "string/to_string.hpp" int main() { int n; cin >> n; vector<int> a(n), b(n); for (int& i : a) cin >> i; reverse(a.begin(), a.end()); int mx = 0; for (int i = 0; i < n; ++i) { b[i] = max(mx - a[i] + 1, 0); mx = max(mx, a[i]); } reverse(b.begin(), b.end()); cout << to_string(b) << en...
19.176471
33
0.472393
not522
1516c441ab1ac076761ef84a54ed58502c557c80
3,345
cpp
C++
2022.05.01-Homework-3/Project-1/LinkedList.cpp
st091446/programming-Osim-2021-2022
cf03dcbc1732332adab3ff78704fbd6d4b531887
[ "Apache-2.0" ]
null
null
null
2022.05.01-Homework-3/Project-1/LinkedList.cpp
st091446/programming-Osim-2021-2022
cf03dcbc1732332adab3ff78704fbd6d4b531887
[ "Apache-2.0" ]
null
null
null
2022.05.01-Homework-3/Project-1/LinkedList.cpp
st091446/programming-Osim-2021-2022
cf03dcbc1732332adab3ff78704fbd6d4b531887
[ "Apache-2.0" ]
null
null
null
#include "LinkedList.h" std::ostream& operator<<(std::ostream& stream, const Node& node) { stream << node.data; return stream; } std::ostream& operator<<(std::ostream& stream, const LinkedList& list) { stream << "[" << list.count << "] : { "; Node* temp = list.head; while (temp != nullptr) { str...
15.778302
71
0.532436
st091446
1517c411bec22b1076964dbf66ac33a5273d6f7e
654
hpp
C++
fontys_at_work/nav_lib/include/nav_lib/MapConfig.hpp
MrJaeqx/ESA--WORK
50d5b397f634db98e2627a764c7731e76a4b3feb
[ "MIT" ]
2
2018-03-09T13:44:29.000Z
2019-12-18T16:17:03.000Z
fontys_at_work/nav_lib/include/nav_lib/MapConfig.hpp
MrJaeqx/ESA--WORK
50d5b397f634db98e2627a764c7731e76a4b3feb
[ "MIT" ]
32
2017-11-19T16:26:41.000Z
2018-01-19T12:36:10.000Z
fontys_at_work/nav_lib/include/nav_lib/MapConfig.hpp
FontysAtWork/ESA-PROJ
50d5b397f634db98e2627a764c7731e76a4b3feb
[ "MIT" ]
1
2017-11-19T12:45:37.000Z
2017-11-19T12:45:37.000Z
#ifndef MAP_CONFIG_H #define MAP_CONFIG_H #include <string> #include "geometry_msgs/Pose.h" #include "YamlParser.hpp" class MapConfig { private: std::string imageName; double resolution; geometry_msgs::Pose origin; double negate; double occupiedThresh; double freeThresh; public: MapConfig(...
21.096774
58
0.711009
MrJaeqx
1518599360732f978ce1f47e1dee1ecbdc6f4525
7,630
hpp
C++
srcs/modules/SslCore/Listener.hpp
ViguierB/zia
cb3e3a967ac4129cc4aa80fc1ca3401a17666852
[ "Beerware" ]
null
null
null
srcs/modules/SslCore/Listener.hpp
ViguierB/zia
cb3e3a967ac4129cc4aa80fc1ca3401a17666852
[ "Beerware" ]
null
null
null
srcs/modules/SslCore/Listener.hpp
ViguierB/zia
cb3e3a967ac4129cc4aa80fc1ca3401a17666852
[ "Beerware" ]
null
null
null
/* ** EPITECH PROJECT, 2018 ** zia ** File description: ** Listener.hpp */ #pragma once #include "../common/NetStream.hpp" #include "boost/date_time/posix_time/posix_time.hpp" #include "Zany/Connection.hpp" #include "Zany/Pipeline.hpp" #include "Zany/Entity.hpp" #include "Constants.hpp" namespace zia { struct Virtu...
29.921569
113
0.657012
ViguierB
151d4b9ecd22e5c8d02a2c7d32177889614a8705
3,860
cpp
C++
src/plugins/keystores/android/androidkeystore.cpp
wangyangyangisme/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
68
2017-04-10T08:21:17.000Z
2022-03-07T03:58:44.000Z
src/plugins/keystores/android/androidkeystore.cpp
wyyrepo/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
4
2019-02-26T09:30:07.000Z
2019-10-27T14:18:42.000Z
src/plugins/keystores/android/androidkeystore.cpp
wyyrepo/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
14
2017-05-11T06:13:00.000Z
2021-11-11T02:22:55.000Z
#include "androidkeystore.h" #include <QtAndroidExtras/QtAndroid> AndroidKeyStore::AndroidKeyStore(const QtDataSync::Defaults &defaults, QObject *parent) : KeyStore(defaults, parent), _preferences() {} QString AndroidKeyStore::providerName() const { return QStringLiteral("android"); } bool AndroidKeyStore::isOpen...
30.88
103
0.731088
wangyangyangisme
1522bd64fa77dc5067a0c9523fdbb12754bae4ee
1,228
cpp
C++
silkrpc/consensus/ethash.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
9
2021-03-08T13:26:46.000Z
2022-02-25T23:23:16.000Z
silkrpc/consensus/ethash.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
151
2020-11-22T15:42:58.000Z
2022-03-31T20:12:18.000Z
silkrpc/consensus/ethash.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
5
2021-03-15T11:01:34.000Z
2022-03-12T15:45:00.000Z
/* Copyright 2020 The Silkrpc 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 ag...
31.487179
85
0.665309
enriavil1
152456157dd584ebcd79a9161db51b965aaddf75
899
cpp
C++
code/1042.cpp
Tomspiano/PAT-Advanced-Level-Practice
e7f543a23f852bcbad52170897a42b41622191ed
[ "MIT" ]
null
null
null
code/1042.cpp
Tomspiano/PAT-Advanced-Level-Practice
e7f543a23f852bcbad52170897a42b41622191ed
[ "MIT" ]
null
null
null
code/1042.cpp
Tomspiano/PAT-Advanced-Level-Practice
e7f543a23f852bcbad52170897a42b41622191ed
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define N 13 #define M 5 #define P 54 using namespace std; #define rep(i,a,b) for(int i=(a); i<(b); ++i) int n; char cards[P][M]; int t[2][P+1]; int order[P+1]; const char cls[M-1] = {'S', 'H', 'C', 'D'}; void Init() { int k; rep(i,0,P-2) { k = 0; cards[i][k++] = cls[i/N]; if((i%N+1)/1...
16.345455
45
0.467186
Tomspiano
1525c5c1a37f547376ef23b7a06e9b304d07376a
3,908
cpp
C++
src/config_parser.cpp
sunharis/phosphor-networkd
a91c654c1b5117ab23541d9aef5f32c75c317e51
[ "Apache-2.0" ]
10
2017-08-23T16:39:54.000Z
2020-04-22T17:21:07.000Z
src/config_parser.cpp
sunharis/phosphor-networkd
a91c654c1b5117ab23541d9aef5f32c75c317e51
[ "Apache-2.0" ]
41
2016-02-10T13:59:47.000Z
2022-03-29T08:18:33.000Z
src/config_parser.cpp
sunharis/phosphor-networkd
a91c654c1b5117ab23541d9aef5f32c75c317e51
[ "Apache-2.0" ]
27
2016-01-20T13:17:34.000Z
2022-01-19T15:06:51.000Z
#include "config_parser.hpp" #include <algorithm> #include <fstream> #include <list> #include <phosphor-logging/log.hpp> #include <regex> #include <string> #include <unordered_map> namespace phosphor { namespace network { namespace config { using namespace phosphor::logging; Parser::Parser(const fs::path& filePath)...
23.97546
79
0.563971
sunharis
152dc471f256616401184fbd5e405cff279b39d7
29,010
cpp
C++
foobar2000/helpers/cue_parser.cpp
jpbattaille/foobar2000
9b057e21fee0a185d09d520de9bb7bce27cb264b
[ "Unlicense" ]
147
2017-11-19T22:22:09.000Z
2019-06-24T11:57:40.000Z
foobar2000/helpers/cue_parser.cpp
jpbattaille/foobar2000
9b057e21fee0a185d09d520de9bb7bce27cb264b
[ "Unlicense" ]
28
2018-05-22T19:57:58.000Z
2019-06-21T23:31:50.000Z
fb2k/foobar2000/helpers/cue_parser.cpp
hozuki/foo_input_nemuc
884fc8d7c1af2ac7eb8235cd5691d156109db94a
[ "MIT" ]
14
2017-11-22T01:53:31.000Z
2019-04-04T18:45:18.000Z
#include "stdafx.h" #include "cue_parser.h" #define maximumCueTrackNumber 999 namespace { PFC_DECLARE_EXCEPTION(exception_cue,pfc::exception,"Invalid cuesheet"); PFC_DECLARE_EXCEPTION(exception_cue_tracktype, exception_cue, "Not an audio track") } static bool is_numeric(char c) {return c>='0' && c<='9';} static...
33.890187
228
0.712547
jpbattaille
1533174a69480839e86e5f420ed8214a9b1d5911
9,061
cpp
C++
test/err/Output.main.cpp
AnantaYudica/basic
dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950
[ "MIT" ]
null
null
null
test/err/Output.main.cpp
AnantaYudica/basic
dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950
[ "MIT" ]
178
2018-08-08T04:04:27.000Z
2019-12-15T01:47:58.000Z
test/err/Output.main.cpp
AnantaYudica/basic
dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950
[ "MIT" ]
null
null
null
#include "Test.h" #include "test/Message.h" #include "test/Variable.h" #include "test/Case.h" #include "test/var/At.h" #include "err/Output.h" #include <cstdio> #include <cstring> #include <cstddef> #include <type_traits> #include <sstream> #define BUFFER_FORMAT_CSTRING 256 struct TestDefnOutputType {}; struct Test...
31.461806
82
0.645514
AnantaYudica
15364dc778014150c0fed0265b853afc31cf4b42
2,858
cpp
C++
irohad/ordering/impl/ordering_gate_transport_grpc.cpp
bbr88/iroha
8cc19fe8cd53cdb108853da7098c06d2b9237e38
[ "Apache-2.0" ]
null
null
null
irohad/ordering/impl/ordering_gate_transport_grpc.cpp
bbr88/iroha
8cc19fe8cd53cdb108853da7098c06d2b9237e38
[ "Apache-2.0" ]
2
2020-07-07T19:31:15.000Z
2021-06-01T22:29:48.000Z
irohad/ordering/impl/ordering_gate_transport_grpc.cpp
bbr88/iroha
8cc19fe8cd53cdb108853da7098c06d2b9237e38
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved. * http://soramitsu.co.jp * * 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/LICENS...
35.283951
79
0.720784
bbr88
153946e9a59736e7604330c36e910759eaa80449
2,285
cpp
C++
test/type_traits/type_set_unit_test.cpp
julionce/cpputils
269dbe94c4a9b92538812dd1e91b7c2101b8a221
[ "Apache-2.0" ]
null
null
null
test/type_traits/type_set_unit_test.cpp
julionce/cpputils
269dbe94c4a9b92538812dd1e91b7c2101b8a221
[ "Apache-2.0" ]
null
null
null
test/type_traits/type_set_unit_test.cpp
julionce/cpputils
269dbe94c4a9b92538812dd1e91b7c2101b8a221
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021-present Julián Bermúdez Ortega * * 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 applicabl...
36.269841
76
0.717724
julionce
153cb37d58e6441e26e02f84aeb02b4ed6e1d971
3,952
hpp
C++
src/ecore/ecore/src_gen/ecore/EGenericType.hpp
MDE4CPP/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/ecore/ecore/src_gen/ecore/EGenericType.hpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/ecore/ecore/src_gen/ecore/EGenericType.hpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef ECORE_EGENERICTYPE_HPP #define ECORE_EGENERICTYPE_HPP #include <list> #include <memory> #include...
23.111111
108
0.570091
MDE4CPP
153eebd20b528545ecf7e1201d84138243a73393
2,858
cpp
C++
WhispEngine/WhispEngine/ModuleWindow.cpp
Empty-Whisper/WhispEngine
f1f8412377db24569ea2e2db7118b0339a11e85d
[ "MIT" ]
10
2019-10-09T15:58:03.000Z
2022-01-24T07:09:16.000Z
WhispEngine/WhispEngine/ModuleWindow.cpp
Empty-Whisper/WhispEngine
f1f8412377db24569ea2e2db7118b0339a11e85d
[ "MIT" ]
8
2019-10-21T16:48:49.000Z
2019-10-26T14:25:43.000Z
WhispEngine/WhispEngine/ModuleWindow.cpp
Empty-Whisper/WhispEngine
f1f8412377db24569ea2e2db7118b0339a11e85d
[ "MIT" ]
5
2019-10-15T09:17:21.000Z
2020-05-17T21:43:03.000Z
#include "Globals.h" #include "ModuleWindow.h" #include "Application.h" #include "mmgr/mmgr.h" ModuleWindow::ModuleWindow(bool start_enabled) : Module(start_enabled) { name.assign("Window"); window = NULL; screen_surface = NULL; } // Destructor ModuleWindow::~ModuleWindow() { } // Called before render is availa...
19.710345
119
0.698041
Empty-Whisper
1543d593d65e9ce3e3d48ed3abea6bb7eecdc5ad
626
cpp
C++
src/retro/Renderer.cpp
mickiboy/retroportal
91bbd94da4750b1485f9d8f96f6575e008d9f46c
[ "MIT" ]
null
null
null
src/retro/Renderer.cpp
mickiboy/retroportal
91bbd94da4750b1485f9d8f96f6575e008d9f46c
[ "MIT" ]
null
null
null
src/retro/Renderer.cpp
mickiboy/retroportal
91bbd94da4750b1485f9d8f96f6575e008d9f46c
[ "MIT" ]
null
null
null
#include "impl/GL/RendererImpl_GL.h" namespace retro { Renderer::Renderer(Application& app) { impl = std::make_shared<RendererImpl_GL>(app); } Renderer::~Renderer() { impl.reset(); } template<typename T> T* Renderer::getImpl() { return static_cast<T*>(impl.get(...
16.918919
67
0.570288
mickiboy
15463620326369d46916e341f164b2f8fd12aa23
2,880
cpp
C++
uart_device.cpp
ifknot/avr_uart
4198304d9fbfb94407006e3b4c5f4bedba860a73
[ "MIT" ]
1
2022-03-14T20:20:50.000Z
2022-03-14T20:20:50.000Z
uart_device.cpp
ifknot/avr_uart
4198304d9fbfb94407006e3b4c5f4bedba860a73
[ "MIT" ]
null
null
null
uart_device.cpp
ifknot/avr_uart
4198304d9fbfb94407006e3b4c5f4bedba860a73
[ "MIT" ]
null
null
null
/* * uart_device.cpp * * Created: 4/18/2020 10:32:00 PM * Author: ifkno */ #include "uart_device.h" namespace singleton { void uart_device::write(char c){ UDR0 = c; loop_until_bit_is_set(UCSR0A, UDRE0); // spin on data register until completed } char uart_device::read() { loop_until_bit_is_set(UCSR...
22.153846
102
0.626042
ifknot
15487fd26aee09a0c7b939a3dd0d0cf9b3cedab1
2,913
cpp
C++
examples/hello_world.cpp
terrakuh/fast_cgi
2f882a715677ec8f6047d2edb7548ff9b9fea1a6
[ "MIT" ]
2
2020-04-21T11:56:27.000Z
2020-05-06T05:28:54.000Z
examples/hello_world.cpp
terrakuh/fast_cgi
2f882a715677ec8f6047d2edb7548ff9b9fea1a6
[ "MIT" ]
null
null
null
examples/hello_world.cpp
terrakuh/fast_cgi
2f882a715677ec8f6047d2edb7548ff9b9fea1a6
[ "MIT" ]
null
null
null
#include <arpa/inet.h> #include <chrono> #include <cstdio> #include <cstdlib> #include <cstring> #include <fast_cgi/fast_cgi.hpp> #include <fast_cgi/memory/simple_allocator.hpp> #include <iomanip> #include <iostream> #include <sstream> #include <sys/ioctl.h> #include <sys/socket.h> #include <unistd.h> class responder ...
20.089655
108
0.615173
terrakuh
1548a0b19e268a21064b946e9f4a64799a6179f5
140
hpp
C++
include/mos/gl/element_array_buffers.hpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
230
2016-02-15T20:46:01.000Z
2022-03-07T11:56:12.000Z
include/mos/gl/element_array_buffers.hpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
79
2016-02-07T11:37:04.000Z
2021-09-29T09:14:27.000Z
include/mos/gl/element_array_buffers.hpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
14
2018-05-16T13:10:22.000Z
2021-09-28T10:23:31.000Z
#pragma once #include <mos/gl/buffer.hpp> namespace mos::gl { using Element_array_buffers = std::unordered_map<unsigned int, Buffer>; }
14
71
0.742857
morganbengtsson
154c08c28e143191033f98cf3390bf925e23e240
854
cpp
C++
src/Mammal.cpp
winstonspencer/zoo-app
dcafcef749658eeb6e4a988bb658d248eb4beaac
[ "Apache-2.0" ]
null
null
null
src/Mammal.cpp
winstonspencer/zoo-app
dcafcef749658eeb6e4a988bb658d248eb4beaac
[ "Apache-2.0" ]
null
null
null
src/Mammal.cpp
winstonspencer/zoo-app
dcafcef749658eeb6e4a988bb658d248eb4beaac
[ "Apache-2.0" ]
null
null
null
/** * @file Mammal.cpp * @author Winston Spencer * @brief The Mammel class definition * @version 0.1 * @date 2021-02-21 * * @copyright Copyright (c) 2021 * */ #include "Mammal.h" #include <string> /** * @brief Construct a new Mammal object * */ Mammal::Mammal() : Animal() { this->m_...
16.113208
60
0.600703
winstonspencer
154c0e39c067988e2a1a520234e4f864869b9c4a
5,194
cpp
C++
Src/Util/Bitmap.cpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
1
2016-08-28T18:29:17.000Z
2016-08-28T18:29:17.000Z
Src/Util/Bitmap.cpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
null
null
null
Src/Util/Bitmap.cpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
null
null
null
/* * CX - C++ framework for general purpose development * * https://github.com/draede/cx * * Copyright (C) 2014 - 2021 draede - draede [at] outlook [dot] com * * Released under the MIT License. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associate...
17.666667
83
0.650943
draede
15538b51728128a9c329f90345af4935fb1a98cf
39,334
cpp
C++
include/mustela/tx.cpp
hrissan/mustela
8c5f761f7ccf4b3aebe2083e63bfa20c4f693714
[ "MIT" ]
1
2018-05-03T19:47:04.000Z
2018-05-03T19:47:04.000Z
include/mustela/tx.cpp
hrissan/mustela
8c5f761f7ccf4b3aebe2083e63bfa20c4f693714
[ "MIT" ]
null
null
null
include/mustela/tx.cpp
hrissan/mustela
8c5f761f7ccf4b3aebe2083e63bfa20c4f693714
[ "MIT" ]
1
2017-10-30T12:49:22.000Z
2017-10-30T12:49:22.000Z
#include "mustela.hpp" #include <algorithm> #include <iostream> #include <sys/mman.h> // MEGA TODO - check all cursor updates for order invariance using namespace mustela; static const bool BULK_LOADING = true; static const char bucket_prefix = 'b'; int TX::debug_mirror_counter = 0; TX::TX(DB & my_db, bool read_o...
42.523243
196
0.709056
hrissan