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
186146a1976071e4d56f2bd0d9d65970855524b7
12,290
cpp
C++
qrenderdoc/Code/QRDUtils.cpp
kvark/renderdoc
7a289c8d53bdbdcf11cc8ba034fdca8cbeaf9673
[ "MIT" ]
null
null
null
qrenderdoc/Code/QRDUtils.cpp
kvark/renderdoc
7a289c8d53bdbdcf11cc8ba034fdca8cbeaf9673
[ "MIT" ]
null
null
null
qrenderdoc/Code/QRDUtils.cpp
kvark/renderdoc
7a289c8d53bdbdcf11cc8ba034fdca8cbeaf9673
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2016 Baldur Karlsson * * 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 ...
32.342105
102
0.67201
[ "geometry", "transform" ]
1867456351320d267bed9d162e6e81bdee92f736
7,057
cpp
C++
src/test/governance-approval-voting-test.cpp
artem-brazhnikov/crown-core
b9984d0472d08d4a8af8cd493194a520bbb4bc20
[ "MIT" ]
12
2018-08-26T13:59:10.000Z
2022-01-02T14:31:27.000Z
src/test/governance-approval-voting-test.cpp
artem-brazhnikov/crown-core
b9984d0472d08d4a8af8cd493194a520bbb4bc20
[ "MIT" ]
43
2018-09-17T16:45:59.000Z
2021-08-05T11:01:38.000Z
src/test/governance-approval-voting-test.cpp
artem-brazhnikov/crown-core
b9984d0472d08d4a8af8cd493194a520bbb4bc20
[ "MIT" ]
12
2018-06-11T01:11:03.000Z
2022-01-03T10:57:10.000Z
// Copyright (c) 2014-2018 Crown developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/test/unit_test.hpp> #include "platform/governance-approval-voting.h" #include "arith_uint256.h" #include "utiltime....
27.893281
102
0.631855
[ "vector" ]
186add16d87e78889ce81a40c276e71a931b4772
59,174
cpp
C++
source_code/system_hydraulic/source_code/models/coupling/Hyd_Coupling_RV2FP_Merged.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_hydraulic/source_code/models/coupling/Hyd_Coupling_RV2FP_Merged.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_hydraulic/source_code/models/coupling/Hyd_Coupling_RV2FP_Merged.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
#include "source_code\Hyd_Headers_Precompiled.h" //#include "Hyd_Coupling_RV2FP_Merged.h" //init static members Tables *Hyd_Coupling_RV2FP_Merged::max_h_table=NULL; //constructor Hyd_Coupling_RV2FP_Merged::Hyd_Coupling_RV2FP_Merged(void){ this->floodplain_model=NULL; this->river_model=NULL; this->list_left.set_lef...
44.727135
387
0.755822
[ "geometry", "model" ]
186b8d051e47618db3858c93b7a6ad6435675aba
3,667
cpp
C++
src/core/cpu_debug.cpp
gthev/gayaNES
a6ae9e3ba2a3dad79125994145ec680a6a1dad8b
[ "MIT" ]
null
null
null
src/core/cpu_debug.cpp
gthev/gayaNES
a6ae9e3ba2a3dad79125994145ec680a6a1dad8b
[ "MIT" ]
null
null
null
src/core/cpu_debug.cpp
gthev/gayaNES
a6ae9e3ba2a3dad79125994145ec680a6a1dad8b
[ "MIT" ]
null
null
null
#include <iostream> #include <bitset> #include <string> #include <sstream> #include <boost/algorithm/string.hpp> #include <vector> #include "cpu.hpp" #define INSTR_START 0x00C0 /* CLI to debug CPU/CPUMEM -> s : step -> r : read memory, 'r 1234' to read $1234 compile with g++ -o cputest cpu_debug.cpp cpu.cpp ppu_m...
29.103175
101
0.503681
[ "vector" ]
1879d727e8a2549867dabf910903e3de7396a6b1
1,844
cpp
C++
source/backend/cpu/CPUWhere.cpp
SunXuan90/MNN
dc0b62e817884f8fbc884f159b590feab2b0f0f8
[ "Apache-2.0" ]
1
2020-08-31T05:12:10.000Z
2020-08-31T05:12:10.000Z
source/backend/cpu/CPUWhere.cpp
ryanstout/MNN
82630820c04402e6282e7c717c4fc531c23808e2
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/CPUWhere.cpp
ryanstout/MNN
82630820c04402e6282e7c717c4fc531c23808e2
[ "Apache-2.0" ]
null
null
null
// // CPUWhere.cpp // MNN // // Created by MNN on 2018/08/31. // Copyright © 2018, Alibaba Group Holding Limited // #include "backend/cpu/CPUWhere.hpp" #include "backend/cpu/CPUBackend.hpp" namespace MNN { template <typename T> std::vector<int32_t> _collect(Tensor* t) { const T* ptr = t->host<T>(); std::...
30.229508
104
0.586768
[ "vector" ]
187a723f228ec8ebf0562d6864dae47391b40a38
8,333
cpp
C++
Samples/JTSP/JPBX/Call.cpp
markjulmar/tsplib3
f58a281ce43f4d57ef10e24d306fd46e6febcc41
[ "MIT" ]
1
2021-02-08T20:31:46.000Z
2021-02-08T20:31:46.000Z
Samples/JTSP/JPBX/Call.cpp
markjulmar/tsplib3
f58a281ce43f4d57ef10e24d306fd46e6febcc41
[ "MIT" ]
null
null
null
Samples/JTSP/JPBX/Call.cpp
markjulmar/tsplib3
f58a281ce43f4d57ef10e24d306fd46e6febcc41
[ "MIT" ]
4
2019-11-14T03:47:33.000Z
2021-03-08T01:18:05.000Z
/*******************************************************************/ // // CALL.CPP // // Call object definitions // // Copyright (C) 1998 JulMar Technology, Inc. // All rights reserved // // TSP++ Version 3.00 PBX/ACD Emulator Projects // Internal Source Code - Do Not Release // // Modification History // -----------...
25.024024
78
0.520941
[ "object" ]
187ba49e5762f41b64dce3ef3cf7a154bfcf3d99
68,233
cpp
C++
ExternalCode/libstructural/LibStructural/libstructural.cpp
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
1
2021-01-07T13:12:51.000Z
2021-01-07T13:12:51.000Z
ExternalCode/libstructural/LibStructural/libstructural.cpp
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
7
2020-04-12T22:25:46.000Z
2020-04-13T07:50:40.000Z
ExternalCode/libstructural/LibStructural/libstructural.cpp
daniel-anavaino/tinkercell
7896a7f809a0373ab3c848d25e3691d10a648437
[ "BSD-3-Clause" ]
2
2020-04-12T21:57:01.000Z
2020-04-12T21:59:29.000Z
#ifdef WIN32 #pragma warning(disable: 4996) #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include <windows.h> #endif #include <stdio.h> #include <stdlib.h> #include <iostream> #include <string> #include <cstring> #include <vector> #include <sstream> #include "libstructural.h" #includ...
26.092925
155
0.685504
[ "vector", "model" ]
18826c519a975b58e6e4ed7cce2cc03ad669db27
3,821
cpp
C++
wave_vision/src/descriptor/brisk_descriptor.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
80
2017-03-12T18:57:33.000Z
2022-03-30T11:44:33.000Z
wave_vision/src/descriptor/brisk_descriptor.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
210
2017-03-13T15:01:34.000Z
2022-01-15T03:19:44.000Z
wave_vision/src/descriptor/brisk_descriptor.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
31
2017-08-14T16:54:52.000Z
2022-01-21T06:44:16.000Z
#include "wave/vision/descriptor/brisk_descriptor.hpp" namespace wave { // Filesystem based constructor for BRISKDescriptorParams BRISKDescriptorParams::BRISKDescriptorParams(const std::string &config_path) { // Extract parameters from .yaml file. ConfigParser parser; std::vector<float> radius_list; ...
35.71028
79
0.652185
[ "object", "vector" ]
18864a1f63be67278d3848a27d7b963ed6b57faa
1,998
hpp
C++
liblumi/include/Light.hpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
liblumi/include/Light.hpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
liblumi/include/Light.hpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* ,, */ /* `7MMF' db `7MM"""Mq. MMP""MM""YMM */ /* MM MM `MM.P' MM `7 ...
30.738462
80
0.494494
[ "vector" ]
18883f9c5d5fff13956909b55e3fafdcff74dabe
1,510
cpp
C++
TG/bookcodes/ch3/uva11235.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
TG/bookcodes/ch3/uva11235.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
TG/bookcodes/ch3/uva11235.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa11235 Frequent Values // Rujia Liu #include<cstdio> #include<algorithm> #include<vector> using namespace std; const int maxn = 100000 + 5; const int maxlog = 20; // 区间最*大*值 struct RMQ { int d[maxn][maxlog]; void init(const vector<int>& A) { int n = A.size(); for(int i = 0; i < n; i++) d[i][0] = A[i]...
23.968254
76
0.437086
[ "vector" ]
188c8fd120a0917e7b2a12a65b14f6bbff634e90
2,046
cpp
C++
src/atria/xform/transducer/tst_sink.cpp
LaudateCorpus1/atria
db00646051833acde270b51ba6936e03f213a15a
[ "MIT" ]
257
2015-09-23T22:02:46.000Z
2021-12-13T16:57:06.000Z
src/atria/xform/transducer/tst_sink.cpp
Ableton/atria
db00646051833acde270b51ba6936e03f213a15a
[ "MIT" ]
13
2016-01-03T02:13:24.000Z
2019-05-13T07:47:55.000Z
src/atria/xform/transducer/tst_sink.cpp
LaudateCorpus1/atria
db00646051833acde270b51ba6936e03f213a15a
[ "MIT" ]
31
2015-10-07T11:18:12.000Z
2021-09-17T20:33:06.000Z
// // Copyright (C) 2014, 2015 Ableton AG, Berlin. 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 limitation // the rights t...
34.677966
77
0.717986
[ "vector" ]
18985d0570d9dc9bce44fd9948c8a387d69b16bd
1,132
cpp
C++
Image.cpp
chaerim-kim/OpenGL-Leeds-Scene
d854a6939a56323e39dd2377853ca204736eb685
[ "MIT" ]
1
2021-01-10T16:11:59.000Z
2021-01-10T16:11:59.000Z
Image.cpp
chaerim-kim/OpenGL-Leeds-Scene
d854a6939a56323e39dd2377853ca204736eb685
[ "MIT" ]
null
null
null
Image.cpp
chaerim-kim/OpenGL-Leeds-Scene
d854a6939a56323e39dd2377853ca204736eb685
[ "MIT" ]
null
null
null
#include "Image.h" #include <vector> #include <iostream> #include <cstdlib> Image::Image(const std::string& file_name) { p_qimage = new QImage(QString(file_name.c_str())); _width = p_qimage->width(); _height = p_qimage->height(); _image = new GLubyte[_width*_height*3]; _image2 = new GLubyte[_width*_height...
22.196078
64
0.640459
[ "vector" ]
18a6f55ea3f006a5b4dd597652a950c872b420d7
2,050
cpp
C++
sources/SceneGraph/Animation/spAnimationBaseStructures.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/SceneGraph/Animation/spAnimationBaseStructures.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/SceneGraph/Animation/spAnimationBaseStructures.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2016-10-31T06:08:44.000Z
2019-08-02T16:12:33.000Z
/* * Animation base structures file * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #include "SceneGraph/Animation/spAnimationBaseStructures.hpp" #include "SceneGraph/spSceneMesh.hpp" namespace sp { namespace scene {...
23.563218
94
0.589268
[ "mesh" ]
18a7f6cb73af2f363e90f9000222639cad6c6201
29,914
cc
C++
tensorflow/core/kernels/dml_strided_slice_op.cc
BenjaminWegener/tensorflow-directml
ecdbdbd2691e17dcc462fc49138fc7cc1536b7d5
[ "Apache-2.0" ]
351
2020-09-01T08:36:28.000Z
2022-03-29T06:54:29.000Z
tensorflow/core/kernels/dml_strided_slice_op.cc
BenjaminWegener/tensorflow-directml
ecdbdbd2691e17dcc462fc49138fc7cc1536b7d5
[ "Apache-2.0" ]
80
2020-09-02T01:57:33.000Z
2022-03-28T08:51:57.000Z
tensorflow/core/kernels/dml_strided_slice_op.cc
BenjaminWegener/tensorflow-directml
ecdbdbd2691e17dcc462fc49138fc7cc1536b7d5
[ "Apache-2.0" ]
29
2020-09-14T06:29:58.000Z
2022-03-01T09:21:17.000Z
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Portions Copyright (c) Microsoft Corporation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICEN...
37.022277
80
0.635522
[ "shape", "vector" ]
18a94a759e44f71904c162d6d56a297a5a39979c
748
cpp
C++
laser_odometry_core/src/laser_odometry_utils.cpp
Mastro93/laser_odometry
e580f3ab736ca8ebf8692e660d27272e2c56c403
[ "Apache-2.0" ]
57
2017-05-23T11:49:54.000Z
2022-03-30T10:58:56.000Z
laser_odometry_core/src/laser_odometry_utils.cpp
NamDinhRobotics/laser_odometry
464ce3de9671ac0f1cf3f9c583fb65974aaab929
[ "Apache-2.0" ]
19
2017-05-23T14:06:46.000Z
2019-03-29T07:49:29.000Z
laser_odometry_core/src/laser_odometry_utils.cpp
NamDinhRobotics/laser_odometry
464ce3de9671ac0f1cf3f9c583fb65974aaab929
[ "Apache-2.0" ]
27
2018-04-26T03:25:15.000Z
2022-03-27T13:03:00.000Z
#include <laser_odometry_core/laser_odometry_utils.h> namespace laser_odometry { namespace utils { void tfFromXYTheta(const double x, const double y, const double theta, Transform& t) { Eigen::AngleAxis<Scalar> rollAngle(0, Eigen::Vector3d::UnitX()); Eigen::AngleAxis<Scalar> pitchAngle(0, Eigen::Vector3d::Un...
26.714286
84
0.717914
[ "vector", "transform" ]
18ad7acd9309b880b23cb3bb2a435571e3943356
253
cpp
C++
variable.cpp
chrisBosse/CMSC330_P2
b941ae2334727ea1229e4a0756e079385911ef9b
[ "MIT" ]
1
2021-07-07T01:49:25.000Z
2021-07-07T01:49:25.000Z
variable.cpp
chrisBosse/CMSC330_P2
b941ae2334727ea1229e4a0756e079385911ef9b
[ "MIT" ]
null
null
null
variable.cpp
chrisBosse/CMSC330_P2
b941ae2334727ea1229e4a0756e079385911ef9b
[ "MIT" ]
1
2018-05-02T02:37:16.000Z
2018-05-02T02:37:16.000Z
#include <strstream> #include <vector> using namespace std; #include "expression.h" #include "operand.h" #include "variable.h" #include "symboltable.h" extern SymbolTable symbolTable; double Variable::evaluate() { return symbolTable.lookUp(name); }
15.8125
33
0.754941
[ "vector" ]
18b6ba062aace7e505d42b9ad7cf6162afefc7b5
697
hpp
C++
include/intersect_result.hpp
voyagingmk/comnode
cd73a3e58a074f7fce7eb47c4b053a199145cf99
[ "MIT" ]
9
2017-06-11T06:24:29.000Z
2020-04-11T14:50:43.000Z
include/intersect_result.hpp
voyagingmk/comnode
cd73a3e58a074f7fce7eb47c4b053a199145cf99
[ "MIT" ]
null
null
null
include/intersect_result.hpp
voyagingmk/comnode
cd73a3e58a074f7fce7eb47c4b053a199145cf99
[ "MIT" ]
1
2018-04-24T14:12:54.000Z
2018-04-24T14:12:54.000Z
#ifndef INTERSECT_RESULT_HPP #define INTERSECT_RESULT_HPP #include "base.hpp" class IntersectResult{ PtrGeometry m_geometry; double m_distance; PtrVector m_position; PtrVector m_normal; public: IntersectResult(); IntersectResult(PtrGeometry, double, PtrVector, PtrVector); IntersectResult(PtrGeometry, dou...
27.88
71
0.761836
[ "vector" ]
18c5fcea38eafdb5894318a54610bb4b402e160e
1,358
cpp
C++
DataStructure/sparse_table.cpp
kmyk/rsk0315-library
344f8f8c6c8c8951637154d6cb87cfb3dbc50376
[ "MIT" ]
7
2020-03-30T11:05:43.000Z
2022-03-24T06:18:38.000Z
DataStructure/sparse_table.cpp
kmyk/rsk0315-library
344f8f8c6c8c8951637154d6cb87cfb3dbc50376
[ "MIT" ]
null
null
null
DataStructure/sparse_table.cpp
kmyk/rsk0315-library
344f8f8c6c8c8951637154d6cb87cfb3dbc50376
[ "MIT" ]
2
2021-07-27T05:48:29.000Z
2022-03-24T06:18:40.000Z
#ifndef H_sparse_table #define H_sparse_table /** * @brief sparse table * @author えびちゃん */ #include <cstddef> #include <vector> #include "utility/literals.cpp" #include "integer/bit.cpp" template <typename Band> class sparse_table { public: using size_type = size_t; using value_type = Band; private: std::...
22.262295
76
0.623711
[ "vector" ]
18c6dc222aa49a8d12f85fb0d0579f95a0e93db4
49,993
cc
C++
src/lib/HiFPlacer/placement/globalPlacement/GeneralSpreader.cc
magic3007/AMF-Placer
b6fbc10c37c3259c2b4f99ce0bb03c9d96bc29bd
[ "Apache-2.0" ]
37
2021-09-25T04:31:27.000Z
2022-03-24T13:46:52.000Z
src/lib/HiFPlacer/placement/globalPlacement/GeneralSpreader.cc
magic3007/AMF-Placer
b6fbc10c37c3259c2b4f99ce0bb03c9d96bc29bd
[ "Apache-2.0" ]
5
2021-11-01T13:27:46.000Z
2022-03-10T07:52:51.000Z
src/lib/HiFPlacer/placement/globalPlacement/GeneralSpreader.cc
magic3007/AMF-Placer
b6fbc10c37c3259c2b4f99ce0bb03c9d96bc29bd
[ "Apache-2.0" ]
7
2021-09-26T07:34:09.000Z
2022-02-15T08:06:20.000Z
/** * @file GeneralSpreader.cc * @author Tingyuan LIANG (tliang@connect.ust.hk) * @brief This implementation file contains APIs' implementation of the GeneralSpreader which accounts for the cell * spreading, which controls the cell density of specific resource type, under the device constraints for specific * reg...
39.302673
120
0.523173
[ "vector" ]
18dd4731383dea63cad8bb18b4193c95b925ea57
1,275
cpp
C++
Part_A/Discrete_Frechet/Curve_discrete.cpp
EPantelaios/knn-and-clustering-with-timeseries
3ae104068063c1152bd7c4cd148b05480a1936e9
[ "MIT" ]
null
null
null
Part_A/Discrete_Frechet/Curve_discrete.cpp
EPantelaios/knn-and-clustering-with-timeseries
3ae104068063c1152bd7c4cd148b05480a1936e9
[ "MIT" ]
null
null
null
Part_A/Discrete_Frechet/Curve_discrete.cpp
EPantelaios/knn-and-clustering-with-timeseries
3ae104068063c1152bd7c4cd148b05480a1936e9
[ "MIT" ]
null
null
null
#include "Curve_discrete.hpp" Curve_discrete::Curve_discrete(string id){ this->item_id = id; this->dimension=0; } Curve_discrete::~Curve_discrete(){} int Curve_discrete::add_curve_coordinate(curve_struct c){ polygonal_curve.push_back(c); dimension = dimension + 1; return 0; } int Curve_discret...
18.75
87
0.672157
[ "vector" ]
18e2e5057db55a9556fc70f2757fc7c6a159815f
6,112
cpp
C++
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
zard49/kokkos-clang
c519a032853e6507075de1807c5730b8239ab936
[ "Unlicense" ]
4
2015-10-21T05:51:05.000Z
2015-12-19T06:27:44.000Z
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
losalamos/kokkos-clang
d68d9c63cea3dbaad33454e4ebc9df829bca24fe
[ "Unlicense" ]
null
null
null
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
losalamos/kokkos-clang
d68d9c63cea3dbaad33454e4ebc9df829bca24fe
[ "Unlicense" ]
2
2019-11-16T19:03:05.000Z
2020-03-19T08:32:37.000Z
//===- WebAssemblyTargetMachine.cpp - Define TargetMachine for WebAssembly -==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
35.32948
80
0.67572
[ "model" ]
18f18be3df67d3336002c297e96452231c8ec592
1,316
cc
C++
nodejs/src/run_options_helper.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
nodejs/src/run_options_helper.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
nodejs/src/run_options_helper.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "onnxruntime_cxx_api.h" #include <napi.h> #include <cmath> #include "common.h" #include "run_options_helper.h" void ParseRunOptions(const Napi::Object options, Ort::RunOptions &runOptions) { // Log severity le...
38.705882
112
0.68845
[ "object" ]
18f6da78a47bc2cb916dca2c7436a25fdc580cf1
2,794
cpp
C++
Study Material/ArabicCompetitiveProgramming-master/06 String Processing/Algorithms - String Processing - 04 - Aho-Corasick.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Study Material/ArabicCompetitiveProgramming-master/06 String Processing/Algorithms - String Processing - 04 - Aho-Corasick.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Study Material/ArabicCompetitiveProgramming-master/06 String Processing/Algorithms - String Processing - 04 - Aho-Corasick.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
#include<set> #include<map> #include<list> #include<iomanip> #include<cmath> #include<string> #include<vector> #include<queue> #include<stack> #include<complex> #include<sstream> #include<iostream> #include<algorithm> #include<stdio.h> using namespace std; #define all(v) ((v).begin()), ((v).end()) #define sz(v) ...
18.878378
83
0.572298
[ "vector" ]
7a00cdf3b7a4975025b79f9e008b900031027e94
11,283
hpp
C++
src/adapt/UniformRefinerPattern_Hex8_Tet4_24.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
3
2017-08-08T21:06:02.000Z
2020-01-08T13:23:36.000Z
src/adapt/UniformRefinerPattern_Hex8_Tet4_24.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2016-12-17T00:18:56.000Z
2019-08-09T15:29:25.000Z
src/adapt/UniformRefinerPattern_Hex8_Tet4_24.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2017-11-30T07:02:41.000Z
2019-08-05T17:07:04.000Z
// Copyright 2002 - 2008, 2010, 2011 National Technology Engineering // Solutions of Sandia, LLC (NTESS). Under the terms of Contract // DE-NA0003525 with NTESS, the U.S. Government retains certain rights // in this software. // // Use of this source code is governed by a BSD-style // license that can be found in the L...
45.680162
164
0.440397
[ "mesh", "vector" ]
bb39f8149b31ed0fb11b7ef6268552ee02c16a86
574
cc
C++
LeetCode/Medium/DP/minimumTickets.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
LeetCode/Medium/DP/minimumTickets.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
LeetCode/Medium/DP/minimumTickets.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/minimum-cost-for-tickets/ #include<iostream> #include<vector> using namespace std; class Solution { public: int mincostTickets(vector<int> &days, vector<int> &costs) { int n = days.size(); int dp[n][n]; fill_n(*dp, n * n, -1); for (int i = 0; i < days.size(); i++) {...
22.076923
61
0.477352
[ "vector" ]
bb3cf2393cfd5249ce8859f69d064de11f9bfeae
948
cpp
C++
Codeforces/B677.cpp
amrfahmyy/Problem-Solving
4c7540a1df3c4be206fc6dc6c77d754b513b314f
[ "Apache-2.0" ]
null
null
null
Codeforces/B677.cpp
amrfahmyy/Problem-Solving
4c7540a1df3c4be206fc6dc6c77d754b513b314f
[ "Apache-2.0" ]
null
null
null
Codeforces/B677.cpp
amrfahmyy/Problem-Solving
4c7540a1df3c4be206fc6dc6c77d754b513b314f
[ "Apache-2.0" ]
1
2021-04-02T14:20:11.000Z
2021-04-02T14:20:11.000Z
#include <bits/stdc++.h> #define SLAY ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); #define PI 3.141592653589793238 #define ll long long #define pii pair<int , int> #define pll pair<long long , long long> #define INPUT freopen("inp.txt", "r", stdin); using namespace std; int dx[] = { 0 , 0 , 1 , -1}; int d...
21.066667
71
0.541139
[ "vector" ]
bb3f6118f0f6b1e08da5d66a6ec87ce3103ca108
1,304
cpp
C++
graph/detect-cycle-DGraph-using-kahns.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
graph/detect-cycle-DGraph-using-kahns.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
graph/detect-cycle-DGraph-using-kahns.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void addEdge(vector<int> adj[], int u, int v) { adj[u].push_back(v); // adj[v].push_back(u); } void displayGraph(vector<int> adj[], int v) { for (int i = 0; i < v; i++) { for (auto &&j : adj[i]) cout << j << " "; ...
18.366197
61
0.416411
[ "vector" ]
bb57e5983e1743b25b150e1e2b0cc17cfbcfd639
6,896
cpp
C++
GUI.cpp
NicoSchumann/TicTacToe
df7349ebd82dfbc2561b4dc1b4627917d4067845
[ "Unlicense" ]
1
2018-08-29T21:12:52.000Z
2018-08-29T21:12:52.000Z
GUI.cpp
NicoSchumann/TicTacToe
df7349ebd82dfbc2561b4dc1b4627917d4067845
[ "Unlicense" ]
null
null
null
GUI.cpp
NicoSchumann/TicTacToe
df7349ebd82dfbc2561b4dc1b4627917d4067845
[ "Unlicense" ]
null
null
null
#include "GUI.hpp" /*--------------- class Canvas ------------------*/ Canvas::Canvas(sf::RenderWindow * window) : m_window(window) { if (!m_texture.loadFromFile("images/64x32_tictactoe.png")) { std::cerr << "Texture file couldn't loaded!"; } for (auto & sprite : m_sprite) { sprite...
22.535948
87
0.529727
[ "render" ]
bb58ec69c901015d78101c4ecddb3f6773339857
970
cpp
C++
logfiletest/parser/UserCommandFactory.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
2
2016-08-19T19:28:04.000Z
2021-04-18T04:48:44.000Z
logfiletest/parser/UserCommandFactory.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
null
null
null
logfiletest/parser/UserCommandFactory.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
null
null
null
#include <map> using namespace std; #include "UserCommandFactory.h" vector<string> UserCommandFactory::getUserCommand(const string& chatLine){ vector<string> arguments; map<string, string> params; if (parser->resembles(chatLine, "%0: .%1", params)){ string& name = params["%0"]; string& message = params[...
24.25
74
0.587629
[ "vector" ]
bb59b6df54989bd05e5ad708c848fbd199b9d989
584
cpp
C++
Valkyrie/source/scene/object.cpp
bachelor-whc/Valkyrie
9254d100191f8c892a5cbc1ee68dc81470761c33
[ "MIT" ]
6
2016-12-28T05:23:25.000Z
2018-10-23T14:04:38.000Z
Valkyrie/source/scene/object.cpp
bachelor-whc/Valkyrie
9254d100191f8c892a5cbc1ee68dc81470761c33
[ "MIT" ]
14
2016-12-17T08:23:02.000Z
2017-01-12T13:29:32.000Z
Valkyrie/source/scene/object.cpp
bachelorwhc/Valkyrie
9254d100191f8c892a5cbc1ee68dc81470761c33
[ "MIT" ]
null
null
null
#include "valkyrie/scene/object.h" #include "valkyrie/component/component.h" using namespace Valkyrie::Scene; Object::Object() : transform() { } Object::~Object() { } void Object::start() { } void Object::update() { transform.update(); for (auto& component_ptr : m_component_ptrs) { if(component_ptr->isEnabl...
18.83871
92
0.734589
[ "object", "transform" ]
bb643031fa5e01d15d7e3347e651292edbe5af6d
6,038
cpp
C++
ovc5/software/camera_device_driver/src/sensor_manager.cpp
mfkiwl/ovc-cyusb3014fpga
565db766a05cb0207282e4c351ceea84016293e5
[ "Apache-2.0" ]
174
2018-03-27T23:30:27.000Z
2022-03-28T13:48:22.000Z
ovc5/software/camera_device_driver/src/sensor_manager.cpp
mfkiwl/ovc-cyusb3014fpga
565db766a05cb0207282e4c351ceea84016293e5
[ "Apache-2.0" ]
41
2018-03-30T16:25:39.000Z
2022-03-28T09:00:36.000Z
ovc5/software/camera_device_driver/src/sensor_manager.cpp
mfkiwl/ovc-cyusb3014fpga
565db766a05cb0207282e4c351ceea84016293e5
[ "Apache-2.0" ]
50
2018-04-01T01:44:03.000Z
2022-03-11T05:58:30.000Z
#include "ovc5_driver/sensor_manager.hpp" #include <unistd.h> #include <iostream> #include "ovc5_driver/camera_modules.hpp" #include "ovc5_driver/i2c_driver.h" SensorManager::SensorManager(const std::vector<camera_config_t> &cams, int line_counter_dev, int trigger_timer_dev, ...
27.953704
79
0.640609
[ "vector" ]
bb667b6f97b9df8df1a68b57fc257eb3628c07bd
19,669
cc
C++
db/http_parser_test.cc
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
db/http_parser_test.cc
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
db/http_parser_test.cc
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
#include <snappy.h> #include <iostream> #include "db/HttpParser.hpp" #include "db/DB.pb.h" #include "util/testutil.h" namespace tsdb { namespace db { class ParserTest : public testing::Test {}; TEST_F(ParserTest, TestInsertParser1) { std::string data( "\ {\ \"samples\": [\ {\ \"...
33.112795
164
0.566424
[ "vector" ]
bb76abedc173c73a608a7a544512fe1633ac91c8
11,774
cpp
C++
src/game.cpp
merlinblack/oyunum
d37d753108ef0460f7fd50f5a135ae2c95dc046d
[ "MIT" ]
1
2019-01-18T04:51:39.000Z
2019-01-18T04:51:39.000Z
src/game.cpp
merlinblack/oyunum
d37d753108ef0460f7fd50f5a135ae2c95dc046d
[ "MIT" ]
null
null
null
src/game.cpp
merlinblack/oyunum
d37d753108ef0460f7fd50f5a135ae2c95dc046d
[ "MIT" ]
null
null
null
#include "game.h" #include "git_versioning.h" #include <iostream> using std::cout; using std::endl; // in binding.cpp void register_all_classes( lua_State* L ); // in colortext.cpp void test_colored_text( ALLEGRO_FONT* font ); void Game::initialiseAllegro() { al_init(); al_install_mouse(); al_install_key...
28.167464
129
0.542806
[ "render" ]
bb7b90108e14941f220d57030898cfc49b81777f
15,821
cpp
C++
src/Program.cpp
LailaElbeheiry/haystack
62bcd3f3874a2de393124fbc4e0edc09ed6f02e9
[ "Apache-2.0" ]
null
null
null
src/Program.cpp
LailaElbeheiry/haystack
62bcd3f3874a2de393124fbc4e0edc09ed6f02e9
[ "Apache-2.0" ]
null
null
null
src/Program.cpp
LailaElbeheiry/haystack
62bcd3f3874a2de393124fbc4e0edc09ed6f02e9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019, ETH Zurich */ #include <algorithm> #include "Program.h" #include "isl-helpers.h" #include "op.h" void Program::extractScop(std::string SourceFile, std::string ScopFunction) { const char *Function = ScopFunction.empty() ? NULL : ScopFunction.c_str(); pet_scop *PetScop = pet_scop_extract_f...
44.192737
114
0.676127
[ "vector" ]
bb9a625f7d5370cfa4f042b34c629abbdd2deab8
5,605
hpp
C++
em_unet/src/PyGreentea/evaluation/src_cython/zi/ai/random_forest.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
10
2018-09-13T17:37:22.000Z
2020-05-08T16:20:42.000Z
em_unet/src/PyGreentea/evaluation/src_cython/zi/ai/random_forest.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
1
2018-12-02T14:17:39.000Z
2018-12-02T20:59:26.000Z
em_unet/src/PyGreentea/evaluation/src_cython/zi/ai/random_forest.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
2
2019-03-03T12:06:10.000Z
2020-04-12T13:23:02.000Z
// // Copyright (C) 2010 Aleksandar Zlateski <zlateski@mit.edu> // ---------------------------------------------------------- // // This program 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 versio...
30.134409
99
0.518822
[ "vector" ]
bb9ba310a239a639e12bbf27633e30d92eaa5251
3,930
cpp
C++
rcnn-mxnet/imageutils.cpp
yf225/mlcpp
12d6f8224d7d6305a191c7afd2d5510e0a15299f
[ "BSD-2-Clause" ]
268
2018-04-11T15:06:57.000Z
2022-02-15T08:18:03.000Z
rcnn-mxnet/imageutils.cpp
soma2000-lang/mlcpp
afb08c0c81bdd2c68710831e8d4b233005ab3750
[ "BSD-2-Clause" ]
14
2019-02-10T22:19:17.000Z
2020-07-23T05:55:50.000Z
rcnn-mxnet/imageutils.cpp
soma2000-lang/mlcpp
afb08c0c81bdd2c68710831e8d4b233005ab3750
[ "BSD-2-Clause" ]
67
2018-04-19T21:15:14.000Z
2022-03-24T17:11:00.000Z
#include "imageutils.h" std::pair<cv::Mat, float> LoadImage(const std::string& file_name, uint32_t short_side, uint32_t long_side) { auto img = cv::imread(file_name); if (!img.empty()) { img.convertTo(img, CV_32FC3); float scale = 0; ...
36.728972
80
0.554453
[ "vector" ]
bba4cb827d27f7bd48a05b20975424fba910b10e
385
cpp
C++
Solution/0001.Two_Sum/0001.Two_Sum.cpp
xleslie/LeetCode
0af08817b3922e1bbc558091963fd4ff65a506ea
[ "MIT" ]
null
null
null
Solution/0001.Two_Sum/0001.Two_Sum.cpp
xleslie/LeetCode
0af08817b3922e1bbc558091963fd4ff65a506ea
[ "MIT" ]
null
null
null
Solution/0001.Two_Sum/0001.Two_Sum.cpp
xleslie/LeetCode
0af08817b3922e1bbc558091963fd4ff65a506ea
[ "MIT" ]
null
null
null
class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { map<int,int> m; for(int i=0;i<nums.size();++i) { int anchor=target-nums[i]; //trick 把要找的目标值记录下来,以免重复计算 if(m.count(anchor)==0) m[nums[i]]=i; else ...
22.647059
68
0.446753
[ "vector" ]
bbaa4781e51bdddd7a9244df6838be84f2663641
34,925
cpp
C++
net/config/common/nclan/lancmn.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/config/common/nclan/lancmn.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/config/common/nclan/lancmn.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1997. // // File: L A N C M N . C P P // // Contents: Implementation of LAN Connection related functions common // to the shell and netman. // ...
30.133736
175
0.502362
[ "object" ]
bbb63391f638f66ea4d87395b7d12566df9936c4
1,855
cpp
C++
GeeksForGeeks/C Plus Plus/Top_View_of_a_Binary_Tree.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
4
2021-06-19T14:15:34.000Z
2021-06-21T13:53:53.000Z
GeeksForGeeks/C Plus Plus/Top_View_of_a_Binary_Tree.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
2
2021-07-02T12:41:06.000Z
2021-07-12T09:37:50.000Z
GeeksForGeeks/C Plus Plus/Top_View_of_a_Binary_Tree.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
3
2021-06-19T15:19:20.000Z
2021-07-02T17:24:51.000Z
/* Problem Statement: ------------------ Given below is a binary tree. The task is to print the top view of binary tree. Top view of a binary tree is the set of nodes visible when the tree is viewed from the top. For the given below tree 1 / \ 2 3 / \ / \ 4 5 6 7 Top view will b...
20.842697
126
0.504582
[ "vector" ]
bbb70952bb92f45539f85aa3e70ea4d89a787470
16,005
cpp
C++
plugins/track/head/kinectHeadTracking/3rdParty/kinect/v2.0_1409/Samples/Native/AudioCaptureRaw-Console/WASAPICapture.cpp
wterkaj/ApertusVR
424ec5515ae08780542f33cc4841a8f9a96337b3
[ "MIT" ]
158
2016-11-17T19:37:51.000Z
2022-03-21T19:57:55.000Z
plugins/track/head/kinectHeadTracking/3rdParty/kinect/v2.0_1409/Samples/Native/AudioCaptureRaw-Console/WASAPICapture.cpp
wterkaj/ApertusVR
424ec5515ae08780542f33cc4841a8f9a96337b3
[ "MIT" ]
94
2016-11-18T09:55:57.000Z
2021-01-14T08:50:40.000Z
plugins/track/head/kinectHeadTracking/3rdParty/kinect/v2.0_1409/Samples/Native/AudioCaptureRaw-Console/WASAPICapture.cpp
wterkaj/ApertusVR
424ec5515ae08780542f33cc4841a8f9a96337b3
[ "MIT" ]
51
2017-05-24T10:20:25.000Z
2022-03-17T15:07:02.000Z
//------------------------------------------------------------------------------ // <copyright file="WASAPICapture.cpp" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <summary> // This module provides sample code used to demonstrate capturing raw audio streams...
29.804469
146
0.60656
[ "render", "object" ]
bbb859205eb482abe05abba35fba7c8e179fbeb2
6,523
cpp
C++
python/PyAlembic/PyXformSample.cpp
ryu-sw/alembic
395450bad88f9d5ed6d20612e9201aac93a5eb54
[ "MIT" ]
921
2015-01-03T11:04:38.000Z
2022-03-29T06:38:34.000Z
python/PyAlembic/PyXformSample.cpp
ryu-sw/alembic
395450bad88f9d5ed6d20612e9201aac93a5eb54
[ "MIT" ]
264
2015-01-05T17:15:45.000Z
2022-03-28T20:14:51.000Z
python/PyAlembic/PyXformSample.cpp
ryu-sw/alembic
395450bad88f9d5ed6d20612e9201aac93a5eb54
[ "MIT" ]
276
2015-01-12T01:34:20.000Z
2022-03-08T09:19:42.000Z
//-***************************************************************************** // // Copyright (c) 2012, // Sony Pictures Imageworks Inc. and // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. // // All rights reserved. // // Redistribution and use in source and binary forms, with or wi...
40.265432
80
0.555879
[ "object" ]
c7e12effebdf2bdec130c9c9253c16a4ee345987
32,288
cpp
C++
MapGen/CLR Profiler/Source/ProfilerOBJ/ProfilerInfo.cpp
hotdogee/fractal-percolation
b78bc351ea67f8a189f11ab0d2e85b68490d3bd9
[ "Apache-2.0" ]
null
null
null
MapGen/CLR Profiler/Source/ProfilerOBJ/ProfilerInfo.cpp
hotdogee/fractal-percolation
b78bc351ea67f8a189f11ab0d2e85b68490d3bd9
[ "Apache-2.0" ]
null
null
null
MapGen/CLR Profiler/Source/ProfilerOBJ/ProfilerInfo.cpp
hotdogee/fractal-percolation
b78bc351ea67f8a189f11ab0d2e85b68490d3bd9
[ "Apache-2.0" ]
null
null
null
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /**************************************************************************************** * File: * ProfilerInfo.cpp * * Description: * * * *******************************************************************************...
22.594822
202
0.345918
[ "object" ]
c7e7e4c86cffe69ac058f6d4c9127a65ff149aca
19,650
cpp
C++
src/d3d9/d3d9_presenter.cpp
doitsujin/d9vk
f2e9104a6008d0f121577a42cba41d78874b56c1
[ "Zlib" ]
7
2019-03-31T15:44:23.000Z
2021-07-15T23:34:11.000Z
src/d3d9/d3d9_presenter.cpp
doitsujin/d9vk
f2e9104a6008d0f121577a42cba41d78874b56c1
[ "Zlib" ]
null
null
null
src/d3d9/d3d9_presenter.cpp
doitsujin/d9vk
f2e9104a6008d0f121577a42cba41d78874b56c1
[ "Zlib" ]
null
null
null
#include "d3d9_presenter.h" #include "dxgi_presenter_frag.h" #include "dxgi_presenter_vert.h" namespace dxvk { D3D9Presenter::D3D9Presenter( Direct3DDevice9Ex* parent, HWND window, const D3D9PresenterDesc* desc, DWORD gammaFlags, const D3DGAMMARAMP* ...
34.656085
110
0.707837
[ "render" ]
c7e85daeb8d2fa9df1c828005a1255fc408c3745
2,484
cpp
C++
src/Renderer/CarRenderer.cpp
AmrikSadhra/FCE-To-Obj
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
212
2019-08-10T16:57:57.000Z
2022-03-30T02:21:05.000Z
src/Renderer/CarRenderer.cpp
AmrikSadhra/FCE-To-Obj
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
11
2018-07-10T18:01:09.000Z
2019-06-26T13:41:24.000Z
src/Renderer/CarRenderer.cpp
AmrikSadhra/FCE-to-OBJ
a3c928077add2bd5d5f3463daee6008f150a0a54
[ "MIT" ]
20
2020-02-09T02:38:35.000Z
2022-03-23T20:26:28.000Z
#include "CarRenderer.h" void CarRenderer::Render(const shared_ptr<Car> &car, const std::shared_ptr<BaseCamera> &camera, const std::vector<std::shared_ptr<BaseLight>> &lights) { m_carShader.use(); // This shader state doesnt change during a car renderpass m_carShader.loadProjectionViewMatrices(camera->pro...
40.721311
150
0.756844
[ "render", "vector" ]
c7ec4a118b24752b87189c9c43c479ccd57f205e
9,888
cpp
C++
pj_adc_fft/Main.cpp
iwatake2222/pico-work
b403521f3ebdfcdb9cf31811dadedde777d44cb7
[ "Apache-2.0" ]
12
2021-04-01T13:08:14.000Z
2021-11-27T22:49:53.000Z
pj_adc_fft/Main.cpp
iwatake2222/pico-work
b403521f3ebdfcdb9cf31811dadedde777d44cb7
[ "Apache-2.0" ]
2
2021-04-03T17:26:38.000Z
2021-04-10T14:25:26.000Z
pj_adc_fft/Main.cpp
iwatake2222/pico-work
b403521f3ebdfcdb9cf31811dadedde777d44cb7
[ "Apache-2.0" ]
3
2021-02-20T08:36:23.000Z
2021-11-15T09:28:24.000Z
#include <cstdint> #include <cstdio> #define _USE_MATH_DEFINES #include <cmath> #include <cstdlib> #include <cstring> #include "pico/stdlib.h" #include "pico/multicore.h" #include "LcdIli9341SPI.h" #include "TpTsc2046SPI.h" #include "AdcBuffer.h" #include "RingBuffer.h" /*** CONST VALUE ***/ static con...
29.428571
145
0.638147
[ "vector" ]
c7fd41e085da0c05379e97241c67746e07be802e
3,780
cc
C++
vpc/src/model/UnTagResourcesRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
vpc/src/model/UnTagResourcesRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
vpc/src/model/UnTagResourcesRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
25.369128
93
0.733598
[ "vector", "model" ]
c7fde69ee083bfc33404ab4939ebc0343379a9d9
894
cpp
C++
Baekjoon/6000~6999/6549.cpp
Lee-Siwon/Problem-Solving
e3414067c848f2c676865ef88d68e408344f439a
[ "Unlicense" ]
null
null
null
Baekjoon/6000~6999/6549.cpp
Lee-Siwon/Problem-Solving
e3414067c848f2c676865ef88d68e408344f439a
[ "Unlicense" ]
null
null
null
Baekjoon/6000~6999/6549.cpp
Lee-Siwon/Problem-Solving
e3414067c848f2c676865ef88d68e408344f439a
[ "Unlicense" ]
null
null
null
#include<iostream> #include<algorithm> #include<vector> #include<cmath> #include<string> #include<stack> #include<stdio.h> using namespace std; void init(){ } void solve(int n){ vector<long long> x; for(int i=0;i<n;i++){ long long a; cin>>a; x.push_back(a); } x.push_back(-1); stack<...
16.254545
58
0.542506
[ "vector" ]
2a0addf0838e07aeb1922f77c96968f707192b69
32,580
cpp
C++
src/server/ServerCommands.cpp
darkenk/soldat_cpp
5d455bbb4f8a82dd6316642a96917f2de2cedec6
[ "Zlib" ]
3
2022-01-21T10:38:06.000Z
2022-02-01T16:44:46.000Z
src/server/ServerCommands.cpp
darkenk/soldat_cpp
5d455bbb4f8a82dd6316642a96917f2de2cedec6
[ "Zlib" ]
null
null
null
src/server/ServerCommands.cpp
darkenk/soldat_cpp
5d455bbb4f8a82dd6316642a96917f2de2cedec6
[ "Zlib" ]
null
null
null
// automatically converted #include "ServerCommands.hpp" #include "BanSystem.hpp" #include "Server.hpp" #include "ServerHelper.hpp" #include "common/misc/PortUtilsSoldat.hpp" #include "shared/Command.hpp" #include "shared/Demo.hpp" #include "shared/Game.hpp" #include "shared/mechanics/SpriteSystem.hpp" #include "share...
29.51087
111
0.62302
[ "vector" ]
2a0d5260ba3a74443e4ac4d7c53626d092820ba8
3,623
cpp
C++
moos-ivp/ivp/src/lib_geometry/XYFormatUtilsCommsPulse.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/lib_geometry/XYFormatUtilsCommsPulse.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/lib_geometry/XYFormatUtilsCommsPulse.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
/*****************************************************************/ /* NAME: Michael Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: XYFormatUtilsRangePulse.cpp */ /* DATE: Feb 5th, 2011 ...
36.969388
72
0.515871
[ "vector" ]
2a0e767970429ff598542e6adcb1cad21b6ee476
1,858
cpp
C++
src/StageTimeComputation.cpp
ShihaoWang/Multi-contact-Humanoid-Push-Recovery
0f40f319d8aece9a172d9864643a4c82bb39b060
[ "MIT" ]
null
null
null
src/StageTimeComputation.cpp
ShihaoWang/Multi-contact-Humanoid-Push-Recovery
0f40f319d8aece9a172d9864643a4c82bb39b060
[ "MIT" ]
null
null
null
src/StageTimeComputation.cpp
ShihaoWang/Multi-contact-Humanoid-Push-Recovery
0f40f319d8aece9a172d9864643a4c82bb39b060
[ "MIT" ]
null
null
null
#include "CommonHeader.h" #include "RobotInfo.h" static double ReductionMagnitude(double cur_s, double phase_s, double reduction_ratio){ if(cur_s<phase_s) return 1.0; else{ if(cur_s<=1.0){ return 1.0 - (1.0 - reduction_ratio)/(1.0 - phase_s) * (cur_s - phase_s); } else return reduction_ratio; } } ...
46.45
105
0.560818
[ "vector" ]
2a10ddb92632f2f707cd241f820cf3235e218fe3
2,942
cpp
C++
wave_vision/tests/viz_tests/descriptor_viz_tests.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
80
2017-03-12T18:57:33.000Z
2022-03-30T11:44:33.000Z
wave_vision/tests/viz_tests/descriptor_viz_tests.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
210
2017-03-13T15:01:34.000Z
2022-01-15T03:19:44.000Z
wave_vision/tests/viz_tests/descriptor_viz_tests.cpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
31
2017-08-14T16:54:52.000Z
2022-01-21T06:44:16.000Z
#include "wave/wave_test.hpp" #include "wave/vision/descriptor/brisk_descriptor.hpp" #include "wave/vision/descriptor/orb_descriptor.hpp" #include "wave/vision/detector/fast_detector.hpp" #include "wave/vision/detector/orb_detector.hpp" namespace wave { const auto TEST_IMAGE = "tests/data/image_center.png"; TEST(BRI...
27.495327
68
0.731815
[ "vector" ]
2a13adc2cfb2a3a0e2ac8d0e37eb5deed800cf90
581
cpp
C++
src/source/util/digest.cpp
mvpwizard/DLA
5ead2574e61e619ca3a93f1e771e3988fc144928
[ "MIT" ]
1
2019-03-24T12:07:46.000Z
2019-03-24T12:07:46.000Z
src/source/util/digest.cpp
nepitdev/DLA
5ead2574e61e619ca3a93f1e771e3988fc144928
[ "MIT" ]
10
2019-03-06T20:27:39.000Z
2019-11-27T08:28:12.000Z
src/source/util/digest.cpp
openepit/DLA
5ead2574e61e619ca3a93f1e771e3988fc144928
[ "MIT" ]
null
null
null
#include "digest.hpp" namespace dla { digest::digest(std::vector<uint8_t> data): data(data) { } std::vector<uint8_t> digest::execute() { uint8_t digest[SHA256_DIGEST_LENGTH]; SHA256(&data[0], data.size(), (uint8_t*) &digest); data = std::vector<uint8_t>(std::begin(d...
23.24
74
0.552496
[ "vector" ]
2a15a8b0935cbb29204758f724f5857b54973965
937
cpp
C++
LeetCode/102_Binary_Tree_Level_Order_Traversal/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-07-08T23:16:19.000Z
2020-07-08T23:16:19.000Z
LeetCode/102_Binary_Tree_Level_Order_Traversal/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-05-16T03:12:24.000Z
2020-05-16T03:14:42.000Z
LeetCode/102_Binary_Tree_Level_Order_Traversal/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
2
2020-05-16T03:25:16.000Z
2021-02-10T16:51:25.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
26.027778
93
0.502668
[ "vector" ]
2a1e9ae0d724e6f97b1597864cb0b2932b566e26
1,690
cpp
C++
chapter_4/libs/libshading/ProgramUniform.cpp
sergey-shambir/cg_course_examples
921b6218d71731bcb79ddddcc92c9d04a72c62ab
[ "MIT" ]
5
2017-05-13T20:47:13.000Z
2020-04-18T18:18:03.000Z
chapter_4/libs/libshading/ProgramUniform.cpp
sergey-shambir/cg_course_examples
921b6218d71731bcb79ddddcc92c9d04a72c62ab
[ "MIT" ]
null
null
null
chapter_4/libs/libshading/ProgramUniform.cpp
sergey-shambir/cg_course_examples
921b6218d71731bcb79ddddcc92c9d04a72c62ab
[ "MIT" ]
8
2016-10-24T16:24:21.000Z
2021-03-15T11:23:57.000Z
#include "includes/opengl-common.hpp" #include "includes/glm-common.hpp" #include "ProgramUniform.h" CProgramUniform::CProgramUniform(int location) : m_location(location) { } void CProgramUniform::operator =(int value) { if (m_location != -1) { glUniform1i(m_location, value); } } void CProgr...
20.361446
79
0.626036
[ "vector" ]
2a26ef4626dc5f752210be538a8877cfb8dbd368
1,216
cc
C++
leetcode/120_triangle.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/120_triangle.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/120_triangle.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
/* * ===================================================================================== * * Filename: 120_triangle.cc * * Description: * * Version: 1.0 * Created: 04/17/2015 08:32:12 PM * Revision: none * Compiler: gcc * * Author: (Qi Liu), liuqi.edward...
22.943396
88
0.467105
[ "vector" ]
2a53766de322ec8a554e88ae462b878b11b7b319
6,739
cpp
C++
code/Core/Source/Resource/T3DTexture.cpp
answerear/Fluid
7b7992547a7d3ac05504dd9127e779eeeaddb3ab
[ "MIT" ]
1
2021-11-16T15:11:52.000Z
2021-11-16T15:11:52.000Z
code/Core/Source/Resource/T3DTexture.cpp
answerear/Fluid
7b7992547a7d3ac05504dd9127e779eeeaddb3ab
[ "MIT" ]
null
null
null
code/Core/Source/Resource/T3DTexture.cpp
answerear/Fluid
7b7992547a7d3ac05504dd9127e779eeeaddb3ab
[ "MIT" ]
null
null
null
/******************************************************************************* * This file is part of Tiny3D (Tiny 3D Graphic Rendering Engine) * Copyright (C) 2015-2020 Answer Wong * For latest info, see https://github.com/answerear/Tiny3D * * This program is free software: you can redistribute it and/or modi...
30.493213
81
0.452293
[ "render", "3d" ]
3980abee191267d016b3fc86acfa6c9e3b5ad391
9,789
cpp
C++
quick_bench_can.cpp
SzalonyJohny/STM32_CAN_abstraction
4465c4c9bd8367429db6eed78cce001d294370ff
[ "MIT" ]
null
null
null
quick_bench_can.cpp
SzalonyJohny/STM32_CAN_abstraction
4465c4c9bd8367429db6eed78cce001d294370ff
[ "MIT" ]
null
null
null
quick_bench_can.cpp
SzalonyJohny/STM32_CAN_abstraction
4465c4c9bd8367429db6eed78cce001d294370ff
[ "MIT" ]
null
null
null
#include<array> #include<algorithm> #include<numeric> #include<span> #include<stdio.h> #include <stdio.h> #include <string.h> #include <cstring> #include <array> #include <memory> #include <stdio.h> typedef struct { uint32_t StdId; /*!< Specifies the standard identifier. This...
29.396396
88
0.62039
[ "object" ]
3982d12f603656fe7de37a2b70c3863ac26bf7e0
26,863
cpp
C++
android-11/frameworks/base/tools/aapt2/cmd/Dump.cpp
MrIkso/sdk-tools
53b34cdaca0b94364446f01b5ac3455773db3029
[ "Apache-2.0" ]
5
2020-12-19T06:56:06.000Z
2022-01-09T01:28:42.000Z
android-11/frameworks/base/tools/aapt2/cmd/Dump.cpp
MrIkso/sdk-tools
53b34cdaca0b94364446f01b5ac3455773db3029
[ "Apache-2.0" ]
1
2021-09-27T06:00:40.000Z
2021-09-27T06:00:40.000Z
android-11/frameworks/base/tools/aapt2/cmd/Dump.cpp
MrIkso/sdk-tools
53b34cdaca0b94364446f01b5ac3455773db3029
[ "Apache-2.0" ]
3
2020-12-19T06:56:27.000Z
2021-09-26T18:50:44.000Z
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
47.545133
99
0.498827
[ "vector" ]
3987aacc938e67b56d3d3d608f4aa3b01dff5dff
9,688
hpp
C++
graphblas/backend/apspie/DenseMatrix.hpp
owensgroup/push-pull
b50b1d1fd07788bcfde9f58bfa58dc6eea2db18a
[ "Apache-2.0" ]
7
2018-08-07T06:37:36.000Z
2022-02-25T13:17:11.000Z
graphblas/backend/apspie/DenseMatrix.hpp
owensgroup/push-pull
b50b1d1fd07788bcfde9f58bfa58dc6eea2db18a
[ "Apache-2.0" ]
2
2018-08-21T11:55:19.000Z
2018-12-06T20:22:58.000Z
graphblas/backend/apspie/DenseMatrix.hpp
owensgroup/push-pull
b50b1d1fd07788bcfde9f58bfa58dc6eea2db18a
[ "Apache-2.0" ]
2
2019-04-05T00:14:01.000Z
2022-01-31T20:21:22.000Z
#ifndef GRB_BACKEND_APSPIE_DENSEMATRIX_HPP #define GRB_BACKEND_APSPIE_DENSEMATRIX_HPP #include <vector> #include <iostream> #include <typeinfo> #include "graphblas/types.hpp" #include "graphblas/backend/apspie/apspie.hpp" namespace graphblas { namespace backend { template <typename T> class SparseMatrix; tem...
26.542466
77
0.553159
[ "vector" ]
398d6ced1c925820d5b8171c70b2e8ee080b7a34
3,740
cpp
C++
src/Game.cpp
Malguzt/TestingBox2d
408c9c6d94adc27c915946349ff8a7de2ecbdf66
[ "MIT" ]
null
null
null
src/Game.cpp
Malguzt/TestingBox2d
408c9c6d94adc27c915946349ff8a7de2ecbdf66
[ "MIT" ]
null
null
null
src/Game.cpp
Malguzt/TestingBox2d
408c9c6d94adc27c915946349ff8a7de2ecbdf66
[ "MIT" ]
null
null
null
#include "Game.h" Game::Game() { pWnd = new RenderWindow(VideoMode(1280, 768), "Testing box2d"); pWnd->setVisible(true); fps = 60; pWnd->setFramerateLimit(fps); frameTime = 1.0f / fps; setZoom(); initPhysics(); theBarrel = new Barrel(phyWorld, pWnd, 20.0f, 80.0f); } Game::~Game() { delete ...
23.974359
138
0.640909
[ "shape", "vector" ]
39902086e9a6bcd493198fbdbea75e7d461c04c7
2,613
cpp
C++
AtCoder/typical90/026 - Independent Set on a Tree/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
1
2020-05-24T02:27:05.000Z
2020-05-24T02:27:05.000Z
AtCoder/typical90/026 - Independent Set on a Tree/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
null
null
null
AtCoder/typical90/026 - Independent Set on a Tree/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
null
null
null
// g++ -std=c++14 -DDEV=1 main.cpp #include <stdio.h> #include <cassert> #include <iostream> #include <fstream> #include <vector> #include <map> using std::cin; using std::cout; using std::endl; using std::terminate; using std::vector; using std::map; using std::make_pair; #define rep(i, a, n) for (int i = (a); i < (...
19.355556
58
0.395714
[ "vector" ]
3991f2eed6e56dc3dc432cd4d6eaa32d19659b9b
4,269
cxx
C++
smtk/model/operators/DivideInstance.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
40
2015-02-21T19:55:54.000Z
2022-01-06T13:13:05.000Z
smtk/model/operators/DivideInstance.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
127
2015-01-15T20:55:45.000Z
2021-08-19T17:34:15.000Z
smtk/model/operators/DivideInstance.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
27
2015-03-04T14:17:51.000Z
2021-12-23T01:05:42.000Z
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
27.365385
86
0.653549
[ "model" ]
39932b965d2cc000aa116dd12f49b62b099f1dd6
617
cpp
C++
nodes/group_regex_node.cpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
nodes/group_regex_node.cpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
nodes/group_regex_node.cpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
#include "group_regex_node.hpp" using rand_regex::group_regex_node_; group_regex_node_::group_regex_node_(std::vector<regex_node_*>&& grouped_nodes) : grouped_nodes_(grouped_nodes) { // } void group_regex_node_::generate(std::ostream& os, random_generator_base& random_gen, std::vector<std::tuple<int, regex_node_...
28.045455
137
0.750405
[ "vector" ]
3993512904eb37696a20281339e24a70cbb5d517
550
cpp
C++
Leetcode1760.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
1
2020-06-28T06:29:05.000Z
2020-06-28T06:29:05.000Z
Leetcode1760.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
null
null
null
Leetcode1760.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
null
null
null
class Solution { public: bool check(vector<int>& nums, int op, int v) { for (int x : nums) { op -= (x - 1) / v; if (op < 0) return 0; } return op >= 0; } int minimumSize(vector<int>& nums, int maxOperations) { int n = nums.size(); int r = 0, l...
23.913043
59
0.416364
[ "vector" ]
3998eb100ed00bf4c2bf7be99581e637a7a9c2f2
30,102
cpp
C++
automata-1.0.0/Automata.cpp
booherbg/PyAutomata
432555806dd68ff6a8c05b525fa25ab8ac0a80fe
[ "Apache-2.0" ]
1
2018-09-19T07:27:31.000Z
2018-09-19T07:27:31.000Z
automata-1.0.0/Automata.cpp
booherbg/PyAutomata
432555806dd68ff6a8c05b525fa25ab8ac0a80fe
[ "Apache-2.0" ]
null
null
null
automata-1.0.0/Automata.cpp
booherbg/PyAutomata
432555806dd68ff6a8c05b525fa25ab8ac0a80fe
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008 Alex Reynolds * * 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 ...
32.826609
120
0.677596
[ "object", "vector" ]
399971e53ff0410e085ca0630165f08a6940ac3e
2,587
cpp
C++
qt_genericclient.cpp
BlivionIaG/ChilyClient
3f34583024b3932af4d0d5192c4e1b0981ecf5ab
[ "MIT" ]
null
null
null
qt_genericclient.cpp
BlivionIaG/ChilyClient
3f34583024b3932af4d0d5192c4e1b0981ecf5ab
[ "MIT" ]
null
null
null
qt_genericclient.cpp
BlivionIaG/ChilyClient
3f34583024b3932af4d0d5192c4e1b0981ecf5ab
[ "MIT" ]
null
null
null
#include "qt_genericclient.hpp" QT_GenericClient::QT_GenericClient(QString address, quint16 port, QObject *parent) : QObject(parent), alive{true} { socket = new QTcpSocket(this); Connect(address, port); connect(socket, SIGNAL(connected()), this, SLOT(connectedToServer())); connect(socket, SIGNAL(disco...
27.817204
116
0.617704
[ "vector" ]
399a0a1fe8941588682562fd581e5a9c6aa6abd8
3,308
cpp
C++
src/bembel/kernel/scene/scene.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
2
2018-01-02T14:07:54.000Z
2021-07-05T08:05:21.000Z
src/bembel/kernel/scene/scene.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
src/bembel/kernel/scene/scene.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
#include "./scene.hpp" #include <bembel/base/logging/logger.hpp> #include "./component-container.hpp" namespace bembel::kernel { Scene::Scene(AssetManager& asste_mgr) : asste_mgr(asste_mgr) { } Scene::~Scene() { for(auto asset_handle : this->assets) { this->asste_mgr.releaseAsset(asset_handle); } } Scene::En...
32.116505
94
0.636638
[ "vector" ]
39b7433c8f5396e39bb90f9efcccb70310422d14
7,637
cc
C++
components/signin/core/browser/device_activity_fetcher.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
components/signin/core/browser/device_activity_fetcher.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
components/signin/core/browser/device_activity_fetcher.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/signin/core/browser/device_activity_fetcher.h" #include "base/strings/stringprintf.h" #include "components/signin/core/browser/signi...
37.253659
80
0.708131
[ "vector" ]
39ba25bbd2011fa829638b365245921531f716f4
3,253
cc
C++
Code/Components/Analysis/simulations/current/apps/tFlux.cc
rtobar/askapsoft
6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
1
2020-06-18T08:37:43.000Z
2020-06-18T08:37:43.000Z
Code/Components/Analysis/simulations/current/apps/tFlux.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
Code/Components/Analysis/simulations/current/apps/tFlux.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
/// /// @file : Create a FITS file with fake sources and random noise /// /// Control parameters are passed in from a LOFAR ParameterSet file. /// /// @copyright (c) 2007 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping...
30.12037
79
0.654165
[ "vector" ]
39bca8e46cc37d7c78fe577a10ea163c4f59c17c
5,666
hpp
C++
include/shz/spatial/kd_tree_discriminators.hpp
TraxNet/ShadingZenCpp
46860da3249900259941bf64f4a46347500b65fb
[ "MIT" ]
3
2015-04-30T15:41:51.000Z
2018-12-28T05:47:18.000Z
include/shz/spatial/kd_tree_discriminators.hpp
TraxNet/ShadingZenCpp
46860da3249900259941bf64f4a46347500b65fb
[ "MIT" ]
null
null
null
include/shz/spatial/kd_tree_discriminators.hpp
TraxNet/ShadingZenCpp
46860da3249900259941bf64f4a46347500b65fb
[ "MIT" ]
null
null
null
#ifndef __SHZ_MATH_KD_TREE_DISCRIMINATORS__ #define __SHZ_MATH_KD_TREE_DISCRIMINATORS__ namespace shz{ namespace spatial{ struct plane_discriminator_tag { }; struct sah_boxplanes_plane_discriminator_tag : public plane_discriminator_tag { }; struct plane_roundrobin_discriminator_tag : public plane_discriminator_ta...
41.97037
123
0.673667
[ "vector" ]
39c0ef5ad2cc373958201253eeddb4bc6719e8c1
15,569
cpp
C++
cpp/SceneChangeDetection/SceneChangeDetection.cpp
openmpf/openmpf-components
acf012aeda0bac902e4678a97338b0aa5ffe38bf
[ "Apache-2.0" ]
5
2017-10-19T12:14:09.000Z
2022-02-11T15:16:48.000Z
cpp/SceneChangeDetection/SceneChangeDetection.cpp
openmpf/openmpf-components
acf012aeda0bac902e4678a97338b0aa5ffe38bf
[ "Apache-2.0" ]
126
2017-05-05T19:40:32.000Z
2022-03-08T19:14:00.000Z
cpp/SceneChangeDetection/SceneChangeDetection.cpp
openmpf/openmpf-components
acf012aeda0bac902e4678a97338b0aa5ffe38bf
[ "Apache-2.0" ]
2
2018-06-08T18:32:55.000Z
2020-08-27T21:25:07.000Z
/****************************************************************************** * NOTICE * * * * This software (or technical data) was produced for the U.S. Government * ...
36.71934
129
0.596955
[ "vector" ]
39c7a93c23180eb8e905b3ef844826edb9a25bbc
1,009
cpp
C++
CC/LC/MinMovesToMakeArrComplementary.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
1
2020-10-12T08:03:20.000Z
2020-10-12T08:03:20.000Z
CC/LC/MinMovesToMakeArrComplementary.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
CC/LC/MinMovesToMakeArrComplementary.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
https://leetcode.com/problems/minimum-moves-to-make-array-complementary/ #include <bits/stdc++.h> using namespace std; class Solution { public: int minMoves(vector<int>& nums, int lim) { int n = nums.size(); int change[200001] = {0}; int exact[200001] = {0}; int maxSum = INT_MIN; ...
27.27027
72
0.437066
[ "vector" ]
39d6bd477d74ad2d40750ef77412a042b01f0016
1,238
cpp
C++
test/test_lua_proxy.cpp
nitrocaster/luabind-deboostified
72cc6e5e9da61d8ba0cd6835937a827c2cbad652
[ "BSL-1.0" ]
3
2015-11-23T08:19:40.000Z
2020-11-03T01:52:37.000Z
test/test_lua_proxy.cpp
nitrocaster/luabind-deboostified
72cc6e5e9da61d8ba0cd6835937a827c2cbad652
[ "BSL-1.0" ]
4
2020-10-18T23:11:14.000Z
2021-01-01T20:54:49.000Z
test/test_lua_proxy.cpp
nitrocaster/luabind-deboostified
72cc6e5e9da61d8ba0cd6835937a827c2cbad652
[ "BSL-1.0" ]
1
2020-12-28T18:47:11.000Z
2020-12-28T18:47:11.000Z
// Boost Software License http://www.boost.org/LICENSE_1_0.txt // Copyright (c) 2005 The Luabind Authors #include <luabind/lua_proxy.hpp> #include <luabind/object.hpp> struct X_tag; struct X { typedef X_tag lua_proxy_tag; }; namespace luabind { template<> struct lua_proxy_traits<X> { typedef std::tr...
31.74359
80
0.789176
[ "object" ]
39d7725392d719429cd695e1ff5bb61c33e5f50f
382
cpp
C++
app/Obstacle.cpp
nuclearczy/mid-test
9e7bca69fcfa3905179d14ebc81823562d97eea6
[ "BSD-3-Clause" ]
null
null
null
app/Obstacle.cpp
nuclearczy/mid-test
9e7bca69fcfa3905179d14ebc81823562d97eea6
[ "BSD-3-Clause" ]
null
null
null
app/Obstacle.cpp
nuclearczy/mid-test
9e7bca69fcfa3905179d14ebc81823562d97eea6
[ "BSD-3-Clause" ]
1
2020-10-18T13:09:19.000Z
2020-10-18T13:09:19.000Z
/**Copyright (c) 2019 Hao Da (Kevin) Dong, Zuyang Cao, Jing Liang * @file Obstacle.cpp * @date 10/13/2019 * @brief The file Obstacle.cpp implements the obstacle class. * The class will be used in Xingyun class. * @license This project is released under the BSD-3-Clause License. */ ...
29.384615
71
0.662304
[ "vector" ]
39e55d904e1d715eb3a1133df5f27d7f350e6b67
3,160
cpp
C++
pose_refinement/SA-LMPE/ba/openMVG/features/mser/mser_test.cpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
90
2019-05-19T03:48:23.000Z
2022-02-02T15:20:49.000Z
pose_refinement/SA-LMPE/ba/openMVG/features/mser/mser_test.cpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
11
2019-05-22T07:45:46.000Z
2021-05-20T01:48:26.000Z
pose_refinement/SA-LMPE/ba/openMVG/features/mser/mser_test.cpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
18
2019-05-19T03:48:32.000Z
2021-05-29T18:19:16.000Z
// This file is part of OpenMVG, an Open Multiple View Geometry C++ library. // Copyright (c) 2015 Romuald PERROT, Pierre MOULON. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla....
29.53271
92
0.583861
[ "geometry", "vector" ]
39ea31547ad69edd1f6bcaccbaf9e05504677f4d
7,385
cpp
C++
src/atomsciflow/vasp/vasp_poscar.cpp
DeqiTang/build-test-atomsciflow
6fb65c79e74993e2100fbbca31b910d495076805
[ "MIT" ]
1
2022-01-25T01:44:32.000Z
2022-01-25T01:44:32.000Z
src/atomsciflow/vasp/vasp_poscar.cpp
DeqiTang/build-test-atomsciflow
6fb65c79e74993e2100fbbca31b910d495076805
[ "MIT" ]
null
null
null
src/atomsciflow/vasp/vasp_poscar.cpp
DeqiTang/build-test-atomsciflow
6fb65c79e74993e2100fbbca31b910d495076805
[ "MIT" ]
null
null
null
/************************************************************************ MIT License Copyright (c) 2021 Deqi Tang 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 w...
38.463542
112
0.486662
[ "vector" ]
39eb46a2a6737b5d82bf2e56a660204122633a8b
22,130
cxx
C++
src/ptclib/speech_aws.cxx
sverdlin/opalvoip-ptlib
f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be
[ "Beerware" ]
null
null
null
src/ptclib/speech_aws.cxx
sverdlin/opalvoip-ptlib
f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be
[ "Beerware" ]
null
null
null
src/ptclib/speech_aws.cxx
sverdlin/opalvoip-ptlib
f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be
[ "Beerware" ]
null
null
null
/* * speech_aws.cxx * * AWS SDK interface wrapper for speech * * Portable Windows Library * * Copyright (c) 2021 Vox Lucida Pty. Ltd. * * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You m...
30.994398
142
0.623678
[ "object", "vector", "model" ]
39ec9a4250f2cf7f977f5e7dd2328764472681e3
3,665
hpp
C++
include/VM/Vars.hpp
feral-lang/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "MIT" ]
131
2020-03-19T15:22:37.000Z
2021-12-19T02:37:01.000Z
include/VM/Vars.hpp
Electrux/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "BSD-3-Clause" ]
14
2020-04-06T05:50:15.000Z
2021-06-26T06:19:04.000Z
include/VM/Vars.hpp
Electrux/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "BSD-3-Clause" ]
20
2020-04-06T07:28:30.000Z
2021-09-05T14:46:25.000Z
/* MIT License Copyright (c) 2020 Feral Language repositories 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, modi...
26.751825
99
0.736971
[ "object", "vector" ]
39f833e3cfc5744e72f06f8331afd0c67cd7d8fe
2,123
cpp
C++
src/CalculatorManager.cpp
feng-zhe/ZheQuant-brain-cpp
3180b7cfcbfc4ca13831dbbbe1fa69821cefb12e
[ "Apache-2.0" ]
null
null
null
src/CalculatorManager.cpp
feng-zhe/ZheQuant-brain-cpp
3180b7cfcbfc4ca13831dbbbe1fa69821cefb12e
[ "Apache-2.0" ]
null
null
null
src/CalculatorManager.cpp
feng-zhe/ZheQuant-brain-cpp
3180b7cfcbfc4ca13831dbbbe1fa69821cefb12e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <new> #include "MovingAverageCalculator.h" #include "CompareCalculator.h" #include "CalculatorManager.h" #include "Helper.h" using namespace std; CalculatorManager::CalculatorManager(){} CalculatorManager::~CalculatorManager(){} string CalculatorManager::Calculate(const string& cmd){ ...
30.328571
82
0.632595
[ "vector" ]
39f8ead3b5c98ecd010a690cc7b2192ad15672e6
4,112
cpp
C++
problems/atcoder/abc205/f---grid-and-tokens/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/atcoder/abc205/f---grid-and-tokens/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/atcoder/abc205/f---grid-and-tokens/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; static_assert(sizeof(int) == 4 && sizeof(long) == 8); template <typename Flow = long, typename FlowSum = Flow> struct tidal_flow { struct Edge { int node[2]; Flow cap, flow = 0; }; int V, E = 0; vector<vector<int>> res; vector<Edge> edge...
28.555556
84
0.401265
[ "vector" ]
39fb567486572c62bb2db6d5d44d032e58b0f5b0
616
cpp
C++
Dataset/Leetcode/test/5/41.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/5/41.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/5/41.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: string XXX(string s) { int len=s.size(); vector<vector<int>> dp(len,vector<int>(len)); string res; for(int l=1;l<=len;++l) for(int i=0;i+l-1<len;++i) { if(l==1) dp[i][i+l-1]=true; else if(l==2) ...
22.814815
61
0.345779
[ "vector" ]
39fbdbcd267c0e332f71154d5268e89f0a7a032e
928
cxx
C++
src/external/stl_ext/test/string.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
86
2016-05-30T16:08:24.000Z
2022-03-30T22:57:35.000Z
src/external/stl_ext/test/string.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
41
2017-02-02T22:28:17.000Z
2022-02-22T16:51:14.000Z
src/external/stl_ext/test/string.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
26
2016-05-30T16:08:33.000Z
2021-12-29T03:02:30.000Z
#include "gtest/gtest.h" #include "iostream.hpp" #include "string.hpp" using namespace std; using namespace stl_ext; TEST(unit_string, str) { EXPECT_EQ("1", str(1)); EXPECT_EQ("1.45", str(1.45)); EXPECT_EQ("[1, 2, 3]", str(vector<int>{1,2,3})); const char *cs = "hi"; string s = "hi"; EXPECT_S...
22.634146
80
0.594828
[ "vector" ]
2608da04997a13b778d389af21536f118bba1686
4,299
cpp
C++
src/ofxLSGRuleParametric.cpp
edap/ofxLSystemGrammar
c66d8d48f826f987fab245463b0ae61b39b35002
[ "MIT" ]
36
2016-04-02T00:40:23.000Z
2022-01-25T10:08:39.000Z
src/ofxLSGRuleParametric.cpp
edap/ofxLSystemGrammar
c66d8d48f826f987fab245463b0ae61b39b35002
[ "MIT" ]
null
null
null
src/ofxLSGRuleParametric.cpp
edap/ofxLSystemGrammar
c66d8d48f826f987fab245463b0ae61b39b35002
[ "MIT" ]
4
2017-02-18T17:42:12.000Z
2021-11-12T00:42:28.000Z
#include <ofxLSGRuleParametric.h> ofxLSGRuleParametric::ofxLSGRuleParametric( string _predecessor, string _conditions, string _successor, map<string...
40.556604
106
0.655734
[ "object", "vector" ]
261fcaae0ce5a22801012e8f0f8e5cf6c83a26b2
5,443
cpp
C++
src/Socket.cpp
ismart-omari/frnetlib
11ede8c8df8390f6971ad784841efb0ef593ed54
[ "MIT" ]
null
null
null
src/Socket.cpp
ismart-omari/frnetlib
11ede8c8df8390f6971ad784841efb0ef593ed54
[ "MIT" ]
null
null
null
src/Socket.cpp
ismart-omari/frnetlib
11ede8c8df8390f6971ad784841efb0ef593ed54
[ "MIT" ]
null
null
null
// // Created by fred on 06/12/16. // #include <mutex> #include <csignal> #include <iostream> #include <vector> #ifdef USE_SSL #include <mbedtls/error.h> #endif #include "frnetlib/NetworkEncoding.h" #include "frnetlib/Socket.h" #include "frnetlib/Sendable.h" namespace fr { Socket::Socket() : ai_family(AF_UNSP...
32.207101
178
0.552085
[ "vector" ]
261feb74afa9478603c36fe919cfedc78bf5ff44
1,885
hpp
C++
lib/Painless_Mesh/src/painlessmesh/tcp.hpp
ErshovVladislav10M/-Graduate-work-Bachelor-
d525dff87bfad0d42c63d2aca3b4cc57adb53584
[ "Apache-2.0" ]
null
null
null
lib/Painless_Mesh/src/painlessmesh/tcp.hpp
ErshovVladislav10M/-Graduate-work-Bachelor-
d525dff87bfad0d42c63d2aca3b4cc57adb53584
[ "Apache-2.0" ]
null
null
null
lib/Painless_Mesh/src/painlessmesh/tcp.hpp
ErshovVladislav10M/-Graduate-work-Bachelor-
d525dff87bfad0d42c63d2aca3b4cc57adb53584
[ "Apache-2.0" ]
null
null
null
#ifndef _PAINLESS_MESH_TCP_HPP_ #define _PAINLESS_MESH_TCP_HPP_ #include <list> #include "Arduino.h" #include "painlessmesh/configuration.hpp" #include "painlessmesh/logger.hpp" namespace painlessmesh { namespace tcp { inline uint32_t encodeNodeId(const uint8_t *hwaddr) { using namespace painlessmesh::logger; L...
26.180556
73
0.63183
[ "mesh" ]
1c7cc40b4bdaea1158ead09e7e5b983ef2c74f73
979
cpp
C++
src/nabor.cpp
cran/nabor
4ae143e67d2ef7ed7900963370f83436ce38021f
[ "BSD-3-Clause" ]
24
2016-04-03T17:31:16.000Z
2020-12-08T08:40:56.000Z
src/nabor.cpp
cran/nabor
4ae143e67d2ef7ed7900963370f83436ce38021f
[ "BSD-3-Clause" ]
9
2015-01-28T18:10:39.000Z
2020-09-22T00:11:31.000Z
src/nabor.cpp
cran/nabor
4ae143e67d2ef7ed7900963370f83436ce38021f
[ "BSD-3-Clause" ]
null
null
null
#include <Rcpp.h> #include <RcppEigen.h> #include "nabo.h" // [[Rcpp::plugins(cpp11)]] // [[Rcpp::depends(RcppEigen)]] using namespace Rcpp; using namespace Nabo; using namespace Eigen; #include "WKNN.h" // [[Rcpp::export]] List knn_generic(int st, const Eigen::Map<Eigen::MatrixXd> data, const Eigen::Map<Eigen::Matr...
27.971429
105
0.678243
[ "object" ]
1c862ed3503c76b92035bc3d7f9855e968519ee7
34,489
cpp
C++
multiview/multiview_cpp/src/perceive/calibration/position-scene-cameras/manifest-data.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
5
2021-09-03T23:12:08.000Z
2022-03-04T21:43:32.000Z
multiview/multiview_cpp/src/perceive/calibration/position-scene-cameras/manifest-data.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
3
2021-09-08T02:57:46.000Z
2022-02-26T05:33:02.000Z
multiview/multiview_cpp/src/perceive/calibration/position-scene-cameras/manifest-data.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
2
2021-09-26T03:14:40.000Z
2022-01-26T06:42:52.000Z
#include "manifest-data.hpp" #include <opencv2/opencv.hpp> #include "config.hpp" #include "print-helper.hpp" #include "perceive/io/lazy-s3.hpp" #include "perceive/io/perceive-assets.hpp" #include "perceive/optimization/breadth-first-search.hpp" #include "perceive/utils/create-cv-remap.hpp" #include "perceive/utils/...
37.610687
80
0.520253
[ "vector", "transform" ]
1c8d22cc70768b20e1da63717dc2edb4aade83d9
3,477
cpp
C++
src/kittireader.cpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
25
2019-06-19T11:55:53.000Z
2022-02-28T07:56:38.000Z
src/kittireader.cpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
1
2020-11-17T06:46:26.000Z
2021-11-04T11:49:38.000Z
src/kittireader.cpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
4
2020-07-16T01:59:47.000Z
2022-02-28T06:41:14.000Z
#include "kittireader.hpp" #include "calibration.hpp" #include <vector> #include <opencv2/opencv.hpp> #include "pcl_ros/point_cloud.h" KittiReader::KittiReader(std::string basedir) { auto calib = makeCalib(basedir); auto PRT = calib.getVeloToImage(); } std::vector<cv::String> KittiReader::globFilesHelper(std:...
27.816
104
0.630141
[ "vector" ]
1c93fdc91e06715e0b50df4adf25285f0851fb71
5,057
cc
C++
Top Favorite Songs/solution 1/main.cc
kishoredbn/Object-Oriented-Pros
fc69eaeda90776b7e72a39c4f32229cb4fb8729d
[ "MIT" ]
null
null
null
Top Favorite Songs/solution 1/main.cc
kishoredbn/Object-Oriented-Pros
fc69eaeda90776b7e72a39c4f32229cb4fb8729d
[ "MIT" ]
null
null
null
Top Favorite Songs/solution 1/main.cc
kishoredbn/Object-Oriented-Pros
fc69eaeda90776b7e72a39c4f32229cb4fb8729d
[ "MIT" ]
1
2021-03-11T15:40:07.000Z
2021-03-11T15:40:07.000Z
#include "common.h" int main() { CSimpleMusicManager manager; // all songs in the store vvMusicAttribute vsongs = { {{music::author, {"AR Rehman"}}, {music::name, {"Pray for me Brother"}}, {music::release, {2005}}}, {{music::author, {"Arijit Singh"}}, {mus...
67.426667
135
0.50267
[ "vector" ]
1c9553a1e75e3224301cb2ab85c820f0e82c1396
4,176
cpp
C++
Source/SystemQOR/MSWindows/WinQL/COM/Server/MMC/WinQLExtendPropertySheetImpl.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQL/COM/Server/MMC/WinQLExtendPropertySheetImpl.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQL/COM/Server/MMC/WinQLExtendPropertySheetImpl.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//WinQLExtendPropertySheetImpl.cpp // Copyright Querysoft Limited 2013, 2015, 2017 // // 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, // ...
44.425532
164
0.665948
[ "object" ]
1ca116fd9b94a0ac63fcf8761537be4ecd559478
428
cpp
C++
components/xtl/tests/stl/ptrbinf2.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/xtl/tests/stl/ptrbinf2.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/xtl/tests/stl/ptrbinf2.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include <stl/algorithm> #include <stl/functional> #include <stdio.h> using namespace stl; inline int sum (int x,int y) { return x + y; } int main () { printf ("Results of ptrbinf2_test:\n"); int input1 [4] = {7,2,3,5}, input2 [4] = {1,5,5,8}, output [4]; transform ((int*)input1,(int*)input1+4,(int*)input2...
19.454545
82
0.593458
[ "transform" ]
1caddd824509aa4f7ec4fa821023096c72ea6ed8
655
cpp
C++
boboleetcode/Play-Leetcode-master/1207-Unique-Number-of-Occurrences/cpp-1207/main.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/1207-Unique-Number-of-Occurrences/cpp-1207/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/1207-Unique-Number-of-Occurrences/cpp-1207/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/unique-number-of-occurrences/ /// Author : liuyubobobo /// Time : 2019-09-28 #include <iostream> #include <vector> #include <unordered_map> using namespace std; /// Using HashMap /// Time Complexity: O(n) /// Space Complexity: O(n) class Solution { public: bool uniqu...
19.264706
72
0.603053
[ "vector" ]
1cae6bf8cb99f6cf2549074f21ef4ec57c1b8204
22,234
cc
C++
src/store/strongstore/tests/waitdie-test.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
1
2021-11-24T01:38:28.000Z
2021-11-24T01:38:28.000Z
src/store/strongstore/tests/waitdie-test.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
null
null
null
src/store/strongstore/tests/waitdie-test.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
null
null
null
#include "store/strongstore/waitdie.h" #include <gtest/gtest.h> #include <iostream> #include <random> #include <string> #include <vector> #include "store/common/timestamp.h" namespace strongstore { TEST(WaitDie, BasicReadLock) { WaitDie wd; std::unordered_set<uint64_t> notify_rws; int status = wd.Loc...
29.566489
62
0.687955
[ "vector" ]
1cbfd5222edf012e02a97aba1dda06aec64c7d31
1,368
cpp
C++
UICPC/21/nwerc2020all/jointexcavation/submissions/accepted/bjarki.cpp
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
UICPC/21/nwerc2020all/jointexcavation/submissions/accepted/bjarki.cpp
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
UICPC/21/nwerc2020all/jointexcavation/submissions/accepted/bjarki.cpp
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define rep(i,a,b) for (auto i=(a); i<(b); ++i) #define iter(it,c) for (auto it = (c).begin(); it != (c).end(); ++it) typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; typedef vector<vi> vvi; typedef long long ll; const int INF = 2147483647; vi adj...
16.682927
69
0.406433
[ "vector" ]
1ccd67e770c3168dad834a3c2f45c804acb8b6e4
4,595
cpp
C++
deprecated/perception/navigator_vision/exFAST_SparseStereo/src/sparsestereo/stereorectification.cpp
jaxnb/NaviGator
2edb85cf5eab38f62132b3f467814516d2bb05f3
[ "MIT" ]
27
2020-02-17T21:54:09.000Z
2022-03-18T17:49:23.000Z
deprecated/perception/navigator_vision/exFAST_SparseStereo/src/sparsestereo/stereorectification.cpp
jaxnb/NaviGator
2edb85cf5eab38f62132b3f467814516d2bb05f3
[ "MIT" ]
325
2019-09-11T14:13:56.000Z
2022-03-31T00:38:30.000Z
deprecated/perception/navigator_vision/exFAST_SparseStereo/src/sparsestereo/stereorectification.cpp
ericgorday/NaviGator
cc929a8609d7a416d0b8c9a95059e296f669464a
[ "MIT" ]
24
2019-09-16T00:29:45.000Z
2022-03-06T10:56:38.000Z
/* * Author: Konstantin Schauwecker * Year: 2012 */ #include "stereorectification.h" #include <cstring> #include <climits> namespace sparsestereo { using namespace std; using namespace cv; using namespace boost; scoped_array<float> Epiline::dummyLine; int Epiline::dummyLineLength = -1; void Epiline::s...
37.663934
144
0.677911
[ "vector" ]
1cd0acedf383e20622302e3f03600fb5af72b42b
4,282
cpp
C++
lib/book.cpp
Bronek/smatch
5195480b8f2a63ac1c26b4fe813eef62aed339c3
[ "MIT" ]
null
null
null
lib/book.cpp
Bronek/smatch
5195480b8f2a63ac1c26b4fe813eef62aed339c3
[ "MIT" ]
null
null
null
lib/book.cpp
Bronek/smatch
5195480b8f2a63ac1c26b4fe813eef62aed339c3
[ "MIT" ]
null
null
null
#include "book.hpp" #include <algorithm> namespace smatch { namespace { // Special value for Order.match, set at the end of Book::insert(). 0 is not good because the // purpose of Order.match is to identify index of Match in vector passed to Book::match(), and // of course first match added to this colle...
32.195489
98
0.583372
[ "vector" ]
1cdca7627c19ddc80cab1b3218da2d2d58998e46
7,981
cpp
C++
Cocodrilo/CppWrapper/CppWrapperApp.cpp
CocodriloCAD/Cocodrilo
eca315f31f9341cea758e92ef22c931f2888c882
[ "MIT" ]
2
2022-01-05T17:10:38.000Z
2022-01-14T09:33:59.000Z
Cocodrilo/CppWrapper/CppWrapperApp.cpp
CocodriloCAD/Cocodrilo
eca315f31f9341cea758e92ef22c931f2888c882
[ "MIT" ]
3
2022-01-27T15:42:14.000Z
2022-02-23T09:11:31.000Z
Cocodrilo/CppWrapper/CppWrapperApp.cpp
CocodriloCAD/Cocodrilo
eca315f31f9341cea758e92ef22c931f2888c882
[ "MIT" ]
null
null
null
// CppWrapper.cpp : Defines the initialization routines for the DLL. // #include "stdafx.h" #include "rhinoSdkPlugInDeclare.h" #include "CppWrapperApp.h" // Rhino plug-in declaration RHINO_PLUG_IN_DECLARE // Rhino developer declarations // TODO: fill in the following developer declarations // with your company info...
28.402135
139
0.71808
[ "object" ]
1cdf17ba3f0e4cbe61f2a05e9f1a5b31ecfee1fa
3,411
hpp
C++
src/utils.hpp
gumigumi4f/sv4d
ca3d334a602001486dcf341d1c98c620ce01e067
[ "MIT" ]
null
null
null
src/utils.hpp
gumigumi4f/sv4d
ca3d334a602001486dcf341d1c98c620ce01e067
[ "MIT" ]
null
null
null
src/utils.hpp
gumigumi4f/sv4d
ca3d334a602001486dcf341d1c98c620ce01e067
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <algorithm> #include <functional> #include <cctype> #include <sstream> namespace sv4d { namespace utils { namespace string { inline std::string trim(const std::string& s) { auto left = std::find_if(s.begin(), s.end(),...
33.116505
113
0.454999
[ "vector" ]
1ce0d7e0048a6ae9a06fdf6cc39d51547e053055
2,242
cxx
C++
src/DmwMeshActionText3dGenerator.cxx
DmitrySemikin/das-mesh-workbench
35a4d3b8b6d51a2ea6dc7ebfd019ea89e4ae3fb6
[ "Apache-2.0" ]
null
null
null
src/DmwMeshActionText3dGenerator.cxx
DmitrySemikin/das-mesh-workbench
35a4d3b8b6d51a2ea6dc7ebfd019ea89e4ae3fb6
[ "Apache-2.0" ]
null
null
null
src/DmwMeshActionText3dGenerator.cxx
DmitrySemikin/das-mesh-workbench
35a4d3b8b6d51a2ea6dc7ebfd019ea89e4ae3fb6
[ "Apache-2.0" ]
null
null
null
#include <memory> #include <string> #include <vtkElevationFilter.h> #include <vtkNew.h> #include <vtkSmartPointer.h> #include <vtkVectorText.h> #include "DmwModel.hxx" #include "DmwMeshActionText3dGeneratorGui.hxx" #include "DmwMeshActionText3dGenerator.hxx" using std::make_unique; using std::make_shared; using s...
28.74359
113
0.732382
[ "model" ]
1ce226072b0cb247ac9b0cf828024eec971ce51a
11,489
cpp
C++
src/batterytech/src/batterytech/render/ShaderProgram.cpp
puretekniq/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
10
2015-04-07T22:23:31.000Z
2016-03-06T11:48:32.000Z
src/batterytech/src/batterytech/render/ShaderProgram.cpp
robdoesstuff/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
3
2015-05-17T10:45:48.000Z
2016-07-29T18:34:53.000Z
src/batterytech/src/batterytech/render/ShaderProgram.cpp
puretekniq/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
4
2015-05-03T03:00:48.000Z
2016-03-03T12:49:01.000Z
/* * BatteryTech * Copyright (c) 2010 Battery Powered Games LLC. * * This code is a component of BatteryTech and is subject to the 'BatteryTech * End User License Agreement'. Among other important provisions, this * license prohibits the distribution of source code to anyone other than * authorized parti...
31.135501
163
0.669249
[ "object" ]