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
b9e4a22695e1df8e058c2f1e71372a4a02e1657a
1,809
cc
C++
tile/codegen/rewrite_locs.cc
TolyaTalamanov/plaidml
275a79cd640def34c1b7bc7053397f5989ef55c2
[ "Apache-2.0" ]
1
2019-09-11T11:18:50.000Z
2019-09-11T11:18:50.000Z
tile/codegen/rewrite_locs.cc
HubBucket-Team/plaidml
762d5fff6467b43a15623f927502892ce8df91a4
[ "Apache-2.0" ]
null
null
null
tile/codegen/rewrite_locs.cc
HubBucket-Team/plaidml
762d5fff6467b43a15623f927502892ce8df91a4
[ "Apache-2.0" ]
1
2019-09-11T11:18:52.000Z
2019-09-11T11:18:52.000Z
// Copyright 2018, Intel Corp. #include "tile/codegen/rewrite_locs.h" #include <algorithm> #include <iterator> #include <queue> namespace vertexai { namespace tile { namespace codegen { namespace { struct Rewrite { std::vector<stripe::Device> prefix; std::vector<stripe::Device> target; }; void RewriteLocation(...
24.780822
109
0.642344
TolyaTalamanov
b9e86fddafa3ddc8ecfebd6c1bc4b3a69df8aa9e
1,888
cpp
C++
bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonArray/remove.cpp
adrienlacombe-ledger/bitcoinPoS
2a4701c445c7eeec88c8abc2bd7940916899e79c
[ "MIT" ]
81
2022-01-22T17:35:01.000Z
2022-03-08T09:59:02.000Z
bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonArray/remove.cpp
adrienlacombe-ledger/bitcoinPoS
2a4701c445c7eeec88c8abc2bd7940916899e79c
[ "MIT" ]
6
2022-01-25T20:23:08.000Z
2022-03-07T23:50:32.000Z
bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonArray/remove.cpp
adrienlacombe-ledger/bitcoinPoS
2a4701c445c7eeec88c8abc2bd7940916899e79c
[ "MIT" ]
14
2022-01-22T18:16:11.000Z
2022-03-07T21:32:41.000Z
// ArduinoJson - https://arduinojson.org // Copyright © 2014-2022, Benoit BLANCHON // MIT License #include <ArduinoJson.h> #include <catch.hpp> TEST_CASE("JsonArray::remove()") { DynamicJsonDocument doc(4096); JsonArray array = doc.to<JsonArray>(); array.add(1); array.add(2); array.add(3); SECTION("remov...
20.977778
75
0.585275
adrienlacombe-ledger
b9e8a95ae026e5d6c76448564f1e9a7eaf29fc25
7,862
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/p2p/nsd/CWifiP2pServiceResponse.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/p2p/nsd/CWifiP2pServiceResponse.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/p2p/nsd/CWifiP2pServiceResponse.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
32.089796
108
0.648436
jingcao80
b9e94ed79ea8e9220e2f2cba68b0f7f827fa3549
845
cc
C++
Cplusplus/Bootcamp/03_MoreBasics/Casting.cc
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
Cplusplus/Bootcamp/03_MoreBasics/Casting.cc
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
Cplusplus/Bootcamp/03_MoreBasics/Casting.cc
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> // 1a. C++: static_cast<> - converts object from type to another // 1b. C: (newDtype)(varName) int main() { double number = 3.14; std::cout << std::setprecision(20) << number << std::endl; int num2 = number; std::cout << num2 << std::endl; //C-Casting /...
24.142857
64
0.611834
Kreijeck
b9ee69e0cd6eeff2e6812602a3dd9520d0f9251b
1,365
hpp
C++
test/ElapseTimer.hpp
GerHobbelt/libtiff
5b615d29bc86fb8ff9641dc26cc9ed8cc730bcce
[ "libtiff" ]
null
null
null
test/ElapseTimer.hpp
GerHobbelt/libtiff
5b615d29bc86fb8ff9641dc26cc9ed8cc730bcce
[ "libtiff" ]
null
null
null
test/ElapseTimer.hpp
GerHobbelt/libtiff
5b615d29bc86fb8ff9641dc26cc9ed8cc730bcce
[ "libtiff" ]
null
null
null
// Elapse Timer /** @file ElapseTimer.h ** Interface to ElapseTimer facilities. ** Implemented ElapseTimer.cpp Code stolen from Scintilla Platform.h and PlatWX.cxx **/ // Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distr...
22.75
94
0.756044
GerHobbelt
b9f0203c850126067cadb83bfd52a4dc74919861
24,190
cpp
C++
modules/attention_segmentation/src/algo.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
2
2021-02-22T11:36:33.000Z
2021-07-20T11:31:08.000Z
modules/attention_segmentation/src/algo.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
null
null
null
modules/attention_segmentation/src/algo.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
3
2018-10-19T10:39:23.000Z
2021-04-07T13:39:03.000Z
/**************************************************************************** ** ** Copyright (C) 2017 TU Wien, ACIN, Vision 4 Robotics (V4R) group ** Contact: v4r.acin.tuwien.ac.at ** ** This file is part of V4R ** ** V4R is distributed under dual licenses - GPLv3 or closed source. ** ** GNU General Public License Usa...
30.504414
115
0.545763
v4r-tuwien
b9f3aa80314c729c793ef69ca75a4d180c3fc236
6,284
cpp
C++
iOS/G3MApp/G3MApp/G3MCameraDemoScene.cpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
1
2016-08-23T10:29:44.000Z
2016-08-23T10:29:44.000Z
iOS/G3MApp/G3MApp/G3MCameraDemoScene.cpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MApp/G3MApp/G3MCameraDemoScene.cpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
null
null
null
// // G3MCameraDemoScene.cpp // G3MApp // // Created by Diego Gomez Deck on 11/18/13. // Copyright (c) 2013 Igo Software SL. All rights reserved. // #include "G3MCameraDemoScene.hpp" #include <G3MiOSSDK/ILogger.hpp> #include <G3MiOSSDK/Angle.hpp> #include <G3MiOSSDK/TimeInterval.hpp> #include <G3MiOSSDK/ShapesRen...
34.911111
97
0.580204
restjohn
b9f4361c00fd88d61e84092afce6d01d8ea21d5e
36,075
cpp
C++
Userland/Libraries/LibUnicode/CodeGenerators/GenerateUnicodeData.cpp
Blocky-studio/serenity
8337e6cb52076e7f3e2cb5f9a5fd270141e8bbfe
[ "BSD-2-Clause" ]
2
2021-06-25T13:20:28.000Z
2021-08-19T11:00:54.000Z
Userland/Libraries/LibUnicode/CodeGenerators/GenerateUnicodeData.cpp
Blocky-studio/serenity
8337e6cb52076e7f3e2cb5f9a5fd270141e8bbfe
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibUnicode/CodeGenerators/GenerateUnicodeData.cpp
Blocky-studio/serenity
8337e6cb52076e7f3e2cb5f9a5fd270141e8bbfe
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, Tim Flynn <trflynn89@pm.me> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/AllOf.h> #include <AK/Array.h> #include <AK/CharacterTypes.h> #include <AK/HashMap.h> #include <AK/Optional.h> #include <AK/QuickSort.h> #include <AK/SourceGenerator.h> #include <AK/String.h> #include <AK...
40.083333
214
0.662564
Blocky-studio
b9f64e7519efdf9f94327dbbc6d2229ed1017bdf
2,405
cpp
C++
samples/cpp/3_2_1/3_2_1.cpp
971586331/opencv-2.4.9
d0ecc6013340ce505bade94a61946ba7654e381d
[ "BSD-3-Clause" ]
null
null
null
samples/cpp/3_2_1/3_2_1.cpp
971586331/opencv-2.4.9
d0ecc6013340ce505bade94a61946ba7654e381d
[ "BSD-3-Clause" ]
null
null
null
samples/cpp/3_2_1/3_2_1.cpp
971586331/opencv-2.4.9
d0ecc6013340ce505bade94a61946ba7654e381d
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------【头文件、命名空间包含部分】------------------------------- // 描述:包含程序所使用的头文件和命名空间 //------------------------------------------------------------------------------------------------- #include <stdio.h> #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> using namespace cv; //----...
30.833333
99
0.469439
971586331
b9f8e2bdcc240f989912e5a9f609e22c769214ce
7,030
cc
C++
third_party/blink/renderer/core/mojo/mojo_watcher.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/mojo/mojo_watcher.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/mojo/mojo_watcher.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/mojo/mojo_watcher.h" #include "base/single_thread_task_runner.h" #include "third_party/blink/public/platform/ta...
35.867347
88
0.70697
sarang-apps
b9f94ea1fc98c728d023d6a1893a30dfddd34297
4,817
cpp
C++
R0Bypass/GPUZ/GPUZ/sys.cpp
fengjixuchui/Antivirus_R3_bypass_demo
d8f95382755bdcbad983bbc83555fe6a3dc144c8
[ "MIT" ]
23
2022-01-07T04:28:40.000Z
2022-01-26T12:19:43.000Z
R0Bypass/GPUZ/GPUZ/sys.cpp
fengjixuchui/Antivirus_R3_bypass_demo
d8f95382755bdcbad983bbc83555fe6a3dc144c8
[ "MIT" ]
null
null
null
R0Bypass/GPUZ/GPUZ/sys.cpp
fengjixuchui/Antivirus_R3_bypass_demo
d8f95382755bdcbad983bbc83555fe6a3dc144c8
[ "MIT" ]
2
2020-03-19T00:43:14.000Z
2020-03-19T12:21:46.000Z
#include "Global.h" #define CI_DLL "ci.dll" #define CI_PATTERN "89 0D ? ? ? ? 49 8B F8" #define NTOS_EXE "ntoskrnl.exe" #define NTOS_PATTERN "C6 05 ? ? ? ? ? 8D 7B 06" /* Initialization Routine */ sys::sys(uint32_t BuildNumber) : dwBuildNumber(BuildNumber) { if (BuildNumber < 7601) // Check if OSBuildNumber Is S...
32.328859
161
0.722026
fengjixuchui
b9fabb221e09845021c1f3c72846b493c8e4020a
2,982
cpp
C++
catboost/libs/metrics/ut/balanced_accuracy_ut.cpp
gwjknvwjn/catboost
a5644bf80e2e37985012fb3bdd285fc6d798c61c
[ "Apache-2.0" ]
4
2020-06-24T06:07:52.000Z
2021-04-16T22:58:09.000Z
catboost/libs/metrics/ut/balanced_accuracy_ut.cpp
gwjknvwjn/catboost
a5644bf80e2e37985012fb3bdd285fc6d798c61c
[ "Apache-2.0" ]
null
null
null
catboost/libs/metrics/ut/balanced_accuracy_ut.cpp
gwjknvwjn/catboost
a5644bf80e2e37985012fb3bdd285fc6d798c61c
[ "Apache-2.0" ]
null
null
null
#include <catboost/libs/metrics/metric.h> #include <catboost/libs/metrics/metric_holder.h> #include <library/cpp/unittest/registar.h> // use balanced_accuracy_score from sklearn to compute benchmark value Y_UNIT_TEST_SUITE(BalancedAccuracyMetricTest) { Y_UNIT_TEST(BalancedAccuracyTest) { { TVector<TVector...
42
100
0.593226
gwjknvwjn
b9fbc29db558bb43b7156b6602d6b5a171bb5e7b
370
cpp
C++
src/crossserver/crossserver/protocal/msgcpp.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/crossserver/crossserver/protocal/msgcpp.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/crossserver/crossserver/protocal/msgcpp.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include "servercommon/userprotocal/msgheader.h" #include "servercommon/userprotocal/systemmsgcode.h" #include "servercommon/userprotocal/crossmsgcode.h" #include "servercommon/userprotocal/msgsystem.h" #include "msgcross.h" namespace Protocol { SCNoticeNum::SCNoticeNum():header(MT_SYSTEM_NOTICE_CODE_SC){} SCSyste...
24.666667
62
0.810811
mage-game
b9fc2f160dc079511a18821fdc0c231f7a63561a
42,423
cpp
C++
src/helics/shared_api_library/FederateExport.cpp
GMLC-TDC/HELICS-src
5e37168bca0ea9e16b939e052e257182ca6e24bd
[ "BSD-3-Clause" ]
31
2017-06-29T19:50:25.000Z
2019-05-17T14:10:14.000Z
src/helics/shared_api_library/FederateExport.cpp
GMLC-TDC/HELICS-src
5e37168bca0ea9e16b939e052e257182ca6e24bd
[ "BSD-3-Clause" ]
511
2017-08-18T02:14:00.000Z
2019-06-18T20:11:02.000Z
src/helics/shared_api_library/FederateExport.cpp
GMLC-TDC/HELICS-src
5e37168bca0ea9e16b939e052e257182ca6e24bd
[ "BSD-3-Clause" ]
11
2017-10-27T15:03:37.000Z
2019-05-03T19:35:14.000Z
/* Copyright (c) 2017-2022, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #include "../core/core-exceptions.hpp" #include "../core/coreTypeOper...
29.096708
139
0.647008
GMLC-TDC
b9fca4bd5b616fc969f2fe6a231287c029bafb1b
1,579
cpp
C++
clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p18.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p18.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p18.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: %clang_cc1 -std=c++11 -verify %s struct Public {} public_; struct Protected {} protected_; struct Private {} private_; class A { public: A(Public); void f(Public); protected: A(Protected); // expected-note {{protected here}} void f(Protected); private: A(Private); // expected-note 4{{private here}...
20.24359
74
0.61178
medismailben
b9fd7d8c1bf20e8968297aae72ed825276e13430
24,061
cpp
C++
robot/common/Body/jhcManusBody.cpp
jconnell11/ALIA
f7a6c9dfd775fbd41239051aeed7775adb878b0a
[ "Apache-2.0" ]
null
null
null
robot/common/Body/jhcManusBody.cpp
jconnell11/ALIA
f7a6c9dfd775fbd41239051aeed7775adb878b0a
[ "Apache-2.0" ]
null
null
null
robot/common/Body/jhcManusBody.cpp
jconnell11/ALIA
f7a6c9dfd775fbd41239051aeed7775adb878b0a
[ "Apache-2.0" ]
null
null
null
// jhcManusBody.cpp : basic control of Manus small forklift robot // // Written by Jonathan H. Connell, jconnell@alum.mit.edu // /////////////////////////////////////////////////////////////////////////// // // Copyright 2019-2020 IBM Corporation // Copyright 2020 Etaoin Systems // // Licensed under the Apache License,...
25.651386
113
0.560866
jconnell11
6a00fcb87077030c482a5264ae9b89d479cb4871
1,047
cpp
C++
CH10/CH1004/TcpServer/tcpserver.cpp
yangbo/Qt5-StudyNote
14d533f8631310ff27cf707548e48c19c3aa2a05
[ "MIT" ]
2
2022-03-18T07:31:30.000Z
2022-03-24T02:03:34.000Z
CH10/CH1004/TcpServer/tcpserver.cpp
yangbo/Qt5-StudyNote
14d533f8631310ff27cf707548e48c19c3aa2a05
[ "MIT" ]
null
null
null
CH10/CH1004/TcpServer/tcpserver.cpp
yangbo/Qt5-StudyNote
14d533f8631310ff27cf707548e48c19c3aa2a05
[ "MIT" ]
1
2022-03-24T02:03:40.000Z
2022-03-24T02:03:40.000Z
#include "tcpserver.h" TcpServer::TcpServer(QWidget *parent,Qt::WindowFlags f) : QDialog(parent,f) { setWindowTitle(tr("TCP Server")); ContentListWidget = new QListWidget; PortLabel = new QLabel(tr("端口:")); PortLineEdit = new QLineEdit; CreateBtn = new QPushButton(tr("创建聊天室")); mainLayout =...
27.552632
71
0.694365
yangbo
6a05ff7974763bd852c606a70952678ea5240868
1,208
cpp
C++
src/symUtilities.cpp
SyrtcevVadim/SymCalc
28051768cd7c24e6b906939a61cb8f208226cfd3
[ "Apache-2.0" ]
null
null
null
src/symUtilities.cpp
SyrtcevVadim/SymCalc
28051768cd7c24e6b906939a61cb8f208226cfd3
[ "Apache-2.0" ]
null
null
null
src/symUtilities.cpp
SyrtcevVadim/SymCalc
28051768cd7c24e6b906939a61cb8f208226cfd3
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 Syrtcev Vadim Igorevich 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 writing, sof...
20.133333
72
0.738411
SyrtcevVadim
6a0632b74e975b3c93cdee13444e82df8f40ffbd
18,039
cpp
C++
src/replay.cpp
quazm/GHOST_CB_DOTS
603b9f979628ddaa3ccbcb3c0163b124ae1e0551
[ "Apache-2.0" ]
null
null
null
src/replay.cpp
quazm/GHOST_CB_DOTS
603b9f979628ddaa3ccbcb3c0163b124ae1e0551
[ "Apache-2.0" ]
null
null
null
src/replay.cpp
quazm/GHOST_CB_DOTS
603b9f979628ddaa3ccbcb3c0163b124ae1e0551
[ "Apache-2.0" ]
null
null
null
/* Copyright [2008] [Trevor Hogan] 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 ...
30.994845
153
0.572371
quazm
6a06b6b983f99fd4eb17f278c6638871729ba00f
612
cpp
C++
DeclareVariableInNamespaceAndClassScope.cpp
haxpor/cpp_st
43d1492266c6e01e6e243c834fba26eedf1ab9f3
[ "MIT" ]
2
2021-06-10T22:05:01.000Z
2021-09-17T08:21:20.000Z
DeclareVariableInNamespaceAndClassScope.cpp
haxpor/cpp_st
43d1492266c6e01e6e243c834fba26eedf1ab9f3
[ "MIT" ]
null
null
null
DeclareVariableInNamespaceAndClassScope.cpp
haxpor/cpp_st
43d1492266c6e01e6e243c834fba26eedf1ab9f3
[ "MIT" ]
1
2020-02-25T04:26:52.000Z
2020-02-25T04:26:52.000Z
/** * Demonstrate that we can initialize non-static data member of namespace, and class scope * without problem. This is possible since c++11 (ref https://web.archive.org/web/20160316174223/https://blogs.oracle.com/pcarlini/entry/c_11_tidbits_non_static). */ #include <cassert> struct StructVar { StructVar(int val)...
15.692308
162
0.70098
haxpor
6a0a49109ae57063b17507b3f7a55184b6d96a20
5,348
cpp
C++
src/tests/execution_context/service_inheritance.cpp
jjzhang166/executors
9b42e193b27cc5c3308dd3bc4e52712c2e442c4b
[ "BSL-1.0" ]
406
2015-01-19T06:35:42.000Z
2022-03-30T04:38:12.000Z
src/tests/execution_context/service_inheritance.cpp
rongming-lu/executors
9b42e193b27cc5c3308dd3bc4e52712c2e442c4b
[ "BSL-1.0" ]
1
2018-06-13T03:17:24.000Z
2019-03-05T20:09:47.000Z
src/tests/execution_context/service_inheritance.cpp
rongming-lu/executors
9b42e193b27cc5c3308dd3bc4e52712c2e442c4b
[ "BSL-1.0" ]
66
2015-01-22T09:01:17.000Z
2022-03-30T04:38:13.000Z
#include <experimental/executor> #include <experimental/loop_scheduler> #include <cassert> class base_service1 : public std::experimental::execution_context::service { public: typedef base_service1 key_type; virtual void do_something() {} protected: explicit base_service1(std::experimental::execution_context...
27.010101
70
0.722326
jjzhang166
6a0c168af224b2c3fe2ea341d32cb6e507bfa6e7
870
cpp
C++
src/test/logical_query_plan/show_columns_node_test.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2021-04-14T11:16:52.000Z
2021-04-14T11:16:52.000Z
src/test/logical_query_plan/show_columns_node_test.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
null
null
null
src/test/logical_query_plan/show_columns_node_test.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2020-11-30T13:11:04.000Z
2020-11-30T13:11:04.000Z
#include <memory> #include "gtest/gtest.h" #include "base_test.hpp" #include "logical_query_plan/show_columns_node.hpp" namespace opossum { class ShowColumnsNodeTest : public BaseTest { protected: void SetUp() override { _show_columns_node = ShowColumnsNode::make("table_a"); } std::shared_ptr<ShowColumnsNode...
27.1875
98
0.781609
IanJamesMcKay
6a0d550358cda6b23f9589f30e90ba9de1466bb4
1,656
cpp
C++
Leetcode Daily Challenge/January-2021/14. Minimum Operations to Reduce X to Zero.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
5
2021-08-10T18:47:49.000Z
2021-08-21T15:42:58.000Z
Leetcode Daily Challenge/January-2021/14. Minimum Operations to Reduce X to Zero.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
2
2022-02-25T13:36:46.000Z
2022-02-25T14:06:44.000Z
Leetcode Daily Challenge/January-2021/14. Minimum Operations to Reduce X to Zero.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
1
2022-01-23T22:00:48.000Z
2022-01-23T22:00:48.000Z
/* Minimum Operations to Reduce X to Zero ========================================= You are given an integer array nums and an integer x. In one operation, you can either remove the leftmost or the rightmost element from the array nums and subtract its value from x. Note that this modifies the array for future operati...
27.6
239
0.61715
Akshad7829
6a0e1367169fc2943048ee69870dfc52ecec2abd
1,474
hpp
C++
include/lol/def/CollectionsLcdsChampionSkinDTO.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/CollectionsLcdsChampionSkinDTO.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/CollectionsLcdsChampionSkinDTO.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { struct CollectionsLcdsChampionSkinDTO { uint64_t endDate; uint64_t purchaseDate; int32_t winCountRemaining; std::vector<std::string> sources; int32_t championId; bool freeToPlayReward; bool lastSelected; bool owned; int32_t ...
36.85
75
0.651967
Maufeat
6a0f3fd051c2d1c78dfc051f67ac9f4cdf1aa854
328
cpp
C++
Before Summer 2017/SummerTrain Archieve/void-pointer.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Before Summer 2017/SummerTrain Archieve/void-pointer.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Before Summer 2017/SummerTrain Archieve/void-pointer.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
/* // void-pointer.cpp by Bill Weinman <http://bw.org/> #include <stdio.h> void * func( void * ); int main( int argc, char ** argv ) { printf("this is void-pointer.c\n"); const char * cp = "1234"; int * vp = (int *) func( (void *) cp ); printf("%08x\n", * vp); return 0; } void * func ( void * vp ) { return v...
15.619048
52
0.554878
mohamedGamalAbuGalala
6a0fbea5f87db20bc7fd075a49fd5a639b25ebec
10,075
cpp
C++
apps/src/openni_grab_frame.cpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
apps/src/openni_grab_frame.cpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
apps/src/openni_grab_frame.cpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
/* * Software License Agreement (BSD License) * * Copyright (c) 2011, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code mu...
35.10453
80
0.580645
yxlao
6a1612415a99fcd1a2d8c5cf6965a5dfc091d838
26,619
cpp
C++
Deprecated/Controls/Styles/Win8Styles/GuiWin8StylesCommon.cpp
cameled/GacUI
939856c1045067dc7b78eb80cdb7174ae5c76799
[ "RSA-MD" ]
2,342
2015-04-01T22:12:53.000Z
2022-03-31T07:00:33.000Z
Deprecated/Controls/Styles/Win8Styles/GuiWin8StylesCommon.cpp
vczh2/GacUI
ce100ec13357bbf03ed3d2040c48d6b2b2fefd2f
[ "RSA-MD" ]
68
2015-04-04T15:42:06.000Z
2022-03-29T04:33:51.000Z
Deprecated/Controls/Styles/Win8Styles/GuiWin8StylesCommon.cpp
vczh2/GacUI
ce100ec13357bbf03ed3d2040c48d6b2b2fefd2f
[ "RSA-MD" ]
428
2015-04-02T00:25:48.000Z
2022-03-25T16:37:56.000Z
#include "GuiWin8StylesCommon.h" namespace vl { namespace presentation { namespace win8 { using namespace collections; using namespace elements; using namespace compositions; using namespace controls; /*********************************************************************** Win8ButtonColors *********...
27.301538
199
0.638341
cameled
6a1a2e607af3eeede8351b4734ac578d77c68543
9,188
cpp
C++
libhpx/actions/ffi.cpp
luglio/hpx5
6cbeebb8e730ee9faa4487dba31a38e3139e1ce7
[ "BSD-3-Clause" ]
1
2019-11-05T21:11:32.000Z
2019-11-05T21:11:32.000Z
libhpx/actions/ffi.cpp
ldalessa/hpx
c8888c38f5c12c27bfd80026d175ceb3839f0b40
[ "BSD-3-Clause" ]
null
null
null
libhpx/actions/ffi.cpp
ldalessa/hpx
c8888c38f5c12c27bfd80026d175ceb3839f0b40
[ "BSD-3-Clause" ]
3
2019-06-21T07:05:43.000Z
2020-11-21T15:24:04.000Z
// ============================================================================= // High Performance ParalleX Library (libhpx) // // Copyright (c) 2013-2017, Trustees of Indiana University, // All rights reserved. // // This software may be modified and distributed under the terms of the BSD // license. See the C...
36.031373
80
0.665215
luglio
6a1b8aecfcec3c9417b62bc147408795cf20b728
643
cpp
C++
src/sprite/delete_closet.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/sprite/delete_closet.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/sprite/delete_closet.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2018 // // Lapin library #include "lapin_private.h" static void delete_clothe(t_bunny_map *nod, void *param) { t_bunny_clothe *clo; (void)param; if ((clo = bunny_map_data(nod, t_bunny_clothe*)) != NULL) { bunny_free((void*)clo->...
20.741935
59
0.676516
Damdoshi
6a1bfbbccb76da017cae638af4f22aa549db0852
10,143
cpp
C++
programs/library-bridge/Handlers.cpp
tianyiYoung/ClickHouse
41012b5ba49df807af52fc17ab475a21fadda9b3
[ "Apache-2.0" ]
5
2021-05-14T02:46:44.000Z
2021-11-23T04:58:20.000Z
programs/library-bridge/Handlers.cpp
tianyiYoung/ClickHouse
41012b5ba49df807af52fc17ab475a21fadda9b3
[ "Apache-2.0" ]
5
2021-05-21T06:26:01.000Z
2021-08-04T04:57:36.000Z
programs/library-bridge/Handlers.cpp
tianyiYoung/ClickHouse
41012b5ba49df807af52fc17ab475a21fadda9b3
[ "Apache-2.0" ]
8
2021-05-12T01:38:18.000Z
2022-02-10T06:08:41.000Z
#include "Handlers.h" #include "SharedLibraryHandlerFactory.h" #include <DataStreams/copyData.h> #include <Formats/FormatFactory.h> #include <Server/HTTP/WriteBufferFromHTTPServerResponse.h> #include <IO/WriteHelpers.h> #include <IO/ReadHelpers.h> #include <Poco/Net/HTTPServerRequest.h> #include <Poco/Net/HTTPServerRe...
35.096886
164
0.605935
tianyiYoung
6a1d4e97c7004eccf8e1038bd0946e8e2b78fe99
1,618
cc
C++
syntaxnet/dragnn/core/resource_container_test.cc
FrancisTembo/tensorflow-models
042f74690d0cf412cb6b7fc19f4a41afdf547905
[ "Apache-2.0" ]
58
2017-04-21T02:52:30.000Z
2021-03-08T18:58:52.000Z
syntaxnet/dragnn/core/resource_container_test.cc
FrancisTembo/tensorflow-models
042f74690d0cf412cb6b7fc19f4a41afdf547905
[ "Apache-2.0" ]
1
2017-03-19T20:12:15.000Z
2017-03-20T14:25:54.000Z
syntaxnet/dragnn/core/resource_container_test.cc
FrancisTembo/tensorflow-models
042f74690d0cf412cb6b7fc19f4a41afdf547905
[ "Apache-2.0" ]
60
2016-12-27T12:00:37.000Z
2022-03-11T17:35:11.000Z
// Tests the methods of ResourceContainer. // // NOTE(danielandor): For all tests: ResourceContainer is derived from // RefCounted, which requires the use of Unref to reduce the ref count // to zero and automatically delete the pointer. #include "dragnn/core/resource_container.h" #include <gmock/gmock.h> #include "ten...
32.36
73
0.747219
FrancisTembo
6a1fb4b39ef750f05eb9398360bfd31870cbc9a4
687
cpp
C++
hackerrank/practice/mathematics/geometry/sherlock_and_geometry.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
4
2018-06-05T14:15:52.000Z
2022-02-08T05:14:23.000Z
hackerrank/practice/mathematics/geometry/sherlock_and_geometry.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
null
null
null
hackerrank/practice/mathematics/geometry/sherlock_and_geometry.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
1
2018-10-21T11:01:35.000Z
2018-10-21T11:01:35.000Z
// https://www.hackerrank.com/challenges/sherlock-and-geometry #include "common/geometry/d2/circle_int_io.h" #include "common/geometry/d2/point_io.h" #include "common/geometry/d2/segment.h" #include "common/geometry/d2/utils/intersect_segment_icircle.h" #include "common/stl/base.h" #include "common/vector/read.h" int...
27.48
74
0.633188
Loks-
6a21c6ae556f6b8442dbb57c5e506ce1badaefa8
584
hpp
C++
include/mexcppclass/matlab/classid.hpp
rymut/mexcppclass
a6a1873a4c4d4f588490d3dc070cb7500fb82214
[ "ECL-2.0", "Apache-2.0" ]
1
2019-07-28T23:59:48.000Z
2019-07-28T23:59:48.000Z
include/mexcppclass/matlab/classid.hpp
rymut/mexcppclass
a6a1873a4c4d4f588490d3dc070cb7500fb82214
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/mexcppclass/matlab/classid.hpp
rymut/mexcppclass
a6a1873a4c4d4f588490d3dc070cb7500fb82214
[ "ECL-2.0", "Apache-2.0" ]
3
2017-08-25T03:02:36.000Z
2020-04-08T17:02:42.000Z
/// Copyright (C) 2017 by Boguslaw Rymut /// /// This file is distributed under the Apache 2.0 License /// See LICENSE for details. #ifndef MEXCPPCLASS_MATLAB_CLASSID_HPP_ #define MEXCPPCLASS_MATLAB_CLASSID_HPP_ namespace mexcppclass { namespace matlab { enum class ClassId { Single, Double, Char,...
15.783784
58
0.664384
rymut
6a229df7189b2fc4388d0d4a28261b3836be1dfc
4,036
hpp
C++
ios/Pods/boost-for-react-native/boost/log/detail/locking_ptr.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
8,805
2015-11-03T00:52:29.000Z
2022-03-29T22:30:03.000Z
ios/Pods/boost-for-react-native/boost/log/detail/locking_ptr.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
14,694
2015-02-24T15:13:42.000Z
2022-03-31T13:16:45.000Z
ios/Pods/boost-for-react-native/boost/log/detail/locking_ptr.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
1,329
2015-11-03T20:25:51.000Z
2022-03-31T18:10:38.000Z
/* * Copyright Andrey Semashev 2007 - 2015. * 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) */ /*! * \file locking_ptr.hpp * \author Andrey Semashev * \date 15.07.2009 * ...
27.087248
122
0.654361
rudylee
6a242b9f1718c727d87f0c99120d0fffbfcd02cd
823
cpp
C++
opencl/source/xe_hpc_core/gtpin_setup_xe_hpc_core.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
opencl/source/xe_hpc_core/gtpin_setup_xe_hpc_core.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
opencl/source/xe_hpc_core/gtpin_setup_xe_hpc_core.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2021-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/source/gtpin/gtpin_hw_helper.h" #include "opencl/source/gtpin/gtpin_hw_helper.inl" #include "opencl/source/gtpin/gtpin_hw_helper_xehp_and_later.inl" #include "ocl_igc_shared/gtpin/gtpin_ocl_interface.h" namespa...
22.243243
74
0.771567
mattcarter2017
6a2a6457c1b4d0022fefb30b4c5bfa7814284e04
152,503
cpp
C++
src/Scripts.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
src/Scripts.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
src/Scripts.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
#ifndef SCRIPTS_H #define SCRIPTS_H #include <Script.hpp> #include <algorithm> extern scriptclass script; void scriptclass::load(std::string t) { //loads script name t into the array position = 0; scriptlength = 0; running = true; int maxlength = (std::min(int(t.length()), 7)); std::string customstring = ""; ...
22.367703
99
0.588506
TijmenUU
6a2f9f1d53a021af03fc004b9528e7da9c4f00a1
3,061
cc
C++
release/src/router/aria2-1.18.1/test/MessageDigestTest.cc
ghsecuritylab/bcwifi
4cd7a6989921930f39816583014728b9f07a09a3
[ "FSFAP" ]
18
2015-12-08T17:31:49.000Z
2022-03-21T19:02:11.000Z
release/src/router/aria2-1.18.1/test/MessageDigestTest.cc
ghsecuritylab/bcwifi
4cd7a6989921930f39816583014728b9f07a09a3
[ "FSFAP" ]
null
null
null
release/src/router/aria2-1.18.1/test/MessageDigestTest.cc
ghsecuritylab/bcwifi
4cd7a6989921930f39816583014728b9f07a09a3
[ "FSFAP" ]
8
2015-07-12T14:37:46.000Z
2019-03-05T10:07:33.000Z
#include "MessageDigest.h" #include <cppunit/extensions/HelperMacros.h> #include "util.h" namespace aria2 { class MessageDigestTest:public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(MessageDigestTest); CPPUNIT_TEST(testDigest); CPPUNIT_TEST(testSupports); CPPUNIT_TEST(testGetDigestLength); CPPUNIT_TEST(te...
30.306931
79
0.708592
ghsecuritylab
6a30e92ecc4497e24d6fd76e0318126d8704bdcc
11,729
cpp
C++
TensorShaderAvxBackend/Complex/Convolution/Convolution2D/complex_kernelproduct_2d.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
TensorShaderAvxBackend/Complex/Convolution/Convolution2D/complex_kernelproduct_2d.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
TensorShaderAvxBackend/Complex/Convolution/Convolution2D/complex_kernelproduct_2d.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
#include "../../../TensorShaderAvxBackend.h" using namespace System; __forceinline __m256d _mm256_complexmulkernelgrad_pd(__m256d u, __m256d v) { __m256d vri = v; __m256d urr = _mm256_permute4x64_pd(u, _MM_PERM_CCAA); __m256d vir = _mm256_permute4x64_pd(v, _MM_PERM_CDAB); __m256d uii = _mm256_permute4...
56.389423
207
0.541393
tk-yoshimura
6a33579b6c7590590fd3157e14cdc72bcc2bc27b
5,006
hpp
C++
3rdparty/stout/include/stout/check.hpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
4
2019-03-06T03:04:40.000Z
2019-07-20T15:35:00.000Z
3rdparty/stout/include/stout/check.hpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
6
2018-11-30T08:04:45.000Z
2019-05-15T03:04:28.000Z
3rdparty/stout/include/stout/check.hpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
4
2019-03-11T11:51:22.000Z
2020-05-11T07:27:31.000Z
// 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 writing, software // distributed und...
22.150442
76
0.609069
sagar8192
6a345c9c202f2f9219fd7a9d0d9f2bfdd7a5d708
2,510
cxx
C++
src/larcv3/app/queueio/deprecated/BatchFillerMultiLabel.cxx
zhulcher/larcv3
26d1ad33f0c27ddf6bb2c56bc0238aeaddcb772b
[ "MIT" ]
8
2019-05-14T21:53:42.000Z
2021-12-10T13:09:33.000Z
src/larcv3/app/queueio/deprecated/BatchFillerMultiLabel.cxx
zhulcher/larcv3
26d1ad33f0c27ddf6bb2c56bc0238aeaddcb772b
[ "MIT" ]
34
2019-05-15T13:33:10.000Z
2022-03-22T17:54:49.000Z
src/larcv3/app/queueio/deprecated/BatchFillerMultiLabel.cxx
zhulcher/larcv3
26d1ad33f0c27ddf6bb2c56bc0238aeaddcb772b
[ "MIT" ]
6
2019-10-24T16:11:50.000Z
2021-11-26T14:06:30.000Z
#ifndef __LARCV3THREADIO_BATCHFILLERMULTILABEL_CXX__ #define __LARCV3THREADIO_BATCHFILLERMULTILABEL_CXX__ #include "BatchFillerMultiLabel.h" #include <random> #include "larcv3/core/dataformat/EventTensor.h" #include "larcv3/core/dataformat/EventParticle.h" namespace larcv3 { static BatchFillerMultiLabelProcessFactor...
27.282609
88
0.65259
zhulcher
6a38780d1b710f066df14776ac3123ca67498177
8,807
cpp
C++
ugv_sdk/src/tracer_base.cpp
Wataru-Oshima-Tokyo/ugv_sdk
689a872af6733eff93dccbc4b1c56405f69acb4f
[ "BSD-3-Clause" ]
null
null
null
ugv_sdk/src/tracer_base.cpp
Wataru-Oshima-Tokyo/ugv_sdk
689a872af6733eff93dccbc4b1c56405f69acb4f
[ "BSD-3-Clause" ]
null
null
null
ugv_sdk/src/tracer_base.cpp
Wataru-Oshima-Tokyo/ugv_sdk
689a872af6733eff93dccbc4b1c56405f69acb4f
[ "BSD-3-Clause" ]
null
null
null
#include "ugv_sdk/tracer/tracer_base.hpp" #include <string> #include <cstring> #include <iostream> #include <algorithm> #include <array> #include <chrono> #include <cstdint> #include <ratio> #include <thread> #include "stopwatch.hpp" namespace westonrobot { void TracerBase::SendRobotCmd() { static uint8_t cmd_coun...
38.458515
80
0.704326
Wataru-Oshima-Tokyo
6a38ab70f815e485508e36391dad7176a16c3975
12,197
hpp
C++
include/codegen/include/RootMotion/FinalIK/IKSolverVR.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/RootMotion/FinalIK/IKSolverVR.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/RootMotion/FinalIK/IKSolverVR.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:17 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: RootMotion.FinalIK.IKSolver #include "RootMotion/FinalIK/IKS...
45.342007
226
0.729852
Futuremappermydud
6a39cf622bf398dc2d2cc623f01369fb5a6fd9f8
405
cpp
C++
cpp/beginner_contest_154/c.cpp
kitoko552/atcoder
a1e18b6d855baefb90ae6df010bcf1ffa8ff5562
[ "MIT" ]
1
2020-03-31T05:53:38.000Z
2020-03-31T05:53:38.000Z
cpp/beginner_contest_154/c.cpp
kitoko552/atcoder
a1e18b6d855baefb90ae6df010bcf1ffa8ff5562
[ "MIT" ]
null
null
null
cpp/beginner_contest_154/c.cpp
kitoko552/atcoder
a1e18b6d855baefb90ae6df010bcf1ffa8ff5562
[ "MIT" ]
null
null
null
// https://atcoder.jp/contests/abc154/tasks/abc154_c #include<iostream> using namespace std; int main() { int N; cin >> N; int A[N]; for (int i = 0; i < N; i++) { cin >> A[i]; } sort(A, A + N); string ans = "YES"; for (int i = 0; i < N - 1; i++) { if (A[i] == A[i+1])...
15
52
0.419753
kitoko552
6a3aaef882072ae2fa24cf766f8c279e89491b31
13,845
cpp
C++
flang/runtime/findloc.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
flang/runtime/findloc.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
flang/runtime/findloc.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
//===-- runtime/findloc.cpp -----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
40.364431
80
0.680318
lxbndr
6a3c03312997bc4325a4dc78961ed30277123281
8,319
cpp
C++
src/behaviortree/nodes/composites/referencebehavior.cpp
pjkui/behaviac_2.0.7
db4bec559c184c4af125005bf07bc0b25e2c6e66
[ "BSD-3-Clause" ]
null
null
null
src/behaviortree/nodes/composites/referencebehavior.cpp
pjkui/behaviac_2.0.7
db4bec559c184c4af125005bf07bc0b25e2c6e66
[ "BSD-3-Clause" ]
null
null
null
src/behaviortree/nodes/composites/referencebehavior.cpp
pjkui/behaviac_2.0.7
db4bec559c184c4af125005bf07bc0b25e2c6e66
[ "BSD-3-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clau...
31.392453
119
0.630484
pjkui
6a3d065597852b9a7f2a53df9617722c242192a7
1,169
cc
C++
src/linear/qr_unpack_pt.cc
Seeenman/Draco
8540aeb8bbbf467c3aa1caa9521d0910e0ca7917
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/linear/qr_unpack_pt.cc
Seeenman/Draco
8540aeb8bbbf467c3aa1caa9521d0910e0ca7917
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/linear/qr_unpack_pt.cc
Seeenman/Draco
8540aeb8bbbf467c3aa1caa9521d0910e0ca7917
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//--------------------------------------------*-C++-*---------------------------------------------// /*! * \file linear/qr_unpack_pt.cc * \author Kent Budge * \date Wed Aug 11 15:21:38 2004 * \brief Specializations of qr_unpack * \note Copyright (C) 2016-2020 Triad National Security, LLC., All rights reserv...
41.75
100
0.328486
Seeenman
6a4471eccef3b3e1530eb42d4c61571c257a98e4
142
cpp
C++
Implementation/Task 2/src/exceptions/PlayerExceptions.cpp
migueldingli1997/CPS2004-Object-Oriented-Programming-Assignment
8dfc9a43e073b5ad55f1021717657dc87b8bbdbb
[ "MIT" ]
1
2022-01-19T09:41:56.000Z
2022-01-19T09:41:56.000Z
Implementation/Task 2/src/exceptions/PlayerExceptions.cpp
migueldingli1997/CPS2004-Object-Oriented-Programming-Assignment
8dfc9a43e073b5ad55f1021717657dc87b8bbdbb
[ "MIT" ]
null
null
null
Implementation/Task 2/src/exceptions/PlayerExceptions.cpp
migueldingli1997/CPS2004-Object-Oriented-Programming-Assignment
8dfc9a43e073b5ad55f1021717657dc87b8bbdbb
[ "MIT" ]
null
null
null
#include "PlayerExceptions.h" const char *NotEnoughMoneyException::what() const throw() { return "Player did not have enough money."; }
20.285714
59
0.725352
migueldingli1997
6a455ed406a69917886c71789c57f47d9c9c50e2
1,246
hh
C++
enc_modules/crypto_mk/main/sha.hh
Tofuseng/Mylar
852bbeb27e077e36cdc561803d33bafa5dc795a9
[ "Apache-2.0" ]
240
2015-01-04T10:47:28.000Z
2022-03-17T10:50:34.000Z
enc_modules/crypto_mk/main/sha.hh
eternaltyro/mylar
18e9d0e6ef8fd836073c8bc47d79bb76c5405da5
[ "Apache-2.0" ]
8
2015-03-18T14:35:41.000Z
2017-04-11T06:01:41.000Z
enc_modules/crypto_mk/main/sha.hh
eternaltyro/mylar
18e9d0e6ef8fd836073c8bc47d79bb76c5405da5
[ "Apache-2.0" ]
42
2015-01-18T12:22:49.000Z
2022-01-20T04:21:47.000Z
#pragma once #include <openssl/sha.h> #include <string> template<class State, int OutBytes, int BlockBytes, int (*Init)(State*), int (*Update)(State*, const void*, size_t), int (*Final)(uint8_t*, State*)> class sha { public: sha() { Init(&s); } void update(const v...
27.086957
82
0.62199
Tofuseng
6a46229abe2ea1c1b2f81fa77e92a668d6ba487e
4,336
cc
C++
lib/ts/ConsistentHash.cc
garfieldonly/ats_git
940ff5c56bebabb96130a55c2a17212c5c518138
[ "Apache-2.0" ]
1
2022-01-19T14:34:34.000Z
2022-01-19T14:34:34.000Z
lib/ts/ConsistentHash.cc
mingzym/trafficserver
a01c3a357b4ff9193f2e2a8aee48e3751ef2177a
[ "Apache-2.0" ]
2
2017-12-05T23:48:37.000Z
2017-12-20T01:22:07.000Z
lib/ts/ConsistentHash.cc
maskit/trafficserver
3ffa19873f7cd7ced2fbdfed5a0ac8ddbbe70a68
[ "Apache-2.0" ]
null
null
null
/** @file @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Versi...
20.167442
101
0.622232
garfieldonly
6a466d6900d1e788292c0df3476c873f631e4f2d
974
hxx
C++
libstudxml/libstudxml/details/config.hxx
pdpdds/yuza_thirdparty
461b7481322df4f1c3f0d258c1b4ea4bad16f10c
[ "MIT" ]
null
null
null
libstudxml/libstudxml/details/config.hxx
pdpdds/yuza_thirdparty
461b7481322df4f1c3f0d258c1b4ea4bad16f10c
[ "MIT" ]
null
null
null
libstudxml/libstudxml/details/config.hxx
pdpdds/yuza_thirdparty
461b7481322df4f1c3f0d258c1b4ea4bad16f10c
[ "MIT" ]
null
null
null
// file : libstudxml/details/config.hxx // license : MIT; see accompanying LICENSE file #ifndef LIBSTUDXML_DETAILS_CONFIG_HXX #define LIBSTUDXML_DETAILS_CONFIG_HXX // C++11 support. // #ifdef _MSC_VER # if _MSC_VER >= 1900 # define STUDXML_CXX11_NOEXCEPT # endif #else # if defined(__GXX_EXPERIMENTAL_CXX0...
24.35
79
0.732033
pdpdds
6a4683a580bb07722e090ae5df87a17cfeb87fff
378
cpp
C++
archive/codevs.6061.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
archive/codevs.6061.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
archive/codevs.6061.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
#include <cstdio> using namespace std; int n,r,a[30]; bool x; void dfs(int deep,int temp){ if(deep==r){ for(int i=0;i<r;i++) printf("%3d",a[i]); printf("\n"); } else for(int i=1;i<=n;i++){ x=false; for(int j=0;j<deep;j++){ if(a[j]==i) x=true; } if(x) continue; a[deep]=i; dfs(deep+1,i); a[deep...
13.034483
42
0.521164
woshiluo
6a46a21f962427727c4faf617fcf83a19d2e221a
3,405
cpp
C++
test/test_connection_adapter.cpp
iTuMaN4iK/asio_utils
2182f14f46bdd3ab96cccf038ad925bf9b83e55f
[ "MIT" ]
null
null
null
test/test_connection_adapter.cpp
iTuMaN4iK/asio_utils
2182f14f46bdd3ab96cccf038ad925bf9b83e55f
[ "MIT" ]
null
null
null
test/test_connection_adapter.cpp
iTuMaN4iK/asio_utils
2182f14f46bdd3ab96cccf038ad925bf9b83e55f
[ "MIT" ]
null
null
null
 #include "asio_utils/connection_adapter.hpp" #include "asio_utils/testing/stub_connection.h" #include <asio.hpp> #include <gtest/gtest.h> #include <cstdint> #include <numeric> #include <vector> namespace e_testing = eld::testing; template<typename ConnectionT> class connection_wrapper { public: using connecti...
30.675676
98
0.666079
iTuMaN4iK
6a47fc453da7499b2886a29a657d767b06c0b7ec
9,477
cc
C++
src/storage/blobfs/compression/decompressor_sandbox/decompressor_impl.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/storage/blobfs/compression/decompressor_sandbox/decompressor_impl.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2019-12-04T15:13:37.000Z
2020-02-19T08:11:38.000Z
src/storage/blobfs/compression/decompressor_sandbox/decompressor_impl.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef _ALL_SOURCE #define _ALL_SOURCE // Enables thrd_create_with_name in <threads.h>. #endif #include "src/storage/blobfs/compression/decompressor_san...
40.67382
100
0.697373
allansrc
6a489ef252197c20397dd7704bc0fe8677956fbe
2,395
cpp
C++
Cappuccino/src/Cappuccino/AnimationSystem.cpp
Promethaes/CappuccinoEngine
e0e2dacaf14c8176d4fbc0d85645783e364a06a4
[ "MIT" ]
5
2019-10-25T11:51:08.000Z
2020-01-09T00:56:24.000Z
Cappuccino/src/Cappuccino/AnimationSystem.cpp
Promethaes/CappuccinoEngine
e0e2dacaf14c8176d4fbc0d85645783e364a06a4
[ "MIT" ]
145
2019-09-10T18:33:49.000Z
2020-02-02T09:59:23.000Z
Cappuccino/src/Cappuccino/AnimationSystem.cpp
Promethaes/CappuccinoEngine
e0e2dacaf14c8176d4fbc0d85645783e364a06a4
[ "MIT" ]
null
null
null
#include "Cappuccino/AnimationSystem.h" #include "Cappuccino/CappMath.h" #include "glm/common.hpp" #include "glm/gtx/compatibility.hpp" namespace Cappuccino { std::vector<Animation*> Animation::_allAnimations = {}; Animation::Animation(const std::vector<Mesh*>& keyFrames, AnimationType type) : _type(type...
23.480392
79
0.650104
Promethaes
6a4956bcd6605b90e344f1b9889139e3abca2933
359
cpp
C++
AirFloat/NotificationObserver.cpp
davhelm/AirFloat
460a97d57f9adf3372093e1e62a38b726ab08737
[ "Unlicense" ]
2
2015-07-20T17:09:11.000Z
2017-02-05T11:08:34.000Z
AirFloat/NotificationObserver.cpp
davhelm/AirFloat
460a97d57f9adf3372093e1e62a38b726ab08737
[ "Unlicense" ]
null
null
null
AirFloat/NotificationObserver.cpp
davhelm/AirFloat
460a97d57f9adf3372093e1e62a38b726ab08737
[ "Unlicense" ]
null
null
null
// // NotificationReceiver.cpp // AirFloat // // Created by Kristian Trenskow on 2/8/12. // Copyright (c) 2012 The Famous Software Company. All rights reserved. // #include "NotificationCenter.h" #include "NotificationObserver.h" NotificationObserver::~NotificationObserver() { NotificationCenter::default...
21.117647
72
0.724234
davhelm
c69957b1b1efa65a9407875a3c1ac25975b74583
5,132
cpp
C++
Roguelike/Code/Game/Stats.cpp
cugone/Roguelike
0f53a1ae2a37e683773c1707ce4aeb056973af13
[ "MIT" ]
null
null
null
Roguelike/Code/Game/Stats.cpp
cugone/Roguelike
0f53a1ae2a37e683773c1707ce4aeb056973af13
[ "MIT" ]
4
2021-05-04T03:21:49.000Z
2021-10-06T05:21:24.000Z
Roguelike/Code/Game/Stats.cpp
cugone/Roguelike
0f53a1ae2a37e683773c1707ce4aeb056973af13
[ "MIT" ]
2
2020-01-19T00:50:34.000Z
2021-04-01T07:51:02.000Z
#include "Game/Stats.hpp" #include <type_traits> StatsID& operator++(StatsID& a) { using underlying = std::underlying_type_t<StatsID>; a = static_cast<StatsID>(static_cast<underlying>(a) + 1); return a; } StatsID operator++(StatsID& a, int) { auto result = a; ++a; return result; ...
32.687898
128
0.614186
cugone
c69a15080bf83cc00e321cffcbdd269a2804af65
527
cpp
C++
CodeChef/MOU2H/Mountain Holidays 2.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-02-24T06:45:56.000Z
2018-05-29T04:47:39.000Z
CodeChef/MOU2H/Mountain Holidays 2.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
null
null
null
CodeChef/MOU2H/Mountain Holidays 2.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-06-28T09:53:27.000Z
2022-03-23T13:29:57.000Z
#include <bits/stdc++.h> using namespace std; typedef long long LL; const LL maxn=2123456,mod=1e9+9; LL t,n,i,m,a[maxn],v[maxn*4],dp[maxn]; int main(){ scanf("%lld",&t); while(t--){ scanf("%lld",&n); for(i=1;i<=n;i++) scanf("%lld",&a[i]); for(i=1,m=0;i<n;i++) a[i]=a[i+1]-a[i],m=min(m,a[i]); for(i=1;i<n;...
20.269231
44
0.493359
QAQrz
c69c8c79208ac5ee51f1c4b3c8baf7183842b2f8
12,448
cc
C++
src/mem/dtu/mem_unit.cc
utcs-scea/gem5-dtu
0922df0e8f47fe3bd2fbad9f57b1b855181c64dd
[ "BSD-3-Clause" ]
3
2016-03-23T09:21:51.000Z
2019-07-22T22:07:26.000Z
src/mem/dtu/mem_unit.cc
TUD-OS/gem5-dtu
0922df0e8f47fe3bd2fbad9f57b1b855181c64dd
[ "BSD-3-Clause" ]
null
null
null
src/mem/dtu/mem_unit.cc
TUD-OS/gem5-dtu
0922df0e8f47fe3bd2fbad9f57b1b855181c64dd
[ "BSD-3-Clause" ]
6
2018-01-01T02:15:26.000Z
2021-11-03T10:54:04.000Z
/* * Copyright (c) 2015, Christian Menard * Copyright (c) 2015, Nils Asmussen * All rights reserved. * * Redistribution and use in source and binary forms, with or without * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * ...
28.881671
89
0.612147
utcs-scea
c69ce88cf26e990cf6771127199b3a484be47fea
4,777
cpp
C++
Code/BellmanFord.cpp
RossieeyirouQian10/EE450-Lab1-Bellman-Ford-Algorithm
383afe5c57672350643e2c774c751e80e46da7a7
[ "MIT" ]
null
null
null
Code/BellmanFord.cpp
RossieeyirouQian10/EE450-Lab1-Bellman-Ford-Algorithm
383afe5c57672350643e2c774c751e80e46da7a7
[ "MIT" ]
null
null
null
Code/BellmanFord.cpp
RossieeyirouQian10/EE450-Lab1-Bellman-Ford-Algorithm
383afe5c57672350643e2c774c751e80e46da7a7
[ "MIT" ]
null
null
null
// // BellmanFord.cpp // LAB1 // // Created by 钱依柔 on 5/30/19. // Copyright © 2019 钱依柔. All rights reserved. // #include "BellmanFord.hpp" #include <iostream> #include <string> #include <cstring> #include <fstream> #include <sstream> #include <vector> #include <climits> #include <regex> #include <algorithm> #inc...
25.821622
113
0.472054
RossieeyirouQian10
c69f75aae8890928f2433c8430db872e7a77a6c0
17,472
cpp
C++
fsck/source/toolkit/FsckTkEx.cpp
congweitao/congfs
54cedf484f8a2cacab567fe182cc1f6413c25cf2
[ "BSD-3-Clause" ]
null
null
null
fsck/source/toolkit/FsckTkEx.cpp
congweitao/congfs
54cedf484f8a2cacab567fe182cc1f6413c25cf2
[ "BSD-3-Clause" ]
null
null
null
fsck/source/toolkit/FsckTkEx.cpp
congweitao/congfs
54cedf484f8a2cacab567fe182cc1f6413c25cf2
[ "BSD-3-Clause" ]
null
null
null
#include "FsckTkEx.h" #include <common/net/message/fsck/FsckSetEventLoggingMsg.h> #include <common/net/message/fsck/FsckSetEventLoggingRespMsg.h> #include <common/net/message/storage/StatStoragePathMsg.h> #include <common/net/message/storage/StatStoragePathRespMsg.h> #include <common/toolkit/ListTk.h> #include <common...
28.879339
106
0.627862
congweitao
c69fb2596c3c21a93b42faa98573b71d49655a99
4,302
cpp
C++
Game_exe/release_mode/windows/obj/src/flixel/input/actions/FlxInputDeviceID.cpp
hisatsuga/Salty-Psyche-Engine-Port-Main
0c6afc6ef57f6f6a8b83ff23bb6a26bb05117ab7
[ "Apache-2.0" ]
1
2021-07-19T05:10:43.000Z
2021-07-19T05:10:43.000Z
export/release/windows/obj/src/flixel/input/actions/FlxInputDeviceID.cpp
Tyrcnex/tai-mod
b83152693bb3139ee2ae73002623934f07d35baf
[ "Apache-2.0" ]
null
null
null
export/release/windows/obj/src/flixel/input/actions/FlxInputDeviceID.cpp
Tyrcnex/tai-mod
b83152693bb3139ee2ae73002623934f07d35baf
[ "Apache-2.0" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_flixel_input_actions_FlxInputDeviceID #include <flixel/input/actions/FlxInputDeviceID.h> #endif HX_LOCAL_STACK_FRAME(_hx_pos_8815d627a254acc2_117_boot,"flixel.input.actions.FlxInputDeviceID","boot",0x9ec96ab0,"flixel.input.actions.FlxInputDeviceID.boot","flixel/input/actions/FlxAct...
35.262295
214
0.77801
hisatsuga
c6a0bd9e00e6362f6eae1c600a020a063cf55fc6
6,880
cpp
C++
src/difont/opengl/OpenGLInterface.windows.cpp
cdave1/difont
2c38726cc3b7a6e06b920accef4ce752967fa61d
[ "MIT" ]
3
2015-03-09T05:51:02.000Z
2019-07-29T10:33:32.000Z
src/difont/opengl/OpenGLInterface.windows.cpp
cdave1/difont
2c38726cc3b7a6e06b920accef4ce752967fa61d
[ "MIT" ]
null
null
null
src/difont/opengl/OpenGLInterface.windows.cpp
cdave1/difont
2c38726cc3b7a6e06b920accef4ce752967fa61d
[ "MIT" ]
null
null
null
/* Copyright (c) 2010 David Petrie 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, publish, distribu...
31.851852
122
0.717733
cdave1
c6a19712a8b861c524279e8944be9b1da81d32a2
1,381
cpp
C++
sim/Character3D.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
sim/Character3D.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
sim/Character3D.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
#include "Character3D.h" #include "../model/SkelMaker.h" #include <dart/dart.hpp> #include <iostream> Character3D:: Character3D(const std::string& name) :mName(name) { curLeftFingerPosition = 0.0; curRightFingerPosition = 0.0; curLeftFingerBallPosition = 0.0; curRightFingerBallPosition = 0.0; blocked = false; in...
25.109091
68
0.772629
snumrl
c6a699f8bab50b56270512da3d65508174783456
63,273
cpp
C++
src/basetestsealbfv.cpp
YiJingGuo/HEBenchmark
3154b4b638b32c97d307c598a2dd2fbf0a543de2
[ "MIT" ]
27
2019-07-27T10:32:24.000Z
2021-05-17T12:32:30.000Z
src/basetestsealbfv.cpp
YiJingGuo/HEBenchmark
3154b4b638b32c97d307c598a2dd2fbf0a543de2
[ "MIT" ]
null
null
null
src/basetestsealbfv.cpp
YiJingGuo/HEBenchmark
3154b4b638b32c97d307c598a2dd2fbf0a543de2
[ "MIT" ]
11
2019-07-28T03:57:06.000Z
2021-04-27T09:24:52.000Z
#include "basetestsealbfv.h" #include "ui_basetestsealbfv.h" #include "mainwindow.h" #include <QHBoxLayout> #include <QValueAxis> BaseTestSealBFV::BaseTestSealBFV(QWidget *parent) : QWidget(parent), ui(new Ui::BaseTestSealBFV) { ui->setupUi(this); QPalette bgpal = palette(); bgpal.setColor (QPalett...
30.317681
119
0.650593
YiJingGuo
c6a733a50739af5698ff6b9effb7d5fed8075c8b
397
cpp
C++
src/server/quantum_chess/pseudo_random_coin.cpp
Santoi/quantum-chess
a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9
[ "MIT" ]
9
2021-12-22T02:10:34.000Z
2021-12-30T17:14:25.000Z
src/server/quantum_chess/pseudo_random_coin.cpp
Santoi/quantum-chess
a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9
[ "MIT" ]
null
null
null
src/server/quantum_chess/pseudo_random_coin.cpp
Santoi/quantum-chess
a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9
[ "MIT" ]
null
null
null
#include "pseudo_random_coin.h" #include <ctime> #include <iostream> PseudoRandomCoin::PseudoRandomCoin() : engine(clock() * time(nullptr)), random(true) {} PseudoRandomCoin::PseudoRandomCoin(bool random_) : engine(), random(random_) { } bool PseudoRandomCoin::flip() { if (!r...
23.352941
78
0.639798
Santoi
c6a90fcbd48c975e4310a5d04905f7fe56798da4
224
cpp
C++
ChanSpreadsheet/chartSettings.cpp
ChanJLee/ChanSpreadSheet
ea61246387b0243030e7facf822077f28f73917e
[ "Apache-2.0" ]
null
null
null
ChanSpreadsheet/chartSettings.cpp
ChanJLee/ChanSpreadSheet
ea61246387b0243030e7facf822077f28f73917e
[ "Apache-2.0" ]
null
null
null
ChanSpreadsheet/chartSettings.cpp
ChanJLee/ChanSpreadSheet
ea61246387b0243030e7facf822077f28f73917e
[ "Apache-2.0" ]
null
null
null
#include "chartSettings.h" chartSettings::chartSettings(const QChar x,const QChar y, const QString& xTitle,const QString& yTitle, const QString& chartTitle): m_settings(std::make_tuple(x,y,xTitle,yTitle,chartTitle)) { }
22.4
57
0.776786
ChanJLee
c6abce6e3958e03498b21c32fb67ae8accaf256f
2,219
hpp
C++
include/re_fft/Hann_window.hpp
reBass/reFFT
96f83a7b62d8329ac8d6304706c4ab981851807e
[ "MIT" ]
null
null
null
include/re_fft/Hann_window.hpp
reBass/reFFT
96f83a7b62d8329ac8d6304706c4ab981851807e
[ "MIT" ]
null
null
null
include/re_fft/Hann_window.hpp
reBass/reFFT
96f83a7b62d8329ac8d6304706c4ab981851807e
[ "MIT" ]
null
null
null
// Copyright (c) 2016 Roman Beránek. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, m...
27.395062
80
0.666066
reBass
c6ad9b376203cda37a8b26abcf028d1281c25a73
682
hpp
C++
libs/input/include/sge/input/create_multi_system.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/input/include/sge/input/create_multi_system.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/input/include/sge/input/create_multi_system.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_INPUT_CREATE_MULTI_SYSTEM_HPP_INCLUDED #define SGE_INPUT_CREATE_MULTI_SYSTEM_HPP_INCLUD...
28.416667
91
0.777126
cpreh
c6af03499b54760a000f85da0145ab3d9f65f68d
10,062
cxx
C++
panda/src/express/zStreamBuf.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/express/zStreamBuf.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/express/zStreamBuf.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file zStreamBuf.cxx * @auth...
22.920273
78
0.648579
sean5470
c6b0e199676eee64235a813a1e02e4265db3266f
16,371
cpp
C++
libpharos/typedb.cpp
CyberFlameGO/pharos
af54b6ada58d50c046fa899452addce80e9ce8da
[ "RSA-MD" ]
1,247
2015-06-15T17:51:31.000Z
2022-03-31T10:24:47.000Z
libpharos/typedb.cpp
CyberFlameGO/pharos
af54b6ada58d50c046fa899452addce80e9ce8da
[ "RSA-MD" ]
191
2017-07-05T19:06:28.000Z
2022-03-20T14:31:10.000Z
libpharos/typedb.cpp
CyberFlameGO/pharos
af54b6ada58d50c046fa899452addce80e9ce8da
[ "RSA-MD" ]
180
2015-06-25T21:34:54.000Z
2022-03-21T04:25:04.000Z
// Copyright 2016-2021 Carnegie Mellon University. See LICENSE file for terms. #include "typedb.hpp" #include "descriptors.hpp" #include <stdexcept> #include <cassert> #include <locale> #include <boost/locale/encoding_utf.hpp> #include <boost/range/adaptor/reversed.hpp> namespace bf = boost::filesystem; namespace p...
26.837705
91
0.583532
CyberFlameGO
c6b1f0820d1be7cff2557652df4b47a71ca9ada0
889
cpp
C++
examples/xtd.core.examples/date_time/date_time_day_of_year/src/date_time_day_of_year.cpp
BaderEddineOuaich/xtd
6f28634c7949a541d183879d2de18d824ec3c8b1
[ "MIT" ]
1
2022-02-25T16:53:06.000Z
2022-02-25T16:53:06.000Z
examples/xtd.core.examples/date_time/date_time_day_of_year/src/date_time_day_of_year.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
null
null
null
examples/xtd.core.examples/date_time/date_time_day_of_year/src/date_time_day_of_year.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
null
null
null
#include <xtd/xtd> using namespace xtd; class program { public: static void main() { date_time dec31(2010, 12, 31); for (uint32_t ctr = 0U; ctr <= 10U; ctr++) { date_time date_to_display = dec31.add_years(ctr); console::write_line("{0:d}: day {1} of {2} {3}", date_to_display, date_to_display.day...
28.677419
197
0.653543
BaderEddineOuaich
c6b4fd5f70a929a64d9b841502b8c66910df2ca5
1,309
cpp
C++
CodeForces/Complete/400-499/430B-BallsGame.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/400-499/430B-BallsGame.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/400-499/430B-BallsGame.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <vector> int main(){ int n, k, x; scanf("%d %d %d", &n, &k, &x); std::vector<int> ballVec(n, 0); std::vector<std::pair<int,int> > locations; int start(-1), stop(-1); for(int p = 0; p < n; p++){ scanf("%d", &ballVec[p]); if(ballVec[p] == x){if(start < 0)...
28.456522
138
0.453782
Ashwanigupta9125
c6b5381f26390ab20db9de13b6e6dbbe7d4ea86b
4,553
hpp
C++
irohad/network/impl/channel_factory.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
irohad/network/impl/channel_factory.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
irohad/network/impl/channel_factory.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_CHANNEL_FACTORY_HPP #define IROHA_CHANNEL_FACTORY_HPP #include "network/impl/channel_provider.hpp" #include <memory> #include <set> #include <string> #include <grpc++/grpc++.h> #include "common/result...
33.977612
80
0.670327
Insafin
c6b70c4430ac01a93cb0d5f4ff6d031c0de4bcc7
616
cpp
C++
sorting-the-sentence/sorting-the-sentence.cpp
sharmishtha2401/leetcode
0c7389877afb64b3ff277f075ed9c87b24cb587b
[ "MIT" ]
1
2022-02-14T07:57:07.000Z
2022-02-14T07:57:07.000Z
sorting-the-sentence/sorting-the-sentence.cpp
sharmishtha2401/leetcode
0c7389877afb64b3ff277f075ed9c87b24cb587b
[ "MIT" ]
null
null
null
sorting-the-sentence/sorting-the-sentence.cpp
sharmishtha2401/leetcode
0c7389877afb64b3ff277f075ed9c87b24cb587b
[ "MIT" ]
null
null
null
class Solution { public: string sortSentence(string s) { vector<string> pos(10,""); for(int i=0; i<s.size(); i++) { int j=i; string temp=""; while(!isdigit(s[j])) { temp+=s[j]; j++; } pos[...
20.533333
37
0.303571
sharmishtha2401
c6b8ae276ea89ab55e574431b759ea716580fd79
2,781
cpp
C++
3rdParty/fuerte/src/loop.cpp
snykiotcubedev/arangodb-3.7.6
fce8f85f1c2f070c8e6a8e76d17210a2117d3833
[ "Apache-2.0" ]
1
2020-10-27T12:19:33.000Z
2020-10-27T12:19:33.000Z
3rdParty/fuerte/src/loop.cpp
charity1475/arangodb
32bef3ed9abef6f41a11466fe6361ae3e6d99b5e
[ "Apache-2.0" ]
109
2022-01-06T07:05:24.000Z
2022-03-21T01:39:35.000Z
3rdParty/fuerte/src/loop.cpp
charity1475/arangodb
32bef3ed9abef6f41a11466fe6361ae3e6d99b5e
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
34.333333
99
0.649407
snykiotcubedev
c6b9f983c4908cb1ff9056095c77fae0053f4658
22,103
cpp
C++
tools/dump_combinator/dump_combinator.cpp
arthurp/lapis2
1c0644cf1eeb2ddc5a735ca002d561e308ed6014
[ "BSD-2-Clause" ]
null
null
null
tools/dump_combinator/dump_combinator.cpp
arthurp/lapis2
1c0644cf1eeb2ddc5a735ca002d561e308ed6014
[ "BSD-2-Clause" ]
null
null
null
tools/dump_combinator/dump_combinator.cpp
arthurp/lapis2
1c0644cf1eeb2ddc5a735ca002d561e308ed6014
[ "BSD-2-Clause" ]
null
null
null
#include <glib.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <assert.h> #include <string> #include <sstream> #include <cuda.h> #include <driver_types.h> #include <fatbinary.h> #include "debug.h" #include <atomic> struct fatbin_wrapper { uint32_t ...
37.273187
103
0.563362
arthurp
c6bbb40d95571820d1ce00e1c360cfe93bc39512
2,759
cpp
C++
src/move.cpp
hang-sun1/spareduck
d56c5174c6e8e21b8845af100e7147e272a88b2a
[ "MIT" ]
1
2022-02-19T03:19:33.000Z
2022-02-19T03:19:33.000Z
src/move.cpp
hang-sun1/spareduck
d56c5174c6e8e21b8845af100e7147e272a88b2a
[ "MIT" ]
null
null
null
src/move.cpp
hang-sun1/spareduck
d56c5174c6e8e21b8845af100e7147e272a88b2a
[ "MIT" ]
null
null
null
#include "move.hpp" #include "piece.hpp" #include <optional> Move::Move(uint16_t from, uint16_t to, MoveType type) { move_repr = (from << 10) | (to << 4) | static_cast<uint16_t>(type); this->t = type; captured = std::nullopt; } // New move from algebraic notation. Move::Move(std::string from, std::string ...
27.316832
113
0.617253
hang-sun1
c6bdf5d5e926d440fe637a9d40543f8e06b74ba3
316
cc
C++
math/float.cc
cbiffle/etl
2d00ac79ec13632e6c10df11f4623938cfdc2dd4
[ "BSD-2-Clause" ]
57
2015-06-10T12:06:54.000Z
2021-07-02T18:54:01.000Z
math/float.cc
cbiffle/etl
2d00ac79ec13632e6c10df11f4623938cfdc2dd4
[ "BSD-2-Clause" ]
3
2016-04-26T18:18:56.000Z
2021-01-25T04:11:58.000Z
math/float.cc
cbiffle/etl
2d00ac79ec13632e6c10df11f4623938cfdc2dd4
[ "BSD-2-Clause" ]
14
2015-07-31T12:34:03.000Z
2022-03-22T17:02:24.000Z
#include "etl/math/float.h" #include "etl/prediction.h" #include "etl/math/inline_fsplit.h" namespace etl { namespace math { SplitFloat fsplit(float value) { /* * Just instantiate the inline definition as a non-inlined function. */ return fsplit_inl(value); } } // namespace math } // namespace etl
16.631579
70
0.699367
cbiffle
c6c029596c3c4f0e210f56f60c0bbd58859ab3bf
1,615
cpp
C++
_investigacion/contests/UTP-Regional/DNA_School.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
1
2016-02-11T21:28:22.000Z
2016-02-11T21:28:22.000Z
_investigacion/contests/UTP-Regional/DNA_School.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
_investigacion/contests/UTP-Regional/DNA_School.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); string s, t; while (cin >> s >> t) { int n = s.size(); int m = t.size(); int best = 0; string ans = "No matches"; for (int space = 0; space < n; space++) { int curr = 0; ...
19.457831
49
0.427864
civilian
c6c2ab7497289fe7aa4f864189e0d82de8f62fc0
2,856
cpp
C++
hd2605/Driver.cpp
flowerinthenight/tidrv2605-haptic-driver-umdf
51ee51aae1536079e22b20b84e9a3daad38df016
[ "MIT" ]
null
null
null
hd2605/Driver.cpp
flowerinthenight/tidrv2605-haptic-driver-umdf
51ee51aae1536079e22b20b84e9a3daad38df016
[ "MIT" ]
null
null
null
hd2605/Driver.cpp
flowerinthenight/tidrv2605-haptic-driver-umdf
51ee51aae1536079e22b20b84e9a3daad38df016
[ "MIT" ]
null
null
null
#include "Internal.h" // #include "SpbAccelerometer.h" // IDL Generated File #include "LenHapticDriverDrv2605.h" // IDL Generated File #include "Device.h" #include "__dump.h" #include "Driver.h" #include "Driver.tmh" ///////////////////////////////////////////////////////////////////////// // // CMyDriver...
28.56
97
0.496849
flowerinthenight
c6c5d3e0c26b326a4521eb3e434f5550a1526f0e
1,502
cpp
C++
source/idf/SingleInput.cpp
greck2908/IDF
0882cc35d88b96b0aea55e112060779654f040a6
[ "NASA-1.3" ]
84
2016-06-15T21:26:02.000Z
2022-03-12T15:09:57.000Z
source/idf/SingleInput.cpp
greck2908/IDF
0882cc35d88b96b0aea55e112060779654f040a6
[ "NASA-1.3" ]
44
2016-10-19T17:35:01.000Z
2022-03-11T17:20:51.000Z
source/idf/SingleInput.cpp
greck2908/IDF
0882cc35d88b96b0aea55e112060779654f040a6
[ "NASA-1.3" ]
46
2016-06-25T00:18:52.000Z
2019-12-19T11:13:15.000Z
#include "idf/SingleInput.hh" #include <stdexcept> #include <sstream> namespace idf { SingleInput::SingleInput(double min, double max) { configure(min, max); } SingleInput::SingleInput(double min, double max, double middle) { configure(min, max, middle); } void SingleInput::configure(double min, double max...
23.107692
98
0.620506
greck2908
c6c67d3323f57998d6a6d0ea87b9d9d8e3568e6b
3,679
cpp
C++
src/Engine/App/Component.cpp
NeroBurner/osre
20d3510222cebcfc5241fda3936eabef01cc969b
[ "MIT" ]
null
null
null
src/Engine/App/Component.cpp
NeroBurner/osre
20d3510222cebcfc5241fda3936eabef01cc969b
[ "MIT" ]
null
null
null
src/Engine/App/Component.cpp
NeroBurner/osre
20d3510222cebcfc5241fda3936eabef01cc969b
[ "MIT" ]
null
null
null
/*----------------------------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2015-2019 OSRE ( Open Source Render Engine ) by Kim Kulling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f...
25.027211
97
0.66866
NeroBurner
c6c6f33acb1fc50ae971467181fab017ae005126
593
cc
C++
src/extensions/compact/compact16_unweighted_acceptor-fst.cc
unixnme/openfst
159ee426d79485f6769a122a264e94f73da88642
[ "Apache-2.0" ]
1
2020-05-11T00:44:54.000Z
2020-05-11T00:44:54.000Z
src/extensions/compact/compact16_unweighted_acceptor-fst.cc
unixnme/openfst
159ee426d79485f6769a122a264e94f73da88642
[ "Apache-2.0" ]
null
null
null
src/extensions/compact/compact16_unweighted_acceptor-fst.cc
unixnme/openfst
159ee426d79485f6769a122a264e94f73da88642
[ "Apache-2.0" ]
null
null
null
// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. #include <fst/compact-fst.h> #include <fst/fst.h> namespace fst { static FstRegisterer< CompactUnweightedAcceptorFst<StdArc, uint16>> CompactUnweightedAcceptorFst_StdArc_uint16_registerer; static FstRegis...
26.954545
67
0.812816
unixnme
c6c6f6da4b1fd326fa5d7a0196f2e98745e9aa28
17,225
cpp
C++
Source/DlgSystemEditor/Private/Commandlets/DlgExportTwineCommandlet.cpp
derossm/DlgSystem
69d4539067fa4c5c8cc26cdb7cc019cf0576cd5a
[ "MIT" ]
97
2020-03-09T11:37:10.000Z
2022-03-31T23:45:00.000Z
Source/DlgSystemEditor/Private/Commandlets/DlgExportTwineCommandlet.cpp
derossm/DlgSystem
69d4539067fa4c5c8cc26cdb7cc019cf0576cd5a
[ "MIT" ]
1
2020-03-06T07:35:35.000Z
2020-03-07T15:31:13.000Z
Source/DlgSystemEditor/Private/Commandlets/DlgExportTwineCommandlet.cpp
derossm/DlgSystem
69d4539067fa4c5c8cc26cdb7cc019cf0576cd5a
[ "MIT" ]
16
2021-03-20T17:29:13.000Z
2022-03-30T08:28:42.000Z
// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved. #include "DlgExportTwineCommandlet.h" #include "Misc/Paths.h" #include "Misc/FileHelper.h" #if ENGINE_MAJOR_VERSION >= 5 #include "HAL/PlatformFileManager.h" #else #include "HAL/PlatformFilemanager.h" #endif #include "GenericPlatform/GenericPlatf...
35.36961
184
0.743745
derossm
c6ca0d727904f77b73da4471badfb5bdca03db13
2,235
cpp
C++
Plataformer_2D/Motor2D/UI_button.cpp
marcpt98/Plataformer-2D
edeb43bc3c886293bcc6bdece9e831d5e5eecdf0
[ "Unlicense" ]
1
2020-02-24T11:14:38.000Z
2020-02-24T11:14:38.000Z
Plataformer_2D/Motor2D/UI_button.cpp
marcpt98/Plataformer-2D
edeb43bc3c886293bcc6bdece9e831d5e5eecdf0
[ "Unlicense" ]
null
null
null
Plataformer_2D/Motor2D/UI_button.cpp
marcpt98/Plataformer-2D
edeb43bc3c886293bcc6bdece9e831d5e5eecdf0
[ "Unlicense" ]
null
null
null
#include "UI_Button.h" #include "j1App.h" #include "j1Render.h" #include "UI_Button.h" #include "j1App.h" #include "j1Scene_UI.h" #include "j1Render.h" #include "j1Input.h" #include "p2Log.h" #include "j1Audio.h" void UI_button::BlitElement() { BROFILER_CATEGORY("Blitbutton", Profiler::Color::OldLace) iPoint global...
27.592593
107
0.672036
marcpt98
c6caae90dcdd350a46bab6e49dcd4efccbbd6b18
1,457
cc
C++
code/qttoolkit/contentbrowser/code/widgets/models/physicsnodehandler.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/qttoolkit/contentbrowser/code/widgets/models/physicsnodehandler.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/qttoolkit/contentbrowser/code/widgets/models/physicsnodehandler.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // physicsnodehandler.cc // (C) 2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "physicsnodehandler.h" namespace Widgets { __Imp...
22.765625
80
0.423473
gscept
c6cda49d327bf72afc71dab3d78fba575e97af35
229
inl
C++
include/beluga/tcp/tcp_server.inl
Stazer/beluga
38232796669524c4f6b08f281e5a367390de24d0
[ "MIT" ]
1
2021-04-16T08:37:37.000Z
2021-04-16T08:37:37.000Z
include/beluga/tcp/tcp_server.inl
Stazer/beluga
38232796669524c4f6b08f281e5a367390de24d0
[ "MIT" ]
null
null
null
include/beluga/tcp/tcp_server.inl
Stazer/beluga
38232796669524c4f6b08f281e5a367390de24d0
[ "MIT" ]
null
null
null
template <typename... args> std::shared_ptr<beluga::tcp_server> beluga::tcp_server::create(args&&... params) { // TODO std::make_shared return std::shared_ptr<tcp_server>(new tcp_server(std::forward<args>(params)...)); }
32.714286
86
0.703057
Stazer
c6d03f1cbec76c59ab232b04369b88501a5eaad8
4,712
cpp
C++
unicorn-bios/UB/FAT/DAP.cpp
macmade/unicorn-bios
97a53ff5c8c418e79f0f5798da3d365b2ceaa7f2
[ "MIT" ]
96
2019-07-23T20:32:38.000Z
2022-02-13T23:55:27.000Z
unicorn-bios/UB/FAT/DAP.cpp
macmade/unicorn-bios
97a53ff5c8c418e79f0f5798da3d365b2ceaa7f2
[ "MIT" ]
null
null
null
unicorn-bios/UB/FAT/DAP.cpp
macmade/unicorn-bios
97a53ff5c8c418e79f0f5798da3d365b2ceaa7f2
[ "MIT" ]
20
2019-07-30T03:46:45.000Z
2022-02-03T12:03:26.000Z
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2019 Jean-David Gadina - www.xs-labs.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
31.837838
80
0.500212
macmade
c6d16090d4b50170b20214d663036fdd6c2a0041
14,482
hh
C++
dune/hdd/linearelliptic/discreteproblem.hh
tobiasleibner/dune-hdd
35a122c1c6fd019aebbdbb8ee1eb8a36ae2f2b26
[ "BSD-2-Clause" ]
null
null
null
dune/hdd/linearelliptic/discreteproblem.hh
tobiasleibner/dune-hdd
35a122c1c6fd019aebbdbb8ee1eb8a36ae2f2b26
[ "BSD-2-Clause" ]
null
null
null
dune/hdd/linearelliptic/discreteproblem.hh
tobiasleibner/dune-hdd
35a122c1c6fd019aebbdbb8ee1eb8a36ae2f2b26
[ "BSD-2-Clause" ]
null
null
null
// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_HDD_LINEARELLIPTIC_DISCRETEPROBLEM_HH #define DUNE_HDD_LINEARELLIPTIC_DISCRETEPROBLEM_HH ...
35.408313
128
0.66593
tobiasleibner
c6d4482769886d70fab3078b6cab93305126ed75
2,721
hpp
C++
Axis.Capsicum/services/memory/gpu/BcBlockLayout.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Capsicum/services/memory/gpu/BcBlockLayout.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Capsicum/services/memory/gpu/BcBlockLayout.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "services/memory/MemoryLayout.hpp" namespace axis { namespace services { namespace memory { namespace gpu { /** * Describes memory layout of a boundary condition descriptor block. */ class BcBlockLayout : public axis::services::memory::MemoryLayout { public: /** * Constructor. * * ...
29.901099
80
0.670342
renato-yuzup
c6d6869a2c901168d82504b9f3d7aa7a31c4f8dc
453
cpp
C++
18_minimum_path_sum.cpp
Mohit-Nathrani/30-day-leetcoding-challenge
7eff9bb3faee8b7a720b6a712226319b9a56d588
[ "MIT" ]
null
null
null
18_minimum_path_sum.cpp
Mohit-Nathrani/30-day-leetcoding-challenge
7eff9bb3faee8b7a720b6a712226319b9a56d588
[ "MIT" ]
null
null
null
18_minimum_path_sum.cpp
Mohit-Nathrani/30-day-leetcoding-challenge
7eff9bb3faee8b7a720b6a712226319b9a56d588
[ "MIT" ]
null
null
null
class Solution { public: int minPathSum(vector<vector<int>>& grid) { int n=grid.size(); int m=grid[0].size(); for(int i=n-1;i>=0;i--){ for(int j=m-1;j>=0;j--){ if(j<m-1 && i<n-1) grid[i][j]+=min(grid[i][j+1], grid[i+1][j]); else if(j<m-1) grid[i][j...
30.2
79
0.412804
Mohit-Nathrani
c6d7410ecf178a28f536f0694339d7380d7e4c84
1,561
cpp
C++
C++/prison-cells-after-n-days.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/prison-cells-after-n-days.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/prison-cells-after-n-days.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(1) // Space: O(1) class Solution { public: vector<int> prisonAfterNDays(vector<int>& cells, int N) { for (N = (N - 1) % 14 + 1; N > 0; --N) { vector<int> cells2(8); for (int i = 1; i < 7; ++i) { cells2[i] = static_cast<int>(cells[i - 1] == cells[i + 1]); ...
26.457627
80
0.424728
jaiskid
c6d82bcc9c0861f6854916b85589305a014d48e5
199
cpp
C++
NetServer/MessageParser.cpp
CRAFTSTARCN/PlayBall-Server
c50974a2e688ad0834e5381a6a202d7e2b896799
[ "Apache-2.0" ]
1
2021-06-14T16:14:43.000Z
2021-06-14T16:14:43.000Z
NetServer/MessageParser.cpp
CRAFTSTARCN/PlayBall-Server
c50974a2e688ad0834e5381a6a202d7e2b896799
[ "Apache-2.0" ]
null
null
null
NetServer/MessageParser.cpp
CRAFTSTARCN/PlayBall-Server
c50974a2e688ad0834e5381a6a202d7e2b896799
[ "Apache-2.0" ]
null
null
null
/* MessageParser.cpp Created 2021/6/14 By: Ag2S */ #include "MessageParser.h" DataObject* MessageParser::generalStrParser(const std::string str, int& st) { //TODO return nullptr; }
16.583333
77
0.678392
CRAFTSTARCN
c6d947fe9fe3a2c82918b29766a7d62042f8bf2e
259
cpp
C++
tests/test.cpp
CrestoniX/Lab3.0
7c01142ca420628cd97d5e053d17b79870214de0
[ "MIT" ]
null
null
null
tests/test.cpp
CrestoniX/Lab3.0
7c01142ca420628cd97d5e053d17b79870214de0
[ "MIT" ]
null
null
null
tests/test.cpp
CrestoniX/Lab3.0
7c01142ca420628cd97d5e053d17b79870214de0
[ "MIT" ]
1
2019-12-27T11:28:32.000Z
2019-12-27T11:28:32.000Z
// Copyright 2019 CrestoniX <loltm.crav4enko@gmail.com> #include <gtest/gtest.h> #include <SharedPtr.hpp> TEST(Control_Block, Test) { EXPECT_EQ(counter, 0); } TEST(SharedPtr, Tests) { EXPECT_EQ(ptr, nullptr); EXPECT_EQ(control_block, nullptr); }
21.583333
55
0.714286
CrestoniX
c6dfbbc588926fc16cfdd360435abba247d4b596
813
cpp
C++
WrecklessEngine/PixelShader.cpp
ThreadedStream/WrecklessEngine
735ac601914c2445b8eef72a14ec0fcd4d0d12d2
[ "MIT" ]
9
2021-02-07T21:33:41.000Z
2022-03-20T18:48:06.000Z
WrecklessEngine/PixelShader.cpp
ThreadedStream/WrecklessEngine
735ac601914c2445b8eef72a14ec0fcd4d0d12d2
[ "MIT" ]
null
null
null
WrecklessEngine/PixelShader.cpp
ThreadedStream/WrecklessEngine
735ac601914c2445b8eef72a14ec0fcd4d0d12d2
[ "MIT" ]
4
2021-02-11T15:05:35.000Z
2022-02-20T15:26:35.000Z
#include "PixelShader.h" #include "BindableCodex.h" #include "Renderer.h" using namespace Graphics; namespace Bindable { PixelShader::PixelShader(const std::string& path) { m_pShader = Renderer::GetDevice()->CreatePixelShader(path); } void* PixelShader::GetByteCode() const noexcept { return m_pShader->GetBy...
20.846154
63
0.722017
ThreadedStream
c6e00c8d0d85c4247d5a39e261881883adf09d11
769
cpp
C++
examples/example.cpp
PDB-REDO/libcifpp
f97e742daa7c1cfd0670ad00d3aef004708a3461
[ "BSD-2-Clause" ]
7
2021-01-12T07:00:04.000Z
2022-03-11T08:44:14.000Z
examples/example.cpp
PDB-REDO/libcifpp
f97e742daa7c1cfd0670ad00d3aef004708a3461
[ "BSD-2-Clause" ]
12
2021-03-11T17:53:45.000Z
2022-02-09T15:06:04.000Z
examples/example.cpp
PDB-REDO/libcifpp
f97e742daa7c1cfd0670ad00d3aef004708a3461
[ "BSD-2-Clause" ]
7
2021-02-08T00:45:31.000Z
2021-12-06T22:37:22.000Z
#include <iostream> #include <filesystem> #include <cif++/Cif++.hpp> namespace fs = std::filesystem; int main() { fs::path in("1cbs.cif.gz"); cif::File file; file.loadDictionary("mmcif_pdbx_v50"); file.load("1cbs.cif.gz"); auto& db = file.firstDatablock()["atom_site"]; auto n = db.find(cif::Key("label_atom...
24.03125
122
0.590377
PDB-REDO
c6e38afb28a00f2a9a672c2613737b8e572c26fb
238
cpp
C++
layout/buttons/main.cpp
janbodnar/Qt5-Code-Examples
404a3789d6d815c6aac4a87a5b91ef3604246c06
[ "BSD-2-Clause" ]
5
2020-11-30T13:19:47.000Z
2021-06-16T13:44:06.000Z
layout/buttons/main.cpp
janbodnar/Qt5-Code-Examples
404a3789d6d815c6aac4a87a5b91ef3604246c06
[ "BSD-2-Clause" ]
null
null
null
layout/buttons/main.cpp
janbodnar/Qt5-Code-Examples
404a3789d6d815c6aac4a87a5b91ef3604246c06
[ "BSD-2-Clause" ]
3
2020-11-30T13:20:33.000Z
2021-01-14T17:57:55.000Z
#include <QApplication> #include "buttons.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Buttons window; window.resize(290, 170); window.setWindowTitle("Buttons"); window.show(); return app.exec(); }
14.875
35
0.672269
janbodnar
c6e482539f28ec4dcc06e8671a02a7f88205cdf1
3,510
cpp
C++
webkit/WebCore/bindings/js/JSEventSourceConstructor.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/bindings/js/JSEventSourceConstructor.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/bindings/js/JSEventSourceConstructor.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2009 Ericsson AB * 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 condi...
38.152174
116
0.758405
s1rcheese
c6e7580b8051d09b7d05da670517da8de65da8fc
702
cpp
C++
lldb/test/API/lang/cpp/namespace/ns3.cpp
AnthonyLatsis/llvm-project
2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74
[ "Apache-2.0" ]
21
2021-02-08T15:42:18.000Z
2022-02-23T03:25:10.000Z
lldb/test/API/lang/cpp/namespace/ns3.cpp
AnthonyLatsis/llvm-project
2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74
[ "Apache-2.0" ]
3
2021-02-20T14:24:45.000Z
2021-08-04T04:20:05.000Z
lldb/test/API/lang/cpp/namespace/ns3.cpp
AnthonyLatsis/llvm-project
2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74
[ "Apache-2.0" ]
6
2021-02-08T16:57:07.000Z
2022-01-13T11:32:34.000Z
#include "ns.h" extern int func(); // Note: the following function must be before the using. void test_lookup_before_using_directive() { // BP_before_using_directive std::printf("before using directive: func() = %d\n", func()); // eval func(), exp: 1 } using namespace A; void test_lookup_after_using_directive() { ...
36.947368
94
0.645299
AnthonyLatsis
c6e85502a7c6d5db7ff0ef92ee83967fbc545f78
6,300
cpp
C++
src/record/SkRecordDraw.cpp
llluiop/skia
0dd01ee5b5abc06935dced8430d5290c6ac3f958
[ "BSD-3-Clause" ]
1
2015-11-06T00:05:58.000Z
2015-11-06T00:05:58.000Z
src/record/SkRecordDraw.cpp
llluiop/skia
0dd01ee5b5abc06935dced8430d5290c6ac3f958
[ "BSD-3-Clause" ]
null
null
null
src/record/SkRecordDraw.cpp
llluiop/skia
0dd01ee5b5abc06935dced8430d5290c6ac3f958
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkRecordDraw.h" namespace { // This is an SkRecord visitor that will draw that SkRecord to an SkCanvas. class Draw : SkNoncopyable { public: explicit Draw(SkCa...
36.416185
99
0.688095
llluiop