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
bf8716a5087dc89d0c954d4bb6a14a8d88330e76
1,097
cpp
C++
hikyuu_cpp/hikyuu/realtime/receive.cpp
scanfyu/hikyuu
55265de4d8d4773391f2dcd1211acec9fe901f53
[ "MIT" ]
null
null
null
hikyuu_cpp/hikyuu/realtime/receive.cpp
scanfyu/hikyuu
55265de4d8d4773391f2dcd1211acec9fe901f53
[ "MIT" ]
null
null
null
hikyuu_cpp/hikyuu/realtime/receive.cpp
scanfyu/hikyuu
55265de4d8d4773391f2dcd1211acec9fe901f53
[ "MIT" ]
null
null
null
/* * Copyright(C) 2020 hikyuu.org * * Create on: 2020-12-16 * Author: fasiondog */ #include <nng/nng.h> #include <nng/protocol/pubsub0/sub.h> #include "../flatbuffers/spot_generated.h" #include "receive.h" namespace hku { void receive_data() {} void HKU_API start_receive() { string url{"ipc:///tmp/hi...
28.128205
97
0.584321
scanfyu
bf8d72ff9d55999e90a336cc096140cd230f9887
8,436
cpp
C++
logic/ShenGuan.cpp
chntujia/CodfiyAsteriatedGrailClient
5e148f2f31783fcf4ecb6b46d94245a8d2f9a8f6
[ "MIT" ]
23
2016-01-14T01:44:18.000Z
2021-11-07T05:36:21.000Z
logic/ShenGuan.cpp
chntujia/CodfiyAsteriatedGrailClient
5e148f2f31783fcf4ecb6b46d94245a8d2f9a8f6
[ "MIT" ]
null
null
null
logic/ShenGuan.cpp
chntujia/CodfiyAsteriatedGrailClient
5e148f2f31783fcf4ecb6b46d94245a8d2f9a8f6
[ "MIT" ]
8
2016-01-11T06:28:06.000Z
2020-05-17T11:03:53.000Z
#include "ShenGuan.h" enum CAUSE{ SHEN_SHENG_QI_SHI = 1501, SHEN_SHENG_QI_FU = 1502, SHUI_ZHI_SHEN_LI = 1503, SHENG_SHI_SHOU_HU = 1504, SHEN_SHENG_QI_YUE = 1505, SHEN_SHENG_LING_YU = 1506, SHUI_ZHI_SHEN_LI_GIVE = 1531, SHUI_ZHI_SHEN_LI_CROSS = 1532, SHEN_SHENG_QI_YUE_1 = 1...
26.3625
113
0.61119
chntujia
bf8ef47648deb21ca90f6d4ad65b623d1f7c002e
8,952
cpp
C++
src/fsnorm.cpp
melmi/aban2
b17e318a82ef9003893ac818465807aecd8757fc
[ "MIT" ]
1
2017-10-15T07:20:16.000Z
2017-10-15T07:20:16.000Z
src/fsnorm.cpp
melmi/aban2
b17e318a82ef9003893ac818465807aecd8757fc
[ "MIT" ]
null
null
null
src/fsnorm.cpp
melmi/aban2
b17e318a82ef9003893ac818465807aecd8757fc
[ "MIT" ]
null
null
null
#include "vof.h" #include <cmath> #include <memory> #include "gradient.h" #include "volreconst.h" namespace aban2 { fsnorm::fsnorm(aban2::domain_t *_d): d(_d) { } fsnorm::~fsnorm() { } fsnorm::neighbs_t fsnorm::get_nighb_vals(size_t i, size_t j, size_t k) { neighbs_t result; size_t no; for (int ii = 0...
31.191638
120
0.457887
melmi
bf906dbb10eab49b7ab0ae63c332a1601f86f4f6
2,192
cpp
C++
breadth-first-search/542-01-matrix.cpp
gromitsun/algorithm
5aea12139c1b98221650063b91c0d38b965047e5
[ "MIT" ]
null
null
null
breadth-first-search/542-01-matrix.cpp
gromitsun/algorithm
5aea12139c1b98221650063b91c0d38b965047e5
[ "MIT" ]
null
null
null
breadth-first-search/542-01-matrix.cpp
gromitsun/algorithm
5aea12139c1b98221650063b91c0d38b965047e5
[ "MIT" ]
null
null
null
ass Solution { public: vector<vector<int>> updateMatrix(vector<vector<int>>& matrix) { if (matrix.empty()) return matrix; if (matrix[0].empty()) return matrix; // queue for BFS queue<int> rows; queue<int> cols; ...
23.826087
67
0.273723
gromitsun
bf91298e40c612d400b59a1ba3345244171e365e
1,293
hh
C++
code/language/family_prolog/language_prolog.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
code/language/family_prolog/language_prolog.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
code/language/family_prolog/language_prolog.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
// ***************************************************************************************** // // File description: // // Author: Joao Costa // Purpose: Provide the definitions/declarations for a programming language // // ***************************************************************************************** #ifnd...
23.944444
92
0.422274
jmpcosta
bf920eb264af20bd39516fb40da5ccaf9094ca7c
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:ccbb36f2c90e75f1642d971bedefd05aa14d5ad26bf65ff7021499ec23df1725 size 301
32
75
0.882813
initialz
bf94113e47a2461e70721233023c3fc1f496de7a
18,118
cpp
C++
unit_tests/src/test_re_serialization.cpp
aghsmith/irods
31d48a47a4942df688da94b30aa8a5b5210261bb
[ "BSD-3-Clause" ]
1
2022-03-08T13:00:56.000Z
2022-03-08T13:00:56.000Z
unit_tests/src/test_re_serialization.cpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
unit_tests/src/test_re_serialization.cpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
#include <catch2/catch.hpp> #include "irods_error_enum_matcher.hpp" #include "irods/irods_exception.hpp" #include "irods/irods_re_serialization.hpp" #include "irods/lifetime_manager.hpp" #include "irods/key_value_proxy.hpp" #include <map> #include <string> #include <string_view> namespace res = irods::re_serializati...
45.408521
98
0.538967
aghsmith
bf9750c0c8cbfd0d30800c2894844c5ebcaa1eca
6,723
cc
C++
src/ufo/rttovcpp/ObsRadianceRTTOVCPPTLAD.cc
NOAA-EMC/ufo
3bf1407731b79eab16ceff64129552577d9cfcd0
[ "Apache-2.0" ]
null
null
null
src/ufo/rttovcpp/ObsRadianceRTTOVCPPTLAD.cc
NOAA-EMC/ufo
3bf1407731b79eab16ceff64129552577d9cfcd0
[ "Apache-2.0" ]
10
2020-12-10T22:57:51.000Z
2020-12-17T15:57:04.000Z
src/ufo/rttovcpp/ObsRadianceRTTOVCPPTLAD.cc
NOAA-EMC/ufo
3bf1407731b79eab16ceff64129552577d9cfcd0
[ "Apache-2.0" ]
3
2020-12-10T18:38:22.000Z
2020-12-11T01:36:37.000Z
/* * (C) Copyright 2017-2021 UCAR * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #include <ostream> #include <string> #include <vector> #include "ioda/ObsSpace.h" #include "ioda/ObsVector.h" #include "oops...
34.30102
93
0.564926
NOAA-EMC
bf992618c15b414844100ec7522af7048ab0ce02
1,024
hpp
C++
include/boost/simd/function/definition/shuffle.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/definition/shuffle.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/definition/shuffle.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T.Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) *...
26.947368
100
0.624023
yaeldarmon
bcce7e14c2292faff64de0cbe006700351469bcc
2,101
cpp
C++
src/SynchronizationPoint.cpp
omi-lab/tp_task_queue
e7b4e61cc87ad2ff3954782fb96d5e988c9fbc3f
[ "MIT" ]
null
null
null
src/SynchronizationPoint.cpp
omi-lab/tp_task_queue
e7b4e61cc87ad2ff3954782fb96d5e988c9fbc3f
[ "MIT" ]
null
null
null
src/SynchronizationPoint.cpp
omi-lab/tp_task_queue
e7b4e61cc87ad2ff3954782fb96d5e988c9fbc3f
[ "MIT" ]
2
2018-08-30T10:00:25.000Z
2021-05-05T08:39:06.000Z
#include "tp_task_queue/SynchronizationPoint.h" #include "tp_task_queue/Task.h" #include "tp_utils/MutexUtils.h" namespace tp_task_queue { //################################################################################################## struct SynchronizationPoint::Private { TP_REF_COUNT_OBJECTS("tp_task_queue:...
27.285714
100
0.447882
omi-lab
bccfd61828612b69f482e7a3c46f2248bdab8811
713
hpp
C++
include/SFRL/Direction.hpp
marukrap/SFRL
a241e09dae33eb6099b1ccb1eb1c741e0af589f0
[ "MIT" ]
4
2018-06-19T08:43:04.000Z
2021-03-15T08:37:57.000Z
include/SFRL/Direction.hpp
marukrap/SFRL
a241e09dae33eb6099b1ccb1eb1c741e0af589f0
[ "MIT" ]
null
null
null
include/SFRL/Direction.hpp
marukrap/SFRL
a241e09dae33eb6099b1ccb1eb1c741e0af589f0
[ "MIT" ]
null
null
null
#pragma once #include <SFML/System/Vector2.hpp> #include <array> namespace rl { class Direction : public sf::Vector2i { public: using sf::Vector2i::Vector2; Direction operator-() const; Direction left45() const; Direction right45() const; Direction left90() const; Direction right90() const; public: stati...
17.825
48
0.743338
marukrap
bcd410c7242d42133211bac47bb3e7e5c9876b32
5,966
cxx
C++
SimVascular-master/Code/Source/sv2/Segmentation/sv2_LevelSetVelocityImage.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
SimVascular-master/Code/Source/sv2/Segmentation/sv2_LevelSetVelocityImage.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
SimVascular-master/Code/Source/sv2/Segmentation/sv2_LevelSetVelocityImage.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) Stanford University, The Regents of the University of * California, and others. * * All Rights Reserved. * * See Copyright-SimVascular.txt for additional details. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated doc...
22.261194
89
0.643144
mccsssk2
bcd570392a18bf0acdd15273f3a9f1d4aa4eec15
1,396
cpp
C++
CSES/Tree Algorithms/Tree Diameter.cpp
s166harth/CC
b6c0fe58f03633fe2787a567a16909f1b2966e7b
[ "MIT" ]
406
2020-05-28T13:35:08.000Z
2022-03-31T17:23:26.000Z
CSES/Tree Algorithms/Tree Diameter.cpp
shakeeb-droids/CC
2f49fcb52d748804aee9fc7f26abb3150bec69e5
[ "MIT" ]
3
2021-01-01T17:50:34.000Z
2021-10-02T10:02:27.000Z
CSES/Tree Algorithms/Tree Diameter.cpp
shakeeb-droids/CC
2f49fcb52d748804aee9fc7f26abb3150bec69e5
[ "MIT" ]
108
2020-07-21T13:02:33.000Z
2022-03-28T22:46:49.000Z
/** 🍪 thew6rst 🍪 11.02.2021 20:15:33 **/ #ifdef W #include "k_II.h" #else #include <bits/stdc++.h> using namespace std; #endif #define pb emplace_back #define all(x) x.begin(), x.end() #define sz(x) static_cast<int32_t>(x.size()) template<class T> class Y { T f; public: templat...
25.851852
72
0.465616
s166harth
bcde1e1fe21ce2194c1eaef09273b97749633db7
64
cpp
C++
test/wiztk/base/sigcxx/subject.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
37
2017-11-22T14:15:33.000Z
2021-11-25T20:39:39.000Z
test/unit/core-sigcxx/subject.cpp
zhanggyb/skland
055d91a6830b95d248d407c37a8a2fa20b148efd
[ "Apache-2.0" ]
3
2018-03-01T12:44:22.000Z
2021-01-04T23:14:41.000Z
test/wiztk/base/sigcxx/subject.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
10
2017-11-25T19:09:11.000Z
2020-12-02T02:05:47.000Z
// // Created by zhanggyb on 17-9-7. // #include "subject.hpp"
10.666667
33
0.625
wiztk
bcdf098c2e1237d63a0036cb40009668e10ec93f
3,616
cpp
C++
src/ndnSIM/model/cs/content-store-with-stats.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
1
2021-09-07T04:12:15.000Z
2021-09-07T04:12:15.000Z
src/ndnSIM/model/cs/content-store-with-stats.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
null
null
null
src/ndnSIM/model/cs/content-store-with-stats.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
1
2020-07-15T06:21:03.000Z
2020-07-15T06:21:03.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** * Copyright (c) 2011-2015 Regents of the University of California. * * This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and * contributors. * * ndnSIM is free software: you can redistribute it and/or modify it under...
36.16
100
0.655697
NDNLink
bce860a715f430c2d98ccef0ee18be5e34d29288
958
cpp
C++
EasyCppTest/OTP.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
3
2018-02-06T05:12:41.000Z
2020-05-12T20:57:32.000Z
EasyCppTest/OTP.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
41
2016-07-11T12:19:10.000Z
2017-08-08T07:43:12.000Z
EasyCppTest/OTP.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
2
2019-08-02T10:24:36.000Z
2020-09-11T01:45:12.000Z
#include <gtest/gtest.h> #include <Hash/HOTP.h> #include <Hash/TOTP.h> #include <HexEncoding.h> using namespace EasyCpp; using namespace EasyCpp::Hash; namespace EasyCppTest { TEST(OTP, HOTP) { std::string secret = "3132333435363738393031323334353637383930"; auto hotp = HOTP(HexEncoding::decode(secret)); std...
25.210526
66
0.692067
Thalhammer
bce8b12b2f99b609f0bbb11fe76914c570a3201b
9,707
cpp
C++
multiview/contrib/fast-bilateral-space_stereo-master/src/bilateral_grid_simplified.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
5
2021-09-03T23:12:08.000Z
2022-03-04T21:43:32.000Z
multiview/contrib/fast-bilateral-space_stereo-master/src/bilateral_grid_simplified.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
3
2021-09-08T02:57:46.000Z
2022-02-26T05:33:02.000Z
multiview/contrib/fast-bilateral-space_stereo-master/src/bilateral_grid_simplified.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
2
2021-09-26T03:14:40.000Z
2022-01-26T06:42:52.000Z
/* Copyright 2017 Toon Van den Zegel. All Rights Reserved. */ /* */ /* This file is part of fast_bilateral_space_stereo. */ /* ...
38.519841
171
0.657361
prcvlabs
bcedc443bbec46ce3220483cef3732cf95b74e68
1,533
hpp
C++
include/codegen/include/OVR/OpenVR/VRTextureDepthInfo_t.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/OVR/OpenVR/VRTextureDepthInfo_t.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/OVR/OpenVR/VRTextureDepthInfo_t.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:10:05 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: System.IntPtr #inclu...
39.307692
204
0.70972
Futuremappermydud
bcef795865b64ed8f4a5e4332ed5a48021129fd7
2,016
cpp
C++
src/entities/bretoniafighter.cpp
P-Sc/Pirateers
440e477d33bbbcd79d291700c369f74fd0a6cc7d
[ "MIT" ]
null
null
null
src/entities/bretoniafighter.cpp
P-Sc/Pirateers
440e477d33bbbcd79d291700c369f74fd0a6cc7d
[ "MIT" ]
null
null
null
src/entities/bretoniafighter.cpp
P-Sc/Pirateers
440e477d33bbbcd79d291700c369f74fd0a6cc7d
[ "MIT" ]
null
null
null
#include "bretoniafighter.h" #include "ship/shipsystem.h" #include "gamelogic/aisystem.h" BretoniaFighter::BretoniaFighter(ShipSystem& shipSystem, AISystem& aiSystem, ShipSettings shipSettings, float multiplier) : EnemyShip(shipSystem, aiSystem) { EnergySettings energySettings; ...
43.826087
103
0.713294
P-Sc
bcf3136b0161d63fcd188ddbac92dcb85a6f7e33
520
cpp
C++
tree/src/diameter.cpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
7
2019-04-30T14:25:40.000Z
2020-12-19T17:38:11.000Z
tree/src/diameter.cpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
46
2018-09-19T16:42:09.000Z
2020-05-07T09:05:08.000Z
tree/src/diameter.cpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
null
null
null
/* * Library for Diameter */ #include <iostream> #include <cassert> #include "../diameter.hpp" using namespace std; int main(int argc, char const* argv[]) { cout << "-- test for diameter start --" << endl; Tree<int> t(6); t.adde(0, 1, 1); t.adde(0, 4, 1); t.adde(1, 2, 1); t.adde(1, 3, 1); t.adde(4, 5, ...
19.259259
57
0.542308
fumiphys
bcf621d0d6f4d422359da11384b422b14a90c990
135,341
cpp
C++
retired/scalycpp/Parser.cpp
rschleitzer/scaly
7537cdf44f7a63ad1a560975017ee1c897c73787
[ "MIT" ]
4
2019-09-08T15:20:11.000Z
2021-06-07T11:27:36.000Z
retired/scalycpp/Parser.cpp
rschleitzer/scaly
7537cdf44f7a63ad1a560975017ee1c897c73787
[ "MIT" ]
null
null
null
retired/scalycpp/Parser.cpp
rschleitzer/scaly
7537cdf44f7a63ad1a560975017ee1c897c73787
[ "MIT" ]
1
2017-07-20T21:12:33.000Z
2017-07-20T21:12:33.000Z
#include "scalycpp.h" using namespace scaly; namespace scalycpp { Parser::Parser(string* theFileName, string* text) { lexer = new(_getPage()->allocateExclusivePage()) Lexer(text); fileName = theFileName; classKeyword = new(_getPage()) string("class"); functionKeyword = new(_getPage()) string("function"...
32.003074
165
0.671171
rschleitzer
bcf693b12b384c6c0d63a3b581b0840c2c6f7db5
854
cpp
C++
problems/189.Rotate_Array/AC_pointer_n_1space.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/189.Rotate_Array/AC_pointer_n_1space.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/189.Rotate_Array/AC_pointer_n_1space.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
/* * Author: illuz <iilluzen[at]gmail.com> * File: AC_pointer_n_1space.cpp * Create Date: 2015-04-01 11:14:48 * Descripton: O(1) space */ #include <bits/stdc++.h> using namespace std; const int N = 0; class Solution { private: void reverse_array(int nums[], int a, int b) { while (a < b) ...
19.409091
50
0.4637
subramp-prep
bcfb26f1b23ecdb6fb1d8ca72d4cf914751b0995
8,418
cpp
C++
code/wxWidgets/src/mac/classic/dirmac.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/wxWidgets/src/mac/classic/dirmac.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/wxWidgets/src/mac/classic/dirmac.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
///////////////////////////////////////////////////////////////////////////// // Name: msw/dir.cpp // Purpose: wxDir implementation for Mac // Author: Stefan Csomor // Modified by: // Created: 08.12.99 // RCS-ID: $Id: dirmac.cpp,v 1.4 2005/04/05 16:10:06 ABX Exp $ // Copyright: (c) 1999 Stefa...
26.06192
117
0.456284
Bloodknight
bcfc03d92db5f9264d543bfdd870552a562d320c
279
cpp
C++
OJ/judge.u-aizu.ac.jp/Introduction to Programming II/ITP2_5_A_SortingPairs.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
14
2018-06-21T14:41:26.000Z
2021-12-19T14:43:51.000Z
OJ/judge.u-aizu.ac.jp/Introduction to Programming II/ITP2_5_A_SortingPairs.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
null
null
null
OJ/judge.u-aizu.ac.jp/Introduction to Programming II/ITP2_5_A_SortingPairs.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
2
2020-04-20T11:16:53.000Z
2021-01-02T15:58:35.000Z
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<pair<int, int>> v(n); for (int i = 0; i < n; i++) cin >> v[i].first >> v[i].second; sort(v.begin(), v.end()); for (auto p : v) cout << p.first << " " << p.second << endl; return 0; }
25.363636
63
0.523297
webturing
bcfc661585e36f6c8151eb01e629a4dc593374e6
1,755
cpp
C++
src/main/algorithms/cpp/dynamic-programming/minimum_path_sum_64/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/dynamic-programming/minimum_path_sum_64/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/dynamic-programming/minimum_path_sum_64/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
#include "../../head.h" class Solution { public: int minPathSum(std::vector<std::vector<int>> const & grid) { int rowSize = grid.size(); if (0 == rowSize) { return 0; } int colSize = grid[0].size(); if (0 == colSize) { return 0; } std...
31.339286
84
0.393732
algorithmlover2016
bcfe1439f23512fc8d91bbe91c3438e7af167dfb
264
cpp
C++
Thermostaten/src/Thermostat.cpp
oerpli/ComputationalPhysics
5081c46c01d078fe7b86601919a3447294304d8d
[ "Apache-2.0" ]
null
null
null
Thermostaten/src/Thermostat.cpp
oerpli/ComputationalPhysics
5081c46c01d078fe7b86601919a3447294304d8d
[ "Apache-2.0" ]
null
null
null
Thermostaten/src/Thermostat.cpp
oerpli/ComputationalPhysics
5081c46c01d078fe7b86601919a3447294304d8d
[ "Apache-2.0" ]
null
null
null
#include "Thermostat.h" #include "Polymer.h" Thermostat::Thermostat(Polymer &poly, double delta_time) : m_poly(poly) { dtime(delta_time); } double Thermostat::dtime() const { return m_dtime; } void Thermostat::dtime(double new_dtime) { m_dtime = new_dtime; }
18.857143
73
0.734848
oerpli
4c01be17a7ee931aab224362627f5ded43f4288c
2,047
hpp
C++
include/HoudiniEngineUnity/HEU_TestHelpers_RequireClass_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_TestHelpers_RequireClass_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_TestHelpers_RequireClass_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: HoudiniEngineUnity.HEU_TestHelpers ...
53.868421
168
0.753786
RedBrumbler
4c05bd2e801efe4d94d466660e3639a588d0b640
528
cpp
C++
application/source/geometry_node.cpp
luigielbambino/CG_Lab_Titz120003Alvarez119446
e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc
[ "MIT" ]
null
null
null
application/source/geometry_node.cpp
luigielbambino/CG_Lab_Titz120003Alvarez119446
e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc
[ "MIT" ]
null
null
null
application/source/geometry_node.cpp
luigielbambino/CG_Lab_Titz120003Alvarez119446
e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc
[ "MIT" ]
null
null
null
// Geometry Node function definitions #include "node.hpp" #include "window_handler.hpp" #include "utils.hpp" #include <glbinding/gl/gl.h> // use gl definitions from glbinding using namespace gl; #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #include <iostream> //Geometry Node constructor GeometryNode::Geometry...
19.555556
50
0.761364
luigielbambino
4c07d9c899552b022ad3629f2b0f776769c1fa46
2,277
cpp
C++
test/error.cpp
madmongo1/url
e7c9b0c860abd5fba3b7a20c3b29552a326de7b5
[ "BSL-1.0" ]
null
null
null
test/error.cpp
madmongo1/url
e7c9b0c860abd5fba3b7a20c3b29552a326de7b5
[ "BSL-1.0" ]
null
null
null
test/error.cpp
madmongo1/url
e7c9b0c860abd5fba3b7a20c3b29552a326de7b5
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) // // 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) // // Official repository: https://github.com/CPPAlliance/url // // Test that header file is self-co...
30.36
79
0.639877
madmongo1
4c0a4a878fea72ad83ca002391f785bed505d4e9
6,635
cc
C++
src/student_dataSK.cc
rmolin88/corba
b23fe31e084b0946211ee8df6346f9042f4f5bac
[ "MIT" ]
null
null
null
src/student_dataSK.cc
rmolin88/corba
b23fe31e084b0946211ee8df6346f9042f4f5bac
[ "MIT" ]
null
null
null
src/student_dataSK.cc
rmolin88/corba
b23fe31e084b0946211ee8df6346f9042f4f5bac
[ "MIT" ]
1
2020-04-29T23:43:55.000Z
2020-04-29T23:43:55.000Z
// This file is generated by omniidl (C++ backend)- omniORB_4_2. Do not edit. #include "student_data.hh" #include <omniORB4/IOP_S.h> #include <omniORB4/IOP_C.h> #include <omniORB4/callDescriptor.h> #include <omniORB4/callHandle.h> #include <omniORB4/objTracker.h> OMNI_USING_NAMESPACE(omni) static const char* _0RL_l...
21.542208
116
0.728711
rmolin88
4c0a90c979631b093d1f0d7897b5cd069e096071
22,287
cpp
C++
archive/olddraw/PdfDraw/PdfDraw.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
archive/olddraw/PdfDraw/PdfDraw.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
archive/olddraw/PdfDraw/PdfDraw.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include "PdfDraw.h" NAMESPACE_UPP #define LDUMP(x) // DUMP(x) #define LLOG(x) // LOG(x) #define PDF_COMPRESS #define USE_TTF void PdfDraw::Init(int pagecx, int pagecy, int _margin) { Clear(); margin = _margin; pgsz.cx = pagecx; pgsz.cy = pagecy; pageMMs = iscale(pgsz, 254, 6000); inchPixels = Size(600, 600);...
25.885017
109
0.546642
dreamsxin
4c0ca970261e746930efb887b363d742f6ed5d0b
42
hpp
C++
src/boost_mpl_map_aux__at_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_map_aux__at_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_map_aux__at_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/map/aux_/at_impl.hpp>
21
41
0.761905
miathedev
4c0d35249900a138833faf652e5648fcf36d3b67
914
cpp
C++
runtime/layout-builtins.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
278
2021-08-31T00:46:51.000Z
2022-02-13T19:43:28.000Z
runtime/layout-builtins.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
9
2021-11-05T22:28:43.000Z
2021-11-23T08:39:04.000Z
runtime/layout-builtins.cpp
tekknolagi/skybison
bea8fc2af0a70e7203b4c19f36c14a745512a335
[ "CNRI-Python-GPL-Compatible" ]
12
2021-08-31T07:49:54.000Z
2021-10-08T01:09:01.000Z
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include "layout-builtins.h" #include "builtins.h" #include "type-builtins.h" namespace py { static const BuiltinAttribute kLayoutAttributes[] = { {ID(_layout__described_type), RawLayout::kDescribedTypeOffset}, {ID(_layout__in_obje...
35.153846
78
0.73523
creativemindplus
4c0f1384b6ce732404099c631cdd6015b8de3650
4,777
cpp
C++
src/stormcast/PrayersOfTheStormhosts.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/stormcast/PrayersOfTheStormhosts.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/stormcast/PrayersOfTheStormhosts.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <stormcast/PrayersOfTheStormhosts.h> #include "StormcastEternalsPrivate.h" namespace StormcastEtern...
31.846667
95
0.624241
rweyrauch
4c0f49126be8045054e8bbb5fbc2b341af61d729
13,082
cpp
C++
VST3 SDK/vstgui4/vstgui/lib/controls/csegmentbutton.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
2
2019-06-14T10:20:30.000Z
2020-02-19T17:53:42.000Z
VST3 SDK/vstgui4/vstgui/lib/controls/csegmentbutton.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
null
null
null
VST3 SDK/vstgui4/vstgui/lib/controls/csegmentbutton.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
1
2021-03-16T13:02:17.000Z
2021-03-16T13:02:17.000Z
//----------------------------------------------------------------------------- // VST Plug-Ins SDK // VSTGUI: Graphical User Interface Framework not only for VST plugins // // Version 4.3 // //----------------------------------------------------------------------------- // VSTGUI LICENSE // (c) 2015, Steinberg Media T...
29.397753
240
0.561764
jagilley
4c167a98f982f4c381e95bf4a1ecf121b323b20c
26,089
cpp
C++
build/source/rotatelogsw.cpp
g-stefan/vendor-httpd
14c434fc0932dd888a620442016c7a52cfe34e14
[ "MIT", "Apache-2.0", "Unlicense" ]
null
null
null
build/source/rotatelogsw.cpp
g-stefan/vendor-httpd
14c434fc0932dd888a620442016c7a52cfe34e14
[ "MIT", "Apache-2.0", "Unlicense" ]
null
null
null
build/source/rotatelogsw.cpp
g-stefan/vendor-httpd
14c434fc0932dd888a620442016c7a52cfe34e14
[ "MIT", "Apache-2.0", "Unlicense" ]
null
null
null
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not...
32.288366
114
0.584423
g-stefan
4c1714d40ec701830907793939149d0f492a9e12
6,015
cpp
C++
arm9/source/level.cpp
RocketRobz/Konotsu-Gunner-DS
7e8f3d6594c4a02ab431662008f10614a3b6987e
[ "MIT" ]
1
2020-02-26T14:39:43.000Z
2020-02-26T14:39:43.000Z
arm9/source/level.cpp
RocketRobz/Konotsu-Gunner-DS
7e8f3d6594c4a02ab431662008f10614a3b6987e
[ "MIT" ]
null
null
null
arm9/source/level.cpp
RocketRobz/Konotsu-Gunner-DS
7e8f3d6594c4a02ab431662008f10614a3b6987e
[ "MIT" ]
1
2020-03-04T18:44:02.000Z
2020-03-04T18:44:02.000Z
#include <nds.h> #include "gl2d.h" #include "graphics/fontHandler.h" #include "graphics/graphics.h" #include "tonccpy.h" #include "sound.h" #include "player.h" #include "bottomImage.h" #include "spr_aimbutton.h" #include "tiles.h" #include "tilenum.h" #define bgTile 11 #define grayBlockTile 17 extern bool wideScre...
18.974763
131
0.599501
RocketRobz
4c17c434f60635a03bdd688a2d0ea179d13ab46e
4,824
cc
C++
google/cloud/pubsublite/internal/default_routing_policy_test.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
80
2017-11-24T00:19:45.000Z
2019-01-25T10:24:33.000Z
google/cloud/pubsublite/internal/default_routing_policy_test.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
1,579
2017-11-24T01:01:21.000Z
2019-01-28T23:41:21.000Z
google/cloud/pubsublite/internal/default_routing_policy_test.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
51
2017-11-24T00:56:11.000Z
2019-01-18T20:35:02.000Z
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
37.107692
77
0.597015
GoogleCloudPlatform
4c18f3b90f58b5b8a27f20b89750db369bce7152
851
cpp
C++
search/base/text_index/mem.cpp
AddisMap/omim
3e7e4ed7b24f12a7d6cabf4d83b968523f150f1b
[ "Apache-2.0" ]
null
null
null
search/base/text_index/mem.cpp
AddisMap/omim
3e7e4ed7b24f12a7d6cabf4d83b968523f150f1b
[ "Apache-2.0" ]
null
null
null
search/base/text_index/mem.cpp
AddisMap/omim
3e7e4ed7b24f12a7d6cabf4d83b968523f150f1b
[ "Apache-2.0" ]
null
null
null
#include "search/base/text_index/mem.hpp" #include "base/stl_helpers.hpp" using namespace std; namespace search { namespace base { void MemTextIndex::AddPosting(Token const & token, Posting const & posting) { m_postingsByToken[token].emplace_back(posting); } void MemTextIndex::SortPostings() { for (auto & entry...
22.394737
75
0.720329
AddisMap
4c18fb902051a325612095e40494106613a076fa
32
cc
C++
src/mesytec-mvlc/mvlc_usb_interface.cc
ExternalRepositories/mesytec-mvlc
be62792fb951a7938a9121424a38bd020572b327
[ "BSL-1.0" ]
null
null
null
src/mesytec-mvlc/mvlc_usb_interface.cc
ExternalRepositories/mesytec-mvlc
be62792fb951a7938a9121424a38bd020572b327
[ "BSL-1.0" ]
3
2021-07-15T10:10:19.000Z
2021-08-05T13:47:36.000Z
src/mesytec-mvlc/mvlc_usb_interface.cc
ExternalRepositories/mesytec-mvlc
be62792fb951a7938a9121424a38bd020572b327
[ "BSL-1.0" ]
5
2020-09-22T10:21:25.000Z
2022-02-17T15:06:14.000Z
#include "mvlc_usb_interface.h"
16
31
0.8125
ExternalRepositories
4c1abc47ce27fd4ac8805bda0b50bfb8b2b3a6bc
665
cpp
C++
Miracle/src/Miracle/MiracleAppBuilder.cpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
null
null
null
Miracle/src/Miracle/MiracleAppBuilder.cpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
3
2021-12-10T23:19:29.000Z
2022-03-27T05:04:14.000Z
Miracle/src/Miracle/MiracleAppBuilder.cpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
null
null
null
#include <Miracle/components/Miracle/MiracleAppBuilder.hpp> namespace Miracle { MiracleAppBuilder& MiracleAppBuilder::configureWindow(std::function<void (View::WindowProps&)> configurer) { configurer(m_windowProps); return *this; } MiracleAppBuilder& MiracleAppBuilder::setStartScript(std::function<void ()> st...
22.166667
109
0.754887
McFlyboy
4c1d25a633f36fe9440429bf80fa36acfb840bca
1,039
cc
C++
src/mvp/Frontend/mvpdumpjob.cc
NeoGeographyToolkit/MultipleViewPipeline
c2ad4ebb7555a1157616389466c7075e0c61292a
[ "Apache-2.0" ]
10
2015-05-13T22:52:47.000Z
2022-03-10T12:09:44.000Z
src/mvp/Frontend/mvpdumpjob.cc
NeoGeographyToolkit/MultipleViewPipeline
c2ad4ebb7555a1157616389466c7075e0c61292a
[ "Apache-2.0" ]
null
null
null
src/mvp/Frontend/mvpdumpjob.cc
NeoGeographyToolkit/MultipleViewPipeline
c2ad4ebb7555a1157616389466c7075e0c61292a
[ "Apache-2.0" ]
15
2015-01-07T02:11:03.000Z
2021-11-12T18:35:20.000Z
#include <iostream> #include <mvp/Config.h> #if MVP_ENABLE_OCTAVE_SUPPORT #include <mvp/Octave/Main.h> #endif #include <mvp/Pipeline/Session.h> #include <mvp/Pipeline/Job.h> #include <mvp/Core/Settings.h> #include <boost/foreach.hpp> #include <boost/lexical_cast.hpp> using namespace std; using namespace mvp; int ...
19.980769
62
0.708373
NeoGeographyToolkit
4c1ea65b0d605de48f120bd0a345a2196b0fce32
11,295
cc
C++
sync/test/fake_server/fake_server.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
sync/test/fake_server/fake_server.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
sync/test/fake_server/fake_server.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 2014 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 "sync/test/fake_server/fake_server.h" #include <limits> #include <string> #include <vector> #include "base/basictypes.h" #include "base/logging...
33.616071
79
0.702966
iplo
4c23f6b804630fac96234cd58e52ca421e1a7e19
15,015
cpp
C++
drape_frontend/traffic_generator.cpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
2
2019-01-24T15:36:20.000Z
2019-12-26T10:03:48.000Z
drape_frontend/traffic_generator.cpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
1
2018-03-07T15:05:23.000Z
2018-03-07T15:05:23.000Z
drape_frontend/traffic_generator.cpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
1
2019-08-09T21:31:29.000Z
2019-08-09T21:31:29.000Z
#include "drape_frontend/traffic_generator.hpp" #include "drape_frontend/line_shape_helper.hpp" #include "drape_frontend/map_shape.hpp" #include "drape_frontend/shader_def.hpp" #include "drape_frontend/shape_view_params.hpp" #include "drape_frontend/tile_utils.hpp" #include "drape_frontend/traffic_renderer.hpp" #inclu...
36.801471
110
0.678788
ruilin
4c2500db72cf536f5754aceeb1c412e75ade4455
1,412
cpp
C++
aoj/1195/main.cpp
acm-icpc-training/acm-icpc-training
a4ee0f81a89cfe95b94c3de8521a11d61290bba3
[ "MIT" ]
null
null
null
aoj/1195/main.cpp
acm-icpc-training/acm-icpc-training
a4ee0f81a89cfe95b94c3de8521a11d61290bba3
[ "MIT" ]
null
null
null
aoj/1195/main.cpp
acm-icpc-training/acm-icpc-training
a4ee0f81a89cfe95b94c3de8521a11d61290bba3
[ "MIT" ]
null
null
null
#include <algorithm> #include <unordered_set> #include <iostream> #include <string> #include <vector> using namespace std; bool ProcessCase() { string encoded; cin >> encoded; if (encoded == "#") return false; unordered_set<string> curr_set; curr_set.insert(encoded); unordered_set<string> next_set; fo...
21.074627
63
0.525496
acm-icpc-training
4c2710bc5685a5c748ce3c4505b334a480be6ce6
1,128
cpp
C++
src/Engine.cpp
nsierra-/DotEngine
07d0d9bc6cf5238d9e94e6f538298b89d51832e5
[ "MIT" ]
null
null
null
src/Engine.cpp
nsierra-/DotEngine
07d0d9bc6cf5238d9e94e6f538298b89d51832e5
[ "MIT" ]
null
null
null
src/Engine.cpp
nsierra-/DotEngine
07d0d9bc6cf5238d9e94e6f538298b89d51832e5
[ "MIT" ]
null
null
null
#include "Engine.hpp" #include "Logger.hpp" namespace Dot { Engine::Engine() : _running(true), _window(sf::VideoMode(800, 600), "DotEngine") { } void Engine::handleEvents(void) { Logger::debug("Engine - handleEvents()"); _retrieveEvents(); _statesManager.handleEvents(this); } void Engine::update(voi...
17.353846
80
0.640071
nsierra-
4c276fd69fe70021e55ab4059c738da69f267136
2,521
cpp
C++
test_json.cpp
6502/jsoncpp
934481de03c373ee5299b8f880e0179a9d3a0030
[ "MIT" ]
2
2016-10-25T09:31:08.000Z
2018-11-10T07:42:29.000Z
test_json.cpp
6502/jsoncpp
934481de03c373ee5299b8f880e0179a9d3a0030
[ "MIT" ]
null
null
null
test_json.cpp
6502/jsoncpp
934481de03c373ee5299b8f880e0179a9d3a0030
[ "MIT" ]
null
null
null
#include "json.h" using JSON::Value; int main() { Value v; v["x"][2]["y"] = "Test"; v["a"] = false; v["b"] = 3.141592654; Value& vv = v["c"]; vv[0] = 42; vv[2] = "Foo"; vv[4]["x"] = 10; vv[4]["y"] = 20; std::vector< std::vector<int> > vvi(2); vvi[0].push_back(1); vvi[0...
25.72449
79
0.455375
6502
4c295f55b985099b580bdbc8686857ddc049022b
189
cpp
C++
258-add-digits/258-add-digits.cpp
ComputerScientist-01/SDE-Sheet
e0ebd6e6a21ed07ce0a1ae123f552e7a4da3ac3a
[ "MIT" ]
null
null
null
258-add-digits/258-add-digits.cpp
ComputerScientist-01/SDE-Sheet
e0ebd6e6a21ed07ce0a1ae123f552e7a4da3ac3a
[ "MIT" ]
null
null
null
258-add-digits/258-add-digits.cpp
ComputerScientist-01/SDE-Sheet
e0ebd6e6a21ed07ce0a1ae123f552e7a4da3ac3a
[ "MIT" ]
null
null
null
class Solution { public: int addDigits(int num) { // we use the property of 9 if(num == 0) return 0; if(num % 9 == 0 ) return 9; return (num%9); } };
21
35
0.492063
ComputerScientist-01
4c296640cc8de970340275d0c02e70352695760f
1,276
cpp
C++
kickstart/2019/round c/circuit_board.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
kickstart/2019/round c/circuit_board.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
kickstart/2019/round c/circuit_board.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int llint; llint calc(void) { llint r, c, req; cin >> r >> c >> req; vector<vector<llint>> grid(r, vector<llint>(c)); for (llint i = 0; i < r; i++) for (llint j = 0; j < c; j++) cin >> grid[i][j]; llint min_value = -1, max_value = -1;...
25.019608
54
0.474922
Surya-06
4c29f12f57e0613478b5209d1726665f0c5f6e85
2,651
cpp
C++
KRIGInputWidget.cpp
jonathanyxchen/quoFEM-UQPy
0cbbe2935ea3bc337fca8e8894c44825d7d36b32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
KRIGInputWidget.cpp
jonathanyxchen/quoFEM-UQPy
0cbbe2935ea3bc337fca8e8894c44825d7d36b32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
KRIGInputWidget.cpp
jonathanyxchen/quoFEM-UQPy
0cbbe2935ea3bc337fca8e8894c44825d7d36b32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <KRIGInputWidget.h> #include <QLineEdit> #include <QVBoxLayout> #include <QLabel> #include <QValidator> #include <QJsonObject> KRIGInputWidget::KRIGInputWidget(QWidget *parent) : UQ_MethodInputWidget(parent) { auto layout = new QGridLayout(); // create layout label and entry for # samples numSamp...
25.490385
70
0.685025
jonathanyxchen
4c2d5e5e00ca4b86193b4e1d7f83654af69f1384
3,199
cpp
C++
thirdparty/boost_1_71_0/libs/test/doc/examples/runtime-configuration_4.run-fail.cpp
anonymouscode1/djxperf
b6073a761753aa7a6247f2618977ca3a2633e78a
[ "MIT" ]
155
2015-01-19T11:00:04.000Z
2022-03-17T03:08:16.000Z
3rdparty/boost_1_73_0/libs/test/doc/examples/runtime-configuration_4.run-fail.cpp
qingkouwei/mediaones
cec475e1bfd5807b5351cc7e38d244ac5298ca16
[ "MIT" ]
266
2015-01-05T02:03:25.000Z
2022-03-25T12:22:12.000Z
3rdparty/boost_1_73_0/libs/test/doc/examples/runtime-configuration_4.run-fail.cpp
qingkouwei/mediaones
cec475e1bfd5807b5351cc7e38d244ac5298ca16
[ "MIT" ]
185
2015-01-03T18:09:54.000Z
2022-01-31T18:07:05.000Z
// Copyright (c) 2019 Raffi Enficiaud // 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) // See http://www.boost.org/libs/test for the library home page. //[example_code #define BOOST_TEST_MODULE runtime_conf...
28.81982
84
0.629884
anonymouscode1
4c2e2b46ae909c69019d6a7028002f03b7417a0e
1,932
cpp
C++
src/wm_objects/Objects.cpp
fmrico/WaterMellon
5d61914d9597118735e933e6d61a7e7872d83f5a
[ "BSD-3-Clause" ]
1
2017-02-23T02:05:57.000Z
2017-02-23T02:05:57.000Z
src/wm_objects/Objects.cpp
fmrico/WaterMellon
5d61914d9597118735e933e6d61a7e7872d83f5a
[ "BSD-3-Clause" ]
null
null
null
src/wm_objects/Objects.cpp
fmrico/WaterMellon
5d61914d9597118735e933e6d61a7e7872d83f5a
[ "BSD-3-Clause" ]
null
null
null
/* * Objects.cpp * * Created on: 11/10/2015 * Author: paco */ #include "wm_objects/Objects.h" #include <fstream> #include <streambuf> #include <string> namespace wm_objects { Objects::Objects() :objects_() { } Objects::~Objects() { } void Objects::readFile(std::string filename) { if(filename!="...
17.724771
74
0.635093
fmrico
4c2e5c096d5deddf10ce1cb14fc8826ed0c5e871
579
cpp
C++
src/env.cpp
ibradypod/bradypod
cd3b0bc156d7fccb1b8efb2b02163dca46c366d7
[ "BSD-3-Clause" ]
3
2018-03-05T15:29:42.000Z
2018-03-07T01:54:11.000Z
src/env.cpp
ibradypod/bradypod
cd3b0bc156d7fccb1b8efb2b02163dca46c366d7
[ "BSD-3-Clause" ]
null
null
null
src/env.cpp
ibradypod/bradypod
cd3b0bc156d7fccb1b8efb2b02163dca46c366d7
[ "BSD-3-Clause" ]
null
null
null
#include "env.h" #include <QCoreApplication> #include <QString> #include <QVariantMap> #include <QProcessEnvironment> static Env* env_instance = NULL; Env* Env::instance() { if (NULL == env_instance) { env_instance = new Env(); } return env_instance; } Env::Env() : QObject(QCoreApplication:...
17.029412
78
0.658031
ibradypod
4c32df3f96185150890e6b58f2b995ed6470d32e
463
cpp
C++
Questions Level-Wise/Medium/count-nice-pairs-in-an-array.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Medium/count-nice-pairs-in-an-array.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Medium/count-nice-pairs-in-an-array.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: int rev(int num) { int t=0; while(num>0) t=(t*10)+(num%10),num/=10; return t; } int countNicePairs(vector<int>& nums) { int c=0; unordered_map<int,int> x; for(int i=0;i<nums.size();i++) x[nums[i]-rev(nu...
23.15
82
0.464363
PrakharPipersania
4c3370c1c627b7857e4423d1aeaf009ac6d23811
2,219
cpp
C++
projects/acommandline/test/repeated_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
projects/acommandline/test/repeated_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
136
2020-03-29T11:15:38.000Z
2020-10-14T06:21:23.000Z
projects/acommandline/test/repeated_test.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
1
2020-08-04T09:56:53.000Z
2020-08-04T09:56:53.000Z
import atest; import acommandline; using ::atest::expect; using ::atest::suite; using ::atest::test; static const auto S = suite("repeated", [] { // NOLINT(cert-err58-cpp) test("single named", [] { std::stringstream stream; ::acommandline::CommandLine commandLine{stream}; std::vector<std:...
38.929825
161
0.626408
agnesoft
4c33c36926beaa4f6ea1988c79e0984e52a259b9
3,616
hpp
C++
source/Math.hpp
Amaranese/mario-bros-cplusplus
b5aefffbd3650cfa0ff5e846f43748efde8666c5
[ "Unlicense" ]
1
2021-08-15T00:37:29.000Z
2021-08-15T00:37:29.000Z
source/Math.hpp
Amaranese/mario-bros-cplusplus
b5aefffbd3650cfa0ff5e846f43748efde8666c5
[ "Unlicense" ]
null
null
null
source/Math.hpp
Amaranese/mario-bros-cplusplus
b5aefffbd3650cfa0ff5e846f43748efde8666c5
[ "Unlicense" ]
null
null
null
/** * @file * @brief defines math stuff. */ #ifndef MATH_HPP #define MATH_HPP #include <cmath> #include "Vector2.hpp" #include "Vector3.hpp" //Constants static const double PI = 4.0 * std::atan(1.0); /** Pi. */ //Non-Templated funcitons /** * This performs a modulus that has the appearance of a sawtooth wave fo...
18.54359
85
0.621405
Amaranese
4c3984bc3005960c087f0b4d701a9d4caba60fda
1,057
cc
C++
cpp/leetcode/451.sort-characters-by-frequency.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
3
2021-03-03T13:18:23.000Z
2022-02-09T07:49:24.000Z
cpp/leetcode/451.sort-characters-by-frequency.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
null
null
null
cpp/leetcode/451.sort-characters-by-frequency.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
1
2021-03-29T15:21:42.000Z
2021-03-29T15:21:42.000Z
#include <gtest/gtest.h> #include <algorithm> #include <string> #include <unordered_map> namespace { class Solution { public: std::string frequencySort(const std::string& s) { std::unordered_map<char, int> charcount; for (auto& ch : s) { charcount[ch]++; } std::vector<std::pair<char, int>> v(...
22.978261
76
0.589404
liubang
4c3be975324d4c979442a56019d9e3ddc8edb0c8
567
cpp
C++
src/cells/src/lib/logic/effect/buff/Slow.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
src/cells/src/lib/logic/effect/buff/Slow.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
15
2021-05-18T14:16:03.000Z
2021-06-17T19:36:32.000Z
src/cells/src/lib/logic/effect/buff/Slow.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
#include "Slow.h" #include <cassert> #include "logic/entity/MobEntity.h" Slow::Slow(MobEntity * target_p, std::string id_p, double spawntime_p, double duration_p, double slow_p, unsigned long maxStack_p) : BuffTimer(target_p, id_p, spawntime_p, duration_p, maxStack_p) , _slow(slow_p) { assert(_slow > 1e-5); asser...
24.652174
130
0.705467
SimonPiCarter
4c3e7de4cc2769551a5a667eac89c1b621ae1049
11,672
cpp
C++
src/unit_tests/parallel/utest_PAR_bodyauxref.cpp
andrewseidl/chrono
ec3d1689fa4d1ca40ef6d9ffdd2f509c0dc2cecd
[ "BSD-3-Clause" ]
null
null
null
src/unit_tests/parallel/utest_PAR_bodyauxref.cpp
andrewseidl/chrono
ec3d1689fa4d1ca40ef6d9ffdd2f509c0dc2cecd
[ "BSD-3-Clause" ]
null
null
null
src/unit_tests/parallel/utest_PAR_bodyauxref.cpp
andrewseidl/chrono
ec3d1689fa4d1ca40ef6d9ffdd2f509c0dc2cecd
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
37.651613
118
0.625942
andrewseidl
4c410d1d29d3a9598e009809b2aca084df0c1b48
893
cpp
C++
Problem Solving/Data Structures/Linked Lists/Find Merge Point of Two Lists/find merge point of two lists.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
108
2021-03-29T05:04:16.000Z
2022-03-19T15:11:52.000Z
Problem Solving/Data Structures/Linked Lists/Find Merge Point of Two Lists/find merge point of two lists.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
null
null
null
Problem Solving/Data Structures/Linked Lists/Find Merge Point of Two Lists/find merge point of two lists.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
32
2021-03-30T03:56:54.000Z
2022-03-27T14:41:32.000Z
/* Author: Isaac Asante * HackerRank URL for this exercise: https://www.hackerrank.com/challenges/find-the-merge-point-of-two-joined-linked-lists/problem * Original video explanation: https://www.youtube.com/watch?v=PUMCc5GPn1Q * Last verified on: March 28, 2021 */ /* IMPORTANT: * This code is meant to be used as...
34.346154
130
0.693169
IsaacAsante
4c417224f883b73130aba6d98bc4b1db7c73d838
4,501
hpp
C++
src/read_set.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
33
2015-07-13T03:00:01.000Z
2021-03-20T08:49:07.000Z
src/read_set.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
9
2016-11-29T00:04:30.000Z
2020-02-10T17:46:01.000Z
src/read_set.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
6
2015-09-10T15:49:34.000Z
2017-03-09T05:14:06.000Z
#ifndef ISOLATOR_READ_SET_HPP #define ISOLATOR_READ_SET_HPP #include <boost/iterator/iterator_facade.hpp> #include <boost/unordered_map.hpp> #include <vector> #include "common.hpp" #include "hat-trie/hat-trie.h" #include "samtools/sam.h" #include "samtools/samtools_extra.h" #include "transcripts.hpp" /* A represent...
23.321244
81
0.623639
dcjones
4c41fb73ad192e0954d76cd272202e5fde06a400
13,084
cc
C++
SmartDiet_Backend/matlab/SensorFusion/BSR/grouping/source/gpb_src/matlab/recognition/mex_shapeme_db.cc
mdepak/mobile_computing
0ac1250b86c35cbe4eef7186f4efcdbfeabfb244
[ "MIT" ]
3
2018-11-05T05:01:21.000Z
2021-01-14T20:36:09.000Z
SmartDiet_Backend/matlab/SensorFusion/BSR/grouping/source/gpb_src/matlab/recognition/mex_shapeme_db.cc
mdepak/mobile_computing
0ac1250b86c35cbe4eef7186f4efcdbfeabfb244
[ "MIT" ]
null
null
null
SmartDiet_Backend/matlab/SensorFusion/BSR/grouping/source/gpb_src/matlab/recognition/mex_shapeme_db.cc
mdepak/mobile_computing
0ac1250b86c35cbe4eef7186f4efcdbfeabfb244
[ "MIT" ]
null
null
null
/* * Database of geometric blur features. */ #include <iostream> #include "collections/array_list.hh" #include "collections/list.hh" #include "collections/pointers/auto_collection.hh" #include "lang/array.hh" #include "lang/exceptions/exception.hh" #include "lang/pointers/auto_ptr.hh" #include "lang/pointers/safe_pt...
30.078161
106
0.61686
mdepak
4c436c434537e6a9b906a1a0c48187e7b294f98f
20,984
cpp
C++
src/main.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
9
2019-08-01T14:42:38.000Z
2021-09-03T17:49:37.000Z
src/main.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
107
2016-05-22T14:28:08.000Z
2022-03-31T08:27:27.000Z
src/main.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
3
2017-12-13T04:15:42.000Z
2021-07-17T20:59:00.000Z
#include <iostream> #include <memory> #include <fstream> #include <cctype> #include <algorithm> #include <string> #include <stdexcept> #include <utility> #include "Game/Game.h" #include "Game/Board.h" #include "Game/Clock.h" #include "Game/Game_Result.h" #include "Moves/Move.h" #include "Players/Minimax_AI.h" #includ...
39.22243
275
0.468643
MarkZH
4c477a5cf79b4be9d463acfb54ce565b4d909723
959
cc
C++
tests/proto_worker.cc
acs-network/MCC
808e8f27a5a875331f2d54b99c83d4720f2c9bb9
[ "BSD-3-Clause" ]
5
2022-03-04T06:57:43.000Z
2022-03-30T08:45:42.000Z
tests/proto_worker.cc
acs-network/MCC
808e8f27a5a875331f2d54b99c83d4720f2c9bb9
[ "BSD-3-Clause" ]
null
null
null
tests/proto_worker.cc
acs-network/MCC
808e8f27a5a875331f2d54b99c83d4720f2c9bb9
[ "BSD-3-Clause" ]
2
2022-03-04T07:19:13.000Z
2022-03-04T07:23:58.000Z
#include "proto/mcc.pb.h" #include "application.h" #include "reactor.h" #include "tcp_server.h" using namespace infgen; namespace bpo = boost::program_options; int main(int argc, char* argv[]) { application app; app.add_options() ("client-id,n", bpo::value<unsigned>()->default_value(0), "client id"); app.ru...
27.4
75
0.618352
acs-network
4c47ffd057e8d17bf3da03f0f9e399a9055e9775
229
cpp
C++
native_libs/src/ValueHolder.cpp
mwu-tow/Dataframes
fd82802fe9b490cee9ac7be9aee0f5cc2e1fba28
[ "MIT" ]
4
2019-05-09T17:25:29.000Z
2019-10-30T21:22:14.000Z
native_libs/src/ValueHolder.cpp
mwu-tow/Dataframes
fd82802fe9b490cee9ac7be9aee0f5cc2e1fba28
[ "MIT" ]
94
2018-07-09T19:02:56.000Z
2019-03-29T13:30:39.000Z
native_libs/src/ValueHolder.cpp
mwu-tow/Dataframes
fd82802fe9b490cee9ac7be9aee0f5cc2e1fba28
[ "MIT" ]
3
2019-05-16T21:05:39.000Z
2020-06-19T14:36:33.000Z
#include "ValueHolder.h" #include <utility> const char * ValueHolder::store(std::string s) { buffer = std::move(s); return buffer.c_str(); } void ValueHolder::clear() { buffer.clear(); buffer.shrink_to_fit(); }
15.266667
46
0.650655
mwu-tow
4c4ef384bb0ab01432660c8f155c5409c543a8f3
1,631
cpp
C++
src/Crypt.cpp
thomaseolsen/SpaceMonopoly
96eb22111f3584b972e71b3880ee91314d9fd0cd
[ "MIT" ]
null
null
null
src/Crypt.cpp
thomaseolsen/SpaceMonopoly
96eb22111f3584b972e71b3880ee91314d9fd0cd
[ "MIT" ]
null
null
null
src/Crypt.cpp
thomaseolsen/SpaceMonopoly
96eb22111f3584b972e71b3880ee91314d9fd0cd
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl\vcl.h> #pragma hdrstop #include "crypt.h" //--------------------------------------------------------------------------- /***************************************************************************** * crypt -- encrypt a...
33.979167
81
0.351318
thomaseolsen
4c4fd3c0aadb17f20ae5d2d8e8872be84f963c8c
2,664
hxx
C++
code/rtkRayEllipsoidIntersectionImageFilter.hxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
code/rtkRayEllipsoidIntersectionImageFilter.hxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
code/rtkRayEllipsoidIntersectionImageFilter.hxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= * * Copyright RTK Consortium * * 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.apa...
35.52
97
0.703453
ldqcarbon
4c55579d1744ae667b09286e5ebb8381f368ce04
970
cpp
C++
src/Paddle.cpp
ItsSeaJay/lily-tin
0fa9a225e9a3496aa925137355afe243d2c88dce
[ "MIT" ]
4
2018-07-03T20:23:41.000Z
2021-05-19T04:01:29.000Z
src/Paddle.cpp
ItsSeaJay/lily-tin
0fa9a225e9a3496aa925137355afe243d2c88dce
[ "MIT" ]
null
null
null
src/Paddle.cpp
ItsSeaJay/lily-tin
0fa9a225e9a3496aa925137355afe243d2c88dce
[ "MIT" ]
1
2018-07-01T19:49:44.000Z
2018-07-01T19:49:44.000Z
#include "Paddle.h" LilyTin::Paddle::Paddle() { } LilyTin::Paddle::~Paddle() { } void LilyTin::Paddle::start() { mTexture.loadFromFile("../res/png/paddleRed.png"); mSprite.setTexture(mTexture); } void LilyTin::Paddle::update(float deltaTime) { bool left = sf::Keyboard::isKeyPressed(sf::Keyboard::Left) || ...
18.301887
64
0.662887
ItsSeaJay
4c570b3d079bc038581b4359cbf08f4267f96251
7,901
cpp
C++
src/native/Utils.cpp
sx-aurora-test/rv
5d546958b155d7349b20a8cbbeff1b4c65589fd7
[ "Apache-2.0" ]
2
2020-09-04T07:19:24.000Z
2020-10-08T11:36:58.000Z
src/native/Utils.cpp
sx-aurora-test/rv
5d546958b155d7349b20a8cbbeff1b4c65589fd7
[ "Apache-2.0" ]
null
null
null
src/native/Utils.cpp
sx-aurora-test/rv
5d546958b155d7349b20a8cbbeff1b4c65589fd7
[ "Apache-2.0" ]
1
2022-01-25T07:01:35.000Z
2022-01-25T07:01:35.000Z
//===- Utils.cpp -----------------------------===// // // The Region Vectorizer // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // // @author montada #include <llvm/IR/DerivedTypes.h> #include <llvm/IR/Constants.h> #include <utils...
32.24898
141
0.654727
sx-aurora-test
4c59fe702fd49d18898f89598a63ac96541d1ac3
13,407
cpp
C++
tests/sm/test_btree_basic.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
27
2015-04-21T08:52:37.000Z
2022-03-18T03:38:58.000Z
tests/sm/test_btree_basic.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
24
2015-07-04T10:45:41.000Z
2018-05-03T08:52:36.000Z
tests/sm/test_btree_basic.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
15
2015-03-31T09:57:10.000Z
2021-06-09T13:44:58.000Z
#include "btree_test_env.h" #include "gtest/gtest.h" #include "sm_vas.h" #include "btree.h" #include "btcursor.h" btree_test_env *test_env; /** * Unit test for basic Insert/Select/Delete features of BTree. */ w_rc_t insert_simple(ss_m* ssm, test_volume_t *test_volume) { StoreID stid; PageID root_pid; W...
33.68593
105
0.664877
lslersch
4c5a359188817fdbd8c0198157ea1cd50b3434d3
3,005
cpp
C++
code_reading/oceanbase-master/src/observer/virtual_table/ob_virtual_sql_monitor_statname.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/observer/virtual_table/ob_virtual_sql_monitor_statname.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/observer/virtual_table/ob_virtual_sql_monitor_statname.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
30.979381
116
0.648586
wangcy6
4c5a826ebefb81e6e0062c3ce90b8057aaba4c06
37,943
cpp
C++
SPOUTSDK/SpoutGL/SpoutControls.cpp
initialfx/Spout2
0f88e631d5328d5e5aedef287a7f8f3076b99be3
[ "BSD-2-Clause" ]
null
null
null
SPOUTSDK/SpoutGL/SpoutControls.cpp
initialfx/Spout2
0f88e631d5328d5e5aedef287a7f8f3076b99be3
[ "BSD-2-Clause" ]
null
null
null
SPOUTSDK/SpoutGL/SpoutControls.cpp
initialfx/Spout2
0f88e631d5328d5e5aedef287a7f8f3076b99be3
[ "BSD-2-Clause" ]
null
null
null
// // SpoutControls // // Allows an application to control a Spout sender // // ==================================================================================== // Revisions : // // 21.06.15 - project start // 08.07.15 - project Version 1 // 16.07.15 - changed CheckControls to return the control index that w...
29.970774
134
0.647155
initialfx
4c5abf814ba2ac2274c92395df2b592cff646d16
3,170
cpp
C++
FileZillaFTP/source/AdminInterface.cpp
JyothsnaMididoddi26/xampp
8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b
[ "Apache-2.0" ]
1
2017-01-31T08:49:16.000Z
2017-01-31T08:49:16.000Z
FileZillaFTP/source/AdminInterface.cpp
JyothsnaMididoddi26/xampp
8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b
[ "Apache-2.0" ]
2
2020-07-17T00:13:41.000Z
2021-05-08T17:01:54.000Z
FileZillaFTP/source/AdminInterface.cpp
JyothsnaMididoddi26/xampp
8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b
[ "Apache-2.0" ]
null
null
null
// FileZilla Server - a Windows ftp server // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de> // 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 Licens...
31.7
117
0.655205
JyothsnaMididoddi26
4c5b7b47c52278a64e3e8ca486aef44db48f8b04
4,007
cc
C++
Source/BladeDevice/source/window/android/AndroidWindowMessagePump.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/BladeDevice/source/window/android/AndroidWindowMessagePump.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/BladeDevice/source/window/android/AndroidWindowMessagePump.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2013/12/28 filename: AndroidWindowMessagePump.cc author: Crazii purpose: *********************************************************************/ #include <BladePCH.h> #if BLADE_PLATFORM == BLADE_PLATFORM_ANDROID #include <unistd.h> #i...
32.314516
122
0.516346
OscarGame
4c5e1dd5125b037fd99e48ed261d3a595fff2d14
3,461
cc
C++
src/tir/transforms/convert_blocks_to_opaque.cc
Exhorder6/tvm
7e3f068373937c0ae08d58f67b84030a027db1c9
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
90
2019-01-26T00:38:49.000Z
2022-03-11T23:12:34.000Z
src/tir/transforms/convert_blocks_to_opaque.cc
Exhorder6/tvm
7e3f068373937c0ae08d58f67b84030a027db1c9
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
91
2019-02-27T00:17:01.000Z
2022-02-21T18:08:21.000Z
src/tir/transforms/convert_blocks_to_opaque.cc
Exhorder6/tvm
7e3f068373937c0ae08d58f67b84030a027db1c9
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
41
2019-01-28T14:37:03.000Z
2022-03-31T03:58:57.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 you under the Apache License, Version 2.0 (the * "License"); you m...
32.961905
97
0.710488
Exhorder6
4c5e5f51389a8c2095a2b892a7b337852237bbc8
869
cpp
C++
Baekjoon/10799_stack.cpp
r4k0nb4k0n/Programming-Challenges
3d734902a7503f9dc49c97fe6e69e7541cd73e56
[ "MIT" ]
2
2019-05-24T08:58:26.000Z
2022-01-09T00:46:42.000Z
Baekjoon/10799_stack.cpp
r4k0nb4k0n/Programming-Challenges
3d734902a7503f9dc49c97fe6e69e7541cd73e56
[ "MIT" ]
null
null
null
Baekjoon/10799_stack.cpp
r4k0nb4k0n/Programming-Challenges
3d734902a7503f9dc49c97fe6e69e7541cd73e56
[ "MIT" ]
null
null
null
#include <iostream> #include <utility> // pair #include <string> #include <stack> #include <vector> using namespace std; int main() { vector<pair<int, int> > Bar; vector<int> Razer; stack<int> start_point; string input; int length, Bar_cnt = 0, Razer_cnt = 0, cnt = 0; cin >> input; length = input.length(); f...
16.711538
61
0.540852
r4k0nb4k0n
4c5f08ba5759a8c633e2c29c73f944038e1e4e86
13,012
cc
C++
Modules/Transformation/src/irtkPartialBSplineFreeFormTransformationSV.cc
kevin-keraudren/IRTK
ce329b7f58270b6c34665dcfe9a6e941649f3b94
[ "Apache-2.0" ]
3
2018-10-04T19:32:36.000Z
2021-09-02T07:37:30.000Z
Modules/Transformation/src/irtkPartialBSplineFreeFormTransformationSV.cc
kevin-keraudren/IRTK
ce329b7f58270b6c34665dcfe9a6e941649f3b94
[ "Apache-2.0" ]
null
null
null
Modules/Transformation/src/irtkPartialBSplineFreeFormTransformationSV.cc
kevin-keraudren/IRTK
ce329b7f58270b6c34665dcfe9a6e941649f3b94
[ "Apache-2.0" ]
4
2016-03-17T02:55:00.000Z
2018-02-03T05:40:05.000Z
/* The Image Registration Toolkit (IRTK) * * Copyright 2008-2015 Imperial College London * * 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...
40.409938
158
0.511912
kevin-keraudren
4c625bb757e4347781c1514f86b956ca78e563e1
295
cpp
C++
atcoder/abc135/a.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
atcoder/abc135/a.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
atcoder/abc135/a.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int A; int B; cin >> A >> B; if(A % 2 != B % 2){ cout << "IMPOSSIBLE" << endl; //条件を満たす整数が存在しなければ、代わりにIMPOSSIBLEと出力 } else { cout << (A + B) / 2 << endl; //A + B して2で割った数字を出力 } }
17.352941
44
0.471186
yuik46
4c64128d35359e3e2bc9ef4b29a43e59c171f064
92,562
hpp
C++
include/voxelio/3rd_party/lodepng.hpp
Eisenwave/voxel-io
d902568de2d4afda254e533a5ee9e4ad5fe7d2be
[ "MIT" ]
12
2020-06-25T13:40:22.000Z
2021-12-06T04:00:29.000Z
include/voxelio/3rd_party/lodepng.hpp
Eisenwave/voxel-io
d902568de2d4afda254e533a5ee9e4ad5fe7d2be
[ "MIT" ]
2
2021-02-04T16:19:40.000Z
2021-06-25T09:39:20.000Z
include/voxelio/3rd_party/lodepng.hpp
Eisenwave/voxel-io
d902568de2d4afda254e533a5ee9e4ad5fe7d2be
[ "MIT" ]
null
null
null
/* LodePNG version 20200306 Copyright (c) 2005-2020 Lode Vandevenne This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, incl...
48.084156
136
0.75276
Eisenwave
4c64e7e41edd0448714ab80a001590deabd9bfc8
21,132
cpp
C++
sundog_engine/various/palmos/palm_functions.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
100
2016-01-15T02:43:07.000Z
2022-03-16T14:02:38.000Z
sundog_engine/various/palmos/palm_functions.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
2
2018-01-10T18:21:37.000Z
2021-12-05T01:48:08.000Z
sundog_engine/various/palmos/palm_functions.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
17
2016-05-16T19:48:19.000Z
2022-03-23T10:59:42.000Z
#include <PalmOS.h> #include "VFSMgr.h" #include "PceNativeCall.h" #include "palm_functions.h" // local definition of the emulation state structure void *g_form_handler; long *g_new_screen_size; EmulStateType *emulStatePtr; Call68KFuncType *call68KFuncPtr; unsigned char args_stack[ 4 * 32 ]; unsigned char args_ptr = 0...
26.349127
130
0.675989
Sound-Linux-More
4c66f3691c04f078b9c0457c9bb158bfd22867d2
27,034
cpp
C++
MWCNNLayerImpl.cpp
henryjimenez/DL-matlab
de77f6d5387a4feb43dd175100006138bbea755f
[ "BSD-2-Clause" ]
null
null
null
MWCNNLayerImpl.cpp
henryjimenez/DL-matlab
de77f6d5387a4feb43dd175100006138bbea755f
[ "BSD-2-Clause" ]
null
null
null
MWCNNLayerImpl.cpp
henryjimenez/DL-matlab
de77f6d5387a4feb43dd175100006138bbea755f
[ "BSD-2-Clause" ]
null
null
null
#include "MWCNNLayerImpl.hpp" #include "MWTargetNetworkImpl.hpp" #include "cnn_api.hpp" #include <cassert> #include <cstring> #include <stdio.h> #if MW_LAYERS_TAP extern void mw_interm_tap(arm_compute::Tensor& armTensor, int size, int count); extern int tap_count; #endif MWCNNLayerImpl::MWCNNLayerImpl(MWCNNLayer* la...
64.520286
136
0.774506
henryjimenez
4c6955b5aba9ffd250f77ff17df3d1d3592309fe
2,837
cc
C++
chrome/chrome_cleaner/parsers/target/sandbox_setup.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/chrome_cleaner/parsers/target/sandbox_setup.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/chrome_cleaner/parsers/target/sandbox_setup.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/chrome_cleaner/parsers/target/sandbox_setup.h" #include <utility> #include "base/run_loop.h" #include "base/task/single_thread_task_exe...
36.371795
80
0.720127
sarang-apps
4c6b8ca41338111eb30b19cf2f22b586572688df
592
hpp
C++
src/state.hpp
ebassi/node-clutter
760b8f5704a216dcd633658051c0778151b21391
[ "MIT" ]
1
2017-08-31T00:58:33.000Z
2017-08-31T00:58:33.000Z
src/state.hpp
ebassi/node-clutter
760b8f5704a216dcd633658051c0778151b21391
[ "MIT" ]
null
null
null
src/state.hpp
ebassi/node-clutter
760b8f5704a216dcd633658051c0778151b21391
[ "MIT" ]
null
null
null
#ifndef NODE_CLUTTER_STATE_H_ #define NODE_CLUTTER_STATE_H_ #include <clutter/clutter.h> #include <v8.h> #include <node.h> namespace clutter { class State : public node::ObjectWrap { public: static void Initialize(v8::Handle<v8::Object> target); static void PrototypeMethodsInit(v8::Handle<v8::FunctionTemplate> con...
21.142857
89
0.746622
ebassi
4c6baa5c68411296b4cc7a6cc74c1d9d6e6a8dd5
163
hpp
C++
kernel/keyboard.hpp
mox692/mos
211b36dade615cfd43d3bb077703b82b638eec10
[ "Apache-2.0" ]
null
null
null
kernel/keyboard.hpp
mox692/mos
211b36dade615cfd43d3bb077703b82b638eec10
[ "Apache-2.0" ]
null
null
null
kernel/keyboard.hpp
mox692/mos
211b36dade615cfd43d3bb077703b82b638eec10
[ "Apache-2.0" ]
null
null
null
/** * @file keyboard.hpp * * キーボード制御プログラム. */ #pragma once #include <deque> #include "message.hpp" void InitializeKeyboard(std::deque<Message>& msg_queue);
12.538462
56
0.687117
mox692
4c6ce52e3b9443de9c0b7bd2c929337c06fd5fb9
11,495
cpp
C++
src/RcppExports.cpp
peekxc/clustertree
3c7cb80945067fd980a9f07a16dba7f8b1ad5907
[ "MIT" ]
6
2018-05-19T20:31:56.000Z
2021-11-28T09:10:33.000Z
src/RcppExports.cpp
peekxc/clustertree
3c7cb80945067fd980a9f07a16dba7f8b1ad5907
[ "MIT" ]
1
2018-05-19T20:31:44.000Z
2018-06-02T16:21:25.000Z
src/RcppExports.cpp
peekxc/clustertree
3c7cb80945067fd980a9f07a16dba7f8b1ad5907
[ "MIT" ]
1
2020-05-18T01:54:17.000Z
2020-05-18T01:54:17.000Z
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <Rcpp.h> using namespace Rcpp; // normalizeIndices IntegerMatrix normalizeIndices(const IntegerMatrix& mst); RcppExport SEXP _clustertree_normalizeIndices(SEXP mstSEXP) { BEGIN_RCP...
44.042146
149
0.762331
peekxc
4c6e81dbf53824b66fe0a3f5b00c2e88a212be88
688
cpp
C++
ejercicios clase/ejercicioGasolina(random).cpp
Trx21-5672/IMEC-8A-5672
ff4f0f4bcd61425a9eccba7be1fb646849360d45
[ "MIT" ]
null
null
null
ejercicios clase/ejercicioGasolina(random).cpp
Trx21-5672/IMEC-8A-5672
ff4f0f4bcd61425a9eccba7be1fb646849360d45
[ "MIT" ]
1
2020-04-05T03:13:08.000Z
2020-04-05T03:13:08.000Z
ejercicios clase/ejercicioGasolina(random).cpp
Trx21-5672/IMEC-8A-5672
ff4f0f4bcd61425a9eccba7be1fb646849360d45
[ "MIT" ]
null
null
null
#include <iostream> //random seed #include <cstdlib> #include <ctime> using namespace std; const int x1=12; const int x2=10; const int precio=19; int costo_final=0; int m = 0; int main(){ srand(time(NULL)); int lim_inf = 50; int lim_sup = 150; for (int i=0;i<2000;i++) { int velocidad =...
22.933333
85
0.597384
Trx21-5672
4c70e5bc85e0fe18a5d6562d8f6026087655db81
23,209
cpp
C++
DemoApps/Window/VulkanTriangle/source/VulkanTriangle.cpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoApps/Window/VulkanTriangle/source/VulkanTriangle.cpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoApps/Window/VulkanTriangle/source/VulkanTriangle.cpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
/** * The MIT License (MIT) * * Copyright (c) since 2014 Norbert Nopper * * 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 ...
45.507843
148
0.771726
alexvonduar
4c73421a95332d31f572c343c9e36e226c2eddbe
267
cc
C++
L1Trigger/DemonstratorTools/src/LinkId.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
2
2018-06-01T05:18:55.000Z
2021-04-08T21:44:06.000Z
L1Trigger/DemonstratorTools/src/LinkId.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
26
2018-10-30T12:47:58.000Z
2022-03-29T08:39:00.000Z
L1Trigger/DemonstratorTools/src/LinkId.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
#include "L1Trigger/DemonstratorTools/interface/LinkId.h" namespace l1t::demo { bool operator<(const LinkId& x, const LinkId& y) { int c = x.interface.compare(y.interface); return c == 0 ? (x.channel < y.channel) : (c < 0); } } // namespace l1t::demo
24.272727
57
0.651685
PKUfudawei
dbc8a8d1ebce122a4794f37b992e534ddb1cd498
4,370
hh
C++
servicesim_competition/src/Checkpoint.hh
raymondchaneee/servicesim
9e1c827aa0022d3f3c188be7d2ccf1ed20391d09
[ "Apache-2.0" ]
6
2020-05-03T01:27:45.000Z
2021-12-14T06:36:48.000Z
servicesim_competition/src/Checkpoint.hh
raymondchaneee/servicesim
9e1c827aa0022d3f3c188be7d2ccf1ed20391d09
[ "Apache-2.0" ]
1
2021-04-19T14:24:26.000Z
2021-04-19T14:24:26.000Z
servicesim_competition/src/Checkpoint.hh
raymondchaneee/servicesim
9e1c827aa0022d3f3c188be7d2ccf1ed20391d09
[ "Apache-2.0" ]
6
2020-06-15T14:34:18.000Z
2021-09-28T19:50:17.000Z
/* * Copyright (C) 2018 Open Source Robotics Foundation * * 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...
32.61194
79
0.680092
raymondchaneee
dbc8cab1f94ce579405de1bcc93c6ba27638dd17
30,636
cc
C++
third_party/blink/renderer/core/inspector/inspector_emulation_agent.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
third_party/blink/renderer/core/inspector/inspector_emulation_agent.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
third_party/blink/renderer/core/inspector/inspector_emulation_agent.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2015 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/inspector/inspector_emulation_agent.h" #include "third_party/blink/public/common/input/web_touch_event.h" #incl...
39.530323
91
0.725976
Yannic
dbc93a863223f8f7bc6c03c727913d42e7c556ab
5,174
cc
C++
tensorflow/core/ops/string_ops.cc
breandan/tensorflow
7509bad95200e1baed4eb488dbeaaa2c505a2824
[ "Apache-2.0" ]
4
2016-09-26T08:55:23.000Z
2019-05-06T15:26:03.000Z
tensorflow/core/ops/string_ops.cc
breandan/tensorflow
7509bad95200e1baed4eb488dbeaaa2c505a2824
[ "Apache-2.0" ]
null
null
null
tensorflow/core/ops/string_ops.cc
breandan/tensorflow
7509bad95200e1baed4eb488dbeaaa2c505a2824
[ "Apache-2.0" ]
8
2017-04-17T23:39:12.000Z
2019-05-11T14:06:31.000Z
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
40.108527
80
0.711055
breandan
dbca7033d2e551b6d754c8f530d7918631ff8de9
160
cpp
C++
chapter12/ex12_16.cpp
chaomi1998/CppPrimer_5th
9ecad51c21e5f57f2d682d9941812e1d51cc8a43
[ "MIT" ]
null
null
null
chapter12/ex12_16.cpp
chaomi1998/CppPrimer_5th
9ecad51c21e5f57f2d682d9941812e1d51cc8a43
[ "MIT" ]
null
null
null
chapter12/ex12_16.cpp
chaomi1998/CppPrimer_5th
9ecad51c21e5f57f2d682d9941812e1d51cc8a43
[ "MIT" ]
null
null
null
#include <memory> using std::unique_ptr; int main() { unique_ptr<int> p1(new int(42)); unique_ptr<int> p2(p1); unique_ptr<int> p3; p3 = p1; }
13.333333
36
0.60625
chaomi1998
dbcce76b57459545909d7286af87a7354ce06de1
1,334
cpp
C++
windows/appcompat/shims/general/cuasappfix.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
windows/appcompat/shims/general/cuasappfix.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
windows/appcompat/shims/general/cuasappfix.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 2002 Microsoft Corporation Module Name: CUASAppHack.cpp Abstract: This shim communicates with CUAS to pass AppHack information down to msctf.dll. Notes: This is a general purpose shim, but must be customized via the command line. History: ...
17.102564
78
0.625187
npocmaka
dbd17702a329c4b83b51779eb2f79b9026e168d6
888
cpp
C++
leetcode/188.best-time-to-buy-and-sell-stock-iv.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
leetcode/188.best-time-to-buy-and-sell-stock-iv.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
null
null
null
leetcode/188.best-time-to-buy-and-sell-stock-iv.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
/* * @lc app=leetcode id=188 lang=cpp * * [188] Best Time to Buy and Sell Stock IV */ // @lc code=start class Solution { public: int maxProfit(int K, vector<int>& prices) { int n = prices.size(); if(K>=n/2) { int ans = 0; for(int i=1;i<n;i++) { if(prices[...
24
72
0.371622
vkashkumar
dbd288c489b8ebacce0bcf45509ae152c6810840
1,069
cpp
C++
CR696/a.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
CR696/a.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
CR696/a.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * @author: Xingjian Bai * @date: 2021-01-19 14:33:26 * @description: * * * @notes: * g++ -fsanitize=address -ftrapv * * * * * * * * * * * * * * * * * */ #include <bits/stdc++.h> #define F first #define S second #define MP make_pair #defi...
21.38
67
0.451824
JackBai0914
dbd3c52399555f17ba2073c20f5e7efad2b0d56d
381
hpp
C++
src/include/ooyw/safecolor.hpp
creikey/ooyw
702bb42ed2e4f30f89eb54c9167772aaab7c1795
[ "MIT" ]
null
null
null
src/include/ooyw/safecolor.hpp
creikey/ooyw
702bb42ed2e4f30f89eb54c9167772aaab7c1795
[ "MIT" ]
null
null
null
src/include/ooyw/safecolor.hpp
creikey/ooyw
702bb42ed2e4f30f89eb54c9167772aaab7c1795
[ "MIT" ]
null
null
null
#ifndef HPP_SAFECOLOR #define HPP_SAFECOLOR #include <allegro5/allegro.h> namespace ooyw { class SafeColor { public: SafeColor() : r(0), g(0), b(0){}; SafeColor(double inr, double ing, double inb) : r(inr), g(ing), b(inb){}; ALLEGRO_COLOR al_c() { return al_map_rgb(this->r, this->g, this->b); }; private: dou...
18.142857
75
0.658793
creikey
dbd49e09d75fd3aac825c667db5e1c9733c493d2
18,530
cpp
C++
argos3/src/plugins/robots/generic/simulator/camera_default_sensor.cpp
yiftachn/krembot_sim_fork
d3d1b050f9fff4c96bded298eadde5a9ca4dab6b
[ "MIT" ]
211
2015-01-27T20:16:40.000Z
2022-02-25T03:11:13.000Z
argos3/src/plugins/robots/generic/simulator/camera_default_sensor.cpp
yiftachn/krembot_sim_fork
d3d1b050f9fff4c96bded298eadde5a9ca4dab6b
[ "MIT" ]
154
2015-02-09T20:32:38.000Z
2022-03-30T21:35:24.000Z
argos3/src/plugins/robots/generic/simulator/camera_default_sensor.cpp
yiftachn/krembot_sim_fork
d3d1b050f9fff4c96bded298eadde5a9ca4dab6b
[ "MIT" ]
128
2015-02-09T10:21:49.000Z
2022-03-31T22:24:51.000Z
/** * @file <argos3/plugins/robots/generic/simulator/camera_default_sensor.cpp> * * @author Michael Allwright - <allsey87@gmail.com> */ #include "camera_default_sensor.h" #include <argos3/core/simulator/simulator.h> #include <argos3/core/simulator/entity/composable_entity.h> #include <argos3/plugins/robots/generic...
51.759777
107
0.554128
yiftachn
dbd4bac249440c2fb749f49563a123b468e79220
572
cpp
C++
tests/test.cpp
Darioshka/lab_03
24d79f98900451ccd336d9c9b930d6c4d3d7f0dd
[ "MIT" ]
null
null
null
tests/test.cpp
Darioshka/lab_03
24d79f98900451ccd336d9c9b930d6c4d3d7f0dd
[ "MIT" ]
null
null
null
tests/test.cpp
Darioshka/lab_03
24d79f98900451ccd336d9c9b930d6c4d3d7f0dd
[ "MIT" ]
null
null
null
// Copyright 2018 Your Name <your_email> #include <gtest/gtest.h> #include "header.hpp" TEST(Example, EmptyTest) { int*a = new int; a[0] = 42; int*b = new int; b[0] = 20; SharedPtr<int> link1(a); SharedPtr<int> link2(link1); SharedPtr<int> link3(b); EXPECT_EQ(static_cast<int>(link1.get(...
24.869565
52
0.624126
Darioshka
dbd83e5512cfabf81133a23131ebb9a96e15fba9
2,922
cpp
C++
Projects/Skylicht/Components/Source/ParticleSystem/Particles/Zones/CPolyLine.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
310
2019-11-25T04:14:11.000Z
2022-03-31T23:39:19.000Z
Projects/Skylicht/Components/Source/ParticleSystem/Particles/Zones/CPolyLine.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
79
2019-11-17T07:51:02.000Z
2022-03-22T08:49:41.000Z
Projects/Skylicht/Components/Source/ParticleSystem/Particles/Zones/CPolyLine.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
24
2020-05-10T09:37:55.000Z
2022-03-05T13:19:31.000Z
/* !@ MIT License Copyright (c) 2020 Skylicht Technology CO., LTD 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...
27.055556
141
0.688227
tsukoyumi
dbd86ef518460542975a29739d90d9e910c2b75e
524
cc
C++
chromium/components/web_view/client_initiated_frame_connection.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/components/web_view/client_initiated_frame_connection.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/components/web_view/client_initiated_frame_connection.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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 "components/web_view/client_initiated_frame_connection.h" #include <utility> namespace web_view { ClientInitiatedFrameConnection::ClientInitia...
29.111111
73
0.791985
wedataintelligence