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
5a63d37b4f09e2cc098e90c17ad9318dc2243d39
2,226
cpp
C++
src/arcstorage-ui/moc_draggableqtreewidget.cpp
Teemperor/arc-gui-clients
f9fa8396ac03eae3090f597d77766e3b00a44b31
[ "Apache-2.0" ]
null
null
null
src/arcstorage-ui/moc_draggableqtreewidget.cpp
Teemperor/arc-gui-clients
f9fa8396ac03eae3090f597d77766e3b00a44b31
[ "Apache-2.0" ]
null
null
null
src/arcstorage-ui/moc_draggableqtreewidget.cpp
Teemperor/arc-gui-clients
f9fa8396ac03eae3090f597d77766e3b00a44b31
[ "Apache-2.0" ]
1
2022-03-24T10:11:37.000Z
2022-03-24T10:11:37.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'draggableqtreewidget.h' ** ** Created: Mon May 9 11:49:25 2011 ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.2) ** ** WARNING! All changes made in this file will be lost! ***************...
31.8
91
0.6469
[ "object" ]
5a714ef24725383c650c7e158ff322755611cc3c
725
cpp
C++
EU4toV2/Source/Mappers/ColonialFlags/ColonialFlag.cpp
GregB76/EU4toVic2
0a8822101a36a16036fdc315e706d113d9231101
[ "MIT" ]
1
2020-10-03T16:01:28.000Z
2020-10-03T16:01:28.000Z
EU4toV2/Source/Mappers/ColonialFlags/ColonialFlag.cpp
P4blo7/EU4toVic2
3f6d354a1f5e529f3d96b3616fe5109bc23f2972
[ "MIT" ]
null
null
null
EU4toV2/Source/Mappers/ColonialFlags/ColonialFlag.cpp
P4blo7/EU4toVic2
3f6d354a1f5e529f3d96b3616fe5109bc23f2972
[ "MIT" ]
null
null
null
#include "ColonialFlag.h" #include "Log.h" #include "ParserHelpers.h" #include "OSCompatibilityLayer.h" mappers::ColonialFlag::ColonialFlag(std::istream& theStream, const std::string& region) { registerKeyword("name", [this](const std::string& unused, std::istream& theStream) { const commonItems::singleString na...
29
87
0.708966
[ "transform" ]
5a75529b17d6883a224be9955bf35ed5a810d788
2,118
cpp
C++
devmand/gateway/src/devmand/devices/cli/translation/GrpcListReader.cpp
gurrapualt/magma
13e05788fa6c40293a58b6e03cfb394bb79fa98f
[ "BSD-3-Clause" ]
2
2020-12-09T11:42:30.000Z
2021-09-26T03:28:33.000Z
devmand/gateway/src/devmand/devices/cli/translation/GrpcListReader.cpp
gurrapualt/magma
13e05788fa6c40293a58b6e03cfb394bb79fa98f
[ "BSD-3-Clause" ]
124
2020-08-21T06:11:21.000Z
2022-03-21T05:25:26.000Z
devmand/gateway/src/devmand/devices/cli/translation/GrpcListReader.cpp
yogi8091/magma
edc3b249068ad871047e898c912f3228ee9f2c88
[ "BSD-3-Clause" ]
1
2020-09-21T04:25:06.000Z
2020-09-21T04:25:06.000Z
/* Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR...
32.584615
78
0.689802
[ "vector" ]
5a7f184632d2776207f1cf84114140dceb054900
2,781
cc
C++
RecoTracker/MkFitCore/src/radix_sort.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
null
null
null
RecoTracker/MkFitCore/src/radix_sort.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
null
null
null
RecoTracker/MkFitCore/src/radix_sort.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
null
null
null
#include "RecoTracker/MkFitCore/interface/radix_sort.h" #include <array> #include <numeric> namespace mkfit { // --- Driver function template <typename V, typename R> void radix_sort<V, R>::sort(const std::vector<V>& values, std::vector<R>& ranks) { if (values.empty()) { ranks.clear(); return;...
30.9
106
0.581446
[ "vector" ]
5a82033851910f74b39cc863cc9165ea72e88718
12,398
cpp
C++
src/test_application/activescenes/scenarios_enginetest.cpp
larrymason01/osp-magnum
2a408428799d32b54901015a7f142104070d1cbb
[ "MIT" ]
null
null
null
src/test_application/activescenes/scenarios_enginetest.cpp
larrymason01/osp-magnum
2a408428799d32b54901015a7f142104070d1cbb
[ "MIT" ]
null
null
null
src/test_application/activescenes/scenarios_enginetest.cpp
larrymason01/osp-magnum
2a408428799d32b54901015a7f142104070d1cbb
[ "MIT" ]
null
null
null
/** * Open Space Program * Copyright © 2019-2021 Open Space Program Project * * MIT License * * 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 li...
35.422857
117
0.703743
[ "mesh", "render", "transform" ]
5a86f7848a2dfdd4182dbb136ce4cd1b50ced6a0
2,175
cc
C++
src/attributes/YDateCoordinateWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/YDateCoordinateWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/YDateCoordinateWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
22.65625
115
0.707586
[ "object" ]
5a92e0e8e500c8876429ddd6dd3d0b6e1820b3eb
3,555
hpp
C++
tools/Vitis-AI-Library/centerpoint/src/preprocess.hpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tools/Vitis-AI-Library/centerpoint/src/preprocess.hpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tools/Vitis-AI-Library/centerpoint/src/preprocess.hpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
30.127119
116
0.663291
[ "shape", "vector" ]
5aa052acfd7f8d69b079ebee34ea878ecccf0db0
1,601
cpp
C++
JammaLib/src/utils/ImageUtils.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
JammaLib/src/utils/ImageUtils.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
JammaLib/src/utils/ImageUtils.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
#include "ImageUtils.h" using namespace utils; std::optional<std::tuple<std::vector<unsigned char>, unsigned int, unsigned int>> ImageUtils::LoadTga(const std::string& fileName) { FILE* file; auto res = fopen_s(&file, fileName.c_str(), "rb"); if (!file) return std::nullopt; // Read the header of the TGA, comp...
23.544118
130
0.609619
[ "vector" ]
5aacb68fd2240a2ee80429088e64d1c6c19c8059
12,842
cpp
C++
development/C++/samples/server/DemoServer/Function.cpp
Movares/OPC-Classic-SDK
65e022dd4ccf20bbdacdfc49cac23bd99d773b98
[ "MIT" ]
19
2021-05-19T11:03:57.000Z
2022-03-18T06:53:48.000Z
development/C++/samples/server/DemoServer/Function.cpp
Movares/OPC-Classic-SDK
65e022dd4ccf20bbdacdfc49cac23bd99d773b98
[ "MIT" ]
8
2021-04-26T10:47:20.000Z
2022-03-15T11:25:07.000Z
development/C++/samples/server/DemoServer/Function.cpp
Movares/OPC-Classic-SDK
65e022dd4ccf20bbdacdfc49cac23bd99d773b98
[ "MIT" ]
11
2021-05-28T06:35:20.000Z
2022-03-31T14:07:25.000Z
#include "stdafx.h" #include "Function.h" #include "OpcServer.h" #include "EUEngineeringUnits.h" #include <math.h> extern unsigned long CAT_ID_DA_WRITE_SIMPLE; extern unsigned long CAT_ID_DA_WRITE_TRACKING; void VariableProperty::createAngle(DemoDaAddressSpaceElement* pElement, tstring name, tst...
20.915309
89
0.719826
[ "vector" ]
5aae9690e7ff5502edb110d5445011434b62f0a4
1,615
cpp
C++
ThreadPool.cpp
xinan/ParallelWebCrawler
0c582b3bff1f22f7d05889e4723f3814a4099a39
[ "MIT" ]
7
2016-10-05T04:37:58.000Z
2021-11-29T10:35:52.000Z
ThreadPool.cpp
xinan/ParallelWebCrawler
0c582b3bff1f22f7d05889e4723f3814a4099a39
[ "MIT" ]
null
null
null
ThreadPool.cpp
xinan/ParallelWebCrawler
0c582b3bff1f22f7d05889e4723f3814a4099a39
[ "MIT" ]
null
null
null
// // Created by Liu Xinan on 24/9/16. // // Modified from https://github.com/progschj/ThreadPool/ // #include "ThreadPool.h" ThreadPool::ThreadPool(size_t number_of_threads) { auto worker_thread = [this] { std::function<void()> task; while (true) { { // Acquire lock. ...
23.405797
104
0.531889
[ "vector" ]
5ab9ce1950001cb319c888bdfa14df946de43039
2,233
cpp
C++
Protocol/Tests/ImportParserScenarios.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
8
2018-10-29T02:42:52.000Z
2021-02-04T17:37:14.000Z
Protocol/Tests/ImportParserScenarios.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
null
null
null
Protocol/Tests/ImportParserScenarios.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
1
2019-11-07T02:18:23.000Z
2019-11-07T02:18:23.000Z
// // ImportParserScenarios.cpp // TUCUT // // Created by Wahid Tanner on 10/12/14. // Copyright © 2018 Take Up Code. All rights reserved. // #include <string> #include "../../Test/Test.h" #include "../ProtoParser.h" #include "../ImportParser.h" using namespace std; using namespace TUCUT; SCENARIO( ImportParse...
29
101
0.708912
[ "model" ]
5abb41064e4dccd2e414afe0780e461ed9f4450b
673
cpp
C++
usaco/2020/december/silver/cowntagion.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
null
null
null
usaco/2020/december/silver/cowntagion.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
null
null
null
usaco/2020/december/silver/cowntagion.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
1
2020-10-25T05:46:57.000Z
2020-10-25T05:46:57.000Z
// solved #include <iostream> #include <vector> #include <math.h> using namespace std; const int MAXN = 1e5 + 5; vector<int> adj[MAXN]; bool vis[MAXN]; int deg[MAXN]; int total_dist = 0; void dfs(int u) { vis[u] = 1; if (deg[u] == 1) return; total_dist += ceil(log2(deg[u])); for (int v : adj[u]) { ...
12.017857
35
0.488856
[ "vector" ]
5aca83c9470494b7b401133fd0a08cefae3e92b5
6,551
cpp
C++
Cpp/add_label/src/main.cpp
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
Cpp/add_label/src/main.cpp
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
Cpp/add_label/src/main.cpp
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
/* using nearest point to add missing labels */ #include <iostream> #define PCL_NO_PRECOMPILE #include <pcl/pcl_macros.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/io/pcd_io.h> #include <pcl/kdtree/kdtree_flann.h> #include "DtcMainHelper.hpp" struct MyPointType{ PCL_ADD_POINT...
34.298429
163
0.557777
[ "vector" ]
62c3714806796d650a575e086ffaa0d64fcb42bc
34,054
cxx
C++
SimVascular-master/Code/Source/sv4gui/Modules/Segmentation/sv4gui_ContourGroupDataInteractor.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
SimVascular-master/Code/Source/sv4gui/Modules/Segmentation/sv4gui_ContourGroupDataInteractor.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
SimVascular-master/Code/Source/sv4gui/Modules/Segmentation/sv4gui_ContourGroupDataInteractor.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) Stanford University, The Regents of the University of * California, and others. * * All Rights Reserved. * * See Copyright-SimVascular.txt for additional details. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated doc...
33.386275
171
0.68638
[ "vector" ]
62cffe01aeb114edccc4f3d58b7aec4136283535
24,799
cpp
C++
source/lowlevel/brsimplearray.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
115
2015-01-18T17:29:30.000Z
2022-01-30T04:31:48.000Z
source/lowlevel/brsimplearray.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-22T04:53:38.000Z
2015-01-31T13:52:40.000Z
source/lowlevel/brsimplearray.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-23T20:06:46.000Z
2020-05-20T16:06:00.000Z
/*************************************** intrinsic<T> compatible array template Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com> It is released under an MIT Open Source license. Please see LICENSE for license details. Yes, you can use it in a commercial title without paying ...
28.735805
112
0.631356
[ "object", "vector" ]
62d19f2c994f9f61e36e5609567a50ed0c92eb3a
14,718
cpp
C++
src/stringtrie.cpp
lcsfrey/Data_Structures
2fd97e1d93cb7fe61a761b032a06b9828c84e394
[ "MIT" ]
null
null
null
src/stringtrie.cpp
lcsfrey/Data_Structures
2fd97e1d93cb7fe61a761b032a06b9828c84e394
[ "MIT" ]
null
null
null
src/stringtrie.cpp
lcsfrey/Data_Structures
2fd97e1d93cb7fe61a761b032a06b9828c84e394
[ "MIT" ]
null
null
null
/************************************************************************************ ** ** ** MIT License ** ** ...
35.810219
109
0.642547
[ "vector" ]
62d58db31175aec84e31d8a23b2f91111e36201a
1,838
hpp
C++
modules/viewer/src/Viewer/gmSubListManager.hpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/viewer/src/Viewer/gmSubListManager.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/viewer/src/Viewer/gmSubListManager.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#pragma once #include "gmViewItemBase.hpp" #include "gmViewerExport.hpp" #include <mitkDataStorage.h> #include <QQuickItem> namespace gm { namespace ViewItem { class DataStorageListModel; class GM_VIEWER_EXPORT SubListManager: public ViewItemBase { Q_OBJECT Q_...
30.131148
100
0.54407
[ "model" ]
62dead32c0cfe53d716343c7bf6723a0c6a0f8a9
749
cpp
C++
gamelib/src/renderdevice.cpp
mateun/game_engine_glfw
2e1b6e7cda7f8aa161d9ebbc8a8a0c6e6560f1c1
[ "MIT" ]
null
null
null
gamelib/src/renderdevice.cpp
mateun/game_engine_glfw
2e1b6e7cda7f8aa161d9ebbc8a8a0c6e6560f1c1
[ "MIT" ]
null
null
null
gamelib/src/renderdevice.cpp
mateun/game_engine_glfw
2e1b6e7cda7f8aa161d9ebbc8a8a0c6e6560f1c1
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "renderdevice.h" #include "rendercommand.h" #include "GL/glew.h" RenderDevice::RenderDevice() { glEnable(GL_CULL_FACE); glEnable(GL_DEPTH_TEST); } void RenderDevice::addRenderCommand(std::shared_ptr<RenderCommand> renderCommand) { _renderCommands.push_back(std::move(renderCommand)); } ...
20.243243
83
0.723632
[ "render" ]
62e02d1c25823055d606e19881c40ee1358bdd6b
859
hpp
C++
source/SdlManager.hpp
MatthewScholefield/sentempa
d4b7376e73cbe9e2127d3ba6b61bfbb861ea32b1
[ "MIT" ]
null
null
null
source/SdlManager.hpp
MatthewScholefield/sentempa
d4b7376e73cbe9e2127d3ba6b61bfbb861ea32b1
[ "MIT" ]
null
null
null
source/SdlManager.hpp
MatthewScholefield/sentempa
d4b7376e73cbe9e2127d3ba6b61bfbb861ea32b1
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <functional> #include <SDL2/SDL.h> #include "Vec.hpp" #include "types.hpp" class SdlManager { public: SdlManager() = delete; using KeyChangeFunc = std::function<void(const SDL_Keycode, cbool keyDown)>; using ResizeFunc = std::function<void(cint, cint)>; static ...
24.542857
80
0.705471
[ "vector" ]
62ea5115f1b0d1d580f1b5ae2c8d1c55892f4dec
11,153
cpp
C++
SightPlusPlus_CMake/src/ml_lib/inference_controller.cpp
patryk-wloch/RealSense-OpenVINO-ObjectRecognition-Tracking
a7b3f21a36f080e447c7ffa7f253dd05810f37ea
[ "Apache-2.0" ]
2
2021-08-20T18:32:32.000Z
2022-03-19T12:01:35.000Z
SightPlusPlus_CMake/src/ml_lib/inference_controller.cpp
patryk-wloch/SightPlusPlus-ComputerVision
a7b3f21a36f080e447c7ffa7f253dd05810f37ea
[ "Apache-2.0" ]
null
null
null
SightPlusPlus_CMake/src/ml_lib/inference_controller.cpp
patryk-wloch/SightPlusPlus-ComputerVision
a7b3f21a36f080e447c7ffa7f253dd05810f37ea
[ "Apache-2.0" ]
null
null
null
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2021 Sight++. All Rights Reserved. // The OpenVINO interface in this file has been loosely inspired by some of the public OpenVINO code samples, // e.g., https://github.com/IntelRealSense/librealsense/tree/master/wrappers/openvino // or http...
37.552189
157
0.72949
[ "object", "vector" ]
62eb04eb83e2c1bd0dafbb4106694855f5898c36
5,971
cpp
C++
example/fixed_point_bare_metal_derivative_example.cpp
BoostGSoC15/fixed-point
d71b4a622ded821a2429d8d857097441c2a10246
[ "BSL-1.0" ]
null
null
null
example/fixed_point_bare_metal_derivative_example.cpp
BoostGSoC15/fixed-point
d71b4a622ded821a2429d8d857097441c2a10246
[ "BSL-1.0" ]
null
null
null
example/fixed_point_bare_metal_derivative_example.cpp
BoostGSoC15/fixed-point
d71b4a622ded821a2429d8d857097441c2a10246
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Copyright Christopher Kormanyos 2015 - 2016. // Copyright Paul A. Bristow 2015 - 2016. // Distributed under the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/L...
36.631902
124
0.638587
[ "object" ]
62f188377237ada5e060683ff4aa2d9a136afaf8
21,253
cpp
C++
src/resources.cpp
cewbost/dlrts
89a89f71a523adb9db2c9937337ddd7fc54d34ba
[ "MIT" ]
null
null
null
src/resources.cpp
cewbost/dlrts
89a89f71a523adb9db2c9937337ddd7fc54d34ba
[ "MIT" ]
null
null
null
src/resources.cpp
cewbost/dlrts
89a89f71a523adb9db2c9937337ddd7fc54d34ba
[ "MIT" ]
null
null
null
#define RESOURCES_CPP #include <horde3d.h> #include <cstdio> #include <cstring> #include <cmath> #include <cassert> #include <memory> #include "mathutils.h" #include "app.h" #include "interface.h" #include "entities.h" #include "resources.h" namespace Resources { ///procedural generation f...
23.329308
79
0.461205
[ "geometry", "vector" ]
62fd39eff22e58989f3c88152391dec2441eeb0c
11,481
cpp
C++
Source/Composer/Widgets/MainWindow.cpp
dmsovetov/Dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
11
2016-02-18T15:24:49.000Z
2021-01-30T18:26:04.000Z
Source/Composer/Widgets/MainWindow.cpp
dmsovetov/dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
2
2016-05-23T22:48:35.000Z
2017-02-13T16:43:32.000Z
Source/Composer/Widgets/MainWindow.cpp
dmsovetov/dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
3
2016-08-19T13:26:59.000Z
2018-08-03T04:28:14.000Z
/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
29.065823
172
0.672764
[ "object" ]
1a0969b4fb495d761d9912091b16a4fb3fe7e0f9
548
cpp
C++
sycl/test/basic_tests/buffer/buffer_for_not_device_copyable.cpp
yuriykoch/llvm
c4ce4f0feb46ec7dd4235fa2709609be06fb2153
[ "Apache-2.0" ]
null
null
null
sycl/test/basic_tests/buffer/buffer_for_not_device_copyable.cpp
yuriykoch/llvm
c4ce4f0feb46ec7dd4235fa2709609be06fb2153
[ "Apache-2.0" ]
4
2019-07-05T08:41:19.000Z
2019-12-13T02:25:06.000Z
sycl/test/basic_tests/buffer/buffer_for_not_device_copyable.cpp
yuriykoch/llvm
c4ce4f0feb46ec7dd4235fa2709609be06fb2153
[ "Apache-2.0" ]
1
2019-07-05T08:33:16.000Z
2019-07-05T08:33:16.000Z
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s -Xclang -verify-ignore-unexpected=note,warning #include <string> #include <sycl/sycl.hpp> using namespace sycl; int main() { static_assert(is_device_copyable_v<int>); std::vector<int> iv(5, 1); buffer b1(iv.data(), range<1>(5)); static_assert(!is_devi...
27.4
103
0.678832
[ "vector" ]
1a0c03379888bc115e1edbaf6e721c511b327200
13,360
cpp
C++
reactor.cpp
Vitorbnc/VVERSimulator
10be76f7daa32abcb003f92e7fec0eede2ee1eb1
[ "Apache-2.0" ]
12
2020-09-10T06:21:34.000Z
2021-10-19T04:35:23.000Z
reactor.cpp
Vitorbnc/VVERSimulator
10be76f7daa32abcb003f92e7fec0eede2ee1eb1
[ "Apache-2.0" ]
null
null
null
reactor.cpp
Vitorbnc/VVERSimulator
10be76f7daa32abcb003f92e7fec0eede2ee1eb1
[ "Apache-2.0" ]
3
2020-11-04T10:34:15.000Z
2021-06-21T10:26:04.000Z
#include "reactor.h" #include "iostream" #include <chrono> #include <cmath> using namespace std; //Imprimir ou saídas de depuração #define REACTOR_DEBUG false //Reactor::Reactor(pareters p,Inputs i ,Outputs o,Disturbances d,States s, double samplingTime) // :par(p),in(i),out(o),dist(d),vars(s),Ts(...
36.40327
192
0.610704
[ "vector" ]
1a14d18e81ba725be6201ffaecdea0f74b1a1bee
6,036
cpp
C++
server/DataBase.cpp
matteovol/async-server-boost
1e850037603a65b21e4857d3d059e3a02b23b551
[ "MIT" ]
1
2019-10-13T16:56:06.000Z
2019-10-13T16:56:06.000Z
server/DataBase.cpp
matteovol/async-server-boost
1e850037603a65b21e4857d3d059e3a02b23b551
[ "MIT" ]
null
null
null
server/DataBase.cpp
matteovol/async-server-boost
1e850037603a65b21e4857d3d059e3a02b23b551
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2019 ** Babel ** File description: ** Database Object */ /// \file DataBase.cpp /// \author Matteo V. Arthur L. /// \brief DataBase implementation file #include "DataBase.hpp" /// \brief Constructor. /// Open (or create) the database. /// Throw a Babel::Exception if something went wrong with s...
39.97351
130
0.64662
[ "object", "vector", "transform" ]
1a1b52f84dbe318e24cb428cb9536491e60b44a1
2,834
cpp
C++
aws-cpp-sdk-glue/source/model/TaskType.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-glue/source/model/TaskType.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-glue/source/model/TaskType.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/glue/model/TaskType.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; namesp...
30.804348
108
0.61115
[ "model" ]
1a3126a6f6d483a0225ddad5f52f8aaed60fa70b
1,180
cpp
C++
Libraries/xcassets/Tests/test_FullyQualifiedName.cpp
djgalloway/xcbuild
936df10e59e5f5d531efca8bd48e445d88e78e0c
[ "BSD-2-Clause-NetBSD" ]
9
2018-04-30T23:18:27.000Z
2021-06-20T15:13:38.000Z
Libraries/xcassets/Tests/test_FullyQualifiedName.cpp
djgalloway/xcbuild
936df10e59e5f5d531efca8bd48e445d88e78e0c
[ "BSD-2-Clause-NetBSD" ]
null
null
null
Libraries/xcassets/Tests/test_FullyQualifiedName.cpp
djgalloway/xcbuild
936df10e59e5f5d531efca8bd48e445d88e78e0c
[ "BSD-2-Clause-NetBSD" ]
4
2018-10-10T19:44:17.000Z
2020-01-12T11:56:31.000Z
/** Copyright (c) 2015-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. */ #include <gtest/gtest....
32.777778
80
0.687288
[ "vector" ]
1a337959bd2a812d495f72103aeeba052c09263a
2,737
cpp
C++
src/do-re-mi.cpp
maximg/do-re-mi
fcac16f6e266d32d9f9b9fde11684cde34b355f4
[ "MIT" ]
null
null
null
src/do-re-mi.cpp
maximg/do-re-mi
fcac16f6e266d32d9f9b9fde11684cde34b355f4
[ "MIT" ]
null
null
null
src/do-re-mi.cpp
maximg/do-re-mi
fcac16f6e266d32d9f9b9fde11684cde34b355f4
[ "MIT" ]
null
null
null
// Copyright (C) M.Golov 2016 #include <iostream> #include <string> #include <functional> #include <typeinfo> template<typename T> struct TraceConstr { TraceConstr() { std::cout << ">>> " << typeid(T).name() << "\n"; } ~TraceConstr() { std::cout << "<<< " << typeid(T).name() << "\n"; } }; // Framework templa...
25.579439
93
0.669346
[ "transform" ]
1a3505f2c0870ef8ed30fe10a20b3352c94d2428
10,287
hpp
C++
src/formula_callable.hpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
src/formula_callable.hpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
src/formula_callable.hpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
/* Copyright (C) 2003-2014 by David White <davewx7@gmail.com> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, incl...
31.75
142
0.742588
[ "object", "vector" ]
1a37847b0cd17c6fde6dee6dcf23529f0cf116d7
2,420
cpp
C++
src/processor.cpp
alshakir/CppND-System-Monitor
f506cb2e19d17d69318def1dcc80d86f83d39e66
[ "MIT" ]
null
null
null
src/processor.cpp
alshakir/CppND-System-Monitor
f506cb2e19d17d69318def1dcc80d86f83d39e66
[ "MIT" ]
null
null
null
src/processor.cpp
alshakir/CppND-System-Monitor
f506cb2e19d17d69318def1dcc80d86f83d39e66
[ "MIT" ]
null
null
null
#include "processor.h" #include <iostream> #include "linux_parser.h" using namespace LinuxParser; using namespace std; using std::stod; using std::stof; // TODO: Return the aggregate CPU utilization float Processor::Utilization() { vector<string> f = LinuxParser::CpuUtilization(); std::stringstream s(f[0]); str...
32.702703
110
0.713223
[ "vector" ]
1a43b69be0bb02d4de540e6e5730776c80a89af1
1,491
cpp
C++
Algorithms/0382.LinkedListRandomNode/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0382.LinkedListRandomNode/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0382.LinkedListRandomNode/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <algorithm> #include <memory> #include <random> #include <vector> #include "ListNode.h" #include "ListNodeUtils.h" #include "gtest/gtest.h" using CommonLib::ListNode; namespace { class Solution { public: Solution(ListNode* head) : _generator(std::random_device()()) { while (head != nullptr...
22.253731
99
0.666667
[ "vector" ]
1a44eb97006ef3c8bed530b76f1303b85592d9c7
20,197
cpp
C++
display/GUI.cpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
18
2015-01-08T00:48:40.000Z
2022-01-12T15:04:04.000Z
display/GUI.cpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
null
null
null
display/GUI.cpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
3
2015-11-20T02:35:16.000Z
2018-03-25T20:14:55.000Z
#include "GUI.hpp" #include "../config.hpp" #include "../solver/FloatMatrix2D.hpp" #include "../solver/FluidSolver2D.hpp" #include "Leap.h" #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b)) GUI::GUI(QWidget *parent, QString name, Print *p, Config &configurationDatas, bool dr...
26.893475
103
0.609546
[ "geometry", "vector" ]
1a51bec40137f0a3b13bf2e16993eda095e12877
2,561
hpp
C++
naos/includes/kernel/mm/slab.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
14
2020-02-12T11:07:58.000Z
2022-02-02T00:05:08.000Z
naos/includes/kernel/mm/slab.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
null
null
null
naos/includes/kernel/mm/slab.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
4
2020-02-27T09:53:53.000Z
2021-11-07T17:43:44.000Z
#pragma once #include "../util/bit_set.hpp" #include "../util/hash_map.hpp" #include "../util/linked_list.hpp" #include "../util/str.hpp" #include "buddy.hpp" #include "common.hpp" #include "list_node_cache.hpp" #define NewSlabGroup(domain, struct, align, flags) ...
24.390476
120
0.664975
[ "object" ]
1a524c5e3d3fc5765165ac1d7d8b0d07e22934bf
4,051
cc
C++
packages/CudaUtils/test/tstHost_Vector.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
19
2015-06-04T09:02:41.000Z
2021-04-27T19:32:55.000Z
packages/CudaUtils/test/tstHost_Vector.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
null
null
null
packages/CudaUtils/test/tstHost_Vector.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
5
2016-10-05T20:48:28.000Z
2021-06-21T12:00:54.000Z
//----------------------------------*-C++-*----------------------------------// /*! * \file CudaUtils/test/tstHost_Vector.cc * \author Seth R Johnson * \date Mon Aug 12 10:29:26 2013 * \brief * \note Copyright (C) 2013 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //-----------------------------------...
30.458647
79
0.515181
[ "vector" ]
1a528256946b1b489ebcbb67c54a2230d083b52f
2,226
cpp
C++
src/main/algorithms/cpp/dynamic-programming/decode_ways_91/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/dynamic-programming/decode_ways_91/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/dynamic-programming/decode_ways_91/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
#include "../../head.h" class Solution { public: int numDecodings(std::string const & s) { // plagiarizing from https://www.youtube.com/watch?v=_kg-U4j0gQg // Boundary conditions if (s.empty() || '0' == s[0]) { return 0; } int const sSize = s.size(); std...
31.8
82
0.482031
[ "vector" ]
1a58da2e01d493e42428e58a4dca20b7a93d85d5
705
cpp
C++
Interpolation/Test.cpp
kai156277/NumericalAnalysis
0a84badb3247f23b7b2604a2e85cd15727e03c26
[ "MIT" ]
null
null
null
Interpolation/Test.cpp
kai156277/NumericalAnalysis
0a84badb3247f23b7b2604a2e85cd15727e03c26
[ "MIT" ]
null
null
null
Interpolation/Test.cpp
kai156277/NumericalAnalysis
0a84badb3247f23b7b2604a2e85cd15727e03c26
[ "MIT" ]
null
null
null
#include "Interpolation.h" #include "gtest/gtest.h" TEST(Interpolation, lagrange_1) { std::vector<double> xs = {-1, 0, 1, 2}; std::vector<double> ys = {-7, -4, 5, 26}; double fx = lagrange(xs, ys, 0.5); EXPECT_DOUBLE_EQ(fx, -0.625); } TEST(Interpolation, lagrange_2) { std::vector<double> xs = {0...
23.5
60
0.604255
[ "vector" ]
1a5fc7ff40b168d110a52a3198bd2069ba20fe70
8,039
cpp
C++
eip/src/v3/model/ShareBandwidthTypeShowResp.cpp
huaweicloud/huaweicloud-sdk-cpp-v3
d3b5e07b0ee8367d1c7f6dad17be0212166d959c
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
eip/src/v3/model/ShareBandwidthTypeShowResp.cpp
ChenwxJay/huaweicloud-sdk-cpp-v3
f821ec6d269b50203e0c1638571ee1349c503c41
[ "Apache-2.0" ]
null
null
null
eip/src/v3/model/ShareBandwidthTypeShowResp.cpp
ChenwxJay/huaweicloud-sdk-cpp-v3
f821ec6d269b50203e0c1638571ee1349c503c41
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/eip/v3/model/ShareBandwidthTypeShowResp.h" namespace HuaweiCloud { namespace Sdk { namespace Eip { namespace V3 { namespace Model { ShareBandwidthTypeShowResp::ShareBandwidthTypeShowResp() { id_ = ""; idIsSet_ = false; bandwidthType_ = ""; bandwidthTypeIsSet_ = false; pu...
24.584098
110
0.675457
[ "object", "model" ]
1a61329736dfb9585430b6db73724675d9a29ea5
2,840
cpp
C++
RabbitEngine/src/graphics/Shader.cpp
chasedig/RabbitEngine
e0d1613443713470741eee99631b518483504be6
[ "MIT" ]
4
2021-05-04T18:34:14.000Z
2021-05-05T18:09:56.000Z
RabbitEngine/src/graphics/Shader.cpp
chasedig/RabbitEngine
e0d1613443713470741eee99631b518483504be6
[ "MIT" ]
6
2021-05-05T17:47:15.000Z
2021-08-10T01:24:06.000Z
RabbitEngine/src/graphics/Shader.cpp
chasedig/RabbitEngine
e0d1613443713470741eee99631b518483504be6
[ "MIT" ]
1
2021-05-05T18:31:02.000Z
2021-05-05T18:31:02.000Z
#include "RBT/graphics/Shader.h" #include "glad/glad.h" #include <iostream> #include <fstream> #include <string> #include <vector> namespace RBT { const std::string SHADER_DIRECTORY_PATH = "shaders/"; const int INFO_LOG_BUFFER_SIZE = 2048; void createShader(std::string filename, int shaderId); std::string readShad...
25.132743
111
0.703521
[ "vector" ]
2b3a4a75d4f22948f4836cf1113063e54287dd07
1,748
cpp
C++
Code/Projects/Eldritch/src/Screens/uiscreen-eldcredits.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
Code/Projects/Eldritch/src/Screens/uiscreen-eldcredits.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
Code/Projects/Eldritch/src/Screens/uiscreen-eldcredits.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
#include "core.h" #include "uiscreen-eldcredits.h" #include "Widgets/uiwidget-text.h" #include "configmanager.h" #include "mesh.h" UIScreenEldCredits::UIScreenEldCredits() {} UIScreenEldCredits::~UIScreenEldCredits() {} /*virtual*/ UIScreen::ETickReturn UIScreenEldCredits::Tick(float DeltaTime, ...
34.27451
78
0.663616
[ "mesh" ]
2b4985672453f224239a32424174384f432cbb2e
5,399
cpp
C++
aegisub/src/subtitle_format_txt.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
1
2018-02-12T02:44:57.000Z
2018-02-12T02:44:57.000Z
aegisub/src/subtitle_format_txt.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
null
null
null
aegisub/src/subtitle_format_txt.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
2
2018-02-12T03:46:24.000Z
2018-02-12T14:36:07.000Z
// Copyright (c) 2006, Rodrigo Braz Monteiro // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list o...
32.524096
129
0.712169
[ "vector" ]
2b4cac3079deaeaec37b412a4d7f13ee0d8c854e
2,632
cpp
C++
src/lr/coefficients.cpp
leinkemmer/Ensign
0b0321b136ded776b4dc653aa692f131f6c25a24
[ "MIT" ]
3
2022-03-03T12:40:36.000Z
2022-03-29T20:18:04.000Z
src/lr/coefficients.cpp
leinkemmer/Ensign
0b0321b136ded776b4dc653aa692f131f6c25a24
[ "MIT" ]
null
null
null
src/lr/coefficients.cpp
leinkemmer/Ensign
0b0321b136ded776b4dc653aa692f131f6c25a24
[ "MIT" ]
null
null
null
#include <lr/coefficients.hpp> template<class T> void coeff(const multi_array<T,2>& a, const multi_array<T,2>& b, T w, multi_array<T,2>& out, const blas_ops& blas) { blas.matmul_transa(a,b,out); if(a.sl == stloc::host){ out *= w; }else{ #ifdef __CUDACC__ ptw_mult_scal<<<(out.num_elements()+n_threa...
43.866667
166
0.69035
[ "shape" ]
2b4e81af3acd616f8f5d7e3609093857a19f68b5
1,294
hh
C++
lib/spot-2.8.1/spot/kripke/fwd.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
1
2018-03-02T14:29:57.000Z
2018-03-02T14:29:57.000Z
lib/spot-2.8.1/spot/kripke/fwd.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/kripke/fwd.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
1
2015-06-05T12:42:07.000Z
2015-06-05T12:42:07.000Z
// -*- coding: utf-8 -*- // Copyright (C) 2014, 2016 Laboratoire de Recherche et Développement de // l'Epita (LRDE). // // This file is part of Spot, a model checking library. // // Spot is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by // th...
34.052632
75
0.755796
[ "model" ]
2b5b5f01fac3ea4d02e193c52855406612658086
1,635
cpp
C++
src/ThreadablesThreadObject.cpp
k2snowman69/threadily-sample-cpp
1b7f3dc36a8814f79383db84e31c799da8fc42e3
[ "MIT" ]
null
null
null
src/ThreadablesThreadObject.cpp
k2snowman69/threadily-sample-cpp
1b7f3dc36a8814f79383db84e31c799da8fc42e3
[ "MIT" ]
null
null
null
src/ThreadablesThreadObject.cpp
k2snowman69/threadily-sample-cpp
1b7f3dc36a8814f79383db84e31c799da8fc42e3
[ "MIT" ]
null
null
null
#include "ThreadablesThreadObject.h" #ifdef EMSCRIPTEN #include <ThreadObjectManager.h> #include <emscripten/bind.h> using namespace emscripten; #endif namespace threadily { namespace test { ThreadablesThreadObject::ThreadablesThreadObject(std::shared_ptr<IThreadObjectManager> objectManager, unsigned int threadI...
38.023256
158
0.788379
[ "vector" ]
2b5ff83de9046a2bc82bed1c6faf430c4b464879
4,478
hpp
C++
RobWork/src/rwlibs/simulation/FrameGrabber25D.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rwlibs/simulation/FrameGrabber25D.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rwlibs/simulation/FrameGrabber25D.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
32.686131
97
0.575257
[ "geometry", "vector" ]
2b66515f507b708b5be6e1f23405098435491ace
617
cpp
C++
C++/remove-interval.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/remove-interval.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/remove-interval.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n) // Space: O(1) class Solution { public: vector<vector<int>> removeInterval(vector<vector<int>>& intervals, vector<int>& toBeRemoved) { vector<vector<int>> result; for (const auto& interval : intervals) { vector<pair<int, int>> tmp = {{interval[0], min(toBeRemoved[0], inte...
30.85
98
0.470016
[ "vector" ]
2b67e79327dabe52e6d5432caeaf98fac57543a2
724
hpp
C++
pixel.hpp
RedByte0/RB-PIE
382ea44a6b1859f63399a4cc2d885ebc2cd01594
[ "Unlicense" ]
null
null
null
pixel.hpp
RedByte0/RB-PIE
382ea44a6b1859f63399a4cc2d885ebc2cd01594
[ "Unlicense" ]
null
null
null
pixel.hpp
RedByte0/RB-PIE
382ea44a6b1859f63399a4cc2d885ebc2cd01594
[ "Unlicense" ]
null
null
null
#ifndef PIXEL_HPP_ #define PIXEL_HPP_ #include <iostream> #include <vector> #include <numeric> //pie = ppm_image_editor namespace pie { class pixel { private: const int NUMBER_OF_COLOR_CHANNELS = 3; std::vector<int> rgb_; bool out_of_bounds(int channel) const; public: pixel(); pixel(const pix...
20.685714
50
0.665746
[ "vector" ]
2b6df0bd5f4a4ae377a37be6392ed89066efdc12
10,270
cpp
C++
MMOCoreORB/src/server/zone/objects/creature/VehicleObjectImplementation.cpp
Voxxy-Flurry/SWGFlurry
9aeb11251e8c8e4307b51ec048ce007ac02685ba
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/objects/creature/VehicleObjectImplementation.cpp
Voxxy-Flurry/SWGFlurry
9aeb11251e8c8e4307b51ec048ce007ac02685ba
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/objects/creature/VehicleObjectImplementation.cpp
Voxxy-Flurry/SWGFlurry
9aeb11251e8c8e4307b51ec048ce007ac02685ba
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* * VehicleObjectImplementation.cpp * * Created on: 10/04/2010 * Author: victor */ #include "server/zone/objects/creature/VehicleObject.h" #include "server/zone/packets/object/ObjectMenuResponse.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/objects/player/PlayerObject.h"...
34.695946
176
0.751996
[ "object" ]
2b6f3201defd260216368da7503404e0157d5484
3,555
hpp
C++
src/Mesh.hpp
liminchen/DOT
26525fba815fb081e90676321e42d0a60ecb0cb1
[ "MIT" ]
29
2019-11-27T00:43:07.000Z
2020-02-25T14:35:54.000Z
src/Mesh.hpp
liminchen/DOT
26525fba815fb081e90676321e42d0a60ecb0cb1
[ "MIT" ]
null
null
null
src/Mesh.hpp
liminchen/DOT
26525fba815fb081e90676321e42d0a60ecb0cb1
[ "MIT" ]
4
2019-11-27T05:19:03.000Z
2020-03-23T22:49:53.000Z
// // Mesh.hpp // DOT // // Created by Minchen Li on 8/30/17. // #ifndef Mesh_hpp #define Mesh_hpp #include <Eigen/Eigen> #include <igl/massmatrix.h> #include <set> #include <array> #include "Types.hpp" namespace DOT{ enum Primitive { P_GRID, P_SQUARE, P_RECTANGLE, ...
34.182692
109
0.602532
[ "mesh", "vector", "3d" ]
2b75166fc18ebbd9e88f6ed284a1ad47f3801135
8,941
cpp
C++
python/detectionAlgorithm/main.cpp
NunoDuarte/openCVdevelop
43204a903a3c96758332a86c7d6b10c285d6ed37
[ "MIT" ]
null
null
null
python/detectionAlgorithm/main.cpp
NunoDuarte/openCVdevelop
43204a903a3c96758332a86c7d6b10c285d6ed37
[ "MIT" ]
null
null
null
python/detectionAlgorithm/main.cpp
NunoDuarte/openCVdevelop
43204a903a3c96758332a86c7d6b10c285d6ed37
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <fstream> #include <thread> // std::thread #include <vector> #include <unistd.h> #include "lsl_cpp.h" #include "json.hpp" #include "yarp/os/all.h" //#define LSL_OT #define LSL_PL1 #define LSL_PL1YARP //#define LSL_PL2 using namespace std; using namespace yarp::o...
27.259146
147
0.587071
[ "vector" ]
2b8c8e077266c3c35da994c0765698601d37139b
2,804
hpp
C++
evias/tests/regularExpressions/boostRegex.hpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
1
2015-10-31T03:18:02.000Z
2015-10-31T03:18:02.000Z
evias/tests/regularExpressions/boostRegex.hpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
evias/tests/regularExpressions/boostRegex.hpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
#ifndef __EVIAS_CORE_TEST_REGULAREXPRESSIONS_NS_BOOSTREGEX__ #define __EVIAS_CORE_TEST_REGULAREXPRESSIONS_NS_BOOSTREGEX__ /** * Package : eVias unitary test suite * * Copyright (c) 2010 - 2011 Grégory Saive * * For more informations about the licensing of this product, please refer * to the LICENCE file in the r...
26.45283
101
0.508203
[ "vector" ]
2b931476dd6a3ff2eb88ffdc27f79668ac6bef84
7,661
cpp
C++
src/writer/Writer.cpp
martintb/correlate
b0be89af4e57cc5fe96ec3a5c7a9bb84430d2433
[ "MIT" ]
3
2018-02-26T19:53:46.000Z
2021-05-05T10:06:52.000Z
src/writer/Writer.cpp
martintb/correlate
b0be89af4e57cc5fe96ec3a5c7a9bb84430d2433
[ "MIT" ]
1
2018-07-03T14:38:15.000Z
2018-07-09T19:06:01.000Z
src/writer/Writer.cpp
martintb/correlate
b0be89af4e57cc5fe96ec3a5c7a9bb84430d2433
[ "MIT" ]
1
2019-03-28T03:02:07.000Z
2019-03-28T03:02:07.000Z
#include <mpi.h> #include <string> #include <memory> #include <vector> #include <iostream> #include <iomanip> #include <fstream> #include <chrono> // now() #include <ctime> //ctime() #include <cmath> //PI #include "debug.hpp" #include "floatWriter.hpp" #include "intWriter.hpp" #include "Config.hpp" #include "version....
33.600877
104
0.524736
[ "vector" ]
2b9758e77d4e3597fa701c2cdc9e20088ae570c5
16,414
hh
C++
mesh3D_dirs_STD_SET.hh
gmanzini-LANL/PDE-Mesh-Manager
f3193f4be25043b1976503af3fe4b130153bac2d
[ "BSD-3-Clause" ]
null
null
null
mesh3D_dirs_STD_SET.hh
gmanzini-LANL/PDE-Mesh-Manager
f3193f4be25043b1976503af3fe4b130153bac2d
[ "BSD-3-Clause" ]
null
null
null
mesh3D_dirs_STD_SET.hh
gmanzini-LANL/PDE-Mesh-Manager
f3193f4be25043b1976503af3fe4b130153bac2d
[ "BSD-3-Clause" ]
null
null
null
/* ----------------------------------------------------------------/ This is open source software; you can redistribute it and/or modify it under the terms of the BSD-3 License. If software is modified to produce derivative works, such modified software should be clearly marked, so as not to confuse it with the version...
38.530516
95
0.581455
[ "mesh", "vector", "3d" ]
2b9bdc8a9f2034a1b58900bee780557e4a5851f2
479
cpp
C++
SVEngine/src/basesys/SVTransCPU.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
34
2018-09-28T08:28:27.000Z
2022-01-15T10:31:41.000Z
SVEngine/src/basesys/SVTransCPU.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
null
null
null
SVEngine/src/basesys/SVTransCPU.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
8
2018-10-11T13:36:35.000Z
2021-04-01T09:29:34.000Z
// // SVTransCPU.cpp // SVEngine // Copyright 2017-2020 // yizhou Fu,long Yin,longfei Lin,ziyu Xu,xiaofan Li,daming Li // #include "SVTransCPU.h" SVTransCPU::SVTransCPU(SVInst *_app) :SVTrans(_app){ } SVTransCPU::~SVTransCPU() { } void SVTransCPU::init(s32 _w, s32 _h,f32 _angle,PICFORMATE _picformate,SVTEXTYPE _tt)...
15.966667
86
0.701461
[ "render" ]
2ba52e386bbe6e0cdef17d991ff06af6652cbd84
1,873
cpp
C++
example/read-scores.cpp
Watch-Later/tableprinter
b1c9ac73723dbc3a309f56b96293edcbbc5768a5
[ "MIT" ]
24
2021-12-05T19:43:56.000Z
2022-01-13T10:51:20.000Z
example/read-scores.cpp
Watch-Later/tableprinter
b1c9ac73723dbc3a309f56b96293edcbbc5768a5
[ "MIT" ]
1
2021-12-08T05:40:00.000Z
2021-12-08T17:04:21.000Z
example/read-scores.cpp
Watch-Later/tableprinter
b1c9ac73723dbc3a309f56b96293edcbbc5768a5
[ "MIT" ]
3
2021-12-06T02:02:17.000Z
2021-12-07T05:07:58.000Z
#include <fstream> #include <iostream> #include <iterator> #include <vector> #include <algorithm> #include <string> struct entry { int id; std::string name; std::string surname; int rank; float score; }; std::istream& operator>>( std::istream& is , entry& s ); void skip_echo_...
22.297619
62
0.530166
[ "vector" ]
ad9e3654a751f09e25b2c9e9243d92be584f7e5a
45,413
cpp
C++
nssavoir/nspatho.cpp
prometheusorg/epiClassifier
8f3a41e1f68f713fcbcd6372d77ac6a0ed1d3347
[ "Apache-2.0" ]
3
2017-05-22T14:57:13.000Z
2018-02-08T15:47:37.000Z
nssavoir/nspatho.cpp
prometheusorg/epiClassifier
8f3a41e1f68f713fcbcd6372d77ac6a0ed1d3347
[ "Apache-2.0" ]
13
2017-01-24T16:28:22.000Z
2018-01-22T00:12:50.000Z
nssavoir/nspatho.cpp
prometheusorg/epiClassifier
8f3a41e1f68f713fcbcd6372d77ac6a0ed1d3347
[ "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------- // NSPERSON.CPP // KRZISCH PH. janvier 92 // Implémentation de objets NAUTILUS //--------------------------------------------------------------------------- #include <string> #include <cstring> //using namespace std; #ifdef _ENTER...
28.365397
158
0.498932
[ "vector" ]
adabff6d1b260030365c7fd23e2defcd00e72b25
32,312
cpp
C++
draft/mf_player.cpp
smallsoft-rus/media-player
6217cb7c42b152ba0a4e410625ca86964e35f5b5
[ "BSD-3-Clause" ]
null
null
null
draft/mf_player.cpp
smallsoft-rus/media-player
6217cb7c42b152ba0a4e410625ca86964e35f5b5
[ "BSD-3-Clause" ]
9
2021-04-10T09:24:53.000Z
2022-03-26T15:35:02.000Z
draft/mf_player.cpp
smallsoft-rus/media-player
6217cb7c42b152ba0a4e410625ca86964e35f5b5
[ "BSD-3-Clause" ]
null
null
null
//https://docs.microsoft.com/en-us/windows/win32/medfound/media-session-playback-example #include <stdio.h> #include <windows.h> #include <shobjidl.h> #include <shlwapi.h> #include <strsafe.h> #include <assert.h> #include <new> // Media Foundation headers #include <mfapi.h> #include <mfidl.h> #include <mferror.h> #i...
24.095451
96
0.613425
[ "object" ]
adb4ca52d2c6ce34e9b0d5d0895d8cf0075f358d
3,410
hpp
C++
src/nctx/topology/dijkstra_ctx.hpp
nctx/py3nctx
ee01aeaf675bbfd38dc4f37115d577a7796d2c80
[ "MIT" ]
2
2021-06-28T10:12:12.000Z
2021-07-12T04:04:30.000Z
src/nctx/topology/dijkstra_ctx.hpp
nctx/py3nctx
ee01aeaf675bbfd38dc4f37115d577a7796d2c80
[ "MIT" ]
null
null
null
src/nctx/topology/dijkstra_ctx.hpp
nctx/py3nctx
ee01aeaf675bbfd38dc4f37115d577a7796d2c80
[ "MIT" ]
null
null
null
// Authors: Mirco Schoenfeld #ifndef _ALG_CTX_DIJDP_H #define _ALG_CTX_DIJDP_H #include <boost/graph/dijkstra_shortest_paths_no_color_map.hpp> using namespace boost; namespace nctx { // DocString: dijkstra_ctx /** * @brief Obtain shortest paths with dynamic contextual constraints. * * Single-sou...
57.79661
543
0.699707
[ "object" ]
adc11db7163316d39dd314944e411b50d648d3c6
15,420
cpp
C++
DynusTparser/computeVolumes.cpp
meitiv-tti/paths
36b4d8e2327a2914fb345afadf228e44b92d7083
[ "MIT" ]
null
null
null
DynusTparser/computeVolumes.cpp
meitiv-tti/paths
36b4d8e2327a2914fb345afadf228e44b92d7083
[ "MIT" ]
null
null
null
DynusTparser/computeVolumes.cpp
meitiv-tti/paths
36b4d8e2327a2914fb345afadf228e44b92d7083
[ "MIT" ]
1
2022-01-18T14:48:21.000Z
2022-01-18T14:48:21.000Z
#include "csv.h" #include <unordered_map> #include <map> #include <set> #include <list> #include <cmath> #include <vector> #include <string> #include <fstream> #include <iostream> #include <functional> #include <boost/lexical_cast.hpp> #include <boost/filesystem.hpp> #include <boost/algorithm/string.hpp> #include <boos...
29.371429
83
0.623087
[ "vector" ]
adc68e12103a6001bb10a5cc5ab51b275d947859
13,338
cpp
C++
src/dlvdb_src/input/DBInputBuilder.cpp
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
src/dlvdb_src/input/DBInputBuilder.cpp
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
src/dlvdb_src/input/DBInputBuilder.cpp
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
/* * * Copyright 2014 Mario Alviano, Carmine Dodaro, Francesco Ricca and * Pierfrancesco Veltri. * * 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...
23.482394
95
0.64305
[ "vector" ]
adca043ef54015529c6071827fc730e629f5b62f
2,805
hpp
C++
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/Log/Log.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/Log/Log.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/Log/Log.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
// Copyright (c) 2013-2014 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #ifndef SSVU_CORE_LOG #define SSVU_CORE_LOG namespace ssvu { namespace FileSystem { class Path; } namespace Internal { using CoutType = decltype(std::cout); us...
38.958333
121
0.727273
[ "object" ]
adca7ab3f072c7152ad617f1711be5450cfafcf8
50,498
cpp
C++
WiFi_MiMo_Test/WiFi_MiMo_Test_Internal.cpp
zfh1005/IQ_DualHead
350fa1774ca21fa64587a444261d9c54ef53d262
[ "MIT" ]
11
2017-06-07T09:07:23.000Z
2021-02-04T09:07:30.000Z
WiFi_MiMo_Test/WiFi_MiMo_Test_Internal.cpp
zfh1005/IQ_DualHead
350fa1774ca21fa64587a444261d9c54ef53d262
[ "MIT" ]
2
2017-10-09T08:51:52.000Z
2021-12-17T03:38:54.000Z
WiFi_MiMo_Test/WiFi_MiMo_Test_Internal.cpp
zfh1005/IQ_DualHead
350fa1774ca21fa64587a444261d9c54ef53d262
[ "MIT" ]
19
2015-02-07T10:30:35.000Z
2022-02-25T11:50:41.000Z
#include "stdafx.h" #include "WiFi_MiMo_Test.h" #include "IQlite_Logger.h" #include "IQmeasure.h" #include "math.h" //Move to stdafx.h //#include "lp_time.h" using namespace std; // global variable TM_ID g_WiFi_Test_ID = -1; vDUT_ID g_WiFi_Dut = -1; bool g_ReloadDutDll = false; bo...
29.845154
203
0.622718
[ "vector" ]
adcd99c30a9152c05c9160238fbe71e58695bb42
88,000
cpp
C++
lib/nes/tests/instruction-tests.cpp
beunprogrammeur/basic-nes-emulator
3a799e07c899857e9e07a13d3a500484347e874b
[ "MIT" ]
null
null
null
lib/nes/tests/instruction-tests.cpp
beunprogrammeur/basic-nes-emulator
3a799e07c899857e9e07a13d3a500484347e874b
[ "MIT" ]
null
null
null
lib/nes/tests/instruction-tests.cpp
beunprogrammeur/basic-nes-emulator
3a799e07c899857e9e07a13d3a500484347e874b
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <nes/cpu/instructions/iinstruction_error_handler.h> #include <nes/cpu/instructions/instructions.h> #include <nes/cpu/bus/ibus.h> #include <nes/cpu/registers.h> #include <vector> #include <nes/cpu/instructions/instructionset.h> #include <type_traits> #include <sstream> using namespace...
26.537998
201
0.624386
[ "vector" ]
add1aad0cd7f3c417d54c275b5a8597d8fc39569
983
cc
C++
cpp/leetcode/1310.xor-queries-of-a-subarray.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
3
2021-03-03T13:18:23.000Z
2022-02-09T07:49:24.000Z
cpp/leetcode/1310.xor-queries-of-a-subarray.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
null
null
null
cpp/leetcode/1310.xor-queries-of-a-subarray.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
1
2021-03-29T15:21:42.000Z
2021-03-29T15:21:42.000Z
#include <gtest/gtest.h> #include <vector> namespace { class Solution { public: std::vector<int> xorQueries(const std::vector<int>& arr, const std::vector<std::vector<int>>& queries) { std::vector<int> preprocess; int num = 0; for (auto a : arr) { num ^= a; pre...
22.340909
77
0.496439
[ "vector" ]
add2f67aef6aad4679df04a4c8da471f6131e8d1
2,705
cxx
C++
Tracing/SuperEllipsoidTracer/XMLtest.cxx
tostathaina/farsight
7e9d6d15688735f34f7ca272e4e715acd11473ff
[ "Apache-2.0" ]
8
2016-07-22T11:24:19.000Z
2021-04-10T04:22:31.000Z
Tracing/SuperEllipsoidTracer/XMLtest.cxx
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
null
null
null
Tracing/SuperEllipsoidTracer/XMLtest.cxx
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
7
2016-07-21T07:39:17.000Z
2020-01-29T02:03:27.000Z
// vector::begin #include <iostream> #include <vector> #include "tinyxml.h" //using namespace std; int main () { //std::vector<int> myvector; // for (int i=1; i<=5; i++) myvector.push_back(i); // std::vector<int>::iterator it; // std::cout << "myvector contains:"; // for ( it=myvector.begin() ; it < myvector.en...
31.453488
76
0.582255
[ "vector" ]
add72f114e0d6a6c11fcac3263db9cf8949c4cc8
4,447
hpp
C++
dakota-6.3.0.Windows.x86/include/Teuchos_XMLParameterListWriter.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
null
null
null
dakota-6.3.0.Windows.x86/include/Teuchos_XMLParameterListWriter.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
null
null
null
dakota-6.3.0.Windows.x86/include/Teuchos_XMLParameterListWriter.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
1
2022-03-18T14:13:14.000Z
2022-03-18T14:13:14.000Z
// @HEADER // *********************************************************************** // // Teuchos: Common Tools Package // Copyright (2004) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use of this work by or on behalf of...
31.097902
74
0.703171
[ "object" ]
add926ea6feeecf3c7c066dde80c8585b98963f8
3,707
cpp
C++
unit_tests/geometry/line_strip.cpp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
null
null
null
unit_tests/geometry/line_strip.cpp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
3
2020-10-26T18:45:47.000Z
2020-10-26T18:46:06.000Z
unit_tests/geometry/line_strip.cpp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
null
null
null
#include <boost/assign/std/vector.hpp> #include <cradle/geometry/line_strip.hpp> #include <cradle/test.hpp> double const tolerance = 0.00001; using namespace boost::assign; using namespace cradle; TEST_CASE("actual_poly_test") { std::vector<vertex2> vertices; vertices += make_vector<double>(-1, 0), make_vec...
29.188976
74
0.669274
[ "geometry", "vector" ]
ade4b43730386da7a7c70fa6c788fcc02269578f
10,947
hpp
C++
src/DeBruijnGraph.hpp
AustinHartman/shasta
105b8e85e272247f72ced59005c88879631931c0
[ "BSD-3-Clause" ]
267
2018-07-31T16:12:24.000Z
2022-03-29T13:57:53.000Z
src/DeBruijnGraph.hpp
AustinHartman/shasta
105b8e85e272247f72ced59005c88879631931c0
[ "BSD-3-Clause" ]
140
2018-08-10T14:14:19.000Z
2022-02-18T22:05:05.000Z
src/DeBruijnGraph.hpp
AustinHartman/shasta
105b8e85e272247f72ced59005c88879631931c0
[ "BSD-3-Clause" ]
47
2018-09-28T18:29:37.000Z
2022-02-21T02:45:40.000Z
#if 0 // This is currently not used but left here in case it becomes useful. #ifndef SHASTA_DEBRUIJN_GRAPH_HPP #define SHASTA_DEBRUIJN_GRAPH_HPP // A general purpose templated class representing a De Bruijn graph. // Each vertex represents a sequence of k symbols occurring in // sequences of symbols. // Template argu...
30.923729
94
0.592948
[ "vector" ]
adea0779a1897cc0c88495b87ec14969edb877d2
31,895
cpp
C++
unittest/object_op_test.cpp
jackyding2679/cos-cpp-sdk-v5
037da66f54473ba9628b532df72759edb6ca7700
[ "MIT" ]
null
null
null
unittest/object_op_test.cpp
jackyding2679/cos-cpp-sdk-v5
037da66f54473ba9628b532df72759edb6ca7700
[ "MIT" ]
null
null
null
unittest/object_op_test.cpp
jackyding2679/cos-cpp-sdk-v5
037da66f54473ba9628b532df72759edb6ca7700
[ "MIT" ]
null
null
null
// Copyright (c) 2017, Tencent Inc. // All rights reserved. // // Author: sevenyou <sevenyou@tencent.com> // Created: 07/25/17 // Description: #include "gtest/gtest.h" #include "common.h" #include "cos_api.h" #include <sstream> namespace qcloud_cos { class ObjectOpTest : public testing::Test { protected: static...
38.151914
107
0.61715
[ "object", "vector" ]
adeb46b046c5d6d10fd343d7c6d056524a3614fe
13,551
hpp
C++
6502.hpp
markypizz/NES-Emulator
6a3be685ad358ca722030baa6384c19ed63acbb9
[ "BSD-3-Clause" ]
1
2020-12-18T02:28:38.000Z
2020-12-18T02:28:38.000Z
6502.hpp
markypizz/NES-Emulator
6a3be685ad358ca722030baa6384c19ed63acbb9
[ "BSD-3-Clause" ]
null
null
null
6502.hpp
markypizz/NES-Emulator
6a3be685ad358ca722030baa6384c19ed63acbb9
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <cstdint> #include <string> #include <vector> #include "6502.hpp" #include <map> // Forward declare Bus class Bus; /** * @brief 6502 CPU class */ class CPU6502 { public: CPU6502(); ~CPU6502(); void connectBus(Bus *inBus) { bus = inBus; } /** * @brief Enum...
50.752809
504
0.443879
[ "vector" ]
adfb7be88ee250c1fe6db042f20dc496387712c4
13,049
cpp
C++
frmts/zarr/zarr_attribute.cpp
jcphill/gdal
98c9ecf8513325bb69888d368bd9a0d54b79e72b
[ "Apache-2.0" ]
3,100
2015-01-02T10:33:40.000Z
2022-03-31T02:06:51.000Z
frmts/zarr/zarr_attribute.cpp
jcphill/gdal
98c9ecf8513325bb69888d368bd9a0d54b79e72b
[ "Apache-2.0" ]
3,496
2015-01-06T16:53:30.000Z
2022-03-31T20:18:51.000Z
frmts/zarr/zarr_attribute.cpp
jcphill/gdal
98c9ecf8513325bb69888d368bd9a0d54b79e72b
[ "Apache-2.0" ]
2,036
2015-01-08T20:22:12.000Z
2022-03-31T10:24:08.000Z
/****************************************************************************** * * Project: GDAL * Purpose: Zarr driver * Author: Even Rouault <even dot rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2021, Even Rouault <even dot rou...
39.068862
95
0.406085
[ "object" ]
bc06c983d5049d1c3058d389967403f06e2d6f45
4,863
cpp
C++
dep/skse/skse/GameThreads.cpp
Verteiron/JContainers
a5c83198c782458a7c2ae683319558cc88959d25
[ "MIT" ]
1
2018-07-30T21:36:28.000Z
2018-07-30T21:36:28.000Z
dep/skse/skse/GameThreads.cpp
Verteiron/JContainers
a5c83198c782458a7c2ae683319558cc88959d25
[ "MIT" ]
null
null
null
dep/skse/skse/GameThreads.cpp
Verteiron/JContainers
a5c83198c782458a7c2ae683319558cc88959d25
[ "MIT" ]
1
2021-03-03T06:28:53.000Z
2021-03-03T06:28:53.000Z
#include "GameThreads.h" #include "GameAPI.h" #include "GameReferences.h" #include "GameData.h" #include "GameForms.h" #include "GameRTTI.h" #include "NiNodes.h" #include "common/IMemPool.h" IThreadSafeBasicMemPool<SKSETaskUpdateTintMasks,10> s_updateTintMasksDelegatePool; IThreadSafeBasicMemPool<SKSETaskUpdateHair...
26.286486
147
0.761875
[ "model" ]
bc0c63f340dfcf7ee9c185b68be428bf63243f85
833
hpp
C++
include/disccord/models/embed_field.hpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
44
2016-09-19T15:28:25.000Z
2018-08-09T13:17:40.000Z
include/disccord/models/embed_field.hpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
44
2016-11-03T17:27:30.000Z
2017-12-10T16:17:31.000Z
include/disccord/models/embed_field.hpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
13
2016-11-01T00:17:20.000Z
2018-08-03T19:51:16.000Z
#ifndef _embed_field_hpp_ #define _embed_field_hpp_ #include <disccord/models/entity.hpp> namespace disccord { namespace models { class embed_field : public model { public: embed_field(); virtual ~embed_field(); virtual void decode(w...
23.8
75
0.522209
[ "model" ]
bc19b7347bfee08f8cf5db0858974038da8581ff
3,580
cpp
C++
dali/internal/event/object/custom-object-internal.cpp
pwisbey/dali-core
53117f5d4178001b0d688c5bce14d7bf8e861631
[ "Apache-2.0" ]
1
2016-08-05T09:58:38.000Z
2016-08-05T09:58:38.000Z
dali/internal/event/object/custom-object-internal.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
null
null
null
dali/internal/event/object/custom-object-internal.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
26.131387
97
0.763687
[ "object" ]
bc308b1123421e07c5c853324bbfa81f741188b7
5,289
cpp
C++
src/App/AppCart.cpp
jlcrodrigues/feup-aed
9586e984cd725292c7d76645b146ec969f788e19
[ "MIT" ]
7
2021-12-22T21:57:38.000Z
2022-01-05T18:08:17.000Z
src/App/AppCart.cpp
jlcrodrigues/feup-aed
9586e984cd725292c7d76645b146ec969f788e19
[ "MIT" ]
null
null
null
src/App/AppCart.cpp
jlcrodrigues/feup-aed
9586e984cd725292c7d76645b146ec969f788e19
[ "MIT" ]
1
2021-12-23T00:35:06.000Z
2021-12-23T00:35:06.000Z
#include "App.h" void App::cart() { if (command.empty()) { cout << "Invalid option. Use help cart to see available commands.\n"; } else if (command.front() == "display") { command.pop(); displayCart(); } else if (command.front() == "add") { command.pop(); addCart()...
23.824324
93
0.532993
[ "vector" ]
bc360624534b6d58993727e1fea2a27babbf087a
3,799
cpp
C++
test/zoneserver.test/FieldTest.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
test/zoneserver.test/FieldTest.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
test/zoneserver.test/FieldTest.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
#include "ZoneServerTestPCH.h" #include "GameTestFixture.h" #include "MockPlayerController.h" #include "MockPlayerMoveController.h" #include "ZoneServer/model/gameobject/Player.h" /** * @class FieldTest * * 필드 상에서의 캐릭터 이동 및 채팅 테스트 */ class FieldTest : public GameTestFixture { }; TEST_F(FieldTest, testGoToward) { ...
32.194915
87
0.765728
[ "model" ]
bc3a076e4f9fd8679999d14662fbfb0a760e1efe
10,113
cpp
C++
PSME/agent/compute/src/status/state_machine_action.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
5
2021-10-07T15:36:37.000Z
2022-03-01T07:21:49.000Z
PSME/agent/compute/src/status/state_machine_action.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
null
null
null
PSME/agent/compute/src/status/state_machine_action.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
1
2022-03-01T07:21:51.000Z
2022-03-01T07:21:51.000Z
/*! * @brief Implementation of StateMachineAction class * * @copyright * Copyright (c) 2015-2017 Intel Corporation * * @copyright * 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 * * ...
34.050505
115
0.679126
[ "model" ]
bc3ab2ff93bf2549855dab05dea1b0bd6aea064e
2,038
hpp
C++
model copy/boost/statistics/model/wrap/unary/covariate.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
model copy/boost/statistics/model/wrap/unary/covariate.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
model copy/boost/statistics/model/wrap/unary/covariate.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // statistics::model::wrap::unary::covariate.hpp // // // // Copyright 2009 Erwann Rogard. Distributed under the Boost // ...
32.870968
79
0.546614
[ "model" ]
a4c6e6ff26b16bff65273f9b8f6ac5de100dec5f
2,530
cpp
C++
datasets/github_cpp_10/4/143.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/4/143.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/4/143.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include <vector> #include <cstdlib> #include <iostream> #include <ctime> #include <algorithm> #include <functional> #include "merge_sort.h" using namespace std; template <typename T> void print_vector(vector<T>& v) { for (auto x : v) { cout << x << " "; } cout << endl; } void selection_sort_vector(vector<...
20.569106
71
0.532806
[ "vector" ]
a4c9949a51f6ef43b450e4aa69f81bbb7d5d17bb
19,951
cpp
C++
openstudiocore/src/model/AvailabilityManagerHybridVentilation.cpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
1
2016-12-29T08:45:03.000Z
2016-12-29T08:45:03.000Z
openstudiocore/src/model/AvailabilityManagerHybridVentilation.cpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
openstudiocore/src/model/AvailabilityManagerHybridVentilation.cpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2016, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
46.505828
184
0.788131
[ "vector", "model" ]
a4d172105d87117321664c3b92c7e4c30b89dd1b
3,294
cpp
C++
src/solvers/random_restart_solver.cpp
nodchip/icfpc2021
e50f0172fd62097049dab19c01875c57468a13f1
[ "MIT" ]
1
2021-07-12T13:52:18.000Z
2021-07-12T13:52:18.000Z
src/solvers/random_restart_solver.cpp
nodchip/icfpc2021
e50f0172fd62097049dab19c01875c57468a13f1
[ "MIT" ]
null
null
null
src/solvers/random_restart_solver.cpp
nodchip/icfpc2021
e50f0172fd62097049dab19c01875c57468a13f1
[ "MIT" ]
1
2021-08-24T08:49:18.000Z
2021-08-24T08:49:18.000Z
#include "stdafx.h" #include <cmath> #include <fmt/format.h> #include <boost/geometry.hpp> #include <boost/geometry/geometries/point_xy.hpp> #include <boost/geometry/geometries/polygon.hpp> #include "contest_types.h" #include "solver_registry.h" #include "visual_editor.h" #include "solver_util.h" #include "judge.h" #in...
33.272727
153
0.659381
[ "geometry", "vector" ]
a4d7fef1e7f7a636cdb358a9e6e8e12d5ee8b0f0
5,099
cpp
C++
PacManRenderer.Test/src/entity/RenderEntityTest.cpp
BeardedPlatypus/PacMan
319e9776582cf9118b38c72d31855fb4c598e986
[ "MIT" ]
5
2019-12-23T22:45:46.000Z
2021-11-11T06:27:12.000Z
PacManRenderer.Test/src/entity/RenderEntityTest.cpp
BeardedPlatypus/PacMan
319e9776582cf9118b38c72d31855fb4c598e986
[ "MIT" ]
null
null
null
PacManRenderer.Test/src/entity/RenderEntityTest.cpp
BeardedPlatypus/PacMan
319e9776582cf9118b38c72d31855fb4c598e986
[ "MIT" ]
1
2021-11-11T06:27:14.000Z
2021-11-11T06:27:14.000Z
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "entity/RenderEntity.h" #include "EntityStateRendererMock.h" #include "ValueProviderMock.h" using ::testing::Return; namespace pacman { namespace renderer { namespace entity { enum class DummyState { One, Two, Three, }; std::unique_ptr<IEntityStat...
33.993333
117
0.735242
[ "render", "vector" ]
a4e48d228bad5318b517d5b415e8bebe4f4f6ba4
1,288
hpp
C++
include/data/Classmate.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
2
2019-01-18T02:33:45.000Z
2019-02-01T23:44:05.000Z
include/data/Classmate.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
include/data/Classmate.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
/** * Copyright 2018 <David Corbin, Mitchell Harvey> */ #ifndef INCLUDE_DATA_CLASSMATE_HPP_ #define INCLUDE_DATA_CLASSMATE_HPP_ #include <include/data/Login.hpp> #include <include/types/Student.hpp> #include <include/FileManager.hpp> #include <string> #include <vector> class Classmate : public QObject { Q_OBJECT...
19.815385
67
0.700311
[ "object", "vector" ]
35016d5bf4f977d7696fe19404713d003c291260
1,978
hpp
C++
include/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelBufferToTexture.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
include/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelBufferToTexture.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
include/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelBufferToTexture.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
/* See LICENSE file in root folder */ #ifndef ___C3D_VoxelBufferToTexture_H___ #define ___C3D_VoxelBufferToTexture_H___ #include "VoxelizeModule.hpp" #include "Castor3D/Render/Passes/CommandsSemaphore.hpp" #include <ashespp/Descriptor/DescriptorSet.hpp> #include <ashespp/Descriptor/DescriptorSetLayout.hpp> #include ...
26.72973
59
0.752275
[ "render" ]
35024673e698b0a22ca09fe3d5017933248daee2
3,953
hpp
C++
NeuronalNetwork/Network.hpp
maede97/NeuronalNetwork
adeb1ea1c062893461f9cfed78eba9513df9748c
[ "MIT" ]
null
null
null
NeuronalNetwork/Network.hpp
maede97/NeuronalNetwork
adeb1ea1c062893461f9cfed78eba9513df9748c
[ "MIT" ]
null
null
null
NeuronalNetwork/Network.hpp
maede97/NeuronalNetwork
adeb1ea1c062893461f9cfed78eba9513df9748c
[ "MIT" ]
null
null
null
#ifndef NETWORK_HPP #define NETWORK_HPP #include <cassert> #include <functional> #include <iostream> #include <vector> #include "AbstractBaseLayer.hpp" #include "DataSet.hpp" /** * @brief Network class */ class Network { public: /** * @brief Default constructor */ Network() {} /** * @brief Saves t...
29.281481
80
0.622818
[ "vector" ]
3505d01ae44b7b3573d8b810993b29194afcebf1
6,062
hpp
C++
src/Event/Event.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Event/Event.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Event/Event.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
#ifndef Event_b2be9c82b0b54601b3cd1dc5e7a8c09e #define Event_b2be9c82b0b54601b3cd1dc5e7a8c09e #include "../Helpers/DateTime.hpp" #include "../Person/Person.hpp" #include "VirtualEvent.hpp" #include "../Exceptions/InvalidUseException.hpp" #include "EventType.hpp" #include <iostream> #include <map> #include <memory> #i...
36.739394
102
0.613989
[ "object", "vector" ]
350735d5822a659e1154448571e583e96034c901
190,668
cpp
C++
GCG_Source.build/module.django.core.mail.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.django.core.mail.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.django.core.mail.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
/* Generated code for Python source for module 'django.core.mail' * created by Nuitka version 0.5.28.2 * * This code is in part copyright 2017 Kay Hayen. * * 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 ...
34.997797
290
0.72738
[ "object" ]
3509fa2bae26215206b6c369d6c460429d972eb1
8,284
cpp
C++
competition-analysis/data-parser/parse_submission_file_dynamic.cpp
Satendra01/CEC2013
3f88a03fb407e52046233588169ea81c4716a1ed
[ "BSD-2-Clause-FreeBSD" ]
65
2016-04-07T10:53:45.000Z
2022-03-21T00:48:32.000Z
competition-analysis/data-parser/parse_submission_file_dynamic.cpp
Satendra01/CEC2013
3f88a03fb407e52046233588169ea81c4716a1ed
[ "BSD-2-Clause-FreeBSD" ]
5
2016-08-29T01:52:20.000Z
2020-09-04T04:10:54.000Z
competition-analysis/data-parser/parse_submission_file_dynamic.cpp
Satendra01/CEC2013
3f88a03fb407e52046233588169ea81c4716a1ed
[ "BSD-2-Clause-FreeBSD" ]
56
2015-08-08T04:24:05.000Z
2022-02-28T08:43:11.000Z
/****************************************************************************** * Version: 1.0.2 * Last modified on: 10 July, 2019 * Developers: Michael G. Epitropakis * email: m_(DOT)_epitropakis_(AT)_gmail_(DOT)_com * ***************************************************************************/ #include <io...
32.108527
126
0.622767
[ "vector" ]
350e64f60999c5b2a85f30c157620e1c495e0d85
3,831
hpp
C++
include/hyperpose/operator/parser/paf.hpp
lengyuner/hyperpose4fly
c9866bce1a0109e1b9c727ca550b5a380eb3ee17
[ "Apache-2.0" ]
null
null
null
include/hyperpose/operator/parser/paf.hpp
lengyuner/hyperpose4fly
c9866bce1a0109e1b9c727ca550b5a380eb3ee17
[ "Apache-2.0" ]
null
null
null
include/hyperpose/operator/parser/paf.hpp
lengyuner/hyperpose4fly
c9866bce1a0109e1b9c727ca550b5a380eb3ee17
[ "Apache-2.0" ]
null
null
null
#pragma once /// \file paf.hpp /// \brief Post-processing using Part Affinity Field (PAF). #include "../../utility/data.hpp" namespace hyperpose { /// \brief The namespace to contain things related to post processing. /// \note In HyperPose, the pose estimation pipeline consists of DNN inference and parsing(post-pr...
39.494845
147
0.629079
[ "object", "vector" ]
350fdad24c62b834a51513f2d12737d63961a2c2
2,778
cpp
C++
tests/geometry_moveable.cpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
2
2015-11-05T20:08:00.000Z
2016-07-07T04:17:07.000Z
tests/geometry_moveable.cpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
3
2016-10-29T02:20:49.000Z
2017-04-01T11:09:53.000Z
tests/geometry_moveable.cpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <fakeit.hpp> #include <glm/ext.hpp> #include <string> #include <fmt/format.h> #include "node.hpp" #include "geometry/moveable.hpp" using namespace fakeit; TEST_CASE("Moveable Visit double dispatch works"){ using namespace Geometry; INode* node1 = new Moveable(); Mock<Geometry::Moveable...
30.866667
65
0.700504
[ "geometry" ]
35109a3a8503be7c6e97a20060dd5cdd983e66dc
4,714
cpp
C++
examples/Verify.cpp
joke325/Cerop
04351582ac626a10d4e2bb1d478d59cb70879571
[ "BSD-2-Clause" ]
null
null
null
examples/Verify.cpp
joke325/Cerop
04351582ac626a10d4e2bb1d478d59cb70879571
[ "BSD-2-Clause" ]
null
null
null
examples/Verify.cpp
joke325/Cerop
04351582ac626a10d4e2bb1d478d59cb70879571
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (c) 2020 Janky <box@janky.tech> * All right reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list ...
37.412698
140
0.632372
[ "object" ]
3511632d1bda2ac50253ac00958530bdaa07b5be
8,230
cpp
C++
src/head.cpp
Hazematman/Ultrabrew2021
934d8609179effcf26ce2f5d53361031d8a1aa01
[ "WTFPL" ]
3
2021-12-14T00:14:53.000Z
2022-03-30T04:08:34.000Z
src/head.cpp
Hazematman/Ultrabrew2021
934d8609179effcf26ce2f5d53361031d8a1aa01
[ "WTFPL" ]
null
null
null
src/head.cpp
Hazematman/Ultrabrew2021
934d8609179effcf26ce2f5d53361031d8a1aa01
[ "WTFPL" ]
1
2021-12-09T10:21:11.000Z
2021-12-09T10:21:11.000Z
#include <ugfx.h> #include "mesh.hpp" const uint16_t head_head[] __attribute__ ((aligned (64))) = { 0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889,0xf889...
62.348485
1,779
0.707776
[ "mesh" ]
3511c92cb34f25dd72da460a2cdf74256c76a918
476
hpp
C++
Sandbox/ParticleMan.hpp
delahee/enjmin
5d982da486ad0565fcda38939212e6745bdf3e3f
[ "MIT" ]
null
null
null
Sandbox/ParticleMan.hpp
delahee/enjmin
5d982da486ad0565fcda38939212e6745bdf3e3f
[ "MIT" ]
null
null
null
Sandbox/ParticleMan.hpp
delahee/enjmin
5d982da486ad0565fcda38939212e6745bdf3e3f
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "Particle.hpp" class ParticleMan { public: std::vector<Particle> parts; void add(Particle & p) { parts.push_back(p); } void update(double dt) { for (auto iter = parts.begin(); iter != parts.end(); ) { Particle & p = *iter; p.update((float)dt); if (p.destroye...
15.866667
58
0.596639
[ "vector" ]
3523a44a07c385cfe4f705311a24393d31dcae03
5,111
cpp
C++
implementations/opencv_io/janice_io_opencv_sparse.cpp
carlosdcastillo/janice
221a94dd25ab4304d3c959a364ec89548b807509
[ "MIT" ]
null
null
null
implementations/opencv_io/janice_io_opencv_sparse.cpp
carlosdcastillo/janice
221a94dd25ab4304d3c959a364ec89548b807509
[ "MIT" ]
null
null
null
implementations/opencv_io/janice_io_opencv_sparse.cpp
carlosdcastillo/janice
221a94dd25ab4304d3c959a364ec89548b807509
[ "MIT" ]
null
null
null
#include <janice_io.h> #include <opencv2/highgui.hpp> #include <string> #include <vector> #ifdef __cplusplus extern "C" { #endif JANICE_EXPORT JaniceError janice_io_opencv_create_sparse_media_iterator(const char** filenames, size_t num_files, ...
25.17734
125
0.652123
[ "vector" ]
3537ef45e7e627ee6820ffda09f9fc337deed431
5,159
cpp
C++
Classes/HelloWorldScene.cpp
XINCGer/CrazyWorker
6c86aa9e336539f9004dbe761acae3ae25da0f6a
[ "Apache-2.0" ]
1
2018-11-19T00:34:32.000Z
2018-11-19T00:34:32.000Z
Classes/HelloWorldScene.cpp
XINCGer/CrazyWorker
6c86aa9e336539f9004dbe761acae3ae25da0f6a
[ "Apache-2.0" ]
null
null
null
Classes/HelloWorldScene.cpp
XINCGer/CrazyWorker
6c86aa9e336539f9004dbe761acae3ae25da0f6a
[ "Apache-2.0" ]
4
2017-03-22T10:00:32.000Z
2018-11-06T15:05:51.000Z
#include "HelloWorldScene.h" #include "TreeModel.h" #include "GameOver.h" #include "SimpleAudioEngine.h" USING_NS_CC; Scene* HelloWorld::createScene() { auto scene = Scene::create(); auto layer = HelloWorld::create(); scene->addChild(layer); return scene; } bool HelloWorld::init() { if ( !Layer:...
26.592784
104
0.719713
[ "model" ]
3547129c7b7ef3a7275aaf231921eb32eff966e0
2,959
cpp
C++
PostView2/TimePanel.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
9
2020-03-22T08:27:03.000Z
2021-09-24T10:02:37.000Z
PostView2/TimePanel.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
1
2021-03-02T06:45:59.000Z
2021-03-02T06:45:59.000Z
PostView2/TimePanel.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
2
2020-06-27T13:59:49.000Z
2021-09-08T16:39:39.000Z
/*This file is part of the PostView source code and is licensed under the MIT license listed below. See Copyright-PostView.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obta...
28.728155
111
0.715782
[ "vector" ]
3549d6c2debb2cd59db2a8f139dc71fd73f3e5d5
4,188
tpp
C++
siclib/linalg/TensorView.tpp
ShameekConyers/sicnumerical
dc5035e5d922cb8e4341c5fbd88adba4f5d09bea
[ "MIT" ]
null
null
null
siclib/linalg/TensorView.tpp
ShameekConyers/sicnumerical
dc5035e5d922cb8e4341c5fbd88adba4f5d09bea
[ "MIT" ]
null
null
null
siclib/linalg/TensorView.tpp
ShameekConyers/sicnumerical
dc5035e5d922cb8e4341c5fbd88adba4f5d09bea
[ "MIT" ]
null
null
null
#pragma once #include "TensorView.hpp" namespace sic { class TensorView; template<typename Fn> TensorView TensorView::unary_op( const Fn& inp_unitary_op) const { int c_idx = 0; int counter = 1; std::vector<size_t> this_shape = m_shape; std::vector<size_t> cur_this(this_shape.size()); TensorView result_tensor...
20.94
76
0.641117
[ "vector" ]
8319e220a78a59ca42d3f31424738d542837ffb8
1,232
hpp
C++
Plugins/CameraControl/CameraControl.hpp
GlynnJKW/Stratum
ddc55796f3207fe3df23c455c6304cb72aebcb02
[ "MIT" ]
2
2019-10-01T22:55:47.000Z
2019-10-04T20:25:29.000Z
Plugins/CameraControl/CameraControl.hpp
Shmaug/vkCAVE
e502aedaf172047557f0454acb170a46b9d350f8
[ "MIT" ]
null
null
null
Plugins/CameraControl/CameraControl.hpp
Shmaug/vkCAVE
e502aedaf172047557f0454acb170a46b9d350f8
[ "MIT" ]
null
null
null
#pragma once #include <Core/EnginePlugin.hpp> #include <Scene/Scene.hpp> #include <Input/MouseKeyboardInput.hpp> #include <Util/Profiler.hpp> class CameraControl : public EnginePlugin { private: Scene* mScene; float mCameraDistance; float3 mCameraEuler; MouseKeyboardInput* mInput; Object* mCameraPivot; std::v...
30.8
105
0.787338
[ "object", "vector" ]
831d9bd9b74c57fd6ad8a7c06f4576b0e4eaa47f
2,757
cpp
C++
collection/cp/bcw_codebook-master/Contest/XVIOpenCupSaratov/pA.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/bcw_codebook-master/Contest/XVIOpenCupSaratov/pA.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/bcw_codebook-master/Contest/XVIOpenCupSaratov/pA.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> #include<unistd.h> using namespace std; #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define F first #define S second #define PB push_back #define ALL(x) begin(x),end(x) #define SZ(x) ((int)(x).size()) #define IOS ios_base::sync_with_stdio(0); cin.tie(0) #ifdef O...
17.787097
54
0.490751
[ "vector" ]
832146082ff4a740ee9be34a4694ffc83ae35f3a
2,199
cc
C++
worker/deps/libwebrtc/libwebrtc/modules/congestion_controller/rtp/control_handler.cc
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
4,465
2017-04-05T20:00:24.000Z
2022-03-31T13:27:43.000Z
worker/deps/libwebrtc/libwebrtc/modules/congestion_controller/rtp/control_handler.cc
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
617
2017-04-05T21:24:27.000Z
2022-03-31T06:17:25.000Z
worker/deps/libwebrtc/libwebrtc/modules/congestion_controller/rtp/control_handler.cc
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
900
2017-04-11T09:25:27.000Z
2022-03-30T21:37:00.000Z
/* * Copyright (c) 2018 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
33.830769
79
0.749886
[ "vector" ]