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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9841cde6783d99abd6b8d06c2e011ba28dc3f152 | 5,127 | cpp | C++ | ogldev-source/tutorial38/tutorial38.cpp | maodougansidui/ucsb_cmpsc180 | 2a207838ce269c27fa0f9a601b5633e4327a6e3b | [
"MIT"
] | null | null | null | ogldev-source/tutorial38/tutorial38.cpp | maodougansidui/ucsb_cmpsc180 | 2a207838ce269c27fa0f9a601b5633e4327a6e3b | [
"MIT"
] | null | null | null | ogldev-source/tutorial38/tutorial38.cpp | maodougansidui/ucsb_cmpsc180 | 2a207838ce269c27fa0f9a601b5633e4327a6e3b | [
"MIT"
] | null | null | null | /*
Copyright 2011 Etay Meiri
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed... | 24.649038 | 97 | 0.611469 | [
"mesh",
"render",
"vector"
] |
984c7bcb5ee5c5eb18bef276dd89ab9b541b845d | 1,783 | cpp | C++ | src/main/cpp/hanal/MorphDic.cpp | krikit/hanal | e99a3632c244444bec52478fb836590570c409f3 | [
"Unlicense"
] | 25 | 2015-01-26T01:08:26.000Z | 2021-07-27T08:07:48.000Z | src/main/cpp/hanal/MorphDic.cpp | krikit/hanal | e99a3632c244444bec52478fb836590570c409f3 | [
"Unlicense"
] | null | null | null | src/main/cpp/hanal/MorphDic.cpp | krikit/hanal | e99a3632c244444bec52478fb836590570c409f3 | [
"Unlicense"
] | 5 | 2016-06-19T06:45:13.000Z | 2019-02-17T10:59:48.000Z | /**
* @author krikit(krikit@naver.com)
* @copyright Copyright (C) 2014-2015, krikit. All rights reserved. BSD 2-Clause License
*/
#include "hanal/MorphDic.hpp"
//////////////
// includes //
//////////////
#include <list>
#include <string>
#include <vector>
#include "boost/log/trivial.hpp"
namespace hanal... | 24.094595 | 115 | 0.667975 | [
"vector"
] |
984c99747a66ce467c56188cfa58346c5b7d7d12 | 514 | cpp | C++ | source/Ch18/drill/drill_18V.cpp | Broxigar11/UDProg-Introduction | f7edc7a8c9fd31ba00f666a34173eba1fe274655 | [
"CC0-1.0"
] | null | null | null | source/Ch18/drill/drill_18V.cpp | Broxigar11/UDProg-Introduction | f7edc7a8c9fd31ba00f666a34173eba1fe274655 | [
"CC0-1.0"
] | null | null | null | source/Ch18/drill/drill_18V.cpp | Broxigar11/UDProg-Introduction | f7edc7a8c9fd31ba00f666a34173eba1fe274655 | [
"CC0-1.0"
] | null | null | null | #include "../../std_lib_facilities.h"
int fact(int n){
int a=1;
for(int i=2; i<=n; i++){
a*=i;
}
return a;
}
vector<int> gv{1,2,4,8,16,32,64,128,512,1024};
void f(vector<int> av){
vector<int> lv(av.size(), 0);
for(int i=0; i<gv.size(); i++){
lv[i]=gv[i];
cout << lv[i] << " ";
}
cout << endl;
vector<... | 13.891892 | 46 | 0.51751 | [
"vector"
] |
984d3aaefab0a49d1c784bace5dae8e529930192 | 15,623 | cpp | C++ | tools/rdf3xembedded/rdf3xembedded.cpp | gh-rdf3x/gh-rdf3x | 4184d355b922d9d2f1aa63a36461bf889617928c | [
"Xnet",
"X11"
] | 40 | 2015-02-17T03:27:19.000Z | 2022-03-24T15:17:38.000Z | tools/rdf3xembedded/rdf3xembedded.cpp | gh-rdf3x/gh-rdf3x | 4184d355b922d9d2f1aa63a36461bf889617928c | [
"Xnet",
"X11"
] | 3 | 2016-02-22T17:36:59.000Z | 2020-04-09T14:45:15.000Z | tools/rdf3xembedded/rdf3xembedded.cpp | gh-rdf3x/gh-rdf3x | 4184d355b922d9d2f1aa63a36461bf889617928c | [
"Xnet",
"X11"
] | 15 | 2015-01-15T20:39:48.000Z | 2020-11-11T03:07:11.000Z | #include "cts/codegen/CodeGen.hpp"
#include "cts/infra/QueryGraph.hpp"
#include "cts/parser/SPARQLLexer.hpp"
#include "cts/parser/SPARQLParser.hpp"
#include "cts/parser/TurtleParser.hpp"
#include "cts/plangen/PlanGen.hpp"
#include "cts/semana/SemanticAnalysis.hpp"
#include "infra/osdep/Timestamp.hpp"
#include "rts/data... | 32.890526 | 127 | 0.560008 | [
"object",
"vector",
"transform"
] |
984dc8b6602a0da800c22ab2ae817faa149abe95 | 8,217 | cpp | C++ | android-31/android/widget/ScrollView.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-30/android/widget/ScrollView.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/widget/ScrollView.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../content/Context.hpp"
#include "../graphics/Canvas.hpp"
#include "../graphics/Rect.hpp"
#include "../view/KeyEvent.hpp"
#include "../view/MotionEvent.hpp"
#include "../view/View.hpp"
#include "../view/ViewGroup_LayoutParams.hpp"
#include "../../JString.hpp"
#include "./ScrollView.hpp"
namespace android::wi... | 21.342857 | 128 | 0.676524 | [
"object"
] |
9858ee95999d28173790b0df06f1065803488f57 | 18,413 | cpp | C++ | opengl/src/main.cpp | sp4ghet/pbr | 842e91ac0aceb20b88d82e0b9a3436f8981eecbe | [
"MIT"
] | 14 | 2020-09-12T20:49:12.000Z | 2021-11-14T17:12:23.000Z | opengl/src/main.cpp | sp4ghet/pbr | 842e91ac0aceb20b88d82e0b9a3436f8981eecbe | [
"MIT"
] | null | null | null | opengl/src/main.cpp | sp4ghet/pbr | 842e91ac0aceb20b88d82e0b9a3436f8981eecbe | [
"MIT"
] | null | null | null |
#include "camera.h"
#include "glad/glad.h"
#include "glfw3/glfw3.h"
#include "shader.h"
#include "stb/stb_image.h"
#include <cstdio>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <math.h>
#include <mesh.h>
#include <model.h>
#include <vector>
void framebuffer_size_callback(GLFWwindow *window... | 36.103922 | 107 | 0.65595 | [
"mesh",
"render",
"vector",
"model"
] |
986e994caf26d16bcd52d3d615b6de50d0ade141 | 3,070 | cpp | C++ | demo/hunter_demo/hunter_robot_demo.cpp | ihrabar/ugv_sdk | 85e4757c165d57d01714c2cb44d045dd2f4a2422 | [
"Apache-2.0"
] | 19 | 2020-10-25T23:19:10.000Z | 2022-03-31T07:44:30.000Z | demo/hunter_demo/hunter_robot_demo.cpp | ihrabar/ugv_sdk | 85e4757c165d57d01714c2cb44d045dd2f4a2422 | [
"Apache-2.0"
] | 6 | 2021-01-13T02:20:01.000Z | 2022-03-15T15:27:35.000Z | demo/hunter_demo/hunter_robot_demo.cpp | ihrabar/ugv_sdk | 85e4757c165d57d01714c2cb44d045dd2f4a2422 | [
"Apache-2.0"
] | 17 | 2021-04-19T07:56:07.000Z | 2022-02-28T02:11:25.000Z | /*
* hunter_robot_demo.cpp
*
* Created on: Jul 08, 2021 11:12
* Description:
*
* Copyright (c) 2021 Weston Robot Pte. Ltd.
*/
#include <unistd.h>
#include <memory>
#include <iostream>
#include "ugv_sdk/mobile_robot/hunter_robot.hpp"
#include "ugv_sdk/utilities/protocol_detector.hpp"
using namespace westonrob... | 30.39604 | 79 | 0.590879 | [
"object"
] |
9876d2c47c8d7f9cedb7c33e0b394697a0c8fe5a | 2,639 | cpp | C++ | src/Primitive.cpp | joshbainbridge/morphogenetic-sim | 36b80621f44a4f259def430737baf6cbb62891b8 | [
"MIT"
] | 1 | 2016-06-03T04:35:45.000Z | 2016-06-03T04:35:45.000Z | src/Primitive.cpp | joshbainbridge/morphogenetic-sim | 36b80621f44a4f259def430737baf6cbb62891b8 | [
"MIT"
] | null | null | null | src/Primitive.cpp | joshbainbridge/morphogenetic-sim | 36b80621f44a4f259def430737baf6cbb62891b8 | [
"MIT"
] | null | null | null | #include <Primitive.h>
Primitive::Primitive(boost::shared_ptr<ShapeInterface> _shape, boost::shared_ptr<Material> _material)
{
m_shape = _shape;
m_material = _material;
m_primitive_count = 0;
m_transform <<
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1;
m_aabb.updateAabb(Aabb(m_shape->AABBmin(), m... | 26.128713 | 138 | 0.679045 | [
"shape"
] |
988ae3e56d7d7b9861a46e8be8632a7632c447a7 | 108 | cpp | C++ | src/KeyboardEvent.cpp | obscurelyme/SDLVulkanRenderer | 0036a982c486a2816df963250bde24e5fa6ec4d7 | [
"MIT"
] | null | null | null | src/KeyboardEvent.cpp | obscurelyme/SDLVulkanRenderer | 0036a982c486a2816df963250bde24e5fa6ec4d7 | [
"MIT"
] | null | null | null | src/KeyboardEvent.cpp | obscurelyme/SDLVulkanRenderer | 0036a982c486a2816df963250bde24e5fa6ec4d7 | [
"MIT"
] | null | null | null | #include "KeyboardEvent.hpp"
std::vector<SDLKeyboardEventListener*> SDLKeyboardEventListener::_listeners{}; | 36 | 78 | 0.833333 | [
"vector"
] |
989ec00fa4b633a25246e6e2649b72f05e7973a6 | 6,046 | cpp | C++ | HW3/edemirci_Demirci_Emre_HW3.cpp | edemirci191/CS204-Homeworks | 138ace62ddbf24c98e653530aa04cceb59e3559e | [
"MIT"
] | null | null | null | HW3/edemirci_Demirci_Emre_HW3.cpp | edemirci191/CS204-Homeworks | 138ace62ddbf24c98e653530aa04cceb59e3559e | [
"MIT"
] | null | null | null | HW3/edemirci_Demirci_Emre_HW3.cpp | edemirci191/CS204-Homeworks | 138ace62ddbf24c98e653530aa04cceb59e3559e | [
"MIT"
] | null | null | null | //***********************************************
// This program stores credit card information( number, month , year) in a given txt file using linkedlists
// This code is written by Emre Demirci, 26531
// Start Date : Unknown
// End Date : 3/11/2020
// Known Bugs : None, however if user enters a number like 1... | 35.151163 | 165 | 0.564836 | [
"object",
"vector"
] |
98a6ac5d0abef8d0606bdfb6d445edafbb2d5c6e | 7,008 | cpp | C++ | problems/codeforces/1402/b-roads/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | 7 | 2020-10-15T22:37:10.000Z | 2022-02-26T17:23:49.000Z | problems/codeforces/1402/b-roads/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | problems/codeforces/1402/b-roads/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#ifdef LOCAL
#include "code/formatting.hpp"
#else
#define debug(...) (void)0
#endif
using namespace std;
struct P {
using T = int32_t; // points, vectors, coefs, manh -- integer/frac/double
using L = int64_t; // cross, dot, dist2, norm2 -- integer/frac/double
using H = __int... | 33.5311 | 90 | 0.495006 | [
"vector"
] |
0b08243d84c132b8424b27638e9c620fd1e0429d | 5,649 | hpp | C++ | include/System/Resources/ResourceLocator.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Resources/ResourceLocator.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Resources/ResourceLocator.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Completed includes
// Be... | 47.470588 | 183 | 0.714994 | [
"object",
"vector"
] |
0b0b23d1ed3291c17c1aba061f231ae8129a8dcb | 2,395 | hpp | C++ | user/WBC_Controller/WBC_States/WBICTrot/WBICTrotTest.hpp | NmBoyd/Cheetah-Software | 05e416fb26f968300826f0deb0953be9afb22bfe | [
"MIT"
] | 1 | 2020-05-24T23:55:27.000Z | 2020-05-24T23:55:27.000Z | user/WBC_Controller/WBC_States/WBICTrot/WBICTrotTest.hpp | WatsonZhouAnda/Cheetah-Software | 05e416fb26f968300826f0deb0953be9afb22bfe | [
"MIT"
] | null | null | null | user/WBC_Controller/WBC_States/WBICTrot/WBICTrotTest.hpp | WatsonZhouAnda/Cheetah-Software | 05e416fb26f968300826f0deb0953be9afb22bfe | [
"MIT"
] | 1 | 2020-05-24T19:52:56.000Z | 2020-05-24T19:52:56.000Z | #ifndef WBIC_TROT_TEST_Cheetah
#define WBIC_TROT_TEST_Cheetah
#include <Dynamics/Quadruped.h>
#include <Utilities/filters.h>
#include <WBC_States/Test.hpp>
#include <lcm-cpp.hpp>
#include <thread>
#include "vision_data_t.hpp"
#include "wbc_test_data_t.hpp"
template <typename T>
class StateProvider;
template <typenam... | 24.191919 | 79 | 0.74739 | [
"vector"
] |
0b0cf191d94dea36d143e4c678118936ca735bc4 | 4,241 | cc | C++ | Chapter06/sharkml/sharkml-dr.cc | bdonkey/Hands-On-Machine-Learning-with-CPP | d2b17abeb48db3d45369fdb1be806682ab9819ed | [
"MIT"
] | 201 | 2020-05-13T12:50:50.000Z | 2022-03-27T20:56:11.000Z | Chapter06/sharkml/sharkml-dr.cc | bdonkey/Hands-On-Machine-Learning-with-CPP | d2b17abeb48db3d45369fdb1be806682ab9819ed | [
"MIT"
] | 1 | 2021-05-12T10:01:40.000Z | 2021-05-14T19:35:05.000Z | Chapter06/sharkml/sharkml-dr.cc | bdonkey/Hands-On-Machine-Learning-with-CPP | d2b17abeb48db3d45369fdb1be806682ab9819ed | [
"MIT"
] | 63 | 2020-06-05T15:03:39.000Z | 2022-02-22T02:07:09.000Z | #include <plot.h>
#define SHARK_CV_VERBOSE 1
#include <shark/Algorithms/Trainers/LDA.h>
#include <shark/Algorithms/Trainers/PCA.h>
#include <shark/Data/Csv.h>
#include <shark/Data/Dataset.h>
#include <shark/Models/Kernels/GaussianRbfKernel.h>
#include <experimental/filesystem>
#include <iostream>
#include <unordered_... | 30.292857 | 80 | 0.651026 | [
"vector"
] |
0b0d8f39d1655579e0bf7f5f3c83fddf4c9f62e2 | 10,199 | cpp | C++ | dnx-dev/src/dnx/dnx.cpp | cemoses/aspnet | b67c6a9c821627dcbe67ac814e625cfb726dc735 | [
"Apache-2.0"
] | null | null | null | dnx-dev/src/dnx/dnx.cpp | cemoses/aspnet | b67c6a9c821627dcbe67ac814e625cfb726dc735 | [
"Apache-2.0"
] | null | null | null | dnx-dev/src/dnx/dnx.cpp | cemoses/aspnet | b67c6a9c821627dcbe67ac814e625cfb726dc735 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#include "stdafx.h"
#include <vector>
#include "pal.h"
#include "utils.h"
#include "app_main.h"
bool strings_equal_ignore_case(const dnx::char_t* s1, c... | 32.794212 | 144 | 0.651044 | [
"vector"
] |
0b0e53686c8536bda7252cffac506b41a6c3851d | 7,133 | cpp | C++ | src/utils/fieldinfo/main.cpp | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | src/utils/fieldinfo/main.cpp | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | src/utils/fieldinfo/main.cpp | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | #include <grid.h>
#include <field.h>
#include <elem.h>
#include <diffreader.h>
#include <diffsimu.h>
#include <stdio.h>
#include <vector>
#include <geom.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
void printHelp()
{
printf("usage: fieldinfo [-g grid_name] [-gn grid_nr] [-P px py pz] [-L L1x L1y L1z L... | 21.813456 | 112 | 0.512407 | [
"vector"
] |
0b13a1847a3ac3f5d09230d43d7ece17d6d85be1 | 1,745 | cpp | C++ | test/table/tuple_test.cpp | gigimushroom/DatabaseBackendEngine | 9cb22617a8de14ea6e6136614e6d91842aa06984 | [
"MIT"
] | 19 | 2018-10-14T08:16:20.000Z | 2022-01-17T11:40:05.000Z | test/table/tuple_test.cpp | YiYeHuang/DatabaseBackendEngine | 9cb22617a8de14ea6e6136614e6d91842aa06984 | [
"MIT"
] | 9 | 2018-09-03T01:09:57.000Z | 2018-10-05T19:20:26.000Z | test/table/tuple_test.cpp | YiYeHuang/DatabaseBackendEngine | 9cb22617a8de14ea6e6136614e6d91842aa06984 | [
"MIT"
] | 5 | 2018-09-24T05:14:12.000Z | 2020-06-30T00:36:09.000Z | /**
* tuple_test.cpp
*/
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
#include "buffer/buffer_pool_manager.h"
#include "logging/common.h"
#include "table/table_heap.h"
#include "table/tuple.h"
#include "vtable/virtual_table.h"
#include "gtest/gtest.h"
namespace cmud... | 26.846154 | 69 | 0.667049 | [
"vector"
] |
0b19973de6299fef600571733fe1f9d7285fda35 | 12,683 | cpp | C++ | src/BabylonImGui/src/inspector/components/actiontabs/tabs/property_grid_tab_component.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | null | null | null | src/BabylonImGui/src/inspector/components/actiontabs/tabs/property_grid_tab_component.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | null | null | null | src/BabylonImGui/src/inspector/components/actiontabs/tabs/property_grid_tab_component.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | null | null | null | #include <babylon/inspector/components/actiontabs/tabs/property_grid_tab_component.h>
#include <imgui.h>
#include <babylon/bones/skeleton.h>
#include <babylon/engines/scene.h>
#include <babylon/inspector/components/actiontabs/tabs/propertygrids/cameras/arc_rotate_camera_property_grid_component.h>
#include <babylon/in... | 37.973054 | 138 | 0.727588 | [
"mesh",
"render"
] |
0b1da6c017265a88be6ad5583b00f6ff66e33502 | 3,692 | cpp | C++ | src/qt_gui/objreader.cpp | jung1981/linux-track | 92db912deb9dafe40aa30b00223ed065c9e334aa | [
"MIT"
] | 136 | 2015-07-17T07:48:39.000Z | 2022-03-11T21:42:58.000Z | src/qt_gui/objreader.cpp | rfvizarra/linuxtrack | b8e788587362634ad4485399c5531945a0ed666b | [
"MIT"
] | 91 | 2015-07-24T00:40:33.000Z | 2022-03-31T13:15:49.000Z | src/qt_gui/objreader.cpp | rfvizarra/linuxtrack | b8e788587362634ad4485399c5531945a0ed666b | [
"MIT"
] | 27 | 2015-08-10T14:10:03.000Z | 2022-03-08T14:55:05.000Z | #include <iostream>
#include <QFile>
#include <QRegExp>
#include <QTextStream>
#include "objreader.h"
#include "pathconfig.h"
#include "ltr_gui_prefs.h"
int cnt = 0;
int vcnt = 0;
int tcnt = 0;
object_t object;
std::vector<object_t> object_table;
static void add_vertex(float x, float y, float z,
fl... | 30.262295 | 164 | 0.597508 | [
"object",
"vector"
] |
0b2543a2b8e8281c5059ecfde80612aba8ee0f16 | 13,753 | cpp | C++ | Engine/GameObject.cpp | CapitanLiteral/Wingman | f4e0ef00d3e5190c2d41591a8280402ca482f585 | [
"MIT"
] | null | null | null | Engine/GameObject.cpp | CapitanLiteral/Wingman | f4e0ef00d3e5190c2d41591a8280402ca482f585 | [
"MIT"
] | 3 | 2016-10-31T14:33:02.000Z | 2016-10-31T23:46:30.000Z | Engine/GameObject.cpp | CapitanLiteral/Wingman | f4e0ef00d3e5190c2d41591a8280402ca482f585 | [
"MIT"
] | null | null | null | #include "Application.h"
#include "Globals.h"
#include "GameObjectManager.h"
#include "SDL\include\SDL.h"
#include "GameObject.h"
#include "ComponentMaterial.h"
#include "ComponentMesh.h"
#include "ComponentCamera.h"
#include "Component.h"
#include "MathGeoLib\include\MathGeoLib.h"
#include "OpenGL.h"
#include <string... | 21.422118 | 127 | 0.649313 | [
"mesh",
"vector",
"transform"
] |
0b291493dbe80535b38b855ae8bf8e7f5df92183 | 14,555 | cpp | C++ | src/configure/Process.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | 1 | 2015-11-13T10:37:35.000Z | 2015-11-13T10:37:35.000Z | src/configure/Process.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | 19 | 2015-02-10T17:18:58.000Z | 2015-07-11T11:31:08.000Z | src/configure/Process.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | null | null | null | #include "Process.hpp"
#include "log.hpp"
#include "Filesystem.hpp"
#include "quote.hpp"
#include "error.hpp"
#include <boost/config.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/iostreams/stream.hpp>
#include <boost/iostreams/device/file_descriptor.hpp>
#include <cassert>
#include <stdexcept>
#incl... | 26.084229 | 84 | 0.620474 | [
"vector"
] |
0b2a3dc78de5fc3f6f19e07cb9cf18d38279cc8a | 7,273 | cpp | C++ | applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_DEBUG_PARTICLES_2D.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_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_DEBUG_PARTICLES_2D.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_DEBUG_PARTICLES_2D.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | //#####################################################################
// Copyright 2010.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
#include <PhysBAM_Too... | 39.743169 | 168 | 0.539667 | [
"object",
"vector"
] |
0b2d6ee4c82ce2e077a5cea0507a63365e6ea654 | 3,869 | cpp | C++ | test/unit/src/PolyLineTest.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 3,494 | 2015-01-02T08:42:09.000Z | 2022-03-31T14:16:23.000Z | test/unit/src/PolyLineTest.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 1,284 | 2015-01-02T07:31:47.000Z | 2022-03-30T02:06:43.000Z | test/unit/src/PolyLineTest.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 780 | 2015-01-02T22:14:29.000Z | 2022-03-30T00:16:56.000Z | #include "cinder/app/App.h"
#include "cinder/PolyLine.h"
#include "catch.hpp"
using namespace ci;
using namespace ci::app;
using namespace std;
TEST_CASE("PolyLine2f")
{
SECTION("reverse")
{
vector<vec2> input( { vec2( 1, 2 ), vec2( 3, 4 ) } );
PolyLine2f p1( input );
p1.reverse();
CHECK( p1.getPoints()[... | 21.142077 | 95 | 0.581804 | [
"vector"
] |
0b321910a07be7748b259ca274fca432eb8bd73b | 5,207 | cpp | C++ | Tools/Tools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp | VincentWei/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | Tools/Tools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | null | null | null | Tools/Tools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-17T06:02:42.000Z | 2018-09-19T10:08:38.000Z | /*
* Copyright (C) 2007 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 30.994048 | 132 | 0.733436 | [
"object"
] |
0b3297e10bf3a7af24bf6ca2fdb7f30a74ab7af3 | 1,145 | cpp | C++ | src/float32array.cpp | colinbdclark/node-dsp | 840bf5ecad5b4ce7be8a421160163597317d451f | [
"MIT"
] | 1 | 2019-03-05T16:52:41.000Z | 2019-03-05T16:52:41.000Z | src/float32array.cpp | colinbdclark/node-dsp | 840bf5ecad5b4ce7be8a421160163597317d451f | [
"MIT"
] | null | null | null | src/float32array.cpp | colinbdclark/node-dsp | 840bf5ecad5b4ce7be8a421160163597317d451f | [
"MIT"
] | null | null | null | #include <node.h>
#include "float32array.h"
using namespace v8;
Float32Array::Float32Array (Local<Object> obj) :
data(NULL),
length(0)
{
init(obj);
}
Float32Array::Float32Array (Local<Value> val) :
data(NULL),
length(0)
{
if (!val->IsObject()) return;
init(val->ToObject());
}
Local<Object> Float32Array::New... | 23.854167 | 73 | 0.727511 | [
"object"
] |
0b36a99fc0fe1bf25f86f57bd84067cb69c5b422 | 11,150 | cpp | C++ | src/PhilipsHueDSB/BridgeRT/AllJoynAbout.cpp | TheSuperShoe/IoT-Experiments | 20fdc0075735ae2a9351f481a0067cfc6bd47947 | [
"MIT"
] | 1,433 | 2015-04-30T09:26:53.000Z | 2022-03-26T12:44:12.000Z | AllJoyn/Platform/BridgeRT/AllJoynAbout.cpp | LeCampusAzure/ms-iot-samples | c0da021a312a631c8a26771a0d203e0de80fc597 | [
"MIT"
] | 530 | 2015-05-02T09:12:48.000Z | 2018-01-03T17:52:01.000Z | AllJoyn/Platform/BridgeRT/AllJoynAbout.cpp | LeCampusAzure/ms-iot-samples | c0da021a312a631c8a26771a0d203e0de80fc597 | [
"MIT"
] | 1,878 | 2015-04-30T04:18:57.000Z | 2022-03-15T16:51:17.000Z | //
// Copyright (c) 2015, Microsoft Corporation
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | 27.59901 | 130 | 0.68296 | [
"object",
"vector"
] |
0b392bfe1fd211c9f9ffd5e2c10e09ce1fff6384 | 7,598 | hh | C++ | aspects/fluid/source/test/UtGunnsFluidSimpleH2Redox.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 18 | 2020-01-23T12:14:09.000Z | 2022-02-27T22:11:35.000Z | aspects/fluid/source/test/UtGunnsFluidSimpleH2Redox.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 39 | 2020-11-20T12:19:35.000Z | 2022-02-22T18:45:55.000Z | aspects/fluid/source/test/UtGunnsFluidSimpleH2Redox.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 7 | 2020-02-10T19:25:43.000Z | 2022-03-16T01:10:00.000Z | #ifndef UtGunnsFluidSimpleH2Redox_EXISTS
#define UtGunnsFluidSimpleH2Redox_EXISTS
////////////////////////////////////////////////////////////////////////////////////////////////////
/// @defgroup UT_TSM_GUNNS_FLUID_SOURCE_SIMPLE_H2_REDOX Simple H2 Redox Unit Tests
/// @ingroup UT_TSM_GUNNS_FLUID_SOURCE
///
/// @co... | 58.446154 | 126 | 0.504475 | [
"vector",
"model"
] |
0b3e64211e9da5f5099b73bffe01ede79522762b | 29,601 | cpp | C++ | Editor/Project_Json.cpp | humdingerb/Medo | 61616300a5379e4985cb44dd41af512345e3289c | [
"MIT"
] | 95 | 2020-12-23T02:35:35.000Z | 2022-02-20T19:30:13.000Z | Editor/Project_Json.cpp | humdingerb/Medo | 61616300a5379e4985cb44dd41af512345e3289c | [
"MIT"
] | 21 | 2020-12-23T05:01:36.000Z | 2022-01-11T08:38:26.000Z | Editor/Project_Json.cpp | humdingerb/Medo | 61616300a5379e4985cb44dd41af512345e3289c | [
"MIT"
] | 8 | 2020-12-23T04:47:34.000Z | 2021-08-29T17:18:56.000Z | /* PROJECT: Medo
* AUTHORS: Zenja Solaja, Melbourne Australia
* COPYRIGHT: Zen Yes Pty Ltd, 2019-2021
* DESCRIPTION: Project data
*/
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <support/String.h>
#include <support/SupportDefs.h>
#include <interface/Alert.h>
#include "rapidjson/document.h"... | 30.39117 | 141 | 0.63758 | [
"object",
"vector"
] |
0b3ec0bf7fcd2b1d1b962f71f433addbe6142f38 | 1,613 | hpp | C++ | OREData/ored/portfolio/builders/yoycapfloor.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 335 | 2016-10-07T16:31:10.000Z | 2022-03-02T07:12:03.000Z | OREData/ored/portfolio/builders/yoycapfloor.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 59 | 2016-10-31T04:20:24.000Z | 2022-01-03T16:39:57.000Z | OREData/ored/portfolio/builders/yoycapfloor.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 180 | 2016-10-08T14:23:50.000Z | 2022-03-28T10:43:05.000Z | /*
Copyright (C) 2018 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 33.604167 | 101 | 0.774954 | [
"model"
] |
0b4225d1c80d63613d5c5b30abe3ad3a810c0c44 | 13,931 | cpp | C++ | test/chainer_trt.cpp | tkerola/chainer-trt | 4e1adc0370e11ad7736a5fafdfd5aeca168c700e | [
"MIT"
] | null | null | null | test/chainer_trt.cpp | tkerola/chainer-trt | 4e1adc0370e11ad7736a5fafdfd5aeca168c700e | [
"MIT"
] | null | null | null | test/chainer_trt.cpp | tkerola/chainer-trt | 4e1adc0370e11ad7736a5fafdfd5aeca168c700e | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2018 Preferred Networks, Inc. All rights reserved.
*/
#include <gtest/gtest.h>
#include "chainer_trt/chainer_trt.hpp"
#include "test_helper.hpp"
class ChainerTRT_HPP_Test : public ::testing::Test {};
TEST_F(ChainerTRT_HPP_Test, MakeDims) {
auto t = chainer_trt::internal::make_dims(10, 20, 3... | 36.564304 | 80 | 0.61295 | [
"vector",
"model"
] |
0b4755c58e1f0d4a24b9e710e773864bec6a568b | 877 | hpp | C++ | 12/passage_pathing.hpp | ComicSansMS/AdventOfCode2021 | 60902d14c356c3375266703e85aca991241afc84 | [
"Unlicense"
] | null | null | null | 12/passage_pathing.hpp | ComicSansMS/AdventOfCode2021 | 60902d14c356c3375266703e85aca991241afc84 | [
"Unlicense"
] | null | null | null | 12/passage_pathing.hpp | ComicSansMS/AdventOfCode2021 | 60902d14c356c3375266703e85aca991241afc84 | [
"Unlicense"
] | null | null | null | #ifndef ADVENT_OF_CODE_12_PASSAGE_PATHING_INCLUDE_GUARD
#define ADVENT_OF_CODE_12_PASSAGE_PATHING_INCLUDE_GUARD
#include <fmt/format.h>
#include <array>
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
struct Cave {
std::string name;
bool isBig;
std::vector<std::size_t> neigh... | 19.488889 | 63 | 0.710376 | [
"vector"
] |
0b478cce7b26d23648f05dab3cea4b4d3874bb66 | 2,377 | cc | C++ | gazebo/physics/BoxShape.cc | SamFerwerda/Gazebo10-commits | b33ac5982fb75cac894fa145f7268146d44e0724 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-06-19T14:52:45.000Z | 2020-11-05T10:25:10.000Z | gazebo/physics/BoxShape.cc | SamFerwerda/Gazebo10-commits | b33ac5982fb75cac894fa145f7268146d44e0724 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-06-04T10:26:04.000Z | 2020-06-04T10:26:04.000Z | gazebo/physics/BoxShape.cc | SamFerwerda/Gazebo10-commits | b33ac5982fb75cac894fa145f7268146d44e0724 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-11-10T07:19:09.000Z | 2019-11-21T19:11:11.000Z | /*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* 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 appl... | 26.707865 | 75 | 0.564577 | [
"geometry",
"shape"
] |
0b47d6064d7904ff710762adedef65b1752fe519 | 8,079 | cc | C++ | cros-disks/sandboxed_process.cc | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | cros-disks/sandboxed_process.cc | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | cros-disks/sandboxed_process.cc | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cros-disks/sandboxed_process.h"
#include <utility>
#include <stdlib.h>
#include <sys/mount.h>
#include <sys/wait.h>
#include <unistd.h... | 28.149826 | 80 | 0.680777 | [
"vector"
] |
0b4e545bf7123e92d142a113930a592d2eb15ad2 | 19,018 | cpp | C++ | rcnn/rcnn.cpp | khoiucd/tensorrtx | 79d1db19b93600cfc5355e541f604ff1e09124e4 | [
"MIT"
] | null | null | null | rcnn/rcnn.cpp | khoiucd/tensorrtx | 79d1db19b93600cfc5355e541f604ff1e09124e4 | [
"MIT"
] | null | null | null | rcnn/rcnn.cpp | khoiucd/tensorrtx | 79d1db19b93600cfc5355e541f604ff1e09124e4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <opencv2/opencv.hpp>
#include "backbone.hpp"
#include "RpnDecodePlugin.h"
#include "RpnNmsPlugin.h"
#include "RoiAlignPlugin.h"
#include "PredictorDecodePlugin.h"
#include "BatchedNmsPlugin.h"
#include "calibrator.hpp"
#define DEVICE 0
#define BATCH_SIZE 1
#define BACKBONE_RESNETTYPE R50
/... | 40.723769 | 120 | 0.654222 | [
"shape",
"vector",
"model"
] |
0b575f5fef6c955ccff4e73ea87dd68eb1bd8ad7 | 13,936 | cpp | C++ | services/ces/src/common_event_subscriber_manager.cpp | openharmony-sig-ci/notification_ces_standard | 658c1a312da2d100f4c223d85bf0759b55163b42 | [
"Apache-2.0"
] | null | null | null | services/ces/src/common_event_subscriber_manager.cpp | openharmony-sig-ci/notification_ces_standard | 658c1a312da2d100f4c223d85bf0759b55163b42 | [
"Apache-2.0"
] | null | null | null | services/ces/src/common_event_subscriber_manager.cpp | openharmony-sig-ci/notification_ces_standard | 658c1a312da2d100f4c223d85bf0759b55163b42 | [
"Apache-2.0"
] | 1 | 2021-09-13T12:06:55.000Z | 2021-09-13T12:06:55.000Z | /*
* Copyright (c) 2021 Huawei Device 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 law ... | 34.325123 | 120 | 0.653487 | [
"vector"
] |
0b5ec4857ac13d8199c2bcf9bf796e0a092c023c | 6,591 | hh | C++ | packages/SPn/solvers/StratimikosSolver.t.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 19 | 2015-06-04T09:02:41.000Z | 2021-04-27T19:32:55.000Z | packages/SPn/solvers/StratimikosSolver.t.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | null | null | null | packages/SPn/solvers/StratimikosSolver.t.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 5 | 2016-10-05T20:48:28.000Z | 2021-06-21T12:00:54.000Z | //----------------------------------*-C++-*----------------------------------//
/*!
* \file SPn/solvers/StratimikosSolver.t.hh
* \author Chris Baker
* \date Thu May 17 14:18:09 2012
* \brief StratimikosSolver template member definitions
* \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, ... | 31.84058 | 84 | 0.564406 | [
"object",
"vector"
] |
0b5f8e291957b93d5ce1e7c00c34514e806b4c21 | 15,197 | cc | C++ | multidim_image_augmentation/ops/apply_deformation_ops.cc | zhongzisha/multidim-image-augmentation | 4927015902fd20d395b5a1fe1b4caab2278e52ea | [
"Apache-2.0"
] | 122 | 2018-11-30T13:07:35.000Z | 2022-01-27T13:25:32.000Z | multidim_image_augmentation/ops/apply_deformation_ops.cc | zhongzisha/multidim-image-augmentation | 4927015902fd20d395b5a1fe1b4caab2278e52ea | [
"Apache-2.0"
] | 20 | 2018-12-26T04:30:32.000Z | 2021-02-04T13:52:32.000Z | multidim_image_augmentation/ops/apply_deformation_ops.cc | LaudateCorpus1/multidim-image-augmentation | 7a180ec02fba2aac98f89cfff6fa6b647484d7cc | [
"Apache-2.0"
] | 25 | 2018-11-30T13:08:32.000Z | 2022-02-04T17:55:20.000Z | // Copyright 2018 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 47.342679 | 80 | 0.737514 | [
"shape",
"vector",
"3d"
] |
0b66fd78500cfb4350be8168ce78a33c96ab0166 | 568 | cpp | C++ | A_Anton_and_Polyhedrons.cpp | ar1936/CPP | 4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13 | [
"MIT"
] | 1 | 2021-04-20T13:49:56.000Z | 2021-04-20T13:49:56.000Z | A_Anton_and_Polyhedrons.cpp | ar1936/cpp | 4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13 | [
"MIT"
] | null | null | null | A_Anton_and_Polyhedrons.cpp | ar1936/cpp | 4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n, sum=0;
cin>>n;
vector <string>v;
string s;
for(int i=0;i<n;i++)
{
cin>>s;
v.push_back(s);
}
for(int i=0;i<v.size();i++)
{
if(v[i]=="Icosahedron")
sum+=20;
else i... | 18.933333 | 38 | 0.410211 | [
"vector"
] |
0b68e47633790e934a53c8df7278e0947d40373e | 26,120 | cpp | C++ | fallen/Editor/Source/MapTab.cpp | jordandavidson/MuckyFoot-UrbanChaos | 00f7bda3f061bff9ecbb611d430f8f71bd557d14 | [
"MIT"
] | 188 | 2017-05-20T03:26:33.000Z | 2022-03-10T16:58:39.000Z | fallen/Editor/Source/MapTab.cpp | jordandavidson/MuckyFoot-UrbanChaos | 00f7bda3f061bff9ecbb611d430f8f71bd557d14 | [
"MIT"
] | 7 | 2017-05-28T14:28:13.000Z | 2022-01-09T01:47:38.000Z | fallen/Editor/Source/MapTab.cpp | inco1/MuckyFoot-UrbanChaos | 81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390 | [
"MIT"
] | 43 | 2017-05-20T07:31:32.000Z | 2022-03-09T18:39:35.000Z | #include "Editor.hpp"
#include "MapTab.hpp"
#include "engine.h"
//#include "collide.hpp"
static counter;
//#define ShowWorkWindow(x) {DrawLineC(0+(counter-1)&255,0,WorkWindowWidth-1,WorkWindowHeight-1,0);DrawLineC(0+(counter++)&255,0,WorkWindowWidth-1,WorkWindowHeight-1,255);DrawLineC(0,WorkWindowHeight-1,WorkWind... | 22.363014 | 248 | 0.68124 | [
"mesh"
] |
0b6b221289cd2ed726fb1cf9dde40c60a7fa825a | 14,055 | cpp | C++ | mp/src/game/server/hl2rp/hl2_roleplayer.cpp | HL2RP/HL2RP | 7f8570785a106e66036d014bcb4e6bd669421b97 | [
"Unlicense"
] | 2 | 2018-07-15T21:40:41.000Z | 2022-01-29T15:18:29.000Z | mp/src/game/server/hl2rp/hl2_roleplayer.cpp | HL2RP/HL2RP | 7f8570785a106e66036d014bcb4e6bd669421b97 | [
"Unlicense"
] | null | null | null | mp/src/game/server/hl2rp/hl2_roleplayer.cpp | HL2RP/HL2RP | 7f8570785a106e66036d014bcb4e6bd669421b97 | [
"Unlicense"
] | null | null | null | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
#include <cbase.h>
#include "hl2_roleplayer.h"
#include "hl2rp_gameinterface.h"
#include "trigger_city_zone.h"
#include <dal.h>
#include <player_dao.h>
#... | 28.11 | 119 | 0.759872 | [
"vector"
] |
0b762d45866d7025e7777e40d6f58608f2abe039 | 24,863 | cc | C++ | ns-3-dev/src/internet/model/ipv6-static-routing.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | 11 | 2015-11-24T11:07:28.000Z | 2021-12-23T04:10:29.000Z | ns-3-dev/src/internet/model/ipv6-static-routing.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | null | null | null | ns-3-dev/src/internet/model/ipv6-static-routing.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | 6 | 2016-03-01T06:32:21.000Z | 2022-03-24T19:31:41.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2007-2009 Strasbourg University
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This p... | 32.757576 | 172 | 0.631782 | [
"vector",
"model"
] |
0b79db3bb85156b780f70dd63ad6be794b3bb738 | 4,701 | cpp | C++ | gui/src/QMainCanvas.cpp | xbai0624/MPD_GEM_View_SSP | 823740845773c6b938159c40b8c04fb83a3a259f | [
"MIT"
] | null | null | null | gui/src/QMainCanvas.cpp | xbai0624/MPD_GEM_View_SSP | 823740845773c6b938159c40b8c04fb83a3a259f | [
"MIT"
] | null | null | null | gui/src/QMainCanvas.cpp | xbai0624/MPD_GEM_View_SSP | 823740845773c6b938159c40b8c04fb83a3a259f | [
"MIT"
] | null | null | null | #include "QMainCanvas.h"
#include <TH1F.h>
#include <TSystem.h>
#include <TStyle.h>
#include <iostream>
#include <QMouseEvent>
////////////////////////////////////////////////////////////////////////////////
// ctor
QMainCanvas::QMainCanvas(QWidget* parent) : QWidget(parent)
{
fCanvas = new QRootCanvas(this);
... | 25.005319 | 106 | 0.481174 | [
"vector"
] |
0b8b1cdfebbe30f81b726dbbdbb29ac7c2f22e61 | 3,480 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/graphics/CPoint.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/graphics/CPoint.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/graphics/CPoint.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 19.441341 | 75 | 0.567529 | [
"object"
] |
0b9171ad8047ddaef4eaf5c86ffd604bd04b671a | 2,609 | hpp | C++ | third_party/mockturtle/mockturtle/algorithms/exorcism.hpp | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 7 | 2020-03-13T17:08:01.000Z | 2021-11-17T11:43:58.000Z | third_party/mockturtle/mockturtle/algorithms/exorcism.hpp | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 2 | 2021-03-16T12:05:50.000Z | 2021-03-16T13:06:47.000Z | third_party/mockturtle/mockturtle/algorithms/exorcism.hpp | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 8 | 2020-02-13T18:05:55.000Z | 2021-03-16T11:12:33.000Z | /* mockturtle: C++ logic network library
* Copyright (C) 2018-2019 EPFL
*
* 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... | 32.6125 | 185 | 0.71215 | [
"vector"
] |
0ba02f9da3ad2e0969a0e3dfb683442c9ba0180b | 43,369 | cpp | C++ | src/ompl/geometric/planners/rrt/src/RRTstarConnect.cpp | rezamasha/ompl | f777209899a24702f081f83830956c6b6a62a9a8 | [
"BSD-3-Clause"
] | null | null | null | src/ompl/geometric/planners/rrt/src/RRTstarConnect.cpp | rezamasha/ompl | f777209899a24702f081f83830956c6b6a62a9a8 | [
"BSD-3-Clause"
] | null | null | null | src/ompl/geometric/planners/rrt/src/RRTstarConnect.cpp | rezamasha/ompl | f777209899a24702f081f83830956c6b6a62a9a8 | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2019, University of Malaya
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | 34.310918 | 175 | 0.61461 | [
"vector"
] |
243b061e10d077daa7878caab7872b5b0dd8d63f | 5,334 | cpp | C++ | src/tests/ascent/t_ascent_hola.cpp | xuanhuang1/ascent | 2a919cc1b28cbc1994321bcee47632376c96e1bb | [
"BSD-3-Clause"
] | null | null | null | src/tests/ascent/t_ascent_hola.cpp | xuanhuang1/ascent | 2a919cc1b28cbc1994321bcee47632376c96e1bb | [
"BSD-3-Clause"
] | null | null | null | src/tests/ascent/t_ascent_hola.cpp | xuanhuang1/ascent | 2a919cc1b28cbc1994321bcee47632376c96e1bb | [
"BSD-3-Clause"
] | 2 | 2018-02-28T14:15:23.000Z | 2018-07-05T18:30:07.000Z | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2015-2019, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-716457
//
// All rights reserved.
//
// This file is part of Ascent.
//
// For details, see:... | 32.925926 | 79 | 0.619423 | [
"mesh"
] |
243b164bd41b2cf1d8971d25681b36b95d10239b | 3,544 | cpp | C++ | third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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 "modules/worklet/WorkletGlobalScope.h"
#include "bindings/core/v8/WorkerOrWorkletScriptController.h"
#include "core/frame/FrameConsole.h"
#inclu... | 33.752381 | 186 | 0.764673 | [
"object"
] |
243cc53c00418763f477b4afc80155d68d961ec1 | 1,312 | cpp | C++ | src/Motor.cpp | ScaredStorm/SpaceGame | 136df0e173b07ebc3f6a0b7c2370edeb7c120af8 | [
"MIT"
] | null | null | null | src/Motor.cpp | ScaredStorm/SpaceGame | 136df0e173b07ebc3f6a0b7c2370edeb7c120af8 | [
"MIT"
] | null | null | null | src/Motor.cpp | ScaredStorm/SpaceGame | 136df0e173b07ebc3f6a0b7c2370edeb7c120af8 | [
"MIT"
] | null | null | null | #include "Motor.h"
Motor::Motor(int x, int y)
: Machine(x, y)
{
_type = MOTOR_BASIC;
info.name = "MOTOR";
info.maxEnergy = 0;
info.maxEnergyGeneration = 15;
info.maxEnergyUsage = 10;
info.maxFuel = (12 * (_type+1))*5;
info.maxFuelUsage = 5;
_maxCyl = 12 * (_type+1);
}
Motor::Motor(int x, in... | 15.807229 | 111 | 0.641006 | [
"render"
] |
24461419dc62c517244c421d390bbac17c0af6d9 | 10,975 | hpp | C++ | src/sdl1/SDLGraphics.hpp | LibreSprite/Dotto | 3d057875fd0e33d2a72add44c316af9fdc5be7c8 | [
"MIT"
] | 151 | 2021-12-28T21:22:42.000Z | 2022-03-30T13:53:28.000Z | src/sdl1/SDLGraphics.hpp | LibreSprite/Dotto | 3d057875fd0e33d2a72add44c316af9fdc5be7c8 | [
"MIT"
] | 9 | 2021-12-29T13:20:00.000Z | 2022-03-18T12:47:19.000Z | src/sdl1/SDLGraphics.hpp | Linux-Gamer/Dotto | ed722f0bbcbcb230b7c40977a5552cba81e5075d | [
"MIT"
] | 18 | 2021-12-28T19:58:49.000Z | 2022-03-31T16:38:14.000Z | // Copyright (c) 2021 LibreSprite Authors (cf. AUTHORS.md)
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <SDL/SDL.h>
#include <SDL/SDL_video.h>
#include <common/match.hpp>
#include <common/Rect.hpp>
#include <common/Surface.hpp>
#include ... | 34.190031 | 127 | 0.478178 | [
"vector"
] |
244c7d8e7ac320c2815100ea541fb876b3f34ce0 | 322 | cpp | C++ | 26_Remove_Duplicates_From_Sorted_Array/solution.cpp | bkbowie/LeetCode | 65a7e7eb16e68a2f5de1a85aa62e8235ff8fce21 | [
"MIT"
] | null | null | null | 26_Remove_Duplicates_From_Sorted_Array/solution.cpp | bkbowie/LeetCode | 65a7e7eb16e68a2f5de1a85aa62e8235ff8fce21 | [
"MIT"
] | null | null | null | 26_Remove_Duplicates_From_Sorted_Array/solution.cpp | bkbowie/LeetCode | 65a7e7eb16e68a2f5de1a85aa62e8235ff8fce21 | [
"MIT"
] | null | null | null | class Solution {
Public:
int removeDuplicates(vector<int>& nums) {
if ( nums.empty() ) return 0;
int index = 0;
for (int i = 0;i < nums.size();i++) {
if (nums[index] != nums[i]) {
nums[++index] = nums[i];
}
}
return index + 1;
}
}... | 20.125 | 45 | 0.428571 | [
"vector"
] |
244e1d009c4e5db14001308f72c9f576088d646d | 1,595 | hpp | C++ | src/index/chm/Neighbors.hpp | Matej-Chmel/approximate-knn | 4d29dc285f50fcdce1c3052472959f789c46cc70 | [
"MIT"
] | null | null | null | src/index/chm/Neighbors.hpp | Matej-Chmel/approximate-knn | 4d29dc285f50fcdce1c3052472959f789c46cc70 | [
"MIT"
] | null | null | null | src/index/chm/Neighbors.hpp | Matej-Chmel/approximate-knn | 4d29dc285f50fcdce1c3052472959f789c46cc70 | [
"MIT"
] | null | null | null | #pragma once
#include "Heap.hpp"
namespace chm {
/**
* Seznam sousedů.
*/
class Neighbors {
/**
* Ukazatel na začátek seznamu.
*/
std::vector<uint>::iterator beginIter;
/**
* Ukazatel na buňku s počtem sousedů.
*/
std::vector<uint>::iterator count;
/**
* Ukazatel na konec seznamu.
*/
... | 22.464789 | 91 | 0.628213 | [
"vector"
] |
244f369e10ee1034f9ee544fee63c27d3abdb295 | 2,135 | cpp | C++ | HDUOJ/4699/stack_dp.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2018-02-14T01:59:31.000Z | 2018-03-28T03:30:45.000Z | HDUOJ/4699/stack_dp.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | null | null | null | HDUOJ/4699/stack_dp.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2017-12-30T02:46:35.000Z | 2018-03-28T03:30:49.000Z | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <string>
#include <cstring>
#include <iomanip>
#include <climits>
#include <stack>
#include <queue>
#include <vector>
#include <set>
#include <map>
#include <functional>
#include <iterator>
using namespace std;
#define SIZE 1000010
l... | 23.461538 | 92 | 0.422951 | [
"vector"
] |
2461cbae5e5d39f72d0d32483f821522b36a20db | 1,882 | cpp | C++ | test/unit/math/rev/mat/fun/log_determinant_ldlt_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | test/unit/math/rev/mat/fun/log_determinant_ldlt_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | test/unit/math/rev/mat/fun/log_determinant_ldlt_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/rev/mat.hpp>
#include <gtest/gtest.h>
#include <test/unit/math/rev/mat/fun/util.hpp>
#include <test/unit/math/rev/mat/util.hpp>
#include <vector>
TEST(AgradRevMatrix, log_determinant_ldlt_diff) {
using stan::math::determinant;
using stan::math::fabs;
using stan::math::log;
using stan::math:... | 27.676471 | 71 | 0.643996 | [
"vector"
] |
246ef9147f8198ea9f3e635e656fc2141b225f03 | 3,400 | cpp | C++ | Grip or Slip/Motor2D/j1SceneChange.cpp | DavidTello1/Development | c12abdc8902ea87f1139174945fc4109a7c77313 | [
"MIT"
] | null | null | null | Grip or Slip/Motor2D/j1SceneChange.cpp | DavidTello1/Development | c12abdc8902ea87f1139174945fc4109a7c77313 | [
"MIT"
] | null | null | null | Grip or Slip/Motor2D/j1SceneChange.cpp | DavidTello1/Development | c12abdc8902ea87f1139174945fc4109a7c77313 | [
"MIT"
] | null | null | null | #include "p2Log.h"
#include "j1App.h"
#include "j1SceneChange.h"
#include "j1Render.h"
#include "j1Scene.h"
#include "j1Window.h"
#include "j1EntityController.h"
#include "j1Player.h"
#include "j1Map.h"
#include "j1Gui.h"
#include "Brofiler\Brofiler.h"
#include <math.h>
#include "SDL\include\SDL_render.h"
j1SceneChan... | 18.888889 | 102 | 0.656176 | [
"render"
] |
247ae84cd7812999d14bdee043d06ad7519f4353 | 1,064 | cpp | C++ | leetcode/binary_search/peak_index.cpp | codingpotato/algorithm-cpp | 793dc9e141000f48ea19c77ef0047923a7667358 | [
"MIT"
] | null | null | null | leetcode/binary_search/peak_index.cpp | codingpotato/algorithm-cpp | 793dc9e141000f48ea19c77ef0047923a7667358 | [
"MIT"
] | null | null | null | leetcode/binary_search/peak_index.cpp | codingpotato/algorithm-cpp | 793dc9e141000f48ea19c77ef0047923a7667358 | [
"MIT"
] | null | null | null | #include <doctest/doctest.h>
#include <climits>
#include <vector>
// 852. Peak Index in a Mountain Array
class Solution {
public:
int peakIndexInMountainArray(const std::vector<int>& A) {
int left = 0;
int right = A.size() - 1;
while (left < right) {
size_t mid = left + (right - left) / 2;
... | 28 | 61 | 0.585526 | [
"vector"
] |
247c0836c0ccf4d5c382f007135d9e33cc3ae1dc | 1,224 | cpp | C++ | src/vector.cpp | ebayboy/cpp_demos | b01df202c0285bf232900662d336505520d5d24d | [
"Apache-2.0"
] | null | null | null | src/vector.cpp | ebayboy/cpp_demos | b01df202c0285bf232900662d336505520d5d24d | [
"Apache-2.0"
] | null | null | null | src/vector.cpp | ebayboy/cpp_demos | b01df202c0285bf232900662d336505520d5d24d | [
"Apache-2.0"
] | null | null | null | /* vector usage */
#include <iostream>
#include <vector>
using namespace std;
static void show_arr(vector <int> & arr) {
int j;
cout << "func:" << __func__ << endl;
for (int j = 0; j < arr.size(); j++) {
cout << arr[j] << endl;
}
cout << endl;
}
static void show_arr_with_it(vector <int> & arr) {
cout << ... | 16.32 | 50 | 0.478758 | [
"vector"
] |
247c12cec55d46869db11e3a7354022812197aa3 | 832 | cpp | C++ | contest-1004-495/c-v3-cpp/main.cpp | easimonenko/solution-problems-from-codeforces | 64251e0ba2c2ba619b0daf67f89f29b6dff8fd9f | [
"MIT"
] | 1 | 2018-12-03T02:06:05.000Z | 2018-12-03T02:06:05.000Z | contest-1004-495/c-v3-cpp/main.cpp | easimonenko/solution-problems-from-codeforces | 64251e0ba2c2ba619b0daf67f89f29b6dff8fd9f | [
"MIT"
] | null | null | null | contest-1004-495/c-v3-cpp/main.cpp | easimonenko/solution-problems-from-codeforces | 64251e0ba2c2ba619b0daf67f89f29b6dff8fd9f | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
void printv(vector<int> & v) {
cout << v[0];
for_each(v.begin() + 1, v.end(), [](auto elem) {
cout << ' ' << elem;
});
cout << endl;
}
int main() {
int n;
cin >> n;
vector<int> a(n);
for (int i = 0; i... | 15.407407 | 50 | 0.426683 | [
"vector"
] |
248091b15ca18bd992d43d804c14dbed940e1128 | 16,834 | cc | C++ | src/pb_tensor.cc | nskool/python_backend | 2b98842559055b4d2837dd972e2392683c846079 | [
"BSD-3-Clause"
] | null | null | null | src/pb_tensor.cc | nskool/python_backend | 2b98842559055b4d2837dd972e2392683c846079 | [
"BSD-3-Clause"
] | null | null | null | src/pb_tensor.cc | nskool/python_backend | 2b98842559055b4d2837dd972e2392683c846079 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021-2022, NVIDIA CORPORATION & AFFILIATES. 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... | 30.496377 | 80 | 0.706546 | [
"object",
"shape",
"vector"
] |
24830b021b4d133e304996b06e4364c178b768ec | 457 | hpp | C++ | Mike-Dev/Task.hpp | manilonis/Christmas-Break-Project | f4fb80709bc11cad50dc08397fe68c3b7f9d2bd1 | [
"MIT"
] | null | null | null | Mike-Dev/Task.hpp | manilonis/Christmas-Break-Project | f4fb80709bc11cad50dc08397fe68c3b7f9d2bd1 | [
"MIT"
] | null | null | null | Mike-Dev/Task.hpp | manilonis/Christmas-Break-Project | f4fb80709bc11cad50dc08397fe68c3b7f9d2bd1 | [
"MIT"
] | null | null | null | #include <string>
#include "User.hpp"
#include "Issue.hpp"
#include <vector>
using namespace std;
class Task{
private:
static int current_num;
int id_num;
string name;
string description;
User* assigned_to;
User* assigned_by;
vector<Issue*>* issues;
public:
Task(string, string, User*, User*);
Task(string, str... | 19.041667 | 53 | 0.706783 | [
"vector"
] |
24891e5732a078be12a4e43286b5d2cfaa4ca556 | 1,864 | hpp | C++ | Ca3DE/Client/Graphs.hpp | dns/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 3 | 2020-04-11T13:00:31.000Z | 2020-12-07T03:19:10.000Z | Ca3DE/Client/Graphs.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | null | null | null | Ca3DE/Client/Graphs.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 1 | 2020-04-11T13:00:04.000Z | 2020-04-11T13:00:04.000Z | /*
Cafu Engine, http://www.cafu.de/
Copyright (c) Carsten Fuchs and other contributors.
This project is licensed under the terms of the MIT license.
*/
#ifndef CAFU_CLIENT_GRAPHS_HPP_INCLUDED
#define CAFU_CLIENT_GRAPHS_HPP_INCLUDED
namespace MatSys { class RenderMaterialT; }
class GraphsT
{
public:
float ... | 38.040816 | 166 | 0.694742 | [
"render",
"solid"
] |
2490db29b7f7f8bc30ea592c05b9dc697984c40a | 305 | cpp | C++ | C++/minimum-value-to-get-positive-step-by-step-sum.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/minimum-value-to-get-positive-step-by-step-sum.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/minimum-value-to-get-positive-step-by-step-sum.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(n)
// Space: O(1)
class Solution {
public:
int minStartValue(vector<int>& nums) {
int min_prefix = 0, prefix = 0;
for (const auto& num : nums) {
prefix += num;
min_prefix = min(min_prefix, prefix);
}
return 1 - min_prefix;
}
};
| 20.333333 | 49 | 0.511475 | [
"vector"
] |
249149f5e728723c6b2faa41dce5f59482ee35d5 | 8,694 | cpp | C++ | vcgapps/OGF/image/algos/rasterizer.cpp | mattjr/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | 14 | 2015-01-11T02:53:04.000Z | 2021-11-25T17:31:22.000Z | vcgapps/OGF/image/algos/rasterizer.cpp | skair39/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | null | null | null | vcgapps/OGF/image/algos/rasterizer.cpp | skair39/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | 14 | 2015-07-21T04:47:52.000Z | 2020-03-12T12:31:25.000Z | /*
* GXML/Graphite: Geometry and Graphics Programming Library + Utilities
* Copyright (C) 2000 Bruno Levy
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lic... | 25.952239 | 77 | 0.398321 | [
"geometry"
] |
2492f860bc3e720682a9cae907906848d92ff6ff | 6,449 | hpp | C++ | base/context.hpp | wangg12/libskylark | e8836190be854d0284d38772c48e110b3c6d5e51 | [
"Apache-2.0"
] | 2 | 2021-06-12T07:26:43.000Z | 2021-06-12T07:26:47.000Z | base/context.hpp | cjiyer/libskylark | e8836190be854d0284d38772c48e110b3c6d5e51 | [
"Apache-2.0"
] | null | null | null | base/context.hpp | cjiyer/libskylark | e8836190be854d0284d38772c48e110b3c6d5e51 | [
"Apache-2.0"
] | null | null | null | #ifndef SKYLARK_CONTEXT_HPP
#define SKYLARK_CONTEXT_HPP
#include "config.h"
#include "exception.hpp"
#include "../utility/randgen.hpp"
#include "boost/smart_ptr.hpp"
#include "boost/property_tree/ptree.hpp"
#include "boost/property_tree/json_parser.hpp"
namespace skylark { namespace base {
/**
* A structure that ... | 34.672043 | 80 | 0.653435 | [
"vector"
] |
249d1b2845abcb288bf4e7ad21ac0ba9721c4e42 | 22,364 | cpp | C++ | dataurus/CheckSums.cpp | TheofilosBel/sigmod2018 | 61b3cab644f6143dfe6b6b81421e418ff9b81556 | [
"MIT"
] | 28 | 2018-04-10T19:14:13.000Z | 2021-06-25T23:54:50.000Z | dataurus/CheckSums.cpp | geooo109/sigmod2018-1 | 61b3cab644f6143dfe6b6b81421e418ff9b81556 | [
"MIT"
] | null | null | null | dataurus/CheckSums.cpp | geooo109/sigmod2018-1 | 61b3cab644f6143dfe6b6b81421e418ff9b81556 | [
"MIT"
] | 12 | 2018-04-10T19:15:38.000Z | 2019-12-29T15:44:16.000Z | #include <cassert>
#include <iostream>
#include <string>
#include <unordered_map>
#include <algorithm>
#include <functional>
#include <utility>
#include <vector>
#include <pthread.h>
#include "job_scheduler.h" // The job scheduler Class
#include "Joiner.hpp" // Implements Joiner Functions
#include "chec... | 42.925144 | 171 | 0.525622 | [
"vector"
] |
24a6d312ddd4086b828a62b24a146e3e4e6b654e | 86,285 | cpp | C++ | src/CSVGObject.cpp | colinw7/CSVG | 049419b4114fc6ff7f5b25163398f02c21a64bf6 | [
"MIT"
] | 5 | 2015-04-11T14:56:03.000Z | 2021-12-14T10:12:36.000Z | src/CSVGObject.cpp | colinw7/CSVG | 049419b4114fc6ff7f5b25163398f02c21a64bf6 | [
"MIT"
] | 3 | 2015-04-20T19:23:15.000Z | 2021-09-03T20:03:30.000Z | src/CSVGObject.cpp | colinw7/CSVG | 049419b4114fc6ff7f5b25163398f02c21a64bf6 | [
"MIT"
] | 3 | 2015-05-21T08:33:12.000Z | 2020-05-13T15:45:11.000Z | #include <CSVGObject.h>
#include <CSVGFilter.h>
#include <CSVGGroup.h>
#include <CSVGStop.h>
#include <CSVGMask.h>
#include <CSVGClipPath.h>
#include <CSVGBuffer.h>
#include <CSVGTitle.h>
#include <CSVG.h>
#include <CSVGLog.h>
#include <CFontMgr.h>
#include <CEncode64.h>
#include <CRegExp.h>
#include <CFileUtil.h>
#in... | 20.612757 | 99 | 0.621858 | [
"object",
"shape",
"vector",
"transform",
"solid"
] |
24c10190591e3c0dff51782cee0f28fc96d4d098 | 7,438 | cpp | C++ | src/Acceleration/bvh.cpp | bittencourt-lucas/pbr-code | 03776f90683a06a326b6f3b7ae6ea453d7eb4737 | [
"MIT"
] | null | null | null | src/Acceleration/bvh.cpp | bittencourt-lucas/pbr-code | 03776f90683a06a326b6f3b7ae6ea453d7eb4737 | [
"MIT"
] | null | null | null | src/Acceleration/bvh.cpp | bittencourt-lucas/pbr-code | 03776f90683a06a326b6f3b7ae6ea453d7eb4737 | [
"MIT"
] | null | null | null | #include "bvh.h"
BVH::BVH( const std::vector< Primitive::PrimitiveUniquePtr > &primitives ) :
primitives_( primitives )
{
if ( primitives_.size() > 0 )
{
std::deque< PrimitiveAABBArea > s( primitives_.size() );
primitive_id_.resize( primitives_.size() );
BoundingBox root_aabb;... | 32.060345 | 135 | 0.475531 | [
"vector"
] |
24c1a56372a4b6eb274c1efd955ba09f514f8874 | 13,382 | cc | C++ | src/http.cc | 1computerguy/mercury | 193bf6432e4f53f1253965f5ca8634bd6ca69136 | [
"BSD-2-Clause"
] | null | null | null | src/http.cc | 1computerguy/mercury | 193bf6432e4f53f1253965f5ca8634bd6ca69136 | [
"BSD-2-Clause"
] | null | null | null | src/http.cc | 1computerguy/mercury | 193bf6432e4f53f1253965f5ca8634bd6ca69136 | [
"BSD-2-Clause"
] | null | null | null | /*
* http.c
*/
#include <unordered_map>
#include "asn1/bytestring.h"
#include "http.h"
#include "json_object.h"
#include "match.h"
void http_request::parse(struct datum &p) {
/* parse request line */
method.parse_up_to_delim(p, ' ');
p.skip(1);
uri.parse_up_to_delim(p, ' ');
p.skip(1);
prot... | 39.474926 | 156 | 0.523539 | [
"object"
] |
24cdecb7e184efed355f90f37ffd1416b4a77bdf | 1,481 | hpp | C++ | quantum_system.hpp | ORNL-QCI/sabot | c33edfc8a4461c67580e8a3cc8454a5a61347412 | [
"BSD-3-Clause"
] | 1 | 2020-06-18T23:10:20.000Z | 2020-06-18T23:10:20.000Z | quantum_system.hpp | ORNL-QCI/sabot | c33edfc8a4461c67580e8a3cc8454a5a61347412 | [
"BSD-3-Clause"
] | null | null | null | quantum_system.hpp | ORNL-QCI/sabot | c33edfc8a4461c67580e8a3cc8454a5a61347412 | [
"BSD-3-Clause"
] | 1 | 2020-06-18T23:10:22.000Z | 2020-06-18T23:10:22.000Z | #ifndef _QUANTUM_SYSTEM_HPP
#define _QUANTUM_SYSTEM_HPP
#include <common.hpp>
#include "state/state_type.hpp"
/**
* \brief A discrete quantum system.
*
* A system has a state type object and a noise type object which holds relevent
* parameters. We use move semantics.
*/
struct quantum_system {
public:
using ... | 19.233766 | 80 | 0.680621 | [
"object"
] |
24d2cf4e878e470ecb03b5f4f40f116abe8ea32c | 13,580 | cpp | C++ | Disposition/src/EditorLayer.cpp | Tomzopo/parabol | 2e11a78ba11726c01af2cd320f0a6769f221758f | [
"Apache-2.0"
] | null | null | null | Disposition/src/EditorLayer.cpp | Tomzopo/parabol | 2e11a78ba11726c01af2cd320f0a6769f221758f | [
"Apache-2.0"
] | null | null | null | Disposition/src/EditorLayer.cpp | Tomzopo/parabol | 2e11a78ba11726c01af2cd320f0a6769f221758f | [
"Apache-2.0"
] | null | null | null | #include "EditorLayer.h"
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/matrix_decompose.hpp>
#include "Parabol/Scene/SceneSerializer.h"
#include "Parabol/Utils/PlatformUtils.h"
namespace Parabol {
EditorLayer::EditorLayer() : Layer("Disposition_Editor"), m_CameraController(16.0f / 9.0f, true) {
}
vo... | 40.058997 | 146 | 0.579676 | [
"render",
"transform"
] |
24d528ce4596a9d9a09512a993b4d525fece54bd | 2,572 | cpp | C++ | PyCommon/externalLibs/BaseLib/motion/Retarget_JH/MATHCLASS/transf.cpp | hpgit/HumanFoot | f9a1a341b7c43747bddcd5584b8c98a0d1ac2973 | [
"Apache-2.0"
] | 4 | 2017-04-15T09:16:10.000Z | 2018-04-19T09:28:54.000Z | PyCommon/externalLibs/BaseLib/motion/Retarget_JH/MATHCLASS/transf.cpp | hpgit/HumanFoot | f9a1a341b7c43747bddcd5584b8c98a0d1ac2973 | [
"Apache-2.0"
] | null | null | null | PyCommon/externalLibs/BaseLib/motion/Retarget_JH/MATHCLASS/transf.cpp | hpgit/HumanFoot | f9a1a341b7c43747bddcd5584b8c98a0d1ac2973 | [
"Apache-2.0"
] | 1 | 2021-07-26T15:13:55.000Z | 2021-07-26T15:13:55.000Z |
#include "mathclass.h"
namespace jhm {
// Identity Transform
transf identity_transf( scaling(1), vector(0,0,0) );
// Inquiry Function
transf
transf::inverse() const
{
matrix a = m.inverse();
return transf( a, (-v)*a );
}
transf
inverse( transf const& t )
{
return t.inverse();
... | 21.256198 | 70 | 0.550544 | [
"vector",
"transform"
] |
24d9762712b66e12d8ef6a07e60280ac4b367433 | 2,421 | hxx | C++ | main/sw/source/ui/docvw/ShadowOverlayObject.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sw/source/ui/docvw/ShadowOverlayObject.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sw/source/ui/docvw/ShadowOverlayObject.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 33.164384 | 104 | 0.668732 | [
"geometry"
] |
24da04c2fa569de6401ca6d96bfa42f7fdc1f840 | 1,794 | cpp | C++ | src/sycomore/Pulse.cpp | aTrotier/sycomore | 32e438d3a90ca0a9d051bb6acff461e06079116d | [
"MIT"
] | 14 | 2019-11-06T09:23:09.000Z | 2022-01-11T19:08:36.000Z | src/sycomore/Pulse.cpp | aTrotier/sycomore | 32e438d3a90ca0a9d051bb6acff461e06079116d | [
"MIT"
] | 2 | 2020-12-01T15:48:27.000Z | 2020-12-04T15:19:37.000Z | src/sycomore/Pulse.cpp | aTrotier/sycomore | 32e438d3a90ca0a9d051bb6acff461e06079116d | [
"MIT"
] | 2 | 2020-08-12T04:36:36.000Z | 2021-05-27T13:17:34.000Z | #include "Pulse.h"
#include <algorithm>
#include <cmath>
#include <numeric>
#include <vector>
#include "sycomore/Grid.h"
#include "sycomore/sycomore.h"
#include "sycomore/units.h"
namespace sycomore
{
Pulse
::Pulse(Quantity const & angle, Quantity const & phase)
{
this->set_angle(angle);
this->set_phase(pha... | 18.884211 | 64 | 0.574136 | [
"vector"
] |
24e277911e913f4918d15a973b5d461d2bd0bb63 | 5,879 | cpp | C++ | ray/Board.cpp | guille0/space-chess | 3e8a3c8c8b91fbcbc00fbb4b35596a3b2ad1a37c | [
"MIT"
] | 17 | 2019-08-02T16:52:14.000Z | 2021-09-21T15:32:14.000Z | ray/Board.cpp | guille0/space-chess | 3e8a3c8c8b91fbcbc00fbb4b35596a3b2ad1a37c | [
"MIT"
] | 1 | 2020-01-02T07:44:22.000Z | 2020-01-02T07:44:22.000Z | ray/Board.cpp | guille0/space-chess | 3e8a3c8c8b91fbcbc00fbb4b35596a3b2ad1a37c | [
"MIT"
] | 4 | 2019-11-10T17:52:39.000Z | 2022-02-25T14:55:48.000Z | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <limits>
#include "AI.h"
#include "Moves.h"
#include "Board.h"
namespace chess {
// Board
Board::Board () {}
Board::Board(long* t_beginning, int t_maxZ, int t_maxY, int t_maxX, int t_turn, bool t_pawn2step)
: m_beginning(t_beginn... | 26.363229 | 97 | 0.609287 | [
"vector"
] |
24e2ab5b97b6eab0d32344c1d49aba7d4b6d7d2a | 32,811 | hpp | C++ | storage/CSBTreeIndexSubBlock.hpp | spring-operator/quickstep | 3e98776002eb5db7154031fd6ef1a7f000a89d81 | [
"Apache-2.0"
] | 31 | 2016-01-20T05:43:46.000Z | 2022-02-07T09:14:06.000Z | storage/CSBTreeIndexSubBlock.hpp | spring-operator/quickstep | 3e98776002eb5db7154031fd6ef1a7f000a89d81 | [
"Apache-2.0"
] | 221 | 2016-01-20T18:25:10.000Z | 2016-06-26T02:58:12.000Z | storage/CSBTreeIndexSubBlock.hpp | spring-operator/quickstep | 3e98776002eb5db7154031fd6ef1a7f000a89d81 | [
"Apache-2.0"
] | 17 | 2016-01-20T04:00:21.000Z | 2019-03-12T02:41:25.000Z | /**
* Copyright 2011-2015 Quickstep Technologies LLC.
* Copyright 2015-2016 Pivotal Software, Inc.
* Copyright 2016, Quickstep Research Group, Computer Sciences Department,
* University of Wisconsin—Madison.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this ... | 47.007163 | 93 | 0.715217 | [
"vector"
] |
0089ed5f8b18417809e614eb4198fb74bd7d2d9e | 6,137 | cpp | C++ | Source/API/D3D12/UtilsD3D12.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | 5 | 2020-11-25T05:05:13.000Z | 2022-02-09T09:35:21.000Z | Source/API/D3D12/UtilsD3D12.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | 5 | 2020-11-11T09:52:59.000Z | 2021-12-15T13:27:37.000Z | Source/API/D3D12/UtilsD3D12.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | null | null | null | #include "Buma3DPCH.h"
#include "UtilsD3D12.h"
namespace buma3d
{
namespace util
{
BMRESULT GetBMResultFromHR(HRESULT _hr)
{
if (SUCCEEDED(_hr))
return BMRESULT_SUCCEED;
BMRESULT result{};
switch (_hr)
{
case E_INVALIDARG: // An invalid parameter was passed to the returning function.
... | 77.683544 | 340 | 0.732117 | [
"object"
] |
0093370f7395992293c1b203fb819b2963fb8881 | 477 | cpp | C++ | Game/Src/Graphics/SpriteRendering/SpriteRendere.cpp | Cgunnar/SpeederGame | 262660ab4b9c5ec4293e5b7be1148c0cc80166cb | [
"MIT"
] | null | null | null | Game/Src/Graphics/SpriteRendering/SpriteRendere.cpp | Cgunnar/SpeederGame | 262660ab4b9c5ec4293e5b7be1148c0cc80166cb | [
"MIT"
] | null | null | null | Game/Src/Graphics/SpriteRendering/SpriteRendere.cpp | Cgunnar/SpeederGame | 262660ab4b9c5ec4293e5b7be1148c0cc80166cb | [
"MIT"
] | null | null | null | #include "pch.hpp"
#include "SpriteRendere.h"
#include "LowLvlGfx.h"
using namespace DirectX;
void SpriteRendere::Init()
{
m_spriteBatch = std::make_unique<SpriteBatch>(LowLvlGfx::Context().Get());
}
void SpriteRendere::Draw(std::vector<Sprite> sprites)
{
Resolution res = LowLvlGfx::GetResolution();
m_spriteBatch-... | 20.73913 | 75 | 0.721174 | [
"vector"
] |
00a20fb77736df592846fa56457a53b5509a4a2b | 609 | cpp | C++ | Codeforces/Solutions/1365B.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | null | null | null | Codeforces/Solutions/1365B.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | null | null | null | Codeforces/Solutions/1365B.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | null | null | null | // Problem Code: 1365B
#include <iostream>
#include <vector>
#include <set>
using namespace std;
string trouble_sort(int n, vector<int>& a, vector<int>& b) {
bool sorted = true;
set<int> types = {b[0]};
for (int i = 1; i < n; i++) {
types.insert(b[i]);
sorted &= a[i - 1] <= a[i];
}
if (!sorted && types... | 16.459459 | 60 | 0.515599 | [
"vector"
] |
00a2b3b7b3f8ce37acc940e267dad207363f3735 | 31,072 | cpp | C++ | applications/mne_analyze/libs/anShared/Model/fiffrawviewmodel.cpp | gabrielbmotta/mne-cpp | f3e68a4d2e33369dfe637591c055e34000c73a46 | [
"BSD-3-Clause"
] | null | null | null | applications/mne_analyze/libs/anShared/Model/fiffrawviewmodel.cpp | gabrielbmotta/mne-cpp | f3e68a4d2e33369dfe637591c055e34000c73a46 | [
"BSD-3-Clause"
] | null | null | null | applications/mne_analyze/libs/anShared/Model/fiffrawviewmodel.cpp | gabrielbmotta/mne-cpp | f3e68a4d2e33369dfe637591c055e34000c73a46 | [
"BSD-3-Clause"
] | null | null | null | //=============================================================================================================
/**
* @file fiffrawviewmodel.cpp
* @author Lorenz Esch <lesch@mgh.harvard.edu>;
* Lars Debor <Lars.Debor@tu-ilmenau.de>;
* Simon Heinke <Simon.Heinke@tu-ilmenau.de>;
* ... | 38.598758 | 185 | 0.538877 | [
"model"
] |
00a5f8499ac83471a1880d9855564fe74bb00788 | 1,431 | cpp | C++ | Algorithms/0970.PowerfulIntegers/solution.cpp | stdstring/leetcode | 84e6bade7d6fc1a737eb6796cb4e2565440db5e3 | [
"MIT"
] | null | null | null | Algorithms/0970.PowerfulIntegers/solution.cpp | stdstring/leetcode | 84e6bade7d6fc1a737eb6796cb4e2565440db5e3 | [
"MIT"
] | null | null | null | Algorithms/0970.PowerfulIntegers/solution.cpp | stdstring/leetcode | 84e6bade7d6fc1a737eb6796cb4e2565440db5e3 | [
"MIT"
] | null | null | null | #include <unordered_set>
#include <vector>
#include "gtest/gtest.h"
namespace
{
class Solution
{
public:
std::vector<int> powerfulIntegers(int x, int y, int bound) const
{
std::vector<int> xPows(generatePowers(x, bound));
std::vector<int> yPows(generatePowers(y, bound));
std::unordere... | 22.714286 | 93 | 0.51782 | [
"vector"
] |
00abdded315d88a3dea744e046da109962111a91 | 3,416 | cpp | C++ | src/objectimpl.cpp | MacroGu/log4cxx_gcc_4_8 | c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e | [
"Apache-2.0"
] | 1 | 2016-10-06T20:09:32.000Z | 2016-10-06T20:09:32.000Z | src/objectimpl.cpp | MacroGu/log4cxx_gcc_4_8 | c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e | [
"Apache-2.0"
] | null | null | null | src/objectimpl.cpp | MacroGu/log4cxx_gcc_4_8 | c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2003,2004 The Apache Software Foundation.
*
* 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... | 18.565217 | 78 | 0.671546 | [
"object"
] |
00ad97d5de4831b53509298312310635783273f1 | 4,393 | hpp | C++ | src/graphlab/gpu/gpu_scope.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-08-01T06:32:58.000Z | 2018-08-01T06:32:58.000Z | src/graphlab/gpu/gpu_scope.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/graphlab/gpu/gpu_scope.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... | 26.95092 | 82 | 0.65832 | [
"vector"
] |
00b10dbabe209649e5ba9d291cb5b29ef3ad6e6c | 632 | cpp | C++ | recipes/tinyobjloader/all/test_package/test_package_2.cpp | rockandsalt/conan-center-index | d739adcec3e4dd4c250eff559ceb738e420673dd | [
"MIT"
] | 562 | 2019-09-04T12:23:43.000Z | 2022-03-29T16:41:43.000Z | recipes/tinyobjloader/all/test_package/test_package_2.cpp | rockandsalt/conan-center-index | d739adcec3e4dd4c250eff559ceb738e420673dd | [
"MIT"
] | 9,799 | 2019-09-04T12:02:11.000Z | 2022-03-31T23:55:45.000Z | recipes/tinyobjloader/all/test_package/test_package_2.cpp | rockandsalt/conan-center-index | d739adcec3e4dd4c250eff559ceb738e420673dd | [
"MIT"
] | 1,126 | 2019-09-04T11:57:46.000Z | 2022-03-31T16:43:38.000Z | #include <tiny_obj_loader.h>
#include <vector>
#include <iostream>
int main (void)
{
tinyobj::attrib_t attrib;
std::vector<tinyobj::shape_t> shapes;
std::vector<tinyobj::material_t> materials;
std::string warn;
std::string err;
bool ret = tinyobj::LoadObj(
&attrib, &shapes, &materials, ... | 21.066667 | 63 | 0.544304 | [
"vector"
] |
00c3c6aec9771c8e468df3122dad0fca1eb921f7 | 1,647 | hpp | C++ | 17/water_simulation.hpp | ComicSansMS/AdventOfCode2018 | 936ebf5dad7a0317ed3db0f58a16d88c4a00eabb | [
"Unlicense"
] | null | null | null | 17/water_simulation.hpp | ComicSansMS/AdventOfCode2018 | 936ebf5dad7a0317ed3db0f58a16d88c4a00eabb | [
"Unlicense"
] | null | null | null | 17/water_simulation.hpp | ComicSansMS/AdventOfCode2018 | 936ebf5dad7a0317ed3db0f58a16d88c4a00eabb | [
"Unlicense"
] | null | null | null | #ifndef ADVENT_OF_CODE_17_WATER_SIMULATION_HPP_INCLUDE_GUARD
#define ADVENT_OF_CODE_17_WATER_SIMULATION_HPP_INCLUDE_GUARD
#include <functional>
#include <iosfwd>
#include <optional>
#include <string_view>
#include <tuple>
#include <vector>
struct Vec2 {
int x;
int y;
Vec2(int xx, int yy)
:x(xx), ... | 20.848101 | 111 | 0.67881 | [
"vector"
] |
00d10ae37ed2787952d57b019641affbb4770a56 | 410 | cpp | C++ | CodeForces/KefaandFirstSteps.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | CodeForces/KefaandFirstSteps.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | CodeForces/KefaandFirstSteps.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> a(n);
for (int i = 0; i < n; i++) {
cin >> a[i];
}
priority_queue<int> count;
int temp = 1;
if (n > 1) {
for (int i = 1; i < n; i++) {
if (a[i] >= a[i - 1]) {
temp++;
count.push(temp);
}
else {
temp ... | 14.137931 | 31 | 0.463415 | [
"vector"
] |
00d14adda72d3339f6d6582e1cc73a7960042c3a | 1,454 | cpp | C++ | source/aoc/src/aoc2019/d01/solver.cpp | daduraro/aoc | 9029de9d6e703fa1b20a466c1286b74ce9a7b23c | [
"BSD-2-Clause"
] | 1 | 2019-12-06T11:29:14.000Z | 2019-12-06T11:29:14.000Z | source/aoc/src/aoc2019/d01/solver.cpp | daduraro/aoc | 9029de9d6e703fa1b20a466c1286b74ce9a7b23c | [
"BSD-2-Clause"
] | null | null | null | source/aoc/src/aoc2019/d01/solver.cpp | daduraro/aoc | 9029de9d6e703fa1b20a466c1286b74ce9a7b23c | [
"BSD-2-Clause"
] | null | null | null | #include "aoc/solver.h"
#include <iostream>
#include <string>
#include <vector>
#include <array>
#include <algorithm>
#include <numeric>
#include <iterator>
#include <limits>
#include <type_traits>
#include <memory>
#include <cassert>
namespace {
using namespace aoc;
constexpr std::size_t YEAR = 2019;
con... | 25.964286 | 116 | 0.572902 | [
"vector"
] |
00d61a25e62909931d7906ed264455cef4406dda | 422 | hpp | C++ | eat/eat.hpp | arabian9ts/easy-git | 5e0fe3e6bcc604c251c45c73fe2f1cead038d83c | [
"MIT"
] | 2 | 2017-10-10T06:18:48.000Z | 2018-04-26T05:55:39.000Z | eat/eat.hpp | arabian9ts/easy-git | 5e0fe3e6bcc604c251c45c73fe2f1cead038d83c | [
"MIT"
] | null | null | null | eat/eat.hpp | arabian9ts/easy-git | 5e0fe3e6bcc604c251c45c73fe2f1cead038d83c | [
"MIT"
] | null | null | null | //
// eat.hpp
// eat
//
// Created by arabian9ts on 2017/03/22.
// Copyright © 2017年 arabian9ts. All rights reserved.
//
#ifndef eat_h
#define eat_h
#include <string>
#include <stdio.h>
#include <list>
#include <vector>
#include <algorithm>
#include <sys/stat.h>
#include <stdlib.h>
#include <iostream>
#include <f... | 15.62963 | 54 | 0.684834 | [
"vector"
] |
00da60552209dfa21ba4e6f9d4af64e108f9ab62 | 9,593 | cpp | C++ | SD/Tema1/Sortari.cpp | andrei-micuda/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | 1 | 2020-06-07T09:45:17.000Z | 2020-06-07T09:45:17.000Z | SD/Tema1/Sortari.cpp | micu01/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | null | null | null | SD/Tema1/Sortari.cpp | micu01/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | 2 | 2020-04-09T19:27:36.000Z | 2020-06-28T17:45:14.000Z | #include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <chrono>
using namespace std;
using namespace std::chrono;
ifstream in("sortari.in");
ofstream out("sortari.out");
//Utility Functions
void PrintArray(vector<long long>& v);
void FilePrintArray(vector<long long>& v);
int NrOfDigit... | 27.022535 | 127 | 0.565725 | [
"vector"
] |
00dab16f05206eaf4f98945aad15da452bdfba87 | 14,055 | cc | C++ | src/perfetto_cmd/pbtxt_to_pb_unittest.cc | azeng369/perfetto | 024ea24c78533030a3faec9a5583af3175f07712 | [
"Apache-2.0"
] | null | null | null | src/perfetto_cmd/pbtxt_to_pb_unittest.cc | azeng369/perfetto | 024ea24c78533030a3faec9a5583af3175f07712 | [
"Apache-2.0"
] | 4 | 2021-02-13T21:42:44.000Z | 2021-09-03T05:54:02.000Z | src/perfetto_cmd/pbtxt_to_pb_unittest.cc | azeng369/perfetto | 024ea24c78533030a3faec9a5583af3175f07712 | [
"Apache-2.0"
] | 1 | 2021-11-03T18:22:40.000Z | 2021-11-03T18:22:40.000Z | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 25.098214 | 80 | 0.640413 | [
"vector"
] |
00dec619497639be18aa84479b7b513193f46a68 | 126 | cpp | C++ | Dataset/JC/valid/linkedlist/cpp/1363.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/JC/valid/linkedlist/cpp/1363.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/JC/valid/linkedlist/cpp/1363.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <functional>
#include <algorithm>
using namespace std;
class LinkedList{
}; | 11.454545 | 21 | 0.738095 | [
"vector"
] |
00e4526392dbd7994ecddaf7d43795e019e571c7 | 19,934 | cc | C++ | hybridbackend/cpp/tensorflow/cuda/cast.cu.cc | fuhailin/HybridBackend | 113383c5870b7180fa67c194208a27f76bdbf3f0 | [
"Apache-2.0"
] | 38 | 2021-12-01T06:54:36.000Z | 2022-03-23T11:23:21.000Z | hybridbackend/cpp/tensorflow/cuda/cast.cu.cc | fuhailin/HybridBackend | 113383c5870b7180fa67c194208a27f76bdbf3f0 | [
"Apache-2.0"
] | 15 | 2021-12-01T09:15:26.000Z | 2022-03-28T02:49:21.000Z | hybridbackend/cpp/tensorflow/cuda/cast.cu.cc | fuhailin/HybridBackend | 113383c5870b7180fa67c194208a27f76bdbf3f0 | [
"Apache-2.0"
] | 8 | 2021-12-02T01:16:14.000Z | 2022-01-28T04:51:16.000Z | /* Copyright 2021 Alibaba Group Holding Limited. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable l... | 39.947896 | 80 | 0.637855 | [
"vector"
] |
00ee6120789022dbdea437494fd6051a9e8c8191 | 4,519 | cpp | C++ | lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.cpp | rjordans/avr-llvm | 1802f85a455fbbe5fd1b55183bf588e2e4731dc5 | [
"FSFAP"
] | 1 | 2021-01-07T11:56:45.000Z | 2021-01-07T11:56:45.000Z | lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.cpp | rjordans/avr-llvm | 1802f85a455fbbe5fd1b55183bf588e2e4731dc5 | [
"FSFAP"
] | null | null | null | lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.cpp | rjordans/avr-llvm | 1802f85a455fbbe5fd1b55183bf588e2e4731dc5 | [
"FSFAP"
] | null | null | null | //===-- AVRMCTargetDesc.cpp - AVR Target Descriptions ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 33.474074 | 80 | 0.629564 | [
"model"
] |
00ef4f9f49a3dc36d74b38ee51250defb4804672 | 12,971 | cpp | C++ | benchmark_apps/elmerfem/ElmerGUI/netgen/libsrc/interface/writejcm.cpp | readex-eu/readex-apps | 38493b11806c306f4e8f1b7b2d97764b45fac8e2 | [
"BSD-3-Clause"
] | 2 | 2020-11-25T13:10:11.000Z | 2021-03-15T20:26:35.000Z | elmerfem/ElmerGUI/netgen/libsrc/interface/writejcm.cpp | jcmcmurry/pipelining | 8fface1a501b5050f58e7b902aacdcdde68e9648 | [
"MIT"
] | null | null | null | elmerfem/ElmerGUI/netgen/libsrc/interface/writejcm.cpp | jcmcmurry/pipelining | 8fface1a501b5050f58e7b902aacdcdde68e9648 | [
"MIT"
] | 2 | 2021-08-02T23:23:40.000Z | 2022-02-26T12:39:30.000Z | //
// Write JCMwave file
// 07.07.2005, Sven Burger, ZIB Berlin
//
#include <mystdlib.h>
#include <myadt.hpp>
#include <linalg.hpp>
#include <csg.hpp>
#include <meshing.hpp>
#include <sys/stat.h>
namespace netgen
{
#include "writeuser.hpp"
void WriteJCMFormat (const Mesh & mesh,
const CSGeome... | 30.095128 | 97 | 0.491096 | [
"mesh"
] |
00f1bc9afeaa95f2f481a2c71a9f26b3ac8d8c98 | 16,348 | hpp | C++ | lib/include/libvideostitch/quaternion.hpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 182 | 2019-04-19T12:38:30.000Z | 2022-03-20T16:48:20.000Z | lib/include/libvideostitch/quaternion.hpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 107 | 2019-04-23T10:49:35.000Z | 2022-03-02T18:12:28.000Z | lib/include/libvideostitch/quaternion.hpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 59 | 2019-06-04T11:27:25.000Z | 2022-03-17T23:49:49.000Z | // Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#ifndef QUATERNION_HPP_
#define QUATERNION_HPP_
#include "matrix.hpp"
#include "config.hpp"
#include "assert.h"
#include <cmath>
#include <iosfwd>
namespace VideoStitch {
/**
* @brief A quaternion class.
*/
template <typename T>
class VS_E... | 28.883392 | 120 | 0.558723 | [
"object",
"vector",
"3d"
] |
00f587e3f5f724a7105825c75086dfc871f7e8c2 | 5,723 | cpp | C++ | src/cluster/cluster_utils.cpp | themisvr/Vector-Clustering-Algorithms | c27906f15dd90e57db98506d5a443304a908c5dd | [
"MIT"
] | 1 | 2021-03-04T19:09:06.000Z | 2021-03-04T19:09:06.000Z | src/cluster/cluster_utils.cpp | themisvr/Vector-Clustering-Algorithms | c27906f15dd90e57db98506d5a443304a908c5dd | [
"MIT"
] | null | null | null | src/cluster/cluster_utils.cpp | themisvr/Vector-Clustering-Algorithms | c27906f15dd90e57db98506d5a443304a908c5dd | [
"MIT"
] | 3 | 2021-03-19T14:18:38.000Z | 2021-11-17T18:03:53.000Z | #include <iostream>
#include <string>
#include <utility>
#include <unistd.h>
#include <getopt.h>
#include <fstream>
#include "../../include/io_utils/io_utils.h"
#include "../../include/cluster/cluster_utils.h"
void cluster_usage(const char *exec) {
fprintf(stderr, "\nUsage: %s \n\n"
"[+] ... | 29.19898 | 120 | 0.539402 | [
"vector"
] |
2e00da840a31a0d9ad5cd2d6e2e6176c7077a6a2 | 306 | cpp | C++ | cpp/abc049_b/main.cpp | kokosabu/atcoder | 8d512587d234eb45941a2f6341c4dd003e6c9ad3 | [
"Apache-2.0"
] | null | null | null | cpp/abc049_b/main.cpp | kokosabu/atcoder | 8d512587d234eb45941a2f6341c4dd003e6c9ad3 | [
"Apache-2.0"
] | null | null | null | cpp/abc049_b/main.cpp | kokosabu/atcoder | 8d512587d234eb45941a2f6341c4dd003e6c9ad3 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int main()
{
int H, W;
cin >> H >> W;
vector<string> C(H);
for(int i = 0; i < H; i++) {
cin >> C[i];
}
for(int i = 0; i < H; i++) {
cout << C[i] << endl;
cout << C[i] << endl;
}
return 0;
}
| 16.105263 | 32 | 0.424837 | [
"vector"
] |
2e02978671ee5e80441100d0598e8118342a6efd | 7,829 | cpp | C++ | src/t8_package/src/cup_segmentation.cpp | jmdbo/TRSA | 69c05e877ce1330faf4a1720137b0fbc50d044d8 | [
"MIT"
] | 1 | 2017-08-05T08:08:44.000Z | 2017-08-05T08:08:44.000Z | src/t8_package/src/cup_segmentation.cpp | jmdbo/TRSA | 69c05e877ce1330faf4a1720137b0fbc50d044d8 | [
"MIT"
] | null | null | null | src/t8_package/src/cup_segmentation.cpp | jmdbo/TRSA | 69c05e877ce1330faf4a1720137b0fbc50d044d8 | [
"MIT"
] | null | null | null | #include "t8_package/cup_segmentation.h"
Cup_Segmentation::Cup_Segmentation(ros::NodeHandle n) :
n_(n)
{
cloud_sub_ = n_.subscribe("/octomap_cloud", 1000, &Cup_Segmentation::cloudCallback, this);
treated_cloud_pub_ = n_.advertise<sensor_msgs::PointCloud2>("/cup_cloud",1);
}
void Cup_Segmentation::cloudCallback (c... | 34.795556 | 124 | 0.691276 | [
"geometry",
"vector",
"model",
"transform"
] |
2e03c176b75003f56a97610276811657c6540683 | 3,911 | cpp | C++ | src/serialbox/core/StorageView.cpp | elsagermann/serialbox | c590561d0876f3ce9a07878e4862a46003a37879 | [
"BSD-2-Clause"
] | 10 | 2017-04-18T14:28:07.000Z | 2019-10-23T03:22:16.000Z | src/serialbox/core/StorageView.cpp | elsagermann/serialbox | c590561d0876f3ce9a07878e4862a46003a37879 | [
"BSD-2-Clause"
] | 172 | 2017-02-16T14:24:33.000Z | 2019-11-06T08:46:34.000Z | src/serialbox/core/StorageView.cpp | elsagermann/serialbox | c590561d0876f3ce9a07878e4862a46003a37879 | [
"BSD-2-Clause"
] | 21 | 2016-12-15T15:22:02.000Z | 2019-10-02T09:40:10.000Z | //===-- serialbox/core/StorageView.cpp ----------------------------------------------*- C++ -*-===//
//
// S E R I A L B O X
//
// This file is distributed under terms of BSD license.
// See LICENSE.txt for more information
//
//===-----------------------------------------------------... | 32.057377 | 100 | 0.582715 | [
"vector"
] |
2e0429d2c28bc3a09379db538991d47b05498b65 | 6,597 | cxx | C++ | Qt/Core/pqServerResources.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | 1 | 2016-05-09T00:36:44.000Z | 2016-05-09T00:36:44.000Z | Qt/Core/pqServerResources.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | null | null | null | Qt/Core/pqServerResources.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | 3 | 2015-05-14T21:18:53.000Z | 2022-03-07T02:53:45.000Z | /*=========================================================================
Program: ParaView
Module: $RCSfile: pqServerResources.cxx,v $
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the ... | 30.261468 | 102 | 0.604214 | [
"vector"
] |
2e1685af368ec69f125ff5e346dc6bf53a974bd4 | 24,222 | cpp | C++ | thirdparty/physx/PhysXSDK/Source/GeomUtils/src/pcm/GuPCMContactGenBoxConvex.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | thirdparty/physx/PhysXSDK/Source/GeomUtils/src/pcm/GuPCMContactGenBoxConvex.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | thirdparty/physx/PhysXSDK/Source/GeomUtils/src/pcm/GuPCMContactGenBoxConvex.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | 33.641667 | 272 | 0.7153 | [
"object",
"shape",
"transform"
] |
2e2cd42ca02de4355310b7faf5ca9776f401bacb | 1,222 | cpp | C++ | snippets/pose-estimation-2d2d.cpp | district10/snippet-manager | bebe45a601368947168e3ee6e6ab8c1fc2ee2055 | [
"MIT"
] | 7 | 2018-08-04T09:28:19.000Z | 2020-10-19T17:46:34.000Z | snippets/pose-estimation-2d2d.cpp | district10/snippet-manager | bebe45a601368947168e3ee6e6ab8c1fc2ee2055 | [
"MIT"
] | null | null | null | snippets/pose-estimation-2d2d.cpp | district10/snippet-manager | bebe45a601368947168e3ee6e6ab8c1fc2ee2055 | [
"MIT"
] | 2 | 2018-07-31T04:14:55.000Z | 2020-04-02T01:22:39.000Z | Mat pose_estimation_2d2d ( std::vector<KeyPoint> keypoints_1,
std::vector<KeyPoint> keypoints_2,
std::vector< DMatch > matches,
Mat& R, Mat& t )
{
Mat K = ( Mat_<double> ( 3,3 ) << 520.9, 0, 325.1, 0, 521.0, 249.7, 0, 0, 1 );
... | 40.733333 | 92 | 0.590835 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.