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
1ce473f2d09b354e8d7c6fb85bb38329446de4f6
3,554
cpp
C++
src/Modules/Graphics/Geometry/Prop/PropSync_System.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
5
2018-10-12T17:40:17.000Z
2020-11-20T10:49:34.000Z
src/Modules/Graphics/Geometry/Prop/PropSync_System.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
71
2018-07-19T01:59:38.000Z
2020-03-29T18:03:13.000Z
src/Modules/Graphics/Geometry/Prop/PropSync_System.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
1
2022-03-24T13:21:25.000Z
2022-03-24T13:21:25.000Z
#include "Modules/Graphics/Geometry/Prop/PropSync_System.h" #include "Modules/Graphics/Geometry/Prop/PropData.h" #include "Modules/ECS/component_types.h" PropSync_System::PropSync_System(PropData& frameData) : m_frameData(frameData) { addComponentType(Prop_Component::Runtime_ID, RequirementsFlag::FLAG_REQUIRED); a...
48.684932
129
0.76224
[ "geometry", "vector", "transform" ]
1ce6dff8203bbb47d77b6b5d6cc36bacb694fcc3
3,807
cpp
C++
lib/Andersen.cpp
efeslab/andersen
e6e3f6ae3bf20c1a873be21759025cb413a9a206
[ "MIT" ]
154
2015-01-28T17:45:21.000Z
2022-03-27T13:48:37.000Z
lib/Andersen.cpp
csabahruska/andersen
bd5326269401568bf784c42f8fbf0d74d74b0532
[ "MIT" ]
5
2016-04-23T06:55:47.000Z
2019-06-19T21:57:42.000Z
lib/Andersen.cpp
csabahruska/andersen
bd5326269401568bf784c42f8fbf0d74d74b0532
[ "MIT" ]
47
2015-01-05T09:55:34.000Z
2022-02-24T15:04:56.000Z
#include "Andersen.h" #include "llvm/ADT/Statistic.h" #include "llvm/IR/Module.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/raw_ostream.h" using namespace llvm; cl::opt<bool> DumpDebugInfo("dump-debug", cl::desc("Dump debug info into stderr"), ...
26.622378
79
0.607565
[ "vector" ]
1ceabe509d03d0a86efff240674f66150858cd51
2,002
cpp
C++
src/C++ STL Examples/algorithms/find_end_example.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
1
2020-03-15T04:09:11.000Z
2020-03-15T04:09:11.000Z
src/C++ STL Examples/algorithms/find_end_example.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
null
null
null
src/C++ STL Examples/algorithms/find_end_example.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <iterator> #include <vector> using namespace std; //std::find_end /* equality (1) * template <class ForwardIterator1, class ForwardIterator2> * ForwardIterator1 find_end (ForwardIterator1 first1, ForwardIterator1 last1,ForwardIterator2 first2, ForwardIterator2 last2...
40.04
151
0.653846
[ "vector" ]
1cecfdf5e53d508c3c5003a250b37568beb662d9
11,643
cc
C++
examples/collection/jacobi1d_vt.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
26
2019-11-26T08:36:15.000Z
2022-02-15T17:13:21.000Z
examples/collection/jacobi1d_vt.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
1,215
2019-09-09T14:31:33.000Z
2022-03-30T20:20:14.000Z
examples/collection/jacobi1d_vt.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
12
2019-09-08T00:03:05.000Z
2022-02-23T21:28:35.000Z
/* //@HEADER // ***************************************************************************** // // jacobi1d_vt.cc // DARMA/vt => Virtual Transport // // Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Con...
28.890819
97
0.644507
[ "object", "vector" ]
1cef7ffe508ec04e4d6b9613071081f981fbcda4
3,152
cpp
C++
frameworks/core/gestures/click_recognizer.cpp
chaoyangcui/ace_ace_engine
05ebe2d6d2674777f5dc64fd735088dcf1a42cd9
[ "Apache-2.0" ]
null
null
null
frameworks/core/gestures/click_recognizer.cpp
chaoyangcui/ace_ace_engine
05ebe2d6d2674777f5dc64fd735088dcf1a42cd9
[ "Apache-2.0" ]
null
null
null
frameworks/core/gestures/click_recognizer.cpp
chaoyangcui/ace_ace_engine
05ebe2d6d2674777f5dc64fd735088dcf1a42cd9
[ "Apache-2.0" ]
1
2021-09-13T12:07:42.000Z
2021-09-13T12:07:42.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
34.637363
118
0.703997
[ "geometry" ]
7f2f947ec0a42eb4ffc28f6f51e351f5d17a4043
2,104
cpp
C++
src/gusanos/parser.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
192
2015-02-13T14:53:59.000Z
2022-03-29T11:18:58.000Z
src/gusanos/parser.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
48
2015-01-06T22:00:53.000Z
2022-01-15T18:22:46.000Z
src/gusanos/parser.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
51
2015-01-16T00:55:16.000Z
2022-02-05T03:09:30.000Z
#include "parser.h" #include <vector> #include <string> using namespace std; namespace Parser { const vector<string> tokenize(const string &text) { size_t left = 0; size_t right = 0; string lastChar = " "; vector<string> stringList; while (right != string::npos) { left = text.find_first_no...
16.566929
79
0.53327
[ "vector" ]
7f326b8732c4d4fc1f2f0568c068fe7d3c2bb768
886
cpp
C++
test/resources/solver/solvertool.cpp
Manu343726/biicode-common
91b32c6fd1e4a72ce5451183f1766d313cd0e420
[ "MIT" ]
17
2015-04-15T09:40:23.000Z
2017-05-17T20:34:49.000Z
test/resources/solver/solvertool.cpp
Manu343726/biicode-common
91b32c6fd1e4a72ce5451183f1766d313cd0e420
[ "MIT" ]
2
2015-04-22T11:29:36.000Z
2018-09-25T09:31:09.000Z
test/resources/solver/solvertool.cpp
bowlofstew/common
45e9ca902be7bbbdd73dafe3ab8957bc4a006020
[ "MIT" ]
22
2015-04-15T09:46:00.000Z
2020-09-29T17:03:31.000Z
#include "systemsolver.h" int main(int arg, char** argv) { /* MatrixXd m(2,2); m(0,0) = 3; m(1,0) = 2.5; m(0,1) = -1; m(1,1) = m(1,0) + m(0,1); std::cout << m << std::endl; MatrixXf m2 = MatrixXf::Random(3,3); m2 = (m2 + MatrixXf::Constant(3,3,1.2)) * 50; cout << "m2 =" << endl << m2 <...
24.611111
57
0.463883
[ "vector" ]
7f4d34846553d3ae6c8f5fc68efb7500d50289e4
21,271
cpp
C++
sources/SceneGraph/spSceneGraph.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/SceneGraph/spSceneGraph.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/SceneGraph/spSceneGraph.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2016-10-31T06:08:44.000Z
2019-08-02T16:12:33.000Z
/* * Scene graph file * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #include "SceneGraph/spSceneGraph.hpp" #include "SceneGraph/spSceneManager.hpp" #include "Platform/spSoftPixelDeviceOS.hpp" #include "Base/spInterna...
29.461219
135
0.668939
[ "mesh", "render", "object", "vector", "model", "3d" ]
7f52a75b99ed833411237525bcf0ad9bc6288d40
4,761
hpp
C++
src/utils/string.hpp
Youka/SSBRenderer_rework
a42aa7f90819f8dddd2073d5c971f74b36c97380
[ "Zlib" ]
7
2015-06-21T14:35:16.000Z
2021-08-30T12:00:52.000Z
src/utils/string.hpp
Youka/SSBRenderer_rework
a42aa7f90819f8dddd2073d5c971f74b36c97380
[ "Zlib" ]
1
2017-02-28T14:09:43.000Z
2017-03-02T06:55:19.000Z
src/utils/string.hpp
Youka/SSBRenderer_rework
a42aa7f90819f8dddd2073d5c971f74b36c97380
[ "Zlib" ]
1
2015-12-09T18:22:09.000Z
2015-12-09T18:22:09.000Z
/* Project: SSBRenderer File: string.hpp Copyright (c) 2015, Christoph "Youka" Spanknebel This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software...
38.088
247
0.6862
[ "vector" ]
7f53dc28d280ac7bafa3119353ea4178bd9c0431
780
cpp
C++
STL/vectors.cpp
Radix1/tcs-digital-prep
0c1728363f328a1eca1189f20e27c2b173e6ba57
[ "MIT" ]
112
2019-03-15T20:50:22.000Z
2022-03-29T07:25:31.000Z
STL/vectors.cpp
Radix1/tcs-digital-prep
0c1728363f328a1eca1189f20e27c2b173e6ba57
[ "MIT" ]
2
2019-10-20T17:01:27.000Z
2020-10-02T09:30:12.000Z
STL/vectors.cpp
Radix1/tcs-digital-prep
0c1728363f328a1eca1189f20e27c2b173e6ba57
[ "MIT" ]
42
2019-05-16T15:43:21.000Z
2022-03-10T08:11:49.000Z
/** Playing with vectors */ #include <iostream> #include <vector> using namespace std; int main(void) { // Create a vector with containing 0, 10, 20, ..., 90 vector<int> v1(10); for (int i = 0; i < v1.size(); i++) v1[i] = i*10; // Print the elements cout << "Elements of vector v1:" << endl; for (int i = 0;...
21.081081
58
0.584615
[ "vector" ]
7f62da0fd546870cc924af6aa86a3b778dd3d078
1,258
cpp
C++
Data-Structures/week1_basic_data_structures/3_network_simulation/process_packages.cpp
ChristineHu1207/Coursera-Data-Structures-and-Algorithms-Specialization
27f543ca0778d00ffd624ffcd18bf555660e0168
[ "MIT" ]
1
2018-10-22T09:29:16.000Z
2018-10-22T09:29:16.000Z
Data-Structures/week1_basic_data_structures/3_network_simulation/process_packages.cpp
ChristineHu1207/Coursera-Data-Structures-and-Algorithms-Specialization
27f543ca0778d00ffd624ffcd18bf555660e0168
[ "MIT" ]
null
null
null
Data-Structures/week1_basic_data_structures/3_network_simulation/process_packages.cpp
ChristineHu1207/Coursera-Data-Structures-and-Algorithms-Specialization
27f543ca0778d00ffd624ffcd18bf555660e0168
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <vector> #include <string> #include <algorithm> #include <queue> #define MAX(x,y) ((x)>(y)?(x):(y)) #define MIN(x,y) ((x)<(y)?(x):(y)) #define pb push_back #define mp make_pair #define rep(i,n) for(i=0;i<n;i++) #define repr(i,j,n) for(i=j;i<=n;i++) #define endl '\n' using...
20.290323
46
0.491256
[ "vector" ]
7f639ffc23c74415659cdf1d50f8a6237bf40593
10,570
cpp
C++
global_body_planner/src/gbpl.cpp
robomechanics/quad-software
89154df18e98162249f38301b669df27ee595220
[ "MIT" ]
20
2021-12-05T03:40:28.000Z
2022-03-30T02:53:56.000Z
global_body_planner/src/gbpl.cpp
robomechanics/rml-spirit-firmware
89154df18e98162249f38301b669df27ee595220
[ "MIT" ]
45
2021-12-06T12:45:05.000Z
2022-03-31T22:15:47.000Z
global_body_planner/src/gbpl.cpp
robomechanics/rml-spirit-firmware
89154df18e98162249f38301b669df27ee595220
[ "MIT" ]
2
2021-12-06T03:20:15.000Z
2022-02-20T04:19:41.000Z
#include "global_body_planner/gbpl.h" using namespace planning_utils; GBPL::GBPL() {} int GBPL::connect(PlannerClass &T, State s, const PlannerConfig &planner_config, int direction, ros::Publisher &tree_pub) { // Find nearest neighbor flipDirection(s); int s_near_index = T.getNearestNeighbor(...
35.233333
80
0.666982
[ "vector" ]
7f662748468a437810893f812574213323e39217
1,785
cpp
C++
amr-wind/physics/multiphase/RainDrop.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
40
2019-11-27T15:38:45.000Z
2022-03-07T10:56:35.000Z
amr-wind/physics/multiphase/RainDrop.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
207
2019-11-07T22:53:02.000Z
2022-03-30T21:41:57.000Z
amr-wind/physics/multiphase/RainDrop.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
55
2019-11-08T19:25:08.000Z
2022-03-15T20:36:25.000Z
#include "amr-wind/physics/multiphase/RainDrop.H" #include "amr-wind/CFDSim.H" #include "AMReX_ParmParse.H" namespace amr_wind { RainDrop::RainDrop(CFDSim& sim) : m_velocity(sim.repo().get_field("velocity")) , m_levelset(sim.repo().get_field("levelset")) { amrex::ParmParse pp(identifier()); pp.queryar...
32.454545
76
0.540616
[ "geometry" ]
7f6b4bb010f91b2f2ddda607e0400c253517db43
885
cpp
C++
SandBox/src/New/New.cpp
AmirrezaPayandeh/CPP
a24623339423333e61cd175558e8ecc122e7094b
[ "Apache-2.0" ]
null
null
null
SandBox/src/New/New.cpp
AmirrezaPayandeh/CPP
a24623339423333e61cd175558e8ecc122e7094b
[ "Apache-2.0" ]
null
null
null
SandBox/src/New/New.cpp
AmirrezaPayandeh/CPP
a24623339423333e61cd175558e8ecc122e7094b
[ "Apache-2.0" ]
null
null
null
// New #include <iostream> class NewEntity { private: int m_X; public: NewEntity(int var) :m_X(var) { std::cout << "Created NewEntity!\n"; } ~NewEntity() { std::cout << "Destroyed NewEntity!\n"; } void PrintX() const { std::cout << "X = " << m_X << std::endl; } }; void NewPrint() { // 'new' will allocate memor...
26.818182
107
0.624859
[ "object" ]
7f7829fb28c9eb126d5890c1f2fdf86f88ab0247
968
hpp
C++
owl/scene/look_at_constraint.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
owl/scene/look_at_constraint.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
owl/scene/look_at_constraint.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
// // .___. // {o,o} // ./)_) // owl --"-"--- // // Copyright © 2017 Sören König. All rights reserved. // #pragma once #include "owl/scene/node.hpp" #include "owl/math/trafos.hpp" namespace owl { namespace scene { template<typename Scalar, typename Color> class look_at_c...
22.511628
108
0.570248
[ "vector" ]
7f7cf54dfc322f4ab8b2ca644326c3c09ee93bb7
1,991
cpp
C++
class/native/internal_field_wrang/internal.cpp
Txiaozhe/js-modules
8ab65a0fce30430358b33d9e35c94a6c14843513
[ "MIT" ]
1
2018-09-14T13:51:56.000Z
2018-09-14T13:51:56.000Z
class/native/internal_field_wrang/internal.cpp
Txiaozhe/js-modules
8ab65a0fce30430358b33d9e35c94a6c14843513
[ "MIT" ]
7
2020-05-07T07:40:47.000Z
2020-05-07T07:40:57.000Z
class/native/internal_field_wrang/internal.cpp
Txiaozhe/js-modules
8ab65a0fce30430358b33d9e35c94a6c14843513
[ "MIT" ]
null
null
null
#include <node.h> namespace __internal{ using v8::FunctionCallbackInfo; using v8::HandleScope; using v8::FunctionTemplate; using v8::ObjectTemplate; using v8::Function; using v8::Isolate; using v8::Local; using v8::External; using v8::Object; using v8::String; using v8::Valu...
29.279412
101
0.615269
[ "object" ]
7f8995b2033fe856c0c6ec21bd93f0e89c8421fd
105,160
cpp
C++
semargl3/n_mag_class.cpp
godsic/semargl3
09274ebd56a5ff7020d36c4943e51512d31458ac
[ "MIT" ]
2
2017-04-22T18:00:47.000Z
2019-04-17T22:41:30.000Z
semargl3/n_mag_class.cpp
godsic/semargl3
09274ebd56a5ff7020d36c4943e51512d31458ac
[ "MIT" ]
null
null
null
semargl3/n_mag_class.cpp
godsic/semargl3
09274ebd56a5ff7020d36c4943e51512d31458ac
[ "MIT" ]
2
2019-01-21T04:48:48.000Z
2019-08-14T09:44:00.000Z
#pragma unmanaged #include "n_probe.h" #include "n_mag_class.h" #include "n_common_func.h" #include "n_vfft.h" #include <stdio.h> #include <stdlib.h> #include <memory.h> #include <string.h> #include <omp.h> //#include <ppl.h> #include <memory.h> //using namespace Concurrency; cMagnetization::cMagneti...
26.191781
200
0.573906
[ "vector", "3d" ]
7f8999de4b3d3ebaea219cb922174734772bf9e2
635
cpp
C++
Sound/SoundProcessor/SoundProcessor.cpp
bigbn/libeXaDrums
4c89a9f4464ef00533610851c482abec489959e7
[ "BSD-3-Clause" ]
10
2017-06-18T19:59:44.000Z
2020-12-09T15:38:07.000Z
Sound/SoundProcessor/SoundProcessor.cpp
bigbn/libeXaDrums
4c89a9f4464ef00533610851c482abec489959e7
[ "BSD-3-Clause" ]
4
2019-11-25T22:49:01.000Z
2022-01-08T16:53:39.000Z
Sound/SoundProcessor/SoundProcessor.cpp
bigbn/libeXaDrums
4c89a9f4464ef00533610851c482abec489959e7
[ "BSD-3-Clause" ]
5
2019-06-16T16:09:46.000Z
2021-09-23T22:03:41.000Z
/* * SoundProcessor.cpp * * Created on: 14 Nov 2015 * Author: jeremy */ #include "SoundProcessor.h" #include <vector> #include <algorithm> #include <cmath> namespace Sound { Sound SoundProcessor::Muffle(const Sound& sound, float m) { //XXX Need to check m! const std::vector<short>& soundData =...
15.875
64
0.64252
[ "vector" ]
7f8c4c4d7f9fcb1852af5ec2487eb3fb7a256a87
703
cpp
C++
Leetcode/0630. Course Schedule III/0630.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0630. Course Schedule III/0630.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0630. Course Schedule III/0630.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: int scheduleCourse(vector<vector<int>>& courses) { int time = 0; sort(begin(courses), end(courses), [](const auto& a, const auto& b) { return a[1] < b[1]; }); priority_queue<int> maxHeap; for (const auto& c : courses) { const int duration = c[0]; const i...
29.291667
80
0.598862
[ "vector" ]
7f9135dca8825bf6193df37668a56f5ad81d420c
1,310
cpp
C++
Contests/USACO Solutions/2016-17/Jan 2017/Silver/17 Jan S1.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
1,760
2017-05-21T21:07:06.000Z
2022-03-29T13:15:08.000Z
Contests/USACO Solutions/2016-17/Jan 2017/Silver/17 Jan S1.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
12
2018-01-24T02:41:53.000Z
2022-03-17T13:09:26.000Z
Contests/USACO Solutions/2016-17/Jan 2017/Silver/17 Jan S1.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
473
2017-07-06T04:53:41.000Z
2022-03-28T13:03:28.000Z
//#include <iostream> #include<fstream> #include<set> #include<map> #include<unordered_map> #include<cmath> #include<cstring> #include<string> #include<bitset> #include<algorithm> #include<vector> using namespace std; //using namespace __gnu_pbds; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> ...
19.848485
98
0.639695
[ "vector" ]
7fa6aea002996622ec4190a2cab39a0d305a8b06
3,848
hpp
C++
include/cminusf_builder.hpp
LuciferDarkStar/USTC_2020_Compiler_Lab_cminus-f
4ad49dac1b0c58c31ddbd0258e5674d91fc55ec5
[ "MIT" ]
2
2021-09-23T12:39:27.000Z
2021-11-23T11:31:12.000Z
labs/lab1/include/cminusf_builder.hpp
ltzheng/compiler-ustc
4856701207876e73480a5c431c03d19b7dcce7a3
[ "MIT" ]
null
null
null
labs/lab1/include/cminusf_builder.hpp
ltzheng/compiler-ustc
4856701207876e73480a5c431c03d19b7dcce7a3
[ "MIT" ]
1
2021-12-09T16:28:39.000Z
2021-12-09T16:28:39.000Z
#ifndef _CMINUSF_BUILDER_HPP_ #define _CMINUSF_BUILDER_HPP_ #include "BasicBlock.h" #include "Constant.h" #include "Function.h" #include "IRBuilder.h" #include "Module.h" #include "Type.h" #include "ast.hpp" #include <map> class Scope { public: // enter a new scope void enter() { inner.push_back({});...
30.0625
80
0.60369
[ "vector" ]
7fac183fa029dfb378a99aba30b818aafbb86e62
6,481
cpp
C++
source/AssetManager.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
source/AssetManager.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
source/AssetManager.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
#include "AssetManager.h" bool AssetManager::initialised = false; shared_ptr<AssetManager> AssetManager::instance; shared_ptr<AssetManager> AssetManager::getInstance() { if (initialised) { return instance; } instance = shared_ptr<AssetManager>(new AssetManager()); initialised = true; return instance; } shared...
27.231092
224
0.731832
[ "vector", "model" ]
7fb10cffd44f9a0df971c3fa4af05aae6eefe47e
8,550
cpp
C++
tests/testPoseWithCovariance.cpp
AllMySlam1/Kimera-RPGO
8a020c26b1c4c5b5116396e4dd55c6647e382f00
[ "BSD-2-Clause" ]
null
null
null
tests/testPoseWithCovariance.cpp
AllMySlam1/Kimera-RPGO
8a020c26b1c4c5b5116396e4dd55c6647e382f00
[ "BSD-2-Clause" ]
null
null
null
tests/testPoseWithCovariance.cpp
AllMySlam1/Kimera-RPGO
8a020c26b1c4c5b5116396e4dd55c6647e382f00
[ "BSD-2-Clause" ]
null
null
null
/** * @file testPoseWithCovariance.cpp * @brief Unit test for PoseWithCovariance and calculations * @author Yun Chang */ #include <CppUnitLite/TestHarness.h> #include <random> #include "KimeraRPGO/utils/geometry_utils.h" using KimeraRPGO::PoseWithCovariance; struct normal_rv { explicit normal_rv(Eigen...
36.853448
79
0.560234
[ "transform" ]
7fc1319e42e1de513e8050f8476cf1627895c93e
6,160
h++
C++
test/7/include/addentitydialog.h++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
test/7/include/addentitydialog.h++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
test/7/include/addentitydialog.h++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
#ifndef ADD_ENTITY_DIALOG_HPP_DEF__ #define ADD_ENTITY_DIALOG_HPP_DEF__ #include<string> #include<rexio/tk/button.h++> #include<rexio/tk/rootwindow.h++> #include<rexio/tk/window.h++> #include<boost/array.hpp> #include "boost/mpl/for_each.hpp" #include <boost/type_traits/is_base_of.hpp> #include "mapdata.h++" #include "...
29.056604
79
0.696753
[ "object" ]
7fc3e9684c39743a27c0c8522368401fab74facb
25,237
cpp
C++
GRBL-Arduino-Library-master/planner.cpp
aixiwang/logo2grbl
44b248605f08f5e378aaa79b7c2ab24c201d79ee
[ "BSD-3-Clause" ]
null
null
null
GRBL-Arduino-Library-master/planner.cpp
aixiwang/logo2grbl
44b248605f08f5e378aaa79b7c2ab24c201d79ee
[ "BSD-3-Clause" ]
null
null
null
GRBL-Arduino-Library-master/planner.cpp
aixiwang/logo2grbl
44b248605f08f5e378aaa79b7c2ab24c201d79ee
[ "BSD-3-Clause" ]
null
null
null
/* planner.c - buffers movement commands and manages the acceleration profile plan Part of Grbl Copyright (c) 2009-2011 Simen Svale Skogsrud Copyright (c) 2011-2012 Sungeun K. Jeon Copyright (c) 2011 Jens Geisler Grbl is free software: you can redistribute it and/or modify it under the terms of the ...
49.974257
119
0.69624
[ "vector" ]
7fc54578ea760d689d66704b6c2e5a20d7a75973
9,907
cpp
C++
week3/hammer-time/main.cpp
jonastheis/glitch
6fa97b1da6f018d979c46388b17abadef9f0b07e
[ "Apache-2.0" ]
1
2022-02-18T07:56:17.000Z
2022-02-18T07:56:17.000Z
week3/hammer-time/main.cpp
jonastheis/glitch
6fa97b1da6f018d979c46388b17abadef9f0b07e
[ "Apache-2.0" ]
null
null
null
week3/hammer-time/main.cpp
jonastheis/glitch
6fa97b1da6f018d979c46388b17abadef9f0b07e
[ "Apache-2.0" ]
1
2022-02-18T10:04:54.000Z
2022-02-18T10:04:54.000Z
#include <GLES3/gl3.h> #include <GLES3/gl3ext.h> #include <EGL/egl.h> #include <EGL/eglext.h> #include <stdio.h> #include <unistd.h> #include <iostream> #include <math.h> #include "size.h" #include "mem_util.h" #include "eglSetup.h" #include "shader.cpp" #include "allocator.h" #include "counters.h" using namespace s...
30.57716
117
0.608661
[ "render", "object" ]
7fc8da192d0962787aa999a1a82913b78fcb6dfa
5,604
cpp
C++
cdb/src/v20170320/model/Address.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
1
2022-01-27T09:27:34.000Z
2022-01-27T09:27:34.000Z
cdb/src/v20170320/model/Address.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cdb/src/v20170320/model/Address.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * 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 ...
25.824885
136
0.662919
[ "model" ]
7fcf0ff663b026333e5b5603f671d5a49265efac
2,418
cpp
C++
examples/ExampleSimpleProtein.cpp
MadCatX/molmodel
5abde979e1780dcc61a4b05affcba6e116250585
[ "MIT" ]
null
null
null
examples/ExampleSimpleProtein.cpp
MadCatX/molmodel
5abde979e1780dcc61a4b05affcba6e116250585
[ "MIT" ]
1
2020-12-09T16:45:16.000Z
2020-12-09T16:56:52.000Z
examples/ExampleSimpleProtein.cpp
MadCatX/molmodel
5abde979e1780dcc61a4b05affcba6e116250585
[ "MIT" ]
4
2020-06-23T18:24:37.000Z
2021-04-29T14:44:25.000Z
/* -------------------------------------------------------------------------- * * SimTK Molmodel Example: Simple Protein * * -------------------------------------------------------------------------- * * This is the first example from the Molmodel User's Guide. It creates a ...
33.123288
81
0.540116
[ "model" ]
7fd290523f84f745f571ca07e1361e04313b30a8
5,273
cpp
C++
relationships/wariancja.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
relationships/wariancja.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
relationships/wariancja.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> #include <map> #include <string.h> #include <set> #include <unordered_map> using namespace std; #include "czytgraf.cpp" vector<int> indeg[2], outdeg[2]; int scanerr; #define MEMBER 0 #define FOLLOWER 1 const char *nameof(int t) { return t?"FOLLOWER":"MEMBER"; } struct edgedat...
24.188073
89
0.522852
[ "vector" ]
7fddb23caa3a7f9909e0da61799cee59fe359321
586
hpp
C++
utilities/Loft.hpp
shaungoh01/-Uni-Computer-Graphic-Assignemny
ec5098c1c2f30f3abacb8de663511f25a8b64d0b
[ "MIT" ]
null
null
null
utilities/Loft.hpp
shaungoh01/-Uni-Computer-Graphic-Assignemny
ec5098c1c2f30f3abacb8de663511f25a8b64d0b
[ "MIT" ]
1
2019-09-06T07:46:49.000Z
2019-09-06T07:46:49.000Z
utilities/Loft.hpp
shaungoh01/-Uni-Computer-Graphic-Assignemny
ec5098c1c2f30f3abacb8de663511f25a8b64d0b
[ "MIT" ]
3
2016-01-09T13:50:55.000Z
2021-05-14T10:21:49.000Z
// // Loft.hpp // OpenGL-Utilities-XCODE // // Created by Yong Lian Hii on 30/12/2015. // Copyright © 2015 Yong Lian Hii. All rights reserved. // #ifndef Loft_hpp #define Loft_hpp #include "VecMatMath.hpp" #include <vector> class Loft { public: Loft(const std::vector<vec2> &points, const std::vector<vec3> &p...
18.903226
73
0.650171
[ "vector" ]
8f12585146a22b7b8b134528214c131f2dbb068b
17,430
cpp
C++
Client/chatWindow.cpp
WuskieFTW1113/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
2
2021-07-18T17:37:32.000Z
2021-08-04T12:33:51.000Z
Client/chatWindow.cpp
VittorioC97/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
1
2022-02-22T03:26:50.000Z
2022-02-22T03:26:50.000Z
Client/chatWindow.cpp
WuskieFTW1113/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
5
2021-06-17T06:41:00.000Z
2022-02-17T09:37:40.000Z
#include "chatWindow.h" #include "guiManager.h" #include "../GWEN/Include/Gwen/Input/Windows.h" #include "../GWEN/Include/Gwen/Controls/TextBox.h" #include "players.h" #include "easylogging++.h" #include "parseConnectionStates.h" #include "padCallBack.h" #include "CustomFiberThread.h" #include "playerList.h" #include...
22.403599
126
0.656856
[ "render", "vector" ]
8f1791f9a8db7a8fc35c697aeb159a27cf429062
6,805
cpp
C++
src/maze.cpp
ReneMolina13/UTEP-IEEE-Micromouse
63cdb35ea4d9d5c03fc2642d4023eb8a3e94548e
[ "MIT" ]
null
null
null
src/maze.cpp
ReneMolina13/UTEP-IEEE-Micromouse
63cdb35ea4d9d5c03fc2642d4023eb8a3e94548e
[ "MIT" ]
null
null
null
src/maze.cpp
ReneMolina13/UTEP-IEEE-Micromouse
63cdb35ea4d9d5c03fc2642d4023eb8a3e94548e
[ "MIT" ]
1
2022-02-18T22:11:57.000Z
2022-02-18T22:11:57.000Z
#include "maze.h" #include "stack.h" /*Virtual mouse object*/ mouse_t mouse = {.x = 0, .y = 0, .heading = NORTH}; /*Maze cells array*/ cell_t maze[MAZE_WIDTH][MAZE_HEIGHT]; /*TODO: We should be able to bitwise OR walls, right now this * function does not support it. Think of a way to do it! */ int8_t maze_set_wal...
22.384868
79
0.530051
[ "object" ]
8f2176f694b0448fc731946695e582adce35e1a5
1,619
cpp
C++
winter1843/winter.cpp
RenoirTan/dunjudge.me
0098cfd45609e4ac50aac0b2c943b1afb6aff818
[ "MIT" ]
null
null
null
winter1843/winter.cpp
RenoirTan/dunjudge.me
0098cfd45609e4ac50aac0b2c943b1afb6aff818
[ "MIT" ]
null
null
null
winter1843/winter.cpp
RenoirTan/dunjudge.me
0098cfd45609e4ac50aac0b2c943b1afb6aff818
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <string> #include <vector> #include "stringfunctions.h" using namespace std; int main() { cout << "Winter Clothes Scorer" << endl << "---------------------" << endl; string filename; ifstream infile; cout << "Enter name of file: "; cin >> fil...
26.112903
83
0.479308
[ "vector" ]
8f27ba2b3a98fc55440757ad607da7236c7ee309
1,572
cc
C++
lang/cpp/reflection/rttr.cc
curoky/my-own-x
825273af2d73dff76562422ca87a077635ee870b
[ "Apache-2.0" ]
null
null
null
lang/cpp/reflection/rttr.cc
curoky/my-own-x
825273af2d73dff76562422ca87a077635ee870b
[ "Apache-2.0" ]
null
null
null
lang/cpp/reflection/rttr.cc
curoky/my-own-x
825273af2d73dff76562422ca87a077635ee870b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018-2022 curoky(cccuroky@gmail.com). * * This file is part of my-own-x. * See https://github.com/curoky/my-own-x for further info. * * 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...
29.111111
88
0.652672
[ "vector" ]
8f2a959af5bb92dd2fd8927e22bdad78a60a95c4
6,267
cpp
C++
Core/Unix/MacOSX/CoreMacOSX.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
2
2016-10-15T05:12:16.000Z
2016-11-06T16:19:53.000Z
Core/Unix/MacOSX/CoreMacOSX.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
14
2016-09-21T21:24:46.000Z
2016-11-15T07:54:21.000Z
Core/Unix/MacOSX/CoreMacOSX.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2016 nemesis project/mrn@sdf.org. All rights reserved. http://mrn.sixbit.org/ Governed by the BSD 2 Clause license, the full text of which is contained in the file License.txt included in nemesis binary and source code distribution packages. Based on TrueCrypt 7.1a, which was governed by the Tru...
26.896996
134
0.670337
[ "vector" ]
8f31ce7f5fc959cc7feda900e728bc0229c00b1f
7,791
hpp
C++
willow/include/popart/liveness.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/include/popart/liveness.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/include/popart/liveness.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #ifndef GUARD_NEURALNET_LIVENESS_HPP #define GUARD_NEURALNET_LIVENESS_HPP #include <set> #include <utility> #include <vector> #include <popart/graphid.hpp> #include <popart/op.hpp> #include <popart/tensor.hpp> namespace popart { class Graph; class SubgraphOp...
32.194215
80
0.669619
[ "vector" ]
8f392b3a6e05cc654ba7214798079c14c0fe5486
8,499
hpp
C++
ESMF/src/Infrastructure/Mesh/src/Moab/moab/MeshTopoUtil.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
1
2018-07-05T16:48:58.000Z
2018-07-05T16:48:58.000Z
ESMF/src/Infrastructure/Mesh/src/Moab/moab/MeshTopoUtil.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
1
2022-03-04T16:12:02.000Z
2022-03-04T16:12:02.000Z
ESMF/src/Infrastructure/Mesh/src/Moab/moab/MeshTopoUtil.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
null
null
null
/** * MOAB, a Mesh-Oriented datABase, is a software component for creating, * storing and accessing finite element mesh data. * * Copyright 2004 Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government * retains certain rights in this software. * * This...
48.016949
99
0.613131
[ "mesh", "vector" ]
8f3bf2ceaf3385f36c3c8845f1c984f7e1d691f0
19,763
cc
C++
models/test/test.cc
GilesStrong/cms_runII_dnn_models
830cb8435bec36223099ec583f0f36813b1e4397
[ "Apache-2.0" ]
null
null
null
models/test/test.cc
GilesStrong/cms_runII_dnn_models
830cb8435bec36223099ec583f0f36813b1e4397
[ "Apache-2.0" ]
1
2020-04-22T10:15:51.000Z
2020-04-22T10:15:51.000Z
models/test/test.cc
GilesStrong/cms_runII_dnn_models
830cb8435bec36223099ec583f0f36813b1e4397
[ "Apache-2.0" ]
1
2020-04-20T14:44:42.000Z
2020-04-20T14:44:42.000Z
// C++ #include <set> #include <stdexcept> #include <iostream> #include <string> #include <map> #include <sstream> #include <fstream> #include <assert.h> #include <vector> #include <cmath> // ROOT #include <Math/VectorUtil.h> #include <Math/LorentzVector.h> #include <Math/PtEtaPhiM4D.h> #include <Math/PxPyPzM4D.h> #in...
38.827112
161
0.598796
[ "vector", "model" ]
8f431302c7ff55ddb64e4352241588a76cf329e4
14,912
hpp
C++
src/types/class_object.hpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
6
2017-09-01T11:27:47.000Z
2020-01-16T18:53:10.000Z
src/types/class_object.hpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
null
null
null
src/types/class_object.hpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /* Copyright (C) 2017 LePtitDev All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for de...
38.235897
124
0.613533
[ "object", "vector" ]
8f43e783d0f1781388b9676dabd40655c01d4747
411
cpp
C++
training-sheet/B/004. Caisa and Pylons.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
training-sheet/B/004. Caisa and Pylons.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
training-sheet/B/004. Caisa and Pylons.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define lli long long int #define endl "\n" #define MAX 2005 using namespace std; int main() { lli n, data, prev = 0, energy = 0; cin>>n; vector <lli> v1(n); lli ans = 0; for(lli i =0; i<n; i++) { cin>>data; if(energy < (data-prev)) { ans += ((data-prev)); energy = 0; pre...
13.258065
35
0.53528
[ "vector" ]
8f4ed7f5de7080b6421eab96fb1a72a56717f5bb
5,217
cpp
C++
core/src/wallet/common/database/OperationDatabaseHelper.cpp
kodxana/lib-ledger-core
96f04d378b7747e1b80b49da7ae637eb33b23678
[ "MIT" ]
null
null
null
core/src/wallet/common/database/OperationDatabaseHelper.cpp
kodxana/lib-ledger-core
96f04d378b7747e1b80b49da7ae637eb33b23678
[ "MIT" ]
null
null
null
core/src/wallet/common/database/OperationDatabaseHelper.cpp
kodxana/lib-ledger-core
96f04d378b7747e1b80b49da7ae637eb33b23678
[ "MIT" ]
null
null
null
/* * * OperationDatabaseHelper * ledger-core * * Created by Pierre Pollastri on 31/05/2017. * * The MIT License (MIT) * * Copyright (c) 2016 Ledger * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal...
46.168142
129
0.608971
[ "vector" ]
8f5143a22a6501ae30ab9e6e486c03e9850784a9
7,815
cpp
C++
src/activity/GeneratorScreen.cpp
ArthurSonzogni/pigami
bc33ed2797ba1da534d9cd4337e59d33ce46d4c5
[ "MIT" ]
4
2019-12-19T17:08:04.000Z
2020-09-20T08:31:15.000Z
src/activity/GeneratorScreen.cpp
ArthurSonzogni/pigami
bc33ed2797ba1da534d9cd4337e59d33ce46d4c5
[ "MIT" ]
null
null
null
src/activity/GeneratorScreen.cpp
ArthurSonzogni/pigami
bc33ed2797ba1da534d9cd4337e59d33ce46d4c5
[ "MIT" ]
null
null
null
// Copyright 2019 Arthur Sonzogni. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. #include "activity/GeneratorScreen.hpp" #include <cmath> #include <fstream> #include <smk/Color.hpp> #include <smk/Input.hpp> #include <smk/Shape.hpp> #include <s...
31.639676
81
0.627383
[ "shape" ]
8f5ba4be60ac2e9950ad9ddc51ad811911f064e3
1,068
cpp
C++
Othuum/AhwassaGraphicsLib/Vertex/PositionNormalTextureVertex.cpp
Liech/Yathsou
95b6dda3c053bc25789cce416088e22f54a743b4
[ "MIT" ]
5
2021-04-20T17:00:41.000Z
2022-01-18T20:16:03.000Z
Othuum/AhwassaGraphicsLib/Vertex/PositionNormalTextureVertex.cpp
Liech/Yathsou
95b6dda3c053bc25789cce416088e22f54a743b4
[ "MIT" ]
7
2021-08-22T21:30:50.000Z
2022-01-14T16:56:34.000Z
Othuum/AhwassaGraphicsLib/Vertex/PositionNormalTextureVertex.cpp
Liech/Yathsou
95b6dda3c053bc25789cce416088e22f54a743b4
[ "MIT" ]
null
null
null
#include "PositionNormalTextureVertex.h" #include "IyathuumCoreLib/lib/glm/glm.hpp" #include <glad/glad.h> #include <vector> #include "Core/AttributeDescription.h" namespace Ahwassa { PositionNormalTextureVertex::PositionNormalTextureVertex() : position(0), normal(0), texture(0) { } PositionNormalTextureVerte...
34.451613
117
0.757491
[ "vector" ]
8f5bf097a698299e03faa2ec0959cf7af2350dd0
9,349
cpp
C++
applications/CompressiblePotentialFlowApplication/custom_utilities/potential_flow_utilities.cpp
Jacklwln/Kratos
12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de
[ "BSD-4-Clause" ]
1
2019-08-01T09:01:08.000Z
2019-08-01T09:01:08.000Z
applications/CompressiblePotentialFlowApplication/custom_utilities/potential_flow_utilities.cpp
Jacklwln/Kratos
12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de
[ "BSD-4-Clause" ]
null
null
null
applications/CompressiblePotentialFlowApplication/custom_utilities/potential_flow_utilities.cpp
Jacklwln/Kratos
12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de
[ "BSD-4-Clause" ]
null
null
null
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Inigo Lopez #include "custom_utilities/potential...
39.614407
128
0.719221
[ "shape", "3d" ]
8f5de31d18a8a5f0f8d801ae4d7a2bb6898e689c
767
cc
C++
e2e/trt/src/criterion.cc
stanford-futuredata/smol
82e2356755133cd1516dfbbbc782707eca70a34c
[ "Apache-2.0" ]
1
2021-11-29T01:24:03.000Z
2021-11-29T01:24:03.000Z
e2e/trt/src/criterion.cc
stanford-futuredata/smol
82e2356755133cd1516dfbbbc782707eca70a34c
[ "Apache-2.0" ]
1
2021-11-29T09:29:14.000Z
2021-12-13T02:31:55.000Z
e2e/trt/src/criterion.cc
stanford-futuredata/smol
82e2356755133cd1516dfbbbc782707eca70a34c
[ "Apache-2.0" ]
1
2021-12-13T06:55:18.000Z
2021-12-13T06:55:18.000Z
#include <cassert> #include <iostream> #include "criterion.h" std::vector<bool> MaxCriterion::filter(const size_t kNbEl, std::vector<float> data) const { assert(data.size() % kNbEl == 0); const size_t kSingleSize = data.size() / kNbEl; std::vector<bool> ret(kNbEl); #pragma omp parallel for for (size_t i = ...
24.741935
91
0.601043
[ "vector" ]
8f60096ad8306fb68060c01d94e1aae2bd7299cc
1,628
hpp
C++
include/landscapes/svo_serialization.v1.hpp
realazthat/landscapes
0d56d67beb5641b913100d86601fce8a5a63fb1c
[ "MIT", "WTFPL", "Unlicense", "0BSD" ]
32
2015-12-29T04:33:08.000Z
2021-04-08T01:46:44.000Z
include/landscapes/svo_serialization.v1.hpp
realazthat/landscapes
0d56d67beb5641b913100d86601fce8a5a63fb1c
[ "MIT", "WTFPL", "Unlicense", "0BSD" ]
null
null
null
include/landscapes/svo_serialization.v1.hpp
realazthat/landscapes
0d56d67beb5641b913100d86601fce8a5a63fb1c
[ "MIT", "WTFPL", "Unlicense", "0BSD" ]
2
2019-04-05T02:28:02.000Z
2019-06-11T07:59:53.000Z
#ifndef SVO_SERALIZATION_V1_HPP #define SVO_SERALIZATION_V1_HPP 1 #include <iosfwd> #include <vector> #include <tuple> #include <string> #include <memory> #include "svo_curves.h" #include "svo_tree.fwd.hpp" #include "svo_buffer.fwd.hpp" namespace svo{ typedef std::vector< std::tuple<vside_t, vcurve_t> > childre...
30.148148
106
0.796069
[ "vector" ]
8f66d9ec048160da9708fb64ca58f02914c37e9b
1,880
cpp
C++
LiberoEngine/src/Libero/Editor/Editor.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
LiberoEngine/src/Libero/Editor/Editor.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
LiberoEngine/src/Libero/Editor/Editor.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
#include "Liber_pch.h" #include "Editor.h" #include "ImGuiStyleLibrary.h" #include "MyWindows/MyImGuiWindows.h" #include "Libero/Settings/Settings.h" #include "Libero/Graphics/GraphicsMaster.h" namespace Libero { void Editor::Initialize() { const GraphicsContext& graphContx = GraphicsLocator::Get()->GetGraphicsCon...
22.650602
142
0.710106
[ "render" ]
8f7f976e10e0334d17ebe6e41530bf8a7f19f6e4
23,628
hpp
C++
Commands/Shop.hpp
RealTimeChris/MBot-GameHouse-Cpp
d9039edd12c33d14d568a1881cb9086a7a165e9f
[ "Apache-2.0" ]
4
2021-08-18T20:00:49.000Z
2022-01-20T14:37:09.000Z
Commands/Shop.hpp
RealTimeChris/MBot-GameHouse-Cpp
d9039edd12c33d14d568a1881cb9086a7a165e9f
[ "Apache-2.0" ]
null
null
null
Commands/Shop.hpp
RealTimeChris/MBot-GameHouse-Cpp
d9039edd12c33d14d568a1881cb9086a7a165e9f
[ "Apache-2.0" ]
null
null
null
// Shop.hpp - Header for the "shop" command. // June 2, 2021 // Chris M. // https://github.com/RealTimeChris #pragma once #ifndef _SHOP_ #define _SHOP_ #include "Index.hpp" #include "HelperFunctions.hpp" namespace DiscordCoreAPI { enum class ItemsOrRoles { roles = 0, items = 1 }; vector<SelectOptionData> g...
45.526012
307
0.703995
[ "object", "vector" ]
8f80a0a30f0f2db5ff7f7ecd4cfd126ef6c4bd86
3,984
cc
C++
mit6.828/homework/shell/command.cc
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
null
null
null
mit6.828/homework/shell/command.cc
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
1
2017-07-31T08:15:26.000Z
2017-07-31T08:15:26.000Z
mit6.828/homework/shell/command.cc
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
1
2019-10-06T16:52:31.000Z
2019-10-06T16:52:31.000Z
#include "command.h" #include "dirent.h" #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> #include <fcntl.h> #include <cstring> #include <cstdlib> #include <unistd.h> using std::vector; using std::string; using std::shared_ptr; void Coloncommand::run_command() const { int status; if (fork()...
23.162791
92
0.50251
[ "vector" ]
8f81f0fd4b2abd77bcc60af5396201357c4bcf3e
3,582
cpp
C++
OffscreenBrowserMain.cpp
mlalma/SimpleOffscreenBrowser
61c0ae4fb1858640e6a4d4a8e88e45061e1e81a8
[ "MIT" ]
7
2017-11-06T02:21:31.000Z
2021-03-31T20:17:12.000Z
OffscreenBrowserMain.cpp
mlalma/SimpleOffscreenBrowser
61c0ae4fb1858640e6a4d4a8e88e45061e1e81a8
[ "MIT" ]
null
null
null
OffscreenBrowserMain.cpp
mlalma/SimpleOffscreenBrowser
61c0ae4fb1858640e6a4d4a8e88e45061e1e81a8
[ "MIT" ]
2
2020-03-19T22:48:43.000Z
2021-11-12T17:35:57.000Z
/** * Simple example app using Chromium Embedded Framework * Lassi Maksimainen, 2014 */ #include <iostream> #include <fstream> #include <algorithm> #include <unistd.h> #include <memory> #include "include/cef_app.h" #include "OffscreenBrowserApp.h" #include "OffscreenBrowserClient.h" // Entrypoint to the whole appl...
33.792453
152
0.709101
[ "object" ]
8f8d71ebfe6c30d0d8e83f66f5f505b598f6a5a9
3,012
cpp
C++
utils/L1/tests/stream_reorder/test.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-06-14T17:02:06.000Z
2021-06-14T17:02:06.000Z
utils/L1/tests/stream_reorder/test.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
null
null
null
utils/L1/tests/stream_reorder/test.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-04-28T05:58:38.000Z
2021-04-28T05:58:38.000Z
/* * Copyright 2019 Xilinx, 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...
31.375
104
0.520584
[ "vector" ]
8f8f40d4d8d54c3386cdddd1abd7fb7411347ecd
6,056
cpp
C++
src/rgbd_input.cpp
google/depth_fusion
6c8dc4ee88e8afa1c232f5e17391fc95c41b3253
[ "Apache-2.0" ]
12
2020-08-02T04:38:19.000Z
2022-01-29T06:16:51.000Z
src/rgbd_input.cpp
google/depth_fusion
6c8dc4ee88e8afa1c232f5e17391fc95c41b3253
[ "Apache-2.0" ]
null
null
null
src/rgbd_input.cpp
google/depth_fusion
6c8dc4ee88e8afa1c232f5e17391fc95c41b3253
[ "Apache-2.0" ]
5
2020-10-13T16:38:07.000Z
2021-10-12T16:12:22.000Z
// Copyright 2016 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 wri...
36.263473
80
0.693362
[ "vector" ]
8f964d9bc8d81debc4a12ed454736bad7721b331
6,006
cpp
C++
src/Samples/src/samples/animations/animations_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/Samples/src/samples/animations/animations_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/Samples/src/samples/animations/animations_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/animations/animation.h> #include <babylon/animations/ianimation_key.h> #include <babylon/cameras/arc_rotate_camera.h> #include <babylon/engines/scene.h> #include <babylon/interfaces/irenderable_scene.h> #include <babylon/lights/point_light.h> #include <babylon/materials/standard_material.h> #include <...
35.964072
93
0.655012
[ "mesh", "object", "vector" ]
8f9a27af0a9bbe43cdcba73432ff824df46ee456
20,264
cpp
C++
rtree/rtree.cpp
josecleiton/GIS-RTree-Project
970cf3868b926d20ee9173408ee3a18bd877b70c
[ "MIT" ]
3
2018-08-25T12:15:14.000Z
2018-10-18T11:35:19.000Z
rtree/rtree.cpp
josecleiton/GIS-RTree-Project
970cf3868b926d20ee9173408ee3a18bd877b70c
[ "MIT" ]
null
null
null
rtree/rtree.cpp
josecleiton/GIS-RTree-Project
970cf3868b926d20ee9173408ee3a18bd877b70c
[ "MIT" ]
1
2018-10-10T11:51:59.000Z
2018-10-10T11:51:59.000Z
#include "rtree.hpp" #include "variaveis.hpp" namespace SpatialIndex{ Chave::Chave(Retangulo _mbr, streampos _dado): MBR(_mbr), ChildPtr(_dado){ } Chave::Chave(){ Ponto A, B; Retangulo vazio(A, B); this->MBR = vazio; } Chave::Chave(Node*& No){ Retangulo R1 = No->GetRetangulo(); Chave k(R1, No->D...
29.843888
128
0.579303
[ "vector" ]
8f9fefa509b42d63385b47151beed33c308d5cc3
3,309
hpp
C++
src/image_pca_factorized_problem.hpp
jmbuena/img_align_lib
1c9a8f876c20e0b4226ac0ecfab4c76e11d4ec21
[ "BSD-3-Clause" ]
17
2015-05-14T19:37:46.000Z
2021-05-25T18:01:06.000Z
src/image_pca_factorized_problem.hpp
jmbuena/img_align_lib
1c9a8f876c20e0b4226ac0ecfab4c76e11d4ec21
[ "BSD-3-Clause" ]
2
2015-03-13T10:03:04.000Z
2015-03-13T10:51:19.000Z
src/image_pca_factorized_problem.hpp
jmbuena/img_align_lib
1c9a8f876c20e0b4226ac0ecfab4c76e11d4ec21
[ "BSD-3-Clause" ]
14
2015-02-02T00:13:12.000Z
2021-12-14T03:37:10.000Z
// ----------------------------------------------------------------------------- /** * @brief Problem using a PCA of images * @author Jose M. Buenaposada * @date 2012/08/11 * @version $revision$ * * $id$ * * Grupo de investigación en Percepción Computacional y Robótica) * (Perception for Computers & Ro...
25.651163
83
0.541251
[ "object", "vector", "model" ]
8faa0108eccf4eb35cbf2bc6b9efeb913f552463
1,389
hpp
C++
Demo/LAppFaceDetect.hpp
skygoo/faceRig
02c39666e6b5125b01909f64fc3a9335437531c0
[ "Apache-2.0" ]
13
2019-09-29T04:36:47.000Z
2022-01-19T03:24:13.000Z
Demo/LAppFaceDetect.hpp
xuyuxi1997/faceRig
02c39666e6b5125b01909f64fc3a9335437531c0
[ "Apache-2.0" ]
1
2022-03-17T15:56:00.000Z
2022-03-17T15:56:00.000Z
Demo/LAppFaceDetect.hpp
xuyuxi1997/faceRig
02c39666e6b5125b01909f64fc3a9335437531c0
[ "Apache-2.0" ]
6
2019-09-12T04:27:03.000Z
2022-01-04T03:32:21.000Z
// // LAppFaceDetect.hpp // Demo // // Created by sky on 2019/9/8. // #ifndef LAppFaceDetect_hpp #define LAppFaceDetect_hpp #include <opencv2/opencv.hpp> #include <opencv2/face.hpp> #endif /* LAppFaceDetect_hpp */ using namespace std; using namespace cv; using namespace cv::face; class LAppFaceDetect{ public: ...
21.369231
128
0.651548
[ "vector" ]
8fab4b66d2cf99863e6df56925e0f24a641f04e4
7,862
cxx
C++
Utilities/XcedeLib/XcedeCatalog.cxx
NIRALUser/BatchMake
1afeb15fa5bd18be6e4a56f4349eb6368a91441e
[ "Unlicense" ]
null
null
null
Utilities/XcedeLib/XcedeCatalog.cxx
NIRALUser/BatchMake
1afeb15fa5bd18be6e4a56f4349eb6368a91441e
[ "Unlicense" ]
null
null
null
Utilities/XcedeLib/XcedeCatalog.cxx
NIRALUser/BatchMake
1afeb15fa5bd18be6e4a56f4349eb6368a91441e
[ "Unlicense" ]
null
null
null
#include "XcedeCatalog.h" #include <curl.h> std::ofstream* xcedeOutputFile = NULL; bool xcede_write_buffer = false; std::string xcedeHttpReply = ""; CURL* xcedeCurl; static size_t outputFunction(char *buffer, size_t size, size_t nitems, void *userp) { if(xcedeOutputFile) { xcedeOutputFile->write(buffer,siz...
24.56875
96
0.653905
[ "vector" ]
2633c0c6d4747903d596f6e48ed8d4656fe47251
552
hpp
C++
Code/Gfx/IGraphicDeviceChild.hpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
167
2020-06-17T06:09:41.000Z
2022-03-13T20:31:26.000Z
Code/Gfx/IGraphicDeviceChild.hpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
2
2020-07-11T15:12:50.000Z
2021-06-01T01:45:49.000Z
Code/Gfx/IGraphicDeviceChild.hpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
22
2020-06-12T02:26:10.000Z
2022-01-02T14:04:32.000Z
// Copyright 2018-2020 JXMaster. All rights reserved. /* * @file IDeviceChild.hpp * @author JXMaster * @date 2019/7/17 */ #pragma once #include <Core/Core.hpp> namespace Luna { namespace Gfx { struct IGraphicDevice; //! @interface IGraphicDeviceChild //! Represents a object that is managed by a graphic device ...
22.08
81
0.711957
[ "object" ]
2634aff0cf7f2fa4b54627f7b84f9b29ce0187a7
6,970
cpp
C++
Chapter_4_Filtering_in_the_Frequency_Domain/Section_4_10.cpp
AlazzR/Digital-Image-Processing-Cpp
22573ff1aa2c8c8cc3dd6fb4ffaea07241aec47a
[ "CC0-1.0" ]
null
null
null
Chapter_4_Filtering_in_the_Frequency_Domain/Section_4_10.cpp
AlazzR/Digital-Image-Processing-Cpp
22573ff1aa2c8c8cc3dd6fb4ffaea07241aec47a
[ "CC0-1.0" ]
null
null
null
Chapter_4_Filtering_in_the_Frequency_Domain/Section_4_10.cpp
AlazzR/Digital-Image-Processing-Cpp
22573ff1aa2c8c8cc3dd6fb4ffaea07241aec47a
[ "CC0-1.0" ]
null
null
null
#include "Section_4_10_H_.h" coordinate::coordinate(int x, int y) { this->x = (x >= 0) ? x : 0; this->y = (y >= 0) ? y : 0; } int coordinate::getX() const { return this->x; } int coordinate::getY() const { return this->y; } bool customCompare::operator()(const coordinate& lhs, const coordinate& rhs) const { if ...
34.334975
210
0.626112
[ "vector" ]
26355f51f06a6bf6b9076e86f36947725512abdc
19,228
cpp
C++
higan/target-higan/presentation/presentation.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
10
2019-12-19T01:19:41.000Z
2021-02-18T16:30:29.000Z
higan/target-higan/presentation/presentation.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
higan/target-higan/presentation/presentation.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
#include "../higan.hpp" #include "about.cpp" unique_pointer<AboutWindow> aboutWindow; unique_pointer<Presentation> presentation; Presentation::Presentation() { presentation = this; systemsMenu.setText("Systems"); systemMenu.setVisible(false); settingsMenu.setText("Settings"); sizeMenu.setText("Size"); u...
36.835249
132
0.663928
[ "geometry", "vector" ]
2638a920953ad07ac13b0f54254dafedf877d021
47,687
cpp
C++
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Uno.Data.Json.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Uno.Data.Json.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Uno.Data.Json.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
// This file was generated based on '(multiple files)'. // WARNING: Changes might be lost if you edit this file directly. #include <Uno.Bool.h> #include <Uno.Char.h> #include <Uno.Collections.Dicti-87d2e37d.h> #include <Uno.Collections.Dictionary-2.h> #include <Uno.Collections.Enume-8ddd045.h> #include <Uno.Collection...
29.024346
228
0.605113
[ "object" ]
263e9f6fcb336e80e3f1e5e5dd97c9a69acfa99b
6,907
hpp
C++
head/MMapHeadWithTrie.hpp
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
head/MMapHeadWithTrie.hpp
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
head/MMapHeadWithTrie.hpp
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
#pragma once #include <stdint.h> #include <atomic> #include <boost/filesystem.hpp> #include <unordered_map> #include <unordered_set> #include "base/Atomic.hpp" #include "base/Error.hpp" #include "base/Logging.hpp" #include "base/Mutex.hpp" #include "base/ThreadPool.hpp" #include "base/WaitGroup.hpp" #include "block/...
31.253394
80
0.72955
[ "vector" ]
2640dc18f22533335bebca3e8faf6be036d1e6f9
27,442
hpp
C++
plll/src/lattices/matrixconversion.hpp
KudrinMatvey/myfplll
99fa018201097b6c078c00721cdc409cdcd4092c
[ "MIT" ]
null
null
null
plll/src/lattices/matrixconversion.hpp
KudrinMatvey/myfplll
99fa018201097b6c078c00721cdc409cdcd4092c
[ "MIT" ]
null
null
null
plll/src/lattices/matrixconversion.hpp
KudrinMatvey/myfplll
99fa018201097b6c078c00721cdc409cdcd4092c
[ "MIT" ]
null
null
null
/* Copyright (c) 2011-2014 University of Zurich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
31.615207
176
0.576088
[ "vector" ]
264ff727b24d8decd25a28f260477550f76bc09a
2,992
cpp
C++
examples/example2.cpp
Zinlibs/Zoom
55cc8172043365f2c22e153f95a75dc510a27d5c
[ "Zlib" ]
3
2015-01-31T05:08:43.000Z
2016-04-22T17:24:41.000Z
examples/example2.cpp
pebbrian/Zoom
55cc8172043365f2c22e153f95a75dc510a27d5c
[ "Zlib" ]
null
null
null
examples/example2.cpp
pebbrian/Zoom
55cc8172043365f2c22e153f95a75dc510a27d5c
[ "Zlib" ]
2
2018-10-07T16:02:03.000Z
2019-03-18T05:50:45.000Z
//////////////////////////////////////////////////////////// /// Headers //////////////////////////////////////////////////////////// #include <SFML/Graphics.hpp> #include <Zoost/Geom.hpp> #include <Zoom/Shape.hpp> #include <Zoost/Converter.hpp> using namespace zin; ///////////////////////////////////////////////////...
31.166667
357
0.587567
[ "shape" ]
2651737b8ff52e0f638ebac22d47dbcb521430a0
13,421
cpp
C++
src/testing.cpp
ibrahimvis/System-Monitor
a4a343b079205cefe5fd92f78f41bfa1858b3331
[ "MIT" ]
null
null
null
src/testing.cpp
ibrahimvis/System-Monitor
a4a343b079205cefe5fd92f78f41bfa1858b3331
[ "MIT" ]
null
null
null
src/testing.cpp
ibrahimvis/System-Monitor
a4a343b079205cefe5fd92f78f41bfa1858b3331
[ "MIT" ]
null
null
null
// #include <dirent.h> // #include <unistd.h> // #include <iostream> // for debugging // #include <sstream> // #include <string> // #include <vector> // #include "../include/format.h" // #include "../include/linux_parser.h" // #include "../include/process.h" // #include "../include/system.h" // using std::cout; // ...
29.176087
83
0.523731
[ "vector" ]
2655b31bba7d2e8b28b71aa161aae85d29473811
6,095
cpp
C++
Development/External/wxWindows_2.4.0/src/common/sckaddr.cpp
addstone/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
37
2020-05-22T18:18:47.000Z
2022-03-19T06:51:54.000Z
Development/External/wxWindows_2.4.0/src/common/sckaddr.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
null
null
null
Development/External/wxWindows_2.4.0/src/common/sckaddr.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
27
2020-05-17T01:03:30.000Z
2022-03-06T19:10:14.000Z
///////////////////////////////////////////////////////////////////////////// // Name: sckaddr.cpp // Purpose: Network address manager // Author: Guilhem Lavaux // Modified by: // Created: 26/04/97 // RCS-ID: $Id: sckaddr.cpp,v 1.33.2.2 2002/11/09 10:53:27 RR Exp $ // Copyright: (c) 1997, 199...
21.845878
87
0.622313
[ "object" ]
265c2cd988a10a5fe0f5c348043b4ee1723c18b3
13,978
cpp
C++
test/xlinq_distinct_test.cpp
trolleyyy/xlinq
af7de7bb109b09b44dac1915c01dd4b3fd1dbf71
[ "MIT" ]
6
2016-10-04T19:28:00.000Z
2018-02-09T02:20:08.000Z
test/xlinq_distinct_test.cpp
trolleyyy/xlinq
af7de7bb109b09b44dac1915c01dd4b3fd1dbf71
[ "MIT" ]
1
2016-11-07T06:00:02.000Z
2017-06-09T19:59:30.000Z
test/xlinq_distinct_test.cpp
trolleyyy/xlinq
af7de7bb109b09b44dac1915c01dd4b3fd1dbf71
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <xlinq/xlinq_from.h> #include <xlinq/xlinq_distinct.h> #include <list> #include <forward_list> #include <vector> using namespace std; using namespace xlinq; template<typename TVal> struct Hash { int operator()(const TVal& val) const { return (int)val; } }; te...
34.51358
126
0.680498
[ "vector" ]
2660ec5d03f6f93b9d918d6e4924796b348876f9
642
cpp
C++
vol5/minimum-size-subarray-sum/minimum-size-subarray-sum.cpp
zeyuanxy/LeetCode
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
3
2015-12-07T05:40:08.000Z
2018-12-17T18:39:15.000Z
vol5/minimum-size-subarray-sum/minimum-size-subarray-sum.cpp
zeyuanxy/leet-code
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
null
null
null
vol5/minimum-size-subarray-sum/minimum-size-subarray-sum.cpp
zeyuanxy/leet-code
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
null
null
null
class Solution { public: int minSubArrayLen(int s, vector<int>& nums) { if (nums.empty()) { return 0; } int r = -1, sum = 0, ans = nums.size() + 1; for (int i = 0; i < nums.size(); ++i) { if (i > 0) { sum -= nums[i - 1]; } ...
24.692308
52
0.317757
[ "vector" ]
266bd8731e498d2144fcb7cde2102bb991b0564e
2,922
cpp
C++
src/liblvr2/display/InteractivePointCloud.cpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
src/liblvr2/display/InteractivePointCloud.cpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
src/liblvr2/display/InteractivePointCloud.cpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
/** * Copyright (c) 2018, University Osnabrück * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this li...
28.930693
86
0.717659
[ "render" ]
266d2ad19a5e9f5cda6f4f1ac9dc03dbf98c4dbb
13,095
hpp
C++
modules/core/include/facekit/core/sys/stacktrace.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
null
null
null
modules/core/include/facekit/core/sys/stacktrace.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
null
null
null
modules/core/include/facekit/core/sys/stacktrace.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
1
2017-11-29T12:03:08.000Z
2017-11-29T12:03:08.000Z
/** * @file stacktrace.hpp * @brief Class creating a StackTrace for debugging purpose. Would typically * been use in expection. * @ingroup core * * @author Christophe Ecabert * @date 10.07.18 * Copyright © 2018 Christophe Ecabert. All rights reserved. */ #ifndef __FACEKIT_STACKTRACE__ #defi...
28.654267
79
0.634135
[ "object", "vector" ]
2673384ce241b87fe609db7282ee562967272f06
4,096
cpp
C++
src/cropbox_filter.cpp
senceryazici/crazyflie-kinect-localization
060dc72a06106e1aedd8daf981297cc70c9e4edd
[ "MIT" ]
3
2020-08-17T22:21:42.000Z
2020-10-30T10:03:46.000Z
src/cropbox_filter.cpp
senceryazici/crazyflie-kinect-localization
060dc72a06106e1aedd8daf981297cc70c9e4edd
[ "MIT" ]
null
null
null
src/cropbox_filter.cpp
senceryazici/crazyflie-kinect-localization
060dc72a06106e1aedd8daf981297cc70c9e4edd
[ "MIT" ]
null
null
null
// Import dependencies #include <ros/ros.h> #include <string> #include <iostream> #include <pcl_ros/point_cloud.h> #include <pcl_ros/transforms.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <tf/transform_listener.h> #include <pcl_conversions/pcl_conversions.h> #include <sensor_msgs/PointCloud2.h...
33.57377
151
0.70459
[ "transform", "3d" ]
2678edc17a8a55a5bcb5338fb9b4bbf5580dd37e
638
cpp
C++
State/Transformer/RandomSlicer.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
null
null
null
State/Transformer/RandomSlicer.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
null
null
null
State/Transformer/RandomSlicer.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
1
2019-09-02T12:56:27.000Z
2019-09-02T12:56:27.000Z
// // Created by ice-phoenix on 4/29/15. // #include "State/Transformer/RandomSlicer.h" namespace borealis { RandomSlicer::RandomSlicer() : Base(FactoryNest{}), rd(), mtr(rd()) {} double RandomSlicer::getNextRandom() { return std::generate_canonical<double, 10>(mtr); } PredicateState::Ptr RandomSlicer::transfo...
22
70
0.645768
[ "transform" ]
2685a15db85e44c22523524f4dc24c0c053e55d5
17,400
cpp
C++
src/core/accelerator.cpp
zq317157782/Narukami
c08fa4ee494961516cca97a8cdba3feba2e5f4dc
[ "MIT" ]
7
2019-08-25T08:18:33.000Z
2020-05-06T05:51:57.000Z
src/core/accelerator.cpp
zq317157782/Narukami
c08fa4ee494961516cca97a8cdba3feba2e5f4dc
[ "MIT" ]
1
2019-03-01T06:06:17.000Z
2019-03-01T06:06:17.000Z
src/core/accelerator.cpp
zq317157782/Narukami
c08fa4ee494961516cca97a8cdba3feba2e5f4dc
[ "MIT" ]
1
2020-02-25T06:33:38.000Z
2020-02-25T06:33:38.000Z
/* MIT License Copyright (c) 2019 ZhuQian Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
36.401674
216
0.565632
[ "vector" ]
2692f132c9d3de78d05d701f3d5aa37b78184cd4
3,139
cpp
C++
07/uva1603_fast.cpp
ericxie/aoapc
10092cebbc5b47364680ffecb5269d94349330e8
[ "MIT" ]
10
2019-11-10T10:37:23.000Z
2021-06-16T14:18:22.000Z
07/uva1603_fast.cpp
ericxie/aoapc
10092cebbc5b47364680ffecb5269d94349330e8
[ "MIT" ]
null
null
null
07/uva1603_fast.cpp
ericxie/aoapc
10092cebbc5b47364680ffecb5269d94349330e8
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <cstring> long long grid[5][55]; int cnt[5]; inline int x2id(int x,int y,int n) { return (n + n + 1) * x + y;} inline int y2id(int x,int y,int n) { return (n + n + 1) * x + n + y;} std::vector<int> grids[5][55]; // grids[width][grid] std::vector<int> edges[5][60]; // e...
23.780303
95
0.527875
[ "vector" ]
2694488349b203e72deed32109a9b63f3e4d2097
487
cpp
C++
Source/Renderer/SfmlRenderer.cpp
Hopson97/Slonda-Man
169f95b8db9f1cb694ab459973f98287e5979ab6
[ "MIT" ]
7
2021-03-11T14:29:49.000Z
2021-11-14T20:31:09.000Z
Source/Renderer/SfmlRenderer.cpp
Hopson97/Slonda-Man
169f95b8db9f1cb694ab459973f98287e5979ab6
[ "MIT" ]
null
null
null
Source/Renderer/SfmlRenderer.cpp
Hopson97/Slonda-Man
169f95b8db9f1cb694ab459973f98287e5979ab6
[ "MIT" ]
null
null
null
#include "SfmlRenderer.h" #include <iostream> #include "../GLLib/GLFunctions.h" void SfmlRenderer::add(const sf::Drawable& drawable) { m_sfmlDrawables.push_back(&drawable); } void SfmlRenderer::render(sf::RenderWindow& window) { //prep for SFML drawing GL::unbindAll(); window.pushGLStates(); win...
18.037037
52
0.669405
[ "render" ]
269caeab38dc9052542e0105557bc80e5e1212f1
213
cpp
C++
assignment-2/src/renderer/shape.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
2
2019-04-18T21:28:18.000Z
2019-04-18T21:28:52.000Z
assignment-2/src/renderer/shape.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
null
null
null
assignment-2/src/renderer/shape.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
null
null
null
#include "renderer/shape.h" Shape::Shape(int x, int y, int w, int h, const std::vector<std::shared_ptr<const Shape>> &children) : x(x), y(y), w(w), h(h), children(children) {} Shape::~Shape() {}
30.428571
71
0.591549
[ "shape", "vector" ]
269f9742fc31421143b98ecccf315cfa1ba84ddb
3,581
cpp
C++
src/tasks/task-connect-points.cpp
NimaPng/tsid
23bbc6bace4f4623c2189535e71ba63bedbc4368
[ "BSD-2-Clause" ]
null
null
null
src/tasks/task-connect-points.cpp
NimaPng/tsid
23bbc6bace4f4623c2189535e71ba63bedbc4368
[ "BSD-2-Clause" ]
null
null
null
src/tasks/task-connect-points.cpp
NimaPng/tsid
23bbc6bace4f4623c2189535e71ba63bedbc4368
[ "BSD-2-Clause" ]
null
null
null
// // Created by nimapng on 10/10/21. // #include "tsid/math/utils.hpp" #include "tsid/tasks/task-connect-points.hpp" #include "tsid/robots/robot-wrapper.hpp" namespace tsid { namespace tasks { using namespace math; using namespace trajectories; using namespace pinocchio; TaskConn...
34.104762
117
0.527506
[ "vector", "model" ]
565516063817d457c9e1eb8f391dde1b86e0b691
1,272
cpp
C++
library/source/PathDependentDiscreteDOSU.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
5
2016-12-28T16:07:38.000Z
2022-03-11T09:55:57.000Z
library/source/PathDependentDiscreteDOSU.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
null
null
null
library/source/PathDependentDiscreteDOSU.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
5
2017-06-04T04:50:47.000Z
2022-03-17T17:41:16.000Z
//PathDependentDiscreteDOSU.cpp #include <cmath> #include <PathDependentDiscreteDOSU.h> PathDependentDiscreteDOSU::PathDependentDiscreteDOSU(const MJArray& LookAtTimes_, double DeliveryTime_, double Barrier_, std::shared_ptr<MyOption::Option> TheOption_, double Reb...
27.652174
86
0.738994
[ "vector" ]
565c8cab8fab534700bdf16a1c2f83caaf8442e5
8,142
cpp
C++
tests/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ap_config_use_test.cpp
openharmony-gitee-mirror/communication_wifi
de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37
[ "Apache-2.0" ]
1
2021-12-03T14:28:10.000Z
2021-12-03T14:28:10.000Z
tests/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ap_config_use_test.cpp
openharmony-gitee-mirror/communication_wifi
de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37
[ "Apache-2.0" ]
null
null
null
tests/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ap_config_use_test.cpp
openharmony-gitee-mirror/communication_wifi
de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37
[ "Apache-2.0" ]
1
2021-09-13T11:18:00.000Z
2021-09-13T11:18:00.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
34.944206
118
0.711373
[ "vector" ]
565f5e24832c8958757905b91c298656872703b1
1,481
hpp
C++
include/enumerable.hpp
ZiJer/linqxx
2d89c6e912998273cf1e2bab60045f4f08ea055d
[ "MIT" ]
1
2020-04-15T00:57:33.000Z
2020-04-15T00:57:33.000Z
include/enumerable.hpp
ZiJer/linqxx
2d89c6e912998273cf1e2bab60045f4f08ea055d
[ "MIT" ]
null
null
null
include/enumerable.hpp
ZiJer/linqxx
2d89c6e912998273cf1e2bab60045f4f08ea055d
[ "MIT" ]
1
2020-05-08T21:22:32.000Z
2020-05-08T21:22:32.000Z
#pragma once #include <memory> // std::shared_ptr #include <optional> // std::optional #include <utility> // std::declval #include <vector> // std::vector namespace linqxx { template <typename T> class iterator; template <typename T> class enumerator { public: virtual std::optional<T> next() = 0; virtua...
25.101695
156
0.686023
[ "vector" ]
566d9ee2b40d021b50ddb88f7a779c4fb6aea560
2,159
cpp
C++
codeBase/CodeJam/2010/2010_1B_A/2010_1B_A.cpp
suren3141/codeBase
10ed9a56aca33631dc8c419cd83859c19dd6ff09
[ "Apache-2.0" ]
3
2020-03-16T14:59:08.000Z
2021-07-28T20:51:53.000Z
codeBase/CodeJam/2010/2010_1B_A/2010_1B_A.cpp
suren3141/codeBase
10ed9a56aca33631dc8c419cd83859c19dd6ff09
[ "Apache-2.0" ]
2
2016-04-16T05:39:20.000Z
2016-06-06T12:24:56.000Z
codeBase/CodeJam/2010/2010_1B_A/2010_1B_A.cpp
killerilaksha/codeBase
91cbd950fc90066903e58311000784aeba4ffc02
[ "Apache-2.0" ]
18
2020-02-17T23:17:37.000Z
2021-07-28T20:52:13.000Z
/* Copyright Hackers' Club, University Of Peradeniya Author : E/13/181 (Samurdhi Karunarathne) 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 re...
29.175676
72
0.512274
[ "vector" ]
5680063f1c15e38fa56a7e621e04deebe553ae57
670
hpp
C++
dataurus/include/table_t.hpp
TheofilosBel/sigmod2018
61b3cab644f6143dfe6b6b81421e418ff9b81556
[ "MIT" ]
28
2018-04-10T19:14:13.000Z
2021-06-25T23:54:50.000Z
dataurus/include/table_t.hpp
geooo109/sigmod2018-1
61b3cab644f6143dfe6b6b81421e418ff9b81556
[ "MIT" ]
null
null
null
dataurus/include/table_t.hpp
geooo109/sigmod2018-1
61b3cab644f6143dfe6b6b81421e418ff9b81556
[ "MIT" ]
12
2018-04-10T19:15:38.000Z
2019-12-29T15:44:16.000Z
#pragma once #include <vector> #include <unordered_map> #include "parallel_radix_join.h" #include "filter_job.h" typedef struct table_t table_t; typedef struct column_t column_t; struct column_t { uint64_t *values; uint64_t size; uint64_t table_index; unsigned id; }; struct table_t { /* Row...
19.142857
62
0.686567
[ "vector" ]
5684e285b99db88e1bc03865f6291b688f32e5ea
689
cpp
C++
algorithms/cpp/119.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
3
2016-10-01T10:15:09.000Z
2017-07-09T02:53:36.000Z
algorithms/cpp/119.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
algorithms/cpp/119.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: vector<int> getRow(int rowIndex) { vector<int> row(rowIndex+1, 0); row[0] = 1; for ( int i = 1; i <= rowIndex; i++ ) for ( int j = i; j > 0; j-- ) row[j] += row[j-1]; ...
20.878788
54
0.45283
[ "vector" ]
569f78dd999f7f9bd592853fa4ce27e79bd640db
2,178
cpp
C++
sail/csrc/core/TensorBody.cpp
sail-ml/sail
e261ef22661aa267bcf32d1552be95d8b7255220
[ "BSD-3-Clause" ]
1
2021-04-28T16:29:02.000Z
2021-04-28T16:29:02.000Z
sail/csrc/core/TensorBody.cpp
sail-ml/sail
e261ef22661aa267bcf32d1552be95d8b7255220
[ "BSD-3-Clause" ]
56
2021-04-28T16:39:05.000Z
2021-07-29T01:13:25.000Z
sail/csrc/core/TensorBody.cpp
sail-ml/sail
e261ef22661aa267bcf32d1552be95d8b7255220
[ "BSD-3-Clause" ]
null
null
null
#include "TensorBody.h" #include "Tensor.h" #include "dtypes.h" #include "factories.h" #include "tensor_shape.h" #include "utils.h" namespace sail { TensorBody::TensorBody(void* _data, Dtype _dtype, TensorShape _shape, bool _view) : data(_data), dtype(_dtype), shape(new TensorSh...
26.240964
74
0.6382
[ "shape" ]
56a2125cacb7c93c62e99acd596905bf6d0b7d9f
828
hh
C++
hackt_docker/hackt/src/util/addressof.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/addressof.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/addressof.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "util/addressof.hh" Inspired by boost::utility::addressof. $Id: addressof.hh,v 1.1 2006/05/07 20:56:09 fang Exp $ */ #ifndef __UTIL_ADDRESSOF_H__ #define __UTIL_ADDRESSOF_H__ namespace util { //============================================================================= /** Since some compilers have...
25.875
79
0.583333
[ "object" ]
56ab60f618e1a11d68f994f2820cac5af82efc6c
2,332
cpp
C++
uva/11228.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
3
2020-06-25T21:04:02.000Z
2021-05-12T03:33:19.000Z
uva/11228.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
null
null
null
uva/11228.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
1
2020-06-25T21:04:06.000Z
2020-06-25T21:04:06.000Z
// Author: btjanaka (Bryon Tjanaka) // Problem: (UVa) 11228 #include <bits/stdc++.h> #define GET(x) scanf("%d", &x) #define GED(x) scanf("%lf", &x) typedef long long ll; using namespace std; typedef pair<int, int> ii; struct UnionFind { vector<int> p, rank; int comps; UnionFind(int n) : p(n), rank(n, 0) { io...
23.089109
70
0.504717
[ "vector" ]
56ad09f4d141d51f3bcd468b840c39014acd0c72
488
cpp
C++
Source/Engine/ING/Source/ING/Rendering/StandardRP/Pass/UIPass/UIPass.cpp
n-c0d3r/ING
f858c973e1b31ffc6deb324fa52eda6323d2c165
[ "MIT" ]
2
2022-01-21T04:03:55.000Z
2022-03-19T08:54:00.000Z
Source/Engine/ING/Source/ING/Rendering/StandardRP/Pass/UIPass/UIPass.cpp
n-c0d3r/ING
f858c973e1b31ffc6deb324fa52eda6323d2c165
[ "MIT" ]
null
null
null
Source/Engine/ING/Source/ING/Rendering/StandardRP/Pass/UIPass/UIPass.cpp
n-c0d3r/ING
f858c973e1b31ffc6deb324fa52eda6323d2c165
[ "MIT" ]
null
null
null
/** * Include Header */ #include "UIPass.h" namespace ING { namespace Rendering { namespace StandardRP { /** * Constructors And Destructor */ UIPass::UIPass(const String& name) : IPass(name) { } UIPass::~UIPass() { } /** * Release Methods */ void UIPass::Releas...
8.561404
65
0.528689
[ "render" ]
56ae08b7403c3fc7ee1a60ccdb8a5dfff1a78dfd
15,503
cpp
C++
test/results_central_absolute_pose.cpp
mateus03/2018AMMPoseSolver
787886846199cd0864c4e59a6545c40c3120010a
[ "BSD-3-Clause" ]
5
2019-05-15T12:41:36.000Z
2020-09-07T10:42:52.000Z
test/results_central_absolute_pose.cpp
mateus03/2018AMMPoseSolver
787886846199cd0864c4e59a6545c40c3120010a
[ "BSD-3-Clause" ]
null
null
null
test/results_central_absolute_pose.cpp
mateus03/2018AMMPoseSolver
787886846199cd0864c4e59a6545c40c3120010a
[ "BSD-3-Clause" ]
1
2021-12-27T18:11:14.000Z
2021-12-27T18:11:14.000Z
/****************************************************************************** * Author: Laurent Kneip * * Contact: kneip.laurent@gmail.com * * License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. * ...
50.498371
190
0.683932
[ "vector" ]
56b23a0b4fcdc5b773cdef610dec2e346462cd49
908
cpp
C++
DEM/Game/src/AI/Navigation/NavMesh.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
DEM/Game/src/AI/Navigation/NavMesh.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
DEM/Game/src/AI/Navigation/NavMesh.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#include "NavMesh.h" #include <DetourNavMesh.h> namespace DEM::AI { CNavMesh::CNavMesh(float AgentRadius, float AgentHeight, std::vector<U8>&& RawData, std::map<CStrID, CNavRegion>&& Regions) : _AgentRadius(AgentRadius) , _AgentHeight(AgentHeight) , _NavMeshData(std::move(RawData)) , _Regions(std::move(Regions)) ...
27.515152
123
0.548458
[ "vector" ]
56b52d6d15726e4cdcc12c43ec8beaf5aa473617
23,718
cpp
C++
src/renderer/base/shader_preprocessor.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
5
2018-03-28T09:14:55.000Z
2018-04-02T11:54:33.000Z
src/renderer/base/shader_preprocessor.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
null
null
null
src/renderer/base/shader_preprocessor.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
null
null
null
#include "renderer/base/shader_preprocessor.h" #include <regex> #include "core/types/global.h" #include "core/base/string_buffer.h" #include "core/base/string_table.h" #include "core/types/global.h" #include "core/util/strings.h" #include "renderer/base/pipeline_building_context.h" #include "renderer/base/pipeline_...
35.033973
245
0.654102
[ "vector" ]
56c06b9253ec1311d672d9f05799a650e44ff027
3,924
cpp
C++
oi/bzoj/P3757/apple.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/bzoj/P3757/apple.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/bzoj/P3757/apple.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cmath> #include <cstdio> #include <cstring> #include <vector> #include <algorithm> using namespace std; #define NMAX 50000 #define LOGN 16 #define MMAX 100000 struct Query { int u, v; int a, b; int answer; }; static int BLOCKSIZE; static int n, m; static int color[NMAX + 10]; static vector<in...
19.048544
70
0.445719
[ "vector" ]
56c50b48ef1dfa6d4ca1bb4d2ec25cb3b9757581
953
cpp
C++
tools/ruleTree/Scores.cpp
riyadhariwal1/Gaming-Engine
96cbebe52979d822828585911f8c1a67a639dc83
[ "MIT" ]
null
null
null
tools/ruleTree/Scores.cpp
riyadhariwal1/Gaming-Engine
96cbebe52979d822828585911f8c1a67a639dc83
[ "MIT" ]
null
null
null
tools/ruleTree/Scores.cpp
riyadhariwal1/Gaming-Engine
96cbebe52979d822828585911f8c1a67a639dc83
[ "MIT" ]
null
null
null
#include "Scores.h" #include <bits/stdc++.h> ScoreRule::ScoreRule (string score, bool ascending) : score(score) , ascending(ascending) { } void ScoreRule::execute (State& gameState) { //TODO: the score should determine what field we should sort by vector<Player> list = gameState.getPlayers(); if (t...
30.741935
114
0.640084
[ "vector" ]
56ca46a6793f621b140eb9cc57b44cd205f63336
34,560
cpp
C++
src/ofxNvFlex.cpp
teresuac/ofx_flex_paint
340dbd04ffb356ab24bfb023a6722e50366f6c3c
[ "MIT" ]
1
2021-06-11T10:08:15.000Z
2021-06-11T10:08:15.000Z
src/ofxNvFlex.cpp
teresuac/ofx_flex_paint
340dbd04ffb356ab24bfb023a6722e50366f6c3c
[ "MIT" ]
null
null
null
src/ofxNvFlex.cpp
teresuac/ofx_flex_paint
340dbd04ffb356ab24bfb023a6722e50366f6c3c
[ "MIT" ]
null
null
null
#include "ofxNvFlex.h" #include <stdlib.h> #define DEBUG_MODE false //error namespace m { void ErrorCallback(NvFlexErrorSeverity, const char* msg, const char* file, int line) { printf("Flex: %s - %s:%d\n", msg, file, line); } } void ofx_nvflex::init_flex() { int g_device = -1; g_device = NvFlexDeviceGetSu...
25.007236
222
0.64673
[ "mesh", "vector" ]
08ce6496e7f618a51fe37f9715d1920f0f732884
16,520
cpp
C++
archived/svdfit.cpp
HiTMonitor/ginan
f348e2683507cfeca65bb58880b3abc2f9c36bcf
[ "Apache-2.0" ]
1
2022-03-31T15:16:19.000Z
2022-03-31T15:16:19.000Z
archived/svdfit.cpp
hqy123-cmyk/ginan
b69593b584f75e03238c1c667796e2030391fbed
[ "Apache-2.0" ]
null
null
null
archived/svdfit.cpp
hqy123-cmyk/ginan
b69593b584f75e03238c1c667796e2030391fbed
[ "Apache-2.0" ]
null
null
null
// /* Slightly modified versions of routines from // * Press, William H., Brian P. Flannery, Saul A Teukolsky and // * William T. Vetterling, 1986, "Numerical Recipes: The Art of // * Scientific Computing" (Fortran), Cambrigde University Press. // * // * svdfit on p. 518. // * svbksb on pp. 57-58. // * svd...
32.842942
79
0.322397
[ "vector" ]
08d958590ef521086ed1cb2c7cb5a2fb1b265e9c
2,008
hpp
C++
nvm_engine/NvmEngine.hpp
shink/tair-contest
0b45b7bdb2f7da60904ea141a9a67476e5581a5e
[ "Apache-2.0" ]
null
null
null
nvm_engine/NvmEngine.hpp
shink/tair-contest
0b45b7bdb2f7da60904ea141a9a67476e5581a5e
[ "Apache-2.0" ]
null
null
null
nvm_engine/NvmEngine.hpp
shink/tair-contest
0b45b7bdb2f7da60904ea141a9a67476e5581a5e
[ "Apache-2.0" ]
null
null
null
/* * @author: shenke * @date: 2020/9/7 * @project: tair-contest * @desp: */ #ifndef TAIR_CONTEST_KV_CONTEST_NVM_ENGINE_H_ #define TAIR_CONTEST_KV_CONTEST_NVM_ENGINE_H_ #include "Statement.hpp" struct bucket { char *ptr; uint64_t end_off; }; class NvmEngine : DB { public: /** * @param *...
25.417722
98
0.685757
[ "object" ]
08e6e876f14144bf5aa7f0da8944839538a5e83f
56,401
cpp
C++
src/dft/SxAtomicOrbitals.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
src/dft/SxAtomicOrbitals.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
src/dft/SxAtomicOrbitals.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The ab-initio based multiscale library // // S / P H I / n X // // Copyright: Max-Planck-Institute for Iron Research // 40237 Duesseldorf, Germany // // Contact: https://sxlib.mpie.d...
35.472327
112
0.528572
[ "mesh", "transform" ]
08ee7097b6fec7c37881a8eec2962ca3838f98db
3,550
cpp
C++
test/ObstacleDetectorTest.cpp
bshantam97/enpm808x_turtlebot_navigator
3a0d315f9f5358487e293c7a4c519359b54dedd2
[ "MIT" ]
1
2020-06-01T19:39:23.000Z
2020-06-01T19:39:23.000Z
test/ObstacleDetectorTest.cpp
bshantam97/enpm808x_turtlebot_navigator
3a0d315f9f5358487e293c7a4c519359b54dedd2
[ "MIT" ]
13
2019-11-29T22:47:20.000Z
2019-12-08T21:06:00.000Z
test/ObstacleDetectorTest.cpp
arp95/enpm808x_turtlebot_navigator
94e6b46d9b44a82c904e7aaec266ff65220e1c01
[ "MIT" ]
2
2019-12-09T03:33:11.000Z
2021-12-12T23:24:46.000Z
/** * MIT License * * Copyright (c) 2019 Arpit Aggarwal Shantam Bajpai * * 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 ...
35.148515
78
0.727042
[ "object" ]
08f08fc080b56e8a33d814525cca5c3420c8aca2
725
hpp
C++
src/kc/core/Countable.hpp
nekoffski/libkc
f72cc40d2780747a707eaf6b822ba98848d92237
[ "MIT" ]
null
null
null
src/kc/core/Countable.hpp
nekoffski/libkc
f72cc40d2780747a707eaf6b822ba98848d92237
[ "MIT" ]
null
null
null
src/kc/core/Countable.hpp
nekoffski/libkc
f72cc40d2780747a707eaf6b822ba98848d92237
[ "MIT" ]
null
null
null
#pragma once #include <vector> namespace kc::core { template <typename T> class Countable { public: Countable() : m_id(generateId()) { } ~Countable() { freeIds.push_back(m_id); } Countable(const Countable&) = delete; Countable& operator=(const Countable&) = delete; unsi...
16.860465
52
0.577931
[ "vector" ]
08f291b894cbaff1fa54468fbd10eb5a1bc6c452
3,187
cpp
C++
src/services/extension_server/extension_server.cpp
tinganho/lya
d956220da76d5658e8e2c0654db2068427463c60
[ "Apache-2.0" ]
1
2020-06-04T06:57:31.000Z
2020-06-04T06:57:31.000Z
src/services/extension_server/extension_server.cpp
tinganho/lya
d956220da76d5658e8e2c0654db2068427463c60
[ "Apache-2.0" ]
6
2018-01-05T02:55:59.000Z
2018-01-09T03:29:55.000Z
src/services/extension_server/extension_server.cpp
tinganho/lya
d956220da76d5658e8e2c0654db2068427463c60
[ "Apache-2.0" ]
null
null
null
#include "extension_server.h" #include <grpc++/server.h> #include <grpc++/server_builder.h> #include <libxml++/libxml++.h> #include "utils.h" using namespace std; using namespace grpc; using namespace xmlpp; using namespace Lya::lib::utils; using namespace Lya::lib::types; namespace Lya::services { ExtensionServer...
35.808989
141
0.673047
[ "vector" ]
08f3e610c2d967e68ed8efb7cf6793936f18bdfe
18,144
cpp
C++
code/c/configs/test/master.cpp
leomeyer/opdi_core
29fcb1c1c8ecd7d3d3da251333ebefb731075813
[ "BSD-2-Clause" ]
null
null
null
code/c/configs/test/master.cpp
leomeyer/opdi_core
29fcb1c1c8ecd7d3d3da251333ebefb731075813
[ "BSD-2-Clause" ]
null
null
null
code/c/configs/test/master.cpp
leomeyer/opdi_core
29fcb1c1c8ecd7d3d3da251333ebefb731075813
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2016, Leo Meyer, leo@leomeyer.de // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this // l...
26.800591
205
0.652502
[ "vector" ]