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
b00cb0010d1018cecccfb1d1bf690b0215f103c4
1,168
cpp
C++
DirectX11 Engine 2019/UI/Primitives/UIRectangle.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
2
2021-07-28T23:08:29.000Z
2021-09-14T19:32:36.000Z
DirectX11 Engine 2019/UI/Primitives/UIRectangle.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
null
null
null
DirectX11 Engine 2019/UI/Primitives/UIRectangle.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
null
null
null
#include "pc.h" #include "UIRectangle.h" UIRectangle::UIRectangle(float2 TopLeft, float2 BottomRight) { UIVertex v0{}, v1{}, v2{}; float z = (float)gLayerID; v0.Color = gColor; v1.Color = gColor; v2.Color = gColor; // Tri 1 v0.Position = float3(TopLeft.x, TopLeft.y, z); v1.Position ...
24.333333
66
0.605308
FirowMD
b016be99a66187cb8412fce6d9e6da14afaf806a
318
hh
C++
source/geometry/KBGeometry.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
3
2021-05-24T19:43:30.000Z
2022-01-06T21:03:23.000Z
source/geometry/KBGeometry.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
4
2020-05-04T15:52:26.000Z
2021-09-13T10:51:03.000Z
source/geometry/KBGeometry.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
3
2020-06-14T10:53:58.000Z
2022-01-06T21:03:30.000Z
#ifndef KBGEOMETRY_HH #define KBGEOMETRY_HH #include "KBContainer.hh" class KBGeometry { protected: Double_t fRMS = -1; public: KBGeometry() {} virtual ~KBGeometry() {} void SetRMS(Double_t val) { fRMS = val; } Double_t GetRMS() const { return fRMS; } ClassDef(KBGeometry, 1) }; #endif
14.454545
45
0.657233
ggfdsa10
b018d6335bb1a08c5c808c21859adf89cac603f5
7,133
cpp
C++
src/Flownodes/CFlowCUIOutputEntityNode.cpp
CoherentLabs/CoherentUI_CryEngine3
44b30e41e37a92ee16edbc6b738f996cfb3bd67e
[ "BSD-2-Clause" ]
12
2015-04-04T17:21:06.000Z
2021-05-11T16:03:36.000Z
src/Flownodes/CFlowCUIOutputEntityNode.cpp
CoherentLabs/CoherentUI_CryEngine3
44b30e41e37a92ee16edbc6b738f996cfb3bd67e
[ "BSD-2-Clause" ]
1
2015-06-23T21:24:38.000Z
2015-06-25T03:42:39.000Z
src/Flownodes/CFlowCUIOutputEntityNode.cpp
CoherentLabs/CoherentUI_CryEngine3
44b30e41e37a92ee16edbc6b738f996cfb3bd67e
[ "BSD-2-Clause" ]
5
2015-02-11T22:43:43.000Z
2017-12-03T00:38:46.000Z
#include <StdAfx.h> #include <Nodes/G2FlowBaseNode.h> #include <CPluginCoherentUI.h> #include <Coherent/UI/View.h> #include "CoherentViewListener.h" #include "CoherentUISystem.h" #include "ViewConfig.h" namespace CoherentUIPlugin { class CFlowCUIOutputEntityNode : public CFlowBaseNode<eNCT_Instanced> { ...
40.299435
147
0.451423
CoherentLabs
b0239bf05d84034f3b609bd5a07f7abcf0fbef94
1,850
cpp
C++
lnetlib/lnetlib/server_session_non_ssl.cpp
cpp11nullptr/lnetlib
cf29b7a6f209e1d174e16992188d25e589c5e181
[ "MIT" ]
39
2015-10-13T22:29:29.000Z
2021-08-14T18:40:51.000Z
lnetlib/lnetlib/server_session_non_ssl.cpp
cpp11nullptr/lnetlib
cf29b7a6f209e1d174e16992188d25e589c5e181
[ "MIT" ]
1
2015-12-29T09:23:29.000Z
2015-12-29T09:41:20.000Z
lnetlib/lnetlib/server_session_non_ssl.cpp
cpp11nullptr/lnetlib
cf29b7a6f209e1d174e16992188d25e589c5e181
[ "MIT" ]
8
2015-10-14T09:17:09.000Z
2022-02-21T06:47:24.000Z
/* The MIT License (MIT) Copyright (c) 2015 Ievgen Polyvanyi 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, me...
30.327869
102
0.770811
cpp11nullptr
b03041fdb7f4f82abfcfad7c5821828e8b2601cd
885
cpp
C++
src/framework/graphics/opengl/vertexLayout.cpp
oda404/oxu
5df4755f796be976bed767cd889a2e71ed867f9b
[ "MIT" ]
null
null
null
src/framework/graphics/opengl/vertexLayout.cpp
oda404/oxu
5df4755f796be976bed767cd889a2e71ed867f9b
[ "MIT" ]
null
null
null
src/framework/graphics/opengl/vertexLayout.cpp
oda404/oxu
5df4755f796be976bed767cd889a2e71ed867f9b
[ "MIT" ]
null
null
null
#include<oxu/framework/graphics/opengl/vertexLayout.hpp> #include<oxu/framework/graphics/opengl/core.hpp> namespace oxu::framework::graphics::opengl { VertexLayoutElement::VertexLayoutElement( const unsigned int &type, const unsigned int &count ): type(type), count(count) { } tem...
23.289474
77
0.651977
oda404
b034fd1474d2f021d7be5f5b2df7804d027f879b
1,044
hh
C++
App/app_serv/tx_service.hh
Nimita311/motor-driver
7141e968798fea4a01dbc03481151cd8bfbbefeb
[ "MIT" ]
3
2020-03-12T05:02:50.000Z
2021-07-10T03:33:12.000Z
App/app_serv/tx_service.hh
Nimita311/motor-driver
7141e968798fea4a01dbc03481151cd8bfbbefeb
[ "MIT" ]
null
null
null
App/app_serv/tx_service.hh
Nimita311/motor-driver
7141e968798fea4a01dbc03481151cd8bfbbefeb
[ "MIT" ]
1
2020-12-05T23:11:04.000Z
2020-12-05T23:11:04.000Z
#ifndef _INC_TX_SERVICE_HH #define _INC_TX_SERVICE_HH #include "app_serv/service.hh" #include "app_lib/messenger.hh" #include "app_msg/info.pb.h" #include "stm32h7xx_ll_usart.h" #include "stm32h7xx_ll_dma.h" #include "queue.h" namespace brown { class TXService: public Service, public Sender { private: const UB...
21.75
70
0.681992
Nimita311
b03a6852121251eaabfe59690e8bcbdbd146e768
283
hpp
C++
src/KEngine/include/KEngine/Entity/ComponentBuilders/EntityRenderableComponentBuilder.hpp
yxbh/Project-Forecast
8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4
[ "BSD-3-Clause" ]
4
2019-04-09T13:03:11.000Z
2021-01-27T04:58:29.000Z
src/KEngine/include/KEngine/Entity/ComponentBuilders/EntityRenderableComponentBuilder.hpp
yxbh/Project-Forecast
8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4
[ "BSD-3-Clause" ]
2
2017-02-06T03:48:45.000Z
2020-08-31T01:30:10.000Z
src/KEngine/include/KEngine/Entity/ComponentBuilders/EntityRenderableComponentBuilder.hpp
yxbh/Project-Forecast
8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4
[ "BSD-3-Clause" ]
4
2020-06-28T08:19:53.000Z
2020-06-28T16:30:19.000Z
#pragma once #include "KEngine/Interfaces/IEntityComponentBuilder.hpp" namespace ke { class EntityRenderableComponentBuilder : public ke::IEntityComponentBuilder { public: virtual ke::EntityComponentSptr build(const std::any & p_jsonObject) override; }; }
20.214286
86
0.738516
yxbh
b03c7edb2e5c3c242a3dbbc141085d748e1331d2
7,301
cpp
C++
ultra96/ROOT_FS/app/fad/src/fad/OdometryCalculator/PatternMatchingVOCalculator/PatternMatchingVOCalculator.cpp
rits-drsl/ZybotR2-96-fpt19
bed374a70fc6bad637770532244b20002f8e8a28
[ "MIT" ]
14
2019-12-25T10:17:11.000Z
2022-01-18T09:35:05.000Z
ultra96/ROOT_FS/app/fad/src/fad/OdometryCalculator/PatternMatchingVOCalculator/PatternMatchingVOCalculator.cpp
rits-drsl/ZybotR2-96-fpt19
bed374a70fc6bad637770532244b20002f8e8a28
[ "MIT" ]
null
null
null
ultra96/ROOT_FS/app/fad/src/fad/OdometryCalculator/PatternMatchingVOCalculator/PatternMatchingVOCalculator.cpp
rits-drsl/ZybotR2-96-fpt19
bed374a70fc6bad637770532244b20002f8e8a28
[ "MIT" ]
2
2020-02-02T03:12:37.000Z
2020-09-02T00:25:21.000Z
/** * PatternMatchingVOCalculator: 路面の俯瞰画像からVisualOdometryを導出するクラス * * Copyright (C) 2019 Yuya Kudo. * Copyright (C) 2019 Atsushi Takada. * Authors: * Yuya Kudo <ri0049ee@ed.ritsumei.ac.jp> * Atsushi Takada <ri0051rr@ed.ritsumei.ac.jp> * */ #include "PatternMatchingVOCalculator.h" namespac...
55.732824
170
0.594028
rits-drsl
b03e29a0f7ec1d4b9c6d83c5a97c1e43d4fd035c
5,668
cpp
C++
src/RemotePhotoTool/UsbDriverSwitcherDlg.cpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
16
2015-03-26T02:32:43.000Z
2021-10-18T16:34:31.000Z
src/RemotePhotoTool/UsbDriverSwitcherDlg.cpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
7
2019-02-21T06:07:09.000Z
2022-01-01T10:00:50.000Z
src/RemotePhotoTool/UsbDriverSwitcherDlg.cpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
6
2019-05-07T09:21:15.000Z
2021-09-01T06:36:24.000Z
// // RemotePhotoTool - remote camera control software // Copyright (C) 2008-2020 Michael Fink // /// \file UsbDriverSwitcherDlg.cpp USB driver switcher dialog // #include "stdafx.h" #include "resource.h" #include "UsbDriverSwitcherDlg.hpp" #include <ulib/Path.hpp> /// timer ID for refreshing USB devices list const UI...
27.784314
132
0.694425
vividos
b04531e3ba791274c303ebc1421871f9188efc70
13,859
cpp
C++
src/App/glwidget.cpp
snousias/avatree
57493c13f491ba97bfb9d7b294629c9c296e6c57
[ "AAL" ]
8
2020-04-06T14:08:15.000Z
2022-02-15T07:48:14.000Z
src/AVATreeExtensionGUI/glwidget.cpp
snousias/avatree
57493c13f491ba97bfb9d7b294629c9c296e6c57
[ "AAL" ]
null
null
null
src/AVATreeExtensionGUI/glwidget.cpp
snousias/avatree
57493c13f491ba97bfb9d7b294629c9c296e6c57
[ "AAL" ]
4
2020-08-24T13:09:37.000Z
2021-11-08T02:26:15.000Z
#include "glwidget.h" #include "ray.h" #include "modellerToViewer.h" #include <QtWidgets> #include <QWidget> #include <QMouseEvent> #include <QOpenGLShaderProgram> #include <QCoreApplication> #include <math.h> GLWidget::GLWidget(QWidget *parent) : QOpenGLWidget(parent), m_model(NULL), m_wireframe(0), m_b...
27.829317
249
0.702576
snousias
b05048428fada06c56821557b744777672c9c008
13,745
cpp
C++
src/AES.cpp
BlazingNova/APT
ba1fadb9a44588c2285646fac4a6f001ed6e065d
[ "MIT" ]
null
null
null
src/AES.cpp
BlazingNova/APT
ba1fadb9a44588c2285646fac4a6f001ed6e065d
[ "MIT" ]
1
2018-04-20T20:30:58.000Z
2018-04-20T20:30:58.000Z
src/AES.cpp
BlazingNova/APT
ba1fadb9a44588c2285646fac4a6f001ed6e065d
[ "MIT" ]
null
null
null
//============================================================================ // Name : AES.cpp // Author : Mathew Prabakar // Version : 2.0 // Copyright : Keep your hands off my code // Description : AES Encryption and Decryption in C++ //=============================================================...
22.870216
98
0.549218
BlazingNova
b0512767d9caf48c7a0ad86678a4225cdd9dd711
2,386
cpp
C++
AtCoder/Educational_DP_Contest/F.cpp
arlechann/atcoder
1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2
[ "CC0-1.0" ]
null
null
null
AtCoder/Educational_DP_Contest/F.cpp
arlechann/atcoder
1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2
[ "CC0-1.0" ]
null
null
null
AtCoder/Educational_DP_Contest/F.cpp
arlechann/atcoder
1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2
[ "CC0-1.0" ]
null
null
null
#include <algorithm> #include <boost/optional.hpp> #include <climits> #include <cmath> #include <cstdio> #include <cstring> #include <functional> #include <iomanip> #include <iostream> #include <limits> #include <list> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #include <string...
19.398374
76
0.564543
arlechann
b0513d443f9110a3bfb8ae4276f086a2bfaad699
6,499
cpp
C++
Strings/AhoCorasick.cpp
NhatMinh0208/CP-Library
4d174b01a569106d2d7ad0fa5e3594175e97de31
[ "MIT" ]
null
null
null
Strings/AhoCorasick.cpp
NhatMinh0208/CP-Library
4d174b01a569106d2d7ad0fa5e3594175e97de31
[ "MIT" ]
null
null
null
Strings/AhoCorasick.cpp
NhatMinh0208/CP-Library
4d174b01a569106d2d7ad0fa5e3594175e97de31
[ "MIT" ]
null
null
null
#ifndef CPL_TEMPLATE #define CPL_TEMPLATE /* Normie's Aho-Corasick, version 2.0. This data structure receives a set of strings and builds 2 trees: +) A trie of the strings +) A suffix link tree of the strings The implementation is kept as barebones as possible to promote flexibility. Tested with https://codeforc...
22.333333
153
0.613325
NhatMinh0208
b053f3dc61b03fc60286aed7d619458ac382da19
442
hpp
C++
includes/SpecialFood.hpp
tiboitel/Nibbler
f95341206d6750d2b85deb4ee6bb789234229201
[ "MIT" ]
null
null
null
includes/SpecialFood.hpp
tiboitel/Nibbler
f95341206d6750d2b85deb4ee6bb789234229201
[ "MIT" ]
null
null
null
includes/SpecialFood.hpp
tiboitel/Nibbler
f95341206d6750d2b85deb4ee6bb789234229201
[ "MIT" ]
null
null
null
#ifndef SPECIALFOOD_HPP # define SPECIALFOOD_HPP # include <Food.hpp> class SpecialFood : public Food { public: SpecialFood(int x, int y, size_t score = 200, size_t lifespan = 10000); ~SpecialFood(); SpecialFood (SpecialFood const &rhs); SpecialFood &operator=(SpecialFood const &rhs); size_t getLifeSpa...
20.090909
73
0.71267
tiboitel
b057f910197a2efb139b6ef20d02a1bfb1b9afee
4,748
cc
C++
src/native/VMem.cc
jappavoo/EbbRT
b0aacb6cafebd2b3e43b6636f1325e0ae10d7fba
[ "BSL-1.0" ]
67
2015-02-26T17:55:43.000Z
2022-01-06T09:30:59.000Z
src/native/VMem.cc
jmcadden/EbbRT
d213abd76f3cc065755170876cc269d97591abd3
[ "BSL-1.0" ]
146
2015-02-11T16:39:58.000Z
2021-02-21T21:27:09.000Z
src/native/VMem.cc
jmcadden/EbbRT
d213abd76f3cc065755170876cc269d97591abd3
[ "BSL-1.0" ]
12
2015-02-04T05:49:54.000Z
2019-08-07T10:20:09.000Z
// Copyright Boston University SESA Group 2013 - 2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "VMem.h" #include <atomic> #include <cinttypes> #include <cstdint> #include <c...
35.432836
79
0.609941
jappavoo
b059fcafa945380b1b4df080e5ee6682f2127d55
997
hpp
C++
include/dracosha/validator/utils/adjust_storable_ignore.hpp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
27
2020-09-18T13:45:33.000Z
2022-03-16T21:14:37.000Z
include/dracosha/validator/utils/adjust_storable_ignore.hpp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
7
2020-08-07T21:48:14.000Z
2021-01-14T12:25:37.000Z
include/dracosha/validator/utils/adjust_storable_ignore.hpp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
1
2021-03-30T09:17:58.000Z
2021-03-30T09:17:58.000Z
/** @copyright Evgeny Sidorov 2020 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ /****************************************************************************/ /** @file validator/utils/adjust_storable_ignore.hpp * * Def...
26.236842
112
0.57673
evgeniums
b05aea2b808eb84be88a18b8efded02a244b1b12
4,551
cpp
C++
kari_localization/src/mesh.cpp
karrykarry/kari_localization
e81e1fda587958e87771e149b5ca3769eae891fc
[ "MIT" ]
null
null
null
kari_localization/src/mesh.cpp
karrykarry/kari_localization
e81e1fda587958e87771e149b5ca3769eae891fc
[ "MIT" ]
null
null
null
kari_localization/src/mesh.cpp
karrykarry/kari_localization
e81e1fda587958e87771e149b5ca3769eae891fc
[ "MIT" ]
null
null
null
//meshビューア #include <ros/ros.h> #include <stdio.h> #include <iostream> #include <string> #include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <pcl/kdtree/kdtree_flann.h> #include <pcl/features/normal_3d.h> #include <pcl/surface/gp3.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/io/vtk_io.h...
23.703125
99
0.725775
karrykarry
b05b855e9987739443d02d6f052641352b9d86cb
17,149
cpp
C++
src/entity/RDimensionEntity.cpp
ouxianghui/ezcam
195fb402202442b6d035bd70853f2d8c3f615de1
[ "MIT" ]
12
2021-03-26T03:23:30.000Z
2021-12-31T10:05:44.000Z
src/entity/RDimensionEntity.cpp
15831944/ezcam
195fb402202442b6d035bd70853f2d8c3f615de1
[ "MIT" ]
null
null
null
src/entity/RDimensionEntity.cpp
15831944/ezcam
195fb402202442b6d035bd70853f2d8c3f615de1
[ "MIT" ]
9
2021-06-23T08:26:40.000Z
2022-01-20T07:18:10.000Z
/** * Copyright (c) 2011-2016 by Andrew Mustun. All rights reserved. * * This file is part of the QCAD project. * * QCAD 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 3 of the License,...
54.61465
170
0.72115
ouxianghui
b0601f9cf3454394bcedea54ce2f50e5069a8e59
397
cpp
C++
Level_4/1_ExamGrade/ExamGrade.cpp
LeeHeungrok/BaekjoonAlgorithm
fca6ce5729938df64099074e9276325ca5e11c8a
[ "MIT" ]
null
null
null
Level_4/1_ExamGrade/ExamGrade.cpp
LeeHeungrok/BaekjoonAlgorithm
fca6ce5729938df64099074e9276325ca5e11c8a
[ "MIT" ]
null
null
null
Level_4/1_ExamGrade/ExamGrade.cpp
LeeHeungrok/BaekjoonAlgorithm
fca6ce5729938df64099074e9276325ca5e11c8a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(void){ int examGrade; cin>>examGrade; if(examGrade >= 90){ cout<<"A"<<endl; } else if(examGrade >= 80){ cout<<"B"<<endl; } else if(examGrade >= 70){ cout<<"C"<<endl; } else if(examGrade >= 60){ cout...
14.703704
29
0.471033
LeeHeungrok
b061614cac6d8d343308adb38f0ef5047c6ea317
1,346
cpp
C++
TSS/src/locotrain.cpp
valdiz777/TSS
49c915a2da83eab202a2c5ea992c95f8e0d3d06b
[ "MIT" ]
null
null
null
TSS/src/locotrain.cpp
valdiz777/TSS
49c915a2da83eab202a2c5ea992c95f8e0d3d06b
[ "MIT" ]
null
null
null
TSS/src/locotrain.cpp
valdiz777/TSS
49c915a2da83eab202a2c5ea992c95f8e0d3d06b
[ "MIT" ]
null
null
null
#include "locotrain.h" bool LocoTrain::debug = false; LocoTrain::LocoTrain() { name = ""; slot = LocoByte("00"); adr = LocoByte("00"); speed = LocoByte("00"); reverse = 1; } LocoTrain::~LocoTrain() { } QString LocoTrain::timeStamp() { return(QTime::currentTime().toString("[HH:mm:ss:zzz] ")); } bool LocoTrai...
14.630435
86
0.661218
valdiz777
b0648b54dbf40086ac386e7e90446ccf2e32c4ae
3,913
cpp
C++
stl/src/wlocale.cpp
elay00/STL
7f04137880e1c3df5125c1baf808f16f399dee2e
[ "Apache-2.0" ]
null
null
null
stl/src/wlocale.cpp
elay00/STL
7f04137880e1c3df5125c1baf808f16f399dee2e
[ "Apache-2.0" ]
null
null
null
stl/src/wlocale.cpp
elay00/STL
7f04137880e1c3df5125c1baf808f16f399dee2e
[ "Apache-2.0" ]
null
null
null
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // class locale wide member functions #include <istream> #include <locale> _STD_BEGIN #pragma warning(disable : 4074) #pragma init_seg(compiler) // facets associated with C categories #define ADDFAC(Facet...
43
114
0.567851
elay00
b065bddc05ce7632d3e5cdc60ef43a602ce47995
6,820
cpp
C++
Code/src/OE/Misc/RectsPacker.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
21
2018-06-26T16:37:36.000Z
2022-01-11T01:19:42.000Z
Code/src/OE/Misc/RectsPacker.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
null
null
null
Code/src/OE/Misc/RectsPacker.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
3
2019-10-01T14:10:50.000Z
2021-11-19T20:30:18.000Z
#include "OE/Misc/RectsPacker.hpp" /* This is a modified version of this algorithm: http://blackpawn.com/texts/lightmaps/default.html */ #include "OE/Math/Math.hpp" namespace OrbitEngine { namespace Misc { bool area(Packeable2D* a, Packeable2D* b) { return a->area() > b->area(); } bool perimeter(Packeable2D* a...
23.197279
139
0.589589
mlomb
b06e2b3129c556cc581ea35d8dc3a568e688b64b
8,756
cpp
C++
src/Generation/BuildQueueBuilder.cpp
PoetaKodu/cpp-pkg
3d5cabf4e015f4727328db430a003c189aeed88a
[ "MIT" ]
9
2021-05-07T21:18:26.000Z
2022-02-01T20:44:13.000Z
src/Generation/BuildQueueBuilder.cpp
PoetaKodu/pacc
3d5cabf4e015f4727328db430a003c189aeed88a
[ "MIT" ]
null
null
null
src/Generation/BuildQueueBuilder.cpp
PoetaKodu/pacc
3d5cabf4e015f4727328db430a003c189aeed88a
[ "MIT" ]
null
null
null
#include PACC_PCH #include <Pacc/Generation/BuildQueueBuilder.hpp> #include <Pacc/Generation/OutputFormatter.hpp> #include <Pacc/System/Filesystem.hpp> #include <Pacc/System/Environment.hpp> /////////////////////////////////////////////////////////////// // Private functions (forward declaration) ///////////////////...
26.137313
123
0.596962
PoetaKodu
b070791a72d7c010876e8671ba5721a4179d900f
4,388
cpp
C++
src/dicebot/data/manual_dice_control.cpp
DrakeOu/coolq-dicebot
a38a500bbecbb44ee82adbbd191d9a5b73324606
[ "MIT" ]
2
2019-06-01T13:52:28.000Z
2019-06-03T08:17:56.000Z
src/dicebot/data/manual_dice_control.cpp
DrakeOu/coolq-dicebot
a38a500bbecbb44ee82adbbd191d9a5b73324606
[ "MIT" ]
null
null
null
src/dicebot/data/manual_dice_control.cpp
DrakeOu/coolq-dicebot
a38a500bbecbb44ee82adbbd191d9a5b73324606
[ "MIT" ]
null
null
null
#include "./manual_dice_control.h" #include <iostream> #include <sstream> #include "../entity/manual_dice.h" #include "./database_manager.h" using namespace dicebot; using namespace dicebot::manual; using namespace dicebot::database; using db_manager = dicebot::database::database_manager; #define MANUALDICE_TABLE_N...
43.019608
126
0.670465
DrakeOu
b073ffe0a2281614d0f089894080910fc40ff001
860
cpp
C++
apps/concepts/api-cpp/assfire/concepts/Speed.cpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
apps/concepts/api-cpp/assfire/concepts/Speed.cpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
apps/concepts/api-cpp/assfire/concepts/Speed.cpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
#include "Speed.hpp" using namespace assfire; assfire::Speed::Speed(double meters_per_second) : meters_per_second(meters_per_second) {} double assfire::Speed::toMetersPerSecond() const { return meters_per_second; } double assfire::Speed::toMetersPerSecondWithPrecision(double precision) const { retur...
22.631579
91
0.756977
Eaglegor
b076a108878a3ecc3e24a423777b6e2bf14034ce
263
hpp
C++
Modules/TinyOBJ/Public/Toon/TinyOBJ/TinyOBJConfig.hpp
benjinx/Toon
f21032b2f9ad5fbc9a3618a7719c33159257d954
[ "MIT" ]
2
2021-01-28T03:08:08.000Z
2021-01-28T03:08:21.000Z
Modules/TinyOBJ/Public/Toon/TinyOBJ/TinyOBJConfig.hpp
benjinx/Toon
f21032b2f9ad5fbc9a3618a7719c33159257d954
[ "MIT" ]
null
null
null
Modules/TinyOBJ/Public/Toon/TinyOBJ/TinyOBJConfig.hpp
benjinx/Toon
f21032b2f9ad5fbc9a3618a7719c33159257d954
[ "MIT" ]
null
null
null
#ifndef TOON_TINYOBJ_CONFIG_HPP #define TOON_TINYOBJ_CONFIG_HPP #include <Toon/Config.hpp> #if defined(TOON_TINYOBJ_EXPORT) #define TOON_TINYOBJ_API TOON_API_EXPORT #else #define TOON_TINYOBJ_API TOON_API_IMPORT #endif #endif // TOON_TINYOBJ_CONFIG_HPP
21.916667
44
0.825095
benjinx
b0794a6bbc80df3023456cefb0d31b2a2161a6cd
2,512
cpp
C++
engine/core/object/Light.cpp
supernovaengine/supernova
54dfdc1032a0e7cf2de10a2dd72ae6654e75c8b8
[ "MIT" ]
10
2020-05-17T15:19:11.000Z
2022-03-31T13:46:19.000Z
engine/core/object/Light.cpp
supernovaengine/supernova
54dfdc1032a0e7cf2de10a2dd72ae6654e75c8b8
[ "MIT" ]
null
null
null
engine/core/object/Light.cpp
supernovaengine/supernova
54dfdc1032a0e7cf2de10a2dd72ae6654e75c8b8
[ "MIT" ]
2
2020-06-17T21:43:02.000Z
2022-03-31T13:46:21.000Z
// // (c) 2021 Eduardo Doria. // #include "Light.h" #include "math/Angle.h" #include "math/Color.h" #include <math.h> using namespace Supernova; Light::Light(Scene* scene): Object(scene){ addComponent<LightComponent>({}); } Light::~Light(){ } void Light::setType(LightType type){ LightComponent& ligh...
24.871287
70
0.717755
supernovaengine
b0837617a00055bac00c5c0e00752c31637a81b0
844
cpp
C++
999_Practice/Day_25/0116_transpose_matrix.cpp
Gandham-Srinithya/Data-Structure-and-Algorithms
177d03105188c83a157947ca9870bf8037e92528
[ "MIT" ]
126
2019-12-22T17:49:08.000Z
2021-12-14T18:45:51.000Z
999_Practice/Day_25/0116_transpose_matrix.cpp
Gandham-Srinithya/Data-Structure-and-Algorithms
177d03105188c83a157947ca9870bf8037e92528
[ "MIT" ]
7
2019-12-25T18:03:41.000Z
2021-02-20T06:25:27.000Z
999_Practice/Day_25/0116_transpose_matrix.cpp
Gandham-Srinithya/Data-Structure-and-Algorithms
177d03105188c83a157947ca9870bf8037e92528
[ "MIT" ]
54
2019-12-26T06:28:39.000Z
2022-02-01T05:04:43.000Z
// Given a square matrix A and its number of rows (or columns) N, // return the transpose of A. // // The transpose of a matrix is the matrix flipped over it's main // diagonal, switching the row and column indices of the matrix. // // CONSTRAINS // 1 <= N <= 1000 #include <bits/stdc++.h> using namespace std; int ...
17.583333
65
0.438389
Gandham-Srinithya
b087ef516e123f5e6a886e665388daaace3cad99
1,056
cpp
C++
Linked Lists/Add Two Numbers as Lists.cpp
torquecoder/InterviewBit-Solutions
7c5e2e5c904c9354f3eb213739a8dd4aaf13b7b2
[ "MIT" ]
null
null
null
Linked Lists/Add Two Numbers as Lists.cpp
torquecoder/InterviewBit-Solutions
7c5e2e5c904c9354f3eb213739a8dd4aaf13b7b2
[ "MIT" ]
null
null
null
Linked Lists/Add Two Numbers as Lists.cpp
torquecoder/InterviewBit-Solutions
7c5e2e5c904c9354f3eb213739a8dd4aaf13b7b2
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ ListNode* Solution::addTwoNumbers(ListNode* A, ListNode* B) { ListNode *currA = A; ListNode *currB = B; int sum = 0, carry = 0; if (!...
23.466667
62
0.466856
torquecoder
b08b0e1cabd5291ee1dc735c7ac91f9df52a38b4
4,215
cpp
C++
sample/main.cpp
xerdink/enetpp
57b6f030eed7bc42347eec6df2b27d37e6c14925
[ "MIT" ]
77
2015-10-03T01:02:20.000Z
2022-01-17T14:39:43.000Z
third_party/enetpp/sample/main.cpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
45
2017-05-03T16:47:29.000Z
2019-12-02T14:49:50.000Z
third_party/enetpp/sample/main.cpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
16
2015-10-03T04:00:19.000Z
2021-10-01T03:18:11.000Z
#include <iostream> #include <string> #include <random> #include <conio.h> #include "enetpp/client.h" #include "enetpp/server.h" static const int CLIENT_COUNT = 10; static const int PORT = 123; static bool s_exit = false; static std::mutex s_cout_mutex; class server_client { public: unsigned int _uid; public: ser...
29.475524
121
0.714116
xerdink
b08b55ecfe251456b1271ff39c5938171f494de9
75
cpp
C++
tests/test_serialization/main_test_serialization.cpp
Xoanis/s2smtp
2262d39cbe8c1c0cfd4e7dfb7761f6bd15e7caeb
[ "MIT" ]
null
null
null
tests/test_serialization/main_test_serialization.cpp
Xoanis/s2smtp
2262d39cbe8c1c0cfd4e7dfb7761f6bd15e7caeb
[ "MIT" ]
null
null
null
tests/test_serialization/main_test_serialization.cpp
Xoanis/s2smtp
2262d39cbe8c1c0cfd4e7dfb7761f6bd15e7caeb
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE serialization #include <boost/test/unit_test.hpp>
37.5
39
0.853333
Xoanis
b0906fe8bfa5157f850e330e16d18d614c771f72
1,007
cpp
C++
test/zoneserver.test/MockPlayerPartyController.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
test/zoneserver.test/MockPlayerPartyController.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
test/zoneserver.test/MockPlayerPartyController.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
#include "ZoneServerTestPCH.h" #include "MockPlayerPartyController.h" using namespace gideon::zoneserver; MockPlayerPartyController::MockPlayerPartyController(zoneserver::go::Entity* owner) : PlayerPartyController(owner), lastErrorCode_(ecWhatDidYouTest) { } // = rpc::PartyRpc overriding DEFINE_SRPC_METHOD_...
26.5
85
0.784508
mark-online
b091c971338652de7f1d45a3da43fe9badcaf11a
4,676
cpp
C++
aws-cpp-sdk-kendra/source/model/WorkDocsConfiguration.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-kendra/source/model/WorkDocsConfiguration.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-kendra/source/model/WorkDocsConfiguration.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/kendra/model/WorkDocsConfiguration.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
28.687117
134
0.767109
perfectrecall
b093a41a060dc900cfc4dd72b779a8e8ade57c40
652
hpp
C++
Include/Oak/Platform/AtomicDataTypes.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
Include/Oak/Platform/AtomicDataTypes.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
Include/Oak/Platform/AtomicDataTypes.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
 #pragma once #include <cstdint> #include <cstddef> namespace Oak { typedef std::int8_t Int8; typedef std::int16_t Int16; typedef std::int32_t Int32; typedef std::int64_t Int64; typedef std::uint8_t UInt8; typedef std::uint16_t UInt16; typedef std::uint32_t UInt32; typedef std::uint64_t UInt64; typedef float Floa...
15.162791
31
0.773006
n-suudai
b097e42d11d1f08a92f9032f0802f8df03490101
2,131
cpp
C++
examples/WolfEggs/Egg.cpp
geegrow/Geegrow_ILI9341
f2b5f3d70f4f5e36c7a8817b54b10eee5350cbad
[ "BSD-3-Clause" ]
null
null
null
examples/WolfEggs/Egg.cpp
geegrow/Geegrow_ILI9341
f2b5f3d70f4f5e36c7a8817b54b10eee5350cbad
[ "BSD-3-Clause" ]
null
null
null
examples/WolfEggs/Egg.cpp
geegrow/Geegrow_ILI9341
f2b5f3d70f4f5e36c7a8817b54b10eee5350cbad
[ "BSD-3-Clause" ]
null
null
null
#include "Egg.h" uint8_t Egg::id_counter = 0; Egg::Egg(){ this->_obj = Drawer::instance().createCircleObj(); this->_obj->setColorBG(WHITE); this->id = Egg::id_counter; Egg::id_counter++; this->callbackID = Tweak::attachMsMemberCallback(this, 1000); Tweak::setCallbackActive(this->callbackID, fa...
23.677778
76
0.614735
geegrow
b0992c467b5ba4b533ab958e1d45b4a89dab736d
1,589
cpp
C++
test-example.cpp
bhargavthriler/OpenGL-env-setup
a40e2fbb98b76a818ffcaaa1a8a65bc638751b69
[ "MIT" ]
null
null
null
test-example.cpp
bhargavthriler/OpenGL-env-setup
a40e2fbb98b76a818ffcaaa1a8a65bc638751b69
[ "MIT" ]
null
null
null
test-example.cpp
bhargavthriler/OpenGL-env-setup
a40e2fbb98b76a818ffcaaa1a8a65bc638751b69
[ "MIT" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <iostream> void framebuffer_size_callback(GLFWwindow* window, int width, int height); //test flow //default height and width const unsigned int SCR_WIDTH = 800; const unsigned int SCR_HEIGHT = 600; int main(){ //initialising OpenGL with version OpenGL3.3 an...
27.396552
93
0.701699
bhargavthriler
b09d7c777a68c7968fa2ac5b2234b885b2ba23d5
350
cpp
C++
Linked Lists/Reverse Linked List/soln(iterative).cpp
shrustimy/LeetCode_Solutions-C_Cpp
b6f7da9dbfa83f6fc13573e22c4ee4086921e148
[ "MIT" ]
null
null
null
Linked Lists/Reverse Linked List/soln(iterative).cpp
shrustimy/LeetCode_Solutions-C_Cpp
b6f7da9dbfa83f6fc13573e22c4ee4086921e148
[ "MIT" ]
null
null
null
Linked Lists/Reverse Linked List/soln(iterative).cpp
shrustimy/LeetCode_Solutions-C_Cpp
b6f7da9dbfa83f6fc13573e22c4ee4086921e148
[ "MIT" ]
null
null
null
class Solution { //Iterative public: ListNode* reverseList(ListNode* head) { ListNode* curr=head; ListNode* prev=NULL; ListNode* next=NULL; while(curr!=NULL) { next=curr->next; curr->next=prev; prev=curr; curr=next; } ...
19.444444
43
0.485714
shrustimy
b09f3fbb569dbf65749bc6c715062b058c59d570
835
cpp
C++
Framework/AI/Src/FleeBehavior.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
Framework/AI/Src/FleeBehavior.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
Framework/AI/Src/FleeBehavior.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "FleeBehavior.h" using namespace JimmyGod::AI; JimmyGod::Math::Vector2 FleeBehavior::Calculate(Agent & agent) { if (IsActive()) { const float PanicDistanceSq = panicDistance * panicDistance; if (JimmyGod::Math::DistanceSqr(agent.Position, agent.Destination) > PanicDis...
33.4
136
0.71497
TheJimmyGod
b0a2be33f92e8c476ad3d32a0334756134f8f966
2,841
cpp
C++
source/FileControl.cpp
mystesPF/Raw-Format-Convert-to-BMP
8e0640b488a0cc441e7a9d8db2a2e79976e89eb2
[ "BSD-3-Clause" ]
1
2021-01-25T03:19:13.000Z
2021-01-25T03:19:13.000Z
source/FileControl.cpp
mystesPF/Raw-Format-Convert-to-BMP
8e0640b488a0cc441e7a9d8db2a2e79976e89eb2
[ "BSD-3-Clause" ]
null
null
null
source/FileControl.cpp
mystesPF/Raw-Format-Convert-to-BMP
8e0640b488a0cc441e7a9d8db2a2e79976e89eb2
[ "BSD-3-Clause" ]
1
2019-05-28T09:55:42.000Z
2019-05-28T09:55:42.000Z
#include "StdAfx.h" #include "FileControl.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif CFileControl::CFileControl(void){} CFileControl::~CFileControl(void){} BOOL CFileControl::DoConvertRawFile(CFiles* pFile) { // Create File Data if( !OpenRawFil...
22.023256
140
0.637804
mystesPF
b0aad6c22b4c85330c066ca5ff4b0a640c10e449
7,092
hpp
C++
SharedPtr.hpp
avinarsale/Smart-Pointers
a5cae680012710a99008eef2fda2b9b4b1db02af
[ "Apache-2.0" ]
null
null
null
SharedPtr.hpp
avinarsale/Smart-Pointers
a5cae680012710a99008eef2fda2b9b4b1db02af
[ "Apache-2.0" ]
null
null
null
SharedPtr.hpp
avinarsale/Smart-Pointers
a5cae680012710a99008eef2fda2b9b4b1db02af
[ "Apache-2.0" ]
null
null
null
#ifndef SHARED_PTR #define SHARED_PTR #include<iostream> #include <mutex> namespace cs540 { std::mutex myMutex; class ReferenceCount{ public: int refCount; ReferenceCount() : refCount(0) {} virtual ~ReferenceCount() {} }; template <typename T> class CriticalSection : public ReferenceCount {...
21.956656
82
0.609278
avinarsale
b0ad5831b8e4ecfb9ccb44e5b5855e0ac5f9b01c
1,911
cpp
C++
NAS2D/Renderer/Color.cpp
cugone/nas2d-core
632983fa6e9d334d79fdf2dfc54719eee5b5d3ca
[ "Zlib" ]
13
2017-03-23T06:11:30.000Z
2021-09-15T16:22:56.000Z
NAS2D/Renderer/Color.cpp
cugone/nas2d-core
632983fa6e9d334d79fdf2dfc54719eee5b5d3ca
[ "Zlib" ]
467
2016-06-28T22:47:06.000Z
2022-02-08T18:08:12.000Z
NAS2D/Renderer/Color.cpp
cugone/nas2d-core
632983fa6e9d334d79fdf2dfc54719eee5b5d3ca
[ "Zlib" ]
8
2015-10-12T21:36:10.000Z
2021-06-24T07:46:31.000Z
// ================================================================================== // = NAS2D // = Copyright © 2008 - 2020 New Age Software // ================================================================================== // = NAS2D is distributed under the terms of the zlib license. You are free to copy, // = m...
34.125
103
0.603349
cugone
b0b090a596b98fbbe44d008d616dc42b567a5992
76,642
cpp
C++
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D10/AdvancedParticles/AdvancedParticles.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D10/AdvancedParticles/AdvancedParticles.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D10/AdvancedParticles/AdvancedParticles.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // File: ParticlesGS.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "DXUT.h" #include "DXUTgui.h" #include "DXUT...
41.653261
119
0.635317
billionare
b0b9194ff681cc3b74fd6134acd7dda99ed56769
1,392
cpp
C++
BOJ_solve/17678.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/17678.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
null
null
null
BOJ_solve/17678.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 1e16; const long long ...
23.59322
64
0.586925
biyotte
b0bdf8782d63bbc53d457dfc9bf3839c02f1bbe5
7,473
cpp
C++
src/chaincontrol/viewmanager.cpp
bille18/SuperBitcoin
f0145d53ec99decbcb571165b926f283c17e32bd
[ "MIT" ]
null
null
null
src/chaincontrol/viewmanager.cpp
bille18/SuperBitcoin
f0145d53ec99decbcb571165b926f283c17e32bd
[ "MIT" ]
null
null
null
src/chaincontrol/viewmanager.cpp
bille18/SuperBitcoin
f0145d53ec99decbcb571165b926f283c17e32bd
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // CViewManger.cpp // Implementation of the Class CViewManger // Created on: 2-2-2018 16:40:58 // Original author: ranger /////////////////////////////////////////////////////////// #include <interface/ichaincomponent.h> #include "sbtcd/baseimpl.hpp"...
29.305882
115
0.617824
bille18
b0c60a92576ffb67eda375efc157b70405f09a4a
517
hh
C++
ACAP_linux/3rd/CoMISo/Config/GmmTypes.hh
shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
216
2018-09-09T11:53:56.000Z
2022-03-19T13:41:35.000Z
ACAP_linux/3rd/CoMISo/Config/GmmTypes.hh
gaolinorange/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
13
2018-10-23T08:29:09.000Z
2021-09-08T06:45:34.000Z
ACAP_linux/3rd/CoMISo/Config/GmmTypes.hh
shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
41
2018-09-13T08:50:41.000Z
2022-02-23T00:33:54.000Z
// (C) Copyright 2014 by Autodesk, Inc. #ifndef GMMTYPES_HH_INCLUDED #define GMMTYPES_HH_INCLUDED #include <gmm/gmm_matrix.h> namespace COMISO_GMM { // Matrix Types typedef gmm::col_matrix< gmm::wsvector<double> > WSColMatrix; typedef gmm::row_matrix< gmm::wsvector<double> > WSRowMatrix; typedef gmm::col_matrix< ...
24.619048
61
0.775629
shubhMaheshwari
b0c660c512a6f2da10b75c3025468a19d9e1952e
4,461
cpp
C++
library/src/blas2/rocblas_syr.cpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
library/src/blas2/rocblas_syr.cpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
library/src/blas2/rocblas_syr.cpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright 2016-2019 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "rocblas_syr.hpp" #include "logging.h" #include "utility.h" namespace { template <typename> con...
36.565574
93
0.401479
zjunweihit
37d0898a0b90fa8fa52aec17ed16dc1e2ccb95dc
19,831
cpp
C++
trace_server/mainwindow.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
trace_server/mainwindow.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
trace_server/mainwindow.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include "ui_settings.h" #include "ui_mixer.h" #include "ui_help.h" #include <server/server.h> #include "connection.h" #include <QTime> #include <QShortcut> #include <QFileDialog> #include <QMessageBox> #include <QTimer> #include <QLabel> #include <QDropEvent> #include...
30.415644
164
0.719984
mojmir-svoboda
37d8580822150dd4c9d38b6fd0e9dfe833bd5f81
347
cpp
C++
Cpp_Programs/races/20180828T/rectangle.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
2
2018-10-01T09:03:35.000Z
2019-05-24T08:53:06.000Z
Cpp_Programs/races/20180828T/rectangle.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
null
null
null
Cpp_Programs/races/20180828T/rectangle.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; long dp[50][50][2500], n, m, k; int main(){ // freopen("rectangle.in", "r", stdin); // freopen("rectangle.out", "w", stdout); scanf("%ld%ld%ld", &n, &m, &k); dp[2][2][4] = 1; for(long i = 3; i <= n; i++) for(long j = 3; j <= m; j++) for(long l = 4; l...
18.263158
43
0.489914
xiazeyu
37da12953d7e3f15254dea73a9fd24e120b5be98
516
cpp
C++
Ejercicios/Ejercicio_40 Punto-De-Venta-Parte 1/Menu.cpp
Olioliver98/C-
f47db3c3aab37387b9e4f227c910e9cc8359729e
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio_40 Punto-De-Venta-Parte 1/Menu.cpp
Olioliver98/C-
f47db3c3aab37387b9e4f227c910e9cc8359729e
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio_40 Punto-De-Venta-Parte 1/Menu.cpp
Olioliver98/C-
f47db3c3aab37387b9e4f227c910e9cc8359729e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void menu() { int opciones = 0; while (true) { system("cls"); cout<<"********"; cout<<" MENU "; cout<<"********"; cout<<"\n"; cout<<"1 - Bebidas calientes "<< endl; cout<<"2 - Bebidas fri...
15.176471
46
0.381783
Olioliver98
37e34ac82766584c4a6e24d9d06ce78a71321a68
1,571
cpp
C++
Source/FactoryGame/FGCrashSiteDebris.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGCrashSiteDebris.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGCrashSiteDebris.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
// This file has been automatically generated by the Unreal Header Implementation tool #include "FGCrashSiteDebris.h" FDebrisMesh::FDebrisMesh(){ } FDebrisActor::FDebrisActor(){ } FDebrisItemDrop::FDebrisItemDrop(){ } TSubclassOf< class UFGItemDescriptor > FDebrisItemDrop::GetItemClass() const{ return TSubclassOf<cla...
47.606061
129
0.819223
iam-Legend
37e61a50af20180e06b1d1104cf6b94ecbcdc8a0
1,130
cc
C++
iridium/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
1
2022-02-08T02:24:08.000Z
2022-02-08T02:24:08.000Z
iridium/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
null
null
null
iridium/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
null
null
null
--- content/utility/utility_blink_platform_with_sandbox_support_impl.cc.orig 2019-12-16 21:50:48 UTC +++ content/utility/utility_blink_platform_with_sandbox_support_impl.cc @@ -9,7 +9,7 @@ #if defined(OS_MACOSX) #include "content/child/child_process_sandbox_support_impl_mac.h" -#elif defined(OS_LINUX) +#elif define...
37.666667
100
0.777876
behemoth3663
37f2405b71af9bcbca1a80d1a58f2ae5e2bdd00e
585
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefnEntity.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefnEntity.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefnEntity.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_TmplFuncDefnEntity.cpp // #include "smtc_TmplFuncDefnEntity.h" #ifndef LZZ_ENABLE_INLINE #include "smtc_TmplFuncDefnEntity.inl" #endif // semantic #include "smtc_EntityVisitor.h" #define LZZ_INLINE inline namespace smtc { TmplFuncDefnEntity::TmplFuncDefnEntity (TmplFuncDefnPtr const & tmpl_func_defn) : m...
19.5
81
0.748718
SuperDizor
37f3093cb79be3be8dd4fc11c307eb79889b347e
1,870
cpp
C++
tools/qiangbao.cpp
WatorVapor/wai.native.wator
e048df159e2952c143f8832264b20da20dcd88fa
[ "MIT" ]
null
null
null
tools/qiangbao.cpp
WatorVapor/wai.native.wator
e048df159e2952c143f8832264b20da20dcd88fa
[ "MIT" ]
null
null
null
tools/qiangbao.cpp
WatorVapor/wai.native.wator
e048df159e2952c143f8832264b20da20dcd88fa
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <list> #include <map> #include <string> #include <thread> #include <vector> using namespace std; #include "ctrlclaw.hpp" #include "log.hpp" #include "qiangbaoword.hpp" #include "textpump.hpp" vector<string> parseUTF8(const string &words); void parseBytes(const vector...
22.261905
67
0.700535
WatorVapor
37f314c12b2a3eb0087b242bd4ce857c312b0939
668
cpp
C++
Fluid Render/Fluid Render/BilateralNormalFBO.cpp
freehyan/Graphics
a7b0f111c1012ae56a64e592489583a718eb5cfe
[ "MIT" ]
47
2017-07-05T04:03:16.000Z
2021-01-22T07:06:05.000Z
Fluid Render/Fluid Render/BilateralNormalFBO.cpp
freehyan/Graphics
a7b0f111c1012ae56a64e592489583a718eb5cfe
[ "MIT" ]
null
null
null
Fluid Render/Fluid Render/BilateralNormalFBO.cpp
freehyan/Graphics
a7b0f111c1012ae56a64e592489583a718eb5cfe
[ "MIT" ]
3
2017-08-23T12:52:16.000Z
2021-11-15T08:47:57.000Z
#include "BilateralNormalFBO.h" #include <Cooler/ProductFactory.h> Cooler::CProductFactory<CBilateralNormalFBO> theCreater("BILATERAL_NORMAL_FBO"); CBilateralNormalFBO::CBilateralNormalFBO() { } CBilateralNormalFBO::~CBilateralNormalFBO() { } //*********************************************************** //FUNCTION:...
29.043478
140
0.693114
freehyan
37fc886bd3676bcf3af3a843d249e7f6e442dda0
23,799
cpp
C++
cppbwh_test.cpp
ntllct/CPPBWH
abae472ca70a5d75b0caf838a32f7c995a30e3c8
[ "MIT" ]
null
null
null
cppbwh_test.cpp
ntllct/CPPBWH
abae472ca70a5d75b0caf838a32f7c995a30e3c8
[ "MIT" ]
null
null
null
cppbwh_test.cpp
ntllct/CPPBWH
abae472ca70a5d75b0caf838a32f7c995a30e3c8
[ "MIT" ]
null
null
null
// Copyright (c) 2018 Alexander Alexeev [ntllct@protonmail.com] // g++ -std=c++14 -m64 -O2 -mavx cppbwh_test.cpp -o cppbwh_test #include <iostream> #include <cstddef> #include <iomanip> #include <cstring> #include <algorithm> #include <random> #include <chrono> #include "cppbwh.hpp" std::mt19937_64 random64; using...
32.962604
155
0.650447
ntllct
37fde8a751c3cdff49d8ef0ff9b6e84bb32c1d1f
242
hpp
C++
include/Pomdog/Math/PlaneIntersectionType.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
include/Pomdog/Math/PlaneIntersectionType.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
include/Pomdog/Math/PlaneIntersectionType.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #pragma once #include <cstdint> namespace Pomdog { enum class PlaneIntersectionType : std::uint8_t { Front, Back, Intersecting, }; } // namespace Pomdog
15.125
71
0.702479
ValtoForks
53000f9a0ce22b21078b06f1b9ab11e95d0a820f
299
cpp
C++
C-Plus-Plus/Cstring/strcpy.cpp
19-1-skku-oss/2019-1-OSS-L2
40cef694a9442b983da080d23913f34641b2fa4d
[ "MIT" ]
null
null
null
C-Plus-Plus/Cstring/strcpy.cpp
19-1-skku-oss/2019-1-OSS-L2
40cef694a9442b983da080d23913f34641b2fa4d
[ "MIT" ]
25
2019-05-28T09:49:06.000Z
2019-06-07T14:27:53.000Z
C-Plus-Plus/Cstring/strcpy.cpp
19-1-skku-oss/2019-1-OSS-L2
40cef694a9442b983da080d23913f34641b2fa4d
[ "MIT" ]
1
2019-12-08T11:00:31.000Z
2019-12-08T11:00:31.000Z
#include <iostream> using namespace std; char *strcpy(char *dest, char *source) { int i; for ( i = 0; source[i]; i++) dest[i] = source[i]; dest[i] = NULL; return dest; } int main() { char input[100]; cin >> input; char dest[100]; strcpy(dest, input); cout << dest << endl; return 0; }
13.590909
38
0.602007
19-1-skku-oss
530167d404dee6c84a3bb28d489f71c1f73ad6f5
934
cpp
C++
kernel/hw/pc/idt/idt.cpp
MTGos/mtgos
270f4932565eb3fe074cacc8c55c41103fa0a371
[ "BSD-2-Clause" ]
2
2018-01-04T18:11:39.000Z
2020-03-12T17:54:13.000Z
kernel/hw/pc/idt/idt.cpp
MTGos/kernel
270f4932565eb3fe074cacc8c55c41103fa0a371
[ "BSD-2-Clause" ]
10
2017-02-05T11:09:45.000Z
2017-02-08T13:42:14.000Z
kernel/hw/pc/idt/idt.cpp
MTGos/kernel
270f4932565eb3fe074cacc8c55c41103fa0a371
[ "BSD-2-Clause" ]
null
null
null
#include "idt.hpp" extern "C" void intr_stub_0(); IDT_entry entries[256]; void setIDTEntry(int i, void *entry) { uintptr_t p = (uintptr_t)entry; entries[i].offset0 = (uint16_t)p; p >>= 16; #ifndef __x86_64__ entries[i].selector = 0x8; #else entries[i].selector = 0x28; #endif entries[i].zero = 0;...
25.944444
73
0.605996
MTGos
530c3b4f77632b37fa7654385cfc3256f7262f22
1,963
hh
C++
block/sorted_array.hh
duynguyen-ori75/learning
903a6d9f59b2d08a237b45487ac12052123a0bd5
[ "MIT" ]
2
2021-03-27T17:11:37.000Z
2021-04-14T17:24:32.000Z
block/sorted_array.hh
duynguyen-ori75/learning
903a6d9f59b2d08a237b45487ac12052123a0bd5
[ "MIT" ]
null
null
null
block/sorted_array.hh
duynguyen-ori75/learning
903a6d9f59b2d08a237b45487ac12052123a0bd5
[ "MIT" ]
1
2021-03-27T17:11:43.000Z
2021-03-27T17:11:43.000Z
#include <algorithm> #include <vector> class SortedArray { private: std::vector<int> data_; int maxSize_, currentSize_; std::pair<int, int> cellPayload(int index) { return std::make_pair(this->data_[index * 2], this->data_[index * 2 + 1]); } int lookUp(int key) { int low = 0; int high = curren...
29.742424
78
0.573102
duynguyen-ori75
53135981d29773a1ed9030c17764f8eba518ec6c
185
hpp
C++
engine/core/include/debug.hpp
redstrate/prism
acb6c5306c6f60088744191f3d3d8713fc6950bd
[ "MIT" ]
18
2020-08-11T18:13:49.000Z
2022-03-08T21:42:54.000Z
engine/core/include/debug.hpp
redstrate/prism
acb6c5306c6f60088744191f3d3d8713fc6950bd
[ "MIT" ]
11
2020-08-27T12:37:48.000Z
2022-02-21T05:17:03.000Z
engine/core/include/debug.hpp
redstrate/prism
acb6c5306c6f60088744191f3d3d8713fc6950bd
[ "MIT" ]
1
2020-12-08T14:01:48.000Z
2020-12-08T14:01:48.000Z
#pragma once #include <string_view> void draw_console(); void draw_debug_ui(); void load_debug_options(); void save_debug_options(); std::string_view get_shader_source_directory();
15.416667
47
0.789189
redstrate
53162e76b695dcac0abafade96d28c6c5785ca7d
1,529
cpp
C++
lib/generator/object/trees/defaults/MegaRedwoodTree.cpp
NetherGamesMC/noiselib
56fc48ea1367e1d08b228dfa580b513fbec8ca31
[ "MIT" ]
14
2021-08-16T18:58:30.000Z
2022-02-13T01:12:31.000Z
lib/generator/object/trees/defaults/MegaRedwoodTree.cpp
NetherGamesMC/ext-vanillagenerator
56fc48ea1367e1d08b228dfa580b513fbec8ca31
[ "MIT" ]
2
2021-06-21T15:10:01.000Z
2021-07-19T01:48:00.000Z
lib/generator/object/trees/defaults/MegaRedwoodTree.cpp
NetherGamesMC/ext-vanillagenerator
56fc48ea1367e1d08b228dfa580b513fbec8ca31
[ "MIT" ]
3
2021-06-21T02:10:39.000Z
2021-08-04T01:36:08.000Z
#include "MegaRedwoodTree.h" void MegaRedwoodTree::Initialize(Random &random, BlockTransaction &txn) { MegaJungleTree::Initialize(random, txn); SetHeight(static_cast<int_fast32_t>(random.NextInt(15) + random.NextInt(3)) + 13); SetType(MAGIC_NUMBER_SPRUCE); SetLeavesHeight(static_cast<int_fast32_t>(random.Next...
33.977778
135
0.725311
NetherGamesMC
53175fef90dc2da0612ef58649995f659c16ace9
1,638
cpp
C++
TransimsNet/Write_Turn.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
TransimsNet/Write_Turn.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
TransimsNet/Write_Turn.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Write_Turn.cpp - Write the Turn Prohibition File //********************************************************* #include "TransimsNet.hpp" #include "Turn_File.hpp" //--------------------------------------------------------- // Write_Turn //-----------------...
26.419355
92
0.562882
kravitz
53184101cce46c77f942e454fb9b899f11155216
3,137
hpp
C++
boost/numeric/mtl/utility/make_copy_or_reference.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
lib/mtl4/boost/numeric/mtl/utility/make_copy_or_reference.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
lib/mtl4/boost/numeric/mtl/utility/make_copy_or_reference.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and A...
33.021053
103
0.740198
lit-uriy
5320a449b99a0b9b72e6eea6794928401694a678
232
cpp
C++
modules/math/source/blub/math/log/global.cpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
96
2015-02-02T20:01:24.000Z
2021-11-14T20:33:29.000Z
modules/math/source/blub/math/log/global.cpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
12
2016-06-04T15:45:30.000Z
2020-02-04T11:10:51.000Z
modules/math/source/blub/math/log/global.cpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
19
2015-09-22T01:21:45.000Z
2020-09-30T09:52:27.000Z
#include "global.hpp" #include "blub/core/string.hpp" using namespace blub::math::log; using namespace blub; BLUB_LOG_GLOBAL_LOGGER_INIT(global, blub::log::logger) { blub::log::logger result("math"); return result; }
13.647059
54
0.706897
qwertzui11
53231c25a00b5bd467b4a61051c9304900ecb9fa
19,304
cpp
C++
source/mclib/packet.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/mclib/packet.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/mclib/packet.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
//--------------------------------------------------------------------------- // // Packet.cpp -- File contains the actual code for the Packet File class // //---------------------------------------------------------------------------// // Copyright (C) Microsoft Corporation. All rights reserved. // //=...
26.699862
104
0.573249
mechasource
532ca3c95bed76e5f1dd034d35ae7dc6cc562e24
1,469
cpp
C++
Sorting/quick-sort.cpp
divyanshu013/algorithm-journey
8dc32daa732f16099da148bb8669778d4ef3172a
[ "MIT" ]
null
null
null
Sorting/quick-sort.cpp
divyanshu013/algorithm-journey
8dc32daa732f16099da148bb8669778d4ef3172a
[ "MIT" ]
null
null
null
Sorting/quick-sort.cpp
divyanshu013/algorithm-journey
8dc32daa732f16099da148bb8669778d4ef3172a
[ "MIT" ]
null
null
null
/******************************************************************************* Quick sort ========== Ref - http://quiz.geeksforgeeks.org/quick-sort/ -------------------------------------------------------------------------------- Problem ======= Classic old quick sort. -------------------------------------------...
19.586667
80
0.381892
divyanshu013
5331499b9235c169f20b8d531761c180854084f5
8,705
cpp
C++
src/libgeo/si.cpp
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
1
2017-06-01T00:21:16.000Z
2017-06-01T00:21:16.000Z
src/libgeo/si.cpp
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
3
2017-06-01T00:26:16.000Z
2020-05-09T21:06:27.000Z
libgeo/si.cpp
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
null
null
null
// // // MIT License // // Copyright (c) 2020 Stellacore Corporation. // // 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 ...
24.383754
72
0.653418
transpixel
533701c4844948c192103c881ae49b407fc972ec
2,805
cpp
C++
src/nietacka/event/GameEvent.cpp
PiotrJander/sik-achtung-die-kurve
a44af3b20e5baccd18d388a0a29f412a2c5e5902
[ "MIT" ]
null
null
null
src/nietacka/event/GameEvent.cpp
PiotrJander/sik-achtung-die-kurve
a44af3b20e5baccd18d388a0a29f412a2c5e5902
[ "MIT" ]
null
null
null
src/nietacka/event/GameEvent.cpp
PiotrJander/sik-achtung-die-kurve
a44af3b20e5baccd18d388a0a29f412a2c5e5902
[ "MIT" ]
null
null
null
// // Created by Piotr Jander on 22/08/2017. // #include <sstream> #include "GameEvent.h" #include "../crc32c.h" #include "PixelEvent.h" #include "PlayerEliminatedEvent.h" #include "GameOverEvent.h" #include "NewGameEvent.h" #include "../Exceptions.h" std::unique_ptr<GameEvent> GameEvent::read(ReadBuffer &readBuffer...
31.875
124
0.630303
PiotrJander
53376b589d20ca7205de812d1662d4199954e404
3,758
cpp
C++
src/atlas_fusion/src/algorithms/pointcloud/PointCloudExtrapolator.cpp
Robotics-BUT/Atlas-Fusion
3237f65d84a2686c5a20b89def4b706d89744ffb
[ "MIT" ]
15
2020-10-27T01:38:05.000Z
2021-09-21T07:27:01.000Z
src/atlas_fusion/src/algorithms/pointcloud/PointCloudExtrapolator.cpp
Robotics-BUT/Atlas-Fusion
3237f65d84a2686c5a20b89def4b706d89744ffb
[ "MIT" ]
2
2021-06-02T11:54:38.000Z
2021-10-05T13:05:29.000Z
src/atlas_fusion/src/algorithms/pointcloud/PointCloudExtrapolator.cpp
Robotics-BUT/Atlas-Fusion
3237f65d84a2686c5a20b89def4b706d89744ffb
[ "MIT" ]
4
2021-04-10T09:12:47.000Z
2021-04-27T15:33:27.000Z
/* * Copyright 2020 Brno University of Technology * * 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, ...
47.56962
135
0.659393
Robotics-BUT
5338331888132a1f22692026f400c0bfa1f21d34
7,298
cpp
C++
lower_app/source/ApplicationThread.cpp
Imx6ull-app/remote_manage
509afcb900f485b809f1008393cdc0cbafcda441
[ "Apache-2.0" ]
5
2020-08-06T16:35:22.000Z
2021-07-06T13:33:15.000Z
lower_app/source/ApplicationThread.cpp
Imx6ull-app/remote_manage
509afcb900f485b809f1008393cdc0cbafcda441
[ "Apache-2.0" ]
null
null
null
lower_app/source/ApplicationThread.cpp
Imx6ull-app/remote_manage
509afcb900f485b809f1008393cdc0cbafcda441
[ "Apache-2.0" ]
6
2020-08-25T04:59:30.000Z
2022-03-04T08:56:49.000Z
/* * File : app_task.cpp * appliction task * COPYRIGHT (C) 2020, zc * * Change Logs: * Date Author Notes * 2020-5-12 zc the first version * 2020-5-20 zc Code standardization */ /** * @addtogroup IMX6ULL */ /*@{*/ #include "../driver/Led.h" #include "../driv...
23.391026
122
0.503837
Imx6ull-app
533c6c1de3ba67d0a7fae0c73bcef8affb5a48fe
499
cpp
C++
74_Meta/src/Main.cpp
jonixis/CPP18
0dfe165f22a3cbef9e8cda102196d53d3e120e57
[ "MIT" ]
null
null
null
74_Meta/src/Main.cpp
jonixis/CPP18
0dfe165f22a3cbef9e8cda102196d53d3e120e57
[ "MIT" ]
null
null
null
74_Meta/src/Main.cpp
jonixis/CPP18
0dfe165f22a3cbef9e8cda102196d53d3e120e57
[ "MIT" ]
null
null
null
#include "Fibonacci.h" #include "Euclid.h" #include <iostream> int main(int argc, char const *argv[]) { int resFib = fibonacci<10>::res; int resGCD = euclid<1071, 462>::res; int resFibConst = fibonacciConst(10); int resGCDConst = euclidConst(1071, 462); std::cout << "Fibonacci: " << resFib << std::endl; std::c...
23.761905
61
0.641283
jonixis
53407e87f88b3041243c068815a24f8ea9304667
35,426
cpp
C++
attacker/SSL/MeituanPatch.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
null
null
null
attacker/SSL/MeituanPatch.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
null
null
null
attacker/SSL/MeituanPatch.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
1
2022-03-20T03:21:00.000Z
2022-03-20T03:21:00.000Z
#include "MeituanPatch.h" #include "letvPlugin.h" #include "../HttpUtils.h" #include "../cipher/CryptoUtils.h" #include "../Public.h" #include "sslPublic.h" int MeiTuanPatch::isMeiTuan(string url, string host) { if (host.find("api.meituan.com") != -1 && url.find("/appupdate/patch/list?") != -1) { return TRUE; } ...
258.583942
27,704
0.843589
satadriver
53479a023c918212211b95bff1281f82aad4e87a
3,335
hpp
C++
src/key/key_wallet_master.hpp
feitebi/main-chain
d4f2c4bb99b083d6162614a9a6b684c66ddf5d88
[ "MIT" ]
1
2018-01-17T05:08:32.000Z
2018-01-17T05:08:32.000Z
src/key/key_wallet_master.hpp
feitebi/main-chain
d4f2c4bb99b083d6162614a9a6b684c66ddf5d88
[ "MIT" ]
null
null
null
src/key/key_wallet_master.hpp
feitebi/main-chain
d4f2c4bb99b083d6162614a9a6b684c66ddf5d88
[ "MIT" ]
null
null
null
/* * Copyright (c) 2013-2014 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt) * * This file is part of coinpp. * * coinpp is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Software ...
26.468254
76
0.498951
feitebi
c727e5b26e42093c19b0bc581913339b67469357
457,170
cpp
C++
ribbon.cpp
lordgnu/wxPHP
368a75c893039e5eaa31bc1ee38e341991039f3f
[ "PHP-3.01" ]
1
2019-02-07T23:18:31.000Z
2019-02-07T23:18:31.000Z
ribbon.cpp
lordgnu/wxPHP
368a75c893039e5eaa31bc1ee38e341991039f3f
[ "PHP-3.01" ]
null
null
null
ribbon.cpp
lordgnu/wxPHP
368a75c893039e5eaa31bc1ee38e341991039f3f
[ "PHP-3.01" ]
null
null
null
/* * @author Mário Soares * @contributors Jefferson González * * @license * This file is part of wxPHP check the LICENSE file for information. * * @note * This file was auto-generated by the wxPHP source maker */ #include "php_wxwidgets.h" #include "appmanagement.h" #include "cfg.h" #include "bookctrl.h" #i...
32.953939
10,035
0.710565
lordgnu
c734444850ca0b3531b782fabf1f063300503178
477
cpp
C++
_site/Competitive Programming/UVa/UVa10943.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/UVa/UVa10943.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/UVa/UVa10943.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include <bits/stdc++.h> typedef long long ll; using namespace std; ll N, K; ll dp[105][105]; ll cal(ll sum, ll len){ if(sum == N && len == K){ return 1; } else if(sum > N){ return 0; } if(len > K){ return 0; } if(dp[sum][len] != -1){ return dp[sum][len]; } ll ans = 0; for(ll i = sum; i <= N; i++){ ...
14.029412
30
0.515723
anujkyadav07
c7393cbc0f655951a5d5dc6573f7d2cd915b2bee
8,955
cpp
C++
jni/love/src/modules/keyboard/sdl/Keyboard.cpp
ultimateprogramer/love2d-admob-android
5f6fa8c2b5cb7743c2df4c2c04ea91540a2b0a13
[ "Xnet", "X11" ]
1
2021-02-26T02:29:31.000Z
2021-02-26T02:29:31.000Z
jni/love/src/modules/keyboard/sdl/Keyboard.cpp
ultimateprogramer/love2d-admob-android
5f6fa8c2b5cb7743c2df4c2c04ea91540a2b0a13
[ "Xnet", "X11" ]
null
null
null
jni/love/src/modules/keyboard/sdl/Keyboard.cpp
ultimateprogramer/love2d-admob-android
5f6fa8c2b5cb7743c2df4c2c04ea91540a2b0a13
[ "Xnet", "X11" ]
1
2021-06-22T10:59:48.000Z
2021-06-22T10:59:48.000Z
/** * Copyright (c) 2006-2014 LOVE Development Team * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * ...
31.311189
79
0.733445
ultimateprogramer
c73cf78c3843f574b08ee148adced418d13ec3ae
4,391
cpp
C++
msdb/src/array/array.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
2
2021-08-31T12:43:16.000Z
2021-12-13T13:49:19.000Z
msdb/src/array/array.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
3
2021-09-09T17:23:31.000Z
2021-09-09T19:14:50.000Z
msdb/src/array/array.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
null
null
null
#include <pch.h> #include <array/array.h> #include <util/math.h> #include <util/logger.h> namespace msdb { namespace core { arrayBase::arrayBase(pArrayDesc desc) : chunkBitmap_() { this->desc_ = desc; this->chunkBitmap_ = std::make_shared<bitmap>(desc_->dimDescs_->getChunkSpace().area(), false); } arrayBase::~array...
25.235632
96
0.670918
KUDB
c742c1f6b561b6772a2046f8b7490744bc78e096
1,604
hh
C++
src/cxx/include/data/AggregatedBclFileReader.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
5
2021-06-07T12:36:11.000Z
2022-02-08T09:49:02.000Z
src/cxx/include/data/AggregatedBclFileReader.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
1
2022-03-01T23:55:57.000Z
2022-03-01T23:57:15.000Z
src/cxx/include/data/AggregatedBclFileReader.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
null
null
null
/** * BCL to FASTQ file converter * Copyright (c) 2007-2017 Illumina, Inc. * * This software is covered by the accompanying EULA * and certain third party copyright/licenses, and any user of this * source file is bound by the terms therein. * * \file TileBclFileReader.hh * * \brief Declaration of BCL reader f...
28.140351
82
0.642768
sbooeshaghi
c743a759588c916f54a2697485a326917abaea28
2,485
cc
C++
test/generic.cc
imkaywu/open3DCV
33ef0507e565bce2ccff7409ff35a8970e6eed2d
[ "BSD-3-Clause" ]
37
2018-07-30T15:34:29.000Z
2022-01-10T22:50:39.000Z
test/generic.cc
imkaywu/open3DCV
33ef0507e565bce2ccff7409ff35a8970e6eed2d
[ "BSD-3-Clause" ]
1
2020-10-09T17:51:42.000Z
2020-11-11T19:41:06.000Z
test/generic.cc
imkaywu/open3DCV
33ef0507e565bce2ccff7409ff35a8970e6eed2d
[ "BSD-3-Clause" ]
14
2017-12-03T15:24:01.000Z
2021-09-16T02:13:31.000Z
extern "C" { #include <stdlib.h> #include <stdio.h> #include "vl/generic.h" #include "vl/pgm.h" #include "vl/sift.h" } #include <iostream> #include "image.h" int main(int argc, const char * argv[]) { std::string fname = "/Users/BlacKay/Documents/Projects/Images/test/mandrill.pgm"; FILE *in = 0; vl_uint8...
28.238636
85
0.517103
imkaywu
c7476c3eb20d5bcc4f8c39599975f1ec7b11cc2c
898
cc
C++
tests/unittests/lite_test.cc
manavrion/segment_tree
20e3513395c8b9c28994817e7df76aa85e41ed85
[ "MIT" ]
null
null
null
tests/unittests/lite_test.cc
manavrion/segment_tree
20e3513395c8b9c28994817e7df76aa85e41ed85
[ "MIT" ]
2
2020-09-08T22:39:12.000Z
2020-10-02T11:02:08.000Z
tests/unittests/lite_test.cc
manavrion/segment_tree
20e3513395c8b9c28994817e7df76aa85e41ed85
[ "MIT" ]
null
null
null
// // Copyright (C) 2020 Ruslan Manaev (manavrion@gmail.com) // This file is part of the segment_tree header-only library. // #include <gtest/gtest.h> #include "manavrion/segment_tree/mapped_segment_tree.h" #include "manavrion/segment_tree/naive_segment_tree.h" #include "manavrion/segment_tree/segment_tree.h" using ...
26.411765
75
0.713808
manavrion
c74a0b9fa83fc56225d5a694228f2c1b94ca1638
8,030
cpp
C++
graph_utils/src/graph_utils.cpp
guo-zixuan/exploration-project
2ecd3a68dc92f8461f262c7860fa2de6a5e812b4
[ "MIT" ]
null
null
null
graph_utils/src/graph_utils.cpp
guo-zixuan/exploration-project
2ecd3a68dc92f8461f262c7860fa2de6a5e812b4
[ "MIT" ]
null
null
null
graph_utils/src/graph_utils.cpp
guo-zixuan/exploration-project
2ecd3a68dc92f8461f262c7860fa2de6a5e812b4
[ "MIT" ]
null
null
null
#include "graph_utils.h" #include <queue> #include <vector> #include <misc_utils/misc_utils.h> #include <bits/stdc++.h> #include <math.h> #define INF 0x3f3f3f3f // integer infinity #define PI 3.14159265358979323846 using namespace std; namespace graph_utils_ns { // Function for getting the shortest path on a graph ...
32.510121
80
0.626899
guo-zixuan
c757b3b7c0a178e9dc5c34c01e1d0b8b1da636dd
5,367
cpp
C++
UI/BitmapCatalog.cpp
HaikuArchives/WhisperBeNet
56515401b1eab401a3b2390196f85d70aedaaedf
[ "MIT" ]
1
2021-01-09T14:59:21.000Z
2021-01-09T14:59:21.000Z
UI/BitmapCatalog.cpp
HaikuArchives/WhisperBeNet
56515401b1eab401a3b2390196f85d70aedaaedf
[ "MIT" ]
null
null
null
UI/BitmapCatalog.cpp
HaikuArchives/WhisperBeNet
56515401b1eab401a3b2390196f85d70aedaaedf
[ "MIT" ]
2
2015-01-04T10:10:39.000Z
2020-10-26T08:58:28.000Z
/***********************************************************************************************\ * BeNetBitmapCatalog.cpp * ************************************************************************************************* * Programmer par: Patrick Henri * * Derniere modification: 17-03-...
38.06383
97
0.484069
HaikuArchives
c75b8f6dc620adf01ebc97733ab40ce6c88b1c77
435
cpp
C++
ianlmk/cs161a/c++/misc/zybooks7.2.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
null
null
null
ianlmk/cs161a/c++/misc/zybooks7.2.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
1
2022-03-25T18:34:47.000Z
2022-03-25T18:35:23.000Z
ianlmk/cs161a/c++/misc/zybooks7.2.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; int main() { string word = "words"; cout << "\n\n2 number combos" << endl; for (int i = 0; i < word.length() ; ++i) { cout << word[i] << ","; for (int x = i; x > word.length(); x--) { cout << word[x] << ","; for (int y = x; y < wor...
17.4
47
0.452874
ianlmk
c75c39292fde09061c83d84e1d1c77ca842dbc71
2,353
cpp
C++
OgreCWrapper/Src/ManagedRenderTargetListener.cpp
AnomalousMedical/Engine
a19e21f597bd277e4ca17e0e5f3f89577f2307bb
[ "MIT" ]
null
null
null
OgreCWrapper/Src/ManagedRenderTargetListener.cpp
AnomalousMedical/Engine
a19e21f597bd277e4ca17e0e5f3f89577f2307bb
[ "MIT" ]
null
null
null
OgreCWrapper/Src/ManagedRenderTargetListener.cpp
AnomalousMedical/Engine
a19e21f597bd277e4ca17e0e5f3f89577f2307bb
[ "MIT" ]
null
null
null
#include "StdAfx.h" class ManagedRenderTargetListener : Ogre::RenderTargetListener { public: ManagedRenderTargetListener(NativeAction preRenderTargetUpdateCb, NativeAction postRenderTargetUpdateCb, NativeAction preViewportUpdateCb, NativeAction postViewportUpdateCb, NativeAction viewportAddedCb, NativeAction v...
32.680556
311
0.822354
AnomalousMedical
c75c3e8d3776c3977dfeef364cff002732cda124
7,297
hpp
C++
include/nonstd/fifo-set.hpp
cjxgm/fifo-map
714f57b5de6aeab88cd00a0c0def9ae368851dba
[ "MIT" ]
null
null
null
include/nonstd/fifo-set.hpp
cjxgm/fifo-map
714f57b5de6aeab88cd00a0c0def9ae368851dba
[ "MIT" ]
null
null
null
include/nonstd/fifo-set.hpp
cjxgm/fifo-map
714f57b5de6aeab88cd00a0c0def9ae368851dba
[ "MIT" ]
null
null
null
#pragma once // A hash set that guarantees iteration in insertion-order for C++14 or above. // Or you can say, "a FIFO-ordered duplication-free container" if you feel like it. // // It's basically an `std::forward_list` of values, // with a lookup index built using `std::unordered_map`. // // It's a drop-in replacement...
29.905738
100
0.521036
cjxgm
c75d9bba4880f0d536589fcbf0ef236d3655c50b
3,628
cpp
C++
cpp/godot-cpp/src/gen/InputMap.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/InputMap.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/InputMap.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "InputMap.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" #include "InputEvent.hpp" namespace godot { InputMap *InputMap::_singleton = NULL; InputMap::InputMap() { _owner = godot::api->godot_global_get_sing...
39.868132
113
0.791621
GDNative-Gradle
c75f9c1a3ad094e5958f95b370a65ae9dafced56
12,714
hpp
C++
src/circular_list.hpp
mrtryhard/circular_list
47807fd5025e93b5978011a0927a20b084229d26
[ "BSD-3-Clause" ]
null
null
null
src/circular_list.hpp
mrtryhard/circular_list
47807fd5025e93b5978011a0927a20b084229d26
[ "BSD-3-Clause" ]
1
2018-03-19T22:52:13.000Z
2018-03-19T22:52:13.000Z
src/circular_list.hpp
mrtryhard/circular_list
47807fd5025e93b5978011a0927a20b084229d26
[ "BSD-3-Clause" ]
null
null
null
#ifndef MRT_CONTAINERS_CIRCULAR_LIST_HPP_ #define MRT_CONTAINERS_CIRCULAR_LIST_HPP_ #include <algorithm> #include <cstddef> #include <initializer_list> #include <iterator> namespace mrt { namespace containers { namespace { template<typename T, typename size_type = std::size_t> T* ...
33.195822
147
0.471606
mrtryhard
c75fc01f8fd87b552cf23271ec96e323eee96c2d
2,232
hpp
C++
external/boost_1_60_0/qsboost/range/size.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/range/size.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/range/size.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
// Boost.Range library // // Copyright Thorsten Ottosen 2003-2004. Use, modification and // distribution is subject to 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) // // For more information, see http://www.boost.org/libs/rang...
28.987013
89
0.702957
wouterboomsma
c763f174c1bf57f3f95c19b6bab7bc7a91ef7619
3,552
hpp
C++
sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/delete_key_operation.hpp
chidozieononiwu/azure-sdk-for-cpp
7d9032fcc815523231d6ff3e1d96d6212e94b079
[ "MIT" ]
null
null
null
sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/delete_key_operation.hpp
chidozieononiwu/azure-sdk-for-cpp
7d9032fcc815523231d6ff3e1d96d6212e94b079
[ "MIT" ]
null
null
null
sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/delete_key_operation.hpp
chidozieononiwu/azure-sdk-for-cpp
7d9032fcc815523231d6ff3e1d96d6212e94b079
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT /** * @file * @brief A long-running operation for deleting a Key. * */ #pragma once #include <azure/core/http/http.hpp> #include <azure/core/operation.hpp> #include <azure/core/operation_status.hpp> #include <azure/core/...
32.888889
99
0.679054
chidozieononiwu
c7647b4f780373217243e89f92ca89defb522190
30,114
cpp
C++
DeepLearningToolKit/Toolkit/Core/Mathematics/SanMathematicsVector.cpp
zxyinz/DeepLearningForBlueShark
025206aa7450b7ec86ebab9ca2bbcabe4421af91
[ "MIT" ]
null
null
null
DeepLearningToolKit/Toolkit/Core/Mathematics/SanMathematicsVector.cpp
zxyinz/DeepLearningForBlueShark
025206aa7450b7ec86ebab9ca2bbcabe4421af91
[ "MIT" ]
null
null
null
DeepLearningToolKit/Toolkit/Core/Mathematics/SanMathematicsVector.cpp
zxyinz/DeepLearningForBlueShark
025206aa7450b7ec86ebab9ca2bbcabe4421af91
[ "MIT" ]
null
null
null
#include"SanMathematicsVector.h" using namespace std; using namespace San; using namespace San::Mathematics; San::Mathematics::stSPOINT2::stSPOINT2(const sfloat x, const sfloat y) :x(x), y(y) { } San::Mathematics::stSPOINT2::~stSPOINT2() { } San::Mathematics::stSPOINT3::stSPOINT3(const sfloat x, const sfloat y, const ...
26.696809
105
0.666667
zxyinz
c76949b7596a99dac83e31edef8d490298f98b31
614
cpp
C++
Potion.cpp
DoesItEvenMatter123/PSIO_Project
469bd139999e082f758d4158da67aa3f5b7823fe
[ "MIT" ]
null
null
null
Potion.cpp
DoesItEvenMatter123/PSIO_Project
469bd139999e082f758d4158da67aa3f5b7823fe
[ "MIT" ]
null
null
null
Potion.cpp
DoesItEvenMatter123/PSIO_Project
469bd139999e082f758d4158da67aa3f5b7823fe
[ "MIT" ]
null
null
null
#include "Including.h" #include "Potion.h" Potion::Potion() { setTexture(); potion.setScale(2, 2); vy = 118; } Potion::~Potion() { } void Potion::setTexture() { if (!potionTexture.loadFromFile("red-potion.png")) { std::cout << "Error"; } potion.setTexture(potionTexture); } void Potion::Draw(sf::RenderWin...
13.347826
57
0.674267
DoesItEvenMatter123
c76c1ea3fc694b248492a124fa587e2365324771
10,783
cpp
C++
jabberbot.cpp
JonathanGuthrie/affirmation-bot
5cb955953ebfa0f0fe3ac59a88927568884b8ce3
[ "Apache-2.0" ]
null
null
null
jabberbot.cpp
JonathanGuthrie/affirmation-bot
5cb955953ebfa0f0fe3ac59a88927568884b8ce3
[ "Apache-2.0" ]
null
null
null
jabberbot.cpp
JonathanGuthrie/affirmation-bot
5cb955953ebfa0f0fe3ac59a88927568884b8ce3
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010 Jonathan R. Guthrie * * 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...
34.450479
357
0.660855
JonathanGuthrie
c771696033451def3fbcbe3b6dde92cc98444e69
586
hpp
C++
include/Client/EntityDropGenerator.hpp
maximaximal/BomberPi
365c806e3feda7296fc10d5f9655ec696f0ab491
[ "Zlib" ]
null
null
null
include/Client/EntityDropGenerator.hpp
maximaximal/BomberPi
365c806e3feda7296fc10d5f9655ec696f0ab491
[ "Zlib" ]
null
null
null
include/Client/EntityDropGenerator.hpp
maximaximal/BomberPi
365c806e3feda7296fc10d5f9655ec696f0ab491
[ "Zlib" ]
null
null
null
#ifndef CLIENT_ENTITYDROPGENERATOR_HPP #define CLIENT_ENTITYDROPGENERATOR_HPP #include <map> #include <functional> #include <memory> #include <Client/EntityFactory.hpp> #include <glm/vec3.hpp> namespace Client { class EntityDropGenerator { public: EntityDropGenerator(EntityFactory *factory...
20.928571
56
0.663823
maximaximal
c7732b6b1531d2d7cd7a5f99629f040fb73dd2ab
771
cpp
C++
lib/src/cyber/mouse.cpp
yuri-sevatz/cyberpunk-cpp
b0c9a95c012660bfd21c24ac3a69287330d3b3bd
[ "BSD-2-Clause" ]
5
2021-06-12T10:29:58.000Z
2022-03-03T13:21:57.000Z
lib/src/cyber/mouse.cpp
yuri-sevatz/cyber_breach
b0c9a95c012660bfd21c24ac3a69287330d3b3bd
[ "BSD-2-Clause" ]
null
null
null
lib/src/cyber/mouse.cpp
yuri-sevatz/cyber_breach
b0c9a95c012660bfd21c24ac3a69287330d3b3bd
[ "BSD-2-Clause" ]
1
2021-02-21T09:45:37.000Z
2021-02-21T09:45:37.000Z
#include <cyber/mouse.hpp> #include <Windows.h> void mouse_move(cv::Point2l p) { std::array<INPUT,1> input; ZeroMemory(input.data(), sizeof(decltype(input)::value_type) * input.size()); input[0].type = INPUT_MOUSE; input[0].mi.dx = p.x; input[0].mi.dy = p.y; input[0].mi.dwFlags = M...
30.84
82
0.651102
yuri-sevatz
c775f25bc927067d2612dadea383cbe0805f1c0b
950
cc
C++
test/option_test.cc
bzEq/kl
92de2c1db5ca4bb6c38a632cda7a80d2c9823841
[ "BSD-3-Clause" ]
null
null
null
test/option_test.cc
bzEq/kl
92de2c1db5ca4bb6c38a632cda7a80d2c9823841
[ "BSD-3-Clause" ]
null
null
null
test/option_test.cc
bzEq/kl
92de2c1db5ca4bb6c38a632cda7a80d2c9823841
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017 Kai Luo <gluokai@gmail.com>. All rights reserved. // Use of this source code is governed by the BSD license that can be found in // the LICENSE file. #include <iostream> #include <memory> #include <string> #include "kl/option.h" #include "kl/testkit.h" namespace { class O {}; kl::Option<int> Fo...
17.592593
78
0.612632
bzEq
c777d02bb828423ba2d2c9fca58fd18e396d3691
4,783
cc
C++
src/Router/patShortestPathGeneral.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
4
2015-02-23T16:02:52.000Z
2021-03-26T17:58:53.000Z
src/Router/patShortestPathGeneral.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
null
null
null
src/Router/patShortestPathGeneral.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
5
2015-02-23T16:05:59.000Z
2017-05-04T16:13:16.000Z
/* * patShortestPathGeneral.cc * * Created on: Nov 1, 2011 * Author: jchen */ #include "patShortestPathGeneral.h" #include "patRoadBase.h" #include "patConst.h" #include "patGpsDDR.h" #include "patDisplay.h" #include "patMeasurementDDR.h" patShortestPathGeneral::patShortestPathGeneral(patNetworkBase* a_netw...
31.675497
126
0.703742
godosou
c787cb4307b3afb300cc30d5c66163cd911b1db1
1,137
hpp
C++
benchmarks/pantheios.hpp
ashgen/reckless
a50429f3819c92b1276c6023f3befafd90ab25b6
[ "MIT" ]
1
2021-07-09T11:21:46.000Z
2021-07-09T11:21:46.000Z
benchmarks/pantheios.hpp
dheeraj7r/reckless
d18804e0bd2c05cb1cb31bbf2eef8709e45455cc
[ "MIT" ]
null
null
null
benchmarks/pantheios.hpp
dheeraj7r/reckless
d18804e0bd2c05cb1cb31bbf2eef8709e45455cc
[ "MIT" ]
null
null
null
#include <pantheios/pantheios.hpp> #include <pantheios/frontends/fe.simple.h> #include <pantheios/backends/bec.file.h> #include <pantheios/inserters/character.hpp> #include <pantheios/inserters/integer.hpp> #include <pantheios/inserters/real.hpp> #ifdef LOG_ONLY_DECLARE #else extern "C" char const PANTHEIOS_FE_PROCESS...
43.730769
246
0.728232
ashgen
c78baa675a8f0fd8123f7d851d3358c325d64cb8
1,276
cpp
C++
src/Private/AnimSceneActions/WaitForActionFinishedAction.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Private/AnimSceneActions/WaitForActionFinishedAction.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Private/AnimSceneActions/WaitForActionFinishedAction.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
#include <KYEngine/SceneTimelineInfo.h> #include <KYEngine/Private/AnimSceneActions/WaitForActionFinishedAction.h> #include <KYEngine/Utility/TiXmlHelper.h> const std::string WaitForActionFinishedAction::XML_NODE = "wait-for-action-finished"; WaitForActionFinishedAction::WaitForActionFinishedAction() { } WaitForActi...
25.019608
91
0.775862
heltena
c78edeb424cd45f73309489e60109cc7f646de84
1,358
cc
C++
leetcode/78_subsets.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/78_subsets.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/78_subsets.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
/* * ===================================================================================== * * Filename: 78_subsets.cc * * Description: * * Version: 1.0 * Created: 04/01/2015 10:09:16 PM * Revision: none * Compiler: gcc * * Author: (Qi Liu), liuqi.edward@g...
21.555556
101
0.4757
norlanliu
c78fa936a91d02b8c3f3a3c7af6bafee5a607dc4
2,766
cc
C++
Estructuras/LazyST.cc
joaquingx/Competitive
09ddc7e06c4428c21bb9de31a846a8364ea038d1
[ "MIT" ]
1
2018-01-15T09:13:52.000Z
2018-01-15T09:13:52.000Z
Estructuras/LazyST.cc
joaquingx/Competitive
09ddc7e06c4428c21bb9de31a846a8364ea038d1
[ "MIT" ]
null
null
null
Estructuras/LazyST.cc
joaquingx/Competitive
09ddc7e06c4428c21bb9de31a846a8364ea038d1
[ "MIT" ]
1
2018-01-15T09:13:51.000Z
2018-01-15T09:13:51.000Z
#include <bits/stdc++.h> #define MAXN int(1e5) using namespace std; // Based on https://www.hackerearth.com/practice/notes/segment-tree-and-lazy-propagation/ int A[MAXN],tree[4*MAXN],lazy[4*MAXN]; void build(int node, int start, int end) { if(start == end) { // Leaf node will have a single element ...
31.431818
102
0.497831
joaquingx