hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
a8184158890cf2d536689d788186c10fa5f48e1c
951
cpp
C++
parrot/src/platform/window/WindowsInput.cpp
MiloHX/Parrot
159f583b2e43396dcc42dc3456a9c5d3fb043133
[ "Apache-2.0" ]
null
null
null
parrot/src/platform/window/WindowsInput.cpp
MiloHX/Parrot
159f583b2e43396dcc42dc3456a9c5d3fb043133
[ "Apache-2.0" ]
null
null
null
parrot/src/platform/window/WindowsInput.cpp
MiloHX/Parrot
159f583b2e43396dcc42dc3456a9c5d3fb043133
[ "Apache-2.0" ]
null
null
null
#include "prpch.h" #include "parrot/core/Input.h" #include "parrot/core/Application.h" #include <GLFW/glfw3.h> namespace parrot { bool Input::isKeyPressed(KeyCode key_code) { auto window = static_cast<GLFWwindow*>(Application::get().getWindow().getNativeWindow()); auto state = glfwGetKey(window,...
31.7
97
0.660358
MiloHX
a81c28f908580e4b72c1a296b135dffb13f02f75
266
cc
C++
week6/memory/unit_tests.cc
yxc07/EEP_520_Winter2022
6a66e957c8afe78ed3703fda6113e55ccf5b66b2
[ "MIT" ]
13
2020-01-10T00:25:27.000Z
2020-09-14T20:26:23.000Z
week6/memory/unit_tests.cc
yxc07/EEP_520_Winter2022
6a66e957c8afe78ed3703fda6113e55ccf5b66b2
[ "MIT" ]
null
null
null
week6/memory/unit_tests.cc
yxc07/EEP_520_Winter2022
6a66e957c8afe78ed3703fda6113e55ccf5b66b2
[ "MIT" ]
19
2021-04-07T02:39:30.000Z
2021-12-12T00:40:22.000Z
#include <math.h> #include <float.h> /* defines DBL_EPSILON */ #include <assert.h> #include "gtest/gtest.h" namespace { TEST(Examples, Allocation) { int * x = new int; double * p = new double[10]; delete x; delete[] p; } }
16.625
44
0.556391
yxc07
a81e53f2970260f975b22689b898ea41f80ff1a0
684
cpp
C++
game/server/entities/CInfoIntermission.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
game/server/entities/CInfoIntermission.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
game/server/entities/CInfoIntermission.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
#include "extdll.h" #include "util.h" #include "cbase.h" #include "CInfoIntermission.h" LINK_ENTITY_TO_CLASS( info_intermission, CInfoIntermission ); void CInfoIntermission::Spawn( void ) { SetAbsOrigin( GetAbsOrigin() ); SetSolidType( SOLID_NOT ); GetEffects() = EF_NODRAW; SetViewAngle( g_vecZero ); SetNextTh...
22.064516
101
0.726608
sohl-modders
a81fbc3068040a3d53bacb11d79f84ff5eff593e
7,253
cpp
C++
CaWE/MapEditor/Commands/Delete.cpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
CaWE/MapEditor/Commands/Delete.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
CaWE/MapEditor/Commands/Delete.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #include "Delete.hpp" #include "Select.hpp" #include "../CompMapEntity.hpp" #include "../MapDocument.hpp" #include "../MapEntRepres.hpp" #include "../MapPrimitive.hpp...
30.220833
104
0.624293
dns
a821f5ce6f823d289435a671b6a4dd3dafcac6bc
1,674
cpp
C++
core/src/opt/dedicate_to_window.cpp
pit-ray/win-vind
7386f6f7528d015ce7f1a5ae230d6e63f9492df9
[ "MIT" ]
731
2020-05-07T06:22:59.000Z
2022-03-31T16:36:03.000Z
core/src/opt/dedicate_to_window.cpp
pit-ray/win-vind
7386f6f7528d015ce7f1a5ae230d6e63f9492df9
[ "MIT" ]
67
2020-07-20T19:46:42.000Z
2022-03-31T15:34:47.000Z
core/src/opt/dedicate_to_window.cpp
pit-ray/win-vind
7386f6f7528d015ce7f1a5ae230d6e63f9492df9
[ "MIT" ]
15
2021-01-29T04:49:11.000Z
2022-03-04T22:16:31.000Z
#include "opt/dedicate_to_window.hpp" #if defined(DEBUG) #include <iostream> #endif #include <windows.h> #include "bind/emu/edi_change_mode.hpp" #include "bind/mode/change_mode.hpp" #include "err_logger.hpp" #include "g_params.hpp" #include "io/mouse.hpp" #include "key/key_absorber.hpp" #include "key/keycode_def.hpp...
23.577465
65
0.608124
pit-ray
a82396571fb885084e14cbe0c347a9d3c040b36c
1,702
cpp
C++
math/fibonacci.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
math/fibonacci.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
math/fibonacci.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
/** * @file * @brief Generate fibonacci sequence * * Calculate the the value on Fibonacci's sequence given an * integer as input. * \f[\text{fib}(n) = \text{fib}(n-1) + \text{fib}(n-2)\f] * * @see fibonacci_large.cpp, fibonacci_fast.cpp, string_fibonacci.cpp */ #include <cassert> #include <iostream> /** * Re...
25.029412
69
0.62926
dvijaymanohar
a82466ae6673a5f0ef3d223463a800485c27c369
31,786
cpp
C++
Source/Core/FileFormat/XML/TinyXML.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/FileFormat/XML/TinyXML.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/FileFormat/XML/TinyXML.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************/ /** * @file TinyXML.cpp */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rights reserved. * See http://www.viz.media.kyoto-u.ac.jp...
22.119694
107
0.499528
CCSEPBVR
a824d6666c16ea26d15ceacbfbee3ebc419a324d
367
cpp
C++
Chapter11/exercises/exercise_10/exercise_10.cpp
JohnWoods11/learning_c-
094509a4e96518e1aa12205615ca50849932f9fa
[ "Apache-2.0" ]
null
null
null
Chapter11/exercises/exercise_10/exercise_10.cpp
JohnWoods11/learning_c-
094509a4e96518e1aa12205615ca50849932f9fa
[ "Apache-2.0" ]
null
null
null
Chapter11/exercises/exercise_10/exercise_10.cpp
JohnWoods11/learning_c-
094509a4e96518e1aa12205615ca50849932f9fa
[ "Apache-2.0" ]
null
null
null
#include "exercise_10.h" void f() { string s = "a series of whitespace seperated words"; vector<string> substrings = split(s); for (auto substring : substrings) { cout << substring << endl; } } int main() { try { f(); } catch (...) { cout << "MAJOR ERR...
14.115385
56
0.490463
JohnWoods11
a82a53cca49e1fc369df95cd846299eed232c6d7
1,855
cpp
C++
src/wiztk/base/string.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
37
2017-11-22T14:15:33.000Z
2021-11-25T20:39:39.000Z
src/wiztk/base/string.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
3
2018-03-01T12:44:22.000Z
2021-01-04T23:14:41.000Z
src/wiztk/base/string.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
10
2017-11-25T19:09:11.000Z
2020-12-02T02:05:47.000Z
/* * Copyright 2017 The WizTK Authors. * * 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 agre...
30.409836
120
0.712129
wiztk
a82df48d367f2b32a7cc49feef4c00bce3105606
15,546
cpp
C++
sdk/channel.cpp
faming-wang/QTeamSpeak3
41f6161cb87be7029c5d91ab4a33062d91445c64
[ "Apache-2.0" ]
2
2021-12-28T15:49:43.000Z
2022-03-27T08:05:12.000Z
sdk/channel.cpp
faming-wang/QTeamSpeak3
41f6161cb87be7029c5d91ab4a33062d91445c64
[ "Apache-2.0" ]
null
null
null
sdk/channel.cpp
faming-wang/QTeamSpeak3
41f6161cb87be7029c5d91ab4a33062d91445c64
[ "Apache-2.0" ]
null
null
null
#include "channel.h" #include "library.h" #include "fileinfo.h" #include "connection.h" #include "filetransfer.h" #include "private/cachemanager_p.h" #include "private/interfacemanager_p.h" namespace TeamSpeakSdk { class Channel::Private { public: int getInt(const Channel* channel, ChannelProperty flag) { ...
28.010811
206
0.714782
faming-wang
a8311a4c4cfe6fae6f6f99cf742aabb34308bc4b
14,601
cpp
C++
source/Articles/Serialization/serialization_demo.cpp
rioscode/DataDrivenRendering
b200c10e44e84c6d50355dfc0dd0f592752a47c7
[ "Zlib" ]
164
2019-06-30T18:14:38.000Z
2022-03-13T14:36:10.000Z
source/Articles/Serialization/serialization_demo.cpp
rioscode/DataDrivenRendering
b200c10e44e84c6d50355dfc0dd0f592752a47c7
[ "Zlib" ]
null
null
null
source/Articles/Serialization/serialization_demo.cpp
rioscode/DataDrivenRendering
b200c10e44e84c6d50355dfc0dd0f592752a47c7
[ "Zlib" ]
11
2019-09-11T13:40:59.000Z
2022-01-28T09:24:24.000Z
#include "serialization_demo.hpp" #include "serialization_examples.hpp" #include "blob.hpp" #include <iostream> #include <stdint.h> #include <stdarg.h> #define WIN32_LEAN_AND_MEAN #include <Windows.h> // Allocator ////////////////////////////////////////////////////////////// void* Allocator::allocate( sizet size...
35.183133
183
0.606465
rioscode
a831a4a671483363466c72a4efb8812d5d95a62b
23,938
cpp
C++
lib/Common/Common/Tick.cpp
satheeshravi/ChakraCore
3bf47ff12bf80ab06fb7ea6925ec7579985ac1f5
[ "MIT" ]
1
2021-11-07T18:56:21.000Z
2021-11-07T18:56:21.000Z
lib/Common/Common/Tick.cpp
MaxMood96/ChakraCore
9d9fea268ce1ae6c00873fd966a6a2be048f3455
[ "MIT" ]
null
null
null
lib/Common/Common/Tick.cpp
MaxMood96/ChakraCore
9d9fea268ce1ae6c00873fd966a6a2be048f3455
[ "MIT" ]
1
2021-09-04T23:26:57.000Z
2021-09-04T23:26:57.000Z
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
27.202273
105
0.346228
satheeshravi
a83420610dd94d8b6dd2ecd189c5a44d95f63d08
5,146
cpp
C++
rviz/src/image_view/image_view.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
5
2020-01-14T06:45:59.000Z
2021-03-11T11:22:35.000Z
rviz/src/image_view/image_view.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
2
2019-02-12T21:55:08.000Z
2019-02-20T01:01:24.000Z
rviz/src/image_view/image_view.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
9
2018-09-09T20:48:17.000Z
2021-03-11T11:22:52.000Z
/* * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
30.630952
108
0.70754
romi2002
a8373d2a8b68ee46f2203c509b7341604c44253a
4,544
cpp
C++
Source/Dynamics/Joints/b2DistanceJoint.cpp
Rinnegatamante/Box2D
e4e218f5ec0d5e8fab5d6a8f54079066e8dc0a16
[ "Zlib" ]
4
2017-05-31T08:39:37.000Z
2018-04-22T02:51:18.000Z
Source/Dynamics/Joints/b2DistanceJoint.cpp
Rinnegatamante/Box2D
e4e218f5ec0d5e8fab5d6a8f54079066e8dc0a16
[ "Zlib" ]
null
null
null
Source/Dynamics/Joints/b2DistanceJoint.cpp
Rinnegatamante/Box2D
e4e218f5ec0d5e8fab5d6a8f54079066e8dc0a16
[ "Zlib" ]
1
2018-03-10T21:25:01.000Z
2018-03-10T21:25:01.000Z
/* * Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, ...
30.911565
114
0.715009
Rinnegatamante
a83a6eb63f2269281aac94928d0c6c00d9bcf0f4
352
cpp
C++
Baekjoon/9517.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/9517.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/9517.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(void) { int k, n, time = 210, ans, t; char z; bool check = false; cin >> k >> n; for (int i = 0; i < n; i++) { cin >> t >> z; if (time - t <= 0 && !check) { ans = k; check = true; } else { time -= t; if (z == 'T') k = (k + 1) > 8 ? 1 : ...
13.538462
34
0.431818
Twinparadox
a840ed153da786ca61ed206500aa281b57cb970d
5,840
cpp
C++
src/states/IntroState.cpp
CEDV-2016/arrow
512c5875bcefa3ae09614609f4a2f69f5df467ed
[ "MIT" ]
null
null
null
src/states/IntroState.cpp
CEDV-2016/arrow
512c5875bcefa3ae09614609f4a2f69f5df467ed
[ "MIT" ]
null
null
null
src/states/IntroState.cpp
CEDV-2016/arrow
512c5875bcefa3ae09614609f4a2f69f5df467ed
[ "MIT" ]
null
null
null
#include "IntroState.hpp" #include "MainState.hpp" template<> IntroState* Ogre::Singleton<IntroState>::msSingleton = 0; IntroState::IntroState(): _physicsMgr(NULL), _mapMgr(NULL), _overlayMgr(NULL), _cameraMgr(NULL), _shootMgr(NULL), _collisionMgr(NULL), _characterMgr(NULL) {} void Intr...
26.188341
259
0.693836
CEDV-2016
a842b886c04195753104f238791fe553759048cb
391
cpp
C++
101/strings/string_adjacent_find.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
2
2021-04-21T07:59:45.000Z
2021-05-13T05:53:00.000Z
101/strings/string_adjacent_find.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
null
null
null
101/strings/string_adjacent_find.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
1
2021-04-17T15:32:18.000Z
2021-04-17T15:32:18.000Z
#include "../../headers.h" /* * Something to remember here is that: * all these functions - take iterators as I/P's. * But iterators are more like pointers and they v * can be incremented or decremented */ int main() { string s = "accenllt"; string::iterator it = adjacent_find(s.begin()+2,s.end()); ...
24.4375
61
0.621483
hariharanragothaman
61b41538e3a47fea982a03c17debc8f290f63c45
935
cpp
C++
VBoxLayout.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
VBoxLayout.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
VBoxLayout.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
#include "VBoxLayout.h" #include <QVBoxLayout> #include <QPoint> VBoxLayout::VBoxLayout() : VBoxLayout(nullptr) { } VBoxLayout::VBoxLayout(QWidget* parent) : QWidget(parent) { QVBoxLayout* layout = new QVBoxLayout(this); layout->setAlignment(Qt::AlignTop); layout->setSpacing(0); } void VBoxLayout::add(QWidget* ...
19.479167
61
0.685561
Evgenii-Evgenevich
61b65a186189ac6441e0e7609a22f179ba4fc99c
813
hpp
C++
include/ptk/util/Math.hpp
Knobin/ptk
1ea55b638d7240679eced0e165ab78a8f5d2278b
[ "MIT" ]
null
null
null
include/ptk/util/Math.hpp
Knobin/ptk
1ea55b638d7240679eced0e165ab78a8f5d2278b
[ "MIT" ]
null
null
null
include/ptk/util/Math.hpp
Knobin/ptk
1ea55b638d7240679eced0e165ab78a8f5d2278b
[ "MIT" ]
null
null
null
// // util/Math.hpp // pTK // // Created by Robin Gustafsson on 2021-12-11. // #ifndef PTK_UTIL_MATH_HPP #define PTK_UTIL_MATH_HPP // C++ Headers #include <cmath> #include <string> namespace pTK { /** This file is purely for the need of math functions. Since in Linux apparently some math functions, ...
19.357143
72
0.601476
Knobin
61b7f2e8c315ca859282984ab3bab03a08b60802
15,876
inl
C++
Library/Sources/Stroika/Foundation/Streams/SharedMemoryStream.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Library/Sources/Stroika/Foundation/Streams/SharedMemoryStream.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Library/Sources/Stroika/Foundation/Streams/SharedMemoryStream.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #ifndef _Stroika_Foundation_Streams_SharedMemoryStream_inl_ #define _Stroika_Foundation_Streams_SharedMemoryStream_inl_ 1 /* ******************************************************************************** ***************************** Im...
46.285714
223
0.536155
SophistSolutions
61b8c36017aa8cc5fcde9d64eaa10785fd200957
1,468
hh
C++
ehunter/core/LogSum.hh
bw2/ExpansionHunter
6a6005a4bae2c49f56ec8997a301b70a75b042b6
[ "BSL-1.0", "Apache-2.0" ]
122
2017-01-06T16:19:31.000Z
2022-03-08T00:05:50.000Z
ehunter/core/LogSum.hh
bw2/ExpansionHunter
6a6005a4bae2c49f56ec8997a301b70a75b042b6
[ "BSL-1.0", "Apache-2.0" ]
90
2017-01-04T00:23:34.000Z
2022-02-27T12:55:52.000Z
ehunter/core/LogSum.hh
bw2/ExpansionHunter
6a6005a4bae2c49f56ec8997a301b70a75b042b6
[ "BSL-1.0", "Apache-2.0" ]
35
2017-03-02T13:39:58.000Z
2022-03-30T17:34:11.000Z
// // ExpansionHunter // Copyright (c) 2020 Illumina, Inc. // // Author: Konrad Scheffler <kscheffler@illumina.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.a...
29.959184
88
0.696185
bw2
61b9074c8ecfb30b5f80214514fc2e3315fae2b0
275
cpp
C++
Challenges/Challenge64/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
Challenges/Challenge64/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
Challenges/Challenge64/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
#include <cassert> #include <cstdint> #include <algorithm> #include <string> std::string MakeUpperCase(std::string str) { std::transform(str.begin(), str.end(), str.begin(), ::toupper); return str; } int main() { assert(MakeUpperCase("hello") == "HELLO"); return 0; }
16.176471
64
0.669091
GamesTrap
61be1ed9419420046c10b11190d437708114aa91
714
cpp
C++
tests/Basic/ConsoleLogger/main.cpp
cash2/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
5
2018-12-29T11:47:17.000Z
2021-04-30T11:40:15.000Z
tests/Basic/ConsoleLogger/main.cpp
aphivantrakul/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
2
2019-07-10T15:53:44.000Z
2021-06-26T17:41:46.000Z
tests/Basic/ConsoleLogger/main.cpp
aphivantrakul/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
10
2018-11-25T18:45:50.000Z
2022-03-21T17:19:42.000Z
// Copyright (c) 2018-2021 The Cash2 developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "gtest/gtest.h" #include "Logging/ConsoleLogger.h" using namespace Logging; // constructor TEST(ConsoleLogger, 1) { ...
24.62069
71
0.747899
cash2
61c258a5695408e8a195255a39381d1ffa2d27eb
4,066
hpp
C++
src/mongocxx/options/data_key.hpp
lzlzymy/mongo-cxx-driver
bcdeb3ad9412f6b7b87a45dc3384ad18759ac572
[ "Apache-2.0" ]
null
null
null
src/mongocxx/options/data_key.hpp
lzlzymy/mongo-cxx-driver
bcdeb3ad9412f6b7b87a45dc3384ad18759ac572
[ "Apache-2.0" ]
null
null
null
src/mongocxx/options/data_key.hpp
lzlzymy/mongo-cxx-driver
bcdeb3ad9412f6b7b87a45dc3384ad18759ac572
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 MongoDB 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 to in wri...
32.015748
100
0.652484
lzlzymy
61c2fc452c05e65d2f31a88f5076353bfb6237a0
10,532
cpp
C++
src/mfx/pi/export.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/pi/export.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/pi/export.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
/***************************************************************************** export.cpp Author: Laurent de Soras, 2016 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the term...
48.759259
140
0.613749
mikelange49
61c35abcbffe63b9b7b3707595211d052b775b1d
7,894
cpp
C++
src/config/QsConfig.cpp
li-lili/qingstor-sdk-c-and-cpp
9dbe6799231e7df8d237adab39f3c01351d51cff
[ "Apache-1.1" ]
null
null
null
src/config/QsConfig.cpp
li-lili/qingstor-sdk-c-and-cpp
9dbe6799231e7df8d237adab39f3c01351d51cff
[ "Apache-1.1" ]
null
null
null
src/config/QsConfig.cpp
li-lili/qingstor-sdk-c-and-cpp
9dbe6799231e7df8d237adab39f3c01351d51cff
[ "Apache-1.1" ]
null
null
null
// +------------------------------------------------------------------------- // | Copyright (C) 2017 Yunify, Inc. // +------------------------------------------------------------------------- // | Licensed under the Apache License, Version 2.0 (the "License"); // | you may not use this work except in compliance with t...
30.715953
149
0.589308
li-lili
61c4dca75fa183567326eb278e80d3571bf396ab
2,358
hpp
C++
hitagi/ecs/include/hitagi/ecs/schedule.hpp
L-Sun/game_engine
e153280dae975c2770a202ca3b55e672626a172e
[ "MIT" ]
null
null
null
hitagi/ecs/include/hitagi/ecs/schedule.hpp
L-Sun/game_engine
e153280dae975c2770a202ca3b55e672626a172e
[ "MIT" ]
null
null
null
hitagi/ecs/include/hitagi/ecs/schedule.hpp
L-Sun/game_engine
e153280dae975c2770a202ca3b55e672626a172e
[ "MIT" ]
null
null
null
#pragma once #include <hitagi/ecs/world.hpp> #include <hitagi/utils/concepts.hpp> #include <memory_resource> #include <typeindex> #include <vector> #include <functional> namespace hitagi::ecs { class Schedule { struct ITask { virtual void Run(World&) = 0; }; template <typename Func> struct T...
29.848101
127
0.608991
L-Sun
61c68a6f6b29b393cb18a9650126ea67b6df83bd
7,055
cpp
C++
Coin3D/src/nodes/SoTexture3Transform.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/nodes/SoTexture3Transform.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/nodes/SoTexture3Transform.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
32.511521
87
0.684054
pniaz20
61cb646052d8bf082a49814e04b57dfd0c0c6672
603
cpp
C++
src/Papyrus/ExtendedObjectTypes.cpp
fireundubh/PapyrusExtenderSSE
9816f9be76883b301a25349665f3a923d4fdc964
[ "MIT" ]
1
2021-08-30T20:33:43.000Z
2021-08-30T20:33:43.000Z
src/Papyrus/ExtendedObjectTypes.cpp
fireundubh/PapyrusExtenderSSE
9816f9be76883b301a25349665f3a923d4fdc964
[ "MIT" ]
null
null
null
src/Papyrus/ExtendedObjectTypes.cpp
fireundubh/PapyrusExtenderSSE
9816f9be76883b301a25349665f3a923d4fdc964
[ "MIT" ]
null
null
null
#include "Papyrus/ExtendedObjectTypes.h" auto extendedObjectTypes::RegisterTypes(VM* a_vm) -> bool { if (!a_vm) { logger::critical("Object types - couldn't get VMState"sv); return false; } a_vm->RegisterObjectType(vm_cast<RE::BGSFootstepSet>(), "FootstepSet"); logger::info("Registered footstep set object typ...
27.409091
82
0.742952
fireundubh
61cc0d987e8dea83ee8fb068e28b4a4f1fda37af
933
cpp
C++
codeforces/498_3/b.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
2
2018-06-26T09:52:14.000Z
2018-07-12T15:02:01.000Z
codeforces/498_3/b.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
codeforces/498_3/b.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ map<int, int> m; int n,k; scanf("%d%d", &n, &k); vector<int> a(n); vector<int> b(n); for(int i = 0; i<n; i++){ scanf("%d", &a[i]); b[i] = a[i]; } sort(b.rbegin(), b.rend()); for(int i = 0; i<k; i++) ...
15.048387
49
0.347267
sidgairo18
61cc3f6fe9d8448581fa7c53b86a37faaf36c236
1,330
cpp
C++
WaveletTL/Rd/regularity.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
WaveletTL/Rd/regularity.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
WaveletTL/Rd/regularity.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation for regularity.h #include <algebra/vector.h> #include <algebra/matrix.h> #include <numerics/eigenvalues.h> using namespace MathTL; namespace WaveletTL { template <class MASK> AutocorrelationMask<MASK>::AutocorrelationMask() { MASK a; // b(k) = \sum_m a(k+m)*a(m)/2 const int k1 = ...
25.576923
83
0.586466
kedingagnumerikunimarburg
61cc8219de8035df8fdc8782a75bf9ced1f8f25e
366
cpp
C++
C++Code/1009.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
C++Code/1009.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
C++Code/1009.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
//Questão: Salario com Bonus #include <iostream> #include <string> #include <iomanip> using namespace std; int main() { string NOME; float SALARIO, TOTALV, TOTAL; cin >> NOME; cout << fixed << setprecision(2); cin >> SALARIO >> TOTALV; cout << fixed << setprecision(2); cout << "TOTAL = R$ "<<((TOT...
20.333333
61
0.620219
CrystianPrintes20
61d7917ccdb0209ed5dad36a7111e39482e93646
903
hpp
C++
include/PlayerCardCreator.hpp
eduardoweiland/placarduino
b536d8f40855a052e8ff140d79edd8e2a2c76a75
[ "Unlicense" ]
3
2018-01-13T13:18:42.000Z
2022-02-24T01:30:55.000Z
include/PlayerCardCreator.hpp
eduardoweiland/placarduino
b536d8f40855a052e8ff140d79edd8e2a2c76a75
[ "Unlicense" ]
null
null
null
include/PlayerCardCreator.hpp
eduardoweiland/placarduino
b536d8f40855a052e8ff140d79edd8e2a2c76a75
[ "Unlicense" ]
null
null
null
#pragma once #include "App.hpp" #include "RisingEdgeButton.h" #include "SmartCard.h" #include <LiquidCrystal_I2C.h> #include <stdint.h> #include <WString.h> class PlayerCardCreator : public App { public: PlayerCardCreator(); void init(); void run(); private: LiquidCrystal_I2C lcd; RisingEdgeBut...
21.5
42
0.717608
eduardoweiland
61dfe6113b40ebe81dcd9be9532a0a5149d7ac15
745
tpp
C++
cml/vector/subvector_ops.tpp
egorodet/CML
e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f
[ "BSL-1.0" ]
125
2015-07-22T11:39:51.000Z
2022-03-06T13:41:44.000Z
cml/vector/subvector_ops.tpp
egorodet/CML
e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f
[ "BSL-1.0" ]
45
2015-06-03T15:50:08.000Z
2021-05-26T01:35:01.000Z
cml/vector/subvector_ops.tpp
egorodet/CML
e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f
[ "BSL-1.0" ]
28
2015-06-03T09:26:26.000Z
2022-03-06T13:42:06.000Z
/* -*- C++ -*- ------------------------------------------------------------ @@COPYRIGHT@@ *-----------------------------------------------------------------------*/ /** @file */ #ifndef __CML_VECTOR_SUBVECTOR_OPS_TPP #error "vector/subvector_ops.tpp not included correctly" #endif namespace cml { template<class Su...
24.032258
76
0.495302
egorodet
61e1c1b3b736b3c6fce106e044aeabd67a4139f0
4,112
cpp
C++
src/geometry/mesh.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
2
2016-09-20T06:01:03.000Z
2020-12-03T23:22:19.000Z
src/geometry/mesh.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
null
null
null
src/geometry/mesh.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
null
null
null
#include <algorithm> #include <iterator> #include <iostream> #include "mesh.h" #include "geometry/isect_util.h" using std::copy; using std::ostream_iterator; using std::cerr; MeshTri::MeshTri(const Mesh* m, int f, const uint v[3]) : mesh(m), ti(f) { copy(v, v+3, vi); } scalar_fp ray_triangle_intersection_accel(c...
26.191083
104
0.558366
masonium
61e4b83cba47ce5809ebef70d0ee6f8febe7a39d
4,989
cc
C++
source/param_array.cc
nsoblath/param
250c45ce7dc2d8fe6cb6fa1820d231ebb6674a18
[ "Apache-2.0" ]
null
null
null
source/param_array.cc
nsoblath/param
250c45ce7dc2d8fe6cb6fa1820d231ebb6674a18
[ "Apache-2.0" ]
null
null
null
source/param_array.cc
nsoblath/param
250c45ce7dc2d8fe6cb6fa1820d231ebb6674a18
[ "Apache-2.0" ]
null
null
null
/* * param_array.cc * * Created on: Jan 14, 2014 * Author: nsoblath */ #define PARAM_API_EXPORTS #include <sstream> using std::string; using std::stringstream; #include "param_array.hh" #include "param_base_impl.hh" #include "param_node.hh" namespace param { param_array::param_array() : ...
29.347059
132
0.512928
nsoblath
61e7823fd086418ee4a9902a56b2d99a1e676e02
17,317
cpp
C++
apps/phan_app/src/main.cpp
phiwen96/Phan
61bd47d57dc6d0e7a92c6e9db676f5d76ed8edb4
[ "Apache-2.0" ]
3
2021-03-15T12:57:32.000Z
2021-03-15T15:34:07.000Z
apps/phan_app/src/main.cpp
phiwen96/Phan
61bd47d57dc6d0e7a92c6e9db676f5d76ed8edb4
[ "Apache-2.0" ]
null
null
null
apps/phan_app/src/main.cpp
phiwen96/Phan
61bd47d57dc6d0e7a92c6e9db676f5d76ed8edb4
[ "Apache-2.0" ]
1
2021-03-15T13:36:21.000Z
2021-03-15T13:36:21.000Z
#include "main.hpp" //$(sej$(aaa){AAA}$(bajs$(moa){kmkd}){tej$(haha){kmkm}}){kukens fitta} //$(bajskmkd){tej$(haha){kmkd}} //template <bool DO_LOUD = true> struct Process { vector <pair <string, string>> declaredVariables; Context declVar; // Context pasteVar; // comment::Context co...
25.097101
271
0.528671
phiwen96
61ee79cd70ea8ea30a159d70ad57ba85261744be
1,436
cpp
C++
CWTW-Pro.cpp
jr4qpv/cwtw-pro
5b3340e27ef4d606ad1833b6ee4bf27815f89dfb
[ "MIT" ]
null
null
null
CWTW-Pro.cpp
jr4qpv/cwtw-pro
5b3340e27ef4d606ad1833b6ee4bf27815f89dfb
[ "MIT" ]
null
null
null
CWTW-Pro.cpp
jr4qpv/cwtw-pro
5b3340e27ef4d606ad1833b6ee4bf27815f89dfb
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include <tchar.h> //--------------------------------------------------------------------------- USEFORM("UAbout.cpp", AboutBox); USEFORM("UEdit.cpp", EditFile); USEFORM("URegInf.cpp", RegInf); USEFORM("UReg...
26.592593
78
0.548747
jr4qpv
61eecc43c9d264ef7163665bc71d09e160c624ce
1,865
cpp
C++
linked_list/merge_two_linked_list.cpp
M1NH42/learn-dsa
70b5011a83dd5c29d39b754ed856cb9e023511f3
[ "MIT" ]
null
null
null
linked_list/merge_two_linked_list.cpp
M1NH42/learn-dsa
70b5011a83dd5c29d39b754ed856cb9e023511f3
[ "MIT" ]
null
null
null
linked_list/merge_two_linked_list.cpp
M1NH42/learn-dsa
70b5011a83dd5c29d39b754ed856cb9e023511f3
[ "MIT" ]
null
null
null
// Merge two Linked List #include <stdio.h> #include <stdlib.h> struct Node { int data; struct Node *next; } *first = NULL, *second = NULL, *third = NULL; void Display(struct Node *p) { while (p != NULL) { printf("%d ", p->data); p = p->next; } } void create(int A[], int n) { int...
18.284314
56
0.447721
M1NH42
61f29e1436d2d9c5c30bd40a750d56683c1a3a70
1,883
cc
C++
src/core/lib/config/core_configuration.cc
blueice123/grpc
72171a33269073a4c09940e948e82b93bf0fcf97
[ "Apache-2.0" ]
7
2019-03-26T02:47:46.000Z
2021-03-25T08:05:37.000Z
src/core/lib/config/core_configuration.cc
blueice123/grpc
72171a33269073a4c09940e948e82b93bf0fcf97
[ "Apache-2.0" ]
15
2017-06-20T10:02:58.000Z
2021-05-06T02:23:13.000Z
src/core/lib/config/core_configuration.cc
blueice123/grpc
72171a33269073a4c09940e948e82b93bf0fcf97
[ "Apache-2.0" ]
13
2017-12-06T12:39:29.000Z
2022-03-29T05:50:44.000Z
// Copyright 2021 gRPC authors. // // 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 i...
34.236364
79
0.740308
blueice123
61f5e46c89b2fbc043d053bbca67fe26ad796ae9
560
cpp
C++
francor_base/src/algorithm/transform.cpp
franc0r/libfrancor
7dc28349949dbad2da219f2bda5c5cf21cb7f7d8
[ "BSD-3-Clause" ]
null
null
null
francor_base/src/algorithm/transform.cpp
franc0r/libfrancor
7dc28349949dbad2da219f2bda5c5cf21cb7f7d8
[ "BSD-3-Clause" ]
null
null
null
francor_base/src/algorithm/transform.cpp
franc0r/libfrancor
7dc28349949dbad2da219f2bda5c5cf21cb7f7d8
[ "BSD-3-Clause" ]
null
null
null
/** * Algorithm and estimation function regarding transform. * \author Christian Merkl (knueppl@gmx.de) * \date 2. November 2019 */ #include "francor_base/algorithm/transform.h" #include "francor_base/transform.h" namespace francor { namespace base { namespace algorithm { namespace transform { void transformP...
18.666667
78
0.733929
franc0r
61f60ed77aa8cfe906e4913e9326b833cef4ce25
5,782
cpp
C++
PhysX_3.4/Snippets/SnippetSpatialIndex/SnippetSpatialIndex.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
PhysX_3.4/Snippets/SnippetSpatialIndex/SnippetSpatialIndex.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
PhysX_3.4/Snippets/SnippetSpatialIndex/SnippetSpatialIndex.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
29.350254
114
0.706849
DoubleTT-Changan
61f6326e14124616ca2b9fc6968570ca5e135f84
2,932
cpp
C++
src/util/util_env.cpp
Gcenx/DXVK-macOS
9e5c61bf885ae1af0c506326d2b4cb5dabd4327c
[ "Zlib" ]
null
null
null
src/util/util_env.cpp
Gcenx/DXVK-macOS
9e5c61bf885ae1af0c506326d2b4cb5dabd4327c
[ "Zlib" ]
null
null
null
src/util/util_env.cpp
Gcenx/DXVK-macOS
9e5c61bf885ae1af0c506326d2b4cb5dabd4327c
[ "Zlib" ]
null
null
null
#include <array> #include <cstdlib> #include <filesystem> #include <numeric> #ifdef __linux__ #include <unistd.h> #include <limits.h> #endif #include "util_env.h" #include "./com/com_include.h" namespace dxvk::env { std::string getEnvVar(const char* name) { #ifdef _WIN32 std::vector<WCHAR> result; result...
23.837398
92
0.632674
Gcenx
61f637fa2f200b9157965d01624ea87e69cb5358
805
cpp
C++
Codeforces/PetyaAndCountryyard.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/PetyaAndCountryyard.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/PetyaAndCountryyard.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
//https://codeforces.com/contest/66/problem/B #include<bits/stdc++.h> using namespace std ; #define aakriti long long int int main() { ios_base::sync_with_stdio(false); cin.tie(0); aakriti number ; cin >> number ; aakriti arr[number], ans = 1 ; for(int i = 0; i <number ; i++) ...
23
46
0.397516
canis-majoris123
61fb39d1e35e1a1b445ad7aef886ef04bdf8e3b9
4,017
cpp
C++
source/A344279.cpp
SoumyadeepDhar/IntegerSequences
e2b08c8fa1fdc53e4a8807e3fb1ecccd179fe864
[ "MIT" ]
null
null
null
source/A344279.cpp
SoumyadeepDhar/IntegerSequences
e2b08c8fa1fdc53e4a8807e3fb1ecccd179fe864
[ "MIT" ]
null
null
null
source/A344279.cpp
SoumyadeepDhar/IntegerSequences
e2b08c8fa1fdc53e4a8807e3fb1ecccd179fe864
[ "MIT" ]
null
null
null
/* * A344279.cpp * * Created on: 14-May-2021 * * Author: Soumyadeep Dhar * * A344279: Numbers a(n)=m such that |m| is the smallest, k=n*m and r=(n^2+1)*m * for two quadratic equations of the form t^2+k*t+r = 0 and t^2+r*t+k^2 = 0 * have non-zero integer roots, where k is the coeffi...
29.108696
113
0.52004
SoumyadeepDhar
61fead47df29906cf3576128c4e49d0d3adf3215
840
cpp
C++
CEOI/2017/palindrome.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
1
2018-12-14T07:51:26.000Z
2018-12-14T07:51:26.000Z
CEOI/2017/palindrome.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
null
null
null
CEOI/2017/palindrome.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
1
2019-06-23T10:34:19.000Z
2019-06-23T10:34:19.000Z
//Palindromic Partitions #include <iostream> #include <cstdio> #include <vector> using namespace std; typedef long long int lli; const lli MOD = lli(1e9)+7, base = 31; lli n; string S; lli modpow(lli a, lli b) { if(!b) return 1; else if(b == 1) return a; else { lli res = modpow(a, b/2)%MOD; res *= res; r...
14.482759
50
0.54881
nalinbhardwaj
11006e9f92d20522e33039acbfc19819486c5c76
3,433
cpp
C++
examples/3d/easyCamExample/src/ofApp.cpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
3
2017-12-27T23:02:50.000Z
2018-10-14T00:50:49.000Z
examples/3d/easyCamExample/src/ofApp.cpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
null
null
null
examples/3d/easyCamExample/src/ofApp.cpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
1
2020-02-28T20:39:20.000Z
2020-02-28T20:39:20.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetVerticalSync(true); // this uses depth information for occlusion // rather than always drawing things on top of each other ofEnableDepthTest(); // this sets the camera's distance from the object cam....
24.697842
179
0.499272
creatologist
11021a8038ae3cc9d22b5c7026aebcae6a20e663
21,155
hpp
C++
include/jet/Utilities.hpp
XanaduAI/jet
c74fd61c7caf821153b05ab9f9a783e779040161
[ "Apache-2.0" ]
29
2021-07-22T20:32:55.000Z
2022-03-28T20:36:03.000Z
include/jet/Utilities.hpp
XanaduAI/jet
c74fd61c7caf821153b05ab9f9a783e779040161
[ "Apache-2.0" ]
25
2021-07-22T21:05:20.000Z
2021-11-24T17:34:31.000Z
include/jet/Utilities.hpp
XanaduAI/jet
c74fd61c7caf821153b05ab9f9a783e779040161
[ "Apache-2.0" ]
7
2021-07-23T11:47:12.000Z
2022-03-23T07:12:39.000Z
#pragma once #include <algorithm> #include <complex> #include <iostream> #include <numeric> #include <string> #include <vector> #include "Abort.hpp" namespace Jet { namespace Utilities { /** * @brief Determines if an integral value is a power of 2. * @param value Number to check. * @return True if `value` is a p...
30.007092
80
0.623068
XanaduAI
1102642a3aa47a79509c1d3c1dc28d7df27dd909
76
hh
C++
MCDataProducts/inc/GenParticleCollection.hh
michaelmackenzie/Offline
57bcd11d499af77ed0619deeddace51ed2b0b097
[ "Apache-2.0" ]
null
null
null
MCDataProducts/inc/GenParticleCollection.hh
michaelmackenzie/Offline
57bcd11d499af77ed0619deeddace51ed2b0b097
[ "Apache-2.0" ]
26
2019-11-08T09:56:55.000Z
2020-09-09T17:25:33.000Z
MCDataProducts/inc/GenParticleCollection.hh
ryuwd/Offline
92957f111425910274df61dbcbd2bad76885f993
[ "Apache-2.0" ]
null
null
null
// redirection: FIXME! #include "Offline/MCDataProducts/inc/GenParticle.hh"
25.333333
52
0.789474
michaelmackenzie
11055fd55298017876da7d5cb3b5b4b77dcb6f37
229
cpp
C++
Codeforces Rating < 1300/A_Word_Capitalization.cpp
Ritu7683/Codeforces-A20J-Ladder
eb9d54c20e2ab4f5eba06379258cf932a9b2d003
[ "MIT" ]
1
2021-09-15T08:48:10.000Z
2021-09-15T08:48:10.000Z
Codeforces Rating < 1300/A_Word_Capitalization.cpp
Ritu7683/Codeforces-A20J-Ladder
eb9d54c20e2ab4f5eba06379258cf932a9b2d003
[ "MIT" ]
null
null
null
Codeforces Rating < 1300/A_Word_Capitalization.cpp
Ritu7683/Codeforces-A20J-Ladder
eb9d54c20e2ab4f5eba06379258cf932a9b2d003
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long int using namespace std; int main() { string s; cin>>s; if(s[0]>='a' && s[0]<='z') { s[0]=toupper(s[0]); cout<<s<<endl; } else { cout<<s<<endl; } return 0; }
12.722222
29
0.497817
Ritu7683
1107c31cce77f11fbb647436998ceacf4e25fb8f
54,434
cpp
C++
src/edcommon/model.cpp
GarethNelson/ares
fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e
[ "MIT" ]
null
null
null
src/edcommon/model.cpp
GarethNelson/ares
fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e
[ "MIT" ]
null
null
null
src/edcommon/model.cpp
GarethNelson/ares
fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e
[ "MIT" ]
null
null
null
/* The MIT License Copyright (c) 2011 by Jorrit Tyberghein Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
28.044307
119
0.665062
GarethNelson
11086346168afae2284634a663b83f4e9fc29531
7,930
cpp
C++
WDL/plush2/pl_read_3ds.cpp
hor-net/wdl-ol
4a88575f82c0c577b28fc3b27279456b12b187fe
[ "Zlib" ]
2
2017-12-05T04:18:55.000Z
2021-03-20T03:04:56.000Z
WDL/plush2/pl_read_3ds.cpp
Metabog/wdl-ol
bfe87d2c4297d003f2475dc22d460440e5e1b4fa
[ "Zlib" ]
null
null
null
WDL/plush2/pl_read_3ds.cpp
Metabog/wdl-ol
bfe87d2c4297d003f2475dc22d460440e5e1b4fa
[ "Zlib" ]
2
2017-04-24T12:45:33.000Z
2019-12-22T04:31:51.000Z
/****************************************************************************** Plush Version 1.2 read_3ds.c 3DS Object Reader Copyright (c) 1996-2000, Justin Frankel ******************************************************************************/ #include "plush.h" typedef struct { pl_uInt16 id; void...
22.787356
80
0.583102
hor-net
1109568803479872ecba62b53e9492f3aae3671b
38,338
cpp
C++
src/common/information_schema.cpp
tisuama/BaikalDB
22e414eaac9dd6150f61976df6c735d6e51ea3f3
[ "Apache-2.0" ]
null
null
null
src/common/information_schema.cpp
tisuama/BaikalDB
22e414eaac9dd6150f61976df6c735d6e51ea3f3
[ "Apache-2.0" ]
null
null
null
src/common/information_schema.cpp
tisuama/BaikalDB
22e414eaac9dd6150f61976df6c735d6e51ea3f3
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018-present Baidu, 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 b...
48.714104
141
0.547759
tisuama
110e0562d099679db9aaebb93c080a3f1cedebc5
10,152
cc
C++
src/Mapping.cc
MIRTK/VolumetricMapping
0c7e58204f8c278d887510b46d7ad0b96735f04f
[ "Apache-2.0" ]
1
2017-06-09T14:39:15.000Z
2017-06-09T14:39:15.000Z
src/Mapping.cc
MIRTK/VolumetricMapping
0c7e58204f8c278d887510b46d7ad0b96735f04f
[ "Apache-2.0" ]
1
2017-03-23T13:56:33.000Z
2017-03-23T17:19:22.000Z
src/Mapping.cc
MIRTK/Mapping
0c7e58204f8c278d887510b46d7ad0b96735f04f
[ "Apache-2.0" ]
2
2017-06-09T14:39:16.000Z
2019-09-25T09:08:03.000Z
/* * Medical Image Registration ToolKit (MIRTK) * * Copyright 2013-2016 Imperial College London * Copyright 2013-2016 Andreas Schuh * * 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 * ...
28.923077
94
0.495764
MIRTK
1113aebdf33f8740412e440635e3da92af2ee58e
281
cpp
C++
allMatuCommit/回文_2020040901027_20210920120011.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/回文_2020040901027_20210920120011.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/回文_2020040901027_20210920120011.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
#include <stdio.h> #define N 30 int main(void) { char a[N]; int i,j,n; gets(a); for(i=0;i<N;i++) { n=0; if(a[i]!='\0') n++; } for(j=0;j<n;j++) { if(a[j]==a[n-j-1]) printf("true"); else printf("false"); }return 0; }
12.772727
24
0.405694
BachWV
11144c8848f85cbd6d24ce08a8c6ff9ed28ecb5e
673
cpp
C++
Deitel/Chapter02/exercises/2.24/ex_224.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter02/exercises/2.24/ex_224.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter02/exercises/2.24/ex_224.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
22.433333
88
0.356612
SebastianTirado
11146beceed78a107969a3394a9839683fe5efd9
5,303
cpp
C++
test/sources/tools/match/test-optimize_mask.cpp
Kartonagnick/tools-match
ec27ca94a031e04f072f8366bde2d567c29134c8
[ "MIT" ]
null
null
null
test/sources/tools/match/test-optimize_mask.cpp
Kartonagnick/tools-match
ec27ca94a031e04f072f8366bde2d567c29134c8
[ "MIT" ]
7
2021-02-05T20:45:04.000Z
2021-03-09T15:12:14.000Z
test/sources/tools/match/test-optimize_mask.cpp
Kartonagnick/tools-match
ec27ca94a031e04f072f8366bde2d567c29134c8
[ "MIT" ]
null
null
null
// [2021y-02m-05d] Idrisov Denis R. #include <mygtest/modern.hpp> #ifdef TEST_TOOLS_MATCH_OPTIMIZE_MASK #define dTEST_COMPONENT tools, match #define dTEST_METHOD optimize_mask #define dTEST_TAG tdd #include <tools/match/optimize_mask.hpp> namespace me = ::tools; //===================================================...
29.960452
80
0.443334
Kartonagnick
1115266ea6f1ad6946315dcfd49244e9cfe17af4
1,109
hpp
C++
controller.hpp
Greentwip/PuyoPuyo
cb76c4b5861e29765050675cde0185d15aa055e6
[ "MIT" ]
null
null
null
controller.hpp
Greentwip/PuyoPuyo
cb76c4b5861e29765050675cde0185d15aa055e6
[ "MIT" ]
null
null
null
controller.hpp
Greentwip/PuyoPuyo
cb76c4b5861e29765050675cde0185d15aa055e6
[ "MIT" ]
null
null
null
#pragma once #include "sl.h" #include "defines.hpp" #include "input.hpp" class controller { public: virtual input get_input() { return input(direction::horizontal, 0, rotation::none); } }; class player_controller : public controller { virtual input get_input() override { auto key_left = slGetKey(SL_KEY_LEFT)...
20.924528
59
0.693417
Greentwip
11160972c1639127f27bf491266449eb98ff1944
5,937
cxx
C++
Rendering/OpenGL2/vtkHiddenLineRemovalPass.cxx
keithroe/vtkoptix
c5bbfa0105552af3022811a7c81efec640fb810f
[ "BSD-3-Clause" ]
null
null
null
Rendering/OpenGL2/vtkHiddenLineRemovalPass.cxx
keithroe/vtkoptix
c5bbfa0105552af3022811a7c81efec640fb810f
[ "BSD-3-Clause" ]
null
null
null
Rendering/OpenGL2/vtkHiddenLineRemovalPass.cxx
keithroe/vtkoptix
c5bbfa0105552af3022811a7c81efec640fb810f
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkHiddenLineRemovalPass.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This ...
32.442623
80
0.595419
keithroe
111793c676ad7140d1e988a74ed4cf5ffcc48d82
734
cpp
C++
libs/proto/example/hello.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
11
2015-07-12T13:04:52.000Z
2021-05-30T23:23:46.000Z
libs/proto/example/hello.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
null
null
null
libs/proto/example/hello.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
3
2015-12-23T01:51:57.000Z
2019-08-25T04:58:32.000Z
//[ HelloWorld //////////////////////////////////////////////////////////////////// // Copyright 2008 Eric Niebler. 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 <iostream> #include <boost/prot...
26.214286
69
0.589918
zyiacas
111b589bf119bbe67c7855522445a6c0bde32047
3,611
hpp
C++
src/dag/dag_block_manager.hpp
agrebin/taraxa-node
a594b01f52e727c8fc5dc87c9c325510c2a6f1cb
[ "MIT" ]
null
null
null
src/dag/dag_block_manager.hpp
agrebin/taraxa-node
a594b01f52e727c8fc5dc87c9c325510c2a6f1cb
[ "MIT" ]
7
2021-06-08T12:40:38.000Z
2021-06-16T12:11:15.000Z
src/dag/dag_block_manager.hpp
agrebin/taraxa-node
a594b01f52e727c8fc5dc87c9c325510c2a6f1cb
[ "MIT" ]
null
null
null
#pragma once #include "dag_block.hpp" #include "final_chain/final_chain.hpp" #include "transaction_manager/transaction.hpp" #include "transaction_manager/transaction_manager.hpp" #include "vdf_sortition.hpp" namespace taraxa { enum class BlockStatus { invalid, proposed, broadcasted, verified, unseen }; using BlockS...
41.505747
118
0.7635
agrebin
111cdeaa469629cd408bfcf3d07afb61a4311821
178
cpp
C++
Runic/Src/Runic/Scene/SceneManager.cpp
Swarmley/Runic-Engine
80a471728ae10e77e5370414ec45341a75df2469
[ "Apache-2.0" ]
null
null
null
Runic/Src/Runic/Scene/SceneManager.cpp
Swarmley/Runic-Engine
80a471728ae10e77e5370414ec45341a75df2469
[ "Apache-2.0" ]
null
null
null
Runic/Src/Runic/Scene/SceneManager.cpp
Swarmley/Runic-Engine
80a471728ae10e77e5370414ec45341a75df2469
[ "Apache-2.0" ]
null
null
null
#include "runicpch.h" #include "SceneManager.h" namespace Runic { Scope<SceneManager::SceneManagerData> SceneManager::s_Data = CreateScope<SceneManager::SceneManagerData>(); }
29.666667
108
0.786517
Swarmley
1120fe5c48d0ec4925a967b3fae35d5a8517ae09
8,496
cpp
C++
modules/simulator/src/VehicleDynamics/VehicleAckermann.cpp
SRai22/mvsim
0890889353c89ac0f1ad9bd6f700068ca22262f3
[ "BSD-3-Clause" ]
11
2020-07-18T03:16:25.000Z
2022-03-29T12:59:34.000Z
modules/simulator/src/VehicleDynamics/VehicleAckermann.cpp
SRai22/mvsim
0890889353c89ac0f1ad9bd6f700068ca22262f3
[ "BSD-3-Clause" ]
1
2022-01-21T07:56:43.000Z
2022-01-21T08:07:30.000Z
modules/simulator/src/VehicleDynamics/VehicleAckermann.cpp
SRai22/mvsim
0890889353c89ac0f1ad9bd6f700068ca22262f3
[ "BSD-3-Clause" ]
6
2020-06-17T02:34:28.000Z
2022-03-13T01:37:01.000Z
/*+-------------------------------------------------------------------------+ | MultiVehicle simulator (libmvsim) | | | | Copyright (C) 2014-2020 Jose Luis Blanco Claraco | | Copy...
32.551724
108
0.660546
SRai22
11247378ff3ce23ff009136e2cb6c955e16446e2
1,126
hpp
C++
src/pbrrenderer2.hpp
jpbruyere/vke
cf965d29b9092ea6b56847028dc885b67b1603e0
[ "MIT" ]
1
2018-10-17T17:28:10.000Z
2018-10-17T17:28:10.000Z
src/pbrrenderer2.hpp
jpbruyere/vke
cf965d29b9092ea6b56847028dc885b67b1603e0
[ "MIT" ]
null
null
null
src/pbrrenderer2.hpp
jpbruyere/vke
cf965d29b9092ea6b56847028dc885b67b1603e0
[ "MIT" ]
1
2021-08-11T14:13:02.000Z
2021-08-11T14:13:02.000Z
#pragma once #include "vke.hpp" #include "vkrenderer.hpp" #include "texture.hpp" #include "VulkanglTFModel.hpp" class pbrRenderer : public vke::vkRenderer { void generateBRDFLUT(); void generateCubemaps(); protected: virtual void configurePipelineLayout(); virtual void loadRessources(); virtual v...
22.078431
86
0.676732
jpbruyere
1128adeb375e43db32f68460c232c4134508ccd6
2,817
hpp
C++
irohad/ordering/impl/on_demand_os_client_grpc.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
irohad/ordering/impl/on_demand_os_client_grpc.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
irohad/ordering/impl/on_demand_os_client_grpc.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_ON_DEMAND_OS_TRANSPORT_CLIENT_GRPC_HPP #define IROHA_ON_DEMAND_OS_TRANSPORT_CLIENT_GRPC_HPP #include "ordering/on_demand_os_transport.hpp" #include "network/impl/async_grpc_client.hpp" #include "orderin...
35.2125
80
0.676251
coderintherye
112aff1d4d6f7bbdbb57fe6e5e141556be472d73
3,173
hpp
C++
include/armadillo_bits/op_sum_meat.hpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
8
2017-01-12T14:18:50.000Z
2021-02-18T14:44:33.000Z
include/armadillo_bits/op_sum_meat.hpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
1
2017-07-04T05:40:30.000Z
2017-07-04T05:43:37.000Z
include/armadillo_bits/op_sum_meat.hpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
6
2016-08-21T00:29:08.000Z
2022-01-09T08:41:33.000Z
// Copyright (C) 2008-2015 Conrad Sanderson // Copyright (C) 2008-2015 NICTA (www.nicta.com.au) // // 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/. //! \addtogroup ...
19.114458
99
0.589663
ArashMassoudieh
112c2dc9f8f72e002a965ea65ec48db3c184fd8e
5,533
cpp
C++
clb/src/v20180317/model/LbRsTargets.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
clb/src/v20180317/model/LbRsTargets.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
clb/src/v20180317/model/LbRsTargets.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
25.497696
139
0.663654
suluner
112ed45777794d1ae5d574904f83d384da51ed65
2,990
hpp
C++
AirLib/include/vehicles/plane/UFRudder.hpp
artemopolus/AirSim-1
4a741e79c0197acf3cb6f3397bc55ea1d267f8c8
[ "MIT" ]
null
null
null
AirLib/include/vehicles/plane/UFRudder.hpp
artemopolus/AirSim-1
4a741e79c0197acf3cb6f3397bc55ea1d267f8c8
[ "MIT" ]
null
null
null
AirLib/include/vehicles/plane/UFRudder.hpp
artemopolus/AirSim-1
4a741e79c0197acf3cb6f3397bc55ea1d267f8c8
[ "MIT" ]
null
null
null
#ifndef airsimcore_ufrudder_hpp #define airsimcore_ufrudder_hpp #include "UniForce.hpp" #include "UFRudderParams.hpp" namespace msr { namespace airlib { class UFRudder : public UniForce { public: UFRudder(const Vector3r& position, const Vector3r& normal, UFRudderParams::UniForceDirection turning_direction, ...
33.595506
122
0.71204
artemopolus
113035645ab7998f7dc2089bb49985b608411cf1
463
cpp
C++
Codeforces/158A - Next Round.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/158A - Next Round.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/158A - Next Round.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int n, k; cin >> n >> k; vector <int> data; for (int i = 0; i < n; i++) { int input; cin >> input; data.push_back(input); } int kth_value = data.at(k - 1), count = 0; for (int i = 0; i < data...
17.148148
54
0.464363
naimulcsx
11375d1474b937d09f081169435e7038a8ecf073
11,688
cpp
C++
moon/core/network/socket.cpp
PM5616/moon
04fe49c498caa53acb1b6a9ded76839a6c465289
[ "MIT" ]
null
null
null
moon/core/network/socket.cpp
PM5616/moon
04fe49c498caa53acb1b6a9ded76839a6c465289
[ "MIT" ]
null
null
null
moon/core/network/socket.cpp
PM5616/moon
04fe49c498caa53acb1b6a9ded76839a6c465289
[ "MIT" ]
1
2019-09-09T21:25:15.000Z
2019-09-09T21:25:15.000Z
#include "socket.h" #include "common/log.hpp" #include "common/string.hpp" #include "common/hash.hpp" #include "worker.h" #include "network/moon_connection.hpp" #include "network/custom_connection.hpp" #include "network/ws_connection.hpp" using namespace moon; socket::socket(router * r, worker* w, asio::io_context &...
28.231884
187
0.548939
PM5616
113a22f0880d64de816b0cf42ffa0668639a02b9
1,710
hpp
C++
src/share/connected_devices/details/descriptions.hpp
egelwan/Karabiner-Elements
896439dd2130904275553282063dd7fe4852e1a8
[ "Unlicense" ]
5,422
2019-10-27T17:51:04.000Z
2022-03-31T15:45:41.000Z
src/share/connected_devices/details/descriptions.hpp
XXXalice/Karabiner-Elements
52f579cbf60251cf18915bd938eb4431360b763b
[ "Unlicense" ]
1,310
2019-10-28T04:57:24.000Z
2022-03-31T04:55:37.000Z
src/share/connected_devices/details/descriptions.hpp
XXXalice/Karabiner-Elements
52f579cbf60251cf18915bd938eb4431360b763b
[ "Unlicense" ]
282
2019-10-28T02:36:04.000Z
2022-03-19T06:18:54.000Z
#pragma once #include "device_properties.hpp" #include <pqrs/json.hpp> namespace krbn { namespace connected_devices { namespace details { class descriptions { public: descriptions(void) : descriptions("", "") { } descriptions(const std::string& manufacturer, const std::string& product) : manufac...
27.580645
124
0.634503
egelwan
113f4fd6d216825e4a30be9575443514be07c4cb
887
hpp
C++
include/RED4ext/Types/generated/anim/AnimNode_BlendSpace_InternalsBlendSpacePoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/anim/AnimNode_BlendSpace_InternalsBlendSpacePoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/anim/AnimNode_BlendSpace_InternalsBlendSpacePoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/DynArray.hpp> namespace RED4ext { namespace anim { struct AnimNode_BlendSpace_InternalsBlendSpacePoint { static co...
27.71875
91
0.735062
Cyberpunk-Extended-Development-Team
114271b5c47275bf0579b389fa1c3a5a0c384cfc
460
cpp
C++
BOJ_CPP/12789.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/12789.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/12789.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; int n, board = 1, board[1001], board, t; int main() { fastio; cin >> n; for (int i = 0; i <= n; ++i) { if (i < n) { cin >> board; board[++t] = board; } ...
20.909091
63
0.428261
tnsgh9603
1143e3c9a20da3c8c480e28247b909e41e87d942
618
cpp
C++
src/BucketSort.cpp
MarutTomasz/PAMSI_Projekt_2
e8a154babd328fb18f48304021af90d6d7a79480
[ "MIT" ]
null
null
null
src/BucketSort.cpp
MarutTomasz/PAMSI_Projekt_2
e8a154babd328fb18f48304021af90d6d7a79480
[ "MIT" ]
null
null
null
src/BucketSort.cpp
MarutTomasz/PAMSI_Projekt_2
e8a154babd328fb18f48304021af90d6d7a79480
[ "MIT" ]
null
null
null
#include "BucketSort.hh" void BucketSort(Element Tablica[], long int pierwszy_element, long int ostatni_element) { Kubel Wiadro[11]; // stwórz tablice kubłów long int k = 0; // zmienna pomocnicza do obsługi tablicy for(long int i = pierwszy_element; i <= ostatni_element; i++) // Powtarzaj dla całej tablicy ...
44.142857
95
0.68932
MarutTomasz
1143e5133ef4efc20855683f857ea2bfb104721d
17,704
cpp
C++
Source/ResourceAnimator.cpp
JellyBitStudios/JellyBitEngine
4b975a50bb1934dfdbdf72e0c96c53a713e6cfa4
[ "MIT" ]
10
2019-02-05T07:57:21.000Z
2021-10-17T13:44:31.000Z
Source/ResourceAnimator.cpp
JellyBitStudios/JellyBitEngine
4b975a50bb1934dfdbdf72e0c96c53a713e6cfa4
[ "MIT" ]
178
2019-02-26T17:29:08.000Z
2019-06-05T10:55:42.000Z
Source/ResourceAnimator.cpp
JellyBitStudios/JellyBitEngine
4b975a50bb1934dfdbdf72e0c96c53a713e6cfa4
[ "MIT" ]
2
2020-02-27T18:57:27.000Z
2020-05-28T01:19:59.000Z
#include "ResourceAnimator.h" #include "imgui/imgui.h" #include "ModuleScene.h" #include "ModuleFileSystem.h" #include "Application.h" #include "Optick/include/optick.h" #include "ModuleTimeManager.h" #include "Application.h" #include "ResourceAvatar.h" #include "ModuleResourceManager.h" #include <assert.h> ResourceA...
23.859838
179
0.702666
JellyBitStudios
1146228624a8b8b9ab69bc02861e03c67580ec60
200
hpp
C++
Control_movement/chassis/Projects/RmBoardA/Src/IspImp.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-31T09:27:00.000Z
2021-12-31T09:27:00.000Z
Control_movement/chassis/Projects/RmBoardA/Src/IspImp.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
null
null
null
Control_movement/chassis/Projects/RmBoardA/Src/IspImp.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-22T03:34:04.000Z
2021-12-22T03:34:04.000Z
#ifndef ISP_IMP_HPP #define ISP_IMP_HPP #include "stm32f4xx.h" extern "C" void CAN1_RX0_IRQHandler(void); extern "C" void CAN2_RX0_IRQHandler(void); extern "C" void USART6_IRQHandler(void); #endif
18.181818
42
0.78
PhilosopheAM
114680078d851d23f4ce09c036e0378d9c0da4e0
830
cpp
C++
VRDemoHelper/VRDemoHotKeyManager.cpp
sunzhuoshi/SteamVRDemoHelper
536280f1e5df5e4bdb85fca3460353e0f19cf43d
[ "MIT" ]
null
null
null
VRDemoHelper/VRDemoHotKeyManager.cpp
sunzhuoshi/SteamVRDemoHelper
536280f1e5df5e4bdb85fca3460353e0f19cf43d
[ "MIT" ]
null
null
null
VRDemoHelper/VRDemoHotKeyManager.cpp
sunzhuoshi/SteamVRDemoHelper
536280f1e5df5e4bdb85fca3460353e0f19cf43d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "VRDemoHotKeyManager.h" #include "util\l4util.h" #include "VRDemoConfigurator.h" #include "VRDemoTogglesWrapper.h" const std::string VRDemoHotKeyManager::HOT_KEY_PAUSE = "HotKeyPause"; VRDemoHotKeyManager::VRDemoHotKeyManager() { } VRDemoHotKeyManager::~VRDemoHotKeyManager() { } void ...
24.411765
113
0.701205
sunzhuoshi
114847aae9ce44d97ea043bd5ae07da63ae2c1b7
2,961
cpp
C++
2/main.cpp
j00st/cpse2
f541d9097d1db064974d71f816cf49ecae30c6f8
[ "MIT" ]
null
null
null
2/main.cpp
j00st/cpse2
f541d9097d1db064974d71f816cf49ecae30c6f8
[ "MIT" ]
null
null
null
2/main.cpp
j00st/cpse2
f541d9097d1db064974d71f816cf49ecae30c6f8
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include <SFML/Graphics.hpp> #include "ball.hpp" #include "entity.hpp" #include "character.hpp" #include "wall.hpp" class action { private: std::function< bool() > condition; std::function< void() > work; public: action( std::function< bool() > condition, std::func...
26.918182
120
0.61128
j00st
114a1391f6b8559b98560049e7c9e2fac7147cf0
5,737
hpp
C++
src/Players/MCTS/MCTS.hpp
ClubieDong/BoardGameAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
2
2021-05-26T07:17:24.000Z
2021-05-26T07:21:16.000Z
src/Players/MCTS/MCTS.hpp
ClubieDong/ChessAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
null
null
null
src/Players/MCTS/MCTS.hpp
ClubieDong/ChessAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <memory> #include <cmath> #include <cassert> #include <set> #include <chrono> #include <random> #include <ratio> #include <type_traits> #include "../RandomPlayer/RandomPlayer.hpp" template <typename Game, typename ActGen, unsigned int Iterations, typename Ratio = std::ratio<14,...
34.769697
117
0.495381
ClubieDong
11540f3b5fc42fa35160a78cfafa58bc64951b83
480
cpp
C++
Phi Sieve.cpp
ArniRahman/Number-Theory
49ca663e8f425c4def53447fd9ad723b7096340a
[ "MIT" ]
null
null
null
Phi Sieve.cpp
ArniRahman/Number-Theory
49ca663e8f425c4def53447fd9ad723b7096340a
[ "MIT" ]
null
null
null
Phi Sieve.cpp
ArniRahman/Number-Theory
49ca663e8f425c4def53447fd9ad723b7096340a
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int phi[100000]; void phiSieve(int n) { for(int i=1; i<=n;i++) phi[i] = i; for(int i=2; i<=n; i++ ) { if(phi[i]==i) { phi[i] = i-1; for(int j= 2*i;j<=n;j+=i) { phi[j] = (phi[j]/i)*(i...
12.307692
42
0.35625
ArniRahman
115d84c1a5bfedf18d8d57a2759c260166164eb3
4,375
cpp
C++
ui/src/efxpreviewarea.cpp
hawesy/qlcplus
1702f03144fe210611881f15424a535febae0c6a
[ "ECL-2.0", "Apache-2.0" ]
478
2015-01-20T14:51:17.000Z
2022-03-31T06:56:05.000Z
ui/src/efxpreviewarea.cpp
hjtappe/qlcplus
b5537fa11d419d148eca5cb1321ee98d3dc5047b
[ "ECL-2.0", "Apache-2.0" ]
711
2015-01-05T06:50:06.000Z
2022-03-06T20:31:07.000Z
ui/src/efxpreviewarea.cpp
hjtappe/qlcplus
b5537fa11d419d148eca5cb1321ee98d3dc5047b
[ "ECL-2.0", "Apache-2.0" ]
386
2015-01-07T15:36:59.000Z
2022-03-31T06:56:07.000Z
/* Q Light Controller efxpreviewarea.cpp Copyright (c) Heikki Junnila 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.txt Unless req...
24.717514
100
0.648229
hawesy
11618e2e68b188bf2607133d4de66fdbe614ed12
20,505
cpp
C++
src/xercesc/dom/deprecated/AttrImpl.cpp
allianz-pmichel/xerces-c-src_2_8_0
7e62f6c653944894a34ee41581e6d7d66e3387dd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/dom/deprecated/AttrImpl.cpp
allianz-pmichel/xerces-c-src_2_8_0
7e62f6c653944894a34ee41581e6d7d66e3387dd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/dom/deprecated/AttrImpl.cpp
allianz-pmichel/xerces-c-src_2_8_0
7e62f6c653944894a34ee41581e6d7d66e3387dd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * 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 may ...
29.588745
88
0.59566
allianz-pmichel
1162b0b99d357373a0a203e44e98a5d92306ef6d
2,356
cpp
C++
EU4toV2/Source/EU4World/Leader/EU4Leader.cpp
GregB76/EU4toVic2
0a8822101a36a16036fdc315e706d113d9231101
[ "MIT" ]
1
2020-04-22T03:09:51.000Z
2020-04-22T03:09:51.000Z
EU4toV2/Source/EU4World/Leader/EU4Leader.cpp
fessi1202/EU4toVic2
1f4cce609e495f8b4e00580a12ab4a29b304902f
[ "MIT" ]
null
null
null
EU4toV2/Source/EU4World/Leader/EU4Leader.cpp
fessi1202/EU4toVic2
1f4cce609e495f8b4e00580a12ab4a29b304902f
[ "MIT" ]
null
null
null
#include "EU4Leader.h" #include "../ID.h" #include "Log.h" #include "ParserHelpers.h" EU4::Leader::Leader(std::istream& theStream) { registerKeyword("name", [this](const std::string& unused, std::istream& theStream) { const commonItems::singleString nameString(theStream); name = nameString.getString(); }); ...
32.722222
89
0.699491
GregB76
1162e73158b027001d8203ff72fcde43dca72208
2,885
cpp
C++
libcaf_core/src/tracing_data.cpp
dosuperuser/actor-framework
bee96d84bbc95414df5084b2d65f4886ba731558
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/src/tracing_data.cpp
dosuperuser/actor-framework
bee96d84bbc95414df5084b2d65f4886ba731558
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/src/tracing_data.cpp
dosuperuser/actor-framework
bee96d84bbc95414df5084b2d65f4886ba731558
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
32.41573
80
0.49636
dosuperuser
116526500659c13d6366b6db5a045c780a51a3a6
3,896
hpp
C++
samples/sampleslib/window.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
1
2018-03-01T01:05:25.000Z
2018-03-01T01:05:25.000Z
samples/sampleslib/window.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
samples/sampleslib/window.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
#ifndef SAMPLES_LIB_WINDOW_H #define SAMPLES_LIB_WINDOW_H #include <framework/framework.hpp> namespace sampleslib { template<vg::SpaceType type> struct SpaceObjectInfo { using SceneType = void; using CameraType = void; }; template<> struct SpaceObjectInfo<vg::SpaceType::SPACE_...
29.074627
90
0.62808
YiJiangFengYun
11670232f86b94910304e9683dd1f2d7ebafda9d
229,759
cpp
C++
GBAemu/cpu/arm.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
1
2021-03-04T03:52:39.000Z
2021-03-04T03:52:39.000Z
GBAemu/cpu/arm.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
null
null
null
GBAemu/cpu/arm.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
null
null
null
#include <GBAemu/cpu/hostInstructions.h> #include <GBAemu/cpu/cpu.h> #include <GBAemu/cpu/armException.h> #include <GBAemu/gba.h> #include <GBAemu/util/log.h> #include <GBAemu/defines.h> #include <GBAemu/util/preprocessor.h> // 001xxxxxxxxx uint32_t Cpu::GetShifterOperandImm(uint32_t instruction) { uint32_t operand ...
32.419783
103
0.640841
robojan
1168e453db2ad86a204d3f15c0361243ed0625f7
295
cpp
C++
src/rendering/records/SlideGpuRecord.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/rendering/records/SlideGpuRecord.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/rendering/records/SlideGpuRecord.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
#include "rendering/records/SlideGpuRecord.h" #include "rendering/utility/gl/GLTexture.h" SlideGpuRecord::SlideGpuRecord( std::shared_ptr<GLTexture> texture ) : m_texture( texture ), m_activeLevel( 0 ) { } std::weak_ptr<GLTexture> SlideGpuRecord::texture() { return m_texture; }
21.071429
68
0.732203
halfmvsq
116b40834155c6244b5bad09a34b0915491a81bc
145,952
cpp
C++
src/generator/x86_64/reg_alloc_multi.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
2
2022-03-28T07:43:02.000Z
2022-03-30T11:53:25.000Z
src/generator/x86_64/reg_alloc_multi.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
null
null
null
src/generator/x86_64/reg_alloc_multi.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
2
2022-03-30T10:39:04.000Z
2022-03-30T11:53:28.000Z
#include "generator/x86_64/generator.h" #include <iostream> #include <sstream> using namespace generator::x86_64; namespace { std::array<std::array<const char *, 4>, REG_COUNT> reg_names = { std::array<const char *, 4>{"rax", "eax", "ax", "al"}, {"rbx", "ebx", "bx", "bl"}, {"rcx", "ecx", "cx", "cl"}, ...
46.128951
195
0.521274
ERAP-SBT
116c13a620794960c5b365297a95697cef1ac28a
5,905
cpp
C++
3dparty/taglib/tests/test_aiff.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
3,066
2016-06-10T09:23:40.000Z
2022-03-31T11:01:01.000Z
3dparty/taglib/tests/test_aiff.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
414
2016-09-20T20:26:05.000Z
2022-03-29T00:43:13.000Z
3dparty/taglib/tests/test_aiff.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
310
2016-06-13T21:53:04.000Z
2022-03-18T14:36:38.000Z
/*************************************************************************** copyright : (C) 2009 by Lukas Lalinsky email : lukas@oxygene.sk ***************************************************************************/ /*******************************************************************...
36.226994
98
0.598476
olanser
116f0d43144b6d728b73d8568444fff9379e5988
15,563
cpp
C++
library/bubble/bubble_border.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
39
2019-06-22T12:25:54.000Z
2022-03-14T05:42:44.000Z
library/bubble/bubble_border.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
5
2019-06-29T10:58:43.000Z
2020-09-04T08:44:09.000Z
library/bubble/bubble_border.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
10
2019-08-07T06:08:23.000Z
2022-03-14T05:42:47.000Z
 #include "bubble_border.h" #include "base/logging.h" #include "SkBitmap.h" #include "ui_gfx/canvas_skia.h" #include "ui_gfx/path.h" #include "ui_gfx/rect.h" #include "ui_base/resource/resource_bundle.h" #include "view/view.h" #include "../../resource/resource.h" // static SkBitmap* BubbleBorder::left_ = NULL; ...
32.558577
86
0.586841
topillar
116f9457a86da21a7f2fab19654a4b143e44117b
2,654
cpp
C++
src/formats/pdb.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
7
2020-05-19T15:14:15.000Z
2022-03-03T06:38:09.000Z
src/formats/pdb.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
10
2021-03-04T21:38:49.000Z
2022-02-11T07:11:19.000Z
src/formats/pdb.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
5
2021-03-05T00:42:41.000Z
2021-07-01T05:47:39.000Z
// // Created by krab1k on 24.1.19. // #include <vector> #include <fmt/format.h> #include <gemmi/pdb.hpp> #include "chargefw2.h" #include "../config.h" #include "pdb.h" #include "common.h" #include "bonds.h" #include "../periodic_table.h" MoleculeSet PDB::read_file(const std::string &filename) { gemmi::Structur...
33.175
124
0.536549
danny305
117344447aed3b85948f68d21f921c79c258bb8a
470
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/align/detail/assume_aligned_gcc.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
ReactNativeFrontend/ios/Pods/boost/boost/align/detail/assume_aligned_gcc.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
ReactNativeFrontend/ios/Pods/boost/boost/align/detail/assume_aligned_gcc.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* Copyright 2015 NumScale SAS Copyright 2015 LRI UMR 8623 CNRS/University Paris Sud XI Copyright 2015 Glen Joseph Fernandes (glenjofe@gmail.com) Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_GCC_HPP #define BOOST_ALIGN_D...
26.111111
68
0.804255
Harshitha91
1176a84637af5773c0babc8ec2b6f993371e3b41
15,820
cpp
C++
frdm_im920c_rcv_coide_kl25z/frdm_im920c_rcv/main.cpp
bigw00d/TrapChecker
9b36f7fef86928d196637ca958fadcacadb6cf50
[ "Apache-2.0" ]
null
null
null
frdm_im920c_rcv_coide_kl25z/frdm_im920c_rcv/main.cpp
bigw00d/TrapChecker
9b36f7fef86928d196637ca958fadcacadb6cf50
[ "Apache-2.0" ]
null
null
null
frdm_im920c_rcv_coide_kl25z/frdm_im920c_rcv/main.cpp
bigw00d/TrapChecker
9b36f7fef86928d196637ca958fadcacadb6cf50
[ "Apache-2.0" ]
null
null
null
#include "mbed.h" #define MYDEBUG #define COMPLETE 1 #define INCOMPLETE 0 #define END_OF_PACKET '\n' #define SIZE_OF_SEND_PACKET 16 #define CHECK_CHUTTER_US 500000 #define ALERT_CYCLE_SEC 1 #define ARERT_MAX_CNT 60 #define CHECK_CONNECT_SEC 2 #define BUZZER_ON 1 #define BUZZER_OFF 0 #define SW_LED_ON 1 #define S...
26.27907
96
0.467826
bigw00d
1176b2596f2b6d1527e009db7ea27ca5cd96cc89
5,877
cc
C++
packages/@lse/core/addon/lse-core/lse/TextSceneNode.cc
lightsourceengine/LightSourceEngine
bc2d0cc08907f65a900d924d1a0ab19164171cb5
[ "Apache-2.0" ]
null
null
null
packages/@lse/core/addon/lse-core/lse/TextSceneNode.cc
lightsourceengine/LightSourceEngine
bc2d0cc08907f65a900d924d1a0ab19164171cb5
[ "Apache-2.0" ]
5
2020-07-23T01:09:07.000Z
2020-09-09T05:32:29.000Z
packages/@lse/core/addon/lse-core/lse/TextSceneNode.cc
lightsourceengine/LightSourceEngine
bc2d0cc08907f65a900d924d1a0ab19164171cb5
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Light Source Software, LLC. 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 re...
26.958716
118
0.68181
lightsourceengine
117eb1c55dd42e32b61a599b60b3a8c9c239adc5
2,850
cpp
C++
trunk/libs/angsys/source/value/boolean.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
trunk/libs/angsys/source/value/boolean.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
trunk/libs/angsys/source/value/boolean.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include <angsys.h> using namespace ang; #define MY_TYPE ang::variable<bool> #include "ang/inline/object_wrapper_specialization.inl" #undef MY_TYPE static collections::pair<castr_t, bool> s_boolean_parsing_map[] = { { "FALSE"_sv, false }, { "False"_sv, false }, { "HIGH"_sv, true }, { "High"_sv, ...
20.80292
90
0.641754
ChuyX3
11802b5c8fb08dfd814d4deb2a3d48d258bcdb8c
3,986
cpp
C++
src/CheckBox.cpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
src/CheckBox.cpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
src/CheckBox.cpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009, Robin RUAUX All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of ...
32.145161
87
0.585549
MStr3am
1182aae321619cac6684da397f96b049b85f163c
1,953
cpp
C++
aslam_splines_python/src/QuadraticIntegralError.cpp
Curium-sg/aslam_splines
d2c8c69d28d2f742b1d96a6a4e43a5c5112497af
[ "BSD-3-Clause" ]
null
null
null
aslam_splines_python/src/QuadraticIntegralError.cpp
Curium-sg/aslam_splines
d2c8c69d28d2f742b1d96a6a4e43a5c5112497af
[ "BSD-3-Clause" ]
null
null
null
aslam_splines_python/src/QuadraticIntegralError.cpp
Curium-sg/aslam_splines
d2c8c69d28d2f742b1d96a6a4e43a5c5112497af
[ "BSD-3-Clause" ]
null
null
null
/* * QuadraticIntegralErrorTerm.cpp * * Created on: Dec 4, 2013 * Author: hannes */ #include <sstream> #include <boost/python.hpp> #include <numpy_eigen/boost_python_headers.hpp> #include <Eigen/Core> #include <aslam/backend/QuadraticIntegralError.hpp> using namespace boost::python; template <int dim, ty...
31.5
224
0.760881
Curium-sg
118c65525d22b302d8badb189bc39e171ea277d6
4,784
cpp
C++
world.cpp
rob05c/cppmud
2fc4cda4373d273fab49dd23975e278fa39ca28d
[ "MIT" ]
null
null
null
world.cpp
rob05c/cppmud
2fc4cda4373d273fab49dd23975e278fa39ca28d
[ "MIT" ]
null
null
null
world.cpp
rob05c/cppmud
2fc4cda4373d273fab49dd23975e278fa39ca28d
[ "MIT" ]
null
null
null
#include <atomic> #include <algorithm> #include <thread> #include <chrono> #include "world.hpp" #include "util.hpp" #include "player.hpp" #include "dir.hpp" #include "room.hpp" #include "object.hpp" World::World() { this->self = std::shared_ptr<World>(this); this->startActorThread(); } World::~World() { this->dest...
29.170732
124
0.709448
rob05c
1192580c35b8ba8a70cae37da2a7adeb26e3a1d5
510
hpp
C++
include/mppic/optimization/MotionModel.hpp
SteveMacenski/mppic
539d78a41777afba0d9a2195b6076a9167ed27a2
[ "MIT" ]
null
null
null
include/mppic/optimization/MotionModel.hpp
SteveMacenski/mppic
539d78a41777afba0d9a2195b6076a9167ed27a2
[ "MIT" ]
null
null
null
include/mppic/optimization/MotionModel.hpp
SteveMacenski/mppic
539d78a41777afba0d9a2195b6076a9167ed27a2
[ "MIT" ]
1
2022-03-27T01:44:43.000Z
2022-03-27T01:44:43.000Z
#pragma once #include <cstdint> #include <string> #include <unordered_map> namespace mppi::optimization { enum class MotionModel : uint8_t { Omni, DiffDrive, Carlike }; inline bool isHolonomic(MotionModel motion_model) { return (motion_model == MotionModel::Omni) ? true : false; } const inline std::unordered_map...
25.5
100
0.739216
SteveMacenski
119a8990fd825c7102acd6c0e0c1397ebc5bd533
4,118
cpp
C++
import/tests/gamma_by_eye.cpp
HosokawaKenchi/PsychlopsJS
3209442e6dbda57dbdf5e0ed6ffefc55972fb8fb
[ "MIT" ]
null
null
null
import/tests/gamma_by_eye.cpp
HosokawaKenchi/PsychlopsJS
3209442e6dbda57dbdf5e0ed6ffefc55972fb8fb
[ "MIT" ]
3
2020-06-06T04:16:06.000Z
2020-07-24T07:36:06.000Z
import/tests/gamma_by_eye.cpp
psychlopsdev/PsychlopsJS
3209442e6dbda57dbdf5e0ed6ffefc55972fb8fb
[ "MIT" ]
1
2018-12-17T04:59:11.000Z
2018-12-17T04:59:11.000Z
#include <psychlops.h> using namespace Psychlops; double estimated_gamma = 0; double gamma_step = 8.0; var estimate_gamma = function(colorlevel) { estimated_gamma = 0; gamma_step = 8.0; while (0.0001<gamma_step) { while (0<pow(colorlevel, estimated_gamma) - 0.5) { estimated_gamma += gamma_step; }...
27.453333
84
0.616076
HosokawaKenchi