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
a00293545a9fb8ed884163cac2906093759d1645
4,969
cc
C++
libs/jsRuntime/src/CppBridge/V8NativeObject.cc
v8App/v8App
96c5278ae9078d508537f2e801b9ba0272ab1168
[ "MIT" ]
null
null
null
libs/jsRuntime/src/CppBridge/V8NativeObject.cc
v8App/v8App
96c5278ae9078d508537f2e801b9ba0272ab1168
[ "MIT" ]
null
null
null
libs/jsRuntime/src/CppBridge/V8NativeObject.cc
v8App/v8App
96c5278ae9078d508537f2e801b9ba0272ab1168
[ "MIT" ]
null
null
null
// Copyright 2020 The v8App Authors. All rights reserved. // Use of this source code is governed by a MIT license that can be // found in the LICENSE file. #include "CppBridge/V8NativeObject.h" #include "CppBridge/V8ObjectTemplateBuilder.h" namespace v8App { namespace JSRuntime { namespace CppBridge ...
37.643939
139
0.546388
v8App
a0037d69dffd17fb983fcbb45ab1fdc85f09292b
827
cpp
C++
serverapp/src/db/SystemPlan.cpp
mjgerdes/cg
be378b140df7d7e9bd16512a1d9a54d3439b03f7
[ "MIT" ]
null
null
null
serverapp/src/db/SystemPlan.cpp
mjgerdes/cg
be378b140df7d7e9bd16512a1d9a54d3439b03f7
[ "MIT" ]
null
null
null
serverapp/src/db/SystemPlan.cpp
mjgerdes/cg
be378b140df7d7e9bd16512a1d9a54d3439b03f7
[ "MIT" ]
null
null
null
#include "SystemPlan.hpp" #include "SystemProvider.hpp" #include "CardProvider.hpp" using namespace db; SystemPlan::SystemPlan() : m_systemId(data::SystemData::universal), m_cards() {} SystemPlan::SystemPlan(const System& system) : m_systemId(system.id()), m_cards() { fillCards(system); } void SystemPlan::fillC...
27.566667
80
0.697703
mjgerdes
a006086cc4e575c937f9df394afc6c76d7b60e8b
3,603
cpp
C++
test/training_data/plag_original_codes/abc070_d_7677426_229_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/abc070_d_7677426_229_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/abc070_d_7677426_229_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
/* 引用元:https://atcoder.jp/contests/abc070/tasks/abc070_d D - Transit Tree PathEditorial // ソースコードの引用元 : https://atcoder.jp/contests/abc070/submissions/7677426 // 提出ID : 7677426 // 問題ID : abc070_d // コンテストID : abc070 // ユーザID : xryuseix // コード長 : 3404 // 実行時間 : 232 */ #include <iostream> #include <cstdio> #include <a...
21.070175
70
0.541216
xryuseix
a00ad16a9c56394bfeb58832cc16f4bbf7192940
179
cpp
C++
avs_dx/DxVisualsShaders/dummy.cpp
Const-me/vis_avs_dx
da1fd9f4323d7891dea233147e6ae16790ad9ada
[ "MIT" ]
33
2019-01-28T03:32:17.000Z
2022-02-12T18:17:26.000Z
avs_dx/DxVisualsShaders/dummy.cpp
visbot/vis_avs_dx
03e55f8932a97ad845ff223d3602ff2300c3d1d4
[ "MIT" ]
2
2019-11-18T17:54:58.000Z
2020-07-21T18:11:21.000Z
avs_dx/DxVisualsShaders/dummy.cpp
Const-me/vis_avs_dx
da1fd9f4323d7891dea233147e6ae16790ad9ada
[ "MIT" ]
5
2019-02-16T23:00:11.000Z
2022-03-27T15:22:10.000Z
// A dummy function to make linker happy. This project doesn't contain any C++ code, it's workaround for the build system to compile HLSL shaders. void dxVisualsShadersDummy() { }
89.5
146
0.77095
Const-me
a0173ef17d8c9b06cfdb019689f2eb2661e49b6f
807
cc
C++
Tests/KinematicLineFit_unit.cc
orionning676/KinKal
689ec932155b7fe31d46c398bcb78bcac93581d7
[ "Apache-1.1" ]
2
2020-04-21T18:24:55.000Z
2020-09-24T19:01:47.000Z
Tests/KinematicLineFit_unit.cc
orionning676/KinKal
689ec932155b7fe31d46c398bcb78bcac93581d7
[ "Apache-1.1" ]
45
2020-03-16T18:27:59.000Z
2022-01-13T05:18:35.000Z
Tests/KinematicLineFit_unit.cc
orionning676/KinKal
689ec932155b7fe31d46c398bcb78bcac93581d7
[ "Apache-1.1" ]
15
2020-02-21T01:10:49.000Z
2022-03-24T12:13:35.000Z
/* Original Author: S Middleton 2020 */ #include "KinKal/Trajectory/KinematicLine.hh" #include "KinKal/Tests/FitTest.hh" int main(int argc, char *argv[]){ KinKal::DVEC sigmas(0.5, 0.004, 0.5, 0.002, 0.4, 0.05); // expected parameter sigmas if(argc == 1){ cout << "Adding momentum constraint" << endl; std...
32.28
86
0.665428
orionning676
a0174acc6305ac4def91ae9040c200768e5cf6db
630
cpp
C++
dotNetInstallerLib/Schema.cpp
baSSiLL/dotnetinstaller
2a983649553cd322f674fe06685f0c1d47f638b2
[ "MIT" ]
null
null
null
dotNetInstallerLib/Schema.cpp
baSSiLL/dotnetinstaller
2a983649553cd322f674fe06685f0c1d47f638b2
[ "MIT" ]
null
null
null
dotNetInstallerLib/Schema.cpp
baSSiLL/dotnetinstaller
2a983649553cd322f674fe06685f0c1d47f638b2
[ "MIT" ]
1
2020-04-30T10:25:58.000Z
2020-04-30T10:25:58.000Z
#include "StdAfx.h" #include "Schema.h" #include "InstallerLog.h" Schema::Schema() : generator(L"dotNetInstaller InstallerEditor") , version(L"1") { } void Schema::Load(TiXmlElement * node) { CHECK_BOOL(node != NULL, L"Expected 'schema' node"); CHECK_BOOL(0 == strcmp(node->Value(), "schema"), ...
25.2
85
0.653968
baSSiLL
a01903a488a67c23fda4047cd668a16ad59506b9
7,238
hpp
C++
xvm/xvm.hpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
15
2018-11-10T11:30:09.000Z
2022-02-28T06:00:57.000Z
xvm/xvm.hpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
null
null
null
xvm/xvm.hpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
10
2019-06-19T03:33:53.000Z
2021-08-20T01:24:42.000Z
#ifndef __XSCRIPT_XVM_HPP__ #define __XSCRIPT_XVM_HPP__ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <stdarg.h> #include <time.h> #include <ctype.h> #include <assert.h> #include <vector> #include "xvm_interface.hpp" #include "../common/instruction.hpp"...
28.952
106
0.668002
kiven-li
a01de795ae2657ed39ae4096188e7469caf791cd
9,362
hpp
C++
kernel/src/dispatch_syscall_callback_op.hpp
kangdazhi/hypervisor
95848672b1b2907f37f91343ae139d1bbd858b9d
[ "MIT" ]
null
null
null
kernel/src/dispatch_syscall_callback_op.hpp
kangdazhi/hypervisor
95848672b1b2907f37f91343ae139d1bbd858b9d
[ "MIT" ]
null
null
null
kernel/src/dispatch_syscall_callback_op.hpp
kangdazhi/hypervisor
95848672b1b2907f37f91343ae139d1bbd858b9d
[ "MIT" ]
null
null
null
/// @copyright /// Copyright (C) 2020 Assured Information Security, Inc. /// /// @copyright /// 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 limita...
40.528139
97
0.508118
kangdazhi
a022ac19edb278e205ce512be3d327b5683c5499
3,060
cpp
C++
examples/mongocxx/document_validation.cpp
CURG-old/mongo-cxx-driver
06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8
[ "Apache-2.0" ]
null
null
null
examples/mongocxx/document_validation.cpp
CURG-old/mongo-cxx-driver
06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8
[ "Apache-2.0" ]
null
null
null
examples/mongocxx/document_validation.cpp
CURG-old/mongo-cxx-driver
06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8
[ "Apache-2.0" ]
1
2021-06-18T05:00:10.000Z
2021-06-18T05:00:10.000Z
// Copyright 2016 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...
34
92
0.643137
CURG-old
a0248e1851cfb8395910016eba296900989e99b4
1,917
cpp
C++
17. Game_Routes.cpp
Anksus/CSES-Graph-solutions
6e9ce06abb8a3f5c8a9824add8dd8f31b7cf219c
[ "MIT" ]
null
null
null
17. Game_Routes.cpp
Anksus/CSES-Graph-solutions
6e9ce06abb8a3f5c8a9824add8dd8f31b7cf219c
[ "MIT" ]
null
null
null
17. Game_Routes.cpp
Anksus/CSES-Graph-solutions
6e9ce06abb8a3f5c8a9824add8dd8f31b7cf219c
[ "MIT" ]
null
null
null
// While recurring to the destination node, we set all the nodes to 0. // but the last one to 1 and getting this values pass to all the routes back, // so that they can be collected back at 1st node. // act[mxN] is for detecting cycle, just a bellman ford stuff. // There are 2 approach to solve this problem (accord...
23.378049
77
0.573292
Anksus
a028105f6e3e6e5d7a78a3bd808b5bc8619bff86
1,249
inl
C++
ZEngine/include/zengine/Debug/Assert.inl
AarnoldGad/ZucchiniEngine
cb27d2a534a3f21ec59eaa116f052a169a811c06
[ "Zlib" ]
1
2020-12-04T17:56:22.000Z
2020-12-04T17:56:22.000Z
ZEngine/include/zengine/Debug/Assert.inl
AarnoldGad/ZEngine
cb27d2a534a3f21ec59eaa116f052a169a811c06
[ "Zlib" ]
1
2022-02-02T23:24:34.000Z
2022-02-02T23:24:34.000Z
ZEngine/include/zengine/Debug/Assert.inl
AarnoldGad/ZucchiniEngine
cb27d2a534a3f21ec59eaa116f052a169a811c06
[ "Zlib" ]
null
null
null
#include <zengine/Memory/New.hpp> // Inspired by https://www.foonathan.net/2016/09/assertions/ [[noreturn]] inline void ze::AssertHandler::handle(SourceLocation const& location, char const* expression, char const* message) noexcept { LOG_TRACE(location.file, "::", location.function, " (", location.line, ") : Asser...
46.259259
169
0.698959
AarnoldGad
a02f68e17ca378ce63bfbdc9931fb683cd610aa4
1,950
cpp
C++
engine/source/wide/ui/property/basic/ui_property_image.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/wide/ui/property/basic/ui_property_image.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/wide/ui/property/basic/ui_property_image.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------------------------// /// @file wide/ui/property/basic/ui_property_image.cpp //------------------------------------------------------------------------------------------------// //-INCLUDES---------------------------------------------------...
36.111111
100
0.372308
skarab
a036b667983dbdbeaca972ec404cf0132a4ea5a3
3,348
cpp
C++
game/source/Behaviour/SplashProjectile.cpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
3
2015-04-25T22:57:58.000Z
2019-11-05T18:36:31.000Z
game/source/Behaviour/SplashProjectile.cpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
1
2016-06-23T15:22:41.000Z
2016-06-23T15:22:41.000Z
game/source/Behaviour/SplashProjectile.cpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
null
null
null
#include "Behaviour/SplashProjectile.hpp" #include <Engine/Audio.hpp> #include <Engine/Event/CreateGameObjectEvent.hpp> #include <Engine/Event/DestroyGameObjectEvent.hpp> #include "ExplosionFactory.hpp" #include "Attribute/Tags.hpp" #include "Event/InflictDamageEvent.hpp" namespace Behaviour { SplashProjectile::Sp...
33.818182
110
0.744325
kermado
a0406ccdce644546f2185d212f0c2f34a8cf96ba
354
hpp
C++
src/communication.hpp
linyinfeng/n-body
e40c859689d76a3f36cd08e072d7ee24685e8be4
[ "MIT" ]
1
2021-11-28T15:13:06.000Z
2021-11-28T15:13:06.000Z
src/communication.hpp
linyinfeng/n-body
e40c859689d76a3f36cd08e072d7ee24685e8be4
[ "MIT" ]
null
null
null
src/communication.hpp
linyinfeng/n-body
e40c859689d76a3f36cd08e072d7ee24685e8be4
[ "MIT" ]
1
2019-11-10T14:01:55.000Z
2019-11-10T14:01:55.000Z
#ifndef N_BODY_COMMUNICATION_HPP #define N_BODY_COMMUNICATION_HPP #include <boost/mpi.hpp> #include <cstddef> namespace n_body::communication { struct Division { std::size_t count; std::size_t begin; std::size_t end; explicit Division(const boost::mpi::communicator &comm, std::size_t total); }; } // namesp...
17.7
77
0.751412
linyinfeng
a04221971486748c6703dd6b1138f6b3e6465e7b
4,217
cpp
C++
src/interpreter.cpp
nirvanasupermind/pocketlisp
2a4b5aca245c547d88f581fefd89cca5473d8a1f
[ "MIT" ]
1
2022-03-18T18:43:04.000Z
2022-03-18T18:43:04.000Z
src/interpreter.cpp
nirvanasupermind/pocketlisp
2a4b5aca245c547d88f581fefd89cca5473d8a1f
[ "MIT" ]
null
null
null
src/interpreter.cpp
nirvanasupermind/pocketlisp
2a4b5aca245c547d88f581fefd89cca5473d8a1f
[ "MIT" ]
null
null
null
#include "./parser.cpp" #include "./scopes.cpp" #include "./utils.cpp" namespace lispy { class Interpreter { public: std::string file; Interpreter(std::string file) { this->file = file; } Value visit(Node node, Scope *scope) { std::c...
31.007353
121
0.417595
nirvanasupermind
a043887263fac9b983f96da13c7c3292e444f870
257
cpp
C++
3.Stacks and Queues/Queue_STL.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
3.Stacks and Queues/Queue_STL.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
3.Stacks and Queues/Queue_STL.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
#include<iostream> #include<queue> using namespace std; int main() { queue<int> q; for(int i=0; i<5; i++){ q.push(i); } while(!q.empty()){ cout<<q.front()<<" <-"; q.pop(); } return 0; }
12.85
32
0.424125
suraj0803
a04992790c1b99c1b77e7f32a3d8c02b1009cae9
3,464
cpp
C++
package/win32/android/gameplay/src/Layout.cpp
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
1
2021-06-17T02:16:22.000Z
2021-06-17T02:16:22.000Z
package/win32/android/gameplay/src/Layout.cpp
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
null
null
null
package/win32/android/gameplay/src/Layout.cpp
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
1
2021-06-17T02:16:23.000Z
2021-06-17T02:16:23.000Z
#include "Base.h" #include "Layout.h" #include "Control.h" #include "Container.h" namespace gameplay { void Layout::align(Control* control, const Container* container) { GP_ASSERT(control); GP_ASSERT(container); if (control->_alignment != Control::ALIGN_TOP_LEFT || control->_isAlign...
40.27907
180
0.637413
sharkpp
a04c7ab0203bbceaa445fee1a93471cb65575331
1,474
cpp
C++
src/prod/src/data/txnreplicator/RuntimeFolders.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/data/txnreplicator/RuntimeFolders.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/data/txnreplicator/RuntimeFolders.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
28.346154
124
0.694708
vishnuk007
a05100200dbd0ae514766364c276a2c3061690f4
13,826
cpp
C++
src/snmp/session.cpp
Aseman-Land/QtSnmp
4e04214d94324d4ed43d15ea77950b026bfd9b3b
[ "MIT" ]
null
null
null
src/snmp/session.cpp
Aseman-Land/QtSnmp
4e04214d94324d4ed43d15ea77950b026bfd9b3b
[ "MIT" ]
null
null
null
src/snmp/session.cpp
Aseman-Land/QtSnmp
4e04214d94324d4ed43d15ea77950b026bfd9b3b
[ "MIT" ]
null
null
null
#include "session.h" #include "qtsnmpdata.h" #include "requestvaluesjob.h" #include "requestsubvaluesjob.h" #include "setvaluejob.h" #include "defines.h" #include <QDateTime> #include <QHostAddress> #include <math.h> namespace qtsnmpclient { namespace { const int default_response_timeout = 10000; const quint1...
36.193717
114
0.553595
Aseman-Land
a054a212010b793ac03b4ef74271f1b57987dc30
2,663
cpp
C++
Source Code V2/TssTest/RickerSource.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
11
2020-09-27T07:35:22.000Z
2022-03-09T11:01:31.000Z
Source Code V2/TssTest/RickerSource.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
1
2020-10-28T13:14:58.000Z
2020-10-28T21:04:44.000Z
Source Code V2/TssTest/RickerSource.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
7
2020-09-27T07:35:24.000Z
2022-01-02T13:53:21.000Z
/******************************************************************* Author: David Ge (dge893@gmail.com, aka Wei Ge) Last modified: 11/21/2020 Allrights reserved by David Ge field source of Ricker function ********************************************************************/ #include "RickerSource.h" RickerS...
24.657407
122
0.524972
DavidGeUSA
a05608ff85f4cba18a3d7f4b7eb83ecb96cb4308
96,243
cpp
C++
quantlibnode.cpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
27
2016-11-19T16:51:21.000Z
2021-09-08T16:44:15.000Z
quantlibnode.cpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
1
2016-12-28T16:38:38.000Z
2017-02-17T05:32:13.000Z
quantlibnode.cpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
10
2016-12-28T02:31:38.000Z
2021-06-15T09:02:07.000Z
/* Copyright (C) 2016 -2017 Jerry Jin */ #include <v8.h> #include <node.h> #include <nan.h> #include "quantlibnode.hpp" #include <oh/repository.hpp> #include <oh/enumerations/typefactory.hpp> #include <oh/enumerations/enumregistry.hpp> #include <qlo/enumerations/register/register_all.hpp> using namespace node; us...
87.414169
165
0.821203
quantlibnode
a060f63262b77064c704df214dca93a80cb7c929
410
cpp
C++
remove-element/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
3
2018-05-08T14:08:50.000Z
2019-02-28T00:10:14.000Z
remove-element/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
null
null
null
remove-element/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
null
null
null
#include <vector> class Solution { public: int removeElement(std::vector<int>& nums, int val) { int newSz = 0; // as we know newSz is always less or equal to i (implicit here) // the write access should be fine for (int n : nums) { if (n != val) { nums[ne...
22.777778
72
0.47561
Javran
a0612f0b5015f839d8c53e2de9d78fc53418444f
563
hpp
C++
include/openpose/core/cvMatToOpInput.hpp
noussquid/openpose
e60b5d385f5b26c27be9c2a3bcfddb6648480fc4
[ "MIT-CMU" ]
7
2018-05-03T01:10:56.000Z
2021-01-12T10:39:47.000Z
include/openpose/core/cvMatToOpInput.hpp
clhne/openpose
29b6697d4c4afa919ac0b63c1ed80c5020cbe0df
[ "MIT-CMU" ]
null
null
null
include/openpose/core/cvMatToOpInput.hpp
clhne/openpose
29b6697d4c4afa919ac0b63c1ed80c5020cbe0df
[ "MIT-CMU" ]
6
2018-03-31T06:54:59.000Z
2021-08-18T12:10:42.000Z
#ifndef OPENPOSE_CORE_CV_MAT_TO_OP_INPUT_HPP #define OPENPOSE_CORE_CV_MAT_TO_OP_INPUT_HPP #include <opencv2/core/core.hpp> // cv::Mat #include <openpose/core/common.hpp> namespace op { class OP_API CvMatToOpInput { public: std::vector<Array<float>> createArray(const cv::Mat& cvInputData, ...
29.631579
98
0.634103
noussquid
a0613bf5354c09cdd9ab153af28f2572f48b9b28
37,947
cpp
C++
unittests/rem_rotation_test.cpp
kushnirenko/remprotocol
ec450227a40bb18527b473266b07b982efc1d093
[ "MIT" ]
null
null
null
unittests/rem_rotation_test.cpp
kushnirenko/remprotocol
ec450227a40bb18527b473266b07b982efc1d093
[ "MIT" ]
null
null
null
unittests/rem_rotation_test.cpp
kushnirenko/remprotocol
ec450227a40bb18527b473266b07b982efc1d093
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in eos/LICENSE.txt */ #include <eosio/chain/abi_serializer.hpp> #include <eosio/testing/tester.hpp> #include <Runtime/Runtime.h> #include <fc/variant_object.hpp> #include <boost/test/unit_test.hpp> #include <contracts.hpp> #ifdef NON_VALIDATING_TEST #define TESTER tester #else...
45.282816
231
0.584236
kushnirenko
a066e565e42e392490b7c5fe524de9689dc97351
3,866
cpp
C++
src/services/artifact.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
null
null
null
src/services/artifact.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
10
2018-03-02T13:58:32.000Z
2020-06-05T11:12:42.000Z
src/services/artifact.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
3
2018-02-26T14:01:43.000Z
2019-12-09T10:03:17.000Z
#include "services/httpservice.h" #include "userdb/userdb.h" #include "util/configuration.h" #include "util/concat.h" #include "util/exceptions.h" #include "util/curl.h" #include "util/timeparser.h" #include <cstring> #include <sstream> #include <json/json.h> /* * This class provides access to the artifacts in the ...
27.614286
103
0.665546
EmanuelHerrendorf
a06e6421664e57b4ebfcbb72a51ff87828a4c934
1,419
hpp
C++
include/Error.hpp
scribe-lang/scribe
28ee67cc5081aa3bdd0d4fc284c04738e3272687
[ "MIT" ]
13
2021-12-28T17:54:05.000Z
2022-03-19T16:13:03.000Z
include/Error.hpp
scribelang/scribe
8b82ed839e290c1204928dcd196237c6cd6000ba
[ "MIT" ]
null
null
null
include/Error.hpp
scribelang/scribe
8b82ed839e290c1204928dcd196237c6cd6000ba
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2022 Scribe Language Repositories 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, mod...
20.565217
78
0.735729
scribe-lang
a07c721942eee27a890fa710cd23d16785c9f452
6,498
cpp
C++
roomedit/owl-6.34/source/toolbox.cpp
Meridian59Kor/Meridian59
ab6d271c0e686250c104bd5c0886c91ec7cfa2b5
[ "FSFAP" ]
119
2015-08-19T17:57:01.000Z
2022-03-30T01:41:51.000Z
roomedit/owl-6.34/source/toolbox.cpp
Meridian59Kor/Meridian59
ab6d271c0e686250c104bd5c0886c91ec7cfa2b5
[ "FSFAP" ]
120
2015-01-01T13:02:04.000Z
2015-08-14T20:06:27.000Z
roomedit/owl-6.34/source/toolbox.cpp
Meridian59Kor/Meridian59
ab6d271c0e686250c104bd5c0886c91ec7cfa2b5
[ "FSFAP" ]
46
2015-08-16T23:21:34.000Z
2022-02-05T01:08:22.000Z
//---------------------------------------------------------------------------- // ObjectWindows // Copyright (c) 1992, 1996 by Borland International, All Rights Reserved // /// \file /// Implementation of class TToolBox, a 2-d arrangement of TButtonGadgets. //------------------------------------------------------------...
24.520755
86
0.609418
Meridian59Kor
a0816ebccf813b8477cc26c497a9d997686e8e4a
6,931
cpp
C++
src/training/ligature_table.cpp
docu9/tesseract
3501663a33f8eccaee78027613dc204a978ee8c1
[ "Apache-2.0" ]
2
2020-10-24T09:37:45.000Z
2020-11-24T09:58:42.000Z
src/training/ligature_table.cpp
docu9/tesseract
3501663a33f8eccaee78027613dc204a978ee8c1
[ "Apache-2.0" ]
null
null
null
src/training/ligature_table.cpp
docu9/tesseract
3501663a33f8eccaee78027613dc204a978ee8c1
[ "Apache-2.0" ]
1
2020-11-30T14:09:28.000Z
2020-11-30T14:09:28.000Z
/********************************************************************** * File: ligature_table.cpp * Description: Class for adding and removing optional latin ligatures, * conditional on codepoint support by a specified font * (if specified). * Author: Ranjith Unnikrishnan * ...
35.54359
80
0.620545
docu9
a081ee2288f180d2259a8eb2a234073c82f914f4
12,528
hpp
C++
FDPS-5.0g/src/memory_pool.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
2
2019-05-23T21:00:41.000Z
2019-10-03T18:05:20.000Z
FDPS-5.0g/src/memory_pool.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
null
null
null
FDPS-5.0g/src/memory_pool.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
10
2018-08-22T00:55:26.000Z
2022-02-28T23:21:42.000Z
#include<iostream> #include<cstdlib> #include<cassert> #include<vector> #if defined(PARTICLE_SIMULATOR_THREAD_PARALLEL) && defined(_OPENMP) #include<omp.h> #endif namespace ParticleSimulator{ class MemoryPool{ private: enum{ ALIGN_SIZE = 8, N_SEGMENT_LIMIT = 10000, ...
45.064748
125
0.501117
subarutaro
a08335befa113d1a7b12dfe8517535383abdebbd
6,966
hpp
C++
includes/ConfigParser.hpp
majermou/webserv
65aaaf4f604ba86340e7d57eb3d2fda638708b3f
[ "MIT" ]
null
null
null
includes/ConfigParser.hpp
majermou/webserv
65aaaf4f604ba86340e7d57eb3d2fda638708b3f
[ "MIT" ]
null
null
null
includes/ConfigParser.hpp
majermou/webserv
65aaaf4f604ba86340e7d57eb3d2fda638708b3f
[ "MIT" ]
1
2021-12-13T10:35:06.000Z
2021-12-13T10:35:06.000Z
#ifndef CONFIG_PARSER_HPP #define CONFIG_PARSER_HPP #include "ServerData.hpp" #include "Webserv.hpp" // fields identifiers fields definitions // server file configuration requirements openings #define SERVER_OP "server" #define PORT_OP "listen" #define HOST_OP "host" #de...
40.5
80
0.715619
majermou
a08befae821f0be9f8724a9a6ca6be58539b3edb
551
cpp
C++
test/CErrRedirecter.cpp
asura/logger
3bbf95dd30adb32110855ac78d4055511bf43970
[ "MIT" ]
null
null
null
test/CErrRedirecter.cpp
asura/logger
3bbf95dd30adb32110855ac78d4055511bf43970
[ "MIT" ]
9
2019-09-15T21:29:20.000Z
2019-10-16T18:15:04.000Z
test/CErrRedirecter.cpp
asura/logger
3bbf95dd30adb32110855ac78d4055511bf43970
[ "MIT" ]
null
null
null
#include "CErrRedirecter.h" #include <cassert> #include <cstring> // memset #include <iostream> CErrRedirecter::CErrRedirecter() : m_locker(m_mutex) , m_fp(open_memstream(&m_buffer, &m_size)) , m_buffer(nullptr) , m_size(0) , m_old(stderr) { if (!m_fp) { throw std::runtime_error("...
16.69697
58
0.607985
asura
a08cc2d0ce250e2de1602d71d894615a3108c1b4
13,519
cpp
C++
src/Framework/Graphics.cpp
Belfer/SFMLTemplate
7dcf4aa26239252597d681ca72888463cd4a54b0
[ "MIT" ]
null
null
null
src/Framework/Graphics.cpp
Belfer/SFMLTemplate
7dcf4aa26239252597d681ca72888463cd4a54b0
[ "MIT" ]
null
null
null
src/Framework/Graphics.cpp
Belfer/SFMLTemplate
7dcf4aa26239252597d681ca72888463cd4a54b0
[ "MIT" ]
null
null
null
#include "Graphics.hpp" #include <glad/glad.h> #include <glm/gtc/type_ptr.hpp> #include <iostream> #define ASSERT(expr) assert(expr) bool CheckGLError() { GLenum err; while ((err = glGetError()) != GL_NO_ERROR) switch (err) { case GL_INVALID_ENUM: std::cout << "GL_INVALID_ENUM" << st...
26.984032
130
0.691767
Belfer
a08f5e9809d1100e7ef695a0a60945e07fd795bd
2,157
cpp
C++
jlp_gsegraf_june2017/jlp_Gsegraf.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
null
null
null
jlp_gsegraf_june2017/jlp_Gsegraf.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
null
null
null
jlp_gsegraf_june2017/jlp_Gsegraf.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
1
2020-07-09T00:20:49.000Z
2020-07-09T00:20:49.000Z
/***************************************************************************** * jlp_gsegraf.cpp * JLP_Gsegraf class * * JLP * Version 14/12/2016 *****************************************************************************/ #include "jlp_gsegraf.h" // JLP_Gsegraf /****************************************************...
39.944444
80
0.481688
jlprieur
a0911081b67ccc9a9b81ca5d615c2d2706505d6d
380
cpp
C++
pg_answer/0c597d3b24c3432fba616e6cd7a05b3e.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
pg_answer/0c597d3b24c3432fba616e6cd7a05b3e.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
pg_answer/0c597d3b24c3432fba616e6cd7a05b3e.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include <iostream> void moveDisk(int n, char src, char dest, char trans) { if (n == 1) { std::cout << src << "->" << dest << std::endl; return; } moveDisk(n - 1, src, trans, dest); std::cout << src << "->" << dest << std::endl; moveDisk(n - 1, trans, dest, src); } int main() { ...
22.352941
55
0.476316
Guyutongxue
a091eb9f455024b9109bb0e7aa7947136856dbca
956
hpp
C++
Enginelib/src/components/textcomponent.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
Enginelib/src/components/textcomponent.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
Enginelib/src/components/textcomponent.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <SDL_ttf.h> #include <cstdint> #include "../basics/sprite.hpp" #include "../basics/vector2d.hpp" #include "../graphicsmanager.hpp" #include "../gameobject.hpp" #include "../filesystem/resourcearchive.hpp" #include "../basics/helpers.hpp" class TextComponent : public Component { ...
28.117647
56
0.722803
kalsipp
a09441f579cc07e3807baa174c1655b8583eecf1
8,293
hpp
C++
clients/include/testing_getrs_strided_batched.hpp
rkamd/hipBLAS
db7f14bf1a86cb77dec808721a7b18edc36aa3e5
[ "MIT" ]
null
null
null
clients/include/testing_getrs_strided_batched.hpp
rkamd/hipBLAS
db7f14bf1a86cb77dec808721a7b18edc36aa3e5
[ "MIT" ]
null
null
null
clients/include/testing_getrs_strided_batched.hpp
rkamd/hipBLAS
db7f14bf1a86cb77dec808721a7b18edc36aa3e5
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright (C) 2016-2022 Advanced Micro Devices, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
39.679426
95
0.450983
rkamd
90b587d331f36cf5ea2001c22923f69679ca578a
1,724
hpp
C++
src/backend/cpp/reach-tube.hpp
C2E2-Development-Team/C2E2-Tool
36631bfd75c0c0fb56389f13a9aba68cbed1680f
[ "MIT" ]
1
2021-10-04T19:56:25.000Z
2021-10-04T19:56:25.000Z
src/backend/cpp/reach-tube.hpp
C2E2-Development-Team/C2E2-Tool
36631bfd75c0c0fb56389f13a9aba68cbed1680f
[ "MIT" ]
null
null
null
src/backend/cpp/reach-tube.hpp
C2E2-Development-Team/C2E2-Tool
36631bfd75c0c0fb56389f13a9aba68cbed1680f
[ "MIT" ]
null
null
null
/** * \file reach-tube.hpp * \class ReachTube * * \author parasara * \author Lucas Brown * \date July, 2014 * \date April 2, 2019 * * \brief LMBTODO */ #ifndef REACHTUBE_H_ #define REACHTUBE_H_ #include <ppl.hh> #include <stack> #include <string> #include <vector> #include "annotation.hpp" #includ...
24.628571
85
0.703016
C2E2-Development-Team
90b5ba3d3a99e64f0e3290bf7b22b5b06652c50b
10,615
cpp
C++
src/l_CollisionComponent.cpp
benzap/Kampf
9cf4fb0d6ec22bc35ade9b476d29df34902c6689
[ "Zlib" ]
2
2018-05-13T05:27:29.000Z
2018-05-29T06:35:57.000Z
src/l_CollisionComponent.cpp
benzap/Kampf
9cf4fb0d6ec22bc35ade9b476d29df34902c6689
[ "Zlib" ]
null
null
null
src/l_CollisionComponent.cpp
benzap/Kampf
9cf4fb0d6ec22bc35ade9b476d29df34902c6689
[ "Zlib" ]
null
null
null
#include "l_CollisionComponent.hpp" CollisionComponent* lua_pushcollisionComponent( lua_State *L, CollisionComponent* collisioncomponent = nullptr) { if (collisioncomponent == nullptr) { std::cerr << "Warning: CollisionComponent - this will not work, nullptr" << std::endl; collisioncompon...
32.166667
87
0.735751
benzap
90b7c22a322dade4043e073f3e786f5ff495fb1f
872
cpp
C++
app/Helper/GridHelper.cpp
LNAV/Sudoku_Solver_Cpp
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
1
2020-05-17T11:46:46.000Z
2020-05-17T11:46:46.000Z
app/Helper/GridHelper.cpp
LNAV/VeronixApp-Sudoku_Solver
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
null
null
null
app/Helper/GridHelper.cpp
LNAV/VeronixApp-Sudoku_Solver
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
null
null
null
/* * GridHelper.cpp * * Created on: Jan 1, 2020 * Author: LavishK1 */ #include "GridHelper.h" namespace Veronix { namespace App { namespace helper { GridHelper::GridHelper() { } GridHelper::~GridHelper() { } bool GridHelper::findNewClue(sudosolver::container::GridContainer &grid) { //TODO findNewCl...
16.148148
81
0.723624
LNAV
90ba6086e7b70f03afbf53793d07c1e63289a1dd
6,351
cc
C++
src/rdf++/writer/nquads.cc
datagraph/librdf
6697c6a2bfeb00978118968ea88eabb1612c892c
[ "Unlicense" ]
10
2015-12-23T05:17:49.000Z
2020-06-16T14:21:34.000Z
src/rdf++/writer/nquads.cc
datagraph/librdf
6697c6a2bfeb00978118968ea88eabb1612c892c
[ "Unlicense" ]
3
2015-06-15T14:15:33.000Z
2016-01-17T19:18:09.000Z
src/rdf++/writer/nquads.cc
datagraph/librdf
6697c6a2bfeb00978118968ea88eabb1612c892c
[ "Unlicense" ]
3
2015-02-14T23:16:01.000Z
2018-03-03T15:07:48.000Z
/* This is free and unencumbered software released into the public domain. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "nquads.h" #include "../format.h" #include "../quad.h" #include "../term.h" #include "../triple.h" #include <cassert> /* for assert() */ #include <cstdio> /* for FILE, std::f*() */ ...
28.737557
85
0.585105
datagraph
90c0087c3162b691e8ec9d1d48204870220d6bdc
3,103
hpp
C++
include/NatSuite/Devices/FlashMode.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/NatSuite/Devices/FlashMode.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/NatSuite/Devices/FlashMode.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Enum #include "System/Enum.h...
41.932432
94
0.70448
RedBrumbler
90c5c4d35c216fd5a4f689cbbb4f551bb9a5174f
3,313
cpp
C++
Code/Engine/GameEngine/VirtualReality/Implementation/DeviceTrackingComponent.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Engine/GameEngine/VirtualReality/Implementation/DeviceTrackingComponent.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Engine/GameEngine/VirtualReality/Implementation/DeviceTrackingComponent.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
#include <GameEnginePCH.h> #include <Core/WorldSerializer/WorldReader.h> #include <Core/WorldSerializer/WorldWriter.h> #include <Foundation/Configuration/Singleton.h> #include <Foundation/Profiling/Profiling.h> #include <GameEngine/VirtualReality/DeviceTrackingComponent.h> #include <GameEngine/VirtualReality/StageSpac...
29.318584
126
0.728041
fereeh
90c6154eb2f96f95ae35b71ae2cb9827cae4fa49
123
cpp
C++
dbmodel/persistent.cpp
arsee11/arseeulib
528afa07d182e76ce74255a53ee01d73c2fae66f
[ "BSD-2-Clause" ]
null
null
null
dbmodel/persistent.cpp
arsee11/arseeulib
528afa07d182e76ce74255a53ee01d73c2fae66f
[ "BSD-2-Clause" ]
1
2015-08-21T06:31:32.000Z
2015-08-21T06:32:06.000Z
dbmodel/persistent.cpp
arsee11/arseeulib
528afa07d182e76ce74255a53ee01d73c2fae66f
[ "BSD-2-Clause" ]
1
2016-07-23T04:03:15.000Z
2016-07-23T04:03:15.000Z
//persistent.cpp //copyright : Copyright (c) 2014 arsee. //license : GNU GPL v2. //author : arsee #include "persistent.h"
17.571429
39
0.691057
arsee11
90c6fd3a1c859d2efea4b58afc025bca63b6c205
2,487
cpp
C++
src_R/culex.cpp
slwu89/culex-model
eee653b2b633b26b735034303e21e3a67341c119
[ "MIT" ]
null
null
null
src_R/culex.cpp
slwu89/culex-model
eee653b2b633b26b735034303e21e3a67341c119
[ "MIT" ]
null
null
null
src_R/culex.cpp
slwu89/culex-model
eee653b2b633b26b735034303e21e3a67341c119
[ "MIT" ]
null
null
null
#include "culex.hpp" // [[Rcpp::depends(RcppArmadillo)]] // [[Rcpp::plugins(cpp14)]] // ---------- stochastic model interface ---------- using culex_stochastic = culex<int>; // [[Rcpp::export]] Rcpp::XPtr<culex_stochastic> create_culex_stochastic(const int p, const std::vector<int>& tau_E, const std::vector<int>& t...
27.633333
213
0.676719
slwu89
90c7946c59987651ee16b40cd64210aaabe2a9ca
1,273
hpp
C++
include/virt_wrap/enums/Storage/VolResizeFlag.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
7
2019-08-22T20:48:15.000Z
2021-12-31T16:08:59.000Z
include/virt_wrap/enums/Storage/VolResizeFlag.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
10
2019-08-22T21:40:43.000Z
2020-09-03T14:21:21.000Z
include/virt_wrap/enums/Storage/VolResizeFlag.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
2
2019-08-22T21:08:28.000Z
2019-08-23T21:31:56.000Z
#ifndef VIRTPP_ENUM_STORAGE_VOLRESIZEFLAG_HPP #define VIRTPP_ENUM_STORAGE_VOLRESIZEFLAG_HPP #include "../../StorageVol.hpp" #include "virt_wrap/enums/Base.hpp" #include "virt_wrap/utility.hpp" #include <libvirt/libvirt-storage.h> namespace virt { class StorageVol::ResizeFlag : private VirtEnumStorage<virStorageVolRes...
38.575758
149
0.744698
AeroStun
90c9563d52c67684b1bee6efdd96acaca6843d38
13,863
cpp
C++
dev/Code/Tools/AssetProcessor/Builders/WwiseBuilder/Source/WwiseBuilderComponent.cpp
yuriy0/lumberyard
18ab07fd38492d88c34df2a3e061739d96747e13
[ "AML" ]
null
null
null
dev/Code/Tools/AssetProcessor/Builders/WwiseBuilder/Source/WwiseBuilderComponent.cpp
yuriy0/lumberyard
18ab07fd38492d88c34df2a3e061739d96747e13
[ "AML" ]
null
null
null
dev/Code/Tools/AssetProcessor/Builders/WwiseBuilder/Source/WwiseBuilderComponent.cpp
yuriy0/lumberyard
18ab07fd38492d88c34df2a3e061739d96747e13
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright(c) Amazon.com, Inc.or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution(the "License").All use of this software is governed by the License, * or, if provided, by the license below or the l...
48.81338
284
0.664575
yuriy0
90d0e254fc7e7a06f064b22e46d16f60071924a9
21,526
cpp
C++
LTSDK/runtime/render/d3dmeshrendobj_skel.cpp
crskycode/msLTBImporter
be8a04c5365746c46a1d7804909e04a741d86b44
[ "MIT" ]
3
2021-03-02T15:55:01.000Z
2021-10-21T07:11:17.000Z
LTSDK/runtime/render/d3dmeshrendobj_skel.cpp
crskycode/msLTBImporter
be8a04c5365746c46a1d7804909e04a741d86b44
[ "MIT" ]
1
2021-09-27T02:38:49.000Z
2021-11-06T16:09:21.000Z
LTSDK/runtime/render/d3dmeshrendobj_skel.cpp
crskycode/msLTBImporter
be8a04c5365746c46a1d7804909e04a741d86b44
[ "MIT" ]
1
2021-04-26T13:22:51.000Z
2021-04-26T13:22:51.000Z
// d3dmeshrendobj_skel.cpp //#include "precompile.h" #include "d3dmeshrendobj_skel.h" //#include "renderstruct.h" #include "ltb.h" //#include "d3d_device.h" //#include "d3d_texture.h" //#include "d3d_renderstatemgr.h" //#include "d3d_draw.h" //#include "ltvertexshadermgr.h" //#include "ltpixelshadermgr.h" //#include "...
28.855228
140
0.684242
crskycode
90d15e73d1e0a054bc627e6d4f321c3c255f2c21
5,224
hpp
C++
master/core/third/libtorrent/include/libtorrent/socket.hpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/libtorrent/include/libtorrent/socket.hpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/libtorrent/include/libtorrent/socket.hpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:49.000Z
2018-12-27T03:20:31.000Z
/* Copyright (c) 2003, Arvid Norberg 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 conditions and the f...
26.927835
79
0.723966
importlib
90d288af6571d1f98c014630d861f60ffb33678a
11,628
cc
C++
pyxel/core/src/pyxelcore.cc
nnn1590/pyxel
fa1c5748f1e76d137fe157619584eadfbe0d45e7
[ "MIT" ]
null
null
null
pyxel/core/src/pyxelcore.cc
nnn1590/pyxel
fa1c5748f1e76d137fe157619584eadfbe0d45e7
[ "MIT" ]
null
null
null
pyxel/core/src/pyxelcore.cc
nnn1590/pyxel
fa1c5748f1e76d137fe157619584eadfbe0d45e7
[ "MIT" ]
null
null
null
#include "pyxelcore.h" #include "pyxelcore/audio.h" #include "pyxelcore/graphics.h" #include "pyxelcore/image.h" #include "pyxelcore/input.h" #include "pyxelcore/music.h" #include "pyxelcore/resource.h" #include "pyxelcore/sound.h" #include "pyxelcore/system.h" #include "pyxelcore/tilemap.h" #define IMAGE reinterpret...
22.19084
80
0.659013
nnn1590
90d37359d2d67674cff2dfbcec9d4f03602ef5e4
4,278
cpp
C++
SDKs/CryCode/3.8.1/CryEngine/CryEntitySystem/EntityAttributesProxy.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.7.0/CryEngine/CryEntitySystem/EntityAttributesProxy.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.7.0/CryEngine/CryEntitySystem/EntityAttributesProxy.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
#include "stdafx.h" #include "EntityAttributesProxy.h" #include "Serialization/IArchive.h" #include "Serialization/IArchiveHost.h" namespace { struct SEntityAttributesSerializer { SEntityAttributesSerializer(TEntityAttributeArray& _attributes) : attributes(_attributes) {} void Serialize(Serialization::IA...
29.708333
109
0.544647
amrhead
90d49e3ae32010fb49ec8e2a8d41b7d434131e69
30,420
cp
C++
MacOS/Sources/Application/Search/CSearchCriteriaLocal.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
MacOS/Sources/Application/Search/CSearchCriteriaLocal.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
MacOS/Sources/Application/Search/CSearchCriteriaLocal.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Copyright (c) 2007 Cyrus Daboo. 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.429192
147
0.724918
mulberry-mail
90d554c1623d331c06660d1d43126e3b7abd061f
1,655
cpp
C++
Interface/ViewDeath.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
1
2016-05-22T21:28:29.000Z
2016-05-22T21:28:29.000Z
Interface/ViewDeath.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
Interface/ViewDeath.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
/* ViewDeath.cpp (c)2000 Palestar, Richard Lyle */ #include "Debug/Assert.h" #include "Interface/GameDocument.h" #include "DarkSpace/Constants.h" #include "Interface/ViewDeath.h" //---------------------------------------------------------------------------- IMPLEMENT_FACTORY( ViewDeath, WindowView::View ); REGISTE...
21.776316
84
0.627795
SnipeDragon
90debecb1d3764b8d598bed91b713e680c3747fe
3,027
cpp
C++
PALIN.cpp
YourGoodFriendSP/SPOJ-solutions
f8b14cad3452628c2c8e17ee44ec0ba2f70bb518
[ "MIT" ]
3
2020-10-02T15:01:06.000Z
2022-01-15T15:32:25.000Z
PALIN.cpp
YourGoodFriendSP/SPOJ-solutions
f8b14cad3452628c2c8e17ee44ec0ba2f70bb518
[ "MIT" ]
null
null
null
PALIN.cpp
YourGoodFriendSP/SPOJ-solutions
f8b14cad3452628c2c8e17ee44ec0ba2f70bb518
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std ; typedef long long ll ; string add(string &s){ int carry=0 ; string ans(s.size()+1,'0') ; int m=s.size() ; for(int i=m-1;i>=0;i--){ int num=0 ; if(i==m-1){ num=1 ; } int sum=(s[i]-'0')+carry+num ; s[i]=sum%10 +'0' ; carry=sum/10 ; ...
11.870588
39
0.435745
YourGoodFriendSP
90df261d1b5b28ef3d6404ee8efb50d3a4f5f409
6,520
cpp
C++
Stikboldt/_MyPrefabs/Objects/PF_Character.cpp
Kair0z/StikBoldt-PC
5d978aa6b67e9f3a140136f2f0b766061e765c74
[ "MIT" ]
null
null
null
Stikboldt/_MyPrefabs/Objects/PF_Character.cpp
Kair0z/StikBoldt-PC
5d978aa6b67e9f3a140136f2f0b766061e765c74
[ "MIT" ]
null
null
null
Stikboldt/_MyPrefabs/Objects/PF_Character.cpp
Kair0z/StikBoldt-PC
5d978aa6b67e9f3a140136f2f0b766061e765c74
[ "MIT" ]
1
2021-09-23T06:21:53.000Z
2021-09-23T06:21:53.000Z
#include "stdafx.h" #include "PF_Character.h" #include "Components.h" #include "Prefabs.h" #include "GameScene.h" #include "PhysxManager.h" #include "PhysxProxy.h" #include "ControllerComponent.h" PF_Character::PF_Character(float radius, float height, float moveSpeed, float maxJumpHeight, float maxSlopeAngle, float ...
27.744681
148
0.767331
Kair0z
90df8d71df2361262733892562797810024c14ba
1,133
cpp
C++
codex.test/test_object_pool.cpp
codex-tk/old_ref_codex
c0d5a87b991cc2c48fab2902b5e10b8339cecb91
[ "MIT" ]
null
null
null
codex.test/test_object_pool.cpp
codex-tk/old_ref_codex
c0d5a87b991cc2c48fab2902b5e10b8339cecb91
[ "MIT" ]
null
null
null
codex.test/test_object_pool.cpp
codex-tk/old_ref_codex
c0d5a87b991cc2c48fab2902b5e10b8339cecb91
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <codex/convenience/object_pool.hpp> #include "gprintf.hpp" class pooled_object : public codex::object_pool< pooled_object >{ private: void* _dummy; }; TEST( object_pool , single ) { pooled_object* first_object = new pooled_object(); delete first_object; pooled_object* seco...
24.106383
68
0.673433
codex-tk
90e106faae0b34c0c50fb77d7ed1557cf83b14d8
15,625
hxx
C++
src/factor_unsym.hxx
tasseff/SyLVER
35cb652ece05447ddf12e530e97428078446eaf4
[ "BSD-3-Clause" ]
9
2019-07-02T12:46:22.000Z
2021-07-08T11:54:46.000Z
src/factor_unsym.hxx
tasseff/SyLVER
35cb652ece05447ddf12e530e97428078446eaf4
[ "BSD-3-Clause" ]
2
2020-03-23T22:55:52.000Z
2020-03-24T11:15:16.000Z
src/factor_unsym.hxx
tasseff/SyLVER
35cb652ece05447ddf12e530e97428078446eaf4
[ "BSD-3-Clause" ]
5
2019-06-10T11:11:14.000Z
2020-03-22T02:38:12.000Z
/// @file /// @copyright 2016- The Science and Technology Facilities Council (STFC) /// @author Florent Lopez #pragma once // SyVLER #include "NumericFront.hxx" #include "tasks/tasks_unsym.hxx" // STD #include <limits> // SSIDS #include "ssids/cpu/cpu_iface.hxx" #include "ssids/cpu/Workspace.hxx" namespace sylver {...
34.955257
105
0.524416
tasseff
90e1080185a7008f59b9ecfc2909f120fb51b286
198
cpp
C++
net.ssa/itself/itself.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
net.ssa/itself/itself.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
net.ssa/itself/itself.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
extern"C"int printf(char*,...);char*S="extern%cC%cint printf(char*,...);char*S=%c%s%c;char*T=%c%s%c%s";char*T=";main(){printf(S,34,34,34,S,34,34,T,34,T);}";main(){printf(S,34,34,34,S,34,34,T,34,T);}
198
198
0.611111
ixray-team
90e6605e78f74ac2489927f867407deea660f7d3
2,487
cpp
C++
src/ciphers/vigenere.cpp
Cyclic3/CipheyCore
63cc5fa79b68602e92fd1e16abdbd16b53fcbc53
[ "MIT" ]
35
2020-05-30T10:25:14.000Z
2022-03-09T05:46:28.000Z
src/ciphers/vigenere.cpp
Cyclic3/CipheyCore
63cc5fa79b68602e92fd1e16abdbd16b53fcbc53
[ "MIT" ]
12
2020-08-01T16:52:49.000Z
2021-12-25T22:04:42.000Z
src/ciphers/vigenere.cpp
Cyclic3/CipheyCore
63cc5fa79b68602e92fd1e16abdbd16b53fcbc53
[ "MIT" ]
14
2020-08-06T01:36:08.000Z
2022-02-02T09:53:18.000Z
#include "ciphey/ciphers.hpp" #include "common.hpp" #include <atomic> #include <thread> #include <future> namespace ciphey::vigenere { std::vector<crack_result<key_t>> crack(windowed_prob_table observed, prob_table const& expected, group_t const& group, freq_t count, prob_t...
32.723684
130
0.628468
Cyclic3
90e77fb2c6facb656eaed6c70b765736f455498a
131
cpp
C++
Source/Flopnite/Private/GameplayAbilities/FNGameplayAbility.cpp
BEASTSM96/flopnite-ue4
76193544a6b7fe6b969864e74409b6b5a43f3d7a
[ "MIT" ]
null
null
null
Source/Flopnite/Private/GameplayAbilities/FNGameplayAbility.cpp
BEASTSM96/flopnite-ue4
76193544a6b7fe6b969864e74409b6b5a43f3d7a
[ "MIT" ]
null
null
null
Source/Flopnite/Private/GameplayAbilities/FNGameplayAbility.cpp
BEASTSM96/flopnite-ue4
76193544a6b7fe6b969864e74409b6b5a43f3d7a
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "GameplayAbilities/FNGameplayAbility.h"
21.833333
78
0.801527
BEASTSM96
90e8850104d10e97d4aa5d749bc4be6afccf0770
5,530
cc
C++
src/sequence_batch.cc
vejnar/chromap
f0ff121845f727b2142f04983211233f27302d13
[ "MIT" ]
null
null
null
src/sequence_batch.cc
vejnar/chromap
f0ff121845f727b2142f04983211233f27302d13
[ "MIT" ]
null
null
null
src/sequence_batch.cc
vejnar/chromap
f0ff121845f727b2142f04983211233f27302d13
[ "MIT" ]
null
null
null
#include "sequence_batch.h" #include <tuple> #include "utils.h" namespace chromap { constexpr uint8_t SequenceBatch::char_to_uint8_table_[256]; constexpr char SequenceBatch::uint8_to_char_table_[8]; void SequenceBatch::InitializeLoading(const std::string &sequence_file_path) { sequence_file_ = gzopen(sequence_fi...
33.113772
80
0.638336
vejnar
90e9d8dab498a49a5ba068712f0162adcd5dff1e
427
cpp
C++
main.cpp
pawbyte/semath
f292718f521d7f6d0d66307f06db854813907b6d
[ "MIT" ]
null
null
null
main.cpp
pawbyte/semath
f292718f521d7f6d0d66307f06db854813907b6d
[ "MIT" ]
null
null
null
main.cpp
pawbyte/semath
f292718f521d7f6d0d66307f06db854813907b6d
[ "MIT" ]
null
null
null
#include "semath.h" #include <iostream> //used to use std::cout to print messages //Make sure to include both "semath.h" and "semath.cpp" in your project directory. int main( int argc, char* args[] ) { std::cout << "Result of <get_direction( 0, 0, 300, 300):" << get_direction( 0, 0, 300, 300) << ".\n"; std::cout...
32.846154
104
0.620609
pawbyte
90ee6174c7fbe76db6759d37259da311e516452e
441
hpp
C++
include/rive/animation/blend_animation.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
139
2020-08-17T20:10:24.000Z
2022-03-28T12:22:44.000Z
include/rive/animation/blend_animation.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
89
2020-08-28T16:41:01.000Z
2022-03-28T19:10:49.000Z
include/rive/animation/blend_animation.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
19
2020-10-19T00:54:40.000Z
2022-02-28T05:34:17.000Z
#ifndef _RIVE_BLEND_ANIMATION_HPP_ #define _RIVE_BLEND_ANIMATION_HPP_ #include "rive/generated/animation/blend_animation_base.hpp" namespace rive { class LinearAnimation; class BlendAnimation : public BlendAnimationBase { private: LinearAnimation* m_Animation = nullptr; public: const LinearAnimation* animatio...
24.5
66
0.800454
kariem2k
90ef8e39c9035771f1018e3261cac7bd5c5a6271
1,791
hpp
C++
src/main/generic_format/ast/string.hpp
foobar27/generic_format
a44ce919b9c296ce66c0b54a51a61c884ddb78dd
[ "BSL-1.0" ]
null
null
null
src/main/generic_format/ast/string.hpp
foobar27/generic_format
a44ce919b9c296ce66c0b54a51a61c884ddb78dd
[ "BSL-1.0" ]
null
null
null
src/main/generic_format/ast/string.hpp
foobar27/generic_format
a44ce919b9c296ce66c0b54a51a61c884ddb78dd
[ "BSL-1.0" ]
null
null
null
/** @file @copyright Copyright Sebastien Wagener 2014 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) */ #pragma once #include "generic_format/ast/base.hpp" namespace generic_form...
38.934783
106
0.683975
foobar27
90f1a4536dca3d15b69e4c3bab3d3f518eb2fca4
111,610
cpp
C++
OGDF/src/coin/Symphony/tm_func.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
13
2017-12-21T03:35:41.000Z
2022-01-31T13:45:25.000Z
OGDF/src/coin/Symphony/tm_func.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
7
2017-09-13T01:31:24.000Z
2021-12-14T00:31:50.000Z
OGDF/src/coin/Symphony/tm_func.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
15
2017-09-07T18:28:55.000Z
2022-01-18T14:17:43.000Z
/*===========================================================================*/ /* */ /* This file is part of the SYMPHONY MILP Solver Framework. */ /* */ ...
30.908336
124
0.549655
shahnidhi
90f2dca9d6b11de4df1169bed10f4969e9e66b68
1,231
cpp
C++
avs_dx/DxVisuals/Effects/Common/EffectListBase.factory.cpp
Const-me/vis_avs_dx
da1fd9f4323d7891dea233147e6ae16790ad9ada
[ "MIT" ]
33
2019-01-28T03:32:17.000Z
2022-02-12T18:17:26.000Z
avs_dx/DxVisuals/Effects/Common/EffectListBase.factory.cpp
visbot/vis_avs_dx
03e55f8932a97ad845ff223d3602ff2300c3d1d4
[ "MIT" ]
2
2019-11-18T17:54:58.000Z
2020-07-21T18:11:21.000Z
avs_dx/DxVisuals/Effects/Common/EffectListBase.factory.cpp
Const-me/vis_avs_dx
da1fd9f4323d7891dea233147e6ae16790ad9ada
[ "MIT" ]
5
2019-02-16T23:00:11.000Z
2022-03-27T15:22:10.000Z
#include "stdafx.h" #include <RootEffect.h> #include "../List/EffectList.h" class C_RenderListClass; // Class factory is slightly more complex here: creating different classes depending on whether this effect is the root or just a list inside the preset. template<> HRESULT createDxEffect<C_RenderListClass>( void* pSt...
31.564103
153
0.753859
Const-me
90f4f719a45d230d38cb5086c765c04a18c45838
12,944
cpp
C++
NPlan/NPlan/view/TaskView.cpp
Avens666/NPlan
726411b053ded26ce6c1b8c280c994d4c1bac71a
[ "Apache-2.0" ]
16
2018-08-30T11:27:14.000Z
2021-12-17T02:05:45.000Z
NPlan/NPlan/view/TaskView.cpp
Avens666/NPlan
726411b053ded26ce6c1b8c280c994d4c1bac71a
[ "Apache-2.0" ]
null
null
null
NPlan/NPlan/view/TaskView.cpp
Avens666/NPlan
726411b053ded26ce6c1b8c280c994d4c1bac71a
[ "Apache-2.0" ]
14
2018-08-30T12:13:56.000Z
2021-02-06T11:07:44.000Z
// File: TaskView.cpp // Copyright: Copyright(C) 2013-2017 Wuhan KOTEI Informatics Co., Ltd. All rights reserved. // Website: http://www.nuiengine.com // Description: This code is part of NPlan Project (Powered by NUI Engine) // Comments: // Rev: 1 // Created: 2018/8/27 // Last...
25.991968
155
0.663473
Avens666
90f6e6e7114705c60666c2713ba0172f4cf0b149
986
cpp
C++
BallCollision/Plane.cpp
Baeonex/BehavioursCollisions
c78cd1d5911b0caf632a11120686a09666526021
[ "MIT" ]
null
null
null
BallCollision/Plane.cpp
Baeonex/BehavioursCollisions
c78cd1d5911b0caf632a11120686a09666526021
[ "MIT" ]
null
null
null
BallCollision/Plane.cpp
Baeonex/BehavioursCollisions
c78cd1d5911b0caf632a11120686a09666526021
[ "MIT" ]
null
null
null
#include "Plane.h" Plane::Plane() { } Plane::~Plane() { } Plane::Plane(Vector2& p1, Vector2& p2) { auto v = p2 - p1; v.normalise(); m_normal.x = -v.y; m_normal.y = v.x; m_d = -p1.dot(m_normal); } float Plane::distanceTo(const Vector2& p) { return p.dot(m_normal) + m_d; } Vector2 Plane::closestPoint(Vecto...
16.711864
62
0.684584
Baeonex
90f70620efe79b78697816e51e45dbbabb10b94f
15,520
cpp
C++
mod/bear/bear.cpp
littlegao233/bdlauncher
d765f1cd2bffed37e7f773f8120599f6e7cec732
[ "MIT" ]
1
2020-01-12T11:40:30.000Z
2020-01-12T11:40:30.000Z
mod/bear/bear.cpp
mclauncherlinux/bdlauncher
9d7482786ba8be1e06fc7c81b448c5862e970870
[ "MIT" ]
null
null
null
mod/bear/bear.cpp
mclauncherlinux/bdlauncher
9d7482786ba8be1e06fc7c81b448c5862e970870
[ "MIT" ]
null
null
null
#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include"aux.h" #include<cstdio> #include<list> #include<forward_list> #include<string> #include<unordered_map> #include<unordered_set> #include"../cmdhelper.h" #include<vector> #include<Loader.h> #include<MC.h> #include"seral.hpp" #include<unistd....
30.431373
318
0.611856
littlegao233
90f72a9dd022e250b6a9e1f2a7f37d170ee7ea44
6,059
cpp
C++
src/BasicRSVD.cpp
djanekovic/librsvd
83c626c749f2924ca6d7d49d3625c53c1f93a2c1
[ "MIT" ]
null
null
null
src/BasicRSVD.cpp
djanekovic/librsvd
83c626c749f2924ca6d7d49d3625c53c1f93a2c1
[ "MIT" ]
null
null
null
src/BasicRSVD.cpp
djanekovic/librsvd
83c626c749f2924ca6d7d49d3625c53c1f93a2c1
[ "MIT" ]
null
null
null
#include <random> #include <iostream> #include <algorithm> #include "Eigen/SVD" // forward declaration for Eigen::internal::traits namespace rsvd { template<typename _MatrixType> class BasicRSVD; } namespace Eigen { namespace internal { template <typename _MatrixType> struct traits<rsvd::BasicRSVD<_MatrixType>>: t...
28.852381
126
0.684271
djanekovic
90f8557d5a28f9b3b125147539f84c20ad8e8f1d
3,123
cpp
C++
GLEANKernel/GLEANLib/Utility Classes/Symbol_memory.cpp
dekieras/GLEANKernel
fac01f025b65273be96c5ea677c0ce192c570799
[ "MIT" ]
1
2018-06-22T23:01:13.000Z
2018-06-22T23:01:13.000Z
GLEANKernel/GLEANLib/Utility Classes/Symbol_memory.cpp
dekieras/GLEANKernel
fac01f025b65273be96c5ea677c0ce192c570799
[ "MIT" ]
null
null
null
GLEANKernel/GLEANLib/Utility Classes/Symbol_memory.cpp
dekieras/GLEANKernel
fac01f025b65273be96c5ea677c0ce192c570799
[ "MIT" ]
null
null
null
#include "Symbol_memory.h" #include "Utility_templates.h" #include "Assert_throw.h" #include <cstddef> using std::vector; using std::set; using std::strcpy; using std::size_t; Symbol_memory * Symbol_memory::Symbol_memory_ptr = 0; // A Meyers singleton would get automatically destructed, which is not // a good idea b...
30.028846
101
0.742875
dekieras
90f9617cb98f3e9abfcd92e1b289eb640849219d
368
cpp
C++
ObjectOrientedProgrammingCodes-CPP/CPPWorkspace/AnagramDiff/main.cpp
srinivasamaringanti/ObjectOrientedProgrammingCodes
84a11cf63d852aa4537bdde3bd0867b9a0725d66
[ "MIT" ]
null
null
null
ObjectOrientedProgrammingCodes-CPP/CPPWorkspace/AnagramDiff/main.cpp
srinivasamaringanti/ObjectOrientedProgrammingCodes
84a11cf63d852aa4537bdde3bd0867b9a0725d66
[ "MIT" ]
null
null
null
ObjectOrientedProgrammingCodes-CPP/CPPWorkspace/AnagramDiff/main.cpp
srinivasamaringanti/ObjectOrientedProgrammingCodes
84a11cf63d852aa4537bdde3bd0867b9a0725d66
[ "MIT" ]
null
null
null
#include <conio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; int main() { cout<< "Hello,World"<< std::endl; string a{"btoe"}; string b{"aeeg"}; sort(a.begin(),a.end()); sort(b.begin(), b.end()); cout<<"A: "<<a<<endl; co...
16.727273
37
0.535326
srinivasamaringanti
90fd35a75b5da54e0b9fc346755bc13f376d0f33
713
cpp
C++
src/static_search/generic_search.cpp
ParBLiSS/cao-reptile
bb807b0578396f3ffe156a95e612ef16d5da167c
[ "Apache-2.0" ]
null
null
null
src/static_search/generic_search.cpp
ParBLiSS/cao-reptile
bb807b0578396f3ffe156a95e612ef16d5da167c
[ "Apache-2.0" ]
null
null
null
src/static_search/generic_search.cpp
ParBLiSS/cao-reptile
bb807b0578396f3ffe156a95e612ef16d5da167c
[ "Apache-2.0" ]
null
null
null
/******************************************************************** * * Generic Search program * * Frederik Rønn, June 2003, University of Copenhagen. * *********************************************************************/ #ifndef __GENERIC_SEARCH_CPP__ #define __GENERIC_SEARCH_CPP__ template <typename RandomItera...
24.586207
70
0.580645
ParBLiSS
29088612d5e6fc4de2a5d7458e3f5d91d05e94c9
14,145
cpp
C++
gui/MyCanvas.cpp
myirci/3d_circle_estimation
7161005ab14d510503310e0bb028fea5ad2a1389
[ "MIT" ]
5
2020-07-16T18:59:05.000Z
2022-03-04T01:25:54.000Z
gui/MyCanvas.cpp
myirci/3d_circle_estimation
7161005ab14d510503310e0bb028fea5ad2a1389
[ "MIT" ]
null
null
null
gui/MyCanvas.cpp
myirci/3d_circle_estimation
7161005ab14d510503310e0bb028fea5ad2a1389
[ "MIT" ]
1
2021-04-08T13:49:32.000Z
2021-04-08T13:49:32.000Z
#include "MyCanvas.hpp" #include "MyFrame.hpp" #include "../geometry/Segment3D.hpp" #include "../geometry/Circle3D.hpp" #include "../data/teapot.hpp" #include "../algorithm/algorithm.hpp" #include "../utility/utility.hpp" #include <sstream> BEGIN_EVENT_TABLE(MyCanvas, wxScrolledWindow) EVT_PAINT(MyCanvas::OnPaint)...
36.645078
99
0.584305
myirci
29088db725c733564a3ab404aaadbd702b53dc0b
465
hpp
C++
SDKUsage6/VBMapViewer-SKT/VbNavKit-iOS/Classes/vbCamera/vbRotateCameraControl.hpp
longxingtianxiaShuai/specialView
42fbdb1ee94fc0bd0c903e3c72c23808ec608139
[ "MIT" ]
1
2020-11-21T03:54:34.000Z
2020-11-21T03:54:34.000Z
SDKUsage6/VBMapViewer-SKT/VbNavKit-iOS/Classes/vbCamera/vbRotateCameraControl.hpp
longxingtianxiaShuai/specialView
42fbdb1ee94fc0bd0c903e3c72c23808ec608139
[ "MIT" ]
null
null
null
SDKUsage6/VBMapViewer-SKT/VbNavKit-iOS/Classes/vbCamera/vbRotateCameraControl.hpp
longxingtianxiaShuai/specialView
42fbdb1ee94fc0bd0c903e3c72c23808ec608139
[ "MIT" ]
3
2017-12-14T00:52:03.000Z
2019-08-08T22:25:04.000Z
// // vbRotateCameraControl.h // VbNavKit-iOS // // Created by Dev4_Air on 13. 2. 7.. // Copyright (c) 2013년 dev4. All rights reserved. // #ifndef VbNavKit_iOS_vbRotateCameraControl_h #define VbNavKit_iOS_vbRotateCameraControl_h #include "vbCameraControl.hpp" class vbRotateCameraControl : public vbCameraControl ...
17.222222
52
0.729032
longxingtianxiaShuai
2908a8e881420630cf31cd4c76ccbd2eae643da3
1,768
cpp
C++
BasicGameFramework/Util/CSound.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
BasicGameFramework/Util/CSound.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
BasicGameFramework/Util/CSound.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
#include "CSound.h" FMOD_SYSTEM* CSound::g_sound_system; CSound::CSound(const char* path, bool loop) { if (loop) { FMOD_System_CreateSound(g_sound_system, path, FMOD_LOOP_NORMAL, 0, &m_sound); } else { FMOD_System_CreateSound(g_sound_system, path, FMOD_DEFAULT, 0, &m_sound); } m_channel = nullptr; m_volum...
14.857143
79
0.70871
dlwlxns4
290a0054e7be1cf8c2404752c65901ae15016fb0
66,168
cc
C++
Validation/MtdValidation/plugins/Primary4DVertexValidation.cc
wonpoint4/cmssw
4095d8106ef881c8b3be12b696bc364ae911d01f
[ "Apache-2.0" ]
2
2020-10-26T18:40:32.000Z
2021-04-10T16:33:25.000Z
Validation/MtdValidation/plugins/Primary4DVertexValidation.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30
2015-11-04T11:42:27.000Z
2021-12-01T07:56:34.000Z
Validation/MtdValidation/plugins/Primary4DVertexValidation.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
8
2016-03-25T07:17:43.000Z
2021-07-08T17:11:21.000Z
#include <numeric> #include <string> #include <vector> #include <map> #include <algorithm> #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EDAnalyzer.h" #include "FWCore/Framework/interface/ESHandle.h" #include "DataFormats/Common/interface/ValidHandle.h" #include "FWCore/Fra...
43.936255
127
0.594683
wonpoint4
2910b48c65c0d930885115dfcc8110717ade834b
2,106
cpp
C++
src/async/streamsocket.cpp
abbyssoul/libcadence
c9a49d95df608497e9551f7d62169d0c78a48737
[ "Apache-2.0" ]
2
2020-04-24T15:07:33.000Z
2020-06-12T07:01:53.000Z
src/async/streamsocket.cpp
abbyssoul/libcadence
c9a49d95df608497e9551f7d62169d0c78a48737
[ "Apache-2.0" ]
null
null
null
src/async/streamsocket.cpp
abbyssoul/libcadence
c9a49d95df608497e9551f7d62169d0c78a48737
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) Ivan Ryabov - All Rights Reserved * * Unauthorized copying of this file, via any medium is strictly prohibited. * Proprietary and confidential. * * Written by Ivan Ryabov <abbyssoul@gmail.com> */ /******************************************************************************* * @file: async/stre...
22.404255
90
0.681387
abbyssoul
2910d0bbe140a2abddcab117ae649081e429c159
1,915
cpp
C++
workshop 2020/Stl algorithms/3sum/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
workshop 2020/Stl algorithms/3sum/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
workshop 2020/Stl algorithms/3sum/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> #include <limits> #include <algorithm> #define int long long using namespace std; signed main() { int n; cin >> n; cin.tie(0); ios_base::sync_with_stdio(false); vector<int> tmpInput(n); map<int, int>occurences; for (int i = 0; i < n; ...
24.551282
101
0.49295
wdjpng
2911155dca15a375accd81c489513c54a8c827c8
1,573
hpp
C++
doc/quickbook/oglplus/quickref/images/image.hpp
highfidelity/oglplus
c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e
[ "BSL-1.0" ]
2
2017-06-09T00:28:35.000Z
2017-06-09T00:28:43.000Z
doc/quickbook/oglplus/quickref/images/image.hpp
highfidelity/oglplus
c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/images/image.hpp
highfidelity/oglplus
c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e
[ "BSL-1.0" ]
8
2017-01-30T22:06:41.000Z
2020-01-14T17:24:36.000Z
/* * Copyright 2014-2015 Matus Chochlik. 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) */ //[oglplus_images_Image namespace oglplus { namespace images { class Image { public: Image(const Image& that); Im...
16.557895
68
0.708837
highfidelity
291135aab35acc814617da41479d58d2ea8d9adb
299
cpp
C++
src/ast/Import.cpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
1
2019-06-17T07:16:01.000Z
2019-06-17T07:16:01.000Z
src/ast/Import.cpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
null
null
null
src/ast/Import.cpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
null
null
null
/* * soyac - Soya Programming Language compiler * Copyright (c) 2009 Denis Washington <dwashington@gmx.net> * * This file is distributed under the terms of the MIT license. * See LICENSE.txt for details. */ #include "Import.hpp" namespace soyac { namespace ast { Import::Import() { } }}
13.590909
63
0.695652
denisw
2911ba4bcd0e1dbf50934f958c59da2234e4ea66
520
cpp
C++
Hackerrank/apple-and-orange.cpp
ronayumik/Learning-c-
b754d5e6ce92f091f1175a866c99c49561e87f22
[ "MIT" ]
null
null
null
Hackerrank/apple-and-orange.cpp
ronayumik/Learning-c-
b754d5e6ce92f091f1175a866c99c49561e87f22
[ "MIT" ]
3
2019-04-13T16:27:37.000Z
2019-04-13T16:52:57.000Z
Hackerrank/apple-and-orange.cpp
ronayumik/Learning-c-
b754d5e6ce92f091f1175a866c99c49561e87f22
[ "MIT" ]
1
2018-12-05T23:17:35.000Z
2018-12-05T23:17:35.000Z
#include<bits/stdc++.h> using namespace std; int s,t,b,a,m,n; int apple, orange; int temp; void countApple(int pos){ if(pos+a<= t && pos+a >= s) apple++; } void countOrange(int pos){ if(pos+b<= t && pos+b >= s) orange++; } int main(){ cin >> s >> t >> a >> b >> m >> n; apple=0; orange=0; ...
14.444444
41
0.498077
ronayumik
29124957a1301654529a161d64a0868e67fea641
322
hpp
C++
openstudiocore/src/isomodel/ISOModelAPI.hpp
OpenStudioThailand/OpenStudio
4e2173955e687ef1b934904acc10939ac0bed52f
[ "MIT" ]
1
2017-10-13T09:23:04.000Z
2017-10-13T09:23:04.000Z
openstudiocore/src/isomodel/ISOModelAPI.hpp
OpenStudioThailand/OpenStudio
4e2173955e687ef1b934904acc10939ac0bed52f
[ "MIT" ]
null
null
null
openstudiocore/src/isomodel/ISOModelAPI.hpp
OpenStudioThailand/OpenStudio
4e2173955e687ef1b934904acc10939ac0bed52f
[ "MIT" ]
1
2022-03-20T13:19:42.000Z
2022-03-20T13:19:42.000Z
#ifndef ISOMODEL_ISOMODELAPI_HPP #define ISOMODEL_ISOMODELAPI_HPP #if (_WIN32 || _MSC_VER) && SHARED_OS_LIBS #ifdef openstudio_isomodel_EXPORTS #define ISOMODEL_API __declspec(dllexport) #else #define ISOMODEL_API __declspec(dllimport) #endif #else #define ISOMODEL_API #endif #endi...
21.466667
48
0.736025
OpenStudioThailand
291384cb483441cff73b50373db6157e280152f1
12,672
cc
C++
caffe2/core/plan_executor_test.cc
Gamrix/pytorch
b5b158a6c6de94dfb983b447fa33fea062358844
[ "Intel" ]
null
null
null
caffe2/core/plan_executor_test.cc
Gamrix/pytorch
b5b158a6c6de94dfb983b447fa33fea062358844
[ "Intel" ]
null
null
null
caffe2/core/plan_executor_test.cc
Gamrix/pytorch
b5b158a6c6de94dfb983b447fa33fea062358844
[ "Intel" ]
null
null
null
#ifndef ANDROID #include <gtest/gtest.h> #include "caffe2/core/init.h" #include "caffe2/core/operator.h" #include "caffe2/core/plan_executor.h" namespace caffe2 { // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) TEST(PlanExecutorTest, EmptyPlan) { PlanDef plan_def; Workspace ws; EXPECT_TRU...
28.997712
103
0.716619
Gamrix
291f66c1a11ea1d00b7755300b31946c36e2775a
2,631
cpp
C++
Script/src/StardustScript.cpp
IridescentRose/Stardust-Engine
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
55
2020-10-07T01:54:49.000Z
2022-03-26T11:39:11.000Z
Script/src/StardustScript.cpp
IridescentRose/Ionia
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
15
2020-05-30T18:22:50.000Z
2020-08-08T11:01:36.000Z
Script/src/StardustScript.cpp
IridescentRose/Ionia
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
6
2020-10-22T11:09:47.000Z
2022-01-07T13:10:09.000Z
#include <StardustScript.h> #include <Platform/Platform.h> #if CURRENT_PLATFORM == PLATFORM_PSP #include <pspdebug.h> #define pspDebugScreenPrintf printf #else #include <stdio.h> #endif #include <iostream> namespace Stardust::Scripting { static int lua_plat_init(lua_State* L) { int argc = lua_gettop(L); if (arg...
21.743802
87
0.675789
IridescentRose
292213e9f206445c7583d299e36938a70f06dccb
887
cpp
C++
dp/lis_seg/lis.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
dp/lis_seg/lis.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
dp/lis_seg/lis.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; // 最長増加部分列 // 計算量 o(nlog(n)) /* 参考リンク AIZU ONLINE JUDGE https://onlinejudge.u-aizu.ac.jp/problems/DPL_1_D LIS でも大活躍! DP の配列使いまわしテクニックを特集 https://qiita....
19.282609
61
0.57159
Takumi1122
2924fcd702a37f927efc9d3d452ce60b7c8a1f5d
2,085
cpp
C++
Socket/Communication.cpp
Kaptnik/CIS-687-RemoteTestHarness
3a1466d4b71cef7bee2791020a2902d3e658fb64
[ "MIT" ]
null
null
null
Socket/Communication.cpp
Kaptnik/CIS-687-RemoteTestHarness
3a1466d4b71cef7bee2791020a2902d3e658fb64
[ "MIT" ]
null
null
null
Socket/Communication.cpp
Kaptnik/CIS-687-RemoteTestHarness
3a1466d4b71cef7bee2791020a2902d3e658fb64
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Communication.cpp - A class that encapsulates both a Sender and Receiver// // ver 1.0 // // Karthik Umashankar, CSE687 - Object Oriented Design, Summer 2018 // /////////////////////////////////////////////////////...
28.561644
86
0.680576
Kaptnik
29286c1d6014c8c05b9951746e2f0781c259ccb7
5,274
cpp
C++
example/cluster.cpp
apppur/canna
bdcce4f16be56da40445fec79959b6bc90003573
[ "MIT" ]
null
null
null
example/cluster.cpp
apppur/canna
bdcce4f16be56da40445fec79959b6bc90003573
[ "MIT" ]
null
null
null
example/cluster.cpp
apppur/canna
bdcce4f16be56da40445fec79959b6bc90003573
[ "MIT" ]
null
null
null
#include <pthread.h> #include <stdio.h> #include <string> #include <vector> #include <queue> #include "canna_core.h" #include "canna_random.h" #include "zmq.hpp" #define CLIENTS_NUM 10 #define WORKERS_NUM 5 #define WORKER_READY "READY" static char *self; static int serial = 0; static void * client_task(void *args) {...
28.354839
78
0.569776
apppur
2929d38f9a77d4eac67e50c5c8ca24b3d587cc12
3,007
cpp
C++
big-sort-lib/src/visualm.cpp
mvodya/BigSortCollection
d7b217d3ba8d712629c3b856bfb3e426525ca8b2
[ "MIT" ]
null
null
null
big-sort-lib/src/visualm.cpp
mvodya/BigSortCollection
d7b217d3ba8d712629c3b856bfb3e426525ca8b2
[ "MIT" ]
null
null
null
big-sort-lib/src/visualm.cpp
mvodya/BigSortCollection
d7b217d3ba8d712629c3b856bfb3e426525ca8b2
[ "MIT" ]
null
null
null
#include "bigsortlib/visualm.h" using namespace sortlib; // Error callback for GLFW void VisualModule::error_callback(int error, const char* description) { printf("Error: %s\n", description); } // Key events callback from GLFW void VisualModule::key_callback(GLFWwindow* window, int key, int scancode, ...
24.25
79
0.602594
mvodya
29314c05f43ced8bb37ef5c5e05c2e3be6232407
13,126
hpp
C++
include/thread_pool.hpp
diharaw/dwThreadPool
cc21bf479f305897cd7e41ffc5c8968abb05455e
[ "MIT" ]
25
2017-01-25T05:57:24.000Z
2021-11-21T18:29:27.000Z
include/thread_pool.hpp
diharaw/dwThreadPool
cc21bf479f305897cd7e41ffc5c8968abb05455e
[ "MIT" ]
null
null
null
include/thread_pool.hpp
diharaw/dwThreadPool
cc21bf479f305897cd7e41ffc5c8968abb05455e
[ "MIT" ]
5
2017-05-02T22:32:40.000Z
2021-09-21T19:42:59.000Z
#pragma once #include <functional> #include <thread> #include <vector> #include <atomic> #include <algorithm> #include <condition_variable> #define MAX_TASKS 1024u #define MAX_DEPENDENCIES 16u #define MAX_CONTINUATIONS 16u #define MASK MAX_TASKS - 1u #define TASK_SIZE_BYTES 128 namespace dw { // -...
32.897243
135
0.30192
diharaw
a09599afe4816fdb13c6ccd94d5cc5f7c097eb16
3,229
cpp
C++
example/decomp/main.cpp
pdobrowo/libcs2
25d8bfeadcf3eff6be34caa85000a00e41b3b57e
[ "MIT" ]
null
null
null
example/decomp/main.cpp
pdobrowo/libcs2
25d8bfeadcf3eff6be34caa85000a00e41b3b57e
[ "MIT" ]
null
null
null
example/decomp/main.cpp
pdobrowo/libcs2
25d8bfeadcf3eff6be34caa85000a00e41b3b57e
[ "MIT" ]
null
null
null
/** * Copyright (c) 2015-2019 Przemysław Dobrowolski * * This file is part of the Configuration Space Library (libcs2), a library * for creating configuration spaces of various motion planning problems. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
27.598291
126
0.631155
pdobrowo
a09719e6e27cd69a7d37181d29ea9ed037e9205f
2,866
cpp
C++
src/scan.cpp
Licmeth/pixiple
1871124ef2d9d2384cb384095f14d71c5664f62b
[ "MIT" ]
50
2019-01-24T16:23:05.000Z
2021-12-29T17:38:07.000Z
src/scan.cpp
Licmeth/pixiple
1871124ef2d9d2384cb384095f14d71c5664f62b
[ "MIT" ]
5
2016-12-26T16:54:38.000Z
2018-09-28T23:59:26.000Z
src/scan.cpp
Licmeth/pixiple
1871124ef2d9d2384cb384095f14d71c5664f62b
[ "MIT" ]
13
2019-08-03T07:41:02.000Z
2022-03-10T05:59:40.000Z
#include "shared.h" #include "image.h" #include "window.h" #include "shared/com.h" #include <filesystem> #include <string> #include <vector> #include <ShlObj.h> static bool is_image(const std::wstring& filename) { const std::wstring extensions[] { L".jpg", L".jpe", L".jpeg", L".png", L".gif", ...
27.037736
110
0.634682
Licmeth
a0a146e2ea796883df57f49876eed2eb8fc153e3
480
cpp
C++
CS Academy/CS Academy - Travel Distance.cpp
akash246/Competitive-Programming-Solutions
68db69ba8a771a433e5338bc4e837a02d3f89823
[ "MIT" ]
28
2017-11-08T11:52:11.000Z
2021-07-16T06:30:02.000Z
CS Academy/CS Academy - Travel Distance.cpp
akash246/Competitive-Programming-Solutions
68db69ba8a771a433e5338bc4e837a02d3f89823
[ "MIT" ]
null
null
null
CS Academy/CS Academy - Travel Distance.cpp
akash246/Competitive-Programming-Solutions
68db69ba8a771a433e5338bc4e837a02d3f89823
[ "MIT" ]
30
2017-09-01T09:14:27.000Z
2021-04-12T12:08:56.000Z
#include <iostream> #include <string> using namespace std; int ABS(int n){ return n < 0 ? -1*n : n; } int main() { string s; cin>>s; int r = 0; int c = 0; for(char ch : s){ if(ch == 'W'){ c--; } else if(ch == 'E'){ c++; } ...
13.333333
32
0.329167
akash246
a0a943b6d751922662c9f8c8d73eeba4399918b4
5,461
cpp
C++
src/game_api/script/usertypes/entities_activefloors_lua.cpp
jaythebusinessgoose/overlunky
12d8ee353fda01a53d2aa753b539319ed41d940e
[ "MIT" ]
56
2020-11-17T06:13:55.000Z
2022-03-05T19:21:25.000Z
src/game_api/script/usertypes/entities_activefloors_lua.cpp
jaythebusinessgoose/overlunky
12d8ee353fda01a53d2aa753b539319ed41d940e
[ "MIT" ]
99
2020-11-19T15:29:59.000Z
2022-03-28T21:12:50.000Z
src/game_api/script/usertypes/entities_activefloors_lua.cpp
jaythebusinessgoose/overlunky
12d8ee353fda01a53d2aa753b539319ed41d940e
[ "MIT" ]
47
2020-11-20T03:34:52.000Z
2022-02-22T17:48:02.000Z
#include "entities_activefloors_lua.hpp" #include "entities_activefloors.hpp" #include <sol/sol.hpp> namespace NEntitiesActiveFloors { void register_usertypes(sol::state& lua) { lua["Entity"]["as_crushtrap"] = &Entity::as<Crushtrap>; lua["Entity"]["as_olmec"] = &Entity::as<Olmec>; lua["Entity"]["as_woode...
29.203209
77
0.592749
jaythebusinessgoose
a0a9a49fb7cee4cc982a83c5c96147b1ce9a9eeb
7,121
cpp
C++
GameEngineArchitecture/source/Model.cpp
Cubes58/Team_NoName_GameEngine
5b1f75a61c43a1e1649b5a34a799aab65af70afd
[ "MIT" ]
null
null
null
GameEngineArchitecture/source/Model.cpp
Cubes58/Team_NoName_GameEngine
5b1f75a61c43a1e1649b5a34a799aab65af70afd
[ "MIT" ]
null
null
null
GameEngineArchitecture/source/Model.cpp
Cubes58/Team_NoName_GameEngine
5b1f75a61c43a1e1649b5a34a799aab65af70afd
[ "MIT" ]
null
null
null
#include "Model.h" #include <assimp/postprocess.h> #include <stb_image/stb_image.h> #include <iostream> Model::Model(std::string p_FilePath) { LoadModel(p_FilePath); } Model::Model(const std::string &p_FilePath, bool &p_ModelLoaded) { p_ModelLoaded = LoadModel(p_FilePath); } void Model::Render(const unsigned int p...
35.078818
136
0.728409
Cubes58
a0ab9189b149658c98ac880cfd7f32e3c8c1c797
901
cpp
C++
src/rogue_game/display/player_display.cpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
10
2018-09-13T14:47:07.000Z
2022-01-10T11:46:12.000Z
src/rogue_game/display/player_display.cpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
13
2018-09-18T19:36:32.000Z
2020-11-12T16:26:22.000Z
src/rogue_game/display/player_display.cpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
null
null
null
#include <display/player_display.hpp> #include <utility/point.hpp> #include <character/player.hpp> PlayerDisplay::PlayerDisplay(std::size_t x, std::size_t y, std::size_t width, std::size_t height) : DisplayPanel(x, y, width, height) { } void PlayerDisplay::show(const Player& player) { ...
32.178571
92
0.624861
tanacchi
a0b3efc0567d853a1c4a45b3551140878fcc8554
44,404
cpp
C++
nao_dcm_robot/nao_dcm_driver/src/nao.cpp
costashatz/nao_dcm
b3fc8656e5e8cc4cd354effa203a8cdfd926bf7c
[ "BSD-3-Clause" ]
10
2015-02-14T04:42:48.000Z
2022-02-28T17:35:38.000Z
nao_dcm_robot/nao_dcm_driver/src/nao.cpp
costashatz/nao_dcm
b3fc8656e5e8cc4cd354effa203a8cdfd926bf7c
[ "BSD-3-Clause" ]
2
2015-03-09T14:59:00.000Z
2016-04-08T16:50:50.000Z
nao_dcm_robot/nao_dcm_driver/src/nao.cpp
costashatz/nao_dcm
b3fc8656e5e8cc4cd354effa203a8cdfd926bf7c
[ "BSD-3-Clause" ]
6
2015-05-21T02:09:30.000Z
2021-04-27T14:26:58.000Z
/** Copyright (c) 2014-2015, Konstantinos Chatzilygeroudis All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditio...
38.848644
142
0.587064
costashatz
a0b4c2f1c8c4ede43931ff2b88bab70625ddb861
703
cpp
C++
sample-source/OPENCVBook/chapter03/3.6.1 Staturate Cast/saturate_cast.cpp
doukhee/opencv-study
b7e8a5c916070ebc762c33d7fe307b6fcf88abf4
[ "MIT" ]
null
null
null
sample-source/OPENCVBook/chapter03/3.6.1 Staturate Cast/saturate_cast.cpp
doukhee/opencv-study
b7e8a5c916070ebc762c33d7fe307b6fcf88abf4
[ "MIT" ]
null
null
null
sample-source/OPENCVBook/chapter03/3.6.1 Staturate Cast/saturate_cast.cpp
doukhee/opencv-study
b7e8a5c916070ebc762c33d7fe307b6fcf88abf4
[ "MIT" ]
null
null
null
#include <opencv2/opencv.hpp> using namespace std; using namespace cv; int main() { /** * I(x, t)= min(max(round(r), 0),255) * 포화 산술 연산 - 어떤 연산의 결과 값을 8비트로 저장을 한다고 할때, * 8비트 제한 범위를 넘으면 () 또는 255 가운데 가까운 값을 사용하는 것이다. * OpenCV에서는 행렬에 대해서 연산을 할 경우에는 기본적으로 포화 산술이 적용 된다. */ /* Matx 객체 선언 */ Matx<uchar, 2, 2...
20.085714
53
0.578947
doukhee
a0b4e74e9aae6ad8bc56ad444e3d61562465cb85
2,356
cpp
C++
fuzz-tests/primes.cpp
deadpool2794/Cp
26eab96ef8ea336615fa8d6fadaa8e4d7d6f3a3c
[ "MIT" ]
152
2019-04-09T18:26:41.000Z
2022-03-20T23:19:41.000Z
fuzz-tests/primes.cpp
deadpool2794/Cp
26eab96ef8ea336615fa8d6fadaa8e4d7d6f3a3c
[ "MIT" ]
1
2020-12-29T03:02:22.000Z
2020-12-29T03:02:22.000Z
fuzz-tests/primes.cpp
deadpool2794/Cp
26eab96ef8ea336615fa8d6fadaa8e4d7d6f3a3c
[ "MIT" ]
36
2019-11-28T09:27:01.000Z
2022-03-10T18:22:13.000Z
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for(int i = a; i < int(b); ++i) #define trav(a, v) for(auto& a : v) #define all(x) x.begin(), x.end() #define sz(x) (int)(x).size() typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; struct prime_sieve { typedef unsigned char ...
25.89011
61
0.556452
deadpool2794
a0b58e750d7ea2bbcada23de261f787acfef5267
5,813
cpp
C++
digital/PreambleCorrelator.cpp
willcode/PothosComms
6c6ae8ccb6a9c996a67e2ca646aff79c74bb83fa
[ "BSL-1.0" ]
14
2017-10-28T08:40:08.000Z
2022-03-19T06:08:55.000Z
digital/PreambleCorrelator.cpp
BelmY/PothosComms
9aa48b827b3813b3ba2b98773f3359b30ebce346
[ "BSL-1.0" ]
22
2015-08-25T21:18:13.000Z
2016-12-31T02:23:47.000Z
digital/PreambleCorrelator.cpp
pothosware/pothos-comms
cff998cca2c9610d3e7e5480fd4fc692c13d3066
[ "BSL-1.0" ]
13
2018-01-03T15:29:44.000Z
2022-03-19T06:09:00.000Z
// Copyright (c) 2015-2017 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include <Pothos/Framework.hpp> #include <cstdint> #include <complex> #include <cassert> #include <iostream> //provide __popcnt() #ifdef _MSC_VER # include <intrin.h> #elif __GNUC__ # define __popcnt __builtin_popcount #else # error "provide ...
34.194118
134
0.63616
willcode
a0bad0063e69e3863c1aa851d4a4bb70261e6ebc
1,209
cpp
C++
LeetCode/ThousandTwo/1417-reformat_the_string.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1417-reformat_the_string.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1417-reformat_the_string.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 1417. 重新格式化字符串 给你一个混合了数字和字母的字符串 s,其中的字母均为小写英文字母。 请你将该字符串重新格式化,使得任意两个相邻字符的类型都不同。 也就是说,字母后面应该跟着数字,而数字后面应该跟着字母。 请你返回 重新格式化后 的字符串;如果无法按要求重新格式化,则返回一个 空字符串 。 示例 1: 输入:s = "a0b1c2" 输出:"0a1b2c" 解释:"0a1b2c" 中任意两个相邻字符的类型都不同。 "a0b1c2", "0a1b2c", "0c2a1b" 也是满足题目要求的答案。 示例 2: 输入:s = "leetcode" 输出:""...
14.925926
70
0.629446
Ginkgo-Biloba