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
53d5fcb7b78180656bbda184adfb26786391c665
1,322
cpp
C++
datasets/github_cpp_10/7/150.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/7/150.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/7/150.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <vector> using iter = std::vector<int>::iterator; void sort(iter begin, iter end); void merge(iter begin, iter mid, iter end); int main(void) { std::vector<int> ivec{2, 5, 4, 7, 6, 9, 1, 4, 0}; sort(ivec.begin(), prev(ivec.end())); std::cout << "Sorted vector: " << std::e...
20.984127
65
0.55295
[ "vector" ]
53d7f1f5b20f67e868d7608664ce2074d1d2bfad
659
cpp
C++
1192.cpp
viniciusmalloc/uri
e9554669a50a6d392e3bce49fc21cbfaa353c85f
[ "MIT" ]
1
2022-02-11T21:12:38.000Z
2022-02-11T21:12:38.000Z
1192.cpp
viniciusmalloc/uri
e9554669a50a6d392e3bce49fc21cbfaa353c85f
[ "MIT" ]
null
null
null
1192.cpp
viniciusmalloc/uri
e9554669a50a6d392e3bce49fc21cbfaa353c85f
[ "MIT" ]
1
2019-10-01T03:01:50.000Z
2019-10-01T03:01:50.000Z
#include <algorithm> #include <cmath> #include <cstdio> #include <iostream> #include <list> #include <map> #include <queue> #include <vector> #define mp make_pair #define pb push_back using namespace std; typedef pair<int, int> ii; const int INF = 0x3f3f3f3f; int main() { char a[3]; int ...
18.305556
42
0.46434
[ "vector" ]
53e31e3e65a9d100fd0e8755c574762f99f7ba66
4,345
hh
C++
hackt_docker/hackt/src/Object/expr/const_param_expr_list.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/expr/const_param_expr_list.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/expr/const_param_expr_list.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "Object/expr/const_param_expr_list.hh" Classes related to constant expressions. NOTE: this file was spanwed from "Object/art_object_expr_const.h" for revision history tracking purposes. $Id: const_param_expr_list.hh,v 1.20 2009/09/14 21:16:54 fang Exp $ */ #ifndef __HAC_OBJECT_EXPR_CONST_PARAM_EXPR_...
24.828571
79
0.734177
[ "object", "vector" ]
53e83c46cb0c3ecb07b5a57573a03e470a26fcea
54,222
cc
C++
lib/wabt/src/binary-reader-interpreter.cc
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
lib/wabt/src/binary-reader-interpreter.cc
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
lib/wabt/src/binary-reader-interpreter.cc
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
/* * Copyright 2016 WebAssembly Community Group participants * * 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...
36.785617
80
0.683154
[ "vector" ]
53eaec7b65847e0746666f466ca752573e7399a6
64,844
cpp
C++
hub/src/TrayControlWindow.cpp
akarasulu/SubutaiTray
50e70715360ec6fa8fffab4992232cdde488e321
[ "Apache-2.0" ]
8
2018-03-16T02:19:51.000Z
2019-09-07T07:22:01.000Z
hub/src/TrayControlWindow.cpp
akarasulu/SubutaiTray
50e70715360ec6fa8fffab4992232cdde488e321
[ "Apache-2.0" ]
446
2018-02-26T09:31:59.000Z
2020-09-14T18:45:09.000Z
hub/src/TrayControlWindow.cpp
akarasulu/SubutaiTray
50e70715360ec6fa8fffab4992232cdde488e321
[ "Apache-2.0" ]
18
2018-03-02T09:19:08.000Z
2021-11-04T08:17:43.000Z
#include <QDesktopWidget> #include <QHBoxLayout> #include <QLabel> #include <QPushButton> #include <QWidget> #include <QWidgetAction> #include <QtConcurrent/QtConcurrent> #include <QtGui> #include <algorithm> #include "DlgAbout.h" #include "DlgCreatePeer.h" #include "DlgEnvironment.h" #include "DlgGenerateSshKey.h" #i...
37.964871
145
0.636697
[ "geometry", "vector" ]
d882e63d25aaa9bb6a166f2129d9d0ee35386e7e
2,308
cpp
C++
GUI/StudentManagementSystem/searchstudentbyhashmap.cpp
AppDevIn/StudentManagement
38f88cd00473437fbffacd5d797f0a927c439544
[ "MIT" ]
null
null
null
GUI/StudentManagementSystem/searchstudentbyhashmap.cpp
AppDevIn/StudentManagement
38f88cd00473437fbffacd5d797f0a927c439544
[ "MIT" ]
null
null
null
GUI/StudentManagementSystem/searchstudentbyhashmap.cpp
AppDevIn/StudentManagement
38f88cd00473437fbffacd5d797f0a927c439544
[ "MIT" ]
null
null
null
#include "searchstudentbyhashmap.h" #include "ui_searchstudentbyhashmap.h" #include "globals.h" List dictWords; SearchStudentByHashmap::SearchStudentByHashmap(QWidget *parent) : QMainWindow(parent), ui(new Ui::SearchStudentByHashmap) { ui->setupUi(this); } SearchStudentByHashmap::~SearchStudentByHashma...
27.807229
85
0.625217
[ "model" ]
d88663f8152c93186313d35a28dfe0820fb61f9a
34,858
cpp
C++
MediaSession.cpp
Sukanya673/OCDM-Playready-Nexus-SVP
2fc887a6f384cfeb240630a88ffedddf7d5053cf
[ "Apache-2.0" ]
null
null
null
MediaSession.cpp
Sukanya673/OCDM-Playready-Nexus-SVP
2fc887a6f384cfeb240630a88ffedddf7d5053cf
[ "Apache-2.0" ]
null
null
null
MediaSession.cpp
Sukanya673/OCDM-Playready-Nexus-SVP
2fc887a6f384cfeb240630a88ffedddf7d5053cf
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017-2018 Metrological * * 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 agre...
34.074291
147
0.593895
[ "vector" ]
d88ae88f7c388fc75726f965b101c3bc70262112
15,725
cpp
C++
src/Line3D.cpp
devel0/iot-sci
69deb99454101f56958f5648a3223cfd2d9afffb
[ "MIT" ]
null
null
null
src/Line3D.cpp
devel0/iot-sci
69deb99454101f56958f5648a3223cfd2d9afffb
[ "MIT" ]
null
null
null
src/Line3D.cpp
devel0/iot-sci
69deb99454101f56958f5648a3223cfd2d9afffb
[ "MIT" ]
null
null
null
#include "Line3D.h" #include <number-utils.h> #include "Matrix3D.h" #include "CoordinateSystem3D.h" Line3D *Line3D::_XAxisLine = NULL; Line3D *Line3D::_YAxisLine = NULL; Line3D *Line3D::_ZAxisLine = NULL; const Line3D &Line3D::XAxisLine() { if (_XAxisLine == NULL) { _XAxisLine = new Line3D(Vector3D::...
29.558271
1,287
0.56337
[ "vector", "3d" ]
d88b28883fcb99b7e4645dfddf1f837bff5bb8a4
1,999
cpp
C++
0x0002_var_const_array_vector/main.cpp
mytechnotalent/Fundamental-C-
f0113147bc858df8aefc399faa9fe51e08d51a42
[ "MIT" ]
24
2021-06-06T14:23:29.000Z
2022-01-05T00:00:41.000Z
0x0002_var_const_array_vector/main.cpp
mytechnotalent/Fundamental-C-
f0113147bc858df8aefc399faa9fe51e08d51a42
[ "MIT" ]
null
null
null
0x0002_var_const_array_vector/main.cpp
mytechnotalent/Fundamental-C-
f0113147bc858df8aefc399faa9fe51e08d51a42
[ "MIT" ]
5
2021-07-09T09:27:12.000Z
2021-12-06T01:43:53.000Z
#include <iostream> #include <vector> #include <string> int main() { // char char x = 'x'; std::cout << x << std::endl; // bool bool isHappy = true; std::cout << isHappy << std::endl; // int int y = 42; std::cout << y << std::endl; // floating-point std::cout.precision(17); double zz = 4...
27.383562
81
0.618309
[ "vector" ]
d890191da775398976dd538a0443de075c77338e
16,191
hpp
C++
src/qdeferred.hpp
CETONI-Software/3rdparty-QDeferred
662bdc6bc8debf025859ddc59e5dfb8f96b1e5b9
[ "MIT" ]
51
2019-02-11T15:06:22.000Z
2022-03-29T06:52:19.000Z
src/qdeferred.hpp
CETONI-Software/3rdparty-QDeferred
662bdc6bc8debf025859ddc59e5dfb8f96b1e5b9
[ "MIT" ]
4
2020-10-28T10:20:53.000Z
2022-01-24T08:23:15.000Z
src/qdeferred.hpp
CETONI-Software/3rdparty-QDeferred
662bdc6bc8debf025859ddc59e5dfb8f96b1e5b9
[ "MIT" ]
12
2019-11-19T19:14:53.000Z
2022-03-29T06:52:20.000Z
#ifndef QDEFERRED_H #define QDEFERRED_H #include <QExplicitlySharedDataPointer> #include <QList> #include <QTimer> #include <functional> #include <QDebug> #include "qdeferreddata.hpp" template<class ...Types> class QDeferred { public: // constructors QDeferred(); QDeferred(const QDeferred<Types...
33.042857
133
0.672411
[ "object" ]
d89a899e4957cf79279b9776f17e6ac8874946b7
11,090
cc
C++
Sources/OpenGL sb6/Chapter12/_1231_deferred.cc
liliilli/SH-GraphicsStudy
314af5ad6ec04b91ec86978c60cc2f96db6a1d7c
[ "Unlicense" ]
3
2019-11-23T16:37:22.000Z
2021-05-02T20:43:27.000Z
Sources/OpenGL sb6/Chapter12/_1231_deferred.cc
liliilli/SH-GraphicsStudy
314af5ad6ec04b91ec86978c60cc2f96db6a1d7c
[ "Unlicense" ]
3
2018-05-01T04:52:39.000Z
2018-05-10T02:14:46.000Z
Sources/OpenGL sb6/Chapter12/_1231_deferred.cc
liliilli/GraphicsStudy
314af5ad6ec04b91ec86978c60cc2f96db6a1d7c
[ "Unlicense" ]
2
2019-11-23T16:37:38.000Z
2022-03-29T10:33:32.000Z
#include <sb6.h> #include <vmath.h> #include <object.h> #include <shader.h> #include <sb6ktx.h> #ifndef _WIN32 #define _WIN32 0 #endif enum { MAX_DISPLAY_WIDTH = 2048, MAX_DISPLAY_HEIGHT = 2048, NUM_LIGHTS = 64, NUM_INSTANCES = (15 * 15) }; class DeferredShading fi...
36.123779
185
0.623805
[ "render", "object" ]
d89c141ed9a18bb728193d9d9174645c40823fe4
4,300
cpp
C++
test/Config.cpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
test/Config.cpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
test/Config.cpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
// Config.cpp // // Unit test for Config.hpp #include <luaconfig/luaconfig.hpp> #include <cstdlib> #include <iostream> #include <iomanip> #include <vector> #include <array> int main(void) { // Open file luaconfig::Config cfg("test.lua"); // Test simple reading { auto x = cfg.get<double>("x")...
31.851852
107
0.514419
[ "vector" ]
d8a4ca71166e6910652b64b00f1488052a94c90f
4,228
cpp
C++
ixbots/ixbots/IXCobraToSentryBot.cpp
fcojavmc/IXWebSocket
493b23d4da88f0a49bd7561dd0de692cd5773f19
[ "BSD-3-Clause" ]
null
null
null
ixbots/ixbots/IXCobraToSentryBot.cpp
fcojavmc/IXWebSocket
493b23d4da88f0a49bd7561dd0de692cd5773f19
[ "BSD-3-Clause" ]
null
null
null
ixbots/ixbots/IXCobraToSentryBot.cpp
fcojavmc/IXWebSocket
493b23d4da88f0a49bd7561dd0de692cd5773f19
[ "BSD-3-Clause" ]
null
null
null
/* * IXCobraToSentryBot.cpp * Author: Benjamin Sergeant * Copyright (c) 2019 Machine Zone, Inc. All rights reserved. */ #include "IXCobraToSentryBot.h" #include "IXCobraBot.h" #include "IXQueueManager.h" #include <ixcobra/IXCobraConnection.h> #include <ixcore/utils/IXCoreLogger.h> #include <chrono> #include <...
35.830508
107
0.431883
[ "vector" ]
d8a7c4eba092fbb89b3790dde4fd0402bec2f17f
578
hpp
C++
src/org/apache/poi/ss/usermodel/ConditionFilterData.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/usermodel/ConditionFilterData.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/usermodel/ConditionFilterData.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/usermodel/ConditionFilterData.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/ss/usermodel/fwd-POI.hpp> #include <java/lang/Object.hpp> struct poi::ss::usermodel::ConditionFilterData : public virtual ::java::lang::Object { virtual bool getAboveA...
26.272727
80
0.688581
[ "object" ]
d8ab0b5b8a13936586421195551b325866be5a6c
7,869
cpp
C++
source/app/cmdparser/cmdparser.cpp
MatthijsReyers/HexMe
945acbe8ed0fa48c01bda2f5083b0bba6293007d
[ "MIT" ]
5
2019-09-14T10:10:18.000Z
2022-02-18T03:50:23.000Z
source/app/cmdparser/cmdparser.cpp
MatthijsReyers/HexMe
945acbe8ed0fa48c01bda2f5083b0bba6293007d
[ "MIT" ]
null
null
null
source/app/cmdparser/cmdparser.cpp
MatthijsReyers/HexMe
945acbe8ed0fa48c01bda2f5083b0bba6293007d
[ "MIT" ]
1
2019-10-10T16:23:05.000Z
2019-10-10T16:23:05.000Z
#include "cmdparser.h" cmdparser::cmdparser(utils::file& f, app* h): file(f), hexme(h) { this->commands["exit"] = &cmdparser::onExit; this->commands["open"] = &cmdparser::onOpen; this->commands["goto"] = &cmdparser::onGoto; this->commands["find"] = &cmdparser::onFind; this->commands["insert"] = &cm...
29.36194
106
0.576566
[ "vector" ]
d8ace6aa6974426f762ac66a0cbfc68cec3bc923
3,956
cpp
C++
ScrollBarStyle.cpp
KevinThierauf/SFML_TextBox
7f2594bea04edb5be17715ccdddd9c9a0cb4d7b3
[ "MIT" ]
null
null
null
ScrollBarStyle.cpp
KevinThierauf/SFML_TextBox
7f2594bea04edb5be17715ccdddd9c9a0cb4d7b3
[ "MIT" ]
null
null
null
ScrollBarStyle.cpp
KevinThierauf/SFML_TextBox
7f2594bea04edb5be17715ccdddd9c9a0cb4d7b3
[ "MIT" ]
null
null
null
#include <SFML/Graphics/RenderTarget.hpp> #include <SFML/Graphics/RectangleShape.hpp> #include <algorithm> #include "ScrollBarStyle.hpp" #include "ScrollBar.hpp" namespace sftb { float ScrollBarStyle::getPrimary(const ScrollBar &scrollBar, const sf::Vector2f &vector) { return getComponent(scrollBar.isVerti...
43.955556
168
0.684024
[ "shape", "vector" ]
d8add73aec5e6eb4689cc2d0f6976710627f6d0d
18,186
cpp
C++
ufora/FORA/CompilerCache/OnDiskCompilerStore.cpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/FORA/CompilerCache/OnDiskCompilerStore.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/FORA/CompilerCache/OnDiskCompilerStore.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015-2016 Ufora Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/...
26.510204
114
0.71786
[ "object", "vector" ]
d8c518fdd8cf624923627b7c93309d496fda3d78
1,811
cpp
C++
tests/MaximalSquareTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
tests/MaximalSquareTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
tests/MaximalSquareTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "catch.hpp" #include "MaximalSquare.hpp" TEST_CASE("Maximal Square") { MaximalSquare s; SECTION("Sample test") { vector<vector<char>> matrix{ {'1', '0', '1', '0', '0'}, {'1', '0', '1', '1', '1'}, {'1', '1', '1', '1', '1'}, {'1', ...
31.224138
47
0.312535
[ "vector" ]
d8c5454c8d4137d70b9c4c9dea3a15d71827235b
2,247
cpp
C++
client/cpp-tizen/src/VersionResponse.cpp
KaNaDaAT/java-spring-template
451bb58563bfcdbc3fe735f2e95ea52a3cf9e76e
[ "Unlicense" ]
null
null
null
client/cpp-tizen/src/VersionResponse.cpp
KaNaDaAT/java-spring-template
451bb58563bfcdbc3fe735f2e95ea52a3cf9e76e
[ "Unlicense" ]
70
2021-11-03T11:38:21.000Z
2022-03-31T16:23:30.000Z
client/cpp-tizen/src/VersionResponse.cpp
KaNaDaAT/java-spring-template
451bb58563bfcdbc3fe735f2e95ea52a3cf9e76e
[ "Unlicense" ]
1
2021-11-11T13:06:13.000Z
2021-11-11T13:06:13.000Z
#include <map> #include <cstdlib> #include <glib-object.h> #include <json-glib/json-glib.h> #include "Helpers.h" #include "VersionResponse.h" using namespace std; using namespace Tizen::ArtikCloud; VersionResponse::VersionResponse() { //__init(); } VersionResponse::~VersionResponse() { //__cleanup(); } void Ver...
16.522059
80
0.679128
[ "object" ]
d8c7315ddb457f51ef1f724f1380de691ca00b6c
19,228
hh
C++
src/ProcIO2.hh
glennklockwood/procmon
c6e67d63e7c9c24f85a46b6d8965b8c615097edc
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/ProcIO2.hh
glennklockwood/procmon
c6e67d63e7c9c24f85a46b6d8965b8c615097edc
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/ProcIO2.hh
glennklockwood/procmon
c6e67d63e7c9c24f85a46b6d8965b8c615097edc
[ "BSD-3-Clause-LBNL" ]
null
null
null
/******************************************************************************* procmon, Copyright (c) 2014, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. If you have questi...
27.706052
126
0.646557
[ "vector" ]
d8c9bb3ea324fc1400c36d4a2817b0c410c7bc03
1,756
cpp
C++
polymorphism/main.cpp
fantasialin/cpp_sandbox
c2b24c30871d1528e45c9c0c0d233d3e9f4dbd3e
[ "Apache-2.0" ]
null
null
null
polymorphism/main.cpp
fantasialin/cpp_sandbox
c2b24c30871d1528e45c9c0c0d233d3e9f4dbd3e
[ "Apache-2.0" ]
null
null
null
polymorphism/main.cpp
fantasialin/cpp_sandbox
c2b24c30871d1528e45c9c0c0d233d3e9f4dbd3e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Shape { public: virtual void draw() = 0;//pure virtual function virtual ~Shape() {} }; class Rect : public Shape { public: virtual void draw() { cout << "Rect : " << __FUNCTION__ << endl;} ~Rect() { cout << "Rect dtor" << endl;} private...
21.414634
92
0.583144
[ "shape", "vector" ]
d8cf7c1957d9cc751bee6df926d4fb7fa97357cd
15,613
cxx
C++
src/FesExposure.cxx
fermi-lat/EbfWriter
ede39be090864de859e21103bd862839cbf4116a
[ "BSD-3-Clause" ]
null
null
null
src/FesExposure.cxx
fermi-lat/EbfWriter
ede39be090864de859e21103bd862839cbf4116a
[ "BSD-3-Clause" ]
null
null
null
src/FesExposure.cxx
fermi-lat/EbfWriter
ede39be090864de859e21103bd862839cbf4116a
[ "BSD-3-Clause" ]
null
null
null
/**: @file FesExposure.cxx @brief declare and implement the Algorithm FesExposure $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/EbfWriter/src/FesExposure.cxx,v 1.4 2011/05/20 15:01:26 heather Exp $ */ // Include files // Gaudi system includes #include "GaudiKernel/Algorithm.h" #include "GaudiKerne...
29.570076
154
0.604816
[ "vector" ]
d8d1f83ed1b9b873b297f21116b99820a315ab82
464
cc
C++
tile/ocl_exec/intrinsic.cc
redoclag/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
4,535
2017-10-20T05:03:57.000Z
2022-03-30T15:42:33.000Z
tile/ocl_exec/intrinsic.cc
HOZHENWAI/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
984
2017-10-20T17:16:09.000Z
2022-03-30T05:43:18.000Z
tile/ocl_exec/intrinsic.cc
HOZHENWAI/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
492
2017-10-20T18:22:32.000Z
2022-03-30T09:00:05.000Z
#include "tile/ocl_exec/intrinsic.h" namespace vertexai { namespace tile { namespace hal { namespace opencl { std::vector<lang::IntrinsicSpec> ocl_intrinsics = { {"vloadn", EmitVloadn}, {"vstoren", EmitVstoren}, }; sem::ExprPtr EmitVloadn(const stripe::Intrinsic& in) { return nullptr; } sem::ExprPtr EmitVst...
22.095238
73
0.706897
[ "vector" ]
d8d8e1c8dc28587999cbc46a6add208e60bd3991
28,408
cpp
C++
osr_perf/src/roboclaw.cpp
ljb2208/osr-rover-code
f4791d835cd760446777a226d37bb3114256affd
[ "Apache-2.0" ]
null
null
null
osr_perf/src/roboclaw.cpp
ljb2208/osr-rover-code
f4791d835cd760446777a226d37bb3114256affd
[ "Apache-2.0" ]
null
null
null
osr_perf/src/roboclaw.cpp
ljb2208/osr-rover-code
f4791d835cd760446777a226d37bb3114256affd
[ "Apache-2.0" ]
null
null
null
/* * roboclaw.cpp - implementation of the roboclaw C++ library using ROS serial * * This code is a modified version of the Ion Motion Control Arduino library. * To view the code in its original form, download it at * http://downloads.ionmc.com/code/arduino.zip */ #include "../include/roboclaw.h" /* * Macr...
29.407867
277
0.634434
[ "object" ]
d8e2b1fe15cc582ce259a89ea28a672bab03e697
6,585
cpp
C++
src/EC_Core/Components/tetromino.cpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
src/EC_Core/Components/tetromino.cpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
src/EC_Core/Components/tetromino.cpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
#include "tetromino.hpp" #include "transform.hpp" #include "appearance.hpp" #include "collider.hpp" #include "gamefield.hpp" #include "soundeffects.hpp" #include "../../debug.hpp" #include "../../math.hpp" #include "../../texture.hpp" #include "../../media.hpp" Tetromino::Tetromino() { direction = 0; type = TE...
35.403226
112
0.593014
[ "render", "vector", "transform" ]
d8e5190aecd91808752e420df42d6b5b521a8ebd
738
hh
C++
astra-sim/system/Usage.hh
brianwuuu/astra-sim
b28636b8f6fecf41f486e5680b009447c7c124c3
[ "MIT" ]
35
2020-08-20T17:59:12.000Z
2022-03-03T07:14:31.000Z
astra-sim/system/Usage.hh
brianwuuu/astra-sim
b28636b8f6fecf41f486e5680b009447c7c124c3
[ "MIT" ]
24
2020-08-24T22:27:15.000Z
2022-03-05T14:19:49.000Z
astra-sim/system/Usage.hh
brianwuuu/astra-sim
b28636b8f6fecf41f486e5680b009447c7c124c3
[ "MIT" ]
24
2020-08-26T16:46:53.000Z
2022-02-28T15:29:22.000Z
/****************************************************************************** This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *******************************************************************************/ #ifndef __USAGE_HH__ #define __USAGE_H...
23.0625
80
0.578591
[ "vector" ]
d8e6c8fdfb4e2062fd211957b432176dba1c951f
1,794
cpp
C++
testbed/tests/environments/small_hills.cpp
DomiKoPL/BoxCar2D.cpp
a3bbb80304bccf7a8a232bfb8fe78718c47e03f7
[ "MIT" ]
null
null
null
testbed/tests/environments/small_hills.cpp
DomiKoPL/BoxCar2D.cpp
a3bbb80304bccf7a8a232bfb8fe78718c47e03f7
[ "MIT" ]
null
null
null
testbed/tests/environments/small_hills.cpp
DomiKoPL/BoxCar2D.cpp
a3bbb80304bccf7a8a232bfb8fe78718c47e03f7
[ "MIT" ]
null
null
null
#include "small_hills.hpp" #include <vector> SmallHills::SmallHills(bool blocked) : CarEnvironment(blocked) { m_map_width = 1000.f; b2Vec2 gravity; gravity.Set(0.0f, -20.0f); m_world->SetGravity(gravity); b2BodyDef groundBody; groundBody.position.Set(0.0f, 0.0f); b2Body* ground = m_world->C...
21.105882
86
0.555741
[ "shape", "vector" ]
d8e6ce160958882dacb9ca683dc1006ee28a8603
573
cpp
C++
Difficulty 1/cups.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 1/cups.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 1/cups.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; int main() { int N, r, d; string color, number; vector<pair<int, string>> cr; cin >> N; for(int i = 0; i < N; i++) { cin >> color >> number; bool digit = isdigit(color[0]); if (digit) { ...
21.222222
59
0.514834
[ "vector" ]
d8f2783ab7bb7f51812af10f28f5ae92f74dc924
928
cpp
C++
android-29/android/media/MediaSession2Service_MediaNotification.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/media/MediaSession2Service_MediaNotification.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/media/MediaSession2Service_MediaNotification.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../app/Notification.hpp" #include "./MediaSession2Service_MediaNotification.hpp" namespace android::media { // Fields // QJniObject forward MediaSession2Service_MediaNotification::MediaSession2Service_MediaNotification(QJniObject obj) : JObject(obj) {} // Constructors MediaSession2Service_MediaNotif...
25.081081
123
0.757543
[ "object" ]
d8f3496b67fe8d7f132f64ed7ace5761e5d85954
1,430
cpp
C++
LightOJ/LOJ_AC/1076 - Get the Containers .cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
3
2018-05-11T07:33:20.000Z
2020-08-30T11:02:02.000Z
LightOJ/LOJ_AC/1076 - Get the Containers .cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
1
2018-05-11T18:10:26.000Z
2018-05-12T18:00:28.000Z
LightOJ/LOJ_AC/1076 - Get the Containers .cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
null
null
null
/*************************************************** * Problem name : 1076 - Get the Containers .cpp * OJ : LOJ * Result : Accepted * Date : 29-03-17 * Problem Type : Binary Search ...
20.140845
71
0.441958
[ "vector" ]
d8f7cdb8b0a5c6f721e8dd326c8654c949e3e255
3,040
cpp
C++
controllers/retagcontroller.cpp
ideeinc/Deepagent
5d37ecf8e196d54d3914edc0c7b309377f772c1f
[ "BSD-3-Clause" ]
null
null
null
controllers/retagcontroller.cpp
ideeinc/Deepagent
5d37ecf8e196d54d3914edc0c7b309377f772c1f
[ "BSD-3-Clause" ]
null
null
null
controllers/retagcontroller.cpp
ideeinc/Deepagent
5d37ecf8e196d54d3914edc0c7b309377f772c1f
[ "BSD-3-Clause" ]
null
null
null
#include "retagcontroller.h" #include "containers/retagsearchcontainer.h" #include "containers/retagshowcontainer.h" void RetagController::search() { switch (httpRequest().method()) { case Tf::Get: case Tf::Post: { auto req = httpRequest(); QStringList args = { req.queryItemValue("tag0"), ...
24.32
114
0.574013
[ "render" ]
d8fe7fc150340a3af476f7fd11a73bcd87744a8e
646
cpp
C++
notebook/math/sieve.cpp
brnpapa/icpc
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
19
2020-10-05T08:02:40.000Z
2021-08-17T08:13:16.000Z
notebook/math/sieve.cpp
brnpapa/judge-resolutions
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
null
null
null
notebook/math/sieve.cpp
brnpapa/judge-resolutions
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
10
2020-10-05T08:03:43.000Z
2021-08-19T17:19:25.000Z
/* Motivation: generate all primes until an upper bound UB < 10^7. */ #include <bits/stdc++.h> using namespace std; typedef long long ll; const int UB = 1e7; vector<int> primes; // all primes in range [2..UB] bitset<UB+1> is_composite; /* O(UB*log(log(UB))) */ void build_sieve() { primes.clear(); is_composit...
21.533333
66
0.577399
[ "vector" ]
d8ff2b65369caf6ce8861e7928db82bee53f3d80
903
cpp
C++
cpp-leetcode/leetcode313-super-ugly-number_dp.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
45
2021-07-25T00:45:43.000Z
2022-03-24T05:10:43.000Z
cpp-leetcode/leetcode313-super-ugly-number_dp.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
null
null
null
cpp-leetcode/leetcode313-super-ugly-number_dp.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
15
2021-07-25T00:40:52.000Z
2021-12-27T06:25:31.000Z
#include<vector> #include<algorithm> #include<iostream> using namespace std; class Solution { public: int nthSuperUglyNumber(int n, vector<int>& primes) { int k = primes.size(); vector<int>p(k,0); /* p数组放有每个质数 2, 3, 5...等的指针, 一开始都是0 */ vector<int>results({1}); for (int ...
21.5
71
0.468439
[ "vector" ]
2b00e7e60b5a2f9478422a66aeb953981466eedd
2,378
cpp
C++
CH6 Writing a Program/E09.cpp
essentialblend/cplusplus-mega
23a91280532f246c96ad4d918bff4b8e15c30ac6
[ "MIT" ]
null
null
null
CH6 Writing a Program/E09.cpp
essentialblend/cplusplus-mega
23a91280532f246c96ad4d918bff4b8e15c30ac6
[ "MIT" ]
null
null
null
CH6 Writing a Program/E09.cpp
essentialblend/cplusplus-mega
23a91280532f246c96ad4d918bff4b8e15c30ac6
[ "MIT" ]
null
null
null
/*IE09: Read digits from input and compose them into integers. Handle number with one to four digits. Hint: '5'-'0' == 5 (get integer value of character)*/ #include <iostream> #include <vector> std::vector<std::string> WordArray{ "thousand", "hundred", "ten", "one" }; int ConvertCharToInt(std::vector<int> TempVector)...
25.847826
94
0.540791
[ "vector" ]
2b0a666390e09b2e369c5c6c8c75015e070f069e
3,956
cpp
C++
virtual_clay_2/virtual_clay_2/src/d3d/d3d_camera.cpp
RythBlade/virtual_clay_2
987eeebe24521d7f3d8b38235121bb3f9c464b10
[ "MIT" ]
null
null
null
virtual_clay_2/virtual_clay_2/src/d3d/d3d_camera.cpp
RythBlade/virtual_clay_2
987eeebe24521d7f3d8b38235121bb3f9c464b10
[ "MIT" ]
null
null
null
virtual_clay_2/virtual_clay_2/src/d3d/d3d_camera.cpp
RythBlade/virtual_clay_2
987eeebe24521d7f3d8b38235121bb3f9c464b10
[ "MIT" ]
null
null
null
// LCCREDIT start of 3DGraph1 #include <iostream> #include "d3d_camera.h" #include "settings/window_settings.h" /*----------------------------------------------------------------------------\ * Camera defaults | *---------------------------------------------------------------------------...
25.522581
135
0.575329
[ "object" ]
2b0aad1f9fc2186854ac717313b24d3f91323b9b
3,820
cpp
C++
warn_unused_result/warn_unused_result.cpp
sinelaw/elfs-clang-plugins
a71525c90534806f9a12f15fb94c4ecbfdf9f41b
[ "MIT" ]
97
2017-08-13T07:03:30.000Z
2022-02-12T22:51:18.000Z
warn_unused_result/warn_unused_result.cpp
sinelaw/elfs-clang-plugins
a71525c90534806f9a12f15fb94c4ecbfdf9f41b
[ "MIT" ]
3
2017-10-12T14:24:18.000Z
2018-11-01T13:55:36.000Z
warn_unused_result/warn_unused_result.cpp
sinelaw/elfs-clang-plugins
a71525c90534806f9a12f15fb94c4ecbfdf9f41b
[ "MIT" ]
6
2017-08-13T23:54:49.000Z
2020-05-22T15:29:04.000Z
#include "../plugins_common.h" #include <clang/Frontend/FrontendPluginRegistry.h> #include <clang/Frontend/CompilerInstance.h> #include <clang/Lex/Preprocessor.h> #include <clang/Lex/MacroInfo.h> #include <clang/AST/Decl.h> #include <clang/ASTMatchers/ASTMatchFinder.h> #include <clang/AST/ASTContext.h> #include <clang...
33.80531
133
0.623037
[ "vector" ]
2b12b3220e199817ae1bbd75a704e943b5aa999c
25,049
cpp
C++
src/caskbench.cpp
bryceharrington/caskbench
45f67bf2ab96f15ef2d99848ef150128b3d44465
[ "BSD-3-Clause" ]
4
2018-11-11T20:58:08.000Z
2022-01-21T10:26:48.000Z
src/caskbench.cpp
Acidburn0zzz/caskbench
45f67bf2ab96f15ef2d99848ef150128b3d44465
[ "BSD-3-Clause" ]
null
null
null
src/caskbench.cpp
Acidburn0zzz/caskbench
45f67bf2ab96f15ef2d99848ef150128b3d44465
[ "BSD-3-Clause" ]
3
2018-07-16T10:31:56.000Z
2020-04-11T02:28:31.000Z
/* * Copyright 2014 © Samsung Research America, Silicon Valley * * Use of this source code is governed by the 3-Clause BSD license * specified in the COPYING file included with this source code. */ #include <config.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <assert.h>...
31.627525
208
0.584175
[ "object", "shape", "solid" ]
2b152251448ef95c7bfbe45575675bc02dd299a3
64,110
cpp
C++
examples/example_win32_directx10/main.cpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
4
2021-05-09T23:33:54.000Z
2022-03-06T10:16:31.000Z
examples/example_win32_directx10/main.cpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
null
null
null
examples/example_win32_directx10/main.cpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
6
2021-05-09T21:41:48.000Z
2021-09-08T10:54:28.000Z
// Dear ImGui: standalone example application for DirectX 10 // If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp. // Read online: https://github.com/ocornut/imgui/tree/master/docs #include "imgui.h" #include "imgui_impl_win32.h" #include "imgui_impl_dx10.h" #include <d...
32.248491
198
0.568757
[ "render", "vector" ]
2b16a6eff0fab4f4dcc1f635ef281309bfbeabb2
1,867
cpp
C++
loot/loot_data_container.cpp
blockspacer/entity_spell_system
6b2c97df9a7a9f1d7c8ecb9f80006b0c471cb80d
[ "MIT" ]
null
null
null
loot/loot_data_container.cpp
blockspacer/entity_spell_system
6b2c97df9a7a9f1d7c8ecb9f80006b0c471cb80d
[ "MIT" ]
null
null
null
loot/loot_data_container.cpp
blockspacer/entity_spell_system
6b2c97df9a7a9f1d7c8ecb9f80006b0c471cb80d
[ "MIT" ]
1
2020-01-08T12:55:20.000Z
2020-01-08T12:55:20.000Z
#include "loot_data_container.h" int LootDataContainter::get_num_entries() const { return _entries.size(); } Ref<LootDataBase> LootDataContainter::get_entry(int index) const { ERR_FAIL_INDEX_V(index, _entries.size(), Ref<LootDataBase>(NULL)); return _entries.get(index); } void LootDataContainter::set_entry(const ...
31.116667
167
0.737011
[ "vector" ]
2b19f720ddfacf1c096fd0c5b9c71bbb3df24ac7
1,987
cpp
C++
kgl_genomics/kgl_parser/kgl_variant_factory_readvcf_impl.cpp
kellerberrin/OSM_Gene_Cpp
4ec4d1244f3f1b16213cf05f0056d8e5f85d68c4
[ "MIT" ]
1
2021-04-09T16:24:06.000Z
2021-04-09T16:24:06.000Z
kgl_genomics/kgl_parser/kgl_variant_factory_readvcf_impl.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
null
null
null
kgl_genomics/kgl_parser/kgl_variant_factory_readvcf_impl.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
null
null
null
// // Created by kellerberrin on 16/4/20. // #include "kgl_variant_factory_readvcf_impl.h" namespace kgl = kellerberrin::genome; void kgl::VCFReaderMT::readHeader(const std::string& file_name) { if (not parseheader_.parseHeader(file_name)) { ExecEnv::log().error("RecordVCFIO::VCFReadHeader, Problem parsing...
21.835165
110
0.693005
[ "object", "vector" ]
2b218d332c2df8b3375c9c660bdbd721cdb4df5b
1,212
cpp
C++
grooking_patterns_cpp/1_sliding_window/1_9.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
1
2021-09-19T16:41:58.000Z
2021-09-19T16:41:58.000Z
grooking_patterns_cpp/1_sliding_window/1_9.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
grooking_patterns_cpp/1_sliding_window/1_9.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> perm_pattern_str_ind(string str, string pattern){ int win_start = 0, cnt1 = 0, cnt2 = 0; vector<int> indices; unordered_map<char, int> umap; for(int i = 0; i < pattern.length(); ++i) umap[pattern[i]]++; cnt1 = umap.size(); for(int i = ...
29.560976
88
0.577558
[ "vector" ]
2b28df8dd4693b38579f89dd32168c4a4031aa92
1,833
cpp
C++
aws-cpp-sdk-iotevents/source/model/Input.cpp
crazecdwn/aws-sdk-cpp
e74b9181a56e82ee04cf36a4cb31686047f4be42
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-iotevents/source/model/Input.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-iotevents/source/model/Input.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
21.564706
78
0.740862
[ "model" ]
1a745446eb5f1a1bd94c92354e3f3fd1ba78a851
3,060
cpp
C++
exporttexturestablemodel.cpp
strattonbrazil/paintbug
a000554d85c156d90430987863a0ae623fa54e4b
[ "Apache-2.0" ]
3
2020-03-05T18:07:05.000Z
2020-08-26T08:32:17.000Z
exporttexturestablemodel.cpp
strattonbrazil/paintbug
a000554d85c156d90430987863a0ae623fa54e4b
[ "Apache-2.0" ]
null
null
null
exporttexturestablemodel.cpp
strattonbrazil/paintbug
a000554d85c156d90430987863a0ae623fa54e4b
[ "Apache-2.0" ]
1
2021-10-02T21:21:22.000Z
2021-10-02T21:21:22.000Z
#include "exporttexturestablemodel.h" #include "project.h" ExportTexturesTableModel::ExportTexturesTableModel(QObject *parent) : QAbstractTableModel(parent) { QVectorIterator<Mesh*> meshes = Project::activeProject()->meshes(); while (meshes.hasNext()) { Mesh* mesh = meshes.next(); _write...
26.153846
103
0.629412
[ "mesh" ]
1a78b882d8cdb75a6b8de7a971061ce93d68c238
2,401
cpp
C++
coffeeDBR/src/cml_ncgm/cml_ncgm.cpp
CoFFeeMaN11/CoffeeDBR
1c4fb0683263ada1a8a931cc78bb7cbe728e9d4b
[ "Apache-2.0" ]
null
null
null
coffeeDBR/src/cml_ncgm/cml_ncgm.cpp
CoFFeeMaN11/CoffeeDBR
1c4fb0683263ada1a8a931cc78bb7cbe728e9d4b
[ "Apache-2.0" ]
null
null
null
coffeeDBR/src/cml_ncgm/cml_ncgm.cpp
CoFFeeMaN11/CoffeeDBR
1c4fb0683263ada1a8a931cc78bb7cbe728e9d4b
[ "Apache-2.0" ]
null
null
null
#include "cml_ncgm.h" #include <cstdio> int oneDFunction(long double alpha, void* params, long double& result) { ConjugeteGradientSolve *cgs = (ConjugeteGradientSolve*)params; cml::Vector<long double, 2> t = (cgs->GetStep() * alpha); cgs->func(cgs->GetX() + t, cgs->params, result); return 0; } ConjugeteGradientSol...
24.252525
111
0.68055
[ "vector" ]
1a839591381234c85f0db44aba91ba8a76ce210f
3,911
hpp
C++
lib/include/General.hpp
Werni2A/OAP
5fb7ec4cd3161f5686df8707eae73c51d27fd134
[ "MIT" ]
10
2021-10-01T06:48:13.000Z
2022-03-21T10:11:25.000Z
lib/include/General.hpp
Werni2A/OAP
5fb7ec4cd3161f5686df8707eae73c51d27fd134
[ "MIT" ]
5
2021-09-26T19:55:37.000Z
2022-03-19T20:31:03.000Z
lib/include/General.hpp
Werni2A/OAP
5fb7ec4cd3161f5686df8707eae73c51d27fd134
[ "MIT" ]
1
2022-01-05T19:23:34.000Z
2022-01-05T19:23:34.000Z
#ifndef GENERAL_H #define GENERAL_H #include <algorithm> #include <cstdint> #include <ctime> #include <iostream> #include <string> #include <vector> #include <magic_enum.hpp> #include "Exception.hpp" /** * @brief Version of the file format. */ enum class FileFormatVersion { Unknown, V17_4_S012 // 10/18/...
20.47644
118
0.617233
[ "shape", "vector", "transform" ]
1a9600a3389c6236633c71de3a5fa8dfb71e55a0
2,986
cpp
C++
lib/poplibs_support/ContiguousRegionsByTile.cpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
95
2020-07-06T17:11:23.000Z
2022-03-12T14:42:28.000Z
lib/poplibs_support/ContiguousRegionsByTile.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
null
null
null
lib/poplibs_support/ContiguousRegionsByTile.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
14
2020-07-15T12:32:57.000Z
2022-01-26T14:58:45.000Z
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #include "poplibs_support/ContiguousRegionsByTile.hpp" #include <cassert> #if defined(ALTERNATE_IMPLEMENTATION__) #include <boost/icl/interval_map.hpp> #include <boost/optional.hpp> #endif namespace poplibs { #if defined(ALTERNATE_IMPLEMENTATION__) std::vec...
30.161616
80
0.667783
[ "vector" ]
1a96333b3f7406cda411a696f67318881cd6721c
8,316
hpp
C++
benchmark/benchmark_common.hpp
Razdeep/autocomplete
fbe73627d58805e137bef2ebb10945cd845c5928
[ "MIT" ]
26
2020-05-12T10:55:48.000Z
2022-03-07T10:57:37.000Z
benchmark/benchmark_common.hpp
Razdeep/autocomplete
fbe73627d58805e137bef2ebb10945cd845c5928
[ "MIT" ]
3
2021-08-04T18:27:03.000Z
2022-02-08T11:22:53.000Z
benchmark/benchmark_common.hpp
Razdeep/autocomplete
fbe73627d58805e137bef2ebb10945cd845c5928
[ "MIT" ]
3
2020-05-24T08:07:29.000Z
2021-07-19T09:59:56.000Z
#pragma once #include "../external/cmd_line_parser/include/parser.hpp" #include "probe.hpp" namespace autocomplete { namespace benchmarking { static const uint32_t runs = 5; } // void tolower(std::string& str) { // std::transform(str.begin(), str.end(), str.begin(), // [](unsigned char c) { r...
63.480916
80
0.357143
[ "vector", "transform" ]
1a9b914f74b7c4a5fce04d95fad2017e6f611d40
2,475
cpp
C++
thirdparty/spline/spline/spline.cpp
jpcima/spectacle
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
44
2020-04-16T19:20:00.000Z
2022-02-27T00:10:13.000Z
thirdparty/spline/spline/spline.cpp
jpcima/spectacle
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
18
2020-04-16T03:28:55.000Z
2021-11-15T19:49:12.000Z
thirdparty/spline/spline/spline.cpp
jpcima/spectral
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
3
2020-04-16T01:22:48.000Z
2021-08-10T20:34:30.000Z
/*============================================================================== Copyright 2018 by Roland Rabien, Devin Lane For more information visit www.rabiensoftware.com ==============================================================================*/ /* "THE BEER-WARE LICENSE" (Revision 42): Devin Lane wrote...
26.612903
109
0.459394
[ "vector" ]
1aad021fd013504775499d659ff64f9f57df5203
12,367
cc
C++
docker_containers/docker-click-fsm/gateway.cc
brytul/IoT_Sec_Gateway
f4fbb622c2c0556ee1c8b0d4661c1cb82b8bfb8f
[ "MIT" ]
8
2018-08-08T14:42:01.000Z
2020-09-24T15:53:32.000Z
docker_containers/docker-click-fsm/gateway.cc
brytul/IoT_Sec_Gateway
f4fbb622c2c0556ee1c8b0d4661c1cb82b8bfb8f
[ "MIT" ]
1
2020-06-02T19:01:21.000Z
2020-06-02T19:01:21.000Z
docker_containers/docker-click-fsm/gateway.cc
brytul/IoT_Sec_Gateway
f4fbb622c2c0556ee1c8b0d4661c1cb82b8bfb8f
[ "MIT" ]
9
2018-01-29T00:54:33.000Z
2020-05-31T20:32:51.000Z
#include <click/config.h> #include <click/confparse.hh> #include <map> #include "gateway.hh" /* Add header files as required */ CLICK_DECLS using namespace std; // Fills lps[] for given patttern pat[0..M-1] void computeLPSArray(char *pat, int M, int *lps) { // length of the previous longest prefix suffix int...
26.481799
117
0.545646
[ "object", "vector" ]
1aad58c79457ab932253f01907443d1af6b98365
685
cpp
C++
LeetCode/806.cpp
realvadim/from-software-developer-to-engineer
fa2abfdc3b13ca98db1b525ec67ac921c92e2d6a
[ "MIT" ]
16
2018-10-29T06:42:57.000Z
2022-01-08T02:42:17.000Z
LeetCode/806.cpp
realvadim/from-software-developer-to-engineer
fa2abfdc3b13ca98db1b525ec67ac921c92e2d6a
[ "MIT" ]
null
null
null
LeetCode/806.cpp
realvadim/from-software-developer-to-engineer
fa2abfdc3b13ca98db1b525ec67ac921c92e2d6a
[ "MIT" ]
2
2019-05-22T02:41:24.000Z
2019-06-12T15:38:58.000Z
class Solution { public: vector<int> numberOfLines(vector<int>& widths, string S) { vector<int> result; int numberOfCharactersInCurrentLine = 0; int numberOfLines = 1; for(int i = 0; i < S.length(); i++) { int width = widths[S[i] - 'a']; if (numberOfCharact...
26.346154
65
0.556204
[ "vector" ]
1ac377e1808ccc61265dbdf2ae67185380b9bcf4
12,464
cpp
C++
VirtualStage/KinectMaskGenerator/main.cpp
nicolasdeory/ailab
3b41352946a1189e6cd7b576613d44ab90c003f5
[ "MIT" ]
4,537
2018-08-23T19:37:17.000Z
2019-05-06T12:48:19.000Z
VirtualStage/KinectMaskGenerator/main.cpp
admariner/ailab
3bfc475eef00232fce655d94199cc20c7a53d573
[ "MIT" ]
37
2018-08-30T07:33:36.000Z
2019-05-03T22:23:59.000Z
VirtualStage/KinectMaskGenerator/main.cpp
admariner/ailab
3bfc475eef00232fce655d94199cc20c7a53d573
[ "MIT" ]
732
2018-08-23T17:25:33.000Z
2019-05-06T13:29:40.000Z
#pragma comment(lib, "k4a.lib") #define IMG_OFFSET 0 #include <iostream> #include <sys/types.h> #include <sys/stat.h> #include <k4a/k4a.h> #include <k4arecord/playback.h> #include <k4abt.h> #include <opencv2/opencv.hpp> #include <opencv2/core.hpp> #include <opencv2/core/utility.hpp> #include <opencv2/highgui.hpp> ...
34.622222
138
0.648026
[ "geometry", "transform" ]
1ac639805318056ff1edc9dd90685a8879455c91
3,454
cpp
C++
tests/test_utils.cpp
6br/gbwtgraph
ecbdd672c17bfe267bbec6ee0cc21e4b5ba82d4a
[ "MIT" ]
null
null
null
tests/test_utils.cpp
6br/gbwtgraph
ecbdd672c17bfe267bbec6ee0cc21e4b5ba82d4a
[ "MIT" ]
null
null
null
tests/test_utils.cpp
6br/gbwtgraph
ecbdd672c17bfe267bbec6ee0cc21e4b5ba82d4a
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gbwtgraph/utils.h> #include "shared.h" using namespace gbwtgraph; namespace { //------------------------------------------------------------------------------ class SourceTest : public ::testing::Test { public: void check_nodes(const SequenceSource& source, const std::vector<n...
27.412698
130
0.570064
[ "vector" ]
1ad8703b25f8bb2eafabbc5db81f6171043d6604
2,255
hpp
C++
test/testclass.hpp
Ammeraal/Traffic-Sign-Recognition-for-Autonomous-Cars
6c7e3e61cd301ed8777657322af8709b8249c47e
[ "MIT" ]
18
2018-02-17T20:55:01.000Z
2022-03-23T11:32:53.000Z
test/testclass.hpp
Ammeraal/Traffic-Sign-Recognition-for-Autonomous-Cars
6c7e3e61cd301ed8777657322af8709b8249c47e
[ "MIT" ]
1
2019-06-12T12:58:56.000Z
2019-06-12T12:58:56.000Z
test/testclass.hpp
Ammeraal/Traffic-Sign-Recognition-for-Autonomous-Cars
6c7e3e61cd301ed8777657322af8709b8249c47e
[ "MIT" ]
10
2018-04-29T19:34:56.000Z
2022-01-20T10:27:47.000Z
/** MIT License Copyright (c) 2017 Miguel Maestre Trueba Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
38.87931
107
0.758758
[ "vector" ]
1ad8920d3ff39ccf2de2329a4fd7bcaa4c94f590
4,489
cpp
C++
examples_glfwnew/30_cadmsh2d/main.cpp
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
null
null
null
examples_glfwnew/30_cadmsh2d/main.cpp
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
null
null
null
examples_glfwnew/30_cadmsh2d/main.cpp
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019 Nobuyuki Umetani * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <iostream> #include <math.h> #include "delfem2/vec3.h" // #include "delfem2/cad2_dtri2.h" // ---- #if defined(_MSC_VER) # include <w...
25.947977
89
0.61595
[ "cad", "vector" ]
1adac0536e7e77ce9462f41c0ac795f5f209527c
28,099
cpp
C++
panorama.cpp
nitinmadhok/panorama
8cc271bbbdbe5289d894ce564e452134168d5eb1
[ "MIT" ]
null
null
null
panorama.cpp
nitinmadhok/panorama
8cc271bbbdbe5289d894ce564e452134168d5eb1
[ "MIT" ]
null
null
null
panorama.cpp
nitinmadhok/panorama
8cc271bbbdbe5289d894ce564e452134168d5eb1
[ "MIT" ]
null
null
null
/* Description: Program to create a panorama from two input images, display it using OpenGL, optionally write it using OpenImageIO. Name: Nitin Madhok Date: December 4, 2013 Email: nmadhok@clemson.edu */ #ifdef __APPLE__ # include <GLUT/glut.h> #else # include <GL/glut.h> #endif #in...
31.395531
203
0.631232
[ "vector" ]
1adadb405b0583798288fd845c81fdb694f276bc
2,281
cpp
C++
10_MST/02_prim.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
2
2021-10-31T18:32:47.000Z
2022-01-28T08:58:34.000Z
10_MST/02_prim.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
null
null
null
10_MST/02_prim.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> #include <algorithm> #include <set> using namespace std; struct Edge { int from; int to; int weight; }; struct EdgeComparator { bool operator()(const Edge &first, const Edge &second) const { return first.weight > second.weight; } }; ...
23.515464
103
0.555897
[ "vector" ]
8c2db2b71916b74dcc0be20319e5d268caeede5c
1,186
cpp
C++
live555/client/ClientSession.cpp
osom8979/example
f3cbe2c345707596edc1ec2763f9318c4676a92f
[ "Zlib" ]
1
2020-02-11T05:37:54.000Z
2020-02-11T05:37:54.000Z
live555/client/ClientSession.cpp
osom8979/example
f3cbe2c345707596edc1ec2763f9318c4676a92f
[ "Zlib" ]
null
null
null
live555/client/ClientSession.cpp
osom8979/example
f3cbe2c345707596edc1ec2763f9318c4676a92f
[ "Zlib" ]
1
2022-03-01T00:47:19.000Z
2022-03-01T00:47:19.000Z
/** * @file ClientSession.cpp * @brief ClientSession class implementation. * @author zer0 * @date 2018-10-02 */ #include <libc2rtsp/client/ClientSession.hpp> #include <libc2rtsp/client/ClientSubsession.hpp> #include <libc2rtsp/log/Log.hpp> #include <cassert> namespace libc2rtsp { namespace client { Cli...
21.962963
101
0.684654
[ "object" ]
8c2fd7975fc3a66ecb93a29cccc1ccbeccd6f9de
1,341
cpp
C++
aws-cpp-sdk-grafana/source/model/PermissionEntry.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-grafana/source/model/PermissionEntry.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-grafana/source/model/PermissionEntry.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/grafana/model/PermissionEntry.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { names...
17.644737
69
0.707681
[ "model" ]
8c31ac72bef4f867f94371662cc89024f6ee4913
357,356
cpp
C++
src/swrast/s_triangle.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
src/swrast/s_triangle.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
src/swrast/s_triangle.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
/* $Id: s_triangle.c,v 1.65 2002/11/13 16:51:01 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 5.1 * * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (th...
47.319386
2,077
0.5178
[ "render", "model", "3d" ]
8c38965182365a38c1f4983c14e0b5b7edeb45d0
879
cpp
C++
src/MySQLResult.cpp
mark-grimes/CppSQL
6e34c1bdf46beff92f1c5eb6a97ae52d1f0a19ac
[ "MIT" ]
null
null
null
src/MySQLResult.cpp
mark-grimes/CppSQL
6e34c1bdf46beff92f1c5eb6a97ae52d1f0a19ac
[ "MIT" ]
null
null
null
src/MySQLResult.cpp
mark-grimes/CppSQL
6e34c1bdf46beff92f1c5eb6a97ae52d1f0a19ac
[ "MIT" ]
null
null
null
#include "cppsql/MySQLResult.h" #include <vector> cppsql::MySQLResult::MySQLResult( MYSQL_RES* pResult ) : pResult_(pResult) { if(pResult_==nullptr) throw std::runtime_error("Got null result pointer"); } cppsql::MySQLResult::~MySQLResult() { mysql_free_result(pResult_); } int cppsql::MySQLResult::numberOfFields()...
25.114286
121
0.748578
[ "vector" ]
8c3bff2f71761b665cc392589586ccb233c80c7d
12,096
cpp
C++
DAISGram.cpp
paolodurante94/DAISGram
aaab107d4abd0b0eea38f2c13899a35833258fd1
[ "MIT" ]
1
2021-09-06T17:51:50.000Z
2021-09-06T17:51:50.000Z
DAISGram.cpp
paolodurante94/DAISGram
aaab107d4abd0b0eea38f2c13899a35833258fd1
[ "MIT" ]
null
null
null
DAISGram.cpp
paolodurante94/DAISGram
aaab107d4abd0b0eea38f2c13899a35833258fd1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "dais_exc.h" #include "tensor.h" #include "libbmp.h" #include "DAISGram.h" using namespace std; DAISGram::DAISGram(){ } DAISGram::~DAISGram(){ } /** * Load a bitmap from file * * @param filename String containing the path of the file */ void DAISGram::load_image(s...
26.352941
134
0.535632
[ "object", "3d" ]
8c3f0614d1988086e9adf5f4575dac0189464439
5,995
cpp
C++
Isetta/IsettaTestbed/KnightGame/Level/KnightMainLevel.cpp
LukeMcCulloch/IsettaGameEngine
9f112d7d088623607a19175707824c5b65662e03
[ "MIT" ]
2
2018-09-05T17:51:47.000Z
2018-09-05T19:35:25.000Z
Isetta/IsettaTestbed/KnightGame/Level/KnightMainLevel.cpp
LukeMcCulloch/IsettaGameEngine
9f112d7d088623607a19175707824c5b65662e03
[ "MIT" ]
null
null
null
Isetta/IsettaTestbed/KnightGame/Level/KnightMainLevel.cpp
LukeMcCulloch/IsettaGameEngine
9f112d7d088623607a19175707824c5b65662e03
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Isetta */ #include "KnightMainLevel.h" #include "Components/AxisDrawer.h" #include "Components/Editor/EditorComponent.h" #include "KnightGame/Constants.h" #include "KnightGame/Gameplay/Enemy.h" #include "KnightGame/Gameplay/FireballCircle.h" #include "KnightGame/Gameplay/FollowComponent.h" #in...
39.440789
80
0.709758
[ "mesh", "transform", "3d" ]
8c47f1e48aad93657e1ba2eb779504d952c21f3d
5,478
cpp
C++
IPZ_Client/src/camera.cpp
Dawid-Olcha/IPZ_Project
83d1b5809635774b61c65df74611680147576b0d
[ "MIT" ]
null
null
null
IPZ_Client/src/camera.cpp
Dawid-Olcha/IPZ_Project
83d1b5809635774b61c65df74611680147576b0d
[ "MIT" ]
null
null
null
IPZ_Client/src/camera.cpp
Dawid-Olcha/IPZ_Project
83d1b5809635774b61c65df74611680147576b0d
[ "MIT" ]
null
null
null
#include "camera.h" #include "application.h" #include "gtx/quaternion.hpp" #include "gtx/transform.hpp" Camera::Camera(float fov, float aspectRatio, float nearClip, float farClip) :m_fov(fov), m_aspectRatio(aspectRatio), m_nearClip(nearClip), m_farClip(farClip) { updateProjMat(); updateViewMat(); onCr...
25.361111
97
0.638737
[ "transform" ]
8c4c456ef5b7d314879160b782e995905c6ae72d
2,179
cpp
C++
head/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
dplbsd/soc2013
c134f5e2a5725af122c94005c5b1af3720706ce3
[ "BSD-2-Clause" ]
17
2015-02-04T05:21:14.000Z
2021-05-30T21:03:48.000Z
head/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
dplbsd/soc2013
c134f5e2a5725af122c94005c5b1af3720706ce3
[ "BSD-2-Clause" ]
null
null
null
head/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
dplbsd/soc2013
c134f5e2a5725af122c94005c5b1af3720706ce3
[ "BSD-2-Clause" ]
3
2018-03-18T23:11:44.000Z
2019-09-05T11:47:19.000Z
//===-- SystemZTargetMachine.cpp - Define TargetMachine for SystemZ -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
35.721311
80
0.630106
[ "model" ]
8c5554970d82af36efe0e136c8d68bbec7715f10
1,077
cpp
C++
src/iow_sht7x.cpp
devonho/iow_sht7x
0a625d6e4951516a58d5826faf965659d45843ae
[ "MIT" ]
1
2022-01-27T08:04:15.000Z
2022-01-27T08:04:15.000Z
src/iow_sht7x.cpp
devonho/iow_sht7x
0a625d6e4951516a58d5826faf965659d45843ae
[ "MIT" ]
null
null
null
src/iow_sht7x.cpp
devonho/iow_sht7x
0a625d6e4951516a58d5826faf965659d45843ae
[ "MIT" ]
null
null
null
#include <napi.h> #include "sht7x.h" Napi::Number MethodReadTemp(const Napi::CallbackInfo& info) { Napi::Env env = info.Env(); double value; IOWSHT7x sht; if(sht.open() && sht.read()) { value = sht.getTemperature(); sht.close(); } else { sht.close(); throw Napi::Error::New(env, sht...
20.320755
65
0.626741
[ "object" ]
8c657a8338b9815208bcb44e910ea2b573bc8548
4,309
cpp
C++
ablateLibrary/monitors/maxMinAverage.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
null
null
null
ablateLibrary/monitors/maxMinAverage.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
8
2020-12-28T16:05:56.000Z
2021-01-12T14:36:22.000Z
ablateLibrary/monitors/maxMinAverage.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
1
2020-12-22T14:16:59.000Z
2020-12-22T14:16:59.000Z
#include "maxMinAverage.hpp" #include "io/interval/fixedInterval.hpp" #include "monitors/logs/stdOut.hpp" ablate::monitors::MaxMinAverage::MaxMinAverage(const std::string& fieldName, std::shared_ptr<logs::Log> logIn, std::shared_ptr<io::interval::Interval> interval) : fieldName(fieldName), log(logIn ? logIn : std:...
43.969388
187
0.621954
[ "object", "vector" ]
8c73e864a9e24c03963a6e0f64996437648cede3
1,158
cpp
C++
scripts/test/test_intent_event.cpp
umdlife/dialogflow_ros
764a3236dceae4eef87d6dc96189e5d9be503cb7
[ "MIT" ]
17
2018-03-28T23:31:11.000Z
2022-03-07T23:33:20.000Z
scripts/test/test_intent_event.cpp
umdlife/dialogflow_ros
764a3236dceae4eef87d6dc96189e5d9be503cb7
[ "MIT" ]
7
2018-03-29T00:20:30.000Z
2020-10-09T17:01:18.000Z
scripts/test/test_intent_event.cpp
umdlife/dialogflow_ros
764a3236dceae4eef87d6dc96189e5d9be503cb7
[ "MIT" ]
19
2018-03-29T00:14:28.000Z
2022-01-14T21:27:30.000Z
#include <ros/ros.h> #include <dialogflow_ros/DialogflowEvent.h> #include <dialogflow_ros/DialogflowParameter.h> int main(int argc, char **argv) { ros::init(argc, argv, "test_intent_event"); ros::NodeHandle n; ros::Rate poll_rate(100); ros::Publisher pub = n.advertise<dialogflow_ros::DialogflowEvent>("/dialogflow_...
31.297297
111
0.704663
[ "vector" ]
8c74e0fa4069438b288d4aaa2db44658a30e3d95
8,621
cc
C++
lockserver/server.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
437
2016-01-13T23:06:06.000Z
2022-03-07T07:41:55.000Z
lockserver/server.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
13
2016-01-14T06:12:21.000Z
2021-09-15T07:45:17.000Z
lockserver/server.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
58
2016-01-14T05:54:13.000Z
2022-03-08T02:56:33.000Z
// -*- mode: c++; c-file-style: "k&r"; c-basic-offset: 4 -*- /*********************************************************************** * * lockserver/server.cc: * A lockserver replica. * * Copyright 2015 Naveen Kr. Sharma <naveenks@cs.washington.edu> * * Permission is hereby granted, free of charge, to any pers...
34.902834
80
0.583343
[ "vector" ]
8c753ee609e5b779d0d50cfd455427be12049edc
4,536
hpp
C++
examples/uosbetdice/uosbetdice.hpp
UlordChain/uosio.cdt
fc60000884f2179e9a5ac819e05b6cc3f4d6bb37
[ "MIT" ]
null
null
null
examples/uosbetdice/uosbetdice.hpp
UlordChain/uosio.cdt
fc60000884f2179e9a5ac819e05b6cc3f4d6bb37
[ "MIT" ]
null
null
null
examples/uosbetdice/uosbetdice.hpp
UlordChain/uosio.cdt
fc60000884f2179e9a5ac819e05b6cc3f4d6bb37
[ "MIT" ]
null
null
null
#include <utility> #include <vector> #include <string> #include <uosiolib/uosio.hpp> #include <uosiolib/time.hpp> #include <uosiolib/asset.hpp> #include <uosiolib/contract.hpp> #include <uosiolib/types.h> #include <uosiolib/transaction.hpp> #include <uosiolib/crypto.h> //#include <boost/algorithm/string.hpp> using uo...
27.658537
111
0.684303
[ "vector" ]
8c77ae52b8c2d8eadff2523bb8a5da60879a299d
1,383
cpp
C++
1er Parcial/Vector/rotateArray.cpp
Adrian-Garcia/Algorithms
95ec54ef05091e4da93c52ccbecb1c278bb2fb43
[ "MIT" ]
null
null
null
1er Parcial/Vector/rotateArray.cpp
Adrian-Garcia/Algorithms
95ec54ef05091e4da93c52ccbecb1c278bb2fb43
[ "MIT" ]
null
null
null
1er Parcial/Vector/rotateArray.cpp
Adrian-Garcia/Algorithms
95ec54ef05091e4da93c52ccbecb1c278bb2fb43
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> using namespace std; int main() { std::vector<int> nums; int k=-8; // 0 1 2 3 4 5 6 //[1,2,3,4,5,6,7] //[2 3 4 5 6 7 1] -1 //[7,1,2,3,4,5,6] 1 //[5,6,7,1,2,3,4] 3 nums.push_back(1); nums.push_back(2); nums.push_back(3); nums.pus...
15.197802
50
0.439624
[ "vector" ]
8c7d21ffee986c16945ac6358803034c6e78487f
5,001
cc
C++
test/cctest/test-ignition-statistics-extension.cc
EXHades/v8
5fe0aa3bc79c0a9d3ad546b79211f07105f09585
[ "BSD-3-Clause" ]
20,995
2015-01-01T05:12:40.000Z
2022-03-31T21:39:18.000Z
test/cctest/test-ignition-statistics-extension.cc
Andrea-MariaDB-2/v8
a0f0ebd7a876e8cb2210115adbfcffe900e99540
[ "BSD-3-Clause" ]
333
2020-07-15T17:06:05.000Z
2021-03-15T12:13:09.000Z
test/cctest/test-ignition-statistics-extension.cc
Andrea-MariaDB-2/v8
a0f0ebd7a876e8cb2210115adbfcffe900e99540
[ "BSD-3-Clause" ]
4,523
2015-01-01T15:12:34.000Z
2022-03-28T06:23:41.000Z
// Copyright 2021 the V8 project 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 "src/interpreter/bytecodes.h" #include "src/interpreter/interpreter.h" #include "test/cctest/test-api.h" namespace v8 { namespace internal { ...
38.469231
80
0.679664
[ "object" ]
8c81390b5de9aeb9dbba4cfd48740475c54cb49e
3,639
cpp
C++
src/typeRef.cpp
p4gauntlet/cdg-backend
09395409835cc6704acaa4e4c4a31360f45834d0
[ "Apache-2.0" ]
null
null
null
src/typeRef.cpp
p4gauntlet/cdg-backend
09395409835cc6704acaa4e4c4a31360f45834d0
[ "Apache-2.0" ]
null
null
null
src/typeRef.cpp
p4gauntlet/cdg-backend
09395409835cc6704acaa4e4c4a31360f45834d0
[ "Apache-2.0" ]
null
null
null
#include "typeRef.h" #include "baseType.h" #include "headerStackType.h" namespace CODEGEN { IR::Type *typeRef::pick_rnd_type(typeref_probs type_probs) { const std::vector<int64_t> &type_probs_vector = { type_probs.p4_bit, type_probs.p4_signed_bit, type_probs.p4_varbit, type_probs.p4_int, ...
28.653543
77
0.56499
[ "vector" ]
8c8e6a2d915efe54a2a20f1b183a210ca310e069
19,433
cpp
C++
src/prod/src/Naming/storeservicehealthmonitor.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Naming/storeservicehealthmonitor.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Naming/storeservicehealthmonitor.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
34.826165
192
0.644368
[ "vector" ]
8c9030036039a1640a3fdfaf8783844cc14aee64
8,723
cpp
C++
src/gendata.cpp
nileshrathi/libsnark-tutorial
61a570683381c2154ed726ca6660cd2a1819ecd2
[ "MIT" ]
null
null
null
src/gendata.cpp
nileshrathi/libsnark-tutorial
61a570683381c2154ed726ca6660cd2a1819ecd2
[ "MIT" ]
null
null
null
src/gendata.cpp
nileshrathi/libsnark-tutorial
61a570683381c2154ed726ca6660cd2a1819ecd2
[ "MIT" ]
null
null
null
#include <libff/common/default_types/ec_pp.hpp> #include <libsnark/common/default_types/r1cs_gg_ppzksnark_pp.hpp> #include "libsnark/common/default_types/r1cs_ppzksnark_pp.hpp" #include <libsnark/relations/constraint_satisfaction_problems/r1cs/examples/r1cs_examples.hpp> #include <libsnark/zk_proof_systems/ppzksnark/r1...
29.569492
286
0.717643
[ "vector" ]
8c941fbdc664d02b0e9ed45eb3e906cc7f21d548
651
cpp
C++
src/base/integrator.cpp
shiinamiyuki/LuisaRender
46f4d5baa3adf1923bbe1f854f3b0db2739e33bd
[ "BSD-3-Clause" ]
null
null
null
src/base/integrator.cpp
shiinamiyuki/LuisaRender
46f4d5baa3adf1923bbe1f854f3b0db2739e33bd
[ "BSD-3-Clause" ]
null
null
null
src/base/integrator.cpp
shiinamiyuki/LuisaRender
46f4d5baa3adf1923bbe1f854f3b0db2739e33bd
[ "BSD-3-Clause" ]
null
null
null
// // Created by Mike on 2021/12/14. // #include <base/scene.h> #include <base/sampler.h> #include <sdl/scene_node_desc.h> #include <base/integrator.h> namespace luisa::render { Integrator::Integrator(Scene *scene, const SceneNodeDesc *desc) noexcept : SceneNode{scene, desc, SceneNodeTag::INTEGRATOR}, _sam...
32.55
87
0.735791
[ "render" ]
8c9bc22d5b9275a701b0501e61327572dd1e29d6
3,568
cpp
C++
src/ls-hubd/test/test_api_version_parser.cpp
webosose/luna-service2
cb41d1bf417aea81747bb4ca9a5c8e4c34575d3e
[ "Apache-2.0" ]
7
2018-03-19T22:06:27.000Z
2021-03-15T23:17:21.000Z
src/ls-hubd/test/test_api_version_parser.cpp
webosce/luna-service2
19ea833074bd9e091b13f3a520705d68ff75c29c
[ "Apache-2.0" ]
3
2018-09-08T05:35:18.000Z
2018-09-29T05:28:22.000Z
src/ls-hubd/test/test_api_version_parser.cpp
webosose/luna-service2
cb41d1bf417aea81747bb4ca9a5c8e4c34575d3e
[ "Apache-2.0" ]
12
2018-03-22T04:21:08.000Z
2021-11-19T13:03:20.000Z
// Copyright (c) 2015-2018 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
29.00813
112
0.626121
[ "vector" ]
8ca5bbe41def479a2fc8952d825e31dcfed47c24
1,780
cpp
C++
functions.cpp
evan3139/Final
5e5b2fa2402099ad4e847dcb4f759c9db648de3c
[ "MIT" ]
null
null
null
functions.cpp
evan3139/Final
5e5b2fa2402099ad4e847dcb4f759c9db648de3c
[ "MIT" ]
null
null
null
functions.cpp
evan3139/Final
5e5b2fa2402099ad4e847dcb4f759c9db648de3c
[ "MIT" ]
null
null
null
/** * Authors: Evan Wildenhain & John Sullivan. **/ #include "functions.h" #include "bigint/bigint.h" frequency::frequency() { frequencies.push_back(0); } frequency::frequency(const std::vector<int> &f) { frequencies = f; } //Gets the size of a frequency vector size_t frequency::getSize() { return freque...
29.180328
134
0.542135
[ "vector" ]
8cb2dbc5eb04381d80f5019d1b32bf27444255b0
794
cc
C++
leetcode/two_sum.cc
sservulo/programming-challenges
65a872c96ab5cda347c0ee6b6742a07d55ba9d33
[ "Apache-2.0" ]
null
null
null
leetcode/two_sum.cc
sservulo/programming-challenges
65a872c96ab5cda347c0ee6b6742a07d55ba9d33
[ "Apache-2.0" ]
null
null
null
leetcode/two_sum.cc
sservulo/programming-challenges
65a872c96ab5cda347c0ee6b6742a07d55ba9d33
[ "Apache-2.0" ]
null
null
null
/* Other possible solutions are: 1) Sort the array and keep pointers to the start and the end until they cross or we find a match 2) Traverse the array and store the values in a hash table, verifying for each entry if the complement is already into the hash table */ class Solution { public: ...
39.7
139
0.508816
[ "vector" ]
8cbe8c8de0b1935d42edabb672788e324924d82e
139
cpp
C++
chapter6/exercise6_54.cpp
zerenlu/primer_Cpp
4882e244ef90c9f69e344171468b8cfc8308b2c4
[ "MIT" ]
null
null
null
chapter6/exercise6_54.cpp
zerenlu/primer_Cpp
4882e244ef90c9f69e344171468b8cfc8308b2c4
[ "MIT" ]
null
null
null
chapter6/exercise6_54.cpp
zerenlu/primer_Cpp
4882e244ef90c9f69e344171468b8cfc8308b2c4
[ "MIT" ]
null
null
null
#include<vector> using std::vector; int foo(int, int); using fooType = int(*)(int, int); vector<decltype(foo)*> v; vector<fooType> v2;
12.636364
33
0.669065
[ "vector" ]
bc49018e531c2a11fd284a41a54ad1b2183827e0
3,627
hpp
C++
Schedule.hpp
mbilalakmal/shoAIb
a96db6e61def3386951a401f409cc76064bb0c1c
[ "MIT" ]
2
2019-10-07T15:29:27.000Z
2020-03-05T07:25:22.000Z
Schedule.hpp
mbilalakmal/shoAIb
a96db6e61def3386951a401f409cc76064bb0c1c
[ "MIT" ]
1
2020-03-05T07:38:36.000Z
2020-03-05T07:38:36.000Z
Schedule.hpp
mbilalakmal/shoAIb
a96db6e61def3386951a401f409cc76064bb0c1c
[ "MIT" ]
null
null
null
#ifndef SCHEDULE #define SCHEDULE #include<vector> #include<unordered_map> #include"Lecture.hpp" #include"Room.hpp" using namespace std; //describes a whole week's schedule in time-space slots occupied by lectures class Schedule{ //crossover occurs by randomly swapping some classes between two schedules fr...
28.559055
97
0.626137
[ "vector" ]
bc4cd20263be292a44c7d7d61f6411580b26e5ec
2,982
cpp
C++
amd_geometryfx/src/GeometryFXUtility_Internal.cpp
mehdy6/GeometryFXx
3499d3f37a60d3c072296296d7450b1394e912b4
[ "MIT" ]
234
2016-01-26T13:40:51.000Z
2022-03-14T10:03:41.000Z
amd_geometryfx/src/GeometryFXUtility_Internal.cpp
mehdy6/GeometryFXx
3499d3f37a60d3c072296296d7450b1394e912b4
[ "MIT" ]
7
2016-01-27T18:41:21.000Z
2018-09-27T10:50:19.000Z
amd_geometryfx/src/GeometryFXUtility_Internal.cpp
mehdy6/GeometryFXx
3499d3f37a60d3c072296296d7450b1394e912b4
[ "MIT" ]
20
2016-02-05T23:38:58.000Z
2022-01-20T12:10:05.000Z
// // Copyright (c) 2016 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 limitation the rig...
40.297297
93
0.653588
[ "geometry" ]
bc533f3c632797462d1b54a3e3c124bab3eb486c
12,442
cpp
C++
Day22/Day22.cpp
ATRI17Z/adventofcode18
5d743d7d277b416e3b5a287b0df598c4d5d67c6f
[ "MIT" ]
1
2018-12-05T18:32:50.000Z
2018-12-05T18:32:50.000Z
Day22/Day22.cpp
ATRI17Z/adventofcode18
5d743d7d277b416e3b5a287b0df598c4d5d67c6f
[ "MIT" ]
null
null
null
Day22/Day22.cpp
ATRI17Z/adventofcode18
5d743d7d277b416e3b5a287b0df598c4d5d67c6f
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <fstream> #include <string> #include <vector> #include <list> #include <map> #include <array> #include <algorithm> #include <cmath> #include "Coordinate.h" #include "Node.h" /* - region divided into squares (type: rocky, narrow, wet) of X,Y coordinates (starting at 0,...
33.446237
145
0.60336
[ "vector", "solid" ]
bc546dd31475d359f7c9f72996e3eadcf3325466
1,733
hpp
C++
include/mgard-x/MDR/Interleaver/InterleaverInterface.hpp
JasonRuonanWang/MGARD
70d3399f6169c8a369da9fe9786c45cb6f3bb9f1
[ "Apache-2.0" ]
null
null
null
include/mgard-x/MDR/Interleaver/InterleaverInterface.hpp
JasonRuonanWang/MGARD
70d3399f6169c8a369da9fe9786c45cb6f3bb9f1
[ "Apache-2.0" ]
null
null
null
include/mgard-x/MDR/Interleaver/InterleaverInterface.hpp
JasonRuonanWang/MGARD
70d3399f6169c8a369da9fe9786c45cb6f3bb9f1
[ "Apache-2.0" ]
null
null
null
#ifndef _MDR_INTERLEAVER_INTERFACE_HPP #define _MDR_INTERLEAVER_INTERFACE_HPP #include "../../RuntimeX/RuntimeX.h" namespace mgard_x { namespace MDR { namespace concepts { // level data interleaver: interleave level coefficients template <mgard_x::DIM D, typename T> class InterleaverInterface { public: virtual ~In...
29.87931
80
0.652626
[ "vector" ]
bc59561e9aba7fa2cdcb6bcbd0f2e8688b6f3070
9,811
hh
C++
src/backends/bullet/bullet.hh
rlofc/GameDevelopementTemplates
5b52eafb7350c2bb51b3947db82cb8f908077925
[ "Unlicense" ]
42
2017-02-25T18:46:36.000Z
2022-01-12T01:30:41.000Z
src/backends/bullet/bullet.hh
rlofc/GameDevelopementTemplates
5b52eafb7350c2bb51b3947db82cb8f908077925
[ "Unlicense" ]
5
2017-03-04T17:44:36.000Z
2017-03-04T17:46:11.000Z
src/backends/bullet/bullet.hh
rlofc/GameDevelopementTemplates
5b52eafb7350c2bb51b3947db82cb8f908077925
[ "Unlicense" ]
2
2017-11-26T02:55:18.000Z
2020-05-19T01:45:56.000Z
#ifndef GDT_BULLET_HEADER_INCLUDED #define GDT_BULLET_HEADER_INCLUDED #include <btBulletDynamicsCommon.h> #include "backends/blueprints/physics.hh" namespace gdt::physics::bullet { static btVector3 vec3_to_bt(math::vec3 v) { return btVector3(v.x, v.y, v.z); } static math::vec3 bt_to_vec3(btVector3 v) { return...
30.563863
96
0.633676
[ "shape" ]
bc63ec763252d7d07974f72d34bb7bb63eeb45b7
27,206
cpp
C++
src/public/src/fslazywindow/src/uwp/fslazywindow_uwp.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
1
2019-08-10T00:24:09.000Z
2019-08-10T00:24:09.000Z
src/public/src/fslazywindow/src/uwp/fslazywindow_uwp.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
null
null
null
src/public/src/fslazywindow/src/uwp/fslazywindow_uwp.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
2
2019-05-01T03:11:10.000Z
2019-05-01T03:30:35.000Z
/* //////////////////////////////////////////////////////////// File Name: fslazywindow_uwp.cpp Copyright (c) 2017 Soji Yamakawa. All rights reserved. http://www.ysflight.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...
36.814614
148
0.767735
[ "vector" ]
bc66235fa583e687ea41a36f61734e33d099bd93
1,698
cpp
C++
test/TestTransform.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
test/TestTransform.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
test/TestTransform.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
#include <type_list.h> #include <gtest/gtest.h> namespace stdx::test { enum class kind { req = 0, rsp = 1, nfy = 2 }; template<kind K, int Id, int Value> struct literal { constexpr literal() = default; constexpr static kind k = K; constexpr static int id = Id; constexpr static ...
21.493671
99
0.612485
[ "transform" ]
bc872146f446c4a3eccdaedc74a989b36f5b681a
15,405
hpp
C++
ThirdParty-mod/java2cpp/android/widget/RadioGroup.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/android/widget/RadioGroup.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/android/widget/RadioGroup.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: android.widget.RadioGroup ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEM...
37.573171
162
0.748718
[ "object" ]
bc8b2201c8c84279a25a44713e11fe2292ed7ffd
4,319
cpp
C++
mergeBathy/Error_Estimator/mesh.cpp
Sammie-Jo/MergeBathy_Repos-MergeBathy_CPP
9996f5ee40e40e892ce5eb77dc4bb67930af4005
[ "CC0-1.0" ]
4
2017-05-04T15:50:48.000Z
2020-07-30T03:52:07.000Z
mergeBathy/Error_Estimator/mesh.cpp
Sammie-Jo/MergeBathy_Repos-MergeBathy_CPP
9996f5ee40e40e892ce5eb77dc4bb67930af4005
[ "CC0-1.0" ]
null
null
null
mergeBathy/Error_Estimator/mesh.cpp
Sammie-Jo/MergeBathy_Repos-MergeBathy_CPP
9996f5ee40e40e892ce5eb77dc4bb67930af4005
[ "CC0-1.0" ]
2
2017-01-11T09:53:26.000Z
2020-07-30T03:52:09.000Z
/********************************************************************** * CC0 License ********************************************************************** * MergeBathy - Tool to combine one or more bathymetric data files onto a single input grid. * Written in 2015 by Samantha J.Zambo(samantha.zambo@gmail.com) while e...
28.793333
250
0.667053
[ "mesh", "vector" ]
bc9198e27d42f5af5d02ee7a7ed4c807256c19bb
26,480
cpp
C++
test/txpl/vm/eval_binary_eq_test.cpp
ptomulik/txpl
109b5847abe0d46c598ada46f411f98ebe8dc4c8
[ "BSL-1.0" ]
null
null
null
test/txpl/vm/eval_binary_eq_test.cpp
ptomulik/txpl
109b5847abe0d46c598ada46f411f98ebe8dc4c8
[ "BSL-1.0" ]
14
2015-03-02T14:02:32.000Z
2015-05-17T21:50:30.000Z
test/txpl/vm/eval_binary_eq_test.cpp
ptomulik/txpl
109b5847abe0d46c598ada46f411f98ebe8dc4c8
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2015, Pawel Tomulik <ptomulik@meil.pw.edu.pl> // // 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) #define BOOST_TEST_MODULE test_txpl_vm_eval_binary_eq #include <txpl/test_config.hpp> #include <...
27.075665
65
0.650113
[ "object" ]
bc994a52362e3480fcd1eedb62f9cb17474e8745
3,610
hpp
C++
examples/addition/include/romeo_moveit_actions/simplepickplace.hpp
unl-nimbus-lab/phriky-units
16c8cdd91de0899411b139e5a94fcb4ea8104ad2
[ "MIT" ]
22
2017-07-18T09:39:34.000Z
2021-09-16T09:41:03.000Z
examples/addition/include/romeo_moveit_actions/simplepickplace.hpp
unl-nimbus-lab/phriky-units
16c8cdd91de0899411b139e5a94fcb4ea8104ad2
[ "MIT" ]
9
2016-09-04T13:33:15.000Z
2018-01-05T22:39:03.000Z
examples/addition/include/romeo_moveit_actions/simplepickplace.hpp
unl-nimbus-lab/phriky-units
16c8cdd91de0899411b139e5a94fcb4ea8104ad2
[ "MIT" ]
4
2016-12-07T16:34:57.000Z
2019-04-03T06:51:55.000Z
#ifndef SIMPLEACTIONS_HPP #define SIMPLEACTIONS_HPP #include <ros/ros.h> #include <moveit_visual_tools/moveit_visual_tools.h> #include "romeo_moveit_actions/metablock.hpp" #include "romeo_moveit_actions/action.hpp" #include "romeo_moveit_actions/objprocessing.hpp" #include "romeo_moveit_actions/evaluation.hpp" names...
25.422535
81
0.728532
[ "object", "vector" ]
bc9cdd4e7367fd2b0308f85d5927ea241e0e9c51
2,176
cc
C++
smbprovider/proto.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
smbprovider/proto.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
smbprovider/proto.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium OS 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 "smbprovider/proto.h" #include <base/check.h> #include <base/logging.h> #include <dbus/smbprovider/dbus-constants.h> #include "smbprovider/c...
29.013333
78
0.737132
[ "vector" ]
bca71130c4e18a54fd8452365aa7614261c27611
23,507
cpp
C++
src/Misc/Server.cpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
1
2021-04-28T20:32:57.000Z
2021-04-28T20:32:57.000Z
src/Misc/Server.cpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
7
2021-08-24T14:09:33.000Z
2021-08-30T12:47:40.000Z
src/Misc/Server.cpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
null
null
null
#include <iostream> #include <span.hpp> #include <Enumerators/EMessageType.hpp> #include <Enumerators/EPlayerRole.hpp> #include <Exceptions/ENetInitializationFailedException.hpp> #include <Exceptions/ENetPeerSendFailedException.hpp> #include <Exceptions/InvalidNetworkPortException.hpp> #include <Messages/AcceptPlayRe...
33.015449
241
0.719701
[ "vector" ]
bca809d637e52c23bde7e9cc1bb4d07c216c3e95
638
hpp
C++
src/KanjiBlockValueStrategy.hpp
Arthurmcarthur/MicrosoftCangjieTool
fb4efdc0ac5e01a03c09ba285f780fc2188e565f
[ "Apache-2.0" ]
6
2020-10-18T05:02:56.000Z
2021-03-31T10:18:06.000Z
src/KanjiBlockValueStrategy.hpp
Arthurmcarthur/MicrosoftCangjieTool
fb4efdc0ac5e01a03c09ba285f780fc2188e565f
[ "Apache-2.0" ]
null
null
null
src/KanjiBlockValueStrategy.hpp
Arthurmcarthur/MicrosoftCangjieTool
fb4efdc0ac5e01a03c09ba285f780fc2188e565f
[ "Apache-2.0" ]
2
2021-02-05T10:26:13.000Z
2021-07-04T01:13:02.000Z
// // KanjiBlockValueStrategy.hpp // mscjencodecpp // // Created by Qwetional on 19/6/2020. // Copyright © 2020 Qwetional. All rights reserved. // #ifndef KanjiBlockValueStrategy_hpp #define KanjiBlockValueStrategy_hpp #include <vector> #include <memory> #include "MSCJKanji.hpp" class KanjiBlockValueStrategy { p...
27.73913
133
0.796238
[ "vector" ]
bcadf759287dcf5ee0391fce2a227d0134be4437
5,385
cpp
C++
src/psim/truth/orbit.cpp
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
5
2020-04-11T06:53:46.000Z
2022-01-05T05:39:11.000Z
src/psim/truth/orbit.cpp
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
201
2019-09-05T03:46:21.000Z
2022-01-08T04:44:16.000Z
src/psim/truth/orbit.cpp
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
10
2019-10-12T17:24:34.000Z
2022-02-25T01:20:14.000Z
// // MIT License // // Copyright (c) 2020 Pathfinder for Autonomous Navigation (PAN) // // 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 t...
31.491228
80
0.700836
[ "vector" ]
bcb027b627a7780f149cdc4d64188dcff149a9ef
4,260
cpp
C++
src/ofxTPSprite.cpp
veketor/ofxTexturePacker
b2fc9605d6445c78df946c60288ee4213b2ec52d
[ "MIT" ]
null
null
null
src/ofxTPSprite.cpp
veketor/ofxTexturePacker
b2fc9605d6445c78df946c60288ee4213b2ec52d
[ "MIT" ]
null
null
null
src/ofxTPSprite.cpp
veketor/ofxTexturePacker
b2fc9605d6445c78df946c60288ee4213b2ec52d
[ "MIT" ]
null
null
null
// ------------------------------------------------------------------ // ofxTPSprite.cpp // ofxTexturePacker - https://www.github.com/danoli3/ofxTexturePacker // Created by Daniel Rosser and Colin Friend on 9/06/2014. // ------------------------------------------------------------------ #include "ofxTPSprite.h" ofxTPS...
32.769231
173
0.585915
[ "mesh" ]
bcb0b8c9a37b010a3ac5909798c35e22e3fc3ef3
10,630
cpp
C++
core/src/platform/Android/GCanvas2DContextAndroid.cpp
flyskywhy/GCanvas
b5e0109eedf6f278bde0bd5cbf2b193c8170f101
[ "Apache-2.0" ]
92
2020-12-23T09:56:00.000Z
2022-03-31T19:45:55.000Z
core/src/platform/Android/GCanvas2DContextAndroid.cpp
flyskywhy/GCanvas
b5e0109eedf6f278bde0bd5cbf2b193c8170f101
[ "Apache-2.0" ]
33
2020-12-23T08:03:34.000Z
2022-03-23T17:48:58.000Z
core/src/platform/Android/GCanvas2DContextAndroid.cpp
flyskywhy/GCanvas
b5e0109eedf6f278bde0bd5cbf2b193c8170f101
[ "Apache-2.0" ]
12
2020-12-23T08:02:45.000Z
2022-03-24T06:43:30.000Z
/** * Created by G-Canvas Open Source Team. * Copyright (c) 2017, Alibaba, Inc. All rights reserved. * * This source code is licensed under the Apache Licence 2.0. * For the full copyright and license information, please view * the LICENSE file in the root directory of this source tree. */ #include "GCanvas2DCo...
27.53886
102
0.647037
[ "vector" ]
bcb2135a66eb3042228a3c1dcad9d51d1c693bc9
2,555
cpp
C++
ParticleEntities/ModelLoader.cpp
EdwinRy/ParticleGameEngine
fe3b049275277092507e10c97b3ad8783ba949c9
[ "Apache-2.0" ]
null
null
null
ParticleEntities/ModelLoader.cpp
EdwinRy/ParticleGameEngine
fe3b049275277092507e10c97b3ad8783ba949c9
[ "Apache-2.0" ]
null
null
null
ParticleEntities/ModelLoader.cpp
EdwinRy/ParticleGameEngine
fe3b049275277092507e10c97b3ad8783ba949c9
[ "Apache-2.0" ]
null
null
null
#include "ModelLoader.h" #include "FileStream.h" #include <iostream> using namespace Entity; using namespace glm; #define NEXT_INT(i, data) \ (i) = atoi(data); \ (data) = strchr(data, '/') + 1 inline void readVertexData(string vertex, int *v, int *t, int *n) { const char *data = vertex.data(); NEXT_IN...
24.103774
65
0.591389
[ "mesh", "object" ]
bcb6d2ec8763fad6cf6a9d6b9e8228e208bb2b52
2,191
hpp
C++
include/fxt/static_feature.hpp
ten-blue-links/fxt
938a9cbd0286999652c1601c8c0bf0989c992c4b
[ "MIT" ]
11
2020-09-05T08:06:47.000Z
2021-11-02T06:55:11.000Z
include/fxt/static_feature.hpp
lgrz/fxt
92d369e1e32c349e94020d04b9e814daf8ee84a4
[ "MIT" ]
25
2019-01-15T04:45:06.000Z
2020-06-02T03:49:50.000Z
include/fxt/static_feature.hpp
rmit-ir/tesserae
938a9cbd0286999652c1601c8c0bf0989c992c4b
[ "MIT" ]
5
2018-12-29T14:08:31.000Z
2019-12-11T20:32:29.000Z
/* * Copyright 2018 The Fxt authors. * * For the full copyright and license information, please view the LICENSE file * that was distributed with this source code. */ #pragma once #include <cstdint> #include <iostream> #include <vector> #include "statdoc_entry.hpp" #include "cereal/types/vector.hpp" /* * Sta...
33.707692
79
0.68188
[ "vector" ]
344a93b358a60393e26ccf716ac8cda862c60015
12,422
cpp
C++
src/Project/Config.cpp
Electrux/ccp4m
209b0d69e65824c27f01482ddf06c2de7dfaa91f
[ "BSD-3-Clause" ]
2
2018-06-12T08:28:58.000Z
2021-01-19T00:12:12.000Z
src/Project/Config.cpp
Electrux/CCP4M-Final
209b0d69e65824c27f01482ddf06c2de7dfaa91f
[ "BSD-3-Clause" ]
null
null
null
src/Project/Config.cpp
Electrux/CCP4M-Final
209b0d69e65824c27f01482ddf06c2de7dfaa91f
[ "BSD-3-Clause" ]
null
null
null
#include <vector> #include <string> #include <cstdlib> #include <yaml-cpp/yaml.h> #include "../../include/DisplayFuncs.hpp" #include "../../include/FSFuncs.hpp" #include "../../include/Environment.hpp" #include "../../include/Vars.hpp" #include "../../include/Core.hpp" #include "../../include/Project/Licenses.hpp" ...
33.939891
159
0.621559
[ "vector" ]
34508bb463cc2135cb4580f87807487b00b8e377
549
cpp
C++
atcoder/abc124/B/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc124/B/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc124/B/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); int N; vector<int> H; cin >> N; H.assign(N, 0); for (int i = 0; i < N; ++i) { cin >> H[i]; } int ans = 1; for (int i = 1; i < N; ++i) { b...
17.15625
37
0.378871
[ "vector" ]