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
9e99f564944f9fc214e4f3acc87aa4a3cfa2b1ff
802
cpp
C++
light.cpp
HanlinHu/Ray_tracing_in_C
2848d7ffb25c357a02998441aa097ca8fbbeb12d
[ "MIT" ]
null
null
null
light.cpp
HanlinHu/Ray_tracing_in_C
2848d7ffb25c357a02998441aa097ca8fbbeb12d
[ "MIT" ]
null
null
null
light.cpp
HanlinHu/Ray_tracing_in_C
2848d7ffb25c357a02998441aa097ca8fbbeb12d
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <stdio.h> #include "entities.h" #include "light.h" void append_light(const light *X, light_node *list) { light_node tmp, newNode; /* allocate the lnode */ newNode = (light_node)malloc(sizeof(struct lnode)); COPY_POINT3(newNode->element.position, X->position); COPY_COLOR(newNode->e...
17.434783
58
0.642145
HanlinHu
9e9a33555789c8254d45fb3424b9f67de3d2e5dc
6,040
cc
C++
src/common/serializable.cc
MrKOSMOS/ANESE
8ae814d615479b1496c98033a1f5bc4da5921c6f
[ "MIT" ]
349
2017-11-15T22:51:00.000Z
2022-03-21T13:43:57.000Z
src/common/serializable.cc
MrKOSMOS/ANESE
8ae814d615479b1496c98033a1f5bc4da5921c6f
[ "MIT" ]
12
2018-08-28T21:38:29.000Z
2021-12-11T16:24:36.000Z
src/common/serializable.cc
MrKOSMOS/ANESE
8ae814d615479b1496c98033a1f5bc4da5921c6f
[ "MIT" ]
28
2018-06-10T07:31:13.000Z
2022-03-21T10:54:26.000Z
#include "serializable.h" // #define fprintf(...) // disable spam /*---------- Serializable Chunk Implementation ----------*/ Serializable::Chunk::~Chunk() { delete this->data; delete this->next; } Serializable::Chunk::Chunk() { this->len = 0; this->data = nullptr; this->next = nullptr; } Serializable:...
26.844444
81
0.588907
MrKOSMOS
9e9bb88c61534ee26bb7229d50f1c31845f82238
3,815
cpp
C++
src/FalconEngine/Graphics/Renderer/Primitive.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Primitive.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Primitive.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
1
2021-08-25T07:39:02.000Z
2021-08-25T07:39:02.000Z
#include <FalconEngine/Graphics/Renderer/Primitive.h> #include <FalconEngine/Graphics/Renderer/Resource/IndexBuffer.h> #include <FalconEngine/Graphics/Renderer/Resource/VertexBuffer.h> #include <FalconEngine/Graphics/Renderer/Resource/VertexGroup.h> namespace FalconEngine { /******************************************...
25.264901
92
0.494364
LiuYiZhou95
9e9edb843b800c557c89644a57caae00bdcd40e2
59
cpp
C++
DeviceCode/pal/Buttons/GPIO_Buttons_fastcompile.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
529
2015-03-10T00:17:45.000Z
2022-03-17T02:21:19.000Z
DeviceCode/pal/Buttons/GPIO_Buttons_fastcompile.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
495
2015-03-10T22:02:46.000Z
2019-05-16T13:05:00.000Z
DeviceCode/pal/Buttons/GPIO_Buttons_fastcompile.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
332
2015-03-10T08:04:36.000Z
2022-03-29T04:18:36.000Z
#include "GPIO_Buttons.cpp" #include "GPIO_config.cpp"
14.75
28
0.728814
PervasiveDigital
9ea153f76375eb317aa355648929cc82582d02dd
4,685
cpp
C++
runtime/src/sort.cpp
lezsakdomi/jscomp
83828441cb38ec96603a6a60be06977d4852940a
[ "Apache-2.0" ]
220
2015-07-22T03:18:03.000Z
2022-03-19T07:26:26.000Z
runtime/src/sort.cpp
lezsakdomi/jscomp
83828441cb38ec96603a6a60be06977d4852940a
[ "Apache-2.0" ]
31
2015-06-17T14:20:21.000Z
2018-10-14T12:58:41.000Z
runtime/src/sort.cpp
lezsakdomi/jscomp
83828441cb38ec96603a6a60be06977d4852940a
[ "Apache-2.0" ]
13
2015-09-16T16:07:45.000Z
2021-02-06T19:44:04.000Z
// Copyright (c) 2015 Tzvetan Mikov. // Licensed under the Apache License v2.0. See LICENSE in the project // root for complete license information. #include "jsc/sort.h" namespace js { void selectionSort (StackFrame * caller, IExchangeSortCB * cb, uint32_t begin, uint32_t end) { if (end == begin) return...
26.468927
112
0.517609
lezsakdomi
9ea3b2da88211e4df5fb7fd1a2ea95f042944f9b
6,004
cpp
C++
tests/pool.cpp
corentinberge/dynamic-graph
89b3ab9cbac71daaa2eddb75947299270868a31b
[ "BSD-2-Clause" ]
1
2019-07-01T07:49:35.000Z
2019-07-01T07:49:35.000Z
tests/pool.cpp
corentinberge/dynamic-graph
89b3ab9cbac71daaa2eddb75947299270868a31b
[ "BSD-2-Clause" ]
null
null
null
tests/pool.cpp
corentinberge/dynamic-graph
89b3ab9cbac71daaa2eddb75947299270868a31b
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2010 Thomas Moulard. // #include <sstream> #include <iostream> #include <dynamic-graph/entity.h> #include <dynamic-graph/factory.h> #include <dynamic-graph/exception-factory.h> #include <dynamic-graph/pool.h> #include <dynamic-graph/signal-ptr.h> #include <dynamic-graph/signal-time-dependent.h> #define B...
29.287805
113
0.69437
corentinberge
9eac9905161f18dc3a4e190a59c24a24634730c3
1,902
cpp
C++
Real-Time Corruptor/BizHawk_RTC/libgambatte/src/interrupter.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
45
2017-07-24T05:31:06.000Z
2019-03-29T12:23:57.000Z
Real-Time Corruptor/BizHawk_RTC/libgambatte/src/interrupter.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
7
2019-01-14T14:46:46.000Z
2019-01-25T20:57:05.000Z
Real-Time Corruptor/BizHawk_RTC/libgambatte/src/interrupter.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
10
2017-07-24T02:11:43.000Z
2018-12-27T20:49:37.000Z
/*************************************************************************** * Copyright (C) 2007 by Sindre Aamås * * aamas@stud.ntnu.no * * * * This pr...
44.232558
106
0.476341
redscientistlabs
9eb2c54062d4af7fb20fc56ec332c1e8523b8d3c
955
cpp
C++
src/view/codeeditor/keybehavior/abstractkeybehavior.cpp
Tatsu015/markdownmindmap
93e305c04d3adb59073612a5843579d5ce11c79e
[ "MIT" ]
null
null
null
src/view/codeeditor/keybehavior/abstractkeybehavior.cpp
Tatsu015/markdownmindmap
93e305c04d3adb59073612a5843579d5ce11c79e
[ "MIT" ]
1
2022-01-18T16:10:11.000Z
2022-01-18T16:11:33.000Z
src/view/codeeditor/keybehavior/abstractkeybehavior.cpp
Tatsu015/markdownmindmap
93e305c04d3adb59073612a5843579d5ce11c79e
[ "MIT" ]
null
null
null
#include "abstractkeybehavior.h" #include <QKeyEvent> AbstractKeyBehavior::AbstractKeyBehavior() { } AbstractKeyBehavior::~AbstractKeyBehavior() { } void AbstractKeyBehavior::keyPressEvent(CodeEditor* codeEditor, QKeyEvent* event) { if (event->modifiers() == Qt::NoModifier) { noModifierKeyPressEvent(codeEditor...
28.088235
83
0.762304
Tatsu015
9eb3253e79fd27c7d9e2cf616af6e5a7751dd9ae
3,778
cpp
C++
src/PixelpartPluginCurve.cpp
soeren-m/pixelpart-plugin-unity
622dab395e04bb5c44ab170f6d399b241cd0557e
[ "MIT" ]
1
2022-03-22T09:21:22.000Z
2022-03-22T09:21:22.000Z
src/PixelpartPluginCurve.cpp
soeren-m/pixelpart-plugin-unity
622dab395e04bb5c44ab170f6d399b241cd0557e
[ "MIT" ]
null
null
null
src/PixelpartPluginCurve.cpp
soeren-m/pixelpart-plugin-unity
622dab395e04bb5c44ab170f6d399b241cd0557e
[ "MIT" ]
null
null
null
#include "PixelpartPlugin.h" extern "C" { UNITY_INTERFACE_EXPORT float UNITY_INTERFACE_API PixelpartCurveGet(pixelpart::Curve<pixelpart::floatd>* curve, float position) { if(!curve) { return 0.0f; } return static_cast<float>(curve->get(position)); } UNITY_INTERFACE_EXPORT float UNITY_INTERFACE_API PixelpartCurv...
27.179856
147
0.766278
soeren-m
9eb439ffcc10306fbb31659c82087836961da1aa
70
hpp
C++
other/Renegade Ops/dxgi/FakeProcessAffinityMask/game.hpp
gibbed/Gibbed.Avalanche
549c7a7fa902c5b4d180847ad6f11867d4281398
[ "Zlib" ]
2
2020-02-08T02:50:41.000Z
2020-12-14T05:36:58.000Z
other/Renegade Ops/dxgi/FakeProcessAffinityMask/game.hpp
MerkeX/Gibbed.Avalanche
549c7a7fa902c5b4d180847ad6f11867d4281398
[ "Zlib" ]
null
null
null
other/Renegade Ops/dxgi/FakeProcessAffinityMask/game.hpp
MerkeX/Gibbed.Avalanche
549c7a7fa902c5b4d180847ad6f11867d4281398
[ "Zlib" ]
3
2018-12-05T12:15:11.000Z
2021-06-16T01:17:28.000Z
#ifndef __GAME_HPP #define __GAME_HPP bool GameHook(); #endif
10
19
0.7
gibbed
9eb6ff3c29fcea8631076bb4a163d2f1699ec8d2
2,602
cpp
C++
CppP4rhSln/13/old/plain-ptr.cpp
blacop/CppPR
a76574ee83000d898d989aab96eac4ac746244fa
[ "MIT" ]
null
null
null
CppP4rhSln/13/old/plain-ptr.cpp
blacop/CppPR
a76574ee83000d898d989aab96eac4ac746244fa
[ "MIT" ]
null
null
null
CppP4rhSln/13/old/plain-ptr.cpp
blacop/CppPR
a76574ee83000d898d989aab96eac4ac746244fa
[ "MIT" ]
null
null
null
#include <iostream> using std::ostream; using std::cout; using std::endl; #include <string> // class that has a pointer member that behaves like a plain pointer class HasPtr { public: friend ostream& operator<<(ostream&, const HasPtr&); // copy of the values we're given HasPtr(int *p, int i): ptr(p), val(i...
27.389474
87
0.615296
blacop
9eb84bc7df8f51591d3ef018e2bb494cb23f71e0
5,105
cpp
C++
polygon3D.cpp
degarashi/boomstick
55dc5bfcfad6119d8401f578f91df7bbd44c192b
[ "MIT" ]
1
2015-06-14T15:54:27.000Z
2015-06-14T15:54:27.000Z
polygon3D.cpp
degarashi/boomstick
55dc5bfcfad6119d8401f578f91df7bbd44c192b
[ "MIT" ]
null
null
null
polygon3D.cpp
degarashi/boomstick
55dc5bfcfad6119d8401f578f91df7bbd44c192b
[ "MIT" ]
null
null
null
#include "convex.hpp" namespace boom { namespace geo3d { Polygon::Polygon() {} Polygon::Polygon(const Vec3* vsrc) { init(vsrc); } Polygon::Polygon(const Vec3& v0, const Vec3& v1, const Vec3& v2) { init(v0, v1, v2); } void Polygon::setUserData(uint32_t dat) { _ud = dat; } uint32_t Polygon::get...
26.868421
86
0.588834
degarashi
9eb9ad20a51c3b259b6c9f35e09e25dea22e6ac4
4,265
cpp
C++
libwarpsharp/src/IntegerKernel.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
11
2018-11-10T11:14:11.000Z
2021-12-27T17:17:08.000Z
libwarpsharp/src/IntegerKernel.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
27
2018-11-11T00:06:25.000Z
2021-06-24T06:43:38.000Z
libwarpsharp/src/IntegerKernel.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
7
2018-11-10T20:32:49.000Z
2021-03-15T18:03:42.000Z
// IntegerKernel.cpp #include <stdio.h> #include "support.h" #include "Gray8Image.h" #include "IntegerKernel.h" using std::cerr; // constructor IntegerKernel::IntegerKernel(kernel_func function, int32 radius, bool horizontal) : fElement(NULL), fDiameter(0), fHorizontal(horizontal), fSymetry(KERNEL_SYMET...
23.826816
81
0.52544
waddlesplash
9ebd6392b746f97cf6ff5e91845f08d3fb0828ee
223
cpp
C++
path_tracking/stanley_controller/test/main.cpp
nvdpsingh/cpp_robotics
1ec80f16cd93abe2ff197f646a06a3ad9ef13dbd
[ "MIT" ]
57
2019-07-02T00:58:48.000Z
2022-02-20T03:13:28.000Z
path_tracking/stanley_controller/test/main.cpp
leoandersoon/cpp_robotics
b667074485117ffd68f54c3fd867a3c5f510edd9
[ "MIT" ]
null
null
null
path_tracking/stanley_controller/test/main.cpp
leoandersoon/cpp_robotics
b667074485117ffd68f54c3fd867a3c5f510edd9
[ "MIT" ]
28
2019-07-02T02:00:26.000Z
2022-02-28T16:42:35.000Z
#include <iostream> #include "stanley_controller.hpp" int main() { std::cout << "Hello, World!" << std::endl; cpp_robotics::path_tracking::stanley_controller::StanleyController sc; sc.test(); return 0; }
18.583333
74
0.668161
nvdpsingh
9ec751721ee776c12ce8506a1656d35523d28eab
3,512
cpp
C++
source/world/nodes/Node.cpp
RaygenGroup/kaleido
e4648c3f4ba88a1aae942fdd854b32142e35fb78
[ "MIT" ]
4
2021-01-28T07:39:53.000Z
2022-01-17T14:02:13.000Z
source/world/nodes/Node.cpp
RaygenEngine/Kaleido
e4648c3f4ba88a1aae942fdd854b32142e35fb78
[ "MIT" ]
null
null
null
source/world/nodes/Node.cpp
RaygenEngine/Kaleido
e4648c3f4ba88a1aae942fdd854b32142e35fb78
[ "MIT" ]
null
null
null
#include "pch/pch.h" #include "world/nodes/Node.h" #include "asset/util/ParsingAux.h" #include "asset/AssetManager.h" #include "reflection/ReflectionTools.h" #include "world/World.h" #include "core/MathAux.h" #include <glm/gtx/matrix_decompose.hpp> RootNode* Node::GetWorldRoot() const { return Engine::GetWorld()->G...
23.891156
109
0.758257
RaygenGroup
9eca5a1f63d4545c8fdf6f44c02c7aa2852a27dc
1,794
cpp
C++
src/tests-core/tests/prototype/sample_suite.cpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
src/tests-core/tests/prototype/sample_suite.cpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
src/tests-core/tests/prototype/sample_suite.cpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2013 Victor Smirnov // // 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...
23.298701
75
0.69621
victor-smirnov
9ecc879c8ce38f6b9b10e646b5a908af8745e8fb
517
hpp
C++
Axis.CommonLibrary/domain/fwd/numerical_model.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.CommonLibrary/domain/fwd/numerical_model.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.CommonLibrary/domain/fwd/numerical_model.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once /* Forward declaration generally required when manipulating the numerical model. */ namespace axis { namespace domain { namespace analyses { class NumericalModel; class ModelKinematics; class ModelDynamics; } // namespace analyses namespace elements { class Node; class DoF; class FiniteElement; } // n...
17.233333
77
0.779497
renato-yuzup
19b2c011bb5acff263702c20ff31c30de367f8c2
6,455
cpp
C++
Demos/VerveTutorialBase/source/Verve/VActor/Humanoid/VHumanoidActor.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
1
2021-01-02T09:17:18.000Z
2021-01-02T09:17:18.000Z
Templates/Verve/source/Verve/VActor/Humanoid/VHumanoidActor.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
null
null
null
Templates/Verve/source/Verve/VActor/Humanoid/VHumanoidActor.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
4
2015-05-16T17:35:07.000Z
2021-01-02T09:17:26.000Z
//----------------------------------------------------------------------------- // Verve // Copyright (C) - Violent Tulip //----------------------------------------------------------------------------- #include "VHumanoidActor.h" #include "core/stream/bitStream.h" //--------------------------------------------------...
26.673554
105
0.41828
AnteSim
19b4ea4abff43abd9f3ae2cea240b2b94596cc12
265,414
cpp
C++
src/base/ex_eval.cpp
dufferprog/verbexx
bfc3c30ad2ca6c246c8f88405b386475278f9ecc
[ "MIT" ]
null
null
null
src/base/ex_eval.cpp
dufferprog/verbexx
bfc3c30ad2ca6c246c8f88405b386475278f9ecc
[ "MIT" ]
1
2018-09-14T00:07:27.000Z
2018-09-14T00:07:27.000Z
src/base/ex_eval.cpp
dufferprog/verbexx
bfc3c30ad2ca6c246c8f88405b386475278f9ecc
[ "MIT" ]
1
2018-09-13T23:43:12.000Z
2018-09-13T23:43:12.000Z
// ex_eval.cpp ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////...
64.04778
292
0.379234
dufferprog
19b625f3e035e438063835cbbb28712a695c16b1
505
cpp
C++
GraphGenerator/Testfiles/classes_simple.cpp
krystalsavv/Architecture-Mining
da47474f90bfb928ee65967610cb5ebb22057bb1
[ "MIT" ]
2
2021-03-31T19:14:51.000Z
2021-07-16T12:27:09.000Z
GraphGenerator/Testfiles/classes_simple.cpp
krystalsavv/Architecture-Mining
da47474f90bfb928ee65967610cb5ebb22057bb1
[ "MIT" ]
null
null
null
GraphGenerator/Testfiles/classes_simple.cpp
krystalsavv/Architecture-Mining
da47474f90bfb928ee65967610cb5ebb22057bb1
[ "MIT" ]
null
null
null
/* Classes Namespaces Inheritence */ namespace CS{ namespace CS_1{ class class_X; class class_B; class class_B {class_B* b;}; class class_A { class_B b;}; struct struct_S {}; class class_X : public class_A, class_B {}; } } namespace N_2 { class class_A{}; } using n...
14.852941
48
0.60198
krystalsavv
19b8212fc9e15dfbcddd0db48b11142eb8f30504
1,960
cpp
C++
Detector/Classifier.cpp
goddoe/Learner
c499adda2f341003c6a3ec35bf41f2ca05c98833
[ "MIT" ]
4
2016-05-19T08:40:43.000Z
2018-04-08T14:25:17.000Z
Detector/Classifier.cpp
goddoe/Learner
c499adda2f341003c6a3ec35bf41f2ca05c98833
[ "MIT" ]
null
null
null
Detector/Classifier.cpp
goddoe/Learner
c499adda2f341003c6a3ec35bf41f2ca05c98833
[ "MIT" ]
null
null
null
// Author : Sung-ju Kim // Email : goddoe2@gmail.com // github : https://github.com/goddoe // The MIT License (MIT) // Copyright (c) 2016 Sung-ju Kim #include "Classifier.h" using namespace cv; namespace CRVL { ////////////////////////////////////////////////////////////////////////// /////////////////...
25.454545
151
0.433163
goddoe
19c05d49bd2be73577bc76f88ad3dcf40e86c480
3,537
hpp
C++
library/src/main/jni/openslmediaplayer-jni/include/OpenSLMediaPlayerJNIBinder.hpp
cirnoftw/android-openslmediaplayer
6b363282dd0ac19bcb4e8ce52a4cb7bf35c58583
[ "Apache-2.0" ]
435
2015-01-16T14:36:07.000Z
2022-02-11T02:32:19.000Z
library/src/main/jni/openslmediaplayer-jni/include/OpenSLMediaPlayerJNIBinder.hpp
cirnoftw/android-openslmediaplayer
6b363282dd0ac19bcb4e8ce52a4cb7bf35c58583
[ "Apache-2.0" ]
59
2015-02-12T22:21:49.000Z
2021-06-16T11:48:15.000Z
library/src/main/jni/openslmediaplayer-jni/include/OpenSLMediaPlayerJNIBinder.hpp
cirnoftw/android-openslmediaplayer
6b363282dd0ac19bcb4e8ce52a4cb7bf35c58583
[ "Apache-2.0" ]
104
2015-01-16T14:36:07.000Z
2021-05-24T03:32:54.000Z
// // Copyright (C) 2014 Haruki Hasegawa // // 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 ap...
40.655172
96
0.723777
cirnoftw
19c488e72d0da13d0c145c5f8d6899ee126b5f45
2,133
cpp
C++
librf/src/mutex_v1.cpp
HungMingWu/librf
d3c568ca8c717e6e6d9607aee55e3da219a33c1e
[ "Apache-2.0" ]
null
null
null
librf/src/mutex_v1.cpp
HungMingWu/librf
d3c568ca8c717e6e6d9607aee55e3da219a33c1e
[ "Apache-2.0" ]
null
null
null
librf/src/mutex_v1.cpp
HungMingWu/librf
d3c568ca8c717e6e6d9607aee55e3da219a33c1e
[ "Apache-2.0" ]
null
null
null
#include "../librf.h" namespace resumef { namespace detail { mutex_impl::mutex_impl() { } void mutex_impl::unlock() { std::scoped_lock lock_(this->_lock); if (_owner != nullptr) { for (auto iter = _awakes.begin(); iter != _awakes.end(); ) { auto awaker = *iter; iter = _awakes....
16.534884
80
0.604313
HungMingWu
19c7f9f9d5c6a6f83e31670ed9696acdd4d9be52
2,516
cpp
C++
vox_nav_pose_navigator/src/behavior_tree.cpp
NMBURobotics/vox_nav
7d71c97166ce57680bf2e637cca7c745d55b045a
[ "Apache-2.0" ]
47
2021-06-03T08:46:51.000Z
2022-03-31T08:07:09.000Z
vox_nav_pose_navigator/src/behavior_tree.cpp
BADAL244/vox_nav
cd88c8a921feed65a92355d6246cf6cb8dd27939
[ "Apache-2.0" ]
6
2021-06-06T01:17:38.000Z
2022-01-06T10:01:53.000Z
vox_nav_pose_navigator/src/behavior_tree.cpp
BADAL244/vox_nav
cd88c8a921feed65a92355d6246cf6cb8dd27939
[ "Apache-2.0" ]
10
2021-06-03T08:46:53.000Z
2022-03-04T00:57:51.000Z
// Copyright (c) 2019 Intel Corporation // // 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 agr...
31.061728
88
0.703498
NMBURobotics
19c940869c24b2de99f6fc0dc97d39bb6d2e7226
749
cpp
C++
1-introduction/p097-05_imperial_lenght_to_metric.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
1-introduction/p097-05_imperial_lenght_to_metric.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
1-introduction/p097-05_imperial_lenght_to_metric.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
// imperial_lenght_to_metric.cpp : Defines the entry point for the console application. // pgae 95 - 5 #include <iostream> using namespace std; int main() { double input_imperial(); double converter(double); void print(double); print(converter(input_imperial())); cin.ignore(); cin.get(); re...
18.725
115
0.634179
mohsend
19dd748b5ed4ae157cf512f115218db8cee43f5f
250
cxx
C++
source/code/icelib/private/output/elements/alias.cxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
null
null
null
source/code/icelib/private/output/elements/alias.cxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
2
2019-09-30T05:20:37.000Z
2019-10-10T19:18:59.000Z
source/code/icelib/private/output/elements/alias.cxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
null
null
null
#include <ice/output/elements/alias.hxx> namespace ice::output { template<> auto identifier(Alias const& data) noexcept -> std::string { return { "alias:" + data.name + "{" + data.type + "}" }; } } // namespace ice::output
19.230769
64
0.592
iceshard-engine
19e37a284ec00834886557f53a23cfb33b6480c8
604
cpp
C++
Longest Common Subsequence (DP)/main.cpp
AhmedAMorsy/Algorithms_
6f4b6d8a231e61e6e3d2289b7a42c6ef24224944
[ "Unlicense" ]
null
null
null
Longest Common Subsequence (DP)/main.cpp
AhmedAMorsy/Algorithms_
6f4b6d8a231e61e6e3d2289b7a42c6ef24224944
[ "Unlicense" ]
null
null
null
Longest Common Subsequence (DP)/main.cpp
AhmedAMorsy/Algorithms_
6f4b6d8a231e61e6e3d2289b7a42c6ef24224944
[ "Unlicense" ]
null
null
null
#include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N=1005; string a,b; int mem[N][N]; int solve(int i,int j) { if(i==a.size()||j==b.size()) { return 0; } if(mem[i][j]!=-1) { return mem[i][j]; } if(a[i]==b[j]) { return mem[i...
15.1
42
0.478477
AhmedAMorsy
19e4dbe378a6c5ed210199c3f349e8f3ddb59976
1,155
hpp
C++
Mary-Lang/Utils/Memory.hpp
iamOgunyinka/Mary-Lang
025584184764ca0ca501ee4da9266d54067284a8
[ "MIT" ]
null
null
null
Mary-Lang/Utils/Memory.hpp
iamOgunyinka/Mary-Lang
025584184764ca0ca501ee4da9266d54067284a8
[ "MIT" ]
null
null
null
Mary-Lang/Utils/Memory.hpp
iamOgunyinka/Mary-Lang
025584184764ca0ca501ee4da9266d54067284a8
[ "MIT" ]
null
null
null
#include <memory> namespace MaryLang { namespace Support { #if __cplusplus != 201402L template<typename T> struct UniqueIf { typedef std::unique_ptr<T> SingleObject; }; template< typename T> struct UniqueIf<T[]> { typedef std::unique...
25.108696
80
0.544589
iamOgunyinka
19ee83333b4eae4d5b28fa524d4900ed25073038
4,704
cxx
C++
the/lib/ui/graphics.cxx
deni64k/the
c9451f03fe690d456bae89ac2d4a9303317dd8cd
[ "Apache-2.0" ]
null
null
null
the/lib/ui/graphics.cxx
deni64k/the
c9451f03fe690d456bae89ac2d4a9303317dd8cd
[ "Apache-2.0" ]
null
null
null
the/lib/ui/graphics.cxx
deni64k/the
c9451f03fe690d456bae89ac2d4a9303317dd8cd
[ "Apache-2.0" ]
null
null
null
#include <thread> #include "the/lib/ui/errors.hxx" #include "the/lib/ui/graphics.hxx" namespace the::ui { int Graphics::windowWidth_; int Graphics::windowHeight_; OglFallible<> Graphics::Init() { using namespace std::placeholders; glfwSetErrorCallback(Graphics::OnGlfwErrorCallback_); // start GL context and...
30.348387
107
0.716837
deni64k
19f1c46be7f69bd09adc9b06ce7ce97646dc05ec
2,008
hpp
C++
src/mge/graphics/vertex_layout.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/mge/graphics/vertex_layout.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/mge/graphics/vertex_layout.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #pragma once #include "mge/core/small_vector.hpp" #include "mge/graphics/dllexport.hpp" #include "mge/graphics/vertex_format.hpp" #include <iosfwd> #include <string_view> namespace mge { /** * A vertex layout def...
25.417722
73
0.530876
mge-engine
19f59e49220a691eb33f1a9ef7a49f183683a43b
9,311
hpp
C++
VG-ArmaZ/ravage_dmd_edit.chernarusredux/dmd_respawn_config.hpp
Sausag3s/VG-A3-DEV
acf1c83a98b8f6aaef4c18ae0357197ae578ce56
[ "MIT" ]
null
null
null
VG-ArmaZ/ravage_dmd_edit.chernarusredux/dmd_respawn_config.hpp
Sausag3s/VG-A3-DEV
acf1c83a98b8f6aaef4c18ae0357197ae578ce56
[ "MIT" ]
null
null
null
VG-ArmaZ/ravage_dmd_edit.chernarusredux/dmd_respawn_config.hpp
Sausag3s/VG-A3-DEV
acf1c83a98b8f6aaef4c18ae0357197ae578ce56
[ "MIT" ]
null
null
null
class CfgRoles { class Survivalist { displayName = "01 - Survivalist"; icon = "\A3\ui_f\data\igui\cfg\simpleTasks\types\run_ca.paa"; }; class Mechanic { displayName = "02 - Mechanic"; icon = "\A3\ui_f\data\igui\cfg\simpleTasks\types\repair_ca.paa"; }; class Bandit { displayName = "03 - Bandit"; icon...
41.566964
344
0.70014
Sausag3s
19f5b9f1619481b5939c8f6c59155451b873c7cd
6,666
hpp
C++
Versionen/2021_06_15/RMF/rmf_ws/install/rmf_dispenser_msgs/include/rmf_dispenser_msgs/msg/detail/dispenser_state__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/RMF/rmf_ws/install/rmf_dispenser_msgs/include/rmf_dispenser_msgs/msg/detail/dispenser_state__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/RMF/rmf_ws/install/rmf_dispenser_msgs/include/rmf_dispenser_msgs/msg/detail/dispenser_state__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
2
2021-06-21T07:32:09.000Z
2021-08-17T03:05:38.000Z
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em // with input from rmf_dispenser_msgs:msg/DispenserState.idl // generated code does not contain a copyright notice #ifndef RMF_DISPENSER_MSGS__MSG__DETAIL__DISPENSER_STATE__STRUCT_HPP_ #define RMF_DISPENSER_MSGS__MSG__DETAIL__DISPENSER_STATE__STRUCT_HP...
33.164179
298
0.752475
flitzmo-hso
19f92ade6aeb4f31a86bce122c2887f699d51c23
817
cpp
C++
Camp_0-2563/1007-62_CrossC.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_0-2563/1007-62_CrossC.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_0-2563/1007-62_CrossC.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<stdio.h> #include<math.h> int main (){ int q; scanf("%d",&q); while(q--){ double x1,x2,y1,y2,r1,r2; scanf("%lf %lf %lf %lf %lf %lf",&x1,&y1,&r1,&x2,&y2,&r2); double dist = sqrt(pow(x1-x2, 2) + pow(y1-y2,2)); if(dist > r1+r2){ printf("None"); } else if(x1 == x2 && y1 == y2 && r1...
19.452381
60
0.468788
MasterIceZ
19fb2d62999fe9d77642334f2f3fd8abff9c3aa7
1,920
hpp
C++
CXX/include/euler/utils/maps.hpp
troberson/exercises-euler
03ffafb1016d252ca297f2ab6f02552df1377496
[ "BSD-3-Clause" ]
1
2020-02-12T20:40:39.000Z
2020-02-12T20:40:39.000Z
CXX/include/euler/utils/maps.hpp
troberson/exercises-euler
03ffafb1016d252ca297f2ab6f02552df1377496
[ "BSD-3-Clause" ]
null
null
null
CXX/include/euler/utils/maps.hpp
troberson/exercises-euler
03ffafb1016d252ca297f2ab6f02552df1377496
[ "BSD-3-Clause" ]
null
null
null
/* * Project Euler - Utils - maps * Tamara Roberson <tamara.roberson@gmail.com> * Copyright (c) 2019 Tamara Roberson * * Functions for operating on maps. */ #pragma once #include <algorithm> // std::transform #include <map> // std::map #include <vector> // std::vector namespace euler::utils { /** * Get one s...
25.6
88
0.688021
troberson
c2011b5e74589f80dc9ead7a4baeaaac7958febe
4,901
cpp
C++
practice/misc/tg02/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
2
2019-03-18T16:06:10.000Z
2019-04-07T23:17:06.000Z
practice/misc/tg02/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
null
null
null
practice/misc/tg02/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
1
2019-03-18T16:06:52.000Z
2019-03-18T16:06:52.000Z
#include <iostream> #include <vector> using namespace std; void fun(vector<int>& ary) { const int n = ary.size(); if (n == 1) { cout << ary[0] << '\n'; return; } vector<vector<int>> sols(n); sols[n - 1].push_back({ary[n - 1]}); sols[n - 2].push_back({ary[n - 2]}); vector<i...
30.253086
79
0.322791
rahulsrma26
c202972bc0bda99085172701cf0f8652a95afccf
803
cc
C++
tests/error_msg_test.cc
RobDickinson/pmemkv
9f7de0cc1bb5a31c10d2feaa8d1c12cac1ab3b68
[ "BSD-3-Clause" ]
null
null
null
tests/error_msg_test.cc
RobDickinson/pmemkv
9f7de0cc1bb5a31c10d2feaa8d1c12cac1ab3b68
[ "BSD-3-Clause" ]
4
2017-02-20T17:14:10.000Z
2017-02-20T22:36:43.000Z
tests/error_msg_test.cc
RobDickinson/pmemkv
9f7de0cc1bb5a31c10d2feaa8d1c12cac1ab3b68
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2021, Intel Corporation */ #include <libpmemkv.hpp> #include "unittest.hpp" static void errormsg_cleared() { pmem::kv::db kv; auto s = kv.open("non-existing name"); ASSERT_STATUS(s, pmem::kv::status::WRONG_ENGINE_NAME); auto err = pmem::kv::errormsg(); UT_A...
20.589744
55
0.666252
RobDickinson
c2052ec4ae5fbf6537be4d3eedc18131f3128272
1,587
cpp
C++
Greet-core/src/ecs/components/Camera2DComponent.cpp
Thraix/Greet-Engine
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
null
null
null
Greet-core/src/ecs/components/Camera2DComponent.cpp
Thraix/Greet-Engine
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
1
2018-03-30T18:10:37.000Z
2018-03-30T18:10:37.000Z
Greet-core/src/ecs/components/Camera2DComponent.cpp
Thraix/Greet-Engine-Port
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
null
null
null
#include "Camera2DComponent.h" #include <utils/MetaFileLoading.h> namespace Greet { Camera2DComponent::Camera2DComponent(const Mat3& viewMatrix, bool active) : active{active}, projectionMatrix{Mat3::OrthographicViewport()}, viewMatrix{viewMatrix} {} Camera2DComponent::Camera2DComponent(const MetaFileClass&...
32.387755
92
0.73913
Thraix
c205e9ba64539097bc96f438934a81d0af0f9983
8,419
cpp
C++
Invaders-2/src/World.cpp
dalawr32/invaders-repository
7e9cdae877296b8149c2fa12b02af0c981a72a9d
[ "CC-BY-4.0" ]
null
null
null
Invaders-2/src/World.cpp
dalawr32/invaders-repository
7e9cdae877296b8149c2fa12b02af0c981a72a9d
[ "CC-BY-4.0" ]
null
null
null
Invaders-2/src/World.cpp
dalawr32/invaders-repository
7e9cdae877296b8149c2fa12b02af0c981a72a9d
[ "CC-BY-4.0" ]
null
null
null
/** * Created by Daniel. * Contains all the information for * running the internal logic of * the game, such as spawning * enemies and moving all objects. */ #include "World.h" #include "Enemy.h" #include "Player.h" #include "Basic_Enemy.h" #include "Basic_Shooter.h" #include "Repeater.h" #in...
30.284173
121
0.530229
dalawr32
c20af5889fe0358a83bf1bd6e73f7fd364a53973
1,950
hh
C++
mcg/src/external/BSR/include/io/serialization/serial_istream.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
392
2015-01-14T13:19:40.000Z
2022-02-12T08:47:33.000Z
mcg/src/external/BSR/include/io/serialization/serial_istream.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
45
2015-02-03T12:16:10.000Z
2022-03-07T00:25:09.000Z
mcg/src/external/BSR/include/io/serialization/serial_istream.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
168
2015-01-05T02:29:53.000Z
2022-02-22T04:32:04.000Z
/* * Serial input stream built on top of a standard istream. */ #ifndef IO__SERIALIZATION__SERIAL_ISTREAM_HH #define IO__SERIALIZATION__SERIAL_ISTREAM_HH #include "io/serialization/serial_input_stream.hh" #include "io/streams/istream.hh" namespace io { namespace serialization { /* * Imports. */ using io::streams:...
26.712329
72
0.697436
mouthwater
c20fef07b2bff7ad091c3c34183a18557ed007d5
20,431
cpp
C++
graphics.cpp
vladetaStoj/DirectX_11_Framework
19b38d4b192a303a2403e7509302d2d2af7a65e5
[ "MIT" ]
null
null
null
graphics.cpp
vladetaStoj/DirectX_11_Framework
19b38d4b192a303a2403e7509302d2d2af7a65e5
[ "MIT" ]
null
null
null
graphics.cpp
vladetaStoj/DirectX_11_Framework
19b38d4b192a303a2403e7509302d2d2af7a65e5
[ "MIT" ]
null
null
null
#include "graphics.h" #include "primitives.h" using namespace std; Graphics::Graphics() { SwapChain = 0; d3d11Device = 0; d3d11DevCon = 0; renderTargetView = 0; depthStencilView = 0; depthStencilBuffer = 0; m_renderState = 0; Transparency = 0; CCWcullMode = 0; CWcullMode = 0; NoCullMod...
30.769578
262
0.72713
vladetaStoj
c2129085e7d639b1e224f7381cb4bf0e437252a2
5,073
cpp
C++
rtl/eclrtl/rtlcommon.cpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
null
null
null
rtl/eclrtl/rtlcommon.cpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
null
null
null
rtl/eclrtl/rtlcommon.cpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
3
2021-05-02T17:01:57.000Z
2021-05-02T17:02:28.000Z
#include "jiface.hpp" #include "jbuff.hpp" #include "jstring.hpp" #include "junicode.hpp" #include "rtlcommon.hpp" CThorContiguousRowBuffer::CThorContiguousRowBuffer(ISerialStream * _in) : in(_in) { buffer = NULL; maxOffset = 0; readOffset = 0; } void CThorContiguousRowBuffer::doRead(size32_t len, void * ...
24.272727
143
0.685196
davidarcher
c2146d653943a65008d6d88a20225c0a46d258f7
1,200
cpp
C++
RaychelEngine/src/Raychel/Engine/Interface/Camera.cpp
Weckyy702/RaychelCPU
a372ac0dfa3339cac19b06b11ec916ae275b67c0
[ "MIT" ]
4
2020-12-07T21:57:14.000Z
2021-12-06T10:39:18.000Z
RaychelEngine/src/Raychel/Engine/Interface/Camera.cpp
Weckyy702/RaychelCPU
a372ac0dfa3339cac19b06b11ec916ae275b67c0
[ "MIT" ]
null
null
null
RaychelEngine/src/Raychel/Engine/Interface/Camera.cpp
Weckyy702/RaychelCPU
a372ac0dfa3339cac19b06b11ec916ae275b67c0
[ "MIT" ]
2
2021-04-08T12:05:03.000Z
2021-12-06T09:23:32.000Z
#include "Raychel/Engine/Interface/Camera.h" namespace Raychel { vec3 Camera::forward() const noexcept { return normalize(g_forward * transform_.rotation); } vec3 Camera::up() const noexcept { return normalize(g_up * transform_.rotation); } vec3 Camera::right() const noex...
21.818182
58
0.6225
Weckyy702
c21b102e27678318ad8c8c568eca51682b1def63
19,535
cpp
C++
CollyraEngine/CollyraEngine/M_Scene.cpp
Collyra-Modding-Guild/CollyraEngine
c6c99160995dc2ed28a058df353f13d6ce8c3af4
[ "MIT" ]
null
null
null
CollyraEngine/CollyraEngine/M_Scene.cpp
Collyra-Modding-Guild/CollyraEngine
c6c99160995dc2ed28a058df353f13d6ce8c3af4
[ "MIT" ]
null
null
null
CollyraEngine/CollyraEngine/M_Scene.cpp
Collyra-Modding-Guild/CollyraEngine
c6c99160995dc2ed28a058df353f13d6ce8c3af4
[ "MIT" ]
null
null
null
#include "M_Scene.h" #include "GameObject.h" #include "p2Defs.h" #include <stack> #include <map> #include "Component.h" #include "C_Mesh.h" #include "C_Transform.h" #include "C_Material.h" #include "C_Camera.h" #include "C_Script.h" #include "Application.h" #include "M_Camera3D.h" #include "M_UIManager.h" #include "M...
19.772267
190
0.675557
Collyra-Modding-Guild
c22760fb1eaa3adbebe0a488774ba4de8a0f5b12
253
cpp
C++
codeforces/38A.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
codeforces/38A.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
codeforces/38A.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int arr[101]; int main() { int n,a,b,sum=0; scanf("%d",&n); for(int i=2; i<=n; i++) scanf("%d",&arr[i]); scanf("%d%d",&a,&b); for(int i=a+1; i<=b; i++)sum+=arr[i]; return printf("%d\n",sum ), 0; }
16.866667
45
0.525692
Shisir
c230eeb723c8e61bcc87afc39c6722f8e09f021d
1,466
hpp
C++
include/tkn/sky.hpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
23
2019-07-11T14:47:39.000Z
2021-12-24T09:56:24.000Z
include/tkn/sky.hpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
null
null
null
include/tkn/sky.hpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
4
2021-04-06T18:20:43.000Z
2022-01-15T09:20:45.000Z
#pragma once #include <array> #include <vector> #include <tkn/types.hpp> // Utility for the hosek-wilkie sky model. The model was modified // to use a preetham-like zenith darkening and transitions to black // when the sky is below the horizon (the original model assumed // the sun above the horizon). // Can evaluate...
25.719298
78
0.749659
nyorain
ea4b4dcb3fb9241a65953d6a1362b41837b9c777
526
cpp
C++
src/duke/engine/rendering/ShaderConstants.cpp
hradec/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
51
2015-01-07T18:36:39.000Z
2021-11-30T15:24:44.000Z
src/duke/engine/rendering/ShaderConstants.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
1
2015-01-08T10:48:43.000Z
2015-02-11T19:32:14.000Z
src/duke/engine/rendering/ShaderConstants.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
18
2015-05-11T12:43:37.000Z
2019-11-29T11:15:41.000Z
#include "ShaderConstants.hpp" namespace duke { namespace shader { const char gTextureSampler[] = "gTextureSampler"; const char gViewport[] = "gViewport"; const char gImage[] = "gImage"; const char gPan[] = "gPan"; const char gPanAndChar[] = "gPanAndChar"; const char gZoom[] = "gZoom"; const char gAlpha[] = "gAlpha";...
26.3
49
0.69962
hradec
ea4d95543b02650f0bc8968753c4cb5885e59d11
6,203
cpp
C++
NPSVisor/SVisor/svisor/source/D_Wait.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
NPSVisor/SVisor/svisor/source/D_Wait.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
NPSVisor/SVisor/svisor/source/D_Wait.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
//--------- d_wait.cpp ------------------------------------------------------- //---------------------------------------------------------------------------- #include "precHeader.h" //---------------------------------------------------------------------------- #include "d_wait.h" #include "p_base.h" #include "ptraspbit...
25.953975
124
0.482992
NPaolini
ea4e9e1b585af2bdbed9114638ad9b4c58417e04
3,223
cpp
C++
Source/Analyzer/WfAnalyzer_CheckScope_DuplicatedSymbol.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
1
2018-10-17T16:00:38.000Z
2018-10-17T16:00:38.000Z
Source/Analyzer/WfAnalyzer_CheckScope_DuplicatedSymbol.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
null
null
null
Source/Analyzer/WfAnalyzer_CheckScope_DuplicatedSymbol.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
null
null
null
#include "WfAnalyzer.h" namespace vl { namespace workflow { namespace analyzer { using namespace collections; /*********************************************************************** CheckScopes_DuplicatedSymbol ***********************************************************************/ bool CheckScopes_Dup...
34.287234
99
0.530872
vczh2
ea4fc20bd01161d9343ff5b423394a5386703cf1
1,771
cpp
C++
codes/HDU/hdu1298.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu1298.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu1298.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 100005; const int maxm = 105; const int sigma_size = 26; const char dir[15][10] = {"", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz"}; struct Tire { int sz, g[maxn][sigma_size], val[maxn]; void init(); ...
16.866667
92
0.455675
JeraKrs
ea50b4403bade635f9e36de4236f8e74defa4081
2,986
cc
C++
src/CaliceDetectorConstruction.cc
lopezzot/CALICESiWTB
ea1cdbdad0c406d27065e350bf6cc2256aceedfa
[ "MIT" ]
1
2022-02-28T16:19:38.000Z
2022-02-28T16:19:38.000Z
src/CaliceDetectorConstruction.cc
lopezzot/CALICESiWTB
ea1cdbdad0c406d27065e350bf6cc2256aceedfa
[ "MIT" ]
null
null
null
src/CaliceDetectorConstruction.cc
lopezzot/CALICESiWTB
ea1cdbdad0c406d27065e350bf6cc2256aceedfa
[ "MIT" ]
null
null
null
//************************************************** // \file CaliceDetectorConstruction.cc // \brief: Implementation of // CaliceDetectorConstruction class // \author: Lorenzo Pezzotti (CERN EP-SFT-sim) // @lopezzot // \start date: 17 February 2022 //*************************************************...
34.321839
110
0.570328
lopezzot
ea533bb5004ff5315c56c2b433485a927e7a300e
3,023
cpp
C++
core/src/main/cpp/process/facedetector/FaceDetector.cpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
2
2021-09-16T15:14:39.000Z
2021-09-17T14:39:52.000Z
core/src/main/cpp/process/facedetector/FaceDetector.cpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
null
null
null
core/src/main/cpp/process/facedetector/FaceDetector.cpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
null
null
null
// // Created by caolong on 2020/8/10. // #include <res/ResManager.hpp> #include <utils/Utils.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/imgcodecs.hpp> #include <process/facedetector/FaceDetector.hpp> #include <render/Flow.hpp> #include <render/polygon/Polygon.hpp> #include <softarch/Msg.hpp> #include <rend...
27.733945
94
0.656632
caolongcl
ea53d8043af247cd7bf81dfa7a1687b2023f438b
1,580
hpp
C++
src/merge/feature_sample_merge.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/merge/feature_sample_merge.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/merge/feature_sample_merge.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //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 a...
30.980392
74
0.705063
toppic-suite
ea53fdedf8e355b51193835f6c8197b60cc5f999
306
cpp
C++
module04/ex00/Cat.cpp
JohnnyZaev/CPP-Piscine
f1d0f0164131094823bb911c084d5075b0aee392
[ "MIT" ]
null
null
null
module04/ex00/Cat.cpp
JohnnyZaev/CPP-Piscine
f1d0f0164131094823bb911c084d5075b0aee392
[ "MIT" ]
null
null
null
module04/ex00/Cat.cpp
JohnnyZaev/CPP-Piscine
f1d0f0164131094823bb911c084d5075b0aee392
[ "MIT" ]
null
null
null
// // Created by Johnny Zaev on 25.05.2022. // #include "Cat.hpp" Cat::Cat() { type = "Cat"; } Cat::~Cat() {} Cat::Cat(const Cat &b) { *this = b; } Cat &Cat::operator=(const Cat &other) { this->type = other.type; return *this; } void Cat::makeSound() const { std::cout << "Meow!" << std::endl; }
12.75
40
0.568627
JohnnyZaev
ea548247736f817f178157d2aa51d6afe5857ed4
1,050
hpp
C++
include/tdc/pred/result.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
1
2021-05-06T13:39:22.000Z
2021-05-06T13:39:22.000Z
include/tdc/pred/result.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
1
2020-03-07T08:05:20.000Z
2020-03-07T08:05:20.000Z
include/tdc/pred/result.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
2
2020-05-27T07:54:43.000Z
2021-11-18T13:29:14.000Z
#pragma once #include <utility> namespace tdc { namespace pred { /// \brief The result of a predecessor or successor query, wrapping the position of the located key. struct PosResult { /// \brief Whether the predecessor or successor exists. bool exists; /// \brief The position of the predecessor or ...
23.333333
103
0.657143
herlez
ea564452fd2f84743d55951770c638d2d9d9124b
2,856
cpp
C++
Practice/2019.7.10/UOJ242.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2019.7.10/UOJ242.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2019.7.10/UOJ242.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define double long double const int maxN=101000; const double Pi=acos(-1); const double eps=1e-10; class Point{ public: double x,y; double len(){ return sqrt(x*x+y*y); } double angle(){ return atan2(y,x); } }; class Line{ public: Point p,f; }; int n; Point A[ma...
23.032258
84
0.598039
SYCstudio
ea57a38efd0da9b8e4ed5f8cb14a592aeb757b1a
894
hpp
C++
includes/eeros/control/ros/RosPublisherDoubleArray.hpp
jonas-frei/eeros-framework
d3cf6b04f724d06cb45a512b9ff56e057fcfbb28
[ "Apache-2.0" ]
null
null
null
includes/eeros/control/ros/RosPublisherDoubleArray.hpp
jonas-frei/eeros-framework
d3cf6b04f724d06cb45a512b9ff56e057fcfbb28
[ "Apache-2.0" ]
null
null
null
includes/eeros/control/ros/RosPublisherDoubleArray.hpp
jonas-frei/eeros-framework
d3cf6b04f724d06cb45a512b9ff56e057fcfbb28
[ "Apache-2.0" ]
null
null
null
#ifndef ORG_EEROS_CONTROL_ROSPUBLISHER_DOUBLEARRAY_HPP #define ORG_EEROS_CONTROL_ROSPUBLISHER_DOUBLEARRAY_HPP #include <eeros/control/ros/RosPublisher.hpp> #include <eeros/math/Matrix.hpp> #include <std_msgs/Float64MultiArray.h> namespace eeros { namespace control { template < typename SigInType > class RosPubl...
30.827586
101
0.750559
jonas-frei
ea5c768d3cdf67c57ce452050d6b0e7caa15c2bf
1,788
cpp
C++
src/ros/master.cpp
Xamla/torch-ros
1f42cd4863d68bc4f9134bd1932988c1d5d1e7ca
[ "BSD-3-Clause" ]
26
2016-03-16T06:21:16.000Z
2021-01-04T05:37:07.000Z
src/ros/master.cpp
Xamla/torch-ros
1f42cd4863d68bc4f9134bd1932988c1d5d1e7ca
[ "BSD-3-Clause" ]
15
2016-04-04T21:31:29.000Z
2021-08-20T05:27:34.000Z
src/ros/master.cpp
Xamla/torch-ros
1f42cd4863d68bc4f9134bd1932988c1d5d1e7ca
[ "BSD-3-Clause" ]
10
2016-04-04T21:07:43.000Z
2018-05-17T12:54:27.000Z
#include "torch-ros.h" #include <ros/master.h> ROSIMP(bool, Master, execute)( const char *method, xamla::Variable *request, xamla::Variable *response, xamla::Variable *payload, bool wait_for_master) { XmlRpc::XmlRpcValue request_; VariableToXmlRpcValue(*request, request_); // copy request XmlRpc::...
26.294118
93
0.685682
Xamla
ea5cece6ddc18b993b4689b60269abf1be39f44e
7,211
cpp
C++
Code/max/Containers/PointTest.cpp
ProgramMax/max
174b0501463dde4263813371546667763478e75e
[ "BSD-3-Clause" ]
1
2015-12-30T08:22:26.000Z
2015-12-30T08:22:26.000Z
Code/max/Containers/PointTest.cpp
ProgramMax/max
174b0501463dde4263813371546667763478e75e
[ "BSD-3-Clause" ]
55
2015-10-16T06:13:16.000Z
2020-11-16T06:45:07.000Z
Code/max/Containers/PointTest.cpp
ProgramMax/max
174b0501463dde4263813371546667763478e75e
[ "BSD-3-Clause" ]
1
2019-01-03T11:21:59.000Z
2019-01-03T11:21:59.000Z
// Copyright 2021, The max Contributors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "PointTest.hpp" #include <max/Containers/Point.hpp> #include <max/Testing/TestSuite.hpp> #include <max/Testing/CoutResultPolicy.hpp> #include <u...
48.722973
274
0.694772
ProgramMax
ea5f953aee9951ebc5acf8ea06ea9f7ba95c419e
1,513
hpp
C++
complex_crawler/crawler/action/PageStorage.hpp
AlaoPrado/search_engine
6be1f0beb95ca23c5979e60d55a10eeb4fbc1aa1
[ "MIT" ]
null
null
null
complex_crawler/crawler/action/PageStorage.hpp
AlaoPrado/search_engine
6be1f0beb95ca23c5979e60d55a10eeb4fbc1aa1
[ "MIT" ]
null
null
null
complex_crawler/crawler/action/PageStorage.hpp
AlaoPrado/search_engine
6be1f0beb95ca23c5979e60d55a10eeb4fbc1aa1
[ "MIT" ]
null
null
null
/* Copyright 2021 Alan Prado Araújo 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, publish, distribute, s...
37.825
80
0.763384
AlaoPrado
ea8068f277ab570eeead0e8ab31d860b7208d376
4,946
cpp
C++
src/Query.cpp
2coding/UseSQLite
710880de66895d05e96a4fce48ce8b30a1c5842e
[ "BSD-2-Clause" ]
null
null
null
src/Query.cpp
2coding/UseSQLite
710880de66895d05e96a4fce48ce8b30a1c5842e
[ "BSD-2-Clause" ]
null
null
null
src/Query.cpp
2coding/UseSQLite
710880de66895d05e96a4fce48ce8b30a1c5842e
[ "BSD-2-Clause" ]
null
null
null
/** Copyright (c) 2015, 2coding 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 following...
35.582734
149
0.670441
2coding
ea89601e7eaa15abece31770109696744ab9c061
1,951
cpp
C++
src/test_ang.cpp
esromneb/DoubleRay
40b6bbadbceae9add732f8ae453cc94333729a02
[ "BSD-3-Clause" ]
1
2020-06-14T12:55:43.000Z
2020-06-14T12:55:43.000Z
src/test_ang.cpp
esromneb/hack-ray
232dae15627f6d1068604dd817c86963a88b08fc
[ "BSD-3-Clause" ]
5
2020-04-10T07:40:09.000Z
2020-04-13T10:14:52.000Z
src/test_ang.cpp
esromneb/DoubleRay
40b6bbadbceae9add732f8ae453cc94333729a02
[ "BSD-3-Clause" ]
null
null
null
#include "Vec3.hpp" #include "Vec.hpp" #include <iostream> #include <cmath> using namespace std; #ifdef asdf Left: [-0.894874,-0.446318,0.001119] Right: [-0.894874,0.446318,0.001119] #endif int main3(void) { cout << "Hello World\n"; Vec v0(2); v0.data[1] = 43; return 0; } int main2(void) { cou...
14.89313
56
0.476679
esromneb
ea8e33a7070d6c9de8bccb03a786d456cba26401
3,452
hh
C++
src/cpu/dtu-accel/syscallsm.hh
utcs-scea/gem5-dtu
0922df0e8f47fe3bd2fbad9f57b1b855181c64dd
[ "BSD-3-Clause" ]
3
2016-03-23T09:21:51.000Z
2019-07-22T22:07:26.000Z
src/cpu/dtu-accel/syscallsm.hh
TUD-OS/gem5-dtu
0922df0e8f47fe3bd2fbad9f57b1b855181c64dd
[ "BSD-3-Clause" ]
null
null
null
src/cpu/dtu-accel/syscallsm.hh
TUD-OS/gem5-dtu
0922df0e8f47fe3bd2fbad9f57b1b855181c64dd
[ "BSD-3-Clause" ]
6
2018-01-01T02:15:26.000Z
2021-11-03T10:54:04.000Z
/* * Copyright (c) 2016, Nils Asmussen * All rights reserved. * * Redistribution and use in source and binary forms, with or without * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must r...
26.553846
79
0.661645
utcs-scea
ea91a1c56ba3a43756fdef5aba4969294318ebdb
699
cc
C++
tests/day_05_tests.cc
tamaroth/AdventOfCode2017
0c0f93590068b6b8fa6ed7f5d53c9fecede632bb
[ "MIT" ]
2
2017-12-01T09:18:03.000Z
2017-12-13T12:59:40.000Z
tests/day_05_tests.cc
tamaroth/AdventOfCode2017
0c0f93590068b6b8fa6ed7f5d53c9fecede632bb
[ "MIT" ]
null
null
null
tests/day_05_tests.cc
tamaroth/AdventOfCode2017
0c0f93590068b6b8fa6ed7f5d53c9fecede632bb
[ "MIT" ]
null
null
null
/// @file /// /// Tests for Day01. /// #include <string> #include <vector> #include <gtest/gtest.h> #include "advent/days/05/maze.hh" #include "tests/tests_base.hh" namespace advent::tests { using TestData = std::pair<std::vector<int>, int>; class Day05Tests: public TestsBase, public Day05 {}; TEST_F(Day05Tests,...
19.971429
54
0.705293
tamaroth
ea986f18ec2e4ef75733ff8d003535057b82c935
1,730
hpp
C++
include/glcxx/Texture.hpp
holtrop/glcxx
c55c2ae3b58d621d3127af7ed5980f7055cba486
[ "MIT" ]
4
2017-01-24T17:56:02.000Z
2020-01-30T09:28:32.000Z
include/glcxx/Texture.hpp
holtrop/glcxx
c55c2ae3b58d621d3127af7ed5980f7055cba486
[ "MIT" ]
1
2016-07-10T20:13:44.000Z
2016-07-10T20:13:44.000Z
include/glcxx/Texture.hpp
holtrop/glcxx
c55c2ae3b58d621d3127af7ed5980f7055cba486
[ "MIT" ]
null
null
null
/** * @file * * C++ wrapper for an OpenGL texture object. */ #ifndef GLCXX_TEXTURE_HPP #define GLCXX_TEXTURE_HPP #include "glcxx/gl.hpp" #include <memory> namespace glcxx { /** * C++ wrapper for an OpenGL texture object. */ class Texture { public: /** * Const...
22.763158
79
0.447977
holtrop
ea9fd863ddb4531d03a943deaf7c17af8908f57f
3,142
cpp
C++
OpenTESArena/src/Interface/MainQuestSplashPanel.cpp
michealccc/OpenTESArena
7b4fd688677abea2ef03fa655b6d1669b1c8d77d
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/MainQuestSplashPanel.cpp
michealccc/OpenTESArena
7b4fd688677abea2ef03fa655b6d1669b1c8d77d
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/MainQuestSplashPanel.cpp
michealccc/OpenTESArena
7b4fd688677abea2ef03fa655b6d1669b1c8d77d
[ "MIT" ]
null
null
null
#include "MainQuestSplashPanel.h" #include "MainQuestSplashUiController.h" #include "MainQuestSplashUiModel.h" #include "MainQuestSplashUiView.h" #include "../Game/Game.h" #include "../UI/CursorData.h" #include "components/utilities/String.h" MainQuestSplashPanel::MainQuestSplashPanel(Game &game) : Panel(game) { } ...
33.425532
119
0.777849
michealccc
eaa5ee40e8048a393996373e41f64ef747c29463
5,484
cpp
C++
tests/test_qprotobuf_serializer_plugin/serialization/qprotobufserializerimpl.cpp
pontaoski/qtprotobuf
7225e6e324aa38c1bbeac1c0829cef73650e9d6f
[ "MIT" ]
139
2019-06-28T10:35:07.000Z
2022-03-23T05:54:26.000Z
tests/test_qprotobuf_serializer_plugin/serialization/qprotobufserializerimpl.cpp
pontaoski/qtprotobuf
7225e6e324aa38c1bbeac1c0829cef73650e9d6f
[ "MIT" ]
165
2019-10-22T14:51:10.000Z
2022-02-24T22:46:56.000Z
tests/test_qprotobuf_serializer_plugin/serialization/qprotobufserializerimpl.cpp
pontaoski/qtprotobuf
7225e6e324aa38c1bbeac1c0829cef73650e9d6f
[ "MIT" ]
29
2019-08-06T11:15:41.000Z
2022-01-04T02:51:43.000Z
/* * MIT License * * Copyright (c) 2019 Alexey Edelev <semlanik@gmail.com>, Viktor Kopp <vifactor@gmail.com> * * This file is part of QtProtobuf project https://git.semlanik.org/semlanik/qtprotobuf * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated...
38.619718
116
0.61415
pontaoski
eaa7bc0e3ea3a9bea8bf1f03d114879cf2243138
1,385
cpp
C++
Section_11/FunctionDefinitions/main.cpp
ftfoi71/BeginningCpp
6acd8a9842f86791d87afbbc9716ff2ee994f4dc
[ "Unlicense" ]
1
2021-02-11T23:08:00.000Z
2021-02-11T23:08:00.000Z
Section_11/FunctionDefinitions/main.cpp
d-fect/BeginningCpp
6acd8a9842f86791d87afbbc9716ff2ee994f4dc
[ "Unlicense" ]
null
null
null
Section_11/FunctionDefinitions/main.cpp
d-fect/BeginningCpp
6acd8a9842f86791d87afbbc9716ff2ee994f4dc
[ "Unlicense" ]
null
null
null
#include <iostream> #define _USE_MATH_DEFINES // Need this to use m_PI. Must be added before #include <cmath>. Legacy C feature and not part of standard C++. #include <cmath> const static double pi {3.14159}; // Use this if M_PI doesn't work. M_PI is non-standard, so this might be best option. using namespace st...
30.777778
147
0.629603
ftfoi71
eaadd4ae1597d38d447d910fc28b5f197a72bb85
1,204
cpp
C++
Test/ExceptionTests.cpp
deepdubey06/WMI
6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5
[ "MIT" ]
49
2015-08-10T09:53:45.000Z
2021-05-31T23:12:56.000Z
Test/ExceptionTests.cpp
deepdubey06/WMI
6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5
[ "MIT" ]
null
null
null
Test/ExceptionTests.cpp
deepdubey06/WMI
6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5
[ "MIT" ]
22
2015-10-27T13:53:06.000Z
2021-12-01T07:36:03.000Z
//////////////////////////////////////////////////////////////////////////////// //! \file ExceptionTests.cpp //! \brief The unit tests for the Exception class. //! \author Chris Oldwood #include "Common.hpp" #include <Core/UnitTest.hpp> #include <WMI/Exception.hpp> #include <wbemidl.h> #include <WCL/ComPtr.hpp> T...
25.617021
80
0.694352
deepdubey06
eab53c1767a50a0fd27f01abd5613dcfb9775df9
1,112
cpp
C++
client/clientservice/src/event_service.cpp
myh1000/concord-bft
1790aee3705c0f0571215abde2b0433564ff16a4
[ "Apache-2.0" ]
null
null
null
client/clientservice/src/event_service.cpp
myh1000/concord-bft
1790aee3705c0f0571215abde2b0433564ff16a4
[ "Apache-2.0" ]
null
null
null
client/clientservice/src/event_service.cpp
myh1000/concord-bft
1790aee3705c0f0571215abde2b0433564ff16a4
[ "Apache-2.0" ]
null
null
null
// Concord // // Copyright (c) 2021 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in // compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyright not...
33.69697
119
0.703237
myh1000
eab5d685052b9959401cbc3ff12e412fbfae2b90
159,574
cpp
C++
Examples/SDKLibrary/interface/common/portable/data_types/events/content_filter/type_conversion_t.cpp
beeond/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
1
2018-03-29T21:03:31.000Z
2018-03-29T21:03:31.000Z
Examples/SDKLibrary/interface/common/portable/data_types/events/content_filter/type_conversion_t.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
null
null
null
Examples/SDKLibrary/interface/common/portable/data_types/events/content_filter/type_conversion_t.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
4
2018-04-05T21:16:55.000Z
2019-10-15T19:01:46.000Z
/* ----------------------------------------------------------------------------------------------------------------- COPYRIGHT (c) 2009 - 2017 HONEYWELL INC., ALL RIGHTS RESERVED This so...
19.659234
193
0.653465
beeond
eac113310c8ceacc07411f140e4693bdfa4be60d
1,500
cpp
C++
src/versions.cpp
rvianello/chemicalite
0feb0d122e2f38730e2033e76681699c12eb1b23
[ "BSD-3-Clause" ]
29
2015-03-07T14:40:35.000Z
2022-02-05T21:17:42.000Z
src/versions.cpp
rvianello/chemicalite
0feb0d122e2f38730e2033e76681699c12eb1b23
[ "BSD-3-Clause" ]
3
2015-11-18T05:04:48.000Z
2020-12-16T22:37:25.000Z
src/versions.cpp
rvianello/chemicalite
0feb0d122e2f38730e2033e76681699c12eb1b23
[ "BSD-3-Clause" ]
3
2020-05-13T19:02:07.000Z
2021-08-02T10:45:32.000Z
#include <sqlite3ext.h> extern const sqlite3_api_routines *sqlite3_api; #include <RDGeneral/versions.h> #include "versions.hpp" #include "utils.hpp" /* ** Return the version info for this extension */ static void chemicalite_version(sqlite3_context* ctx, int /*argc*/, sqlite3_value** /*argv*/) { sqlite3_result_tex...
36.585366
148
0.740667
rvianello
eac77fc16f68df4fef903990a8e28d255e7c94ab
15,854
cc
C++
python/ora/ext/functions.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
10
2018-03-03T02:02:19.000Z
2020-04-02T22:47:55.000Z
python/ora/ext/functions.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
13
2018-01-28T15:20:55.000Z
2022-01-27T23:32:41.000Z
python/ora/ext/functions.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
null
null
null
#include <cassert> #include <cstring> #include <time.h> #include "ora.hh" #include "py.hh" #include "py_date.hh" #include "py_time.hh" #include "util.hh" using namespace std::string_literals; //------------------------------------------------------------------------------ namespace ora { namespace py { //---------...
28.412186
97
0.643686
alexhsamuel
eacbd83cb2653718f0b0812fb072d28b0fdb0e7f
6,481
cc
C++
test/sagtension/cable_component_elongation_model_test.cc
Overhead-Transmission-Line-Software/Models
c270d48dc9d8a6eaed1d13851da7207474356342
[ "Unlicense" ]
null
null
null
test/sagtension/cable_component_elongation_model_test.cc
Overhead-Transmission-Line-Software/Models
c270d48dc9d8a6eaed1d13851da7207474356342
[ "Unlicense" ]
null
null
null
test/sagtension/cable_component_elongation_model_test.cc
Overhead-Transmission-Line-Software/Models
c270d48dc9d8a6eaed1d13851da7207474356342
[ "Unlicense" ]
null
null
null
// This is free and unencumbered software released into the public domain. // For more information, please refer to <http://unlicense.org/> #include "models/sagtension/cable_component_elongation_model.h" #include "gtest/gtest.h" #include "models/base/helper.h" #include "test/factory.h" class CableComponentElongatio...
28.550661
78
0.697115
Overhead-Transmission-Line-Software
eacefc9136158f0ef866fe94caff8ff231980ddc
2,966
hpp
C++
include/codegen/include/UnityEngine/GL.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/GL.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/GL.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:28 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
42.371429
160
0.711059
Futuremappermydud
ead5e80a50f623e4ff2b096693d17975324d081f
1,771
hpp
C++
modules/engine/include/randar/Input/InputController.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
1
2016-11-12T02:43:29.000Z
2016-11-12T02:43:29.000Z
modules/engine/include/randar/Input/InputController.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
modules/engine/include/randar/Input/InputController.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
#ifndef RANDAR_SYSTEM_INPUT_CONTROLLER_HPP #define RANDAR_SYSTEM_INPUT_CONTROLLER_HPP #include <set> #include <randar/Math/Vector2.hpp> namespace randar { class InputController { protected: /** * List of currently pressed keys. */ std::set<unsigned int> pressedKeys; ...
21.864198
62
0.543761
litty-studios
ead687194f9426bc1d97327d336c404863ccb06a
144
cpp
C++
babelBubel/delayer.cpp
dorianJaniak/koty_inne
aace956718d6a7540a438c7ccc3b43a35842b646
[ "Apache-2.0" ]
null
null
null
babelBubel/delayer.cpp
dorianJaniak/koty_inne
aace956718d6a7540a438c7ccc3b43a35842b646
[ "Apache-2.0" ]
null
null
null
babelBubel/delayer.cpp
dorianJaniak/koty_inne
aace956718d6a7540a438c7ccc3b43a35842b646
[ "Apache-2.0" ]
null
null
null
#include <ctime> void delay_ms(int ms_time) { clock_t pocz = clock(); clock_t koniec; do{ koniec = clock(); }while(koniec-pocz<ms_time); }
14.4
29
0.680556
dorianJaniak
ead6f86d2ae97ef3320ca65f33ae6a8372b68e13
11,098
cpp
C++
jfs/LBMSolver.cpp
jackm97/jfs
49b0f4d999ddd215ef9fb574ba92314e48437c2e
[ "MIT" ]
null
null
null
jfs/LBMSolver.cpp
jackm97/jfs
49b0f4d999ddd215ef9fb574ba92314e48437c2e
[ "MIT" ]
null
null
null
jfs/LBMSolver.cpp
jackm97/jfs
49b0f4d999ddd215ef9fb574ba92314e48437c2e
[ "MIT" ]
null
null
null
#include "LBMSolver.h" #include <cmath> #include <cstring> #include <iostream> namespace jfs { JFS_INLINE LBMSolver::LBMSolver(unsigned int N, float L, BoundType btype, float rho0, float visc, float uref) { Initialize(N, L, btype, rho0, visc, uref); } JFS_INLINE void LBMSolver::Initialize(unsigned int N, float ...
24.126087
155
0.492341
jackm97
46ae67bfe10d2324d2a838ec62212a97ead1c18f
3,245
cxx
C++
src/converter/opengm2uai.cxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
src/converter/opengm2uai.cxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
src/converter/opengm2uai.cxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
#include <string> #include <vector> #include <iostream> #include <fstream> #include <opengm/graphicalmodel/graphicalmodel.hxx> #include <opengm/graphicalmodel/graphicalmodel_hdf5.hxx> #include <opengm/operations/minimizer.hxx> #include <opengm/operations/adder.hxx> #include <opengm/functions/explicit_function.hxx> #i...
31.813725
94
0.630508
burcin
46b3184221e6d42c5d054424875e2a3fb4ab4201
1,243
cpp
C++
tests/dense_like.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
null
null
null
tests/dense_like.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
null
null
null
tests/dense_like.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
null
null
null
#include <tuple> #include <Eigen/Core> #include <iostream> #include <npe.h> npe_function(dense_like_1) npe_arg(a, sparse_double, sparse_float) npe_arg(b, npe_dense_like(a)) npe_begin_code() npe_Matrix_b ret1 = a * b; return npe::move(ret1); npe_end_code() npe_function(dense_like_2) npe_arg(a, sparse_double, spar...
17.507042
39
0.76428
ivansipiran
46c1498aea47b7400764f73ec8f23e668cca2f67
4,844
cpp
C++
MainViewer_CellMakingViewer_PartsAssembler_Workspace.cpp
sknjpn/SyLife
b215cba87096db52ac63931db64c967f906b9172
[ "MIT" ]
5
2022-01-05T10:04:40.000Z
2022-01-11T13:23:43.000Z
MainViewer_CellMakingViewer_PartsAssembler_Workspace.cpp
sknjpn/SyLife
b215cba87096db52ac63931db64c967f906b9172
[ "MIT" ]
1
2022-01-05T10:51:42.000Z
2022-01-05T13:25:41.000Z
MainViewer_CellMakingViewer_PartsAssembler_Workspace.cpp
sknjpn/SyLife
b215cba87096db52ac63931db64c967f906b9172
[ "MIT" ]
null
null
null
#include "CellAsset.h" #include "GUIButton.h" #include "MainViewer.h" #include "PartAsset.h" #include "PartConfig.h" #include "Part_BodyAsset.h" #include "Part_NucleusAsset.h" void MainViewer::CellMakingViewer::PartsAssembler::Workspace::init() { setBackgroundColor(Palette::Black); setViewerRectInLocal(200, 0, 8...
36.977099
204
0.692609
sknjpn
46c9f204917b13c79a08ac42e71b8d6dfc4605ca
944
cpp
C++
Cpp/fost-core/json-iterator-tests.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
2
2016-05-25T22:17:38.000Z
2019-04-02T08:34:17.000Z
Cpp/fost-core/json-iterator-tests.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
5
2018-07-13T10:43:05.000Z
2019-09-02T14:54:42.000Z
Cpp/fost-core/json-iterator-tests.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
1
2020-10-22T20:44:24.000Z
2020-10-22T20:44:24.000Z
/** Copyright 1999-2019 Red Anchor Trading Co. Ltd. Distributed under the Boost Software License, Version 1.0. See <http://www.boost.org/LICENSE_1_0.txt> */ #include "fost-core-test.hpp" #include <fost/unicode> using namespace fostlib; FSL_TEST_SUITE(json_iterator); FSL_TEST_FUNCTION(empty) { ...
23.02439
70
0.668432
KayEss
46ca8514dd32be49ab847b6f4c38ce8f83b354b8
13,306
cpp
C++
iniplus.cpp
solariun/libsolar
5964054b4064a231280b3c2df1e205cabe66ac9f
[ "MIT" ]
null
null
null
iniplus.cpp
solariun/libsolar
5964054b4064a231280b3c2df1e205cabe66ac9f
[ "MIT" ]
null
null
null
iniplus.cpp
solariun/libsolar
5964054b4064a231280b3c2df1e205cabe66ac9f
[ "MIT" ]
null
null
null
// // iniplus.cpp // LibSolar++ // // Created by GUSTAVO CAMPOS on 26/03/18. // Copyright © 2018 GUSTAVO CAMPOS. All rights reserved. // #include "iniplus.hpp" #include <iostream> #include <new> #include <sstream> #include <stdlib.h> #include <cctype> iniplusException::iniplusException (std::string strMessage, u...
28.553648
217
0.517962
solariun
46d15d6488e2a31fce4678f759a447b7719b4679
3,621
cpp
C++
src/graph.cpp
Liu-Cheng/graph_accelerator
38e33215a73611dd8d0a8d8231a89aad185bea33
[ "MIT" ]
9
2017-11-03T09:12:25.000Z
2021-08-05T08:51:12.000Z
src/graph.cpp
Liu-Cheng/graph_accelerator
38e33215a73611dd8d0a8d8231a89aad185bea33
[ "MIT" ]
1
2019-12-16T02:55:09.000Z
2020-03-23T08:01:10.000Z
src/graph.cpp
Liu-Cheng/graph_accelerator
38e33215a73611dd8d0a8d8231a89aad185bea33
[ "MIT" ]
2
2019-04-09T02:23:35.000Z
2019-12-10T02:18:47.000Z
#include "graph.h" void Graph::loadFile( const std::string& fname, std::vector<std::vector<int>> &data ){ std::ifstream fhandle(fname.c_str()); if(!fhandle.is_open()){ HERE; std::cout << "Failed to open " << fname << std::endl; exit(EXIT_FAILURE); } st...
28.968
129
0.537973
Liu-Cheng
46d18ae5c9c0cde575ff2ca65ae4553321d6b397
769
cpp
C++
src/SumaKontrolnaPliku.cpp
klusekrules/tools
f740c073298b1477a2260cdb5425899ea0d7e102
[ "MIT" ]
null
null
null
src/SumaKontrolnaPliku.cpp
klusekrules/tools
f740c073298b1477a2260cdb5425899ea0d7e102
[ "MIT" ]
null
null
null
src/SumaKontrolnaPliku.cpp
klusekrules/tools
f740c073298b1477a2260cdb5425899ea0d7e102
[ "MIT" ]
null
null
null
#include "SumaKontrolnaPliku.h" #include "Logger\Logger.h" #include "krypto\Hex.h" #pragma warning( disable : 4996 ) namespace SpEx{ const std::string SumaKontrolnaPliku::NazwaTypu_ = "sha3"; SumaKontrolnaPliku::SumaKontrolnaPliku(const std::string& plik) : Zasob(plik), fp_(fopen(plik.c_str(), "rb")), sumaKontroln...
28.481481
108
0.726918
klusekrules
46d66d0c3cd7aff8f33778c7e8381fb5a6274e52
4,270
cpp
C++
control/unsupported/servos_mix_birotor.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
12
2016-07-12T10:26:47.000Z
2021-12-14T10:03:11.000Z
control/unsupported/servos_mix_birotor.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
183
2015-01-22T12:35:18.000Z
2017-06-09T10:11:26.000Z
control/unsupported/servos_mix_birotor.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
25
2015-02-03T15:15:48.000Z
2021-12-14T08:55:04.000Z
/******************************************************************************* * Copyright (c) 2009-2016, MAV'RIC Development Team * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * ...
33.100775
81
0.591803
jlecoeur
46d8b053a15f65ff4d94f53e47729ec6a68e7b37
4,135
cpp
C++
tst_gjsonlocalserver.cpp
echowalways/GJsonLocalServer
b70a68334ec564cee29177acdedf88e8096d6517
[ "BSD-3-Clause" ]
null
null
null
tst_gjsonlocalserver.cpp
echowalways/GJsonLocalServer
b70a68334ec564cee29177acdedf88e8096d6517
[ "BSD-3-Clause" ]
null
null
null
tst_gjsonlocalserver.cpp
echowalways/GJsonLocalServer
b70a68334ec564cee29177acdedf88e8096d6517
[ "BSD-3-Clause" ]
1
2018-09-15T00:16:00.000Z
2018-09-15T00:16:00.000Z
#include <QtCore> #include <QtTest> #include <GJsonAccessManager> #include <GJsonRequest> #include <GJsonResponse> #include <GEchoLocalServer> class GJsonLocalServerTest : public QObject { Q_OBJECT public: GJsonLocalServerTest(); private Q_SLOTS: void testRequestLoop(); }; GJsonLocalServerTest::GJsonL...
32.559055
86
0.596372
echowalways
46de71bc836c78a5eb8d481ff0eddef7efc288c8
1,506
cpp
C++
source/String/UUID.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
30
2020-09-16T17:39:36.000Z
2022-02-17T08:32:53.000Z
source/String/UUID.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
7
2020-11-23T14:37:15.000Z
2022-01-17T11:35:32.000Z
source/String/UUID.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
5
2020-09-17T00:39:14.000Z
2021-08-30T16:14:07.000Z
// IDDN FR.001.250001.004.S.X.2019.000.00000 // ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc /* * ULIS *__________________ * @file UUID.cpp * @author Clement Berthaud * @brief This file provides definition for weak UUID functions. * @copyright Co...
30.12
95
0.497344
Fabrice-Praxinos
46e1c22be7d562c925f12b4281503e3c2920048e
1,001
cpp
C++
leetcode/tests/LinkedList.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
leetcode/tests/LinkedList.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
leetcode/tests/LinkedList.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
#include "LinkedList.hpp" namespace LinkedList { Node::Node(int d) : val(d), next(nullptr) {} bool Node::operator ==(const Node& rhs) const { if (this == &rhs) return true; bool isEqual = val == rhs.val; if (isEqual) { isEqual = equal(next, rhs.next); } return isEqual; } bool equal(const Node* list...
18.2
57
0.587413
longztian
46efaccabbc653ff1d81e2ec250efb24719fc2b2
4,357
cpp
C++
__unit_tests/gv_framework_unit_test/first_online_game_2d_bricks.cpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
2
2018-12-03T13:17:31.000Z
2020-04-08T07:00:02.000Z
__unit_tests/gv_framework_unit_test/first_online_game_2d_bricks.cpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
__unit_tests/gv_framework_unit_test/first_online_game_2d_bricks.cpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
#include "stdafx.h" using namespace gv; namespace game_2d_bricks { #include "2d_bricks_maps.h" #include "2d_bricks_online.h" //====================================================================== class gv_game_2d_bricks:public gv_unit_test_with_renderer { public: virtual gv_string name() { return "...
27.23125
90
0.677071
dragonsn
2000343dff49bb55190db0282ef7a2893c1ad331
916
cpp
C++
18.05/lamaba1.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
null
null
null
18.05/lamaba1.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
null
null
null
18.05/lamaba1.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
1
2018-08-29T07:40:20.000Z
2018-08-29T07:40:20.000Z
#include <iostream> #include <vector> #include <algorithm> #include <cmath> #include <ctime> const long Size = 390000L; int main() { using namespace std; vector<int> numbers (Size); srand(time(0)); std::generate(numbers.begin(), numbers.end(), std::rand); cout << "Sample size = " << Size << '\n'; int count3 = st...
31.586207
65
0.599345
dengxianglong
20099382fe55b82a5165036e4edd885ba94bd679
372
cpp
C++
sprint00/t02/walletManager.cpp
Hvvang/CppTrack
3e1854d626d153f5597459200f715a91f6a03107
[ "MIT" ]
1
2020-08-27T23:41:48.000Z
2020-08-27T23:41:48.000Z
sprint00/t02/walletManager.cpp
Hvvang/CppTrack
3e1854d626d153f5597459200f715a91f6a03107
[ "MIT" ]
null
null
null
sprint00/t02/walletManager.cpp
Hvvang/CppTrack
3e1854d626d153f5597459200f715a91f6a03107
[ "MIT" ]
null
null
null
#include "walletManager.h" Wallet* createWallet(const int& septs) { Wallet* wallet = new Wallet; wallet->septims = septs; return wallet; } void destroyWallet(Wallet* wallet) { delete wallet; } Wallet* createWallets(const int& amount) { Wallet* wallets = new Wallet[amount]; return wallets; } void destr...
16.173913
42
0.704301
Hvvang
200a35ba4197520bce5fbe6495031fc667186ff9
633
cpp
C++
sma_backtester/src/utility.cpp
ayan11-11/console_based_sma_backtester
a0fccec0251eed9507f4aaa262037148d3f2c6c7
[ "MIT" ]
null
null
null
sma_backtester/src/utility.cpp
ayan11-11/console_based_sma_backtester
a0fccec0251eed9507f4aaa262037148d3f2c6c7
[ "MIT" ]
null
null
null
sma_backtester/src/utility.cpp
ayan11-11/console_based_sma_backtester
a0fccec0251eed9507f4aaa262037148d3f2c6c7
[ "MIT" ]
null
null
null
#include "utility.hpp" //Find epoch time from normal DD-MM-YYYY long int get_epoch_time(string date) { struct tm t = {0}; time_t timeSinceEpoch; istringstream ss(date); if(ss >> get_time(&t, "%d-%m-%Y")) { timeSinceEpoch = mktime(&t); } // cout << "timeSinceEpoch: " << timeSi...
23.444444
61
0.624013
ayan11-11
200b0d2de487e3b239b54f5e1f5cddec919f136b
265
hpp
C++
external/luabinding/lua_wuziqi_manual.hpp
striver-ing/WuZiQi
0372cbbea0c8e8c02adc625eda5b745c0faad8f8
[ "MIT" ]
4
2020-06-09T17:05:41.000Z
2021-08-21T06:19:35.000Z
external/luabinding/lua_wuziqi_manual.hpp
striver-ing/WuZiQi
0372cbbea0c8e8c02adc625eda5b745c0faad8f8
[ "MIT" ]
null
null
null
external/luabinding/lua_wuziqi_manual.hpp
striver-ing/WuZiQi
0372cbbea0c8e8c02adc625eda5b745c0faad8f8
[ "MIT" ]
null
null
null
#include "base/ccConfig.h" #ifndef __wuziqi_manual_h__ #define __wuziqi_manual_h__ #ifdef __cplusplus extern "C" { #endif #include "tolua++.h" #ifdef __cplusplus } #endif extern int register_all_wuziqi_manual(lua_State* tolua_S); #endif // __wuziqi_manual__h__
16.5625
58
0.784906
striver-ing
200f4f5d30e42fbcb1b652fc64eaf52fa6ad00be
3,310
cpp
C++
tests/connection.cpp
amanda-wee/sqlitemm
2c38ea99c6a5864a0f1f03c472908fb893c8993f
[ "Apache-2.0" ]
null
null
null
tests/connection.cpp
amanda-wee/sqlitemm
2c38ea99c6a5864a0f1f03c472908fb893c8993f
[ "Apache-2.0" ]
null
null
null
tests/connection.cpp
amanda-wee/sqlitemm
2c38ea99c6a5864a0f1f03c472908fb893c8993f
[ "Apache-2.0" ]
null
null
null
/************************************************************************************************************ * SQLitemm tests source file primarily for testing sqlitemm::Connection * * Copyright 2020 Amanda Wee * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in...
30.090909
110
0.584894
amanda-wee
2012e6eb460ba0f990ffba16824bda999a5b43b4
189
cpp
C++
SIMULATION.cpp
YecidMorenoUSP/ExoControl
d0c95690e23314ce3e4c0421e1de4167bfa752e2
[ "MIT" ]
null
null
null
SIMULATION.cpp
YecidMorenoUSP/ExoControl
d0c95690e23314ce3e4c0421e1de4167bfa752e2
[ "MIT" ]
null
null
null
SIMULATION.cpp
YecidMorenoUSP/ExoControl
d0c95690e23314ce3e4c0421e1de4167bfa752e2
[ "MIT" ]
null
null
null
#ifndef SIMULATION_H #include "SIMULATION.h" #endif namespace SIM{ void setLOG(std::string txt){ if(txt == "") GUI::LOG_MSG = ""; else GUI::LOG_MSG = txt; } };
18.9
40
0.566138
YecidMorenoUSP
20138d4df7498c45f6b3ab0a7926b05a04faae57
13,741
hpp
C++
Nstate.hpp
hostilefork/nocycle
71e48484ae6eef74ba92d72ed4f0d62bff5a7e4e
[ "BSL-1.0" ]
25
2015-01-01T03:38:28.000Z
2021-12-28T15:38:20.000Z
Nstate.hpp
hostilefork/nocycle
71e48484ae6eef74ba92d72ed4f0d62bff5a7e4e
[ "BSL-1.0" ]
1
2019-03-26T15:08:22.000Z
2019-04-07T11:06:28.000Z
Nstate.hpp
hostilefork/nocycle
71e48484ae6eef74ba92d72ed4f0d62bff5a7e4e
[ "BSL-1.0" ]
5
2017-09-05T02:09:25.000Z
2020-08-19T21:48:03.000Z
// // Nstate.hpp - Template for variable that can only take on values // from [0..radix-1], and an array type which is able to // store a series of these variables and take advantage of // the knowledge of the constraint in order to compact them // closer to their fundamentally minimal size. // // ...
32.638955
131
0.623099
hostilefork
2018d8b1dbdefad2698827b0679e3e8a69d0c86f
15,001
cpp
C++
nImO/nImOlogical.cpp
opendragon/nImO
cf1ca52781bf03e82a5886dafc16ec39b1e29ba5
[ "BSD-3-Clause" ]
null
null
null
nImO/nImOlogical.cpp
opendragon/nImO
cf1ca52781bf03e82a5886dafc16ec39b1e29ba5
[ "BSD-3-Clause" ]
null
null
null
nImO/nImOlogical.cpp
opendragon/nImO
cf1ca52781bf03e82a5886dafc16ec39b1e29ba5
[ "BSD-3-Clause" ]
null
null
null
//-------------------------------------------------------------------------------------------------- // // File: nImO/nImOlogical.cpp // // Project: nImO // // Contains: The class definition for nImO logical values. // // Written by: Norman Jaffe // // Copyright: (c) 2016 by OpenDragon. // // ...
26.931777
127
0.548963
opendragon
201b3f0ef1f204f63dc20d9a9668759eb52623aa
329
hpp
C++
swizzle/include/swizzle/script/Script.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
2
2020-02-10T07:58:21.000Z
2022-03-15T19:13:28.000Z
swizzle/include/swizzle/script/Script.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
swizzle/include/swizzle/script/Script.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
#ifndef SCRIPT_HPP #define SCRIPT_HPP #include "Api.hpp" namespace script { class SWIZZLE_API Script { public: Script(); virtual ~Script(); void load(const char* binary); void loadFromFile(const char* binaryFile); void compile(const char* source); void compileFromFile(const char* sourceFile); }; ...
13.16
47
0.711246
deathcleaver
201cce23bc3253149a714f3ee2cb89bf17666306
865
cpp
C++
LabelDemux/LabelDemux.cpp
jimcavoy/ConfLabelReader
6a0483f8810e3f0bdae748b51119bb4ce4e98f4c
[ "MIT" ]
null
null
null
LabelDemux/LabelDemux.cpp
jimcavoy/ConfLabelReader
6a0483f8810e3f0bdae748b51119bb4ce4e98f4c
[ "MIT" ]
null
null
null
LabelDemux/LabelDemux.cpp
jimcavoy/ConfLabelReader
6a0483f8810e3f0bdae748b51119bb4ce4e98f4c
[ "MIT" ]
null
null
null
#ifdef WIN32 #define _CRT_SECURE_NO_WARNINGS #endif #include "pch.h" #include "LabelDemux.h" #include "LabelDemuxImpl.h" #include <string.h> namespace ThetaStream { LabelDemux::LabelDemux() :_pimpl(new LabelDemuxImpl) , _label(nullptr) , _length(0) { } LabelDemux::~LabelDemux() { delete _pimpl; delet...
15.446429
55
0.65896
jimcavoy
202921fcc9274470129779f795617510d33d5e6c
7,194
cpp
C++
TestsValidation/TVNetwork/TVNetworkServer/Server.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
TestsValidation/TVNetwork/TVNetworkServer/Server.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
TestsValidation/TVNetwork/TVNetworkServer/Server.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
34.753623
119
0.549347
benkaraban