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
751668a77ab1fc4aaf47fb59da3992a4f99ed3de
10,393
cpp
C++
Trash/last_main.cpp
QuentinVecchio/KTH-AA
1baac9ee23d3b9e7003d9dd705fe6fa2e8fc6613
[ "MIT" ]
null
null
null
Trash/last_main.cpp
QuentinVecchio/KTH-AA
1baac9ee23d3b9e7003d9dd705fe6fa2e8fc6613
[ "MIT" ]
null
null
null
Trash/last_main.cpp
QuentinVecchio/KTH-AA
1baac9ee23d3b9e7003d9dd705fe6fa2e8fc6613
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <time.h> #include <deque> #include <climits> #include <algorithm> using namespace std; int euclidianDist(double x1, double y1, double x2, double y2); vector<pair<int, pair<double,double> > > annealingSimulated(double temperatureInit, const vector<pair<in...
35.111486
204
0.595786
QuentinVecchio
75171744ef545b8b4344180558279f21f8c49b28
519
hpp
C++
deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_generator_cpp/deepracer_interfaces_pkg/srv/servo_gpio_srv.hpp
amitjain-3/working_add
ddd3b10d854477e86bf7a8558b3d447ec03a8a5f
[ "Apache-2.0" ]
1
2022-03-11T20:15:27.000Z
2022-03-11T20:15:27.000Z
deepracer_follow_the_leader_ws/install/deepracer_interfaces_pkg/include/deepracer_interfaces_pkg/srv/servo_gpio_srv.hpp
amitjain-3/working_add
ddd3b10d854477e86bf7a8558b3d447ec03a8a5f
[ "Apache-2.0" ]
null
null
null
deepracer_follow_the_leader_ws/install/deepracer_interfaces_pkg/include/deepracer_interfaces_pkg/srv/servo_gpio_srv.hpp
amitjain-3/working_add
ddd3b10d854477e86bf7a8558b3d447ec03a8a5f
[ "Apache-2.0" ]
null
null
null
// generated from rosidl_generator_cpp/resource/idl.hpp.em // generated code does not contain a copyright notice #ifndef DEEPRACER_INTERFACES_PKG__SRV__SERVO_GPIO_SRV_HPP_ #define DEEPRACER_INTERFACES_PKG__SRV__SERVO_GPIO_SRV_HPP_ #include "deepracer_interfaces_pkg/srv/detail/servo_gpio_srv__struct.hpp" #include "dee...
43.25
74
0.876686
amitjain-3
751742c761ce67fed60a951e6889c7e7b8b0952a
11,004
cpp
C++
data-server/src/range/txn.cpp
13meimei/sharkstore
b73fd09e8cddf78fc1f690219529770b278b35b6
[ "Apache-2.0" ]
1
2019-09-11T06:16:42.000Z
2019-09-11T06:16:42.000Z
data-server/src/range/txn.cpp
13meimei/sharkstore
b73fd09e8cddf78fc1f690219529770b278b35b6
[ "Apache-2.0" ]
null
null
null
data-server/src/range/txn.cpp
13meimei/sharkstore
b73fd09e8cddf78fc1f690219529770b278b35b6
[ "Apache-2.0" ]
1
2021-09-03T10:35:21.000Z
2021-09-03T10:35:21.000Z
#include "range.h" namespace sharkstore { namespace dataserver { namespace range { using namespace sharkstore::monitor; using namespace txnpb; bool Range::KeyInRange(const PrepareRequest& req, const metapb::RangeEpoch& epoch, errorpb::Error** err) { assert(err != nullptr); bool in_range = true; std::str...
29.983651
108
0.568339
13meimei
751c608d30ad28700117e76301ddaeb9a9f63d4a
884
cpp
C++
tools/converter/source/tensorflow/LRNTf.cpp
loveltyoic/MNN
ff405a307819a7228e0d1fc02c00c68021745b0a
[ "Apache-2.0" ]
1
2019-08-09T03:16:49.000Z
2019-08-09T03:16:49.000Z
tools/converter/source/tensorflow/LRNTf.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
null
null
null
tools/converter/source/tensorflow/LRNTf.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
1
2021-01-15T06:28:11.000Z
2021-01-15T06:28:11.000Z
// // LRNTf.cpp // MNNConverter // // Created by MNN on 2019/01/31. // Copyright © 2018, Alibaba Group Holding Limited // #include "TfUtils.hpp" #include "tfOpConverter.hpp" #include "graph.pb.h" DECLARE_OP_CONVERTER(LRNTf); MNN::OpType LRNTf::opType() { return MNN::OpType_LRN; } MNN::OpParameter LRNTf::typ...
21.560976
73
0.671946
loveltyoic
751ff5d92e904480af9b21c8687bffcfa46aacc0
1,688
hpp
C++
include/Nazara/Core/ResourceManager.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/Core/ResourceManager.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/Core/ResourceManager.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_CORE_RESOURCEMANAGER_HPP #define NAZARA_CORE_RESOURCEMANAGER_HPP #include <Nazara/Core...
28.610169
98
0.747038
jayrulez
970ce570f73b212d2ae76a5c979443088090fd87
325
cc
C++
foobar/bar.cc
cbracken/cc_project_template_bazel
e3121a89130cf419f6cdc0e2978775b5a4a1b4e4
[ "BSD-3-Clause" ]
null
null
null
foobar/bar.cc
cbracken/cc_project_template_bazel
e3121a89130cf419f6cdc0e2978775b5a4a1b4e4
[ "BSD-3-Clause" ]
null
null
null
foobar/bar.cc
cbracken/cc_project_template_bazel
e3121a89130cf419f6cdc0e2978775b5a4a1b4e4
[ "BSD-3-Clause" ]
null
null
null
#include "bar.h" #include <string> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" namespace foobar { std::string Bar(absl::string_view name) { std::string greeting = "Hello"; if (name.size() >= 1) { absl::StrAppend(&greeting, ", ", name); } return greeting; } } // namespace fo...
17.105263
43
0.655385
cbracken
970ddfa3638c99a8a745abecece32889169f9d57
4,962
hpp
C++
Lucy/include/RoundedRectangle.hpp
pL0ck/LUCY
3fdc467d2b32f8c53ed42d40c5ba12d9cccac913
[ "Zlib" ]
null
null
null
Lucy/include/RoundedRectangle.hpp
pL0ck/LUCY
3fdc467d2b32f8c53ed42d40c5ba12d9cccac913
[ "Zlib" ]
null
null
null
Lucy/include/RoundedRectangle.hpp
pL0ck/LUCY
3fdc467d2b32f8c53ed42d40c5ba12d9cccac913
[ "Zlib" ]
null
null
null
#pragma once #define _USE_MATH_DEFINES #include <cmath> //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <SFML/Graphics/Shape.hpp> #include "Config.hpp" namespace Lucy { /////////////////////////////////////////////////...
36.755556
189
0.369206
pL0ck
97139e3a1b2e57e13367a666c0001d70f1885ff5
9,955
cpp
C++
vrclient_x64/vrclient_x64/struct_converters_0913.cpp
SSYSS000/Proton
79ddcc55688fffae9a74f230d825b1dbd6db82a9
[ "MIT", "BSD-3-Clause" ]
17,337
2018-08-21T21:43:27.000Z
2022-03-31T18:06:05.000Z
vrclient_x64/vrclient_x64/struct_converters_0913.cpp
SSYSS000/Proton
79ddcc55688fffae9a74f230d825b1dbd6db82a9
[ "MIT", "BSD-3-Clause" ]
5,641
2018-08-21T22:40:50.000Z
2022-03-31T23:58:40.000Z
vrclient_x64/vrclient_x64/struct_converters_0913.cpp
SSYSS000/Proton
79ddcc55688fffae9a74f230d825b1dbd6db82a9
[ "MIT", "BSD-3-Clause" ]
910
2018-08-21T22:54:53.000Z
2022-03-29T17:35:31.000Z
#include <stdlib.h> #include <string.h> #include "vrclient_private.h" #include "vrclient_defs.h" #include "openvr_v0.9.13/openvr.h" using namespace vr; extern "C" { #include "struct_converters.h" #pragma pack(push, 8) struct winVRControllerState001_t_0913 { uint32_t unPacketNum; uint64_t ulButtonPressed; ui...
37.284644
115
0.749874
SSYSS000
97166fc7c56eb66ec8f9dc088cb0383a9ead90db
4,080
cpp
C++
src/TGAMaker/DirectX/DirectSound/DirectSound.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
4
2019-06-17T13:44:49.000Z
2021-01-19T10:39:48.000Z
src/TGAMaker/DirectX/DirectSound/DirectSound.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
null
null
null
src/TGAMaker/DirectX/DirectSound/DirectSound.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
4
2019-06-17T16:03:20.000Z
2020-02-15T09:14:30.000Z
// DirectSound.cpp: implementation of the CDirectSound class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "DirectSound.h" #include "DirectSoundException.h" #include "DSoundBuffer.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new ...
21.587302
87
0.67402
vitek-karas
971815529f54f7462b7f38abb6a878856dd610f4
856
hpp
C++
include/mudpp/engine/state/create.hpp
Klaim/mudpp
b54b855c394cb5eb5b4b43c4e116c879bd7f0a2f
[ "MIT" ]
null
null
null
include/mudpp/engine/state/create.hpp
Klaim/mudpp
b54b855c394cb5eb5b4b43c4e116c879bd7f0a2f
[ "MIT" ]
null
null
null
include/mudpp/engine/state/create.hpp
Klaim/mudpp
b54b855c394cb5eb5b4b43c4e116c879bd7f0a2f
[ "MIT" ]
null
null
null
//================================================================================================== /** MudPP - MUD engine for C++ Copyright 2019-2020 Joel FALCOU Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT **/ //===========================================...
24.457143
100
0.559579
Klaim
971b7705cd19a424225c4128cdf82793137b1471
1,182
cpp
C++
Trik.cpp
PapaFluff/Kattis
b646f66db1551cdb3601065125299b23da65df32
[ "MIT" ]
null
null
null
Trik.cpp
PapaFluff/Kattis
b646f66db1551cdb3601065125299b23da65df32
[ "MIT" ]
null
null
null
Trik.cpp
PapaFluff/Kattis
b646f66db1551cdb3601065125299b23da65df32
[ "MIT" ]
null
null
null
// All needed preprocessor directives #include <iostream> #include <string> using namespace std; // Main function, the primary driver of the program int main() { bool Ball[3] = {true, false, false}; // Creates an array bool for where the ball is located string BorkosMoves; // Creates a string to be Bo...
26.266667
98
0.521997
PapaFluff
971b8624b6e98c31b3979cd0d5a7bfded902d5af
697
cpp
C++
src/MathUtils.cpp
LeifNode/World-Generator
f9818fb6c5d507eede76141c2687a66f090cbdc1
[ "MIT" ]
16
2015-02-12T20:56:01.000Z
2021-05-31T21:05:41.000Z
src/MathUtils.cpp
LeifNode/World-Generator
f9818fb6c5d507eede76141c2687a66f090cbdc1
[ "MIT" ]
null
null
null
src/MathUtils.cpp
LeifNode/World-Generator
f9818fb6c5d507eede76141c2687a66f090cbdc1
[ "MIT" ]
3
2017-02-05T15:52:34.000Z
2018-02-09T08:51:00.000Z
#include "MathUtils.h" #include <float.h> #include <cmath> const float MathUtils::Infinity = FLT_MAX; const float MathUtils::Pi = 3.1415926535f; const float MathUtils::TwoPi = Pi * 2.0f; const float MathUtils::PiOver2 = Pi / 2.0f; const float MathUtils::PiOver4 = Pi / 4.0f; float MathUtils::AngleFromXY(float...
22.483871
48
0.575323
LeifNode
971f48dbbb8b7dc7b2e954757424782c3184868a
23,716
cpp
C++
Source/src/openpgp/private_key.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
5
2019-10-30T06:10:10.000Z
2020-04-25T16:52:06.000Z
Source/src/openpgp/private_key.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
null
null
null
Source/src/openpgp/private_key.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
2
2019-11-27T23:47:54.000Z
2020-01-13T16:36:03.000Z
// // private_key.cpp // UNNetPGP // // Created by Yanfeng Zhang on 1/21/15. // // The MIT License // // Copyright (c) 2019 Proton Technologies AG // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal ...
48.4
179
0.514252
ProtonMail
9722b1f6a6381b4f07d49be09f94928ed22a43f7
1,040
hpp
C++
sc-memory/tests/performance/units/memory_test.hpp
FallenChromium/sc-machine-1
90c9605d9e1846e07705a7a579fe33ee8768c33a
[ "MIT" ]
null
null
null
sc-memory/tests/performance/units/memory_test.hpp
FallenChromium/sc-machine-1
90c9605d9e1846e07705a7a579fe33ee8768c33a
[ "MIT" ]
9
2022-03-01T07:33:48.000Z
2022-03-24T17:06:07.000Z
sc-memory/tests/performance/units/memory_test.hpp
FallenChromium/sc-machine-1
90c9605d9e1846e07705a7a579fe33ee8768c33a
[ "MIT" ]
7
2022-02-18T13:34:24.000Z
2022-03-25T09:59:42.000Z
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #pragma once #include <memory> #include "sc-memory/sc_memory.hpp" #include "sc-core/sc_memory.h" clas...
18.245614
89
0.680769
FallenChromium
97295eb4da822854ae5217d24dd717d462038d9a
4,175
hpp
C++
include/furi/pct_encode.hpp
LeonineKing1199/furi
f9d1cd4721950393b0c47d7fe4c5c8999c2bdddf
[ "BSL-1.0" ]
4
2020-01-22T22:42:52.000Z
2021-03-21T16:49:41.000Z
include/furi/pct_encode.hpp
LeonineKing1199/furi
f9d1cd4721950393b0c47d7fe4c5c8999c2bdddf
[ "BSL-1.0" ]
null
null
null
include/furi/pct_encode.hpp
LeonineKing1199/furi
f9d1cd4721950393b0c47d7fe4c5c8999c2bdddf
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2018-2019 Christian Mazakas (christian dot mazakas at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/LeonineKing1199/furi // #ifn...
28.209459
100
0.651257
LeonineKing1199
972b06b0e3b76132887270234fca403d3d078242
983
cpp
C++
Leetcode/10.Regex.cpp
EdwaRen/Competitve_Programming
e8bffeb457936d28c75ecfefb5a1f316c15a9b6c
[ "MIT" ]
1
2017-08-10T16:59:01.000Z
2017-08-10T16:59:01.000Z
Leetcode/10.Regex.cpp
EdwaRen/Competitve_Programming
e8bffeb457936d28c75ecfefb5a1f316c15a9b6c
[ "MIT" ]
null
null
null
Leetcode/10.Regex.cpp
EdwaRen/Competitve_Programming
e8bffeb457936d28c75ecfefb5a1f316c15a9b6c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; bool isMatchAnswer(string s, string p) { // if (p.empty()) return s.empty(); // // if ('*' == p[1]) // // x* matches empty string or at least one character: x* -> xx* // // *s is to ensure s is non-empty // return (isMat...
26.567568
118
0.467955
EdwaRen
972d65d310a4f71805571224011b4bbd144c24e8
417
cpp
C++
libs/systems/src/systems/audio_player_default.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/systems/src/systems/audio_player_default.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/systems/src/systems/audio_player_default.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/systems/audio_player.hpp> #include <sge/systems/audio_player_default.hpp> sge::syste...
32.076923
63
0.721823
cpreh
9734e9ea05022aee2a533c0581a5661ee5677c55
1,211
hpp
C++
libs/core/render/include/bksge/core/render/vulkan/detail/shader_module.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/vulkan/detail/shader_module.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/vulkan/detail/shader_module.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file shader_module.hpp * * @brief ShaderModule クラスの定義 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_VULKAN_DETAIL_SHADER_MODULE_HPP #define BKSGE_CORE_RENDER_VULKAN_DETAIL_SHADER_MODULE_HPP #include <bksge/core/render/vulkan/detail/fwd/shader_module_fwd.hpp> #include <bksge/core/render/v...
20.183333
69
0.737407
myoukaku
97357305e510636efc3d730e5d874cc68148586b
8,695
cpp
C++
src/format.cpp
retrhelo/AST-Practice
2d2e23908d1d6877df35a41140b428a69c96470c
[ "MIT" ]
null
null
null
src/format.cpp
retrhelo/AST-Practice
2d2e23908d1d6877df35a41140b428a69c96470c
[ "MIT" ]
null
null
null
src/format.cpp
retrhelo/AST-Practice
2d2e23908d1d6877df35a41140b428a69c96470c
[ "MIT" ]
null
null
null
#include <deque> #include <string> #include "../inc/format" #pragma GCC dependence "../inc/format" static std::deque<std::string> s; static void enterDebug(std::string str) { s.push_back(str); } static void debug_msg(std::string str) { std::cerr << s.back() << ": " << str << std::endl; } static void debug_ms...
19.539326
69
0.576078
retrhelo
973607bb823caa5703c25364396bbb887e400846
1,085
cpp
C++
src/Actions/Sentences/SentenceListAction.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
src/Actions/Sentences/SentenceListAction.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
src/Actions/Sentences/SentenceListAction.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
#include "../Actions.hpp" #include "../../Program.hpp" #include "../../AIModelAdapter.hpp" #include "../../Data/DAOs.hpp" #include "../../Data/Commands/Sentences/SentenceQueryPagedCmd.hpp" #include <math.h> using namespace ScriptAI; using namespace Sql; SentenceListAction::SentenceListAction(AIProgram *prog): PagedA...
25.232558
101
0.686636
viveret
9737a75b748854f0400bf8185a8f2f2e847bdd9b
6,517
cpp
C++
src/ui/al_ParameterMIDI.cpp
AlloSphere-Research-Group/al_lib
94d23fe71b79d3464a658f16ca34c2040e6d7334
[ "BSD-3-Clause" ]
26
2018-11-05T23:29:43.000Z
2022-03-17T18:16:49.000Z
src/ui/al_ParameterMIDI.cpp
yangevelyn/allolib
1654be795b6515c058eb8243751b903a2aa6efdc
[ "BSD-3-Clause" ]
41
2018-01-19T18:34:41.000Z
2022-01-27T23:52:01.000Z
src/ui/al_ParameterMIDI.cpp
yangevelyn/allolib
1654be795b6515c058eb8243751b903a2aa6efdc
[ "BSD-3-Clause" ]
11
2018-01-05T16:42:19.000Z
2022-01-27T22:08:01.000Z
#include "al/ui/al_ParameterMIDI.hpp" using namespace al; ParameterMIDI::ParameterMIDI(unsigned int deviceIndex, bool verbose) { MIDIMessageHandler::bindTo(mRtMidiIn); mVerbose = verbose; try { mRtMidiIn.openPort(deviceIndex); printf("ParameterMIDI: Opened port to %s\n", mRtMidiIn.getPortName...
33.081218
80
0.603805
AlloSphere-Research-Group
9737c0c2a7ec2cd01cbd02e34a5a53854fed1b3b
2,060
cpp
C++
YorozuyaGSLib/source/ICsSendInterface.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/ICsSendInterface.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/ICsSendInterface.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <ICsSendInterface.hpp> START_ATF_NAMESPACE void ICsSendInterface::SendMsg_BuyCashItem(uint16_t wSock, struct _param_cash_update* psheet, struct _param_cash_update* sheetplus) { using org_ptr = void (WINAPIV*)(uint16_t, struct _param_cash_update*, struct _param_cash_update*); (org_ptr(...
50.243902
158
0.719903
lemkova
9739223a9944a79edce25f902b3ef9911021e898
1,509
cpp
C++
B2G/gecko/accessible/src/msaa/RootAccessibleWrap.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/accessible/src/msaa/RootAccessibleWrap.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/accessible/src/msaa/RootAccessibleWrap.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "RootAccessibleWrap.h" #...
30.18
80
0.632869
wilebeast
973b2809ce634c61f6516f7a81ba8aa0e5317e9e
1,869
cpp
C++
src/app/Welcome.cpp
wichern/leucht
403fc613e06241978696fb15f34fa64f2732549d
[ "MIT" ]
null
null
null
src/app/Welcome.cpp
wichern/leucht
403fc613e06241978696fb15f34fa64f2732549d
[ "MIT" ]
null
null
null
src/app/Welcome.cpp
wichern/leucht
403fc613e06241978696fb15f34fa64f2732549d
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2019 Paul Wichern * * 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,...
31.677966
81
0.693419
wichern
973c2951b38dd6a0bd1be51e43b4ee6b9d386e62
546
cpp
C++
lib/Render/SceneObject.cpp
chromapid/Monocle
5be990b05e89abbd1c6a222a9bcf412ba350aecd
[ "MIT" ]
null
null
null
lib/Render/SceneObject.cpp
chromapid/Monocle
5be990b05e89abbd1c6a222a9bcf412ba350aecd
[ "MIT" ]
null
null
null
lib/Render/SceneObject.cpp
chromapid/Monocle
5be990b05e89abbd1c6a222a9bcf412ba350aecd
[ "MIT" ]
null
null
null
#include "monocle/Render/SceneObject.h" #include "glm/glm/gtc/matrix_transform.hpp" #include "glm/glm/gtc/quaternion.hpp" #include "glm/glm/gtx/transform.hpp" #include "glm/glm/vec3.hpp" using namespace mncl; glm::mat4 SceneObject::getObjectToWorldMatrix() { return glm::translate(glm::scale(glm::toMat4(rotation), sc...
36.4
152
0.741758
chromapid
973eee2bd2e18096f86ea5ca9c4940860766ee21
1,059
hpp
C++
src/corelib/hall-switch-int.hpp
Abiram-Narayanaswamy/hall-switch
921c41bea246ada2588ba0be0eab8a43b1b0a5ab
[ "MIT" ]
2
2020-05-30T14:26:43.000Z
2020-06-30T13:37:32.000Z
src/corelib/hall-switch-int.hpp
Abiram-Narayanaswamy/hall-switch
921c41bea246ada2588ba0be0eab8a43b1b0a5ab
[ "MIT" ]
2
2019-12-04T20:30:40.000Z
2020-08-24T13:19:39.000Z
src/corelib/hall-switch-int.hpp
Abiram-Narayanaswamy/hall-switch
921c41bea246ada2588ba0be0eab8a43b1b0a5ab
[ "MIT" ]
3
2020-01-29T10:26:00.000Z
2020-09-08T10:53:42.000Z
/** * @file hall-switch-int.hpp * @brief Hall Switch Interrupt Handler * @date July 2019 * @copyright Copyright (c) 2019-2020 Infineon Technologies AG * * SPDX-License-Identifier: MIT */ #ifndef HALL_SWITCH_INT_HPP_ #define HALL_SWITCH_INT_HPP_ #include "hall-switch.hpp" class HallSwit...
35.3
114
0.601511
Abiram-Narayanaswamy
973f405b918440fde76ec9c575ff8e02df9b7a63
473
cc
C++
ports/www/chromium-legacy/newport/files/patch-base_test_test__file__util__posix.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ports/www/chromium-legacy/newport/files/patch-base_test_test__file__util__posix.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ports/www/chromium-legacy/newport/files/patch-base_test_test__file__util__posix.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
--- base/test/test_file_util_posix.cc.orig 2019-03-11 22:00:51 UTC +++ base/test/test_file_util_posix.cc @@ -85,7 +85,7 @@ void SyncPageCacheToDisk() { sync(); } -#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) +#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !define...
39.416667
90
0.701903
danielfojt
973f8188fe38d2b6d8724be3ae25d071979dca24
227
cpp
C++
Pbinfo/Gen.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
7
2019-01-06T19:10:14.000Z
2021-10-16T06:41:23.000Z
Pbinfo/Gen.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
null
null
null
Pbinfo/Gen.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
6
2019-01-06T19:17:30.000Z
2020-02-12T22:29:17.000Z
#include <iostream> using namespace std; int main() { int n, k; cin>>n>>k; for(int i=1; i<=n; i++) cout<<1; cout<<"01"; for(int i=1; i<=k; i++) cout<<0; cout<<10; return 0; }
9.869565
27
0.440529
Al3x76
974065eb4a0cec64d11885d99d4c33765451710d
19,415
cpp
C++
RTC/Kinect_Face/download/HDFaceBasics-D2D/ImageRenderer.cpp
rsdlab/LookThatWaySystem
842a8c021b1c9594b95a70d9e8302e77ceae6a97
[ "MIT" ]
null
null
null
RTC/Kinect_Face/download/HDFaceBasics-D2D/ImageRenderer.cpp
rsdlab/LookThatWaySystem
842a8c021b1c9594b95a70d9e8302e77ceae6a97
[ "MIT" ]
null
null
null
RTC/Kinect_Face/download/HDFaceBasics-D2D/ImageRenderer.cpp
rsdlab/LookThatWaySystem
842a8c021b1c9594b95a70d9e8302e77ceae6a97
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // <copyright file="ImageRenderer.cpp" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ #include ...
36.087361
233
0.609374
rsdlab
97424232419c4920584a72a90d88a80611df4a8d
4,130
hpp
C++
level_one_utils/hof_matlab_source/lib_hof/src/vector/HoF_Vector_Object.hpp
jedavis82/scene_labeling
a5e819f801a4fa96a1f4b076fc2049519687b1de
[ "MIT" ]
null
null
null
level_one_utils/hof_matlab_source/lib_hof/src/vector/HoF_Vector_Object.hpp
jedavis82/scene_labeling
a5e819f801a4fa96a1f4b076fc2049519687b1de
[ "MIT" ]
null
null
null
level_one_utils/hof_matlab_source/lib_hof/src/vector/HoF_Vector_Object.hpp
jedavis82/scene_labeling
a5e819f801a4fa96a1f4b076fc2049519687b1de
[ "MIT" ]
null
null
null
#ifndef HOF_VECTOR_OBJECT_HPP_ #define HOF_VECTOR_OBJECT_HPP_ #include "HoF_Vector_Structs.hpp" #include "../constants.hpp" #include <string> #include <vector> #include <map> #include <utility> #include <fstream> #include <sstream> #include <iostream> #include <exception> #include <stdexcept> #include <cstring> #incl...
25.337423
167
0.698547
jedavis82
9744d4bedde54a3c60cc310bc94117bbc90556a1
17,911
cpp
C++
src/optical_flow.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
src/optical_flow.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
src/optical_flow.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
#include <opencv4/opencv2/opencv.hpp> void OPticalFlowLucasKanade() { /* Obsolete functions: CalcOpticalFlowHS -> computes the flow for every pixel of the first input image using the Horn and Schunck algorithm CalcOpticalFlowLK -> computes the flow for every pixel of the first input image using the Lucas and Kanad...
34.312261
357
0.615097
behnamasadi
9747d1d1fd9766a89a8a56f6559aefb27328196c
28,238
cpp
C++
source/registerBSpline.cpp
MIDA-group/itkAlphaAMD
60bd21338b2213371e6e48fa4ab2a8fbbc61d85e
[ "MIT" ]
1
2018-10-26T15:07:00.000Z
2018-10-26T15:07:00.000Z
source/registerBSpline3D_2.cpp
MIDA-group/itkAlphaAMD
60bd21338b2213371e6e48fa4ab2a8fbbc61d85e
[ "MIT" ]
1
2019-12-21T08:14:45.000Z
2020-02-21T17:28:46.000Z
source/registerBSpline3D_2.cpp
MIDA-group/itkAlphaAMD
60bd21338b2213371e6e48fa4ab2a8fbbc61d85e
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include <string> //#include "itkLBFGSOptimizer.h" #include "itkImageFileWriter.h" #include "itkResampleImageFilter.h" #include "itkCastImageFilter.h" #include "itkSquaredDifferenceImageFilter.h" #include "itkImageRegistrationMethod.h" #include "itkMeanSquaresImageToImageMetric...
36.912418
213
0.711134
MIDA-group
974b43486e73052acd41f4bc735024f17e43dacc
1,262
cpp
C++
2_oop_basics/2_adv_oop/17_deduction.cpp
aalfianrachmat/CppND-practice
6c35141c106b9fa867392a846b35c482ded74e62
[ "MIT" ]
27
2019-10-08T13:43:32.000Z
2021-08-30T08:00:28.000Z
2_oop_basics/2_adv_oop/17_deduction.cpp
aalfianrachmat/CppND-practice
6c35141c106b9fa867392a846b35c482ded74e62
[ "MIT" ]
1
2020-10-11T23:20:15.000Z
2020-10-11T23:20:15.000Z
2_oop_basics/2_adv_oop/17_deduction.cpp
aalfianrachmat/CppND-practice
6c35141c106b9fa867392a846b35c482ded74e62
[ "MIT" ]
14
2019-09-22T15:17:59.000Z
2021-07-13T06:06:37.000Z
/* * Deduction occurs when an object is instantiated without explicitly identifying the types. * Instead, the compiler "deduces" the types. * This can be helpful for writing code that is generic and can handle a variety of inputs. * * OBJECTIVES * 1. Declare a generic conditional function * 2. Use it in condition...
28.681818
97
0.645008
aalfianrachmat
974d8e6e80120f908fbc79b311a3478a54edd81a
19,011
hh
C++
include/tracker/script.hh
bhgomes/tracker
dc44d40dd0275026ca8389898d47e35d19a3d9a7
[ "Unlicense" ]
1
2019-10-29T16:40:39.000Z
2019-10-29T16:40:39.000Z
include/tracker/script.hh
bhgomes/tracker
dc44d40dd0275026ca8389898d47e35d19a3d9a7
[ "Unlicense" ]
4
2019-04-01T16:31:31.000Z
2019-04-01T16:32:58.000Z
include/tracker/script.hh
bhgomes/tracker
dc44d40dd0275026ca8389898d47e35d19a3d9a7
[ "Unlicense" ]
null
null
null
/* * include/tracker/script.hh * * Copyright 2018 Brandon Gomes * * 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...
45.809639
104
0.549261
bhgomes
9750f5d8d2986740f7b20f68edf64b025018854d
3,141
cpp
C++
src/ui/ImageTileWidget.cpp
liyinnbw/MSFM
b846816594851c84094078586047a0d1f200f166
[ "MIT" ]
5
2020-02-02T23:43:59.000Z
2021-12-10T09:42:05.000Z
src/ui/ImageTileWidget.cpp
projectcs2103t/MSFM
b846816594851c84094078586047a0d1f200f166
[ "MIT" ]
null
null
null
src/ui/ImageTileWidget.cpp
projectcs2103t/MSFM
b846816594851c84094078586047a0d1f200f166
[ "MIT" ]
1
2020-02-12T13:24:13.000Z
2020-02-12T13:24:13.000Z
/* * Widget to display multiple images */ #include <QtGui> #include <QtGlobal> #include <QDebug> #include <assert.h> #include "ImageTileWidget.h" #include "core/Utils.h" #include "core/Camera.h" using namespace std; // Constructor ImageTileWidget:: ImageTileWidget(QWidget *parent) :ImageWidget(parent) ,rows(0) ,co...
23.977099
120
0.658707
liyinnbw
97513fee4bbd3df088e47e0d4560f541ee72d1b8
11,464
cpp
C++
src/ecal.cpp
IcicleF/undergraduate_project
57bc851834051ae5b167dcbf6790305905438d9e
[ "MIT" ]
1
2021-11-13T03:20:46.000Z
2021-11-13T03:20:46.000Z
src/ecal.cpp
IcicleF/undergraduate_project
57bc851834051ae5b167dcbf6790305905438d9e
[ "MIT" ]
null
null
null
src/ecal.cpp
IcicleF/undergraduate_project
57bc851834051ae5b167dcbf6790305905438d9e
[ "MIT" ]
null
null
null
#include <ecal.hpp> #include <debug.hpp> //#define USE_RPC /** * Constructor initializes `memConf`. * Also it initializes `clusterConf`, `myNodeConf` by instantiating an RPCInterface. */ ECAL::ECAL() { if (cmdConf == nullptr) { d_err("cmdConf should be initialized!"); exit(-1); } if (me...
32.568182
116
0.537858
IcicleF
9752f68711e6d453b8d71ea60bc1f6eca446b36a
4,377
cpp
C++
al/ALSoundEmitter.cpp
jomael/AudioEngine
48219cee71ad437760d7fe6a6a046c076b5fddd5
[ "Apache-2.0" ]
null
null
null
al/ALSoundEmitter.cpp
jomael/AudioEngine
48219cee71ad437760d7fe6a6a046c076b5fddd5
[ "Apache-2.0" ]
null
null
null
al/ALSoundEmitter.cpp
jomael/AudioEngine
48219cee71ad437760d7fe6a6a046c076b5fddd5
[ "Apache-2.0" ]
null
null
null
#include "ALSoundEmitter.hpp" namespace audio { namespace al { AudioEmitter::AudioEmitter(const std::string &path): m_position(0.0f, 0.0f, 0.0f), m_velocity(0.0f, 0.0f, 0.0f), m_direction(0.0f, 0.0f, 0.0f), m_minGain(0.0f), m_maxGain(0.3f), m_minDistance(0.0f), m_maxDistance(0.3f), m_i...
21.043269
79
0.644277
jomael
97532da8abd790672731a466d87a1ca214c65910
3,364
hpp
C++
Leetcode/LinkedListProblems/Easy/DesignLinkedList.hpp
paulburgess1357/Leetcode
7b8ee737b1a2a3d5ac7fcf6558c84882c0b95c36
[ "MIT" ]
1
2021-03-02T21:31:05.000Z
2021-03-02T21:31:05.000Z
Leetcode/LinkedListProblems/Easy/DesignLinkedList.hpp
paulburgess1357/Leetcode
7b8ee737b1a2a3d5ac7fcf6558c84882c0b95c36
[ "MIT" ]
null
null
null
Leetcode/LinkedListProblems/Easy/DesignLinkedList.hpp
paulburgess1357/Leetcode
7b8ee737b1a2a3d5ac7fcf6558c84882c0b95c36
[ "MIT" ]
null
null
null
#pragma once #include <iostream> struct Node { Node() :m_val{ 0 }, m_next_node{ nullptr }{} Node(const int val) :m_val{ val }, m_next_node{ nullptr }{} Node(const int val, Node* next_node) :m_val{ val }, m_next_node{ next_node }{} int m_val; Node* m_next_node; }; class LinkedList { public: Linke...
21.025
92
0.654578
paulburgess1357
97533821ace90add3aca9d676c86468dca292a5f
1,587
cpp
C++
oivlib/renderers/OIVD3D11Renderer/Source/OIVD3D11Renderer.cpp
OpenImageViewer/OpenImageViewer
95899bc34ca7a2daf3a5ee00c66aab09bc1f0e7b
[ "RSA-MD" ]
19
2019-07-11T13:17:54.000Z
2022-03-12T14:05:20.000Z
oivlib/renderers/OIVD3D11Renderer/Source/OIVD3D11Renderer.cpp
OpenImageViewer/OpenImageViewer
95899bc34ca7a2daf3a5ee00c66aab09bc1f0e7b
[ "RSA-MD" ]
48
2019-01-12T14:52:04.000Z
2022-02-16T19:09:48.000Z
oivlib/renderers/OIVD3D11Renderer/Source/OIVD3D11Renderer.cpp
OpenImageViewer/OIV
7b2b67ea156255bf77819ce77bf687c9d360e217
[ "RSA-MD" ]
4
2017-07-23T13:37:12.000Z
2018-11-30T21:02:01.000Z
#include "OIVD3D11Renderer.h" #include "D3D11/D3D11Renderer.h" namespace OIV { OIVD3D11Renderer::OIVD3D11Renderer() { fD3D11Renderer = std::unique_ptr<D3D11Renderer>(new D3D11Renderer()); } int OIVD3D11Renderer::SetSelectionRect(SelectionRect selectionRect) { return fD3D11Renderer-...
26.45
90
0.701323
OpenImageViewer
975b738cbf7c4a6aabc32005c5ecd5f2efb06e9c
2,887
cpp
C++
src/face/tracker/tracker.cpp
bububa/openvision
0864e48ec8e69ac13d6889d41f7e1171f53236dd
[ "Apache-2.0" ]
1
2022-02-08T06:42:05.000Z
2022-02-08T06:42:05.000Z
src/face/tracker/tracker.cpp
bububa/openvision
0864e48ec8e69ac13d6889d41f7e1171f53236dd
[ "Apache-2.0" ]
null
null
null
src/face/tracker/tracker.cpp
bububa/openvision
0864e48ec8e69ac13d6889d41f7e1171f53236dd
[ "Apache-2.0" ]
null
null
null
#include "../tracker.h" #include <queue> IFaceTracker new_face_tracker() { return new ovface::Tracker(); } void destroy_face_tracker(IFaceTracker t) { delete static_cast<ovface::Tracker*>(t); } int track_face(IFaceTracker t, const FaceInfoVector* curr_faces, TrackedFaceInfoVector* faces) { std::vector<ov...
33.964706
106
0.678559
bububa
976468e08dce8b5ed0475c61e038d545ffe77040
549
cpp
C++
aclswarm/lib/codegen_admm/ADMMGainDesign3D/ADMMGainDesign3D_data.cpp
mit-acl/aclswarm
2a4d1e0962a3e3bbc2568172f33f5b466e296647
[ "MIT" ]
28
2020-03-12T03:25:30.000Z
2022-02-21T07:22:44.000Z
aclswarm/lib/codegen_admm/ADMMGainDesign3D/ADMMGainDesign3D_data.cpp
mit-acl/aclswarm
2a4d1e0962a3e3bbc2568172f33f5b466e296647
[ "MIT" ]
2
2020-05-07T18:13:58.000Z
2021-01-07T20:26:00.000Z
aclswarm/lib/codegen_admm/ADMMGainDesign3D/ADMMGainDesign3D_data.cpp
mit-acl/aclswarm
2a4d1e0962a3e3bbc2568172f33f5b466e296647
[ "MIT" ]
10
2020-04-10T02:14:39.000Z
2021-01-17T14:00:53.000Z
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * ADMMGainDesign3D_data.cpp * * Code generation for function 'ADMMGainDesign3D_data' * */ /* Include files *...
26.142857
73
0.761384
mit-acl
97663f775bd942d9a0a2bf746b7d3298be040587
1,773
hh
C++
backup/TussenEval/mobileip/RequestGenerator.hh
JeroenVerstraelen/Telecom
05f986e9c119fb8161d006711f968438bbddad74
[ "Apache-2.0" ]
null
null
null
backup/TussenEval/mobileip/RequestGenerator.hh
JeroenVerstraelen/Telecom
05f986e9c119fb8161d006711f968438bbddad74
[ "Apache-2.0" ]
null
null
null
backup/TussenEval/mobileip/RequestGenerator.hh
JeroenVerstraelen/Telecom
05f986e9c119fb8161d006711f968438bbddad74
[ "Apache-2.0" ]
null
null
null
#ifndef CLICK_REQUESTGENERATOR_HH #define CLICK_REQUESTGENERATOR_HH #include <click/element.hh> #include <click/timer.hh> // Local imports #include "structs/RegistrationData.hh" CLICK_DECLS /* * Click element that will generate requests at the mobile node * Mobile node will send requests when he has determined tha...
29.55
111
0.753525
JeroenVerstraelen
97686b26ef810f0b3a07b0c9ce66a0167b88f1d1
4,956
cpp
C++
aws-cpp-sdk-networkmanager/source/model/NetworkResource.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-networkmanager/source/model/NetworkResource.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-networkmanager/source/model/NetworkResource.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/networkmanager/model/NetworkResource.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws ...
22.026667
102
0.726594
perfectrecall
9768f8885dd8eb4a3fa981293e505843016909c2
2,109
cpp
C++
src/plugin.cpp
iconmaster5326/Iconus
d6f265bd8ebb63199f7f8993864c051fae0484ac
[ "MIT" ]
null
null
null
src/plugin.cpp
iconmaster5326/Iconus
d6f265bd8ebb63199f7f8993864c051fae0484ac
[ "MIT" ]
null
null
null
src/plugin.cpp
iconmaster5326/Iconus
d6f265bd8ebb63199f7f8993864c051fae0484ac
[ "MIT" ]
null
null
null
/* * plugin.cpp * * Created on: Jan 21, 2019 * Author: iconmaster */ #include "plugin.hpp" #include "error.hpp" #include <dlfcn.h> #include <boost/filesystem.hpp> using namespace std; using namespace iconus; using namespace boost::filesystem; Vector<Plugin> iconus::Plugin::plugins{}; ...
26.3625
113
0.638217
iconmaster5326
97725c5034fc7301c9c5d25b75d3e91b2f98b321
2,321
cpp
C++
Havtorn/Source/Engine/ECS/Systems/CameraSystem.cpp
nicolas-risberg/NewEngine
38441f0713167ca8a469a1c6c0e7a290b5e402de
[ "MIT" ]
null
null
null
Havtorn/Source/Engine/ECS/Systems/CameraSystem.cpp
nicolas-risberg/NewEngine
38441f0713167ca8a469a1c6c0e7a290b5e402de
[ "MIT" ]
null
null
null
Havtorn/Source/Engine/ECS/Systems/CameraSystem.cpp
nicolas-risberg/NewEngine
38441f0713167ca8a469a1c6c0e7a290b5e402de
[ "MIT" ]
1
2022-01-09T12:01:24.000Z
2022-01-09T12:01:24.000Z
// Copyright 2022 Team Havtorn. All Rights Reserved. #include "hvpch.h" #include "CameraSystem.h" #include "Engine.h" #include "Scene/Scene.h" #include "ECS/Components/TransformComponent.h" #include "ECS/Components/CameraComponent.h" #include "Input/InputMapper.h" namespace Havtorn { CCameraSystem::CCameraSystem() ...
33.637681
129
0.750539
nicolas-risberg
97726b3951a32c5f0881d24dcb09e1fc2ba165ea
578
cpp
C++
Module 1/B04920_Code/B04920_Code/B04920_Examples_FinalCode/random_character/random_character.cpp
PacktPublishing/Cpp-for-game-developers
2e26319290dc469698745ab422ee64623ade8c43
[ "MIT" ]
7
2017-12-28T20:11:12.000Z
2021-11-14T14:22:40.000Z
Module 1/B04920_Code/B04920_Code/B04920_Examples_FinalCode/random_character/random_character.cpp
PacktPublishing/Cpp-for-game-developers
2e26319290dc469698745ab422ee64623ade8c43
[ "MIT" ]
null
null
null
Module 1/B04920_Code/B04920_Code/B04920_Examples_FinalCode/random_character/random_character.cpp
PacktPublishing/Cpp-for-game-developers
2e26319290dc469698745ab422ee64623ade8c43
[ "MIT" ]
3
2017-12-28T20:14:04.000Z
2020-06-21T08:00:54.000Z
#include <iostream> using namespace std; // Entry method of the application. int main() { // Loop forever. while (true) { // Output instructions. cout << "Press enter to generate a random character from the ASCII standard:" << endl; // Pause for user input. cin.get(); // The ASCII characters range from...
19.931034
88
0.643599
PacktPublishing
97726b45552b985a86a1d1ba88ad6003d15782b8
2,527
cpp
C++
core/sqf/src/tm/tmregisterregion.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
148
2015-06-18T21:26:04.000Z
2017-12-25T01:47:01.000Z
core/sqf/src/tm/tmregisterregion.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
1,352
2015-06-20T03:05:01.000Z
2017-12-25T14:13:18.000Z
core/sqf/src/tm/tmregisterregion.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
166
2015-06-19T18:52:10.000Z
2017-12-27T06:19:32.000Z
// @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2...
40.758065
148
0.738029
CoderSong2015
977335667972ede6f1574fdb5fd052ae49fd8556
6,582
cpp
C++
include/util/GLShapeRenderer.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
6
2020-07-03T21:14:56.000Z
2021-11-11T09:37:40.000Z
include/util/GLShapeRenderer.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
null
null
null
include/util/GLShapeRenderer.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
2
2020-08-15T22:37:21.000Z
2021-01-17T11:31:27.000Z
#include "GLShapeRenderer.h" #include "ShaderUtils.h" static constexpr const char* vsShape[] = { "attribute vec4 position;" "attribute vec4 normal;" "uniform mat4 V;" "uniform mat4 P;" "uniform mat4 m16;" "uniform vec3 sunPosition;" "varying vec4 eyeV;" "varying vec3 eyeN;" "varying vec4 eyeL;" ,ShaderUti...
26.647773
137
0.660134
hvidal
97734d44b6bc7da7a7caa0a19af0eda06e174101
2,813
cc
C++
src/kinem/EDepSimRooTrackerKinematicsFactory.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
15
2017-04-25T14:20:22.000Z
2022-03-15T19:39:43.000Z
src/kinem/EDepSimRooTrackerKinematicsFactory.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
24
2017-11-08T21:16:48.000Z
2022-03-04T13:33:18.000Z
src/kinem/EDepSimRooTrackerKinematicsFactory.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
20
2017-11-09T15:41:46.000Z
2022-01-25T20:52:32.000Z
#include <TFile.h> #include <TTree.h> #include <TBits.h> #include <TObjString.h> #include "kinem/EDepSimRooTrackerKinematicsFactory.hh" #include "kinem/EDepSimRooTrackerKinematicsGenerator.hh" EDepSim::RooTrackerKinematicsFactory::RooTrackerKinematicsFactory( EDepSim::UserPrimaryGeneratorMessenger* parent) :...
38.534247
85
0.661927
andrewmogan
9776376067598d81822190da02d3f457274697d6
1,266
cpp
C++
Strings/valid_number.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Strings/valid_number.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Strings/valid_number.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
//leetcode.com/problems/valid-number #include <bits/stdc++.h> using namespace std; class Solution { public: bool isNumber(string s) { bool visitedDigit = false; bool visitedE = false; bool visitedDot = false; int countPlusMinus = 0; for (int i = 0; i < s.length(); ++i) { ...
31.65
69
0.390995
khushisinha20
977973b989c0951f9818dce1dbafdc5a6aeca9ea
775
cpp
C++
tools/src/entry.cpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
2
2021-09-28T14:13:27.000Z
2022-03-26T11:36:48.000Z
tools/src/entry.cpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
72
2021-09-29T08:55:26.000Z
2022-03-29T21:21:00.000Z
tools/src/entry.cpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
null
null
null
#include "tools.hpp" #include <iostream> #include <string> /// Prints the help message of the program. int runHelp(int, char**) { std::cerr << "Usage: cubinhos <TOOL>" << std::endl; std::cerr << "Tools:" << std::endl; for (size_t i = 0; i < sizeof(tools) / sizeof(tools[0]); ++i) { std::cerr <<...
21.527778
69
0.491613
GameDevTecnico
97799f60f7e6c20819954fce1914e2cf3f868043
4,360
cpp
C++
examples/connect4/muzero_connect4.cpp
tuero/muzero-cpp
a679275a2c6f6a6ff7fb38ede40423aced0afe10
[ "Apache-2.0" ]
6
2022-01-13T07:41:50.000Z
2022-02-07T22:29:01.000Z
examples/connect4/muzero_connect4.cpp
tuero/muzero-cpp
a679275a2c6f6a6ff7fb38ede40423aced0afe10
[ "Apache-2.0" ]
null
null
null
examples/connect4/muzero_connect4.cpp
tuero/muzero-cpp
a679275a2c6f6a6ff7fb38ede40423aced0afe10
[ "Apache-2.0" ]
1
2022-01-19T01:29:23.000Z
2022-01-19T01:29:23.000Z
#include <algorithm> #include <string> #include <vector> #include "absl/flags/flag.h" #include "connect4.h" #include "muzero-cpp/abstract_game.h" #include "muzero-cpp/config.h" #include "muzero-cpp/default_flags.h" #include "muzero-cpp/muzero.h" #include "muzero-cpp/types.h" using namespace muzero_cpp; using namespac...
28.311688
103
0.648394
tuero
977a216311e49d35fd2c699bed3f233094d50409
783
cpp
C++
upptst/GuiMtTest/main.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
upptst/GuiMtTest/main.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
upptst/GuiMtTest/main.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include <CtrlLib/CtrlLib.h> using namespace Upp; struct App : TopWindow { Thread work; void Work(); ArrayCtrl list; typedef App CLASSNAME; App(); ~App(); }; void Ask(bool *result) { *result = PromptYesNo("Do you want to quit?"); } void App::Work() { int q = 0; while(!Thread...
13.05
48
0.533844
dreamsxin
977e90456303ebbec60914f971122fcef7961fd6
154
cpp
C++
Extensions/ImGui/ImGui.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
34
2019-09-11T09:12:16.000Z
2022-02-13T12:50:25.000Z
Extensions/ImGui/ImGui.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
7
2019-09-22T14:21:26.000Z
2020-03-24T10:36:20.000Z
Extensions/ImGui/ImGui.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
6
2019-10-21T18:05:55.000Z
2021-04-22T05:07:30.000Z
#include "ImGui.hpp" #include <ThirdParties/ImGui/imgui_widgets.cpp> #include <ThirdParties/ImGui/imgui_draw.cpp> #include <ThirdParties/ImGui/imgui.cpp>
30.8
47
0.805195
LinkClinton
9784707529cad01bad713cef513a0bf27d9b440b
519
hpp
C++
src/String.hpp
enebe-nb/SokuLib
e4fdc913b6ce4bfce65d2fa7ccfcbdf9b5a2c910
[ "MIT" ]
2
2021-03-06T08:32:44.000Z
2021-04-18T20:43:42.000Z
src/String.hpp
enebe-nb/SokuLib
e4fdc913b6ce4bfce65d2fa7ccfcbdf9b5a2c910
[ "MIT" ]
4
2020-11-29T20:25:32.000Z
2021-12-11T14:38:34.000Z
src/String.hpp
enebe-nb/SokuLib
e4fdc913b6ce4bfce65d2fa7ccfcbdf9b5a2c910
[ "MIT" ]
3
2021-02-18T19:59:14.000Z
2021-09-07T13:23:38.000Z
// // Created by Gegel85 on 04/11/2020. // #ifndef SOKULIB_STRING_HPP #define SOKULIB_STRING_HPP #include <string> namespace SokuLib { #pragma pack(push, 4) // std::string ? struct String { enum { BUF_SIZE = 16 }; void *alloc; union { char buf[16]; char* ptr; } body; size_t size; size_t res; ...
14.027027
44
0.645472
enebe-nb
97857a096f016968ca5c463cac9d6c4412c2f3c7
1,664
cpp
C++
rosbag2_py/src/rosbag2_py/_reindexer.cpp
MourtazaKASSAMALY/rosbag2
d195b67186f2e63eeab6b3589250bf19c3ef95b7
[ "Apache-2.0" ]
118
2018-04-27T10:48:44.000Z
2022-03-30T14:45:13.000Z
rosbag2_py/src/rosbag2_py/_reindexer.cpp
MourtazaKASSAMALY/rosbag2
d195b67186f2e63eeab6b3589250bf19c3ef95b7
[ "Apache-2.0" ]
851
2018-05-16T19:11:49.000Z
2022-03-31T23:02:50.000Z
rosbag2_py/src/rosbag2_py/_reindexer.cpp
MourtazaKASSAMALY/rosbag2
d195b67186f2e63eeab6b3589250bf19c3ef95b7
[ "Apache-2.0" ]
147
2018-04-03T17:05:06.000Z
2022-03-24T06:05:42.000Z
// Copyright 2021 DCS Corporation, 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 appli...
27.278689
78
0.733173
MourtazaKASSAMALY
9785fec484b4596bd1997b1e0c0a7fa7a4a9111d
1,947
cpp
C++
server/src/providers/ozSlaveVideo.cpp
dstarikov/ozonebase
fd942c6816f0ecb03548bad93219eab5044d6aea
[ "MIT" ]
98
2016-06-09T00:10:01.000Z
2022-02-25T05:10:55.000Z
server/src/providers/ozSlaveVideo.cpp
redheavendogg/ozonebase
e675f2353b3264dc563d287117e7bfb2c68a54dc
[ "MIT" ]
65
2016-05-26T14:43:33.000Z
2020-05-07T05:02:36.000Z
server/src/providers/ozSlaveVideo.cpp
redheavendogg/ozonebase
e675f2353b3264dc563d287117e7bfb2c68a54dc
[ "MIT" ]
47
2016-06-10T20:35:38.000Z
2022-01-11T05:29:34.000Z
#include "../base/oz.h" #include "ozSlaveVideo.h" /** * @brief * * @param id * @param width * @param height * @param pixelFormat * @param frameRate */ SlaveVideo::SlaveVideo( const std::string &id, uint16_t width, uint16_t height, AVPixelFormat pixelFormat, const FrameRate &frameRate ) : VideoProvider( cClass(), ...
20.712766
137
0.649718
dstarikov
9787a33301218116d1db62158535bc14ebd59d14
4,178
cc
C++
tests/unit/active/test_async_op.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
26
2019-11-26T08:36:15.000Z
2022-02-15T17:13:21.000Z
tests/unit/active/test_async_op.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
1,215
2019-09-09T14:31:33.000Z
2022-03-30T20:20:14.000Z
tests/unit/active/test_async_op.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
12
2019-09-08T00:03:05.000Z
2022-02-23T21:28:35.000Z
/* //@HEADER // ***************************************************************************** // // test_async_op.cc // DARMA/vt => Virtual Transport // // Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Co...
34.245902
81
0.675443
rbuch
9790391d9726de160df3cdf972093617182714b0
3,405
cpp
C++
NDD_VR_Viewer/src/application.cpp
Ezrit/VR_TCMPODS
bc114a4c98bf7af6a348825671fcea49004e22b5
[ "Unlicense" ]
null
null
null
NDD_VR_Viewer/src/application.cpp
Ezrit/VR_TCMPODS
bc114a4c98bf7af6a348825671fcea49004e22b5
[ "Unlicense" ]
null
null
null
NDD_VR_Viewer/src/application.cpp
Ezrit/VR_TCMPODS
bc114a4c98bf7af6a348825671fcea49004e22b5
[ "Unlicense" ]
null
null
null
#include "application.hpp" #include <iostream> namespace msi_vr { Application::Application(GLFWwindow *window) : window(window) { initInputManager(window); } Application::~Application() { } void Application::run() { std::chrono::high_resolution_clock::time_poi...
32.122642
131
0.601762
Ezrit
979bffedd639c532469e3d2a17c9be71dbd3a679
2,727
cpp
C++
src/editorLib/Render/AbstractLightRenderObserver.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
src/editorLib/Render/AbstractLightRenderObserver.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
src/editorLib/Render/AbstractLightRenderObserver.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
#include <stdexcept> #include <mtt/clPipeline/MeshTechniques/InstrumentalCompositeTechnique.h> #include <mtt/clPipeline/constants.h> #include <mtt/editorLib/Render/AbstractLightRenderObserver.h> #include <mtt/editorLib/Objects/LightObject.h> #include <mtt/editorLib/EditorApplication.h> #include <mtt/render/Mesh/UidMes...
29.010638
98
0.678768
AluminiumRat
979daf58be781a01e3a717102da328237927d0b7
432
cpp
C++
Google/Kick Start/2021/Round A/A.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
Google/Kick Start/2021/Round A/A.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
Google/Kick Start/2021/Round A/A.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
#include <iostream> #include <cmath> #include <string> using namespace std; int k_goodness_string(int N, int K, string& S) { int score = 0; for (int i = 0; i < N / 2; i++) score += S[i] != S[N - i - 1]; return abs(score - K); } int main() { int T; cin >> T; for (int x = 1; x <= T; x++) { int N, K; string...
18
70
0.516204
Mohammed-Shoaib
97a41693077f05f618eee91147e2c1cb301d881d
1,016
cpp
C++
termite/termite-#0060-kitt-green/main.cpp
OscarKro/hwlib-examples
112bc551f4142f841703dc348f528eda5f41ac30
[ "BSL-1.0" ]
null
null
null
termite/termite-#0060-kitt-green/main.cpp
OscarKro/hwlib-examples
112bc551f4142f841703dc348f528eda5f41ac30
[ "BSL-1.0" ]
1
2021-01-05T17:05:34.000Z
2021-01-05T20:18:13.000Z
termite/termite-#0060-kitt-green/main.cpp
OscarKro/hwlib-examples
112bc551f4142f841703dc348f528eda5f41ac30
[ "BSL-1.0" ]
3
2021-01-05T14:39:39.000Z
2021-09-15T05:18:46.000Z
// ========================================================================== // // blink the LED on a blue-pill board // // (c) Wouter van Ooijen (wouter@voti.nl) 2017 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_...
37.62963
77
0.534449
OscarKro
97a525f7c9091f17e708a69ca4f1fe300d8aa254
647
cpp
C++
hackerrank/interview-preparation-kit/string-manipulation/alternating-characters/main.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
hackerrank/interview-preparation-kit/string-manipulation/alternating-characters/main.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
hackerrank/interview-preparation-kit/string-manipulation/alternating-characters/main.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
#include <bits/stdc++.h> using namespace std; // Complete the alternatingCharacters function below. int alternatingCharacters(string s) { int ans=0; char c=s[0]; for(int i=1;i<s.size();i++){ char cc=s[i]; if(c==cc) ans++; else c=cc; } return ans; } int main() { ofstrea...
17.026316
56
0.540958
wingkwong
97a7fdb4d9bd7a8552d316af436b7b4b4f59d231
5,700
cpp
C++
Source/ChilliSource/Rendering/Base/MeshBuffer.cpp
fjpavm/ChilliSource
11c38bada3fff8f4701dee5ad7718c8bc150c3b6
[ "MIT" ]
1
2015-05-08T14:29:03.000Z
2015-05-08T14:29:03.000Z
Source/ChilliSource/Rendering/Base/MeshBuffer.cpp
mclaughlinhugh4/ChilliSource
bfd86242b28125371804ef35ee512a3908763795
[ "MIT" ]
null
null
null
Source/ChilliSource/Rendering/Base/MeshBuffer.cpp
mclaughlinhugh4/ChilliSource
bfd86242b28125371804ef35ee512a3908763795
[ "MIT" ]
null
null
null
// // MeshBuffer.cpp // Chilli Source // Created by Scott Downie on 30/09/2010. // // The MIT License (MIT) // // Copyright (c) 2010 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to dea...
32.022472
152
0.514386
fjpavm
97a8fa014a4ece73019398eb4934399baeb767bf
12,209
cpp
C++
Life/boundaries.cpp
TheGitPuller/ParallelGameOfLife
a399704cf37efe69f37125b9cc6ef532c912cfc9
[ "MIT" ]
null
null
null
Life/boundaries.cpp
TheGitPuller/ParallelGameOfLife
a399704cf37efe69f37125b9cc6ef532c912cfc9
[ "MIT" ]
null
null
null
Life/boundaries.cpp
TheGitPuller/ParallelGameOfLife
a399704cf37efe69f37125b9cc6ef532c912cfc9
[ "MIT" ]
null
null
null
#include "boundaries.h" using namespace std; // Constructor boundary_communication::boundary_communication(bool**& grid, int imax_local, int jmax_local) : grid(grid), imax(imax_local), jmax(jmax_local) {} void boundary_communication::make_types() { // Declare storage vectors vector<int> block_length; ...
37.566154
142
0.593333
TheGitPuller
97a99e3ae9848782925620a1579b5648c2f4488f
11,023
cpp
C++
bin/src/berlin/lib/Exp.cpp
darmie/Berlin
fb56b56547b1cd8439b71cd675e683bac11bafba
[ "MIT" ]
null
null
null
bin/src/berlin/lib/Exp.cpp
darmie/Berlin
fb56b56547b1cd8439b71cd675e683bac11bafba
[ "MIT" ]
null
null
null
bin/src/berlin/lib/Exp.cpp
darmie/Berlin
fb56b56547b1cd8439b71cd675e683bac11bafba
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.2 (git build master @ 890f8c7) #include <hxcpp.h> #ifndef INCLUDED_berlin_lib_Exp #include <berlin/lib/Exp.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_466b717f237fcf68_31_new,"berlin.lib.Exp","new",0xf3d3d8ba,"berlin.lib.Exp.new","berlin/lib/Exp.hx",31,0xda9cfdf8) HX_LOCAL_STACK_FRAME(_hx_pos_466...
38.677193
163
0.709607
darmie
97ac15488fe7607b8cf098d57b562fcc59d76cad
1,187
hpp
C++
include/n88util/TrackingAllocator.hpp
Numerics88/n88util
b5362590a3d9b96ff16ecb9a9b60f260272b00b9
[ "MIT" ]
null
null
null
include/n88util/TrackingAllocator.hpp
Numerics88/n88util
b5362590a3d9b96ff16ecb9a9b60f260272b00b9
[ "MIT" ]
4
2019-11-05T17:24:31.000Z
2019-11-20T21:01:47.000Z
include/n88util/TrackingAllocator.hpp
Besler/n88util
aa15d4f80f1b69142a48db34b055142f867aef7f
[ "MIT" ]
1
2018-05-31T19:09:12.000Z
2018-05-31T19:09:12.000Z
// Copyright (c) Eric Nodwell // See LICENSE for details. #ifndef N88UTIL_TrackingAllocator_hpp_INCLUDED #define N88UTIL_TrackingAllocator_hpp_INCLUDED #include <boost/thread/tss.hpp> #include <cstdlib> #include "n88util_export.h" namespace n88 { struct N88UTIL_EXPORT TrackingAllocatorValues { size_t curr...
25.255319
76
0.725358
Numerics88
97af9a231d739e46cac30c34f7f3ac8e3805a74a
2,601
cpp
C++
src/libutility/utility.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
4
2017-11-24T09:47:18.000Z
2019-02-18T14:43:05.000Z
src/libutility/utility.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
1
2018-04-11T12:42:25.000Z
2018-04-11T12:42:25.000Z
src/libutility/utility.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
2
2019-01-10T14:11:28.000Z
2021-05-31T11:14:46.000Z
#include "utility.hpp" #include <random> #include <ctime> #include <cassert> #include <cstdio> #include <exception> #include <stdexcept> namespace { std::string format_tm(std::tm const& t) { char buffer[80]; if (0 == strftime(buffer, 80, "%Y-%m-%d %H:%M:%S", &t)) { assert(false); throw std...
18.0625
63
0.600538
publiqnet
97b433e511b54b9483cb21af4f34833a5dcb7ab2
2,271
cpp
C++
lib/rdf/test/print_node_01_run.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
10
2017-12-21T05:20:40.000Z
2021-09-18T05:14:01.000Z
lib/rdf/test/print_node_01_run.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
2
2017-12-21T07:31:54.000Z
2021-06-23T08:52:35.000Z
lib/rdf/test/print_node_01_run.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
7
2016-02-17T13:20:31.000Z
2021-11-08T09:30:43.000Z
/** @file "/owlcpp/lib/rdf/test/print_node_01_run.cpp" part of owlcpp project. @n @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt. @n Copyright Mikhail K Levin 2012 *******************************************************************************/ #define BOOST_TEST_MODULE print_node_01_...
32.913043
85
0.653897
GreyMerlin
b638c9bfc473c5e70ee60ca00617953066ae0b6f
1,512
cpp
C++
spring/sketch/status_leds.cpp
dayaftereh/rocket
0c325d706d03ee369befe12138255bef671cb535
[ "MIT" ]
null
null
null
spring/sketch/status_leds.cpp
dayaftereh/rocket
0c325d706d03ee369befe12138255bef671cb535
[ "MIT" ]
null
null
null
spring/sketch/status_leds.cpp
dayaftereh/rocket
0c325d706d03ee369befe12138255bef671cb535
[ "MIT" ]
null
null
null
#include "status_leds.h" StatusLeds::StatusLeds() { } void StatusLeds::setup() { // set the pin mode pinMode(STATUS_LED_1_PIN, OUTPUT); this->off(); delay(100); this->_timer = millis(); } void StatusLeds::on() { this->_led1 = true; pinMode(STATUS_LED_1_PIN, OUTPUT); digitalWrite(STATUS_LED_1_PIN,...
17.181818
48
0.625
dayaftereh
b638f7c03b0e5f8d8f751259faaf90e4741372d0
7,453
hpp
C++
include/termox/painter/dynamic_colors.hpp
skvl/TermOx
35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934
[ "MIT" ]
null
null
null
include/termox/painter/dynamic_colors.hpp
skvl/TermOx
35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934
[ "MIT" ]
null
null
null
include/termox/painter/dynamic_colors.hpp
skvl/TermOx
35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934
[ "MIT" ]
1
2021-08-06T10:17:28.000Z
2021-08-06T10:17:28.000Z
#ifndef TERMOX_PAINTER_DYNAMIC_COLORS_HPP #define TERMOX_PAINTER_DYNAMIC_COLORS_HPP #include <algorithm> #include <chrono> #include <cmath> #include <cstdint> #include <random> #include <termox/painter/color.hpp> #include <termox/system/system.hpp> namespace ox::dynamic { /// Dynamic_color type that cycles through e...
28.555556
80
0.636791
skvl
b6399f12e2a03b94bd2b80a489a9795b02a5b90b
170
cpp
C++
Libraries/RobsJuceModules/rosic/filters/rosic_EllipticQuarterBandFilter.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/filters/rosic_EllipticQuarterBandFilter.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/filters/rosic_EllipticQuarterBandFilter.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
rsEllipticQuarterBandFilter::rsEllipticQuarterBandFilter() { reset(); } void rsEllipticQuarterBandFilter::reset() { for(int i = 0; i < 12; i++) w[i] = 0.0; }
14.166667
58
0.652941
RobinSchmidt
b6445ae5c5cea5d57686165e1b34aa076b15dbea
11,584
cpp
C++
Source/API/D3D12/FramebufferD3D12.cpp
KawBuma/Buma3D
73b1c7a99c979492f072d4ead89f2d357d5e048a
[ "MIT" ]
5
2020-11-25T05:05:13.000Z
2022-02-09T09:35:21.000Z
Source/API/D3D12/FramebufferD3D12.cpp
KawBuma/Buma3D
73b1c7a99c979492f072d4ead89f2d357d5e048a
[ "MIT" ]
5
2020-11-11T09:52:59.000Z
2021-12-15T13:27:37.000Z
Source/API/D3D12/FramebufferD3D12.cpp
KawBuma/Buma3D
73b1c7a99c979492f072d4ead89f2d357d5e048a
[ "MIT" ]
null
null
null
#include "Buma3DPCH.h" #include "FramebufferD3D12.h" namespace buma3d { B3D_APIENTRY FramebufferD3D12::FramebufferD3D12() : ref_count { 1 } , name {} , device {} , desc {} , desc_data {...
32.448179
171
0.686205
KawBuma
b644c6a5682030bbf31fd1744dff9cc03dcc2692
264
cpp
C++
src/GLEW/Init.cpp
mattfbacon/modern-opengl
81da9afde947b5268b94a60f2975758cfc14bc20
[ "WTFPL" ]
null
null
null
src/GLEW/Init.cpp
mattfbacon/modern-opengl
81da9afde947b5268b94a60f2975758cfc14bc20
[ "WTFPL" ]
null
null
null
src/GLEW/Init.cpp
mattfbacon/modern-opengl
81da9afde947b5268b94a60f2975758cfc14bc20
[ "WTFPL" ]
null
null
null
#include <GL/glew.h> #include "GLEW/Error.hpp" #include "GLEW/Init.hpp" namespace GLEW { Init::Init() { glewExperimental = true; if (GLenum const err = glewInit(); err != GLEW_OK) { throw GLEW::Error{ err }; } } Init::~Init() { // } } // namespace GLEW
13.894737
53
0.621212
mattfbacon
b646727ec7d5bb50ee62b75de04e6e8451897960
12,305
cpp
C++
VME/mafPipeVolumeProjected.cpp
FusionBox2/MAF2
b576955f4f6b954467021f12baedfebcaf79a382
[ "Apache-2.0" ]
1
2018-01-23T09:13:40.000Z
2018-01-23T09:13:40.000Z
VME/mafPipeVolumeProjected.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
null
null
null
VME/mafPipeVolumeProjected.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
3
2020-09-24T16:04:53.000Z
2020-09-24T16:50:30.000Z
/*========================================================================= Program: MAF2 Module: mafPipeVolumeProjected Authors: Paolo Quadrani - Matteo Giacomoni Copyright (c) B3C All rights reserved. See Copyright.txt or http://www.scsitaly.com/Copyright.htm for details. This software is distributed WITHO...
32.296588
104
0.593824
FusionBox2
b6482494a7c1b9a4483701ebfd34e1c213271c62
21,196
cpp
C++
win/catfish/dtwinver.cpp
KOLANICH/metakit
b05ed925f7aab8dc102bc42f1942869b4f72317e
[ "MIT" ]
null
null
null
win/catfish/dtwinver.cpp
KOLANICH/metakit
b05ed925f7aab8dc102bc42f1942869b4f72317e
[ "MIT" ]
null
null
null
win/catfish/dtwinver.cpp
KOLANICH/metakit
b05ed925f7aab8dc102bc42f1942869b4f72317e
[ "MIT" ]
2
2019-11-26T21:34:10.000Z
2020-03-10T14:26:27.000Z
/* Module : dtwinver.cpp Purpose: Implementation of a class to perform version detection on OS Created: PJN / DATE/2 / 11-05-1996 History: None Copyright (c) 1996 by PJ Naughter. All rights reserved. */ ///////////////////////////////// Includes ////////////////////////////////// #ifdef _WINDOWS #inc...
33.697933
106
0.64163
KOLANICH
b6491076bc08f48fa6b17a5cd23b5c86ff466658
525
cpp
C++
lib/djvCorePy/Context.cpp
pafri/DJV
9db15673b6b03ad3743f57119118261b1fbe8810
[ "BSD-3-Clause" ]
456
2018-10-06T00:07:14.000Z
2022-03-31T06:14:22.000Z
lib/djvCorePy/Context.cpp
pafri/DJV
9db15673b6b03ad3743f57119118261b1fbe8810
[ "BSD-3-Clause" ]
438
2018-10-31T15:05:51.000Z
2022-03-31T09:01:24.000Z
lib/djvCorePy/Context.cpp
pafri/DJV
9db15673b6b03ad3743f57119118261b1fbe8810
[ "BSD-3-Clause" ]
54
2018-10-29T10:18:36.000Z
2022-03-23T06:56:11.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2019-2020 Darby Johnston // All rights reserved. #include <djvCorePy/CorePy.h> #include <djvSystem/Context.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> using namespace djv::Core; namespace py = pybind11; void wrapContext(pybind11::module& m)...
22.826087
64
0.68381
pafri
b649e30e42e1a90218718407add9cc1520019ac2
1,056
cc
C++
src/shared/platform_macos.cc
URUSCG-LLC/fletch
35967b56cecce8fd5ae96a0d85ca318272ee69a0
[ "BSD-3-Clause" ]
null
null
null
src/shared/platform_macos.cc
URUSCG-LLC/fletch
35967b56cecce8fd5ae96a0d85ca318272ee69a0
[ "BSD-3-Clause" ]
null
null
null
src/shared/platform_macos.cc
URUSCG-LLC/fletch
35967b56cecce8fd5ae96a0d85ca318272ee69a0
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE.md file. #if defined(FLETCH_TARGET_OS_MACOS) #include <mach-o/dyld.h> #include <CoreFoundation/CFTimeZone....
30.171429
78
0.747159
URUSCG-LLC
b64cf8a6828c258bb24d5303c9c9c21846609748
2,911
cpp
C++
src/flame/process.cpp
ymwang/php-flame
5e0141f0d54fcb30b6e6c96a507141d714e7e6bc
[ "MIT" ]
null
null
null
src/flame/process.cpp
ymwang/php-flame
5e0141f0d54fcb30b6e6c96a507141d714e7e6bc
[ "MIT" ]
null
null
null
src/flame/process.cpp
ymwang/php-flame
5e0141f0d54fcb30b6e6c96a507141d714e7e6bc
[ "MIT" ]
null
null
null
#include "process.h" #include "worker.h" #include "coroutine.h" namespace flame { std::deque<php::callable> quit_cb; process_type_t process_type; std::string process_name; uint8_t process_count; process* process_self; uv_loop_t* loop; process* process::prepare() { // 确认当前是父进程还是...
28.262136
84
0.643765
ymwang
b64e1032b61193aa9e0ee816d395cbf4b70f0204
538
hpp
C++
lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/newtonian/test_2d/clip_grid.hpp
GalaxyHunters/Vivid
f724e5671b650433d0c26319c86231bd3b246e4e
[ "BSD-3-Clause" ]
null
null
null
lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/newtonian/test_2d/clip_grid.hpp
GalaxyHunters/Vivid
f724e5671b650433d0c26319c86231bd3b246e4e
[ "BSD-3-Clause" ]
222
2018-07-25T18:13:57.000Z
2021-10-10T14:54:04.000Z
lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/newtonian/test_2d/clip_grid.hpp
GalaxyHunters/Vivid
f724e5671b650433d0c26319c86231bd3b246e4e
[ "BSD-3-Clause" ]
2
2018-07-29T09:39:40.000Z
2018-08-25T19:17:49.000Z
/*! \file clip_grid.hpp \author Almog Yalinewich \brief A function that removes all points outside a shape */ #ifndef CLIP_GRID_HPP #define CLIP_GRID_HPP 1 #include <vector> #include "../../tessellation/geometry.hpp" #include "../../tessellation/shape_2d.hpp" using std::vector; /*! \brief Removes all the point...
22.416667
59
0.728625
GalaxyHunters
b6504cb2aa5b039f55e1244a60e971f72b2535d3
4,076
cpp
C++
instancedExample_startingPoint/src/ofApp.cpp
res15-opengl/res15-opengl
759350479209b1bffa0685084c1510b85dfddbee
[ "MIT" ]
70
2015-04-11T11:02:37.000Z
2021-02-03T09:11:37.000Z
instancedExample_startingPoint/src/ofApp.cpp
res15-opengl/res15-opengl
759350479209b1bffa0685084c1510b85dfddbee
[ "MIT" ]
1
2015-04-20T17:09:58.000Z
2015-04-20T17:09:58.000Z
instancedExample_startingPoint/src/ofApp.cpp
res15-opengl/res15-opengl
759350479209b1bffa0685084c1510b85dfddbee
[ "MIT" ]
9
2015-04-14T12:52:53.000Z
2019-10-12T16:52:00.000Z
#include "ofApp.h" // _____ ___ // / / / / instancedExample // / __/ * / /__ (c) ponies & light, 2015. All rights reserved. // /__/ /_____/ poniesandlight.co.uk // // Created by @tgfrerer on 10/03/2014. // // Permission is hereby granted, free of charge, to any person obtaining a co...
30.878788
94
0.569676
res15-opengl
b652aa3ead410c9ace00087e2d6f50d9e6685ed2
7,379
cpp
C++
booster/lib/thread/src/thread_winapi.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
388
2017-03-01T07:39:21.000Z
2022-03-30T19:38:41.000Z
booster/lib/thread/src/thread_winapi.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
81
2017-03-08T20:28:00.000Z
2022-01-23T08:19:31.000Z
booster/lib/thread/src/thread_winapi.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
127
2017-03-05T21:53:40.000Z
2022-02-25T02:31:01.000Z
// // Copyright (C) 2009-2012 Artyom Beilis (Tonkikh) // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #define BOOSTER_SOURCE #ifndef NOMINMAX #define NOMINMAX #endif #include <windows.h> #include <proce...
19.216146
91
0.626101
gatehouse
b652e6064916a0492e5e03187bdf07b7683cf71d
2,814
cpp
C++
libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/libstubs.cpp
tridge/uavcan_old
6dd432c9742c22e1dd1638c7f91cf937e4bdb2f1
[ "MIT" ]
null
null
null
libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/libstubs.cpp
tridge/uavcan_old
6dd432c9742c22e1dd1638c7f91cf937e4bdb2f1
[ "MIT" ]
null
null
null
libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/libstubs.cpp
tridge/uavcan_old
6dd432c9742c22e1dd1638c7f91cf937e4bdb2f1
[ "MIT" ]
null
null
null
/* * Pavel Kirienko, 2014 <pavel.kirienko@gmail.com> * Standard library stubs */ #include <cstdlib> #include <unistd.h> #include <sys/types.h> #if __GNUC__ # pragma GCC diagnostic ignored "-Wmissing-declarations" #endif void* __dso_handle; void* operator new(size_t) { std::abort(); return reinterpret_cas...
14.580311
72
0.661692
tridge
b65946389552ab58ef44b0282dc7f12879721043
8,403
cpp
C++
kits/cpp/simple/GameAlgo.cpp
shahed95/Lux-solution
57c2fd0c0cc3b13bd167cefb0c947915faf64da0
[ "Apache-2.0" ]
null
null
null
kits/cpp/simple/GameAlgo.cpp
shahed95/Lux-solution
57c2fd0c0cc3b13bd167cefb0c947915faf64da0
[ "Apache-2.0" ]
null
null
null
kits/cpp/simple/GameAlgo.cpp
shahed95/Lux-solution
57c2fd0c0cc3b13bd167cefb0c947915faf64da0
[ "Apache-2.0" ]
null
null
null
vector<vector<char>> GameAlgo::createSimpleMap(GameMap &gameMap, Player &player, Player &opponent) { vector<vector<char>> simpleMap; for (int i = 0; i < gameMap.height; i++) { vector<char> temp(gameMap.width, '.'); simpleMap.push_back(temp); } for (int y = 0; y < gameMap.height; y++...
28.01
149
0.521956
shahed95
b659f8e3c3ac9d8b477732170e52c996b0813ca8
17,919
cpp
C++
coreseek-3.2.14/csft-3.2.14/src/py_helper.cpp
zbooa/sphinx-php7-ext
89c6900ebdbd1c73469d428b25ad360c3b57f29c
[ "PHP-3.01" ]
1
2020-08-17T09:04:53.000Z
2020-08-17T09:04:53.000Z
coreseek-3.2.14/csft-3.2.14/src/py_helper.cpp
zbooa/sphinx-php7-ext
89c6900ebdbd1c73469d428b25ad360c3b57f29c
[ "PHP-3.01" ]
null
null
null
coreseek-3.2.14/csft-3.2.14/src/py_helper.cpp
zbooa/sphinx-php7-ext
89c6900ebdbd1c73469d428b25ad360c3b57f29c
[ "PHP-3.01" ]
2
2020-08-17T09:04:56.000Z
2022-01-14T06:37:54.000Z
#ifdef _WIN32 #pragma warning(disable:4996) #endif #include "sphinx.h" #include "sphinxutils.h" #include "sphinx_internal.h" //#include "sphinxsearch.h" #include "py_layer.h" #include "sphinxquery.h" #include "py_helper.h" #include "py_source.h" #if USE_PYTHON #define RET_PYNONE { Py_INCREF(Py_None); return Py...
24.052349
113
0.67967
zbooa
b65a57887584dd455866f07ebc39bdf20c55b4cc
599
cpp
C++
vox.render/timer.cpp
SummerTree/DigitalVox4
2eb718abcaccc4cd1dde3b0f28090c197c1905d4
[ "MIT" ]
8
2022-02-15T12:54:57.000Z
2022-03-30T16:35:58.000Z
vox.render/timer.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
vox.render/timer.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
1
2022-01-20T05:53:59.000Z
2022-01-20T05:53:59.000Z
// Copyright (c) 2022 Feng Yang // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "timer.h" namespace vox { Timer::Timer() : _startTime{Clock::now()}, _previousTick{Clock::...
18.71875
73
0.63606
SummerTree
b65ee2fc45fda2d1db13bb1fc2cbedc0c9988464
2,407
cpp
C++
example.cpp
jgressmann/pokemon
36ecc55d7cb0838155fb112c1d74cdad286b67c4
[ "MIT" ]
9
2015-09-23T13:28:46.000Z
2018-08-11T03:09:04.000Z
example.cpp
jgressmann/pokemon
36ecc55d7cb0838155fb112c1d74cdad286b67c4
[ "MIT" ]
3
2015-09-26T01:05:12.000Z
2016-01-13T15:05:10.000Z
example.cpp
jgressmann/pokemon
36ecc55d7cb0838155fb112c1d74cdad286b67c4
[ "MIT" ]
5
2015-09-28T03:09:24.000Z
2021-05-21T18:09:16.000Z
#include <cstdio> #include <cstdlib> #include <cassert> #include <cstring> extern "C" { #include <lua.h> #include <lualib.h> #include <lauxlib.h> } #if defined(_WIN32) || defined(_WIN64) # include <windows.h> # define sleep(x) Sleep((DWORD)(x*1000)) #else # include <unistd.h> #endif #include "pokemon.h" us...
20.930435
104
0.616951
jgressmann
b65f9d68021c56f4595dd09cbdb772d57097a574
330
hpp
C++
src/xcb.hpp
thotslayer/custard
8beaeb6212faa856dd6e2daff56890fc688f87f0
[ "MIT" ]
null
null
null
src/xcb.hpp
thotslayer/custard
8beaeb6212faa856dd6e2daff56890fc688f87f0
[ "MIT" ]
null
null
null
src/xcb.hpp
thotslayer/custard
8beaeb6212faa856dd6e2daff56890fc688f87f0
[ "MIT" ]
null
null
null
class XcbConnection { public: bool establish(void); bool close(void); xcb_connection_t* get_connection(void); xcb_screen_t* get_screen(void); void flush(void); void start_event_loop(void); private: xcb_connection_t *connection; xcb_screen_t *sc...
18.333333
47
0.612121
thotslayer
b66124e2bb9467ddb73d6b6ad83edd902272a08f
1,510
cpp
C++
components/homme/src/theta-l_kokkos/cxx/DirkFunctor.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
235
2018-04-23T16:30:06.000Z
2022-03-21T17:53:12.000Z
components/homme/src/theta-l_kokkos/cxx/DirkFunctor.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
2,372
2018-04-20T18:12:34.000Z
2022-03-31T23:43:17.000Z
components/homme/src/theta-l_kokkos/cxx/DirkFunctor.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
254
2018-04-20T20:43:32.000Z
2022-03-30T20:13:38.000Z
/******************************************************************************** * HOMMEXX 1.0: Copyright of Sandia Corporation * This software is released under the BSD license * See the file 'COPYRIGHT' in the HOMMEXX/src/share/cxx directory ***********************************************************************...
33.555556
93
0.654967
Fa-Li
b66803f0befd6380926043d28a12d2035a1b52d8
16,116
cpp
C++
shell/osshell/accessib/accwiz/pgwelco2.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
shell/osshell/accessib/accwiz/pgwelco2.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
shell/osshell/accessib/accwiz/pgwelco2.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//Copyright (c) 1997-2000 Microsoft Corporation #include "pch.hxx" // pch #pragma hdrstop #include "resource.h" #include "pgWelco2.h" #define STRSAFE_NO_DEPRECATE #include "strsafe.h" // Intelli-menu regsitry #define REGSTR_EXPLORER TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer") #define R...
31.912871
152
0.71277
npocmaka
b669f695aec94804432ea446d23f2a78525a0a02
1,018
hpp
C++
src/en/Node.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
81
2018-12-11T20:48:41.000Z
2022-03-18T22:24:11.000Z
src/en/Node.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
7
2020-04-19T11:50:39.000Z
2021-11-12T16:08:53.000Z
src/en/Node.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
4
2019-04-24T11:51:29.000Z
2021-03-10T05:26:33.000Z
#pragma once #include "core/containers/Map.hpp" #include "core/containers/Array.hpp" #include "ComponentHandle.hpp" #include "core/defines.hpp" #include "core/string/String.hpp" namespace ari { namespace en { struct World; class Node { public: core::String Name; ARI_COMPONENT(Node) virtual ~...
16.15873
69
0.649312
kochol
b66b8bf8dbd1e41a1e331b82ee7e0d9e36a32d00
3,378
hpp
C++
lib/malloy/core/http/generator.hpp
0x00002a/malloy
94ececf246ac2bc848235f7806439ef3be1eed73
[ "MIT" ]
22
2021-04-17T17:32:14.000Z
2022-03-29T09:42:03.000Z
lib/malloy/core/http/generator.hpp
0x00002a/malloy
94ececf246ac2bc848235f7806439ef3be1eed73
[ "MIT" ]
98
2021-04-03T18:53:19.000Z
2022-02-06T10:49:30.000Z
lib/malloy/core/http/generator.hpp
0x00002a/malloy
94ececf246ac2bc848235f7806439ef3be1eed73
[ "MIT" ]
3
2021-05-12T15:17:11.000Z
2021-12-28T03:15:46.000Z
#pragma once #include <filesystem> #include <string_view> #include <variant> #include "response.hpp" #include "request.hpp" #include "type_traits.hpp" #include "types.hpp" #include "malloy/core/http/utils.hpp" namespace malloy::http { /** * A generator for HTTP responses. * * @class generator ...
28.871795
127
0.572824
0x00002a
b66c472bc81daef7ceb661c0acd563bf1c84fdf2
2,952
cpp
C++
resources/kate/flow/FlowManager.cpp
illia-zemlianytskyi/flow9
a300f2b0f0129c10079c10bad56b015e4a05885e
[ "MIT" ]
583
2019-04-26T11:52:35.000Z
2022-02-22T17:53:19.000Z
resources/kate/flow/FlowManager.cpp
illia-zemlianytskyi/flow9
a300f2b0f0129c10079c10bad56b015e4a05885e
[ "MIT" ]
279
2019-04-26T11:53:17.000Z
2022-02-21T13:35:08.000Z
resources/kate/flow/FlowManager.cpp
illia-zemlianytskyi/flow9
a300f2b0f0129c10079c10bad56b015e4a05885e
[ "MIT" ]
44
2019-04-29T18:09:19.000Z
2021-12-23T16:06:05.000Z
#include <QTextStream> #include <KMessageBox> #include <KTextEditor/View> #include "execs/Compiler.hpp" #include "FlowView.hpp" #include "FlowManager.hpp" #include "debug/DebugManager.hpp" namespace flow { FlowManager::FlowManager(FlowEnv e) : QObject(e.main), env_(e) { } void FlowManager::slotCompile() { try { ...
24.806723
101
0.698848
illia-zemlianytskyi
b66e782dcbc21026f4553e9c9bd23bbc57a5feb4
6,424
cpp
C++
tools/create-sphere.cpp
XanClic/g1
0cfe731f25a07d8192d2a726051b3b8967f3963f
[ "CC-BY-4.0" ]
6
2015-10-14T17:11:25.000Z
2021-07-11T08:12:03.000Z
tools/create-sphere.cpp
XanClic/g1
0cfe731f25a07d8192d2a726051b3b8967f3963f
[ "CC-BY-4.0" ]
1
2017-12-15T04:08:24.000Z
2017-12-17T03:34:46.000Z
tools/create-sphere.cpp
XanClic/g1
0cfe731f25a07d8192d2a726051b3b8967f3963f
[ "CC-BY-4.0" ]
1
2016-01-13T18:22:24.000Z
2016-01-13T18:22:24.000Z
#include <cassert> #include <cerrno> #include <cmath> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> #include <initializer_list> #include <dake/cross.hpp> #include <dake/gl.hpp> #include <dake/math.hpp> using namespace dake; using namespace dake::math; int main(int argc, char *argv[]) {...
38.238095
132
0.501557
XanClic
b67388cad9d303cce2a13c3478a806056466eb14
61,922
cpp
C++
src/Alib/window.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
14
2016-05-09T01:14:03.000Z
2021-10-12T21:41:02.000Z
src/Alib/window.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
null
null
null
src/Alib/window.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
6
2015-08-19T01:28:54.000Z
2020-10-25T05:17:08.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include "export.h" ////////////////////////////////////////////////...
28.720779
180
0.454087
aestesis
b675919b14454a22a0c8b548d75747d60bc54260
1,363
cpp
C++
Libs/AudioFile/test/TestUtilities.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
3
2021-04-17T11:32:36.000Z
2022-01-03T17:51:27.000Z
Libs/AudioFile/test/TestUtilities.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
null
null
null
Libs/AudioFile/test/TestUtilities.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
null
null
null
/* Audio File Library Copyright (C) 2012, Michael Pruett <michael@68k.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any late...
29
70
0.734409
drunkfly
b676a325163924a86db410eefbe4842abd95f1fa
2,034
cpp
C++
codechef/DLDAG/Wrong Answer (5).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codechef/DLDAG/Wrong Answer (5).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codechef/DLDAG/Wrong Answer (5).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 15-12-2018 12:39:49 * solution_verdict: Wrong Answer language: C++14 * run...
27.486486
111
0.470501
kzvd4729
b6772ec6e93c65e14bac2cc6d2dbc02896a17214
2,305
cc
C++
hilti/instructions/callable.cc
asilha/hilti
ebfffc7dad31059b43a02eb26abcf7a25f742eb8
[ "BSD-3-Clause" ]
46
2015-01-21T13:31:25.000Z
2020-10-27T10:18:03.000Z
hilti/instructions/callable.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
29
2015-03-30T08:23:04.000Z
2019-05-03T13:11:35.000Z
hilti/instructions/callable.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
20
2015-01-27T12:59:38.000Z
2020-10-28T21:40:47.000Z
/// /// \type X /// /// \ctor X /// /// \cproto X /// static void _checkBinding(const Instruction* i, shared_ptr<Expression> op1, shared_ptr<Expression> op2, shared_ptr<Expression> op3) { // Check parameters against function being bound. auto ftype = ast::rtti::checkedCast<type::Func...
28.45679
100
0.603905
asilha
b678dc6ba22fd80daae0beb72744f8a371e917ad
328
cpp
C++
src/game/systems/keysKeyboardInputSystem/ExitKey.cpp
MrBattary/darkest-castle
f5980f3f9167533197f711b79a852103a88a4569
[ "MIT" ]
2
2020-11-19T19:50:22.000Z
2020-11-19T19:51:01.000Z
src/game/systems/keysKeyboardInputSystem/ExitKey.cpp
MrBattary/darkest-castle
f5980f3f9167533197f711b79a852103a88a4569
[ "MIT" ]
null
null
null
src/game/systems/keysKeyboardInputSystem/ExitKey.cpp
MrBattary/darkest-castle
f5980f3f9167533197f711b79a852103a88a4569
[ "MIT" ]
null
null
null
// // Created by Battary on 26.05.2020. // #include "game/systems/keysKeyboardInputSystem/ExitKey.h" void ExitKey::execute(ecs::World& world) { auto interfaceSystem = world.getSystem<InterfaceUpdateSystem>(); if (interfaceSystem != nullptr) interfaceSystem->setCommand("Exit"); } ExitKey::ExitKey() { name_ = "E...
21.866667
70
0.719512
MrBattary
b679032e8805127e9744d1cab4db265f6e3d14a1
1,844
cpp
C++
examples/interval/interval.cpp
monkey-g/ecs
efd6bfcbac15ba0e8704b2dbbfe0c11f8226be79
[ "MIT" ]
8
2020-04-26T20:17:05.000Z
2021-09-14T16:51:55.000Z
examples/interval/interval.cpp
monkey-g/ecs
efd6bfcbac15ba0e8704b2dbbfe0c11f8226be79
[ "MIT" ]
97
2019-07-25T09:15:48.000Z
2022-01-08T10:14:04.000Z
examples/interval/interval.cpp
monkey-g/ecs
efd6bfcbac15ba0e8704b2dbbfe0c11f8226be79
[ "MIT" ]
1
2020-10-30T22:51:23.000Z
2020-10-30T22:51:23.000Z
#include <array> #include <chrono> #include <ecs/ecs.h> #include <iostream> using namespace std::chrono_literals; int main() { constexpr size_t num_intervals = 10; constexpr int intervals[num_intervals] = {500, 200, 100, 50, 25, 15, 5, 2, 750, 250}; using ecs::opts::interval; std::array<int, num_intervals> coun...
41.909091
109
0.645336
monkey-g