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
39581f79ffd06d3884986499272966c3b6aeeaad
557
hpp
C++
IntroMode.hpp
xuxiaoqiao/game-marios
7c8ade7c5dbba862ecd3d2b6c6041e46ae1b2174
[ "CC-BY-4.0" ]
null
null
null
IntroMode.hpp
xuxiaoqiao/game-marios
7c8ade7c5dbba862ecd3d2b6c6041e46ae1b2174
[ "CC-BY-4.0" ]
null
null
null
IntroMode.hpp
xuxiaoqiao/game-marios
7c8ade7c5dbba862ecd3d2b6c6041e46ae1b2174
[ "CC-BY-4.0" ]
null
null
null
#include "Mode.hpp" #include "SDL.h" #include "glm/glm.hpp" #include "View.hpp" struct IntroMode : Mode { IntroMode(); virtual ~IntroMode() = default; //functions called by main loop: virtual bool handle_event(SDL_Event const &, glm::uvec2 const &window_size) override; virtual void update(float elapsed) override...
25.318182
86
0.712747
xuxiaoqiao
395cf707c8318b73d1ef5c777b672468776d5c71
753
cpp
C++
TimerMain.cpp
TerrahKitsune/Lua-Kitsune
3107b6de2d1c8a888338d90739c953a126d9e4c0
[ "Apache-2.0" ]
null
null
null
TimerMain.cpp
TerrahKitsune/Lua-Kitsune
3107b6de2d1c8a888338d90739c953a126d9e4c0
[ "Apache-2.0" ]
null
null
null
TimerMain.cpp
TerrahKitsune/Lua-Kitsune
3107b6de2d1c8a888338d90739c953a126d9e4c0
[ "Apache-2.0" ]
null
null
null
#include "TimerMain.h" #include "Timer.h" static const struct luaL_Reg timerfunctions[] = { { "New", TimerNew }, { "IsRunning", TimerIsRunning }, { "Reset", TimerReset }, { "Start", TimerStart }, { "Stop", TimerStop }, { "Elapsed", TimerGetElapsed }, { NULL, NULL } }; static const luaL_Reg timermeta[] = { { "...
20.351351
49
0.665339
TerrahKitsune
395dbd5fa36621e2b16a9dddc1fbae651fde17f7
920
cc
C++
test/event/MultipleEventTest.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
7
2019-05-09T15:38:55.000Z
2021-12-07T03:13:29.000Z
test/event/MultipleEventTest.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
1
2019-06-20T03:01:18.000Z
2019-06-20T03:01:18.000Z
test/event/MultipleEventTest.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
null
null
null
#include "event/MultipleEvent.h" #include "core/PathosInstance.h" #include "event/mocks/MockEvent.h" #include <gtest/gtest.h> using namespace Pathos; TEST(MultipleEventTest, BeginNoEventsNoExceptionThrown) { MultipleEvent event; PathosInstance inst; event.begin(&inst); } TEST(MultipleEventTest, BeginMultipleE...
27.058824
64
0.719565
kallentu
39610ee148235701feed35208cc2609e2331a499
2,021
cpp
C++
framework/src/mosaic/mdatagenerator.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
framework/src/mosaic/mdatagenerator.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
framework/src/mosaic/mdatagenerator.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
/* * Copyright (C) 2014 * * 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 version 2 * of the License, or (at your option) any later version. * * This program is distributed in the...
25.910256
76
0.64473
AudreyFrancisco
39633707a2246b798c576e89dae15d388dd5493a
39
hpp
C++
src/boost_logic_tribool_fwd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_logic_tribool_fwd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_logic_tribool_fwd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/logic/tribool_fwd.hpp>
19.5
38
0.794872
miathedev
39633cfaab5aa705adc47dc50cec0b1f5347a119
1,976
cpp
C++
Sound/Sound.cpp
bigbn/libeXaDrums
4c89a9f4464ef00533610851c482abec489959e7
[ "BSD-3-Clause" ]
10
2017-06-18T19:59:44.000Z
2020-12-09T15:38:07.000Z
Sound/Sound.cpp
bigbn/libeXaDrums
4c89a9f4464ef00533610851c482abec489959e7
[ "BSD-3-Clause" ]
4
2019-11-25T22:49:01.000Z
2022-01-08T16:53:39.000Z
Sound/Sound.cpp
bigbn/libeXaDrums
4c89a9f4464ef00533610851c482abec489959e7
[ "BSD-3-Clause" ]
5
2019-06-16T16:09:46.000Z
2021-09-23T22:03:41.000Z
/* * SoundSample.cpp * * Created on: 27 Feb 2016 * Author: jeremy */ #include "Sound.h" #include <chrono> using namespace std::chrono; namespace Sound { Sound::Sound() : Sound(std::vector<short>{}) { return; } Sound::Sound(Sound& s) : Sound() { swap(*this, s); return; } Sound::Sound(So...
14.215827
143
0.63917
bigbn
3967906a8d5a825029ee3529ce7248f19f063860
294
cpp
C++
src/base/io_context/IoContext.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
src/base/io_context/IoContext.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
src/base/io_context/IoContext.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
#include "BasePCH.h" #include <sne/base/io_context/IoContext.h> #include "AsioTimer.h" namespace sne { namespace base { std::unique_ptr<Timer> IoContext::createTimer(TimerCallback& callback) { return std::make_unique<AsioTimer>(*this, callback); } }} // namespace sne { namespace base {
22.615385
70
0.734694
mark-online
396b32375283fd4ba8e18caa3f96ca7cd5efcdd5
924
cpp
C++
08Basic object-oriented programming/classmember.cpp
CedarChennn/myC
b4de17f332788e3e578d304f2a690d2c9a07c004
[ "Apache-2.0" ]
2
2021-01-13T08:55:41.000Z
2021-04-23T15:14:05.000Z
08Basic object-oriented programming/classmember.cpp
CedarChennn/myC
b4de17f332788e3e578d304f2a690d2c9a07c004
[ "Apache-2.0" ]
null
null
null
08Basic object-oriented programming/classmember.cpp
CedarChennn/myC
b4de17f332788e3e578d304f2a690d2c9a07c004
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> class Calculator { public: using number_t = int; std::vector<number_t> m_resultHistory{}; number_t add(number_t a, number_t b) { m_resultHistory.push_back(a + b); return a + b; } }; class IntPair { public: int m_var1{}; int m_var2{}; ...
16.210526
63
0.548701
CedarChennn
396e721d8cb676f00fa003003cd28edf27b3a291
2,980
inl
C++
ecs/inc/inline/chunk.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
1
2019-10-31T19:18:45.000Z
2019-10-31T19:18:45.000Z
ecs/inc/inline/chunk.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
null
null
null
ecs/inc/inline/chunk.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // Copyright (c) 2020 Riley Diederich // License (MIT): https://github.com/RyeToastyO/Ecs/blob/master/LICENSE // ---------------------------------------------------------------------------- #include <algorithm> #include <cassert> namespac...
26.846847
108
0.646309
RyeToastyO
396f419692dfb8667ad50f36dfc290223c8f8311
62
hpp
C++
src/boost_test_utils_basic_cstring_bcs_char_traits.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_test_utils_basic_cstring_bcs_char_traits.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_test_utils_basic_cstring_bcs_char_traits.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/test/utils/basic_cstring/bcs_char_traits.hpp>
31
61
0.83871
miathedev
396f537720d449f2164066c661d8311852232293
3,051
cpp
C++
practicas/clase_05/coincidencia_palabras.cpp
JackMerma/Adagrupob
240b4155a68cf0672299d93f8dc0b61abba2e5e4
[ "BSD-3-Clause" ]
null
null
null
practicas/clase_05/coincidencia_palabras.cpp
JackMerma/Adagrupob
240b4155a68cf0672299d93f8dc0b61abba2e5e4
[ "BSD-3-Clause" ]
null
null
null
practicas/clase_05/coincidencia_palabras.cpp
JackMerma/Adagrupob
240b4155a68cf0672299d93f8dc0b61abba2e5e4
[ "BSD-3-Clause" ]
null
null
null
/** * @author : Jackson Fernando Merma Portocarrero (jmermap@unsa.edu.pe) * @created : 29/10/2021 * @filename : coincidencia_palabras * @description : Algoritmo para encontrar la cadena A en la B */ #include <bits/stdc++.h> using namespace std; #define ll long long #define endl "\n" /* * Complejidad --...
28.783019
104
0.511963
JackMerma
3979b1a8845e4f6cf02cfd7c61524aebabb67693
699
cpp
C++
src/link/prismatic.cpp
code-forger/PyPal
f880f2bc9a4aa01e1c9aa2cfc956202e91ab1a69
[ "BSD-2-Clause" ]
null
null
null
src/link/prismatic.cpp
code-forger/PyPal
f880f2bc9a4aa01e1c9aa2cfc956202e91ab1a69
[ "BSD-2-Clause" ]
null
null
null
src/link/prismatic.cpp
code-forger/PyPal
f880f2bc9a4aa01e1c9aa2cfc956202e91ab1a69
[ "BSD-2-Clause" ]
null
null
null
#include "../globals.h" extern "C" { palPrismaticLink * link_prismatic_create(palBody *parent,palBody *child,Float x,Float y, Float z, Float axis_x,Float axis_y, Float axis_z, bool collide) { palPrismaticLink *ppl= PF->CreatePrismaticLink(); ppl->Init(paren...
31.772727
133
0.639485
code-forger
397f461307ad61a3e580a45a756f43ba11ca606f
2,687
hpp
C++
src/transition_matrix.hpp
moldyn/MSMPathfinder
7eee889415427a550312d3fd1bd7238fe542a6e3
[ "MIT" ]
3
2020-12-10T13:22:20.000Z
2021-04-23T12:05:07.000Z
src/transition_matrix.hpp
biocheming/MSMPathfinder
7eee889415427a550312d3fd1bd7238fe542a6e3
[ "MIT" ]
null
null
null
src/transition_matrix.hpp
biocheming/MSMPathfinder
7eee889415427a550312d3fd1bd7238fe542a6e3
[ "MIT" ]
1
2021-07-13T10:39:50.000Z
2021-07-13T10:39:50.000Z
#ifndef TRANSITION_MATRIX_H #define TRANSITION_MATRIX_H #include <string> #include <vector> #include <map> #include "main.hpp" /* When declaring a class use the following order types: classes, enums, and aliases (using) constructors, assignments, destructor functions data Use the public before prot...
33.17284
128
0.587644
moldyn
302ab219cac2bce7ffd34e8ba3c0a48de96df1b1
4,398
hpp
C++
packages/monte_carlo/estimator/native/src/MonteCarlo_GeneralEstimatorDimensionDiscretization.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_GeneralEstimatorDimensionDiscretization.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_GeneralEstimatorDimensionDiscretization.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_GeneralEstimatorDimensionDiscretization.hpp //! \author Alex Robinson //! \brief General estimator dimension discretization class declaration //! //----------------------------------------------------------------...
32.338235
115
0.672351
lkersting
302ad763d969ce9468be5a65ab8f265e1bfb5157
604
cpp
C++
haybales/haybales.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
1
2020-12-15T20:25:21.000Z
2020-12-15T20:25:21.000Z
haybales/haybales.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
null
null
null
haybales/haybales.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<long long> h; int main() { //freopen("haybales.in", "r", stdin); //freopen("haybales.out", "w", stdout); int n, q; cin >> n >> q; for (int i = 0; i < n; i++) { int in; cin >> in; h.push_back(in); } sort(h.begin(...
23.230769
68
0.443709
chenhongqiao
302b672c236052e08703e3432d786e63965cd4d9
31,221
cpp
C++
experimental/kdtree_cpu.cpp
HIPERT-SRL/libnabo
b3864c8ecab86932e27bd4d463977bfa4e3dc584
[ "BSD-3-Clause" ]
null
null
null
experimental/kdtree_cpu.cpp
HIPERT-SRL/libnabo
b3864c8ecab86932e27bd4d463977bfa4e3dc584
[ "BSD-3-Clause" ]
null
null
null
experimental/kdtree_cpu.cpp
HIPERT-SRL/libnabo
b3864c8ecab86932e27bd4d463977bfa4e3dc584
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010--2011, Stephane Magnenat, ASL, ETHZ, Switzerland You can contact the author at <stephane at magnenat dot net> 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...
33.862256
241
0.695365
HIPERT-SRL
302dfa4bc6baba937b4beb6d5a89c11940dd1cc3
1,174
cpp
C++
CSES/Graph Algorithms/Message Route.cpp
s166harth/CC
b6c0fe58f03633fe2787a567a16909f1b2966e7b
[ "MIT" ]
406
2020-05-28T13:35:08.000Z
2022-03-31T17:23:26.000Z
CSES/Graph Algorithms/Message Route.cpp
shakeeb-droids/CC
2f49fcb52d748804aee9fc7f26abb3150bec69e5
[ "MIT" ]
3
2021-01-01T17:50:34.000Z
2021-10-02T10:02:27.000Z
CSES/Graph Algorithms/Message Route.cpp
shakeeb-droids/CC
2f49fcb52d748804aee9fc7f26abb3150bec69e5
[ "MIT" ]
108
2020-07-21T13:02:33.000Z
2022-03-28T22:46:49.000Z
/** 🍪 the_hyp0cr1t3 🍪 17.05.2021 22:39:20 **/ #ifdef W #include <k_II.h> #else #include <bits/stdc++.h> using namespace std; #endif #define pb emplace_back #define all(x) x.begin(), x.end() #define sz(x) static_cast<int32_t>(x.size()) const int64_t k_II = 2e18; const int INF = 2e9, MOD = 1e9+7; const i...
22.576923
47
0.460818
s166harth
302e9e1c48c6131e613435e616199ab139608a6b
3,533
cpp
C++
Code/Application.cpp
BomjSoft/BCL
f6863035d987b3fad184db8533d395d73beaf601
[ "MIT" ]
null
null
null
Code/Application.cpp
BomjSoft/BCL
f6863035d987b3fad184db8533d395d73beaf601
[ "MIT" ]
null
null
null
Code/Application.cpp
BomjSoft/BCL
f6863035d987b3fad184db8533d395d73beaf601
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include "Application.h" //--------------------------------------------------------------------------- namespace bcl { //--------------------------------------------------------------------------- CApplication::CApplication() { } //--...
28.491935
96
0.409567
BomjSoft
303fc6565a8a61198e6b86226a96f6a710e471f2
4,082
cc
C++
tensorpipe/test/channel/channel_test_cuda.cc
gunandrose4u/tensorpipe
d86777dbcefa3dd3133e866dbe6f075f2ac6a5e3
[ "BSD-3-Clause" ]
null
null
null
tensorpipe/test/channel/channel_test_cuda.cc
gunandrose4u/tensorpipe
d86777dbcefa3dd3133e866dbe6f075f2ac6a5e3
[ "BSD-3-Clause" ]
null
null
null
tensorpipe/test/channel/channel_test_cuda.cc
gunandrose4u/tensorpipe
d86777dbcefa3dd3133e866dbe6f075f2ac6a5e3
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <cuda_runtime.h> #include <tensorpipe/channel/cuda_context.h> #include <tensorpipe/test/cha...
33.186992
79
0.674669
gunandrose4u
3040a9dea7e7f09f2ea37b4eed552926720498fc
14,128
cpp
C++
src/aec.cpp
AlterB/chronovise
5c5fac329b143f3e62ebbc8523d7e205835dd4cb
[ "Apache-2.0" ]
2
2021-02-04T18:22:41.000Z
2021-12-08T10:57:00.000Z
src/aec.cpp
AlterB/chronovise
5c5fac329b143f3e62ebbc8523d7e205835dd4cb
[ "Apache-2.0" ]
9
2018-03-20T10:24:22.000Z
2018-08-27T21:53:56.000Z
src/aec.cpp
AlterB/chronovise
5c5fac329b143f3e62ebbc8523d7e205835dd4cb
[ "Apache-2.0" ]
4
2018-05-16T14:27:55.000Z
2022-01-28T17:18:24.000Z
#include "aec.hpp" #include "global.hpp" #include "utility/utility_hmi.hpp" #include <cassert> #include <cmath> #include <iostream> #include <iomanip> #define COEFF_INCREASE_SAMPLE_SIZE 0.2 namespace chronovise { template <typename T_INPUT, typename T_TIME> void AbstractExecutionContext<T_INPUT,T_TIME>::check_preco...
35.144279
123
0.615798
AlterB
304f9d8535c9863d28026a65b9bc3e576771d7f6
3,227
cpp
C++
snake/src/main/ComponentFactory/WorldFactory.cpp
ii887522/snake
1086ab02cd734a014dedae1343d82c4ff6c53bac
[ "MIT" ]
null
null
null
snake/src/main/ComponentFactory/WorldFactory.cpp
ii887522/snake
1086ab02cd734a014dedae1343d82c4ff6c53bac
[ "MIT" ]
null
null
null
snake/src/main/ComponentFactory/WorldFactory.cpp
ii887522/snake
1086ab02cd734a014dedae1343d82c4ff6c53bac
[ "MIT" ]
null
null
null
// Copyright ii887522 #ifndef TEST #include "WorldFactory.h" #include <nitro/nitro.h> #include <viewify/viewify.h> #include <SDL.h> #include <vector> #include <chrono> // NOLINT(build/c++11) #include <stdexcept> #include "../Any/Enums.h" #include "../View/Snake.h" #include "../View/Food.h" #include "../Any/constants...
40.3375
172
0.717385
ii887522
3054851eb162c9a8017f7a0d5e930f23350e9576
2,331
cc
C++
tests/test-wrap-label.cc
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
2
2020-10-22T22:02:52.000Z
2021-12-13T18:07:16.000Z
tests/test-wrap-label.cc
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
tests/test-wrap-label.cc
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
/* ************************************************************************* * Copyright (c) 2005 VMware, Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, incl...
30.671053
78
0.633205
libview
30598b8365b813c8552a1914e5866372c49995db
763
cpp
C++
ABC179/d.cpp
zhouyium/AtCoder
af66b02dc1faa317879d9a85d2458a009bef6dbd
[ "MIT" ]
null
null
null
ABC179/d.cpp
zhouyium/AtCoder
af66b02dc1faa317879d9a85d2458a009bef6dbd
[ "MIT" ]
null
null
null
ABC179/d.cpp
zhouyium/AtCoder
af66b02dc1faa317879d9a85d2458a009bef6dbd
[ "MIT" ]
null
null
null
//https://atcoder.jp/contests/abc179/tasks/abc179_d #include <iostream> #include <vector> #include <algorithm> #include <utility> using namespace std; const int MAXN=2e5+4; long long ans[MAXN];//递推答案 long long sum[MAXN];//前缀和 const int MAXK=10+4; pair<int, int> seg[MAXK];//区间 const int MO=998244353; int main() { ...
18.166667
70
0.519004
zhouyium
305c9ac5c399011eb82aecf49e3ecf7a5759f0e8
5,802
cpp
C++
windows.applicationmodel.search/code/SearchContract/CPP/Scenario5.xaml.cpp
gbaychev/winrt-api
25346cd51bc9d24c8c4371dc59768e039eaf02f1
[ "CC-BY-4.0", "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Search contract sample (Windows 8)/C++/Scenario5.xaml.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
2,093
2017-02-09T21:52:45.000Z
2022-03-25T22:23:18.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Search contract sample (Windows 8)/C++/Scenario5.xaml.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. /...
42.977778
188
0.583764
gbaychev
30616ccc61fbb6fc6d9adc237924ab744cb864a7
3,614
cpp
C++
src/monster_factory.cpp
einKnie/roomExplorer
8a79a5000f090b0e90f562dd168c5fe5b8688c5f
[ "MIT" ]
1
2020-06-21T14:55:28.000Z
2020-06-21T14:55:28.000Z
src/monster_factory.cpp
einKnie/roomExplorer
8a79a5000f090b0e90f562dd168c5fe5b8688c5f
[ "MIT" ]
null
null
null
src/monster_factory.cpp
einKnie/roomExplorer
8a79a5000f090b0e90f562dd168c5fe5b8688c5f
[ "MIT" ]
null
null
null
/****************************************************************************** * _____ * | __ \ * | |__) |___ ___ _ __ ___ * | _ // _ \ / _ \| '_ ` _ \ * | | \ \ (_) | (_) | | | | | | * |_|__\_\___/ \___/|_| |_| |_| * | ____| | | * | |__ __ ___ __ | | ___ _ __ ___ _ __ * | __| \ ...
30.627119
92
0.535695
einKnie
3064f4f2038b63e945c34f01701573b57ea5294e
2,751
cpp
C++
jam/src/GameManager.cpp
gzito/jamengine
451ab1e1d74231a3239a56aed4c40dc445fa6db8
[ "MIT" ]
null
null
null
jam/src/GameManager.cpp
gzito/jamengine
451ab1e1d74231a3239a56aed4c40dc445fa6db8
[ "MIT" ]
null
null
null
jam/src/GameManager.cpp
gzito/jamengine
451ab1e1d74231a3239a56aed4c40dc445fa6db8
[ "MIT" ]
null
null
null
/********************************************************************************** * * GameManager.cpp * * This file is part of Jam * * Copyright (c) 2014-2019 Giovanni Zito. * Copyright (c) 2014-2019 Jam contributors (cf. AUTHORS.md) * * Permission is hereby granted, free of charge, to any person obtaining a copy...
21.161538
83
0.633588
gzito
306a5d50666f0b0c50eb605cd793d44d7ced298a
1,871
hpp
C++
src/up/event_queue.hpp
snailbaron/up
586e9514d914010dcd62a2144ef82a9018db5abf
[ "MIT" ]
null
null
null
src/up/event_queue.hpp
snailbaron/up
586e9514d914010dcd62a2144ef82a9018db5abf
[ "MIT" ]
null
null
null
src/up/event_queue.hpp
snailbaron/up
586e9514d914010dcd62a2144ef82a9018db5abf
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <map> #include <memory> #include <typeindex> #include <utility> #include <vector> #include <tuple> class BaseSingleTypeEventQueue { public: virtual ~BaseSingleTypeEventQueue() {} virtual void send() = 0; }; template <class Event> class SingleTypeEventQueue : public...
22.27381
72
0.5938
snailbaron
307a0f445a0a4e152c6c0368075199000cd69c0f
264
cpp
C++
src/_viennacl/dense_matrix_ulong.cpp
viennacl/pyviennacl-dev
3509318db9eb4cc788f262f4e3924775f0cf3a01
[ "MIT" ]
26
2015-01-03T20:06:05.000Z
2021-09-09T09:23:14.000Z
src/_viennacl/dense_matrix_ulong.cpp
viennacl/pyviennacl-dev
3509318db9eb4cc788f262f4e3924775f0cf3a01
[ "MIT" ]
18
2015-01-12T00:08:42.000Z
2021-01-18T10:31:06.000Z
src/_viennacl/dense_matrix_ulong.cpp
viennacl/pyviennacl-dev
3509318db9eb4cc788f262f4e3924775f0cf3a01
[ "MIT" ]
5
2015-09-17T16:42:58.000Z
2022-03-21T19:21:43.000Z
#include "dense_matrix.hpp" PYVCL_SUBMODULE(dense_matrix_ulong) { EXPORT_DENSE_MATRIX_BASE_CLASS(ulong) EXPORT_DENSE_MATRIX_CLASS(ulong, row, vcl::row_major, ublas::row_major) EXPORT_DENSE_MATRIX_CLASS(ulong, col, vcl::column_major, ublas::column_major) }
26.4
79
0.810606
viennacl
308408f01fa3987c913ad7edf07b47a5da3c416c
1,649
cpp
C++
labs/lab2-caesar-cipher/cf.cpp
uoit-cpp/course-material
898ca41343f49c0c96e380bd569631e2be339a8c
[ "MIT" ]
1
2021-01-29T16:25:52.000Z
2021-01-29T16:25:52.000Z
labs/lab2-caesar-cipher/cf.cpp
programming-workshop-2/course-material
898ca41343f49c0c96e380bd569631e2be339a8c
[ "MIT" ]
null
null
null
labs/lab2-caesar-cipher/cf.cpp
programming-workshop-2/course-material
898ca41343f49c0c96e380bd569631e2be339a8c
[ "MIT" ]
2
2017-02-01T00:36:54.000Z
2017-03-14T16:01:00.000Z
#include <iostream> #include <fstream> using namespace std; #define BUF_LEN 5 void caeser_cipher(char* pStr, int n, int shift) { for (int i=0; i<n; ++i) { char c = pStr[i]; if (c < 65 || c > 90) continue; c = 65 + (((c-65) + shift) % 26); pStr[i] = c; } } int main(int argc, char** argv) { c...
20.6125
66
0.530625
uoit-cpp
3088cecb9d0aea4e5ce20de3a6894b7c6977a49d
6,329
cpp
C++
Engine/Src/SFEngine/Graphics/SFGraphicDeviceVulkan.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
1
2020-06-20T07:35:25.000Z
2020-06-20T07:35:25.000Z
Engine/Src/SFEngine/Graphics/SFGraphicDeviceVulkan.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
Engine/Src/SFEngine/Graphics/SFGraphicDeviceVulkan.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // CopyRight (c) 2017 Kyungkun Ko // // Author : KyungKun Ko // // Description : Vulkan Graphic Device // //////////////////////////////////////////////////////////////////////////////// #include "SFEnginePCH.h" #include...
24.249042
126
0.688892
blue3k
308a60592a40f6e234ce818c2c6ab9419995b210
60
cpp
C++
tests/lib2.cpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
null
null
null
tests/lib2.cpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
4
2020-08-09T20:33:04.000Z
2021-02-07T04:02:39.000Z
tests/lib2.cpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
null
null
null
#include "export.hpp" extern "C" { EXPORT int baz = 5; }
7.5
21
0.6
RealKC
308cfb83519e3fe5567348ce337245e335137984
1,453
hpp
C++
include/coruja/object/view/detail/connect_object.hpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
13
2017-10-24T07:13:28.000Z
2020-10-07T02:51:31.000Z
include/coruja/object/view/detail/connect_object.hpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
1
2019-10-30T21:50:44.000Z
2019-11-06T19:35:23.000Z
include/coruja/object/view/detail/connect_object.hpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
5
2018-09-19T20:29:07.000Z
2020-03-20T18:12:09.000Z
// Copyright Ricardo Calheiros de Miranda Cosme 2018. // 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 #include <boost/fusion/functional/invocation/invoke.hpp> namespace coruja { namespace view { namespa...
27.415094
77
0.646937
romariorios
30936ca3c49987636fc27ccf2d5674b42f768dec
3,767
hpp
C++
orca_base/include/orca_base/planner.hpp
pankhurivanjani/orca2
03c0b510a1750371d2080b0497ff3e402234cf94
[ "BSD-3-Clause" ]
null
null
null
orca_base/include/orca_base/planner.hpp
pankhurivanjani/orca2
03c0b510a1750371d2080b0497ff3e402234cf94
[ "BSD-3-Clause" ]
null
null
null
orca_base/include/orca_base/planner.hpp
pankhurivanjani/orca2
03c0b510a1750371d2080b0497ff3e402234cf94
[ "BSD-3-Clause" ]
null
null
null
#ifndef ORCA_BASE_PLANNER_HPP #define ORCA_BASE_PLANNER_HPP #include "orca_base/map.hpp" #include "orca_base/segment.hpp" namespace orca_base { struct AdvanceRC { static constexpr int CONTINUE = 0; static constexpr int SUCCESS = 1; static constexpr int FAILURE = 2; }; //=========================...
33.633929
116
0.548713
pankhurivanjani
30974e92e1bfab3d932910de261b824db5948485
671
cpp
C++
examples/basics/command_line_arguments/command_line_arguments.most_portable.cpp
alf-p-steinbach/stdlib
1280c3b68f30197549efd61af35ca57c477d59fe
[ "BSL-1.0" ]
13
2017-06-20T13:24:39.000Z
2018-02-27T08:49:17.000Z
examples/basics/command_line_arguments/command_line_arguments.most_portable.cpp
alf-p-steinbach/Wrapped-stdlib
1280c3b68f30197549efd61af35ca57c477d59fe
[ "BSL-1.0" ]
null
null
null
examples/basics/command_line_arguments/command_line_arguments.most_portable.cpp
alf-p-steinbach/Wrapped-stdlib
1280c3b68f30197549efd61af35ca57c477d59fe
[ "BSL-1.0" ]
null
null
null
// Source encoding: utf-8 with BOM ∩ #include <stdlib/all/basics.hpp> using namespace stdlib::type_builders; // ptr_, ref_ using stdlib::process::Command_line_args; // Command_line_args namespace my{ void cppmain( ref_<const Command_line_args> args ) { using namespace std; cout << args....
31.952381
78
0.593145
alf-p-steinbach
30a6c2c31307bc12435e55289429e3ae44d06e62
518
cpp
C++
epikjjh/baekjoon/15748.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
3
2019-05-19T13:44:39.000Z
2019-07-03T11:15:20.000Z
epikjjh/baekjoon/15748.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
7
2019-05-06T02:37:26.000Z
2019-06-29T07:28:02.000Z
epikjjh/baekjoon/15748.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
1
2019-07-28T06:24:54.000Z
2019-07-28T06:24:54.000Z
#include <bits/stdc++.h> using namespace std; typedef pair<int,int> P; int main(){ int l,n,rf,rb; scanf("%d %d %d %d",&l,&n,&rf,&rb); int d=rf-rb; vector<P> arr(n); for(auto &p: arr) scanf("%d %d",&p.second,&p.first); sort(arr.begin(),arr.end(),greater<P>()); long long ret=0,prev=0; ...
20.72
58
0.519305
15ers
dd60a5e4ce75f618185a3b4365f9dee16175b2e3
468
cpp
C++
node_modules/node-webcrypto-ossl/src/core/scoped_ssl.cpp
rysiekpl/superPeer
82097365568e6043b8b59ed40b1b83158b53f4a1
[ "MIT" ]
null
null
null
node_modules/node-webcrypto-ossl/src/core/scoped_ssl.cpp
rysiekpl/superPeer
82097365568e6043b8b59ed40b1b83158b53f4a1
[ "MIT" ]
null
null
null
node_modules/node-webcrypto-ossl/src/core/scoped_ssl.cpp
rysiekpl/superPeer
82097365568e6043b8b59ed40b1b83158b53f4a1
[ "MIT" ]
null
null
null
#include "scoped_ssl.h" ScopedSSL_free(BIGNUM, BN_free); ScopedSSL_free(EVP_PKEY, EVP_PKEY_free); ScopedSSL_free(RSA, RSA_free); ScopedSSL_free(EC_KEY, EC_KEY_free); ScopedSSL_free(BIO, BIO_free); ScopedSSL_free(EVP_PKEY_CTX, EVP_PKEY_CTX_free); ScopedSSL_free(BN_CTX, BN_CTX_free); ScopedSSL_free(ECDSA_SIG, ECDSA_SIG_...
36
52
0.846154
rysiekpl
dd61fc0ce5fbf1dc794106eb20005915b1606ec8
2,321
cpp
C++
compiler/src/target.cpp
mdegirolami/stay
b47676e5340c2bbd93fe97d52a12a895a3492b22
[ "BSD-3-Clause" ]
2
2021-08-13T01:00:49.000Z
2021-09-07T17:31:14.000Z
compiler/src/target.cpp
mdegirolami/sing
7f674d3a1d5787b3f4016dc28c14e997149fc9f6
[ "BSD-3-Clause" ]
null
null
null
compiler/src/target.cpp
mdegirolami/sing
7f674d3a1d5787b3f4016dc28c14e997149fc9f6
[ "BSD-3-Clause" ]
null
null
null
#include <string.h> #include "target.h" #ifdef _WIN32 #include <direct.h> #include <Windows.h> #else #include <sys/stat.h> #endif namespace SingNames { /* const char *get_cwd(void) { static char cwd_buffer[1024]; static bool cwd_set = false; if (!cwd_set) { strcpy(cwd_buffer, "\\"); _getc...
24.177083
148
0.641965
mdegirolami
dd63405aadc5b9d31e666e82a6d598003fd7d382
1,338
hpp
C++
include/GradientController.hpp
BobbyShmurner/Technicolour
3e71b2bb1b19b2ca3225933111a87582fb436494
[ "MIT" ]
2
2021-12-26T19:09:09.000Z
2021-12-27T20:36:51.000Z
include/GradientController.hpp
BobbyShmurner/Technicolour
3e71b2bb1b19b2ca3225933111a87582fb436494
[ "MIT" ]
4
2021-12-27T17:58:38.000Z
2022-03-05T19:39:38.000Z
include/GradientController.hpp
BobbyShmurner/Technicolour
3e71b2bb1b19b2ca3225933111a87582fb436494
[ "MIT" ]
4
2021-12-26T18:03:06.000Z
2021-12-28T12:33:13.000Z
#pragma once #include "UnityEngine/Color.hpp" #include <vector> #include <optional> #include "TechnicolourConfig.hpp" #include "sombrero/shared/ColorUtils.hpp" #include "GlobalNamespace/LightSwitchEventEffect.hpp" #include "beatsaber-hook/shared/utils/typedefs-array.hpp" class GradientController { private: std...
23.068966
77
0.72272
BobbyShmurner
dd64734a23e8f76d52c76b74b982160ef5e34f92
1,077
cpp
C++
main.cpp
tanzeyl/ieee-utsah
f6113549e2b628549e724b74316ac5fbf5fecefe
[ "MIT" ]
null
null
null
main.cpp
tanzeyl/ieee-utsah
f6113549e2b628549e724b74316ac5fbf5fecefe
[ "MIT" ]
null
null
null
main.cpp
tanzeyl/ieee-utsah
f6113549e2b628549e724b74316ac5fbf5fecefe
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Student { private: string name; protected: int rollNo, age; public: void getStudentData() { cout << "Enter the name, roll number and age respectively." << endl; cin >> name >> rollNo >> age; } }; class Marks : public Student { prot...
16.828125
74
0.514392
tanzeyl
dd64f404d3d6179149a3bf84a66dc97ff5a23d35
4,980
hpp
C++
zeccup/zeccup/military/desert/camps.hpp
LISTINGS09/ZECCUP
e0ad1fae580dde6e5d90903b1295fecc41684f63
[ "Naumen", "Condor-1.1", "MS-PL" ]
3
2016-08-29T09:23:49.000Z
2019-06-13T20:29:28.000Z
zeccup/zeccup/military/desert/camps.hpp
LISTINGS09/ZECCUP
e0ad1fae580dde6e5d90903b1295fecc41684f63
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
zeccup/zeccup/military/desert/camps.hpp
LISTINGS09/ZECCUP
e0ad1fae580dde6e5d90903b1295fecc41684f63
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
class CampsLarge { name = $STR_ZECCUP_CampsLarge; }; class CampsMedium { name = $STR_ZECCUP_CampsMedium; }; class CampsSmall { name = $STR_ZECCUP_CampsSmall; // EAST class Camp_CUP_O_TK { name = $STR_ZECCUP_MilitaryDesert_CampsSmall_Camp_CUP_O_TK; // Credit...
80.322581
127
0.613454
LISTINGS09
dd69fe4a062c5a5696aeb0499ab505c85c1ec55b
457
cpp
C++
PeakElement.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-13T15:29:19.000Z
2021-10-13T15:29:19.000Z
PeakElement.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
PeakElement.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
null
null
null
class Solution { public: int findPeakElement(vector<int>& nums) { int in=-1; int n=nums.size(); if(n==1) return 0; if(nums[0]>nums[1]) return 0; if(nums[n-1]>nums[n-2]) return n-1; for(int i=1;i<n-1;i++){ if(nums[i]>nums...
20.772727
52
0.376368
Subhash3
dd7499498e9a3f878a917ec91ee085e8cc71b880
2,093
cpp
C++
LauncherApp2/LauncherApp.cpp
stammen/Win32Communication
4da82ca391215ab7e0e5d6b197385c23a7b83b1f
[ "MIT" ]
12
2019-03-10T09:20:29.000Z
2022-03-05T13:44:50.000Z
LauncherApp2/LauncherApp.cpp
stammen/Win32Communication
4da82ca391215ab7e0e5d6b197385c23a7b83b1f
[ "MIT" ]
null
null
null
LauncherApp2/LauncherApp.cpp
stammen/Win32Communication
4da82ca391215ab7e0e5d6b197385c23a7b83b1f
[ "MIT" ]
5
2019-07-06T09:41:36.000Z
2020-11-12T23:19:09.000Z
#include<Windows.h> #include<iostream> #include<string> static PROCESS_INFORMATION launchProcess(std::string app, std::string arg) { // Prepare handles. STARTUPINFO si; PROCESS_INFORMATION pi; // The function returns this ZeroMemory(&si, sizeof(si)); si.cb = sizeof(si); ZeroMemory(&pi, sizeof(pi)); //Prepare ...
30.779412
108
0.66173
stammen
dd76bfc82b50e778a561cbf53d5d8c3bcd1507a7
1,807
hpp
C++
lib/sdl/include/sdl/Input.hpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
lib/sdl/include/sdl/Input.hpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
lib/sdl/include/sdl/Input.hpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** OOP_arcade_2019 ** File description: ** Input */ #ifndef INPUT_HPP_ #define INPUT_HPP_ #include "Rectangle.hpp" #include "Text.hpp" #include <memory> #include "Utils.hpp" #include <ctime> namespace arc { class Input { public: Input(); ~Input(); ...
25.814286
127
0.571112
Brukols
dd783a4bfd7ba4af08494131b2fdae8997b9829a
2,169
cpp
C++
leetcode.com/Weekly Contest 221/4/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/Weekly Contest 221/4/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/Weekly Contest 221/4/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <bits/stdc++.h> using namespace std; static int x = []() { std::ios::sync_with_stdio(false); cin.tie(0); return 0; }(); typedef long long ll; // clock_t starttime, endtime; class Node { public: Node *l, *r; Node(Node *l = nullptr, Node *r = nullptr) : l(l), r(r) {} ~Node() { delete l; d...
22.132653
82
0.433379
sky-bro
dd7e3028ef0485091b3016b393f7138f575a3104
4,663
cpp
C++
src/cdpi_pcap.cpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
2
2015-04-13T19:10:24.000Z
2019-04-27T02:53:49.000Z
src/cdpi_pcap.cpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
null
null
null
src/cdpi_pcap.cpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
null
null
null
#include "cdpi_pcap.hpp" #include "cdpi_divert.hpp" #include <unistd.h> #include <net/ethernet.h> #include <netinet/ip.h> #include <netinet/ip6.h> #include <iostream> #ifndef ETHERTYPE_VLAN #define ETHERTYPE_VLAN 0x8100 /* IEEE 802.1Q VLAN tagging */ #endif #ifndef ETHERTYPE_IPV6 #define ETHERTYPE_IPV6 0x86dd /* I...
20.632743
79
0.515119
ytakano
dd7f1e09fd6ffac5a36b4dc7108fb8e41ba986c1
4,356
cpp
C++
Greet-core/src/graphics/gui/TreeView.cpp
Thraix/Greet-Engine-Port
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
null
null
null
Greet-core/src/graphics/gui/TreeView.cpp
Thraix/Greet-Engine-Port
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
1
2018-06-02T20:11:47.000Z
2018-11-19T11:06:21.000Z
Greet-core/src/graphics/gui/TreeView.cpp
Thraix/Greet-Engine-Port
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
null
null
null
#include "TreeView.h" #include <input/InputDefines.h> namespace Greet { REGISTER_COMPONENT_DEFINITION(TreeView); TreeView::TreeView(const XMLObject& object, Component* parent) : Component{object, parent}, text{""}, tree{new TreeNode{""}} { AddStyle("active", "normal"); AddStyleVariables(StylingVari...
24.2
118
0.597796
Thraix
dd83d4d4f18bce40e6506d29a19c5dfdca88f73d
6,016
cpp
C++
sop_src/mbedtls/timing_alt.cpp
cfogelklou/sweet_osal_platform
3ebb0ccc37910caf09fd7d2974c742cbdb57171e
[ "MIT" ]
1
2020-02-23T09:53:27.000Z
2020-02-23T09:53:27.000Z
sop_src/mbedtls/timing_alt.cpp
cfogelklou/sweet_osal_platform
3ebb0ccc37910caf09fd7d2974c742cbdb57171e
[ "MIT" ]
1
2022-03-06T09:04:17.000Z
2022-03-06T09:04:17.000Z
sop_src/mbedtls/timing_alt.cpp
cfogelklou/sweet_osal_platform
3ebb0ccc37910caf09fd7d2974c742cbdb57171e
[ "MIT" ]
null
null
null
#include "mbedtls/myconfig.h" #include "mbedtls/platform.h" #if defined(MBEDTLS_TIMING_C) #include "mbedtls/timing.h" #if defined(MBEDTLS_TIMING_ALT) //#include "rtc/rtc.h" #include "osal/osal.h" #include "utils/platform_log.h" #include "task_sched/task_sched.h" #include "osal/singleton_defs.hpp" LOG_MODNAME("ti...
20.816609
85
0.63381
cfogelklou
dd88814b75fc394fdebe906d005c3d2bc9d062cf
5,213
cpp
C++
3rdParty/DirectFB/src/media/ImageProvider_real.cpp
rohmer/LVGL_UI_Creator
37a19be55e1de95d56717786a27506d8c78fd1ae
[ "MIT" ]
33
2019-09-17T20:57:56.000Z
2021-11-20T21:50:51.000Z
3rdParty/DirectFB/src/media/ImageProvider_real.cpp
rohmer/LVGL_UI_Creator
37a19be55e1de95d56717786a27506d8c78fd1ae
[ "MIT" ]
4
2019-10-21T08:38:11.000Z
2021-11-17T16:53:08.000Z
3rdParty/DirectFB/src/media/ImageProvider_real.cpp
rohmer/LVGL_UI_Creator
37a19be55e1de95d56717786a27506d8c78fd1ae
[ "MIT" ]
16
2019-09-25T04:25:04.000Z
2022-03-28T07:46:18.000Z
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by Denis Oliver Kropp <dok@directfb.org>, Andreas Shim...
27.877005
121
0.6432
rohmer
dd8ba8062119f758fce09f0436ee08429160bc6f
3,069
cpp
C++
source/directinput/Condition.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
85
2015-04-06T05:37:10.000Z
2022-03-22T19:53:03.000Z
source/directinput/Condition.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
10
2016-03-17T11:18:24.000Z
2021-05-11T09:21:43.000Z
source/directinput/Condition.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
45
2015-09-14T03:54:01.000Z
2022-03-22T19:53:09.000Z
/* * Copyright (c) 2007-2012 SlimDX Group * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
35.275862
142
0.731183
HeavenWu
dd94d330d18d8f9239be73bf5c92161563898148
702
cc
C++
example/main.cc
dmitriy-philimonov/elfremapper
87f4cfdea47750e8e30d046ad5c56ccbdca439b4
[ "MIT" ]
18
2021-09-06T18:49:57.000Z
2022-03-28T01:54:39.000Z
example/main.cc
dmitriy-philimonov/elfremapper
87f4cfdea47750e8e30d046ad5c56ccbdca439b4
[ "MIT" ]
1
2022-01-13T01:47:11.000Z
2022-01-17T14:22:27.000Z
example/main.cc
dmitriy-philimonov/elfremapper
87f4cfdea47750e8e30d046ad5c56ccbdca439b4
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <unistd.h> #include <elfremapper.h> int main() { size_t pages = remap_text_and_data_to_huge_pages( [](const char *msg) { printf("[ERROR] %s\n", msg); }); if (pages) printf("[INFO] We are good! Remapped %lu\n", pages); else prin...
22.645161
60
0.595442
dmitriy-philimonov
dd95c8d76bc2c94e5b85a2334f44fea0218326dd
453
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise16.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise16.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise16.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE Regex expresses any pattern Chapter23Exercise16.cpp COMMENT Objective: Prove that the pattern found in the previous exercise really isn't a regular expression. Input: - Output: - Author: Chris B. Kirov Date: 01.05.2017 */ /* No clue how to prove that... Kleene's theorem...
26.647059
68
0.704194
Ziezi
dd970e8088ddbb06451b26280f00069860a9cd41
1,017
cpp
C++
amazon_interview_practice/Find_maximum_of_minimum_for_every_window_size_in_a_given_array/problem/problem/solve.cpp
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
amazon_interview_practice/Find_maximum_of_minimum_for_every_window_size_in_a_given_array/problem/problem/solve.cpp
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
amazon_interview_practice/Find_maximum_of_minimum_for_every_window_size_in_a_given_array/problem/problem/solve.cpp
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <queue> using namespace std; #if 0 void printMaxOfMin(int arr[], int n) { for (int size = 1; size <= n; ++size) { int max = 0; for (int i = 0; i < n; ++i) { int j = i + size; int min = 1000000000; for (int k = i; k < j; ++k) { if (arr[k] < min) { min ...
17.237288
45
0.454277
ldy121
dd9ae05fee98e0b6140ea4800a2df1f53d90a46f
4,685
cpp
C++
Visual Mercutio/zWinUtil32/PSS_SelectResourcesDialog.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zWinUtil32/PSS_SelectResourcesDialog.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zWinUtil32/PSS_SelectResourcesDialog.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_SelectResourcesDialog -------------------------------------------* **************************************************************************** * Description : Provides a select resources dialog box * * Devel...
34.962687
100
0.51953
Jeanmilost
dd9c17f6acdfb9313340c6a003cbbd76419453ad
8,902
cpp
C++
src/caffe/layers/im2col_layer.cpp
lunochod/caffe
209fac06cb7893da4fcae0295f5cc882c6569ce9
[ "BSD-2-Clause" ]
20
2015-06-20T18:08:42.000Z
2018-05-27T09:28:34.000Z
src/caffe/layers/im2col_layer.cpp
rickyHong/CaffeForOpenCL
209fac06cb7893da4fcae0295f5cc882c6569ce9
[ "BSD-2-Clause" ]
3
2015-03-30T16:40:42.000Z
2015-06-03T10:31:51.000Z
src/caffe/layers/im2col_layer.cpp
rickyHong/CaffeForOpenCL
209fac06cb7893da4fcae0295f5cc882c6569ce9
[ "BSD-2-Clause" ]
6
2015-05-09T02:06:20.000Z
2015-10-19T07:13:47.000Z
#include <vector> #include "caffe/common.hpp" #include "caffe/layer.hpp" #include "caffe/util/benchmark.hpp" #include "caffe/util/im2col.hpp" #include "caffe/vision_layers.hpp" namespace caffe { template<typename Dtype> void Im2colLayer<Dtype>::LayerSetUp( const vector<Blob<Dtype>*>& bottom, const vector<Blo...
32.97037
79
0.624242
lunochod
dd9feeaad804858641c0e6d0092ce3a5429f7cd5
800
cpp
C++
src/heuristic/improvement/mlcmst_improver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
src/heuristic/improvement/mlcmst_improver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
src/heuristic/improvement/mlcmst_improver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
#include <heuristic/improvement/mlcmst_improver.hpp> #include <heuristic/star.hpp> namespace MLCMST::heuristic::improvement { MLCMST_Improver::~MLCMST_Improver() = default; MLCMST_Improver::MLCMST_Improver() : MLCMST_Improver(std::make_unique<Star>()) { } MLCMST_Improver::MLCMST_Improver(std::unique_ptr<MLCMST_Sol...
26.666667
115
0.765
qaskai
dda89442f2fc967317543e0b186a763b0dd97c0a
2,909
cpp
C++
platforms/linux/src/Application/Packets/Commands/HandleValueNotification/EmitNotification.cpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
13
2018-07-04T16:35:37.000Z
2021-03-03T10:41:07.000Z
platforms/linux/src/Application/Packets/Commands/HandleValueNotification/EmitNotification.cpp
iotile/baBLE
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
11
2018-06-01T20:32:32.000Z
2019-01-21T17:03:47.000Z
platforms/linux/src/Application/Packets/Commands/HandleValueNotification/EmitNotification.cpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
null
null
null
#include "EmitNotification.hpp" #include "utils/string_formats.hpp" #include "Transport/Socket/HCI/HCISocket.hpp" using namespace std; namespace Packet { namespace Commands { namespace Peripheral { EmitNotification::EmitNotification(uint16_t attribute_handle, std::vector<uint8_t> value) : Hos...
31.967033
152
0.62977
iotile
dda9b09b390fad006135fff9825594e7b140304a
11,201
cpp
C++
Engine/Game/ComponentManagers/LightManager.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
null
null
null
Engine/Game/ComponentManagers/LightManager.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
17
2021-03-12T18:19:07.000Z
2021-08-06T21:25:35.000Z
Engine/Game/ComponentManagers/LightManager.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
null
null
null
#include "LightManager.h" #include "Graphics/Buffers.h" #include "Program/Utils.h" #include "Game/Game.h" #include "Game/ComponentManagers/TransformManager.h" #include "Program/Log.h" #include "include/glm/gtc/matrix_transform.hpp" #include "include/glm/gtx/norm.hpp" #include <algorithm> namespace Engine { LightMa...
28.943152
285
0.700473
guimeixen
ddb396035ac239c5e1626d5d4a5b6e3ed0347db8
7,887
cpp
C++
src/Symbol.cpp
bjornpiltz/CppCodeGenVar
4f4707c88202695300e55db8909af29107bdc157
[ "MIT" ]
6
2018-01-23T09:41:05.000Z
2021-11-03T05:44:14.000Z
src/Symbol.cpp
bjornpiltz/CppCodeGenVar
4f4707c88202695300e55db8909af29107bdc157
[ "MIT" ]
14
2018-01-18T13:16:20.000Z
2018-02-25T21:42:34.000Z
src/Symbol.cpp
bjornpiltz/CppCodeGenVar
4f4707c88202695300e55db8909af29107bdc157
[ "MIT" ]
null
null
null
#include <codegenvar/Symbol.h> #include "SymbolPrivate.h" #include <symengine/add.h> #include <symengine/functions.h> #include <symengine/visitor.h> #include <symengine/eval_double.h> #include <symengine/derivative.h> namespace codegenvar{ using SymEngine::symbol; using SymEngine::integer; using SymEngine::real_doubl...
27.103093
86
0.680994
bjornpiltz
ddb6f9ef202588e1e3104027f320bd571f85f050
3,783
hpp
C++
geoloc/locations.hpp
loadzero/geoloc
020cc63660dbf4d32a07dabd5e8da1fcab29659a
[ "BSD-3-Clause" ]
69
2015-03-17T12:35:46.000Z
2019-12-07T17:19:22.000Z
geoloc/locations.hpp
loadzero/geoloc
020cc63660dbf4d32a07dabd5e8da1fcab29659a
[ "BSD-3-Clause" ]
1
2015-03-18T08:59:11.000Z
2015-08-12T20:33:25.000Z
geoloc/locations.hpp
loadzero/geoloc
020cc63660dbf4d32a07dabd5e8da1fcab29659a
[ "BSD-3-Clause" ]
16
2015-03-18T04:19:16.000Z
2017-08-28T12:24:07.000Z
/* * Copyright 2015 Jason McSweeney * Licensed under BSD 3 Clause - see LICENSE * * author: Jason McSweeney * created: 2015-03-11 * * This module handles representations of location data, both normal and packed * formats. * * A Location stores an id and positional information from the MaxMind dataset, * n...
20.229947
80
0.572033
loadzero
ddb8db17ed7aa1b4519ec4de3edd22b8bad07d73
10,956
cpp
C++
Libraries/Rev1/LedDisplay/LedDisplay.cpp
jwestmoreland/LedDisplayLiPolyChargerTest
709311c912a411782e2113df0e350e0093924765
[ "Unlicense" ]
null
null
null
Libraries/Rev1/LedDisplay/LedDisplay.cpp
jwestmoreland/LedDisplayLiPolyChargerTest
709311c912a411782e2113df0e350e0093924765
[ "Unlicense" ]
null
null
null
Libraries/Rev1/LedDisplay/LedDisplay.cpp
jwestmoreland/LedDisplayLiPolyChargerTest
709311c912a411782e2113df0e350e0093924765
[ "Unlicense" ]
null
null
null
/* LedDisplay -- controller library for Avago HCMS-297x displays -- version 0.2 Copyright (c) 2009 Tom Igoe. Some right reserved. Revisions on version 0.2 and 0.3 by Mark Liebman, 27 Jan 2010 * extended a bit to support up to four (4) 8 character displays. vim: set ts=4: Controls an Avago HCM...
26.210526
117
0.69487
jwestmoreland
ddbc71ba62a5d638fa05d0dbf7c5d09d45ccf467
636
cpp
C++
Leetcode1935.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
1
2020-06-28T06:29:05.000Z
2020-06-28T06:29:05.000Z
Leetcode1935.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
null
null
null
Leetcode1935.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
null
null
null
class Solution { public: bool check(string s, set<char>& st) { for (char c : s) { if (st.count(c)) return false; } return true; } int canBeTypedWords(string t, string brokenLetters) { set<char> s(brokenLetters.begin(), brokenLetters.end()); int n = t.size(...
26.5
64
0.418239
dezhonger
ddcaff1f4bf54c60dea2b4deab42f9e91bf6910b
1,765
cpp
C++
MapReaderV2/UE3/FString.cpp
balannarcis96/skylake-tools
e1ff6308d250f81397a85ab6012cc4dc10e06228
[ "MIT" ]
3
2020-05-18T14:37:07.000Z
2020-12-24T08:49:34.000Z
MapReaderV2/UE3/FString.cpp
balannarcis96/skylake-tools
e1ff6308d250f81397a85ab6012cc4dc10e06228
[ "MIT" ]
null
null
null
MapReaderV2/UE3/FString.cpp
balannarcis96/skylake-tools
e1ff6308d250f81397a85ab6012cc4dc10e06228
[ "MIT" ]
null
null
null
#include "FString.h" #include "FIStream.h" #include "UPackage.h" FString::FString(FIStream * stream) :FReadable(stream) { length = stream->ReadInt32(); //if length is negative -> UTF16 encoding , else UTF8 if (length == 0) { bIsUnicode = 0; flags = 0; } else if (length > 0) { char * str = new char[length...
15.347826
54
0.636261
balannarcis96
ddcdb5a0f6930a40a2ff62a499f210e6c8d6ac51
3,771
cpp
C++
Sources/Server/Server.cpp
killowatt/WatchtowerCPP
efa5fed380897ad3e25c200dc5e4974e0bad9119
[ "Zlib" ]
1
2022-01-07T04:53:09.000Z
2022-01-07T04:53:09.000Z
Sources/Server/Server.cpp
killowatt/WatchtowerCPP
efa5fed380897ad3e25c200dc5e4974e0bad9119
[ "Zlib" ]
null
null
null
Sources/Server/Server.cpp
killowatt/WatchtowerCPP
efa5fed380897ad3e25c200dc5e4974e0bad9119
[ "Zlib" ]
null
null
null
#include "Server.h" #include <ByteStream.h> #include <iostream> #include "Network/Packets.h" #include "lodepng.h" using namespace Watchtower; void SetupChunks(GameMap* world) // TODO: remove, its temp!! { // Here we load in a test heightmap just for kicks okay std::vector<unsigned char> image; unsigned int width...
23.42236
77
0.651021
killowatt
ddd3b541efe3810f14b0cf884c5fae11390cec8d
533
hpp
C++
library/ATF/_PVP_RANK_DATA.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_PVP_RANK_DATA.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_PVP_RANK_DATA.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE #pragma pack(push, 1) struct _PVP_RANK_DATA { char byRank; char byLv; unsigned __int16 wRate; char wszN...
23.173913
108
0.651032
lemkova
ddd72ddd723392e47a591bda0717c3bf9e3f852e
28,111
cpp
C++
compiler-native/compiler/regex.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
2
2021-03-30T15:25:44.000Z
2021-05-14T07:22:25.000Z
compiler-native/compiler/regex.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
null
null
null
compiler-native/compiler/regex.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <stdio.h> #include <map> #include <typeinfo> #include "declarations.h" #include "util.h" //#include "packet.h" using namespace std; // RE extern map<RE*, int> re_id_map; // This is for parser.cpp //void RE::emit(ostream& out, string indent) { // out <<...
26.494816
95
0.553911
SleepyToDeath
dddb17dc7d77dce0fbae22100fe9245e27b28d37
925
cpp
C++
src/IrcConnection.cpp
Altenius/AltIRC
83d5ebac1a25bfde9e9dfbcf87dc2e08ec5ec239
[ "Unlicense" ]
1
2016-07-27T13:00:24.000Z
2016-07-27T13:00:24.000Z
src/IrcConnection.cpp
Altenius/AltIRC
83d5ebac1a25bfde9e9dfbcf87dc2e08ec5ec239
[ "Unlicense" ]
null
null
null
src/IrcConnection.cpp
Altenius/AltIRC
83d5ebac1a25bfde9e9dfbcf87dc2e08ec5ec239
[ "Unlicense" ]
null
null
null
#include "IrcConnection.h" #include "AltIrc.h" IrcConnection::IrcConnection(const std::string &host, unsigned short port, const std::string &nick, const std::string &user, const std::string &realname) : host_(host), port_(port), nick_(nick), user_(user), realname_(realname), protocolHandler_(this) { protocolHandle...
31.896552
253
0.701622
Altenius
50b271051cbe54556faf09c397e83048b1acb92d
20
cpp
C++
contrib/nlohmann/json.cpp
tizz98/JamSpell
0dbc4733e403524e30be16f32ff65fbbaedeb736
[ "MIT" ]
499
2018-01-24T12:59:18.000Z
2022-03-31T22:45:34.000Z
contrib/nlohmann/json.cpp
tizz98/JamSpell
0dbc4733e403524e30be16f32ff65fbbaedeb736
[ "MIT" ]
101
2018-01-25T06:18:52.000Z
2022-03-16T09:58:19.000Z
contrib/nlohmann/json.cpp
tizz98/JamSpell
0dbc4733e403524e30be16f32ff65fbbaedeb736
[ "MIT" ]
93
2018-01-25T08:15:44.000Z
2022-03-31T22:45:36.000Z
#include "json.hpp"
10
19
0.7
tizz98
50b2831e315d317f07ca83faed897b0dc81c548f
8,711
cpp
C++
util/HexEdit/src/HexEdit/Searchbar.cpp
testdrive-profiling-master/src
113efc01975fc084dec9ab5036f5db5a613c68be
[ "BSD-3-Clause" ]
null
null
null
util/HexEdit/src/HexEdit/Searchbar.cpp
testdrive-profiling-master/src
113efc01975fc084dec9ab5036f5db5a613c68be
[ "BSD-3-Clause" ]
null
null
null
util/HexEdit/src/HexEdit/Searchbar.cpp
testdrive-profiling-master/src
113efc01975fc084dec9ab5036f5db5a613c68be
[ "BSD-3-Clause" ]
1
2021-05-15T07:42:06.000Z
2021-05-15T07:42:06.000Z
// // Searchbar.c // // www.catch22.net // // Copyright (C) 2012 James Brown // Please refer to the file LICENCE.TXT for copying permission // #define WIN32_LEAN_AND_MEAN #define STRICT #include <windows.h> #include <windowsx.h> #include <tchar.h> #include <commctrl.h> #include "trace.h" #include "HexEdit.h" #incl...
26.803077
122
0.722764
testdrive-profiling-master
50b725d4e1f844ff782a0d82ab63bbb62083b856
2,128
cpp
C++
src/posix/tests/dirent/main.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
4
2015-12-16T06:43:14.000Z
2020-01-24T06:05:47.000Z
src/posix/tests/dirent/main.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
src/posix/tests/dirent/main.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
/* **============================================================================== ** ** Copyright (c) 2003, 2004, 2005, 2006, Michael Brasher, Karl Schopmeyer ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and associated documentation files (the "Software"), ** ...
30.4
80
0.615132
LegalizeAdulthood
50b93c3ee4e52dfb1b7de326f5248210cd93fe7f
2,164
cpp
C++
test/test_roundtrip.cpp
scherbatey/packet-io
bb8387bf2d0ca9b87c141ee32992a42ce6be3b0b
[ "MIT" ]
11
2017-06-01T12:04:48.000Z
2021-09-27T16:55:07.000Z
test/test_roundtrip.cpp
scherbatey/packet-io
bb8387bf2d0ca9b87c141ee32992a42ce6be3b0b
[ "MIT" ]
1
2019-12-17T00:52:51.000Z
2019-12-17T02:35:59.000Z
test/test_roundtrip.cpp
scherbatey/packet-io
bb8387bf2d0ca9b87c141ee32992a42ce6be3b0b
[ "MIT" ]
5
2018-03-01T18:13:34.000Z
2022-03-02T03:26:02.000Z
#ifdef UNIT_TEST #include "test_helpers.h" #include "mock_print.h" #include "packet_interfaces.h" static MockABuffer<1024> long_buf; static MockABuffer<1024> long_buf2; template<typename PrintT, typename StreamT> struct round_trip_tests { static void test_one(const MockBuffer& content) { // output MockPrin...
28.103896
116
0.718115
scherbatey
50be9675e74d926a42c89acad2241b7a994f9bbd
485
cpp
C++
src/main.cpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
1
2021-12-01T22:12:56.000Z
2021-12-01T22:12:56.000Z
src/main.cpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
null
null
null
#include <mpi.h> #include <iostream> #include <string> #include "murphy.hpp" #include "testcase.hpp" using std::string; using std::to_string; int main(int argc, char** argv) { //------------------------------------------------------------------------- TestCase* testcase = MurphyInit(argc, argv); if (te...
21.086957
79
0.43299
vanreeslab
50beb8bb43ded84a85a32e71541ab5c44b933682
1,255
cpp
C++
tests/test_vector_scalar.cpp
m-tosch/mu
2d2baf242119fe5555a59d3d63bcc42acb477755
[ "MIT" ]
null
null
null
tests/test_vector_scalar.cpp
m-tosch/mu
2d2baf242119fe5555a59d3d63bcc42acb477755
[ "MIT" ]
109
2020-10-06T16:33:15.000Z
2021-02-08T10:54:56.000Z
tests/test_vector_scalar.cpp
m-tosch/mu
2d2baf242119fe5555a59d3d63bcc42acb477755
[ "MIT" ]
null
null
null
#include <tuple> #include "gtest/gtest.h" #include "mu/vector.h" #include "mu/vector2d.h" #include "mu/vector3d.h" #include "scalar_combinations.h" using VectorScalarCombinationTypes = ::testing::Types</* Vector */ std::tuple<mu::Vector<2, int>, int>, std::tuple<mu::Vecto...
40.483871
65
0.49004
m-tosch
50c472a160082ed74114b030516709ae18044164
1,371
hpp
C++
lattice/coordinate.hpp
todo-group/lattice
205a3321ad0cf98bb8924a7e6d494c11b3c395b3
[ "Apache-2.0" ]
1
2020-02-29T07:53:57.000Z
2020-02-29T07:53:57.000Z
model_sample/lattice/coordinate.hpp
chihirokondo/wl_mpi
33cb42e6a2649df767d1284c44d3fb11525b423e
[ "MIT" ]
null
null
null
model_sample/lattice/coordinate.hpp
chihirokondo/wl_mpi
33cb42e6a2649df767d1284c44d3fb11525b423e
[ "MIT" ]
2
2020-11-27T07:40:42.000Z
2021-03-22T04:58:18.000Z
/* Copyright (C) 2019 by Synge Todo <wistaria@phys.s.u-tokyo.ac.jp> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required b...
24.052632
82
0.71116
todo-group
50c5bf435dcff420ee2c9b4b5e1d1b7cd7640d3a
619
cpp
C++
57.Structures_and_Functions.cpp
cseharshit/Cpp_Revision
156a48058c2cd85bb67c782585f39874df9ddf03
[ "MIT" ]
null
null
null
57.Structures_and_Functions.cpp
cseharshit/Cpp_Revision
156a48058c2cd85bb67c782585f39874df9ddf03
[ "MIT" ]
null
null
null
57.Structures_and_Functions.cpp
cseharshit/Cpp_Revision
156a48058c2cd85bb67c782585f39874df9ddf03
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct Student { string name; int roll_number; }; //return type as structure Student registerStudent(string name, int roll_number) { Student s; s.name = name; s.roll_number = roll_number; return s; } // Passing structure to a function void printStuden...
20.633333
55
0.623586
cseharshit
50c68f0fa0be202886f9606f5a7b64334e539de6
6,483
cc
C++
elvis/utils.cc
nkoukoul/Elvis
2f0cb16001cecec4a2ab09462da25b961f89d7ea
[ "MIT" ]
6
2021-01-31T13:21:50.000Z
2021-09-19T19:02:07.000Z
elvis/utils.cc
nkoukoul/Elvis
2f0cb16001cecec4a2ab09462da25b961f89d7ea
[ "MIT" ]
null
null
null
elvis/utils.cc
nkoukoul/Elvis
2f0cb16001cecec4a2ab09462da25b961f89d7ea
[ "MIT" ]
null
null
null
#include "utils.h" #include <cryptopp/cryptlib.h> #include <cryptopp/sha.h> #include <cryptopp/filters.h> #include <cryptopp/base64.h> #include <cryptopp/hmac.h> #include <chrono> #include <ctime> #include <sstream> #include <iostream> std::string daytime_(){ time_t rawtime; struct tm * timeinfo; char buffer[80]...
31.470874
322
0.643992
nkoukoul
50ceddcfab9106df0c415398263c70bfcd7e5213
1,056
cpp
C++
test/src/bit_util.test.cpp
hhsdev/huffman-compression
5c538f54a37c5ada3117c92ec70428a01c75d113
[ "MIT" ]
null
null
null
test/src/bit_util.test.cpp
hhsdev/huffman-compression
5c538f54a37c5ada3117c92ec70428a01c75d113
[ "MIT" ]
null
null
null
test/src/bit_util.test.cpp
hhsdev/huffman-compression
5c538f54a37c5ada3117c92ec70428a01c75d113
[ "MIT" ]
null
null
null
#include "catch.hpp" #include "bit_util.hpp" TEST_CASE("Bit twiddling utilities", "[BitUtil]") { using namespace BitUtil; auto [front, back] = split(0b1111'1010, 4); REQUIRE(front == 0b1111); REQUIRE(back == 0b1010); REQUIRE(nthBit(0b1011, 2) == 0); REQUIRE(nthBit(0b1011, 1) == 1); } TEST_CASE("Bit offs...
24.55814
65
0.655303
hhsdev
50d463edfd2eda2e2bfe071d21cf09cf6b1f726a
2,715
cpp
C++
loj.3544.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
loj.3544.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
loj.3544.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
/* * loj.3544.cpp * Copyright (C) 2021 Woshiluo Luo <woshiluo.luo@outlook.com> * * 「Two roads diverged in a wood,and I— * I took the one less traveled by, * And that has made all the difference.」 * * Distributed under terms of the GNU AGPLv3+ license. */ #include <cstdio> #include <cstdlib> #include <cstring>...
20.413534
81
0.47698
woshiluo
50dc022ab8a9c7d968198ae2050ddfa8ce86e154
235
cpp
C++
controller/request_manager.cpp
pvthuyet/SGEyes2
a6b91785a792cd4917a0dbaff13481e7f493b9d6
[ "BSL-1.0" ]
null
null
null
controller/request_manager.cpp
pvthuyet/SGEyes2
a6b91785a792cd4917a0dbaff13481e7f493b9d6
[ "BSL-1.0" ]
null
null
null
controller/request_manager.cpp
pvthuyet/SGEyes2
a6b91785a792cd4917a0dbaff13481e7f493b9d6
[ "BSL-1.0" ]
null
null
null
#include "request_manager.hpp" SAIGON_NAMESPACE_BEGIN request_manager::request_manager(std::string_view endpoint): server_(endpoint) {} void request_manager::send(std::string const& msg) { server_.send(msg); } SAIGON_NAMESPACE_END
18.076923
60
0.8
pvthuyet
50dc3beaadf6980673de6046cf0c514836b76397
446
hpp
C++
hiro/core/attribute.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
hiro/core/attribute.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
hiro/core/attribute.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#if defined(Hiro_Attribute) struct Attribute { using type = Attribute; Attribute(const string& name, const any& value = {}); auto operator==(const Attribute& source) const -> bool; auto operator< (const Attribute& source) const -> bool; auto name() const -> string; auto setValue(const any& value = {}) ->...
21.238095
57
0.656951
CasualPokePlayer
50e1b9634f48769e78d65ffe8d406518e2724a13
424,377
cpp
C++
src/main_2400.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_2400.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_2400.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" // Including type: Mono.Math.Prime.PrimalityTest #include "Mono/Math/Prime/PrimalityTest_.hpp" // Including type: Mo...
80.833714
774
0.767068
v0idp
50ea9af055929d3b105cd2f4560ca00ed5f3b6c8
1,372
cpp
C++
tests/aho-corasick/test_type.cpp
alastairmoody-madeye/generic-aho-corasick
998c726c64b14769d2ffc48e0cb0b62be1702b1e
[ "MIT" ]
1
2021-05-25T12:49:06.000Z
2021-05-25T12:49:06.000Z
tests/aho-corasick/test_type.cpp
alastairmoody-madeye/generic-aho-corasick
998c726c64b14769d2ffc48e0cb0b62be1702b1e
[ "MIT" ]
null
null
null
tests/aho-corasick/test_type.cpp
alastairmoody-madeye/generic-aho-corasick
998c726c64b14769d2ffc48e0cb0b62be1702b1e
[ "MIT" ]
null
null
null
#include "aho_corasick.hpp" #include <bits/stdc++.h> using namespace std; void test_vectors() { vector<vector<int>> text = {{2, 3, 4}, {5, 7, 3}, {4, 5, 2}, {100, 44, 56}, {5, 7, 3}, {2, 3, 4}}; vector<vector<vector<int>>> patterns = {{{4, 5, 2}, {5, 7, 3}, {5, 7, 3}}, {{4, 5, 2}, {100, 44, 56}, {5, 7, 3}}, {...
41.575758
192
0.540087
alastairmoody-madeye
50eccfc94eb509a862440533d9eab9b8e61207e8
896
cpp
C++
basic/scopre.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
basic/scopre.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
basic/scopre.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; //global varaible int num = 0; void global_varaible_init(int x); void local_variable_init(int x); void static_variable_init(int x); int main() { int num{20}; cout << "printing num in the main function :- " << num; { int num{10}; cout << "printing num...
23.578947
84
0.633929
RohanKittu
50efbc5dc8ba813870372c7dc9e9d15cf40f717b
23
cpp
C++
KEngineBase/KGAMEPATH.cpp
kwon3000hero/RenderEngineProject
3936e138a4aeab74feacb04163433386154a3da5
[ "MIT" ]
3
2021-07-23T04:50:59.000Z
2021-07-29T14:25:12.000Z
KEngineBase/KGAMEPATH.cpp
kwon3000hero/RenderEngineProject
3936e138a4aeab74feacb04163433386154a3da5
[ "MIT" ]
1
2021-07-24T18:19:53.000Z
2021-07-25T11:27:49.000Z
KEngineBase/KGAMEPATH.cpp
kwon3000hero/RenderEngineProject
3936e138a4aeab74feacb04163433386154a3da5
[ "MIT" ]
null
null
null
#include "KGAMEPATH.h"
11.5
22
0.73913
kwon3000hero
50f0fbcf18f1e5aebfad59bb64a21b58618c595a
3,164
cpp
C++
source/LibFgBase/src/FgGuiApiText.cpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
source/LibFgBase/src/FgGuiApiText.cpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
source/LibFgBase/src/FgGuiApiText.cpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
// // Copyright (c) 2015 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // // Authors: Andrew Beatty // Created: August 29, 2014 // #include "stdafx.h" #include "FgGuiApiText.hpp" ...
24.152672
97
0.700379
maamountki
50f3450bdad8b30ce57ac6dba030cb58c11c92a4
1,974
cpp
C++
src/topK.cpp
bikramA/sample-code
47efe43583046a1aa31660872d30bea5669e827a
[ "BSD-2-Clause" ]
null
null
null
src/topK.cpp
bikramA/sample-code
47efe43583046a1aa31660872d30bea5669e827a
[ "BSD-2-Clause" ]
null
null
null
src/topK.cpp
bikramA/sample-code
47efe43583046a1aa31660872d30bea5669e827a
[ "BSD-2-Clause" ]
null
null
null
#include <algorithm> #include <iostream> #include <set> #include <string> #include <vector> /** * A function that compares second values for a pair of pairs * * @param pair1 First input pair. * @param pair2 Second input pair. * @return Returns true if second value of first input pair is larger * than that of the...
28.608696
96
0.694022
bikramA
50f405dfe1918eb5a797930f7241189a9cef7617
10,191
cpp
C++
src/network/debug_server.cpp
ybbhwxfj/block-db
2482ff6631184ecbc6329db97a2c0f8e19a6711f
[ "Apache-2.0" ]
null
null
null
src/network/debug_server.cpp
ybbhwxfj/block-db
2482ff6631184ecbc6329db97a2c0f8e19a6711f
[ "Apache-2.0" ]
null
null
null
src/network/debug_server.cpp
ybbhwxfj/block-db
2482ff6631184ecbc6329db97a2c0f8e19a6711f
[ "Apache-2.0" ]
1
2021-12-28T02:25:34.000Z
2021-12-28T02:25:34.000Z
#include "network/debug_server.h" #include <memory> #include <boost/log/trivial.hpp> #include <sstream> //------------------------------------------------------------------------------ // Return a reasonable mime type based on the extension of a file. beast::string_view mime_type(beast::string_view path) { using bea...
31.165138
81
0.631341
ybbhwxfj
50f702d6ad3bf09ce000d50fa27811b574fcf1e2
12,243
cpp
C++
modules/trappist-1/problem.cpp
adebrecht661/asteroid-spring-sims
8767d17a0c7229c0603c8b16f6090efeed70614e
[ "MIT" ]
null
null
null
modules/trappist-1/problem.cpp
adebrecht661/asteroid-spring-sims
8767d17a0c7229c0603c8b16f6090efeed70614e
[ "MIT" ]
1
2020-08-05T23:03:36.000Z
2020-08-05T23:03:36.000Z
modules/trappist-1/problem.cpp
adebrecht661/asteroid-spring-sims
8767d17a0c7229c0603c8b16f6090efeed70614e
[ "MIT" ]
null
null
null
#ifdef __cplusplus # ifdef __GNUC__ # define restrict __restrict__ # else # define restrict # endif #endif /** * resolved mass spring model * using the leap frog integrator. */ #include <cmath> #include <vector> #include <string> #include <iostream> #include <iomanip> #include <fstream> extern "C" { #include "re...
32.91129
100
0.705138
adebrecht661
dd00804faefd858fd71d8dd7ee42a6d2412e8e9e
1,787
cpp
C++
Excercises/Week_03/Code/James_J_Tutorial_03_Excercise_07/James_J_Tutorial_03_Excercise_07/main.cpp
Chi-Time/DAC415-Programming-Fundamentals
0f534e2d60806cd36fb1b651521d0a43170b856b
[ "MIT" ]
null
null
null
Excercises/Week_03/Code/James_J_Tutorial_03_Excercise_07/James_J_Tutorial_03_Excercise_07/main.cpp
Chi-Time/DAC415-Programming-Fundamentals
0f534e2d60806cd36fb1b651521d0a43170b856b
[ "MIT" ]
null
null
null
Excercises/Week_03/Code/James_J_Tutorial_03_Excercise_07/James_J_Tutorial_03_Excercise_07/main.cpp
Chi-Time/DAC415-Programming-Fundamentals
0f534e2d60806cd36fb1b651521d0a43170b856b
[ "MIT" ]
null
null
null
#include <iostream> #include <conio.h> void GetCelsiusInput(); bool IsCelsius(float& celsius); void ShowFahrenheit(float& celsius); float ConvertToFahrenheit(float& celsius); // The absolute minimum temperature defined. const float ABSOLUTE_ZERO = -273.15f; // The absolute maximum temperature defined. const float MAX...
21.792683
124
0.687745
Chi-Time
dd0434c0c80697b24721545f9e1a2383df5bd7cb
2,040
cpp
C++
Codeforces/1566E/solution.cpp
caando/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
5
2021-09-09T09:16:29.000Z
2022-01-08T11:28:12.000Z
Codeforces/1566E/solution.cpp
zjk2606/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
1
2021-09-09T09:16:26.000Z
2021-09-11T04:00:36.000Z
Codeforces/1566E/solution.cpp
zjk2606/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<ll, ll>; using vi = vector<int>; using vl = vector<ll>; using vii = vector<pii>; using vll = vector<pll>; #define fi first #define se second #define sz(c) ((int)(c).size()) #define all(c) (c).begin(), (c).e...
23.181818
118
0.588235
caando
dd04f643ad37f4ebed39e9f0496db9f530a40495
2,212
cpp
C++
codeforces/e107/D/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
codeforces/e107/D/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
19
2016-05-04T02:46:31.000Z
2021-11-27T06:18:33.000Z
codeforces/e107/D/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
// codeforces/e107/D/main.cpp // author: @___Johniel // github: https://github.com/johniel/ #include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first <<...
29.493333
150
0.556058
Johniel
dd0746e646a702ed45339d5871d5c565f47ae0d9
118
cpp
C++
CardinalToOrdinal.cpp
Idhrendur/commonItems
e8f89c01c5449a230a71a53eb58696c1e92e5a10
[ "MIT" ]
7
2018-12-22T03:59:34.000Z
2021-06-10T22:42:37.000Z
CardinalToOrdinal.cpp
IhateTrains/commonItems
759705dc41ff1595db9786d0a9facc0b336888c3
[ "MIT" ]
45
2018-12-04T04:51:20.000Z
2021-08-12T12:20:56.000Z
CardinalToOrdinal.cpp
IhateTrains/commonItems
759705dc41ff1595db9786d0a9facc0b336888c3
[ "MIT" ]
15
2019-01-09T05:59:48.000Z
2020-08-27T09:08:09.000Z
#pragma message("Warning: use CommonFunctions.cpp instead of CardinalToOrdinal.cpp") #include "CommonFunctions.cpp"
23.6
84
0.805085
Idhrendur
dd0f8743eee61a13cfb87931d16618f730ca8706
1,838
hpp
C++
src/Controller/PhysicsFacade/React/ReactCollisionWorld.hpp
MajorArkwolf/Project-Blue-Engine
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
1
2021-04-18T09:49:38.000Z
2021-04-18T09:49:38.000Z
src/Controller/PhysicsFacade/React/ReactCollisionWorld.hpp
MajorArkwolf/ICT397-Project-Blue
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
null
null
null
src/Controller/PhysicsFacade/React/ReactCollisionWorld.hpp
MajorArkwolf/ICT397-Project-Blue
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
2
2020-06-13T15:24:01.000Z
2021-04-15T20:25:49.000Z
#pragma once #include <reactphysics3d.h> #include "Controller/PhysicsFacade/CollisionWorld.hpp" #include "ReactCollisionBody.hpp" namespace Physics { class ReactCollisionWorld : public CollisionWorld { public: ReactCollisionWorld(); ~ReactCollisionWorld(); /** *@brief Initi...
35.346154
130
0.663765
MajorArkwolf
dd15e573221f3a566d0e0c72e5ef437317a8486c
455
cpp
C++
strings_as_user_input.cpp
Ewooral/C-
fcf8d0f91f5ad657e83ca067739a7989e72a86e4
[ "MIT" ]
null
null
null
strings_as_user_input.cpp
Ewooral/C-
fcf8d0f91f5ad657e83ca067739a7989e72a86e4
[ "MIT" ]
null
null
null
strings_as_user_input.cpp
Ewooral/C-
fcf8d0f91f5ad657e83ca067739a7989e72a86e4
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { // int age; string name; // cout << "Enter your age: "; cout << "Enter your name: "; // cin >> age; getline(cin, name); // getline(variable, max length of the string)) // if we want to enter a string as an input then we use // ...
22.75
71
0.531868
Ewooral
dd1a51dc2b6aa377438afe7258e637f16ed97244
3,914
cpp
C++
example.cpp
a-chernenko/register-data
cab3f44efd922b9ff29b77b39f7164aea197365f
[ "Apache-2.0" ]
null
null
null
example.cpp
a-chernenko/register-data
cab3f44efd922b9ff29b77b39f7164aea197365f
[ "Apache-2.0" ]
null
null
null
example.cpp
a-chernenko/register-data
cab3f44efd922b9ff29b77b39f7164aea197365f
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 Alexander Chernenko (achernenko@mail.ru) 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 applicab...
32.347107
75
0.692897
a-chernenko
dd1fe2d2cd94caf51e3d697ffd861bf3a482f129
3,008
cpp
C++
DuplicateHandle/Process1/Source.cpp
DavidPetr/OS_Projects
58f383ad55fa24e05d8c93c2b4b37ae6e0f33a0f
[ "MIT" ]
null
null
null
DuplicateHandle/Process1/Source.cpp
DavidPetr/OS_Projects
58f383ad55fa24e05d8c93c2b4b37ae6e0f33a0f
[ "MIT" ]
1
2018-12-11T16:48:55.000Z
2018-12-11T19:06:20.000Z
DuplicateHandle/Process1/Source.cpp
DavidPetr/OS_Projects
58f383ad55fa24e05d8c93c2b4b37ae6e0f33a0f
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include <Windows.h> #include <winerror.h> #include <stdio.h> #include <iostream> #include "accctrl.h" #include "aclapi.h" #define count 5 void MYPerror(DWORD error_code = GetLastError()) { LPWSTR pBuffer = NULL; if (!FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM...
22.787879
107
0.663896
DavidPetr
dd275ff047937ddcedd4fac6d257446d41fb6bdf
954
cpp
C++
Final/Dataset/B2016_Z3_Z6/student5805.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z3_Z6/student5805.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z3_Z6/student5805.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <stdexcept> #include <set> std::vector<std::set<std::string>> Razvrstavanje(std::vector<std::string>v, int m) { if(m<0) throw std::logic_error ("Izuzetak: Razvrstavanje nemoguce"); } int main () { std::cout<<"Unesite broj djece: "; ...
24.461538
83
0.553459
Team-PyRated
dd27f7c0983d9d5f97c769e939e05f6671fc8b20
15,292
cpp
C++
digest-poly1305-test.cpp
tociyuki/libdigest-hmac-sha256-cxx11
d724d3d705f929ed2a80a7d7531bfe200ba8e4d1
[ "Unlicense" ]
13
2015-11-02T17:50:58.000Z
2021-11-04T16:24:26.000Z
digest-poly1305-test.cpp
tociyuki/libdigest-hmac-sha256-cxx11
d724d3d705f929ed2a80a7d7531bfe200ba8e4d1
[ "Unlicense" ]
1
2021-04-22T06:14:29.000Z
2021-04-22T06:14:29.000Z
digest-poly1305-test.cpp
tociyuki/libdigest-hmac-sha256-cxx11
d724d3d705f929ed2a80a7d7531bfe200ba8e4d1
[ "Unlicense" ]
6
2018-08-31T06:48:27.000Z
2020-11-13T13:19:15.000Z
#include <string> #include <array> #include <cstdint> #include <algorithm> #include "digest-poly1305.hpp" #include "mime-base16.hpp" #include "taptests.hpp" std::string decode_hex (std::string const& s) { std::string t; mime::decode_hex (s, t); return std::move (t); } std::array<std::uint8_t,32> decode_ke...
40.562334
75
0.620521
tociyuki
dd2ae44b5ac26d608ba2fc201341da58984f6b49
3,189
hpp
C++
XYCodeScan/Classes/Tool/CodeGenerator/Scan/Token/SC_TokenContext.hpp
shaktim888/obfTools
770a1177e0778c46ceab438719dc43594e618e22
[ "MIT" ]
null
null
null
XYCodeScan/Classes/Tool/CodeGenerator/Scan/Token/SC_TokenContext.hpp
shaktim888/obfTools
770a1177e0778c46ceab438719dc43594e618e22
[ "MIT" ]
null
null
null
XYCodeScan/Classes/Tool/CodeGenerator/Scan/Token/SC_TokenContext.hpp
shaktim888/obfTools
770a1177e0778c46ceab438719dc43594e618e22
[ "MIT" ]
null
null
null
// // SC_TokenContext.hpp // HYCodeScan // // Created by admin on 2020/7/14. // #ifndef SC_TokenContext_hpp #define SC_TokenContext_hpp #include <stdio.h> #include <string> #include <vector> namespace scan { enum BlockType { BLOCK_NONE, BLOCK_DEFINE, BLOCK_CPP, BLOCK_C_CPP_Method, BLOCK_OC_In...
19.327273
118
0.592035
shaktim888
dd2d54428566e243ccd7d0beadc1418ba7059aa9
2,775
cpp
C++
data_structures/dynamic_array/test_dynamic_array.cpp
dmytroshurko/Algorithms-and-Data-Structures
36c954835c60e24d95c8e3c1c811ba2bc91a4f1f
[ "MIT" ]
null
null
null
data_structures/dynamic_array/test_dynamic_array.cpp
dmytroshurko/Algorithms-and-Data-Structures
36c954835c60e24d95c8e3c1c811ba2bc91a4f1f
[ "MIT" ]
null
null
null
data_structures/dynamic_array/test_dynamic_array.cpp
dmytroshurko/Algorithms-and-Data-Structures
36c954835c60e24d95c8e3c1c811ba2bc91a4f1f
[ "MIT" ]
null
null
null
#include "dynamic_array.hpp" #include "gtest/gtest.h" TEST(DynamicArrayTest, CopyConstructor) { ds::DynamicArray<int> arr1; for (int i = 0; i < 100; ++i) { arr1.Append(i); } ds::DynamicArray<int> arr2(arr1); ASSERT_EQ(arr1.GetSize(), arr2.GetSize()); ASSERT_EQ(arr1.GetCapacity(), arr2.GetCapacity());...
21.511628
60
0.583784
dmytroshurko
dd36534dd12cf26c8383c50cd8165263cc5305e6
1,749
cpp
C++
linked-list/easy/21.MergeTwoSortedLists.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
linked-list/easy/21.MergeTwoSortedLists.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
linked-list/easy/21.MergeTwoSortedLists.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=21 lang=cpp * * [21] Merge Two Sorted Lists * * https://leetcode.com/problems/merge-two-sorted-lists/description/ * * algorithms * Easy (55.95%) * Likes: 6176 * Dislikes: 735 * Total Accepted: 1.3M * Total Submissions: 2.4M * Testcase Example: '[1,2,4]\n[1,3,4]' * * Merge ...
19.651685
73
0.50486
XiaotaoGuo