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
12b4b04a1335ec6c0c933a69d8c6e70a022cc609
885
cpp
C++
Gpu_Rvd/header/basic/string.cpp
stormHan/gpu_rvd
4029bfa604117c723c712445b42842b4aa499db2
[ "MIT" ]
null
null
null
Gpu_Rvd/header/basic/string.cpp
stormHan/gpu_rvd
4029bfa604117c723c712445b42842b4aa499db2
[ "MIT" ]
null
null
null
Gpu_Rvd/header/basic/string.cpp
stormHan/gpu_rvd
4029bfa604117c723c712445b42842b4aa499db2
[ "MIT" ]
null
null
null
/** * \file header/basic/string.cpp */ #include <basic\string.h> namespace Gpu_Rvd{ /** * \brief Builds the conversion error message * \param[in] s the input string that could not be converted * \param[in] type the expected destination type * \return a string that contains the error message */ std::string c...
20.581395
72
0.611299
stormHan
12b4f3d137e79b2008ca8790d710cdde43d5a806
727
hpp
C++
libs/core/include/fcppt/cast/detail/promote_int_type.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/cast/detail/promote_int_type.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/cast/detail/promote_int_type.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_CAST_DETAIL_PROMOTE_INT_TYPE_HPP_INCLUDED #define FCPPT_CAST_DETAIL_PROMOTE_INT_TYPE...
15.145833
61
0.719395
pmiddend
12b8bece8c86682e30b16ae8d9836da79238b40b
12,915
cc
C++
src/occ_action.cc
dhatch/multiversioning
7b089437978fbe6e52fe54ad98d83ce50882064c
[ "MIT" ]
null
null
null
src/occ_action.cc
dhatch/multiversioning
7b089437978fbe6e52fe54ad98d83ce50882064c
[ "MIT" ]
null
null
null
src/occ_action.cc
dhatch/multiversioning
7b089437978fbe6e52fe54ad98d83ce50882064c
[ "MIT" ]
null
null
null
#include <occ_action.h> #include <algorithm> #include <occ.h> static bool try_acquire_single(volatile uint64_t *lock_ptr) { volatile uint64_t cmp_tid, locked_tid; barrier(); cmp_tid = *lock_ptr; barrier(); if (IS_LOCKED(cmp_tid)) return false; lo...
31.120482
85
0.513666
dhatch
12b908589d2e3dcebd2f852a9d924bb31032ab16
1,012
cpp
C++
src/rtl/HeadlightColor.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
2
2021-02-13T14:18:39.000Z
2021-11-04T07:21:21.000Z
src/rtl/HeadlightColor.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
null
null
null
src/rtl/HeadlightColor.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
null
null
null
#include <rtl/HeadlightColor.h> namespace rtl { void HeadlightColor::init() { _ambient.set( 0.1f, 0.1f, 0.1f ); _diffuse.set( 1.0f, 1.0f, 1.0f ); } void HeadlightColor::shade( rts::RTstate& state ) { const rtu::float3& normal = rtsComputeShadingNormal( state ); //rtu::float3 normal; rtsComputeFlatNormal( state, ...
30.666667
83
0.661067
potato3d
12b97b19d443e890e387ca55c5d4217415d0e7d2
13,109
cpp
C++
userprog/clientprog.cpp
jonathanmeisel/C-LINK
6827c82143fa9ccd95cc8ae97f78d9f36058a451
[ "Apache-1.1" ]
null
null
null
userprog/clientprog.cpp
jonathanmeisel/C-LINK
6827c82143fa9ccd95cc8ae97f78d9f36058a451
[ "Apache-1.1" ]
null
null
null
userprog/clientprog.cpp
jonathanmeisel/C-LINK
6827c82143fa9ccd95cc8ae97f78d9f36058a451
[ "Apache-1.1" ]
null
null
null
/** clientprog.cpp -- This is the program used by the USER to request a page */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <netdb.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <arpa/inet.h> #include <sys/wait.h> #inclu...
27.773305
218
0.626745
jonathanmeisel
12b9dc8b59a872157c878cb260fa4e74a3c71531
3,120
cpp
C++
osquery/tables/networking/freebsd/process_open_sockets.cpp
justintime32/osquery
721dd1ed624b25738c2471dae617d7868df8fb0d
[ "BSD-3-Clause" ]
23
2016-12-07T15:26:58.000Z
2019-07-18T21:39:06.000Z
osquery/tables/networking/freebsd/process_open_sockets.cpp
justintime32/osquery
721dd1ed624b25738c2471dae617d7868df8fb0d
[ "BSD-3-Clause" ]
4
2016-12-07T06:18:36.000Z
2017-01-19T19:39:38.000Z
osquery/tables/networking/freebsd/process_open_sockets.cpp
Acidburn0zzz/osquery
1cedf8d57310b4ac3ae0a39fe33dce00699f4a3b
[ "BSD-3-Clause" ]
5
2017-06-26T11:54:37.000Z
2019-02-18T01:23:02.000Z
/* * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
25.785124
79
0.651603
justintime32
520d63ac5a9f0ad6cf20aa36965bdc7667a1d450
591
cxx
C++
src/ase/ase_clipper.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
1
2021-05-31T21:09:50.000Z
2021-05-31T21:09:50.000Z
src/ase/ase_clipper.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
null
null
null
src/ase/ase_clipper.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
null
null
null
/* Analog sound emulation library Copyright (c) 2004 Alessandro Scotti */ #include "ase_clipper.h" AClipperLo::AClipperLo( AChannel & source, AFloat lo ) : AFilter( source ) { lo_ = lo; } void AClipperLo::updateBuffer( AFloat * buf, unsigned len, unsigned ofs ) { source().updateTo(...
16.885714
74
0.475465
ascottix
52102183aa06b2d9536db606b5a190c9c907d955
7,608
cpp
C++
src/Modules/Perception/Ball/BallDetector.cpp
pedrohsreis/Mari
ef0e0f3ffbecdeb49e8238df9795f4a07b84ad8b
[ "MIT" ]
null
null
null
src/Modules/Perception/Ball/BallDetector.cpp
pedrohsreis/Mari
ef0e0f3ffbecdeb49e8238df9795f4a07b84ad8b
[ "MIT" ]
null
null
null
src/Modules/Perception/Ball/BallDetector.cpp
pedrohsreis/Mari
ef0e0f3ffbecdeb49e8238df9795f4a07b84ad8b
[ "MIT" ]
null
null
null
#include "Core/Utils/Math.h" #include "BallDetector.h" #include "Core/InitManager.h" #include "Core/Utils/RobotDefs.h" #include "Core/Utils/RelativeCoord.h" #include "Core/Utils/CombinedCamera.hpp" #include "perception/vision/CameraToRR.hpp" #include "perception/vision/WhichCamera.hpp" #define R 2.0f #define PI_2 1.5...
34.116592
202
0.609227
pedrohsreis
5217fc0a461cc8563efffd81a3cf645cc05193df
7,461
cpp
C++
src/Visuals/UI/ui-renderer.cpp
LazyFalcon/GameConcept-v1
e0259d683bb711921d068924de1aa1c30c00db4d
[ "MIT" ]
null
null
null
src/Visuals/UI/ui-renderer.cpp
LazyFalcon/GameConcept-v1
e0259d683bb711921d068924de1aa1c30c00db4d
[ "MIT" ]
null
null
null
src/Visuals/UI/ui-renderer.cpp
LazyFalcon/GameConcept-v1
e0259d683bb711921d068924de1aa1c30c00db4d
[ "MIT" ]
null
null
null
#include "core.hpp" #include "ui-renderer.hpp" #include "ui-rendered.hpp" #include "ui-text.hpp" #include "Context.hpp" #include "Assets.hpp" #include "PerfTimers.hpp" void UIRender::blurBackgroundCumulative(RenderedUIItems&){} void UIRender::blurBackgroundEven(RenderedUIItems& ui){ auto& polygons = ui.get<Render...
36.395122
138
0.690256
LazyFalcon
521aa5d945355020eebcbaa89883df77510346fb
15,542
hh
C++
dune/xt/common/print.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
2
2020-02-08T04:08:52.000Z
2020-08-01T18:54:14.000Z
dune/xt/common/print.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
35
2019-08-19T12:06:35.000Z
2020-03-27T08:20:39.000Z
dune/xt/common/print.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:34.000Z
2020-02-08T04:09:34.000Z
// This file is part of the dune-xt project: // https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt // Copyright 2009-2021 dune-xt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (h...
29.94605
119
0.630807
dune-community
521b87da1c5f8f186bc130458d9f0fc7d9fbfe31
3,060
cpp
C++
app/dtkComposerEvaluator/main.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
null
null
null
app/dtkComposerEvaluator/main.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
null
null
null
app/dtkComposerEvaluator/main.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
null
null
null
/* main.cpp --- * * Author: Nicolas Niclausse * Copyright (C) 2014 - Nicolas Niclausse, Inria. * Created: 2014/10/28 12:45:34 */ /* Commentary: * */ /* Change log: * */ #include <dtkDistributed> #include <dtkComposer> #include <QtConcurrent> int main(int argc, char **argv) { bool useGUI = false; ...
25.714286
99
0.64183
eti-nne
5221453cc5dbbdcbea3d00ee268373a987dfb23a
2,437
cpp
C++
DemoGame/Game/Source/SceneGameplay.cpp
Omicrxn/Automated-Builds-CI-CD
5a3729854dc2716407939e831079737e45f5690a
[ "MIT" ]
null
null
null
DemoGame/Game/Source/SceneGameplay.cpp
Omicrxn/Automated-Builds-CI-CD
5a3729854dc2716407939e831079737e45f5690a
[ "MIT" ]
null
null
null
DemoGame/Game/Source/SceneGameplay.cpp
Omicrxn/Automated-Builds-CI-CD
5a3729854dc2716407939e831079737e45f5690a
[ "MIT" ]
1
2021-04-18T06:49:36.000Z
2021-04-18T06:49:36.000Z
#include "SceneGameplay.h" #include "EntityManager.h" SceneGameplay::SceneGameplay() { } SceneGameplay::~SceneGameplay() {} bool SceneGameplay::Load(Textures* tex) /*EntityManager entityManager)*/ { map = new Map(tex); // L03: DONE: Load map // L12b: Create walkability map on map loading if (map->Load("platfor...
23.892157
97
0.679524
Omicrxn
522542f7607697d44e8b4d06978ea4968f4ad04f
1,210
hpp
C++
iOS/G3MApp/G3MApp/G3MRasterLayersDemoScene.hpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MApp/G3MApp/G3MRasterLayersDemoScene.hpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MApp/G3MApp/G3MRasterLayersDemoScene.hpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
// // G3MRasterLayersDemoScene.hpp // G3MApp // // Created by Diego Gomez Deck on 11/16/13. // Copyright (c) 2013 Igo Software SL. All rights reserved. // #ifndef __G3MApp__G3MRasterLayersDemoScene__ #define __G3MApp__G3MRasterLayersDemoScene__ #include "G3MDemoScene.hpp" class LayerSet; class G3MRasterLayersDe...
23.269231
60
0.712397
AeroGlass
522a8eeab0250a935c469b984cfd878ef256e6a6
14,589
cpp
C++
src/pir_server.cpp
sga001/SealPIR
12f6c0ff34ed3e4da47072544efb0b44bb745e4b
[ "MIT" ]
20
2018-06-03T00:15:23.000Z
2019-04-11T19:37:04.000Z
src/pir_server.cpp
sga001/SealPIR
12f6c0ff34ed3e4da47072544efb0b44bb745e4b
[ "MIT" ]
3
2018-06-02T17:55:40.000Z
2019-02-18T00:48:51.000Z
src/pir_server.cpp
sga001/SealPIR
12f6c0ff34ed3e4da47072544efb0b44bb745e4b
[ "MIT" ]
9
2018-06-02T16:40:39.000Z
2019-04-11T19:37:15.000Z
#include "pir_server.hpp" #include "pir_client.hpp" using namespace std; using namespace seal; using namespace seal::util; PIRServer::PIRServer(const EncryptionParameters &enc_params, const PirParams &pir_params) : enc_params_(enc_params), pir_params_(pir_params), is_db_preprocessed_(fa...
32.93228
80
0.61327
sga001
5232ad5c29704ebca92667e1e6bb0dbdcbe0c910
387
cpp
C++
UnderstandingCpp11/src/attribute.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
15
2015-11-04T12:53:23.000Z
2021-08-10T09:53:12.000Z
UnderstandingCpp11/src/attribute.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
null
null
null
UnderstandingCpp11/src/attribute.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
6
2015-11-13T10:17:01.000Z
2020-05-14T07:25:48.000Z
#include "attribute.h" NS_BEGIN( elloop ) NS_BEGIN( attribute ) #ifdef _MSC_VER #else [[noreturn]]void throwAway() { throw "away"; } #endif void foo() { pln( "in foo" ); #ifdef _MSC_VER pln( "vc don't work" ); #else throwAway(); #endif pln( "can't reach here" ); } BEGIN_TEST( Attribute, NoRetur...
12.483871
36
0.620155
elloop
523378bc2a37c013b5db7100a660f50eaeb27c69
4,204
cc
C++
src/nqsok/shader.cc
CaffeineViking/nqsok
1f4c7c2b7e7e907facd794b3267f07a2e01f6f87
[ "MIT" ]
1
2019-06-18T07:17:51.000Z
2019-06-18T07:17:51.000Z
src/nqsok/shader.cc
CaffeineViking/nqsok
1f4c7c2b7e7e907facd794b3267f07a2e01f6f87
[ "MIT" ]
null
null
null
src/nqsok/shader.cc
CaffeineViking/nqsok
1f4c7c2b7e7e907facd794b3267f07a2e01f6f87
[ "MIT" ]
null
null
null
#include "shader.hh" #include <fstream> #include <iterator> #include <iostream> nq::Shader::Shader(const std::string& vertex_shader_path, const std::string& fragment_shader_path) : vertex_shader_file {vertex_shader_path}, fragment_shader_file {fragment_shader...
39.660377
110
0.692198
CaffeineViking
52375bbdc645b1069e4b8bd88e36aa3e209e0936
3,108
cpp
C++
Final/midtermtwo_ec602/midtermtwo_template.cpp
chenchuw/EC602-Design-by-Software
c233c9d08a67abc47235282fedd866d67ccaf4ce
[ "MIT" ]
null
null
null
Final/midtermtwo_ec602/midtermtwo_template.cpp
chenchuw/EC602-Design-by-Software
c233c9d08a67abc47235282fedd866d67ccaf4ce
[ "MIT" ]
null
null
null
Final/midtermtwo_ec602/midtermtwo_template.cpp
chenchuw/EC602-Design-by-Software
c233c9d08a67abc47235282fedd866d67ccaf4ce
[ "MIT" ]
1
2022-01-11T20:23:47.000Z
2022-01-11T20:23:47.000Z
// Copyright 2020 jbc@bu.edu // // RULES: // - brackets are allowed // - iostream, string, vector can be included, nothing else. // - your program should compile as submitted (main() must be here) // - astyle and cpplint will not be used, but I // may read and evaluate your code as part of the grade // you m...
21.287671
74
0.664414
chenchuw
523cac6c288c324561ff5e9fcc0526802ea366e5
20
cpp
C++
src/ChessDotCpp/magics.cpp
GediminasMasaitis/chess-dot-cpp
60995f235387efc5acc03d46c8245960efef3e81
[ "MIT" ]
null
null
null
src/ChessDotCpp/magics.cpp
GediminasMasaitis/chess-dot-cpp
60995f235387efc5acc03d46c8245960efef3e81
[ "MIT" ]
null
null
null
src/ChessDotCpp/magics.cpp
GediminasMasaitis/chess-dot-cpp
60995f235387efc5acc03d46c8245960efef3e81
[ "MIT" ]
1
2021-05-01T11:57:03.000Z
2021-05-01T11:57:03.000Z
#include "magics.h"
10
19
0.7
GediminasMasaitis
523fb81608e17d6ae17fa1e8c5c736998cac79f2
1,725
cpp
C++
xlib/IMC.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
1
2022-01-02T16:10:26.000Z
2022-01-02T16:10:26.000Z
xlib/IMC.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
null
null
null
xlib/IMC.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
null
null
null
/* * Copyright 2021, Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT license. */ extern "C" { #include <X11/Xlib.h> } extern "C" XIM XOpenIM(Display* dpy, struct _XrmHashBucketRec* rdb, char* res_name, char* res_class) { // Unimplemented. return NULL; } extern "C" Display* XDisplayOfI...
13.476563
85
0.703768
X547
52464adb612d01ee4c2c465782e6bc01b394670d
1,704
cpp
C++
ContinuumEngine3D/Engine/Renderer/GameObject/AnimatedObject/ColladaParser/xmlParser/XmlNode.cpp
Arieandel/ContinuumEngine
46688dd99195dd88ab15a4ffe0532ac03bc8e373
[ "MIT" ]
null
null
null
ContinuumEngine3D/Engine/Renderer/GameObject/AnimatedObject/ColladaParser/xmlParser/XmlNode.cpp
Arieandel/ContinuumEngine
46688dd99195dd88ab15a4ffe0532ac03bc8e373
[ "MIT" ]
null
null
null
ContinuumEngine3D/Engine/Renderer/GameObject/AnimatedObject/ColladaParser/xmlParser/XmlNode.cpp
Arieandel/ContinuumEngine
46688dd99195dd88ab15a4ffe0532ac03bc8e373
[ "MIT" ]
null
null
null
#include "XmlNode.h" XmlNode::XmlNode() { name = ""; } XmlNode::XmlNode(std::string name_) { name = name_; } XmlNode::~XmlNode() { } std::string XmlNode::getName() { return name; } std::string XmlNode::getData() { return data; } std::string XmlNode::getAttribute(std::string attr_) { if (!attributes.emp...
17.212121
104
0.653169
Arieandel
524da28f97bd0038dddb8e9f371aa4e38ade3ace
2,443
cpp
C++
src/dxapi/native/tickdb/http/xml/stream/bg_proc_info_impl.cpp
noop-dev/TimeBaseClientCpp
3cbbee85f2a8f1f38a31fc14a993fceb05d650f1
[ "Apache-2.0" ]
null
null
null
src/dxapi/native/tickdb/http/xml/stream/bg_proc_info_impl.cpp
noop-dev/TimeBaseClientCpp
3cbbee85f2a8f1f38a31fc14a993fceb05d650f1
[ "Apache-2.0" ]
null
null
null
src/dxapi/native/tickdb/http/xml/stream/bg_proc_info_impl.cpp
noop-dev/TimeBaseClientCpp
3cbbee85f2a8f1f38a31fc14a993fceb05d650f1
[ "Apache-2.0" ]
2
2021-05-14T09:39:50.000Z
2022-03-24T23:42:41.000Z
/* * Copyright 2021 EPAM Systems, Inc * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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 Li...
24.928571
112
0.644699
noop-dev
524df9a9b6feb96c6ba2545faf06f5a9dc640142
1,319
cpp
C++
third-party/Empirical/demos/utils/words/annotate-length.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/demos/utils/words/annotate-length.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/demos/utils/words/annotate-length.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
// This file is part of Empirical, https://github.com/devosoft/Empirical // Copyright (C) Michigan State University, 2019. // Released under the MIT Software license; see doc/LICENSE // // // Annotate all of the words in an input list with their length. #include <iostream> #include <set> #include "../../../includ...
25.365385
93
0.605004
koellingh
5250f4e7e6e4500c4a43304eaafd781891e4b908
576
hpp
C++
include/RED4ext/Scripting/Natives/Generated/game/ui/QuadRacerSprite.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/game/ui/QuadRacerSprite.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/game/ui/QuadRacerSprite.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/game/ui/SideScrollerMiniGameDynObjectLogic.hpp> namespace RED4ext { namespace game::ui { struct QuadRacerSprite : game::ui::SideScrollerMiniGameDynObj...
26.181818
93
0.762153
WSSDude420
5251249a8c53c1cfc638d6aa2a2032bbd25fd8dd
2,267
cpp
C++
src/systems/MenuSystem.cpp
TransNeptunianStudios/Triangulum
7fa5e1948f1085e8d7122dd57ddd7f2efeb2739e
[ "MIT" ]
32
2015-02-09T11:30:51.000Z
2022-02-02T11:29:49.000Z
src/systems/MenuSystem.cpp
TransNeptunianStudios/Triangulum
7fa5e1948f1085e8d7122dd57ddd7f2efeb2739e
[ "MIT" ]
null
null
null
src/systems/MenuSystem.cpp
TransNeptunianStudios/Triangulum
7fa5e1948f1085e8d7122dd57ddd7f2efeb2739e
[ "MIT" ]
7
2016-04-16T11:02:12.000Z
2020-04-10T04:52:45.000Z
#include "systems/MenuSystem.h" #include "systems/Events.h" #include "components/Menu.h" #include "KeyHandler.h" using namespace entityx; MenuSystem::MenuSystem(EntityManager& entities, EventManager& eventManager, sf::RenderWindow& window) : m_entitiyManager(entities) , ...
30.226667
73
0.636524
TransNeptunianStudios
525633c74f1aef0969d102a80b347f804a5ea670
11,445
hpp
C++
Include/SA/Maths/Transform/Transform.hpp
SapphireSuite/Maths
df193e3d8fc5cd127626f2f1e2b0bd14cd6cb4eb
[ "MIT" ]
null
null
null
Include/SA/Maths/Transform/Transform.hpp
SapphireSuite/Maths
df193e3d8fc5cd127626f2f1e2b0bd14cd6cb4eb
[ "MIT" ]
1
2022-02-08T18:22:21.000Z
2022-02-08T18:22:21.000Z
Include/SA/Maths/Transform/Transform.hpp
SapphireSuite/Maths
df193e3d8fc5cd127626f2f1e2b0bd14cd6cb4eb
[ "MIT" ]
null
null
null
// Copyright (c) 2022 Sapphire Development Team. All Rights Reserved. #pragma once #ifndef SAPPHIRE_MATHS_TRANSFORM_GUARD #define SAPPHIRE_MATHS_TRANSFORM_GUARD #include <SA/Maths/Debug.hpp> #include <SA/Maths/Transform/Functors/TransformTRSMatrixFunctor.hpp> #include <SA/Maths/Transform/Functors/TransformRotateAxi...
24.196617
114
0.694976
SapphireSuite
525688826eb5492aa75836c31cb7d7c06ecaa3a6
1,481
hpp
C++
base/Aabb.hpp
sydneyzh/cluster_forward_demo_vk
0a9d7cb24f6cff49fcf0f7b1e7da38142ee412cb
[ "MIT" ]
47
2017-12-11T17:55:39.000Z
2022-02-18T12:55:41.000Z
base/Aabb.hpp
sydneyzh/cluster_forward_demo_vk
0a9d7cb24f6cff49fcf0f7b1e7da38142ee412cb
[ "MIT" ]
null
null
null
base/Aabb.hpp
sydneyzh/cluster_forward_demo_vk
0a9d7cb24f6cff49fcf0f7b1e7da38142ee412cb
[ "MIT" ]
5
2018-02-04T20:37:55.000Z
2021-08-16T02:32:03.000Z
#pragma once #include <glm/glm.hpp> namespace base { class Aabb { public: glm::vec3 min; glm::vec3 max; Aabb(const glm::vec3& min, const glm::vec3& max) :min(min), max(max) {} Aabb(const glm::vec3& position, const float radius) { min=position - radius; max=position + r...
19.233766
58
0.533423
sydneyzh
525cbce9aaceba6cbe0aa1fa5b24435746a73e75
5,125
cpp
C++
Super Monaco GP/ModuleAbout.cpp
gerardpf2/SuperMonacoGP
dbb46ffff701e9781d7975586a82ea8c56f8dd9f
[ "MIT" ]
null
null
null
Super Monaco GP/ModuleAbout.cpp
gerardpf2/SuperMonacoGP
dbb46ffff701e9781d7975586a82ea8c56f8dd9f
[ "MIT" ]
null
null
null
Super Monaco GP/ModuleAbout.cpp
gerardpf2/SuperMonacoGP
dbb46ffff701e9781d7975586a82ea8c56f8dd9f
[ "MIT" ]
null
null
null
#include "ModuleAbout.h" #include <assert.h> #include "Globals.h" #include "Animation.h" #include "ModuleFont.h" #include "ModuleInput.h" #include "ModuleSwitch.h" #include "ModuleAboutUI.h" #include "ModuleRenderer.h" #include "ModuleAnimation.h" ModuleAbout::ModuleAbout(GameEngine* gameEngine) : Module(gameEngine)...
35.590278
203
0.770732
gerardpf2
525cc8d1cb1e7e78996c640594faa44583ab1158
815
cpp
C++
editorqgadget.cpp
cbcalves/qgadgetEditor
f0d2be22f930f6d103d398b6f4ea1da234266c1f
[ "Apache-2.0" ]
null
null
null
editorqgadget.cpp
cbcalves/qgadgetEditor
f0d2be22f930f6d103d398b6f4ea1da234266c1f
[ "Apache-2.0" ]
null
null
null
editorqgadget.cpp
cbcalves/qgadgetEditor
f0d2be22f930f6d103d398b6f4ea1da234266c1f
[ "Apache-2.0" ]
null
null
null
#include "editorqgadget.h" #include <QFrame> #include <QVBoxLayout> #include <QEventLoop> #include <QCloseEvent> #include "elements/qgadgetfactory.h" EditorQGadget::EditorQGadget(const QString &tipo, void *qGadget, QWidget *parent) : QWidget(parent) { setWindowTitle(QStringLiteral("EditorQGadget [%0]").arg(t...
22.638889
84
0.71411
cbcalves
526188d3b4a68e49a4c22933ef7d1d78d233e572
5,376
cpp
C++
tests/testConfigHandler.cpp
semper24/HTTP-Server
1cb238385634ca17a5ee242d17e7d6926dc2bf21
[ "MIT" ]
null
null
null
tests/testConfigHandler.cpp
semper24/HTTP-Server
1cb238385634ca17a5ee242d17e7d6926dc2bf21
[ "MIT" ]
null
null
null
tests/testConfigHandler.cpp
semper24/HTTP-Server
1cb238385634ca17a5ee242d17e7d6926dc2bf21
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** B-YEP-500-NAN-5-1-zia-arthur.bertaud ** File description: ** testConfigHandler.cpp */ #include <criterion/criterion.h> #include <criterion/redirect.h> #include "configHandler.hpp" #include "pathHandler.hpp" #include "Error.hpp" #include <iostream> #include <cstdlib> #include <filesystem>...
27.428571
102
0.499256
semper24
5264e92df9a2b1572c343a6fb120db98dc17efd2
8,852
hpp
C++
lib/ml/regression.hpp
OwenDeng1993/Husky
61ba0e8fc2a0ab025e89307de07a1c6833227857
[ "Apache-2.0" ]
117
2016-08-31T04:05:08.000Z
2021-12-18T15:05:38.000Z
lib/ml/regression.hpp
OwenDeng1993/Husky
61ba0e8fc2a0ab025e89307de07a1c6833227857
[ "Apache-2.0" ]
223
2016-09-12T05:32:44.000Z
2020-05-22T02:51:21.000Z
lib/ml/regression.hpp
OwenDeng1993/Husky
61ba0e8fc2a0ab025e89307de07a1c6833227857
[ "Apache-2.0" ]
77
2016-08-31T04:02:57.000Z
2020-04-08T09:23:46.000Z
// Copyright 2016 Husky Team // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
42.354067
120
0.600655
OwenDeng1993
527551c95ea2b09cfc78e48cc0218d797b1148b6
12,281
cpp
C++
tests/math/TestVectorN.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
tests/math/TestVectorN.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
tests/math/TestVectorN.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <cmath> #include <mcutils/math/VectorN.h> //////////////////////////////////////////////////////////////////////////////// class TestVectorN : public ::testing::Test { protected: TestVectorN() {} virtual ~TestVectorN() {} void SetUp() override {} void TearDown() ove...
21.969589
80
0.420894
marek-cel
5277c5d2ce2c1fbb355e6a94e0787df194b4cf74
166
hpp
C++
src/data-structure/MergeCompat.hpp
inexorgame-obsolete/cube2-map-importer
ad81b347e4adfcf176257fdd83d6f6163c9eb30f
[ "CC-BY-4.0" ]
3
2019-12-08T15:39:53.000Z
2020-04-22T11:31:48.000Z
src/data-structure/MergeCompat.hpp
inexorgame-obsolete/cube2-map-importer
ad81b347e4adfcf176257fdd83d6f6163c9eb30f
[ "CC-BY-4.0" ]
4
2019-11-30T00:09:17.000Z
2020-01-04T13:39:20.000Z
src/data-structure/MergeCompat.hpp
inexorgame/cube2-map-importer
ad81b347e4adfcf176257fdd83d6f6163c9eb30f
[ "CC-BY-4.0" ]
1
2021-01-14T17:27:45.000Z
2021-01-14T17:27:45.000Z
#pragma once namespace inexor { namespace cube2_map_importer { // #define ushort unsigned short // struct MergeCompat { ushort u1, u2, v1, v2; }; }; };
9.764706
30
0.650602
inexorgame-obsolete
527b0436b19b9a2803ea066b2b9e9e7c27f51cc8
1,630
hpp
C++
12.ClusteringBig/include/ClusteringBig.hpp
shunjilin/AlgorithmsSpecialization
554996a0ce131139917dd02604ce0660ad6d2c2d
[ "MIT" ]
1
2019-05-08T04:20:58.000Z
2019-05-08T04:20:58.000Z
12.ClusteringBig/include/ClusteringBig.hpp
shunjilin/AlgorithmsSpecialization
554996a0ce131139917dd02604ce0660ad6d2c2d
[ "MIT" ]
null
null
null
12.ClusteringBig/include/ClusteringBig.hpp
shunjilin/AlgorithmsSpecialization
554996a0ce131139917dd02604ce0660ad6d2c2d
[ "MIT" ]
null
null
null
#ifndef CLUSTERING_BIG_HPP #define CLUSTERING_BIG_HPP #include <vector> #include <unordered_set> #include <algorithm> #include <cmath> #include "BitstringFunctions.hpp" #include "UnionFind.hpp" namespace ClusteringBig { unsigned kValueForSpacingOfAtLeast3(const std::vector<int>& nodes, ...
36.222222
71
0.552761
shunjilin
527fa7a1293ed35a4908e39062eb9af39f6aa205
3,090
hpp
C++
plane detection/include/GLViewer.hpp
isaackay/zed-examples
5ba69c32eacdcf4a1ca6733b77d9d92297e5d24b
[ "MIT" ]
1
2019-07-01T07:58:02.000Z
2019-07-01T07:58:02.000Z
plane detection/include/GLViewer.hpp
isaackay/zed-examples
5ba69c32eacdcf4a1ca6733b77d9d92297e5d24b
[ "MIT" ]
null
null
null
plane detection/include/GLViewer.hpp
isaackay/zed-examples
5ba69c32eacdcf4a1ca6733b77d9d92297e5d24b
[ "MIT" ]
null
null
null
#ifndef __SIMPLE3DOBJECT_INCLUDE__ #define __SIMPLE3DOBJECT_INCLUDE__ #include <sl/Camera.hpp> #include <GL/glew.h> #include <GL/freeglut.h> #include <mutex> struct UserAction { bool press_space; bool hit; sl::uint2 hit_coord; void clear() { press_space = false; hit...
27.345133
117
0.647573
isaackay
5281bb4312e29c8869550e3d781559445eae7cea
3,632
cpp
C++
measure_cpp/test/src/measure_cppTest.cpp
Nobu19800/RTM-Lua-test
e3bac41085f0c287a5791bf0125430979aceeee6
[ "MIT" ]
null
null
null
measure_cpp/test/src/measure_cppTest.cpp
Nobu19800/RTM-Lua-test
e3bac41085f0c287a5791bf0125430979aceeee6
[ "MIT" ]
null
null
null
measure_cpp/test/src/measure_cppTest.cpp
Nobu19800/RTM-Lua-test
e3bac41085f0c287a5791bf0125430979aceeee6
[ "MIT" ]
null
null
null
// -*- C++ -*- /*! * @file measure_cppTest.cpp * @brief measurement of the processing time * @date $Date$ * * @author n-miyamoto@aist.go.jp * * MIT * * $Id$ */ #include "measure_cppTest.h" // Module specification // <rtc-template block="module_spec"> static const char* measure_cpp_spec[] = { "implem...
19.015707
69
0.647026
Nobu19800
5282191540e848a6fa9615fed4d08ba242b56102
1,474
cpp
C++
src/Client/EasyClient.cpp
TheQuantumPhysicist/HttpRpcRelay
810d9ed8907b4c769faa432ba7f829445b8d6f9f
[ "MIT" ]
null
null
null
src/Client/EasyClient.cpp
TheQuantumPhysicist/HttpRpcRelay
810d9ed8907b4c769faa432ba7f829445b8d6f9f
[ "MIT" ]
null
null
null
src/Client/EasyClient.cpp
TheQuantumPhysicist/HttpRpcRelay
810d9ed8907b4c769faa432ba7f829445b8d6f9f
[ "MIT" ]
null
null
null
#include "EasyClient.h" EasyClient::EasyClient() { startThreadsAndIoContext(); client = std::make_shared<ClientSession>(*ioc); } void EasyClient::run(http::verb verb, const std::string& host, const std::string& ...
33.5
76
0.506784
TheQuantumPhysicist
52821aab64f34abb37d585933bedfc26f524e390
4,010
cpp
C++
modules/preview/src/Preview/gmPreviewFboRenderer.cpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/preview/src/Preview/gmPreviewFboRenderer.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/preview/src/Preview/gmPreviewFboRenderer.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#include "gmLog.hpp" #include "gmPreviewFboRenderer.hpp" #include "gmPreviewFboOffscreenWindow.hpp" #include "gmPreviewImageViewer.hpp" #include <vtkRendererCollection.h> #include <vtkCommand.h> #include <vtkCamera.h> namespace gm { namespace Preview { FboRenderer::FboRenderer(FboOffscreenWindow *off...
38.190476
244
0.539152
GraphMIC
528f9f52d21dfb4ce7ad67f66709a6dda135db26
463
cpp
C++
526 backtrack.cpp
WhiteDOU/LeetCode
47fee5bfc74c1417a17e6bc426a356ce9864d2b2
[ "MIT" ]
1
2019-03-07T13:08:06.000Z
2019-03-07T13:08:06.000Z
526 backtrack.cpp
WhiteDOU/LeetCode
47fee5bfc74c1417a17e6bc426a356ce9864d2b2
[ "MIT" ]
null
null
null
526 backtrack.cpp
WhiteDOU/LeetCode
47fee5bfc74c1417a17e6bc426a356ce9864d2b2
[ "MIT" ]
null
null
null
class Solution { public: int countArrangement(int N) { int res = 0; vector<int> visited(N + 1, 0); helper(N, visited, 1, res); return res; } private: void helper(int N, vector<int> &visited, int pos, int &res) { if (pos > N) { res++; return; } for (int i = 1; i <= N; ++i) { if (visited...
14.030303
60
0.49676
WhiteDOU
5291fe710492274ce5328e6ae4faf73a01751447
1,233
hpp
C++
include/virt_wrap/enums/Domain/ModificationImpactFlag.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
7
2019-08-22T20:48:15.000Z
2021-12-31T16:08:59.000Z
include/virt_wrap/enums/Domain/ModificationImpactFlag.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
10
2019-08-22T21:40:43.000Z
2020-09-03T14:21:21.000Z
include/virt_wrap/enums/Domain/ModificationImpactFlag.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
2
2019-08-22T21:08:28.000Z
2019-08-23T21:31:56.000Z
#pragma once #include "virt_wrap/enums/Base.hpp" #include "virt_wrap/utility.hpp" #include <libvirt/libvirt-domain.h> namespace virt::enums::domain { class ModificationImpactFlag : private VirtEnumStorage<virDomainModificationImpact>, public VirtEnumBase<ModificationImpactFlag>, ...
41.1
107
0.705596
AeroStun
52932688758dbe915d4f7d8ea4ae62c413c83ec5
2,077
hpp
C++
source/NanairoCore/ToneMappingOperator/tone_mapping_operator.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
30
2015-09-06T03:14:29.000Z
2021-06-18T11:00:19.000Z
source/NanairoCore/ToneMappingOperator/tone_mapping_operator.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
31
2016-01-14T14:50:34.000Z
2018-06-25T13:21:48.000Z
source/NanairoCore/ToneMappingOperator/tone_mapping_operator.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
6
2017-04-09T13:07:47.000Z
2021-05-29T21:17:34.000Z
/*! \file tone_mapping_operator.hpp \author Sho Ikeda Copyright (c) 2015-2018 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef NANAIRO_TONE_MAPPING_OPERATOR_HPP #define NANAIRO_TONE_MAPPING_OPERATOR_HPP // Standard C++ library #include <...
23.077778
86
0.722195
byzin
52a4c5167e7b5fad86f9077282fe99a5cd42415c
19,326
cpp
C++
dbms/src/Common/tests/gtest_mpmc_queue.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
4
2022-03-25T21:34:15.000Z
2022-03-25T21:35:12.000Z
dbms/src/Common/tests/gtest_mpmc_queue.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
null
null
null
dbms/src/Common/tests/gtest_mpmc_queue.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
8
2022-03-25T10:20:08.000Z
2022-03-31T10:17:25.000Z
// Copyright 2022 PingCAP, Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
28.504425
117
0.563748
solotzg
52ab3bfd4ba431d03548ff2c8617dc9bc8ea1cf3
3,846
cpp
C++
src/nod/aligndialog.cpp
astillich/nod
beb23c79684f277d8ee95d4c913e1981efe3941f
[ "MIT" ]
null
null
null
src/nod/aligndialog.cpp
astillich/nod
beb23c79684f277d8ee95d4c913e1981efe3941f
[ "MIT" ]
3
2018-02-21T23:36:41.000Z
2018-02-23T00:14:44.000Z
src/nod/aligndialog.cpp
astillich/nod
beb23c79684f277d8ee95d4c913e1981efe3941f
[ "MIT" ]
1
2020-11-03T05:08:27.000Z
2020-11-03T05:08:27.000Z
// ---------------------------------------------------------------------------- #include <QButtonGroup> #include <QCheckBox> #include <QDialogButtonBox> #include <QVariant> #include <QVBoxLayout> // ---------------------------------------------------------------------------- #include "nod/aligndialog.h" // -------...
30.283465
95
0.529121
astillich
52b51aa0539570bca0981eb7942e79e56d3f7640
69
cpp
C++
src/Table.cpp
Cloaked9000/FrSQL
e302ca6f0cfe087097df577b829601c063fda26e
[ "MIT" ]
null
null
null
src/Table.cpp
Cloaked9000/FrSQL
e302ca6f0cfe087097df577b829601c063fda26e
[ "MIT" ]
null
null
null
src/Table.cpp
Cloaked9000/FrSQL
e302ca6f0cfe087097df577b829601c063fda26e
[ "MIT" ]
null
null
null
// // Created by fred.nicolson on 11/03/2020. // #include "Table.h"
11.5
42
0.637681
Cloaked9000
52bc33f593ce286b83dd7281fd859d4aa73e5d06
8,721
cpp
C++
src/Water.cpp
jkortman/cg2017
fc66534584c2aff07da84319d06ed3b5ec8c61f7
[ "MIT" ]
null
null
null
src/Water.cpp
jkortman/cg2017
fc66534584c2aff07da84319d06ed3b5ec8c61f7
[ "MIT" ]
null
null
null
src/Water.cpp
jkortman/cg2017
fc66534584c2aff07da84319d06ed3b5ec8c61f7
[ "MIT" ]
null
null
null
// Authorship: James Kortman (a1648090) // Implementation of Water struct member functions. #include "Water.hpp" Water::Water( int size, float edge, float level, Landscape* landscape, glm::vec2 min, glm::vec2 max) : model_matrix(glm::mat4(1.0f)), size(size), edge(edge), level(level), ...
35.307692
86
0.469327
jkortman
52bcaf1d4f2f9a2d74696f5f8c6d6e09ebe09696
7,012
cpp
C++
src/core/Models/pendulummapmodel.cpp
jbuckmccready/staticpendulum_gui
8c14019e5903c531cca5cfefeeb22a1beca8b000
[ "MIT" ]
null
null
null
src/core/Models/pendulummapmodel.cpp
jbuckmccready/staticpendulum_gui
8c14019e5903c531cca5cfefeeb22a1beca8b000
[ "MIT" ]
null
null
null
src/core/Models/pendulummapmodel.cpp
jbuckmccready/staticpendulum_gui
8c14019e5903c531cca5cfefeeb22a1beca8b000
[ "MIT" ]
null
null
null
/* =========================================================================== * The MIT License (MIT) * * Copyright (c) 2016 Jedidiah Buck McCready <jbuckmccready@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the...
31.443946
80
0.747576
jbuckmccready
52bd42af65aa765d2458ee5a394346de2610bbf3
1,115
hpp
C++
tests/test_utils/include/dml_test_utils/fill.hpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
null
null
null
tests/test_utils/include/dml_test_utils/fill.hpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
null
null
null
tests/test_utils/include/dml_test_utils/fill.hpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
1
2022-03-28T07:52:21.000Z
2022-03-28T07:52:21.000Z
/******************************************************************************* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #ifndef DML_TEST_UTILS_FILL_HPP #define DML_TEST_UTILS_FILL_HPP #include <dml_tes...
25.930233
115
0.550673
hhb584520
1ecb09834c3d3bead1da078fe7f2283cacf23232
13,423
cpp
C++
Marlin-BIQUBX_ALMOST_STOCK/Marlin/src/lcd/tft/images/confirm_64x64x4.cpp
Ejay-3D/Marlin-Biqu
bcf9d30c2fb998ca7d2ebf8c2cb917a96eb2d018
[ "MIT" ]
6
2020-12-04T21:55:04.000Z
2022-02-02T20:49:45.000Z
Marlin-2.0.7_Stock_Board/Marlin/src/lcd/tft/images/confirm_64x64x4.cpp
kristapsdravnieks/Anycubic-Predator
879ea2af0b9cafc27ea85d966f9bc4699b3e8e25
[ "MIT" ]
1
2021-06-16T09:37:24.000Z
2021-06-16T09:44:32.000Z
Marlin-2.0.7_Stock_Board/Marlin/src/lcd/tft/images/confirm_64x64x4.cpp
kristapsdravnieks/Anycubic-Predator
879ea2af0b9cafc27ea85d966f9bc4699b3e8e25
[ "MIT" ]
3
2021-05-01T15:13:41.000Z
2022-02-11T01:15:30.000Z
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
141.294737
193
0.665351
Ejay-3D
1ece5af1f749599e18b93dbc5b403dfc33b4d520
1,684
hpp
C++
event-handling/event.hpp
beached/VariantTalk
da37b695369b23a9bcdfe5bce11d759a0b4c5470
[ "Apache-2.0", "MIT" ]
39
2018-11-15T23:38:27.000Z
2022-03-21T16:38:22.000Z
event-handling/event.hpp
beached/VariantTalk
da37b695369b23a9bcdfe5bce11d759a0b4c5470
[ "Apache-2.0", "MIT" ]
3
2018-11-30T10:52:04.000Z
2021-02-23T21:36:11.000Z
event-handling/event.hpp
beached/VariantTalk
da37b695369b23a9bcdfe5bce11d759a0b4c5470
[ "Apache-2.0", "MIT" ]
9
2019-01-18T05:43:35.000Z
2021-05-23T16:24:40.000Z
/* Copyright (C) 2018, Nikolai Wuttke. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
21.87013
80
0.736936
beached
1ee01cef660665df78cf927c12056d29a75c7acb
6,397
hpp
C++
grail/include/algorithm/CFG_TO_CNF.hpp
iambrosie/Grail-Plus
e102de735e86df241e4311394190ad39181f073b
[ "MIT" ]
null
null
null
grail/include/algorithm/CFG_TO_CNF.hpp
iambrosie/Grail-Plus
e102de735e86df241e4311394190ad39181f073b
[ "MIT" ]
null
null
null
grail/include/algorithm/CFG_TO_CNF.hpp
iambrosie/Grail-Plus
e102de735e86df241e4311394190ad39181f073b
[ "MIT" ]
1
2020-07-14T03:58:19.000Z
2020-07-14T03:58:19.000Z
/* * CFG_TO_CNF.hpp * * Created on: Feb 7, 2011 * Author: Peter Goodman * Version: $Id$ * * Copyright 2011 Peter Goodman, all rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
33.668421
80
0.550727
iambrosie
1ee11fb082db3bafc8210a65903187a16ea43112
3,820
hpp
C++
libraries/lib-app-base/include/polymer-app-base/glfw-app.hpp
ddiakopoulos/polymer
a052d6cea5c9714ca3a8f9200bf626eb2df85601
[ "BSD-3-Clause" ]
256
2019-01-06T00:30:05.000Z
2022-03-12T15:41:04.000Z
libraries/lib-app-base/include/polymer-app-base/glfw-app.hpp
ddiakopoulos/polymer
a052d6cea5c9714ca3a8f9200bf626eb2df85601
[ "BSD-3-Clause" ]
8
2019-01-06T01:46:43.000Z
2021-03-17T18:00:55.000Z
libraries/lib-app-base/include/polymer-app-base/glfw-app.hpp
ddiakopoulos/polymer
a052d6cea5c9714ca3a8f9200bf626eb2df85601
[ "BSD-3-Clause" ]
22
2019-01-06T22:31:51.000Z
2022-01-27T02:13:21.000Z
#pragma once #ifndef glfw_app_h #define glfw_app_h #include "polymer-core/util/util.hpp" #include "polymer-core/math/math-core.hpp" #include "polymer-gfx-gl/gl-api.hpp" #include <thread> #include <chrono> #include <codecvt> #include <string> #define GLFW_INCLUDE_GLU #include <GLFW/glfw3.h> namespa...
29.612403
188
0.608901
ddiakopoulos
1ee1389bf8659cee47086590d92b3c79803d7351
3,931
cpp
C++
2000/arxlabs/lab09/lab9utils.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2000/arxlabs/lab09/lab9utils.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2000/arxlabs/lab09/lab9utils.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// // (C) Copyright 1999 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warra...
39.707071
123
0.639786
kevinzhwl
1ee1df8a7fe1b0c794c26328d9d38a933627953b
1,840
hpp
C++
server/test/ODBCTests.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
server/test/ODBCTests.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
server/test/ODBCTests.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
#pragma once #include <pch.hpp> #include "../src/ODBC/ODBCInstance.hpp" std::shared_ptr<cODBCInstance> poInstance; string sUnicodeUTF8 = "おはようございます"; TEST(ODBCTests, Connect) { poInstance = std::make_shared<cODBCInstance>(); #if defined(WINDOWS) EXPECT_TRUE(poInstance->Connect("driver=MariaDB ODBC 3.1 Driver;...
31.724138
142
0.695109
Velikss
1ee757c34d5fcab90bc8f5d0241c9a30bcd496f5
802
cpp
C++
Fiduccia-Mattheyses/src/nets.cpp
w4n9r3ntru3/Fiduccia-Mattheyses
d47013d315750dbfdc3e5ec7714e7ddbdc7e96b7
[ "MIT" ]
1
2021-03-05T13:57:21.000Z
2021-03-05T13:57:21.000Z
Fiduccia-Mattheyses/src/nets.cpp
w4n9r3ntru3/Fiduccia-Mattheyses
d47013d315750dbfdc3e5ec7714e7ddbdc7e96b7
[ "MIT" ]
null
null
null
Fiduccia-Mattheyses/src/nets.cpp
w4n9r3ntru3/Fiduccia-Mattheyses
d47013d315750dbfdc3e5ec7714e7ddbdc7e96b7
[ "MIT" ]
1
2021-11-02T22:14:41.000Z
2021-11-02T22:14:41.000Z
#include "nets.h" using namespace std; Net::Net() : _true_count(0), _cells(vector<unsigned>()) {} void Net::setCount(unsigned u) { _true_count = u; } unsigned Net::true_count() const { return _true_count; } unsigned Net::false_count() const { return _cells.size() - _true_count; } unsigned Net::count(b...
16.04
58
0.613466
w4n9r3ntru3
1eed321b66fa85e27f0e4d59cdab37154ce992a2
822
hpp
C++
include/ftp_analyzer.hpp
Ksi0Na/3-4_cpp
38f53148ff522c48913bcff1b5895666bf1dab70
[ "MIT" ]
null
null
null
include/ftp_analyzer.hpp
Ksi0Na/3-4_cpp
38f53148ff522c48913bcff1b5895666bf1dab70
[ "MIT" ]
null
null
null
include/ftp_analyzer.hpp
Ksi0Na/3-4_cpp
38f53148ff522c48913bcff1b5895666bf1dab70
[ "MIT" ]
null
null
null
// Copyright 2020 Olga Molchun olgamolchun5@gmail.com #ifndef INCLUDE_FTP_ANALYZER_HPP_ #define INCLUDE_FTP_ANALYZER_HPP_ // broker stats #include <broker_stats.hpp> // STL headers #include <map> #include <ostream> #include <regex> #include <string> // boost headers #include <boost/filesystem.hpp> class FtpAnalyzer f...
27.4
70
0.717762
Ksi0Na
1ef3b91736f4fff72d38d534e6ac2300897e7f04
333
cpp
C++
BadMakeReturn.cpp
kfejes/cpp-security-examples
7b4646e3e86187696b796aed3ec323f629d57bc9
[ "MIT" ]
null
null
null
BadMakeReturn.cpp
kfejes/cpp-security-examples
7b4646e3e86187696b796aed3ec323f629d57bc9
[ "MIT" ]
null
null
null
BadMakeReturn.cpp
kfejes/cpp-security-examples
7b4646e3e86187696b796aed3ec323f629d57bc9
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <string> using namespace std; int main() { auto msgPtr = make_unique<string>("testMessage"); auto movedMsgPtr = move(msgPtr); // OK auto found = movedMsgPtr->find("testMessage"); // OK msgPtr->find("testMessage"); // Segmentation fault return EX...
22.2
57
0.66967
kfejes
1ef5d9ae99088ab810f7bfd4c3ed3628887e2340
818
cpp
C++
jp.atcoder/abc002/abc002_4/11335580.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc002/abc002_4/11335580.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc002/abc002_4/11335580.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; vector<set<int>> g(n); for (int i = 0; i < m; i++) { int x, y; cin >> x >> y; x--; y--; g[x].insert(y); g[y].insert(x); } int res = 1; for (int i = 0; i < (1 << n); i++) { vecto...
20.45
50
0.391198
kagemeka
1ef879a886571ed8ef5a2a743a8cdbaaa5402543
5,627
cxx
C++
src/Cxx/CompositeData/OverlappingAMR.cxx
pavankumarbn/VTKExamples
884019ad7b3f39885b115ea8e800d5b4414605b2
[ "Apache-2.0" ]
2
2019-01-19T17:51:00.000Z
2019-01-19T17:51:03.000Z
src/Cxx/CompositeData/OverlappingAMR.cxx
pavankumarbn/VTKExamples
884019ad7b3f39885b115ea8e800d5b4414605b2
[ "Apache-2.0" ]
null
null
null
src/Cxx/CompositeData/OverlappingAMR.cxx
pavankumarbn/VTKExamples
884019ad7b3f39885b115ea8e800d5b4414605b2
[ "Apache-2.0" ]
null
null
null
// Demonstrates how to create and populate a VTK's Overlapping AMR Grid // type Data #include <vtkAMRBox.h> #include <vtkAMRUtilities.h> #include <vtkContourFilter.h> #include <vtkFloatArray.h> #include <vtkCompositeDataGeometryFilter.h> #include <vtkOutlineFilter.h> #include <vtkOverlappingAMR.h> #include <vtkPointDa...
29.307292
79
0.674605
pavankumarbn
1efaee38e0cf3e4275fe2b100295eba433f765ec
3,022
hpp
C++
module/native/src/watch.hpp
cpoco/eyna
eed817c3cc90f82fdc05125138a4e303dd3fa098
[ "MIT" ]
null
null
null
module/native/src/watch.hpp
cpoco/eyna
eed817c3cc90f82fdc05125138a4e303dd3fa098
[ "MIT" ]
null
null
null
module/native/src/watch.hpp
cpoco/eyna
eed817c3cc90f82fdc05125138a4e303dd3fa098
[ "MIT" ]
null
null
null
#ifndef NATIVE_WATCH #define NATIVE_WATCH #include "common.hpp" // http://docs.libuv.org/en/v1.x/handle.html // http://docs.libuv.org/en/v1.x/fs_event.html class _watch_map { struct _data { uv_fs_event_t* event; int32_t id; std::filesystem::path path; // generic_path v8::Persistent<v8::Function> callback; ...
21.898551
110
0.665784
cpoco
1eff5a5e74faf465120046d77821f34ba81188f5
897
cpp
C++
Easy/67_Add_Binary.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Easy/67_Add_Binary.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Easy/67_Add_Binary.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
class Solution { public: string addBinary(string a, string b) { reverse(a.begin(), a.end()); reverse(b.begin(), b.end()); string result = ""; bool carry = false; for(int i = 0, j = 0; i < a.length() || j < b.length(); i++, j++) { int binary_a = (i < a.len...
32.035714
75
0.394649
ShehabMMohamed
480153aac26f98b51b815b1ac8d659baf797d486
2,167
cpp
C++
arvoes_b.cpp
PedroHenrique-git/data-structures
4252751328a6ab5e993ff1f58fa70c13ecbafed2
[ "MIT" ]
null
null
null
arvoes_b.cpp
PedroHenrique-git/data-structures
4252751328a6ab5e993ff1f58fa70c13ecbafed2
[ "MIT" ]
null
null
null
arvoes_b.cpp
PedroHenrique-git/data-structures
4252751328a6ab5e993ff1f58fa70c13ecbafed2
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; #define G 2 typedef struct tipo_no no; typedef int tipo_dado; struct tipo_no { int nro_chaves; int folha; tipo_dado chaves[2*G-1]; tipo_no *apontadores[2*G]; }; void criar_arvore_B(no **A) { no *Novo; Novo = (no *)malloc(sizeof(no)); Novo->folh...
23.301075
58
0.457776
PedroHenrique-git
4808e4e22cded8630250f27dc34fe6a99dd81843
3,407
cc
C++
src/engine/scripting/binding/utilities/ini.cc
hvonck/lambda-lilac
c4cf744356c2d2056e8f66da4f95d2268f7c25d0
[ "BSD-3-Clause" ]
1
2019-05-28T16:39:19.000Z
2019-05-28T16:39:19.000Z
src/engine/scripting/binding/utilities/ini.cc
hvonck/lambda-lilac
c4cf744356c2d2056e8f66da4f95d2268f7c25d0
[ "BSD-3-Clause" ]
null
null
null
src/engine/scripting/binding/utilities/ini.cc
hvonck/lambda-lilac
c4cf744356c2d2056e8f66da4f95d2268f7c25d0
[ "BSD-3-Clause" ]
1
2019-05-28T16:39:06.000Z
2019-05-28T16:39:06.000Z
#include "ini.h" #include <INIReader.h> #include <utils/file_system.h> #include <utils/console.h> namespace lambda { namespace scripting { namespace utilities { namespace ini { UnorderedMap<uint64_t, INIReader> g_ini_readers; uint64_t Load(const String& f...
45.426667
143
0.591136
hvonck
480e3492fe59f0ec6e8a6188891889855623ba39
1,000
hpp
C++
src/seq/fasta_sub_util.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/seq/fasta_sub_util.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/seq/fasta_sub_util.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by a...
29.411765
74
0.777
toppic-suite
48103cb3435deee9e687e96ee9b71b2695e77a6a
213
cpp
C++
contest/AtCoder/abc032/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc032/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc032/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "set.hpp" #include "string.hpp" int main() { String s(in); int k(in); Set<String> st; for (int i = 0; i <= s.size() - k; ++i) { st.emplace(s.substr(i, k)); } cout << st.size() << endl; }
16.384615
43
0.516432
not522
4810879cee3ee0761455d7929453ba30b5d1f69b
6,770
cp
C++
Obx/Mod/Buttons.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
1
2018-03-15T00:25:25.000Z
2018-03-15T00:25:25.000Z
Obx/Mod/Buttons.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
null
null
null
Obx/Mod/Buttons.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
1
2021-04-14T21:17:51.000Z
2021-04-14T21:17:51.000Z
MODULE ObxButtons; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = "" issues = "" **) IMPORT Dialog, Stores, Fon...
42.578616
115
0.575185
romiras
4814bb617f0d67ad5eccebfd538aa306f040cbad
3,661
cpp
C++
examples/feature_showcase/source/polyline_drawing_test/polyline_drawing_test.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
examples/feature_showcase/source/polyline_drawing_test/polyline_drawing_test.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
examples/feature_showcase/source/polyline_drawing_test/polyline_drawing_test.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
#include "polyline_drawing_test.hpp" #include <pomdog/experimental/tween/easing_helper.hpp> namespace feature_showcase { PolylineDrawingTest::PolylineDrawingTest(const std::shared_ptr<GameHost>& gameHostIn) : gameHost(gameHostIn) , graphicsDevice(gameHostIn->GetGraphicsDevice()) , commandQueue(gameHostIn-...
31.560345
121
0.662934
mogemimi
481815388b56e3ce5715b26d5cdb2c061ac79bc7
460
cpp
C++
Codechef/LECANDY.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
Codechef/LECANDY.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
Codechef/LECANDY.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
/* Problem Statement : Little Elephant and Candies Link : https://www.codechef.com/problems/LECANDY Score : accepted */ #include<iostream> #include<vector> #include<bits/stdc++.h> using namespace std; int main() { int test; cin >>test; for(int i=0;i<test;i++) { int N,C; cin>>N>>C; int A[N]; fo...
11.794872
51
0.543478
phileinSophos
481a4e2bcad429c2c65f4a4ebb48d49215d7fac9
838
cpp
C++
src/ec-task.cpp
ajis01/groot
c279574df7af599b7033c817a87b4e0768cb60d8
[ "MIT" ]
58
2020-04-29T01:05:04.000Z
2022-03-28T15:17:34.000Z
src/ec-task.cpp
dns-groot/2020_SIGCOMM_Artifact_157
1170b7143568fdf456d2f20761b90f636382cc8f
[ "MIT" ]
4
2020-05-11T16:09:55.000Z
2022-02-22T11:07:36.000Z
src/ec-task.cpp
dns-groot/2020_SIGCOMM_Artifact_157
1170b7143568fdf456d2f20761b90f636382cc8f
[ "MIT" ]
5
2020-10-29T17:07:23.000Z
2022-01-06T12:40:31.000Z
#include "ec-task.h" #include "job.h" string ECTask::PrintTaskType() { return "EC Task"; } void ECTask::Process(const Context &context, vector<boost::any> &variadic_arguments) { Job *current_job = boost::any_cast<Job *>(variadic_arguments[0]); interpretation::Graph interpretation_graph_for_ec(ec_, context...
38.090909
91
0.761337
ajis01
4820a280b3995512ef39fc16a26441d033047b1b
3,781
cpp
C++
src/dune/render_target.cpp
derkreature/dirtchamber
14fd7b9453288550b35689477a9b59274f3ff1da
[ "MIT", "BSD-3-Clause" ]
1
2018-10-01T02:27:25.000Z
2018-10-01T02:27:25.000Z
src/dune/render_target.cpp
derkreature/dirtchamber
14fd7b9453288550b35689477a9b59274f3ff1da
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/dune/render_target.cpp
derkreature/dirtchamber
14fd7b9453288550b35689477a9b59274f3ff1da
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * dune::render_target by Tobias Alexander Franke (tob@cyberhead.de) 2011 * For copyright and license see LICENSE * http://www.tobias-franke.eu */ #include "render_target.h" #include "d3d_tools.h" #include "exception.h" #include "texture_cache.h" namespace dune { render_target::render_tar...
28.428571
141
0.555938
derkreature
48211b79b6ee138126cb7b67ead6b21f7049f6ae
3,926
cpp
C++
libraries/chain/webassembly/infrablockchain/system_token_intrinsics.cpp
YosemiteLabs/infrablockchain
da05af17a9bfb1c02dafca9d8033c9e1b00e92b3
[ "Apache-2.0", "MIT" ]
null
null
null
libraries/chain/webassembly/infrablockchain/system_token_intrinsics.cpp
YosemiteLabs/infrablockchain
da05af17a9bfb1c02dafca9d8033c9e1b00e92b3
[ "Apache-2.0", "MIT" ]
null
null
null
libraries/chain/webassembly/infrablockchain/system_token_intrinsics.cpp
YosemiteLabs/infrablockchain
da05af17a9bfb1c02dafca9d8033c9e1b00e92b3
[ "Apache-2.0", "MIT" ]
null
null
null
/** * @file chain/webassembly/infrablockchain/system_token_intrinsics.cpp * @author bezalel@infrablockchain.com * @copyright defined in infrablockchain/LICENSE.txt */ #include <eosio/chain/webassembly/interface.hpp> #include <eosio/chain/apply_context.hpp> #include <infrablockchain/chain/standard_token_manager...
45.651163
182
0.705298
YosemiteLabs
4822fb23ad0d6a7999edba66983e3c2199b0195d
3,587
cpp
C++
src/qt/qrax/assets/node.cpp
QRAX-LABS/QRAX
951ed45d473b7ab8c74bf35ff794e97169736d0c
[ "MIT" ]
2
2021-12-29T14:10:03.000Z
2022-02-19T09:24:37.000Z
src/qt/qrax/assets/node.cpp
QRAX-LABS/QRAX
951ed45d473b7ab8c74bf35ff794e97169736d0c
[ "MIT" ]
null
null
null
src/qt/qrax/assets/node.cpp
QRAX-LABS/QRAX
951ed45d473b7ab8c74bf35ff794e97169736d0c
[ "MIT" ]
null
null
null
// Copyright (c) 2021 The QRAX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "qt/guiutil.h" #include "qt/qrax/qtutils.h" #include "qt/walletmodel.h" #include "qt/qrax/assets/graphicsscene.h" #include "qt/qr...
24.568493
108
0.65598
QRAX-LABS
48291704e20dc65acf660afa0194036151a3a51a
2,112
cc
C++
code/Treaps.cc
tulsyan/ACM-ICPC-Handbook
fbadfd66017991d264071af3f2fa8e050e4f8e40
[ "MIT" ]
32
2017-12-24T20:00:47.000Z
2021-04-09T14:53:25.000Z
code/Treaps.cc
Zindastart/ACM-ICPC-Handbook
fbadfd66017991d264071af3f2fa8e050e4f8e40
[ "MIT" ]
null
null
null
code/Treaps.cc
Zindastart/ACM-ICPC-Handbook
fbadfd66017991d264071af3f2fa8e050e4f8e40
[ "MIT" ]
16
2017-12-13T14:35:27.000Z
2021-12-24T04:40:32.000Z
#include "template.h" const int N = 100 * 1000; struct node { int value, weight, ch[2], size; } T[ N+10 ] ; int nodes; #define Child(x,c) T[x].ch[c] #define Value(x) T[x].value #define Weight(x) T[x].weight #define Size(x) T[x].size #define Left Child(x,0) #define Right Child(x,1) int update(int x) { if(!x)return 0; Si...
30.171429
83
0.60322
tulsyan
482e8fc788836d6ab07b205f555a64c2447ea7a9
3,160
cpp
C++
third-party/Empirical/examples/math/stats.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/examples/math/stats.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/examples/math/stats.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
// This file is part of Empirical, https://github.com/devosoft/Empirical // Copyright (C) Michigan State University, 2020. // Released under the MIT Software license; see doc/LICENSE // // // Some examples code for using vector_utils.h #include <iostream> #include <unordered_set> #include "emp/base/vector.hpp" #i...
39.5
81
0.464873
koellingh
483dc68da834b36651c4a2a4e573f8b9c0c0561e
14,128
cpp
C++
tests/TcpTest.cpp
bonnefoa/flowstats
64f3e2d4466596788174b508bc62838379162224
[ "MIT" ]
4
2020-07-21T12:34:26.000Z
2020-12-09T16:51:33.000Z
tests/TcpTest.cpp
bonnefoa/flowstats
64f3e2d4466596788174b508bc62838379162224
[ "MIT" ]
null
null
null
tests/TcpTest.cpp
bonnefoa/flowstats
64f3e2d4466596788174b508bc62838379162224
[ "MIT" ]
1
2020-07-21T12:34:31.000Z
2020-07-21T12:34:31.000Z
#include "Collector.hpp" #include "DnsStatsCollector.hpp" #include "MainTest.hpp" #include "TcpStatsCollector.hpp" #include "Utils.hpp" #include <catch2/catch.hpp> using namespace flowstats; TEST_CASE("Tcp simple", "[tcp]") { auto tester = Tester(); auto const& tcpStatsCollector = tester.getTcpStatsCollector(...
35.767089
96
0.632715
bonnefoa
c6182e56570d1824b723f276b61487c95caf4c28
1,748
cc
C++
Gurvich-Wirzt/trunk/nachos-unr21a/code/threads/lock.cc
swirzt/SistemasOoperativos2
2db49410837eb18a4b5afcabd229519f61a2e8ab
[ "MIT" ]
null
null
null
Gurvich-Wirzt/trunk/nachos-unr21a/code/threads/lock.cc
swirzt/SistemasOoperativos2
2db49410837eb18a4b5afcabd229519f61a2e8ab
[ "MIT" ]
null
null
null
Gurvich-Wirzt/trunk/nachos-unr21a/code/threads/lock.cc
swirzt/SistemasOoperativos2
2db49410837eb18a4b5afcabd229519f61a2e8ab
[ "MIT" ]
null
null
null
/// Routines for synchronizing threads. /// /// The implementation for this primitive does not come with base Nachos. /// It is left to the student. /// /// When implementing this module, keep in mind that any implementation of a /// synchronization routine needs some primitive atomic operation. The /// semaphore impl...
24.619718
76
0.689931
swirzt
c61b703a1600bd1c7573372b9f43bb3b7ba7d3bc
283
cpp
C++
Binary Search/Wolves of Wall Street/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
BinarySearch/Wolves of Wall Street/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
BinarySearch/Wolves of Wall Street/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
int solve(vector<int> &prices) { if (prices.empty()) { return 0; } int ans = 0, n = prices.size(), curr = prices[0]; for (int i = 1; i < n; i++) { if (prices[i] > curr) { ans += (prices[i] - curr); curr = prices[i]; } else { curr = prices[i]; } } return ans; }
18.866667
50
0.512367
Code-With-Aagam
c61de46631d143ff2334ff7de840580ed51c0bfd
6,059
cpp
C++
verilator-4.016/src/V3GraphPathChecker.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
verilator-4.016/src/V3GraphPathChecker.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
verilator-4.016/src/V3GraphPathChecker.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
// -*- mode: C++; c-file-style: "cc-mode" -*- //************************************************************************* // DESCRIPTION: Verilator: DAG Path Checking // // Code available from: http://www.veripool.org/verilator // //************************************************************************* // // Copyrig...
36.065476
84
0.601584
tcovert2015
c61ebe48de6039fb25c617a57dc1cec030d8b092
4,632
cpp
C++
lib/duden/InfFile.cpp
nonwill/lsd2dsl
00e2a9832666dff03667b07815d73fab3fa8378e
[ "MIT" ]
66
2015-01-17T16:57:38.000Z
2022-02-06T15:29:54.000Z
lib/duden/InfFile.cpp
nonwill/lsd2dsl
00e2a9832666dff03667b07815d73fab3fa8378e
[ "MIT" ]
19
2015-02-08T15:35:12.000Z
2022-01-26T10:46:11.000Z
lib/duden/InfFile.cpp
nongeneric/lsd2dsl
4bf92b42b1ae47eee8e0b71bc04224dc037bd549
[ "MIT" ]
18
2015-03-23T07:06:07.000Z
2022-01-15T21:03:04.000Z
#include "InfFile.h" #include "Duden.h" #include "LdFile.h" #include "boost/algorithm/string.hpp" namespace duden { namespace { std::string fixFileNameCase(const std::string& name, const CaseInsensitiveSet& files) { if (name.empty()) return name; auto it = files.find(fs::path(name)); if (it != e...
33.565217
98
0.530225
nonwill
c62c9a7ce11f06735a2977b442b494bf1bc1409f
1,088
hpp
C++
metro/include/metro/CholeskyStepper.hpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
3
2021-04-21T05:42:24.000Z
2022-01-26T14:59:43.000Z
metro/include/metro/CholeskyStepper.hpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
2
2020-04-09T16:11:04.000Z
2020-11-10T11:18:56.000Z
metro/include/metro/CholeskyStepper.hpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // 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 METRO_CHOLESKY_STEPPER_HPP #define METRO_CHOLESKY_STEPPER_HPP #include <string> #include <vecto...
25.302326
84
0.727022
gavinband
c62d8b0ae5dfda8f0df551a6992f7b3b9a26df7a
75
cpp
C++
0225proj/GV.cpp
Bidoumyouou/-Quick
98d58f4c66e7490c243b742d040a7e9c31d0696b
[ "Unlicense" ]
null
null
null
0225proj/GV.cpp
Bidoumyouou/-Quick
98d58f4c66e7490c243b742d040a7e9c31d0696b
[ "Unlicense" ]
1
2016-12-05T16:28:02.000Z
2016-12-05T16:29:58.000Z
0225proj/GV.cpp
Bidoumyouou/-Quick
98d58f4c66e7490c243b742d040a7e9c31d0696b
[ "Unlicense" ]
null
null
null
#include "GV.h" #include<DxLib.h> unsigned int BLUE = GetColor(0, 0, 255);
18.75
40
0.68
Bidoumyouou
c631404eed5c057746b34bf48f4ea730f05a77bf
8,535
cc
C++
sparse_operation_kit/Deprecated/cc/kernels/v1/embedding_plugin_init.cc
marsmiao/HugeCTR
c9ff359a69565200fcc0c7aae291d9c297bea70e
[ "Apache-2.0" ]
null
null
null
sparse_operation_kit/Deprecated/cc/kernels/v1/embedding_plugin_init.cc
marsmiao/HugeCTR
c9ff359a69565200fcc0c7aae291d9c297bea70e
[ "Apache-2.0" ]
null
null
null
sparse_operation_kit/Deprecated/cc/kernels/v1/embedding_plugin_init.cc
marsmiao/HugeCTR
c9ff359a69565200fcc0c7aae291d9c297bea70e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
45.887097
122
0.500879
marsmiao
c6327228ea9b887176426fd248c225b7919a34fd
23,539
hpp
C++
src/Event.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
null
null
null
src/Event.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
29
2016-08-01T14:50:12.000Z
2017-12-17T20:28:27.000Z
src/Event.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016 Ronnie Brohn (EpicBrownie) // // Distributed under The MIT License (MIT). // (See accompanying file License.txt or copy at // https://opensource.org/licens...
27.402794
142
0.692553
epicbrownie
c63d83bd6a9915eca7d8939be76c2f9837bcdbed
402
hpp
C++
cs1410/projects/maze/Maze.hpp
McKayRansom/CourseMaterials
976552ffca4d9d6e822c74a19bc108f3435bdab1
[ "MIT" ]
6
2017-04-07T17:57:48.000Z
2020-02-01T22:26:43.000Z
cs1410/projects/maze/Maze.hpp
McKayRansom/CourseMaterials
976552ffca4d9d6e822c74a19bc108f3435bdab1
[ "MIT" ]
20
2017-03-29T22:26:47.000Z
2019-12-01T05:58:12.000Z
cs1410/projects/maze/Maze.hpp
McKayRansom/CourseMaterials
976552ffca4d9d6e822c74a19bc108f3435bdab1
[ "MIT" ]
91
2017-03-29T00:23:21.000Z
2021-01-10T14:19:02.000Z
#ifndef CS1410_MAZE_HPP #define CS1410_MAZE_HPP #include <string> #include <vector> class Maze { public: Maze(); void read(std::string filename); void solve(); void display(); private: enum MazeCell { WALL, VISITED, EMPTY, ON_PATH, START, END }; ...
13.4
45
0.589552
McKayRansom
c63df9ba10a1bff3149d26757ba6811a71cb1137
487
hpp
C++
scenegraph/include/ren/database_model.hpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
scenegraph/include/ren/database_model.hpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
scenegraph/include/ren/database_model.hpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
#ifndef DATABASE_MODEL_HPP #define DATABASE_MODEL_HPP #include "ren/database.hpp" #include "ren/model.hpp" class ModelDatabase : public Database<Model> { public: ModelDatabase(); // ModelDatabase(Transferrer& transferrer); ModelDatabase(ModelDatabase && dev); ModelDatabase(ModelDatabase const&) = delete; ...
23.190476
58
0.743326
wobakj
c63ec85d13c15d8719baac32634717c593941fb5
4,283
hpp
C++
src/awt/x11/XToolkit.hpp
krzydyn/jacpp
ab9b5bfcca1774198c05d9187e5891de1fdf4759
[ "Apache-2.0" ]
5
2019-01-01T14:55:58.000Z
2021-01-31T14:55:59.000Z
src/awt/x11/XToolkit.hpp
krzydyn/jacpp
ab9b5bfcca1774198c05d9187e5891de1fdf4759
[ "Apache-2.0" ]
null
null
null
src/awt/x11/XToolkit.hpp
krzydyn/jacpp
ab9b5bfcca1774198c05d9187e5891de1fdf4759
[ "Apache-2.0" ]
null
null
null
#ifndef __AWT_X11_XTOOLKIT_HPP #define __AWT_X11_XTOOLKIT_HPP #include <awt/Window.hpp> #include <lang/Number.hpp> #include <lang/Thread.hpp> #include <nio/ByteBuffer.hpp> namespace awt { namespace x11 { // http://www.grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/sun/awt/X11GraphicsEnviron...
30.81295
122
0.761149
krzydyn
c63f59121d4058485002e4059c1f72b491b9d9a9
1,280
hpp
C++
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/nall/stdint.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/nall/stdint.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/nall/stdint.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
#ifndef NALL_STDINT_HPP #define NALL_STDINT_HPP #if defined(_MSC_VER) typedef signed char int8_t; typedef signed short int16_t; typedef signed int int32_t; typedef signed long long int64_t; typedef int64_t intmax_t; #if defined(_WIN64) typedef int64_t intptr_t; #else typedef int32_t intptr_t; #endi...
29.767442
77
0.73125
redscientistlabs
c6468061e9d93883b5d5b9fd527882afb0692e96
5,583
cc
C++
lite/model_parser/flatbuffers/program_desc_test.cc
yangsong02/Paddle-Lite
70b71336c7a4641f45725d87a9395bcf2a35eef6
[ "Apache-2.0" ]
null
null
null
lite/model_parser/flatbuffers/program_desc_test.cc
yangsong02/Paddle-Lite
70b71336c7a4641f45725d87a9395bcf2a35eef6
[ "Apache-2.0" ]
null
null
null
lite/model_parser/flatbuffers/program_desc_test.cc
yangsong02/Paddle-Lite
70b71336c7a4641f45725d87a9395bcf2a35eef6
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2020 PaddlePaddle Authors. 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 required...
36.97351
78
0.658606
yangsong02
c64faf70bbf6332e7739f0ea9e5172475a44acd3
1,545
cpp
C++
GV/CE_RenderPass.cpp
EavanKim/E_Flow_Dev
a8b076df8f748d4cc2f0d6da2ee01e7601f860b8
[ "MIT" ]
null
null
null
GV/CE_RenderPass.cpp
EavanKim/E_Flow_Dev
a8b076df8f748d4cc2f0d6da2ee01e7601f860b8
[ "MIT" ]
null
null
null
GV/CE_RenderPass.cpp
EavanKim/E_Flow_Dev
a8b076df8f748d4cc2f0d6da2ee01e7601f860b8
[ "MIT" ]
null
null
null
#include "CVulkan_Core.h" CE_RenderPass::CE_RenderPass(const char* _Name) : GV_Module(_Name) { } CE_RenderPass::CE_RenderPass(std::string _Name) : GV_Module(_Name) { } void CE_RenderPass::createRenderPass(CE_VDevice* _Device, std::string _Path, std::string _ShaderName, VkShaderStageFlagBits _bit) { std::vector...
28.090909
129
0.799353
EavanKim
c64fc79357aabdc831a672af0f68cf5207199935
348
cpp
C++
src/ros/service_server.cpp
Xamla/torch-ros
1f42cd4863d68bc4f9134bd1932988c1d5d1e7ca
[ "BSD-3-Clause" ]
26
2016-03-16T06:21:16.000Z
2021-01-04T05:37:07.000Z
src/ros/service_server.cpp
Xamla/torch-ros
1f42cd4863d68bc4f9134bd1932988c1d5d1e7ca
[ "BSD-3-Clause" ]
15
2016-04-04T21:31:29.000Z
2021-08-20T05:27:34.000Z
src/ros/service_server.cpp
Xamla/torch-ros
1f42cd4863d68bc4f9134bd1932988c1d5d1e7ca
[ "BSD-3-Clause" ]
10
2016-04-04T21:07:43.000Z
2018-05-17T12:54:27.000Z
#include "torch-ros.h" #include <ros/service_server.h> ROSIMP(void, ServiceServer, delete)(ros::ServiceServer *ptr) { delete ptr; } ROSIMP(void, ServiceServer, shutdown)(ros::ServiceServer *self) { self->shutdown(); } ROSIMP(void, ServiceServer, getService)(ros::ServiceServer *self, std::string *result) { *res...
23.2
88
0.715517
Xamla
c6560a5f1709335b30bb26d8573e2852533d7c17
848
cpp
C++
ROS-nodes/jetbot_stats/src/jetbot_stats.cpp
Skammi/ROS-cpp-for-Jetbot
25bd461ca44f387ce3d86e95651004242f78270e
[ "BSD-3-Clause" ]
null
null
null
ROS-nodes/jetbot_stats/src/jetbot_stats.cpp
Skammi/ROS-cpp-for-Jetbot
25bd461ca44f387ce3d86e95651004242f78270e
[ "BSD-3-Clause" ]
null
null
null
ROS-nodes/jetbot_stats/src/jetbot_stats.cpp
Skammi/ROS-cpp-for-Jetbot
25bd461ca44f387ce3d86e95651004242f78270e
[ "BSD-3-Clause" ]
null
null
null
/* * file : jetbot_stats.cpp * Project : jetbot * Created on : 10 Nov 2020 * Last edit : 10 Nov 2020 * Author : jacob * * Version Date Comment * ------- ---- ------- * 0.0.1 201110 initial version * * Needs to be started with a launch file, which has to set the jetbot_stat specific parameters * Start: ...
22.918919
95
0.666274
Skammi
c664e5e7f5bfa40eacef4f3a5457a67569f66aae
9,420
cpp
C++
frameworks/render/modules/osg/dmzRenderModuleCoreOSGBasic.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
1
2016-05-08T22:02:35.000Z
2016-05-08T22:02:35.000Z
frameworks/render/modules/osg/dmzRenderModuleCoreOSGBasic.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
null
null
null
frameworks/render/modules/osg/dmzRenderModuleCoreOSGBasic.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
null
null
null
#include "dmzRenderModuleCoreOSGBasic.h" #include <dmzObjectModule.h> #include <dmzObjectAttributeMasks.h> #include <dmzRenderObjectDataOSG.h> #include <dmzRuntimeConfig.h> #include <dmzRuntimeConfigToTypesBase.h> #include <dmzRuntimeConfigToPathContainer.h> #include <dmzRuntimePluginFactoryLinkSymbol.h> #include <dmzR...
21.026786
88
0.651486
tongli
c66c5c48941d6f9feaef0c4d0b9f3858f9cd2de8
1,183
cpp
C++
AEngine/src/Utils/Logger.cpp
alife1029/aengine
6d5bf28604f32610a1a60fb6f2bc297bd972d3c7
[ "MIT" ]
1
2022-01-17T19:01:14.000Z
2022-01-17T19:01:14.000Z
AEngine/src/Utils/Logger.cpp
alife1029/AEngine
ecf181948fc90690c7fe2fba7792f29441b445d7
[ "MIT" ]
null
null
null
AEngine/src/Utils/Logger.cpp
alife1029/AEngine
ecf181948fc90690c7fe2fba7792f29441b445d7
[ "MIT" ]
null
null
null
#include "AEngine/Utils/Logger.hpp" #include <fstream> #include <chrono> namespace aengine { void Logger::LogToFile(const std::string& data, const std::string& file, LogType type) { std::ofstream ofs(file, std::ios::app); if (ofs.is_open()) { // Calculate current time ...
26.288889
104
0.459848
alife1029
c66f79810622e2a48a141514099da111480a81bb
2,310
hpp
C++
include/ast/NullableTypeNode.hpp
aviralg/tastr
184e6324de86831c1e4162112d446f537ad8f50c
[ "Apache-2.0" ]
1
2021-03-25T04:05:35.000Z
2021-03-25T04:05:35.000Z
include/ast/NullableTypeNode.hpp
aviralg/tastr
184e6324de86831c1e4162112d446f537ad8f50c
[ "Apache-2.0" ]
null
null
null
include/ast/NullableTypeNode.hpp
aviralg/tastr
184e6324de86831c1e4162112d446f537ad8f50c
[ "Apache-2.0" ]
null
null
null
#ifndef TASTR_AST_NULLABLE_TYPE_NODE_HPP #define TASTR_AST_NULLABLE_TYPE_NODE_HPP #include "ast/OperatorNode.hpp" #include "ast/TypeNode.hpp" #include <memory> namespace tastr { namespace ast { class NullableTypeNode final: public TypeNode { public: explicit NullableTypeNode(OperatorNodeUPtr op, ...
26.25
80
0.651082
aviralg
c674f1a3d61ea7c385a9b87eb5b2044e3524861e
185
hpp
C++
drivers/servo/TestServo.hpp
jpmorris33/syntheyes3
36b0312616145e8da44868897f231cbe7702a64f
[ "BSD-3-Clause" ]
2
2022-01-24T23:00:43.000Z
2022-03-01T01:39:08.000Z
drivers/servo/TestServo.hpp
jpmorris33/syntheyes3
36b0312616145e8da44868897f231cbe7702a64f
[ "BSD-3-Clause" ]
null
null
null
drivers/servo/TestServo.hpp
jpmorris33/syntheyes3
36b0312616145e8da44868897f231cbe7702a64f
[ "BSD-3-Clause" ]
null
null
null
#include "../ServoDriver.hpp" class TestServo : public ServoDriver { public: void init(int defaultAngle, const char *param); void update(); private: void write(int angle); };
16.818182
49
0.697297
jpmorris33
c68176abe97be10557dd97e0f40f515afcb925b9
10,490
cpp
C++
src/lib/analysis/advisor/GPUInstruction.cpp
GVProf/hpctoolkit
baf45028ead83ceba3e952bb8d0b14caf9ea5f78
[ "BSD-3-Clause" ]
null
null
null
src/lib/analysis/advisor/GPUInstruction.cpp
GVProf/hpctoolkit
baf45028ead83ceba3e952bb8d0b14caf9ea5f78
[ "BSD-3-Clause" ]
null
null
null
src/lib/analysis/advisor/GPUInstruction.cpp
GVProf/hpctoolkit
baf45028ead83ceba3e952bb8d0b14caf9ea5f78
[ "BSD-3-Clause" ]
2
2021-11-30T18:24:10.000Z
2022-02-13T18:13:17.000Z
//************************* System Include Files **************************** #include <iostream> #include <fstream> #include <string> #include <climits> #include <cstring> #include <cstdio> #include <typeinfo> #include <unordered_map> #include <algorithm> #include <sys/stat.h> //*************************** User I...
32.47678
118
0.651001
GVProf
c686549e94075ae2bd3e6826340080d0b6c3b779
230
hpp
C++
src/Client/Engine/ColorRGBA8.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
10
2021-08-17T20:55:52.000Z
2022-03-28T00:45:14.000Z
src/Client/Engine/ColorRGBA8.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
null
null
null
src/Client/Engine/ColorRGBA8.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
2
2021-07-05T18:49:56.000Z
2021-07-10T22:03:17.000Z
#pragma once struct ColorRGBA8 { ColorRGBA8(){} ColorRGBA8(GLubyte _r, GLubyte _g, GLubyte _b, GLubyte _a){ r = _r; g = _g; b = _b; a = _a; } GLubyte r = 255; GLubyte g = 255; GLubyte b = 255; GLubyte a = 255; };
13.529412
60
0.6
fqhd
c68f67f41bd3d3996a1bd1f105b18fd3fbc53d39
216
cpp
C++
EndScaneHook.cpp
Sanceilaks/LemiGMOD
60a605527c870648b73de3f94feb37c0e933088d
[ "Apache-2.0" ]
2
2021-06-21T14:20:12.000Z
2021-09-02T01:47:50.000Z
EndScaneHook.cpp
Sanceilaks/LemiGMOD
60a605527c870648b73de3f94feb37c0e933088d
[ "Apache-2.0" ]
1
2020-10-23T02:38:21.000Z
2020-12-14T03:57:30.000Z
EndScaneHook.cpp
Sanceilaks/LemiGMOD
60a605527c870648b73de3f94feb37c0e933088d
[ "Apache-2.0" ]
null
null
null
#include "EndScaneHook.h" #include "Render.h" void __stdcall MyHooks::EndScane(IDirect3DDevice9* device) { if (!isInit) { Render::Get().Init(device); isInit = true; } else Render::Get().NewFrame(device); }
16.615385
58
0.685185
Sanceilaks
c69635a5f73054eddae6b8bc3f87881a0ef7ce1d
1,212
cpp
C++
codechef/dementia/c.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codechef/dementia/c.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codechef/dementia/c.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (long int i = a; i <= b ; ++i) #define ford(i,a,b) for(long int i = a;i >= b ; --i) #define mk make_pair #define mod 1000000007 #define pb push_back #define ll long long int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n; ci...
17.565217
54
0.39604
xenowits
578d31e26ac74af8205c2605ddafaba6e273609c
786
hxx
C++
source/lib/public/LibPtv/TypeMemberPadding.hxx
selmentdev/pdb-type-viewer
d348aaeb04a8f15c2f09dbda95f5010f1d6709e1
[ "MIT" ]
12
2019-06-19T05:22:34.000Z
2022-01-18T10:55:37.000Z
source/lib/public/LibPtv/TypeMemberPadding.hxx
selmentdev/pdb-type-viewer
d348aaeb04a8f15c2f09dbda95f5010f1d6709e1
[ "MIT" ]
14
2019-06-22T14:12:24.000Z
2020-04-14T14:02:55.000Z
source/lib/public/LibPtv/TypeMemberPadding.hxx
selmentdev/pdb-type-viewer
d348aaeb04a8f15c2f09dbda95f5010f1d6709e1
[ "MIT" ]
2
2021-03-13T02:21:16.000Z
2021-03-13T03:23:44.000Z
#pragma once #include <LibPtv/BaseTypeMember.hxx> namespace LibPdb { class TypeMemberPadding : public BaseTypeMember { private: bool m_IsSpurious; public: TypeMemberPadding( uint64_t size, uint64_t offset ) noexcept : BaseTypeMember{ size, of...
19.65
66
0.548346
selmentdev
578ea0d6edbd2fb994a449755c12776b2b7ea7f2
2,031
cpp
C++
test/burst/integer/to_unsigned.cpp
izvolov/thrust
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
85
2015-11-25T14:05:42.000Z
2021-11-15T11:47:19.000Z
test/burst/integer/to_unsigned.cpp
izvolov/burst
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
147
2015-01-11T08:36:53.000Z
2021-11-04T09:03:36.000Z
test/burst/integer/to_unsigned.cpp
izvolov/thrust
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
6
2016-06-02T17:28:26.000Z
2020-04-05T11:16:16.000Z
#include <burst/integer/to_unsigned.hpp> #include <doctest/doctest.h> #include <boost/mpl/vector.hpp> #include <limits> #include <type_traits> TEST_SUITE("to_unsigned") { TEST_CASE_TEMPLATE("Сдвигает область знакового целого так, чтобы она совпадала с областью " "равного по размеру беззнакового целого",...
31.246154
95
0.60906
izvolov
5790661be8c6fa562ee284d41470e7d0421ae79c
332
hpp
C++
Triforce - Index Buffers/VAO.hpp
Yaboi-Gengarboi/OpenGL-Projects
17171a5e7e6344b97346c2d9c1a4a5d7c165f480
[ "Unlicense" ]
null
null
null
Triforce - Index Buffers/VAO.hpp
Yaboi-Gengarboi/OpenGL-Projects
17171a5e7e6344b97346c2d9c1a4a5d7c165f480
[ "Unlicense" ]
null
null
null
Triforce - Index Buffers/VAO.hpp
Yaboi-Gengarboi/OpenGL-Projects
17171a5e7e6344b97346c2d9c1a4a5d7c165f480
[ "Unlicense" ]
null
null
null
// OpenGL-Projects // Triforce - Index Buffers // VAO.hpp // File created on 2021-09-24 by Justyn Durnford // File last modified on 2021-09-24 by Justyn Durnford #pragma once #include "VBO.hpp" class VAO { public: GLuint id; VAO(); void linkVBO(VBO vbo, GLuint layout); void bind(); void unbind(); void d...
12.769231
54
0.677711
Yaboi-Gengarboi