hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
7608764a694e5140d5004288bfd7567a43142c1e
2,563
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_globallibdefs.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_globallibdefs.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_globallibdefs.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#ifndef INCLUDED_STDDEFX #include "stddefx.h" #define INCLUDED_STDDEFX #endif #ifndef INCLUDED_CALC_GLOBALLIBDEFS #include "calc_globallibdefs.h" #define INCLUDED_CALC_GLOBALLIBDEFS #endif // Library headers. #ifndef INCLUDED_MEMORY #include <memory> #define INCLUDED_MEMORY #endif // PCRaster library headers. #ifnde...
20.837398
84
0.74522
quanpands
760be3e00eeee36d5d0e40d2557d701d579e1cea
501
hpp
C++
include/data_types/vec/Vec.hpp
flwende/data_types
2a251345a2d1a1595f4b3f5e49b01311bdd17d42
[ "BSD-2-Clause" ]
null
null
null
include/data_types/vec/Vec.hpp
flwende/data_types
2a251345a2d1a1595f4b3f5e49b01311bdd17d42
[ "BSD-2-Clause" ]
null
null
null
include/data_types/vec/Vec.hpp
flwende/data_types
2a251345a2d1a1595f4b3f5e49b01311bdd17d42
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2017-2019 Florian Wende (flwende@gmail.com) // // Distributed under the BSD 2-clause Software License // (See accompanying file LICENSE) #if !defined(DATA_TYPES_VEC_VEC_HPP) #define DATA_TYPES_VEC_VEC_HPP #if !defined(XXX_NAMESPACE) #define XXX_NAMESPACE fw #endif #include <tuple/Tuple.hpp> #include...
19.269231
60
0.720559
flwende
76114b9bc8badcc0cd05cfe6f4b815555321e0c4
1,466
cpp
C++
jerome/xml/document.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
3
2018-06-11T10:48:54.000Z
2021-05-30T07:10:15.000Z
jerome/xml/document.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
jerome/xml/document.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
// // document.cpp // // Created by Anton Leuski on 8/15/15. // Copyright (c) 2015 Anton Leuski & ICT/USC. All rights reserved. // // This file is part of Jerome. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may o...
23.645161
76
0.686903
leuski-ict
761371997ef47205c1a986e51a751c28ee016882
1,246
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/mix/mat/fun/trace_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/mix/mat/fun/trace_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/mix/mat/fun/trace_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/mix/mat.hpp> #include <gtest/gtest.h> #include <test/unit/math/rev/mat/fun/util.hpp> TEST(AgradMixMatrixTrace,fv) { using stan::math::trace; using stan::math::matrix_fv; using stan::math::fvar; using stan::math::var; matrix_fv a(2,2); a << -1.0, 2.0, 5.0, 10.0; a(0,0).d_ = 1.0;...
23.074074
61
0.555377
yizhang-cae
7615be2b177dc885c415d65df3e4586f66ba3ab2
308
cpp
C++
aql/benchmark/lib_29/class_2.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_29/class_2.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_29/class_2.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
#include "class_2.h" #include "class_9.h" #include "class_2.h" #include "class_6.h" #include "class_3.h" #include "class_1.h" #include <lib_8/class_3.h> #include <lib_5/class_6.h> #include <lib_7/class_7.h> #include <lib_27/class_5.h> #include <lib_4/class_8.h> class_2::class_2() {} class_2::~class_2() {}
20.533333
27
0.711039
menify
761b3584336695c56815e7edd7efa3d8ff760182
2,673
cpp
C++
Engine/Source/Editor/MovieSceneTools/Private/CurveKeyEditors/SBoolCurveKeyEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Editor/MovieSceneTools/Private/CurveKeyEditors/SBoolCurveKeyEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Editor/MovieSceneTools/Private/CurveKeyEditors/SBoolCurveKeyEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "CurveKeyEditors/SBoolCurveKeyEditor.h" #include "Styling/SlateTypes.h" #include "Widgets/Input/SCheckBox.h" #include "Curves/KeyHandle.h" #include "ISequencer.h" #include "ScopedTransaction.h" #include "Curves/IntegralCurve.h" #define LOCTEXT_NAME...
28.43617
107
0.745604
windystrife
761c8fde5ca17eb8395d7f50fec9618cb3d37499
886
hxx
C++
Legolas/BlockMatrix/Structures/Diagonal/DiagonalBlockMatrix.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/Structures/Diagonal/DiagonalBlockMatrix.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/Structures/Diagonal/DiagonalBlockMatrix.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
#ifndef __LEGOLAS_DIAGONALBLOCKMATRIX_HXX__ #define __LEGOLAS_DIAGONALBLOCKMATRIX_HXX__ #include "Legolas/BlockMatrix/Matrix.hxx" #include "Legolas/BlockMatrix/Structures/Diagonal/DiagonalVirtualBlockMatrix.hxx" #include "Legolas/BlockMatrix/Structures/Diagonal/DiagonalVirtualSolver.hxx" namespace Legolas{ class...
26.058824
82
0.757336
LaurentPlagne
76202a93a58c86da6c37f826216b9b33fcbdf48e
4,312
cpp
C++
Poker/deck_of_cards.cpp
jairoalejandrogomez/CppTraining
932bc729817213af70c19d5d3525ada44a235116
[ "MIT" ]
null
null
null
Poker/deck_of_cards.cpp
jairoalejandrogomez/CppTraining
932bc729817213af70c19d5d3525ada44a235116
[ "MIT" ]
null
null
null
Poker/deck_of_cards.cpp
jairoalejandrogomez/CppTraining
932bc729817213af70c19d5d3525ada44a235116
[ "MIT" ]
null
null
null
#include "deck_of_cards.h" //-------------------------------------------------------------- using namespace std; //-------------------------------------------------------------- //Class implementation. //-------------------------------------------------------------- deck_of_cards::deck_of_cards(void) { ...
33.6875
148
0.325603
jairoalejandrogomez
762035ad6f88514134248c3644610334f9333b1f
1,288
hpp
C++
libraries/CustomHeaderLibs/device/24LC256.hpp
mskoenz/arduino_crash_course
cc7031e827dd13211cb9ce84f6d758f6e635e6a8
[ "WTFPL" ]
null
null
null
libraries/CustomHeaderLibs/device/24LC256.hpp
mskoenz/arduino_crash_course
cc7031e827dd13211cb9ce84f6d758f6e635e6a8
[ "WTFPL" ]
null
null
null
libraries/CustomHeaderLibs/device/24LC256.hpp
mskoenz/arduino_crash_course
cc7031e827dd13211cb9ce84f6d758f6e635e6a8
[ "WTFPL" ]
null
null
null
// Author: Mario S. Könz <mskoenz@gmx.net> // Date: 19.08.2013 20:44:12 CEST // File: 24LC256.hpp /* This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Publ...
33.894737
123
0.610248
mskoenz
76210ddea290fd8ea025985d4cc9fe0713dbeb33
2,232
cpp
C++
src/pipeline/datatype/SpatialImgDetections.cpp
slitcch/depthai-core
b6e5f3bc9ac1473c0a91012611a6f7f9d97c384d
[ "MIT" ]
1
2022-03-22T07:15:47.000Z
2022-03-22T07:15:47.000Z
src/pipeline/datatype/SpatialImgDetections.cpp
slitcch/depthai-core
b6e5f3bc9ac1473c0a91012611a6f7f9d97c384d
[ "MIT" ]
null
null
null
src/pipeline/datatype/SpatialImgDetections.cpp
slitcch/depthai-core
b6e5f3bc9ac1473c0a91012611a6f7f9d97c384d
[ "MIT" ]
null
null
null
#include "depthai/pipeline/datatype/SpatialImgDetections.hpp" namespace dai { std::shared_ptr<RawBuffer> SpatialImgDetections::serialize() const { return raw; } SpatialImgDetections::SpatialImgDetections() : Buffer(std::make_shared<RawSpatialImgDetections>()), dets(*dynamic_cast<RawSpatialImgDetections*>(raw...
44.64
156
0.75672
slitcch
7626b2b7fb37852ca22d0e2fd1f5a702cd2e5732
7,892
cpp
C++
smalldrop/smalldrop_teleoperation/src/smalldrop_teleoperation/spacemouse.cpp
blackchacal/Master-Thesis----Software
9a9858ede3086eee99d1fc969e32b4fb13278f00
[ "MIT" ]
1
2020-08-16T14:37:09.000Z
2020-08-16T14:37:09.000Z
smalldrop/smalldrop_teleoperation/src/smalldrop_teleoperation/spacemouse.cpp
blackchacal/Master-Thesis----Software
9a9858ede3086eee99d1fc969e32b4fb13278f00
[ "MIT" ]
1
2020-06-26T09:14:45.000Z
2020-07-18T08:46:50.000Z
smalldrop/smalldrop_teleoperation/src/smalldrop_teleoperation/spacemouse.cpp
blackchacal/Master-Thesis----Software
9a9858ede3086eee99d1fc969e32b4fb13278f00
[ "MIT" ]
null
null
null
// Copyright (c) 2019-2020 Ricardo Tonet // Use of this source code is governed by the MIT license, see LICENSE /** * \file spacemouse.cpp * \brief Defines class for space mouse remote controller. */ #include <smalldrop_teleoperation/spacemouse.h> namespace smalldrop { namespace smalldrop_teleoperation { /*******...
25.79085
141
0.559934
blackchacal
762fab91db15fbb2818a11c8c6f4ebe0ba4c557b
734
hh
C++
NetworkRelay/RunWorldServer.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
NetworkRelay/RunWorldServer.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
NetworkRelay/RunWorldServer.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#ifndef RUNWORLDSERVER_H_ # define RUNWORLDSERVER_H_ #include "World.hh" #include "Timer.hh" #include "Any.hpp" class ServerRelay; class RunWorldServer { public: RunWorldServer(ServerRelay *server, const std::string &nameRoom); virtual ~RunWorldServer(); void run(Any); void run(); World *getWorld(); con...
17.47619
67
0.720708
deb0ch
7630207b9ba9003b76ae9a8f7842139996de2f82
390
cpp
C++
EJERCICIOS/EJERCICIO46-Random/random.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
EJERCICIOS/EJERCICIO46-Random/random.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
EJERCICIOS/EJERCICIO46-Random/random.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <time.h> using namespace std; int main(int argc, char const *argv[]) { int numero=0; //INICIALIZA EL NUMERO RANDOM srand (time(NULL)); // GENERE UN NUMERO ENTRE 1 Y 10 for (int i = 0; i < 20; i++) { numero= rand ()%5+1; cout << "NUMERO AL...
13
41
0.553846
AntonioVillatoro
7630950fa17aeb6fc006adff8a352a13042e0a44
626
hpp
C++
Include/SA/SDK/Assets/TextureAsset.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
1
2022-01-20T23:17:18.000Z
2022-01-20T23:17:18.000Z
Include/SA/SDK/Assets/TextureAsset.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
Include/SA/SDK/Assets/TextureAsset.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Sapphire's Suite. All Rights Reserved. #pragma once #ifndef SAPPHIRE_SDK_TEXTURE_ASSET_GUARD #define SAPPHIRE_SDK_TEXTURE_ASSET_GUARD #include <SA/SDK/Assets/AAsset.hpp> #include <SA/Render/Base/Texture/RawTexture.hpp> namespace Sa { class TextureAsset : public AAsset { protected: bool L...
19.5625
66
0.757188
SapphireSuite
7632ebaad4ce19069e1327707a390c7b540d3b55
1,257
cpp
C++
src/objreceiver.cpp
barovig/CyberEye
ab6c5f83a07fcefb18fc796b5602f28b8f471bb3
[ "BSD-3-Clause" ]
null
null
null
src/objreceiver.cpp
barovig/CyberEye
ab6c5f83a07fcefb18fc796b5602f28b8f471bb3
[ "BSD-3-Clause" ]
null
null
null
src/objreceiver.cpp
barovig/CyberEye
ab6c5f83a07fcefb18fc796b5602f28b8f471bb3
[ "BSD-3-Clause" ]
null
null
null
#include "objreceiver.h" #include <boost/archive/binary_iarchive.hpp> #include <boost/archive/binary_oarchive.hpp> namespace ce { ObjReceiver::ObjReceiver(int port) : _port{port}, _acceptor(_ios, boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), _port)) { } void ObjReceiver::receiveObject(P_ImgObj obj) { ...
24.647059
83
0.718377
barovig
763715dbc8488a92005c36c5a9a6261903807fd8
3,261
hpp
C++
include/qflags/string_option.hpp
AlErted/qflags
27b4c193b0ad6121b9389ef4fd7080a806381026
[ "MIT" ]
null
null
null
include/qflags/string_option.hpp
AlErted/qflags
27b4c193b0ad6121b9389ef4fd7080a806381026
[ "MIT" ]
null
null
null
include/qflags/string_option.hpp
AlErted/qflags
27b4c193b0ad6121b9389ef4fd7080a806381026
[ "MIT" ]
null
null
null
// string_option.hpp // #include <qflags/qflags.h> #include <cassert> namespace qflags { //////////////////////////////////////////////////////////////////////////////// /** * */ QFLAGS_INLINE string_option::string_option(char const* name, char const* default_value) : ...
32.939394
94
0.495554
AlErted
7639579bd5f7d070633defc8d8fd5e5e3e20432a
3,461
cpp
C++
filter_stubs/orient_steerable.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
1
2022-02-17T03:05:40.000Z
2022-02-17T03:05:40.000Z
filter_stubs/orient_steerable.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
filter_stubs/orient_steerable.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
auto i = GETINPUT("input"); auto output = GETOUTPUT("output"); if( false == scratch.initialized() ) { float64_t bandwidth_octaves = param_as_float64( params, "bandwidth_octaves" ); float64_t orientation_theta_rad = deg_to_rad( param_as_float64( params, "orient_theta_deg" ) ); fl...
22.92053
382
0.620341
flyingfalling
7639820e464cded0247a05fbcc3d0edf1ddb04c3
116
hh
C++
src/pg-manager-python.hh
nim65s/sot-pattern-generator
e499e389ccf3fda500d929e3ad8b08f58a6a8a10
[ "0BSD" ]
1
2019-07-25T11:44:32.000Z
2019-07-25T11:44:32.000Z
src/pg-manager-python.hh
nim65s/sot-pattern-generator
e499e389ccf3fda500d929e3ad8b08f58a6a8a10
[ "0BSD" ]
8
2016-12-21T10:14:01.000Z
2021-11-03T08:22:59.000Z
src/pg-manager-python.hh
nim65s/sot-pattern-generator
e499e389ccf3fda500d929e3ad8b08f58a6a8a10
[ "0BSD" ]
8
2016-06-21T10:40:06.000Z
2020-09-15T08:08:20.000Z
#include <sot/pattern-generator/pg-manager.h> typedef boost::mpl::vector<dynamicgraph::sot::PGManager> entities_t;
29
68
0.784483
nim65s
763d85b0be79d2918d0a9aa7a6ea1853cfa088df
4,400
cpp
C++
src/ValueWidget.cpp
jeanleflambeur/electronicload
15cc1b64710ced214928824e34729e83f260ed7f
[ "MIT" ]
4
2019-02-24T16:09:44.000Z
2019-05-03T08:50:17.000Z
src/ValueWidget.cpp
jeanleflambeur/electronicload
15cc1b64710ced214928824e34729e83f260ed7f
[ "MIT" ]
2
2019-05-17T07:42:16.000Z
2021-02-04T23:34:06.000Z
src/ValueWidget.cpp
jeanleflambeur/electronicload
15cc1b64710ced214928824e34729e83f260ed7f
[ "MIT" ]
2
2019-12-27T00:32:19.000Z
2019-12-28T15:10:11.000Z
#include "ValueWidget.h" ValueWidget::ValueWidget(JLMBackBuffer& gfx, float value, const char* suffix) : WidgetBase(gfx) , m_value(value) { m_suffix = suffix ? suffix : ""; } void ValueWidget::setValueFont(const GFXfont* font) { m_valueFont = font; m_dirtyFlags |= DirtyFlagGeometry; } void ValueWidget::setSuffixF...
20.183486
103
0.673182
jeanleflambeur
76423e403b9452578859e800b022dc92f63ffb85
2,850
cpp
C++
tests/cuda_stream_tests.cpp
rongou/rmm
846d638c938b515fafd4115215f245b8c1a000a5
[ "Apache-2.0" ]
null
null
null
tests/cuda_stream_tests.cpp
rongou/rmm
846d638c938b515fafd4115215f245b8c1a000a5
[ "Apache-2.0" ]
null
null
null
tests/cuda_stream_tests.cpp
rongou/rmm
846d638c938b515fafd4115215f245b8c1a000a5
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020-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...
27.941176
94
0.741404
rongou
7649fc8d7c029f8429fbdf62e5916d1b5349efa0
400
cpp
C++
acmicpc/17173.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/17173.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/17173.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> using namespace std; int num[1001], dict[1001]; int main() { long long ans = 0; int n, m; scanf("%d %d", &n, &m); for (int i=0; i<m; ++i) scanf("%d", &num[i]); for (int i=0; i<m; ++i) { long long sum = 0; for (int j=num[i]; j<=n; j=j+num[i]) { dict[j]++; if (dict[j] >= 2) co...
13.793103
40
0.4925
juseongkr
764ba7f8fc894ca90ef780dc37de51f7c861d130
243
cpp
C++
gui/widgets/rotationwidget.cpp
r24y/PicoScan
9cd93b162cd2802962c76a3de7740198b9e936ab
[ "BSD-2-Clause" ]
4
2016-11-29T18:33:34.000Z
2018-03-09T01:08:23.000Z
gui/widgets/rotationwidget.cpp
r24y/PicoScan
9cd93b162cd2802962c76a3de7740198b9e936ab
[ "BSD-2-Clause" ]
null
null
null
gui/widgets/rotationwidget.cpp
r24y/PicoScan
9cd93b162cd2802962c76a3de7740198b9e936ab
[ "BSD-2-Clause" ]
4
2015-10-22T11:54:09.000Z
2017-09-07T07:26:01.000Z
#include "rotationwidget.h" #include "ui_rotationwidget.h" RotationWidget::RotationWidget(QWidget *parent) : QWidget(parent), ui(new Ui::RotationWidget) { ui->setupUi(this); } RotationWidget::~RotationWidget() { delete ui; }
16.2
49
0.703704
r24y
764e36ae1b883e2d3f3a3ffddd9748b7b27bfc72
1,530
cpp
C++
src/BasicWindowEventHandler.cpp
tyduptyler13/MyEngine
6081686eb0f3357b9046f82a7aecafa691c3b05b
[ "MIT" ]
7
2018-10-27T02:55:07.000Z
2021-12-31T20:20:33.000Z
src/BasicWindowEventHandler.cpp
MyUPlay/MyEngine
6081686eb0f3357b9046f82a7aecafa691c3b05b
[ "MIT" ]
2
2016-12-12T21:00:31.000Z
2018-02-12T00:43:02.000Z
src/BasicWindowEventHandler.cpp
tyduptyler13/MyEngine
6081686eb0f3357b9046f82a7aecafa691c3b05b
[ "MIT" ]
2
2018-08-30T05:47:09.000Z
2021-03-03T05:37:35.000Z
// // Created by tyler on 3/14/21. // #include "../include/BasicWindowEventHandler.hpp" using namespace MyEngine; Window* BasicWindowEventHandler::addMouseHandler(const std::shared_ptr<MouseEventHandler>& eventHandler) { mouseEventHandlers.insert(eventHandler); return this; } Window* BasicWindowEventHandler::addG...
34.772727
122
0.826797
tyduptyler13
765348171cf87dc77937c7e7e5f53e614b95cc03
194,031
hxx
C++
test/convolution/tv_test_data.hxx
sstefan/vigra
f8826fa4de4293efb95582367f4bf42cc8ba8c11
[ "MIT" ]
null
null
null
test/convolution/tv_test_data.hxx
sstefan/vigra
f8826fa4de4293efb95582367f4bf42cc8ba8c11
[ "MIT" ]
null
null
null
test/convolution/tv_test_data.hxx
sstefan/vigra
f8826fa4de4293efb95582367f4bf42cc8ba8c11
[ "MIT" ]
null
null
null
/************************************************************************/ /* */ /* Copyright 2012 by Frank Lenzen & */ /* Ullrich Koethe */ /* ...
648.93311
938
0.86146
sstefan
76544679407f6477fc99ac88213bf12981371155
855
cpp
C++
samples/daytimeudp/daytimeudpcli.cpp
hexu1985/Portable.Network.Library.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
2
2020-06-30T11:46:24.000Z
2020-07-02T08:56:42.000Z
samples/daytimeudp/daytimeudpcli.cpp
hexu1985/MiniSocket.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
null
null
null
samples/daytimeudp/daytimeudpcli.cpp
hexu1985/MiniSocket.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
null
null
null
/** \example daytimeudp/daytimeudpcli.cpp * This is an example of how to use the UDPSocket class to implement daytimeudp client. */ #include <iostream> #include <cstdlib> #include "mini_socket.hpp" using namespace std; using namespace mini_socket; int main(int argc, char **argv) { if (argc != 3) { cout ...
23.75
87
0.597661
hexu1985
7659ab0da3788ab7b952c81007ee4e0cb15b3a8b
1,672
cpp
C++
Models/src/assessmentResult.cpp
jeremydumais/TeacherHelper
f90db9c18a74ca3020c26d79eb2160a0c4e53efb
[ "MIT" ]
null
null
null
Models/src/assessmentResult.cpp
jeremydumais/TeacherHelper
f90db9c18a74ca3020c26d79eb2160a0c4e53efb
[ "MIT" ]
5
2020-09-26T17:09:28.000Z
2021-02-13T16:10:41.000Z
Models/src/assessmentResult.cpp
jeremydumais/TeacherHelper
f90db9c18a74ca3020c26d79eb2160a0c4e53efb
[ "MIT" ]
null
null
null
#include "assessmentResult.h" #include <stdexcept> using namespace std; AssessmentResult::AssessmentResult(const Student &student, const float result, const std::string &comments) : AssessmentResult(0, student, result, comments) { } AssessmentResult::AssessmentResult(size_t id, const Studen...
22.594595
107
0.652512
jeremydumais
765bc11510f93215ff5657bd6e275c81a304e863
2,281
cpp
C++
UnrealEngine-4.11.2-release/Engine/Source/Editor/PListEditor/Private/PListNode.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2016-10-01T21:35:52.000Z
2016-10-01T21:35:52.000Z
UnrealEngine-4.11.2-release/Engine/Source/Editor/PListEditor/Private/PListNode.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
null
null
null
UnrealEngine-4.11.2-release/Engine/Source/Editor/PListEditor/Private/PListNode.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2021-04-27T08:48:33.000Z
2021-04-27T08:48:33.000Z
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "UnrealEd.h" #include "PListNode.h" #include "SPlistEditor.h" /** A default function to return an invalid row widget */ TSharedRef<ITableRow> GenerateInvalidRow(const TSharedRef<STableViewBase>& OwnerTable, const FText& ErrorMessage) { return SN...
20.736364
113
0.71986
armroyce
765cd70f5a96b89546dc72335dfd316028616f4e
1,348
cpp
C++
Accepted_The 2000's ACM-ICPC/P2670 (Euro Efficiency).cpp
peneksglazami/acm-icpc-training
a3c41b65b8f8523713f9859b076f300a12c4e7f3
[ "CC0-1.0" ]
null
null
null
Accepted_The 2000's ACM-ICPC/P2670 (Euro Efficiency).cpp
peneksglazami/acm-icpc-training
a3c41b65b8f8523713f9859b076f300a12c4e7f3
[ "CC0-1.0" ]
null
null
null
Accepted_The 2000's ACM-ICPC/P2670 (Euro Efficiency).cpp
peneksglazami/acm-icpc-training
a3c41b65b8f8523713f9859b076f300a12c4e7f3
[ "CC0-1.0" ]
null
null
null
/************************************ Problem: 2670 - Euro Efficiency Europe - Northwestern - 2002/2003 Solved by Andrey Grigorov ************************************/ #include <stdio.h> #include <string.h> const int maxn = 10000, maxc = 6; int i,j,test,sum,max,a[2*maxn+1],c[maxc],q1[2*maxn+1],q2[2*maxn+1],q1_cn...
21.396825
86
0.445846
peneksglazami
765cd867436a8af3275530578ab62cb5cffd5ff3
1,301
cpp
C++
src/main.cpp
Xpost2000/Killbot
8cc287758e0c26d0350343f383f5adfe0acac0e9
[ "MIT" ]
null
null
null
src/main.cpp
Xpost2000/Killbot
8cc287758e0c26d0350343f383f5adfe0acac0e9
[ "MIT" ]
null
null
null
src/main.cpp
Xpost2000/Killbot
8cc287758e0c26d0350343f383f5adfe0acac0e9
[ "MIT" ]
null
null
null
/* * KILLBOT * * is an open source game about robot survival. * You play as a killbot in a small arena in which * other killbots are sent to destroy you. For the * moment killbots aren't very strong and have strength * in numbers. * * You have a cannon. Use it effectively */ #include "Engine.h" #...
30.97619
80
0.697925
Xpost2000
76654d8b395ad7de049907f824053c22ac5f48c3
2,463
cc
C++
week_04_data_structures/3_queue_on_cyclic_dynamic_array.cc
Illumaria/made-algorithms-2020
fc94e537ee80f2af37bd1cf8f93ec08bfae37b80
[ "MIT" ]
null
null
null
week_04_data_structures/3_queue_on_cyclic_dynamic_array.cc
Illumaria/made-algorithms-2020
fc94e537ee80f2af37bd1cf8f93ec08bfae37b80
[ "MIT" ]
null
null
null
week_04_data_structures/3_queue_on_cyclic_dynamic_array.cc
Illumaria/made-algorithms-2020
fc94e537ee80f2af37bd1cf8f93ec08bfae37b80
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> class CyclicDynamicArray { public: CyclicDynamicArray() : capacity_(4), begin_(0), end_(0), values_(new int64_t[capacity_]) {} ~CyclicDynamicArray() { delete[] values_; } // Increase capacity of the CyclicDynamicArray. void IncreaseCapacity() { end_ = this->size(); cap...
22.805556
76
0.597239
Illumaria
766558655aec767615863693988008bb3f665d4c
594
hpp
C++
include/menu/menu.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
10
2018-09-13T14:47:07.000Z
2022-01-10T11:46:12.000Z
include/menu/menu.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
13
2018-09-18T19:36:32.000Z
2020-11-12T16:26:22.000Z
include/menu/menu.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
null
null
null
#ifndef INCLUDED_MENU_HPP #define INCLUDED_MENU_HPP #include <functional> #include <memory> #include <map> class GameStatus; class GameMaster; class MenuHandler; class Menu { public: friend MenuHandler; using MenuPtr = std::unique_ptr<Menu>; using ContentType = std::multimap<std::string, std::function<...
20.482759
89
0.739057
tanacchi
7669014953dbf29df600836c659ff415b53e49e4
6,266
cpp
C++
PTdecode/CImg-1.3.0/examples/use_greycstoration.cpp
philpem/libptouch
b69235ce6491874ad0d8637145c02e023c4ceee6
[ "Apache-2.0" ]
null
null
null
PTdecode/CImg-1.3.0/examples/use_greycstoration.cpp
philpem/libptouch
b69235ce6491874ad0d8637145c02e023c4ceee6
[ "Apache-2.0" ]
null
null
null
PTdecode/CImg-1.3.0/examples/use_greycstoration.cpp
philpem/libptouch
b69235ce6491874ad0d8637145c02e023c4ceee6
[ "Apache-2.0" ]
null
null
null
/* # # File : use_greycstoration.cpp # ( C++ source file ) # # Description : Example of use for the CImg plugin 'plugins/greycstoration.h'. # ( http://www.greyc.ensicaen.fr/~dtschump/greycstoration/ ) # This file is a part of the CImg Library project. # ...
45.079137
131
0.693744
philpem
7669c7de39a1dcacc2ae8b8aa7fc673224e6d041
24,748
hpp
C++
cosinesim/include/cosinesim.hpp
Xilinx/graphanalytics
7b8923b6494bc11708619edeac8d96eccfc76413
[ "BSD-3-Clause" ]
11
2021-01-31T17:50:55.000Z
2022-03-23T12:40:39.000Z
cosinesim/include/cosinesim.hpp
Xilinx/graphanalytics
7b8923b6494bc11708619edeac8d96eccfc76413
[ "BSD-3-Clause" ]
1
2021-03-11T22:02:19.000Z
2021-03-25T17:09:37.000Z
cosinesim/include/cosinesim.hpp
Xilinx/graphanalytics
7b8923b6494bc11708619edeac8d96eccfc76413
[ "BSD-3-Clause" ]
2
2021-03-02T18:41:47.000Z
2021-11-14T06:54:08.000Z
/* * Copyright 2020-2021 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
41.804054
130
0.719412
Xilinx
766c162e4fb3537a46f0e71c8fc2a485e7a4ee6e
1,827
cpp
C++
source/custom/nitclk_service.custom.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
24
2021-03-25T18:37:59.000Z
2022-03-03T16:33:56.000Z
source/custom/nitclk_service.custom.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
129
2021-04-03T15:16:04.000Z
2022-03-25T21:48:18.000Z
source/custom/nitclk_service.custom.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
24
2021-03-31T12:36:14.000Z
2022-02-25T03:01:25.000Z
#include <nitclk/nitclk_service.h> #include <stdexcept> namespace nitclk_grpc { const auto kErrorReadBufferTooSmall = -200229; const auto kWarningCAPIStringTruncatedToFitBuffer = 200026; //--------------------------------------------------------------------- //---------------------------------------------------------...
38.0625
166
0.614122
tdunkle
7670b032c7e811bd9a5216aa86fb9dd93b453465
1,956
cpp
C++
src/libdbcppp/ValueTableImpl.cpp
jgelinske/dbcppp
ce1b91a7dda0468ac27c6e15c290102bb052d4f8
[ "MIT" ]
null
null
null
src/libdbcppp/ValueTableImpl.cpp
jgelinske/dbcppp
ce1b91a7dda0468ac27c6e15c290102bb052d4f8
[ "MIT" ]
null
null
null
src/libdbcppp/ValueTableImpl.cpp
jgelinske/dbcppp
ce1b91a7dda0468ac27c6e15c290102bb052d4f8
[ "MIT" ]
null
null
null
#include "../../include/dbcppp/Network.h" #include "ValueTableImpl.h" using namespace dbcppp; std::unique_ptr<ValueTable> ValueTable::create( std::string&& name , boost::optional<std::unique_ptr<SignalType>>&& signal_type , std::unordered_map<int64_t, std::string>&& value_encoding_descriptions) { b...
29.19403
113
0.68865
jgelinske
767752ef90c2610734f7ae9272f1cf1371532bde
525
cpp
C++
UVa/Competitive_Programming_Exercises/05-Mathematics/01-Ad_Hoc_Mathematics_Problems/09-Polynomial/10268.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
UVa/Competitive_Programming_Exercises/05-Mathematics/01-Ad_Hoc_Mathematics_Problems/09-Polynomial/10268.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
UVa/Competitive_Programming_Exercises/05-Mathematics/01-Ad_Hoc_Mathematics_Problems/09-Polynomial/10268.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
#include <bits/stdc++.h> using namespace std; const int LEN = 1000000, SIZE = 1000000; long long x, n, c[SIZE]; char line[LEN], *p; long long Horner(long long X){ long long fX = c[0] * --n; for(int it = 1; it < n; it++) fX = fX * X + c[it] * ( n - it ); return fX; } int main(){ while(~scanf("%lld...
18.75
50
0.493333
TISparta
767756c6d1dfd5a1775d08cb4906735249b67ea5
1,596
cpp
C++
cpp/tests/data_structures/ray.cpp
LawrenceRafferty/ray-tracer-challenge
f54dfd4eb717e44c9e313be4bd28f8fad00094d0
[ "MIT" ]
null
null
null
cpp/tests/data_structures/ray.cpp
LawrenceRafferty/ray-tracer-challenge
f54dfd4eb717e44c9e313be4bd28f8fad00094d0
[ "MIT" ]
null
null
null
cpp/tests/data_structures/ray.cpp
LawrenceRafferty/ray-tracer-challenge
f54dfd4eb717e44c9e313be4bd28f8fad00094d0
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "../framework/catch.hpp" #include "../../src/data_structures/four_tuple/four_tuple.cpp" #include "../../src/data_structures/matrix/matrix.cpp" #include "../../src/data_structures/ray/ray.cpp" using data_structures::four_tuple; using data_structures::matrix; using data_structures::ray...
31.92
71
0.684211
LawrenceRafferty
767e6b89e4818d63cbcce2ea9819112e26c3d0cf
952
cpp
C++
uva/10139.cpp
larc/competitive_programming
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
1
2019-05-23T19:05:39.000Z
2019-05-23T19:05:39.000Z
uva/10139.cpp
larc/oremor
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
null
null
null
uva/10139.cpp
larc/oremor
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
null
null
null
// 10139 - Factovisors #include <cstdio> #define N 46340 int primes[N], n_primes = 0; void sieve() { bool not_prime[N] = { 0 }; primes[n_primes++] = 2; for(int i = 3; i < N ; ++i) if(!not_prime[i]) { primes[n_primes++] = i; for(int j = i * i; j < N; j += (i << 1)) not_prime[j] = 1; } } int fact...
13.222222
62
0.515756
larc
7686ddd6aa42246c19621fd380e748cc16378235
13,166
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_GLX_PBUFFER.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_GLX_PBUFFER.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_GLX_PBUFFER.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2004, Eran Guendelman. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################################### // p...
37.29745
174
0.570561
schinmayee
7688e6acf589f0ec81e903eb7be0c73c1b3d3729
2,425
cpp
C++
03/minik/src/target_x86/x86_register_pinning.cpp
nokia-wroclaw/nokia-book
dd397958b5db039a2f53e555c2becfc419065264
[ "MIT" ]
104
2015-06-30T07:41:42.000Z
2022-02-28T08:56:37.000Z
03/minik/src/target_x86/x86_register_pinning.cpp
nokia-wroclaw/nokia-book
dd397958b5db039a2f53e555c2becfc419065264
[ "MIT" ]
null
null
null
03/minik/src/target_x86/x86_register_pinning.cpp
nokia-wroclaw/nokia-book
dd397958b5db039a2f53e555c2becfc419065264
[ "MIT" ]
22
2015-06-11T14:40:49.000Z
2021-12-27T19:13:11.000Z
#include "x86_register_pinning.hpp" #include "ir/symbol_table.hpp" #include "x86_assembler.hpp" #include "utils/headers.hpp" #include "ir/ir_printer.hpp" #include <set> #include <unordered_map> #include <algorithm> #include <iostream> namespace { const std::set<Ir::Argument> regs = { X86_IrRegisters::EAX, X8...
29.938272
98
0.583918
nokia-wroclaw
768ba2602a8160d7e2db21f5c03cdc9a19e19fae
2,777
cpp
C++
Algorithms/tree_t(G)/Correctness/bruteForceValidator.cpp
lucaskeiler/AlgoritmosTCC
eccf14c2c872acb9e0728eb8948eee121b274f2e
[ "MIT" ]
null
null
null
Algorithms/tree_t(G)/Correctness/bruteForceValidator.cpp
lucaskeiler/AlgoritmosTCC
eccf14c2c872acb9e0728eb8948eee121b274f2e
[ "MIT" ]
null
null
null
Algorithms/tree_t(G)/Correctness/bruteForceValidator.cpp
lucaskeiler/AlgoritmosTCC
eccf14c2c872acb9e0728eb8948eee121b274f2e
[ "MIT" ]
null
null
null
#include <vector> #include "bruteForceValidator.hpp" #include <string> #include <algorithm> #include <iostream> void cleanInfectedArray(int *infected,int n,std::vector<int> infected_at_0){ for(int i=0;i<=n;i++) infected[i] = -1; for(auto vertex : infected_at_0) infected[vertex] = 0; } int simu...
24.359649
104
0.521066
lucaskeiler
7695bba116f7ae1561df05352e694a2c8d2c51b3
8,146
cpp
C++
src/main.cpp
mithi/mpc
ac1bf6f14bda9029207073661d69faba69155acb
[ "MIT" ]
121
2017-05-31T07:01:56.000Z
2022-03-28T18:05:44.000Z
src/main.cpp
mithi/mpc
ac1bf6f14bda9029207073661d69faba69155acb
[ "MIT" ]
3
2018-06-26T07:22:24.000Z
2019-05-05T14:00:17.000Z
src/main.cpp
mithi/mpc
ac1bf6f14bda9029207073661d69faba69155acb
[ "MIT" ]
67
2017-06-23T03:05:04.000Z
2022-03-23T03:37:48.000Z
#include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "MPC.h" #include "json.hpp" const int PORT = 4567; // for convenience using json = nlohmann::json; using namespace std; // Checks if ...
36.204444
102
0.489565
mithi
7698503577432f20e2efc6a238c0b105df00037e
8,521
cpp
C++
src/faststep/2recursive.cpp
michel94/fhgc-tool
4d3f011f606d1fbdad6791d1cbcdfa9ab83796a0
[ "MIT" ]
1
2018-08-23T09:15:54.000Z
2018-08-23T09:15:54.000Z
src/faststep/2recursive.cpp
michel94/fhgc-tool
4d3f011f606d1fbdad6791d1cbcdfa9ab83796a0
[ "MIT" ]
null
null
null
src/faststep/2recursive.cpp
michel94/fhgc-tool
4d3f011f606d1fbdad6791d1cbcdfa9ab83796a0
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <cassert> #include <string> #include <sstream> #include <map> #include <iostream> #include "utils/graph.h" #include "BinaryDecomposition.h" #include "ApproxGradient.h" using namespace std; int* NodeCommunities, *NodeLabels; int MAX_COM...
27.398714
154
0.618941
michel94
769b31fb9ef0f35f81be77bf4e1190f55f9c2258
5,766
cpp
C++
src/TriacDimmer.cpp
AJMansfield/TriacDimmer
b65479ec38f4169667824dad2ca30b86bb73d618
[ "Apache-2.0" ]
10
2018-12-19T05:08:23.000Z
2022-03-18T19:25:02.000Z
src/TriacDimmer.cpp
AJMansfield/TriacDimmer
b65479ec38f4169667824dad2ca30b86bb73d618
[ "Apache-2.0" ]
14
2017-03-13T16:47:04.000Z
2021-10-07T01:00:30.000Z
src/TriacDimmer.cpp
AJMansfield/TriacDimmer
b65479ec38f4169667824dad2ca30b86bb73d618
[ "Apache-2.0" ]
3
2018-07-14T16:46:20.000Z
2020-03-22T12:31:31.000Z
#include "TriacDimmer.h" #include <Arduino.h> #include <assert.h> #include <util/atomic.h> uint16_t TriacDimmer::detail::pulse_length; uint16_t TriacDimmer::detail::min_trigger; float TriacDimmer::detail::on_thresh; float TriacDimmer::detail::off_thresh; volatile bool TriacDimmer::detail::ch_A_en; volatile uint16_t T...
29.121212
112
0.701526
AJMansfield
371d97ef72bb564a2b56f6e68fd1e922a1730088
663
cpp
C++
Algorithm/unionfind/unionfind_xwd.cpp
andywu1998/C_and_Cpp
dd1eaed4f2321cca9bb23e91791668e2eb2622cf
[ "MIT" ]
null
null
null
Algorithm/unionfind/unionfind_xwd.cpp
andywu1998/C_and_Cpp
dd1eaed4f2321cca9bb23e91791668e2eb2622cf
[ "MIT" ]
1
2017-12-26T11:47:06.000Z
2017-12-26T11:47:06.000Z
Algorithm/unionfind/unionfind_xwd.cpp
andywu1998/C_and_Cpp
dd1eaed4f2321cca9bb23e91791668e2eb2622cf
[ "MIT" ]
2
2017-12-25T12:32:56.000Z
2017-12-26T15:16:06.000Z
#include <stdio.h> int pre[100]; int find(int x); void unite(int x, int y); int main() { int i, x, y; for (i = 0; i < 100; i++) { pre[i] = i; // printf("%d ", pre[i]); } int t; scanf("%d", &t); while (t--) { scanf("%d%d", &x, &y); unite(x, y); } sc...
15.418605
51
0.363499
andywu1998
37234c4c16d92cdee36d57b50d1381c3e4e672e3
3,044
cpp
C++
tools/converter/source/optimizer/merge/EliminateSqueezeExpandDims.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
tools/converter/source/optimizer/merge/EliminateSqueezeExpandDims.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
tools/converter/source/optimizer/merge/EliminateSqueezeExpandDims.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // EliminateSqueezeExpandDims.cpp // MNNConverter // // Created by MNN on 2020/12/03. // Copyright © 2018, Alibaba Group Holding Limited // #include "../TemplateMerge.hpp" #include "MNN/expr/ExprCreator.hpp" #include "MNN_generated.h" namespace MNN { namespace Express { class EliminateSqueezeExpandDims { publ...
31.381443
132
0.563403
JujuDel
37239605b4e641979c520fc3e11b184be411ffcd
4,222
cpp
C++
tests/atomic.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
19
2015-01-16T10:11:39.000Z
2022-02-17T01:48:25.000Z
tests/atomic.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
null
null
null
tests/atomic.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
3
2015-06-28T13:20:15.000Z
2015-12-01T08:35:35.000Z
/** * This is the tests for the atomic integers and boolean values */ // System Headers #include <iostream> #include <string> // Third-Party Headers // Other Headers #include "atomic.h" int main(int argc, char *argv[]) { bool error = false; /** * Check the atomic bool - setting values, flipping values, etc. ...
26.721519
97
0.570346
drbobbeaty
3725f0bb72b44597e4a3159092120954a2dd3e42
343
cpp
C++
Development/Games/Test_Game1/Game1.cpp
AaronAppel/QwerkE_Engine
662a4386b5068066b9139ea24e3c7fb14ed3177d
[ "BSD-3-Clause" ]
1
2018-03-31T18:16:43.000Z
2018-03-31T18:16:43.000Z
Development/Games/Test_Game1/Game1.cpp
AaronAppel/QwerkE_Engine
662a4386b5068066b9139ea24e3c7fb14ed3177d
[ "BSD-3-Clause" ]
null
null
null
Development/Games/Test_Game1/Game1.cpp
AaronAppel/QwerkE_Engine
662a4386b5068066b9139ea24e3c7fb14ed3177d
[ "BSD-3-Clause" ]
null
null
null
#include "Game1.h" // #include "../../../QwerkE_Framework/QwerkE.h" // #include "../../../Source/Engine.h" using namespace QwerkE; int main() { // Engine engine; // engine.Startup(); // // Scenes::AddScene(new GameScene()); // Scenes::SetCurrentScene()->SetIsEnabled(true); // // engine.Run(); // // engine.Te...
17.15
50
0.606414
AaronAppel
37270f79fde9771f1381c6a47baf9d74082fbfbc
516
cpp
C++
UVAprograms/PC12356.cpp
Landon-Brown1/1063-DS-Brown
64220948fbc69f7bfbd1ab234fe22da5de97fa6e
[ "MIT" ]
1
2019-12-23T16:26:20.000Z
2019-12-23T16:26:20.000Z
UVAprograms/PC12356.cpp
Landon-Brown1/1063-DS-Brown
64220948fbc69f7bfbd1ab234fe22da5de97fa6e
[ "MIT" ]
null
null
null
UVAprograms/PC12356.cpp
Landon-Brown1/1063-DS-Brown
64220948fbc69f7bfbd1ab234fe22da5de97fa6e
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> using namespace std; int main(){ int lineSize = 0; int lossReports = 0; bool new_line = true; ifstream inFile; inFile.open("12356.txt"); while(!inFile.eof()){ if(new_line == true){ inFile >> lineSize; inF...
19.111111
42
0.517442
Landon-Brown1
372c62dc7c3aedcbe1666820c0365408f0572976
678
cpp
C++
src/desktop/core/window/WindowEventHandler.cpp
Yellowkingg/algine
4d1a45cd65eb5569212866bd5470b1f0d3b43064
[ "MIT" ]
1
2022-02-05T21:39:36.000Z
2022-02-05T21:39:36.000Z
src/desktop/core/window/WindowEventHandler.cpp
Yellowkingg/algine
4d1a45cd65eb5569212866bd5470b1f0d3b43064
[ "MIT" ]
null
null
null
src/desktop/core/window/WindowEventHandler.cpp
Yellowkingg/algine
4d1a45cd65eb5569212866bd5470b1f0d3b43064
[ "MIT" ]
null
null
null
#include <algine/core/window/WindowEventHandler.h> namespace algine { // so that you don't need to implement handling of each event void WindowEventHandler::mouseMove(double x, double y) {} void WindowEventHandler::mouseClick(MouseKey key) {} void WindowEventHandler::mouseKeyPress(MouseKey key) {} void WindowEventHan...
37.666667
67
0.803835
Yellowkingg
372f1e1ebe7d2afcf0a70759c1e4206c95b23c20
3,691
cpp
C++
src/hunters/suspiciouscallstack.cpp
fengjixuchui/memhunter
3f85e66d5d4cf83bd7b5d0d457a8e62c746ba703
[ "MIT" ]
354
2018-08-13T18:19:21.000Z
2022-03-20T10:37:20.000Z
src/hunters/suspiciouscallstack.cpp
ZhuHuiBeiShaDiao/memhunter
37ce1488fa041199cc8761e473947affc3286b7b
[ "MIT" ]
3
2019-09-27T11:33:52.000Z
2020-04-21T17:15:28.000Z
src/hunters/suspiciouscallstack.cpp
ZhuHuiBeiShaDiao/memhunter
37ce1488fa041199cc8761e473947affc3286b7b
[ "MIT" ]
90
2018-11-15T12:37:51.000Z
2022-02-14T11:12:39.000Z
#include "common.h" bool HunterSuspiciousCallStack::Execute(HunterCommon::ProcessCollection &processesToAnalyze) { bool ret = false; static const size_t MIN_NUMBER_OF_FRAMES = 3; for (HunterCommon::ProcessCollection::const_iterator processElementIt = processesToAnalyze.begin(); processElementIt != processesToAna...
44.46988
141
0.688973
fengjixuchui
37319c0319c9beec633d4ef1869cea76b5a6f4ca
4,997
cpp
C++
src/test/rand/main.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
null
null
null
src/test/rand/main.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
1
2021-09-27T23:44:17.000Z
2021-09-27T23:44:17.000Z
src/test/rand/main.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
null
null
null
#include <QTest> #include <QtCore> #include <QHostInfo> #include <tglobal.h> #include <stdio.h> #include <random> static QMutex mutex; static QByteArray randomString() { QByteArray data; data.reserve(128); #if QT_VERSION >= 0x040700 data.append(QByteArray::number(QDateTime::currentMSecsSinceEpoch())); #...
17.782918
88
0.618971
WebWorksCollection
373221d575996760a4e03ecf2738d41cff5db1e7
628
cpp
C++
Data Structures Using C++, Second Edition, D.S. Malik/Chapter 1 - SOFTWARE ENGINEERING PRINCIPLES AND C++ CLASSES/Software Development Phase/pre-1.cpp
jesushilarioh/data-structures-and-algorithms
6c519f81920371a86566a77b4b57995747e71c64
[ "MIT" ]
null
null
null
Data Structures Using C++, Second Edition, D.S. Malik/Chapter 1 - SOFTWARE ENGINEERING PRINCIPLES AND C++ CLASSES/Software Development Phase/pre-1.cpp
jesushilarioh/data-structures-and-algorithms
6c519f81920371a86566a77b4b57995747e71c64
[ "MIT" ]
null
null
null
Data Structures Using C++, Second Edition, D.S. Malik/Chapter 1 - SOFTWARE ENGINEERING PRINCIPLES AND C++ CLASSES/Software Development Phase/pre-1.cpp
jesushilarioh/data-structures-and-algorithms
6c519f81920371a86566a77b4b57995747e71c64
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; // Precondition: The value of inches must be nonnegative. // Postcondition: If the value of inches is < 0, the // function returns -1.0; otherwise, the function // returns the equivalent length in centimeters. double inchesToCentimeters(double inches) { if (inches...
23.259259
69
0.621019
jesushilarioh
373243be3a0f0bb7946ab34f880cdbd482e9e951
1,007
hpp
C++
XmlInterface.hpp
rafaelgc/EasyReceipt
c4dae474fff0bba14f0f64ff485e3e3e19a9f399
[ "MIT" ]
1
2021-07-12T06:36:10.000Z
2021-07-12T06:36:10.000Z
XmlInterface.hpp
rafaelgc/SplitQt
c4dae474fff0bba14f0f64ff485e3e3e19a9f399
[ "MIT" ]
null
null
null
XmlInterface.hpp
rafaelgc/SplitQt
c4dae474fff0bba14f0f64ff485e3e3e19a9f399
[ "MIT" ]
null
null
null
#ifndef XMLINTERFACE_HPP #define XMLINTERFACE_HPP #include <QMessageBox> #include <QInputDialog> #include <QFileDialog> #include "Economy/TicketContainer.hpp" #include "Economy/Ticket.hpp" #include "Persistence/XmlExporter.hpp" #include "Persistence/XmlImporter.hpp" #include "Config.hpp" #include "TicketLoadedListene...
24.560976
84
0.754717
rafaelgc
37345226581b822feeb6b3ff02f4dc193c60ed0b
5,402
cc
C++
chrome/browser/sharing/sms/sms_remote_fetcher_unittest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/sharing/sms/sms_remote_fetcher_unittest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/sharing/sms/sms_remote_fetcher_unittest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sharing/sms/sms_remote_fetcher.h" #include "base/run_loop.h" #include "base/test/bind.h" #include "base/test/scoped_feature_list...
33.345679
77
0.705109
Ron423c
3736951d03cf5d64e5585d166b6897eda9c7153c
24,559
cpp
C++
patched-driver-sdk/customSDK/linux/installer/bin/SampleCode/RemoteAttestation/service_provider/service_provider.cpp
shwetasshinde24/Panoply
9a762c24dec61250d953d1769b070df7f0dd0317
[ "Apache-2.0" ]
30
2017-02-08T02:53:36.000Z
2022-03-24T14:26:17.000Z
linux-sdk/SampleCode/RemoteAttestation/service_provider/service_provider.cpp
sslab-gatech/SGX-Shield
04b09dd6e5dc538fbc9533a2264ed4b8612b0f48
[ "MIT" ]
4
2017-05-25T00:39:02.000Z
2018-04-27T10:38:47.000Z
patched-driver-sdk/customSDK/SampleCode/RemoteAttestation/service_provider/service_provider.cpp
shwetasshinde24/Panoply
9a762c24dec61250d953d1769b070df7f0dd0317
[ "Apache-2.0" ]
8
2017-10-31T11:12:35.000Z
2020-06-15T04:12:51.000Z
/* * Copyright (C) 2011-2016 Intel Corporation. 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 li...
37.154312
81
0.579747
shwetasshinde24
373ad04fad47d05df1c6c5b5d2d61046989670c6
588
cpp
C++
atcoder/abc082/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc082/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc082/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; int N; vector<int> A; int solve() { map<int,int> M; for (auto ai : A) { ++M[ai]; } int ans = 0; for (auto e : M) { auto v = e.first, c = e.second; if (v < c) { ans += (c - v); } else if (v > c) { ...
15.473684
39
0.411565
xirc
373ae37e35d86789d2c4e8f93a36588181b1ac15
85,817
cpp
C++
layers/image.cpp
ViveStudiosCN/vulkan-openvr-sample
5ad8a610ceb1c4592994fd2ebebd5e99c885dccc
[ "Apache-2.0", "BSD-3-Clause" ]
1
2017-06-03T17:30:24.000Z
2017-06-03T17:30:24.000Z
layers/image.cpp
ViveStudiosCN/vulkan-openvr-sample
5ad8a610ceb1c4592994fd2ebebd5e99c885dccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
layers/image.cpp
ViveStudiosCN/vulkan-openvr-sample
5ad8a610ceb1c4592994fd2ebebd5e99c885dccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2015-2016 The Khronos Group Inc. * Copyright (c) 2015-2016 Valve Corporation * Copyright (c) 2015-2016 LunarG, Inc. * Copyright (C) 2015-2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
59.512483
132
0.658331
ViveStudiosCN
373b117f6a75884a889f895a41693f0ca8d20e70
1,229
cpp
C++
src/game/Engine.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
25
2016-05-27T11:53:58.000Z
2021-10-17T00:13:41.000Z
src/game/Engine.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
1
2016-07-09T05:25:03.000Z
2016-07-09T05:25:03.000Z
src/game/Engine.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
16
2016-05-28T23:06:50.000Z
2022-01-26T13:47:12.000Z
#include <bgame/impl.h> /////////////////////////////////////////////////////////////////////////////// namespace { static char argbuf[MAX_STRING_CHARS]; } /////////////////////////////////////////////////////////////////////////////// size_t Engine::argc() { return ptr( G_ARGC ); } ///////////////////////...
20.483333
79
0.369406
jumptohistory
373da282affed2393de968fc8a6e422412da656f
8,523
cc
C++
src/codegen_C.cc
KnowingNothing/ExprAutodiff
e5ff4a8c28f069a5d04e792ced5645ff00dd8920
[ "MIT" ]
1
2020-06-05T02:47:49.000Z
2020-06-05T02:47:49.000Z
src/codegen_C.cc
KnowingNothing/ExprAutodiff
e5ff4a8c28f069a5d04e792ced5645ff00dd8920
[ "MIT" ]
null
null
null
src/codegen_C.cc
KnowingNothing/ExprAutodiff
e5ff4a8c28f069a5d04e792ced5645ff00dd8920
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 Size Zheng * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify...
24.421203
83
0.55931
KnowingNothing
373efcd83c6bc392ddaa79202534dfe9e9e1ffeb
10,749
cpp
C++
src/ta_package_generator.cpp
temoto-framework/temoto_action_assistant
4bfc5683c134763b6f0da8a2f0821bb82e657100
[ "Apache-2.0" ]
1
2019-01-24T14:38:51.000Z
2019-01-24T14:38:51.000Z
src/ta_package_generator.cpp
temoto-telerobotics/temoto_action_assistant
4bfc5683c134763b6f0da8a2f0821bb82e657100
[ "Apache-2.0" ]
null
null
null
src/ta_package_generator.cpp
temoto-telerobotics/temoto_action_assistant
4bfc5683c134763b6f0da8a2f0821bb82e657100
[ "Apache-2.0" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2019 TeMoto Telerobotics * * 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://w...
37.848592
127
0.704438
temoto-framework
37409cd62ad1f2939856a2d278920a01850d05f0
9,787
cpp
C++
shared/acsdkManufactory/src/CookBook.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
1,272
2017-08-17T04:58:05.000Z
2022-03-27T03:28:29.000Z
shared/acsdkManufactory/src/CookBook.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
1,948
2017-08-17T03:39:24.000Z
2022-03-30T15:52:41.000Z
shared/acsdkManufactory/src/CookBook.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
630
2017-08-17T06:35:59.000Z
2022-03-29T04:04:44.000Z
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
37.07197
117
0.693164
immortalkrazy
3740aee8be59226b028a761638a18f929e334cea
4,085
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/cmakeprojectmanager/cmakeprojectnodes.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/cmakeprojectmanager/cmakeprojectnodes.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/cmakeprojectmanager/cmakeprojectnodes.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
33.483607
98
0.704529
kevinlq
3740c2da7ab325a306aea76d62eeb8a790c628b3
597
cpp
C++
lib/Direction.cpp
prakashutoledo/pacman-cpp
0d3e46bd79970d722bc83fd5aeb52a34ad6c27e5
[ "Apache-2.0" ]
1
2021-04-19T12:10:01.000Z
2021-04-19T12:10:01.000Z
lib/Direction.cpp
prakashutoledo/pacman-cpp
0d3e46bd79970d722bc83fd5aeb52a34ad6c27e5
[ "Apache-2.0" ]
null
null
null
lib/Direction.cpp
prakashutoledo/pacman-cpp
0d3e46bd79970d722bc83fd5aeb52a34ad6c27e5
[ "Apache-2.0" ]
null
null
null
#include "Direction.h" string Direction::String() { stringstream result; result << "X: " << x << " Y: " << y << " "; return result.str(); } Direction* Direction::GetRandomly(double min_abs) { Direction *new_obj = new Direction(); new_obj->SetRandomly(min_abs); return ...
19.258065
51
0.536013
prakashutoledo
3743ec87b3d751d4f90c0af546b826df8d6e1ca3
709
hpp
C++
ventura/write_file.hpp
TyRoXx/ventura
e261d3a0589819f0709e43211974312be8a4e935
[ "MIT" ]
null
null
null
ventura/write_file.hpp
TyRoXx/ventura
e261d3a0589819f0709e43211974312be8a4e935
[ "MIT" ]
2
2016-06-11T12:56:02.000Z
2016-08-10T20:31:11.000Z
ventura/write_file.hpp
TyRoXx/ventura
e261d3a0589819f0709e43211974312be8a4e935
[ "MIT" ]
null
null
null
#ifndef VENTURA_WRITE_FILE_HPP #define VENTURA_WRITE_FILE_HPP #include <ventura/open.hpp> #include <silicium/c_string.hpp> #include <ventura/sink/file_sink.hpp> #include <silicium/sink/append.hpp> #define VENTURA_HAS_WRITE_FILE VENTURA_HAS_FILE_SINK namespace ventura { #if VENTURA_HAS_WRITE_FILE SILICIUM_USE_RES...
24.448276
99
0.708039
TyRoXx
374747313fca46368c85bd593d6f909c38f0505f
39,866
cc
C++
chrome/browser/media/media_engagement_contents_observer_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/media/media_engagement_contents_observer_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/media/media_engagement_contents_observer_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/media/media_engagement_contents_observer.h" #include <memory> #include <string> #include <utility> #include <vector> #include "...
34.666087
80
0.745322
zipated
37488e4ed1c20b848543f40e1bf6ad46e78e7ff1
151
hpp
C++
examples/rpc/rpc-server.hpp
stanionascu/smoc
b21d7cee1964525e3ca10747e861d4c9fb59fd89
[ "MIT" ]
null
null
null
examples/rpc/rpc-server.hpp
stanionascu/smoc
b21d7cee1964525e3ca10747e861d4c9fb59fd89
[ "MIT" ]
null
null
null
examples/rpc/rpc-server.hpp
stanionascu/smoc
b21d7cee1964525e3ca10747e861d4c9fb59fd89
[ "MIT" ]
null
null
null
#pragma once #include "rpc-common.hpp" #include <msgpack.hpp> void execute_rpc_request(rpc_call_name call_name, const msgpack::object &msg);
18.875
79
0.741722
stanionascu
3748adf1102078a8eaf8a0b0779ec7df77d8f231
3,932
cpp
C++
work/msg_handler.cpp
walker-zheng/code
2959e4227e168aab4d5420bc836768730f2bffdd
[ "MIT" ]
4
2018-05-18T10:58:41.000Z
2021-12-29T16:17:53.000Z
work/msg_handler.cpp
walker-zheng/code
2959e4227e168aab4d5420bc836768730f2bffdd
[ "MIT" ]
4
2017-10-09T09:42:09.000Z
2019-02-21T01:31:09.000Z
work/msg_handler.cpp
walker-zheng/code
2959e4227e168aab4d5420bc836768730f2bffdd
[ "MIT" ]
1
2021-04-09T00:58:19.000Z
2021-04-09T00:58:19.000Z
#include <list> /* Just a placeholder for a *real* smart-pointer (recommend std::tr1::shared_ptr, or similar). */ template < typename Type > struct not_so_smart_pointer { not_so_smart_pointer(Type* ptr) : ptr(ptr) { } not_so_smart_pointer(not_so_smart_pointer const& rhs) : ptr(rhs.ptr) { ...
20.373057
88
0.667345
walker-zheng
374971e09e86eee7df8e34264c4958241d6739a7
887
cpp
C++
lanelet2/lanelet2_core/example/api_style_example.cpp
alanjclark/autoware.ai
ba97edbbffb6f22e78912bf96400a59ef6a13daf
[ "Apache-2.0" ]
465
2018-10-26T14:10:49.000Z
2022-03-28T09:34:38.000Z
lanelet2/lanelet2_core/example/api_style_example.cpp
alanjclark/autoware.ai
ba97edbbffb6f22e78912bf96400a59ef6a13daf
[ "Apache-2.0" ]
236
2018-11-06T06:02:09.000Z
2022-03-29T06:10:22.000Z
lanelet2/lanelet2_core/example/api_style_example.cpp
alanjclark/autoware.ai
ba97edbbffb6f22e78912bf96400a59ef6a13daf
[ "Apache-2.0" ]
252
2018-11-01T19:52:29.000Z
2022-03-27T08:21:44.000Z
/* This is more or less pseudo code and illustrates how the usage of the library * could look like in * the end. Always following the principle "Keep in mind that code is read much * more often than * written." * (https://wiki.qt.io/Coding_Conventions) * * Also the way PCL separates algorithms into classes wit...
28.612903
80
0.702368
alanjclark
374c48cff4794591c319d5d801d9bb1eb793894c
62,259
cpp
C++
test/unit/RobotsTest.cpp
privacore/open-source-search-engine
dac28de673068039381ca3f66521ea4c1eaf6a1e
[ "Apache-2.0" ]
134
2016-05-30T13:29:37.000Z
2021-06-18T02:13:51.000Z
test/unit/RobotsTest.cpp
mehmet-biter/open-source-search-engine
dac28de673068039381ca3f66521ea4c1eaf6a1e
[ "Apache-2.0" ]
65
2016-10-31T16:02:28.000Z
2020-04-30T14:18:57.000Z
test/unit/RobotsTest.cpp
mehmet-biter/open-source-search-engine
dac28de673068039381ca3f66521ea4c1eaf6a1e
[ "Apache-2.0" ]
22
2016-05-30T13:29:39.000Z
2020-06-30T08:43:38.000Z
#include <gtest/gtest.h> #include "Robots.h" #include "Url.h" #include "Log.h" #include <fstream> #include <sstream> #include <string> #define TEST_DOMAIN "http://example.com" // // test class // class TestRobots : public Robots { public: TestRobots( const char *robotsTxt, int32_t robotsTxtLen, const char *userAgen...
33.891671
196
0.59956
privacore
3752df214c319f97c92c7f64d8f7283a88a3d030
9,591
cpp
C++
src/prod/src/ktllogger/sys/tools/GetMBInfo/GetMBInfo.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ktllogger/sys/tools/GetMBInfo/GetMBInfo.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ktllogger/sys/tools/GetMBInfo/GetMBInfo.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once #include <string....
28.975831
146
0.534772
gridgentoo
3758b21b299b310393354ec031372f46e5be1357
4,590
cpp
C++
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CStringUtils.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
2
2020-07-23T06:01:37.000Z
2021-02-25T06:48:42.000Z
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CStringUtils.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
null
null
null
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CStringUtils.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
1
2020-11-11T12:54:06.000Z
2020-11-11T12:54:06.000Z
/* * Author: bwilliams * Created: Jan 21, 2011 * * Copyright (C) 2011-2016 VMware, Inc. All rights reserved. -- VMware Confidential */ #include "stdafx.h" #include "Exception/CCafException.h" #include "Common/IAppConfig.h" #include "CStringUtils.h" #include <algorithm> #include <cctype> #include <functional> ...
24.545455
105
0.698475
mrehman29
37602fbe5eb07598c10c0661ea94e5507ae8dd8e
11,346
cpp
C++
XPowerControl/FirstSetup.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
4
2021-11-11T17:03:20.000Z
2022-01-14T18:13:41.000Z
XPowerControl/FirstSetup.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
1
2022-01-14T00:39:49.000Z
2022-01-14T00:39:49.000Z
XPowerControl/FirstSetup.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
null
null
null
#define _WINSOCK_DEPRECATED_NO_WARNINGS #include "afxdialogex.h" #include "FirstSetup.h" #include "FirstSetupDlg2.h" #include "FirstSetupDlg3.h" #include "FirstSetupDlg4.h" #include "wstring_transform.h" #include "TokenRetriever.h" #include "Version.h" #include <memory> #include <iostream> #include <string> #include <c...
38.20202
890
0.681738
snowpoke
376084fdce63f2cb873fdb629b8aac53f3ca2255
1,243
cpp
C++
src/util/callback/progress.cpp
amadavan/Stuka
f54f8981383194a2d116d4c98e89e5d9da8f65a5
[ "MIT" ]
3
2019-08-19T15:12:25.000Z
2021-02-02T00:59:16.000Z
src/util/callback/progress.cpp
amadavan/Stuka
f54f8981383194a2d116d4c98e89e5d9da8f65a5
[ "MIT" ]
null
null
null
src/util/callback/progress.cpp
amadavan/Stuka
f54f8981383194a2d116d4c98e89e5d9da8f65a5
[ "MIT" ]
1
2021-07-12T08:42:17.000Z
2021-07-12T08:42:17.000Z
// // Created by Avinash Madavan on 2019-05-13. // #include <stuka/util/callback/progress.h> stuka::util::callback::Progress::Progress(size_t n_max) : n_max_(n_max) { n_p_ = ((size_t) (n_max_ / 10000) > 0) ? (n_max_ / 10000) : 1; timer_.start(); } void stuka::util::callback::Progress::callback(const stuka::Optim...
37.666667
117
0.521319
amadavan
376321fc2ec835fbfc84816e748a90c2b50a0e89
646
hpp
C++
libs/renderer/include/sge/renderer/texture/scoped_volume_lock.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/renderer/include/sge/renderer/texture/scoped_volume_lock.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/renderer/include/sge/renderer/texture/scoped_volume_lock.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_RENDERER_TEXTURE_SCOPED_VOLUME_LOCK_HPP_INCLUDED #define SGE_RENDERER_TEXTURE_SCOPED_VO...
38
73
0.803406
cpreh
376400fb322713a96583bf55ff19a8638b35c2c4
3,444
hpp
C++
include/eve/arch/abi.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
include/eve/arch/abi.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
include/eve/arch/abi.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
33.115385
100
0.506388
clayne
3766313757ecf2bfeabf5864df8634b6c4924128
304
hpp
C++
include/BeatMap.hpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
1
2022-02-01T19:33:21.000Z
2022-02-01T19:33:21.000Z
include/BeatMap.hpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
null
null
null
include/BeatMap.hpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
null
null
null
/* * Rhythm Run for Nintendo 3DS * Lauren Kelly, 2021 */ #pragma once #include <deque> #include <fstream> #include <iostream> class BeatMap { public: float bpm = 150; std::deque<long> beats; BeatMap() {}; BeatMap(std::ifstream& a_file); long peekBeat(); long popBeat(); };
13.818182
35
0.621711
thejsa
376846471bf98a465d05a96852d9b1522f7795af
10,279
cpp
C++
src/qt/qtbase/tests/auto/widgets/graphicsview/qgraphicspolygonitem/tst_qgraphicspolygonitem.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/tests/auto/widgets/graphicsview/qgraphicspolygonitem/tst_qgraphicspolygonitem.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/widgets/graphicsview/qgraphicspolygonitem/tst_qgraphicspolygonitem.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
30.055556
120
0.716704
power-electro
37698d28e6c183c83d41754587ab2aee9b9c0563
2,475
cpp
C++
test/PropertyListTest.cpp
ammgws/uecho
b05de85e6269af9489731e35c2a408c3fdf37154
[ "BSD-3-Clause" ]
null
null
null
test/PropertyListTest.cpp
ammgws/uecho
b05de85e6269af9489731e35c2a408c3fdf37154
[ "BSD-3-Clause" ]
null
null
null
test/PropertyListTest.cpp
ammgws/uecho
b05de85e6269af9489731e35c2a408c3fdf37154
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************** * * uEcho for C * * Copyright (C) Satoshi Konno 2015 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <boost/test/unit_test.hpp> #include <stdlib.h>...
31.329114
103
0.714343
ammgws
376ca7a467b45cec561495c7f07f8aba4d03dafa
126,149
cpp
C++
multimedia/directx/dmusic/dmusic/dmport.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
multimedia/directx/dmusic/dmusic/dmport.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
multimedia/directx/dmusic/dmusic/dmport.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// // dmport.cpp // // Copyright (c) 1997-1999 Microsoft Corporation. All rights reserved. // // Note: CDirectMusicPort : Implements the WDM version of IDirectMusicPort. // // @doc EXTERNAL // // // READ THIS!!!!!!!!!!!!!!!!!!!!!!!!!!! // // 4530: C++ exception handler used, but unwind semantics are not e...
30.798096
156
0.555383
npocmaka
37737d2f19631ea6f07d3008971a617e6b2db15c
6,326
cpp
C++
worker/cppworker/log/LogFormatter.cpp
venkatsridhar95/hera
8b8891cfd56fade4613f5304f61cb7b0792d7c9a
[ "Apache-2.0" ]
250
2019-06-04T16:23:44.000Z
2022-03-30T10:22:12.000Z
worker/cppworker/log/LogFormatter.cpp
venkatsridhar95/hera
8b8891cfd56fade4613f5304f61cb7b0792d7c9a
[ "Apache-2.0" ]
108
2019-05-30T00:11:13.000Z
2022-03-31T19:01:45.000Z
worker/cppworker/log/LogFormatter.cpp
venkatsridhar95/hera
8b8891cfd56fade4613f5304f61cb7b0792d7c9a
[ "Apache-2.0" ]
80
2019-05-14T19:18:32.000Z
2022-03-19T14:08:13.000Z
// Copyright 2020 PayPal Inc. // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2....
24.807843
111
0.670724
venkatsridhar95
37749d961f01c43bf3172501e515b69ebf892a3c
2,808
cpp
C++
gddadrv/extrapi.cpp
SiZiOUS/wcegdda
3c003e2e3d9a7f128c87ebbba540ac247a02fd39
[ "MIT" ]
4
2018-04-08T14:48:52.000Z
2020-03-10T19:55:02.000Z
gddadrv/extrapi.cpp
SiZiOUS/wcegdda
3c003e2e3d9a7f128c87ebbba540ac247a02fd39
[ "MIT" ]
null
null
null
gddadrv/extrapi.cpp
SiZiOUS/wcegdda
3c003e2e3d9a7f128c87ebbba540ac247a02fd39
[ "MIT" ]
2
2018-03-25T17:32:11.000Z
2018-08-23T15:41:10.000Z
#include "extrapi.hpp" /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Function: StrStr Description: Finds the first occurrence of a substring within a string. The comparison is case sensitive. Arguments: LPCTSTR lpFirst - Address of the string being searched. LPCTSTR ...
22.464
99
0.605769
SiZiOUS
37784bf8f70fcbeee82b7d6972e48c1b950fbb01
1,000
cpp
C++
GeeksForGeeks/Practice/CloneALinkedListWithNextAndRandomPointer.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
GeeksForGeeks/Practice/CloneALinkedListWithNextAndRandomPointer.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
GeeksForGeeks/Practice/CloneALinkedListWithNextAndRandomPointer.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
/* the node structure is as follows struct Node { int data; Node* next; Node* arb; };*/ // Should return the head of the copied linked list the //output will be 1 if successfully copied Node * copyList(Node *head) { unordered_map<Node*, Node*> m; Node* curr = head; while(curr != NULL){ ...
22.727273
79
0.516
Ashwanigupta9125
3779527e6930d3d8605ce0926ea65da5acf8ca8d
1,485
hpp
C++
include/eve/module/real/core/function/regular/simd/arm/neon/refine_rec.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
include/eve/module/real/core/function/regular/simd/arm/neon/refine_rec.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
include/eve/module/real/core/function/regular/simd/arm/neon/refine_rec.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
36.219512
100
0.506397
orao
377c7f6422cc922c07be9d827cf3c8a30c7e878f
29,769
cpp
C++
base/cluster/mgmt/cluscfg/postcfg/resourceentry.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/cluster/mgmt/cluscfg/postcfg/resourceentry.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/cluster/mgmt/cluscfg/postcfg/resourceentry.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000-2002 Microsoft Corporation // // Module Name: // ResourceEntry.h // // Description: // ResourceEntry implementation. // // Maintained By: // Ozan Ozhan (OzanO) 10-JUL-2001 // ...
24.123987
164
0.460815
npocmaka
377df3a5e46471b4f35a74e02de6a911348a7947
1,448
cpp
C++
lintcode/Cpp/605.SequenceReconstruction_henrytien.cpp
henrytien/AlgorithmSolutions
62339269f4fa698ddd2e73458caef875af05af8f
[ "MIT" ]
15
2020-06-27T03:28:39.000Z
2021-08-13T10:42:24.000Z
lintcode/Cpp/605.SequenceReconstruction_henrytien.cpp
henrytien/AlgorithmSolutions
62339269f4fa698ddd2e73458caef875af05af8f
[ "MIT" ]
40
2020-06-27T03:29:53.000Z
2020-11-05T12:29:49.000Z
lintcode/Cpp/605.SequenceReconstruction_henrytien.cpp
henrytien/AlgorithmSolutions
62339269f4fa698ddd2e73458caef875af05af8f
[ "MIT" ]
22
2020-07-16T03:23:43.000Z
2022-02-19T16:00:55.000Z
class Solution { public: /** * @param org: a permutation of the integers from 1 to n * @param seqs: a list of sequences * @return: true if it can be reconstructed only one or false */ bool sequenceReconstruction(vector<int> &org, vector<vector<int>> &seqs) { unordered_map<int, i...
25.857143
83
0.347376
henrytien
37804293d66a8519f002ff1a111e65f7c9fbc8a2
9,345
cpp
C++
Graph.cpp
taniho0707/libmouse
a8ea7ac0a54d798d2010e594a7f60c5af6cbbf1d
[ "MIT" ]
null
null
null
Graph.cpp
taniho0707/libmouse
a8ea7ac0a54d798d2010e594a7f60c5af6cbbf1d
[ "MIT" ]
null
null
null
Graph.cpp
taniho0707/libmouse
a8ea7ac0a54d798d2010e594a7f60c5af6cbbf1d
[ "MIT" ]
null
null
null
#include "Graph.h" using namespace std; Graph::Graph() : WEIGHT_STRAIGHT(90), WEIGHT_DIAGO(63) { nodes = new std::array<Node*, 1986>; for (int i=0; i<(1984+2); ++i) { nodes->at(i) = new Node(i); } resetCosts(); } Graph::~Graph(){ for (int i=0; i<(1984+2); ++i) { delete nodes->at(i); } delete nodes; } ...
29.021739
112
0.617335
taniho0707
37819b45a3ab3fe72222c66c9cd5cd78bbdb1e70
33,501
cpp
C++
src/cpp/pea/ppppp.cpp
umma-zannat/ginan
a4d1a3bb8696267f23d26e8c6a2f6080b87bb494
[ "Apache-2.0" ]
1
2022-01-12T15:14:55.000Z
2022-01-12T15:14:55.000Z
src/cpp/pea/ppppp.cpp
umma-zannat/ginan
a4d1a3bb8696267f23d26e8c6a2f6080b87bb494
[ "Apache-2.0" ]
null
null
null
src/cpp/pea/ppppp.cpp
umma-zannat/ginan
a4d1a3bb8696267f23d26e8c6a2f6080b87bb494
[ "Apache-2.0" ]
1
2022-01-12T15:15:12.000Z
2022-01-12T15:15:12.000Z
#include <string> #include <tuple> #include <list> #include <map> #include <eigenIncluder.hpp> using std::string; using std::tuple; using std::list; using std::map; #include "observations.hpp" #include "streamTrace.hpp" #include "corrections.hpp" #include "forceModels.hpp" #include "navigation.hpp" #include "acsCon...
23.104138
160
0.625593
umma-zannat
3782003357d5a0d68c01be2606319991802725a7
3,288
hpp
C++
src/configure/lua/Type.hpp
hotgloupi/configure
888cf725c93df5a1cf01794cc0a581586a82855c
[ "BSD-3-Clause" ]
1
2015-11-13T10:37:35.000Z
2015-11-13T10:37:35.000Z
src/configure/lua/Type.hpp
hotgloupi/configure
888cf725c93df5a1cf01794cc0a581586a82855c
[ "BSD-3-Clause" ]
19
2015-02-10T17:18:58.000Z
2015-07-11T11:31:08.000Z
src/configure/lua/Type.hpp
hotgloupi/configure
888cf725c93df5a1cf01794cc0a581586a82855c
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "State.hpp" #include "store_exception.hpp" #include <configure/error.hpp> #include <boost/units/detail/utility.hpp> #include <functional> namespace configure { namespace lua { namespace convert { template<typename T> inline T& to_ref(T& value) { return value; } template<typename T> ...
22.675862
87
0.630474
hotgloupi
37821900a106390bf32597590d09fc4a13736969
11,025
cpp
C++
src/lib/data_types_conversion.cpp
d3suu/gameboy-disassembler
68f942fa729113fc49c8a4d7c5f7b3e77d4f5f83
[ "MIT" ]
null
null
null
src/lib/data_types_conversion.cpp
d3suu/gameboy-disassembler
68f942fa729113fc49c8a4d7c5f7b3e77d4f5f83
[ "MIT" ]
null
null
null
src/lib/data_types_conversion.cpp
d3suu/gameboy-disassembler
68f942fa729113fc49c8a4d7c5f7b3e77d4f5f83
[ "MIT" ]
null
null
null
#include "data_types_conversion.h" namespace d3s{ int bintoint(char data){ switch(data){ case '\x00': return 0; break; case '\x01': return 1; break; case '\x02': return 2; break; case '\x03': return 3; break; case '\x04': return 4; break; case '\x05': ret...
14.170951
34
0.485261
d3suu
37889071201521bff9d3155ea996b928e481dd1e
511
cpp
C++
src/s2mJointIntraBone.cpp
CamWilhelm/biorbd
67d36e77d90cc09aa748c3acf2c2bdff5065d3c9
[ "MIT" ]
null
null
null
src/s2mJointIntraBone.cpp
CamWilhelm/biorbd
67d36e77d90cc09aa748c3acf2c2bdff5065d3c9
[ "MIT" ]
null
null
null
src/s2mJointIntraBone.cpp
CamWilhelm/biorbd
67d36e77d90cc09aa748c3acf2c2bdff5065d3c9
[ "MIT" ]
null
null
null
#define BIORBD_API_EXPORTS #include "../include/s2mJointIntraBone.h" s2mJointIntraBone::s2mJointIntraBone() : Joint() { setType(); //ctor } s2mJointIntraBone::s2mJointIntraBone(RigidBodyDynamics::JointType joint_type) : Joint(joint_type){ setType(); } s2mJointIntraBone::s2mJointIntraBone(Ri...
23.227273
119
0.714286
CamWilhelm
378996174b6f92cff6b5a2057a01377928d7b9c4
1,542
hpp
C++
test/node-gdal-async/src/utils/warp_options.hpp
mmomtchev/yatag
37802e760a33939b65ceaa4379634529d0dc0092
[ "0BSD" ]
42
2021-03-26T17:34:52.000Z
2022-03-18T14:15:31.000Z
test/node-gdal-async/src/utils/warp_options.hpp
mmomtchev/yatag
37802e760a33939b65ceaa4379634529d0dc0092
[ "0BSD" ]
29
2021-06-03T14:24:01.000Z
2022-03-23T15:43:58.000Z
test/node-gdal-async/src/utils/warp_options.hpp
mmomtchev/yatag
37802e760a33939b65ceaa4379634529d0dc0092
[ "0BSD" ]
8
2021-05-14T19:26:37.000Z
2022-03-21T13:44:42.000Z
#ifndef __WARP_OPTIONS_H__ #define __WARP_OPTIONS_H__ // node #include <node.h> // nan #include "../nan-wrapper.h" // gdal #include <gdal_priv.h> #include <gdalwarper.h> #include "../gdal_dataset.hpp" #include "number_list.hpp" #include "string_list.hpp" using namespace v8; namespace node_gdal { // A class for ...
18.804878
76
0.672503
mmomtchev
378dec74cbc6fe09bcd5fdb39d8363a5d569ee54
18,593
cpp
C++
Extern/mssdk_dx7/samples/Multimedia/DPlay/src/DPSlots/client.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Extern/mssdk_dx7/samples/Multimedia/DPlay/src/DPSlots/client.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Extern/mssdk_dx7/samples/Multimedia/DPlay/src/DPSlots/client.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
//----------------------------------------------------------------------------- // File: Client.cpp // // Desc: Slot machine client DirectPlay. // // Copyright (C) 1996-1999 Microsoft Corporation. All Rights Reserved. //----------------------------------------------------------------------------- #include <windows.h> ...
31.248739
102
0.500834
Ybalrid
378df4622128c9a616d54f2f47b4ba413121e0c7
9,065
cpp
C++
dsp++/src/arch/x86/sse.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
dsp++/src/arch/x86/sse.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
dsp++/src/arch/x86/sse.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
#include <dsp++/platform.h> #ifdef DSP_ARCH_FAMILY_X86 #include <algorithm> #include <dsp++/simd.h> #include "sse.h" #include "sse_utils.h" #include <xmmintrin.h> void* dsp::simd::detail::x86_sse_alloc(int size, int align) { return _mm_malloc(size, align); } void dsp::simd::detail::x86_sse_free(void *p) { _mm_fr...
29.241935
145
0.615996
andrzejc
378e1170828fea2214614aa5942e6ade3016e53f
5,024
hpp
C++
PlayRho/Dynamics/Joints/FunctionalJointVisitor.hpp
ivorne/PlayRho
6ef036f46cd0c901f174f944ce40d56ec052248e
[ "Zlib" ]
null
null
null
PlayRho/Dynamics/Joints/FunctionalJointVisitor.hpp
ivorne/PlayRho
6ef036f46cd0c901f174f944ce40d56ec052248e
[ "Zlib" ]
null
null
null
PlayRho/Dynamics/Joints/FunctionalJointVisitor.hpp
ivorne/PlayRho
6ef036f46cd0c901f174f944ce40d56ec052248e
[ "Zlib" ]
null
null
null
/* * Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/PlayRho * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this...
39.873016
86
0.671377
ivorne
378e42e91867bcb7c7223b6ed88432b59f3a4c58
10,094
cpp
C++
3rdparty/meshlab-master/src/meshlabplugins/edit_align/meshtree.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
3rdparty/meshlab-master/src/meshlabplugins/edit_align/meshtree.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
3rdparty/meshlab-master/src/meshlabplugins/edit_align/meshtree.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
/**************************************************************************** * MeshLab o o * * A versatile mesh processing toolbox o o * * _ O _ * * Co...
37.385185
189
0.610561
HoEmpire
3790d94c9ddbd8c850a24caac5c31df82b0b92c1
482
cpp
C++
main.cpp
dominikbelter/stdThreadExamples
9120beb27a1ffb42223b52362c894872d072f200
[ "MIT" ]
null
null
null
main.cpp
dominikbelter/stdThreadExamples
9120beb27a1ffb42223b52362c894872d072f200
[ "MIT" ]
null
null
null
main.cpp
dominikbelter/stdThreadExamples
9120beb27a1ffb42223b52362c894872d072f200
[ "MIT" ]
null
null
null
#include <thread> #include <iostream> int main() { try { std::cout << "Thread examples. Run demo programs:\n"; std::cout << "threads_demo - single thread\n"; std::cout << "async_demo - asynchronous demo\n"; std::cout << "false_sharing_demo - false sharing demo\n"; std::cout ...
25.368421
65
0.556017
dominikbelter
379126b8f24920cb9804a7fbeeef5b6a34a36d26
1,436
cpp
C++
src/tests/impl/Read_plink_file_impl_test.cpp
baoxingsong/mlmm
253de26654f7a107929045b80b415768cc180ca0
[ "MIT" ]
1
2018-03-03T22:29:02.000Z
2018-03-03T22:29:02.000Z
src/tests/impl/Read_plink_file_impl_test.cpp
baoxingsong/mlmm
253de26654f7a107929045b80b415768cc180ca0
[ "MIT" ]
null
null
null
src/tests/impl/Read_plink_file_impl_test.cpp
baoxingsong/mlmm
253de26654f7a107929045b80b415768cc180ca0
[ "MIT" ]
null
null
null
// // Created by Baoxing song on 16.05.18. // #include "../../impl/phenotype_impl.h" #include "../../model/model.h" #include "../../impl/impl.h" #include "../../../googletest/googletest/include/gtest/gtest.h" #include "../../impl/Read_plink_file_impl.h" TEST(Read_tped_file, c1){ for( int32_t i =0 ; i<1000; ++i) ...
37.789474
89
0.660167
baoxingsong
3791bf11e977b00f496e4eee16b400c2a8151c1e
1,121
hpp
C++
include/RadonFramework/IO/Decoders/ImageDecoder.hpp
tak2004/RF_UI
848518a6defc6bf871f8cd306d6bd5d486ee401f
[ "Apache-2.0" ]
null
null
null
include/RadonFramework/IO/Decoders/ImageDecoder.hpp
tak2004/RF_UI
848518a6defc6bf871f8cd306d6bd5d486ee401f
[ "Apache-2.0" ]
null
null
null
include/RadonFramework/IO/Decoders/ImageDecoder.hpp
tak2004/RF_UI
848518a6defc6bf871f8cd306d6bd5d486ee401f
[ "Apache-2.0" ]
null
null
null
#ifndef RF_IO_DECODERS_IMAGEDECODER_HPP #define RF_IO_DECODERS_IMAGEDECODER_HPP #if _MSC_VER > 1000 #pragma once #endif #include <RadonFramework/Drawing/PixelFormat.hpp> #include <RadonFramework/IO/Decoder.hpp> #include <RadonFramework/Memory/AutoPointerArray.hpp> namespace RadonFramework::Drawing { class Image; } n...
24.369565
66
0.790366
tak2004
3792a28db32c68e4ad8f2e598277e288e4b51fb4
7,556
cpp
C++
estimation/test/test_srukf_imu7z3q_linux.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
1
2015-10-21T14:36:43.000Z
2015-10-21T14:36:43.000Z
estimation/test/test_srukf_imu7z3q_linux.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
null
null
null
estimation/test/test_srukf_imu7z3q_linux.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
null
null
null
/********* blob robotics 2014 ********* * title: test_linux.cpp * brief: test for ukf library (linux) * author: adrian jimenez-gonzalez * e-mail: blob.robotics@gmail.com /*************************************/ #include <iostream> #include <sstream> #include <fstream> #include <math.h> #include <blob/math.h> #i...
29.400778
97
0.426284
blobrobots