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
0bfc580bee5812b143ee78ab03d0480bdd40361a
4,155
cxx
C++
smtk/extension/qt/MembershipBadge.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
40
2015-02-21T19:55:54.000Z
2022-01-06T13:13:05.000Z
smtk/extension/qt/MembershipBadge.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
127
2015-01-15T20:55:45.000Z
2021-08-19T17:34:15.000Z
smtk/extension/qt/MembershipBadge.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
27
2015-03-04T14:17:51.000Z
2021-12-23T01:05:42.000Z
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPO...
26.806452
97
0.658965
[ "object", "model" ]
040286dec1cd5fe7e8258cdec97bc68e31ea3920
2,174
cc
C++
Core/base/string_utils.cc
InfiniteSynthesis/starlight
478d5a78a8277b83ad93b56b6ab1744536193c87
[ "MIT" ]
4
2020-11-29T15:45:22.000Z
2021-12-25T13:35:57.000Z
Core/base/string_utils.cc
InfiniteSynthesis/StarLight
478d5a78a8277b83ad93b56b6ab1744536193c87
[ "MIT" ]
null
null
null
Core/base/string_utils.cc
InfiniteSynthesis/StarLight
478d5a78a8277b83ad93b56b6ab1744536193c87
[ "MIT" ]
1
2020-12-29T21:42:18.000Z
2020-12-29T21:42:18.000Z
// Copyright 2020 Infinite Synthesis(T.C.V.). All rights reserved. #include <ctype.h> #include <errno.h> #include <limits> #include <cstdint> #include <stdint.h> #include <limits.h> #include "base/string_utils.h" #ifdef __cplusplus namespace base { #endif bool SplitString(const std::string& target, ...
26.512195
80
0.603036
[ "vector" ]
040463131c8610932a9e44b126e6aeafed20575d
50,584
cpp
C++
XUSGMachineLearning/MachineLearning/XUSGMachineLearning_DML.cpp
StarsX/XUSG
85838d2ab1efde1926ff4cff2cbe5f5e55609bd5
[ "MIT" ]
31
2020-04-16T02:36:55.000Z
2022-03-30T13:14:27.000Z
XUSGMachineLearning/MachineLearning/XUSGMachineLearning_DML.cpp
StarsX/XUSGCore
659fd75666c05184cafc18d6c398b31c05c59051
[ "MIT" ]
null
null
null
XUSGMachineLearning/MachineLearning/XUSGMachineLearning_DML.cpp
StarsX/XUSGCore
659fd75666c05184cafc18d6c398b31c05c59051
[ "MIT" ]
1
2021-12-11T16:26:39.000Z
2021-12-11T16:26:39.000Z
//-------------------------------------------------------------------------------------- // Copyright (c) XU, Tianchen. All rights reserved. //-------------------------------------------------------------------------------------- #include "XUSGMachineLearning_DML.h" #include "Core/XUSG_DX12.h" using namespace std; us...
46.707295
149
0.785466
[ "vector", "transform" ]
040a05e04c0d00501e42be0d990eae37f3b6de28
2,917
cpp
C++
src/liblelantus/test/joinsplit_tests.cpp
xinya-123/firo
738c8e1f96fa4c332a157776366b884a451194a2
[ "MIT" ]
1
2021-04-03T09:47:44.000Z
2021-04-03T09:47:44.000Z
src/liblelantus/test/joinsplit_tests.cpp
xinya-123/firo
738c8e1f96fa4c332a157776366b884a451194a2
[ "MIT" ]
null
null
null
src/liblelantus/test/joinsplit_tests.cpp
xinya-123/firo
738c8e1f96fa4c332a157776366b884a451194a2
[ "MIT" ]
1
2021-04-14T16:49:56.000Z
2021-04-14T16:49:56.000Z
#include "lelantus_test_fixture.h" #include "../../sigma/openssl_context.h" #include "../joinsplit.h" #include <boost/test/unit_test.hpp> #include <openssl/rand.h> namespace lelantus { class JoinSplitTests : public LelantusTestingSetup { public: JoinSplitTests() { } public: std::vector<PrivateCoin>...
27.780952
95
0.597532
[ "vector" ]
040e9e6b560babe9b3835fdca8f52e6353489dc1
4,643
cpp
C++
src/EventManager.cpp
frolv/lynxbot
e9c2e9ba23eca8918d69215850bd094488b9a33a
[ "MIT" ]
3
2016-07-12T21:42:09.000Z
2016-08-31T05:49:40.000Z
src/EventManager.cpp
frolv/osrs-twitch-bot
e9c2e9ba23eca8918d69215850bd094488b9a33a
[ "MIT" ]
null
null
null
src/EventManager.cpp
frolv/osrs-twitch-bot
e9c2e9ba23eca8918d69215850bd094488b9a33a
[ "MIT" ]
1
2016-05-26T14:59:11.000Z
2016-05-26T14:59:11.000Z
#include <ctime> #include <fstream> #include <iostream> #include <utils.h> #include "EventManager.h" #include "lynxbot.h" EventManager::EventManager(ConfigReader *cfgr) : cfg(cfgr), messages_active(false) { read_messages(); messages_active = message_list.size() > 0; } EventManager::~EventManager() {} /* active: r...
23.688776
71
0.646349
[ "vector" ]
041246b40d6764dfc828e8e3496f83a38f477f3b
52,177
cpp
C++
app/src/main/jni/Main.cpp
Hyupai/Classloader-by-S4J
44e4c5101ce9acb1ce444fe68bf2340d78a8ce37
[ "Apache-2.0" ]
5
2022-03-10T18:40:49.000Z
2022-03-13T14:24:54.000Z
app/src/main/jni/Main.cpp
Hyupai/Classloader-by-S4J
44e4c5101ce9acb1ce444fe68bf2340d78a8ce37
[ "Apache-2.0" ]
null
null
null
app/src/main/jni/Main.cpp
Hyupai/Classloader-by-S4J
44e4c5101ce9acb1ce444fe68bf2340d78a8ce37
[ "Apache-2.0" ]
1
2022-03-16T01:44:48.000Z
2022-03-16T01:44:48.000Z
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <errno.h> #include <string.h> #include <sstream> #include <jni.h> #include "obfuscate.h" #include "skdversion.h" #include "Logger.h" #include "sha256.h" using names...
62.189511
9,227
0.619832
[ "vector", "model" ]
041b912422d801e06f53cb48fd2a077529a5a93a
1,979
hpp
C++
inference-engine/samples/validation_app/image_decoder.hpp
mypopydev/dldt
8cd639116b261adbbc8db860c09807c3be2cc2ca
[ "Apache-2.0" ]
3
2019-07-08T09:03:03.000Z
2020-09-09T10:34:17.000Z
inference-engine/samples/validation_app/image_decoder.hpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
3
2020-11-13T18:59:18.000Z
2022-02-10T02:14:53.000Z
inference-engine/samples/validation_app/image_decoder.hpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
1
2018-12-14T07:56:02.000Z
2018-12-14T07:56:02.000Z
// Copyright (c) 2018 Intel Corporation // // 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 ag...
32.983333
134
0.704901
[ "object", "vector" ]
041c706bbf1b0efeb6b38b18ec79ead9f7ee38ed
788
cpp
C++
LeetCode/cpp/904.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
279
2019-02-19T16:00:32.000Z
2022-03-23T12:16:30.000Z
LeetCode/cpp/904.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
2
2019-03-31T08:03:06.000Z
2021-03-07T04:54:32.000Z
LeetCode/cpp/904.cpp
ZintrulCre/LeetCode_Crawler
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
12
2019-01-29T11:45:32.000Z
2019-02-04T16:31:46.000Z
class Solution { public: int totalFruit(vector<int> &tree) { time_t begin = clock(); int size = tree.size(); int total = 0; for (int i = 0; i < size; ++i) { if (i > 0 && tree[i] == tree[i - 1]) continue; int a = tree[i], b = -1; int...
29.185185
62
0.346447
[ "vector" ]
042031a74eeb383f840a163d11b9c3b32368ab0d
5,763
hpp
C++
lsdtt_xtensor/src/LSDRasterInfo.hpp
LSDtopotools/lsdtopytools
9809cbd368fe46b5e483085fa55f3206e4d85183
[ "MIT" ]
2
2020-05-04T14:32:34.000Z
2021-06-29T10:59:03.000Z
lsdtt_xtensor/src/LSDRasterInfo.hpp
LSDtopotools/lsdtopytools
9809cbd368fe46b5e483085fa55f3206e4d85183
[ "MIT" ]
1
2020-01-30T14:03:00.000Z
2020-02-06T16:32:56.000Z
lsdtt_xtensor/src/LSDRasterInfo.hpp
LSDtopotools/lsdtopytools
9809cbd368fe46b5e483085fa55f3206e4d85183
[ "MIT" ]
1
2021-04-21T17:40:42.000Z
2021-04-21T17:40:42.000Z
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // LSDRaster // Land Surface Dynamics Raster Info // // An object within the University // of Edinburgh Land Surface Dynamics group topographic toolbox // for examining the georeferencing and existence of rasters // // Developed by: //...
32.931429
90
0.649141
[ "object" ]
0420b25caf3814ee9bb52e5517e5d7e28f6452e4
3,866
cpp
C++
gse/src/v20191112/model/ResourceCreationLimitPolicy.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
gse/src/v20191112/model/ResourceCreationLimitPolicy.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
gse/src/v20191112/model/ResourceCreationLimitPolicy.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 ...
34.517857
171
0.768236
[ "model" ]
54b5fca2cb61aeaa602d4d7bb760a6560b461882
34,927
cpp
C++
dev/Code/Sandbox/Editor/ObjectSelectorModel.cpp
BadDevCode/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
2
2020-06-27T12:13:44.000Z
2020-06-27T12:13:46.000Z
dev/Code/Sandbox/Editor/ObjectSelectorModel.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
dev/Code/Sandbox/Editor/ObjectSelectorModel.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
/* * 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 belo...
26.36
133
0.551722
[ "geometry", "object", "vector", "model" ]
54ba5c1f00aad9935680fa2ea6519fb7df36e355
14,753
cpp
C++
libs/scenic/src/scenic/render_context/ffp/object.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/scenic/src/scenic/render_context/ffp/object.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/scenic/src/scenic/render_context/ffp/object.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/image/color/predef.hpp> #include <sge/image/color/any/object.hpp> #include <sge/rende...
46.247649
100
0.690571
[ "render", "object", "transform", "solid" ]
54c520669d2b35ad82fcefd38ca4e205db818777
6,403
cpp
C++
player/src/ui/overlays/video_details.cpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
36
2018-03-09T08:05:32.000Z
2021-09-09T19:06:39.000Z
player/src/ui/overlays/video_details.cpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
35
2018-03-15T06:43:49.000Z
2021-04-14T00:07:00.000Z
player/src/ui/overlays/video_details.cpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
3
2018-05-18T21:17:05.000Z
2021-09-09T19:06:42.000Z
#include "ui/overlays/video_details.hpp" #include "ui_stream_details.h" #include "prelude/timer.hpp" #include <QTimer> #include <QMouseEvent> #include <QPainter> #include <QPushButton> #include "ui/native/capabilities.hpp" VideoDetails::VideoDetails(QWidget *parent): QWidget(parent), _state_timer(new QTime...
30.636364
124
0.682493
[ "render" ]
54c8822e6fc2edccf7658ebc0cb45b24556421a6
1,091
cc
C++
Projects/SSAO/SSAO.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
Projects/SSAO/SSAO.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
Projects/SSAO/SSAO.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
/** * @brief スクリーンスペースアンビエントオクルージョン */ #include "SSAO.h" #include <glm/gtc/constants.hpp> // ******************************************************************************** // Sampling for SSAO // ******************************************************************************** std::vector<float> SSAO::BuildKerne...
29.486486
97
0.52154
[ "vector" ]
54c9f08cbd73906512d49d761c7d344ad7b6ca57
4,375
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/elements/SoListenerOrientationElement.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/elements/SoListenerOrientationElement.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/elements/SoListenerOrientationElement.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
28.97351
88
0.7136
[ "render", "3d" ]
54ca39d8e7393a9f6d294623129115f6290ebc00
6,875
cc
C++
3rdparty/pytorch/caffe2/core/net.cc
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
3rdparty/pytorch/caffe2/core/net.cc
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
3rdparty/pytorch/caffe2/core/net.cc
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
#include "caffe2/core/net.h" #include "caffe2/core/net_simple.h" #include <set> #include <unordered_map> #include <unordered_set> #include "caffe2/core/init.h" #include "caffe2/core/operator.h" #include "caffe2/core/timer.h" #include "caffe2/proto/caffe2_pb.h" #include "caffe2/utils/proto_utils.h" #include "caffe2/ut...
30.021834
79
0.6432
[ "vector" ]
54d8e92f6490359708b681660081ee083b9ba00e
3,034
cc
C++
libraries/mosek/9.3/tools/examples/fusion/cxx/gp1.cc
TimDSF/SBSOS_ShapeSegmentation
e30495dcf71dc63d1d54f3b73132fcfa75d7647e
[ "MIT" ]
null
null
null
libraries/mosek/9.3/tools/examples/fusion/cxx/gp1.cc
TimDSF/SBSOS_ShapeSegmentation
e30495dcf71dc63d1d54f3b73132fcfa75d7647e
[ "MIT" ]
null
null
null
libraries/mosek/9.3/tools/examples/fusion/cxx/gp1.cc
TimDSF/SBSOS_ShapeSegmentation
e30495dcf71dc63d1d54f3b73132fcfa75d7647e
[ "MIT" ]
1
2022-02-24T02:51:35.000Z
2022-02-24T02:51:35.000Z
// // Copyright: Copyright (c) MOSEK ApS, Denmark. All rights reserved. // // File: gp1.cc // // Purpose: Demonstrates how to solve a simple Geometric Program (GP) // cast into conic form with exponential cones and log-sum-exp. // // Example from // https://gpkit.re...
35.694118
114
0.534278
[ "shape", "model" ]
54d9af85b8af40a514bfabc95788334394279ffd
519
cpp
C++
test/plane_tests.cpp
dillonhuff/scg
21d004ce37c0e0e3650e373726d7e8bac51fffa4
[ "MIT" ]
14
2018-05-10T16:40:38.000Z
2020-01-09T06:36:09.000Z
test/plane_tests.cpp
dillonhuff/scg
21d004ce37c0e0e3650e373726d7e8bac51fffa4
[ "MIT" ]
1
2019-10-26T13:08:56.000Z
2019-10-26T13:08:56.000Z
test/plane_tests.cpp
dillonhuff/scg
21d004ce37c0e0e3650e373726d7e8bac51fffa4
[ "MIT" ]
2
2020-11-28T17:36:45.000Z
2021-05-30T14:32:05.000Z
#include "catch.hpp" #include "geometry/plane.h" namespace gca { TEST_CASE("Plane line intersection") { plane p(point(0, 0, 1), point(0, 0, 0)); SECTION("Line that does not intersect") { line l(point(10, 0, 6), point(11, 0, 7)); REQUIRE(!intersection(p, l)); } SECTION("Line that does i...
23.590909
53
0.572254
[ "geometry" ]
54e0e26e2ee2befafab01dcc8c8399a154db3cbd
5,265
hpp
C++
cpp/src/shared/forcing_helpers/rank_one_forcing.hpp
fnrizzi/ElasticShearWaves
b09cde0711562412c6bc24de0d18ad3a972b7289
[ "BSD-3-Clause" ]
null
null
null
cpp/src/shared/forcing_helpers/rank_one_forcing.hpp
fnrizzi/ElasticShearWaves
b09cde0711562412c6bc24de0d18ad3a972b7289
[ "BSD-3-Clause" ]
null
null
null
cpp/src/shared/forcing_helpers/rank_one_forcing.hpp
fnrizzi/ElasticShearWaves
b09cde0711562412c6bc24de0d18ad3a972b7289
[ "BSD-3-Clause" ]
null
null
null
#ifndef RANK_ONE_FORCING_HPP_ #define RANK_ONE_FORCING_HPP_ #include "map_point_source_to_velocity_grid_point.hpp" #include "KokkosBlas1_fill.hpp" #include "KokkosBlas1_scal.hpp" template <typename sc_t, typename state_d_t, typename int_t> class RankOneForcing { static_assert(is_vector_kokkos< state_d_t >::value, ...
35.1
87
0.701235
[ "mesh", "vector" ]
54e3b12130278ed85821aafe8c5a789416e5f8b0
7,990
cpp
C++
phoenix/gtk/widget/list-view.cpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
4
2015-08-02T06:48:46.000Z
2017-10-15T14:46:35.000Z
phoenix/gtk/widget/list-view.cpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
null
null
null
phoenix/gtk/widget/list-view.cpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
null
null
null
namespace phoenix { static void ListView_activate(GtkTreeView* treeView, GtkTreePath* path, GtkTreeViewColumn* column, ListView* self) { char* pathname = gtk_tree_path_to_string(path); unsigned selection = decimal(pathname); g_free(pathname); self->state.selection = selection; if(self->onActivate) self->onAc...
37.511737
125
0.760951
[ "vector", "model" ]
54e5c1f3edbf21e73eed7296214618feca3b8a4a
1,942
cpp
C++
src/pbrProgram/main.cpp
moddyz/Pbrt
fa92b09a98d07503e1dc381fcb0e9d9b6ae88915
[ "MIT" ]
null
null
null
src/pbrProgram/main.cpp
moddyz/Pbrt
fa92b09a98d07503e1dc381fcb0e9d9b6ae88915
[ "MIT" ]
null
null
null
src/pbrProgram/main.cpp
moddyz/Pbrt
fa92b09a98d07503e1dc381fcb0e9d9b6ae88915
[ "MIT" ]
null
null
null
// Physically based ray tracing program. #include <cxxopts.hpp> #include <pbr/utils/log.h> /// \struct Program options /// /// Describes the inputs to the renderer program. struct ProgramOptions { std::vector< std::string > m_inputFiles; //< The input scene files to the renderer. std::string m...
31.836066
101
0.623584
[ "vector" ]
54ea8689004e4bd9c6ea7d40ab7ecc52465161f8
10,978
cpp
C++
tools/builder/src/gwf_translator.cpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
2
2015-02-20T16:48:59.000Z
2015-03-14T11:37:40.000Z
tools/builder/src/gwf_translator.cpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
19
2015-02-01T19:42:52.000Z
2016-10-27T15:59:55.000Z
tools/builder/src/gwf_translator.cpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
23
2015-04-18T15:11:56.000Z
2021-12-21T14:43:22.000Z
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #include "gwf_translator.h" #include "tinyxml/tinyxml2.h" #include "base64/base64.h" #include "util...
26.326139
121
0.642011
[ "vector" ]
54eb47103d965f41eacee5ace1d4301c4290ccf7
4,605
hpp
C++
armnn-ethos-n-backend/workloads/EthosNPreCompiledWorkload.hpp
ARM-software/ethos-n-driver-stack
9f652630c0ff94d8c8b51fd04f6e4dbc34a57e4b
[ "Apache-2.0" ]
25
2020-03-26T19:08:55.000Z
2022-03-14T07:25:44.000Z
armnn-ethos-n-backend/workloads/EthosNPreCompiledWorkload.hpp
ARM-software/ethos-n-driver-stack
9f652630c0ff94d8c8b51fd04f6e4dbc34a57e4b
[ "Apache-2.0" ]
11
2021-01-13T14:37:10.000Z
2022-02-28T10:05:10.000Z
armnn-ethos-n-backend/workloads/EthosNPreCompiledWorkload.hpp
ARM-software/ethos-n-driver-stack
9f652630c0ff94d8c8b51fd04f6e4dbc34a57e4b
[ "Apache-2.0" ]
12
2020-09-13T18:02:47.000Z
2022-03-04T17:00:45.000Z
// // Copyright © 2018-2021 Arm Limited. // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "../EthosNConfig.hpp" #include "backendsCommon/Workload.hpp" #include <ethosn_driver_library/Buffer.hpp> #include <ethosn_driver_library/Inference.hpp> #include <ethosn_driver_library/Network.hpp> #include <ethos...
32.659574
119
0.715744
[ "vector" ]
54eb54570c4a144c822deaf9f373dce7dbbf075e
11,273
cpp
C++
build-easypaint-Qt_5_9_5_qt5_temporary-Debug/build/moc_mainwindow.cpp
maifeeulasad/EasyPaint
4af126c6d94c840e5cc02ffd8d967b584959145c
[ "MIT" ]
null
null
null
build-easypaint-Qt_5_9_5_qt5_temporary-Debug/build/moc_mainwindow.cpp
maifeeulasad/EasyPaint
4af126c6d94c840e5cc02ffd8d967b584959145c
[ "MIT" ]
null
null
null
build-easypaint-Qt_5_9_5_qt5_temporary-Debug/build/moc_mainwindow.cpp
maifeeulasad/EasyPaint
4af126c6d94c840e5cc02ffd8d967b584959145c
[ "MIT" ]
1
2022-03-01T18:06:05.000Z
2022-03-01T18:06:05.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'mainwindow.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.5) ** ** WARNING! All changes made in this file will be lost! **********************************************************...
38.606164
104
0.606582
[ "object" ]
54eb9d8a20380a28fe6efc4a5ffc8b5f5800523a
7,208
cpp
C++
Test/Test-Convert.cpp
karannewatia/SCALE-MAMBA
467b33a6c80050789204ea3ee3b5cf0113354f85
[ "BSD-2-Clause" ]
196
2018-05-25T11:41:56.000Z
2022-03-12T05:49:50.000Z
Test/Test-Convert.cpp
karannewatia/SCALE-MAMBA
467b33a6c80050789204ea3ee3b5cf0113354f85
[ "BSD-2-Clause" ]
49
2018-07-17T15:49:41.000Z
2021-01-19T11:35:31.000Z
Test/Test-Convert.cpp
karannewatia/SCALE-MAMBA
467b33a6c80050789204ea3ee3b5cf0113354f85
[ "BSD-2-Clause" ]
90
2018-05-25T11:41:42.000Z
2022-03-23T19:15:10.000Z
/* Copyright (c) 2017, The University of Bristol, Senate House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom. Copyright (c) 2021, COSIC-KU Leuven, Kasteelpark Arenberg 10, bus 2452, B-3001 Leuven-Heverlee, Belgium. All rights reserved */ #include <fstream> #include <iostream> using namespace std; #include "GC/Cir...
22.666667
110
0.531354
[ "vector" ]
54f035711a23df47037693d0a66eab5037c46485
4,363
cpp
C++
runtime/modules.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
278
2021-08-31T00:46:51.000Z
2022-02-13T19:43:28.000Z
runtime/modules.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
9
2021-11-05T22:28:43.000Z
2021-11-23T08:39:04.000Z
runtime/modules.cpp
tekknolagi/skybison
bea8fc2af0a70e7203b4c19f36c14a745512a335
[ "CNRI-Python-GPL-Compatible" ]
12
2021-08-31T07:49:54.000Z
2021-10-08T01:09:01.000Z
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include "modules.h" #include "builtins.h" #include "capi.h" #include "frozen-modules.h" #include "globals.h" #include "marshal.h" #include "module-builtins.h" #include "object-builtins.h" #include "runtime.h" #include "symbols.h" #include "...
34.085938
78
0.698831
[ "object" ]
54f250dc810fb2435e1cb6e0a797b90cd48afc1a
2,806
cc
C++
caffe2/operators/batch_matmul_op_test.cc
kickers18/caffe2
f69232c9237174f8e272c0fc59d3e28af52842f2
[ "Apache-2.0" ]
585
2015-08-10T02:48:52.000Z
2021-12-01T08:46:59.000Z
caffe2/operators/batch_matmul_op_test.cc
mingzhe09088/caffe2
8f41717c46d214aaf62b53e5b3b9b308b5b8db91
[ "Apache-2.0" ]
23
2015-08-30T11:54:51.000Z
2017-03-06T03:01:07.000Z
caffe2/operators/batch_matmul_op_test.cc
mingzhe09088/caffe2
8f41717c46d214aaf62b53e5b3b9b308b5b8db91
[ "Apache-2.0" ]
183
2015-08-10T02:49:04.000Z
2021-12-01T08:47:13.000Z
/** * Copyright (c) 2016-present, Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
29.536842
79
0.662865
[ "vector" ]
54fb91a41e21a7c01784902b6270479256451db2
3,892
cc
C++
aos/events/event_scheduler_test.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
39
2021-06-18T03:22:30.000Z
2022-03-21T15:23:43.000Z
aos/events/event_scheduler_test.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
10
2021-06-18T03:22:19.000Z
2022-03-18T22:14:15.000Z
aos/events/event_scheduler_test.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
4
2021-08-19T19:20:04.000Z
2022-03-08T07:33:18.000Z
#include "aos/events/event_scheduler.h" #include <chrono> #include "gtest/gtest.h" namespace aos { namespace chrono = std::chrono; using aos::logger::BootTimestamp; // Legacy time converter for keeping old tests working. Has numerical precision // problems. class SlopeOffsetTimeConverter final : public TimeConver...
34.75
80
0.683453
[ "vector" ]
07003d2b37ff30d288bc5a47d4fa9befbc470a55
5,823
cpp
C++
test/src/CastTest.cpp
DmitrySkiba/itoa-jnipp
e106061b85dbfbee7cc7f2b14350b1e06dd34237
[ "Apache-2.0" ]
17
2015-01-14T14:23:05.000Z
2022-01-08T16:28:00.000Z
test/src/CastTest.cpp
DmitrySkiba/itoa-jnipp
e106061b85dbfbee7cc7f2b14350b1e06dd34237
[ "Apache-2.0" ]
null
null
null
test/src/CastTest.cpp
DmitrySkiba/itoa-jnipp
e106061b85dbfbee7cc7f2b14350b1e06dd34237
[ "Apache-2.0" ]
15
2015-01-14T06:10:45.000Z
2020-05-01T23:59:35.000Z
/* * Copyright (C) 2011 Dmitry Skiba * * 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 agre...
25.099138
96
0.606045
[ "object" ]
070b71ddac254dfbfbc04604b54b9275a205e105
2,427
cpp
C++
MP-APS/Core/GUISystem.cpp
MaximumProgrammer/OpenGL-Renderer
018211ff3bd559d6912784d3dfdec97f03838e35
[ "MIT" ]
1
2021-12-21T17:57:17.000Z
2021-12-21T17:57:17.000Z
MP-APS/Core/GUISystem.cpp
MaximumProgrammer/OpenGL-Renderer
018211ff3bd559d6912784d3dfdec97f03838e35
[ "MIT" ]
null
null
null
MP-APS/Core/GUISystem.cpp
MaximumProgrammer/OpenGL-Renderer
018211ff3bd559d6912784d3dfdec97f03838e35
[ "MIT" ]
null
null
null
#include "GUISystem.h" #include "../FrameStats.h" #include <fmt/core.h> #include <cstddef> #include <glad/glad.h> #include <GLFW/glfw3.h> #define NK_INCLUDE_FIXED_TYPES #define NK_INCLUDE_STANDARD_IO #define NK_INCLUDE_STANDARD_VARARGS #define NK_INCLUDE_DEFAULT_ALLOCATOR #define NK_INCLUDE_VERTEX_BUFFER_OUTPUT #de...
30.721519
110
0.675731
[ "render" ]
070e1664d3ca9a5aa29456d80dddef6ef325d0e1
3,025
hpp
C++
src/headers/Bread.hpp
ViralTaco/Toast
476ee8eb9b0c852bd17cfdd296c06c43f7ab1f25
[ "Unlicense" ]
null
null
null
src/headers/Bread.hpp
ViralTaco/Toast
476ee8eb9b0c852bd17cfdd296c06c43f7ab1f25
[ "Unlicense" ]
1
2018-12-26T00:14:06.000Z
2018-12-27T13:11:58.000Z
src/headers/Bread.hpp
ViralTaco/Toast
476ee8eb9b0c852bd17cfdd296c06c43f7ab1f25
[ "Unlicense" ]
null
null
null
/* * Copyright (c) 2018 Capobianco A. * SPDX-License-Identifier: MIT * <http://www.opensource.org/licenses/MIT> */ #pragma once #include <string> #include <vector> #include <utility> #include <fstream> #include <cstdlib> struct Element { public: bool is_checked_; std::string content_; std::string mark_; ...
23.269231
76
0.625124
[ "vector" ]
070e371b0135867b2cbe39d81605ee1457ce08ed
1,013
hpp
C++
src/toolkits/coreml_export/mldata_exporter.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/toolkits/coreml_export/mldata_exporter.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/toolkits/coreml_export/mldata_exporter.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #ifndef COREML_MLDATA_EXPORTER_HPP #define COREML_MLDATA_EXPORTER_HPP #include <toolkits/coreml_exp...
33.766667
86
0.76308
[ "object", "vector" ]
07108efbf26744ec9fc63d40cfd3bf71cc453b4b
17,727
cpp
C++
HTN_Plugin/Source/HTN_Plugin/Private/JSHOP2_Experiments/SimpleFPS/HTNWorldState_SimpleFPS.cpp
DennisSoemers/HTN_Plan_Reuse
acdf5e6f808f50b98a4be4da653a7c27b6e713df
[ "MIT" ]
43
2016-09-29T11:50:43.000Z
2022-02-01T19:48:40.000Z
HTN_Plugin/Source/HTN_Plugin/Private/JSHOP2_Experiments/SimpleFPS/HTNWorldState_SimpleFPS.cpp
DennisSoemers/HTN_Plan_Reuse
acdf5e6f808f50b98a4be4da653a7c27b6e713df
[ "MIT" ]
null
null
null
HTN_Plugin/Source/HTN_Plugin/Private/JSHOP2_Experiments/SimpleFPS/HTNWorldState_SimpleFPS.cpp
DennisSoemers/HTN_Plan_Reuse
acdf5e6f808f50b98a4be4da653a7c27b6e713df
[ "MIT" ]
13
2016-08-04T01:54:29.000Z
2021-09-22T06:47:20.000Z
#include "HTN_PluginPrivatePCH.h" #include "JSHOP2_Experiments/SimpleFPS/HTNWorldState_SimpleFPS.h" #include "JSHOP2_Experiments/SimpleFPS/JSHOP2_ExperimenterSimpleFPS.h" #include "JSHOP2_Experiments/SimpleFPS/SimpleFPSObject.h" #include "JSHOP2_Experiments/SimpleFPS/Tasks/HTNTask_MoveToAreaSimpleFPS.h" TSharedPtr<FHT...
32.056058
145
0.773114
[ "object" ]
071de024a3fa400ec201d8a300e9bc3194d4cba6
2,527
cpp
C++
lib/MC/MCXCOFFStreamer.cpp
URSec/Silhouette-Compiler-Legacy
28b37f3617c5543a87537decc074b168f4803d87
[ "Apache-2.0" ]
173
2015-01-14T00:05:41.000Z
2022-02-22T05:47:18.000Z
lib/MC/MCXCOFFStreamer.cpp
URSec/Silhouette-Compiler-Legacy
28b37f3617c5543a87537decc074b168f4803d87
[ "Apache-2.0" ]
9
2015-01-02T06:20:32.000Z
2017-10-19T13:21:02.000Z
lib/MC/MCXCOFFStreamer.cpp
URSec/Silhouette-Compiler-Legacy
28b37f3617c5543a87537decc074b168f4803d87
[ "Apache-2.0" ]
45
2018-06-16T08:51:03.000Z
2022-02-11T09:52:02.000Z
//===- lib/MC/MCXCOFFStreamer.cpp - XCOFF Object Output -------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
42.116667
80
0.555204
[ "object" ]
0721eb56a022b33606949f316e85c0f6d882bd84
13,555
cpp
C++
plugins/community/repos/Bogaudio/src/Matrix88.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
plugins/community/repos/Bogaudio/src/Matrix88.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
plugins/community/repos/Bogaudio/src/Matrix88.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
#include "Matrix88.hpp" void Matrix88::step() { for (int i = 0; i < 8; ++i) { int paramOffset = MIX11_PARAM + i * 8; float out = 0.0f; for (int j = 0; j < 8; ++j) { out += inputs[IN1_INPUT + j].value * params[paramOffset + j].value; } outputs[OUT1_OUTPUT + i].value = _saturators[i].next(params[LEVEL_PAR...
64.856459
133
0.726817
[ "model" ]
0725104b7395d8f5308fb402a09840e6b95c4647
3,075
hpp
C++
src/libraries/thermophysicalModels/radiation/submodels/absorptionEmissionModel/binaryAbsorptionEmission/binaryAbsorptionEmission.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/thermophysicalModels/radiation/submodels/absorptionEmissionModel/binaryAbsorptionEmission/binaryAbsorptionEmission.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/thermophysicalModels/radiation/submodels/absorptionEmissionModel/binaryAbsorptionEmission/binaryAbsorptionEmission.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2018 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
26.73913
79
0.620163
[ "mesh", "model" ]
07287f278ecc4d7a160eb3b9d59e202e3984f889
2,205
hpp
C++
src/FreeAge/common/building_types.hpp
grst/freeage
529cfd4d7db5b4c98251caacfb383730df0bf670
[ "BSD-3-Clause" ]
2
2020-06-28T19:06:09.000Z
2020-07-01T16:31:49.000Z
src/FreeAge/common/building_types.hpp
grst/freeage
529cfd4d7db5b4c98251caacfb383730df0bf670
[ "BSD-3-Clause" ]
null
null
null
src/FreeAge/common/building_types.hpp
grst/freeage
529cfd4d7db5b4c98251caacfb383730df0bf670
[ "BSD-3-Clause" ]
1
2020-06-28T15:19:27.000Z
2020-06-28T15:19:27.000Z
// Copyright 2020 The FreeAge authors // This file is part of FreeAge, licensed under the new BSD license. // See the COPYING file in the project root for the license text. #pragma once #include <QRect> #include <QSize> #include <QString> #include "FreeAge/common/resources.hpp" /// Building types. The numbers must ...
29.4
97
0.760091
[ "vector" ]
072c96e611c589593ca59f39eb46b403870747a6
6,458
hpp
C++
include/System/Text/EncodingHelper.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/System/Text/EncodingHelper.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/System/Text/EncodingHelper.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include <initializer_list> #include "extern/beatsaber-hook/shared/utils/byref.hpp" // C...
54.268908
180
0.72205
[ "object", "vector" ]
072df7e34eabefbe09f7cc79301785d183f5f498
2,634
cc
C++
remoting/host/chromeos/remote_support_host_ash.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
remoting/host/chromeos/remote_support_host_ash.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
remoting/host/chromeos/remote_support_host_ash.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "remoting/host/chromeos/remote_support_host_ash.h" #include <utility> #include <stddef.h> #include "base/notreached.h" #include "base/strings/...
35.594595
79
0.764996
[ "vector" ]
072ee87e467d6c234d1b7070376981b30014906e
13,495
cc
C++
CondTools/Ecal/src/EcalTPGLutGroupHandler.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
2
2017-09-29T13:32:51.000Z
2019-01-31T00:40:58.000Z
CondTools/Ecal/src/EcalTPGLutGroupHandler.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
CondTools/Ecal/src/EcalTPGLutGroupHandler.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
3
2017-06-07T15:22:28.000Z
2019-02-28T20:48:30.000Z
#include "CondTools/Ecal/interface/EcalTPGLutGroupHandler.h" #include "OnlineDB/EcalCondDB/interface/EcalLogicID.h" #include "OnlineDB/EcalCondDB/interface/RunTPGConfigDat.h" #include "OnlineDB/EcalCondDB/interface/FEConfigMainInfo.h" #include "OnlineDB/EcalCondDB/interface/FEConfigLUTInfo.h" #include "OnlineDB/EcalCon...
35.234987
119
0.616376
[ "geometry", "object", "vector" ]
0733834702af8da8aa2a841bf981651b511d63e1
651
cpp
C++
8/835. Image Overlap.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
8/835. Image Overlap.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
8/835. Image Overlap.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { public: int largestOverlap(vector<vector<int>>& A, vector<vector<int>>& B) { int n = A.size(), offset = (n << 1) - 1; vector<int> vA, vB, count(offset * offset); for(int i = 0; i < n; ++i) for(int j = 0; j < n; ++j) { if(A[i][j]) ...
32.55
72
0.419355
[ "vector" ]
0734045feaec70e4c952c34b217236611d63c27b
2,503
hpp
C++
lib/rendering/rendering.hpp
aditya2592/PoseCNN
a763120ce0ceb55cf3432980287ef463728f8052
[ "MIT" ]
655
2018-03-21T19:55:45.000Z
2022-03-25T20:41:21.000Z
lib/rendering/rendering.hpp
SergioRAgostinho/PoseCNN
da9eaae850eed7521a2a48a4d27474d655caab42
[ "MIT" ]
122
2018-04-04T13:57:49.000Z
2022-03-18T09:28:44.000Z
lib/rendering/rendering.hpp
SergioRAgostinho/PoseCNN
da9eaae850eed7521a2a48a4d27474d655caab42
[ "MIT" ]
226
2018-03-22T01:40:04.000Z
2022-03-17T11:56:14.000Z
#include <stdio.h> #include <cfloat> #include <math.h> #include <vector> #include <ctime> #include <cstdlib> #include <unistd.h> #include <iostream> #include <fstream> #include <string> #include <cstddef> #include "opencv2/opencv.hpp" #define GL_GLEXT_PROTOTYPES #include "GL/gl.h" #include "GL/glext.h" #include "GL...
28.123596
151
0.616061
[ "geometry", "render", "vector", "model", "3d" ]
074152fe325682be4bb457dd1475f38ee006e1f9
1,127
cpp
C++
src/process.cpp
ajaxuk/CppND-System-Monitor
6edb50654b4ada814f6595f1eac277da3ce572b4
[ "MIT" ]
1
2021-11-01T08:52:45.000Z
2021-11-01T08:52:45.000Z
src/process.cpp
ajaxuk/CppND-System-Monitor
6edb50654b4ada814f6595f1eac277da3ce572b4
[ "MIT" ]
null
null
null
src/process.cpp
ajaxuk/CppND-System-Monitor
6edb50654b4ada814f6595f1eac277da3ce572b4
[ "MIT" ]
null
null
null
#include "process.h" #include <unistd.h> #include <cctype> #include <sstream> #include <string> #include <vector> using std::string; using std::to_string; using std::vector; // TODO: Return this process's ID int Process::Pid() const { return pid_; } string Process::User() const { return user_; } float Process::CpuU...
32.2
73
0.723159
[ "vector" ]
0748215cee3e20196bf155dff7a4da2077a2f699
3,422
cpp
C++
SortingHugeFile.cpp
Kuzame/SortingHugeFile
d20a3412c12660eb361165310461fd04bbbb38cc
[ "Apache-2.0" ]
null
null
null
SortingHugeFile.cpp
Kuzame/SortingHugeFile
d20a3412c12660eb361165310461fd04bbbb38cc
[ "Apache-2.0" ]
null
null
null
SortingHugeFile.cpp
Kuzame/SortingHugeFile
d20a3412c12660eb361165310461fd04bbbb38cc
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Name : SortingHugeFile.cpp // Author : Adrian Harminto // Comparing library sort (stable_sort) vs manually written sort //============================================================================ #include <iostream> #inclu...
29
124
0.624489
[ "object" ]
07499538c6238d1fb64a92a2999e624014da9893
2,605
cpp
C++
third_party/WebKit/Source/platform/bindings/V8ObjectConstructor.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/bindings/V8ObjectConstructor.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/bindings/V8ObjectConstructor.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2012 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
42.016129
80
0.753551
[ "object" ]
074e5fc2c6d8314b173293d6afc3601d84902add
5,866
cpp
C++
ogles_gpgpu/common/proc/base/procinterface.cpp
hunter-packages/ogles_gpgpu
ada7029481ddf9e4d001b191e86d712e9d8839f7
[ "Apache-2.0" ]
7
2017-05-19T17:41:38.000Z
2018-10-31T09:35:20.000Z
ogles_gpgpu/common/proc/base/procinterface.cpp
hunter-packages/ogles_gpgpu
ada7029481ddf9e4d001b191e86d712e9d8839f7
[ "Apache-2.0" ]
20
2017-07-09T21:03:37.000Z
2018-04-27T02:02:35.000Z
ogles_gpgpu/common/proc/base/procinterface.cpp
hunter-packages/ogles_gpgpu
ada7029481ddf9e4d001b191e86d712e9d8839f7
[ "Apache-2.0" ]
6
2016-07-09T13:06:38.000Z
2021-07-01T07:43:48.000Z
#include "procinterface.h" using namespace ogles_gpgpu; // ########## Filter chain void ProcInterface::setOutputPboCount(int count) { outputPboCount = count; } void ProcInterface::setPreProcessCallback(const ProcDelegate& cb) { m_preProcessCallback = cb; } void ProcInterface::setPostProcessCallback(const P...
27.411215
114
0.622059
[ "render" ]
075c62b13cd3f02abc472889b3e232e5c1375994
6,159
hh
C++
src/basepipeline.hh
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
2
2018-03-06T02:36:25.000Z
2020-01-13T10:55:35.000Z
src/basepipeline.hh
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
null
null
null
src/basepipeline.hh
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
null
null
null
/* <LICENSE> License for the MULTOVL multiple genomic overlap tools Copyright (c) 2007-2012, Dr Andras Aszodi, Campus Science Support Facilities GmbH (CSF), Dr-Bohr-Gasse 3, A-1030 Vienna, Austria, Europe. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permi...
35.80814
113
0.703848
[ "object", "vector" ]
79eda0b6e65da30807286b029f8bed80d8896415
1,820
cpp
C++
data/transcoder_evaluation_gfg/cpp/MINIMUM_SUM_CHOOSING_MINIMUM_PAIRS_ARRAY.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/MINIMUM_SUM_CHOOSING_MINIMUM_PAIRS_ARRAY.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/MINIMUM_SUM_CHOOSING_MINIMUM_PAIRS_ARRAY.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...
49.189189
968
0.582418
[ "vector" ]
79ede84b6c8bd4af75248af3e467bc3b24135e2f
1,800
cpp
C++
demo-platformer/Level.cpp
leftidev/cpp-GEngine
fb1a000336f8295386c5e9e401072cfe0679b587
[ "MIT" ]
4
2016-04-02T05:52:59.000Z
2021-05-15T21:03:17.000Z
demo-platformer/Level.cpp
lefti-/cpp-GEngine
fb1a000336f8295386c5e9e401072cfe0679b587
[ "MIT" ]
null
null
null
demo-platformer/Level.cpp
lefti-/cpp-GEngine
fb1a000336f8295386c5e9e401072cfe0679b587
[ "MIT" ]
1
2016-04-13T17:25:44.000Z
2016-04-13T17:25:44.000Z
#include <fstream> #include <iostream> #include <algorithm> #include <cpp-GEngine/GEngineErrors.h> #include <cpp-GEngine/ResourceManager.h> #include "Level.h" Level::Level(const std::string& fileName) { std::ifstream file; file.open(fileName); // Error checking if (file.fail()) { GEngine::f...
26.470588
153
0.507222
[ "render", "vector" ]
79f33abac81992cb77c3bd1fcfd0fcc8901810d7
2,249
cpp
C++
ImportantExample/tableprinter/Demo/tableprinterexample.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
3
2018-12-24T19:35:52.000Z
2022-02-04T14:45:59.000Z
ImportantExample/Demo/tableprinterexample.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
null
null
null
ImportantExample/Demo/tableprinterexample.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
1
2019-05-09T02:42:40.000Z
2019-05-09T02:42:40.000Z
/* * TableView Preview & Print demo * Copyright (C) 2004-2008 by Gordos Kund / QnD Co Bt. * * This library 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 2.1 of the License, or ...
27.426829
77
0.688306
[ "model" ]
0306caf81b69d6f395aaf15421336f95145057bb
3,173
hpp
C++
Simulator/Simulator.hpp
BartoszBartmanski/StoSpa
eee68f9b8b9be07aad435565f53b686ddcb876df
[ "MIT" ]
null
null
null
Simulator/Simulator.hpp
BartoszBartmanski/StoSpa
eee68f9b8b9be07aad435565f53b686ddcb876df
[ "MIT" ]
null
null
null
Simulator/Simulator.hpp
BartoszBartmanski/StoSpa
eee68f9b8b9be07aad435565f53b686ddcb876df
[ "MIT" ]
null
null
null
// // Created by bartosz on 31/12/18. // #ifndef STOSPA_SIMFUNCTIONS_HPP #define STOSPA_SIMFUNCTIONS_HPP #include "Simulation1d.hpp" #include "Simulation2d.hpp" /** * Brings together both constructors into a single line function. * (Templates are not used as they do not allow to specify dimension at runtime.) * @...
27.833333
135
0.639773
[ "object", "vector" ]
030aaf066b2da3caa9a710650343f0d11d8ea6a0
682
cpp
C++
codeForces/#535/b.cpp
mmaximiliano/programming
72a7f4b3865d5a8d05944ba8081a5ab1cebf4c0d
[ "MIT" ]
null
null
null
codeForces/#535/b.cpp
mmaximiliano/programming
72a7f4b3865d5a8d05944ba8081a5ab1cebf4c0d
[ "MIT" ]
null
null
null
codeForces/#535/b.cpp
mmaximiliano/programming
72a7f4b3865d5a8d05944ba8081a5ab1cebf4c0d
[ "MIT" ]
null
null
null
#pragma GCC optimize("O3") //~ #pragma GCC optimize("Ofast") //~ #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") //~ #pragma GCC optimize("unroll-loops") #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> v(n); for (int i = 0; i < n; ++i) { ...
13.115385
81
0.466276
[ "vector" ]
0315f29af4f5b2b35e2a36a5292c46b477d91093
4,627
cxx
C++
Filters/Core/Testing/Cxx/TestPartitionedDataSetCollectionConvertors.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Filters/Core/Testing/Cxx/TestPartitionedDataSetCollectionConvertors.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Filters/Core/Testing/Cxx/TestPartitionedDataSetCollectionConvertors.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: TestPartitionedDataSetCollectionConvertors.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for de...
40.587719
100
0.596283
[ "vector" ]
0316a874150a166fb84167016c1d12e3a1234875
6,274
hpp
C++
include/UnityEngine/CharacterController.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/CharacterController.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/CharacterController.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Collider #include "Unit...
52.283333
221
0.754702
[ "vector" ]
031974576be2f0c8fc827c97fcd9ebf72c93d1e7
327,015
cpp
C++
ds/security/cryptoapi/pki/certstor/frmtfunc.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/cryptoapi/pki/certstor/frmtfunc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/cryptoapi/pki/certstor/frmtfunc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1995 - 1999 // // File: frmtfunc.cpp // // Contents: OID format functions // // Functions: CryptFrmtFuncDllMain // CryptFormatObject // ...
27.44796
158
0.528697
[ "object" ]
031a9f07d7049751eac5bfc23fa62702941e9299
407
cpp
C++
input/ex1-dag/Professor.cpp
d3rail0/dependency-resolver
dbfa106b097d18973b8b085a29852f573476a85f
[ "MIT" ]
1
2022-01-26T16:58:20.000Z
2022-01-26T16:58:20.000Z
input/ex2-dcg/Professor.cpp
d3rail0/dependency-resolver
dbfa106b097d18973b8b085a29852f573476a85f
[ "MIT" ]
null
null
null
input/ex2-dcg/Professor.cpp
d3rail0/dependency-resolver
dbfa106b097d18973b8b085a29852f573476a85f
[ "MIT" ]
null
null
null
#include "Professor.h" std::ostream& operator<<(std::ostream& os, const Professor& professor) { os << professor.getName() << " " << professor.getAge() << " " << "Teaching subjecs = ["; std::vector<Subject> teSubs = professor.getTeachingSubjects(); for (size_t i = 0; i < teSubs.size(); i++) { os << teSubs[...
22.611111
72
0.572482
[ "vector" ]
031aaacbb29d5c2e0b9ac5a2599332f5984f5ec6
479
cpp
C++
examples/ejemplo3.cpp
so77id/Programing-examples
051b706318703a4126af0595b21f7b4aceecbc4a
[ "MIT" ]
null
null
null
examples/ejemplo3.cpp
so77id/Programing-examples
051b706318703a4126af0595b21f7b4aceecbc4a
[ "MIT" ]
null
null
null
examples/ejemplo3.cpp
so77id/Programing-examples
051b706318703a4126af0595b21f7b4aceecbc4a
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <stdio.h> using namespace std; int main() { int base, ex, resultado, limite,r2; cin>>limite; cin>>ex; base=limite; resultado=0; r2=resultado; while (ex>0){ limite = base; ...
14.96875
38
0.544885
[ "vector" ]
032393c6544e74588e03d8c756223798dcf014cd
97,522
cpp
C++
test/core/integration/MultipleLanguage_2_Test.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
14
2016-01-15T20:26:54.000Z
2018-11-26T20:47:43.000Z
test/core/integration/MultipleLanguage_2_Test.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
2
2016-04-26T05:29:01.000Z
2016-05-07T00:13:38.000Z
test/core/integration/MultipleLanguage_2_Test.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
7
2016-02-27T11:35:59.000Z
2018-11-26T20:47:59.000Z
/* * Copyright (c) 2016, SRCH2 * 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 conditions ...
33.524235
208
0.757973
[ "vector" ]
032562377c87fcd64a5807487ab16a39fc9dd527
3,521
hpp
C++
adaptors/generator/skeleton/job/###suite###_###type###_job_service.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
adaptors/generator/skeleton/job/###suite###_###type###_job_service.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
adaptors/generator/skeleton/job/###suite###_###type###_job_service.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2007 Hartmut Kaiser // Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef ADAPTORS_###SUITE###_###TYPE###_JOB__SERVICE_HP...
38.692308
75
0.494746
[ "vector" ]
0327907b84f1fffef9acb143c67c38b96eeeba9b
4,200
cpp
C++
Ejercicio02-Agregando Biblioteca/biblioteca.cpp
BranlyBC/ClassL2
2dc31c1fc0acd2e6d494b6b725dc561c141e9587
[ "MIT" ]
null
null
null
Ejercicio02-Agregando Biblioteca/biblioteca.cpp
BranlyBC/ClassL2
2dc31c1fc0acd2e6d494b6b725dc561c141e9587
[ "MIT" ]
null
null
null
Ejercicio02-Agregando Biblioteca/biblioteca.cpp
BranlyBC/ClassL2
2dc31c1fc0acd2e6d494b6b725dc561c141e9587
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <time.h> using namespace std; string libros[15][3]; //Biblioteca Cargado y nombramiento del libro void cargarLibros() { libros[0][0] = "Algoritmos"; libros[0][1] = "Algoritmos y Programacion (Guia para docentes)"; libros[0][2] = "Juan Carlos Lopez Garci...
30.434783
109
0.539286
[ "transform" ]
032d3aeb6238c0d8bfd0abe324971b465f49b8fe
22,837
cpp
C++
source/functions/adiosFunctions.cpp
pnorbert/ADIOS2
6bd06b550431cf3e354a1a0b3f0d825e39fe97a9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/functions/adiosFunctions.cpp
pnorbert/ADIOS2
6bd06b550431cf3e354a1a0b3f0d825e39fe97a9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/functions/adiosFunctions.cpp
pnorbert/ADIOS2
6bd06b550431cf3e354a1a0b3f0d825e39fe97a9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * adiosFunctions.cpp * * Created on: Oct 10, 2016 * Author: wfg */ /// \cond EXCLUDED_FROM_DOXYGEN #include <algorithm> //std::count #include <cmath> // std::ceil, std::pow, std:...
32.43892
80
0.560625
[ "vector", "transform" ]
0332ef907f2f0d6bff1e50fc65739e1cbf24e9bb
8,715
cpp
C++
src/prod/src/Reliability/Failover/ra/Test.Unit.Infrastructure.EntityScheduler.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Reliability/Failover/ra/Test.Unit.Infrastructure.EntityScheduler.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Reliability/Failover/ra/Test.Unit.Infrastructure.EntityScheduler.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
27.065217
110
0.698451
[ "vector" ]
0338dddaf5c23615654a3690d28dcd585586da16
7,167
hxx
C++
include/vigra/graph_rag_project_back.hxx
BSeppke/vigra
490213d8954a03bdb985b52cfaafd6389431efd8
[ "MIT" ]
316
2015-01-01T02:06:53.000Z
2022-03-28T08:37:28.000Z
include/vigra/graph_rag_project_back.hxx
BSeppke/vigra
490213d8954a03bdb985b52cfaafd6389431efd8
[ "MIT" ]
232
2015-01-06T23:51:07.000Z
2022-03-18T13:14:02.000Z
include/vigra/graph_rag_project_back.hxx
BSeppke/vigra
490213d8954a03bdb985b52cfaafd6389431efd8
[ "MIT" ]
150
2015-01-05T02:11:18.000Z
2022-03-16T09:44:14.000Z
/************************************************************************/ /* */ /* Copyright 2014 by Thorsten Beier and Ullrich Koethe */ /* */ /* This file is p...
36.943299
129
0.506349
[ "shape", "vector" ]
0339a605dbd179b96c5c6349f822fefbaef88387
8,432
cpp
C++
chromium/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "bindings/core/v8/ReadableStreamOperations.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/ScriptFunction.h" #include...
32.682171
125
0.682045
[ "object" ]
033c6e80eb25a371f76d811be32dfc971f70ac8e
2,593
cpp
C++
More Advanced Topics/More Advanced Search Techniques/Meet in the Middle A* DA*/Editing a Book.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
More Advanced Topics/More Advanced Search Techniques/Meet in the Middle A* DA*/Editing a Book.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
More Advanced Topics/More Advanced Search Techniques/Meet in the Middle A* DA*/Editing a Book.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector <int> vi; int n; unordered_map <string, int> special, target, source; int used[12]; inline void init(int n){ string start; for(int i=0; i<n; i++) start += (char)('1' + i); queue <string> q; q.push(start); target[start] = 0;...
28.494505
68
0.404551
[ "vector" ]
033d8f9bb4f1eb5fdffb1e7e83aa616dbb08b603
4,446
hpp
C++
modules/aruco/test/test_aruco_utils.hpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
modules/aruco/test/test_aruco_utils.hpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
modules/aruco/test/test_aruco_utils.hpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #include "test_precomp.hpp" namespace opencv_test { namespace { static inline vector<Point2f> getAxis(InputArray _cameraMatri...
34.734375
122
0.664417
[ "vector", "transform" ]
0345098de59be5681e6a79449d8cb3116274e40e
75,621
cpp
C++
src/method.cpp
giag3/peng-utils
f0883ffbf3b422de2e0ea326861114b1f5809037
[ "MIT" ]
1
2022-03-28T11:20:50.000Z
2022-03-28T11:20:50.000Z
src/method.cpp
giag3/peng-utils
f0883ffbf3b422de2e0ea326861114b1f5809037
[ "MIT" ]
null
null
null
src/method.cpp
giag3/peng-utils
f0883ffbf3b422de2e0ea326861114b1f5809037
[ "MIT" ]
null
null
null
#include "compiler/method.hpp" #include "vars.hpp" #include "error_handler/error_handler.hpp" #include "compiler/assembly_shortcuts.hpp" #include "parser/parser.hpp" #include "error_handler/console.hpp" // Get token with removing comments extern std::string get_token(source_file* file); extern std::string check_token(...
31.760185
264
0.542746
[ "object", "vector" ]
0345f38c8fd807333e5855fb02535ee75447bde0
12,525
cpp
C++
PCEater.cpp
TCLRainbow/PCEater
b1ed5d68fcde1a928a65c7a9c7ad82fdc2a04d21
[ "MIT" ]
null
null
null
PCEater.cpp
TCLRainbow/PCEater
b1ed5d68fcde1a928a65c7a9c7ad82fdc2a04d21
[ "MIT" ]
null
null
null
PCEater.cpp
TCLRainbow/PCEater
b1ed5d68fcde1a928a65c7a9c7ad82fdc2a04d21
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <chrono> #include <thread> #include <future> #include <cmath> #include <omp.h> #include "flags.h" #include <boost/compute/core.hpp> #include <boost/compute/algorithm/transform.hpp> #include <boost/compute/container/vector.hpp> #include <boost/compute/algorithm/iota.hpp> #i...
35.785714
137
0.511457
[ "vector", "transform" ]
0347213bcde4bf48627ad1b2bdeb0f4b9fafe422
1,271
cpp
C++
libraries/community/p1/All/NAVCOM AI Reference Design/AI_CURRENT_WORKING_STABLE/CoordThingy/c/My Project/Settings.Designer.cpp
deets/propeller
1468c8b334266f899882f404903b2dd833168799
[ "MIT" ]
82
2018-11-29T19:02:44.000Z
2022-03-11T18:50:24.000Z
libraries/community/p1/All/NAVCOM AI Reference Design/AI_CURRENT_WORKING_STABLE/CoordThingy/c/My Project/Settings.Designer.cpp
pik33/propeller
861213b91d4e6bd4e724a21389a5311d452f369d
[ "MIT" ]
30
2019-01-31T02:20:23.000Z
2022-01-26T17:50:25.000Z
libraries/community/p1/All/NAVCOM AI Reference Design/AI_CURRENT_WORKING_STABLE/CoordThingy/c/My Project/Settings.Designer.cpp
pik33/propeller
861213b91d4e6bd4e724a21389a5311d452f369d
[ "MIT" ]
73
2018-11-28T15:10:12.000Z
2022-03-22T21:00:25.000Z
#include "stdafx.h" #include "Settings.Designer.h" //INSTANT C++ NOTE: Formerly VB.NET project-level imports: using namespace System; using namespace System::Collections; using namespace System::Collections::Generic; using namespace System::Data; using namespace System::Drawing; using namespace System::Diagno...
27.630435
114
0.712825
[ "object" ]
0353d17ad2d96ccf864d889a19f8db330f51776b
1,010
hpp
C++
shared_model/validators/validation_error.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
shared_model/validators/validation_error.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
shared_model/validators/validation_error.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_VALIDATION_ERROR_HPP #define IROHA_VALIDATION_ERROR_HPP #include <string> #include <vector> namespace shared_model { namespace validation { using ReasonType = std::string; using ReasonName = ...
26.578947
75
0.644554
[ "vector" ]
03549c23582b65957abf6d9b5e3f7acd71f98ec5
1,927
cpp
C++
projects/RealTimeEngine/code/LightNode.cpp
Nechrito/s0009d-lab-env
61599401536205c344654ef2a270a010df0e2254
[ "MIT" ]
null
null
null
projects/RealTimeEngine/code/LightNode.cpp
Nechrito/s0009d-lab-env
61599401536205c344654ef2a270a010df0e2254
[ "MIT" ]
null
null
null
projects/RealTimeEngine/code/LightNode.cpp
Nechrito/s0009d-lab-env
61599401536205c344654ef2a270a010df0e2254
[ "MIT" ]
null
null
null
// Copyright © 2020 Philip Lindh // All rights reserved #include "LightNode.h" #include "Camera.h" void LightNode::IncreaseIntensity(const float deltaTime) { if (intensity < maxIntensity) intensity += intensityChange * deltaTime; else intensity = maxIntensity; } void LightNode::DecreaseIntensi...
27.528571
106
0.677737
[ "render", "vector", "model" ]
03567bab58ec02a0e8c8eb2641ee3c8c2c448152
2,675
hh
C++
src/gpu-compute/cl_driver.hh
dependablecomputinglab/gem5-mirror
67a00596f19c5afeb439e89468d2600dc189e5f6
[ "BSD-3-Clause" ]
3
2020-01-19T04:02:56.000Z
2022-03-29T02:12:41.000Z
src/gpu-compute/cl_driver.hh
dependablecomputinglab/gem5-mirror
67a00596f19c5afeb439e89468d2600dc189e5f6
[ "BSD-3-Clause" ]
2
2022-02-13T15:54:43.000Z
2022-03-22T06:19:28.000Z
src/gpu-compute/cl_driver.hh
dependablecomputinglab/gem5-mirror
67a00596f19c5afeb439e89468d2600dc189e5f6
[ "BSD-3-Clause" ]
3
2019-02-14T13:54:31.000Z
2021-07-09T11:06:26.000Z
/* * Copyright (c) 2012-2015 Advanced Micro Devices, Inc. * All rights reserved. * * For use for simulation and test purposes only * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
34.294872
80
0.757383
[ "vector" ]
035743abea25df09e1957cab34107a0272a5d073
349
cpp
C++
Microsoft/3.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Microsoft/3.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Microsoft/3.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void rotate(vector<vector<int>>& matrix) { int n = matrix.size(), m = matrix[0].size(); for (auto& x : matrix) { reverse(x.begin(), x.end()); } for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { if (i > j) { swap(matrix[i][j], matri...
19.388889
46
0.47851
[ "vector" ]
035c0f06ac5d5c77675661ccdf272a980567501e
662
hpp
C++
include/terrain/IVoxelChunkMeshGenerator.hpp
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
11
2015-08-19T23:15:41.000Z
2018-05-15T21:53:28.000Z
include/terrain/IVoxelChunkMeshGenerator.hpp
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
2
2015-05-21T06:37:24.000Z
2015-05-23T05:37:16.000Z
include/terrain/IVoxelChunkMeshGenerator.hpp
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
5
2016-10-31T08:02:15.000Z
2018-08-24T07:40:23.000Z
#ifndef IVOXELCHUNKMESHGENERATOR_H_ #define IVOXELCHUNKMESHGENERATOR_H_ #include "IFieldFunction.hpp" #include "VoxelChunk.hpp" namespace glr { namespace terrain { class IVoxelChunkMeshGenerator { public: /** * Will generate a mesh of the provided VoxelChunk, and put the data in the provided vectors (vertices, n...
25.461538
250
0.761329
[ "mesh", "vector" ]
035cfd78e0a927ce549bd067d9421a4405ab0ffb
1,199
cpp
C++
OJ/LeetCode/leetcode/problems/1207.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
null
null
null
OJ/LeetCode/leetcode/problems/1207.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
2
2021-10-31T10:05:45.000Z
2022-02-12T15:17:53.000Z
OJ/LeetCode/leetcode/1207.cpp
ONGOING-Z/Learn-Algorithm-and-DataStructure
3a512bd83cc6ed5035ac4550da2f511298b947c0
[ "MIT" ]
null
null
null
#//include <stdio.h> #include <vector> #include <algorithm> using namespace std; /* Leetcode */ /* Type: */ /* 题目信息 */ /* *1207. Unique Number of Occurrences Given an array of integers arr, write a function that returns true if and only if the number of occurrences of each value in the array is unique. Example 1: ...
18.166667
145
0.562135
[ "vector" ]
24e94f5d463bdf8331f6d14e054fac71fa8756bc
1,690
cpp
C++
Codechef/Interesting XOR!/Interesting XOR!.cpp
rahil-1407/Data-Structure-and-Algorithms
ea3eb9849aeb2716ef5812a0b5621a28120b1880
[ "MIT" ]
51
2021-01-14T04:05:55.000Z
2022-01-25T11:25:37.000Z
Codechef/Interesting XOR!/Interesting XOR!.cpp
rahil-1407/Data-Structure-and-Algorithms
ea3eb9849aeb2716ef5812a0b5621a28120b1880
[ "MIT" ]
638
2020-12-27T18:49:53.000Z
2021-11-21T05:22:52.000Z
Codechef/Interesting XOR!/Interesting XOR!.cpp
rahil-1407/Data-Structure-and-Algorithms
ea3eb9849aeb2716ef5812a0b5621a28120b1880
[ "MIT" ]
124
2021-01-30T06:40:20.000Z
2021-11-21T15:14:40.000Z
#include <bits/stdc++.h> using namespace std; int main() { // your code goes here ios_base::sync_with_stdio(false); cin.tie(NULL); long int t,n,count=0,i; cin>>t; //test cases while(t--){ cin>>n; stack<int> binary; //stack to store binary 0, 1 values i = 0; while (n ...
24.852941
89
0.405917
[ "vector" ]
24ed3077a51e4062b7410fc2986067743e489747
4,203
cpp
C++
source/geometry/GeometryTile.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
source/geometry/GeometryTile.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
source/geometry/GeometryTile.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // GeometryTile.cpp // MNN // // Created by MNN on 2020/04/21. // Copyright © 2018, Alibaba Group Holding Limited // #include "geometry/GeometryComputer.hpp" #include "core/Macro.h" #include "core/OpCommonUtils.hpp" namespace MNN { class GeometryTile : public GeometryComputer { public: virtual bool onComput...
39.280374
113
0.526291
[ "geometry", "vector" ]
24ed422a10f88b1efae520fa84245662941844d6
27,611
cpp
C++
trajectory_planner/src/c_manage_trajectory.cpp
ricardolfsilva/trajectory_planner
0840d74921feb79569de67a765c7d3c011ff8868
[ "MIT" ]
1
2021-09-25T15:05:04.000Z
2021-09-25T15:05:04.000Z
trajectory_planner/src/c_manage_trajectory.cpp
ricardolfsilva/trajectory_planner
0840d74921feb79569de67a765c7d3c011ff8868
[ "MIT" ]
null
null
null
trajectory_planner/src/c_manage_trajectory.cpp
ricardolfsilva/trajectory_planner
0840d74921feb79569de67a765c7d3c011ff8868
[ "MIT" ]
null
null
null
/************************************************************************************************** Software License Agreement (BSD License) Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt All rights reserved. Redistribution and use in source and binary forms, with o...
31.058493
120
0.615697
[ "geometry", "vector" ]
24f6c3da40dfeadbdbf24330c1a9e3b85f9f4fa9
13,025
cxx
C++
smtk/mesh/testing/cxx/UnitTestModelToMesh3D.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
40
2015-02-21T19:55:54.000Z
2022-01-06T13:13:05.000Z
smtk/mesh/testing/cxx/UnitTestModelToMesh3D.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
127
2015-01-15T20:55:45.000Z
2021-08-19T17:34:15.000Z
smtk/mesh/testing/cxx/UnitTestModelToMesh3D.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
27
2015-03-04T14:17:51.000Z
2021-12-23T01:05:42.000Z
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
35.013441
100
0.653359
[ "mesh", "model" ]
24fc66112695247e83473c48ceb62a5b56f9c24c
7,169
cpp
C++
week-08/clues/src/main.cpp
tehwalris/algolab
489e0f6dd137336fa32b8002fc6eed8a7d35d87a
[ "MIT" ]
1
2021-01-17T08:21:32.000Z
2021-01-17T08:21:32.000Z
week-08/clues/src/main.cpp
tehwalris/algolab
489e0f6dd137336fa32b8002fc6eed8a7d35d87a
[ "MIT" ]
null
null
null
week-08/clues/src/main.cpp
tehwalris/algolab
489e0f6dd137336fa32b8002fc6eed8a7d35d87a
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <vector> #include <deque> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Delaunay_triangulation_2.h> #include <CGAL/Triangulation_data_structure_2.h> #include <CGAL/Triangulation_vertex_base_with_info_2.h> #include <CGAL/Triangulation_face_...
31.442982
175
0.68587
[ "vector" ]
700adfbb382e1448850cc50ba01fc7a32dbe2231
1,944
hpp
C++
bahamut/tools/script-encoder.hpp
higan-emu/bahamut-lagoon-translation-kit
6f08de5b92b597c0b9ecebd485cc975b99acfc13
[ "0BSD" ]
2
2021-08-15T04:10:10.000Z
2021-08-15T20:14:13.000Z
bahamut/tools/script-encoder.hpp
higan-emu/bahamut-lagoon-translation-kit
6f08de5b92b597c0b9ecebd485cc975b99acfc13
[ "0BSD" ]
1
2022-02-16T02:46:39.000Z
2022-02-16T04:30:29.000Z
bahamut/tools/script-encoder.hpp
higan-emu/bahamut-lagoon-translation-kit
6f08de5b92b597c0b9ecebd485cc975b99acfc13
[ "0BSD" ]
1
2021-12-25T11:34:57.000Z
2021-12-25T11:34:57.000Z
#pragma once #include "text-encoder.hpp" struct ScriptEncoder : TextEncoder { using TextEncoder::load; auto load() -> void; auto lineWidth(const string& text, u32 index = 0) -> maybe<u32>; }; auto ScriptEncoder::load() -> void { FontEncoder::load("font-large", 8, 11); } //enhanced version of TextEncoder::li...
31.354839
89
0.610597
[ "render" ]
700be3ebb574c0214c2933b1bec22e208b92bf12
620
hpp
C++
source/ashes/renderer/D3D11Renderer/Command/Commands/D3D11ScissorCommand.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/D3D11Renderer/Command/Commands/D3D11ScissorCommand.hpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/D3D11Renderer/Command/Commands/D3D11ScissorCommand.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder */ #pragma once #include "renderer/D3D11Renderer/Command/Commands/D3D11CommandBase.hpp" namespace ashes::d3d11 { /** *\brief * Commande d'application d'un scissor. */ class ScissorCommand : public CommandBase { public: /** *\brief * Constru...
17.222222
71
0.695161
[ "vector" ]
700f2355829272cb8f0f83545d983f2b1063d5ce
1,441
cpp
C++
datasets/github_cpp_10/8/52.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/8/52.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/8/52.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <climits> #include <stdio.h> #include <queue> #include <set> #include <list> #include <cmath> #include <assert.h> #include <bitset> #include <map> #include <unordered_map> #include <unordered_set> #include <iomanip> #define mp make_pair #define pb ...
21.833333
103
0.523248
[ "vector" ]
70143c90116eb28bdfcfe4b41b297754d3b6db99
40,249
cpp
C++
RenderSystems/Vulkan/src/OgreVulkanQueue.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
1
2019-10-29T23:36:28.000Z
2019-10-29T23:36:28.000Z
RenderSystems/Vulkan/src/OgreVulkanQueue.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
null
null
null
RenderSystems/Vulkan/src/OgreVulkanQueue.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-present Torus Knot Software Ltd Permission is hereby granted, free of charge, to any pers...
43.232009
108
0.576362
[ "render", "object" ]
7019795df361a0e7fd463c2c648be1c42cef3b01
7,079
cpp
C++
src/modules/osgUtil/generated_code/DelaunayTriangulator.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
3
2017-04-20T09:11:47.000Z
2021-04-29T19:24:03.000Z
src/modules/osgUtil/generated_code/DelaunayTriangulator.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
null
null
null
src/modules/osgUtil/generated_code/DelaunayTriangulator.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
null
null
null
// This file has been generated by Py++. #include "boost/python.hpp" #include "wrap_osgUtil.h" #include "wrap_referenced.h" #include "DelaunayTriangulator.pypp.hpp" namespace bp = boost::python; void register_DelaunayTriangulator_class(){ { //::osgUtil::DelaunayTriangulator typedef bp::class_< osgUtil::...
49.852113
281
0.608702
[ "geometry", "object" ]
70297dc15069aafa3c7747c47731901f5878c563
4,731
cc
C++
tensorflow_serving/core/load_servables_fast.cc
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
5,791
2016-02-16T17:50:06.000Z
2022-03-31T11:53:10.000Z
tensorflow_serving/core/load_servables_fast.cc
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
1,618
2016-02-16T18:04:00.000Z
2022-03-30T07:24:28.000Z
tensorflow_serving/core/load_servables_fast.cc
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
2,501
2016-02-16T19:57:43.000Z
2022-03-27T02:43:49.000Z
/* Copyright 2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
38.778689
80
0.661171
[ "vector" ]
7029c66d32fd9f4ecf0867cfc2a1c4f396240cc1
29,406
cpp
C++
ActionReconstructionLib/InverseProblem_Adjoint_YoungsModulus.cpp
shamanDevel/SparseSurfaceConstraints
88357ff847369a45b9f16f9f44159196138f9147
[ "MIT" ]
16
2020-03-08T18:28:27.000Z
2022-02-13T20:32:56.000Z
ActionReconstructionLib/InverseProblem_Adjoint_YoungsModulus.cpp
shamanDevel/SparseSurfaceConstraints
88357ff847369a45b9f16f9f44159196138f9147
[ "MIT" ]
null
null
null
ActionReconstructionLib/InverseProblem_Adjoint_YoungsModulus.cpp
shamanDevel/SparseSurfaceConstraints
88357ff847369a45b9f16f9f44159196138f9147
[ "MIT" ]
3
2020-03-26T01:54:31.000Z
2020-11-18T13:32:46.000Z
#include "InverseProblem_Adjoint_YoungsModulus.h" #include <Eigen/Dense> #include <tinyformat.h> #include <cinder/Log.h> #include <numeric> #include <LBFGS.h> #include <fstream> #include "GradientDescent.h" #include "AdjointUtilities.h" using namespace std; using namespace Eigen; #define DEBUG_SAVE_MATRICES 0 nam...
46.602219
178
0.678365
[ "mesh", "vector" ]
703042cf3efdc641e6b5f7e0d99a44f1b8a5876e
3,410
cpp
C++
src/dataloader.cpp
CoinCheung/ImageNet-Loader
e3b860c1597f2c1aa30df2479b717989256ce1bd
[ "Apache-2.0" ]
2
2020-04-16T04:05:41.000Z
2020-06-23T00:43:54.000Z
src/dataloader.cpp
CoinCheung/ImageNet-Loader
e3b860c1597f2c1aa30df2479b717989256ce1bd
[ "Apache-2.0" ]
null
null
null
src/dataloader.cpp
CoinCheung/ImageNet-Loader
e3b860c1597f2c1aa30df2479b717989256ce1bd
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <chrono> #include <vector> #include <string> #include <numeric> #include <cmath> #include <array> #include <fstream> #include <sstream> #include <future> #include <thread> #include <glog/logging.h> #include <opencv2/opencv.hpp> #include "pipeline.hpp" #include "random.hpp" #include "datal...
27.723577
137
0.570968
[ "vector" ]
7038bd1362f74c7bbfa8a15bf83155daea6b9fae
3,328
cpp
C++
pytorch/cpp/pybind.cpp
AndrejOrsula/O-CNN
e17290a206c3fe23d80873fb21d7243f71e2e9df
[ "MIT" ]
null
null
null
pytorch/cpp/pybind.cpp
AndrejOrsula/O-CNN
e17290a206c3fe23d80873fb21d7243f71e2e9df
[ "MIT" ]
1
2021-07-15T19:02:21.000Z
2021-07-15T19:02:21.000Z
pytorch/cpp/pybind.cpp
AndrejOrsula/O-CNN
e17290a206c3fe23d80873fb21d7243f71e2e9df
[ "MIT" ]
null
null
null
#include "ocnn.h" PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { m.def("octree_batch", &octree_batch, "merge a batch of octrees"); m.def("octree_samples", &octree_samples, "octree samples"); m.def("points2octree", &points2octree, "convert points to octree"); m.def("octree2col", &octree2col, "octree2col"); m.def(...
65.254902
90
0.686599
[ "transform" ]
7045fb6910a8133dd8025762b0f0e74eaa6be324
22,357
cpp
C++
TerraEd/TerraEdDoc.cpp
cjburchell/terrafighter
debc9b7563de05263d9159fbff15407a2dcb0fe9
[ "Apache-2.0" ]
null
null
null
TerraEd/TerraEdDoc.cpp
cjburchell/terrafighter
debc9b7563de05263d9159fbff15407a2dcb0fe9
[ "Apache-2.0" ]
null
null
null
TerraEd/TerraEdDoc.cpp
cjburchell/terrafighter
debc9b7563de05263d9159fbff15407a2dcb0fe9
[ "Apache-2.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// TerraEdDoc.cpp /// /// PATH: D:\dev2\TerraEd /// /// CREATED: 03/06/2004 9:07:16 AM by Christiaan Burchell /// /// PURPOSE: implementation of the CTerraEdDoc class /// /// COPYRIGHT NOTICE: Copyright (C) 2004 Redpoint Games ///...
22.245771
110
0.530259
[ "object" ]
704ee503e8fecae82e2c086fca142298112d8b97
547
hpp
C++
source/011/Grid.hpp
TheBuzzSaw/ProjectEuler
0aa472dc7dac3a710b6a99538b2cbaf8b6463abc
[ "Unlicense" ]
1
2015-03-12T19:56:28.000Z
2015-03-12T19:56:28.000Z
source/011/Grid.hpp
TheBuzzSaw/ProjectEuler
0aa472dc7dac3a710b6a99538b2cbaf8b6463abc
[ "Unlicense" ]
null
null
null
source/011/Grid.hpp
TheBuzzSaw/ProjectEuler
0aa472dc7dac3a710b6a99538b2cbaf8b6463abc
[ "Unlicense" ]
null
null
null
#ifndef GridHpp #define GridHpp #include <iostream> #include <vector> #include <cstdint> class Grid { public: Grid(std::istream& stream); ~Grid(); int64_t Get(std::size_t row, std::size_t column) const; std::size_t RowCount() const; std::size_t ColumnCount() const; private: ...
18.862069
60
0.610603
[ "vector" ]
7050b48dc181905dc3857aeca23c9840000d586c
921
hpp
C++
RainbowNoise/src/Theory/HybridDiffGenerator.hpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
24
2016-12-13T09:48:17.000Z
2022-01-13T03:24:45.000Z
RainbowNoise/src/Theory/HybridDiffGenerator.hpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
2
2019-03-29T06:44:41.000Z
2019-11-12T03:14:25.000Z
RainbowNoise/src/Theory/HybridDiffGenerator.hpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
8
2016-11-09T15:54:19.000Z
2021-04-08T14:04:17.000Z
/* HybridDiffGenerator.hpp hybrid diff generator for needles over white noise Li-Yi Wei 11/04/2008 */ #ifndef _HYBRID_DIFF_GENERATOR_HPP #define _HYBRID_DIFF_GENERATOR_HPP #include "DiffGenerator.hpp" class HybridDiffGenerator : public DiffGenerator { public: // r_value: positive for removing diff < r...
21.928571
104
0.744843
[ "vector" ]
705d504e48580cc8f51dad56df1ed7ec6bc69300
6,381
cpp
C++
Code/Editor/TrackView/AssetBlendKeyUIControls.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Editor/TrackView/AssetBlendKeyUIControls.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Editor/TrackView/AssetBlendKeyUIControls.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include "EditorDefs.h" // AzCore #include <AzCore/Asset/AssetManagerBus.h> // CryCommon #inclu...
39.88125
126
0.616048
[ "object", "3d" ]
7062a83d52d621f55ecdca47cc960196712bc2c5
4,072
hpp
C++
saga/impl/engine/ini/ini.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/impl/engine/ini/ini.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/impl/engine/ini/ini.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) // Copyright (c) 2009 João Abecasis // // 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 _SAGA_IMPL_INI_H_ #define _SAGA_IMPL_INI_H_ 1 #include ...
31.565891
87
0.533153
[ "vector" ]
70635ec5ba77bf1949877478d8cb4b5a1c21bbe1
6,348
cpp
C++
flashlight/ext/integrations/halide/HalideInterface.cpp
harveenchadha/flashlight
80978b464c20b8f9b9eb73cb17c000f7613c35b3
[ "BSD-3-Clause" ]
1
2021-04-24T07:53:02.000Z
2021-04-24T07:53:02.000Z
flashlight/ext/integrations/halide/HalideInterface.cpp
harveenchadha/flashlight
80978b464c20b8f9b9eb73cb17c000f7613c35b3
[ "BSD-3-Clause" ]
5
2021-06-20T23:58:27.000Z
2021-07-09T17:45:07.000Z
flashlight/ext/integrations/halide/HalideInterface.cpp
harveenchadha/flashlight
80978b464c20b8f9b9eb73cb17c000f7613c35b3
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "flashlight/ext/integrations/halide/HalideInterface.h" #include "flashlight/fl/common/CudaUtils.h" #include <af/dev...
30.965854
80
0.665879
[ "vector" ]
7065b5fa80fe0b4ae254a27e4736b9bae88975be
5,961
cc
C++
src/shader_compiler.cc
paulthomson/amber
f0a3613b727c240ae8b98e232e655db71d87217e
[ "Apache-2.0" ]
1
2019-04-25T16:27:11.000Z
2019-04-25T16:27:11.000Z
src/shader_compiler.cc
ConnectionMaster/amber
cea300d8e6b46f7aa329b20214e0b3bafb586734
[ "Apache-2.0" ]
null
null
null
src/shader_compiler.cc
ConnectionMaster/amber
cea300d8e6b46f7aa329b20214e0b3bafb586734
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Amber 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 agreed...
32.048387
80
0.666331
[ "vector" ]
70677101bf20d81d1ca1357b4c42d7d93e51c4bd
35,127
cpp
C++
osx/devkit/plug-ins/swissArmyManip/swissArmyManip.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
10
2018-03-30T16:09:02.000Z
2021-12-07T07:29:19.000Z
osx/devkit/plug-ins/swissArmyManip/swissArmyManip.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
null
null
null
osx/devkit/plug-ins/swissArmyManip/swissArmyManip.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
9
2018-06-02T09:18:49.000Z
2021-12-20T09:24:35.000Z
//- // ========================================================================== // Copyright 1995,2006,2008 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk // license agreement provided at the time of installation or download, // or which otherwise accompanies th...
28.1016
95
0.670624
[ "geometry", "shape", "transform" ]
70677c1fd9214001fe1f3c84f082b5fd0b9f61fc
7,846
cpp
C++
hash.cpp
damodar123/pythia-core
6b90aafed40aa63185105a652b20c61fc5a4320d
[ "BSD-3-Clause" ]
null
null
null
hash.cpp
damodar123/pythia-core
6b90aafed40aa63185105a652b20c61fc5a4320d
[ "BSD-3-Clause" ]
null
null
null
hash.cpp
damodar123/pythia-core
6b90aafed40aa63185105a652b20c61fc5a4320d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2011, Pythia authors (see AUTHORS file). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice,...
27.822695
83
0.674101
[ "object", "vector" ]
0ad30c5773ed27c08a0630765ebcee2f981015ed
3,013
cpp
C++
FaceAlignment/TestDemo.cpp
williamchenwl/FaceAlignmentByShapeRegression
65e84aca36c756491f6554eb55e10b545223ec79
[ "MIT" ]
8
2017-06-01T15:02:52.000Z
2021-11-10T07:19:08.000Z
FaceAlignment/TestDemo.cpp
williamchenwl/FaceAlignmentByShapeRegression
65e84aca36c756491f6554eb55e10b545223ec79
[ "MIT" ]
null
null
null
FaceAlignment/TestDemo.cpp
williamchenwl/FaceAlignmentByShapeRegression
65e84aca36c756491f6554eb55e10b545223ec79
[ "MIT" ]
1
2021-11-10T07:20:20.000Z
2021-11-10T07:20:20.000Z
/* Author: Bi Sai Date: 2014/06/18 This program is a reimplementation of algorithms in "Face Alignment by Explicit Shape Regression" by Cao et al. If you find any bugs, please email me: soundsilencebisai-at-gmail-dot-com Copyright (c) 2014 Bi Sai The MIT License (MIT) Permission is hereby granted, free of charge, t...
38.139241
115
0.691338
[ "shape", "vector", "model" ]
0ad7c5049f4c62b7805da8acc8a659a11f3352d3
15,216
cpp
C++
SpectatorView/Compositor/UnityCompositorInterface/UnityCompositorInterface.cpp
OrangeLV/HoloLensCompanionKit
c08f631b6dda7689529e4f908cd09f4d12172402
[ "MIT" ]
null
null
null
SpectatorView/Compositor/UnityCompositorInterface/UnityCompositorInterface.cpp
OrangeLV/HoloLensCompanionKit
c08f631b6dda7689529e4f908cd09f4d12172402
[ "MIT" ]
null
null
null
SpectatorView/Compositor/UnityCompositorInterface/UnityCompositorInterface.cpp
OrangeLV/HoloLensCompanionKit
c08f631b6dda7689529e4f908cd09f4d12172402
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #include "stdafx.h" #include "CompositorShared.h" #include <Windows.h> #include <ppltasks.h> #include "DirectXHelper.h" #include "CompositorInterface.h" #i...
24.822186
131
0.648725
[ "render" ]