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
d77009683cc72fd70801fe2ce8c1481f14d22fd4
3,331
cc
C++
experiments/conductivity_inverse/conductivity_inverse.cc
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
19
2020-10-21T10:05:17.000Z
2022-03-20T13:41:50.000Z
experiments/conductivity_inverse/conductivity_inverse.cc
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
4
2021-01-01T15:58:15.000Z
2021-09-19T03:31:09.000Z
experiments/conductivity_inverse/conductivity_inverse.cc
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
4
2020-10-05T09:01:50.000Z
2022-01-11T03:02:39.000Z
#include <MeshIO.hh> #include <MSHFieldWriter.hh> #include "Conductivity.hh" using namespace std; template<size_t N, size_t Deg> void execute(const vector<MeshIO::IOVertex> &inVertices, const vector<MeshIO::IOElement> &inElements) { FEMMesh<N, Deg, VectorND<N>> omega(inElements, inVertices); s...
37.852273
122
0.646052
[ "mesh", "vector" ]
d772b099c51c3496042853cbfe64061cb9a720c4
565
hpp
C++
Samples/Flags/Flagpole.hpp
Ravbug/RavEngine-Samples
e9763cfb00758caaed430f38a5c99c0d44f701a7
[ "Apache-2.0" ]
4
2021-03-05T05:49:34.000Z
2022-03-30T15:30:46.000Z
Samples/Flags/Flagpole.hpp
Ravbug/RavEngine-Samples
e9763cfb00758caaed430f38a5c99c0d44f701a7
[ "Apache-2.0" ]
null
null
null
Samples/Flags/Flagpole.hpp
Ravbug/RavEngine-Samples
e9763cfb00758caaed430f38a5c99c0d44f701a7
[ "Apache-2.0" ]
null
null
null
#pragma once #include <RavEngine/Entity.hpp> #include <RavEngine/BuiltinMaterials.hpp> #include <vector> struct FlagMat : public RavEngine::PBRMaterial{ FlagMat() : PBRMaterial("flag"){} }; struct FlagMatInst : public RavEngine::PBRMaterialInstance{ FlagMatInst(Ref<FlagMat> f) : PBRMaterialInstance(f){} }; ...
22.6
59
0.697345
[ "vector" ]
d7738676a69f9a9b9fc42799f978ad3406439dd7
6,405
cc
C++
python_bindings/metric_fit.cc
jpanetta/Inflatables
6941fb1bf4a2f61a847605aea37adef97bf05d76
[ "MIT" ]
10
2021-10-05T18:52:48.000Z
2022-03-16T06:35:04.000Z
python_bindings/metric_fit.cc
jpanetta/Inflatables
6941fb1bf4a2f61a847605aea37adef97bf05d76
[ "MIT" ]
null
null
null
python_bindings/metric_fit.cc
jpanetta/Inflatables
6941fb1bf4a2f61a847605aea37adef97bf05d76
[ "MIT" ]
2
2021-09-24T22:26:45.000Z
2021-10-14T21:51:18.000Z
#include <iostream> #include <iomanip> #include <sstream> #include <utility> #include <memory> #include <MeshFEM/GlobalBenchmark.hh> #include <MeshFEM/MeshIO.hh> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <pybind11/eigen.h> #include <pybind11/iostream.h> #include <pybind11/functional.h> namespa...
48.522727
169
0.584699
[ "mesh" ]
d775faa046952beb2d822da1fc47d2ed18df7b0a
12,478
cc
C++
geom/is_valid.cc
tintor/sima
7bc21cf1383ee81b7082158ce690befe025f0a4e
[ "Apache-2.0" ]
1
2019-07-06T15:01:00.000Z
2019-07-06T15:01:00.000Z
geom/is_valid.cc
tintor/sima
7bc21cf1383ee81b7082158ce690befe025f0a4e
[ "Apache-2.0" ]
null
null
null
geom/is_valid.cc
tintor/sima
7bc21cf1383ee81b7082158ce690befe025f0a4e
[ "Apache-2.0" ]
null
null
null
#include <core/exception.h> #include <core/union_find.h> #include <core/util.h> #include <geom/aabb.h> #include <geom/classify.h> #include <geom/is_valid.h> #include <geom/primitives.h> #include <geom/project.h> #include <geom/properties.h> bool IsValidPolygon(cspan<double2> poly) { auto n = poly.size(); if (n...
34.186301
120
0.555217
[ "mesh", "vector" ]
d7761285f4969ab0875cd7f3b1e510aaccb7be56
5,503
hpp
C++
Source/Pd/PdInstance.hpp
jmaibaum/Camomile
5801804fd69ad17ef29a026afbff5b5f89224297
[ "BSD-2-Clause" ]
null
null
null
Source/Pd/PdInstance.hpp
jmaibaum/Camomile
5801804fd69ad17ef29a026afbff5b5f89224297
[ "BSD-2-Clause" ]
null
null
null
Source/Pd/PdInstance.hpp
jmaibaum/Camomile
5801804fd69ad17ef29a026afbff5b5f89224297
[ "BSD-2-Clause" ]
null
null
null
/* // Copyright (c) 2015-2018 Pierre Guillot. // For information on usage and redistribution, and for a DISCLAIMER OF ALL // WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ #pragma once #include <map> #include <utility> #include "PdPatch.hpp" #include "PdAtom.hpp" #include "../Queues/rea...
39.876812
116
0.576958
[ "object", "vector" ]
d77aa5a14eafd3db5939d3d3c4241833eab2aff9
3,546
cpp
C++
c++/protocol/NativeProtocol/NativeProtocol/com_minecade_deepend_nativeprot_DeependProtocol.cpp
Sauilitired/Deepend
6cfcb6b18e3997c1cf7ed9b944ce5bfb97ce8aaf
[ "Apache-2.0" ]
1
2016-02-26T21:08:00.000Z
2016-02-26T21:08:00.000Z
c++/protocol/NativeProtocol/NativeProtocol/com_minecade_deepend_nativeprot_DeependProtocol.cpp
Minecade/Deepend
6cfcb6b18e3997c1cf7ed9b944ce5bfb97ce8aaf
[ "Apache-2.0" ]
null
null
null
c++/protocol/NativeProtocol/NativeProtocol/com_minecade_deepend_nativeprot_DeependProtocol.cpp
Minecade/Deepend
6cfcb6b18e3997c1cf7ed9b944ce5bfb97ce8aaf
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "com_minecade_deepend_nativeprot_DeependProtocol.h" using std::cout; using std::endl; static jclass c_nativeClass; static jmethodID c_constructorB; static jmethodID c_constructorI; static jmethodID c_constructorS; static jstring emptyString; jchar* bytesToChars(const jbyte *bytes, const ...
31.380531
107
0.718556
[ "object", "vector" ]
d77abdc3ec1ebeef7b1f81846d58c2521cc06dee
18,518
cpp
C++
src/tcp.cpp
swishcloud/tcp-cpp
03c65e980b283532f9032835ce75cc7c427a2bd2
[ "MIT" ]
null
null
null
src/tcp.cpp
swishcloud/tcp-cpp
03c65e980b283532f9032835ce75cc7c427a2bd2
[ "MIT" ]
null
null
null
src/tcp.cpp
swishcloud/tcp-cpp
03c65e980b283532f9032835ce75cc7c427a2bd2
[ "MIT" ]
null
null
null
#include <tcp.h> namespace GLOBAL_NAMESPACE_NAME { tcp_server::tcp_server(short port) : port(port), accecption_times{0}, session_count_peak{0}, end{false} { } tcp_server::~tcp_server() { //common::print_debug(common::string_format("waiting heartbeat thread to exit...")); //this->hear...
39.4
267
0.523275
[ "vector" ]
d780add27304c38f418973c94918c48d8f8aa680
3,415
hpp
C++
CSGOSimple/valve_sdk/interfaces/IPrediction.hpp
kmgb/Gazoozle
564247f55d310c00af4370296778b1f3b700ee49
[ "MIT" ]
18
2018-08-15T13:25:45.000Z
2021-06-10T09:03:29.000Z
CSGOSimple/valve_sdk/interfaces/IPrediction.hpp
kmgb/Gazoozle
564247f55d310c00af4370296778b1f3b700ee49
[ "MIT" ]
2
2018-08-21T14:43:04.000Z
2021-07-30T06:09:02.000Z
CSGOSimple/valve_sdk/interfaces/IPrediction.hpp
kmgb/Gazoozle
564247f55d310c00af4370296778b1f3b700ee49
[ "MIT" ]
9
2018-08-16T10:41:13.000Z
2021-08-23T23:05:16.000Z
#pragma once #include "../math/QAngle.hpp" #include "../misc/CUserCmd.hpp" #include "IMoveHelper.hpp" class CMoveData { public: bool m_bFirstRunOfFunctions : 1; bool m_bGameCodeMovedPlayer : 1; int m_nPlayerHandle; // edict index on server, client entity handle on client= int m_nI...
37.527473
99
0.666764
[ "vector" ]
d78c27aeb4165c6f6ddd5555ea9c8ae73f8d063a
21,142
cc
C++
src/Molecule_Lib/marvin.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
6
2020-08-17T15:02:14.000Z
2022-01-21T19:27:56.000Z
src/Molecule_Lib/marvin.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
null
null
null
src/Molecule_Lib/marvin.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
null
null
null
#include <stdlib.h> #include <limits> #include <memory> #include "Foundational/data_source/iwstring_data_source.h" #include "Foundational/iwmisc/misc.h" #include "Foundational/xmlParser/xmlParser.h" #define COMPILING_MARVIN_CC #include "molecule.h" #include "marvin.h" static const Marvin_Structure_Information * ms...
22.684549
145
0.585753
[ "geometry", "3d" ]
d78e8fad5744184acee52dd993e8768a8d23fe83
1,924
cpp
C++
modules/segmentation/src/segmenter_euclidean.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
17
2015-11-16T14:21:10.000Z
2020-11-09T02:57:33.000Z
modules/segmentation/src/segmenter_euclidean.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
35
2015-07-27T15:04:43.000Z
2019-08-22T10:52:35.000Z
modules/segmentation/src/segmenter_euclidean.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
18
2015-08-06T09:26:27.000Z
2020-09-03T01:31:00.000Z
#include <v4r/segmentation/segmenter_euclidean.h> #include <pcl/impl/instantiate.hpp> #include <pcl/segmentation/extract_clusters.h> #include <pcl/kdtree/kdtree.h> namespace v4r { template <typename PointT> void EuclideanSegmenter<PointT>::segment() { // NaN points cause segmentation fault in kdtree search ty...
32.066667
95
0.685551
[ "vector" ]
d7900c94fe11345af40108e84bde170acb844066
14,727
cc
C++
src/bin/d2/d2_cfg_mgr.cc
gumingpo/kea-latest
ca64954cd71dd544e7c92a0aa366dfc0f79d4ce1
[ "Apache-2.0" ]
null
null
null
src/bin/d2/d2_cfg_mgr.cc
gumingpo/kea-latest
ca64954cd71dd544e7c92a0aa366dfc0f79d4ce1
[ "Apache-2.0" ]
null
null
null
src/bin/d2/d2_cfg_mgr.cc
gumingpo/kea-latest
ca64954cd71dd544e7c92a0aa366dfc0f79d4ce1
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC") // // 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 <config.h> #include <d2/d2_log.h> #...
35.316547
79
0.606641
[ "vector" ]
d7945c9f6a9ee62855c4813d75363ac9cf92c6f4
5,248
hpp
C++
src/editor/editor.hpp
shacklettbp/csknowviz
8c4e1b9f8bc15818ab47e0a6252c168bd9fc25c7
[ "MIT" ]
null
null
null
src/editor/editor.hpp
shacklettbp/csknowviz
8c4e1b9f8bc15818ab47e0a6252c168bd9fc25c7
[ "MIT" ]
null
null
null
src/editor/editor.hpp
shacklettbp/csknowviz
8c4e1b9f8bc15818ab47e0a6252c168bd9fc25c7
[ "MIT" ]
null
null
null
#pragma once #include <unordered_set> #include <unordered_map> #include <utility> #include <string> #include "renderer.hpp" #include "utils.hpp" #include "json.hpp" namespace RLpbr { namespace editor { struct AreaLight { std::array<glm::vec3, 4> vertices; glm::vec3 translate; }; struct NavmeshData { std...
24.638498
82
0.648056
[ "render", "vector" ]
d79574282d715a93273d7d07d9c7c2d5245b1e6b
13,555
cpp
C++
gnc/matlab/code_generation/sharedutils/ekfccjmgknopmoph_svd.cpp
sahibdhanjal/astrobee
5bc4e6e58adcf1bc7e1c3719ced736063bba276c
[ "Apache-2.0" ]
3
2018-01-04T02:00:49.000Z
2020-09-29T20:32:07.000Z
gnc/matlab/code_generation/sharedutils/ekfccjmgknopmoph_svd.cpp
sahibdhanjal/astrobee
5bc4e6e58adcf1bc7e1c3719ced736063bba276c
[ "Apache-2.0" ]
null
null
null
gnc/matlab/code_generation/sharedutils/ekfccjmgknopmoph_svd.cpp
sahibdhanjal/astrobee
5bc4e6e58adcf1bc7e1c3719ced736063bba276c
[ "Apache-2.0" ]
2
2020-02-20T06:02:33.000Z
2020-07-21T11:45:47.000Z
// // File: ekfccjmgknopmoph_svd.cpp // // Code generated for Simulink model 'fam_force_allocation_module'. // // Model version : 1.1142 // Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 // C/C++ source code generated on : Mon Dec 4 08:34:01 2017 // #include "rtwtypes.h" #include <math.h> ...
28.901919
83
0.466322
[ "model" ]
d7958cbc439f94bc72330717b8f4f4e70030f8aa
1,359
cpp
C++
1011_shipWithinDays.cpp
yzhhome/leetcode_cpp
69404b039848e9e43ace80c43243f04b037a1fa1
[ "MIT" ]
null
null
null
1011_shipWithinDays.cpp
yzhhome/leetcode_cpp
69404b039848e9e43ace80c43243f04b037a1fa1
[ "MIT" ]
null
null
null
1011_shipWithinDays.cpp
yzhhome/leetcode_cpp
69404b039848e9e43ace80c43243f04b037a1fa1
[ "MIT" ]
null
null
null
/* 1011. 在D天内送达包裹的能力 https://leetcode-cn.com/problems/capacity-to-ship-packages-within-d-days/ */ #include <iostream> #include <vector> using namespace std; // weights重量的货物,以cap的运载能力,D天内能否完成运输 bool canFinish(vector<int> weights, int D, int caps){ int i = 0; for (int day = 0; day < D; day++){ ...
20.590909
77
0.535688
[ "vector" ]
d79685629c1079cfa805d19d0f934a5423d6aad9
20,174
cc
C++
L1Trigger/Phase2L1Taus/test/L1TausAnalyzer.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/Phase2L1Taus/test/L1TausAnalyzer.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/Phase2L1Taus/test/L1TausAnalyzer.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
// -*- C++ -*- // // Package: L1TausAnalyzer // Class: L1TausAnalyzer // /**\class L1TausAnalyzer L1TausAnalyzer.cc Description: Study the performace of the L1 hadronic tau algorithms (Rates, Efficiencies, Turn-on curves) Implementation: [Notes on implementation] */ // system include files #include ...
32.644013
216
0.660801
[ "object", "vector" ]
d79aacc578e029676d271c71e05cf10924bbca95
2,429
hpp
C++
test/test_utils/scheduling.hpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/test_utils/scheduling.hpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/test_utils/scheduling.hpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
1
2021-02-24T06:23:56.000Z
2021-02-24T06:23:56.000Z
//======================================================================= // Copyright (c) // // 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) //====================================================================...
32.824324
77
0.631536
[ "vector" ]
d79baa582c1019d75e4195dbc74a6613f1e7b5f9
1,596
hpp
C++
modules/arm_plugin/src/arm_plugin.hpp
embedded-dev-research/openvino_contrib
fe1f48588812677719d81bf0f778a9d01f811f93
[ "Apache-2.0" ]
null
null
null
modules/arm_plugin/src/arm_plugin.hpp
embedded-dev-research/openvino_contrib
fe1f48588812677719d81bf0f778a9d01f811f93
[ "Apache-2.0" ]
null
null
null
modules/arm_plugin/src/arm_plugin.hpp
embedded-dev-research/openvino_contrib
fe1f48588812677719d81bf0f778a9d01f811f93
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2020-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <string> #include <map> #include <unordered_map> #include <vector> #include <cpp/ie_cnn_network.h> #include <cpp_interfaces/interface/ie_iplugin_internal.hpp> #include "arm_executable_netwo...
37.116279
123
0.676692
[ "vector", "transform" ]
d79c916ce01ee2afd0af2abac248b6c2ac7624ce
3,109
hpp
C++
old/error_states.hpp
oliver-peoples/ACTAN
5ed78c8e88232dab92fb934d0f85c007d4e98596
[ "Unlicense" ]
null
null
null
old/error_states.hpp
oliver-peoples/ACTAN
5ed78c8e88232dab92fb934d0f85c007d4e98596
[ "Unlicense" ]
null
null
null
old/error_states.hpp
oliver-peoples/ACTAN
5ed78c8e88232dab92fb934d0f85c007d4e98596
[ "Unlicense" ]
null
null
null
namespace actan { namespace error_states { const size_t LE_NL = 0; const size_t LE_NA = 1; const size_t LE_CS = 2; struct ErrorCodeACTAN { int error_type; std::string description; std::string getErrorString(int64_t timestamp, std::str...
53.603448
162
0.649405
[ "model" ]
d79d69ea6da8960c71c1b12ce89b5cbd9fcde299
931
cpp
C++
Sources/Material.cpp
Leo-Besancon/RayTracer
4603d9abf95f36bfd58f18184e63a1d994049686
[ "MIT" ]
null
null
null
Sources/Material.cpp
Leo-Besancon/RayTracer
4603d9abf95f36bfd58f18184e63a1d994049686
[ "MIT" ]
null
null
null
Sources/Material.cpp
Leo-Besancon/RayTracer
4603d9abf95f36bfd58f18184e63a1d994049686
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Material.h" Material Material::createMirror(Vector specular_color) { Material m = Material(); m._mirror = true; m._specular_color = specular_color; return m; } Material Material::createTransparent(Vector specular_color, double n_object) { Material m = Material(); m._transparent = ...
19.808511
90
0.741139
[ "vector" ]
d79df492b5c89241cf5bd6c5e796b61aa6ce5d77
13,454
cpp
C++
Visual Mercutio/zModel/PSS_ProcessModelTreeView.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zModel/PSS_ProcessModelTreeView.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zModel/PSS_ProcessModelTreeView.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_ProcessModelTreeView --------------------------------------------* **************************************************************************** * Description : Provides a process model tree view * * Devel...
34.675258
121
0.501338
[ "model" ]
d7a4a2abfa603f434710804543f606c5e04952c6
1,059
cpp
C++
articulation point.cpp
amitXsarkar/ProgrammingHub
2c860effb55da1ec303a96224751692a52d3dbfd
[ "MIT" ]
null
null
null
articulation point.cpp
amitXsarkar/ProgrammingHub
2c860effb55da1ec303a96224751692a52d3dbfd
[ "MIT" ]
null
null
null
articulation point.cpp
amitXsarkar/ProgrammingHub
2c860effb55da1ec303a96224751692a52d3dbfd
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; vector<ll> adj[10001]; ll low[10001],disc[10001],child[10001],cnt; bool vis[10001]; void dfs(ll node,ll tim,ll par) { ll i,j,k,flag=0; //cout<<node<<" "; vis[node]=true; disc[node]=tim; low[node]=tim; for(i=0;i<adj[node].size();i...
16.292308
44
0.501416
[ "vector" ]
d7a4a90ea6e60b76fb5e12e968aaf356452ac7b9
949
hpp
C++
lib/world/city.hpp
julienlopez/QCityBuilder
fe61a56bcdeda301211d49a9e358258eefafa14c
[ "MIT" ]
1
2019-03-19T03:14:22.000Z
2019-03-19T03:14:22.000Z
lib/world/city.hpp
julienlopez/QCityBuilder
fe61a56bcdeda301211d49a9e358258eefafa14c
[ "MIT" ]
11
2015-01-27T17:35:12.000Z
2018-08-13T07:48:35.000Z
lib/world/city.hpp
julienlopez/QCityBuilder
fe61a56bcdeda301211d49a9e358258eefafa14c
[ "MIT" ]
null
null
null
#ifndef CITY_HPP #define CITY_HPP #include "building.hpp" #include "map.hpp" #include "villager.hpp" #include <string> class InventorySummary; BEGIN_NAMESPACE_WORLD class City { public: using container_building = std::vector<Building>; using VillagerContainer_t = std::vector<Villager>; City(std::strin...
18.607843
59
0.718651
[ "vector" ]
d7a64e662119c8b0e6e33994ee68d40b49960023
22,918
cc
C++
tools/click-mkmindriver/click-mkmindriver.cc
kkovacs/fastclick
59a9a26cc0026305d44d9bb50a5e8ea4b12f79b6
[ "BSD-3-Clause-Clear" ]
null
null
null
tools/click-mkmindriver/click-mkmindriver.cc
kkovacs/fastclick
59a9a26cc0026305d44d9bb50a5e8ea4b12f79b6
[ "BSD-3-Clause-Clear" ]
null
null
null
tools/click-mkmindriver/click-mkmindriver.cc
kkovacs/fastclick
59a9a26cc0026305d44d9bb50a5e8ea4b12f79b6
[ "BSD-3-Clause-Clear" ]
null
null
null
// -*- c-basic-offset: 4 -*- /* * click-mkmindriver.cc -- produce a minimum Click driver Makefile setup * Eddie Kohler * * Copyright (c) 2001 Massachusetts Institute of Technology * Copyright (c) 2001 International Computer Science Institute * Copyright (c) 2004-2011 Regents of the University of California * Cop...
32.278873
155
0.630247
[ "vector" ]
d7a76d2b54cd6380769ecaba659ef319647bf378
2,598
cpp
C++
2016 Multi-University Training Contest 3/D.cpp
PrayStarJirachi/Reshiram
6475fe37f105cdd5382e4f621050128250603acb
[ "MIT" ]
null
null
null
2016 Multi-University Training Contest 3/D.cpp
PrayStarJirachi/Reshiram
6475fe37f105cdd5382e4f621050128250603acb
[ "MIT" ]
null
null
null
2016 Multi-University Training Contest 3/D.cpp
PrayStarJirachi/Reshiram
6475fe37f105cdd5382e4f621050128250603acb
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> const int MAXE = 911; const int dx[] = {1, -1, 0, 0}; const int dy[] = {0, 0, 1, -1}; int T, n, m, a[MAXE][MAXE], id[MAXE][MAXE], x[MAXE], map[MAXE][MAXE]; int main() { freopen("D.in", "r", stdin); scanf("%d", &T); for (int cs = 1; cs <= T; cs++) { int n, m, tot = 0; sca...
28.549451
95
0.383372
[ "vector" ]
92e2811e191aa2c13ad5fdf735276f7d2d6f2deb
2,400
cpp
C++
test/local_search/facility_location/facility_location_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/local_search/facility_location/facility_location_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/local_search/facility_location/facility_location_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
1
2021-02-24T06:23:56.000Z
2021-02-24T06:23:56.000Z
//======================================================================= // Copyright (c) // // 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) //====================================================================...
40
80
0.654583
[ "vector" ]
92e8db239d01916c648f2f6d0a51e8fc89e38195
5,280
cpp
C++
examples/ml/Configuration.cpp
jcarreira/cirrus-kv
a44099185e02859385997956333b364ae836fee5
[ "Apache-2.0" ]
8
2018-07-18T22:13:36.000Z
2021-08-24T12:28:42.000Z
examples/ml/Configuration.cpp
jcarreira/ddc
a44099185e02859385997956333b364ae836fee5
[ "Apache-2.0" ]
7
2016-11-22T11:07:14.000Z
2016-12-17T22:49:23.000Z
examples/ml/Configuration.cpp
jcarreira/ddc
a44099185e02859385997956333b364ae836fee5
[ "Apache-2.0" ]
null
null
null
#include <examples/ml/Configuration.h> #include <fstream> #include <iostream> #include <sstream> #include <utils/Log.h> Configuration::Configuration() : learning_rate(-1), epsilon(-1) {} /** * Read configuration from a specific config file * @param path Path to the configuration file */ void Co...
27.076923
78
0.6125
[ "model" ]
92ed4d34499916f40c1b889e3854cf4c8bf39e79
3,717
cpp
C++
workspace/VariantUsage/src/Test.cpp
PeterSommerlad/workshopworkspace
5e5eb9c42280a4aba27ee196d3003fd54a5e3607
[ "MIT" ]
2
2021-08-28T11:43:58.000Z
2021-09-07T08:10:05.000Z
workspace/VariantUsage/src/Test.cpp
PeterSommerlad/workshopworkspace
5e5eb9c42280a4aba27ee196d3003fd54a5e3607
[ "MIT" ]
null
null
null
workspace/VariantUsage/src/Test.cpp
PeterSommerlad/workshopworkspace
5e5eb9c42280a4aba27ee196d3003fd54a5e3607
[ "MIT" ]
null
null
null
#include "cute.h" #include "ide_listener.h" #include "xml_listener.h" #include "cute_runner.h" #include "pssst.h" #include <sstream> #include <string> #include <variant> enum class errorcode { ok, failed_input }; std::variant<std::string, errorcode> inputName(std::istream & in) { std::string name{}; if (in >> ...
23.826923
93
0.670702
[ "vector" ]
92ee20554ffdf7f782ef0a376e6263f3e19afd72
3,466
hpp
C++
CSGOSimple/valve_sdk/misc/datamap.hpp
Tyler-Admin/CSGOSimple
99a659a1368ed9445b9ccf8ec4514d25d9bf81d6
[ "MIT" ]
400
2018-10-30T14:52:13.000Z
2022-03-29T11:46:24.000Z
CSGOSimple/valve_sdk/misc/datamap.hpp
Tyler-Admin/CSGOSimple
99a659a1368ed9445b9ccf8ec4514d25d9bf81d6
[ "MIT" ]
126
2018-12-03T15:54:57.000Z
2022-03-23T17:11:53.000Z
CSGOSimple/valve_sdk/misc/datamap.hpp
alerion921/krilu92-csgo
aa18bff83ff48b2c9c52655424db39a9b9655e86
[ "MIT" ]
316
2018-11-09T22:38:38.000Z
2022-03-25T13:35:09.000Z
#pragma once #include <iostream> struct inputdata_t; typedef enum _fieldtypes { FIELD_VOID = 0, // No type or value FIELD_FLOAT, // Any floating point value FIELD_STRING, // A string ID (return from ALLOC_STRING) FIELD_VECTOR, // Any vector, QAngle, or AngularImpulse FIELD_QUATERNION, // A quaternion FI...
36.484211
146
0.680323
[ "object", "vector", "model" ]
92f0733f640e937ec157f7e009494ad8a3f5c39e
16,817
cc
C++
google/cloud/servicemanagement/internal/service_manager_connection_impl.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
80
2017-11-24T00:19:45.000Z
2019-01-25T10:24:33.000Z
google/cloud/servicemanagement/internal/service_manager_connection_impl.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
1,579
2017-11-24T01:01:21.000Z
2019-01-28T23:41:21.000Z
google/cloud/servicemanagement/internal/service_manager_connection_impl.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
51
2017-11-24T00:56:11.000Z
2019-01-18T20:35:02.000Z
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
45.206989
84
0.688113
[ "vector" ]
1303ff300e5b55ef73a3fd1d2d7be95ebb7b2481
27,821
cpp
C++
tools/onnx2bnn/OnnxConverter.cpp
qaz734913414/dabnn
27b88a48a1d8da3b15e5296356418ebb0b515f1f
[ "Apache-2.0" ]
null
null
null
tools/onnx2bnn/OnnxConverter.cpp
qaz734913414/dabnn
27b88a48a1d8da3b15e5296356418ebb0b515f1f
[ "Apache-2.0" ]
null
null
null
tools/onnx2bnn/OnnxConverter.cpp
qaz734913414/dabnn
27b88a48a1d8da3b15e5296356418ebb0b515f1f
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 JD.com Inc. JD AI #include "OnnxConverter.h" #include <bitset> #include <fstream> #include <map> #include <memory> #include <numeric> #include <string> #include <vector> #include <common/Shaper.h> #include <common/StrKeyMap.h> #include <common/common_bitpack.h> #include <common/flatbuffers_helper.h...
44.584936
85
0.54865
[ "shape", "vector", "model" ]
130a643b031f6069a362be2888c16a820dffe53d
26,912
cc
C++
modules/tracking/plugin/PiiMultiPointTracker.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-19T22:14:18.000Z
2020-04-13T23:27:20.000Z
modules/tracking/plugin/PiiMultiPointTracker.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
null
null
null
modules/tracking/plugin/PiiMultiPointTracker.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-16T05:43:15.000Z
2019-01-29T07:57:11.000Z
/* This file is part of Into. * Copyright (C) Intopii 2013. * All rights reserved. * * Licensees holding a commercial Into license may use this file in * accordance with the commercial license agreement. Please see * LICENSE.commercial for commercial licensing terms. * * Alternatively, this file may be used und...
33.102091
146
0.649227
[ "object", "vector" ]
130c66622630f6305632ee4d3d65506d1a2f4f8b
2,625
cpp
C++
DevTools/HackStudio/WidgetTreeModel.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
3
2020-05-01T02:39:03.000Z
2021-11-26T08:34:54.000Z
DevTools/HackStudio/WidgetTreeModel.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
null
null
null
DevTools/HackStudio/WidgetTreeModel.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
1
2021-06-02T18:02:51.000Z
2021-06-02T18:02:51.000Z
#include "WidgetTreeModel.h" #include <AK/StringBuilder.h> #include <LibGUI/GWidget.h> #include <stdio.h> WidgetTreeModel::WidgetTreeModel(GWidget& root) : m_root(root) { m_widget_icon.set_bitmap_for_size(16, GraphicsBitmap::load_from_file("/res/icons/16x16/inspector-object.png")); } WidgetTreeModel::~WidgetT...
29.494382
115
0.680381
[ "object" ]
130d1f17d6269776f44e7dd7cae3543ddf3b52e3
10,790
cpp
C++
src/tests/ip.cpp
Erroneous1/brewpipp
73b65f0c7f78920fa1f65b787ed19f5b3681ffcd
[ "MIT" ]
1
2019-04-30T08:53:47.000Z
2019-04-30T08:53:47.000Z
src/tests/ip.cpp
Erroneous1/brewpipp
73b65f0c7f78920fa1f65b787ed19f5b3681ffcd
[ "MIT" ]
null
null
null
src/tests/ip.cpp
Erroneous1/brewpipp
73b65f0c7f78920fa1f65b787ed19f5b3681ffcd
[ "MIT" ]
null
null
null
/* * Distrubuted under The MIT License (MIT) * * Copyright (c) 2016 Aaron Bishop * * 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...
44.040816
105
0.583689
[ "vector" ]
1317bb2dbb34678d5c8e1535ea6052ee8e80ad65
7,315
hpp
C++
include/algorithms/cpop.hpp
Felix-Droop/static_task_scheduling
084b7d53caeff9ac3593aa7e3d2c5206afd234d0
[ "MIT" ]
null
null
null
include/algorithms/cpop.hpp
Felix-Droop/static_task_scheduling
084b7d53caeff9ac3593aa7e3d2c5206afd234d0
[ "MIT" ]
null
null
null
include/algorithms/cpop.hpp
Felix-Droop/static_task_scheduling
084b7d53caeff9ac3593aa7e3d2c5206afd234d0
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <queue> #include <ranges> #include <sstream> #include <unordered_map> #include <unordered_set> #include <vector> #include <cluster/cluster.hpp> #include <io/command_line_arguments.hpp> #include <io/handle_output.hpp> #include <schedule/schedule.hpp> #include <util/epsilon_c...
33.25
116
0.660014
[ "vector", "model", "transform" ]
13254f3ba52dc7b5758a8b534b6fbec5b884742e
807
cpp
C++
leetcode.com/0802 Find Eventual Safe States/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0802 Find Eventual Safe States/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0802 Find Eventual Safe States/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; // ref: Detect Cycle in a directed graph using colors // https://www.geeksforgeeks.org/detect-cycle-direct-graph-using-colors/ class Solution { enum Color { UNCHKED, SAFE, UNSAFE }; int n; bool is_safe(int i, vector<Color>& colors, vector<vector<int>>&...
24.454545
74
0.61834
[ "vector" ]
1325acc7b5913890a15a5903f760072b3e368c02
13,104
cpp
C++
src/obj/NiNode.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
1
2021-12-24T00:42:42.000Z
2021-12-24T00:42:42.000Z
src/obj/NiNode.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
null
null
null
src/obj/NiNode.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2006, NIF File Format Library and Tools All rights reserved. Please see niflib.h for license. */ //-----------------------------------NOTICE----------------------------------// // Some of this file is automatically filled in by a Python script. Only // // add custom code in the designated areas o...
29.917808
167
0.638584
[ "mesh", "object", "vector", "transform" ]
133200c49fc3cf52379285ab8000cccc962ad122
3,978
cpp
C++
bl/util/dynamic_lib.cpp
potato3d/baselib
2744c4dc752b50c9171c43cf0f1db4c6716a634d
[ "MIT" ]
null
null
null
bl/util/dynamic_lib.cpp
potato3d/baselib
2744c4dc752b50c9171c43cf0f1db4c6716a634d
[ "MIT" ]
null
null
null
bl/util/dynamic_lib.cpp
potato3d/baselib
2744c4dc752b50c9171c43cf0f1db4c6716a634d
[ "MIT" ]
null
null
null
#include <bl/util/dynamic_lib.h> #include <bl/util/algorithm.h> #include <bl/util/path.h> #if defined BL_OS_WIN #define WIN32_LEAN_AND_MEAN #include <windows.h> #elif defined BL_OS_LINUX #include <dlfcn.h> #else #error "Unsupported operating system." #endif namespace bl { static string get_last_error() { string e...
20.827225
103
0.686023
[ "object" ]
133817d199f5adc4da9a36517aa39ccdc67d98a2
3,052
cc
C++
countingBound/cliqueCounter/CliqueCoverageCounter.cc
joshtburdick/misc
7bb103b4f9d850e3279eb675c6df420aa7b8da22
[ "MIT" ]
null
null
null
countingBound/cliqueCounter/CliqueCoverageCounter.cc
joshtburdick/misc
7bb103b4f9d850e3279eb675c6df420aa7b8da22
[ "MIT" ]
null
null
null
countingBound/cliqueCounter/CliqueCoverageCounter.cc
joshtburdick/misc
7bb103b4f9d850e3279eb675c6df420aa7b8da22
[ "MIT" ]
null
null
null
#include "CliqueCoverageCounter.h" #include <stdint.h> #include <cstdlib> #include <iostream> #include <vector> using namespace std; /** Constructor. */ CliqueCoverageCounter::CliqueCoverageCounter(int n, int r, int maxCliqueSize) : cliques(n, r, maxCliqueSize), cliqueCount(maxCliqueSize+1), coveredEdgeC...
32.817204
79
0.642857
[ "vector" ]
133aedbd43a636c48b0fb9d30690d7beafb81c6b
9,810
cc
C++
src/NodeHMM.cc
KanoComputing/node-gr
849262582801601f2fe9e09f894f91a796264355
[ "MIT" ]
4
2018-06-22T13:01:14.000Z
2021-02-12T15:07:07.000Z
src/NodeHMM.cc
KanoComputing/node-gr
849262582801601f2fe9e09f894f91a796264355
[ "MIT" ]
1
2018-06-01T13:56:05.000Z
2018-12-11T00:52:34.000Z
src/NodeHMM.cc
KanoComputing/node-gr
849262582801601f2fe9e09f894f91a796264355
[ "MIT" ]
4
2018-02-02T15:31:04.000Z
2021-07-25T07:32:41.000Z
#include "NodeHMM.h" #include "NodeTimeSeriesClassificationData.h" #include <GRT/GRT.h> Nan::Persistent<v8::Function> NodeHMM::constructor; NAN_MODULE_INIT(NodeHMM::Init) { v8::Local<v8::FunctionTemplate> tpl = Nan::New<v8::FunctionTemplate>(New); tpl->SetClassName(Nan::New("HMM").ToLocalChecked()); tpl->...
37.159091
158
0.64842
[ "vector" ]
133b40f46ae568831787623799635928b013bbcd
1,041
cc
C++
basic/template/variadic/10.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
1
2021-03-16T02:13:12.000Z
2021-03-16T02:13:12.000Z
basic/template/variadic/10.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
null
null
null
basic/template/variadic/10.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; template <std::size_t... Indices> struct indices { using next = indices<Indices..., sizeof...(Indices)>; }; template <std::size_t N> struct build_indices { using type = typename build_indices<N-1>::type::next; }; template <> struct build_indices<0> ...
20.82
66
0.623439
[ "vector" ]
1343555b330919d62a10f5de604cc72749dd1289
2,671
cc
C++
base/posix/unix_domain_socket_linux_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
base/posix/unix_domain_socket_linux_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
base/posix/unix_domain_socket_linux_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:52:03.000Z
2022-02-13T17:58:45.000Z
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/file_util.h" ...
32.573171
76
0.699738
[ "vector" ]
134982c49c5fb8d20eb612f1b04e8b2610ad4880
318
cpp
C++
Source/Core/RectangleGeometry.cpp
thavlik/iridium
8051e7ed6aefd42552e5737aff3d20fd0b844eda
[ "MIT" ]
1
2017-09-08T04:26:19.000Z
2017-09-08T04:26:19.000Z
Source/Core/RectangleGeometry.cpp
thavlik/iridium
8051e7ed6aefd42552e5737aff3d20fd0b844eda
[ "MIT" ]
null
null
null
Source/Core/RectangleGeometry.cpp
thavlik/iridium
8051e7ed6aefd42552e5737aff3d20fd0b844eda
[ "MIT" ]
null
null
null
#include "RectangleGeometry.h" namespace Ir { RectangleGeometry::RectangleGeometry(Object* parent) : Geometry(parent) { OBJECT_PROPERTY( Top ); OBJECT_PROPERTY( Right ); OBJECT_PROPERTY( Bottom ); OBJECT_PROPERTY( Left ); } bool RectangleGeometry::ContainsPoint(vec2f point) const { return false; } }
21.2
59
0.735849
[ "geometry", "object" ]
134a6fccc8abcffa81be3f085c5fd1d0355bbe27
6,196
cpp
C++
Projects/kirikiri2-master/kirikiri2/src/core/utils/win32/DebugImpl.cpp
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
2
2020-02-25T15:18:53.000Z
2020-08-24T13:30:34.000Z
Projects/kirikiri2-master/kirikiri2/src/core/utils/win32/DebugImpl.cpp
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
null
null
null
Projects/kirikiri2-master/kirikiri2/src/core/utils/win32/DebugImpl.cpp
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
1
2019-11-25T05:29:30.000Z
2019-11-25T05:29:30.000Z
//--------------------------------------------------------------------------- /* TVP2 ( T Visual Presenter 2 ) A script authoring tool Copyright (C) 2000 W.Dee <dee@kikyou.info> and contributors See details of license at "license.txt" */ //---------------------------------------------------------------------------...
28.163636
77
0.442059
[ "object" ]
134af1540a7e708eb234727f3a46856d1a70b489
16,112
cc
C++
contrib/cryptomb/private_key_providers/test/ops_test.cc
giantcroc/envoy
c535d5abf8d106925070fe6fd018a716e6bf2bf1
[ "Apache-2.0" ]
1
2022-02-15T23:04:31.000Z
2022-02-15T23:04:31.000Z
contrib/cryptomb/private_key_providers/test/ops_test.cc
giantcroc/envoy
c535d5abf8d106925070fe6fd018a716e6bf2bf1
[ "Apache-2.0" ]
299
2021-04-26T10:25:02.000Z
2022-03-31T22:39:46.000Z
contrib/cryptomb/private_key_providers/test/ops_test.cc
giantcroc/envoy
c535d5abf8d106925070fe6fd018a716e6bf2bf1
[ "Apache-2.0" ]
1
2021-04-30T08:07:12.000Z
2021-04-30T08:07:12.000Z
#include <memory> #include <string> #include <vector> #include "source/extensions/transport_sockets/tls/private_key/private_key_manager_impl.h" #include "test/common/stats/stat_test_utility.h" #include "test/test_common/environment.h" #include "test/test_common/simulated_time_system.h" #include "test/test_common/util...
42.624339
100
0.705809
[ "vector" ]
1357b43cc845d9e01862df5bfbd6bb458e7827ab
15,465
cpp
C++
test/parser.cpp
WillCoates/QuickCalc
49a4946c5c9b3781d1d5820815bda8395a8ed0dd
[ "MIT" ]
null
null
null
test/parser.cpp
WillCoates/QuickCalc
49a4946c5c9b3781d1d5820815bda8395a8ed0dd
[ "MIT" ]
null
null
null
test/parser.cpp
WillCoates/QuickCalc
49a4946c5c9b3781d1d5820815bda8395a8ed0dd
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <vector> #include "parser.hpp" using namespace quickcalc; namespace { class MockLexer: public ILexer { std::vector<Token> _tokens; int _offset; public: MockLexer(std::vector<Token> &&tokens): _tokens(std::move(tokens)), _offset(0) { } ...
33.766376
106
0.548723
[ "vector" ]
135fbfbf0717f174ea39ebe5285bd17d0ac40c6d
15,278
cpp
C++
BonDriver_mirakc.cpp
epgdatacapbon/BonDriver_mirakc
e158a9a6e9460c1b7d816fba96137077201692d9
[ "MIT" ]
6
2020-03-08T20:14:47.000Z
2021-09-20T16:49:06.000Z
BonDriver_mirakc.cpp
epgdatacapbon/BonDriver_Mirakurun
e158a9a6e9460c1b7d816fba96137077201692d9
[ "MIT" ]
2
2021-06-01T01:10:17.000Z
2022-01-19T14:51:03.000Z
BonDriver_mirakc.cpp
epgdatacapbon/BonDriver_Mirakurun
e158a9a6e9460c1b7d816fba96137077201692d9
[ "MIT" ]
2
2020-05-23T02:17:45.000Z
2021-02-03T07:55:38.000Z
#include "BonDriver_mirakc.h" ////////////////////////////////////////////////////////////////////// // DLLMain ////////////////////////////////////////////////////////////////////// BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID lpReserved) { switch (fdwReason) { case DLL_PROCESS_ATTACH...
21.919656
82
0.636667
[ "object" ]
136d6a6b5edade1fd91a1e071700c045bc2de482
1,678
hpp
C++
apps/ImageProcessing.hpp
markvilar/openvslam
a8cc7cd0c063ec0549fdf1d6a8f764a28037a123
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
apps/ImageProcessing.hpp
markvilar/openvslam
a8cc7cd0c063ec0549fdf1d6a8f764a28037a123
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
apps/ImageProcessing.hpp
markvilar/openvslam
a8cc7cd0c063ec0549fdf1d6a8f764a28037a123
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
#pragma once #include <iostream> #include <string> #include <opencv2/core/core.hpp> #include <opencv2/core/cuda.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui.hpp> #include "openvslam/util/image_converter.h" #pragma GCC diagnostic ignored "-Wunused-parameter"...
31.074074
75
0.702622
[ "model" ]
1379da2b84254c6c051829752b63aac056d264ff
1,682
cpp
C++
benchmarks/halide/heat3d_tiramisu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
23
2017-05-03T13:06:34.000Z
2018-06-07T07:12:43.000Z
benchmarks/halide/heat3d_tiramisu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
2
2017-04-25T08:59:09.000Z
2017-05-11T16:41:55.000Z
benchmarks/halide/heat3d_tiramisu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
5
2017-02-16T14:26:40.000Z
2018-05-30T16:49:27.000Z
#include <tiramisu/tiramisu.h> #include "wrapper_heat3d.h" using namespace tiramisu; int main(int argc, char **argv) { init("heat3d_tiramisu"); constant ROWS("ROWS", _X); constant COLS("COLS", _Y); constant HEIGHT("HEIGHT", _Z); constant TIME("TIME",_TIME); constant ALPHA("ALPHA",_ALPHA); ...
35.041667
99
0.636147
[ "3d" ]
137db91e44d7ca0c6e3c4868259704099fc71e1e
7,104
cpp
C++
Modules/CppMicroServices/core/test/usAnyTest.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Modules/CppMicroServices/core/test/usAnyTest.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Modules/CppMicroServices/core/test/usAnyTest.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ Library: CppMicroServices Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
48
166
0.656109
[ "vector" ]
137fd13d030e0e8419efe1b66b749e53218e9928
35,431
cpp
C++
language-extensions/R/test/src/RExtensionInitParamTests.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
82
2019-05-24T00:36:57.000Z
2022-02-21T23:51:46.000Z
language-extensions/R/test/src/RExtensionInitParamTests.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
20
2019-07-05T06:12:28.000Z
2022-03-31T20:48:30.000Z
language-extensions/R/test/src/RExtensionInitParamTests.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
35
2019-05-24T01:44:07.000Z
2022-02-28T13:29:44.000Z
//************************************************************************************************** // RExtension-test : Executable testing language extension that implements the SQL Server // external language communication protocol. // Copyright (C) 2020 Microsoft Corporation. // // This file is part of RExtension-t...
30.179727
102
0.627755
[ "vector" ]
1389402e9a63980fda213cd474178ba3b9be948e
41,179
hpp
C++
stapl_release/stapl/views/multiarray_view.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/views/multiarray_view.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/views/multiarray_view.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
38.629456
99
0.593628
[ "vector", "transform" ]
138ec15124830bc51c6d5bbdb7fdb558434755da
6,633
cpp
C++
jsbridge/src/main/jni/java-types/Long.cpp
beyama/oasis-jsbridge-android
224c995c657518941bd2c0e57abf25f0312e3875
[ "Apache-2.0" ]
null
null
null
jsbridge/src/main/jni/java-types/Long.cpp
beyama/oasis-jsbridge-android
224c995c657518941bd2c0e57abf25f0312e3875
[ "Apache-2.0" ]
null
null
null
jsbridge/src/main/jni/java-types/Long.cpp
beyama/oasis-jsbridge-android
224c995c657518941bd2c0e57abf25f0312e3875
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 ProSiebenSat1.Digital GmbH. * * Originally based on Duktape Android: * Copyright (C) 2015 Square, 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 * * ...
28.105932
127
0.691844
[ "vector" ]
138ec16db251d7d850ab566f44524f167b6ba2cc
1,987
cc
C++
targets/sqlite3/sqlite3_fuzzer.cc
alex/oss-fuzz
6d8fe671e69f3659370dd19ce3bafb933e89c5ae
[ "Apache-2.0" ]
null
null
null
targets/sqlite3/sqlite3_fuzzer.cc
alex/oss-fuzz
6d8fe671e69f3659370dd19ce3bafb933e89c5ae
[ "Apache-2.0" ]
null
null
null
targets/sqlite3/sqlite3_fuzzer.cc
alex/oss-fuzz
6d8fe671e69f3659370dd19ce3bafb933e89c5ae
[ "Apache-2.0" ]
3
2016-11-19T12:23:39.000Z
2021-06-08T08:05:43.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <stdint.h> #include <algorithm> #include <array> #include <string> #include <vector> #include "sqlite3.h" static const st...
24.231707
80
0.656266
[ "vector" ]
ca5ee4f7ed3fa8a31a69ad872d9cfce7b9fef358
15,698
cpp
C++
Real.cpp
blambov/RealLib
b36b18ecd3d712311a12f384210735dfa319f86c
[ "Apache-2.0" ]
32
2015-02-11T13:21:24.000Z
2021-09-25T16:19:10.000Z
Real.cpp
blambov/RealLib
b36b18ecd3d712311a12f384210735dfa319f86c
[ "Apache-2.0" ]
null
null
null
Real.cpp
blambov/RealLib
b36b18ecd3d712311a12f384210735dfa319f86c
[ "Apache-2.0" ]
6
2016-06-15T22:44:03.000Z
2021-12-04T21:59:28.000Z
/* RealLib, a library for efficient exact real computation Copyright (C) 2006 Branimir Lambov This library is licensed under the Apache License, Version 2.0 (the "License"); you may not use this library except in compliance with the License. You may obtain a copy of the License at http://www.apache.org...
29.507519
108
0.621735
[ "object", "vector" ]
ca63964b684453f94f3c52e52dfd47e77cc28717
7,612
cpp
C++
example/linalgperf.cpp
onitake/glam
1b9d597e78936a7dba37c2dae1b06a58dd5e233a
[ "BSD-2-Clause" ]
4
2017-01-25T15:01:48.000Z
2017-05-15T18:01:31.000Z
example/linalgperf.cpp
onitake/glam
1b9d597e78936a7dba37c2dae1b06a58dd5e233a
[ "BSD-2-Clause" ]
null
null
null
example/linalgperf.cpp
onitake/glam
1b9d597e78936a7dba37c2dae1b06a58dd5e233a
[ "BSD-2-Clause" ]
null
null
null
/* * GLAM - GLSL Linear Algebra Math Library * * Copyright (c) 2012-2014, Gregor Riepl <onitake@gmail.com> * 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 sour...
33.53304
113
0.626511
[ "vector" ]
ca64873814b270a857f99c7a37a167119ecf438b
22,457
hpp
C++
Sisyphe/interpreter/plugins/libparsePlg/interpreter/src/CPPParserInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/interpreter/plugins/libparsePlg/interpreter/src/CPPParserInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/interpreter/plugins/libparsePlg/interpreter/src/CPPParserInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
/* * CPPParserInterpreter.hpp * * * @date 20-10-2018 * @author Teddy DIDE * @version 1.00 */ #ifndef _CPP_PARSER_INTERPRETER_H_ #define _CPP_PARSER_INTERPRETER_H_ #include "config.hpp" #include "Macros.hpp" #include "Base.hpp" #include "String.hpp" #include <vector> #include <functional> #include <any> #defin...
46.207819
270
0.654406
[ "vector" ]
ca6a27f40592008b9dcc12bc7610199c010fa7c9
36,153
cc
C++
Docker/tweezer/table/block_based/block_based_table_factory.cc
cssl-unist/tweezer
3a6c2c65ff61a525150aa2b1ae30b561ac79d241
[ "MIT" ]
null
null
null
Docker/tweezer/table/block_based/block_based_table_factory.cc
cssl-unist/tweezer
3a6c2c65ff61a525150aa2b1ae30b561ac79d241
[ "MIT" ]
null
null
null
Docker/tweezer/table/block_based/block_based_table_factory.cc
cssl-unist/tweezer
3a6c2c65ff61a525150aa2b1ae30b561ac79d241
[ "MIT" ]
null
null
null
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // // Copyright (c) 2011 The LevelDB Authors. All rights r...
43.875
82
0.642021
[ "vector" ]
ca6bab1f40845363eb9d27f5f25d721d91f67c22
2,394
cpp
C++
tools/tightCut.cpp
krzysg/FaspHeuristic
1929c40e3fbc49e68b04acfc5522539a18758031
[ "MIT" ]
null
null
null
tools/tightCut.cpp
krzysg/FaspHeuristic
1929c40e3fbc49e68b04acfc5522539a18758031
[ "MIT" ]
null
null
null
tools/tightCut.cpp
krzysg/FaspHeuristic
1929c40e3fbc49e68b04acfc5522539a18758031
[ "MIT" ]
null
null
null
/* * Simple tool that reads from stdin unweighted simple graph data and calculates FASP size (number of edges to cut to make a graph acyclic) * * Graph format (first number is src vertex, next numbers are dst vertices of src vertex): * * 1 3 5 * 3 5 * 5 1 * * As a output (for above exampl...
35.731343
139
0.556809
[ "vector" ]
ca6ef6bbb4174e0f8ac2b1fd444b1d3d5300b41d
6,490
cc
C++
maxutils/maxsql/src/queryresult.cc
Daniel-Xu/MaxScale
35d12c0c9b75c4571dbbeb983c740de098661de6
[ "BSD-3-Clause" ]
null
null
null
maxutils/maxsql/src/queryresult.cc
Daniel-Xu/MaxScale
35d12c0c9b75c4571dbbeb983c740de098661de6
[ "BSD-3-Clause" ]
null
null
null
maxutils/maxsql/src/queryresult.cc
Daniel-Xu/MaxScale
35d12c0c9b75c4571dbbeb983c740de098661de6
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-04-28 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
24.307116
106
0.603082
[ "vector" ]
ca7b5d3783ab85bde34d23602e0d86c52e514f4f
1,720
cpp
C++
Old/Source/ComponentCircleCollider.cpp
TinoTano/Games_Factory_2D
116ec94f05eb805654f3d30735134e81eb873c60
[ "MIT" ]
1
2020-02-07T04:50:57.000Z
2020-02-07T04:50:57.000Z
Old/Source/ComponentCircleCollider.cpp
TinoTano/Games_Factory_2D
116ec94f05eb805654f3d30735134e81eb873c60
[ "MIT" ]
null
null
null
Old/Source/ComponentCircleCollider.cpp
TinoTano/Games_Factory_2D
116ec94f05eb805654f3d30735134e81eb873c60
[ "MIT" ]
1
2020-02-07T04:51:00.000Z
2020-02-07T04:51:00.000Z
#include "ComponentCircleCollider.h" #include "Physics2DModule.h" #include "Application.h" #include <Dynamics/b2Fixture.h> #include <Collision/Shapes/b2CircleShape.h> #include "ComponentPhysicsBody.h" #include "GameObject.h" #include "Component.h" #include "Data.h" #include "ComponentTransform.h" #include <algorithm> ...
26.875
107
0.760465
[ "shape", "transform" ]
ca7db6f1f8b7865334927debd17e46360879e1d5
150,585
cpp
C++
NVEncCore/rgy_input_avcodec.cpp
somerendoguy/NVEnc
413dbd28b423ae90223e5ccb0b4272e54ae7b3f7
[ "MIT" ]
null
null
null
NVEncCore/rgy_input_avcodec.cpp
somerendoguy/NVEnc
413dbd28b423ae90223e5ccb0b4272e54ae7b3f7
[ "MIT" ]
null
null
null
NVEncCore/rgy_input_avcodec.cpp
somerendoguy/NVEnc
413dbd28b423ae90223e5ccb0b4272e54ae7b3f7
[ "MIT" ]
null
null
null
// ----------------------------------------------------------------------------------------- // QSVEnc/NVEnc by rigaya // ----------------------------------------------------------------------------------------- // The MIT License // // Copyright (c) 2011-2016 rigaya // // Permission is hereby granted, free of ...
50.907708
240
0.606163
[ "vector", "3d" ]
ca7f55cdc58ae19a32de8b44f7aea8c739fbf91e
1,656
cpp
C++
Graph/334 - Identifying Concurrent Events/334 - Identifying Concurrent Events.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
2
2019-03-27T18:49:28.000Z
2019-09-06T19:05:26.000Z
Graph/334 - Identifying Concurrent Events/334 - Identifying Concurrent Events.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
null
null
null
Graph/334 - Identifying Concurrent Events/334 - Identifying Concurrent Events.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define endl '\n' using namespace std; typedef long long int ll; bool dist[205][205]; map<string, ll>mapa; map<ll, string>blala; vector< pair<string, string> >vet; main() { ll nc, ne, nm, cases=1; string s1, ant; while(cin >> nc && nc) { mapa.clear(); blala.clear(); vet.clear(); ...
18.4
79
0.447464
[ "vector" ]
ca80c6c163676b4b23f31a20c96b2ecd76414176
2,001
cpp
C++
src/Asteroid.cpp
BryGo1995/last-line
b236238f587fbce921d24e3fec17e1180822444e
[ "Unlicense", "MIT" ]
null
null
null
src/Asteroid.cpp
BryGo1995/last-line
b236238f587fbce921d24e3fec17e1180822444e
[ "Unlicense", "MIT" ]
null
null
null
src/Asteroid.cpp
BryGo1995/last-line
b236238f587fbce921d24e3fec17e1180822444e
[ "Unlicense", "MIT" ]
null
null
null
#include"Asteroid.h" void Asteroid::updateLocation(float dt) { // Add the velocity to the postion this->Position += this->Velocity * dt; } bool Asteroid::boxBoxCollision(GameObject* object) { // Collision on x axis bool collisionX = this->Position.x + this->Size.x >= object->Position.x && object->Position.x +...
28.585714
76
0.694653
[ "object" ]
ca838395a5c283790a40af92a544bd68dc6985bf
1,762
cpp
C++
test_pliib.cpp
cartoonist/pliib
d89afc5df172b1e809119c5d97821113df05bb06
[ "MIT" ]
null
null
null
test_pliib.cpp
cartoonist/pliib
d89afc5df172b1e809119c5d97821113df05bb06
[ "MIT" ]
null
null
null
test_pliib.cpp
cartoonist/pliib
d89afc5df172b1e809119c5d97821113df05bb06
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "pliib.hpp" #include <fstream> #include <string> #include <algorithm> #include <cstdint> using namespace std; using namespace pliib; TEST_CASE("fast split function performs as expected", "[split]"){ char* to_split = new char[26]; strcpy(to_split, ";A;St...
23.810811
81
0.586833
[ "vector" ]
ca876c5e49736340a28b3b25461bd147b15ad9be
5,685
cpp
C++
tui/widget.cpp
GravisZro/put
89e45861c9bf53d4826becae122858c742e07f98
[ "Unlicense" ]
4
2018-12-08T01:45:14.000Z
2021-03-14T11:29:56.000Z
tui/widget.cpp
GravisZro/put
89e45861c9bf53d4826becae122858c742e07f98
[ "Unlicense" ]
null
null
null
tui/widget.cpp
GravisZro/put
89e45861c9bf53d4826becae122858c742e07f98
[ "Unlicense" ]
null
null
null
#include "widget.h" namespace tui { Widget::Widget(void) noexcept : m_geometry({{ 0, 0 }, { 0, 0 }}), m_layout(nullptr), m_sizePolicy(SizePolicy::Preferred, SizePolicy::Preferred), m_minimumSize({ 0, 0 }), m_maximumSize({ 0, 0 }), m_sizeHint({ 0, 0 }), m_focusPolicy(NoFocus) ...
23.886555
103
0.630079
[ "object" ]
ca8e07bcfc10ea54bd3b6d9cb33a007515b118b0
8,924
cc
C++
services/video_capture/device_factory_media_to_mojo_adapter.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
services/video_capture/device_factory_media_to_mojo_adapter.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
services/video_capture/device_factory_media_to_mojo_adapter.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2016 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 "services/video_capture/device_factory_media_to_mojo_adapter.h" #include <sstream> #include <utility> #include "base/bind.h" #include "base/con...
40.93578
80
0.778799
[ "vector" ]
ca8e72b52574bd7b38e27e59acd6b7164221d142
4,300
cc
C++
third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc
hokein/chromium
69328672dd0c5b93e0b65fc344feb11bbdc37b6b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-04-27T20:21:55.000Z
2019-04-27T20:21:55.000Z
third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc
hokein/chromium
69328672dd0c5b93e0b65fc344feb11bbdc37b6b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc
hokein/chromium
69328672dd0c5b93e0b65fc344feb11bbdc37b6b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2013 Google 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 ...
31.617647
80
0.700465
[ "vector" ]
ca98c69a67fa472cad56139b8dd9b440e521ba14
881
cpp
C++
2020/day_08/part1.cpp
DankersW/advent_of_code
1ac9258c0fc175ee33474e81302c8ae8bac037eb
[ "Apache-2.0" ]
null
null
null
2020/day_08/part1.cpp
DankersW/advent_of_code
1ac9258c0fc175ee33474e81302c8ae8bac037eb
[ "Apache-2.0" ]
null
null
null
2020/day_08/part1.cpp
DankersW/advent_of_code
1ac9258c0fc175ee33474e81302c8ae8bac037eb
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <vector> struct Instruction { std::string opp; int arg; }; int main() { std::ifstream file("input_test.txt"); std::string line; std::vector<Instruction> instructions; while (std::getline(file, line)) { instructions.p...
23.810811
89
0.577753
[ "vector" ]
ca991ec4aaf63ffb556953e0d7a03dc6fc46367c
8,524
hpp
C++
locobot_recorder_ros/catkin_ws/src/rgbd_ros_to_lcm/include/bot_core/images_t.hpp
ARG-NCTU/LabelFusion
01066ff6f20bbc0e7afd89694b8d066bb057403f
[ "BSD-3-Clause" ]
null
null
null
locobot_recorder_ros/catkin_ws/src/rgbd_ros_to_lcm/include/bot_core/images_t.hpp
ARG-NCTU/LabelFusion
01066ff6f20bbc0e7afd89694b8d066bb057403f
[ "BSD-3-Clause" ]
null
null
null
locobot_recorder_ros/catkin_ws/src/rgbd_ros_to_lcm/include/bot_core/images_t.hpp
ARG-NCTU/LabelFusion
01066ff6f20bbc0e7afd89694b8d066bb057403f
[ "BSD-3-Clause" ]
null
null
null
/** THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT MODIFY * BY HAND!! * * Generated by lcm-gen **/ #ifndef __bot_core_images_t_hpp__ #define __bot_core_images_t_hpp__ #include <lcm/lcm_coretypes.h> #include <vector> #include "bot_core/image_t.hpp" namespace bot_core { /** * simple array of images * introdu...
34.232932
110
0.631394
[ "vector" ]
ca9d20b0c5eb197006091e45df4f2edd2a4e8b4c
11,483
cpp
C++
src/Core/Resource/Factory/CWorldLoader.cpp
liakman/PrimeWorldEditor
483184719701fbc59ad66212afcade9488956186
[ "MIT" ]
32
2018-12-17T20:22:32.000Z
2019-06-14T06:48:25.000Z
src/Core/Resource/Factory/CWorldLoader.cpp
liakman/PrimeWorldEditor
483184719701fbc59ad66212afcade9488956186
[ "MIT" ]
10
2019-11-25T04:54:05.000Z
2022-02-12T20:20:56.000Z
src/Core/Resource/Factory/CWorldLoader.cpp
liakman/PrimeWorldEditor
483184719701fbc59ad66212afcade9488956186
[ "MIT" ]
10
2019-11-22T09:16:00.000Z
2021-11-21T22:55:54.000Z
#include "CWorldLoader.h" #include "Core/GameProject/CGameProject.h" #include "Core/GameProject/CResourceStore.h" #include <Common/Log.h> CWorldLoader::CWorldLoader() = default; void CWorldLoader::LoadPrimeMLVL(IInputStream& rMLVL) { /* * This function loads MLVL files from Prime 1/2 * We start immediat...
34.902736
116
0.627711
[ "model", "transform" ]
caa137b4f4ea16e6b3ce8f8dbad6b57502590c0f
9,149
cpp
C++
magic3d/src/sound/sound.cpp
magic-tech/Magic3D
a626a2302c8be9349cf0371077fb9f67821dfae3
[ "Zlib" ]
4
2016-03-25T23:35:08.000Z
2019-05-15T18:56:07.000Z
magic3d/src/sound/sound.cpp
magic-tech/Magic3D
a626a2302c8be9349cf0371077fb9f67821dfae3
[ "Zlib" ]
null
null
null
magic3d/src/sound/sound.cpp
magic-tech/Magic3D
a626a2302c8be9349cf0371077fb9f67821dfae3
[ "Zlib" ]
2
2016-03-17T09:01:12.000Z
2020-01-18T13:04:05.000Z
/****************************************************************************** @Copyright Copyright (C) 2008 - 2016 by MagicTech. @Platform ANSI compatible ******************************************************************************/ /* Magic3D Engine Copyright (c) 2008-2016 Thiago C. Moraes http:...
24.660377
131
0.581703
[ "render", "object" ]
caa2fc4afa127710f29210290d143f6840422521
7,833
cpp
C++
src/rpcupdate.cpp
dlhendo70/crown-core
e34163e206c4c0c586a02c8d1d8e9975c1e1cc5f
[ "MIT" ]
12
2018-08-26T13:59:10.000Z
2022-01-02T14:31:27.000Z
src/rpcupdate.cpp
dlhendo70/crown-core
e34163e206c4c0c586a02c8d1d8e9975c1e1cc5f
[ "MIT" ]
43
2018-09-17T16:45:59.000Z
2021-08-05T11:01:38.000Z
src/rpcupdate.cpp
dlhendo70/crown-core
e34163e206c4c0c586a02c8d1d8e9975c1e1cc5f
[ "MIT" ]
12
2018-06-11T01:11:03.000Z
2022-01-03T10:57:10.000Z
// Copyright (c) 2014-2018 The Crown developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcupdate.h" #include "init.h" #include "clientversion.h" #include "rpcserver.h" #include "util.h" #include <boost/threa...
31.207171
110
0.56696
[ "object" ]
caa89591be92e9c7f366b344de20475fe6d07ca0
948
cpp
C++
src/backends/x11/window/event/send.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/x11/window/event/send.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/x11/window/event/send.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
#include <awl/exception.hpp> #include <awl/backends/x11/display.hpp> #include <awl/backends/x11/window/base.hpp> #include <awl/backends/x11/window/event/mask.hpp> #include <awl/backends/x11/window/event/object.hpp> #include <awl/backends/x11/window/event/send.hpp> #include <fcppt/text.hpp> #include <fcppt/config/extern...
33.857143
66
0.672996
[ "object" ]
caa91ad497fd2777975b35ec890b557ada393c85
2,936
cpp
C++
lib/table/src/record.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
lib/table/src/record.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
lib/table/src/record.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2017 Sylko Olzscher * */ #include <cyng/table/record.h> #include <cyng/factory/factory.hpp> namespace cyng { namespace table { record::record(meta_table_ptr meta) : meta_(meta) , key_() , data_() , generation_(0) {} record::record(meta_table_ptr...
16.971098
107
0.589237
[ "object" ]
caa9b7b054053c3c8bc303bc22dda31b8ff23fe7
5,625
cpp
C++
src/Object.cpp
eestrada/raytracer
f1a80db1c2ec05e5b39a9dce9af6a56604755a0b
[ "MIT" ]
1
2018-04-25T08:43:36.000Z
2018-04-25T08:43:36.000Z
src/Object.cpp
eestrada/raytracer
f1a80db1c2ec05e5b39a9dce9af6a56604755a0b
[ "MIT" ]
null
null
null
src/Object.cpp
eestrada/raytracer
f1a80db1c2ec05e5b39a9dce9af6a56604755a0b
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include "cg/Object.hpp" #include "cg/cg_utils.hpp" #include "utils/exceptions.hpp" namespace obj { const static long double PI = std::acos(-1.0L); scene object::scn = scene(); object::object() : transform(1.0), parent() {} cg::Mat4 object::get_xform() const { if (parent != N...
26.913876
96
0.543111
[ "object", "transform" ]
caac5f8e615cbceb0efa18e2121c8ce287589b31
636
cpp
C++
test/training_data/plag_original_codes/12_113.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/12_113.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/12_113.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
// 引用元 : https://atcoder.jp/contests/abc099/submissions/5997146 // 得点 : 300 // コード長 : 531 // 実行時間 : 3 #include<iostream> #include<vector> #include<string> #include<cmath> #include<algorithm> using namespace std; #define rep(i,n) for(int i=0;i<n;i++) int main(){ int N; cin >> N; int ans = N; ...
17.189189
63
0.426101
[ "vector" ]
cab016eb077c7ceb48b65a8f27a63a2476aa0b42
2,812
cc
C++
src/lm/kenlm-test.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
36
2019-11-12T22:41:43.000Z
2022-02-01T15:24:02.000Z
src/lm/kenlm-test.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
8
2017-09-06T00:12:00.000Z
2019-03-22T08:03:19.000Z
src/lm/kenlm-test.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
29
2020-01-03T22:28:27.000Z
2022-03-30T23:00:27.000Z
#ifdef HAVE_KENLM #include "util/text-utils.h" #include "util/kaldi-io.h" #include "lm/kenlm.h" namespace kaldi { void UnitTestKenLm() { // construct symbol_to_symbol_id to map word string to kaldi symbol index, // in practice, hypothesis is already intergerized, no need for this mapping. std::unordered_map<std...
33.47619
84
0.633357
[ "vector" ]
cab13b822a4baaa6a30eac5185b9f5c2a7bea36f
5,994
cpp
C++
src/shadereditor/src/shadereditor/nodes/vnode_multiply.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/shadereditor/src/shadereditor/nodes/vnode_multiply.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/shadereditor/src/shadereditor/nodes/vnode_multiply.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
 #include "cbase.h" #include "editorCommon.h" CNodeMultiply::CNodeMultiply(CNodeView *p) : BaseClass("Multiply", p) { m_bMatrixRotation = false; GenerateJacks_Input(2); GenerateJacks_Output(1); SetJackFlags_Input(0, HLSLJACKFLAGS_ALL); SetJackFlags_Input(1, HLSLJACKFLAGS_ALL); SetJackFlags_...
36.108434
108
0.622789
[ "vector", "transform" ]
cab3e7647da82b2398c0ad4b264637b2963fd176
18,962
cc
C++
ui/base/clipboard/clipboard_android.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/base/clipboard/clipboard_android.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/base/clipboard/clipboard_android.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "ui/base/clipboard/clipboard_android.h" #include <algorithm> #include <map> #include <string> #include <utility> #include <vector> #include...
33.383803
80
0.7081
[ "geometry", "object", "vector" ]
cac40f2dccbb161d4caff600dcebf8605c98a7a4
9,787
cpp
C++
computenest-20210601/src/compute_nest_20210601.cpp
aliyun/alibabacloud-cpp-sdk
0e7c0576abcd4ef1aef07d714b92654deb713c36
[ "Apache-2.0" ]
5
2021-02-01T03:20:23.000Z
2022-01-28T02:13:49.000Z
computenest-20210601/src/compute_nest_20210601.cpp
aliyun/alibabacloud-cpp-sdk
0e7c0576abcd4ef1aef07d714b92654deb713c36
[ "Apache-2.0" ]
4
2021-05-03T08:34:12.000Z
2022-01-28T02:13:33.000Z
computenest-20210601/src/compute_nest_20210601.cpp
aliyun/alibabacloud-cpp-sdk
0e7c0576abcd4ef1aef07d714b92654deb713c36
[ "Apache-2.0" ]
5
2021-04-02T02:59:04.000Z
2022-02-24T02:33:44.000Z
// This file is auto-generated, don't edit it. Thanks. #include <alibabacloud/compute_nest_20210601.hpp> #include <alibabacloud/endpoint_util.hpp> #include <alibabacloud/open_api.hpp> #include <alibabacloud/open_api_util.hpp> #include <boost/any.hpp> #include <boost/throw_exception.hpp> #include <darabonba/core.hpp> #...
71.437956
279
0.784204
[ "vector" ]
cacb7047994a472cd7ea6dfa1dbd86ba5943ed99
3,664
hh
C++
src/Components/Camera.hh
BoydOrg/BoydEngine
ebe0fae7c70fbf3038f79e6a2c9ba55582ae09da
[ "BSD-3-Clause" ]
1
2021-07-31T14:56:02.000Z
2021-07-31T14:56:02.000Z
src/Components/Camera.hh
BoydOrg/BoydEngine
ebe0fae7c70fbf3038f79e6a2c9ba55582ae09da
[ "BSD-3-Clause" ]
1
2020-01-27T12:42:53.000Z
2020-03-17T17:12:57.000Z
src/Components/Camera.hh
BoydOrg/BoydEngine
ebe0fae7c70fbf3038f79e6a2c9ba55582ae09da
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <entt/entt.hpp> #include <fmt/format.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <limits> #include "../Core/Platform.hh" #include "../Core/Registrar.hh" namespace boyd { namespace comp { /// A 3D camera (pretty much a projection matrix). /// Attach it to an entit...
31.86087
114
0.608897
[ "transform", "3d" ]
cad93c8cc0d555cea4de11f8c7c0284c305504f2
2,149
cc
C++
Geometry/HcalCommonData/plugins/HcalDDDSimulationConstantsESModule.cc
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
2
2020-01-21T11:23:39.000Z
2020-01-21T11:23:42.000Z
Geometry/HcalCommonData/plugins/HcalDDDSimulationConstantsESModule.cc
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
26
2018-10-30T12:47:58.000Z
2022-03-29T08:39:00.000Z
Geometry/HcalCommonData/plugins/HcalDDDSimulationConstantsESModule.cc
p2l1pfp/cmssw
9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9
[ "Apache-2.0" ]
3
2019-03-09T13:06:43.000Z
2020-07-03T00:47:30.000Z
// -*- C++ -*- // // Package: HcalDDDSimulationConstantsESModule // Class: HcalDDDSimulationConstantsESModule // /**\class HcalDDDSimulationConstantsESModule Geometry/HcalCommonData/plugins/HcalDDDSimulationConstantsESModule.cc Description: <one line class summary> Implementation: <Notes on implementat...
32.560606
114
0.793392
[ "geometry" ]
cadc885b9f689db9ce971d0e8905b8890508921c
3,522
cpp
C++
wav/src/v20210129/model/ExternalUserMappingInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
wav/src/v20210129/model/ExternalUserMappingInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
wav/src/v20210129/model/ExternalUserMappingInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
31.446429
160
0.736513
[ "model" ]
cade179cbe46e74c49e7939acfda82875400b91a
1,766
cc
C++
tools/src/file_mask.cc
lechaosx/light-field-image-format
8d6270a32ccd246fcf6035379827ca1a4a0bf42a
[ "BSD-2-Clause" ]
1
2021-11-26T06:25:08.000Z
2021-11-26T06:25:08.000Z
tools/src/file_mask.cc
lechaosx/light-field-image-format
8d6270a32ccd246fcf6035379827ca1a4a0bf42a
[ "BSD-2-Clause" ]
null
null
null
tools/src/file_mask.cc
lechaosx/light-field-image-format
8d6270a32ccd246fcf6035379827ca1a4a0bf42a
[ "BSD-2-Clause" ]
1
2019-08-09T15:34:47.000Z
2019-08-09T15:34:47.000Z
/******************************************************************************\ * SOUBOR: file_mask.cc * AUTOR: Drahomir Dlabaja (xdlaba02) \******************************************************************************/ #include "file_mask.h" #include <cmath> #include <iomanip> FileMask::FileMask(const std::string...
26.358209
108
0.570781
[ "vector" ]
cade69a6f95dd3495064af1db4129abbd19bf465
1,465
cpp
C++
sorting.cpp
agentcox/TheAgencyRazorOne
5b8c8e50061caefe44345f86fc4df2a2a795441c
[ "MIT" ]
null
null
null
sorting.cpp
agentcox/TheAgencyRazorOne
5b8c8e50061caefe44345f86fc4df2a2a795441c
[ "MIT" ]
null
null
null
sorting.cpp
agentcox/TheAgencyRazorOne
5b8c8e50061caefe44345f86fc4df2a2a795441c
[ "MIT" ]
null
null
null
#include "agencyinclude.h" #include "guns.h" int SortCompareWeaponArmory(PPOTYPE WOne, PPOTYPE WTwo) { if(!WOne ||!WTwo){ return 0; } if(WOne->weapon.filingtype != WTwo->weapon.filingtype) { return WTwo->weapon.filingtype - WOne->weapon.filingtype; } else if(WOne->weapon.classtype != WTwo->weap...
21.544118
107
0.690785
[ "object" ]
cae8ba23e4c236a425e2163b221e920f64f157ac
2,987
cpp
C++
VNS Implementierung/VNS Implementierung/UpdateXij.cpp
franneck94/Variable-Neighborhood-Search-FLP
891cea0be1c3250cd9990eb35ef5701cb20bf964
[ "MIT" ]
1
2019-10-05T08:26:52.000Z
2019-10-05T08:26:52.000Z
VNS Implementierung/VNS Implementierung/UpdateXij.cpp
franneck94/Variable-Neighborhood-Search-FLP
891cea0be1c3250cd9990eb35ef5701cb20bf964
[ "MIT" ]
1
2018-05-28T09:54:53.000Z
2018-05-28T09:54:53.000Z
VNS Implementierung/VNS Implementierung/UpdateXij.cpp
franneck94/Variable-Neighborhood-Search-FLP
891cea0be1c3250cd9990eb35ef5701cb20bf964
[ "MIT" ]
2
2019-10-05T08:26:59.000Z
2020-05-02T09:21:54.000Z
#include <iostream> #include <fstream> #include <algorithm> #include <vector> #include <tuple> #include <random> #include <iterator> #include <numeric> #include <boost/numeric/ublas/storage.hpp> #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/matrix_proxy.hpp> #include <boost/numeric/ublas/io.h...
27.40367
86
0.655172
[ "vector" ]
caeaeeffa747cd1b0931c64b61b0d07bd9186c10
4,745
hpp
C++
src/sparse/fronts/FrontalMatrixHODLRMPI.hpp
sarahorsak/STRUMPACK
1c23ba83a07082b3bce5cf7092e990c71af0ee67
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/sparse/fronts/FrontalMatrixHODLRMPI.hpp
sarahorsak/STRUMPACK
1c23ba83a07082b3bce5cf7092e990c71af0ee67
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/sparse/fronts/FrontalMatrixHODLRMPI.hpp
sarahorsak/STRUMPACK
1c23ba83a07082b3bce5cf7092e990c71af0ee67
[ "BSD-3-Clause-LBNL" ]
null
null
null
/* * STRUMPACK -- STRUctured Matrices PACKage, Copyright (c) 2014, The * Regents of the University of California, through Lawrence Berkeley * National Laboratory (subject to receipt of any required approvals * from the U.S. Dept. of Energy). All rights reserved. * * If you have questions about your rights to use...
38.577236
77
0.738672
[ "vector" ]
caf05a82b0de86410b83758199d75fbc48603fc0
21,131
cc
C++
src/meas/base/SincCoeffs.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
src/meas/base/SincCoeffs.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
src/meas/base/SincCoeffs.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
// -*- lsst-c++ -*- /* * LSST Data Management System * Copyright 2008-2013 LSST Corporation. * * This product includes software developed by the * LSST Project (http://www.lsst.org/). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
37.599644
109
0.597511
[ "object", "transform" ]
caf0bbdbe7c09f451a3869ab152f9cc11628d1f5
45,602
cc
C++
geometry/render/gl_renderer/shape_meshes.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
geometry/render/gl_renderer/shape_meshes.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
geometry/render/gl_renderer/shape_meshes.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/geometry/render/gl_renderer/shape_meshes.h" #include <algorithm> #include <cmath> #include <fstream> #include <iostream> #include <limits> #include <map> #include <string> #include <tuple> #include <vector> #include <fmt/format.h> #include <tiny_obj_loader.h> #include "drake/common/drake_assert.h" #i...
41.913603
80
0.598811
[ "mesh", "geometry", "render", "shape", "vector", "transform" ]
caf0c1bd735618a7987b6578eeff7147f0bf12a0
4,515
cpp
C++
Core/GDCore/Extensions/Platform.cpp
mahmoudeid789/GDevelop
943fac772d7910c1b9de47adc41b3ea9a652beaa
[ "MIT" ]
1
2020-03-07T22:06:55.000Z
2020-03-07T22:06:55.000Z
Core/GDCore/Extensions/Platform.cpp
KairoMartins18/KGE
64e934c15da38c7140abb5e1521321e161d82568
[ "MIT" ]
6
2020-07-20T19:44:47.000Z
2022-03-25T19:06:28.000Z
Core/GDCore/Extensions/Platform.cpp
KairoMartins18/KGE
64e934c15da38c7140abb5e1521321e161d82568
[ "MIT" ]
null
null
null
/* * GDevelop Core * Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights * reserved. This project is released under the MIT License. */ #include "Platform.h" #include "GDCore/Extensions/PlatformExtension.h" #include "GDCore/Project/Object.h" #include "GDCore/String.h" using namespace ...
32.956204
92
0.654707
[ "object", "vector" ]
cafcbeb57de57849d95c389bf3cd4c5ebc41ae78
83,437
cpp
C++
llvm-5.0.1.src/utils/TableGen/GlobalISelEmitter.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
60
2017-12-21T06:49:58.000Z
2022-02-24T09:43:52.000Z
llvm-5.0.1.src/utils/TableGen/GlobalISelEmitter.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
null
null
null
llvm-5.0.1.src/utils/TableGen/GlobalISelEmitter.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
17
2017-12-20T09:54:56.000Z
2021-06-24T05:39:36.000Z
//===- GlobalISelEmitter.cpp - Generate an instruction selector -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
36.968099
94
0.653751
[ "render", "object", "shape", "vector", "transform" ]
caff944d90ffa5ada292f3c371468954217251fb
15,279
cc
C++
includes/openvdb/openvdb/unittest/TestNodeMask.cc
ibfernandes/NarvalEngine
fb9ad53ebc7b244f4eed76f43e7aac2faa94772a
[ "MIT" ]
6
2020-02-06T03:30:25.000Z
2021-10-12T11:38:24.000Z
includes/openvdb/openvdb/unittest/TestNodeMask.cc
ibfernandes/NarvalEngine
fb9ad53ebc7b244f4eed76f43e7aac2faa94772a
[ "MIT" ]
1
2021-07-29T17:38:23.000Z
2021-07-29T17:38:23.000Z
includes/openvdb/openvdb/unittest/TestNodeMask.cc
ibfernandes/NarvalEngine
fb9ad53ebc7b244f4eed76f43e7aac2faa94772a
[ "MIT" ]
1
2020-02-14T06:42:03.000Z
2020-02-14T06:42:03.000Z
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) DreamWorks Animation LLC // // All rights reserved. This software is distributed under the // Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ ) // // Redistributions of source code must retain the above copyrigh...
37.913151
105
0.628641
[ "vector" ]
caffca5de3f8ad867a07ca27fdbad138b628116e
21,446
cc
C++
components/sync/driver/glue/sync_engine_backend.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
components/sync/driver/glue/sync_engine_backend.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
components/sync/driver/glue/sync_engine_backend.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/sync/driver/glue/sync_engine_backend.h" #include <utility> #include "base/bind.h" #include "base/callback_helpers.h" #include "base...
40.387947
80
0.760515
[ "vector", "model" ]
1b021affd7e3f53a80ae14e89d347495abdfc5fc
13,156
cpp
C++
core/os/dir_access.cpp
Segs/Engine
754aabfc2708a46f764979a604871633152ce479
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
8
2019-09-03T19:58:19.000Z
2021-06-18T07:11:26.000Z
core/os/dir_access.cpp
Segs/Engine
754aabfc2708a46f764979a604871633152ce479
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
24
2019-09-03T17:35:45.000Z
2020-10-27T14:36:02.000Z
core/os/dir_access.cpp
nemerle/SegsEngine
b9dd0b5481b92d956befa72c746758d33a1a08c9
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
6
2019-09-27T15:44:35.000Z
2021-01-23T18:52:51.000Z
/*************************************************************************/ /* dir_access.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
28.6
116
0.549179
[ "vector" ]
db44b1e0ab4d16993eb1ee035e0e4ca6372f56af
1,038
cpp
C++
cpp/0103_zigzagLevelOrder.cpp
linhx25/leetcode
9cf1d6d2372fd8777825c8107780b7f3c934fe20
[ "MIT" ]
1
2021-04-16T12:54:56.000Z
2021-04-16T12:54:56.000Z
cpp/0103_zigzagLevelOrder.cpp
linhx25/leetcode
9cf1d6d2372fd8777825c8107780b7f3c934fe20
[ "MIT" ]
null
null
null
cpp/0103_zigzagLevelOrder.cpp
linhx25/leetcode
9cf1d6d2372fd8777825c8107780b7f3c934fe20
[ "MIT" ]
1
2021-04-26T13:20:41.000Z
2021-04-26T13:20:41.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
28.054054
93
0.550096
[ "vector" ]
db48aae48b7d499a1367387c0b1568fa7eac89eb
724
cpp
C++
cpp/ants.cpp
jieyaren/hello-world
9fbc7d117b9aee98d748669646dd200c25a4122f
[ "WTFPL" ]
3
2021-11-12T09:20:21.000Z
2022-02-18T11:34:33.000Z
cpp/ants.cpp
jieyaren/hello-world
9fbc7d117b9aee98d748669646dd200c25a4122f
[ "WTFPL" ]
1
2019-05-15T10:55:59.000Z
2019-05-15T10:56:31.000Z
cpp/ants.cpp
jieyaren/hello-world
9fbc7d117b9aee98d748669646dd200c25a4122f
[ "WTFPL" ]
null
null
null
/*#include <gtest/gtest.h> int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } */ #define CATCH_CONFIG_MAIN #include <algorithm> #include <vector> #include "../../Catch/include/catch.hpp" std::pair<int,int> ant_time(int L/*Length*/,std::vector<int> N/*number*/) { in...
20.111111
73
0.620166
[ "vector" ]
db48e0ca3c886ac77b3afc4261732be5a9550a6f
3,256
cpp
C++
read_mnist.cpp
oojiang/Neural-Net-From-Scratch
555847dee624c8f16ca6dd46b84e1114bdc0b4e3
[ "MIT" ]
null
null
null
read_mnist.cpp
oojiang/Neural-Net-From-Scratch
555847dee624c8f16ca6dd46b84e1114bdc0b4e3
[ "MIT" ]
null
null
null
read_mnist.cpp
oojiang/Neural-Net-From-Scratch
555847dee624c8f16ca6dd46b84e1114bdc0b4e3
[ "MIT" ]
null
null
null
#include <read_mnist.hpp> uint32_t swap_endian(uint32_t val) { val = ((val << 8) & 0xFF00FF00) | ((val >> 8) & 0xFF00FF); return (val << 16) | (val >> 16); } void print_image(VectorXd image, int num_rows, int num_cols) { int threshold = 25; for (int i = 0; i < num_rows; i++) { for (int j = 0; j < num_...
27.133333
108
0.582002
[ "vector" ]
db493bc7b7ba0fb865316d64414e3649abd7c4bb
3,964
cpp
C++
lib/JunkDetection/CXX/CompilationDatabase.cpp
mewbak/mull
fe270faa614e3c91b5ae2baf37916eaca2f4fa08
[ "Apache-2.0" ]
null
null
null
lib/JunkDetection/CXX/CompilationDatabase.cpp
mewbak/mull
fe270faa614e3c91b5ae2baf37916eaca2f4fa08
[ "Apache-2.0" ]
null
null
null
lib/JunkDetection/CXX/CompilationDatabase.cpp
mewbak/mull
fe270faa614e3c91b5ae2baf37916eaca2f4fa08
[ "Apache-2.0" ]
null
null
null
#include "mull/JunkDetection/CXX/CompilationDatabase.h" #include "CompilationDatabaseParser.h" #include "mull/Logger.h" #include <clang/Basic/Version.h> #include <llvm/ADT/STLExtras.h> #include <llvm/ADT/SmallString.h> #include <llvm/Support/Path.h> #include <sstream> using namespace mull; static std::vector<std::...
27.72028
94
0.644803
[ "vector" ]
db4b036a8a96e881ed26108f28c848cc58491d3b
13,216
cpp
C++
server.cpp
stetorvs/puzzle_server
481d93d37e79fb266dbaef5b329174d58386658d
[ "BSD-2-Clause" ]
null
null
null
server.cpp
stetorvs/puzzle_server
481d93d37e79fb266dbaef5b329174d58386658d
[ "BSD-2-Clause" ]
null
null
null
server.cpp
stetorvs/puzzle_server
481d93d37e79fb266dbaef5b329174d58386658d
[ "BSD-2-Clause" ]
null
null
null
#include <errno.h> #include <signal.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> #include <assert.h> #include <algorithm> #include <chrono> #include <cstdio> #include <deque> #include <fst...
31.845783
154
0.595415
[ "vector", "transform" ]
db4e36ad5cc7295c4c0c6bf1a484492fabdd73c3
3,722
cpp
C++
Bottomless-Blue.cpp
kawgit/Bottomless-Blue
c6cf9c5b0be6de5d652035f1b0a92d36bc8bf387
[ "MIT" ]
null
null
null
Bottomless-Blue.cpp
kawgit/Bottomless-Blue
c6cf9c5b0be6de5d652035f1b0a92d36bc8bf387
[ "MIT" ]
2
2021-09-03T19:15:10.000Z
2021-09-05T18:38:05.000Z
Bottomless-Blue.cpp
kawgit/Bottomless-Blue
c6cf9c5b0be6de5d652035f1b0a92d36bc8bf387
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <thread> #include <fstream> #include "src/ChessLibrary.hpp" #include "src/board.hpp" #include "src/move.hpp" #include "src/search.hpp" using namespace std; bool debug = false; string pop_cmd_var(string &cmd) { int split_index = cmd.rfind(" ", cmd.rfind(" ")-1); if (sp...
25.493151
122
0.617141
[ "vector" ]