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
6dc042ed072decdca6a96ad518c9b67e1c491e5a
275
cpp
C++
static function in c++/main.cpp
Adarsh1999/learn.cpp
bd9b5238d62d6e9f8ebd7b7b8efe745a30e56f92
[ "MIT" ]
null
null
null
static function in c++/main.cpp
Adarsh1999/learn.cpp
bd9b5238d62d6e9f8ebd7b7b8efe745a30e56f92
[ "MIT" ]
null
null
null
static function in c++/main.cpp
Adarsh1999/learn.cpp
bd9b5238d62d6e9f8ebd7b7b8efe745a30e56f92
[ "MIT" ]
1
2019-10-24T11:15:51.000Z
2019-10-24T11:15:51.000Z
#include<iostream> using namespace std; class sample { static int c; public: sample(){ c++; } static int display(){ return c; } }; int sample :: c; int main(){ sample s1,s2,s3,s4; cout<<"total Object = "<<sample :: display(); }
15.277778
49
0.538182
[ "object" ]
6dc07732de817873b68ab66f86f52a7e115615d0
45,536
cc
C++
tensorflow/core/ops/math_grad_test.cc
imdone/tensorflow
bb4d1ef3861c83627ee9586b85ac3070a7d38335
[ "Apache-2.0" ]
1
2021-04-16T14:53:22.000Z
2021-04-16T14:53:22.000Z
tensorflow/core/ops/math_grad_test.cc
imdone/tensorflow
bb4d1ef3861c83627ee9586b85ac3070a7d38335
[ "Apache-2.0" ]
10
2018-02-04T18:41:52.000Z
2018-05-02T09:00:46.000Z
tensorflow/core/ops/math_grad_test.cc
imdone/tensorflow
bb4d1ef3861c83627ee9586b85ac3070a7d38335
[ "Apache-2.0" ]
4
2018-01-17T14:22:49.000Z
2018-02-27T15:06:41.000Z
/* Copyright 2016 The TensorFlow Authors. 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 a...
38.329966
80
0.468047
[ "vector" ]
6dc227a38fc5e29a6c2eaf95b5d1efc77bbe37a5
8,766
hpp
C++
include/GlobalNamespace/MenuShockwave.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/MenuShockwave.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/MenuShockwave.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
52.807229
386
0.737052
[ "object", "vector" ]
6dc24dc0cc9f176fc2094384d7c43419d03035da
1,437
cpp
C++
acmp.ru/0540/540.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
acmp.ru/0540/540.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
acmp.ru/0540/540.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; struct elem { long long leftDiag, rightDiag, val; elem(long long lD = 0, long long rD = 0, long long val = 0, long long mod = 1):leftDiag(lD%mod), rightDiag(rD%mod),...
25.210526
101
0.455811
[ "vector" ]
6dc979e7984dacc31411d7ab6e5536c16449c257
11,009
cpp
C++
src/base/FrameRenderer.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
null
null
null
src/base/FrameRenderer.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
null
null
null
src/base/FrameRenderer.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2010 - 2015 Leonid Kostrykin * * Chair of Medical Engineering (mediTEC) * RWTH Aachen University * Pauwelsstr. 20 * 52074 Aachen * Germany * */ #include <Carna/base/glew.h> #include <Carna/base/glError.h> #include <Carna/base/FrameRenderer.h> #include <Carna/base/Camera.h> #include <C...
25.308046
127
0.574076
[ "mesh", "render", "vector" ]
6dcaa0ee8c2862f7ab82097bbb5e20ffaa629e3e
5,203
cc
C++
src/lib/hooks/tests/parking_lots_unittest.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
2
2021-06-29T09:56:34.000Z
2021-06-29T09:56:39.000Z
src/lib/hooks/tests/parking_lots_unittest.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
null
null
null
src/lib/hooks/tests/parking_lots_unittest.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <exceptions/exc...
33.352564
80
0.72881
[ "object" ]
6dceb958414ac9b01d14e058b88cd3f76439e00f
3,194
cpp
C++
Language/Problem16.cpp
YuBis/ModernCppChallengeStudy
32d9de5fc2aedb8a1df0fb1ee820fb9697939226
[ "MIT" ]
null
null
null
Language/Problem16.cpp
YuBis/ModernCppChallengeStudy
32d9de5fc2aedb8a1df0fb1ee820fb9697939226
[ "MIT" ]
null
null
null
Language/Problem16.cpp
YuBis/ModernCppChallengeStudy
32d9de5fc2aedb8a1df0fb1ee820fb9697939226
[ "MIT" ]
null
null
null
// Project.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다. // #include "stdafx.h" #include <conio.h> #include <iostream> #include <sstream> #include <algorithm> #include <vector> #include <array> #include <cassert> #define OCTET_MAX 0b11111111 static const std::array<int, 4> ERROR_VALUE{ -1, -1, -1, -1 }; class IPv4 { public: static ...
19.47561
136
0.656544
[ "vector" ]
6dd1c61490e142a46a32e29236db3e04c9f5ba6a
1,978
cpp
C++
android-31/android/os/SharedMemory.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/os/SharedMemory.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/os/SharedMemory.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./Parcel.hpp" #include "../../JString.hpp" #include "../../java/nio/ByteBuffer.hpp" #include "./SharedMemory.hpp" namespace android::os { // Fields JObject SharedMemory::CREATOR() { return getStaticObjectField( "android.os.SharedMemory", "CREATOR", "Landroid/os/Parcelable$Creator;" ); } /...
18.485981
79
0.654702
[ "object" ]
6dd2c0ec1743a6a50173f89a64256bcaffe280a6
17,281
cpp
C++
rclcpp_lifecycle/test/test_lifecycle_service_client.cpp
jlack1987/rclcpp
d107a844eae6f4d6a86515f0b3e469802ab1e785
[ "Apache-2.0" ]
271
2015-04-07T15:26:53.000Z
2022-03-31T17:42:58.000Z
rclcpp_lifecycle/test/test_lifecycle_service_client.cpp
jlack1987/rclcpp
d107a844eae6f4d6a86515f0b3e469802ab1e785
[ "Apache-2.0" ]
1,676
2015-01-15T23:46:56.000Z
2022-03-31T21:32:06.000Z
rclcpp_lifecycle/test/test_lifecycle_service_client.cpp
jlack1987/rclcpp
d107a844eae6f4d6a86515f0b3e469802ab1e785
[ "Apache-2.0" ]
299
2015-10-05T16:51:32.000Z
2022-03-30T11:23:18.000Z
// Copyright 2020 Open Source Robotics Foundation, 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 appli...
36.304622
98
0.755338
[ "vector" ]
6de53f5c267cd9cb26c68b601fc1d7cc1f9f4125
258,647
cpp
C++
Bld1/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.OpenXR_Attr.cpp
Reality-Hack-2022/TEAM-30
f3346ea1d7aa307f518730f12ec42cd18f5543e6
[ "MIT" ]
1
2022-03-28T07:59:17.000Z
2022-03-28T07:59:17.000Z
Bld1/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.OpenXR_Attr.cpp
Reality-Hack-2022/TEAM-30
f3346ea1d7aa307f518730f12ec42cd18f5543e6
[ "MIT" ]
null
null
null
Bld1/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.OpenXR_Attr.cpp
Reality-Hack-2022/TEAM-30
f3346ea1d7aa307f518730f12ec42cd18f5543e6
[ "MIT" ]
1
2022-03-26T18:23:31.000Z
2022-03-26T18:23:31.000Z
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <limits> #include <stdint.h> // System.Char[] struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34; // System.String[] struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A; // System.Type[] str...
69.21247
465
0.898843
[ "object" ]
6de724291cbc3b92f876398e4cba088dbb8509f4
5,005
cpp
C++
osquery/tables/applications/darwin/browser_plugins.cpp
saydulk/osquery
5789d889f421f6761ba7c600d7eaf8a3ba18ee82
[ "BSD-3-Clause" ]
null
null
null
osquery/tables/applications/darwin/browser_plugins.cpp
saydulk/osquery
5789d889f421f6761ba7c600d7eaf8a3ba18ee82
[ "BSD-3-Clause" ]
null
null
null
osquery/tables/applications/darwin/browser_plugins.cpp
saydulk/osquery
5789d889f421f6761ba7c600d7eaf8a3ba18ee82
[ "BSD-3-Clause" ]
16
2017-01-12T10:37:09.000Z
2019-04-19T08:23:19.000Z
/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include <o...
28.4375
79
0.674925
[ "vector" ]
6df0a55b1bbc1d037dc99603c17d1beffb21ecb6
16,213
hh
C++
harfbuzz-sys/harfbuzz/src/hb.hh
raphlinus/rust-harfbuzz
54c9be42cd23677df87b26938b0d6617df66e7e1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
56
2019-01-06T21:58:29.000Z
2022-02-10T06:22:47.000Z
harfbuzz-sys/harfbuzz/src/hb.hh
raphlinus/rust-harfbuzz
54c9be42cd23677df87b26938b0d6617df66e7e1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
harfbuzz-sys/harfbuzz/src/hb.hh
raphlinus/rust-harfbuzz
54c9be42cd23677df87b26938b0d6617df66e7e1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
4
2020-04-07T00:53:31.000Z
2021-03-21T08:18:21.000Z
/* * Copyright © 2007,2008,2009 Red Hat, Inc. * Copyright © 2011,2012 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentatio...
30.361423
127
0.717017
[ "object" ]
6df2bafda6952db4d17e696263055e7ac6d72010
16,352
hpp
C++
include/boost/geometry/extensions/generic_robust_predicates/strategies/cartesian/detail/error_bound.hpp
BoostGSoC20/geometry
5b63bdc9086829c4c00bf9f5e23c664430acdd48
[ "BSL-1.0" ]
5
2020-05-15T20:30:38.000Z
2022-01-31T08:14:05.000Z
include/boost/geometry/extensions/generic_robust_predicates/strategies/cartesian/detail/error_bound.hpp
Srutip04/geometry
5b63bdc9086829c4c00bf9f5e23c664430acdd48
[ "BSL-1.0" ]
null
null
null
include/boost/geometry/extensions/generic_robust_predicates/strategies/cartesian/detail/error_bound.hpp
Srutip04/geometry
5b63bdc9086829c4c00bf9f5e23c664430acdd48
[ "BSL-1.0" ]
4
2020-12-03T13:22:49.000Z
2022-03-31T10:43:59.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2020 Tinko Bartels, Berlin, Germany. // Contributed and/or modified by Tinko Bartels, // as part of Google Summer of Code 2020 program. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompa...
26.983498
113
0.618395
[ "geometry" ]
6dfb9808bb337e8f85076fdb5ac83a432f41a3d9
8,202
hxx
C++
src/Module/Decoder/RSC/BCJR/Inter_intra/Decoder_RSC_BCJR_inter_intra.hxx
bonben/aff3ct
8e78123bfc0a377947ecb690ce1e0d70c0dc0a68
[ "MIT" ]
null
null
null
src/Module/Decoder/RSC/BCJR/Inter_intra/Decoder_RSC_BCJR_inter_intra.hxx
bonben/aff3ct
8e78123bfc0a377947ecb690ce1e0d70c0dc0a68
[ "MIT" ]
4
2018-09-27T16:46:31.000Z
2018-11-22T11:10:41.000Z
src/Module/Decoder/RSC/BCJR/Inter_intra/Decoder_RSC_BCJR_inter_intra.hxx
bonben/aff3ct
8e78123bfc0a377947ecb690ce1e0d70c0dc0a68
[ "MIT" ]
null
null
null
#include <limits> #include <sstream> #include "Tools/Exception/exception.hpp" #include "Tools/Math/utils.h" #include "Decoder_RSC_BCJR_inter_intra.hpp" namespace aff3ct { namespace module { template <typename B, typename R> Decoder_RSC_BCJR_inter_intra<B,R> ::Decoder_RSC_BCJR_inter_intra(const int &K, ...
32.164706
139
0.631675
[ "vector" ]
a301ad06152be7e8fdbaa6f03698d61908d4f128
1,327
cpp
C++
DetectorDescription/RegressionTest/test/reg_rot.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DetectorDescription/RegressionTest/test/reg_rot.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DetectorDescription/RegressionTest/test/reg_rot.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include <iostream> #include <vector> #include <cmath> #include "CLHEP/Vector/ThreeVector.h" #include "CLHEP/Vector/Rotation.h" #include "CLHEP/Units/GlobalSystemOfUnits.h" using namespace std; /* print a rotationmatrix in phiX, thetaX, phiY, ... representation when given in an (rotation-axis, rotation-angle)-re...
32.365854
66
0.546345
[ "vector" ]
a302d0424fe27243f7e0c3c97a0ab5776f23a325
8,671
hpp
C++
src/core/reference/include/ngraph/runtime/reference/deformable_psroi_pooling.hpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
ngraph/core/reference/include/ngraph/runtime/reference/deformable_psroi_pooling.hpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
ngraph/core/reference/include/ngraph/runtime/reference/deformable_psroi_pooling.hpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // DeformablePSROIPooling implementation was inspired by // https://github.com/msracver/Deformable-ConvNets // Copyright (c) 2017 Microsoft // SPDX-License-Identifier: MIT #pragma once #include <cfenv> #include <cmath> #include <stri...
49.548571
119
0.55553
[ "shape", "vector" ]
a30336ba2c6f924d578ae5ed51e4b8ace16cb607
101,879
cpp
C++
Plugins/org.mitk.gui.qt.diffusionimaging.fiberfox/src/internal/QmitkFiberfoxView.cpp
HRS-Navigation/MITK-Diffusion
b1bf62d1c76f0d0cc26dd252561cb5d8769b4f87
[ "BSD-3-Clause" ]
37
2019-07-05T10:55:06.000Z
2022-03-21T12:09:35.000Z
Plugins/org.mitk.gui.qt.diffusionimaging.fiberfox/src/internal/QmitkFiberfoxView.cpp
HRS-Navigation/MITK-Diffusion
b1bf62d1c76f0d0cc26dd252561cb5d8769b4f87
[ "BSD-3-Clause" ]
6
2019-11-04T16:05:47.000Z
2022-03-22T15:53:31.000Z
Plugins/org.mitk.gui.qt.diffusionimaging.fiberfox/src/internal/QmitkFiberfoxView.cpp
HRS-Navigation/MITK-Diffusion
b1bf62d1c76f0d0cc26dd252561cb5d8769b4f87
[ "BSD-3-Clause" ]
10
2019-10-15T14:37:26.000Z
2022-02-18T03:22:01.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR P...
46.690651
331
0.726568
[ "geometry", "vector", "model" ]
a3088a77a7b221da65e0653bf4034594bab39d53
4,784
cpp
C++
core/LunaClient.cpp
webosose/com.webos.service.unifiedsearch
9e1c606dc6084476b711e64110b894a3f9bff019
[ "Apache-2.0" ]
null
null
null
core/LunaClient.cpp
webosose/com.webos.service.unifiedsearch
9e1c606dc6084476b711e64110b894a3f9bff019
[ "Apache-2.0" ]
null
null
null
core/LunaClient.cpp
webosose/com.webos.service.unifiedsearch
9e1c606dc6084476b711e64110b894a3f9bff019
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2020 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
28.47619
143
0.660326
[ "object", "vector" ]
a30d95a54568b3b2bfdf24ebfa7d5b352c67f8bc
9,177
cpp
C++
cpid/redisclient.cpp
unghee/TorchCraftAI
e6d596483d2a9a8b796765ed98097fcae39b6ac0
[ "MIT" ]
629
2018-11-19T21:03:01.000Z
2022-02-25T03:31:40.000Z
cpid/redisclient.cpp
unghee/TorchCraftAI
e6d596483d2a9a8b796765ed98097fcae39b6ac0
[ "MIT" ]
27
2018-11-23T22:49:28.000Z
2020-05-15T21:09:30.000Z
cpid/redisclient.cpp
unghee/TorchCraftAI
e6d596483d2a9a8b796765ed98097fcae39b6ac0
[ "MIT" ]
129
2018-11-22T01:16:56.000Z
2022-03-29T15:24:16.000Z
/* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "redisclient.h" #include <unordered_map> #include <fmt/format.h> namespace cpid { namespace { template <typename ForwardIt>...
25.923729
79
0.665577
[ "vector" ]
a31003f281ba795e258b33f3a35cfa6f19150405
15,137
cpp
C++
src/core/tests/coordinate_range.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
ngraph/test/coordinate_range.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
ngraph/test/coordinate_range.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <algorithm> #include <ngraph/coordinate_range.hpp> #include <numeric> #include <utility> #include "gtest/gtest.h" using namespace ngraph; using namespace ngraph::coordinates; using Index = size_t; using ExpectedOutput = s...
37.283251
148
0.550043
[ "shape", "vector", "transform" ]
a31106d191fed529e8fd658ff8181a631f1634f3
112
cpp
C++
Window.cpp
lopesivan/delegation
c999f32145db3a43d92e01a40947306028c08de5
[ "MIT" ]
null
null
null
Window.cpp
lopesivan/delegation
c999f32145db3a43d92e01a40947306028c08de5
[ "MIT" ]
null
null
null
Window.cpp
lopesivan/delegation
c999f32145db3a43d92e01a40947306028c08de5
[ "MIT" ]
null
null
null
// // Created by ivan on 11/29/15. // #include "Window.h" double Window::area() { return shape->area(); }
11.2
31
0.589286
[ "shape" ]
a313b556cfe82056f84c1dd891c184520ba04f7f
27,644
cc
C++
talk/p2p/client/basicportallocator.cc
udit043/libjingle-0.6.14
acc37d0b3c29e984d6ba986b1edd8b1527e0451b
[ "BSD-3-Clause" ]
2
2017-09-05T03:49:39.000Z
2017-09-09T03:53:10.000Z
talk/p2p/client/basicportallocator.cc
udit043/libjingle-0.6.14
acc37d0b3c29e984d6ba986b1edd8b1527e0451b
[ "BSD-3-Clause" ]
null
null
null
talk/p2p/client/basicportallocator.cc
udit043/libjingle-0.6.14
acc37d0b3c29e984d6ba986b1edd8b1527e0451b
[ "BSD-3-Clause" ]
2
2016-08-17T07:21:08.000Z
2020-03-04T06:21:25.000Z
/* * libjingle * Copyright 2004--2005, Google Inc. * * 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 conditions and...
33.225962
80
0.662675
[ "vector" ]
a3162c6728b065226b5d75d3406da514a91501a4
2,399
cpp
C++
src/xray/core/sources/math_frustum.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/core/sources/math_frustum.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/core/sources/math_frustum.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 23.10.2008 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" using xray::math::frustum; using xray::math:...
45.264151
77
0.576907
[ "vector", "transform" ]
a31637ceffbac7113a27c0185fe70d1568c46ee0
3,869
cpp
C++
erpc-sys/src/client.cpp
frankrap/erpc-rs
2de6224732db91e766b848e7f3c01cee7252496b
[ "Apache-2.0" ]
8
2020-01-23T22:29:29.000Z
2022-02-01T00:52:31.000Z
erpc-sys/src/client.cpp
frankrap/erpc-rs
2de6224732db91e766b848e7f3c01cee7252496b
[ "Apache-2.0" ]
null
null
null
erpc-sys/src/client.cpp
frankrap/erpc-rs
2de6224732db91e766b848e7f3c01cee7252496b
[ "Apache-2.0" ]
null
null
null
#include "common.h" #include "rpc.h" #include "rpc_types.h" #include "transport_impl/eth_common.h" #include "util/latency.h" #include "util/numautils.h" #include <cstring> #include <signal.h> extern "C" { void client_cont_func(void *_c, void *_tag) { printf("client_cont_func start\n"); auto tag = reinterp...
30.706349
83
0.614629
[ "vector" ]
a316e790afa4994a35839a35a9575530df4c7791
2,316
cpp
C++
quantitative_finance/L2/demos/Quadrature/src/kernel/quad_integrate_pi1.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-06-14T17:02:06.000Z
2021-06-14T17:02:06.000Z
quantitative_finance/L2/demos/Quadrature/src/kernel/quad_integrate_pi1.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
null
null
null
quantitative_finance/L2/demos/Quadrature/src/kernel/quad_integrate_pi1.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-04-28T05:58:38.000Z
2021-04-28T05:58:38.000Z
/* * Copyright 2019 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
35.090909
110
0.743955
[ "model" ]
a318377a781f47c929b967e306d00dcd4e0f5786
1,393
cpp
C++
p480_Sliding_Window_Median/p480.cpp
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
p480_Sliding_Window_Median/p480.cpp
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
p480_Sliding_Window_Median/p480.cpp
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <vector> #include <stack> #include <queue> #include <map> #include <set> #include <string> #include <cassert> #include <stdlib.h> #include <fstream> #include <algorithm> #include <cmath> using namespace std; class Solution { public: vector<double> medianSlidingWindow(...
30.282609
95
0.524767
[ "vector" ]
a31ba9fbdb5f25245976993086160179b256f919
11,165
cpp
C++
src/unit_array_algs.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
44
2019-01-23T03:37:18.000Z
2021-08-24T02:20:29.000Z
src/unit_array_algs.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
67
2019-01-29T15:35:42.000Z
2021-08-17T20:42:40.000Z
src/unit_array_algs.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
29
2019-01-14T21:33:32.000Z
2021-08-10T11:35:24.000Z
#include "Omega_h_adj.hpp" #include "Omega_h_align.hpp" #include "Omega_h_array_ops.hpp" #include "Omega_h_expr.hpp" #include "Omega_h_for.hpp" #include "Omega_h_int_scan.hpp" #include "Omega_h_library.hpp" #include "Omega_h_linpart.hpp" #include "Omega_h_map.hpp" #include "Omega_h_mark.hpp" #include "Omega_h_sort.hpp"...
33.229167
80
0.614241
[ "vector" ]
a322771ed1c86537caeffd1be0e159d256921d51
3,089
cpp
C++
code/components/citizen-server-impl/src/GetConfigurationMethod.cpp
coverxit/wl-fivem
9ad4559106c0ef17c5a53c198ceae662eb264455
[ "MIT" ]
2
2021-01-26T01:56:40.000Z
2021-10-10T15:30:39.000Z
code/components/citizen-server-impl/src/GetConfigurationMethod.cpp
coverxit/wl-fivem
9ad4559106c0ef17c5a53c198ceae662eb264455
[ "MIT" ]
1
2021-09-10T21:44:58.000Z
2021-09-10T21:44:58.000Z
code/components/citizen-server-impl/src/GetConfigurationMethod.cpp
coverxit/wl-fivem
9ad4559106c0ef17c5a53c198ceae662eb264455
[ "MIT" ]
22
2018-11-17T17:19:01.000Z
2021-05-22T09:51:07.000Z
#include "StdInc.h" #include <ClientHttpHandler.h> #include <ResourceManager.h> #include <ResourceFilesComponent.h> #include <ResourceStreamComponent.h> #include <ResourceMetaDataComponent.h> #include <ServerInstanceBase.h> static InitFunction initFunction([]() { fx::ServerInstanceBase::OnServerCreate.Connect([](fx:...
26.62931
232
0.641955
[ "object" ]
a324f9cc35122b85fa1369faa13a9845deddc672
53,205
cpp
C++
source/detail/number_format/number_formatter.cpp
yschungmr/xlnt
f30260153fcee7e1f775f25ff0cb2750e7826296
[ "Unlicense" ]
null
null
null
source/detail/number_format/number_formatter.cpp
yschungmr/xlnt
f30260153fcee7e1f775f25ff0cb2750e7826296
[ "Unlicense" ]
null
null
null
source/detail/number_format/number_formatter.cpp
yschungmr/xlnt
f30260153fcee7e1f775f25ff0cb2750e7826296
[ "Unlicense" ]
1
2020-10-29T06:17:32.000Z
2020-10-29T06:17:32.000Z
// Copyright (c) 2014-2018 Thomas Fussell // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, pu...
30.630397
121
0.512602
[ "vector" ]
a32995137e9c6a86a29d6d4e5e12d3ea4f4d4abe
1,411
cpp
C++
src/xray/xrLC/xrMU_Model_export_cform_game_s.cpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/xray/xrLC/xrMU_Model_export_cform_game_s.cpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/xray/xrLC/xrMU_Model_export_cform_game_s.cpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
#include "stdafx.h" #include "xrMU_model.h" void xrMU_Reference::export_cform_game (_mesh& mesh, xr_vector<cform_FailFace>& failedfaces) { Log ("model:",*(model->m_name)); // verts for (u32 V=0; V<model->m_vertices.size(); V++) model->m_vertices[V]->handle = _mesh::InvalidVertexHandle.idx(); // faces std::vecto...
30.021277
112
0.627215
[ "mesh", "vector", "model" ]
a32bb6600444d08f028031267f30d13f9a6c742b
31,149
cpp
C++
IGC/VectorCompiler/lib/GenXOpts/CMTrans/GenXImportOCLBiF.cpp
liushuyu/intel-graphics-compiler
093655fe61e74cc9851436ed5233c61e181d6f60
[ "Intel", "MIT" ]
null
null
null
IGC/VectorCompiler/lib/GenXOpts/CMTrans/GenXImportOCLBiF.cpp
liushuyu/intel-graphics-compiler
093655fe61e74cc9851436ed5233c61e181d6f60
[ "Intel", "MIT" ]
null
null
null
IGC/VectorCompiler/lib/GenXOpts/CMTrans/GenXImportOCLBiF.cpp
liushuyu/intel-graphics-compiler
093655fe61e74cc9851436ed5233c61e181d6f60
[ "Intel", "MIT" ]
null
null
null
/*========================== begin_copyright_notice ============================ Copyright (C) 2019-2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ // /// GenXImportOCLBiF /// ----------- /// /// This pass import Builtin Function l...
40.877953
80
0.666763
[ "vector", "transform" ]
cd113cb74f436cf495fc4434f9757f53c9e08297
7,523
cpp
C++
app/tenncor/src/tensor/tensorshape.cpp
mingkaic/rocnnet
b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab
[ "MIT" ]
3
2017-01-18T20:42:56.000Z
2018-11-07T12:56:15.000Z
app/tenncor/src/tensor/tensorshape.cpp
mingkaic/rocnnet
b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab
[ "MIT" ]
10
2016-12-01T08:15:28.000Z
2018-09-28T17:16:32.000Z
app/tenncor/src/tensor/tensorshape.cpp
mingkaic/rocnnet
b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab
[ "MIT" ]
null
null
null
// // tensorshape.cpp // cnnet // // Created by Mingkai Chen on 2016-08-29. // Copyright © 2016 Mingkai Chen. All rights reserved. // #include "tensor/tensorshape.hpp" #ifdef TENNCOR_TENSORSHAPE_HPP namespace nnet { tensorshape::tensorshape (const std::vector<size_t>& dims) : dimensions_(dims) {} tensorshape&...
22.523952
124
0.660774
[ "shape", "vector" ]
cd12836554b56c9b59fcdf6160ff2cd5309a5c0b
4,842
cpp
C++
Examples/model_viewer.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
10
2018-08-28T17:07:06.000Z
2021-06-19T09:51:27.000Z
Examples/model_viewer.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
1
2018-10-25T19:42:10.000Z
2018-10-30T09:34:05.000Z
Examples/model_viewer.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
5
2018-10-25T19:39:26.000Z
2020-08-09T05:47:57.000Z
#include <FishEngine.hpp> #include <FishEditor.hpp> #include <GLFW/glfw3.h> using namespace FishEngine; using namespace FishEditor; class DrawSkeletonSystem : public System { SYSTEM(DrawSkeletonSystem); public: void Update() override { m_Scene->ForEach<Renderable>([](GameObject* go, Renderable* rend) { if (...
28.650888
109
0.666047
[ "mesh" ]
cd1648a7fd1298432f835720d9c018ddb954fe1c
16,983
cpp
C++
logdevice/admin/maintenance/test/APIUtilsTest.cpp
dmitris/LogDevice
18336bb95262c51d9b1e8f2f9ae9ad0874b023cd
[ "BSD-3-Clause" ]
null
null
null
logdevice/admin/maintenance/test/APIUtilsTest.cpp
dmitris/LogDevice
18336bb95262c51d9b1e8f2f9ae9ad0874b023cd
[ "BSD-3-Clause" ]
null
null
null
logdevice/admin/maintenance/test/APIUtilsTest.cpp
dmitris/LogDevice
18336bb95262c51d9b1e8f2f9ae9ad0874b023cd
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "logdevice/admin/maintenance/APIUtils.h" #include <folly/container/F14Set.h> ...
38.597727
80
0.718954
[ "vector" ]
cd182180ef4494c7464ea3bfe45bc8bbf3370269
4,220
cpp
C++
Funambol/source/common/syncml/core/ComplexData.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
Funambol/source/common/syncml/core/ComplexData.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
Funambol/source/common/syncml/core/ComplexData.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2003 - 2007 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation with the addit...
24.678363
80
0.658531
[ "object" ]
cd19ae0a5abdad553e75f59e415a050569794426
1,550
cc
C++
chrome/browser/ui/autofill/payments/offer_notification_helper.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/ui/autofill/payments/offer_notification_helper.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/ui/autofill/payments/offer_notification_helper.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.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 "chrome/browser/ui/autofill/payments/offer_notification_helper.h" #include "content/public/browser/navigation_handle.h" namespace autofill { O...
32.978723
80
0.763226
[ "vector" ]
cd1a7ec6c5f61201b3c138f99bcce06e0fbb0197
2,475
cpp
C++
src/link.cpp
mvukov/gazebo_server
e1a30fee043e14a31ca5a70d441f375d155f9a65
[ "Apache-2.0" ]
null
null
null
src/link.cpp
mvukov/gazebo_server
e1a30fee043e14a31ca5a70d441f375d155f9a65
[ "Apache-2.0" ]
null
null
null
src/link.cpp
mvukov/gazebo_server
e1a30fee043e14a31ca5a70d441f375d155f9a65
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Milan Vukov. 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 applicabl...
34.859155
79
0.693737
[ "geometry" ]
cd201354e8d8751bd9f5ee3dc4d2bc60b8f39f4c
259
hpp
C++
src/Cpp/1-getting-started/1-1-1-HelloWindow/HelloWindowApplication.hpp
spnda/learnd3d11
83fea43afffca48776521d8f1ae60e9d0bc6dc84
[ "MIT" ]
29
2022-02-19T00:54:51.000Z
2022-03-24T11:05:47.000Z
src/Cpp/1-getting-started/1-1-1-HelloWindow/HelloWindowApplication.hpp
spnda/learnd3d11
83fea43afffca48776521d8f1ae60e9d0bc6dc84
[ "MIT" ]
67
2022-02-19T16:47:40.000Z
2022-03-30T15:09:38.000Z
src/Cpp/1-getting-started/1-1-1-HelloWindow/HelloWindowApplication.hpp
spnda/learnd3d11
83fea43afffca48776521d8f1ae60e9d0bc6dc84
[ "MIT" ]
8
2022-02-15T11:06:31.000Z
2022-03-16T22:34:22.000Z
#pragma once #include "Application.hpp" class HelloWindowApplication final : public Application { public: HelloWindowApplication(const std::string& title); protected: bool Load() override; void Update() override; void Render() override; };
17.266667
55
0.725869
[ "render" ]
cd21a3d41157b5ea534d030e125a3847d5296d14
832
cpp
C++
tests/main.cpp
sliedes/mayo
26e5366d5658b70613789a5f1c2d7cc7263c52a4
[ "BSD-2-Clause" ]
null
null
null
tests/main.cpp
sliedes/mayo
26e5366d5658b70613789a5f1c2d7cc7263c52a4
[ "BSD-2-Clause" ]
null
null
null
tests/main.cpp
sliedes/mayo
26e5366d5658b70613789a5f1c2d7cc7263c52a4
[ "BSD-2-Clause" ]
null
null
null
/**************************************************************************** ** Copyright (c) 2021, Fougue Ltd. <http://www.fougue.pro> ** All rights reserved. ** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt ****************************************************************************/ #includ...
28.689655
77
0.557692
[ "vector" ]
cd2403c009fef315766a689da86adad2279c6e90
12,430
cpp
C++
branches/g3d-8.0-64ffmpeg-win/G3D.lib/source/CoordinateFrame.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
branches/g3d-8.0-64ffmpeg-win/G3D.lib/source/CoordinateFrame.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
branches/g3d-8.0-64ffmpeg-win/G3D.lib/source/CoordinateFrame.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
/** @file CoordinateFrame.cpp Coordinate frame class @maintainer Morgan McGuire, http://graphics.cs.williams.edu @created 2001-06-02 @edited 2010-03-13 Copyright 2000-2010, Morgan McGuire. All rights reserved. */ #include "G3D/platform.h" #include "G3D/CoordinateFrame.h" #include "G3D/Quat.h" #include "G3D...
26.334746
129
0.58745
[ "vector" ]
cd26838753b564a2a89f0e17afba550b2701bc9e
5,668
cpp
C++
src/core/film_repository.cpp
amirhossein-1378/AP_CA7
dee6bda34741f6a8a311904c32c33cf5cc48449d
[ "MIT" ]
null
null
null
src/core/film_repository.cpp
amirhossein-1378/AP_CA7
dee6bda34741f6a8a311904c32c33cf5cc48449d
[ "MIT" ]
null
null
null
src/core/film_repository.cpp
amirhossein-1378/AP_CA7
dee6bda34741f6a8a311904c32c33cf5cc48449d
[ "MIT" ]
null
null
null
#include "film_repository.h" #include "customer.h" #include <algorithm> using namespace std; FilmRepository::~FilmRepository() { for (int i = 0; i < films.size(); i++) delete films[i]; } void FilmRepository::add(Film* new_film) { films.push_back(new_film); films_adjacency_matrix.resize(get_fi...
31.314917
99
0.518878
[ "vector" ]
cd2a38dc4d8ae4aaa5355a51d53a4fe36971d44f
1,182
cc
C++
src/xenia/base/console_app_main_win.cc
andruuuuush/xenia
f2150a31256761b6a250150ffffbe1b529906387
[ "BSD-3-Clause" ]
3,100
2018-05-03T10:04:39.000Z
2022-03-31T04:51:53.000Z
src/xenia/base/console_app_main_win.cc
MerkeX/xenia
701300e8e9be446e04afb4731b18100783032ff9
[ "BSD-3-Clause" ]
671
2018-05-04T00:51:22.000Z
2022-03-31T15:20:22.000Z
src/xenia/base/console_app_main_win.cc
MerkeX/xenia
701300e8e9be446e04afb4731b18100783032ff9
[ "BSD-3-Clause" ]
877
2018-05-03T21:01:17.000Z
2022-03-31T19:43:14.000Z
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2021 Ben Vanik. All rights reserved. ...
31.945946
79
0.499154
[ "vector" ]
cd34e74ced5cef7f31f096573c89c9038bcf1ab7
43,467
cpp
C++
vpr/src/ripple/db/db_bookshelf.cpp
honeychen718/vtrwithap
c5073f89dad7e02a6f898d795be8d624591ff39e
[ "MIT" ]
null
null
null
vpr/src/ripple/db/db_bookshelf.cpp
honeychen718/vtrwithap
c5073f89dad7e02a6f898d795be8d624591ff39e
[ "MIT" ]
null
null
null
vpr/src/ripple/db/db_bookshelf.cpp
honeychen718/vtrwithap
c5073f89dad7e02a6f898d795be8d624591ff39e
[ "MIT" ]
null
null
null
#include "db.h" #include "SetupGrid.h" #include "gp_setting.h" using namespace db; void bilf_models_in_pb_type(const t_pb_type* pb_type, map<string, int>& blif_models_and_num); bool pb_type_contains_blif_model(const t_pb_type* pb_type, const std::string& blif_model_name, int& capacity); bool read_line_as_tokens(istre...
39.69589
111
0.494122
[ "vector", "model" ]
cd3cd15d6d4e45109663cb22a6272ea2f15210ef
6,270
cc
C++
src/vm/VirtualMachineTemplate.cc
rdiaz-on/one
4b7f47c7e218dd9aea1b4eb79db5725450bc5644
[ "Apache-2.0" ]
null
null
null
src/vm/VirtualMachineTemplate.cc
rdiaz-on/one
4b7f47c7e218dd9aea1b4eb79db5725450bc5644
[ "Apache-2.0" ]
null
null
null
src/vm/VirtualMachineTemplate.cc
rdiaz-on/one
4b7f47c7e218dd9aea1b4eb79db5725450bc5644
[ "Apache-2.0" ]
null
null
null
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
33.709677
81
0.381499
[ "vector" ]
cd3e26bdf715f81f6e05566c9f2ae858fc967e32
61,731
cpp
C++
game/ui/tileview/battletileview.cpp
trevortomesh/OpenApoc
53cd163889fbfd21a9c128183427dad4255ac1a3
[ "MIT" ]
1
2020-11-10T18:31:44.000Z
2020-11-10T18:31:44.000Z
game/ui/tileview/battletileview.cpp
FilmBoy84/OpenApoc_FB84
a6b69cafba01744998ced6c67b93fbd937d32d26
[ "MIT" ]
null
null
null
game/ui/tileview/battletileview.cpp
FilmBoy84/OpenApoc_FB84
a6b69cafba01744998ced6c67b93fbd937d32d26
[ "MIT" ]
null
null
null
#include "game/ui/tileview/battletileview.h" #include "forms/form.h" #include "forms/graphic.h" #include "forms/ui.h" #include "framework/configfile.h" #include "framework/data.h" #include "framework/event.h" #include "framework/font.h" #include "framework/framework.h" #include "framework/keycodes.h" #include "framewor...
35.890116
96
0.567219
[ "render", "object" ]
cd43002c1d4cd4682524fc088a6afea728dced69
1,076
cpp
C++
1. OOP/04. Inheritance/fig_12_17_final/main.cpp
oneonlee/Computer-Science
4a3e2bf92986b5db3967d788832bca353fe71e61
[ "MIT" ]
1
2021-10-19T20:06:55.000Z
2021-10-19T20:06:55.000Z
1. OOP/04. Inheritance/fig_12_17_final/main.cpp
oneonlee/Computer-Science
4a3e2bf92986b5db3967d788832bca353fe71e61
[ "MIT" ]
null
null
null
1. OOP/04. Inheritance/fig_12_17_final/main.cpp
oneonlee/Computer-Science
4a3e2bf92986b5db3967d788832bca353fe71e61
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; #include "BasePlusCommissionEmployee.h" int main() { // instantiate BasePlusCommissionEmployee object BasePlusCommissionEmployee employee("Bob", "Lewis", "333-33-3333", 5000, .04, 300); cout << fixed << setprecision(2); cout << "Em...
29.888889
80
0.6329
[ "object" ]
cd4d68d08af12de8fe8841d058210f238e280408
117,276
cpp
C++
B2G/gecko/dom/workers/WorkerPrivate.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/dom/workers/WorkerPrivate.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/dom/workers/WorkerPrivate.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */...
27.600847
92
0.660118
[ "object" ]
cd538f9c8368b1f5404255651aa212626ec61dae
3,389
cpp
C++
torch/lib/c10d/comm.cpp
MagiaSN/pytorch
7513455c743d3d644b45a804902c1a0d14b69f45
[ "Intel" ]
7
2021-05-29T16:31:51.000Z
2022-02-21T18:52:25.000Z
torch/lib/c10d/comm.cpp
MagiaSN/pytorch
7513455c743d3d644b45a804902c1a0d14b69f45
[ "Intel" ]
1
2022-01-18T12:17:29.000Z
2022-01-18T12:17:29.000Z
torch/lib/c10d/comm.cpp
MagiaSN/pytorch
7513455c743d3d644b45a804902c1a0d14b69f45
[ "Intel" ]
2
2021-07-02T10:18:21.000Z
2021-08-18T10:10:28.000Z
#include <c10d/comm.hpp> #include <deque> #include <ATen/core/functional.h> #include <c10d/reducer.hpp> #include <torch/csrc/jit/python/pybind_utils.h> #include <torch/csrc/utils/tensor_flatten.h> namespace c10d { namespace { class BroadcastWork { public: BroadcastWork( const c10::intrusive_ptr<c10d::Proce...
33.22549
79
0.713485
[ "vector" ]
cd55cc712c5fabcc34668b06f3faa6010e7543a0
139,552
cpp
C++
qt-creator-opensource-src-4.6.1/src/libs/qtcreatorcdbext/symbolgroupvalue.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/libs/qtcreatorcdbext/symbolgroupvalue.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/libs/qtcreatorcdbext/symbolgroupvalue.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
38.454671
141
0.597068
[ "object", "vector", "model" ]
cd56998046d61d851a1ccfe9d9d491658eb19ad7
8,430
hpp
C++
3rdparty/GPSTk/core/lib/GNSSEph/RinexSatID.hpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/lib/GNSSEph/RinexSatID.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/lib/GNSSEph/RinexSatID.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk 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; ei...
29.787986
81
0.515896
[ "object" ]
cd5c4099051757dabfd9e70d05c9dacb8a0efc49
10,113
cpp
C++
src/TACSAssembler_thread.cpp
tchin-divergent/tacs
34743b370da4ab6ea16d24de7c574c3fec9d333a
[ "Apache-2.0" ]
null
null
null
src/TACSAssembler_thread.cpp
tchin-divergent/tacs
34743b370da4ab6ea16d24de7c574c3fec9d333a
[ "Apache-2.0" ]
null
null
null
src/TACSAssembler_thread.cpp
tchin-divergent/tacs
34743b370da4ab6ea16d24de7c574c3fec9d333a
[ "Apache-2.0" ]
null
null
null
/* This file is part of TACS: The Toolkit for the Analysis of Composite Structures, a parallel finite-element code for structural and multidisciplinary design optimization. Copyright (C) 2010 University of Toronto Copyright (C) 2012 University of Michigan Copyright (C) 2014 Georgia Tech Research Corporatio...
34.281356
88
0.679027
[ "object" ]
cd601d4dc0d00ba409706ea3ad1d9adc8ba5a03a
14,303
cc
C++
OJ/acm.hdu.edu.cn/2018multiUniversity01/1009.cc
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
14
2018-06-21T14:41:26.000Z
2021-12-19T14:43:51.000Z
OJ/acm.hdu.edu.cn/2018multiUniversity01/1009.cc
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
null
null
null
OJ/acm.hdu.edu.cn/2018multiUniversity01/1009.cc
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
2
2020-04-20T11:16:53.000Z
2021-01-02T15:58:35.000Z
#include <cstdio> #include <cassert> #include <vector> #include <functional> #include <algorithm> #include <cstring> using int64 = long long; using strings = std::vector<std::pair<int, int>>; const int N = 1e6 + 10; char s[N], buf[N]; template<class T, class Compare = std::less<T>> class SchieberVishkinRMQ { public...
31.504405
108
0.40481
[ "vector" ]
cd6211272696ca835a90aa4753f7f29ba62a46e0
5,754
cpp
C++
PacMan/PacMan/Map.cpp
fuboki10/PacMan-Game
931fb5a26960b7a80cd5bcfd664de04f5187a6d3
[ "MIT" ]
1
2019-06-15T21:48:24.000Z
2019-06-15T21:48:24.000Z
PacMan/PacMan/Map.cpp
fuboki10/PacMan-Game
931fb5a26960b7a80cd5bcfd664de04f5187a6d3
[ "MIT" ]
null
null
null
PacMan/PacMan/Map.cpp
fuboki10/PacMan-Game
931fb5a26960b7a80cd5bcfd664de04f5187a6d3
[ "MIT" ]
null
null
null
#include "Map.h" #include <iostream> #include <string> Map::Map(const char* MapName, const char* HeartName, SDL_Renderer *renderer, int w, int h, Game* game) : renderer(renderer), game(game) { MapTexture = TextureManager::LoadTexture(MapName, renderer); HeartText = TextureManager::LoadTexture(HeartName, renderer); ...
15.467742
135
0.562044
[ "render", "object" ]
cd6237cc59d1da034f096697e87b36d5f5f18cfd
13,964
cpp
C++
dbpage/dbpage.cpp
liyuzhao/QWidgetDemo
a056894da7b7385e37a523ea4825cea48c82d297
[ "MulanPSL-1.0" ]
5
2020-06-19T00:41:27.000Z
2022-02-27T14:23:44.000Z
dbpage/dbpage.cpp
liyuzhao/QWidgetDemo
a056894da7b7385e37a523ea4825cea48c82d297
[ "MulanPSL-1.0" ]
null
null
null
dbpage/dbpage.cpp
liyuzhao/QWidgetDemo
a056894da7b7385e37a523ea4825cea48c82d297
[ "MulanPSL-1.0" ]
2
2021-04-12T07:47:47.000Z
2021-04-12T07:47:49.000Z
#pragma execution_character_set("utf-8") #include "dbpage.h" SqlQueryModel::SqlQueryModel(QObject *parent) : QSqlQueryModel(parent) { allCenter = false; alignCenterColumn.clear(); alignRightColumn.clear(); } QVariant SqlQueryModel::data(const QModelIndex &index, int role) const { QVariant value = QSq...
26.100935
137
0.621097
[ "model" ]
cd65d2fcde54f8ecf9b88a4e7b08c00690100184
86,437
cpp
C++
SmartMirror/performance_functional/performance_functional.cpp
mishless/smart-mirror
0f948d1fb05762d982b2eef925748877b6cf700e
[ "MIT" ]
1
2016-05-05T21:07:37.000Z
2016-05-05T21:07:37.000Z
SmartMirror/performance_functional/performance_functional.cpp
mishless/smart-mirror
0f948d1fb05762d982b2eef925748877b6cf700e
[ "MIT" ]
null
null
null
SmartMirror/performance_functional/performance_functional.cpp
mishless/smart-mirror
0f948d1fb05762d982b2eef925748877b6cf700e
[ "MIT" ]
null
null
null
/****************************************************************************************************************/ /* */ /* OpenNN: Open Neural Networks Library ...
31.081266
193
0.730127
[ "object", "vector", "model" ]
cd683a5ea8376ccb7cf66c1ff4d8706ce865a254
1,636
cpp
C++
Greedy/Cutting Boards.cpp
StavrosChryselis/hackerrank
42a3e393231e237a99a9e54522ce3ec954bf614f
[ "MIT" ]
null
null
null
Greedy/Cutting Boards.cpp
StavrosChryselis/hackerrank
42a3e393231e237a99a9e54522ce3ec954bf614f
[ "MIT" ]
null
null
null
Greedy/Cutting Boards.cpp
StavrosChryselis/hackerrank
42a3e393231e237a99a9e54522ce3ec954bf614f
[ "MIT" ]
null
null
null
/* **************************************************************** **************************************************************** -> Coded by Stavros Chryselis -> Visit my github for more solved problems over multiple sites -> https://github.com/StavrosChryselis -> Feel free to email me at stavrikios@gm...
18.590909
64
0.363081
[ "vector" ]
cd706caafcff851244ec6ce7205aa624c928911b
609
cpp
C++
MayLeetCodingChallenge/May 31st 2020/Edit Distance.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
4
2020-05-18T05:12:36.000Z
2020-08-28T07:16:41.000Z
MayLeetCodingChallenge/May 31st 2020/Edit Distance.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
null
null
null
MayLeetCodingChallenge/May 31st 2020/Edit Distance.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
5
2020-05-01T04:56:26.000Z
2022-02-02T15:37:53.000Z
class Solution { public: int minDistance(string word1, string word2) { int M = word1.size(); int N = word2.size(); vector<vector<int>> dp(M + 1, vector<int>(N + 1, 0)); if (M * N == 0) return M + N; for (int i = 0; i <= M; i++) { dp[i][0] = i; } for (int i = 0; i <= N; i++) { dp[0][i] ...
21
75
0.410509
[ "vector" ]
cd72778363710725569b2b75ac7027b7936ccfb8
8,468
cpp
C++
unittests/process.cpp
cimplart/cercall
3ab6f6a55e577154a907a53ad02c5a012c42c9c5
[ "Apache-2.0" ]
null
null
null
unittests/process.cpp
cimplart/cercall
3ab6f6a55e577154a907a53ad02c5a012c42c9c5
[ "Apache-2.0" ]
null
null
null
unittests/process.cpp
cimplart/cercall
3ab6f6a55e577154a907a53ad02c5a012c42c9c5
[ "Apache-2.0" ]
null
null
null
/*! * \file * \brief Cercall tests - Process class interface * * Copyright (c) 2018, Arthur Wisz * 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 * * ...
28.13289
95
0.656708
[ "vector" ]
cd782537ca517048778beab381fa382e0d95ff02
10,079
cpp
C++
thirdparty/fluid/modules/gapi/src/streaming/gstreamer/gstreamer_pipeline_facade.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
thirdparty/fluid/modules/gapi/src/streaming/gstreamer/gstreamer_pipeline_facade.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
thirdparty/fluid/modules/gapi/src/streaming/gstreamer/gstreamer_pipeline_facade.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
// 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. // // Copyright (C) 2021 Intel Corporation #include "gstreamerenv.hpp" #include "gstreamer_pipeline_facade.hpp" #include <o...
31.996825
100
0.617224
[ "object", "vector" ]
cd790927b7db5cd5fccdc5df8325d118fe4c8a74
30,545
cpp
C++
OREData/ored/utilities/xmlutils.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
335
2016-10-07T16:31:10.000Z
2022-03-02T07:12:03.000Z
OREData/ored/utilities/xmlutils.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
59
2016-10-31T04:20:24.000Z
2022-01-03T16:39:57.000Z
OREData/ored/utilities/xmlutils.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
180
2016-10-08T14:23:50.000Z
2022-03-28T10:43:05.000Z
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
46.5625
120
0.603372
[ "vector", "model", "transform" ]
cd7afa14132b5462eb4ec535e7e76a0dbdcc1ffe
7,395
hpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ptp_datatypes.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ptp_datatypes.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ptp_datatypes.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_IOS_XR_PTP_DATATYPES_ #define _CISCO_IOS_XR_PTP_DATATYPES_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xr { namespace Cisco_IOS_XR_ptp_datatypes { class PtpTelecomClock : public ydk::Enum { public: static cons...
28.886719
62
0.561866
[ "vector" ]
cd7dde76b9e4621508f9e3c23864102da40bc90c
1,996
hpp
C++
geometry/serialization.hpp
tnuvoletta/Principia
25cf2fb70c512cf86a842ed525f6ab10e57f937c
[ "MIT" ]
565
2015-01-04T21:47:18.000Z
2022-03-22T12:04:58.000Z
geometry/serialization.hpp
tnuvoletta/Principia
25cf2fb70c512cf86a842ed525f6ab10e57f937c
[ "MIT" ]
1,019
2015-01-03T11:42:27.000Z
2022-03-29T21:02:15.000Z
geometry/serialization.hpp
tnuvoletta/Principia
25cf2fb70c512cf86a842ed525f6ab10e57f937c
[ "MIT" ]
92
2015-02-11T23:08:58.000Z
2022-03-21T03:35:37.000Z
 #pragma once #include "base/not_constructible.hpp" namespace principia { namespace geometry { namespace internal_serialization { using base::not_constructible; // A helper class that serializes a |double|, a |Quantity|, a |Point| or a // |Multivector| to a protobuf structure like: // // message Message { // one...
26.972973
79
0.728958
[ "geometry" ]
cd821342b307db902fb67bd0740e1e8a19668516
4,952
hpp
C++
src/libraries/fvOptions/sources/derived/rotorDiskSource/trimModel/targetCoeff/targetCoeffTrim.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/fvOptions/sources/derived/rotorDiskSource/trimModel/targetCoeff/targetCoeffTrim.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/fvOptions/sources/derived/rotorDiskSource/trimModel/targetCoeff/targetCoeffTrim.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2012-2013 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it ...
26.201058
79
0.519588
[ "vector", "model" ]
cd853b21d9615782b75cd46448800e51f9f28c87
5,889
cpp
C++
Lab 3 HyperQuickSort using MPI/hypersort.cpp
AkshanshChahal/COL380-Parallel-Programming
097891fe9df6288eb211707b3969f99d036a4d98
[ "Apache-2.0" ]
null
null
null
Lab 3 HyperQuickSort using MPI/hypersort.cpp
AkshanshChahal/COL380-Parallel-Programming
097891fe9df6288eb211707b3969f99d036a4d98
[ "Apache-2.0" ]
null
null
null
Lab 3 HyperQuickSort using MPI/hypersort.cpp
AkshanshChahal/COL380-Parallel-Programming
097891fe9df6288eb211707b3969f99d036a4d98
[ "Apache-2.0" ]
null
null
null
// mpic++ sort.cpp -o hypersort -std=c++11 // mpirun -np 8 hypersort inputxx.txt #include <iostream> #include <vector> #include <string> #include <stdlib.h> #include <time.h> #include <fstream> #include <algorithm> #include <math.h> #include <utility> #include <stdio.h> #include <mpi.h> #include <sstream> #include <cm...
21.650735
107
0.565631
[ "vector" ]
cd88468ac7109e5c8c0745ee6a429dbf013b78b4
4,829
cc
C++
lib/packed_to_unpacked_impl.cc
pavelfpl/gr-gsSDR
141f5cd1f53b9691c7c7e084f32343bddc0d2d97
[ "MIT" ]
1
2021-06-16T14:35:29.000Z
2021-06-16T14:35:29.000Z
lib/packed_to_unpacked_impl.cc
pavelfpl/gr-gsSDR
141f5cd1f53b9691c7c7e084f32343bddc0d2d97
[ "MIT" ]
null
null
null
lib/packed_to_unpacked_impl.cc
pavelfpl/gr-gsSDR
141f5cd1f53b9691c7c7e084f32343bddc0d2d97
[ "MIT" ]
1
2021-03-03T14:51:02.000Z
2021-03-03T14:51:02.000Z
/* -*- c++ -*- */ /* MIT License * * Copyright (c) 2021 Pavel Fiala * * 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 ...
34.741007
120
0.615241
[ "vector" ]
cd8a22a13548f16e54c4d0fcd324af4f7fa965d8
739
cpp
C++
src/top.chenqwwq/leetcode/daily/_20220401/array-of-doubled-pairs.cpp
chenqwwq/_leetcode
a8055c53c9a68cedb1b57a56f98e83709448e4cb
[ "Apache-2.0" ]
null
null
null
src/top.chenqwwq/leetcode/daily/_20220401/array-of-doubled-pairs.cpp
chenqwwq/_leetcode
a8055c53c9a68cedb1b57a56f98e83709448e4cb
[ "Apache-2.0" ]
null
null
null
src/top.chenqwwq/leetcode/daily/_20220401/array-of-doubled-pairs.cpp
chenqwwq/_leetcode
a8055c53c9a68cedb1b57a56f98e83709448e4cb
[ "Apache-2.0" ]
null
null
null
// // Created by 陈炳鑫 on 2022/4/1. // #include "stdc++.h" #include "common.h" using namespace std; class Solution { public: bool canReorderDoubled(vector<int> &arr) { auto comp = [](int n1, int n2) -> bool { return abs(n1) > abs(n2); }; priority_queue<int, vector<int>, decltyp...
21.114286
66
0.428958
[ "vector" ]
cd8a731457564df253852a7ed1ad966d2eb04763
1,207
cpp
C++
applications/main.cpp
phiwen96/phlex
a84e293f52f0e548aa9fd354ff1e98466ed6ef4a
[ "Apache-2.0" ]
null
null
null
applications/main.cpp
phiwen96/phlex
a84e293f52f0e548aa9fd354ff1e98466ed6ef4a
[ "Apache-2.0" ]
null
null
null
applications/main.cpp
phiwen96/phlex
a84e293f52f0e548aa9fd354ff1e98466ed6ef4a
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <phlex/phlex.hpp> #include <ph_file/file.hpp> #include <ph_concepts/concepts.hpp> using std::cout, std::endl; enum struct APPLICATION_MODE : int { CONSOLE = 1, FILE = 2, UNKNOWN }; auto start_console (auto conf) -> int { while (false) { cout << ">>"; ...
13.715909
94
0.48053
[ "vector" ]
cd9239c44eebf7e4049e21165fd104a8c2d1a7e1
1,088
cpp
C++
apps/tests/util/summable_to_one_sampler.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
27
2020-08-17T17:25:59.000Z
2022-03-01T05:49:12.000Z
apps/tests/util/summable_to_one_sampler.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
4
2020-08-26T13:54:59.000Z
2020-09-21T07:19:22.000Z
apps/tests/util/summable_to_one_sampler.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
5
2020-08-26T23:26:48.000Z
2021-01-04T09:06:07.000Z
#include <polyvec/utils/summable_to_one_sampler.hpp> // Optional using namespace polyvec; namespace polyvectest { namespace util { int test_summable_to_one_sampler ( int /*argc*/, char** /*argv*/ ) { const polyvec::index n_variables = 4; const polyvec::index n_values = 5; SummableToOneSampler sampler(n...
26.536585
80
0.612132
[ "vector" ]
cd980e406c2c9699ca9e3afa43bd9099d53d5011
7,655
cpp
C++
CPURenderer/ExternalImporter.cpp
shamanDevel/IsosurfaceSuperresolution
0658e67b7ca9f633547c65e3e16f93d2e0c5a4a2
[ "MIT" ]
7
2019-10-14T09:36:57.000Z
2022-02-27T05:13:28.000Z
CPURenderer/ExternalImporter.cpp
shamanDevel/IsosurfaceSuperresolution
0658e67b7ca9f633547c65e3e16f93d2e0c5a4a2
[ "MIT" ]
null
null
null
CPURenderer/ExternalImporter.cpp
shamanDevel/IsosurfaceSuperresolution
0658e67b7ca9f633547c65e3e16f93d2e0c5a4a2
[ "MIT" ]
3
2020-01-07T16:49:17.000Z
2021-06-23T14:21:00.000Z
#include "pch.h" #include "ExternalImporter.h" #include <fstream> #include <boost/algorithm/algorithm.hpp> #include <boost/algorithm/string/predicate.hpp> #include <experimental/filesystem> #include <openvdb/tools/Dense.h> static void printProgress(const std::string& prefix, float progress) { int barWidth = 50; std...
32.854077
121
0.652645
[ "vector" ]
cd9d891c854427dfcdeaf354167e3445906a8708
1,563
cpp
C++
leetcode/problems/medium/740-delete-and-earn.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/medium/740-delete-and-earn.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/medium/740-delete-and-earn.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Delete and Earn https://leetcode.com/problems/delete-and-earn/ You are given an integer array nums. You want to maximize the number of points you get by performing the following operation any number of times: Pick any nums[i] and delete it to earn nums[i] points. Afterwards, you must delete every element equal to ...
30.647059
157
0.631478
[ "vector" ]
cd9ff022feede055226a86f6c3dc686cd35b9b37
7,644
hpp
C++
source/problem/SWE/problem_input/swe_inputs.hpp
elenabac/dgswemv2
ecc776811de304cbae7bfa696b3d22c513e7d4de
[ "MIT" ]
null
null
null
source/problem/SWE/problem_input/swe_inputs.hpp
elenabac/dgswemv2
ecc776811de304cbae7bfa696b3d22c513e7d4de
[ "MIT" ]
null
null
null
source/problem/SWE/problem_input/swe_inputs.hpp
elenabac/dgswemv2
ecc776811de304cbae7bfa696b3d22c513e7d4de
[ "MIT" ]
null
null
null
#ifndef SWE_INPUTS_HPP #define SWE_INPUTS_HPP #include "problem/SWE/swe_definitions.hpp" #include <yaml-cpp/yaml.h> #include "utilities/file_exists.hpp" namespace SWE { // Problem specific preprocessing information containers struct SphericalProjection { SphericalProjectionType type = SphericalProjectionType::Non...
23.163636
87
0.601648
[ "vector" ]
cda2d8771d90432487efb53e3ad18e035b927ce9
9,647
cpp
C++
projects/cli/src/data/PatientGenerator.cpp
faaizT/core
488b357deece8dd4f7be318eefb49f6330be8239
[ "Apache-2.0" ]
null
null
null
projects/cli/src/data/PatientGenerator.cpp
faaizT/core
488b357deece8dd4f7be318eefb49f6330be8239
[ "Apache-2.0" ]
null
null
null
projects/cli/src/data/PatientGenerator.cpp
faaizT/core
488b357deece8dd4f7be318eefb49f6330be8239
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------------------- //- Copyright 2017 Applied Research Associates, 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...
32.812925
138
0.595626
[ "object" ]
cda4da4ec6e8aeecae35a8efa44b2c73b0e7aed9
2,359
cpp
C++
Codeforces/1073E/dfs_dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Codeforces/1073E/dfs_dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Codeforces/1073E/dfs_dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <string> #include <cstring> #include <iomanip> #include <climits> #include <vector> #include <queue> #include <map> #include <set> #include <stack> #include <functional> #include <iterator> using namespace std; #defin...
21.842593
88
0.522679
[ "vector" ]
cdac71981aafe759dd9668a00ebb68b04acb6bd8
4,832
cpp
C++
dev/Code/Sandbox/Plugins/CryDesigner/Tools/Modify/BooleanTool.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
1
2020-03-24T04:54:22.000Z
2020-03-24T04:54:22.000Z
dev/Code/Sandbox/Plugins/CryDesigner/Tools/Modify/BooleanTool.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
null
null
null
dev/Code/Sandbox/Plugins/CryDesigner/Tools/Modify/BooleanTool.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
2
2019-07-09T00:03:08.000Z
2020-03-24T04:54:27.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...
33.324138
135
0.647351
[ "vector", "transform" ]
cdaeaa4c034a2aa7e1d8329aedbf105495279558
12,507
cpp
C++
linalg/tensor_davidson.cpp
ClarkResearchGroup/tensor-tools
25fe4553991d2680b43301aef1960e4c20f1e146
[ "Apache-2.0" ]
8
2020-07-14T01:55:51.000Z
2022-02-12T14:06:59.000Z
linalg/tensor_davidson.cpp
ClarkResearchGroup/tensor-tools
25fe4553991d2680b43301aef1960e4c20f1e146
[ "Apache-2.0" ]
1
2020-07-31T02:43:25.000Z
2020-08-08T16:18:36.000Z
linalg/tensor_davidson.cpp
ClarkResearchGroup/tensor-tools
25fe4553991d2680b43301aef1960e4c20f1e146
[ "Apache-2.0" ]
1
2020-12-01T03:40:26.000Z
2020-12-01T03:40:26.000Z
/* * Copyright 2020 Ryan Levy, Xiongjie Yu, and Bryan K. Clark * Portions copyright 2018 The Simons Foundation, Inc., with modifications * * 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...
35.132022
159
0.565843
[ "vector", "transform" ]
cdb1f8e26fe07c4b1a6d8eaa850508fd994f1c26
474
hpp
C++
include/mango/core/crc32.hpp
diablodale/mango
2efce1d8e7c97dd89ca1e19634fe2014bf289824
[ "Zlib" ]
null
null
null
include/mango/core/crc32.hpp
diablodale/mango
2efce1d8e7c97dd89ca1e19634fe2014bf289824
[ "Zlib" ]
null
null
null
include/mango/core/crc32.hpp
diablodale/mango
2efce1d8e7c97dd89ca1e19634fe2014bf289824
[ "Zlib" ]
null
null
null
/* MANGO Multimedia Development Platform Copyright (C) 2012-2020 Twilight Finland 3D Oy Ltd. All rights reserved. */ #pragma once #include "configure.hpp" #include "memory.hpp" namespace mango { // CRC32 u32 crc32(u32 crc, ConstMemory memory); u32 crc32_combine(u32 crc0, u32 crc1, size_t length1)...
21.545455
76
0.704641
[ "3d" ]
cdb21651b5ce428d7e391c8ac015868dfe9c8652
4,059
cpp
C++
examples/read_image.cpp
rcodin/cnn_code
c6e1ce7e89e070518e244c241e9d899b6cef0208
[ "MIT" ]
null
null
null
examples/read_image.cpp
rcodin/cnn_code
c6e1ce7e89e070518e244c241e9d899b6cef0208
[ "MIT" ]
null
null
null
examples/read_image.cpp
rcodin/cnn_code
c6e1ce7e89e070518e244c241e9d899b6cef0208
[ "MIT" ]
null
null
null
#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> #include <vector> #include <opencv2/opencv.hpp> #include <input.hpp> using namespace cv; using namespace std; // -i input // -w weights int read_config(int argc, char** argv, string &we...
24.160714
81
0.592018
[ "vector" ]
cdb724ea17f71bc53e7b8f0879d496396a0fc24f
4,426
cpp
C++
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-iam/source/model/Statement.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
2
2019-02-08T21:29:57.000Z
2021-07-27T06:59:19.000Z
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-iam/source/model/Statement.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
null
null
null
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-iam/source/model/Statement.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
31.841727
157
0.734297
[ "model" ]
cdba0f7a58b5add19a274a2504df0c04d52e314c
2,018
cpp
C++
Cpp/UVa/MST/908.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
Cpp/UVa/MST/908.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
Cpp/UVa/MST/908.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <cmath> #include <functional> #include <queue> #include <fstream> using namespace std; //took a graph and return the MST, or don't return anything if just need the min cost int mst(vector<vector<int>> adj, vector<tuple<int, int, int>> edge) { int weight = 0; vec...
20.804124
85
0.418731
[ "vector" ]
cdbcb7a58237e73697befab7312f6cde06cb1616
22,497
cpp
C++
src/technique/fur_simulation/fur_simulation_opengl.cpp
ref2401/cg
4654377f94fe54945c33156911ca25e807c96236
[ "MIT" ]
2
2019-04-02T14:19:01.000Z
2021-05-27T13:42:20.000Z
src/technique/fur_simulation/fur_simulation_opengl.cpp
ref2401/cg
4654377f94fe54945c33156911ca25e807c96236
[ "MIT" ]
4
2016-11-05T14:17:14.000Z
2017-03-30T15:03:37.000Z
src/technique/fur_simulation/fur_simulation_opengl.cpp
ref2401/cg
4654377f94fe54945c33156911ca25e807c96236
[ "MIT" ]
null
null
null
#include "technique/fur_simulation/fur_simulation_opengl.h" #include <cassert> #include <limits> #include <utility> #include "cg/base/container.h" #include "cg/data/image.h" #include "cg/data/shader.h" using namespace cg; using cg::data::image_2d; using cg::data::pixel_format; using cg::sys::Key; n...
39.125217
126
0.759346
[ "mesh", "geometry", "render" ]
02cc79fd47a75e6cb68d42ed0ec246f8e15dadb2
28,961
cpp
C++
VulkanExample/triangle/triangle.cpp
metora/MesaGLSLCompiler
83227892b03a2bd1ebe0ee9d0b394665f5a61e8b
[ "MIT" ]
2
2018-07-27T20:01:32.000Z
2021-08-03T09:17:36.000Z
VulkanExample/triangle/triangle.cpp
metora/MesaGLSLCompiler
83227892b03a2bd1ebe0ee9d0b394665f5a61e8b
[ "MIT" ]
null
null
null
VulkanExample/triangle/triangle.cpp
metora/MesaGLSLCompiler
83227892b03a2bd1ebe0ee9d0b394665f5a61e8b
[ "MIT" ]
1
2017-08-17T08:13:01.000Z
2017-08-17T08:13:01.000Z
/* * Vulkan Example - Basic indexed triangle rendering * * Note : * This is a "pedal to the metal" example to show off how to get Vulkan up an displaying something * Contrary to the other examples, this one won't make use of helper functions or initializers * Except in a few cases (swap chain setup e.g.) * * Copyright ...
37.034527
126
0.772314
[ "render", "vector", "transform", "solid" ]
02d0339bf0d7e614c2b69f7e14fac2a85753cc8f
4,015
hpp
C++
src/_viennacl/compressed_matrix.hpp
viennacl/pyviennacl-dev
3509318db9eb4cc788f262f4e3924775f0cf3a01
[ "MIT" ]
26
2015-01-03T20:06:05.000Z
2021-09-09T09:23:14.000Z
src/_viennacl/compressed_matrix.hpp
viennacl/pyviennacl-dev
3509318db9eb4cc788f262f4e3924775f0cf3a01
[ "MIT" ]
18
2015-01-12T00:08:42.000Z
2021-01-18T10:31:06.000Z
src/_viennacl/compressed_matrix.hpp
viennacl/pyviennacl-dev
3509318db9eb4cc788f262f4e3924775f0cf3a01
[ "MIT" ]
5
2015-09-17T16:42:58.000Z
2022-03-21T19:21:43.000Z
#ifndef _PYVIENNACL_COMPRESSED_MATRIX_HPP #define _PYVIENNACL_COMPRESSED_MATRIX_HPP #include "sparse_matrix.hpp" #define EXPORT_COMPRESSED_MATRIX(TYPE) \ DISAMBIGUATE_CLASS_FUNCTION_PTR(vcl::compressed_matrix<TYPE>, \ vcl::compressed_matrix<...
56.549296
79
0.476214
[ "vector" ]
02d35c5f12a8ce2841a545b49014f8a4b51bb246
4,799
cpp
C++
src/GafferUIBindings/RenderableGadgetBinding.cpp
dboogert/gaffer
d2ce0eb7134a33ceee375d0a3676129a9bdcfbc6
[ "BSD-3-Clause" ]
null
null
null
src/GafferUIBindings/RenderableGadgetBinding.cpp
dboogert/gaffer
d2ce0eb7134a33ceee375d0a3676129a9bdcfbc6
[ "BSD-3-Clause" ]
null
null
null
src/GafferUIBindings/RenderableGadgetBinding.cpp
dboogert/gaffer
d2ce0eb7134a33ceee375d0a3676129a9bdcfbc6
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2011-2012, John Haddon. All rights reserved. // Copyright (c) 2011-2012, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are perm...
41.37069
149
0.730152
[ "object", "vector" ]
02d6a20359017c93956d33db69f9ee15c9078e3f
1,080
cpp
C++
graphics-library/src/scene/scene_shape.cpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/src/scene/scene_shape.cpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/src/scene/scene_shape.cpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
#include "geometry/line.hpp" #include "math/matrix.hpp" #include "scene/scene_shape.hpp" namespace gl::scene { std::shared_ptr<SceneShape> SceneShape::create(const std::shared_ptr<geometry::Shape> &shape) { return std::shared_ptr<SceneShape>(new SceneShape(shape)); } SceneShape::SceneSh...
34.83871
100
0.633333
[ "geometry", "object", "shape" ]
02d8018dacfec30473424e2dba6805772758d12d
1,532
cpp
C++
aws-cpp-sdk-iotevents/source/model/IotSiteWiseAssetModelPropertyIdentifier.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-iotevents/source/model/IotSiteWiseAssetModelPropertyIdentifier.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-iotevents/source/model/IotSiteWiseAssetModelPropertyIdentifier.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-02-28T21:36:42.000Z
2022-02-28T21:36:42.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iotevents/model/IotSiteWiseAssetModelPropertyIdentifier.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Uti...
20.426667
112
0.763708
[ "model" ]
02d911315898f526a1138a171af4c44b3021699e
73,963
cpp
C++
MMOCoreORB/src/server/zone/managers/auction/AuctionManagerImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/managers/auction/AuctionManagerImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/managers/auction/AuctionManagerImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* * AuctionManagerImplementation.cpp * * Created on: 13/03/2010 * Author: victor */ #include "server/zone/managers/auction/AuctionManager.h" #include "server/zone/managers/auction/AuctionsMap.h" #include "server/zone/managers/object/ObjectManager.h" #include "templates/manager/TemplateManager.h" #include "...
34.131518
339
0.726701
[ "object", "vector" ]
02dbb168f8e51e0972c708900e41fb9dbeac9935
2,874
cpp
C++
algorithms/kernel/stump/inner/stump_train.cpp
KalyanovD/daal
b354b68f83a213102bca6e03d7a11f55ab751f92
[ "Apache-2.0" ]
null
null
null
algorithms/kernel/stump/inner/stump_train.cpp
KalyanovD/daal
b354b68f83a213102bca6e03d7a11f55ab751f92
[ "Apache-2.0" ]
null
null
null
algorithms/kernel/stump/inner/stump_train.cpp
KalyanovD/daal
b354b68f83a213102bca6e03d7a11f55ab751f92
[ "Apache-2.0" ]
null
null
null
/* file: stump_train.cpp */ /******************************************************************************* * Copyright 2014-2019 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 Licen...
32.292135
134
0.706333
[ "object", "model" ]
02dbd0b385f6dd2b5c058de4dee426d41487fff9
39,557
hpp
C++
dynadjust/include/functions/dnatemplategeodesyfuncs.hpp
nicgowans/DynAdjust
7443f0a3a0487876dd2f568efaa6c7be0e3e75e3
[ "Apache-2.0" ]
44
2018-08-30T04:18:27.000Z
2022-02-01T05:37:18.000Z
dynadjust/include/functions/dnatemplategeodesyfuncs.hpp
nicgowans/DynAdjust
7443f0a3a0487876dd2f568efaa6c7be0e3e75e3
[ "Apache-2.0" ]
112
2018-08-30T09:33:42.000Z
2022-03-30T00:32:29.000Z
dynadjust/include/functions/dnatemplategeodesyfuncs.hpp
nicgowans/DynAdjust
7443f0a3a0487876dd2f568efaa6c7be0e3e75e3
[ "Apache-2.0" ]
29
2018-08-30T09:07:36.000Z
2022-02-25T05:16:08.000Z
//============================================================================ // Name : dnatemplategeodesyfuncs.hpp // Author : Roger Fraser // Contributors : // Version : 1.00 // Copyright : Copyright 2017 Geoscience Australia // // Licensed under the Apache License, Version 2.0 (...
32.31781
249
0.644285
[ "vector" ]
02dda8d2e0d5da787b9c6b2bc8b75ba0859e5f12
20,347
cc
C++
src/xenia/kernel/xam/xam_user.cc
randprint/xenia
ae3b68c7b602b34412db5de16e20bd933e0ab1bd
[ "BSD-3-Clause" ]
1
2020-11-19T00:46:24.000Z
2020-11-19T00:46:24.000Z
src/xenia/kernel/xam/xam_user.cc
randprint/xenia
ae3b68c7b602b34412db5de16e20bd933e0ab1bd
[ "BSD-3-Clause" ]
null
null
null
src/xenia/kernel/xam/xam_user.cc
randprint/xenia
ae3b68c7b602b34412db5de16e20bd933e0ab1bd
[ "BSD-3-Clause" ]
1
2020-07-06T08:04:32.000Z
2020-07-06T08:04:32.000Z
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
34.254209
92
0.646778
[ "object", "vector" ]
02e24675e981082d47d3051640c292a90d107c45
17,292
cpp
C++
cyber.token/src/cyber.token.cpp
cyberway/cyberway.contracts
a6a7d6e25a225a1de2537f5a224decdea2066d77
[ "MIT" ]
3
2019-10-16T04:39:49.000Z
2019-10-16T05:01:01.000Z
cyber.token/src/cyber.token.cpp
GolosChain/cyberway.contracts
a6a7d6e25a225a1de2537f5a224decdea2066d77
[ "MIT" ]
110
2018-10-23T09:18:39.000Z
2019-07-25T03:16:21.000Z
cyber.token/src/cyber.token.cpp
cyberway/cyberway.contracts
a6a7d6e25a225a1de2537f5a224decdea2066d77
[ "MIT" ]
2
2020-10-28T14:49:29.000Z
2020-10-28T15:33:18.000Z
/** * @file * @copyright defined in eos/LICENSE.txt */ #include <eosio/event.hpp> #include <cyber.token/cyber.token.hpp> #include <set> namespace eosio { namespace config { static constexpr size_t max_memo_size = 384; static constexpr char memo_error[] = "memo has more than 384 bytes"; const uint32_...
35.075051
116
0.638908
[ "object", "vector" ]
02e36bef708795ac4f15d9c46021dc760ea7d7d7
5,278
cpp
C++
be/src/storage/compaction_utils.cpp
hiliuxg/starrocks
04640294c794291e31c132bc6217cc62e71be17c
[ "Zlib", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
be/src/storage/compaction_utils.cpp
hiliuxg/starrocks
04640294c794291e31c132bc6217cc62e71be17c
[ "Zlib", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
be/src/storage/compaction_utils.cpp
hiliuxg/starrocks
04640294c794291e31c132bc6217cc62e71be17c
[ "Zlib", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. #include "storage/compaction_utils.h" #include "storage/base_and_cumulative_compaction_policy.h" #include "storage/row_source_mask.h" #include "storage/rowset/rowset_factory.h" #include "storage/rowset/rowset_writer.h" ...
43.619835
120
0.684161
[ "vector" ]
02e45fac1e90ab8d4f6c650f520fa3233c7b5dbb
25,105
cpp
C++
src/low_module.cpp
kennell/lowjs
e71ad63d4a26ba0eb1ba453e27b114d4ce0e1413
[ "MIT" ]
null
null
null
src/low_module.cpp
kennell/lowjs
e71ad63d4a26ba0eb1ba453e27b114d4ce0e1413
[ "MIT" ]
null
null
null
src/low_module.cpp
kennell/lowjs
e71ad63d4a26ba0eb1ba453e27b114d4ce0e1413
[ "MIT" ]
null
null
null
// ----------------------------------------------------------------------------- // low_module.cpp // ----------------------------------------------------------------------------- #include "low_module.h" #include "low_main.h" #include "low_system.h" #include "low_alloc.h" #include "low_config.h" #include <sys/types....
27.771018
80
0.476041
[ "object" ]
02e512d9725a7f8d27e2f08756f41d50abc1f091
3,642
cpp
C++
Pack/app.cpp
Kerndog73/Simpleton-Engine
ab1905f805d1e1c951d96775d0d6646a3548b4ce
[ "MIT" ]
52
2017-08-12T14:41:58.000Z
2022-01-12T01:18:57.000Z
Pack/app.cpp
Kerndog73/Simpleton-Engine
ab1905f805d1e1c951d96775d0d6646a3548b4ce
[ "MIT" ]
null
null
null
Pack/app.cpp
Kerndog73/Simpleton-Engine
ab1905f805d1e1c951d96775d0d6646a3548b4ce
[ "MIT" ]
5
2018-11-20T04:02:15.000Z
2020-03-02T19:15:16.000Z
// // app.cpp // Pack // // Created by Indi Kernick on 24/2/18. // Copyright © 2018 Indi Kernick. All rights reserved. // #include "app.hpp" #include <iostream> #include "search dir.hpp" #include "sort by frame.hpp" #include "load images.hpp" #include "rects from images.hpp" #include "pack rects.hpp" #include "bl...
30.099174
81
0.548051
[ "vector" ]
02e5cd38e1d6c1deb5fb747615f1e5890e0c24d2
99,194
cpp
C++
Source/Rendering/DirectX/vaDirectXTools.cpp
rohankumardubey/XeGTAO
e7698f874e90f2516fca26c696ec3cd2c70e505a
[ "MIT" ]
1
2022-01-15T00:40:59.000Z
2022-01-15T00:40:59.000Z
Source/Rendering/DirectX/vaDirectXTools.cpp
rohankumardubey/XeGTAO
e7698f874e90f2516fca26c696ec3cd2c70e505a
[ "MIT" ]
null
null
null
Source/Rendering/DirectX/vaDirectXTools.cpp
rohankumardubey/XeGTAO
e7698f874e90f2516fca26c696ec3cd2c70e505a
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2016-2021, Intel Corporation // // SPDX-License-Identifier: MIT /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
45.585478
327
0.64391
[ "object", "vector", "3d", "solid" ]
02eb84ba900b024da05432acecb61c6c5fa22e89
1,482
cpp
C++
MilaTest/Dnn/RNN/RnnDataSet.cpp
ToddThomson/Mila
f1ec60d026f3b94d0b4dc084ae40708803242fa2
[ "MIT" ]
1
2022-01-09T01:13:03.000Z
2022-01-09T01:13:03.000Z
MilaTest/Dnn/RNN/RnnDataSet.cpp
ToddThomson/Mila
f1ec60d026f3b94d0b4dc084ae40708803242fa2
[ "MIT" ]
1
2022-01-19T20:04:58.000Z
2022-01-19T20:04:58.000Z
MilaTest/Dnn/RNN/RnnDataSet.cpp
ToddThomson/Mila
f1ec60d026f3b94d0b4dc084ae40708803242fa2
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "../Common.h" #include <iostream> #include <vector> import Dnn.RnnModel; import Dnn.RnnDataSetDescriptor; import CuDnn.Utils; namespace Mila::Tests::Dnn { TEST( Dnn_Descriptor, Create_RnnDataSet_Float ) { auto options = GetDefaultRnnOptions(); auto model = Mi...
29.058824
79
0.610661
[ "vector", "model" ]
02ec45a448be950d36094b42507e5756bd2fe165
4,835
cc
C++
libsrc/cencalvm/query/f77vmquery.cc
baagaard-usgs/cencalvm
c6cca356c722f150178416e5f98a1506dd733db6
[ "CC0-1.0" ]
null
null
null
libsrc/cencalvm/query/f77vmquery.cc
baagaard-usgs/cencalvm
c6cca356c722f150178416e5f98a1506dd733db6
[ "CC0-1.0" ]
null
null
null
libsrc/cencalvm/query/f77vmquery.cc
baagaard-usgs/cencalvm
c6cca356c722f150178416e5f98a1506dd733db6
[ "CC0-1.0" ]
null
null
null
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard // U.S. Geological Survey // // {LicenseText} // // ====================================================================== // #include <portinfo> #include ...
24.419192
73
0.50486
[ "object", "model" ]
02ec515e6a008c62f8ba9f6597884233edc2e743
4,187
cpp
C++
ml/src/SelectionModel.cpp
georgephilipp/cppgstd_legacy
e130860da7700aae42b915bc36a7efa4cae06d56
[ "MIT" ]
null
null
null
ml/src/SelectionModel.cpp
georgephilipp/cppgstd_legacy
e130860da7700aae42b915bc36a7efa4cae06d56
[ "MIT" ]
null
null
null
ml/src/SelectionModel.cpp
georgephilipp/cppgstd_legacy
e130860da7700aae42b915bc36a7efa4cae06d56
[ "MIT" ]
null
null
null
/* * File: SelectionModel.cpp * Author: gschoenh * * Created on December 5, 2013, 11:57 AM */ #include "stdafx.h" #include "SelectionModel.h" #include "gstd/src/Map.h" #include "gstd/src/Vector.h" #include "gstd/src/Primitives.h" namespace msii810161816 { namespace ml { SelectionModel::Se...
30.122302
152
0.57989
[ "vector", "model" ]
02ed7d7f503aeb44603aec4302a7e291fed7b7f5
97,651
cpp
C++
source/d3d9/d3d9_device.cpp
clayne/reshade
fbbe43d474f38ebbd778f07e00fcb2d7415b78ce
[ "BSD-3-Clause" ]
1
2021-04-15T02:37:12.000Z
2021-04-15T02:37:12.000Z
source/d3d9/d3d9_device.cpp
motz61/reshade
fbbe43d474f38ebbd778f07e00fcb2d7415b78ce
[ "BSD-3-Clause" ]
null
null
null
source/d3d9/d3d9_device.cpp
motz61/reshade
fbbe43d474f38ebbd778f07e00fcb2d7415b78ce
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #include "d3d9_device.hpp" #include "d3d9_swapchain.hpp" #include "d3d9_impl_type_convert.hpp" #include "dll_log.hpp" // Include late to get HRESULT log overloads #include "com_utils.hpp" using resh...
39.296177
299
0.776541
[ "render", "object", "vector" ]
02ef30eb68877ca83f4681769a82f4a85f8a8955
2,655
cpp
C++
archives/books/CP3-materials/ch3/ch3_03_UVa11450_bu.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
archives/books/CP3-materials/ch3/ch3_03_UVa11450_bu.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
archives/books/CP3-materials/ch3/ch3_03_UVa11450_bu.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
/* UVa 11450 - Wedding Shopping - Bottom Up */ #include <cstdio> #include <cstring> using namespace std; int main() { int i, j, k, TC, M, C; int price[25][25]; // price[g (<= 20)][model (<= 20)] bool reachable[25][210]; // reachable table[g (<= 20)][money (<= 200)] scanf("%d", &TC); wh...
35.878378
75
0.462524
[ "model" ]
02f1ed5ac1f95c0661e44d3dc84163dd58dc4857
4,500
cpp
C++
torch/csrc/api/src/optim/sgd.cpp
YifanShenSZ/pytorch
b4232f7cbe407909f9d95b91304c73fdc4c66a50
[ "Intel" ]
null
null
null
torch/csrc/api/src/optim/sgd.cpp
YifanShenSZ/pytorch
b4232f7cbe407909f9d95b91304c73fdc4c66a50
[ "Intel" ]
null
null
null
torch/csrc/api/src/optim/sgd.cpp
YifanShenSZ/pytorch
b4232f7cbe407909f9d95b91304c73fdc4c66a50
[ "Intel" ]
null
null
null
#include <torch/optim/sgd.h> #include <torch/csrc/autograd/variable.h> #include <torch/nn/pimpl.h> #include <torch/optim/optimizer.h> #include <torch/optim/serialize.h> #include <torch/types.h> #include <torch/utils.h> #include <ATen/ATen.h> #include <c10/util/irange.h> #include <functional> namespace torch { names...
32.142857
86
0.670667
[ "vector" ]