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
aa769c17ba945b84db2faad4521ed29eb3753876
12,985
hpp
C++
src/cgi/include/computeCoreIdentity.hpp
TaskeHAMANO/FastANI
cddf65688767740d35c841dc3e622709358c7b98
[ "Apache-2.0" ]
null
null
null
src/cgi/include/computeCoreIdentity.hpp
TaskeHAMANO/FastANI
cddf65688767740d35c841dc3e622709358c7b98
[ "Apache-2.0" ]
null
null
null
src/cgi/include/computeCoreIdentity.hpp
TaskeHAMANO/FastANI
cddf65688767740d35c841dc3e622709358c7b98
[ "Apache-2.0" ]
null
null
null
/** * @file computeCoreIdentity.hpp * @author Chirag Jain <cjain7@gatech.edu> */ #ifndef CGI_IDENTITY_HPP #define CGI_IDENTITY_HPP #include <vector> #include <algorithm> #include <unordered_map> #include <fstream> #include <omp.h> //Own includes #include "map/include/base_types.hpp" #include "cgi/include/cgi...
32.061728
109
0.594532
[ "object", "vector", "transform" ]
aa7820ec1438169f8e5b3decadffd476906fde7b
7,184
cxx
C++
smtk/session/polygon/operators/TweakEdge.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
40
2015-02-21T19:55:54.000Z
2022-01-06T13:13:05.000Z
smtk/session/polygon/operators/TweakEdge.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
127
2015-01-15T20:55:45.000Z
2021-08-19T17:34:15.000Z
smtk/session/polygon/operators/TweakEdge.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
27
2015-03-04T14:17:51.000Z
2021-12-23T01:05:42.000Z
//============================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. ...
31.787611
99
0.62848
[ "vector", "model" ]
aa8805dad466852b89c943014add77469a2db675
1,481
cpp
C++
Codeforces/484div2/C.cpp
transcompany/Training
d9ff0454a1171a46a8b81af5024f76d362d8e547
[ "MIT" ]
null
null
null
Codeforces/484div2/C.cpp
transcompany/Training
d9ff0454a1171a46a8b81af5024f76d362d8e547
[ "MIT" ]
null
null
null
Codeforces/484div2/C.cpp
transcompany/Training
d9ff0454a1171a46a8b81af5024f76d362d8e547
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = (a); i < (b); i++) #define pb push_back const int maxn = 1e5 + 5; int n; vector<int> adj[maxn]; int dp[maxn][2]; void dfs(int u, int p = -1) { int tot = 0; int cnt = 0; int state = 1; int canrem = 0; for (auto v : adj[u]) { ...
17.22093
57
0.390277
[ "vector" ]
aa8868305563f6b2051aaa9b9dc7ce786a67f9c9
4,840
cpp
C++
src/mongo/scripting/mozjs/db.cpp
MartinNeupauer/mongo
6cc2dfe7edd312b8596355edef454e15988e350e
[ "Apache-2.0" ]
1
2019-05-15T03:41:50.000Z
2019-05-15T03:41:50.000Z
src/mongo/scripting/mozjs/db.cpp
MartinNeupauer/mongo
6cc2dfe7edd312b8596355edef454e15988e350e
[ "Apache-2.0" ]
2
2021-03-26T00:01:11.000Z
2021-03-26T00:02:19.000Z
src/mongo/scripting/mozjs/db.cpp
MartinNeupauer/mongo
6cc2dfe7edd312b8596355edef454e15988e350e
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2015 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITH...
34.571429
97
0.675826
[ "object" ]
aa8f78bfe61bc0e3c6754ebe7f29f5d33a97835a
10,607
cpp
C++
ugene/src/corelibs/U2Gui/src/OpenViewTask.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/corelibs/U2Gui/src/OpenViewTask.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/corelibs/U2Gui/src/OpenViewTask.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * 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...
35.713805
134
0.64514
[ "object" ]
aa926f66aed1d69a62ae638a0d4d3ef6643ddf8e
2,986
cpp
C++
src/RaZ/Render/RenderGraph.cpp
Sausty/RaZ
211cc1c0c4a7374520a3141fc069b7717e2e5e0f
[ "MIT" ]
null
null
null
src/RaZ/Render/RenderGraph.cpp
Sausty/RaZ
211cc1c0c4a7374520a3141fc069b7717e2e5e0f
[ "MIT" ]
null
null
null
src/RaZ/Render/RenderGraph.cpp
Sausty/RaZ
211cc1c0c4a7374520a3141fc069b7717e2e5e0f
[ "MIT" ]
null
null
null
#include "RaZ/Math/Transform.hpp" #include "RaZ/Render/Camera.hpp" #include "RaZ/Render/RenderGraph.hpp" #include "RaZ/Render/RenderSystem.hpp" namespace Raz { bool RenderGraph::isValid() const { if (!m_geometryPass.isValid()) return false; for (const std::unique_ptr<RenderPass>& renderPass : m_nodes) { ...
31.765957
133
0.721031
[ "mesh", "render", "transform" ]
aa932ee5a94dfa046f7daa9ca9141d80bc8d1a48
6,048
cpp
C++
src/guidance.v2.02/libs/phylogeny/seqContainerTreeMap.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
4
2021-07-18T05:20:20.000Z
2022-01-03T10:22:33.000Z
src/guidance.v2.02/libs/phylogeny/seqContainerTreeMap.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
1
2017-08-21T07:26:13.000Z
2018-11-08T13:59:48.000Z
src/guidance.v2.02/libs/phylogeny/seqContainerTreeMap.cpp
jlanga/smsk_orthofinder
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
2
2021-07-18T05:20:26.000Z
2022-03-31T18:23:31.000Z
// $Id: seqContainerTreeMap.cpp 12494 2014-08-06 15:54:00Z haim $ #include <stdlib.h> #include "seqContainerTreeMap.h" #include "logFile.h" #include "treeUtil.h" /******************************************************************************************** ***************************************************************...
32.691892
204
0.583333
[ "vector" ]
aa9f6ba499dffca7a05a65a92041c275b22e8b25
66,077
cpp
C++
MMOCoreORB/src/server/zone/managers/structure/StructureManager.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/managers/structure/StructureManager.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/managers/structure/StructureManager.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* * StructureManager.cpp * * Created on: 01/08/2012 * Author: swgemu */ #include "StructureManager.h" #include "engine/db/IndexDatabase.h" #include "server/zone/objects/scene/SceneObject.h" #include "conf/ConfigManager.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/manage...
35.989651
334
0.739395
[ "object", "vector" ]
aaae54e420a6c69f7bc7d274a20f22fdd481cefa
5,231
cpp
C++
test/CapabilitySet.cpp
MIPS/external-shaderc-spirv-tools
410cd1fca9703990880d4ddc53bb0b367889b173
[ "Apache-2.0" ]
null
null
null
test/CapabilitySet.cpp
MIPS/external-shaderc-spirv-tools
410cd1fca9703990880d4ddc53bb0b367889b173
[ "Apache-2.0" ]
null
null
null
test/CapabilitySet.cpp
MIPS/external-shaderc-spirv-tools
410cd1fca9703990880d4ddc53bb0b367889b173
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
34.414474
76
0.695278
[ "vector" ]
82b4ee8cfc33cc8c94d88c0d9598b6d6aa4c37ec
7,278
hpp
C++
plugins/EstimationPlugin/src/base/measurementfile/DataFile.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
plugins/EstimationPlugin/src/base/measurementfile/DataFile.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
plugins/EstimationPlugin/src/base/measurementfile/DataFile.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
//$Id: DataFile.hpp 1398 2011-04-21 20:39:37Z $ //------------------------------------------------------------------------------ // DataFile //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 -...
38.507937
139
0.62792
[ "vector" ]
82b5c1545afdcc5ca17e74ea7e9dba005a490e7a
12,019
cxx
C++
3p/VTK/ThirdParty/vtkm/vtk-m/vtkm/rendering/raytracing/CylinderIntersector.cxx
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
1
2021-10-03T16:47:04.000Z
2021-10-03T16:47:04.000Z
3p/VTK/ThirdParty/vtkm/vtk-m/vtkm/rendering/raytracing/CylinderIntersector.cxx
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
null
null
null
3p/VTK/ThirdParty/vtkm/vtk-m/vtkm/rendering/raytracing/CylinderIntersector.cxx
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
31.712401
97
0.594059
[ "mesh" ]
82beddc57d6e1bf801db6a068d279ffc3cd913f7
51,350
cpp
C++
oneEngine/oneGame/source/physical/animation/CHKAnimation.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/physical/animation/CHKAnimation.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/physical/animation/CHKAnimation.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "CHKAnimation.h" #include "set/CHKAnimationSet.h" /* #include "Animation/Animation/Rig/hkaSkeletonUtils.h" #include "Animation/Animation/Ik/TwoJoints/hkaTwoJointsIkSolver.h" #include "Animation/Animation/Ik/LookAt/hkaLookAtIkSolver.h" #include "Animation/Animation/Ik/FootPlacement/hkaFootPlacementIkSolver.h...
42.193919
233
0.665102
[ "object", "vector", "model", "transform" ]
82c3277dc524ffb353c64c29dba22e04cad5a50e
9,403
cpp
C++
emitter/data_printer.cpp
copy/llir-opt
2fde7ebdf746d658ebfe60130cb18a9c3a4e091a
[ "MIT" ]
null
null
null
emitter/data_printer.cpp
copy/llir-opt
2fde7ebdf746d658ebfe60130cb18a9c3a4e091a
[ "MIT" ]
null
null
null
emitter/data_printer.cpp
copy/llir-opt
2fde7ebdf746d658ebfe60130cb18a9c3a4e091a
[ "MIT" ]
null
null
null
// This file if part of the llir-opt project. // Licensing information can be found in the LICENSE file. // (C) 2018 Nandor Licker. All rights reserved. #include <llvm/BinaryFormat/ELF.h> #include <llvm/CodeGen/MachineModuleInfo.h> #include <llvm/IR/Mangler.h> #include <llvm/MC/MCSectionELF.h> #include "core/cast.h" ...
30.529221
80
0.527279
[ "object" ]
82c49c2c8ee17b289ca408c150ac2456f5eba28f
5,908
cpp
C++
Engine/Source/Sapphire/Rendering/Vulkan/Buffers/VkFrameBuffer.cpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
2
2020-03-18T09:06:21.000Z
2020-04-09T00:07:56.000Z
Engine/Source/Sapphire/Rendering/Vulkan/Buffers/VkFrameBuffer.cpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
Engine/Source/Sapphire/Rendering/Vulkan/Buffers/VkFrameBuffer.cpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
// Copyright 2020 Sapphire development team. All Rights Reserved. #include <Rendering/Vulkan/Buffers/VkFrameBuffer.hpp> #include <Core/Algorithms/SizeOf.hpp> #include <Rendering/Vulkan/System/VkMacro.hpp> #include <Rendering/Vulkan/System/VkRenderPass.hpp> #include <Rendering/Vulkan/System/Device/VkDevice.hpp> #if ...
33.005587
142
0.757448
[ "vector" ]
82cc4fb6b851c2f6375a78c1a4d6c545c7259ef0
4,957
hpp
C++
Game/ScriptSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
Game/ScriptSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
Game/ScriptSystem.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** G-JAM-001-STG-0-1-jam-louis.kleiver ** File description: ** ScriptSystem */ #ifndef SCRIPTSYSTEM_HPP_ #define SCRIPTSYSTEM_HPP_ #include "ASystem.hpp" #include "ECS.hpp" #include "ScriptComponent.hpp" #include "Transform2DComponent.hpp" #include "MainForceComponent.hpp" #include "Skelet...
38.726563
129
0.488199
[ "transform" ]
82cd2637a883810cfb1e8feb263ad15784ed762f
2,657
cpp
C++
tests/unit-tests/test-fill-triangle.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
tests/unit-tests/test-fill-triangle.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
tests/unit-tests/test-fill-triangle.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- #include <algorithm> #include <array> #include "test-sys/test.hh" #include "tests/test-util/text-bitmap.hh" #include "bitmap/bitmap.hh" #include "bitmap/color.hh" #include "bitmap/draw.hh" using faint::IntPoint; using triangle_t = std::array<IntPoint, 3>; using triangles_t = std::vec...
21.087302
69
0.54347
[ "vector" ]
82cd2ae7337d9fea99f0c07c4dce042cd2787796
1,992
hpp
C++
src/core/compute/program.hpp
Rythe-Interactive/Rythe-Core
74dea147308c781412c0c72e59f25cb6c219b2d7
[ "MIT" ]
2
2022-03-16T23:39:17.000Z
2022-03-18T20:22:58.000Z
src/core/compute/program.hpp
Rythe-Interactive/Rythe-Core
74dea147308c781412c0c72e59f25cb6c219b2d7
[ "MIT" ]
3
2022-03-02T13:49:10.000Z
2022-03-22T11:54:06.000Z
legion/engine/core/compute/program.hpp
Rythe-Interactive/Rythe-Engine.rythe-legacy
c119c494524b069a73100b12dc3d8b898347830d
[ "MIT" ]
null
null
null
#pragma once #include "detail/cl_include.hpp" #include <core/filesystem/resource.hpp> #include <core/compute/kernel.hpp> #include <functional> #include <string> /** * @file program.hpp */ namespace legion::core::compute { /** @class Program * @brief A Mid-Level Wrapper around a cl_program, creates comm...
29.294118
102
0.623494
[ "object" ]
82ce15e77e3da54484417e9c167e931265fd49a7
7,820
hpp
C++
src/mlpack/methods/reinforcement_learning/q_networks/categorical_dqn.hpp
laszlzso/mlpack
52e123e56792638c957d0229b001ae14a9e94a75
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2019-07-09T21:52:01.000Z
2020-07-29T19:14:33.000Z
src/mlpack/methods/reinforcement_learning/q_networks/categorical_dqn.hpp
laszlzso/mlpack
52e123e56792638c957d0229b001ae14a9e94a75
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2020-06-21T17:36:46.000Z
2020-08-07T07:16:01.000Z
src/mlpack/methods/reinforcement_learning/q_networks/categorical_dqn.hpp
laszlzso/mlpack
52e123e56792638c957d0229b001ae14a9e94a75
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file methods/reinforcement_learning/q_networks/categorical_dqn.hpp * @author Nishant Kumar * * This file contains the implementation of the categorical deep q network. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have rece...
31.659919
82
0.665473
[ "object", "vector", "model" ]
82d33e5330a82ae06db69dc1b3d367f41cf405da
40,668
cpp
C++
modules/address-book/engine/src/AddressBookCloudUploader.cpp
heavencross/alexa-auto-sdk
13baa3d1416c0d1582d0c78e6223212a745ed022
[ "Apache-2.0" ]
null
null
null
modules/address-book/engine/src/AddressBookCloudUploader.cpp
heavencross/alexa-auto-sdk
13baa3d1416c0d1582d0c78e6223212a745ed022
[ "Apache-2.0" ]
null
null
null
modules/address-book/engine/src/AddressBookCloudUploader.cpp
heavencross/alexa-auto-sdk
13baa3d1416c0d1582d0c78e6223212a745ed022
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "...
42.539749
201
0.657888
[ "vector" ]
82d5a6bf2d3835e5fda53b4cc611fcec870f648a
1,769
cpp
C++
Gems/Terrain/Code/Source/TerrainRenderer/Aabb2i.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
1
2022-03-28T08:06:58.000Z
2022-03-28T08:06:58.000Z
Gems/Terrain/Code/Source/TerrainRenderer/Aabb2i.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Terrain/Code/Source/TerrainRenderer/Aabb2i.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <TerrainRenderer/Aabb2i.h> #include <AzCore/Math/MathUtils.h> namespace Terrain { Aa...
24.232877
100
0.585642
[ "3d" ]
82d7e27046d54e3445f3f8d201006dc0fd0b3bff
361
hpp
C++
pathfinder.hpp
LesleyLai/Lai_CSCI2270_FinalProject
dbf71d4be4236cd8a5ce4629117952882d3509fe
[ "MIT" ]
null
null
null
pathfinder.hpp
LesleyLai/Lai_CSCI2270_FinalProject
dbf71d4be4236cd8a5ce4629117952882d3509fe
[ "MIT" ]
null
null
null
pathfinder.hpp
LesleyLai/Lai_CSCI2270_FinalProject
dbf71d4be4236cd8a5ce4629117952882d3509fe
[ "MIT" ]
null
null
null
#ifndef PATHFINDER_HPP #define PATHFINDER_HPP // Path finding algorithms #include "type.hpp" class Graph; struct Vertex; std::vector<Vertex*> depth_first_search(Vertex& start, Vertex& end); std::vector<Vertex*> breath_first_search(Vertex& start, Vertex& end); std::vector<Vertex*> dijkstras_algorithm(Vertex& start, ...
21.235294
69
0.767313
[ "vector" ]
82dfa5526171eefeae14e0218f4f450adaf09764
11,235
cc
C++
test_prelude.cc
kdungs/cpp-prelude
607bea876cbc41e497cc43c69bd0d4ac6e37a7a0
[ "MIT" ]
4
2015-12-27T03:12:50.000Z
2021-07-22T20:54:43.000Z
test_prelude.cc
kdungs/cpp-prelude
607bea876cbc41e497cc43c69bd0d4ac6e37a7a0
[ "MIT" ]
null
null
null
test_prelude.cc
kdungs/cpp-prelude
607bea876cbc41e497cc43c69bd0d4ac6e37a7a0
[ "MIT" ]
null
null
null
#include "prelude.h" #include <array> #include <cassert> #include <iostream> #include <list> #include <string> #include <vector> auto test_not_() -> void { using Prelude::not_; auto even = [](int x) { return x % 2 == 0; }; auto odd = not_<int>(even); assert(odd(3) == true); assert(odd(2) == false); } auto ...
28.299748
80
0.576324
[ "vector" ]
82e4d1433a37f5aa2da5ac4946ec1ee6ca5394fc
832
cpp
C++
UVa/uva 111.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
UVa/uva 111.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
UVa/uva 111.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
// By KRT girl xiplus #include <bits/stdc++.h> #define endl '\n' using namespace std; int n; int v[21]; int LIS(){ vector<int> lis; lis.push_back(v[1]); for(int q=2;q<=n;q++){ if(v[q]>lis.back()){ lis.push_back(v[q]); }else { lis[lower_bound(lis.begin(),lis.end(),v[q])-lis.begin()]=v[q]; } } return lis...
16
65
0.530048
[ "vector" ]
82e73f1f9b4095c0ad09dae054c69af22c355efd
15,364
cpp
C++
vpx/snpe/LoadInputTensor.cpp
yindaheng98/nemo-libvpx
10d8caadb28087577af27b0792f4ed3aef68ca16
[ "BSD-3-Clause" ]
2
2021-08-08T16:26:44.000Z
2022-03-07T01:38:08.000Z
vpx/snpe/LoadInputTensor.cpp
yindaheng98/nemo-libvpx
10d8caadb28087577af27b0792f4ed3aef68ca16
[ "BSD-3-Clause" ]
null
null
null
vpx/snpe/LoadInputTensor.cpp
yindaheng98/nemo-libvpx
10d8caadb28087577af27b0792f4ed3aef68ca16
[ "BSD-3-Clause" ]
null
null
null
//============================================================================== // // Copyright (c) 2017-2019 Qualcomm Technologies, Inc. // All Rights Reserved. // Confidential and Proprietary - Qualcomm Technologies, Inc. // //============================================================================== #includ...
45.862687
164
0.648139
[ "vector" ]
82ead6890c728bfeb5987183063211eec19d1efc
3,535
cpp
C++
shader.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
shader.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
shader.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
#include "shader.h" void AttachShader(Shader * shader) { Assert(shader->compiledAndLinked); glUseProgram(shader->program); } void SetIntShader(Shader * shader, const char * name, int value){ AttachShader(shader); glUniform1i(glGetUniformLocation(shader->program, name), value); } void SetBoolShader(Sh...
36.443299
132
0.703536
[ "vector" ]
82f0c0338a6b1b57cacda10940fa034087f84960
9,097
cpp
C++
src/sort.cpp
georgebrock/task
00204e01912aeb9e39b94ac7ba16562fdd5b5f2c
[ "MIT" ]
1
2017-10-13T06:00:59.000Z
2017-10-13T06:00:59.000Z
src/sort.cpp
georgebrock/task
00204e01912aeb9e39b94ac7ba16562fdd5b5f2c
[ "MIT" ]
null
null
null
src/sort.cpp
georgebrock/task
00204e01912aeb9e39b94ac7ba16562fdd5b5f2c
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // taskwarrior - a command line task list manager. // // Copyright 2006-2014, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated docume...
31.696864
97
0.565461
[ "vector" ]
82f8716776aeb7f2fc9aff98609313e06d51edf2
5,655
cc
C++
src/ufo/gnssro/QC/BackgroundCheckRONBAM.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
1
2021-10-08T16:37:25.000Z
2021-10-08T16:37:25.000Z
src/ufo/gnssro/QC/BackgroundCheckRONBAM.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
9
2021-06-25T17:18:06.000Z
2021-10-08T17:40:31.000Z
src/ufo/gnssro/QC/BackgroundCheckRONBAM.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
31
2021-06-24T18:07:53.000Z
2021-10-08T15:40:39.000Z
/* * (C) Copyright 2017-2018 UCAR * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #include "ufo/gnssro/QC/BackgroundCheckRONBAM.h" #include <algorithm> #include <cmath> #include <limits> #include <vector> #...
40.392857
99
0.564103
[ "vector" ]
82f98cb64cb4fa9236da0056c1659933bd5ba02f
2,336
cpp
C++
fileoperationdialog.cpp
haraki/farman
9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297
[ "MIT" ]
5
2018-08-19T05:45:45.000Z
2020-10-09T09:37:57.000Z
fileoperationdialog.cpp
haraki/farman
9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297
[ "MIT" ]
95
2018-04-26T12:13:24.000Z
2020-05-03T08:23:56.000Z
fileoperationdialog.cpp
haraki/farman
9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297
[ "MIT" ]
1
2018-08-19T05:46:02.000Z
2018-08-19T05:46:02.000Z
#include <QStandardItemModel> #include <QFileDialog> #include "fileoperationdialog.h" #include "ui_fileoperationdialog.h" namespace Farman { FileOperationDialog::FileOperationDialog(OperationType type, const QString& srcDirPath, const ...
29.56962
153
0.576199
[ "model" ]
82fc3a45dd3a8a29b60fddba2a7d30e76909acf0
3,911
cpp
C++
Game/OGRE/OgreMain/src/OgreResource.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/OGRE/OgreMain/src/OgreResource.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/OGRE/OgreMain/src/OgreResource.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://ogre.sourceforge.net/ Copyright (c) 2000-2005 The OGRE Team Also see acknowledgements in Readme.html This program is free softwa...
28.547445
88
0.56405
[ "object" ]
d2011b89d5edf4d573f254e1103a3ac2aa22f462
1,920
cpp
C++
1301-1400/1301-Number of Paths with Max Score/1301-Number of Paths with Max Score.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
1301-1400/1301-Number of Paths with Max Score/1301-Number of Paths with Max Score.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
1301-1400/1301-Number of Paths with Max Score/1301-Number of Paths with Max Score.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: vector<int> pathsWithMaxScore(vector<string>& board) { int n = board.size(); int MOD = 1e9 + 7; vector<int> maxSum1(n), count1(n); count1[n - 1] = 1; for (int j = n - 2; j >= 0; --j) { if (board[n - 1][j] == 'X') { break; ...
35.555556
90
0.326563
[ "vector" ]
d20983c2e9b7df1a3a7aa32b3702543dfe4368a7
2,883
cpp
C++
sem_4/ded/sorting/src/collections/views/highlighter.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
sem_4/ded/sorting/src/collections/views/highlighter.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
sem_4/ded/sorting/src/collections/views/highlighter.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
#include "highlighter.h" const double HIGHLIGHTER_ON_COEF = 0.0; v_Highlighter::v_Highlighter(const ViewBody &body, SmartColor *color, AbstractView *parent, double highlight_coef, bool to_block_covered): AbstractLabledView(body, parent, to_block_covered), highlight_coef(highlight_coef), color(color) { e_mouse_p...
33.523256
138
0.730489
[ "render" ]
d211fa4762e5bc65900b959304dfc375561bf172
668
hpp
C++
src/Hangman.hpp
ClemThierry/POO_S4
9628fe68417b21fdcbea7870a5b300c7780d929b
[ "MIT" ]
null
null
null
src/Hangman.hpp
ClemThierry/POO_S4
9628fe68417b21fdcbea7870a5b300c7780d929b
[ "MIT" ]
2
2022-03-22T19:29:33.000Z
2022-03-23T13:21:39.000Z
src/Hangman.hpp
ClemThierry/POO_S4
9628fe68417b21fdcbea7870a5b300c7780d929b
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <string> #include <vector> void hangmanGame(); std::string chooseRandomWord(); char askLetterToThePlayer(); bool isWordFound(const std::string& playerWord); bool isPlayerAlive(const int livesOfPlayer); bool isTheLetterInTheWord(char let...
47.714286
121
0.751497
[ "vector" ]
d21538308f42b2ce8b53117292bad31bb7e88e6d
1,579
cpp
C++
aws-cpp-sdk-iotevents-data/source/model/SystemEvent.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-iotevents-data/source/model/SystemEvent.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-iotevents-data/source/model/SystemEvent.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/iotevents-data/model/SystemEvent.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
20.776316
89
0.751108
[ "model" ]
d21e9b20d910a8c459c31c98617a919ec5700fbd
78,733
cxx
C++
main/vcl/source/gdi/outdev.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/vcl/source/gdi/outdev.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/vcl/source/gdi/outdev.cxx
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...
28.038818
168
0.623868
[ "geometry", "vector", "transform" ]
d22236250dfbfa40ecb87468012e0edcd5b4b605
2,322
hpp
C++
src/libpanacea/distribution/distributions/distribution.hpp
lanl/PANACEA
9779bdb6dcc3be41ea7b286ae55a21bb269e0339
[ "BSD-3-Clause" ]
null
null
null
src/libpanacea/distribution/distributions/distribution.hpp
lanl/PANACEA
9779bdb6dcc3be41ea7b286ae55a21bb269e0339
[ "BSD-3-Clause" ]
null
null
null
src/libpanacea/distribution/distributions/distribution.hpp
lanl/PANACEA
9779bdb6dcc3be41ea7b286ae55a21bb269e0339
[ "BSD-3-Clause" ]
null
null
null
#ifndef PANACEA_PRIVATE_BASEDISTRIBUTION_H #define PANACEA_PRIVATE_BASEDISTRIBUTION_H #pragma once // Local private PANACEA includes #include "private_settings.hpp" // Public PANACEA includes #include "panacea/file_io_types.hpp" // Standard includes #include <any> #include <iostream> #include <vector> namespace pan...
32.25
80
0.703704
[ "vector" ]
d230561c740cf40af6b74505f121d50b001cef1b
1,182
cpp
C++
book/CH01/S14_Selecting_index_of_a_queue_family_with_desired_capabilities.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
5
2019-03-02T16:29:15.000Z
2021-11-07T11:07:53.000Z
book/CH01/S14_Selecting_index_of_a_queue_family_with_desired_capabilities.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
null
null
null
book/CH01/S14_Selecting_index_of_a_queue_family_with_desired_capabilities.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
2
2018-07-10T18:15:40.000Z
2020-01-03T04:02:32.000Z
// // Created by aicdg on 2017/6/17. // // // Chapter: 01 Instance and Devices // Recipe: 14 Selecting index of a queue family with desired capabilities #include "S13_Checking_available_queue_families_and_their_properties.h" #include "S14_Selecting_index_of_a_queue_family_with_desired_capabilities.h" namespace VKC...
35.818182
99
0.615059
[ "vector" ]
d230c698d97bf2b5c07514066c326b13d9e5a62c
832
hpp
C++
src/vbk/test/util/tx.hpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
1
2020-04-20T15:20:23.000Z
2020-04-20T15:20:23.000Z
src/vbk/test/util/tx.hpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
null
null
null
src/vbk/test/util/tx.hpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
null
null
null
#ifndef BITCOIN_SRC_VBK_TEST_UTIL_TX_HPP #define BITCOIN_SRC_VBK_TEST_UTIL_TX_HPP #include <primitives/transaction.h> #include <vbk/util.hpp> namespace VeriBlockTest { // creates valid pop transaction given atv & vtbs inline CMutableTransaction makePopTx(const std::vector<uint8_t>& atv, const std::vector<std::vecto...
25.212121
116
0.703125
[ "vector" ]
d237557df6b001856573319634453cd49eecb129
3,932
cpp
C++
build/qCC/CloudCompare_autogen/include_Debug/MR6MLFC4MR/moc_matrixDisplayDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/qCC/CloudCompare_autogen/include_Debug/MR6MLFC4MR/moc_matrixDisplayDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/qCC/CloudCompare_autogen/include_Debug/MR6MLFC4MR/moc_matrixDisplayDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'matrixDisplayDlg.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1) ** ** WARNING! All changes made in this file will be lost! *********************************************...
32.229508
97
0.614191
[ "object" ]
d240e65e332d34317ba25b03523e19dedbf6f1da
2,155
hpp
C++
src/core/stream_utility.hpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
src/core/stream_utility.hpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
src/core/stream_utility.hpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * IziEditor * Copyright (c) 2015 Martin Newhouse * * 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 * ...
33.671875
86
0.75406
[ "vector" ]
d242ec8470c0284eb6db0ad0eae84cbf0a57da60
3,177
hpp
C++
test/unit/module/real/core/hypot/regular/hypot.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/core/hypot/regular/hypot.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/core/hypot/regular/hypot.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
44.125
127
0.517155
[ "vector" ]
d244c29db356d48aac6798309120e3a31b0e39ff
5,189
cpp
C++
flatland_plugins/src/world_random_wall.cpp
schmiddey/flatland
7ae1c7e5a3edcad372ccde56fd7b5e79484ffeeb
[ "BSD-3-Clause" ]
null
null
null
flatland_plugins/src/world_random_wall.cpp
schmiddey/flatland
7ae1c7e5a3edcad372ccde56fd7b5e79484ffeeb
[ "BSD-3-Clause" ]
null
null
null
flatland_plugins/src/world_random_wall.cpp
schmiddey/flatland
7ae1c7e5a3edcad372ccde56fd7b5e79484ffeeb
[ "BSD-3-Clause" ]
null
null
null
/* * ______ __ __ __ * /\ _ \ __ /\ \/\ \ /\ \__ * \ \ \L\ \ __ __ /\_\ \_\ \ \ \____ ___\ \ ,_\ ____ * \ \ __ \/\ \/\ \\/\ \ /'_` \ \ '__`\ / __`\ \ \/ /',__\ * \ \ \/\ \ \ \_/ |\ \ \/\ \L\ \ \ \L\ \/\ \L\ \ \ \_/\__, `\ * \ \_\ \_\ \_...
39.310606
83
0.656967
[ "vector" ]
d24a7c2fd468e9ca1df0349d885b732cbd4315bc
3,626
cpp
C++
dbms/src/Access/AccessControlManager.cpp
s5-stratos/ClickHouse
f0657fbac428e326a1c60114328b4c7e8a67073d
[ "Apache-2.0" ]
1
2020-02-14T11:38:11.000Z
2020-02-14T11:38:11.000Z
dbms/src/Access/AccessControlManager.cpp
s5-stratos/ClickHouse
f0657fbac428e326a1c60114328b4c7e8a67073d
[ "Apache-2.0" ]
null
null
null
dbms/src/Access/AccessControlManager.cpp
s5-stratos/ClickHouse
f0657fbac428e326a1c60114328b4c7e8a67073d
[ "Apache-2.0" ]
null
null
null
#include <Access/AccessControlManager.h> #include <Access/MultipleAccessStorage.h> #include <Access/MemoryAccessStorage.h> #include <Access/UsersConfigAccessStorage.h> #include <Access/User.h> #include <Access/QuotaContextFactory.h> #include <Access/RowPolicyContextFactory.h> #include <Access/AccessRightsContext.h> n...
30.991453
201
0.747932
[ "vector" ]
d2582d01f4843874b044b0e6882a15faf524c9f9
8,813
cpp
C++
src/MainWindow/main_window.cpp
MidsummerNight/FOEDAG
4bab24b9a96f1a34ad3bb4a29796bfa3ccb771a6
[ "MIT" ]
null
null
null
src/MainWindow/main_window.cpp
MidsummerNight/FOEDAG
4bab24b9a96f1a34ad3bb4a29796bfa3ccb771a6
[ "MIT" ]
null
null
null
src/MainWindow/main_window.cpp
MidsummerNight/FOEDAG
4bab24b9a96f1a34ad3bb4a29796bfa3ccb771a6
[ "MIT" ]
null
null
null
/* Copyright 2021 The Foedag team GPL License Copyright (c) 2021 The Open-Source FPGA Foundation 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)...
33.509506
78
0.719846
[ "model" ]
d25f851b8570941200a8c309df7b639287da3199
29,404
cpp
C++
Modules/DiffusionCmdApps/Tractography/StreamlineTractography.cpp
MIC-DKFZ/MITK-Diffusion
58b42eb2204e9f127900ff7890314307d26e9921
[ "BSD-3-Clause" ]
37
2019-07-05T10:55:06.000Z
2022-03-21T12:09:35.000Z
Modules/DiffusionCmdApps/Tractography/StreamlineTractography.cpp
MIC-DKFZ/MITK-Diffusion
58b42eb2204e9f127900ff7890314307d26e9921
[ "BSD-3-Clause" ]
6
2019-11-04T16:05:47.000Z
2022-03-22T15:53:31.000Z
Modules/DiffusionCmdApps/Tractography/StreamlineTractography.cpp
MIC-DKFZ/MITK-Diffusion
58b42eb2204e9f127900ff7890314307d26e9921
[ "BSD-3-Clause" ]
10
2019-10-15T14:37:26.000Z
2022-02-18T03:22:01.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ...
50.435678
333
0.721637
[ "vector" ]
d92251efa2884bdf0113f96927290f41bc95a22d
18,332
cpp
C++
chromosone.cpp
rcorbish/GenePool
a18b29689bae13e56abca6f03de9b6da22d62111
[ "Unlicense" ]
null
null
null
chromosone.cpp
rcorbish/GenePool
a18b29689bae13e56abca6f03de9b6da22d62111
[ "Unlicense" ]
null
null
null
chromosone.cpp
rcorbish/GenePool
a18b29689bae13e56abca6f03de9b6da22d62111
[ "Unlicense" ]
null
null
null
#include <Python.h> #include <structmember.h> #include <vector> #include <cstring> #include <stdlib.h> /* rand */ /******************************************************************** * * C defintion for Python class * ********************************************************************/ typedef struct { ...
29.378205
130
0.532239
[ "vector" ]
d924d032f478bf9de4b3ffbe45c354a24cabf1e0
1,013
cc
C++
src/apc001/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/apc001/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/apc001/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; #ifndef _debug int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int n; cin >> n; cout << 0 << endl; vector<string> fm(n, ""); cin >> fm[0]; if(fm[0] == "Vacant") return 0; cout << n - ...
20.673469
49
0.372162
[ "vector" ]
d925eee144fa8e04927c0d1b3713b3f3714984a2
1,655
cpp
C++
passenger_car_kinematic_model/src/passenger_car_kinematic_model/EntryPoint.cpp
mjeronimo/carma-vehicle-model-framework
d330ed4eb316432e62ed48f5932be135d69688a4
[ "Apache-2.0" ]
3
2020-08-13T14:25:43.000Z
2021-07-07T06:09:30.000Z
passenger_car_kinematic_model/src/passenger_car_kinematic_model/EntryPoint.cpp
mjeronimo/carma-vehicle-model-framework
d330ed4eb316432e62ed48f5932be135d69688a4
[ "Apache-2.0" ]
7
2020-08-18T21:24:51.000Z
2022-02-03T21:55:28.000Z
passenger_car_kinematic_model/src/passenger_car_kinematic_model/EntryPoint.cpp
mjeronimo/carma-vehicle-model-framework
d330ed4eb316432e62ed48f5932be135d69688a4
[ "Apache-2.0" ]
1
2021-06-28T15:39:32.000Z
2021-06-28T15:39:32.000Z
/* * Copyright (C) 2018-2021 LEIDOS. * * 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...
35.978261
112
0.76858
[ "model" ]
d9303e2091c1366bba9c0d3e6e7cdfec6c1856df
987
cpp
C++
leetcode-cpp/PartitionEqualSubsetSum_416.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
leetcode-cpp/PartitionEqualSubsetSum_416.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
leetcode-cpp/PartitionEqualSubsetSum_416.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <iostream> #include <climits> #include <algorithm> #include <queue> #include <stack> #include <map> #define Max(a, b) a > b ? a : b #define Min(a, b) a < b ? a : b using namespace std; class Solution { public: bool canPartition(vector<int>& nums) { int m = nums.size(); ...
19.352941
75
0.454914
[ "vector" ]
d9307ca2c4485a791d4e4f154e1cf740ca3d87f1
2,378
cpp
C++
test/signal_tests.cpp
JiveHelix/pex
d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6
[ "MIT" ]
null
null
null
test/signal_tests.cpp
JiveHelix/pex
d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6
[ "MIT" ]
null
null
null
test/signal_tests.cpp
JiveHelix/pex
d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6
[ "MIT" ]
null
null
null
/** * @author Jive Helix (jivehelix@gmail.com) * @copyright 2020 Jive Helix * Licensed under the MIT license. See LICENSE file. */ #include <catch2/catch.hpp> #include "pex/signal.h" template<typename Access = pex::GetAndSetTag> class Observer { public: Observer(pex::model::Signal &model) : ...
23.544554
75
0.656854
[ "model" ]
d931de683d15f0ef8a2e6a859aa35c15828608df
3,404
cpp
C++
ProjectEuler/euler033.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
ProjectEuler/euler033.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
ProjectEuler/euler033.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <string> #include <unordered_set> using namespace std; //converts n to string and adds leading zeroes string toString(unsigned int n, unsigned int digits) { unsigned int digit; string number = ""; while(d...
33.70297
98
0.493243
[ "vector" ]
d93463925c3dad03cb87d75028db9dd79268f832
15,156
cpp
C++
stereo_sparse_depth_fusion/src/stereo_depth_fusion.cpp
huyaoyu/Tutorial2020_Stereo_ROS
32f7427b597ac01674a36a19b8439844d1ea291b
[ "BSD-3-Clause" ]
4
2020-10-27T03:12:39.000Z
2022-02-01T07:04:34.000Z
stereo_sparse_depth_fusion/src/stereo_depth_fusion.cpp
huyaoyu/Tutorial2020_Stereo_ROS
32f7427b597ac01674a36a19b8439844d1ea291b
[ "BSD-3-Clause" ]
null
null
null
stereo_sparse_depth_fusion/src/stereo_depth_fusion.cpp
huyaoyu/Tutorial2020_Stereo_ROS
32f7427b597ac01674a36a19b8439844d1ea291b
[ "BSD-3-Clause" ]
3
2021-08-14T23:05:10.000Z
2022-02-02T11:31:22.000Z
#include <stdio.h> #include <cstdlib> #include <ctime> #include <fstream> #include <dirent.h> #include <iostream> #include <sstream> #include <string> #include "stereo_sdf/SGMStereo.h" #include "stereo_sdf/utils.h" #include <Eigen/Dense> // Headers from package stereo_utils. #include <stereo_utils/stereo_utils.hpp> ...
36.697337
133
0.555819
[ "vector" ]
d938c3f1eecf6b71eb0fa83c5087a7bf21d31a5a
1,774
cpp
C++
Etherea/Splash.cpp
Perlucidus/Etherea2D
04fc1359d5bb152ec9363a9cb049f143a13574a8
[ "MIT" ]
null
null
null
Etherea/Splash.cpp
Perlucidus/Etherea2D
04fc1359d5bb152ec9363a9cb049f143a13574a8
[ "MIT" ]
null
null
null
Etherea/Splash.cpp
Perlucidus/Etherea2D
04fc1359d5bb152ec9363a9cb049f143a13574a8
[ "MIT" ]
null
null
null
#include "Splash.hpp" #include "Log.hpp" #define RENDER GetComponent<RenderComponent>() Splash::Splash() : Entity("splash") { Texture texture = GAME.GetRenderer().LoadTexture("../assets/textures/splash.png"); AddComponent<RenderComponent>(texture); } void Splash::render(Renderer & renderer) { renderer.CopyTo(REND...
25.342857
110
0.684893
[ "render" ]
d9402456df53de66a4cd254d502da140e7e13634
14,149
cpp
C++
Samples/BasicFaceTracking/cpp/Scenario1_TrackInWebcam.xaml.cpp
Luisesp/Windows-universal-samples
5a195ae2f4863ea6596718747ccc026fdf2b65d1
[ "MIT" ]
2
2018-12-25T14:44:11.000Z
2020-05-25T08:41:59.000Z
Samples/BasicFaceTracking/cpp/Scenario1_TrackInWebcam.xaml.cpp
pjurkiewicz/Windows-universal-samples
5a195ae2f4863ea6596718747ccc026fdf2b65d1
[ "MIT" ]
null
null
null
Samples/BasicFaceTracking/cpp/Scenario1_TrackInWebcam.xaml.cpp
pjurkiewicz/Windows-universal-samples
5a195ae2f4863ea6596718747ccc026fdf2b65d1
[ "MIT" ]
2
2020-07-13T03:05:00.000Z
2021-08-11T15:16:12.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
39.633053
226
0.637006
[ "object" ]
d94053f5f830e6ab1cba5c5995e63feb160d79c1
5,858
cpp
C++
examples/C++/DDS/ContentFilteredTopicExample/ContentFilteredTopicExampleSubscriber.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
575
2015-01-22T20:05:04.000Z
2020-06-01T10:06:12.000Z
examples/C++/DDS/ContentFilteredTopicExample/ContentFilteredTopicExampleSubscriber.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
1,110
2015-04-20T19:30:34.000Z
2020-06-01T08:13:52.000Z
examples/C++/DDS/ContentFilteredTopicExample/ContentFilteredTopicExampleSubscriber.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
273
2015-08-10T23:34:42.000Z
2020-05-28T13:03:32.000Z
// Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
33.666667
119
0.682656
[ "vector" ]
d9474a2f216057ad7a35cef47140ae012276c014
36,584
cpp
C++
source/gtrD3D11/gtDriverD3D11.cpp
lineCode/gost.engine
5f69216b97fc638663b6a38bee3cacfea2abf7ba
[ "MIT" ]
null
null
null
source/gtrD3D11/gtDriverD3D11.cpp
lineCode/gost.engine
5f69216b97fc638663b6a38bee3cacfea2abf7ba
[ "MIT" ]
null
null
null
source/gtrD3D11/gtDriverD3D11.cpp
lineCode/gost.engine
5f69216b97fc638663b6a38bee3cacfea2abf7ba
[ "MIT" ]
2
2020-01-22T08:45:44.000Z
2020-02-15T20:08:41.000Z
//GoST #include "common.h" gtDriverD3D11::gtDriverD3D11( gtGraphicsSystemInfo params ): m_system( nullptr ), m_D3DLibrary( nullptr ), m_SwapChain( nullptr ), m_d3d11Device( nullptr ), m_d3d11DevCon( nullptr ), m_MainTargetView( nullptr ), m_depthStencilBuffer( nullptr ), m_depthStencilStateEnabled( nullptr )...
30.284768
144
0.719714
[ "render", "model" ]
d94a0b5ac093df1e395992a4aec94f2c45f30a0e
1,202
hpp
C++
src/client/headers/shared.hpp
brainslush/intercept
fd9bdade3174ba43ab39357593fcdd0ae0cbb56a
[ "MIT" ]
null
null
null
src/client/headers/shared.hpp
brainslush/intercept
fd9bdade3174ba43ab39357593fcdd0ae0cbb56a
[ "MIT" ]
null
null
null
src/client/headers/shared.hpp
brainslush/intercept
fd9bdade3174ba43ab39357593fcdd0ae0cbb56a
[ "MIT" ]
null
null
null
#pragma once // This is a warning normally for returning references to local/stack allocated variables // It is so dangerous though that we need to force it as a warning because it can break // everything. #pragma warning( error : 4172 ) #ifdef _WIN32 // #define WIN32_LEAN_AND_MEAN #include <windows.h> ...
22.679245
90
0.722962
[ "vector" ]
d94a25ac75dd09d7bbb088b7f183fb06199fac34
1,216
cpp
C++
codebase/arrays/05_remove_element/remove_element.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
codebase/arrays/05_remove_element/remove_element.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
codebase/arrays/05_remove_element/remove_element.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cassert> /// Remove Elements from Array (in-place) /// /// Given an array nums and a value val, remove all instances of that /// value in-place and return the new length. /// /// Do not allocate extra space for another array, you must do this by modifying /// the input ...
24.32
97
0.625822
[ "vector" ]
d94da65dde7227a3944ae76673aff9d945a03ae0
13,797
cpp
C++
src/qt/qtbase/src/plugins/platforms/android/qandroidplatformintegration.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/plugins/platforms/android/qandroidplatformintegration.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/plugins/platforms/android/qandroidplatformintegration.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2012 BogDan Vatra <bogdan@kde.org> ** Contact: http://www.qt-project.org/legal ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding vali...
36.792
198
0.725593
[ "object" ]
d950a951c46bb4bd45385c207a8597775ab513cf
2,193
hpp
C++
AqooleEngine/src/main/cpp/boost/boost/geometry/strategies/closest_points/geographic.hpp
kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine-
72c8f34b6b6d507319069e681ff8c5008337b7c6
[ "Apache-2.0", "MIT" ]
null
null
null
AqooleEngine/src/main/cpp/boost/boost/geometry/strategies/closest_points/geographic.hpp
kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine-
72c8f34b6b6d507319069e681ff8c5008337b7c6
[ "Apache-2.0", "MIT" ]
null
null
null
AqooleEngine/src/main/cpp/boost/boost/geometry/strategies/closest_points/geographic.hpp
kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine-
72c8f34b6b6d507319069e681ff8c5008337b7c6
[ "Apache-2.0", "MIT" ]
null
null
null
// Boost.Geometry // Copyright (c) 2021, Oracle and/or its affiliates. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/license.html #ifndef BOOST_GEOMETRY_STRATEGIES_CLOSEST_POINTS_GEOGRAPHIC_HPP #d...
27.759494
97
0.743274
[ "geometry" ]
d95652c960de75a951e6e97c47255b66e0e56da8
14,513
cpp
C++
vmcon2D/MusculoSkeletalSystem.cpp
snumrl/volcon2D
4b4277cef2caa0f62429781acedc71d9f8b6bd0d
[ "Apache-2.0" ]
null
null
null
vmcon2D/MusculoSkeletalSystem.cpp
snumrl/volcon2D
4b4277cef2caa0f62429781acedc71d9f8b6bd0d
[ "Apache-2.0" ]
null
null
null
vmcon2D/MusculoSkeletalSystem.cpp
snumrl/volcon2D
4b4277cef2caa0f62429781acedc71d9f8b6bd0d
[ "Apache-2.0" ]
null
null
null
#include "MusculoSkeletalSystem.h" #include "DART_Interface.h" #include <tinyxml.h> using namespace dart::dynamics; using namespace dart::simulation; using namespace FEM; Eigen::Vector2d GetPoint(const AnchorPoint& p) { Eigen::Vector3d point = p.first->getTransform()*p.second; return Eigen::Vector2d(point[0],poin...
30.618143
156
0.65934
[ "mesh", "vector" ]
d956bcdd3948e10ba83ff5c03d483abdfd819975
18,425
cpp
C++
src/vcf2genoLoader.cpp
QBRC/seqminer
959fdb8819aef614ed811afaa1c8c23b0c6f0d46
[ "BSD-3-Clause" ]
null
null
null
src/vcf2genoLoader.cpp
QBRC/seqminer
959fdb8819aef614ed811afaa1c8c23b0c6f0d46
[ "BSD-3-Clause" ]
null
null
null
src/vcf2genoLoader.cpp
QBRC/seqminer
959fdb8819aef614ed811afaa1c8c23b0c6f0d46
[ "BSD-3-Clause" ]
null
null
null
#include "vcf2genoLoader.h" #include <map> #include <set> #include <string> #include <vector> #include "R_CPP_interface.h" #include "TabixReader.h" #include "VCFUtil.h" #include "tabix.h" #include <R.h> #include "GeneLoader.h" /** * Read from @param vin and return a matrix of marker by people */ SEXP readVCF2Mat...
31.175973
80
0.630719
[ "vector" ]
d95843177f5654fb8f757e301d0c2a7d90b0afdc
1,522
cpp
C++
src/render/GLGpuShaderProgramUniform.cpp
ErnestasJa/TheEngine2
a16778e18b844c2044cf3bab31f661c1fb3da840
[ "MIT" ]
2
2015-12-16T22:02:53.000Z
2018-04-10T14:43:26.000Z
src/render/GLGpuShaderProgramUniform.cpp
ErnestasJa/TheEngine2
a16778e18b844c2044cf3bab31f661c1fb3da840
[ "MIT" ]
48
2015-12-20T14:23:49.000Z
2016-07-18T12:15:37.000Z
src/render/GLGpuShaderProgramUniform.cpp
ErnestasJa/TheEngine2
a16778e18b844c2044cf3bab31f661c1fb3da840
[ "MIT" ]
1
2015-12-20T14:30:26.000Z
2015-12-20T14:30:26.000Z
#include "GLGpuShaderProgramUniform.h" #include "OpenGL.hpp" namespace render { GLGpuShaderProgramUniform::GLGpuShaderProgramUniform(const gl::gpu_shader_uniform_handle& handle) : m_handle(handle) { } GLGpuShaderProgramUniform::~GLGpuShaderProgramUniform() { } const core::String& GLGpuShaderProgramUniform::GetNa...
22.382353
97
0.764126
[ "render" ]
d95c024144056e506b50bd3e03bbd97ad2f0b51a
32,784
cpp
C++
code/Torsion/ProjectCtrl.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/Torsion/ProjectCtrl.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/Torsion/ProjectCtrl.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
// Torsion TorqueScript IDE - Copyright (C) Sickhead Games, LLC // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. #include "PreCompiled.h" #include "ProjectCtrl.h" #include "ProjectDoc.h" #include "MainFrame.h" #include "TorsionApp.h" #inc...
26.122709
142
0.622926
[ "render" ]
d95d46e14ce4983bcd05bea9fec0798c9bcda106
4,954
cpp
C++
Client/mainwindow.cpp
Maximsiv1410/udp_project
ff123139d2f15da27cc8f0896741daebe80e71b0
[ "MIT" ]
null
null
null
Client/mainwindow.cpp
Maximsiv1410/udp_project
ff123139d2f15da27cc8f0896741daebe80e71b0
[ "MIT" ]
null
null
null
Client/mainwindow.cpp
Maximsiv1410/udp_project
ff123139d2f15da27cc8f0896741daebe80e71b0
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <vector> #include <QBuffer> #include <QMessageBox> #include <fstream> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); ui->graphicsView->setScene(new QGraphicsScene(t...
25.802083
99
0.534316
[ "vector" ]
d96a8437b43ee85ba3f810aefaba979688061286
5,546
cpp
C++
inference-engine/tests/unit/cpu/bf16_transformer_test.cpp
shre2398/openvino
f84a6d97ace26b75ae9d852525a997cbaba32e6a
[ "Apache-2.0" ]
2
2021-02-26T15:46:19.000Z
2021-05-16T20:48:13.000Z
inference-engine/tests/unit/cpu/bf16_transformer_test.cpp
shre2398/openvino
f84a6d97ace26b75ae9d852525a997cbaba32e6a
[ "Apache-2.0" ]
1
2020-12-22T05:01:12.000Z
2020-12-23T09:49:43.000Z
inference-engine/tests/unit/cpu/bf16_transformer_test.cpp
shre2398/openvino
f84a6d97ace26b75ae9d852525a997cbaba32e6a
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <memory> #include <gtest/gtest.h> #include <ngraph/ngraph.hpp> #include <ngraph_ops/fully_connected.hpp> #include <inference_engine.hpp> #include <details/ie_cnn_network_tools.h> #include <convert_function_to_cnn_network....
32.432749
114
0.652182
[ "shape" ]
d96a8eb9efa96d1d0b81496d1e5e4b58d3d3199f
1,348
cpp
C++
codeforces/1216D.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
codeforces/1216D.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
codeforces/1216D.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define sf scanf #define pf printf #define endl "\n" #define off ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0) #define fr freopen("in.txt", "r", stdin) #define fw freopen("out.txt", "w", stdout) #define pb push_back #define eb emplace_back #define watc...
24.962963
68
0.515579
[ "vector" ]
d96f902381e523b0a10d24a200abbe322689b007
1,724
hpp
C++
etcd/v3/V3Response.hpp
edmund-troche/etcd-cpp-apiv3
f21c45b362297131b191ea8fc5033f8ffca4cc04
[ "BSD-3-Clause" ]
139
2016-09-20T00:28:04.000Z
2020-09-27T15:05:11.000Z
etcd/v3/V3Response.hpp
edmund-troche/etcd-cpp-apiv3
f21c45b362297131b191ea8fc5033f8ffca4cc04
[ "BSD-3-Clause" ]
12
2016-12-09T02:58:47.000Z
2020-09-04T09:17:22.000Z
etcd/v3/V3Response.hpp
edmund-troche/etcd-cpp-apiv3
f21c45b362297131b191ea8fc5033f8ffca4cc04
[ "BSD-3-Clause" ]
63
2016-12-06T11:42:29.000Z
2020-09-24T06:15:49.000Z
#ifndef __V3_RESPONSE_HPP__ #define __V3_RESPONSE_HPP__ #include <grpc++/grpc++.h> #include "proto/kv.pb.h" #include "proto/v3election.pb.h" #include "etcd/v3/KeyValue.hpp" namespace etcdv3 { class V3Response { public: V3Response(): error_code(0), index(0){}; void set_error_code(int code); int get_...
30.785714
66
0.693155
[ "vector" ]
d97aa5747b8c1e5db78a3ec91a84d24b0deac40b
1,306
cpp
C++
Quasics2021Code/MaeTester/src/main/cpp/subsystems/Lights.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
5
2016-12-16T19:05:05.000Z
2021-03-05T01:23:27.000Z
Quasics2021Code/MaeTester/src/main/cpp/subsystems/Lights.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
null
null
null
Quasics2021Code/MaeTester/src/main/cpp/subsystems/Lights.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
2
2020-01-03T01:52:43.000Z
2022-02-02T01:23:45.000Z
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "subsystems/Lights.h" Lights::Lights() { SetSubsystem("Lights"); // We need to tell the addressable LED t...
30.372093
74
0.683767
[ "solid" ]
d97ae9f90fe947e2f34f536770210fdb61efc401
16,313
cpp
C++
source/CDDraw.cpp
prokoptasis/defenders
773fb4ec898d54e76df4cd1a7a6fc16d8f304725
[ "MIT" ]
null
null
null
source/CDDraw.cpp
prokoptasis/defenders
773fb4ec898d54e76df4cd1a7a6fc16d8f304725
[ "MIT" ]
null
null
null
source/CDDraw.cpp
prokoptasis/defenders
773fb4ec898d54e76df4cd1a7a6fc16d8f304725
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name : CDDraw.cpp // Desc : DDraw Class // Date : 2002.11.17 // Mail : jhook@hanmail.net ///////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////...
32.431412
117
0.513456
[ "object" ]
d97b48fc963ecd63b3792e617b7093dd70a6dbda
4,932
cpp
C++
tests/data_structures/semistatic_map.cpp
preempt/fruit
9ea3e31b63836797ec7ba1dd759ead8c00d0d227
[ "Apache-2.0" ]
null
null
null
tests/data_structures/semistatic_map.cpp
preempt/fruit
9ea3e31b63836797ec7ba1dd759ead8c00d0d227
[ "Apache-2.0" ]
null
null
null
tests/data_structures/semistatic_map.cpp
preempt/fruit
9ea3e31b63836797ec7ba1dd759ead8c00d0d227
[ "Apache-2.0" ]
null
null
null
// expect-success /* * Copyright 2014 Google 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...
32.447368
76
0.642539
[ "vector" ]
d97d5670c984f9874a81edeab1548899dfa8ceee
17,977
cc
C++
anc/stim_src_v1.3/src/circuit/circuit.test.cc
Strilanc/stim-paper
be41a2087f8adeff25ce28b67d3e3fa6d097aa36
[ "Apache-2.0" ]
1
2021-09-18T00:56:25.000Z
2021-09-18T00:56:25.000Z
anc/stim_src_v1.3/src/circuit/circuit.test.cc
Strilanc/stim-paper
be41a2087f8adeff25ce28b67d3e3fa6d097aa36
[ "Apache-2.0" ]
4
2021-03-08T16:31:24.000Z
2021-05-11T18:25:06.000Z
anc/stim_src_v1.3/src/circuit/circuit.test.cc
Strilanc/stim-paper
be41a2087f8adeff25ce28b67d3e3fa6d097aa36
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 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 ...
26.87145
113
0.522723
[ "vector" ]
d97f823f8a69f96525a052f8e8446925ad3772de
7,638
cpp
C++
gas.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
57
2015-02-16T06:43:24.000Z
2022-03-16T06:21:36.000Z
gas.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
4
2016-03-08T09:51:09.000Z
2021-03-29T10:18:55.000Z
gas.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
27
2015-03-28T19:55:34.000Z
2022-01-09T15:03:15.000Z
#include "opencv2/ml.hpp" using namespace std; using namespace cv; class CV_EXPORTS NeuralGas : public CvStatModel { typedef float GasType; typedef vector<GasType> GasVec; public: struct CV_EXPORTS GasNode { int id; int rank; ...
26.337931
162
0.501047
[ "vector" ]
d984063a1c34c96109b5483108470fa58e398965
808
cpp
C++
connectors/w3dscene.cpp
snejanochka/RCA
a75df3747ee4e1a8996701be9262decc6c3bc9b2
[ "Apache-2.0" ]
null
null
null
connectors/w3dscene.cpp
snejanochka/RCA
a75df3747ee4e1a8996701be9262decc6c3bc9b2
[ "Apache-2.0" ]
1
2018-11-21T14:32:12.000Z
2018-11-21T14:32:12.000Z
connectors/w3dscene.cpp
snejanochka/RCA_snejana
a75df3747ee4e1a8996701be9262decc6c3bc9b2
[ "Apache-2.0" ]
null
null
null
#include "connectors/w3dscene.h" //при инициализации подключается к 3d scene W3dscene::W3dscene(){ connection = false; } W3dscene::~W3dscene(){ } // 3Dscene is disconnected void W3dscene::sockDisc(){ qDebug()<<"Disconnect"; socket->deleteLater(); connection = false; } void W3dscene::sendto3dscene(QByte...
23.085714
95
0.649752
[ "3d" ]
d9842e2058fe29934a3ebe932042e2774ea43b29
16,162
cc
C++
chromium/chrome/browser/chromeos/resource_reporter/resource_reporter.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/browser/chromeos/resource_reporter/resource_reporter.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/browser/chromeos/resource_reporter/resource_reporter.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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/chromeos/resource_reporter/resource_reporter.h" #include <cstdint> #include <queue> #include <utility> #include "base/bind.h" #...
37.412037
80
0.707833
[ "vector" ]
d98b977c77c6ae02d4e1ee98def627fbf395b763
5,052
cpp
C++
escos/src/mmitss/mmitss-controller-daemon/mmitssServiceControl.cpp
OSADP/MMITSS_THEA
53ef55d0622f230002c75046db6af295592dbf0a
[ "Apache-2.0" ]
null
null
null
escos/src/mmitss/mmitss-controller-daemon/mmitssServiceControl.cpp
OSADP/MMITSS_THEA
53ef55d0622f230002c75046db6af295592dbf0a
[ "Apache-2.0" ]
null
null
null
escos/src/mmitss/mmitss-controller-daemon/mmitssServiceControl.cpp
OSADP/MMITSS_THEA
53ef55d0622f230002c75046db6af295592dbf0a
[ "Apache-2.0" ]
null
null
null
/* * serviceControl.cpp * * Created on: May 25, 2017 * Author: devel */ #include "mmitssServiceControl.hpp" #include "stdheader.h" #include "facilityLayer.hpp" namespace WaveApp { namespace MmitssCtrl { static const std::string TRAJ_AWARE_SRV = "mmitss_trajectory_aware.service"; static const std::string P...
28.704545
100
0.595606
[ "vector" ]
d99095e4bd8e2f8a27e048e19316f87a3591ddbc
3,673
cpp
C++
Practice/2019.2.6/UOJ349.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2019.2.6/UOJ349.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2019.2.6/UOJ349.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include "rts.h" #include<cstdlib> #include<cstring> #include<algorithm> #include<vector> #include<map> #include<iostream> using namespace std; #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=303000; const int maxM=maxN<<1; const double alpha=0.8; const int inf=1000000000; int n,frt=1; int...
20.869318
89
0.496869
[ "vector" ]
d995b073b7301a2780ec6c4e0a3acf6147049a17
9,348
cpp
C++
kidnapped-vehicle/src/particle_filter.cpp
mithi/particle-filter-prototype
b1ded3c72bb71664bb6fe85be08400b94bdbfb88
[ "MIT" ]
40
2017-12-06T15:19:11.000Z
2022-02-07T15:14:33.000Z
kidnapped-vehicle/src/particle_filter.cpp
mithi/particle-filter-prototype
b1ded3c72bb71664bb6fe85be08400b94bdbfb88
[ "MIT" ]
null
null
null
kidnapped-vehicle/src/particle_filter.cpp
mithi/particle-filter-prototype
b1ded3c72bb71664bb6fe85be08400b94bdbfb88
[ "MIT" ]
18
2018-08-09T07:03:37.000Z
2022-03-08T10:11:19.000Z
#include <random> #include <algorithm> #include <iostream> #include <numeric> #include "particle_filter.h" using namespace std; const int NUMBER_OF_PARTICLES = 300; const double INITIAL_WEIGHT = 1.0; /* * NOTE(s): * GAUSSIAN NOISE * - http://en.cppreference.com/w/cpp/numeric/random/normal_distribution * - ht...
32.685315
138
0.581301
[ "vector", "transform" ]
d996b58eee3a0e569898dd5581b4c6c358881cf0
13,471
cpp
C++
platforms/cpp/modules/dust/DplStl/DplStlData.cpp
MondoAurora/MiNDForge
88a3f5ea27f1970f766714d1303c11929888c176
[ "Apache-2.0" ]
1
2020-05-16T21:06:38.000Z
2020-05-16T21:06:38.000Z
platforms/cpp/modules/dust/DplStl/DplStlData.cpp
MondoAurora/MiNDForge
88a3f5ea27f1970f766714d1303c11929888c176
[ "Apache-2.0" ]
null
null
null
platforms/cpp/modules/dust/DplStl/DplStlData.cpp
MondoAurora/MiNDForge
88a3f5ea27f1970f766714d1303c11929888c176
[ "Apache-2.0" ]
null
null
null
#include "DplStl.h" #include <iostream> using namespace std; DplStlDataValue::DplStlDataValue() :key(DUST_ENTITY_APPEND), valTarget(DUST_ENTITY_INVALID) // valPtrRef(NULL) {} DplStlDataValue::DplStlDataValue(const DplStlDataValue &src, DplStlDataVariant *pVar) { key = src.key; switch ( pV...
23.02735
111
0.527281
[ "vector", "model" ]
d9976dd57c52ba6a38f164239ad3a3082f50a688
496
cpp
C++
LeetCode/Practice/Two_Sum.cpp
aldew5/Competitve-Programming
eb0b93a35af3bd5e806aedc44b835830af01d496
[ "MIT" ]
2
2020-05-09T15:54:18.000Z
2021-01-23T22:32:53.000Z
LeetCode/Practice/Two_Sum.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
LeetCode/Practice/Two_Sum.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
// Aldew class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { vector<int> ans; bool run = true; for (int i = 0; i < nums.size(); i++){ for (int j = i + 1; j < nums.size(); j++){ if (nums[i] + nums[j] == target){ ans = {...
22.545455
55
0.354839
[ "vector" ]
d99a1721f3a30d8125fe7582d2978c21e848ead7
13,022
cpp
C++
media_driver/linux/ult/ult_app/test_data_decode.cpp
ashakhno/media-driver
79c20b78a539afdb55b5fd0006e959f92c12fa64
[ "Intel", "BSD-3-Clause", "MIT" ]
660
2017-11-21T15:55:52.000Z
2022-03-31T06:31:00.000Z
media_driver/linux/ult/ult_app/test_data_decode.cpp
ashakhno/media-driver
79c20b78a539afdb55b5fd0006e959f92c12fa64
[ "Intel", "BSD-3-Clause", "MIT" ]
1,070
2017-12-01T00:26:10.000Z
2022-03-31T17:55:26.000Z
media_driver/linux/ult/ult_app/test_data_decode.cpp
ashakhno/media-driver
79c20b78a539afdb55b5fd0006e959f92c12fa64
[ "Intel", "BSD-3-Clause", "MIT" ]
309
2017-11-30T08:34:09.000Z
2022-03-30T18:52:07.000Z
/* * Copyright (c) 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publis...
44.443686
136
0.617493
[ "vector" ]
d99e88737efcc240e7c2516e1bed1b05f9486e2d
8,756
cc
C++
examples/NUCLEO-F429ZI/udp-server/Core/Src/main.cc
PetroShevchenko/libcoapcpp
ab5fdadd01f25e1c1f132fdeb96bb47ffa8119ad
[ "Apache-2.0" ]
null
null
null
examples/NUCLEO-F429ZI/udp-server/Core/Src/main.cc
PetroShevchenko/libcoapcpp
ab5fdadd01f25e1c1f132fdeb96bb47ffa8119ad
[ "Apache-2.0" ]
null
null
null
examples/NUCLEO-F429ZI/udp-server/Core/Src/main.cc
PetroShevchenko/libcoapcpp
ab5fdadd01f25e1c1f132fdeb96bb47ffa8119ad
[ "Apache-2.0" ]
null
null
null
#include <string.h> #include "main.h" #include "cmsis_os.h" #include "log.h" #include "lwip.h" #include "dhcp.h" #include "udp_server.hh" #include "command.hh" #ifndef DHCP_STATE_BOUND #define DHCP_STATE_BOUND 10 #endif #define UDP_PORT_NUM 5555UL using namespace std; void Error_Handler(void); int main(void); osTh...
25.306358
106
0.752855
[ "object" ]
d26561cec5287f1bca38e378e46b05036e07d75a
11,723
cpp
C++
src/lab_m1/Tema3/Tema3.cpp
elena0405/Survival-Maze-Game
a79da7a9d066906e263a6897638cc5c5f946cbc4
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/lab_m1/Tema3/Tema3.cpp
elena0405/Survival-Maze-Game
a79da7a9d066906e263a6897638cc5c5f946cbc4
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/lab_m1/Tema3/Tema3.cpp
elena0405/Survival-Maze-Game
a79da7a9d066906e263a6897638cc5c5f946cbc4
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "lab_m1/Tema3/Tema3.h" #include <vector> #include <string> #include <iostream> using namespace std; using namespace m1; /* * To find out more about `FrameStart`, `Update`, `FrameEnd` * and the order in which they are called, see `world.cpp`. */ Tema3::Tema3() { } Tema3::~Tema3() { } void Tema3::...
34.581121
149
0.658364
[ "mesh", "render", "object", "vector", "model" ]
d26a293c5f9c3f5d85f13e32ce0b626b07644ae8
22,945
cxx
C++
main/desktop/source/deployment/registry/dp_registry.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/desktop/source/deployment/registry/dp_registry.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/desktop/source/deployment/registry/dp_registry.cxx
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...
40.04363
103
0.591371
[ "vector" ]
d26c236dc895fdb9636e173ae22f7f47c9e197ea
7,353
cpp
C++
AudioHub/DeviceList.cpp
0bmxa/AudioHub
767794985fd500951ac5f9acd0eb63e80e964a11
[ "MIT" ]
1
2016-12-21T16:36:40.000Z
2016-12-21T16:36:40.000Z
AudioHub/DeviceList.cpp
0bmxa/AudioHub
767794985fd500951ac5f9acd0eb63e80e964a11
[ "MIT" ]
null
null
null
AudioHub/DeviceList.cpp
0bmxa/AudioHub
767794985fd500951ac5f9acd0eb63e80e964a11
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2015 Daniel Lindenfelser Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, ...
37.707692
145
0.688154
[ "object" ]
d26ec0a83a73b7a798549d2c49e8618188dd8faa
11,704
cpp
C++
src/modules/adc_readout/integration_test/AdcSimulator.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
8
2017-12-02T09:20:26.000Z
2022-03-28T08:17:40.000Z
src/modules/adc_readout/integration_test/AdcSimulator.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
296
2017-10-24T09:06:10.000Z
2022-03-31T07:31:06.000Z
src/modules/adc_readout/integration_test/AdcSimulator.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
8
2018-04-08T15:35:50.000Z
2021-04-12T05:06:15.000Z
/** Copyright (C) 2018 European Spallation Source ERIC */ /** @file * * \brief Simple application for simulating chopper TDC and monitor event data * production. */ #include "SamplingTimer.h" #include "UdpConnection.h" #include <CLI/CLI.hpp> #include <csignal> #include <iostream> #include <atomic> #ifndef ADCS...
33.062147
79
0.593301
[ "vector", "transform" ]
d26f0d6a297c6fc26f1f5dc110f3573a501c71e5
4,486
cpp
C++
MQ/src/QueueManagerPool.cpp
fbraem/mqweb
c030b300a0b7312c24948e0add4eb6a9b7f8a05b
[ "MIT" ]
18
2015-01-12T20:17:27.000Z
2022-02-11T17:40:54.000Z
MQ/src/QueueManagerPool.cpp
fbraem/mqweb
c030b300a0b7312c24948e0add4eb6a9b7f8a05b
[ "MIT" ]
12
2015-01-20T12:47:01.000Z
2019-03-13T07:10:19.000Z
MQ/src/QueueManagerPool.cpp
fbraem/mqweb
c030b300a0b7312c24948e0add4eb6a9b7f8a05b
[ "MIT" ]
8
2015-01-13T13:52:29.000Z
2021-12-10T12:07:29.000Z
/* * Copyright 2017 - KBC Group NV - Franky Braem - The MIT license * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy...
23.486911
134
0.736737
[ "vector" ]
d27f0990d2ffef7187b4ec83005a57baf448ae76
4,032
cpp
C++
Demos/src/OgreBulletGuiListener.cpp
bvigueras/ogrebullet-linux
4ef7c8cb1cc9eb09ee3cd7f94033812a9964da4a
[ "MIT" ]
null
null
null
Demos/src/OgreBulletGuiListener.cpp
bvigueras/ogrebullet-linux
4ef7c8cb1cc9eb09ee3cd7f94033812a9964da4a
[ "MIT" ]
null
null
null
Demos/src/OgreBulletGuiListener.cpp
bvigueras/ogrebullet-linux
4ef7c8cb1cc9eb09ee3cd7f94033812a9964da4a
[ "MIT" ]
null
null
null
/*************************************************************************** This source file is part of OGREBULLET (Object-oriented Graphics Rendering Engine Bullet Wrapper) For the latest info, see http://www.ogre3d.org/phpBB2addons/viewforum.php?f=10 Copyright (c) 2007 tuan.kuranes@gmail.com (Use it Freely, even S...
39.920792
110
0.555804
[ "object" ]
d28099ebf24b0b681a575f6f39d1b139f68d5df1
4,006
cpp
C++
src/main.cpp
flyingpeakock/tuidoku
032834bc187510b7021df854785d5624f7a0f653
[ "MIT" ]
3
2021-07-06T02:32:48.000Z
2021-08-20T12:27:24.000Z
src/main.cpp
flyingpeakock/tuidoku
032834bc187510b7021df854785d5624f7a0f653
[ "MIT" ]
null
null
null
src/main.cpp
flyingpeakock/tuidoku
032834bc187510b7021df854785d5624f7a0f653
[ "MIT" ]
null
null
null
#include "Game.h" #include "File.h" #include "Arguments.h" #include "Generator.h" #include "config.h" #include <fstream> #include <sstream> #include <iostream> void generate(int, bool, std::string); void solve(bool, std::string); void play(bool, std::string, int, bool); void startCurses(); void endCurses(); WINDOW * c...
26.529801
91
0.604843
[ "vector" ]
d296c5506a3ce2963f829be72385538df7354f47
5,233
cpp
C++
src/GrainViewer/Ui/TestGui.cpp
eliemichel/GrainViewer
91d4922b3185ada90508f0944f2691ba8eba45e3
[ "MIT" ]
8
2020-12-14T13:14:22.000Z
2021-12-11T20:04:54.000Z
src/GrainViewer/Ui/TestGui.cpp
eliemichel/GrainViewer
91d4922b3185ada90508f0944f2691ba8eba45e3
[ "MIT" ]
null
null
null
src/GrainViewer/Ui/TestGui.cpp
eliemichel/GrainViewer
91d4922b3185ada90508f0944f2691ba8eba45e3
[ "MIT" ]
2
2020-12-16T10:02:15.000Z
2021-03-16T16:06:19.000Z
/** * This file is part of GrainViewer, the reference implementation of: * * Michel, Élie and Boubekeur, Tamy (2020). * Real Time Multiscale Rendering of Dense Dynamic Stackings, * Computer Graphics Forum (Proc. Pacific Graphics 2020), 39: 169-179. * https://doi.org/10.1111/cgf.14135 * * Copyright (c) 2...
30.248555
106
0.725779
[ "render" ]
d2a09c047fe9a135b6218b1b611eb7d14197fe4e
1,995
cpp
C++
OpenTESArena/src/World/VoxelGrid.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/World/VoxelGrid.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/World/VoxelGrid.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
#include <algorithm> #include "VoxelGrid.h" #include "components/debug/Debug.h" VoxelGrid::VoxelGrid(NSInt width, int height, EWInt depth) { const int voxelCount = width * height * depth; this->voxels = std::vector<uint16_t>(voxelCount, 0); this->width = width; this->height = height; this->depth = depth; // ...
22.166667
91
0.692732
[ "vector" ]
d2a0c6afb6ff66d7dcfd6982195e170085bcf6f0
6,115
hpp
C++
src/libraries/lagrangian/turbulence/submodels/Kinematic/DispersionModel/DispersionLESModel/DispersionLESModel.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/lagrangian/turbulence/submodels/Kinematic/DispersionModel/DispersionLESModel/DispersionLESModel.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/lagrangian/turbulence/submodels/Kinematic/DispersionModel/DispersionLESModel/DispersionLESModel.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation Copyright (C) 2015 Applied CCM ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribut...
24.46
79
0.516762
[ "mesh", "vector", "model" ]
d2b5f8ef73fd4d14e66f9b6c43a82c7fbbe7ab3c
4,430
cpp
C++
tests/transport/test_barrier.cpp
fthaler/GHEX
ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9
[ "BSD-3-Clause" ]
null
null
null
tests/transport/test_barrier.cpp
fthaler/GHEX
ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9
[ "BSD-3-Clause" ]
null
null
null
tests/transport/test_barrier.cpp
fthaler/GHEX
ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2020, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause * */ #include <iostream> #include <iomanip> #include <thread> #include <numeric> #include <ghex/transport_layer/util/barrier.hpp> #...
27.345679
95
0.521445
[ "vector" ]
d2b69202e995152b863a43ad176fd9d3a40fbed4
4,865
cpp
C++
ivs/src/v2/model/ExtentionRespDataByIdCardImage.cpp
huaweicloud/huaweicloud-sdk-cpp-v3
d3b5e07b0ee8367d1c7f6dad17be0212166d959c
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
ivs/src/v2/model/ExtentionRespDataByIdCardImage.cpp
ChenwxJay/huaweicloud-sdk-cpp-v3
f821ec6d269b50203e0c1638571ee1349c503c41
[ "Apache-2.0" ]
null
null
null
ivs/src/v2/model/ExtentionRespDataByIdCardImage.cpp
ChenwxJay/huaweicloud-sdk-cpp-v3
f821ec6d269b50203e0c1638571ee1349c503c41
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/ivs/v2/model/ExtentionRespDataByIdCardImage.h" namespace HuaweiCloud { namespace Sdk { namespace Ivs { namespace V2 { namespace Model { ExtentionRespDataByIdCardImage::ExtentionRespDataByIdCardImage() { verificationResult_ = ""; verificationResultIsSet_ = false; verificationMess...
26.155914
113
0.720041
[ "object", "model" ]
d2b893c9e4e5791afc6a662255dbebb15f28b554
1,111
hpp
C++
.experimentals/include/timerapp-core/dataset/sound.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
1
2019-12-10T02:12:49.000Z
2019-12-10T02:12:49.000Z
.experimentals/include/timerapp-core/dataset/sound.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
.experimentals/include/timerapp-core/dataset/sound.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* Copyright (c) 2019, isaponsoft (Isao Shibuya) All rights reserved. * * Use of this source code is governed by a BSD-style license that * * can be found in the LICENSE file. */ #ifndef __libscheduler__sound__hpp #define __libscheduler__sound__hpp struct sound { struct item { ...
22.673469
72
0.678668
[ "vector" ]
d2b8d783ea0183ba9f0cfd30b22747b3f0a556b0
9,715
cpp
C++
AVSCommon/Utils/test/TaskQueueTest.cpp
hsguron/alexa
6bbe4a215e925874d2835a820fcec47147182a8b
[ "Apache-2.0" ]
1
2022-01-09T21:26:04.000Z
2022-01-09T21:26:04.000Z
AVSCommon/Utils/test/TaskQueueTest.cpp
hsguron/alexa
6bbe4a215e925874d2835a820fcec47147182a8b
[ "Apache-2.0" ]
null
null
null
AVSCommon/Utils/test/TaskQueueTest.cpp
hsguron/alexa
6bbe4a215e925874d2835a820fcec47147182a8b
[ "Apache-2.0" ]
1
2018-10-12T07:58:44.000Z
2018-10-12T07:58:44.000Z
/* * TaskQueueTest.cpp * * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0...
33.850174
111
0.705816
[ "object" ]
d2c104b27cb3b7f8c14b1fa825a6411472d35087
14,734
hpp
C++
vml/src/matrix/crs_matrix.hpp
sx-aurora-dev/vml
cf16bd1dca5fb8b0b3cb40c6388c461ad15caca6
[ "BSD-2-Clause" ]
null
null
null
vml/src/matrix/crs_matrix.hpp
sx-aurora-dev/vml
cf16bd1dca5fb8b0b3cb40c6388c461ad15caca6
[ "BSD-2-Clause" ]
1
2021-03-05T00:14:06.000Z
2021-03-05T00:14:06.000Z
vml/src/matrix/crs_matrix.hpp
sx-aurora-dev/vml
cf16bd1dca5fb8b0b3cb40c6388c461ad15caca6
[ "BSD-2-Clause" ]
1
2021-12-20T09:59:44.000Z
2021-12-20T09:59:44.000Z
#ifndef CRS_MATRIX_HPP #define CRS_MATRIX_HPP #include <fstream> #include <dirent.h> #include <sys/stat.h> #include <sys/types.h> #include <climits> #include <vector> //#include "../core/dvector.hpp" //#include "../core/dunordered_map.hpp" //#include "../core/mpihelper.hpp" //#include "../core/prefix_sum.hpp" //#inc...
34.914692
103
0.459685
[ "vector" ]
d2ca630aa5a8d496c523d6562b50ae8cb52cf74e
3,560
cpp
C++
src/dataset.cpp
lsrcz/GED
4ea7addfd3aa4cf725dcbbe8abd0ef20ef226509
[ "BSD-3-Clause" ]
null
null
null
src/dataset.cpp
lsrcz/GED
4ea7addfd3aa4cf725dcbbe8abd0ef20ef226509
[ "BSD-3-Clause" ]
null
null
null
src/dataset.cpp
lsrcz/GED
4ea7addfd3aa4cf725dcbbe8abd0ef20ef226509
[ "BSD-3-Clause" ]
null
null
null
// // Created by 卢思睿 on 2018/6/30. // #include "dataset.hpp" #include <dirent.h> #include <init.hpp> #include <IPFP.hpp> void Dataset::readFromDir(const char *dirname, double sample_rate) { DIR *dir = opendir(dirname); struct dirent *ptr; char buffer[1024]; if (dir == nullptr) { fprintf(stderr...
31.504425
109
0.564888
[ "vector" ]
d2caaf503cdf7bfaf26dca20b082e7bce663d6f3
1,068
cpp
C++
844/A[ Diversity ].cpp
mejanvijay/codeforces-jvj_iit-submissions
2a2aac7e93ca92e75887eff92361174aa36207c8
[ "MIT" ]
null
null
null
844/A[ Diversity ].cpp
mejanvijay/codeforces-jvj_iit-submissions
2a2aac7e93ca92e75887eff92361174aa36207c8
[ "MIT" ]
null
null
null
844/A[ Diversity ].cpp
mejanvijay/codeforces-jvj_iit-submissions
2a2aac7e93ca92e75887eff92361174aa36207c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define sd(x) scanf("%d",&x) #define su(x) scanf("%u",&x) #define slld(x) scanf("%lld",&x) #define sc(x) scanf("%c",&x) #define ss(x) scanf("%s",x) #define sf(x) scanf("%f",&x) #define slf(x) scanf("%lf",&x) #define ll long long int #define mod(x,n) (x+n)%n...
19.777778
47
0.536517
[ "vector" ]
d2cad1a5f110c71adc665e8b2956358a5e0f52af
1,022
cpp
C++
Texter/TexterRenderer/VertexHelpers/VertexArray.cpp
matthewroberthenderson/Texter
925f44fd975094841bb016ea2c06278c75b9b430
[ "Apache-2.0" ]
null
null
null
Texter/TexterRenderer/VertexHelpers/VertexArray.cpp
matthewroberthenderson/Texter
925f44fd975094841bb016ea2c06278c75b9b430
[ "Apache-2.0" ]
null
null
null
Texter/TexterRenderer/VertexHelpers/VertexArray.cpp
matthewroberthenderson/Texter
925f44fd975094841bb016ea2c06278c75b9b430
[ "Apache-2.0" ]
null
null
null
#include "VertexArray.h" #include "Debug.h" VertexArray::VertexArray() { GLCall( glGenVertexArrays(1, &m_RendererID) ); } VertexArray::~VertexArray() { GLCall( glDeleteVertexArrays(1, &m_RendererID) ); } void VertexArray::AddBuffer(const VertexBuffer& vb, const VertexBufferLayout& layout) { Bind(); v...
26.205128
89
0.664384
[ "vector" ]
d2cda639f48073132a2fad82babbf67e35765530
1,519
cpp
C++
03_vectors/main.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-ArbazMalik1
37af38db39cd433e6333aff85197691bd60b59eb
[ "MIT" ]
null
null
null
03_vectors/main.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-ArbazMalik1
37af38db39cd433e6333aff85197691bd60b59eb
[ "MIT" ]
null
null
null
03_vectors/main.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-ArbazMalik1
37af38db39cd433e6333aff85197691bd60b59eb
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <algorithm> #include "dna_consensus.h"; using namespace std; int main() { int x; int countA = 0, countT = 0, countC = 0, countG = 0; vector<int> A; vector<int> T; vector<int> C; vector<int> G; string consensus; cout << "Vector: " << endl; ve...
23.734375
72
0.451613
[ "vector" ]