hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
fd5dc361bd3e018873745bd51d8606b01c09b3c9
1,179
cpp
C++
Source/Framework/Core/Scene/TeSceneActor.cpp
GameDevery/TweedeFrameworkRedux
69a28fe171db33d00066b97b9b6bf89f6ef3e3a4
[ "MIT" ]
14
2022-02-25T15:52:35.000Z
2022-03-30T18:44:29.000Z
Source/Framework/Core/Scene/TeSceneActor.cpp
GameDevery/TweedeFrameworkRedux
69a28fe171db33d00066b97b9b6bf89f6ef3e3a4
[ "MIT" ]
null
null
null
Source/Framework/Core/Scene/TeSceneActor.cpp
GameDevery/TweedeFrameworkRedux
69a28fe171db33d00066b97b9b6bf89f6ef3e3a4
[ "MIT" ]
1
2022-02-28T09:24:05.000Z
2022-02-28T09:24:05.000Z
#include "TeSceneActor.h" #include "Scene/TeSceneObject.h" namespace te { void SceneActor::SetTransform(const Transform& transform) { if (_mobility != ObjectMobility::Movable) return; _transform = transform; _markCoreDirty(ActorDirtyFlag::Transform); } void SceneAc...
24.061224
67
0.583545
GameDevery
fd5e29e923774d0d8c7fe8128735a10d11f28d8f
179
cpp
C++
MIDI Test/AppMisc.cpp
MiguelGuthridge/HDSQs-MIDI-Editor
a5d6a2ea84b5123fb8f1aa0921da0b04e6e6cc27
[ "MIT" ]
null
null
null
MIDI Test/AppMisc.cpp
MiguelGuthridge/HDSQs-MIDI-Editor
a5d6a2ea84b5123fb8f1aa0921da0b04e6e6cc27
[ "MIT" ]
1
2018-07-01T08:51:05.000Z
2018-08-18T10:40:53.000Z
MIDI Test/AppMisc.cpp
HDSQmid/HDSQs-MIDI-Editor
a5d6a2ea84b5123fb8f1aa0921da0b04e6e6cc27
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "AppMisc.h" #include "files.h" #include "settings.h" void quit() { if (settings->getSaveBackup()) { if (fileIsOpen()) fileClose(); } exit(0); }
13.769231
33
0.642458
MiguelGuthridge
5b75c18d9b1542b364a78809fa133fda3dbe7aff
3,665
cpp
C++
IrisLangLibrary/src/IrisThread/IrisThreadManager.cpp
yuwenhuisama/Iris-Language
d2cabe4bb89628a33bc34e429d1fdce6f3f076e6
[ "Apache-2.0" ]
13
2016-03-15T06:44:57.000Z
2021-06-13T16:37:48.000Z
IrisLangLibrary/src/IrisThread/IrisThreadManager.cpp
yuwenhuisama/Iris-Language
d2cabe4bb89628a33bc34e429d1fdce6f3f076e6
[ "Apache-2.0" ]
null
null
null
IrisLangLibrary/src/IrisThread/IrisThreadManager.cpp
yuwenhuisama/Iris-Language
d2cabe4bb89628a33bc34e429d1fdce6f3f076e6
[ "Apache-2.0" ]
5
2016-03-15T07:31:49.000Z
2017-02-01T04:30:45.000Z
#include "IrisThread/IrisThreadManager.h" #include "IrisInterpreter/IrisNativeModules/IrisGC.h" //static size_t s_nMainThreadID; // //thread::id IrisThreadManager::s_nMainThreadID; // //unordered_map<thread::id, IrisThreadUniqueInfo*> IrisThreadManager::s_mpThreadInfoMap; //unordered_map<thread::id, thread*> IrisThrea...
27.977099
99
0.790723
yuwenhuisama
5b761d237815499f3ea18cef7db30e868deba68d
1,044
cpp
C++
tarea2/ejercicio2.cpp
pystudent1913/algoritmos
58957beb3136611897d5e37031054aaf854edb5e
[ "MIT" ]
null
null
null
tarea2/ejercicio2.cpp
pystudent1913/algoritmos
58957beb3136611897d5e37031054aaf854edb5e
[ "MIT" ]
null
null
null
tarea2/ejercicio2.cpp
pystudent1913/algoritmos
58957beb3136611897d5e37031054aaf854edb5e
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void ingresarNotas (int); void validaroUniversal(); int *notas; int main() { int maximo; cout << "ingrese el numero de notas (maximo 40)"; cin >> maximo; ingresarNotas(maximo); validaroUniversal(); return 0; } void ingresarNotas(int maximo) { cout<<"ingrese calificac...
20.076923
68
0.618774
pystudent1913
5b76206abdec46b5dd34feea66c57283cbd1858b
1,132
cpp
C++
Number Theory/extendedgcd.cpp
MYK12397/Algorithmic-Techniques
36b42aec550fba9ff49a74a383f6e9729e63dbc8
[ "MIT" ]
null
null
null
Number Theory/extendedgcd.cpp
MYK12397/Algorithmic-Techniques
36b42aec550fba9ff49a74a383f6e9729e63dbc8
[ "MIT" ]
null
null
null
Number Theory/extendedgcd.cpp
MYK12397/Algorithmic-Techniques
36b42aec550fba9ff49a74a383f6e9729e63dbc8
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; #define ll long long #define pb push_back const int mod =(int)1e9+7; /*int d,x,y; void extendedeuclid(int a,int b){ if(b==0){ d=a; x=1; y=0; } else{ extendedeuclid(b,a%b); int tmp=x; x=y; y=temp-(a/b)*y; } }*/ class triplet{ public: ll g...
12.863636
34
0.506184
MYK12397
5b82b197ef4d2597f7a753c6057aca16f4265913
9,710
hpp
C++
sources/include/vssetup.hpp
fstudio/clangbuilder
d7c9b108afbf7eba7e614ca9ffd3b88d0cd061de
[ "MIT" ]
106
2016-01-25T11:15:37.000Z
2022-01-12T23:57:02.000Z
sources/include/vssetup.hpp
fstudio/clangbuilder
d7c9b108afbf7eba7e614ca9ffd3b88d0cd061de
[ "MIT" ]
45
2016-02-19T03:26:54.000Z
2021-06-12T13:36:43.000Z
sources/include/vssetup.hpp
fstudio/clangbuilder
d7c9b108afbf7eba7e614ca9ffd3b88d0cd061de
[ "MIT" ]
19
2016-05-08T08:58:03.000Z
2021-06-04T09:39:42.000Z
/////// #ifndef CBUI_VSSETUP_HPP #define CBUI_VSSETUP_HPP #include <objbase.h> // Published by Visual Studio Setup team // Microsoft.VisualStudio.Setup.Configuration.Native #include "Setup.Configuration.h" #include "comutils.hpp" #include "systemtools.hpp" #include "vsinstance.hpp" #include <bela/strip.hp...
33.253425
101
0.671473
fstudio
5b830ad75cc10180f40c19876b9a23d9392ca836
1,818
cc
C++
application/common/db_store_json_impl_unittest.cc
takethathe/crosswalk
77e1a886f1215b75da9bd13f97afd7959b4f419b
[ "BSD-3-Clause" ]
1
2019-01-16T06:49:51.000Z
2019-01-16T06:49:51.000Z
application/common/db_store_json_impl_unittest.cc
mbbill/crosswalk
8275d116c21430fe04c27271e4c41936e7488b57
[ "BSD-3-Clause" ]
null
null
null
application/common/db_store_json_impl_unittest.cc
mbbill/crosswalk
8275d116c21430fe04c27271e4c41936e7488b57
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/application/common/db_store_json_impl.h" #include "base/file_util.h" #include "base/files/scoped_temp_dir.h" #include "base/json/json_fi...
30.813559
78
0.736524
takethathe
5b8f07fef557d377c9ae80e31bcf664e1304cb07
1,524
cc
C++
core/proc/colormap.cc
amyznikov/qlidarview
a9826233ca5c8246d4fcdf23e6265ad2dad8e0c0
[ "CC0-1.0" ]
null
null
null
core/proc/colormap.cc
amyznikov/qlidarview
a9826233ca5c8246d4fcdf23e6265ad2dad8e0c0
[ "CC0-1.0" ]
null
null
null
core/proc/colormap.cc
amyznikov/qlidarview
a9826233ca5c8246d4fcdf23e6265ad2dad8e0c0
[ "CC0-1.0" ]
null
null
null
/* * colormap.cc * * Created on: Mar 18, 2022 * Author: amyznikov */ #include "colormap.h" #include <core/ssprintf.h> #include <core/debug.h> template<> const c_enum_member * members_of<COLORMAP>() { static constexpr c_enum_member members[] = { { COLORMAP_NONE, "NONE", "" }, { COLORMAP_JET, "J...
26.736842
75
0.574147
amyznikov
5b8f8559c869a17c673745ebac36a905449aea72
2,286
cpp
C++
euler024.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler024.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler024.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
/** * Problem 24 「辞書式順列」 * 順列とはモノの順番付きの並びのことである. たとえば, 3124は数 1, 2, 3, 4 の一つの順列である. * すべての順列を数の大小でまたは辞書式に並べたものを辞書順と呼ぶ. 0と1と2の順列を辞書順に並べると * * 012 021 102 120 201 210 * になる. * * 0,1,2,3,4,5,6,7,8,9からなる順列を辞書式に並べたときの100万番目はいくつか? */ #include <cmath> #include <cstdint> #include <iostream> #include <stdexcept> #incl...
24.319149
106
0.646107
suihan74
5b900ac68cd8d887d044cee6626cd7c2833be086
50
cpp
C++
src/core/ent/ent_base.cpp
KEGEStudios/Moon
0e6aa078c8bf876c60aafe875ef53217ebdc74f1
[ "MIT" ]
null
null
null
src/core/ent/ent_base.cpp
KEGEStudios/Moon
0e6aa078c8bf876c60aafe875ef53217ebdc74f1
[ "MIT" ]
null
null
null
src/core/ent/ent_base.cpp
KEGEStudios/Moon
0e6aa078c8bf876c60aafe875ef53217ebdc74f1
[ "MIT" ]
1
2021-02-21T08:26:40.000Z
2021-02-21T08:26:40.000Z
#include "../../../template/core/ent/ent_base.tpp"
50
50
0.66
KEGEStudios
5b947fecbefddda0848f0584243abc33d2c3f2b3
707
cpp
C++
apps/1d/burgers/sine_to_n/QinitFunc.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/1d/burgers/sine_to_n/QinitFunc.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/1d/burgers/sine_to_n/QinitFunc.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
#include <cmath> #include "constants.h" #include "tensors.h" // This is a user-supplied routine that sets the // initial conditions at all the points "xpts" // // Note: for Burger's equation with these initial conditions, the solution // stays smooth until 1 / (2*pi) \approx 1.591549430918953e-01. // // See: LeVeque p...
25.25
74
0.620934
dcseal
5b98384836b1d7302b5f056232f0d8510c08b101
6,579
cpp
C++
flare/src/actor_collider.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
14
2019-04-29T15:17:24.000Z
2020-12-30T12:51:05.000Z
flare/src/actor_collider.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
null
null
null
flare/src/actor_collider.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
6
2019-04-29T15:17:25.000Z
2021-11-16T03:20:59.000Z
#include "flare/actor_collider.hpp" #include "flare/block_reader.hpp" using namespace flare; ActorCollider::ActorCollider(ComponentType type) : ActorNode(type), m_IsCollisionEnabled(true) {} void ActorCollider::copy(const ActorCollider* node, ActorArtboard* artboard) { Base::copy(node, artboard); m_IsCollisionEna...
27.18595
129
0.769114
taehyub
5b99ef0f9ac2f67da283fb104dd73369b7744dca
4,666
cpp
C++
src/MCP2515/MCP2515_Io.cpp
rotoye/107-Arduino-MCP2515
70e6e2ed6918a97b8d6c681c4f8d9f6d214557a9
[ "MIT" ]
40
2020-02-21T12:42:59.000Z
2022-03-27T09:25:45.000Z
src/MCP2515/MCP2515_Io.cpp
adityathakekar/107-Arduino-MCP2515
5a0ddf728a32067d8bc849b1377bce55c649ac8e
[ "MIT" ]
29
2020-02-21T12:43:01.000Z
2022-01-31T09:12:03.000Z
src/MCP2515/MCP2515_Io.cpp
adityathakekar/107-Arduino-MCP2515
5a0ddf728a32067d8bc849b1377bce55c649ac8e
[ "MIT" ]
14
2020-02-10T10:41:11.000Z
2022-01-27T11:26:52.000Z
/** * This software is distributed under the terms of the MIT License. * Copyright (c) 2020 LXRobotics. * Author: Alexander Entinger <alexander.entinger@lxrobotics.com> * Contributors: https://github.com/107-systems/107-Arduino-MCP2515/graphs/contributors. */ /*****************************************************...
25.779006
101
0.55315
rotoye
5b9a6f9aa2145a4bde3800b1493bd726e2de711f
1,780
cpp
C++
Qor/Session.cpp
flipcoder/qor
7a2ebf667be4c913fbc7daf5e0b07a4c1723389d
[ "MIT" ]
84
2015-03-30T14:29:29.000Z
2022-01-28T12:29:25.000Z
Qor/Session.cpp
flipcoder/qor
7a2ebf667be4c913fbc7daf5e0b07a4c1723389d
[ "MIT" ]
5
2016-01-22T18:54:35.000Z
2021-07-24T10:21:12.000Z
Qor/Session.cpp
flipcoder/qor
7a2ebf667be4c913fbc7daf5e0b07a4c1723389d
[ "MIT" ]
22
2015-08-06T05:32:29.000Z
2022-03-05T13:20:46.000Z
#include "Session.h" #include "kit/log/log.h" #include <boost/filesystem.hpp> #include <boost/algorithm/string.hpp> #include "kit/fs/fs.h" using namespace std; using namespace boost; using namespace boost::filesystem; Session :: Session(std::string appname, Input* input): m_App(appname), m_pInput(input) { ...
24.054054
72
0.564607
flipcoder
5b9c4a0dc8f947495554e61d3041cd8ddbbd787b
1,394
cpp
C++
Library/Sources/Stroika/Foundation/Execution/Throw.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Library/Sources/Stroika/Foundation/Execution/Throw.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Library/Sources/Stroika/Foundation/Execution/Throw.cpp
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 */ #include "../StroikaPreComp.h" #include "../Characters/ToString.h" #include "Throw.h" #if qStroika_Foundation_Exection_Throw_TraceThrowpointBacktrace #include "../Characters/String.h" #include "../Debug/BackTrace.h" #endif using namespac...
30.977778
110
0.620516
SophistSolutions
5b9e1aa2e004213620ea6498ff6ae102c5ceedb8
2,029
cxx
C++
NuttX/misc/uClibc++/libxx/uClibc++/eh_terminate.cxx
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
24
2019-08-13T02:39:01.000Z
2022-03-03T15:44:54.000Z
NuttX/misc/uClibc++/libxx/uClibc++/eh_terminate.cxx
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
4
2020-11-16T02:03:09.000Z
2021-08-19T08:16:48.000Z
NuttX/misc/uClibc++/libxx/uClibc++/eh_terminate.cxx
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
11
2019-07-28T09:11:40.000Z
2022-03-17T08:08:27.000Z
/* Copyright (C) 2004 Garrett A. Kajmowicz * * This file is part of the uClibc++ Library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or ...
28.180556
79
0.719073
shening
5b9eb569192f78f7e0adfebb943a50c88bc92107
1,702
hpp
C++
PnC/WBC/ContactSpec.hpp
stevenjj/PnC
e1e417dbd507f174bb2661247cb4360b6ee0ada7
[ "MIT" ]
1
2020-05-04T22:36:54.000Z
2020-05-04T22:36:54.000Z
PnC/WBC/ContactSpec.hpp
stevenjj/PnC
e1e417dbd507f174bb2661247cb4360b6ee0ada7
[ "MIT" ]
null
null
null
PnC/WBC/ContactSpec.hpp
stevenjj/PnC
e1e417dbd507f174bb2661247cb4360b6ee0ada7
[ "MIT" ]
null
null
null
#pragma once #include <stdio.h> #include <Eigen/Dense> #include <iostream> #include <PnC/RobotSystem/RobotSystem.hpp> #include <Utils/IO/IOUtilities.hpp> #include <Utils/Math/MathUtilities.hpp> //! Contact Frame's z-axis should correspond normal vector to the ground class ContactSpec { public: ContactSpec(Ro...
27.451613
77
0.660987
stevenjj
5ba086382b898b99ecc8f4a8a5ac12b215c57f8b
260
cpp
C++
YorozuyaGSLib/source/_trans_account_report_wrac.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_trans_account_report_wrac.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_trans_account_report_wrac.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_trans_account_report_wrac.hpp> START_ATF_NAMESPACE int _trans_account_report_wrac::size() { using org_ptr = int (WINAPIV*)(struct _trans_account_report_wrac*); return (org_ptr(0x140207e00L))(this); }; END_ATF_NAMESPACE
23.636364
75
0.723077
lemkova
5ba37dacd8ac2e0f53c23ec2003548bcf7360380
1,355
cpp
C++
snippets/cpp/VS_Snippets_CLR/FieldInfo_SetValue/CPP/fieldinfo_setvalue.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_CLR/FieldInfo_SetValue/CPP/fieldinfo_setvalue.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_CLR/FieldInfo_SetValue/CPP/fieldinfo_setvalue.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <Snippet1> using namespace System; using namespace System::Reflection; using namespace System::Globalization; public ref class Example { private: String^ myString; public: Example() { myString = "Old value"; } property String^ StringProperty { String^ get() { return m...
26.057692
71
0.660517
BohdanMosiyuk
5ba7c308d169e49c2c23adce052a043f02d74d67
613
cpp
C++
ADVANCED/1005.cpp
sonaspy/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
1
2018-11-28T09:38:23.000Z
2018-11-28T09:38:23.000Z
ADVANCED/1005.cpp
NewGuonx/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
null
null
null
ADVANCED/1005.cpp
NewGuonx/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
null
null
null
// author - sonaspy@outlook.com // coding - utf_8 #include <iostream> #include <string> #define test() freopen("in", "r", stdin) using namespace std; int main(int argc, char const *argv[]) { /* code */ //test(); int sum; string nums[10] = {"zero", "one", "two", "three", "four", "five", "six", "seven"...
20.433333
103
0.487765
sonaspy
5ba9ee27894b541339d82be27aaa8d94b6c6dea3
4,015
cpp
C++
IHM/main.cpp
Petititi/imGraph
068890ffe2f8fa1fb51bc95b8d9296cc79737fac
[ "BSD-3-Clause" ]
2
2015-01-12T11:27:45.000Z
2015-03-25T18:24:38.000Z
IHM/main.cpp
Petititi/imGraph
068890ffe2f8fa1fb51bc95b8d9296cc79737fac
[ "BSD-3-Clause" ]
30
2015-01-07T11:59:07.000Z
2015-04-24T13:02:01.000Z
IHM/main.cpp
Petititi/imGraph
068890ffe2f8fa1fb51bc95b8d9296cc79737fac
[ "BSD-3-Clause" ]
1
2018-12-20T12:18:18.000Z
2018-12-20T12:18:18.000Z
#include "view/GraphicView.h" #ifdef _WIN32 #pragma warning(disable:4503)//deactivated globally (without push) #pragma warning(push) #pragma warning(disable:4996 4251 4244 4275 4800) #include "listOfBlocks.h" #endif #include <QApplication> #include "opencv2/features2d.hpp" #include "qtextstream.h" #ifdef _WIN32 #pragm...
63.730159
347
0.789539
Petititi
5bab9522d2ee611b52682ac9f4f9c034da0c36c1
23,381
cpp
C++
util.cpp
sxyu/watplot
7ea4e40756a084d1a5c7c0cb46a3458220a09682
[ "Apache-2.0" ]
2
2019-03-15T00:31:39.000Z
2020-08-12T01:43:51.000Z
util.cpp
sxyu/watplot
7ea4e40756a084d1a5c7c0cb46a3458220a09682
[ "Apache-2.0" ]
1
2019-03-15T01:19:01.000Z
2019-03-15T02:05:06.000Z
util.cpp
sxyu/watplot
7ea4e40756a084d1a5c7c0cb46a3458220a09682
[ "Apache-2.0" ]
1
2021-10-11T09:10:35.000Z
2021-10-11T09:10:35.000Z
#include "stdafx.h" #include "util.hpp" namespace watplot { namespace util { /* from SO */ std::string random_string(std::string::size_type length) { static auto& chrs = "0123456789" "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; ...
40.451557
114
0.430948
sxyu
5baf3f3de9b3bed763c296869329f680406d4754
1,515
cpp
C++
main.cpp
nathanmullenax83/wordtab
9cc01f7cb23fd92e40595d00f9438f24cb160de3
[ "Unlicense" ]
null
null
null
main.cpp
nathanmullenax83/wordtab
9cc01f7cb23fd92e40595d00f9438f24cb160de3
[ "Unlicense" ]
null
null
null
main.cpp
nathanmullenax83/wordtab
9cc01f7cb23fd92e40595d00f9438f24cb160de3
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> #include <map> #include <cctype> #include "dictionary.tpp" #include "sequencer.tpp" #include "formatter.tpp" using std::cin, std::string; int main(int argc, char **argv) { Dictionary dict; Sequencer seq; Formatter console; vector<string> args = console.parse_ar...
31.5625
75
0.586139
nathanmullenax83
5bb1de4df688b5991fa64f796f5cd76316df8f38
17,367
cc
C++
chrome/browser/ui/webui/snippets_internals/snippets_internals_page_handler.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/ui/webui/snippets_internals/snippets_internals_page_handler.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/ui/webui/snippets_internals/snippets_internals_page_handler.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/snippets_internals/snippets_internals_page_handler.h" #include "base/containers/flat_map.h" #include "base/feature_list...
38.253304
87
0.748431
zipated
5bb542ad3d2b57054021bda7fabe880cb06014fa
424
cpp
C++
LeetCode/Solutions/LC0448.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
LeetCode/Solutions/LC0448.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
LeetCode/Solutions/LC0448.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/ */ class Solution { public: vector<int> findDisappearedNumbers(vector<int>& nums) { int pos; vector<int> res; for (int i = 0; i < nums.size(); i++) { pos = abs(nums[i]) - 1; nums[pos] = -1 * abs(nums[pos]); } ...
22.315789
90
0.59434
Mohammed-Shoaib
5bb5607042dbe003827d313edd7fc434327659be
82
cpp
C++
Adding Your Own Libraries/Functions.cpp
isaKarabocek/Cpp-Tutorials
94bceedae55cd1985f707c136d615e8da0fcc1e4
[ "Apache-2.0" ]
null
null
null
Adding Your Own Libraries/Functions.cpp
isaKarabocek/Cpp-Tutorials
94bceedae55cd1985f707c136d615e8da0fcc1e4
[ "Apache-2.0" ]
null
null
null
Adding Your Own Libraries/Functions.cpp
isaKarabocek/Cpp-Tutorials
94bceedae55cd1985f707c136d615e8da0fcc1e4
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include"Functions.h" int square(int x) { return x*x; }
11.714286
22
0.646341
isaKarabocek
5bb8a5945ba14a7383f73cae0edcf7d71c8776df
10,551
cc
C++
wrappers/7.0.0/vtkImageCursor3DWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkImageCursor3DWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkImageCursor3DWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkImageInPlaceFilterWrap.h" #include "vtkImageCursor3DWrap.h" #include "vtkObjectWrap.h" #include "../../plus/plus.h" using namespace v8; ex...
29.227147
102
0.70799
axkibe
5bb8f76b627d0d5a69010539e9b50349984c8b12
361
cpp
C++
GameEngine/Components/ScoreComponent/ScoreComponent.cpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
GameEngine/Components/ScoreComponent/ScoreComponent.cpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
GameEngine/Components/ScoreComponent/ScoreComponent.cpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** R-TYPE ** File description: ** Created by stun3r, */ #include "ScoreComponent.hpp" ScoreComponent::ScoreComponent() : _score(0) { } int ScoreComponent::getScore() const { return _score; } void ScoreComponent::setScore(int mScore) { _score = mScore; } void ScoreComponent::addScore(i...
13.37037
44
0.703601
Stun3R
5bb936ae52a8cc0af1be986419fc22bd73ed6445
349
hpp
C++
include/Application.hpp
sirnuke/haiku-scientific-calculator
36320a37f9201abf5e5364d40419b34045ff1d4e
[ "MIT" ]
null
null
null
include/Application.hpp
sirnuke/haiku-scientific-calculator
36320a37f9201abf5e5364d40419b34045ff1d4e
[ "MIT" ]
null
null
null
include/Application.hpp
sirnuke/haiku-scientific-calculator
36320a37f9201abf5e5364d40419b34045ff1d4e
[ "MIT" ]
null
null
null
// Haiku Scientific Calculator // Bryan DeGrendel (c) 2015 // // See LICENSE for licensing information. #ifndef ___APPLICATION_H___ #define ___APPLICATION_H___ #include <AppKit.h> class Window; class Application : public BApplication { public: Application(); void ReadyToRun(); private: Window *window; }; #...
13.96
41
0.744986
sirnuke
5bb99e4934fdde31856d7e0bb0f0eafb102b45f1
1,065
cpp
C++
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
// // // #include "Graphics/Light.hpp" namespace aeyon { Light::Light() : m_type(Type::Directional), m_renderMode(RenderMode::Auto), m_color(Color::White), m_intensity(1.0f), m_range(10.0f), m_spotAngle(30.0f) { } void Light::setType(Light::Type type) { m_type = type; } void Light::setRenderMode(Lig...
14.013158
105
0.673239
Trypio
5bb9bfcdcd7d0d8fd4502d33647d8d8e1d387953
1,344
hpp
C++
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
#ifndef FLUX_NORMALMATERIAL_H #define FLUX_NORMALMATERIAL_H #include <iostream> #include <cassert> #include <string> #include <array> #include "FluxMaterial.hpp" #include "FluxRectangle2D.hpp" #include "FluxTexture.hpp" #include "FluxUtils.hpp" #include "FluxError.hpp" #include "SDL_image.h" class Sprite; namespac...
24.888889
97
0.65253
LightCollective
5bbbaddab8dc336f6e06ff3808cfa0dac343e479
1,602
cpp
C++
src/sprite/fix_single_picture_clothe.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/sprite/fix_single_picture_clothe.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/sprite/fix_single_picture_clothe.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2019 // // Lapin library #include "lapin_private.h" // This function turn into a copy of the sent sprite all defaulty filled closet sprites // EXCEPT for the underlying picture. // It is used by dressed sprite to avoid having to repeat big chunks of configura...
31.411765
110
0.691635
Damdoshi
5bbc9a3412b37287ed8fcb2281704c4301529b41
225
cpp
C++
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include <stdio.h> #include <string.h> int main() { char a[20]; gets(a); int len=strlen(a); if((a[len-1]-48)%2!=0) { printf("1\n"); } else { printf("0\n"); } return 0; }
13.235294
26
0.431111
Tech-Intellegent
5bbd7208c2480752d8b35039a58d350ff1c306a9
5,360
hpp
C++
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
2
2020-02-11T08:08:00.000Z
2020-11-06T13:51:29.000Z
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
13
2020-02-10T19:04:32.000Z
2021-05-25T14:38:30.000Z
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
1
2021-04-24T20:40:31.000Z
2021-04-24T20:40:31.000Z
// 5.45 AK Magazine class CUP_30Rnd_545x39_AK_M: CA_Magazine { mass = 10; }; class CUP_60Rnd_545x39_AK74M_M: CUP_30Rnd_545x39_AK_M { mass = 20; }; // 762 AK Magazine class CUP_30Rnd_762x39_AK47_M: CA_Magazine { mass = 11; }; class CUP_30Rnd_762x39_AK47_bakeli...
27.208122
107
0.651679
SynixeContractors
5bc1633b720dd67d1114a89743fabf24c0c9dc8b
12,412
cpp
C++
system-test/pam_authentication.cpp
Mu-L/MaxScale
95792c81856d5fe5ad627b4b1887c302ecc470bb
[ "MIT" ]
null
null
null
system-test/pam_authentication.cpp
Mu-L/MaxScale
95792c81856d5fe5ad627b4b1887c302ecc470bb
[ "MIT" ]
null
null
null
system-test/pam_authentication.cpp
Mu-L/MaxScale
95792c81856d5fe5ad627b4b1887c302ecc470bb
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2024-08-24 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
40.562092
107
0.58806
Mu-L
5bc17a3eccc2a023cbdc61d496dc39b676b0accb
245
cpp
C++
lib/seldon/doc/example/basic_example_exception.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
7
2021-01-31T23:20:07.000Z
2021-09-09T20:54:15.000Z
lib/seldon/doc/example/basic_example_exception.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
1
2021-06-07T07:52:38.000Z
2021-08-13T20:40:55.000Z
lib/seldon/doc/example/basic_example_exception.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
null
null
null
#define SELDON_DEBUG_LEVEL_4 #include "Seldon.hxx" using namespace Seldon; int main() { TRY; Matrix<double> A(3, 3); A.Zero(); A(0, 3) = 2.0; END; cout << "The program should not reach this point..." << endl; return 0; }
10.208333
63
0.604082
HongyuHe
5bc82887e54501ec6502d9ea13c9631ddd38d84f
1,788
hpp
C++
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
8
2020-11-26T08:58:55.000Z
2021-11-13T10:57:55.000Z
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
null
null
null
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 RoboMaster-OSS // // 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 ...
29.311475
75
0.750559
robomaster-oss
5bc82ab3d81ac76d5faeba692edd565987e101a9
509
cpp
C++
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
2
2017-07-06T18:27:41.000Z
2018-03-14T06:19:43.000Z
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
18
2017-10-29T20:37:47.000Z
2019-08-25T16:01:28.000Z
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
1
2017-09-13T07:02:23.000Z
2017-09-13T07:02:23.000Z
#include "FourBarracksMarine.h" #include "..\..\UnitUtil.h" using UAlbertaBot::MetaPairVector; using UAlbertaBot::MetaPair; using UAlbertaBot::UnitUtil::GetAllUnitCount; AKBot::FourBarracksMarine::FourBarracksMarine(BWAPI::Player self) : _self(self) { } void AKBot::FourBarracksMarine::getBuildOrderGoal(MetaPairVect...
28.277778
95
0.787819
kant2002
5bc8b174cbfb092c780ac0cdfaa72ab30645cdd9
923
hpp
C++
src/app/shady.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
2
2020-10-27T00:16:18.000Z
2021-03-29T12:59:48.000Z
src/app/shady.hpp
JacobDomagala/DEngine
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
58
2020-08-23T21:38:21.000Z
2021-08-05T16:12:31.000Z
src/app/shady.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
null
null
null
#pragma once #include "app/window.hpp" #include "input/input_listener.hpp" #include "scene/scene.hpp" #include <memory> namespace shady::app { class Shady : public input::InputListener { public: ~Shady() override = default; void Init(); void MainLoop(); // InputListener ov...
17.75
77
0.670639
JacobDomagala
5bc8cbd7a0d5107c2cce44332aa4e5e09684301d
4,308
cc
C++
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
1
2021-02-02T06:19:24.000Z
2021-02-02T06:19:24.000Z
#include "mediapipe/framework/calculator_framework.h" #include "mediapipe/framework/port/logging.h" // #include "mediapipe/framework/formats/image_frame.h" // #include "mediapipe/framework/formats/image_frame_opencv.h" // #include "mediapipe/gpu/gpu_buffer.h" #if !defined(MEDIAPIPE_DISABLE_GPU) // #include "mediapip...
34.190476
101
0.539461
milad-4274
5bcb04a9abf5ae86e5f923df933b641ce434e06b
940
cpp
C++
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; typedef unsigned int uint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool flag=c=='...
18.431373
45
0.610638
sshockwave
5bcd206e9835466a5120b4089c129d50f349fe17
386
cpp
C++
cmake/tests/cxx14_variable_templates.cpp
bremerm31/hpx
a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa
[ "BSL-1.0" ]
1
2019-04-29T08:34:59.000Z
2019-04-29T08:34:59.000Z
cmake/tests/cxx14_variable_templates.cpp
bremerm31/hpx
a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa
[ "BSL-1.0" ]
1
2017-07-24T07:16:26.000Z
2017-07-24T08:03:33.000Z
cmake/tests/cxx14_variable_templates.cpp
biddisco/hpx
2d244e1e27c6e014189a6cd59c474643b31fad4b
[ "BSL-1.0" ]
1
2019-03-13T04:53:43.000Z
2019-03-13T04:53:43.000Z
// Copyright (C) 2017 Hartmut Kaiser // // 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) struct true_type { enum { value = 1; } } template <typename T> struct is_foobar : true_type {}; template <typename T>...
21.444444
80
0.709845
bremerm31
5bce18471e8549a81ec74c728b18eb4346ebba41
20,127
cpp
C++
src/liboslexec/instance.cpp
sambler/OpenShadingLanguage
a31bea03eb5e45fac35e59c07c31b386c4706f46
[ "BSD-3-Clause" ]
null
null
null
src/liboslexec/instance.cpp
sambler/OpenShadingLanguage
a31bea03eb5e45fac35e59c07c31b386c4706f46
[ "BSD-3-Clause" ]
null
null
null
src/liboslexec/instance.cpp
sambler/OpenShadingLanguage
a31bea03eb5e45fac35e59c07c31b386c4706f46
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2010 Sony Pictures Imageworks Inc., et al. 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 co...
33.883838
170
0.5984
sambler
5bce622b828d241b6de4fb565780069f3b6b2658
1,101
cpp
C++
Basic/Sort/mergesort.cpp
icgw/LeetCode
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
4
2018-09-12T09:32:17.000Z
2018-12-06T03:17:38.000Z
Basic/Sort/mergesort.cpp
icgw/algorithm
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
null
null
null
Basic/Sort/mergesort.cpp
icgw/algorithm
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
null
null
null
/* * mergesort.cpp * Copyright (C) 2019 Guowei Chen <icgw@outlook.com> * * Distributed under terms of the MIT license. */ #include <iostream> void merge(int arr[], int lo, int mid, int hi) { int n1 = mid - lo + 1; int n2 = hi - mid; int *L = (int *) malloc (n1 * sizeof(int)); int *R = (int *) malloc (n...
18.04918
52
0.458674
icgw
5bd0894bc34062624a9141d9147d8ccd808165f8
1,554
cpp
C++
mission150/[Backtracking]79. Word Search.cpp
alchemz/mission-peace
59a44b1e7a8fdfdf1f6743c0e6965b49e5291326
[ "MIT" ]
null
null
null
mission150/[Backtracking]79. Word Search.cpp
alchemz/mission-peace
59a44b1e7a8fdfdf1f6743c0e6965b49e5291326
[ "MIT" ]
null
null
null
mission150/[Backtracking]79. Word Search.cpp
alchemz/mission-peace
59a44b1e7a8fdfdf1f6743c0e6965b49e5291326
[ "MIT" ]
null
null
null
/* board = [ ['A','B','C','E'], ['S','F','C','S'], ['A','D','E','E'] ] Given word = "ABCCED", return true. Given word = "SEE", return true. Given word = "ABCB", return false. 上下所有相邻的cell, 是否能组成目标字符串 logic: 典型的深度优先遍历DFS的应用,原二维数组就像是一个迷宫,可以上下左右四个方向行走, 我们以二维数组中每一个数都作为起点和给定字符串做匹配,我们还需要一个和原数组等大小的visited数组, 是bool型的,用来...
33.06383
113
0.531532
alchemz
5bd0a9cc19b521a0ecd9c0eec83cd27088faf663
2,866
cpp
C++
src/solvers/lsearch_backtrack.cpp
accosmin/zob
9e840894ffd6ab718fa800aca67e4a25e941e546
[ "MIT" ]
6
2015-04-14T19:42:38.000Z
2015-11-12T17:41:35.000Z
src/solvers/lsearch_backtrack.cpp
cyy1991/nano
9e840894ffd6ab718fa800aca67e4a25e941e546
[ "MIT" ]
93
2015-04-10T19:02:38.000Z
2016-03-09T17:56:16.000Z
src/solvers/lsearch_backtrack.cpp
accosmin/zob
9e840894ffd6ab718fa800aca67e4a25e941e546
[ "MIT" ]
2
2015-05-27T16:42:31.000Z
2015-08-21T14:39:55.000Z
#include "lsearch_backtrack.h" using namespace nano; lsearch_backtrack_armijo_t::lsearch_backtrack_armijo_t(const scalar_t c1, const scalar_t) : m_c1(c1) { } lsearch_step_t lsearch_backtrack_armijo_t::get(const lsearch_step_t& step0, const scalar_t t0) { auto t = t0; auto step = step0; ...
26.537037
117
0.42917
accosmin
5bd1983220b8653b058e44faf0c7964ae1015047
1,672
cpp
C++
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
4
2019-05-20T19:27:09.000Z
2019-11-03T04:21:53.000Z
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
5
2019-05-21T12:56:22.000Z
2019-06-23T21:33:33.000Z
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
null
null
null
#include "cws80_data_plot.h" #include "utility/dynarray.h" #include "utility/scope_guard.h" #include "utility/c++std/string_view.h" #include <memory> namespace cws80 { static std::string escape(cxx::string_view str) { size_t len = str.size(); std::string result; result.reserve(len * 2); for (size_t i ...
26.125
80
0.546053
jpcima
5bd806f42789913af748eb5eeb16f939325577bf
344
hpp
C++
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
3
2018-04-24T10:04:37.000Z
2018-05-11T08:27:03.000Z
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
null
null
null
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
3
2018-05-16T08:44:19.000Z
2020-12-04T16:04:32.000Z
#include <opencv2/opencv.hpp> #include "../../../util/src/OpenCVWindow.hpp" #include "../../../util/src/Projection.hpp" class ProjectionWindow : public OpenCVWindow { public: ProjectionWindow(cv::Point2i position, cv::Size size, Projection& projection); void drawImage(cv::Mat image_camera); protected: Pro...
22.933333
80
0.715116
fbredius
5bd82e7c893eca589657ac7020b43b620c7bbaba
4,694
cpp
C++
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */...
25.372973
80
0.722625
luisivan
5bda71233eb46e07120d47f657e5995142e846ce
3,420
cpp
C++
private/shell/tools/extwiz/extaw.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/tools/extwiz/extaw.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/tools/extwiz/extaw.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
// Extensionsaw.cpp : implementation file // #include "stdafx.h" #include "Ext.h" #include "Extaw.h" #include "chooser.h" #ifdef _PSEUDO_DEBUG #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif // This is called immediately after the custom AppWizard is loaded. Initialize // the state of the...
29.482759
80
0.696199
King0987654
5bdcefa9366068076430a3bd723515aebce93e7b
10,703
cpp
C++
src/components/metadata/fixobd/src/metadata.cpp
ghsecuritylab/comanche
a8862eaed59045377874b95b120832a0cba42193
[ "Apache-2.0" ]
19
2017-10-03T16:01:49.000Z
2021-06-07T10:21:46.000Z
src/components/metadata/fixobd/src/metadata.cpp
dnbaker/comanche
121cd0fa16e55d461b366e83511d3810ea2b11c9
[ "Apache-2.0" ]
25
2018-02-21T23:43:03.000Z
2020-09-02T08:47:32.000Z
src/components/metadata/fixobd/src/metadata.cpp
dnbaker/comanche
121cd0fa16e55d461b366e83511d3810ea2b11c9
[ "Apache-2.0" ]
19
2017-10-24T17:41:40.000Z
2022-02-22T02:17:18.000Z
#include <iostream> #include <regex> #include <sstream> #include <rapidjson/rapidjson.h> #include <rapidjson/document.h> #include <api/metadata_itf.h> #include <common/dump_utils.h> #include "metadata.h" #include "md_record.h" using namespace Component; using namespace rapidjson; Metadata::Metadata(Component::IBlock_...
25.007009
101
0.598524
ghsecuritylab
5bde5f22d6cf01012fff2238262b64ddafd54063
244
cpp
C++
cf/1131/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
cf/1131/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
cf/1131/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, a, b, aa, bb, ans = 1; int main() { cin >> n; while(n--) { cin >> a >> b; ans += max(0, min(a, b) - max(aa, bb) + (aa != bb)); aa = a; bb = b; } cout << ans << endl; return 0; }
16.266667
54
0.47541
tusikalanse
5be2ffad3758934f15928b7bb11b0380c0c2bdb4
638
cpp
C++
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
#include<stdio.h> #include<string> #include<string.h> #include<iostream> #include<stdlib.h> #include<signal.h> #include<unistd.h> #include<sqlite3.h> #include<signal.h> #include"HandleSigint.h" #include"fileRemove.h" using namespace std; /*this function will remove files after year*/ extern sqlite3 *db; void fileRemove...
22
72
0.760188
Linux-pt
5be410cbc70bb1984ca3c0ecc7a8ef02d9c55287
1,907
cpp
C++
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
3
2019-11-06T15:43:06.000Z
2020-06-05T10:47:28.000Z
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
null
null
null
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
1
2019-09-06T03:37:08.000Z
2019-09-06T03:37:08.000Z
/* write a program to demonstrate private inherited variables access permission */ #include <iostream> using namespace std; class A { private: int id; public: A(): id(0) { cout << "Calling from A" << endl; } public: A(int p_id): id(p_id) { } public: int GetId() { return id; } }; class B: public A...
17.82243
97
0.65076
Imran4424
5be6ef42705725276d246a4853fcf5c76c7dfd4d
19,560
cpp
C++
Sources/Internal/Render/2D/Systems/DynamicAtlasSystemTest.unittest.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Sources/Internal/Render/2D/Systems/DynamicAtlasSystemTest.unittest.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/Render/2D/Systems/DynamicAtlasSystemTest.unittest.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "UnitTests/UnitTests.h" #include "Base/FastName.h" #include "Base/RefPtr.h" #include "Concurrency/Thread.h" #include "Engine/EngineContext.h" #include "Job/JobManager.h" #include "Render/2D/Systems/DynamicAtlasSystem.h" #include "Render/Texture.h" #include "Render/TextureDescriptor.h" #include "Render/2D/Spri...
34.928571
129
0.684509
stinvi
5be9f2528ba64cbf37f41d48fd052e58f460f2ca
867
cc
C++
melon/resu/context/2.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
7
2017-07-16T15:09:26.000Z
2021-09-01T02:13:15.000Z
melon/resu/context/2.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
null
null
null
melon/resu/context/2.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
3
2017-09-13T09:54:49.000Z
2019-03-18T01:29:15.000Z
#include <ucontext.h> #include <stdio.h> void func1(void * arg) { puts("1"); puts("11"); puts("111"); puts("1111"); } void context_test() { char stack[1024*128]; ucontext_t child,main; getcontext(&child); //获取当前上下文 child.uc_stack.ss_sp = stack;//指定栈空间...
22.230769
109
0.576701
hankai17
5bea5f5e6bf1779dc4096ee2588acd72e2ed5184
383
cpp
C++
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
//545D - Queue #include<stdio.h> #include <algorithm> using namespace std; int main(){ int n; int que[100000],p=0; scanf("%d",&n); for(int i=0;i<n;i++)scanf("%d",&que[i]); sort(que,que+n); long long suma=0; for(int i=0;i<n;i++){ if(suma<=que[i]){ p++; sum...
17.409091
44
0.462141
wgarcia1309
5bf1edef9eff26c7e93c255bced0cf2f11366586
1,800
cpp
C++
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
1
2016-10-18T02:29:20.000Z
2016-10-18T02:29:20.000Z
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
null
null
null
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
null
null
null
// Common/StringToInt.cpp #include "StdAfx.h" #include "StringToInt.h" UInt64 ConvertStringToUInt64(const char *s, const char **end) { UInt64 result = 0; for (;;) { char c = *s; if (c < '0' || c > '9') { if (end != NULL) *end = s; return result; } resul...
18.367347
68
0.46
LiveMirror
5bfd8440b0e2ad9539c2151c17c1432e3d558395
198
hh
C++
src/elle/log/fwd.hh
wk8/elle
a66d3c0aeca86bcd13ec14d3797edc660b2496fc
[ "Apache-2.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
src/elle/log/fwd.hh
mefyl/elle
a8154593c42743f45b9df09daf62b44630c24a02
[ "Apache-2.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
src/elle/log/fwd.hh
mefyl/elle
a8154593c42743f45b9df09daf62b44630c24a02
[ "Apache-2.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
#pragma once namespace elle { namespace log { namespace detail { struct Send; } class CompositeLogger; class FileLogger; class Logger; class TextLogger; } }
11.647059
26
0.611111
wk8
5bff29986e5e26f27a8f4a9811d4b3a62c335423
194
cpp
C++
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int H,M,S,time; cin>>time; H=time/3600; time%=3600; M=time/60; time%=60; S=time; cout<<H<<':'<<M<<':'<<S; return 0; }
12.933333
26
0.541237
codexvn
750216cbe286c174a61677903e487f520b671577
7,569
cc
C++
chrome/installer/util/install_service_work_item_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/installer/util/install_service_work_item_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/installer/util/install_service_work_item_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/installer/util/install_service_work_item.h" #include "chrome/installer/util/install_service_work_item_impl.h" #include <memory> #include...
37.656716
80
0.732065
sarang-apps
7502e62de121ada92a815e67c913fb52a43ed365
1,624
inl
C++
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
namespace ph { template<typename T, typename... Args> void EntitiesTemplateStorage::assign(const std::string& templateName, Args&&... arguments) { auto entityTemplate = mTemplatesMap.at(templateName); mTemplatesRegistry.assign<T>(entityTemplate, arguments...); } template<typename T, typename... Args> void EntitiesT...
29
101
0.78633
MirrasHue
75043a97fd2b37be88b853d11ae47972b47c2e83
3,204
cpp
C++
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
// This file is part of the Yttrium toolkit. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include <yttrium/base/logger.h> #include "ring_log.h" #include <atomic> #include <cassert> #include <condition_variable> #include <iostream> #include <mutex> #include <thread> namespace { static...
24.458015
131
0.669164
blagodarin
7506628aa934246b369cb4671ecf5c6eac35480f
15,990
cxx
C++
main/chart2/source/tools/RegressionCurveModel.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/chart2/source/tools/RegressionCurveModel.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/chart2/source/tools/RegressionCurveModel.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
36.506849
146
0.719762
Grosskopf
7506eb9c65e13225df00efd8f07260a6c9016d1f
512
hpp
C++
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
// // XYO // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #ifndef XYO_DATASTRUCTURES_TGETCLASSOFMEMBER_HPP #define XYO_DATASTRUCTURES_TGETCLASSOFMEMBER_HPP #ifndef XYO__DEPEN...
18.285714
63
0.703125
g-stefan
750723c6225ceb501ee7042e102824b9504268d1
3,801
cpp
C++
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
16
2017-02-28T20:03:06.000Z
2021-01-25T05:27:05.000Z
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
null
null
null
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
7
2019-09-25T17:48:51.000Z
2021-10-05T08:43:37.000Z
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
32.487179
85
0.572481
Outerra
750b4b4a2dcfb292aa1414ba69b5f23c9831332a
4,643
cpp
C++
@DOC by DIPTA/Old/@Data Structure/segment tree - vector.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
6
2018-10-15T18:45:05.000Z
2022-03-29T04:30:10.000Z
@DOC by DIPTA/Old/@Data Structure/segment tree - vector.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
null
null
null
@DOC by DIPTA/Old/@Data Structure/segment tree - vector.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
4
2018-01-07T06:20:07.000Z
2019-08-21T15:45:59.000Z
///*********points in rectangle********** int t,n,m; ///4*50000 ta unique thakte pare #define MAX 200005 vector<int> arr[MAX]; struct info { vector<int> v; }tree[MAX*4]; info call(info a,info b) { info tmp; tmp.v.resize(a.v.size()+b.v.size()); merge(ALL(a.v),ALL(b.v),tmp.v.begin()); return tmp; } ...
22.004739
111
0.497954
dipta007
750b52fe22d2a3ead3f6ac167dc2d5cdc1c55e94
622
hpp
C++
project/c++/mri/src/common/test/queues-comparison/timer.hpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/common/test/queues-comparison/timer.hpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/common/test/queues-comparison/timer.hpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
// Copyright (2014) JDSU T&M Pte Ltd. All rights reserved. #ifndef XTREME_COMMON_TEST_QUEUES_COMPARISON_TIMER_HPP #define XTREME_COMMON_TEST_QUEUES_COMPARISON_TIMER_HPP #include <stdint.h> #include <sys/time.h> class Timer { public: void start() { gettimeofday(&before_, 0); } uint64_t stop() ...
22.214286
66
0.678457
jia57196
750c11b16d09bd50a709a1721e42b8fb54197bf9
4,250
cpp
C++
symbolics/printer/FMUPrinter.cpp
brutzl/pymbs
fb7c91435f56b5c4d460f82f081d5d1960fea886
[ "MIT" ]
null
null
null
symbolics/printer/FMUPrinter.cpp
brutzl/pymbs
fb7c91435f56b5c4d460f82f081d5d1960fea886
[ "MIT" ]
null
null
null
symbolics/printer/FMUPrinter.cpp
brutzl/pymbs
fb7c91435f56b5c4d460f82f081d5d1960fea886
[ "MIT" ]
null
null
null
/* This file is part of PyMbs. PyMbs is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. PyMbs is distributed in the hope that it will ...
36.956522
89
0.434824
brutzl
750e410c6d3a5070660bcb480b0dbca3cf91cdc3
3,073
cxx
C++
207_course_schedule/207_course_schedule.cxx
MonikaBhasin7/leetcode
a771c38242413e3ac0aacf08db43917bbc564765
[ "MIT" ]
12
2019-09-20T18:16:42.000Z
2022-01-08T23:58:16.000Z
207_course_schedule/207_course_schedule.cxx
Mogileeswaran/leetcode
532d6f88b65440a81c4bb0985d3688eee6414ac8
[ "MIT" ]
null
null
null
207_course_schedule/207_course_schedule.cxx
Mogileeswaran/leetcode
532d6f88b65440a81c4bb0985d3688eee6414ac8
[ "MIT" ]
3
2019-10-08T21:26:31.000Z
2021-09-18T13:29:38.000Z
// Copyright (c) 2018-2019 Philip Deljanov // // 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, p...
35.321839
98
0.627075
MonikaBhasin7
750e9a995ec127b04ba7b8b5c066e87f225ae54a
1,023
hpp
C++
libs/core/include/fcppt/function_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/function_impl.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/function_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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) #ifndef FCPPT_FUNCTION_IMPL_HPP_INCLUDED #define FCPPT_FUNCTION_IMPL_HPP_INCLUDED #include <fcppt/...
28.416667
80
0.72825
freundlich
75137404f640283d792df4e96e99350df1ea95c5
5,511
hh
C++
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
3
2021-05-19T14:33:59.000Z
2022-03-14T02:12:47.000Z
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
null
null
null
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
1
2020-01-24T15:10:34.000Z
2020-01-24T15:10:34.000Z
/*--------------------------------------------------------------------------*\ | | | SparseTool : DRIVER FOR TESTING THE TOOLKIT INTERFACING WITH UMFPACK | | | | dat...
27.147783
89
0.506986
ceccocats
75141c854073599766c07027f50bbc9989a95064
3,883
hpp
C++
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
1
2019-05-17T05:00:37.000Z
2019-05-17T05:00:37.000Z
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
null
null
null
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
2
2019-05-17T13:00:26.000Z
2019-08-08T11:40:52.000Z
/* * Copyright © 2021 Nikita Dudko. All rights reserved. * Contacts: <nikita.dudko.95@gmail.com> * Licensed under the Apache License, Version 2.0 */ #pragma once #include <cstddef> #include <functional> #include <memory> #include <stdexcept> #include <string> #include <string_view> #include <utility> #include <ve...
29.416667
77
0.679887
lem0nez
75166c6ae44d0e14e858b02a5b7a8807cb73d6e4
648
cpp
C++
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
#include <catch/catch.hpp> #include <2020/Day05Puzzle.hpp> namespace TwentyTwenty { TEST_CASE("Day 5 getSeatInfo works", "[2020][Day05]") { const auto indexes = Day05Puzzle::getSeatInfo("FBFBBFFRLR"); REQUIRE(44 == indexes.row); REQUIRE(5 == indexes.column); REQUIRE(357 == indexes.seatId); } TEST_C...
20.25
62
0.648148
MarkRDavison
751873f45dcd8e2b7adacf7d5e329b1d7d44a9da
1,754
hpp
C++
srook/tmpl/vt/zip_with.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
1
2018-07-01T07:54:37.000Z
2018-07-01T07:54:37.000Z
srook/tmpl/vt/zip_with.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
srook/tmpl/vt/zip_with.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
// Copyright (C) 2011-2020 Roki. Distributed under the MIT License #ifndef INCLUDED_SROOK_TMPL_VT_ZIP_WITH_HPP #define INCLUDED_SROOK_TMPL_VT_ZIP_WITH_HPP #ifdef _MSC_VER # if _MSC_VER > 1000 # pragma once # endif #endif #include <srook/tmpl/vt/detail/config.hpp> #include <srook/tmpl/vt/cons.hpp> SROOK_NES...
31.890909
131
0.709806
falgon
7518c409840daa6eb4498fd901ce4eeccaf7d95d
1,146
cpp
C++
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <initializer_list> #include <string> #include <memory> using namespace std; class StrBlob { public: typedef vector<string>::size_type size_type; StrBlob(): data(make_shared<vector<string>>()) { }; StrBlob(initializer_list<string> il): data(make_shared<vector<s...
22.038462
57
0.630017
Links789
751a8117a7a198b901ae25db7e9f7eb9fbaec842
73
cpp
C++
Lab6-demo/Dacia.cpp
rzaharia/TeachPOO
bf44563b3eabe1f1d4c10c72943af812637873b0
[ "MIT" ]
null
null
null
Lab6-demo/Dacia.cpp
rzaharia/TeachPOO
bf44563b3eabe1f1d4c10c72943af812637873b0
[ "MIT" ]
null
null
null
Lab6-demo/Dacia.cpp
rzaharia/TeachPOO
bf44563b3eabe1f1d4c10c72943af812637873b0
[ "MIT" ]
null
null
null
#include "Dacia.h" void Dacia::ShowType() { std::cout << "Dacia"; }
10.428571
25
0.575342
rzaharia
752318ebdaf95cddb8d6023cbdf05e11e4832007
6,885
hpp
C++
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file Utility_TetrahedronHelpers.hpp //! \author Alex Robinson, Eli Moll //! \brief Tetrahedron helper functions //! //---------------------------------------------------------------------------// #ifndef UTILITY_TETRAHEDRON_HE...
35.673575
80
0.620625
lkersting
970cb03d6ee4217ba5ea5004c6fcebc2d5abdc5e
2,718
hpp
C++
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
180
2017-09-11T00:44:36.000Z
2022-03-25T09:23:47.000Z
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
109
2015-01-19T07:33:38.000Z
2017-08-12T00:29:13.000Z
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
32
2017-09-20T10:47:29.000Z
2022-03-24T06:13:03.000Z
/// /// \file Archive/ArchiveEntry.hpp /// /// Library storage for archive entries. /// Entries are used for polymorphic factories. /// /// \copyright /// Copyright (c) 2016-2017 Josh Blum /// SPDX-License-Identifier: BSL-1.0 /// #pragma once #include <Pothos/Config.hpp> #include <Pothos/Archive/StreamArchiver.hpp> #i...
24.486486
86
0.69794
lsbharadwaj
970e92cf8ceb57fb45f939f6f4b0938fcf3f5edc
6,343
cpp
C++
BlackVision/Applications/LibBVLogic/Source/EndUserAPI/EventHandlers/VideoCardEventsHandlers.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/Applications/LibBVLogic/Source/EndUserAPI/EventHandlers/VideoCardEventsHandlers.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/Applications/LibBVLogic/Source/EndUserAPI/EventHandlers/VideoCardEventsHandlers.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "stdafxBVApp.h" #include "VideoCardEventsHandlers.h" #include "BVAppLogic.h" #include "VideoCardManager.h" #include "Services/BVServiceProvider.h" #include "VideoCardManagerUtils.h" namespace bv { // *********************** // VideoCardEventsHandlers::VideoCardEventsHandlers ( BVAppLogi...
35.634831
169
0.592464
black-vision-engine
9711cbf792a9b7244e3a13751f0ad904f5f13f7d
253
cpp
C++
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
/* bai 11 1352 C */ #include<stdio.h> #include<math.h> int so(int n, int k){ return (k + floor(k - 1) / (n - 1)); } int main(){ int T; scanf("%d",&T); while(T--){ int n,k; scanf("%d%d",&n,&k); printf("%d\n", so(n, k)); } return 0; }
14.055556
37
0.478261
ducyb2001
971299468b75fc123ae03dff111f16d042561e6f
1,096
hpp
C++
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
2
2020-05-04T15:19:33.000Z
2020-05-22T21:49:47.000Z
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
null
null
null
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
null
null
null
#include <BaseSocket.hpp> #include <sys/socket.h> using namespace EtNet; class CSocketImpl : public EtNet::CBaseSocket { public: CSocketImpl() = default; CSocketImpl(EtNet::ESocketMode opMode) : CBaseSocket(opMode) {} EtNet::ESocketMode testSocketMode() { int type, domain; ...
24.355556
77
0.557482
embtom
9715ac81c1e685e6887f766760088de5dc2472e9
4,247
cpp
C++
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
1
2022-02-05T13:49:09.000Z
2022-02-05T13:49:09.000Z
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
1
2022-03-15T06:54:37.000Z
2022-03-16T05:31:24.000Z
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
null
null
null
#include "pch.h" #include "model_config.h" #include "json/json.h" template <typename T> vector<T> tokenize(const string& data, const char delimiter) { vector<T> result; std::string token; std::stringstream ss(data); while (getline(ss, token, delimiter)) { if (std::is_same_v<T, float>) result.push_ba...
35.099174
107
0.61879
dhkdnduq
9715d5bb57a4f5d84f3dd322068989198ffb1a47
6,912
hpp
C++
RobotCode/src/objects/lcdCode/Debug/MotorsDebug.hpp
ajcarney/VexCode2021-2022
d17a29ff2533046c283c12a6bff31f719565c3a6
[ "MIT" ]
null
null
null
RobotCode/src/objects/lcdCode/Debug/MotorsDebug.hpp
ajcarney/VexCode2021-2022
d17a29ff2533046c283c12a6bff31f719565c3a6
[ "MIT" ]
null
null
null
RobotCode/src/objects/lcdCode/Debug/MotorsDebug.hpp
ajcarney/VexCode2021-2022
d17a29ff2533046c283c12a6bff31f719565c3a6
[ "MIT" ]
null
null
null
/** * @file: ./RobotCode/src/lcdCode/Debug/MotorsDebug.hpp * @author: Aiden Carney * @reviewed_on: 10/16/2019 * @reviewed_by: Aiden Carney * * contains class that loads tabs to debug motors */ #ifndef __MOTORDEBUG_HPP__ #define __MOTORDEBUG_HPP__ #include <vector> #include "../../../../include/main.h" #inclu...
30.183406
111
0.616609
ajcarney
9715f950c7d0dfec6cfed867e052a4f75942baef
1,282
cpp
C++
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
2
2019-06-28T08:07:18.000Z
2019-06-28T09:11:00.000Z
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
1
2019-08-26T09:13:39.000Z
2019-08-26T09:13:39.000Z
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
null
null
null
#ifdef _WIN64 || _WIN32 #include <windows.h> #elif __APPLE__ #include "TargetConditionals.h" #if TARGET_OS_IPHONE && TARGET_IPHONE_SIMULATOR // define something for simulator #elif TARGET_OS_IPHONE // define something for iphone #else #define TARGET_OS_OSX 1 // defin...
25.137255
71
0.653666
hana-alice
97214b83a74b0f043d57a6df8a4bceac33d44a54
1,759
hh
C++
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
3
2016-10-05T17:57:53.000Z
2021-01-13T04:12:20.000Z
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
2
2019-08-23T12:05:46.000Z
2019-08-23T12:24:31.000Z
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
4
2018-01-26T05:20:00.000Z
2022-03-30T21:59:55.000Z
/****************************************************************************** This source file is part of the Delaunay project. Copyright T.J. Corona This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distributed u...
28.370968
83
0.715179
vibraphone
972357d3d6e15702b88fa1bf9ac61c37c3a54eb3
602
cpp
C++
src/Calibration/Pose.cpp
Skylion007/zivid-python
28b16a2f260e5d060e4fb5a3436a3f1c7d659954
[ "BSD-3-Clause" ]
23
2019-07-01T09:50:04.000Z
2022-03-06T23:54:28.000Z
src/Calibration/Pose.cpp
Skylion007/zivid-python
28b16a2f260e5d060e4fb5a3436a3f1c7d659954
[ "BSD-3-Clause" ]
100
2019-07-02T07:49:13.000Z
2022-02-16T21:05:39.000Z
src/Calibration/Pose.cpp
Skylion007/zivid-python
28b16a2f260e5d060e4fb5a3436a3f1c7d659954
[ "BSD-3-Clause" ]
13
2019-10-01T07:26:05.000Z
2022-02-16T20:21:56.000Z
#include <ZividPython/Calibration/Pose.h> #include <ZividPython/Matrix.h> #include <pybind11/pybind11.h> namespace py = pybind11; namespace ZividPython { void wrapClass(pybind11::class_<Zivid::Calibration::Pose> pyClass) { pyClass .def(py::init([](const Eigen::Matrix<float, 4, 4, Eigen::R...
31.684211
118
0.644518
Skylion007
972496eac115fa86f80f44223afdb4486f3ae126
53
hxx
C++
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
1
2020-03-13T20:56:48.000Z
2020-03-13T20:56:48.000Z
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
null
null
null
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
null
null
null
template<class GM,class ACC> void export_mp_based();
17.666667
28
0.792453
amueller
9725a8400863d68e0996631352808776e194afe9
898
cpp
C++
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
mettaursp/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
1
2021-01-17T13:05:20.000Z
2021-01-17T13:05:20.000Z
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
#include "TerrainTypes.h" namespace TerrainTypes { std::shared_ptr<Status> Status::Unloaded() { static Status status; static std::shared_ptr<Status> state(&status, [] (void*) {}); status.State = Enum::ChunkStatus::Unloaded; return state; } float VoxelData::GetOccupancy() const { if (Data & 0x8000) ...
16.943396
63
0.664811
mettaursp
9725f9a2ff65e05b46379a1bdd7fa6886c9a76c8
1,018,452
cpp
C++
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshHandles #include "UnityEngine/ProBuilder/MeshHandles.hpp"...
89.20487
929
0.781459
Fernthedev
9727e4e6b35b82f927cd047ed1c1818bca20407a
5,083
cpp
C++
Engine/Plugins/Runtime/Steam/SteamAudio/Source/SteamAudio/Private/PhononProbeVolume.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Runtime/Steam/SteamAudio/Source/SteamAudio/Private/PhononProbeVolume.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Runtime/Steam/SteamAudio/Source/SteamAudio/Private/PhononProbeVolume.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// // Copyright (C) Valve Corporation. All rights reserved. // #include "PhononProbeVolume.h" #include "PhononProbeComponent.h" #include "PhononScene.h" #include "PhononCommon.h" #include "Components/PrimitiveComponent.h" #if WITH_EDITOR #include "Editor.h" #include "LevelEditorViewport.h" #endif #include <algorit...
30.437126
153
0.805233
windystrife
972ea6c416ef31d648218b047096e244f33c2350
5,417
cpp
C++
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
9
2020-07-17T15:45:29.000Z
2022-01-17T11:17:22.000Z
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
63
2020-06-18T07:57:45.000Z
2022-03-25T12:52:50.000Z
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
20
2020-07-20T09:51:15.000Z
2022-03-24T09:19:45.000Z
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2021 Sky UK * * 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...
26.169082
97
0.656083
jignatius
97372d5efbca90c4ba27541f517115385b81974c
4,672
cc
C++
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
1
2018-09-26T21:14:37.000Z
2018-09-26T21:14:37.000Z
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
null
null
null
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
null
null
null
#include "costas.h" #include <cassert> #include <cmath> #ifdef __ARM_NEON__ #include "./neon/neon_mathfun.h" #endif #define M_2PI (2 * M_PI) Costas::Costas() { float damp = sqrtf(2.0f)/2.0f; float bw = 0.005f; phase_ = 0.0f; freq_ = 0.0f; alpha_ = (4 * damp * bw) / (1.0 + 2.0 * damp * bw + bw * bw); bet...
26.39548
70
0.574914
lxe
97377533cea3e4ab739e7c37dec9b8596584b958
7,844
cpp
C++
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
/* * chronos, the cron-job.org execution daemon * Copyright (C) 2017 Patrick Schlangen <patrick@schlangen.me> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the L...
25.303226
127
0.720551
ophellos
9739fdff52b21255e2eccf7cd3fbef25bfc82e0a
1,938
cpp
C++
AD.cpp
nklapste/ece_315_lab_5
6ed96ba4b8bcb9f95f86416d0a2ed9e8c7601c69
[ "MIT" ]
null
null
null
AD.cpp
nklapste/ece_315_lab_5
6ed96ba4b8bcb9f95f86416d0a2ed9e8c7601c69
[ "MIT" ]
null
null
null
AD.cpp
nklapste/ece_315_lab_5
6ed96ba4b8bcb9f95f86416d0a2ed9e8c7601c69
[ "MIT" ]
null
null
null
/* * AD.cpp * * Created on: Feb 9, 2017 * Author: nem1 */ #include "AD.h" #include <basictypes.h> #include <sim.h> AD::AD() { // TODO Auto-generated constructor stub } AD::~AD() { // TODO Auto-generated destructor stub } /* Name:Init * Description: Initializes the entire register map * of the AD conve...
18.815534
69
0.638287
nklapste
973a91679d3751bdc618b96fd30810f76013e004
8,209
cpp
C++
src/RcsCore/TaskPosition3D.cpp
smanschi/Rcs
a54980a44c7fb0e925b091cd3c29297e940af39c
[ "BSD-4-Clause" ]
null
null
null
src/RcsCore/TaskPosition3D.cpp
smanschi/Rcs
a54980a44c7fb0e925b091cd3c29297e940af39c
[ "BSD-4-Clause" ]
null
null
null
src/RcsCore/TaskPosition3D.cpp
smanschi/Rcs
a54980a44c7fb0e925b091cd3c29297e940af39c
[ "BSD-4-Clause" ]
null
null
null
/******************************************************************************* Copyright (c) 2017, Honda Research Institute Europe GmbH. 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. R...
35.847162
80
0.531733
smanschi
973b358270688a3e1f65e19ef73ee627a2c363f3
479
cpp
C++
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
10
2020-09-07T14:18:33.000Z
2022-01-15T16:39:25.000Z
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
null
null
null
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
5
2021-04-19T02:15:58.000Z
2022-02-05T14:55:57.000Z
#include "StdAfx.h" #include "Cell.h" CCell::CCell(void) { shMcc.value(-1); shMnc.value(-1); iLac.value(-1); iCellId.value(-1); } CCell::~CCell(void) { } void CCell::readFrom(CJceInputStream& paramd) { } void CCell::writeTo(CJceOutputStream& paramJceOutputStream) { paramJceOutputS...
16.517241
60
0.655532
alex2ching
97401dd577849787e1af87b526c86689fcebb5fc
2,818
cpp
C++
SurgSim/Framework/UnitTests/ReuseFactoryTest.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
24
2015-01-19T16:18:59.000Z
2022-03-13T03:29:11.000Z
SurgSim/Framework/UnitTests/ReuseFactoryTest.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
3
2018-12-21T14:54:08.000Z
2022-03-14T12:38:07.000Z
SurgSim/Framework/UnitTests/ReuseFactoryTest.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
8
2015-04-10T19:45:36.000Z
2022-02-02T17:00:59.000Z
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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/LICE...
25.387387
111
0.727466
dbungert
974195f9954247186023adf708ebeb5e7adc19ea
4,476
cpp
C++
problemes/probleme2xx/probleme244.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
6
2015-10-13T17:07:21.000Z
2018-05-08T11:50:22.000Z
problemes/probleme2xx/probleme244.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
problemes/probleme2xx/probleme244.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
#include "problemes.h" #include "arithmetique.h" #include <fstream> #include <bitset> typedef unsigned long long nombre; typedef std::vector<nombre> vecteur; namespace { struct Sliders { size_t position_vide; std::string etat; Sliders(size_t _position, std::string _etat) : position_vide...
30.44898
117
0.525916
ZongoForSpeed
9741c904de2ba4d5f5d98bcb9f349fa0d00e5557
104
cpp
C++
src/main.cpp
prozum/conan-demo
476a0ca5fc961d2ee763ae6573e15e5d3c9131bd
[ "MIT" ]
null
null
null
src/main.cpp
prozum/conan-demo
476a0ca5fc961d2ee763ae6573e15e5d3c9131bd
[ "MIT" ]
null
null
null
src/main.cpp
prozum/conan-demo
476a0ca5fc961d2ee763ae6573e15e5d3c9131bd
[ "MIT" ]
null
null
null
#include "src.hpp" #include "gen.hpp" int main(void) { src_func(); gen_func(); return 0; }
10.4
18
0.576923
prozum