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
5b6b96f28ae9a92fb7ae760cd46c9d48f2712278
18,648
cpp
C++
code_reading/oceanbase-master/src/rootserver/ob_inner_table_monitor.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/rootserver/ob_inner_table_monitor.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/rootserver/ob_inner_table_monitor.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
35.587786
120
0.637709
[ "object" ]
ac892da2d0a68013b9e024f24abe90e7862c93b1
2,823
cpp
C++
OpenGL-sandbox/Sources/sceneobject.cpp
OpenGL-adepts/OpenGL-sandbox
78ed291e03fd0d73667f46aec74af01bf7e58326
[ "MIT" ]
1
2021-11-27T08:12:09.000Z
2021-11-27T08:12:09.000Z
OpenGL-sandbox/Sources/sceneobject.cpp
OpenGL-adepts/OpenGL-sandbox
78ed291e03fd0d73667f46aec74af01bf7e58326
[ "MIT" ]
null
null
null
OpenGL-sandbox/Sources/sceneobject.cpp
OpenGL-adepts/OpenGL-sandbox
78ed291e03fd0d73667f46aec74af01bf7e58326
[ "MIT" ]
1
2019-01-04T03:35:17.000Z
2019-01-04T03:35:17.000Z
#include "SceneObject.hpp" #include <imgui.h> #include <filesystem> void SceneObject::config() { if(ImGui::TreeNode("Position")) { ImGui::SliderFloat("X", &m_position.x, -20.f, 20.f); ImGui::SliderFloat("Y", &m_position.y, -20.f, 20.f); ImGui::SliderFloat("Z", &m_position.z, -20.f, 20.f); ImGui::TreePop(); ...
19.880282
86
0.670563
[ "model" ]
ac8f1caad2130bb085b40bc6e6be542218c467c6
3,608
cc
C++
orttraining/orttraining/core/optimizer/insert_output_rewriter.cc
KsenijaS/onnxruntime
5086e55a35f83e3137bdb34b6d7210c97a512e6a
[ "MIT" ]
2
2021-07-24T01:13:36.000Z
2021-11-17T11:03:52.000Z
orttraining/orttraining/core/optimizer/insert_output_rewriter.cc
KsenijaS/onnxruntime
5086e55a35f83e3137bdb34b6d7210c97a512e6a
[ "MIT" ]
4
2020-12-04T21:00:38.000Z
2022-01-22T12:49:30.000Z
orttraining/orttraining/core/optimizer/insert_output_rewriter.cc
KsenijaS/onnxruntime
5086e55a35f83e3137bdb34b6d7210c97a512e6a
[ "MIT" ]
1
2020-06-08T19:08:12.000Z
2020-06-08T19:08:12.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/graph/graph_utils.h" #include "orttraining/core/optimizer/insert_output_rewriter.h" using namespace ONNX_NAMESPACE; namespace onnxruntime { Status InsertMaxPoolOutput::Apply(Graph& graph, Node& node, Rewri...
38.382979
150
0.742794
[ "shape" ]
ac99a528a56b68244aad46fbdd38430303800623
7,941
cpp
C++
threshsign/test/TestThresholdSerialization.cpp
big-data-lab-umbc/concord-bft
7061695406885604471a8a7bd5944e8d16d7280f
[ "Apache-2.0" ]
1
2021-03-03T10:06:22.000Z
2021-03-03T10:06:22.000Z
threshsign/test/TestThresholdSerialization.cpp
yuliasherman/concord-bft
81c5278828c4d05f4822087659decd4a926e85c9
[ "Apache-2.0" ]
null
null
null
threshsign/test/TestThresholdSerialization.cpp
yuliasherman/concord-bft
81c5278828c4d05f4822087659decd4a926e85c9
[ "Apache-2.0" ]
1
2020-12-06T21:02:03.000Z
2020-12-06T21:02:03.000Z
// Concord // // Copyright (c) 2019 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyright // ...
47.837349
119
0.83793
[ "vector" ]
aca103b32c9a755309836e0d08be716d15ede3c0
64,105
cpp
C++
libs/base/src/math/geometry.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
null
null
null
libs/base/src/math/geometry.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
null
null
null
libs/base/src/math/geometry.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
1
2021-08-16T11:50:47.000Z
2021-08-16T11:50:47.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
31.924801
291
0.668653
[ "geometry", "object", "shape", "vector", "transform", "3d" ]
acaa2e5611178ee619e165c1b7ade605276b2e36
14,178
cpp
C++
Intermediate/Build/Win64/UE4/Inc/GameplayHelper/TrackControl.gen.cpp
Monolag/GameplayHelper
a59449b824116f0c785aa4ce0385ccd36041e60e
[ "MIT" ]
4
2020-07-03T01:16:26.000Z
2022-01-15T09:31:27.000Z
Intermediate/Build/Win32/UE4/Inc/GameplayHelper/TrackControl.gen.cpp
Monolag/GameplayHelper
a59449b824116f0c785aa4ce0385ccd36041e60e
[ "MIT" ]
null
null
null
Intermediate/Build/Win32/UE4/Inc/GameplayHelper/TrackControl.gen.cpp
Monolag/GameplayHelper
a59449b824116f0c785aa4ce0385ccd36041e60e
[ "MIT" ]
1
2020-05-29T04:43:28.000Z
2020-05-29T04:43:28.000Z
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
64.153846
674
0.838694
[ "object" ]
acaf6e19e757b1dc441862dc8f277a3f02c57080
6,970
cpp
C++
src/CLSmith/CLProgramGenerator.cpp
jiezzhang/CLSmith
a39a31c43c88352fc65e61dce270d8e1660cbcf0
[ "BSD-2-Clause" ]
null
null
null
src/CLSmith/CLProgramGenerator.cpp
jiezzhang/CLSmith
a39a31c43c88352fc65e61dce270d8e1660cbcf0
[ "BSD-2-Clause" ]
null
null
null
src/CLSmith/CLProgramGenerator.cpp
jiezzhang/CLSmith
a39a31c43c88352fc65e61dce270d8e1660cbcf0
[ "BSD-2-Clause" ]
null
null
null
#include "CLSmith/CLProgramGenerator.h" #include <cassert> #include <cmath> #include <memory> #include <string> #include <iostream> #include "CLSmith/CLExpression.h" #include "CLSmith/CLOptions.h" #include "CLSmith/CLVariable.h" #include "CLSmith/Divergence.h" #include "CLSmith/ExpressionAtomic.h" #include "Expressio...
31.255605
84
0.729555
[ "vector" ]
acb05e07d66f3983d576214cdfb11195f9f5978a
6,374
cc
C++
components/crash/content/browser/crash_dump_observer_android.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/crash/content/browser/crash_dump_observer_android.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/crash/content/browser/crash_dump_observer_android.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "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 "components/crash/content/browser/crash_dump_observer_android.h" #include <unistd.h> #include "base/bind.h" #include "base/logging.h" #include ...
37.274854
80
0.698619
[ "vector" ]
acb2b830028b74d979556b91eb4fad13bec8ef47
2,693
cpp
C++
src/LeapSerial/AESStream.cpp
gkontsevich/leapserial
5177569666153bc4e2569bffcd023a21cde5772b
[ "Apache-2.0" ]
17
2016-02-27T00:05:43.000Z
2021-02-28T03:12:22.000Z
src/LeapSerial/AESStream.cpp
gkontsevich/leapserial
5177569666153bc4e2569bffcd023a21cde5772b
[ "Apache-2.0" ]
47
2015-10-16T20:34:30.000Z
2017-12-12T20:05:42.000Z
src/LeapSerial/AESStream.cpp
gkontsevich/leapserial
5177569666153bc4e2569bffcd023a21cde5772b
[ "Apache-2.0" ]
6
2015-10-16T21:38:56.000Z
2019-08-14T20:48:19.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "AESStream.h" #include <aes/rijndael-alg-fst.h> #include <memory.h> using namespace leap; AES256Base::AES256Base(const std::array<uint8_t, 32>& key) : ctx(new rijndael_context) { rijndaelKeySetup(ctx.get(), key.data(), ...
26.93
115
0.686595
[ "transform" ]
acbb3bcaa76d9a2e13952382f0640c3b2d2c7729
5,472
cpp
C++
trtc/src/v20190722/model/OneSdkAppIdTranscodeTimeUsagesInfo.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
trtc/src/v20190722/model/OneSdkAppIdTranscodeTimeUsagesInfo.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
trtc/src/v20190722/model/OneSdkAppIdTranscodeTimeUsagesInfo.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
33.365854
155
0.717654
[ "vector", "model" ]
acbcd3c5df201c47b6c9a6ebfb9b0b5f5a49a376
1,172
cpp
C++
course2/laba1/S/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
course2/laba1/S/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
course2/laba1/S/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
#include <iostream> #include <set> #include <vector> using namespace std; vector<vector<int>> ss; vector<pair<int, int>> result; vector<int> stack; vector<bool> used; void dfs(int v) { used[v] = true; if (!stack.empty()) { result.emplace_back(stack.back(), v); for (size_t j = 0; j < stack.siz...
20.928571
59
0.44198
[ "vector" ]
acbf8524a3bd9b9ba5c0345294e34f791d08059a
10,946
cpp
C++
src/base/util/RepeatSunSync.cpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
src/base/util/RepeatSunSync.cpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
src/base/util/RepeatSunSync.cpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
// //------------------------------------------------------------------------------ // RepeatSunSync //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // Copyright (c) 2002 - 2017 United States Government as repre...
27.923469
80
0.425361
[ "object" ]
acc867dc46eb02700100cbe6d593f0f452763e09
2,222
hpp
C++
include/Analytical.hpp
seraco/HeatConduction
357180848d3de2798e47359691293979f8446500
[ "MIT" ]
3
2018-04-13T11:16:27.000Z
2021-05-24T02:51:00.000Z
include/Analytical.hpp
seraco/HeatConduction
357180848d3de2798e47359691293979f8446500
[ "MIT" ]
null
null
null
include/Analytical.hpp
seraco/HeatConduction
357180848d3de2798e47359691293979f8446500
[ "MIT" ]
null
null
null
/*! * @file Analytical.hpp * @brief Headers of the main subroutines for calculating analytical solution and error. * The implementation is in the <i>Analytical.cpp</i> file. * @author S.Ramon (seraco) * @version 0.0.1 * * Copyright 2018 S.Ramon * * Permission is hereby granted, free of charge, to any pe...
36.42623
88
0.711521
[ "mesh" ]
accacee93695e43811c178ad509dd8614ae5f913
2,631
hpp
C++
LuaSTGExPlus/LuaSTG/GameObjectBentLaser.hpp
32th-System/LuaSTG-EX-Plus_Archive
60e7e776a3da2521f3cf33e95b85d25ab477c3a4
[ "BSD-3-Clause" ]
10
2018-12-30T07:52:10.000Z
2021-07-26T09:07:39.000Z
LuaSTGExPlus/LuaSTG/GameObjectBentLaser.hpp
32th-System/LuaSTG-EX-Plus_Archive
60e7e776a3da2521f3cf33e95b85d25ab477c3a4
[ "BSD-3-Clause" ]
2
2019-01-10T07:01:56.000Z
2021-03-16T17:25:32.000Z
LuaSTGExPlus/LuaSTG/GameObjectBentLaser.hpp
32th-System/LuaSTG-EX-Plus_Archive
60e7e776a3da2521f3cf33e95b85d25ab477c3a4
[ "BSD-3-Clause" ]
4
2018-12-30T07:52:20.000Z
2021-08-06T13:20:31.000Z
#pragma once #include "Global.h" #include "CirularQueue.hpp" #include "GameObject.hpp" #define LGOBJ_MAXLASERNODE 512 // 曲线激光最大节点数 namespace LuaSTGPlus { class GameObjectBentLaser { public: static GameObjectBentLaser* AllocInstance(); static void FreeInstance(GameObjectBentLaser* p); struct LaserNode { ...
38.691176
153
0.72748
[ "render" ]
acceb48c4089e268b64508a56fc9077d69a7f6c6
18,364
cpp
C++
CloakEngine/DropDownMenu.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/DropDownMenu.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/DropDownMenu.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "Implementation/Interface/DropDownMenu.h" #include "CloakEngine/Global/Debug.h" #include <atomic> #define SAVE_SWAP(src,dst) if(dst!=src){SAVE_RELEASE(dst); dst=src; if(src!=nullptr){src->AddRef();}} namespace CloakEngine { namespace Impl { namespace Interface { namespac...
36.581673
159
0.624428
[ "vector" ]
acdb195ccefad35ddea4ea67e811a18960a8920f
11,504
cpp
C++
src/poller/PollerImplEpoll.cpp
bexoft/finalmq
2232074cf448a829ef009185c7eae438ecc2440d
[ "MIT" ]
11
2020-10-13T11:50:29.000Z
2022-02-27T11:47:34.000Z
src/poller/PollerImplEpoll.cpp
bexoft/finalmq
2232074cf448a829ef009185c7eae438ecc2440d
[ "MIT" ]
15
2020-10-07T18:01:27.000Z
2021-07-08T09:09:13.000Z
src/poller/PollerImplEpoll.cpp
bexoft/finalmq
2232074cf448a829ef009185c7eae438ecc2440d
[ "MIT" ]
2
2020-10-07T21:29:06.000Z
2020-10-14T18:02:17.000Z
//MIT License //Copyright (c) 2020 bexoft GmbH (mail@bexoft.de) //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, ...
28.127139
114
0.571888
[ "vector" ]
acdc8530d3f22c990e84cd44f427e4109a663db4
1,232
cpp
C++
UVa-problems/10583.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
UVa-problems/10583.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
UVa-problems/10583.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
/* UVa 10583 - Ubiquitous Religions */ // https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1524 // Date: 2021-08-18 04:55:10 // Run time: 0.160 // Verdict: AC #include <iostream> #include <stdio.h> #include <vector> using namespace std; class UFDS { private: vector<int> ...
24.64
99
0.499188
[ "vector" ]
ace16959de4dcda7ac22c8c7342a853fb61c70e3
8,113
cc
C++
runtime/onert/core/src/util/ShapeInference.cc
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
runtime/onert/core/src/util/ShapeInference.cc
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
runtime/onert/core/src/util/ShapeInference.cc
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. 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 * * Unle...
33.524793
99
0.669543
[ "shape" ]
ace86d8ad18227cbbedc8519ae6e56d8704cd88f
9,455
cpp
C++
Project/Riaju1/Plugins/SpriteStudio5/Source/SpriteStudio5/Private/Player/SsPlayer.cpp
SpriteStudio/RiaJuSniper_UnrealEngine4Project
5b7ffb0e4161eaa9249c164c0dfeb16b636ff6ae
[ "MIT" ]
3
2018-04-16T23:58:23.000Z
2020-10-24T04:42:43.000Z
Project/Riaju1/Plugins/SpriteStudio5/Source/SpriteStudio5/Private/Player/SsPlayer.cpp
SpriteStudio/RiaJuSniper_UnrealEngine4Project
5b7ffb0e4161eaa9249c164c0dfeb16b636ff6ae
[ "MIT" ]
null
null
null
Project/Riaju1/Plugins/SpriteStudio5/Source/SpriteStudio5/Private/Player/SsPlayer.cpp
SpriteStudio/RiaJuSniper_UnrealEngine4Project
5b7ffb0e4161eaa9249c164c0dfeb16b636ff6ae
[ "MIT" ]
6
2018-04-12T20:27:12.000Z
2021-03-07T19:54:49.000Z
#include "SpriteStudio5PrivatePCH.h" #include "SsPlayer.h" #include "SsProject.h" #include "SsAnimePack.h" #include "SsPlayerCellmap.h" #include "SsPlayerAnimedecode.h" #include "SsString_uty.h" #include "SsPlayerPartState.h" // コンストラクタ FSsPlayer::FSsPlayer() : PlayRate(1.f) , LoopCount(-1) , bRoundTrip(false) ,...
23.17402
143
0.662084
[ "model" ]
aceac092c363fc449d7faaf260cdd80b06c7707c
10,273
cpp
C++
GATE_Engine/ModuleEditor.cpp
DocDonkeys/3D_Engine
bb2868884c6eec0ef619a45b7e21f5cf3857fe1b
[ "MIT" ]
1
2019-10-14T00:35:48.000Z
2019-10-14T00:35:48.000Z
GATE_Engine/ModuleEditor.cpp
DocDonkeys/3D_Engine
bb2868884c6eec0ef619a45b7e21f5cf3857fe1b
[ "MIT" ]
null
null
null
GATE_Engine/ModuleEditor.cpp
DocDonkeys/3D_Engine
bb2868884c6eec0ef619a45b7e21f5cf3857fe1b
[ "MIT" ]
3
2020-02-13T22:52:44.000Z
2020-10-21T06:55:45.000Z
#include "ModuleEditor.h" #include "Application.h" #include "ModuleWindow.h" #include "ModuleRenderer3D.h" #include "ModuleInput.h" #include "GeometryLoader.h" #include "ModuleSceneIntro.h" #include "ComponentTransform.h" // Windows #include "EditorConfiguration.h" #include "EditorConsole.h" #include "EditorGame.h" #i...
32.821086
193
0.746228
[ "mesh", "render", "transform" ]
aceb2bc8d106f7efb67ae4fe4aafa1ba8527f313
611
hpp
C++
src/game/world/animations/aspects/update_slide_ceiling_sky_aspect.hpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/game/world/animations/aspects/update_slide_ceiling_sky_aspect.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/game/world/animations/aspects/update_slide_ceiling_sky_aspect.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#pragma once #include "game/world/animations/components/slide_ceiling_sky.hpp" #include "game/world/level_model.hpp" #include "ecs/inner_join_aspect.hpp" namespace gorc { namespace game { namespace world { namespace animations { namespace aspects { class update_slide_ceiling_sky_aspect : public inner_join_aspect<thi...
21.821429
107
0.787234
[ "model" ]
acf157cd3df88bb0305e04cdfc4c9be76e92ea7a
2,870
cc
C++
src/brandes.cc
chivay/betweenness-centrality
66805ed0e290ac52a7bf951851976dbb9a734673
[ "MIT" ]
2
2018-11-22T15:30:10.000Z
2019-01-12T01:20:30.000Z
src/brandes.cc
chivay/betweenness-centrality
66805ed0e290ac52a7bf951851976dbb9a734673
[ "MIT" ]
null
null
null
src/brandes.cc
chivay/betweenness-centrality
66805ed0e290ac52a7bf951851976dbb9a734673
[ "MIT" ]
1
2021-03-30T05:30:56.000Z
2021-03-30T05:30:56.000Z
#include "brandes.h" #include <algorithm> #include <iostream> #include <queue> #include <stack> #include <thread> #include <vector> template <typename T> void Brandes<T>::process(const size_t& vertex_id, std::vector<fType>* BC_local) { size_t vec_size = BC_local->size(); std::stack<size_t> S; std::vector<...
23.333333
92
0.533101
[ "vector" ]
acf3ccb9a31dfa9e0a0ab4314caffa93f1c7fa4d
9,394
cxx
C++
graphics/VTK-7.0.0/Interaction/Style/vtkInteractorStyleMultiTouchCamera.cxx
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/VTK-7.0.0/Interaction/Style/vtkInteractorStyleMultiTouchCamera.cxx
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/VTK-7.0.0/Interaction/Style/vtkInteractorStyleMultiTouchCamera.cxx
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkInteractorStyleMultiTouchCamera.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for det...
30.599349
133
0.567809
[ "render" ]
acf933dc6abc469e5697130c83cc12309c93b45e
20,080
cpp
C++
Source/Storm-Physics/include/PhysXHandler.cpp
SunlayGGX/Storm
83a34c14cc7d936347b6b8193a64cd13ccbf00a8
[ "MIT" ]
3
2021-11-27T04:56:12.000Z
2022-02-14T04:02:10.000Z
Source/Storm-Physics/include/PhysXHandler.cpp
SunlayGGX/Storm
83a34c14cc7d936347b6b8193a64cd13ccbf00a8
[ "MIT" ]
null
null
null
Source/Storm-Physics/include/PhysXHandler.cpp
SunlayGGX/Storm
83a34c14cc7d936347b6b8193a64cd13ccbf00a8
[ "MIT" ]
null
null
null
#include "PhysXHandler.h" #include "CustomPhysXLogger.h" #include "PhysXDebugger.h" #include "Version.h" #include "PhysXCoordHelpers.h" #include "SingletonHolder.h" #include "IConfigManager.h" #include "ITimeManager.h" #include "IOSManager.h" #include "SceneSimulationConfig.h" #include "SceneRigidBodyConfig.h" #inc...
33.135314
357
0.744124
[ "mesh", "geometry", "object", "shape", "vector" ]
acfa81f54b90d544e363cb0820ba40ee10747611
12,510
cpp
C++
src/fume/library_context.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
src/fume/library_context.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
src/fume/library_context.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
/** * This file is a part of the FUMe project. * * To the extent possible under law, the person who associated CC0 with * FUMe has waived all copyright and related or neighboring rights * to FUMe. * You should have received a copy of the CC0 legalcode along with this * work. If not, see http://creativecommons....
28.627002
85
0.588329
[ "object" ]
4a16062f4f95ffe7ec73a44e042137f84161147d
1,699
cpp
C++
Leetcode/2001-3000/2019. The Score of Students Solving Math Expression/2019.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/2001-3000/2019. The Score of Students Solving Math Expression/2019.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/2001-3000/2019. The Score of Students Solving Math Expression/2019.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: int scoreOfStudents(string s, vector<int>& answers) { const int n = s.length() / 2 + 1; const unordered_map<char, function<int(int, int)>> func{ {'+', plus<int>()}, {'*', multiplies<int>()}}; int ans = 0; vector<vector<unordered_set<int>>> dp(n, vector<unordered_set<i...
24.985294
76
0.449676
[ "vector" ]
4a1c76b0d996ac310aed1c239ff8b69f7020cc40
1,800
hh
C++
RAVL2/Math/Geometry/Euclidean/2D/HEMesh2d.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Math/Geometry/Euclidean/2D/HEMesh2d.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Math/Geometry/Euclidean/2D/HEMesh2d.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2002, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
30
74
0.664444
[ "mesh", "geometry" ]
4a1c858fcdd9243e93b65d551ff8fa20ee81e0cb
547
cpp
C++
tournaments/zigzag/zigzag.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
5
2020-02-06T09:51:22.000Z
2021-03-19T00:18:44.000Z
tournaments/zigzag/zigzag.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
null
null
null
tournaments/zigzag/zigzag.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
3
2019-09-27T13:06:21.000Z
2021-04-20T23:13:17.000Z
int zigzag(std::vector<int> a) { int best = 1; int left = 0; while (left < a.size()) { int right = left + 1; while (right < a.size()) { if (right == left + 1) { if (a[left] == a[right]) { break; } } else { if ((a[right - 1] - a[right - 2]) * (a[right - 1] - a...
19.535714
77
0.40585
[ "vector" ]
4a1f9dcfadadbedbea14c9a4176e2f9cb0ad2586
3,612
cpp
C++
examples/plugin/com_osvr_example_Locomotion.cpp
ethanpeng/OSVR-Core
59405fc1b1a25aea051dfbba0be5171fa19b8b30
[ "Apache-2.0" ]
369
2015-03-08T03:12:41.000Z
2022-02-08T22:15:39.000Z
examples/plugin/com_osvr_example_Locomotion.cpp
ethanpeng/OSVR-Core
59405fc1b1a25aea051dfbba0be5171fa19b8b30
[ "Apache-2.0" ]
486
2015-03-09T13:29:00.000Z
2020-10-16T00:41:26.000Z
examples/plugin/com_osvr_example_Locomotion.cpp
ethanpeng/OSVR-Core
59405fc1b1a25aea051dfbba0be5171fa19b8b30
[ "Apache-2.0" ]
166
2015-03-08T12:03:56.000Z
2021-12-03T13:56:21.000Z
/** @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics 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.o...
28
78
0.669435
[ "object" ]
4a2171b066958a5a900887d9b85aabee8770202b
1,597
cpp
C++
aws-cpp-sdk-rds/source/model/PurchaseReservedDBInstancesOfferingRequest.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-rds/source/model/PurchaseReservedDBInstancesOfferingRequest.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-rds/source/model/PurchaseReservedDBInstancesOfferingRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/rds/model/PurchaseReservedDBInstancesOfferingRequest.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> using namespace Aws::RDS::Model; u...
26.616667
117
0.732624
[ "model" ]
4a241860dedba0fa801bdd3ec26777285469644a
13,519
cpp
C++
zh_back/zh_rpc_server/system_management_imp.cpp
marklion/zhuochuangzhihui
31ba95e4cc7e73648c1cf0f29b951c2e56cb4af4
[ "MIT" ]
null
null
null
zh_back/zh_rpc_server/system_management_imp.cpp
marklion/zhuochuangzhihui
31ba95e4cc7e73648c1cf0f29b951c2e56cb4af4
[ "MIT" ]
30
2021-12-28T03:51:30.000Z
2022-03-22T07:58:35.000Z
zh_back/zh_rpc_server/system_management_imp.cpp
marklion/zhuochuangzhihui
31ba95e4cc7e73648c1cf0f29b951c2e56cb4af4
[ "MIT" ]
null
null
null
#include "system_management_imp.h" #include "../zh_database/zh_db_config.h" #include "zh_rpc_util.h" #include <iostream> #include <iosfwd> #include <fstream> #include "../zh_raster/lib/zh_raster.h" #include "../zh_id_reader/lib/zh_id_reader.h" #include "../zh_hk_gate/lib/zh_hk_gate.h" #include "../zh_scale/lib/zh_scale...
37.974719
182
0.68866
[ "vector" ]
4a24c7bd89e9be8ee7cf4b4c93e4a334993ca49f
4,031
cpp
C++
soccer/src/soccer/planning/tests/bezier_path_test.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
soccer/src/soccer/planning/tests/bezier_path_test.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
soccer/src/soccer/planning/tests/bezier_path_test.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
#include <fstream> #include <gtest/gtest.h> #include "planning/primitives/path_smoothing.hpp" using rj_geometry::Point; static void check_bezier_low_curvature(const planning::BezierPath& path) { // Expected error is O(1/N) constexpr int kN = 1000; double ds = 1.0 / static_cast<double>(kN); for (int...
37.324074
94
0.679484
[ "vector" ]
4a2d36f170a1d75e9ea69e9ec2d768c7ea684fca
5,738
hpp
C++
src/meshNekSetupHex3D.hpp
yslan/nekRS
eff5749af935f1d56f67c12244fa246fe696db8c
[ "BSD-3-Clause" ]
null
null
null
src/meshNekSetupHex3D.hpp
yslan/nekRS
eff5749af935f1d56f67c12244fa246fe696db8c
[ "BSD-3-Clause" ]
null
null
null
src/meshNekSetupHex3D.hpp
yslan/nekRS
eff5749af935f1d56f67c12244fa246fe696db8c
[ "BSD-3-Clause" ]
null
null
null
#include "libParanumal.hpp" #include "meshNekReaderHex3D.hpp" void meshBoxSetupHex3D(int N, mesh_t *mesh) { mesh->Nfields = 1; mesh->dim = 3; mesh->Nverts = 8; // number of vertices per element mesh->Nfaces = 6; mesh->NfaceVertices = 4; // vertices on each face int faceVertices[6][4] = {{0,1,2,3...
31.016216
93
0.637679
[ "mesh" ]
4a30e37e3c2dfbbdaf7ad0ad929e70fca399dcce
1,952
hpp
C++
proposals/ProposalGen.hpp
kurff/kurff
e6f166216623e87229d190f9aa4d5acb3f55f190
[ "MIT" ]
null
null
null
proposals/ProposalGen.hpp
kurff/kurff
e6f166216623e87229d190f9aa4d5acb3f55f190
[ "MIT" ]
null
null
null
proposals/ProposalGen.hpp
kurff/kurff
e6f166216623e87229d190f9aa4d5acb3f55f190
[ "MIT" ]
null
null
null
#ifndef __PROPOSAL_GEN_HPP__ #define __PROPOSAL_GEN_HPP__ #include "proposals/Proposal.hpp" #include "proposals/MSERProposal.hpp" #include "proposals/CannyProposal.hpp" #include "proposals/FASTProposal.hpp" #include "proposals/Merge.hpp" #include <vector> #include <string> namespace kurff{ class ProposalGen{ ...
27.885714
112
0.523566
[ "vector" ]
4a310a77ea50494ebfcfc8c37483ef5f2a92b718
5,394
hpp
C++
src/containers/intrusive_priority_queue.hpp
zadcha/rethinkdb
bb4f5cc28242dc1e29e9a46a8a931ec54420070c
[ "Apache-2.0" ]
21,684
2015-01-01T03:42:20.000Z
2022-03-30T13:32:44.000Z
src/containers/intrusive_priority_queue.hpp
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
4,067
2015-01-01T00:04:51.000Z
2022-03-30T13:42:56.000Z
src/containers/intrusive_priority_queue.hpp
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
1,901
2015-01-01T21:05:59.000Z
2022-03-21T08:14:25.000Z
// Copyright 2010-2013 RethinkDB, all rights reserved. #ifndef CONTAINERS_INTRUSIVE_PRIORITY_QUEUE_HPP_ #define CONTAINERS_INTRUSIVE_PRIORITY_QUEUE_HPP_ #include <utility> #include <vector> #include "errors.hpp" // TODO: For some reason I wanted this to not use an O(n) vector. template <class node_t> class intrusiv...
27.948187
120
0.591212
[ "vector" ]
4a38f49dda03af2f9fe61f6e1fd67fb7d06e056a
1,270
cpp
C++
bubble_th.cpp
NashL/SortingAlgorithms
9e84b1c887afbabb454a39ebcad796d69c5d5b69
[ "Unlicense" ]
null
null
null
bubble_th.cpp
NashL/SortingAlgorithms
9e84b1c887afbabb454a39ebcad796d69c5d5b69
[ "Unlicense" ]
null
null
null
bubble_th.cpp
NashL/SortingAlgorithms
9e84b1c887afbabb454a39ebcad796d69c5d5b69
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <cstdlib> #include <algorithm> #include <iterator> #include <thread> using namespace std; int NN = 100000; int n_threads; int RandomNumber () { return (rand()%NN); } void imprimir(vector<int> a){ cout << "[ "; ostream_iterator<int> out_it (cout, " ")...
19.242424
54
0.523622
[ "vector" ]
66589e933db85902fb8f51b9934adc10ffd39d76
2,861
cpp
C++
nesloader/src/nesloader.cpp
Granahir2/Nematod
795aca41770c4fc1247f5170ca1a3a0ab6439363
[ "MIT" ]
null
null
null
nesloader/src/nesloader.cpp
Granahir2/Nematod
795aca41770c4fc1247f5170ca1a3a0ab6439363
[ "MIT" ]
null
null
null
nesloader/src/nesloader.cpp
Granahir2/Nematod
795aca41770c4fc1247f5170ca1a3a0ab6439363
[ "MIT" ]
null
null
null
/* nesloader.cpp Copyright (c) 17 Yann BOUCHER (yann) 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, pub...
32.511364
102
0.693813
[ "vector" ]
665e2fc3197e120d0776db2e886cc4a1ea8609be
1,262
cc
C++
MyWPdfRenderer.cc
RekGRpth/pg_html2pdf
dc68969a4821945d7743cd4ab4b93258dd365251
[ "MIT" ]
1
2019-07-30T08:39:33.000Z
2019-07-30T08:39:33.000Z
MyWPdfRenderer.cc
RekGRpth/pg_wthtmltopdf
dc68969a4821945d7743cd4ab4b93258dd365251
[ "MIT" ]
null
null
null
MyWPdfRenderer.cc
RekGRpth/pg_wthtmltopdf
dc68969a4821945d7743cd4ab4b93258dd365251
[ "MIT" ]
null
null
null
#include <Wt/Render/WPdfRenderer.h> #include "MyWPdfRenderer.h" namespace Wt { namespace rapidxml { class parse_error: public std::exception { public: parse_error(const char *what, void *location) : m_what(what), m_where(location) { } virtual const char *what() const throw() { return m_what; } ...
30.780488
108
0.567353
[ "render" ]
6662af870c21959f9c92d8e3b71e93e5aaa4b469
1,390
cpp
C++
libcaf_core/test/async/blocking_for_each.cpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/test/async/blocking_for_each.cpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/test/async/blocking_for_each.cpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #define CAF_SUITE async.blocking_for_each #include "caf/async/publisher.hpp" #include "c...
26.730769
77
0.701439
[ "vector" ]
666e1d4b84ca5213b642ce43b399bcd58faa09fe
7,703
cpp
C++
thirdparty/ULib/src/ulib/utility/semaphore.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/utility/semaphore.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/utility/semaphore.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// ============================================================================ // // = LIBRARY // ULib - c++ library // // = FILENAME // semaphore.cpp // // = AUTHOR // Stefano Casazza // // ============================================================================ #include <ulib/file.h> #include <ulib/tim...
28.850187
120
0.66156
[ "object" ]
6675c22c3321a7dc5a3afcdb602a64d7f1676fd5
19,115
cpp
C++
src/qt/src/3rdparty/webkit/Source/WebCore/inspector/InspectorPageAgent.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
46
2015-01-08T14:32:34.000Z
2022-02-05T16:48:26.000Z
src/qt/src/3rdparty/webkit/Source/WebCore/inspector/InspectorPageAgent.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
7
2015-01-20T14:28:12.000Z
2017-01-18T17:21:44.000Z
src/qt/src/3rdparty/webkit/Source/WebCore/inspector/InspectorPageAgent.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
14
2015-10-27T06:17:48.000Z
2020-03-03T06:15:50.000Z
/* * Copyright (C) 2011 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
35.998117
168
0.702014
[ "object", "vector" ]
667acf1f1cc368bbee065fadc1c3e7cbaef92b01
15,103
cxx
C++
ds/security/azroles/scope.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/azroles/scope.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/azroles/scope.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 2001 Microsoft Corporation Module Name: scope.cxx Abstract: Routines implementing the Scope object Author: Cliff Van Dyke (cliffv) 11-Apr-2001 --*/ #include "pch.hxx" DWORD AzpScopeInit( IN PGENERIC_OBJECT ParentGenericObject, IN PGENERIC_OBJE...
23.784252
98
0.602529
[ "object" ]
667b83b6da4af8f033c674d7064173480cca76f9
7,581
cpp
C++
2 course/model_coursework/demo/p_semiconductor.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
2 course/model_coursework/demo/p_semiconductor.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
2 course/model_coursework/demo/p_semiconductor.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
#include "p_semiconductor.h" #include <QSequentialAnimationGroup> #include <QPropertyAnimation> #include <QPen> #include <vector> #include <QDebug> #include "demo.h" #include <thread> using namespace std; P_semiconductor::P_semiconductor() : particleArr(10), animationArr(11) { group = new QGraphicsItemGroup(); ...
31.456432
102
0.670492
[ "geometry", "vector" ]
6685ec134056f5d9e4fba8f396fd947bced732d7
3,095
hpp
C++
src/types/amfvector.hpp
Ventero/amf-cpp
e49c308e79e4467ccc42b42995ef2979ff5232e9
[ "MIT" ]
39
2015-03-20T16:40:01.000Z
2021-06-07T21:24:40.000Z
src/types/amfvector.hpp
Ventero/amf-cpp
e49c308e79e4467ccc42b42995ef2979ff5232e9
[ "MIT" ]
5
2015-01-03T14:50:27.000Z
2022-02-28T22:22:21.000Z
src/types/amfvector.hpp
Ventero/amf-cpp
e49c308e79e4467ccc42b42995ef2979ff5232e9
[ "MIT" ]
9
2015-03-24T03:55:46.000Z
2020-11-17T09:23:41.000Z
#pragma once #ifndef AMFVECTOR_HPP #define AMFVECTOR_HPP #include <string> #include <vector> #include "types/amfitem.hpp" #include "utils/amfitemptr.hpp" namespace amf { class SerializationContext; template<typename T> struct VectorProperties; template<typename T, class Enable = void> class AmfVector; template<>...
25.368852
114
0.721809
[ "vector" ]
66902b1a717fb07a86a394449357a4fb84ccec3b
19,177
cpp
C++
reference/test/factorization/ilu_kernels.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
reference/test/factorization/ilu_kernels.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
reference/test/factorization/ilu_kernels.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2022, the Ginkgo authors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source co...
38.354
80
0.607238
[ "vector" ]
6692d4328efbea05534e94f4183e15544ad92baa
2,950
cpp
C++
leetcode.com/0803 Bricks Falling When Hit/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0803 Bricks Falling When Hit/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0803 Bricks Falling When Hit/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <algorithm> #include <iostream> #include <numeric> #include <vector> using namespace std; // ref: Python Solution by reversely adding hits bricks back // https://leetcode.com/problems/bricks-falling-when-hit/discuss/119829/Python-Solution-by-reversely-adding-hits-bricks-back // ref: Union-find Logical Think...
25.652174
124
0.528814
[ "vector" ]
6695a88b3c6732829c13179de875cd7b0ffb097b
2,685
hpp
C++
include/tao/pegtl/contrib/print.hpp
edhall/PEGTL
0d107c3e6d7d8428cb105e788ff36a8d579de296
[ "MIT" ]
null
null
null
include/tao/pegtl/contrib/print.hpp
edhall/PEGTL
0d107c3e6d7d8428cb105e788ff36a8d579de296
[ "MIT" ]
null
null
null
include/tao/pegtl/contrib/print.hpp
edhall/PEGTL
0d107c3e6d7d8428cb105e788ff36a8d579de296
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_CONTRIB_PRINT_HPP #define TAO_PEGTL_CONTRIB_PRINT_HPP #include <algorithm> #include <cassert> #include <iomanip> #include <ios> #include <ostream> #include <string_view>...
25.571429
140
0.543017
[ "vector" ]
66a91a9620b80efbcd58034db6dd33315c550650
10,786
cpp
C++
CPP/Modules/QueueSerial/QueueSerial.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
6
2015-12-01T01:12:33.000Z
2021-07-24T09:02:34.000Z
CPP/Modules/QueueSerial/QueueSerial.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
null
null
null
CPP/Modules/QueueSerial/QueueSerial.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
2
2017-02-02T19:31:29.000Z
2018-12-17T21:00:45.000Z
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list...
31.083573
758
0.633321
[ "object" ]
66af5c43923dabaa8c36fdcdd80c27e9b6c56924
750
cpp
C++
April/Week3/CountSquareSubmatrices.cpp
nimishbongale/leetcode-30days-solutions-scratchpad
56aa989907e5c9bb2657292434ef2174b525aeb2
[ "MIT" ]
null
null
null
April/Week3/CountSquareSubmatrices.cpp
nimishbongale/leetcode-30days-solutions-scratchpad
56aa989907e5c9bb2657292434ef2174b525aeb2
[ "MIT" ]
null
null
null
April/Week3/CountSquareSubmatrices.cpp
nimishbongale/leetcode-30days-solutions-scratchpad
56aa989907e5c9bb2657292434ef2174b525aeb2
[ "MIT" ]
null
null
null
class Solution { public: int countSquares(vector<vector<int>>& matrix) { vector<vector<int>> dp(matrix.size(), vector<int>(matrix[0].size(), 0)); for(int i=0;i<matrix.size();i++) if(matrix[i][0]==1) dp[i][0]=1; for(int i=0;i<matrix[0].size();i++) ...
32.608696
80
0.429333
[ "vector" ]
66b5de4b8424d34010c5bb9c21a4a422dc9e5812
3,138
cpp
C++
packages/geometry/legacy/test/tstCellBoundingBox.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/geometry/legacy/test/tstCellBoundingBox.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/geometry/legacy/test/tstCellBoundingBox.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file tstCellBoundingBox.cpp //! \author Alex Robinson //! \brief Cell bounding box unit tests //! //---------------------------------------------------------------------------// // Std Lib Includes #include <iostream> #include ...
31.69697
79
0.586679
[ "geometry" ]
66ba0c19a9d2970a4ad45e588efad5b94ee54028
19,720
cpp
C++
Example/Apns2Client.cpp
JiekeZhu/Apn2Client
42973f6d6f0bc2b17896c992bd33bc80c3612877
[ "MIT" ]
5
2017-07-11T05:38:15.000Z
2022-01-11T14:48:46.000Z
Example/Apns2Client.cpp
JiekeZhu/Apn2Client
42973f6d6f0bc2b17896c992bd33bc80c3612877
[ "MIT" ]
1
2017-07-11T10:17:40.000Z
2017-07-12T01:05:40.000Z
Example/Apns2Client.cpp
JiekeZhu/Apn2Client
42973f6d6f0bc2b17896c992bd33bc80c3612877
[ "MIT" ]
3
2017-06-12T08:24:57.000Z
2021-08-16T06:28:08.000Z
#include "Apns2Client.h" #include <time.h> #include <vector> #define MAX_MSGSIZE (16 * 1024) #define BLOCK_SECONDS (30) #define INBUFF_SIZE (64 * 1024) #define OUTBUFF_SIZE (64 * 1024) #if _WIN32 #pragma comment(lib, "ws2_32.lib") #endif int PrivateKeyPassphraseCallback(char* pBuf, int size, int flag, void* userD...
24.285714
152
0.69929
[ "object", "vector" ]
66c032a2e7c5246a224772b9f5f93f89f62363a6
1,538
cpp
C++
data-mining/cluster-analysis/assignment/clustering-data/c++/src/kmeans_main.cpp
4979/courses
dd9efa0a6b60cead833f36a6bfa518dd4fece17f
[ "Apache-2.0" ]
null
null
null
data-mining/cluster-analysis/assignment/clustering-data/c++/src/kmeans_main.cpp
4979/courses
dd9efa0a6b60cead833f36a6bfa518dd4fece17f
[ "Apache-2.0" ]
null
null
null
data-mining/cluster-analysis/assignment/clustering-data/c++/src/kmeans_main.cpp
4979/courses
dd9efa0a6b60cead833f36a6bfa518dd4fece17f
[ "Apache-2.0" ]
null
null
null
#include "clustering/k_means.h" #include "evaluation/supervised_evaluation.h" using std::cout; using std::endl; using std::vector; using std::string; vector< vector<double> > loadPoints(string filename) { FILE* in = fopen(filename.c_str(), "r"); int n, d; fscanf(in, "%d%d", &n, &d); vector< vector<dou...
24.412698
85
0.574122
[ "vector" ]
66c30a64e2a6b3b85d336595723b75cece1412ad
14,538
cpp
C++
src/rocksample.cpp
secury/CC-POMCP
d8e76de20b566da9fde922232010d150498c7976
[ "MIT" ]
8
2018-12-20T08:07:14.000Z
2021-12-16T22:30:49.000Z
src/rocksample.cpp
secury/CC-POMCP
d8e76de20b566da9fde922232010d150498c7976
[ "MIT" ]
1
2018-11-05T12:47:28.000Z
2018-11-05T12:47:28.000Z
src/rocksample.cpp
secury/CC-POMCP
d8e76de20b566da9fde922232010d150498c7976
[ "MIT" ]
2
2020-04-21T11:47:06.000Z
2021-05-28T06:42:15.000Z
#include "rocksample.h" #include "utils.h" using namespace std; using namespace UTILS; ROCKSAMPLE::ROCKSAMPLE(int size, int rocks) : Grid(size, size), Size(size), NumRocks(rocks), SmartMoveProb(0.95), UncertaintyCount(0) { NumActions = NumRocks + 5; NumObservations = 3; RewardRange = 20;...
26.053763
98
0.570642
[ "vector" ]
66ce94d82241a3147b6344b072d8530de1e4ce42
3,969
cpp
C++
UVa/UVa_662_Fast Food.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
2
2020-04-23T17:47:27.000Z
2020-04-25T19:40:50.000Z
UVa/UVa_662_Fast Food.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
null
null
null
UVa/UVa_662_Fast Food.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
1
2020-06-14T20:52:39.000Z
2020-06-14T20:52:39.000Z
#include<bits/stdc++.h> #include<iostream> #include<string> #include<vector> #include<cmath> #include<list> #include <algorithm> #include<vector> #include<set> #include <cctype> #include <cstring> #include <cstdio> #include<queue> #include<stack> #include<bitset> #include<time.h> #include<fstream> /******************...
18.206422
112
0.489292
[ "vector" ]
20395c7142cf4ec250321e3011d623588237b2c5
275
hpp
C++
src/basicHl.hpp
Oberon00/synth
f4bb576d22108fdfd65bb8f0796cce4aa84349a6
[ "MIT" ]
185
2016-04-03T16:14:39.000Z
2021-03-22T20:49:03.000Z
src/basicHl.hpp
Oberon00/synth
f4bb576d22108fdfd65bb8f0796cce4aa84349a6
[ "MIT" ]
2
2016-04-04T05:50:12.000Z
2017-01-17T18:12:09.000Z
src/basicHl.hpp
Oberon00/synth
f4bb576d22108fdfd65bb8f0796cce4aa84349a6
[ "MIT" ]
10
2016-04-03T20:48:01.000Z
2019-07-07T05:32:13.000Z
#ifndef SYNTH_BASICHL_HPP_INCLUDED #define SYNTH_BASICHL_HPP_INCLUDED #include <iosfwd> #include <vector> namespace synth { struct Markup; void basicHighlightFile(std::istream& f, std::vector<Markup>& markups); } // namespace synth #endif // SYNTH_BASICHL_HPP_INCLUDED
17.1875
71
0.785455
[ "vector" ]
203c0a680bf70dc5fbc0685cf3d460fc51a2b99d
6,198
cc
C++
addons/differentiation/DynamicsFD.cc
mkudruss/rbdl_derivatives
0fec930aad4a6fb3084aa5aa2bb27bcfd7409a1e
[ "Zlib" ]
1
2021-02-21T09:31:56.000Z
2021-02-21T09:31:56.000Z
addons/differentiation/DynamicsFD.cc
mkudruss/rbdl_derivatives
0fec930aad4a6fb3084aa5aa2bb27bcfd7409a1e
[ "Zlib" ]
null
null
null
addons/differentiation/DynamicsFD.cc
mkudruss/rbdl_derivatives
0fec930aad4a6fb3084aa5aa2bb27bcfd7409a1e
[ "Zlib" ]
1
2022-03-31T05:03:17.000Z
2022-03-31T05:03:17.000Z
/* * RBDL - Rigid Body Dynamics Library * Copyright (c) 2011-2015 Martin Felis <martin.felis@iwr.uni-heidelberg.de> * * Licensed under the zlib license. See LICENSE for more details. */ #include "DynamicsFD.h" #include "FdModelEntry.h" using namespace RigidBodyDynamics::Math; using std::vector; // -------------...
27.546667
80
0.574056
[ "vector", "model" ]
203d39a0431ca35a24767d66d43e181904106f37
6,326
cpp
C++
examples/print_file_result.cpp
akrzemi1/leaf
b643cb9882a40c2d2a26bf92bed9f5eb28488911
[ "BSL-1.0" ]
null
null
null
examples/print_file_result.cpp
akrzemi1/leaf
b643cb9882a40c2d2a26bf92bed9f5eb28488911
[ "BSL-1.0" ]
null
null
null
examples/print_file_result.cpp
akrzemi1/leaf
b643cb9882a40c2d2a26bf92bed9f5eb28488911
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2018-2019 Emil Dotchevski and Reverge Studios, Inc. // 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) // This is the program presented in https://zajo.github.io/leaf/#introduction-result. // It rea...
31.63
152
0.695068
[ "object" ]
204810b871974d79cd5f4235feb091c91384d9f2
2,994
cc
C++
tools/kbenchmark/Args.cc
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
tools/kbenchmark/Args.cc
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
tools/kbenchmark/Args.cc
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. 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...
27.981308
160
0.624916
[ "vector" ]
204b5d0ef3c79aced9c090dda5aa02c3a4fa4190
1,562
cpp
C++
Medium/130_Surrounded_Regions.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Medium/130_Surrounded_Regions.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Medium/130_Surrounded_Regions.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
class Solution { public: void FloodFill(vector<vector<char>>& board, const int M, const int N, int r, int c) { if(r < 0 || r >= M || c < 0 || c >= N) return; if(board[r][c] == '-') board[r][c] = 'O'; else return; int dx[] = {-1, 0, 1, 0}; int dy[] = ...
31.877551
89
0.34507
[ "vector" ]
206200588b1f707cf47f5fbb75f747a42e6cace4
19,878
hpp
C++
src/applications/utilities/postProcessing/dataConversion/caelusToEnsight/ensightField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/applications/utilities/postProcessing/dataConversion/caelusToEnsight/ensightField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/applications/utilities/postProcessing/dataConversion/caelusToEnsight/ensightField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under...
24.330477
79
0.500553
[ "mesh" ]
20646533b313a0f01151dd19902da2b95467aedb
2,072
cpp
C++
src/dolfin/mesh/Edge.cpp
szmurlor/fiver
083251420eb934d860c99dcf1eb07ae5b8ba7e8c
[ "Apache-2.0" ]
null
null
null
src/dolfin/mesh/Edge.cpp
szmurlor/fiver
083251420eb934d860c99dcf1eb07ae5b8ba7e8c
[ "Apache-2.0" ]
null
null
null
src/dolfin/mesh/Edge.cpp
szmurlor/fiver
083251420eb934d860c99dcf1eb07ae5b8ba7e8c
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2006 Anders Logg // // This file is part of DOLFIN. // // DOLFIN is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later vers...
29.6
79
0.573359
[ "geometry" ]
206b4c47d77ba15229599f76cb445f43a96c0dcf
1,404
cpp
C++
Source/RepPhysics/LocationForSync.cpp
slonorib/PhysicsReplication
eb89504dffe1f7da0dfd05d3f845b357c9205413
[ "MIT" ]
2
2020-11-17T11:49:50.000Z
2021-08-30T09:19:48.000Z
Source/RepPhysics/LocationForSync.cpp
slonorib/PhysicsReplication
eb89504dffe1f7da0dfd05d3f845b357c9205413
[ "MIT" ]
null
null
null
Source/RepPhysics/LocationForSync.cpp
slonorib/PhysicsReplication
eb89504dffe1f7da0dfd05d3f845b357c9205413
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "LocationForSync.h" FLocationForSync::FLocationForSync() : Location(FVector::ZeroVector), Rotation(FRotator::ZeroRotator), LocationQuantizationLevel(EVectorQuantization::RoundWholeNumber), RotationQuantizationLeve...
25.527273
117
0.675214
[ "vector" ]
206c7b3fb44f585aac82ef811629afaf4dcad567
4,242
cxx
C++
examples/physics/TestEm3/GeantV/src/TestEm3Data.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
3
2019-05-14T20:24:44.000Z
2019-12-13T20:27:06.000Z
examples/physics/TestEm3/GeantV/src/TestEm3Data.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
3
2019-04-18T04:16:24.000Z
2020-05-19T21:11:50.000Z
examples/physics/TestEm3/GeantV/src/TestEm3Data.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
2
2019-04-25T19:53:50.000Z
2019-05-10T16:17:15.000Z
#include "TestEm3Data.h" #include <stddef.h> namespace userapplication { // // TestEm3DataPerPrimary TestEm3DataPerPrimary::TestEm3DataPerPrimary(int numabs) : fNumAbsorbers(numabs) { fEdepInAbsorber.resize(fNumAbsorbers, 0.); fChargedTrackL.resize(fNumAbsorbers, 0.); fNeutralTrackL.resize(fNumAbsorbers, 0.); ...
27.72549
108
0.727016
[ "vector" ]
206ef49625a91f50564019cb88f1fdea685e8e6e
6,315
cpp
C++
stromx/test/DeadlockOperator.cpp
roteroktober/stromx
e081a35114f68a77e99a4761946b8b8c64eb591a
[ "Apache-2.0" ]
null
null
null
stromx/test/DeadlockOperator.cpp
roteroktober/stromx
e081a35114f68a77e99a4761946b8b8c64eb591a
[ "Apache-2.0" ]
null
null
null
stromx/test/DeadlockOperator.cpp
roteroktober/stromx
e081a35114f68a77e99a4761946b8b8c64eb591a
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013 Matthias Fuchs * * This file is part of stromx-studio. * * Stromx-studio is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any la...
32.551546
81
0.555661
[ "vector" ]
2074b446391ddede7fe88ed5fd5571d451cd79e8
4,886
cpp
C++
Software/GeneralTest/OscillatingProblemTestUnit.cpp
imathsoft/MathSoftDevelopment
4c449f6e378a942cfc39081739ba4c0aa2dce4de
[ "BSD-4-Clause" ]
null
null
null
Software/GeneralTest/OscillatingProblemTestUnit.cpp
imathsoft/MathSoftDevelopment
4c449f6e378a942cfc39081739ba4c0aa2dce4de
[ "BSD-4-Clause" ]
null
null
null
Software/GeneralTest/OscillatingProblemTestUnit.cpp
imathsoft/MathSoftDevelopment
4c449f6e378a942cfc39081739ba4c0aa2dce4de
[ "BSD-4-Clause" ]
null
null
null
#include "CppUnitTest.h" #include "UnitTestAux.h" #include "../BVP/Utils/AuxUtils.h" #include "..\BVP\Problems\OscillatingTestProblem.h" #include "../BVP/Problems/AutonomousOscillatingProblem.h" #include "..\BVP\Cannon\HybridCannon.h" #include "..\BVP\ShootingSimple\BisectionComponent.h" #include "..\BVP\MultipleShoot...
46.980769
155
0.72718
[ "vector" ]
2079963593e94d0ab2daed5be6cbc57e32035e5f
4,001
hpp
C++
src/templates/cascade/nodes.hpp
jpxor/Cascade
7f80e1dec932b9e205ec06e05c54df355e750776
[ "MIT" ]
null
null
null
src/templates/cascade/nodes.hpp
jpxor/Cascade
7f80e1dec932b9e205ec06e05c54df355e750776
[ "MIT" ]
null
null
null
src/templates/cascade/nodes.hpp
jpxor/Cascade
7f80e1dec932b9e205ec06e05c54df355e750776
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <memory> #include <future> namespace Cascade { template<typename InType> class Node { public: virtual void insert(const InType& val) = 0; }; template<typename InType, typename OutType> class CascadeNode : public Node<InType> { public: std::vector<std::shared_p...
28.784173
136
0.67933
[ "vector" ]
2081fde84d15c310aae5c35b22c554e1c140be34
2,497
hpp
C++
CSGOSimple/features/changer/changer.hpp
GiaNTizmO/bnh_recoded
78386b09a8f4e83e9995975a76b48803472780f6
[ "MIT" ]
2
2020-04-15T07:12:36.000Z
2021-06-15T09:56:11.000Z
CSGOSimple/features/changer/changer.hpp
GiaNTizmO/bnh_recoded
78386b09a8f4e83e9995975a76b48803472780f6
[ "MIT" ]
null
null
null
CSGOSimple/features/changer/changer.hpp
GiaNTizmO/bnh_recoded
78386b09a8f4e83e9995975a76b48803472780f6
[ "MIT" ]
1
2021-03-30T11:34:25.000Z
2021-03-30T11:34:25.000Z
#pragma once #include "../../options.hpp" #include "../../valve_sdk/sdk.hpp" #include "../../valve_sdk/csgostructs.hpp" #include <set> #include <string> #include <map> #include <d3dx9.h> class Skins { private: static auto is_knife(const int i) -> bool { return (i >= WEAPON_KNIFE_BAYONET && i < GLOVE_STUDDED_BLOODH...
29.034884
123
0.706848
[ "vector" ]
20876798d4a29cf1ab65ac0e211b5972e8959ed7
24,514
hpp
C++
headers/levels.hpp
HJfod/gdit
3864e43b9b96c69ff57be3c6a2f0e69179e9d84c
[ "MIT" ]
2
2020-10-25T19:57:37.000Z
2020-10-30T03:34:28.000Z
headers/levels.hpp
HJfod/gdit
3864e43b9b96c69ff57be3c6a2f0e69179e9d84c
[ "MIT" ]
null
null
null
headers/levels.hpp
HJfod/gdit
3864e43b9b96c69ff57be3c6a2f0e69179e9d84c
[ "MIT" ]
null
null
null
#include <string> #include <ShlObj.h> #include <windows.h> #include <vector> #include <fstream> #include <regex> #include <algorithm> #include <stdio.h> #include <chrono> #include "main.hpp" #include "../ext/ZlibHelper.hpp" #include "../ext/Base64.hpp" #include "../ext/dirent.h" #include "../ext/json.hpp" namespace gd...
39.795455
156
0.494778
[ "object", "vector" ]
2087c869bbcdd008f420236e13aa1312fb7622a1
3,151
cpp
C++
example-360Player/src/ofApp.cpp
kuflex/ofxOpenVR
1d5c82ff2746dcb2d76b032d71dd0c64b807c01f
[ "MIT" ]
null
null
null
example-360Player/src/ofApp.cpp
kuflex/ofxOpenVR
1d5c82ff2746dcb2d76b032d71dd0c64b807c01f
[ "MIT" ]
null
null
null
example-360Player/src/ofApp.cpp
kuflex/ofxOpenVR
1d5c82ff2746dcb2d76b032d71dd0c64b807c01f
[ "MIT" ]
1
2019-03-19T14:39:15.000Z
2019-03-19T14:39:15.000Z
//Modified example for panoramic player by Kuflex, 2017 // Thanks to @num3ric for sharing this: // http://discourse.libcinder.org/t/360-vr-video-player-for-ios-in-cinder/294/6 #include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetVerticalSync(false); ofDisable...
24.238462
105
0.452872
[ "render" ]
2088483e58e9cf9c4b5ea6ca976c888d3c373d3e
40,804
cpp
C++
B2G/gecko/xpfe/components/directory/nsDirectoryViewer.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/xpfe/components/directory/nsDirectoryViewer.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/xpfe/components/directory/nsDirectoryViewer.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* A directory viewer object. P...
28.755462
107
0.650696
[ "object" ]
2089db26e2b080664cad507bc1458bc56ec22270
1,473
cpp
C++
cpp/08/ex00/main.cpp
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
3
2021-01-06T13:50:12.000Z
2022-02-28T09:16:15.000Z
cpp/08/ex00/main.cpp
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
null
null
null
cpp/08/ex00/main.cpp
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
1
2020-11-23T12:58:18.000Z
2020-11-23T12:58:18.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
32.733333
80
0.281738
[ "vector" ]
208d52008301d0d162eb899ab73acb6362bc8796
891
cc
C++
leetcode/binary-tree-level-order-traversal-ii.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/binary-tree-level-order-traversal-ii.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/binary-tree-level-order-traversal-ii.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
// Binary Tree Level Order Traversal /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<vector<int>> levelOrderBottom(TreeNode* root) { ...
25.457143
59
0.462402
[ "vector" ]
208e004306253c60d10a278e636fea45c250b4ee
3,743
cpp
C++
SerialPrograms/Source/CommonFramework/Options/EditableTableOption.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
1
2022-03-29T18:51:49.000Z
2022-03-29T18:51:49.000Z
SerialPrograms/Source/CommonFramework/Options/EditableTableOption.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
SerialPrograms/Source/CommonFramework/Options/EditableTableOption.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
/* Editable Table Option * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include <QJsonValue> #include <QWidget> #include <QLineEdit> #include <QCheckBox> #include <QHBoxLayout> #include "EditableTableOption.h" #include "EditableTableWidget.h" namespace PokemonAutomation{ ...
29.944
111
0.612343
[ "vector" ]
209164ce75ca3e21f4a36499efa257f626ad843f
671
cpp
C++
misc/46. Permutations.cpp
lingqtan/myLeetcode
54cc538b640660c0d64420442466af4df2ed0225
[ "Apache-2.0" ]
null
null
null
misc/46. Permutations.cpp
lingqtan/myLeetcode
54cc538b640660c0d64420442466af4df2ed0225
[ "Apache-2.0" ]
null
null
null
misc/46. Permutations.cpp
lingqtan/myLeetcode
54cc538b640660c0d64420442466af4df2ed0225
[ "Apache-2.0" ]
null
null
null
class Solution { void solve(int status, vector<int>& cur, vector<int>& nums, vector<vector<int> >& ans) { if (cur.size() == nums.size()) { ans.push_back(cur); return; } for (int i = 0; i < nums.size(); i++) { if (status & (1 << i)) continue; st...
29.173913
92
0.460507
[ "vector" ]
209819b2093f5ff9a93a676b68409d2c9c883b23
4,804
cpp
C++
src/samplers/adaptive_sampler.cpp
Twinklebear/tray
eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b
[ "MIT" ]
61
2015-01-01T10:58:21.000Z
2022-01-05T14:22:15.000Z
src/samplers/adaptive_sampler.cpp
Twinklebear/tray
eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b
[ "MIT" ]
null
null
null
src/samplers/adaptive_sampler.cpp
Twinklebear/tray
eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b
[ "MIT" ]
3
2016-04-11T19:07:47.000Z
2018-05-31T12:40:50.000Z
#include <iostream> #include <array> #include <chrono> #include <vector> #include <memory> #include <random> #include "linalg/util.h" #include "samplers/ld_sampler.h" #include "samplers/adaptive_sampler.h" AdaptiveSampler::AdaptiveSampler(int x_start, int x_end, int y_start, int y_end, int min_sp, int max_sp, int seed...
36.120301
114
0.69234
[ "vector" ]
20a33b11f8155a688dfc74a1b6ee186f5c4d8078
3,090
hh
C++
src/Titon/Route/bootstrap.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
src/Titon/Route/bootstrap.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
src/Titon/Route/bootstrap.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh /** * @copyright 2010-2015, The Titon Project * @license http://opensource.org/licenses/bsd-license.php * @link http://titon.io */ /** * -------------------------------------------------------------- * Type Aliases * -------------------------------------------------------------- * * Defines...
28.090909
92
0.561489
[ "shape", "vector" ]
20ae29eb81410e1fe9bab6a5975e1e9212fb91dc
6,954
hpp
C++
libs/bloom-filter/include/bloom_filter/bloom_filter.hpp
marcuswin/ledger
b79c5c4e7e92ff02ea4328fcc0885bf8ded2b8b2
[ "Apache-2.0" ]
1
2019-09-11T09:46:04.000Z
2019-09-11T09:46:04.000Z
libs/bloom-filter/include/bloom_filter/bloom_filter.hpp
qati/ledger
e05a8f2d62ea1b79a704867d220cf307ef6b93b9
[ "Apache-2.0" ]
null
null
null
libs/bloom-filter/include/bloom_filter/bloom_filter.hpp
qati/ledger
e05a8f2d62ea1b79a704867d220cf307ef6b93b9
[ "Apache-2.0" ]
1
2019-09-19T12:38:46.000Z
2019-09-19T12:38:46.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
29.218487
93
0.678027
[ "vector" ]
20b65b05f6cf1438da11daa73980d8c3625dff54
7,183
cpp
C++
Source/RPG/Game/Components/RPGEquipmentManagerComponent.cpp
Aboutdept/RPGFramework
34c5c578e0ca1e455637082587291f6eac1bf35d
[ "BSD-2-Clause" ]
64
2015-01-04T01:47:31.000Z
2022-03-18T10:12:18.000Z
Source/RPG/Game/Components/RPGEquipmentManagerComponent.cpp
iniside/RPGFramework
72c83cd9a814ac18b19cfaa7fadbee88417f64e3
[ "BSD-2-Clause" ]
null
null
null
Source/RPG/Game/Components/RPGEquipmentManagerComponent.cpp
iniside/RPGFramework
72c83cd9a814ac18b19cfaa7fadbee88417f64e3
[ "BSD-2-Clause" ]
39
2015-01-20T02:37:56.000Z
2021-11-27T11:11:13.000Z
// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved. #include "RPG.h" #include "../RPGCharacter.h" #include "../Components/RPGAttributeBaseComponent.h" #include "RPGEquipmentManagerComponent.h" URPGEquipmentManagerComponent::URPGEquipmentManagerComponent(const class FPostConstructInitializeProperties& PCIP)...
29.804979
163
0.707782
[ "mesh" ]
20ba0b35b7353bf62b6299ba7f3468e9c42c2b39
776
cpp
C++
P2085.cpp
ZayLhy/NOIP
f256c8d706b3ac985de04a5fae77246f44ba5b23
[ "MIT" ]
null
null
null
P2085.cpp
ZayLhy/NOIP
f256c8d706b3ac985de04a5fae77246f44ba5b23
[ "MIT" ]
null
null
null
P2085.cpp
ZayLhy/NOIP
f256c8d706b3ac985de04a5fae77246f44ba5b23
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstring> #include<algorithm> #include<iostream> #include<string> #include<queue> using namespace std; priority_queue<int> Q; vector<int> Ans; int main() { int n,m; cin>>n>>m; for(int i=1,a,b,c;i<=n;i++){ cin>>a>>b>>c; for(int j=1;j<=m;j++){ int x=a*j*j+b...
19.4
35
0.408505
[ "vector" ]
20cea8a86941db74bc85ed0ccbf1ecee44442c78
10,504
cc
C++
p4_pdpi/utils/ir_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
6
2021-12-08T17:29:38.000Z
2022-02-17T20:36:54.000Z
p4_pdpi/utils/ir_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
2
2022-01-20T08:55:05.000Z
2022-03-08T18:30:11.000Z
p4_pdpi/utils/ir_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
5
2021-12-10T02:41:52.000Z
2022-03-03T06:59:23.000Z
// Copyright 2020 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 ...
36.85614
80
0.717917
[ "vector" ]
20d0c30d57cfc304e9358f5e99deae1cb79fbb4b
8,274
cpp
C++
src/ukf.cpp
immortaltw/Unscented-Kalman-Filter-Project
8e66a9e803439a9e1b6697fdfd0b4297752d47d5
[ "MIT" ]
null
null
null
src/ukf.cpp
immortaltw/Unscented-Kalman-Filter-Project
8e66a9e803439a9e1b6697fdfd0b4297752d47d5
[ "MIT" ]
null
null
null
src/ukf.cpp
immortaltw/Unscented-Kalman-Filter-Project
8e66a9e803439a9e1b6697fdfd0b4297752d47d5
[ "MIT" ]
null
null
null
#include "ukf.h" #include "Eigen/Dense" #include <exception> using Eigen::MatrixXd; using Eigen::VectorXd; /** * Initializes Unscented Kalman filter */ UKF::UKF() { // if this is false, laser measurements will be ignored (except during init) use_laser_ = true; // if this is false, radar measurements will be ...
26.519231
79
0.633188
[ "object", "vector", "transform" ]
20d78f26aa96a8110a5588edfe1ed815192a3cb2
3,907
cpp
C++
ECS/src/ECS/Managers/SystemManager.cpp
maxbrundev/OpenGL-Modern-ECS-GameEngine
9924bacb35e20cd76b68ae79c6cf40a1b34ec4c0
[ "MIT" ]
2
2020-09-28T18:54:50.000Z
2020-11-21T19:20:54.000Z
ECS/src/ECS/Managers/SystemManager.cpp
maxbrundev/OpenGL-Modern-ECS-GameEngine
9924bacb35e20cd76b68ae79c6cf40a1b34ec4c0
[ "MIT" ]
null
null
null
ECS/src/ECS/Managers/SystemManager.cpp
maxbrundev/OpenGL-Modern-ECS-GameEngine
9924bacb35e20cd76b68ae79c6cf40a1b34ec4c0
[ "MIT" ]
2
2019-04-07T19:11:00.000Z
2019-12-03T13:05:07.000Z
#include "ecs_stdafx.h" #include "ECS/Managers/SystemManager.h" #include "ECS/Types.h" #include "Utils/algorithm.h" using namespace ECS; SystemManager::SystemManager() { } SystemManager::~SystemManager() { } void SystemManager::FixedUpdate(const double fixed_dt_ms) { for (ISystem_ptr system : ...
23.823171
162
0.659841
[ "vector" ]
2227f8b6ead67390689c6339e3b152f58310249f
11,977
hpp
C++
VSDataReduction/VSSimpleCutsCalc.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
1
2018-04-17T14:03:36.000Z
2018-04-17T14:03:36.000Z
VSDataReduction/VSSimpleCutsCalc.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
VSDataReduction/VSSimpleCutsCalc.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
//-*-mode:c++; mode:font-lock;-*- /*! \file VSSimpleCutsCalc.hpp Class for applying simple box cuts. \author Matthew Wood \n UCLA \n mdwood@astro.ucla.edu \n \version 1.0 \date 07/08/2007 $Id: VSSimpleCutsCalc.hpp,v 3.9 ...
26.674833
79
0.622693
[ "vector" ]
2237bb4550776a9e4cef25d29287fe29fb67e4da
974
cpp
C++
ProgramFlow/FoorLoop/main.cpp
simonefinelli/Cpp-Notes
be66770e762092d79cbe7a09197b06c2962fd65f
[ "MIT" ]
null
null
null
ProgramFlow/FoorLoop/main.cpp
simonefinelli/Cpp-Notes
be66770e762092d79cbe7a09197b06c2962fd65f
[ "MIT" ]
null
null
null
ProgramFlow/FoorLoop/main.cpp
simonefinelli/Cpp-Notes
be66770e762092d79cbe7a09197b06c2962fd65f
[ "MIT" ]
null
null
null
// Section 9 // For loop #include <iostream> #include <vector> using namespace std; int main() { // for (int i {}; i < 10; i++) // cout << i << endl; // for (int i {100}; i < 300; i+=50) // cout << i << endl; // for (int i {10}; i > 0; i--) // cout << i << endl; // for (i...
20.723404
60
0.349076
[ "vector" ]
223cc4c8b203733981cbe12180d370cfb59483f6
1,263
hpp
C++
include/MCL/ReadSeamedObj.hpp
mattoverby/mclgeom
d3ecd2a878900f33ba1412b8d82e643895201e51
[ "MIT" ]
null
null
null
include/MCL/ReadSeamedObj.hpp
mattoverby/mclgeom
d3ecd2a878900f33ba1412b8d82e643895201e51
[ "MIT" ]
1
2021-12-26T22:44:01.000Z
2022-02-09T02:54:23.000Z
include/MCL/ReadSeamedObj.hpp
mattoverby/mclgeom
d3ecd2a878900f33ba1412b8d82e643895201e51
[ "MIT" ]
null
null
null
// Copyright Matt Overby 2021. // Distributed under the MIT License. #ifndef MCL_READSEAMEDOBJ_HPP #define MCL_READSEAMEDOBJ_HPP 1 #include <Eigen/Core> #include <vector> // TODO my own readOBJ to remove igl dependency #include <igl/readOBJ.h> namespace mcl { static inline bool read_seamed_obj( std::string filena...
18.850746
50
0.622328
[ "vector", "3d" ]
2248af13c24742c1c75d144b008d8c60333cd607
1,554
cc
C++
src/cudauvm/CondFormats/SiPixelGainCalibrationForHLTGPU.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
9
2021-03-02T08:40:18.000Z
2022-01-24T14:31:40.000Z
src/cudauvm/CondFormats/SiPixelGainCalibrationForHLTGPU.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
158
2020-03-22T19:46:40.000Z
2022-03-24T09:51:35.000Z
src/cudauvm/CondFormats/SiPixelGainCalibrationForHLTGPU.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
26
2020-03-20T15:18:41.000Z
2022-03-14T16:58:07.000Z
#include <cstring> #include <cuda.h> #include "CondFormats/SiPixelGainCalibrationForHLTGPU.h" #include "CondFormats/SiPixelGainForHLTonGPU.h" #include "CUDACore/cudaCheck.h" #include "CUDACore/deviceCount.h" #include "CUDACore/ScopedSetDevice.h" #include "CUDACore/StreamCache.h" SiPixelGainCalibrationForHLTGPU::SiPi...
40.894737
110
0.749035
[ "vector" ]
224b559c5677a6ee262ab06abad1e936c717198c
1,464
cpp
C++
Magical Stones I/main.cpp
nickbel7/IEEEXtreme14.0-codenames
58500b10d8e2f577bfe5175e9ae6dc74479e7e3f
[ "MIT" ]
1
2021-10-21T04:54:22.000Z
2021-10-21T04:54:22.000Z
Magical Stones I/main.cpp
nickbel7/IEEEXtreme14.0-codenames
58500b10d8e2f577bfe5175e9ae6dc74479e7e3f
[ "MIT" ]
null
null
null
Magical Stones I/main.cpp
nickbel7/IEEEXtreme14.0-codenames
58500b10d8e2f577bfe5175e9ae6dc74479e7e3f
[ "MIT" ]
2
2020-10-06T16:37:35.000Z
2020-10-24T11:09:06.000Z
#include <iostream> #include <vector> using namespace std; int main() { int N, input, Q; cin >> N; vector<int> spell; vector<bool> tel; vector<bool> temp; vector<int> rocks; for(int i=0; i<N; ++i){ tel.push_back(true); temp.push_back(false); } for(int i=0; i<N; ++i...
19.52
42
0.373634
[ "vector" ]
224c9a787881a19f735f8aeb71e4485ff3dc201a
14,753
cpp
C++
base/cluster/mgmt/cluscfg/basecluster/cbaseclusterform.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/cluster/mgmt/cluscfg/basecluster/cbaseclusterform.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/cluster/mgmt/cluscfg/basecluster/cbaseclusterform.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 1999-2001 Microsoft Corporation // // Module Name: // CBaseClusterForm.cpp // // Description: // Contains the definition of the CBaseClusterForm class. // // Maintained By: // David Potter ...
32.495595
180
0.537992
[ "object" ]
224fa20d62b9683c5c0ac78c7655d6e8fc131405
2,397
cpp
C++
turbo_transformers/layers/bert_pooler.cpp
xcnick/TurboTransformers
48b6ba09af2219616c6b97cc5c09222408e080c2
[ "BSD-3-Clause" ]
1
2020-06-07T06:24:41.000Z
2020-06-07T06:24:41.000Z
turbo_transformers/layers/bert_pooler.cpp
xcnick/TurboTransformers
48b6ba09af2219616c6b97cc5c09222408e080c2
[ "BSD-3-Clause" ]
null
null
null
turbo_transformers/layers/bert_pooler.cpp
xcnick/TurboTransformers
48b6ba09af2219616c6b97cc5c09222408e080c2
[ "BSD-3-Clause" ]
1
2021-01-04T11:10:40.000Z
2021-01-04T11:10:40.000Z
// Copyright (C) 2020 THL A29 Limited, a Tencent company. // All rights reserved. // Licensed under the BSD 3-Clause License (the "License"); you may // not use this file except in compliance with the License. You may // obtain a copy of the License at // https://opensource.org/licenses/BSD-3-Clause // Unless required ...
41.327586
80
0.659992
[ "shape", "vector" ]
225b7f020bc4e1191491556ef96b4d9264e2db96
1,489
cpp
C++
src/function/table/version/pragma_version.cpp
shenyunlong/duckdb
ecb90f22b36a50b051fdd8e0d681bade3365c430
[ "MIT" ]
null
null
null
src/function/table/version/pragma_version.cpp
shenyunlong/duckdb
ecb90f22b36a50b051fdd8e0d681bade3365c430
[ "MIT" ]
7
2020-08-25T22:24:16.000Z
2020-09-06T00:16:49.000Z
src/function/table/version/pragma_version.cpp
shenyunlong/duckdb
ecb90f22b36a50b051fdd8e0d681bade3365c430
[ "MIT" ]
null
null
null
#include "duckdb/function/table/sqlite_functions.hpp" #include "duckdb/main/database.hpp" namespace duckdb { struct PragmaVersionData : public TableFunctionData { PragmaVersionData() : done(false) { } bool done; }; static unique_ptr<FunctionData> pragma_version_bind(ClientContext &context, vector<Value> &inputs, ...
29.78
111
0.689053
[ "vector" ]
2263045591732ee6a69f831e224cd9177b1aab47
2,206
cxx
C++
Rendering/OpenGL2/Testing/Cxx/TestSDL2.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Rendering/OpenGL2/Testing/Cxx/TestSDL2.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Rendering/OpenGL2/Testing/Cxx/TestSDL2.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: Mace.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distribu...
29.413333
75
0.705349
[ "render" ]
22670480b5d6229154d5b622025102fc0c0da4fb
6,105
cpp
C++
Device/Sample/BLE/BLE.cpp
tencentyun/xiaowei-device-sdk
09bf2e4a992158a853b650024ce124390274bf5a
[ "MIT" ]
28
2018-05-11T09:10:40.000Z
2021-11-23T09:16:42.000Z
Device/Sample/BLE/BLE.cpp
tencentyun/xiaowei-device-sdk
09bf2e4a992158a853b650024ce124390274bf5a
[ "MIT" ]
1
2019-01-16T11:33:26.000Z
2019-01-16T11:33:26.000Z
Device/Sample/BLE/BLE.cpp
tencentyun/xiaowei-device-sdk
09bf2e4a992158a853b650024ce124390274bf5a
[ "MIT" ]
6
2018-05-11T09:09:06.000Z
2019-01-04T01:42:58.000Z
/* * Tencent is pleased to support the open source community by making XiaoweiSDK Demo Codes available. * * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the MIT License (the "License"); you may not use this file except in compliance * with the License. You may ob...
29.635922
102
0.61638
[ "object" ]
227f2e545b8e8c7d1a5906ceccde702da480c398
2,513
cpp
C++
convolution/src/mask.cpp
fpeterek/dzo
d046a3c53bc66ee4fa7897394422570c1ef8f07a
[ "MIT" ]
null
null
null
convolution/src/mask.cpp
fpeterek/dzo
d046a3c53bc66ee4fa7897394422570c1ef8f07a
[ "MIT" ]
null
null
null
convolution/src/mask.cpp
fpeterek/dzo
d046a3c53bc66ee4fa7897394422570c1ef8f07a
[ "MIT" ]
null
null
null
// // Created by fpeterek on 08.10.21. // #include "mask.hpp" #include <fstream> #include <sstream> #include <iostream> static std::vector<float> tokenize(const std::string & str) { std::vector<float> vec; std::stringstream ss(str); while (ss) { float f; ss >> f; vec.emplace_bac...
20.941667
118
0.584162
[ "vector" ]
2287379c552573eadc9bd9bc796b4c792fa21db9
19,025
cpp
C++
src/talos-control-manager.cpp
olivier-stasse/sot-talos-balance
8749650fc5f512a04c349f447a0cfb0d9e0e1e05
[ "BSD-2-Clause" ]
null
null
null
src/talos-control-manager.cpp
olivier-stasse/sot-talos-balance
8749650fc5f512a04c349f447a0cfb0d9e0e1e05
[ "BSD-2-Clause" ]
null
null
null
src/talos-control-manager.cpp
olivier-stasse/sot-talos-balance
8749650fc5f512a04c349f447a0cfb0d9e0e1e05
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2014, Andrea Del Prete, LAAS-CNRS * * This file is part of sot-torque-control. * sot-torque-control is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation, either version 3 of * the Licens...
38.512146
178
0.554008
[ "vector" ]
228d39d0bef9ffb39a109cc9691c227c21df3ec1
3,949
hpp
C++
include/snd/storage/circular_buffer.hpp
colugomusic/snd
3ecb87581870b14e62893610d027516aea48ff3c
[ "MIT" ]
18
2020-08-26T11:33:50.000Z
2021-04-13T15:57:28.000Z
include/snd/storage/circular_buffer.hpp
colugomusic/snd
3ecb87581870b14e62893610d027516aea48ff3c
[ "MIT" ]
1
2021-05-16T17:11:57.000Z
2021-05-16T17:25:17.000Z
include/snd/storage/circular_buffer.hpp
colugomusic/snd
3ecb87581870b14e62893610d027516aea48ff3c
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <array> #include <vector> namespace snd { namespace storage { template <class T, class Allocator = std::allocator<T>> class CircularBuffer { public: using Data = std::vector<T, Allocator>; template <bool Const = false> class iterator { public: using self_type = ite...
19.263415
101
0.660927
[ "vector" ]
229bd7bab4e4de4a22b406b6ddda4126db4ce886
5,283
cxx
C++
libs/capture/details/capture_device_impl.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
libs/capture/details/capture_device_impl.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
libs/capture/details/capture_device_impl.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
#include "capture_device_impl.h" namespace capture { /// attach instance to device based on serial capture_device_impl::~capture_device_impl() { } /// return whether device object is attached to a device bool capture_device_impl::is_attached() const { return false; } /// set the pan value of a device that ...
70.44
162
0.831535
[ "object" ]
229fa6392042116e984045056745b6cc6f98a37e
906
cc
C++
cs247/gtkmm-examples/MVC/main.cc
shalecraig/Notes
624378484a066504c55addffa4a27bd8f5e5d13b
[ "MIT" ]
14
2015-01-16T18:31:43.000Z
2020-05-10T03:11:28.000Z
cs247/gtkmm-examples/MVC/main.cc
shalecraig/Notes
624378484a066504c55addffa4a27bd8f5e5d13b
[ "MIT" ]
null
null
null
cs247/gtkmm-examples/MVC/main.cc
shalecraig/Notes
624378484a066504c55addffa4a27bd8f5e5d13b
[ "MIT" ]
7
2015-04-01T22:53:25.000Z
2021-03-20T00:23:09.000Z
/* * MVC example of GTKmm program * * Displays top card of sorted deck of cards. When "next" button is clicked, * the next card is displayed on top of deck. When the "reset" button is * clicked, the top card of a full sorted deck is displayed * * Created by Jo Atlee on 06/07/09. * Copyright 2009 UW. All rig...
32.357143
107
0.643488
[ "model" ]
22a4ec0a3e010b341725649ba257fa75147b2c3a
9,075
cpp
C++
src/IECore/ModelCache.cpp
gcodebackups/cortex-vfx
72fa6c6eb3327fce4faf01361c8fcc2e1e892672
[ "BSD-3-Clause" ]
5
2016-07-26T06:09:28.000Z
2022-03-07T03:58:51.000Z
src/IECore/ModelCache.cpp
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
null
null
null
src/IECore/ModelCache.cpp
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
3
2015-03-25T18:45:24.000Z
2020-02-15T15:37:18.000Z
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012-2013, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
28.009259
101
0.673168
[ "object", "transform" ]
22b3bfaed144d9eadd7e8f5e0add16133fe33624
3,047
cpp
C++
src/metadata/MetaStruct.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
11
2020-10-13T11:50:29.000Z
2022-02-27T11:47:34.000Z
src/metadata/MetaStruct.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
15
2020-10-07T18:01:27.000Z
2021-07-08T09:09:13.000Z
src/metadata/MetaStruct.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
2
2020-10-07T21:29:06.000Z
2020-10-14T18:02:17.000Z
//MIT License //Copyright (c) 2020 bexoft GmbH (mail@bexoft.de) //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, ...
25.391667
121
0.702658
[ "vector" ]
22b63b244c62c7f8a5662ed758af0c6ac92830ea
35,607
cpp
C++
src/game/gamesys/SysCvar.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
2
2018-08-30T23:48:22.000Z
2021-04-07T19:16:18.000Z
src/game/gamesys/SysCvar.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
null
null
null
src/game/gamesys/SysCvar.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
null
null
null
// Copyright (C) 2004 Id Software, Inc. // #include "../../idlib/precompiled.h" #pragma hdrstop #include "../Game_local.h" #include "../../framework/BuildVersion.h" // HUMANHEAD mdl /* All game cvars should be defined here. */ #ifdef HUMANHEAD // HUMANHEAD idCVar g_tips("g_tips", "1", CVAR_GAME | CVAR_BOOL | CVAR...
88.136139
299
0.757997
[ "model", "solid" ]