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
11e16ae95944f217abbf49a85be73cd7d74d783f
5,878
hpp
C++
include/caffe/parallel.hpp
matex-org/caffe-intel
8435dc0803542d2b0a5524c3a3c7d2ea9f99da1c
[ "Intel", "BSD-2-Clause" ]
1
2019-08-16T13:09:38.000Z
2019-08-16T13:09:38.000Z
include/caffe/parallel.hpp
matex-org/caffe-intel
8435dc0803542d2b0a5524c3a3c7d2ea9f99da1c
[ "Intel", "BSD-2-Clause" ]
null
null
null
include/caffe/parallel.hpp
matex-org/caffe-intel
8435dc0803542d2b0a5524c3a3c7d2ea9f99da1c
[ "Intel", "BSD-2-Clause" ]
null
null
null
/* All modification made by Intel Corporation: © 2016 Intel Corporation All contributions by the University of California: Copyright (c) 2014, 2015, The Regents of the University of California (Regents) All rights reserved. All other contributions: Copyright (c) 2014, 2015, the respective contributors All rights rese...
29.39
92
0.705682
[ "vector" ]
11e20d854b85b4dcabe435997c752fa64d86c01a
4,187
cpp
C++
Code/Editor/TrackView/TimeRangeKeyUIControls.cpp
LB-KatarzynaDylska/o3de
d8d273697ea8e1beeb698f62b84904a192b0ab76
[ "Apache-2.0", "MIT" ]
1
2022-03-28T08:06:58.000Z
2022-03-28T08:06:58.000Z
Code/Editor/TrackView/TimeRangeKeyUIControls.cpp
LB-KatarzynaDylska/o3de
d8d273697ea8e1beeb698f62b84904a192b0ab76
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Editor/TrackView/TimeRangeKeyUIControls.cpp
LB-KatarzynaDylska/o3de
d8d273697ea8e1beeb698f62b84904a192b0ab76
[ "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" // CryCommon #include <CryCommon/Maestro/Types/AnimParamType.h> // for ...
33.496
158
0.646047
[ "3d" ]
11e4d2749fa6435bb65118f58bde8ea4e0886c12
1,036
cpp
C++
Algorithm/Sorting/Heap sort.cpp
Leoyuseu/Code
34edfbbfb7875b3ed06de393c192c1f13a5074f4
[ "BSD-Source-Code" ]
null
null
null
Algorithm/Sorting/Heap sort.cpp
Leoyuseu/Code
34edfbbfb7875b3ed06de393c192c1f13a5074f4
[ "BSD-Source-Code" ]
null
null
null
Algorithm/Sorting/Heap sort.cpp
Leoyuseu/Code
34edfbbfb7875b3ed06de393c192c1f13a5074f4
[ "BSD-Source-Code" ]
null
null
null
#include <iostream> #include <vector> //#include <algorithm> //swap using namespace std; void show(const vector<int> &ivec){ for(auto it = ivec.begin() + 1; it !=ivec.end(); ++it){ cout << *it <<" "; } cout << endl; } void heapAdjust(vector<int> &ivec, int pos, int end){ //调整堆 int posnum = ivec[pos]; for(i...
22.521739
76
0.565637
[ "vector" ]
11e5323d0b7e866ade245c09813738a416ea6299
6,201
cpp
C++
DemoFramework/FslBase/source/FslBase/Math/Ray.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoFramework/FslBase/source/FslBase/Math/Ray.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslBase/source/FslBase/Math/Ray.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
/* MIT License Copyright (C) 2006 The Mono.Xna Team All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,...
26.275424
129
0.609579
[ "vector", "3d" ]
eb19b5e21dcf04f1c8828abe160fb67f52e835a2
16,321
cpp
C++
src/Libraries/ARB/ARBConfigMultiQ.cpp
dconnet/AgilityBook
4804c79079d6109294a6d377fb6ebda70bcb30a1
[ "MIT" ]
1
2020-11-23T20:33:41.000Z
2020-11-23T20:33:41.000Z
src/Libraries/ARB/ARBConfigMultiQ.cpp
dconnet/AgilityBook
4804c79079d6109294a6d377fb6ebda70bcb30a1
[ "MIT" ]
null
null
null
src/Libraries/ARB/ARBConfigMultiQ.cpp
dconnet/AgilityBook
4804c79079d6109294a6d377fb6ebda70bcb30a1
[ "MIT" ]
3
2020-05-04T19:42:26.000Z
2022-03-08T09:36:54.000Z
/* * Copyright (c) David Connet. All Rights Reserved. * * License: See License.txt */ /** * @file * @brief The classes that make up the configuration information. * @author David Connet * * Revision History * 2009-09-13 Add support for wxWidgets 2.9, deprecate tstring. * 2006-02-16 Cleaned up memory usage w...
23.687954
120
0.674775
[ "vector" ]
eb1a570d3933be9bda5c9c06d7d05f21da49801d
2,392
cpp
C++
esercizi_prove/esercizi_seconda_intercorso/chef_wedding.cpp
AntonioEmmanuele/asd_homework_esercizi
7eaad2ae78f0ada90d1c6264cd02a05f26c31941
[ "Apache-2.0" ]
null
null
null
esercizi_prove/esercizi_seconda_intercorso/chef_wedding.cpp
AntonioEmmanuele/asd_homework_esercizi
7eaad2ae78f0ada90d1c6264cd02a05f26c31941
[ "Apache-2.0" ]
null
null
null
esercizi_prove/esercizi_seconda_intercorso/chef_wedding.cpp
AntonioEmmanuele/asd_homework_esercizi
7eaad2ae78f0ada90d1c6264cd02a05f26c31941
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <map> /* https://www.codechef.com/problems/CHEFWED */ using namespace std; //O(n)*O(n-i), dovrebbe essere Theta(n), alla finne ti trovi sempre a ciclare al max su n i=n-1 void calc_ineff(vector<unsigned int> guests,unsigned int& idx,unsigned int& actual_ineff,const unsigne...
35.176471
121
0.629181
[ "vector" ]
eb1a849048ae0ce4247b97949878d82be9e3f8ba
22,023
cpp
C++
app/archive/commsdsl2old/src/BundleField.cpp
arobenko/commsdsl
e0f0bf42a455445d0a266d3540b008e0dc24cd15
[ "Apache-2.0" ]
4
2018-12-18T09:51:48.000Z
2019-07-31T20:21:57.000Z
app/archive/commsdsl2old/src/BundleField.cpp
arobenko/commsdsl
e0f0bf42a455445d0a266d3540b008e0dc24cd15
[ "Apache-2.0" ]
4
2019-08-02T06:59:58.000Z
2020-06-01T22:10:02.000Z
app/archive/commsdsl2old/src/BundleField.cpp
arobenko/commsdsl
e0f0bf42a455445d0a266d3540b008e0dc24cd15
[ "Apache-2.0" ]
2
2019-06-05T15:37:03.000Z
2020-01-30T11:47:59.000Z
// // Copyright 2018 - 2021 (C). Alex Robenko. 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 requi...
31.642241
124
0.607955
[ "vector" ]
eb1f0ac30808fbe8895b8e2b99de5a7579b66b76
6,005
cpp
C++
testpng.cpp
TimSC/drawlib
c51f1331203a30fb5736fca9c85d5f5c41b5f8ba
[ "BSD-2-Clause" ]
null
null
null
testpng.cpp
TimSC/drawlib
c51f1331203a30fb5736fca9c85d5f5c41b5f8ba
[ "BSD-2-Clause" ]
null
null
null
testpng.cpp
TimSC/drawlib
c51f1331203a30fb5736fca9c85d5f5c41b5f8ba
[ "BSD-2-Clause" ]
4
2016-05-26T15:11:48.000Z
2021-03-02T16:02:48.000Z
#include "drawlibcairo.h" #include <iostream> using namespace std; void DrawTestPatterns(class IDrawLib *drawLib) { Contour outer; outer.push_back(Point(50, 50)); outer.push_back(Point(150, 50)); outer.push_back(Point(150, 150)); outer.push_back(Point(50, 150)); Contours inners; Polygon polygon(outer, inners);...
30.482234
103
0.747211
[ "vector" ]
eb2027dc0cd73c60eb1b2d09757bbf9386360fc3
5,797
cpp
C++
Source/Utility/MythForest/Component/Stream/StreamComponent.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
Source/Utility/MythForest/Component/Stream/StreamComponent.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
Source/Utility/MythForest/Component/Stream/StreamComponent.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
#include "StreamComponent.h" #include "../../../BridgeSunset/BridgeSunset.h" #include "../../../../Core/Driver/Profiler/Optick/optick.h" #include <utility> using namespace PaintsNow; StreamComponent::StreamComponent(const UShort3& dim, uint16_t cacheCount) : dimension(dim), recycleStart(0) { assert(dim.x() != 0 && d...
32.9375
168
0.705192
[ "object" ]
eb27b63ea843478889768ea7dda63d0c54deab2d
857
cpp
C++
src/bindings/URL.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
src/bindings/URL.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
src/bindings/URL.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2019-01-25T13:55:25.000Z
2019-01-25T13:55:25.000Z
#include "URL.h" void URL::RegisterClass() { JSC::Object url = JSC::Object::MakeFunctionWithCallback("URL", URL::url); JSC::Object createObjectURL = JSC::Object::MakeFunctionWithCallback("createObjectURL", URL::createObjectURL); JSC::Object revokeObjectURL = JSC::Object::MakeFunctionWithCallback("revokeObj...
29.551724
113
0.723454
[ "object" ]
eb27d72e06fa1d0ca444081fec0ac40b0c286dce
1,363
hpp
C++
include/xml_writer.hpp
saby1101/planet-dump-ng
c049dd4cc9d04586ece1b9fbb6d18bed2c6ac42c
[ "BSD-2-Clause" ]
24
2015-03-23T11:01:01.000Z
2021-03-24T04:10:05.000Z
include/xml_writer.hpp
saby1101/planet-dump-ng
c049dd4cc9d04586ece1b9fbb6d18bed2c6ac42c
[ "BSD-2-Clause" ]
19
2015-02-10T09:14:12.000Z
2022-03-26T15:21:03.000Z
include/xml_writer.hpp
saby1101/planet-dump-ng
c049dd4cc9d04586ece1b9fbb6d18bed2c6ac42c
[ "BSD-2-Clause" ]
8
2015-02-21T10:30:22.000Z
2020-12-03T01:49:35.000Z
#ifndef XML_WRITER_HPP #define XML_WRITER_HPP #include "output_writer.hpp" #include "changeset_map.hpp" #include <ostream> #include <boost/scoped_ptr.hpp> #include <boost/date_time/posix_time/ptime.hpp> #include <boost/program_options.hpp> #include <map> #include <string> class xml_writer : public output_writer { pub...
32.452381
116
0.727073
[ "vector" ]
eb30105722758e31d5e9c84f04854d48aca15e99
918
cpp
C++
A_problems/IQtest.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
A_problems/IQtest.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
A_problems/IQtest.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; //#include<windows.h> #include<cstring> #include<string> #include<algorithm> #include<stack> #include<vector> #include<cmath> #include<list> #include<cstdlib> long long GCD(long long A, long long B) { if (B > A) { swap(A, B); } long long gcd = A % B; if (gcd == 0) { ...
13.114286
40
0.517429
[ "vector" ]
eb30ea971c7b5b732507f9f6a31720376f03aa5e
13,296
cpp
C++
src/engine/gfx/gfxsystem.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/gfx/gfxsystem.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/gfx/gfxsystem.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
/* Copyright 2009-2021 Nicolas Colombe 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, publish, distribute...
33.157107
460
0.705024
[ "render", "vector" ]
eb32e931b12bab43fb441c04ce50eef6b967bb78
11,624
cpp
C++
debugger.cpp
5cript/debugger-interface
61d6fd73275b2240f61f19a3978015d9bb0c1e3c
[ "MIT" ]
null
null
null
debugger.cpp
5cript/debugger-interface
61d6fd73275b2240f61f19a3978015d9bb0c1e3c
[ "MIT" ]
null
null
null
debugger.cpp
5cript/debugger-interface
61d6fd73275b2240f61f19a3978015d9bb0c1e3c
[ "MIT" ]
null
null
null
#include "debugger.hpp" #include "process/process.hpp" #include "input_parser.hpp" #include "input/stream_record.hpp" #include "input/async_record.hpp" #include "distributing_listener.hpp" #include <sstream> #include <string> #include <iostream> using namespace std::string_literals; namespace Debugger...
37.25641
120
0.356074
[ "vector" ]
eb350a3c10972ef34dee0e424334e4f09ec0a8fb
9,427
cpp
C++
UAlbertaBot/Source/BaseLocation.cpp
KristianRungo/SneakBot
77bd3f4b31a0a9281089a93d4817d9741d942348
[ "MIT" ]
null
null
null
UAlbertaBot/Source/BaseLocation.cpp
KristianRungo/SneakBot
77bd3f4b31a0a9281089a93d4817d9741d942348
[ "MIT" ]
null
null
null
UAlbertaBot/Source/BaseLocation.cpp
KristianRungo/SneakBot
77bd3f4b31a0a9281089a93d4817d9741d942348
[ "MIT" ]
null
null
null
#include "Common.h" #include "BaseLocation.h" #include "MapTools.h" #include "Global.h" #include <sstream> #include <iostream> using namespace UAlbertaBot; const int NearBaseLocationTileDistance = 20; BaseLocation::BaseLocation(int baseID, const std::vector<BWAPI::Unit> & resources) : m_baseID(baseID) { PRO...
33.193662
139
0.647608
[ "vector" ]
eb362a83ac8b0fb406ae472a5bbc6c4235053613
10,647
hxx
C++
Modules/Segmentation/LevelSetsv4/include/itkLevelSetEvolutionComputeIterationThreader.hxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
3
2019-11-19T09:47:25.000Z
2022-02-24T00:32:31.000Z
Modules/Segmentation/LevelSetsv4/include/itkLevelSetEvolutionComputeIterationThreader.hxx
JamesLinus/ITK
01fb2f2a97ae7767b7835dd92b40b6cc2c82e750
[ "Apache-2.0" ]
1
2019-03-18T14:19:49.000Z
2020-01-11T13:54:33.000Z
Modules/Segmentation/LevelSetsv4/include/itkLevelSetEvolutionComputeIterationThreader.hxx
JamesLinus/ITK
01fb2f2a97ae7767b7835dd92b40b6cc2c82e750
[ "Apache-2.0" ]
1
2022-02-24T00:32:36.000Z
2022-02-24T00:32:36.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
41.589844
151
0.743872
[ "vector" ]
eb369dd1211204f474d98324a1623b1c2bcb9e2a
28,406
hpp
C++
RCEngine.hpp
rainstormstudio/RCEngine
54c7e4064af56264be89d3a5e4ea1d85a66047de
[ "MIT" ]
null
null
null
RCEngine.hpp
rainstormstudio/RCEngine
54c7e4064af56264be89d3a5e4ea1d85a66047de
[ "MIT" ]
null
null
null
RCEngine.hpp
rainstormstudio/RCEngine
54c7e4064af56264be89d3a5e4ea1d85a66047de
[ "MIT" ]
null
null
null
/** * @file RCEngine.hpp * @author Daniel Hongyu Ding * @brief * @version 0.1 * @date 2020-12-25 * * @copyright Copyright (c) 2020 * */ /* -------------------------------------------------------------------------------- * Author: Daniel Hongyu Ding * ██████╗ █████╗ ██╗███╗ ██╗███████╗████████╗ ██████╗ █...
31.284141
154
0.46638
[ "render", "vector" ]
eb3a82a47a261303b0c36863544d7792557f0288
7,219
cpp
C++
kattis_done/doorman.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
kattis_done/doorman.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
kattis_done/doorman.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
/** Justice isn’t something that you can just proclaim. It’s a feeling you should keep near your heart. */ //,*************,,*/(((((//,,*(#%%%%%%%%%%%%%%%#(*,,,****************************************************,*/(((((((((/((((////****/((##%%%%%% //,*************,,//((((((//,,*(%%%%%%%%%%%%%%%%%##/**********...
60.158333
141
0.115251
[ "vector" ]
eb3c75cdd1a6f9d628389ffe2241b09920f6f590
54,162
cc
C++
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_panel_device.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_panel_device.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_panel_device.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
/* This file is part of Kismet Kismet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Kismet is distributed in the ...
30.207474
181
0.6802
[ "vector" ]
eb3cfa19f885e6bde643cf18ebad3b17fc87afbd
798
cpp
C++
leetcode/410_Split-Array-Largest-Sum/SplitArrayLargestSum2.cpp
chasingegg/Online_Judge
8a3f4b5b207cbeda921c743a527a25bf9c7b6248
[ "MIT" ]
1
2017-10-13T10:34:46.000Z
2017-10-13T10:34:46.000Z
leetcode/410_Split-Array-Largest-Sum/SplitArrayLargestSum2.cpp
chasingegg/Online_Judge
8a3f4b5b207cbeda921c743a527a25bf9c7b6248
[ "MIT" ]
null
null
null
leetcode/410_Split-Array-Largest-Sum/SplitArrayLargestSum2.cpp
chasingegg/Online_Judge
8a3f4b5b207cbeda921c743a527a25bf9c7b6248
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <cstdio> #include <cstring> using namespace std; class Solution { public: bool is_reach(vector<int> &nums, int m, long target_num) { long cur_sum = nums[0]; int section = 1; for (int i = 1; i < nums.size(); ++i) { cur_sum += nums[i]; if (cur...
19.463415
59
0.558897
[ "vector" ]
eb3d122256b42e4220e10696a0553fe172132d70
1,868
cpp
C++
Codeforces/1360E_Polygon.cpp
a3X3k/Competitive-programing-hacktoberfest-2021
bc3997997318af4c5eafad7348abdd9bf5067b4f
[ "Unlicense" ]
12
2021-06-05T09:40:10.000Z
2021-10-07T17:59:51.000Z
Codeforces/1360E_Polygon.cpp
a3X3k/Competitive-programing-hacktoberfest-2021
bc3997997318af4c5eafad7348abdd9bf5067b4f
[ "Unlicense" ]
21
2021-09-30T22:25:03.000Z
2021-10-05T18:23:25.000Z
Codeforces/1360E_Polygon.cpp
a3X3k/Competitive-programing-hacktoberfest-2021
bc3997997318af4c5eafad7348abdd9bf5067b4f
[ "Unlicense" ]
67
2021-08-01T10:04:52.000Z
2021-10-10T00:25:04.000Z
// Problem Link: https://codeforces.com/contest/1360/problem/E // Solution: #include<bits/stdc++.h> using namespace std; const int mod = 1e9 + 7; const int modulo = 998244353; #define deb(...) logger(#__VA_ARGS__, __VA_ARGS__) template<typename ...Args> void logger(string vars, Args&&... values) { cout << vars << "...
20.304348
137
0.46788
[ "vector" ]
eb3d2431652bb84efd844b571a282bd84339e2c8
3,177
cc
C++
MagneticField/GeomBuilder/src/bRod.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
1
2020-02-07T11:20:02.000Z
2020-02-07T11:20:02.000Z
MagneticField/GeomBuilder/src/bRod.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
MagneticField/GeomBuilder/src/bRod.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
2
2019-09-27T08:33:22.000Z
2019-11-14T10:52:30.000Z
// #include "Utilities/Configuration/interface/Architecture.h" /* * See header file for a description of this class. * * \author N. Amapane - INFN Torino */ #include "MagneticField/GeomBuilder/src/bRod.h" #include "Utilities/BinningTools/interface/ClusterizingHistogram.h" #include "MagneticField/Layers/interfac...
35.3
110
0.639597
[ "vector" ]
eb42b27153f4a090a9e1d3dcd1fd4db758c3bff6
986
cpp
C++
testing/coordinate/point/fill_constructor.cpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
129
2016-08-18T23:24:15.000Z
2022-03-25T12:06:05.000Z
testing/coordinate/point/fill_constructor.cpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
86
2016-08-19T03:43:33.000Z
2020-07-20T14:27:41.000Z
testing/coordinate/point/fill_constructor.cpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
23
2016-08-18T23:52:13.000Z
2022-02-28T16:28:20.000Z
#include <iostream> #include <cassert> #include <algorithm> #include <agency/coordinate.hpp> void test_fill_constructor() { using namespace agency; { // test fill construct 1D point constexpr size_t num_elements = 1; point<int,num_elements> p(13); ptrdiff_t expected_difference = num_elements...
18.603774
70
0.656187
[ "3d" ]
eb480a170e7550204d206feccaab4d3e58b3b517
28,158
cc
C++
sw/device/tests/dif/dif_spi_device_unittest.cc
danaagur/opentitan
29b07c2e8ef829f9220e6ada3bdfc072fb9e1256
[ "Apache-2.0" ]
1
2021-07-16T09:16:42.000Z
2021-07-16T09:16:42.000Z
sw/device/tests/dif/dif_spi_device_unittest.cc
danaagur/opentitan
29b07c2e8ef829f9220e6ada3bdfc072fb9e1256
[ "Apache-2.0" ]
1
2020-12-13T08:49:01.000Z
2021-08-08T21:15:14.000Z
sw/device/tests/dif/dif_spi_device_unittest.cc
danaagur/opentitan
29b07c2e8ef829f9220e6ada3bdfc072fb9e1256
[ "Apache-2.0" ]
null
null
null
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/dif/dif_spi_device.h" #include <limits> #include "gtest/gtest.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/testing/mock_mmio...
35.109726
80
0.690248
[ "vector" ]
eb4f009b84036f77445c6450cf3af809177da141
2,554
cpp
C++
src/mexpr_test.cpp
haptork/pawn
b0c2431118de05eda59343fb98118dba54222133
[ "BSL-1.0" ]
2
2019-06-02T06:39:04.000Z
2020-03-09T07:38:20.000Z
src/mexpr_test.cpp
haptork/pawn
b0c2431118de05eda59343fb98118dba54222133
[ "BSL-1.0" ]
null
null
null
src/mexpr_test.cpp
haptork/pawn
b0c2431118de05eda59343fb98118dba54222133
[ "BSL-1.0" ]
null
null
null
#include <iostream> #include <map> #include <numeric> #include <mast.hpp> #include <mexpr.hpp> #include <helper.hpp> int testMath() { std::cout << "/////////////////////////////////////////////////////////\n\n"; std::cout << "Math Expression parser...\n\n"; std::cout << "//////////////////////////////////...
34.513514
94
0.490603
[ "vector" ]
eb4f5d5aa6599bafb0785bf0c5fdc3d475446354
1,848
cpp
C++
data/transcoder_evaluation_gfg/cpp/SEARCH_INSERT_AND_DELETE_IN_A_SORTED_ARRAY_1.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/SEARCH_INSERT_AND_DELETE_IN_A_SORTED_ARRAY_1.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/SEARCH_INSERT_AND_DELETE_IN_A_SORTED_ARRAY_1.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...
42
732
0.564935
[ "vector" ]
eb56493859263e619a2b783c40283600ab496501
636
hpp
C++
Biosphere/Include/bio/biocoenosis/flora/account/Types.hpp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
1
2021-09-10T17:18:51.000Z
2021-09-10T17:18:51.000Z
Biosphere/Include/bio/biocoenosis/flora/account/Types.hpp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
null
null
null
Biosphere/Include/bio/biocoenosis/flora/account/Types.hpp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
null
null
null
#pragma once #include <bio/biocoenosis/fauna/sm.hpp> namespace bio::account { typedef u128 Uid; struct UserData { u32 Unknown; u32 IconId; u8 IconBgColorId; u8 Unknown2[0x7]; u8 MiiData[0x10]; u8 Unknown3[0x60]; } BIO_PACKED; struct ProfileBase ...
17.189189
45
0.553459
[ "object" ]
eb59538ad82d182a3f3b2505d1abaa2a63e56506
14,949
cc
C++
src/envoy/http/authn/authenticator_base_test.cc
knrc/proxy
102e286f1ff6a95195f2bb45a0cda78911884f0b
[ "Apache-2.0" ]
null
null
null
src/envoy/http/authn/authenticator_base_test.cc
knrc/proxy
102e286f1ff6a95195f2bb45a0cda78911884f0b
[ "Apache-2.0" ]
null
null
null
src/envoy/http/authn/authenticator_base_test.cc
knrc/proxy
102e286f1ff6a95195f2bb45a0cda78911884f0b
[ "Apache-2.0" ]
1
2022-03-08T09:23:19.000Z
2022-03-08T09:23:19.000Z
/* Copyright 2018 Istio 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 applicab...
36.639706
332
0.673958
[ "vector" ]
eb5a03b1b850b8e35af94b7a78c619c81514766d
5,378
hpp
C++
if_data_utils/include/if_data_utils/IFDataFileWriter.hpp
mfkiwl/PNT-Integrity
3d79cf4eb6b78a7234bbdcef0577ea847f141039
[ "Unlicense" ]
37
2021-02-23T14:46:32.000Z
2022-03-01T08:41:45.000Z
if_data_utils/include/if_data_utils/IFDataFileWriter.hpp
yxw027/PNT-Integrity
3549855a8ab4c5937d109b60ee70a6a5a9ca2d6a
[ "Unlicense" ]
2
2022-03-23T23:13:15.000Z
2022-03-24T09:42:01.000Z
if_data_utils/include/if_data_utils/IFDataFileWriter.hpp
yxw027/PNT-Integrity
3549855a8ab4c5937d109b60ee70a6a5a9ca2d6a
[ "Unlicense" ]
15
2021-02-18T08:15:39.000Z
2022-03-01T08:41:50.000Z
//============================================================================// //------------------- if_data_utils/IFDataFileWriter.hpp -------*- C++ -*-----// //============================================================================// // BSD 3-Clause License // // Copyright (C) 2019 Integrated Solutions for Sys...
34.037975
80
0.662328
[ "object", "vector" ]
eb5e1a1d2d30efa9504314b496a1f34f51d70e16
8,222
cc
C++
src/matchers/annotation_matcher.cc
blockspacer/flexlib
92c957d4cf8f172769c204962733dafbdfc71bd9
[ "Apache-2.0", "MIT" ]
1
2021-03-25T16:32:53.000Z
2021-03-25T16:32:53.000Z
src/matchers/annotation_matcher.cc
blockspacer/flexlib
92c957d4cf8f172769c204962733dafbdfc71bd9
[ "Apache-2.0", "MIT" ]
null
null
null
src/matchers/annotation_matcher.cc
blockspacer/flexlib
92c957d4cf8f172769c204962733dafbdfc71bd9
[ "Apache-2.0", "MIT" ]
1
2020-05-19T01:00:50.000Z
2020-05-19T01:00:50.000Z
#include "flexlib/matchers/annotation_matcher.hpp" // IWYU pragma: associated #include "flexlib/clangUtils.hpp" #if __has_include(<filesystem>) #include <filesystem> #else #include <experimental/filesystem> #endif // __has_include #include <clang/Rewrite/Core/Rewriter.h> #include <clang/ASTMatchers/ASTMatchers.h> #...
28.950704
78
0.761129
[ "vector" ]
eb60edd0f5dcf5b23d74483255064bf29b3347cf
12,798
cpp
C++
matsim/bio.cpp
Tom83B/matsim
dec413a1279476c9d50a81582feee8da3e12861d
[ "MIT" ]
null
null
null
matsim/bio.cpp
Tom83B/matsim
dec413a1279476c9d50a81582feee8da3e12861d
[ "MIT" ]
null
null
null
matsim/bio.cpp
Tom83B/matsim
dec413a1279476c9d50a81582feee8da3e12861d
[ "MIT" ]
1
2020-10-06T05:59:06.000Z
2020-10-06T05:59:06.000Z
#include <iostream> #include <cstdlib> #include <vector> #include <cmath> #include <ctime> #include "bio.h" using namespace std; #define PI 3.14159265358979323846 /* pi */ int poisson_rand(double rate) { double randu = ((double) rand() / (RAND_MAX)); double cummulation = 0; double pmf = exp(-rate); int...
26.012195
177
0.636115
[ "vector" ]
eb6111f7c39fd786b65df42a8d3c8dc044a1cb84
2,507
cpp
C++
src/modules/MaNGOSBot/playerbot/strategy/actions/PositionAction.cpp
MaNGOSBot/Uno
e5c95da966c367f1425d0d1d737bfdfc14362964
[ "PostgreSQL", "Zlib", "OpenSSL" ]
1
2018-05-06T12:13:04.000Z
2018-05-06T12:13:04.000Z
src/modules/Bots/playerbot/strategy/actions/PositionAction.cpp
Lidocian/ZeroBots
297072e07f85fc661e1b0e9a34c09580e3bfef14
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/Bots/playerbot/strategy/actions/PositionAction.cpp
Lidocian/ZeroBots
297072e07f85fc661e1b0e9a34c09580e3bfef14
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
#include "botpch.h" #include "../../playerbot.h" #include "../values/PositionValue.h" #include "PositionAction.h" using namespace ai; void TellPosition(PlayerbotAI* ai, string name, ai::Position pos) { ostringstream out; out << "Position " << name; if (pos.isSet()) { float x = pos.x, y = pos.y; ...
23.650943
91
0.554049
[ "vector" ]
eb6292cf4441f5f2a9ac0bbf938ec6a6b4a61807
13,747
cpp
C++
src/algorithm/graph/connectivity.cpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
7
2019-11-24T15:51:37.000Z
2021-10-02T05:18:42.000Z
src/algorithm/graph/connectivity.cpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
2
2018-12-17T00:55:32.000Z
2019-10-11T01:47:04.000Z
src/algorithm/graph/connectivity.cpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
2
2019-10-21T01:26:56.000Z
2019-12-02T00:00:42.000Z
#include <indigox/algorithm/access.hpp> #include <indigox/algorithm/graph/connectivity.hpp> #include <indigox/classes/atom.hpp> #include <indigox/classes/molecule.hpp> #include <indigox/graph/condensed.hpp> #include <indigox/graph/molecular.hpp> #include <indigox/utils/common.hpp> #include <indigox/utils/triple.hpp> #...
35.521964
80
0.605223
[ "vector" ]
eb7802d528f3de0a3bd84ee215618444fbe82c48
2,921
cpp
C++
src/hc_sr04_node.cpp
matpalm/ros-hc-sr04-node
e64b5678169732b705510d0911b5ba8775964292
[ "MIT" ]
19
2017-02-13T19:36:16.000Z
2021-01-07T21:58:56.000Z
src/hc_sr04_node.cpp
Desoky01/ros-hc-sr04-node
e64b5678169732b705510d0911b5ba8775964292
[ "MIT" ]
null
null
null
src/hc_sr04_node.cpp
Desoky01/ros-hc-sr04-node
e64b5678169732b705510d0911b5ba8775964292
[ "MIT" ]
12
2016-12-08T11:27:19.000Z
2020-01-23T13:03:51.000Z
#include <vector> #include <stdio.h> #include <stdlib.h> #include <ros/ros.h> #include <sensor_msgs/Range.h> #include <wiringPi.h> using namespace std; namespace hc_sr04_node { // Maximum distance reported. Values over this distance // report MAX_DISTANCE. TODO make this a property. const static float MAX_DISTANCE =...
24.754237
75
0.641561
[ "vector" ]
eb791e08d46c5e89753f622ade0566e5c4e6b3f2
1,784
cpp
C++
server/Encoder/NvidiaEncoder.cpp
traies/sunshine
c49d3d976b1c26f9ddda7805073ed688383719bf
[ "MIT" ]
1
2021-04-08T14:23:43.000Z
2021-04-08T14:23:43.000Z
server/Encoder/NvidiaEncoder.cpp
traies/sunshine
c49d3d976b1c26f9ddda7805073ed688383719bf
[ "MIT" ]
null
null
null
server/Encoder/NvidiaEncoder.cpp
traies/sunshine
c49d3d976b1c26f9ddda7805073ed688383719bf
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "NvidiaEncoder.h" using namespace std; NvidiaEncoder::NvidiaEncoder() { } NvidiaEncoder::~NvidiaEncoder() { } bool NvidiaEncoder::EncodeFrame(ID3D11Texture2D * frame) { if (_encoder == nullptr) { if (!InitEncoder(frame)) { return false; } } ID3D11Texture2D * inputFrame = r...
18.778947
110
0.725897
[ "vector" ]
eb79416c6ca9690f0e190dde5d072d6062cda225
5,888
cpp
C++
Spatial_searching/test/Spatial_searching/Splitters.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Spatial_searching/test/Spatial_searching/Splitters.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Spatial_searching/test/Spatial_searching/Splitters.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
#include <CGAL/Simple_cartesian.h> #include <cassert> #include <CGAL/point_generators_2.h> #include <CGAL/point_generators_3.h> #include <CGAL/Random.h> #include <CGAL/Search_traits_2.h> #include <CGAL/Search_traits_3.h> #include <CGAL/Search_traits_adapter.h> #include <CGAL/Orthogonal_incremental_neighbor_search.h> #...
37.265823
123
0.715014
[ "vector" ]
eb7988706f6d7ae922b774ee3cd6220d8c1c6534
23,337
cpp
C++
test/blackbox/common/DDSBlackboxTestsDiscovery.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
575
2015-01-22T20:05:04.000Z
2020-06-01T10:06:12.000Z
test/blackbox/common/DDSBlackboxTestsDiscovery.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
1,110
2015-04-20T19:30:34.000Z
2020-06-01T08:13:52.000Z
test/blackbox/common/DDSBlackboxTestsDiscovery.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
273
2015-08-10T23:34:42.000Z
2020-05-28T13:03:32.000Z
// Copyright 2020 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
40.942105
120
0.704461
[ "vector" ]
eb8154cf5c2ee3f90eaeb4391230e9c053b2a3b7
12,104
cpp
C++
Source/WebCore/svg/SVGDocumentExtensions.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
Source/WebCore/svg/SVGDocumentExtensions.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/WebCore/svg/SVGDocumentExtensions.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2006 Apple Inc. All rights reserved. * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2007 Rob Buis <buis@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published ...
31.520833
134
0.729594
[ "vector" ]
eb879308cf8253c60970b0243de18c02ece49836
49,458
cxx
C++
main/sfx2/source/toolbox/tbxitem.cxx
jimjag/openoffice
74746a22d8cc22b031b00fcd106f4496bf936c77
[ "Apache-2.0" ]
1
2019-12-27T19:25:34.000Z
2019-12-27T19:25:34.000Z
main/sfx2/source/toolbox/tbxitem.cxx
ackza/openoffice
d49dfe9c625750e261c7ed8d6ccac8d361bf3418
[ "Apache-2.0" ]
1
2019-11-25T03:08:58.000Z
2019-11-25T03:08:58.000Z
main/sfx2/source/toolbox/tbxitem.cxx
ackza/openoffice
d49dfe9c625750e261c7ed8d6ccac8d361bf3418
[ "Apache-2.0" ]
6
2019-11-19T00:28:25.000Z
2019-11-22T06:48:49.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
32.710317
198
0.589227
[ "model" ]
eb9039fd1aad1a522434936b266210556056a9d6
12,625
cpp
C++
cam/src/v20190116/model/AttachPolicyInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
cam/src/v20190116/model/AttachPolicyInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
cam/src/v20190116/model/AttachPolicyInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * 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 ...
29.022989
150
0.687287
[ "vector", "model" ]
eb911b1d0c9fca9c125accba096f438b306c69db
4,221
cpp
C++
Runtime_and_System_Optimization/Design_Tutorials/02-ivas-ml/sw_src/ivas-kernel-libs/ivas_xdpuinfer/src/ivas_xyolov3.cpp
mkolod/Vitis-Tutorials
33d6cf9686398ef1179778dc0da163291c68b465
[ "Apache-2.0" ]
1
2022-03-15T22:07:18.000Z
2022-03-15T22:07:18.000Z
Runtime_and_System_Optimization/Design_Tutorials/02-ivas-ml/sw_src/ivas-kernel-libs/ivas_xdpuinfer/src/ivas_xyolov3.cpp
mkolod/Vitis-Tutorials
33d6cf9686398ef1179778dc0da163291c68b465
[ "Apache-2.0" ]
null
null
null
Runtime_and_System_Optimization/Design_Tutorials/02-ivas-ml/sw_src/ivas-kernel-libs/ivas_xdpuinfer/src/ivas_xyolov3.cpp
mkolod/Vitis-Tutorials
33d6cf9686398ef1179778dc0da163291c68b465
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 - 2021 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation the * rights to use, copy...
31.036765
80
0.690832
[ "model" ]
eb933e683efc2e70b95d1f00475441b92ba1130b
54,401
cc
C++
src/experiment.cc
zonghuaxiansheng/Parallel
8c9bbcef519b957a4ce34829f67527d3eb2a5f57
[ "Apache-2.0" ]
null
null
null
src/experiment.cc
zonghuaxiansheng/Parallel
8c9bbcef519b957a4ce34829f67527d3eb2a5f57
[ "Apache-2.0" ]
null
null
null
src/experiment.cc
zonghuaxiansheng/Parallel
8c9bbcef519b957a4ce34829f67527d3eb2a5f57
[ "Apache-2.0" ]
null
null
null
#include <cstring> #include <cstdio> #include <cstdlib> #include <cmath> #include <ctime> #include <iostream> #include <iomanip> #include <algorithm> #include <fstream> #include <string> #include <vector> #include <map> #include "mpi.h" #include "experiment.h" #ifdef WINDOWS_PLATFORM #include <Windows.h> #else #include...
29.326685
107
0.55635
[ "vector" ]
eb9401a645ee60acbd545bbdf88bdd8fb37cbf31
3,131
hpp
C++
function.hpp
KaixoCode/utilities
c1818fbd2d7904b19c5ea8cd52b62a76c398d1c9
[ "MIT" ]
2
2021-10-10T20:14:14.000Z
2022-02-25T23:01:09.000Z
function.hpp
KaixoCode/utilities
c1818fbd2d7904b19c5ea8cd52b62a76c398d1c9
[ "MIT" ]
null
null
null
function.hpp
KaixoCode/utilities
c1818fbd2d7904b19c5ea8cd52b62a76c398d1c9
[ "MIT" ]
null
null
null
#pragma once #include "utils.hpp" namespace kaixo { template<class Return, class ...Args> class function_storage { public: constexpr virtual Return call(Args&&...) = 0; std::size_t ref_count = 1; }; template<class, class> class typed_function_storage; template<class Func, c...
29.819048
105
0.561482
[ "object" ]
eb956a7e41afa545ee06d082f8f02b68db3f84bf
6,815
cpp
C++
oneEngine/oneGame/source/after/terrain/edit/CTerrainAccessor.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/after/terrain/edit/CTerrainAccessor.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/after/terrain/edit/CTerrainAccessor.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "CTerrainAccessor.h" #include "after/terrain/VoxelTerrain.h" #include "after/terrain/system/TerrainRenderer.h" #include "after/terrain/data/GameState.h" #include "after/types/terrain/BlockType.h" #include "after/entities/item/system/ItemTerraBlok.h" #include "after/renderer/objects/grass/CTerraGrass.h" usi...
26.830709
93
0.680411
[ "transform" ]
eb97f917c96fe5d46a76a78557dfbd1bb26accec
3,640
cpp
C++
sysc/netlist.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
4
2018-10-12T01:06:32.000Z
2022-01-11T19:14:20.000Z
sysc/netlist.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
1
2017-06-13T05:08:35.000Z
2019-01-03T14:14:34.000Z
sysc/netlist.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
1
2015-04-29T08:42:17.000Z
2015-04-29T08:42:17.000Z
//BEGIN netlist.cpp (systemc) /////////////////////////////////////////////////////////////////////////////// // $Info: Netlisting utility $ #include "netlist.h" #include "report.h" #include <typeinfo> #include <iostream> #include <iomanip> #include <sstream> #include <vector> #include <string> using namespace sc_core...
39.139785
117
0.55
[ "object", "vector" ]
eb98363f32cadeac58d6f63c6da23f33b186a431
1,650
cpp
C++
main.cpp
bartoszbielawski/convolution-benchmark
749c05c8ddd7ce90ba0b979fb6f87a6f8308c049
[ "MIT" ]
null
null
null
main.cpp
bartoszbielawski/convolution-benchmark
749c05c8ddd7ce90ba0b979fb6f87a6f8308c049
[ "MIT" ]
null
null
null
main.cpp
bartoszbielawski/convolution-benchmark
749c05c8ddd7ce90ba0b979fb6f87a6f8308c049
[ "MIT" ]
null
null
null
#include <vector> #include <random> #include <algorithm> #include <array> #include <cstdio> #include "timediff.h" #include "types.h" using namespace std; struct TestData { TestData(size_t noOfSamples): data(noOfSamples, 0), coeffs(noOfSamples, 0.0) { mt19937 mt; uniform_real_distribution<sample> ...
24.626866
122
0.604242
[ "vector" ]
eb9977b11cc53c7bba3460064ab8c726670f08c7
6,430
cpp
C++
src/renderer.cpp
vikaschoudharycs097/SnakeGame
63b30519a674340cb055824d08561639759c2949
[ "MIT" ]
null
null
null
src/renderer.cpp
vikaschoudharycs097/SnakeGame
63b30519a674340cb055824d08561639759c2949
[ "MIT" ]
null
null
null
src/renderer.cpp
vikaschoudharycs097/SnakeGame
63b30519a674340cb055824d08561639759c2949
[ "MIT" ]
null
null
null
#include <iostream> #include "renderer.h" // Constructor Renderer::Renderer(int w_width, int w_height, int g_width, int g_height): _window_width(w_width), _window_height(w_height), _grid_width(g_width), _grid_height(g_height) { // Initilizating all subsystem of SDL if (SDL_Init(SDL_INIT_VIDEO) < 0) { ...
27.835498
99
0.637792
[ "render", "vector" ]
eb9ab48cae7c3c058a34545981919ff1bbe626dc
5,517
hpp
C++
include/coruja/support/type_traits.hpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
13
2017-10-24T07:13:28.000Z
2020-10-07T02:51:31.000Z
include/coruja/support/type_traits.hpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
1
2019-10-30T21:50:44.000Z
2019-11-06T19:35:23.000Z
include/coruja/support/type_traits.hpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
5
2018-09-19T20:29:07.000Z
2020-03-20T18:12:09.000Z
// Copyright Ricardo Calheiros de Miranda Cosme 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <type_traits> #include <boost/hof/is_invocable.hpp> #include <range/v3/range_concepts.hpp> ...
30.994382
96
0.703281
[ "object" ]
eba63551dfaceb516c4ea8314a7b5ce3dd1dea49
2,485
cxx
C++
Wrapping/CSwig/CommonA/wrap_itkDenseFiniteDifferenceImageFilter_3D.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Wrapping/CSwig/CommonA/wrap_itkDenseFiniteDifferenceImageFilter_3D.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Wrapping/CSwig/CommonA/wrap_itkDenseFiniteDifferenceImageFilter_3D.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: wrap_itkDenseFiniteDifferenceImageFilter_3D.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserve...
48.72549
122
0.736821
[ "vector", "3d" ]
ebacb223a5ed2449049e336270d94b5728cb305a
10,658
cc
C++
views/controls/table/native_table_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
views/controls/table/native_table_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
views/controls/table/native_table_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 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 "views/controls/table/native_table_gtk.h" #include "app/gfx/gtk_util.h" #include "base/string_util.h" #include "third_party/skia/include/cor...
33.410658
80
0.676956
[ "model" ]
ebada41d865aacd98776102bf396c530f07abdf9
255
cpp
C++
src/animation/composite.cpp
AnisimoffNikita/course_project_cg
257e3dae1e92c80d1495df1f3e83b2bf2de61af9
[ "Apache-2.0" ]
null
null
null
src/animation/composite.cpp
AnisimoffNikita/course_project_cg
257e3dae1e92c80d1495df1f3e83b2bf2de61af9
[ "Apache-2.0" ]
null
null
null
src/animation/composite.cpp
AnisimoffNikita/course_project_cg
257e3dae1e92c80d1495df1f3e83b2bf2de61af9
[ "Apache-2.0" ]
null
null
null
#include "composite.h" Composite::Composite() { } void Composite::draw(std::unique_ptr<Renderer> &) { } void Composite::transform(Transformation &) { } bool Composite::isCamera() { return false; } bool Composite::isLight() { return false; }
10.2
49
0.67451
[ "transform" ]
ebb1fdcb072cd558e9c26f0987cecde0f754a260
32,599
cpp
C++
C++/JPClassification.cpp
hai-vr/Japanese-Handwriting-vrware
82ad60e9853585e5483266a9b3691636eb773b92
[ "MIT" ]
8
2021-11-21T18:53:09.000Z
2022-02-21T22:53:54.000Z
C++/JPClassification.cpp
hai-vr/Japanese-Handwriting-vrware
82ad60e9853585e5483266a9b3691636eb773b92
[ "MIT" ]
null
null
null
C++/JPClassification.cpp
hai-vr/Japanese-Handwriting-vrware
82ad60e9853585e5483266a9b3691636eb773b92
[ "MIT" ]
1
2021-11-22T16:53:38.000Z
2021-11-22T16:53:38.000Z
/* __________________________________________________________________________________________________ Layer (type) Output Shape Param # Connected to ================================================================================================== input_1 (InputLayer) [(None, ...
40.345297
116
0.548452
[ "shape", "vector", "model" ]
ebb2ea8021b7ca3ca66c2641feedadc86e8b8894
2,915
cpp
C++
engine/audio/PcmClip.cpp
wzhengsen/ouzel
b3b99c42b39efd2998c03967ee8d5b3e91305167
[ "Unlicense" ]
923
2016-05-30T15:11:16.000Z
2022-03-30T20:26:24.000Z
engine/audio/PcmClip.cpp
wzhengsen/ouzel
b3b99c42b39efd2998c03967ee8d5b3e91305167
[ "Unlicense" ]
46
2016-05-31T18:32:23.000Z
2022-01-18T02:26:06.000Z
engine/audio/PcmClip.cpp
wzhengsen/ouzel
b3b99c42b39efd2998c03967ee8d5b3e91305167
[ "Unlicense" ]
131
2016-05-30T20:20:07.000Z
2022-03-10T10:56:08.000Z
// Ouzel by Elviss Strazdins #include <iterator> #include <stdexcept> #include "PcmClip.hpp" #include "Audio.hpp" #include "mixer/Data.hpp" #include "mixer/Stream.hpp" namespace ouzel::audio { class PcmData; class PcmStream final: public mixer::Stream { public: explicit PcmStream(PcmData& pcm...
28.300971
112
0.589022
[ "vector" ]
ebb372949d93d2706f8aedf045837984b0caf377
3,190
hpp
C++
include/posix/sockets.hpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
14
2018-06-12T15:42:43.000Z
2022-02-28T16:19:20.000Z
include/posix/sockets.hpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
null
null
null
include/posix/sockets.hpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
null
null
null
/* * * Copyright (c) 2017 * Viktor Gubin * * Use, modification and distribution are subject to 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 __IO_POSIX_SOCKETS_HPP_INCLUDED__ #define __IO_POSIX_SOCKETS_HPP_INCLU...
23.115942
97
0.73605
[ "object" ]
ebb5166f83418fa363fdf5fd9cd182406b8e598f
29,029
cpp
C++
generated/src/FileServerAsyncClient.cpp
madMAx43v3r/vnx-addon
cf9709ccc29e5bb7503468eb38f781947f2bcd85
[ "MIT" ]
null
null
null
generated/src/FileServerAsyncClient.cpp
madMAx43v3r/vnx-addon
cf9709ccc29e5bb7503468eb38f781947f2bcd85
[ "MIT" ]
null
null
null
generated/src/FileServerAsyncClient.cpp
madMAx43v3r/vnx-addon
cf9709ccc29e5bb7503468eb38f781947f2bcd85
[ "MIT" ]
null
null
null
// AUTO GENERATED by vnxcppcodegen #include <vnx/addons/package.hxx> #include <vnx/addons/FileServerAsyncClient.hxx> #include <vnx/Buffer.hpp> #include <vnx/Module.h> #include <vnx/ModuleInterface_vnx_get_config.hxx> #include <vnx/ModuleInterface_vnx_get_config_return.hxx> #include <vnx/ModuleInterface_vnx_get_config...
35.794081
342
0.722726
[ "object", "vector" ]
ebb891514b08b2ee48a7fd42c3168aaf6b87e409
8,030
cpp
C++
src/shendk/files/image/pvr/vector_quantizer.cpp
Shenmue-Mods/ShenmueDK
feca9c937fe5cf6fb99b11336792f33d9797aca7
[ "MIT" ]
4
2019-05-27T21:15:38.000Z
2021-07-25T10:42:30.000Z
src/shendk/files/image/pvr/vector_quantizer.cpp
Shenmue-Mods/ShenmueDK
feca9c937fe5cf6fb99b11336792f33d9797aca7
[ "MIT" ]
null
null
null
src/shendk/files/image/pvr/vector_quantizer.cpp
Shenmue-Mods/ShenmueDK
feca9c937fe5cf6fb99b11336792f33d9797aca7
[ "MIT" ]
null
null
null
#include "shendk/files/image/pvr/vector_quantizer.h" #include <cstring> #include <algorithm> #include <limits> #include <Eigen/Dense> #include "shendk/utils/math.h" #include "shendk/files/image/pvr/twiddle.h" namespace shendk { namespace pvr { struct VQBlock { VQBlock() : pixels(Eigen::MatrixXf(4, 4))...
34.463519
118
0.568742
[ "vector" ]
ebbcd76ea99ea07426855a5aadd5c34b5d54ac6a
956
cpp
C++
LuoguCodes/P1515.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1515.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1515.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
//【P1515】旅行 - 洛谷 - 0 #include <vector> #include <iostream> #include <algorithm> int main() { int a, b, n; std::cin >> a >> b >> n; std::vector<int> vec; void init(std::vector<int> &vec); init(vec); while (n--) { int t; std::cin >> t; vec.push_back(t); } std::sort(vec.begin(), vec.end()); std::vector<i...
20.340426
49
0.575314
[ "vector" ]
ebc2300ee4613503c27ba7403f781bb3294c3fd2
4,037
hpp
C++
src/sf2cute/riff_phdr_chunk.hpp
gocha/sf2cc
b42f23c75667d414ac024858f5303fb7dc17e0fd
[ "Zlib" ]
31
2016-07-20T23:23:17.000Z
2022-03-12T13:23:06.000Z
src/sf2cute/riff_phdr_chunk.hpp
gocha/sf2cc
b42f23c75667d414ac024858f5303fb7dc17e0fd
[ "Zlib" ]
6
2017-09-18T02:16:29.000Z
2020-08-30T13:24:39.000Z
src/sf2cute/riff_phdr_chunk.hpp
gocha/sf2cc
b42f23c75667d414ac024858f5303fb7dc17e0fd
[ "Zlib" ]
7
2016-11-03T03:27:06.000Z
2021-06-07T11:02:56.000Z
/// @file /// SoundFont "phdr" RIFF chunk header /// /// @author gocha <https://github.com/gocha> #ifndef SF2CUTE_RIFF_PHDR_CHUNK_HPP_ #define SF2CUTE_RIFF_PHDR_CHUNK_HPP_ #include <algorithm> #include <memory> #include <string> #include <vector> #include <ostream> #include "riff.hpp" namespace sf2cute { class SFP...
31.053846
86
0.704484
[ "object", "vector" ]
ebc2ca3a56d272ea7f27258047e365369cc0a3f9
3,547
cpp
C++
src/pke/unittest/UnitTestBVDCRT.cpp
mattdano/palisade
6e49bc3a850672a142eea209e6d71505e689cb81
[ "BSD-2-Clause" ]
null
null
null
src/pke/unittest/UnitTestBVDCRT.cpp
mattdano/palisade
6e49bc3a850672a142eea209e6d71505e689cb81
[ "BSD-2-Clause" ]
null
null
null
src/pke/unittest/UnitTestBVDCRT.cpp
mattdano/palisade
6e49bc3a850672a142eea209e6d71505e689cb81
[ "BSD-2-Clause" ]
null
null
null
/* * @file * @author TPOC: contact@palisade-crypto.org * * @copyright Copyright (c) 2019, New Jersey Institute of Technology (NJIT) * 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. Red...
32.245455
119
0.735551
[ "vector" ]
ebc886830342bfc43b612564a35467dc77747429
2,499
cpp
C++
src/geo_bsd/hpgl/median_ik.cpp
hpgl/hpgl
72d8c4113c242295de740513093f5779c94ba84a
[ "BSD-3-Clause" ]
70
2015-01-21T12:24:50.000Z
2022-03-16T02:10:45.000Z
src/geo_bsd/hpgl/median_ik.cpp
hpgl/hpgl
72d8c4113c242295de740513093f5779c94ba84a
[ "BSD-3-Clause" ]
8
2015-04-22T13:14:30.000Z
2021-11-23T12:16:32.000Z
src/geo_bsd/hpgl/median_ik.cpp
hpgl/hpgl
72d8c4113c242295de740513093f5779c94ba84a
[ "BSD-3-Clause" ]
18
2015-02-15T18:04:31.000Z
2021-01-16T08:54:32.000Z
#include "stdafx.h" #include "median_ik.h" #include "covariance_field.h" #include "progress_reporter.h" #include "my_kriging_weights.h" #include "kriging_interpolation.h" #include "sugarbox_indexed_neighbour_lookup.h" #include "is_informed_predicate.h" #include "mean_provider.h" #include "output.h" namesp...
26.03125
164
0.70068
[ "vector" ]
ebc88f104c49d7db6c4de63e213c18f429c3e18a
8,745
cpp
C++
src/Crash/Modules/ModuleHandler.cpp
Ryan-rsm-McKenzie/CrashLoggerSSE
76965c32456c981e516ddc3576bfe626c104a78e
[ "MIT" ]
4
2021-12-06T05:52:36.000Z
2022-01-12T23:30:45.000Z
src/Crash/Modules/ModuleHandler.cpp
Ryan-rsm-McKenzie/CrashLoggerSSE
76965c32456c981e516ddc3576bfe626c104a78e
[ "MIT" ]
null
null
null
src/Crash/Modules/ModuleHandler.cpp
Ryan-rsm-McKenzie/CrashLoggerSSE
76965c32456c981e516ddc3576bfe626c104a78e
[ "MIT" ]
3
2021-12-10T04:01:21.000Z
2022-01-12T23:30:47.000Z
#include "Crash/Modules/ModuleHandler.h" #define WIN32_LEAN_AND_MEAN #define NOGDICAPMASKS #define NOVIRTUALKEYCODES #define NOWINMESSAGES #define NOWINSTYLES #define NOSYSMETRICS #define NOMENUS #define NOICONS #define NOKEYSTATES #define NOSYSCOMMANDS #define NORASTEROPS #define NOSHOWWINDOW #define OEMRESOURCE #de...
27.939297
145
0.656947
[ "vector" ]
1b12020c902114dbfee5fec581fbf74b2bfb2bad
12,740
cpp
C++
ContextManager/src/ContextManager.cpp
merdahl/avs-device-sdk
2cc16d8cc472afc9b7a736a8c1169f12b71dd229
[ "Apache-2.0" ]
1
2022-01-09T21:26:04.000Z
2022-01-09T21:26:04.000Z
ContextManager/src/ContextManager.cpp
justdoGIT/avs-device-sdk
2cc16d8cc472afc9b7a736a8c1169f12b71dd229
[ "Apache-2.0" ]
null
null
null
ContextManager/src/ContextManager.cpp
justdoGIT/avs-device-sdk
2cc16d8cc472afc9b7a736a8c1169f12b71dd229
[ "Apache-2.0" ]
1
2018-10-12T07:58:44.000Z
2018-10-12T07:58:44.000Z
/* * ContextManager.cpp * * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2....
38.373494
119
0.688854
[ "object" ]
1b12a3406f01e683844df871bdca658d70fcae0f
7,171
hpp
C++
ThirdParty-mod/java2cpp/java/util/concurrent/FutureTask.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/util/concurrent/FutureTask.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/util/concurrent/FutureTask.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.util.concurrent.FutureTask ================================================================================*/ #ifndef J2CPP_INCLUDE_...
33.353488
139
0.715381
[ "object" ]
1b14f49870d1196b41258c325a98c35ccbc1eb18
12,144
cpp
C++
testsuite/adapters/schwartz_adapter_fixed_sorters.cpp
ChandanKSingh/cpp-sort
ce9b49e77eec7fe44a18da937bea0807d6c3e5f4
[ "MIT" ]
519
2015-08-01T12:25:41.000Z
2022-03-27T09:02:37.000Z
testsuite/adapters/schwartz_adapter_fixed_sorters.cpp
ChandanKSingh/cpp-sort
ce9b49e77eec7fe44a18da937bea0807d6c3e5f4
[ "MIT" ]
148
2015-09-20T10:24:15.000Z
2022-03-03T19:07:20.000Z
testsuite/adapters/schwartz_adapter_fixed_sorters.cpp
ChandanKSingh/cpp-sort
ce9b49e77eec7fe44a18da937bea0807d6c3e5f4
[ "MIT" ]
52
2015-11-10T14:40:13.000Z
2022-03-20T02:35:23.000Z
/* * Copyright (c) 2016-2021 Morwenn * SPDX-License-Identifier: MIT */ #include <algorithm> #include <array> #include <iterator> #include <catch2/catch.hpp> #include <cpp-sort/adapters/schwartz_adapter.h> #include <cpp-sort/adapters/small_array_adapter.h> #include <cpp-sort/fixed_sorters.h> #include <testing-tools/a...
44.483516
92
0.595026
[ "transform" ]
1b1eba3ab705afebbae4d7a3a44d2da4c9bd8aea
6,596
cpp
C++
es-core/src/components/NinePatchComponent.cpp
PascalLeroi/emulstation
c874c506d98252b6564fd42b22d62865d6f4a676
[ "Apache-2.0", "MIT" ]
1,550
2015-01-01T09:04:26.000Z
2022-03-31T16:38:15.000Z
es-core/src/components/NinePatchComponent.cpp
PascalLeroi/emulstation
c874c506d98252b6564fd42b22d62865d6f4a676
[ "Apache-2.0", "MIT" ]
567
2015-01-01T05:20:50.000Z
2022-03-27T19:22:07.000Z
es-core/src/components/NinePatchComponent.cpp
PascalLeroi/emulstation
c874c506d98252b6564fd42b22d62865d6f4a676
[ "Apache-2.0", "MIT" ]
637
2015-01-01T15:53:55.000Z
2022-03-30T06:38:18.000Z
#include "components/NinePatchComponent.h" #include "Window.h" #include "Log.h" #include "Renderer.h" #include "ThemeData.h" #include "Util.h" NinePatchComponent::NinePatchComponent(Window* window, const std::string& path, unsigned int edgeColor, unsigned int centerColor) : GuiComponent(window), mEdgeColor(edgeColor)...
28.929825
154
0.680564
[ "render" ]
1b24c34f67fcece107ab8af01162937292046552
902
cpp
C++
Dataset/Leetcode/valid/70/593.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/70/593.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/70/593.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> arr; vector<vector<int>> juzhen_mul(vector<vector<int>> a,vector<vector<int>>b){ int a1,a2,a3,a4; a1=a[0][0]*b[0][0]+a[0][1]*b[1][0]; a2=a[0][0]*b[0][1]+a[0][1]*b[1][1]; a3=a[1][0]*b[0][0]+a[1][1]*b[1][0]; a4=a[1][0]*b[0][1]+a[...
28.1875
79
0.476718
[ "vector" ]
1b2a52ea2c57f5fc7bb17f50d735d77d2d6e2211
26,636
cpp
C++
gaap/src/v20180529/model/ProxyInfo.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
null
null
null
gaap/src/v20180529/model/ProxyInfo.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
null
null
null
gaap/src/v20180529/model/ProxyInfo.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "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 ...
27.544984
138
0.66703
[ "object", "vector", "model" ]
1b2e49244a79b795613ae4e8eeb60f6f82b70bcd
1,673
hpp
C++
core/result_collector.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
29
2019-11-18T14:25:05.000Z
2022-02-10T07:21:48.000Z
core/result_collector.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
2
2021-03-17T03:17:38.000Z
2021-04-11T04:06:23.000Z
core/result_collector.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
6
2019-11-21T18:04:15.000Z
2022-03-01T02:48:50.000Z
/* Copyright 2019 Husky Data Lab, CUHK Authors: Hongzhi Chen (hzchen@cse.cuhk.edu.hk) */ #ifndef RESULT_COLLECTOR_HPP_ #define RESULT_COLLECTOR_HPP_ #include <ext/hash_map> #include <algorithm> #include <iostream> #include <list> #include <vector> #include <mutex> #include <queue> #include <string> #include "base/...
21.448718
70
0.638972
[ "vector" ]
1b318858d8437ca6be9dd38d8a9fd92871d94cf6
800
hh
C++
src/poll.hh
thanhbinh89/uvgRTP-cross-compile
77de0952f63f621cb44af55574f83d6da87b9780
[ "BSD-2-Clause" ]
null
null
null
src/poll.hh
thanhbinh89/uvgRTP-cross-compile
77de0952f63f621cb44af55574f83d6da87b9780
[ "BSD-2-Clause" ]
null
null
null
src/poll.hh
thanhbinh89/uvgRTP-cross-compile
77de0952f63f621cb44af55574f83d6da87b9780
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "uvgrtp/util.hh" #include <vector> namespace uvgrtp { class socket; namespace poll { /* Cross-platform poll implementation for listening to a socket for a period of time * * This is used by RTCP to listen to socket RTCP_MIN_TIMEOUT (5s for now). * ...
29.62963
123
0.6475
[ "vector" ]
1b32b14cfba10b99981eeeaf95f380e637e8e684
5,109
hpp
C++
src/treelearner/cuda/cuda_single_gpu_tree_learner.hpp
TremaMiguel/LightGBM
da9072fde2b5cd7160866e7e9e49a14e7fba8bf3
[ "MIT" ]
8,890
2016-10-12T05:25:23.000Z
2019-05-06T17:42:23.000Z
src/treelearner/cuda/cuda_single_gpu_tree_learner.hpp
TremaMiguel/LightGBM
da9072fde2b5cd7160866e7e9e49a14e7fba8bf3
[ "MIT" ]
1,784
2016-10-16T14:18:34.000Z
2019-05-06T12:15:22.000Z
src/treelearner/cuda/cuda_single_gpu_tree_learner.hpp
TremaMiguel/LightGBM
da9072fde2b5cd7160866e7e9e49a14e7fba8bf3
[ "MIT" ]
2,599
2016-10-11T07:13:27.000Z
2019-05-06T12:17:38.000Z
/*! * Copyright (c) 2021 Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE file in the project root for * license information. */ #ifndef LIGHTGBM_TREELEARNER_CUDA_CUDA_SINGLE_GPU_TREE_LEARNER_HPP_ #define LIGHTGBM_TREELEARNER_CUDA_CUDA_SINGLE_GPU_TREE_LEARNER_HPP_ #include ...
35.479167
136
0.784694
[ "vector" ]
1b3457fa809570e58939725af563cc8bb9e5999d
41,583
cpp
C++
src/roadnet/roadnet.cpp
xcb990105/CityFlow
3d0a23b4c234220a016bbc035ea25d7c7b9949e5
[ "Apache-2.0" ]
1
2020-04-29T13:10:54.000Z
2020-04-29T13:10:54.000Z
src/roadnet/roadnet.cpp
wingsweihua/CityFlow
c45712a67f7c8c28b39bb9b9658133a537096010
[ "Apache-2.0" ]
null
null
null
src/roadnet/roadnet.cpp
wingsweihua/CityFlow
c45712a67f7c8c28b39bb9b9658133a537096010
[ "Apache-2.0" ]
1
2021-11-26T01:54:40.000Z
2021-11-26T01:54:40.000Z
#include "roadnet/roadnet.h" #include "utility/config.h" #include "vehicle/vehicle.h" #include "rapidjson/document.h" #include "rapidjson/filereadstream.h" #include <iostream> #include <algorithm> using std::map; using std::string; namespace CityFlow { static double getLengthOfPoints(const std::vector<Point> &p...
43.910243
122
0.507443
[ "object", "vector" ]
1b3b5f7abea92791964b7869bf775d6b10e9975f
31,338
cc
C++
chrome/browser/sessions/session_restore.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-02-20T14:25:04.000Z
2019-12-13T13:58:28.000Z
chrome/browser/sessions/session_restore.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
chrome/browser/sessions/session_restore.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2020-01-12T00:55:53.000Z
2020-11-04T06:36:41.000Z
// Copyright (c) 2011 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/sessions/session_restore.h" #include <algorithm> #include <list> #include <set> #include <vector> #include "base/callback.h...
36.911661
80
0.669794
[ "object", "vector" ]
1b44d19d6551138568f9993cc8f10a19214f715c
43,289
cpp
C++
okvis_ceres/src/Map.cpp
wbl1997/okvis
65e30d6ab25380d65c96c665485148e2ab55e93e
[ "BSD-3-Clause" ]
1
2022-03-26T15:31:53.000Z
2022-03-26T15:31:53.000Z
okvis_ceres/src/Map.cpp
wbl1997/okvis
65e30d6ab25380d65c96c665485148e2ab55e93e
[ "BSD-3-Clause" ]
null
null
null
okvis_ceres/src/Map.cpp
wbl1997/okvis
65e30d6ab25380d65c96c665485148e2ab55e93e
[ "BSD-3-Clause" ]
2
2021-08-01T16:49:17.000Z
2021-09-14T09:00:03.000Z
/********************************************************************************* * OKVIS - Open Keyframe-based Visual-Inertial SLAM * Copyright (c) 2015, Autonomous Systems Lab / ETH Zurich * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
41.624038
120
0.684562
[ "vector" ]
1b450d982e6c2e3ac8396f780949aa126e2fc03d
597
cpp
C++
Physx.NetCore/Source/SphereGeometry.cpp
ronbrogan/Physx.NetCore
ac788494b6aefc4b6633c46e857f199e6ab0a47a
[ "MIT" ]
187
2015-01-02T15:58:10.000Z
2022-02-20T05:23:13.000Z
PhysX.Net-3.4/PhysX.Net-3/Source/SphereGeometry.cpp
Golangltd/PhysX.Net
fb71e0422d441a16a05ed51348d8afb0328d4b90
[ "MIT" ]
37
2015-01-10T04:38:23.000Z
2022-03-18T00:52:27.000Z
PhysX.Net-3.4/PhysX.Net-3/Source/SphereGeometry.cpp
Golangltd/PhysX.Net
fb71e0422d441a16a05ed51348d8afb0328d4b90
[ "MIT" ]
63
2015-01-11T12:12:44.000Z
2022-02-05T14:12:49.000Z
#include "StdAfx.h" #include "SphereGeometry.h" using namespace PhysX; SphereGeometry::SphereGeometry() : Geometry(GeometryType::Sphere) { this->Radius = 0; } SphereGeometry::SphereGeometry(float radius) : Geometry(GeometryType::Sphere) { this->Radius = radius; } SphereGeometry::SphereGeometry(PxSphereGeometry ge...
20.586207
66
0.772194
[ "geometry" ]
1b49d78422de113a9d5757478f09be4278282244
5,971
cpp
C++
libs/mesh/src/meshCubatureNodesHex3D.cpp
MalachiTimothyPhillips/libparanumal
f3fd4505df56207b05aa86164124ab6bad83f92a
[ "MIT" ]
null
null
null
libs/mesh/src/meshCubatureNodesHex3D.cpp
MalachiTimothyPhillips/libparanumal
f3fd4505df56207b05aa86164124ab6bad83f92a
[ "MIT" ]
null
null
null
libs/mesh/src/meshCubatureNodesHex3D.cpp
MalachiTimothyPhillips/libparanumal
f3fd4505df56207b05aa86164124ab6bad83f92a
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus 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 limitatio...
34.918129
95
0.587674
[ "mesh" ]
1b52af74c0cfd284a666e042582716469b6fa0ac
6,844
cpp
C++
weex_core/Source/android/jsengine/bridge/script/script_bridge_in_multi_so.cpp
Blankdlh/incubator-weex
8bcd48dff97046e444f5cd4dff34baad6a4b0850
[ "Apache-2.0" ]
1
2019-08-07T14:59:20.000Z
2019-08-07T14:59:20.000Z
weex_core/Source/android/jsengine/bridge/script/script_bridge_in_multi_so.cpp
Blankdlh/incubator-weex
8bcd48dff97046e444f5cd4dff34baad6a4b0850
[ "Apache-2.0" ]
12
2019-07-09T05:55:28.000Z
2019-07-31T01:12:28.000Z
weex_core/Source/android/jsengine/bridge/script/script_bridge_in_multi_so.cpp
wrmswindmill/incubator-weex
4fbb51e8162940c342101aebaa28ad7ab01d35db
[ "Apache-2.0" ]
1
2019-08-09T05:17:42.000Z
2019-08-09T05:17:42.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
41.731707
128
0.71391
[ "object", "vector" ]
1b5539c8e9033060e547a6881a3cfac6ddbbfd24
1,935
hpp
C++
samples/qt/photo-book/face_rectangles.hpp
intel/umf
3103e3b0ab63a0f60f4d8d83ebf4dc39a61552aa
[ "Apache-2.0" ]
13
2018-01-23T22:05:21.000Z
2020-04-21T15:19:29.000Z
samples/qt/photo-book/face_rectangles.hpp
intel/umf
3103e3b0ab63a0f60f4d8d83ebf4dc39a61552aa
[ "Apache-2.0" ]
10
2015-08-25T22:20:23.000Z
2016-06-08T10:13:26.000Z
samples/qt/photo-book/face_rectangles.hpp
01org/vmf
3103e3b0ab63a0f60f4d8d83ebf4dc39a61552aa
[ "Apache-2.0" ]
10
2015-11-16T14:19:31.000Z
2016-08-18T21:44:07.000Z
// Copyright (C) 2013, Intel Corporation, all rights reserved. #ifndef __FACE_RECTANGLES_H__ #define __FACE_RECTANGLES_H__ #include <QGraphicsRectItem> #include <QPen> #include <vector> #include "corner_grabber.hpp" #include "photo_book.hpp" class FaceRectBase : public QGraphicsRectItem { public: FaceRectBase(c...
23.035714
91
0.734367
[ "vector" ]
1b59993568080796e3b2b424f914fd75f092167f
4,224
cc
C++
src/rendering/ContactVisual.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2016-01-17T20:41:39.000Z
2018-05-01T12:02:58.000Z
src/rendering/ContactVisual.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/rendering/ContactVisual.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2015-09-29T02:30:16.000Z
2022-03-30T12:11:22.000Z
/* * Copyright 2011 Nate Koenig & Andrew Howard * * 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 l...
31.288889
80
0.633996
[ "mesh" ]
1b5db2a64206f0fc1b15baba01b55e0d36e82876
4,449
cpp
C++
openstudiocore/src/openstudio_app/test/Resources_GTest.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/openstudio_app/test/Resources_GTest.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/openstudio_app/test/Resources_GTest.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitt...
46.831579
140
0.717465
[ "vector", "model" ]
1b6fe90765fccb2085a4a65b8a29578c91a466b9
377
cpp
C++
HackerRank/Challenges/simple-array-sum.cpp
Diggzinc/solutions-spoj
eb552311011e466039e059cce07894fea0817613
[ "MIT" ]
null
null
null
HackerRank/Challenges/simple-array-sum.cpp
Diggzinc/solutions-spoj
eb552311011e466039e059cce07894fea0817613
[ "MIT" ]
null
null
null
HackerRank/Challenges/simple-array-sum.cpp
Diggzinc/solutions-spoj
eb552311011e466039e059cce07894fea0817613
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int nCases, nCase, sum = 0; cin >> nCases; do{ cin >> nCase; sum += nCase; }w...
18.85
80
0.586207
[ "vector" ]
1b74338a247bcc32f1f8304b718f7ce87f01fd1c
3,314
hxx
C++
generated/include/vnl/TcpUplinkSupport.hxx
madMAx43v3r/virtual-network-layers-cpp
cd0306b7edb38d5f43fa4fac198562ff38f4276a
[ "MIT" ]
3
2021-06-12T21:26:47.000Z
2021-09-11T04:06:04.000Z
generated/include/vnl/TcpUplinkSupport.hxx
madMAx43v3r/virtual-network-layers-cpp
cd0306b7edb38d5f43fa4fac198562ff38f4276a
[ "MIT" ]
30
2016-08-17T02:16:56.000Z
2017-06-30T04:57:50.000Z
generated/include/vnl/TcpUplinkSupport.hxx
madMAx43v3r/virtual-network-tools
6fd7a5630ead319f6db07856c1164f7c8c09377c
[ "MIT" ]
null
null
null
#ifndef INCLUDE_VNI_GENERATED_vnl_TcpUplinkBase_HXX_ #define INCLUDE_VNI_GENERATED_vnl_TcpUplinkBase_HXX_ // AUTO GENERATED by virtual-network-interface codegen #include <vnl/Address.h> #include <vnl/Object.h> #include <vnl/String.h> #include <vnl/Topic.hxx> #include <vnl/info/RemoteInfo.hxx> #include <vnl/Type.hxx...
37.659091
112
0.763126
[ "object" ]
1b777adf2efae82e5b51073ea314354c74b08749
1,887
hpp
C++
tizen/MapsWithMe/inc/TouchProcessor.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
2
2019-01-24T15:36:20.000Z
2019-12-26T10:03:48.000Z
tizen/MapsWithMe/inc/TouchProcessor.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
13
2015-09-28T13:59:23.000Z
2015-10-08T20:12:45.000Z
tizen/MapsWithMe/inc/TouchProcessor.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-08-09T21:31:29.000Z
2019-08-09T21:31:29.000Z
#pragma once #include <FUiITouchEventListener.h> #include "../../../std/utility.hpp" #include "../../../std/vector.hpp" #include "../../../map/user_mark.hpp" class MapsWithMeForm; class TouchProcessor: public Tizen::Ui::ITouchEventListener , public Tizen::Base::Runtime::ITimerEventListener { public: TouchProces...
32.534483
69
0.714361
[ "vector" ]
1b7b0ddbdd90a1f210fce8e6802b26d90b4a4fe4
1,162
cc
C++
content/browser/ssl_private_key_impl.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
content/browser/ssl_private_key_impl.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
content/browser/ssl_private_key_impl.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 2018 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 "content/browser/ssl_private_key_impl.h" #include "base/bind.h" #include "base/callback.h" #include "base/callback_helpers.h" namespace content...
30.578947
74
0.733219
[ "vector" ]
1b7c12d465a222a97dc150c18ef15ceeacca32f2
3,701
cpp
C++
Code/MainWidgets/projectSolveDialog.cpp
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
Code/MainWidgets/projectSolveDialog.cpp
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
Code/MainWidgets/projectSolveDialog.cpp
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
#include "projectSolveDialog.h" #include "ui_projectSolveDialog.h" #include "settings/busAPI.h" #include "moduleBase/processBar.h" //#include "SolverControl/solverControler.h" #include "mainWindow/mainWindow.h" // #include "settings/SolverManager.h" // #include "settings/SolverInfo.h" #include "ConfigOptions/Co...
31.364407
138
0.681708
[ "model" ]
1b7c2bf92922c34ff6c1b51ef657bc3865b91456
845
hpp
C++
src/domain/mesh/tests/mesh_mock.hpp
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
12
2018-03-14T12:30:53.000Z
2022-01-23T14:46:44.000Z
src/domain/mesh/tests/mesh_mock.hpp
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
194
2017-07-07T01:38:15.000Z
2021-05-19T18:21:19.000Z
src/domain/mesh/tests/mesh_mock.hpp
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
10
2017-07-06T22:58:59.000Z
2021-03-15T07:01:21.000Z
#ifndef BART_SRC_DOMAIN_MESH_MOCK_HPP_ #define BART_SRC_DOMAIN_MESH_MOCK_HPP_ #include "domain/mesh/mesh_i.hpp" #include <array> #include <deal.II/grid/tria.h> #include "test_helpers/gmock_wrapper.h" namespace bart::domain::mesh { template <int dim> class MeshMock : public MeshI<dim> { public: MOCK_METHOD(void...
25.606061
82
0.731361
[ "mesh" ]
1b7d83f035fa5259c1638fe095f30926ae9caeaa
6,662
cc
C++
tbfc.cc
qookei/tbfc
5735cceaba013e1c127e54d20281efaf390dfa64
[ "Zlib" ]
null
null
null
tbfc.cc
qookei/tbfc
5735cceaba013e1c127e54d20281efaf390dfa64
[ "Zlib" ]
null
null
null
tbfc.cc
qookei/tbfc
5735cceaba013e1c127e54d20281efaf390dfa64
[ "Zlib" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <vector> #include <variant> #include <stack> #include <algorithm> struct ir_op { enum class op_type { add, sub, tape_next, tape_prev, print, read, peek_tape, jmp_zero, jmp_not_zero, loop_begin, loop_end, }; op_type type; ...
24.674074
101
0.634344
[ "vector" ]
1b7eb83bf40810b71dde93585284ab72afeedba4
8,154
hxx
C++
opencascade/BRepOffset_Analyse.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BRepOffset_Analyse.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BRepOffset_Analyse.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1995-10-20 // Created by: Yves FRICAUD // Copyright (c) 1995-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU L...
39.582524
119
0.681629
[ "shape" ]
1b806a24cfaa85576ba3fe8d5846fb0c09a439f1
1,574
cc
C++
voicenavigator/src/model/QueryPerformanceIndicatorsRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
voicenavigator/src/model/QueryPerformanceIndicatorsRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
voicenavigator/src/model/QueryPerformanceIndicatorsRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
30.269231
85
0.775731
[ "model" ]
1b80d661ad1cee9e1bb20f28d87c47bdcbd8660d
4,592
cpp
C++
unit/src/SimplexTest.cpp
volkerschmidts/titania
1ad441a7f9481392e21216a2be86b20b1d090a97
[ "MIT" ]
null
null
null
unit/src/SimplexTest.cpp
volkerschmidts/titania
1ad441a7f9481392e21216a2be86b20b1d090a97
[ "MIT" ]
1
2022-03-24T03:54:06.000Z
2022-03-25T15:32:09.000Z
unit/src/SimplexTest.cpp
volkerschmidts/titania
1ad441a7f9481392e21216a2be86b20b1d090a97
[ "MIT" ]
null
null
null
#include <Simplex.hpp> #include <SimplexTest.hpp> // there is still some weird include ordering dependence hidden in // Declarations.hpp // clang-format off #include <Declarations.hpp> // clang-format on #include <cmath> #include <main.h> #include <nlopt.hpp> #include <vector> typedef struct { double a, b; } my_con...
23.309645
80
0.616071
[ "vector" ]
1b852f3b1013bee40e6784834121c6a350033874
12,174
cc
C++
multidim_image_augmentation/kernels/apply_deformation_ops.cc
alexminnaar/multidim-image-augmentation
685ea3a5d29745c520b70f69ed66f845c45df4c3
[ "Apache-2.0" ]
1
2018-12-28T18:07:34.000Z
2018-12-28T18:07:34.000Z
multidim_image_augmentation/kernels/apply_deformation_ops.cc
alexminnaar/multidim-image-augmentation
685ea3a5d29745c520b70f69ed66f845c45df4c3
[ "Apache-2.0" ]
null
null
null
multidim_image_augmentation/kernels/apply_deformation_ops.cc
alexminnaar/multidim-image-augmentation
685ea3a5d29745c520b70f69ed66f845c45df4c3
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
42.270833
80
0.67217
[ "shape", "vector", "3d" ]
1b88cb2111bac890d1375842f95c34c35386f1b3
5,613
cpp
C++
src/ofApp.cpp
xfischer/ofColorBlindCircles
ef473ee7f394db93dcf69519700153f23dfb0bd0
[ "Apache-2.0" ]
1
2015-06-24T23:27:19.000Z
2015-06-24T23:27:19.000Z
src/ofApp.cpp
xfischer/ofColorBlindCircles
ef473ee7f394db93dcf69519700153f23dfb0bd0
[ "Apache-2.0" ]
null
null
null
src/ofApp.cpp
xfischer/ofColorBlindCircles
ef473ee7f394db93dcf69519700153f23dfb0bd0
[ "Apache-2.0" ]
null
null
null
#include "ofApp.h" int numCircles= 0; int maxDiameter = 22; int minDiameter = 8; int lastX = -1, lastY = -1; ofImage motive; class ofxPoint { float x,y; ofxPoint(float x, float y) { this->x = x; this->y = y; } }; class Circle { float x, y, radius; vector<int> xs, ys; ofColor bg, fg; Circle() { radi...
21.505747
109
0.528416
[ "vector" ]
b845a1211d4e9d6169ace518af0ad629e69bcf09
16,435
cpp
C++
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeMaskNode.cpp
brianherrera/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeMaskNode.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeMaskNode.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
40.380835
159
0.63024
[ "vector" ]
b8464a766d21e93426eb4a00b8caab2af5470055
2,242
cc
C++
paddle/fluid/inference/anakin/convert/split.cc
panyx0718/Paddle
1ebd7434d545f8c439792468298f1108b631668e
[ "Apache-2.0" ]
null
null
null
paddle/fluid/inference/anakin/convert/split.cc
panyx0718/Paddle
1ebd7434d545f8c439792468298f1108b631668e
[ "Apache-2.0" ]
null
null
null
paddle/fluid/inference/anakin/convert/split.cc
panyx0718/Paddle
1ebd7434d545f8c439792468298f1108b631668e
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018 PaddlePaddle 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...
35.03125
75
0.694915
[ "shape", "vector" ]
b8486755ba0222c68320742c17da5b0685656f5f
248
hpp
C++
include/exec.hpp
zawwz/lxsh
2d0041e1ff4d62fdf657ce8ba5c2af6454be6f15
[ "MIT" ]
1
2021-05-13T15:32:04.000Z
2021-05-13T15:32:04.000Z
include/exec.hpp
zawwz/lxsh
2d0041e1ff4d62fdf657ce8ba5c2af6454be6f15
[ "MIT" ]
null
null
null
include/exec.hpp
zawwz/lxsh
2d0041e1ff4d62fdf657ce8ba5c2af6454be6f15
[ "MIT" ]
null
null
null
#ifndef EXEC_HPP #define EXEC_HPP #include "options.hpp" #include "parse.hpp" void parse_exec(FILE* fd, parse_context ct); int exec_process(std::string const& runtime, std::vector<std::string> const& args, parse_context ct); #endif //EXEC_HPP
19.076923
101
0.75
[ "vector" ]
b84f44b030e6b7e74dda1bad75e42f15c4df114d
1,770
cpp
C++
Problem Solving with C++/Source Code/Chapter11/11-10.cpp
MorganBergen/Learning-CPP
a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b
[ "Unlicense" ]
null
null
null
Problem Solving with C++/Source Code/Chapter11/11-10.cpp
MorganBergen/Learning-CPP
a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b
[ "Unlicense" ]
null
null
null
Problem Solving with C++/Source Code/Chapter11/11-10.cpp
MorganBergen/Learning-CPP
a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b
[ "Unlicense" ]
null
null
null
//DISPLAY 11.10 Program for a Class with an Array Member //This is the definition for a class TemperatureList. //Values of this type are lists of Fahrenheit temperatures. #include <iostream> #include <cstdlib> using namespace std; const int MAX_LIST_SIZE = 50; class TemperatureList { public: Temperature...
26.41791
70
0.670621
[ "object" ]
b8562debd461dab9fcda132269df3d11301f2598
7,333
cpp
C++
tools/CLIOptions/CLIOptions.cpp
m42e/mull
32c6416d1757ea19c345029ee7a83e5769f231ef
[ "Apache-2.0" ]
null
null
null
tools/CLIOptions/CLIOptions.cpp
m42e/mull
32c6416d1757ea19c345029ee7a83e5769f231ef
[ "Apache-2.0" ]
null
null
null
tools/CLIOptions/CLIOptions.cpp
m42e/mull
32c6416d1757ea19c345029ee7a83e5769f231ef
[ "Apache-2.0" ]
null
null
null
#include "CLIOptions.h" #include <mull/Diagnostics/Diagnostics.h> #include <mull/Mutators/Mutator.h> #include <mull/Reporters/IDEReporter.h> #include <mull/Reporters/MutationTestingElementsReporter.h> #include <mull/Reporters/SQLiteReporter.h> #include <mull/Reporters/PatchesReporter.h> #include <mull/Reporters/GithubA...
35.086124
135
0.666712
[ "vector" ]
b85e1a68427b0938b416a7424cee012120fab493
5,763
cxx
C++
Tracing/trace_srcCUDA/trace_src/SeedContainer3D.cxx
tostathaina/farsight
7e9d6d15688735f34f7ca272e4e715acd11473ff
[ "Apache-2.0" ]
8
2016-07-22T11:24:19.000Z
2021-04-10T04:22:31.000Z
Tracing/trace_srcCUDA/trace_src/SeedContainer3D.cxx
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
null
null
null
Tracing/trace_srcCUDA/trace_src/SeedContainer3D.cxx
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
7
2016-07-21T07:39:17.000Z
2020-01-29T02:03:27.000Z
////////////////////////////////////////////////////////////// //Seed points begin as "interest points" consisting of local //extremum detected on a regular grid. Two options are //available, full 3-d grid search, or 2-d grid search on //projection image followed by localization in the z-direction. #include "SeedCont...
29.106061
103
0.635259
[ "vector", "3d" ]
b8631a3ec146847360dfa77d58ad418abe0cfe55
507
hpp
C++
libs/core/render/include/bksge/core/render/fwd/spirv_reflection_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/fwd/spirv_reflection_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/fwd/spirv_reflection_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file spirv_reflection_fwd.hpp * * @brief SpirvReflection の前方宣言 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_FWD_SPIRV_REFLECTION_FWD_HPP #define BKSGE_CORE_RENDER_FWD_SPIRV_REFLECTION_FWD_HPP namespace bksge { namespace render { struct SpirvReflectionUniform; class SpirvReflecti...
17.482759
57
0.761341
[ "render" ]
b86358fee7dd44a172c4dad76ea59c1428dbf6f9
1,655
cpp
C++
PC_Practica_18-nov-21/dungeon_game.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_Practica_18-nov-21/dungeon_game.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_Practica_18-nov-21/dungeon_game.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> int calculateMinimumHP_memoized(std::vector<std::vector<int>>& dungeon, int i, int j, int m, int n, std::vector<std::vector<int>>& memo) { if (memo[i][j] != INT_MIN) return memo[i][j]; int result; int health_to_be_lost; if (i == m - 1 && j == n - 1) health_to_be_lost = 0; else if (i...
24.701493
138
0.616918
[ "vector" ]
b86a7e9f28f8caea3cf4c002d47122dd0bd45c19
6,406
cc
C++
mindspore/lite/src/runtime/kernel/opencl/kernel/activation.cc
fufunoyu/mindspore
704e367ada35653e8144eb0528c714f4b0231508
[ "Apache-2.0" ]
2
2021-04-22T07:00:59.000Z
2021-11-08T02:49:09.000Z
mindspore/lite/src/runtime/kernel/opencl/kernel/activation.cc
fufunoyu/mindspore
704e367ada35653e8144eb0528c714f4b0231508
[ "Apache-2.0" ]
1
2020-12-29T06:46:38.000Z
2020-12-29T06:46:38.000Z
mindspore/lite/src/runtime/kernel/opencl/kernel/activation.cc
kungfu-ml/mindspore
3fa5dd4495f4071b701e7ff490b7085b8824aaaa
[ "Apache-2.0" ]
1
2021-05-10T03:30:36.000Z
2021-05-10T03:30:36.000Z
/** * Copyright 2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
38.824242
119
0.686388
[ "shape", "vector" ]