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
bc708c29b96285278c863a86f4af27e16236ea58
868
cpp
C++
clusters.cpp
paulyc/ExFATRestore
cda4e3d4213452e5d34af27cbcc3ce62c36a276d
[ "MIT" ]
1
2019-08-04T15:44:46.000Z
2019-08-04T15:44:46.000Z
clusters.cpp
paulyc/ExFATRestore
cda4e3d4213452e5d34af27cbcc3ce62c36a276d
[ "MIT" ]
null
null
null
clusters.cpp
paulyc/ExFATRestore
cda4e3d4213452e5d34af27cbcc3ce62c36a276d
[ "MIT" ]
null
null
null
#include <mariadb/mysql.h> #include <string> static const std::string sql_all_unaccounted = "SELECT cluster from cluster WHERE allocated = 0 order by cluster asc"; static const std::string sql_next_empty = "SELECT cluster FROM cluster WHERE allocated = 1 order by cluster asc limit 1"; int main() { MYSQL_RES *res =...
39.454545
121
0.685484
paulyc
bc721205ba0641d2c9af5dceaf265c880c2463da
2,530
hpp
C++
include/NumCpp/Functions/extract.hpp
purusharths/NumCpp
269b0ff1341b06480c9679285cb6c6c6843df06b
[ "MIT" ]
2
2018-07-11T04:37:24.000Z
2018-07-11T04:37:26.000Z
include/NumCpp/Functions/extract.hpp
BADBADBADBOY/NumCpp
269b0ff1341b06480c9679285cb6c6c6843df06b
[ "MIT" ]
null
null
null
include/NumCpp/Functions/extract.hpp
BADBADBADBOY/NumCpp
269b0ff1341b06480c9679285cb6c6c6843df06b
[ "MIT" ]
null
null
null
/// @file /// @author David Pilger <dpilger26@gmail.com> /// [GitHub Repository](https://github.com/dpilger26/NumCpp) /// /// License /// Copyright 2018-2022 David Pilger /// /// Permission is hereby granted, free of charge, to any person obtaining a copy of this /// software and associated documentation files(the "Sof...
37.761194
107
0.655731
purusharths
bc721fea6903073d3e9e5e021effb0bbcc970db6
119
hpp
C++
src/agl/engine/triangle_mesh/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/engine/triangle_mesh/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/engine/triangle_mesh/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "geometry/all.hpp" #include "mesh/all.hpp" #include "proxy/all.hpp" #include "topology/all.hpp"
17
27
0.731092
the-last-willy
bc752ccaf7cf04d1f37178c8f1297c15ce9e4c2b
17,174
cpp
C++
engine/renderers/vulkan/VulkanTexture.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
17
2016-09-25T07:11:34.000Z
2021-09-13T07:05:59.000Z
engine/renderers/vulkan/VulkanTexture.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
8
2019-01-25T23:39:56.000Z
2019-04-10T17:23:04.000Z
engine/renderers/vulkan/VulkanTexture.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
4
2018-06-13T09:44:42.000Z
2021-03-18T12:27:07.000Z
/* Copyright (C) 2017-2021 Rodrigo Jose Hernandez Cordoba 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 ...
52.359756
199
0.652789
AeonGames
bc7679c121909d7cd61b06933823a641f9ba1bff
4,846
cpp
C++
src/pressure_solver/1_cg_solver.cpp
NumerischeSimulation/FinalProject
a6dbb991241c45c0d83a6861726e4159156bdbbd
[ "MIT" ]
null
null
null
src/pressure_solver/1_cg_solver.cpp
NumerischeSimulation/FinalProject
a6dbb991241c45c0d83a6861726e4159156bdbbd
[ "MIT" ]
5
2022-01-26T19:27:45.000Z
2022-02-09T11:41:32.000Z
src/pressure_solver/1_cg_solver.cpp
NumerischeSimulation/FinalProject
a6dbb991241c45c0d83a6861726e4159156bdbbd
[ "MIT" ]
3
2022-01-25T15:28:01.000Z
2022-02-08T10:50:30.000Z
#include "1_cg_solver.h" CGSolver::CGSolver(std::shared_ptr<Discretization> discretization, double epsilon, int maximumNumberOfIterations, bool outflowBottom, bool outflowTop, bool outflowLeft, bool outflowRight) : PressureSolver(discretization, epsilon, maximumNumberOfIterations, outflowBottom, outflowTop, outflowL...
29.91358
189
0.563351
NumerischeSimulation
bc80bb30c906fb3ffaf42404e1274d7196671614
1,957
cpp
C++
SFML-RPG/Entity.cpp
Akshat69/SFML-RPG
2ffb0fc5e94bd9f3460d9c06ffb485aa8afefe34
[ "MIT" ]
null
null
null
SFML-RPG/Entity.cpp
Akshat69/SFML-RPG
2ffb0fc5e94bd9f3460d9c06ffb485aa8afefe34
[ "MIT" ]
1
2021-09-17T16:37:18.000Z
2021-09-17T16:37:18.000Z
SFML-RPG/Entity.cpp
Akshat69/SFML-RPG
2ffb0fc5e94bd9f3460d9c06ffb485aa8afefe34
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Entity.h" void Entity::initVariables() { this->movementSpeed = 100.0f; this->movementComponent = NULL; } Entity::Entity(sf::RenderWindow* window) { this->window = window; } Entity::~Entity() { delete this->movementComponent; delete this->animationComponent; delete this->hitboxCom...
22.755814
89
0.74093
Akshat69
bc82e8bd8fc699130c980fa903473f6b72359e6f
4,557
cpp
C++
apps/FontEditor/FontEditor.cpp
Koncord/YAPE
9def79c493bc50b41a371c6e80174d47f795b8f1
[ "Apache-2.0" ]
3
2015-10-29T16:11:49.000Z
2021-08-28T08:53:09.000Z
apps/FontEditor/FontEditor.cpp
Koncord/YAPE
9def79c493bc50b41a371c6e80174d47f795b8f1
[ "Apache-2.0" ]
13
2015-10-29T05:39:16.000Z
2017-06-11T19:10:07.000Z
apps/FontEditor/FontEditor.cpp
Koncord/YAPE
9def79c493bc50b41a371c6e80174d47f795b8f1
[ "Apache-2.0" ]
1
2022-03-01T18:47:58.000Z
2022-03-01T18:47:58.000Z
/* * * Copyright (c) 2015-2017 Stanislav Zhukov * * 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 require...
26.494186
108
0.585034
Koncord
bc83b09fa37ac894ac3fad53b26d144eb1d9c499
581
cpp
C++
src/mayaToIndigo/src/mtin_common/mtin_swtchesInterfaceFactory.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
42
2015-01-03T15:07:25.000Z
2021-12-09T03:56:59.000Z
src/mayaToIndigo/src/mtin_common/mtin_swtchesInterfaceFactory.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
66
2015-01-02T13:28:44.000Z
2022-03-16T14:00:57.000Z
src/mayaToIndigo/src/mtin_common/mtin_swtchesInterfaceFactory.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
12
2015-02-07T05:02:17.000Z
2020-07-10T17:21:44.000Z
#include "swatchesRenderer/swatchRendererInterfaceFactory.h" #include "mtin_swatchRenderer.h" SwatchRendererInterface *SwatchRendererInterfaceFactory::createSwatchRendererInterface(MObject dependNode, MObject renderNode, int imageResolution) { return (SwatchRendererInterface *)new mtin_SwatchRendererInterface(depend...
38.733333
147
0.851979
haggi
bc8531dbedcd573f5394e93c67135a97f62551a1
1,967
cpp
C++
src/IncludeDeps.cpp
Thraix/MakeGen
61f9c3ee0dc15f784ac1f256d4ca0b0609d6b3ea
[ "MIT" ]
1
2020-03-27T13:12:36.000Z
2020-03-27T13:12:36.000Z
src/IncludeDeps.cpp
Thraix/MakeGen
61f9c3ee0dc15f784ac1f256d4ca0b0609d6b3ea
[ "MIT" ]
null
null
null
src/IncludeDeps.cpp
Thraix/MakeGen
61f9c3ee0dc15f784ac1f256d4ca0b0609d6b3ea
[ "MIT" ]
null
null
null
#include "IncludeDeps.h" #include "Common.h" std::set<std::string> IncludeDeps::printSet; int IncludeDeps::printCounter = 0; IncludeDeps::IncludeDeps(const std::string& filename, const std::string& dir, const std::set<HFile>& files, std::map<std::string, IncludeDeps*>& allDeps) : IncludeDeps{filename, dir, false, ...
30.261538
172
0.637519
Thraix
bc855f035d528966be7fbdb085b38b774585405a
524
hpp
C++
header/actor-zeta/spawn.hpp
smart-cloud/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
20
2016-01-07T07:37:52.000Z
2019-06-02T12:04:25.000Z
header/actor-zeta/spawn.hpp
smart-cloud/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
30
2017-03-10T14:47:46.000Z
2019-05-09T19:23:25.000Z
header/actor-zeta/spawn.hpp
jinncrafters/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
6
2017-03-10T14:06:01.000Z
2018-08-13T18:19:37.000Z
#pragma once #include "actor-zeta/base/forwards.hpp" #include "actor-zeta/base/address.hpp" namespace actor_zeta { template< class ChildrenSupervisor, class... Args, class = type_traits::enable_if_t<std::is_base_of<base::supervisor_abstract, ChildrenSupervisor>::value>> auto spawn_su...
30.823529
112
0.706107
smart-cloud
bc8b18a3c561c19a5e7f50b92832e5bd8cec3a34
1,380
cpp
C++
applications/ContactMechanicsApplication/custom_friction/coulomb_adhesion_friction_law.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/ContactMechanicsApplication/custom_friction/coulomb_adhesion_friction_law.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/ContactMechanicsApplication/custom_friction/coulomb_adhesion_friction_law.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// // Project Name: KratosContactMechanicsApplication $ // Created by: $Author: JMCarbonell $ // Last modified by: $Co-Author: $ // Date: $Date: July 2016 $ // Revision: $Revision: 0.0 $ // // ...
30.666667
228
0.658696
lkusch
bc8e01474c822083d39e2aa95837a7484627771d
3,061
cpp
C++
prep/cpp/learning/Competitive Programming Book/Chapter 2 (Data Structures)/2.2 (Linear Data Structures)/1-D Array Manipulation/False Coin/UVa_665_False_Coin_2.cpp
TanishT/Competitive-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
2
2021-02-19T18:15:03.000Z
2021-03-27T20:26:55.000Z
prep/cpp/learning/Competitive Programming Book/Chapter 2 (Data Structures)/2.2 (Linear Data Structures)/1-D Array Manipulation/False Coin/UVa_665_False_Coin_2.cpp
TanishT/Comp-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
8
2021-01-17T16:39:08.000Z
2021-03-22T01:27:15.000Z
prep/cpp/learning/Competitive Programming Book/Chapter 2 (Data Structures)/2.2 (Linear Data Structures)/1-D Array Manipulation/False Coin/UVa_665_False_Coin_2.cpp
anaconda121/Competitive-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
null
null
null
//https://onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=606 //have coin arr where they are all false // if you find one measurement with "=", all the numbers in that measurement are not false //see if after all measurements only 1 dood is not false //if only 1 left, that one is false, otherwise...
28.607477
90
0.35838
TanishT
bc9233a6ace2e343a060ebb8eff0653b241cb9fa
1,890
cpp
C++
boboleetcode/Play-Leetcode-master/0986-Interval-List-Intersections/cpp-0986/main.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0986-Interval-List-Intersections/cpp-0986/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0986-Interval-List-Intersections/cpp-0986/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/interval-list-intersections/ /// Author : liuyubobobo /// Time : 2019-02-04 #include <iostream> #include <vector> #include <stack> using namespace std; /// Ad-Hoc /// Time Complexity: O(m + n) /// Space Complexity: O(1) /// Definition for an interval. struct Interval { ...
25.890411
113
0.555556
yaominzh
bc962d58a97d58a80450b038beea52cd497fcfe4
3,838
cpp
C++
DropWidget.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
DropWidget.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
DropWidget.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
#include "DropWidget.h" #include "Element.h" #include "HBoxLayout.h" #include <QScrollBar> #include <QDropEvent> #include <QMimeData> #include <QScrollArea> #include <QDrag> #include <QPainter> DropWidget::DropWidget() : DropWidget(nullptr) { } DropWidget::DropWidget(QWidget* parent) : QScrollArea(parent) , m_lay...
19
110
0.682908
Evgenii-Evgenevich
bc98262a6cfc198af2d61e3ea97d77ec21178343
1,898
cpp
C++
Lamp/src/Lamp/Objects/Entity/BaseComponents/DirectionalLightComponent.cpp
ChunkTreasure1/Lamp
65be1544322949d6640e1fd108ed5a018387d0eb
[ "MIT" ]
2
2021-09-13T17:37:34.000Z
2021-11-17T18:52:42.000Z
Lamp/src/Lamp/Objects/Entity/BaseComponents/DirectionalLightComponent.cpp
ChunkTreasure1/Lamp
65be1544322949d6640e1fd108ed5a018387d0eb
[ "MIT" ]
20
2020-09-30T13:44:46.000Z
2021-12-03T14:30:04.000Z
Lamp/src/Lamp/Objects/Entity/BaseComponents/DirectionalLightComponent.cpp
ChunkTreasure1/Lamp
65be1544322949d6640e1fd108ed5a018387d0eb
[ "MIT" ]
null
null
null
#include "lppch.h" #include "DirectionalLightComponent.h" #include "Lamp/Objects/Entity/Base/ComponentRegistry.h" #include "Lamp/Objects/Entity/Base/Entity.h" #include "Lamp/Level/Level.h" #include <glm/gtx/quaternion.hpp> namespace Lamp { LP_REGISTER_COMPONENT(DirectionalLightComponent) DirectionalLightComponent:...
30.126984
114
0.753952
ChunkTreasure1
bc99e9cbdb69a6619f9180e7d5d39560ace32b63
364
cpp
C++
acmicpc/13458.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/13458.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/13458.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <cmath> using namespace std; int main() { int num[1000001]; int n, a, b; long long ans; scanf("%d", &n); for (int i=0; i<n; ++i) scanf("%d", &num[i]); ans = n; scanf("%d %d", &a, &b); for (int i=0; i<n; ++i) { num[i] -= a; if (num[i] > 0) ans += ceil(num[i] / (double)b)...
13.481481
35
0.502747
juseongkr
bc9c0c03497e8f1f203cf09227fc63fb866e2089
964,140
cpp
C++
VehicleManagement/VehicleManage/GeneratedFiles/qrc_checkreceiptdialog.cpp
maanjun/IVM
fe7f58c0e45b2471357fafcc63328d903f08ea76
[ "Apache-2.0" ]
null
null
null
VehicleManagement/VehicleManage/GeneratedFiles/qrc_checkreceiptdialog.cpp
maanjun/IVM
fe7f58c0e45b2471357fafcc63328d903f08ea76
[ "Apache-2.0" ]
null
null
null
VehicleManagement/VehicleManage/GeneratedFiles/qrc_checkreceiptdialog.cpp
maanjun/IVM
fe7f58c0e45b2471357fafcc63328d903f08ea76
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.6.2 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsig...
81.033787
128
0.767507
maanjun
bca2d09f4f302e89db2a8671a43c88ab8e3a0ac8
583,227
cpp
C++
compiler/parser/bison-chapel.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-30T11:10:34.000Z
2021-09-30T11:10:34.000Z
compiler/parser/bison-chapel.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T18:56:56.000Z
2021-09-16T22:52:26.000Z
compiler/parser/bison-chapel.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* A Bison parser, made by GNU Bison 3.8.2. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
52.288596
241
0.381892
jhh67
bcaa8201cc02612c8acaffd0313851be2353dc8e
1,117
cc
C++
test/tcp_test.cc
bzEq/kl
92de2c1db5ca4bb6c38a632cda7a80d2c9823841
[ "BSD-3-Clause" ]
null
null
null
test/tcp_test.cc
bzEq/kl
92de2c1db5ca4bb6c38a632cda7a80d2c9823841
[ "BSD-3-Clause" ]
null
null
null
test/tcp_test.cc
bzEq/kl
92de2c1db5ca4bb6c38a632cda7a80d2c9823841
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017 Kai Luo <gluokai@gmail.com>. All rights reserved. // Use of this source code is governed by the BSD license that can be found in // the LICENSE file. #include "kl/tcp.h" #include "kl/env.h" #include "kl/inet.h" #include "kl/testkit.h" namespace { class T {}; TEST(T, ListenAndSetNonBlocking) { ...
26.595238
78
0.608774
bzEq
bcab8d785b9dd65a49671c34619864efbfc673af
5,689
cpp
C++
sources/HybridDetector/Segment.cpp
onderkalaci/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
6
2018-01-11T01:47:01.000Z
2022-03-08T16:22:59.000Z
sources/HybridDetector/Segment.cpp
chakku000/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
1
2018-01-11T02:36:09.000Z
2018-01-12T03:32:41.000Z
sources/HybridDetector/Segment.cpp
chakku000/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
2
2018-01-15T02:37:50.000Z
2021-03-21T14:53:44.000Z
# # +--------------------------------------------------------------------------+ # |Copyright (C) 2014 Bogazici University | # | onderkalaci@gmail.com | # | | #...
32.884393
186
0.646687
onderkalaci
bcb1f4160b4082a97e019d9c494c0ef26b428d3a
522
cpp
C++
examples/mbedos5/mbed-os-example-blinky/main.cpp
winneymj/nrf52832-mdk
c733ecf72512824151e20bdadaefaaa38769e80e
[ "MIT" ]
189
2017-04-01T03:05:01.000Z
2022-03-29T10:36:48.000Z
examples/mbedos5/mbed-os-example-blinky/main.cpp
winneymj/nrf52832-mdk
c733ecf72512824151e20bdadaefaaa38769e80e
[ "MIT" ]
47
2018-09-10T13:55:32.000Z
2022-02-28T14:15:42.000Z
examples/mbedos5/mbed-os-example-blinky/main.cpp
winneymj/nrf52832-mdk
c733ecf72512824151e20bdadaefaaa38769e80e
[ "MIT" ]
56
2017-05-04T03:51:13.000Z
2022-01-10T06:23:29.000Z
/* mbed Microcontroller Library * Copyright (c) 2018 ARM Limited * SPDX-License-Identifier: Apache-2.0 */ #include "mbed.h" #include "stats_report.h" DigitalOut led1(LED1); // main() runs in its own thread in the OS int main() { SystemReport sys_state(500 /* Loop delay time in ms */); while (true) { ...
20.88
78
0.6341
winneymj
bcb90b7371ff101a3913029125e27268f85ff097
6,933
cpp
C++
pybind/spam.cpp
maxime-tournier/cpp
303def38a523f0e5699ef389182974f4f50d10fb
[ "MIT" ]
null
null
null
pybind/spam.cpp
maxime-tournier/cpp
303def38a523f0e5699ef389182974f4f50d10fb
[ "MIT" ]
null
null
null
pybind/spam.cpp
maxime-tournier/cpp
303def38a523f0e5699ef389182974f4f50d10fb
[ "MIT" ]
null
null
null
#include <Python.h> #include <memory> #include <vector> #include <iostream> template<class T> using ptr = std::shared_ptr<T>; // a base class for a c++ object that has a python counterpart: the two objects // will live exactly for the same duration, with python detecting and collecting // garbage. struct base { P...
29.883621
86
0.560796
maxime-tournier
bcbbf792d141d18a59e5ab8ca0005451aa7b129b
716
cpp
C++
session.cpp
F1shb0ne/mail-admin
d671c8c51cf96c994dc2a202453cf699d7c79d5f
[ "MIT" ]
null
null
null
session.cpp
F1shb0ne/mail-admin
d671c8c51cf96c994dc2a202453cf699d7c79d5f
[ "MIT" ]
null
null
null
session.cpp
F1shb0ne/mail-admin
d671c8c51cf96c994dc2a202453cf699d7c79d5f
[ "MIT" ]
null
null
null
#include <iostream> #include "session.h" #include "config.h" using namespace std; pqxx::connection* Session::Connection = nullptr; bool Session::Valid = false; bool Session::IsValid() { return Valid; } pqxx::connection *Session::GetConnection() { return Connection; } void Session::Init() { try { ...
18.358974
71
0.575419
F1shb0ne
bcbce77334a38d24c3c97510452a82ca2ebd0cf1
12,447
cc
C++
nscon/configurator/user_ns_configurator_test.cc
claytonbrown/lmctfy
94729318edb06f7d149f67581a07a4c70ed29250
[ "Apache-2.0" ]
1,145
2015-01-01T22:07:47.000Z
2022-03-30T19:19:23.000Z
nscon/configurator/user_ns_configurator_test.cc
claytonbrown/lmctfy
94729318edb06f7d149f67581a07a4c70ed29250
[ "Apache-2.0" ]
9
2015-01-09T08:50:27.000Z
2020-02-11T09:16:20.000Z
nscon/configurator/user_ns_configurator_test.cc
claytonbrown/lmctfy
94729318edb06f7d149f67581a07a4c70ed29250
[ "Apache-2.0" ]
123
2015-01-02T12:10:08.000Z
2021-10-12T02:49:48.000Z
// Copyright 2014 Google 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 applicable...
33.640541
80
0.730055
claytonbrown
bcbf647c2d6f6d6cb5434dc7c5518d228f7a9363
237
cpp
C++
tests/test_Base.cpp
jonathanbuchanan/Sunglasses
ab82b66f32650a813234cee8963f9b598ef5c1c8
[ "MIT" ]
1
2016-04-01T02:21:27.000Z
2016-04-01T02:21:27.000Z
tests/test_Base.cpp
jonathanbuchanan/Sunglasses
ab82b66f32650a813234cee8963f9b598ef5c1c8
[ "MIT" ]
49
2015-07-08T13:48:06.000Z
2017-06-27T01:40:51.000Z
tests/test_Base.cpp
jonathanbuchanan/Sunglasses
ab82b66f32650a813234cee8963f9b598ef5c1c8
[ "MIT" ]
null
null
null
// Copyright 2016 Jonathan Buchanan. // This file is part of Sunglasses, which is licensed under the MIT License. // See LICENSE.md for details. #include <gtest/gtest.h> #include <sunglasses/Sunglasses.hpp> using namespace sunglasses;
26.333333
76
0.767932
jonathanbuchanan
bcc4373122f130e7f1599e0d0d502f849dc510e4
336
hpp
C++
Game Engine 2D/UtilConstants.hpp
LaPeste/ComposeEngine
8ae80ec7c49af896978d06371dee96a4d2315372
[ "Apache-2.0" ]
1
2017-03-13T11:19:40.000Z
2017-03-13T11:19:40.000Z
Game Engine 2D/UtilConstants.hpp
LaPeste/ComposeEngine
8ae80ec7c49af896978d06371dee96a4d2315372
[ "Apache-2.0" ]
null
null
null
Game Engine 2D/UtilConstants.hpp
LaPeste/ComposeEngine
8ae80ec7c49af896978d06371dee96a4d2315372
[ "Apache-2.0" ]
null
null
null
// // UtilConstants.hpp // GameEngine2D // // Created by Andrea Catalini on 11/12/16. // Copyright © 2016 Andrea Catalini. All rights reserved. // #ifndef _UTIL_CONSTANTS_HPP_ #define _UTIL_CONSTANTS_HPP_ #include "stdafx.h" class UtilConstants { public: static const int NO_COMPONENTS; }; #endif /* _UTIL_CO...
16
58
0.729167
LaPeste
bcc46357d09df76e866398c35ad19d0bf3832ad1
2,576
cc
C++
src/RouteChoice/patSampleChoiceSetWithRandomWalk.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
4
2015-02-23T16:02:52.000Z
2021-03-26T17:58:53.000Z
src/RouteChoice/patSampleChoiceSetWithRandomWalk.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
null
null
null
src/RouteChoice/patSampleChoiceSetWithRandomWalk.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
5
2015-02-23T16:05:59.000Z
2017-05-04T16:13:16.000Z
/* * patSampleChoiceSetWithRandomWalk.cc * * Created on: Jun 26, 2012 * Author: jchen */ #include "patSampleChoiceSetWithRandomWalk.h" #include "patNBParameters.h" #include "patDisplay.h" #include "patOd.h" #include <boost/lexical_cast.hpp> #include <set> #include <unistd.h> patSampleChoiceSetWithRandomWal...
28.307692
104
0.719332
godosou
344a19dc0a0650d0fc2995726ab04cd29eddb250
1,525
cpp
C++
source/Vector.cpp
Wroyk-UniProjects/Robo_Steuerung_BS_A2a
0bf7fcf2c455b3fb9564452bf5c316a3502e5d4b
[ "MIT" ]
null
null
null
source/Vector.cpp
Wroyk-UniProjects/Robo_Steuerung_BS_A2a
0bf7fcf2c455b3fb9564452bf5c316a3502e5d4b
[ "MIT" ]
null
null
null
source/Vector.cpp
Wroyk-UniProjects/Robo_Steuerung_BS_A2a
0bf7fcf2c455b3fb9564452bf5c316a3502e5d4b
[ "MIT" ]
null
null
null
/* * Betribssicherheit * Aufgabe 2 Teil a * Robotorsteuerung in C++ * * * File: Vector.cpp * Author: Rudolf * * Created on 22. Mai 2017, 23:35 */ #include "../header/Vector.h" Vector::Vector() { this->x = 0.0; this->y = 0.0; this->z = 0.0; } Vector::Vector(double x, double y, double z) { ...
18.373494
85
0.523279
Wroyk-UniProjects
344e85ecf0634becfb5e6c55169a2b82b6dc0c92
955
cpp
C++
pico_dsp-arduino-esp32/arduino-esp32_pico_dsp_mics_omnidirectional/src/main.cpp
ohmic-net/pico_dsp
e3a66666fbcfd8d8ed30dfd6ac2c01b7fa23c3b2
[ "MIT" ]
23
2021-08-06T22:44:27.000Z
2022-03-24T06:20:44.000Z
pico_dsp-arduino-esp32/arduino-esp32_pico_dsp_mics_omnidirectional/src/main.cpp
ohmic-net/pico_dsp
e3a66666fbcfd8d8ed30dfd6ac2c01b7fa23c3b2
[ "MIT" ]
null
null
null
pico_dsp-arduino-esp32/arduino-esp32_pico_dsp_mics_omnidirectional/src/main.cpp
ohmic-net/pico_dsp
e3a66666fbcfd8d8ed30dfd6ac2c01b7fa23c3b2
[ "MIT" ]
1
2021-08-19T10:37:36.000Z
2021-08-19T10:37:36.000Z
// example microphone omnidirectional configuration using Faust DSP for PICO_DSP development board #include <Arduino.h> #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_spi_flash.h" #include "WM8978.h" #include "picodsp_mics_omnidirectional.h" WM8978 ...
22.738095
99
0.697382
ohmic-net
344ed0b936c90706c5a353fe9a22ccdcf66c9005
569
cpp
C++
src/netlib/internal/init_windows.cpp
yksz/libnet
e286907cc591a8f89e6c1abfe726ccf40bee3f4a
[ "MIT" ]
2
2017-06-03T10:42:48.000Z
2018-04-19T23:47:47.000Z
src/netlib/internal/init_windows.cpp
yksz/libnet
e286907cc591a8f89e6c1abfe726ccf40bee3f4a
[ "MIT" ]
null
null
null
src/netlib/internal/init_windows.cpp
yksz/libnet
e286907cc591a8f89e6c1abfe726ccf40bee3f4a
[ "MIT" ]
1
2019-01-01T15:08:21.000Z
2019-01-01T15:08:21.000Z
#include "netlib/internal/init.h" #include <cstdio> #include <cstdlib> #include <mutex> #include <winsock2.h> #pragma comment(lib, "ws2_32.lib") namespace net { namespace internal { static void cleanup() { WSACleanup(); } static void initOnce() { WSADATA data; if (WSAStartup(MAKEWORD(2, 0), &data) != 0)...
17.78125
70
0.637961
yksz
344f14565cf17fc2924d21d9bde79ebba19bcaaf
84
cpp
C++
Source/Common/Service/Private/LocalVariables.cpp
RChehowski/ExcessiveJet
bbb504aa9d56045c6047f50424511459307bd13a
[ "MIT" ]
2
2021-02-17T07:48:02.000Z
2022-01-09T19:53:54.000Z
Source/Common/Service/Private/LocalVariables.cpp
RChehowski/ExcessiveJet
bbb504aa9d56045c6047f50424511459307bd13a
[ "MIT" ]
null
null
null
Source/Common/Service/Private/LocalVariables.cpp
RChehowski/ExcessiveJet
bbb504aa9d56045c6047f50424511459307bd13a
[ "MIT" ]
null
null
null
// // Created by ASUS on 05/04/2021. // #include "Service/Public/LocalVariables.h"
14
42
0.690476
RChehowski
3455c17c2e179f15a503a4f59c3c00de4b3bbb5b
44,496
cpp
C++
src/gui/overview.cpp
skill-lang/sirEdit
20f973aa425c24107aa4331fe82c928093d2a087
[ "Apache-2.0" ]
null
null
null
src/gui/overview.cpp
skill-lang/sirEdit
20f973aa425c24107aa4331fe82c928093d2a087
[ "Apache-2.0" ]
null
null
null
src/gui/overview.cpp
skill-lang/sirEdit
20f973aa425c24107aa4331fe82c928093d2a087
[ "Apache-2.0" ]
null
null
null
#include <sirEdit/data/tools.hpp> #include <sirEdit/data/serialize.hpp> #include <gtkmm.h> #include <unordered_set> #include <stdio.h> #include <fstream> #include <functional> #include <iostream> #include <sirEdit/main.hpp> using namespace sirEdit; using namespace sirEdit::data; // // Dependencie graph // class Ima...
29.545817
148
0.627472
skill-lang
3459f19a9560647698d7e2c21f83248f6e952567
2,011
cpp
C++
Classes/Layer/GameLayer.cpp
Pythians/MyGame
78cf7727b5ccdae5cd011aa093343e954cce8651
[ "MIT" ]
null
null
null
Classes/Layer/GameLayer.cpp
Pythians/MyGame
78cf7727b5ccdae5cd011aa093343e954cce8651
[ "MIT" ]
null
null
null
Classes/Layer/GameLayer.cpp
Pythians/MyGame
78cf7727b5ccdae5cd011aa093343e954cce8651
[ "MIT" ]
null
null
null
#include "GameLayer.h" #include "Resource/ResourcesManage.h" #include "Layer/bg/BgLayer.h" USING_NS_CC; GameLayer::GameLayer( ) { } GameLayer::~GameLayer( ) { } bool GameLayer::init( ) { if( !Node::init( ) ) { return false; } this->addChild( LayerColor::create( Color4B( 182, 228, 254, 255...
25.455696
72
0.617603
Pythians
3459fcd4c781afa1ef86909af207aac5c21bf411
2,415
cpp
C++
src/Base/TaskProcessors/ThreadedTaskProcessor/WorkerThread.cpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
1
2017-10-23T13:22:01.000Z
2017-10-23T13:22:01.000Z
src/Base/TaskProcessors/ThreadedTaskProcessor/WorkerThread.cpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
null
null
null
src/Base/TaskProcessors/ThreadedTaskProcessor/WorkerThread.cpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
null
null
null
// // WorkerThread.cpp // DataElaborator // // Created by Filippo Vicentini on 24/03/14. // Copyright (c) 2014 Filippo Vicentini. All rights reserved. // #include "WorkerThread.hpp" #include "ThreadedTaskProcessor.hpp" #include "Base/Solver.hpp" #include "Base/TaskData.hpp" #include "Base/TaskResults.hpp" #includ...
24.896907
96
0.633954
PhilipVinc
346466210c1d3661a11296962286e65adea5697f
3,053
cpp
C++
Source/Engine/src/video/texture.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
null
null
null
Source/Engine/src/video/texture.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
null
null
null
Source/Engine/src/video/texture.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
1
2021-10-30T20:43:01.000Z
2021-10-30T20:43:01.000Z
/* * texture.cpp * Texture */ #include <Video/Texture.hpp> #include <Util/Logger.hpp> #include <SOIL.h> namespace Video { Texture::Texture() : textureIndex(0), size(), linearFiltering(false) { glGenTextures(1, &textureIndex); } Texture::~Texture() { glDeleteTextures(1, &textureIndex); } bool...
21.652482
113
0.718637
DatZach
34651d6260a68e90f9abe09eaa51fb77455216f3
1,199
cpp
C++
training/Codeforces/834B.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
68
2017-10-08T04:44:23.000Z
2019-08-06T20:15:02.000Z
training/Codeforces/834B.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
null
null
null
training/Codeforces/834B.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
18
2017-05-31T02:52:23.000Z
2019-07-05T09:18:34.000Z
// written at 22:19 on 30 Jul 2017 #include <bits/stdc++.h> #define IOS std::ios::sync_with_stdio(false); std::cin.tie(nullptr); std::cout.tie(nullptr); #define filename "" #define setfile() freopen(filename".in", "r", stdin); freopen(filename".ans", "w", stdout); #define resetfile() freopen("/dev/tty", "r", stdin); f...
28.547619
118
0.524604
voleking
34676faf248068e3f70f35aeaa69a1f459a64e6a
8,613
cpp
C++
src/view/view2d/viewport.cpp
panzergame/dxfplotter
95393027903c8e907c1d1ef7b4982d1aadc968c8
[ "MIT" ]
19
2020-04-08T16:38:27.000Z
2022-03-30T19:53:18.000Z
src/view/view2d/viewport.cpp
panzergame/dxfplotter
95393027903c8e907c1d1ef7b4982d1aadc968c8
[ "MIT" ]
3
2020-10-27T05:50:37.000Z
2022-03-19T17:22:04.000Z
src/view/view2d/viewport.cpp
panzergame/dxfplotter
95393027903c8e907c1d1ef7b4982d1aadc968c8
[ "MIT" ]
6
2020-06-15T13:00:58.000Z
2022-02-09T13:18:04.000Z
#include <viewport.h> #include <polylinepathitem.h> #include <pointpathitem.h> #include <QDebug> // TODO namespace View::View2d { constexpr int rubberBandTolerance = 2; // Rectangle extend used when clicking with empty rubber band. constexpr QPoint pointSelectionRectExtend(10, 10); void Viewport::setupPathItems() {...
22.606299
117
0.705677
panzergame
34725a23647d21aa01629b3766ae67cb271de3e7
21,737
cpp
C++
src/program/kss2-program.cpp
Dragon987/mbed-xml
a5130f319fd6b8c7585635e5366c28ba9379bb7f
[ "Apache-2.0" ]
null
null
null
src/program/kss2-program.cpp
Dragon987/mbed-xml
a5130f319fd6b8c7585635e5366c28ba9379bb7f
[ "Apache-2.0" ]
null
null
null
src/program/kss2-program.cpp
Dragon987/mbed-xml
a5130f319fd6b8c7585635e5366c28ba9379bb7f
[ "Apache-2.0" ]
null
null
null
#include "kss2-program.h" #include "string.h" #include "../common.h" #define GET_TXT_VALUE_FROM_CHILD(parent, child) atoi(dxml_child(parent, child)->txt) bool ellement_in_array(int el, int *arr, int n) { for(int i = 0; i < n; i++) if (el == arr[i]) return true; return false; } namespace...
32.443284
266
0.582969
Dragon987
347a33b9a8cc5b8581d4094543dd9a5abb969da8
38,090
inl
C++
src/fonts/stb_font_consolas_32_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
3
2018-03-13T12:51:57.000Z
2021-10-11T11:32:17.000Z
src/fonts/stb_font_consolas_32_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
src/fonts/stb_font_consolas_32_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_consolas_32_usascii...
65
123
0.787792
stetre
348159ff209f445fb25dd54f0c7f876f36c2bb02
623
cpp
C++
QEdit/src/CFGReader.cpp
JannikNickel/QEdit
8d09bcdc6fd4a8e2ecf969edb852de8a1c43dd7e
[ "MIT" ]
null
null
null
QEdit/src/CFGReader.cpp
JannikNickel/QEdit
8d09bcdc6fd4a8e2ecf969edb852de8a1c43dd7e
[ "MIT" ]
null
null
null
QEdit/src/CFGReader.cpp
JannikNickel/QEdit
8d09bcdc6fd4a8e2ecf969edb852de8a1c43dd7e
[ "MIT" ]
null
null
null
#include "CFGReader.h" CFGReader::CFGReader(std::ifstream* file) { if(file == nullptr) { return; } std::string line; while(getline(*file, line)) { long index = line.find('='); if(index != std::string::npos) { std::string attribute = line.substr(0, index); std::string value = line.substr(index + 1, ...
18.878788
75
0.629213
JannikNickel
34851f8db2d45beda90ff00a004978998bc317ea
2,863
hpp
C++
include/codegen/include/System/Threading/AbandonedMutexException.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Threading/AbandonedMutexException.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Threading/AbandonedMutexException.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:45 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.SystemException #include "System/SystemException.hpp" #include "utils/il2cpp-util...
46.934426
162
0.747468
Futuremappermydud
348607e6739ad68f3ca92c3db60ded07b791a985
2,734
cpp
C++
src/scexpressionparser.cpp
BryanMorfe/SciCalc
1602c159c48013beb8dee09ff648923f37c69e09
[ "Apache-2.0" ]
1
2020-12-13T16:56:32.000Z
2020-12-13T16:56:32.000Z
src/scexpressionparser.cpp
BryanMorfe/SciCalc
1602c159c48013beb8dee09ff648923f37c69e09
[ "Apache-2.0" ]
null
null
null
src/scexpressionparser.cpp
BryanMorfe/SciCalc
1602c159c48013beb8dee09ff648923f37c69e09
[ "Apache-2.0" ]
null
null
null
#include "include/scexpressionparser.h" #include <QStack> #include <QDebug> #include "include/sctokenoperations.h" const SCExpressionParser SCExpressionParser::shared; SCExpressionParser::SCExpressionParser() {} SCParsedExpression SCExpressionParser::parse(const SCInExpression &exp) { QStack<SCToken> opStack;...
30.719101
114
0.557059
BryanMorfe
348bafc7e3314b9fc89b277c6e4b7730831638be
1,001
cpp
C++
Server/Server/src/core/item/item.cpp
vahmoh26/Messenger
3413b2eedbb5ed867928c2dfe17ad2c118712f6e
[ "MIT" ]
null
null
null
Server/Server/src/core/item/item.cpp
vahmoh26/Messenger
3413b2eedbb5ed867928c2dfe17ad2c118712f6e
[ "MIT" ]
null
null
null
Server/Server/src/core/item/item.cpp
vahmoh26/Messenger
3413b2eedbb5ed867928c2dfe17ad2c118712f6e
[ "MIT" ]
null
null
null
#include "item.h" #include <sstream> #include <boost/iostreams/stream.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/archive/text_oarchive.hpp> namespace server::core { using namespace boost; item::item() { _type = type::unknown; } item::item(type type) : item() { set_type(type); } it...
15.4
97
0.669331
vahmoh26
348e1436324a8a5116a0d47c51a987498a14e5ac
28,923
hpp
C++
src/attention_layer.hpp
isi-nlp/Zoph_RNN
1e3e7da688cfcd0cdfb0c117cb84705399d1a967
[ "MIT" ]
199
2015-08-30T18:45:02.000Z
2021-11-04T09:04:20.000Z
src/attention_layer.hpp
isi-nlp/Zoph_RNN
1e3e7da688cfcd0cdfb0c117cb84705399d1a967
[ "MIT" ]
12
2016-03-07T04:37:23.000Z
2019-04-10T08:14:06.000Z
src/attention_layer.hpp
isi-nlp/Zoph_RNN
1e3e7da688cfcd0cdfb0c117cb84705399d1a967
[ "MIT" ]
72
2015-08-17T23:00:21.000Z
2021-11-29T14:03:58.000Z
template<typename dType> attention_layer<dType>::attention_layer(int LSTM_size,int minibatch_size, int device_number, int D, int longest_sent,cublasHandle_t &handle,neuralMT_model<dType> *model, bool feed_input,bool clip_gradients,dType norm_clip,bool dropout,dType dropout_rate,global_params &params,bool bi_side) {...
48.856419
240
0.763959
isi-nlp
3492168940e6c054403efb893ccd2ae5e67eee86
271
cpp
C++
Olamundo/02/freq03/main.cpp
tosantos1/LIP
7dbc045afa02729f4e2f2f1d3b29baebf5be72ad
[ "MIT" ]
null
null
null
Olamundo/02/freq03/main.cpp
tosantos1/LIP
7dbc045afa02729f4e2f2f1d3b29baebf5be72ad
[ "MIT" ]
null
null
null
Olamundo/02/freq03/main.cpp
tosantos1/LIP
7dbc045afa02729f4e2f2f1d3b29baebf5be72ad
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int opa(int a); int main() { int n; cin >> n; cout << opa(n); return 0; } int opa(int n){ if(n == 1 || n == 0){ return n; }else{ return opa(n - 1) + opa (n-2); } return 0; }
10.037037
38
0.450185
tosantos1
34946d44745756e2ec3f3c918ad22612c3b6c769
1,568
cpp
C++
training/Codeforces/765E.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
68
2017-10-08T04:44:23.000Z
2019-08-06T20:15:02.000Z
training/Codeforces/765E.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
null
null
null
training/Codeforces/765E.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
18
2017-05-31T02:52:23.000Z
2019-07-05T09:18:34.000Z
// written at 10:47 on 15 Feb 2017 #include <bits/stdc++.h> #define IOS std::ios::sync_with_stdio(false); std::cin.tie(nullptr); std::cout.tie(nullptr); // #define __DEBUG__ #ifdef __DEBUG__ #define DEBUG(...) printf(__VA_ARGS__) #else #define DEBUG(...) #endif #define filename "" #define setfile() freopen(fi...
27.034483
118
0.568878
voleking
34980dd4ee5102d7f277e8da22a98350b5762241
4,210
cpp
C++
samples/widgets/app/app.cpp
reubenscratton/oaknut
03b37965ad84745bd5c077a27d8b53d58a173662
[ "MIT" ]
5
2019-10-04T05:10:06.000Z
2021-02-03T23:29:10.000Z
samples/widgets/app/app.cpp
reubenscratton/oaknut
03b37965ad84745bd5c077a27d8b53d58a173662
[ "MIT" ]
null
null
null
samples/widgets/app/app.cpp
reubenscratton/oaknut
03b37965ad84745bd5c077a27d8b53d58a173662
[ "MIT" ]
2
2019-09-27T00:34:36.000Z
2020-10-27T09:44:26.000Z
// // Copyright © 2020 Sandcastle Software Ltd. All rights reserved. // // This file is part of 'Oaknut' which is released under the MIT License. // See the LICENSE file in the root of this installation for details. // #include <oaknut.h> class Drawer : public LinearLayout { public: Drawer() : LinearLayout() { ...
27.337662
108
0.553682
reubenscratton
349ba7372ae75faf9748c31dd57c25d3c5bad952
11,795
hh
C++
BdbTime/BdbTime.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
BdbTime/BdbTime.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
BdbTime/BdbTime.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
#ifndef BDBTIME_HH #define BDBTIME_HH //----------------------------------------------------------------------------- // // File and Version Information: // $Id: BdbTime.hh 496 2010-01-13 17:10:44Z stroili $ // // Description: // Class BdbTime. // This is a persistent time class. // // Environment: //...
34.188406
79
0.635693
brownd1978
34a130d2f192dabab62ccfa996c7233cbfd19e29
434
cc
C++
exercises/ESEMPI_BASE/operatori_aritmetici.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
3
2021-11-05T16:25:50.000Z
2022-02-10T14:06:00.000Z
exercises/ESEMPI_BASE/operatori_aritmetici.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
null
null
null
exercises/ESEMPI_BASE/operatori_aritmetici.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
2
2018-10-31T14:53:40.000Z
2020-01-09T22:34:37.000Z
using namespace std; #include <iostream> int main () { int n = 7; int m = 3; cout << "n = " << n << endl; cout << "m = " << m << endl; cout << "n+m = " << n+m << endl; cout << "n-m = " << n-m << endl; cout << "n*m = " << n*m << endl; cout << "n/m = " << n/m << endl; cout << "n%m =...
17.36
40
0.368664
mfranzil
34af9fbebdb458197455883fd2889c4ad5b4a65f
1,788
cpp
C++
src/main/utils.cpp
qzerrty/graphics-editor
af76f1466bac3b3ba7363272af74ab04e6ee44ae
[ "MIT" ]
null
null
null
src/main/utils.cpp
qzerrty/graphics-editor
af76f1466bac3b3ba7363272af74ab04e6ee44ae
[ "MIT" ]
null
null
null
src/main/utils.cpp
qzerrty/graphics-editor
af76f1466bac3b3ba7363272af74ab04e6ee44ae
[ "MIT" ]
null
null
null
#include <SDL/SDL.h> #include <SDL/SDL_ttf.h> #include "graphicsEditor.hpp" #include "utils.hpp" SDL_Color translate_color(Uint32 int_color) { #if SDL_BYTEORDER != SDL_BIG_ENDIAN SDL_Color color={ (Uint8) ((int_color & 0x00ff0000)/0x10000), (Uint8) ((int_color & 0x0000ff00)/0x100), (Uint8) (int_color & 0x0...
24.833333
101
0.630313
qzerrty
34b072586a0bd73e7f7ce8ab30fc9e1f3d7410ee
7,245
cpp
C++
Tests/GuiTests/DFNs/DisparityImage/DisparityImageEdres.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
Tests/GuiTests/DFNs/DisparityImage/DisparityImageEdres.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
Tests/GuiTests/DFNs/DisparityImage/DisparityImageEdres.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/** * @author Clément Bazerque */ /** * Test application for the DFN DisparityImageEdres */ /** * @addtogroup DFNsTest * @{ */ #include <DisparityImage/DisparityImageEdres.hpp> #include <GuiTests/ParametersInterface.hpp> #include <GuiTests/MainInterface.hpp> #include <GuiTests/DFNs/DFNTestInterface.hpp> #inclu...
38.333333
157
0.757902
H2020-InFuse
34b0b7cb584507f7860dc717ae0d4d5746ee8dc8
3,093
cpp
C++
src/Solver/NumericalJacobian.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
12
2020-09-07T11:19:10.000Z
2022-02-17T17:40:19.000Z
src/Solver/NumericalJacobian.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
110
2020-09-02T15:29:24.000Z
2022-03-09T09:50:01.000Z
src/Solver/NumericalJacobian.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
3
2021-05-21T13:24:31.000Z
2022-02-11T14:43:12.000Z
/** * Routines for numerically evaluating the jacobian numerically * in the non-linear solver. */ #include <iostream> #include "DREAM/Solver/SolverNonLinear.hpp" #include "FVM/BlockMatrix.hpp" #include "FVM/UnknownQuantity.hpp" using namespace DREAM; /** * Evaluate jacobian numerically using finite difference ...
28.118182
91
0.589395
chalmersplasmatheory
34b7758ac1a85618e9b620de9522e93938a1edfa
2,223
cpp
C++
App/src/UI/Windows/UIMatrixWindow.cpp
Shorakie/GraphDelta
f930ccd7c3bffc7a12fa864d6dca72375623cbcf
[ "MIT" ]
1
2021-07-08T22:51:59.000Z
2021-07-08T22:51:59.000Z
App/src/UI/Windows/UIMatrixWindow.cpp
Shorakie/GraphDelta
f930ccd7c3bffc7a12fa864d6dca72375623cbcf
[ "MIT" ]
null
null
null
App/src/UI/Windows/UIMatrixWindow.cpp
Shorakie/GraphDelta
f930ccd7c3bffc7a12fa864d6dca72375623cbcf
[ "MIT" ]
null
null
null
#include "UIMatrixWindow.h" #include <IconsFontAwesome5.h> #include <spdlog/fmt/fmt.h> #include <Core/Application.h> #include <Core/Utils.h> #include "Components/Components.h" using namespace entt::literals; namespace Project { UIMatrixWindow::UIMatrixWindow(GraphSystem& graphSystem, std::string name) : Engine::...
29.64
92
0.682861
Shorakie
34c3762ad4e9b277af235f077a414c405f58eda2
1,061
cpp
C++
src/database/library/artist.cpp
jeanyvesb9/PROJECTu
9534ce3e067425a75a194e56ec53344c5346c151
[ "Apache-2.0" ]
null
null
null
src/database/library/artist.cpp
jeanyvesb9/PROJECTu
9534ce3e067425a75a194e56ec53344c5346c151
[ "Apache-2.0" ]
null
null
null
src/database/library/artist.cpp
jeanyvesb9/PROJECTu
9534ce3e067425a75a194e56ec53344c5346c151
[ "Apache-2.0" ]
null
null
null
#include "artist.h" using namespace DB; Artist::Artist(QObject *parent) :QObject(parent) { } Artist::Artist(quint64 id, QByteArray name, bool albumArtist, QObject *parent) : QObject(parent), id{id}, albumArtist{albumArtist}, name{name} { } Artist::~Artist() { emit artistDeleted(this); } void Artist::s...
16.323077
78
0.702168
jeanyvesb9
34c3c0adf0797ceeb3c51c7caa3a1ab2eecde196
213
cc
C++
build/ARM/python/m5/internal/param_RubyPort.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/m5/internal/param_RubyPort.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/m5/internal/param_RubyPort.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" extern "C" { void init_param_RubyPort(); } EmbeddedSwig embed_swig_param_RubyPort(init_param_RubyPort, "m5.internal._param_RubyPort");
23.666667
99
0.596244
Jakgn
34c3fc0f23e5ac1ba2efe95219cd74ae93d99036
1,816
cpp
C++
evias/network/connection.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
1
2015-10-31T03:18:02.000Z
2015-10-31T03:18:02.000Z
evias/network/connection.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
evias/network/connection.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
#include "connection.hpp" using namespace evias::network; /** * searchQueue * * pop the queue's first element or the first with identification reqId. * * \note returned object has to be free'd * \return netPacket* */ netPacket *evias::network::netConnection::searchQueue(__netRequest_t reqId) { ...
21.364706
93
0.556718
evias
34c7dc7488185dc25907f14567154347348f23d1
1,048
cpp
C++
apr.2020after/20200507/20200507/n_11328/n_11328.cpp
lis0517/BOJ_
8aafb2db9c3c08afd145db911144c28a7cec3279
[ "MIT" ]
null
null
null
apr.2020after/20200507/20200507/n_11328/n_11328.cpp
lis0517/BOJ_
8aafb2db9c3c08afd145db911144c28a7cec3279
[ "MIT" ]
null
null
null
apr.2020after/20200507/20200507/n_11328/n_11328.cpp
lis0517/BOJ_
8aafb2db9c3c08afd145db911144c28a7cec3279
[ "MIT" ]
null
null
null
// n_11328.cpp : 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다. // #include <iostream> #include <string> using namespace std; int arr1[26]; int arr2[26]; int main() { int lp = 0; cin >> lp; for (int i = 0; i < lp; ++i) { fill(arr1 + 0, arr1 + 26, 0); fill(arr2 + 0, arr2 + 26, 0); string s1, s2; cin ...
19.407407
96
0.510496
lis0517
34cddbfed49e6957150bde6c006b2a22752bfed9
1,241
hpp
C++
core/include/storm/core/Singleton.hpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
17
2019-02-12T14:40:06.000Z
2021-12-21T12:54:17.000Z
core/include/storm/core/Singleton.hpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
null
null
null
core/include/storm/core/Singleton.hpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
2
2019-02-21T10:07:42.000Z
2020-05-08T19:49:10.000Z
// Copyright (C) 2021 Arthur LAURENT <arthur.laurent4@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level of this distribution #pragma once #include <functional> #include <memory> #include <mutex> #include <storm/core/Memory.hpp> #include <storm/core/NonCopy...
29.547619
79
0.589847
Arthapz
34d0bb63038a190ded7209dd6ecf81a9cc83c18d
2,177
cpp
C++
DataProcessingList.cpp
AlanRace/imzMLParser
1b9bc7f0b09bdeca9c8427448baed53483ce64e7
[ "Apache-2.0" ]
1
2021-03-18T09:51:10.000Z
2021-03-18T09:51:10.000Z
DataProcessingList.cpp
AlanRace/imzMLParser
1b9bc7f0b09bdeca9c8427448baed53483ce64e7
[ "Apache-2.0" ]
null
null
null
DataProcessingList.cpp
AlanRace/imzMLParser
1b9bc7f0b09bdeca9c8427448baed53483ce64e7
[ "Apache-2.0" ]
1
2018-06-08T09:11:55.000Z
2018-06-08T09:11:55.000Z
/* * * Copyright 2013 Alan Race * * 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 ag...
29.418919
147
0.702802
AlanRace
34daa666825c85dcb0228a49cf58f7b01a528b56
4,104
cpp
C++
third-year/GeometricModelling/Aufgabe01/Aufgabe01/AffineMap.cpp
JulianGR/university
2f643825b238892d602baf0c8e71e4c1b0fdefc2
[ "MIT" ]
null
null
null
third-year/GeometricModelling/Aufgabe01/Aufgabe01/AffineMap.cpp
JulianGR/university
2f643825b238892d602baf0c8e71e4c1b0fdefc2
[ "MIT" ]
null
null
null
third-year/GeometricModelling/Aufgabe01/Aufgabe01/AffineMap.cpp
JulianGR/university
2f643825b238892d602baf0c8e71e4c1b0fdefc2
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////// // // Georg Umlauf, (c) 2020 // //////////////////////////////////////////////////////////////////// #include "AffineMap.h" // constructors AffineMap::AffineMap (double t) { for (int j=0; j<4; j++) for (int i=0; i<4; i++) m_aatData[i][j] =...
23.318182
93
0.522661
JulianGR
34dd8c2f033593082df54b2853bba8225c0295d4
4,986
cpp
C++
src/lockrace/modtrack.cpp
nicholasjalbert/Thrille
117dbdbe93f81eec9398a75aebc62543498363ac
[ "OLDAP-2.8" ]
2
2015-02-19T13:15:08.000Z
2018-05-30T05:34:15.000Z
src/lockrace/modtrack.cpp
nicholasjalbert/Thrille
117dbdbe93f81eec9398a75aebc62543498363ac
[ "OLDAP-2.8" ]
null
null
null
src/lockrace/modtrack.cpp
nicholasjalbert/Thrille
117dbdbe93f81eec9398a75aebc62543498363ac
[ "OLDAP-2.8" ]
null
null
null
#include "modtrack.h" ModifiedRaceTracker::ModifiedRaceTracker() : HybridRaceTracker() { initializationHelper(); } ModifiedRaceTracker::ModifiedRaceTracker(unsigned int wr, unsigned int rd) : HybridRaceTracker(wr, rd) { initializationHelper(); } ModifiedRaceTracker::~ModifiedRaceTracker() { } void Mod...
31.961538
79
0.573606
nicholasjalbert
34e068bf48a74368721b09af4684c7e0457d20c8
769
cpp
C++
plugins/Nephilim/AngelScriptEXT/ASXRuntime.cpp
GrimshawA/Nephilim
1e69df544078b55fdaf58a04db963e20094f27a9
[ "Zlib" ]
19
2015-12-19T11:15:57.000Z
2022-03-09T11:22:11.000Z
plugins/Nephilim/AngelScriptEXT/ASXRuntime.cpp
DevilWithin/Nephilim
1e69df544078b55fdaf58a04db963e20094f27a9
[ "Zlib" ]
1
2017-05-17T09:31:10.000Z
2017-05-19T17:01:31.000Z
plugins/Nephilim/AngelScriptEXT/ASXRuntime.cpp
GrimshawA/Nephilim
1e69df544078b55fdaf58a04db963e20094f27a9
[ "Zlib" ]
3
2015-12-14T17:40:26.000Z
2021-02-25T00:42:42.000Z
#include <Nephilim/AngelScriptEXT/ASXRuntime.h> #include <Nephilim/AngelScriptEXT/ASXEngine.h> #include <angelscript.h> NEPHILIM_NS_BEGIN ASXRuntime::ASXRuntime() : m_context(NULL) { } ASXRuntime::ASXRuntime(ASXEngine& engine) { m_context = engine.get()->CreateContext(); } ASXRuntime::~ASXRuntime() { if(m_conte...
14.788462
47
0.73212
GrimshawA
34e4275045040f9b3400d0cdefb85c2055a8dee0
21,640
cpp
C++
Tests/FileMgrTest.cpp
igalink/omniscidb
94e878916991e7cf76bcd85b4091119b1ec66012
[ "Apache-2.0" ]
null
null
null
Tests/FileMgrTest.cpp
igalink/omniscidb
94e878916991e7cf76bcd85b4091119b1ec66012
[ "Apache-2.0" ]
1
2021-02-24T03:22:29.000Z
2021-02-24T03:22:29.000Z
Tests/FileMgrTest.cpp
isabella232/omniscidb
bf83d84833710679debdf7a0484b6fbfc421cc96
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 OmniSci, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
44.989605
90
0.717976
igalink
34e5824156bb4489ce6a05a52d37e029521986e1
17,532
cpp
C++
examples/example-rtc.cpp
kirchnerlab/libpipe
28f08b9399945bd13329937a9dd0691211826886
[ "MIT" ]
1
2018-11-08T13:41:18.000Z
2018-11-08T13:41:18.000Z
examples/example-rtc.cpp
kirchnerlab/libpipe
28f08b9399945bd13329937a9dd0691211826886
[ "MIT" ]
null
null
null
examples/example-rtc.cpp
kirchnerlab/libpipe
28f08b9399945bd13329937a9dd0691211826886
[ "MIT" ]
null
null
null
/* * example-rtc.cpp * * Copyright (c) 2010 Marc Kirchner * 2011 David Sichau * */ #include <libpipe/config.hpp> #include <stdlib.h> #include <exception> #include <iostream> #include <set> #include <boost/pointer_cast.hpp> #include <boost/shared_ptr.hpp> #include <boost/make_shared.hpp> #include <...
32.346863
84
0.592745
kirchnerlab
34e5fb3069618dfe4b629d3f544a01ef8e570dde
2,942
cpp
C++
core/CODeMDistribution.cpp
shaulsal/CODeM
8cc85972cbb21ec55f323e6a049429b9ab2e2c74
[ "MIT" ]
null
null
null
core/CODeMDistribution.cpp
shaulsal/CODeM
8cc85972cbb21ec55f323e6a049429b9ab2e2c74
[ "MIT" ]
null
null
null
core/CODeMDistribution.cpp
shaulsal/CODeM
8cc85972cbb21ec55f323e6a049429b9ab2e2c74
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2012-2015 The University of Sheffield (www.sheffield.ac.uk) ** ** This file is part of Liger. ** ** GNU Lesser General Public License Usage ** This file may be used under the terms of the GNU Lesser General ** Public Licen...
29.128713
79
0.615228
shaulsal
34ec9e7f840721668c5b529c756e4cf5d515b7b4
753
hpp
C++
test/framework/test_logger.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
test/framework/test_logger.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
test/framework/test_logger.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef TEST_FRAMEWORK_TEST_LOGGER_HPP #define TEST_FRAMEWORK_TEST_LOGGER_HPP #include "logger/logger.hpp" #include "logger/logger_manager_fwd.hpp" /// Allows to log objects, which have toString() method without call...
28.961538
80
0.746348
akshatkarani
34ef50181b03004b1772f96aee5628700062067b
2,797
cpp
C++
CardReaderLibrary/ImageEditHelper.cpp
klanderfri/CardReaderLibrary
71fc4b7fc6052a9ec3fb477fccd9b3fcfa0b9c60
[ "MIT" ]
4
2019-03-18T14:06:59.000Z
2021-07-17T18:36:12.000Z
CardReaderLibrary/ImageEditHelper.cpp
klanderfri/ReadMagicCard
71fc4b7fc6052a9ec3fb477fccd9b3fcfa0b9c60
[ "MIT" ]
17
2018-04-12T18:03:16.000Z
2018-05-09T18:33:07.000Z
CardReaderLibrary/ImageEditHelper.cpp
klanderfri/ReadMagicCard
71fc4b7fc6052a9ec3fb477fccd9b3fcfa0b9c60
[ "MIT" ]
1
2019-03-25T18:31:17.000Z
2019-03-25T18:31:17.000Z
#include "stdafx.h" #include "ImageEditHelper.h" #include <opencv2\imgproc.hpp> using namespace cv; using namespace std; ImageEditHelper::ImageEditHelper() { this->converter = new ConversionHelper(); this->rectangleMethods = new RectangleHelper(); this->imageInfo = new ImageInformationHelper(); this->transformati...
32.905882
154
0.782267
klanderfri
34f211ffa6f801582b60db6fe75a22298c813dd3
1,331
cpp
C++
src/library/sorry.cpp
leodemoura/lean_clone
cc077554b584d39bab55c360bc12a6fe7957afe6
[ "Apache-2.0" ]
130
2016-12-02T22:46:10.000Z
2022-03-22T01:09:48.000Z
src/library/sorry.cpp
soonhokong/lean
38607e3eb57f57f77c0ac114ad169e9e4262e24f
[ "Apache-2.0" ]
8
2017-05-03T01:21:08.000Z
2020-02-25T11:38:05.000Z
src/library/sorry.cpp
soonhokong/lean
38607e3eb57f57f77c0ac114ad169e9e4262e24f
[ "Apache-2.0" ]
28
2016-12-02T22:46:20.000Z
2022-03-18T21:28:20.000Z
/* Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "kernel/type_checker.h" #include "kernel/environment.h" #include "library/module.h" #include "library/constants.h" namespace lean { static name * ...
30.25
119
0.67994
leodemoura
34f55e2c82c209303e5e12fa681355f0770aae26
11,053
cpp
C++
src/module_handler/handler_base.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
src/module_handler/handler_base.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
src/module_handler/handler_base.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
#include "handler_base.h" #include <base/timer.h> #include <base/config.hpp> #include <base/logger/logger.h> #include <module_net/net/nat_type.hpp> #include <module_net/session_manager.h> #include <module_peer/routing_table.h> #include <module_peer/partner_table.h> #define BASE_REGISTER(_FUNC) std::bind(&HandlerBase::...
30.788301
108
0.733104
umichan0621
5a560a47e4c98284c4949d131cbe6cd6b3f1822b
2,056
hpp
C++
types/containers/ColumnVectorUtil.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
types/containers/ColumnVectorUtil.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
types/containers/ColumnVectorUtil.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
35.448276
78
0.738327
Hacker0912
5a6056593fed418eec1850f6ec3aad256a72945f
9,432
cpp
C++
KeePass.1.39.a/LibraryMB/Date.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
null
null
null
KeePass.1.39.a/LibraryMB/Date.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
1
2020-05-01T00:37:31.000Z
2020-05-01T00:37:31.000Z
KeePass.1.39.a/LibraryMB/Date.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
1
2020-02-25T09:11:37.000Z
2020-02-25T09:11:37.000Z
// Date & Time using CTime #include "stdafx.h" #include "Date.h" #include "MessageBox.h" #include "StringInput.h" // Helper functions for dealing with Edit boxes static bool vrfyMnth( int cnt, TCchar ch, int& v); static bool vrfyDay( int cnt, TCchar ch, int& v); static bool vrfyYr( int cnt, TCchar ch, int& v); ...
24.886544
105
0.502969
rrvt
5a63f54de0d91ae503705aea54597e7b8c540ec2
4,572
cpp
C++
active16/src/libalf/libalf_interfaces/jalf/src/jni_algorithm_kearns_vazirani.cpp
adiojha629/JIRP_LRM
a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3
[ "MIT" ]
2
2021-09-22T13:02:55.000Z
2021-11-08T19:16:55.000Z
active16/src/libalf/libalf_interfaces/jalf/src/jni_algorithm_kearns_vazirani.cpp
adiojha629/JIRP_LRM
a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3
[ "MIT" ]
null
null
null
active16/src/libalf/libalf_interfaces/jalf/src/jni_algorithm_kearns_vazirani.cpp
adiojha629/JIRP_LRM
a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3
[ "MIT" ]
null
null
null
/* $Id: jni_algorithm_angluin.cpp 1081 2009-11-11 16:33:40Z davidpiegdon $ * vim: fdm=marker * * This file is part of libalf. * * libalf 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 ver...
38.1
208
0.783902
adiojha629
5a669cb970f23e3dc4e79c2350eaf2177bf271a6
36
cpp
C++
src/lib/universal_include.cpp
abainbridge/trex-warrior
fac95802ce7efd8dc9c50f915ce8d5891f545640
[ "BSD-2-Clause" ]
null
null
null
src/lib/universal_include.cpp
abainbridge/trex-warrior
fac95802ce7efd8dc9c50f915ce8d5891f545640
[ "BSD-2-Clause" ]
null
null
null
src/lib/universal_include.cpp
abainbridge/trex-warrior
fac95802ce7efd8dc9c50f915ce8d5891f545640
[ "BSD-2-Clause" ]
null
null
null
#include "lib/universal_include.h"
18
35
0.777778
abainbridge
5a6a1c2975c6531dff0687018ae8062dd9ace258
1,354
hpp
C++
include/utility/container/helper/in_place_t.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/container/helper/in_place_t.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/container/helper/in_place_t.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#ifndef __UTILITY_CONTAINER_HELPER_IN_PLACE_T__ #define __UTILITY_CONTAINER_HELPER_IN_PLACE_T__ /** * \file ignore_t.hpp * \author Inochi Amaoto * */ #include<utility/config/utility_config.hpp> #include<utility/trait/trait_helper.hpp> namespace utility { namespace container { namespace helper { ...
21.492063
84
0.70384
SakuraLife
5a6bba96e35124ac92ce3b4f4a40e291e65d674f
1,591
cpp
C++
data/train/cpp/469397c48114ed209f7e63666c457ceb0a48a171StreamInterface.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/cpp/469397c48114ed209f7e63666c457ceb0a48a171StreamInterface.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/cpp/469397c48114ed209f7e63666c457ceb0a48a171StreamInterface.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
///////////////////////////////////////////////////////////// /** @file StreamInterface.cpp * @ingroup Utils * * @author Luk2010 * @version 0.1A * * @date 04/01/2013 - 23/03/2014 * * Implements the Streams class. * **/ ///////////////////////////////////////////////////////////// #include "StreamInterface...
15.598039
63
0.478944
harshp8l
5a6dac2ed132145899c82aff673bf5521101c34d
2,484
cpp
C++
src/event.cpp
jaykang920/x2boost
2a1160b7f840b7ceea6b18e61603ab4e0ce7a94c
[ "MIT" ]
null
null
null
src/event.cpp
jaykang920/x2boost
2a1160b7f840b7ceea6b18e61603ab4e0ce7a94c
[ "MIT" ]
null
null
null
src/event.cpp
jaykang920/x2boost
2a1160b7f840b7ceea6b18e61603ab4e0ce7a94c
[ "MIT" ]
null
null
null
// Copyright (c) 2014-2017 Jae-jun Kang // See the file LICENSE for details. #include "x2boost/event.hpp" #include <boost/functional/hash.hpp> #include <boost/thread/once.hpp> #include "x2boost/deserializer.hpp" #include "x2boost/event_factory.hpp" #include "x2boost/serializer.hpp" using namespace x2boost; namespa...
20.032258
82
0.646135
jaykang920
5a6f5388a2fccc8bc1c1b26effb8ed7388b6643e
8,267
cpp
C++
Source/Platform/String.cpp
Hork-Engine/Hork-Source
1670e7b04dcfd28d6efdcae06a30c00e303be28f
[ "MIT" ]
17
2022-01-31T07:43:06.000Z
2022-03-29T10:30:25.000Z
Source/Platform/String.cpp
Hork-Engine/Hork-Source
1670e7b04dcfd28d6efdcae06a30c00e303be28f
[ "MIT" ]
2
2022-02-06T14:46:40.000Z
2022-02-08T09:46:54.000Z
Source/Platform/String.cpp
Hork-Engine/Hork-Source
1670e7b04dcfd28d6efdcae06a30c00e303be28f
[ "MIT" ]
1
2022-02-15T08:23:23.000Z
2022-02-15T08:23:23.000Z
/* Hork Engine Source Code MIT License Copyright (C) 2017-2022 Alexander Samusev. This file is part of the Hork Engine Source Code. 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 rest...
18.961009
79
0.477803
Hork-Engine
5a7101e2844fbc9e66964710842291a84c9e091d
4,022
cpp
C++
Project1.cpp
TomasOchoa/CSCI-261-Project1-SimpleFileProcessing
a3413ee5b404944a2e4ea9204c35ad252f899e84
[ "MIT" ]
null
null
null
Project1.cpp
TomasOchoa/CSCI-261-Project1-SimpleFileProcessing
a3413ee5b404944a2e4ea9204c35ad252f899e84
[ "MIT" ]
null
null
null
Project1.cpp
TomasOchoa/CSCI-261-Project1-SimpleFileProcessing
a3413ee5b404944a2e4ea9204c35ad252f899e84
[ "MIT" ]
null
null
null
// CSCI 216 Fundamentals of Programming II Spring 2015 // Program #1: Getting started // Author: Tomas Ochoa // Date Due: 26 January 2015 // // This object of this program is to do some simple file processing. The program will first // ask the user to input a file name. If it doesn't exist it will continue to as...
28.323944
95
0.58901
TomasOchoa
5a72682a7ae8be6fabc274a1d8efa6a2371a9390
96
cpp
C++
src/examples/06_module/02_shapes/circle.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-willcastl3
47a99259ea78662bd61a7f3390c8d59e004179e3
[ "MIT" ]
null
null
null
src/examples/06_module/02_shapes/circle.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-willcastl3
47a99259ea78662bd61a7f3390c8d59e004179e3
[ "MIT" ]
null
null
null
src/examples/06_module/02_shapes/circle.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-willcastl3
47a99259ea78662bd61a7f3390c8d59e004179e3
[ "MIT" ]
1
2021-05-25T20:20:15.000Z
2021-05-25T20:20:15.000Z
//circle.cpp #include "circle.h" using std::cout; void Circle::draw() { cout<<"Circle\n"; }
12
21
0.625
acc-cosc-1337-spring-2021
5a77c92d07cdc42e7f340155d5922230aa50d47a
4,199
cpp
C++
ofxTweener/src/ofxTweener.cpp
itsukichang/vacuuuum
9bb8605270d3da1acc6901287f9d08fc31119d87
[ "MIT" ]
null
null
null
ofxTweener/src/ofxTweener.cpp
itsukichang/vacuuuum
9bb8605270d3da1acc6901287f9d08fc31119d87
[ "MIT" ]
null
null
null
ofxTweener/src/ofxTweener.cpp
itsukichang/vacuuuum
9bb8605270d3da1acc6901287f9d08fc31119d87
[ "MIT" ]
null
null
null
/* * ofxTweener.cpp * openFrameworks * * Created by Sander ter Braak on 26-08-10. * */ #include "ofxTweener.h" ofxTweener Tweener; ofxTweener::ofxTweener(){ _scale = 1; setMode(TWEENMODE_OVERRIDE); } void ofxTweener::addTween(float &var, float to, float time, void (^callback)(float * arg)){ addTween(var...
30.208633
206
0.637056
itsukichang
5a7821bce812b57e30493eaad57b046a6b4320a8
319
cpp
C++
test/io.cpp
victorrseloy/JSCPP-LIVE-REPL
941b5fd787b05e7ff18327a982b0a225ebfba70f
[ "MIT" ]
773
2015-05-26T23:51:00.000Z
2022-03-12T13:39:09.000Z
test/io.cpp
victorrseloy/JSCPP-LIVE-REPL
941b5fd787b05e7ff18327a982b0a225ebfba70f
[ "MIT" ]
128
2015-03-28T09:11:26.000Z
2022-03-11T09:14:28.000Z
test/io.cpp
victorrseloy/JSCPP-LIVE-REPL
941b5fd787b05e7ff18327a982b0a225ebfba70f
[ "MIT" ]
74
2015-06-16T08:44:49.000Z
2022-02-22T18:48:58.000Z
#include "iostream" #include "iomanip" using namespace std; int main() { double f = 3.14159; cout << setprecision(5) << f << '\n'; cout << setprecision(9) << f << '\n'; cout << fixed; cout << setprecision(5) << f << '\n'; cout << setprecision(9) << f << '\n'; cout << setw(15) << f << '\n'; return 0; }
22.785714
39
0.532915
victorrseloy
5a7921f5c48252f44f0dcb2adfe8895fe89dcca0
189
cpp
C++
mod01/ex05/main.cpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod01/ex05/main.cpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod01/ex05/main.cpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
2
2021-01-31T13:52:11.000Z
2021-05-19T18:36:17.000Z
#include <iostream> #include "Human.hpp" int main() { Human bob; std::cout << bob.identity() << std::endl; std::cout << bob.getBrain().identity() << std::endl; return 0; }
17.181818
56
0.582011
paozer
5a798feffd0da4d3021a49dd4b74f077919dffa2
5,576
cpp
C++
implementations/ugene/src/corelibs/U2Lang/src/model/ExternalToolCfg.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Lang/src/model/ExternalToolCfg.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Lang/src/model/ExternalToolCfg.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * 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 * ...
32.8
194
0.725072
r-barnes
5a7a8fd8615ec69ed0acb0c456a9a617b264a834
11,651
cpp
C++
Examples/Example1/Example1.cpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
null
null
null
Examples/Example1/Example1.cpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
null
null
null
Examples/Example1/Example1.cpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
1
2020-08-26T07:08:26.000Z
2020-08-26T07:08:26.000Z
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007, 2010 Michael A. Jackson for BlueQuartz Software // All rights reserved. // BSD License: http://www.opensource.org/licenses/bsd-license.html // // This code was written under United States Air Force Contract num...
40.314879
157
0.634967
mpartio
5a7bd61fb13f1c2a6333018f5dd33db02ad43053
345
cpp
C++
C++/queue/queueTest2.cpp
faber222/Aulas-Prog
989843c5e0ede5b7a5e8fffbd4c2da80e924ffdb
[ "MIT" ]
null
null
null
C++/queue/queueTest2.cpp
faber222/Aulas-Prog
989843c5e0ede5b7a5e8fffbd4c2da80e924ffdb
[ "MIT" ]
null
null
null
C++/queue/queueTest2.cpp
faber222/Aulas-Prog
989843c5e0ede5b7a5e8fffbd4c2da80e924ffdb
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> using namespace std; int main() { queue<int> q; q.push(11); while (!q.empty()) { int x = q.front(); q.pop(); cout << x << endl; int y = x / 2; if (y > 1) { if ((x % 2)) { q.push(y - 1); q.push(y + 1); } else { q.pus...
12.777778
22
0.402899
faber222
5a7d5025b11a7afb6aa28b7aab0f0696421d0e6b
2,410
hxx
C++
opencascade/Vrml_Separator.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/Vrml_Separator.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/Vrml_Separator.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1997-03-27 // Created by: Alexander BRIVIN and Dmitry TARASOV // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under //...
29.390244
96
0.785477
valgur
5a7e22263a30f08d591916b4d9b50b99e85f836b
11,581
cpp
C++
source/de/hackcraft/world/sub/computer/rController.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
23
2015-12-08T19:29:10.000Z
2021-09-22T04:13:31.000Z
source/de/hackcraft/world/sub/computer/rController.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
7
2018-04-30T13:05:57.000Z
2021-08-25T03:58:07.000Z
source/de/hackcraft/world/sub/computer/rController.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
4
2018-01-25T03:05:19.000Z
2021-08-25T03:30:15.000Z
#include "rController.h" #include "de/hackcraft/log/Logger.h" #include "de/hackcraft/world/Entity.h" #include "de/hackcraft/world/World.h" #include "de/hackcraft/world/object/cMech.h" #include "de/hackcraft/world/sub/weapon/rTarcom.h" #include <cstdlib> #include <cassert> #include <sstream> using std::string; L...
24.640426
187
0.528711
DMJC
5a7f917a1641628bc3ba2cee0b77fbc8aedb6a29
34
cpp
C++
src/IceRay/type/type.cpp
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
2
2020-09-04T12:27:15.000Z
2022-01-17T14:49:40.000Z
src/IceRay/type/type.cpp
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
null
null
null
src/IceRay/type/type.cpp
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
1
2020-09-04T12:27:52.000Z
2020-09-04T12:27:52.000Z
#include "./general/general.cpp"
17
33
0.705882
dmilos
5a8379011405bdc4d048a92c93eb0001eb3e44e7
1,756
cpp
C++
Logger.cpp
alonf/UniversalACRemote
6d4bb6e475a5f71e264a4b48a757ae182df796aa
[ "MIT" ]
1
2019-12-26T01:11:30.000Z
2019-12-26T01:11:30.000Z
Logger.cpp
alonf/UniversalACRemote
6d4bb6e475a5f71e264a4b48a757ae182df796aa
[ "MIT" ]
1
2020-12-06T12:55:01.000Z
2020-12-06T12:55:01.000Z
Logger.cpp
alonf/UniversalACRemote
6d4bb6e475a5f71e264a4b48a757ae182df796aa
[ "MIT" ]
null
null
null
#include "Logger.h" using namespace std; Logger::Logger(int redLedPin, int greenLedPin, int baudRate /*= 115200*/): _ledsLogger(LedsLogger::Create(redLedPin, greenLedPin)) { Serial.begin(baudRate); Serial.setDebugOutput(true); } void Logger::OnCommand(const String &commandName, int commandId) const { Serial.printl...
21.679012
130
0.723235
alonf
5a870fd79cf4d1010645b3db87f9e3820b60be81
392
cpp
C++
1451/a.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
1
2021-10-24T00:46:37.000Z
2021-10-24T00:46:37.000Z
1451/a.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
1451/a.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> using namespace std; int solve_x(int x) { if (x == 1) { return 0; } else if (x == 2) { return 1; } else if (x & 1) { return 1 + solve_x(x - 1); } else { return 2; } } int solve() { int n; scanf("%d", &n); return solve_x(n); } int main() { int t...
12.645161
30
0.484694
vladshablinsky
5a9035c976299f8f74d6b077936d00b2cef53368
7,932
hpp
C++
shared/dumps/UnityEngine_GameObject.hpp
zoller27osu/beatsaber-hook
83a4bb55ed8b2f9e4c977877bc1b0601fed36f39
[ "MIT" ]
1
2020-04-22T07:37:13.000Z
2020-04-22T07:37:13.000Z
shared/dumps/UnityEngine_GameObject.hpp
zoller27osu/beatsaber-hook
83a4bb55ed8b2f9e4c977877bc1b0601fed36f39
[ "MIT" ]
null
null
null
shared/dumps/UnityEngine_GameObject.hpp
zoller27osu/beatsaber-hook
83a4bb55ed8b2f9e4c977877bc1b0601fed36f39
[ "MIT" ]
null
null
null
#ifndef UnityEngine_GameObject_DEFINED #define UnityEngine_GameObject_DEFINED // This .hpp file was compiled via beatsaber-hook/shared/helper.py's Parse Mode. // Created by Sc2ad. // Methods may not be valid! #include <dlfcn.h> #include <string_view> #include "../utils/typedefs.h" #include "../utils/il2cpp-functions.hp...
73.444444
148
0.775466
zoller27osu
5a9b0d466153bbd7f0f42fe011b3fd24696215c6
5,388
hh
C++
src/mem/tcu/cmds.hh
Barkhausen-Institut/gem5-TCU
c3c86be12debec937b9b5dd351df13e5ea43ab4a
[ "BSD-3-Clause" ]
null
null
null
src/mem/tcu/cmds.hh
Barkhausen-Institut/gem5-TCU
c3c86be12debec937b9b5dd351df13e5ea43ab4a
[ "BSD-3-Clause" ]
null
null
null
src/mem/tcu/cmds.hh
Barkhausen-Institut/gem5-TCU
c3c86be12debec937b9b5dd351df13e5ea43ab4a
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015, Christian Menard * Copyright (C) 2020 Nils Asmussen, Barkhausen Institut * All rights reserved. * * Redistribution and use in source and binary forms, with or without * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the follo...
25.17757
81
0.648107
Barkhausen-Institut
5a9e15128229c9f829ebe95b5c346e9c54dfd520
30,756
cpp
C++
taglib/mp4tag.cpp
acristoffers/SimplePlayer
aba0702901960648fc6602201f85198af87377ed
[ "MIT-0" ]
null
null
null
taglib/mp4tag.cpp
acristoffers/SimplePlayer
aba0702901960648fc6602201f85198af87377ed
[ "MIT-0" ]
null
null
null
taglib/mp4tag.cpp
acristoffers/SimplePlayer
aba0702901960648fc6602201f85198af87377ed
[ "MIT-0" ]
null
null
null
/************************************************************************** * copyright : (C) 2007,2011 by Lukáš Lalinský * email : lalinsky@gmail.com **************************************************************************/ /***********************************************************...
34.479821
134
0.486897
acristoffers
5aa0f5a538f4ade6671944c5a38053e19c403cf2
12,382
tpp
C++
src/sdm/core/joint.tpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
src/sdm/core/joint.tpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
src/sdm/core/joint.tpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
#define DEFINE_JOINT(CLASS) \ /* This macro allow to define a specific joint on std::shared_ptr<CLASS> that inherites from CLASS. */ \ template ...
73.702381
194
0.220966
SDMStudio
5aa87fe1c04f1ac8be1528f7d60a790f841cc03d
1,330
cpp
C++
xenon/src/xenon/core/asset.cpp
Neathan/Xenon
d376337dd086ac8ccb84cbaf97b6537ad6dda8a4
[ "MIT" ]
1
2021-09-21T23:37:22.000Z
2021-09-21T23:37:22.000Z
xenon/src/xenon/core/asset.cpp
Neathan/Xenon
d376337dd086ac8ccb84cbaf97b6537ad6dda8a4
[ "MIT" ]
null
null
null
xenon/src/xenon/core/asset.cpp
Neathan/Xenon
d376337dd086ac8ccb84cbaf97b6537ad6dda8a4
[ "MIT" ]
null
null
null
#include "asset.h" #include "xenon/core/log.h" namespace xe { void copyAssetMetaRuntimeData(const Asset* source, Asset* target) { target->metadata.handle = source->metadata.handle; target->metadata.type = source->metadata.type; target->metadata.path = source->metadata.path; target->runtimeData.loaded = sour...
32.439024
68
0.696241
Neathan
5aab948085ff5abeee86e7106a25b873fbf0d801
5,641
cc
C++
src/outlinerdebug.cc
jariarkko/cave-outliner
2077a24627881f45a27aec3eb4e5b4855f6b7fec
[ "BSD-3-Clause" ]
4
2021-09-02T16:52:23.000Z
2022-02-07T16:39:50.000Z
src/outlinerdebug.cc
jariarkko/cave-outliner
2077a24627881f45a27aec3eb4e5b4855f6b7fec
[ "BSD-3-Clause" ]
87
2021-09-12T06:09:57.000Z
2022-02-15T00:05:43.000Z
src/outlinerdebug.cc
jariarkko/cave-outliner
2077a24627881f45a27aec3eb4e5b4855f6b7fec
[ "BSD-3-Clause" ]
1
2021-09-28T21:38:30.000Z
2021-09-28T21:38:30.000Z
/////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////// // // CCC AAA V V ...
27.120192
95
0.423329
jariarkko
5aad100adabbe634edb18b10d83f62667ad7bed0
478
cpp
C++
tests/memory_resource/memory_resource_mini.cpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/memory_resource/memory_resource_mini.cpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/memory_resource/memory_resource_mini.cpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#include "tests/memory_resource/memory_resource_mini.hpp" #include "tests/memory_resource/memory_resource_fwd.hpp" //------------------------------------------------------------------------------ namespace memory_resource_tests { //------------------------------------------------------------------------------ void...
22.761905
80
0.374477
olegpublicprofile
5ab002f951bce3ed0377049fe0cc750d48f79d99
4,303
ipp
C++
src/lib/diagrams/bdd_manager_creator.ipp
MichalMrena/DecisionDiagrams
e2e9b949405bd2c1c93ba32c151b60a78620afec
[ "MIT" ]
1
2022-03-17T12:55:30.000Z
2022-03-17T12:55:30.000Z
src/lib/diagrams/bdd_manager_creator.ipp
MichalMrena/DecisionDiagrams
e2e9b949405bd2c1c93ba32c151b60a78620afec
[ "MIT" ]
null
null
null
src/lib/diagrams/bdd_manager_creator.ipp
MichalMrena/DecisionDiagrams
e2e9b949405bd2c1c93ba32c151b60a78620afec
[ "MIT" ]
null
null
null
#ifndef MIX_DD_bdd_manager_HPP #include "../bdd_manager.hpp" #endif namespace teddy { template<class VertexData, class ArcData> auto bdd_manager<VertexData, ArcData>::variable_not (index_t const i) -> bdd_t { return this->negate(this->variable(i)); } template<class VertexData, clas...
33.617188
94
0.558912
MichalMrena
5ab31ae91b7618b6ae521ea0638acdea9cb15ef3
34,408
cpp
C++
OpenHome/Net/Bindings/Cpp/ControlPoint/Proxies/CpAvOpenhomeOrgMediaServer1Std.cpp
kmuellerjones/ohNetGenerated
2bb32625c9ab49e17ba84ec40cc4046ec09182f3
[ "MIT" ]
1
2017-01-06T15:34:03.000Z
2017-01-06T15:34:03.000Z
OpenHome/Net/Bindings/Cpp/ControlPoint/Proxies/CpAvOpenhomeOrgMediaServer1Std.cpp
kmuellerjones/ohNetGenerated
2bb32625c9ab49e17ba84ec40cc4046ec09182f3
[ "MIT" ]
5
2016-01-05T09:47:15.000Z
2018-12-16T14:07:35.000Z
OpenHome/Net/Bindings/Cpp/ControlPoint/Proxies/CpAvOpenhomeOrgMediaServer1Std.cpp
kmuellerjones/ohNetGenerated
2bb32625c9ab49e17ba84ec40cc4046ec09182f3
[ "MIT" ]
6
2015-04-08T18:50:36.000Z
2021-04-14T13:41:15.000Z
#include "CpAvOpenhomeOrgMediaServer1.h" #include <OpenHome/Net/Core/CpProxy.h> #include <OpenHome/Net/Private/CpiService.h> #include <OpenHome/Private/Thread.h> #include <OpenHome/Net/Private/AsyncPrivate.h> #include <OpenHome/Buffer.h> #include <OpenHome/Net/Cpp/CpDevice.h> #include <OpenHome/Net/Private/CpiDevice.h>...
35.182004
218
0.748372
kmuellerjones
5ab40cad403f3d645ee6c48b5684403204a488ff
2,178
cpp
C++
ModernCpp-11-14-17/cppFacilities/inlineFunctions.cpp
eduardorasgado/Cpp-AdvancedTopics
b025845e97f794be857ec5893999a5b2a18c1939
[ "MIT" ]
1
2019-06-20T17:51:11.000Z
2019-06-20T17:51:11.000Z
ModernCpp-11-14-17/cppFacilities/inlineFunctions.cpp
eduardorasgado/Cpp-AdvancedTopics
b025845e97f794be857ec5893999a5b2a18c1939
[ "MIT" ]
null
null
null
ModernCpp-11-14-17/cppFacilities/inlineFunctions.cpp
eduardorasgado/Cpp-AdvancedTopics
b025845e97f794be857ec5893999a5b2a18c1939
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <memory> // inline function through a macro // if it is not handling correctly it will create bugs //#define Square(A) (A*A) // In c++ instead a macro we use inline functions // inline keyword tells the compiler to substitute the caller of the function in // where inline f...
32.029412
95
0.646006
eduardorasgado