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
691ef9a7f6b309733ef7c5a0da8923376142dd4e
1,419
hpp
C++
src/Features/Demo/DemoGhostPlayer.hpp
Zyntex1/SourceAutoRecord
7e1419183de2b7c9638ad6dc0cbb5701e4a392c0
[ "MIT" ]
42
2021-04-27T17:03:24.000Z
2022-03-03T18:56:13.000Z
src/Features/Demo/DemoGhostPlayer.hpp
Zyntex1/SourceAutoRecord
7e1419183de2b7c9638ad6dc0cbb5701e4a392c0
[ "MIT" ]
43
2021-04-27T21:20:06.000Z
2022-03-22T12:45:46.000Z
src/Features/Demo/DemoGhostPlayer.hpp
Zyntex1/SourceAutoRecord
7e1419183de2b7c9638ad6dc0cbb5701e4a392c0
[ "MIT" ]
29
2021-06-11T23:52:24.000Z
2022-03-30T14:33:46.000Z
#pragma once #include "Command.hpp" #include "Demo.hpp" #include "DemoGhostEntity.hpp" #include "Features/Hud/Hud.hpp" #include "Features/Speedrun/SpeedrunTimer.hpp" #include "GhostEntity.hpp" #include "Modules/Console.hpp" #include "Modules/Engine.hpp" #include "Variable.hpp" #include <algorithm> class DemoGhostPlay...
22.887097
99
0.788584
[ "vector", "model" ]
692c6fe45c117fb9d1e54adcb372fcf946b7a4fe
4,516
cpp
C++
lib/src/Core/IGame.cpp
emilhornlund/DV1537Project-AlienAdventure
b370e49d259ee722edd6f39c979824280522076a
[ "MIT" ]
null
null
null
lib/src/Core/IGame.cpp
emilhornlund/DV1537Project-AlienAdventure
b370e49d259ee722edd6f39c979824280522076a
[ "MIT" ]
null
null
null
lib/src/Core/IGame.cpp
emilhornlund/DV1537Project-AlienAdventure
b370e49d259ee722edd6f39c979824280522076a
[ "MIT" ]
null
null
null
// // Created by Emil Hörnlund on 2018-09-07. // #include <Core/Camera.hpp> #include <Core/EventHandler.hpp> #include <Core/Level.hpp> #include <Core/ObjectHandler.hpp> #include <Core/PropertyHandler.hpp> #include <Core/ResourceHandler.hpp> #include <Core/SceneHandler.hpp> #include <Core/WindowHandler.hpp> #include <C...
30.308725
100
0.665412
[ "render" ]
692f0bad0c733dc3d8739af230b58ddee04d9b0e
10,373
cpp
C++
HeadlessLightService/arm/debug/moc_PhysicalButtons.cpp
RodgerLeblanc/HeadlessLight
e679ab21cc9bc1636172fb68b215035ee2ea94da
[ "MIT", "Unlicense" ]
null
null
null
HeadlessLightService/arm/debug/moc_PhysicalButtons.cpp
RodgerLeblanc/HeadlessLight
e679ab21cc9bc1636172fb68b215035ee2ea94da
[ "MIT", "Unlicense" ]
null
null
null
HeadlessLightService/arm/debug/moc_PhysicalButtons.cpp
RodgerLeblanc/HeadlessLight
e679ab21cc9bc1636172fb68b215035ee2ea94da
[ "MIT", "Unlicense" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'PhysicalButtons.h' ** ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) ** ** WARNING! All changes made in this file will be lost! *****************************************************...
31.433333
95
0.639931
[ "object" ]
693b54add04cbbf865f8e4f533e8ea7b5e3787bf
6,865
cc
C++
cc/dual_net.cc
abunickabhi/minigo
0e7c753636613581625fa540353ae4ee647ed7a3
[ "Apache-2.0" ]
null
null
null
cc/dual_net.cc
abunickabhi/minigo
0e7c753636613581625fa540353ae4ee647ed7a3
[ "Apache-2.0" ]
null
null
null
cc/dual_net.cc
abunickabhi/minigo
0e7c753636613581625fa540353ae4ee647ed7a3
[ "Apache-2.0" ]
null
null
null
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
35.942408
79
0.642243
[ "model" ]
693e8ce8133ed5e2ffd43f8e1306192e1d84cd3e
1,937
cpp
C++
Demo_Arduino_Motion/src/main.cpp
Haoyu-R/How-to-Manage-TinyML-at-Scale
da05a79f3abdaf476b73a4b7c689468c951bb364
[ "MIT" ]
1
2022-02-22T01:32:50.000Z
2022-02-22T01:32:50.000Z
Demo_Arduino_Motion/src/main.cpp
Haoyu-R/How-to-Manage-TinyML-at-Scale
da05a79f3abdaf476b73a4b7c689468c951bb364
[ "MIT" ]
null
null
null
Demo_Arduino_Motion/src/main.cpp
Haoyu-R/How-to-Manage-TinyML-at-Scale
da05a79f3abdaf476b73a4b7c689468c951bb364
[ "MIT" ]
null
null
null
// Please use the tensorflow, which has the same version number as the tflite micro library (2.4.0) used in the project, to train and generate NN #include <Arduino.h> #include <Arduino_LSM9DS1.h> #include "TFLITE_Wrapper.h" #include <ArduinoBLE.h> #include "BLE_transfer.h" #include "myUtils.h" // #include "setting.h" ...
24.518987
146
0.659783
[ "model" ]
6943f23190d77e9071477c951bf4489c8a41ff35
12,292
cpp
C++
ID@XboxSDK/TCUI/UWP/Cpp/Scenarios.cpp
jnwoko/xbox-live-samples
06a78315b72e71fef7fd347016e7c37a48c83c16
[ "MIT" ]
65
2019-05-15T00:10:08.000Z
2022-03-17T03:18:52.000Z
Samples/ID@XboxSDK/TCUI/UWP/Cpp/Scenarios.cpp
tunip3/xbox-live-samples
ee99edca8318ef4729172e66aef68c4aa6d4ecf4
[ "MIT" ]
37
2017-03-08T21:38:49.000Z
2019-04-16T00:17:45.000Z
Samples/ID@XboxSDK/TCUI/UWP/Cpp/Scenarios.cpp
tunip3/xbox-live-samples
ee99edca8318ef4729172e66aef68c4aa6d4ecf4
[ "MIT" ]
52
2017-03-03T00:47:48.000Z
2019-04-27T07:08:10.000Z
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "Scenarios.h" #include "MainPage.xaml.h" #include <ppltasks.h> #include <mutex> using namespace TCUI; using namespace concurrency; using namespace Plat...
37.705521
207
0.623251
[ "vector" ]
695365ca465956c2cb38af38d1a0ca08a742c75d
5,734
cpp
C++
testing/CatchTests/SimpsonRuleTests.cpp
CD3/libIntegrate
44067c9c579b79efa20fc4320ffaafa11224ec9f
[ "MIT" ]
11
2019-05-20T00:46:32.000Z
2022-02-10T14:29:46.000Z
testing/CatchTests/SimpsonRuleTests.cpp
CD3/libIntegrate
44067c9c579b79efa20fc4320ffaafa11224ec9f
[ "MIT" ]
2
2018-09-27T02:00:12.000Z
2022-02-16T04:28:02.000Z
testing/CatchTests/SimpsonRuleTests.cpp
CD3/libIntegrate
44067c9c579b79efa20fc4320ffaafa11224ec9f
[ "MIT" ]
2
2021-04-30T02:28:48.000Z
2021-11-03T02:43:05.000Z
#define CATCH_CONFIG_ENABLE_BENCHMARKING #include "catch.hpp" #include<iostream> #include<numeric> #include <libIntegrate/_1D/SimpsonRule.hpp> namespace SimpsonRuleTests { double linear_func(double x) { return 2 * x + 3; } double box_func(double x) { if (x < 1) return 0; if (x <= 5) return 1; return 0; } TEST...
23.891667
77
0.474015
[ "vector", "transform" ]
69571b73bac31ac990b25b0ec649a31b8d7243ed
11,680
cpp
C++
FlavoEngine/src/Systems/GraphicSystem.cpp
Thirrash/FlavoEngine
fc3e867dc726d1a37ddd81bb6a1691833014703a
[ "MIT" ]
null
null
null
FlavoEngine/src/Systems/GraphicSystem.cpp
Thirrash/FlavoEngine
fc3e867dc726d1a37ddd81bb6a1691833014703a
[ "MIT" ]
null
null
null
FlavoEngine/src/Systems/GraphicSystem.cpp
Thirrash/FlavoEngine
fc3e867dc726d1a37ddd81bb6a1691833014703a
[ "MIT" ]
null
null
null
#define GLM_ENABLE_EXPERIMENTAL #include "Systems/GraphicSystem.h" #include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/euler_angles.hpp> #include "Transform.h" #include "Framework/FUtils.h" #include "MeshRenderer.h" #include "EnviroMeshRendere...
40.137457
140
0.761216
[ "vector", "transform" ]
69583e0134336a14c5a67bcba2ac83888358f114
5,455
cc
C++
src/ObjectBuffer.cc
jdavidberger/vrproj
3dc069ae328ee66667ba136f37bcf6fbdbc279f3
[ "Apache-2.0" ]
1
2017-01-24T21:01:46.000Z
2017-01-24T21:01:46.000Z
src/ObjectBuffer.cc
jdavidberger/vrproj
3dc069ae328ee66667ba136f37bcf6fbdbc279f3
[ "Apache-2.0" ]
null
null
null
src/ObjectBuffer.cc
jdavidberger/vrproj
3dc069ae328ee66667ba136f37bcf6fbdbc279f3
[ "Apache-2.0" ]
null
null
null
#include "ObjectBuffer.h" #include "shared/Matrices.h" #include <assert.h> void ObjectBuffer::SetTx(const Matrix5 & tx) { m_tx = tx; } static void AddVertex(std::vector<float>& data, const VertexData& vd) { data.push_back(vd.vertex[0]); data.push_back(vd.vertex[1]); data.push_back(vd.vertex[2]); data.push_back(...
25.372093
115
0.648029
[ "shape", "vector" ]
696c353fe02a6f33c239fa4d39412fc434214641
37,843
cpp
C++
tests/ablateLibrary/boundarySolver/lodi/openBoundaryTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
null
null
null
tests/ablateLibrary/boundarySolver/lodi/openBoundaryTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
8
2020-12-28T16:05:56.000Z
2021-01-12T14:36:22.000Z
tests/ablateLibrary/boundarySolver/lodi/openBoundaryTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
1
2021-12-14T22:39:13.000Z
2021-12-14T22:39:13.000Z
#include <functional> #include "PetscTestFixture.hpp" #include "boundarySolver/lodi/openBoundary.hpp" #include "eos/mockEOS.hpp" #include "gmock/gmock.h" #include "gtest/gtest.h" struct OpenBoundaryTestParameters { std::string name; PetscInt dim; PetscInt nEqs; PetscInt nSpecEqs = 0; PetscInt nEvEq...
62.757877
199
0.543271
[ "vector", "3d" ]
69702278c857810cf90ea4d44737230a7a410b41
1,657
hpp
C++
include/hydro/engine/document/ElementIdentity.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/document/ElementIdentity.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/document/ElementIdentity.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
28.084746
115
0.593241
[ "object" ]
697b6994c613059980d943a823e6ca1336bcc25d
8,095
cpp
C++
source/S_GameInputController.cpp
Ivan-Medvedev/CG2_template_clear
e3ec996204202dba36faf0e46118c260618b877d
[ "MIT" ]
null
null
null
source/S_GameInputController.cpp
Ivan-Medvedev/CG2_template_clear
e3ec996204202dba36faf0e46118c260618b877d
[ "MIT" ]
null
null
null
source/S_GameInputController.cpp
Ivan-Medvedev/CG2_template_clear
e3ec996204202dba36faf0e46118c260618b877d
[ "MIT" ]
null
null
null
#include "stl.h" #include "EcsSystems.h" #include "Utils.h" #include "GameStructures.h" static stl::queue<game::EventSfml> inputPool; extern stl::vector<game::Weapon> gGameWeapons; void GameInputControllerSys::OnEvent(const game::EventSfml &evt) { inputPool.push(evt); } static bool Move(CompPos *curPos, sf::Vec...
31.621094
89
0.537986
[ "vector" ]
697da2cf70bb7851f2a6f961bd79e63a4717f1e7
358
cpp
C++
dp/70-climbing-stairs/70-climbing-stairs-div7.cpp
ZonePG/my-leetcode-solution
9efa4c19e4c9be9f47b5f5d4e9a47fceae26e0bb
[ "MIT" ]
null
null
null
dp/70-climbing-stairs/70-climbing-stairs-div7.cpp
ZonePG/my-leetcode-solution
9efa4c19e4c9be9f47b5f5d4e9a47fceae26e0bb
[ "MIT" ]
null
null
null
dp/70-climbing-stairs/70-climbing-stairs-div7.cpp
ZonePG/my-leetcode-solution
9efa4c19e4c9be9f47b5f5d4e9a47fceae26e0bb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int climbStairs(int n) { vector<int> dp(n + 1, 0); dp[1] = 1; dp[2] = 2; for (int i = 3; i < n; i++) { if (i % 7 == 0) { dp[i] = 0; break; } dp[i] = dp[i - 1] + dp[i - 2]; } ...
13.769231
36
0.435754
[ "vector" ]
69812b8949139dbfe9b778d46d5978303888fa4e
26,029
cc
C++
chrome/browser/media/webrtc/webrtc_event_log_manager_remote.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/media/webrtc/webrtc_event_log_manager_remote.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/media/webrtc/webrtc_event_log_manager_remote.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2018 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 "chrome/browser/media/webrtc/webrtc_event_log_manager_remote.h" #include <algorithm> #include <iterator> #include <limits> #include "base/b...
37.559885
80
0.734604
[ "render" ]
6982928f078fd41cefa33a3a01971f2d2ba83ad5
7,298
cpp
C++
Code/Projects/Rosa/src/Actions/wbactionrosaspawnentity.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
6
2022-01-22T02:18:07.000Z
2022-02-14T09:30:53.000Z
Code/Projects/Rosa/src/Actions/wbactionrosaspawnentity.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
null
null
null
Code/Projects/Rosa/src/Actions/wbactionrosaspawnentity.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
null
null
null
#include "core.h" #include "wbactionrosaspawnentity.h" #include "configmanager.h" #include "angles.h" #include "Components/wbcomprosatransform.h" #include "Components/wbcomprosacamera.h" #include "Components/wbcomprosaheadtracker.h" #include "Components/wbcompowner.h" #include "Components/wbcomprosacollision.h" #includ...
30.535565
146
0.758427
[ "vector" ]
69860c1bb008c2b53eaae88973294a80a7234f06
18,934
cpp
C++
Super Monaco GP/Road.cpp
gerardpf2/SuperMonacoGP
dbb46ffff701e9781d7975586a82ea8c56f8dd9f
[ "MIT" ]
null
null
null
Super Monaco GP/Road.cpp
gerardpf2/SuperMonacoGP
dbb46ffff701e9781d7975586a82ea8c56f8dd9f
[ "MIT" ]
null
null
null
Super Monaco GP/Road.cpp
gerardpf2/SuperMonacoGP
dbb46ffff701e9781d7975586a82ea8c56f8dd9f
[ "MIT" ]
null
null
null
#include "Road.h" #include "Utils.h" #include "Camera.h" #include "Segment.h" #include "GameObject.h" #include "ModuleJson.h" #include "ModuleTexture.h" using namespace std; using namespace rapidjson; Road::Road() { } Road::~Road() { } void Road::load(const char* jsonPath, const ModuleJson* moduleJson, ModuleTextu...
28.175595
273
0.711736
[ "render", "vector" ]
7e39210e920bcd6a5614f99ce955232f0ce8e1d3
1,571
cpp
C++
Problems/IOI/2013/Full.Robots.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/IOI/2013/Full.Robots.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/IOI/2013/Full.Robots.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include "robots.h" #define maxn 1050000 #define pb push_back using namespace std; struct item { int w,s,type; item(int _w , int _s , int _type) { w = _w; s = _s; type = _type; } }; bool comp(const item& a , const item& b) { if(a.w != b.w) return a.w < b.w; return a.type > b.type...
17.651685
70
0.485678
[ "vector" ]
7e3edd070fe86fa1a3ff10953eb27469a8711a5c
1,711
cpp
C++
aws-cpp-sdk-qldb/source/model/S3ExportConfiguration.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-qldb/source/model/S3ExportConfiguration.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-qldb/source/model/S3ExportConfiguration.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/qldb/model/S3ExportConfiguration.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
19.011111
86
0.736411
[ "model" ]
7e45bb1b63cd1c0fbb35e906226b60cd75fc5dce
3,450
cc
C++
src/render/vertex_buffer.cc
YahorSubach/vulkan_visual_facade
cb6230b6df602ebea74b0ca311220ba0fab68aac
[ "MIT" ]
null
null
null
src/render/vertex_buffer.cc
YahorSubach/vulkan_visual_facade
cb6230b6df602ebea74b0ca311220ba0fab68aac
[ "MIT" ]
null
null
null
src/render/vertex_buffer.cc
YahorSubach/vulkan_visual_facade
cb6230b6df602ebea74b0ca311220ba0fab68aac
[ "MIT" ]
null
null
null
//#include "vertex_buffer.h" // //render::VertexBuffer::VertexBuffer(const VkDevice& device, const VkPhysicalDevice& physical_device, const std::vector<Vertex>& vertices, const std::vector<uint32_t>& queue_famaly_indeces) :RenderObjBase(device), physical_device_(physical_device) //{ // //VkBufferCreateInfo buffer_in...
39.204545
247
0.696232
[ "render", "vector" ]
7e461a953ef9a5eba4b527bd3941e12ca7f71564
803
cpp
C++
Exercise_12/12.3_linear_search.cpp
YJDave/balagurusamy_solution_cpp
cc528dd99a1517706e9ee6560593e3c37251e443
[ "MIT" ]
21
2017-12-11T07:24:57.000Z
2022-03-17T08:43:24.000Z
Exercise_12/12.3_linear_search.cpp
YJDave/balagurusamy_solution_cpp
cc528dd99a1517706e9ee6560593e3c37251e443
[ "MIT" ]
4
2017-12-12T16:36:46.000Z
2020-06-21T22:54:18.000Z
Exercise_12/12.3_linear_search.cpp
YJDave/balagurusamy_solution_cpp
cc528dd99a1517706e9ee6560593e3c37251e443
[ "MIT" ]
19
2017-09-23T13:50:25.000Z
2021-11-16T08:20:19.000Z
#ifdef _WIN32 #include<iostream.h> #include<conio.h> #endif #ifdef linux #include<iostream> #include<curses.h> #endif using namespace std; const int size=5; template <class T> class vector { T v[size]; public: vector(){} vector(T *b); lsearch(vector<T> &m,int key); }; template <class T> vector<T>::vector(...
13.844828
54
0.597758
[ "vector" ]
7e4f4a16dd61bb2122b9676e197d172540ab0648
1,620
cpp
C++
graphics/cgal/Mesh_3/examples/Mesh_3/mesh_polyhedral_domain_with_features.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/cgal/Mesh_3/examples/Mesh_3/mesh_polyhedral_domain_with_features.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/cgal/Mesh_3/examples/Mesh_3/mesh_polyhedral_domain_with_features.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Mesh_triangulation_3.h> #include <CGAL/Mesh_complex_3_in_triangulation_3.h> #include <CGAL/Mesh_criteria_3.h> #include <CGAL/Polyhedral_mesh_domain_with_features_3.h> #include <CGAL/make_mesh_3.h> // Domain typedef CGAL::Exact_predicates...
30
85
0.735185
[ "mesh" ]
7e5581b173f90081be49a540df4d8a45df10411a
828
cpp
C++
src/get_Random_points.cpp
YuYuCong/Tennis-Collection-Robot
443e2a3925bdc0ab599519795bdeb7f75eade95c
[ "CC0-1.0" ]
12
2018-08-28T02:40:49.000Z
2021-07-04T12:07:05.000Z
src/get_Random_points.cpp
sunnieeee/Tennis-Collection-Robot
0868ffa114ffcd6bdcdd0e0c85c1094f919adec3
[ "CC0-1.0" ]
null
null
null
src/get_Random_points.cpp
sunnieeee/Tennis-Collection-Robot
0868ffa114ffcd6bdcdd0e0c85c1094f919adec3
[ "CC0-1.0" ]
7
2018-08-17T04:30:33.000Z
2021-10-16T06:23:06.000Z
#include"function_declare.h" /// Function Definitions /** * @function get_Random_points * @author William Yu * @brief 由于没有足够的网球图片测试路径规划,可以使用此函数生成一批随机点,模拟网球目标 */ void get_Random_points(vector<cv::Point>& Random_points, int NUMBER) { //-- create a random object (RNG) RNG rng; rng = RNG(getTickCoun...
22.378378
69
0.647343
[ "object", "vector" ]
7e5985f1a81463637273bbd822a6fa36c46c1608
655,183
cpp
C++
Flatten/GA/c3ga.cpp
mauriciocele/arap-svd
bbefe4b0f18d7cd5e834b4c54e518f0d70f49565
[ "MIT" ]
4
2021-01-05T15:14:34.000Z
2021-09-08T14:08:49.000Z
Flatten/GA/c3ga.cpp
mauriciocele/arap-svd
bbefe4b0f18d7cd5e834b4c54e518f0d70f49565
[ "MIT" ]
null
null
null
Flatten/GA/c3ga.cpp
mauriciocele/arap-svd
bbefe4b0f18d7cd5e834b4c54e518f0d70f49565
[ "MIT" ]
null
null
null
// Generated on 2007-08-08 10:16:05 by G2 0.1 from 'E:\gasandbox\ga_sandbox\libgasandbox\c3ga.gs2' // 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 License, or (at...
29.690624
492
0.546218
[ "vector" ]
7e6ffd72bfeff0b370ffc9dbe27ddabc807217d2
7,980
cc
C++
DQMOffline/MuonDPG/src/BaseTnPEfficiencyTask.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
DQMOffline/MuonDPG/src/BaseTnPEfficiencyTask.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
DQMOffline/MuonDPG/src/BaseTnPEfficiencyTask.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2022-02-27T06:12:26.000Z
2022-02-27T06:12:26.000Z
/* * \file BaseTnPEfficiencyTask.cc * * \author L. Lunerti - INFN Bologna * */ #include "DQMOffline/MuonDPG/interface/BaseTnPEfficiencyTask.h" // Framework #include "FWCore/Framework/interface/EventSetup.h" // Geometry #include "DataFormats/GeometryVector/interface/Pi.h" //Math #include "DataFormats/Math/inter...
38.550725
120
0.680075
[ "geometry", "object", "vector" ]
7e713e1f3260e960c7fe13b575fe0281af221ab7
1,186
hpp
C++
includes/elements/End.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
6
2020-03-13T16:45:13.000Z
2022-03-30T18:20:48.000Z
includes/elements/End.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
191
2020-03-02T14:47:19.000Z
2020-06-03T08:13:00.000Z
includes/elements/End.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
null
null
null
#ifndef END_HPP_ #define END_HPP_ #include <iostream> #include <unordered_set> #include <stdexcept> #include "AObject.hpp" #define END_STR "end" #define OPEN_PORTAL_TEXTURE "bomberman-assets/3dModels/exit/textures/open_portal_shield.png" #define CLOSE_PORTAL_TEXTURE "bomberman-assets/3dModels/exit/textures/close_port...
20.448276
94
0.693929
[ "object", "model" ]
7e750f80c0f9b7f19e68a1679a76cf32937bdae0
3,914
cc
C++
query/DodeArrayMetadata.cc
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
query/DodeArrayMetadata.cc
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
query/DodeArrayMetadata.cc
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
//---------------------------------*-C++-*-----------------------------------// /*! * \file query/DodeArrayMetadata.cc * \brief DodeArrayMetadata class definitions * \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //---------------------------------------------------------------------...
28.158273
79
0.480072
[ "mesh" ]
7e7b0c2294d6962796c490aa04d2a25f153f7e44
41,239
cpp
C++
ext/cgt/shadermanager.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
5
2018-06-19T06:20:01.000Z
2021-07-31T05:54:25.000Z
ext/cgt/shadermanager.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
ext/cgt/shadermanager.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/********************************************************************** * * * cgt - CAMP Graphics Toolbox, Copyright (C) 2012-2015 * * Chair for Computer Aided Medical Procedures * * Technische Universitaet M...
29.883333
237
0.606804
[ "geometry", "object", "vector" ]
7e7e8a03fbb76562fc230e4a3214af9d012ae75f
8,999
cpp
C++
lkRay/Scene/Scene.cpp
lookeypl/lkRay
c12d87add95f5958d77a8a8a683fc954837b6c60
[ "WTFPL" ]
null
null
null
lkRay/Scene/Scene.cpp
lookeypl/lkRay
c12d87add95f5958d77a8a8a683fc954837b6c60
[ "WTFPL" ]
null
null
null
lkRay/Scene/Scene.cpp
lookeypl/lkRay
c12d87add95f5958d77a8a8a683fc954837b6c60
[ "WTFPL" ]
null
null
null
#include "PCH.hpp" #include "Scene.hpp" #include "Constants.hpp" #include "Material/Material.hpp" #include "Material/Matte.hpp" #include "Material/Mirror.hpp" #include "Material/Emissive.hpp" #include "Geometry/Sphere.hpp" #include "Geometry/Plane.hpp" #include "Geometry/Mesh.hpp" #include <limits> #include <fstrea...
24.927978
114
0.541949
[ "mesh", "geometry", "object" ]
7e812ed8c9e056d7ed7ee81dd2b5ee9e8d251757
1,243
hpp
C++
include/boost/simd/function/minnum.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/minnum.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/minnum.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
22.196429
100
0.56959
[ "object" ]
7e81da1d91636f838838c91dde1474ec9d409e31
2,999
cpp
C++
components/render/scene_render/server/sources/renderer/render_server_screen_manager.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/render/scene_render/server/sources/renderer/render_server_screen_manager.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/render/scene_render/server/sources/renderer/render_server_screen_manager.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace render::scene::server; /* Описание реализации менеджера экранов */ typedef stl::hash_map<object_id_t, Screen> ScreenMap; struct ScreenManager::Impl { WindowManager& window_manager; //менеджер окон ViewportManager viewport_manager; //менеджер областей вывод...
23.614173
155
0.676559
[ "render" ]
7e869157793ed896c5b0a62aa1dfa5f13b434b85
818
cpp
C++
cpp/example/tst/PathSum/PathSum-test.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:33:45.000Z
2022-01-26T16:33:45.000Z
cpp/example/tst/PathSum/PathSum-test.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
null
null
null
cpp/example/tst/PathSum/PathSum-test.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:35:44.000Z
2022-01-26T16:35:44.000Z
#include "PathSum/pathSum.h" #include "gtest/gtest.h" using namespace std; class pathSum_MultipleParamsTests : public ::testing::TestWithParam<tuple<vector<string>,int,bool>>{ }; TEST_P(pathSum_MultipleParamsTests, CheckAns){ vector<string> nums = get<0>(GetParam()); int targetSum = get<1>(GetParam()); ...
29.214286
68
0.649144
[ "vector" ]
7e8c1610fad504638a2f555c39922b3212945391
3,084
cpp
C++
Model/BTriangleInteraction.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
Model/BTriangleInteraction.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
Model/BTriangleInteraction.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////// // // // Copyright (c) 2003-2017 by The University of Queensland // // Centre for Geoscience Computing // // http://earth.uq.edu.au/centre-geoscience-computing // // ...
23.906977
96
0.63035
[ "transform" ]
7e9c498f1d9fc3ea326f0935521bcf90425529fc
3,269
hpp
C++
ThirdParty-mod/java2cpp/java/lang/Appendable.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/lang/Appendable.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/lang/Appendable.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.lang.Appendable ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEMENTAT...
28.929204
134
0.688896
[ "object" ]
7ea52ae3480dcb40513b493d1853aba85d7e85ab
4,227
cpp
C++
source/Polygon.cpp
MatthewScholefield/sentempa
d4b7376e73cbe9e2127d3ba6b61bfbb861ea32b1
[ "MIT" ]
null
null
null
source/Polygon.cpp
MatthewScholefield/sentempa
d4b7376e73cbe9e2127d3ba6b61bfbb861ea32b1
[ "MIT" ]
null
null
null
source/Polygon.cpp
MatthewScholefield/sentempa
d4b7376e73cbe9e2127d3ba6b61bfbb861ea32b1
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include "Polygon.hpp" #include "Camera.hpp" #include "StarField.hpp" Triangle::Triangle(const Vec3<uint8_t> &color, const std::array<size_t, 3> &ids) : color(color), ids(ids) {} void Triangle::draw(Renderer &renderer, const Camera &camera, const std::vector<Vec3f> &pts) ...
29.559441
109
0.5304
[ "render", "vector" ]
7eae7a17036a9b63ee96752c7187739ee2f37db3
2,025
cpp
C++
src/execs/agg_exec.cpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
3
2021-06-24T01:05:42.000Z
2021-07-23T07:24:16.000Z
src/execs/agg_exec.cpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
5
2021-06-25T00:13:51.000Z
2021-07-23T14:26:01.000Z
src/execs/agg_exec.cpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
null
null
null
#include "execs/agg_exec.hpp" void AggExec::init() { child_->init(); // TODO: Maybe move this assertion into the constructor assert(plan_ != nullptr); table_.init(plan_); table_.generate(); while (child_->has_next()){ auto tuple = child_->next_tuple(); auto agg_key = make_key(tuple); auto ag...
22.252747
58
0.613827
[ "vector" ]
7eaf02bd37bd86e2c0210d9e34b8fd452c1c7207
1,068
hpp
C++
p3iv_types/include/p3iv_types/scene_model.hpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
4
2021-07-27T06:56:22.000Z
2022-03-22T11:21:30.000Z
p3iv_types/include/p3iv_types/scene_model.hpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
null
null
null
p3iv_types/include/p3iv_types/scene_model.hpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
1
2021-10-10T01:56:44.000Z
2021-10-10T01:56:44.000Z
#pragma once #include <map> #include <memory> #include "route_option.hpp" #include "scene_object.hpp" #include "traffic_rules.hpp" #include "visibility_information.hpp" namespace p3iv_types { class SceneModel { public: SceneModel(const int& ObjectId) : id{ObjectId} { } SceneModel(const int& ObjectId, c...
25.428571
104
0.640449
[ "vector" ]
7eb15ddfa53260852992935315ae669767f00ec7
1,287
cpp
C++
LLY/LLY/resource/material/Pass.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
3
2015-07-04T03:35:51.000Z
2017-09-10T08:23:25.000Z
LLY/LLY/resource/material/Pass.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
LLY/LLY/resource/material/Pass.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
#include "Pass.h" #include "../../util/Macros.h" #include "../Program.h" #include "../MeshPart.h" #include "../../render/RenderCommand.h" #include "../../System.h" namespace lly { Pass::Pass() : _id(0) , _program(0) { } Pass::~Pass() { if (_program > 0) { _program = 0; } } void Pass::draw(MeshP...
19.208955
90
0.661228
[ "render" ]
7eb20509675d2865310a6c1bc8d145e6f0f75161
573
hpp
C++
data-struct/segment/LCARMQ.hpp
shiomusubi496/library
907f72eb6ee4ac6ef617bb359693588167f779e7
[ "MIT" ]
3
2021-11-04T08:45:12.000Z
2021-11-29T08:44:26.000Z
data-struct/segment/LCARMQ.hpp
shiomusubi496/library
907f72eb6ee4ac6ef617bb359693588167f779e7
[ "MIT" ]
null
null
null
data-struct/segment/LCARMQ.hpp
shiomusubi496/library
907f72eb6ee4ac6ef617bb359693588167f779e7
[ "MIT" ]
null
null
null
#pragma once #include "../../other/template.hpp" #include "../../graph/tree/CartesianTree.hpp" #include "../../graph/tree/PMORMQLCA.hpp" template<class T> class LCARMQ { protected: int n; std::vector<T> v; std::pair<Graph<int>, int> G; PMORMQLCA<int> LCA; public: LCARMQ(const std::vector<T>& v...
22.92
120
0.560209
[ "vector" ]
7eb540f622be2527bc69f097c4c57f7f69f2c94b
333
cpp
C++
report.cpp
MatthewSmithPhysics/Ising-Model
af5e150603aa0cdae4fd73cdfe36975651ec528d
[ "MIT" ]
null
null
null
report.cpp
MatthewSmithPhysics/Ising-Model
af5e150603aa0cdae4fd73cdfe36975651ec528d
[ "MIT" ]
null
null
null
report.cpp
MatthewSmithPhysics/Ising-Model
af5e150603aa0cdae4fd73cdfe36975651ec528d
[ "MIT" ]
null
null
null
#include"report.h" using namespace std; void writeTXT(vector<vector<float>> A, string filename) { ofstream output; output.open(filename); for(int i = 0; i < A.size(); i++) { for(int j = 0; j < A[i].size() - 1; j++) output << A[i][j] << ", "; if(A[i].size() >= 1) output << A[i][A[i].size() - 1] << "...
22.2
70
0.51952
[ "vector" ]
9d1a1dee0a0c056967231ea8a5a09cc372aaafd7
1,225
hpp
C++
crypto2/include/crypto2/pvss/Utils.hpp
nibeshrestha/optrand
584da68cb3f6162d7e5100f102b0f55b7e0660e6
[ "Apache-2.0" ]
null
null
null
crypto2/include/crypto2/pvss/Utils.hpp
nibeshrestha/optrand
584da68cb3f6162d7e5100f102b0f55b7e0660e6
[ "Apache-2.0" ]
null
null
null
crypto2/include/crypto2/pvss/Utils.hpp
nibeshrestha/optrand
584da68cb3f6162d7e5100f102b0f55b7e0660e6
[ "Apache-2.0" ]
null
null
null
#pragma once #include <libff/common/default_types/ec_pp.hpp> #include <vector> namespace optrand_crypto { #define MY_ASSERT(x,str) ({if((x)){throw std::runtime_error(str);}}) inline void initialize() { // Apparently, libff logs some extra info when computing pairings libff::inhibit_profiling_info = true; ...
29.166667
171
0.738776
[ "vector" ]
9d1c4f4552d2ece94b8f511f020f862b8f6af2eb
13,873
cpp
C++
Examples/AlbaViewer/appLogic.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Examples/AlbaViewer/appLogic.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Examples/AlbaViewer/appLogic.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: AlbaViewer Module: appLogic.cpp Language: C++ Date: $Date: 2019-01-01 12:00:00 $ Version: $Revision: 1.0.0.0 $ Authors: Nicola Vanella ========================================================================== Copyright ...
29.083857
137
0.612485
[ "object" ]
9d1eb22362e5528b32f26ad895aa4e62221e87ec
5,770
cpp
C++
engine/core/src/skydome.cpp
ericdefelice/Dungeon_Crawler
8be5ab92723e1d1c0ddd9802ec6716e7235706f4
[ "MIT" ]
null
null
null
engine/core/src/skydome.cpp
ericdefelice/Dungeon_Crawler
8be5ab92723e1d1c0ddd9802ec6716e7235706f4
[ "MIT" ]
null
null
null
engine/core/src/skydome.cpp
ericdefelice/Dungeon_Crawler
8be5ab92723e1d1c0ddd9802ec6716e7235706f4
[ "MIT" ]
1
2021-03-15T10:25:56.000Z
2021-03-15T10:25:56.000Z
/*! @file skydome.cpp @brief Functionality for sky domes in the engine. @detail */ //-------------------------------------------- // Includes //-------------------------------------------- #include "skydome.h" namespace Gumshoe { SkyDome::SkyDome() { m_model = nullptr; m_vertexBuffer = nullptr; m_in...
19.427609
105
0.695667
[ "render", "model" ]
9d2157b17b947820f2197b2476a5b5e73a8170c4
13,428
cpp
C++
ExternalCode/copasi/optimization/COptItem.cpp
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
1
2021-01-07T13:12:51.000Z
2021-01-07T13:12:51.000Z
ExternalCode/copasi/optimization/COptItem.cpp
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
7
2020-04-12T22:25:46.000Z
2020-04-13T07:50:40.000Z
ExternalCode/copasi/optimization/COptItem.cpp
daniel-anavaino/tinkercell
7896a7f809a0373ab3c848d25e3691d10a648437
[ "BSD-3-Clause" ]
2
2020-04-12T21:57:01.000Z
2020-04-12T21:59:29.000Z
// Begin CVS Header // $Source: /fs/turing/cvs/copasi_dev/copasi/optimization/COptItem.cpp,v $ // $Revision: 1.42 $ // $Name: Build-33 $ // $Author: shoops $ // $Date: 2010/03/16 18:56:24 $ // End CVS Header // Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of ...
25.823077
99
0.64157
[ "vector" ]
9d29c67a6f9a8f457b58210fce3bd9eb6e90817f
12,856
hpp
C++
src/she_c_impl.hpp
prprhyt/mcl
c0a8ceb8b9699c64732fa7d86f124d7abcb1ab56
[ "BSD-3-Clause" ]
null
null
null
src/she_c_impl.hpp
prprhyt/mcl
c0a8ceb8b9699c64732fa7d86f124d7abcb1ab56
[ "BSD-3-Clause" ]
null
null
null
src/she_c_impl.hpp
prprhyt/mcl
c0a8ceb8b9699c64732fa7d86f124d7abcb1ab56
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <sstream> #include <vector> #include <string> #include <iosfwd> #include <stdint.h> #include <memory.h> #include "../src/bn_c_impl.hpp" #define MCLSHE_DLL_EXPORT #include <mcl/she.h> #include <mcl/she.hpp> using namespace mcl::she; using namespace mcl::bn_current; #if defined(CYBOZU_CPP_...
23.374545
134
0.717175
[ "vector" ]
9d2ac24f9a6e34d5c175489eb319dc845e4922a2
2,009
hpp
C++
include/Xpress/VecSum.hpp
robclu/Xpress
49ec95abaec9d350823204736c92d661422b6c34
[ "MIT" ]
null
null
null
include/Xpress/VecSum.hpp
robclu/Xpress
49ec95abaec9d350823204736c92d661422b6c34
[ "MIT" ]
null
null
null
include/Xpress/VecSum.hpp
robclu/Xpress
49ec95abaec9d350823204736c92d661422b6c34
[ "MIT" ]
null
null
null
//==--- Xpress/VecSum.hpp --------------------------------- -*- C++ -*- ---==// // // Xpress // // Copyright (c) 2016 Rob Clucas // // This file is distributed under the MIT License. See LICENSE for details. // //==-------------------------------------...
32.403226
79
0.579393
[ "vector" ]
9d2b058dba1103d9ca602989ba034378a06b1d1d
2,819
cpp
C++
source/mesh_simplifier/main.cpp
sergeiam/projects
20a59f6140ae387e4b539376e4f9a440842f343a
[ "MIT" ]
null
null
null
source/mesh_simplifier/main.cpp
sergeiam/projects
20a59f6140ae387e4b539376e4f9a440842f343a
[ "MIT" ]
null
null
null
source/mesh_simplifier/main.cpp
sergeiam/projects
20a59f6140ae387e4b539376e4f9a440842f343a
[ "MIT" ]
null
null
null
#include <stdio.h> #include <memory.h> #include <windows.h> #include <xr/mesh_simplifier.h> #include <xr/heightfield_simplifier.h> #include <xr/mesh.h> #include <xr/time.h> //#define SIMPLIFICATION_RATIO 0.15f // how much from the original mesh we would like to keep as face count #define SIMPLIFICATION_EPSILON 0.0...
23.689076
139
0.643491
[ "mesh", "vector" ]
9d30094db115af89988ef8ffb0f3b8c5a4a8e35c
5,626
cpp
C++
Editor/Source/Utils.cpp
Claudio-Marchini/Lumen
41183d71f0fe6dfe9964617b127b40b26339c822
[ "MIT" ]
null
null
null
Editor/Source/Utils.cpp
Claudio-Marchini/Lumen
41183d71f0fe6dfe9964617b127b40b26339c822
[ "MIT" ]
null
null
null
Editor/Source/Utils.cpp
Claudio-Marchini/Lumen
41183d71f0fe6dfe9964617b127b40b26339c822
[ "MIT" ]
null
null
null
#include "Utils.h" #include <imgui/imgui.h> #include "imgui/imgui_internal.h" b8 DrawVec3(const std::string& label, glm::vec3& vec, const glm::vec3& defaultValue) { b8 modified{ false }; ImGui::Text(label.c_str()); ImGui::PushID(label.c_str()); ImGui::PushMultiItemsWidths(3, ImGui::CalcItemWidth());...
33.488095
123
0.614291
[ "vector" ]
9d3c0e31a5378fb92e0311d373fae16f73eb6c09
16,409
cpp
C++
src/agg/agg2/src/agg_rasterizer_scanline_aa.cpp
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
src/agg/agg2/src/agg_rasterizer_scanline_aa.cpp
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
src/agg/agg2/src/agg_rasterizer_scanline_aa.cpp
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.2 // Copyright (C) 2002-2004 Maxim Shemanarev (http://www.antigrain.com) // // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all...
26.381029
84
0.388811
[ "geometry", "render" ]
9d4915b4ae872a852deed4d92d98f95767309899
3,206
hh
C++
src/tunnuz/json.tab.hh
Barenboim/nativejson-benchmark
5c13c515443ac885b1b315a452345bbd1937052e
[ "MIT" ]
1,721
2015-03-25T02:21:25.000Z
2022-03-30T18:01:01.000Z
src/tunnuz/json.tab.hh
Barenboim/nativejson-benchmark
5c13c515443ac885b1b315a452345bbd1937052e
[ "MIT" ]
72
2015-04-16T03:35:22.000Z
2021-11-27T19:25:52.000Z
src/tunnuz/json.tab.hh
Barenboim/nativejson-benchmark
5c13c515443ac885b1b315a452345bbd1937052e
[ "MIT" ]
305
2015-01-30T16:16:54.000Z
2022-02-21T10:54:22.000Z
/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. 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 t...
31.742574
97
0.734872
[ "object" ]
9d52abcd8b05ded5f523bad0191e3d2fae59da11
11,934
hpp
C++
src/render/CoorConv.hpp
Wkkkkk/protype
3b0d77d545c177b86b8812be1a6e5392a6f7e367
[ "BSL-1.0" ]
9
2018-12-26T08:35:46.000Z
2021-11-08T08:51:10.000Z
src/render/CoorConv.hpp
Wkkkkk/protype
3b0d77d545c177b86b8812be1a6e5392a6f7e367
[ "BSL-1.0" ]
null
null
null
src/render/CoorConv.hpp
Wkkkkk/protype
3b0d77d545c177b86b8812be1a6e5392a6f7e367
[ "BSL-1.0" ]
7
2018-12-27T13:55:47.000Z
2021-04-23T08:45:04.000Z
#ifndef __COORCONV_H__ #define __COORCONV_H__ #include <cmath> double pi = 3.14159265358979; /* Ellipsoid model constants (actual values here are for WGS84) */ double sm_a = 6378137.0; double sm_b = 6356752.314; double sm_EccSquared = 6.69437999013e-03; double UTMScaleFactor = 0.9996; typedef struct tagUTMCorr { ...
28.966019
118
0.594939
[ "model" ]
9d5549fbc8fac809c74bc344dd7e41ae281c0ad0
2,306
cpp
C++
utils/tests/testTinyVector.cpp
Marc--Olivier/DataVisualization
8cbefa3db9807b21197efbc8c8d5b5846a1671ca
[ "BSL-1.0" ]
2
2019-07-23T13:51:46.000Z
2019-07-23T14:29:10.000Z
utils/tests/testTinyVector.cpp
Marc--Olivier/DataVisualization
8cbefa3db9807b21197efbc8c8d5b5846a1671ca
[ "BSL-1.0" ]
null
null
null
utils/tests/testTinyVector.cpp
Marc--Olivier/DataVisualization
8cbefa3db9807b21197efbc8c8d5b5846a1671ca
[ "BSL-1.0" ]
1
2018-10-19T12:56:01.000Z
2018-10-19T12:56:01.000Z
/** * Copyright Marc-Olivier Andrez 2018. * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * https://www.boost.org/LICENSE_1_0.txt) */ #include "utils/TinyArray.hpp" #include "utils/TinyVector.hpp" #include <catch2/catch.hpp> namespace utils::te...
31.162162
70
0.634866
[ "vector" ]
9d6514b532ac5707dc8064c1a2d9a9eec2ed4e8d
61,774
cc
C++
content/browser/prerender/prerender_browsertest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/prerender/prerender_browsertest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/prerender/prerender_browsertest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.000Z
// Copyright 2020 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 "base/base_switches.h" #include "base/callback_helpers.h" #include "base/containers/flat_map.h" #include "base/containers/flat_set.h" #include "b...
41.23765
80
0.7531
[ "object", "vector" ]
9d755fdf7dd8373e42d8078007bfa1e1480f71dc
1,989
hpp
C++
Include/Private/Acdb/MarkerAdapter.hpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
Include/Private/Acdb/MarkerAdapter.hpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
Include/Private/Acdb/MarkerAdapter.hpp
garmin/ActiveCaptainCommunitySDK-common
a7574a3b85b77771ceb47e5fc9a99fd31a10d47a
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------------ Copyright 2021 Garmin Ltd. or its subsidiaries. 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.apach...
31.078125
99
0.713424
[ "vector" ]
9d7757e0b7eb480e3b23081c11f4cadc3b013f52
987
hpp
C++
dinky2d/Label.hpp
dongyanyan/cocosOpenGL
9fb50608de431d10888dfe06160e735d17b42657
[ "MIT" ]
35
2017-07-16T08:22:36.000Z
2022-02-25T12:13:51.000Z
dinky2d/Label.hpp
dongyanyan/cocosOpenGL
9fb50608de431d10888dfe06160e735d17b42657
[ "MIT" ]
null
null
null
dinky2d/Label.hpp
dongyanyan/cocosOpenGL
9fb50608de431d10888dfe06160e735d17b42657
[ "MIT" ]
16
2017-08-03T07:23:31.000Z
2022-02-23T07:10:59.000Z
// // Label.hpp // dinky2d // // Created by Vincent Yao on 2017/8/9. // Copyright © 2017年 ookcode. All rights reserved. // #ifndef Label_hpp #define Label_hpp #include "Node.hpp" #include <ft2build.h> #include <ftglyph.h> namespace Dinky { class Label : public Node { public: Label(const std::stri...
22.431818
77
0.590679
[ "transform" ]
9d7d354341a4745f3e2e4774a88d97ae6d850b5f
1,696
cpp
C++
Background.cpp
Risist/OpenGlArkanoid
c933aa1d059f900dac3f9d36f6c6cabbb4bcadbe
[ "MIT" ]
null
null
null
Background.cpp
Risist/OpenGlArkanoid
c933aa1d059f900dac3f9d36f6c6cabbb4bcadbe
[ "MIT" ]
null
null
null
Background.cpp
Risist/OpenGlArkanoid
c933aa1d059f900dac3f9d36f6c6cabbb4bcadbe
[ "MIT" ]
null
null
null
#include "Background.h" void Background::Init() { static const int sizeX = 19; static const int sizeY = 19; glm::vec3 color{ 0.25f, 0.35f, 0.8f }; color *= 0.25f; Rendering::Vertex v[sizeY][10*sizeX]; transform.scale *= 0.05; for (int i = 0; i < sizeY; ++i) { for (int j = 0; j < sizeX; ++j) { glm::vec...
26.920635
79
0.581368
[ "transform" ]
9d8326e12ddd07059e55c82247797f1ced3a598d
535
cpp
C++
21-30/027 RemoveElement/RemoveElement.cpp
tiandaochouqin1/leetcode
9dcfc1aafd4dcf2e2a7cb0fa84677b59d7d34430
[ "Apache-2.0" ]
1
2021-04-17T17:32:56.000Z
2021-04-17T17:32:56.000Z
21-30/027 RemoveElement/RemoveElement.cpp
tiandaochouqin1/leetcode
9dcfc1aafd4dcf2e2a7cb0fa84677b59d7d34430
[ "Apache-2.0" ]
null
null
null
21-30/027 RemoveElement/RemoveElement.cpp
tiandaochouqin1/leetcode
9dcfc1aafd4dcf2e2a7cb0fa84677b59d7d34430
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int RemoveElement(vector<int> &nums,int k) { int size=0; for (size_t i = 0; i < nums.size(); ++i) if (nums[i]!=k) nums[size++]=nums[i]; return size; } }; int main() { ...
18.448276
48
0.500935
[ "vector" ]
9d8cdb745e47d68b54eaf843fa3098d23ecfee1c
2,304
cpp
C++
services/applypatch/command.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
null
null
null
services/applypatch/command.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
null
null
null
services/applypatch/command.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
1
2021-09-13T12:07:24.000Z
2021-09-13T12:07:24.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 ...
25.88764
76
0.632378
[ "vector" ]
9d8fdd01a01db13ba9e1671f18297dbe8c046224
3,100
hpp
C++
wave_optimization/include/wave/optimization/ceres/ba.hpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
80
2017-03-12T18:57:33.000Z
2022-03-30T11:44:33.000Z
wave_optimization/include/wave/optimization/ceres/ba.hpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
210
2017-03-13T15:01:34.000Z
2022-01-15T03:19:44.000Z
wave_optimization/include/wave/optimization/ceres/ba.hpp
wavelab/wavelib
7bebff52859c8b77f088e39913223904988c141e
[ "MIT" ]
31
2017-08-14T16:54:52.000Z
2022-01-21T06:44:16.000Z
#ifndef WAVE_OPTIMIZATION_CERES_BA_HPP #define WAVE_OPTIMIZATION_CERES_BA_HPP #include <typeinfo> #include <ceres/ceres.h> #include "wave/utils/utils.hpp" #include "wave/vision/utils.hpp" #include "wave/vision/dataset/VoDataset.hpp" namespace wave { /** Bundle Adjustment Residual */ struct BAResidual { public: ...
27.192982
79
0.560968
[ "vector" ]
9d91bd4a04ac9fe562ebe1264c9fe456407c7964
2,562
cpp
C++
Modules/planning/FastPlanner/traj_utils/src/planning_visualization.cpp
473867143/Prometheus
df1e1b0d861490223ac8b94d8cc4796537172292
[ "BSD-3-Clause" ]
1,217
2020-07-02T13:15:18.000Z
2022-03-31T06:17:44.000Z
Modules/planning/FastPlanner/traj_utils/src/planning_visualization.cpp
473867143/Prometheus
df1e1b0d861490223ac8b94d8cc4796537172292
[ "BSD-3-Clause" ]
167
2020-07-12T15:35:43.000Z
2022-03-31T11:57:40.000Z
Modules/planning/FastPlanner/traj_utils/src/planning_visualization.cpp
473867143/Prometheus
df1e1b0d861490223ac8b94d8cc4796537172292
[ "BSD-3-Clause" ]
270
2020-07-02T13:28:00.000Z
2022-03-28T05:43:08.000Z
#include <traj_utils/planning_visualization.h> using std::cout; using std::endl; namespace dyn_planner { PlanningVisualization::PlanningVisualization(ros::NodeHandle& nh) { node = nh; traj_pub = node.advertise<visualization_msgs::Marker>("/planning_vis/trajectory", 10); } void PlanningVisualization::displaySpher...
32.43038
117
0.676815
[ "vector" ]
9d93bdb9d94d59f7a9fcb54a4b3b4501cfd19a5a
4,982
cpp
C++
libs/full/naming_base/src/id_type.cpp
bhumitattarde/hpx
5b34d8d77b1664fa552445d44cd98e51dc69a74a
[ "BSL-1.0" ]
1
2022-02-08T05:55:09.000Z
2022-02-08T05:55:09.000Z
libs/full/naming_base/src/id_type.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
libs/full/naming_base/src/id_type.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2022 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <hpx/config.hpp> #include <hpx/assert.hpp> #include <hpx/modules/memory....
30.193939
80
0.511642
[ "vector" ]
9d9c9f373b767ad9c6a0bc8963f4ace1cc0558c7
12,465
cc
C++
OpenVDB/include/openvdb/unittest/TestPointMask.cc
Vsevolod1983/RadeonProRenderSharedComponents
d9e34611e1148234afa48de4509afb72e1af138a
[ "BSL-1.0", "Apache-2.0", "MIT" ]
62
2022-02-04T10:34:29.000Z
2022-03-31T19:41:20.000Z
OpenVDB/include/openvdb/unittest/TestPointMask.cc
Vsevolod1983/RadeonProRenderSharedComponents
d9e34611e1148234afa48de4509afb72e1af138a
[ "BSL-1.0", "Apache-2.0", "MIT" ]
1
2021-03-11T16:26:01.000Z
2021-03-11T16:26:01.000Z
OpenVDB/include/openvdb/unittest/TestPointMask.cc
Vsevolod1983/RadeonProRenderSharedComponents
d9e34611e1148234afa48de4509afb72e1af138a
[ "BSL-1.0", "Apache-2.0", "MIT" ]
8
2020-05-13T15:46:11.000Z
2021-12-02T16:11:18.000Z
// Copyright Contributors to the OpenVDB Project // SPDX-License-Identifier: MPL-2.0 #include <cppunit/extensions/HelperMacros.h> #include <openvdb/openvdb.h> #include <openvdb/points/PointDataGrid.h> #include <openvdb/points/PointConversion.h> #include <openvdb/points/PointMask.h> #include <algorithm> #include <strin...
35.311615
95
0.622383
[ "vector", "transform" ]
9da1e5adb3a2a7aef1c1bd3b039ca38557e8f27f
1,627
cpp
C++
Leet/287_find_the_duplicate_number.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Leet/287_find_the_duplicate_number.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Leet/287_find_the_duplicate_number.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
// // Created by Godfray on 2018/3/12. // #include <iostream> #include <cassert> #include <vector> #include <sstream> #include <algorithm> using namespace std; class Solution { public: int findDuplicate(vector<int>& nums) { int slow = nums[0]; int fast = nums[nums[0]]; while (slow != fas...
21.693333
79
0.564229
[ "vector" ]
9dabbdbcdd0747d0f8e33c43f2a6102529ec0d6b
3,441
hpp
C++
include/fastdtw_cpp/fastdtw.hpp
doge-of-the-day/FastDTW_CPP-
731d65bc26db218d1e6352683ee17a43474101d5
[ "BSD-3-Clause" ]
3
2017-11-09T21:49:18.000Z
2018-12-24T12:55:53.000Z
include/fastdtw_cpp/fastdtw.hpp
doge-of-the-day/FastDTW_CPP
731d65bc26db218d1e6352683ee17a43474101d5
[ "BSD-3-Clause" ]
null
null
null
include/fastdtw_cpp/fastdtw.hpp
doge-of-the-day/FastDTW_CPP
731d65bc26db218d1e6352683ee17a43474101d5
[ "BSD-3-Clause" ]
null
null
null
#ifndef FASTDTW_CPP_HPP #define FASTDTW_CPP_HPP #include "dtw.hpp" #include "utils.hpp" #include "projection.h" #include "projection.hpp" #include "fastdtw.h" #include <iostream> #include <fstream> #include <ostream> namespace fastdtw_cpp { namespace fastdtw { template<typename T> void applyDyn(const std::vector<T>...
29.921739
70
0.555362
[ "vector" ]
9daec9aa301ed6413ae7d20f0909fa0390239c69
1,289
cpp
C++
src/cpp/node_eos_signature_provider.cpp
mixbytes/node-eosjs-signature-provider
7b1f8b66b451d9fc155baff2bc3a063cafd55ec2
[ "Apache-2.0" ]
3
2019-06-06T10:29:37.000Z
2021-07-16T06:45:59.000Z
src/cpp/node_eos_signature_provider.cpp
mixbytes/node-eosjs-signature-provider
7b1f8b66b451d9fc155baff2bc3a063cafd55ec2
[ "Apache-2.0" ]
null
null
null
src/cpp/node_eos_signature_provider.cpp
mixbytes/node-eosjs-signature-provider
7b1f8b66b451d9fc155baff2bc3a063cafd55ec2
[ "Apache-2.0" ]
null
null
null
#include <napi.h> #include <fc/crypto/pke.hpp> #include <fc/crypto/private_key.hpp> Napi::Value SignAll(const Napi::CallbackInfo &info) { Napi::Env env = info.Env(); Napi::Array stringPrivateKeys = info[0].As<Napi::Array>(); Napi::Uint8Array serializedTransaction = info[1].As<Napi::Uint8Array>(); siz...
34.837838
79
0.683476
[ "object" ]
9dbd55a5d8214c1e1de52afb2c750748a91b1c54
1,068
cpp
C++
CodeForces/794C/19413284_AC_46ms_888kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
CodeForces/794C/19413284_AC_46ms_888kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
CodeForces/794C/19413284_AC_46ms_888kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
/** * @author Moe_Sakiya sakiya@tun.moe * @date 2019-04-23 19:18:49 * */ #include <iostream> #include <string> #include <algorithm> #include <set> #include <map> #include <vector> #include <stack> #include <queue> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> using namespace std; cons...
16.6875
45
0.568352
[ "vector" ]
9dc14b06b65aa5b3b3a4cfd12b78f6da9a900cd2
2,894
cpp
C++
test/test_scope_info.cpp
melven/pitts
491f503a99a7d1161a27672955ae53ca6b5d3412
[ "BSD-3-Clause" ]
2
2021-12-31T08:28:17.000Z
2022-01-12T14:48:49.000Z
test/test_scope_info.cpp
melven/pitts
491f503a99a7d1161a27672955ae53ca6b5d3412
[ "BSD-3-Clause" ]
null
null
null
test/test_scope_info.cpp
melven/pitts
491f503a99a7d1161a27672955ae53ca6b5d3412
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include "pitts_scope_info.hpp" namespace { constexpr auto simpleFunction(int, int) { auto scope = PITTS::internal::ScopeInfo::current(); return scope; } constexpr auto templateFunction(std::vector<auto> x) { auto scope = PITTS::internal::ScopeInfo::current(); return...
29.232323
116
0.711472
[ "vector" ]
e385f1dfee5e3a139838122d0888126b3dc1b3d0
33,020
cpp
C++
src/exerciseeditor.in.cpp
MathiasMen/FreeFit
d85f6e72bcc199eb3cb5bfa24d85b2c89ae3ae74
[ "MIT" ]
null
null
null
src/exerciseeditor.in.cpp
MathiasMen/FreeFit
d85f6e72bcc199eb3cb5bfa24d85b2c89ae3ae74
[ "MIT" ]
149
2020-04-19T07:35:30.000Z
2020-10-12T04:01:38.000Z
src/exerciseeditor.in.cpp
MathiasMen/FreeFit
d85f6e72bcc199eb3cb5bfa24d85b2c89ae3ae74
[ "MIT" ]
null
null
null
#include "include/exerciseeditor.h" namespace FreeFit { namespace GUI { ExerciseItem::ExerciseItem(QWidget* parent):QWidget(parent),muscle_definitions(),default_color("black") { this->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed); this->setFocusPolicy(Qt::ClickFoc...
39.6875
141
0.589158
[ "solid" ]
e38af340fe6bdb16c213f463f39e2c88477a4077
332
cpp
C++
Escuadron.cpp
jlguevara99/Lab7P3_JuanGuevara
d06df8dfd0993939a9f8a5338a2e0412f63e0b7e
[ "MIT" ]
null
null
null
Escuadron.cpp
jlguevara99/Lab7P3_JuanGuevara
d06df8dfd0993939a9f8a5338a2e0412f63e0b7e
[ "MIT" ]
null
null
null
Escuadron.cpp
jlguevara99/Lab7P3_JuanGuevara
d06df8dfd0993939a9f8a5338a2e0412f63e0b7e
[ "MIT" ]
null
null
null
#include "Escuadron.h" Escuadron::Escuadron(string nEnom){ Enombre = nEnom; } string Escuadron::getEnombre(){ return Enombre; } vector<Soldado*> Escuadron::getSoldiers(){ return soldados; } void Escuadron::setEnombre(string pNom){ Enombre = pNom; } void Escuadron::setSoldiers(vector<Soldado*> psol){ soldado...
14.434783
51
0.722892
[ "vector" ]
e3913096e8d4313801541faa19cb15c655ed6530
4,613
hpp
C++
search/base/text_index/mem.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
search/base/text_index/mem.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
search/base/text_index/mem.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#pragma once #include "search/base/text_index/dictionary.hpp" #include "search/base/text_index/header.hpp" #include "search/base/text_index/postings.hpp" #include "search/base/text_index/text_index.hpp" #include "search/base/text_index/utils.hpp" #include "coding/reader.hpp" #include "coding/varint.hpp" #include "ba...
27.295858
99
0.693041
[ "vector" ]
e39195d4400cd9905c3a16da578e84810ccac955
1,326
cpp
C++
Lab3/3_2.cpp
toniminh161200/Computational-Mathematics
f7e1a7475d001fb654e14ea23393fe8838fcfb40
[ "MIT" ]
null
null
null
Lab3/3_2.cpp
toniminh161200/Computational-Mathematics
f7e1a7475d001fb654e14ea23393fe8838fcfb40
[ "MIT" ]
null
null
null
Lab3/3_2.cpp
toniminh161200/Computational-Mathematics
f7e1a7475d001fb654e14ea23393fe8838fcfb40
[ "MIT" ]
null
null
null
/* * Author : Nguyen Le Minh * Group : N3251 * Laboratory : 3 */ #include <iostream> #include <cmath> #include <vector> #include "matplotlibcpp.h" namespace plt = matplotlibcpp; double err = 0.001; double miN = -10, maX = 10; int points = 5000; double f(double x){ return /*function*/; } void divide(double min, ...
27.625
98
0.497738
[ "vector" ]
e391cbb0e83dd2b8fdf83c39c1f29c7a479fb0f7
5,023
cpp
C++
src/braft/log_fetcher.cpp
XingjZhang/braft
4515147ea61822e181fe5f781063651d03de9170
[ "Apache-2.0" ]
null
null
null
src/braft/log_fetcher.cpp
XingjZhang/braft
4515147ea61822e181fe5f781063651d03de9170
[ "Apache-2.0" ]
null
null
null
src/braft/log_fetcher.cpp
XingjZhang/braft
4515147ea61822e181fe5f781063651d03de9170
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 Baidu.com, Inc. 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 ...
35.624113
95
0.63687
[ "vector" ]
e3989c026f5f17c7f78411c2c3bc644a57b5aac2
40,799
cc
C++
src/StandAlone/tools/extractors/partextract.cc
damu1000/Uintah
0c768664c1fe0a80eff2bbbd9b837e27f281f0a5
[ "MIT" ]
2
2021-12-17T05:50:44.000Z
2021-12-22T21:37:32.000Z
src/StandAlone/tools/extractors/partextract.cc
damu1000/Uintah
0c768664c1fe0a80eff2bbbd9b837e27f281f0a5
[ "MIT" ]
null
null
null
src/StandAlone/tools/extractors/partextract.cc
damu1000/Uintah
0c768664c1fe0a80eff2bbbd9b837e27f281f0a5
[ "MIT" ]
1
2020-11-30T04:46:05.000Z
2020-11-30T04:46:05.000Z
/* * The MIT License * * Copyright (c) 1997-2020 The University of Utah * * 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 * right...
36.460232
121
0.519351
[ "geometry", "vector" ]
e3a2d8c47d55e9ddde2fe09f5c12bffc0c3c0412
4,327
cpp
C++
clients/cpp-tiny/generated/lib/Models/PipelineRunNode.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-tiny/generated/lib/Models/PipelineRunNode.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-tiny/generated/lib/Models/PipelineRunNode.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
#include "PipelineRunNode.h" using namespace Tiny; PipelineRunNode::PipelineRunNode() { _class = std::string(); displayName = std::string(); durationInMillis = int(0); edges = std::list<PipelineRunNodeedges>(); id = std::string(); result = std::string(); startTime = std::string(); state = std::string(); } ...
13.437888
65
0.644557
[ "object" ]
e3a418b981ecd64ab2e891fbd0edfa3622ddced8
3,538
cpp
C++
src/PokerTable.cpp
InversePalindrome/Variadic-Poker
68f7fe5ab8f9adc641719f96c82a6812d2c939fe
[ "MIT" ]
8
2017-04-13T15:38:15.000Z
2022-02-01T03:18:48.000Z
src/PokerTable.cpp
InversePalindrome/Variadic-Poker
68f7fe5ab8f9adc641719f96c82a6812d2c939fe
[ "MIT" ]
1
2020-06-28T08:45:05.000Z
2020-06-28T08:45:05.000Z
src/PokerTable.cpp
InversePalindrome/Variadic-Poker
68f7fe5ab8f9adc641719f96c82a6812d2c939fe
[ "MIT" ]
3
2019-09-27T04:24:00.000Z
2021-12-11T18:42:26.000Z
/* Copyright (c) 2017 InversePalindrome VariadicPoker - PokerTable.cpp InversePalindrome.com */ #include <algorithm> #include "PokerTable.hpp" PokerTable::PokerTable(const std::vector<Player>& players) : PokerTable(players, 10, 0) { } PokerTable::PokerTable(const std::vector<Player>& players, s...
24.232877
151
0.657151
[ "vector" ]
e3a70e29424a46b23a779795cb1daec205255a54
3,566
cpp
C++
experiment/midi.cpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
16
2021-05-07T11:33:59.000Z
2022-03-05T02:36:06.000Z
experiment/midi.cpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
null
null
null
experiment/midi.cpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
null
null
null
#include "rtmidi/RtMidi.h" #include <atomic> #include <chrono> #include <csignal> #include <cstdint> #include <cstdlib> #include <iostream> #include <memory> #include <thread> #include <vector> /// The configuration part to adapt to the context // Jack auto constexpr midi_api = RtMidi::UNIX_JACK; auto constexpr midi_...
31.280702
74
0.584128
[ "vector" ]
e3b41973bd005a76c24f0665fd6935912c39e194
38,846
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/CAssetAtlasService.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/Services/Server/src/elastos/droid/server/CAssetAtlasService.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/CAssetAtlasService.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 // // ...
33.372852
110
0.615996
[ "render", "object" ]
e3bf3ea04359780f48203456ebc17452704bfac1
793
cpp
C++
LeetCode/0132. Palindrome Partitioning II/solution.cpp
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
19
2018-08-26T03:10:58.000Z
2022-03-07T18:12:52.000Z
LeetCode/0132. Palindrome Partitioning II/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/0132. Palindrome Partitioning II/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
6
2020-03-16T23:00:06.000Z
2022-01-13T07:02:08.000Z
/** * 29 / 29 test cases passed. * Runtime: 52 ms * Memory Usage: 19.3 MB */ class Solution { public: int minCut(string s) { int n = s.size(); vector<vector<int>> dp(n, vector<int>(n, 1)); for (int i = n - 1; i >= 0; -- i) { for (int j = i + 1; j < n; ++ j) { ...
24.78125
60
0.296343
[ "vector" ]
e3c4ad43effffca38c20eb535c632c7046142b7c
20,241
cpp
C++
CollisionDetection/Collision2DResponse.cpp
brendankeesing/Collision-Detection
cac654a32cebd1985f6510fc935a844885aa33bf
[ "Unlicense" ]
null
null
null
CollisionDetection/Collision2DResponse.cpp
brendankeesing/Collision-Detection
cac654a32cebd1985f6510fc935a844885aa33bf
[ "Unlicense" ]
null
null
null
CollisionDetection/Collision2DResponse.cpp
brendankeesing/Collision-Detection
cac654a32cebd1985f6510fc935a844885aa33bf
[ "Unlicense" ]
null
null
null
#include "Collision2DResponse.h" #include "CollisionUtility.h" #undef min #undef max #include <algorithm> // AABB bool Collision2DResponse_AABB_AABB(const Collision2DAABB& a, const MthVector2& apos, const Collision2DAABB& b, const MthVector2& bpos, Collision2DResult& result) { // calculate edges float left = (bpos.x...
36.801818
233
0.726002
[ "object", "vector" ]
e3cdcd8d0660a5792ce99c43155d39e1343bf8c6
3,773
inl
C++
src/fixie_lib/handle_manager.inl
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
7
2015-01-09T22:08:17.000Z
2021-10-12T10:32:58.000Z
src/fixie_lib/handle_manager.inl
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
1
2015-08-19T07:51:53.000Z
2015-08-19T07:51:53.000Z
src/fixie_lib/handle_manager.inl
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
5
2015-08-20T07:10:23.000Z
2022-03-24T07:09:10.000Z
#include "fixie_lib/util.hpp" namespace fixie { template <typename handle_type, typename object_type> handle_manager<handle_type, object_type>::handle_manager(handle_type first_handle) : _allocations() , _cur_handle(first_handle) , _free_list() { } template <typename handle...
36.278846
135
0.644315
[ "object" ]
e3d0f7ec96b84a524dca0b8d39fed127549a1409
2,782
cc
C++
src/EngineImpl/Renderer2D.cc
cyf-gh/HoneyGame
2448f4574c6e1a847f1395d97a3186d79b499b22
[ "MIT" ]
3
2021-11-27T01:24:26.000Z
2021-12-31T07:17:38.000Z
src/EngineImpl/Renderer2D.cc
cyf-gh/HGEngine
2448f4574c6e1a847f1395d97a3186d79b499b22
[ "MIT" ]
null
null
null
src/EngineImpl/Renderer2D.cc
cyf-gh/HGEngine
2448f4574c6e1a847f1395d97a3186d79b499b22
[ "MIT" ]
1
2021-10-01T07:18:58.000Z
2021-10-01T07:18:58.000Z
// // Created by cyf-m on 2020/12/10. // #include <string> #include <SDL_image.h> #include <Math.hpp> #include <Log.h> #include "Spirte.hpp" #include "Renderer2D.h" #include "Texture.h" #include "Label.hpp" #include "GameObject.h" #include "Geometry.hpp" using namespace HGEngine::V1SDL; using namespace HG::Math; SDL...
30.23913
207
0.680446
[ "geometry" ]
e3d77733f3911796b146ac6635a394a6e0120d1a
1,682
cpp
C++
Alhythm/src/Game_Object_BarLine.cpp
Nao-Shirotsu/Siv3D_Alhythm
d602832e535831a07d0e7c3fb589caa5d356aaf2
[ "MIT" ]
4
2018-12-19T12:36:42.000Z
2021-05-24T06:13:33.000Z
Alhythm/src/Game_Object_BarLine.cpp
Nao-Shirotsu/Siv3D_Alhythm
d602832e535831a07d0e7c3fb589caa5d356aaf2
[ "MIT" ]
1
2019-01-07T03:04:11.000Z
2019-01-07T03:04:11.000Z
Alhythm/src/Game_Object_BarLine.cpp
Nao-Shirotsu/Siv3D_Alhythm
d602832e535831a07d0e7c3fb589caa5d356aaf2
[ "MIT" ]
2
2020-04-15T06:15:51.000Z
2021-12-16T02:22:12.000Z
#include <unordered_map> #include <cmath> #include "Game_Object_BarLine.h" #include "Game_Object_Constant.h" namespace{ // 小節線の色 constexpr s3d::Color NOTE_COLOR{ 200, 200, 200 }; // 1小節のどの拍で小節線が判定ラインまで落ちてくるか constexpr int BARLINE_VALID_BEAT{ 1 }; } Game::Object::BarLine::BarLine( int barNum_, con...
29
112
0.701546
[ "object" ]
e3db809f56a2a0610554d499c3d069d7dcaaac4d
13,329
cpp
C++
src/main.cpp
rvaser/heron
b8516d2732850d15e41256bd09729b220d5c7665
[ "MIT" ]
null
null
null
src/main.cpp
rvaser/heron
b8516d2732850d15e41256bd09729b220d5c7665
[ "MIT" ]
null
null
null
src/main.cpp
rvaser/heron
b8516d2732850d15e41256bd09729b220d5c7665
[ "MIT" ]
1
2021-12-05T18:04:48.000Z
2021-12-05T18:04:48.000Z
// Copyright (c) 2021 Robert Vaser #include <getopt.h> #include <cstdint> #include <iostream> #include <unordered_map> #include "bioparser/fasta_parser.hpp" #include "bioparser/fastq_parser.hpp" #include "biosoup/nucleic_acid.hpp" #include "biosoup/timer.hpp" #include "edlib.h" // NOLINT #include "ksw2.h" // NOLIN...
28.541756
102
0.499662
[ "vector", "transform", "solid" ]
e3eefa3729d5b9028668a2ee1b20ee0781b63f33
6,397
cpp
C++
Sources/Internal/FileSystem/Private/FileWatcher.unittest.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Sources/Internal/FileSystem/Private/FileWatcher.unittest.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/FileSystem/Private/FileWatcher.unittest.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "UnitTests/UnitTests.h" #if defined(__DAVAENGINE_WIN32__) || defined(__DAVAENGINE_MACOS__) #include <Base/String.h> #include <Concurrency/Thread.h> #include <Engine/Engine.h> #include <Engine/EngineContext.h> #include <FileSystem/FilePath.h> #include <FileSystem/FileSystem.h> #include <FileSystem/FileWatcher....
31.825871
142
0.591527
[ "vector" ]
e3f36a59908a82bea778ebec0907bef3a94b1191
24,422
cpp
C++
toolkit/Source/src/engine/Entity/ETHEntity.cpp
LuizTedesco/ethanon
c140bd360092dcdf11b242a11dee67e79fbbd025
[ "Unlicense" ]
64
2015-01-02T12:27:29.000Z
2022-03-07T03:23:33.000Z
toolkit/Source/src/engine/Entity/ETHEntity.cpp
theomission/ethanon
c140bd360092dcdf11b242a11dee67e79fbbd025
[ "Unlicense" ]
5
2015-03-31T00:09:29.000Z
2022-03-07T18:16:42.000Z
toolkit/Source/src/engine/Entity/ETHEntity.cpp
theomission/ethanon
c140bd360092dcdf11b242a11dee67e79fbbd025
[ "Unlicense" ]
40
2015-01-14T09:47:56.000Z
2022-02-07T22:07:24.000Z
/*-------------------------------------------------------------------------------------- Ethanon Engine (C) Copyright 2008-2013 Andre Santee http://ethanonengine.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), t...
23.083176
116
0.745557
[ "shape" ]
54071711c7f8119c52f2614d79013b596181b748
11,475
cpp
C++
Game/Source/Player.cpp
AlCh440/SmallBrains
5798777beafc9449f42389bc3fd8fa0d166b2847
[ "MIT" ]
3
2021-02-22T08:45:29.000Z
2021-03-15T08:17:08.000Z
Game/Source/Player.cpp
AlCh440/SmallBrains
5798777beafc9449f42389bc3fd8fa0d166b2847
[ "MIT" ]
null
null
null
Game/Source/Player.cpp
AlCh440/SmallBrains
5798777beafc9449f42389bc3fd8fa0d166b2847
[ "MIT" ]
null
null
null
#include "App.h" #include "Player.h" #include "Textures.h" #include "Input.h" #include "Audio.h" #include "Render.h" #include "Window.h" #include "Collider.h" #include "Box.h" #include "LevelManager.h" #include "Collisions.h" #include "Log.h" #include "iostream" Player::Player(bool startEnabled) : Module(startEnabl...
25
135
0.630675
[ "render" ]
540912978f4066017c5acc7a4d15df6c84066177
4,716
cpp
C++
tc tournaments/BalancingGame.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc tournaments/BalancingGame.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc tournaments/BalancingGame.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; int tx[1<<20]; int ty[1<<20]; bool done[1<<20]; bool dp[1<<20]; int N; int T; long long sqr(long long x) { return x*x; } l...
47.636364
508
0.563613
[ "vector" ]
540abf23b94343288b21dd15e974201b52772b94
14,017
cpp
C++
src/common/net/server.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
6
2018-05-11T23:16:02.000Z
2019-06-13T01:35:07.000Z
src/common/net/server.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
33
2018-05-11T14:12:22.000Z
2022-03-12T00:55:25.000Z
src/common/net/server.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
1
2018-12-06T23:39:55.000Z
2018-12-06T23:39:55.000Z
#include <fmt/format.h> #include <algorithm> #include <common/logger.hpp> #include <common/net/server.hpp> #include <iterator> // for std::back_inserter #include <nlohmann/detail/exceptions.hpp> #include <nlohmann/json.hpp> #include <optional> #include <sstream> #include <string_view> #include "common/net/game_packe...
31.428251
99
0.587644
[ "transform" ]
540e7d8b0f069de2b9d13b250f7c3a801bae7530
752
cpp
C++
BeginnerContest217/d.cpp
t15cs028/acCode_ABC
04588b31bcf5380aac4aa082aadcbb849e102789
[ "MIT" ]
null
null
null
BeginnerContest217/d.cpp
t15cs028/acCode_ABC
04588b31bcf5380aac4aa082aadcbb849e102789
[ "MIT" ]
null
null
null
BeginnerContest217/d.cpp
t15cs028/acCode_ABC
04588b31bcf5380aac4aa082aadcbb849e102789
[ "MIT" ]
null
null
null
/** * AtCoder Beginner Contest 217 * D - Cutting Woods */ #include <iostream> #include <string> #include <algorithm> #include <vector> #define rep(i,n) for(int i = 0; i < n; ++i) using namespace std; using uInt = unsigned int; int main(){ uInt l; int q; vector<uInt> p; cin >> l >> q; p.push_back(l); ...
14.188679
43
0.486702
[ "vector" ]
5414b1e4a8171422d6694fa03283210856601944
3,475
cc
C++
src/MSM/msm_metric_sim.cc
ecr05/MSM_HOCR
c56f832436b18e612e95d3802b1961453910b283
[ "Unlicense" ]
21
2018-06-19T17:12:37.000Z
2022-02-12T11:47:17.000Z
src/MSM/msm_metric_sim.cc
ecr05/MSM_HOCR
c56f832436b18e612e95d3802b1961453910b283
[ "Unlicense" ]
16
2019-03-25T23:32:20.000Z
2021-12-13T13:07:12.000Z
src/MSM/msm_metric_sim.cc
ecr05/MSM_HOCR
c56f832436b18e612e95d3802b1961453910b283
[ "Unlicense" ]
8
2018-07-18T22:19:37.000Z
2021-10-05T13:54:20.000Z
#include <time.h> #include <stdio.h> #include "newmesh/meshfns.h" #include "MeshReg/meshreg.h" using namespace std; using namespace MISCMATHS; using namespace NEWMESH; using namespace MESHREG; void Usage() { cout << "msm_metric_sim <surface1> <surface2> <outbase> " << endl; cout << "Input are func files assumes...
25.551471
198
0.638849
[ "mesh", "vector" ]
54156a27aaa3b36a5edb405a88cf4b8d729d1f0d
2,628
cpp
C++
Tutorials/EB/LevelSet/Src/make_poly.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tutorials/EB/LevelSet/Src/make_poly.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tutorials/EB/LevelSet/Src/make_poly.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
1
2020-01-17T05:00:26.000Z
2020-01-17T05:00:26.000Z
#include <AMReX_ParmParse.H> #include <make_shapes.H> using namespace amrex; std::unique_ptr<CylinderIF> make_poly_eb2_geom(int lev, int max_order, std::string field_prefix) { // Construct the ParamParse database field names based on the // `field_prefix` string: ParmParse pp("poly"); // Coeffici...
34.578947
89
0.583714
[ "vector" ]
542112a29d7ccce65b73d3233385ca05a6d9e996
972
cpp
C++
UVA/uva 483.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
6
2018-10-15T18:45:05.000Z
2022-03-29T04:30:10.000Z
UVA/uva 483.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
null
null
null
UVA/uva 483.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
4
2018-01-07T06:20:07.000Z
2019-08-21T15:45:59.000Z
#include<cstdio> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<set> #include<queue> #include<stack> #include<list> #include<iostream> #include<fstream> #include<numeric> #include<string> #include<vector> #include<cstring> #include<map> #include<iterator> using namespa...
17.672727
50
0.391975
[ "vector" ]
5424e5060510ad028ce3e67dc1155410ca3db7a7
34,038
inl
C++
contrib/epee/include/net/connection_impl.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
contrib/epee/include/net/connection_impl.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
contrib/epee/include/net/connection_impl.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
PRAGMA_WARNING_PUSH namespace epee { namespace net_utils { template<typename T> T& check_and_get(std::shared_ptr<T>& ptr) { CHECK_AND_ASSERT_THROW_MES(bool(ptr), "shared_state cannot be null"); return *ptr; } /************************************************************************/ /* ...
39.950704
176
0.616722
[ "object", "model" ]
542cab1f61b863d3945957e33434fae1a4b268df
514
cpp
C++
contest/AtCoder/agc049/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/agc049/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/agc049/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "graph/adjacency_list.hpp" #include "graph/all_pairs_reachability.hpp" #include "string.hpp" int main() { int n(in); Vector<String> s(n, in); AdjacencyList<Edge> graph(n); for (int i = 0; i < n; ++i) { for (int j = 0; j < n; ++j) { if (s[i][j] == '1') { graph.addEdge(j, i); } ...
22.347826
65
0.531128
[ "vector" ]
f9b31e502cc8b10fa29e2ddc74b4fe9beb68d243
12,406
cpp
C++
Bullet3D/ModuleSceneIntro.cpp
LaiaMartinezMotis/Bullet3D
a883722f677e1949330033334a3e712a74b4aa0c
[ "MIT" ]
null
null
null
Bullet3D/ModuleSceneIntro.cpp
LaiaMartinezMotis/Bullet3D
a883722f677e1949330033334a3e712a74b4aa0c
[ "MIT" ]
null
null
null
Bullet3D/ModuleSceneIntro.cpp
LaiaMartinezMotis/Bullet3D
a883722f677e1949330033334a3e712a74b4aa0c
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleSceneIntro.h" #include "Primitive.h" #include "PhysBody3D.h" #include "PhysVehicle3D.h" #include "ModulePlayer.h" ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled) { } ModuleSceneIntro::~ModuleSceneIntro(...
22.763303
111
0.676205
[ "render", "transform" ]
f9bfd9a93b4e424555608e76ab8036fa41fb58f3
22,875
cpp
C++
Source/Particles/Collision/BackgroundMCC/BackgroundMCCCollision.cpp
RTSandberg/WarpX
78d3d84649692d711baf5872f476bbe7522ae36c
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/Particles/Collision/BackgroundMCC/BackgroundMCCCollision.cpp
RTSandberg/WarpX
78d3d84649692d711baf5872f476bbe7522ae36c
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/Particles/Collision/BackgroundMCC/BackgroundMCCCollision.cpp
RTSandberg/WarpX
78d3d84649692d711baf5872f476bbe7522ae36c
[ "BSD-3-Clause-LBNL" ]
null
null
null
/* Copyright 2021 Modern Electron * * This file is part of WarpX. * * License: BSD-3-Clause-LBNL */ #include "BackgroundMCCCollision.H" #include "ImpactIonization.H" #include "Particles/ParticleCreation/FilterCopyTransform.H" #include "Particles/ParticleCreation/SmartCopy.H" #include "Utils/TextMsg.H" #include "Ut...
45.118343
115
0.577093
[ "vector", "transform" ]
f9c4f266d41fe312d52a45941dd6777685eff4d3
1,142
cpp
C++
tests/test043.cpp
rpnx-net/rntcsv
dedb3463602dbefd10fb6e4c24673a304959616c
[ "BSD-3-Clause" ]
null
null
null
tests/test043.cpp
rpnx-net/rntcsv
dedb3463602dbefd10fb6e4c24673a304959616c
[ "BSD-3-Clause" ]
null
null
null
tests/test043.cpp
rpnx-net/rntcsv
dedb3463602dbefd10fb6e4c24673a304959616c
[ "BSD-3-Clause" ]
null
null
null
// test043.cpp - read column and row values as char #include <rntcsv.h> #include "unittest.h" int main() { int rv = 0; std::string csv = "-,A,B,C\n" "1,a,b,c\n" "2,x,y,z\n" ; std::string path = unittest::TempPath(); unittest::WriteFile(path, csv); try { rntcsv::document doc(path, rntc...
22.392157
63
0.600701
[ "vector" ]
f9c8b908a9a18f2291f24f68056ee13bd19676f2
917
cpp
C++
LeetCode/Daily-Challenge/Unique Email Addresses.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
LeetCode/Daily-Challenge/Unique Email Addresses.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
LeetCode/Daily-Challenge/Unique Email Addresses.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
class Solution { public: int numUniqueEmails(vector<string>& emails) { // unordered_map<string, int> sameEmails; unordered_set<string> uniqueEmails; for(int i=0;i<emails.size();i++){ string mail = emails[i]; string m = ""; ...
26.970588
62
0.391494
[ "vector" ]
f9c94d51c677abc3b404d427c2219b8910a4f1a3
2,288
hpp
C++
external_libs/link/examples/linkaudio/AudioEngine.hpp
llloret/sp_link
b87ee622517fc68845b8f1d19c735c0e3bd05176
[ "MIT" ]
null
null
null
external_libs/link/examples/linkaudio/AudioEngine.hpp
llloret/sp_link
b87ee622517fc68845b8f1d19c735c0e3bd05176
[ "MIT" ]
null
null
null
external_libs/link/examples/linkaudio/AudioEngine.hpp
llloret/sp_link
b87ee622517fc68845b8f1d19c735c0e3bd05176
[ "MIT" ]
1
2021-02-22T11:37:41.000Z
2021-02-22T11:37:41.000Z
/* Copyright 2016, Ableton AG, Berlin. All rights reserved. * * 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 License, or * (at your option) any later version. ...
27.902439
87
0.745192
[ "vector" ]
f9d769a18f73548b88bba19ae579fa9a11658648
1,979
cpp
C++
2020/Dec/3-dec/min_subarray.cpp
pdet/cqc
14d096274d4d3670ba28f3279102fb817ae795be
[ "MIT" ]
2
2020-11-27T12:31:08.000Z
2021-02-01T07:01:14.000Z
2020/Dec/3-dec/min_subarray.cpp
pdet/cqc
14d096274d4d3670ba28f3279102fb817ae795be
[ "MIT" ]
null
null
null
2020/Dec/3-dec/min_subarray.cpp
pdet/cqc
14d096274d4d3670ba28f3279102fb817ae795be
[ "MIT" ]
1
2020-11-27T19:16:15.000Z
2020-11-27T19:16:15.000Z
#include <iostream> #include <vector> #include <algorithm> #include <unordered_map> #include <numeric> using namespace std; // prefix_sum % p equals to r = sum(arr) % p // int minSubarray(vector<int>& nums, int p) { long sum{0}; auto r = std::accumulate(nums.begin(), nums.end(), 0) % p; if (r == 0) return 0...
21.51087
91
0.52097
[ "vector" ]
f9e0be9422692c99a44bd6c46716de634687f3d9
33,146
cpp
C++
export/windows/obj/src/lime/_internal/unifill/_Utf8/Utf8_Impl_.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/_internal/unifill/_Utf8/Utf8_Impl_.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/_internal/unifill/_Utf8/Utf8_Impl_.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #ifndef INCLUDED_haxe_io_BytesBuffer #include <haxe/io/BytesBuffer.h> #endif #ifndef INCLUDED_lime__internal_unifill_Exception #include <lime/_internal/unifill/Exception.h> #endif #ifndef INCLUDED_lime__inter...
40.570379
288
0.615549
[ "object" ]