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
d2db1c0c602e9b57cd9f969b22d0013c48537d29
3,576
cpp
C++
test/src/test_serializer.cpp
steinwurf/chunkie
b34a1b4641827efc22b3d477cd79ef745771fcaf
[ "BSD-3-Clause" ]
null
null
null
test/src/test_serializer.cpp
steinwurf/chunkie
b34a1b4641827efc22b3d477cd79ef745771fcaf
[ "BSD-3-Clause" ]
3
2021-09-07T07:48:40.000Z
2021-12-17T09:34:29.000Z
test/src/test_serializer.cpp
steinwurf/chunkie
b34a1b4641827efc22b3d477cd79ef745771fcaf
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2018 Steinwurf ApS // All Rights Reserved // // Distributed under the "BSD License". See the accompanying LICENSE.rst file. #include <gtest/gtest.h> #include <chunkie/serializer.hpp> #include <algorithm> #include <vector> TEST(test_serializer, basic) { using serializer_type = chunkie::serialize...
28.83871
80
0.586409
[ "object", "vector" ]
d2db20bca02c0ef736c7d31e750cac03c7473ac7
97,454
cpp
C++
Extensions/ZilchShaders/Translator.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
52
2018-09-11T17:18:35.000Z
2022-03-13T15:28:21.000Z
Extensions/ZilchShaders/Translator.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
1,409
2018-09-19T18:03:43.000Z
2021-06-09T08:33:33.000Z
Extensions/ZilchShaders/Translator.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
26
2018-09-11T17:16:32.000Z
2021-11-22T06:21:19.000Z
/////////////////////////////////////////////////////////////////////////////// /// /// Authors: Joshua Davis /// Copyright 2015, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #include "Precompiled.hpp" namespace Zero { //---------------...
46.121155
228
0.724927
[ "geometry", "object", "transform" ]
d2dbe82d893c76adac063cf72ecb07aea9279c34
40,721
cpp
C++
parrlibgl/ui/imui.cpp
AlessandroParrotta/parrlibgl
2d0a27a16bb17be8d4554bfcdc4f5e2a4946db96
[ "MIT" ]
null
null
null
parrlibgl/ui/imui.cpp
AlessandroParrotta/parrlibgl
2d0a27a16bb17be8d4554bfcdc4f5e2a4946db96
[ "MIT" ]
null
null
null
parrlibgl/ui/imui.cpp
AlessandroParrotta/parrlibgl
2d0a27a16bb17be8d4554bfcdc4f5e2a4946db96
[ "MIT" ]
null
null
null
#include "imui.h" #include "../sprite.h" namespace prb { namespace imui { const std::string glbid = "imui"; statec state; statec oldstate = state; //prefss prefs; unsigned int gid = 0; unsigned int activegid = 0; template<typename T> struct stack { std::vector<T> st; void push(T const& t) { st...
38.967464
291
0.636527
[ "vector", "transform" ]
d2e11ed2f60919ef813ff2569ef1b7cbd9345808
1,354
cc
C++
src/bot.cc
L0laapk3/RLBotCPP
0d56546fd818324e232b77375eba1861e8e8956f
[ "MIT" ]
4
2019-06-08T21:25:14.000Z
2019-09-06T17:20:22.000Z
RLBotCPP/src/bot.cc
steinraf/badbotcpp
6b517bd0c9ce1f1b717dbfdd790e627434259219
[ "MIT" ]
2
2019-06-18T19:24:32.000Z
2021-12-08T06:38:37.000Z
RLBotCPP/src/bot.cc
steinraf/badbotcpp
6b517bd0c9ce1f1b717dbfdd790e627434259219
[ "MIT" ]
13
2019-05-04T19:08:25.000Z
2022-02-07T20:13:09.000Z
#include "rlbot/bot.h" #include <vector> #include "rlbot/interface.h" #include "rlbot/rlbot_generated.h" namespace rlbot { Bot::Bot(int _index, int _team, std::string _name) { index = _index; team = _team; name = _name; } BallPrediction Bot::GetBallPrediction() { ByteBuffer buffer = Interface::GetBallPredic...
24.178571
77
0.718612
[ "vector" ]
d2e1d08c3e9c17bf5630041c008b6a2f57867f91
9,607
cpp
C++
src/cozmo_description/cozmo.cpp
JHLee0513/libcozmo
f3a90a39ec1b1c4ead691328fd43459d67a3a44a
[ "BSD-3-Clause" ]
8
2017-01-11T15:49:34.000Z
2019-04-24T21:49:05.000Z
src/cozmo_description/cozmo.cpp
JHLee0513/libcozmo
f3a90a39ec1b1c4ead691328fd43459d67a3a44a
[ "BSD-3-Clause" ]
6
2019-07-19T01:43:45.000Z
2020-03-10T07:28:30.000Z
src/cozmo_description/cozmo.cpp
JHLee0513/libcozmo
f3a90a39ec1b1c4ead691328fd43459d67a3a44a
[ "BSD-3-Clause" ]
4
2019-07-01T20:04:44.000Z
2020-02-14T10:12:35.000Z
#include "cozmo_description/cozmo.hpp" #include "Eigen/Dense" #include <cmath> #include <chrono> #include <thread> #include "aikido/trajectory/Trajectory.hpp" #include "aikido/trajectory/Interpolated.hpp" #include "aikido/statespace/Interpolator.hpp" #include "aikido/statespace/GeodesicInterpolator.hpp" #include "aikid...
33.590909
115
0.673259
[ "mesh", "shape", "vector", "model", "transform" ]
5e41fadf2cded07818742bbb32dd067cded77511
1,944
cpp
C++
Codeforces/1436/C.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
2
2021-09-14T15:57:24.000Z
2022-03-18T14:11:04.000Z
Codeforces/1436/C.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
null
null
null
Codeforces/1436/C.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
null
null
null
/* "An anomaly, I'm Muhammad Ali Cause I know one day I'm gonna be the" - Greatest, Eminem */ #pragma GCC optimize ("O3") #pragma GCC target ("sse4") #include<bits/stdc++.h> using namespace std; typedef long long int ll; #define ff first #define Shazam ios_base::sync_with_stdio(false); cin.tie(NULL)...
22.604651
81
0.503601
[ "vector" ]
5e42b6bd20d6f319801194c403cf2e9571ae81d7
5,163
cpp
C++
modules/vectorfieldvisualization/processors/3d/streamlines.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
modules/vectorfieldvisualization/processors/3d/streamlines.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
modules/vectorfieldvisualization/processors/3d/streamlines.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
#include "streamlines.h" #include <inviwo/core/datastructures/buffer/buffer.h> #include <inviwo/core/datastructures/buffer/bufferramprecision.h> #include <inviwo/core/datastructures/geometry/basicmesh.h> #include <inviwo/core/datastructures/image/layerram.h> #include <inviwo/core/datastructures/volume/volumeram.h> #in...
29.843931
88
0.596359
[ "mesh", "geometry", "vector" ]
5e47e23405558292e843c40253e5fbcb0b71ea18
6,970
hpp
C++
include/visualization/Layout.hpp
Enrico7741/ControllerVisualization
8a0dc16e776440edad8db050cfe953c63bacdd0b
[ "MIT" ]
null
null
null
include/visualization/Layout.hpp
Enrico7741/ControllerVisualization
8a0dc16e776440edad8db050cfe953c63bacdd0b
[ "MIT" ]
null
null
null
include/visualization/Layout.hpp
Enrico7741/ControllerVisualization
8a0dc16e776440edad8db050cfe953c63bacdd0b
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------------------- // Cross-Platform Controller Input Visualization // Copyright (C) 2021 Enrico Schörnick // Licensed under the MIT License //-----------------------------------------------------------------------------------------------...
38.508287
100
0.594692
[ "vector" ]
5e4b03c370f9cf65599352da38425d9b794c101e
7,273
cc
C++
src/core2/fifo_test.cc
LeeOHzzZ/lmac-ila
ed457b2107456ecbf6fc65ab09798241507a2ddd
[ "MIT" ]
null
null
null
src/core2/fifo_test.cc
LeeOHzzZ/lmac-ila
ed457b2107456ecbf6fc65ab09798241507a2ddd
[ "MIT" ]
null
null
null
src/core2/fifo_test.cc
LeeOHzzZ/lmac-ila
ed457b2107456ecbf6fc65ab09798241507a2ddd
[ "MIT" ]
null
null
null
// ============================================================================ // Instruction-Level Abstraction of LeWiz Communications Ethernet MAC // // This Instruction-Level Abstraction (ILA) description is derived based on the // LeWiz Communications Ethernet MAC (LMAC), which is licensed under GNU LGPL. // Check...
43.035503
145
0.558229
[ "model" ]
5e4be6e2714f923a7850f01b3ff97597cdab84f7
1,470
cpp
C++
ProjectEndGame/cScaleRelativeToOverTime.cpp
BobEh/AI-Formations
3af8de3586ca8721e2be62466acb1d4f4a88d42b
[ "MIT" ]
1
2020-03-14T18:51:09.000Z
2020-03-14T18:51:09.000Z
ProjectEndGame/cScaleRelativeToOverTime.cpp
BobEh/AI-Formations
3af8de3586ca8721e2be62466acb1d4f4a88d42b
[ "MIT" ]
null
null
null
ProjectEndGame/cScaleRelativeToOverTime.cpp
BobEh/AI-Formations
3af8de3586ca8721e2be62466acb1d4f4a88d42b
[ "MIT" ]
null
null
null
#include "cScaleRelativeToOverTime.h" void cScaleRelativeToOverTime::Init(std::vector<sPair> vecDetails) { // Scales the object over time // Pass: // - Ending Scale // - Number of seconds this will take // Initial scale is set on the 1st Update() this->m_endScale = vecDetails[0].numData.x; this->m_TimeToChang...
22.96875
89
0.717007
[ "object", "vector" ]
5e4eb185f6f8cbdcf80018f3f58928d9b562a70e
1,394
hh
C++
src/include/view.hh
ppwwyyxx/Ray-Tracing-Engine
af3ec164d6b5e5b592a54a75282432d610423ffb
[ "MIT" ]
101
2015-01-01T09:24:45.000Z
2022-01-22T12:00:24.000Z
src/include/view.hh
ppwwyyxx/Ray-Tracing-Engine
af3ec164d6b5e5b592a54a75282432d610423ffb
[ "MIT" ]
1
2018-11-23T03:53:47.000Z
2018-11-23T05:31:52.000Z
src/include/view.hh
ppwwyyxx/Ray-Tracing-Engine
af3ec164d6b5e5b592a54a75282432d610423ffb
[ "MIT" ]
32
2015-01-05T15:35:33.000Z
2021-12-08T08:17:17.000Z
// File: view.hh // Author: Yuxin Wu <ppwwyyxxc@gmail.com> #pragma once #include <memory> #include "geometry/geometry.hh" #include "render/space.hh" class View { private: const Geometry geo; inline void normalize_dir_vector() { dir_w.normalize(); dir_h.normalize(); } inline void restore_dir_vector() { ...
21.446154
100
0.659971
[ "geometry", "render" ]
5e4fadfe5590df79a46d94a53a23b3d230d89dca
2,247
cc
C++
codejam/2016/quailifiers/C.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
codejam/2016/quailifiers/C.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
codejam/2016/quailifiers/C.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using vvi = vector<vi>; using ii = pair<int,int>; using vii = vector<ii>; using l = long long; using vl = vector<l>; using vvl = vector<vl>; using ll = pair<l,l>; using vll = vector<ll>; using vvll = vector<vll>; using lu = unsigned long long; using ...
22.247525
71
0.561193
[ "vector" ]
5e5b0ec8924f2df37a717f0beee99c76ee4eb854
52,660
cpp
C++
code/calculation/vortex.cpp
FreeCX/diploma
3ebbbe1e9deae462a952b2f8c20a727039baf11b
[ "BSD-3-Clause" ]
null
null
null
code/calculation/vortex.cpp
FreeCX/diploma
3ebbbe1e9deae462a952b2f8c20a727039baf11b
[ "BSD-3-Clause" ]
null
null
null
code/calculation/vortex.cpp
FreeCX/diploma
3ebbbe1e9deae462a952b2f8c20a727039baf11b
[ "BSD-3-Clause" ]
null
null
null
#include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iostream> #include <math.h> #include <omp.h> #include <sstream> #include <stdint.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> #include "cppad/cppad.hpp" #...
42.027135
80
0.339651
[ "vector" ]
5e5bc9fb74d1fe7af207d47e5f1994c598cfcf9f
15,910
cpp
C++
src/matUtils/merge.cpp
abschneider/usher
2ebfe7013d69097427cce59585a3ee2edd98773b
[ "MIT" ]
67
2020-09-18T23:10:37.000Z
2022-02-02T17:58:19.000Z
src/matUtils/merge.cpp
abschneider/usher
2ebfe7013d69097427cce59585a3ee2edd98773b
[ "MIT" ]
132
2020-09-21T03:11:29.000Z
2022-03-31T23:19:14.000Z
src/matUtils/merge.cpp
abschneider/usher
2ebfe7013d69097427cce59585a3ee2edd98773b
[ "MIT" ]
22
2020-09-18T20:28:21.000Z
2022-03-24T12:17:33.000Z
#include "merge.hpp" po::variables_map parse_merge_command(po::parsed_options parsed) { uint32_t num_cores = tbb::task_scheduler_init::default_num_threads(); std::string num_threads_message = "Number of threads to use when possible [DEFAULT uses all available cores, " + std::to_string(num_cores) + " detected o...
38.245192
174
0.540163
[ "vector" ]
5e5d93d0f7d45347605c1c6222597bcf0999e3f1
1,416
cpp
C++
game/city/infiltrationscreen.cpp
AndO3131/OpenApoc
9dea1895e273a1da5a7d8eda173255f6b364e626
[ "MIT" ]
null
null
null
game/city/infiltrationscreen.cpp
AndO3131/OpenApoc
9dea1895e273a1da5a7d8eda173255f6b364e626
[ "MIT" ]
null
null
null
game/city/infiltrationscreen.cpp
AndO3131/OpenApoc
9dea1895e273a1da5a7d8eda173255f6b364e626
[ "MIT" ]
null
null
null
#include "game/city/infiltrationscreen.h" #include "framework/framework.h" namespace OpenApoc { InfiltrationScreen::InfiltrationScreen(Framework &fw) : Stage(fw), menuform(fw.gamecore->GetForm("FORM_INFILTRATION_SCREEN")) { } InfiltrationScreen::~InfiltrationScreen() {} void InfiltrationScreen::Begin() {} voi...
21.454545
96
0.711864
[ "render" ]
5e5dd5672ed5f69d39c9658923e05bea8d8b16c4
12,940
cpp
C++
copasi/UI/CQCompartmentDM.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
copasi/UI/CQCompartmentDM.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
copasi/UI/CQCompartmentDM.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
// Copyright (C) 2019 - 2020 by Pedro Mendes, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelbe...
29.078652
147
0.622025
[ "vector", "model" ]
5e5fb7f5a3164d61bee7904c0b440b3c66f32056
5,174
hpp
C++
include/carve/polyhedron_decl.hpp
pcamarillor/Exploratory3D
10705d201376b98bdf8f19fca398a3bf341807c9
[ "MIT" ]
null
null
null
include/carve/polyhedron_decl.hpp
pcamarillor/Exploratory3D
10705d201376b98bdf8f19fca398a3bf341807c9
[ "MIT" ]
null
null
null
include/carve/polyhedron_decl.hpp
pcamarillor/Exploratory3D
10705d201376b98bdf8f19fca398a3bf341807c9
[ "MIT" ]
null
null
null
// Begin License: // Copyright (C) 2006-2008 Tobias Sargeant (tobias.sargeant@gmail.com). // All rights reserved. // // This file is part of the Carve CSG Library (http://carve-csg.com/) // // This file may be used under the terms of the GNU General Public // License version 2.0 as published by the Free Software Founda...
29.067416
104
0.628334
[ "geometry", "vector", "transform" ]
5e61c5c6bd05b7d65240f8f890e359d8d6b86bf8
11,082
cpp
C++
test/uri_test.cpp
Olipro/foxy
280975d1289beed476d4748fc77441b39c9a0ec7
[ "BSL-1.0" ]
74
2017-10-28T12:46:15.000Z
2021-08-19T12:04:39.000Z
test/uri_test.cpp
Olipro/foxy
280975d1289beed476d4748fc77441b39c9a0ec7
[ "BSL-1.0" ]
7
2018-01-21T21:18:01.000Z
2020-12-22T20:24:45.000Z
test/uri_test.cpp
Olipro/foxy
280975d1289beed476d4748fc77441b39c9a0ec7
[ "BSL-1.0" ]
8
2019-04-01T21:18:05.000Z
2021-08-11T17:30:43.000Z
// // Copyright (c) 2018-2019 Christian Mazakas (christian dot mazakas at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/LeonineKing1199/foxy // #inc...
31.753582
100
0.511189
[ "vector" ]
5e661ba4cf05480ab0aa965c447b63576f533397
7,698
cpp
C++
cpp/open3d/t/geometry/LineSet.cpp
mfkiwl/Open3D
6aa17206f273df77c54f11b6efc97aef125d5517
[ "MIT" ]
null
null
null
cpp/open3d/t/geometry/LineSet.cpp
mfkiwl/Open3D
6aa17206f273df77c54f11b6efc97aef125d5517
[ "MIT" ]
3
2021-10-07T01:47:59.000Z
2022-03-19T02:44:45.000Z
cpp/open3d/t/geometry/LineSet.cpp
mfkiwl/Open3D
6aa17206f273df77c54f11b6efc97aef125d5517
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3d.org // // Perm...
37.009615
80
0.598987
[ "geometry", "shape", "transform" ]
5e69e549caf7af6d4795df59fb98a907005f92ca
2,171
cpp
C++
src/ImageSaver.cpp
rezaali/Cinder-ImageSaver
9ef0d1f9b485b87b8f397318643b946b14a88307
[ "MIT" ]
null
null
null
src/ImageSaver.cpp
rezaali/Cinder-ImageSaver
9ef0d1f9b485b87b8f397318643b946b14a88307
[ "MIT" ]
null
null
null
src/ImageSaver.cpp
rezaali/Cinder-ImageSaver
9ef0d1f9b485b87b8f397318643b946b14a88307
[ "MIT" ]
null
null
null
#include "ImageSaver.h" #include "cinder/Camera.h" #include "cinder/app/App.h" #include "Paths.h" #include "Tiler.h" using namespace reza::paths; using namespace reza::tiler; using namespace ci; using namespace std; namespace reza { namespace img { ImageSaver::ImageSaver( const ci::app::WindowRef &window, const ...
24.670455
130
0.669277
[ "render" ]
5e6a36be6de1e958f42af2039e16ff627d9e52d9
340
cpp
C++
Reference/Strings/Distinct Substring Count.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
7
2019-06-06T17:54:20.000Z
2021-03-24T02:31:55.000Z
Reference/Strings/Distinct Substring Count.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
null
null
null
Reference/Strings/Distinct Substring Count.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
1
2021-03-24T02:31:57.000Z
2021-03-24T02:31:57.000Z
// 13 #include "../Data Structures/Strings/Suffix Automaton.cpp" // O(N) int distinctSubstrCount(const string& s) { SuffixAutomaton sa(s); vector<int> dp(sa.size); function<int(int)> dfs = [&](int u) { if (dp[u]) return dp[u]; for (auto& v : sa.next[u]) dp[u] += dfs(v.second); return ++dp[u]; }; ...
24.285714
58
0.594118
[ "vector" ]
5e70e6b641eb1732174bea669fdeb3135d964f53
19,881
cc
C++
example/laser_key_test.cc
ibyte2011/LaserDB
326fa477c4cbee36f46706ecb3b4a48d3bdab057
[ "Apache-2.0" ]
26
2021-01-07T09:32:37.000Z
2022-02-17T04:00:03.000Z
example/laser_key_test.cc
imotai/LaserDB
16f02fe001751b26e4221f54f9d3e2ca8c1a0607
[ "Apache-2.0" ]
1
2021-09-01T09:16:53.000Z
2021-12-04T02:25:15.000Z
example/laser_key_test.cc
imotai/LaserDB
16f02fe001751b26e4221f54f9d3e2ca8c1a0607
[ "Apache-2.0" ]
10
2021-01-21T06:26:46.000Z
2022-02-08T02:41:23.000Z
#include <fstream> #include "folly/init/Init.h" #include "folly/Random.h" #include "common/service_router/http.h" #include "common/laser/status.h" #include "client/laser_client.h" #include "common/metrics/metrics.h" DEFINE_string(host, "127.0.0.1", "current service host address"); DEFINE_string(local_host, "127.0.0....
34.515625
117
0.652885
[ "vector" ]
5e760ad804976e4ce8ebd73279887834a03287a6
1,371
hpp
C++
flower_equals_win/FlowerApplication.hpp
Garoli/flower-equals-win-game
c6965b9dfa38de124e3e8991a0d92509a54365df
[ "Unlicense", "MIT" ]
null
null
null
flower_equals_win/FlowerApplication.hpp
Garoli/flower-equals-win-game
c6965b9dfa38de124e3e8991a0d92509a54365df
[ "Unlicense", "MIT" ]
null
null
null
flower_equals_win/FlowerApplication.hpp
Garoli/flower-equals-win-game
c6965b9dfa38de124e3e8991a0d92509a54365df
[ "Unlicense", "MIT" ]
null
null
null
#ifndef __PA1_APPLICATION_H__ #define __PA1_APPLICATION_H__ #include <memory> #include "Application.hpp" #include "CellView.h" #include "glApi.hpp" #include "logic/Game.h" // forward declarations struct GLFWwindow; /// A concrete implementation of Application for PA1 class FlowerApplication : public Application { pub...
26.882353
103
0.749088
[ "vector" ]
5e7706b39bf44e7fe26fdaacde8129d96a2fc49d
4,419
cpp
C++
scf/src/v20180416/model/ListAliasesRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
scf/src/v20180416/model/ListAliasesRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
scf/src/v20180416/model/ListAliasesRequest.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 ...
25.994118
100
0.722109
[ "model" ]
5e80eaa8b64f36e9894efc35cb253466d0ea1212
8,621
cpp
C++
test/matslise2d/quartic.cpp
twist-numerical/matslise2d
71533b53d4e95e286bf948a69ef280333e461ccf
[ "MIT" ]
null
null
null
test/matslise2d/quartic.cpp
twist-numerical/matslise2d
71533b53d4e95e286bf948a69ef280333e461ccf
[ "MIT" ]
null
null
null
test/matslise2d/quartic.cpp
twist-numerical/matslise2d
71533b53d4e95e286bf948a69ef280333e461ccf
[ "MIT" ]
null
null
null
#include <cmath> #include <vector> #include <tuple> #include "../catch.hpp" #include "../../matslise2d/matslise2d.h" #include "checkOrthonormality.h" using namespace matslise; using namespace std; using namespace Eigen; template<typename Scalar> void testQuartic( const Scalar &a, const Scalar &c, const Scala...
47.10929
119
0.664772
[ "vector" ]
5e88c9fd1065ab6b7582fda789d862179d381fe3
20,610
cpp
C++
src/plugins/azoth/plugins/murm/entrybase.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
src/plugins/azoth/plugins/murm/entrybase.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
src/plugins/azoth/plugins/murm/entrybase.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
28.825175
112
0.630956
[ "object", "solid" ]
5e8e268d6e3986fd33d81588381df47cf1a82eaa
610
hpp
C++
Assignment7/Intersection.hpp
Antares0982/GAMES101
d45cf6ad14fb633e64ecc5ef10e8637d27472f00
[ "MIT" ]
1
2021-12-19T08:33:48.000Z
2021-12-19T08:33:48.000Z
Assignment7/Intersection.hpp
Antares0982/GAMES101
d45cf6ad14fb633e64ecc5ef10e8637d27472f00
[ "MIT" ]
null
null
null
Assignment7/Intersection.hpp
Antares0982/GAMES101
d45cf6ad14fb633e64ecc5ef10e8637d27472f00
[ "MIT" ]
null
null
null
// // Created by LEI XU on 5/16/19. // #ifndef RAYTRACING_INTERSECTION_H #define RAYTRACING_INTERSECTION_H #include "Material.hpp" #include "Vector.hpp" class Object; class Sphere; struct Intersection { Intersection() { happened = false; coords = Vector3f(); normal = Vector3f(); di...
19.677419
54
0.640984
[ "object", "vector" ]
5e8f976b0c82f0cc76da1505e6ef5106a713eedb
808
cpp
C++
cpp/offer63_max_profit.cpp
CharleyZhao123/sweat_and_harvest
a898fb0e7923b60c8ff04f023c380d87a26e5f5f
[ "MIT" ]
null
null
null
cpp/offer63_max_profit.cpp
CharleyZhao123/sweat_and_harvest
a898fb0e7923b60c8ff04f023c380d87a26e5f5f
[ "MIT" ]
null
null
null
cpp/offer63_max_profit.cpp
CharleyZhao123/sweat_and_harvest
a898fb0e7923b60c8ff04f023c380d87a26e5f5f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: // dp[i] = max{dp[i-1], (prices[i] - before_min_price)} // 两种选择: 今天i卖, 今天i不卖, 那个利润多选哪个 // 今天卖: prices[i] - before_min_price // 今天不卖: dp[i-1] int maxProfit(vector<int> &prices) { int nums = prices.size();...
21.263158
59
0.498762
[ "vector" ]
5e94a388fb671284005357ec845f06889329a79a
1,243
cpp
C++
0378_Kth Smallest Element in a Sorted Matrix.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
1
2021-09-13T00:58:59.000Z
2021-09-13T00:58:59.000Z
0378_Kth Smallest Element in a Sorted Matrix.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
0378_Kth Smallest Element in a Sorted Matrix.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
#include<algorithm> #include<vector> #include<string> #include<map> #include<queue> using namespace std; class Solution { public: int kthSmallest(vector<vector<int>>& matrix, int k) { vector<int> db; for(int r = 0;r<matrix.size();r++){ for(int c = 0;c<matrix[r].size();c++){ ...
28.906977
110
0.606597
[ "vector" ]
5e9693306be86fdb642da791dcf22af3c2c8d13d
3,882
hpp
C++
src/unity/lib/annotation/annotation_base.hpp
ZeroInfinite/turicreate
dd210c2563930881abd51fd69cb73007955b33fd
[ "BSD-3-Clause" ]
null
null
null
src/unity/lib/annotation/annotation_base.hpp
ZeroInfinite/turicreate
dd210c2563930881abd51fd69cb73007955b33fd
[ "BSD-3-Clause" ]
2
2022-01-13T04:03:55.000Z
2022-03-12T01:02:31.000Z
src/unity/lib/annotation/annotation_base.hpp
ZeroInfinite/turicreate
dd210c2563930881abd51fd69cb73007955b33fd
[ "BSD-3-Clause" ]
null
null
null
#ifndef TURI_ANNOTATIONS_ANNOTATION_BASE_HPP #define TURI_ANNOTATIONS_ANNOTATION_BASE_HPP #include <map> #include <memory> #include <string> #include <vector> #include <export.hpp> #include <flexible_type/flexible_type.hpp> #include <unity/lib/extensions/ml_model.hpp> #include <unity/lib/unity_sarray.hpp> #include...
31.306452
80
0.718959
[ "vector" ]
5e9d22244b7bf7687a651f54f06ebfa01f655cc8
2,072
cpp
C++
sigscan.cpp
tcpie/hook_any_x64
bc48e80e82a37b37f1498835276a7d20fd56bf82
[ "MIT", "Zlib", "BSD-3-Clause" ]
19
2021-07-17T05:37:10.000Z
2021-07-29T07:54:14.000Z
sigscan.cpp
c3358/hook_any_x64
bc48e80e82a37b37f1498835276a7d20fd56bf82
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
sigscan.cpp
c3358/hook_any_x64
bc48e80e82a37b37f1498835276a7d20fd56bf82
[ "MIT", "Zlib", "BSD-3-Clause" ]
6
2021-07-17T05:37:11.000Z
2021-07-28T12:51:41.000Z
#include "sigscan.h" #include <stdio.h> #include <iostream> #include <string> #include <sstream> #include <algorithm> #include <iterator> #include <vector> #include <windows.h> #include <winbase.h> #include <winnt.h> #include <Psapi.h> #include <winternl.h> #include <stdint.h> #include <iostream> u...
23.280899
96
0.548263
[ "vector" ]
5ea593d505b224de704b81b1e0d9a3ebd4c9cfb2
3,071
cpp
C++
src/cr_chart.cpp
carmeloevoli/D2XSECS
8c12bce59bce2f51555bd15f0824f9a8c056bd7e
[ "MIT" ]
2
2018-05-24T14:57:56.000Z
2018-12-13T13:35:20.000Z
src/cr_chart.cpp
cosmicrays/D2XSECS
8c12bce59bce2f51555bd15f0824f9a8c056bd7e
[ "MIT" ]
null
null
null
src/cr_chart.cpp
cosmicrays/D2XSECS
8c12bce59bce2f51555bd15f0824f9a8c056bd7e
[ "MIT" ]
1
2021-07-03T01:15:29.000Z
2021-07-03T01:15:29.000Z
// Copyright (c) 2017 Carmelo Evoli - MIT License #include "XS4GCR/cr_chart.h" #include <algorithm> #include <fstream> #include <iostream> #include <memory> #include <string> #include <utility> #include <vector> #include "XS4GCR/cgs.h" namespace XS4GCR { void DefaultCosmicRayChart::print() { std::cout << "# usi...
27.666667
95
0.578639
[ "vector" ]
5eb21be54147e463f9625f04fc341ea1e744209e
44,769
cpp
C++
alib/src/a_expr.cpp
AndrewSav/csvfix
1cb44ecdc04af5162947a8f9a24047029745e188
[ "MIT" ]
4
2022-01-25T15:54:29.000Z
2022-03-18T21:32:16.000Z
alib/src/a_expr.cpp
AndrewSav/csvfix
1cb44ecdc04af5162947a8f9a24047029745e188
[ "MIT" ]
null
null
null
alib/src/a_expr.cpp
AndrewSav/csvfix
1cb44ecdc04af5162947a8f9a24047029745e188
[ "MIT" ]
5
2021-12-14T05:42:52.000Z
2022-03-11T04:23:47.000Z
//---------------------------------------------------------------------------- // a_expr.cpp // // simple expression eveluation // // Copyright (C) 2009 Neil Butterworth //---------------------------------------------------------------------------- #include "a_base.h" #include "a_str.h" #include "a_expr.h" ...
28.068339
82
0.45364
[ "object", "vector", "transform" ]
5eb38bc438523051ac4eebd8bd1f2a5bb41031c0
5,144
cpp
C++
tests/Dynamic/AttackReleaseHysteresisFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
23
2021-02-04T10:47:46.000Z
2022-03-25T03:45:00.000Z
tests/Dynamic/AttackReleaseHysteresisFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
2
2021-02-01T15:45:06.000Z
2021-09-13T19:39:05.000Z
tests/Dynamic/AttackReleaseHysteresisFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
2
2021-04-12T03:28:12.000Z
2021-12-17T00:47:11.000Z
/** * \ file AttackReleaseHysteresisFilter.cpp */ #include <ATK/Dynamic/AttackReleaseHysteresisFilter.h> #include <ATK/Core/InPointerFilter.h> #include <ATK/Core/OutPointerFilter.h> #include <ATK/Core/Utilities.h> #include <gtest/gtest.h> #include <boost/math/constants/constants.hpp> constexpr gsl::index PROCESS...
28.73743
84
0.75311
[ "vector" ]
5eb4557d320dbcf45ac92f80e15e129b9c40e8da
2,115
cc
C++
test.cc
dremon/cjsonpp
71d876f2d311269f8b848021145e83b07a7aecfb
[ "MIT" ]
1
2020-10-28T08:24:26.000Z
2020-10-28T08:24:26.000Z
test.cc
ancwrd1/cjsonpp
71d876f2d311269f8b848021145e83b07a7aecfb
[ "MIT" ]
null
null
null
test.cc
ancwrd1/cjsonpp
71d876f2d311269f8b848021145e83b07a7aecfb
[ "MIT" ]
null
null
null
#include <assert.h> #include <iostream> #include <list> #include "cjsonpp.h" cjsonpp::JSONObject create_arr() { cjsonpp::JSONObject obj; cjsonpp::JSONObject arr = cjsonpp::arrayObject(); arr.add("foo"); arr.add("bar"); obj.set("arr", arr); return obj.get<cjsonpp::JSONObject>("arr"); } int main() { using name...
23.241758
89
0.596217
[ "vector" ]
5eb83290d18b259f27506313984eed8833ce4e66
2,477
cpp
C++
core/src/wrapper/DataTransfer.cpp
NeatNerdPrime/milvus
98de0f87e99cd1ff86d8e63b91c76589b195abe1
[ "Apache-2.0" ]
1
2020-05-31T00:34:00.000Z
2020-05-31T00:34:00.000Z
core/src/wrapper/DataTransfer.cpp
NeatNerdPrime/milvus
98de0f87e99cd1ff86d8e63b91c76589b195abe1
[ "Apache-2.0" ]
1
2019-11-22T07:07:47.000Z
2019-11-22T07:07:47.000Z
core/src/wrapper/DataTransfer.cpp
flydragon2018/milvus
fa1effdb91d9fd9710ff5a9ae519bd538e79b0b0
[ "Apache-2.0" ]
1
2021-05-23T15:04:01.000Z
2021-05-23T15:04:01.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
41.983051
112
0.736778
[ "shape", "vector" ]
5ebb7cdd6ce40a2235a67d0106cf7980dc3e370b
9,129
cpp
C++
Tests/solver_test002/main.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
25
2016-03-14T19:34:00.000Z
2022-03-17T13:34:59.000Z
Tests/solver_test002/main.cpp
INMOST-DEV/INMOST
c2209a6378b0d2ecc2f3ec9a12e0217cca011ca8
[ "BSD-3-Clause" ]
22
2015-01-17T18:43:16.000Z
2021-03-26T08:09:43.000Z
Tests/solver_test002/main.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
13
2015-04-22T16:04:21.000Z
2021-03-31T10:51:48.000Z
#include "inmost.h" #include <string> #include <iostream> using namespace INMOST; /*********************************************************************** (*) 5402 3D Poisson equation solver (*) Test solvers on 3D Poisson equation. This test is located in Tests/solver_test002 (*) Brief Test solvers and tune para...
34.977011
202
0.608719
[ "mesh", "vector", "model", "3d" ]
5ebfb2734a9942818625e700578f03a1e25d3684
3,993
hpp
C++
external/cfmesh/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractorFUN/meshSurfaceEdgeExtractorFUN.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
external/cfmesh/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractorFUN/meshSurfaceEdgeExtractorFUN.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
external/cfmesh/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractorFUN/meshSurfaceEdgeExtractorFUN.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) Creative Fields, Ltd. ------------------------------------------------------------------------------- License This file is part of cfMesh. cfMesh is free software; you can redistribute it and/or modify it under th...
28.521429
79
0.559479
[ "mesh" ]
5ec6f1958470d5efbe9b84add9dd4dbd20fdd714
18,325
cpp
C++
test/rocprim/test_hc_device_segmented_scan.cpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
test/rocprim/test_hc_device_segmented_scan.cpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
test/rocprim/test_hc_device_segmented_scan.cpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved. // // 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 limitati...
36.797189
103
0.625757
[ "vector", "transform" ]
5ec7d848f4fc93387ae771314f6a3c860ae14c8b
13,918
cpp
C++
src/engine/entity/src/scripting/script_renderer.cpp
pinguin999/halley
895e5ae482787eb09185928625e1ee9be3845fbc
[ "Apache-2.0" ]
null
null
null
src/engine/entity/src/scripting/script_renderer.cpp
pinguin999/halley
895e5ae482787eb09185928625e1ee9be3845fbc
[ "Apache-2.0" ]
null
null
null
src/engine/entity/src/scripting/script_renderer.cpp
pinguin999/halley
895e5ae482787eb09185928625e1ee9be3845fbc
[ "Apache-2.0" ]
null
null
null
#include "scripting/script_renderer.h" #include "world.h" #include "halley/core/graphics/painter.h" #include "halley/maths/bezier.h" #include "halley/support/logger.h" #include "scripting/script_graph.h" #include "scripting/script_node_type.h" using namespace Halley; #ifndef DONT_INCLUDE_HALLEY_HPP #define DONT_INCLUD...
32.143187
211
0.708148
[ "transform" ]
5ecd360350ced632474eadd0afba056ae36b2e9f
921
cpp
C++
Dataset/Leetcode/test/102/372.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/102/372.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/102/372.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> XXX(TreeNode* root) { vector<vector<int> > ans; if (!root) return ans; queue<pair<TreeNode*,int> > que; que.push(pair(root,0)); while(!que.empty()) { int level = que.front().second; vector<int> temp;...
31.758621
139
0.515744
[ "vector" ]
5ecf1c887d991b0cded4b2ab9f436c0e30e89764
5,633
cc
C++
src/matrix/sparse-matrix-test.cc
jxzhanggg/kaldi-trunk
03fbab26e5714a990e1b6dee9475d4a282a42ccc
[ "Apache-2.0" ]
319
2016-10-24T23:08:04.000Z
2022-03-08T02:36:51.000Z
src/matrix/sparse-matrix-test.cc
jxzhanggg/kaldi-trunk
03fbab26e5714a990e1b6dee9475d4a282a42ccc
[ "Apache-2.0" ]
18
2017-01-12T12:08:07.000Z
2020-06-18T07:37:20.000Z
src/matrix/sparse-matrix-test.cc
jxzhanggg/kaldi-trunk
03fbab26e5714a990e1b6dee9475d4a282a42ccc
[ "Apache-2.0" ]
87
2016-10-25T04:39:48.000Z
2021-12-24T07:47:31.000Z
// matrix/sparse-matrix-test.cc // Copyright 2015 Guoguo Chen // See ../../COPYING for clarification regarding multiple authors // // 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 // /...
24.598253
79
0.652583
[ "vector" ]
5edac55fa716ca0e684aa22bfb30c5614262823f
3,564
hpp
C++
source/include/coffee/persistence/Storage.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
2
2018-02-03T06:56:29.000Z
2021-04-20T10:28:32.000Z
source/include/coffee/persistence/Storage.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
8
2018-02-18T21:00:07.000Z
2018-02-20T15:31:24.000Z
source/include/coffee/persistence/Storage.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
1
2018-02-09T07:09:26.000Z
2018-02-09T07:09:26.000Z
// MIT License // // Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@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 limitatio...
32.697248
109
0.745791
[ "object" ]
5ede5c1f34521f0c4962b6829edc694bbf89ee75
10,729
cpp
C++
src/render/imgui_renderer.cpp
jaihysc/Jactorio
d40cb9249f3b04f08a21c9d112533e540c1a6c7b
[ "MIT" ]
25
2020-04-02T15:54:23.000Z
2022-03-20T21:03:28.000Z
src/render/imgui_renderer.cpp
jaihysc/Jactorio
d40cb9249f3b04f08a21c9d112533e540c1a6c7b
[ "MIT" ]
3
2020-10-02T01:44:25.000Z
2022-02-23T13:22:23.000Z
src/render/imgui_renderer.cpp
jaihysc/Jactorio
d40cb9249f3b04f08a21c9d112533e540c1a6c7b
[ "MIT" ]
1
2021-03-27T20:38:04.000Z
2021-03-27T20:38:04.000Z
// This file is subject to the terms and conditions defined in 'LICENSE' in the source code package #include "render/imgui_renderer.h" #include <cstdint> // intptr_t #include "core/convert.h" #include "render/opengl/error.h" #include "render/renderer_common.h" using namespace jactorio; render::ImGuiRenderer::ImGui...
46.851528
120
0.606207
[ "render" ]
5eed276d4053bf98b416a358eeb92fd0cc1d2604
11,084
cpp
C++
ixbots/ixbots/IXCobraToSentryBot.cpp
spauldingmedical/IXWebSocket
3e09bb16cf0cad1fffaab8115f9bae54a137b485
[ "BSD-3-Clause" ]
null
null
null
ixbots/ixbots/IXCobraToSentryBot.cpp
spauldingmedical/IXWebSocket
3e09bb16cf0cad1fffaab8115f9bae54a137b485
[ "BSD-3-Clause" ]
null
null
null
ixbots/ixbots/IXCobraToSentryBot.cpp
spauldingmedical/IXWebSocket
3e09bb16cf0cad1fffaab8115f9bae54a137b485
[ "BSD-3-Clause" ]
null
null
null
/* * IXCobraToSentryBot.cpp * Author: Benjamin Sergeant * Copyright (c) 2019 Machine Zone, Inc. All rights reserved. */ #include "IXCobraToSentryBot.h" #include "IXQueueManager.h" #include <chrono> #include <ixcobra/IXCobraConnection.h> #include <spdlog/spdlog.h> #include <sstream> #include <thread> #include <...
36.222222
125
0.42214
[ "vector" ]
5eefae61841fb0762bbd5f746c96fee7dcd4d7b9
1,537
cpp
C++
solutions/LeetCode/C++/846.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/846.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/846.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 40 ms submission class Solution { public: bool isNStraightHand(vector<int>& hand, int W) { if(W==1) return true; if(hand.size()%W) return false; vector<int> cs(W,0); ...
26.964912
98
0.482759
[ "vector" ]
d672b6e06b43a0d20c4589a08b5234d1cddff2f1
2,611
hpp
C++
include/stackcpp/objects/tag.hpp
Rakete1111/stackcpp
ac47632332a5a2ecf01043d00c5568147a59eff8
[ "BSL-1.0" ]
4
2017-07-26T17:00:34.000Z
2021-08-04T06:41:32.000Z
include/stackcpp/objects/tag.hpp
Rakete1111/stackcpp
ac47632332a5a2ecf01043d00c5568147a59eff8
[ "BSL-1.0" ]
1
2017-08-09T15:57:54.000Z
2017-12-08T17:33:49.000Z
include/stackcpp/objects/tag.hpp
Rakete1111/stackcpp
ac47632332a5a2ecf01043d00c5568147a59eff8
[ "BSL-1.0" ]
1
2019-03-30T19:32:29.000Z
2019-03-30T19:32:29.000Z
// Boost Software License - Version 1.0 - August 17th, 2003 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit th...
34.813333
78
0.738797
[ "object", "vector" ]
d67a872afcccefe66ccbe008fb9d9720ff9854e8
782
cpp
C++
leetcode/archives_am/973.k-closest-points-to-origin.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
leetcode/archives_am/973.k-closest-points-to-origin.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
null
null
null
leetcode/archives_am/973.k-closest-points-to-origin.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
// https://leetcode.com/problems/k-closest-points-to-origin/ class Solution { public: vector<vector<int>> kClosest(vector<vector<int>>& points, int k) { vector<vector<int>> ans; priority_queue<pair<int, int>, vector<pair<int, int>>, greater<pair<int, int>>> pq; for(int i = 0; i < po...
28.962963
91
0.459079
[ "vector" ]
d684214a45a50db43109fbc0fc79331a6c8df0b1
10,321
cpp
C++
3rdParty/boost/1.71.0/libs/geometry/test/cs_undefined/setops.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
3rdParty/boost/1.71.0/libs/geometry/test/cs_undefined/setops.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
3rdParty/boost/1.71.0/libs/geometry/test/cs_undefined/setops.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
// Boost.Geometry // Copyright (c) 2019, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/license.html #include "common.hpp" #include <boost/geometry/algorithms/difference.hpp...
36.599291
85
0.635404
[ "geometry" ]
d68c137598fb392ec120382aa967f936c91ca060
6,461
cpp
C++
source/ai/rl/TD.cpp
SummitChen/opennero
1bb1ba083cf2576e09bb7cfeac013d6940a47afe
[ "BSD-3-Clause" ]
215
2015-08-26T19:41:28.000Z
2022-01-19T13:23:17.000Z
source/ai/rl/TD.cpp
SummitChen/opennero
1bb1ba083cf2576e09bb7cfeac013d6940a47afe
[ "BSD-3-Clause" ]
6
2015-11-03T19:40:24.000Z
2019-10-15T11:19:32.000Z
source/ai/rl/TD.cpp
SummitChen/opennero
1bb1ba083cf2576e09bb7cfeac013d6940a47afe
[ "BSD-3-Clause" ]
56
2015-08-26T19:42:05.000Z
2022-02-26T16:45:41.000Z
#include <cfloat> #include <vector> #include <algorithm> #include <iostream> #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/serialization/export.hpp> #include "core/Common.h" #include "math/Random.h" #include "Approximator.h" #include "ai/AI.h" #include "TD.h" n...
36.92
105
0.583811
[ "vector" ]
d68d8f5da712dd5a31e7ab71df0b7f471ba1a759
1,069
cpp
C++
src/FalconEngine/Graphics/Renderer/Scene/Light.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
6
2017-04-17T12:34:57.000Z
2019-10-19T23:29:59.000Z
src/FalconEngine/Graphics/Renderer/Scene/Light.cpp
Lywx/FalconEngine
c4d1fed789218d1994908b8dbbcd6c01961f9ef2
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Scene/Light.cpp
Lywx/FalconEngine
c4d1fed789218d1994908b8dbbcd6c01961f9ef2
[ "MIT" ]
2
2019-12-30T08:28:04.000Z
2020-08-05T09:58:53.000Z
#include <FalconEngine/Graphics/Renderer/Scene/Light.h> namespace FalconEngine { FALCON_ENGINE_RTTI_IMPLEMENT(Light, Object); /************************************************************************/ /* Constructors and Destructor */ /****************************************...
24.860465
74
0.449018
[ "object" ]
d68e7c91e3a039fc13573c6a28933ae719221026
43,071
cxx
C++
osprey/kgccfe/tree_symtab.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/kgccfe/tree_symtab.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/kgccfe/tree_symtab.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2006. QLogic Corporation. All Rights Reserved. */ /* Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. File modified June 20, 2003 by PathScale, Inc. to update Open64 C/C++ front-ends to GNU 3.2.2 release. */ /* Copyright (C) 2002 Tensilica, Inc. All Rights ...
30.633713
118
0.649509
[ "object", "vector", "model" ]
d69666ac2ab96444cabc27b2413b572d15bcc749
22,740
cc
C++
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_client_phy80211.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_client_phy80211.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_client_phy80211.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
/* This file is part of Kismet Kismet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Kismet is distributed in the ...
26.752941
104
0.647713
[ "vector" ]
d69b549c46b177667a125fcae1f3cb6f65344d2c
577
cpp
C++
ports/www/chromium-legacy/newport/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
1
2022-02-08T02:24:08.000Z
2022-02-08T02:24:08.000Z
ports/www/chromium-legacy/newport/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ports/www/chromium-legacy/newport/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
--- third_party/angle/src/gpu_info_util/SystemInfo_linux.cpp.orig 2019-03-11 22:07:59 UTC +++ third_party/angle/src/gpu_info_util/SystemInfo_linux.cpp @@ -71,10 +71,18 @@ bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo bool GetSystemInfo(SystemInfo *info) { +#if defined(__FreeBSD__) + if (!CollectMesaCard...
26.227273
89
0.639515
[ "vector" ]
d6a1c1ba516e99426ddfbff985597c0bd3ee47f6
475
cpp
C++
705-design-hashset/705-design-hashset.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
705-design-hashset/705-design-hashset.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
705-design-hashset/705-design-hashset.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
class MyHashSet { vector<bool> v; public: MyHashSet() { v.resize(1e6+1,false); } void add(int key) { v[key] = true; } void remove(int key) { v[key] = false; } bool contains(int key) { return v[key]; } }; /** * Your MyHashSet object wil...
17.592593
65
0.530526
[ "object", "vector" ]
d6a2d923adb07f421d6fc0394ba1b773dc1c4c89
635
cpp
C++
triplets with sum greater than 1 and smaller than 2.cpp
nandani99/Hacktoberfest-1
83cdd9f6b5538fa266d0617d53409852111c89b5
[ "MIT" ]
null
null
null
triplets with sum greater than 1 and smaller than 2.cpp
nandani99/Hacktoberfest-1
83cdd9f6b5538fa266d0617d53409852111c89b5
[ "MIT" ]
null
null
null
triplets with sum greater than 1 and smaller than 2.cpp
nandani99/Hacktoberfest-1
83cdd9f6b5538fa266d0617d53409852111c89b5
[ "MIT" ]
null
null
null
int tiplets_with_sum(vector<string> &A) { //triplets with sum between 1 and 2 vector<float>v; for(int i=0;i<A.size();i++){ v.push_back(stof(A[i])); } sort(v.begin(),v.end()); int i=0; int j=v.size()-1; int k=i+1; if(v[0]>=2){ return 0; } whi...
19.84375
42
0.344882
[ "vector" ]
d6a4b18f001f714f589de50e66e11c99de5b21c1
12,131
hh
C++
Ghidra/Features/Decompiler/src/decompile/cpp/flow.hh
sigurasg/ghidra
ee268dea09d8f2632d73b0d00cdda3a377a744e1
[ "Apache-2.0" ]
115
2020-04-29T22:58:59.000Z
2022-03-21T05:42:12.000Z
Ghidra/Features/Decompiler/src/decompile/cpp/flow.hh
sigurasg/ghidra
ee268dea09d8f2632d73b0d00cdda3a377a744e1
[ "Apache-2.0" ]
12
2021-05-25T05:06:50.000Z
2021-10-13T04:35:50.000Z
Ghidra/Features/Decompiler/src/decompile/cpp/flow.hh
sigurasg/ghidra
ee268dea09d8f2632d73b0d00cdda3a377a744e1
[ "Apache-2.0" ]
19
2020-04-29T12:29:46.000Z
2022-03-10T02:41:17.000Z
/* ### * IP: GHIDRA * * 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 writin...
72.208333
146
0.74289
[ "object", "vector", "model" ]
d6aa1a9eca669f4b78b3032cb3ba9aa24ceb663d
822
cpp
C++
origin/sequence/range.test/reference_of.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
7
2017-11-22T19:11:00.000Z
2020-08-16T15:53:10.000Z
origin/sequence/range.test/reference_of.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
null
null
null
origin/sequence/range.test/reference_of.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
1
2020-08-07T12:31:36.000Z
2020-08-07T12:31:36.000Z
// Copyright (c) 2008-2010 Kent State University // Copyright (c) 2011-2012 Texas A&M University // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #include <iostream> #include <iterator> #inc...
26.516129
78
0.721411
[ "vector" ]
d6aea9d1360c5ffbf26ee18e4b331be1ab9dae15
1,233
cpp
C++
PETCS/Advanced/sssp_spfa.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Advanced/sssp_spfa.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Advanced/sssp_spfa.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MAX = 1005; const int INF = 0x3f3f3f3f; int N, M, S, T, dist[MAX]; vector<pair<int, int>> adj[MAX]; int spfa(int s, int t) { fill(dist, dist+MAX, INF); dist[s] = 0; deque<int> q; q.push_back(s); while(!q.empty()) { auto u = q.front(); q...
25.6875
60
0.418491
[ "vector" ]
d6b0295ae2786f6b3491ba658fb8482bc2109386
20,183
cpp
C++
src/providers/grass/qgsgrassvectormap.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/providers/grass/qgsgrassvectormap.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/providers/grass/qgsgrassvectormap.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsgrassvectormap.cpp ------------------- begin : September, 2015 copyright : (C) 2015 by Radim Blazek email : radim.blazek@gmail.com...
24.88656
142
0.61968
[ "vector" ]
d6b0f549a4f7e30e068b21c1404dea976d8659f0
8,037
hpp
C++
src/core/problems/TChem_Impl_PlugFlowReactor_Problem.hpp
kyungjoo-kim/TChem
69915ca8de71df9a6a463aae45c5bd6db31646bc
[ "BSD-2-Clause" ]
null
null
null
src/core/problems/TChem_Impl_PlugFlowReactor_Problem.hpp
kyungjoo-kim/TChem
69915ca8de71df9a6a463aae45c5bd6db31646bc
[ "BSD-2-Clause" ]
null
null
null
src/core/problems/TChem_Impl_PlugFlowReactor_Problem.hpp
kyungjoo-kim/TChem
69915ca8de71df9a6a463aae45c5bd6db31646bc
[ "BSD-2-Clause" ]
1
2022-02-26T18:04:44.000Z
2022-02-26T18:04:44.000Z
/* ===================================================================================== TChem version 2.0 Copyright (2020) NTESS https://github.com/sandialabs/TChem Copyright 2020 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Governme...
35.879464
88
0.646137
[ "object", "3d" ]
d6bdc5a8b3e1c25912053fe193332b256fc754ca
4,184
cpp
C++
Online Judges/UVA/10020/5139508_AC_26ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
4
2017-02-20T17:41:14.000Z
2019-07-15T14:15:34.000Z
Online Judges/UVA/10020/5139508_AC_26ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
Online Judges/UVA/10020/5139508_AC_26ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * :Krishna (MRoy) * * :JU * * :mkroy.cs@gmail.com * * * * * * * * * * * * */ #include <bits/stdc++.h> //~ c #include <cctype> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <cassert> #include <climits...
26.15
117
0.510277
[ "vector" ]
d6bf8f1952d8f8cc0b336d447091fc09ac781252
7,899
cpp
C++
medgpc/src/inference/c_inference_exact.cpp
bee-hive/MedGP
596a24ca519900507cce42cb4e2061319cef801e
[ "BSD-3-Clause" ]
25
2018-03-18T18:09:03.000Z
2022-02-24T07:47:33.000Z
medgpc/src/inference/c_inference_exact.cpp
bee-hive/MedGP
596a24ca519900507cce42cb4e2061319cef801e
[ "BSD-3-Clause" ]
3
2021-04-12T16:11:00.000Z
2021-04-12T16:26:17.000Z
medgpc/src/inference/c_inference_exact.cpp
bee-hive/MedGP
596a24ca519900507cce42cb4e2061319cef801e
[ "BSD-3-Clause" ]
4
2019-04-27T23:18:26.000Z
2021-12-03T20:19:09.000Z
/* ------------------------------------------------------------------------- This is the function file for the class exact inference. ------------------------------------------------------------------------- */ #include <iostream> #include <vector> #include <string> #include <assert.h> #include <mkl.h> #include <omp.h>...
32.240816
132
0.528295
[ "vector" ]
d6c0f5e98592ed20be012716d135d2943f382692
13,320
cpp
C++
src/BabylonCpp/src/maths/path3d.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/BabylonCpp/src/maths/path3d.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/BabylonCpp/src/maths/path3d.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/maths/path3d.h> #include <babylon/babylon_stl_util.h> #include <babylon/maths/scalar.h> #include <babylon/misc/tools.h> namespace BABYLON { Path3D::Path3D() = default; Path3D::Path3D(const std::vector<Vector3>& iPath, const std::optional<Vector3>& firstNormal, bool raw, b...
29.082969
101
0.620571
[ "vector" ]
d6c9c52279613c951c12cfcf9d85a0f5fad84ab1
1,868
cpp
C++
test/unit/meta/cardinal.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
test/unit/meta/cardinal.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
test/unit/meta/cardinal.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
32.206897
100
0.496253
[ "vector" ]
d6ca747e84753d2d8462b8284bbfe215a456f902
3,336
cpp
C++
Implementations/11 - Math (4)/Numerical/Vector Operators.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
Implementations/11 - Math (4)/Numerical/Vector Operators.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
Implementations/11 - Math (4)/Numerical/Vector Operators.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
/** * Description: modular arithmetic with vectors * use for NTT * Source: Own * Verification: see FFT */ namespace vecOp { template<class T> vector<T> rev(vector<T> v) { reverse(all(v)); return v; } template<class T> vector<T> shift(vector<T> v, int x) { v.insert(v.begin(),x,0); return v; } templa...
40.192771
104
0.516487
[ "vector" ]
d6cfd18797ddf0d8683a562420d3b8783d12a1b4
1,444
hpp
C++
lumino/Graphics/include/LuminoGraphics/RHI/DepthBuffer.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
30
2016-01-24T05:35:45.000Z
2020-03-03T09:54:27.000Z
lumino/Graphics/include/LuminoGraphics/RHI/DepthBuffer.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/Graphics/include/LuminoGraphics/RHI/DepthBuffer.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
5
2016-04-03T02:52:05.000Z
2018-01-02T16:53:06.000Z
// Copyright (c) 2019+ lriki. Distributed under the MIT license. #pragma once #include "GraphicsResource.hpp" namespace ln { /** 深度バッファのクラスです。 */ class DepthBuffer : public Object , public IGraphicsResource { public: /** * 深度バッファを作成します。 * @param[in] width : 幅 (px 単位) * @param[in] hei...
25.333333
91
0.682133
[ "object" ]
d6d2346e2db4c7a730bd7d49a007fc28555d3b05
4,638
hpp
C++
include/indicators/progress_spinner.hpp
sdmg15/indicators
a41c7c118ec4170ab2302bc75e2c540d1a65d788
[ "BSD-3-Clause", "MIT" ]
1
2021-09-18T22:25:23.000Z
2021-09-18T22:25:23.000Z
include/indicators/progress_spinner.hpp
sdmg15/indicators
a41c7c118ec4170ab2302bc75e2c540d1a65d788
[ "BSD-3-Clause", "MIT" ]
null
null
null
include/indicators/progress_spinner.hpp
sdmg15/indicators
a41c7c118ec4170ab2302bc75e2c540d1a65d788
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* Activity Indicators for Modern C++ https://github.com/p-ranav/indicators Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2019 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>. Permission is hereby granted, free of charge, to any person obtain...
29.169811
92
0.667529
[ "vector" ]
d6d3166e9bc3a90ebc2423d65a17eb502fc3de81
1,903
hpp
C++
clove/components/core/graphics/include/Clove/Graphics/Metal/MetalDescriptorPool.hpp
AGarlicMonkey/Garlic
4f439b789b7db9fc7b2c104705f259c318be62fd
[ "MIT" ]
33
2020-01-09T04:57:29.000Z
2021-08-14T08:02:43.000Z
clove/components/core/graphics/include/Clove/Graphics/Metal/MetalDescriptorPool.hpp
AGarlicMonkey/Garlic
4f439b789b7db9fc7b2c104705f259c318be62fd
[ "MIT" ]
234
2019-10-25T06:04:35.000Z
2021-08-18T05:47:41.000Z
clove/components/core/graphics/include/Clove/Graphics/Metal/MetalDescriptorPool.hpp
AGarlicMonkey/Garlic
4f439b789b7db9fc7b2c104705f259c318be62fd
[ "MIT" ]
4
2020-02-11T15:28:42.000Z
2020-09-07T16:22:58.000Z
#pragma once #include "Clove/Graphics/GhaDescriptorPool.hpp" #include <MetalKit/MetalKit.h> #include <unordered_map> #include <vector> namespace clove { class MetalDescriptorSet; } namespace clove { class MetalDescriptorPool : public GhaDescriptorPool { //TYPES private: class BufferPool { //TYPES pri...
25.373333
141
0.730426
[ "vector" ]
d6de1ce21d13b1cb1a5e6a93998b1d9516105b47
6,336
cpp
C++
examples/__oldFiles__/bufferInstancing.cpp
maldicion069/monkeybrush-
2bccca097402ff1f5344e356f06de19c8c70065b
[ "MIT" ]
1
2016-11-15T09:04:12.000Z
2016-11-15T09:04:12.000Z
examples/__oldFiles__/bufferInstancing.cpp
maldicion069/monkeybrush-
2bccca097402ff1f5344e356f06de19c8c70065b
[ "MIT" ]
null
null
null
examples/__oldFiles__/bufferInstancing.cpp
maldicion069/monkeybrush-
2bccca097402ff1f5344e356f06de19c8c70065b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 maldicion069 * * Authors: Cristian Rodríguez Bernal <ccrisrober@gmail.com> * * This file is part of MonkeyBrushPlusPlus <https://github.com/maldicion069/monkeybrushplusplus> * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Pu...
28.669683
120
0.613005
[ "geometry", "vector", "model" ]
d6e09aa4fd38a7bce6e682ed5ab0c1d7098cb204
3,927
cxx
C++
Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilterWithoutReader.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilterWithoutReader.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilterWithoutReader.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
25.5
93
0.71454
[ "vector" ]
d6e40c96615875af75048c974a0cce3f8ad389fe
10,509
cpp
C++
bindings/Fortran/f2c/adios2_f2c_variable.cpp
germasch/ADIOS2
9930706da50ebb59dda9c1ef3ee51992e8ce217a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
bindings/Fortran/f2c/adios2_f2c_variable.cpp
germasch/ADIOS2
9930706da50ebb59dda9c1ef3ee51992e8ce217a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
bindings/Fortran/f2c/adios2_f2c_variable.cpp
germasch/ADIOS2
9930706da50ebb59dda9c1ef3ee51992e8ce217a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * adios2_f2c_variable.cpp * * Created on: Nov 12, 2017 * Author: William F Godoy godoywf@ornl.gov */ #include "adios2_f2c_common.h" #include "adios2/helper/adiosFunctions.h" #ifdef...
32.636646
80
0.517937
[ "shape", "vector" ]
d6e768b97e33ac1fb897681e3c39f55a591a70e2
10,252
cpp
C++
src/objs/Projections.cpp
nasa-jpl/Cassini_RADAR_Software
93a5be34d013c2913cf74f06e01c59b625bb4a17
[ "Apache-2.0" ]
4
2021-08-12T23:55:41.000Z
2022-02-23T03:32:46.000Z
src/objs/Projections.cpp
nasa-jpl/Cassini_RADAR_Software
93a5be34d013c2913cf74f06e01c59b625bb4a17
[ "Apache-2.0" ]
null
null
null
src/objs/Projections.cpp
nasa-jpl/Cassini_RADAR_Software
93a5be34d013c2913cf74f06e01c59b625bb4a17
[ "Apache-2.0" ]
null
null
null
// Class Methods for OblCylProj static const char rcs_id_projections_c[] = "@(#) $Id: Projections.cpp,v 11.5 2011/09/16 00:03:30 richw Exp $"; #include<string> #include"SARFunctions.h" #include"Projections.h" #include"Constants.h" #include"DebugInfo.h" using std::string; using std::endl; //-------------- // Cons...
33.834983
79
0.570328
[ "vector" ]
d6ea79b0d50c483d55af3a459d58e67c55fb39d1
294
cpp
C++
less_equal.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
less_equal.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
less_equal.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> #include <vector> #include <functional> using namespace std; int main(int args, char **argv) { //template<class _Ty = void> struct std::less_equal<_Ty> std::less_equal<int> le; cout << le(5, 10) << endl; return 0; }
18.375
60
0.656463
[ "vector" ]
d6ec8b48a79d7e820eb44fd826cae6f00f82ff7d
1,429
cpp
C++
Code/Projects/Rosa/src/SDPs/sdprosafoliage.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
6
2022-01-22T02:18:07.000Z
2022-02-14T09:30:53.000Z
Code/Projects/Rosa/src/SDPs/sdprosafoliage.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
null
null
null
Code/Projects/Rosa/src/SDPs/sdprosafoliage.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
null
null
null
#include "core.h" #include "sdprosafoliage.h" #include "irenderer.h" #include "mesh.h" #include "rosamesh.h" #include "vector4.h" #include "matrix.h" #include "rosaframework.h" #include "rosagame.h" #include "clock.h" #include "view.h" SDPRosaFoliage::SDPRosaFoliage() { } SDPRosaFoliage::~SDPRosaFoliage() { } /*virt...
29.163265
132
0.760672
[ "mesh" ]
d6eed1fd1b5ec27881a802de8bf49624c265a67c
9,903
cpp
C++
ablateLibrary/boundarySolver/lodi/inlet.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
null
null
null
ablateLibrary/boundarySolver/lodi/inlet.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
8
2020-12-28T16:05:56.000Z
2021-01-12T14:36:22.000Z
ablateLibrary/boundarySolver/lodi/inlet.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
1
2021-12-14T22:39:13.000Z
2021-12-14T22:39:13.000Z
#include "inlet.hpp" #include <utilities/mathUtilities.hpp> #include "finiteVolume/compressibleFlowFields.hpp" using fp = ablate::finiteVolume::processes::FlowProcess; ablate::boundarySolver::lodi::Inlet::Inlet(std::shared_ptr<eos::EOS> eos) : LODIBoundary(std::move(eos)) {} void ablate::boundarySolver::lodi::Inlet:...
56.588571
186
0.566697
[ "vector" ]
d6f7f8319b89b10ee73a645d67121f17ec3c9c73
2,791
cc
C++
components/autofill_assistant/browser/actions/show_details_action.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/autofill_assistant/browser/actions/show_details_action.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/autofill_assistant/browser/actions/show_details_action.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill_assistant/browser/actions/show_details_action.h" #include <memory> #include <utility> #include <vector> #include "base/bin...
36.723684
79
0.717306
[ "vector" ]
d6fd51a54f3fc552588e42cc7fc4f321598af1c3
3,448
cpp
C++
src/plugins/gmailnotifier/notifier.cpp
rayslava/leechcraft
4ecc8aa56dc6030d2593922ff41b00ff50902db8
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/gmailnotifier/notifier.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
null
null
null
src/plugins/gmailnotifier/notifier.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
35.546392
94
0.661253
[ "object" ]
d90123746d9be28874eef0616568409655e2867f
874
cpp
C++
3-Problem_Solving_Paradigms/3.2-Complete_Search/2-Iterative_(Two_Nested_Loops)/vitorvgc/10487.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
1
2017-11-16T10:56:17.000Z
2017-11-16T10:56:17.000Z
3-Problem_Solving_Paradigms/3.2-Complete_Search/2-Iterative_(Two_Nested_Loops)/vitorvgc/10487.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
null
null
null
3-Problem_Solving_Paradigms/3.2-Complete_Search/2-Iterative_(Two_Nested_Loops)/vitorvgc/10487.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int l[1010]; int main() { int n, m, caso = 0; while(scanf("%d", &n) && n) { for(int i = 0; i < n; ++i) scanf("%d", &l[i]); vector<int> v; for(int i = 0; i < n; ++i) for(int j = i+1; j < n; ++j) v.pu...
21.85
72
0.356979
[ "vector" ]
d9019848460cf75488255d01f451c7878e9a8146
6,845
cpp
C++
external/webkit/Source/WebCore/platform/network/ResourceHandle.cpp
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Source/WebCore/platform/network/ResourceHandle.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
Source/WebCore/platform/network/ResourceHandle.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
/* * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * not...
29.50431
184
0.725931
[ "vector" ]
d901b6ded5707b3418a3dd68c1c54926c4faeff3
6,830
cpp
C++
src/Client/ClientConsole.cpp
Stral9315/xsngine
4a4afe21f12483dbe266113b17a4b51ea850ee56
[ "MIT" ]
13
2015-02-05T22:44:29.000Z
2021-09-04T21:28:10.000Z
src/Client/ClientConsole.cpp
Stral9315/xsngine
4a4afe21f12483dbe266113b17a4b51ea850ee56
[ "MIT" ]
47
2015-03-23T14:11:06.000Z
2017-05-21T05:14:57.000Z
src/Client/ClientConsole.cpp
Stral9315/xsngine
4a4afe21f12483dbe266113b17a4b51ea850ee56
[ "MIT" ]
7
2015-04-29T00:48:23.000Z
2018-04-01T13:12:40.000Z
#include <algorithm> #include "Common/Common.h" #include "Common/Console.h" #include "Common/Cvar.h" #include "Common/MessageBuffer.h" #include "Common/String.h" #include "Common/Colours.h" #include "Input/InputField.h" #include "Client/Client.h" #include "Client/ClientConsole.h" #include "Input/Mouse.h" #include "Ren...
25.969582
101
0.638507
[ "vector" ]
d90b4389bf1da450d39872eef4637db16760a352
5,295
cpp
C++
example-AllComponentsGui/src/ofApp.cpp
oneandonlyoddo/ofxDatGuiFork
ae304810792f0b3a5618735b86fd094ac2b2aae4
[ "MIT" ]
1
2018-04-27T22:48:37.000Z
2018-04-27T22:48:37.000Z
example-AllComponentsGui/src/ofApp.cpp
oneandonlyoddo/ofxDatGuiFork
ae304810792f0b3a5618735b86fd094ac2b2aae4
[ "MIT" ]
1
2018-07-13T14:40:32.000Z
2018-07-13T14:40:32.000Z
example-AllComponentsGui/src/ofApp.cpp
oneandonlyoddo/ofxDatGuiFork
ae304810792f0b3a5618735b86fd094ac2b2aae4
[ "MIT" ]
5
2016-08-01T03:37:00.000Z
2019-05-30T04:33:53.000Z
#include "ofApp.h" /* All components instantiated within a gui https://github.com/braitsch/ofxDatGui @braitsch */ void ofApp::setup() { // instantiate and position the gui // gui = new ofxDatGui( ofxDatGuiAnchor::TOP_RIGHT ); // add some components // gui->addTextInput("message", "# open framewor...
31.147059
104
0.638527
[ "vector" ]
d9101ab3047e37eea6acca307c1ca10caf93ceaa
3,017
hpp
C++
Code/Include/maxGif/Parsing/LogicalScreenDescriptorBlockToken.hpp
ProgramMax/maxGif
de509a1512dd56015c7f044bfc177ae662e57694
[ "BSD-3-Clause" ]
1
2016-11-13T17:50:10.000Z
2016-11-13T17:50:10.000Z
Code/Include/maxGif/Parsing/LogicalScreenDescriptorBlockToken.hpp
ProgramMax/maxGif
de509a1512dd56015c7f044bfc177ae662e57694
[ "BSD-3-Clause" ]
23
2016-11-13T18:41:42.000Z
2017-12-27T13:58:07.000Z
Code/Include/maxGif/Parsing/LogicalScreenDescriptorBlockToken.hpp
ProgramMax/maxGif
de509a1512dd56015c7f044bfc177ae662e57694
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016, The maxGif Contributors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MAXGIF_PARSING_LOGICALSCREENDESCRIPTORBLOCKTOKEN_HPP #define MAXGIF_PARSING_LOGICALSCREENDESCRIPTORBLOCKTOKEN_HPP #include <max/Compiling/Cur...
29.578431
126
0.758701
[ "vector" ]
d919fe08335be5967355c8adf36c5a31262fcfb1
1,293
cpp
C++
N0994-Rotting-Oranges/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0994-Rotting-Oranges/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0994-Rotting-Oranges/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
class Solution { int cnt = 0; int dis[10][10]; static constexpr int dirs[4][2] = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}}; public: int orangesRotting(vector<vector<int>>& grid) { queue<pair<int ,int>> que; memset(dis, -1, sizeof(dis)); int n = grid.size(), m = grid[0].size(), ans = 0; ...
32.325
101
0.349575
[ "vector" ]
d91af5255c6c9c80b793092f5bf747d5b715ce3d
6,290
cpp
C++
Vision/src/Vision/Platform/Windows/Win32FileSystem.cpp
ProjectElon/Vision
b3294565ab6bf79b84e163a5fdc448a36f163672
[ "MIT" ]
4
2020-01-10T12:43:02.000Z
2020-10-28T02:01:58.000Z
Vision/src/Vision/Platform/Windows/Win32FileSystem.cpp
ProjectElon/Vision
b3294565ab6bf79b84e163a5fdc448a36f163672
[ "MIT" ]
null
null
null
Vision/src/Vision/Platform/Windows/Win32FileSystem.cpp
ProjectElon/Vision
b3294565ab6bf79b84e163a5fdc448a36f163672
[ "MIT" ]
null
null
null
#include "pch.hpp" #include "Vision/Core/Defines.h" #ifdef VN_PLATFORM_WINDOWS #include "Vision/Platform/FileSystem.h" #include <windows.h> #include <fileapi.h> namespace Vision { bool FileSystem::FileExists(const std::string& filepath) { DWORD attributes = GetFileAttributesA(filepath.c_str()); ...
29.669811
160
0.540859
[ "vector" ]
d91d08a943d3d4e1fe3791eddc235cf7de73008b
1,413
cpp
C++
SWExpertAcademy/SWEA1215.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-07-08T23:16:19.000Z
2020-07-08T23:16:19.000Z
SWExpertAcademy/SWEA1215.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-05-16T03:12:24.000Z
2020-05-16T03:14:42.000Z
SWExpertAcademy/SWEA1215.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
2
2020-05-16T03:25:16.000Z
2021-02-10T16:51:25.000Z
#include <iostream> #include <vector> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); for(int test_case = 1; test_case <= 10; test_case++) { int n; cin >> n; vector<vector<char> > vi(8, vector<char>(8)); for(int i ...
26.660377
59
0.295824
[ "vector" ]
0baac47cd7e0ce92dfa33d45adee2d6143556dd4
2,729
cpp
C++
tests/libs/trilinos/tests/lesson_tpetra_init.cpp
viniciusferrao/ohpc
edae86737aeeeee1a9d0c1e6a1ac7139d5fce971
[ "Apache-2.0" ]
692
2015-11-12T13:56:43.000Z
2022-03-30T03:45:59.000Z
tests/libs/trilinos/tests/lesson_tpetra_init.cpp
viniciusferrao/ohpc
edae86737aeeeee1a9d0c1e6a1ac7139d5fce971
[ "Apache-2.0" ]
1,096
2015-11-12T09:08:22.000Z
2022-03-31T21:48:41.000Z
tests/libs/trilinos/tests/lesson_tpetra_init.cpp
viniciusferrao/ohpc
edae86737aeeeee1a9d0c1e6a1ac7139d5fce971
[ "Apache-2.0" ]
224
2015-11-12T21:17:03.000Z
2022-03-30T00:57:48.000Z
/*! \example lesson01_mpi_only_through_Tpetra.cpp \brief Initialization example for a code that only uses MPI through Tpetra. \ref Tpetra_Lesson01 gives a full description of this example. */ // // This example includes MPI initialization, getting a Teuchos::Comm // communicator, and printing out Tpetra version infor...
34.544304
77
0.689996
[ "object" ]
0bac70f981b2787af4a8ac4603c7c421ca0aebc7
5,392
cpp
C++
src/mongo/db/catalog/index_build_entry_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/catalog/index_build_entry_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/catalog/index_build_entry_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
39.357664
95
0.728672
[ "vector" ]
0bad8d0d86e4cee41ce6e83f236b73c6106188b5
7,382
cpp
C++
assets/win32/winclip.cpp
ajeep8/vscode-vditor
e872345e6538db59f995fb90d2a2f8917877229a
[ "MIT" ]
null
null
null
assets/win32/winclip.cpp
ajeep8/vscode-vditor
e872345e6538db59f995fb90d2a2f8917877229a
[ "MIT" ]
null
null
null
assets/win32/winclip.cpp
ajeep8/vscode-vditor
e872345e6538db59f995fb90d2a2f8917877229a
[ "MIT" ]
null
null
null
#include <windows.h> #include <stdio.h> #include <string> #include <vector> #include <map> #include <algorithm> #include <sstream> #include <iomanip> typedef struct { UINT format; char *name; } FORMATDATA; FORMATDATA formatlist[] = { {CF_TEXT, "ANSI text"}, {CF_BITMAP, "Handle to a bitmap (GDI object)"}, {CF_MET...
25.280822
90
0.633162
[ "object", "vector" ]
0bb56af23689fabeba1cc897225b8f0376fc6036
16,335
cpp
C++
examples/video/enroll_callback.cpp
Sensory-Cloud/cpp-sdk
9bd5171c529f6a5d6fa6b8ff58994a1709212709
[ "Apache-2.0" ]
3
2022-01-04T20:03:24.000Z
2022-01-10T19:12:59.000Z
examples/video/enroll_callback.cpp
Sensory-Cloud/cpp-sdk
9bd5171c529f6a5d6fa6b8ff58994a1709212709
[ "Apache-2.0" ]
null
null
null
examples/video/enroll_callback.cpp
Sensory-Cloud/cpp-sdk
9bd5171c529f6a5d6fa6b8ff58994a1709212709
[ "Apache-2.0" ]
null
null
null
// An example of face services based on OpenCV camera streams. // // Author: Christian Kauten (ckauten@sensoryinc.com) // // Copyright (c) 2021 Sensory, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to dea...
44.631148
107
0.615733
[ "object", "vector", "model" ]
0bba5ebb7650cc35d8b8ea06fe170b7d62e4f92d
30,895
cpp
C++
src/frontends/onnx/frontend/src/op/com.microsoft/attention.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/frontends/onnx/frontend/src/op/com.microsoft/attention.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/frontends/onnx/frontend/src/op/com.microsoft/attention.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "op/com.microsoft/attention.hpp" #include "default_opset.hpp" #include "ngraph/builder/split.hpp" #include "onnx_import/core/null_node.hpp" namespace ngraph { namespace onnx_import { namespace op { namespace detail { name...
56.275046
165
0.647419
[ "shape", "vector", "transform" ]
0bc1f8c1b5daa3537a1ec63eec3230cdeda4a686
7,198
cpp
C++
sources/model/AssembleOptions.cpp
groupdocs-assembly-cloud/assembly-cpp-sdk
a6c6049d745a0203cbe3812d66b81f9952758349
[ "MIT" ]
null
null
null
sources/model/AssembleOptions.cpp
groupdocs-assembly-cloud/assembly-cpp-sdk
a6c6049d745a0203cbe3812d66b81f9952758349
[ "MIT" ]
null
null
null
sources/model/AssembleOptions.cpp
groupdocs-assembly-cloud/assembly-cpp-sdk
a6c6049d745a0203cbe3812d66b81f9952758349
[ "MIT" ]
null
null
null
/** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="AssembleOptions.cpp"> * Copyright (c) 2021 GroupDocs.Assembly for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any perso...
27.578544
125
0.66963
[ "object" ]
0bc801dce45fd5e34d21c18e53c18d158ae915d1
476,893
cpp
C++
solvers/WAM7_arm.cpp
Stonelinks/js-iksolvers
e911d6e24b6e4a4f2c61753a1a0d1721f8560ff2
[ "MIT" ]
null
null
null
solvers/WAM7_arm.cpp
Stonelinks/js-iksolvers
e911d6e24b6e4a4f2c61753a1a0d1721f8560ff2
[ "MIT" ]
null
null
null
solvers/WAM7_arm.cpp
Stonelinks/js-iksolvers
e911d6e24b6e4a4f2c61753a1a0d1721f8560ff2
[ "MIT" ]
1
2020-09-21T13:02:41.000Z
2020-09-21T13:02:41.000Z
/// autogenerated analytical inverse kinematics code from ikfast program part of OpenRAVE /// \author Rosen Diankov /// /// 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....
28.324108
606
0.637239
[ "object", "vector" ]
0bca27e8cd193863611a980eefae3c08d0ee896a
4,881
cpp
C++
src/web/server.cpp
Kotwic4/tig
fbf7498d47bc7177ee6bb6cfab2dda251f28fb62
[ "MIT" ]
3
2017-06-08T10:00:30.000Z
2020-12-19T05:26:47.000Z
src/web/server.cpp
Kotwic4/tig
fbf7498d47bc7177ee6bb6cfab2dda251f28fb62
[ "MIT" ]
null
null
null
src/web/server.cpp
Kotwic4/tig
fbf7498d47bc7177ee6bb6cfab2dda251f28fb62
[ "MIT" ]
null
null
null
#include "server.h" #include "../util/status.h" #include "../util/common.h" int server_port; int web_sock; int epoll_fd; struct epoll_event event; void init_server_web(){ if((epoll_fd = epoll_create1(0)) == -1){ perror("epoll_create1"); exit(EXIT_FAILURE); } event.events = EPOLLIN | EPOLL...
27.732955
78
0.527761
[ "vector" ]
0bceca320da3a7fb6f7167de1297b65e87f078da
2,112
hpp
C++
Screening/screening_rules.hpp
LedererLab/FOS
7fe5391fda4a94618db4418943c91f9acadf9140
[ "MIT" ]
4
2017-05-01T06:26:45.000Z
2020-11-27T04:20:22.000Z
Screening/screening_rules.hpp
LedererLab/FOS
7fe5391fda4a94618db4418943c91f9acadf9140
[ "MIT" ]
null
null
null
Screening/screening_rules.hpp
LedererLab/FOS
7fe5391fda4a94618db4418943c91f9acadf9140
[ "MIT" ]
null
null
null
#ifndef SCREENING_RULES_HPP #define SCREENING_RULES_HPP // C System-Headers // // C++ System headers #include <vector> // Eigen Headers #include <eigen3/Eigen/Dense> // Boost Headers // // Project Specific Headers #include "../Generic/generics.hpp" namespace hdim { template < typename T > Eigen::Matrix< T, Eigen::Dy...
28.16
101
0.60464
[ "vector" ]
0bd345efd6394b4c1ce3191d16368714f884732f
5,195
cpp
C++
Function Wrapper/test.cpp
Himanshu-Singh-1/AdvancedObjectOrientedProgramming
9a9c8c76279d482daa9172b0dec40e1674d1e038
[ "Apache-2.0" ]
null
null
null
Function Wrapper/test.cpp
Himanshu-Singh-1/AdvancedObjectOrientedProgramming
9a9c8c76279d482daa9172b0dec40e1674d1e038
[ "Apache-2.0" ]
null
null
null
Function Wrapper/test.cpp
Himanshu-Singh-1/AdvancedObjectOrientedProgramming
9a9c8c76279d482daa9172b0dec40e1674d1e038
[ "Apache-2.0" ]
null
null
null
#include "Function.hpp" #include <iostream> #include <cassert> int ret_one_hundred_func() { return 100; } struct ret_two_hundred_functor_t { int operator()(){ return 200; } }; int sumrange(int a, int b) { assert(a <= b); return a < b ? a + sumrange(a + 1, b) : b; } int main(void) { auto...
30.922619
122
0.564389
[ "object" ]
0bd3f4e5b476213c95a19646fbbe1cd10594c5a6
8,929
cpp
C++
toonz/sources/stdfx/igs_resource_msg_from_err_unix.cpp
jcome/opentoonz
b660920f35ce279526fd7e7ca7ff600adfe5c28b
[ "BSD-3-Clause" ]
36
2020-05-18T22:26:35.000Z
2022-02-19T00:09:25.000Z
toonz/sources/stdfx/igs_resource_msg_from_err_unix.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
22
2017-03-16T18:52:36.000Z
2019-09-09T06:02:53.000Z
toonz/sources/stdfx/igs_resource_msg_from_err_unix.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
8
2020-06-12T17:01:20.000Z
2021-09-15T07:03:12.000Z
#include <cerrno> #include <cstring> /* memset */ #include <vector> #include <stdexcept> // std::domain_error(-) #include <locale> #include <iconv.h> #include "igs_resource_msg_from_err.h" /*------ localeを日本に設定し日本語を扱うことを指示(必須) 使う文字コードは"locale -a"で調べる */ void igs::resource::locale_to_jp(void) { setlocale(LC_CTYPE, "ja...
27.903125
80
0.607459
[ "vector" ]
0bdb79923457b82600fb3948254947c8e70ac0c4
9,913
cpp
C++
Microsoft.WindowsAzure.Storage/src/authentication.cpp
ShippyMSFT/azure-storage-cpp
ee3a3f7db31a39ed5041fe1cb947c784ce64295b
[ "Apache-2.0" ]
null
null
null
Microsoft.WindowsAzure.Storage/src/authentication.cpp
ShippyMSFT/azure-storage-cpp
ee3a3f7db31a39ed5041fe1cb947c784ce64295b
[ "Apache-2.0" ]
null
null
null
Microsoft.WindowsAzure.Storage/src/authentication.cpp
ShippyMSFT/azure-storage-cpp
ee3a3f7db31a39ed5041fe1cb947c784ce64295b
[ "Apache-2.0" ]
1
2021-08-02T15:58:34.000Z
2021-08-02T15:58:34.000Z
// ----------------------------------------------------------------------------------------- // <copyright file="authentication.cpp" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complian...
42.91342
169
0.639463
[ "transform" ]
0bf0d20d616df00541184bf062ce9e03efba1e24
1,603
cpp
C++
src/libminc/MincPostfixExpr.cpp
RcSepp/minc
8add46095ba7990ca636a6e6c266dda4148052fd
[ "MIT" ]
null
null
null
src/libminc/MincPostfixExpr.cpp
RcSepp/minc
8add46095ba7990ca636a6e6c266dda4148052fd
[ "MIT" ]
null
null
null
src/libminc/MincPostfixExpr.cpp
RcSepp/minc
8add46095ba7990ca636a6e6c266dda4148052fd
[ "MIT" ]
null
null
null
#include "minc_api.hpp" MincPostfixExpr::MincPostfixExpr(const MincLocation& loc, int op, const char* opstr, MincExpr* a) : MincExpr(loc, MincExpr::ExprType::POSTOP), op(op), a(a), opstr(opstr) { } bool MincPostfixExpr::match(const MincBlockExpr* block, const MincExpr* expr, MatchScore& score) const { return expr->...
25.046875
140
0.694323
[ "vector" ]
0bf523269a0da0e5b93d4ad06bb51d9a6b8f3de4
10,073
cpp
C++
src/gausskernel/optimizer/commands/define.cpp
Mu-L/openGauss-server
27bdb0d62bc727e5f9172af1889ca35caf1b2c7b
[ "MulanPSL-1.0" ]
null
null
null
src/gausskernel/optimizer/commands/define.cpp
Mu-L/openGauss-server
27bdb0d62bc727e5f9172af1889ca35caf1b2c7b
[ "MulanPSL-1.0" ]
null
null
null
src/gausskernel/optimizer/commands/define.cpp
Mu-L/openGauss-server
27bdb0d62bc727e5f9172af1889ca35caf1b2c7b
[ "MulanPSL-1.0" ]
null
null
null
/* ------------------------------------------------------------------------- * * define.cpp * Support routines for various kinds of object creation. * * * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1...
30.804281
120
0.585129
[ "object" ]