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
5f3d6887aeba89c27f8cd0eaa2fe4b7d778f677d
1,206
cpp
C++
bistro/cron/CrontabItem.cpp
jiazerojia/bistro
95c8d9cf9786ff87d845d7732622a46d90de5f58
[ "BSD-3-Clause" ]
1
2021-05-19T23:02:04.000Z
2021-05-19T23:02:04.000Z
bistro/cron/CrontabItem.cpp
jiazerojia/bistro
95c8d9cf9786ff87d845d7732622a46d90de5f58
[ "BSD-3-Clause" ]
null
null
null
bistro/cron/CrontabItem.cpp
jiazerojia/bistro
95c8d9cf9786ff87d845d7732622a46d90de5f58
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
27.409091
79
0.733002
jiazerojia
5f3f4dbdbd0d86200cf91e34683a668528a77d4a
2,744
cpp
C++
models/Point.cpp
1Lorde/crypto
6138472c1fba850158502312001eaf6584aa255c
[ "MIT" ]
null
null
null
models/Point.cpp
1Lorde/crypto
6138472c1fba850158502312001eaf6584aa255c
[ "MIT" ]
null
null
null
models/Point.cpp
1Lorde/crypto
6138472c1fba850158502312001eaf6584aa255c
[ "MIT" ]
null
null
null
// // created by Vlad Savchuk on 11/12/2020. // #include <cmath> #include <ModularArithmetic.h> #include <NoSpecifiedEllipticCurveException.h> #include "Point.h" Point::Point(long long x, long long y) { this->name = "P"; this->x = x; this->y = y; this->ellipticCurve = nullptr; } Point::Point(std::str...
26.901961
116
0.529883
1Lorde
5f3f6e57bd25a9f84975ffcae87ddcc1b522466e
757
hpp
C++
Explit/Explit/sdk/interfaces/valve/i_base_client_dll.hpp
patrykkolodziej/Explit
155a35e4b8951764e6bedb8847d3196561a4255c
[ "MIT" ]
18
2019-05-09T10:24:53.000Z
2021-05-17T04:39:47.000Z
Explit/Explit/sdk/interfaces/valve/i_base_client_dll.hpp
danielkrupinski/Expl
74124b67361cd29dd34389d692e43df86f83d072
[ "MIT" ]
6
2019-05-09T16:26:01.000Z
2019-05-14T11:30:18.000Z
Explit/Explit/sdk/interfaces/valve/i_base_client_dll.hpp
patrykkolodziej/Explit
155a35e4b8951764e6bedb8847d3196561a4255c
[ "MIT" ]
8
2019-05-08T17:28:24.000Z
2021-03-25T09:52:44.000Z
#pragma once #include "i_global_vars.hpp" #include "../../misc/valve/client_class.hpp" #include "../../misc/valve/i_app_system.hpp" class i_base_client_dll { public: virtual int connect(createinterfacefn app_system_factory, i_global_vars_base *p_globals) = 0; virtual int disconnect(void) = ...
42.055556
107
0.667107
patrykkolodziej
5f3f78d4cc8e7c4b773fff444541a7cc366b55de
441
cpp
C++
modules/logic/src/Logic/Cv/gmLogicCvBase.cpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/logic/src/Logic/Cv/gmLogicCvBase.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/logic/src/Logic/Cv/gmLogicCvBase.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#include "gmLogicCvBase.hpp" namespace gm { namespace Logic { namespace Cv { Base::Base(const QString& name) : Logic::Base("cv", name) { log_trace(Log::New); this->setRunnable(true); this->setUseTimer(true); } ...
19.173913
69
0.394558
GraphMIC
5f414de234732722d05c50fc338e610a8d84e190
2,363
hpp
C++
y2018/utils/udpClientServer.hpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
2
2016-08-06T06:21:02.000Z
2017-01-10T05:45:13.000Z
y2018/utils/udpClientServer.hpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
1
2017-04-15T20:54:59.000Z
2017-04-15T20:54:59.000Z
y2018/utils/udpClientServer.hpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
3
2016-07-30T06:19:55.000Z
2017-02-07T01:55:05.000Z
// UDP Client Server -- send/receive UDP packets // Copyright (C) 2013 Made to Order Software Corp. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, o...
29.5375
81
0.60474
valkyrierobotics
5f46daa42fe39ef1fe8b159c68bb772198b6bd95
195
hpp
C++
src/components/resource/VkMeshRes.hpp
wicast/CreviceEngine
2d49b51aad7c2c6984bccc2c0628e75dfc0462a7
[ "MIT" ]
10
2021-01-19T04:36:11.000Z
2021-09-17T08:37:21.000Z
src/components/resource/VkMeshRes.hpp
wicast/CreviceEngine
2d49b51aad7c2c6984bccc2c0628e75dfc0462a7
[ "MIT" ]
null
null
null
src/components/resource/VkMeshRes.hpp
wicast/CreviceEngine
2d49b51aad7c2c6984bccc2c0628e75dfc0462a7
[ "MIT" ]
1
2022-02-08T04:21:28.000Z
2022-02-08T04:21:28.000Z
#pragma once #include "common/Resource.h" #include "graphic/vk_render/resource/VkMesh.hpp" #include "stl/CreviceSharedPtr.h" struct VkMeshRes { RID rid; crevice::SharedPtr<VkMesh> mesh; };
17.727273
48
0.748718
wicast
5f4b0db7e754be422bc7951f5cf621ed8fab7015
3,458
cpp
C++
widgets/demos/ex-translucent-clock/clock.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
16
2017-01-11T17:28:03.000Z
2021-09-27T16:12:01.000Z
widgets/demos/ex-translucent-clock/clock.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
null
null
null
widgets/demos/ex-translucent-clock/clock.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
4
2017-03-17T02:44:32.000Z
2021-01-22T07:57:34.000Z
/************************************************************************* * * Copyright (c) 2016 The Qt Company * All rights reserved. * * See the LICENSE.txt file shipped along with this file for the license. * *************************************************************************/ #include <QtGui> #includ...
27.664
91
0.588201
sfaure-witekio
5f4d34bace6ee9cd7d0e379eafef77ab8e33cbb0
7,687
hh
C++
saphIR/include/ir/types.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
14
2020-07-31T09:35:23.000Z
2021-11-15T11:18:35.000Z
saphIR/include/ir/types.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
saphIR/include/ir/types.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include "utils/assert.hh" #include "utils/scoped.hh" #include "ir/ops.hh" #include "utils/symbol.hh" #include "utils/ref.hh" #define DEFAULT_SIZE (42) namespace mach { struct target; } namespace types { enum class type { INT, STRING, VOID, INVALID }; enum class sign...
24.877023
80
0.712372
balayette
5f4e977688d2c5ad1e3983e8f2baa255ffa0e0e3
1,208
cpp
C++
algorithm/OPG/test/OPGTest.cpp
Zx55/compiler-principle
31c4dda19fdd7e48bbd616e29cf6f8ea28ea1b5b
[ "MIT" ]
null
null
null
algorithm/OPG/test/OPGTest.cpp
Zx55/compiler-principle
31c4dda19fdd7e48bbd616e29cf6f8ea28ea1b5b
[ "MIT" ]
null
null
null
algorithm/OPG/test/OPGTest.cpp
Zx55/compiler-principle
31c4dda19fdd7e48bbd616e29cf6f8ea28ea1b5b
[ "MIT" ]
null
null
null
/* * LexParser.h * Test of OPG Parser. * Copyright (c) zx5. All rights reserved. */ #define CATCH_CONFIG_MAIN #include <iostream> #include <fstream> #include <sstream> #include <string> #include "../OPG.h" #include "../../../include/catch.hpp" using namespace std; using namespace Compiler; const string TEST_FIL...
19.174603
73
0.575331
Zx55
5f50400050ef6c699fba96e7dd2fb852bc2ea6b4
186
cpp
C++
Dataset/Leetcode/train/58/223.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/223.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/223.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int XXX(string s) { stringstream it(s); string tmp; while (it >> tmp) { } return tmp.size(); } };
14.307692
27
0.424731
kkcookies99
5f519bc1c25c34290477e9ce07ed8842754151f5
10,370
cpp
C++
src/audio/CBasicSound.cpp
JackCarlson/Avara
2d79f6a21855759e427e13ee2d791257bc8c8c71
[ "MIT" ]
77
2016-10-30T18:37:14.000Z
2022-02-13T05:02:55.000Z
src/audio/CBasicSound.cpp
tra/Avara
5a6b5a4f2cf29e8b2ddf7dd3f422579f37a14dab
[ "MIT" ]
135
2018-09-09T06:46:04.000Z
2022-01-29T19:33:12.000Z
src/audio/CBasicSound.cpp
tra/Avara
5a6b5a4f2cf29e8b2ddf7dd3f422579f37a14dab
[ "MIT" ]
19
2018-09-09T02:02:46.000Z
2022-03-16T08:21:08.000Z
/* Copyright ©1994-1996, Juri Munkki All rights reserved. File: CBasicSound.c Created: Friday, December 23, 1994, 10:57 Modified: Tuesday, September 3, 1996, 21:27 */ #include "CBasicSound.h" #include "CSoundHub.h" #include "CSoundMixer.h" #include <assert.h> void CBasicSound::Release() { i...
25.73201
91
0.548987
JackCarlson
34fc3eca1e3505b2d07896cb4ecee2a367e95d62
5,408
cpp
C++
src/core/renderer/shader.cpp
mdsitton/LudumDare38
afa00173cf245fef215aa10024bf397c01711f53
[ "BSD-2-Clause" ]
null
null
null
src/core/renderer/shader.cpp
mdsitton/LudumDare38
afa00173cf245fef215aa10024bf397c01711f53
[ "BSD-2-Clause" ]
1
2017-04-22T21:38:20.000Z
2017-04-22T21:38:20.000Z
src/core/renderer/shader.cpp
mdsitton/LudumDare38
afa00173cf245fef215aa10024bf397c01711f53
[ "BSD-2-Clause" ]
null
null
null
#include "config.hpp" #include <iostream> #include <stdexcept> #include <spdlog/spdlog.h> #include <glad/glad.h> #include "vfs.hpp" #include "shader.hpp" namespace ORCore { static std::shared_ptr<spdlog::logger> logger; static int _programCount = 0; Shader::Shader(ShaderInfo _info): info(_info) { ...
25.271028
83
0.611686
mdsitton
34fd456783bdd58cf5a710c3a4f029c2aeba3313
321
hpp
C++
src/rpcz/request_handler_ptr.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
4
2015-06-14T13:38:40.000Z
2020-11-07T02:29:59.000Z
src/rpcz/request_handler_ptr.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
1
2015-06-19T07:54:53.000Z
2015-11-12T10:38:21.000Z
src/rpcz/request_handler_ptr.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
3
2015-06-15T02:28:39.000Z
2018-10-18T11:02:59.000Z
// Author: Jin Qing (http://blog.csdn.net/jq0123) #ifndef RPCZ_REQUEST_HANDLER_PTR_H #define RPCZ_REQUEST_HANDLER_PTR_H #include <boost/shared_ptr.hpp> namespace rpcz { class request_handler; typedef boost::shared_ptr<request_handler> request_handler_ptr; } // namespace rpcz #endif // RPCZ_REQUEST_HANDLER_PTR_H...
20.0625
63
0.797508
jinq0123
34ff834048322fd5351a65e34660fef871d798db
719
cc
C++
src/lsp-protocol/static-data.cc
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
src/lsp-protocol/static-data.cc
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
src/lsp-protocol/static-data.cc
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
#include "Common.hh" #include "static-data.hh" namespace emlsp::rpc::lsp::data { #if 0 std::string const initialization_message = R"({ "jsonrpc": "2.0", "id": 1, "method": "initialize", "params": { "trace": "on", "locale": "en_US.UTF8", "clientInfo": ...
20.542857
76
0.513213
roflcopter4
5502c9b9825deb1d0594bfef07db2cc22ef09594
3,642
cpp
C++
MonoNative.Tests/mscorlib/System/mscorlib_System_OverflowException_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_OverflowException_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_OverflowException_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System // Name: OverflowException // C++ Typed Name: mscorlib::System::OverflowException #include <gtest/gtest.h> #include <mscorlib/System/mscorlib_System_OverflowException.h> #include <mscor...
22.7625
106
0.731466
brunolauze
5504cb8775368b3998df85f1df1ca63775176fd7
223
hh
C++
src/ast/Decl.hh
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
1
2020-01-06T09:43:56.000Z
2020-01-06T09:43:56.000Z
src/ast/Decl.hh
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
src/ast/Decl.hh
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
#pragma once #include "Statement.hh" // @TODO: Derive from something else class Decl : public Statement { MAKE_NONMOVABLE(Decl) MAKE_NONCOPYABLE(Decl) AST_NODE_NAME(Decl) protected: Decl() = default; };
18.583333
36
0.695067
walecome
550727d7b0ea51da785f910de3f02bb59e994fbc
746
hpp
C++
engine/source/util/util.hpp
aegooby/videosaurus
20e2dc52e3b06b15d546c8f0d4bba1f2c8b215ad
[ "Apache-2.0" ]
1
2021-02-19T13:02:23.000Z
2021-02-19T13:02:23.000Z
engine/source/util/util.hpp
aegooby/videosaurus
20e2dc52e3b06b15d546c8f0d4bba1f2c8b215ad
[ "Apache-2.0" ]
16
2021-02-11T04:23:48.000Z
2021-02-19T05:37:30.000Z
engine/source/util/util.hpp
aegooby/videosaurus
20e2dc52e3b06b15d546c8f0d4bba1f2c8b215ad
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../__common.hpp" namespace vs { namespace util { template<typename type> void print_arg(const type& arg) { std::cout << arg; } template<> void print_arg(const bool& arg) { std::cout << termcolor::bold << termcolor::yellow << (arg ? "true" : "false") << termcolor::reset; } ...
21.941176
79
0.621984
aegooby
550915e6b36470976148ac116d6c97b7a88ddbe9
1,464
hpp
C++
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_From.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
1
2021-06-03T15:56:32.000Z
2021-06-03T15:56:32.000Z
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_From.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
1
2015-08-05T05:51:49.000Z
2015-08-05T05:51:49.000Z
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_From.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
null
null
null
#if !defined(SIP0X_PARSER_TOKENSIPMESSAGEHEADER_FROM_HPP__) #define SIP0X_PARSER_TOKENSIPMESSAGEHEADER_FROM_HPP__ #include "parser/tokens/TokenAbstract.hpp" #include "parser/tokens/Operators.hpp" #include "parser/tokens/TokenRegex.hpp" #include "parser/tokens/TokenNameAddr.hpp" #include "parser/tokens/TokenGenericPar...
34.857143
182
0.686475
zanfire
55093c0a05392e2151d3204f2e5fe7810db874f7
1,298
cpp
C++
rasprobotd/src/main.cpp
sea-kg/php-rasp-robot
c404a46c48db6e5865a47fbcd0f02d8869cc71a5
[ "MIT" ]
null
null
null
rasprobotd/src/main.cpp
sea-kg/php-rasp-robot
c404a46c48db6e5865a47fbcd0f02d8869cc71a5
[ "MIT" ]
null
null
null
rasprobotd/src/main.cpp
sea-kg/php-rasp-robot
c404a46c48db6e5865a47fbcd0f02d8869cc71a5
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <iostream> #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> #include <unistd.h> #include <errno.h> #include <fcntl.h> #include <syslog.h> #include <QtCore> #include <QFile> #include <QString> #include "websocketser...
30.186047
135
0.690293
sea-kg
55096fa25ddc42207a712250b4c5fd9d67d95038
773
cpp
C++
trainings/2015-10-13-Sichuan-Province-2012/A.cpp
HcPlu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
9
2017-10-07T13:35:45.000Z
2021-06-07T17:36:55.000Z
trainings/2015-10-13-Sichuan-Province-2012/A.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
null
null
null
trainings/2015-10-13-Sichuan-Province-2012/A.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
3
2018-04-24T05:27:21.000Z
2019-04-25T06:06:00.000Z
#include <iostream> using namespace std; int a[10], used[22][22][22]; void solve() { for (int i = 1; i <= 3; i++) { scanf("%d", &a[i]); } sort(a + 1, a + 4); memset(used, 0, sizeof(used)); for (int i = 1; i <= 3; i++) { for (int j = 1; j <= 3; j++) { for (int k = 1; k <...
22.735294
63
0.315653
HcPlu
550aa8d1a5439a4dfa72d97d3345ac219f405660
3,494
cpp
C++
main.cpp
picorro/VulkanEngine
eca00b4332783a44692207ac4f057f292ca07328
[ "MIT" ]
null
null
null
main.cpp
picorro/VulkanEngine
eca00b4332783a44692207ac4f057f292ca07328
[ "MIT" ]
null
null
null
main.cpp
picorro/VulkanEngine
eca00b4332783a44692207ac4f057f292ca07328
[ "MIT" ]
null
null
null
/******************************************************************* ** This code is part of Breakout. ** ** Breakout is free software: you can redistribute it and/or modify ** it under the terms of the CC BY 4.0 license as published by ** Creative Commons, either version 4 of the License, or (at your ** option) any la...
27.952
110
0.653692
picorro
550d4bfc530fd0ba42f49bed4131585a505fe65e
18,389
cc
C++
include/windows/google/protobuf/any_test.pb.cc
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
83
2019-12-03T08:42:15.000Z
2022-03-30T13:22:37.000Z
include/windows/google/protobuf/any_test.pb.cc
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
1
2021-08-06T10:40:57.000Z
2021-08-09T06:33:43.000Z
include/windows/google/protobuf/any_test.pb.cc
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
45
2020-05-29T03:22:48.000Z
2022-03-21T16:19:01.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/protobuf/any_test.proto #include "google/protobuf/any_test.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protob...
38.795359
203
0.73805
Thanalan
550de8d47b5f9f69b204979617fe7276bf2d5fba
11,501
cpp
C++
node/node.cpp
catenocrypt/tcpserver-libuv-sample
ad847ce3bb89adb92b6adf24e14a8f806580b7f1
[ "MIT" ]
1
2020-04-29T07:29:27.000Z
2020-04-29T07:29:27.000Z
node/node.cpp
catenocrypt/tcpserver-libuv-sample
ad847ce3bb89adb92b6adf24e14a8f806580b7f1
[ "MIT" ]
null
null
null
node/node.cpp
catenocrypt/tcpserver-libuv-sample
ad847ce3bb89adb92b6adf24e14a8f806580b7f1
[ "MIT" ]
null
null
null
#include "node.hpp" #include "peer_conn.hpp" #include "endpoint.hpp" #include "../lib/net_handler.hpp" #include "../lib/net_client.hpp" #include <cassert> #include <iostream> using namespace sample; using namespace std; NodeApp::PeerCandidateInfo::PeerCandidateInfo(std::string host_in, int port_in, int toTry_in) : ...
31.683196
204
0.536388
catenocrypt
550ed484a943b7c9c3414be1c5063ee32f77b838
965
cpp
C++
source/BinaryTree/144. Binary Tree Preorder Traversal.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
source/BinaryTree/144. Binary Tree Preorder Traversal.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
source/BinaryTree/144. Binary Tree Preorder Traversal.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
//递归解法: class Solution { public: void prebintree(TreeNode * root,vector<int> &res){//记得传地址而不是传值&res if(root == nullptr) { return; } res.push_back(root->val); prebintree(root->left,res); prebintree(root->right,res); return; } vector<int> preorderTr...
22.44186
70
0.533679
Tridu33
55131cf89a253821832354b7d53c2f3b0a84d1ea
436
cpp
C++
old/src/channel/BufferWrapper.cpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
null
null
null
old/src/channel/BufferWrapper.cpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
47
2019-12-30T22:14:04.000Z
2022-03-26T02:04:06.000Z
old/src/channel/BufferWrapper.cpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
null
null
null
#include "channel/BufferWrapper.hpp" using elrond::channel::BufferWrapper; /* **************************************************************************** ************** elrond::channel::BufferWrapper Implementation *************** ****************************************************************************/...
39.636364
83
0.431193
edwino-stein
55138f897795896970b5bc19224bd50389607a67
5,112
hpp
C++
Support/Modules/GSRoot/ThreadMonitor.hpp
graphisoft-python/TextEngine
20c2ff53877b20fdfe2cd51ce7abdab1ff676a70
[ "Apache-2.0" ]
3
2019-07-15T10:54:54.000Z
2020-01-25T08:24:51.000Z
Support/Modules/GSRoot/ThreadMonitor.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
null
null
null
Support/Modules/GSRoot/ThreadMonitor.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
1
2020-09-26T03:17:22.000Z
2020-09-26T03:17:22.000Z
// ***************************************************************************** // // Declaration of ThreadMonitor class // // Module: GSRoot // Namespace: GS // Contact person: SN // // ***************************************************************************** #ifndef GS_THREADMONITOR_HPP #define GS_THREADMON...
26.081633
84
0.339593
graphisoft-python
55146f745ab25defa0d51dc9e47174d30cf93ccd
8,270
hpp
C++
utility/convert.hpp
MIPS/external-parameter-framework
7f346c9058f39a533a2eaadc9ebc4001397c6ff9
[ "BSD-3-Clause" ]
null
null
null
utility/convert.hpp
MIPS/external-parameter-framework
7f346c9058f39a533a2eaadc9ebc4001397c6ff9
[ "BSD-3-Clause" ]
null
null
null
utility/convert.hpp
MIPS/external-parameter-framework
7f346c9058f39a533a2eaadc9ebc4001397c6ff9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2011-2014, 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: * * 1. Redistributions of source code must retain the above copyright notice, this * list of...
33.893443
97
0.69867
MIPS
55156c345ef50bf7727bbde804a325a7ba4bd841
1,553
hpp
C++
src/morda/widgets/proxy/click_proxy.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
69
2016-12-07T05:56:53.000Z
2020-11-27T20:59:05.000Z
src/morda/widgets/proxy/click_proxy.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
103
2015-07-10T14:42:21.000Z
2020-09-09T16:16:21.000Z
src/morda/widgets/proxy/click_proxy.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
18
2016-11-22T14:41:37.000Z
2020-04-22T18:16:10.000Z
/* morda - GUI framework Copyright (C) 2012-2021 Ivan Gagis <igagis@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version...
27.732143
79
0.714746
igagis
55164e1e221b2c4199fa953565a2f8df20edc4c7
936
cpp
C++
training/1-1-7-beads/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
2
2015-12-26T21:20:12.000Z
2017-12-19T00:11:45.000Z
training/1-1-7-beads/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
null
null
null
training/1-1-7-beads/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
null
null
null
/* ID: <ID HERE> LANG: C++11 TASK: beads */ #include <fstream> #include <string> using namespace std; template <typename iterator> int get_stretch(iterator begin, iterator end) { auto iter = begin; auto current_type = *iter; while (iter++ != end) { if (*iter == 'w') continue; if (current_type == 'w') current_...
19.5
86
0.666667
hsun324
5517c8062ce0660d358616c3c258be1ce9fb3327
54
hpp
C++
include/EnvironmentHider.hpp
Raemien/CustomBackgroundsQuest
40ad901b33075420f63d6088f0280013cc5321c1
[ "MIT" ]
4
2021-02-03T08:53:53.000Z
2022-03-14T06:02:35.000Z
include/EnvironmentHider.hpp
Raemien/CustomBackgroundsQuest
40ad901b33075420f63d6088f0280013cc5321c1
[ "MIT" ]
1
2021-09-14T17:45:34.000Z
2021-09-15T13:51:39.000Z
include/EnvironmentHider.hpp
Raemien/CustomBackgroundsQuest
40ad901b33075420f63d6088f0280013cc5321c1
[ "MIT" ]
2
2021-09-09T01:21:23.000Z
2022-02-13T09:14:11.000Z
extern void HideMenuEnv(); extern void HideGameEnv();
18
26
0.777778
Raemien
55184abb4520a516bff065baa04688408fb61ed1
3,525
hpp
C++
demos/TIMDemo/skin/MaskSkin.hpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
33
2018-07-04T09:38:12.000Z
2021-06-19T06:11:45.000Z
demos/TIMDemo/skin/MaskSkin.hpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
null
null
null
demos/TIMDemo/skin/MaskSkin.hpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
13
2018-07-01T01:55:17.000Z
2021-08-03T10:55:45.000Z
#ifndef __MASK_SKIN_HPP_ #define __MASK_SKIN_HPP_ #include "core/SSkin.h" //************************************ // 这个是 mask 遮罩 皮肤 头像 在skin.xml 里配置 需要 3个值 // src 和 imglist 一样 // mask_a 设置透明值 的rgb a // .a=3 .r=0 .g=1 .b=2 // mask 设置遮罩 图片 // <masklist name="default" src="image:default" mask_a="1" mask="image:ma...
24.143836
84
0.63461
wzaen
5519511b177d6bb29e019d6aaec7cb1ec9265209
2,679
cpp
C++
vcf/VCFBuilder2/SelectionManager.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
vcf/VCFBuilder2/SelectionManager.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
vcf/VCFBuilder2/SelectionManager.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
//SelectionManager.h #include "ApplicationKit.h" #include "SelectionManager.h" #include <algorithm> using namespace VCF; using namespace VCFBuilder; SelectionManager SelectionManager::selectionMgrInstance; SelectionManager::SelectionManager() { init(); } SelectionManager::~SelectionManager() { m_schedul...
24.577982
114
0.736096
tharindusathis
551bf1e59d207439ecad87f4c13dd45bf661eff0
3,519
hpp
C++
3rdParty/boost/1.71.0/libs/parameter/test/deduced.hpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
3rdParty/boost/1.71.0/libs/parameter/test/deduced.hpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
3rdParty/boost/1.71.0/libs/parameter/test/deduced.hpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
// Copyright Daniel Wallin 2006. // Copyright Cromwell D. Enage 2017. // 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 BOOST_DEDUCED_060920_HPP #define BOOST_DEDUCED_060920_HPP #include <boost/parameter/...
26.659091
76
0.596476
rajeev02101987
55210b4c09d6343a045c00f1aab3c56a53b7accc
842
cpp
C++
30days/day26.cpp
sagi-z/hackerrank
ba6c75947626adb8b0fc89868cb3cb86f60aaa14
[ "MIT" ]
null
null
null
30days/day26.cpp
sagi-z/hackerrank
ba6c75947626adb8b0fc89868cb3cb86f60aaa14
[ "MIT" ]
null
null
null
30days/day26.cpp
sagi-z/hackerrank
ba6c75947626adb8b0fc89868cb3cb86f60aaa14
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <iterator> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int d1, m1, y1; int d2, m2, y2; istream_iterator<int> iter(cin); d1 = *i...
18.711111
80
0.465558
sagi-z
55258619dc7b0fa1b8366e9eafff443d00ac4825
552
cpp
C++
classeA.cpp
RafaelNatsu/Projeto_Rafael_Natsu
71360db1788a2d3aa7d57de41ff90bff9e48f8bb
[ "MIT" ]
null
null
null
classeA.cpp
RafaelNatsu/Projeto_Rafael_Natsu
71360db1788a2d3aa7d57de41ff90bff9e48f8bb
[ "MIT" ]
null
null
null
classeA.cpp
RafaelNatsu/Projeto_Rafael_Natsu
71360db1788a2d3aa7d57de41ff90bff9e48f8bb
[ "MIT" ]
null
null
null
#include "classeA.hpp" classeA::classeA() { A1 = 0; A2 = 0; } classeA::~classeA(){} void classeA::MA1() { std::cout << "Metodo MA1" << std::endl; } void classeA::MA2() { std::cout << "Metodo MA2" << std::endl; } void classeA::MA3() { std::cout << "Alteração a classe A part...
12.266667
70
0.519928
RafaelNatsu
552cc14700be68dce24bfb788e63b032eb9147b9
5,737
cpp
C++
wznmcmbd/CrdWznmOpx/PnlWznmOpxDetail_evals.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
wznmcmbd/CrdWznmOpx/PnlWznmOpxDetail_evals.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
wznmcmbd/CrdWznmOpx/PnlWznmOpxDetail_evals.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file PnlWznmOpxDetail_evals.cpp * job handler for job PnlWznmOpxDetail (implementation of availability/activation evaluation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE using namespace std; usi...
20.41637
101
0.682587
mpsitech
552e4bb200ddc0eb455b2eca6355e0bac53347f8
13,531
cpp
C++
decoder/YAIK_Alpha.cpp
KLab/YAIK
55ecf9b8eac0b2b67c4cb52b997e81930e94f9bf
[ "MIT" ]
4
2020-05-26T02:21:35.000Z
2022-01-13T12:05:28.000Z
decoder/YAIK_Alpha.cpp
KLab/YAIK
55ecf9b8eac0b2b67c4cb52b997e81930e94f9bf
[ "MIT" ]
null
null
null
decoder/YAIK_Alpha.cpp
KLab/YAIK
55ecf9b8eac0b2b67c4cb52b997e81930e94f9bf
[ "MIT" ]
null
null
null
#include "YAIK_functions.h" // memset, memcpy #include <memory.h> /* ----------------------------------------------------------------------------- 2. Decompression technique for Alpha ----------------------------------------------------------------------------- */ bool CheckInBound2D(YAIK_Instance* pCtx,...
30.406742
151
0.538319
KLab
552ea5a5d0dee8d6d27ee878bf7c75c1e22c1589
10,777
cpp
C++
evs/src/v2/model/SnapshotDetails.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
evs/src/v2/model/SnapshotDetails.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
evs/src/v2/model/SnapshotDetails.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/evs/v2/model/SnapshotDetails.h" namespace HuaweiCloud { namespace Sdk { namespace Evs { namespace V2 { namespace Model { SnapshotDetails::SnapshotDetails() { id_ = ""; idIsSet_ = false; status_ = ""; statusIsSet_ = false; name_ = ""; nameIsSet_ = false; descripti...
25.00464
153
0.673286
yangzhaofeng
55307bf0b102da1dcbeca82bac7ed73adf53a86a
8,215
cpp
C++
MyProcessInjectControl/MFCMyProcCtlUI/MFCMyProcCtlUIDlg.cpp
shc0743/CLearn
e6580588102bb66fb76903deb6699f19b38f4676
[ "MIT" ]
null
null
null
MyProcessInjectControl/MFCMyProcCtlUI/MFCMyProcCtlUIDlg.cpp
shc0743/CLearn
e6580588102bb66fb76903deb6699f19b38f4676
[ "MIT" ]
null
null
null
MyProcessInjectControl/MFCMyProcCtlUI/MFCMyProcCtlUIDlg.cpp
shc0743/CLearn
e6580588102bb66fb76903deb6699f19b38f4676
[ "MIT" ]
null
null
null
 // MFCMyProcCtlUIDlg.cpp: 实现文件 // #include "pch.h" #include "framework.h" #include "MFCMyProcCtlUI.h" #include "MFCMyProcCtlUIDlg.h" #include "afxdialogex.h" #ifdef _DEBUG #define new DEBUG_NEW #endif #include <TlHelp32.h> using namespace std; CAboutDlg::CAboutDlg() : CDialogEx(IDD_ABOUTBOX) { } void CAboutDlg::...
26.246006
79
0.709677
shc0743
5530e9403ac3d0816100568113bbfd0b164ef4e4
721
cpp
C++
test/smoke/fast_fp_atomics/fast_fp_atomics.cpp
raramakr/aomp
9a224fe01ca8eff4209b8b79aa1fa15a18da65db
[ "Apache-2.0" ]
null
null
null
test/smoke/fast_fp_atomics/fast_fp_atomics.cpp
raramakr/aomp
9a224fe01ca8eff4209b8b79aa1fa15a18da65db
[ "Apache-2.0" ]
null
null
null
test/smoke/fast_fp_atomics/fast_fp_atomics.cpp
raramakr/aomp
9a224fe01ca8eff4209b8b79aa1fa15a18da65db
[ "Apache-2.0" ]
null
null
null
#include<stdio.h> #include<omp.h> int main() { double sum = 0.0; int n = 10000; #pragma omp target teams distribute parallel for map(tofrom:sum) for(int i = 0; i < n; i++) { #pragma omp atomic hint(AMD_safe_fp_atomics) sum+=1.0; } int err = 0; if (sum != (double) n) { printf("Error with sa...
20.6
83
0.590846
raramakr
5530faf5a36ee97a940185b4620737dd2bc95ae6
2,491
cpp
C++
POO/Seminar 2/S2p2claseImplicit.cpp
ParaschivAlex/FMI-Thangs
26d8a13b08344744ee6ab56f088dd4adb665980e
[ "MIT" ]
null
null
null
POO/Seminar 2/S2p2claseImplicit.cpp
ParaschivAlex/FMI-Thangs
26d8a13b08344744ee6ab56f088dd4adb665980e
[ "MIT" ]
null
null
null
POO/Seminar 2/S2p2claseImplicit.cpp
ParaschivAlex/FMI-Thangs
26d8a13b08344744ee6ab56f088dd4adb665980e
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> using namespace std; class Complex { float re,im; public: void f(); }; /* pentru orice clasa compilatorul asigura implicit - un constructor de initializare -fara parametrii, - un constructor de copiere - un operator d...
38.921875
125
0.69169
ParaschivAlex
553345d2e3f5d662bb794c85bfdcafd0b77fc691
8,688
cpp
C++
Source/Qurses/util.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/Qurses/util.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/Qurses/util.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
/* Public Domain Curses */ #include "Qurses/curspriv.h" RCSID("$Id: util.c,v 1.71 2008/07/13 16:08:18 wmcbrine Exp $") /*man-start************************************************************** Name: util Synopsis: char *unctrl(chtype c); v...
26.487805
106
0.436119
mfaithfull
553c6630e13e876b18e0421953c8a53c297bc302
3,945
hpp
C++
threadsafe/queue/spsc_queue.hpp
AVasK/core
e8f73f2b92be1ac0a98bda2824682181c5575748
[ "MIT" ]
null
null
null
threadsafe/queue/spsc_queue.hpp
AVasK/core
e8f73f2b92be1ac0a98bda2824682181c5575748
[ "MIT" ]
null
null
null
threadsafe/queue/spsc_queue.hpp
AVasK/core
e8f73f2b92be1ac0a98bda2824682181c5575748
[ "MIT" ]
null
null
null
#pragma once #include <atomic> #include "../../cpu.hpp" // cacheline_size #include "../../range.hpp" #include "../auxiliary/tagged.hpp" // TaggedData #include "io_descriptors.hpp" // core::{queue_reader, queue_writer} #include <vector> template <typename T, typename size_type=unsigned> class spsc_queue { frie...
26.836735
146
0.532573
AVasK
553fa9919d6f85475b1ce52b5cd98398731f4ede
29,505
cpp
C++
libs/odbc/binder.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
null
null
null
libs/odbc/binder.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
1
2017-01-07T09:44:20.000Z
2017-01-07T09:44:20.000Z
libs/odbc/binder.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * Copyright 2005-2006, Hajo Kirchhoff - Lit Window Productions, http://www.litwindow.com * This file is part of the Lit Window ODBC Library. All use of this material - copying * in full or part, including in other works, using in non-profit or for-profit work * and other uses - is governed by the licence contained ...
35
285
0.716624
hajokirchhoff
55418e97647308bed166a7a209cf7c44021f8800
560
cpp
C++
main/find-triplets-with-zero-sum/find-triplets-with-zero-sum.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/find-triplets-with-zero-sum/find-triplets-with-zero-sum.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/find-triplets-with-zero-sum/find-triplets-with-zero-sum.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
/*You are required to complete the function below*/ bool findTriplets(int *const a, const int n) { sort(a, a + n); for (auto i = 0; i != n; ++i) { const auto target = -a[i]; for (auto j = 0, k = n - 1; j < k; ) { const auto cur = a[j] + a[k]; if...
25.454545
51
0.376786
EliahKagan
554449e60a821f16c728c8c7d5f120483a2d48bd
3,792
cpp
C++
Example/Example.cpp
davemc0/Particle
04d9bbe19e21b9024c81eb21708425e4a1ebc361
[ "CC0-1.0" ]
1
2022-03-26T01:48:11.000Z
2022-03-26T01:48:11.000Z
Example/Example.cpp
davemc0/Particle
04d9bbe19e21b9024c81eb21708425e4a1ebc361
[ "CC0-1.0" ]
null
null
null
Example/Example.cpp
davemc0/Particle
04d9bbe19e21b9024c81eb21708425e4a1ebc361
[ "CC0-1.0" ]
null
null
null
// Example.cpp - An example of the Particle System API in OpenGL // // Copyright 1999-2006, 2022 by David K. McAllister #include "Particle/pAPI.h" using namespace PAPI; // OpenGL #include "GL/glew.h" // This needs to come after GLEW #include "GL/freeglut.h" // For C++17 execution policy to get parallelism of partic...
26.893617
151
0.64847
davemc0
55454bd5de6af9932b41977d05db0d82cd96ccc2
6,908
cpp
C++
libraries/RTIMULib/utility/RTPressureMS5803.cpp
uutzinger/RTIMULib2-Teensy
0901af6b69399b0f107c8bf1012e6361e3029b94
[ "MIT" ]
1
2021-05-16T16:24:27.000Z
2021-05-16T16:24:27.000Z
libraries/RTIMULib/utility/RTPressureMS5803.cpp
uutzinger/RTIMULib2-Teensy
0901af6b69399b0f107c8bf1012e6361e3029b94
[ "MIT" ]
null
null
null
libraries/RTIMULib/utility/RTPressureMS5803.cpp
uutzinger/RTIMULib2-Teensy
0901af6b69399b0f107c8bf1012e6361e3029b94
[ "MIT" ]
7
2016-09-04T23:01:26.000Z
2020-05-08T06:00:46.000Z
//////////////////////////////////////////////////////////////////////////// // // This file is part of RTIMULib // // Copyright (c) 2014-2015, richards-tech // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to...
34.713568
132
0.604661
uutzinger
5545628e382e2f84e9ad33d63a872f72b56334fc
1,281
hpp
C++
include/cql/cql_uuid.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
3
2016-02-24T09:22:16.000Z
2021-04-06T03:04:21.000Z
include/cql/cql_uuid.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
null
null
null
include/cql/cql_uuid.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
6
2015-04-26T07:16:44.000Z
2020-11-23T06:31:07.000Z
/* * File: cql_uuid_t.hpp * Author: mc * * Created on September 26, 2013, 12:35 PM */ #ifndef CQL_UUID_HPP_ #define CQL_UUID_HPP_ #include <functional> namespace cql { class cql_uuid_t; } namespace std { // template<> // struct hash<cql::cql_uuid_t>; } namespace cql { class cql_uuid_t { public:...
18.042254
64
0.551132
ncbi
5546642ce4eec804341472684f579415e01994e1
641
cpp
C++
simplefvm/src/FVMSolver/CoeffsPartsCommon/DataExchanger/DataExchangerP.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
4
2022-01-03T08:45:55.000Z
2022-01-06T19:57:11.000Z
simplefvm/src/FVMSolver/CoeffsPartsCommon/DataExchanger/DataExchangerP.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
null
null
null
simplefvm/src/FVMSolver/CoeffsPartsCommon/DataExchanger/DataExchangerP.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
null
null
null
#include "DataExchangerP.h" namespace fvmsolver { DataExchangerP::DataExchangerP(uPtrDataPort spData) : spData_(std::move(spData)), data_(*spData_) { } void DataExchangerP::assignCurrentCellValues(size_t step) { size_t numUw_ = data_.getNum...
27.869565
63
0.631825
artvns
554761e1a836a0c8b0f900513094b1f845556219
5,192
cpp
C++
src/physics/ycolshape.cpp
sivarajankumar/smoothernity
a4c7d290ca601bddf680ef040f3235dc7b029a6b
[ "MIT" ]
null
null
null
src/physics/ycolshape.cpp
sivarajankumar/smoothernity
a4c7d290ca601bddf680ef040f3235dc7b029a6b
[ "MIT" ]
null
null
null
src/physics/ycolshape.cpp
sivarajankumar/smoothernity
a4c7d290ca601bddf680ef040f3235dc7b029a6b
[ "MIT" ]
null
null
null
#include "yphysres.h" #include "ycolshape.hpp" #include "pmem.hpp" struct ycolshapes_t { int count; ycolshape_t *pool; }; static ycolshapes_t g_ycolshapes; int ycolshape_init(int count) { size_t size_max, align_max; ycolshape_t *cs; #define FIND_SIZES(t) \ if (sizeof(t) > size_max) size_...
27.764706
79
0.578005
sivarajankumar
554a6cc43c83e5ad46f4ae32c3288a1875b434a5
782
cpp
C++
src/client/src/ImagingException.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
src/client/src/ImagingException.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
src/client/src/ImagingException.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "ImagingException.h" #include "Tools.h" using namespace std; using namespace Tools; ImagingException::ImagingException(HRESULT result) : error (::GetLastError()) , result (result) { DWORD flags (FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_FROM_HMODULE|FORMAT_MESSAGE_IGNO...
24.4375
104
0.643223
don-reba
554cc503f4f76c472445fe6d598a53bf39690230
571
cpp
C++
CONTESTS/CODEFORCES/div2 844/A.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
1
2021-11-22T02:26:43.000Z
2021-11-22T02:26:43.000Z
CONTESTS/CODEFORCES/div2 844/A.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
CONTESTS/CODEFORCES/div2 844/A.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; int vis[200]; int main() { // freopen("in.txt", "r", stdin); // freopen("out.txt", "w", stdout); std::ios_base::sync_with_stdio(false); cin.tie(0); int k; string s; cin>>s>>k; if(k>s.size()) co...
14.641026
45
0.436077
priojeetpriyom
55500631f687f3ca724aa7dc4096cbb61ef2bf1b
1,385
cpp
C++
src/main.cpp
marangisto/dro
d5c7ff5a3d4a321f75288f4dc1417dc30cdca854
[ "MIT" ]
null
null
null
src/main.cpp
marangisto/dro
d5c7ff5a3d4a321f75288f4dc1417dc30cdca854
[ "MIT" ]
null
null
null
src/main.cpp
marangisto/dro
d5c7ff5a3d4a321f75288f4dc1417dc30cdca854
[ "MIT" ]
null
null
null
#include <gpio.h> #include <textio.h> #include <usart.h> #include <hardware/tm1637.h> #include <button.h> static const pin_t LED = PA5; static const pin_t PROBE = PA8; static const int SERIAL_USART = 2; static const pin_t SERIAL_TX = PA2; static const pin_t SERIAL_RX = P...
23.083333
60
0.625993
marangisto
5552af8f77f4820aa092974e975ca5b5c22bb4bd
2,269
cc
C++
src/sampler/random_sampler.cc
TheTimmy/decord
67bfd14e4ae50b2751e7b92b73c6d73df35cbdaf
[ "Apache-2.0" ]
762
2020-01-16T02:44:50.000Z
2022-03-30T10:03:36.000Z
src/sampler/random_sampler.cc
TheTimmy/decord
67bfd14e4ae50b2751e7b92b73c6d73df35cbdaf
[ "Apache-2.0" ]
161
2020-01-20T07:47:38.000Z
2022-03-11T15:19:10.000Z
src/sampler/random_sampler.cc
TheTimmy/decord
67bfd14e4ae50b2751e7b92b73c6d73df35cbdaf
[ "Apache-2.0" ]
77
2020-01-23T17:47:20.000Z
2022-03-28T10:12:19.000Z
/*! * Copyright (c) 2019 by Contributors if not otherwise specified * \file random_file_order_sampler.cc * \brief Randomly shuffle file order but not internal frame order */ #include "random_sampler.h" #include <algorithm> #include <dmlc/logging.h> namespace decord { namespace sampler { RandomSampler::RandomS...
31.513889
134
0.578228
TheTimmy
55554a9d591a8c787954592b1ccf0f098e863c22
695
cpp
C++
src/samarium/physics/Spring.cpp
strangeQuark1041/samarium
7e4d107e719d54b55b16d63707595a27f357fb6d
[ "MIT" ]
1
2021-12-25T16:37:53.000Z
2021-12-25T16:37:53.000Z
src/samarium/physics/Spring.cpp
strangeQuark1041/samarium
7e4d107e719d54b55b16d63707595a27f357fb6d
[ "MIT" ]
1
2022-03-07T11:46:27.000Z
2022-03-07T11:46:27.000Z
src/samarium/physics/Spring.cpp
strangeQuark1041/samarium
7e4d107e719d54b55b16d63707595a27f357fb6d
[ "MIT" ]
null
null
null
/* * SPDX-License-Identifier: MIT * Copyright (c) 2022 Jai Bellare * See <https://opensource.org/licenses/MIT/> or LICENSE.md * Project homepage: https://github.com/strangeQuark1041/samarium */ #include "Spring.hpp" namespace sm { [[nodiscard]] auto Spring::length() const noexcept -> f64 { return math::distance(...
26.730769
100
0.666187
strangeQuark1041
55566650381b23567922169592f96bac20617ea6
948
cpp
C++
Leetcode/Day019/unique_path_obstacle.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
Leetcode/Day019/unique_path_obstacle.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
Leetcode/Day019/unique_path_obstacle.cpp
SujalAhrodia/Practice_2020
59b371ada245ed8253d12327f18deee3e47f31d6
[ "MIT" ]
null
null
null
class Solution { public: int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) { int m = obstacleGrid.size(); int n = obstacleGrid[0].size(); vector<vector<unsigned int>> dp(m, vector<unsigned int> (n,0)); if(obstacleGrid[0][0] == 1) retur...
23.7
71
0.369198
SujalAhrodia
555e005b05ac3829addccd594298ddd68e224ec4
14,462
cpp
C++
renderdoc/driver/gl/gl_replay_win32.cpp
yangzhengxing/renderdoc
214450227ea96df0b2b079632b1f20e23a3fd8fe
[ "MIT" ]
null
null
null
renderdoc/driver/gl/gl_replay_win32.cpp
yangzhengxing/renderdoc
214450227ea96df0b2b079632b1f20e23a3fd8fe
[ "MIT" ]
null
null
null
renderdoc/driver/gl/gl_replay_win32.cpp
yangzhengxing/renderdoc
214450227ea96df0b2b079632b1f20e23a3fd8fe
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015-2017 Baldur Karlsson * Copyright (c) 2014 Crytek * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (t...
27.704981
102
0.679021
yangzhengxing
555eb04b23df36f8bbe34884d1adb71ad6759a83
2,712
cpp
C++
src/camera/CameraParams.cpp
huskyroboticsteam/PY2020
cd6368d85866204dbdca6aefacac69059e780aa2
[ "Apache-2.0" ]
11
2019-10-03T01:17:16.000Z
2020-10-25T02:38:32.000Z
src/camera/CameraParams.cpp
huskyroboticsteam/PY2020
cd6368d85866204dbdca6aefacac69059e780aa2
[ "Apache-2.0" ]
53
2019-10-03T02:11:04.000Z
2021-06-05T03:11:55.000Z
src/camera/CameraParams.cpp
huskyroboticsteam/Resurgence
649f78103b6d76709fdf55bb38d08c0ff50da140
[ "Apache-2.0" ]
3
2019-09-20T04:09:29.000Z
2020-08-18T22:25:20.000Z
#include "CameraParams.h" #include <opencv2/core.hpp> namespace cam { ////////////// CONSTRUCTORS ////////////// CameraParams::CameraParams() { } void CameraParams::init(const cv::Mat& camera_matrix, const cv::Mat& dist_coeff, cv::Size image_size) { if (camera_matrix.size() != cv::Size(3, 3)) { throw std:...
26.851485
94
0.696165
huskyroboticsteam
5561aca0f75c7279a4e60441e8f0e6ae404732fd
9,253
cpp
C++
src/heuristics/rcHeuristics/RCModelFactory.cpp
Songtuan-Lin/pandaPIengine
be019b16fec6f679fa3db31b97ccbe9491769d65
[ "BSD-3-Clause" ]
5
2021-04-06T22:06:47.000Z
2021-07-20T14:56:13.000Z
src/heuristics/rcHeuristics/RCModelFactory.cpp
Songtuan-Lin/pandaPIengine
be019b16fec6f679fa3db31b97ccbe9491769d65
[ "BSD-3-Clause" ]
2
2021-04-07T12:17:39.000Z
2021-09-03T10:30:26.000Z
src/heuristics/rcHeuristics/RCModelFactory.cpp
Songtuan-Lin/pandaPIengine
be019b16fec6f679fa3db31b97ccbe9491769d65
[ "BSD-3-Clause" ]
6
2021-06-16T13:41:06.000Z
2022-03-30T07:13:18.000Z
/* * RCModelFactory.cpp * * Created on: 09.02.2020 * Author: dh */ #include "RCModelFactory.h" namespace progression { RCModelFactory::RCModelFactory(Model* htn) { this->htn = htn; } RCModelFactory::~RCModelFactory() { // TODO Auto-generated destructor stub } Model* RCModelFactory::getRCmodelSTRIPS() ...
28.915625
93
0.584675
Songtuan-Lin
5563e17227c0e9ac9e3f36e11978115c10de87cf
3,764
cpp
C++
src/vismethods/boxplot.cpp
jakobtroidl/Barrio
55c447325f2e83a21b39c54cdca37b2779d0569c
[ "MIT" ]
null
null
null
src/vismethods/boxplot.cpp
jakobtroidl/Barrio
55c447325f2e83a21b39c54cdca37b2779d0569c
[ "MIT" ]
3
2021-11-02T22:24:04.000Z
2021-11-29T18:01:51.000Z
src/vismethods/boxplot.cpp
jakobtroidl/Barrio
55c447325f2e83a21b39c54cdca37b2779d0569c
[ "MIT" ]
null
null
null
#include "boxplot.h" Boxplot::Boxplot(Boxplot* boxplot) { m_datacontainer = boxplot->m_datacontainer; m_global_vis_parameters = boxplot->m_global_vis_parameters; } Boxplot::Boxplot(GlobalVisParameters* visparams, DataContainer* datacontainer) { m_global_vis_parameters = visparams; m_datacontainer = datacontainer;...
24.283871
135
0.772848
jakobtroidl
5568cae4112ad35a5722916126cef4f92baa52be
5,227
hpp
C++
libmikroxml/mikroxml/mikroxml.hpp
rantingmong/svgrenderer
082879b448a2c241f69e383620b59e307298bb77
[ "MIT" ]
1
2021-03-29T19:30:47.000Z
2021-03-29T19:30:47.000Z
libmikroxml/mikroxml/mikroxml.hpp
rantingmong/svgrenderer
082879b448a2c241f69e383620b59e307298bb77
[ "MIT" ]
null
null
null
libmikroxml/mikroxml/mikroxml.hpp
rantingmong/svgrenderer
082879b448a2c241f69e383620b59e307298bb77
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <utki/Buf.hpp> #include <utki/Exc.hpp> namespace mikroxml{ class Parser{ enum class State_e{ IDLE, TAG, TAG_SEEK_GT, TAG_EMPTY, DECLARATION, DECLARATION_END, COMMENT, COMMENT_END, ATTRIBUTES, ATTRIBUTE_NAME, ATTRIBUTE_SEEK_TO_EQUALS, ATTRIBUTE_SEEK_TO_...
35.080537
132
0.726229
rantingmong
556b6070e185d3ad180455bf7f53800ef7ee2f7e
165
cpp
C++
319-bulb-switcher/319-bulb-switcher.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
319-bulb-switcher/319-bulb-switcher.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
319-bulb-switcher/319-bulb-switcher.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
class Solution { public: int bulbSwitch(int n) { int cnt = 0; for(int i=1;i*i<=n;++i){ cnt++; } return cnt; } };
15
31
0.406061
shreydevep
556cc6b2535fd02c5d18fa71c1b6111a7f3fc091
6,003
cc
C++
webkit/fileapi/media/picasa/pmp_column_reader_unittest.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
webkit/fileapi/media/picasa/pmp_column_reader_unittest.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
webkit/fileapi/media/picasa/pmp_column_reader_unittest.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:25:45.000Z
2020-11-04T07:25:45.000Z
// Copyright 2013 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 <algorithm> #include <vector> #include "base/file_util.h" #include "testing/gtest/include/gtest/gtest.h" #include "webkit/fileapi/media/picasa/p...
33.35
80
0.746294
codenote
5571b7ca836a9d01adde6967d32f705483a08ef8
5,851
cpp
C++
tests/unit_tests/libKitsunemimiCommon/statemachine_test.cpp
kitsudaiki/libKitsunemimiCommon
65c60deddf9fb813035fc2f3251c5ae5c8f7423f
[ "MIT" ]
null
null
null
tests/unit_tests/libKitsunemimiCommon/statemachine_test.cpp
kitsudaiki/libKitsunemimiCommon
65c60deddf9fb813035fc2f3251c5ae5c8f7423f
[ "MIT" ]
49
2020-08-24T18:09:35.000Z
2022-02-13T22:19:39.000Z
tests/unit_tests/libKitsunemimiCommon/statemachine_test.cpp
tobiasanker/libKitsunemimiCommon
d40d1314db0a6d7e04afded09cb4934e01828ac4
[ "MIT" ]
1
2020-08-29T14:30:41.000Z
2020-08-29T14:30:41.000Z
/** * @file statemachine_test.cpp * * @author Tobias Anker <tobias.anker@kitsunemimi.moe> * * @copyright MIT License */ #include "statemachine_test.h" #include <libKitsunemimiCommon/statemachine.h> namespace Kitsunemimi { Statemachine_Test::Statemachine_Test() : Kitsunemimi::CompareTestHelper("Stat...
26.595455
82
0.766194
kitsudaiki
5574c5de3bab02af2bbfed26f5cfe2ba8ae4a69e
5,927
cpp
C++
globe/globe_shader.cpp
MarkY-LunarG/LunarGlobe
d32a6145eebc68ad4d7e28bdd4fab88cbdd33545
[ "Apache-2.0" ]
2
2018-06-20T15:19:38.000Z
2018-07-13T15:13:30.000Z
globe/globe_shader.cpp
MarkY-LunarG/LunarGlobe
d32a6145eebc68ad4d7e28bdd4fab88cbdd33545
[ "Apache-2.0" ]
25
2018-07-27T23:02:01.000Z
2019-03-15T17:00:05.000Z
globe/globe_shader.cpp
MarkY-LunarG/LunarGravity
d32a6145eebc68ad4d7e28bdd4fab88cbdd33545
[ "Apache-2.0" ]
null
null
null
// // Project: LunarGlobe // SPDX-License-Identifier: Apache-2.0 // // File: globe/globe_shader.cpp // Copyright(C): 2018-2019; LunarG, Inc. // Author(s): Mark Young <marky@lunarg.com> // #include <cstring> #include <fstream> #include <string> #include <sstre...
40.047297
112
0.62578
MarkY-LunarG
55769a005a140f772cd2ea9a01a12416aa6e3b4f
15,261
cpp
C++
software/imageread/xi_input_image.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
288
2018-03-23T01:41:40.000Z
2022-03-03T08:52:54.000Z
software/imageread/xi_input_image.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
171
2018-03-25T11:03:23.000Z
2022-01-29T14:16:59.000Z
software/imageread/xi_input_image.cpp
yhyoung/CHaiDNN
1877a81e0d1b44773af455b0eab4399636bbc181
[ "Apache-2.0" ]
154
2018-03-23T01:31:33.000Z
2022-03-04T14:26:40.000Z
/*---------------------------------------------------- Copyright 2017 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 app...
22.085384
180
0.636393
yhyoung
557844a4a767c4a1fe9f3add0d55c0b5b9079a2f
3,571
hh
C++
include/sot/tools/kinematic-planner.hh
Rascof/sot-tools
e529611574d12fc2239bd0cfcd83749243de8bc6
[ "BSD-2-Clause" ]
null
null
null
include/sot/tools/kinematic-planner.hh
Rascof/sot-tools
e529611574d12fc2239bd0cfcd83749243de8bc6
[ "BSD-2-Clause" ]
11
2017-02-01T19:26:29.000Z
2021-11-03T08:25:35.000Z
include/sot/tools/kinematic-planner.hh
Rascof/sot-tools
e529611574d12fc2239bd0cfcd83749243de8bc6
[ "BSD-2-Clause" ]
12
2015-01-21T08:21:23.000Z
2020-11-27T14:35:29.000Z
// // Copyright (C) 2016 LAAS-CNRS // // Author: Rohan Budhiraja // #ifndef SOT_TOOLS_KINEMATIC_PLANNER_HH #define SOT_TOOLS_KINEMATIC_PLANNER_HH /* STD */ #include <string> #include <sstream> #include <list> #include <complex> /* dynamic-graph */ #include <dynamic-graph/entity.h> #include <dynamic-graph/factory.h> ...
30.262712
113
0.738169
Rascof
5578bfbd80af35e8b15a9510717a5a0cce4ba4cf
101
cc
C++
example/memcache/Item.cc
Conzxy/kanon
3440b0966153a0b8469e90b2a52df317aa4fe723
[ "MIT" ]
null
null
null
example/memcache/Item.cc
Conzxy/kanon
3440b0966153a0b8469e90b2a52df317aa4fe723
[ "MIT" ]
null
null
null
example/memcache/Item.cc
Conzxy/kanon
3440b0966153a0b8469e90b2a52df317aa4fe723
[ "MIT" ]
null
null
null
#include "Item.h" namespace memcache { std::atomic<u64> Item::s_cas_(0); } // namespace memcache
12.625
34
0.683168
Conzxy
5579482f0ec6190139c6f85f8691a06d2de5ff42
863
hpp
C++
plugins/opengl/include/sge/opengl/xrandr/set_resolution.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/include/sge/opengl/xrandr/set_resolution.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/include/sge/opengl/xrandr/set_resolution.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_OPENGL_XRANDR_SET_RESOLUTION_HPP_INCLUDED #define SGE_OPENGL_XRANDR_SET_RESOLUTION_HPP_...
30.821429
61
0.74971
cpreh
557a792be377471c08aeae8d211267379bea0f15
3,257
hpp
C++
tuo_units/TUO_Reg_Units_OPF_F.hpp
bc036/A3-TUO-Units
157f4f45317a19cf90d3f28b017b43de737f5bb3
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
tuo_units/TUO_Reg_Units_OPF_F.hpp
bc036/A3-TUO-Units
157f4f45317a19cf90d3f28b017b43de737f5bb3
[ "Naumen", "Condor-1.1", "MS-PL" ]
44
2019-09-24T17:11:29.000Z
2021-08-14T18:37:15.000Z
tuo_units/TUO_Reg_Units_OPF_F.hpp
bc036/A3-TUO-Units
157f4f45317a19cf90d3f28b017b43de737f5bb3
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
class O_T_TUO_Reg_Base_F:B_T_TUO_Reg_base_F { side=0; //OPF_F=0 BLU_F=1 IND_F=2 faction="TUO_T_OPF_F"; }; class O_A_TUO_Reg_base_F:B_A_TUO_Reg_base_F { side=0; //OPF_F=0 BLU_F=1 IND_F=2 faction="TUO_A_OPF_F"; }; class O_W_TUO_Reg_Base_F:B_W_TUO_Reg_base_F { side=0; //OPF_F=0 BLU_F=1 IND_F=2 faction="TUO_W_OPF_F";...
21.713333
51
0.760823
bc036
557b88c28caf8c1a8e0b49aea2e46c1ae215bf71
1,675
cpp
C++
test/cli/minions_coverage_test.cpp
seqan/minions
58339454f992264b73197f1bf8c94e8f4b1c3c2f
[ "BSD-3-Clause" ]
null
null
null
test/cli/minions_coverage_test.cpp
seqan/minions
58339454f992264b73197f1bf8c94e8f4b1c3c2f
[ "BSD-3-Clause" ]
16
2021-09-29T13:00:06.000Z
2022-03-07T13:34:16.000Z
test/cli/minions_coverage_test.cpp
MitraDarja/Comparison
58339454f992264b73197f1bf8c94e8f4b1c3c2f
[ "BSD-3-Clause" ]
1
2022-01-09T22:36:43.000Z
2022-01-09T22:36:43.000Z
#include "cli_test.hpp" TEST_F(cli_test, no_options) { cli_test_result result = execute_app("minions coverage"); std::string expected { "minions-coverage\n" "================\n" " Try -h or --help for more information.\n" }; EXPECT_EQ(result.exit_code, 0); EXPECT_EQ(r...
31.018519
131
0.665672
seqan
5353d7e9a41855906455824ecb59c9d4b6db1312
2,145
cpp
C++
Project3/assign3.cpp
jehalladay/Theory-of-Algorithms
fa35ed1a3c40e45a3b97c93a44e96532b91fb1b5
[ "MIT" ]
null
null
null
Project3/assign3.cpp
jehalladay/Theory-of-Algorithms
fa35ed1a3c40e45a3b97c93a44e96532b91fb1b5
[ "MIT" ]
null
null
null
Project3/assign3.cpp
jehalladay/Theory-of-Algorithms
fa35ed1a3c40e45a3b97c93a44e96532b91fb1b5
[ "MIT" ]
null
null
null
/* Project 3 - Hashtable and Heapsort James Halladay Theory of Algorithms 10/9/2021 This program will render a program that expect a command line argument being an input text file and an output text file name. The program will read the data in the input file (strings) and write ...
26.8125
107
0.634499
jehalladay
5355b6e7c24675c87cabae20b628a3dd5351c293
479
cpp
C++
linux/cmd.cpp
Universefei/f8snippet
408ae26cf666861e3aa0f58fbdd89a93b3fb1a4a
[ "Apache-2.0" ]
null
null
null
linux/cmd.cpp
Universefei/f8snippet
408ae26cf666861e3aa0f58fbdd89a93b3fb1a4a
[ "Apache-2.0" ]
null
null
null
linux/cmd.cpp
Universefei/f8snippet
408ae26cf666861e3aa0f58fbdd89a93b3fb1a4a
[ "Apache-2.0" ]
null
null
null
string exe_cmd(const string& cmd) { int t_ret = 0; string t_result = ""; t_result.resize(1024); FILE* fp = popen(cmd.c_str(), "r"); fgets(&t_result[0], t_result.capacity(), fp); pclose(fp); return t_result; } string get_md5(const string& file) { char buf[128] = {'\0'}; string cmd = "md5sum "; cmd....
21.772727
47
0.605428
Universefei
535bd9c0458dc7dabf8371038d09169b5407e1f7
456
hpp
C++
net/include/HttpSecWebSocketKey.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
net/include/HttpSecWebSocketKey.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
net/include/HttpSecWebSocketKey.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#ifndef __OBOTCHA_HTTP_SEC_WEB_SOCKET_KEY_HPP__ #define __OBOTCHA_HTTP_SEC_WEB_SOCKET_KEY_HPP__ #include "Object.hpp" #include "StrongPointer.hpp" #include "String.hpp" #include "ArrayList.hpp" namespace obotcha { DECLARE_CLASS(HttpSecWebSocketKey) { public: _HttpSecWebSocketKey(); _HttpSecWebSocketKey(Str...
14.709677
47
0.739035
wangsun1983
53660adb81cba86ca028a0122741d62a476cbbb9
1,342
cpp
C++
C++/HeapSort.cpp
patres270/AlgoLib
8b697e1e9348c559dcabdb6665e1031264c1032a
[ "MIT" ]
222
2016-07-17T17:28:19.000Z
2022-03-27T02:57:39.000Z
C++/HeapSort.cpp
patres270/AlgoLib
8b697e1e9348c559dcabdb6665e1031264c1032a
[ "MIT" ]
197
2016-10-24T16:47:42.000Z
2021-08-29T08:12:31.000Z
C++/HeapSort.cpp
patres270/AlgoLib
8b697e1e9348c559dcabdb6665e1031264c1032a
[ "MIT" ]
206
2016-05-18T17:08:14.000Z
2022-01-16T04:08:47.000Z
#include<bits/stdc++.h> using namespace std; #define rep(i,a,b,c) for(i=a;i<b;i+=c) #define repp(i,a,b,c) for(i=a;i>b;i+=c) //--------------------------------------Heapify void max_heapify(int *a, int i, int n) { int l=2*i+1; int r=2*i+2; int largest=0; if(l<=n and a[l]>a[i]) largest=l; ...
19.449275
49
0.467213
patres270
5368e5f9756762633f750c5c0ff8ef6f9882060e
1,151
cpp
C++
c++/zigzag_conversion.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/zigzag_conversion.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/zigzag_conversion.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSIIGYIR" Write the code that will take a string and make this conver...
20.192982
120
0.529105
SongZhao
536b253989e4c9c91ccb838702940a731c4b1c28
4,577
hpp
C++
include/foonathan/lex/token.hpp
foonathan/lex
2d0177d453f8c36afc78392065248de0b48c1e7d
[ "BSL-1.0" ]
142
2018-10-16T16:41:09.000Z
2021-12-13T20:04:50.000Z
include/foonathan/lex/token.hpp
foonathan/lex
2d0177d453f8c36afc78392065248de0b48c1e7d
[ "BSL-1.0" ]
null
null
null
include/foonathan/lex/token.hpp
foonathan/lex
2d0177d453f8c36afc78392065248de0b48c1e7d
[ "BSL-1.0" ]
10
2018-10-16T19:08:36.000Z
2021-03-19T14:36:29.000Z
// Copyright (C) 2018-2019 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #ifndef FOONATHAN_LEX_TOKEN_HPP_INCLUDED #define FOONATHAN_LEX_TOKEN_HPP_INCLUDED #include <foonathan/lex/spelling.hpp> ...
26.923529
100
0.59078
foonathan
5378c2f15156a210d5184f7c0bf57ad0c60a2e74
195
hpp
C++
include/elasty/algorithm-type.hpp
yuki-koyama/elasty
67c7a15c1483fe1979b8b3af64be4f34e110c760
[ "MIT" ]
176
2019-04-27T00:45:37.000Z
2022-03-26T03:15:45.000Z
include/elasty/algorithm-type.hpp
yuki-koyama/elasty
67c7a15c1483fe1979b8b3af64be4f34e110c760
[ "MIT" ]
28
2019-04-27T00:00:49.000Z
2021-08-30T07:01:12.000Z
include/elasty/algorithm-type.hpp
yuki-koyama/elasty
67c7a15c1483fe1979b8b3af64be4f34e110c760
[ "MIT" ]
15
2019-04-27T01:09:58.000Z
2022-02-09T13:30:41.000Z
#ifndef ELASTY_ALGORITHM_TYPE_HPP #define ELASTY_ALGORITHM_TYPE_HPP namespace elasty { enum class AlgorithmType { Pbd, Xpbd }; } #endif // ELASTY_ALGORITHM_TYPE_HPP
13.928571
35
0.697436
yuki-koyama
537be64c75a2acd632f61bb9e80b6d443b077e80
2,219
cpp
C++
Filesystem/Problem36/main.cpp
vegemil/ModernCppChallengeStudy
52c2bb22c76ae3f3a883ae479cd70ac27513e78d
[ "MIT" ]
null
null
null
Filesystem/Problem36/main.cpp
vegemil/ModernCppChallengeStudy
52c2bb22c76ae3f3a883ae479cd70ac27513e78d
[ "MIT" ]
null
null
null
Filesystem/Problem36/main.cpp
vegemil/ModernCppChallengeStudy
52c2bb22c76ae3f3a883ae479cd70ac27513e78d
[ "MIT" ]
null
null
null
// 36. Deleting files older than a given date // Write a function that, given the path to a directory and a duration, deletes all // the entries (files or subdirectories) older than the specified duration, in a // recursive manner. The duration can represent anything, such as days, hours, // minutes, seconds, and so o...
28.448718
86
0.679585
vegemil
537cb69b0923b19595b35018463da84a46573bfc
472
cpp
C++
Engine/Source/Misc/Singleton.cpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
2
2022-01-11T21:15:31.000Z
2022-02-22T21:14:33.000Z
Engine/Source/Misc/Singleton.cpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
Engine/Source/Misc/Singleton.cpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
#include "Singleton.h" void SingletonCache::Store(const std::type_index& type, void* ptr) { //return; //using auto registers breaks this whole thing m_PointerCache[type] = ptr; } void* SingletonCache::Find(const std::type_index& type) { if(m_PointerCache.empty()) return nullptr; for (auto& pair : m_PointerCache)...
20.521739
74
0.724576
wdrDarx
537e955672b76efb287ccd96dea5e70143e09d32
3,574
hpp
C++
chapter20/uncommentedString.hpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
2
2022-01-08T03:31:25.000Z
2022-03-09T01:21:54.000Z
chapter20/uncommentedString.hpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
null
null
null
chapter20/uncommentedString.hpp
not-sponsored/Sams-Cpp-in-24hrs-Exercises
2e63e2ca31f5309cc1d593f29c8b47037be150fb
[ "Fair" ]
1
2022-03-09T01:26:01.000Z
2022-03-09T01:26:01.000Z
/********************************************************* * * Part of the answer to exercise 1 in chapter 20 * * Modified 20.3 from Sams Teach Yourself C++ in 24 Hours by Rogers Cadenhead * and Jesse Liberty * * Compiled with g++ (GCC) 11.1.0 * *********************************************************/ #include <io...
21.023529
77
0.618355
not-sponsored
538125a28def421e2038c7a531a082af2d91a2a8
4,127
cpp
C++
private/shell/cpls/srvwiz/dllreg.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/cpls/srvwiz/dllreg.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/cpls/srvwiz/dllreg.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
// dllreg.cpp -- autmatic registration and unregistration // #include "priv.h" #include <advpub.h> #include <comcat.h> // helper macros // ADVPACK will return E_UNEXPECTED if you try to uninstall (which does a registry restore) // on an INF section that was never installed. We uninstall sections that ma...
25.012121
92
0.580082
King0987654
53830346afd4c02fa7869d8037de73ed1ec97ef6
11,459
cpp
C++
Plugins/SimpleMaterialUI/Source/SimpleMaterialUIEditor/Private/SmMarginCustomization.cpp
dfyzy/StealthTest
ff48d800ef073abd559048d81df7efd014c91cb7
[ "MIT" ]
null
null
null
Plugins/SimpleMaterialUI/Source/SimpleMaterialUIEditor/Private/SmMarginCustomization.cpp
dfyzy/StealthTest
ff48d800ef073abd559048d81df7efd014c91cb7
[ "MIT" ]
null
null
null
Plugins/SimpleMaterialUI/Source/SimpleMaterialUIEditor/Private/SmMarginCustomization.cpp
dfyzy/StealthTest
ff48d800ef073abd559048d81df7efd014c91cb7
[ "MIT" ]
null
null
null
#include "SmMarginCustomization.h" #include "PropertyHandle.h" #include "DetailLayoutBuilder.h" #include "Widgets/Input/SNumericEntryBox.h" #include "Editor.h" bool FSmMarginIdentifier::IsPropertyTypeCustomized(const IPropertyHandle& PropertyHandle) const { return PropertyHandle.IsValidHandle() && PropertyHandle.Get...
38.844068
174
0.761498
dfyzy
5384176a24be9a050c35188a1a18a9ebb667084b
9,232
cpp
C++
betteryao/OTExtension/util/Miracl/zzn3.cpp
bt3ze/pcflib
c66cdc5957818cd5b3754430046cad91ce1a921d
[ "BSD-2-Clause" ]
null
null
null
betteryao/OTExtension/util/Miracl/zzn3.cpp
bt3ze/pcflib
c66cdc5957818cd5b3754430046cad91ce1a921d
[ "BSD-2-Clause" ]
null
null
null
betteryao/OTExtension/util/Miracl/zzn3.cpp
bt3ze/pcflib
c66cdc5957818cd5b3754430046cad91ce1a921d
[ "BSD-2-Clause" ]
null
null
null
/*************************************************************************** * Copyright 2013 CertiVox IOM Ltd. * * This file i...
23.313131
93
0.476603
bt3ze
5388a234101dcf52c200eecd8a41f23fcd7d8291
843
cpp
C++
ThreeCharacters/CPP/main.cpp
hecate-xw/Miscellaneous
57c5ade630f1f1af2a5aae7f2541638380fc4876
[ "MIT" ]
null
null
null
ThreeCharacters/CPP/main.cpp
hecate-xw/Miscellaneous
57c5ade630f1f1af2a5aae7f2541638380fc4876
[ "MIT" ]
null
null
null
ThreeCharacters/CPP/main.cpp
hecate-xw/Miscellaneous
57c5ade630f1f1af2a5aae7f2541638380fc4876
[ "MIT" ]
1
2020-02-13T00:48:17.000Z
2020-02-13T00:48:17.000Z
#include <iostream> #include "PowMatrix.h" using namespace std; int main() { int n; cin >> n; /* // Method 1 int dp[n][2]; dp[0][0] = 3; dp[0][1] = 0; for(int i = 1; i < n; i++) { dp[i][0] = dp[i-1][0]*2 + dp[i-1][1]*2; dp[i][1] = dp[i-1][0]; } int sum = dp[n-1][0] +...
15.327273
47
0.465006
hecate-xw
538a0884ca5e025ad80b5788b0faa5f47e118860
10,353
cpp
C++
Tools/GHGUITool/GHGUITool/GTGUINavigator.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
Tools/GHGUITool/GHGUITool/GTGUINavigator.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
Tools/GHGUITool/GHGUITool/GTGUINavigator.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
// Copyright 2010 Golden Hammer Software #include "GTGUINavigator.h" #include "GTIdentifiers.h" #include "GHUtils/GHEventMgr.h" #include "GHUtils/GHMessage.h" #include "GHGUIMgr.h" #include "GHUtils/GHResourceFactory.h" #include "GHXMLObjFactory.h" #include "GHGUIPanel.h" #include "GHXMLNode.h" #include "GHGUIWidgetRen...
30.8125
120
0.729354
GoldenHammerSoftware
538caf7ead7dbf6749f84be2863944b174f89479
8,738
cc
C++
be/src/runtime/row-batch.cc
wangxnhit/impala
d7a37f00a515d6942ca28bd8cd84380bc8c93c5a
[ "Apache-2.0" ]
1
2016-06-08T06:22:28.000Z
2016-06-08T06:22:28.000Z
be/src/runtime/row-batch.cc
boorad/impala
108c5d8d39c45d49edfca98cd2d858352cd44d51
[ "Apache-2.0" ]
null
null
null
be/src/runtime/row-batch.cc
boorad/impala
108c5d8d39c45d49edfca98cd2d858352cd44d51
[ "Apache-2.0" ]
null
null
null
// Copyright 2012 Cloudera 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 wr...
39.718182
90
0.690776
wangxnhit
538f7a95ec0fc797cd6c48bc656ddfa4e735e33c
2,837
hh
C++
deps/live555/include/MPEG2TransportStreamFramer.hh
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
98
2020-09-11T13:52:44.000Z
2022-03-23T11:52:02.000Z
deps/live555/include/MPEG2TransportStreamFramer.hh
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
8
2020-10-19T14:23:30.000Z
2022-03-16T01:00:07.000Z
deps/live555/include/MPEG2TransportStreamFramer.hh
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
28
2020-09-17T14:20:35.000Z
2022-01-10T16:26:00.000Z
/********** This library 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 (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This ...
35.911392
90
0.767712
robort-yuan
53901f30edf43af56736ef423811ad9ee2e3fdb5
2,728
cpp
C++
uppdev/MyDbase/dbRecordSet.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppdev/MyDbase/dbRecordSet.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppdev/MyDbase/dbRecordSet.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include "dbase.h" dbRecordSet::dbRecordSet() { ptr = 0; } void dbRecordSet::Reset() { recordSet.Clear(); ptr = 0; } void dbRecordSet::Add(int record, dbRecord &rec, Array<String> &orderField, Array<unsigned int> &ordStyle) { unsigned int j, n, f, l, p, k; k = orderField.GetCount(); #ifdef _WITH...
22.360656
109
0.595674
dreamsxin
5393b719ef0294534bff4c75e8f68335bc127ddb
5,424
cpp
C++
SmallWorld/LibCpp/Graph.cpp
pchaigno/smallworld
8a22099753166b4fea0bf93a1a7298fed51fef8c
[ "MIT" ]
1
2018-11-08T17:20:56.000Z
2018-11-08T17:20:56.000Z
SmallWorld/LibCpp/Graph.cpp
pchaigno/smallworld
8a22099753166b4fea0bf93a1a7298fed51fef8c
[ "MIT" ]
null
null
null
SmallWorld/LibCpp/Graph.cpp
pchaigno/smallworld
8a22099753166b4fea0bf93a1a7298fed51fef8c
[ "MIT" ]
null
null
null
#include "Graph.h" /** * @returns The size of the graph. */ int Graph::size() const { return this->succs.size(); } /** * Checks if an unit can go from one point to all others of the map. * @param map The map. * @param size The size of the map. * @returns True if all squares of the map are accessible from one. ...
25.111111
103
0.599558
pchaigno
5396350bb63761ed2223415e6eb90979556befc4
45,917
cxx
C++
main/sal/qa/osl/socket/osl_Socket2.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sal/qa/osl/socket/osl_Socket2.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sal/qa/osl/socket/osl_Socket2.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
36.616427
264
0.673106
Grosskopf
53988aa7ba416ddd19afa84395af5a3fae8bd86d
1,714
cpp
C++
test/quiver/disjoint_set.cpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
null
null
null
test/quiver/disjoint_set.cpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
1
2018-11-28T12:55:50.000Z
2018-11-28T12:55:50.000Z
test/quiver/disjoint_set.cpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
1
2018-08-19T16:48:23.000Z
2018-08-19T16:48:23.000Z
/* * Quiver - A graph theory library * Copyright (C) 2018 Josua Rieder (josua.rieder1996@gmail.com) * Distributed under the MIT License. * See the enclosed file LICENSE.txt for further information. */ #include <catch2/catch.hpp> #include <quiver.hpp> using namespace quiver; TEST_CASE("disjoint_set", "[quiver][fu...
23.805556
63
0.620187
Fytch
5398b26338a516064b89ca836a8e8e18f2bf5567
2,366
hpp
C++
include/xtr/detail/align.hpp
uilianries/xtr
b1dccc51b024369e6c1a2f6d3fcf5f405735289b
[ "MIT" ]
10
2021-09-25T10:40:55.000Z
2022-03-19T01:05:05.000Z
include/xtr/detail/align.hpp
uilianries/xtr
b1dccc51b024369e6c1a2f6d3fcf5f405735289b
[ "MIT" ]
2
2021-09-24T12:59:08.000Z
2021-09-24T19:17:47.000Z
include/xtr/detail/align.hpp
uilianries/xtr
b1dccc51b024369e6c1a2f6d3fcf5f405735289b
[ "MIT" ]
1
2021-09-24T13:45:29.000Z
2021-09-24T13:45:29.000Z
// Copyright 2014, 2019 Chris E. Holloway // // 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, merge, pu...
40.793103
81
0.707946
uilianries
539a24d2037b6ea2b2309ec0dd0fdbb5473e839d
1,118
cpp
C++
src/gmp_integer_vector.cpp
dhruvdcoder/poly-metic
c8ec0ba30dd052c6b41a0cdeb58318d063cf9eac
[ "Apache-2.0" ]
1
2021-12-14T16:16:12.000Z
2021-12-14T16:16:12.000Z
src/gmp_integer_vector.cpp
dhruvdcoder/poly-metic
c8ec0ba30dd052c6b41a0cdeb58318d063cf9eac
[ "Apache-2.0" ]
3
2018-09-02T04:38:52.000Z
2018-09-09T20:14:16.000Z
src/gmp_integer_vector.cpp
dhruvdcoder/poly-metic
c8ec0ba30dd052c6b41a0cdeb58318d063cf9eac
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Dhruvesh Nikhilkumar Patel // // 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 appl...
29.421053
77
0.635957
dhruvdcoder
539b28bd3fd509a516e0026b76ec38fb73d66154
795
cpp
C++
demo/ref_object.cpp
bianc2018/Sim
8c37f65d28b99598c1c75a650e4da36a460cf600
[ "MIT" ]
1
2021-01-19T15:25:25.000Z
2021-01-19T15:25:25.000Z
demo/ref_object.cpp
bianc2018/Sim
8c37f65d28b99598c1c75a650e4da36a460cf600
[ "MIT" ]
null
null
null
demo/ref_object.cpp
bianc2018/Sim
8c37f65d28b99598c1c75a650e4da36a460cf600
[ "MIT" ]
null
null
null
#include "Logger.hpp" #include "TaskPool.hpp" #include "RefObject.hpp" class faketype { public: faketype() { SIM_LINFO("faketype() "<<SIM_HEX(this)); } ~faketype() { SIM_LINFO("~faketype " << SIM_HEX(this)); } }; sim::RefObject<faketype> temp; void* run(void* pd) { sim::RefObject<faketype> ref = temp; SIM_...
17.666667
46
0.642767
bianc2018
53a00aa768d7073cafbf71f51d524ea23faded2c
669
cpp
C++
RapyutaTest.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
26
2019-04-05T07:10:15.000Z
2022-01-08T02:35:19.000Z
RapyutaTest.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
2
2019-04-25T15:47:54.000Z
2019-09-03T06:46:05.000Z
RapyutaTest.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
8
2019-04-05T08:58:50.000Z
2020-07-03T01:53:58.000Z
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int arr[n + 1]; for (int i = 1; i <= n; ++i) { cin >> arr[i]; } int dp[n + 1][n + 1]; memset(dp, sizeof(dp), 0); int res = INT_MIN; dp[1][0] = 0; dp[1][1] = arr[1]; for (int i = 2; i <= n; ++i) { for (int j = 0; j <= i; +...
19.114286
73
0.355755
abhis2007
53a23198e743b9d58184647433429dd85d8499a8
5,867
cpp
C++
cpgf/src/scriptbind/gscriptbind.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
null
null
null
cpgf/src/scriptbind/gscriptbind.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
null
null
null
cpgf/src/scriptbind/gscriptbind.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
null
null
null
#include "cpgf/scriptbind/gscriptbind.h" #include "cpgf/gglobal.h" #include "../pinclude/gbindcommon.h" #include "../pinclude/gscriptbindapiimpl.h" namespace cpgf { GScriptObject::GScriptObject(const GScriptConfig & config) : config(config), owner(nullptr) { } GScriptObject::GScriptObject(const GS...
24.344398
116
0.705642
mousepawmedia
53a33854d47f89f9ee86688a4019783b5cf36ffc
569
cpp
C++
qt-creator-opensource-src-4.6.1/src/shared/qbs/tests/auto/blackbox/testdata-qt/auto-qrc/main.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
Src/shared/qbs/tests/auto/blackbox/testdata-qt/auto-qrc/main.cpp
kevinlq/QSD
b618fc63dc3aa5a18701c5b23e3ea3cdd253e89a
[ "MIT" ]
null
null
null
Src/shared/qbs/tests/auto/blackbox/testdata-qt/auto-qrc/main.cpp
kevinlq/QSD
b618fc63dc3aa5a18701c5b23e3ea3cdd253e89a
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
#include <QFile> #include <iostream> int main() { QFile resource1(":/thePrefix/resource1.txt"); if (!resource1.open(QIODevice::ReadOnly)) return 1; QFile resource2(":/thePrefix/resource2.txt"); if (!resource2.open(QIODevice::ReadOnly)) return 2; QFile resource3(":/theOtherPrefix/re...
29.947368
97
0.636204
kevinlq
53a6d540c52e63dc58070a971baff80f27fd0f77
2,388
cpp
C++
client/include/game/CCheckpoints.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
client/include/game/CCheckpoints.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/game/CCheckpoints.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CCheckpoints.h" unsigned int MAX_NUM_CHECKPOINTS = 32; unsigned int &CCheckpoints::NumActiveCPts = *...
45.923077
302
0.760888
MayconFelipeA
53b09b21c521c6d5830ca64f950aa53d5bd17b6e
4,064
cc
C++
airec/src/model/ListItemsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
airec/src/model/ListItemsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
airec/src/model/ListItemsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
40.237624
97
0.762549
aliyun