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
629888d6758ffb59d4ffc2f0adc339e8f088544b
16,274
cc
C++
lib/algo.cc
js1010/buffalo
59d0d7caabf9c4bd9005e9c045bcb12366d37269
[ "Apache-2.0" ]
577
2019-08-28T19:56:43.000Z
2022-03-22T19:44:58.000Z
lib/algo.cc
js1010/buffalo
59d0d7caabf9c4bd9005e9c045bcb12366d37269
[ "Apache-2.0" ]
35
2019-08-28T23:48:58.000Z
2022-02-10T02:13:47.000Z
lib/algo.cc
js1010/buffalo
59d0d7caabf9c4bd9005e9c045bcb12366d37269
[ "Apache-2.0" ]
128
2019-08-28T21:41:10.000Z
2022-02-21T17:46:17.000Z
#include <string> #include <fstream> #include <streambuf> #include <sys/time.h> #include "buffalo/algo.hpp" using namespace std; using namespace json11; static const float FEPS = 1e-10; Algorithm::Algorithm() { logger_ = BuffaloLogger().get_logger(); } bool Algorithm::parse_option(string opt_path, Json& j) { ...
33.010142
124
0.56581
[ "vector" ]
629def4abc91b7e66ac3e7af8d618fe439fdf49a
5,945
hpp
C++
applications/mkl_solvers_application/external_includes/boost/numeric/bindings/traits/ublas_vector.hpp
jiaqiwang969/Kratos-test
ed082abc163e7b627f110a1ae1da465f52f48348
[ "BSD-4-Clause" ]
null
null
null
applications/mkl_solvers_application/external_includes/boost/numeric/bindings/traits/ublas_vector.hpp
jiaqiwang969/Kratos-test
ed082abc163e7b627f110a1ae1da465f52f48348
[ "BSD-4-Clause" ]
null
null
null
applications/mkl_solvers_application/external_includes/boost/numeric/bindings/traits/ublas_vector.hpp
jiaqiwang969/Kratos-test
ed082abc163e7b627f110a1ae1da465f52f48348
[ "BSD-4-Clause" ]
null
null
null
/* * * Copyright (c) 2002, 2003 Kresimir Fresl, Toon Knapen and Karl Meerbergen * * Permission to copy, modify, use and distribute this software * for any non-commercial or commercial purpose is granted provided * that this license appear on all copies of the software source code. * * Authors assume no respo...
37.15625
137
0.675862
[ "vector" ]
629e440afef3f3c84a018c909917390c3d55b0ad
19,813
cpp
C++
editor/src/editor-scene/EntityManager.cpp
GasimGasimzada/liquid-engine
0d6c8b6b6ec508dc63b970dc23698caf1578147a
[ "MIT" ]
null
null
null
editor/src/editor-scene/EntityManager.cpp
GasimGasimzada/liquid-engine
0d6c8b6b6ec508dc63b970dc23698caf1578147a
[ "MIT" ]
null
null
null
editor/src/editor-scene/EntityManager.cpp
GasimGasimzada/liquid-engine
0d6c8b6b6ec508dc63b970dc23698caf1578147a
[ "MIT" ]
null
null
null
#include "liquid/core/Base.h" #include "liquid/yaml/Yaml.h" #include "EntityManager.h" namespace liquidator { EntityManager::EntityManager(liquid::AssetManager &assetManager, liquid::Renderer &renderer, const std::filesystem::path &scenePath) : mScenePath...
35.067257
80
0.636602
[ "mesh", "vector", "transform" ]
629f4fac840ed8798bf524e89ede75459c31d0f7
2,409
cpp
C++
examples/component/collapsible.cpp
azchatlanin/FTXUI
cdd63398493559238cf7c93bb76a4e6401696db3
[ "MIT" ]
1
2022-01-24T23:53:32.000Z
2022-01-24T23:53:32.000Z
examples/component/collapsible.cpp
azchatlanin/FTXUI
cdd63398493559238cf7c93bb76a4e6401696db3
[ "MIT" ]
null
null
null
examples/component/collapsible.cpp
azchatlanin/FTXUI
cdd63398493559238cf7c93bb76a4e6401696db3
[ "MIT" ]
null
null
null
#include <memory> // for allocator, make_shared, __shared_ptr_access #include <utility> // for move #include <vector> // for vector #include "ftxui/component/captured_mouse.hpp" // for ftxui #include "ftxui/component/component.hpp" // for Collapsible, Renderer, Vertical #include "ftxui/component/component_base....
40.830508
86
0.51017
[ "render", "vector" ]
62a348a0b184eddae8528e59d428264512655fe1
304
cpp
C++
leetcodeInXcode/main.cpp
thats2ez/leetcode-in-Xcode
6a9cd577276908d1186002d8c365ad2fe84347f0
[ "MIT" ]
1
2019-08-11T08:47:53.000Z
2019-08-11T08:47:53.000Z
leetcodeInXcode/main.cpp
thats2ez/leetcode-in-Xcode
6a9cd577276908d1186002d8c365ad2fe84347f0
[ "MIT" ]
null
null
null
leetcodeInXcode/main.cpp
thats2ez/leetcode-in-Xcode
6a9cd577276908d1186002d8c365ad2fe84347f0
[ "MIT" ]
1
2021-07-21T09:03:43.000Z
2021-07-21T09:03:43.000Z
// // main.cpp // leetcodeInXcode // // Created by Kaiqi on 14/10/27. // Copyright (c) 2014年 edu.self. All rights reserved. // #include "The Skyline Problem.h" int main() { Solution s; vector<vector<int>> buildings = {{0, 1, 3}}; auto result = s.getSkyline(buildings); return 0; }
16.888889
54
0.618421
[ "vector" ]
62a5e844c16fe3c1cd2dccf679a2db91da753592
2,818
cpp
C++
cpp/cpp/218. The Skyline Problem.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
3
2021-08-07T07:01:34.000Z
2021-08-07T07:03:02.000Z
cpp/cpp/218. The Skyline Problem.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
cpp/cpp/218. The Skyline Problem.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/the-skyline-problem/ // A city's skyline is the outer contour of the silhouette formed by all the // buildings in that city when viewed from a distance. Given the locations and // heights of all the buildings, return the skyline formed by these buildings // collectively. // The geomet...
45.451613
83
0.599716
[ "vector" ]
62a78487190bf977e4a559b518ef5327c7d169a9
9,332
cpp
C++
dev/Code/Tools/RC/ResourceCompiler/CfgFile.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Tools/RC/ResourceCompiler/CfgFile.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Tools/RC/ResourceCompiler/CfgFile.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
27.28655
152
0.512216
[ "vector" ]
62a9699b607e47d7c02afe43357e9f2ad6d43f26
23,882
cc
C++
dtran.cc
besm6/tirazh-re
5e2149bdf6d77aa5075f940fa77566efb68bdc66
[ "MIT" ]
null
null
null
dtran.cc
besm6/tirazh-re
5e2149bdf6d77aa5075f940fa77566efb68bdc66
[ "MIT" ]
null
null
null
dtran.cc
besm6/tirazh-re
5e2149bdf6d77aa5075f940fa77566efb68bdc66
[ "MIT" ]
null
null
null
/* * A disassembler for the BESM-6 executable binaries produced by * Pascal-Autocode. * * To produce pseudo-code that can be given to the "decompiler": * dtran -d pascompl.o > pascompl.out * * Copyright 2019 Leonid Broukhis */ #include <cstdio> #include <cstring> #include <cstdlib> #include <cstdarg> #include ...
31.177546
112
0.514572
[ "vector" ]
62b267cd04a465c47d3a4c85bf3946e5f6c713f8
49,366
cpp
C++
SRC/element/masonry/MasonPan12.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
8
2019-03-05T16:25:10.000Z
2020-04-17T14:12:03.000Z
SRC/element/masonry/MasonPan12.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
null
null
null
SRC/element/masonry/MasonPan12.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
3
2019-09-21T03:11:11.000Z
2020-01-19T07:29:37.000Z
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
31.54377
235
0.571223
[ "object", "vector", "model", "3d" ]
62b552dffd3bbde47f29fc11aaa1480bc48d30fa
3,331
cpp
C++
settingsHelper/SettingsHelperTests/ParsingTests.cpp
stegru/windows
6e113cb192fe8360a697657d0221c8b4e771e506
[ "BSD-3-Clause" ]
12
2015-06-03T18:30:06.000Z
2021-12-07T12:22:25.000Z
settingsHelper/SettingsHelperTests/ParsingTests.cpp
GPII/windows
d5a5a66059c308729ca6f8099e06819f77fdddb9
[ "BSD-3-Clause" ]
271
2015-01-28T13:24:59.000Z
2020-11-23T13:46:43.000Z
settingsHelper/SettingsHelperTests/ParsingTests.cpp
stegru/windows
6e113cb192fe8360a697657d0221c8b4e771e506
[ "BSD-3-Clause" ]
31
2015-04-16T20:09:12.000Z
2022-01-19T14:29:05.000Z
/** * Tests for the parsing functions. * * Copyright 2019 Raising the Floor - US * * Licensed under the New BSD license. You may not use this file except in * compliance with this License. * * You may obtain a copy of the License at * https://github.com/GPII/universal/blob/master/LICENSE.txt */ #include "pch...
29.477876
117
0.709397
[ "vector" ]
49831cb3f712c4e6a86912db8378a53135a948f0
3,631
cpp
C++
tools/converter/source/common/AddSparseInfo.cpp
jinfagang/MNN
f10b2203dbb27432155f863f1dfd65a156d57a09
[ "Apache-2.0" ]
null
null
null
tools/converter/source/common/AddSparseInfo.cpp
jinfagang/MNN
f10b2203dbb27432155f863f1dfd65a156d57a09
[ "Apache-2.0" ]
null
null
null
tools/converter/source/common/AddSparseInfo.cpp
jinfagang/MNN
f10b2203dbb27432155f863f1dfd65a156d57a09
[ "Apache-2.0" ]
null
null
null
// // AddSparseInfo.cpp // MNNConverter // // Created by MNN on 2021/08/11. // Copyright © 2018, Alibaba Group Holding Limited // #include "CommonUtils.hpp" #include "common/CommonCompute.hpp" #include "backend/cpu/compute/SparseConvolutionTiledExecutor.hpp" using namespace MNN; void AddSparseInfo(std::unique_pt...
36.31
158
0.616084
[ "vector" ]
49855cd40dcc8c6c5f5be9ba7f5977e92c1c29fb
478
cpp
C++
src/strategy/generic/TellTargetStrategy.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
12
2022-03-23T05:14:53.000Z
2022-03-30T12:12:58.000Z
src/strategy/generic/TellTargetStrategy.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
24
2022-03-23T13:56:37.000Z
2022-03-31T18:23:32.000Z
src/strategy/generic/TellTargetStrategy.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
3
2022-03-24T21:47:10.000Z
2022-03-31T06:21:46.000Z
/* * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version. */ #include "TellTargetStrategy.h" #include "Playerbots.h" void TellTargetStrategy::InitTriggers(std::vector...
39.833333
205
0.746862
[ "vector" ]
498f10259624017c30e195069f9af553309b9ce9
1,542
cpp
C++
Application.cpp
Grundkurs/Events
7ce1fb0959e53ec00927bbef39fd623061d9c033
[ "MIT" ]
null
null
null
Application.cpp
Grundkurs/Events
7ce1fb0959e53ec00927bbef39fd623061d9c033
[ "MIT" ]
null
null
null
Application.cpp
Grundkurs/Events
7ce1fb0959e53ec00927bbef39fd623061d9c033
[ "MIT" ]
null
null
null
// // Created by Keen on 25.01.2021. // #include "Application.hpp" Application::Application() : m_shared_context(), m_window(sf::Vector2u{800,600}), m_stateManager(), m_gui_manager() { m_shared_context.m_window = &m_window; m_shared_context.m_eventManager = m_window.get_eventManager(); m_shared_context.m...
25.278689
66
0.680934
[ "render" ]
49a309c6222160ad04eceac15d1f78fd92c8b44a
5,018
cc
C++
mindspore/core/ops/detection_post_process.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/core/ops/detection_post_process.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/core/ops/detection_post_process.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
40.467742
118
0.775807
[ "vector" ]
49a424452ae5a36f7020c0ddbb8a105051f5dcd3
1,548
cpp
C++
c++/Maximum Gap/Maximum Gap.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
c++/Maximum Gap/Maximum Gap.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
c++/Maximum Gap/Maximum Gap.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
/* 1.假设有N个元素A到B。 2.那么根据鸽巢原理,最大差值不会小于ceiling[(B - A) / (N - 1)]。 3.令bucket(桶)的大小div = ceiling[(B - A) / (N - 1)],则最多会有(B - A) / div + 1个桶 4.对于数组中的任意整数K,很容易通过算式slot = (K - A) / div找出其桶的位置,然后维护每一个桶的最大值和最小值 5.由于同一个桶内的元素之间的差值至多为div - 1,因此最终答案不会从同一个桶中选择。 6.对于每一个非空的桶p,找出下一个非空的桶q,则q.min - p.max可能就是备选答案。...
28.666667
82
0.44832
[ "vector" ]
49ae7b92930fd209f14ec97818041590cd9274cf
15,337
cpp
C++
src/ProcessingUnits/GPU.cpp
Gegel85/GBEmulator
9899223d63d08bf77848c89a14f69221722adcc7
[ "MIT" ]
null
null
null
src/ProcessingUnits/GPU.cpp
Gegel85/GBEmulator
9899223d63d08bf77848c89a14f69221722adcc7
[ "MIT" ]
6
2019-11-27T18:14:52.000Z
2021-07-27T14:42:21.000Z
src/ProcessingUnits/GPU.cpp
Gegel85/GBEmulator
9899223d63d08bf77848c89a14f69221722adcc7
[ "MIT" ]
null
null
null
/* 65;5803;1c** EPITECH PROJECT, 2019 ** GBEmulator ** File description: ** Gpu.cpp */ #include <iostream> #include <cstring> #include <cmath> #include "GPU.hpp" #include "CPU.hpp" #define DUCT_TAPE(value) ((((value) & 0b1U) << 1U) | ((value) >> 1U)) namespace GBEmulator { std::vector<Graphics::RGBColor> GPU::defau...
27.834846
151
0.629589
[ "vector" ]
49b00b2688bba309672cc6979156b9cb05f88284
298
cpp
C++
books/tech/cpp/std-11/b_sutherland-cpp_recipes/ch_02-modern_cpp/recipe_2.2-initializing_objects_with_initializer_lists/01-constructing_vector_objects/main.cpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
1
2017-05-04T08:23:46.000Z
2017-05-04T08:23:46.000Z
books/techno/cpp/__intermediate/cpp_recipes_a_problem_solution_approach_b_shutherland/code/ch_2-MODERN_CPP/recipe_2.2-initializing_objects_with_initializer_lists/01-constructing_vector_objects/main.cpp
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
books/techno/cpp/__intermediate/cpp_recipes_a_problem_solution_approach_b_shutherland/code/ch_2-MODERN_CPP/recipe_2.2-initializing_objects_with_initializer_lists/01-constructing_vector_objects/main.cpp
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> int main() { using MyVector = std::vector<int>; MyVector vectorA(1); std::cout << vectorA.size() << " " << vectorA[0] << std::endl; MyVector vectorB(1, 10); std::cout << vectorB.size() << " " << vectorB[0] << std::endl; return 0; }
19.866667
66
0.560403
[ "vector" ]
49b533f4d57966394fc66094413dbe99c2497d86
12,563
hxx
C++
private/inet/mshtml/dead/site/dfrm/detail.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/mshtml/dead/site/dfrm/detail.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/mshtml/dead/site/dfrm/detail.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//+--------------------------------------------------------------------------- // // Maintained by: alexa // // Copyright: (C) Microsoft Corporation, 1994-1995. // // File: detail.hxx // // Contents: this file contains the CDataFrame class definition. // //---------------------------------------...
30.716381
102
0.538406
[ "model" ]
49be84b7f51fa999dc3e224303ee369efa5e5e2e
12,767
cc
C++
src/tests/mesh/test_connectivity.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
67
2018-03-01T06:56:49.000Z
2022-03-08T18:44:47.000Z
src/tests/mesh/test_connectivity.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
93
2018-12-07T17:38:04.000Z
2022-03-31T10:04:51.000Z
src/tests/mesh/test_connectivity.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
33
2018-02-28T17:06:19.000Z
2022-01-20T12:12:27.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
24.271863
87
0.514921
[ "mesh" ]
49c9898d1de5716bcfdefa68b3c62de8bb801c0b
7,933
cpp
C++
asaenko_task_1/func_sim/func_memory/func_memory.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
1
2018-03-04T21:28:20.000Z
2018-03-04T21:28:20.000Z
asaenko_task_1/func_sim/func_memory/func_memory.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
null
null
null
asaenko_task_1/func_sim/func_memory/func_memory.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
null
null
null
/** * func_memory.cpp - the module implementing the concept of * programer-visible memory space accesing via memory address. * @author Alexander Titov <alexander.igorevich.titov@gmail.com> * Copyright 2012 uArchSim iLab project */ // Generic C #include <string.h> // Generic C++ #include <sstream> // uArchSim mo...
30.988281
112
0.443338
[ "vector" ]
49cfa2a47b0ed9606c74f860ee575994059c9176
22,763
cpp
C++
ClonOr_cpp/param.cpp
fmedina7/ClonOr_cpp
d1c2e0e0f7d2315bad99de80a15458cb4015ae1e
[ "BSD-2-Clause" ]
null
null
null
ClonOr_cpp/param.cpp
fmedina7/ClonOr_cpp
d1c2e0e0f7d2315bad99de80a15458cb4015ae1e
[ "BSD-2-Clause" ]
null
null
null
ClonOr_cpp/param.cpp
fmedina7/ClonOr_cpp
d1c2e0e0f7d2315bad99de80a15458cb4015ae1e
[ "BSD-2-Clause" ]
null
null
null
#include "param.h" #include "move.h" #include "weakarg.h" #include <fstream> #include "movetheta.h" #include "moverho.h" #include "movedelta.h" #include "moveremedge.h" #include "moveremedgeAIS.h" #include "moveremedgeMAIS.h" #include "moveaddedgeAIS.h" #include "moveaddedgeMAIS.h" #include "movesitechange.h" #include ...
34.178679
184
0.591223
[ "vector" ]
49d406661fb52b271666f52139a1da206fc6ada6
3,988
cpp
C++
days/day-06/day_6.cpp
DanielRahme/advent-of-code-2018
9472d533c35852ecdffed07039be3d2542f5b8c0
[ "BSD-3-Clause" ]
null
null
null
days/day-06/day_6.cpp
DanielRahme/advent-of-code-2018
9472d533c35852ecdffed07039be3d2542f5b8c0
[ "BSD-3-Clause" ]
null
null
null
days/day-06/day_6.cpp
DanielRahme/advent-of-code-2018
9472d533c35852ecdffed07039be3d2542f5b8c0
[ "BSD-3-Clause" ]
null
null
null
// day_6.cpp : This file contains the 'main' function. Program execution begins and ends there. // #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <vector> #include <sstream> #include <fstream> #include <string> #include <utility> #include <algorithm> #include <limits> #include <set> #include <numeric> ...
24.024096
100
0.597041
[ "vector" ]
49dee3f45a5e8a12966e4fecf2abbbe8a6791b82
5,723
hpp
C++
src/creature/title.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/creature/title.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/creature/title.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can bu...
39.19863
96
0.63271
[ "vector" ]
49e040cdf2be237521305a5b47c849931e35af74
22,063
cpp
C++
src/CommonProperties.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
1
2019-12-12T08:12:14.000Z
2019-12-12T08:12:14.000Z
src/CommonProperties.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
null
null
null
src/CommonProperties.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
2
2018-05-05T02:30:05.000Z
2021-12-09T18:20:38.000Z
// CommonProperties.cpp: The controls' "Common" property page #include "stdafx.h" #include "CommonProperties.h" CommonProperties::CommonProperties() { m_dwTitleID = IDS_TITLECOMMONPROPERTIES; m_dwDocStringID = IDS_DOCSTRINGCOMMONPROPERTIES; } //////////////////////////////////////////////////////////////////////...
54.208845
236
0.782441
[ "object" ]
49e25b3e7a8b7d7d5b8e6822a4d5157555989872
22,490
cc
C++
ThirdFunc/Google-Breakpad-master/src/processor/stackwalker_x86.cc
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
6
2019-07-15T23:55:15.000Z
2020-09-07T15:07:54.000Z
ThirdFunc/Google-Breakpad-master/src/processor/stackwalker_x86.cc
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
null
null
null
ThirdFunc/Google-Breakpad-master/src/processor/stackwalker_x86.cc
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
7
2019-07-15T23:55:24.000Z
2021-08-10T07:49:05.000Z
// Copyright (c) 2006, 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 conditi...
48.574514
81
0.690084
[ "object", "vector" ]
49e2a9ae59906bd2bed0703f57dd4f2cf1414047
2,068
cpp
C++
core/src/sdl_renderer.cpp
jack-karamanian/gbemu
a34d17dd8b372411955e87018aeecf77eb8fcd89
[ "MIT" ]
null
null
null
core/src/sdl_renderer.cpp
jack-karamanian/gbemu
a34d17dd8b372411955e87018aeecf77eb8fcd89
[ "MIT" ]
null
null
null
core/src/sdl_renderer.cpp
jack-karamanian/gbemu
a34d17dd8b372411955e87018aeecf77eb8fcd89
[ "MIT" ]
null
null
null
#include "sdl_renderer.h" #include <iostream> #include "constants.h" namespace gb { static Uint32 MapRGB(const SDL_PixelFormat& format, Uint8 r, Uint8 g, Uint8 b) { return (r >> format.Rloss) << format.Rshift | (g >> format.Gloss) << format.Gshift | (b >> format.Bloss) << format.Bshift; } SdlRend...
29.126761
80
0.673114
[ "vector" ]
49e633a3aae72480cea5616af36b253bc5c76836
1,714
cpp
C++
problemsets/UVA/335.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/335.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/335.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; #define pb push_back #define mp make_pair #define fi first #define se second #define sz(v) ((int) (v).size()) #define all(v) (v).begin(), (v).end() #define sq...
20.902439
106
0.518086
[ "vector" ]
49f0152d5b8a91e8860b1430c380fdc0fabe7772
1,641
cpp
C++
Shizuku.Flow/Graphics/Obst.cpp
blackoffee/Shizuku
dde4c4f437ca271181d59a78da2815dee01800eb
[ "MIT" ]
15
2018-12-17T14:17:12.000Z
2022-01-21T16:21:44.000Z
Shizuku.Flow/Graphics/Obst.cpp
blackoffee/InteractiveCFD
dde4c4f437ca271181d59a78da2815dee01800eb
[ "MIT" ]
1
2019-03-03T18:01:11.000Z
2019-03-03T18:20:13.000Z
Shizuku.Flow/Graphics/Obst.cpp
blackoffee/InteractiveCFD
dde4c4f437ca271181d59a78da2815dee01800eb
[ "MIT" ]
4
2017-03-14T21:38:46.000Z
2018-09-20T14:45:26.000Z
#include "Obst.h" #include "Shizuku.Core/Types/Box.h" #include "Shizuku.Core/Types/Point.h" using namespace Shizuku::Core; using namespace Shizuku::Flow; namespace { PillarDefinition PillarDefFromObstDef(const ObstDefinition& p_def, const float p_height) { const Types::Point<float> pillarPos(p_def.x, ...
23.782609
104
0.698355
[ "render" ]
49f36c26048dff04914fcb98e457f3dc8e823696
1,322
hpp
C++
mandelbrot.hpp
hckr/tbb_mandelbrot
6f59ee2d7f55caecc866c2069ace3822ad19da8c
[ "MIT" ]
1
2020-01-24T21:35:53.000Z
2020-01-24T21:35:53.000Z
mandelbrot.hpp
hckr/tbb_mandelbrot
6f59ee2d7f55caecc866c2069ace3822ad19da8c
[ "MIT" ]
null
null
null
mandelbrot.hpp
hckr/tbb_mandelbrot
6f59ee2d7f55caecc866c2069ace3822ad19da8c
[ "MIT" ]
null
null
null
#pragma once #include <complex> #include <functional> #include <png++/png.hpp> #include <string> #include <vector> namespace mandelbrot { struct image_args { unsigned width = 512u; unsigned height = 512u; std::complex<double> top_left = {-2.0, -1.25}; std::complex<double> bottom_right = {0.5, 1.25}; ...
37.771429
155
0.655068
[ "vector" ]
49fd2676f3c7c37b7cdcd13d9d53016c1f00f810
2,774
cpp
C++
rpackage/src/model.cpp
gvegayon/world-epi
197d8cc0e8fb86c06ec1ac2df6316e89d4857218
[ "MIT" ]
null
null
null
rpackage/src/model.cpp
gvegayon/world-epi
197d8cc0e8fb86c06ec1ac2df6316e89d4857218
[ "MIT" ]
null
null
null
rpackage/src/model.cpp
gvegayon/world-epi
197d8cc0e8fb86c06ec1ac2df6316e89d4857218
[ "MIT" ]
null
null
null
#include <Rcpp.h> using namespace Rcpp; #include "epiworld-common.hpp" //' Creates a new model //' @export // [[Rcpp::export]] SEXP new_epi_model() { Rcpp::XPtr< epiworld::Model< TSEQ > > model(new epiworld::Model<TSEQ>); model.attr("class") = "epi_model"; return model; } //' @export //' @rdname ne...
22.192
76
0.652487
[ "model" ]
b7026ebc164654aafc8e411b1c14dd343305f550
771
cpp
C++
MyProject/Source/MyProject/QueenActor.cpp
chrisdcao/ChessRepo2
c9fa92726aab652270b497f85db3ff4b7ae712f6
[ "MIT" ]
1
2021-09-08T14:05:58.000Z
2021-09-08T14:05:58.000Z
MyProject/Source/MyProject/QueenActor.cpp
kienpham2412/4P_Network_Chess_Unreal_Engine
f1ef358031a72ba5f48803b0c0d9ec923347221b
[ "MIT" ]
31
2021-08-21T20:03:00.000Z
2021-09-22T04:58:15.000Z
MyProject/Source/MyProject/QueenActor.cpp
kienpham2412/4P_Network_Chess_Unreal_Engine
f1ef358031a72ba5f48803b0c0d9ec923347221b
[ "MIT" ]
1
2021-09-08T14:05:58.000Z
2021-09-08T14:05:58.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "QueenActor.h" // Sets default values AQueenActor::AQueenActor() { // Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it. PrimaryActorTick.bCanEverTick = true; Mesh ...
27.535714
132
0.760052
[ "mesh", "object" ]
8e66f43e03aaffeae51bdcae66722aeb0538e750
613
hpp
C++
OGL - EGE/engine/object/geometry/RectangularPlane.hpp
johnathontheriot/Edge
916db7c49e33569e172917c5aff93414e4d2b174
[ "MIT" ]
1
2018-01-08T14:37:57.000Z
2018-01-08T14:37:57.000Z
OGL - EGE/engine/object/geometry/RectangularPlane.hpp
johnathontheriot/Edge
916db7c49e33569e172917c5aff93414e4d2b174
[ "MIT" ]
18
2018-01-08T14:35:25.000Z
2018-02-14T19:29:27.000Z
OGL - EGE/engine/object/geometry/RectangularPlane.hpp
johnathontheriot/Edge
916db7c49e33569e172917c5aff93414e4d2b174
[ "MIT" ]
null
null
null
// // RectangularPlane.hpp // OGL - EGE // // Created by Johnathon Theriot on 1/10/18. // Copyright © 2018 Johnathon Theriot. All rights reserved. // #ifndef RectangularPlane_hpp #define RectangularPlane_hpp #include <stdio.h> #include "Geometry.hpp" class RectangularPlane : public Geometry { private: int r...
20.433333
60
0.711256
[ "geometry" ]
8e6c61141dffe7e5a8bff40b8d6209d00178486d
1,448
cpp
C++
Educational Codeforces Round 2/E.cpp
atitoa93/codeforces-solutions
29326d92407c2a27317b45a064c41e8d176a21e8
[ "MIT" ]
null
null
null
Educational Codeforces Round 2/E.cpp
atitoa93/codeforces-solutions
29326d92407c2a27317b45a064c41e8d176a21e8
[ "MIT" ]
null
null
null
Educational Codeforces Round 2/E.cpp
atitoa93/codeforces-solutions
29326d92407c2a27317b45a064c41e8d176a21e8
[ "MIT" ]
null
null
null
// Problem: http://codeforces.com/contest/600/problem/E // Submission: http://codeforces.com/contest/600/submission/31265356 #include <bits/stdc++.h> using namespace std; int c[100000]; int mx[100000]; long long ans[100000]; vector <vector <int> > adj; void dfs(int u, int p, map <int, int> &cum) { ans[u] = c[u]; ...
18.1
68
0.501381
[ "vector" ]
8e82440f0daa103559f65b44f0e0d11f10f6e1d2
20,220
cpp
C++
src/mini_batch.cpp
drisso/mbkmeans
4d8307b2ea87798b1e16e8818df674abd791b5bf
[ "MIT" ]
7
2018-11-17T21:15:50.000Z
2021-04-03T22:06:28.000Z
src/mini_batch.cpp
drisso/mbkmeans
4d8307b2ea87798b1e16e8818df674abd791b5bf
[ "MIT" ]
15
2018-12-14T15:37:10.000Z
2022-03-23T08:33:50.000Z
src/mini_batch.cpp
drisso/mbkmeans
4d8307b2ea87798b1e16e8818df674abd791b5bf
[ "MIT" ]
3
2019-07-06T23:14:56.000Z
2021-09-09T20:53:31.000Z
#define ARMA_DONT_PRINT_ERRORS # include <RcppArmadillo.h> # include <ClusterRHeader.h> // [[Rcpp::depends("RcppArmadillo")]] // [[Rcpp::depends(ClusterR)]] // [[Rcpp::plugins(openmp)]] // [[Rcpp::plugins(cpp11)]] #ifdef _OPENMP #include <omp.h> #endif #include "beachmat/numeric_matrix.h" #include "beachmat/integer_m...
29.561404
202
0.633185
[ "object", "vector" ]
8e829769cfea8d8125a0608ac2769ce809a43358
31,184
cpp
C++
src/algorithm.cpp
johnbarton/ACE
803230584a92db7ebcd474e8762ba321bcd19541
[ "MIT" ]
25
2016-10-10T16:30:21.000Z
2022-02-05T05:04:07.000Z
src/algorithm.cpp
johnbarton/ACE
803230584a92db7ebcd474e8762ba321bcd19541
[ "MIT" ]
2
2019-01-21T15:45:09.000Z
2019-06-24T09:43:23.000Z
src/algorithm.cpp
johnbarton/ACE
803230584a92db7ebcd474e8762ba321bcd19541
[ "MIT" ]
10
2016-02-15T20:48:33.000Z
2020-07-21T15:34:25.000Z
#include <stdio.h> #include <stdlib.h> #include <string> #include <math.h> #include <vector> #include <map> #include <set> #include "algorithm.h" // Algorithm declarations #include "io.h" // Data input and output #include "tools.h" // Numerical tools #include "inverse.h" // Computation...
31.340704
167
0.522351
[ "vector", "model" ]
8e8a03cf80d67b8fd0f0f4d0b0bb20b7aa8045a9
13,668
cpp
C++
src/util/wld2html.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
4
2016-06-23T02:37:11.000Z
2018-12-23T10:00:12.000Z
src/util/wld2html.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
null
null
null
src/util/wld2html.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
null
null
null
/* ************************************************************************ * File: wld2html.c * * Usage: Convert a DikuMUD .wld file into a series of .html files * * * * This program ...
26.59144
103
0.536655
[ "object" ]
8e8fe6967d8e2e187e077392650cf8f086378c08
3,489
cpp
C++
tests/unit/Base/TestStrConvUtil.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
tests/unit/Base/TestStrConvUtil.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
tests/unit/Base/TestStrConvUtil.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
// ***************************************************************************** /*! \file tests/unit/Base/TestStrConvUtil.cpp \copyright 2012-2015 J. Bakosi, 2016-2018 Los Alamos National Security, LLC., 2019 Triad National Security, LLC. All rights reserved. See the LIC...
33.873786
80
0.628547
[ "object" ]
8e9733f6cefb30c619719c911b6ea6a329d82bf2
15,834
cpp
C++
src/peer_manager_eth.cpp
tsc19/fring
2418ce1b27892f2f5c256f94ae0c5fc376cfa72c
[ "Apache-2.0" ]
3
2019-11-06T09:05:07.000Z
2021-04-11T08:46:57.000Z
src/peer_manager_eth.cpp
tsc19/fring
2418ce1b27892f2f5c256f94ae0c5fc376cfa72c
[ "Apache-2.0" ]
null
null
null
src/peer_manager_eth.cpp
tsc19/fring
2418ce1b27892f2f5c256f94ae0c5fc376cfa72c
[ "Apache-2.0" ]
null
null
null
#include "peer_manager_eth.h" // constructors PeerManagerETH::PeerManagerETH() { this->mode = PeerManagerETH::PUSH; } PeerManagerETH::PeerManagerETH(unsigned short port) { this->mode = PeerManagerETH::PUSH; } PeerManagerETH::PeerManagerETH(const std::shared_ptr<Node>& node, const std::shared_ptr<NodeTableETH>& nod...
39.684211
211
0.644815
[ "vector" ]
8e9987c8acb8250095130ace3c6ae40f47ee4393
1,437
cpp
C++
drishti/doublespinboxdelegate.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
118
2016-11-01T06:01:44.000Z
2022-03-30T05:20:19.000Z
drishti/doublespinboxdelegate.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
56
2016-09-30T09:29:36.000Z
2022-03-31T17:15:32.000Z
drishti/doublespinboxdelegate.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
28
2016-07-31T23:48:51.000Z
2021-05-25T05:32:47.000Z
#include "doublespinboxdelegate.h" DoubleSpinBoxDelegate::DoubleSpinBoxDelegate(QObject *parent) : QItemDelegate(parent) { } QWidget* DoubleSpinBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const { QDoubleSpinBox *editor = new QDoubleSp...
26.611111
74
0.705637
[ "model" ]
8eb7526bb8577165a0e96db927a67588d87ec53d
3,498
cxx
C++
Points/qSlicerPointsModule.cxx
tierra-colada/ColadaPoints
fd1e089db0fca256848c191387d0261186784afa
[ "MIT" ]
null
null
null
Points/qSlicerPointsModule.cxx
tierra-colada/ColadaPoints
fd1e089db0fca256848c191387d0261186784afa
[ "MIT" ]
null
null
null
Points/qSlicerPointsModule.cxx
tierra-colada/ColadaPoints
fd1e089db0fca256848c191387d0261186784afa
[ "MIT" ]
null
null
null
/*============================================================================== Program: 3D Slicer Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to ...
31.232143
80
0.476558
[ "3d" ]
8eb8f66dc1c2c921c7be3fce8db57e2cc67755aa
3,863
cpp
C++
template.cpp
mograby3500/psolving-paradigms
073aa13bc9ee1eb2bf77dd7054388f93bd98d8da
[ "MIT" ]
22
2021-07-01T00:27:15.000Z
2021-08-10T11:20:22.000Z
template.cpp
AHR9N/Solving-Paradigms
d1baa51df262170c9b7cc802ea2f9f1ccfc6a427
[ "MIT" ]
null
null
null
template.cpp
AHR9N/Solving-Paradigms
d1baa51df262170c9b7cc802ea2f9f1ccfc6a427
[ "MIT" ]
2
2022-01-30T23:25:17.000Z
2022-02-05T14:47:51.000Z
#include <bits/stdc++.h> #include <ext/numeric> #pragma GCC optimize("Ofast") using namespace std; using namespace __gnu_cxx; #define pi acos(-1) #define inc(a) a.begin(), a.end() #define dec(a) a.rbegin(), a.rend() #define Unique(n) (n).erase(unique(inc(n)), (n).e...
22.857988
78
0.441108
[ "vector" ]
8ebcc3a85766f3a0eff379d520a829405c8e66f0
1,034
cpp
C++
LeetCode/Graph/DFS/BinaryTreeTilt_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/Graph/DFS/BinaryTreeTilt_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Graph/DFS/BinaryTreeTilt_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 563 Binary Tree Tilt * Easy * Shuo Feng * 2021.12.8 */ #include<iostream> #include<vector> using namespace std; //Definition for a binary tree node. struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() : val(0), left(nullptr), right(nullptr) {} TreeNode(int x) ...
21.102041
90
0.582205
[ "vector" ]
8ec4f1c1d6292a7247a1e4ca26aade5084724c0d
1,957
cpp
C++
data/transcoder_evaluation_gfg/cpp/PARTITION_INTO_TWO_SUBARRAYS_OF_LENGTHS_K_AND_N_K_SUCH_THAT_THE_DIFFERENCE_OF_SUMS_IS_MAXIMUM.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/PARTITION_INTO_TWO_SUBARRAYS_OF_LENGTHS_K_AND_N_K_SUCH_THAT_THE_DIFFERENCE_OF_SUMS_IS_MAXIMUM.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/PARTITION_INTO_TWO_SUBARRAYS_OF_LENGTHS_K_AND_N_K_SUCH_THAT_THE_DIFFERENCE_OF_SUMS_IS_MAXIMUM.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
41.638298
819
0.556464
[ "vector" ]
8ec662dfbd757d4aa8fccc389bccc1822cb9cb82
1,520
hpp
C++
include/codegen/include/GlobalNamespace/LevelFailedTextEffect.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/LevelFailedTextEffect.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/LevelFailedTextEffect.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
35.348837
93
0.698684
[ "object" ]
8ecdd935cf41003205c40f87236dd8365b41869f
282
cpp
C++
5_string_1_as_01.cpp
kvnptl/Cpp_utils
092cafe87dd97a1871c4c11a7d504fd135e93bd2
[ "MIT" ]
null
null
null
5_string_1_as_01.cpp
kvnptl/Cpp_utils
092cafe87dd97a1871c4c11a7d504fd135e93bd2
[ "MIT" ]
null
null
null
5_string_1_as_01.cpp
kvnptl/Cpp_utils
092cafe87dd97a1871c4c11a7d504fd135e93bd2
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <iomanip> #include <sstream> using std::cout; using std::string; using std::vector; int main() { int a = 2; std::stringstream ss; ss << std::setw(2) << std::setfill('0') << a; cout << "Result: " << ss.str() << "\n"; }
17.625
49
0.578014
[ "vector" ]
8ece4106b778c8ad274a165bfc64d69e87c96133
4,152
cpp
C++
FlyTrackApp/frame_loader.cpp
jmmelis/FlyTrackApp
7c03eb0aeda7b0bd4e0c6181bc776c92e4fbc582
[ "MIT" ]
null
null
null
FlyTrackApp/frame_loader.cpp
jmmelis/FlyTrackApp
7c03eb0aeda7b0bd4e0c6181bc776c92e4fbc582
[ "MIT" ]
null
null
null
FlyTrackApp/frame_loader.cpp
jmmelis/FlyTrackApp
7c03eb0aeda7b0bd4e0c6181bc776c92e4fbc582
[ "MIT" ]
null
null
null
#include "frame_loader.h" #include <string> #include <stdint.h> #include <iostream> #include <vector> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <armadillo> using namespace std; FrameLoader::FrameLoader() { // empty } bool FrameLoader::LoadBackground(session_param &ses_par, frames &frame...
25.95
147
0.717726
[ "shape", "vector" ]
8ed3b0ed37c09b0e465c58f00b3ab084ec8461d4
1,564
cpp
C++
UserModules/FemReactGIAReduct/ReductionGIANodeInfo.cpp
Yonghui56/NCP
29680706b7d8dd9b78d51c10d4a36799eb24c38f
[ "BSD-4-Clause" ]
null
null
null
UserModules/FemReactGIAReduct/ReductionGIANodeInfo.cpp
Yonghui56/NCP
29680706b7d8dd9b78d51c10d4a36799eb24c38f
[ "BSD-4-Clause" ]
1
2016-07-08T03:44:02.000Z
2016-07-08T08:59:45.000Z
UserModules/FemReactGIAReduct/ReductionGIANodeInfo.cpp
Yonghui56/NCP
29680706b7d8dd9b78d51c10d4a36799eb24c38f
[ "BSD-4-Clause" ]
null
null
null
/** * Copyright (c) 2012, OpenGeoSys Community (http://www.opengeosys.com) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.com/LICENSE.txt * * * \file SingleStepKinReduction.h * * Created on 24.05.2013 by Reza Zolfa...
33.276596
133
0.678389
[ "transform" ]
8ed8851522a16870d2218830ddd84e084a5ba51e
9,157
cc
C++
windivert.cc
Zysen/node-divert
36ec93d1e6d1564dd6112a0de953ad7d8207ac81
[ "MIT" ]
5
2016-12-22T21:01:40.000Z
2022-03-20T01:53:38.000Z
windivert.cc
Zysen/node-divert
36ec93d1e6d1564dd6112a0de953ad7d8207ac81
[ "MIT" ]
3
2016-08-26T13:46:29.000Z
2020-06-15T02:11:48.000Z
windivert.cc
Zysen/node-divert
36ec93d1e6d1564dd6112a0de953ad7d8207ac81
[ "MIT" ]
1
2017-03-30T01:44:11.000Z
2017-03-30T01:44:11.000Z
#include "node-windivert.h" class RecvWorker : public Napi::AsyncWorker { public: RecvWorker(Napi::Function& callback, HANDLE handle) : Napi::AsyncWorker(callback), handle(handle) {} ~RecvWorker() {} void Execute() { //cout << "WinDivertRecv" << endl; if(!WinDivertRecv(handle, packet, sizeof(packet), &pac...
42.99061
292
0.654363
[ "object" ]
8ed95171c6879fe91ac5a2f1b7c03f28742f500d
6,928
cpp
C++
tool/tool/export/exporter.cpp
monadgroup/sy17
2901438fcca6be69d30ff9c316097deb37a85613
[ "MIT" ]
18
2021-10-04T14:05:28.000Z
2021-12-26T21:18:06.000Z
tool/tool/export/exporter.cpp
monadgroup/sy17
2901438fcca6be69d30ff9c316097deb37a85613
[ "MIT" ]
null
null
null
tool/tool/export/exporter.cpp
monadgroup/sy17
2901438fcca6be69d30ff9c316097deb37a85613
[ "MIT" ]
null
null
null
#include "exporter.h" #include "dependency/shadermanager.h" #include "dependency/shaderdependency.h" #include "time/timemanager.h" #include <regex> #include <set> #include <iostream> #include "time/sync.h" #include "time/track.h" using namespace std; using namespace exporter; using namespace monad; static regex strip...
32.074074
139
0.60306
[ "vector" ]
8edbd4b7ef373657e2fb8440ebe7e6e89705fb51
11,978
cxx
C++
xp_comm_proj/rd_dxf/src/blockprim.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/rd_dxf/src/blockprim.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/rd_dxf/src/blockprim.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
/***************************************************************************** SM -- test ****************************************************************************** Similar to DXFPrim.cxx, stores a description of a block ****************************************************************************** ****************...
31.192708
82
0.531975
[ "object" ]
8ee1d708878463f8b664e6a6c0f90a746ce250e6
24,877
cc
C++
src/components/transport_manager/test/transport_manager_impl_test.cc
jacobkeeler/sdl_core
ad68c5d08986bb134651d06d22b4860c610b1f0f
[ "BSD-3-Clause" ]
null
null
null
src/components/transport_manager/test/transport_manager_impl_test.cc
jacobkeeler/sdl_core
ad68c5d08986bb134651d06d22b4860c610b1f0f
[ "BSD-3-Clause" ]
null
null
null
src/components/transport_manager/test/transport_manager_impl_test.cc
jacobkeeler/sdl_core
ad68c5d08986bb134651d06d22b4860c610b1f0f
[ "BSD-3-Clause" ]
1
2017-02-15T07:49:12.000Z
2017-02-15T07:49:12.000Z
/* * Copyright (c) 2015, Ford Motor Company * 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 condit...
34.647632
80
0.757929
[ "vector" ]
8eeab45005a4811d734b7fb7125785e70686dd90
2,134
hpp
C++
stapl_release/test/utilities.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/test/utilities.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/test/utilities.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
33.34375
79
0.639175
[ "vector" ]
8ef617b8d59514b4b92144828e99a192aa343c74
42,391
cc
C++
crawl-ref/source/decks.cc
Hellmonk/posthellcrawl
362cdb2e511a451683f4754f147d5e737658cc84
[ "CC0-1.0" ]
null
null
null
crawl-ref/source/decks.cc
Hellmonk/posthellcrawl
362cdb2e511a451683f4754f147d5e737658cc84
[ "CC0-1.0" ]
null
null
null
crawl-ref/source/decks.cc
Hellmonk/posthellcrawl
362cdb2e511a451683f4754f147d5e737658cc84
[ "CC0-1.0" ]
null
null
null
/** * @file * @brief Functions with decks of cards. **/ #include "AppHdr.h" #include "decks.h" #include <algorithm> #include <iostream> #include <iterator> #include <sstream> #include "ability.h" #include "abyss.h" #include "act-iter.h" #include "artefact.h" #include "attitude-change.h" #include "cloud.h" #includ...
27.580351
96
0.565427
[ "vector", "transform" ]
8efa8b2475239434c6b90f95ffd2093dbc79a789
475
cpp
C++
merge-sorted-array/Solution.cpp
marcos-sb/leetcode
35369f5cd9e84d3339343080087e32ec1264f410
[ "Apache-2.0" ]
1
2019-10-07T15:58:39.000Z
2019-10-07T15:58:39.000Z
merge-sorted-array/Solution.cpp
marcos-sb/leetcode
35369f5cd9e84d3339343080087e32ec1264f410
[ "Apache-2.0" ]
null
null
null
merge-sorted-array/Solution.cpp
marcos-sb/leetcode
35369f5cd9e84d3339343080087e32ec1264f410
[ "Apache-2.0" ]
null
null
null
class Solution { public: void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { int k = n+m-1; int i = m-1; int j = n-1; while(k >= 0) { if(i < 0) nums1[k--] = nums2[j--]; else if(j < 0) nums1[k--] = nums1[i--]; ...
26.388889
70
0.362105
[ "vector" ]
f10c7717496cfc0bfe10630ff31b54cf53e39156
854
cpp
C++
LeetCode/447.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
LeetCode/447.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
LeetCode/447.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { public: //保存计算得到的距离的数组 int distval[501][501]; //计算距离 int dist(int i,int j,vector<int> a,vector<int> b) { if(distval[i][j]>=0) return distval[i][j]; distval[i][j] = distval[j][i] = (a[0]-b[0])*(a[0]-b[0]) + (a[1]-b[1])*(a[1]-b[1]); return distval[i][j]; } int numberOfBoomerangs(vector<...
23.081081
84
0.528103
[ "vector" ]
f10d12b887c2e8f8d044ed1dfd611afaad4c46eb
2,248
cpp
C++
Sources/x10/xla_tensor/ops/masked_fill.cpp
vguerra/swift-apis
215c1380874c55d2f12ae81ce78968f9e25ed723
[ "Apache-2.0" ]
null
null
null
Sources/x10/xla_tensor/ops/masked_fill.cpp
vguerra/swift-apis
215c1380874c55d2f12ae81ce78968f9e25ed723
[ "Apache-2.0" ]
null
null
null
Sources/x10/xla_tensor/ops/masked_fill.cpp
vguerra/swift-apis
215c1380874c55d2f12ae81ce78968f9e25ed723
[ "Apache-2.0" ]
1
2020-06-04T23:23:46.000Z
2020-06-04T23:23:46.000Z
// Copyright 2020 TensorFlow Authors // // 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 agree...
38.101695
80
0.706851
[ "shape" ]
f113e9aa82a1e26c2558c003d04435bfec432e47
12,180
cpp
C++
savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/system.cpp
ZephyrXD/Z-Builder-Source-CPP
f48e0f22b5d4d183b841abb8e61e1bdb5c25999d
[ "Apache-2.0" ]
6
2020-11-11T15:49:11.000Z
2021-03-08T10:29:23.000Z
savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/system.cpp
ZeppyXD/Z-Builder-Source-CPP
f48e0f22b5d4d183b841abb8e61e1bdb5c25999d
[ "Apache-2.0" ]
1
2020-11-08T17:28:35.000Z
2020-11-09T01:35:27.000Z
savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/system.cpp
ZeppyXD/Z-Builder-Source-CPP
f48e0f22b5d4d183b841abb8e61e1bdb5c25999d
[ "Apache-2.0" ]
3
2021-06-26T13:00:23.000Z
2022-02-01T02:16:50.000Z
/* ** ClanLib SDK ** Copyright (c) 1997-2010 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
23.423077
146
0.702627
[ "vector" ]
47db28213454196bb6d4505567d338127651ca28
1,272
cpp
C++
cpp/dependencies/despot/src/util/random.cpp
modanesh/magic
2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422
[ "MIT" ]
7
2021-03-13T22:12:41.000Z
2022-03-06T03:29:03.000Z
cpp/dependencies/despot/src/util/random.cpp
modanesh/magic
2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422
[ "MIT" ]
1
2021-07-17T01:34:13.000Z
2021-07-17T04:58:54.000Z
cpp/dependencies/despot/src/util/random.cpp
modanesh/magic
2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422
[ "MIT" ]
4
2021-05-25T07:44:33.000Z
2022-03-30T08:40:29.000Z
#include <despot/util/random.h> #include <stdlib.h> #include <iostream> #include <math.h> using namespace std; namespace despot { Random Random::RANDOM((unsigned) 0); Random::Random(double seed) : seed_((unsigned) (RAND_MAX * seed)) { } Random::Random(unsigned seed) : seed_(seed) { } unsigned Random::seed() { r...
19.875
80
0.672956
[ "vector" ]
47dbaaac3f4cb4e26e76cc2179f5dabc6e65c77d
4,980
cpp
C++
src/make_handler/handler_gen.cpp
didenko/aas
804f496ffaf4bc5ac79ef8e6b88a577d6d99db43
[ "Apache-2.0" ]
4
2018-01-21T17:44:34.000Z
2020-10-16T00:51:12.000Z
src/make_handler/handler_gen.cpp
didenko/aas
804f496ffaf4bc5ac79ef8e6b88a577d6d99db43
[ "Apache-2.0" ]
null
null
null
src/make_handler/handler_gen.cpp
didenko/aas
804f496ffaf4bc5ac79ef8e6b88a577d6d99db43
[ "Apache-2.0" ]
3
2019-10-20T15:45:31.000Z
2021-09-28T07:53:03.000Z
/* Copyright 2016 Vlad Didenko 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 writing, softwar...
27.362637
103
0.639759
[ "render" ]
47dfdc0a49f8e75a3294611bcecb564ecfea2ace
471
hpp
C++
src/common/stringFormatter.hpp
bsurmanski/wlc-ng
7c72a3172e910b2907a73957cc6cbd6477b2ea5e
[ "MIT" ]
null
null
null
src/common/stringFormatter.hpp
bsurmanski/wlc-ng
7c72a3172e910b2907a73957cc6cbd6477b2ea5e
[ "MIT" ]
null
null
null
src/common/stringFormatter.hpp
bsurmanski/wlc-ng
7c72a3172e910b2907a73957cc6cbd6477b2ea5e
[ "MIT" ]
null
null
null
#ifndef _STRINGFORMATTER_HPP #define _STRINGFORMATTER_HPP #include "object.hpp" #include "string.hpp" class StringFormatter : Object { int _indent; bool _newline; String contents; void writeIndent(); public: virtual ~StringFormatter(); StringFormatter(); void reset(); void inden...
16.821429
34
0.660297
[ "object" ]
47e313372f31ebcc3b67afcd36b48c647651bae5
1,870
cpp
C++
oi/Contest/2017-6/2017-6-30/tree.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/Contest/2017-6/2017-6-30/tree.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/Contest/2017-6/2017-6-30/tree.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#pragma GCC optimize(3) #include <cstdio> #include <cctype> #include <cstring> #include <climits> #include <bitset> #include <vector> #include <algorithm> using namespace std; #define BUFFERSIZE 65536 static size_t _pos = BUFFERSIZE; static char _buf[BUFFERSIZE]; inline char _getchar() { if (_pos == BUFFERSIZE...
16.548673
46
0.46631
[ "vector" ]
47efb4854d6a9252e9f70659bab02ca5da1ceef3
916
cpp
C++
solved/c-e/colin-and-ryan/lightoj/ifter.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/c-e/colin-and-ryan/lightoj/ifter.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/c-e/colin-and-ryan/lightoj/ifter.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cmath> #include <cstdio> #include <vector> using namespace std; typedef unsigned int u32; typedef vector<u32> UV; int main() { int T; scanf("%d", &T); int ncase = 1; while (T--) { u32 P, L; scanf("%u%u", &P, &L); printf ("Case %d:", ncase++); u32 N = P - L; ...
21.302326
54
0.372271
[ "vector" ]
47ff1ff3a9cd845e90d941e87da8640aca62b36b
6,550
cpp
C++
external_software/relion/src/apps/mask_create.cpp
leschzinerlab/cryoem-cloud-tools
d2d310423f406535a4b5f5ea78deaf2767e93348
[ "MIT" ]
7
2017-12-04T13:41:32.000Z
2021-07-12T02:33:20.000Z
external_software/relion/src/apps/mask_create.cpp
cianfrocco-lab/cryoem-cloud-tools
d2d310423f406535a4b5f5ea78deaf2767e93348
[ "MIT" ]
61
2017-04-02T05:50:44.000Z
2017-11-22T02:32:43.000Z
external_software/relion/src/apps/mask_create.cpp
leschzinerlab/AWS
d2d310423f406535a4b5f5ea78deaf2767e93348
[ "MIT" ]
9
2017-08-20T00:06:46.000Z
2021-09-23T06:50:15.000Z
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * 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 F...
35.026738
168
0.662901
[ "3d" ]
9a1f22c191f36291a80bf24addbd644295d0f61e
813
hpp
C++
src/library/locate/LocatorFactory.hpp
extremoburo/open-license-manager
555457c5d722885c03e63405dc186ca6ba62a0f1
[ "BSD-3-Clause" ]
316
2015-01-21T22:33:44.000Z
2020-11-20T19:26:22.000Z
src/library/locate/LocatorFactory.hpp
extremoburo/open-license-manager
555457c5d722885c03e63405dc186ca6ba62a0f1
[ "BSD-3-Clause" ]
84
2015-06-09T21:17:09.000Z
2020-11-19T08:45:33.000Z
src/library/locate/LocatorFactory.hpp
ChrigiGee/open-license-manager
555457c5d722885c03e63405dc186ca6ba62a0f1
[ "BSD-3-Clause" ]
141
2015-07-25T13:14:20.000Z
2020-11-08T06:43:40.000Z
#ifndef RETRIEVE_FACTORY_H_ #define RETRIEVE_FACTORY_H_ #include <cstddef> #include <string> #include <vector> #include <licensecc/datatypes.h> #include <licensecc_properties.h> #include "../base/base.h" #include "LocatorStrategy.hpp" namespace license { namespace locate { class LocatorFactory { private: static bo...
22.583333
92
0.787208
[ "vector" ]
9a29f33ac05b68e349ce4c4075b0a1e9cf662ef1
60,902
cpp
C++
src/init.cpp
MONKEY-PROJECT/Monkey
ab6e6c056943836c5d9ad3bc981e9d711074cf35
[ "MIT" ]
null
null
null
src/init.cpp
MONKEY-PROJECT/Monkey
ab6e6c056943836c5d9ad3bc981e9d711074cf35
[ "MIT" ]
null
null
null
src/init.cpp
MONKEY-PROJECT/Monkey
ab6e6c056943836c5d9ad3bc981e9d711074cf35
[ "MIT" ]
null
null
null
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" #include "addrman.h" #include "main.h" #include "chainparams.h"...
43.594846
282
0.618912
[ "vector" ]
9a2abf79631a89c3d1f7816d4c03f14750a4c8ea
867
cpp
C++
vsl-extension/cuda/vsl_cuda.cpp
georgezzzh/bpr
dd2f39d99f7f06ebb305b66363c89c3606a811a1
[ "MIT" ]
null
null
null
vsl-extension/cuda/vsl_cuda.cpp
georgezzzh/bpr
dd2f39d99f7f06ebb305b66363c89c3606a811a1
[ "MIT" ]
null
null
null
vsl-extension/cuda/vsl_cuda.cpp
georgezzzh/bpr
dd2f39d99f7f06ebb305b66363c89c3606a811a1
[ "MIT" ]
null
null
null
#include <torch/extension.h> #include <vector> #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor") #define CHECK_CONTIGUOUS(x) AT_ASSERTM(x.is_contiguous(), #x " must be contiguous") #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x) std::vector<torch::Tensor> vsl_intersection_cu...
29.896552
83
0.730104
[ "vector" ]
9a3a26bac03f3b73d494e797bb00fcb55b70c4df
995
cpp
C++
graphic/widgets/checkbox.cpp
MihailJP/MiHaJong
b81168ab2696dd29af5c400b84c870a9b8a2f01e
[ "MIT" ]
13
2016-01-20T02:10:52.000Z
2022-03-08T15:51:36.000Z
graphic/widgets/checkbox.cpp
MihailJP/MiHaJong
b81168ab2696dd29af5c400b84c870a9b8a2f01e
[ "MIT" ]
13
2020-09-28T12:57:52.000Z
2022-02-20T19:20:57.000Z
graphic/widgets/checkbox.cpp
MihailJP/MiHaJong
b81168ab2696dd29af5c400b84c870a9b8a2f01e
[ "MIT" ]
4
2016-09-19T13:44:10.000Z
2022-02-18T08:13:37.000Z
#include "checkbox.h" #include "../loadtex.h" #include "../resource.h" #include "../sprite.h" namespace mihajong_graphic { CheckBox::CheckBox(DevicePtr device, const CodeConv::tstring& caption, int x, int y, bool checked) { myDevice = device; LoadTexture(device, &myTexture, MAKEINTRESOURCE(IDB_PNG_CHECKBOX)); myTe...
26.891892
100
0.679397
[ "render" ]
9a4a3d59da73d96e85859c865aee4f1925c4b6c5
10,839
cpp
C++
ios/ViroKit/VROAVCaptureController.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
2
2019-10-16T14:30:06.000Z
2019-10-30T23:14:30.000Z
ios/ViroKit/VROAVCaptureController.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
47
2021-09-08T13:03:44.000Z
2022-03-10T23:21:05.000Z
ios/ViroKit/VROAVCaptureController.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
2
2020-08-26T14:50:23.000Z
2021-01-04T02:21:02.000Z
// // VROAVCaptureController.cpp // ViroRenderer // // Created by Raj Advani on 3/12/19. // Copyright © 2019 Viro Media. All rights reserved. // // 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 t...
38.43617
146
0.715472
[ "render", "object", "vector" ]
9a4bbcac8302c5d112f99ad90c8af25d4bdfefef
10,626
cpp
C++
Code/Chapter-10/csg.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
16
2019-07-09T11:49:13.000Z
2022-02-22T03:01:30.000Z
Code/Chapter-10/csg.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
null
null
null
Code/Chapter-10/csg.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
5
2019-09-09T17:44:50.000Z
2021-04-29T20:16:51.000Z
// // Basic classes to support Constructive Solid geometry (CSG) // #include "csg.h" void csgAnd ( const std::vector<RaySegment>& a, const std::vector<RaySegment>& b, std::vector<RaySegment>& c ); void csgOr ( const std::vector<RaySegment>& a, const std::vector<RaySegment>& b, std::vect...
21.685714
110
0.506211
[ "geometry", "object", "vector", "solid" ]
9a52e166f23333869f9db7907c0da5ebf29aa8e4
2,602
cpp
C++
test/simpleoct/simpleoct_bipartite_huge.cpp
TheoryInPractice/MI-bicliques
ce5ca2cef979ef234dcc96bf089dca90d0268cad
[ "BSD-3-Clause" ]
null
null
null
test/simpleoct/simpleoct_bipartite_huge.cpp
TheoryInPractice/MI-bicliques
ce5ca2cef979ef234dcc96bf089dca90d0268cad
[ "BSD-3-Clause" ]
null
null
null
test/simpleoct/simpleoct_bipartite_huge.cpp
TheoryInPractice/MI-bicliques
ce5ca2cef979ef234dcc96bf089dca90d0268cad
[ "BSD-3-Clause" ]
1
2019-07-14T08:49:52.000Z
2019-07-14T08:49:52.000Z
/** * @authors Eric Horton, Kyle Kloster, Drew van der Poel * * This file is part of MI-bicliques, https://github.com/TheoryInPractice/MI-bicliques, * and is Copyright (C) North Carolina State University, 2018. * It is licensed under the three-clause BSD license; see LICENSE. */ #include<iostream> #include<vector> #in...
37.710145
107
0.651422
[ "vector" ]
9a54b245d165f44d2e8ba598b05f1013adf7d11d
2,679
cpp
C++
BlackVision/LibBlackVision/Source/Engine/Models/Plugins/Channels/ShaderChannel.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/LibBlackVision/Source/Engine/Models/Plugins/Channels/ShaderChannel.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/LibBlackVision/Source/Engine/Models/Plugins/Channels/ShaderChannel.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ShaderChannel.h" #include "Engine/Models/Plugins/Interfaces/IPixelShaderChannel.h" #include "Engine/Models/Plugins/Interfaces/IVertexShaderChannel.h" #include "Memory/MemoryLeaks.h" namespace bv { namespace model { // ********************************* // templat...
27.060606
135
0.562897
[ "vector", "model" ]
9a563e3c3dee3a079e1c3bfc9c989c8dd00d30a7
23,796
cpp
C++
packages/zoltan/src/driver/dr_mapsCPP.cpp
jschueller/seacas
14c34ae08b757cba43a3a03ec0f129c8a168a9d3
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "NetCDF", "BSL-1.0", "X11", "BSD-3-Clause" ]
82
2016-02-04T18:38:25.000Z
2022-03-29T03:01:49.000Z
packages/zoltan/src/driver/dr_mapsCPP.cpp
jschueller/seacas
14c34ae08b757cba43a3a03ec0f129c8a168a9d3
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "NetCDF", "BSL-1.0", "X11", "BSD-3-Clause" ]
206
2015-11-20T01:57:47.000Z
2022-03-31T21:12:04.000Z
packages/zoltan/src/driver/dr_mapsCPP.cpp
jschueller/seacas
14c34ae08b757cba43a3a03ec0f129c8a168a9d3
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "NetCDF", "BSL-1.0", "X11", "BSD-3-Clause" ]
68
2016-01-13T22:46:51.000Z
2022-03-31T06:25:05.000Z
/* * @HEADER * * *********************************************************************** * * Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring * Copyright 2012 Sandia Corporation * * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, * the U.S. Govern...
32.11336
114
0.597916
[ "mesh" ]
9a6aadcf3b06ec8668e1c9d6118ab06be676fb0e
28,321
cpp
C++
src/thirdparty/sentry-native/external/libunwindstack-ndk/DwarfSection.cpp
MichaelHazani/aardvark
9d21f8da7fdeba356b134c6acb4e131e4926e68e
[ "BSD-3-Clause" ]
170
2019-12-11T18:22:27.000Z
2022-02-09T08:32:35.000Z
src/thirdparty/sentry-native/external/libunwindstack-ndk/DwarfSection.cpp
MichaelHazani/aardvark
9d21f8da7fdeba356b134c6acb4e131e4926e68e
[ "BSD-3-Clause" ]
113
2019-12-14T04:28:04.000Z
2021-09-26T18:40:27.000Z
src/thirdparty/sentry-native/external/libunwindstack-ndk/DwarfSection.cpp
MichaelHazani/aardvark
9d21f8da7fdeba356b134c6acb4e131e4926e68e
[ "BSD-3-Clause" ]
24
2020-01-03T07:49:21.000Z
2021-10-31T14:43:13.000Z
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
30.71692
102
0.662936
[ "vector" ]
9a71a023f5289aeff4d6e1edf259e39b91b2f4e9
668
cpp
C++
Div_2A/Expression.cpp
anuanu0-0/a2oj_ladders
edc398387c379f9df3cbd0af52443e187580041a
[ "MIT" ]
null
null
null
Div_2A/Expression.cpp
anuanu0-0/a2oj_ladders
edc398387c379f9df3cbd0af52443e187580041a
[ "MIT" ]
null
null
null
Div_2A/Expression.cpp
anuanu0-0/a2oj_ladders
edc398387c379f9df3cbd0af52443e187580041a
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <map> using namespace std; #define test \ int t; \ cin >> t; \ while (t--) #define endl '\n' #define vi vector<int> #define pb push_back #define mii map<int, int> int main() { int ans = 0; int a, b, c; cin >> a >> b >> c...
16.7
42
0.434132
[ "vector" ]
9a79f31312010206ae2dd624ddeb34164c5795cf
5,546
hpp
C++
src/nudb/extras/beast/include/beast/http/write.hpp
gyas-kk/JBcoin
b2cdc126d4db4f2913dac34ad3ba83c4e1543ce6
[ "BSL-1.0" ]
2
2020-03-03T12:46:29.000Z
2020-11-14T09:52:14.000Z
include/beast/http/write.hpp
somayeghahari/beast
999e2fa0318b5982736d3ea01a418770ea802671
[ "BSL-1.0" ]
1
2016-06-22T17:13:44.000Z
2016-06-22T17:13:44.000Z
include/beast/http/write.hpp
somayeghahari/beast
999e2fa0318b5982736d3ea01a418770ea802671
[ "BSL-1.0" ]
1
2019-03-25T01:54:42.000Z
2019-03-25T01:54:42.000Z
// // Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot com) // // 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) // #ifndef BEAST_HTTP_WRITE_HPP #define BEAST_HTTP_WRITE_HPP #include <beast/http/m...
34.447205
79
0.738731
[ "object" ]
9a7a6b7446c030b0c8c19c755f2dd03c1433fb21
16,548
hpp
C++
ExternalLibraries/NvGameworksFramework/externals/include/Cg/inout.hpp
centauroWaRRIor/VulkanSamples
5a7c58de820207cc0931a9db8c90f00453e31631
[ "MIT" ]
32
2016-12-13T05:49:12.000Z
2022-02-04T06:15:47.000Z
ExternalLibraries/NvGameworksFramework/externals/include/Cg/inout.hpp
centauroWaRRIor/VulkanSamples
5a7c58de820207cc0931a9db8c90f00453e31631
[ "MIT" ]
2
2019-07-30T02:01:16.000Z
2020-03-12T15:06:51.000Z
ExternalLibraries/NvGameworksFramework/externals/include/Cg/inout.hpp
centauroWaRRIor/VulkanSamples
5a7c58de820207cc0931a9db8c90f00453e31631
[ "MIT" ]
18
2017-11-16T13:37:06.000Z
2022-03-11T08:13:46.000Z
/* * Copyright 2005 by NVIDIA Corporation. All rights reserved. All * information contained herein is proprietary and confidential to NVIDIA * Corporation. Any use, reproduction, or disclosure without the written * permission of NVIDIA Corporation is prohibited. */ #ifndef __Cg_inout_hpp__ #define __Cg_inout_...
25.896714
107
0.572577
[ "vector" ]
9a7ebb1febeb711e226da1a1a8e81c19fcbeecf0
10,024
cc
C++
dev/g++/projects/embedded/comm/src/channel_manager.cc
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/comm/src/channel_manager.cc
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/comm/src/channel_manager.cc
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
1
2017-01-27T12:53:50.000Z
2017-01-27T12:53:50.000Z
/** * @File channel_manager.cpp * @brief Implementation file for communication channel factory. * @author garciay.yann@gmail.com * @copyright Copyright (c) 2015 ygarcia. All rights reserved * @license This project is released under the MIT License * @version 0.1 */ #include <cstring> // Used for ...
37.969697
187
0.622207
[ "vector", "transform" ]
9a84f5dc1a1126b4f8ccaee1544c03317e5aede0
3,520
cpp
C++
src/Main.cpp
prozum/SPPL
77de5db600a89b84bc8e6e851c9a766cd5203ce2
[ "MIT" ]
4
2016-03-17T19:38:51.000Z
2016-10-30T18:54:17.000Z
src/Main.cpp
prozum/sppl
77de5db600a89b84bc8e6e851c9a766cd5203ce2
[ "MIT" ]
null
null
null
src/Main.cpp
prozum/sppl
77de5db600a89b84bc8e6e851c9a766cd5203ce2
[ "MIT" ]
null
null
null
#include "Compiler.h" #include <fstream> #include <cstring> using namespace std; using namespace compiler; void print_help(char *program_name) { cout << "Usage: " << program_name << " [options] <inputs>" << endl; cout << "Options:" << endl; cout << " --help -h Show available options" <...
30.608696
89
0.484659
[ "vector" ]
893e4673422e528d0f1ca7292df3b58b594090ea
4,169
cc
C++
src/pks/navier_stokes/test/navier_stokes_2D.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/navier_stokes/test/navier_stokes_2D.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/navier_stokes/test/navier_stokes_2D.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Navier Stokes PK Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (lipnikov@lanl.gov) */ // TPLs #i...
33.620968
106
0.679539
[ "mesh" ]
89414c94323d549b0cc2073b2c3795dea6778ac1
14,357
cpp
C++
Project/Source/Components/UI/ComponentTransform2D.cpp
TBD-org/TBD-Engine
8b45d5a2a92e26bd0ec034047b8188e871fab0f9
[ "MIT" ]
7
2021-04-26T21:32:12.000Z
2022-02-14T13:48:53.000Z
Project/Source/Components/UI/ComponentTransform2D.cpp
TBD-org/RealBugEngine
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
66
2021-04-24T10:08:07.000Z
2021-10-05T16:52:56.000Z
Project/Source/Components/UI/ComponentTransform2D.cpp
TBD-org/TBD-Engine
8b45d5a2a92e26bd0ec034047b8188e871fab0f9
[ "MIT" ]
1
2021-07-13T21:26:13.000Z
2021-07-13T21:26:13.000Z
#include "ComponentTransform2D.h" #include "Globals.h" #include "Application.h" #include "GameObject.h" #include "Modules/ModuleEditor.h" #include "Modules/ModuleTime.h" #include "Modules/ModuleUserInterface.h" #include "Components/UI/ComponentCanvasRenderer.h" #include "Components/UI/ComponentBoundingBox2D.h" #inclu...
34.429257
159
0.746744
[ "vector", "transform" ]
894b36ba8f718b25772fb6d8e8de3c5b0f09b1b6
4,758
hpp
C++
include/cadence/async/acceptor.hpp
abbyssoul/libcadence
c9a49d95df608497e9551f7d62169d0c78a48737
[ "Apache-2.0" ]
2
2020-04-24T15:07:33.000Z
2020-06-12T07:01:53.000Z
include/cadence/async/acceptor.hpp
abbyssoul/libcadence
c9a49d95df608497e9551f7d62169d0c78a48737
[ "Apache-2.0" ]
null
null
null
include/cadence/async/acceptor.hpp
abbyssoul/libcadence
c9a49d95df608497e9551f7d62169d0c78a48737
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) Ivan Ryabov - All Rights Reserved * * Unauthorized copying of this file, via any medium is strictly prohibited. * Proprietary and confidential. * * Written by Ivan Ryabov <abbyssoul@gmail.com> */ /******************************************************************************* * libcadence: Async...
27.034091
109
0.62211
[ "object" ]
894d299ffe442fc53644b6752e1c0bf7d8077432
4,389
cpp
C++
CG/TP02/src/main.cpp
JoseFilipeFerreira/notes
5c74fedf3d4770ed374230f601b5505a67c3d3e8
[ "MIT" ]
6
2021-10-06T19:11:41.000Z
2022-03-11T16:01:08.000Z
CG/TP02/src/main.cpp
JoseFilipeFerreira/notes
5c74fedf3d4770ed374230f601b5505a67c3d3e8
[ "MIT" ]
null
null
null
CG/TP02/src/main.cpp
JoseFilipeFerreira/notes
5c74fedf3d4770ed374230f601b5505a67c3d3e8
[ "MIT" ]
1
2022-01-10T15:43:32.000Z
2022-01-10T15:43:32.000Z
#include <GL/gl.h> #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h> #endif #include <math.h> float size = 1.0f; float angle = 0; float tx = 0; float ty = 0; float tz = 0; GLenum drawType = GL_FILL; void changeSize(int w, int h) { // Prevent a divide by zero, when window is too...
23.853261
56
0.490089
[ "model" ]
8969b719367d606c838e5936eaa1335ed18af1e0
4,245
hxx
C++
opencascade/BRepFill_MultiLine.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/BRepFill_MultiLine.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/BRepFill_MultiLine.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1994-11-14 // Created by: Bruno DUMORTIER // Copyright (c) 1994-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GN...
36.594828
235
0.737809
[ "3d" ]
896b18bee04e0441566dbf8467332d4d65b03449
1,617
hpp
C++
image_processing/include/pipeline.hpp
gigel773/fdp-service
4604820ce61d79affbdeb865b8239c02db38f90e
[ "Apache-2.0" ]
null
null
null
image_processing/include/pipeline.hpp
gigel773/fdp-service
4604820ce61d79affbdeb865b8239c02db38f90e
[ "Apache-2.0" ]
null
null
null
image_processing/include/pipeline.hpp
gigel773/fdp-service
4604820ce61d79affbdeb865b8239c02db38f90e
[ "Apache-2.0" ]
null
null
null
#ifndef FDP_PIPELINE_HPP #define FDP_PIPELINE_HPP #include <opencv2/opencv.hpp> #include <vector> #include "stage.hpp" namespace nntu::img { template<size_t batch_size> class pipeline { public: pipeline(std::initializer_list<stage*> stages) { for (auto& ptr : stages) { stages_.emplace_back(ptr); } ...
24.134328
101
0.709957
[ "vector" ]
896f7b65446625935d981c7c668b3dec67c3d955
3,056
cpp
C++
tc bef160/BinaryCode.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc bef160/BinaryCode.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc bef160/BinaryCode.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; int n; class BinaryCode { public: inline int get(string &s, int i) { return (i>=n || i<0) ? 0:s[i]-'0'; } vector <string> decode(string message) { n = (int)message.size(); v...
44.941176
339
0.577225
[ "vector" ]
8974135bb72e95434b255301f870e5dbbdbc89c0
3,110
cpp
C++
vod/src/v1/model/AudioTemplateInfo.cpp
huaweicloud/huaweicloud-sdk-cpp-v3
d3b5e07b0ee8367d1c7f6dad17be0212166d959c
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
vod/src/v1/model/AudioTemplateInfo.cpp
ChenwxJay/huaweicloud-sdk-cpp-v3
f821ec6d269b50203e0c1638571ee1349c503c41
[ "Apache-2.0" ]
null
null
null
vod/src/v1/model/AudioTemplateInfo.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/vod/v1/model/AudioTemplateInfo.h" namespace HuaweiCloud { namespace Sdk { namespace Vod { namespace V1 { namespace Model { AudioTemplateInfo::AudioTemplateInfo() { sampleRate_ = 0; sampleRateIsSet_ = false; bitrate_ = 0; bitrateIsSet_ = false; channels_ = 0; channels...
20.460526
102
0.661093
[ "object", "model" ]
89967ab067b152a4e31bf74c15c4d4000dd5bd1c
1,476
cpp
C++
modules/cpp-alignlib-wrapper/src/wrapPseudoMultiAlign.cpp
wwPDB/py-wwpdb_utils_align
424a285b455ee894b728526166ac244aaef6bd5c
[ "Apache-2.0" ]
null
null
null
modules/cpp-alignlib-wrapper/src/wrapPseudoMultiAlign.cpp
wwPDB/py-wwpdb_utils_align
424a285b455ee894b728526166ac244aaef6bd5c
[ "Apache-2.0" ]
null
null
null
modules/cpp-alignlib-wrapper/src/wrapPseudoMultiAlign.cpp
wwPDB/py-wwpdb_utils_align
424a285b455ee894b728526166ac244aaef6bd5c
[ "Apache-2.0" ]
1
2020-09-12T17:12:32.000Z
2020-09-12T17:12:32.000Z
// File: ./src/wrapPseudoMultiAlign.cpp // Date: 2018-10-15 // #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <string> #include <vector> #include "PseudoMultiAlign.h" namespace py = pybind11; using namespace pybind11::literals; using namespace RCSB; void wrapPseudoMultiAlign(py::module &m) { m....
43.411765
181
0.704607
[ "vector" ]
899ae08366eb62815118f178cf5a0e584dbaefae
617
cc
C++
2203/lab2/test.cc
rmwhitaker23/schoolwork
e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12
[ "MIT" ]
null
null
null
2203/lab2/test.cc
rmwhitaker23/schoolwork
e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12
[ "MIT" ]
null
null
null
2203/lab2/test.cc
rmwhitaker23/schoolwork
e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12
[ "MIT" ]
null
null
null
/* test.cc -- Program to ... (Fill this in) ... Author: Ryne Whitaker Modification History Date Action 09/30/18 -- Original version ID code: 5Ajt7FvyGJVdw */ using namespace std; #include <iostream> #include <iomanip> #include <string> #include <ncurses.h> #include <vector> vector <int>...
16.236842
49
0.572123
[ "vector" ]
89a686e3f4f5d06eeb2cb64484e533a89244b18d
18,883
cpp
C++
dilithium_utils.cpp
juliushekkala/cryptopp-pqc
ef5f742a544fca43110d6ea0150c49526ff10a8e
[ "BSL-1.0" ]
null
null
null
dilithium_utils.cpp
juliushekkala/cryptopp-pqc
ef5f742a544fca43110d6ea0150c49526ff10a8e
[ "BSL-1.0" ]
null
null
null
dilithium_utils.cpp
juliushekkala/cryptopp-pqc
ef5f742a544fca43110d6ea0150c49526ff10a8e
[ "BSL-1.0" ]
null
null
null
/* * Miscellaneous utility functions for Dilithium. Adapted by Julius Hekkala * from the public-domain reference * implementation of Dilithium by the CRYSTALS team * (https://github.com/pq-crystals/dilithium) */ #include "pch.h" #include "dilithium.h" #include "osrng.h" NAMESPACE_BEGIN(CryptoPP) // The Keccak ...
25.414536
101
0.589578
[ "vector" ]
89b166afe85e974435c18ca4a5783d5a052c7db2
1,931
hpp
C++
include/Customs/PlayerAttackScript.hpp
fgagamedev/voID
37cd56fe2878d036c36dafcf595e48ed85408d02
[ "MIT" ]
null
null
null
include/Customs/PlayerAttackScript.hpp
fgagamedev/voID
37cd56fe2878d036c36dafcf595e48ed85408d02
[ "MIT" ]
null
null
null
include/Customs/PlayerAttackScript.hpp
fgagamedev/voID
37cd56fe2878d036c36dafcf595e48ed85408d02
[ "MIT" ]
null
null
null
/** @file PlayerAttackScript.hpp @brief Class that represents the Script of the player attack @copyright LGPL. MIT License. */ #ifndef __PLAYER_ATTACK_SCRIPT__ #define __PLAYER_ATTACK_SCRIPT__ #include "Engine/GraphicsSystem.hpp" #include "Engine/InputSystem.hpp" #include "Engine/GameObject.hpp" #include...
24.75641
96
0.720352
[ "vector" ]
89b973e787c0fa743632bf1ac92f034458b6827c
14,124
cc
C++
bcrdist/cmodule/bcrdistmodule.cc
wyattmcdonnell/bcr-dist
a6239ed844701343eeebbe4e74776cdcf22b539c
[ "MIT" ]
null
null
null
bcrdist/cmodule/bcrdistmodule.cc
wyattmcdonnell/bcr-dist
a6239ed844701343eeebbe4e74776cdcf22b539c
[ "MIT" ]
null
null
null
bcrdist/cmodule/bcrdistmodule.cc
wyattmcdonnell/bcr-dist
a6239ed844701343eeebbe4e74776cdcf22b539c
[ "MIT" ]
null
null
null
#define PY_SSIZE_T_CLEAN #include "Python.h" #include <numpy/arrayobject.h> #include <structmember.h> #include "scripts/cell.h" #include "scripts/table.h" #include "scripts/data.h" #include "scripts/fileio.h" vector<dsbcell> cells; typedef struct { PyObject_HEAD int num_strands; vector<dsbcell...
29.797468
114
0.61392
[ "object", "vector" ]
89c286ddf40a6ca6e8f39aadb113b62c4d23b918
929
hpp
C++
Axis.CommonLibrary/domain/analyses/AnalysisInfo.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.CommonLibrary/domain/analyses/AnalysisInfo.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.CommonLibrary/domain/analyses/AnalysisInfo.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "foundation/Axis.CommonLibrary.hpp" namespace axis { namespace domain { namespace analyses { /** * @brief Carries information and state of the current * numerical analysis. **/ class AXISCOMMONLIBRARY_API AnalysisInfo { public: /** * @brief Values that represent each possible ana...
18.58
62
0.654467
[ "object" ]
89cc873cb3165dbfb5a618fe6b1d8a37b64e1cdd
2,232
hpp
C++
include/cardsflow_gazebo/muscle/IViaPoints.hpp
CARDSflow/cardsflow_gazebo
a83fc2f346291c172548ad8ea5ce7d6d8aacb3f2
[ "BSD-3-Clause" ]
null
null
null
include/cardsflow_gazebo/muscle/IViaPoints.hpp
CARDSflow/cardsflow_gazebo
a83fc2f346291c172548ad8ea5ce7d6d8aacb3f2
[ "BSD-3-Clause" ]
null
null
null
include/cardsflow_gazebo/muscle/IViaPoints.hpp
CARDSflow/cardsflow_gazebo
a83fc2f346291c172548ad8ea5ce7d6d8aacb3f2
[ "BSD-3-Clause" ]
1
2019-12-05T13:52:59.000Z
2019-12-05T13:52:59.000Z
#pragma once #include "StateMachine.hpp" #include <ros/ros.h> namespace cardsflow_gazebo { using namespace gazebo; class IViaPoints; typedef boost::shared_ptr<IViaPoints> IViaPointsPtr; class IViaPoints { public: //////////////////// /// \brief The type enum for different attachment ...
27.9
85
0.615143
[ "mesh" ]
89ce4ce316329daeb28637e97727c75acbdb17bc
11,360
hpp
C++
parsers/many.hpp
Epsylon42/apc
338a95a25dc6358881df5584a4d057108ccf3dd4
[ "MIT" ]
1
2018-07-22T05:58:15.000Z
2018-07-22T05:58:15.000Z
parsers/many.hpp
Epsylon42/apc
338a95a25dc6358881df5584a4d057108ccf3dd4
[ "MIT" ]
null
null
null
parsers/many.hpp
Epsylon42/apc
338a95a25dc6358881df5584a4d057108ccf3dd4
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <functional> #include <optional> #include <sstream> #include <string> #include <vector> #include "any.hpp" #include "nop.hpp" namespace apc::parsers { namespace many_ns { using namespace res; using namespace std; enum class ManyErrCause ...
34.011976
130
0.354489
[ "vector" ]
89d90b3314695704d24c6415506aacaf5ec76def
1,136
cpp
C++
c++/leetcode/0957-Prison_Cells_After_N_Days-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0957-Prison_Cells_After_N_Days-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0957-Prison_Cells_After_N_Days-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 957 Prison Cells After N Days // https://leetcode.com/problems/prison-cells-after-n-days // version: 1; create time: 2019-12-30 11:34:15; class Solution { public: vector<int> prisonAfterNDays(vector<int>& cells, int N) { constexpr int size = 8; bitset<size> data; for (int i = 0; i < siz...
28.4
79
0.411092
[ "vector" ]
89e2276dcf47aa44615aa52d74a671184bc3b688
6,118
cpp
C++
3rdparty/Xli/src/XliJson/Value.cpp
fuse-open/Uno.Native
541e40e78a70e30934563d9a99961ac37124ef0e
[ "MIT" ]
2
2018-05-15T18:05:24.000Z
2018-07-23T01:49:51.000Z
3rdparty/Xli/src/XliJson/Value.cpp
fuse-open/Uno.Native
541e40e78a70e30934563d9a99961ac37124ef0e
[ "MIT" ]
null
null
null
3rdparty/Xli/src/XliJson/Value.cpp
fuse-open/Uno.Native
541e40e78a70e30934563d9a99961ac37124ef0e
[ "MIT" ]
4
2018-05-14T17:03:52.000Z
2018-12-01T08:05:58.000Z
// // Copyright (C) 2010-2014 Outracks Technologies // // 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, me...
29.413462
129
0.619647
[ "object" ]
89e4fa049c015376cfcfc599e65f7b7970c8b200
1,578
cpp
C++
aws-cpp-sdk-rekognition/source/model/BlackFrame.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-rekognition/source/model/BlackFrame.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-rekognition/source/model/BlackFrame.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/rekognition/model/BlackFrame.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namesp...
19.974684
75
0.747782
[ "model" ]
885eede94c654de70ce3c965c0e248262f429f84
4,652
cpp
C++
source/asio_composed_one_flow.cpp
sorf/cpp-playground
a389726b9144a2a0d1975752b741359c7a26c164
[ "Unlicense" ]
null
null
null
source/asio_composed_one_flow.cpp
sorf/cpp-playground
a389726b9144a2a0d1975752b741359c7a26c164
[ "Unlicense" ]
null
null
null
source/asio_composed_one_flow.cpp
sorf/cpp-playground
a389726b9144a2a0d1975752b741359c7a26c164
[ "Unlicense" ]
null
null
null
#define ASYNC_UTILS_STACK_HANDLER_ALLOCATOR_DEBUG #include "bind_allocator.hpp" #include "shared_async_state.hpp" #include "stack_handler_allocator.hpp" #include <boost/asio/async_result.hpp> #include <boost/asio/io_context.hpp> #include <boost/asio/steady_timer.hpp> #include <boost/asio/use_future.hpp> #include <boos...
39.092437
120
0.603826
[ "vector" ]
88610396ed52e5209d4af3b741580be6239d1e5c
1,685
cpp
C++
src/extensions/CCBReader/CCMenuItemLoader.cpp
nguyenduong/jacos2d-x
70acad79558e8e96df34c4a1db41a81c67ca23c9
[ "MIT" ]
5
2015-01-13T19:27:19.000Z
2016-06-17T09:53:29.000Z
src/extensions/CCBReader/CCMenuItemLoader.cpp
nguyenduong/jacos2d-x
70acad79558e8e96df34c4a1db41a81c67ca23c9
[ "MIT" ]
null
null
null
src/extensions/CCBReader/CCMenuItemLoader.cpp
nguyenduong/jacos2d-x
70acad79558e8e96df34c4a1db41a81c67ca23c9
[ "MIT" ]
4
2015-01-27T03:23:01.000Z
2021-02-22T15:24:18.000Z
#include "CCMenuItemLoader.h" #include "CCBAnimationManager.h" #define PROPERTY_BLOCK "block" #define PROPERTY_ISENABLED "isEnabled" NS_CC_EXT_BEGIN void CCMenuItemLoader::onHandlePropTypeBlock(CCNode * pNode, CCNode * pParent, const char * pPropertyName, BlockData * pBlockData, CCBReader * pCCBReader) { if(str...
46.805556
172
0.712166
[ "object" ]
8867da72e0613528b13335963f9a2d62472009e1
1,595
cpp
C++
sail/csrc/core/ops/LossOps.cpp
sail-ml/sail
e261ef22661aa267bcf32d1552be95d8b7255220
[ "BSD-3-Clause" ]
1
2021-04-28T16:29:02.000Z
2021-04-28T16:29:02.000Z
sail/csrc/core/ops/LossOps.cpp
sail-ml/sail
e261ef22661aa267bcf32d1552be95d8b7255220
[ "BSD-3-Clause" ]
56
2021-04-28T16:39:05.000Z
2021-07-29T01:13:25.000Z
sail/csrc/core/ops/LossOps.cpp
sail-ml/sail
e261ef22661aa267bcf32d1552be95d8b7255220
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "LossOps.h" #include "Tensor.h" #include "autograd/autograd.h" #include "factories.h" #include "kernels/Kernel.h" #include "ops/ops.h" namespace sail { namespace ops { using TensorVector = std::vector<Tensor>; Tensor softmax_cross_entropy(Tensor& logits, Tensor& targets) { Tensor res...
27.982456
71
0.662069
[ "shape", "vector" ]