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
108
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
67k
⌀
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
757bb370aff8cec66cf79dcffe9589f88ec313c1
9,950
cc
C++
src/lib/remote_rom/backend/nic_ip/server.cc
cproc/genode-world
c3b9d920027b6edbd873e4ff8f58005f2456a9ed
[ "MIT" ]
43
2015-12-16T15:29:25.000Z
2022-02-06T12:40:35.000Z
src/lib/remote_rom/backend/nic_ip/server.cc
cproc/genode-world
c3b9d920027b6edbd873e4ff8f58005f2456a9ed
[ "MIT" ]
267
2015-12-17T15:09:32.000Z
2022-03-30T11:36:27.000Z
src/lib/remote_rom/backend/nic_ip/server.cc
cproc/genode-world
c3b9d920027b6edbd873e4ff8f58005f2456a9ed
[ "MIT" ]
37
2015-12-16T15:40:08.000Z
2021-04-27T14:08:50.000Z
/* * \brief Server implementation * \author Johannes Schlatow * \author Edgard Schmidt * \date 2018-11-06 */ #include <base.h> #include <backend_base.h> namespace Remote_rom { using Genode::Cstring; using Genode::Microseconds; class Content_sender; class Backend_server; }; class Remote_rom::Content_sen...
24.507389
75
0.642312
cproc
757c485b28a10b331ba2b5458a3c07cac5d7d9b5
2,829
cpp
C++
toonz/sources/common/tcolor/tcolorfunctions.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
3,710
2016-03-26T00:40:48.000Z
2022-03-31T21:35:12.000Z
toonz/sources/common/tcolor/tcolorfunctions.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
4,246
2016-03-26T01:21:45.000Z
2022-03-31T23:10:47.000Z
toonz/sources/common/tcolor/tcolorfunctions.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
633
2016-03-26T00:42:25.000Z
2022-03-17T02:55:13.000Z
#include <cstring> #include "tcolorfunctions.h" #include "tpixelutils.h" TPixel32 TColorFader::operator()(const TPixel32 &color) const { TPixel32 ret = blend(color, m_color, m_fade); return ret; } bool TColorFader::getParameters(Parameters &p) const { p.m_mR = p.m_mG = p.m_mB = p.m_mM = (1 - m_fade); p.m_cR ...
30.75
78
0.521386
rozhuk-im
757caad7267e37f6c9b4817c2b9d7e4fa4bbe42a
4,707
cpp
C++
editor/terrain/voxel_terrain_editor_plugin.cpp
PhilipWee/godot_voxel
117802c80766d040ae4d549319d90636512e3d8e
[ "MIT" ]
1
2020-11-28T06:44:32.000Z
2020-11-28T06:44:32.000Z
editor/terrain/voxel_terrain_editor_plugin.cpp
PhilipWee/godot_voxel
117802c80766d040ae4d549319d90636512e3d8e
[ "MIT" ]
null
null
null
editor/terrain/voxel_terrain_editor_plugin.cpp
PhilipWee/godot_voxel
117802c80766d040ae4d549319d90636512e3d8e
[ "MIT" ]
null
null
null
#include "voxel_terrain_editor_plugin.h" #include "../../generators/voxel_generator.h" #include "../../terrain/voxel_lod_terrain.h" #include "../../terrain/voxel_terrain.h" #include "../graph/voxel_graph_node_inspector_wrapper.h" VoxelTerrainEditorPlugin::VoxelTerrainEditorPlugin(EditorNode *p_node) { _restart_stream...
34.610294
113
0.756533
PhilipWee
757cace84ded8c41e9ff450a96b4cfb16ab7e6d4
172
cpp
C++
DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetResultData.cpp
DeadMonkeyEntertaiment/ue4-test-automation
d5ba1e22c52bdabdd331766f9272dfc1d4b20962
[ "MIT" ]
128
2020-04-22T12:51:08.000Z
2022-03-30T07:21:27.000Z
DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetResultData.cpp
DeadMonkeyEntertaiment/ue4-test-automation
d5ba1e22c52bdabdd331766f9272dfc1d4b20962
[ "MIT" ]
23
2020-05-13T11:15:33.000Z
2022-03-30T19:24:26.000Z
DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetResultData.cpp
DeadMonkeyEntertaiment/ue4-test-automation
d5ba1e22c52bdabdd331766f9272dfc1d4b20962
[ "MIT" ]
46
2020-04-23T14:33:29.000Z
2022-03-24T08:44:56.000Z
#include "DaeTestPerformanceBudgetResultData.h" FName FDaeTestPerformanceBudgetResultData::GetDataType() const { return TEXT("FDaeTestPerformanceBudgetResultData"); }
24.571429
62
0.831395
DeadMonkeyEntertaiment
758082f5c8f5ed3f6386881eeb2d77cd54d18561
2,374
cpp
C++
Sources/Rosetta/Battlegrounds/Triggers/Trigger.cpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
62
2017-08-21T14:11:00.000Z
2018-04-23T16:09:02.000Z
Sources/Rosetta/Battlegrounds/Triggers/Trigger.cpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
37
2017-08-21T11:13:07.000Z
2018-04-30T08:58:41.000Z
Sources/Rosetta/Battlegrounds/Triggers/Trigger.cpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
10
2017-08-21T03:44:12.000Z
2018-01-10T22:29:10.000Z
// This code is based on Sabberstone project. // Copyright (c) 2017-2021 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2017-2021 Chris Ohk #include <Rosetta/Battlegrounds/Models/Minion.hpp> #include <Rosetta/Battlegrounds/Models...
21.581818
79
0.596883
Hearthstonepp
7583028bb868e9a44275687f2db8718c678511da
805
cc
C++
test/main.cc
blsim/residue-cpp
2f052a6fab6798fc700a55ea29febf3189236226
[ "Apache-2.0" ]
2
2018-12-11T05:11:08.000Z
2019-05-24T06:02:35.000Z
test/main.cc
blsim/residue-cpp
2f052a6fab6798fc700a55ea29febf3189236226
[ "Apache-2.0" ]
null
null
null
test/main.cc
blsim/residue-cpp
2f052a6fab6798fc700a55ea29febf3189236226
[ "Apache-2.0" ]
2
2018-12-11T05:11:11.000Z
2019-05-24T06:02:35.000Z
// // Residue.h // // Official C++ client library for Residue logging server // // Copyright (C) 2017-present Amrayn Web Services // Copyright (C) 2017-present @abumusamq // // https://muflihun.com/ // https://amrayn.com // https://github.com/amrayn/residue-cpp/ // // See https://github.com/amrayn/residue-cpp/b...
25.15625
76
0.67205
blsim
7585d7bbefd3316fdaa8be8e2910cab34bf65f3a
25,493
cpp
C++
tools/pb2frigg/src/main.cpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
935
2018-05-23T14:56:18.000Z
2022-03-29T07:27:20.000Z
tools/pb2frigg/src/main.cpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
314
2018-05-04T15:58:06.000Z
2022-03-30T16:24:17.000Z
tools/pb2frigg/src/main.cpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
65
2019-04-21T14:26:51.000Z
2022-03-12T03:16:41.000Z
#include <cassert> #include <iostream> #include <sstream> #include <google/protobuf/descriptor.h> #include <google/protobuf/compiler/plugin.h> #include <google/protobuf/compiler/code_generator.h> #include <google/protobuf/io/zero_copy_stream.h> #include <google/protobuf/io/printer.h> namespace pb = google::protobuf; ...
33.19401
91
0.653709
kITerE
7587d125dfbda3caf4c566764e312314f1c3a834
559
cpp
C++
libraries/LinearHallSensor/LinearHallSensor.cpp
llebron/arduino
0350e8ad50aaf41a743a09ae437dc687f58337c8
[ "BSD-2-Clause" ]
null
null
null
libraries/LinearHallSensor/LinearHallSensor.cpp
llebron/arduino
0350e8ad50aaf41a743a09ae437dc687f58337c8
[ "BSD-2-Clause" ]
null
null
null
libraries/LinearHallSensor/LinearHallSensor.cpp
llebron/arduino
0350e8ad50aaf41a743a09ae437dc687f58337c8
[ "BSD-2-Clause" ]
null
null
null
#include "LinearHallSensor.h" LinearHallSensor::LinearHallSensor(int sensorPin) { pin = sensorPin; north = false; south = false; } bool LinearHallSensor::atNorth() { return north; } bool LinearHallSensor::atSouth() { return south; } void LinearHallSensor::update() { //read the sensor, and set north or south ...
17.46875
80
0.67263
llebron
75886f65f1a2f8180d1ae2f72f1a60b07bd446bc
2,279
cxx
C++
src/path_guiding_tree.cxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
16
2018-04-25T08:14:14.000Z
2022-01-29T06:19:16.000Z
src/path_guiding_tree.cxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
null
null
null
src/path_guiding_tree.cxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
null
null
null
#include "path_guiding_tree.hxx" #ifdef HAVE_JSON #include "json.hxx" #include "rapidjson/document.h" #endif namespace guiding { namespace kdtree { void LeafIterator::DecentToNextLeaf() noexcept { const Double3 o = ray.org; const Double3 d = ray.dir; while (true) { auto [node, tnear, tfar] = stack....
19.313559
89
0.593681
DaWelter
758911072b4d1570d760d56cc8ff86e88406610c
2,694
cpp
C++
libtbag/box/BoxCursor.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
21
2016-04-05T06:08:41.000Z
2022-03-28T10:20:22.000Z
libtbag/box/BoxCursor.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
null
null
null
libtbag/box/BoxCursor.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
2
2019-07-16T00:37:21.000Z
2021-11-10T06:14:09.000Z
/** * @file BoxCursor.cpp * @brief BoxCursor class implementation. * @author zer0 * @date 2019-12-30 */ #include <libtbag/box/BoxCursor.hpp> // ------------------- NAMESPACE_LIBTBAG_OPEN // ------------------- namespace box { BoxCursor::BoxCursor() TBAG_NOEXCEPT { // EMPTY. } BoxCursor::BoxCursor(box...
18.202703
105
0.665924
osom8979
7589cd35603a100a94f29140d3802f21a8962293
2,516
hpp
C++
include/gridtools/stencil_composition/icosahedral_grids/accessor.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/stencil_composition/icosahedral_grids/accessor.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/stencil_composition/icosahedral_grids/accessor.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include <type_traits> #include "../../common/defs.hpp" #include "../../common/host_device.hpp" #include "../../met...
40.580645
112
0.713434
jdahm
758cefa6b5f61b54a3267a25604dcaefaaba1d79
865
cpp
C++
hackerRank/interview prep kit/basic/countingValleys.cpp
mateuslatrova/competitive-programming
96f24df172e14d2c52c4682aeaad132710a09dc7
[ "MIT" ]
null
null
null
hackerRank/interview prep kit/basic/countingValleys.cpp
mateuslatrova/competitive-programming
96f24df172e14d2c52c4682aeaad132710a09dc7
[ "MIT" ]
null
null
null
hackerRank/interview prep kit/basic/countingValleys.cpp
mateuslatrova/competitive-programming
96f24df172e14d2c52c4682aeaad132710a09dc7
[ "MIT" ]
null
null
null
// Problem: https://www.hackerrank.com/challenges/counting-valleys/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=warmup&h_r=next-challenge&h_v=zen #include <bits/stdc++.h> using namespace std; /* * Complete the 'countingValleys' function below. * * The function is expec...
23.378378
190
0.601156
mateuslatrova
759187034ad95b99b6743f8ee2d0989b34a124ed
487
hpp
C++
src/mseq/some.hpp
lisqlql/constregex
77087bf07d1f402898c848216491c583962089e3
[ "MIT" ]
1
2017-10-06T12:24:25.000Z
2017-10-06T12:24:25.000Z
src/mseq/some.hpp
lisqlql/constregex
77087bf07d1f402898c848216491c583962089e3
[ "MIT" ]
null
null
null
src/mseq/some.hpp
lisqlql/constregex
77087bf07d1f402898c848216491c583962089e3
[ "MIT" ]
null
null
null
#ifndef MSEQ_SOME_HPP__ #define MSEQ_SOME_HPP__ #include "seq.hpp" namespace mseq { template <typename Tseq, template <typename> class Tfunctor> struct some { enum { value = Tfunctor<typename Tseq::hd>::value || some<typename Tseq::tl, Tfunctor>::value ...
18.037037
64
0.554415
lisqlql
7593083f36a4cae48c5bfaad4135a391251a2230
6,052
cpp
C++
tevfik_aksoy/graph.cpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
1
2022-02-07T15:52:51.000Z
2022-02-07T15:52:51.000Z
tevfik_aksoy/graph.cpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
null
null
null
tevfik_aksoy/graph.cpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
2
2022-02-07T15:53:00.000Z
2022-02-12T13:31:36.000Z
#include "graph.hpp" #include <cassert> #include <iostream> namespace { bool is_depth_valid( int depth, const std::vector<std::vector<uni_cpp_practice::VertexId>>& depth_map) { if (depth > depth_map.size()) return false; if (depth_map[depth].empty()) return false; return true; } } ...
31.357513
81
0.65499
AxoyTO
7595f432b6f8cadd555870b9015fa1c6eee04da7
1,297
cpp
C++
Game/Player.cpp
maxPrakken/Intake
42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e
[ "MIT" ]
null
null
null
Game/Player.cpp
maxPrakken/Intake
42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e
[ "MIT" ]
null
null
null
Game/Player.cpp
maxPrakken/Intake
42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e
[ "MIT" ]
null
null
null
#include "Player.h" Player::Player() { texturePath = "assets/Player.png"; size = Vector2(50, 50); health = 5; maxHealth = health; speed = 200; bulletSpeed = -10; hasShot = false; velocity = Vector2(0, 0); defaultRPM = 250; RPM = defaultRPM; RPMTimer = 0; } Player::~Player() { } void Player::update(do...
17.065789
79
0.629915
maxPrakken
7599735ee937f02f9fc95b173992dab85803294f
7,348
cpp
C++
archives/problemset/acm.sgu.ru/194.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
6
2019-03-23T21:06:25.000Z
2021-06-27T05:22:41.000Z
archives/problemset/acm.sgu.ru/194.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
1
2020-10-11T08:14:00.000Z
2020-10-11T08:14:00.000Z
archives/problemset/acm.sgu.ru/194.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
3
2019-03-23T21:06:31.000Z
2021-10-24T01:44:01.000Z
/* AUTHOR: Su Jiao DATE: 2010-7-2 DESCRIPTION: $DESCRIPTION */ //Test#1: USACO Training ditch namespace sj { template<int MAXV,int MAXEDGE> class Relabel_To_Front { public: struct rtf_edge{int v,c;rtf_edge* next;rtf_edge* back;}; ...
34.660377
79
0.336962
BoleynSu
759daaf4493f197942a2fa788d1303a298a26657
1,179
cpp
C++
sources/SBFramework/SBAsyncDataLoad/SBRequestPull.cpp
podgorskiy/ProceduralSky
386d091be8e8f4d7b5a838506c5b481779e56e42
[ "MIT" ]
3
2016-11-04T16:16:24.000Z
2019-04-14T07:24:00.000Z
sources/SBFramework/SBAsyncDataLoad/SBRequestPull.cpp
podgorskiy/ProceduralSky
386d091be8e8f4d7b5a838506c5b481779e56e42
[ "MIT" ]
null
null
null
sources/SBFramework/SBAsyncDataLoad/SBRequestPull.cpp
podgorskiy/ProceduralSky
386d091be8e8f4d7b5a838506c5b481779e56e42
[ "MIT" ]
null
null
null
#include "SBRequestPull.h" #include "SBRequest.h" #include "SBRequestData.h" #include "SBRequestTexture.h" #include <cassert> using namespace SB; RequestPull::RequestPull() :m_maxCount(1), m_runningCount(0) { } void RequestPull::SetUrlPrefix(const std::string& URL) { m_urlPrefix = URL; } const std::string& Request...
19.65
71
0.709075
podgorskiy
75a4da904dd26a809aae83e5382ceaca830d496f
2,264
cpp
C++
chtho/net/http/HTTPContext.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
chtho/net/http/HTTPContext.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
chtho/net/http/HTTPContext.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Qizhou Guo // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "HTTPContext.h" #include "net/Buffer.h" namespace chtho { namespace net { /* request structure GET /hello.txt HTTP/1.1 User-Agent: curl/7.16.3 libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2...
24.879121
71
0.590548
WineChord
b5a4da27b63b9ded7ddf4211df3659f7370a3c6f
12,948
cpp
C++
test/jnc_test_qt/mainwindow.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
test/jnc_test_qt/mainwindow.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
test/jnc_test_qt/mainwindow.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
//.............................................................................. // // This file is part of the Jancy toolkit. // // Jancy is distributed under the MIT license. // For details see accompanying license.txt file, // the public copy of which is also available at: // http://tibbo.com/downloads/archive/...
23.371841
108
0.690454
project-kotinos
b5ac75d11050961bdae8f1d81ea338089705ebbe
14,753
cpp
C++
applications/StructuralMechanicsApplication/custom_processes/prism_neighbours_process.cpp
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
2
2020-04-30T19:13:08.000Z
2021-04-14T19:40:47.000Z
applications/StructuralMechanicsApplication/custom_processes/prism_neighbours_process.cpp
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
1
2020-04-30T19:19:09.000Z
2020-05-02T14:22:36.000Z
applications/StructuralMechanicsApplication/custom_processes/prism_neighbours_process.cpp
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
1
2020-06-12T08:51:24.000Z
2020-06-12T08:51:24.000Z
// KRATOS ___| | | | // \___ \ __| __| | | __| __| | | __| _` | | // | | | | | ( | | | | ( | | // _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS // // License: BSD License // ...
42.151429
116
0.568156
AndreaVoltan
b5ad4cee841098ef6cc52b767d9cc4a26f4af676
1,440
cpp
C++
cpp_CS225/daily-exercise/day35-BtreeSearch/potd-q35-clean/main.cpp
Rothdyt/codes-for-courses
a2dfea516ebc7cabef31a5169533b6da352e7ccb
[ "MIT" ]
4
2018-09-23T00:00:13.000Z
2018-11-02T22:56:35.000Z
cpp_CS225/daily-exercise/day35-BtreeSearch/potd-q35/main.cpp
Rothdyt/codes-for-courses
a2dfea516ebc7cabef31a5169533b6da352e7ccb
[ "MIT" ]
null
null
null
cpp_CS225/daily-exercise/day35-BtreeSearch/potd-q35/main.cpp
Rothdyt/codes-for-courses
a2dfea516ebc7cabef31a5169533b6da352e7ccb
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> #include <vector> #include "BTreeNode.h" std::string convert(BTreeNode* root) { std::string s = ""; if (root==NULL) return s; for (size_t i=0; i<root->elements_.size(); i++) s += std::to_string(root->elements_[i]) + " "; return s; } int main() { ...
32
115
0.558333
Rothdyt
b5adb75e820882d2f2f499bf5953453435883cc6
9,184
cpp
C++
final-project/repositories/Digital_Annealer/MSOCFall2020-main/final_project/code-opt/code_Oo3/da_final.cpp
bol-edu/2020-fall-ntu
5e009875dec5a3bbcebd1b3fae327990371d1b6a
[ "MIT" ]
7
2021-02-10T17:59:48.000Z
2021-09-27T15:02:56.000Z
final-project/repositories/Digital_Annealer/MSOCFall2020-main/final_project/code-opt/code_Oo3/da_final.cpp
bol-edu/2020-fall-ntu
5e009875dec5a3bbcebd1b3fae327990371d1b6a
[ "MIT" ]
null
null
null
final-project/repositories/Digital_Annealer/MSOCFall2020-main/final_project/code-opt/code_Oo3/da_final.cpp
bol-edu/2020-fall-ntu
5e009875dec5a3bbcebd1b3fae327990371d1b6a
[ "MIT" ]
1
2022-03-22T01:46:01.000Z
2022-03-22T01:46:01.000Z
#include "da.h" #include "math.h" static ap_uint<32> lfsr=0; unsigned int pseudo_random() { #pragma HLS INLINE if (lfsr == 0 ) lfsr = 123; bool b_32 = lfsr.get_bit(32-32); bool b_22 = lfsr.get_bit(32-22); bool b_2 = lfsr.get_bit(32-2); bool b_1 = lfsr.get_bit(32-1); bool new_bit = b_32 ^ b_22 ^ b_2 ^ ...
30.511628
111
0.587217
bol-edu
b5add455d862a552f5c022684076c0f78dd05a50
415
cpp
C++
Tut 29 Constructor/Constructor.cpp
anuragpathak0/C-Plus-Plus
5e79e3c354b3544f385c77dfbc3fb0a9cef04f64
[ "MIT" ]
null
null
null
Tut 29 Constructor/Constructor.cpp
anuragpathak0/C-Plus-Plus
5e79e3c354b3544f385c77dfbc3fb0a9cef04f64
[ "MIT" ]
null
null
null
Tut 29 Constructor/Constructor.cpp
anuragpathak0/C-Plus-Plus
5e79e3c354b3544f385c77dfbc3fb0a9cef04f64
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; class crdin { int x, y; friend float dist(crdin a, crdin b); public: crdin() { cin >> x >> y; } }; float dist(crdin a, crdin b) { return sqrt((a.x - b.x) * (a.x - b.x) + (a.y - b.y) * (a.y - b.y)); } int main() { crdin a, ...
15.37037
76
0.520482
anuragpathak0
b5b1b182a1bee91af559ed0bc29cd27428e0c834
1,829
cpp
C++
1-Array-And-String/OneAway.cpp
sonugiri1043/Cracking-The-Coding-Interview
102cdbc3199d04ab89f5d6894f0489fde352b0d7
[ "MIT" ]
8
2020-05-17T13:48:19.000Z
2022-02-20T06:42:38.000Z
1-Array-And-String/OneAway.cpp
sonugiri1043/Cracking-The-Coding-Interview
102cdbc3199d04ab89f5d6894f0489fde352b0d7
[ "MIT" ]
null
null
null
1-Array-And-String/OneAway.cpp
sonugiri1043/Cracking-The-Coding-Interview
102cdbc3199d04ab89f5d6894f0489fde352b0d7
[ "MIT" ]
6
2021-04-09T21:34:15.000Z
2021-12-13T05:40:42.000Z
/* There are three types of edits that can be performed on strings: insert a character, remove a character, or replace a character. Given two strings, write a function to check if they are one edit (or zero edits) away. EXAMPLE pale, ple -> true pales, pale -> true pale, bale -> true pale, bake -> f...
23.448718
86
0.593767
sonugiri1043
b5b3ef1c717a5b2b3eb67fb3024aeba7bc276175
3,446
cpp
C++
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/SolveKCenterSubproblems.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/SolveKCenterSubproblems.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/SolveKCenterSubproblems.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "./INCLUDE/LKH.h" /* * The SolveKCenterSubproblems function attempts to improve a given tour * by means of a partitioning scheme based on approximate K-center clustering. * * The overall region containing the nodes is subdivided into K clusters, * where K = ceil(Dimension/SubproblemSize). Each cluster t...
32.509434
79
0.657864
BaiChunhui-9803
b5b78a0899df08805f07dd001d8cb02d05bee6a3
4,950
cpp
C++
sxaccelerate/src/io/SxParser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
sxaccelerate/src/io/SxParser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
sxaccelerate/src/io/SxParser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The general purpose cross platform C/C++ framework // // S x A c c e l e r a t e // // Home: https://www.sxlib.de // License: Apache 2 // Authors: see src/AUTHOR...
24.50495
81
0.565859
ashtonmv
b5b7ef46fdcc6fe94a9e49386cf70591e57bdaf4
1,011
cpp
C++
atcoder/abc/207/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
atcoder/abc/207/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
atcoder/abc/207/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
/* * @Author: tusikalanse * @Date: 2021-06-26 19:48:59 * @LastEditTime: 2021-06-26 20:09:27 * @LastEditors: tusikalanse * @Description: * @FilePath: /atcoder/abc/207/c.cpp */ #include <bits/stdc++.h> using namespace std; using LL = long long; LL gcd(LL a, LL b) { return b == 0 ? a : gcd(b, a % b); } const i...
20.22
43
0.454006
tusikalanse
b5b92fbcbabae90cc0b20cc1e93217b5eca40ea4
1,519
cpp
C++
cpp-leetcode/leetcode874-walking-robot-simulation_set_with_pair1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
45
2021-07-25T00:45:43.000Z
2022-03-24T05:10:43.000Z
cpp-leetcode/leetcode874-walking-robot-simulation_set_with_pair1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
null
null
null
cpp-leetcode/leetcode874-walking-robot-simulation_set_with_pair1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
15
2021-07-25T00:40:52.000Z
2021-12-27T06:25:31.000Z
#include<vector> #include<algorithm> #include<iostream> #include<bits/stdc++.h> using namespace std; class Solution { public: int robotSim(vector<int>& commands, vector<vector<int>>& obstacles) { int dx[] = {0, 1, 0, -1}; int dy[] = {1, 0, -1, 0}; int x = 0, y = 0; int curIdx = 0; ...
27.125
73
0.407505
yanglr
b5bf40b9a49616c5a17bd2692bbb89d2f27793f0
1,562
cpp
C++
.LHP/.Lop11/.HSG/.T.Van/QG09/MAZE/MAZE/MAZE.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/.T.Van/QG09/MAZE/MAZE/MAZE.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/.T.Van/QG09/MAZE/MAZE/MAZE.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstdio> #include <queue> #define maxN 2501 #define maxH 51 #define row(x) ((x) / n) #define col(x) ((x) % n) #define idx(x, y) ((x) * m + (y)) #define floor first #define pos second typedef int maxn; typedef std::pair <maxn, maxn> co_t; maxn H, m, n, step[maxH][max...
20.826667
89
0.520487
sxweetlollipop2912
b5c1e556e8aec70f620ee4bda4281bdfc04d8efe
185
cpp
C++
code/nCr.cpp
wewark/ACM-Library
e4cf72d0d11086d284fe0be3b1d322a5f6df3a6e
[ "MIT" ]
1
2019-10-29T22:17:40.000Z
2019-10-29T22:17:40.000Z
code/nCr.cpp
Keyboard2018/ACM-Library
2ab2bf6424345c79a83f0de642bacf4de3e0d676
[ "MIT" ]
null
null
null
code/nCr.cpp
Keyboard2018/ACM-Library
2ab2bf6424345c79a83f0de642bacf4de3e0d676
[ "MIT" ]
1
2019-01-20T14:58:54.000Z
2019-01-20T14:58:54.000Z
ll C[2705][2705]; void initC() { for (int i = 1; i < 2705; i++) { C[i][0] = C[i][i] = 1; for (int j = 1; j < i; j++) { C[i][j] = (C[i - 1][j] + C[i - 1][j - 1]) % MOD; } } }
18.5
51
0.362162
wewark
b5c6bb94b2715359913f6b2fcf366e3bfe76d370
1,781
cpp
C++
aoj/dsl/dsl_2_a.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
aoj/dsl/dsl_2_a.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
aoj/dsl/dsl_2_a.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<int, int> P; typedef pair<ll, ll> Pll; typedef vector<int> Vi; typedef tuple<int, int, int> T; #define FOR(i,s,x) for(int i=s;i<(int)(x);i++) #define REP(i,x) FOR(i,0,x) #define ALL(c) c.begin(), c.end() #define MP make_pair #define D...
20.952941
58
0.520494
knuu
b5c79c3c6f8e2ade54e21aaa3370a25c3d4f8fd4
234
cpp
C++
A. Vasya and Socks.cpp
Samim-Arefin/Codeforce-Problem-Solution
7219ee6173faaa9e06231d4cd3e9ba292ae27ce3
[ "MIT" ]
null
null
null
A. Vasya and Socks.cpp
Samim-Arefin/Codeforce-Problem-Solution
7219ee6173faaa9e06231d4cd3e9ba292ae27ce3
[ "MIT" ]
null
null
null
A. Vasya and Socks.cpp
Samim-Arefin/Codeforce-Problem-Solution
7219ee6173faaa9e06231d4cd3e9ba292ae27ce3
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n, m; while (cin >> n >> m) { int sum = 0; for (int i = 1; i <= n; i++) { sum += 1; if (sum % m == 0) { sum += 1; } } cout << sum << '\n'; } }
12.315789
30
0.410256
Samim-Arefin
b5ce8e624b2023697e0eed5ffc1598d5af3c6367
11,859
cc
C++
invites/src/common/invites.cc
yiqideren/firebase-cpp-sdk
6a0476b7e8a6dbd29c140efa2671266ed6c2a6d7
[ "Apache-2.0" ]
1
2021-06-18T11:03:03.000Z
2021-06-18T11:03:03.000Z
invites/src/common/invites.cc
yiqideren/firebase-cpp-sdk
6a0476b7e8a6dbd29c140efa2671266ed6c2a6d7
[ "Apache-2.0" ]
null
null
null
invites/src/common/invites.cc
yiqideren/firebase-cpp-sdk
6a0476b7e8a6dbd29c140efa2671266ed6c2a6d7
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
35.085799
80
0.679906
yiqideren
b5da2ecd1db3090c21511430835c7356410fa16f
10,038
cpp
C++
Options.cpp
sergrt/FileProtect
ee255fb850cedb8cdd4774a469124f4ad8ca62f0
[ "Apache-2.0" ]
null
null
null
Options.cpp
sergrt/FileProtect
ee255fb850cedb8cdd4774a469124f4ad8ca62f0
[ "Apache-2.0" ]
null
null
null
Options.cpp
sergrt/FileProtect
ee255fb850cedb8cdd4774a469124f4ad8ca62f0
[ "Apache-2.0" ]
null
null
null
#include "Options.h" #include <QSettings> #include "../cryptopp/aes.h" #include "../cryptopp/modes.h" #include "../cryptopp/filters.h" #include "CryptoppUtils.h" // Key and IV for options encryption // keyStr should be 64 symbols (to be converted to 32 bytes) and ivStr should be 32 symbols const std::string keyStr = ...
32.803922
113
0.662483
sergrt
b5dbfef9ea7a4c5667ff8ec66cc68db65dcec4f9
3,370
cpp
C++
qtmultimedia/src/plugins/directshow/player/directshowvideorenderercontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtmultimedia/src/plugins/directshow/player/directshowvideorenderercontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtmultimedia/src/plugins/directshow/player/directshowvideorenderercontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
28.803419
106
0.675371
wgnet
b5dc3e3a769ea079bb7ef79422c3bf309f899cf9
2,917
cpp
C++
private/tst/avb_streamhandler/src/IasTestAvbPacket.cpp
tnishiok/AVBStreamHandler
7621daf8c9238361e030fe35188b921ee8ea2466
[ "BSL-1.0", "BSD-3-Clause" ]
13
2018-09-26T13:32:35.000Z
2021-05-20T10:01:12.000Z
private/tst/avb_streamhandler/src/IasTestAvbPacket.cpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
23
2018-10-03T22:45:21.000Z
2020-03-05T23:40:12.000Z
private/tst/avb_streamhandler/src/IasTestAvbPacket.cpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
22
2018-09-14T03:55:34.000Z
2021-12-07T01:13:27.000Z
/* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file IasTestAvbPacket.cpp * @date 2018 */ #include "gtest/gtest.h" #define private public #define protected public #include "avb_streamhandler/IasAvbPacket.hpp" #include "avb_streamhandler/IasAvb...
20.985612
67
0.716147
tnishiok
b5dd0218897ef7f655251362975027c41ae5710d
787
cpp
C++
11401.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
11401.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
11401.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
#include <stdio.h> #define MOD 1000000007 typedef unsigned long long ull; ull factorial(ull n) { ull ret = 1; while(n) { ret = (ret * n) % MOD; n--; } return ret; } ull pow(ull m, ull n) { if(n == 0) return 1; if(n == 1) return m; if(n&1 == 1) { return ((pow(m...
18.302326
73
0.457433
gcjjyy
b5e189a4659cfd0d5fabc9f829932bc71616a1ee
13,874
cpp
C++
indra/llcommon/tests/lldependencies_test.cpp
SaladDais/LSO2-VM-Performance
d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638
[ "ISC" ]
1
2022-01-29T07:10:03.000Z
2022-01-29T07:10:03.000Z
indra/llcommon/tests/lldependencies_test.cpp
SaladDais/LSO2-VM-Performance
d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638
[ "ISC" ]
null
null
null
indra/llcommon/tests/lldependencies_test.cpp
SaladDais/LSO2-VM-Performance
d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638
[ "ISC" ]
1
2021-10-01T22:22:27.000Z
2021-10-01T22:22:27.000Z
/** * @file lldependencies_tut.cpp * @author Nat Goodspeed * @date 2008-09-17 * @brief Test of lldependencies.h * * $LicenseInfo:firstyear=2008&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and...
45.788779
150
0.607756
SaladDais
b5ec4c2e806882a91efd364610c318fb9f12e3bc
1,755
cpp
C++
src/triLegacy/rendering/bin/simpleImageOutput/main.cpp
moddyz/Tri
c99532b8f3f19e69dacc0da2bdcc2d6bd944f82b
[ "MIT" ]
null
null
null
src/triLegacy/rendering/bin/simpleImageOutput/main.cpp
moddyz/Tri
c99532b8f3f19e69dacc0da2bdcc2d6bd944f82b
[ "MIT" ]
1
2020-09-23T06:08:21.000Z
2020-09-24T06:17:41.000Z
src/triLegacy/rendering/bin/simpleImageOutput/main.cpp
moddyz/Tri
c99532b8f3f19e69dacc0da2bdcc2d6bd944f82b
[ "MIT" ]
null
null
null
#include <cxxopts.hpp> #include <tri/base/log.h> #include <tri/rendering/export.h> #include <tri/rendering/frameBuffer.h> #include <gm/types/vec2iRange.h> #include <gm/types/vec3f.h> TRI_NS_USING /// \struct Program arguments struct ProgramArgs { std::string m_outFilePath; //< The output frameBuffer file to wri...
31.339286
118
0.622792
moddyz
b5ed7154a8d3586835fb1a1b98f7d7cc9ddf1d38
32,148
cpp
C++
RegExIDE_Develop/RegExIDE_Source_Code/RegularExpressionIDE.cpp
kcrossen/RegExIDE
998bb4f87d91a05da4aa0c38787cab6afb5cb888
[ "MIT" ]
4
2018-01-13T16:11:19.000Z
2019-04-08T04:45:48.000Z
RegExIDE_Develop/RegExIDE_Source_Code/RegularExpressionIDE.cpp
kcrossen/RegExIDE
998bb4f87d91a05da4aa0c38787cab6afb5cb888
[ "MIT" ]
null
null
null
RegExIDE_Develop/RegExIDE_Source_Code/RegularExpressionIDE.cpp
kcrossen/RegExIDE
998bb4f87d91a05da4aa0c38787cab6afb5cb888
[ "MIT" ]
4
2017-01-24T14:50:36.000Z
2019-07-22T03:15:58.000Z
/**************************************************************************** ** ** Copyright (C) 2016 Ken Crossen, example expanded into useful application ** ** "Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions are ** met: ...
43.738776
1,115
0.639293
kcrossen
b5f0cf541ac768f1acdf1e1de323bd9bc3c74969
5,215
hpp
C++
middleware/libGalapagos/galapagos_net_tcp_server_send.hpp
JKHHai/galapagos
9fcd0cd1c51a796192f85f0cb119cd2dbf16f852
[ "MIT" ]
8
2019-04-09T04:36:33.000Z
2020-11-14T23:02:56.000Z
middleware/libGalapagos/galapagos_net_tcp_server_send.hpp
JKHHai/galapagos
9fcd0cd1c51a796192f85f0cb119cd2dbf16f852
[ "MIT" ]
8
2020-01-19T19:39:12.000Z
2020-08-25T20:16:14.000Z
middleware/libGalapagos/galapagos_net_tcp_server_send.hpp
JKHHai/galapagos
9fcd0cd1c51a796192f85f0cb119cd2dbf16f852
[ "MIT" ]
4
2020-07-06T17:17:13.000Z
2022-03-17T22:07:04.000Z
//=============================== // AUTHOR : Naif Tarafdar // CREATE DATE : April 20, 2019 //=============================== #ifndef __GALAPAGOS_NET_TCP_SERVER_SEND_HPP__ // if x.h hasn't been included yet... #define __GALAPAGOS_NET_TCP_SERVER_SEND_HPP__ #include <cstdlib> #include <iostream> #include <thr...
31.606061
251
0.645062
JKHHai
b5f770f98e2a7b87145cf6999b76432afce9762b
2,286
cpp
C++
Source/src/Components/ComponentPointLight.cpp
Erick9Thor/Engine3D
32d78f79723fb7c319f79d5e26cdc26481d5cb35
[ "MIT" ]
1
2021-11-17T19:20:07.000Z
2021-11-17T19:20:07.000Z
Source/src/Components/ComponentPointLight.cpp
Erick9Thor/Engine3D
32d78f79723fb7c319f79d5e26cdc26481d5cb35
[ "MIT" ]
null
null
null
Source/src/Components/ComponentPointLight.cpp
Erick9Thor/Engine3D
32d78f79723fb7c319f79d5e26cdc26481d5cb35
[ "MIT" ]
null
null
null
#include "ComponentPointLight.h" #include "../UI/ImGuiUtils.h" #include "ComponentTransform.h" #include "../Scene.h" #include "debugdraw.h" #include <IconsFontAwesome5.h> #include "imgui.h" #include <algorithm> ComponentPointLight::ComponentPointLight(GameObject* conatiner) : Component(Component::Type::POINTLIGH...
25.120879
82
0.731409
Erick9Thor
b5f7b5594697847aa2c9981af2f8f17b8c9c768e
3,649
cpp
C++
BitSet128.cpp
RPG-18/highloadcup2018
b7816d861581d8d8ffc64b66f9e46e2f8341702d
[ "MIT" ]
null
null
null
BitSet128.cpp
RPG-18/highloadcup2018
b7816d861581d8d8ffc64b66f9e46e2f8341702d
[ "MIT" ]
1
2019-07-22T08:57:03.000Z
2019-07-22T08:57:03.000Z
BitSet128.cpp
RPG-18/highloadcup2018
b7816d861581d8d8ffc64b66f9e46e2f8341702d
[ "MIT" ]
null
null
null
#define RAPIDJSON_PARSE_DEFAULT_FLAGS kParseNoFlags #include "Logger.h" #include "BitSet128.h" #include "rapidjson/reader.h" #include "rapidjson/writer.h" extern "C" { #include <fmgr.h> #include <utils/array.h> PG_FUNCTION_INFO_V1(bit128_in); Datum bit128_in(PG_FUNCTION_ARGS); PG_FUNCTION_INFO_V1(bit128_out); Datum...
18.906736
80
0.636613
RPG-18
b5f97458198659b3fec48be1e48a0a29ae49515d
1,851
cc
C++
engine/interior/lightUpdateGrouper.cc
ClayHanson/B4v21-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
1
2020-08-18T19:45:34.000Z
2020-08-18T19:45:34.000Z
engine/interior/lightUpdateGrouper.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
engine/interior/lightUpdateGrouper.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Torque Game Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #include "interior/lightUpdateGrouper.h" LightUpdateGrouper::LightUpdateGrouper(const U32 bitStar...
24.355263
84
0.596434
ClayHanson
b5fbb209691fb0173786a0380ec989f5586636d0
2,635
cpp
C++
Plugins/ObjectDeliverer/Source/ObjectDeliverer/Private/Tests/ProtocolLogWriterReaderTest.cpp
ayumax/CommNet
02846b9b7533e548e61a81cd76780456362cc069
[ "MIT" ]
110
2019-02-19T18:50:23.000Z
2022-03-26T10:45:36.000Z
Plugins/ObjectDeliverer/Source/ObjectDeliverer/Private/Tests/ProtocolLogWriterReaderTest.cpp
dlvrydryvr/ObjectDeliverer
e52a88412d4f5c363c612d0a3ac172d4bc8cd74a
[ "MIT" ]
36
2019-01-22T15:08:36.000Z
2021-12-13T13:43:08.000Z
Plugins/ObjectDeliverer/Source/ObjectDeliverer/Private/Tests/ProtocolLogWriterReaderTest.cpp
ayumax/CommNet
02846b9b7533e548e61a81cd76780456362cc069
[ "MIT" ]
25
2019-02-19T15:42:07.000Z
2022-03-17T09:41:50.000Z
// Copyright 2019 ayumax. All Rights Reserved. #include "CoreMinimal.h" #include "Misc/AutomationTest.h" #include "Tests/AutomationCommon.h" #include "Protocol/ProtocolLogReader.h" #include "Protocol/ProtocolLogWriter.h" #include "PacketRule/PacketRuleSizeBody.h" #include "PacketRule/PacketRuleFactory.h" #include "Prot...
34.220779
195
0.795446
ayumax
b5fbdcbede07c27b1513b3d035ae92bbce9251ae
1,193
cpp
C++
zadania-tj/TJ13.cpp
Xeoth/projekty-liceum
b2547d2b6aa7de89b5a13a8e34b724a56779762f
[ "MIT" ]
null
null
null
zadania-tj/TJ13.cpp
Xeoth/projekty-liceum
b2547d2b6aa7de89b5a13a8e34b724a56779762f
[ "MIT" ]
null
null
null
zadania-tj/TJ13.cpp
Xeoth/projekty-liceum
b2547d2b6aa7de89b5a13a8e34b724a56779762f
[ "MIT" ]
null
null
null
// Działa od C++11! #include <iostream> #include <random> // Zamiast cstdlib i ctime użyję tu random using namespace std; int main() { // Seed do generatora random_device rd; // random_device podobno zwraca prawdziwie losowe liczby, nie pseudolosowe mt19937 eng(rd()); // tu dokładnie wrzucamy seed do gene...
27.113636
96
0.590947
Xeoth
bd01cbec4b807337be636b609778a876208bfc3a
1,968
cpp
C++
src/system/component/operating_system/operating_system_monitor.cpp
Kinupo/c_cpp_htop
e3fd8c66a299fae800c91ff770876703ba25404a
[ "MIT" ]
null
null
null
src/system/component/operating_system/operating_system_monitor.cpp
Kinupo/c_cpp_htop
e3fd8c66a299fae800c91ff770876703ba25404a
[ "MIT" ]
null
null
null
src/system/component/operating_system/operating_system_monitor.cpp
Kinupo/c_cpp_htop
e3fd8c66a299fae800c91ff770876703ba25404a
[ "MIT" ]
null
null
null
#include "system/component/operating_system/operating_system_monitor.h" OperatingSystemMonitor::OperatingSystemMonitor(){} std::shared_ptr<ComponentStatus> OperatingSystemMonitor::Status(){ return Status(nullptr); } std::string OperatingSystemMonitor::FindVersion(){ std::string version; auto unparsed_ver...
35.781818
89
0.704268
Kinupo
bd01eed443e0fe35655db2bf97e8447b3a8beaff
78
cpp
C++
Source/BroForce/Private/CustomUtils.cpp
solidajenjo/BroForceLikeGame
37666bbab04f0a6a8cf8a364197f10389271b67f
[ "MIT" ]
null
null
null
Source/BroForce/Private/CustomUtils.cpp
solidajenjo/BroForceLikeGame
37666bbab04f0a6a8cf8a364197f10389271b67f
[ "MIT" ]
null
null
null
Source/BroForce/Private/CustomUtils.cpp
solidajenjo/BroForceLikeGame
37666bbab04f0a6a8cf8a364197f10389271b67f
[ "MIT" ]
null
null
null
#include "CustomUtils.h" namespace CustomUtils { } // namespace CustomUtils
11.142857
26
0.75641
solidajenjo
bd02dbc4a3ec0749daa7aca2b397f805b47f6eae
1,359
hpp
C++
src/workspaces.hpp
StardustXR/magnetar
65a08f3878710d3c70c9e93edf416d1dd2eaf0de
[ "MIT" ]
null
null
null
src/workspaces.hpp
StardustXR/magnetar
65a08f3878710d3c70c9e93edf416d1dd2eaf0de
[ "MIT" ]
null
null
null
src/workspaces.hpp
StardustXR/magnetar
65a08f3878710d3c70c9e93edf416d1dd2eaf0de
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <vector> #include <stardustxr/fusion/values/glm.hpp> #include <stardustxr/fusion/types/drawable/model.hpp> #include <stardustxr/fusion/types/fields/cylinderfield.hpp> #include <stardustxr/fusion/types/input/datamap.hpp> #include <stardustxr/fusion/types/input/types/handinput.h...
32.357143
125
0.802796
StardustXR
bd03d4e646daaccbb693e632b0a82888a9dd0025
1,068
cpp
C++
tioj/1192b.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
tioj/1192b.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
tioj/1192b.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
#include<stdio.h> #include<string.h> char a[1000000]; int x[500000],xx,y[500000],yy; int main(){ int C,n,l,i,cc,flag; scanf("%d",&C); while(C--){ scanf("%d%d",&n,&l); memset(a,0,sizeof(a)); for(cc=flag=0;cc<n;cc++){ xx=yy=0; while(scanf("%d",&x[xx]),x[xx])xx++; whil...
23.733333
45
0.371723
dk00
bd04370fb35e3fe6de70e36e200baf645b156c36
1,034
cpp
C++
Graph/Special Graph (Directed Acyclic Graph)/Single-Source Shortest Longest Paths on DAG/Liftless EME.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
Graph/Special Graph (Directed Acyclic Graph)/Single-Source Shortest Longest Paths on DAG/Liftless EME.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
Graph/Special Graph (Directed Acyclic Graph)/Single-Source Shortest Longest Paths on DAG/Liftless EME.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector <int> vi; #define inf (int)1e9 string cas; int n, m, a[140][20][20]; int memo[140][20]; int solve(int current, int hole){ if(current == n-1) return 0; if(memo[current][hole] != -1) return memo[current][hole]; int ans = inf;...
24.619048
72
0.490329
satvik007
bd04adc82f11d2ab42c15ecfd29facda58dfd435
2,058
cpp
C++
test/ais/Test_ais_message_07.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
62
2015-07-20T03:24:21.000Z
2022-03-30T10:39:24.000Z
test/ais/Test_ais_message_07.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
37
2016-03-30T05:38:32.000Z
2021-12-26T18:11:38.000Z
test/ais/Test_ais_message_07.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
39
2015-07-20T03:15:44.000Z
2022-02-03T07:32:23.000Z
#include <marnav/ais/message_07.hpp> #include <marnav/ais/ais.hpp> #include <gtest/gtest.h> namespace { using namespace marnav; class Test_ais_message_07 : public ::testing::Test { }; TEST_F(Test_ais_message_07, parse) { std::vector<std::pair<std::string, uint32_t>> v; v.push_back(std::make_pair("702R5`hwCjq8", 0)...
27.810811
88
0.72449
mfkiwl
bd055633d7aa16c3771299981191ca376d0c68fe
2,173
hpp
C++
cpp/dynlb.hpp
parmes/solfec-2.0
3329d3e1e4d58fefaf976c04bab19284aef45bc2
[ "MIT" ]
1
2020-06-21T23:52:25.000Z
2020-06-21T23:52:25.000Z
cpp/dynlb.hpp
parmes/solfec-2.0
3329d3e1e4d58fefaf976c04bab19284aef45bc2
[ "MIT" ]
1
2020-05-01T14:44:01.000Z
2020-05-01T23:50:36.000Z
cpp/dynlb.hpp
parmes/solfec-2.0
3329d3e1e4d58fefaf976c04bab19284aef45bc2
[ "MIT" ]
2
2020-06-21T23:59:21.000Z
2021-12-09T09:49:50.000Z
/* The MIT License (MIT) Copyright (c) 2016 EDF Energy 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, pu...
36.830508
103
0.741832
parmes
bd05e1c0b1a52dfb1a4b306e1df6fcc7e12179e9
383
cpp
C++
src/Logger.cpp
advpl/advpl-language-server-cxx
7c654c92934ed3e705c6823cbff9687dd8304d06
[ "MIT" ]
4
2018-01-19T07:11:18.000Z
2020-05-15T19:45:53.000Z
src/Logger.cpp
ragssoftwares/advpl-language-server-cxx
7c654c92934ed3e705c6823cbff9687dd8304d06
[ "MIT" ]
3
2018-01-19T22:17:19.000Z
2018-01-25T13:57:31.000Z
src/Logger.cpp
ragssoftwares/advpl-language-server-cxx
7c654c92934ed3e705c6823cbff9687dd8304d06
[ "MIT" ]
2
2018-01-19T07:11:19.000Z
2018-08-21T18:42:07.000Z
#include "Logger.hpp" using namespace advpl_ls; EmptyLogger &EmptyLogger::getInstance() { static EmptyLogger Logger; return Logger; } void EmptyLogger::log(const std::string Message) {} FileLogger &FileLogger::getInstance() { static FileLogger Logger; return Logger; } void FileLogger:...
21.277778
53
0.686684
advpl
bd077fa76cb30e3b1b2859db95cf20445f70df64
2,177
cpp
C++
Nanoforge/rfg/xtbl/nodes/SelectionXtblNode.cpp
Moneyl/RF-Viewer
fd5a53c0d7ed94d9c5c9264e3ed11f2037c2f49a
[ "MIT" ]
3
2020-08-26T17:53:47.000Z
2020-09-13T07:48:40.000Z
Nanoforge/rfg/xtbl/nodes/SelectionXtblNode.cpp
Moneyl/RF-Viewer
fd5a53c0d7ed94d9c5c9264e3ed11f2037c2f49a
[ "MIT" ]
2
2020-09-01T06:08:28.000Z
2020-11-14T02:14:41.000Z
Nanoforge/rfg/xtbl/nodes/SelectionXtblNode.cpp
Moneyl/RF-Viewer
fd5a53c0d7ed94d9c5c9264e3ed11f2037c2f49a
[ "MIT" ]
null
null
null
#include "XtblNodes.h" #include "rfg/xtbl/XtblDescription.h" #include "render/imgui/imgui_ext.h" #include "common/string/String.h" #include <tinyxml2/tinyxml2.h> #include <imgui.h> #pragma warning(disable:4100) //Disable warning about unused argument. Can't remove the arg since some implementations of this function us...
31.550725
143
0.658245
Moneyl
bd099af05deb56ef3f6e798eae176ba79c3b4dae
3,024
cpp
C++
raven/io/FileSystem.cpp
nielsuiterwijk/vulkan
b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05
[ "MIT" ]
2
2019-11-28T12:42:44.000Z
2021-07-02T12:50:20.000Z
raven/io/FileSystem.cpp
nielsuiterwijk/vulkan
b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05
[ "MIT" ]
null
null
null
raven/io/FileSystem.cpp
nielsuiterwijk/vulkan
b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05
[ "MIT" ]
null
null
null
#include "FileSystem.h" #include "threading/ThreadPool.h" bool FileSystem::stop = false; bool FileSystem::threadStarted = false; std::thread FileSystem::fileLoadingThread; std::queue<FileSystem::AsyncFileLoad> FileSystem::tasks; Mutex FileSystem::queue_mutex; std::condition_variable_any FileSystem::condition; Threa...
23.44186
120
0.676257
nielsuiterwijk
bd0c4258c330aefc5b6d1a943fd4373d9ec64b00
1,234
cpp
C++
books_and_notes/professional_courses/C++_Programming/sources/cpp_code/lab/Chapter4/ex4-19/ex4-19.cpp
gxw1/review_the_national_post-graduate_entrance_examination
8812779a7a4ce185a531d120562d5194b697c0c9
[ "MIT" ]
640
2019-03-30T11:32:43.000Z
2022-03-31T14:05:18.000Z
books_and_notes/professional_courses/C++_Programming/sources/cpp_code/lab/Chapter4/ex4-19/ex4-19.cpp
yyzVegst/review_the_national_post-graduate_entrance_examination
8812779a7a4ce185a531d120562d5194b697c0c9
[ "MIT" ]
6
2019-07-22T01:57:24.000Z
2022-01-20T15:03:16.000Z
books_and_notes/professional_courses/C++_Programming/sources/cpp_code/lab/Chapter4/ex4-19/ex4-19.cpp
yyzVegst/review_the_national_post-graduate_entrance_examination
8812779a7a4ce185a531d120562d5194b697c0c9
[ "MIT" ]
212
2019-04-10T02:31:50.000Z
2022-03-30T02:32:47.000Z
#include <iostream> using namespace std; enum Core { Single, Dual, Quad }; enum Words { Bit32, Bit64 }; enum HyperThread { Support, NotSupport }; class CPU { public: CPU(unsigned frequence, Core type, Words length, HyperThread mode) : frequence (frequence), CoreType (type), WordLen (length), mode(mode) { }...
25.708333
77
0.606969
gxw1
bd0d2e1174542899a4840006d3306ee3fe497936
4,114
hpp
C++
include/otf2xx/event/marker.hpp
dhinf/otf2xx
78d3c0eb0b201010b7436bbb235ebdbdabec17d2
[ "BSD-3-Clause" ]
8
2016-11-11T09:33:59.000Z
2022-03-11T12:34:01.000Z
include/otf2xx/event/marker.hpp
dhinf/otf2xx
78d3c0eb0b201010b7436bbb235ebdbdabec17d2
[ "BSD-3-Clause" ]
38
2016-12-12T09:21:07.000Z
2022-03-11T12:18:36.000Z
include/otf2xx/event/marker.hpp
dhinf/otf2xx
78d3c0eb0b201010b7436bbb235ebdbdabec17d2
[ "BSD-3-Clause" ]
5
2017-06-01T12:01:03.000Z
2022-03-11T11:00:00.000Z
/* * This file is part of otf2xx (https://github.com/tud-zih-energy/otf2xx) * otf2xx - A wrapper for the Open Trace Format 2 library * * Copyright (c) 2013-2016, Technische Universität Dresden, Germany * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ...
35.465517
96
0.679387
dhinf
bd0fd8caf24d1c1e5754117a22ff1a0bb32e73a9
21,692
hpp
C++
src/core/Strings.hpp
ShamylZakariya/KesslerSyndrome
dce00108304fe2c1b528515dafc29c15011d4679
[ "MIT" ]
null
null
null
src/core/Strings.hpp
ShamylZakariya/KesslerSyndrome
dce00108304fe2c1b528515dafc29c15011d4679
[ "MIT" ]
null
null
null
src/core/Strings.hpp
ShamylZakariya/KesslerSyndrome
dce00108304fe2c1b528515dafc29c15011d4679
[ "MIT" ]
null
null
null
// // StringUtils.h // Milestone6 // // Created by Shamyl Zakariya on 2/11/17. // // #ifndef Strings_h #define Strings_h #include <ctype.h> #include <fstream> #include <set> #include <sstream> #include <stdarg.h> #include <string> #include <vector> #include "core/MathHelpers.hpp" /** @file strings.h Basic stri...
28.02584
113
0.480361
ShamylZakariya
bd16d949e77a55ae0d8569c0c43a82664de9e1ed
1,071
hpp
C++
include/models/mesh.hpp
h4k1m0u/video
4739f8b1b6c837c41fdb53fc7dea97a47b285d0b
[ "MIT" ]
5
2021-11-11T23:59:38.000Z
2022-03-24T02:10:40.000Z
include/models/mesh.hpp
h4k1m0u/video
4739f8b1b6c837c41fdb53fc7dea97a47b285d0b
[ "MIT" ]
null
null
null
include/models/mesh.hpp
h4k1m0u/video
4739f8b1b6c837c41fdb53fc7dea97a47b285d0b
[ "MIT" ]
1
2022-01-15T13:31:10.000Z
2022-01-15T13:31:10.000Z
#ifndef MESH_HPP #define MESH_HPP #include <vector> #include <glm/glm.hpp> #include <assimp/mesh.h> #include "texture_2d.hpp" /** * Wrapper around Assimp::aiMesh used to get vertexes & faces for given mesh * Used by `models::Model` to parse meshes within current scene * Accessed publicly from `renderer::ModelRend...
24.340909
97
0.701214
h4k1m0u
bd1a57e6395ec2d0ae70a5fdd17b3a6fc5710c4e
21
cpp
C++
LineFollowerSimulator/arduino.cpp
HALtheWise/POE-lab3
fa3fb0ac42a6c0aa3f5c2a3012cb85315a65da2f
[ "MIT" ]
2
2019-04-14T17:53:27.000Z
2021-10-03T08:26:52.000Z
LineFollowerSimulator/arduino.cpp
HALtheWise/POE-lab3
fa3fb0ac42a6c0aa3f5c2a3012cb85315a65da2f
[ "MIT" ]
null
null
null
LineFollowerSimulator/arduino.cpp
HALtheWise/POE-lab3
fa3fb0ac42a6c0aa3f5c2a3012cb85315a65da2f
[ "MIT" ]
1
2019-04-14T17:54:40.000Z
2019-04-14T17:54:40.000Z
#include "arduino.h"
10.5
20
0.714286
HALtheWise
bd1d52a503533cac7676b4f148ee7d7aa3e701cf
1,766
hpp
C++
openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/circular_check.hpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
45
2021-04-12T22:43:25.000Z
2022-02-27T23:57:53.000Z
openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/circular_check.hpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
140
2021-04-13T04:28:19.000Z
2022-03-30T12:44:32.000Z
openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/circular_check.hpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
13
2021-05-22T02:24:49.000Z
2022-03-25T05:16:31.000Z
// Copyright 2015-2020 Tier IV, Inc. 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
29.932203
99
0.754247
autocore-ai
bd2038e6b72ff5d764263e8a301f076f803e5352
1,008
hpp
C++
src/providers/twitch/pubsubmessages/ChatModeratorAction.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
200
2017-01-24T11:23:03.000Z
2019-05-15T19:31:18.000Z
src/providers/twitch/pubsubmessages/ChatModeratorAction.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
878
2017-02-06T13:25:24.000Z
2019-05-18T16:15:21.000Z
src/providers/twitch/pubsubmessages/ChatModeratorAction.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
138
2017-02-07T18:01:49.000Z
2019-05-18T19:00:03.000Z
#pragma once #include <QJsonObject> #include <QString> #include <magic_enum.hpp> namespace chatterino { struct PubSubChatModeratorActionMessage { enum class Type { ModerationAction, ChannelTermsAction, INVALID, }; QString typeString; Type type = Type::INVALID; QJsonObj...
21.446809
78
0.6875
1xelerate
bd2145c165ddf9f69cb000f0b359a7dbcf084662
519
cpp
C++
vegastrike/src/cmd/ai/tactics.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/cmd/ai/tactics.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/cmd/ai/tactics.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
#include "tactics.h" #include "vegastrike.h" #include "cmd/unit_generic.h" void CloakFor::Execute() { if (time == 0) parent->Cloak( enable ); time += SIMULATION_ATOM; if (time > maxtime) { done = true; if (maxtime != 0) parent->Cloak( !enable ); return; } } C...
19.222222
56
0.564547
Ezeer
bd222b9ee234b224c567238d94f4b6edd1fa24e9
405
cpp
C++
src/duke/image/ImageUtils.cpp
hradec/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
51
2015-01-07T18:36:39.000Z
2021-11-30T15:24:44.000Z
src/duke/image/ImageUtils.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
1
2015-01-08T10:48:43.000Z
2015-02-11T19:32:14.000Z
src/duke/image/ImageUtils.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
18
2015-05-11T12:43:37.000Z
2019-11-29T11:15:41.000Z
#include "duke/image/ImageUtils.hpp" #include "duke/base/Check.hpp" size_t getChannelsByteSize(const Channels& channels) { size_t bits = 0; for (const auto& channel : channels) bits += channel.bits; CHECK(bits % 8 == 0); return bits / 8; } size_t getImageSize(const ImageDescription& description) { return d...
27
92
0.740741
hradec
bd225d165bbba76e11d2b1a29d6ea7b1efc0110b
18,892
cpp
C++
CodeForces-Solution/1621I.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Solution/1621I.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Solution/1621I.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include <bits/stdc++.h> using namespace std; using ll = long long; using db = long double; // or double, if TL is tight using str = string; // yay python! // pairs using pi = pair<int,int>; using pl = pair<ll,ll>; using pd = pair<db,db>; #define mp make_pair #define f first #define s second #define tcT template<c...
29.611285
95
0.578287
Tech-Intellegent
bd2342dfae1f5018f3a324c18c4b02b82c78d6fc
1,891
cpp
C++
src/features/DebugOverlayPass.cpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
1
2021-11-12T08:42:43.000Z
2021-11-12T08:42:43.000Z
src/features/DebugOverlayPass.cpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
null
null
null
src/features/DebugOverlayPass.cpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
null
null
null
#include "DebugOverlayPass.hpp" #include "rendering/Engine.hpp" namespace lucent { void AddDebugOverlayPass(Renderer& renderer, DebugConsole* console, Texture* output) { auto& settings = renderer.GetSettings(); console->SetScreenSize(settings.viewportWidth, settings.viewportHeight); auto overlayFramebuff...
30.5
84
0.651507
bferan
bd24ea138e40e37ba1c17fae2842dca3ce54d21e
310
hpp
C++
Test/CalculatorPluginAPI/src/AddIntent.hpp
PiotrMoscicki/PolyPlugin-1
32fd9baf63541f1c240d7435a48c56ad6bce62ee
[ "MIT" ]
null
null
null
Test/CalculatorPluginAPI/src/AddIntent.hpp
PiotrMoscicki/PolyPlugin-1
32fd9baf63541f1c240d7435a48c56ad6bce62ee
[ "MIT" ]
9
2020-04-01T14:45:10.000Z
2020-05-11T07:29:26.000Z
Test/CalculatorPluginAPI/src/AddIntent.hpp
PiotrMoscicki/PolyPlugin-1
32fd9baf63541f1c240d7435a48c56ad6bce62ee
[ "MIT" ]
2
2020-04-01T17:58:13.000Z
2020-05-07T15:21:20.000Z
#pragma once #include <pp/Info.hpp> //------------------------------------------------------------------------------------------------------------------------------------------ class AddIntent { public: using Result = int; static inline pp::IntentInfo Info = { "AddIntent", 3 }; int a = 0; int b = 0; };
22.142857
140
0.348387
PiotrMoscicki
bd26283ed2ec71bf220bb3e9b5f1dace6237fda0
1,294
cpp
C++
src/gen/Matrix34.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
1
2021-12-24T00:42:42.000Z
2021-12-24T00:42:42.000Z
src/gen/Matrix34.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
null
null
null
src/gen/Matrix34.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2019, NIF File Format Library and Tools All rights reserved. Please see niflib.h for license. */ //-----------------------------------NOTICE----------------------------------// // Some of this file is automatically filled in by a Python script. Only // // add custom code in the designated ar...
29.409091
157
0.544822
BlazesRus
bd297bcbd39aeed0bcc5f99c2744bb2b2a3c3f48
2,197
cpp
C++
examples/single_chip/camera_with_command_line/main/app_camera.cpp
m5stack/esp-who
102fca12a7349bbac25b09f0919ba3d8dba4e470
[ "MIT-0" ]
13
2018-12-13T10:53:03.000Z
2020-04-20T08:34:09.000Z
examples/single_chip/camera_with_command_line/main/app_camera.cpp
m5stack/esp-who
102fca12a7349bbac25b09f0919ba3d8dba4e470
[ "MIT-0" ]
null
null
null
examples/single_chip/camera_with_command_line/main/app_camera.cpp
m5stack/esp-who
102fca12a7349bbac25b09f0919ba3d8dba4e470
[ "MIT-0" ]
2
2018-12-19T05:56:52.000Z
2019-02-03T11:06:57.000Z
#include "app_camera.h" static const char *TAG = "app_camera"; QueueHandle_t gpst_input_queue = NULL; TaskHandle_t gpst_input_task = NULL; int gl_input_image_width = 0; int gl_input_image_height = 0; void app_camera_init() { camera_model_t camera_model; camera_config_t config; config.ledc_channel = LEDC...
28.166667
96
0.681839
m5stack
bd29e7e814187adf176e6075a2a328dd6fed3fd7
805
cc
C++
third_party/blink/renderer/modules/webgl/webgl_unowned_texture.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
third_party/blink/renderer/modules/webgl/webgl_unowned_texture.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/modules/webgl/webgl_unowned_texture.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/webgl/webgl_unowned_texture.h" #include "gpu/command_buffer/client/gles2_interface.h" #include "third_party/...
33.541667
82
0.709317
mghgroup
bd2ae0f3fbc874deedff2707882158011aad415b
2,625
cc
C++
simlib/src/object.cc
MichalCab/IMS
d45dd8e7c0f794b4ee7f2ce1ccbc45edeaaa106e
[ "MIT" ]
null
null
null
simlib/src/object.cc
MichalCab/IMS
d45dd8e7c0f794b4ee7f2ce1ccbc45edeaaa106e
[ "MIT" ]
null
null
null
simlib/src/object.cc
MichalCab/IMS
d45dd8e7c0f794b4ee7f2ce1ccbc45edeaaa106e
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// //! \file object.cc Root of SIMLIB/C++ class hierarchy // // Copyright (c) 1991-2004 Petr Peringer // // This library is licensed under GNU Library GPL. See the file COPYING. // // // this module contains implementation of base class Sim...
25.735294
77
0.459048
MichalCab
bd2e8c3a24a4cfd373e86cb1064b39a0e1db56e3
1,916
cpp
C++
EterPack API/EterPack API/src/EterUtils.cpp
christian-roggia/metin2-eternexus
99d239e33733ae777822e0ea86ab5b437e010b64
[ "MIT" ]
13
2017-01-23T01:55:12.000Z
2020-09-10T12:13:59.000Z
EterPack API/EterPack API/src/EterUtils.cpp
Christian-Roggia/metin2-eternexus
99d239e33733ae777822e0ea86ab5b437e010b64
[ "MIT" ]
1
2020-09-13T19:42:31.000Z
2020-09-17T21:22:02.000Z
EterPack API/EterPack API/src/EterUtils.cpp
Christian-Roggia/metin2-eternexus
99d239e33733ae777822e0ea86ab5b437e010b64
[ "MIT" ]
28
2017-02-25T18:50:58.000Z
2022-02-17T12:19:38.000Z
#include "EterUtils.h" void XTEA_DECRYPT(UINT32 *v, UINT32 *k) { UINT32 sum = 0xC6EF3720, delta = 0x61C88647; UINT32 v0 = v[0], v1 = v[1]; for (int i = 0; i < 32; i++) { v1 -= (v0 + (16 * v0 ^ (v0 >> 5))) ^ (sum + k[(sum >> 11) & 3]); sum += delta; v0 -= (v1 + (16 * v1 ^ (v1 >>...
26.985915
104
0.556367
christian-roggia
bd2ed96624bd9e1588fe04eb9c7b602a9ccd0eb4
1,260
hpp
C++
Source/TitaniumKit/examples/NativeTiExample.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
20
2015-04-02T06:55:30.000Z
2022-03-29T04:27:30.000Z
Source/TitaniumKit/examples/NativeTiExample.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
692
2015-04-01T21:05:49.000Z
2020-03-10T10:11:57.000Z
Source/TitaniumKit/examples/NativeTiExample.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
22
2015-04-01T20:57:51.000Z
2022-01-18T17:33:15.000Z
/** * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #ifndef _TITANIUM_EXAMPLES_NATIVETIEXAMPLE_HPP_ #define _TITANIUM_EXAMPLES_NATIVETIEXAMPLE_HPP_ #include "Titanium/T...
30.731707
89
0.799206
garymathews
bd2f44c27af90404e4437989e2dba1e31e11aea0
495
cpp
C++
fms_sequence_equal.t.cpp
keithalewis/fms_sequence
f2afc2c302e7f9619bbdd22634428dcad92cb65b
[ "MIT" ]
null
null
null
fms_sequence_equal.t.cpp
keithalewis/fms_sequence
f2afc2c302e7f9619bbdd22634428dcad92cb65b
[ "MIT" ]
null
null
null
fms_sequence_equal.t.cpp
keithalewis/fms_sequence
f2afc2c302e7f9619bbdd22634428dcad92cb65b
[ "MIT" ]
null
null
null
// fms_sequence_equal.t.cpp - Test equality of sequences #include <cassert> #include "fms_sequence_equal.h" #include "fms_sequence_iota.h" #include "fms_sequence_pointer.h" #include "fms_sequence_take.h" using namespace fms::sequence; int test_sequence_equal() { { int s[] = { 1, 2, 3 }; pointer sp...
22.5
56
0.656566
keithalewis
bd32eb708012607b7b3d2d61d72b4c6cb1db0158
2,947
cpp
C++
src/client/pam/pam-vhsm.cpp
OSLL/vhsm
a06820919438f11be25df05978dcb679615f5b0b
[ "MIT" ]
8
2015-09-27T01:31:25.000Z
2020-10-29T17:05:12.000Z
src/client/pam/pam-vhsm.cpp
OSLL/vhsm
a06820919438f11be25df05978dcb679615f5b0b
[ "MIT" ]
null
null
null
src/client/pam/pam-vhsm.cpp
OSLL/vhsm
a06820919438f11be25df05978dcb679615f5b0b
[ "MIT" ]
2
2015-05-20T18:54:14.000Z
2021-11-04T19:40:18.000Z
#define PAM_SM_AUTH #define PAM_SM_ACCOUNT #define PAM_SM_SESSION #define PAM_SM_PASSWORD #include <security/pam_appl.h> #include <security/pam_modules.h> #include <syslog.h> #include <security/pam_ext.h> #include <math.h> #include <string.h> #include "vhsm_api_prototype/common.h" static void init_credentials(vhsm...
31.688172
134
0.699016
OSLL
bd33783fd286db4d430385fd0dfbb666b8e25b40
3,056
cpp
C++
phase_1/eval/ovington/challenge/src/oqtopus/environment.cpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
phase_1/eval/ovington/challenge/src/oqtopus/environment.cpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
phase_1/eval/ovington/challenge/src/oqtopus/environment.cpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
#include "environment.hpp" #include "proplist_lambda.hpp" #include "native_lambda.hpp" #include "table_lambda.hpp" #include <sstream> using namespace oqtopus; using namespace std::literals::string_literals; using namespace oqtopus::value::literals; #define mknl(fn) std::make_shared<NativeLambda>(fn) Environment o...
33.217391
77
0.480366
cromulencellc
bd33fe5aef4c7952f6cb109cb1bc7f5f0bf52751
513
hpp
C++
include/glCompact/AttributeLayout_.hpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
include/glCompact/AttributeLayout_.hpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
include/glCompact/AttributeLayout_.hpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
#pragma once #include <glCompact/AttributeLayout.hpp> namespace glCompact { class AttributeLayout_ : public AttributeLayout { friend class PipelineRasterization; enum class GpuType : uint8_t { unused, f32, i32, //used for all integers and bool f64 ...
25.65
59
0.614035
PixelOfDeath
bd3439b4fd30c2fe9e966f20d7bb94a4fa5c4911
413
cpp
C++
Day01/ex04/ex04.cpp
EnapsTer/StudyCPP
4bcf2a152fbefebab8ff68574e2b3bc198589f99
[ "MIT" ]
1
2021-09-08T12:16:13.000Z
2021-09-08T12:16:13.000Z
Day01/ex04/ex04.cpp
EnapsTer/StudyCPP
4bcf2a152fbefebab8ff68574e2b3bc198589f99
[ "MIT" ]
null
null
null
Day01/ex04/ex04.cpp
EnapsTer/StudyCPP
4bcf2a152fbefebab8ff68574e2b3bc198589f99
[ "MIT" ]
null
null
null
// // Created by Arborio Herlinda on 5/9/21. // #include <iostream> int main() { std::string str("HI THIS IS BRAIN"); std::string *pointer_to_string = &str; std::string &reference_to_string = str; std::cout << "original string: " << str << std::endl; std::cout << "pointer to string: " << *pointer_to_strin...
25.8125
75
0.639225
EnapsTer
bd350d555bb9745d0b2fca9d12a5c86be7d3ed7f
626
cpp
C++
master/geometrize-master/geometrize-master/geometrize/dialog/folderselectionwidget.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/geometrize-master/geometrize-master/geometrize/dialog/folderselectionwidget.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/geometrize-master/geometrize-master/geometrize/dialog/folderselectionwidget.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
#include "folderselectionwidget.h" #include "ui_folderselectionwidget.h" #include <QEvent> namespace geometrize { namespace dialog { FolderSelectionWidget::FolderSelectionWidget(QWidget* parent) : QWidget(parent), ui(new Ui::FolderSelectionWidget) { ui->setupUi(this); populateUi(); } FolderSelectionWid...
15.65
80
0.70607
AlexRogalskiy
bd35db98bb3868f5009ce9bd3770d7d994178824
3,383
cxx
C++
vigranumpy/src/core/eccentricity.cxx
ThomasWalter/vigra
e92c892aae38c3977dc3f6400f46377b0cb61799
[ "MIT" ]
null
null
null
vigranumpy/src/core/eccentricity.cxx
ThomasWalter/vigra
e92c892aae38c3977dc3f6400f46377b0cb61799
[ "MIT" ]
null
null
null
vigranumpy/src/core/eccentricity.cxx
ThomasWalter/vigra
e92c892aae38c3977dc3f6400f46377b0cb61799
[ "MIT" ]
null
null
null
#define PY_ARRAY_UNIQUE_SYMBOL vigranumpygraphs_PyArray_API #define NO_IMPORT_ARRAY /*boost python before anything else*/ #include <boost/python.hpp> #include <vigra/numpy_array.hxx> #include <vigra/numpy_array_converters.hxx> #include <vigra/eccentricitytransform.hxx> namespace python = boost::python; /* BROKEN! R...
32.219048
126
0.571682
ThomasWalter
bd36889f2b15e64b3c62da7129b2cbdddbc88e03
3,268
cpp
C++
lib/util/src/Extension_Argv.cpp
ta0kira/zeolite
a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96
[ "Apache-2.0" ]
15
2019-04-10T13:06:10.000Z
2021-11-12T14:11:30.000Z
lib/util/src/Extension_Argv.cpp
ta0kira/zeolite
a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96
[ "Apache-2.0" ]
196
2020-01-24T14:09:31.000Z
2022-02-25T21:43:44.000Z
lib/util/src/Extension_Argv.cpp
ta0kira/zeolite
a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96
[ "Apache-2.0" ]
null
null
null
/* ----------------------------------------------------------------------------- Copyright 2020-2021 Kevin P. Barry 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/license...
34.041667
118
0.692166
ta0kira
bd3d794a1fe75cfb09b8e155e0877b7ecac46c13
1,084
cpp
C++
1149. Sinus Dances.cpp
satvik007/Timus
b1ed1d693b67fdbb17891e8612f596eabedfff67
[ "MIT" ]
null
null
null
1149. Sinus Dances.cpp
satvik007/Timus
b1ed1d693b67fdbb17891e8612f596eabedfff67
[ "MIT" ]
null
null
null
1149. Sinus Dances.cpp
satvik007/Timus
b1ed1d693b67fdbb17891e8612f596eabedfff67
[ "MIT" ]
null
null
null
#define BZ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/detail/standard_policies.hpp> using ll = int64_t; using ld = long double; using ull = uint64_t; using namespace std; using namespace __gnu_pbds; typedef vector <int> vi; const int INF = 1 << 30; string func(int n) { s...
20.846154
117
0.509225
satvik007
bd3ed83cc5a0b41bc6924504580b0c69b076fabb
4,329
hpp
C++
Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_SHA256.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_SHA256.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_SHA256.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDCrypto_SHA256.hpp // // AUTHOR: Dean Roddey // // CREATED: 12/19/2009 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensour...
32.30597
87
0.419496
MarkStega
bd427a1a90fc124044d6c35efec7a6d5416a4e20
805
cpp
C++
leetcode/roman-to-integer/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
leetcode/roman-to-integer/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
leetcode/roman-to-integer/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
class Solution { public: int romanToInt(string s) { int place{1}; reverse(s.begin(), s.end()); int val {0}; for (int i{0}; i < s.size(); ++i) { int shownPlace{1}; if (s[i] == 'M') { shownPlace = 1000; } else if (s[i] == 'D') { sho...
25.15625
43
0.368944
Yash-Singh1
bd43155b3bca934ab2c3903fcf65a814e96c9c90
5,088
cpp
C++
sgm/src/editor_scene.cpp
yodasoda1219/sge
d8e099842fd57e5f968083c87fccba2a5df51f19
[ "Apache-2.0" ]
4
2022-01-02T06:08:34.000Z
2022-02-20T06:28:01.000Z
sgm/src/editor_scene.cpp
yodasoda1219/sge
d8e099842fd57e5f968083c87fccba2a5df51f19
[ "Apache-2.0" ]
null
null
null
sgm/src/editor_scene.cpp
yodasoda1219/sge
d8e099842fd57e5f968083c87fccba2a5df51f19
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 Nora Beda and SGE contributors 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 ...
32.825806
89
0.65114
yodasoda1219
bd446ae6e5ee5210e9894da8821f10a8106bbb9b
423
cpp
C++
week6/w6d2/removeString.cpp
ash20012003/IPMPRepo
3d288e8ab1c1a25113c45e983da7f7e780ff66d4
[ "MIT" ]
2
2021-11-13T05:41:49.000Z
2022-02-06T16:12:56.000Z
week6/w6d2/removeString.cpp
ash20012003/IPMPRepo
3d288e8ab1c1a25113c45e983da7f7e780ff66d4
[ "MIT" ]
null
null
null
week6/w6d2/removeString.cpp
ash20012003/IPMPRepo
3d288e8ab1c1a25113c45e983da7f7e780ff66d4
[ "MIT" ]
null
null
null
class Solution { public: string removeChars(string string1, string string2) { // code here int flag = 0; string string3; for(int i=0;i<string1.size();i++){ flag = 0; for(int j=0;j<string2.size();j++){ if(string1[i] == string2[j]) flag = 1; ...
24.882353
57
0.463357
ash20012003
bd44d55f042aa9cd029e939388faceee9ac3d9ee
2,589
cpp
C++
blades/xbmc/xbmc/music/karaoke/karaokelyricsfactory.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/music/karaoke/karaokelyricsfactory.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/music/karaoke/karaokelyricsfactory.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * 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, or (at your option) * any later version. * * ...
26.418367
111
0.687138
krattai
bd47963431bdd10645f75ad56ef875d27e928666
1,000
cpp
C++
solver/src/solver/interface/Model.cpp
ferdinand-wood/kino_dynamic_opt
ba6bef170819c55d1d26e40af835a744d1ae663f
[ "BSD-3-Clause" ]
26
2019-11-18T17:39:43.000Z
2021-12-18T00:38:22.000Z
solver/src/solver/interface/Model.cpp
ferdinand-wood/kino_dynamic_opt
ba6bef170819c55d1d26e40af835a744d1ae663f
[ "BSD-3-Clause" ]
25
2019-11-11T19:54:51.000Z
2021-04-07T13:41:47.000Z
solver/src/solver/interface/Model.cpp
ferdinand-wood/kino_dynamic_opt
ba6bef170819c55d1d26e40af835a744d1ae663f
[ "BSD-3-Clause" ]
10
2019-12-15T14:36:51.000Z
2021-09-29T10:42:19.000Z
/** * @file Model.cpp * @author Brahayam Ponton (brahayam.ponton@tuebingen.mpg.de) * @license License BSD-3-Clause * @copyright Copyright (c) 2019, New York University and Max Planck Gesellschaft. * @date 2019-10-06 */ #include <iomanip> #include <iostream> #include <solver/interface/Model.hpp> namespace solver...
30.30303
142
0.677
ferdinand-wood
bd494540a54743e4b703bfba2f0ce9b138a16f79
202
cpp
C++
src/core/i_listen_child_death_component.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
3
2015-02-22T20:34:28.000Z
2020-03-04T08:55:25.000Z
src/core/i_listen_child_death_component.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
22
2015-12-13T16:29:40.000Z
2017-03-04T15:45:44.000Z
src/core/i_listen_child_death_component.cpp
Reaping2/Reaping2
0d4c988c99413e50cc474f6206cf64176eeec95d
[ "MIT" ]
14
2015-11-23T21:25:09.000Z
2020-07-17T17:03:23.000Z
#include "i_listen_child_death_component.h" #include <portable_iarchive.hpp> #include <portable_oarchive.hpp> REAPING2_CLASS_EXPORT_IMPLEMENT( IListenChildDeathComponent, IListenChildDeathComponent );
33.666667
90
0.866337
MrPepperoni
bd4c1fbe51a52d6f20a15fd402f70515471d6aa1
534
cpp
C++
src/main_cpu.cpp
aamatevosyan/ispras_cpp_cpu
6a7c828a355d3ab479bafcb5a60c955cb4250209
[ "MIT" ]
null
null
null
src/main_cpu.cpp
aamatevosyan/ispras_cpp_cpu
6a7c828a355d3ab479bafcb5a60c955cb4250209
[ "MIT" ]
null
null
null
src/main_cpu.cpp
aamatevosyan/ispras_cpp_cpu
6a7c828a355d3ab479bafcb5a60c955cb4250209
[ "MIT" ]
null
null
null
// // Created by armen on 1/26/21. // #include <iostream> #include "lib/cpu.h" static void showHelpMessage() { std::cout << "Usage: cpu [input]\n" "Runs binary code\n" "\n" "Example:\n" "\tcpu code.dasm\n"; } int main(int argc, char *argv[]) { if (argc != 2) { ...
17.225806
56
0.526217
aamatevosyan
bd50b4a079c37f10ba463508bb126af96147eb8f
1,599
cpp
C++
native/services/surfaceflinger/DisplayHardware/PowerHAL.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
native/services/surfaceflinger/DisplayHardware/PowerHAL.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
native/services/surfaceflinger/DisplayHardware/PowerHAL.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
/* * Copyright (C) 2012 The Android Open Source Project * * 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 app...
30.75
82
0.627267
Keneral
bd512176e754d8b3a8f73ad0b6b9817b196de890
2,434
cpp
C++
eagleeye/processnode/SerialStringNode.cpp
MirrorYu/eagleeye
c251e7b3bc919673b41360212c38d5fda85bbe2f
[ "Apache-2.0" ]
12
2020-09-21T02:24:11.000Z
2022-03-10T03:02:03.000Z
eagleeye/processnode/SerialStringNode.cpp
MirrorYu/eagleeye
c251e7b3bc919673b41360212c38d5fda85bbe2f
[ "Apache-2.0" ]
1
2020-11-30T08:22:50.000Z
2020-11-30T08:22:50.000Z
eagleeye/processnode/SerialStringNode.cpp
MirrorYu/eagleeye
c251e7b3bc919673b41360212c38d5fda85bbe2f
[ "Apache-2.0" ]
3
2020-03-16T12:10:55.000Z
2021-07-20T09:58:15.000Z
#include "eagleeye/processnode/SerialStringNode.h" #include "eagleeye/framework/pipeline/SignalFactory.h" #include "eagleeye/common/EagleeyeSerial.h" namespace eagleeye { SerialStringNode::SerialStringNode(){ // 输出信号 this->setNumberOfOutputSignals(1); this->setOutputPort(new StringSignal(),0); EAGLEEYE_MO...
28.302326
88
0.680772
MirrorYu
bd517d12ab9f842d9c29d60f3ca6caea945bc5b9
332
cc
C++
hmwk/3/ode/src/ode_interface.cc
ForrestHurley/compPhys
34c2d93b77858150a1c099deff812d961ab6378d
[ "MIT" ]
null
null
null
hmwk/3/ode/src/ode_interface.cc
ForrestHurley/compPhys
34c2d93b77858150a1c099deff812d961ab6378d
[ "MIT" ]
null
null
null
hmwk/3/ode/src/ode_interface.cc
ForrestHurley/compPhys
34c2d93b77858150a1c099deff812d961ab6378d
[ "MIT" ]
null
null
null
#include "ode_interface.h" ODEInterface::ODEInterface(int degree) : degree(degree) {} double ODEInterface::CalculateHighestDerivative(const std::vector<double> &values, double time) { std::vector< std::vector<double> > manip_vect; manip_vect.push_back(values); return CalculateHighestDerivative(manip_vect, tim...
25.538462
95
0.76506
ForrestHurley
bd53069a214545a71da0cca83d827ba16a3f03a6
917
cpp
C++
eigen_interface/eigen_lbl_driver.cpp
BenChung/nasoq
dcd38830f839941eec2688bdc8a35967d177c627
[ "MIT" ]
null
null
null
eigen_interface/eigen_lbl_driver.cpp
BenChung/nasoq
dcd38830f839941eec2688bdc8a35967d177c627
[ "MIT" ]
null
null
null
eigen_interface/eigen_lbl_driver.cpp
BenChung/nasoq
dcd38830f839941eec2688bdc8a35967d177c627
[ "MIT" ]
null
null
null
// // Created by kazem on 2020-05-18. // #include <unsupported/Eigen/SparseExtra> #include <Util.h> #include "lbl_eigen.h" using namespace nasoq; int main(int argc, const char *argv[]){ std::map<std::string,std::string> qp_args; parse_args(argc, argv, qp_args); /// Reading input matrices. Eigen::SparseMatrix<d...
26.970588
88
0.671756
BenChung
32dd73e5eac3c7582fb16e5964b3526c66989bcb
11,477
hpp
C++
libtbag/res/Storage.hpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
21
2016-04-05T06:08:41.000Z
2022-03-28T10:20:22.000Z
libtbag/res/Storage.hpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
null
null
null
libtbag/res/Storage.hpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
2
2019-07-16T00:37:21.000Z
2021-11-10T06:14:09.000Z
/** * @file Storage.hpp * @brief Storage class prototype. * @author zer0 * @date 2018-11-03 */ #ifndef __INCLUDE_LIBTBAG__LIBTBAG_RES_STORAGE_HPP__ #define __INCLUDE_LIBTBAG__LIBTBAG_RES_STORAGE_HPP__ // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #e...
32.148459
119
0.668555
osom8979
32de85bcbf03f24ea2866e0b4410ff93a3f484a1
3,991
cpp
C++
coding/zip_reader.cpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-01-11T05:02:05.000Z
2019-01-11T05:02:05.000Z
coding/zip_reader.cpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
13
2015-09-28T13:59:23.000Z
2015-10-08T20:12:45.000Z
coding/zip_reader.cpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-08-09T21:21:09.000Z
2019-08-09T21:21:09.000Z
#include "coding/zip_reader.hpp" #include "base/scope_guard.hpp" #include "base/logging.hpp" #include "coding/file_writer.hpp" #include "coding/constants.hpp" #include "std/bind.hpp" #include "3party/minizip/unzip.h" ZipFileReader::ZipFileReader(string const & container, string const & file, ...
33.258333
109
0.712353
bowlofstew
32dff87346f570b20234612303a1e5fbe614242e
6,477
cpp
C++
shore-sm-6.0.2/src/fc/rusage.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
3
2016-07-15T08:22:56.000Z
2019-10-10T02:26:08.000Z
shore-sm-6.0.2/src/fc/rusage.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
null
null
null
shore-sm-6.0.2/src/fc/rusage.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
2
2020-12-23T06:49:23.000Z
2021-03-05T07:00:28.000Z
/*<std-header orig-src='shore'> $Id: rusage.cpp,v 1.2 2010/12/08 17:37:37 nhall Exp $ SHORE -- Scalable Heterogeneous Object REpository Copyright (c) 1994-99 Computer Sciences Department, University of Wisconsin -- Madison All Rights Reserved. Permission to use, copy, modify and distribute th...
21.662207
84
0.635943
glycerine
32e0a5b3fac9df7013d7aa73eacd455c1e2c1eb9
3,838
cpp
C++
test/XNAlara/main.cpp
bradosia/assimp-XNAlara
db8963c06e6bcfd9433b0894a2bce98df069bc7a
[ "MIT" ]
1
2020-12-25T02:43:29.000Z
2020-12-25T02:43:29.000Z
test/XNAlara/main.cpp
bradosia/assimp-XNAlara
db8963c06e6bcfd9433b0894a2bce98df069bc7a
[ "MIT" ]
null
null
null
test/XNAlara/main.cpp
bradosia/assimp-XNAlara
db8963c06e6bcfd9433b0894a2bce98df069bc7a
[ "MIT" ]
1
2020-12-25T02:43:31.000Z
2020-12-25T02:43:31.000Z
// C++ #include <iomanip> #include <iostream> #include <stack> /* assimp 5.0.1 * License: BSD */ #include <assimp/Importer.hpp> // C++ importer interface #include <assimp/postprocess.h> // Post processing flags #include <assimp/scene.h> // Output data structure /* assimp-xnalara 1.0 * License: MIT */ #incl...
33.964602
79
0.625065
bradosia
32e3c13c9c138af34e6857e801a739ec5482476e
399
cpp
C++
BrickEngine/src/BrickEngine/Renderer/Material.cpp
HomelikeBrick42/GameEngineTest1
3771c65fcd910d360e19b3820b5f4d758cb83997
[ "Apache-2.0" ]
null
null
null
BrickEngine/src/BrickEngine/Renderer/Material.cpp
HomelikeBrick42/GameEngineTest1
3771c65fcd910d360e19b3820b5f4d758cb83997
[ "Apache-2.0" ]
null
null
null
BrickEngine/src/BrickEngine/Renderer/Material.cpp
HomelikeBrick42/GameEngineTest1
3771c65fcd910d360e19b3820b5f4d758cb83997
[ "Apache-2.0" ]
null
null
null
#include "brickpch.hpp" #include "BrickEngine/Renderer/Material.hpp" namespace BrickEngine { void Material::Bind(uint32_t slot) { m_Shader->Bind(); m_Shader->SetFloat4("u_Color", m_Color); if (m_Texture) { m_Texture->Bind(slot); m_Shader->SetInt("u_Texture", slot); } } void Material::UnBind() { ...
16.625
50
0.669173
HomelikeBrick42