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
620374730fb0995f6d6fc2b14626960db49fa7f4
1,061
cpp
C++
sw/e-paper-board/src/HttpFetcher.cpp
JakubAndrysek/E-paper-board-ESP32
538febf9775d31835b9f2fa61cd37ae120238fce
[ "MIT" ]
null
null
null
sw/e-paper-board/src/HttpFetcher.cpp
JakubAndrysek/E-paper-board-ESP32
538febf9775d31835b9f2fa61cd37ae120238fce
[ "MIT" ]
null
null
null
sw/e-paper-board/src/HttpFetcher.cpp
JakubAndrysek/E-paper-board-ESP32
538febf9775d31835b9f2fa61cd37ae120238fce
[ "MIT" ]
null
null
null
/** * @file HttpFetcher.cpp * @author Kuba Andrýsek (email@kubaandrysek.cz) * @brief Http Fetcher - získává data z internetu * @date 2022-04-10 * * @copyright Copyright (c) 2022 Kuba Andrýsek * */ #include "HttpFetcher.hpp" #include "exception/HttpRequestException.h" #include "exception/WifiConnException.h" ...
22.574468
58
0.638077
JakubAndrysek
62042bb3c90a8a2a56ca9b18207acb9da501c99f
2,366
cc
C++
code/render/coregraphics/vertexlayout.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
377
2018-10-24T08:34:21.000Z
2022-03-31T23:37:49.000Z
code/render/coregraphics/vertexlayout.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
11
2020-01-22T13:34:46.000Z
2022-03-07T10:07:34.000Z
code/render/coregraphics/vertexlayout.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
23
2019-07-13T16:28:32.000Z
2022-03-20T09:00:59.000Z
//------------------------------------------------------------------------------ // vertexlayout.cc // (C)2017-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "render/stdneb.h" #include "coregraphics/config.h" #include "vertexlay...
27.511628
80
0.530854
sirAgg
6208788b1ab535205b5bf299020a212669e8d50f
1,897
cpp
C++
OOP_Video_Games_Data_Structures/Mario_Platformer/obstruction_sprite.cpp
estradjm/Class_Work
dc32f5d15ea53b3cace0a3bd873eab385bfb680d
[ "Apache-2.0" ]
7
2018-10-31T08:22:17.000Z
2021-11-19T00:41:35.000Z
OOP_Video_Games_Data_Structures/Mario_Platformer/obstruction_sprite.cpp
estradjm/Class_Work
dc32f5d15ea53b3cace0a3bd873eab385bfb680d
[ "Apache-2.0" ]
null
null
null
OOP_Video_Games_Data_Structures/Mario_Platformer/obstruction_sprite.cpp
estradjm/Class_Work
dc32f5d15ea53b3cace0a3bd873eab385bfb680d
[ "Apache-2.0" ]
1
2020-03-23T01:19:59.000Z
2020-03-23T01:19:59.000Z
#include "obstruction_sprite.h" #include "image_library.h" #include "image_sequence.h" namespace csis3700 { obstruction_sprite::obstruction_sprite(float initial_x, float initial_y, ALLEGRO_BITMAP *image) : sprite(initial_x, initial_y) { al_draw_bitmap(image, initial_x, initial_y, 0); if (image == ima...
34.490909
132
0.600949
estradjm
620df08526200389fea0d2478c6d953d8b88a02b
18,641
cc
C++
src/util.cc
unclearness/ugu
641c5170147091e82578fa6bcd84f3484172f487
[ "MIT" ]
18
2019-12-29T17:27:55.000Z
2022-02-21T11:02:35.000Z
src/util.cc
unclearness/ugu
641c5170147091e82578fa6bcd84f3484172f487
[ "MIT" ]
1
2021-07-22T12:04:53.000Z
2021-07-22T12:04:53.000Z
src/util.cc
unclearness/ugu
641c5170147091e82578fa6bcd84f3484172f487
[ "MIT" ]
2
2021-02-26T06:58:36.000Z
2021-07-05T12:24:09.000Z
/* * Copyright (C) 2019, unclearness * All rights reserved. */ #include <fstream> #include "ugu/util/io_util.h" #include "ugu/util/math_util.h" #include "ugu/util/raster_util.h" #include "ugu/util/rgbd_util.h" namespace { bool Depth2PointCloudImpl(const ugu::Image1f& depth, const ugu::Image3b& color, ...
32.362847
80
0.612682
unclearness
620eedbea94b69b261f8911bc2a684500a7554ec
2,874
hpp
C++
sdk/identity/azure-identity/inc/azure/identity/client_certificate_credential.hpp
JinmingHu-MSFT/azure-sdk-for-cpp
933486385a54a5a09a7444dbd823425f145ad75a
[ "MIT" ]
1
2022-01-19T22:54:41.000Z
2022-01-19T22:54:41.000Z
sdk/identity/azure-identity/inc/azure/identity/client_certificate_credential.hpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
sdk/identity/azure-identity/inc/azure/identity/client_certificate_credential.hpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT /** * @file * @brief Client Certificate Credential and options. */ #pragma once #include "azure/identity/dll_import_export.hpp" #include <azure/core/credentials/credentials.hpp> #include <azure/core/credentials/token_cre...
29.628866
100
0.699026
JinmingHu-MSFT
620f429f3f495053b9bf74c5e30eff72907278fe
1,950
cc
C++
CalibFormats/CastorObjects/src/CastorChannelCoder.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CalibFormats/CastorObjects/src/CastorChannelCoder.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CalibFormats/CastorObjects/src/CastorChannelCoder.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/** \class CastorChannelCoder Container for ADC<->fQ conversion constants for HCAL/Castor QIE $Original author: ratnikov */ #include <iostream> #include "CalibFormats/CastorObjects/interface/CastorChannelCoder.h" #include "CalibFormats/CastorObjects/interface/QieShape.h" CastorChannelCoder::CastorChannel...
35.454545
108
0.620513
ckamtsikis
62118b04432af314622917fa5f785e503a02649d
3,583
cpp
C++
src/aten/src/ATen/native/npu/DiagKernelNpu.cpp
Ascend/pytorch
39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc
[ "BSD-3-Clause" ]
1
2021-12-02T03:07:35.000Z
2021-12-02T03:07:35.000Z
src/aten/src/ATen/native/npu/DiagKernelNpu.cpp
Ascend/pytorch
39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc
[ "BSD-3-Clause" ]
1
2021-11-12T07:23:03.000Z
2021-11-12T08:28:13.000Z
src/aten/src/ATen/native/npu/DiagKernelNpu.cpp
Ascend/pytorch
39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2020, Huawei Technologies.All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless required by appli...
34.12381
114
0.673179
Ascend
6211bc69c80917d0126fa9ea034fd82551348b1d
203
cpp
C++
core/objects/utility/Dynamic.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
20
2021-04-02T04:30:08.000Z
2022-03-01T09:52:01.000Z
core/objects/utility/Dynamic.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
null
null
null
core/objects/utility/Dynamic.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
1
2022-01-22T11:44:52.000Z
2022-01-22T11:44:52.000Z
#include "objects/utility/Dynamic.h" NAMESPACE_SPH_BEGIN Dynamic::Dynamic() = default; /// Needs to be in .cpp to compile with clang, for some reason Dynamic::~Dynamic() = default; NAMESPACE_SPH_END
18.454545
62
0.748768
pavelsevecek
6212bc8831b2ba6f1511f39ce1398e5a6770e78c
5,734
cpp
C++
Codes/String/SuffixArrayShort.cpp
cjtoribio/Algorithms
78499613a9b018eb5e489307b14e31e5fe8227e3
[ "MIT" ]
18
2015-05-24T20:28:46.000Z
2021-01-27T02:34:43.000Z
Codes/String/SuffixArrayShort.cpp
cjtoribio/Algorithms
78499613a9b018eb5e489307b14e31e5fe8227e3
[ "MIT" ]
null
null
null
Codes/String/SuffixArrayShort.cpp
cjtoribio/Algorithms
78499613a9b018eb5e489307b14e31e5fe8227e3
[ "MIT" ]
4
2015-05-24T20:28:32.000Z
2021-01-30T04:04:55.000Z
typedef vector<int> VI; struct SuffixArray { int N; string A; VI SA, RA, LCP; SuffixArray(const string &B) : N(B.size()), A(B), SA(B.size()), RA(B.size()), LCP(B.size()) { for (int i = 0; i < N; ++i) SA[i] = i, RA[i] = A[i]; if(N == 1) RA[0] = 0; } void countingSort(int H) { auto vrank = [&](int i) {...
26.423963
109
0.452389
cjtoribio
62156bb4143b403e6bd804aa6095f394decd67db
39,862
cpp
C++
Kuplung/kuplung/utilities/renderers/default-forward/DefaultForwardRenderer.cpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
14
2017-02-17T17:12:40.000Z
2021-12-22T01:55:06.000Z
Kuplung/kuplung/utilities/renderers/default-forward/DefaultForwardRenderer.cpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
null
null
null
Kuplung/kuplung/utilities/renderers/default-forward/DefaultForwardRenderer.cpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
1
2019-10-15T08:10:10.000Z
2019-10-15T08:10:10.000Z
// // DefaultForwardRenderer.cpp // Kuplung // // Created by Sergey Petrov on 12/16/15. // Copyright © 2015 supudo.net. All rights reserved. // #include "DefaultForwardRenderer.hpp" #include "kuplung/utilities/stb/stb_image_write.h" #include <boost/algorithm/string/predicate.hpp> #include <boost/filesystem.hpp> #i...
57.027182
251
0.736365
supudo
6217a1836b7e95e4c902fa7d2642aa70a2c8edc7
4,122
cpp
C++
src/legecy/stereo_block_matching.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
src/legecy/stereo_block_matching.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
src/legecy/stereo_block_matching.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
#include <opencv2/opencv.hpp> const char *windowDisparity = "Disparity"; cv::Mat imgLeft; cv::Mat imgRight; cv::Mat imgDisparity16S; cv::Mat imgDisparity8U; int ndisparities= 16*5; int SADWindowSize= 21; double minVal; double maxVal; cv::StereoBM sbm( cv::StereoBM::NARROW_PRESET,ndisparities,SADWindowSize )...
25.288344
148
0.673459
behnamasadi
6218b5bec030cb10643d1c699b703620e70da83f
950
cpp
C++
42dynamicProgrammingPractice/dynamicPragrammingPractice/dynamicPragrammingPractice/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
1
2019-05-01T04:51:14.000Z
2019-05-01T04:51:14.000Z
42dynamicProgrammingPractice/dynamicPragrammingPractice/dynamicPragrammingPractice/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
null
null
null
42dynamicProgrammingPractice/dynamicPragrammingPractice/dynamicPragrammingPractice/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
null
null
null
// // main.cpp // dynamicPragrammingPractice // // Created by Gguomingyue on 2019/2/20. // Copyright © 2019 Gmingyue. All rights reserved. // #include <iostream> using namespace std; static char a[6] = {'m', 'i', 't', 'c', 'm', 'u'}; static char b[6] = {'m', 't', 'a', 'c', 'n', 'u'}; static int n = 6; static int ...
19.791667
51
0.458947
mingyuefly
6220912b9a447006b2176693483116c5a94863e7
4,939
cpp
C++
src/xbox/xbox_interface.cpp
abaire/xbdm_gdb_bridge
06440896f1f2863cd81cedd3e2bcae1efc32f286
[ "Unlicense" ]
5
2021-12-22T02:43:41.000Z
2022-03-20T19:18:44.000Z
src/xbox/xbox_interface.cpp
abaire/xbdm_gdb_bridge
06440896f1f2863cd81cedd3e2bcae1efc32f286
[ "Unlicense" ]
1
2022-01-11T06:18:04.000Z
2022-01-11T06:18:04.000Z
src/xbox/xbox_interface.cpp
abaire/xbdm_gdb_bridge
06440896f1f2863cd81cedd3e2bcae1efc32f286
[ "Unlicense" ]
null
null
null
#include "xbox_interface.h" #include <unistd.h> #include <boost/asio/dispatch.hpp> #include <cassert> #include <iostream> #include <utility> #include "gdb/gdb_transport.h" #include "net/delegating_server.h" #include "net/select_thread.h" #include "notification/xbdm_notification.h" #include "util/logging.h" #include ...
26.411765
79
0.715125
abaire
6223b18bd74bb8dd8120c7c358f1f1422a950de1
4,420
hpp
C++
include/System/IO/FileInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/IO/FileInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/IO/FileInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.IO.FileSystemInfo #include "System/IO/FileSystemInfo.hpp" #inc...
47.021277
162
0.703846
darknight1050
62262d7d75a5698815745d969c27290e961e9934
4,906
cpp
C++
pxr/base/tf/pyTracing.cpp
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
1
2021-09-25T12:49:37.000Z
2021-09-25T12:49:37.000Z
pxr/base/tf/pyTracing.cpp
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
null
null
null
pxr/base/tf/pyTracing.cpp
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
1
2018-10-03T19:08:33.000Z
2018-10-03T19:08:33.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
31.050633
80
0.683245
yurivict
6229c2d484d9b4c389c63aaaa3e3980fbf6198d1
1,106
cpp
C++
random_noise_generator/random_noise_factory.cpp
eborghi10/noisy_fit_2d
a1839fac91eda333b9869c9a7add5c6e757a58e2
[ "MIT" ]
null
null
null
random_noise_generator/random_noise_factory.cpp
eborghi10/noisy_fit_2d
a1839fac91eda333b9869c9a7add5c6e757a58e2
[ "MIT" ]
null
null
null
random_noise_generator/random_noise_factory.cpp
eborghi10/noisy_fit_2d
a1839fac91eda333b9869c9a7add5c6e757a58e2
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <string> // Base class #include "noises/random_noise_base.h" // Noise classes #include "noises/linear.h" #include "noises/quadratic.h" #include "noises/simplified_cholesky.h" namespace rng { using RandomNoiseBasePtr = std::unique_ptr<RandomNoiseBase>; class RandomNoise...
24.577778
96
0.67179
eborghi10
62337011da9d3d36f5ce052d32f3d148646109d5
177
hpp
C++
Cpf/Plugins/Platform/Concurrency/Interface/Concurrency/Concurrency.hpp
All8Up/cpf
81c68fbb69619261a5aa058cda73e35812ed3543
[ "MIT" ]
6
2017-02-15T01:50:32.000Z
2019-07-05T13:50:57.000Z
Cpf/Plugins/Platform/Concurrency/Interface/Concurrency/Concurrency.hpp
All8Up/cpf
81c68fbb69619261a5aa058cda73e35812ed3543
[ "MIT" ]
40
2017-04-06T13:29:02.000Z
2018-04-20T23:39:21.000Z
Cpf/Plugins/Platform/Concurrency/Interface/Concurrency/Concurrency.hpp
All8Up/cpf
81c68fbb69619261a5aa058cda73e35812ed3543
[ "MIT" ]
3
2017-08-03T15:17:01.000Z
2019-03-08T07:58:59.000Z
////////////////////////////////////////////////////////////////////////// #pragma once namespace CPF { namespace Concurrency { static constexpr int kMaxThreads = 64; } }
16.090909
74
0.412429
All8Up
62337383665e6d6b0264360ab9ed7e191ee04b7a
168
hpp
C++
src/main.hpp
ziggi/rustext
5dcfe9f07f9a13b4f2979f98663a68c2ac62e163
[ "MIT" ]
20
2016-09-19T20:37:36.000Z
2022-02-26T14:16:28.000Z
src/main.hpp
ziggi/rustext
5dcfe9f07f9a13b4f2979f98663a68c2ac62e163
[ "MIT" ]
6
2016-12-27T16:49:01.000Z
2020-11-22T16:50:29.000Z
src/main.hpp
ziggi/rustext
5dcfe9f07f9a13b4f2979f98663a68c2ac62e163
[ "MIT" ]
1
2019-02-21T08:10:43.000Z
2019-02-21T08:10:43.000Z
/* About: rustext main Author: ziggi */ #ifndef MAIN_H #define MAIN_H #include <map> #include "common.hpp" #include "converter.hpp" logprintf_t logprintf; #endif
10.5
24
0.720238
ziggi
62360aef9279d488b4ee2c24e9591aedb0cd169d
834
cpp
C++
src/actions/move_by_action.cpp
tomalbrc/rawket-engine
2b7da4f33c874154120fc2d1529081f4f4ae33c7
[ "MIT" ]
null
null
null
src/actions/move_by_action.cpp
tomalbrc/rawket-engine
2b7da4f33c874154120fc2d1529081f4f4ae33c7
[ "MIT" ]
1
2016-03-18T13:54:22.000Z
2016-08-11T22:02:28.000Z
src/actions/move_by_action.cpp
tomalbrc/FayEngine
2b7da4f33c874154120fc2d1529081f4f4ae33c7
[ "MIT" ]
null
null
null
// // move_by_action.cpp // rawket // // Created by Tom Albrecht on 09.12.15. // // #include "move_by_action.hpp" RKT_NAMESPACE_BEGIN move_by_action_ptr move_by_action::create(double pduration, vec2f offset) { move_by_action_ptr p(new move_by_action()); p->init(pduration, offset); return p; } bool ...
19.857143
116
0.707434
tomalbrc
623939f0120a593b016902b94a91af7d88e57e7c
8,257
cpp
C++
src/Equations/Fluid/HottailRateTermHighZ.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
12
2020-09-07T11:19:10.000Z
2022-02-17T17:40:19.000Z
src/Equations/Fluid/HottailRateTermHighZ.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
110
2020-09-02T15:29:24.000Z
2022-03-09T09:50:01.000Z
src/Equations/Fluid/HottailRateTermHighZ.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
3
2021-05-21T13:24:31.000Z
2022-02-11T14:43:12.000Z
/** * Implementation of equation term representing the runaway generation rate * due to hottail when using an analytic distribution function */ #include "DREAM/Equations/Fluid/HottailRateTermHighZ.hpp" using namespace DREAM; /** * Constructor. * * gsl_altPc* contains parameters and functions needed * to eval...
34.987288
138
0.669977
chalmersplasmatheory
623a159d3ca2db1b550deccf4256c78327c053ba
3,197
hpp
C++
Examples/ProgAnalysis/Cfg.hpp
jusito/WALi-OpenNWA
2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99
[ "MIT" ]
15
2015-03-07T17:25:57.000Z
2022-02-04T20:17:00.000Z
src/wpds/Examples/ProgAnalysis/Cfg.hpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
1
2018-03-03T05:58:55.000Z
2018-03-03T12:26:10.000Z
src/wpds/Examples/ProgAnalysis/Cfg.hpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
15
2015-09-25T17:44:35.000Z
2021-07-18T18:25:38.000Z
#ifndef _WALI_CFG_HPP_ #define _WALI_CFG_HPP_ /* * @author Akash Lal */ /* * This file includes an abstract class for a Control Flow Graph (CFG). A CFG is represented * as a graph over CFGNodes and CFGEdges. * * This abstract class is meant to provide just enough interface to be able to * construct a WPDS. ...
25.373016
92
0.684079
jusito
623bfc1dbecdd6ebf1bfdefa4e2bb2b501853294
2,740
cpp
C++
LifeBrush/Source/LifeBrush/Simulation/Brownian.cpp
timdecode/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
33
2019-04-23T23:00:09.000Z
2021-11-09T11:44:09.000Z
LifeBrush/Source/LifeBrush/Simulation/Brownian.cpp
MyelinsheathXD/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
1
2019-10-09T15:57:56.000Z
2020-03-05T20:01:01.000Z
LifeBrush/Source/LifeBrush/Simulation/Brownian.cpp
MyelinsheathXD/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
6
2019-04-25T00:10:55.000Z
2021-04-12T05:16:28.000Z
// Copyright (c) 2019 Timothy Davison. All rights reserved. #include "LifeBrush.h" #include "Simulation/FlexElements.h" #include "Brownian.h" void USingleParticleBrownianSimulation::attach() { rand.GenerateNewSeed(); } void USingleParticleBrownianSimulation::detach() { } void USingleParticleBrownianSimulation::...
21.574803
90
0.724453
timdecode
623c158b82f5ffc0d0db2e2fb7c1f16ace9c978f
2,652
cpp
C++
src/Camera2D.cpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
1
2016-05-21T12:45:20.000Z
2016-05-21T12:45:20.000Z
src/Camera2D.cpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
null
null
null
src/Camera2D.cpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
null
null
null
// Camera2D.cpp // SAGE Includes #include <SAGE/Camera2D.hpp> namespace SAGE { const Camera2D Camera2D::DefaultCamera; int Camera2D::DefaultWidth = 1280; int Camera2D::DefaultHeight = 720; Camera2D::Camera2D() { m_Position = Vector2::Zero; m_Rotation = 0.0f; m_Scale = Vector2::One; m_Width = DefaultWidt...
19.791045
116
0.707391
jasonwnorris
9a8b7cab21f5563369369e89adf76a80a30f01c3
5,975
cpp
C++
opengl/texture.cpp
yRezaei/cpp-utils
3e1ba264bdb6e2339b7b5f2c4e5c3ab7d8097332
[ "MIT" ]
null
null
null
opengl/texture.cpp
yRezaei/cpp-utils
3e1ba264bdb6e2339b7b5f2c4e5c3ab7d8097332
[ "MIT" ]
null
null
null
opengl/texture.cpp
yRezaei/cpp-utils
3e1ba264bdb6e2339b7b5f2c4e5c3ab7d8097332
[ "MIT" ]
null
null
null
#include "../rendering/gl_utility.hpp" #include "texture.h" namespace gl { int format_to_texture(image::Format format) { switch (format) { case image::ALPHA: case image::GRAYSCALE: return GL_RED; case image::GRAYSCALE_ALPHA: ASSERT("Unkown format 'GRAYSCALE_ALPHA'!!!!"); case image::RGB: return ...
33.757062
167
0.743096
yRezaei
9a90a34a50edc5648df12b76cb1b02e0be8f77fc
737
cpp
C++
InfoX/lungimea_coordonate_segment.cpp
jbara2002/Informatica_LCIB
ff9db6d7d6119ba835750cc2d408079f76b852df
[ "CC0-1.0" ]
1
2022-03-31T21:45:03.000Z
2022-03-31T21:45:03.000Z
InfoX/lungimea_coordonate_segment.cpp
jbara2002/Informatica_LCIB
ff9db6d7d6119ba835750cc2d408079f76b852df
[ "CC0-1.0" ]
null
null
null
InfoX/lungimea_coordonate_segment.cpp
jbara2002/Informatica_LCIB
ff9db6d7d6119ba835750cc2d408079f76b852df
[ "CC0-1.0" ]
null
null
null
// Citesc coordonatele A(x1,y1), B(x2,y2). // Afiseaza lungimea AB si coordonatele mijlocului segmentului AB. #include <iostream> #include <math.h> using namespace std; int main(){ float x1, y1, x2, y2, ab, c1, c2; cout << "Introdu coordonata punctului A - x1: "; cin >> x1; cout << "Introdu coordonata p...
29.48
117
0.573948
jbara2002
9a92781c5880a10d8cbdff21bdb1f9650bb73f75
12,314
cpp
C++
cmd_vcf_sample_summary.cpp
Yichen-Si/cramore
18ed327c2bb9deb6c2ec4243d259b93142304719
[ "Apache-2.0" ]
2
2019-03-04T23:08:17.000Z
2021-08-24T08:10:03.000Z
cmd_vcf_sample_summary.cpp
Yichen-Si/cramore
18ed327c2bb9deb6c2ec4243d259b93142304719
[ "Apache-2.0" ]
2
2018-09-19T05:16:20.000Z
2020-10-01T18:28:36.000Z
cmd_vcf_sample_summary.cpp
Yichen-Si/cramore
18ed327c2bb9deb6c2ec4243d259b93142304719
[ "Apache-2.0" ]
3
2018-09-06T22:04:40.000Z
2019-08-19T16:55:42.000Z
#include "bcf_filter_arg.h" #include "cramore.h" #include "bcf_ordered_reader.h" int32_t cmdVcfSampleSummary(int32_t argc, char** argv) { std::string inVcf; std::string out; std::string reg; std::vector<std::string> sumFields; int32_t minDistBp = 0; int32_t verbose = 1000; bool countVariants = false; //...
33.82967
183
0.617265
Yichen-Si
9a96b1ef62c7fd3cd7363e2485646d7bc9ee2186
589
cpp
C++
volume2/1161_10May2006_1186596.cpp
andriybuday/timus
a5cdc03f3ca8e7878220b8e0a0c72343f98ee1eb
[ "MIT" ]
null
null
null
volume2/1161_10May2006_1186596.cpp
andriybuday/timus
a5cdc03f3ca8e7878220b8e0a0c72343f98ee1eb
[ "MIT" ]
null
null
null
volume2/1161_10May2006_1186596.cpp
andriybuday/timus
a5cdc03f3ca8e7878220b8e0a0c72343f98ee1eb
[ "MIT" ]
null
null
null
//1161 #include <stdio.h> #include <math.h> int arr[107]; double res = 0; void Sq(int* a, int n){ int p = a[n>>1]; int i = 0 , j = n; int temp; do{ while(a[i] < p)i++; while(a[j] > p)j--; if(i <= j){ temp = a[i]; a[i] = a[j]; a[j] = temp; i++; j--; } }while(i <= j); if(j >...
12.270833
27
0.419355
andriybuday
9a989fbef319496656a1b096f8e75ab1160136fc
4,103
cpp
C++
src/solver.cpp
oygx210/dmsc-visualizer
c0d571beb5dc6a4c76ef27b9d57139cb48376756
[ "MIT" ]
null
null
null
src/solver.cpp
oygx210/dmsc-visualizer
c0d571beb5dc6a4c76ef27b9d57139cb48376756
[ "MIT" ]
null
null
null
src/solver.cpp
oygx210/dmsc-visualizer
c0d571beb5dc6a4c76ef27b9d57139cb48376756
[ "MIT" ]
1
2021-12-13T02:28:00.000Z
2021-12-13T02:28:00.000Z
#include "dmsc/solver.hpp" #include "dmsc/glm_include.hpp" #include <cmath> #include <ctime> #include <fstream> #include <random> namespace dmsc { float Solver::nextCommunication(const InterSatelliteLink& edge, const float time_0) { // edge is never visible? float t_visible = nextVisibility(edge, time_0); ...
32.307087
99
0.520107
oygx210
9a9dec98aa589837c992ea7c58f860fcf1dbefad
3,700
cpp
C++
hardware/libraries/Elektron/MNMDataEncoder.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
hardware/libraries/Elektron/MNMDataEncoder.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
hardware/libraries/Elektron/MNMDataEncoder.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
#include "Elektron.hh" #include "ElektronDataEncoder.hh" #include "MNMDataEncoder.hh" void MNMDataToSysexEncoder::init(DATA_ENCODER_INIT(uint8_t *_sysex, uint16_t _sysexLen), MidiUartParent *_uart) { ElektronDataToSysexEncoder::init(DATA_ENCODER_INIT(_sysex, _sysexLen), _uart); lastByte = 0; lastCnt = 0; isFir...
20.786517
111
0.652703
anupam19
9a9ea4fd5b4657ee6f817ddef3d9c02f4b17b117
674
cpp
C++
solution.cpp
kylianlee/acmicpc_11000
df4fc833ee5aef7385250683d69405400557687e
[ "MIT" ]
null
null
null
solution.cpp
kylianlee/acmicpc_11000
df4fc833ee5aef7385250683d69405400557687e
[ "MIT" ]
null
null
null
solution.cpp
kylianlee/acmicpc_11000
df4fc833ee5aef7385250683d69405400557687e
[ "MIT" ]
null
null
null
// // Created by Kylian Lee on 2021/09/18. // #include <iostream> #include <vector> #include <queue> #include <utility> using namespace std; priority_queue<pair<int, int>, vector<pair<int, int>>, greater<>> pq; int main(){ int class_num; scanf("%d", &class_num); for (int i = 0; i < class_num; ++i) { int s...
19.823529
69
0.591988
kylianlee
9a9fffcd98f63cbc05284239b58ae4182f83c68b
3,301
cpp
C++
addons/ofxKinectForWindows2/example/src/ofApp.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
null
null
null
addons/ofxKinectForWindows2/example/src/ofApp.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
null
null
null
addons/ofxKinectForWindows2/example/src/ofApp.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
null
null
null
#include "ofApp.h" int previewWidth = 512; int previewHeight = 424; //-------------------------------------------------------------- void ofApp::setup(){ kinect.open(); kinect.initDepthSource(); kinect.initColorSource(); kinect.initInfraredSource(); kinect.initBodySource(); kinect.initBodyIndexSource(); ofSetW...
27.057377
142
0.541351
syeminpark
9aa057125e59591d9eef384321180649580e4163
17,493
cpp
C++
application_sandbox/stencil_export/main.cpp
apazylbe/vulkan_test_applications
250bb3d371e3c587a8d1ceb5f9187a960b61d63f
[ "Apache-2.0" ]
null
null
null
application_sandbox/stencil_export/main.cpp
apazylbe/vulkan_test_applications
250bb3d371e3c587a8d1ceb5f9187a960b61d63f
[ "Apache-2.0" ]
null
null
null
application_sandbox/stencil_export/main.cpp
apazylbe/vulkan_test_applications
250bb3d371e3c587a8d1ceb5f9187a960b61d63f
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 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 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 ...
42.980344
81
0.565998
apazylbe
9aa2275ec79a31055331c9a17e8e7e9cbf0301ed
8,865
cpp
C++
src/algorithms/AllMaximalIndependentSets.cpp
TheoryInPractice/MI-bicliques
ce5ca2cef979ef234dcc96bf089dca90d0268cad
[ "BSD-3-Clause" ]
null
null
null
src/algorithms/AllMaximalIndependentSets.cpp
TheoryInPractice/MI-bicliques
ce5ca2cef979ef234dcc96bf089dca90d0268cad
[ "BSD-3-Clause" ]
null
null
null
src/algorithms/AllMaximalIndependentSets.cpp
TheoryInPractice/MI-bicliques
ce5ca2cef979ef234dcc96bf089dca90d0268cad
[ "BSD-3-Clause" ]
1
2019-07-14T08:49:52.000Z
2019-07-14T08:49:52.000Z
/** * This implements the algorithm of Eppstein for enumerating all maximal * independent sets in a general graph, presented here: * * Eppstein, David. "Small maximal independent sets and faster exact graph * coloring." Workshop on Algorithms and Data Structures. Springer, Berlin, * Heidelberg, 2001. * * @authors...
32.00361
97
0.570446
TheoryInPractice
9aa44ab013d4ea06a37dab5fec1871e02da1e5f3
2,639
hpp
C++
src/dwalker/include/PEManager.hpp
shmmsra/dwalker
4996adcec11bb92ad6d67a8d2e79bd5b022cb67f
[ "MIT" ]
null
null
null
src/dwalker/include/PEManager.hpp
shmmsra/dwalker
4996adcec11bb92ad6d67a8d2e79bd5b022cb67f
[ "MIT" ]
null
null
null
src/dwalker/include/PEManager.hpp
shmmsra/dwalker
4996adcec11bb92ad6d67a8d2e79bd5b022cb67f
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <memory> #include <PHLib.hpp> #include <PE.hpp> #include <ApiSet.hpp> struct PeImport { unsigned short Hint; unsigned short Ordinal; std::string Name; std::string ModuleName; bool ImportByOrdinal; bool DelayImport; PeImport(const ...
22.176471
88
0.685866
shmmsra
9aaa32b8f7faa53eeb07eedcc6d0b0432185bd7b
1,027
cpp
C++
src/serializable.cpp
AperLambda/AperCommon
f35deee3784c2e3995fe8442c338aa2f7700142b
[ "MIT" ]
7
2017-08-14T10:40:19.000Z
2022-01-17T16:11:45.000Z
src/serializable.cpp
AperLambda/lambdacommon
f35deee3784c2e3995fe8442c338aa2f7700142b
[ "MIT" ]
null
null
null
src/serializable.cpp
AperLambda/lambdacommon
f35deee3784c2e3995fe8442c338aa2f7700142b
[ "MIT" ]
null
null
null
/* * Copyright © 2019 LambdAurora <aurora42lambda@gmail.com> * * This file is part of λcommon. * * Licensed under the MIT license. For more information, * see the LICENSE file. */ #include "../include/lambdacommon/serializable.h" namespace lambdacommon { namespace serializable { std::vector<std...
30.205882
114
0.57741
AperLambda
9aaa7871a9043ee5b33360e07308437e026f85f4
2,746
cpp
C++
openbr/plugins/gui/drawgridlines.cpp
gaatyin/openbr
a55fa7bd0038b323ade2340c69f109146f084218
[ "Apache-2.0" ]
1
2021-04-26T12:53:42.000Z
2021-04-26T12:53:42.000Z
openbr/plugins/gui/drawgridlines.cpp
William-New/openbr
326f9bbb84de35586e57b1b0449c220726571c6c
[ "Apache-2.0" ]
null
null
null
openbr/plugins/gui/drawgridlines.cpp
William-New/openbr
326f9bbb84de35586e57b1b0449c220726571c6c
[ "Apache-2.0" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2012 The MITRE Corporation * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * y...
42.90625
98
0.545157
gaatyin
9aab037399f466f54280363b00c770d0ac49434e
1,936
hh
C++
include/libbio/dispatch/dispatch_ptr.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
2
2021-05-21T08:44:53.000Z
2021-12-24T16:22:56.000Z
include/libbio/dispatch/dispatch_ptr.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
null
null
null
include/libbio/dispatch/dispatch_ptr.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016-2018 Tuukka Norri * This code is licensed under MIT license (see LICENSE for details). */ #ifndef LIBBIO_DISPATCH_DISPATCH_PTR_HH #define LIBBIO_DISPATCH_DISPATCH_PTR_HH #include <dispatch/dispatch.h> #include <utility> namespace libbio { template <typename t_dispatch> class dispatch_p...
17.285714
75
0.644112
tsnorri
9aae4ee0b7a4aa188f2e2316079f4f471f1c8a5a
3,416
cpp
C++
51nod/1037.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
51nod/1037.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
51nod/1037.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#pragma GCC optimize 2 #include <bits/stdc++.h> #define N 100020 #define ll long long using namespace std; inline ll read(){ ll x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } inline ll rand(ll mx) { ...
19.52
74
0.43589
swwind
9aae8cf1d38d195dab8f63a67a3e221bba43032a
4,484
cpp
C++
src/ProvisioningCipher.cpp
yorickdewid/Signalpp
c66d7455f46b883caf61cabd0dd01d3eb0839515
[ "BSD-3-Clause" ]
1
2017-07-08T12:36:01.000Z
2017-07-08T12:36:01.000Z
src/ProvisioningCipher.cpp
yorickdewid/Signalpp
c66d7455f46b883caf61cabd0dd01d3eb0839515
[ "BSD-3-Clause" ]
null
null
null
src/ProvisioningCipher.cpp
yorickdewid/Signalpp
c66d7455f46b883caf61cabd0dd01d3eb0839515
[ "BSD-3-Clause" ]
null
null
null
#include "Logger.h" #include "Helper.h" #include "Base64.h" #include "CryptoProvider.h" #include "ProvisioningCipher.h" #include "KeyHelper.h" #include "DeviceMessages.pb.h" #include <hkdf.h> using namespace signalpp; ProvisioningCipher::ProvisioningCipher() { signal_context_create(&context, 0);//TODO: move Crypt...
30.503401
170
0.730375
yorickdewid
9ab0b4500e62d18b299580808e4590dbe46695d2
547
cpp
C++
Basic Programs/CPP/binarysearch.cpp
PrajaktaSathe/HacktoberFest2020
e84fc7a513afe3dd75c7c28db1866d7f5e6a8147
[ "MIT" ]
null
null
null
Basic Programs/CPP/binarysearch.cpp
PrajaktaSathe/HacktoberFest2020
e84fc7a513afe3dd75c7c28db1866d7f5e6a8147
[ "MIT" ]
null
null
null
Basic Programs/CPP/binarysearch.cpp
PrajaktaSathe/HacktoberFest2020
e84fc7a513afe3dd75c7c28db1866d7f5e6a8147
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; //program to search an element in a sorted array using binary search int bin(int arr[], int start, int end, int k) { while (start<=end) { int mid = start + (end - start) / 2; if (arr[mid] == k) return mid; if (arr[mid] < k) start = mid + 1; else end = mid...
13.675
68
0.595978
PrajaktaSathe
9ab1177dc03c9f6f2a1d23f0cb4f5347d31e75e6
838
hpp
C++
include/Shared/SecureRandomGenerator.hpp
Praetonus/Erewhon-Game
0327efc5ea80e1084ffb78191818607e9678dcb3
[ "MIT" ]
1
2018-02-25T18:18:59.000Z
2018-02-25T18:18:59.000Z
include/Shared/SecureRandomGenerator.hpp
Praetonus/Erewhon-Game
0327efc5ea80e1084ffb78191818607e9678dcb3
[ "MIT" ]
null
null
null
include/Shared/SecureRandomGenerator.hpp
Praetonus/Erewhon-Game
0327efc5ea80e1084ffb78191818607e9678dcb3
[ "MIT" ]
null
null
null
// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Erewhon Shared" project // For conditions of distribution and use, see copyright notice in LICENSE #pragma once #ifndef EREWHON_SHARED_SECURE_RANDOM_GENERATOR_HPP #define EREWHON_SHARED_SECURE_RANDOM_GENERATOR_HPP #include <Nazara/Prerequisites.hpp> ...
24.647059
74
0.791169
Praetonus
9ab5a593606dbad340bc4e354322fc60326629f2
3,736
hpp
C++
src/nes/Bus.hpp
clubycoder/nes_emu
b4dac31dc1bd7ebb04ecb0a8593a636567440e97
[ "MIT" ]
null
null
null
src/nes/Bus.hpp
clubycoder/nes_emu
b4dac31dc1bd7ebb04ecb0a8593a636567440e97
[ "MIT" ]
null
null
null
src/nes/Bus.hpp
clubycoder/nes_emu
b4dac31dc1bd7ebb04ecb0a8593a636567440e97
[ "MIT" ]
null
null
null
/******************************************************************************* MIT License Copyright (c) 2020 Chris Luby 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, inc...
40.172043
113
0.679069
clubycoder
9ab787a76aabe3939baecda3e75cc51ceb500c25
13,834
cpp
C++
src/commlib/zcelib/zce_os_adapt_file.cpp
sailzeng/zcelib
88e14ab436f1b40e8071e15ef6d9fae396efc3b4
[ "Apache-2.0" ]
72
2015-01-08T05:01:48.000Z
2021-12-28T06:13:03.000Z
src/commlib/zcelib/zce_os_adapt_file.cpp
sailzeng/zcelib
88e14ab436f1b40e8071e15ef6d9fae396efc3b4
[ "Apache-2.0" ]
4
2016-01-18T12:24:59.000Z
2019-10-12T07:19:15.000Z
src/commlib/zcelib/zce_os_adapt_file.cpp
sailzeng/zcelib
88e14ab436f1b40e8071e15ef6d9fae396efc3b4
[ "Apache-2.0" ]
40
2015-01-26T06:49:18.000Z
2021-07-20T08:11:48.000Z
#include "zce_predefine.h" #include "zce_log_logging.h" #include "zce_os_adapt_predefine.h" #include "zce_os_adapt_time.h" #include "zce_os_adapt_error.h" #include "zce_os_adapt_file.h" //读取文件 ssize_t zce::read(ZCE_HANDLE file_handle, void *buf, size_t count) { //WINDOWS下,长度无法突破32位的,参数限制了ReadFileEx也一样,大概WINDOWS认为...
23.851724
100
0.596791
sailzeng
9abbf4de82e06978301223619c9da0c8ce982546
26,856
cpp
C++
Universal-Physics-mod/src/PowderToySDL.cpp
AllSafeCyberSecur1ty/Nuclear-Engineering
302d6dcc7c0a85a9191098366b076cf9cb5a9f6e
[ "MIT" ]
1
2022-03-26T20:01:13.000Z
2022-03-26T20:01:13.000Z
Universal-Physics-mod/src/PowderToySDL.cpp
AllSafeCyberSecur1ty/Nuclear-Engineering
302d6dcc7c0a85a9191098366b076cf9cb5a9f6e
[ "MIT" ]
null
null
null
Universal-Physics-mod/src/PowderToySDL.cpp
AllSafeCyberSecur1ty/Nuclear-Engineering
302d6dcc7c0a85a9191098366b076cf9cb5a9f6e
[ "MIT" ]
1
2022-03-26T19:59:13.000Z
2022-03-26T19:59:13.000Z
#include "Config.h" #include "common/tpt-minmax.h" #include <map> #include <ctime> #include <climits> #ifdef WIN #include <direct.h> #endif #include "SDLCompat.h" #ifdef X86_SSE #include <xmmintrin.h> #endif #ifdef X86_SSE3 #include <pmmintrin.h> #endif #include <iostream> #include "Config.h" #if defined(LIN) #inclu...
26.226563
255
0.687183
AllSafeCyberSecur1ty
9abde0e1a533551f721424fa5fc2b5863565cf40
3,076
hpp
C++
include/imshowExtension.hpp
norishigefukushima/OpenCP
63090131ec975e834f85b04e84ec29b2893845b2
[ "BSD-3-Clause" ]
137
2015-03-27T07:11:19.000Z
2022-03-30T05:58:22.000Z
include/imshowExtension.hpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
2
2016-05-18T06:33:16.000Z
2016-07-11T17:39:17.000Z
include/imshowExtension.hpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
43
2015-02-20T15:34:25.000Z
2022-01-27T14:59:37.000Z
#pragma once #include "common.hpp" #include "plot.hpp" namespace cp { //normalize image and then cast to 8U and imshow. NORM_INF(32) scale 0-max CP_EXPORT void imshowNormalize(std::string wname, cv::InputArray src, const int norm_type = cv::NORM_MINMAX); //scaling ax+b, cast to 8U, and then imshow CP_EXPORT void...
53.964912
264
0.723992
norishigefukushima
9ac2befbec92d17e178d0f4b36cde20082d4b268
22,941
cpp
C++
src/game/server/tf/lfe_population_manager.cpp
bluedogz162/tf_coop_extended_custom
0212744ebef4f74c4e0047320d9da7d8571a8ee0
[ "Unlicense" ]
4
2020-04-24T22:20:34.000Z
2022-01-10T23:16:53.000Z
src/game/server/tf/lfe_population_manager.cpp
bluedogz162/tf_coop_extended_custom
0212744ebef4f74c4e0047320d9da7d8571a8ee0
[ "Unlicense" ]
1
2020-05-01T19:13:25.000Z
2020-05-02T07:01:45.000Z
src/game/server/tf/lfe_population_manager.cpp
bluedogz162/tf_coop_extended_custom
0212744ebef4f74c4e0047320d9da7d8571a8ee0
[ "Unlicense" ]
3
2020-04-24T22:20:36.000Z
2022-02-21T21:48:05.000Z
//============== Copyright LFE-TEAM Not All rights reserved. =================// // // Purpose: The system for handling npc population in horde. // //=============================================================================// #include "cbase.h" #include "lfe_population_manager.h" #include "lfe_populator.h" #includ...
23.529231
131
0.604682
bluedogz162
9ac36668ebf224af45f6581f291782de87fa1cf3
907
cpp
C++
ABC/ABC112/D.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC112/D.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC112/D.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#include <cstdio> //#include <cmath> //#include <iostream> //#include <sstream> //#include <string> //#include <vector> //#include <map> //#include <queue> //#include <algorithm> // //#ifdef _DEBUG //#define DMP(x) cerr << #x << ": " << x << "\n" //#else //#define DMP(x) ((void)0) //#endif // //const int MOD = 100000...
16.796296
48
0.500551
rajyan
9ac6322841b57030d1ffefc3981f8aa763fe4557
604
hpp
C++
code/source/nodes/nodeeventreceiverproxy_we.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/nodes/nodeeventreceiverproxy_we.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/nodes/nodeeventreceiverproxy_we.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#ifndef CLOVER_NODES_NODEEVENTRECEIVERPROXY_WE_HPP #define CLOVER_NODES_NODEEVENTRECEIVERPROXY_WE_HPP #include "build.hpp" #include "game/worldentity_handle.hpp" #include "nodeeventreceiverproxy.hpp" namespace clover { namespace nodes { class WeNodeEventReceiverProxy : public NodeEventReceiverProxy { public: WeNod...
24.16
64
0.812914
crafn
9ac7237ca05e7e2e4a70b7a4ef8ce99427e70b55
706
hpp
C++
src/examples/countPages/countPagesXercesHandler.hpp
Ace7k3/wiki_xml_dump_xerces
d64cc24042902668380140a7349ca06b73702dfe
[ "MIT" ]
null
null
null
src/examples/countPages/countPagesXercesHandler.hpp
Ace7k3/wiki_xml_dump_xerces
d64cc24042902668380140a7349ca06b73702dfe
[ "MIT" ]
null
null
null
src/examples/countPages/countPagesXercesHandler.hpp
Ace7k3/wiki_xml_dump_xerces
d64cc24042902668380140a7349ca06b73702dfe
[ "MIT" ]
null
null
null
#pragma once #include <stack> #include <vector> #include <functional> #include <xercesc/sax2/DefaultHandler.hpp> #include <xercesc/sax2/Attributes.hpp> class CountPagesXercesHandler : public xercesc::DefaultHandler { public: inline CountPagesXercesHandler() :_count(0) {} inline std::size_t count() const ...
19.611111
140
0.705382
Ace7k3
9acb80343745b42c4bb07dafb27a2d3583a520e1
1,074
hpp
C++
include/mizuiro/color/format/homogenous_ns/access/channel_max.hpp
cpreh/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
1
2015-08-22T04:19:39.000Z
2015-08-22T04:19:39.000Z
include/mizuiro/color/format/homogenous_ns/access/channel_max.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
include/mizuiro/color/format/homogenous_ns/access/channel_max.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // 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 MIZUIRO_COLOR_FORMAT_HOMOGENOUS_NS_ACCESS_CHANNEL_MAX_HPP_INCLUDED #define MIZUIRO_COLOR_FO...
34.645161
83
0.773743
cpreh
9ad178998e9d7bddea98bf82d283cfd62859e2c3
434
hpp
C++
libs/audio/include/sge/audio/scalar.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/audio/include/sge/audio/scalar.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/audio/include/sge/audio/scalar.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_AUDIO_SCALAR_HPP_INCLUDED #define SGE_AUDIO_SCALAR_HPP_INCLUDED namespace sge::audio {...
24.111111
78
0.721198
cpreh
9ad52b34ad0783975a3999c5c1685561b0fd81e5
9,656
cpp
C++
src/utils/MRMTransitionGroupPicker.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
1
2018-03-06T14:12:09.000Z
2018-03-06T14:12:09.000Z
src/utils/MRMTransitionGroupPicker.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
null
null
null
src/utils/MRMTransitionGroupPicker.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and ...
36.996169
180
0.669635
mrurik
9ad530e8c61cd3c1e30ce8873c247cec6018247f
224
cpp
C++
Simple++/Math/BasicComparable.cpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Math/BasicComparable.cpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Math/BasicComparable.cpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
#include "BasicComparable.h" namespace Math { namespace Compare { Math::Compare::Value BasicComparable::compare( const BasicComparable & x, const BasicComparable & y ) { return Math::Compare::Value::Equal; } } }
18.666667
105
0.709821
Oriode
9ad5afe335bc55d7b951a5583a233c23e0705871
1,918
hpp
C++
source/Dream/Core/Dictionary.hpp
kurocha/dream
b2c7d94903e1e8c6bfb043d3b62234508687f435
[ "MIT", "Unlicense" ]
1
2017-04-30T18:59:26.000Z
2017-04-30T18:59:26.000Z
source/Dream/Core/Dictionary.hpp
kurocha/dream
b2c7d94903e1e8c6bfb043d3b62234508687f435
[ "MIT", "Unlicense" ]
null
null
null
source/Dream/Core/Dictionary.hpp
kurocha/dream
b2c7d94903e1e8c6bfb043d3b62234508687f435
[ "MIT", "Unlicense" ]
null
null
null
// // Core/Dictionary.h // This file is part of the "Dream" project, and is released under the MIT license. // // Created by Samuel Williams on 22/12/08. // Copyright (c) 2008 Samuel Williams. All rights reserved. // // #ifndef _DREAM_CORE_DICTIONARY_H #define _DREAM_CORE_DICTIONARY_H #include "../Class.hpp" #inc...
20.189474
84
0.642336
kurocha
9ad990306a63baa4bd49cea67cea1fb856ce4358
3,821
cpp
C++
TopCoder/SRM/RollingDiceDivTwo.cpp
vios-fish/CompetitiveProgramming
6953f024e4769791225c57ed852cb5efc03eb94b
[ "MIT" ]
null
null
null
TopCoder/SRM/RollingDiceDivTwo.cpp
vios-fish/CompetitiveProgramming
6953f024e4769791225c57ed852cb5efc03eb94b
[ "MIT" ]
null
null
null
TopCoder/SRM/RollingDiceDivTwo.cpp
vios-fish/CompetitiveProgramming
6953f024e4769791225c57ed852cb5efc03eb94b
[ "MIT" ]
null
null
null
// BEGIN CUT HERE // END CUT HERE #line 5 "RollingDiceDivTwo.cpp" #include <iostream> #include <cstdlib> #include <cmath> #include <cstring> #include <string> #include <vector> #include <map> #include <list> #include <queue> #include <stack> #include <bitset> #include <deque> #include <set> #include <sstream> using n...
43.420455
316
0.601413
vios-fish
9adcc73e1a27edff3623834368dd0ae21fee74a5
3,566
cpp
C++
lib/src/test/compressionTest.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
lib/src/test/compressionTest.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
lib/src/test/compressionTest.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #include "gpu/testing.hpp" #include <string> #include <sstream> #include <gpu/memcpy.hpp> #include <util/pngutil.hpp> #include <util/compressionUtils.hpp> #include <util/base64.hpp> //#define DUMP_TEST_RESULT #if defined(DUMP_TEST_RESULT) //#...
35.306931
120
0.680034
tlalexander
9add92b66c69ce97d207a2ef75fb688e284cf1cd
336
cpp
C++
Medium/984_String_Without_AAA_OR_BBB.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Medium/984_String_Without_AAA_OR_BBB.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Medium/984_String_Without_AAA_OR_BBB.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
class Solution { public: string strWithout3a3b(int A, int B) { if(A == 0) return string(B, 'b'); if(B == 0) return string(A, 'a'); if(A == B) return "ab" + strWithout3a3b(A-1, B-1); if(A > B) return "aab" + strWithout3a3b(A-2, B-1); else return strWithout3a3b(A-1, B-2) +...
33.6
60
0.520833
ShehabMMohamed
9ae01f17c04ed1acc0c291543bd332b718959f3d
365
cpp
C++
C++/Introduction/Basic data types.cpp
jaswal72/hacker-rank
95aaa71b4636928664341dc9c6f75d69af5f26ac
[ "MIT" ]
1
2017-03-27T18:21:38.000Z
2017-03-27T18:21:38.000Z
C++/Introduction/Basic data types.cpp
jaswal72/hacker-rank
95aaa71b4636928664341dc9c6f75d69af5f26ac
[ "MIT" ]
null
null
null
C++/Introduction/Basic data types.cpp
jaswal72/hacker-rank
95aaa71b4636928664341dc9c6f75d69af5f26ac
[ "MIT" ]
null
null
null
/* Contributer : github.com/jaswal72 Email : shubhamjaswal772@gmail.com */ #include <iostream> using namespace std; int main() { int n1; long n2; long long n3; char n4; float n5; double n6; scanf("%d %ld %lld %c %f %lf", &n1, &n2, &n3, &n4, &n5, &n6); printf("%d\n%ld\n%lld\n%c\n%f\n%lf\n...
19.210526
65
0.564384
jaswal72
9ae292e0b9914b7581cbd24da1b6493f53e2f5b5
3,060
cpp
C++
src/lib/IV-2_6/matcheditor.cpp
emer/iv
e2ecb3acd834b8764c8582753cc86afcc4281af5
[ "BSD-3-Clause" ]
null
null
null
src/lib/IV-2_6/matcheditor.cpp
emer/iv
e2ecb3acd834b8764c8582753cc86afcc4281af5
[ "BSD-3-Clause" ]
null
null
null
src/lib/IV-2_6/matcheditor.cpp
emer/iv
e2ecb3acd834b8764c8582753cc86afcc4281af5
[ "BSD-3-Clause" ]
null
null
null
#ifdef HAVE_CONFIG_H #include <../../config.h> #endif /* * Copyright (c) 1987, 1988, 1989, 1990, 1991 Stanford University * Copyright (c) 1991 Silicon Graphics, Inc. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provi...
30.29703
78
0.611438
emer
9ae2d2a93d3009f6349963a53676a439d288f7a1
966
cpp
C++
master/core/third/libtorrent/bindings/python/src/utility.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
32
2016-05-22T23:09:19.000Z
2022-03-13T03:32:27.000Z
master/core/third/libtorrent/bindings/python/src/utility.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
2
2016-05-30T19:45:58.000Z
2018-01-24T22:29:51.000Z
master/core/third/libtorrent/bindings/python/src/utility.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
17
2016-05-27T11:01:42.000Z
2022-03-13T03:32:30.000Z
// Copyright Daniel Wallin 2006. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <libtorrent/identify_client.hpp> #include <libtorrent/bencode.hpp> #include <boost/python.hpp...
25.421053
72
0.723602
importlib
9ae83451ce187a068df6d56fd7d92870cd293637
1,127
cpp
C++
smacc/test/type_info_unit_test.cpp
koyalbhartia/SMACC
609f017a91bc258deb0b64cac5f198d54f19c9e3
[ "BSD-3-Clause" ]
203
2019-04-11T16:42:10.000Z
2022-03-18T06:02:56.000Z
smacc/test/type_info_unit_test.cpp
koyalbhartia/SMACC
609f017a91bc258deb0b64cac5f198d54f19c9e3
[ "BSD-3-Clause" ]
50
2019-04-18T09:09:48.000Z
2022-03-29T21:38:21.000Z
smacc/test/type_info_unit_test.cpp
koyalbhartia/SMACC
609f017a91bc258deb0b64cac5f198d54f19c9e3
[ "BSD-3-Clause" ]
35
2019-09-10T15:06:37.000Z
2022-02-02T09:10:08.000Z
// Bring in my package's API, which is what I'm testing #include <smacc/introspection/string_type_walker.h> // Bring in gtest #include <gtest/gtest.h> using namespace smacc::introspection; // Declare a test TEST(TestSuite, testCase2) { auto t = TypeInfo::getTypeInfoFromString("u0<u1,u2,u3,u4,u5,u6,u7,u8,u9>"); A...
25.613636
95
0.701863
koyalbhartia
9af179cef0a5044d31324b068da1750c1dfc675b
11,071
cpp
C++
xeon_version/src/shared_functions.cpp
Draxent/GameOfLife
bd7dacf1c2d8a591218f17348479318626101dfa
[ "Apache-2.0" ]
2
2015-11-27T01:14:02.000Z
2015-12-01T13:23:53.000Z
xeon_version/src/shared_functions.cpp
Draxent/GameOfLife
bd7dacf1c2d8a591218f17348479318626101dfa
[ "Apache-2.0" ]
null
null
null
xeon_version/src/shared_functions.cpp
Draxent/GameOfLife
bd7dacf1c2d8a591218f17348479318626101dfa
[ "Apache-2.0" ]
null
null
null
/** * @file shared_functions.cpp * @brief Implementation of some functions that are shared by all different development methodologies used in this application. * @author Federico Conte (draxent) * * Copyright 2015 Federico Conte * https://github.com/Draxent/GameOfLife * * Licensed under the Apache License, Ve...
36.65894
175
0.661639
Draxent
9af1f94e0a3ed34c776977d3e4dcb238933dec3a
21,751
cpp
C++
src/gui/Gui.cpp
beichendexiatian/InstanceFusion
cd48e3f477595a48d845ce01302f564b6b3fc6f6
[ "Apache-2.0" ]
null
null
null
src/gui/Gui.cpp
beichendexiatian/InstanceFusion
cd48e3f477595a48d845ce01302f564b6b3fc6f6
[ "Apache-2.0" ]
null
null
null
src/gui/Gui.cpp
beichendexiatian/InstanceFusion
cd48e3f477595a48d845ce01302f564b6b3fc6f6
[ "Apache-2.0" ]
null
null
null
/* * This file is part of SemanticFusion. * * Copyright (C) 2017 Imperial College London * * The use of the code within this file and all code within files that * make up the software that is SemanticFusion is permitted for * non-commercial purposes only. The full terms and conditions that * apply to the co...
37.95986
162
0.688336
beichendexiatian
9af25601c6a40895bd34de2516a47a74e2e1643b
189
cpp
C++
2_opencv_examples/main.cpp
captainwong/learning_opencv
e12952648d2e8a547c156134c573f1bf4808bb6c
[ "Apache-2.0" ]
null
null
null
2_opencv_examples/main.cpp
captainwong/learning_opencv
e12952648d2e8a547c156134c573f1bf4808bb6c
[ "Apache-2.0" ]
null
null
null
2_opencv_examples/main.cpp
captainwong/learning_opencv
e12952648d2e8a547c156134c573f1bf4808bb6c
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "examples.h" int main(int argc, const char** argv) { //three_calibration(argc, argv); //camshiftdemo(argc, argv); //lkdemo(argc, argv); obj_detection(); }
17.181818
37
0.687831
captainwong
9af4379272c078c327799156deec4941a3abc3cb
3,486
hh
C++
Contract/DB/AwaitableQuery.hh
decouple/common
b1798868ab03ff349dccfd3fef09331ec0a1f4d3
[ "MIT" ]
null
null
null
Contract/DB/AwaitableQuery.hh
decouple/common
b1798868ab03ff349dccfd3fef09331ec0a1f4d3
[ "MIT" ]
null
null
null
Contract/DB/AwaitableQuery.hh
decouple/common
b1798868ab03ff349dccfd3fef09331ec0a1f4d3
[ "MIT" ]
null
null
null
<?hh // strict namespace Decouple\Common\Contract\DB; /** * This software is maintained voluntarily under the MIT license. * For more information, see <http://www.decouple.io/> */ use Decouple\Common\Contract\Buildable; /** * An awaitable query interface implemented by classes that are queryable asynchronously * ...
41.5
92
0.706827
decouple
9af5c007b6c7c2cc3f91e6d52c50e167dc930311
22,323
cpp
C++
rfal_st25tb.cpp
DiegoOst/RFAL
4d050bf2084f1c89746f4ad4a51542c64d555193
[ "Apache-2.0" ]
null
null
null
rfal_st25tb.cpp
DiegoOst/RFAL
4d050bf2084f1c89746f4ad4a51542c64d555193
[ "Apache-2.0" ]
null
null
null
rfal_st25tb.cpp
DiegoOst/RFAL
4d050bf2084f1c89746f4ad4a51542c64d555193
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * @attention * * <h2><center>&copy; COPYRIGHT 2016 STMicroelectronics</center></h2> * * Licensed under ST MYLIBERTY SOFTWARE LICENSE AGREEMENT (the "License"); * You may not use this file except in compliance with the License. ...
43.17795
346
0.560857
DiegoOst
9af98a615cfbf0ee6e792a1299bf60ecec5e0c5c
2,084
cpp
C++
LeetCode/DynamicProgramming/BestTimeToBuyAndSellStockii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/DynamicProgramming/BestTimeToBuyAndSellStockii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/DynamicProgramming/BestTimeToBuyAndSellStockii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 122 Best time to Buy And Sell Stock ii * Medium * Shuo Feng * 2021.11.10 */ #include<iostream> #include<vector> using namespace std; /* * Solution 1: Dp */ class Solution { public: int maxProfit(vector<int>& prices) { int days = prices.size(); // The maximum profit we can g...
22.901099
70
0.458733
a4org
9af9dbd4726dc1e201a761fc788ab732f86e97f3
28,252
cpp
C++
examples/38_wifiscope/main/WebServer.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
335
2016-10-12T06:59:33.000Z
2022-03-29T14:26:04.000Z
examples/38_wifiscope/main/WebServer.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
30
2016-10-30T11:23:59.000Z
2021-11-12T10:51:20.000Z
examples/38_wifiscope/main/WebServer.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
48
2016-10-30T08:41:13.000Z
2022-02-15T22:15:09.000Z
/* * WebServer.cpp * * Created on: May 19, 2017 * Author: kolban */ #include <sstream> #include <iostream> #include <vector> #include <map> #include <regex> #include "sdkconfig.h" #define MG_ENABLE_HTTP_STREAMING_MULTIPART 1 #define MG_ENABLE_FILESYSTEM 1 #include "WebServer.h" #include <esp_log.h> #include ...
31.286822
193
0.713507
graealex
9afc2831afbd5563db7d88221277b3ce9196b57d
1,326
cpp
C++
src/error_code.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
2
2019-04-26T07:48:26.000Z
2019-06-03T07:04:22.000Z
src/error_code.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
73
2019-04-25T07:41:34.000Z
2020-04-14T16:23:54.000Z
src/error_code.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
null
null
null
/* * TomskSoft CIS1 WebUI * * (c) 2019 TomskSoft LLC * (c) Mokin Innokentiy [mia@tomsksoft.com] * */ #include "error_code.h" namespace cis { const char * error_category::name() const noexcept { return "cis::error"; } std::string error_category::message(int ev) const { switch(static_cast<error_c...
21.047619
51
0.625189
tomsksoft-llc
b103b1b1b63f207da0646df2a217279515aa54bf
1,339
cpp
C++
Hacker-Rank/Algorithms/Graph-Theory/torque-and-development.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
1
2019-05-20T14:38:05.000Z
2019-05-20T14:38:05.000Z
Hacker-Rank/Algorithms/Graph-Theory/torque-and-development.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
null
null
null
Hacker-Rank/Algorithms/Graph-Theory/torque-and-development.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long int ll; int m,n; ll clib,croad; // void process() // { // for(auto &road:roads) // { // sort(road.begin(),road.end()); // } // } ll bfs(int i,vector<vector<int>> &roads,vector<bool> &visited) { queue<int> q; q.push(i); ...
18.342466
62
0.446602
kishorevarma369
b1044d9ffddb5ffa4140bcb649ba809328945b61
1,070
cpp
C++
Stp/Base/Error/Exception.cpp
markazmierczak/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:52.000Z
2019-07-11T12:47:52.000Z
Stp/Base/Error/Exception.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
null
null
null
Stp/Base/Error/Exception.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:53.000Z
2019-07-11T12:47:53.000Z
// Copyright 2017 Polonite Authors. All rights reserved. // Distributed under MIT license that can be found in the LICENSE file. #include "Base/Error/Exception.h" #include "Base/Io/TextWriter.h" #include <exception> #if !COMPILER(MSVC) #include <cxxabi.h> namespace __cxxabiv1 { struct __cxa_eh_globals { void* c...
19.454545
71
0.73271
markazmierczak
b109f5fa66603a44d80054e5fa66e936da408ace
4,200
hpp
C++
include/hash.hpp
x0x/hive
5cd9cc82f469b184dcf0a8161ba432d6abf79823
[ "MIT" ]
null
null
null
include/hash.hpp
x0x/hive
5cd9cc82f469b184dcf0a8161ba432d6abf79823
[ "MIT" ]
null
null
null
include/hash.hpp
x0x/hive
5cd9cc82f469b184dcf0a8161ba432d6abf79823
[ "MIT" ]
null
null
null
#pragma once #include "types.hpp" #include "move.hpp" #include <vector> class TableEntry { virtual bool query(Hash hash, TableEntry** entry) = 0; virtual void store(Hash hash, Depth depth) = 0; virtual bool empty() const = 0; }; class PerftEntry { Hash m_hash; Depth m_depth; uint64_t m_nodes...
24.561404
109
0.602381
x0x
b10bd5d386f889e97ab8fc690423153b35491f77
19,181
cpp
C++
Samples/AppWindow/cppwinrt/Code/BU/MusionBU/CodeLine.cpp
OSIREM/ecoin-minimal
7d8314484c0cd47c673046c86c273cc48eaa43d2
[ "MIT" ]
null
null
null
Samples/AppWindow/cppwinrt/Code/BU/MusionBU/CodeLine.cpp
OSIREM/ecoin-minimal
7d8314484c0cd47c673046c86c273cc48eaa43d2
[ "MIT" ]
null
null
null
Samples/AppWindow/cppwinrt/Code/BU/MusionBU/CodeLine.cpp
OSIREM/ecoin-minimal
7d8314484c0cd47c673046c86c273cc48eaa43d2
[ "MIT" ]
null
null
null
/* CodeLine - osirem.com Copyright OSIREM LTD (C) 2016 www.bitolyl.com/osirem bitcoin-office.com ecn.world This source is proprietary, and cannot be used, in part or in full without the express permission of the original author. The original author retain the rights to use, modify, and/or relicense this code ...
24.528133
113
0.584485
OSIREM
623eceee55e152c9d156f3651743cef7f48c5b69
3,418
hpp
C++
spike/models/stratum/RockType.hpp
davidson16807/libtectonics
aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646
[ "CC-BY-4.0" ]
7
2020-06-09T19:56:55.000Z
2021-02-17T01:53:30.000Z
spike/models/stratum/RockType.hpp
davidson16807/tectonics.cpp
c40278dba14260c598764467c7abf23b190e676b
[ "CC-BY-4.0" ]
null
null
null
spike/models/stratum/RockType.hpp
davidson16807/tectonics.cpp
c40278dba14260c598764467c7abf23b190e676b
[ "CC-BY-4.0" ]
null
null
null
#pragma once namespace stratum { /* "RockType" attempts to be a comprehensive collection of every earth-like rock that the model is capable of representing. RockType is used to quickly describe to the user what type of rock he's looking at. RockType is only used for descriptive purposes, it is never t...
28.483333
124
0.589819
davidson16807
62422949e13c032724be2671822871fa8ac278b0
6,214
cpp
C++
src/physics/physics_system.cpp
galek/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
8
2015-09-06T20:05:27.000Z
2021-07-14T11:12:33.000Z
src/physics/physics_system.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
src/physics/physics_system.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
#include "physics/physics_system.h" #include <PxPhysicsAPI.h> #include "cooking/PxCooking.h" #include "core/base_proxy_allocator.h" #include "core/crc32.h" #include "core/log.h" #include "core/resource_manager.h" #include "editor/world_editor.h" #include "engine.h" #include "engine/property_descriptor.h" #include "ph...
26.219409
165
0.760863
galek
624352c3d78824f4a26883cd032fab20f01b400a
2,155
hpp
C++
include/rusty-cpp/impl/maybe_uninit.hpp
QuarticCat/rusty-cpp
089089f076f461c3d84fc70478104ae8d1384aa3
[ "MIT" ]
4
2021-08-28T10:04:00.000Z
2021-11-08T03:29:37.000Z
include/rusty-cpp/impl/maybe_uninit.hpp
QuarticCat/rusty-cpp
089089f076f461c3d84fc70478104ae8d1384aa3
[ "MIT" ]
1
2021-08-25T07:30:19.000Z
2021-08-25T09:26:23.000Z
include/rusty-cpp/impl/maybe_uninit.hpp
QuarticCat/rusty-cpp
089089f076f461c3d84fc70478104ae8d1384aa3
[ "MIT" ]
null
null
null
#pragma once #include <utility> namespace rc { /// The counterpart of `MaybeUninit` in Rust. /// /// It's impossible to make it exactly the same as in Rust. There are some key features that Rust's /// `MaybeUninit` relies on: /// /// 1. All objects in Rust are trivially relocatable (if you have the ownership). That ...
27.278481
99
0.643619
QuarticCat
6244201ad137269771f4d939b6834cc73e7884d3
1,616
cpp
C++
CCC/ccc17s4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
CCC/ccc17s4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
CCC/ccc17s4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MM = 100001; int N, M, D, ans, par[MM], maxedge, cnt; inline int find(int x){ while(x != par[x]){ x = par[x]; par[x] = par[par[x]]; } return x; } struct edge{ int a, b, c, d; inline bool merge(){ int ...
20.987013
71
0.329827
crackersamdjam
6255b9dbdcff4f28fd033c41ec17db5fa371fba5
646
cc
C++
data/test/cpp/6255b9dbdcff4f28fd033c41ec17db5fa371fba5load_libraries.cc
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/cpp/6255b9dbdcff4f28fd033c41ec17db5fa371fba5load_libraries.cc
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/cpp/6255b9dbdcff4f28fd033c41ec17db5fa371fba5load_libraries.cc
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
{ gSystem.Load("libgsl.so"); // gSystem.Load("libCLHEP-2.0.4.2.so"); gSystem.Load("libRIO.so"); gSystem.Load("libNet.so"); gSystem.Load("libHist.so"); gSystem.Load("libGraf.so"); gSystem.Load("libGraf3d.so"); gSystem.Load("libTree.so"); gSystem.Load("libRint.so"); gSystem.Load("libPostscript.so"); ...
25.84
42
0.665635
harshp8l
625879c44e21dc785db346faf1ba006b0314751b
1,916
cpp
C++
GitGud/src/Platform/Windows/WindowsInput.cpp
Josef212/GitGud
3b0f8ec4fe2c19c9c64effcb8c56ba8e8ab519ba
[ "MIT" ]
null
null
null
GitGud/src/Platform/Windows/WindowsInput.cpp
Josef212/GitGud
3b0f8ec4fe2c19c9c64effcb8c56ba8e8ab519ba
[ "MIT" ]
null
null
null
GitGud/src/Platform/Windows/WindowsInput.cpp
Josef212/GitGud
3b0f8ec4fe2c19c9c64effcb8c56ba8e8ab519ba
[ "MIT" ]
null
null
null
#include "ggpch.h" #include "GitGud/Core/Input.h" #include "GitGud/Core/Application.h" #include "GitGud/Core/Window.h" #include <GLFW/glfw3.h> namespace GitGud { bool Input::IsKey(int keyCode) { auto window = static_cast<GLFWwindow*>(Application::Get().GetWindow().GetNativeWindow()); auto state = glfwGetKey(win...
26.246575
91
0.706159
Josef212
625ec381e9f2eea54cd4dd735892d3b63c54e482
538
cpp
C++
utils/minval.3.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
3
2022-01-17T01:56:05.000Z
2022-02-23T07:30:02.000Z
utils/minval.3.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
null
null
null
utils/minval.3.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
null
null
null
// Minimum accumulator #include <limits> #include <algorithm> using namespace std; /*snippet-begin*/ template<class T = int> struct minval { T x; minval(T x = numeric_limits<T>::max()) : x(x) {} T operator() () const { return x; } minval operator+ (const minval& b) const { return min(x, b.x); } mi...
21.52
75
0.553903
ivan100sic
625f16aacc167e9d5dde894985a7f206b01d4d91
24,013
cpp
C++
src/util2019.cpp
atyre2/HABITAT
bbf231fcfe48cb11b27117266bfc85f427225414
[ "MIT" ]
null
null
null
src/util2019.cpp
atyre2/HABITAT
bbf231fcfe48cb11b27117266bfc85f427225414
[ "MIT" ]
2
2019-03-29T22:15:17.000Z
2019-03-29T22:15:50.000Z
src/util2019.cpp
atyre2/HABITAT
bbf231fcfe48cb11b27117266bfc85f427225414
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // #include <vcl.h> // #pragma hdrstop #include <stdlib.h> #include <math.h> #include "mt19937.h" #include "matrices.h" #include "util2019.h" //--------------------------------------------------------------------------- #define NR_END 1...
27.4121
85
0.510848
atyre2
62602c0f0b94280fc77fb42cb3b9d0ec98d76955
3,207
cpp
C++
BZOJ/BZOJ2780.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
7
2017-09-21T13:20:05.000Z
2020-03-02T03:03:04.000Z
BZOJ/BZOJ2780.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
null
null
null
BZOJ/BZOJ2780.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
3
2019-01-05T07:02:57.000Z
2019-06-13T08:23:13.000Z
#include <bits/stdc++.h> namespace IO { inline char read() { static const int IN_LEN = 1000000; static char buf[IN_LEN], *s, *t; s == t ? t = (s = buf) + fread(buf, 1, IN_LEN, stdin) : 0; return s == t ? -1 : *s++; } template <typename T> inline bool read(T &x) { static char c; static bool io...
23.408759
77
0.455566
xehoth
62613226c0ef2b43ecb6ec9f8c8a941374abf6f4
445
cpp
C++
glfw3_app/nesemu/tools.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
9
2015-09-22T21:36:57.000Z
2021-04-01T09:16:53.000Z
glfw3_app/nesemu/tools.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
null
null
null
glfw3_app/nesemu/tools.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
2
2019-02-21T04:22:13.000Z
2021-03-02T17:24:32.000Z
//=====================================================================// /*! @file @brief Emulator Tools クラス @n Copyright 2017 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "tools.hpp" gui::widget_terminal* emu:...
20.227273
74
0.408989
hirakuni45
6264f8e9d3635d9a6d7e0fced804644032b46d42
739
hpp
C++
file_util/tests/fixtures.hpp
ScottGarman/leatherman
7c1407c29b056148e6332dabf4017ca50f064a94
[ "Apache-2.0" ]
55
2015-08-27T13:17:42.000Z
2022-02-07T15:19:59.000Z
file_util/tests/fixtures.hpp
ScottGarman/leatherman
7c1407c29b056148e6332dabf4017ca50f064a94
[ "Apache-2.0" ]
236
2015-02-23T23:50:10.000Z
2021-09-01T18:09:12.000Z
file_util/tests/fixtures.hpp
ScottGarman/leatherman
7c1407c29b056148e6332dabf4017ca50f064a94
[ "Apache-2.0" ]
88
2015-02-23T22:40:27.000Z
2022-02-07T15:19:59.000Z
#pragma once #include <string> #include <boost/filesystem/path.hpp> /** * Class to create a temporary directory with a unique name * and destroy it once it is no longer needed. * */ class temp_directory { public: temp_directory(); ~temp_directory(); std::string const& get_dir_name() const; private: ...
18.948718
59
0.690122
ScottGarman
62650a65e609cedbe8ee98bbc962ff63c7f98e28
1,391
cpp
C++
targets/simple_router/primitives.cpp
edgarcosta92/behavioral-model
de9ec3ddc45c2b210681a7675c0bded6e56ec9d3
[ "Apache-2.0" ]
390
2015-10-13T05:22:51.000Z
2022-03-30T19:18:14.000Z
targets/simple_router/primitives.cpp
edgarcosta92/behavioral-model
de9ec3ddc45c2b210681a7675c0bded6e56ec9d3
[ "Apache-2.0" ]
919
2015-08-10T17:50:50.000Z
2022-03-31T17:46:07.000Z
targets/simple_router/primitives.cpp
edgarcosta92/behavioral-model
de9ec3ddc45c2b210681a7675c0bded6e56ec9d3
[ "Apache-2.0" ]
351
2015-09-18T03:32:32.000Z
2022-03-31T03:56:38.000Z
/* Copyright 2013-present Barefoot Networks, 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 la...
25.759259
75
0.71028
edgarcosta92
6266e72f69150a43924556ec15b610e0c9ce2ee3
3,530
cpp
C++
ObjOrientedProgramming/Ticket/Ticket/TicketDemo.cpp
jhbrian/Learning-Progress
de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb
[ "MIT" ]
null
null
null
ObjOrientedProgramming/Ticket/Ticket/TicketDemo.cpp
jhbrian/Learning-Progress
de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb
[ "MIT" ]
null
null
null
ObjOrientedProgramming/Ticket/Ticket/TicketDemo.cpp
jhbrian/Learning-Progress
de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb
[ "MIT" ]
null
null
null
//**************************************************************************************************** //Program Name: Tickets //Author: Jin Han Ho //IDE Used: Visual Studio 2019 //Program description: This program will show the status of ticket that is issued the police in a day //********************************...
36.020408
103
0.490935
jhbrian
62671ee1cbacfc0750822aa3e74857d8a24f97a9
10,662
cpp
C++
example/SVG_text_width_height.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
24
2016-03-09T03:23:06.000Z
2021-01-12T14:02:07.000Z
example/SVG_text_width_height.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
11
2018-03-05T14:39:48.000Z
2021-08-22T09:00:33.000Z
example/SVG_text_width_height.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
10
2016-11-04T14:36:04.000Z
2020-07-17T08:12:03.000Z
/*! \brief Demonstrates actual length of text displayed as SVG. Shows warning from too much compression using text_length. And also shows use of text_length can undercompress to space out glyphs to become unreadable. Font Support for Unicode Characters https://www.fileformat.info/info/unicode/font/index.htm Show...
66.6375
881
0.679422
pabristow
626d06dcabb8411965addf56d6ba8c2c70b666ff
2,559
hh
C++
tests/Titon/Route/Annotation/RouteTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
tests/Titon/Route/Annotation/RouteTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
tests/Titon/Route/Annotation/RouteTest.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh namespace Titon\Route\Annotation; use Titon\Annotation\Reader; use Titon\Test\Stub\Route\RouteAnnotatedStub; use Titon\Test\TestCase; class RouteTest extends TestCase { public function testParamsAreSetOnRouteAnnotation(): void { $reader = new Reader(new RouteAnnotatedStub()); // Class ...
36.557143
74
0.593591
ciklon-z
626d1e0ce0878f823a4c70d83bcd085c1872a7db
598
cpp
C++
libraries/Controller/Controller_Test_Snippet.cpp
devshop2019/MachTestHangDaNang
297161fd2ac84b3e4b867f2007efad4cf503012e
[ "MIT" ]
null
null
null
libraries/Controller/Controller_Test_Snippet.cpp
devshop2019/MachTestHangDaNang
297161fd2ac84b3e4b867f2007efad4cf503012e
[ "MIT" ]
null
null
null
libraries/Controller/Controller_Test_Snippet.cpp
devshop2019/MachTestHangDaNang
297161fd2ac84b3e4b867f2007efad4cf503012e
[ "MIT" ]
null
null
null
#include "Controller_Test_Snippet.h" #include "MachTest_SP_IO.h" #include "debugkxn.h" Controller_Test_Snippet_Data::Controller_Test_Snippet_Data() { this->nameDevice = "testDevice"; this->timeInterval = 250; this->valueDevice = "No device"; // Add your code here } bool Controller_Test_Snippet_Data::getData()...
17.588235
60
0.734114
devshop2019
626eecb961d44ed5a1d7ddb33f467d95ee7b6237
71,731
tcc
C++
Vc/include/Vc/avx/vector.tcc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
Vc/include/Vc/avx/vector.tcc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
Vc/include/Vc/avx/vector.tcc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/* This file is part of the Vc library. Copyright (C) 2011-2012 Matthias Kretz <kretz@kde.org> Vc is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (...
50.981521
262
0.656634
AllaMaevskaya
626f7e41d53914c6d7a2d34755b67e028b8fe0fb
637
cpp
C++
oop_ex41.cpp
85105/HW
2161a1a7ac1082a85454672d359c00f2d42ef21f
[ "MIT" ]
null
null
null
oop_ex41.cpp
85105/HW
2161a1a7ac1082a85454672d359c00f2d42ef21f
[ "MIT" ]
null
null
null
oop_ex41.cpp
85105/HW
2161a1a7ac1082a85454672d359c00f2d42ef21f
[ "MIT" ]
null
null
null
/* oop_ex41.cpp accessing data members through pointer */ #include <iostream> #include <string> using namespace std; struct User { string name; int age; int tel; }; void main() { User userObject; User* userPtr = &userObject; //User* userPtr = new User(); userPtr->name = "Micheal"; userPtr->age = 20; us...
18.2
113
0.572998
85105
62708b59e721ebda2cdf84c9034931cf94c8c8d4
612
hpp
C++
include/search/Tokenize.hpp
ibanic/search
9e7da36bb8512dc9bfc1e65d12aae3406659e318
[ "MIT" ]
null
null
null
include/search/Tokenize.hpp
ibanic/search
9e7da36bb8512dc9bfc1e65d12aae3406659e318
[ "MIT" ]
null
null
null
include/search/Tokenize.hpp
ibanic/search
9e7da36bb8512dc9bfc1e65d12aae3406659e318
[ "MIT" ]
null
null
null
// // Tokenize.hpp // // Created by Ignac Banic on 31/12/19. // Copyright © 2019 Ignac Banic. All rights reserved. // #pragma once #include <string> #include <vector> namespace Search { uint8_t charLen(char ch); std::vector<std::string> tokenize(std::string_view txt); std::vector<std::string> tokenize(const s...
26.608696
76
0.722222
ibanic
6270b83de03cebb175575dca493d1479ad360a7a
32,668
cpp
C++
src/OpcUaStackServer/ServiceSet/Session.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackServer/ServiceSet/Session.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackServer/ServiceSet/Session.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2017-2019 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Recht vorge...
33.064777
138
0.725603
gianricardo
62722e0dddb08bce413b9f51e4a7dd33defb236c
2,086
hh
C++
combine-msa-vcf/msa_combiner.hh
tsnorri/vcf2multialign
ee987f55b376a5db9c260e6a38201a09d940fd7e
[ "MIT" ]
2
2019-06-13T16:16:16.000Z
2020-10-17T00:40:58.000Z
combine-msa-vcf/msa_combiner.hh
tsnorri/vcf2multialign
ee987f55b376a5db9c260e6a38201a09d940fd7e
[ "MIT" ]
1
2020-01-05T10:48:08.000Z
2020-01-05T13:19:28.000Z
combine-msa-vcf/msa_combiner.hh
tsnorri/vcf2multialign
ee987f55b376a5db9c260e6a38201a09d940fd7e
[ "MIT" ]
1
2018-05-18T08:46:52.000Z
2018-05-18T08:46:52.000Z
/* * Copyright (c) 2019–2020 Tuukka Norri * This code is licensed under MIT license (see LICENSE for details). */ #ifndef VCF2MULTIALIGN_COMBINE_MSA_MSA_COMBINER_HH #define VCF2MULTIALIGN_COMBINE_MSA_MSA_COMBINER_HH #include <array> #include <vcf2multialign/types.hh> #include <vector> #include "mnv_combiner.hh" #i...
26.405063
112
0.767018
tsnorri
627a9f9b7a3e6d26795666bd022e97da4938b46b
4,295
cpp
C++
bside-code/bside_tokenizer.cpp
mgolden/basic_stamp_linux64
eb547eae358c5fab220d159cb932b5a34beb3711
[ "Linux-OpenIB" ]
4
2018-06-03T23:12:54.000Z
2022-03-27T23:20:19.000Z
bside-code/bside_tokenizer.cpp
mgolden/basic_stamp_linux64
eb547eae358c5fab220d159cb932b5a34beb3711
[ "Linux-OpenIB" ]
null
null
null
bside-code/bside_tokenizer.cpp
mgolden/basic_stamp_linux64
eb547eae358c5fab220d159cb932b5a34beb3711
[ "Linux-OpenIB" ]
2
2016-02-01T17:56:49.000Z
2016-07-14T09:39:57.000Z
/* bside_tokenize.cpp This interfaces with Parallax, Inc.'s PBASIC Tokenizer Shared Library for the Linux operating system. It reads a PBASIC source file and writes the tokenized results to a file which can then be sent to the BASIC Stamp microcontroller using the "bstamp_run" program. Based on ...
21.582915
139
0.65518
mgolden
627c3def3d92f3aae785a307ead6cb3985524231
85
cpp
C++
src/Global_renderer.cpp
romz-pl/pong-game
2deadc419fb9340b333aa6b94bb7f861b93ffe6d
[ "MIT" ]
null
null
null
src/Global_renderer.cpp
romz-pl/pong-game
2deadc419fb9340b333aa6b94bb7f861b93ffe6d
[ "MIT" ]
null
null
null
src/Global_renderer.cpp
romz-pl/pong-game
2deadc419fb9340b333aa6b94bb7f861b93ffe6d
[ "MIT" ]
null
null
null
#include "Global_renderer.h" namespace Global { unique< SDL_Renderer* > renderer; }
12.142857
33
0.752941
romz-pl
627d27713021070890784a463c60934f94e9136d
708
cpp
C++
src/eventBus.cpp
HenadziMatuts/snake1
c5ecb731c25222b7b8e46803f9f26277ad48bc52
[ "MIT" ]
8
2017-08-31T16:43:10.000Z
2021-11-14T17:44:05.000Z
src/eventBus.cpp
HenadziMatuts/snake1
c5ecb731c25222b7b8e46803f9f26277ad48bc52
[ "MIT" ]
null
null
null
src/eventBus.cpp
HenadziMatuts/snake1
c5ecb731c25222b7b8e46803f9f26277ad48bc52
[ "MIT" ]
1
2020-03-19T19:46:56.000Z
2020-03-19T19:46:56.000Z
#include "eventBus.h" void EventBus::PostGameEvent(GameEvent gameEvent) { m_GameEvents.push_back(gameEvent); }; void EventBus::PostInGameEvent(InGameEvent inGameEvent, InGameEventSource source) { m_InGameEventsNext[source].push_back(inGameEvent); } std::vector<GameEvent>* EventBus::GameEvents() { return &m_GameEv...
20.228571
81
0.768362
HenadziMatuts
627da4a2450cb31b32ef7e22c79914633a747b78
2,134
cpp
C++
src/ctl/ctlListView.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
2
2021-07-16T21:45:41.000Z
2021-08-14T15:54:17.000Z
src/ctl/ctlListView.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
null
null
null
src/ctl/ctlListView.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
2
2017-11-18T15:00:24.000Z
2021-08-14T15:54:30.000Z
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // RCS-ID: $Id$ // Copyright (C) 2002 - 2010, The pgAdmin Development Team // This software is released under the Artistic Licence // // ctlListView.cpp - enhanced listview control // ///////////////////...
24.25
111
0.616214
dpage
627e6909b603c6070809b58c3095874103df3fd7
3,117
hpp
C++
src/xpcc/processing/resumable.hpp
roboterclubaachen/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
161
2015-01-13T15:52:06.000Z
2020-02-13T01:26:04.000Z
src/xpcc/processing/resumable.hpp
salkinium/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
281
2015-01-06T12:46:40.000Z
2019-01-06T13:06:57.000Z
src/xpcc/processing/resumable.hpp
salkinium/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
51
2015-03-03T19:56:12.000Z
2020-03-22T02:13:36.000Z
// coding: utf-8 /* Copyright (c) 2014, Roboterclub Aachen e.V. * All Rights Reserved. * * The file is part of the xpcc library and is released under the 3-clause BSD * license. See the file `LICENSE` for the full license governing this code. */ // ------------------------------------------------------------------...
26.87069
89
0.595444
roboterclubaachen
627f3bac77ef5ca45503753e8a5623643f23d25f
977
cpp
C++
Lesson4/inheritance.cpp
hari-learningspace/CPP_Learning
f32a250e284e9b9d876c4ef20bbb28e5c81cea27
[ "MIT" ]
null
null
null
Lesson4/inheritance.cpp
hari-learningspace/CPP_Learning
f32a250e284e9b9d876c4ef20bbb28e5c81cea27
[ "MIT" ]
null
null
null
Lesson4/inheritance.cpp
hari-learningspace/CPP_Learning
f32a250e284e9b9d876c4ef20bbb28e5c81cea27
[ "MIT" ]
null
null
null
/* Instructions Add a new member variable to class Vehicle. Output that new member in main(). Derive a new class from Vehicle, alongside Car and Bicycle. Instantiate an object of that new class. Print the object. */ #include <iostream> #include <string> using std::string; class Vehicle { public: int wheels = 0; st...
17.763636
79
0.63869
hari-learningspace