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
305493fcc4ec6e3a8c26685129e17d124781fdbc
8,263
cpp
C++
memo.cpp
Nitta-K-git/PCL_samples
eb242dbb642971a289511f0c040c3f4108245230
[ "MIT" ]
null
null
null
memo.cpp
Nitta-K-git/PCL_samples
eb242dbb642971a289511f0c040c3f4108245230
[ "MIT" ]
null
null
null
memo.cpp
Nitta-K-git/PCL_samples
eb242dbb642971a289511f0c040c3f4108245230
[ "MIT" ]
null
null
null
int pcl::io::savePLYFile (const std::string &file_name, const pcl::PolygonMesh &mesh, unsigned precision) { if (mesh.cloud.data.empty ()) { PCL_ERROR ("[pcl::io::savePLYFile] Input point cloud has no data!\n"); return (-1); } // Open file std::ofstream fs; fs.precision (precision); fs.o...
35.926087
136
0.558635
[ "mesh", "vector" ]
306227ef91cff440f5f793c425fdce1ba54cdf53
728
cpp
C++
training/money1.cpp
birdhumming/usaco
f011e7bd4b71de22736a61004e501af2b273b246
[ "OLDAP-2.2.1" ]
null
null
null
training/money1.cpp
birdhumming/usaco
f011e7bd4b71de22736a61004e501af2b273b246
[ "OLDAP-2.2.1" ]
null
null
null
training/money1.cpp
birdhumming/usaco
f011e7bd4b71de22736a61004e501af2b273b246
[ "OLDAP-2.2.1" ]
null
null
null
/* ID: drayale1 LANG: C++ TASK: money */ #include <iostream> #include <cstring> #include <algorithm> #include <vector> using namespace std; typedef long long ll; const int N = 10010; int v, n; ll f[N]; bool visited[N]; vector<int> coins; int main() { freopen("money.in", "r", stdin); freopen("money.out", "w"...
16.930233
56
0.486264
[ "vector" ]
30635d021e4e4a8fe6c89042ca980ed6277815d3
1,318
cpp
C++
aslam_cv/aslam_cv_backend/test/testReprojectionError.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
2,690
2015-01-07T03:50:23.000Z
2022-03-31T20:27:01.000Z
aslam_cv/aslam_cv_backend/test/testReprojectionError.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
481
2015-01-27T10:21:00.000Z
2022-03-31T14:02:41.000Z
aslam_cv/aslam_cv_backend/test/testReprojectionError.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
1,091
2015-01-26T21:21:13.000Z
2022-03-30T01:55:33.000Z
// Bring in gtest #include <gtest/gtest.h> #include <sm/eigen/gtest.hpp> #include <aslam/backend/test/ErrorTermTestHarness.hpp> #include <aslam/cameras.hpp> #include <aslam/CameraGeometryDesignVariableContainer.hpp> #include <aslam/backend/HomogeneousPoint.hpp> TEST( CvBackendTestSuite, testReprojectionError ) { us...
35.621622
147
0.776176
[ "geometry" ]
3065fc6f80c1e850c44845872be16793d0c44e96
816
cpp
C++
src/floorboard.cpp
paked/basin
d1d09a3f9aff5ef90f2a18e95789328857e4ffbc
[ "MIT" ]
null
null
null
src/floorboard.cpp
paked/basin
d1d09a3f9aff5ef90f2a18e95789328857e4ffbc
[ "MIT" ]
null
null
null
src/floorboard.cpp
paked/basin
d1d09a3f9aff5ef90f2a18e95789328857e4ffbc
[ "MIT" ]
null
null
null
#include <floorboard.hpp> #include <e/core.hpp> Floorboard::Floorboard(int x, int y, bool fake) : fake(fake) { localDepth = DEPTH_BG + DEPTH_BELOW * 10; sprite = new Sprite("floorboard.png", x, y); light = new Sprite("light_small.png"); light->x = x; light->y = y; reg(sprite); } void Floorboard::tick...
16.32
72
0.625
[ "render" ]
30679714d048fd2962ffc9c960a35d5eabb893dd
2,782
hpp
C++
armadillo_matrix/include/armadillo_bits/fn_sum.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
1
2022-02-02T15:47:24.000Z
2022-02-02T15:47:24.000Z
armadillo_matrix/include/armadillo_bits/fn_sum.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
null
null
null
armadillo_matrix/include/armadillo_bits/fn_sum.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
2
2019-02-28T17:36:19.000Z
2021-01-24T14:04:18.000Z
// Copyright (C) 2008-2010 NICTA (www.nicta.com.au) // Copyright (C) 2008-2010 Conrad Sanderson // // This file is part of the Armadillo C++ library. // It is provided without any warranty of fitness // for any purpose. You can redistribute this file // and/or modify it under the terms of the GNU // Lesser General Pub...
18.183007
93
0.698778
[ "vector" ]
3069bc58542231d2900431cc59054726c070df47
6,194
cpp
C++
src/engine/render/rendertimers.cpp
Duskhorn/libprimis
3b1189d0f8c8ea31c4752ed1ce34e9289a26b6fc
[ "Zlib" ]
null
null
null
src/engine/render/rendertimers.cpp
Duskhorn/libprimis
3b1189d0f8c8ea31c4752ed1ce34e9289a26b6fc
[ "Zlib" ]
null
null
null
src/engine/render/rendertimers.cpp
Duskhorn/libprimis
3b1189d0f8c8ea31c4752ed1ce34e9289a26b6fc
[ "Zlib" ]
null
null
null
/* rendertimers.cpp: renderer functionality used for displaying rendering stats * while the program is running * * timers can be created with designated start/stop points in the code; sub-ms * times needed for accurate diagnosis possible (each frame is ~16.6ms @ 60Hz) * * used in rendergl.cpp */ #include "../lib...
28.412844
128
0.567
[ "object", "vector" ]
3077aa9cd9c5860f0329da589057a7138e2d0886
2,862
cpp
C++
neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/ScannerModule.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/ScannerModule.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/ScannerModule.cpp
watusi/rhodes
07161cca58ff6a960bbd1b79b36447b819bfa0eb
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
#include "ScannerModule.h" #include "Scanner.h" CScannerModule::CScannerModule(PPBCORESTRUCT pPBCoreStructure) { } BOOL CScannerModule::onInit(PPBSTRUCT pPBStructure) { wcscpy(m_szModName, L"Scanner"); RegisterForEvent(PB_BROWSER_BEFORE_NAV_EVENT); RegisterForEvent(PB_BROWSER_DOC_COMPLETE_EVENT); RegisterForEvent...
27
176
0.75297
[ "object" ]
307f525173757da23cbc2d2acf1214e111788310
2,553
cpp
C++
benchmark/histogram_parallel_filling.cpp
henryiii/histogram
d9f000cb86a4b4ac5ebfcb395616fa9aaa28e06c
[ "BSL-1.0" ]
44
2020-12-21T05:14:38.000Z
2022-03-15T11:27:32.000Z
benchmark/histogram_parallel_filling.cpp
henryiii/histogram
d9f000cb86a4b4ac5ebfcb395616fa9aaa28e06c
[ "BSL-1.0" ]
79
2018-08-01T11:50:45.000Z
2020-11-17T13:40:06.000Z
benchmark/histogram_parallel_filling.cpp
henryiii/histogram
d9f000cb86a4b4ac5ebfcb395616fa9aaa28e06c
[ "BSL-1.0" ]
21
2020-12-22T09:40:16.000Z
2021-12-07T18:16:00.000Z
// Copyright 2015-2018 Hans Dembinski // // 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) #include <benchmark/benchmark.h> #include <atomic> #include <boost/histogram.hpp> #include <boost/histogram/algorithm/sum....
30.392857
90
0.657658
[ "vector" ]
30817e7d230e4d0701b1e5fe2366f3de61cb71d2
3,620
cpp
C++
benchmark/askit_release/treecode/src/test_id.cpp
maumueller/rehashing
38fe7a1a71fcc5ecd10384fac01bfeb134ea5fad
[ "MIT" ]
20
2019-05-14T20:08:08.000Z
2021-09-22T20:48:29.000Z
benchmark/askit_release/treecode/src/test_id.cpp
maumueller/rehashing
38fe7a1a71fcc5ecd10384fac01bfeb134ea5fad
[ "MIT" ]
2
2020-10-06T09:47:52.000Z
2020-10-09T04:27:39.000Z
benchmark/askit_release/treecode/src/test_id.cpp
maumueller/rehashing
38fe7a1a71fcc5ecd10384fac01bfeb134ea5fad
[ "MIT" ]
2
2019-08-11T22:29:45.000Z
2020-10-08T20:02:46.000Z
#include "test_id.hpp" using namespace askit; // builds the approximation to A from the ID // returns it in A_approx double askit::reconstruct_mat(int num_rows, int num_cols, int k, const double* A, std::vector<lapack_int>& skeleton, std::vector<double>& proj) { std::vector<double> Acol(num_rows * k); st...
26.814815
105
0.630387
[ "vector" ]
3085fd1fc52de8818da628cb246b3b5059d5c0b3
1,289
cpp
C++
main/source/cl_dll/geiger.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
27
2015-01-05T19:25:14.000Z
2022-03-20T00:34:34.000Z
main/source/cl_dll/geiger.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
9
2015-01-14T06:51:46.000Z
2021-03-19T12:07:18.000Z
main/source/cl_dll/geiger.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
5
2015-01-11T10:31:24.000Z
2021-01-06T01:32:58.000Z
/*** * * Copyright (c) 1999, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * ...
20.140625
79
0.67339
[ "object" ]
30a11c06568902bbcbc894ab18725b9ef5dcec6f
11,682
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Boundaries/BOUNDARY_SOLID_WALL_SLIP.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Boundaries/BOUNDARY_SOLID_WALL_SLIP.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Boundaries/BOUNDARY_SOLID_WALL_SLIP.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2004, Ron Fedkiw, Frank Losasso, Andrew Selle. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################...
76.855263
210
0.622154
[ "vector" ]
30a2571e21ff9de212e9eada8df94b2244ce8a8b
10,553
cpp
C++
model/Survey.cpp
imissyouso/textmagic-rest-cpp
b5810fd41c08dbab320a52e93d524896e2c2200f
[ "MIT" ]
null
null
null
model/Survey.cpp
imissyouso/textmagic-rest-cpp
b5810fd41c08dbab320a52e93d524896e2c2200f
[ "MIT" ]
1
2020-03-18T19:06:28.000Z
2020-03-23T12:30:00.000Z
model/Survey.cpp
textmagic/textmagic-rest-cpp-v2
769c81c3ba5b9f5ac49728f47557db846a0e9a33
[ "MIT" ]
null
null
null
/** * TextMagic API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 2 * * * NOTE: This class is auto generated by the swagger code generator 2.4.8. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class man...
29.560224
206
0.623804
[ "object", "vector", "model" ]
30a2f634c94811340fb6794eadf6c27a91602b42
7,356
cpp
C++
src/demo/benchmark_suite/benchmark_suite.cpp
geneial/geneial
5e525c32b7c1e1e88788644e448e9234c93b55e2
[ "MIT" ]
5
2015-08-25T15:40:09.000Z
2020-03-15T19:33:22.000Z
src/demo/benchmark_suite/benchmark_suite.cpp
geneial/geneial
5e525c32b7c1e1e88788644e448e9234c93b55e2
[ "MIT" ]
null
null
null
src/demo/benchmark_suite/benchmark_suite.cpp
geneial/geneial
5e525c32b7c1e1e88788644e448e9234c93b55e2
[ "MIT" ]
3
2019-01-24T13:14:51.000Z
2022-01-03T07:30:20.000Z
#include "functions/MultiVariableOptimProblem.h" #include "functions/Sphere.h" #include "functions/Ackley.h" #include "functions/F10.h" #include "functions/F5.h" #include <geneial/algorithm/SteadyStateAlgorithm.h> #include <geneial/algorithm/criteria/CombinedCriterion.h> #include <geneial/algorithm/criteria/MaxGenera...
39.336898
131
0.694943
[ "vector" ]
dd65f52e6b3bf0bf87507961287f56bf172d0efe
13,183
cpp
C++
ShapeOperations/DorlingCartogram.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
ShapeOperations/DorlingCartogram.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
ShapeOperations/DorlingCartogram.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
/** * GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved * * This file is part of GeoDa. * * GeoDa is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
30.375576
84
0.581127
[ "vector" ]
dd7edb5ed1912d8bfe8203e766a1422a1f131b6a
13,161
cpp
C++
Cocos2DX_3.x/Demos/Classes/Knight.cpp
aceiii/DragonBonesCPP
cc314ea233026fb0176bc2b8d9efb4ced6a3ca1f
[ "MIT" ]
1
2021-01-11T21:09:35.000Z
2021-01-11T21:09:35.000Z
Cocos2DX_3.x/Demos/Classes/Knight.cpp
aceiii/DragonBonesCPP
cc314ea233026fb0176bc2b8d9efb4ced6a3ca1f
[ "MIT" ]
null
null
null
Cocos2DX_3.x/Demos/Classes/Knight.cpp
aceiii/DragonBonesCPP
cc314ea233026fb0176bc2b8d9efb4ced6a3ca1f
[ "MIT" ]
null
null
null
#include "Knight.h" USING_NS_CC; Scene* KnightGame::createScene() { auto scene = Scene::create(); auto layer = KnightGame::create(); scene->addChild(layer); return scene; } const int KnightGame::GROUND = 120.f; const float KnightGame::G = -0.6f; KnightGame* KnightGame::instance = nullptr; bool Knig...
27.304979
179
0.630499
[ "vector", "transform" ]
dd7f279904d49220598ac103ba8ceead743073e7
2,125
hpp
C++
src/share/monitor/grabber_alerts_monitor.hpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
src/share/monitor/grabber_alerts_monitor.hpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
src/share/monitor/grabber_alerts_monitor.hpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
#pragma once // `krbn::grabber_alerts_monitor` can be used safely in a multi-threaded environment. #include "constants.hpp" #include "filesystem.hpp" #include "json_utility.hpp" #include "logger.hpp" #include "monitor/file_monitor.hpp" #include <fstream> namespace krbn { class grabber_alerts_monitor final : public p...
27.597403
93
0.608
[ "vector" ]
dd8113f3b40b4ec126a0670d228d3b771fef10cd
11,039
cpp
C++
src/peersafe/app/tx/impl/SchemaTx.cpp
ChainSQL/chainsqld
6af7eb0624c67776098250a39eae9f195d8a473a
[ "BSL-1.0" ]
211
2017-12-11T03:11:37.000Z
2022-03-15T12:38:19.000Z
src/peersafe/app/tx/impl/SchemaTx.cpp
ChainSQL/chainsqld
6af7eb0624c67776098250a39eae9f195d8a473a
[ "BSL-1.0" ]
17
2017-12-18T07:22:06.000Z
2022-02-15T10:24:29.000Z
src/peersafe/app/tx/impl/SchemaTx.cpp
ChainSQL/chainsqld
6af7eb0624c67776098250a39eae9f195d8a473a
[ "BSL-1.0" ]
81
2017-12-11T03:09:21.000Z
2022-03-20T09:42:42.000Z
#include <peersafe/app/tx/SchemaTx.h> #include <peersafe/schema/SchemaParams.h> #include <peersafe/app/tx/impl/Tuning.h> #include <ripple/protocol/STTx.h> #include <ripple/ledger/View.h> #include <ripple/protocol/st.h> #include <ripple/app/main/Application.h> #include <ripple/app/ledger/LedgerMaster.h> #include <ripple...
26.92439
112
0.657849
[ "object", "vector" ]
dd87d809858f890a30e22139780e130b5782fd3a
2,201
cpp
C++
driver_massless/DebugGizmo.cpp
Massless-io/OpenVRDriver_MasslessPen
bce3c01877752d4e9c2135dec3e56b40e956ae60
[ "BSD-3-Clause-Clear", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
driver_massless/DebugGizmo.cpp
Massless-io/OpenVRDriver_MasslessPen
bce3c01877752d4e9c2135dec3e56b40e956ae60
[ "BSD-3-Clause-Clear", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
driver_massless/DebugGizmo.cpp
Massless-io/OpenVRDriver_MasslessPen
bce3c01877752d4e9c2135dec3e56b40e956ae60
[ "BSD-3-Clause-Clear", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2020 Massless Corp. - All Rights Reserved * Author: Jacob Hilton. * You may use, distribute and modify this code under the * terms of the BSD 3-Clause "New" or "Revised" License. * * You should have received a copy of this license with * this file. If not, please email support@massless.io */ #i...
27.5125
120
0.743753
[ "vector" ]
dd883fb67bd3a1b46babb65da445c09d32f9a79a
2,363
cc
C++
2019/day16.cc
triglav/advent_of_code
e96bd0aea417076d997eeb4e49bf6e1cc04b31e0
[ "MIT" ]
null
null
null
2019/day16.cc
triglav/advent_of_code
e96bd0aea417076d997eeb4e49bf6e1cc04b31e0
[ "MIT" ]
null
null
null
2019/day16.cc
triglav/advent_of_code
e96bd0aea417076d997eeb4e49bf6e1cc04b31e0
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using Pattern = std::vector<int>; int GetPatternValue(Pattern const &base_pattern, int row_idx, int element_idx) { auto const y = row_idx + 1; auto const t = 4 * y; auto const x = (element_idx + 1) % t; if (x >= 2 * y) { if (x >= 3 * y) { retur...
24.360825
80
0.559035
[ "vector" ]
dd8bd9ecc4604f8bc4256740a55919df662ac905
54,574
hpp
C++
packages/data/endl/src/Data_ENDLDataContainer_def.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/data/endl/src/Data_ENDLDataContainer_def.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/data/endl/src/Data_ENDLDataContainer_def.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file Data_ENDLDataContainer_def.hpp //! \author Luke Kersting //! \brief The native eadl container template defs. //! //---------------------------------------------------------------------------// #ifndef DATA_ENDL_DATA_CONTAI...
47.662882
111
0.730128
[ "vector" ]
dd98c495f1e19043996545b59bd35bb4e0e64d3d
343
cpp
C++
leet_code/arrays/XgraterthanX.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
leet_code/arrays/XgraterthanX.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
leet_code/arrays/XgraterthanX.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: int specialArray(vector<int> &nums) { int result=0; for(int i=0;i<nums.size(); i++) { if(nums[i]>= nums.size()+1) result++; } if(result==0) result=-1; return result; } }; int ma...
16.333333
49
0.501458
[ "vector" ]
dd9fec0a2682f92ce6cb225db5206c9c9ae2f034
17,681
cpp
C++
client/ui/UIBase.cpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
6
2015-01-03T08:18:16.000Z
2022-01-22T00:01:23.000Z
client/ui/UIBase.cpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
1
2021-10-03T19:07:56.000Z
2021-10-03T19:07:56.000Z
client/ui/UIBase.cpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
1
2021-10-03T19:29:40.000Z
2021-10-03T19:29:40.000Z
// // UIBase.cpp // /** * @module global * @submodule UI */ /** * @class Base * @namespace UI */ #include "UIBase.hpp" #include "../InputManager.hpp" #include "../ScriptEnvironment.hpp" #include "../../common/unicode.hpp" #include <DxLib.h> #include <algorithm> UIBase::UIBase() : hover_flag_(false) { } UIBas...
32.925512
115
0.673152
[ "object" ]
ddac047275ce910a8f36547f05064b27f926b74e
561
cpp
C++
747. Largest Number At Least Twice of Others/src/main.cpp
zhenkunhe/LeetCode
17a9a4d63d21888c7e7d300d5e29201f8621fd63
[ "MIT" ]
null
null
null
747. Largest Number At Least Twice of Others/src/main.cpp
zhenkunhe/LeetCode
17a9a4d63d21888c7e7d300d5e29201f8621fd63
[ "MIT" ]
null
null
null
747. Largest Number At Least Twice of Others/src/main.cpp
zhenkunhe/LeetCode
17a9a4d63d21888c7e7d300d5e29201f8621fd63
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int dominantIndex(vector<int>& nums) { if ( nums.size() == 0 ) return -1; int max = 0, sec = 0, size = nums.size(); for (int i = 1; i < size; i++) { if ( nums[i] > nums[max] ) { sec = max; max = i; } else...
16.028571
63
0.529412
[ "vector" ]
ddae5ff891313ebd91e2327d48ff89f3a483df1d
17,260
cc
C++
test/test_communicator_send_recv.cc
mlund/mpl
7324df0d86b9c03fb5a9526c0216455a843a0f23
[ "BSD-3-Clause" ]
94
2015-09-22T12:04:21.000Z
2022-03-29T07:32:06.000Z
test/test_communicator_send_recv.cc
mlund/mpl
7324df0d86b9c03fb5a9526c0216455a843a0f23
[ "BSD-3-Clause" ]
28
2015-11-25T17:36:50.000Z
2022-03-28T22:56:41.000Z
test/test_communicator_send_recv.cc
mlund/mpl
7324df0d86b9c03fb5a9526c0216455a843a0f23
[ "BSD-3-Clause" ]
19
2015-11-24T22:00:25.000Z
2022-02-15T01:17:25.000Z
#define BOOST_TEST_MODULE communicator_send_recv #include <boost/test/included/unit_test.hpp> #include <limits> #include <cstddef> #include <complex> #include <string> #include <vector> #include <list> #include <set> #include <tuple> #include <utility> #include <algorithm> #include <mpl/mpl.hpp> #include "test_helper....
40.803783
93
0.684705
[ "vector" ]
ddc394b91f0deda430d989718d15265b8e2950bb
744
cpp
C++
contest/compfest/11/Training Home/Pemrograman Kompetitif Dasar/Math/D.cpp
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
1
2019-11-06T15:17:48.000Z
2019-11-06T15:17:48.000Z
contest/compfest/11/Training Home/Pemrograman Kompetitif Dasar/Math/D.cpp
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
null
null
null
contest/compfest/11/Training Home/Pemrograman Kompetitif Dasar/Math/D.cpp
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
1
2018-11-13T08:43:26.000Z
2018-11-13T08:43:26.000Z
#include <bits/stdc++.h> using namespace std; typedef short i16; typedef unsigned short u16; typedef int i32; typedef unsigned int u32; typedef long int i64; typedef unsigned long int u64; int main() { i64 N, K; cin >> N >> K; vector<bool> p_table(700001, true); vector<i32> p_l; p_table[1] = false; ...
17.302326
47
0.459677
[ "vector" ]
ddc53772efef4dc00b191486831a9bd3b7e459ad
2,079
cc
C++
cpp-standard-library/18.1.2.cc
ysuttep/books-exercise
975a26dc4bee620160a8023dcdca323f6247a497
[ "MIT" ]
null
null
null
cpp-standard-library/18.1.2.cc
ysuttep/books-exercise
975a26dc4bee620160a8023dcdca323f6247a497
[ "MIT" ]
null
null
null
cpp-standard-library/18.1.2.cc
ysuttep/books-exercise
975a26dc4bee620160a8023dcdca323f6247a497
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <thread> #include <map> #include <vector> #include <string> std::string SupportXmlEncode(const std::string& container) { std::string tmp = container; if( tmp.empty() ) return tmp; std::string::size_type pos = 0; for (size_t i = 0; i < 10000; ++i) ...
25.9875
102
0.561809
[ "vector" ]
ddcaf390a2e782b641bf8f52fdd57854918c4e09
7,796
cc
C++
src/datetime/tasks/extract_field.cc
marcinz/legate.pandas
94c21c436f59c06cfba454c6569e9f5d7109d839
[ "Apache-2.0" ]
67
2021-04-12T18:06:55.000Z
2022-03-28T06:51:05.000Z
src/datetime/tasks/extract_field.cc
marcinz/legate.pandas
94c21c436f59c06cfba454c6569e9f5d7109d839
[ "Apache-2.0" ]
2
2021-06-22T00:30:36.000Z
2021-07-01T22:12:43.000Z
src/datetime/tasks/extract_field.cc
marcinz/legate.pandas
94c21c436f59c06cfba454c6569e9f5d7109d839
[ "Apache-2.0" ]
6
2021-04-14T21:28:00.000Z
2022-03-22T09:45:25.000Z
/* Copyright 2021 NVIDIA 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/LICENSE-2.0 * * Unless required by applicable law or agreed...
30.936508
99
0.624808
[ "vector" ]
ddd02b1f51b6dcd6f08bff1e7886725a99b6ee9d
1,622
cpp
C++
MaxLevelSum.cpp
aak-301/data-structure
13d63e408a0001ceb06e2937ab8fcc3f176db78d
[ "Apache-2.0" ]
null
null
null
MaxLevelSum.cpp
aak-301/data-structure
13d63e408a0001ceb06e2937ab8fcc3f176db78d
[ "Apache-2.0" ]
null
null
null
MaxLevelSum.cpp
aak-301/data-structure
13d63e408a0001ceb06e2937ab8fcc3f176db78d
[ "Apache-2.0" ]
null
null
null
// https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree/ #include<iostream> #include<vector> #include<queue> #include<map> using namespace std; struct TreeNode{ int val; struct TreeNode *left, *right; TreeNode(int x){ val=x; left=NULL; right=NULL; } ...
22.84507
69
0.467941
[ "vector" ]
ddd571708258ec1ba88dd76c403c5b09b840ef77
5,373
hpp
C++
lab3a-sem2/src/Matrix.hpp
yevkk/labs-oop
b6887e26779575693bb6bf37af9e2fffb8053acd
[ "Apache-2.0" ]
null
null
null
lab3a-sem2/src/Matrix.hpp
yevkk/labs-oop
b6887e26779575693bb6bf37af9e2fffb8053acd
[ "Apache-2.0" ]
1
2019-12-09T00:52:05.000Z
2019-12-09T00:52:05.000Z
lab3a-sem2/src/Matrix.hpp
yevkk/labs-oop-sem1
b6887e26779575693bb6bf37af9e2fffb8053acd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <type_traits> #include <vector> template<typename T> class Matrix; enum class MatrixMultiplicationPolicy { Default, Strassen, StrassenParallel }; namespace detail { template<typename TT> Matrix<TT> defaultMultiplication(const Matrix<TT> &lhs, const Matrix<TT> &rhs); template<t...
31.605882
94
0.568025
[ "vector" ]
ddd8a0126e837d5cb692f1fb1dd85c6b90160c86
2,520
cpp
C++
mmdet/ops/ops/roi_align/src/rroi_align_cuda.cpp
qgh1223/SLRDet
f63335e9626067b462ad548c98f986e0d33addf9
[ "Apache-2.0" ]
27
2019-11-20T07:34:15.000Z
2022-03-04T01:02:33.000Z
mmdet/ops/ops/roi_align/src/rroi_align_cuda.cpp
qgh1223/SLRDet
f63335e9626067b462ad548c98f986e0d33addf9
[ "Apache-2.0" ]
5
2019-12-03T13:16:02.000Z
2020-01-16T08:59:53.000Z
mmdet/ops/ops/roi_align/src/rroi_align_cuda.cpp
LUCKMOONLIGHT/SLRDet
f63335e9626067b462ad548c98f986e0d33addf9
[ "Apache-2.0" ]
5
2019-12-03T12:21:36.000Z
2021-12-17T12:37:08.000Z
#include <torch/extension.h> #include <cmath> #include <vector> at::Tensor ROIAlignRotated_forward_cuda(const at::Tensor& input, const at::Tensor& rois, const float spatial_scale, const int pooled_height, ...
45
151
0.5
[ "vector" ]
dddc4891d32a5ad8d9450d4d3a0c01594152d8bb
520
cpp
C++
zend/function.cpp
kirmorozov/PHP-CPP
fde096ca0a23c33c63e7c5f529891e9b679601a1
[ "Apache-2.0" ]
1,027
2015-01-05T02:52:17.000Z
2022-03-26T22:30:14.000Z
zend/function.cpp
kirmorozov/PHP-CPP
fde096ca0a23c33c63e7c5f529891e9b679601a1
[ "Apache-2.0" ]
312
2015-01-01T08:58:12.000Z
2022-03-31T09:26:55.000Z
zend/function.cpp
kirmorozov/PHP-CPP
fde096ca0a23c33c63e7c5f529891e9b679601a1
[ "Apache-2.0" ]
324
2015-01-06T01:57:21.000Z
2022-03-31T14:13:49.000Z
/** * Function.cpp * * Implementation file for the Function class * * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com> * @copyright 2015 Copernica BV */ /** * Dependencies */ #include "includes.h" /** * Set up namespace */ namespace Php { /** * Constructor * @param function The ...
16.774194
139
0.646154
[ "object" ]
50b41293d8ac9b17ade8053c91b52e4a09180791
1,991
cpp
C++
stack/42.trapping-rain-water.cpp
yeweili94/leetcode
900fd11795f760e3d1d646f1f63887d4d22eb46e
[ "MIT" ]
null
null
null
stack/42.trapping-rain-water.cpp
yeweili94/leetcode
900fd11795f760e3d1d646f1f63887d4d22eb46e
[ "MIT" ]
null
null
null
stack/42.trapping-rain-water.cpp
yeweili94/leetcode
900fd11795f760e3d1d646f1f63887d4d22eb46e
[ "MIT" ]
null
null
null
/* * [42] Trapping Rain Water * * https://leetcode.com/problems/trapping-rain-water/description/ * * algorithms * Hard (38.80%) * Total Accepted: 190.7K * Total Submissions: 491.4K * Testcase Example: '[0,1,0,2,1,0,1,3,2,1,2,1]' * * Given n non-negative integers representing an elevation map where the wi...
27.652778
79
0.447514
[ "vector" ]
50bc503901cbe9cb919d7a5f8da68432cadfe7fe
122,976
cpp
C++
base/ntsetup/oobe/msobcomm/refdial.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/ntsetup/oobe/msobcomm/refdial.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/ntsetup/oobe/msobcomm/refdial.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// RefDial.cpp : Implementation of CRefDial //#include "stdafx.h" //#include "icwhelp.h" #include <urlmon.h> #include "commerr.h" #include "RefDial.h" #include "msobcomm.h" #include "appdefs.h" #include "commerr.h" #include "util.h" #include "msobdl.h" //#include <mshtmhst.h> const WCHAR c_szCreditsMagi...
31.347438
213
0.522484
[ "object" ]
50c768f35e3fd812be682aafbd7aa7501c09956a
1,266
hpp
C++
include/hydro/engine/document/Action.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/document/Action.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/document/Action.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
26.375
84
0.550553
[ "object" ]
50ccc48c49aad28d4df4ee618a6fb10195306c2f
1,702
hpp
C++
soccer/radio/NetworkRadio.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
soccer/radio/NetworkRadio.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
soccer/radio/NetworkRadio.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
#pragma once #include <mutex> #include <boost/config.hpp> #include <RobotIntent.hpp> #include <boost/asio.hpp> #include <boost/bimap/bimap.hpp> #include <boost/bimap/multiset_of.hpp> #include "Radio.hpp" #include "rc-fshare/rtp.hpp" /** * @brief Interface for the radio over regular network interface * * TODO(K...
25.787879
80
0.676263
[ "vector" ]
50cd846e551d4cda29c2fc0c55eca7dcc7f7abda
2,640
cc
C++
packages/isar_flutter_libs/linux/isar_flutter_libs_plugin.cc
richard457/isar
e15b3bc2833a3b47050a83f983b0f908d59300aa
[ "Apache-2.0" ]
1
2022-03-30T16:46:58.000Z
2022-03-30T16:46:58.000Z
packages/isar_flutter_libs/linux/isar_flutter_libs_plugin.cc
richard457/isar
e15b3bc2833a3b47050a83f983b0f908d59300aa
[ "Apache-2.0" ]
null
null
null
packages/isar_flutter_libs/linux/isar_flutter_libs_plugin.cc
richard457/isar
e15b3bc2833a3b47050a83f983b0f908d59300aa
[ "Apache-2.0" ]
null
null
null
#include "include/isar_flutter_libs/isar_flutter_libs_plugin.h" #include <flutter_linux/flutter_linux.h> #include <gtk/gtk.h> #include <sys/utsname.h> #include <cstring> #define ISAR_FLUTTER_LIBS_PLUGIN(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), isar_flutter_libs_plugin_get_type(), \ I...
37.183099
85
0.749621
[ "object" ]
50dffc5c1fb44b444cc123d1690d2a8880e1b5ad
3,142
cpp
C++
src/Data/Commands/Model/LexiconModel.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
src/Data/Commands/Model/LexiconModel.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
src/Data/Commands/Model/LexiconModel.cpp
viveret/script-ai
15f8dc561e55812de034bb729e83ff01bec61743
[ "BSD-3-Clause" ]
null
null
null
#include "LexiconModel.hpp" #include "SentenceModel.hpp" #include "../../../StackOverflow.hpp" #include "../../../SentenceIterator.hpp" #include <iostream> #include <cassert> #include <random> using namespace ScriptAI; using namespace Sql; LexiconModel::LexiconModel(int capacity) { if (capacity > 0) { th...
29.092593
102
0.606302
[ "vector" ]
50e96e66d9234b04e5ab410263acb24ef1fabb86
32,741
cpp
C++
src/qnodeeditorsocketmodel.cpp
rochus/qt5-node-editor
9c9bc9b713aa6fe4c59e6d70ce0115a2800d461a
[ "MIT" ]
168
2015-07-02T09:41:31.000Z
2020-12-29T11:33:09.000Z
src/qnodeeditorsocketmodel.cpp
Guyiguang/qt5-node-editor
9c9bc9b713aa6fe4c59e6d70ce0115a2800d461a
[ "MIT" ]
11
2015-06-19T07:39:40.000Z
2018-09-04T13:49:23.000Z
src/qnodeeditorsocketmodel.cpp
rochus/qt5-node-editor
9c9bc9b713aa6fe4c59e6d70ce0115a2800d461a
[ "MIT" ]
52
2015-04-02T03:59:26.000Z
2020-12-29T11:33:10.000Z
#include "qnodeeditorsocketmodel.h" #include "graphicsnode.hpp" #include "graphicsnodescene.hpp" #include "graphicsbezieredge.hpp" #include "graphicsbezieredge_p.h" #include "qreactiveproxymodel.h" #include "qmodeldatalistdecoder.h" #include <QtCore/QDebug> #include <QtCore/QMimeData> #include <QtCore/QSortFilterPr...
30.092831
166
0.632632
[ "model" ]
50f677438320dca04985de7d0e6bfcd6f150b1b7
35,790
cpp
C++
src/Renderer.cpp
Quivscor/SoulEngine
2951de54cd09c5a017c01d8ea124e375f0b62b9f
[ "MIT" ]
2
2020-06-24T10:18:13.000Z
2020-06-25T19:34:57.000Z
src/Renderer.cpp
Quivscor/SoulEngine
2951de54cd09c5a017c01d8ea124e375f0b62b9f
[ "MIT" ]
null
null
null
src/Renderer.cpp
Quivscor/SoulEngine
2951de54cd09c5a017c01d8ea124e375f0b62b9f
[ "MIT" ]
null
null
null
#include "Renderer.h" #include "Model.h" #include "TextRendering.h" #include<Billboard.h> #include <stb_image.h> Shader* Renderer::defaultShader = nullptr; Shader* Renderer::screenShader = nullptr; Renderer::Renderer(Shader* shader, Shader* screenShader, Shader* skyBoxShader, Shader* refractorShader, Model* crystal) ...
39.372937
299
0.697066
[ "mesh", "render", "object", "shape", "vector", "model", "transform" ]
dd00b0592dfc9b696416bf1c0fdd8333b39538e3
15,054
cc
C++
src/drivers/devices/cuda/flowunit/torch/torch_inference_flowunit_test.cc
yamal-shang/modelbox
b2785568f4acd56d4922a793aa25516f883edc26
[ "Apache-2.0" ]
51
2021-09-24T08:57:44.000Z
2022-03-31T09:12:46.000Z
src/drivers/devices/cuda/flowunit/torch/torch_inference_flowunit_test.cc
yamal-shang/modelbox
b2785568f4acd56d4922a793aa25516f883edc26
[ "Apache-2.0" ]
3
2022-02-22T07:13:02.000Z
2022-03-30T02:03:40.000Z
src/drivers/devices/cuda/flowunit/torch/torch_inference_flowunit_test.cc
yamal-shang/modelbox
b2785568f4acd56d4922a793aa25516f883edc26
[ "Apache-2.0" ]
31
2021-11-29T02:22:39.000Z
2022-03-15T03:05:24.000Z
/* * Copyright 2021 The Modelbox Project Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
37.262376
132
0.639764
[ "shape", "vector" ]
dd0b3c6ec22dfb3b3de5b243740188dd6bcecb0b
679
hpp
C++
16.hpp
fun4algs/lc
fd5bb9ee560d1f465abee249b029e7b825de06ab
[ "MIT" ]
4
2020-06-12T14:10:22.000Z
2020-06-17T09:18:59.000Z
16.hpp
fun4algs/lc
fd5bb9ee560d1f465abee249b029e7b825de06ab
[ "MIT" ]
null
null
null
16.hpp
fun4algs/lc
fd5bb9ee560d1f465abee249b029e7b825de06ab
[ "MIT" ]
null
null
null
class Solution { public: int threeSumClosest(vector<int>& nums, int target) { sort(nums.begin(),nums.end()); int n = nums.size(), res = nums[0] + nums[1] + nums[2]; for(int k = 0;k < n - 2; ++k){ if(k > 0 && nums[k-1] == nums[k]) continue; int i = k + 1, j = ...
29.521739
63
0.381443
[ "vector" ]
dd0f45ee8989c8253bb52bcdf33295f1f5a9ff2b
5,397
cpp
C++
Scene/MyScene.cpp
tinyHui/G53GRA
de9866313b78a4e68102507d3dea50a1dcb7e246
[ "Apache-2.0" ]
null
null
null
Scene/MyScene.cpp
tinyHui/G53GRA
de9866313b78a4e68102507d3dea50a1dcb7e246
[ "Apache-2.0" ]
null
null
null
Scene/MyScene.cpp
tinyHui/G53GRA
de9866313b78a4e68102507d3dea50a1dcb7e246
[ "Apache-2.0" ]
null
null
null
/* Use this as the starting point to your work. For each object in your scene, #include its header file then add it to the scene with AddObjectToScene() */ #include "Environment.h" #include "MyScene.h" #include "Chair.h" #include "CouchMain.h" #include "CouchSide.h" #include "Carpet.h" #include "Table.h" ...
34.596154
162
0.656846
[ "object" ]
dd137ed530325ef49e4ed0b35ee904fdcbed1b4f
2,875
cpp
C++
Pinball NEW/ModuleFonts.cpp
PowerHunters/Physics4Pinball
84b309a9430f139dcd564ba8e3e991dfafabdceb
[ "MIT" ]
null
null
null
Pinball NEW/ModuleFonts.cpp
PowerHunters/Physics4Pinball
84b309a9430f139dcd564ba8e3e991dfafabdceb
[ "MIT" ]
null
null
null
Pinball NEW/ModuleFonts.cpp
PowerHunters/Physics4Pinball
84b309a9430f139dcd564ba8e3e991dfafabdceb
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleTextures.h" #include "ModuleRender.h" #include "ModuleFonts.h" #include <string> // Constructor ModuleFonts::ModuleFonts(Application* app, bool start_enabled) : Module(app, start_enabled) {} // Destructor ModuleFonts::~ModuleFonts() {} // Load new textur...
23.373984
148
0.651478
[ "render" ]
dd143a5410b054e7b6388d918d58b9155cb7c601
3,682
inl
C++
Kalix.Core/Libraries/x64/include/dseed/math/vectors/simd.constructors.inl
daramkun/Kalix
b73123428909620b29936d4637a93baf6e33e69a
[ "Zlib", "Apache-2.0" ]
null
null
null
Kalix.Core/Libraries/x64/include/dseed/math/vectors/simd.constructors.inl
daramkun/Kalix
b73123428909620b29936d4637a93baf6e33e69a
[ "Zlib", "Apache-2.0" ]
null
null
null
Kalix.Core/Libraries/x64/include/dseed/math/vectors/simd.constructors.inl
daramkun/Kalix
b73123428909620b29936d4637a93baf6e33e69a
[ "Zlib", "Apache-2.0" ]
null
null
null
#pragma warning (disable: 26495) /////////////////////////////////////////////////////////////////////////////////////////// // // 4D Vector Constructors // /////////////////////////////////////////////////////////////////////////////////////////// namespace dseed { inline f32x4_t::f32x4_t() noexcept { } inline f32...
24.878378
91
0.652363
[ "vector" ]
dd169808ebf155896b39edc89670a6905f16e929
5,107
cpp
C++
src/imageproc/main.cpp
panjabi/automcq
e7e7f4d161d41f98d5f54ba46c9981a667c80109
[ "MIT" ]
null
null
null
src/imageproc/main.cpp
panjabi/automcq
e7e7f4d161d41f98d5f54ba46c9981a667c80109
[ "MIT" ]
null
null
null
src/imageproc/main.cpp
panjabi/automcq
e7e7f4d161d41f98d5f54ba46c9981a667c80109
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <math.h> #include <opencv2/opencv.hpp> #include "opencv2/nonfree/nonfree.hpp" using namespace cv; // Returns aligned image Mat alignImage( Mat image ) { Mat org = imread( "template-blank.jpg", CV_LOAD_IMAGE_GRAYSCALE ); if(!org.data) std::cout << "unable to read te...
24.791262
127
0.63834
[ "object", "vector" ]
dd1b5cdc1663e7bf5eb6cfbc41439e48bf941eaf
2,707
cpp
C++
HydroUQ/projectsettings.cpp
pmackenz/HydroUQ
31e7c7525fb3548d40c951b96a999f7b927dd581
[ "BSD-2-Clause" ]
null
null
null
HydroUQ/projectsettings.cpp
pmackenz/HydroUQ
31e7c7525fb3548d40c951b96a999f7b927dd581
[ "BSD-2-Clause" ]
null
null
null
HydroUQ/projectsettings.cpp
pmackenz/HydroUQ
31e7c7525fb3548d40c951b96a999f7b927dd581
[ "BSD-2-Clause" ]
null
null
null
#include "projectsettings.h" #include "ui_projectsettings.h" #include <QDebug> //********************************************************************************* // Project settings //********************************************************************************* projectsettings::projectsettings(int type, QWidget *...
33.8375
164
0.436646
[ "model" ]
dd2d9f759fe1b466b88829c5a6d4fce2c93891c4
2,706
cc
C++
mpi-examples/mandelbrot.cc
highperformancecoder/classdesc
15ff06aded75498ef85cf63da4870022aef37ad2
[ "MIT" ]
1
2021-01-31T22:53:35.000Z
2021-01-31T22:53:35.000Z
mpi-examples/mandelbrot.cc
highperformancecoder/classdesc
15ff06aded75498ef85cf63da4870022aef37ad2
[ "MIT" ]
9
2017-11-26T23:08:07.000Z
2018-07-04T00:59:26.000Z
mpi-examples/mandelbrot.cc
highperformancecoder/classdesc
15ff06aded75498ef85cf63da4870022aef37ad2
[ "MIT" ]
3
2017-07-23T19:29:05.000Z
2018-04-19T12:02:25.000Z
/* @copyright Russell Standish 2000-2013 @author Russell Standish This file is part of Classdesc Open source licensed under the MIT license. See LICENSE for details. */ #include <mpi.h> #include <complex> #include <vector> #include "pack_stl.h" #include "classdescMP.h" #include "classdesc_epilogue.h" #include...
20.815385
75
0.59017
[ "vector" ]
dd3808219712d20ee95fc0b35f3077216ef517fa
354
cc
C++
test/test-tools.cc
noryb009/lick
77716e9ed4304bdab8725974e40e74f2f1616a9d
[ "MIT" ]
50
2015-05-02T13:00:25.000Z
2022-02-22T15:16:25.000Z
test/test-tools.cc
noryb009/lick
77716e9ed4304bdab8725974e40e74f2f1616a9d
[ "MIT" ]
55
2016-08-30T05:17:14.000Z
2022-03-27T01:01:02.000Z
test/test-tools.cc
noryb009/lick
77716e9ed4304bdab8725974e40e74f2f1616a9d
[ "MIT" ]
12
2016-11-13T07:20:58.000Z
2021-12-09T07:33:47.000Z
#include "test-tools.h" lickdir_t *test_lick(const char *dir) { return new_lickdir(dir[0], concat_strs(2, dir, "/entries"), concat_strs(2, dir, "/res")); } node_t *vector_to_list(const std::vector<void*> &v) { node_t *lst = nullptr; for (auto it = v.rbegin(); it != v.rend(); ++it) { lst = new_no...
22.125
53
0.601695
[ "vector" ]
dd3b38b74ea44ab71eda17cafffe43f0972fb401
3,330
cpp
C++
ch04/e4-07.cpp
nanonashy/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
3
2021-12-17T17:25:18.000Z
2022-03-02T15:52:23.000Z
ch04/e4-07.cpp
nashinium/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
1
2020-04-22T07:16:34.000Z
2020-04-22T10:04:04.000Z
ch04/e4-07.cpp
nashinium/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
1
2020-04-22T08:13:51.000Z
2020-04-22T08:13:51.000Z
// 問題文: // 練習問題5の電卓プログラムを書き換え、数字又は単語として書かれた1桁の数字(のみ)を // 受け取るように変更する。 // // コメント: // ・少しでもコンソールlikeにするために、quit // と入力しプログラムを終了するようにしました。 (generate_number関数から -2 // を受け取ると bool quit が true になりwhileループが終了します。) // ・文字列と演算子をスペースを空けずに入力すると、文字列+演算子をstringとして読み込んで // しまうので、使う際は演算子の前後にスペースを空ける必要があります。 // ・uns...
31.714286
81
0.381081
[ "vector" ]
dd407a22b13d9bfa452d202352ad9feb0fda872d
3,377
cpp
C++
dataserver/src/storage/stats_col.cpp
jimdb-org/jimdb
927e4447879189597dbe7f91a7fe0e8865107ef4
[ "Apache-2.0" ]
59
2020-01-10T06:27:12.000Z
2021-12-16T06:37:36.000Z
dataserver/src/storage/stats_col.cpp
jimdb-org/jimdb
927e4447879189597dbe7f91a7fe0e8865107ef4
[ "Apache-2.0" ]
null
null
null
dataserver/src/storage/stats_col.cpp
jimdb-org/jimdb
927e4447879189597dbe7f91a7fe0e8865107ef4
[ "Apache-2.0" ]
3
2020-02-13T05:04:20.000Z
2020-06-29T01:07:48.000Z
// Copyright 2019 The JIMDB Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
34.459184
121
0.628368
[ "vector" ]
dd4c6d423d2795ebb0c1bc67f6058070ef84a1cf
29,284
cpp
C++
benchmark_suite/src/io/gnuplot.cpp
captain-yoshi/moveit_benchmark_suite
cfd8c7da141bcd738440a418c94f6d79f44fbc8b
[ "BSD-3-Clause" ]
null
null
null
benchmark_suite/src/io/gnuplot.cpp
captain-yoshi/moveit_benchmark_suite
cfd8c7da141bcd738440a418c94f6d79f44fbc8b
[ "BSD-3-Clause" ]
34
2021-09-05T21:48:42.000Z
2022-03-31T21:29:47.000Z
benchmark_suite/src/io/gnuplot.cpp
captain-yoshi/moveit_benchmark_suite
cfd8c7da141bcd738440a418c94f6d79f44fbc8b
[ "BSD-3-Clause" ]
2
2021-09-04T11:39:35.000Z
2022-03-18T14:35:11.000Z
/* Author: Zachary Kingston */ #include <moveit_benchmark_suite/io.h> #include <moveit_benchmark_suite/io/gnuplot.h> #include <moveit_benchmark_suite/yaml.h> #include <moveit_benchmark_suite/token.h> #include <cmath> #include <boost/iostreams/device/array.hpp> #include <boost/iostreams/stream_buffer.hpp> using name...
26.287253
120
0.590117
[ "vector", "solid" ]
dd5157c57a0f1c05b843532730435413356bfba8
1,586
cpp
C++
aws-cpp-sdk-macie2/source/model/Page.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-macie2/source/model/Page.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-macie2/source/model/Page.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/macie2/model/Page.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace Macie2 ...
17.23913
69
0.703657
[ "model" ]
dd51f1bd0f0d5e5eadbb8af324afc07acd060a5f
5,315
cpp
C++
projectionmethod.cpp
haranjackson/ProjectionMethod
22bb282c718916e30cb8daa7dc8f13ad7c4292b7
[ "MIT" ]
3
2018-05-04T00:51:16.000Z
2021-08-10T15:14:43.000Z
projectionmethod.cpp
haranjackson/ProjectionMethod
22bb282c718916e30cb8daa7dc8f13ad7c4292b7
[ "MIT" ]
null
null
null
projectionmethod.cpp
haranjackson/ProjectionMethod
22bb282c718916e30cb8daa7dc8f13ad7c4292b7
[ "MIT" ]
null
null
null
#include <vector> #include "lib/Eigen327/Dense" #include "lib/Eigen327/Sparse" #include "lib/Eigen327/Eigenvalues" #include "matrixops.h" double TOL = 1e-6; // For calculating steady state SpMat diff_mat(int n, double h, double c) { // c: Neumann=1, Dirichlet=2, Dirichlet mid=3; SpMat ret(n,n); ...
29.527778
80
0.524553
[ "vector" ]
dd53b822bd3d12ffc60924701012c743591657f2
6,499
cpp
C++
Pang/Pang/Source/ModuleParticles.cpp
UriKurae/Pang
2634bb22e674f022c0218a3802d0d5f80a9661fa
[ "MIT" ]
1
2020-12-21T17:21:28.000Z
2020-12-21T17:21:28.000Z
Pang/Pang/Source/ModuleParticles.cpp
UriKurae/Pang
2634bb22e674f022c0218a3802d0d5f80a9661fa
[ "MIT" ]
null
null
null
Pang/Pang/Source/ModuleParticles.cpp
UriKurae/Pang
2634bb22e674f022c0218a3802d0d5f80a9661fa
[ "MIT" ]
null
null
null
#include "ModuleParticles.h" #include "Application.h" #include "ModuleTextures.h" #include "ModuleRender.h" #include "ModuleCollisions.h" #include "ModuleTileset.h" #include "ModuleAudio.h" #include "SDL/include/SDL_timer.h" ModuleParticles::ModuleParticles(bool startEnabled) : Module(startEnabled) { name = "PARTI...
27.892704
214
0.679181
[ "render" ]
dd5b8d78db219da3d7ed674712096ec447613719
28,307
cpp
C++
BigInt/main.cpp
SeijiEmery/BigInt
c1c681613b97d85b28c80e74f992b5e5af38cab5
[ "MIT" ]
null
null
null
BigInt/main.cpp
SeijiEmery/BigInt
c1c681613b97d85b28c80e74f992b5e5af38cab5
[ "MIT" ]
null
null
null
BigInt/main.cpp
SeijiEmery/BigInt
c1c681613b97d85b28c80e74f992b5e5af38cab5
[ "MIT" ]
null
null
null
// // main.cpp // BigInt // // Created by semery on 8/25/16. // Copyright © 2016 Seiji Emery. All rights reserved. // #include <iostream> #include <vector> #include <cassert> #define ENABLE_UNITTESTS 1 #define UNITTEST_REPORT_ON_SUCCESS 0 #include "unittest.hpp" namespace storage { constexpr size_t STORAGE_BITS...
41.08418
137
0.583354
[ "vector" ]
dd5e99d114e1aad97c7278769255ee2d937ecf60
1,879
cpp
C++
project1/game/GameStart.cpp
jojonium/IMGD-3000-Technical-Game-Development-I
f3d9da9ec3b21774633d13912b1a05c0035628c1
[ "MIT" ]
null
null
null
project1/game/GameStart.cpp
jojonium/IMGD-3000-Technical-Game-Development-I
f3d9da9ec3b21774633d13912b1a05c0035628c1
[ "MIT" ]
3
2019-12-10T18:43:42.000Z
2019-12-11T00:40:00.000Z
project1/game/GameStart.cpp
jojonium/IMGD-3000-Technical-Game-Development-I
f3d9da9ec3b21774633d13912b1a05c0035628c1
[ "MIT" ]
null
null
null
// // GameStart.cpp // // Engine includes #include "LogManager.h" #include "DisplayManager.h" #include "EventKeyboard.h" #include "GameManager.h" #include "ResourceManager.h" #include "Music.h" // Game includes #include "GameStart.h" #include "Hero.h" #include "Points.h" #include "Boss.h" #include "BossHealth.h" Gam...
19.572917
59
0.645556
[ "object" ]
e577d683c19f3f9e22558c6c3ab28013e46899f7
3,926
cpp
C++
uut/math/uutVector3.cpp
kolyden/engine
cab1881a8493b591a136a5ce3d502e704fdea7bf
[ "Unlicense" ]
null
null
null
uut/math/uutVector3.cpp
kolyden/engine
cab1881a8493b591a136a5ce3d502e704fdea7bf
[ "Unlicense" ]
null
null
null
uut/math/uutVector3.cpp
kolyden/engine
cab1881a8493b591a136a5ce3d502e704fdea7bf
[ "Unlicense" ]
null
null
null
#include "uutVector3.h" namespace uut { Vector3f Vector3f::cross(const Vector3f &p, const Vector3f &q) { return Vector3f((p.y * q.z) - (p.z * q.y), (p.z * q.x) - (p.x * q.z), (p.x * q.y) - (p.y * q.x)); } float Vector3f::distance(const Vector3f &pt1, const Vector3f &pt2) { // Calculates th...
23.939024
75
0.596026
[ "vector" ]
e57fee98c6dd0c3b9cdfae71f05b8f6c94cf5211
1,122
cpp
C++
ubb/pdp/exam/subject-2-2018/matrix.cpp
AlexanderChristian/private_courses
c80f3526af539e35f93b460f3909f669aaef573c
[ "MIT" ]
null
null
null
ubb/pdp/exam/subject-2-2018/matrix.cpp
AlexanderChristian/private_courses
c80f3526af539e35f93b460f3909f669aaef573c
[ "MIT" ]
6
2020-03-04T20:52:39.000Z
2022-03-31T00:33:07.000Z
ubb/pdp/exam/subject-2-2018/matrix.cpp
AlexanderChristian/private_courses
c80f3526af539e35f93b460f3909f669aaef573c
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <thread> using namespace std; int n; vector <vector <int>> a, b, c; inline void solve(int T) { vector <thread> t; for(int idx = 0; idx < T; ++ idx) { t.push_back(thread([&, idx, T](){ for(int i = idx; i < n; i += T) { for(int j =...
17.809524
41
0.409982
[ "vector" ]
e595813529c6848a67d7c597082e11d021487fcc
1,954
hpp
C++
B-SYN-400-LYN-4-1-abstractVM/include/checker.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
2
2022-02-07T12:44:51.000Z
2022-02-08T12:04:08.000Z
B-SYN-400-LYN-4-1-abstractVM/include/checker.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
null
null
null
B-SYN-400-LYN-4-1-abstractVM/include/checker.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
1
2022-01-23T21:26:06.000Z
2022-01-23T21:26:06.000Z
/* ** EPITECH PROJECT, 2021 ** B-SYN-400-LYN-4-1-abstractVM- ** File description: ** checker */ #ifndef CHECKER_HPP #define CHECKER_HPP class checker { public: checker(); ~checker(); std::vector<std::string> _data; bool check(std::string); ...
23.542169
71
0.352098
[ "vector" ]
e59e308dda633798f0d6a8a90552e3d69d47bc37
4,928
cpp
C++
dependencies/PyMesh/tools/Wires/Attributes/WireEdgePeriodicIndexAttribute.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
5
2018-06-04T19:52:02.000Z
2022-01-22T09:04:00.000Z
dependencies/PyMesh/tools/Wires/Attributes/WireEdgePeriodicIndexAttribute.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
dependencies/PyMesh/tools/Wires/Attributes/WireEdgePeriodicIndexAttribute.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
/* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */ #include "WireEdgePeriodicIndexAttribute.h" #include <functional> #include <list> #include <Misc/Triplet.h> #include <Misc/TripletMap.h> #include <Misc/HashGrid.h> #include <Wires/WireNetwork/WireNetwork.h> using namespace PyMesh; namespace WireE...
40.727273
78
0.552557
[ "vector", "transform" ]
e5a9b38835e4b367b38d15b3fc56ed8fb6f84343
3,551
cpp
C++
example/demo_1d_vector.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
24
2016-03-09T03:23:06.000Z
2021-01-12T14:02:07.000Z
example/demo_1d_vector.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
11
2018-03-05T14:39:48.000Z
2021-08-22T09:00:33.000Z
example/demo_1d_vector.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
10
2016-11-04T14:36:04.000Z
2020-07-17T08:12:03.000Z
/*! \file demo_1d_vector.cpp \brief Simple plot of vector of 1D data. \details An example to demonstrate simple 1D plot using two vectors, see also demo_1d_containers for examples using other STL containers. \author Jacob Voytko & Paul A. Bristow \date Feb 2009 */ // Copyright Jacob Voytko 2007 //...
30.878261
135
0.736694
[ "object", "shape", "vector" ]
e5ae13ad746f93c60bf7f1e77bcab2aea65fd8a9
636
cpp
C++
src/gui/glwidget.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
src/gui/glwidget.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
src/gui/glwidget.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
#include "glwidget.h" #include "render/gl_util.h" namespace hexgame { namespace gui { GLWidget::GLWidget() { tb::g_renderer->AddListener(this); } GLWidget::~GLWidget() { tb::g_renderer->RemoveListener(this); } void GLWidget::OnPaint(const PaintProps &paint_props) { if (!init) { initGL(); init = true; } GLi...
18.171429
63
0.672956
[ "render" ]
e5afd4b1b63868ecb04e9f6ca381e1c7b4fdcf1c
2,460
cpp
C++
uhk/acm2819.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
uhk/acm2819.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
uhk/acm2819.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cmath> #include <algorithm> #include <vector> #include <map> #include <queue> using namespace std; const int INF = 2147483640; typedef long long ll; const int maxn1 = 100 + 10; const int maxn2 = 110; struct HC { vector<int>G[maxn1]; int uN; int Mx[maxn1], My[maxn2]; in...
15.56962
47
0.433333
[ "vector" ]
e5b2d5db4dbed4cf5af975ed08ed874bc0190c7e
1,005
cpp
C++
src/libs/xmlutil/sc_xmltransformer.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/xmlutil/sc_xmltransformer.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/xmlutil/sc_xmltransformer.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
//############################# #include "sc_xmltransformer.hpp" #include <si_macros.hpp> using rpms::SC_XMLTransformer; /////////////////////////////////////////// SC_XMLTransformer::SC_XMLTransformer( const std::string &aXMLToTransform ) : SA_XMLDocument(), mXML(aXMLToTransform) { TRY(SC_XMLTransformer( con...
22.840909
74
0.538308
[ "transform" ]
e5b8ff9e3ac05141280264b52c821b393e3ed940
1,751
cpp
C++
VoiceBridge/VoiceBridge/kaldi-win/src/bin/am-info.cpp
sanyaade-teachings/VoiceBridge
348b0931f2bfaf33b7e0d18c68c50f448ab3de5c
[ "Apache-2.0" ]
18
2018-02-15T03:14:32.000Z
2021-07-06T08:21:13.000Z
VoiceBridge/VoiceBridge/kaldi-win/src/bin/am-info.cpp
sanyaade-teachings/VoiceBridge
348b0931f2bfaf33b7e0d18c68c50f448ab3de5c
[ "Apache-2.0" ]
3
2020-10-25T16:35:55.000Z
2020-10-26T04:59:46.000Z
VoiceBridge/VoiceBridge/kaldi-win/src/bin/am-info.cpp
sanyaade-teachings/VoiceBridge
348b0931f2bfaf33b7e0d18c68c50f448ab3de5c
[ "Apache-2.0" ]
7
2018-09-16T20:40:17.000Z
2021-07-06T08:21:14.000Z
/* Copyright 2017-present Zoltan Somogyi (AI-TOOLKIT), All Rights Reserved You may use this file only if you agree to the software license: AI-TOOLKIT Open Source Software License - Version 2.1 - February 22, 2018: https://ai-toolkit.blogspot.com/p/ai-toolkit-open-source-software-license.html. Also included with th...
31.267857
91
0.703027
[ "model" ]
e5ba2d85272782131d51843a1396b64d1f121cc8
8,315
hpp
C++
include/RAIIGen/Generator/Simple/SimpleGeneratorConfig.hpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
8
2016-11-02T14:08:51.000Z
2021-03-25T02:00:00.000Z
include/RAIIGen/Generator/Simple/SimpleGeneratorConfig.hpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
4
2016-08-23T12:37:17.000Z
2016-09-30T01:58:20.000Z
include/RAIIGen/Generator/Simple/SimpleGeneratorConfig.hpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
null
null
null
#ifndef MB_GENERATOR_SIMPLE_SIMPLEGENERATORCONFIG_HPP #define MB_GENERATOR_SIMPLE_SIMPLEGENERATORCONFIG_HPP //*************************************************************************************************************************************************** //* BSD 3-Clause License //* //* Copyright (c) 2016, Rene Thra...
57.743056
149
0.706434
[ "vector" ]
e5c8518e625fc7fe338f3bcb55cc9a739b550cb1
11,408
cpp
C++
Player.cpp
OrA27/Monopoly
b057ad3de4eb2cdc5897446d417646c2034fb6ad
[ "MIT" ]
null
null
null
Player.cpp
OrA27/Monopoly
b057ad3de4eb2cdc5897446d417646c2034fb6ad
[ "MIT" ]
null
null
null
Player.cpp
OrA27/Monopoly
b057ad3de4eb2cdc5897446d417646c2034fb6ad
[ "MIT" ]
null
null
null
#include "Player.h" /// <summary> /// constructs player object /// </summary> /// <param name="name">name of player</param> /// <param name="start">starting position of player</param> Player::Player(string name, Slot* start) { this->setName(name); balance = 0; this->setLoc(start); in_jail = false; } ...
31
111
0.622896
[ "object", "vector" ]
e5daf10d1e6b45b8681f2fd5a3598f389d899dc2
8,806
cpp
C++
lib/Controller.cpp
tonytonev/Facial-Recognition-Login-IYF
90949aa6cd8ed910cf28c1948f94f932a52162b5
[ "MIT" ]
null
null
null
lib/Controller.cpp
tonytonev/Facial-Recognition-Login-IYF
90949aa6cd8ed910cf28c1948f94f932a52162b5
[ "MIT" ]
null
null
null
lib/Controller.cpp
tonytonev/Facial-Recognition-Login-IYF
90949aa6cd8ed910cf28c1948f94f932a52162b5
[ "MIT" ]
null
null
null
#include "Controller.h" using namespace std; Controller::Controller() { confidenceThreshold = 0.9; // Load the model model = NULL; // Initalize the face detection module, used for pre-processing fdm = new FDMBasic("../data/Haars/haarcascade_frontalface_alt.xml", "../data/Haars/haarcascade_profil...
29.550336
222
0.680559
[ "object", "model" ]
e5e714ad3aa79947cd36ace35e42c73e7e625adf
8,159
cpp
C++
src/mongo/db/query/sbe_sub_planner.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/sbe_sub_planner.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/sbe_sub_planner.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2020-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
49.150602
100
0.693467
[ "vector" ]
e5eb2a2d3b802bfffaf30b9c4a57f0a843fedbbf
30,733
cpp
C++
src/path_abundance_estimator.cpp
jeizenga/rpvg
1536699bef3902a504de7235587e583ca9e73aa4
[ "MIT" ]
null
null
null
src/path_abundance_estimator.cpp
jeizenga/rpvg
1536699bef3902a504de7235587e583ca9e73aa4
[ "MIT" ]
null
null
null
src/path_abundance_estimator.cpp
jeizenga/rpvg
1536699bef3902a504de7235587e583ca9e73aa4
[ "MIT" ]
null
null
null
#include <limits> #include <chrono> #include "sparsepp/spp.h" #include "path_abundance_estimator.hpp" const uint32_t min_em_conv_its = 10; const double min_em_abundance = 1e-8; const double abundance_gibbs_gamma = 1; const uint32_t min_rel_likelihood_scaling = 1e4; PathAbundanceEstimator::PathAbundanceEstimator...
41.870572
606
0.701624
[ "vector" ]
e5ebf84b5b72341841c6c9e33beb705401f9e145
39,161
cpp
C++
Pinochle/Player.cpp
nparajul/Pinochle
5cf692deb21be40929dd77659e98e42a79aedbbd
[ "MIT" ]
1
2020-11-03T18:08:18.000Z
2020-11-03T18:08:18.000Z
Pinochle/Player.cpp
nparajul/Pinochle
5cf692deb21be40929dd77659e98e42a79aedbbd
[ "MIT" ]
null
null
null
Pinochle/Player.cpp
nparajul/Pinochle
5cf692deb21be40929dd77659e98e42a79aedbbd
[ "MIT" ]
null
null
null
/* ************************************************************ * Name: Nitesh Parajuli * * Project: Project 1 Pinochle C++ * * Class: CMPS366 OPL * * Date: 09/29/2020 * ******************************************...
30.357364
208
0.612472
[ "object", "vector" ]
e5ec8f51d9f6496107b61394914012d8d47af75c
1,052
cpp
C++
Solutions/(1) Vitos Family.cpp
BenSuth/Online-Judge-Solutions
d137d9482586160a27089a38963a8864af02d6ec
[ "MIT" ]
null
null
null
Solutions/(1) Vitos Family.cpp
BenSuth/Online-Judge-Solutions
d137d9482586160a27089a38963a8864af02d6ec
[ "MIT" ]
null
null
null
Solutions/(1) Vitos Family.cpp
BenSuth/Online-Judge-Solutions
d137d9482586160a27089a38963a8864af02d6ec
[ "MIT" ]
null
null
null
/* UVA 10041 Vito's Family Ben Sutherland */ #include <iostream> #include <algorithm> #include <vector> using std::cin, std::cout, std::endl, std::sort, std::vector; int main(void) { /* Get number of test cases */ int testCase; cin >> testCase; int r, mid, distance, temp; // number of relatives...
26.3
119
0.611217
[ "vector" ]
e5f930d563440edd3d2e9974a941b1d7eadfd5f7
858
cpp
C++
series2_handout/unstructured_euler/naca_airfoil.cpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
1
2020-01-05T22:38:47.000Z
2020-01-05T22:38:47.000Z
series2_handout/unstructured_euler/naca_airfoil.cpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
null
null
null
series2_handout/unstructured_euler/naca_airfoil.cpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
1
2019-12-08T20:43:27.000Z
2019-12-08T20:43:27.000Z
#include "solve_euler.hpp" #include "writer.hpp" int main(int, char **) { auto mesh = load_naca_mesh(ANCSE_DATA_PATH "/naca.mesh"); int n_cells = mesh.getNumberOfTriangles(); Eigen::MatrixXd u0(n_cells, 4); for (int i = 0; i < n_cells; ++i) { double T = 1.0; double p = 1.0; d...
26
61
0.529138
[ "mesh" ]
e5fe69992348e98bec2a4ff77ed0383087491cf5
20,922
cpp
C++
dbswznm/WznmAMPersonDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
dbswznm/WznmAMPersonDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
dbswznm/WznmAMPersonDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file WznmAMPersonDetail.cpp * database access for table TblWznmAMPersonDetail (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #include "WznmAMPersonDetail.h" using namespace std; u...
26.316981
191
0.662078
[ "vector" ]
f91261b948dc05b9283b39c5e9762bea5ef5dca7
11,521
cpp
C++
crypto/main.cpp
Enecuum/lib-crypto
d266593eb21070783ccadc51cd2ca9392ceff4fa
[ "MIT" ]
null
null
null
crypto/main.cpp
Enecuum/lib-crypto
d266593eb21070783ccadc51cd2ca9392ceff4fa
[ "MIT" ]
null
null
null
crypto/main.cpp
Enecuum/lib-crypto
d266593eb21070783ccadc51cd2ca9392ceff4fa
[ "MIT" ]
null
null
null
/** * Enecuum Crypto Library source code * See LICENCE file at the top of the source tree * * ****************************************** * * main.cpp * Example * * ****************************************** * * Authors: A. Prudanov, I. Korobkov */ #define _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_DEPR...
45.718254
532
0.777797
[ "vector" ]
f912b6df18394c2dd0cddaec7ce130e6ae8838c4
3,138
cpp
C++
code/Core/Source/Render/T3DRenderTarget.cpp
answerear/Fluid
7b7992547a7d3ac05504dd9127e779eeeaddb3ab
[ "MIT" ]
1
2021-11-16T15:11:52.000Z
2021-11-16T15:11:52.000Z
code/Core/Source/Render/T3DRenderTarget.cpp
answerear/Fluid
7b7992547a7d3ac05504dd9127e779eeeaddb3ab
[ "MIT" ]
null
null
null
code/Core/Source/Render/T3DRenderTarget.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...
28.017857
81
0.478011
[ "render", "object", "3d" ]
f91bfd3e6d6ed2c7a43733d74ba8194b411d93fa
4,000
hpp
C++
lib/lvd/type.hpp
vdods/lvd
864eaa25bdaddfc0dc7e788e693ebae3b42597be
[ "Apache-2.0" ]
null
null
null
lib/lvd/type.hpp
vdods/lvd
864eaa25bdaddfc0dc7e788e693ebae3b42597be
[ "Apache-2.0" ]
null
null
null
lib/lvd/type.hpp
vdods/lvd
864eaa25bdaddfc0dc7e788e693ebae3b42597be
[ "Apache-2.0" ]
null
null
null
// 2021.01.22 - Copyright Victor Dods - Licensed under Apache 2.0 #pragma once namespace lvd { // This allows an associative container whose key type is Type* to index types, // using the singleton object for Type_t<T> for each T. class Type { }; // Can be used as a value to represent the type T_ itself, making it ...
44.444444
143
0.71625
[ "object" ]
f91f8b273200ab2a71320fb50293fc05a39759b9
871
cpp
C++
Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Memoization.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Memoization.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Memoization.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; #define mod 1000000007 void file() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif } // Time Complexity : O(n*m) // Space Complexity : O(n-1+m-1) + O(n*m) int GridUniquePaths(int i,int ...
16.75
58
0.594719
[ "vector" ]
f9227938dedb227f7b30dea724d709052992cbcc
6,107
cpp
C++
src/FileWriter.cpp
hyrise/bencho
904eeeb420352fc1a5270c5911e9ea1401624eee
[ "MIT" ]
1
2016-02-04T22:07:07.000Z
2016-02-04T22:07:07.000Z
src/FileWriter.cpp
hyrise/bencho
904eeeb420352fc1a5270c5911e9ea1401624eee
[ "MIT" ]
null
null
null
src/FileWriter.cpp
hyrise/bencho
904eeeb420352fc1a5270c5911e9ea1401624eee
[ "MIT" ]
null
null
null
#include "FileWriter.h" #include <string> #include <map> #include <vector> #include <iostream> #include <fstream> #include <stdlib.h> #include <unistd.h> #include "DirectoryManager.h" #include "Parameter.h" #include "ConfigFile.h" #define STR_EXPAND(tok) #tok #define STR(tok) STR_EXPAND(tok) extern char* global_pro...
33.371585
168
0.564271
[ "vector" ]
234eb7f162ac6a8cb7689dfd1ed439ce04d2261a
2,701
cpp
C++
src/testMap.cpp
SubramanianKrish/dynamic-rrt
403713636c40bdbd71337de954b7130b7022f004
[ "MIT" ]
1
2021-05-30T15:50:07.000Z
2021-05-30T15:50:07.000Z
src/testMap.cpp
SubramanianKrish/dynamic-rrt
403713636c40bdbd71337de954b7130b7022f004
[ "MIT" ]
null
null
null
src/testMap.cpp
SubramanianKrish/dynamic-rrt
403713636c40bdbd71337de954b7130b7022f004
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_set> #include <unordered_map> #include "Obstacle.h" #include "Map.h" using namespace std; int main() { Map test_map; // get static obstacle vector in the map vector<Obstacle*> stat_obs = test_map.get_static_obs_vec(); // get map size double x_size = test_map...
42.873016
173
0.620511
[ "vector" ]
23536633502524556adf45d6d69d5a094a592beb
1,720
cpp
C++
c++/0228-summary-ranges.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
2
2019-04-13T09:55:04.000Z
2019-05-16T12:47:40.000Z
c++/0228-summary-ranges.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
null
null
null
c++/0228-summary-ranges.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
null
null
null
// 21/11/21 = Sun // 228. Summary Ranges [Easy] // You are given a sorted unique integer array nums. // Return the smallest sorted list of ranges that cover all the numbers in the // array exactly. That is, each element of nums is covered by exactly one of the // ranges, and there is no integer x such that x is in o...
22.631579
80
0.537209
[ "vector" ]
235c152373a43c4db92b2a0860d6bea73c604a56
796
cpp
C++
YKLib/YKObject.cpp
hanhan/YKDataStructuresLib
8f4680fa25a44c8975004602e55be7f82ae11d1f
[ "MIT" ]
null
null
null
YKLib/YKObject.cpp
hanhan/YKDataStructuresLib
8f4680fa25a44c8975004602e55be7f82ae11d1f
[ "MIT" ]
null
null
null
YKLib/YKObject.cpp
hanhan/YKDataStructuresLib
8f4680fa25a44c8975004602e55be7f82ae11d1f
[ "MIT" ]
null
null
null
// // YKObject.cpp // YKLib // // Copyright © 2017年 nethanhan. All rights reserved. // #include "YKObject.hpp" #include <cstdlib> namespace YKLib { void* YKObject::operator new (unsigned long size) throw() { return malloc(size); } void YKObject::operator delete (void* p) { ...
15.92
63
0.527638
[ "object" ]
23666a56415f1efe7c0c08100c696476ba145273
46,601
cc
C++
cartographer/mapping/internal/2d/pose_graph_2d.cc
zhaozhi1995/cartographer
a9d4be9f46d5fad898dc0ceeea08bd985a57f0e6
[ "Apache-2.0" ]
12
2020-11-24T03:46:44.000Z
2022-03-07T07:35:24.000Z
cartographer/mapping/internal/2d/pose_graph_2d.cc
rancheng/cartographer
a9d4be9f46d5fad898dc0ceeea08bd985a57f0e6
[ "Apache-2.0" ]
null
null
null
cartographer/mapping/internal/2d/pose_graph_2d.cc
rancheng/cartographer
a9d4be9f46d5fad898dc0ceeea08bd985a57f0e6
[ "Apache-2.0" ]
9
2021-01-13T08:58:47.000Z
2022-03-29T10:27:07.000Z
#include "cartographer/mapping/internal/2d/pose_graph_2d.h" #include <algorithm> #include <cmath> #include <cstdio> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <limits> #include <memory> #include <sstream> #include <string> #include "Eigen/Eigenvalues" #include "absl/memo...
38.135025
80
0.67078
[ "vector", "transform" ]
2366b1cd9dd3848291809e3f6cc6d794edd02cd1
21,564
cpp
C++
cameraRibbonExample/src/ofApp.cpp
preformIOstudios/preSENSE
63bc8d2d17a869a4e6158c24e912b12bd8c37198
[ "MIT" ]
null
null
null
cameraRibbonExample/src/ofApp.cpp
preformIOstudios/preSENSE
63bc8d2d17a869a4e6158c24e912b12bd8c37198
[ "MIT" ]
null
null
null
cameraRibbonExample/src/ofApp.cpp
preformIOstudios/preSENSE
63bc8d2d17a869a4e6158c24e912b12bd8c37198
[ "MIT" ]
null
null
null
/** * * OFDevCon Example Code Sprint * Camera Ribbon example * This example generates ribbons along the mouse trail that descend in space * When you click space bar, you can * * Created by James George for openFrameworks workshop at Waves Festival Vienna sponsored by Lichterloh and Pratersauna * Adapted during ...
34.228571
347
0.644825
[ "mesh", "object", "shape", "vector" ]
236d9d00e49ddfd7c0927808df18485245df0def
1,108
cpp
C++
main/src/json_config.cpp
tessmero/cpp-fractal
f6b8694da6d5e4ccd25d7c6153f3a90ee15b8875
[ "MIT" ]
null
null
null
main/src/json_config.cpp
tessmero/cpp-fractal
f6b8694da6d5e4ccd25d7c6153f3a90ee15b8875
[ "MIT" ]
null
null
null
main/src/json_config.cpp
tessmero/cpp-fractal
f6b8694da6d5e4ccd25d7c6153f3a90ee15b8875
[ "MIT" ]
null
null
null
#include "json_config.h" #include "shape.h" #include "json.hpp" #include <fstream> #include <string> using namespace std; using json = nlohmann::json; JsonConfig::JsonConfig( char* filename ) { m_filename = filename; ifstream(filename) >> m_json; } Shape JsonConfig::getRShape() { vector<float> ...
24.622222
64
0.644404
[ "shape", "vector" ]
236fb19aacd74fa114576968c2b2b8d64bf1e722
8,719
cc
C++
stanford2/cc/w3_dyn_pro.cc
zaqwes8811/cs-courses
aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2
[ "Apache-2.0" ]
null
null
null
stanford2/cc/w3_dyn_pro.cc
zaqwes8811/cs-courses
aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2
[ "Apache-2.0" ]
null
null
null
stanford2/cc/w3_dyn_pro.cc
zaqwes8811/cs-courses
aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2
[ "Apache-2.0" ]
null
null
null
// Knapsack: // - параллелизация не сильно помогла - в два раза только - хотя и вышло все просто // - похоже нужен другой алгоритм // // Если очень большой объем данных // - Рекурсивная реализация // - Использовать только 2 колонки - скорости это врядли прибавит // - Образать веса которых не может быть - как...
28.775578
105
0.614061
[ "vector" ]
23762aa2cd90c441dc21b3ae81ea663b67c5823c
739
cpp
C++
spec/cpp_stl_98/test_nav_parent_false.cpp
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
11
2018-04-01T03:58:15.000Z
2021-08-14T09:04:55.000Z
spec/cpp_stl_98/test_nav_parent_false.cpp
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
73
2016-07-20T10:27:15.000Z
2020-12-17T18:56:46.000Z
spec/cpp_stl_98/test_nav_parent_false.cpp
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
37
2016-08-15T08:25:56.000Z
2021-08-28T14:48:46.000Z
// Autogenerated from KST: please remove this line if doing any edits by hand! #include <boost/test/unit_test.hpp> #include "nav_parent_false.h" #include <iostream> #include <fstream> #include <vector> BOOST_AUTO_TEST_CASE(test_nav_parent_false) { std::ifstream ifs("src/nav_parent_codes.bin", std::ifstream::binar...
33.590909
85
0.688769
[ "vector" ]
2376f39bdfbdee36c0ba65589729796de12732e4
5,700
cpp
C++
src/libs/transaction_common/TransactionProtoHelper.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
1
2020-03-04T10:38:00.000Z
2020-03-04T10:38:00.000Z
src/libs/transaction_common/TransactionProtoHelper.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
null
null
null
src/libs/transaction_common/TransactionProtoHelper.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
1
2020-03-04T10:38:01.000Z
2020-03-04T10:38:01.000Z
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: TransactionProtoHelper.cpp * Author: ubuntu * * Created on March 19, 2018, 7:59 AM */ #include "keto/transaction_...
40.140845
106
0.737895
[ "vector" ]
237e4e49a05a369e9feebb1c557ea12ea5ae6e5a
3,864
cc
C++
ui/base/ime/win/tsf_input_scope_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ui/base/ime/win/tsf_input_scope_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ui/base/ime/win/tsf_input_scope_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/ime/win/tsf_input_scope.h" #include <InputScope.h> #include <stddef.h> #include "testing/gtest/include/gtest/gtest.h" namespace ui { ...
35.777778
80
0.736542
[ "vector" ]
238d7d35a469bf5f0bd8918cb759ff16ff6a59a8
23,933
cpp
C++
src/DewDropPlayer/UI/DewDiscSelector.cpp
kineticpsychology/Dew-Drop-Project
1704ac491395800c0b1e54d1d0fd761fc5a71296
[ "0BSD" ]
null
null
null
src/DewDropPlayer/UI/DewDiscSelector.cpp
kineticpsychology/Dew-Drop-Project
1704ac491395800c0b1e54d1d0fd761fc5a71296
[ "0BSD" ]
null
null
null
src/DewDropPlayer/UI/DewDiscSelector.cpp
kineticpsychology/Dew-Drop-Project
1704ac491395800c0b1e54d1d0fd761fc5a71296
[ "0BSD" ]
null
null
null
/******************************************************************************* * * * COPYRIGHT (C) Aug, 2020 | Polash Majumdar * * ...
38.789303
159
0.603685
[ "model" ]
238f816054322494a59bd6fc530422f1e65351e3
1,574
cc
C++
UnitTest/Cards/CardTests.cc
estela19/Poker
3af90696488f0782992c89c89d257cb70451ed49
[ "MIT" ]
null
null
null
UnitTest/Cards/CardTests.cc
estela19/Poker
3af90696488f0782992c89c89d257cb70451ed49
[ "MIT" ]
9
2019-11-04T12:14:33.000Z
2019-11-27T08:13:20.000Z
UnitTest/Cards/CardTests.cc
estela19/Poker
3af90696488f0782992c89c89d257cb70451ed49
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <Poker/Cards/Card.h> using namespace Poker; TEST(CardTests, Operator) { Card c1(CardShape::CLOVER, CardNumber::SEVEN), c2(CardShape::HEART, CardNumber::SIX), c3(CardShape::CLOVER, CardNumber::SIX), c4(CardShape::CLOVER, CardNumber::ACE), ...
25.803279
51
0.58831
[ "shape" ]
23a2e07341cde9ceac20c53ead5933db46006bbb
50,166
hh
C++
benchmark/DB_uindex.hh
dimstamat/sto-hybrid-oltp-olap
a13e1eaef419c21326832c6f7dbebbdc33204b60
[ "MIT" ]
null
null
null
benchmark/DB_uindex.hh
dimstamat/sto-hybrid-oltp-olap
a13e1eaef419c21326832c6f7dbebbdc33204b60
[ "MIT" ]
null
null
null
benchmark/DB_uindex.hh
dimstamat/sto-hybrid-oltp-olap
a13e1eaef419c21326832c6f7dbebbdc33204b60
[ "MIT" ]
null
null
null
#pragma once class logset_base; template <int N_TBLS> class logset_tbl; extern logset_base* logs; #ifndef LOG_NTABLES // should be defined in TPCC_bench.hh #define LOG_NTABLES 0 #endif namespace bench { // unordered index implemented as hashtable template <typename K, typename V, typename DBParams, short LOG=0> cla...
37.521316
269
0.576825
[ "vector" ]
23a78175fcbb91c0d16951a941d3267e642db8ce
13,830
cpp
C++
simulatorCore/src/network.cpp
egartner/Multi-robots
025cc9e0426b9880ae2084d8e1ce8c275cb5f106
[ "Apache-2.0" ]
1
2016-12-22T08:06:26.000Z
2016-12-22T08:06:26.000Z
simulatorCore/src/network.cpp
egartner/Multi-robots
025cc9e0426b9880ae2084d8e1ce8c275cb5f106
[ "Apache-2.0" ]
null
null
null
simulatorCore/src/network.cpp
egartner/Multi-robots
025cc9e0426b9880ae2084d8e1ce8c275cb5f106
[ "Apache-2.0" ]
null
null
null
/* * network.cpp * * Created on: 24 mars 2013 * Author: dom */ #include <iostream> #include <sstream> #include <cmath> #include <random> #include "scheduler.h" #include "network.h" #include "trace.h" #include "statsIndividual.h" #include "utils.h" #include "world.h" #define SHADOWING_EXPONENT 2 #define SH...
34.064039
168
0.668185
[ "model" ]
23ae70e5c5e74532e3d2c1f66a68297381881df7
6,039
hpp
C++
include/tree.hpp
davidallendj/ez_paint
c45ff17dec1e17b68e02afb7acae335093c79106
[ "MIT" ]
null
null
null
include/tree.hpp
davidallendj/ez_paint
c45ff17dec1e17b68e02afb7acae335093c79106
[ "MIT" ]
null
null
null
include/tree.hpp
davidallendj/ez_paint
c45ff17dec1e17b68e02afb7acae335093c79106
[ "MIT" ]
null
null
null
#ifndef FU_TREE_HPP #define FU_TREE_HPP #include "config.hpp" #include "collision.hpp" #include "utils.hpp" #include <array> #include <iterator> #include <type_traits> #include <vector> #include <math.h> #include <SFML/Config.hpp> #include <SFML/Graphics/CircleShape.hpp> #include <SFML/Graphics/Rect.hpp> #include <...
22.449814
91
0.665011
[ "shape", "vector" ]
23c0e74b514c6f749660ea494adb0ecf2da08226
1,677
cpp
C++
Dynamic Programming/Minimum_SubsetSum_Difference_DP.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
Dynamic Programming/Minimum_SubsetSum_Difference_DP.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
Dynamic Programming/Minimum_SubsetSum_Difference_DP.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; void subsetSum(vector<int>& arr,int range,int n){ vector<vector<bool>> t; for(int i=0;i<n+1;++i){ vector<bool> temp; for(int j=0;j<range+1;++j){ if(j==0 || (j==0&&i==0)){ temp.push_back(true); } el...
22.662162
66
0.416816
[ "vector" ]
23d0254b2d501aff393f3f7eada307df3fa2ef56
828
hpp
C++
test/unit/test.hpp
rymut/mexcppclass
a6a1873a4c4d4f588490d3dc070cb7500fb82214
[ "ECL-2.0", "Apache-2.0" ]
1
2019-07-28T23:59:48.000Z
2019-07-28T23:59:48.000Z
test/unit/test.hpp
rymut/mexcppclass
a6a1873a4c4d4f588490d3dc070cb7500fb82214
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/unit/test.hpp
rymut/mexcppclass
a6a1873a4c4d4f588490d3dc070cb7500fb82214
[ "ECL-2.0", "Apache-2.0" ]
3
2017-08-25T03:02:36.000Z
2020-04-08T17:02:42.000Z
/// Copyright (C) 2017 by Boguslaw Rymut /// /// This file is distributed under the Apache 2.0 License /// See LICENSE for details. #ifndef MEXCPPCLASS_TEST_UNIT_TEST_HPP_ #define MEXCPPCLASS_TEST_UNIT_TEST_HPP_ namespace mexcppclass { namespace test { namespace unit { class Test { public: Test(); ...
20.7
58
0.684783
[ "object" ]
23d5759022e8788be091176182a4303f03274f0a
699
cpp
C++
src/examples/executor/post_2.cpp
jjzhang166/executors
9b42e193b27cc5c3308dd3bc4e52712c2e442c4b
[ "BSL-1.0" ]
406
2015-01-19T06:35:42.000Z
2022-03-30T04:38:12.000Z
src/examples/executor/post_2.cpp
rongming-lu/executors
9b42e193b27cc5c3308dd3bc4e52712c2e442c4b
[ "BSL-1.0" ]
1
2018-06-13T03:17:24.000Z
2019-03-05T20:09:47.000Z
src/examples/executor/post_2.cpp
rongming-lu/executors
9b42e193b27cc5c3308dd3bc4e52712c2e442c4b
[ "BSL-1.0" ]
66
2015-01-22T09:01:17.000Z
2022-03-30T04:38:13.000Z
#include <cstdlib> #include <experimental/executor> #include <experimental/thread_pool> #include <iostream> #include <thread> using std::experimental::post; using std::experimental::thread_pool; struct work { }; void do_something(const work&) { std::this_thread::sleep_for(std::chrono::milliseconds(100)); } int ma...
17.04878
67
0.638054
[ "vector" ]
23e5cd568cab63819f1db826a87cccda3df91e1b
4,067
cc
C++
cc_code/src/hmm/step/peptide-emission.cc
erisyon/whatprot
176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c
[ "MIT" ]
null
null
null
cc_code/src/hmm/step/peptide-emission.cc
erisyon/whatprot
176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c
[ "MIT" ]
1
2021-06-12T00:50:08.000Z
2021-06-15T17:59:12.000Z
cc_code/src/hmm/step/peptide-emission.cc
erisyon/whatprot
176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c
[ "MIT" ]
1
2021-06-11T19:34:43.000Z
2021-06-11T19:34:43.000Z
/******************************************************************************\ * Author: Matthew Beauregard Smith * * Affiliation: The University of Texas at Austin * * Department: Oden Institute and Institute for Cellular and Molecular Biology...
38.367925
80
0.537743
[ "vector", "model" ]
23e953f169fb0da08dac2e1ce7316e41c94fc7a6
2,105
inl
C++
src/python/cupoch_pybind/dl_converter.inl
collector-m/cupoch
1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1
[ "MIT" ]
522
2020-01-19T05:59:00.000Z
2022-03-25T04:36:52.000Z
src/python/cupoch_pybind/dl_converter.inl
collector-m/cupoch
1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1
[ "MIT" ]
87
2020-02-23T09:56:48.000Z
2022-03-25T13:35:15.000Z
src/python/cupoch_pybind/dl_converter.inl
collector-m/cupoch
1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1
[ "MIT" ]
74
2020-01-27T15:33:30.000Z
2022-03-27T11:58:22.000Z
/** * Copyright (c) 2020 Neka-Nat * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, dis...
37.589286
87
0.703088
[ "object" ]
23ed8f89bb3b73d67f10394fba86088de529381f
7,948
cpp
C++
source/compiler1/tests/cpp_tests_launcher.cpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
45
2016-06-21T22:28:43.000Z
2022-03-26T12:21:46.000Z
source/compiler1/tests/cpp_tests_launcher.cpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
6
2020-07-12T18:00:10.000Z
2021-11-30T11:20:14.000Z
source/compiler1/tests/cpp_tests_launcher.cpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
5
2019-09-03T17:20:34.000Z
2022-01-30T15:10:21.000Z
#include <iostream> #include <unordered_set> #include "../../code_builder_lib_common/push_disable_llvm_warnings.hpp" #include <llvm/Support/InitLLVM.h> #include <llvm/Support/ManagedStatic.h> #include <llvm/Support/raw_os_ostream.h> #include "../../code_builder_lib_common/pop_llvm_warnings.hpp" #include "../../tests/...
27.985915
138
0.739809
[ "vector" ]