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
a06b9c5f4ced36f2560b40b3877df7668a4b95c2
17,190
cpp
C++
src/cppspice.cpp
skrimpon/cpp_spice
fc7e3d418df7ae95799f48201bd3f1a11002a363
[ "MIT" ]
null
null
null
src/cppspice.cpp
skrimpon/cpp_spice
fc7e3d418df7ae95799f48201bd3f1a11002a363
[ "MIT" ]
null
null
null
src/cppspice.cpp
skrimpon/cpp_spice
fc7e3d418df7ae95799f48201bd3f1a11002a363
[ "MIT" ]
null
null
null
/* * Panagiotis Skrimponis */ #include "cs_dc_sweep.h" #include "cs_ac_sweep.h" #include "cs_component.h" #include "cs_transient.h" #include "cs_headerdef.h" int main(int argc, char * argv[]) { std::ifstream iFile; std::ofstream oFile; std::stringstream iLine; std::string token, line, component_name, component_...
32.680608
236
0.602269
[ "vector" ]
a06bd9d5c7e4a3ca4e9f8c27371fce8fc5132007
682
cc
C++
third_party/OpenMesh-8.1/Doc/Examples/iterators.cc
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
216
2018-09-09T11:53:56.000Z
2022-03-19T13:41:35.000Z
third_party/OpenMesh-8.1/Doc/Examples/iterators.cc
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
13
2018-10-23T08:29:09.000Z
2021-09-08T06:45:34.000Z
third_party/OpenMesh-8.1/Doc/Examples/iterators.cc
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
41
2018-09-13T08:50:41.000Z
2022-02-23T00:33:54.000Z
MyMesh mesh; // iterate over all vertices for (MyMesh::VertexIter v_it=mesh.vertices_begin(); v_it!=mesh.vertices_end(); ++v_it) ...; // do something with *v_it, v_it->, or *v_it // iterate over all halfedges for (MyMesh::HalfedgeIter h_it=mesh.halfedges_begin(); h_it!=mesh.halfedges_end(); ++h_it) ...; // do...
35.894737
91
0.671554
[ "mesh" ]
a06f34ad3f742fb67161aafcfdc0d2f41ca6da67
1,262
cpp
C++
Solutions/FARIDA.cpp
GouravKhunger/SPOJ
a2a67c20bbd8d26e1c1736d76431b778c319c752
[ "MIT" ]
4
2020-10-22T17:01:23.000Z
2020-10-24T16:42:17.000Z
Solutions/FARIDA.cpp
GouravKhunger/SPOJ
a2a67c20bbd8d26e1c1736d76431b778c319c752
[ "MIT" ]
8
2020-10-23T09:22:03.000Z
2020-10-31T12:45:22.000Z
Solutions/FARIDA.cpp
GouravKhunger/SPOJ
a2a67c20bbd8d26e1c1736d76431b778c319c752
[ "MIT" ]
7
2020-10-22T18:03:44.000Z
2020-10-31T10:47:40.000Z
// https://www.spoj.com/problems/FARIDA/ // FARIDA - Princess Farida // File Creation Date: 22-Oct-2020 // Author: Lucas Pavanelli (https://github.com/pavalucas) #include <bits/stdc++.h> using namespace std; int main() { int test; cin >> test; for (int t = 1; t <= test; t++) { int n; cin >> n; if (n...
26.851064
79
0.533281
[ "vector" ]
a06fbcb6de16d4915b0548a446870b4f5f7eb5ae
568
cpp
C++
C++/0982-Triples-With-Bitwise-AND-Equal-to-Zero/soln-2.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0982-Triples-With-Bitwise-AND-Equal-to-Zero/soln-2.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0982-Triples-With-Bitwise-AND-Equal-to-Zero/soln-2.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: int countTriplets(vector<int>& A) { vector<int> memo(1 << 16, -1); int ans = 0; for(int a : A) { for(int b : A) { int ab = a & b; if (memo[ab] != -1) ans += memo[ab]; else { int cnt = 0; ...
24.695652
52
0.285211
[ "vector" ]
a0770dd93c349d5b3a1acfe6d7cbff0e57410cfa
17,435
cpp
C++
export/windows/cpp/obj/src/flixel/FlxBasic.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/flixel/FlxBasic.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/flixel/FlxBasic.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
// Generated by Haxe 3.3.0 #include <hxcpp.h> #ifndef INCLUDED_flixel_FlxBasic #include <flixel/FlxBasic.h> #endif #ifndef INCLUDED_flixel_FlxCamera #include <flixel/FlxCamera.h> #endif #ifndef INCLUDED_flixel_util_FlxPool_flixel_util_LabelValuePair #include <flixel/util/FlxPool_flixel_util_LabelValuePair.h> #endif #i...
39.445701
169
0.684657
[ "object" ]
a07d9d24edd872df02db2e817ea3dde93dca6098
7,324
cpp
C++
Source/Renderer/Resources/Shader.cpp
lucho1/AGPEngine
ffc3c48689ce77539a24035f90be1ecd8a65f337
[ "Apache-2.0" ]
null
null
null
Source/Renderer/Resources/Shader.cpp
lucho1/AGPEngine
ffc3c48689ce77539a24035f90be1ecd8a65f337
[ "Apache-2.0" ]
null
null
null
Source/Renderer/Resources/Shader.cpp
lucho1/AGPEngine
ffc3c48689ce77539a24035f90be1ecd8a65f337
[ "Apache-2.0" ]
null
null
null
#include "Shader.h" #include "Renderer/Utils/RendererUtils.h" #include "Core/Utils/FileStringUtils.h" #include <glm/gtc/type_ptr.hpp> #include <filesystem> #include <fstream> // ------------------------------------------------------------------------------ Shader::Shader(const std::string& name, const std::string&...
29.296
168
0.687602
[ "vector" ]
a081679c7c76f49d6d1eba1e7fe09bff61a03a61
2,034
cc
C++
RecoVertex/ConfigurableVertexReco/src/ReconstructorFromFitter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoVertex/ConfigurableVertexReco/src/ReconstructorFromFitter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoVertex/ConfigurableVertexReco/src/ReconstructorFromFitter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "RecoVertex/ConfigurableVertexReco/interface/ReconstructorFromFitter.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" using namespace std; ReconstructorFromFitter::ReconstructorFromFitter(std::unique_ptr<AbstractConfFitter>&& f) : theFitter(f.release()) {} vector<TransientVertex> Reconstr...
40.68
120
0.688791
[ "vector" ]
a084b14c9e1bb2ab4c86d86bf92f9ba0738129e9
731
cpp
C++
pvl/abridged/math/algebra/poly-long-div.cpp
bullybutcher/progvar-library
4d4b351c8a2540c522d00138e1bcf0edc528b540
[ "MIT" ]
3
2021-10-16T13:22:58.000Z
2021-10-29T22:03:44.000Z
pvl/abridged/math/algebra/poly-long-div.cpp
bullybutcher/progvar-library
4d4b351c8a2540c522d00138e1bcf0edc528b540
[ "MIT" ]
19
2021-11-27T14:40:00.000Z
2022-03-30T07:14:59.000Z
pvl/abridged/math/algebra/poly-long-div.cpp
bullybutcher/progvar-library
4d4b351c8a2540c522d00138e1bcf0edc528b540
[ "MIT" ]
2
2022-03-11T20:53:41.000Z
2022-03-20T07:08:46.000Z
typedef vector<double> Poly; Poly Q, R; // quotient and remainder void trim(Poly& A) { // remove trailing zeroes while (!A.empty() && abs(A.back()) < EPS) A.pop_back(); } void divide(Poly A, Poly B) { if (B.size() == 0) throw exception(); if (A.size() < B.size()) {Q.clear(); R=A; return;} Q...
33.227273
56
0.463748
[ "vector" ]
a087e64138ce30f0850b0208d891891c124e3e09
5,095
cpp
C++
modules/task_2/rodionov_n_broadcast_message/main.cpp
Gekata-2/pp_2021_autumn
caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_2/rodionov_n_broadcast_message/main.cpp
Gekata-2/pp_2021_autumn
caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/rodionov_n_broadcast_message/main.cpp
Gekata-2/pp_2021_autumn
caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 TexHik620953 #include <mpi.h> #include <gtest/gtest.h> #include <vector> #include <gtest-mpi-listener.hpp> #include "../../../modules/task_2/rodionov_n_broadcast_message/broadcast_message.h" int length = 1000; int root = 0; int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv);...
31.450617
83
0.612169
[ "vector" ]
90b70507113a708505e8ff353b6fd1dde98ea15a
19,483
cpp
C++
BGE/PhysicsFactory.cpp
PocketRocketRoche/GamesEngines1Assignment
2b402cb45387eb64f34c8a648fd68c3cd1df0118
[ "MIT" ]
null
null
null
BGE/PhysicsFactory.cpp
PocketRocketRoche/GamesEngines1Assignment
2b402cb45387eb64f34c8a648fd68c3cd1df0118
[ "MIT" ]
null
null
null
BGE/PhysicsFactory.cpp
PocketRocketRoche/GamesEngines1Assignment
2b402cb45387eb64f34c8a648fd68c3cd1df0118
[ "MIT" ]
null
null
null
#include "PhysicsFactory.h" #include "Game.h" #include "Sphere.h" #include "Box.h" #include "Cylinder.h" #include "Capsule.h" #include "Ground.h" #include "Content.h" #include "PhysicsCamera.h" #include "Model.h" #include "dirent.h" #include "Utils.h" using namespace BGE; PhysicsFactory::PhysicsFactory(btDiscreteDynam...
42.354348
194
0.715958
[ "shape", "vector", "model" ]
90b72b6d56cf93d00e09d0d3372f6d587303dae6
25,488
cpp
C++
tests/stress/ParameterSweepTest.cpp
fkhan1337/glow
9f6326266aedd2c9fad061807dc5128961ea0d70
[ "Apache-2.0" ]
null
null
null
tests/stress/ParameterSweepTest.cpp
fkhan1337/glow
9f6326266aedd2c9fad061807dc5128961ea0d70
[ "Apache-2.0" ]
1
2020-01-06T09:14:32.000Z
2020-01-06T09:14:32.000Z
tests/stress/ParameterSweepTest.cpp
fkhan1337/glow
9f6326266aedd2c9fad061807dc5128961ea0d70
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * * 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 b...
43.569231
80
0.636299
[ "vector" ]
90b7d344d4877840d318eba63c80de820e12e3be
4,844
cpp
C++
miniapps/autodiff/seq_test.cpp
ajithvallabai/mfem
5920fbf645f328c29a9d6489f2474d989f808451
[ "BSD-3-Clause" ]
null
null
null
miniapps/autodiff/seq_test.cpp
ajithvallabai/mfem
5920fbf645f328c29a9d6489f2474d989f808451
[ "BSD-3-Clause" ]
null
null
null
miniapps/autodiff/seq_test.cpp
ajithvallabai/mfem
5920fbf645f328c29a9d6489f2474d989f808451
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
30.465409
83
0.642651
[ "vector" ]
90b9cdc406d9bec3ccc0e23661a9cc4e431be2b0
789
hpp
C++
plugins/d3d9/include/sge/d3d9/vf/convert/extra_type_visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/d3d9/include/sge/d3d9/vf/convert/extra_type_visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/d3d9/include/sge/d3d9/vf/convert/extra_type_visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_D3D9_VF_CONVERT_EXTRA_TYPE_VISITOR_HPP_INCLUDED #define SGE_D3D9_VF_CONVERT_EXTRA_TYPE_...
20.763158
75
0.751584
[ "vector" ]
90c0b9f3dfd904e55a3997d4bb0eebabe970f96b
11,744
cpp
C++
inverse_kinematics.cpp
amphineko/cs7gvX
a5c19ba1850d93e5728d1bbd6abf6c07eee7585a
[ "MIT" ]
null
null
null
inverse_kinematics.cpp
amphineko/cs7gvX
a5c19ba1850d93e5728d1bbd6abf6c07eee7585a
[ "MIT" ]
null
null
null
inverse_kinematics.cpp
amphineko/cs7gvX
a5c19ba1850d93e5728d1bbd6abf6c07eee7585a
[ "MIT" ]
null
null
null
#include "lib/cameras/camera_tp.h" #include "lib/kinematics/bone.h" #include "lib/kinematics/inverse.h" #include "lib/program.h" #include "ozz/animation/runtime/animation.h" #include "ozz/animation/runtime/local_to_model_job.h" #include "ozz/animation/runtime/sampling_job.h" #include "ozz/animation/runtime/skeleton.h" ...
35.373494
117
0.57672
[ "vector", "model" ]
90c187c3ef574f77058f08396cea23a3113a2cb8
3,235
cpp
C++
src/tcpserversession.cpp
karthagokul/microtunnel
78ac1c0620504481fe456725ea22d5a1a46b53fa
[ "Apache-2.0" ]
null
null
null
src/tcpserversession.cpp
karthagokul/microtunnel
78ac1c0620504481fe456725ea22d5a1a46b53fa
[ "Apache-2.0" ]
null
null
null
src/tcpserversession.cpp
karthagokul/microtunnel
78ac1c0620504481fe456725ea22d5a1a46b53fa
[ "Apache-2.0" ]
null
null
null
#include "tcpserversession.h" #include "tcpclientsession.h" TcpServerSession::TcpServerSession(TcpServerSessionListener *aListner) :Session(aListner),mListener(aListner) { LOG_FUNCTION_NAME; } bool TcpServerSession::start(const char *aIp,const int &aPort) { LOG_FUNCTION_NAME; mSockFd = socket(AF_INE...
24.323308
110
0.590726
[ "vector" ]
90c3bb71c1aded40d7db4fde015dca95455489d4
6,161
cc
C++
chrome/browser/net/dns_probe_test_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/net/dns_probe_test_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/net/dns_probe_test_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "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 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 "chrome/browser/net/dns_probe_test_util.h" #include <stdint.h> #include <utility> #include "chrome/browser/net/dns_probe_runner.h" #include "ne...
36.02924
79
0.764162
[ "vector" ]
90c410ed66a05b6b1e53eae2d27ebc727faa0a5e
12,322
cc
C++
python/jittor/src/parallel_compiler.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
2,571
2020-03-20T03:38:35.000Z
2022-03-31T08:20:05.000Z
python/jittor/src/parallel_compiler.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
197
2020-03-20T04:11:47.000Z
2022-03-31T10:14:24.000Z
python/jittor/src/parallel_compiler.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
284
2020-03-20T03:53:15.000Z
2022-03-28T07:20:32.000Z
// *************************************************************** // Copyright (c) 2021 Jittor. All Rights Reserved. // Maintainers: Dun Liang <randonlang@gmail.com>. // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. // *******************...
35.612717
166
0.514689
[ "vector" ]
90ca6a774680a8ae2e9a8ccc56a8495f9288e800
4,571
cpp
C++
test/fuzz/comparator_deep_blocks_first_test.cpp
stefanomil/SPIRV-Tools
57abfd88c57ef1b6e77349aa16b2d5a1616c2100
[ "Apache-2.0" ]
null
null
null
test/fuzz/comparator_deep_blocks_first_test.cpp
stefanomil/SPIRV-Tools
57abfd88c57ef1b6e77349aa16b2d5a1616c2100
[ "Apache-2.0" ]
null
null
null
test/fuzz/comparator_deep_blocks_first_test.cpp
stefanomil/SPIRV-Tools
57abfd88c57ef1b6e77349aa16b2d5a1616c2100
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2020 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
34.89313
79
0.631372
[ "vector" ]
90d3bdd78c04795511137e662ade49c74e095025
4,392
cpp
C++
src/backend/gporca/libnaucrates/src/parser/CParseHandlerCostParams.cpp
bradfordb-vmware/gpdb
5cc23bd1df4133aaa7a80174f5b0950933a83cc2
[ "PostgreSQL", "Apache-2.0" ]
5,535
2015-10-28T01:05:40.000Z
2022-03-30T13:46:53.000Z
src/backend/gporca/libnaucrates/src/parser/CParseHandlerCostParams.cpp
bradfordb-vmware/gpdb
5cc23bd1df4133aaa7a80174f5b0950933a83cc2
[ "PostgreSQL", "Apache-2.0" ]
9,369
2015-10-28T07:48:01.000Z
2022-03-31T23:56:42.000Z
src/backend/gporca/libnaucrates/src/parser/CParseHandlerCostParams.cpp
bradfordb-vmware/gpdb
5cc23bd1df4133aaa7a80174f5b0950933a83cc2
[ "PostgreSQL", "Apache-2.0" ]
1,800
2015-10-28T01:08:25.000Z
2022-03-29T13:29:36.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2013 EMC Corp. // // @filename: // CParseHandlerCostParams.cpp // // @doc: // Implementation of the SAX parse handler class for parsing cost parameters. // //-------------------------------------------...
30.082192
78
0.616576
[ "model" ]
90dc05bd7de193281b0aac838903e164da767761
24,493
hpp
C++
include/modes.hpp
GoldFeniks/Acoustic
44122f7a1d815aeeb4f06b60342c8db932a806f3
[ "MIT" ]
4
2019-12-06T21:11:59.000Z
2020-08-05T11:11:12.000Z
include/modes.hpp
GoldFeniks/Acoustic
44122f7a1d815aeeb4f06b60342c8db932a806f3
[ "MIT" ]
3
2021-01-31T14:09:41.000Z
2021-02-07T05:48:05.000Z
include/modes.hpp
GoldFeniks/Ample
44122f7a1d815aeeb4f06b60342c8db932a806f3
[ "MIT" ]
null
null
null
#pragma once #include <tuple> #include <mutex> #include <thread> #include <cstddef> #include <istream> #include <algorithm> #include <type_traits> #include "normal_modes.h" #include "utils/types.hpp" #include "utils/utils.hpp" #include "utils/assert.hpp" #include "utils/callback.hpp" #include "utils/interpolation.hpp" ...
44.613843
155
0.527906
[ "transform" ]
90df07ef124b12c637340718fabe6b728ac9dbdc
3,707
cpp
C++
src/amplitudes/pomeron_exchange.cpp
cfanelli/jpacPhoto
d1a020eb69b699cecf813347380169f3551c0a07
[ "MIT" ]
null
null
null
src/amplitudes/pomeron_exchange.cpp
cfanelli/jpacPhoto
d1a020eb69b699cecf813347380169f3551c0a07
[ "MIT" ]
null
null
null
src/amplitudes/pomeron_exchange.cpp
cfanelli/jpacPhoto
d1a020eb69b699cecf813347380169f3551c0a07
[ "MIT" ]
null
null
null
// Vector meson photoproduction dynamics proceeding through a pomeron exchange // // Author: Daniel Winney (2019) // Affiliation: Joint Physics Analysis Center (JPAC) // Email: dwinney@iu.edu // --------------------------------------------------------------------------- #include "amplitudes/pomeron_excha...
32.234783
122
0.58403
[ "vector", "model" ]
90e34765dd13322efbd1e72aedfe035c884ce257
58,135
cpp
C++
game/client/cstrike15/Scaleform/options_scaleform.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/game/client/cstrike15/Scaleform/options_scaleform.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/game/client/cstrike15/Scaleform/options_scaleform.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #if defined( INCLUDE_SCALEFORM ) #include "basepanel.h" #include "options_scaleform.h" #inclu...
28.030376
204
0.687073
[ "render" ]
90f018e62adebd4dff72013eaf97f00be7412d1d
12,527
cxx
C++
inetcore/mshtml/src/site/base/rootelem.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/mshtml/src/site/base/rootelem.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/mshtml/src/site/base/rootelem.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Forms // Copyright (C) Microsoft Corporation, 1994-1998 // // File: rootelem.cxx // // Contents: Implementation of CRootElement // // Classes: CRootElement // //-------------------------------------...
27.056156
122
0.508422
[ "object" ]
90f320c0f88445a498ea969c50880af272716360
580
cpp
C++
graphs and trees/#4 - DFS.cpp
WilliamPhilippe/Questions
6b3fd095c08550a29f2b055be57fa8b86e042b27
[ "MIT" ]
null
null
null
graphs and trees/#4 - DFS.cpp
WilliamPhilippe/Questions
6b3fd095c08550a29f2b055be57fa8b86e042b27
[ "MIT" ]
null
null
null
graphs and trees/#4 - DFS.cpp
WilliamPhilippe/Questions
6b3fd095c08550a29f2b055be57fa8b86e042b27
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> viz[5000]; int process[5000] = {0}; int visitado[5000] = {0}; void dfs(int ori){ if( visitado[ori] ) return; visitado[ori] = 1; int ha = 1; for(int i = viz[ori].size() - 1; i >= 0; i--){ int atual = viz[ori][i]; if( !visitado[atual] ){ ha = 0; ...
11.372549
47
0.524138
[ "vector" ]
90fd8a06eaf2ba7d66ac3c2c91bf6bf69745adf6
5,162
cpp
C++
NeoMathEngine/test/src/learn/BlobMaxOverTimePoolingBackwardTest.cpp
reisei/neoml
2b397a410d220272e97c8d9393d92035f32d63d8
[ "ECL-2.0", "Apache-2.0" ]
1
2020-12-25T08:04:55.000Z
2020-12-25T08:04:55.000Z
NeoMathEngine/test/src/learn/BlobMaxOverTimePoolingBackwardTest.cpp
reisei/neoml
2b397a410d220272e97c8d9393d92035f32d63d8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
NeoMathEngine/test/src/learn/BlobMaxOverTimePoolingBackwardTest.cpp
reisei/neoml
2b397a410d220272e97c8d9393d92035f32d63d8
[ "ECL-2.0", "Apache-2.0" ]
1
2020-11-05T06:46:19.000Z
2020-11-05T06:46:19.000Z
/* Copyright © 2017-2020 ABBYY Production 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
44.5
142
0.727625
[ "vector" ]
90fe78be63b874e12150075a3b1f0aedaa7d1461
2,133
cpp
C++
source/editor/windows/WindowsRegistry.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
2
2021-01-27T15:49:04.000Z
2021-01-28T07:40:30.000Z
source/editor/windows/WindowsRegistry.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
null
null
null
source/editor/windows/WindowsRegistry.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
1
2021-03-07T23:17:31.000Z
2021-03-07T23:17:31.000Z
#include "WindowsRegistry.h" #include "assets/PodEditor.h" #include "assets/pods/Image.h" #include "editor/windows/EdMeshGenerator.h" #include "editor/windows/editors/EdMaterialArchetypeEditor.h" #include "editor/windows/general/EdAssetListWindow.h" #include "editor/windows/general/EdAssetsWindow.h" #include "editor/w...
31.835821
82
0.809658
[ "mesh" ]
2904e0ac7c348dc9c0524d121e42f5e2a8e4054c
532
hpp
C++
source/backend/cpu/CPUScatterNd.hpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
source/backend/cpu/CPUScatterNd.hpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
source/backend/cpu/CPUScatterNd.hpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // CPUScatterNd.hpp // MNN // // Created by MNN on 2019/11/28. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef CPUScatterNd_hpp #define CPUScatterNd_hpp #include "core/Execution.hpp" namespace MNN { class CPUScatterNd : public Execution { public: CPUScatterNd(Backend *bn):Execution(bn){ ...
20.461538
116
0.701128
[ "vector" ]
290593b6794b029a9498ce5cb74b9c52f6cc6b0c
22,008
cpp
C++
docs/template_plugin/tests/functional/op_reference/loop.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
docs/template_plugin/tests/functional/op_reference/loop.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
docs/template_plugin/tests/functional/op_reference/loop.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <openvino/core/model.hpp> #include <openvino/opsets/opset8.hpp> #include "base_reference_test.hpp" #include "functional_test_utils/skip_tests_config.hpp" #include "common_test_utils/common_utils.h...
52.4
131
0.492866
[ "shape", "vector", "model" ]
290ac896add42e0d75771df77c79c855e46c42ed
6,217
cc
C++
src/api/window/window.cc
greenheartgames/node-webkit
b1cba9fc1971932f3461edd259e5899d068c498f
[ "MIT" ]
1
2019-05-07T15:01:26.000Z
2019-05-07T15:01:26.000Z
src/api/window/window.cc
creativeprogramming/node-webkit
bd628533773e86687f27ce740f6d07689bd790d3
[ "MIT" ]
null
null
null
src/api/window/window.cc
creativeprogramming/node-webkit
bd628533773e86687f27ce740f6d07689bd790d3
[ "MIT" ]
1
2019-09-14T19:58:45.000Z
2019-09-14T19:58:45.000Z
// Copyright (c) 2012 Intel Corp // Copyright (c) 2012 The Chromium Authors // // 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 righ...
39.100629
80
0.646453
[ "render", "object" ]
290baa739e525074f71bbac2f147516bad18db01
3,234
cpp
C++
cfw/src/v20190904/model/ModifyResourceGroupRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
cfw/src/v20190904/model/ModifyResourceGroupRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
cfw/src/v20190904/model/ModifyResourceGroupRequest.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 ...
26.95
94
0.730983
[ "model" ]
290fe3243e81a91c7c38d5bb096816aa30e464cf
3,491
cpp
C++
source/3rdparty/yaml-cpp/binary.cpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
31
2015-03-03T19:13:42.000Z
2020-09-03T08:11:56.000Z
source/3rdparty/yaml-cpp/binary.cpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
1
2016-12-24T00:12:11.000Z
2016-12-24T00:12:11.000Z
source/3rdparty/yaml-cpp/binary.cpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
8
2015-09-06T01:55:21.000Z
2021-12-20T02:16:13.000Z
#include <3rdparty/yaml-cpp/binary.h> namespace YAML { static const char encoding[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; std::string EncodeBase64(const unsigned char *data, std::size_t size) { const char PAD = '='; std::string ret; ret.resi...
37.138298
102
0.473217
[ "vector" ]
29152f8d69a4e19389d69028c183af5c757bbfb4
6,301
cpp
C++
tools/PictureBenchmark.cpp
gw280/skia
25fb2434460e7bf541d334ffaa421acb497b9a33
[ "BSD-3-Clause" ]
null
null
null
tools/PictureBenchmark.cpp
gw280/skia
25fb2434460e7bf541d334ffaa421acb497b9a33
[ "BSD-3-Clause" ]
null
null
null
tools/PictureBenchmark.cpp
gw280/skia
25fb2434460e7bf541d334ffaa421acb497b9a33
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkTypes.h" #include "BenchTimer.h" #include "PictureBenchmark.h" #include "SkCanvas.h" #include "SkPicture.h" #include "SkString.h" #include "picture_utils.h" names...
24.807087
98
0.605301
[ "render" ]
2916d6d9aff96892c693256daeefeaba01b06eb8
8,182
cpp
C++
Source/GUI/Qt/prefs.cpp
buckmelanoma/MediaInfo
cf38b0e3d0e6ee2565f49276f423a5792ed62962
[ "BSD-2-Clause" ]
743
2015-01-13T23:16:53.000Z
2022-03-31T22:56:27.000Z
Source/GUI/Qt/prefs.cpp
buckmelanoma/MediaInfo
cf38b0e3d0e6ee2565f49276f423a5792ed62962
[ "BSD-2-Clause" ]
317
2015-07-28T17:50:14.000Z
2022-03-08T02:41:19.000Z
Source/GUI/Qt/prefs.cpp
buckmelanoma/MediaInfo
cf38b0e3d0e6ee2565f49276f423a5792ed62962
[ "BSD-2-Clause" ]
134
2015-01-30T05:33:51.000Z
2022-03-21T09:39:38.000Z
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ #include "prefs.h" #include "translate.h" #include "ui_prefs.h" #include <QLabel> #include "views.h" #include "...
34.523207
176
0.698484
[ "render", "solid" ]
2918aeaede8622681cc9251662620d2ae24e6bf7
149,479
cpp
C++
exportNF/release/windows/obj/src/openfl/display/DisplayObject.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
exportNF/release/windows/obj/src/openfl/display/DisplayObject.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
exportNF/release/windows/obj/src/openfl/display/DisplayObject.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
// Generated by Haxe 4.2.1+bf9ff69 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_haxe_Exception #include <haxe/Exception.h> #endif #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #...
53.006738
317
0.71483
[ "render", "object", "transform", "3d" ]
29236e9be8d939f3e98b6a6a36a5855b3af8c02c
897
cpp
C++
2nd/091_decode_ways.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
2nd/091_decode_ways.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
2nd/091_decode_ways.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <cassert> using namespace std; class Solution { public: typedef vector<int>::size_type sz_t; int numDecodings(string s) { if (s.size() == 0 || s[0] == '0') return 0; int a, b, c; a = b = c = 1; for (sz_t i = 1, iend = s...
21.878049
58
0.342252
[ "vector" ]
29326a62ac836850475f0985bb3bbec802daefd2
4,363
hpp
C++
third-party/casadi/casadi/core/linsol_internal.hpp
dbdxnuliba/mit-biomimetics_Cheetah
f3b0c0f6a3835d33b7f2f345f00640b3fc256388
[ "MIT" ]
8
2020-02-18T09:07:48.000Z
2021-12-25T05:40:02.000Z
third-party/casadi/casadi/core/linsol_internal.hpp
geekfeiw/Cheetah-Software
f3b0c0f6a3835d33b7f2f345f00640b3fc256388
[ "MIT" ]
null
null
null
third-party/casadi/casadi/core/linsol_internal.hpp
geekfeiw/Cheetah-Software
f3b0c0f6a3835d33b7f2f345f00640b3fc256388
[ "MIT" ]
13
2019-08-25T12:32:06.000Z
2022-03-31T02:38:12.000Z
/* * This file is part of CasADi. * * CasADi -- A symbolic framework for dynamic optimization. * Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl, * K.U. Leuven. All rights reserved. * Copyright (C) 2011-2014 Greg Horn * * CasADi is free software; you ...
31.164286
93
0.667431
[ "object" ]
293317f5c009cded85417a192c899bc9f3cd414b
139,695
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/opengl/GLLogWrapper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/opengl/GLLogWrapper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/opengl/GLLogWrapper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
25.646227
119
0.599184
[ "model" ]
29343f6e6c04d96081962b219c40fc76b23859d9
23,084
hpp
C++
src/sparse/KokkosSparse_gauss_seidel_handle.hpp
kuberry/kokkos-kernels
30be76be52f1d62f9b5798984674ad46a59e5070
[ "BSD-3-Clause" ]
null
null
null
src/sparse/KokkosSparse_gauss_seidel_handle.hpp
kuberry/kokkos-kernels
30be76be52f1d62f9b5798984674ad46a59e5070
[ "BSD-3-Clause" ]
null
null
null
src/sparse/KokkosSparse_gauss_seidel_handle.hpp
kuberry/kokkos-kernels
30be76be52f1d62f9b5798984674ad46a59e5070
[ "BSD-3-Clause" ]
null
null
null
/* //@HEADER // ************************************************************************ // // KokkosKernels 0.9: Linear Algebra and Graph Kernels // Copyright 2017 Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retain...
38.092409
165
0.730073
[ "vector" ]
a09d8ac0990c838293ed901847e4fdd2c643ddea
1,755
hpp
C++
joystick/joystick.hpp
jakah/hu-ipass
ac313632d08741a77fb7545828299dd93de8621e
[ "BSL-1.0" ]
null
null
null
joystick/joystick.hpp
jakah/hu-ipass
ac313632d08741a77fb7545828299dd93de8621e
[ "BSL-1.0" ]
null
null
null
joystick/joystick.hpp
jakah/hu-ipass
ac313632d08741a77fb7545828299dd93de8621e
[ "BSL-1.0" ]
null
null
null
#include "hwlib.hpp" #ifndef JOYSTICK_HPP #define JOYSTICK_HPP /// \file /// \class joystick /// \brief /// the joystick class /// \details /// This class is an abstracion for a joystick. Two analog pins go in and you can call /// functions to check if the joystick is at a certain position class joystick{ private: ...
35.1
99
0.654701
[ "object" ]
a0a277db0ea1426488343637ce1cb24ffdd0c665
34,681
cpp
C++
android-opencv/opencv/modules/legacy/src/corrimages.cpp
agunksetiajaty/viewercv
539d9f60bc61c3a2761157aa4e44e5d00048dbf1
[ "Apache-2.0" ]
1
2015-11-06T02:07:38.000Z
2015-11-06T02:07:38.000Z
android-opencv/opencv/modules/legacy/src/corrimages.cpp
agunksetiajaty/viewercv
539d9f60bc61c3a2761157aa4e44e5d00048dbf1
[ "Apache-2.0" ]
null
null
null
android-opencv/opencv/modules/legacy/src/corrimages.cpp
agunksetiajaty/viewercv
539d9f60bc61c3a2761157aa4e44e5d00048dbf1
[ "Apache-2.0" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
32.717925
147
0.533779
[ "vector" ]
a0a6ac18eb8f4deb076449ade67b83ad7435715c
10,813
hpp
C++
NetKet/Machine/rbm_multival.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
null
null
null
NetKet/Machine/rbm_multival.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
null
null
null
NetKet/Machine/rbm_multival.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
1
2019-09-15T17:24:23.000Z
2019-09-15T17:24:23.000Z
// Copyright 2018 The Simons Foundation, Inc. - All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
25.502358
80
0.582077
[ "vector" ]
a0aacf18c5e060584effadf61276ba7d6330fc65
1,993
hpp
C++
src/setka/init_guard.hpp
cppfw/setka
050be1355eaf150d2c86433fba5c5d3d410d56c1
[ "MIT" ]
null
null
null
src/setka/init_guard.hpp
cppfw/setka
050be1355eaf150d2c86433fba5c5d3d410d56c1
[ "MIT" ]
2
2015-09-29T15:07:35.000Z
2020-05-09T20:07:05.000Z
src/setka/init_guard.hpp
cppfw/setka
050be1355eaf150d2c86433fba5c5d3d410d56c1
[ "MIT" ]
1
2020-12-15T01:42:48.000Z
2020-12-15T01:42:48.000Z
/* The MIT License (MIT) Copyright (c) 2015-2021 Ivan Gagis <igagis@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use,...
37.603774
102
0.757652
[ "object" ]
a0ab8d79f41b69d6ce3e6d29d63b8a75357e85fa
81,589
cpp
C++
rmw_cyclonedds_cpp/src/rmw_node.cpp
alsora/rmw_cyclonedds
1e09e160e9df293c20ec137080bdfbe31a559c3f
[ "Apache-2.0" ]
null
null
null
rmw_cyclonedds_cpp/src/rmw_node.cpp
alsora/rmw_cyclonedds
1e09e160e9df293c20ec137080bdfbe31a559c3f
[ "Apache-2.0" ]
null
null
null
rmw_cyclonedds_cpp/src/rmw_node.cpp
alsora/rmw_cyclonedds
1e09e160e9df293c20ec137080bdfbe31a559c3f
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 ADLINK Technology Limited. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
41.478902
251
0.65423
[ "vector" ]
a0b2ff449f0688cac3d97adc64e8540eb5075cec
1,179
cpp
C++
10815.cpp
mahmudahsan/203-ACM-Problems-Code
6e8f9698809c649a4c6bbba907d973e20360bc21
[ "MIT" ]
31
2015-01-10T07:15:41.000Z
2021-06-17T09:51:07.000Z
10815.cpp
joycse06/203-ACM-Problems-Code
78529b45d3caace8f006a6ed6f66390fa3f377fc
[ "Unlicense" ]
null
null
null
10815.cpp
joycse06/203-ACM-Problems-Code
78529b45d3caace8f006a6ed6f66390fa3f377fc
[ "Unlicense" ]
35
2015-01-04T18:59:15.000Z
2021-01-04T08:24:48.000Z
/* Problem: Andy's First Dictionary UVa 10815 Programmer: Md. Mahmud Ahsan Description: String + Sorting Compiled: Visual C++ 7.0 Date: 18-02-06 */ #include <iostream> #include <vector> #include <algorithm> #include <string> #include <cctype> #include <cstdio> using namespace std; void strL...
17.863636
46
0.512299
[ "vector" ]
a0c25f21c8a647c08a652cd35fe0129554337d33
4,082
cpp
C++
src/locals/tannolocal.cpp
ShengquanChen/OpenAnnotate
116a321dbcea6fd5ac27c39186bd030c5d71ce60
[ "MIT" ]
1
2021-09-16T06:22:27.000Z
2021-09-16T06:22:27.000Z
src/locals/tannolocal.cpp
ShengquanChen/OpenAnnotate
116a321dbcea6fd5ac27c39186bd030c5d71ce60
[ "MIT" ]
1
2021-08-13T09:43:25.000Z
2021-09-27T04:36:42.000Z
src/locals/tannolocal.cpp
ShengquanChen/OpenAnnotate
116a321dbcea6fd5ac27c39186bd030c5d71ce60
[ "MIT" ]
1
2021-04-12T07:49:37.000Z
2021-04-12T07:49:37.000Z
#include <set> #include <vector> #include <string.h> #include "eutil.h" #include "tpipe.h" #include "tannoload.h" #include "tannosave.h" #include "tannowork.h" #include "tannolocal.h" BEGIN_OPTION_TABLE(TAnnoLocalOpts) OPTION_ENTRY(annotate, , NONARG, TRUE) OPTION_ENTRY(species, s, REQARG, human) OPTION_ENTRY(a...
25.042945
144
0.635718
[ "vector" ]
a0c5f136aecc2d915718ac8e20c4cb46f5a33726
36,709
hpp
C++
unit_test/tstLocalMesh.hpp
kwitaechong/Cajita
f2c44ef5cc03d83f9ce1534b8481bad95a0e089d
[ "BSD-3-Clause" ]
null
null
null
unit_test/tstLocalMesh.hpp
kwitaechong/Cajita
f2c44ef5cc03d83f9ce1534b8481bad95a0e089d
[ "BSD-3-Clause" ]
null
null
null
unit_test/tstLocalMesh.hpp
kwitaechong/Cajita
f2c44ef5cc03d83f9ce1534b8481bad95a0e089d
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * Copyright (c) 2019 by the Cajita authors * * All rights reserved. * * * * This ...
46.467089
87
0.546978
[ "mesh", "vector" ]
a0c96c51237f2eed64bd496aa32ba998ea1c7697
23,963
cpp
C++
src/library.cpp
th0rex/binaryninja_zydis
6c7fe6beac58634457ba3adfc69b55f343128e43
[ "MIT" ]
null
null
null
src/library.cpp
th0rex/binaryninja_zydis
6c7fe6beac58634457ba3adfc69b55f343128e43
[ "MIT" ]
null
null
null
src/library.cpp
th0rex/binaryninja_zydis
6c7fe6beac58634457ba3adfc69b55f343128e43
[ "MIT" ]
null
null
null
#include <array> #include <cinttypes> #include "Zydis/Zydis.h" #include "binaryninjaapi.h" using namespace BinaryNinja; #define CHECK_RESULT(r) \ do { \ if ((r) != ZYDIS_STATUS_SUCCESS) { \ return false; \ } ...
38.036508
80
0.627008
[ "vector" ]
a0ce8be0955839c51eb444c606a38fe5f6ef79b3
3,981
cpp
C++
dphGui/src/settingsdialog.cpp
ivzhuravlev/dining_philosophers
2124dc73fa06490686de75a38e45a3b78f8855ac
[ "MIT" ]
5
2018-12-27T11:02:05.000Z
2021-12-20T03:39:47.000Z
dphGui/src/settingsdialog.cpp
ivzhuravlev/dining_philosophers
2124dc73fa06490686de75a38e45a3b78f8855ac
[ "MIT" ]
null
null
null
dphGui/src/settingsdialog.cpp
ivzhuravlev/dining_philosophers
2124dc73fa06490686de75a38e45a3b78f8855ac
[ "MIT" ]
2
2021-12-16T06:50:59.000Z
2021-12-18T14:51:18.000Z
#include "settingsdialog.h" #include "settings.h" #include "dphCore/dinnersettings.h" #include "dinnersettingswidget.h" #include "scenesettingswidget.h" #include "visualsettingswidget.h" #include <QPushButton> #include <QListWidget> #include <QStackedWidget> #include <QHBoxLayout> #include <QVBoxLayout> #include <QDeb...
29.488889
91
0.770912
[ "geometry" ]
a0ce9020a7d17d1f6b15b47225bc20c74bec0cde
12,075
cpp
C++
map/booking_availability_filter.cpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
map/booking_availability_filter.cpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
map/booking_availability_filter.cpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#include "map/booking_availability_filter.hpp" #include "search/result.hpp" #include "partners_api/booking_api.hpp" #include "editor/editable_data_source.hpp" #include "indexer/data_source.hpp" #include "indexer/feature_decl.hpp" #include "indexer/ftypes_sponsored.hpp" #include "platform/platform.hpp" #include "b...
30.492424
115
0.679337
[ "vector" ]
a0d654c139fe9f550d8d2ff67cc7918825fe896e
5,753
cpp
C++
SugarboxBenchmarks/benchmark.cpp
Tom1975/CPCCore
8a898d80533d5f955898893fbe09be024a64e861
[ "MIT" ]
5
2020-01-24T17:48:40.000Z
2021-01-29T10:48:31.000Z
SugarboxBenchmarks/benchmark.cpp
Tom1975/CPCCore
8a898d80533d5f955898893fbe09be024a64e861
[ "MIT" ]
null
null
null
SugarboxBenchmarks/benchmark.cpp
Tom1975/CPCCore
8a898d80533d5f955898893fbe09be024a64e861
[ "MIT" ]
1
2021-09-16T08:45:22.000Z
2021-09-16T08:45:22.000Z
#include "../benchmark/include/benchmark/benchmark.h" #include <set> #include <vector> #include "TestUtils.h" void BenchmarkOpcode (Motherboard *motherboard_emulation, unsigned char opcode) { motherboard_emulation->SetPlus(true); motherboard_emulation->OnOff(); motherboard_emulation->GetMem()->InitMemory(); ...
26.883178
133
0.705197
[ "vector" ]
a0e506016a33ec2a9fd9ffcc98dd39919e5b64d8
3,252
cc
C++
HiggsAnalysis/Skimming/src/HiggsToZZ4LeptonsSkim.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
HiggsAnalysis/Skimming/src/HiggsToZZ4LeptonsSkim.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
HiggsAnalysis/Skimming/src/HiggsToZZ4LeptonsSkim.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
/* \class HiggsTo4LeptonsSkim * * Consult header file for description * * author: Dominique Fortin - UC Riverside * */ // system include files #include <HiggsAnalysis/Skimming/interface/HiggsToZZ4LeptonsSkim.h> // User include files #include <FWCore/ParameterSet/interface/ParameterSet.h> // Muons: #include <...
28.034483
116
0.705412
[ "vector" ]
a0e5d217bb920f48b6459527e6fd2b7263acf8e1
8,895
cpp
C++
Serverko/Srvk/Srvk/sqlmanager/sqlhelper.cpp
qframework/QFramework
9cef9261553e4486b535e07fdd16d51acc9ecd4a
[ "Apache-2.0" ]
2
2017-05-11T03:42:08.000Z
2022-01-11T02:26:50.000Z
Serverko/Srvk/Srvk/sqlmanager/sqlhelper.cpp
qframework/QFramework
9cef9261553e4486b535e07fdd16d51acc9ecd4a
[ "Apache-2.0" ]
null
null
null
Serverko/Srvk/Srvk/sqlmanager/sqlhelper.cpp
qframework/QFramework
9cef9261553e4486b535e07fdd16d51acc9ecd4a
[ "Apache-2.0" ]
null
null
null
#include "SQLHelper.h" //#include "../servermanager/HandlerSQLL.h" #include <stdio.h> #include <stdarg.h> ServerOutCallback SQLHelper::mpFunc = NULL; bool SQLHelper::get(std::vector<std::string>& retVals, const char* pTable, const char* pField, ...
20.261959
96
0.555818
[ "vector" ]
a0e7cc3f3b708611b3a1d21902719db3b9431573
8,928
cpp
C++
Chapter4/GL01_Camera/src/main.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
399
2021-06-03T02:42:20.000Z
2022-03-27T23:23:15.000Z
Chapter4/GL01_Camera/src/main.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
7
2021-07-13T02:36:01.000Z
2022-03-26T03:46:37.000Z
Chapter4/GL01_Camera/src/main.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
53
2021-06-02T20:02:24.000Z
2022-03-29T15:36:30.000Z
#include <stdio.h> #include <stdlib.h> #include <vector> #include "shared/glFramework/GLShader.h" #include "shared/UtilsMath.h" #include "shared/Bitmap.h" #include "shared/debug.h" #include "shared/UtilsCubemap.h" #include "shared/Camera.h" #include <glad/gl.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include ...
29.66113
136
0.733199
[ "mesh", "vector", "model" ]
a0e99c249fe0afa354af24610453ad536da96b18
2,505
cpp
C++
src/NativeScript/LiveEdit/ClearChangedCellsFunctor.cpp
aaayushsingh/ios-runtime
f8714aaf20ba9cdd288fc34e53d181a4d7f8cd6e
[ "Apache-2.0" ]
1
2021-11-14T02:57:26.000Z
2021-11-14T02:57:26.000Z
src/NativeScript/LiveEdit/ClearChangedCellsFunctor.cpp
aaayushsingh/ios-runtime
f8714aaf20ba9cdd288fc34e53d181a4d7f8cd6e
[ "Apache-2.0" ]
null
null
null
src/NativeScript/LiveEdit/ClearChangedCellsFunctor.cpp
aaayushsingh/ios-runtime
f8714aaf20ba9cdd288fc34e53d181a4d7f8cd6e
[ "Apache-2.0" ]
1
2021-11-14T02:56:06.000Z
2021-11-14T02:56:06.000Z
#include "ClearChangedCellsFunctor.h" #include <JavaScriptCore/CodeBlock.h> #include <JavaScriptCore/ExecutableBase.h> #include <JavaScriptCore/FunctionCodeBlock.h> #include <JavaScriptCore/HeapInlines.h> #include <JavaScriptCore/JSModuleEnvironment.h> #include <JavaScriptCore/JSModuleRecord.h> namespace NativeScript ...
39.761905
112
0.644311
[ "vector" ]
a0ee3f89269e9da3615cda5e2a52787d4a202583
1,792
cpp
C++
source/aufgabe_6.cpp
pono2189/programmiersprachen-aufgabenblatt-3
a84870058ae029ef9c9a55aa2cb9ae42e26099eb
[ "MIT" ]
null
null
null
source/aufgabe_6.cpp
pono2189/programmiersprachen-aufgabenblatt-3
a84870058ae029ef9c9a55aa2cb9ae42e26099eb
[ "MIT" ]
null
null
null
source/aufgabe_6.cpp
pono2189/programmiersprachen-aufgabenblatt-3
a84870058ae029ef9c9a55aa2cb9ae42e26099eb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <list> #include "stdio.h" #include <set> #include <map> #include <iterator> #include "circle.hpp" #include <string> #include "vec2.hpp" #include "color.hpp" #include <algorithm> #define CATCH_CONFIG_RUNNER #include <catch.hpp> //Aufgabe 3.6 TEST_CASE ("aufgabe6","[aufgab...
32.581818
106
0.640625
[ "vector" ]
a0f31eabc4af8b77b966c41a8c3b735d596c1342
732
cpp
C++
cpp/3.longestNonRepSubString/longestNonrepeatsubstring.cpp
LukeALee/algorithms
34dfe4e7929d35888d3ac3cc6b84c518b1551e4c
[ "MIT" ]
null
null
null
cpp/3.longestNonRepSubString/longestNonrepeatsubstring.cpp
LukeALee/algorithms
34dfe4e7929d35888d3ac3cc6b84c518b1551e4c
[ "MIT" ]
null
null
null
cpp/3.longestNonRepSubString/longestNonrepeatsubstring.cpp
LukeALee/algorithms
34dfe4e7929d35888d3ac3cc6b84c518b1551e4c
[ "MIT" ]
null
null
null
/* * @LukeA.Lee app=leetcode.cn id=3 lang=cpp * * [3] 最长无重复子串 */ #include<iostream> #include<algorithm> #include<vector> #include<algorithm> using namespace std; class Solution { public: int lengthOfLongestSubstring(string s) { vector<int> dict(256, -1); int maxLen = 0, start = -1; ...
21.529412
51
0.506831
[ "vector" ]
a0f74378fbad757773af24d2169d01c6c2b2a1c3
697
cpp
C++
orcm/mca/sensor/udsensors/rand_generator/rand_generator.cpp
ctrlsys/sensys
58221bca169c95c300ecc5526aa00590f0ce5c2f
[ "BSD-3-Clause-Open-MPI" ]
14
2016-09-06T17:02:20.000Z
2020-03-30T14:34:59.000Z
orcm/mca/sensor/udsensors/rand_generator/rand_generator.cpp
ctrlsys/sensys
58221bca169c95c300ecc5526aa00590f0ce5c2f
[ "BSD-3-Clause-Open-MPI" ]
9
2017-04-25T20:45:11.000Z
2017-07-20T14:58:03.000Z
orcm/mca/sensor/udsensors/rand_generator/rand_generator.cpp
ctrlsys/sensys
58221bca169c95c300ecc5526aa00590f0ce5c2f
[ "BSD-3-Clause-Open-MPI" ]
5
2016-10-11T03:28:26.000Z
2019-07-31T00:36:02.000Z
/* * Copyright (c) 2016 Intel Corporation. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "rand_generator.hpp" #include <iostream> #include <stdexcept> #include <cstdlib> void mySensor::init() { std::cout << "On init in plugin" << std::endl; } void my...
19.914286
76
0.649928
[ "object" ]
9d0748f6aff4b6dee4f71a7cef6908faf632cf26
1,310
hpp
C++
src/viewport.hpp
ramnasidharta/graphical-recipe
257d0455b73d2f5b212ebec028ec7b4c7a02db07
[ "MIT" ]
null
null
null
src/viewport.hpp
ramnasidharta/graphical-recipe
257d0455b73d2f5b212ebec028ec7b4c7a02db07
[ "MIT" ]
32
2019-03-22T15:14:10.000Z
2020-04-01T14:57:33.000Z
src/viewport.hpp
ramnasidharta/graphical-recipe
257d0455b73d2f5b212ebec028ec7b4c7a02db07
[ "MIT" ]
null
null
null
#ifndef VIEWPORT_HPP #define VIEWPORT_HPP #include "window.hpp" class ViewPort { private: Window *window; vector<Coordinate*> vpCoord; public: ViewPort (vector<Coordinate*> vpCoord, Window *window) { this->vpCoord = vpCoord; this->window = window; } ~ViewPort () { delete th...
25.192308
101
0.612977
[ "vector" ]
9d08d1541685a9350aec714aed047007c6ac4765
1,201
cpp
C++
createfractaldialog.cpp
khokm/simple-graphics-editor
b5612d75cc66b32db8f5c30f9dec6a01454f9a27
[ "MIT" ]
null
null
null
createfractaldialog.cpp
khokm/simple-graphics-editor
b5612d75cc66b32db8f5c30f9dec6a01454f9a27
[ "MIT" ]
null
null
null
createfractaldialog.cpp
khokm/simple-graphics-editor
b5612d75cc66b32db8f5c30f9dec6a01454f9a27
[ "MIT" ]
null
null
null
#include "createfractaldialog.h" #include "ui_createfractaldialog.h" CreateFractalDialog::CreateFractalDialog(QWidget *parent) : QDialog(parent), ui(new Ui::CreateFractalDialog) { ui->setupUi(this); on_pushButton_2_clicked(); } CreateFractalDialog::~CreateFractalDialog() { delete ui; } std::vecto...
22.240741
113
0.68443
[ "vector" ]
9d0d424afbf0b7868bab355cd55afbeb9becb8d2
8,423
cc
C++
apps/dump_meso_data/get_meso_data.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2020-06-03T15:59:50.000Z
2020-12-21T11:11:57.000Z
apps/dump_meso_data/get_meso_data.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
null
null
null
apps/dump_meso_data/get_meso_data.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2019-10-02T06:47:23.000Z
2020-02-02T18:32:23.000Z
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1992 - 2015 // ** University Corporation for Atmospheric Research(UCAR) // ** National Center for Atmospheric Research(NCAR) // ** Research Applications Laboratory(RAL) // ** P.O.Box 3000, Boulder, Colorado, 80307...
28.076667
196
0.562151
[ "vector" ]
9d109741a43e919b6f10f66a81574450e477c5e6
9,606
cpp
C++
MultiQuestensions/src/Hooks/MaxPlayerHooks.cpp
EnderdracheLP/MultiQuestensions
2d9772570117ff92d933466684f074774285cc94
[ "MIT" ]
1
2021-08-09T20:06:44.000Z
2021-08-09T20:06:44.000Z
MultiQuestensions/src/Hooks/MaxPlayerHooks.cpp
EnderdracheLP/MultiQuestensions
2d9772570117ff92d933466684f074774285cc94
[ "MIT" ]
null
null
null
MultiQuestensions/src/Hooks/MaxPlayerHooks.cpp
EnderdracheLP/MultiQuestensions
2d9772570117ff92d933466684f074774285cc94
[ "MIT" ]
3
2021-09-20T13:21:48.000Z
2021-09-21T15:58:17.000Z
#include "main.hpp" #include "Hooks/Hooks.hpp" using namespace GlobalNamespace; using namespace System; using namespace System::Collections::Generic; using namespace System::Linq; using namespace UnityEngine; using namespace UnityEngine::Playables; using namespace UnityEngine::Timeline; namespace MultiQuestensions { ...
69.608696
291
0.701957
[ "transform" ]
1dd7e8d5aaa07a8e16f8f55a42cf0d5451e5f8f4
602
cpp
C++
geometry/abc191_c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
geometry/abc191_c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
geometry/abc191_c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; using Graph = vector<vector<int>>; // 自己交叉のない多角形 // マス目 /* 参考リンク ABC 191 C - Digital Graffiti https://atcoder.jp/contests/abc191/tasks/abc191_c */ int main() { ...
18.8125
62
0.521595
[ "vector" ]
1dd9d4946cc768bbfca0fce336f7123493bf566b
2,639
cc
C++
c++3/prog02/sub2.cc
Andrew-Slade/cplusplus-projects
e5c5ac610f51d139f5d097ea00ac136c6fe1c365
[ "MIT" ]
null
null
null
c++3/prog02/sub2.cc
Andrew-Slade/cplusplus-projects
e5c5ac610f51d139f5d097ea00ac136c6fe1c365
[ "MIT" ]
null
null
null
c++3/prog02/sub2.cc
Andrew-Slade/cplusplus-projects
e5c5ac610f51d139f5d097ea00ac136c6fe1c365
[ "MIT" ]
null
null
null
/********************************************** *Student: Andrew Slade *Program: prog1 *Due Date: Thursday, September 7, 2017 *ZID: Z1818810 *Section: 340-0003 *source file *Purpose: fills vector with random values *and then sorts them ********************************************/ //Prepocessors #include "prog2.h" us...
20.3
97
0.611595
[ "vector" ]
1de03430bf8fea3c942ca2427ef17c66596c7e60
5,515
hpp
C++
include/np/ndarray/dynamic/NDArrayDynamicCompImpl.hpp
mgorshkov/np
75c7adff38e7260371135839b547d5340f3ca367
[ "MIT" ]
null
null
null
include/np/ndarray/dynamic/NDArrayDynamicCompImpl.hpp
mgorshkov/np
75c7adff38e7260371135839b547d5340f3ca367
[ "MIT" ]
null
null
null
include/np/ndarray/dynamic/NDArrayDynamicCompImpl.hpp
mgorshkov/np
75c7adff38e7260371135839b547d5340f3ca367
[ "MIT" ]
null
null
null
/* C++ numpy-like template-based array implementation Copyright (c) 2022 Mikhail Gorshkov (mikhail.gorshkov@gmail.com) 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, includi...
47.136752
157
0.708432
[ "shape" ]
1de1f81b04874c62d3ab334cd952bc498d02c7b5
9,671
cpp
C++
Renderer.cpp
lai001/SoftwareRendering
be90b4838dc847076b87969a19feeb2880e3322c
[ "MIT" ]
null
null
null
Renderer.cpp
lai001/SoftwareRendering
be90b4838dc847076b87969a19feeb2880e3322c
[ "MIT" ]
null
null
null
Renderer.cpp
lai001/SoftwareRendering
be90b4838dc847076b87969a19feeb2880e3322c
[ "MIT" ]
null
null
null
#include "Renderer.hpp" #include "spdlog/spdlog.h" #include "Util.hpp" #include "Line2D.hpp" Renderer::Renderer(int width, int height) :frameBuffer(new FrameBuffer(width, height)) { } Renderer::~Renderer() { delete frameBuffer; } FrameBuffer const * const Renderer::getFrameBuffer() const { return frameBuffer; ...
28.031884
167
0.638197
[ "vector" ]
1de38018c4ffdac78d488e0239c6869c64319929
3,624
cpp
C++
src/Textdraw/CTextDrawMenu.cpp
maddinat0r/cpp-gamemode-samp
ee36f3f322502f6faa997647d562bf25863e7791
[ "MIT" ]
1
2021-05-31T11:10:12.000Z
2021-05-31T11:10:12.000Z
src/Textdraw/CTextDrawMenu.cpp
maddinat0r/cpp-gamemode-samp
ee36f3f322502f6faa997647d562bf25863e7791
[ "MIT" ]
null
null
null
src/Textdraw/CTextDrawMenu.cpp
maddinat0r/cpp-gamemode-samp
ee36f3f322502f6faa997647d562bf25863e7791
[ "MIT" ]
1
2020-10-17T18:27:00.000Z
2020-10-17T18:27:00.000Z
#include <Textdraw/CTextDrawMenu.h> #include <Textdraw/CTextDraw.h> #include <Textdraw/CPlayerTextDraw.h> #include <vector> using std::vector; template<class T> bool CTextDrawMenu::AddTextDraw(T* textdraw, string name) { if(textdraw == nullptr) return false; if (name.empty()) { m_Textdraws.push_back(textd...
23.686275
108
0.690397
[ "vector" ]
1de9bf2bfdf7616a5be95c6721a74dc6c4d0edd0
3,434
cpp
C++
src/Inciter/AMR/util.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/Inciter/AMR/util.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/Inciter/AMR/util.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
#include <stddef.h> #include <sstream> #include "util.hpp" #include "AMR/AMR_types.hpp" namespace AMR { namespace util { /** * @brief Split a string based on a given delimiter * * @param s The string to split * @param delim The delimiter to use * @param elems ...
30.389381
98
0.474956
[ "vector" ]
1dea37a61e745dd4f8c00e9736099ee5f6618c52
3,973
cpp
C++
sferes/tests/ea/cmaes.cpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
31
2015-09-20T03:03:29.000Z
2022-01-25T06:50:20.000Z
sferes/tests/ea/cmaes.cpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
1
2016-08-11T07:24:50.000Z
2016-08-17T01:19:57.000Z
sferes/tests/ea/cmaes.cpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
10
2015-11-15T01:52:25.000Z
2018-06-11T23:42:58.000Z
//| This file is a part of the sferes2 framework. //| Copyright 2009, ISIR / Universite Pierre et Marie Curie (UPMC) //| Main contributor(s): Jean-Baptiste Mouret, mouret@isir.fr //| //| This software is a computer program whose purpose is to facilitate //| experiments in evolutionary computation and evolutionary robot...
32.834711
72
0.707526
[ "vector" ]
1ded5a298a4aa10f4d71f17286535ae6bbfc9d68
2,063
cpp
C++
modules/cvv/src/view/defaultfilterview.cpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
7,158
2016-07-04T22:19:27.000Z
2022-03-31T07:54:32.000Z
modules/cvv/src/view/defaultfilterview.cpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
2,184
2016-07-05T12:04:14.000Z
2022-03-30T19:10:12.000Z
modules/cvv/src/view/defaultfilterview.cpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
5,535
2016-07-06T12:01:10.000Z
2022-03-31T03:13:24.000Z
#include <QHBoxLayout> #include <QVBoxLayout> #include <QGridLayout> #include <QWidget> #include "defaultfilterview.hpp" #include "../qtutil/accordion.hpp" #include "../qtutil/zoomableimageoptpanel.hpp" #include "../qtutil/zoomableimage.hpp" #include "../qtutil/synczoomwidget.hpp" #include "../qtutil/histogram.hpp" #i...
26.448718
129
0.711585
[ "vector" ]
1df7647e5b0c91d2a781194e296be4254a099780
10,725
cpp
C++
src/acQGanttChartWindow.cpp
nfogh/common-src-AMDTApplicationComponents
9fc0fa073b8af5d8552eb331fc47ede8becca642
[ "MIT" ]
1
2017-01-28T14:14:18.000Z
2017-01-28T14:14:18.000Z
src/acQGanttChartWindow.cpp
nfogh/common-src-AMDTApplicationComponents
9fc0fa073b8af5d8552eb331fc47ede8becca642
[ "MIT" ]
null
null
null
src/acQGanttChartWindow.cpp
nfogh/common-src-AMDTApplicationComponents
9fc0fa073b8af5d8552eb331fc47ede8becca642
[ "MIT" ]
2
2018-10-26T09:34:00.000Z
2019-11-01T23:05:53.000Z
//------------------------------ acQGanttChartWindow.cpp ------------------------------ // Ignore compiler warnings: #include <AMDTBaseTools/Include/gtIgnoreCompilerWarnings.h> // Qt: #include <QtGui> // wxWindows pre compiled header: #include <AMDTApplicationComponents/Include/acWxWidgetsIncludes.h> // Infra: #inc...
37.764085
189
0.562611
[ "vector" ]
1df87f7053c4f92d81ee092fb918a13866c7b923
6,666
cc
C++
src/Dataflow/Network/Port.cc
Nahusa/SCIRun
c54e714d4c7e956d053597cf194e07616e28a498
[ "MIT" ]
1
2019-05-30T06:00:15.000Z
2019-05-30T06:00:15.000Z
src/Dataflow/Network/Port.cc
manual123/SCIRun
3816b1dc4ebd0c5bd4539b7e50e08592acdac903
[ "MIT" ]
null
null
null
src/Dataflow/Network/Port.cc
manual123/SCIRun
3816b1dc4ebd0c5bd4539b7e50e08592acdac903
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person o...
25.06015
162
0.734923
[ "geometry" ]
1dfb3ae2f4fdede6a489934642bc8de43e1d4674
5,879
hpp
C++
include/natalie/vector.hpp
tekknolagi/natalie
0e31cb0b0357fed20ecfdb71f24f9bc94195e1d1
[ "MIT" ]
null
null
null
include/natalie/vector.hpp
tekknolagi/natalie
0e31cb0b0357fed20ecfdb71f24f9bc94195e1d1
[ "MIT" ]
null
null
null
include/natalie/vector.hpp
tekknolagi/natalie
0e31cb0b0357fed20ecfdb71f24f9bc94195e1d1
[ "MIT" ]
null
null
null
#pragma once #include <assert.h> #include <stdio.h> #include <stdlib.h> #include "natalie/gc.hpp" #define NAT_VECTOR_GROW_FACTOR 2 namespace Natalie { template <typename T> struct Vector : public gc { Vector() { } Vector(ssize_t initial_capacity, T filler) : m_size { initial_capacity } , m...
25.450216
84
0.514373
[ "vector" ]
1dfd204af04b02eb849281a12f9245e2df23b5f0
4,052
cpp
C++
shared/source/os_interface/windows/driver_info_windows.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/source/os_interface/windows/driver_info_windows.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/source/os_interface/windows/driver_info_windows.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2020-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/os_interface/windows/driver_info_windows.h" #include "shared/source/os_interface/os_interface.h" #include "shared/source/os_interface/windows/debug_registry_reader.h" #include "shared/source/os_interface/...
38.961538
239
0.71693
[ "transform" ]
380bcedddab3db89b740e9cb95220c21249259e5
1,406
cc
C++
cinn/hlir/framework/buffer_test.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
1
2019-10-23T09:16:23.000Z
2019-10-23T09:16:23.000Z
cinn/hlir/framework/buffer_test.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
null
null
null
cinn/hlir/framework/buffer_test.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
null
null
null
#include "cinn/hlir/framework/buffer.h" #ifdef CINN_WITH_CUDA #include "cinn/backends/cuda_util.h" #endif #include <gtest/gtest.h> #include <vector> namespace cinn { namespace hlir { namespace framework { TEST(Buffer, basic) { Buffer buffer(common::DefaultHostTarget()); buffer.Resize(10 * sizeof(float)); auto*...
29.291667
78
0.64936
[ "vector" ]
380c82b261719363e8362763e049ca2a7150451d
25,107
hpp
C++
cell_based/test/aSF/ApicalStressFibers5C.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
cell_based/test/aSF/ApicalStressFibers5C.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
cell_based/test/aSF/ApicalStressFibers5C.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2018, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
52.415449
158
0.675668
[ "mesh", "vector", "model" ]
38144468400adc17d5fa20e94fa0ade51f89abbb
13,509
hpp
C++
include/codegen/include/System/Double.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Double.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Double.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.ValueType #include "System/ValueType.hpp" // Inc...
53.820717
205
0.753276
[ "object" ]
38152ac7bdcafada8632606e11dd136ad7267201
932
cpp
C++
Algorithms/1567.Maximum_Length_of_Subarray_With_Positive_Product.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/1567.Maximum_Length_of_Subarray_With_Positive_Product.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/1567.Maximum_Length_of_Subarray_With_Positive_Product.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
class Solution { public: int getMaxLen(vector<int>& ar) { int n = ar.size() , ans = 0; int idxPos = 0 , idxNeg = -1; bool isPos = true; for( int i = 0 ; i < n ; i++ ) { if(ar[i] == 0) { idxPos = i+1; idxNeg = -1; isPos = tru...
30.064516
47
0.33691
[ "vector" ]
381a393ed78fc2e3a29d914fb9ed2251cd4acb69
5,153
cc
C++
localization/graph_localizer/src/rotation_factor_adder.cc
jdekarske/astrobee
c882f9f39719487770bbe7c7322d2ca7f71a1272
[ "Apache-2.0" ]
629
2017-08-31T23:09:00.000Z
2022-03-30T11:55:40.000Z
localization/graph_localizer/src/rotation_factor_adder.cc
jdekarske/astrobee
c882f9f39719487770bbe7c7322d2ca7f71a1272
[ "Apache-2.0" ]
269
2018-05-05T12:31:16.000Z
2022-03-30T22:04:11.000Z
localization/graph_localizer/src/rotation_factor_adder.cc
jdekarske/astrobee
c882f9f39719487770bbe7c7322d2ca7f71a1272
[ "Apache-2.0" ]
248
2017-08-31T23:20:56.000Z
2022-03-30T22:29:16.000Z
/* Copyright (c) 2017, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The Astrobee platform is licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with t...
48.613208
118
0.751019
[ "vector" ]
381cf82aa012a329a5ae11024829a43b31642b94
3,475
hh
C++
testData/parser/Types/Type_aliases_rf.hh
jhsx/hacklang-idea
45d190444662c8ced0614c91f8fa7701f0936e95
[ "MIT" ]
3
2016-03-05T13:24:29.000Z
2016-09-20T11:54:06.000Z
testData/parser/Types/Type_aliases_rf.hh
jhsx/hacklang-idea
45d190444662c8ced0614c91f8fa7701f0936e95
[ "MIT" ]
1
2016-05-04T23:30:45.000Z
2016-06-10T13:36:27.000Z
testData/parser/Types/Type_aliases_rf.hh
jhsx/hacklang-idea
45d190444662c8ced0614c91f8fa7701f0936e95
[ "MIT" ]
null
null
null
<?hh // strict namespace NS_type_aliases; // TTA == Transparent type alias // OTA == Opaque type alias // ------------------------------------------------------ type TTA1a = int; newtype OTA1b = TTA1a; type TTA1c = OTA1b; // ------------------------------------------------------ type TTA_bool1 = bool; newtype OTA...
28.719008
73
0.560288
[ "shape" ]
381d348bc09ef61eb4c9da32a18aebd677ae787e
1,500
cpp
C++
tools/mull-dump-mutants/mull-dump-mutants.cpp
kateinoigakukun/mull-xctest
e7be5afa9afb64bef97dde29417c016af2a50dcc
[ "MIT" ]
43
2021-03-04T04:57:41.000Z
2022-03-03T17:16:54.000Z
tools/mull-dump-mutants/mull-dump-mutants.cpp
kateinoigakukun/mull-xctest
e7be5afa9afb64bef97dde29417c016af2a50dcc
[ "MIT" ]
2
2021-03-09T10:32:29.000Z
2021-10-19T12:01:25.000Z
tools/mull-dump-mutants/mull-dump-mutants.cpp
kateinoigakukun/mull-xctest
e7be5afa9afb64bef97dde29417c016af2a50dcc
[ "MIT" ]
1
2021-03-09T14:29:17.000Z
2021-03-09T14:29:17.000Z
#include "MullXCTest/MutantSerialization.h" #include <llvm/Object/Binary.h> #include <llvm/Object/MachO.h> #include <llvm/Support/CommandLine.h> #include <mull/Diagnostics/Diagnostics.h> #include <mull/MutationPoint.h> #include <mull/Mutators/MutatorsFactory.h> #include <mull/Reporters/IDEReporter.h> #include <mull/Ver...
27.272727
71
0.673333
[ "object", "vector" ]
3824ecaeb9e3e77103ee2684d9b62fc5ddb0c683
7,290
cpp
C++
Tests/DataFileGenerator.cpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
null
null
null
Tests/DataFileGenerator.cpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
null
null
null
Tests/DataFileGenerator.cpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
1
2020-08-26T07:08:26.000Z
2020-08-26T07:08:26.000Z
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007, 2010 Michael A. Jackson for BlueQuartz Software // All rights reserved. // BSD License: http://www.opensource.org/licenses/bsd-license.html // // This code was written under United States Air Force Contract num...
44.181818
165
0.628395
[ "object", "vector", "model" ]
38297392a7a425ce30c9f84d2907be6c2f111bbd
3,700
hpp
C++
include/deft.hpp
EACcodes/deft
e9a7294e54e1a72152be4c36ef11178dbc7e1887
[ "BSD-3-Clause" ]
null
null
null
include/deft.hpp
EACcodes/deft
e9a7294e54e1a72152be4c36ef11178dbc7e1887
[ "BSD-3-Clause" ]
null
null
null
include/deft.hpp
EACcodes/deft
e9a7294e54e1a72152be4c36ef11178dbc7e1887
[ "BSD-3-Clause" ]
null
null
null
#include <complex> #include <memory> #include <fftw3.h> #include <armadillo> using namespace std; using namespace arma; #ifndef __DEFT_HPP__ #define __DEFT_HPP__ class deft{ public: // constructors deft(const size_t, const size_t, const size_t, const double*, const double*, const double*); deft(const de...
24.832215
96
0.688108
[ "geometry", "transform" ]
382d6c1b601ee55953d8f0b5f8b8cd8a65c59dd4
2,053
hpp
C++
gamma/mvp.hpp
fabianschuiki/gamma
ef5de69eae854267fecebdebd0c7fab7d7d2bf60
[ "MIT" ]
1
2017-11-09T02:15:41.000Z
2017-11-09T02:15:41.000Z
gamma/mvp.hpp
fabianschuiki/gamma
ef5de69eae854267fecebdebd0c7fab7d7d2bf60
[ "MIT" ]
1
2015-08-10T20:54:11.000Z
2015-08-10T20:54:11.000Z
gamma/mvp.hpp
fabianschuiki/gamma
ef5de69eae854267fecebdebd0c7fab7d7d2bf60
[ "MIT" ]
null
null
null
/* Copyright (c) 2013-2014 Fabian Schuiki */ #pragma once #include "gamma/matrix.hpp" namespace gma { template <typename T> struct mvp { typedef mvp<T> self; typedef T scalar_type; typedef matrix3<T> matrix3_type; typedef matrix4<T> matrix4_type; matrix4_type model; matrix4_type view; matrix4_type projection;...
31.584615
120
0.688261
[ "model" ]
382de71ec28f3fbd41a10e090c238649c0017b5e
1,021
cpp
C++
easy/POINTS.cpp
VasuGoel/codechef-problems
53951be4d2a5a507798fb83e25bdaa675f65077b
[ "MIT" ]
null
null
null
easy/POINTS.cpp
VasuGoel/codechef-problems
53951be4d2a5a507798fb83e25bdaa675f65077b
[ "MIT" ]
null
null
null
easy/POINTS.cpp
VasuGoel/codechef-problems
53951be4d2a5a507798fb83e25bdaa675f65077b
[ "MIT" ]
null
null
null
// // Created by Vasu Goel on 2/10/20. // #include <bits/stdc++.h> using namespace std; typedef struct Point { int x, y; Point(int a, int b) { this->x = a, this->y = b; } } point; bool comparator(point a, point b) { return a.x < b.x || (a.x == b.x && a.y >= b.y); } double coordinate_distance...
23.204545
78
0.516161
[ "vector" ]
382f093d6aef56416c5fc77915ff800a0bd49873
3,015
hpp
C++
test/module/shared_model/builders/common_objects/account_asset_builder.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
test/module/shared_model/builders/common_objects/account_asset_builder.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
test/module/shared_model/builders/common_objects/account_asset_builder.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2018 All Rights Reserved. * http://soramitsu.co.jp * * 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/LICENS...
36.768293
78
0.688557
[ "object", "model" ]
383c62e3c7151383011d53ef57e54958cb6cd259
3,487
cpp
C++
libraries/utils/khepera.cpp
LucasWaelti/RL_Webots
778091996434a9acb217d10941b629c2154d638f
[ "MIT" ]
32
2020-04-06T13:27:26.000Z
2022-02-21T06:39:17.000Z
libraries/utils/khepera.cpp
LucasWaelti/RL_Webots
778091996434a9acb217d10941b629c2154d638f
[ "MIT" ]
null
null
null
libraries/utils/khepera.cpp
LucasWaelti/RL_Webots
778091996434a9acb217d10941b629c2154d638f
[ "MIT" ]
6
2020-04-16T03:04:39.000Z
2020-10-07T07:56:02.000Z
#include "khepera.hpp" static int time_step = 8; static const char *infrared_sensors_names[NUMBER_OF_INFRARED_SENSORS] = { // turret sensors "rear left infrared sensor", "left infrared sensor", "front left infrared sensor", "front infrared sensor", "front right infrared sensor", "right infrared sensor", "rear ...
32.896226
111
0.698882
[ "vector" ]
383c64a0a04fc0315d6ab9e3fe8b5b3eaee89632
56,820
cpp
C++
src/shadingfactors.cpp
bje-/SAM
a52536b211c90a8e5fb15e4998212f313abcbfbe
[ "BSD-3-Clause" ]
219
2017-07-28T17:25:14.000Z
2022-03-17T23:03:17.000Z
src/shadingfactors.cpp
bje-/SAM
a52536b211c90a8e5fb15e4998212f313abcbfbe
[ "BSD-3-Clause" ]
729
2017-08-10T14:42:30.000Z
2022-03-31T23:14:09.000Z
src/shadingfactors.cpp
bje-/SAM
a52536b211c90a8e5fb15e4998212f313abcbfbe
[ "BSD-3-Clause" ]
109
2017-09-16T00:52:54.000Z
2022-03-31T18:05:05.000Z
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC 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 conditions and the...
29.258496
617
0.675678
[ "vector", "model", "3d" ]
383ee236dd703c18419f5f3b90813c1f57ad1b34
960
cpp
C++
HackerRank/Algorithms/Easy/E0064.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
HackerRank/Algorithms/Easy/E0064.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
HackerRank/Algorithms/Easy/E0064.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://www.hackerrank.com/challenges/find-the-median/problem */ #include <iostream> #include <vector> #include <algorithm> using namespace std; int partition(vector<int> &arr, int low, int high){ int pivot = arr[high]; int i = low-1; for(int j=low ; j<high ; j++) if(arr[j] < pivot){ i+...
18.823529
80
0.633333
[ "vector" ]
384442658cb3d9dde0f91452da0f66b97aa8cd04
9,804
cc
C++
projects/MatlabTranslation/src/typeInference/MatlabTypeInference.cc
edmcman/rose
93075545a3810529149fcca189e0181f31017e93
[ "BSD-3-Clause" ]
1
2019-07-21T17:54:22.000Z
2019-07-21T17:54:22.000Z
projects/MatlabTranslation/src/typeInference/MatlabTypeInference.cc
WildeGeist/rose
17db6454e8baba0014e30a8ec23df1a11ac55a0c
[ "BSD-3-Clause" ]
null
null
null
projects/MatlabTranslation/src/typeInference/MatlabTypeInference.cc
WildeGeist/rose
17db6454e8baba0014e30a8ec23df1a11ac55a0c
[ "BSD-3-Clause" ]
1
2021-02-10T00:25:51.000Z
2021-02-10T00:25:51.000Z
#include "MatlabTypeInference.h" #include "rose.h" #include "sageGeneric.h" #include "MatlabParser.h" #include "FunctionAnalyzer.h" #include "VariableDeclarationBuilder.h" #include "BottomUpTypeAnalysis.h" #include "MatlabVariables.h" #include "FastNumericsRoseSupport.h" #include "utility/utils.h" namespace si = S...
27.008264
104
0.700224
[ "vector" ]
3847aebd41006970577098b50d14950095935b28
1,539
cpp
C++
TaskLayer/EventArgs/XmlForTaskListEventArgs.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
2
2020-09-10T19:14:20.000Z
2021-09-11T16:36:56.000Z
TaskLayer/EventArgs/XmlForTaskListEventArgs.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
null
null
null
TaskLayer/EventArgs/XmlForTaskListEventArgs.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
3
2020-09-11T01:19:47.000Z
2021-09-02T02:05:01.000Z
#include "XmlForTaskListEventArgs.h" #include "../DbForTask.h" #include "stringhelper.h" namespace TaskLayer { XmlForTaskListEventArgs::XmlForTaskListEventArgs(std::vector<DbForTask*> &newDatabases) { NewDatabases = newDatabases; } bool XmlForTaskListEventArgs::Equals( EventArgs *obj) const ...
29.596154
103
0.528915
[ "vector" ]
384f88b5da12c3a2809f494096cd233e12aab892
24,738
cpp
C++
ts/src/debugExecutable.cpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
300
2015-01-14T11:19:48.000Z
2022-01-18T19:46:55.000Z
ts/src/debugExecutable.cpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
742
2015-01-07T05:25:39.000Z
2022-03-15T17:06:34.000Z
ts/src/debugExecutable.cpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
280
2015-01-01T08:58:00.000Z
2022-03-23T12:37:38.000Z
#include "common.hpp" #include "profilers.hpp" #include "CommandProcessor.hpp" #include "helpers.hpp" #include "Logger.hpp" #include "task_force_radio.hpp" void assertfunc(bool as, std::string cause) { if (as) DebugBreak(); } #define ASSERT(a) assertfunc(!(a),#a) auto speedTestStringToGameComma...
42.505155
778
0.620139
[ "vector", "transform", "3d" ]
ee2fcc92220bb415c0199e1a9a9311f0bda00db9
7,180
cpp
C++
C++/lang/templates.cpp
nihilesh/sharpner
bb74a20cebb5de284b50b1b81dc5b4b7fca34b7c
[ "Apache-2.0" ]
null
null
null
C++/lang/templates.cpp
nihilesh/sharpner
bb74a20cebb5de284b50b1b81dc5b4b7fca34b7c
[ "Apache-2.0" ]
null
null
null
C++/lang/templates.cpp
nihilesh/sharpner
bb74a20cebb5de284b50b1b81dc5b4b7fca34b7c
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_map> #include <assert.h> using namespace std; #if 0 namespace test1 { typedef struct TabletBase_t { public: vector<uint64_t> u64_cells; vector<float> f64_cells; }TabletBase; template<class T> T allOf_(T a, T b) { return T(); } templat...
29.547325
103
0.601114
[ "vector" ]
ee2ff56461277d7bacaf49ebc0cb6beb9275c59c
109,094
cc
C++
gen/pb-cpp/flyteidl/plugins/sagemaker/parameter_ranges.pb.cc
EngHabu/flyteidl
d7970314fc2bcbd2840610b4d42ea2886f0837b9
[ "Apache-2.0" ]
null
null
null
gen/pb-cpp/flyteidl/plugins/sagemaker/parameter_ranges.pb.cc
EngHabu/flyteidl
d7970314fc2bcbd2840610b4d42ea2886f0837b9
[ "Apache-2.0" ]
null
null
null
gen/pb-cpp/flyteidl/plugins/sagemaker/parameter_ranges.pb.cc
EngHabu/flyteidl
d7970314fc2bcbd2840610b4d42ea2886f0837b9
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: flyteidl/plugins/sagemaker/parameter_ranges.proto #include "flyteidl/plugins/sagemaker/parameter_ranges.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/ex...
44.329134
266
0.7461
[ "object" ]
ee37ea1591cc141566a35054de297a0b8ebcaecc
1,627
hpp
C++
dependence/fc/include/fc/network/http/server.hpp
tiaotiao00/HSR00qianbao
a88afebeb98e786389f369447bcf9c3a2a352cfa
[ "MIT" ]
66
2017-09-29T07:09:59.000Z
2020-01-12T06:45:08.000Z
dependence/fc/include/fc/network/http/server.hpp
tiaotiao00/HSR00qianbao
a88afebeb98e786389f369447bcf9c3a2a352cfa
[ "MIT" ]
5
2017-12-13T13:12:05.000Z
2018-01-18T10:34:02.000Z
dependence/fc/include/fc/network/http/server.hpp
tiaotiao00/HSR00qianbao
a88afebeb98e786389f369447bcf9c3a2a352cfa
[ "MIT" ]
11
2017-12-05T07:02:05.000Z
2018-01-28T02:52:50.000Z
#pragma once #include <fc/network/http/connection.hpp> #include <fc/shared_ptr.hpp> #include <functional> #include <memory> namespace fc { namespace http { /** * Listens on a given port for incomming http * connections and then calls a user provided callback * function for every http request. * *...
25.030769
110
0.588814
[ "vector" ]
ee3be4eb0ca7b5b7b8e62a4f47bbc69e07e3cb8f
33,094
cpp
C++
test/timeparser/EnTimeParser.cpp
CuSO4Gem/jrm
8ad1e5c785b193cd917e08d55f3edb068e007304
[ "Apache-2.0" ]
null
null
null
test/timeparser/EnTimeParser.cpp
CuSO4Gem/jrm
8ad1e5c785b193cd917e08d55f3edb068e007304
[ "Apache-2.0" ]
null
null
null
test/timeparser/EnTimeParser.cpp
CuSO4Gem/jrm
8ad1e5c785b193cd917e08d55f3edb068e007304
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 Zorn Link Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
27.373036
92
0.502266
[ "vector", "transform" ]
ee3c5f6bd6063f87354618c2d2b3fc2bcb4a4999
9,872
cpp
C++
cpp/src/main.cpp
SamuelMarks/oauth2
801a2c8027ca58a536aa326ad2412595be49cf06
[ "MIT" ]
3
2020-12-22T16:21:33.000Z
2021-04-22T19:22:12.000Z
cpp/src/main.cpp
SamuelMarks/oauth2
801a2c8027ca58a536aa326ad2412595be49cf06
[ "MIT" ]
1
2021-04-21T10:19:04.000Z
2021-04-23T02:51:16.000Z
cpp/src/main.cpp
SamuelMarks/oauth2
801a2c8027ca58a536aa326ad2412595be49cf06
[ "MIT" ]
3
2020-12-22T16:22:27.000Z
2021-04-21T08:11:20.000Z
/** * OAuth2 in C/C++ * Go straight for flow that uses Serverless version * to get information about the login */ #include "url.h" #include "tiny_web_client.h" #include "random_string.h" #include "json_parser.h" #include "open_browser.h" #include "tiny_web_server.h" int main() { std::cout << "===============...
61.31677
1,892
0.672002
[ "object" ]
ee3c8bcf8c88fa0a47eadfd0e731884124ee67e8
5,264
cpp
C++
C++/STL/algorithm.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
C++/STL/algorithm.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
C++/STL/algorithm.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
#include <algorithm> #include <unordered_map> using namespace std; int main() { min(x,y) // x and y can only be integers and not overloaded functions max(x,y) sort(first_iterator, last_iterator) //To sort the given vector. reverse(first_iterator, last_iterator) //To reverse a vector. *max_eleme...
37.333333
268
0.667363
[ "object", "vector" ]
ee40859bb2f1f237a9e2e26a42f2d7372b34816c
2,288
cpp
C++
essential/udacity-cpp-nano/Projects/Intro_to_Concurrency/Mutex_and_Lock/dead_lock_ex_2.cpp
disono/cp-cheat-sheet
02edee3d822f56770e1a1a3cc4db6be3691a7a38
[ "MIT" ]
null
null
null
essential/udacity-cpp-nano/Projects/Intro_to_Concurrency/Mutex_and_Lock/dead_lock_ex_2.cpp
disono/cp-cheat-sheet
02edee3d822f56770e1a1a3cc4db6be3691a7a38
[ "MIT" ]
null
null
null
essential/udacity-cpp-nano/Projects/Intro_to_Concurrency/Mutex_and_Lock/dead_lock_ex_2.cpp
disono/cp-cheat-sheet
02edee3d822f56770e1a1a3cc4db6be3691a7a38
[ "MIT" ]
null
null
null
/** * [Description] * Using mutexes can significantly reduce the risk of data races as seen in the example above. * But imagine what would happen if an exception was thrown while executing code in the * critical section, i.e. between lock and unlock. In such a case, the mutex would remain * locked indefinitely ...
27.902439
113
0.625
[ "vector" ]
ee47d69dfdb57eee68613dd779e5104a9bb92f19
3,260
cpp
C++
src/qt/setrecovery.cpp
maxmaxj/ipchain
99c1943ca65fd4acdef5b4eb5e75c4bee3d59365
[ "MIT" ]
34
2018-01-25T10:29:35.000Z
2021-04-22T18:40:40.000Z
src/qt/setrecovery.cpp
joshuabond/ipchain
5bd6792b1754890fae6648bec9d60519b55406cd
[ "MIT" ]
9
2018-07-25T09:41:40.000Z
2021-03-05T16:13:01.000Z
src/qt/setrecovery.cpp
joshuabond/ipchain
5bd6792b1754890fae6648bec9d60519b55406cd
[ "MIT" ]
11
2018-01-28T03:02:44.000Z
2022-01-09T04:26:23.000Z
#include "setrecovery.h" #include "ui_setrecovery.h" #include <QFileInfo> #include <QFileDialog> #include "walletmodel.h" #include "log/log.h" #include "intro.h" #include <QMessageBox> QString g_CreateWalletFromPath; SetRecovery::SetRecovery(QWidget *parent) : QWidget(parent), ui(new Ui::SetRecovery),walletMode...
23.120567
124
0.621166
[ "model" ]
ee49da506c36cab9a610da795298f9631403b285
14,076
hpp
C++
include/SSDK/Archive/fileinfo.hpp
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
include/SSDK/Archive/fileinfo.hpp
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
include/SSDK/Archive/fileinfo.hpp
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
#ifndef FILEINFO_HPP #define FILEINFO_HPP #include <string> #include <vector> #include <qfileinfo.h> #include <QFile> #include <QString> #include <QDir> #include "../Exception/customexception.hpp" namespace SSDK { namespace Archive { /** * @brief FileInfo类为工具类 * 参考: *   参照QFi...
37.940701
225
0.305485
[ "vector" ]