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
a8fad780f7e308236c07b87b079e2e1ca3b009c1
1,112
hh
C++
src/sim/detail/SimStateInit.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
src/sim/detail/SimStateInit.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
src/sim/detail/SimStateInit.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
34.75
79
0.428957
amandalund
a8fd2025cc3ca418b44ece46e5cbf24ce27fd420
909
cpp
C++
unit-test/util/test_tc_thread_pool.cpp
julianyang/TarsCpp
5973e2c58ebff7926f055c94b37d71281783f828
[ "BSD-3-Clause" ]
null
null
null
unit-test/util/test_tc_thread_pool.cpp
julianyang/TarsCpp
5973e2c58ebff7926f055c94b37d71281783f828
[ "BSD-3-Clause" ]
null
null
null
unit-test/util/test_tc_thread_pool.cpp
julianyang/TarsCpp
5973e2c58ebff7926f055c94b37d71281783f828
[ "BSD-3-Clause" ]
null
null
null
#include "util/tc_timer.h" #include "util/tc_logger.h" #include "util/tc_common.h" #include "util/tc_thread_pool.h" #include "gtest/gtest.h" #include <iostream> #include <vector> using namespace std; using namespace tars; class UtilThreadPollTest : public testing::Test { public: //添加日志 static void SetUpTestCase() ...
15.672414
80
0.677668
julianyang
a8fda315ac6d87ec3b7d63a17bf76b9fb49fe06a
907
cpp
C++
c++/macros.cpp
ujjwalkarn/snippets
155cacc40d6a258649c8cc54fd64cceec123f4b0
[ "MIT" ]
1
2019-10-14T11:36:01.000Z
2019-10-14T11:36:01.000Z
c++/macros.cpp
rajsingh7/snippets
155cacc40d6a258649c8cc54fd64cceec123f4b0
[ "MIT" ]
null
null
null
c++/macros.cpp
rajsingh7/snippets
155cacc40d6a258649c8cc54fd64cceec123f4b0
[ "MIT" ]
1
2019-10-14T11:35:59.000Z
2019-10-14T11:35:59.000Z
#include <bits/stdc++.h> #define _ ios_base::sync_with_stdio(0);cin.tie(0); using namespace std; inline int toInt(string s) {int i;stringstream (s)>>i;return i;} inline string toString(int i) {string s;stringstream ss;ss<<i;ss>>s;return s;} typedef long long LL; typedef unsigned long long ULL; typedef pair<int,int> ...
24.513514
78
0.667034
ujjwalkarn
a8febf96f8d2edc643ef4fba85d106eb439f76d3
3,097
cpp
C++
SyntaxPlot/main.cpp
hmasterwang/anna-lang
1bdc0a6a96ca77b9ec7a6d5d86be856a876e1fd4
[ "BSL-1.0" ]
3
2015-05-20T07:11:40.000Z
2016-09-29T17:39:46.000Z
SyntaxPlot/main.cpp
sakamoto-poteko/anna-lang
1bdc0a6a96ca77b9ec7a6d5d86be856a876e1fd4
[ "BSL-1.0" ]
null
null
null
SyntaxPlot/main.cpp
sakamoto-poteko/anna-lang
1bdc0a6a96ca77b9ec7a6d5d86be856a876e1fd4
[ "BSL-1.0" ]
null
null
null
/************************************************************************** * Copyright (c) 2015 Afa.L Cheng <afa@afa.moe> * * 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 restr...
30.663366
84
0.575396
hmasterwang
d1010dec219b41c9721ae95a08c788807fee217c
199
cpp
C++
build/externStatic/cat.cpp
NoCodeProgram/ModernCPP
ac7b05a4d720678e68878d70c0a7a69f56885d00
[ "MIT" ]
5
2020-08-17T12:14:44.000Z
2022-01-21T06:57:56.000Z
build/externStatic/cat.cpp
NoCodeProgram/ModernCPP
ac7b05a4d720678e68878d70c0a7a69f56885d00
[ "MIT" ]
null
null
null
build/externStatic/cat.cpp
NoCodeProgram/ModernCPP
ac7b05a4d720678e68878d70c0a7a69f56885d00
[ "MIT" ]
2
2022-01-18T03:20:51.000Z
2022-02-11T14:50:19.000Z
#include "cat.h" #include <iostream> static void bye() { std::cout << "bye" <<std::endl; } void Cat::speak() { std::cout << "meow" << std::endl; std::cout << "i'm" << age << std::endl; bye(); }
14.214286
40
0.542714
NoCodeProgram
d10441bc27c03f9e13e3d88b61847d1714b3a357
3,822
hh
C++
bitmap/color.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
bitmap/color.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
bitmap/color.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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...
28.311111
70
0.714024
lukas-ke
d10d33b7266f23e0234df12a55d8f33c56c37940
231
cpp
C++
Siruri de caractere/Parcurgerea unui sir de caractere/main.cpp
RegusAl/School
87deb27f241aab1a93fd1cab0de2c7d8ee93df71
[ "MIT" ]
2
2021-04-20T21:22:37.000Z
2021-04-20T21:23:09.000Z
Siruri de caractere/Parcurgerea unui sir de caractere/main.cpp
RegusAl/School
87deb27f241aab1a93fd1cab0de2c7d8ee93df71
[ "MIT" ]
null
null
null
Siruri de caractere/Parcurgerea unui sir de caractere/main.cpp
RegusAl/School
87deb27f241aab1a93fd1cab0de2c7d8ee93df71
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { char s[10]; cout<<"Dati un cuvant: "; cin>>s; int i=0; while(s[i]!='\0') { cout<<s[i]<<" "; i++; } cout<<"\nCuvantul are "<<i<<" litere."; return 0; }
13.588235
41
0.502165
RegusAl
d10ebb02a98ea591037070f4fcbb5442683dd8f7
2,277
cpp
C++
two-sat.cpp
ernest-lu/TEM-PLATES
95a452eb7e1c3305b51153418dbe267ab652f47f
[ "MIT" ]
null
null
null
two-sat.cpp
ernest-lu/TEM-PLATES
95a452eb7e1c3305b51153418dbe267ab652f47f
[ "MIT" ]
null
null
null
two-sat.cpp
ernest-lu/TEM-PLATES
95a452eb7e1c3305b51153418dbe267ab652f47f
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long LL; typedef long double LD; typedef pair<LL,LL> pii; typedef pair<LL,pii> ppi; typedef pair<pii,pii> ppp; #define FOR(i, n) for(int i = 1; i<=n; i++) #define F0R(i, n) for(int i = 0; i<n; i++) #define all(x) x.begin(), x.end() #define mp make_pair #define p...
27.107143
164
0.436978
ernest-lu
d111f3408bab72e22dd1e2f949949d54f076bc47
225
cpp
C++
Source/ProjectX/Interactable/InteractableInterface.cpp
pz64/project-x-college
fb269fb343db2d532cb205b691ee143207d75bdb
[ "Apache-2.0" ]
1
2019-04-16T17:40:51.000Z
2019-04-16T17:40:51.000Z
Source/ProjectX/Interactable/InteractableInterface.cpp
pz64/project-x-college
fb269fb343db2d532cb205b691ee143207d75bdb
[ "Apache-2.0" ]
null
null
null
Source/ProjectX/Interactable/InteractableInterface.cpp
pz64/project-x-college
fb269fb343db2d532cb205b691ee143207d75bdb
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "InteractableInterface.h" // Add default functionality here for any IInteractableInterface functions that are not pure virtual.
32.142857
102
0.786667
pz64
d1121199823a91cc0e4627b9e1aefe033393447e
152
hpp
C++
include/TailEngine/Utils/Utils.hpp
oldesken/TailEngine
53e04c48f7a7ef22889d1ed7321294178a563fe4
[ "MIT" ]
null
null
null
include/TailEngine/Utils/Utils.hpp
oldesken/TailEngine
53e04c48f7a7ef22889d1ed7321294178a563fe4
[ "MIT" ]
null
null
null
include/TailEngine/Utils/Utils.hpp
oldesken/TailEngine
53e04c48f7a7ef22889d1ed7321294178a563fe4
[ "MIT" ]
null
null
null
#pragma once #include <SDL2/SDL.h> namespace utils { inline float hireTimeInSeconds() { float t = SDL_GetTicks(); t *= 0.001f; return t; } }
10.857143
33
0.644737
oldesken
d117cb976e9fff1e43b532596f96f43d2482f401
655
hpp
C++
Editor/src/EditorLayer.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
Editor/src/EditorLayer.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
Editor/src/EditorLayer.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
#pragma once #include <Input/Event.hpp> #include <Core/Layer.hpp> #include <Graphics/FrameBuffer.hpp> #include <Camera/Camera.hpp> namespace Editor { class EditorLayer : public ant::Layer { public: EditorLayer() {} ~EditorLayer() {} virtual void OnAttach() override; virtual...
23.392857
64
0.635115
MilkyStorm3
d119e8d24af1dfc27b5a2e0351701b1ee30cac30
3,332
hpp
C++
tau/TauEngine/include/gl/GLUtils.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
1
2020-04-22T04:07:01.000Z
2020-04-22T04:07:01.000Z
tau/TauEngine/include/gl/GLUtils.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
tau/TauEngine/include/gl/GLUtils.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
#pragma once #pragma warning(push, 0) #include <GL/glew.h> #pragma warning(pop) #include <NumTypes.hpp> #include <Safeties.hpp> #include "DLL.hpp" #include "graphics/GraphicsEnums.hpp" enum class GLDebugSource { Unknown = 0, OpenGLCall, WindowSystem, ShaderCompiler, ThirdParty, ...
37.438202
179
0.613145
hyfloac
d11a2f2d6503149904a3c1114fb99a5003ef8326
5,547
cpp
C++
test/clang-tidy/bugprone-dangling-handle.cpp
Szelethus/clang-tools-extra
4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022
[ "Apache-2.0" ]
171
2018-09-17T13:15:12.000Z
2022-03-18T03:47:04.000Z
test/clang-tidy/bugprone-dangling-handle.cpp
Szelethus/clang-tools-extra
4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022
[ "Apache-2.0" ]
7
2018-10-05T04:54:18.000Z
2020-10-02T07:58:13.000Z
test/clang-tidy/bugprone-dangling-handle.cpp
Szelethus/clang-tools-extra
4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022
[ "Apache-2.0" ]
35
2018-09-18T07:46:53.000Z
2022-03-27T07:59:48.000Z
// RUN: %check_clang_tidy %s bugprone-dangling-handle %t -- \ // RUN: -config="{CheckOptions: \ // RUN: [{key: bugprone-dangling-handle.HandleClasses, \ // RUN: value: 'std::basic_string_view; ::llvm::StringRef;'}]}" \ // RUN: -- -std=c++11 namespace std { template <typename T> class vec...
28.30102
114
0.658194
Szelethus
d11c6d08541d30629e44800555170b0ee12048ea
2,368
cpp
C++
src/behaviorControllerInit.cpp
CoderRaka/Game-Server
3b3c5a5492653be682f0bb841aab047c62981237
[ "MIT" ]
85
2015-02-05T18:28:15.000Z
2022-02-16T18:29:21.000Z
src/behaviorControllerInit.cpp
CoderRaka/Game-Server
3b3c5a5492653be682f0bb841aab047c62981237
[ "MIT" ]
8
2015-03-10T01:28:22.000Z
2018-01-19T16:26:57.000Z
src/behaviorControllerInit.cpp
CoderRaka/Game-Server
3b3c5a5492653be682f0bb841aab047c62981237
[ "MIT" ]
70
2015-01-08T16:25:11.000Z
2021-11-11T19:10:00.000Z
#include"global.h" // big global AI class struct { aiPath_t* pathList; sint32 numberOfPaths; }aiEnv; bool _controllerDataLoaded; void _controller_init_getPathList(void *param, diJob_path_t *jobData) { aiEnv.numberOfPaths = jobData->pathCount; aiEnv.pathList = (aiPath_t*)malloc(sizeof(aiPath_t) * jobData->pathC...
30.358974
115
0.72973
CoderRaka
d1251e8e45152f0a21b2f0357a14be98fe24e7f3
6,375
cpp
C++
qgraphicsnodeitem.cpp
ChoudharyRamesh/Force-Directed-Graph-Layout
41654c9f0f93e58457dd90ee9841ba662d995fc4
[ "MIT" ]
4
2021-04-10T17:29:31.000Z
2022-01-17T03:38:11.000Z
qgraphicsnodeitem.cpp
ChoudharyRamesh/Force-Directed-Graph-Layout
41654c9f0f93e58457dd90ee9841ba662d995fc4
[ "MIT" ]
null
null
null
qgraphicsnodeitem.cpp
ChoudharyRamesh/Force-Directed-Graph-Layout
41654c9f0f93e58457dd90ee9841ba662d995fc4
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2021 Ramesh Choudhary */ #include "qgraphicsnodeitem.h" #include "qgraphicsedgeitem.h" #include "spring.h" #include "scene.h" #include<QDebug> #include<QGraphicsView> QGraphicsNodeItem::QGraphicsNodeItem(QGraphicsScene * scene, QPointF pos, int radius, int NodeIndex, float *drag, int *maxS...
28.0837
151
0.692863
ChoudharyRamesh
d127e6f49431f5f0b05964ab8d1eb95d7e2644b8
600
cpp
C++
peg/woburn-challenge/1997/typing.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
peg/woburn-challenge/1997/typing.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
peg/woburn-challenge/1997/typing.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <algorithm> #include <iostream> #include <string> using namespace std; const string alphabet {"abcdefghijklmnopqrstuvwxyz"}; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int test_cases; cin >> t...
16.666667
62
0.613333
Rkhoiwal
d1302d6966572d94bf86f23ae4b82a254ddfc2c5
7,229
cxx
C++
HLT/PHOS/AliHLTPHOSClusterAnalyser.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
HLT/PHOS/AliHLTPHOSClusterAnalyser.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
HLT/PHOS/AliHLTPHOSClusterAnalyser.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
// $Id$ /************************************************************************** * This file is property of and copyright by the ALICE HLT Project * * All rights reserved. * * * * Pri...
28.916
173
0.662194
AllaMaevskaya
d1305f5d7787d8719ca17e0e394815b533daf52c
4,364
cpp
C++
source/tensor/core/arithmetic/MatrixMul2DParallel.cpp
mfxss/NiuTensor
3739e29b789801e82cc904c78740accdfc16b889
[ "Apache-2.0" ]
1
2020-05-19T13:59:29.000Z
2020-05-19T13:59:29.000Z
source/tensor/core/arithmetic/MatrixMul2DParallel.cpp
Daimengli/NiuTensor
3739e29b789801e82cc904c78740accdfc16b889
[ "Apache-2.0" ]
null
null
null
source/tensor/core/arithmetic/MatrixMul2DParallel.cpp
Daimengli/NiuTensor
3739e29b789801e82cc904c78740accdfc16b889
[ "Apache-2.0" ]
null
null
null
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2017, Natural Language Processing Lab, Northestern University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the L...
33.060606
90
0.49725
mfxss
d1329f8ccd4fcdcd3900957ea1d0d2f65d25f27c
14,670
cpp
C++
src/Field/ScrollingField.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
src/Field/ScrollingField.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
src/Field/ScrollingField.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
/* * This file is part of the Glaziery. * Copyright Thomas Jacob. * * READ README.TXT BEFORE USE!! */ // Main header file #include <Glaziery/src/Headers.h> ScrollingField::ScrollingField() { ASSERTION_COBJECT(this); borderSize = Vector(1, 1); constrainingScrollPosition = false; innerPaddingSize = Vector(1...
24.128289
108
0.769257
TheReincarnator
d1330c3a88a2061a98e94ab30a26d3324fb739a3
997
hpp
C++
src/editor/editor_interface_state.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/editor/editor_interface_state.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/editor/editor_interface_state.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
/* * TS Elements * Copyright 2015-2018 M. Newhouse * Released under the MIT license. */ #pragma once #include "editor_mode_types.hpp" #include <cstdint> #include <cstddef> namespace ts { namespace editor { enum class StateId { None, Editor, Test }; class InterfaceState { ...
19.94
88
0.672016
mnewhouse
d13ec2045b00b07b95ce033c9a20c73bfb7bdd00
5,872
cc
C++
code/render/coregraphics/ogl4/ogl4uniformbuffer.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/coregraphics/ogl4/ogl4uniformbuffer.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/coregraphics/ogl4/ogl4uniformbuffer.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
//------------------------------------------------------------------------------ // ogl4uniformbuffer.cc // (C) 2015-2018 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "ogl4uniformbuffer.h" #include "coregraphics...
29.656566
144
0.619891
Nechrito
d13fd6d33fa47e4686db92d173547dd1dd1f67f4
6,872
cpp
C++
src/TreeShape/Tree.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
6
2020-04-24T09:58:23.000Z
2022-02-06T03:40:55.000Z
src/TreeShape/Tree.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
1
2020-06-18T11:33:14.000Z
2020-06-18T11:35:23.000Z
src/TreeShape/Tree.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
1
2020-12-26T15:23:21.000Z
2020-12-26T15:23:21.000Z
// // Created by Roman Ellerbrock on 2020-01-21. // #include "TreeShape/Tree.h" Tree::Tree(const Tree& T) : root_(T.root_) { update(); } Tree::Tree(Tree&& T) noexcept { root_ = move(T.root_); update(); } Tree& Tree::operator=(const Tree& T) { *this = Tree(T); return *this; } Tree& Tree::operator=(Tree&& T) no...
22.830565
78
0.642026
roman-ellerbrock
d144c379fc1d1bb4c1ff4d9148229fb3a627cca3
2,951
cpp
C++
Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/u1Button.cpp
polarpathgames/Polar-Path
cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6
[ "MIT" ]
9
2019-03-05T07:26:04.000Z
2019-10-09T15:57:45.000Z
Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/u1Button.cpp
polarpathgames/Polar-Path
cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6
[ "MIT" ]
114
2019-03-10T09:35:12.000Z
2019-06-10T21:39:12.000Z
Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/u1Button.cpp
polarpathgames/Polar-Path
cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6
[ "MIT" ]
3
2019-02-25T16:12:40.000Z
2019-11-19T20:48:06.000Z
#include "App.h" #include "u1Button.h" #include "u1Label.h" #include "m1Textures.h" #include "p2Log.h" #include "m1Render.h" #include "m1Scene.h" u1Button::u1Button(const int & x, const int & y, const SDL_Rect & idle, const SDL_Rect & hover, const SDL_Rect & push, u1GUI * parent, bool draw, bool inter, bool drag, bool...
32.428571
305
0.705185
polarpathgames
d14632c79257709dbfafbc917b0de9c18eef170b
3,221
cpp
C++
SDK/PUBG_CableComponent_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_CableComponent_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_CableComponent_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
// PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_CableComponent_parameters.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //---------------------------------------------...
28.758929
159
0.695747
realrespecter
d149de3ccd111bd4a9ffdbfa98efb02ae258c900
57
cxx
C++
test/input/Namespace-Function-template-members.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
428
2015-01-06T17:01:38.000Z
2022-03-22T12:34:03.000Z
test/input/Namespace-Function-template-members.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
175
2015-01-06T17:07:37.000Z
2022-03-07T23:06:02.000Z
test/input/Namespace-Function-template-members.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
101
2015-01-25T14:18:42.000Z
2022-02-05T08:56:06.000Z
namespace start { template <typename T> T function(T); }
11.4
21
0.719298
radoslawcybulski
d14c41c0ee529192f24e2cad89b97b76dc5b8414
29,057
cc
C++
src/rsm.cc
L1nkZ/raglib
bfd5a931017371311a95194d336d35f564308950
[ "MIT" ]
3
2022-03-04T03:55:11.000Z
2022-03-14T12:03:50.000Z
src/rsm.cc
L1nkZ/raglib
bfd5a931017371311a95194d336d35f564308950
[ "MIT" ]
null
null
null
src/rsm.cc
L1nkZ/raglib
bfd5a931017371311a95194d336d35f564308950
[ "MIT" ]
1
2022-03-04T03:55:14.000Z
2022-03-04T03:55:14.000Z
// This is a generated file! Please edit source .ksy file and use // kaitai-struct-compiler to rebuild #include "raglib/rsm.h" #include "kaitai/exceptions.h" namespace raglib { rsm_t::rsm_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, rsm_t* p__root) : kaitai::kstruct(p__io) { m__parent = p__parent; ...
26.343608
80
0.604226
L1nkZ
d14cc930305efe56805a50fde42323cc83e4f620
2,214
cpp
C++
TAI/TP3/src/main.cpp
lengors/ua-repository
4a2ff60af8b190783e1992fe8edb40fc1147224a
[ "MIT" ]
null
null
null
TAI/TP3/src/main.cpp
lengors/ua-repository
4a2ff60af8b190783e1992fe8edb40fc1147224a
[ "MIT" ]
null
null
null
TAI/TP3/src/main.cpp
lengors/ua-repository
4a2ff60af8b190783e1992fe8edb40fc1147224a
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "../include/NCD.hpp" #include "../include/NCCD.hpp" #include <map> #include <iterator> #include <algorithm> bool compare(std::pair<std::string, float> first, std::pair<std::string, float> sec){ return first.second < sec.second; } int main(int args, char *...
30.328767
111
0.49729
lengors
d14d6ba536c1f4fbadb0ae7548bdb6657f9e9c0f
311
cpp
C++
src/misc/StringAlgo.cpp
hotwatermorning/Vst3SampleHost
405f8f9ca89467de46ee3fd9b819503e556022e7
[ "MIT" ]
19
2019-09-15T11:35:11.000Z
2021-12-02T12:27:09.000Z
src/misc/StringAlgo.cpp
hotwatermorning/Vst3SampleHost
405f8f9ca89467de46ee3fd9b819503e556022e7
[ "MIT" ]
3
2019-09-15T12:48:49.000Z
2019-09-18T10:43:19.000Z
src/misc/StringAlgo.cpp
hotwatermorning/Vst3SampleHost
405f8f9ca89467de46ee3fd9b819503e556022e7
[ "MIT" ]
1
2021-08-27T23:07:27.000Z
2021-08-27T23:07:27.000Z
#include "./StringAlgo.hpp" #include "./StrCnv.hpp" #include <regex> NS_HWM_BEGIN std::string trim(std::string const &str) { return to_utf8(trim(to_wstr(str))); } std::wstring trim(std::wstring const &str) { std::wregex re(LR"(^\s+|\s+$)"); return std::regex_replace(str, re, L""); } NS_HWM_END
16.368421
44
0.649518
hotwatermorning
d14e161db63f9a95b92493b9874b7d33e8020104
4,434
cpp
C++
MM_EMJGameProject/Plugins/Wwise/Source/AudiokineticTools/Private/Visualizer/AkAcousticPortalVisualizer.cpp
MicosMacosGames/EpicMegaJam_MicosMacos
1db45728a88c7af25ce2e6d0de23bf54c1f05bc6
[ "MIT" ]
1
2020-12-11T21:06:19.000Z
2020-12-11T21:06:19.000Z
MM_EMJGameProject/Plugins/Wwise/Source/AudiokineticTools/Private/Visualizer/AkAcousticPortalVisualizer.cpp
MicosMacosGames/EpicMegaJam_MicosMacos
1db45728a88c7af25ce2e6d0de23bf54c1f05bc6
[ "MIT" ]
null
null
null
MM_EMJGameProject/Plugins/Wwise/Source/AudiokineticTools/Private/Visualizer/AkAcousticPortalVisualizer.cpp
MicosMacosGames/EpicMegaJam_MicosMacos
1db45728a88c7af25ce2e6d0de23bf54c1f05bc6
[ "MIT" ]
null
null
null
// Copyright (c) 2006-2012 Audiokinetic Inc. / All Rights Reserved /*============================================================================= AkAcousticPortalVisualizer.cpp: =============================================================================*/ #include "AkAcousticPortalVisualizer.h" #include "AkAcousti...
34.107692
140
0.671854
MicosMacosGames
d1501638a9db0256f4c46340726b55f41de3ef1d
2,075
hxx
C++
libodb-mysql-2.4.0/odb/mysql/simple-object-result.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
libodb-mysql-2.4.0/odb/mysql/simple-object-result.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
libodb-mysql-2.4.0/odb/mysql/simple-object-result.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
// file : odb/mysql/simple-object-result.hxx // copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_MYSQL_SIMPLE_OBJECT_RESULT_HXX #define ODB_MYSQL_SIMPLE_OBJECT_RESULT_HXX #include <odb/pre.hxx> #include <cstddef> // std::size_t #in...
23.850575
70
0.678072
edidada
d1518f37c17dd93b1d07c20b1bca4b01652b42cd
10,189
cpp
C++
mcu/STM32/src/hwintflash_stm32.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
13
2018-02-26T14:56:02.000Z
2022-03-31T06:01:56.000Z
mcu/STM32/src/hwintflash_stm32.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
null
null
null
mcu/STM32/src/hwintflash_stm32.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
3
2020-11-04T09:15:01.000Z
2021-07-06T09:42:00.000Z
/* ----------------------------------------------------------------------------- * This file is a part of the NVCM project: https://github.com/nvitya/nvcm * Copyright (c) 2018 Viktor Nagy, nvitya * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held ...
18.458333
97
0.599666
nvitya
d1561ccc1b125d8f117c4692b32d5828afc4300c
2,726
cpp
C++
gym/100182/B.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/100182/B.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/100182/B.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <random> #include <chrono> using namespace std; using namespace __gnu_pbds; #define endl '\n' typedef long long ll; typedef pair<int, int> pii; //typedef tree<int,null_type,less<int>,rb_tree_tag, tree_orde...
20.192593
99
0.547689
albexl
d156e07f1fd14e608b3f8ec4f2c42de990e3d3ae
1,059
cpp
C++
YorozuyaGSLib/source/_guild_battle_suggest_matter.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_guild_battle_suggest_matter.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_guild_battle_suggest_matter.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_guild_battle_suggest_matter.hpp> START_ATF_NAMESPACE void _guild_battle_suggest_matter::CancelSuggestedMatter() { using org_ptr = void (WINAPIV*)(struct _guild_battle_suggest_matter*); (org_ptr(0x14025d350L))(this); }; void _guild_battle_suggest_matter::Clear() { ...
33.09375
78
0.697828
lemkova
d157bb2a37e10382ed4471f0f3a6554e77b9904b
879
hpp
C++
src/sdm/utils/value_function/action_selection/registry.hpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
src/sdm/utils/value_function/action_selection/registry.hpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
src/sdm/utils/value_function/action_selection/registry.hpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
#pragma once #include <sdm/utils/struct/vector.hpp> #include <sdm/utils/value_function/action_selection.hpp> namespace sdm { namespace action_selection { class registry { protected: typedef std::map<std::string, std::shared_ptr<ActionSelectionInterface> (*)(std::shared_ptr<...
31.392857
150
0.656428
SDMStudio
d15bdb28245224a19dd1af3280341e34f62042ec
1,635
cpp
C++
src/materialsystem/stdshaders/morphweight_dx9.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/materialsystem/stdshaders/morphweight_dx9.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/materialsystem/stdshaders/morphweight_dx9.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //===========================================================================// #include "BaseVSShader.h" #include "morphweight_vs30.inc" #include "morphweight_ps30.inc" // memdbgon must be the last inc...
22.39726
95
0.697859
DeadZoneLuna
d15be6542b99a45689721aafee706447f6d71a3e
3,625
hpp
C++
pyroomacoustics/libroom_src/geometry.hpp
HemaZ/pyroomacoustics
c401f829c71ff03a947f68f9b6b2f48346ae84b2
[ "MIT" ]
915
2016-02-08T08:10:37.000Z
2022-03-31T17:33:21.000Z
pyroomacoustics/libroom_src/geometry.hpp
zha80052/pyroomacoustics
15a86425b68969b2109860ca3614f0cbf92b1bd0
[ "MIT" ]
212
2017-02-06T13:06:30.000Z
2022-03-28T14:32:15.000Z
pyroomacoustics/libroom_src/geometry.hpp
zha80052/pyroomacoustics
15a86425b68969b2109860ca3614f0cbf92b1bd0
[ "MIT" ]
513
2016-11-15T05:41:49.000Z
2022-03-29T15:41:09.000Z
/* * Definition of the geometry routines * Copyright (C) 2019 Robin Scheibler, Cyril Cadoux * * 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 li...
32.954545
91
0.721103
HemaZ
d1607a2b3b8682150e536771a21cb4ece474050f
9,335
cpp
C++
devel/tests/TestMain.cpp
tonypilz/ScaledValue
41879f70de82d85e27c8d8ed277d6ffe0b9ff729
[ "BSD-3-Clause" ]
null
null
null
devel/tests/TestMain.cpp
tonypilz/ScaledValue
41879f70de82d85e27c8d8ed277d6ffe0b9ff729
[ "BSD-3-Clause" ]
null
null
null
devel/tests/TestMain.cpp
tonypilz/ScaledValue
41879f70de82d85e27c8d8ed277d6ffe0b9ff729
[ "BSD-3-Clause" ]
null
null
null
#include "ScaledQuantitlyTest.h" #include "TestMain.h" #include <src/ScaledValue.h> #include <src/ScaledValueOperations.h> #include <src/ScaledValuePrinting.h> #include <src/ScaledValueMath.h> #include <sstream> #include <ratio> #include <iostream> #include <cassert> #include <complex> namespace sv { namespace tes...
26.295775
99
0.520621
tonypilz
d16ae2cb636d259a3d1cfc4db2629ec890ba82ff
5,463
cpp
C++
Solutions/populatingNextRightPointersInEachNode.II.cpp
VenkataAnilKumar/LeetCode
df6d9e4b7172266bef4bc1f771fce3abb2216298
[ "Fair" ]
1
2020-10-30T07:10:23.000Z
2020-10-30T07:10:23.000Z
Solutions/populatingNextRightPointersInEachNode.II.cpp
VenkataAnilKumar/LeetCode
df6d9e4b7172266bef4bc1f771fce3abb2216298
[ "Fair" ]
null
null
null
Solutions/populatingNextRightPointersInEachNode.II.cpp
VenkataAnilKumar/LeetCode
df6d9e4b7172266bef4bc1f771fce3abb2216298
[ "Fair" ]
null
null
null
// Source : https://oj.leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ // Author : Venkata Anil Kumar /********************************************************************************** * * Follow up for problem "Populating Next Right Pointers in Each Node". * What if the given tree could be an...
23.050633
99
0.437122
VenkataAnilKumar
d16c5cf8bc486ba69927c1af372d65c4d8376282
7,774
cpp
C++
Proof/ProofRules.cpp
mchlshr-laminar/Logic
48f3562e721508fa8665f357a5dd529333886c8e
[ "MIT" ]
null
null
null
Proof/ProofRules.cpp
mchlshr-laminar/Logic
48f3562e721508fa8665f357a5dd529333886c8e
[ "MIT" ]
null
null
null
Proof/ProofRules.cpp
mchlshr-laminar/Logic
48f3562e721508fa8665f357a5dd529333886c8e
[ "MIT" ]
null
null
null
#include "Proof/ProofRules.hpp" #include "Justifications/InferenceRules.hpp" #include "Justifications/EquivalenceRules.hpp" #include "Justifications/AggregateJustification.hpp" #include <cstring> #include <sstream> #include <unistd.h> #include <fcntl.h> #include <iostream> using std::stringstream; using std...
33.8
126
0.704142
mchlshr-laminar
d17040c96e731a8aa28b5c430d6f87283c3156b0
937
cpp
C++
qtdemo/qssbtn/dialogqssbtn.cpp
Baluoteli/Qt-Demo
a52d39116484640b1c0056c7fa2f7d5bc213d7d9
[ "Apache-2.0" ]
28
2018-11-23T08:13:06.000Z
2022-03-18T07:27:14.000Z
qtdemo/qssbtn/dialogqssbtn.cpp
Baluoteli/Qt-Demo
a52d39116484640b1c0056c7fa2f7d5bc213d7d9
[ "Apache-2.0" ]
null
null
null
qtdemo/qssbtn/dialogqssbtn.cpp
Baluoteli/Qt-Demo
a52d39116484640b1c0056c7fa2f7d5bc213d7d9
[ "Apache-2.0" ]
7
2018-11-28T03:50:49.000Z
2021-07-16T02:51:29.000Z
#include "dialogqssbtn.h" #include "ui_dialogqssbtn.h" #include <QFile> DialogQssBtn::DialogQssBtn(QWidget *parent) : QDialog(parent), ui(new Ui::DialogQssBtn) { ui->setupUi(this); loadStyleSheet(":/resource/style.qss"); } DialogQssBtn::~DialogQssBtn() { delete ui; } void DialogQssBtn::loadStyl...
20.369565
59
0.640342
Baluoteli
d1708434230c6e506787b8dd3f8ca969cd3add2a
460
cpp
C++
DSA/Tree/Depth_of_a_Tree.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
DSA/Tree/Depth_of_a_Tree.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
DSA/Tree/Depth_of_a_Tree.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
/* Question: https://leetcode.com/problems/maximum-depth-of-binary-tree/ Solution: */ #include <iostream> #include <bits/stdc++.h> using namespace std; class Solution { public: int maxDepth(TreeNode* root) { if(root==NULL) return 0; //Calling Recursion ...
18.4
69
0.523913
ShrishtiAgarwal
d1719c7783a0b590681690f49b3fedcafbdb95ab
5,745
cpp
C++
tests/demo/demo.cpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
203
2019-04-26T10:52:22.000Z
2022-03-15T17:42:44.000Z
tests/demo/demo.cpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
90
2018-11-23T09:07:05.000Z
2019-04-13T10:44:03.000Z
tests/demo/demo.cpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
14
2019-06-19T00:52:00.000Z
2021-02-19T13:44:01.000Z
/*! * Copyright 2019 Breda University of Applied Sciences and Team Wisp (Viktor Zoutman, Emilio Laiso, Jens Hagen, Meine Zeinstra, Tahar Meijs, Koen Buitenhuis, Niels Brunekreef, Darius Bouma, Florian Schut) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
28.725
204
0.733681
LaisoEmilio
ab6b8bae85d7318c691917ceb0b48710e0faa112
4,988
cpp
C++
lab_heaps/main.cpp
RalphsCalves/CS-225
78484bd1a953b8e56cbe3f4b6b07214a015f52d4
[ "Cube" ]
4
2018-09-23T00:00:13.000Z
2018-11-02T22:56:35.000Z
lab_heaps/main.cpp
RalphsCalves/CS-225
78484bd1a953b8e56cbe3f4b6b07214a015f52d4
[ "Cube" ]
null
null
null
lab_heaps/main.cpp
RalphsCalves/CS-225
78484bd1a953b8e56cbe3f4b6b07214a015f52d4
[ "Cube" ]
null
null
null
/** * @file testheap.cpp * Heap Testing Code * * @author Jack Toole * @date Fall 2011 * * @author Chase Geigle * @date Fall 2012 */ #include <iostream> #include <fstream> #include <ctype.h> #include <time.h> #include <utility> #include "coloredout.h" #include "heap.h" #include "random.h" using namespace std;...
26.115183
80
0.599238
RalphsCalves
ab6ff4e68bd24b596cd0ba348616e714a9f166a0
22,441
cpp
C++
src/Mustl/MustlPlatform.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
9
2020-11-02T17:20:40.000Z
2021-12-25T15:35:36.000Z
src/Mustl/MustlPlatform.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
2
2020-06-27T23:14:13.000Z
2020-11-02T17:28:32.000Z
src/Mustl/MustlPlatform.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
1
2021-05-12T23:05:42.000Z
2021-05-12T23:05:42.000Z
//%Header { /***************************************************************************** * * File: src/Mustl/MustlPlatform.cpp * * Copyright: Andy Southgate 2002-2007, 2020 * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (th...
26.094186
144
0.662983
mushware
ab7679ea7e5957524926be0aa61aedbb4cc746e0
539
cpp
C++
judges/uri/ad-hoc/1103.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
null
null
null
judges/uri/ad-hoc/1103.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T11:53:02.000Z
2018-10-17T11:54:42.000Z
judges/uri/ad-hoc/1103.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T12:14:04.000Z
2018-10-17T12:14:04.000Z
#include<bits/stdc++.h> #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0) #define what_is(x) cerr << #x << " is " << x << endl #define REP(i,a,b) for (int i = a; i <= b; i++) #define endl "\n" using namespace std; using ii = pair<int, int>; using ll = long long; int main(){ IOS; int h1,h2,m1,m2,r, x; ...
23.434783
71
0.541744
eduardonunes2525
ab7c7ec8ea5c4fcfae80c617406bfdc25a7580f3
19,615
cpp
C++
src/representer/symtable/scope.cpp
avalon-lang/avaloni
28534da0cb9dbb35481e4b5841e5821472da84f0
[ "MIT" ]
14
2018-08-16T03:03:05.000Z
2022-02-01T23:27:34.000Z
src/representer/symtable/scope.cpp
avalon-lang/avaloniq
28534da0cb9dbb35481e4b5841e5821472da84f0
[ "MIT" ]
1
2020-05-18T09:41:25.000Z
2021-02-04T23:55:13.000Z
src/representer/symtable/scope.cpp
avalon-lang/avaloniq
28534da0cb9dbb35481e4b5841e5821472da84f0
[ "MIT" ]
2
2020-05-10T04:17:10.000Z
2022-02-01T23:27:47.000Z
/* * This file is part of the Avalon programming language * * Copyright (c) 2018 Ntwali Bashige Toussaint * * 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, i...
37.433206
215
0.663319
avalon-lang
ab8633d856e2324217ab5e62e1267d7d20a8153b
346
cpp
C++
Test/Dinic.test.cpp
tkmst201/library
3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d
[ "CC0-1.0" ]
null
null
null
Test/Dinic.test.cpp
tkmst201/library
3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d
[ "CC0-1.0" ]
3
2021-01-23T05:37:43.000Z
2021-06-05T06:34:20.000Z
Test/Dinic.test.cpp
tkmst201/Library
c6925742e9f1deeb98aa2103ef3921203d49207f
[ "CC0-1.0" ]
null
null
null
#define PROBLEM "https://onlinejudge.u-aizu.ac.jp/problems/GRL_6_A" #include "GraphTheory/Dinic.hpp" #include <cstdio> int main() { int V, E; scanf("%d %d", &V, &E); Dinic<int> dinic(V); while (E--) { int u, v, c; scanf("%d %d %d", &u, &v, &c); dinic.add_edge(u, v, c); } printf("%d\n", din...
20.352941
68
0.549133
tkmst201
ab8be7b8f561e9182886039e2d9545d0259349b3
1,469
cc
C++
CommNavigationObjects/opcua-backend/src-gen/CommNavigationObjectsOpcUa/CommGridMapRequestOpcUa.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommNavigationObjects/opcua-backend/src-gen/CommNavigationObjectsOpcUa/CommGridMapRequestOpcUa.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommNavigationObjects/opcua-backend/src-gen/CommNavigationObjectsOpcUa/CommGridMapRequestOpcUa.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
#include "CommGridMapRequestOpcUa.hh" #define SERONET_NO_DEPRECATED #include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ComplexType.hpp> #include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ElementPrimitives.hpp> #include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/SelfDescriptionArray.hpp>...
27.716981
104
0.7597
canonical-robots
ab8f8f54835cc9a8eeb6d10697cc4d3ad01e4568
14,818
hpp
C++
src/libcpp/mesh_func/hfun_mesh_euclidean_2.hpp
FxIII/jigsaw
5f2aad8f5cd4b3c5d79fce21dff6e51e2fc43923
[ "Unlicense" ]
1
2021-07-05T12:42:16.000Z
2021-07-05T12:42:16.000Z
src/libcpp/mesh_func/hfun_mesh_euclidean_2.hpp
FxIII/jigsaw
5f2aad8f5cd4b3c5d79fce21dff6e51e2fc43923
[ "Unlicense" ]
null
null
null
src/libcpp/mesh_func/hfun_mesh_euclidean_2.hpp
FxIII/jigsaw
5f2aad8f5cd4b3c5d79fce21dff6e51e2fc43923
[ "Unlicense" ]
3
2020-07-12T09:15:23.000Z
2022-02-15T17:38:38.000Z
/* -------------------------------------------------------- * HFUN-MESH-EUCLIDEAN-kD: unstructured H(X) in R^k. -------------------------------------------------------- * * This program may be freely redistributed under the * condition that the copyright notices (including this *...
28.55106
64
0.397355
FxIII
ab91848e880ee18d04dd7ee59ac1c4e25126076c
6,441
hpp
C++
Others/TLD+KCF/Project1/ffttools.hpp
xinlingmidian/Single-Object-Tracking
d8f7b698e4668515f2e459da3f3c332eb3ab76d7
[ "Apache-2.0" ]
3
2019-04-08T14:33:19.000Z
2019-10-02T13:32:34.000Z
Others/TLD+KCF/Project1/ffttools.hpp
xinlingmidian/Single-Object-Tracking
d8f7b698e4668515f2e459da3f3c332eb3ab76d7
[ "Apache-2.0" ]
null
null
null
Others/TLD+KCF/Project1/ffttools.hpp
xinlingmidian/Single-Object-Tracking
d8f7b698e4668515f2e459da3f3c332eb3ab76d7
[ "Apache-2.0" ]
2
2019-05-14T14:40:25.000Z
2022-01-24T04:19:33.000Z
/* Author: Christian Bailer Contact address: Christian.Bailer@dfki.de Department Augmented Vision DFKI License Agreement For Open Source Computer Vision Library (3-clause BSD License) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
26.949791
101
0.628629
xinlingmidian
ab9356196550bea41b48ffb4d4409e9441e9fcc3
3,171
cpp
C++
compiler/moco/lang/src/IR/TFNode.cpp
toomuchsalt/ONE-1
92898a1e9e738b9fc70933e64d1000df73c6b31b
[ "Apache-2.0" ]
1
2020-05-22T13:53:40.000Z
2020-05-22T13:53:40.000Z
compiler/moco/lang/src/IR/TFNode.cpp
toomuchsalt/ONE-1
92898a1e9e738b9fc70933e64d1000df73c6b31b
[ "Apache-2.0" ]
1
2020-09-23T23:12:23.000Z
2020-09-23T23:20:34.000Z
compiler/moco/lang/src/IR/TFNode.cpp
toomuchsalt/ONE-1
92898a1e9e738b9fc70933e64d1000df73c6b31b
[ "Apache-2.0" ]
1
2021-07-22T11:02:43.000Z
2021-07-22T11:02:43.000Z
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
22.978261
81
0.684011
toomuchsalt
ab9727de18e06c80c4f9e6a38053da9db43df23f
12,010
cc
C++
squid/squid3-3.3.8.spaceify/src/tests/stub_libmgr.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/tests/stub_libmgr.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/tests/stub_libmgr.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
#include "squid.h" #include "comm/Connection.h" #define STUB_API "lmgr/libmgr.la" #include "tests/STUB.h" // NP: used by Command.h instantiations #include "mgr/ActionProfile.h" // NP: used by Action.h instantiations #include "mgr/Command.h" std::ostream &operator <<(std::ostream &os, const Mgr::Command &cmd) STUB_RE...
49.628099
131
0.782681
spaceify
ab9de52786110d29bc0751293deb1217a80dda06
357
cpp
C++
luogu/p1088.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
luogu/p1088.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
luogu/p1088.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int N = 10010; vector<int> used(N); int main(){ int n, m; cin >> n >> m; for(int i = 0; i < n; i++) { cin >> used[i]; } while(m--) { next_permutation(used.begin(), used.begin()+n); } for(int i = 0; i < n; i++) cout<<used[i]<<...
19.833333
55
0.484594
freedomDR
aba0108c39aeaf62fc0398dcc9454bf74973477c
5,248
cpp
C++
Tools/CmgenToCubemap/main.cpp
coolzoom/ogre-next
31ec929356e40becafcdef31686bc90cd6da7530
[ "MIT" ]
701
2019-09-08T15:56:41.000Z
2022-03-31T05:51:26.000Z
Tools/CmgenToCubemap/main.cpp
coolzoom/ogre-next
31ec929356e40becafcdef31686bc90cd6da7530
[ "MIT" ]
204
2019-09-01T23:02:32.000Z
2022-03-28T14:58:39.000Z
Tools/CmgenToCubemap/main.cpp
coolzoom/ogre-next
31ec929356e40becafcdef31686bc90cd6da7530
[ "MIT" ]
188
2019-09-05T05:14:46.000Z
2022-03-22T21:51:39.000Z
#include "OgreFileSystem.h" #include "OgreImage2.h" #include "OgrePixelFormatGpuUtils.h" #include "OgreTextureBox.h" #include "OgreLwString.h" #if OGRE_NO_FREEIMAGE == 0 # include "OgreFreeImageCodec2.h" #endif #if OGRE_NO_DDS_CODEC == 0 # include "OgreDDSCodec2.h" #endif #if OGRE_NO_STBI_CODEC == 0 # inclu...
28.367568
104
0.610328
coolzoom
aba033f6ab9ebcfd77f6d087efb36ade64382fdb
787
cpp
C++
bench/function/scalar/tofloat.cpp
nickporubsky/boost-simd-clone
b81dfcd9d6524a131ea714f1eebb5bb75adddcc7
[ "BSL-1.0" ]
5
2018-02-20T11:21:12.000Z
2019-11-12T13:45:09.000Z
bench/function/scalar/tofloat.cpp
timblechmann/boost.simd
2217f1d0102193799469b533e3a7118bf4a77dde
[ "BSL-1.0" ]
null
null
null
bench/function/scalar/tofloat.cpp
timblechmann/boost.simd
2217f1d0102193799469b533e3a7118bf4a77dde
[ "BSL-1.0" ]
2
2017-12-12T12:29:52.000Z
2019-04-08T15:55:25.000Z
// ------------------------------------------------------------------------------------------------- // Copyright 2016 - NumScale SAS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE.txt or copy at // ...
37.47619
100
0.462516
nickporubsky
abaabe1d626415928b070cff6dfe131338efbfe8
1,601
cpp
C++
n/Main.cpp
lagunka/MemoryHelper
4fc8eae8154b52593e0dfe83c42f84380753c395
[ "MIT" ]
1
2017-02-24T06:41:58.000Z
2017-02-24T06:41:58.000Z
n/Main.cpp
lagunka/MemoryHelper
4fc8eae8154b52593e0dfe83c42f84380753c395
[ "MIT" ]
null
null
null
n/Main.cpp
lagunka/MemoryHelper
4fc8eae8154b52593e0dfe83c42f84380753c395
[ "MIT" ]
null
null
null
#include "list.h" #define EXPORTING_DLL HANDLE threadLoop; DWORD WINAPI Loop(PVOID pThreadParameter) { int *tempA = new int[9]; tempA[0] = 140; tempA[1] = 172; tempA[2] = 148; tempA[3] = 164; tempA[4] = 34; tempA[5] = 144; tempA[6] = 182; tempA[7] = 144; tempA[8] = '\0'; for (int i = 0; i < 8; ++i) tempA[i] = (t...
20.525641
144
0.633354
lagunka
abad8d3aa3f545182563d44ee2d2c1b6889ebe78
34,282
cpp
C++
tests/test_simd_vectors/test_simd_vectors_complex.cpp
mablanchard/Fastor
f5ca2f608bdfee34833d5008a93a3f82ce42ddef
[ "MIT" ]
424
2017-05-15T14:34:30.000Z
2022-03-29T08:58:22.000Z
tests/test_simd_vectors/test_simd_vectors_complex.cpp
manodeep/Fastor
aefce47955dd118f04e7b36bf5dbb2d86997ff8f
[ "MIT" ]
150
2016-12-23T10:08:12.000Z
2022-01-16T03:53:45.000Z
tests/test_simd_vectors/test_simd_vectors_complex.cpp
manodeep/Fastor
aefce47955dd118f04e7b36bf5dbb2d86997ff8f
[ "MIT" ]
43
2017-09-20T19:47:24.000Z
2022-02-22T21:12:49.000Z
#include <Fastor/Fastor.h> #include <complex> using namespace Fastor; template<typename T, size_t N> std::array<std::complex<T>,N> zadd(const std::array<std::complex<T>,N> &a, const std::array<std::complex<T>,N> &b) { std::array<std::complex<T>,N> out; for (size_t i=0; i< N; ++i) out[i] = a[i]+b[i]; retu...
38.56243
111
0.541509
mablanchard
abb0757515502987ec58cc3dee86cf80bec6a201
3,050
cpp
C++
modules/core/perf/opencl/perf_bufferpool.cpp
lastlegion/opencv
4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2
[ "BSD-3-Clause" ]
1
2019-04-19T22:56:53.000Z
2019-04-19T22:56:53.000Z
modules/core/perf/opencl/perf_bufferpool.cpp
lastlegion/opencv
4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2
[ "BSD-3-Clause" ]
null
null
null
modules/core/perf/opencl/perf_bufferpool.cpp
lastlegion/opencv
4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2
[ "BSD-3-Clause" ]
null
null
null
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved. #include "perf_precomp.hpp" #include "opencv2/ts...
22.932331
92
0.606557
lastlegion
abb077f186ec1eb9a6d58f6baa05bb3c8d7404f5
5,311
cpp
C++
binary/lib/matlab/rand.cpp
ledschat/algomaze
62e05c0b4f6a0eef750f0154a0e4c1241bd53843
[ "MIT" ]
null
null
null
binary/lib/matlab/rand.cpp
ledschat/algomaze
62e05c0b4f6a0eef750f0154a0e4c1241bd53843
[ "MIT" ]
null
null
null
binary/lib/matlab/rand.cpp
ledschat/algomaze
62e05c0b4f6a0eef750f0154a0e4c1241bd53843
[ "MIT" ]
null
null
null
// // File: rand.cpp // // MATLAB Coder version : 3.3 // C/C++ source code generated on : 04-Oct-2017 10:47:28 // // Include Files #include "rt_nonfinite.h" #include "generateMaze.h" #include "updateMazePledge.h" #include "updateMazeRandomMouse.h" #include "updateMazeShortestPathBFS.h" #include "updateMaze...
27.235897
78
0.556392
ledschat
abb9dd4adfe521ced498fcf06b944346cd499bf4
2,708
hpp
C++
addons/gamemodes/Cfg3DEN.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
1
2020-06-07T00:45:49.000Z
2020-06-07T00:45:49.000Z
addons/gamemodes/Cfg3DEN.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
27
2020-05-24T11:09:56.000Z
2020-05-25T12:28:10.000Z
addons/gamemodes/Cfg3DEN.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
2
2020-05-31T08:52:45.000Z
2021-04-16T23:16:37.000Z
class Cfg3DEN { class EventHandlers { class ADDON { onMissionNew = QUOTE(_this call FUNC(setupDefaultGameMode)); onMissionLoad = QUOTE(_this call FUNC(setupDefaultGameMode)); }; }; class Attributes { class Default; class Title: Default { class Controls { class...
32.238095
76
0.456795
Krzyciu
abc22170b11b6cb7ccd20651d16b6b2606594c5f
228,767
cpp
C++
qrc_image.cpp
rao1219/qt-SON
b8a28c8358dda55c3e5e01d199f2276b71dc2646
[ "MIT" ]
11
2015-08-31T15:53:43.000Z
2021-12-24T13:25:05.000Z
qrc_image.cpp
rao1219/qt-SON
b8a28c8358dda55c3e5e01d199f2276b71dc2646
[ "MIT" ]
null
null
null
qrc_image.cpp
rao1219/qt-SON
b8a28c8358dda55c3e5e01d199f2276b71dc2646
[ "MIT" ]
5
2017-06-30T07:18:44.000Z
2020-04-17T16:08:15.000Z
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.5.0 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsig...
79.626523
119
0.76598
rao1219
abc50486e3651f397b35af666de8c4eb45fd232b
11,295
cpp
C++
ion/IONDataObject.cpp
dtylman/ion
219a84761ff9213a53c79d3447b03ae620711024
[ "MIT" ]
2
2018-01-15T12:22:31.000Z
2018-03-16T12:43:32.000Z
ion/IONDataObject.cpp
dtylman/ion
219a84761ff9213a53c79d3447b03ae620711024
[ "MIT" ]
null
null
null
ion/IONDataObject.cpp
dtylman/ion
219a84761ff9213a53c79d3447b03ae620711024
[ "MIT" ]
null
null
null
/* * File: IONDataObject.cpp * Author: danny * * Created on February 18, 2015, 3:47 PM */ #include "IONDataObject.h" #include "ScopedTransaciton.h" #include "EventNotification.h" #include "AuthDataObject.h" #include <Poco/Data/Statement.h> #include <Poco/Timespan.h> #include <Poco/Timestamp.h> #include <Poco/Ut...
32.363897
162
0.647455
dtylman
abc54f7320b35346f90d509cca50e1984317c1e3
1,413
hpp
C++
northstar/include/openvr/VRProperties.hpp
BryanChrisBrown/project_northstar_openvr_driver
cf16e98e24804aee699805dca766b8153f4e52e5
[ "Unlicense" ]
null
null
null
northstar/include/openvr/VRProperties.hpp
BryanChrisBrown/project_northstar_openvr_driver
cf16e98e24804aee699805dca766b8153f4e52e5
[ "Unlicense" ]
null
null
null
northstar/include/openvr/VRProperties.hpp
BryanChrisBrown/project_northstar_openvr_driver
cf16e98e24804aee699805dca766b8153f4e52e5
[ "Unlicense" ]
null
null
null
#pragma once #include <openvr_driver.h> #include <memory> #include "openvr/IVRProperties.hpp" namespace northstar { namespace openvr { class CVRProperties : public IVRProperties { public: CVRProperties(vr::CVRPropertyHelpers* pVRPropertyHelpers); virtual vr::PropertyContai...
58.875
186
0.772824
BryanChrisBrown
abcc67f0966a4a0f5d8602d0b76985790c805fa4
404
cpp
C++
442.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
442.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
442.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
class Solution { public: vector<int> findDuplicates(vector<int>& nums) { vector<int> ans; int i = 0; while (i < nums.size()) { if (nums[i] != nums[nums[i]-1]) swap(nums[i], nums[nums[i]-1]); else i++; } for (i = 0; i < nums.size(); i++) { i...
25.25
75
0.438119
zfang399
abd11f08364b70d6110d41b1fe4772c14f19cfd3
281
cpp
C++
Plugins/NativeInput/Source/Windows/NativeInput.cpp
chiamaka-123/BabylonNative
7f1f9fd23bf649c9c8a1260f2b93752145b0c024
[ "MIT" ]
474
2019-05-29T09:41:22.000Z
2022-03-31T12:09:35.000Z
Plugins/NativeInput/Source/Windows/NativeInput.cpp
chiamaka-123/BabylonNative
7f1f9fd23bf649c9c8a1260f2b93752145b0c024
[ "MIT" ]
593
2019-05-31T23:56:36.000Z
2022-03-31T19:25:09.000Z
Plugins/NativeInput/Source/Windows/NativeInput.cpp
chiamaka-123/BabylonNative
7f1f9fd23bf649c9c8a1260f2b93752145b0c024
[ "MIT" ]
114
2019-06-10T18:07:19.000Z
2022-03-11T21:13:27.000Z
#include "..\Shared\NativeInput.h" #include <winrt/Windows.Devices.Input.h> using namespace winrt::Windows::Devices::Input; namespace Babylon::Plugins { bool NativeInput::Impl::HasMouse() { return MouseCapabilities::MouseCapabilities().MousePresent() > 0; } }
23.416667
73
0.704626
chiamaka-123
abd5c339b89924261f3760bf8990869a24a323e0
1,473
hpp
C++
cpp/include/state/attached/IAttachedState.hpp
skydiveuas/skylync
73db7fe4593e262a1fc1a7b61c18190275abe723
[ "MIT" ]
1
2018-06-06T20:33:28.000Z
2018-06-06T20:33:28.000Z
cpp/include/state/attached/IAttachedState.hpp
skydiveuas/skylync
73db7fe4593e262a1fc1a7b61c18190275abe723
[ "MIT" ]
null
null
null
cpp/include/state/attached/IAttachedState.hpp
skydiveuas/skylync
73db7fe4593e262a1fc1a7b61c18190275abe723
[ "MIT" ]
1
2020-07-31T03:39:15.000Z
2020-07-31T03:39:15.000Z
#ifndef STATE_ATTACHED_IATTACHEDSTATE_HPP #define STATE_ATTACHED_IATTACHEDSTATE_HPP #include "state/ILiveCycleState.hpp" namespace sl { namespace state { namespace attached { class IAttachedState { public: IAttachedState(ILiveCycleState::Listener& _listener); virtual void start() noexcept; virtual IA...
23.380952
91
0.732519
skydiveuas
abd63c7a7ee9d7dc719e223383372f1b6aa7ef03
10,748
cpp
C++
modules/attention_segmentation/src/SVMPredictorSingle.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
2
2021-02-22T11:36:33.000Z
2021-07-20T11:31:08.000Z
modules/attention_segmentation/src/SVMPredictorSingle.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
null
null
null
modules/attention_segmentation/src/SVMPredictorSingle.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
3
2018-10-19T10:39:23.000Z
2021-04-07T13:39:03.000Z
/**************************************************************************** ** ** Copyright (C) 2017 TU Wien, ACIN, Vision 4 Robotics (V4R) group ** Contact: v4r.acin.tuwien.ac.at ** ** This file is part of V4R ** ** V4R is distributed under dual licenses - GPLv3 or closed source. ** ** GNU General Public License Usa...
30.621083
117
0.640491
v4r-tuwien
abdfe21936802f63f619a30199e0a2c3214fe9d0
1,626
hpp
C++
engine/src/Rendering/Shader.hpp
codekrafter/CodekraftEngine
c0965b74dc4926e4612e1ff953be248acceb3198
[ "MIT" ]
null
null
null
engine/src/Rendering/Shader.hpp
codekrafter/CodekraftEngine
c0965b74dc4926e4612e1ff953be248acceb3198
[ "MIT" ]
1
2018-06-26T14:00:35.000Z
2018-06-26T14:00:57.000Z
engine/src/Rendering/Shader.hpp
codekrafter/CodekraftEngine
c0965b74dc4926e4612e1ff953be248acceb3198
[ "MIT" ]
1
2018-03-28T18:19:19.000Z
2018-03-28T18:19:19.000Z
#pragma once #include "GLM.hpp" #include "Engine.hpp" #include "Assets/Asset.hpp" //#include "Shader.generated.hpp" namespace ck { CKClass(); class Shader : public Asset { private: friend class OpenGLRenderer; unsigned int ID; void checkCompileErrors(unsigned int shader, std::string type); public: Shader()...
26.655738
76
0.686347
codekrafter
abe43fbf9a27441e9961ed576606ad91e3703a47
6,056
hpp
C++
windows/include/boost/spirit/home/support/char_class.hpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
6
2015-12-29T07:21:01.000Z
2020-05-29T10:47:38.000Z
windows/include/boost/spirit/home/support/char_class.hpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
windows/include/boost/spirit/home/support/char_class.hpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
/*============================================================================= Copyright (c) 2001-2007 Joel de Guzman Copyright (c) 2001-2008 Hartmut Kaiser Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_...
23.472868
91
0.504954
jaredhoberock
abe519688f353dca63028e48ba041218e4814ac5
2,339
cpp
C++
Source/CameraObserver.cpp
avtcn/vimba4_mfc_hardware_trigger_multiple_photos_acquire_image_loop
bd77485a282e002f015f86a06c3e5310c146ad15
[ "MIT" ]
1
2020-11-13T07:56:29.000Z
2020-11-13T07:56:29.000Z
Source/CameraObserver.cpp
avtcn/vimba4_mfc_hardware_trigger_multiple_photos_acquire_image_loop
bd77485a282e002f015f86a06c3e5310c146ad15
[ "MIT" ]
null
null
null
Source/CameraObserver.cpp
avtcn/vimba4_mfc_hardware_trigger_multiple_photos_acquire_image_loop
bd77485a282e002f015f86a06c3e5310c146ad15
[ "MIT" ]
1
2020-11-13T07:57:26.000Z
2020-11-13T07:57:26.000Z
/*============================================================================= Copyright (C) 2012 - 2016 Allied Vision Technologies. All Rights Reserved. Redistribution of this file, in original or modified form, without prior written consent of Allied Vision Technologies is prohibited. ----------------------...
38.344262
95
0.599829
avtcn
abea1a73d891982f5e4a30155fadd4585c826317
424
cpp
C++
ObjectOpt/main.cpp
zukas/optimization-testing
7a78761c6f354b73a3aef811ebb420cf2657c942
[ "MIT" ]
null
null
null
ObjectOpt/main.cpp
zukas/optimization-testing
7a78761c6f354b73a3aef811ebb420cf2657c942
[ "MIT" ]
null
null
null
ObjectOpt/main.cpp
zukas/optimization-testing
7a78761c6f354b73a3aef811ebb420cf2657c942
[ "MIT" ]
null
null
null
#include <math.h> #include <random> class Model; class Object { float m_Pos[2]; float m_Velocity[2]; char m_Name[32]; Model *m_Model; // ... other members ... float m_Foo; public: void UpdateFoo(float f) { float mag = sqrtf(m_Velocity[0] * m_Velocity[0] + m_Velocity[1] * m_Velocity[1]); ...
15.703704
77
0.599057
zukas
abebf7f255000f90419c87a7ea80ae8f93abfb9a
6,818
cpp
C++
cpp/godot-cpp/src/gen/CollisionObject.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/CollisionObject.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/CollisionObject.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "CollisionObject.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" #include "Object.hpp" #include "InputEvent.hpp" #include "Shape.hpp" namespace godot { CollisionObject::___method_bindings CollisionObject::___m...
52.446154
170
0.824582
GDNative-Gradle
abed584fe29ad915a0f362ce024e2f964acd2dd6
3,664
cpp
C++
format/tables/AssemblyRefTable.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
4
2017-01-24T09:32:23.000Z
2021-08-20T03:29:54.000Z
format/tables/AssemblyRefTable.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
null
null
null
format/tables/AssemblyRefTable.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
1
2021-08-20T03:29:55.000Z
2021-08-20T03:29:55.000Z
/* * Copyright (c) 2008-2016, Integrity Project Ltd. 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 ...
37.773196
81
0.715338
eladraz
74430b4b2c96c81ea491bc0dd8da54800e16cf58
4,015
hh
C++
include/Pointers.hh
smindinvern/usb-micro
89b24a70a422352a71f92a5d3a6df796bcf32956
[ "BSD-3-Clause" ]
null
null
null
include/Pointers.hh
smindinvern/usb-micro
89b24a70a422352a71f92a5d3a6df796bcf32956
[ "BSD-3-Clause" ]
null
null
null
include/Pointers.hh
smindinvern/usb-micro
89b24a70a422352a71f92a5d3a6df796bcf32956
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright 2018 Nickolas T Lloyd <ultrageek.lloyd@gmail.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of condi...
25.903226
80
0.676463
smindinvern
744769ee111d737b9ab081ac9617c225200ca6e8
4,669
cpp
C++
src/server/enclave/enc.cpp
HybrTC/HybrTC
f13d1730ba9640e30b5907d8af72d4e71783d814
[ "MIT" ]
null
null
null
src/server/enclave/enc.cpp
HybrTC/HybrTC
f13d1730ba9640e30b5907d8af72d4e71783d814
[ "MIT" ]
null
null
null
src/server/enclave/enc.cpp
HybrTC/HybrTC
f13d1730ba9640e30b5907d8af72d4e71783d814
[ "MIT" ]
null
null
null
#include <mutex> #include "common/types.hpp" #include "config.hpp" #include "enclave_context.hpp" #include "helloworld_t.h" #include "msg.pb.h" #include "sgx/log.h" #if PSI_AGGREGATE_POLICY == PSI_AGGREAGATE_SELECT #include "psi/select_handler.hpp" sptr<SelectHandler> handler; #else #include "psi/join_handler.hpp" sp...
24.445026
110
0.665667
HybrTC
7449db0c6a44ef2f9fbb19985f22eda2f4aa2bc6
786
cpp
C++
ProjectEuler+/009.cpp
amielle/hackerrank-solutions
e0adc51ca9ed3a35388b51ccd301c2442391eaa2
[ "MIT" ]
null
null
null
ProjectEuler+/009.cpp
amielle/hackerrank-solutions
e0adc51ca9ed3a35388b51ccd301c2442391eaa2
[ "MIT" ]
null
null
null
ProjectEuler+/009.cpp
amielle/hackerrank-solutions
e0adc51ca9ed3a35388b51ccd301c2442391eaa2
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; #define MAXN 3000 + 2 int abc[MAXN]; void init(){ for(int i=0;i<MAXN;++i){ abc[i] = -1; } for(int a=1;a<MAXN;++a){ for(int b=a+1;b<MAXN;++b){ double c = sqrt(a*a +...
19.65
59
0.396947
amielle
744b58a910f6fa00b0f2869765f85805063cf83c
3,266
hpp
C++
src/base/interpolator/LagrangeInterpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
1
2018-09-18T07:09:36.000Z
2018-09-18T07:09:36.000Z
src/base/interpolator/LagrangeInterpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
null
null
null
src/base/interpolator/LagrangeInterpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
2
2020-06-18T04:45:30.000Z
2021-07-20T02:11:54.000Z
//$Id$ //------------------------------------------------------------------------------ // LagrangeInterpolator //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2015 United States Governmen...
36.288889
81
0.63962
rockstorm101
744ebdc1910f31d4d38c33df45e00f51b6dc830f
1,937
cpp
C++
Math/Vector3.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
null
null
null
Math/Vector3.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-06-19T15:55:25.000Z
2019-06-27T07:47:27.000Z
Math/Vector3.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-07-07T04:37:56.000Z
2019-07-07T04:37:56.000Z
/* * Copyright (C) 2017 by Author: Aroudj, Samir, born in Suhl, Thueringen, Germany * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include <iostream> #include "Math/MathHelper.h" #include "Math/Vecto...
22.011364
87
0.665462
SamirAroudj
744f1cad9156d314f787163ac5062348a98ed8ca
1,830
hpp
C++
Common/ToneSampleGenerator.hpp
ptimonen/AudioRender
1a75c168b418608370053530a09b19ff653af5eb
[ "MIT" ]
2
2021-09-04T08:13:26.000Z
2021-09-11T19:35:47.000Z
Common/ToneSampleGenerator.hpp
ptimonen/AudioRender
1a75c168b418608370053530a09b19ff653af5eb
[ "MIT" ]
null
null
null
Common/ToneSampleGenerator.hpp
ptimonen/AudioRender
1a75c168b418608370053530a09b19ff653af5eb
[ "MIT" ]
1
2021-09-11T19:36:01.000Z
2021-09-11T19:36:01.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. /...
26.521739
143
0.598907
ptimonen
7452c3ca0113f2def6b3d306c85b634c6398ab60
1,278
cpp
C++
Final/Markit/Source/User.cpp
summerwish/Cpp_homework
58bf9afb6ebdf9740a579975637a5b5005db7db4
[ "MIT" ]
null
null
null
Final/Markit/Source/User.cpp
summerwish/Cpp_homework
58bf9afb6ebdf9740a579975637a5b5005db7db4
[ "MIT" ]
null
null
null
Final/Markit/Source/User.cpp
summerwish/Cpp_homework
58bf9afb6ebdf9740a579975637a5b5005db7db4
[ "MIT" ]
null
null
null
// // User.cpp // Markit // // Created by Breezewish on 4/24/14. // Copyright (c) 2014 Breezewish. All rights reserved. // #include "User.h" #include "utils.h" unsigned int User::getUID() const { return uid; } string User::getName() const { return name; } int User::getGender() const { return gender;...
16.384615
55
0.589984
summerwish
74586c0bccc83d3841ea79e664c2d4b0e0256f36
1,601
cpp
C++
loader/loader.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
loader/loader.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
loader/loader.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
#include "include/loader.hpp" #include "loadedinstance.hpp" #include <map> namespace loader { class LoaderPrivate { public: LoaderPrivate() {} ~LoaderPrivate() {} std::map<std::string, std::shared_ptr<LoadedInstance>> m_loadedInstances; }; static Loader *loaderInstance{ nullptr }; Loader::Loader() { m...
20.0125
77
0.706433
LeDYoM
745cd4894f6054561278ee2030aa4d259e988de2
4,338
hpp
C++
include/codegen/include/GlobalNamespace/NoteCutParticlesEffect.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/NoteCutParticlesEffect.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/NoteCutParticlesEffect.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
50.44186
311
0.772245
Futuremappermydud
745e087ad87c8824a88c7c389464f014e770f97d
748
cpp
C++
Core/JSMachine/JSMachineDelegate.cpp
manu88/Celesta
1b6350aac5040b54a1ddabed745586508bc63264
[ "Apache-2.0" ]
null
null
null
Core/JSMachine/JSMachineDelegate.cpp
manu88/Celesta
1b6350aac5040b54a1ddabed745586508bc63264
[ "Apache-2.0" ]
null
null
null
Core/JSMachine/JSMachineDelegate.cpp
manu88/Celesta
1b6350aac5040b54a1ddabed745586508bc63264
[ "Apache-2.0" ]
null
null
null
// // JSMachineDelegate.cpp // JSMachine // // Created by Manuel Deneu on 02/08/14. // Copyright (c) 2014 Manuel Deneu. All rights reserved. // #include <assert.h> #include "JSMachineDelegate.h" /* **** **** **** **** **** **** **** **** **** **** **** **** **** */ JSMachineDelegate::JSMachineDelegate() { } ...
19.179487
77
0.425134
manu88
74651a02639e59308ecdbec195c72e83df740523
972
cpp
C++
_site/Competitive Programming/Codeforces/Minimum Value Rectangle.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/Codeforces/Minimum Value Rectangle.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/Codeforces/Minimum Value Rectangle.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 int ll; using namespace std; vector<int> v,v1; map<int,int> mp; int main() { ios::sync_with_stdio(0); int t; cin >> t; while(t--) { v.clear(); mp.clear(); v1.clear(); vector<int> ans; double diff=1000000000; int n; cin >> n; for(int i=0;i<n;i++) { int val;cin...
22.604651
72
0.532922
anujkyadav07
74665c6fb0720e5bb9faa972f7f1ee632bd6180b
5,590
cpp
C++
Source/VK/ConversionVK.cpp
jayrulez/NRIOOP
375dd2e4e5a33863a84e6c8166488f1139fb2f74
[ "MIT" ]
null
null
null
Source/VK/ConversionVK.cpp
jayrulez/NRIOOP
375dd2e4e5a33863a84e6c8166488f1139fb2f74
[ "MIT" ]
null
null
null
Source/VK/ConversionVK.cpp
jayrulez/NRIOOP
375dd2e4e5a33863a84e6c8166488f1139fb2f74
[ "MIT" ]
null
null
null
/* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
50.36036
142
0.771199
jayrulez
7466a2c427196ae761ed65d5bee4c116e4878906
9,819
cpp
C++
myitemmodel.cpp
yjfvictor/lianliankan
b83449cec3f24a28f4a5cc44e079878d068e7fbf
[ "MIT" ]
null
null
null
myitemmodel.cpp
yjfvictor/lianliankan
b83449cec3f24a28f4a5cc44e079878d068e7fbf
[ "MIT" ]
null
null
null
myitemmodel.cpp
yjfvictor/lianliankan
b83449cec3f24a28f4a5cc44e079878d068e7fbf
[ "MIT" ]
null
null
null
#include "myitemmodel.h" #include <QStandardItem> #include <QIcon> #include <QColor> #include <QPixmap> #include <cstdlib> #include <ctime> #include <QMessageBox> const int MyItemModel::rowCount = MAX_ROWS; const int MyItemModel::columnCount = MAX_ROWS; MyItemModel::MyItemModel(QTableView * tableView, QObject *parent...
29.844985
135
0.563805
yjfvictor
746757752ffed34eca19397ec1afdec0997f3078
8,342
cpp
C++
src/ui/c_item_viewer.cpp
Mankio/Wakfu-Builder
d2ce635dde2da21eee3639cf3facebd07750ab78
[ "MIT" ]
null
null
null
src/ui/c_item_viewer.cpp
Mankio/Wakfu-Builder
d2ce635dde2da21eee3639cf3facebd07750ab78
[ "MIT" ]
null
null
null
src/ui/c_item_viewer.cpp
Mankio/Wakfu-Builder
d2ce635dde2da21eee3639cf3facebd07750ab78
[ "MIT" ]
null
null
null
#include "c_item_viewer.h" #include "ui_c_item_viewer.h" c_item_viewer::c_item_viewer(const QString item_position, QWidget *parent) : QWidget(parent), ui(new Ui::c_item_viewer) { ui->setupUi(this); _parent = parent; this->setAttribute(Qt::WA_Hover); this->setContextMenuPolicy(Qt::CustomContext...
29.373239
139
0.630544
Mankio
746e7abee2b32829168abb49699c2a0a7055a22c
1,102
cpp
C++
Skeleton/src/OpenGL/main.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
null
null
null
Skeleton/src/OpenGL/main.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
null
null
null
Skeleton/src/OpenGL/main.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
1
2019-11-25T02:03:08.000Z
2019-11-25T02:03:08.000Z
#include <iostream> #include "RndrSample.h" #include "RndrGlut.h" #include "RndrModeling.h" #include "RndrProjection.h" #include "RndrAliasing.h" #include "RndrLighting.h" #include "RndrTexture.h" #include "CRndrGlfw.h" enum GL_RNDR_TYPE { // GLUT GL_RNDR_SAMPLE = 0, GL_RNDR_GLUT, GL_RNDR_MODELING...
23.956522
71
0.696915
heesok2
7470d8787f2dbf9e415bf81c61f5cea51503f4a0
144
cpp
C++
code/engine/xrGame/xrServer_Disconnect.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
58
2016-11-20T19:14:35.000Z
2021-12-27T21:03:35.000Z
code/engine/xrGame/xrServer_Disconnect.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
59
2016-09-10T10:44:20.000Z
2018-09-03T19:07:30.000Z
code/engine/xrGame/xrServer_Disconnect.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
39
2017-02-05T13:35:37.000Z
2022-03-14T11:00:12.000Z
#include "stdafx.h" #include "xrServer.h" void xrServer::Disconnect() { IPureServer::Disconnect(); SLS_Clear(); xr_delete(game); }
16
30
0.659722
InNoHurryToCode
74781fea7870bc6d37afb75823d0cc39548b8caf
8,877
hpp
C++
src/rdf4cpp/rdf/storage/node/INodeStorageBackend.hpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
null
null
null
src/rdf4cpp/rdf/storage/node/INodeStorageBackend.hpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
null
null
null
src/rdf4cpp/rdf/storage/node/INodeStorageBackend.hpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
null
null
null
#ifndef RDF4CPP_INODESTORAGEBACKEND_HPP #define RDF4CPP_INODESTORAGEBACKEND_HPP #include <rdf4cpp/rdf/storage/node/identifier/NodeID.hpp> #include <rdf4cpp/rdf/storage/node/identifier/NodeStorageID.hpp> #include <rdf4cpp/rdf/storage/node/view/BNodeBackendView.hpp> #include <rdf4cpp/rdf/storage/node/view/IRIBackendView...
47.725806
181
0.72119
kaimal11
7478f7e09faaec77557e080949a680c6a7e0b6ac
738
cpp
C++
8_myAtoi.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
8_myAtoi.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
8_myAtoi.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
class Solution { public: int myAtoi(string str) { // check empty if (str.empty()) return 0; // discard leading spaces auto it = str.begin(); while (it != str.end() && isspace(*it)) ++it; // sign int sign = 1; if (it == str.end()) { return 0; } else if (*it == '+'...
18.923077
45
0.445799
imxiaobo
7484c2c49ab8ae037612bc7b05e354b51ea44105
8,372
cpp
C++
src/gui/color.cpp
ShigotoShoujin/shigoto.shoujin
165bac0703ffdec544ab275af25dd3504529a565
[ "MIT" ]
1
2021-10-31T04:29:16.000Z
2021-10-31T04:29:16.000Z
src/gui/color.cpp
ShigotoShoujin/shigoto.shoujin
165bac0703ffdec544ab275af25dd3504529a565
[ "MIT" ]
null
null
null
src/gui/color.cpp
ShigotoShoujin/shigoto.shoujin
165bac0703ffdec544ab275af25dd3504529a565
[ "MIT" ]
null
null
null
#include "color.hpp" #include <algorithm> #include <cmath> #ifdef min #undef min #endif #ifdef max #undef max #endif using namespace shoujin::gui; static ColorFloatHSL ToHSL(ColorFloatRGB const& rgb); static ColorFloatHSL ToHSL(ColorFloatHSV const& hsv); static ColorFloatHSV ToHSV(ColorFloatRGB const& rgb); static ...
24.479532
132
0.675705
ShigotoShoujin
7485209586b60f44300999607b64f36068491bb3
6,361
hpp
C++
parse_log/interpolator.hpp
DannyHavenith/RunFileParser
8f5dea4d8f9d86ac1b9309109256777ef0370b18
[ "BSL-1.0" ]
null
null
null
parse_log/interpolator.hpp
DannyHavenith/RunFileParser
8f5dea4d8f9d86ac1b9309109256777ef0370b18
[ "BSL-1.0" ]
null
null
null
parse_log/interpolator.hpp
DannyHavenith/RunFileParser
8f5dea4d8f9d86ac1b9309109256777ef0370b18
[ "BSL-1.0" ]
null
null
null
// // Copyright (C) 2021 Danny Havenith // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef PARSE_LOG_INTERPOLATOR_HPP_ #define PARSE_LOG_INTERPOLATOR_HPP_ #include "messages.hpp" #include "bytes_to...
28.271111
158
0.60588
DannyHavenith
748b15ea0e9b6fbebab5ae0098246bc7e2bf9752
223
hpp
C++
include/Dot/DotEvent.hpp
bharatph/Dot
9fb2c873d588246408a6eaab00459da0c750d949
[ "MIT" ]
null
null
null
include/Dot/DotEvent.hpp
bharatph/Dot
9fb2c873d588246408a6eaab00459da0c750d949
[ "MIT" ]
null
null
null
include/Dot/DotEvent.hpp
bharatph/Dot
9fb2c873d588246408a6eaab00459da0c750d949
[ "MIT" ]
null
null
null
#ifndef _DOT_EVENT_H #define _DOT_EVENT_H namespace dot { //Dot level event enum class DotEvent { INITIALIZED, TIMEOUT, CONNECT, CONNECTED, RESUME, PAUSE, DISCONNECT, DISCONNECTED, FAILED }; } #endif
11.736842
20
0.699552
bharatph
74906345b90a71be217fe6061d3e17175589c62d
4,563
cpp
C++
core/src/Rendering/RenderGraph/Passes/ScreenPass.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
36
2015-03-12T10:42:36.000Z
2022-01-12T04:20:40.000Z
core/src/Rendering/RenderGraph/Passes/ScreenPass.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
1
2015-12-17T00:25:43.000Z
2016-02-20T12:00:57.000Z
core/src/Rendering/RenderGraph/Passes/ScreenPass.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
6
2017-06-17T07:57:53.000Z
2019-04-09T21:11:24.000Z
/* * Copyright (c) 2002-present, H. Hernán Saez * 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 ...
38.669492
152
0.739645
hhsaez
74934d1875fbad9330c102ec27b59dadedb25d36
10,743
cpp
C++
Lab 2.1 - Projection Matrix/Lab 2.1 - Projection Matrix/Lab 2.1 - Projection Matrix.cpp
MjolnirValum/EYE
ee0d23502e7b9f1cd6d6c26a3a9a998cb1967d17
[ "MIT" ]
null
null
null
Lab 2.1 - Projection Matrix/Lab 2.1 - Projection Matrix/Lab 2.1 - Projection Matrix.cpp
MjolnirValum/EYE
ee0d23502e7b9f1cd6d6c26a3a9a998cb1967d17
[ "MIT" ]
1
2020-02-21T19:30:36.000Z
2020-02-21T19:30:36.000Z
Lab 2.1 - Projection Matrix/Lab 2.1 - Projection Matrix/Lab 2.1 - Projection Matrix.cpp
MjolnirValum/EYE
ee0d23502e7b9f1cd6d6c26a3a9a998cb1967d17
[ "MIT" ]
null
null
null
// Lab 2.1 - Projection Matrix.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <GL\glew.h> #include <GL\freeglut.h> #include <iostream> #define GL_SILENCE_DEPRECATION #include <gl/glut.h> ////////////////The following are used for "display12()" and the...
23.354348
200
0.593689
MjolnirValum
74937d0942d8bd87680837837c2b1b6589227f63
9,079
cpp
C++
src/bindings/arken/net/smtp/smtp.cpp
charonplatform/charonplatform
ba5f711b2f8a8da760ccb71925d21a53f3255817
[ "BSD-3-Clause" ]
1
2018-01-26T14:54:27.000Z
2018-01-26T14:54:27.000Z
src/bindings/arken/net/smtp/smtp.cpp
arken-dev/arken
ba5f711b2f8a8da760ccb71925d21a53f3255817
[ "BSD-3-Clause" ]
null
null
null
src/bindings/arken/net/smtp/smtp.cpp
arken-dev/arken
ba5f711b2f8a8da760ccb71925d21a53f3255817
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Arken Platform Authors. // All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <lua/lua.hpp> #include <arken/net/smtp.h> using arken::net::SMTP; /** * checkSMTP */ SMTP * checkSMTP( lua_State *L ) { return *(...
24.873973
61
0.682784
charonplatform
749f618be3be1052938497b0191001ef6b2c1fdd
3,669
cpp
C++
Microsoft.WindowsAzure.Storage/tests/storage_exception_test.cpp
ShippyMSFT/azure-storage-cpp
ee3a3f7db31a39ed5041fe1cb947c784ce64295b
[ "Apache-2.0" ]
137
2015-01-06T09:12:04.000Z
2022-02-08T06:07:02.000Z
Microsoft.WindowsAzure.Storage/tests/storage_exception_test.cpp
ShippyMSFT/azure-storage-cpp
ee3a3f7db31a39ed5041fe1cb947c784ce64295b
[ "Apache-2.0" ]
313
2015-01-07T05:43:27.000Z
2022-03-23T11:06:21.000Z
Microsoft.WindowsAzure.Storage/tests/storage_exception_test.cpp
ShippyMSFT/azure-storage-cpp
ee3a3f7db31a39ed5041fe1cb947c784ce64295b
[ "Apache-2.0" ]
159
2015-01-19T13:37:58.000Z
2021-12-25T18:03:19.000Z
// ----------------------------------------------------------------------------------------- // <copyright file="storage_exeption_test.cpp" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in c...
39.451613
103
0.618425
ShippyMSFT
74a3bd5210fb9c80a79912c773f5196ba13c0c8d
464
cpp
C++
pblib/encoder/Encoder.cpp
MingweiSamuel/pblib
ec7b692d9927068fd12506f0938e66915d7bcee9
[ "MIT" ]
9
2019-03-02T07:23:56.000Z
2021-11-27T13:30:36.000Z
pblib/encoder/Encoder.cpp
MingweiSamuel/pblib
ec7b692d9927068fd12506f0938e66915d7bcee9
[ "MIT" ]
2
2018-05-18T08:56:21.000Z
2021-06-23T07:01:15.000Z
pblib/encoder/Encoder.cpp
MingweiSamuel/pblib
ec7b692d9927068fd12506f0938e66915d7bcee9
[ "MIT" ]
2
2020-08-16T10:54:43.000Z
2021-07-21T19:18:17.000Z
#include "Encoder.h" int64_t Encoder::valueFunction(int64_t number_of_clauses, int64_t) { return number_of_clauses; } void Encoder::encode(const std::shared_ptr<IncSimplePBConstraint>&, ClauseDatabase&, AuxVarManager&) { assert(false && "Incremental encoding is not implemented in this encoder"); } int64_t Enc...
21.090909
100
0.756466
MingweiSamuel
74a7b092299d3927c638a5108c9cc60da67ff3f0
1,210
cpp
C++
lxdrv/lxdrv.cpp
ionescu007/lxss
6a3040fadff5ce43d7bfd638a4e5d7dfe8780143
[ "MIT" ]
892
2016-08-05T17:43:34.000Z
2022-02-28T17:49:11.000Z
lxdrv/lxdrv.cpp
ionescu007/lxss
6a3040fadff5ce43d7bfd638a4e5d7dfe8780143
[ "MIT" ]
16
2016-08-06T00:13:45.000Z
2019-04-28T06:13:27.000Z
lxdrv/lxdrv.cpp
ionescu007/lxss
6a3040fadff5ce43d7bfd638a4e5d7dfe8780143
[ "MIT" ]
104
2016-08-05T21:07:33.000Z
2022-01-16T23:43:37.000Z
#include "precomp.h" EXTERN_C DRIVER_INITIALIZE DriverEntry; EXTERN_C DRIVER_UNLOAD DriverUnload; VFS_MOUNT_NAMESPACE_INITIALIZE_CALLBACK LxDrvMountInitialize; NTSTATUS LxDrvGetRoutines ( VOID ); VOID DriverUnload ( _In_ PDRIVER_OBJECT DriverObject ) { // // Nothing to do // UNREFERENCED_...
19.206349
73
0.68843
ionescu007