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
244546eb2b118641f2f3fcb75187eece06c19cae
4,257
cpp
C++
Game/OGRE/OgreMain/src/OgreDynLib.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/OGRE/OgreMain/src/OgreDynLib.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/OGRE/OgreMain/src/OgreDynLib.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2005 The OGRE Team Also see acknowledgements in Readme.html This program is free software...
29.978873
85
0.5323
[ "object" ]
244e1007aa5b1008bc3c95edce4721d2e49cbb67
845
hpp
C++
production/include/datasource/data_view.hpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
null
null
null
production/include/datasource/data_view.hpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
3
2017-11-21T22:16:51.000Z
2017-11-21T23:34:31.000Z
production/include/datasource/data_view.hpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <string> #include <vector> #include <deque> #include <map> #include <compressor/chunk.hpp> #include <compressor/compressor.hpp> #include <datasource/cache.hpp> namespace datasource { const std::size_t MAX_CACHE_SIZE = 10; class data_view { public: typedef std::vector<st...
22.837838
89
0.745562
[ "vector" ]
2454b49358cef506f439b96027985fdc63ff85d8
5,553
cpp
C++
Src/scaleMEF.cpp
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
4
2019-04-24T13:33:35.000Z
2021-08-24T07:11:22.000Z
Src/scaleMEF.cpp
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
4
2020-02-25T01:58:46.000Z
2022-02-01T20:22:49.000Z
Src/scaleMEF.cpp
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
6
2018-11-05T11:53:20.000Z
2021-03-22T10:44:54.000Z
#include <string> #include <iostream> #include <set> #include <map> #include <vector> #include <AMReX_ParmParse.H> #include <AMReX_MultiFab.H> #include <AMReX_Utility.H> #include <AMReX_VisMF.H> using namespace amrex; using std::vector; using std::map; using std::string; using std::cerr; using std::endl; using std::...
25.013514
84
0.556276
[ "vector" ]
245c160b36d29e06cce027e9d98bc29cf32a30d7
1,348
hpp
C++
include/hydro/engine/document/SnapshotContextSymbol.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/document/SnapshotContextSymbol.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/document/SnapshotContextSymbol.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
28.083333
109
0.58457
[ "object" ]
245da3bf62fe9a26ed2bb3fcc3bc0f804806acdf
307,977
cpp
C++
src/fastdb/database.cpp
mage-game/metagame-server-engine
8b6eb0a258d6dae4330cb3be769de162874841ed
[ "MIT" ]
4
2021-12-16T13:57:26.000Z
2022-03-26T07:49:42.000Z
src/fastdb/database.cpp
mage-game/metagame-server-engine
8b6eb0a258d6dae4330cb3be769de162874841ed
[ "MIT" ]
null
null
null
src/fastdb/database.cpp
mage-game/metagame-server-engine
8b6eb0a258d6dae4330cb3be769de162874841ed
[ "MIT" ]
1
2022-03-26T07:49:46.000Z
2022-03-26T07:49:46.000Z
//-< DATABASE.CPP >--------------------------------------------------*--------* // FastDB Version 1.0 (c) 1999 GARRET * ? * // (Main Memory Database Management System) * /\| * // * / \ * ...
36.655201
196
0.516181
[ "object" ]
245e2abca205aaa46dc286a9d47eb5794a64804d
520
hpp
C++
rill/syntax_analysis/error.hpp
rhysd/rill
cb16e511c6bdd4ea0b2bcbec51bd43724cc7ddcb
[ "BSL-1.0" ]
null
null
null
rill/syntax_analysis/error.hpp
rhysd/rill
cb16e511c6bdd4ea0b2bcbec51bd43724cc7ddcb
[ "BSL-1.0" ]
null
null
null
rill/syntax_analysis/error.hpp
rhysd/rill
cb16e511c6bdd4ea0b2bcbec51bd43724cc7ddcb
[ "BSL-1.0" ]
null
null
null
// // Copyright yutopp 2013 - . // // 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 RILL_SYNTAX_ANALYSIS_ERROR_HPP #define RILL_SYNTAX_ANALYSIS_ERROR_HPP #include <vector> namespace rill { names...
20
61
0.705769
[ "vector" ]
245f130b61fa676638f2778ee6b0fefe9dc75cf6
12,620
cpp
C++
admin/activec/samples/pdc/step4/dataobj.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/activec/samples/pdc/step4/dataobj.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/activec/samples/pdc/step4/dataobj.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// This is a part of the Microsoft Management Console. // Copyright 1995 - 1997 Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Management Console and related // electronic documentation provided with the interfaces. #include "stdafx.h...
29.834515
96
0.584707
[ "object" ]
245fde16485aceef9ac365ebba10c1838102b454
1,276
hpp
C++
lab6/include/stockDBDoublyLL.hpp
samruddhi221/cpp_codes
055e4902addef2e7280e938db5901a4927e7b2d2
[ "MIT" ]
null
null
null
lab6/include/stockDBDoublyLL.hpp
samruddhi221/cpp_codes
055e4902addef2e7280e938db5901a4927e7b2d2
[ "MIT" ]
null
null
null
lab6/include/stockDBDoublyLL.hpp
samruddhi221/cpp_codes
055e4902addef2e7280e938db5901a4927e7b2d2
[ "MIT" ]
1
2019-11-02T02:24:04.000Z
2019-11-02T02:24:04.000Z
#ifndef STOCKDBDOUBLYLL_HPP #define STOCKDBDOUBLYLL_HPP #include "stockNodeDLL.hpp" #define DEBUG_LINE std::cout << __LINE__ << std::endl; class StockDBDoublyLL:public StockNodeDLL { public: /** * @brief members * */ StockNodeDLL* m_head; StockNodeDLL* m_tail; int m_size; enum class DIRECTION ...
16.151899
58
0.65047
[ "object" ]
2460fd073aceddd02fd5bcbb3fc3de0a0b30d4f6
1,739
hpp
C++
common/core/desktop/src/debug.hpp
srl295/keyman
4dfd0f71f3f4ccf81d1badbd824900deee1bb6d1
[ "MIT" ]
219
2017-06-21T03:37:03.000Z
2022-03-27T12:09:28.000Z
common/core/desktop/src/debug.hpp
srl295/keyman
4dfd0f71f3f4ccf81d1badbd824900deee1bb6d1
[ "MIT" ]
4,451
2017-05-29T02:52:06.000Z
2022-03-31T23:53:23.000Z
common/core/desktop/src/debug.hpp
srl295/keyman
4dfd0f71f3f4ccf81d1badbd824900deee1bb6d1
[ "MIT" ]
72
2017-05-26T04:08:37.000Z
2022-03-03T10:26:20.000Z
/* * Keyman is copyright (C) SIL International. MIT License. * * Keyman Core - Debug class definition */ #pragma once #include <cassert> #include <vector> #include <keyman/keyboardprocessor.h> #include <keyman/keyboardprocessor_debug.h> namespace km { namespace kbp { class debug_items : public std::vector<km_k...
24.152778
118
0.744106
[ "vector" ]
2462437313d8c7be13072f719b47d4ba219bb64f
52,322
cpp
C++
src/kits/storage/PathMonitor.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
4
2017-06-17T22:03:56.000Z
2019-01-25T10:51:55.000Z
src/kits/storage/PathMonitor.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/kits/storage/PathMonitor.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
/* * Copyright 2007-2013, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. * * Authors: * Axel Dörfler, axeld@pinc-software.de * Stephan Aßmus, superstippi@gmx.de * Ingo Weinhold, ingo_weinhold@gmx.de */ #include <PathMonitor.h> #include <pthread.h> #include <stdio.h> #i...
23.913163
79
0.694297
[ "model" ]
246d8bd29382f1624ca0817766bb6b951589fb6d
5,799
cpp
C++
curl/src/main/jni/native/curl_transaction_metrics.cpp
qiniu/qiniu-android-curl-plugin
b3a296d5ae6195b0e873fc01b01d453dae3f1bdd
[ "MIT" ]
1
2021-11-03T10:30:20.000Z
2021-11-03T10:30:20.000Z
curl/src/main/jni/native/curl_transaction_metrics.cpp
YangSen-qn/qiniu-android-curl-plugin
272a853aee65875db1dee01db837d9012a87e997
[ "MIT" ]
null
null
null
curl/src/main/jni/native/curl_transaction_metrics.cpp
YangSen-qn/qiniu-android-curl-plugin
272a853aee65875db1dee01db837d9012a87e997
[ "MIT" ]
1
2021-11-03T02:59:46.000Z
2021-11-03T02:59:46.000Z
// // Created by yangsen on 2020/9/18. // #include "curl_transaction_metrics.h" #include <jni.h> #include "curl_context.h" jobject createJavaMetrics(CurlContext *curlContext) { if (curlContext == nullptr) { return nullptr; } JNIEnv *env = curlContext->env; if (env == nullptr) { return...
30.845745
99
0.721331
[ "object" ]
2470c2a7d6a3e5d76decc1343470532ef4584fc3
11,822
cpp
C++
examples/parallel_for/tachyon/src/api.cpp
dishasrivastavapuresoftware/oneTBB
34dd71e7238d278a807a0380311f39102a916223
[ "Apache-2.0" ]
1,736
2020-03-17T20:23:25.000Z
2022-03-31T16:01:44.000Z
examples/parallel_for/tachyon/src/api.cpp
dishasrivastavapuresoftware/oneTBB
34dd71e7238d278a807a0380311f39102a916223
[ "Apache-2.0" ]
500
2020-09-15T09:45:10.000Z
2022-03-30T04:28:38.000Z
examples/parallel_for/tachyon/src/api.cpp
dishasrivastavapuresoftware/oneTBB
34dd71e7238d278a807a0380311f39102a916223
[ "Apache-2.0" ]
376
2020-03-19T06:15:59.000Z
2022-03-25T06:26:31.000Z
/* Copyright (c) 2005-2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
28.76399
97
0.630604
[ "render", "object", "vector" ]
2471bbfb17c7f4c22b3836da0ab3036c3eed315c
2,223
hpp
C++
src/Consumer/LB_Basic.hpp
kit-algo/fpt-editing
74620a1b4eca14920a05d8c9e74bdbfc9a4808a5
[ "MIT" ]
1
2021-02-18T14:09:04.000Z
2021-02-18T14:09:04.000Z
src/Consumer/LB_Basic.hpp
kit-algo/fpt-editing
74620a1b4eca14920a05d8c9e74bdbfc9a4808a5
[ "MIT" ]
null
null
null
src/Consumer/LB_Basic.hpp
kit-algo/fpt-editing
74620a1b4eca14920a05d8c9e74bdbfc9a4808a5
[ "MIT" ]
null
null
null
#ifndef CONSUMER_LOWER_BOUND_BASIC_HPP #define CONSUMER_LOWER_BOUND_BASIC_HPP #include <vector> #include "../config.hpp" #include "../Options.hpp" #include "../Finder/Finder.hpp" #include "../Finder/SubgraphStats.hpp" #include "../LowerBound/Lower_Bound.hpp" #include "Base_No_Updates.hpp" namespace Consumer { temp...
27.7875
145
0.711651
[ "vector" ]
248f616f9579cb03568303cea91e2428d428d372
1,297
cpp
C++
aws-cpp-sdk-rekognition/source/model/FaceDetection.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-rekognition/source/model/FaceDetection.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-rekognition/source/model/FaceDetection.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/rekognition/model/FaceDetection.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { nam...
16.844156
69
0.706245
[ "model" ]
24981c0e41145aea0937972a443dbfed3ec735b3
6,316
cpp
C++
modules/cuda_plugin/src/ops/lstm_sequence.cpp
YUNEEC/openvino_contrib
6a79637583fadd22e01d31b912d94d7a27cc78ba
[ "Apache-2.0" ]
null
null
null
modules/cuda_plugin/src/ops/lstm_sequence.cpp
YUNEEC/openvino_contrib
6a79637583fadd22e01d31b912d94d7a27cc78ba
[ "Apache-2.0" ]
null
null
null
modules/cuda_plugin/src/ops/lstm_sequence.cpp
YUNEEC/openvino_contrib
6a79637583fadd22e01d31b912d94d7a27cc78ba
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "lstm_sequence.hpp" #include <cuda_operation_registry.hpp> #include <gsl/gsl_assert> #include <utility> #include <vector> #include "lstm_sequence_components.hpp" namespace CUDAPlugin { LSTMSequenceOp::LSTMSequenceOp(con...
46.785185
120
0.606396
[ "vector" ]
2498301e05fa9b9f9958a0fe1db8dec570aac249
768
cpp
C++
src/UiElement.cpp
Doctor-Ned/OpenGLPAG
3cebddc2f7700920ec2b7c8f8983993651a64d9b
[ "MIT" ]
null
null
null
src/UiElement.cpp
Doctor-Ned/OpenGLPAG
3cebddc2f7700920ec2b7c8f8983993651a64d9b
[ "MIT" ]
null
null
null
src/UiElement.cpp
Doctor-Ned/OpenGLPAG
3cebddc2f7700920ec2b7c8f8983993651a64d9b
[ "MIT" ]
null
null
null
#include "UiElement.h" UiElement::UiElement(Shader* shader, const char* texture, glm::vec2 position, glm::vec2 size, bool center) { if (texture != nullptr) { this->texture = createTexture(texture); } this->shader = shader; this->position = position; this->size = size; this->center = center; if (center) { ac...
21.942857
108
0.677083
[ "render" ]
249aabdda0f255207233bfd91adcf58c5b579f4c
10,502
cpp
C++
build-bot/main.cpp
hbirchtree/coffeecutie-build-daemon
f29ce65896822d4f1358fee5b20c25e54ec1864f
[ "MIT" ]
null
null
null
build-bot/main.cpp
hbirchtree/coffeecutie-build-daemon
f29ce65896822d4f1358fee5b20c25e54ec1864f
[ "MIT" ]
2
2016-06-06T19:31:16.000Z
2017-01-30T12:46:30.000Z
build-bot/main.cpp
hbirchtree/coffeecutie-build-daemon
f29ce65896822d4f1358fee5b20c25e54ec1864f
[ "MIT" ]
null
null
null
#include "fun_helpers.h" #include <coffee/core/CApplication> #include <coffee/core/CDebug> #include <coffee/core/CArgParser> cstring git_program = "git"; cstring cmake_program = "cmake"; DataSet create_item(cstring file) { /* Clear all structures */ DataSet repo = {}; BuildEnvironment& repo_data = repo....
33.660256
93
0.557513
[ "object", "vector" ]
249d0768425e28a7ce6064d008e3f62f20c27619
7,254
hpp
C++
include/VertexWeights.hpp
tillhainbach/FastEMD
d21dbb77a5dc96c82aab3da914ad5cd990c317c9
[ "BSD-3-Clause" ]
4
2020-02-12T20:23:02.000Z
2021-12-04T02:38:36.000Z
include/VertexWeights.hpp
tillhainbach/FastEMD
d21dbb77a5dc96c82aab3da914ad5cd990c317c9
[ "BSD-3-Clause" ]
3
2020-03-24T08:54:29.000Z
2020-04-02T13:41:03.000Z
include/VertexWeights.hpp
tillhainbach/FastEMD
d21dbb77a5dc96c82aab3da914ad5cd990c317c9
[ "BSD-3-Clause" ]
null
null
null
// // VertexWeights.hpp // FastEMD // // Created by Till Hainbach on 23.03.20. // Copyright © 2020 Till Hainbach. All rights reserved. // #ifndef VertexWeights_h #define VertexWeights_h #include "VertexBaseContainer.hpp" #include "Counter.hpp" namespace FastEMD { using namespace types; //MARK: Vertex Weights Cla...
34.875
95
0.57389
[ "vector", "transform" ]
249d59f59c4e67cb34a5a942252cdc5b3da6661e
10,909
hpp
C++
Physics/Vec3D.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
1
2018-04-17T14:03:36.000Z
2018-04-17T14:03:36.000Z
Physics/Vec3D.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
Physics/Vec3D.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
//-*-mode:c++; mode:font-lock;-*- /*! \file Vec3D.hpp Vec3D class header file \author Stephen Fegan \n UCLA \n sfegan@astro.ucla.edu \n \author Maciej Nicewicz \n UCLA \n nicewicz@physics.ucla.edu \n \a...
27.617722
86
0.506554
[ "vector", "3d" ]
24a3637df9dc761516b82b88c4139cb143072de8
22,765
cpp
C++
framework/Benchmarks.cpp
scottviteri/verified-betrfs
7af56c8acd943880cb19ba16d146c6a206101d9b
[ "BSD-2-Clause" ]
15
2021-05-11T09:19:12.000Z
2022-03-14T10:39:05.000Z
framework/Benchmarks.cpp
scottviteri/verified-betrfs
7af56c8acd943880cb19ba16d146c6a206101d9b
[ "BSD-2-Clause" ]
3
2021-06-07T21:45:13.000Z
2021-11-29T23:19:59.000Z
framework/Benchmarks.cpp
scottviteri/verified-betrfs
7af56c8acd943880cb19ba16d146c6a206101d9b
[ "BSD-2-Clause" ]
7
2021-05-11T17:08:04.000Z
2022-02-23T07:19:36.000Z
// Copyright 2018-2021 VMware, Inc., Microsoft Inc., Carnegie Mellon University, ETH Zurich, and University of Washington // SPDX-License-Identifier: BSD-2-Clause #include "Benchmarks.h" #include <chrono> #include <iostream> #include <random> #include <algorithm> #include <cstdio> #include <cassert> #include "Applic...
28.209418
121
0.606853
[ "vector" ]
24af879b4eb9f6154e9cc03bac7c72b5b0b68ed2
2,166
cpp
C++
Competitive Programing Problem Solutions/Virtual Judge/Shahariar Vai_Graph/10336 - Rank the Languages.cpp
BIJOY-SUST/ACM---ICPC
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
1
2022-02-27T12:07:59.000Z
2022-02-27T12:07:59.000Z
Competitive Programing Problem Solutions/Virtual Judge/Shahariar Vai_Graph/10336 - Rank the Languages.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
Competitive Programing Problem Solutions/Virtual Judge/Shahariar Vai_Graph/10336 - Rank the Languages.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
/*______________________________________________ ! BIJOY ! ! CSE-25th Batch ! !Shahjalal University of Science and Technology! !______________________________________________! */ #include<bits/stdc++.h> //#define PI 3.1415926535...
31.391304
66
0.459834
[ "vector" ]
24b753d55c483aebd0aa0b034fa3854ce75510af
1,768
hpp
C++
AAM/include/openada.hpp
adadesions/trainingJackson
ac17bbd7155b6f04c28662ff1007ee28b73aacfc
[ "BSD-3-Clause" ]
null
null
null
AAM/include/openada.hpp
adadesions/trainingJackson
ac17bbd7155b6f04c28662ff1007ee28b73aacfc
[ "BSD-3-Clause" ]
null
null
null
AAM/include/openada.hpp
adadesions/trainingJackson
ac17bbd7155b6f04c28662ff1007ee28b73aacfc
[ "BSD-3-Clause" ]
null
null
null
#ifndef OPENADA_HPP #define OPENADA_HPP #include <iostream> #include <dlib/matrix.h> #include <opencv2/opencv.hpp> namespace opa { void test() { std::cout << "Yo\n"; } std::vector<cv::Vec6f> getDelaunayVec6f( std::string filename ) { cv::FileStorage fs(filename, cv::FileStorage::READ); ...
27.625
93
0.489253
[ "vector" ]
24ba4488814cb959f144ce1b798a0d602d518e28
1,212
cpp
C++
src/main.cpp
computer-geek64/huffskew
a55fab0d8ad99a46731eb7bf16e8a52ff725c060
[ "MIT" ]
null
null
null
src/main.cpp
computer-geek64/huffskew
a55fab0d8ad99a46731eb7bf16e8a52ff725c060
[ "MIT" ]
null
null
null
src/main.cpp
computer-geek64/huffskew
a55fab0d8ad99a46731eb7bf16e8a52ff725c060
[ "MIT" ]
null
null
null
// main.cpp // Ashish D'Souza #include <cstddef> #include <string> #include <iostream> #include "compress.hpp" #include "uncompress.hpp" #include "main.hpp" using namespace std; int main(int argc, char **argv) { if(argc < 5) { showHelp(); return 1; } vector<string> args; for(unsigne...
21.263158
72
0.535479
[ "vector" ]
24bbfc487a0a7d4095a72135b43d559eeefcf4a6
3,899
hh
C++
include/fflow/alg_lists.hh
peraro/finiteflow
820ba5b13756e861d1e6a07403d7e70c1e849e0d
[ "MIT" ]
25
2019-05-21T02:56:08.000Z
2022-01-29T23:59:44.000Z
include/fflow/alg_lists.hh
peraro/finiteflow
820ba5b13756e861d1e6a07403d7e70c1e849e0d
[ "MIT" ]
2
2019-05-21T14:41:56.000Z
2020-09-21T13:53:20.000Z
include/fflow/alg_lists.hh
peraro/finiteflow
820ba5b13756e861d1e6a07403d7e70c1e849e0d
[ "MIT" ]
3
2020-01-08T09:36:48.000Z
2022-03-19T09:09:15.000Z
// Basic algorithm for manipulating lists of arguments. These do not // need any AnlgorithmData, so we can just pass a nullptr for that #ifndef FFLOW_ALG_LISTS_HH #define FFLOW_ALG_LISTS_HH #include <fflow/algorithm.hh> namespace fflow { class Chain : public Algorithm { public: void init(const unsigned np...
23.487952
71
0.588612
[ "vector" ]
24bee6cac5b5860dd88a695301944b16a81faa8d
3,552
hpp
C++
Include/API/lib3mf_object.hpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
171
2015-04-30T21:54:02.000Z
2022-03-13T13:33:59.000Z
Include/API/lib3mf_object.hpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
190
2015-07-21T22:15:54.000Z
2022-03-30T15:48:37.000Z
Include/API/lib3mf_object.hpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
80
2015-04-30T22:15:54.000Z
2022-03-09T12:38:49.000Z
/*++ Copyright (C) 2019 3MF Consortium (Original Author) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditio...
26.117647
123
0.726351
[ "object", "model" ]
24c0dcbaa15da14532f7d85e267cb96b7ffa297a
16,288
cpp
C++
gtests/src/integration/simulacron/simulacron_cluster.cpp
AlexisWilke/cpp-driver
9ca662826d46a528ef02b4cbd4cff6cb25ca1fe6
[ "Apache-2.0" ]
null
null
null
gtests/src/integration/simulacron/simulacron_cluster.cpp
AlexisWilke/cpp-driver
9ca662826d46a528ef02b4cbd4cff6cb25ca1fe6
[ "Apache-2.0" ]
null
null
null
gtests/src/integration/simulacron/simulacron_cluster.cpp
AlexisWilke/cpp-driver
9ca662826d46a528ef02b4cbd4cff6cb25ca1fe6
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) DataStax, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
34.729211
128
0.69984
[ "object", "vector" ]
24c3ff80badd1237f0f891c43831f296ed726180
8,969
cpp
C++
core/jni/android_view_InputQueue.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
164
2015-01-05T16:49:11.000Z
2022-03-29T20:40:27.000Z
core/jni/android_view_InputQueue.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
127
2015-01-12T12:02:32.000Z
2021-11-28T08:46:25.000Z
core/jni/android_view_InputQueue.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
1,141
2015-01-01T22:54:40.000Z
2022-02-09T22:08:26.000Z
/* * Copyright (C) 2013 The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.095941
97
0.671312
[ "object" ]
24c70ca17524a1f63a89f056d88377e691622a8e
2,648
hpp
C++
ESMF/src/Infrastructure/Mesh/src/Moab/moab/UnknownInterface.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
1
2018-07-05T16:48:58.000Z
2018-07-05T16:48:58.000Z
ESMF/src/Infrastructure/Mesh/src/Moab/moab/UnknownInterface.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
ESMF/src/Infrastructure/Mesh/src/Moab/moab/UnknownInterface.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
null
null
null
/* Filename : UnkonwnInterface.h * Creator : Clinton Stimpson * * Date : 10 Jan 2002 * * Owner : Clinton Stimpson * * Description: Contains declarations for MBuuid which keeps * track of different interfaces. * Also contains the decla...
26.217822
75
0.625378
[ "mesh" ]
24c9fd3188ec2d403713d76bede54645675e70e4
18,221
cpp
C++
src/solve.cpp
yp/Heu-MCHC
30c4a5e189c7ab67d82357d2c8a98833a556345a
[ "BSD-3-Clause" ]
1
2020-06-30T04:39:34.000Z
2020-06-30T04:39:34.000Z
src/solve.cpp
yp/Heu-MCHC
30c4a5e189c7ab67d82357d2c8a98833a556345a
[ "BSD-3-Clause" ]
null
null
null
src/solve.cpp
yp/Heu-MCHC
30c4a5e189c7ab67d82357d2c8a98833a556345a
[ "BSD-3-Clause" ]
null
null
null
/** * * * Heu-MCHC * * A fast and accurate heuristic algorithm for the haplotype inference * problem on pedigree data with recombinations and mutations * * Copyright (C) 2009,2010,2011 Yuri PIROLA * * Distributed under the terms of the GNU General Public License (GPL) * * * T...
29.531605
112
0.639372
[ "vector", "3d" ]
24cb725b34b7ff6a067603519851a648c42299e4
19,394
hpp
C++
giotto/externals/hera/bottleneck/bottleneck_detail.hpp
gtauzin/giotto-learn
4cbd981f8113d44a80d68570a472d5a58245535b
[ "Apache-2.0" ]
1
2019-10-16T11:41:40.000Z
2019-10-16T11:41:40.000Z
giotto/externals/hera/bottleneck/bottleneck_detail.hpp
L2F-abelganz/giotto-learn
c290c70fa0c2f05d543633b78e297b506e36e4de
[ "Apache-2.0" ]
null
null
null
giotto/externals/hera/bottleneck/bottleneck_detail.hpp
L2F-abelganz/giotto-learn
c290c70fa0c2f05d543633b78e297b506e36e4de
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2015, M. Kerber, D. Morozov, A. Nigmetov All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditio...
38.177165
755
0.623646
[ "vector" ]
24d1769f77cf710bfbc1955f4eac3f670e8b462f
319
cc
C++
third_party/OpenMesh-8.1/Doc/Examples/nav_code4a.cc
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
216
2018-09-09T11:53:56.000Z
2022-03-19T13:41:35.000Z
Doc/Examples/nav_code4a.cc
planetmarshall/openmesh
c6833ff28a126769694bf694a55b1b30ee30a161
[ "BSD-3-Clause" ]
13
2018-10-23T08:29:09.000Z
2021-09-08T06:45:34.000Z
Doc/Examples/nav_code4a.cc
planetmarshall/openmesh
c6833ff28a126769694bf694a55b1b30ee30a161
[ "BSD-3-Clause" ]
41
2018-09-13T08:50:41.000Z
2022-02-23T00:33:54.000Z
// Get the halfedge handle of i.e. the halfedge // that is associated to the first vertex // of our set of vertices PolyMesh::HalfedgeHandle heh = mesh.halfedge_handle(*(mesh.vertices_begin())); // Now get the handle of its opposing halfedge PolyMesh::HalfedgeHandle opposite_heh = mesh.opposite_halfedge_handle(heh);
39.875
78
0.777429
[ "mesh" ]
24d2f482b11a8177043a6a102568e56e4beeaa86
7,063
cpp
C++
test/DerivativeSignalTest.cpp
asmaalrawi/geopm
e93548dfdd693a17c81163787ba467891937356d
[ "BSD-3-Clause" ]
1
2018-11-27T16:53:06.000Z
2018-11-27T16:53:06.000Z
test/DerivativeSignalTest.cpp
asmaalrawi/geopm
e93548dfdd693a17c81163787ba467891937356d
[ "BSD-3-Clause" ]
null
null
null
test/DerivativeSignalTest.cpp
asmaalrawi/geopm
e93548dfdd693a17c81163787ba467891937356d
[ "BSD-3-Clause" ]
1
2018-06-24T17:32:25.000Z
2018-06-24T17:32:25.000Z
/* * Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice,...
34.120773
85
0.655104
[ "vector" ]
24d660b655b94550e3fcd825437dd584affa6b82
1,686
hpp
C++
src/sqlite/value.hpp
wesselj1/mx3playground
9b8c3e783f574a76cc17a9470b57e72a1b38be1a
[ "MIT" ]
766
2015-01-01T17:33:40.000Z
2022-02-23T08:20:20.000Z
src/sqlite/value.hpp
wesselj1/mx3playground
9b8c3e783f574a76cc17a9470b57e72a1b38be1a
[ "MIT" ]
43
2015-01-04T05:59:54.000Z
2017-06-19T10:53:59.000Z
src/sqlite/value.hpp
wesselj1/mx3playground
9b8c3e783f574a76cc17a9470b57e72a1b38be1a
[ "MIT" ]
146
2015-01-09T19:38:23.000Z
2021-09-30T08:39:44.000Z
#pragma once #include "stl.hpp" #include <iosfwd> namespace mx3 { namespace sqlite { class Value final { public: Value(); Value(std::nullptr_t x); Value(int x); Value(int64_t x); Value(double x); Value(const char * x); Value(string x); Value(vector<uint8_t> x); Value(Value&& othe...
25.545455
85
0.628114
[ "vector" ]
24d8812a3c549ab8986d0e6adb521c047216b9c6
3,725
cpp
C++
examples/opencl/mandelbrot/maps/main_maps.cpp
josephwinston/hpxcl
ebd18f245beea46be943ffa22e2fb8145b0b2836
[ "BSL-1.0" ]
null
null
null
examples/opencl/mandelbrot/maps/main_maps.cpp
josephwinston/hpxcl
ebd18f245beea46be943ffa22e2fb8145b0b2836
[ "BSL-1.0" ]
null
null
null
examples/opencl/mandelbrot/maps/main_maps.cpp
josephwinston/hpxcl
ebd18f245beea46be943ffa22e2fb8145b0b2836
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2014 Martin Stumpf // // 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) #include <hpx/hpx.hpp> #include <hpx/hpx_init.hpp> #include <hpx/include/iostreams.hpp> #include <hpx/apply.hpp> #include...
29.8
109
0.54443
[ "vector" ]
24d8cafd2df39e8f066606c32d196d7f948b480f
13,276
cpp
C++
source/SceneStateStackStagingArea.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
source/SceneStateStackStagingArea.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
source/SceneStateStackStagingArea.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #include <GTGE/SceneStateStackStagingArea.hpp> #include <GTGE/SceneStateStackBranch.hpp> #include <GTGE/Scene.hpp> #include <GTGE/GTEngine.hpp> namespace GT { SceneStateStackStagingArea::SceneStateStackStagingArea(SceneStateStackBranch &branchIn) ...
33.356784
158
0.555363
[ "object" ]
24daa91b3d7d8e9c0fdb51d990f1d13653b90b06
24,934
cpp
C++
src/polyphase/haplothreader.cpp
xiaoluo91/whatshap
9882248c722b1020321fea6e9491c1cc5b75354b
[ "MIT" ]
174
2018-07-04T06:59:02.000Z
2022-03-29T03:30:18.000Z
src/polyphase/haplothreader.cpp
xiaoluo91/whatshap
9882248c722b1020321fea6e9491c1cc5b75354b
[ "MIT" ]
132
2018-07-21T01:16:15.000Z
2022-03-30T14:25:45.000Z
src/polyphase/haplothreader.cpp
xiaoluo91/whatshap
9882248c722b1020321fea6e9491c1cc5b75354b
[ "MIT" ]
21
2018-07-05T14:37:10.000Z
2022-03-10T08:02:37.000Z
#include "haplothreader.h" #include <limits> #include <algorithm> #include <unordered_set> #include <random> constexpr uint64_t ClusterTuple::TUPLE_MASKS[]; const ClusterTuple ClusterTuple::INVALID_TUPLE = ClusterTuple((TupleCode)-1); HaploThreader::HaploThreader (uint32_t ploidy, double switchCost, double affineSwit...
46.605607
209
0.589677
[ "vector" ]
24e3d544a8cb6b8be311df01d2c0698db979e770
5,827
cpp
C++
Base/PLRenderer/src/Effect/EffectPassLayer.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Base/PLRenderer/src/Effect/EffectPassLayer.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLRenderer/src/Effect/EffectPassLayer.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: EffectPassLayer.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
38.335526
194
0.611292
[ "transform" ]
24e3fc894ca8c61847e19ef52a2eed8f2ea1f315
19,283
cpp
C++
test/Library/Astrodynamics/Trajectory.test.cpp
cowlicks/library-astrodynamics
aec161a1e5a1294820a90e1a74633b5a71d59a33
[ "Apache-2.0" ]
null
null
null
test/Library/Astrodynamics/Trajectory.test.cpp
cowlicks/library-astrodynamics
aec161a1e5a1294820a90e1a74633b5a71d59a33
[ "Apache-2.0" ]
null
null
null
test/Library/Astrodynamics/Trajectory.test.cpp
cowlicks/library-astrodynamics
aec161a1e5a1294820a90e1a74633b5a71d59a33
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Library/Astrodynamics /// @file Library/Astrodynamics/Trajectory.test.cpp /// @author Lucas Brémond <lucas@loftorbital.c...
35.446691
191
0.585179
[ "model" ]
0086c87260dc3bb6f314678c248a253c1b55166c
170,239
cpp
C++
src/shoebill/JniFunctions.cpp
eupedroosouza/ShoebillPlugin
49bc98348061f08c8ec6e1ce9919d6736656bee9
[ "Apache-2.0" ]
6
2016-06-18T02:06:02.000Z
2020-10-17T12:25:54.000Z
src/shoebill/JniFunctions.cpp
eupedroosouza/ShoebillPlugin
49bc98348061f08c8ec6e1ce9919d6736656bee9
[ "Apache-2.0" ]
13
2015-11-13T13:00:33.000Z
2021-12-09T13:49:52.000Z
src/shoebill/JniFunctions.cpp
eupedroosouza/ShoebillPlugin
49bc98348061f08c8ec6e1ce9919d6736656bee9
[ "Apache-2.0" ]
7
2017-03-01T15:02:34.000Z
2022-03-13T16:22:21.000Z
/** * Copyright (C) 2011-2015 MK124 & 123marvin123 * * 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 ...
37.097189
129
0.694764
[ "object", "vector", "model" ]
008b0e18a4ce08d856e2a236f648079bce722fc1
941
hpp
C++
examples/tetris/lib/Moon/include/cmp/cmp_base.hpp
reitmas32/Moon
02790eb476f039b44664e7d8f24fa2839187e4fc
[ "MIT" ]
2
2021-05-20T06:55:38.000Z
2021-05-23T05:09:06.000Z
examples/tetris/lib/Moon/include/cmp/cmp_base.hpp
reitmas32/Moon
02790eb476f039b44664e7d8f24fa2839187e4fc
[ "MIT" ]
15
2021-04-21T05:26:39.000Z
2021-07-06T07:07:28.000Z
examples/tetris/lib/Moon/include/cmp/cmp_base.hpp
reitmas32/Moon
02790eb476f039b44664e7d8f24fa2839187e4fc
[ "MIT" ]
null
null
null
/** * @file component_base.hpp * @author Oswaldo Rafael Zamora Ramirez (rafa.zamo.rals@comunidad.unam.mx) * @brief Clase de la que heredan todos los components del Motor * @version 0.1 * @date 2021-03-03 * * @copyright Copyright (c) Moon 2020-2021 Oswaldo Rafael Zamora Ramírez * */ #pragma once // Alias #incl...
21.883721
75
0.60255
[ "object" ]
008c53fcd1e7544739250808b22674966bd54aee
2,968
cpp
C++
ProgramStudy/Source/Systems/SceneMng.cpp
trinhlehainam/ASO_3rd_year_StudyProject
89c54e42e97cc47af175f61b26a5871bc2a718a0
[ "MIT" ]
null
null
null
ProgramStudy/Source/Systems/SceneMng.cpp
trinhlehainam/ASO_3rd_year_StudyProject
89c54e42e97cc47af175f61b26a5871bc2a718a0
[ "MIT" ]
null
null
null
ProgramStudy/Source/Systems/SceneMng.cpp
trinhlehainam/ASO_3rd_year_StudyProject
89c54e42e97cc47af175f61b26a5871bc2a718a0
[ "MIT" ]
null
null
null
#include "SceneMng.h" #include <chrono> #include <DxLib.h> #include "../_debug/_DebugDispOut.h" #include "../Math/MathHelper.h" #include "../Systems/ImageMng.h" #include "../Systems/AnimationMng.h" #include "../Systems/AnimatorControllerMng.h" #include "../Systems/Physics.h" #include "../Systems/Renderer.h" #includ...
20.755245
129
0.696092
[ "render" ]
0090cd160bc9a18afdaead3ae86b3c82b08bec85
7,287
hpp
C++
sdl/Hypergraph/WordToCharacters.hpp
sdl-research/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
29
2015-01-26T21:49:51.000Z
2021-06-18T18:09:42.000Z
sdl/Hypergraph/WordToCharacters.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
1
2015-12-08T15:03:15.000Z
2016-01-26T14:31:06.000Z
sdl/Hypergraph/WordToCharacters.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
4
2015-11-21T14:25:38.000Z
2017-10-30T22:22:00.000Z
// Copyright 2014-2015 SDL plc // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
39.819672
111
0.659531
[ "vector" ]
0097f5d2df82326dfb7edf78969f59f94bfbaa94
1,835
hpp
C++
accumulate.hpp
YishayGarame/itertools-cfar-b
6e90408fa5664931f25077b971aa47cb55892296
[ "MIT" ]
null
null
null
accumulate.hpp
YishayGarame/itertools-cfar-b
6e90408fa5664931f25077b971aa47cb55892296
[ "MIT" ]
null
null
null
accumulate.hpp
YishayGarame/itertools-cfar-b
6e90408fa5664931f25077b971aa47cb55892296
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; namespace itertools { typedef struct { template <typename T> T operator()(T f1, T f2) const { return f1 + f2; } } add; template <typename T, typename _operator = add> class accumulate { p...
24.797297
121
0.421798
[ "vector" ]
00982335edb0f5e84f210a3a2f41509d32bc2881
2,150
cpp
C++
os/kernel/testsuite/interlocked.cpp
rvedam/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
2
2020-11-30T18:38:20.000Z
2021-06-07T07:44:03.000Z
os/kernel/testsuite/interlocked.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
1
2019-01-14T03:09:45.000Z
2019-01-14T03:09:45.000Z
os/kernel/testsuite/interlocked.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008, 2009 Google Inc. * Copyright 2006 Nintendo 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 * * Unle...
31.15942
75
0.593953
[ "object" ]
00997327027c26dde8ae35e01bba8dad45d13c69
18,404
hpp
C++
include/System/Xml/XmlQualifiedName.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/XmlQualifiedName.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/XmlQualifiedName.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/il2cpp-utils-met...
55.433735
216
0.73283
[ "object", "vector" ]
009bdd13978a4f692b3c6ee6d5685d3b23f36be1
5,867
cpp
C++
src/Engine/Renderer/Apis/OpenGL/OpenGLRenderer.cpp
Sausty/GameProject-1
0c0c13dea2b446213cea9074a02bcf588fb46559
[ "MIT" ]
null
null
null
src/Engine/Renderer/Apis/OpenGL/OpenGLRenderer.cpp
Sausty/GameProject-1
0c0c13dea2b446213cea9074a02bcf588fb46559
[ "MIT" ]
null
null
null
src/Engine/Renderer/Apis/OpenGL/OpenGLRenderer.cpp
Sausty/GameProject-1
0c0c13dea2b446213cea9074a02bcf588fb46559
[ "MIT" ]
null
null
null
// // Created by MarcasRealAccount on 31. Oct. 2020 // #include "Engine/Renderer/Apis/OpenGL/OpenGLRenderer.h" #include "Engine/Renderer/Apis/OpenGL/OpenGLDebugRenderer.h" #include "Engine/Renderer/Apis/OpenGL/Mesh/OpenGLMeshData.h" #include "Engine/Renderer/Apis/OpenGL/Mesh/OpenGLSkeletalMeshData.h" #include "Engin...
30.087179
128
0.726436
[ "mesh", "render", "vector" ]
00a1dba5b6680e5ffd4f5db7fa07f31852b9eab7
35,113
cpp
C++
tms_rc/tms_rc_katana/KNI_4.3.0/lib/kinematics/kinematics.cpp
robotpilot/ros_tms
3d6b6579e89aa9cb216cd3cb6157fabc553c18f1
[ "BSD-3-Clause" ]
54
2015-01-06T06:58:28.000Z
2021-05-02T07:49:37.000Z
tms_rc/tms_rc_katana/KNI_4.3.0/lib/kinematics/kinematics.cpp
robotpilot/ros_tms
3d6b6579e89aa9cb216cd3cb6157fabc553c18f1
[ "BSD-3-Clause" ]
114
2015-01-07T06:42:21.000Z
2022-02-12T05:54:04.000Z
tms_rc/tms_rc_katana/KNI_4.3.0/lib/kinematics/kinematics.cpp
robotpilot/ros_tms
3d6b6579e89aa9cb216cd3cb6157fabc553c18f1
[ "BSD-3-Clause" ]
24
2015-03-27T08:35:59.000Z
2020-06-08T13:05:31.000Z
/************************************************************************** * kinematics.cpp - * Kinematics class for Katana4XX Robots using kinematics lib * Copyright (C) 2007-2008 Neuronics AG * PKE/UKE 2007, JHA 2008 **************************************************************************/ #include "kinematics.h"...
26.803817
116
0.53812
[ "vector", "model", "3d" ]
00a5f30768a2bc55099f332b563252ceea04b3a4
12,491
cpp
C++
IniFile_Static/test/TestIniFile.cpp
CruiseYoung/IniFile
7f0a50c0cce11e8151fbe739ee42f6c9ab9a8a47
[ "Apache-2.0" ]
2
2017-04-30T04:40:59.000Z
2020-08-28T07:41:41.000Z
IniFile_Static/test/TestIniFile.cpp
CruiseYoung/IniFile
7f0a50c0cce11e8151fbe739ee42f6c9ab9a8a47
[ "Apache-2.0" ]
null
null
null
IniFile_Static/test/TestIniFile.cpp
CruiseYoung/IniFile
7f0a50c0cce11e8151fbe739ee42f6c9ab9a8a47
[ "Apache-2.0" ]
6
2015-08-13T10:00:12.000Z
2021-09-07T02:58:44.000Z
// TestCIniFile::cpp : Defines the entry point for the console application. // #include "../src/inifile.h" #include <iostream> using namespace std; void Show(string const& FileName) { cout << endl << "++++++++++++++++++++++++++++++++++++++++" << endl << "+ Contents of the file are below ...
54.785088
194
0.628132
[ "vector" ]
00a9f31e21213084f11add2f2a420908913d98c4
12,192
cpp
C++
src/lib/motion_planning/PositionSmoothing.cpp
lgarciaos/Firmware
26dba1407bd1fbc65c23870a22fed904afba6347
[ "BSD-3-Clause" ]
4,224
2015-01-02T11:51:02.000Z
2020-10-27T23:42:28.000Z
src/lib/motion_planning/PositionSmoothing.cpp
lgarciaos/Firmware
26dba1407bd1fbc65c23870a22fed904afba6347
[ "BSD-3-Clause" ]
11,736
2015-01-01T11:59:16.000Z
2020-10-28T17:13:38.000Z
src/lib/motion_planning/PositionSmoothing.cpp
lgarciaos/Firmware
26dba1407bd1fbc65c23870a22fed904afba6347
[ "BSD-3-Clause" ]
11,850
2015-01-02T14:54:47.000Z
2020-10-28T16:42:47.000Z
/**************************************************************************** * * Copyright (c) 2021 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
37.284404
132
0.749918
[ "vector", "3d" ]
00acdb2279638fe5153fc9c186ba4938675c9ad1
835
hpp
C++
test/list.hpp
marcodlk/cc
b97c635c08aca3346f315fc9e943d7965a067146
[ "BSD-2-Clause" ]
1
2021-01-20T04:45:59.000Z
2021-01-20T04:45:59.000Z
test/list.hpp
marcodlk/cc
b97c635c08aca3346f315fc9e943d7965a067146
[ "BSD-2-Clause" ]
null
null
null
test/list.hpp
marcodlk/cc
b97c635c08aca3346f315fc9e943d7965a067146
[ "BSD-2-Clause" ]
1
2021-01-20T04:50:52.000Z
2021-01-20T04:50:52.000Z
/* * cc - C Containers library * * cc is, per 17 USC § 101, a work of the U.S. Government and is not subject to * copyright protection in the United States. * * DISTRIBUTION STATEMENT A. Approved for public release; distribution is * unlimited. Granted clearance per 88ABW-2020-3430. */ #ifndef CC_TEST_L...
23.857143
80
0.679042
[ "vector" ]
00aefa1db900d66a9b841b1c0c7ec26122f86a1a
2,178
cpp
C++
201922/dec201922_1.cpp
jibsen/aocpp2019
99cda72f6477bde0731c5fc958eebbc2219d6fb3
[ "MIT" ]
2
2020-04-26T17:31:31.000Z
2020-10-03T00:54:16.000Z
201922/dec201922_1.cpp
jibsen/aocpp2019
99cda72f6477bde0731c5fc958eebbc2219d6fb3
[ "MIT" ]
null
null
null
201922/dec201922_1.cpp
jibsen/aocpp2019
99cda72f6477bde0731c5fc958eebbc2219d6fb3
[ "MIT" ]
null
null
null
// // Advent of Code 2019, day 22, part one // #include <algorithm> #include <fstream> #include <iostream> #include <iterator> #include <numeric> #include <string> #include <vector> enum class Shuffle { cut, increment, stack }; std::vector<std::pair<Shuffle, int>> read_instructions(const char *filename) { std::ifs...
20.54717
76
0.608815
[ "vector" ]
00b16933b232fc3385e9e3f3f1f3472baeef5f2c
16,782
cpp
C++
enduser/netmeeting/av/codecs/intel/h263/d3bvriq.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
enduser/netmeeting/av/codecs/intel/h263/d3bvriq.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
enduser/netmeeting/av/codecs/intel/h263/d3bvriq.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/* ************************************************************************* ** INTEL Corporation Proprietary Information ** ** This listing is supplied under the terms of a license ** agreement with INTEL Corporation and may not be copied ** nor disclosed except in accordance with the terms of ** ...
30.568306
84
0.578834
[ "transform" ]
00b6b48a4ab8d8bf1036c3cce538e5e77cbcb8ef
3,075
cc
C++
archives/codelibraries/UofL-codeLibrary/intersect_circle_circle.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
archives/codelibraries/UofL-codeLibrary/intersect_circle_circle.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
archives/codelibraries/UofL-codeLibrary/intersect_circle_circle.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
// Determines the point(s) of intersection if a circle and a circle // // Author: Darcy Best // Date : October 1, 2010 // Source: http://local.wasp.uwa.edu.au/~pbourke/geometry/2circle/ // // Note: A circle of radius 0 must be considered independently. // See comments in the implementation. #include <iostream> #inclu...
22.610294
77
0.567154
[ "geometry" ]
00bb6413093313679488267f10a358008d1cc15b
854
cpp
C++
utils/csrc/line_nms/line_nms.cpp
voldemortX/DeeplabV3_PyTorch1.3_Codebase
d22d23e74800fafb58eeb61d6649008745c1a287
[ "BSD-3-Clause" ]
1
2020-09-17T06:21:39.000Z
2020-09-17T06:21:39.000Z
utils/csrc/line_nms/line_nms.cpp
voldemortX/pytorch-segmentation
9c62c0a721d11c8ea6bf312ecf1c7b238a54dcda
[ "BSD-3-Clause" ]
null
null
null
utils/csrc/line_nms/line_nms.cpp
voldemortX/pytorch-segmentation
9c62c0a721d11c8ea6bf312ecf1c7b238a54dcda
[ "BSD-3-Clause" ]
null
null
null
#include <torch/extension.h> #include <torch/types.h> #include <iostream> std::vector<at::Tensor> nms_cuda_forward( at::Tensor boxes, at::Tensor idx, float nms_overlap_thresh, unsigned long top_k); #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor") #defin...
25.878788
83
0.667447
[ "vector" ]
00bc04ad338920f29f22f612a90959ca800ced47
2,306
hpp
C++
autofocus/Controller.hpp
asmirnou/libcamera-apps
5a3c2ceb3378ef6a1a17c121243f5654d57c8dcb
[ "BSD-2-Clause" ]
null
null
null
autofocus/Controller.hpp
asmirnou/libcamera-apps
5a3c2ceb3378ef6a1a17c121243f5654d57c8dcb
[ "BSD-2-Clause" ]
null
null
null
autofocus/Controller.hpp
asmirnou/libcamera-apps
5a3c2ceb3378ef6a1a17c121243f5654d57c8dcb
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <atomic> #include <condition_variable> #include <mutex> #include <thread> #include <utility> #include <vector> #include <functional> class DRV8825; class INA219; class AS5600; class Canon; struct AutofocusConfig { std::string lens_port; std::string input_dev; uint8_t gpio_chip; uint8_t moto...
22.38835
131
0.751084
[ "vector" ]
00bec44de5d4e4ddf91d85a1736b5bde7d7b7871
21,336
cpp
C++
Project/Source/Panels/PanelInspector.cpp
TBD-org/TBD-Engine
8b45d5a2a92e26bd0ec034047b8188e871fab0f9
[ "MIT" ]
7
2021-04-26T21:32:12.000Z
2022-02-14T13:48:53.000Z
Project/Source/Panels/PanelInspector.cpp
TBD-org/RealBugEngine
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
66
2021-04-24T10:08:07.000Z
2021-10-05T16:52:56.000Z
Project/Source/Panels/PanelInspector.cpp
TBD-org/TBD-Engine
8b45d5a2a92e26bd0ec034047b8188e871fab0f9
[ "MIT" ]
1
2021-07-13T21:26:13.000Z
2021-07-13T21:26:13.000Z
#include "PanelInspector.h" #include "GameObject.h" #include "Application.h" #include "Components/Component.h" #include "Components/ComponentType.h" #include "Components/ComponentLight.h" #include "Components/ComponentSkybox.h" #include "Components/ComponentAnimation.h" #include "Components/ComponentBillboard.h" #incl...
31.988006
139
0.684664
[ "mesh", "transform" ]
00c295531f466b5a36d51eb5aeff97b6ec8f9f9c
2,062
cc
C++
third_party/benchmark/test/filter_test.cc
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
31
2016-01-20T05:43:46.000Z
2022-02-07T09:14:06.000Z
third_party/benchmark/test/filter_test.cc
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
221
2016-01-20T18:25:10.000Z
2016-06-26T02:58:12.000Z
third_party/benchmark/test/filter_test.cc
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
17
2016-01-20T04:00:21.000Z
2019-03-12T02:41:25.000Z
#include "benchmark/benchmark.h" #include <assert.h> #include <math.h> #include <stdint.h> #include <iostream> #include <sstream> #include <string> namespace { double CalculatePi(int depth) { double pi = 0.0; for (int i = 0; i < depth; ++i) { double numerator = static_cast<double>(((i % 2) * 2) - 1); do...
23.701149
79
0.666343
[ "vector" ]
00c2c2d801125f916e38ae482b2cf8504cdfc369
674
cpp
C++
Data_Structures/Array/range_queries.cpp
Spnetic-5/DSA_Python
47b48186400bd4e6fe3e0df43c231e33a746272e
[ "MIT" ]
1
2021-05-26T21:01:54.000Z
2021-05-26T21:01:54.000Z
Data_Structures/Array/range_queries.cpp
Spnetic-5/DSA_Python
47b48186400bd4e6fe3e0df43c231e33a746272e
[ "MIT" ]
null
null
null
Data_Structures/Array/range_queries.cpp
Spnetic-5/DSA_Python
47b48186400bd4e6fe3e0df43c231e33a746272e
[ "MIT" ]
null
null
null
// -------------------------------------------------------------------- Range Queries ---------------------------------------------------------------------------- // Time Complexity O(Q+N) #include <bits/stdc++.h> using namespace std; int main(){ int n=10; vector<int> arr(n+1); vector<vector<int>> que...
19.823529
162
0.311573
[ "vector" ]
00c3a15883ddaa2331cc9f03c8bd375e81c01695
18,065
cpp
C++
blast/src/connect/ncbi_socket_cxx.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/connect/ncbi_socket_cxx.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/connect/ncbi_socket_cxx.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id: ncbi_socket_cxx.cpp 594767 2019-10-09 14:55:40Z lavr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government ...
28.950321
79
0.523554
[ "vector" ]
00c84701d37dd89f8c9bf7df54b31a4d9fcecc24
5,339
cpp
C++
src/impl/client_impl_rest.cpp
CreeperLin/dlsrest
fbc6ce363b00bc26e1d06e3d03b6e88437422232
[ "MIT" ]
1
2021-07-01T09:59:07.000Z
2021-07-01T09:59:07.000Z
src/impl/client_impl_rest.cpp
CreeperLin/dlsrest
fbc6ce363b00bc26e1d06e3d03b6e88437422232
[ "MIT" ]
null
null
null
src/impl/client_impl_rest.cpp
CreeperLin/dlsrest
fbc6ce363b00bc26e1d06e3d03b6e88437422232
[ "MIT" ]
null
null
null
#include <cpprest/http_client.h> #include <cpprest/json.h> #pragma comment(lib, "cpprest_2_10") using namespace web; using namespace web::http; using namespace web::http::client; #include <map> #include <iostream> #include "../common/utils.hpp" #include "../server/server.hpp" #include "def.hpp" using namespace std; ...
28.550802
121
0.566773
[ "object" ]
00dc84fe8c57412e57385c5ad1c0280bdf19fc5d
3,030
hpp
C++
Include/FireEngine/Math/Vec3.hpp
storm20200/CMakeTesting
0c3a68398d1c83636cae8d31e751c7d4796e04da
[ "MIT" ]
null
null
null
Include/FireEngine/Math/Vec3.hpp
storm20200/CMakeTesting
0c3a68398d1c83636cae8d31e751c7d4796e04da
[ "MIT" ]
2
2016-02-20T19:37:52.000Z
2016-02-27T01:34:08.000Z
Include/FireEngine/Math/Vec3.hpp
storm20200/FireEngine
0c3a68398d1c83636cae8d31e751c7d4796e04da
[ "MIT" ]
null
null
null
#ifndef FIRE_VEC3_HPP #define FIRE_VEC3_HPP #include <FireEngine/Utility/TypeTraits.hpp> namespace fire { /// A mathematical 3-dimensional vector containing an X, Y and Z component. This can be used extensively as a constexpr /// entity for compile-time computation. /// \tparam T A floating-point or integ...
42.083333
123
0.59736
[ "vector" ]
00dea3cbb493787c2bf89868971791a7fa274c44
15,822
cpp
C++
Code/System/String.cpp
mooming/Kronecker
952cd025bd0a31fe49f0f0d5e11c35474917300c
[ "MIT" ]
null
null
null
Code/System/String.cpp
mooming/Kronecker
952cd025bd0a31fe49f0f0d5e11c35474917300c
[ "MIT" ]
null
null
null
Code/System/String.cpp
mooming/Kronecker
952cd025bd0a31fe49f0f0d5e11c35474917300c
[ "MIT" ]
null
null
null
// Copyright Hansol Park (anav96@naver.com, mooming.go@gmail.com). All rights reserved. #include "System/String.h" #include "System/Allocator.h" #include "System/Debug.h" #include "System/MemoryManager.h" #include "System/StdUtil.h" #include <cstdio> #include <cstring> using namespace HE; String::String(const bool...
21.585266
97
0.570408
[ "vector" ]
00e6a94bdca8135a80a0021e819a22933c543c41
272
cpp
C++
Leetcode/0455. Assign Cookies/0455.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0455. Assign Cookies/0455.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0455. Assign Cookies/0455.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: int findContentChildren(vector<int>& g, vector<int>& s) { sort(begin(g), end(g)); sort(begin(s), end(s)); int i = 0; for (int j = 0; j < s.size() && i < g.size(); ++j) if (g[i] <= s[j]) ++i; return i; } };
18.133333
59
0.474265
[ "vector" ]
00e6db04f9c5edd68918ebde5fb9a35432267d36
1,643
cpp
C++
SPOJ/SPOJ - NKLEAVES/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
SPOJ/SPOJ - NKLEAVES/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
SPOJ/SPOJ - NKLEAVES/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2020-07-07 16:40:31 * solution_verdict: Accepted language: C++ * run...
30.425926
111
0.468655
[ "vector" ]
00e7de42aa1970447f307fac8fc1ef01f95e3489
14,990
cpp
C++
Resonator/Source/PluginEditor.cpp
francoise-rosen/DSP
b24551beb04baf0b1379a3c99b98d29480968ff5
[ "MIT" ]
null
null
null
Resonator/Source/PluginEditor.cpp
francoise-rosen/DSP
b24551beb04baf0b1379a3c99b98d29480968ff5
[ "MIT" ]
null
null
null
Resonator/Source/PluginEditor.cpp
francoise-rosen/DSP
b24551beb04baf0b1379a3c99b98d29480968ff5
[ "MIT" ]
null
null
null
/* ============================================================================== This file contains the basic framework code for a JUCE plugin editor. ============================================================================== */ #include "PluginProcessor.h" #include "PluginEditor.h" //======...
36.560976
217
0.577985
[ "object", "vector" ]
00f5042ff24ef870626e54eb638c1a5e97efe1b4
1,133
cc
C++
yggdrasil_decision_forests/model/metadata.cc
google/yggdrasil-decision-forests
0b284d8afe7ac4773abcdeee88a77681f8681127
[ "Apache-2.0" ]
135
2021-05-12T18:02:11.000Z
2022-03-30T16:48:44.000Z
yggdrasil_decision_forests/model/metadata.cc
google/yggdrasil-decision-forests
0b284d8afe7ac4773abcdeee88a77681f8681127
[ "Apache-2.0" ]
11
2021-06-25T17:25:38.000Z
2022-03-30T03:31:24.000Z
yggdrasil_decision_forests/model/metadata.cc
google/yggdrasil-decision-forests
0b284d8afe7ac4773abcdeee88a77681f8681127
[ "Apache-2.0" ]
10
2021-05-27T02:51:36.000Z
2022-03-28T07:03:52.000Z
/* * Copyright 2021 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...
30.621622
75
0.737864
[ "model" ]
00fa554635bcabd95b71bb2d9647651c3e9f92bd
785
hpp
C++
include/GameEngine/GameEnginePch.hpp
DragonJoker/CastorTD
b055df76aff9f42945a0a5e7ed4ddbf03be84381
[ "MIT" ]
null
null
null
include/GameEngine/GameEnginePch.hpp
DragonJoker/CastorTD
b055df76aff9f42945a0a5e7ed4ddbf03be84381
[ "MIT" ]
null
null
null
include/GameEngine/GameEnginePch.hpp
DragonJoker/CastorTD
b055df76aff9f42945a0a5e7ed4ddbf03be84381
[ "MIT" ]
null
null
null
/** See licence file in root folder, MIT.txt */ #pragma once #ifndef ___EFO_GameEnginePch_HPP___ #define ___EFO_GameEnginePch_HPP___ #include <CastorUtils/Design/Named.hpp> #include <Castor3D/Cache/OverlayCache.hpp> #include <Castor3D/Event/Frame/FrameListener.hpp> #include <Castor3D/Event/Frame/CpuFunctorEvent.hpp> ...
24.53125
51
0.788535
[ "mesh", "geometry", "vector", "model" ]
00fcf6b79bdb42a3c0d1d6b11de33bd96830ea45
107,234
cc
C++
components/signin/public/identity_manager/identity_manager_unittest.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
components/signin/public/identity_manager/identity_manager_unittest.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
components/signin/public/identity_manager/identity_manager_unittest.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 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/signin/public/identity_manager/identity_manager.h" #include <memory> #include <set> #include <utility> #include <vector> #include "...
43.344382
108
0.768534
[ "vector" ]
2e031da3b0d34c99c73fb81fc8b74473de356ccb
11,845
cpp
C++
Tools/Tools/DumpRenderTree/win/ResourceLoadDelegate.cpp
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Tools/Tools/DumpRenderTree/win/ResourceLoadDelegate.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Tools/Tools/DumpRenderTree/win/ResourceLoadDelegate.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
/* * Copyright (C) 2007 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
32.363388
149
0.686788
[ "vector" ]
2e0e9b3626788426392448b13304e09fa111a62a
17,233
cpp
C++
bsengine/src/bstorm/renderer.cpp
Frenticpony/bstorm
4f6a02008d7bddb8d149b15f428cacdd54a2debd
[ "MIT" ]
null
null
null
bsengine/src/bstorm/renderer.cpp
Frenticpony/bstorm
4f6a02008d7bddb8d149b15f428cacdd54a2debd
[ "MIT" ]
null
null
null
bsengine/src/bstorm/renderer.cpp
Frenticpony/bstorm
4f6a02008d7bddb8d149b15f428cacdd54a2debd
[ "MIT" ]
null
null
null
#include <bstorm/renderer.hpp> #include <bstorm/vertex.hpp> #include <bstorm/color_rgb.hpp> #include <bstorm/dnh_const.hpp> #include <bstorm/ptr_util.hpp> #include <bstorm/camera2D.hpp> #include <bstorm/shader.hpp> #include <bstorm/texture.hpp> #include <bstorm/mesh.hpp> #include <bstorm/logger.hpp> #include <algori...
37.381779
287
0.687982
[ "mesh", "3d" ]
2e0fdef21fa17cedaff8105d65d1a91cf8bca7c4
5,601
cpp
C++
ExtremeCopy/App/UI/CptListBox.cpp
kevinwu1024/ExtremeCopy
de9ba1aef769d555d10916169ccf2570c69a8d01
[ "Apache-2.0" ]
67
2020-11-12T11:51:37.000Z
2022-03-01T13:44:43.000Z
ExtremeCopy/App/UI/CptListBox.cpp
kevinwu1024/ExtremeCopy
de9ba1aef769d555d10916169ccf2570c69a8d01
[ "Apache-2.0" ]
4
2021-04-09T08:22:06.000Z
2021-06-07T13:43:13.000Z
ExtremeCopy/App/UI/CptListBox.cpp
kevinwu1024/ExtremeCopy
de9ba1aef769d555d10916169ccf2570c69a8d01
[ "Apache-2.0" ]
12
2020-11-12T11:51:42.000Z
2022-02-11T08:07:37.000Z
/**************************************************************************** Copyright (c) 2008-2020 Kevin Wu (Wu Feng) github: https://github.com/kevinwu1024/ExtremeCopy site: http://www.easersoft.com Licensed under the Apache License, Version 2.0 License (the "License"); you may not use this file except in compli...
17.448598
104
0.607927
[ "vector" ]
2e11d00f34ae845eb200b6f74e7cbf9772eaa728
2,439
cpp
C++
CHAPTER12/C12E12.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
CHAPTER12/C12E12.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
CHAPTER12/C12E12.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
//CHAPTER 12 EX 12 //Needs debugging #include "../sourcesgui/Graph.h" #include "../sourcesgui/Simple_window.h" #include <stdexcept> #include <cmath> //using namespace Graph_lib; constexpr double PI {3.14159265}; //how to get expressions: https://fractional-calculus.com/super_ellipse.pdf //http://www.cpp.re/forum/ge...
34.352113
183
0.616646
[ "vector" ]
2e165e7670b003e50ed77f5fc75e20aa6698b0d3
1,639
cpp
C++
src/SFML-utils/map/Tile.cpp
Krozark/SFML-utils
c2f169faa7f3ce0aa6e23991d21796dca01944be
[ "BSD-2-Clause" ]
23
2016-03-05T11:27:53.000Z
2021-05-29T19:08:26.000Z
src/SFML-utils/map/Tile.cpp
Krozark/SFML-utils
c2f169faa7f3ce0aa6e23991d21796dca01944be
[ "BSD-2-Clause" ]
11
2015-03-12T10:14:06.000Z
2017-11-24T14:34:41.000Z
src/SFML-utils/map/Tile.cpp
Krozark/SFML-utils
c2f169faa7f3ce0aa6e23991d21796dca01944be
[ "BSD-2-Clause" ]
9
2016-04-10T22:28:45.000Z
2021-11-27T08:48:21.000Z
#include <SFML-utils/map/Tile.hpp> #include <SFML-utils/map/geometry/Geometry.hpp> namespace sfutils { namespace map { Tile::Tile(const geometry::Geometry& geometry,const sf::Vector2i& pos) { _shape = geometry.getShape(); _shape.setOutlineColor(sf::Color(128,128,128,100...
23.753623
80
0.539963
[ "geometry" ]
2e1823a264c292ad9dfb385b9d8d860e516fbea2
24,582
hpp
C++
kernel/src/utils/SiconosTools/SiconosGraph.hpp
fperignon/sandbox
649f09d6db7bbd84c2418de74eb9453c0131f070
[ "Apache-2.0" ]
null
null
null
kernel/src/utils/SiconosTools/SiconosGraph.hpp
fperignon/sandbox
649f09d6db7bbd84c2418de74eb9453c0131f070
[ "Apache-2.0" ]
null
null
null
kernel/src/utils/SiconosTools/SiconosGraph.hpp
fperignon/sandbox
649f09d6db7bbd84c2418de74eb9453c0131f070
[ "Apache-2.0" ]
null
null
null
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2020 INRIA. * * 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 * *...
25.290123
115
0.622122
[ "object" ]
2e1a47bf3341dcc44c3c33bf68e1e66ea3556bb4
955
cpp
C++
CH03/06.cpp
hassec/cracking_the_coding_interview_4thED
446ab759fb2bc9d2236521cc71e4de9a1aead2c7
[ "MIT" ]
null
null
null
CH03/06.cpp
hassec/cracking_the_coding_interview_4thED
446ab759fb2bc9d2236521cc71e4de9a1aead2c7
[ "MIT" ]
null
null
null
CH03/06.cpp
hassec/cracking_the_coding_interview_4thED
446ab759fb2bc9d2236521cc71e4de9a1aead2c7
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <random> #include <stack> void sort_stack( std::stack<int>& stack ) { std::stack<int> buffer{}; while ( !stack.empty() ) { int val = stack.top(); stack.pop(); while ( !buffer.empty() && buffer.top() < val ) { stack.push( buffer.top() ); b...
19.895833
75
0.581152
[ "vector" ]
2e1b306bdf6b0e1732b4a609929c521dd3901df8
893
cpp
C++
common.cpp
JohnGlassmyer/esp-watergate
d9d9e62828106372ce1b52902f1ac49246e81171
[ "MIT" ]
1
2021-05-24T19:43:47.000Z
2021-05-24T19:43:47.000Z
common.cpp
JohnGlassmyer/esp-watergate
d9d9e62828106372ce1b52902f1ac49246e81171
[ "MIT" ]
null
null
null
common.cpp
JohnGlassmyer/esp-watergate
d9d9e62828106372ce1b52902f1ac49246e81171
[ "MIT" ]
null
null
null
#include <string> #include "common.h" std::vector<std::string> splitString(std::string const &string, char const *delimiterChars) { std::vector<std::string> segmentStrings; if (string.find_first_of(delimiterChars) == 0) { // recognize zero-length segment at start of string segmentStrings.push_back(""); } si...
24.805556
68
0.690929
[ "vector" ]
2e1c91e4407080fb747c82c75725f3651b06450e
21,548
cpp
C++
blingfiretools/blingfiretokdll/blingfiretokdll.cpp
mauna-ai/BlingFire
f55425c6c1bae92bcf5cafd35a1ea9e66218a2fe
[ "MIT" ]
null
null
null
blingfiretools/blingfiretokdll/blingfiretokdll.cpp
mauna-ai/BlingFire
f55425c6c1bae92bcf5cafd35a1ea9e66218a2fe
[ "MIT" ]
null
null
null
blingfiretools/blingfiretokdll/blingfiretokdll.cpp
mauna-ai/BlingFire
f55425c6c1bae92bcf5cafd35a1ea9e66218a2fe
[ "MIT" ]
null
null
null
#include "FAConfig.h" #include "FALimits.h" #include "FAUtf8Utils.h" #include "FAImageDump.h" #include "FAWbdConfKeeper.h" #include "FALDB.h" #include "FALexTools_t.h" #include <algorithm> #include <vector> #include <string> #include <sstream> #include <mutex> #include <assert.h> /* This library provi...
34.257552
173
0.607063
[ "vector" ]
2e209ece9e6e755d590b1cbf7ed2ab4fd9721120
1,891
cpp
C++
UVA/796.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
1
2019-09-07T15:56:05.000Z
2019-09-07T15:56:05.000Z
UVA/796.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
UVA/796.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; void tarjan(vector<unordered_set<int>> &graph, vector<int> &order, vector<int> &scc, set<pair<int, int>> &ans, const int parent, const int node) { static int accumulate = 0; order[node] = scc[node] = ++accumulate; for (...
29.092308
77
0.521417
[ "vector" ]
2e253c7735734efc5b1b05e7635d31385fd1cd54
35,394
hpp
C++
DarkBit/include/gambit/DarkBit/DarkBit_rollcall.hpp
williamjameshandley/gambit_1.1
8f52b2b3ee6876485baa5a9a76015cf51073e194
[ "Unlicense" ]
null
null
null
DarkBit/include/gambit/DarkBit/DarkBit_rollcall.hpp
williamjameshandley/gambit_1.1
8f52b2b3ee6876485baa5a9a76015cf51073e194
[ "Unlicense" ]
null
null
null
DarkBit/include/gambit/DarkBit/DarkBit_rollcall.hpp
williamjameshandley/gambit_1.1
8f52b2b3ee6876485baa5a9a76015cf51073e194
[ "Unlicense" ]
null
null
null
// GAMBIT: Global and Modular BSM Inference Tool // ********************************************* /// \file /// /// Rollcall header for module DarkBit /// /// Compile-time registration of available obser- /// vables and likelihoods, as well as their /// dependencies. /// /// Add to this if you want to add an ...
34.836614
139
0.708482
[ "object", "vector", "model" ]
2e29d5e58aee683a0f8d496cb3c0650228b7152f
655
cpp
C++
cpp/ATourOfC++/p24.cpp
xiongxin/playground
9f23862b35c00b810e20f2e1e661142c024baa33
[ "MIT" ]
null
null
null
cpp/ATourOfC++/p24.cpp
xiongxin/playground
9f23862b35c00b810e20f2e1e661142c024baa33
[ "MIT" ]
null
null
null
cpp/ATourOfC++/p24.cpp
xiongxin/playground
9f23862b35c00b810e20f2e1e661142c024baa33
[ "MIT" ]
null
null
null
#include <iostream> double sqrt(double); class Vector { public: Vector(int s); double &operator[](int i); int size(); private: double *elem; int sz; }; Vector::Vector(int s) : elem{new double[s]}, sz{s} {} double &Vector::operator[](int i) { static_assert(i <= 0, "integer are to large")...
16.375
53
0.546565
[ "vector" ]
2e2b24d589b10b1142a88416530a734dda10ec9c
38,636
cc
C++
wkhtmltox/src/wkhtmltox/pdfconverter.cc
uribbas/latexpp
ae3138613a83bcca64e56f816c721489e6bbd0fe
[ "MIT" ]
null
null
null
wkhtmltox/src/wkhtmltox/pdfconverter.cc
uribbas/latexpp
ae3138613a83bcca64e56f816c721489e6bbd0fe
[ "MIT" ]
null
null
null
wkhtmltox/src/wkhtmltox/pdfconverter.cc
uribbas/latexpp
ae3138613a83bcca64e56f816c721489e6bbd0fe
[ "MIT" ]
null
null
null
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; eval: (progn (c-set-style "stroustrup") (c-set-offset 'innamespace 0)); -*- // vi:set ts=4 sts=4 sw=4 noet : // // Copyright 2010-2020 wkhtmltopdf authors // // This file is part of wkhtmltopdf. // // wkhtmltopdf is free software: you can redistribute it and/or modif...
32.358459
192
0.694637
[ "render", "object" ]
2e2d8b61ae26d3168f1d27bb2d12bbf1fb364935
32,736
cpp
C++
processData.cpp
BossCuong/DSA2017-A02
6498169fe4522fad80c8336470eb0cbcf9fc1adb
[ "MIT" ]
null
null
null
processData.cpp
BossCuong/DSA2017-A02
6498169fe4522fad80c8336470eb0cbcf9fc1adb
[ "MIT" ]
null
null
null
processData.cpp
BossCuong/DSA2017-A02
6498169fe4522fad80c8336470eb0cbcf9fc1adb
[ "MIT" ]
null
null
null
/* * ========================================================================================== * Name : processData.cpp * Description : student code for Assignment 2 - Data structures and Algorithms - Fall 2017 * ========================================================================================== */ ...
31.537572
126
0.555291
[ "vector" ]
2e2f2f6d44a1d8974f3320989f04c492e998a6d1
4,793
cpp
C++
python/extensions/pybind_isce3/core/Projections.cpp
isce3-testing/isce3-circleci-poc
ec1dfb6019bcdc7afb7beee7be0fa0ce3f3b87b3
[ "Apache-2.0" ]
64
2019-08-06T19:22:22.000Z
2022-03-20T17:11:46.000Z
python/extensions/pybind_isce3/core/Projections.cpp
isce-framework/isce3
59cdd2c659a4879367db5537604b0ca93d26b372
[ "Apache-2.0" ]
8
2020-09-01T22:46:53.000Z
2021-11-04T00:05:28.000Z
python/extensions/pybind_isce3/core/Projections.cpp
isce-framework/isce3
59cdd2c659a4879367db5537604b0ca93d26b372
[ "Apache-2.0" ]
29
2019-08-05T21:40:55.000Z
2022-03-23T00:17:03.000Z
#include "Projections.h" #include <pybind11/eigen.h> #include <string> namespace py = pybind11; using namespace isce3::core; void addbinding(py::class_<ProjectionBase, PyProjectionBase>& pyProjectionBase) { pyProjectionBase.doc() = R"( Abstract base class for map projections, which handle conversion between...
30.335443
80
0.551638
[ "transform" ]
2e34500f74fb36e5384b7da137af3be77c2d1231
1,105
cc
C++
src/input/simple.cc
viyadb/viyadb
56d9b9836a57a36483bee98e6bc79f79e2f5c772
[ "Apache-2.0" ]
109
2017-10-03T06:52:30.000Z
2022-03-22T18:38:48.000Z
src/input/simple.cc
b-xiang/viyadb
b72f9cabacb4b24bd2192ed824d930ccb73d3609
[ "Apache-2.0" ]
26
2017-10-15T19:45:18.000Z
2019-10-18T09:55:54.000Z
src/input/simple.cc
viyadb/viyadb
56d9b9836a57a36483bee98e6bc79f79e2f5c772
[ "Apache-2.0" ]
7
2017-10-03T09:37:36.000Z
2020-12-15T01:04:45.000Z
/* * Copyright (c) 2017-present ViyaDB Group * * 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 ...
29.078947
79
0.714932
[ "vector" ]
aa3680c1b4688dd4b52705771ac392c1ec2520df
1,269
cc
C++
DataStructure/HashTable/test.cc
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
DataStructure/HashTable/test.cc
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
DataStructure/HashTable/test.cc
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
/* * @Author: five-5 * @Date: 2019-07-12 16:25:08 * @Description: * @LastEditTime: 2019-07-12 17:16:24 */ #include <string> #include <vector> #include <iostream> #include <fstream> #include <sstream> #include <ctime> #include "HashTable.hpp" // 读文件内容到vector中 void readFile(std::string filename, std::vector<std:...
21.508475
70
0.568952
[ "vector" ]
aa38a8f1b92206b3cac4af8c1d027291422cdbf1
29,193
cpp
C++
GenerateROS/drinventorfindtriples.cpp
DrInventor/NUIM
7dc0b780e3847b0d5dfb12d324e8e5bd535161b9
[ "MIT" ]
1
2015-07-01T20:37:29.000Z
2015-07-01T20:37:29.000Z
GenerateROS/drinventorfindtriples.cpp
DrInventor/Analogy-and-Assessment
7dc0b780e3847b0d5dfb12d324e8e5bd535161b9
[ "MIT" ]
1
2015-01-17T12:00:18.000Z
2015-01-17T12:00:18.000Z
GenerateROS/drinventorfindtriples.cpp
DrInventor/Analogy-and-Assessment
7dc0b780e3847b0d5dfb12d324e8e5bd535161b9
[ "MIT" ]
null
null
null
#include "drinventorfindtriples.h" DrInventorFindTriples::~DrInventorFindTriples(){ } void DrInventorFindTriples::MakeTripleSent(void){ struct triplesent temp; int count = 0; if (!foundtriples) FindTriples(); for (std::vector<struct sentence>::iterator sit = sentences.begin(); sit != sentences.end(); ++sit){ ...
38.061278
187
0.600418
[ "object", "shape", "vector" ]
aa38cdffb506d79b193e21f56e48de604678fa28
15,535
cpp
C++
src/library/discr_tree.cpp
solson/lean
b13ac127fd83f3724d2f096b1fb85dc6b15e3746
[ "Apache-2.0" ]
2,232
2015-01-01T18:20:29.000Z
2022-03-30T02:35:50.000Z
src/library/discr_tree.cpp
SNU-2D/lean
72a965986fa5aeae54062e98efb3140b2c4e79fd
[ "Apache-2.0" ]
1,187
2015-01-06T05:18:44.000Z
2019-10-31T18:45:42.000Z
src/library/discr_tree.cpp
SNU-2D/lean
72a965986fa5aeae54062e98efb3140b2c4e79fd
[ "Apache-2.0" ]
306
2015-01-16T22:30:27.000Z
2022-03-28T02:55:51.000Z
/* Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <algorithm> #include <vector> #include "util/rb_map.h" #include "util/memory_pool.h" #include "library/trace.h" #include "library/annotation.h" #inc...
36.381733
169
0.592404
[ "vector" ]
aa43a84928dbf409d8cb056668c73fa436662c2a
3,849
cpp
C++
src/colorer/parsers/FileTypeImpl.cpp
elfmz/Colorer-library
b1ddc95064a030bfc583eea1a7f70c9cdc1a9e30
[ "MIT" ]
null
null
null
src/colorer/parsers/FileTypeImpl.cpp
elfmz/Colorer-library
b1ddc95064a030bfc583eea1a7f70c9cdc1a9e30
[ "MIT" ]
null
null
null
src/colorer/parsers/FileTypeImpl.cpp
elfmz/Colorer-library
b1ddc95064a030bfc583eea1a7f70c9cdc1a9e30
[ "MIT" ]
null
null
null
#include <colorer/parsers/FileTypeImpl.h> #include <colorer/unicode/UnicodeTools.h> #include <memory> FileTypeImpl::FileTypeImpl(HRCParserImpl* hrcParser): name(nullptr), group(nullptr), description(nullptr) { this->hrcParser = hrcParser; protoLoaded = type_loaded = loadDone = load_broken = input_source_loading =...
26.183673
105
0.696285
[ "vector" ]
aa4a4c8d6eee207d300ecba4a6b635fa41dff114
3,322
cc
C++
confonnx/test/helpers/tensorproto_converter.cc
kapilvgit/onnx-server-openenclave
974e747c9ba08d6a4fc5cc9943acc1b937a933df
[ "MIT" ]
null
null
null
confonnx/test/helpers/tensorproto_converter.cc
kapilvgit/onnx-server-openenclave
974e747c9ba08d6a4fc5cc9943acc1b937a933df
[ "MIT" ]
null
null
null
confonnx/test/helpers/tensorproto_converter.cc
kapilvgit/onnx-server-openenclave
974e747c9ba08d6a4fc5cc9943acc1b937a933df
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <iostream> #include <unordered_set> #include "onnx_protobuf.h" #include "predict_protobuf.h" #include "test/helpers/pb_loader.h" #include "test/helpers/prettyprint.h" #include "test/helpers/tensorproto_util.h" #i...
37.325843
90
0.661048
[ "shape", "vector", "model" ]
aa5361d3483b98be9dcebd3c3f254430b6089b66
1,025
cpp
C++
source/Crinkler/Transform.cpp
Vertver/Crinkler
608f1aff6041b394ed3b206e30d67f4a47b25d83
[ "BSD-3-Clause" ]
739
2020-07-21T21:08:21.000Z
2022-03-29T20:59:43.000Z
source/Crinkler/Transform.cpp
Vertver/Crinkler
608f1aff6041b394ed3b206e30d67f4a47b25d83
[ "BSD-3-Clause" ]
10
2020-08-07T21:24:03.000Z
2021-11-23T16:11:51.000Z
source/Crinkler/Transform.cpp
Vertver/Crinkler
608f1aff6041b394ed3b206e30d67f4a47b25d83
[ "BSD-3-Clause" ]
47
2020-07-21T22:14:12.000Z
2022-03-14T04:44:37.000Z
#include "Transform.h" #include "Hunk.h" #include "HunkList.h" #include "Log.h" #include "Symbol.h" #include "Crinkler.h" bool Transform::LinkAndTransform(HunkList* hunklist, Symbol *entry_label, int baseAddress, Hunk* &transformedHunk, Hunk** untransformedHunk, int* splittingPoint, bool verbose) { Hunk* det...
22.777778
176
0.687805
[ "transform" ]
aa53ba0f9d049cb80c0340ae02563adbf047b821
5,681
cc
C++
L1Trigger/L1TMuonEndCap/test/tools/MakePtLUT.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
L1Trigger/L1TMuonEndCap/test/tools/MakePtLUT.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
L1Trigger/L1TMuonEndCap/test/tools/MakePtLUT.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include <memory> #include <vector> #include <iostream> #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" // #inc...
30.875
116
0.676289
[ "vector" ]
aa60dac511c31fb4e951b5b3b808e2c6798b6d15
42,204
cpp
C++
B2G/gecko/security/manager/ssl/src/nsIdentityChecking.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/security/manager/ssl/src/nsIdentityChecking.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/security/manager/ssl/src/nsIdentityChecking.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsNSSCertificate.h" #inc...
30.896047
175
0.709435
[ "3d" ]
aa62a39586b2f2adf0e81cb691e21ccf732796c6
814
cpp
C++
Leetcode - Top Interview Questions/(LEETCODE)_698_Partition_to_K_Equal_Sum_Subsets.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
Leetcode - Top Interview Questions/(LEETCODE)_698_Partition_to_K_Equal_Sum_Subsets.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
null
null
null
Leetcode - Top Interview Questions/(LEETCODE)_698_Partition_to_K_Equal_Sum_Subsets.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
null
null
null
class Solution { public: bool canPartitionKSubsets(vector<int>& nums, int k) { int total = accumulate(nums.begin(), nums.end(), 0); if (total % k) return false; int avg = total / k; vector<int> sm(k); sort(nums.begin(), nums.end(), [&](auto& lhs, auto& rhs) {retu...
30.148148
88
0.39312
[ "vector" ]
aa6430e7b7951c3bcc73ba3b32b2d08ddb8eb783
19,237
cpp
C++
utils/sqlite/statement.cpp
racktopsystems/kyua
1929dccc5cda71cddda71485094822d3c3862902
[ "BSD-3-Clause" ]
null
null
null
utils/sqlite/statement.cpp
racktopsystems/kyua
1929dccc5cda71cddda71485094822d3c3862902
[ "BSD-3-Clause" ]
null
null
null
utils/sqlite/statement.cpp
racktopsystems/kyua
1929dccc5cda71cddda71485094822d3c3862902
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2011 The Kyua Authors. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
30.828526
80
0.686957
[ "object" ]
aa6e7614542fda72e5cfe264682af5825eacec51
4,998
cpp
C++
Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/ResetSettingsDialog.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/ResetSettingsDialog.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/ResetSettingsDialog.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include "ResetSettingsDialog.h" #include <EMotionFX/Source/Actor.h> #include <EMotionFX/Source/Act...
39.354331
158
0.701481
[ "object", "3d" ]
aa701e30f7fbbd778109796ba8487ac19dc09e11
44,635
cpp
C++
sources/parser/parser.cpp
louis845/COMP2012H_Project
55ddef5e22d3dfc034b750c9b1de8f89d648ce32
[ "MIT" ]
null
null
null
sources/parser/parser.cpp
louis845/COMP2012H_Project
55ddef5e22d3dfc034b750c9b1de8f89d648ce32
[ "MIT" ]
null
null
null
sources/parser/parser.cpp
louis845/COMP2012H_Project
55ddef5e22d3dfc034b750c9b1de8f89d648ce32
[ "MIT" ]
null
null
null
#include "parser.h" #include "math/linear/LinearOperations.h" using std::cout; using std::endl; using std::string; using std::make_pair; typedef Token::TokName TokName; typedef Token::TokType TokType; // TODO: add custom exception classes and refine exception handling /* Rules for atomic tokens, check the docs for ...
30.975017
141
0.551652
[ "object", "vector" ]
aa7023f1163ebaf5c4a889ae2ec64f69eae387c8
1,900
hpp
C++
src/vulkan_app.hpp
leluron/nbody
34639f408d0c22162ed336ee01f660115b637252
[ "MIT" ]
4
2019-02-28T11:25:29.000Z
2020-07-27T13:20:16.000Z
src/vulkan_app.hpp
leluron/nbody
34639f408d0c22162ed336ee01f660115b637252
[ "MIT" ]
3
2018-05-27T17:53:14.000Z
2018-05-28T04:30:54.000Z
src/vulkan_app.hpp
PLeLuron/nbody
34639f408d0c22162ed336ee01f660115b637252
[ "MIT" ]
1
2019-09-09T10:21:13.000Z
2019-09-09T10:21:13.000Z
#pragma once #include <vulkan/vulkan.h> #include <GLFW/glfw3.h> #include <vector> #include <string> #include <iostream> #define log(x) std::cout << (x) << std::endl struct QueueFamilies { int32_t graphics; int32_t present; bool isValid() { return graphics >= 0 && present >= 0;} }; class VulkanApp { protected: ...
22.619048
80
0.777368
[ "vector" ]
aa72e69a6b46f300b348cd18c96525d09d2c3af7
26,567
cpp
C++
Ipopt-3.12.7/Ipopt/src/Algorithm/LinearSolvers/IpMa97SolverInterface.cpp
MikeBMW/CarND-MPC-Project
81e6e92de2768dce9fbfd1848de6f4465d468a0e
[ "MIT" ]
9
2020-07-09T06:40:31.000Z
2022-03-28T02:50:21.000Z
third-party/CoinIpopt/Ipopt/src/Algorithm/LinearSolvers/IpMa97SolverInterface.cpp
WatsonZhouAnda/Cheetah-Software
05e416fb26f968300826f0deb0953be9afb22bfe
[ "MIT" ]
null
null
null
third-party/CoinIpopt/Ipopt/src/Algorithm/LinearSolvers/IpMa97SolverInterface.cpp
WatsonZhouAnda/Cheetah-Software
05e416fb26f968300826f0deb0953be9afb22bfe
[ "MIT" ]
5
2020-12-01T01:41:12.000Z
2022-01-04T01:21:49.000Z
// Copyright (C) 2012, The Science and Technology Facilities Council. // Copyright (C) 2009, Jonathan Hogg <jhogg41.at.gmail.com>. // Copyright (C) 2004, 2007 International Business Machines and others. // All Rights Reserved. // This code is published under the Eclipse Public License. // // $Id: IpMa97SolverInterface....
39.534226
156
0.623104
[ "object" ]
aa7648a7a5c3f3025f302c881f55861d9f30afdf
7,620
cpp
C++
Driver.cpp
RyanBabij/BigThink
412db815ab6c764e11e766ee445590608b43a4e0
[ "Unlicense" ]
null
null
null
Driver.cpp
RyanBabij/BigThink
412db815ab6c764e11e766ee445590608b43a4e0
[ "Unlicense" ]
null
null
null
Driver.cpp
RyanBabij/BigThink
412db815ab6c764e11e766ee445590608b43a4e0
[ "Unlicense" ]
null
null
null
// Boards can be either current game or possible future game state // simple A-B tree: Pick best option for white, then pick best option for black. // heuristics - Remove bad moves from tree. // step 1 - random moves // turn 1 - max 16 // turn 2 - max 16 etc. //complexity: 16^n // assume always promotion to queen ...
19.488491
80
0.627428
[ "vector" ]
aa7667c78472afd45375bc42852c246d198fd6ef
9,951
cxx
C++
dsmcFoamPlusGpu-master/applications/utilities/postProcessing/graphics/PV4Readers/PV4blockMeshReader/PV4blockMeshReader/vtkPV4blockMeshReader.cxx
Jootiinha/IC-dsmcFoam
f46bb7307e4d3dd7b3eace50603713e153ce72c1
[ "MIT" ]
3
2020-11-25T06:32:42.000Z
2021-12-20T21:35:15.000Z
dsmcFoamPlusGpu-master/applications/utilities/postProcessing/graphics/PV4Readers/PV4blockMeshReader/PV4blockMeshReader/vtkPV4blockMeshReader.cxx
Jootiinha/IC-dsmcFoam
f46bb7307e4d3dd7b3eace50603713e153ce72c1
[ "MIT" ]
null
null
null
dsmcFoamPlusGpu-master/applications/utilities/postProcessing/graphics/PV4Readers/PV4blockMeshReader/PV4blockMeshReader/vtkPV4blockMeshReader.cxx
Jootiinha/IC-dsmcFoam
f46bb7307e4d3dd7b3eace50603713e153ce72c1
[ "MIT" ]
2
2020-11-25T06:32:52.000Z
2021-12-20T21:35:37.000Z
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | --------...
23.692857
79
0.616119
[ "mesh", "object", "model" ]