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
f405d369be9146341e36db9b91c35de67a8c0864
2,132
cpp
C++
xo/MsgLoop_windows.cpp
bmharper/xo
575429591c166cc70db60385d2a6563d0f9bc9ed
[ "Unlicense" ]
7
2015-12-18T04:17:29.000Z
2020-03-13T15:38:54.000Z
xo/MsgLoop_windows.cpp
benharper123/xo
575429591c166cc70db60385d2a6563d0f9bc9ed
[ "Unlicense" ]
null
null
null
xo/MsgLoop_windows.cpp
benharper123/xo
575429591c166cc70db60385d2a6563d0f9bc9ed
[ "Unlicense" ]
4
2016-09-18T13:16:02.000Z
2022-03-23T11:33:53.000Z
#include "pch.h" #include "Defs.h" #include "DocGroup_windows.h" #include "SysWnd.h" #include "Event.h" #include "Doc.h" #include "MsgLoop.h" namespace xo { static void SetupTimerMessagesForAllDocs() { for (DocGroup* dg : Global()->Docs) ((DocGroupWindows*) dg)->SetSysWndTimer(dg->Doc->FastestTimerMS()); } XO_API...
30.457143
106
0.683396
bmharper
f4069c0ac7975d628cbee502bff98c9931ec813a
21,248
cpp
C++
dep/StormLib/src/SFileListFile.cpp
muscnx/Mangos021SD2
695bb6a4822bb9173ab8e9077cb6259869ca2f32
[ "PostgreSQL", "Zlib", "OpenSSL" ]
1
2021-04-04T20:42:54.000Z
2021-04-04T20:42:54.000Z
src/SFileListFile.cpp
ezaruba/StormLib
eec75473b71cba0363dcb4c6985e92b266144ce5
[ "MIT" ]
null
null
null
src/SFileListFile.cpp
ezaruba/StormLib
eec75473b71cba0363dcb4c6985e92b266144ce5
[ "MIT" ]
null
null
null
/*****************************************************************************/ /* SListFile.cpp Copyright (c) Ladislav Zezula 2004 */ /*---------------------------------------------------------------------------*/ /* Description: */ ...
31.808383
129
0.569418
muscnx
f4081d6f4fa5731b2e4eb35f45973a62b45f13c0
15,868
cpp
C++
Samples/Win7Samples/winbase/DeviceFoundation/PNPX/SimpleThermostat/WSD/WSDSimpleThermostatGenerated/SimpleThermostat_WSDProxy.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/winbase/DeviceFoundation/PNPX/SimpleThermostat/WSD/WSDSimpleThermostatGenerated/SimpleThermostat_WSDProxy.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/winbase/DeviceFoundation/PNPX/SimpleThermostat/WSD/WSDSimpleThermostatGenerated/SimpleThermostat_WSDProxy.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
// <Include> /////////////////////////////////////////////////////////////////////////////// // // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY IT BY HAND. // /////////////////////////////////////////////////////////////////////////////// // </Include> // <LiteralInclude> #include <wsdapi.h> // </Lit...
21.618529
163
0.521112
windows-development
f40ba93ed93204eead0cd3a2b096164a47f81789
803
cpp
C++
10405 - Longest Common Subsequence.cpp
abdullah1107/uva
5c7107d41a586e30aa7cc91cd7498b82dbc506ee
[ "MIT" ]
null
null
null
10405 - Longest Common Subsequence.cpp
abdullah1107/uva
5c7107d41a586e30aa7cc91cd7498b82dbc506ee
[ "MIT" ]
null
null
null
10405 - Longest Common Subsequence.cpp
abdullah1107/uva
5c7107d41a586e30aa7cc91cd7498b82dbc506ee
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<cstdio> #include<vector> #include<algorithm> using namespace std; int lcs[2000][2000]; int LCS(string A,string B) { int m=A.size(); int n=B.size(); for(int i=0; i<=m; i++) lcs[i][0]=0; for(int i=0; i<=n; i++) lcs[0][i]=0; for(int i=1; i<=m...
19.585366
43
0.419676
abdullah1107
f40c2b442912ce46b8ff2cf73a6d218f2d4c1171
585
cpp
C++
source/macos-static/tools/test-plugin/test-plugin.cpp
lostjared/acidcamGL
dbd06c24bfc4a0b1afc137e906f1a9a9cb98a14b
[ "BSD-2-Clause" ]
12
2020-06-29T03:58:26.000Z
2022-01-15T17:03:16.000Z
source/macos-static/tools/test-plugin/test-plugin.cpp
lostjared/acidcamGL
dbd06c24bfc4a0b1afc137e906f1a9a9cb98a14b
[ "BSD-2-Clause" ]
1
2020-11-05T01:51:58.000Z
2020-12-14T18:20:54.000Z
source/macos-static/tools/test-plugin/test-plugin.cpp
lostjared/acidcamGL
dbd06c24bfc4a0b1afc137e906f1a9a9cb98a14b
[ "BSD-2-Clause" ]
3
2020-02-27T18:27:45.000Z
2021-08-18T01:24:52.000Z
#include<iostream> #include"plugin-program.hpp" #include<unistd.h> int main(int argc, char **argv) { if(argc == 2) { acidcam::AC_Program program; if(program.load(argv[1])) { std::cout << "plugin: loaded..\n"; } cv::Mat m = cv::Mat::zeros(480, 640, CV_8UC3); cv::n...
24.375
54
0.480342
lostjared
f40e4c94c09489eae2b4ac98fbd929cda0ff478a
1,682
cpp
C++
accepted-solutions-in-acm-uva/Vol 101/10131- Is Bigger Smarter.cpp
TareqNewazShahriar/my-cpp-works
3009daf23e8c4cbd489ee76c874127028bde8181
[ "MIT" ]
null
null
null
accepted-solutions-in-acm-uva/Vol 101/10131- Is Bigger Smarter.cpp
TareqNewazShahriar/my-cpp-works
3009daf23e8c4cbd489ee76c874127028bde8181
[ "MIT" ]
null
null
null
accepted-solutions-in-acm-uva/Vol 101/10131- Is Bigger Smarter.cpp
TareqNewazShahriar/my-cpp-works
3009daf23e8c4cbd489ee76c874127028bde8181
[ "MIT" ]
null
null
null
#include<stdio.h> #include<algorithm> #define R 1001 using namespace std; /*-------------------------Global Variables-----------------------*/ int *freq, *lis; class DATA { public: int x,y,k; }data[R]; /*--------------------- Function Prototypes-----------------------*/ bool compare( const DATA &a, const DATA &b ) { ...
19.113636
95
0.502973
TareqNewazShahriar
f40ee5049d3a3cb2b3d9ca37ba403ca9acb7d9fe
1,124
hpp
C++
include/TitleMetadata.hpp
tallbl0nde/TMetaDump
9e189cb0b79f13d31f041c8f89df605f38d81b34
[ "MIT" ]
1
2021-07-18T14:03:41.000Z
2021-07-18T14:03:41.000Z
include/TitleMetadata.hpp
tallbl0nde/TMetaDump
9e189cb0b79f13d31f041c8f89df605f38d81b34
[ "MIT" ]
2
2021-07-18T14:03:39.000Z
2022-03-31T04:05:43.000Z
include/TitleMetadata.hpp
tallbl0nde/TMetaDump
9e189cb0b79f13d31f041c8f89df605f38d81b34
[ "MIT" ]
null
null
null
#ifndef TITLEMETADATA_HPP #define TITLEMETADATA_HPP #include <fstream> #include "Paths.hpp" #include "Utils.hpp" #include <vector> // Collection of metadata associated with an installed title. struct TitleMetadata { std::string name; // Name of title std::string author; // Aut...
31.222222
90
0.590747
tallbl0nde
f412bf4866ac41a0574f36663a171bc6042bed98
55,972
cpp
C++
Osiris/Hacks/Misc.cpp
justinmaks/stincheat
7b5c85f049fad0366be72c6a8ce03a27229dc888
[ "MIT" ]
2
2020-12-07T01:52:02.000Z
2021-02-27T13:13:11.000Z
Osiris/Hacks/Misc.cpp
justinmaks/stincheat
7b5c85f049fad0366be72c6a8ce03a27229dc888
[ "MIT" ]
null
null
null
Osiris/Hacks/Misc.cpp
justinmaks/stincheat
7b5c85f049fad0366be72c6a8ce03a27229dc888
[ "MIT" ]
1
2020-11-04T07:15:51.000Z
2020-11-04T07:15:51.000Z
#include <stdio.h> #include <string> #include <iostream> using namespace std; class eccwymy { public: string mxwwwexqo; eccwymy(); string oouyqmgyitslagkqqepuu(string qobeurofax, string nwkjhevk, int ulgoekkogjwimta, bool yewdxfacp, double qlvnjww, double faohma, int jouqmgqtaocyar, double rnxlggklb, int...
37.539906
364
0.64191
justinmaks
f4136561a11647b3d02e4e9d8fab264bf0c1cffd
10,672
cpp
C++
unittests/tools/llvm-exegesis/X86/InstructionSnippetGeneratorTest.cpp
GoSSIP-SJTU/TripleDoggy
03648d6b19c812504b14e8b98c8c7b3f443f4e54
[ "Apache-2.0" ]
171
2018-09-17T13:15:12.000Z
2022-03-18T03:47:04.000Z
unittests/tools/llvm-exegesis/X86/InstructionSnippetGeneratorTest.cpp
Ewenwan/TripleDoggy
01db804b6570b1e25e29a387aa2addb68b48335f
[ "Apache-2.0" ]
7
2018-10-05T04:54:18.000Z
2020-10-02T07:58:13.000Z
unittests/tools/llvm-exegesis/X86/InstructionSnippetGeneratorTest.cpp
Ewenwan/TripleDoggy
01db804b6570b1e25e29a387aa2addb68b48335f
[ "Apache-2.0" ]
35
2018-09-18T07:46:53.000Z
2022-03-27T07:59:48.000Z
//===-- InstructionSnippetGeneratorTest.cpp ---------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
34.425806
80
0.683002
GoSSIP-SJTU
f416b2d526d658c0a80346a433d47aca5a3e02d7
5,844
cpp
C++
BRSEngine/Private/Libraries/BRSOnlineLibrary.cpp
Tomura/TacticalPrototypeCPP
0c8599a681222ad8e25f6db05e3e580b89c52974
[ "MIT" ]
6
2018-07-10T06:46:15.000Z
2020-01-09T23:06:49.000Z
BRSEngine/Private/Libraries/BRSOnlineLibrary.cpp
Tomura/TacticalPrototypeCPP
0c8599a681222ad8e25f6db05e3e580b89c52974
[ "MIT" ]
null
null
null
BRSEngine/Private/Libraries/BRSOnlineLibrary.cpp
Tomura/TacticalPrototypeCPP
0c8599a681222ad8e25f6db05e3e580b89c52974
[ "MIT" ]
1
2020-04-11T13:12:18.000Z
2020-04-11T13:12:18.000Z
// Copyright (c) 2015-2016, Tammo Beil - All rights reserved #include "BRSEngine.h" #include "OnlineSessionInterface.h" #include "OnlineSessionSettings.h" #include "OnlineDelegateMacros.h" #include "OnlineSubsystem.h" #include "OnlineSubsystemImpl.h" #include "OnlineSubsystemUtils.h" #include "OnlineSubsystemUtilsModu...
29.969231
136
0.749316
Tomura
f416ce3460e18f35b63814f6d921ac8ad9814025
204
cpp
C++
chapter10/10.2_A_First_Look_at_the_Algorithms/10.2.0_introduction.cpp
NorthFacing/step-by-c
bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3
[ "MIT" ]
9
2019-05-10T05:39:21.000Z
2022-02-22T08:04:52.000Z
chapter10/10.2_A_First_Look_at_the_Algorithms/10.2.0_introduction.cpp
NorthFacing/step-by-c
bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3
[ "MIT" ]
null
null
null
chapter10/10.2_A_First_Look_at_the_Algorithms/10.2.0_introduction.cpp
NorthFacing/step-by-c
bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3
[ "MIT" ]
6
2019-05-13T13:39:19.000Z
2022-02-22T08:05:01.000Z
/** * 10.2 初识泛型算法 * @Author Bob * @Eamil 0haizhu0@gmail.com * @Date 2017/11/2 */ int main(){ /** * 1. 标准库提供了超过100种算法,这些算法有一致的结构 * 2. 理解算法的最基本的方法就是了解他们是否读取元素、改变元素或重排元素顺序 */ return 0; }
12.75
43
0.607843
NorthFacing
f4203d4c60add285430697c9569ec92ced2a2ac4
814
cpp
C++
Scarlet-Additions/Scarlet-Vulkan/Source/Core/InterfaceVulkan.cpp
Red-Scarlet/Scarlet-Series
888c8815158f0063170a01725c3198b7aa1e1438
[ "Apache-2.0" ]
null
null
null
Scarlet-Additions/Scarlet-Vulkan/Source/Core/InterfaceVulkan.cpp
Red-Scarlet/Scarlet-Series
888c8815158f0063170a01725c3198b7aa1e1438
[ "Apache-2.0" ]
1
2021-05-24T03:50:22.000Z
2021-05-24T03:50:22.000Z
Scarlet-Additions/Scarlet-Vulkan/Source/Core/InterfaceVulkan.cpp
Red-Scarlet/Scarlet-Series
888c8815158f0063170a01725c3198b7aa1e1438
[ "Apache-2.0" ]
1
2021-05-23T09:59:21.000Z
2021-05-23T09:59:21.000Z
// Copyright 2016-2021 Scarlet-Renderer / Red-Scarlet. All rights reserved. // InterfaceRenderer.cpp 08/04/2021 - Interface Class. #include "InterfaceVulkan.h" #include <Events/InterfaceEvent.h> #include "Components/VulkanComponent.h" namespace Vulkan { void InterfaceVulkan::OnGlobal(Event& _Event) { if (!m_Init...
27.133333
101
0.756757
Red-Scarlet
f420498f4a20d30f28fd0581fbab8c8cefb1f11b
1,346
hpp
C++
include/Utils.hpp
OnurKader/colorful-ls
bba50cdb07789f1eb5aa3e3e0fcb628e0b9e4167
[ "MIT" ]
1
2020-06-24T15:50:38.000Z
2020-06-24T15:50:38.000Z
include/Utils.hpp
OnurKader/colorful-ls
bba50cdb07789f1eb5aa3e3e0fcb628e0b9e4167
[ "MIT" ]
2
2020-07-31T01:16:37.000Z
2020-07-31T01:17:40.000Z
include/Utils.hpp
OnurKader/colorful-ls
bba50cdb07789f1eb5aa3e3e0fcb628e0b9e4167
[ "MIT" ]
null
null
null
#pragma once #include <chrono> #include <fmt/core.h> #include <string_view> // #include <source_control>? #ifndef massert #define _TO_STR(x) #x #define TO_STR(x) #x #define massert(cond, message) \ if(!(cond)) \ { ...
30.590909
93
0.463596
OnurKader
f421a623761a677fe94436877202e98d754a3426
955
hpp
C++
code/source/nodes/native_instances/nodeinstance_we_spatialeventdispatcher.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/nodes/native_instances/nodeinstance_we_spatialeventdispatcher.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/nodes/native_instances/nodeinstance_we_spatialeventdispatcher.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#ifndef CLOVER_NODES_NODEINSTANCE_WE_SPATIALEVENTDISPATCHER_HPP #define CLOVER_NODES_NODEINSTANCE_WE_SPATIALEVENTDISPATCHER_HPP #include "../nodeinstance.hpp" #include "build.hpp" namespace clover { namespace nodes { class NodeEventType; class WeSpatialEventDispatcherNodeInstance final : public NodeInstance { publi...
22.738095
77
0.801047
crafn
f42906d63b96b3465f193f343bad11bb8d1302d4
6,701
cpp
C++
SDL2_Engine/Projects/BombSquad/src/Scenes/GameScene.cpp
MitchCroft/SDL2_Engine
8f4bbb7ad914649de47cdeb19bd9956e0b9a8c5f
[ "MIT" ]
null
null
null
SDL2_Engine/Projects/BombSquad/src/Scenes/GameScene.cpp
MitchCroft/SDL2_Engine
8f4bbb7ad914649de47cdeb19bd9956e0b9a8c5f
[ "MIT" ]
null
null
null
SDL2_Engine/Projects/BombSquad/src/Scenes/GameScene.cpp
MitchCroft/SDL2_Engine
8f4bbb7ad914649de47cdeb19bd9956e0b9a8c5f
[ "MIT" ]
1
2022-03-27T04:53:25.000Z
2022-03-27T04:53:25.000Z
#include "GameScene.hpp" //! Include the required SDL2_Engine objects #include <Globals.hpp> #include <Time.hpp> #include <Math.hpp> #include <Resources/Resources.hpp> #include <Resources/ResourceTypes/LocalResourceTexture.hpp> #include <Rendering/Renderer.hpp> #include <Scenes/SceneManager.hpp> #include "ScoreScen...
28.274262
152
0.668706
MitchCroft
f4379ad135027b0dff4bb6dab5bfc47255fe6048
6,464
cpp
C++
init/init_guacamole.cpp
AICP/device_oneplus_guacamole
3adda5c47e9a63b8bd5204c0e6094f35db7d6a66
[ "FTL" ]
1
2021-12-03T22:11:08.000Z
2021-12-03T22:11:08.000Z
init/init_guacamole.cpp
wartomato/device_oneplus_guacamole
b200c9729f2970d33142a9f6d76ae95c0435e473
[ "FTL" ]
null
null
null
init/init_guacamole.cpp
wartomato/device_oneplus_guacamole
b200c9729f2970d33142a9f6d76ae95c0435e473
[ "FTL" ]
1
2021-03-20T10:35:17.000Z
2021-03-20T10:35:17.000Z
#include <stdlib.h> #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <android-base/strings.h> // #include "property_service.h" turned off because of missing chroma.h #include "vendor_init.h" #define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_ #include <sys/...
40.4
141
0.642636
AICP
f439b8217ecab5896ba9a248803b115c24c6a073
2,217
cpp
C++
ospray/render/pathtracer/materials/Luminous.cpp
ethan0911/ospray-tamr-fork
553d2e31a7e7ff165fcc70063652fa42d1082de4
[ "Apache-2.0" ]
null
null
null
ospray/render/pathtracer/materials/Luminous.cpp
ethan0911/ospray-tamr-fork
553d2e31a7e7ff165fcc70063652fa42d1082de4
[ "Apache-2.0" ]
null
null
null
ospray/render/pathtracer/materials/Luminous.cpp
ethan0911/ospray-tamr-fork
553d2e31a7e7ff165fcc70063652fa42d1082de4
[ "Apache-2.0" ]
null
null
null
// ======================================================================== // // Copyright 2009-2019 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
40.309091
78
0.483085
ethan0911
f43b7dc5c1c99acd77298c1b222cd47517eebb9b
2,577
cpp
C++
vector.cpp
geronimoooooooo/arduino
b1e3db1f93c4f4abd7702fdcad0589741c7e3880
[ "MIT" ]
null
null
null
vector.cpp
geronimoooooooo/arduino
b1e3db1f93c4f4abd7702fdcad0589741c7e3880
[ "MIT" ]
null
null
null
vector.cpp
geronimoooooooo/arduino
b1e3db1f93c4f4abd7702fdcad0589741c7e3880
[ "MIT" ]
1
2019-09-06T12:51:17.000Z
2019-09-06T12:51:17.000Z
+ An Introduction to std::vector: https://embeddedartistry.com/blog/2017/6/20/an-introduction-to-stdvector + Auflistung aller Functions von einem Vector: http://www.cplusplus.com/reference/vector/vector/ + EXAMPLES: https://thispointer.com//how-to-use-vector-efficiently/ + Alle Methoden mit Examples: https://www.geeksf...
49.557692
159
0.533178
geronimoooooooo
f43dcb8df45429ea51cb6e1dd9334c683f9e6420
1,622
cpp
C++
aws-cpp-sdk-auditmanager/source/model/ListAssessmentControlInsightsByControlDomainRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-auditmanager/source/model/ListAssessmentControlInsightsByControlDomainRequest.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-auditmanager/source/model/ListAssessmentControlInsightsByControlDomainRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/auditmanager/model/ListAssessmentControlInsightsByControlDomainRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/http/URI.h> #include <aws/core/utils/memory/s...
24.208955
109
0.71455
perfectrecall
f44aefd197726a11bd943a8553338c4c87ddbb22
3,999
cpp
C++
WebTextSearcher/src/Dal/searchmanager.cpp
Childcity/WebTextSearcher
403cc83cc2b13b5f4a00b4672498cb2ddcc347eb
[ "MIT" ]
1
2021-01-11T00:15:34.000Z
2021-01-11T00:15:34.000Z
WebTextSearcher/src/Dal/searchmanager.cpp
Childcity/WebTextSearcher
403cc83cc2b13b5f4a00b4672498cb2ddcc347eb
[ "MIT" ]
null
null
null
WebTextSearcher/src/Dal/searchmanager.cpp
Childcity/WebTextSearcher
403cc83cc2b13b5f4a00b4672498cb2ddcc347eb
[ "MIT" ]
null
null
null
#include "searchmanager.h" namespace Dal { SearchManager::SearchManager(QObject *parent) : QObject(parent) , status_(SearchManagerStatus::Stopped) {} SearchManager::~SearchManager() { slotStopSearcher(); } QVariant SearchManager::serchedUrlsModel() const { return QVariant::fromValue(serchedUrlsMod...
22.59322
117
0.673918
Childcity
f4504ba3be9443eef72079d369f85fcd7cfa9e0f
65,009
cpp
C++
src/rpc/rpcexplorerfff.cpp
fffnerwork/FFF_Protocol_Core
94d75cc6b3a94e06fe6dde75967e665db26a7649
[ "MIT" ]
67
2021-10-05T05:53:33.000Z
2022-01-24T06:23:41.000Z
src/rpc/rpcexplorerfff.cpp
jichengbin/FFF_Protocol_Core
94d75cc6b3a94e06fe6dde75967e665db26a7649
[ "MIT" ]
5
2021-10-05T07:50:46.000Z
2021-10-09T09:40:30.000Z
src/rpc/rpcexplorerfff.cpp
jichengbin/FFF_Protocol_Core
94d75cc6b3a94e06fe6dde75967e665db26a7649
[ "MIT" ]
24
2021-10-05T06:34:31.000Z
2022-01-25T09:14:36.000Z
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2014-2016 The FFF Core developers // Original code was distributed under the MIT software license. // Copyright (c) 2014-2019 Coin Sciences Ltd // FFF_Core code distributed under the GPLv3 license, see COPYING file. #include "rpc/rpcwallet.h" #include "json/json...
31.851543
187
0.565599
fffnerwork
f452ccae9021358ca866926eeb30319b59b87c10
60
cpp
C++
libwebcam/info/element_info_enumeration.cpp
rojarand/webcamlib
c8e81d6e898bb4dd1bd30fce5ebd6644680e0a2f
[ "MIT" ]
11
2016-04-28T10:36:15.000Z
2021-11-17T03:35:47.000Z
libwebcam/info/element_info_enumeration.cpp
rojarand/webcamlib
c8e81d6e898bb4dd1bd30fce5ebd6644680e0a2f
[ "MIT" ]
7
2016-04-12T08:12:34.000Z
2016-05-06T03:41:46.000Z
libwebcam/info/element_info_enumeration.cpp
rojarand/webcamlib
c8e81d6e898bb4dd1bd30fce5ebd6644680e0a2f
[ "MIT" ]
7
2016-05-03T13:33:21.000Z
2022-02-22T11:30:26.000Z
#include "element_info_enumeration.h" namespace webcam { }
10
37
0.783333
rojarand
f4532c8b4da7c00babb67713b91e7d3ab4ad43ec
1,157
cpp
C++
C++/Cpp-Templates-Second-Edition/chapters/src/chapter18.cpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
1
2020-11-06T18:42:05.000Z
2020-11-06T18:42:05.000Z
C++/Cpp-Templates-Second-Edition/chapters/src/chapter18.cpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
45
2020-11-03T10:46:52.000Z
2022-03-14T21:08:21.000Z
C++/Cpp-Templates-Second-Edition/chapters/src/chapter18.cpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
null
null
null
#include "chapters/chapter18.hpp" #include <iostream> #include <list> #include <set> #include <vector> #include <common/common_prints.hpp> #include <poly/printmax.hpp> #include <poly/statichier.hpp> #include <poly/staticpoly.hpp> namespace chapters { namespace { void static_polymorphism() { common::printTitle("S...
21.425926
102
0.698358
danpeczek
f462b49d695433dc33dbc395647432939b03a9f9
474
cpp
C++
src/simulation.cpp
BenWibking/AMRAdvect
55b0dc261487adfa7a56b29b8e105be86abc65ed
[ "MIT" ]
2
2021-11-09T01:30:40.000Z
2021-11-09T01:52:14.000Z
src/simulation.cpp
BenWibking/AMRAdvect
55b0dc261487adfa7a56b29b8e105be86abc65ed
[ "MIT" ]
null
null
null
src/simulation.cpp
BenWibking/AMRAdvect
55b0dc261487adfa7a56b29b8e105be86abc65ed
[ "MIT" ]
null
null
null
//============================================================================== // AMRAdvection // Copyright 2021 Benjamin Wibking. // Released under the MIT license. See LICENSE file included in the GitHub repo. //============================================================================== /// \file simulation.cpp ...
43.090909
80
0.49789
BenWibking
c2e3a7156822f4c192604bbd528d231d7df13db4
3,445
cpp
C++
lib/score/Dynamics.cpp
GloomyGrave/Sinsy-NG
30c464b24eeb0d88caa9412286741889d1c84714
[ "Unlicense" ]
2
2021-03-20T10:29:29.000Z
2022-02-09T03:48:36.000Z
lib/score/Dynamics.cpp
GloomyGrave/Sinsy-NG
30c464b24eeb0d88caa9412286741889d1c84714
[ "Unlicense" ]
null
null
null
lib/score/Dynamics.cpp
GloomyGrave/Sinsy-NG
30c464b24eeb0d88caa9412286741889d1c84714
[ "Unlicense" ]
2
2020-10-24T02:51:41.000Z
2022-03-26T20:32:39.000Z
/* Created by Ghost Gloomy on 2018/11/8. */ #include <algorithm> #include <stdexcept> #include "Dynamics.h" #include "util_log.h" #include "util_string.h" namespace sinsy { namespace { const int DYNAMICS_NUM = 11; const std::string STR_P4 = "p4"; const std::string STR_P3 = "p3"; const std::string STR_P2 = "p2"; cons...
19.798851
96
0.665022
GloomyGrave
c2e3fdbd3a0774a348cf883feeb0348b55961632
873
cc
C++
src/IdentifyLoops.cc
julienhenry/pagai
d58578c460b755c7239987350202ff35bd9ec2aa
[ "CECILL-B" ]
7
2019-06-11T15:50:49.000Z
2021-03-10T01:43:03.000Z
src/IdentifyLoops.cc
julienhenry/pagai
d58578c460b755c7239987350202ff35bd9ec2aa
[ "CECILL-B" ]
null
null
null
src/IdentifyLoops.cc
julienhenry/pagai
d58578c460b755c7239987350202ff35bd9ec2aa
[ "CECILL-B" ]
4
2019-06-10T19:54:04.000Z
2021-03-10T01:43:04.000Z
#ifndef GLOBALTOLOCAL_H #define GLOBALTOLOCAL_H #include "llvm/Config/config.h" #include "llvm/Support/CFG.h" #include "llvm/InstVisitor.h" #include "llvm/IR/Constants.h" #include "llvm/Pass.h" #include "llvm/IR/Function.h" #include "llvm/Analysis/LoopInfo.h" #include "IdentifyLoops.h" using namespace llvm; std::se...
20.785714
72
0.714777
julienhenry
c2e7777820651c3e1a9a42e6ffd9dc97118f03b2
230
cpp
C++
Clase8/Ejemplo1.cpp
diegostaPy/compuFiuna
e69acd09803f4dacd49d5c6cb1a3173a8fef9cbc
[ "MIT" ]
null
null
null
Clase8/Ejemplo1.cpp
diegostaPy/compuFiuna
e69acd09803f4dacd49d5c6cb1a3173a8fef9cbc
[ "MIT" ]
null
null
null
Clase8/Ejemplo1.cpp
diegostaPy/compuFiuna
e69acd09803f4dacd49d5c6cb1a3173a8fef9cbc
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void triplicar(int *x){ *x =*x *3; //*x =*3; } int main(){ int a; cout<<"Ingrese un numero entero: "; cin>>a; triplicar(&a); cout<<"a: "<<a<<endl; system("pause"); return 0; }
12.105263
36
0.573913
diegostaPy
c2f1383ddae9082974f88f9116ed74b4b92e78ae
1,004
hh
C++
Finite_Difference/PDE.hh
lorenzovitali/Progetto
7b54a8bc2c29ecbb9b1ed08403818d143a8a5884
[ "Apache-2.0" ]
null
null
null
Finite_Difference/PDE.hh
lorenzovitali/Progetto
7b54a8bc2c29ecbb9b1ed08403818d143a8a5884
[ "Apache-2.0" ]
null
null
null
Finite_Difference/PDE.hh
lorenzovitali/Progetto
7b54a8bc2c29ecbb9b1ed08403818d143a8a5884
[ "Apache-2.0" ]
null
null
null
#ifndef PDE_HH #define PDE_HH #include <memory> #include "Option.hh" class BlackScholesPDE { protected: std::shared_ptr<Option> option; public: BlackScholesPDE(std::shared_ptr<Option> _option): option(_option) {} std::shared_ptr<Option> get_option()const{return option;} //boundaries virtual...
23.904762
84
0.739044
lorenzovitali
c2f487ea47e86b902da64ca4a7e3cd665f45608f
2,948
cpp
C++
sdk/test/unit/assets/ConvexHullAssetManager_unit_tests.cpp
NcStudios/NcEngine
ce04eca00211b50188d80e59604bfa67bb9c15b6
[ "MIT" ]
null
null
null
sdk/test/unit/assets/ConvexHullAssetManager_unit_tests.cpp
NcStudios/NcEngine
ce04eca00211b50188d80e59604bfa67bb9c15b6
[ "MIT" ]
3
2022-03-26T15:14:43.000Z
2022-03-27T16:12:53.000Z
sdk/test/unit/assets/ConvexHullAssetManager_unit_tests.cpp
NcStudios/NcEngine
ce04eca00211b50188d80e59604bfa67bb9c15b6
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "assets/ConvexHullAssetManager.h" #include <array> #include <string> using namespace nc; const auto HullPath1 = "convex_hull1.nca"; const auto HullPath2 = "convex_hull2.nca"; class ConvexHullAssetManager_unit_tests : public ::testing::Test { public: std::unique_ptr<Conv...
26.321429
98
0.748643
NcStudios
c2f500a302ed83eb40e8bcb602644e035c36cad1
2,557
cpp
C++
treeDimArray/threeDimArray.cpp
KonstantinLeontev/c-lessons
80c6a35341fede54cc6dbf2aa0fc12778a9ba043
[ "MIT" ]
null
null
null
treeDimArray/threeDimArray.cpp
KonstantinLeontev/c-lessons
80c6a35341fede54cc6dbf2aa0fc12778a9ba043
[ "MIT" ]
null
null
null
treeDimArray/threeDimArray.cpp
KonstantinLeontev/c-lessons
80c6a35341fede54cc6dbf2aa0fc12778a9ba043
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <string> using namespace std; int askForSize(string size) { int sizeValue; while(1) { cout << "Please enter a " << size << " value (1-100): "; cin >> sizeValue; if (sizeValue > 0 || sizeValue < 100) { break; } else { cout << "Wrong input, try again...
16.933775
66
0.538913
KonstantinLeontev
c2f97d7ec19ad7e71426d6108e2a3023fa91af3a
409
hpp
C++
src/values/unity_blob_value.hpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
3
2017-07-02T08:33:22.000Z
2019-03-16T00:48:11.000Z
src/values/unity_blob_value.hpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
null
null
null
src/values/unity_blob_value.hpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
null
null
null
#pragma once #include "../pod_vector.hpp" #include "../unity_value.hpp" namespace zizany { class unity_blob_value : public unity_value { public: pod_vector<char> data; unity_blob_value(); virtual void print(json_writer &writer) const; virtual bool equals(const unity_value &v...
20.45
65
0.662592
kmichel
c2fc8cb88d53c9b5732ae23cf4c792ab0c867aa9
862
hh
C++
sdl2/openblock/external/libSDL2pp/SDL2pp/Export.hh
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/openblock/external/libSDL2pp/SDL2pp/Export.hh
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/openblock/external/libSDL2pp/SDL2pp/Export.hh
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
#ifndef SDL2PP_EXPORT_H #define SDL2PP_EXPORT_H #ifdef SDL2PP_STATIC_DEFINE # define SDL2PP_EXPORT # define SDL2PP_NO_EXPORT #else # ifndef SDL2PP_EXPORT # ifdef SDL2pp_EXPORTS /* We are building this library */ # define SDL2PP_EXPORT # else /* We are using this library */ # define...
20.046512
72
0.761021
pdpdds
6c03d6a497dcb1490f633195a907357b83762557
4,687
cpp
C++
src/rpn_parser.cpp
fjswaugh/calculator
41856b6378326d7d68127d2d08e2e55b1f26c733
[ "MIT" ]
null
null
null
src/rpn_parser.cpp
fjswaugh/calculator
41856b6378326d7d68127d2d08e2e55b1f26c733
[ "MIT" ]
null
null
null
src/rpn_parser.cpp
fjswaugh/calculator
41856b6378326d7d68127d2d08e2e55b1f26c733
[ "MIT" ]
null
null
null
/* * Parses infix to RPN (reverse Polish notation) using Shunting Yard * algorithm. */ #include <vector> // #define NDEBUG #include <cassert> #include "rpn_parser.h" #include "token.h" #include "const.h" #include "error.h" std::vector<Token> to_rpn(std::vector<Token> infix_input) { std::vector<Token> output_que...
23.671717
76
0.645616
fjswaugh
6c06af0e047277d2eabd572f36ca2433314d6e5a
7,217
cpp
C++
src/volumecontroller/ui/volumelistitem.cpp
jwiesler/volumecontroller
a3a13d8f8c414bab4f5b59d7fae3f7a0e3b515ca
[ "MIT" ]
1
2020-07-24T14:41:14.000Z
2020-07-24T14:41:14.000Z
src/volumecontroller/ui/volumelistitem.cpp
jwiesler/volumecontroller
a3a13d8f8c414bab4f5b59d7fae3f7a0e3b515ca
[ "MIT" ]
null
null
null
src/volumecontroller/ui/volumelistitem.cpp
jwiesler/volumecontroller
a3a13d8f8c414bab4f5b59d7fae3f7a0e3b515ca
[ "MIT" ]
null
null
null
#include "volumecontroller.h" #include "volumelistitem.h" #include <QApplication> #include <QDebug> #include <QGraphicsScene> #include <QPaintEvent> #include <QPainter> #include <QStyleOptionSlider> PeakSlider::PeakSlider(QWidget *parent, const PeakSliderTheme &theme) : QSlider(parent), _theme(&theme) {} void PeakSli...
29.822314
238
0.740197
jwiesler
6c095e6a96c139684c10f24d5fed4eb582694430
400
cpp
C++
luogu/test_t3.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
1
2020-07-24T03:07:08.000Z
2020-07-24T03:07:08.000Z
luogu/test_t3.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
null
null
null
luogu/test_t3.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
null
null
null
// // Created by yangtao on 19-11-1. // #include <iostream> using namespace std; int n; int a1 = 1, a2 = 1; int main() { cin >> n; if(n >= 1) cout << '0' ; for(int i = 2; i <= n; i++) { if(i == a1 + a2) { cout << 0 ; a2 += a1; a1 = a2 - a1; } els...
15.384615
33
0.3675
delphi122
6c0a9fcaec8168c00284db70718727b564e0dff9
8,095
cpp
C++
src/postgres/backend/utils/cache/evtcache.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
6
2017-04-28T00:38:52.000Z
2018-11-06T07:06:49.000Z
src/postgres/backend/utils/cache/evtcache.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
57
2016-03-19T22:27:55.000Z
2017-07-08T00:41:51.000Z
src/postgres/backend/utils/cache/evtcache.cpp
eric-haibin-lin/pelotondb
904d6bbd041a0498ee0e034d4f9f9f27086c3cab
[ "Apache-2.0" ]
4
2016-07-17T20:44:56.000Z
2018-06-27T01:01:36.000Z
/*------------------------------------------------------------------------- * * evtcache.c * Special-purpose cache for event trigger data. * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION * sr...
29.761029
104
0.712909
jessesleeping
6c10ba4910a359109d9750e36a2a0c9e35351043
194
hpp
C++
Spike/Backend/Device.hpp
wxie2013/Spike
36a3cfab2390a3d4b6dea9e49e1465987f469cd0
[ "MIT" ]
39
2016-01-28T17:09:23.000Z
2021-05-04T18:40:19.000Z
Spike/Backend/Device.hpp
wxie2013/Spike
36a3cfab2390a3d4b6dea9e49e1465987f469cd0
[ "MIT" ]
19
2016-03-24T13:52:33.000Z
2019-10-12T09:12:07.000Z
Spike/Backend/Device.hpp
wxie2013/Spike
36a3cfab2390a3d4b6dea9e49e1465987f469cd0
[ "MIT" ]
12
2016-11-05T10:48:55.000Z
2021-07-15T10:08:12.000Z
#pragma once /* namespace Backend { // Parent class for device management enum Device { SPIKE_DEVICE_DUMMY, SPIKE_DEVICE_CPU, SPIKE_DEVICE_CUDA }; } // namespace Backend */
12.933333
39
0.685567
wxie2013
6c1178cf24c6132f0a8f1ac4933e55c02095c36b
2,346
hpp
C++
Nacro/SDK/FN_GCNL_PurpleStuff_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_GCNL_PurpleStuff_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_GCNL_PurpleStuff_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function GCNL_PurpleSt...
39.1
173
0.529412
Milxnor
6c14e641ab17f124649f81e74b0797dc0010b202
2,917
hpp
C++
query_optimizer/rules/BottomUpRule.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
query_optimizer/rules/BottomUpRule.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
query_optimizer/rules/BottomUpRule.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
26.518182
77
0.705177
Hacker0912
6c15341d0613d6bb10a6e64918e22023cdc97641
14,630
cpp
C++
AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/InjectedBundle/API/c/WKBundle.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/InjectedBundle/API/c/WKBundle.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/InjectedBundle/API/c/WKBundle.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010-2016 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
44.468085
337
0.813944
lzackx
6c16fab4b46d8f1175a61398bd212b84447e2e63
202
cpp
C++
nowcoder/p5904A.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
nowcoder/p5904A.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
nowcoder/p5904A.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int a[] = {73, 32, 99, 97, 110, 32, 100, 111, 32, 105, 116 , 33}; int main() { for(auto v:a) { cout << char(v) << " "; } return 0; }
16.833333
65
0.485149
freedomDR
6c194e4367c383d77ee12b78bfbd9bf710caf327
634
cpp
C++
source/Library/python/Exception.cpp
JarrettWendt/FIEAEngine
0bf7e89cd66fec29550f7d7a1a11f5cf398c27e5
[ "MIT" ]
2
2020-05-27T14:01:39.000Z
2022-03-21T09:11:58.000Z
source/Library/python/Exception.cpp
JarrettWendt/FIEAEngine
0bf7e89cd66fec29550f7d7a1a11f5cf398c27e5
[ "MIT" ]
null
null
null
source/Library/python/Exception.cpp
JarrettWendt/FIEAEngine
0bf7e89cd66fec29550f7d7a1a11f5cf398c27e5
[ "MIT" ]
null
null
null
#include <pch.h> #include "python/pch.h" #include "python/Exception.h" #include "python/Util.h" namespace Library::py { void Exception::HandleErrors() { PyObject* type, * value; PyTracebackObject* traceback; PyErr_Fetch(&type, &value, reinterpret_cast<PyObject**>(&traceback)); if (type) { std::stringstr...
25.36
95
0.657729
JarrettWendt
6c1d4f7a3b3210d2369b5e5d198f466d6f3c8b47
1,380
cpp
C++
Upsolving/URI/1804.cpp
rodrigoAMF7/Notebook---Maratonas
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
4
2019-06-01T16:58:38.000Z
2019-10-24T17:48:19.000Z
Upsolving/URI/1804.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
Upsolving/URI/1804.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // 5 tamanho do vetor (Colocar tamanho máximo) int n = 100000; int v[100000]; int arvore[100000+1]; int soma(int posicao){ int s = 0; // vamos reduzindo x até acabarmos (quando chegamos a zero) while(posicao > 0){ s += arvore[posicao]; // adicionamos o pedaço de árv...
19.166667
88
0.605797
rodrigoAMF7
6c1fbcdb7f08267da1f9481ad29b71fdfbafd0f5
11,066
cpp
C++
http.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
16
2018-02-05T17:44:12.000Z
2022-03-03T13:37:06.000Z
http.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
12
2017-10-25T13:25:22.000Z
2022-03-12T19:27:54.000Z
http.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
5
2017-10-25T13:30:45.000Z
2018-08-03T12:51:40.000Z
#include "weblegends.h" #include "resource.h" #include <functional> #include <iostream> #include <sstream> #include "df/viewscreen_adopt_regionst.h" #include "df/viewscreen_loadgamest.h" #include "modules/Gui.h" bool WebLegends::http(CActiveSocket *sock, std::string & request) { size_t ending = request.find('\...
28.229592
272
0.561449
BenLubar
6c20aaa6633aaa77846f2ab204526e28b65fcaa4
15,951
cpp
C++
ar/src/robot_plan/src/motion.cpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
5
2020-01-24T08:05:01.000Z
2020-08-03T04:51:52.000Z
ar/src/robot_plan/src/motion.cpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
null
null
null
ar/src/robot_plan/src/motion.cpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
1
2020-07-15T05:43:48.000Z
2020-07-15T05:43:48.000Z
#include <cmath> #include <geometry_msgs/Pose.h> #include <geometry_msgs/Pose2D.h> #include <geometry_msgs/Twist.h> #include <motor_serial/motor_serial.h> #include <pigpiod.hpp> #include <ros/ros.h> #include <sstream> #include <std_msgs/Bool.h> #include <std_msgs/Int32.h> #include <std_msgs/String.h> #include <vector> ...
31.276471
80
0.612626
Kitasola
6c2185aa3b52490e6467b51454d8066679521efd
27,752
hpp
C++
lib/strict_variant_0.3/include/strict_variant/variant.hpp
cbeck88/libwml
c50bc4595c0c86864cd41dbfa80a522e674e0c2f
[ "WTFPL" ]
1
2019-04-23T21:01:40.000Z
2019-04-23T21:01:40.000Z
lib/strict_variant_0.3/include/strict_variant/variant.hpp
garbageslam/libwml
c50bc4595c0c86864cd41dbfa80a522e674e0c2f
[ "WTFPL" ]
null
null
null
lib/strict_variant_0.3/include/strict_variant/variant.hpp
garbageslam/libwml
c50bc4595c0c86864cd41dbfa80a522e674e0c2f
[ "WTFPL" ]
null
null
null
// (C) Copyright 2016 Christopher Beck // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once /** * A modern C++ tagged-union variant class. * * This effectively has similar functionality and mostly the same ...
35.173638
100
0.661862
cbeck88
6c22f26c6637b488db41c3757724568452d40b63
13,032
cpp
C++
ftp_files_model.cpp
TommyGustavsson/log_viewer
bf7903c1ada7c473b2f5e0692a30b969eb24c203
[ "MIT" ]
2
2015-11-18T10:20:18.000Z
2016-02-19T06:47:43.000Z
ftp_files_model.cpp
TommyGustavsson/log_viewer
bf7903c1ada7c473b2f5e0692a30b969eb24c203
[ "MIT" ]
null
null
null
ftp_files_model.cpp
TommyGustavsson/log_viewer
bf7903c1ada7c473b2f5e0692a30b969eb24c203
[ "MIT" ]
null
null
null
#include "ftp_files_model.h" #include "log_manager.h" #include <QtNetwork> #include <QMessageBox> #include <QUrlInfo> namespace Log_viewer { QByteArray ftp_files_model::m_folder_list_data; // ---------------------------------------------------------------------------- ftp_files_model::ftp_files_model(Q...
31.251799
151
0.490792
TommyGustavsson
6c25fc909f106e9259abf2cc7689b3374d0620e2
16,198
cpp
C++
oneEngine/oneGame/source/renderer/utils/rrMeshBuilder2D.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/renderer/utils/rrMeshBuilder2D.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/renderer/utils/rrMeshBuilder2D.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "rrMeshBuilder2D.h" #include <cmath> #include "core/math/Math.h" #include "core/system/Screen.h" // Constructor (new data) // Pulls a model from the the pool that has at least the estimated input size. // If the estimation is incorrect, the data will be resized. // The screen mapping for the meshes created d...
40.394015
168
0.700457
skarik
6c2ce13dd6846a1d53e813aa23f5306396608132
319
cpp
C++
judges/codeforces/tep_contests/first_semester/8_contest/first/a.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
null
null
null
judges/codeforces/tep_contests/first_semester/8_contest/first/a.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T11:53:02.000Z
2018-10-17T11:54:42.000Z
judges/codeforces/tep_contests/first_semester/8_contest/first/a.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T12:14:04.000Z
2018-10-17T12:14:04.000Z
#include<bits/stdc++.h> using namespace std; int main(){ string s, x; cin >> s; bool b = false; for(int i = 0; i < s.size(); ++i){ if(s[i]=='0' and !b){ b = true; } else x+= s[i]; } if(s.size() == x.size()) x.pop_back(); cout << x << endl; return 0; }
17.722222
42
0.423197
eduardonunes2525
6c2d72890d6d6c61da5a2bc285967a152b4ff7ee
9,066
cpp
C++
webserv/parser/ServerParser.cpp
sfcdota/mini-web-server
69be414a8824570a8f0b85d3eb567614ed54892b
[ "BSD-3-Clause" ]
null
null
null
webserv/parser/ServerParser.cpp
sfcdota/mini-web-server
69be414a8824570a8f0b85d3eb567614ed54892b
[ "BSD-3-Clause" ]
null
null
null
webserv/parser/ServerParser.cpp
sfcdota/mini-web-server
69be414a8824570a8f0b85d3eb567614ed54892b
[ "BSD-3-Clause" ]
null
null
null
#include "ServerParser.hpp" #include <set> ServerParser::ServerParser() {} std::vector<ServerConfig> ServerParser::Run() { parsConfig con; std::vector<ServerConfig> serv; std::set<int> shit; con.pars.fd = open("../webserv/configs/server.conf", O_RDONLY); con.pars.res = 1; while (con.pars.res) serv.push_back...
32.611511
125
0.591771
sfcdota
6c3885dec95bb7edcd8468481cf36347de31447d
1,023
hpp
C++
include/sound.hpp
Malcret/Ludum_Dare_49
a9e4837c6bb95ffc84f3cd81986ca423bed1cdd8
[ "MIT" ]
null
null
null
include/sound.hpp
Malcret/Ludum_Dare_49
a9e4837c6bb95ffc84f3cd81986ca423bed1cdd8
[ "MIT" ]
null
null
null
include/sound.hpp
Malcret/Ludum_Dare_49
a9e4837c6bb95ffc84f3cd81986ca423bed1cdd8
[ "MIT" ]
1
2021-10-02T00:07:08.000Z
2021-10-02T00:07:08.000Z
#include <irrKlang/irrKlang.h> #include <vector> #include <iostream> #include <map> #include <ctime> #include <assert.h> #include <chrono> class Sound { private: irrklang::ISoundEngine* engine; std::map<const char*, irrklang::ISound*> tracksSounds; double eventMaster; double musicMaster; public: So...
34.1
99
0.726295
Malcret
6c3c63046bc2cbe8597de4f9387034f7b27916a5
3,249
cpp
C++
SDK/ARKSurvivalEvolved_Structure_PlantSpeciesZ_PlayerGrown_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Structure_PlantSpeciesZ_PlayerGrown_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Structure_PlantSpeciesZ_PlayerGrown_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Structure_PlantSpeciesZ_PlayerGrown_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //----------------------------------------------...
33.494845
188
0.767621
2bite
6c3d4d39ca29b90a5da1ae43eb64c59acee1d6a0
8,467
cpp
C++
graphics/retro_light.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
7
2020-09-26T11:18:25.000Z
2021-07-02T15:22:46.000Z
graphics/retro_light.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
null
null
null
graphics/retro_light.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
null
null
null
#include "retro_light.h" float retro3d::Light::CalculateIntensityAtVertex(const mmlVector<3> &point, const mmlVector<3> &normal) const { float dist = 0.0f; if (falloff != None) { switch (type) { case Direction: dist = mmlMax(std::numeric_limits<float>::epsilon(), retro3d::Plane(origin, direction).GetDistance(...
32.69112
278
0.646392
SirJonthe
6c4335d4996a3982d2f4c25727142d81807bba11
6,881
cpp
C++
problems/codeforces/1601/b-frog-traveler/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/codeforces/1601/b-frog-traveler/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/codeforces/1601/b-frog-traveler/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #ifdef LOCAL #include "code/formatting.hpp" #else #define debug(...) (void)0 #endif using namespace std; template <typename Node> struct segtree { vector<Node> node; vector<array<int, 2>> range; vector<int> where; segtree() = default; segtree(int L, int R, Node init) { as...
27.745968
85
0.432786
brunodccarvalho
6c444fc053a505019c048acafd50e3a1a73bff02
44,130
cpp
C++
src/Core/Resource/Factory/CUnsupportedParticleLoader.cpp
liakman/PrimeWorldEditor
483184719701fbc59ad66212afcade9488956186
[ "MIT" ]
32
2018-12-17T20:22:32.000Z
2019-06-14T06:48:25.000Z
src/Core/Resource/Factory/CUnsupportedParticleLoader.cpp
liakman/PrimeWorldEditor
483184719701fbc59ad66212afcade9488956186
[ "MIT" ]
10
2019-11-25T04:54:05.000Z
2022-02-12T20:20:56.000Z
src/Core/Resource/Factory/CUnsupportedParticleLoader.cpp
liakman/PrimeWorldEditor
483184719701fbc59ad66212afcade9488956186
[ "MIT" ]
10
2019-11-22T09:16:00.000Z
2021-11-21T22:55:54.000Z
#include "CUnsupportedParticleLoader.h" #include <Core/GameProject/CGameProject.h> // ************ PARAMETER LOADING ************ bool CUnsupportedParticleLoader::ParseParticleParameter(IInputStream& rPART) { uint32 ParamOffset = rPART.Tell(); CFourCC Param = rPART.ReadLong(); if (Param == FOURCC('_END')) ...
24.31405
120
0.589236
liakman
6c46236647dfbee0591e650c7c35506bfefde6e1
925
cpp
C++
cute/test/test_any.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
cute/test/test_any.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
cute/test/test_any.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015, David Tran, Faculty of Computer Science, * University of Applied Sciences Rapperswil (HSR), * 8640 Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with th...
25.694444
102
0.712432
zer0infinity
6c49dd45fff6c41e41dfefe50aa64e675fafb7b8
7,333
cxx
C++
ubcc1pi_standalone/Macros/GetCorrelationPlots.cxx
Phidet/ubcc1pi
28023a52c194ddd5ac21bc0b4b91e71132db4591
[ "MIT" ]
null
null
null
ubcc1pi_standalone/Macros/GetCorrelationPlots.cxx
Phidet/ubcc1pi
28023a52c194ddd5ac21bc0b4b91e71132db4591
[ "MIT" ]
23
2019-06-27T18:45:10.000Z
2021-04-15T15:14:53.000Z
ubcc1pi_standalone/Macros/GetCorrelationPlots.cxx
Phidet/ubcc1pi
28023a52c194ddd5ac21bc0b4b91e71132db4591
[ "MIT" ]
1
2021-06-18T16:23:31.000Z
2021-06-18T16:23:31.000Z
/** * @file ubcc1pi_standalone/Macros/GetCorrelationPlots.cxx * * @brief The implementation file of the GetCorrelationPlots macro */ #include "ubcc1pi_standalone/Macros/Macros.h" #include "ubcc1pi_standalone/Objects/FileReader.h" #include "ubcc1pi_standalone/Helpers/BDTHelper.h" #include "ubcc1pi_standalone/H...
36.482587
152
0.615983
Phidet
6c4a1147cef85709d2b5a0398c3ae6f67ed876e3
2,224
hpp
C++
src/engine/cache.hpp
bec-ca/botle
dc85470c71c725bdb1ee7d36d03d10341070f73d
[ "Unlicense" ]
2
2022-03-01T04:16:51.000Z
2022-03-01T23:28:38.000Z
src/engine/cache.hpp
bec-ca/botle
dc85470c71c725bdb1ee7d36d03d10341070f73d
[ "Unlicense" ]
null
null
null
src/engine/cache.hpp
bec-ca/botle
dc85470c71c725bdb1ee7d36d03d10341070f73d
[ "Unlicense" ]
null
null
null
#pragma once #include <array> #include <limits> #include <mutex> #include <optional> #include <random> #include <unordered_map> #include <vector> #include "internal_string.hpp" struct CacheKey { uint64_t lower_hash = 0; uint64_t upper_hash = 0; CacheKey& operator^=(const CacheKey& other) { lower_hash ^=...
21.180952
76
0.701439
bec-ca
6c4c411dc728999cc296cbfd4b3e86504bc2404a
1,028
hpp
C++
SDK/ARKSurvivalEvolved_Deco_IsWithinDistance_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Deco_IsWithinDistance_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Deco_IsWithinDistance_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Deco_IsWithinDistance_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //------------------------------------------------...
30.235294
152
0.56323
2bite
6c4ee9b508c91c7c14777247577293a4f7869289
1,237
cpp
C++
aws-cpp-sdk-iot/source/model/TimestreamTimestamp.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-iot/source/model/TimestreamTimestamp.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-iot/source/model/TimestreamTimestamp.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iot/model/TimestreamTimestamp.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { names...
16.493333
72
0.707357
perfectrecall
6c4f043fcca50319cd425361e94943dfe3c23e3f
404
hxx
C++
source/code/systems/render_system/public/ice/render/render_buffer.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
39
2019-08-17T09:08:51.000Z
2022-02-13T10:14:19.000Z
source/code/systems/render_system/public/ice/render/render_buffer.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
63
2020-05-22T16:09:30.000Z
2022-01-21T14:24:05.000Z
source/code/systems/render_system/public/ice/render/render_buffer.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
null
null
null
#pragma once #include <ice/base.hxx> namespace ice::render { enum class Buffer : ice::uptr { Invalid = 0x0 }; enum class BufferType : ice::u32 { Uniform, Vertex, Index, Transfer, }; struct BufferUpdateInfo { ice::render::Buffer buffer; ...
14.428571
36
0.524752
iceshard-engine
6c5240da9b510285a4da20c3eafc32065cbf9f1b
538
cpp
C++
zh-cn/development/privacy-contract/quickstart/YaoMillionairesProblem.cpp
tnessn/docsify
772b7436f92334fb0090228653a07b7646aa8de7
[ "MIT" ]
4
2018-12-25T09:05:17.000Z
2019-05-10T02:12:48.000Z
zh-cn/development/privacy-contract/quickstart/YaoMillionairesProblem.cpp
tnessn/docsify
772b7436f92334fb0090228653a07b7646aa8de7
[ "MIT" ]
null
null
null
zh-cn/development/privacy-contract/quickstart/YaoMillionairesProblem.cpp
tnessn/docsify
772b7436f92334fb0090228653a07b7646aa8de7
[ "MIT" ]
null
null
null
#include <iostream> #include "platon_integer.h" /* Yao's millionaires' problem, show who is richer. Return true, if Alice >= Bob. */ bool YaoMillionairesProblem(int money1, int money2) { std::cout << __FUNCTION__ << " Alice: " << money1 << " Bob: " << money2 << std::endl; platon::mpc::Integer alice_money(mon...
28.315789
89
0.643123
tnessn
48412f4e0dec698f807c5ee622ce898d6ee8eb8c
565
cpp
C++
src/demo/pandora/level/Mission.cpp
KCL-Planning/strategic-tactical-pandora
aa609af26a59e756b25212fa57fa72be937766e7
[ "BSD-2-Clause" ]
2
2019-01-27T05:17:06.000Z
2020-10-06T15:25:31.000Z
src/demo/pandora/level/Mission.cpp
KCL-Planning/strategic-tactical-pandora
aa609af26a59e756b25212fa57fa72be937766e7
[ "BSD-2-Clause" ]
null
null
null
src/demo/pandora/level/Mission.cpp
KCL-Planning/strategic-tactical-pandora
aa609af26a59e756b25212fa57fa72be937766e7
[ "BSD-2-Clause" ]
null
null
null
#include "Mission.h" #include <sstream> #include "../ontology/Goal.h" int Mission::global_mission_id_ = 0; Mission::Mission(MissionSite& mission_site) : mission_site_(&mission_site) { std::stringstream ss; ss << "Mission" << global_mission_id_; id_ = ss.str(); global_mission_id_++; } void Mission::addGoal(Goal...
19.482759
87
0.695575
KCL-Planning
48421e07329304e4ec7eab00f6de50dc797981a2
5,101
hpp
C++
include/axxegro/math/Rect.hpp
311Volt/axxegro
61d7a1fb48f9bb581e0f4171d58499cf8c543728
[ "MIT" ]
null
null
null
include/axxegro/math/Rect.hpp
311Volt/axxegro
61d7a1fb48f9bb581e0f4171d58499cf8c543728
[ "MIT" ]
null
null
null
include/axxegro/math/Rect.hpp
311Volt/axxegro
61d7a1fb48f9bb581e0f4171d58499cf8c543728
[ "MIT" ]
null
null
null
#ifndef INCLUDE_AXXEGRO_MATH_RECT #define INCLUDE_AXXEGRO_MATH_RECT #include "Vec2.hpp" #include <algorithm> #include <cstdint> namespace al { template<typename T = float> class Rect { public: Vec2<T> a, b; Rect(){} // = {Vec2<T>(),Vec2<T>()} = {{0,0},{0,0}} constexpr Rect(const Vec2<T>& a, ...
26.567708
87
0.583807
311Volt
4847d9a21b992710a6515f7077f72070f10df697
314
hpp
C++
src/http_server/to_buffers.hpp
lucteo/structured_concurrency_example
47c977202a2d1f40fa4fc3bfa8c00c1b0788fed6
[ "MIT" ]
null
null
null
src/http_server/to_buffers.hpp
lucteo/structured_concurrency_example
47c977202a2d1f40fa4fc3bfa8c00c1b0788fed6
[ "MIT" ]
null
null
null
src/http_server/to_buffers.hpp
lucteo/structured_concurrency_example
47c977202a2d1f40fa4fc3bfa8c00c1b0788fed6
[ "MIT" ]
null
null
null
#pragma once #include "http_response.hpp" #include <vector> #include <string_view> namespace http_server { //! Converts an HTTP response object to a vector of buffers, ready to be sent over a stream void to_buffers(const http_response& resp, std::vector<std::string_view>& buffers); } // namespace http_server
24.153846
91
0.764331
lucteo
484a38f6270f4bf9a066f97855c9d7b123447ddd
41
hpp
C++
tests/app/src/mordavokne/config.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
1
2018-10-27T05:07:05.000Z
2018-10-27T05:07:05.000Z
tests/app/src/mordavokne/config.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
null
null
null
tests/app/src/mordavokne/config.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
null
null
null
#pragma once #include <utki/config.hpp>
10.25
26
0.731707
Mactor2018
484c61cd8cdad6374a3f1c7ab38775994aa2bf91
7,622
cpp
C++
C++Extension/Source/main/msp_gear.cpp
MrPrezident/MSPhysics
eb9f2b55d7823ad246d6da98c3c2eb03d5a08c18
[ "MIT" ]
34
2015-04-06T18:10:33.000Z
2022-03-30T18:27:58.000Z
C++Extension/Source/main/msp_gear.cpp
MrPrezident/MSPhysics
eb9f2b55d7823ad246d6da98c3c2eb03d5a08c18
[ "MIT" ]
24
2016-08-22T04:57:56.000Z
2022-02-01T23:15:07.000Z
C++Extension/Source/main/msp_gear.cpp
MrPrezident/MSPhysics
eb9f2b55d7823ad246d6da98c3c2eb03d5a08c18
[ "MIT" ]
17
2016-06-14T15:58:44.000Z
2022-03-30T18:27:58.000Z
/* * --------------------------------------------------------------------------------------------------------------------- * * Copyright (C) 2018, Anton Synytsia * * --------------------------------------------------------------------------------------------------------------------- */ #include "msp_gear.h" #inc...
40.542553
167
0.539885
MrPrezident
485391e006305e12e08130db674c4a12f99bcca1
1,200
hpp
C++
include/stretch_constraint.hpp
yicuiheng/phyicuiheng
af4fef18ad6540675b59bf94e9b1495649dc8bad
[ "MIT" ]
null
null
null
include/stretch_constraint.hpp
yicuiheng/phyicuiheng
af4fef18ad6540675b59bf94e9b1495649dc8bad
[ "MIT" ]
null
null
null
include/stretch_constraint.hpp
yicuiheng/phyicuiheng
af4fef18ad6540675b59bf94e9b1495649dc8bad
[ "MIT" ]
null
null
null
#ifndef PHYICUIHENG_CONSTRAINT_HPP #define PHYICUIHENG_CONSTRAINT_HPP #include <vector> #include <glm/glm.hpp> #include "mass_point.hpp" struct stretch_constraint_t { explicit stretch_constraint_t(std::vector<mass_point_t> const& mass_points, size_t p1_idx, size_t p2_idx) : m_p1_idx{p1_idx}, m_p2_idx{p2_i...
31.578947
111
0.6625
yicuiheng
4857b2095e5c0cd3aebf976334e104fd17d4d562
26,168
cpp
C++
Classes/UIMouseLeftUpup.cpp
DGamerWorld/globalplayersworld
cc94d19a79a81468f6a630d27071af3dcee58a67
[ "MIT" ]
1
2019-10-08T08:59:04.000Z
2019-10-08T08:59:04.000Z
Classes/UIMouseLeftUpup.cpp
DGamerWorld/globalplayersworld
cc94d19a79a81468f6a630d27071af3dcee58a67
[ "MIT" ]
null
null
null
Classes/UIMouseLeftUpup.cpp
DGamerWorld/globalplayersworld
cc94d19a79a81468f6a630d27071af3dcee58a67
[ "MIT" ]
null
null
null
#include "Global.h" // dwType dwValue // dwEvernd0 dwEvernd1 dwEvernd2 dwEvernd3 void UIMouseButtonLeftUpupCall(uint8 winID, uint8 ctrID, uint32 mainType, uint32 mainValue, uint32 cellType, uint32 cellValue, const uint32 dwExtend8[8], uint32 selIdx) // { switch (winID) { case WINDOW_MAIN: if (ctrID =...
30.287037
133
0.644757
DGamerWorld
485b27b16a05127cf92966550b8109afdde8fb0b
9,895
hpp
C++
menu.hpp
DavidVuescu/UVT-SP-News-Reading-App
1ac2520536e9dc0094d881b1d4f99d6088523098
[ "MIT" ]
null
null
null
menu.hpp
DavidVuescu/UVT-SP-News-Reading-App
1ac2520536e9dc0094d881b1d4f99d6088523098
[ "MIT" ]
null
null
null
menu.hpp
DavidVuescu/UVT-SP-News-Reading-App
1ac2520536e9dc0094d881b1d4f99d6088523098
[ "MIT" ]
null
null
null
#ifndef MENU_H #define MENU_H #include <iostream> #include <fstream> #include <string> #include <vector> #include <conio.h> #include "Stire.hpp" #include "index.hpp" #include "arrow.hpp" #include "fav2class.hpp" using namespace std; void menu() { int pos=1, key=0; while(pos!=0) { while(key!=13)...
35.339286
109
0.382415
DavidVuescu
4860aecbc3edbe092fe09bc0ddde9c243c80f9b9
745
cpp
C++
UVa Online Judge/10976. Fractions Again.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
UVa Online Judge/10976. Fractions Again.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
UVa Online Judge/10976. Fractions Again.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <utility> #include <vector> using namespace std; bool is_int(double n) { return n == floor(n); } int main() { int k; while (cin >> k) { vector<pair<int, int> > pairs; for (int y = k + 1; y <= 2 * k; y++) { ...
22.575758
104
0.387919
nicoelayda
48670f80090c5ca786d4c58588a541642b8f7c45
6,178
cpp
C++
ModelingProject1/SourceCode/AI/Pathfinding.cpp
OscarRPR/samurai-reborn
9354e18942c220f687bf1b54649e19541b19157b
[ "MIT" ]
1
2015-10-11T01:26:08.000Z
2015-10-11T01:26:08.000Z
ModelingProject1/SourceCode/AI/Pathfinding.cpp
OscarRPR/samurai-reborn
9354e18942c220f687bf1b54649e19541b19157b
[ "MIT" ]
null
null
null
ModelingProject1/SourceCode/AI/Pathfinding.cpp
OscarRPR/samurai-reborn
9354e18942c220f687bf1b54649e19541b19157b
[ "MIT" ]
null
null
null
#include "Pathfinding.h" #include <algorithm> #include "PlayerStateManager.h" AISystem::Pathfinding::Pathfinding(void) { level = new LevelGraph(6400,720); coordinates = Vector2i(0, 0); } AISystem::Pathfinding::~Pathfinding(void) { openNodes.clear(); closedNodes.clear(); delete level; } ...
38.372671
133
0.563451
OscarRPR
4869dd01a2d51fa8b44f9d8a64e50a089752be09
4,939
cpp
C++
src/Macierz.cpp
kacpermejs/UkladyRownan
2f86df7b8831681fa66e2f5c93d0c68359a58136
[ "MIT" ]
null
null
null
src/Macierz.cpp
kacpermejs/UkladyRownan
2f86df7b8831681fa66e2f5c93d0c68359a58136
[ "MIT" ]
null
null
null
src/Macierz.cpp
kacpermejs/UkladyRownan
2f86df7b8831681fa66e2f5c93d0c68359a58136
[ "MIT" ]
null
null
null
#include "Macierz.hh" MacierzKw::MacierzKw() { for(Wektor &ElemTab : Tab) ElemTab=Wektor(); } MacierzKw::MacierzKw(const Wektor tablica[]) { for(int i=0; i<ROZMIAR; i++) this->Tab[i]=tablica[i]; } MacierzKw::MacierzKw(Wektor A, Wektor B, Wektor C) { this->Tab[0] = A; this->Tab[1] = B...
19.217899
86
0.477627
kacpermejs
486da4255f5057331a06d49d1dec69e6911ad908
600
cpp
C++
8088/cga/coppers/coppers.cpp
reenigne/reenigne
c3eb8b31d7964e78bbe44908987d4be052a74488
[ "Unlicense" ]
92
2015-04-10T17:45:11.000Z
2022-03-30T17:58:51.000Z
8088/cga/coppers/coppers.cpp
reenigne/reenigne
c3eb8b31d7964e78bbe44908987d4be052a74488
[ "Unlicense" ]
2
2017-11-05T07:21:35.000Z
2018-11-04T23:36:13.000Z
8088/cga/coppers/coppers.cpp
reenigne/reenigne
c3eb8b31d7964e78bbe44908987d4be052a74488
[ "Unlicense" ]
18
2015-04-11T20:32:44.000Z
2021-11-06T05:19:57.000Z
#include "alfe/main.h" class Program : public ProgramBase { public: void run() { float span = 200-16; String asmOutput; asmOutput += "sinTable:\n"; for (int i = 0; i < 512; ++i) { if ((i & 15) == 0) asmOutput += " dw "; asmOutput += "sta...
25
111
0.44
reenigne
486f162dfe870d9d447fefc0bd6dea11e79d3568
12,415
cpp
C++
test/chromosome_tests.cpp
MathieuDonofrio/enet
178940dd576871cf20db82fd02ccdbadfe1c39bf
[ "MIT" ]
1
2021-05-31T03:01:21.000Z
2021-05-31T03:01:21.000Z
test/chromosome_tests.cpp
MathieuDonofrio/enet
178940dd576871cf20db82fd02ccdbadfe1c39bf
[ "MIT" ]
null
null
null
test/chromosome_tests.cpp
MathieuDonofrio/enet
178940dd576871cf20db82fd02ccdbadfe1c39bf
[ "MIT" ]
null
null
null
#include <chromosome.hpp> #include <gtest/gtest.h> struct GeneData { double x; }; TEST(BasicChromosome, Empty_OnInitialization_True) { using chromosome = enet::chromosome<GeneData>; chromosome c; ASSERT_TRUE(c.empty()); ASSERT_EQ(c.size(), 0); } TEST(BasicChromosome, Extend_Single_SizeIncrease) { usin...
21.222222
93
0.679178
MathieuDonofrio
48783b7873b22e3cc17aafe365a98b05b1310410
7,217
cpp
C++
libtrackerboy/src/engine/MusicRuntime.cpp
thebigG/trackerboy
c6a818954b2a57bb1d883ad1d52764c6bd29de6d
[ "MIT" ]
null
null
null
libtrackerboy/src/engine/MusicRuntime.cpp
thebigG/trackerboy
c6a818954b2a57bb1d883ad1d52764c6bd29de6d
[ "MIT" ]
null
null
null
libtrackerboy/src/engine/MusicRuntime.cpp
thebigG/trackerboy
c6a818954b2a57bb1d883ad1d52764c6bd29de6d
[ "MIT" ]
null
null
null
#include "trackerboy/engine/MusicRuntime.hpp" #include "trackerboy/engine/ChannelControl.hpp" #include "internal/enumutils.hpp" namespace trackerboy { MusicRuntime::MusicRuntime(Song const& song, int orderNo, int patternRow, bool patternRepeat) : mSong(song), mOrderCounter(orderNo), mRowCounter(patternR...
30.580508
111
0.588333
thebigG
487968143509491c44c1d40230ca47e2eb71b83f
2,617
cpp
C++
examples/Hat/BUGC/bugC.cpp
aaly/M5StickC-Plus
a509d3e4799bebbb3787c2f32a082767f817f260
[ "MIT" ]
138
2020-07-16T22:22:30.000Z
2022-03-25T08:52:34.000Z
examples/Hat/BUGC/bugC.cpp
aaly/M5StickC-Plus
a509d3e4799bebbb3787c2f32a082767f817f260
[ "MIT" ]
22
2020-09-24T12:40:10.000Z
2022-03-27T12:23:31.000Z
examples/Hat/BUGC/bugC.cpp
aaly/M5StickC-Plus
a509d3e4799bebbb3787c2f32a082767f817f260
[ "MIT" ]
47
2020-07-16T22:22:19.000Z
2022-03-07T10:26:22.000Z
/* * @Author: Sorzn * @Date: 2019-11-22 13:38:26 * @LastEditTime: 2019-11-22 14:28:56 * @Description: M5Stack Hat BUGC Lib * @FilePath: /M5StickC/examples/Hat/BUGC/bugC.cpp */ #include <M5StickCPlus.h> #include "bugC.h" void BUGC::Init() { Wire.begin(0, 26); } void BUGC::Write1Byte(uint8_t address,uint8_t R...
25.656863
92
0.648452
aaly
487d05baf2460a6a3703fe5cf44f209f5a7d082b
6,075
cpp
C++
main.cpp
momokrono/mandelbrot_cuda_sfml
33deb9502c8406743064f2280423e37d39694890
[ "MIT" ]
1
2020-01-18T20:21:10.000Z
2020-01-18T20:21:10.000Z
main.cpp
momokrono/mandelbrot_cuda_sfml
33deb9502c8406743064f2280423e37d39694890
[ "MIT" ]
null
null
null
main.cpp
momokrono/mandelbrot_cuda_sfml
33deb9502c8406743064f2280423e37d39694890
[ "MIT" ]
null
null
null
#include <SFML/Graphics.hpp> #include <iostream> #include <sstream> #include <vector> #include <thread> #include <cmath> using Threads = std::vector<std::thread>; int main() { int window_size = 800; sf::Image fractal; fractal.create(window_size, window_size); sf::Texture texture; sf::Sprite sprit...
30.223881
97
0.423374
momokrono
487dd47a21f66ffb815a0671e99eabb44c890d18
971
cc
C++
contrib/appgen/template/default/src/hosted/title.cc
jappavoo/EbbRT
b0aacb6cafebd2b3e43b6636f1325e0ae10d7fba
[ "BSL-1.0" ]
67
2015-02-26T17:55:43.000Z
2022-01-06T09:30:59.000Z
contrib/appgen/template/default/src/hosted/title.cc
jmcadden/EbbRT
d213abd76f3cc065755170876cc269d97591abd3
[ "BSL-1.0" ]
146
2015-02-11T16:39:58.000Z
2021-02-21T21:27:09.000Z
contrib/appgen/template/default/src/hosted/title.cc
jmcadden/EbbRT
d213abd76f3cc065755170876cc269d97591abd3
[ "BSL-1.0" ]
12
2015-02-04T05:49:54.000Z
2019-08-07T10:20:09.000Z
// Copyright Boston University SESA Group 2013 - 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <iostream> #include <signal.h> #include <boost/filesystem.hpp> #include <ebb...
22.068182
76
0.632338
jappavoo
488167b92a20867f2613d4095f8a87350a68a69b
840
cpp
C++
libs/ofxPatches/src/PatchOutput.cpp
paulobarcelos/ofxPatches
9d759a772602da84b75ce1b155cb00605fdfaa39
[ "MIT" ]
5
2015-03-25T22:31:21.000Z
2021-06-10T20:43:00.000Z
libs/ofxPatches/src/PatchOutput.cpp
paulobarcelos/ofxPatches
9d759a772602da84b75ce1b155cb00605fdfaa39
[ "MIT" ]
null
null
null
libs/ofxPatches/src/PatchOutput.cpp
paulobarcelos/ofxPatches
9d759a772602da84b75ce1b155cb00605fdfaa39
[ "MIT" ]
1
2017-04-06T14:08:05.000Z
2017-04-06T14:08:05.000Z
#include "ofxPatches/PatchOutput.h" using namespace ofxPatches; PatchOutput::PatchOutput(Patch * parent){ this->parent = parent; }; void PatchOutput::setParent(Patch * parent){ this->parent = parent; }; Patch * PatchOutput::getParent(){ return parent; }; void PatchOutput::draw(){ if (!parent) return; ofRec...
22.105263
123
0.722619
paulobarcelos
488959a219645aea4c46f75ba3b1eb06062929ee
1,805
cpp
C++
Training/54.shopping.cpp
felikjunvianto/kfile-usaco-submissions
d4afdc0cbde7e19f09afc70c4b02d4bc5992696d
[ "MIT" ]
null
null
null
Training/54.shopping.cpp
felikjunvianto/kfile-usaco-submissions
d4afdc0cbde7e19f09afc70c4b02d4bc5992696d
[ "MIT" ]
null
null
null
Training/54.shopping.cpp
felikjunvianto/kfile-usaco-submissions
d4afdc0cbde7e19f09afc70c4b02d4bc5992696d
[ "MIT" ]
null
null
null
/* ID: felikju1 PROG: shopping LANG: C++ */ #include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make...
17.871287
54
0.554571
felikjunvianto
488fab6bb5b9d8cf22872110de006ccc23e374c1
1,478
hpp
C++
io/OjaKernelSpikeRateProbe.hpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
io/OjaKernelSpikeRateProbe.hpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
io/OjaKernelSpikeRateProbe.hpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
/* * OjaKernelSpikeRateProbe.hpp * * Created on: Nov 5, 2012 * Author: pschultz */ #ifndef OJAKERNELSPIKERATEPROBE_HPP_ #define OJAKERNELSPIKERATEPROBE_HPP_ #include "BaseConnectionProbe.hpp" #include "../connections/OjaKernelConn.hpp" namespace PV { class OjaKernelSpikeRateProbe: public PV::BaseConnecti...
32.130435
137
0.76184
PetaVision
4895d1b323c0e10f7c62c2ba9b338144114bbbfb
1,972
cpp
C++
BTree/TestBTree.cpp
zhanMingming/DataStruct
7e0c665f02d49919e3df2f08f7a5945300ebd8f1
[ "MIT" ]
1
2019-11-23T15:41:58.000Z
2019-11-23T15:41:58.000Z
BTree/TestBTree.cpp
zhanMingming/DataStruct
7e0c665f02d49919e3df2f08f7a5945300ebd8f1
[ "MIT" ]
null
null
null
BTree/TestBTree.cpp
zhanMingming/DataStruct
7e0c665f02d49919e3df2f08f7a5945300ebd8f1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <limits> #include "BTree.h" using namespace std; using namespace zhanmm; void Menu() { cout << "--Data Struct-BTree--" << endl; cout << "instruction:" << endl; cout << "1.install B-Tree" << endl; cout << "2.Print B-Tree" << endl; cout << "3.Delete Element" << endl;...
19.145631
66
0.516227
zhanMingming
489b0d492dd4679bd4c34712dadf5bef1611678e
219
cpp
C++
Lv1/3291/3291.cpp
justidle2012/XJOI_Solution
ce97b4380d16faf12cf8024d4abe40266c7e37f3
[ "MIT" ]
1
2019-11-11T03:06:55.000Z
2019-11-11T03:06:55.000Z
Lv1/3291/3291.cpp
justidle2012/XJOI_Solution
ce97b4380d16faf12cf8024d4abe40266c7e37f3
[ "MIT" ]
null
null
null
Lv1/3291/3291.cpp
justidle2012/XJOI_Solution
ce97b4380d16faf12cf8024d4abe40266c7e37f3
[ "MIT" ]
1
2020-02-13T04:01:45.000Z
2020-02-13T04:01:45.000Z
//四舍五入 //http://dev.xjoi.net/problem/3291 #include <cstdio> #include <cmath> int main() { long long n; scanf("%lld", &n); double x = round(1.0*n/10); n = x*10; printf("%lld\n", n); return 0; }
14.6
34
0.538813
justidle2012
48a878dba868309e1d92feffcd9dcf79c345c36a
2,317
cpp
C++
Source/FNX_Logger.cpp
krzysztofzablocki/Fenix_2003
c0259a1ff3a0670a3c364671b37d2bc5c51e0114
[ "MIT" ]
null
null
null
Source/FNX_Logger.cpp
krzysztofzablocki/Fenix_2003
c0259a1ff3a0670a3c364671b37d2bc5c51e0114
[ "MIT" ]
null
null
null
Source/FNX_Logger.cpp
krzysztofzablocki/Fenix_2003
c0259a1ff3a0670a3c364671b37d2bc5c51e0114
[ "MIT" ]
1
2021-04-08T09:09:22.000Z
2021-04-08T09:09:22.000Z
#include "FNX_Logger.h" #include <string> #include <algorithm> #include <DxErr.h> std::string FNX_ResultToStr(FNX_Result Result) { switch(Result) { case FNX_OK:return "FNX_OK"; case FNX_ERROR:return "FNX_ERROR"; }; return "FNX_Unknown"; }; std::string StrToUpper(const std::string& x) { std::string result...
20.147826
136
0.636599
krzysztofzablocki
48a91ab15ab3fffc7ea0a72ebf4702c3ca8f6526
1,831
cpp
C++
Baekjoon/10026.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/10026.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/10026.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include <string> #include <vector> using namespace std; int N; int dir[4][2] = { {1,0},{-1,0},{0,1},{0,-1} }; vector<string> arr; vector<vector<bool> > check; bool isValid(int coord) { return coord >= 0 && coord < N; } void BFS(int i, int j, int RGB) { queue<pair<int, int> > q; ...
19.273684
63
0.452758
Twinparadox
48aa5b643e76f16149dc498b9d8e92ffccbc833e
591
cpp
C++
sources/Task7.cpp
Dragonias1337/Laboratornaya5
6f1fe253b49fca96933d2ac730126802ea1ffbc5
[ "MIT" ]
null
null
null
sources/Task7.cpp
Dragonias1337/Laboratornaya5
6f1fe253b49fca96933d2ac730126802ea1ffbc5
[ "MIT" ]
null
null
null
sources/Task7.cpp
Dragonias1337/Laboratornaya5
6f1fe253b49fca96933d2ac730126802ea1ffbc5
[ "MIT" ]
null
null
null
#include "header.hpp" bool non(const vector<Group> &gr, const string &id) { for (const auto & i : gr) { if (i.Id == id){ return false; } } return true; } vector<Group> Groups(const vector<Student>& input) { vector<Group> gr; int n = 0 ; for (const auto & i : input) { if (non(gr...
14.414634
51
0.473773
Dragonias1337
48aac6fc2fd97491901d93976f6fd1b74b125194
8,008
cpp
C++
1060/f.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
1
2021-10-24T00:46:37.000Z
2021-10-24T00:46:37.000Z
1060/f.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
1060/f.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <cstdio> #include <vector> using namespace std; const int MAXN = 52; // f(i, j) -- is described as follows: // Suppose you rooted your tree at some vertex (no matter which for now). // Then, consider subtree made by node labeled i. Let's call it...
38.873786
89
0.542208
vladshablinsky
48ad3c71a96041bb83f3a2c256f2c6cf45fdf1c6
784
cpp
C++
test/alias.cpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
1
2020-07-11T06:28:58.000Z
2020-07-11T06:28:58.000Z
test/alias.cpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
8
2020-06-28T19:41:07.000Z
2020-07-13T17:06:50.000Z
test/alias.cpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
null
null
null
#include <iostream> #include "../include/resources/Constants.h" #include "../include/objects/Coordinate.hpp" #include "../include/objects/Piece.hpp" #include "../include/objects/pieces/King.hpp" #include "../include/objects/pieces/Queen.hpp" #include "../include/objects/pieces/Bishop.hpp" #include "../include/objects/...
27.034483
62
0.714286
yinyangcoding
48b5bbf42e18994313f192529f54f3f6731683fa
6,207
cpp
C++
source/Source.cpp
agehama/Pita
26f469d5236a9babe39991bea517135d311a8ca1
[ "MIT" ]
18
2018-03-29T23:42:43.000Z
2020-03-06T04:16:52.000Z
source/Source.cpp
agehama/Pita
26f469d5236a9babe39991bea517135d311a8ca1
[ "MIT" ]
null
null
null
source/Source.cpp
agehama/Pita
26f469d5236a9babe39991bea517135d311a8ca1
[ "MIT" ]
null
null
null
#define NOMINMAX #define _CRTDBG_MAP_ALLOC #pragma warning(disable:4996) #include <iostream> #include <fstream> #ifdef USE_CURSES #include <signal.h> #include <string.h> #include <curses.h> #include <stdlib.h> #pragma comment(lib, "pdcurses.lib") #endif #ifdef _MSC_VER #include <crtdbg.h> // for _CrtDumpMemoryLeaks...
20.284314
121
0.642984
agehama
48c000a152f300e006f84429465b3fa6303f5877
13,900
cpp
C++
BVHViewer/BvhViewerView.cpp
mrzli/bvhviewer
ebae2ff422662ceabd039e6aab435afd6120d609
[ "MIT" ]
10
2016-04-12T01:03:11.000Z
2020-12-17T13:26:41.000Z
BVHViewer/BvhViewerView.cpp
dtbinh/bvhviewer
ebae2ff422662ceabd039e6aab435afd6120d609
[ "MIT" ]
null
null
null
BVHViewer/BvhViewerView.cpp
dtbinh/bvhviewer
ebae2ff422662ceabd039e6aab435afd6120d609
[ "MIT" ]
3
2015-05-29T07:53:41.000Z
2021-11-17T07:55:31.000Z
#include "BvhViewerView.h" #include "CEGUICommonFileDialog.h" #include <sstream> namespace BVHViewer_Application { using std::stringstream; const string BvhViewerView::BVH_VIEWER = "BvhReaderGui"; const string BvhViewerView::MENU_FILE_OPEN = "BvhReaderGui/MainMenu/File/AutoPopup/Open"; const string B...
35.917313
170
0.638921
mrzli
48c83fc3ac8a703d505d489ce88782c9bd683d86
84
cc
C++
src/olcPixelGameEngine.cc
mtkaalund/OneLoneCoderLib
10fbcf83ac3775047f46c7f923a6953fde20b552
[ "BSD-3-Clause" ]
null
null
null
src/olcPixelGameEngine.cc
mtkaalund/OneLoneCoderLib
10fbcf83ac3775047f46c7f923a6953fde20b552
[ "BSD-3-Clause" ]
null
null
null
src/olcPixelGameEngine.cc
mtkaalund/OneLoneCoderLib
10fbcf83ac3775047f46c7f923a6953fde20b552
[ "BSD-3-Clause" ]
null
null
null
#define OLC_PGE_APPLICATION #include "../include/OneLoneCoder/olcPixelGameEngine.h"
28
55
0.833333
mtkaalund
48cfc9525d8a54ce9e9819d60d8cc8c110724fa2
1,118
cpp
C++
lesson4.cpp
LeithKetchell/Humble
f71016d8a13c931da1aae0af49018c014c4f8c8e
[ "MIT" ]
null
null
null
lesson4.cpp
LeithKetchell/Humble
f71016d8a13c931da1aae0af49018c014c4f8c8e
[ "MIT" ]
null
null
null
lesson4.cpp
LeithKetchell/Humble
f71016d8a13c931da1aae0af49018c014c4f8c8e
[ "MIT" ]
null
null
null
/// include some basic string support for test purposes #include <iostream> #include <string> /// We're too lazy to type this everywhere using namespace std; /// LESSON FOUR: /// CONSTRUCTOR SPECIALIZATION class Animal { public: string Name_; string Bleh_; Animal(const string& name, const string& bleh...
19.614035
86
0.634168
LeithKetchell
48d0880e8e479139169374e07f3b3e53c61c994d
1,269
cc
C++
src/cpu/IRQHelper.cc
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/cpu/IRQHelper.cc
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/cpu/IRQHelper.cc
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#include "IRQHelper.hh" #include "DeviceConfig.hh" #include "MSXCPU.hh" #include "MSXException.hh" #include "one_of.hh" #include "unreachable.hh" namespace openmsx { // class IRQSource IRQSource::IRQSource(MSXCPU& cpu_) : cpu(cpu_) { } void IRQSource::raise() { cpu.raiseIRQ(); } void IRQSource::lower() { cpu.lo...
15.289157
66
0.644602
sdsnatcher73
48d6eb8d00ea0f5dea5a342b83fbcaf837f86d8c
2,700
cpp
C++
src/h5geo/h5mapcontainerimpl.cpp
kerim371/h5geo
a023d8c667ff002de361e8184165e6d72e510bde
[ "MIT" ]
1
2021-06-17T23:40:52.000Z
2021-06-17T23:40:52.000Z
src/h5geo/h5mapcontainerimpl.cpp
tierra-colada/h5geo
1d577f4194c0f7826a3e584742fc9714831ec368
[ "MIT" ]
null
null
null
src/h5geo/h5mapcontainerimpl.cpp
tierra-colada/h5geo
1d577f4194c0f7826a3e584742fc9714831ec368
[ "MIT" ]
null
null
null
#include "../../include/h5geo/misc/h5mapcontainerimpl.h" #include "../../include/h5geo/h5map.h" #include "../../include/h5geo/misc/h5mapimpl.h" #include <filesystem> namespace fs = std::filesystem; H5MapContainerImpl::H5MapContainerImpl(const h5gt::File &h5File) : H5BaseContainerImpl(h5File){} H5Map* H5MapContaine...
23.893805
66
0.694444
kerim371
48da464e8caaf96f509e4036d197950fb61a7f17
921
hpp
C++
addons/breathing/CfgWeapons.hpp
kellerkompanie/kellerkompanie-medical
b66076217c1c08b6464ec19c15eef72c91bb5cfb
[ "MIT" ]
null
null
null
addons/breathing/CfgWeapons.hpp
kellerkompanie/kellerkompanie-medical
b66076217c1c08b6464ec19c15eef72c91bb5cfb
[ "MIT" ]
1
2019-03-26T00:56:20.000Z
2019-03-26T00:56:20.000Z
addons/breathing/CfgWeapons.hpp
kellerkompanie/kellerkompanie-medical
b66076217c1c08b6464ec19c15eef72c91bb5cfb
[ "MIT" ]
null
null
null
class CfgWeapons { class ACE_ItemCore; class CBA_MiscItem_ItemInfo; class keko_pulseOximeter: ACE_ItemCore { scope = 2; author = "Katalam"; displayName= CSTRING(Pulseoximeter_Desc_Short); descriptionShort = CSTRING(Pulseoximeter_Desc_Short); descriptionUse = CSTRING(...
31.758621
61
0.634093
kellerkompanie
48da624644defc78eaafd26cfff6e18a0728b9b7
174
hpp
C++
src/include/ImageLib/Filters/IMedian.hpp
ANDreew1987/ImageProcessing
8af677d416ba32d2d4a07e84befbbb25abf5c602
[ "MIT" ]
null
null
null
src/include/ImageLib/Filters/IMedian.hpp
ANDreew1987/ImageProcessing
8af677d416ba32d2d4a07e84befbbb25abf5c602
[ "MIT" ]
null
null
null
src/include/ImageLib/Filters/IMedian.hpp
ANDreew1987/ImageProcessing
8af677d416ba32d2d4a07e84befbbb25abf5c602
[ "MIT" ]
1
2021-12-05T09:10:40.000Z
2021-12-05T09:10:40.000Z
#pragma once #include "ImageLib/Filters/IFilter.hpp" namespace ImageLib::Filters { class IMedian3 : public IFilter { public: ~IMedian3() override = default; }; }
10.875
39
0.695402
ANDreew1987
48db175112238459f8c6f3b72ea456e295b3cead
396
cpp
C++
src/B.cpp
lmussier/ServiceProvider
9a011379b8bd54423b19d62de7ca508b52068c4b
[ "MIT" ]
null
null
null
src/B.cpp
lmussier/ServiceProvider
9a011379b8bd54423b19d62de7ca508b52068c4b
[ "MIT" ]
null
null
null
src/B.cpp
lmussier/ServiceProvider
9a011379b8bd54423b19d62de7ca508b52068c4b
[ "MIT" ]
null
null
null
#include "B.hpp" #include <QDebug> #include "EventB.hpp" #include "EventA.hpp" #include "Broker.hpp" B::B() { } void B::subecribe(){ Broker::get().sub(this, EventA()); qInfo() << "B subscribed to A"; } void B::publish(){ Broker::get().pub(new EventB()); qInfo() << "B published B"; } bool B::event(Q...
15.230769
43
0.573232
lmussier
48dcddb86f5a41e124c976400a85bd973a0fafda
2,885
cpp
C++
serial.cpp
achilikin/RHTmachine
91c5c55767d135c49c394f2b258f37d7c92b43e3
[ "MIT" ]
null
null
null
serial.cpp
achilikin/RHTmachine
91c5c55767d135c49c394f2b258f37d7c92b43e3
[ "MIT" ]
null
null
null
serial.cpp
achilikin/RHTmachine
91c5c55767d135c49c394f2b258f37d7c92b43e3
[ "MIT" ]
1
2018-03-10T07:13:00.000Z
2018-03-10T07:13:00.000Z
/* Simple wrappers for reading serial port (similar to getch) on ATmega Copyright (c) 2015 Andrey Chilikin (https://github.com/achilikin) 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 Softw...
23.842975
80
0.674177
achilikin
48e1fa74c92a2c068d97a0de1c123ed9d8c2b687
327
hpp
C++
include/polynominal/polynominal.hpp
Armanimani/algorithm
c4ea7f6afdd49fc32ddbb3d0c48fab8044aa7d67
[ "MIT" ]
null
null
null
include/polynominal/polynominal.hpp
Armanimani/algorithm
c4ea7f6afdd49fc32ddbb3d0c48fab8044aa7d67
[ "MIT" ]
null
null
null
include/polynominal/polynominal.hpp
Armanimani/algorithm
c4ea7f6afdd49fc32ddbb3d0c48fab8044aa7d67
[ "MIT" ]
null
null
null
#pragma once #include <iterator> namespace algorithm::polynominal { template <typename BackwardIterator, typename T> const auto evaluate_HornerMethod(BackwardIterator beg, BackwardIterator end, T value) { decltype(*beg + value) ret{}; for (auto i = end; i != beg - 1; --i) { ret = *i + value * ret; } return re...
17.210526
85
0.691131
Armanimani