hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
88692043fdfa2f6c69da81dd154b35c28ab31c1c
5,417
cpp
C++
serving/reagent/serving/core/DecisionService.cpp
kellielu/ReAgent
c538992672220453cdc95044def25c4e0691a8b0
[ "BSD-3-Clause" ]
1,156
2019-10-02T12:15:31.000Z
2022-03-31T16:01:27.000Z
serving/reagent/serving/core/DecisionService.cpp
kellielu/ReAgent
c538992672220453cdc95044def25c4e0691a8b0
[ "BSD-3-Clause" ]
448
2019-10-03T13:40:52.000Z
2022-03-28T07:49:15.000Z
serving/reagent/serving/core/DecisionService.cpp
kellielu/ReAgent
c538992672220453cdc95044def25c4e0691a8b0
[ "BSD-3-Clause" ]
214
2019-10-13T13:28:33.000Z
2022-03-24T04:11:52.000Z
#include "reagent/serving/core/DecisionService.h" #include "reagent/serving/core/LogJoiner.h" #include "reagent/serving/core/OperatorFactory.h" namespace reagent { DecisionService::DecisionService( std::shared_ptr<ConfigProvider> configProvider, std::shared_ptr<ActionValueScorer> actionValueScorer, std::s...
35.874172
80
0.703526
[ "vector" ]
886f35f75dd2ed6750a4a7cfda2750daccd8d9aa
962
cpp
C++
konsert.cpp
dtlanghoff/nio-2014
82752dff22a03dbb2f3fec4e98abc57903f2ae12
[ "MIT" ]
null
null
null
konsert.cpp
dtlanghoff/nio-2014
82752dff22a03dbb2f3fec4e98abc57903f2ae12
[ "MIT" ]
null
null
null
konsert.cpp
dtlanghoff/nio-2014
82752dff22a03dbb2f3fec4e98abc57903f2ae12
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <limits> #include <vector> using namespace std; int cost(const vector<int>& x, const vector<int>& y, const vector<int>& b, int src, int dest) { if (src == 0) return abs(x[dest]) + abs(y[dest]) + b[dest]; else return abs(x[src]-x[dest]) + abs(y[src]-y[dest]) ...
20.468085
95
0.456341
[ "vector" ]
887043d0e0d03f88367f1ab8709a604bdb2095f8
1,083
cpp
C++
src/core/ChClassRegister.cpp
scpeters/chrono
a7cefda35d8a445963297cbe2dbb3cdfb4397f16
[ "BSD-3-Clause" ]
1
2020-02-16T16:52:08.000Z
2020-02-16T16:52:08.000Z
src/core/ChClassRegister.cpp
Milad-Rakhsha/Project-Chrono
6ab7abcd532cfb3c5e3876478fdd49c7ab783f63
[ "BSD-3-Clause" ]
null
null
null
src/core/ChClassRegister.cpp
Milad-Rakhsha/Project-Chrono
6ab7abcd532cfb3c5e3876478fdd49c7ab783f63
[ "BSD-3-Clause" ]
null
null
null
// // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2010 Alessandro Tasora // All rights 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 the distribution // and at http://projectchrono.org/license-chrono.txt. // //...
20.826923
74
0.554017
[ "object" ]
887e18fc356211a5ac8b7e17990aecc9b65d9ec9
93,928
hpp
C++
STL/functional.hpp
colorhistory/cplusplus-general-programming
3ece924a2ab34711a55a45bc41e2b74384956204
[ "MIT" ]
1
2019-09-28T09:40:08.000Z
2019-09-28T09:40:08.000Z
STL/functional.hpp
colorhistory/cplusplus-general-programming
3ece924a2ab34711a55a45bc41e2b74384956204
[ "MIT" ]
null
null
null
STL/functional.hpp
colorhistory/cplusplus-general-programming
3ece924a2ab34711a55a45bc41e2b74384956204
[ "MIT" ]
null
null
null
#ifndef FUNCTIONAL_HPP #define FUNCTIONAL_HPP #include "bits/stdc++.h" namespace GP { template <class Arg, class Result> struct unary_function { typedef Arg argument_type; typedef Result result_type; }; template <class Arg1, class Arg2, class Result> struct binary_function { ...
37.273016
120
0.579763
[ "object" ]
8880bd890c9da7dccf05b2b927fd3524798ed560
6,151
ipp
C++
src/beast/include/beast/http/impl/basic_headers.ipp
mDuo13/rippled
fbb5a753b19a08daec3e8897a72559a6b2bfeb81
[ "BSL-1.0" ]
null
null
null
src/beast/include/beast/http/impl/basic_headers.ipp
mDuo13/rippled
fbb5a753b19a08daec3e8897a72559a6b2bfeb81
[ "BSL-1.0" ]
null
null
null
src/beast/include/beast/http/impl/basic_headers.ipp
mDuo13/rippled
fbb5a753b19a08daec3e8897a72559a6b2bfeb81
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot 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) // #ifndef BEAST_HTTP_IMPL_BASIC_HEADERS_IPP #define BEAST_HTTP_IMPL_BASIC_HEADERS_I...
20.503333
80
0.659242
[ "object" ]
888cf05c06cfcb5bea56e291095a5cc1d746d68e
16,666
cpp
C++
Windows/DiodeAmplifier/Source/PluginProcessor.cpp
landonviator/DiodeAmplifier
c26d9096435dc653687912ca9409888037af4958
[ "MIT" ]
null
null
null
Windows/DiodeAmplifier/Source/PluginProcessor.cpp
landonviator/DiodeAmplifier
c26d9096435dc653687912ca9409888037af4958
[ "MIT" ]
null
null
null
Windows/DiodeAmplifier/Source/PluginProcessor.cpp
landonviator/DiodeAmplifier
c26d9096435dc653687912ca9409888037af4958
[ "MIT" ]
null
null
null
/* ============================================================================== This file contains the basic framework code for a JUCE plugin processor. ============================================================================== */ #include "PluginProcessor.h" #include "PluginEditor.h" //==============...
37.620767
194
0.661466
[ "vector" ]
8893982d4dc2cbd946c66518af608337fc1dd457
40,089
cpp
C++
src/chainparams.cpp
lokalnode/LokalCoin
55572130202013aef57d310bdf8b1f0700ec2168
[ "MIT" ]
null
null
null
src/chainparams.cpp
lokalnode/LokalCoin
55572130202013aef57d310bdf8b1f0700ec2168
[ "MIT" ]
null
null
null
src/chainparams.cpp
lokalnode/LokalCoin
55572130202013aef57d310bdf8b1f0700ec2168
[ "MIT" ]
null
null
null
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Copyright (c) 2014-2020 The Dash Core developers // Copyright (c) 2018-2020 The PACGlobal developers // Copyright (c) 2021 The Lokal Coin developers // Distributed under the MIT software license, see the accompanying // fil...
44.053846
242
0.775874
[ "vector" ]
88960eee769ff9ad9fa4fd9a3bdaa57058ae1564
5,477
cpp
C++
clex/clex/Tokenizer.cpp
kd-code/C-interpreter
cb85836819df9e70076d4edda1bda2d54d2a62ce
[ "MIT" ]
null
null
null
clex/clex/Tokenizer.cpp
kd-code/C-interpreter
cb85836819df9e70076d4edda1bda2d54d2a62ce
[ "MIT" ]
null
null
null
clex/clex/Tokenizer.cpp
kd-code/C-interpreter
cb85836819df9e70076d4edda1bda2d54d2a62ce
[ "MIT" ]
null
null
null
#include <string> #include <cctype> #include <vector> #include "Tokenizer.h" #include "common.h" #define CUR (source.at(position)) #define NEXT (source.at(position+1)) #define LEN (source.length()) bool Tokenizer::isdelim(char c) { if (std::strchr(" !;,+-<>'/*%^=()[].:\n", c) || c == 9 || c == '\r' || c == 0) return...
21.908
95
0.57641
[ "vector" ]
889742e1123381984e4ee4640e27fc698ff86626
1,480
cc
C++
src/compliance2.cc
kdungs/codecon-2015
d54820ab996f7b6ab5f4538bb84509c4960de023
[ "MIT" ]
2
2015-11-26T03:50:14.000Z
2018-01-07T01:54:28.000Z
src/compliance2.cc
kdungs/codecon
d54820ab996f7b6ab5f4538bb84509c4960de023
[ "MIT" ]
null
null
null
src/compliance2.cc
kdungs/codecon
d54820ab996f7b6ab5f4538bb84509c4960de023
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <functional> #include <numeric> #include <set> #include <string> #include <vector> constexpr auto factorial(std::size_t n) -> std::size_t { return (n > 1) ? n * factorial(n - 1) : 1; } auto uniquePalindromes(std::string word) -> std::size_t { auto chars = std::mul...
30.833333
77
0.575
[ "vector", "transform" ]
889acca5e3885ebf5782210267a26b54f3fcaebc
4,536
hpp
C++
include/System/Enum_EnumResult.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Enum_EnumResult.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Enum_EnumResult.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.Enum #include "System/Enum.hpp" // Including type: System.Valu...
44.910891
575
0.701499
[ "object" ]
88aad7643dd8a8cb43705ad1d8fd3d76111bc349
597
cc
C++
node_anjian.cc
wangkun611/anjian
f52f60fcfe351d4505f2d125c4a7aaa4852c0415
[ "MIT" ]
null
null
null
node_anjian.cc
wangkun611/anjian
f52f60fcfe351d4505f2d125c4a7aaa4852c0415
[ "MIT" ]
null
null
null
node_anjian.cc
wangkun611/anjian
f52f60fcfe351d4505f2d125c4a7aaa4852c0415
[ "MIT" ]
null
null
null
#include <node.h> #include <windows.h> #include <atlbase.h> void HookKeyboard(); bool moveTo(int x, int y); namespace anjian { using v8::FunctionCallbackInfo; using v8::Isolate; using v8::Local; using v8::Object; using v8::String; using v8::Value; void Method(const FunctionCallbackInfo<Value>& arg...
19.258065
68
0.683417
[ "object" ]
88ad27f49e1ebf3f21fd7bdc84201a0eb05598ae
3,921
cpp
C++
wave_vision/src/utils.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
80
2017-03-12T18:57:33.000Z
2022-03-30T11:44:33.000Z
wave_vision/src/utils.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
210
2017-03-13T15:01:34.000Z
2022-01-15T03:19:44.000Z
wave_vision/src/utils.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
31
2017-08-14T16:54:52.000Z
2022-01-21T06:44:16.000Z
#include "wave/vision/utils.hpp" namespace wave { double focal_length(double fov, double image_width) { return (image_width / 2.0) / tan(deg2rad(fov) / 2.0); } Vec2 focal_length(double hfov, double vfov, double image_width, double image_height) { Vec2 foc...
26.315436
80
0.614384
[ "vector" ]
88ba9cf870b0881b23151f0e8cb108ea315986c6
12,655
cc
C++
servlib/security/SecurityConfig.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
14
2016-06-27T19:28:23.000Z
2021-06-28T20:41:17.000Z
servlib/security/SecurityConfig.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
3
2020-09-18T13:48:53.000Z
2021-05-27T18:28:14.000Z
servlib/security/SecurityConfig.cc
lauramazzuca21/DTNME
c97b598b09a8c8e97c2e4136879d9f0e157c8df7
[ "Apache-2.0" ]
10
2020-09-26T05:08:40.000Z
2022-01-25T12:57:55.000Z
#ifdef HAVE_CONFIG_H # include <dtn-config.h> #endif #include "SecurityConfig.h" #ifdef BSP_ENABLED #include "Ciphersuite.h" #include "BP_Local_CS.h" #include "bundling/Bundle.h" using namespace std; namespace dtn { static const char * log = "/dtn/bundle/security"; ostream& operator<< (ostream &out, EndpointIDPa...
35.849858
192
0.588542
[ "vector" ]
88bc1b7b5ca03292cd6fc5ed28da959e7d1e3180
7,717
cpp
C++
src_sgct/core/app_internal/CoordinatorNodeInternal.cpp
viscom-ulm/viscom_framework_core
222aa84cef8337d3e63e2aab356c1ad1772dae70
[ "BSD-2-Clause" ]
2
2017-06-12T17:21:18.000Z
2017-10-31T19:15:43.000Z
src_sgct/core/app_internal/CoordinatorNodeInternal.cpp
viscom-ulm/viscom_framework_core
222aa84cef8337d3e63e2aab356c1ad1772dae70
[ "BSD-2-Clause" ]
8
2017-08-07T16:37:13.000Z
2018-08-24T07:54:54.000Z
src_sgct/core/app_internal/CoordinatorNodeInternal.cpp
viscom-ulm/viscom_framework_core
222aa84cef8337d3e63e2aab356c1ad1772dae70
[ "BSD-2-Clause" ]
3
2017-07-26T09:22:26.000Z
2018-10-13T06:41:46.000Z
/** * @file CoordinatorNodeInternal.cpp * @author Sebastian Maisch <sebastian.maisch@uni-ulm.de> * @date 2018.06.15 * * @brief Implementation of the internal coordinator node. */ #include "core/main.h" #include <sgct.h> #include "CoordinatorNodeInternal.h" #include "core/imgui/imgui_impl_glfw.h" #include "c...
34.146018
176
0.689128
[ "render", "vector" ]
88c1d2c159cce17b4727ded3203deaef749fa174
4,201
cpp
C++
ds_algo/dynamic_prog/house_robber_2.cpp
shubhamgarg21/mission-unnati
b41e14dc2c72b003973199303efaee633d273895
[ "MIT" ]
null
null
null
ds_algo/dynamic_prog/house_robber_2.cpp
shubhamgarg21/mission-unnati
b41e14dc2c72b003973199303efaee633d273895
[ "MIT" ]
null
null
null
ds_algo/dynamic_prog/house_robber_2.cpp
shubhamgarg21/mission-unnati
b41e14dc2c72b003973199303efaee633d273895
[ "MIT" ]
null
null
null
/* * Author : Shubham Garg * Date : March 08, 2020 * Problem : https://leetcode.com/problems/house-robber-ii/ * Solution : http://buttercola.blogspot.com/2015/09/leetcode-house-robber-ii.html * Build : g++ -std=c++11 -lstdc++ house_robber_2.cpp */ #include <iostream> #include <vector> #include <string...
22.831522
82
0.444656
[ "vector" ]
88c954f56cfe8b439393e616f5834856161abb1f
6,717
cpp
C++
src/server/library/sysadm-powerd.cpp
cloudbsdorg/sysadm
d01826355905549bf83c07dcd09fb5e11696debc
[ "BSD-2-Clause" ]
39
2016-06-27T12:57:08.000Z
2020-05-24T16:56:36.000Z
src/server/library/sysadm-powerd.cpp
cloudbsdorg/sysadm
d01826355905549bf83c07dcd09fb5e11696debc
[ "BSD-2-Clause" ]
14
2016-08-09T09:21:18.000Z
2019-06-04T18:24:35.000Z
src/server/library/sysadm-powerd.cpp
cloudbsdorg/sysadm
d01826355905549bf83c07dcd09fb5e11696debc
[ "BSD-2-Clause" ]
14
2016-08-18T15:30:51.000Z
2019-11-05T16:58:06.000Z
//=========================================== // TrueOS source code // Copyright (c) 2017, TrueOS Software/iXsystems // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "sysadm-general.h" #include "sysadm-powerd.h" #include "sys...
37.735955
162
0.651779
[ "object" ]
88ccabfdf00e5ebf9294729111cee1956d98cb8a
30,130
cc
C++
alljoyn_core/samples/securitymgr/agent/unit_test/TestUtil.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
33
2018-01-12T00:37:43.000Z
2022-03-24T02:31:36.000Z
alljoyn_core/samples/securitymgr/agent/unit_test/TestUtil.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
1
2020-01-05T05:51:27.000Z
2020-01-05T05:51:27.000Z
alljoyn_core/samples/securitymgr/agent/unit_test/TestUtil.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
30
2017-12-13T23:24:00.000Z
2022-01-25T02:11:19.000Z
/****************************************************************************** * Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source * Project (AJOSP) Contributors and others. * * SPDX-License-Identifier: Apache-2.0 * * All rights reserved. This program and the accompanying material...
32.643554
133
0.612878
[ "vector" ]
88d1742d945bdf9d4ac37c94b8249b9ee09cecfe
16,176
cpp
C++
fboss/agent/hw/bcm/BcmCosQueueManagerUtils.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
834
2015-03-10T18:12:28.000Z
2022-03-31T20:16:17.000Z
fboss/agent/hw/bcm/BcmCosQueueManagerUtils.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
82
2015-04-07T08:48:29.000Z
2022-03-11T21:56:58.000Z
fboss/agent/hw/bcm/BcmCosQueueManagerUtils.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
296
2015-03-11T03:45:37.000Z
2022-03-14T22:54:22.000Z
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
38.061176
80
0.735843
[ "object" ]
88d388d9070a32df949bf30b294b92d5d595194c
4,268
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/statusbar/policy/AccessibilityController.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/Packages/SystemUI/src/elastos/droid/systemui/statusbar/policy/AccessibilityController.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/statusbar/policy/AccessibilityController.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 // // ...
33.085271
105
0.717198
[ "object" ]
88d38ff954cb464628b2a6f3bf73d38c2d8d10cd
15,567
cpp
C++
OpenFrameworks/IngoLedMapperApp/src/Layout/GuiManager.cpp
ImanolGo/IngoLedMapper
d0463075aebee6572c696876c14762832dee4ed4
[ "MIT", "Unlicense" ]
null
null
null
OpenFrameworks/IngoLedMapperApp/src/Layout/GuiManager.cpp
ImanolGo/IngoLedMapper
d0463075aebee6572c696876c14762832dee4ed4
[ "MIT", "Unlicense" ]
null
null
null
OpenFrameworks/IngoLedMapperApp/src/Layout/GuiManager.cpp
ImanolGo/IngoLedMapper
d0463075aebee6572c696876c14762832dee4ed4
[ "MIT", "Unlicense" ]
null
null
null
/* * GuiManager.cpp * IngoLedMapperApp * * Created by Imanol Gomez on 13/08/18. * */ #include "ofMain.h" #include "AppManager.h" #include "GuiManager.h" #include "GuiTheme.h" const string GuiManager::GUI_SETTINGS_FILE_NAME = "xmls/GuiSettings.xml"; const string GuiManager::GUI_SETTINGS_NAME = "GUI"; c...
28.303636
166
0.656902
[ "vector", "model" ]
88d4828e89c9eb8b2417f41a9b5565a2d9d8b602
1,468
cpp
C++
c++/binary_tree_postorder_traversal.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/binary_tree_postorder_traversal.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/binary_tree_postorder_traversal.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 \ 2 / 3 return [3,2,1]. Note: Recursive solution is trivial, could you do it iteratively? */ /* * Opposite of preorder. Reverse the results. */ #include "helper.h" #include <...
21.910448
73
0.525204
[ "vector" ]
88da4226bc2a669946fd3ff5ec172d128810371c
6,421
cpp
C++
tetris_sfml/Tetromino.cpp
daemon3000/Tetris
a78b39485c47916bb0e9178163f1cb23d09b5b83
[ "Zlib", "MIT" ]
null
null
null
tetris_sfml/Tetromino.cpp
daemon3000/Tetris
a78b39485c47916bb0e9178163f1cb23d09b5b83
[ "Zlib", "MIT" ]
null
null
null
tetris_sfml/Tetromino.cpp
daemon3000/Tetris
a78b39485c47916bb0e9178163f1cb23d09b5b83
[ "Zlib", "MIT" ]
null
null
null
#include <unordered_map> #include "Tetromino.h" using namespace tetris; static std::unordered_map<TetrominoType, std::unordered_map<Rotation, std::vector<bool>>> TETROMINOS { { TetrominoType::I, { { Rotation::R0, { false, false, false, false, true, true, true, true, false, false, false, false, false, fa...
22.609155
134
0.628874
[ "vector" ]
88dc8cb2c89a1d0c9580fd4a4c1f53b567d5608c
15,889
cc
C++
src/modules/TaskDistributor/GreedySelector.cc
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
31
2015-12-15T19:14:10.000Z
2021-12-31T17:40:21.000Z
src/modules/TaskDistributor/GreedySelector.cc
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
5
2015-12-04T08:06:47.000Z
2020-08-09T21:49:46.000Z
src/modules/TaskDistributor/GreedySelector.cc
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
21
2015-11-05T08:25:45.000Z
2021-06-19T02:24:50.000Z
#include <vector> #include "GreedySelector.hh" using namespace std; GreedySelector::td_t::td_t() { int i, j; for (i = 0; i < GreedySelector::NOF_CORE; i++) for (j = 0; j < GreedySelector::NOF_CFU; j++) allocTable[i][j] = 0; } void GreedySelector::td_t::recursiveCluster(dfg_t* d, set<node_t*> &nodes, s...
31.905622
272
0.618038
[ "vector" ]
88e0004b85a4a3f4d0099083d709718a014ee1ca
17,806
hpp
C++
include/opentxs/core/crypto/OTSubcredential.hpp
robertoleksy/opentxs
2953cfbf3dac85ae1f2239a6546fe2aadf1616e2
[ "Apache-2.0" ]
null
null
null
include/opentxs/core/crypto/OTSubcredential.hpp
robertoleksy/opentxs
2953cfbf3dac85ae1f2239a6546fe2aadf1616e2
[ "Apache-2.0" ]
null
null
null
include/opentxs/core/crypto/OTSubcredential.hpp
robertoleksy/opentxs
2953cfbf3dac85ae1f2239a6546fe2aadf1616e2
[ "Apache-2.0" ]
null
null
null
/************************************************************ * * OTSubcredential.hpp * */ /************************************************************ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * OPEN TRANSACTIONS * * Financial Cryptography and Digital Cash * Library, Proto...
46.734908
80
0.626587
[ "model" ]
88e795d263af263d827e66d2a663e48820edc625
8,564
cpp
C++
lib/JSON/JSONThingy.cpp
rishiDholliwar/adventure2019
9bd577e3612b17d89cc217e24890723ec4a9a7f1
[ "MIT" ]
null
null
null
lib/JSON/JSONThingy.cpp
rishiDholliwar/adventure2019
9bd577e3612b17d89cc217e24890723ec4a9a7f1
[ "MIT" ]
null
null
null
lib/JSON/JSONThingy.cpp
rishiDholliwar/adventure2019
9bd577e3612b17d89cc217e24890723ec4a9a7f1
[ "MIT" ]
null
null
null
#include "JSONThingy.h" #include <Door.h> #include <ExtendedDescription.h> #include <Room.h> #include <iostream> // map TaskState values to JSON as strings NLOHMANN_JSON_SERIALIZE_ENUM( CommandType, { //USE {LOGIN, "LOGIN"}, {LOGOUT, "LOGOUT"}, {SIGNUP, "SIGNUP"}, //COMMUNICATION {SAY, "SAY"},...
27.625806
106
0.540752
[ "object", "vector" ]
88ec3b46cecb68da1640fcfac669520d530cbcc8
19,479
cpp
C++
toolbox/mex/meshing_mex/meshlib/polyhedron2BSP.cpp
CoMind-Technologies/NIRFAST
b198089aae1a93fcb11c0a8f229e650f3023364e
[ "BSD-3-Clause" ]
22
2017-03-30T06:41:50.000Z
2021-09-23T08:17:37.000Z
toolbox/mex/meshing_mex/meshlib/polyhedron2BSP.cpp
CoMind-Technologies/NIRFAST
b198089aae1a93fcb11c0a8f229e650f3023364e
[ "BSD-3-Clause" ]
12
2016-02-24T20:20:01.000Z
2021-03-15T13:21:33.000Z
toolbox/mex/meshing_mex/meshlib/polyhedron2BSP.cpp
CoMind-Technologies/NIRFAST
b198089aae1a93fcb11c0a8f229e650f3023364e
[ "BSD-3-Clause" ]
17
2017-01-06T07:11:33.000Z
2021-08-10T07:15:24.000Z
#include "polyhedron2BSP.h" ULONG Polyhedron2BSP::maxdepth = 0; Polyhedron2BSP::Polyhedron2BSP() : _isbuilt(false) { this->macheps = exactinit(); } Polyhedron2BSP::Polyhedron2BSP(std::vector<Polygon *> &inputpoly) { this->macheps = exactinit(); this->_inputpoly = inputpoly; this->polygonmarker.assign(this->_input...
32.303483
148
0.648545
[ "object", "vector", "solid" ]
88f2716d1be0e3989e656fa86d3758841b538f46
3,412
hpp
C++
moe/natj/bindigs/third_party/tinyb/tinyb/api/tinyb/BluetoothGattService.hpp
ark100/multi-os-engine
f71d66a58b3d7e5eb2a68541480b7a0d88c7b908
[ "Apache-2.0" ]
null
null
null
moe/natj/bindigs/third_party/tinyb/tinyb/api/tinyb/BluetoothGattService.hpp
ark100/multi-os-engine
f71d66a58b3d7e5eb2a68541480b7a0d88c7b908
[ "Apache-2.0" ]
null
null
null
moe/natj/bindigs/third_party/tinyb/tinyb/api/tinyb/BluetoothGattService.hpp
ark100/multi-os-engine
f71d66a58b3d7e5eb2a68541480b7a0d88c7b908
[ "Apache-2.0" ]
null
null
null
/* * Author: Petre Eftime <petre.p.eftime@intel.com> * Copyright (c) 2015 Intel Corporation. * * 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 ...
34.816327
86
0.735053
[ "object", "vector" ]
322ee8ba47ebae666d08cfd918d9a6c545cbc190
1,280
cpp
C++
Dynamic Programming-1/Boredom.cpp
vineeth2281/Coding-Ninjas-Competitive-programming
68bd2c7caa7442ef064189d00f5116d9843a2d66
[ "MIT" ]
1
2020-09-16T08:43:43.000Z
2020-09-16T08:43:43.000Z
Dynamic Programming-1/Boredom.cpp
vineeth2281/Coding-Ninjas-Competitive-programming
68bd2c7caa7442ef064189d00f5116d9843a2d66
[ "MIT" ]
null
null
null
Dynamic Programming-1/Boredom.cpp
vineeth2281/Coding-Ninjas-Competitive-programming
68bd2c7caa7442ef064189d00f5116d9843a2d66
[ "MIT" ]
null
null
null
/* Gary is bored and wants to play an interesting but tough game . So he figured out a new board game called "destroy the neighbours" . In this game there are N integers on a board. In one move, he can pick any integer x from the board and then all the integers with value x+1 or x-1 gets destroyed .This move will give ...
28.444444
333
0.660156
[ "vector" ]
3231557e910e742c42b709758d4db645f07a75dd
8,183
cpp
C++
tests/sketch/test_tensor.cpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
7
2020-12-07T11:33:17.000Z
2022-01-02T07:30:52.000Z
tests/sketch/test_tensor.cpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
26
2021-01-13T18:15:23.000Z
2022-02-27T05:52:59.000Z
tests/sketch/test_tensor.cpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
2
2021-01-06T15:03:10.000Z
2022-01-02T07:18:45.000Z
#include "sketch/tensor.hpp" #include "util/utils.hpp" #include <gmock/gmock.h> #include <gtest/gtest.h> namespace { using namespace ts; using namespace ::testing; constexpr uint8_t alphabet_size = 4; const uint32_t set_size = int_pow<uint32_t>(alphabet_size, 3); // k-mers of length 3 constexpr uint32_t sketch_dim ...
41.75
100
0.625687
[ "vector" ]
3232f142ca22430390beacd14ec377fa80a49915
2,251
cpp
C++
algorithms/cpp/Problems 301-400/_380_InsertDeleteGetRandomO1.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 301-400/_380_InsertDeleteGetRandomO1.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 301-400/_380_InsertDeleteGetRandomO1.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/insert-delete-getrandom-o1/ Author - Shivam Arora */ #include <bits/stdc++.h> using namespace std; class RandomizedSet { unordered_map<int, int> indexMap; vector<int> data; int index; public: /** Initialize your data structure here. */ Randomize...
24.204301
109
0.530875
[ "vector" ]
323f8d94db6ac0d242ea4e73dd4dc9d00073287e
974
cpp
C++
PETCS/Advanced/tle15p2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Advanced/tle15p2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Advanced/tle15p2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll INF = 0x3f3f3f3f3f3f3f3fLL; ll N, M, T, ans = INF; vector<pair<ll, ll>> v; multiset<ll> s; int main() { cin.tie(0)->sync_with_stdio(0); #ifndef ONLINE_JUDGE freopen("../../input.txt", "r", stdin); freopen("../../output.txt", "w...
25.631579
62
0.454825
[ "vector" ]
3250615d956f9f7f19a85487d1e4bc0888c743f6
253
cpp
C++
LeetCode/0035.SearchInsertPosition/SearchInsertPosition.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
1
2017-12-24T07:51:07.000Z
2017-12-24T07:51:07.000Z
LeetCode/0035.SearchInsertPosition/SearchInsertPosition.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
LeetCode/0035.SearchInsertPosition/SearchInsertPosition.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
class Solution { public: int searchInsert(vector<int>& nums, int target) { int i=0; int n = nums.size(); while(i<n){ if(target<=nums[i]) return i; ++i; } return i; } };
19.461538
54
0.426877
[ "vector" ]
325175adc26f6de399ce1d594bcaa790451d427f
11,540
cpp
C++
src/SIPP.cpp
YimingXieUSC/JY_LNS
396f0198b3e6f644c7601747ac53d6406442c8d4
[ "MIT" ]
24
2021-05-21T10:40:36.000Z
2022-03-17T07:34:27.000Z
src/SIPP.cpp
YimingXieUSC/JY_LNS
396f0198b3e6f644c7601747ac53d6406442c8d4
[ "MIT" ]
null
null
null
src/SIPP.cpp
YimingXieUSC/JY_LNS
396f0198b3e6f644c7601747ac53d6406442c8d4
[ "MIT" ]
8
2021-05-23T23:51:11.000Z
2022-03-22T13:25:08.000Z
#include "SIPP.h" void SIPP::updatePath(const LLNode* goal, vector<PathEntry> &path) { path.resize(goal->timestep + 1); // num_of_conflicts = goal->num_of_conflicts; const auto* curr = goal; while (curr->parent != nullptr) // non-root node { const auto* prev = curr->parent; int t = prev->timestep + 1; whi...
34.345238
139
0.698007
[ "vector" ]
325e5f07ec8f6e4d51b4b7c4effadd222dd52a68
68,668
cpp
C++
admin/wmi/wbem/providers/win32provider/providers/logicaldisk.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/wmi/wbem/providers/win32provider/providers/logicaldisk.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/wmi/wbem/providers/win32provider/providers/logicaldisk.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//================================================================= // // LogicalDisk.CPP -- Logical Disk property set provider // // Copyright (c) 1996-2002 Microsoft Corporation, All Rights Reserved // // // Strings for ValueMaps for DriveType come from: // \\trango\slmadd\src\shell\shell32\shel32.rc. Searc...
26.309579
178
0.54363
[ "vector" ]
3263ebab0410104eaf7cab5bd4209acafbc73dcc
13,086
cc
C++
mindspore/lite/src/runtime/kernel/arm/fp16/arithmetic_fp16.cc
Joejiong/mindspore
083fd6565cab1aa1d3114feeacccf1cba0d55e80
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/runtime/kernel/arm/fp16/arithmetic_fp16.cc
Joejiong/mindspore
083fd6565cab1aa1d3114feeacccf1cba0d55e80
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/runtime/kernel/arm/fp16/arithmetic_fp16.cc
Joejiong/mindspore
083fd6565cab1aa1d3114feeacccf1cba0d55e80
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
38.830861
119
0.698456
[ "vector" ]
327676d545b3ae183501aba1a16d1f4e25807688
4,881
cpp
C++
lessons/Lesson3/TestPassParameters.cpp
maychan111/cpp-tdd
ed34561b5c9763e280fd871c1dcfc749f1ad1d7d
[ "MIT" ]
2
2019-04-23T23:27:07.000Z
2022-03-27T14:43:14.000Z
lessons/Lesson3/TestPassParameters.cpp
maychan111/cpp-tdd
ed34561b5c9763e280fd871c1dcfc749f1ad1d7d
[ "MIT" ]
null
null
null
lessons/Lesson3/TestPassParameters.cpp
maychan111/cpp-tdd
ed34561b5c9763e280fd871c1dcfc749f1ad1d7d
[ "MIT" ]
null
null
null
#include "Person.h" #include "../gtest/gmock.h" #include "../gtest/MainTest.h" #include <memory> #include <list> namespace { using namespace testing; /* Smart Pointer Parameters: How should you prefer to pass smart pointers, and why? http://herbsutter.com/2013/06/05/gotw-91-solution-smart-poin...
25.554974
124
0.54538
[ "object" ]
32777337f866e76dcf7d9c48a761fef404811e69
5,905
cpp
C++
Source/ToolCore/Assets/PrefabImporter.cpp
joaovsq/Cross
8431eb3fd9ba1cef37ac1f3226a6caa6177b5560
[ "Apache-2.0" ]
null
null
null
Source/ToolCore/Assets/PrefabImporter.cpp
joaovsq/Cross
8431eb3fd9ba1cef37ac1f3226a6caa6177b5560
[ "Apache-2.0" ]
null
null
null
Source/ToolCore/Assets/PrefabImporter.cpp
joaovsq/Cross
8431eb3fd9ba1cef37ac1f3226a6caa6177b5560
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2014-2016 THUNDERBEAST GAMES LLC // // 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.853774
102
0.695343
[ "vector", "transform" ]
328d4c0fb29c67f7d7bdfcc39bc20ebd34e276d1
18,876
cpp
C++
src/CQBaseModel.cpp
Qt-Widgets/CQCharts
0ee923c5a2794b9e3845d0d88fa519fcdea7694a
[ "MIT" ]
null
null
null
src/CQBaseModel.cpp
Qt-Widgets/CQCharts
0ee923c5a2794b9e3845d0d88fa519fcdea7694a
[ "MIT" ]
null
null
null
src/CQBaseModel.cpp
Qt-Widgets/CQCharts
0ee923c5a2794b9e3845d0d88fa519fcdea7694a
[ "MIT" ]
null
null
null
#include <CQBaseModel.h> #include <CQModelUtil.h> #include <CQModelNameValues.h> #include <CMathUtil.h> #include <cmath> #include <cassert> namespace { using TypeName = std::map<CQBaseModelType,QString>; using NameType = std::map<QString,CQBaseModelType>; static TypeName s_typeName; static NameType s_nameType; void...
20.834437
90
0.661051
[ "model" ]
328f42e715e7ca7d2af979826ce87ffb7a1d6665
17,982
cc
C++
057_Pure_GLFW_OpenGL_Test/src/main.cc
DreamWaterFound/Codes
e7d80eb8bfd7d6f104abd18724cb4bface419233
[ "WTFPL" ]
13
2019-02-28T14:28:23.000Z
2021-12-04T04:55:19.000Z
057_Pure_GLFW_OpenGL_Test/src/main.cc
DreamWaterFound/Codes
e7d80eb8bfd7d6f104abd18724cb4bface419233
[ "WTFPL" ]
1
2019-09-07T09:00:50.000Z
2019-12-04T02:13:25.000Z
057_Pure_GLFW_OpenGL_Test/src/main.cc
DreamWaterFound/Codes
e7d80eb8bfd7d6f104abd18724cb4bface419233
[ "WTFPL" ]
1
2020-03-11T16:47:31.000Z
2020-03-11T16:47:31.000Z
#include <iostream> #include <string> #include <cmath> // gl3w #include <GL/gl3w.h> // GLFW #include <GLFW/glfw3.h> #include <cstring> #define M3D_PI (3.141562954f) #define GLT_ATTRIBUTE_VERTEX 1 using namespace std; float gfpProjectMatrix[16]; float gfpModelViewMatrix[16]; float gfpCameraFrame[16]; float gfpObj...
30.020033
124
0.575186
[ "geometry", "vector" ]
32905f709114ebd5b744cc697ad5576200166524
4,268
cpp
C++
src/MapHandler.cpp
wlue/codename_portal
c7409cf9e756417974a7f284ade0bba24026c212
[ "MIT", "Unlicense" ]
1
2021-03-27T03:00:34.000Z
2021-03-27T03:00:34.000Z
src/MapHandler.cpp
wlue/codename_portal
c7409cf9e756417974a7f284ade0bba24026c212
[ "MIT", "Unlicense" ]
null
null
null
src/MapHandler.cpp
wlue/codename_portal
c7409cf9e756417974a7f284ade0bba24026c212
[ "MIT", "Unlicense" ]
null
null
null
#include "MapHandler.h" #include "CTile.h" #include "CTurret.h" MapHandler::MapHandler(string file) { OpenFile(file); } MapHandler::MapHandler() { datInfo = datKey = datMap = ""; loaded = false; } MapHandler::~MapHandler() { } void MapHandler::OpenFile(string file) { ClearData(); filename = file; LoadData(...
20.037559
96
0.616917
[ "vector" ]
32929e54a436d887ad1fa4c7f40bb004064cfb65
94,273
cpp
C++
Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "LightmassScene.h" #include "Importer.h" #include "MonteCarlo.h" #include "LightingSystem.h" #include "LMDebug.h" namespace Lightmass { /** Copy ctor that doesn't modify padding in FSceneFileHeader. */ FSceneFileHeader::FSceneFileHeader(const FSce...
41.695268
209
0.758276
[ "mesh", "vector", "transform", "3d", "solid" ]
329a1969f2fe837139f69afc97055b625d40f5b1
13,421
hpp
C++
src/include/miopen/solver.hpp
marty1885/MIOpen
e4fb0b24872505d5cb6009007d2030d4a03e70f8
[ "MIT" ]
4
2017-07-12T12:05:37.000Z
2018-09-07T04:00:51.000Z
src/include/miopen/solver.hpp
marty1885/MIOpen
e4fb0b24872505d5cb6009007d2030d4a03e70f8
[ "MIT" ]
null
null
null
src/include/miopen/solver.hpp
marty1885/MIOpen
e4fb0b24872505d5cb6009007d2030d4a03e70f8
[ "MIT" ]
1
2020-11-19T11:09:35.000Z
2020-11-19T11:09:35.000Z
/******************************************************************************* * * MIT License * * Copyright (c) 2017 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
37.074586
98
0.669101
[ "vector" ]
329decc693b102228d465b42458a5394d22a405d
1,035
cpp
C++
src/IO/H5/Header.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/IO/H5/Header.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/IO/H5/Header.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "IO/H5/Header.hpp" #include <algorithm> #include <regex> #include <sstream> #include <vector> #include "IO/H5/Helpers.hpp" #include "Informer/InfoFromBuild.hpp" #include "Utilities/StdHelpers.hpp" namespace h5 { /// \cond HIDDEN_SYMOLS H...
27.972973
79
0.644444
[ "vector" ]
32b738c8ba4d38f6b98520676574c7d528d07ce5
1,430
cpp
C++
test/src/meshTestUtils.cpp
milindasf/Dendro-5.01
ea92ba54860c500b656921ebbd2f5cf2d8dfc55d
[ "MIT" ]
16
2018-12-22T02:05:46.000Z
2021-12-16T23:47:43.000Z
test/src/meshTestUtils.cpp
milindasf/Dendro-5.01
ea92ba54860c500b656921ebbd2f5cf2d8dfc55d
[ "MIT" ]
1
2019-11-06T22:17:32.000Z
2019-11-07T20:23:44.000Z
test/src/meshTestUtils.cpp
milindasf/Dendro-5.01
ea92ba54860c500b656921ebbd2f5cf2d8dfc55d
[ "MIT" ]
5
2019-07-09T02:59:27.000Z
2020-12-12T16:57:45.000Z
/** * @file meshTestUtils.cpp * @author Milinda Fernando (milinda@cs.utah.edu) * @brief meshTest utility functiuons. * @version 0.1 * @date 2020-01-16 * * School of Computing, University of Utah. * @copyright Copyright (c) 2020 * */ #include "meshTestUtils.h" bool ot::test::isBlkFlagsValid(const ot::Mes...
28.039216
183
0.606294
[ "mesh", "vector" ]
32be4e88a1bd13b2a36f7925abbdf318380c3b7a
4,269
cpp
C++
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Edge gesture invocation sample (Windows 8)/C++/ScenarioInput1.xaml.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Edge gesture invocation sample (Windows 8)/C++/ScenarioInput1.xaml.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Edge gesture invocation sample (Windows 8)/C++/ScenarioInput1.xaml.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved // // ScenarioInput1.xaml....
34.427419
167
0.757086
[ "object" ]
77f7ae33c6d0183d43df87489d13f69180b1cbe5
4,649
cpp
C++
com/netfx/src/clr/managedlibraries/custommarshalers/enumeratorviewofenumvariant.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/clr/managedlibraries/custommarshalers/enumeratorviewofenumvariant.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/clr/managedlibraries/custommarshalers/enumeratorviewofenumvariant.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //***************************************************************************** // EnumeratorToEnumVariantMarshaler.cpp // // This file provides the implemention of the EnumeratorToEnumVariantMarshaler // class. This cl...
27.187135
89
0.594536
[ "object" ]
77fe4dd50c3ae5ee4d84338aed47a95949954c24
12,391
hpp
C++
Sources/SolarTears/Rendering/Vulkan/VulkanShaders.hpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
4
2021-06-30T16:00:20.000Z
2021-10-13T06:17:56.000Z
Sources/SolarTears/Rendering/Vulkan/VulkanShaders.hpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
Sources/SolarTears/Rendering/Vulkan/VulkanShaders.hpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "../../../3rdParty/SPIRV-Reflect/spirv_reflect.h" #include <vulkan/vulkan.h> #include <span> #include <unordered_map> #include "../../Core/DataStructures/Span.hpp" #include "../Common/FrameGraph/ModernFrameGraphMisc.hpp" #include "FrameGraph/VulkanRenderPass.hpp" #include "FrameGraph/VulkanFrame...
54.346491
210
0.790574
[ "render", "object", "vector", "transform" ]
ae0865fba8f910c157bf19f6e8269fd67183f93e
3,517
cpp
C++
mp/src/old/dlls/te_killplayerattachments.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/dlls/te_killplayerattachments.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/dlls/te_killplayerattachments.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
//======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of // Valve, L.L.C., or in accordance with the terms and conditions stipulated in // the ...
32.869159
97
0.490759
[ "vector" ]
ae0b6e1fbb51c89cdc68d202644e4234c7dd0d4e
6,910
hpp
C++
sciplot/specs/BorderSpecs.hpp
Overhatted/sciplot
ca0bd2ceb70e799d2d55ba7e28f6d73a5d3f2854
[ "MIT" ]
397
2019-01-13T13:05:11.000Z
2022-03-27T09:30:27.000Z
sciplot/specs/BorderSpecs.hpp
Overhatted/sciplot
ca0bd2ceb70e799d2d55ba7e28f6d73a5d3f2854
[ "MIT" ]
76
2019-01-14T06:56:59.000Z
2022-02-02T09:37:47.000Z
sciplot/specs/BorderSpecs.hpp
Overhatted/sciplot
ca0bd2ceb70e799d2d55ba7e28f6d73a5d3f2854
[ "MIT" ]
56
2019-01-13T16:00:18.000Z
2022-03-25T14:12:36.000Z
// sciplot - a modern C++ scientific plotting library powered by gnuplot // https://github.com/sciplot/sciplot // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // // Copyright (c) 2018-2021 Allan Leal // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this...
27.975709
120
0.697974
[ "object", "3d" ]
ae1266f09d8834d7f391ae8a58842d60f2232734
4,355
hpp
C++
shared/src/shared/wind/base_functions.hpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
1
2021-04-26T11:24:02.000Z
2021-04-26T11:24:02.000Z
shared/src/shared/wind/base_functions.hpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
1
2020-06-09T08:53:07.000Z
2020-06-16T13:37:15.000Z
shared/src/shared/wind/base_functions.hpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
null
null
null
#pragma once #include "shared/math/math.hpp" #include "shared/types.hpp" #include <variant> #include <vector> #include <ThirdParty/json.hpp> namespace alflib { class RawMemoryWriter; class RawMemoryReader; } // namespace alflib namespace wind { namespace baseFunctions { enum class Type : u32 { kConstant = 0, ...
24.329609
73
0.641561
[ "object", "vector" ]
ae12b3eb3bf50f29dbbdb4b519f130d32aba2692
21,923
cpp
C++
src/trace/D3DPixRunPlayer/D3D9PixRunPlayer.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
23
2016-01-14T04:47:13.000Z
2022-01-13T14:02:08.000Z
src/trace/D3DPixRunPlayer/D3D9PixRunPlayer.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
2
2018-03-25T14:39:20.000Z
2022-03-18T05:11:21.000Z
src/trace/D3DPixRunPlayer/D3D9PixRunPlayer.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
17
2016-02-13T05:35:35.000Z
2022-03-24T16:05:40.000Z
/************************************************************************** * * Copyright (c) 2002 - 2011 by Computer Architecture Department, * Universitat Politecnica de Catalunya. * All rights reserved. * * The contents of this file may not be disclosed to third parties, * copied or duplicated in any form, in...
32.430473
132
0.680655
[ "vector" ]
ae1330271c4a32a44d78ccff01be97461a4d5280
5,096
hpp
C++
component/oai-amf/src/nas/msgs/RegistrationAccept.hpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-amf/src/nas/msgs/RegistrationAccept.hpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-amf/src/nas/msgs/RegistrationAccept.hpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
41.430894
81
0.787873
[ "vector" ]
ae1599a0829872b2ab8cfd99a22013bb4d4aa92d
6,559
cpp
C++
Utilities/PDBLigandUtils.cpp
ElianeBriand/SMolDock
de0cb746ef995ae0eef0f812ebd61727311c332f
[ "Apache-2.0" ]
1
2019-05-30T02:33:13.000Z
2019-05-30T02:33:13.000Z
Utilities/PDBLigandUtils.cpp
ElianeBriand/SMolDock
de0cb746ef995ae0eef0f812ebd61727311c332f
[ "Apache-2.0" ]
null
null
null
Utilities/PDBLigandUtils.cpp
ElianeBriand/SMolDock
de0cb746ef995ae0eef0f812ebd61727311c332f
[ "Apache-2.0" ]
3
2020-12-30T19:11:51.000Z
2021-06-25T02:45:49.000Z
// // Created by eliane on 23/12/18. // #include "PDBLigandUtils.h" #include <boost/log/trivial.hpp> namespace SmolDock { void AssignBondOrderFromTemplateSMILES(std::shared_ptr<RDKit::RWMol> mol, const std::string &smiles) { RDKit::RWMol* attempt_ptr = nullptr; try { /* This can thro...
46.51773
127
0.541241
[ "vector" ]
ae193ddb05518a29542ce32cf42060df17082a4f
4,428
hpp
C++
Axis/System/Include/Axis/Function.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-23T14:51:51.000Z
2022-01-23T14:51:51.000Z
Axis/System/Include/Axis/Function.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
null
null
null
Axis/System/Include/Axis/Function.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-10T21:01:54.000Z
2022-01-10T21:01:54.000Z
/// \copyright Simmypeet - Copyright (C) /// This file is subject to the terms and conditions defined in /// file 'LICENSE', which is part of this source code package. #ifndef AXIS_SYSTEM_FUNCTION_HPP #define AXIS_SYSTEM_FUNCTION_HPP #pragma once #include "Memory.hpp" #include "Trait.hpp" #inclu...
33.801527
117
0.673893
[ "object" ]
ae2e2cf46963c299be4b51eaaedab14a58ffb5cb
7,600
cc
C++
fwdmodel_pet_1TCM.cc
pauldmccarthy/fabber_models_pet
ffef95482a1285fad5785e0d666dfac9b522f6be
[ "Apache-2.0" ]
null
null
null
fwdmodel_pet_1TCM.cc
pauldmccarthy/fabber_models_pet
ffef95482a1285fad5785e0d666dfac9b522f6be
[ "Apache-2.0" ]
null
null
null
fwdmodel_pet_1TCM.cc
pauldmccarthy/fabber_models_pet
ffef95482a1285fad5785e0d666dfac9b522f6be
[ "Apache-2.0" ]
1
2021-06-09T13:47:08.000Z
2021-06-09T13:47:08.000Z
/** * fwdmodel_pet_1TCM.cc * * Implementation of one tissue compartment model for PET * Moss Zhao - Center for Advanced Functional Neuroimaging (CAFN), Stanford University */ /* CCOPYRIGHT */ #include "fwdmodel_pet_1TCM.h" #include <fabber_core/easylog.h> #include <fabber_core/priors.h> #include <miscmaths/mi...
31.53527
150
0.626184
[ "vector", "model" ]
ae2f77dacdf0354d305aca68e29d2d88ab3ba7ef
31,205
cxx
C++
motionbuilder/plugins/Device_LiveBridge/shared.cxx
Neill3d/ACT
367e6648d255f4dfb38816ce6b4ecc47880b9aaa
[ "MIT" ]
29
2019-11-21T16:24:20.000Z
2021-01-20T03:52:44.000Z
motionbuilder/plugins/Device_LiveBridge/shared.cxx
Neill3d/ACT
367e6648d255f4dfb38816ce6b4ecc47880b9aaa
[ "MIT" ]
null
null
null
motionbuilder/plugins/Device_LiveBridge/shared.cxx
Neill3d/ACT
367e6648d255f4dfb38816ce6b4ecc47880b9aaa
[ "MIT" ]
3
2019-11-22T04:43:35.000Z
2020-09-25T08:23:56.000Z
/* # # Copyright(c) 2020 Avalanche Studios.All rights reserved. # Licensed under the MIT License. # # 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 limit...
24.227484
121
0.668419
[ "object", "vector", "model" ]
ae4734361ca87b62808bce33a8a363f6836b3162
17,491
cpp
C++
elf2mif/elf2mif.cpp
emmicro-us/elf2mif
981983a02f0c1a9ac3adb6a844ee1bd02d4d1e7f
[ "BSD-2-Clause" ]
null
null
null
elf2mif/elf2mif.cpp
emmicro-us/elf2mif
981983a02f0c1a9ac3adb6a844ee1bd02d4d1e7f
[ "BSD-2-Clause" ]
null
null
null
elf2mif/elf2mif.cpp
emmicro-us/elf2mif
981983a02f0c1a9ac3adb6a844ee1bd02d4d1e7f
[ "BSD-2-Clause" ]
2
2020-04-09T23:31:10.000Z
2020-04-22T13:53:28.000Z
//////////////////////////////////////////////////////////////////////////////// /// /// @file elf2mif/elf2mif.cpp /// /// @project elf2mif /// /// @brief Tool to generate a Memory Initilization File (MIF) for a given /// memory region. /// /////////////////////////////////////////////////////...
29.249164
164
0.560574
[ "vector" ]
ae4eac7b18af2af8a61257aa6159b135220bfc8c
1,634
cpp
C++
Dojo/C++ Programming Practices and Principles - Stroustrup/ch5/trythisareaerrorcatcher.cpp
miguelraz/PathToPerformance
4f098e55023007e62c338d31a7ed2a46a3c99752
[ "MIT" ]
5
2017-05-04T22:25:06.000Z
2022-02-15T13:44:50.000Z
Dojo/C++ Programming Practices and Principles - Stroustrup/ch5/trythisareaerrorcatcher.cpp
miguelraz/PathToPerformance
4f098e55023007e62c338d31a7ed2a46a3c99752
[ "MIT" ]
null
null
null
Dojo/C++ Programming Practices and Principles - Stroustrup/ch5/trythisareaerrorcatcher.cpp
miguelraz/PathToPerformance
4f098e55023007e62c338d31a7ed2a46a3c99752
[ "MIT" ]
null
null
null
// Ex. 17 - Quadratic root solver #include "std_lib_facilities.h" #include <vector> #include <iostream> using namespace std; int area(int length, int width) { //Check for area stuff if (length <= 0 || width <= 0) return -1; //Output. cout << "area(::int, ::int) returns " << length*width << endl; re...
24.38806
82
0.576499
[ "vector" ]
ae5208c7b876300b8ff19560c86c925797baaf8d
3,393
cpp
C++
src/Core/src/convert_to_space_boundaries.cpp
rosecodym/space-boundary-tool
300db4084cd19b092bdf2e8432da065daeaa7c55
[ "FSFAP" ]
6
2016-11-01T11:09:00.000Z
2022-02-15T06:31:58.000Z
src/Core/src/convert_to_space_boundaries.cpp
rosecodym/space-boundary-tool
300db4084cd19b092bdf2e8432da065daeaa7c55
[ "FSFAP" ]
null
null
null
src/Core/src/convert_to_space_boundaries.cpp
rosecodym/space-boundary-tool
300db4084cd19b092bdf2e8432da065daeaa7c55
[ "FSFAP" ]
null
null
null
#include "precompiled.h" #include "exceptions.h" #include "report.h" #include "sbt-core.h" #include "space.h" #include "surface.h" #include "convert_to_space_boundaries.h" using namespace reporting; namespace interface_conversion { namespace impl { namespace { void set_vertex(polyloop * loop, size_t ix, double x...
27.362903
105
0.687592
[ "geometry" ]
ae536912d5eb6d6b4482cc9357f9bd6c4bb89e6f
28,341
cpp
C++
02-Bubble/02-Bubble/02-Bubble/Player.cpp
Xilef09/2DGame
d33cbca6cce78ca05d08d32e4aa7d61745495ef6
[ "Apache-2.0" ]
null
null
null
02-Bubble/02-Bubble/02-Bubble/Player.cpp
Xilef09/2DGame
d33cbca6cce78ca05d08d32e4aa7d61745495ef6
[ "Apache-2.0" ]
null
null
null
02-Bubble/02-Bubble/02-Bubble/Player.cpp
Xilef09/2DGame
d33cbca6cce78ca05d08d32e4aa7d61745495ef6
[ "Apache-2.0" ]
null
null
null
#include <cmath> #include <iostream> #include <GL/glew.h> #include <GL/glut.h> #include "Player.h" #include "Game.h" #define JUMP_ANGLE_STEP 2 #define JUMP_HEIGHT 65 #define FALL_STEP 4 enum PlayerAnims { STAND_LEFT, STAND_RIGHT, MOVE_LEFT, MOVE_RIGHT, JUMP_RIGHT, JUMP_LEFT, JUMP_RUN_RIGHT, JUMP_RUN_LEFT, JUMP_ST...
43.939535
169
0.725168
[ "render" ]
ae5a695bf9efdb304c686a8f89a159b3571f3cd2
3,641
cpp
C++
code/1095_Cars on Campus.cpp
BitterPotato/PATInC
c4bd2e0cbd98b82b5393f3b95a3c7f68b40cab49
[ "MIT" ]
null
null
null
code/1095_Cars on Campus.cpp
BitterPotato/PATInC
c4bd2e0cbd98b82b5393f3b95a3c7f68b40cab49
[ "MIT" ]
1
2017-03-06T07:58:32.000Z
2017-03-06T08:00:54.000Z
code/1095_Cars on Campus.cpp
BitterPotato/PATInC
c4bd2e0cbd98b82b5393f3b95a3c7f68b40cab49
[ "MIT" ]
null
null
null
//--1095-- #include <stdio.h> #include <stdlib.h> #include <string> #include <string.h> #include <math.h> #include <vector> #include <map> #include <algorithm> #define debug 0 using namespace std; struct Record { char plate[6]; int date; int status; }; bool cmp1(Record a, Record b) { if(strcmp(a.p...
25.640845
96
0.500412
[ "vector" ]
ae5ed15a71285bb7e7f6cc3c12ff13dbddce8731
646
cpp
C++
CodeForces/Complete/200-299/246C-BeautyPageant.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/200-299/246C-BeautyPageant.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/200-299/246C-BeautyPageant.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(){ long n, k; scanf("%ld %ld\n", &n, &k); std::vector<long> beauty(n); for(int p = 0; p < n; p++){scanf("%ld", &beauty[p]);} long remaining = k; for(int p = 0; p < n; p++){ if(remaining <= 0){break;} printf("1 %ld\n", beauty[p]); ...
20.83871
65
0.46904
[ "vector" ]
ae64b6a8e807851824e17a1689ebd4f70666b990
7,929
cpp
C++
Examples/Plugins/org.mitk.example.gui.imaging/src/internal/surfaceutilities/mitkSurfaceModifier.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
5
2015-05-27T06:57:53.000Z
2020-03-12T21:08:23.000Z
Examples/Plugins/org.mitk.example.gui.imaging/src/internal/surfaceutilities/mitkSurfaceModifier.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
141
2015-03-03T06:52:01.000Z
2020-12-10T07:28:14.000Z
Examples/Plugins/org.mitk.example.gui.imaging/src/internal/surfaceutilities/mitkSurfaceModifier.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
4
2015-02-19T06:48:13.000Z
2020-06-19T16:20:25.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
34.324675
267
0.715475
[ "vector", "transform" ]
ae65fd9c1c4e4aa793f04adf4740179d380a0418
13,727
cpp
C++
apiwznm/PnlWznmSteDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
apiwznm/PnlWznmSteDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
apiwznm/PnlWznmSteDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file PnlWznmSteDetail.cpp * API code for job PnlWznmSteDetail (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #include "PnlWznmSteDetail.h" using namespace std; using namespace Sbec...
26.863014
129
0.638304
[ "vector" ]
ae6784c8378eea655cd2d96042769e441b7c9d45
1,241
hh
C++
src/pks/multiphase/WRMmp_Simple.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/multiphase/WRMmp_Simple.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/multiphase/WRMmp_Simple.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* This is the multiphase component of the Amanzi code. Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Authors: Quan Bui (mquanb...
24.333333
65
0.753425
[ "model" ]
ae6daae0b6e76b9bd6cab178b873a5295fc3c46b
2,151
cpp
C++
src/applications/demos/dairy_farm/storage_udl.cpp
yw2399/cascade
5aa0e750851affc0583bea125fa5d6714ca07d97
[ "BSD-3-Clause" ]
21
2020-09-07T20:57:00.000Z
2022-03-30T18:18:37.000Z
src/applications/demos/dairy_farm/storage_udl.cpp
yw2399/cascade
5aa0e750851affc0583bea125fa5d6714ca07d97
[ "BSD-3-Clause" ]
17
2020-09-10T11:09:08.000Z
2021-12-28T04:56:23.000Z
src/applications/demos/dairy_farm/storage_udl.cpp
yw2399/cascade
5aa0e750851affc0583bea125fa5d6714ca07d97
[ "BSD-3-Clause" ]
17
2020-09-10T11:00:13.000Z
2022-02-26T22:00:27.000Z
#include <cascade/user_defined_logic_interface.hpp> #include <iostream> #include <vector> #include "time_probes.hpp" namespace derecho{ namespace cascade{ #define MY_UUID "36590e58-4ca2-11ec-b26b-0242ac110002" #define MY_DESC "The Dairy Farm DEMO: Storage UDL for evaluation" std::string get_uuid() { retu...
30.295775
114
0.625291
[ "vector" ]
ae760ef731965a08d6fd26ce175f1383b280f63d
33,366
cpp
C++
src/qt/metadexdialog.cpp
huluha/omnicore
c806479765feb0dd7dce35414e3602200315c8c9
[ "MIT" ]
1
2021-06-16T02:32:09.000Z
2021-06-16T02:32:09.000Z
src/qt/metadexdialog.cpp
huluha/omnicore
c806479765feb0dd7dce35414e3602200315c8c9
[ "MIT" ]
null
null
null
src/qt/metadexdialog.cpp
huluha/omnicore
c806479765feb0dd7dce35414e3602200315c8c9
[ "MIT" ]
null
null
null
// Copyright (c) 2011-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "metadexdialog.h" #include "ui_metadexdialog.h" #include "omnicore_qtutils.h" #include "clientmodel.h" #include "wa...
44.726542
196
0.665708
[ "vector", "model" ]
ae797933dc0efe0084f5bf83f46f92e14d8c3902
2,747
hpp
C++
musicasm/sheet.hpp
fleebness/musicasm
5ad2582687fa5836e1357bd72a951ec26025f528
[ "Apache-2.0" ]
2
2016-02-22T15:59:37.000Z
2016-02-29T00:32:21.000Z
musicasm/sheet.hpp
fleebness/musicasm
5ad2582687fa5836e1357bd72a951ec26025f528
[ "Apache-2.0" ]
null
null
null
musicasm/sheet.hpp
fleebness/musicasm
5ad2582687fa5836e1357bd72a951ec26025f528
[ "Apache-2.0" ]
null
null
null
#if !defined SHEET_HPP #define SHEET_HPP #include <map> #include <memory> #include <ratio> #include <vector> #include "_base_obs.hpp" #include "_basic_value.hpp" #include "adsr.hpp" #include "base_note.hpp" #include "voice.hpp" namespace tvr { namespace ma { /// Interface for the tempo data typ...
25.915094
83
0.640335
[ "vector" ]
ae7aebf844b02685c8ac2111f20bd5aa492ecc2e
39,186
cpp
C++
DicomWebStorge/Orthanc-1.7.4/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp
a2609194449/Assistant-decision-making-system-for-gallbladder-cancer-
75a9d3432cb510ea94fa09cc9b440e8b8e7f0a84
[ "MIT" ]
1
2020-11-05T08:34:23.000Z
2020-11-05T08:34:23.000Z
DicomWebStorge/Orthanc-1.7.4/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp
a2609194449/Assistant-decision-making-system-for-gallbladder-cancer-
75a9d3432cb510ea94fa09cc9b440e8b8e7f0a84
[ "MIT" ]
null
null
null
DicomWebStorge/Orthanc-1.7.4/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp
a2609194449/Assistant-decision-making-system-for-gallbladder-cancer-
75a9d3432cb510ea94fa09cc9b440e8b8e7f0a84
[ "MIT" ]
1
2020-11-12T09:00:30.000Z
2020-11-12T09:00:30.000Z
/** * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics * Department, University Hospital of Liege, Belgium * Copyright (C) 2017-2020 Osimis S.A., Belgium * * This program is free software: you can redistribute it and/or * modify it under the terms of the G...
28.940916
107
0.587812
[ "vector" ]
ae7dd577d94d9808cd13cb0e9db8532df24e1367
774
hpp
C++
cpp/include/cmeans.hpp
billsioros/MMGP
d9cdd206e9baa4991ade1304dc4be53e1859b49d
[ "MIT" ]
3
2018-08-21T14:47:32.000Z
2019-10-31T21:02:35.000Z
cpp/include/cmeans.hpp
billsioros/MMGP
d9cdd206e9baa4991ade1304dc4be53e1859b49d
[ "MIT" ]
1
2019-11-14T22:59:07.000Z
2019-11-15T13:18:47.000Z
include/cmeans.hpp
billsioros/cmeans
96bf9fd89cb9f86a52cb9ceecbe17d379db4e24d
[ "MIT" ]
null
null
null
#pragma once #include <unordered_set> // std::unordered_set #include <vector> // std::vector #include <functional> // std::function template <typename T> class Cluster { T _centroid; std::unordered_set<const T *> _elements; public: Cluster(const T&); Cluster(const Cluster&);...
20.918919
58
0.614987
[ "vector" ]
ae841ba74e7c4fed3ae097a83950cb4251fdb307
12,768
hh
C++
RAVL2/Core/IO/AttributeCtrl.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Core/IO/AttributeCtrl.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Core/IO/AttributeCtrl.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2003, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
38.227545
86
0.696742
[ "object" ]
ae87fa37f76da9730e137e9f9a59d941259937e8
4,468
cpp
C++
src/circuit_reader.cpp
geochrist/dctk
6bda842ae8ee2259aa1a969a08be5bcb126ec534
[ "MIT" ]
16
2019-10-23T02:34:08.000Z
2022-03-14T06:08:21.000Z
src/circuit_reader.cpp
geochrist/dctk
6bda842ae8ee2259aa1a969a08be5bcb126ec534
[ "MIT" ]
1
2019-11-11T03:35:27.000Z
2019-11-11T05:07:22.000Z
src/circuit_reader.cpp
geochrist/dctk
6bda842ae8ee2259aa1a969a08be5bcb126ec534
[ "MIT" ]
11
2019-10-20T10:47:35.000Z
2021-07-02T04:53:28.000Z
// Circuits Reader //#include <experimental/filesystem> #include <stdio.h> /* for printf */ #include <stdlib.h> /* for exit */ #include <getopt.h> #include <fstream> #include <iostream> #include <yaml-cpp/yaml.h> #include "Circuit.hpp" #include <string> #include "dctk.hpp" #include "circuit_reader.hpp" #include...
36.325203
107
0.648165
[ "object" ]
ae97939980c2fe8b9f9fe8c6ce42c5df85112d71
7,149
cxx
C++
GPU/TPCFastTransformation/IrregularSpline1D.cxx
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
null
null
null
GPU/TPCFastTransformation/IrregularSpline1D.cxx
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
null
null
null
GPU/TPCFastTransformation/IrregularSpline1D.cxx
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
1
2022-01-24T11:11:42.000Z
2022-01-24T11:11:42.000Z
// Copyright CERN and copyright holders of ALICE O2. This software is // distributed under the terms of the GNU General Public License v3 (GPL // Version 3), copied verbatim in the file "COPYING". // // See http://alice-o2.web.cern.ch/license for full licensing information. // // In applying this license CERN does not ...
32.9447
120
0.637292
[ "object", "vector" ]
000c0bf0306ccacdd76e7a05adde976f95c51c15
688
cpp
C++
Codeforces/div3#481/D.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
1
2020-05-25T15:32:23.000Z
2020-05-25T15:32:23.000Z
Codeforces/div3#481/D.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
null
null
null
Codeforces/div3#481/D.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define MAX 1000005 using namespace std; int main(){ int n, ans = MAX; int c[3] = {-1, 0, 1}; cin >> n; vector<int>a(n), b(n); for(int i=0; i<n; i++) cin >> b[i]; for(int i=0; i<3; i++){ a[0] = b[0] + c[i]; for(int j=0; j<3; j++){ a[1] = b[1] + c[j]; int diff = a...
15.288889
46
0.438953
[ "vector" ]
000f0c2840e328234f66255783704b45faf96dce
1,433
cpp
C++
Modules/Serialization/Source/Core/BlueprintReader.cpp
larsoad/pargon-framework
0f616c889c329d66ea89a6358ccb0ce1efe13c41
[ "MIT" ]
null
null
null
Modules/Serialization/Source/Core/BlueprintReader.cpp
larsoad/pargon-framework
0f616c889c329d66ea89a6358ccb0ce1efe13c41
[ "MIT" ]
null
null
null
Modules/Serialization/Source/Core/BlueprintReader.cpp
larsoad/pargon-framework
0f616c889c329d66ea89a6358ccb0ce1efe13c41
[ "MIT" ]
null
null
null
#include "Pargon/Serialization/BlueprintReader.h" using namespace Pargon; BlueprintReader::BlueprintReader(const Blueprint& blueprint) : _current(std::addressof(blueprint)), _currentIndex(0u) { } auto BlueprintReader::ReadBoolean() -> bool { return _current->AsBoolean(); } auto BlueprintReader::ReadInteger() -> ...
19.630137
92
0.710398
[ "object" ]
00101f6135d8f75b1a3d030f46d6c2576906ad0b
2,517
cpp
C++
2021/Feb/04-feb/Diego_is_the_best_Brazilian_robber.cpp
pdet/cqc
14d096274d4d3670ba28f3279102fb817ae795be
[ "MIT" ]
2
2020-11-27T12:31:08.000Z
2021-02-01T07:01:14.000Z
2021/Feb/04-feb/Diego_is_the_best_Brazilian_robber.cpp
pdet/cqc
14d096274d4d3670ba28f3279102fb817ae795be
[ "MIT" ]
null
null
null
2021/Feb/04-feb/Diego_is_the_best_Brazilian_robber.cpp
pdet/cqc
14d096274d4d3670ba28f3279102fb817ae795be
[ "MIT" ]
1
2020-11-27T19:16:15.000Z
2020-11-27T19:16:15.000Z
//! You are a professional brazilian planning to rob houses along a street. Each house has a certain amount of money stashed. //! All houses at this place are arranged in a circle. That means the first house is the neighbor of the last one. //! Meanwhile, adjacent houses have a security system connected, //! and it w...
30.695122
125
0.653159
[ "vector" ]
001297687e1b6ff47d52684290804dfe4b5632fa
3,256
cpp
C++
example/draw/draw.cpp
bigno78/drag
a7fc1ff77a0e743bbe9a9e72a310a015f6f3b098
[ "BSD-3-Clause" ]
3
2020-07-29T19:38:51.000Z
2022-01-28T05:13:55.000Z
example/draw/draw.cpp
bigno78/drag
a7fc1ff77a0e743bbe9a9e72a310a015f6f3b098
[ "BSD-3-Clause" ]
2
2020-09-05T19:59:15.000Z
2021-12-05T20:50:41.000Z
example/draw/draw.cpp
bigno78/drag
a7fc1ff77a0e743bbe9a9e72a310a015f6f3b098
[ "BSD-3-Clause" ]
2
2020-07-29T19:44:52.000Z
2022-01-28T05:13:59.000Z
#include "parser.hpp" #include <drag/drag.hpp> #include <drag/drawing/draw.hpp> #include <iostream> #include <string> #include <string_view> #include <filesystem> namespace fs = std::filesystem; /** * Return all regular files in the specified directory with the given extension. * * The names don't contain the d...
25.84127
99
0.582617
[ "vector" ]
0016e96ba27b48c4b569453f6b6c78f305e23497
24,413
cpp
C++
Source/AnimAssistantLib/Private/AnimAssistantLibBPLibrary.cpp
wuguyannian/AnimAssistant
3aec90344795d1c5bc21c644ddd09e2f958276f5
[ "MIT" ]
2
2021-03-26T12:43:20.000Z
2021-11-03T07:18:29.000Z
Source/AnimAssistantLib/Private/AnimAssistantLibBPLibrary.cpp
wuguyannian/AnimAssistant
3aec90344795d1c5bc21c644ddd09e2f958276f5
[ "MIT" ]
null
null
null
Source/AnimAssistantLib/Private/AnimAssistantLibBPLibrary.cpp
wuguyannian/AnimAssistant
3aec90344795d1c5bc21c644ddd09e2f958276f5
[ "MIT" ]
5
2021-03-28T20:49:48.000Z
2022-03-13T09:57:51.000Z
// Copyright (C) 2021 Wuguyannian - All Rights Reserved #include "AnimAssistantLibBPLibrary.h" #include "AnimAssistantLib.h" #include "Animation/Skeleton.h" #include "Serialization/ArchiveReplaceObjectRef.h" #include "Animation/AnimationAsset.h" #include "Animation/AnimSequence.h" #include "Animation/AnimBluep...
34.336146
218
0.741326
[ "object", "transform" ]
00175e426e5074a931a12c51b33220bc2738d8a3
408
cpp
C++
source/Ch08/orai_anyag/undef.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
source/Ch08/orai_anyag/undef.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
source/Ch08/orai_anyag/undef.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
#include "std_lib_facilities.h" void f (int a, int b) { cout << a << ' ' << b << endl; } int main() { vector<int> v (10); int i = 0; while (i<9) v[i] = i++; //kiértékelési sorrend nincs meghatározva c++-ban -> error for (const auto& e : v) cout << e << endl; int x =i++ + i++; //válto...
15.692308
73
0.495098
[ "vector" ]
0027f3071874e212effe13803099ab74dde2f3a7
8,402
hpp
C++
src/ct_icp/odometry.hpp
xiang-1208/ct_icp
42928e584c24595c49e147e2ea120f8cc31ec716
[ "MIT" ]
123
2021-10-08T01:51:45.000Z
2022-03-31T08:55:15.000Z
src/ct_icp/odometry.hpp
ZuoJiaxing/ct_icp
1c371331aad833faec157c015fb8f72143019caa
[ "MIT" ]
9
2021-10-19T07:25:46.000Z
2022-03-31T03:20:19.000Z
src/ct_icp/odometry.hpp
ZuoJiaxing/ct_icp
1c371331aad833faec157c015fb8f72143019caa
[ "MIT" ]
23
2021-10-08T01:49:01.000Z
2022-03-24T15:35:07.000Z
#ifndef CT_ICP_ODOMETRY_H #define CT_ICP_ODOMETRY_H #include "ct_icp.hpp" #include <map> namespace ct_icp { enum MOTION_COMPENSATION { NONE = 0, // No compensation of the motion CONSTANT_VELOCITY = 1, // Initial distortion of the point cloud based on the estimated velocity IT...
40.009524
125
0.658534
[ "vector", "transform" ]
0030ee8eb048faa7d06d411fc5309e1168b2e54d
6,625
cpp
C++
JPSvisUE/Source/JPSvisUE/Structure/Actors/Building.cpp
Neloress/JPSvisUE
010d321333979edb76dc8eb20cb8e088f312d3b3
[ "MIT" ]
null
null
null
JPSvisUE/Source/JPSvisUE/Structure/Actors/Building.cpp
Neloress/JPSvisUE
010d321333979edb76dc8eb20cb8e088f312d3b3
[ "MIT" ]
null
null
null
JPSvisUE/Source/JPSvisUE/Structure/Actors/Building.cpp
Neloress/JPSvisUE
010d321333979edb76dc8eb20cb8e088f312d3b3
[ "MIT" ]
2
2021-03-30T08:29:07.000Z
2021-08-04T13:36:34.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "Building.h" #include "Floor.h" #include "../Data/Line.h" #include "FloorStructure.h" #include "../../Settings/GlobalSettings.h" #include "../../DataManagment/Cache/CacheEntry.h" #include "Pedestrian.h" #include "../../RuntimeCon...
26.185771
160
0.68166
[ "vector" ]
0034bc3f9abad3661c74aa668cd490e2c462a4ce
1,741
cpp
C++
days/Day07.cpp
willkill07/AdventOfCode2021
06e62cd8a8c7f1e99374075b7302f6dcfb770bb0
[ "Apache-2.0" ]
12
2021-12-02T01:44:53.000Z
2022-02-02T17:22:23.000Z
days/Day07.cpp
willkill07/AdventOfCode2021
06e62cd8a8c7f1e99374075b7302f6dcfb770bb0
[ "Apache-2.0" ]
null
null
null
days/Day07.cpp
willkill07/AdventOfCode2021
06e62cd8a8c7f1e99374075b7302f6dcfb770bb0
[ "Apache-2.0" ]
1
2021-12-03T04:25:32.000Z
2021-12-03T04:25:32.000Z
#include <algorithm> #include <limits> #include <numeric> #include <ranges> #include <vector> #include <scn/all.h> #include "AdventDay.hpp" #include "Day07.hpp" namespace detail { using namespace day07; using Day = AdventDay<id, parsed, result1, result2>; } using detail::Day; template <> Day::parsed_type Day::p...
23.849315
84
0.612292
[ "vector", "transform" ]
003d59e072269fa30627dc140e2b34b27fc8b392
16,123
cpp
C++
src/wrap-clfft.cpp
isuruf/pycl-fft
7380fd573dcd6ff43fa8c1cdd99a861558fc8166
[ "MIT" ]
1
2022-03-24T16:20:27.000Z
2022-03-24T16:20:27.000Z
src/wrap-clfft.cpp
isuruf/pycl-fft
7380fd573dcd6ff43fa8c1cdd99a861558fc8166
[ "MIT" ]
1
2022-03-24T20:40:18.000Z
2022-03-24T20:40:18.000Z
src/wrap-clfft.cpp
isuruf/pycl-fft
7380fd573dcd6ff43fa8c1cdd99a861558fc8166
[ "MIT" ]
1
2022-03-24T20:07:03.000Z
2022-03-24T20:07:03.000Z
// Copyright (C) 2021 Zachary J Weiner // // 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, publi...
36.894737
112
0.641072
[ "object", "vector", "3d" ]
003fdd4a1ef12e62d0cd58d314679e74505a1bd9
24,552
cpp
C++
KeePass.1.39.a/KeePassLibCpp/Util/PwUtil.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
null
null
null
KeePass.1.39.a/KeePassLibCpp/Util/PwUtil.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
null
null
null
KeePass.1.39.a/KeePassLibCpp/Util/PwUtil.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
null
null
null
/* KeePass Password Safe - The Open-Source Password Manager Copyright (C) 2003-2021 Dominik Reichl <dominik.reichl@t-online.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 versio...
27.009901
208
0.689475
[ "vector" ]
0046d8cb946c48f33ada884d6c993246f8983900
932
hpp
C++
src/map/room-description.hpp
Pfeifenjoy/Theseus
9b427c16deaaacfff2e174e3dd133feed9724d3b
[ "MIT" ]
6
2016-10-28T15:39:09.000Z
2019-04-16T09:00:03.000Z
src/map/room-description.hpp
Pfeifenjoy/Theseus
9b427c16deaaacfff2e174e3dd133feed9724d3b
[ "MIT" ]
null
null
null
src/map/room-description.hpp
Pfeifenjoy/Theseus
9b427c16deaaacfff2e174e3dd133feed9724d3b
[ "MIT" ]
6
2017-02-22T17:25:32.000Z
2021-02-03T19:17:06.000Z
/** * @autor Arwed Mett */ #ifndef THESEUS_MAP_ROOMDESCRIPTION #define THESEUS_MAP_ROOMDESCRIPTION #include <vector> #include <memory> #include "../engine/gameobject.hpp" #include <SFML/Graphics.hpp> #include "../engine/components/positionable.hpp" namespace theseus { namespace map { /** * Describes special room...
24.526316
93
0.72103
[ "vector" ]
004c4c6a6a9d8812f3629c49735d693f2f7a0451
10,457
cpp
C++
dll_unit_tests.cpp
tobiasherzke/dll
6db2d71f1d588f510a5546774aa0e44368ea8462
[ "Unlicense" ]
null
null
null
dll_unit_tests.cpp
tobiasherzke/dll
6db2d71f1d588f510a5546774aa0e44368ea8462
[ "Unlicense" ]
null
null
null
dll_unit_tests.cpp
tobiasherzke/dll
6db2d71f1d588f510a5546774aa0e44368ea8462
[ "Unlicense" ]
null
null
null
#include "dll.hh" #include <gmock/gmock.h> #include <mha_algo_comm.hh> class public_if_t : public t::plugins::dll::if_t { public: using t::plugins::dll::if_t::if_t; // inherit constructor using t::plugins::dll::if_t::poll_config;// make poll_config test-accessible }; class mock_if_t : public public_if_t { pub...
65.767296
2,046
0.750024
[ "vector" ]
004de372c768a479038fe7cade91b3320820c3ab
997
cpp
C++
tests/test_stat.cpp
puv13/nsptpp
278c3e1ebb49b5a89884b7dacba8021c699b4e64
[ "MIT" ]
3
2019-10-11T05:51:42.000Z
2021-12-15T13:22:57.000Z
tests/test_stat.cpp
puv13/nsptpp
278c3e1ebb49b5a89884b7dacba8021c699b4e64
[ "MIT" ]
null
null
null
tests/test_stat.cpp
puv13/nsptpp
278c3e1ebb49b5a89884b7dacba8021c699b4e64
[ "MIT" ]
null
null
null
/// file /// /// Tests for the statistical functions in stat.h #include "stat.h" #include <gtest/gtest.h> #include <valarray> #include <vector> TEST(STAT, CanComputeRunningStatistics) { RunningStatistics<double> rs; double max = 1000.; for (auto x = 1.0; x <= max; ++x) { rs.push(x); } EXPECT_NEAR(...
21.212766
73
0.555667
[ "vector" ]
00504af0a7763e72020fdd47a5b4b46e1992fd78
9,024
cpp
C++
Samples/Step02-Creating_Swapchain.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
5
2019-03-02T16:29:15.000Z
2021-11-07T11:07:53.000Z
Samples/Step02-Creating_Swapchain.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
null
null
null
Samples/Step02-Creating_Swapchain.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
2
2018-07-10T18:15:40.000Z
2020-01-03T04:02:32.000Z
// // Created by aicdg on 2017/6/23. // #include "CookbookSampleFramework.h" #include "All_Lib.h" using namespace VKCookbook; class Sample : public VulkanCookbookSampleBase { VkDestroyer<VkInstance> Instance; VkPhysicalDevice PhysicalDevice; VkDestroyer<VkSurfaceKHR> PresentationSurface;...
41.585253
255
0.617908
[ "vector" ]
0052f01c8bb16e6c50866af8a8c92331f1ba89cd
4,457
cpp
C++
dlls/fmod_ambient.cpp
BryanHaley/halflife-updated
b0c072ca496ece59a83008240958833f1e3684a2
[ "Unlicense" ]
1
2022-03-20T04:00:59.000Z
2022-03-20T04:00:59.000Z
dlls/fmod_ambient.cpp
BryanHaley/halflife-updated-fmod
b0c072ca496ece59a83008240958833f1e3684a2
[ "Unlicense" ]
null
null
null
dlls/fmod_ambient.cpp
BryanHaley/halflife-updated-fmod
b0c072ca496ece59a83008240958833f1e3684a2
[ "Unlicense" ]
null
null
null
#include "extdll.h" #include "util.h" #include "cbase.h" #include "UserMessages.h" #include <string> #include <iostream> class CFmodAmbient : public CBaseEntity { public: void Spawn() override; void Use(CBaseEntity* pActivator, CBaseEntity* pOther, USE_TYPE useType, float value) override; bool KeyValue(KeyValueData...
23.834225
122
0.686785
[ "solid" ]
00553647ee135706596c599b8131652148cd2965
2,259
cpp
C++
src/clotho/fitness/normal_fitness_generator.cpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:27:57.000Z
2022-01-25T23:26:54.000Z
src/clotho/fitness/normal_fitness_generator.cpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:12:42.000Z
2015-06-23T12:41:00.000Z
src/clotho/fitness/normal_fitness_generator.cpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright 2015 Patrick Putnam // // 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 o...
33.716418
123
0.697211
[ "vector" ]
0067857c48a0d002881852f2caf4650dbae22e52
1,103
cpp
C++
unittests/workers.cpp
dandycheung/taskflow
96620cce7cf3bb67e039dad4ecd556ba61347787
[ "MIT" ]
3,457
2018-06-09T15:36:42.000Z
2020-06-01T22:09:25.000Z
unittests/workers.cpp
dandycheung/taskflow
96620cce7cf3bb67e039dad4ecd556ba61347787
[ "MIT" ]
146
2018-06-11T04:11:22.000Z
2020-06-01T20:59:21.000Z
unittests/workers.cpp
dandycheung/taskflow
96620cce7cf3bb67e039dad4ecd556ba61347787
[ "MIT" ]
426
2018-06-06T18:01:16.000Z
2020-06-01T05:26:17.000Z
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include <doctest.h> #include <taskflow/taskflow.hpp> class CustomWorkerBehavior : public tf::WorkerInterface { public: CustomWorkerBehavior(std::atomic<size_t>& counter, std::vector<size_t>& ids) : _counter {counter}, _ids {ids} { } void scheduler_...
15.757143
85
0.621034
[ "vector" ]
006e20814c6334c2292fce2de7e4a049e3203d1f
1,919
cpp
C++
Educational-Round-86/Multiple_Testcases.cpp
error400-del/CodeForces-Solution
33d5117283d46977b75127dd0a1ed16d570eba4d
[ "MIT" ]
1
2020-10-17T19:38:22.000Z
2020-10-17T19:38:22.000Z
Educational-Round-86/Multiple_Testcases.cpp
error400-del/CodeForces-Solution
33d5117283d46977b75127dd0a1ed16d570eba4d
[ "MIT" ]
4
2020-10-17T12:12:55.000Z
2020-10-20T06:34:08.000Z
Educational-Round-86/Multiple_Testcases.cpp
error400-del/CodeForces-Solution
33d5117283d46977b75127dd0a1ed16d570eba4d
[ "MIT" ]
7
2020-10-17T12:22:21.000Z
2020-10-20T06:54:25.000Z
// #pragma GCC optimize("O3", "unroll-loops") // #pragma GCC target("avx2") #include <bits/stdc++.h> using namespace std; #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; typedef long long int ll; #define endl '\n' #define ld long double #define all(a) a.beg...
22.057471
89
0.510683
[ "vector" ]
007bc08c864a175e9a9055204434b7baf01fec09
13,239
hpp
C++
include/coring/io_context.hpp
rzbdz/libcoring
dffd4c2193ac4f2ab8822b5e047c056d6eb11f8d
[ "MIT" ]
4
2022-01-08T21:03:07.000Z
2022-02-18T11:15:10.000Z
include/coring/io_context.hpp
rzbdz/libcoring
dffd4c2193ac4f2ab8822b5e047c056d6eb11f8d
[ "MIT" ]
null
null
null
include/coring/io_context.hpp
rzbdz/libcoring
dffd4c2193ac4f2ab8822b5e047c056d6eb11f8d
[ "MIT" ]
null
null
null
#pragma once #ifndef CORING_IO_CONTEXT_HPP #define CORING_IO_CONTEXT_HPP #include <functional> #include <thread> #include <latch> #include <sys/poll.h> #include <sys/signalfd.h> #include <sys/eventfd.h> #include <deque> #include "coring/coring_config.hpp" #include "coring/detail/io/io_uring_context.hpp" #include "c...
36.073569
116
0.686608
[ "vector", "model" ]
0084278ded8bdb88fdc9a6486cd06c08466c56df
5,250
cpp
C++
test/explorerTest.cpp
ajeetwankhede/The-Explorer-Robot
b1693cdeb5b657ee7dfd720107d91bb35559c031
[ "MIT" ]
2
2019-06-03T03:12:20.000Z
2020-04-25T08:04:50.000Z
test/explorerTest.cpp
ajeetwankhede/The-Explorer-Robot
b1693cdeb5b657ee7dfd720107d91bb35559c031
[ "MIT" ]
null
null
null
test/explorerTest.cpp
ajeetwankhede/The-Explorer-Robot
b1693cdeb5b657ee7dfd720107d91bb35559c031
[ "MIT" ]
1
2019-10-09T09:02:03.000Z
2019-10-09T09:02:03.000Z
/************************************************************************ MIT License Copyright (c) 2018 Ajeet Wankhede Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, inc...
35
83
0.720952
[ "object" ]
00861ba466c545a407ab4346df96767770d1ed2f
1,130
cpp
C++
C++/Data Structure/detect_cycle_in_undirected_graph.cpp
IM-RAHUL-RAJ/hacktoberfest2021-1
f9eaa2e621aa751485551383f7b1fbe894a13de6
[ "MIT" ]
null
null
null
C++/Data Structure/detect_cycle_in_undirected_graph.cpp
IM-RAHUL-RAJ/hacktoberfest2021-1
f9eaa2e621aa751485551383f7b1fbe894a13de6
[ "MIT" ]
null
null
null
C++/Data Structure/detect_cycle_in_undirected_graph.cpp
IM-RAHUL-RAJ/hacktoberfest2021-1
f9eaa2e621aa751485551383f7b1fbe894a13de6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // } Driver Code Ends class Solution { public: // Function to detect cycle in an undirected graph. vector<bool> vis; bool ans; void dfs(vector<int> adj[], int v, int p) { vis[v] = true; for (auto x : adj[v]) { if (x == p)continue; if...
20.925926
59
0.438053
[ "vector" ]
0a594b8598e2907ac9d006c35150de53b0d4dc4f
854
cpp
C++
06/park/1644.cpp
Dcom-KHU/2021-Winter-Algorithm-Study
ea32826abe7d8245ee9d3dc8d0161f7ba018a02f
[ "MIT" ]
2
2021-01-09T10:05:21.000Z
2021-01-10T06:14:03.000Z
06/park/1644.cpp
Dcom-KHU/2021-Winter-Algorithm-Study
ea32826abe7d8245ee9d3dc8d0161f7ba018a02f
[ "MIT" ]
null
null
null
06/park/1644.cpp
Dcom-KHU/2021-Winter-Algorithm-Study
ea32826abe7d8245ee9d3dc8d0161f7ba018a02f
[ "MIT" ]
1
2021-02-03T13:09:09.000Z
2021-02-03T13:09:09.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int n; int result = 0; bool not_prime[4000001] = { false }; vector<int> vec; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); // 에레토스테네스의 채 for (int i = 2; i <= 2000; i++) { if (!not_prime[i])...
13.555556
44
0.519906
[ "vector" ]
0a59d2bebe811ae60bd04cc3c6aad69753aa3f8e
883
hpp
C++
header_files/qt_screenshot.hpp
bryansb/gavo
3396115329255ac7dd4c22ea758c81dce4c8fb99
[ "MIT" ]
null
null
null
header_files/qt_screenshot.hpp
bryansb/gavo
3396115329255ac7dd4c22ea758c81dce4c8fb99
[ "MIT" ]
null
null
null
header_files/qt_screenshot.hpp
bryansb/gavo
3396115329255ac7dd4c22ea758c81dce4c8fb99
[ "MIT" ]
null
null
null
#include <QApplication> #include <QScreen> #include <QPixmap> #include <QImage> #include <QDebug> #include <cstdint> #include <cstring> #include <vector> #ifndef OPENCVCORE_INCLUDED #define OPENCVCORE_INCLUDED #include "./opencv_core.hpp" #endif #ifndef CORE_INCLUDED #define CORE_INCLUDED #include "./core.h...
22.075
129
0.670442
[ "vector" ]
0a5b8926e66ab2874b27b4a8176c5741ff337d3e
4,230
cc
C++
model-view/el-sel/main.cc
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
2
2020-09-01T18:37:30.000Z
2021-11-28T16:25:04.000Z
model-view/el-sel/main.cc
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
null
null
null
model-view/el-sel/main.cc
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
null
null
null
// Программа выполняет разделение выделения элементов между тремя // представлениями. Выделение элемента в одном из представлений приведет к // выделению этого же элемента и в остальных представлениях. #include <QtWidgets> #include "SelectionHandler.h" int main(int argc, char** argv) { QApplication app(argc, argv...
46.483516
211
0.69409
[ "model" ]
0a6e6e938af259cbff8cd76dca28bef931f33b1d
10,354
cpp
C++
src/Sparrow/Sparrow/Implementations/GenericMethodWrapper.cpp
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
src/Sparrow/Sparrow/Implementations/GenericMethodWrapper.cpp
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
src/Sparrow/Sparrow/Implementations/GenericMethodWrapper.cpp
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ /* Internal Includes */ #include "GenericMethodWrapper.h" #include "DipoleMatrixCalculator.h" #include...
40.76378
125
0.765115
[ "geometry" ]
0a6f632ce573b61963f999324fbd50d6eb85251c
902
cpp
C++
Deitel/Chapter09/examples/9.11/CreateAndDestroy.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter09/examples/9.11/CreateAndDestroy.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter09/examples/9.11/CreateAndDestroy.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
27.333333
88
0.43459
[ "object" ]