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
1cdf396d7c14e193c5f365f1ecd84dcb0fba5914
2,733
cpp
C++
src/jsonrpc_client/asyncrpcclient.cpp
ondra-novak/jsonrpc_client
89ead3bd50bb86b85aa5d488bb45e768cdb3fc69
[ "MIT" ]
null
null
null
src/jsonrpc_client/asyncrpcclient.cpp
ondra-novak/jsonrpc_client
89ead3bd50bb86b85aa5d488bb45e768cdb3fc69
[ "MIT" ]
null
null
null
src/jsonrpc_client/asyncrpcclient.cpp
ondra-novak/jsonrpc_client
89ead3bd50bb86b85aa5d488bb45e768cdb3fc69
[ "MIT" ]
null
null
null
/* * asyncrpcclient.cpp * * Created on: 23. 7. 2017 * Author: ondra */ #include "asyncrpcclient.h" #include "netio.h" #include <imtjson/parser.h> #include <imtjson/serializer.h> #include <cerrno> namespace jsonrpc_client { using namespace jsonrpc_client; RpcClient::RpcClient():AbstractRpcClient...
17.08125
84
0.637029
ondra-novak
1cdfa4bf90d2d3fe0c0b1d35aecb1836343266d3
7,673
cpp
C++
glSandbox/source/PostProcessingStep.cpp
alex-tdrn/glSandbox
4f55e6980382672e53cb0406ee4ddc7cf240dc65
[ "MIT" ]
null
null
null
glSandbox/source/PostProcessingStep.cpp
alex-tdrn/glSandbox
4f55e6980382672e53cb0406ee4ddc7cf240dc65
[ "MIT" ]
null
null
null
glSandbox/source/PostProcessingStep.cpp
alex-tdrn/glSandbox
4f55e6980382672e53cb0406ee4ddc7cf240dc65
[ "MIT" ]
null
null
null
#include "Util.h" #include "PostProcessingStep.h" #include "Globals.h" #include "MeshManager.h" void PostProcessingStep::initFramebuffer() { initialized = true; glGenFramebuffers(1, &framebuffer); glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); glActiveTexture(GL_TEXTURE0); glGenTextures(1, &colorbuffer); glBind...
32.375527
150
0.712629
alex-tdrn
1ce36afc1b352b629368df9bbd3f63e22f3b8ca0
10,044
hpp
C++
ufora/core/containers/TwoWaySetMap.hpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/core/containers/TwoWaySetMap.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/core/containers/TwoWaySetMap.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
31.987261
189
0.684588
ufora
1ce473203eb8b6f0c385adfb22ed3f866347e443
116,544
cpp
C++
src/QtPhonemes/Phonemes/PhonemeIndex.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
src/QtPhonemes/Phonemes/PhonemeIndex.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
src/QtPhonemes/Phonemes/PhonemeIndex.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
// Data source from S:/Sakra/Development/CIOS/3rdparty/builds/espeak-1.47.11-source/espeak-data/phonindex int PhonemeIndexSize = 22960 ; unsigned char PhonemeIndex [ 22960 ] = { 0x09,0x47,0x01,0x00,0x00,0xA1,0xD5,0x83,0x00,0x00,0x00,0x00,0x00,0xA2,0x12,0x82, 0x00,0x00,0...
80.933333
105
0.789213
Vladimir-Lin
1ce7b75365e3e4b99c8652be80d82573844775a3
1,831
cpp
C++
test/src/WorldTest.cpp
Konijnendijk/Meadows-ECS
5ee2619481086edaabcfa235e2455686cb854901
[ "BSL-1.0", "MIT" ]
1
2017-11-22T11:39:25.000Z
2017-11-22T11:39:25.000Z
test/src/WorldTest.cpp
Konijnendijk/Meadows-ECS
5ee2619481086edaabcfa235e2455686cb854901
[ "BSL-1.0", "MIT" ]
null
null
null
test/src/WorldTest.cpp
Konijnendijk/Meadows-ECS
5ee2619481086edaabcfa235e2455686cb854901
[ "BSL-1.0", "MIT" ]
null
null
null
#include "catch.hpp" #include "TestCommons.h" #include "World.h" using namespace Meadows; TEST_CASE("Creating entities", "[World][integration]") { World world; auto entity = world.createEntity<TestEntity>(); SECTION("Entity is not initialised") { REQUIRE_FALSE(entity->isInitialized); } ...
28.169231
93
0.666303
Konijnendijk
1cee59d540ce935b4109ab6bea4f450c6135fa65
5,148
cpp
C++
eqgame_dll/MQ2CleanUI.cpp
Natedog2012/dll
5fb9414a5ebddf9c37809517eaf378a26b422d61
[ "MIT" ]
3
2021-06-25T00:03:25.000Z
2021-11-30T19:45:27.000Z
eqgame_dll/MQ2CleanUI.cpp
Natedog2012/dll
5fb9414a5ebddf9c37809517eaf378a26b422d61
[ "MIT" ]
null
null
null
eqgame_dll/MQ2CleanUI.cpp
Natedog2012/dll
5fb9414a5ebddf9c37809517eaf378a26b422d61
[ "MIT" ]
3
2021-09-21T23:33:31.000Z
2022-02-18T08:13:20.000Z
/***************************************************************************** MQ2Main.dll: MacroQuest2's extension DLL for EverQuest Copyright (C) 2002-2003 Plazmic, 2003-2005 Lax This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as p...
29.586207
126
0.68143
Natedog2012
1cee6d4bcf6fdbd08865fdd724d76f8d43da3742
3,034
cpp
C++
src/controller/Mopidy_mpd_connector.cpp
BFH-AudioStreamer/Streamer-UI
9447826ab293a0a0a6086ddce4117c0735879ede
[ "MIT" ]
null
null
null
src/controller/Mopidy_mpd_connector.cpp
BFH-AudioStreamer/Streamer-UI
9447826ab293a0a0a6086ddce4117c0735879ede
[ "MIT" ]
null
null
null
src/controller/Mopidy_mpd_connector.cpp
BFH-AudioStreamer/Streamer-UI
9447826ab293a0a0a6086ddce4117c0735879ede
[ "MIT" ]
1
2020-05-15T07:54:35.000Z
2020-05-15T07:54:35.000Z
/** ******************************************************************************* * @addtogroup Mopidy_mpd_connector * @{ * @brief Backend connector combining the MPD and Mopidy connector * * @authors Rafael Klossner * @authors Stefan Lüthi *********************************************************************...
33.340659
95
0.696111
BFH-AudioStreamer
1cf38a54e01590ebf72ff7eed4790ff0dc36bd83
1,382
cpp
C++
src/util/TimeUtils.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/util/TimeUtils.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/util/TimeUtils.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
/* * <one line to give the program's name and a brief idea of what it does.> * Copyright (C) 2015 <copyright holder> <email> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either versi...
27.64
74
0.685962
serserar
1cf75d1381da7d943503fa6f711853a2222dbaf5
693
cpp
C++
alica_tests/autogenerated/src/Plans/constraints/Defend1402488893641Constraints.cpp
hendrik-skubch/alica
fe82928edf3a36df5f07a2258ff21d17ca8fa6d9
[ "MIT" ]
12
2015-06-09T07:19:50.000Z
2018-11-20T10:40:08.000Z
alica_tests/autogenerated/src/Plans/constraints/Defend1402488893641Constraints.cpp
hendrik-skubch/alica
fe82928edf3a36df5f07a2258ff21d17ca8fa6d9
[ "MIT" ]
4
2015-09-10T10:23:33.000Z
2018-04-20T12:07:34.000Z
alica_tests/autogenerated/src/Plans/constraints/Defend1402488893641Constraints.cpp
hendrik-skubch/alica
fe82928edf3a36df5f07a2258ff21d17ca8fa6d9
[ "MIT" ]
4
2016-06-13T12:04:57.000Z
2018-07-04T08:11:35.000Z
#include "Plans/constraints/Defend1402488893641Constraints.h" using namespace std; using namespace alica; /*PROTECTED REGION ID(ch1402488893641) ENABLED START*/ // Add additional using directives here /*PROTECTED REGION END*/ namespace alicaAutogenerated { // Plan:Defend /* * Tasks: * - EP:1402488903550 : DefaultTa...
16.5
61
0.720058
hendrik-skubch
1cf79379c223a06d256819031de5b5ad2ff7a08d
1,602
cpp
C++
game/shared/cstrike15/cs_gamerules.cpp
Ochii/source-sdk-csgo
c95b57ce390dcc36d078efc680a3963b27de2f41
[ "Unlicense" ]
4
2018-11-27T23:11:55.000Z
2019-07-23T14:27:08.000Z
game/shared/cstrike15/cs_gamerules.cpp
Ochii/source-sdk-csco
c95b57ce390dcc36d078efc680a3963b27de2f41
[ "Unlicense" ]
null
null
null
game/shared/cstrike15/cs_gamerules.cpp
Ochii/source-sdk-csco
c95b57ce390dcc36d078efc680a3963b27de2f41
[ "Unlicense" ]
2
2019-06-01T15:24:29.000Z
2019-07-23T14:27:09.000Z
#include "stdafx.h" #ifdef CLIENT_DLL #else #include "cs_player.h" #include "cs_gamerules.h" #endif CViewVectors* GetCSViewVectors() { return (CViewVectors*)Addresses::CSViewVectors; } CCSGameRules* CSGameRules() { return (CCSGameRules*) *g_pGameRules; } float CCSGameRules::GetRoundElapsedTime() { return g...
18.627907
124
0.739076
Ochii
1cf7a3f1fdd74f7d1020237ae95b9cdc76f36fc5
530
hpp
C++
boost/decode.hpp
isadchenko/brig
3e65a44fa4b8690cdfa8bdaca08d560591afcc38
[ "MIT" ]
null
null
null
boost/decode.hpp
isadchenko/brig
3e65a44fa4b8690cdfa8bdaca08d560591afcc38
[ "MIT" ]
null
null
null
boost/decode.hpp
isadchenko/brig
3e65a44fa4b8690cdfa8bdaca08d560591afcc38
[ "MIT" ]
null
null
null
// Andrew Naplavkov #ifndef BRIG_BOOST_DECODE_HPP #define BRIG_BOOST_DECODE_HPP #include <brig/blob_t.hpp> #include <brig/boost/detail/decode_geometry.hpp> #include <locale> #include <sstream> #include <string> namespace brig { namespace boost { inline std::string decode(const blob_t& wkb) { auto p...
21.2
67
0.70566
isadchenko
1cf84cd204fcc6969a7ea2f9224386ce4ef084a6
14,421
cpp
C++
verilator-4.016/src/V3TraceDecl.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
verilator-4.016/src/V3TraceDecl.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
verilator-4.016/src/V3TraceDecl.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
// -*- mode: C++; c-file-style: "cc-mode" -*- //************************************************************************* // DESCRIPTION: Verilator: Waves tracing // // Code available from: http://www.veripool.org/verilator // //************************************************************************* // // Copyright 2...
42.539823
119
0.519867
tcovert2015
7f32aad5921807e7f693684769dd47749c7f92fe
5,686
hpp
C++
src/floaxie/static_pow.hpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
src/floaxie/static_pow.hpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
src/floaxie/static_pow.hpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015-2019 Alexey Chernov <4ernov@gmail.com> * * 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 appli...
35.31677
130
0.701724
enerc
7f3c74b05374fc5a86fd6c5b170702548acaa2fd
790
hpp
C++
tests/util/macros.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
496
2018-07-03T06:57:13.000Z
2022-03-28T23:20:01.000Z
tests/util/macros.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
331
2018-03-29T05:15:51.000Z
2022-03-12T16:57:06.000Z
tests/util/macros.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
58
2018-11-11T03:12:00.000Z
2022-03-25T06:32:58.000Z
#ifndef POAC_TESTS_SUPPORT_MACROS_HPP #define POAC_TESTS_SUPPORT_MACROS_HPP #include <boost/test/tools/old/interface.hpp> // In macros below following argument abbreviations are used: // M - message // S - statement // E - exception #define BOOST_CHECK_THROW_MSG( S, E, M ) \ do { ...
37.619048
61
0.443038
ken-matsui
7f3e47e6e7353f6e91167f8483fe1c4fcfb01421
467
cpp
C++
INFO6044/BasicClasses/BasicClasses/cSuperBoss.cpp
LordMichaelmort/GDP2021_22
0498a1b7a16a35e8d4e79591163937ebffc15f47
[ "MIT" ]
2
2021-09-10T17:43:58.000Z
2021-09-14T21:52:47.000Z
INFO6044/BasicClasses/BasicClasses/cSuperBoss.cpp
LordMichaelmort/GDP2021_22
0498a1b7a16a35e8d4e79591163937ebffc15f47
[ "MIT" ]
null
null
null
INFO6044/BasicClasses/BasicClasses/cSuperBoss.cpp
LordMichaelmort/GDP2021_22
0498a1b7a16a35e8d4e79591163937ebffc15f47
[ "MIT" ]
1
2021-09-14T18:07:06.000Z
2021-09-14T18:07:06.000Z
#include "cSuperBoss.h" #include <iostream> cSuperBoss::cSuperBoss() { std::cout << "cSuperBoss::cSuperBoss() is created" << std::endl; } cSuperBoss::~cSuperBoss() { std::cout << "cSuperBoss::~cSuperBoss() is destroyed" << std::endl; } void cSuperBoss::Attack(void) { std::cout << "cSuperBoss::Attack() SUPER sma...
18.68
74
0.646681
LordMichaelmort
7f41ed9902596a344bca8e55d27052e40a9fd1dc
3,872
hh
C++
AbstractPhysPtr64.hh
cndolo/smart_pointers
3586e06e609ddbea6faf3208e09ad40d7f554183
[ "MIT" ]
null
null
null
AbstractPhysPtr64.hh
cndolo/smart_pointers
3586e06e609ddbea6faf3208e09ad40d7f554183
[ "MIT" ]
null
null
null
AbstractPhysPtr64.hh
cndolo/smart_pointers
3586e06e609ddbea6faf3208e09ad40d7f554183
[ "MIT" ]
null
null
null
#pragma once #include <cassert> template<typename CFG, typename T> class AbstractPhysPtr64 { public: typedef T valuetype; AbstractPhysPtr64() : ptr(0) {} explicit AbstractPhysPtr64(uint64_t ptr) : ptr(ptr) {} static bool isValidPhysAddress(uintptr_t ptr) { return (ptr >= CFG::physBase()) && (ptr < CFG::...
32.537815
113
0.68311
cndolo
7f48f68a1f33e5bc67815a75b2fd971eee77357a
663
cpp
C++
aula-02/funcao-pt01-ex02-menu.cpp
adolfobcruz/estacio-estrutura-de-dados-1
8f5214f62b0e5a9c9d6cdc680cbd83e8a8ab6e14
[ "MIT" ]
1
2022-03-15T13:42:50.000Z
2022-03-15T13:42:50.000Z
aula-02/funcao-pt01-ex02-menu.cpp
adolfobcruz/estacio-estrutura-de-dados-1
8f5214f62b0e5a9c9d6cdc680cbd83e8a8ab6e14
[ "MIT" ]
null
null
null
aula-02/funcao-pt01-ex02-menu.cpp
adolfobcruz/estacio-estrutura-de-dados-1
8f5214f62b0e5a9c9d6cdc680cbd83e8a8ab6e14
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void menu() { cout << "\nMenu:\n"; cout << "\n1-Pilha"; cout << "\n2-Fila"; cout << "\n3-Lista"; cout << "\n4-Arvore"; cout << "\n5-Grafo"; cout << "\n6-Sair\n"; cout << "\nOpcao: \n"; } int main() { int op; cout << "Escolha a opção desejada.\n"; menu(); cin >> ...
14.106383
40
0.544495
adolfobcruz
7f50bbce7766a86560b045f21ef354351a4959c4
10,389
cpp
C++
src/Parser.cpp
Igor-Krzywda/ib-pseudocode-interpreter
d83e05a1ab230771dc465dd899691519e56b4dea
[ "MIT" ]
2
2020-11-30T20:29:29.000Z
2020-12-11T18:04:47.000Z
src/Parser.cpp
Igor-Krzywda/ib-pseudocode-interpreter
d83e05a1ab230771dc465dd899691519e56b4dea
[ "MIT" ]
null
null
null
src/Parser.cpp
Igor-Krzywda/ib-pseudocode-interpreter
d83e05a1ab230771dc465dd899691519e56b4dea
[ "MIT" ]
null
null
null
#include "include/Parser.hpp" namespace prs{ Parser::Parser(std::string &&buffer){ lex = lxr::Lexer(std::move(buffer)); token = lex.get_next_token(); } void Parser::eat(int token_id){ if(token.id == token_id){ token = lex.get_next_token(); }else error(token_id); } void Parser::error(int ...
26.706941
76
0.515545
Igor-Krzywda
7f525512c0b586b07155173f2137c08792ffd0eb
3,302
hpp
C++
enhance/box3d.hpp
simonraschke/enhance
c1925e57ad7387f94ae8c59abaf207c2349316aa
[ "Apache-2.0" ]
null
null
null
enhance/box3d.hpp
simonraschke/enhance
c1925e57ad7387f94ae8c59abaf207c2349316aa
[ "Apache-2.0" ]
null
null
null
enhance/box3d.hpp
simonraschke/enhance
c1925e57ad7387f94ae8c59abaf207c2349316aa
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Simon Raschke * * 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 l...
27.289256
108
0.592974
simonraschke
7f52a0f3e6b8ca0903fdc8a4d9e1e337cebc3eb2
150
cpp
C++
AtCoder/abc096/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc096/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc096/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; if (b < a) printf("%d\n", a - 1); else printf("%d\n", a); }
21.428571
37
0.506667
H-Tatsuhiro
7f53aa8541b4dcfc0e2bac1903eb85a5f68fd391
1,345
cpp
C++
tests/src/Light/Directional.cpp
DorianBDev/Raytracing
53268ebf621d09773826b2e6948b8e4000b9ef7c
[ "MIT" ]
6
2021-02-18T16:43:20.000Z
2022-03-11T15:14:09.000Z
tests/src/Light/Directional.cpp
SMBDFather/Raytracing
53268ebf621d09773826b2e6948b8e4000b9ef7c
[ "MIT" ]
null
null
null
tests/src/Light/Directional.cpp
SMBDFather/Raytracing
53268ebf621d09773826b2e6948b8e4000b9ef7c
[ "MIT" ]
null
null
null
#include <Light/Directional.h> #include <doctest.h> TEST_CASE("Testing directional light") { Vector3 originA({{0.5, 0, 0}}); Vector3 originB({{0, 0.5, 0}}); Vector3 direction({{0.75, 0.75, 1}}); Directional directional({10, Colors::white(), originA, originB, direction}); Vector3 a1({{1, 1, 1}}); ...
33.625
80
0.619331
DorianBDev
7f5ba6ce9af07b4782351f6b36a14a0dca0ee42d
440
hpp
C++
include/pastel/particle/get.hpp
naoki-yoshioka/pastel
b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8
[ "MIT" ]
null
null
null
include/pastel/particle/get.hpp
naoki-yoshioka/pastel
b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8
[ "MIT" ]
24
2017-12-23T07:39:58.000Z
2019-09-20T10:16:37.000Z
include/pastel/particle/get.hpp
naoki-yoshioka/pastel
b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8
[ "MIT" ]
null
null
null
#ifndef PASTEL_PARTICLE_GET_HPP # define PASTEL_PARTICLE_GET_HPP # include <utility> namespace pastel { namespace particle { template <typename Tag, typename Particle> inline auto get(Particle&& particle) -> decltype(std::forward<Particle>(particle).template get<Tag>()) { return std::forward<Particle...
22
106
0.731818
naoki-yoshioka
7f5f4b0255bd54ec0c4f417cbec189a40886cc9e
653
cpp
C++
Problemset/reverse-words-in-a-string-iii/reverse-words-in-a-string-iii.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2020-10-06T01:06:45.000Z
2020-10-06T01:06:45.000Z
Problemset/reverse-words-in-a-string-iii/reverse-words-in-a-string-iii.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
null
null
null
Problemset/reverse-words-in-a-string-iii/reverse-words-in-a-string-iii.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2021-11-17T13:52:51.000Z
2021-11-17T13:52:51.000Z
// @Title: 反转字符串中的单词 III (Reverse Words in a String III) // @Author: Singularity0909 // @Date: 2020-08-30 14:31:28 // @Runtime: 24 ms // @Memory: 9.4 MB class Solution { public: string reverseWords(string s) { vector<int> space({ -1 }); int len = (int)s.length(); for (int i = 0; i < len; i...
25.115385
58
0.464012
Singularity0909
7f64db1d46380ce8a1715f29d3dad63ec0e800f7
3,168
hpp
C++
include/reiji/unique_shared_lib.hpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
null
null
null
include/reiji/unique_shared_lib.hpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
4
2020-08-09T20:33:04.000Z
2021-02-07T04:02:39.000Z
include/reiji/unique_shared_lib.hpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
null
null
null
// Copyright Mițca Dumitru 2019 - present // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) #pragma once #include <cstddef> // std::nullptr_t #include <cstdint> // std::uint64_t #include <filesystem> #include <s...
29.607477
78
0.684343
RealKC
7f6c711ccee4c7ca0a39c38f9f07aa28852e190b
2,679
cpp
C++
targets/libraries/TLC5952/TLC5952.cpp
sicrisembay/mbed_target
dd7af2f2903fdc633ccd6028e6ae4f7b3cdd54c8
[ "Apache-2.0" ]
20
2017-10-12T10:49:10.000Z
2022-03-16T03:21:46.000Z
targets/libraries/TLC5952/TLC5952.cpp
sicrisembay/mbed_target
dd7af2f2903fdc633ccd6028e6ae4f7b3cdd54c8
[ "Apache-2.0" ]
2
2018-06-22T16:00:02.000Z
2019-09-01T13:32:27.000Z
targets/libraries/TLC5952/TLC5952.cpp
sicrisembay/mbed_target
dd7af2f2903fdc633ccd6028e6ae4f7b3cdd54c8
[ "Apache-2.0" ]
9
2017-08-13T12:15:32.000Z
2021-11-21T07:57:08.000Z
#include <TLC5952.h> // Konstruktor: // Pin-Belegung + Strom pro LED TLC5952::TLC5952(PinName clk, PinName data, PinName latch, PinName blank, uint8_t strom = 5) { int32_t registerCount = 0x25; clkout = new DigitalOut(clk); dataout = new DigitalOut(data); latchout = new DigitalOut(latch); blankout = new D...
17.741722
95
0.610676
sicrisembay
7f6d0c4733962a9fc6715bc8de6c5a0dd6f48f75
601
cpp
C++
src/types/Int16.cpp
shumway/tdmsreader
4262f4fba4f90fc903b83426e5fa3a2ebff26cb0
[ "MIT" ]
7
2018-09-28T23:54:04.000Z
2021-03-14T14:53:55.000Z
src/types/Int16.cpp
shumway/tdmsreader
4262f4fba4f90fc903b83426e5fa3a2ebff26cb0
[ "MIT" ]
null
null
null
src/types/Int16.cpp
shumway/tdmsreader
4262f4fba4f90fc903b83426e5fa3a2ebff26cb0
[ "MIT" ]
10
2015-04-01T09:18:50.000Z
2022-03-02T20:15:47.000Z
#include "types/Int16.h" #include "types/Int16Value.h" #include "types/Int16Array.h" DataValue* Int16::readValue(std::ifstream &infile) const { short data; infile.read((char*)&data, 2); return new Int16Value(this,data); } DataArray* Int16::readArray(std::ifstream &infile, unsigned int size, unsigned int nby...
27.318182
74
0.710483
shumway
7f6ddb9dd54ad5c3411be48bb33984ee5e932f8a
5,103
cpp
C++
RubeusCore/Source/GraphicComponents/window_component.cpp
Rodrirokr/Rubeus
12623b04db959b428b9eb791d3943b11d74c0532
[ "MIT" ]
179
2018-12-22T14:02:02.000Z
2022-01-29T18:26:57.000Z
RubeusCore/Source/GraphicComponents/window_component.cpp
rahil627/Rubeus
dd057d23c94a0406126c32d62889ac83cba47570
[ "MIT" ]
56
2019-01-07T11:55:16.000Z
2020-12-10T21:32:18.000Z
RubeusCore/Source/GraphicComponents/window_component.cpp
rahil627/Rubeus
dd057d23c94a0406126c32d62889ac83cba47570
[ "MIT" ]
20
2018-12-23T11:19:49.000Z
2022-03-11T06:18:10.000Z
/** * @file Source/window_component.cpp. * * @brief Implements the RWindowComponent class */ #include <window_component.h> #include <any> #include <GL/glew.h> #include <GLFW/glfw3.h> namespace Rubeus { namespace GraphicComponents { int RWindowComponent::MouseX; int RWindowComponent::Y; void getGLFWErro...
24.771845
150
0.706643
Rodrirokr
7f6edea35d1aef78975e0439ba29531b9dfdda25
532
hpp
C++
libs/Counter.hpp
longlt3/utils
08c446db77ff5baacac2a5203b5ec4a068c36c8d
[ "MIT" ]
null
null
null
libs/Counter.hpp
longlt3/utils
08c446db77ff5baacac2a5203b5ec4a068c36c8d
[ "MIT" ]
null
null
null
libs/Counter.hpp
longlt3/utils
08c446db77ff5baacac2a5203b5ec4a068c36c8d
[ "MIT" ]
null
null
null
#ifndef COUNTER_HPP #define COUNTER_HPP #include <string> #include <chrono> #include <thread> #include <unordered_map> #include "log.hpp" bool canLog(int log_type); struct Counter { public: // Counter(); Counter(std::string const &a_str, LogType aLogType); virtual ~Counter(); priva...
16.625
62
0.661654
longlt3
7f70ef142df3476a2eaabfa0990d139d9d954f86
1,107
cpp
C++
00049_group-anagrams/191225-1.cpp
yanlinlin82/leetcode
ddcc0b9606d951cff9c08d1f7dfbc202067c8d65
[ "MIT" ]
6
2019-10-23T01:07:29.000Z
2021-12-05T01:51:16.000Z
00049_group-anagrams/191225-1.cpp
yanlinlin82/leetcode
ddcc0b9606d951cff9c08d1f7dfbc202067c8d65
[ "MIT" ]
null
null
null
00049_group-anagrams/191225-1.cpp
yanlinlin82/leetcode
ddcc0b9606d951cff9c08d1f7dfbc202067c8d65
[ "MIT" ]
1
2021-12-03T06:54:57.000Z
2021-12-03T06:54:57.000Z
// https://leetcode-cn.com/problems/group-anagrams/ #include <cstdio> #include <vector> #include <string> #include <unordered_map> #include <algorithm> using namespace std; class Solution { public: vector<vector<string>> groupAnagrams(vector<string>& strs) { vector<vector<string>> res; unordered_map<string, int> ...
20.886792
70
0.563686
yanlinlin82
7f76969d2f91be2a0a5eb283c09c725802e39843
314
cpp
C++
code/GAME.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
code/GAME.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
code/GAME.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include<stdio.h> using namespace std; int main() { int n; while(cin>>n) { int f[2000]; for(int i=0;i<n;i++) cin>>f[i]; sort(f,f+n); if(n&1) cout<<f[n/2]<<endl; else cout<<f[n/2-1]<<endl; } return 0; }
15.7
29
0.429936
PIPIKAI
7f78e2bd8fa7ee69598b61e5dacc8b15d06ff45a
1,529
hpp
C++
src/channel/IpcChannel.hpp
Chopper455/Stalink
4ed94b35b9eafd1358e9f42fc8c0f8a961878a5d
[ "MIT" ]
null
null
null
src/channel/IpcChannel.hpp
Chopper455/Stalink
4ed94b35b9eafd1358e9f42fc8c0f8a961878a5d
[ "MIT" ]
null
null
null
src/channel/IpcChannel.hpp
Chopper455/Stalink
4ed94b35b9eafd1358e9f42fc8c0f8a961878a5d
[ "MIT" ]
null
null
null
#ifndef SRC_NEW_IPCCHANNEL_HPP_ #define SRC_NEW_IPCCHANNEL_HPP_ #include "Messages.hpp" #include <string> namespace stamask { /** * Interface of class to interchange messages. * Connection URL is passed in subclass' constructor. */ class IpcChannel { public: /** * Empty destructor. *...
18.876543
72
0.653368
Chopper455
7f7a6ff8b5870ff280acbbe488de39c1d26beb4a
5,184
cpp
C++
tech/UI/UIComposer.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
tech/UI/UIComposer.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
tech/UI/UIComposer.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
/****************************************************************************** Copyright (c) 2015 Teardrop Games Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
30.139535
79
0.51466
nbtdev
7f80d29eeacb5ac4a287f00143d09a2777445f72
1,305
hpp
C++
Sources/Core/Resources/Loaders/MapLoader.hpp
VladimirBalun/RacingWorld
c7e600c5899e3ea78f50bd2f8cd915437bad7789
[ "Apache-2.0" ]
70
2019-02-02T15:43:38.000Z
2022-03-09T13:58:27.000Z
Sources/Core/Resources/Loaders/MapLoader.hpp
VladimirBalun/RacingWorld
c7e600c5899e3ea78f50bd2f8cd915437bad7789
[ "Apache-2.0" ]
19
2019-03-27T05:57:30.000Z
2019-07-07T16:07:05.000Z
Sources/Core/Resources/Loaders/MapLoader.hpp
VladimirBalun/RacingWorld
c7e600c5899e3ea78f50bd2f8cd915437bad7789
[ "Apache-2.0" ]
32
2019-03-07T12:22:40.000Z
2022-03-18T01:12:56.000Z
/* * Copyright 2018 Vladimir Balun * * 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 ...
27.765957
101
0.685057
VladimirBalun
7f89f09f8c62478230d349036956dfba1de223bd
3,363
cpp
C++
Source/ModuleImGui.cpp
BooLAW/Pau-Bonet-3D-Game-Engine
4ddf5ef5b28194a466770ff9492aa6181c202068
[ "MIT" ]
null
null
null
Source/ModuleImGui.cpp
BooLAW/Pau-Bonet-3D-Game-Engine
4ddf5ef5b28194a466770ff9492aa6181c202068
[ "MIT" ]
null
null
null
Source/ModuleImGui.cpp
BooLAW/Pau-Bonet-3D-Game-Engine
4ddf5ef5b28194a466770ff9492aa6181c202068
[ "MIT" ]
null
null
null
#include "ModuleImGui.h" #include "Application.h" ModuleImGui::ModuleImGui(Application * parent, bool start_enabled) : Module(parent,start_enabled) { } ModuleImGui::~ModuleImGui() { } bool ModuleImGui::Init() { ImGui_ImplSdlGL2_Init(App->window->window); return true; } update_status ModuleImGui::PreUpdate(float dt)...
21.150943
97
0.676182
BooLAW
7f8b367d0144b42339dbd6c1e07362172302e74d
2,899
cpp
C++
src/tests/test_mix/source/test_TAOCP_book_mul.cpp
grishavanika/mix
6a4b465debfd16a6cdc4b76cb730a17ee631b062
[ "MIT" ]
3
2018-01-25T01:14:37.000Z
2021-08-31T15:22:21.000Z
src/tests/test_mix/source/test_TAOCP_book_mul.cpp
grishavanika/mix
6a4b465debfd16a6cdc4b76cb730a17ee631b062
[ "MIT" ]
null
null
null
src/tests/test_mix/source/test_TAOCP_book_mul.cpp
grishavanika/mix
6a4b465debfd16a6cdc4b76cb730a17ee631b062
[ "MIT" ]
3
2020-03-07T06:35:23.000Z
2020-12-04T04:15:35.000Z
#include "precompiled.h" using namespace mix; namespace { Word MakeRandomWord(std::random_device& rd) { std::uniform_int_distribution<std::size_t> dist{0, Byte::k_max_value}; Word w; for (std::size_t i = 1; i <= 5; ++i) { w.set_byte(i, dist(rd)); } w.set_sign((dist(rd) < (Byte::k_max_value / 2)...
20.856115
85
0.648844
grishavanika
7f9105992bf99805489bd2711496032da41a7fe8
17,085
cpp
C++
src/driver/driver.cpp
TrueFinch/KappaDBMS
f4f9e91c52ae33f929e6db458a713a98a9958da3
[ "Apache-2.0" ]
null
null
null
src/driver/driver.cpp
TrueFinch/KappaDBMS
f4f9e91c52ae33f929e6db458a713a98a9958da3
[ "Apache-2.0" ]
null
null
null
src/driver/driver.cpp
TrueFinch/KappaDBMS
f4f9e91c52ae33f929e6db458a713a98a9958da3
[ "Apache-2.0" ]
null
null
null
#include "driver.hpp" // TODO: explore for memory leaks (pointers) namespace sql { thread_local std::unordered_map<std::string, Driver::CapturedData> Driver::capture = {}; cmd::LiteralType LiteralTypeFromStr(const std::string str) { if (str == "INTEGER") return cmd::LiteralType::INTEGER; else if (str == "DO...
35.154321
126
0.622827
TrueFinch
7f92ca77e8d0fe52cf40b0083751db6ddfa39f19
12,916
cpp
C++
src/fuml/src_gen/fUML/Semantics/SimpleClassifiers/impl/EnumerationValueImpl.cpp
MDE4CPP/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/fuml/src_gen/fUML/Semantics/SimpleClassifiers/impl/EnumerationValueImpl.cpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/fuml/src_gen/fUML/Semantics/SimpleClassifiers/impl/EnumerationValueImpl.cpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
#include "fUML/Semantics/SimpleClassifiers/impl/EnumerationValueImpl.hpp" #ifdef NDEBUG #define DEBUG_MESSAGE(a) /**/ #else #define DEBUG_MESSAGE(a) a #endif #ifdef ACTIVITY_DEBUG_ON #define ACT_DEBUG(a) a #else #define ACT_DEBUG(a) /**/ #endif //#include "util/ProfileCallCount.hpp" #include <cassert> #in...
31.273608
245
0.707572
MDE4CPP
7fa36cc69e484a584fe26dae00503d759850a325
1,688
hpp
C++
SDK/ARKSurvivalEvolved_SpaceDolphinLaserUpgrade_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_SpaceDolphinLaserUpgrade_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_SpaceDolphinLaserUpgrade_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_SpaceDolphinLaserUpgrade_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //---------------------------------------------...
36.695652
173
0.594194
2bite
7fa5893f7b9b981a540ee9b2114740ba97313250
1,939
cpp
C++
src/main.cpp
tevoran/haeschen-und-woelfchen
4d993f9bfbe1c767292ff00cf980830ca8b9c913
[ "BSD-2-Clause" ]
2
2021-06-11T18:58:42.000Z
2021-06-11T19:09:30.000Z
src/main.cpp
tevoran/haeschen-und-woelfchen
4d993f9bfbe1c767292ff00cf980830ca8b9c913
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
tevoran/haeschen-und-woelfchen
4d993f9bfbe1c767292ff00cf980830ca8b9c913
[ "BSD-2-Clause" ]
null
null
null
#include <huw.hpp> #include <level/actual_levels.hpp> #undef main int main(int argc, char *argv[]) { //SDL_Color TEXT_COLOR={228,20,228,0}; huw::game game; huw::sprite background("../assets/DarkGhetto.png", & game, 0, 0, 640, 360, RESX, RESY); huw::sprite hase("../assets/Haeschen1.png", &game, 0, 0, 32, 32, ...
24.858974
93
0.650335
tevoran
7fab53529cd53d2fee571d670a2ca2e68c974025
6,030
cpp
C++
Sources/Samples/Stealth/Utils.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Samples/Stealth/Utils.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Samples/Stealth/Utils.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
/*============================================================================= Utils.cpp Project: Sonata Engine Author: Julien Delezenne =============================================================================*/ #include "Utils.h" Image* CreateImage(const String& fileName) { Resource* resource; String path =...
27.162162
99
0.697181
jdelezenne
7fb1332c42abf769e96f1582b584b85ed20e38b2
3,490
hpp
C++
src/libs/inputting/Input.hpp
JKot-Coder/OpenDemo
8b9554914f5bab08df47e032486ca668a560c97c
[ "BSD-3-Clause" ]
null
null
null
src/libs/inputting/Input.hpp
JKot-Coder/OpenDemo
8b9554914f5bab08df47e032486ca668a560c97c
[ "BSD-3-Clause" ]
null
null
null
src/libs/inputting/Input.hpp
JKot-Coder/OpenDemo
8b9554914f5bab08df47e032486ca668a560c97c
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <map> #include "common/Math.hpp" #include "windowing/InputtingWindow.hpp" namespace RR { namespace Inputting { enum InputKey { ikNone, // keyboard ikLeft, ikRight, ikUp, ikDown, ikSpace,...
23.581081
106
0.450143
JKot-Coder
7fbb34c41f2555d8b0adcea32fbb69856d378f93
6,925
hpp
C++
source/ashes/renderer/GlRenderer/Enum/GlGetParameter.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/GlRenderer/Enum/GlGetParameter.hpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/GlRenderer/Enum/GlGetParameter.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder */ #pragma once #ifdef GL_SUBPIXEL_BITS #undef GL_SUBPIXEL_BITS #endif #ifdef GL_MAX_TEXTURE_SIZE #undef GL_MAX_TEXTURE_SIZE #endif #ifdef GL_MAX_VIEWPORT_DIMS #undef GL_MAX_VIEWPORT_DIMS #endif #ifdef GL_POINT_SIZE_RANGE #undef GL_POINT_SIZE_RANGE #endif ...
38.904494
81
0.835957
DragonJoker
7fc5ed4cca61af64f45af44bf8fa598cbfd575cb
2,863
cc
C++
src/core/field_bits_256_test.cc
puyoai/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
115
2015-02-21T15:08:26.000Z
2022-02-05T01:38:10.000Z
src/core/field_bits_256_test.cc
haripo/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
214
2015-01-16T04:53:35.000Z
2019-03-23T11:39:59.000Z
src/core/field_bits_256_test.cc
haripo/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
56
2015-01-16T05:14:13.000Z
2020-09-22T07:22:49.000Z
#ifdef __AVX2__ #include <gtest/gtest.h> #include "core/bit_field.h" #include "core/field_bits_256.h" using namespace std; TEST(FieldBits256Test, ctor1) { FieldBits256 bits; for (int x = 0; x < 8; ++x) { for (int y = 0; y < 16; ++y) { EXPECT_FALSE(bits.get(FieldBits256::HighLow::LOW, x, ...
27.009434
86
0.660496
puyoai
7fceba3648250a38f6d77bbbfc9258b07ddeb0fc
857
cpp
C++
dp/knapsack_dp/abc153_e2.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
dp/knapsack_dp/abc153_e2.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
dp/knapsack_dp/abc153_e2.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; // 個数制限なしナップサック 最小化 // in-place /* 参考リンク ABC 153 E - Crested Ibis vs Monster https://atcoder.jp/contests/abc153/tasks/abc153_e */ template <class T> inline bool ...
16.169811
55
0.502917
Takumi1122
7fd5a51abd857a03e8223e1243850c419f49d591
660
cpp
C++
src/TrackerEvents/PauseStartEvent.cpp
kyranet/drakhtar-telemetry
cf659dbb656fcfe55db81d8d402de89bf5d357c1
[ "MIT" ]
null
null
null
src/TrackerEvents/PauseStartEvent.cpp
kyranet/drakhtar-telemetry
cf659dbb656fcfe55db81d8d402de89bf5d357c1
[ "MIT" ]
1
2021-04-30T10:45:13.000Z
2021-04-30T10:45:13.000Z
src/TrackerEvents/PauseStartEvent.cpp
kyranet/drakhtar-telemetry
cf659dbb656fcfe55db81d8d402de89bf5d357c1
[ "MIT" ]
null
null
null
// Copyright 2021 the Drakhtar authors. All rights reserved. MIT license. #include "TrackerEvents/PauseStartEvent.h" #include "Serialization/Json/JsonObject.h" #include "Serialization/Xml/XmlObject.h" PauseStartEvent::PauseStartEvent(uint32_t levelNumber) : TrackerEvent(PAUSE_START), levelNumber_(levelNumber) {}...
30
73
0.760606
kyranet
7fd8c69942e00ed7fdf0c0d18fb9bef75b4b3aa2
2,715
cpp
C++
LocationData/Read_Subzone_Map.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
LocationData/Read_Subzone_Map.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
LocationData/Read_Subzone_Map.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Read_Subzone_Map.cpp - Read the Subzone Zone File //********************************************************* #include "LocationData.hpp" //--------------------------------------------------------- // Read_Subzone_Map //-----------------------------------...
27.15
93
0.580479
kravitz
7fde30553a71a99b2a58edf124fc3e7e055b43f4
4,955
cpp
C++
spritesheets.cpp
block8437/GameEngine
e4b452c33781566e55e9339efee9441ddb924f58
[ "MIT" ]
null
null
null
spritesheets.cpp
block8437/GameEngine
e4b452c33781566e55e9339efee9441ddb924f58
[ "MIT" ]
1
2017-04-05T00:58:21.000Z
2017-04-05T00:58:21.000Z
spritesheets.cpp
block8437/GameEngine
e4b452c33781566e55e9339efee9441ddb924f58
[ "MIT" ]
null
null
null
#include "spritesheets.h" inline bool exists_test1 (const std::string& name) { if (FILE *file = fopen(name.c_str(), "r")) { fclose(file); return true; } else { return false; } } namespace GameEngine { SpriteSheet::SpriteSheet() { } SpriteSheet::SpriteSheet(const char* filena...
33.47973
132
0.659738
block8437
8f10bb825249ffd7497052d55f5332a9dd7b3afb
360
cpp
C++
clientplugin/HttpReceiver/Windows/WebBpeLauncherQT/delbutton.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
1
2016-07-12T06:00:37.000Z
2016-07-12T06:00:37.000Z
clientplugin/HttpReceiver/Windows/WebBpeLauncherQT/delbutton.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
null
null
null
clientplugin/HttpReceiver/Windows/WebBpeLauncherQT/delbutton.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
2
2016-09-06T07:59:09.000Z
2020-12-12T03:25:24.000Z
#include "delbutton.h" DelButton::DelButton(): m_iNo(-1) { setStyleSheet("border: 1px solid black; background-image: url(:/picture/resource/delete.png);"); setFixedSize(25, 25); connect(this, SIGNAL(clicked(bool)), this, SLOT(OnClicked(bool))); } DelButton::~DelButton() { } void DelButton::OnClicked...
17.142857
100
0.675
shrewdlin
8f1eb2f6a6af209fa2364d6527c8076219bef40e
75,688
cc
C++
common/ipc/chat_db_ipc.pb.cc
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
31
2017-10-18T08:56:43.000Z
2022-03-22T15:43:10.000Z
common/ipc/chat_db_ipc.pb.cc
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
null
null
null
common/ipc/chat_db_ipc.pb.cc
shockerjue/Gameserver
78faab152e1cb211d551a794ea4df5738cf99b04
[ "Unlicense" ]
14
2018-03-15T10:36:53.000Z
2021-11-11T19:35:39.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chat_db_ipc.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "chat_db_ipc.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #inc...
34.216998
120
0.69657
shockerjue
8f1eecc36cacc4251c0b3004d50c05dd2943a5f6
352
cpp
C++
3rdparty/openbw/bwapi/bwapi/BWScriptEmulator/Nuke_Pos.cpp
ratiotile/StardustDevEnvironment
15c512b81579d8bd663db3fa8e0847d4c27f17e8
[ "MIT" ]
8
2020-09-29T17:11:15.000Z
2022-01-29T20:41:33.000Z
3rdparty/openbw/bwapi/bwapi/BWScriptEmulator/Nuke_Pos.cpp
ratiotile/StardustDevEnvironment
15c512b81579d8bd663db3fa8e0847d4c27f17e8
[ "MIT" ]
1
2021-03-08T17:43:05.000Z
2021-03-09T06:35:04.000Z
3rdparty/openbw/bwapi/bwapi/BWScriptEmulator/Nuke_Pos.cpp
ratiotile/StardustDevEnvironment
15c512b81579d8bd663db3fa8e0847d4c27f17e8
[ "MIT" ]
1
2021-03-01T04:31:30.000Z
2021-03-01T04:31:30.000Z
#include "Nuke_Pos.h" #include <tuple> #include "Controller.h" using namespace AISCRIPT; IMPLEMENT(Nuke_Pos); bool Nuke_Pos::execute(aithread &thread) const { // Params WORD x, y; thread.readTuple( std::tie(x,y) ); // @TODO // Save debug info and return thread.saveDebug(Text::Red, this->getOpcode(), "...
16
64
0.661932
ratiotile
8f316af1ac71328f76b827b7b1265718289478ea
408
cpp
C++
DISELAPI/DISELAPI.cpp
YbJerry/DISELAPI
fd04b294351c50dcf6d0b6129bccc3fd3b41a024
[ "Apache-2.0" ]
null
null
null
DISELAPI/DISELAPI.cpp
YbJerry/DISELAPI
fd04b294351c50dcf6d0b6129bccc3fd3b41a024
[ "Apache-2.0" ]
null
null
null
DISELAPI/DISELAPI.cpp
YbJerry/DISELAPI
fd04b294351c50dcf6d0b6129bccc3fd3b41a024
[ "Apache-2.0" ]
null
null
null
// DISELAPI.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include "DISXMLReader.h" #include "DISXMLWriter.h" int main() { DISXMLReader reader("./examples/onlyAtomDomain.xml"); DISEL::Ontology *onto = reader.read(); auto res = onto->getAtom...
21.473684
98
0.683824
YbJerry
8f3378af516d29c097aed2448ca232f91129efd3
2,701
cpp
C++
src/elab/elab.cpp
bridgekat/apimu
2e401a01e0aad859dc1dd975dae164f622c48696
[ "CC0-1.0" ]
5
2021-12-12T22:10:57.000Z
2022-03-10T21:01:48.000Z
src/elab/elab.cpp
bridgekat/apimu
2e401a01e0aad859dc1dd975dae164f622c48696
[ "CC0-1.0" ]
null
null
null
src/elab/elab.cpp
bridgekat/apimu
2e401a01e0aad859dc1dd975dae164f622c48696
[ "CC0-1.0" ]
null
null
null
#include "elab.hpp" namespace Elab { using std::vector; using std::string; using std::pair; using namespace Core; using enum Expr::Tag; using enum Expr::SortTag; using enum Expr::VarTag; using enum Expr::LamTag; using enum Expr::PiTag; /* pair<const Expr*, const Expr*> inferHoles(const Expr* ...
37.513889
174
0.560163
bridgekat
8f3cc5b42e23157fd49fff3e383746aca09a6dbc
10,119
hxx
C++
include/graphics/twm4nx/ctwm4nx.hxx
DS-LK/incubator-nuttx-apps
5719753399c41529478ced0a3af9a8fae93a50a9
[ "Apache-2.0" ]
132
2019-12-17T23:45:42.000Z
2022-03-30T11:58:30.000Z
include/graphics/twm4nx/ctwm4nx.hxx
VanFeo/incubator-nuttx-apps
009e66874538658c10a26bc076d27e9de48fabc6
[ "Apache-2.0" ]
443
2020-01-01T03:06:24.000Z
2022-03-31T08:57:35.000Z
include/graphics/twm4nx/ctwm4nx.hxx
VanFeo/incubator-nuttx-apps
009e66874538658c10a26bc076d27e9de48fabc6
[ "Apache-2.0" ]
232
2019-12-21T10:18:12.000Z
2022-03-30T07:42:13.000Z
///////////////////////////////////////////////////////////////////////////// // apps/include/graphics/twm4nx/ctwm4nx.hxx // // 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 co...
30.20597
92
0.582567
DS-LK
8f48db7b0b2e7160b9e6d9b85f95d6ed82653223
39,806
cpp
C++
TIFPart/TIFFView.cpp
HiraokaHyperTools/AxTIF5
d50fbd33436fc07005e5712a586912932c450f58
[ "BSD-3-Clause" ]
null
null
null
TIFPart/TIFFView.cpp
HiraokaHyperTools/AxTIF5
d50fbd33436fc07005e5712a586912932c450f58
[ "BSD-3-Clause" ]
3
2016-05-23T07:05:17.000Z
2022-02-10T14:20:54.000Z
TIFPart/TIFFView.cpp
HiraokaHyperTools/AxTIF5
d50fbd33436fc07005e5712a586912932c450f58
[ "BSD-3-Clause" ]
1
2019-07-23T15:12:37.000Z
2019-07-23T15:12:37.000Z
// AxTIF3View.cpp : CTIFFView クラスの実装 // #include "pch.h" #include "TIFPart.resource.h" #include "TIFFDoc.h" #include "TIFFView.h" #include "../RUt.h" #include "PaperSizeUtil.h" #include "FitRect3.h" #ifdef _DEBUG #define new DEBUG_NEW #endif #define ENABLE_PRINT 1 const int cxBMFirst = 16; cons...
26.17094
131
0.63606
HiraokaHyperTools
8f49e864bef6591ea7cf8e6b3ddf92d898687cce
709
cpp
C++
Problemset/repeated-substring-pattern/repeated-substring-pattern.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2020-10-06T01:06:45.000Z
2020-10-06T01:06:45.000Z
Problemset/repeated-substring-pattern/repeated-substring-pattern.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
null
null
null
Problemset/repeated-substring-pattern/repeated-substring-pattern.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2021-11-17T13:52:51.000Z
2021-11-17T13:52:51.000Z
// @Title: 重复的子字符串 (Repeated Substring Pattern) // @Author: Singularity0909 // @Date: 2020-08-24 22:22:32 // @Runtime: 28 ms // @Memory: 12.3 MB class Solution { public: bool kmp(const string& pattern) { int n = pattern.size(); vector<int> fail(n, -1); for (int i = 1; i < n; ++i) { ...
24.448276
67
0.445698
Singularity0909
8f5501733da2f19eaebc90e04146300d5dc5aa54
6,762
cpp
C++
libs/graphslam/src/CGraphSlamHandler.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
null
null
null
libs/graphslam/src/CGraphSlamHandler.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
null
null
null
libs/graphslam/src/CGraphSlamHandler.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
1
2021-08-16T11:50:47.000Z
2021-08-16T11:50:47.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
29.528384
87
0.584738
yhexie
8f59099f72d134fb6adcef7bebcede86cb2da323
17,765
cpp
C++
dynadjust/include/io/dnaiodna.cpp
dotzhou/DynAdjust
5e5918aff7975e2c2cead4f5be16b48d3eee7c76
[ "Apache-2.0" ]
1
2020-06-02T04:49:13.000Z
2020-06-02T04:49:13.000Z
dynadjust/include/io/dnaiodna.cpp
dotzhou/DynAdjust
5e5918aff7975e2c2cead4f5be16b48d3eee7c76
[ "Apache-2.0" ]
null
null
null
dynadjust/include/io/dnaiodna.cpp
dotzhou/DynAdjust
5e5918aff7975e2c2cead4f5be16b48d3eee7c76
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Name : dnaiodna.cpp // Author : Roger Fraser // Contributors : // Version : 1.00 // Copyright : Copyright 2017 Geoscience Australia // // Licensed under the Apache License, Version 2.0 (the "License");...
28.378594
110
0.691134
dotzhou
8f599c1b4607f92309e3f57c9c6b19e649ad246b
12,573
inl
C++
development/hfsm2/detail/structure/composite_sub_2.inl
mjukel/HFSM2
583b085734b9542dbd74ddce69cc94a1d2b0d601
[ "MIT" ]
null
null
null
development/hfsm2/detail/structure/composite_sub_2.inl
mjukel/HFSM2
583b085734b9542dbd74ddce69cc94a1d2b0d601
[ "MIT" ]
null
null
null
development/hfsm2/detail/structure/composite_sub_2.inl
mjukel/HFSM2
583b085734b9542dbd74ddce69cc94a1d2b0d601
[ "MIT" ]
null
null
null
namespace hfsm2 { namespace detail { //////////////////////////////////////////////////////////////////////////////// template <typename TN, typename TA, Strategy SG, Short NI, typename T> HFSM2_CONSTEXPR(14) void CS_<TN, TA, SG, NI, TL_<T>>::wideRegister(Registry& registry, const Parent parent) noexcept...
29.583529
92
0.566691
mjukel
8f5ada0171d1116004f1fe467e6a98b11b58f7f2
1,202
hpp
C++
src/utils.hpp
stash-s/esp-vfd-clock
272f013feaffdbeb68c9fb9de253d65f00e487db
[ "MIT" ]
null
null
null
src/utils.hpp
stash-s/esp-vfd-clock
272f013feaffdbeb68c9fb9de253d65f00e487db
[ "MIT" ]
null
null
null
src/utils.hpp
stash-s/esp-vfd-clock
272f013feaffdbeb68c9fb9de253d65f00e487db
[ "MIT" ]
null
null
null
#ifndef __UTILS_HPP__ #define __UTILS_HPP__ /** * Utility class. Rotate through available numbers and trigger actions when ticking and reseting */ template <typename tick_callback_type, typename reset_callback_type> class rotary_counter { const int max_counter; int counter; const tick_callback_type tick_...
23.568627
99
0.640599
stash-s
8f5dc958bb416dac40f837b04dfd7d5f51fcbbce
375
hpp
C++
src/targets/gpu/include/migraphx/gpu/cosh.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
72
2018-12-06T18:31:17.000Z
2022-03-30T15:01:02.000Z
src/targets/gpu/include/migraphx/gpu/cosh.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
1,006
2018-11-30T16:32:33.000Z
2022-03-31T22:43:39.000Z
src/targets/gpu/include/migraphx/gpu/cosh.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
36
2019-05-07T10:41:46.000Z
2022-03-28T15:59:56.000Z
#ifndef MIGRAPHX_GUARD_RTGLIB_COSH_HPP #define MIGRAPHX_GUARD_RTGLIB_COSH_HPP #include <migraphx/gpu/oper.hpp> #include <migraphx/gpu/device/cosh.hpp> namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { namespace gpu { struct hip_cosh : unary_device<hip_cosh, device::cosh> { }; } // namespace gpu } // namesp...
18.75
54
0.786667
aaronenyeshi
8f675f68cb0d16cf75141954b54dca873091193a
544
cpp
C++
codeforces/stuff/e.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codeforces/stuff/e.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codeforces/stuff/e.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; bool isConsonant(char ch){ switch(ch){ case 'a': case 'e': case 'i': case 'o': case 'u': case 'y': return 0; } return 1; } int main(int argc, char const *argv[]) { string str; cin>>str; std::transform(...
16.484848
64
0.573529
AadityaJ
8f70e95e1c2a57ec85a971e50f6dc10eae6bdf95
1,443
cpp
C++
core/src/SimpleIterant.cpp
athelaf/nextsimdg
557e45db6af2cc07d00b3228c2d46f87567fe755
[ "Apache-2.0" ]
null
null
null
core/src/SimpleIterant.cpp
athelaf/nextsimdg
557e45db6af2cc07d00b3228c2d46f87567fe755
[ "Apache-2.0" ]
null
null
null
core/src/SimpleIterant.cpp
athelaf/nextsimdg
557e45db6af2cc07d00b3228c2d46f87567fe755
[ "Apache-2.0" ]
null
null
null
/*! * @file SimpleIterant.cpp * @date 12 Aug 2021 * @author Tim Spain <timothy.spain@nersc.no> */ #include "include/SimpleIterant.hpp" #include <ctime> #include <iostream> #include <sstream> #include <string> namespace Nextsim { SimpleIterant::SimpleIterant() { // It's so simple, there's nothing here } voi...
23.655738
91
0.689536
athelaf
8f778c9945028639bc47070f6e42ea2f5e4f72fa
963
hpp
C++
AudioKit/Common/Nodes/Generators/Physical Models/Metal Bar/AKMetalBarDSP.hpp
colinhallett/AudioKit
10600731f5a0a3ea1cd980d4c3a991c57aa473de
[ "MIT" ]
null
null
null
AudioKit/Common/Nodes/Generators/Physical Models/Metal Bar/AKMetalBarDSP.hpp
colinhallett/AudioKit
10600731f5a0a3ea1cd980d4c3a991c57aa473de
[ "MIT" ]
null
null
null
AudioKit/Common/Nodes/Generators/Physical Models/Metal Bar/AKMetalBarDSP.hpp
colinhallett/AudioKit
10600731f5a0a3ea1cd980d4c3a991c57aa473de
[ "MIT" ]
null
null
null
// Copyright AudioKit. All Rights Reserved. Revision History at http://github.com/AudioKit/AudioKit/ #pragma once #import <AVFoundation/AVFoundation.h> typedef NS_ENUM(AUParameterAddress, AKMetalBarParameter) { AKMetalBarParameterLeftBoundaryCondition, AKMetalBarParameterRightBoundaryCondition, AKMetalBa...
22.395349
100
0.786085
colinhallett
8f7835cd6a89bec08a1a8a9cb20714bc61d84c1c
46
cpp
C++
Physics Engine/Physics/Generics/PhysicsCollider.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
2
2021-07-28T23:08:29.000Z
2021-09-14T19:32:36.000Z
Physics Engine/Physics/Generics/PhysicsCollider.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
null
null
null
Physics Engine/Physics/Generics/PhysicsCollider.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
null
null
null
#include "pc.h" #include "PhysicsCollider.h"
11.5
28
0.717391
FirowMD
8f819ec7d2ccc64dd46dde18259b106a063fe320
833
cpp
C++
src/utils/string_utils.cpp
scp-studios/scp-game-framework
17ffb68a50d834e490d387028f05add9f5391ea5
[ "MIT" ]
1
2022-01-31T22:20:01.000Z
2022-01-31T22:20:01.000Z
src/utils/string_utils.cpp
scp-studios/scp-game-framework
17ffb68a50d834e490d387028f05add9f5391ea5
[ "MIT" ]
null
null
null
src/utils/string_utils.cpp
scp-studios/scp-game-framework
17ffb68a50d834e490d387028f05add9f5391ea5
[ "MIT" ]
null
null
null
#include <sstream> #include <scp/utils/string_utils.hpp> namespace string_utils = scp::utils::string_utils; bool string_utils::startsWith(std::string_view p_a, std::string_view p_b) { if (p_a.size() < p_b.size()) { return false; } for (std::string_view::iterator aIt = p_a.begin(), bIt = ...
20.825
105
0.571429
scp-studios
8f865db48e779d551203f30bbc577b6f2d3cad43
21,964
cpp
C++
CO/tools/LT/LT.cpp
Snake52996/Spring2021-FoCS
c78662021d0017d25dccd9006e8eb0e80dfedfe7
[ "MIT" ]
null
null
null
CO/tools/LT/LT.cpp
Snake52996/Spring2021-FoCS
c78662021d0017d25dccd9006e8eb0e80dfedfe7
[ "MIT" ]
null
null
null
CO/tools/LT/LT.cpp
Snake52996/Spring2021-FoCS
c78662021d0017d25dccd9006e8eb0e80dfedfe7
[ "MIT" ]
null
null
null
#include "tinyxml2.h" #include<getopt.h> #include<cstdlib> #include<cstring> #include<thread> #include<cstdio> #include<filesystem> #include<mutex> #include<vector> #include<cstdio> #include<fstream> #include<string> #include<regex> #ifdef _WIN32 #define REDCOLOR "" #define GREENCOLOR "" #define YELLOWCOLOR "" #define ...
38
224
0.547259
Snake52996
8f8952eca6e0bad2496f4d58571c7f69624452be
1,706
cpp
C++
src/Engine/PieceTypes/ChuShogi/FreeBoar.cpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
4
2015-12-24T04:52:48.000Z
2021-11-09T11:31:36.000Z
src/Engine/PieceTypes/ChuShogi/FreeBoar.cpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
null
null
null
src/Engine/PieceTypes/ChuShogi/FreeBoar.cpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // Name: FreeBoar.cpp // Description: Implementation for a class that represents a free boar // Created: 08/31/2004 09:44:11 Eastern Daylight Time // Last Updated: $Date: 2004/09/18 22:23:06 $ // Revision: $Revision: 1.1 $ //...
32.807692
76
0.551583
jweathers777
8f93bdd147f9365152cbd18032726d0b1bd8e262
4,278
cc
C++
sigma_boron_dec_heinbach_simon.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
sigma_boron_dec_heinbach_simon.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
sigma_boron_dec_heinbach_simon.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
//**.****|****.****|****.****|****.****|****.****|****.****|****.****|****.****| // * sigma_boron_dec_heinbach_simon.cc * galprop package * 4/14/2000 //**"****!****"****!****"****!****"****!****"****!****"****!****"****!****"****| using namespace std;//AWS20050624 #include<iostream> double sigma_boron_dec_...
30.126761
121
0.492052
bjbuckman
8f94369d72cb462a6d8bb3b9ddb1e7226ad368d6
751
cpp
C++
pub/1381.cpp
BashuMiddleSchool/Bashu_OnlineJudge_Code
4707a271e6658158a1910b0e6e27c75f96841aca
[ "MIT" ]
2
2021-05-01T15:51:58.000Z
2021-05-02T15:19:49.000Z
pub/1381.cpp
BashuMiddleSchool/Bashu_OnlineJudge_Code
4707a271e6658158a1910b0e6e27c75f96841aca
[ "MIT" ]
1
2021-05-16T15:04:38.000Z
2021-09-19T09:49:00.000Z
pub/1381.cpp
BashuMiddleSchool/Bashu_OnlineJudge_Code
4707a271e6658158a1910b0e6e27c75f96841aca
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<cstdlib> using namespace std; const int N = 20; const int xx[2] = {0,-1} , yy[2] = {-1,0}; int f[N][N][N][N],a[N][N]; int x,y,z,nx1,nx2,ny1,ny2,n; int main() { cin >> n; cin >> x >> y >> z; while(x) { a[x][y]=z; cin >> x >> y >> z; } for(int x1=1;x1<=n;++x1) { ...
19.763158
68
0.475366
BashuMiddleSchool
8f9a5b10c438d9cd441f23f290b85c55b8400313
279
hpp
C++
exercises/5/ex03/task2/array.hpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
exercises/5/ex03/task2/array.hpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
exercises/5/ex03/task2/array.hpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#ifndef __ARRAY_HPP__ #define __ARRAY_HPP__ #include "company.hpp" class Array { private: Company * data; int count; int reservedCount; public: Array(); ~Array(); void push(Company &); Company & get(int); int size(); }; #endif
12.681818
26
0.584229
triffon
8f9d703a052a256a7b68ec73544c8fd39cd478bd
1,271
hpp
C++
src/ruby/embedded.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/ruby/embedded.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/ruby/embedded.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
// // Copyright Copyright 2009-2022, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
25.938776
92
0.685287
bburns
8fa3766c495311603d527055d8217e0e3bf77f30
4,116
cpp
C++
src/com/cyosp/mpa/api/rest/v1/Login.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/api/rest/v1/Login.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/api/rest/v1/Login.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
/* * Login.cpp * * Created on: 2017-01-04 * Author: CYOSP */ #include <com/cyosp/mpa/api/rest/v1/Login.hpp> namespace mpa_api_rest_v1 { string Login::URL_STRING_PATH_IDENTIFIER = "login"; Login::Login(HttpRequestType httpRequestType, ActionType actionType, const map<string, string>& argvals, ...
27.624161
108
0.505102
cyosp
8fa533e74a2f079c4c9f13991605741186f68aa5
322
cpp
C++
Example/ref_01/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/ref_01/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/ref_01/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
#include <boost/ref.hpp> #include <vector> #include <algorithm> #include <functional> #include <iostream> void print(std::ostream &os, int i) { os << i << std::endl; } int main() { std::vector<int> v{1, 3, 2}; std::for_each(v.begin(), v.end(), std::bind(print, boost::ref(std::cout), std::placeholders::_1));...
18.941176
68
0.627329
KwangjoJeong
8face490cdf582bd237ec19c65a9c6f8727c0f79
122
cpp
C++
C++Now 2017/Mocking Examples/assembly/test.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
2
2017-05-18T19:48:51.000Z
2017-11-10T16:11:43.000Z
C++Now 2017/Mocking Examples/assembly/test.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
null
null
null
C++Now 2017/Mocking Examples/assembly/test.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
null
null
null
#include "x.h" int main() { X x; X* y = new X(); X* z = new X(); x.func(); y->func(); delete y; z->~X(); }
10.166667
17
0.401639
dascandy
8faf8ec9dee5eff66a8819319507f025ee52ede1
2,626
cpp
C++
MainWindow.cpp
MarkVTech/CircularGauge
58c002ad992693b0d924b49675cc9076d011775a
[ "MIT" ]
1
2021-03-13T11:59:35.000Z
2021-03-13T11:59:35.000Z
MainWindow.cpp
MarkVTech/CircularGauge
58c002ad992693b0d924b49675cc9076d011775a
[ "MIT" ]
null
null
null
MainWindow.cpp
MarkVTech/CircularGauge
58c002ad992693b0d924b49675cc9076d011775a
[ "MIT" ]
3
2019-09-29T09:22:29.000Z
2021-04-23T08:00:23.000Z
#include <functional> #include <QGraphicsScene> #include <QGraphicsEllipseItem> #include <QDebug> #include <QSlider> #include <QColorDialog> #include "MainWindow.h" #include "ui_MainWindow.h" #include "RoundGaugeGraphicsObject.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ...
32.02439
88
0.659177
MarkVTech
8fb826fc91c26c9daaaa66f40203f9dd92a931e9
2,548
cpp
C++
TermPaper/ContactListener.cpp
VasiliyMatutin/2DPlatformer
70211cdb10b2746aefed3890723b23aef5de0099
[ "MIT" ]
null
null
null
TermPaper/ContactListener.cpp
VasiliyMatutin/2DPlatformer
70211cdb10b2746aefed3890723b23aef5de0099
[ "MIT" ]
null
null
null
TermPaper/ContactListener.cpp
VasiliyMatutin/2DPlatformer
70211cdb10b2746aefed3890723b23aef5de0099
[ "MIT" ]
null
null
null
#include "ContactListener.h" void MyContactListener::BeginContact(b2Contact * contact) { void* bodyUserData = contact->GetFixtureA()->GetBody()->GetUserData(); if (bodyUserData != nullptr && !contact->GetFixtureB()->GetBody()->GetFixtureList()->IsSensor()) { if (contact->GetFixtureA()->GetBody()->GetType() == b2B...
36.927536
174
0.69898
VasiliyMatutin
8fb96913f1707951eaf460d61dc41d26ba1cc26a
1,208
cpp
C++
src/prod/src/data/txnreplicator/statemanager/TestOperationContext.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/data/txnreplicator/statemanager/TestOperationContext.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/data/txnreplicator/statemanager/TestOperationContext.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include ...
27.454545
122
0.697848
vishnuk007
2631197118b7a5cfbc5c9f6573b3038b72414bce
556
cc
C++
example/index_manager.cc
chao-he/tictac
13b4b0289e8ac8e1d1764f99152ad0327ffa93d4
[ "Apache-2.0" ]
null
null
null
example/index_manager.cc
chao-he/tictac
13b4b0289e8ac8e1d1764f99152ad0327ffa93d4
[ "Apache-2.0" ]
null
null
null
example/index_manager.cc
chao-he/tictac
13b4b0289e8ac8e1d1764f99152ad0327ffa93d4
[ "Apache-2.0" ]
null
null
null
#include "index_manager.h" IndexManager::IndexManager() : doc_index_(NULL) , loc_index_(NULL) , ip_index_(NULL) { } IndexManager::~IndexManager() { if (doc_index_) { delete doc_index_; doc_index_ = NULL; } if (loc_index_) { delete loc_index_; loc_index_ = NULL; } if (ip_index_) { ...
19.172414
52
0.643885
chao-he
26321acde4283b2926a279110594efebf011397c
580
hpp
C++
src/Base/NonCopyable.hpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
2
2019-06-10T06:51:27.000Z
2021-11-20T19:57:46.000Z
src/Base/NonCopyable.hpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
1
2019-07-12T03:05:02.000Z
2019-08-12T12:01:06.000Z
src/Base/NonCopyable.hpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
null
null
null
/*! * \file NonCopyable.hpp * * \author ZhengYuanQing * \date 2019/01/23 * \email zhengyuanqing.95@gmail.com * */ #ifndef __NONCOPYABLE_HPP__51063BED_9A8D_4E17_8341_3300C518CD58 #define __NONCOPYABLE_HPP__51063BED_9A8D_4E17_8341_3300C518CD58 #include "Type.h" BEG_XE_NAMESPACE class XE_API NonCopyable { p...
19.333333
65
0.772414
xenginez
2636519bc7b4e0cce86f90e86b996eb545f2b515
19,608
cpp
C++
src/Engine/collision/Collision.cpp
FraMecca/Coccode
e302c400e0bff40859c65ccefac923133c770861
[ "BSD-3-Clause" ]
null
null
null
src/Engine/collision/Collision.cpp
FraMecca/Coccode
e302c400e0bff40859c65ccefac923133c770861
[ "BSD-3-Clause" ]
null
null
null
src/Engine/collision/Collision.cpp
FraMecca/Coccode
e302c400e0bff40859c65ccefac923133c770861
[ "BSD-3-Clause" ]
null
null
null
/* * ====================== Collision.cpp ========================== * -- tpr -- * CREATE -- 2019.09.01 * MODIFY -- * ---------------------------------------------------------- */ #include "Collision.h" #includ...
34.951872
198
0.566299
FraMecca
26365f95e99fc39b752de73207af1a03b4840a40
647
cpp
C++
C++/decoded-string-at-index.cpp
black-shadows/LeetCode-Solutions
b1692583f7b710943ffb19b392b8bf64845b5d7a
[ "Fair", "Unlicense" ]
1
2020-04-16T08:38:14.000Z
2020-04-16T08:38:14.000Z
decoded-string-at-index.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
null
null
null
decoded-string-at-index.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
1
2021-12-25T14:48:56.000Z
2021-12-25T14:48:56.000Z
// Time: O(n) // Space: O(1) class Solution { public: string decodeAtIndex(string S, int K) { uint64_t n = 0; for (int i = 0; i < S.length(); ++i) { if (isdigit(S[i])) { n *= S[i] - '0'; } else { ++n; } } ...
21.566667
52
0.272025
black-shadows
263a8c420ba144ebde4c7b7b426b8e8555533d37
324
cc
C++
src/fe-readdfs.cc
salfter/fluxengine
331b59cd1e79a0dedbbe75989d3544b19215ee60
[ "MIT" ]
1
2021-04-05T17:40:50.000Z
2021-04-05T17:40:50.000Z
src/fe-readdfs.cc
salfter/fluxengine
331b59cd1e79a0dedbbe75989d3544b19215ee60
[ "MIT" ]
null
null
null
src/fe-readdfs.cc
salfter/fluxengine
331b59cd1e79a0dedbbe75989d3544b19215ee60
[ "MIT" ]
1
2021-04-06T17:04:28.000Z
2021-04-06T17:04:28.000Z
#include "globals.h" #include "reader.h" #include "fmt/format.h" #include "readibm.h" int mainReadDFS(int argc, const char* argv[]) { setReaderDefaultSource(":t=0-79:s=0"); setReaderDefaultOutput("dfs.img"); sectorIdBase.setDefaultValue(0); setReaderRevolutions(2); return mainReadIBM(argc, argv); }...
21.6
46
0.694444
salfter
263e6d066e3d160af9300ab8711e84ea1e16eee1
1,816
cc
C++
src/hip/plugin-SiPixelClusterizer/SiPixelFedCablingMapGPUWrapperESProducer.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
9
2021-03-02T08:40:18.000Z
2022-01-24T14:31:40.000Z
src/hip/plugin-SiPixelClusterizer/SiPixelFedCablingMapGPUWrapperESProducer.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
158
2020-03-22T19:46:40.000Z
2022-03-24T09:51:35.000Z
src/hip/plugin-SiPixelClusterizer/SiPixelFedCablingMapGPUWrapperESProducer.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
26
2020-03-20T15:18:41.000Z
2022-03-14T16:58:07.000Z
#include "CondFormats/SiPixelFedIds.h" #include "CondFormats/SiPixelFedCablingMapGPU.h" #include "CondFormats/SiPixelFedCablingMapGPUWrapper.h" #include "Framework/ESProducer.h" #include "Framework/EventSetup.h" #include "Framework/ESPluginFactory.h" #include <fstream> #include <memory> class SiPixelFedCablingMapGPUW...
41.272727
109
0.756608
alexstrel
264021bf80b5c6e9b01e828c25956bfd7ee598f4
2,006
cpp
C++
edu/07/1d.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
edu/07/1d.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
edu/07/1d.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <utility> #include <vector> template <typename T> std::istream& operator >>(std::istream& input, std::vector<T>& v) { for (T& a : v) input >> a; return input; } struct Query { std::string t; unsigned u; unsigned v; }; std::istream& operator >>(std::istream& i...
18.072072
65
0.537388
actium
26445ad8594114641d20a32a4757db247f73cb44
5,864
hpp
C++
include/snet/event_manager.hpp
Voev/snet
f22356ffc0a81df9be51da6e82d52cb4339e776c
[ "Unlicense" ]
null
null
null
include/snet/event_manager.hpp
Voev/snet
f22356ffc0a81df9be51da6e82d52cb4339e776c
[ "Unlicense" ]
null
null
null
include/snet/event_manager.hpp
Voev/snet
f22356ffc0a81df9be51da6e82d52cb4339e776c
[ "Unlicense" ]
null
null
null
#pragma once #include <array> #include <map> #include <memory> #include <cstdint> #include <cstring> #include <iostream> #include <openssl/bio.h> #include <errno.h> #include <snet/address.hpp> #include <snet/event_poll.hpp> #include <snet/event_data.hpp> class EventManager { public: static constexpr int kMaxEven...
28.8867
77
0.404502
Voev
2648b1be19df1c822459dede9d7f78a420c4f062
3,274
cpp
C++
Assembly Workbench/File.cpp
DebugBSD/Assembly-Workbench
c41172eab063ccec64016908688f3a33a43f2e26
[ "BSD-3-Clause" ]
5
2020-05-25T15:33:39.000Z
2021-07-07T08:47:45.000Z
Assembly Workbench/File.cpp
DebugBSD/Assembly-Workbench
c41172eab063ccec64016908688f3a33a43f2e26
[ "BSD-3-Clause" ]
null
null
null
Assembly Workbench/File.cpp
DebugBSD/Assembly-Workbench
c41172eab063ccec64016908688f3a33a43f2e26
[ "BSD-3-Clause" ]
2
2020-05-30T11:07:10.000Z
2022-01-11T16:55:43.000Z
/* * BSD 3-Clause License * * Copyright (c) 2020, DebugBSD * 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,...
31.180952
164
0.697312
DebugBSD
264afac3cd86a082fb4a1f6d0fba4db0b9406050
3,358
cpp
C++
src/eepp/gaming/cobjectlayer.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
src/eepp/gaming/cobjectlayer.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
src/eepp/gaming/cobjectlayer.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
#include <eepp/gaming/cobjectlayer.hpp> #include <eepp/gaming/cgameobjectobject.hpp> #include <eepp/gaming/cgameobjectpolygon.hpp> #include <eepp/gaming/cmap.hpp> #include <eepp/graphics/ctexture.hpp> #include <eepp/graphics/cglobalbatchrenderer.hpp> #include <eepp/graphics/renderer/cgl.hpp> using namespace EE::Graphi...
23.647887
129
0.650685
dogtwelve
264c7f49a09d73606d7df1d8c72acf0fa50f23aa
848
cpp
C++
UVA/108.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
UVA/108.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
UVA/108.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
/** * author: MaGnsi0 * created: 20/09/2021 14:50:02 **/ #include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); int n; cin >> n; vector<vector<int>> v(n, vector<int>(n)); for (int i = 0; i < n; ++i) { for (int j = 0; j <...
23.555556
61
0.352594
MaGnsio
264ff885e0591a77fb7ad314d263434d5bf09d1d
21,711
cpp
C++
src/XWindow.cpp
bullno1/xveearr
4690cde72b7ec747d944daa919c3275744d75e25
[ "BSD-2-Clause" ]
null
null
null
src/XWindow.cpp
bullno1/xveearr
4690cde72b7ec747d944daa919c3275744d75e25
[ "BSD-2-Clause" ]
null
null
null
src/XWindow.cpp
bullno1/xveearr
4690cde72b7ec747d944daa919c3275744d75e25
[ "BSD-2-Clause" ]
null
null
null
#include <bx/platform.h> #if BX_PLATFORM_LINUX == 1 #include "IWindowSystem.hpp" #include <unordered_map> #include <vector> #include <SDL_syswm.h> #include <SDL.h> #include <bx/spscqueue.h> #include <bx/macros.h> #include <bgfx/bgfxplatform.h> #include <bgfx/bgfx.h> #include <X11/Xlib-xcb.h> #include <xcb/xcbext.h> #...
24.559955
82
0.716964
bullno1
265389db82a7536e87253fdabb78243940c21647
344
cpp
C++
src/parser/ConstantExpression.cpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
src/parser/ConstantExpression.cpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
src/parser/ConstantExpression.cpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
#include "AllSymbol.hpp" ConstantExpression::ConstantExpression(unsigned line, char *lex) : Symbol(CONSTANT_EXPRESSION_SYMBOL, line, lex) { } ConstantExpression::~ConstantExpression() { } std::ostream& operator<<(std::ostream& os, ConstantExpression *ce) { // Constant Expression is similar to a literal os << ce->...
21.5
66
0.738372
rlucca
26539ee7de791a413be70e85eea37286f88159ec
1,519
cc
C++
hackt_docker/hackt/src/Object/def/footprint_value_base.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/def/footprint_value_base.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/def/footprint_value_base.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "Object/inst/footprint_value_base.cc" Explicit template instantiations of footprint_bases that manage value-collections. $Id: footprint_value_base.cc,v 1.4 2010/09/21 00:18:11 fang Exp $ */ #define ENABLE_STACKTRACE 0 #define STACKTRACE_PERSISTENTS (0 && ENABLE_STACKTRACE) #include "Object/def/fo...
34.522727
73
0.813693
broken-wheel
26545e39528d599b4d90a0317ecaf2655e29ca4a
4,647
cpp
C++
src/MainApplication.cpp
Dibido/Robotwereld
3101e8452dc15dddb1b8271e5188e572da7b0f38
[ "BSD-2-Clause" ]
null
null
null
src/MainApplication.cpp
Dibido/Robotwereld
3101e8452dc15dddb1b8271e5188e572da7b0f38
[ "BSD-2-Clause" ]
null
null
null
src/MainApplication.cpp
Dibido/Robotwereld
3101e8452dc15dddb1b8271e5188e572da7b0f38
[ "BSD-2-Clause" ]
null
null
null
#include "MainApplication.hpp" #include <stdexcept> #include <algorithm> #include <cstring> #include "MainFrameWindow.hpp" #include "ObjectId.hpp" namespace Application { /* static */std::vector<CommandlineArgument> MainApplication::commandlineArguments; /* static */std::vector<std::string> MainApplication::...
28.163636
101
0.684097
Dibido
26547720cee619a9e86547f02ec6a06a91c2fb6e
706
hh
C++
src/kinem/EDepSimUniformPositionGenerator.hh
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
15
2017-04-25T14:20:22.000Z
2022-03-15T19:39:43.000Z
src/kinem/EDepSimUniformPositionGenerator.hh
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
24
2017-11-08T21:16:48.000Z
2022-03-04T13:33:18.000Z
src/kinem/EDepSimUniformPositionGenerator.hh
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
20
2017-11-09T15:41:46.000Z
2022-01-25T20:52:32.000Z
#ifndef EDepSim_UniformPositionGenerator_hh_seen #define EDepSim_UniformPositionGenerator_hh_seen #include "kinem/EDepSimVConstrainedPositionGenerator.hh" /// Select a position and time to be used as the vertex of a primary particle. namespace EDepSim {class UniformPositionGenerator;} class EDepSim::UniformPositionGe...
33.619048
89
0.787535
andrewmogan
26602bf1c7711de48102a14578e312e9e3dd856d
823
cpp
C++
competitive_programming/programming_contests/interfatecs/1_2018/c.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/interfatecs/1_2018/c.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/interfatecs/1_2018/c.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
#include <iostream> #include <bitset> #include <complex> #include <cstdlib> #include <string> #include <vector> #include <sstream> #include <queue> #include <stack> #include <deque> #include <set> #include <map> #include <algorithm> #include <functional> #include <utility> using namespace std; #ifde...
16.137255
75
0.55407
LeandroTk
26676fe733156a97ec6d61310d9195c90f16d963
2,140
cpp
C++
src/smack_properties.cpp
michab66/dev_smack_cpp
37d57b8ccf35e8bbcc98c12eeaf2aeb7b82fa6c6
[ "MIT" ]
2
2021-07-19T16:13:46.000Z
2021-11-25T13:39:46.000Z
src/smack_properties.cpp
michab66/dev_smack_cpp
37d57b8ccf35e8bbcc98c12eeaf2aeb7b82fa6c6
[ "MIT" ]
34
2021-06-27T08:54:35.000Z
2022-02-16T09:13:56.000Z
src/smack_properties.cpp
michab66/dev_smack_cpp
37d57b8ccf35e8bbcc98c12eeaf2aeb7b82fa6c6
[ "MIT" ]
null
null
null
/* Smack C++ @ https://github.com/smacklib/dev_smack_cpp * * Property reading. * * Copyright © 2021 Michael Binz */ #include "smack_properties.hpp" #include "smack_util.hpp" #include <fstream> namespace { template<typename T, typename U> bool nextLine(T& stream, U& result) { size_t count = 0; std::stri...
24.318182
85
0.55514
michab66
266ad421451d42ee9641dfb3e841158c7ac43b11
1,065
cpp
C++
Competitive Programing/CodeChef/AggressiveCows.cpp
Ritvikjain/DataStructures-And-Algorithms
27f2d48343aeb91c67376ae2fee429ca92dbd353
[ "MIT" ]
null
null
null
Competitive Programing/CodeChef/AggressiveCows.cpp
Ritvikjain/DataStructures-And-Algorithms
27f2d48343aeb91c67376ae2fee429ca92dbd353
[ "MIT" ]
null
null
null
Competitive Programing/CodeChef/AggressiveCows.cpp
Ritvikjain/DataStructures-And-Algorithms
27f2d48343aeb91c67376ae2fee429ca92dbd353
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include<algorithm> using namespace std; int main() { // Write your code here int t; cin>>t; while(t--) { int n,cows; cin>>n>>cows; long long pos[n]; for(int i=0;i<n;i++) { cin>>pos[i]; } sort(pos,pos+n); ...
21.734694
48
0.333333
Ritvikjain
266ca6aea25f6574a038f02e0008048ab2ed9b4a
12,651
hpp
C++
src/menu/Menu.hpp
zhec9/nemo
b719b89933ce722a14355e7ed825a76dea680501
[ "MIT" ]
null
null
null
src/menu/Menu.hpp
zhec9/nemo
b719b89933ce722a14355e7ed825a76dea680501
[ "MIT" ]
null
null
null
src/menu/Menu.hpp
zhec9/nemo
b719b89933ce722a14355e7ed825a76dea680501
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <utility> #include <optional> #include <SFML/Graphics.hpp> #include "utility/type/Color.hpp" #include "utility/type/XY.hpp" #include "utility/type/RowColumn.hpp" #include "utility/adaptor/RC1DConverter.hpp" #include "utility/wrapper/sfVector2.hpp" namespace n...
30.631961
81
0.622797
zhec9
267283014342ece891ded836c221145ad5521ac5
5,149
cpp
C++
Compiler/src/Type.cpp
Vyraax/BirdLang
d7cd193531965e35e55fa26b2d3d27ec642d81a5
[ "MIT" ]
3
2020-06-21T15:21:34.000Z
2020-09-02T07:56:48.000Z
Compiler/src/Type.cpp
Vyraax/BirdLang
d7cd193531965e35e55fa26b2d3d27ec642d81a5
[ "MIT" ]
7
2020-06-28T12:56:16.000Z
2020-07-15T11:17:53.000Z
Compiler/src/Type.cpp
Vyraax/BirdLang
d7cd193531965e35e55fa26b2d3d27ec642d81a5
[ "MIT" ]
null
null
null
#include "pch.h" #include "Type.h" #include "Number.h" #include "Function.h" #include "Str.h" #include "Array.h" #include "File.h" #include "Object.h" #include "Interpreter.h" #include "Map.h" bool Type::Null = false; bool Type::False = false; bool Type::True = true; Type::Type( const DynamicType& value, std::shar...
25.745
79
0.62517
Vyraax
2673f6de9bea606b232d2d97e8b600b87b19200f
8,233
cpp
C++
svg_loader/manualBlit.cpp
sl1pkn07/onslaught-vn
b9eadbfc66e363a872a98d5455c7b9567de3e2b0
[ "BSD-3-Clause" ]
1
2021-06-10T08:26:59.000Z
2021-06-10T08:26:59.000Z
svg_loader/manualBlit.cpp
sl1pkn07/onslaught-vn
b9eadbfc66e363a872a98d5455c7b9567de3e2b0
[ "BSD-3-Clause" ]
null
null
null
svg_loader/manualBlit.cpp
sl1pkn07/onslaught-vn
b9eadbfc66e363a872a98d5455c7b9567de3e2b0
[ "BSD-3-Clause" ]
1
2021-06-10T08:27:01.000Z
2021-06-10T08:27:01.000Z
/* * Copyright (c) 2008-2010, Helios (helios.vmg@gmail.com) * 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 retain the above copyright notice, * ...
30.380074
126
0.68104
sl1pkn07
2674fb0e1cc59248d0077f4769abac87262657fb
796
cpp
C++
patbasic/test1053.cpp
neild47/PATBasic
6215232750aa62cf406eb2a9f9c9a6d7c3850339
[ "MIT" ]
null
null
null
patbasic/test1053.cpp
neild47/PATBasic
6215232750aa62cf406eb2a9f9c9a6d7c3850339
[ "MIT" ]
null
null
null
patbasic/test1053.cpp
neild47/PATBasic
6215232750aa62cf406eb2a9f9c9a6d7c3850339
[ "MIT" ]
null
null
null
// // Created by neild47 on 18-4-29. // #include <iostream> using namespace std; int test1053() { int maybeNum = 0, mustNum = 0; int numPeople, D; double threshold; cin >> numPeople >> threshold >> D; for (int i = 0; i < numPeople; i++) { int day; cin >> day; int numLowerT...
22.111111
89
0.444724
neild47