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
08073a3adea9f8acd713c5611a311aee8ff30e67
715
cpp
C++
Codeforces/Solutions/1269B.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
Codeforces/Solutions/1269B.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
Codeforces/Solutions/1269B.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
// Problem Code: 1269B #include <iostream> #include <vector> #include <limits> #include <algorithm> using namespace std; int modulo_equality(int n, int m, vector<int>& a, vector<int>& b) { int i, j, d, min_d = numeric_limits<int>::max(); sort(a.begin(), a.end()); sort(b.begin(), b.end()); for (int k = 0; k < n;...
19.324324
67
0.504895
[ "vector" ]
0809cb23b8a0a5a6515a48d20e01d2247753a83a
3,968
hpp
C++
include/Zenject/ConcreteIdBinderNonGeneric.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/Zenject/ConcreteIdBinderNonGeneric.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/Zenject/ConcreteIdBinderNonGeneric.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: Zenject.Concre...
57.507246
212
0.759577
[ "object", "vector" ]
08110fa5851cb44150bcb5bfbdba3deddbc7eac6
1,362
cpp
C++
app/svdemo/src/main.cpp
weberdaniel/supervisor-demo
df9b2b97e517eea5c6effca12ebaf85a1834bc19
[ "MIT" ]
2
2022-01-11T21:36:38.000Z
2022-03-28T09:04:22.000Z
app/svdemo/src/main.cpp
weberdaniel/supervisor-demo
df9b2b97e517eea5c6effca12ebaf85a1834bc19
[ "MIT" ]
10
2020-01-06T12:24:23.000Z
2022-03-27T22:14:37.000Z
app/svdemo/src/main.cpp
weberdaniel/actordemo
2acd3225f22b282da5ffcd1f1f7a5e6484844768
[ "MIT" ]
null
null
null
// Copyright 2022 Daniel Weber #include <iostream> #include <functional> #include "svdemo/types.h" #include "svdemo/supervisor.h" #include "svdemo/worker.h" using caf::event_based_actor; using caf::actor; using caf::actor_system; // this function will create specifications for number n of // workers std::vector<chil...
28.375
72
0.743025
[ "vector" ]
0814daddb7d0328595afcc748db0fd97287ac9df
10,090
cpp
C++
source/server/network_controller.cpp
DHBW-Inf20/CppMuhle
aaf6524facef1633c896da710f78a86bbc56a6fc
[ "MIT" ]
3
2021-12-23T02:09:19.000Z
2022-03-15T09:45:32.000Z
source/server/network_controller.cpp
DHBW-Inf20/CppMuhle
aaf6524facef1633c896da710f78a86bbc56a6fc
[ "MIT" ]
null
null
null
source/server/network_controller.cpp
DHBW-Inf20/CppMuhle
aaf6524facef1633c896da710f78a86bbc56a6fc
[ "MIT" ]
null
null
null
#include "network_controller.hpp" #include "../network/net_server.hpp" #include "../exceptions/wrong_move.hpp" #include <stdlib.h> #include <iostream> #include <time.h> #include <vector> std::string gen_random(const int len); network_controller::network_controller() { this->server = new net_server(42069); } network...
37.790262
132
0.597027
[ "vector" ]
081a869bd8ef7e7e2f469912eacc8b8483719f34
6,458
cxx
C++
vtkm/filter/field_transform/testing/UnitTestCoordinateSystemTransform.cxx
Kitware/vtk-m
b24a878f72b288d69c9da8c7ac33f08db6d39ba9
[ "BSD-3-Clause" ]
null
null
null
vtkm/filter/field_transform/testing/UnitTestCoordinateSystemTransform.cxx
Kitware/vtk-m
b24a878f72b288d69c9da8c7ac33f08db6d39ba9
[ "BSD-3-Clause" ]
null
null
null
vtkm/filter/field_transform/testing/UnitTestCoordinateSystemTransform.cxx
Kitware/vtk-m
b24a878f72b288d69c9da8c7ac33f08db6d39ba9
[ "BSD-3-Clause" ]
null
null
null
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURP...
34.534759
100
0.647879
[ "vector", "transform" ]
081b481b7d51985e238799671eb05dc0e0847792
1,176
cpp
C++
array/40 Combination Sum II.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
array/40 Combination Sum II.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
array/40 Combination Sum II.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
// // 40 Combination Sum II.cpp // Leetcode // // Created by Quinn on 2020/9/27. // Copyright © 2020 Quinn. All rights reserved. // #include <vector> using namespace std; class Solution { public: vector<vector<int>> res; vector<int> path; vector<vector<int>> combinationSum2(vector<int>& candidate...
23.058824
78
0.481293
[ "vector" ]
081bc2673f89f98a345d691790c4c2a36a5f7988
4,667
cpp
C++
Utils/check-passive.cpp
lemonviv/Pivot-SPDZ
f3db87d8849e5f9fa39f321d85feec83107ee405
[ "BSD-2-Clause" ]
1
2021-03-18T08:20:37.000Z
2021-03-18T08:20:37.000Z
Utils/check-passive.cpp
lemonviv/Pivot-SPDZ
f3db87d8849e5f9fa39f321d85feec83107ee405
[ "BSD-2-Clause" ]
null
null
null
Utils/check-passive.cpp
lemonviv/Pivot-SPDZ
f3db87d8849e5f9fa39f321d85feec83107ee405
[ "BSD-2-Clause" ]
null
null
null
#include "Math/gf2n.h" #include "Math/gfp.h" #include "Math/Z2k.h" #include "Math/Setup.h" #include <fstream> #include <vector> #include <numeric> #include "Math/Z2k.hpp" template <class T> void check_triples(int n_players, string type_char = "") { ifstream* inputFiles = new ifstream[n_players]; for (int i =...
30.503268
80
0.431541
[ "vector" ]
081da4a3f025db05c646ebcd00001fd49d164322
29,418
cpp
C++
Plugin~/Src/mscore/msCoreAPI.cpp
Hengle/MeshSync
720559dfa9350815ded44daafebd198019121f1a
[ "Apache-2.0" ]
2
2021-06-27T08:42:50.000Z
2021-07-31T18:36:31.000Z
Plugin~/Src/mscore/msCoreAPI.cpp
artigee/MeshSync
4fa8ef749c934661951b775db239878bcfb06431
[ "Apache-2.0" ]
null
null
null
Plugin~/Src/mscore/msCoreAPI.cpp
artigee/MeshSync
4fa8ef749c934661951b775db239878bcfb06431
[ "Apache-2.0" ]
1
2020-04-10T01:08:38.000Z
2020-04-10T01:08:38.000Z
#include "pch.h" #include "MeshUtils/MeshUtils.h" #include "MeshSync/MeshSync.h" #include "msCoreAPI.h" using namespace mu; #pragma region Identifier msAPI const char* msIdentifierGetName(ms::Identifier *self) { return self->name.c_str(); } msAPI int msIdentifierGetID(ms::Identifier *self) { return self->id; ...
55.50566
163
0.706846
[ "mesh", "transform" ]
081f5a970ab6044d68f2bbd7f02f86273892f353
1,125
hpp
C++
System.Core/include/Switch/System/Threading/ParameterizedThreadStart.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
4
2021-10-14T01:43:00.000Z
2022-03-13T02:16:08.000Z
System.Core/include/Switch/System/Threading/ParameterizedThreadStart.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
null
null
null
System.Core/include/Switch/System/Threading/ParameterizedThreadStart.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
2
2022-03-13T02:16:06.000Z
2022-03-14T14:32:57.000Z
/// @file /// @brief Contains Switch::System::Threading::ParameterizedThreadStart delegate. #pragma once #include "../Delegate.hpp" /// @brief The Switch namespace contains all fundamental classes to access Hardware, Os, System, and more. namespace Switch { /// @brief The System namespace contains fundamental class...
56.25
428
0.772444
[ "object" ]
081f617872771ad42360d5c416af20e16182a183
1,608
cc
C++
mindspore/core/ops/reverse_sequence.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/core/ops/reverse_sequence.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/core/ops/reverse_sequence.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
34.956522
115
0.764303
[ "vector" ]
082009bfff2f1e5d8ab0ed64a5dd00705078a345
3,717
cpp
C++
example/demo.cpp
JCYang/coro_io
782beafed8d6c09e3b2d3a43a155c5f919267af5
[ "BSL-1.0" ]
6
2018-04-02T10:05:02.000Z
2019-09-02T08:41:11.000Z
example/demo.cpp
JCYang/coro_io
782beafed8d6c09e3b2d3a43a155c5f919267af5
[ "BSL-1.0" ]
null
null
null
example/demo.cpp
JCYang/coro_io
782beafed8d6c09e3b2d3a43a155c5f919267af5
[ "BSL-1.0" ]
null
null
null
#include "coro_io.hpp" #include <vector> #include <thread> #include <memory> boost::asio::io_service g_io_service; boost::asio::io_service::work g_io_work(g_io_service); // Hey! this is a coroutine, any functions with co_await keyword in its body become coroutines void demo_coro_A() { auto tcp_socket = boost::asio:...
52.352113
184
0.74361
[ "vector" ]
0821c0408aae3110a35eb0ee5520a1d767daeefe
2,791
cpp
C++
src/generation/street/LocalConstraints.cpp
rdelfin/proceduralcities
b5e3b01ab9b21cc4476526a1902374ed159c1da6
[ "Apache-2.0" ]
1
2021-12-30T07:39:51.000Z
2021-12-30T07:39:51.000Z
src/generation/street/LocalConstraints.cpp
rdelfin/proceduralcities
b5e3b01ab9b21cc4476526a1902374ed159c1da6
[ "Apache-2.0" ]
null
null
null
src/generation/street/LocalConstraints.cpp
rdelfin/proceduralcities
b5e3b01ab9b21cc4476526a1902374ed159c1da6
[ "Apache-2.0" ]
null
null
null
// // Created by rdelfin on 12/10/16. // #include <map> #include <set> #include <generation/street/LocalConstraints.h> #include <generation/street/Attributes.h> #include <generation/street/StreetSegment.h> #include <generation/street/Intersection.h> #include <vector> #define PI 3.14159265f LocalConstraints::LocalCo...
34.8875
166
0.657112
[ "vector" ]
08224c4b2ab6086ca75d191434f6c2c11f9cbfff
7,348
hpp
C++
include/codegen/include/System/Threading/SemaphoreSlim.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Threading/SemaphoreSlim.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Threading/SemaphoreSlim.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:45 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
49.315436
230
0.751497
[ "object" ]
0828435abe85bf197e619211d1a2c92ac57275c4
4,283
hpp
C++
include/HoudiniEngineUnity/HEU_Shelf.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_Shelf.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_Shelf.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/il2cpp-utils-met...
40.40566
175
0.724025
[ "object" ]
082a758ed7c095c9f185378a4d3980ba35a5bba2
725
cpp
C++
codeforces/CF_DP/SoldierAndNumberGame.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
codeforces/CF_DP/SoldierAndNumberGame.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
codeforces/CF_DP/SoldierAndNumberGame.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; vector <int> p; int pf[5000005]; int x[5000005]; int main(){ int t; scanf("%d",&t); int i; int a,b; for(i=0;i<5000005;i++){ // pd[i]=-1; pf[i]=1; //x[i]=1; } pf[0]=0; pf[1]=0; int j; for(i=2;i<5000005;i++){ if(pf[i]==1){ p.push_back(i); //pf[i...
9.931507
28
0.453793
[ "vector" ]
0834f3dcd742562eb05a1b414e41854379c49bc1
51,669
cpp
C++
src/realm/sync/stat_command.cpp
simonboots/realm-core
8cda8038ea6aac58883826a22a1e07901a009d9f
[ "Apache-2.0" ]
null
null
null
src/realm/sync/stat_command.cpp
simonboots/realm-core
8cda8038ea6aac58883826a22a1e07901a009d9f
[ "Apache-2.0" ]
null
null
null
src/realm/sync/stat_command.cpp
simonboots/realm-core
8cda8038ea6aac58883826a22a1e07901a009d9f
[ "Apache-2.0" ]
null
null
null
#include <cstdint> #include <cstring> #include <limits> #include <string> #include <vector> #include <locale> #include <sstream> #include <iostream> #include <realm/util/optional.hpp> #include <realm/util/quote.hpp> #include <realm/util/timestamp_formatter.hpp> #include <realm/util/load_file.hpp> #include <realm/group...
44.199316
117
0.574077
[ "vector" ]
083766f611b0647d1ad37e8e3ae11b4b748273d6
3,597
cpp
C++
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/deconvolution/deconvolution_kernel_b_fs_zyx_fsv16_dw.cpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/deconvolution/deconvolution_kernel_b_fs_zyx_fsv16_dw.cpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/deconvolution/deconvolution_kernel_b_fs_zyx_fsv16_dw.cpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
31.552632
131
0.711704
[ "vector" ]
0837e9f4af235e1d062db24da678ef535da3cab7
7,036
cxx
C++
Examples/BasicFilters/BandMathXImageFilterExample.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
1
2019-09-12T00:53:05.000Z
2019-09-12T00:53:05.000Z
Examples/BasicFilters/BandMathXImageFilterExample.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Examples/BasicFilters/BandMathXImageFilterExample.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
38.448087
157
0.719443
[ "vector" ]
0838ef6652621889dd36da4503f4c529fc1186ec
5,595
cpp
C++
lib/model/src/Equipment.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
1
2020-03-03T12:16:22.000Z
2020-03-03T12:16:22.000Z
lib/model/src/Equipment.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
null
null
null
lib/model/src/Equipment.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
1
2020-03-03T12:16:23.000Z
2020-03-03T12:16:23.000Z
// // Created by jnhkm on 2019-02-23. // #include "Equipment.h" using model::Equipment; namespace model { Equipment::Equipment() {} std::unordered_map<Slot, Object> Equipment::getMappedEquipment() { return this->equipment; } std::vector<Object> Equipment::getVectorEquipment() const { ...
28.840206
101
0.479714
[ "object", "vector", "model" ]
083e112bbdebb9002e2bdc7f8e7bca217250915b
817
cpp
C++
Source/VOX4U/Private/Voxel.cpp
laggyluk/VOX4U
a2da38ab590c3641e63d275938695a85d7ecec02
[ "MIT" ]
1
2019-12-13T00:24:20.000Z
2019-12-13T00:24:20.000Z
Source/VOX4U/Private/Voxel.cpp
foobit/VOX4U
86758e6c8f8816cc6678fa3663f2f02518a082b5
[ "MIT" ]
null
null
null
Source/VOX4U/Private/Voxel.cpp
foobit/VOX4U
86758e6c8f8816cc6678fa3663f2f02518a082b5
[ "MIT" ]
1
2019-12-12T23:35:09.000Z
2019-12-12T23:35:09.000Z
// Copyright 2016-2018 mik14a / Admix Network. All Rights Reserved. #include "Voxel.h" #include <Engine/StaticMesh.h> UVoxel::UVoxel() : Size(ForceInit) , CellBounds(FVector::ZeroVector, FVector(100.f, 100.f, 100.f), 100.f) , bXYCenter(true) , Mesh() , Voxel() { } #if WITH_EDITOR void UVoxel::PostEditChangePro...
22.081081
92
0.70869
[ "mesh" ]
08437cfbea5035ef4bc4a3a31288396388ddfb6c
1,824
cpp
C++
lib/Loader/ColorMapLoader/ColorMapLoader.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
lib/Loader/ColorMapLoader/ColorMapLoader.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
lib/Loader/ColorMapLoader/ColorMapLoader.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
/** * @file ColorMapLoader.cpp * ColorMap Lutデータローダー */ #include <cstdio> #include <cstdlib> #include <fstream> #include <math.h> #include <sstream> #include <string> #include <vector> #include "Buffer.h" #include "ColorMapLoader.h" /// コンストラクタ ColorMapLoader::ColorMapLoader() { m_rgba = new FloatBuffer(); } ///...
21.975904
65
0.600329
[ "vector" ]
36b0986a09b85424d9b9df9c451ec7a0675f433f
4,870
cpp
C++
libtbag/http/HttpServer.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
21
2016-04-05T06:08:41.000Z
2022-03-28T10:20:22.000Z
libtbag/http/HttpServer.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
null
null
null
libtbag/http/HttpServer.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
2
2019-07-16T00:37:21.000Z
2021-11-10T06:14:09.000Z
/** * @file HttpServer.cpp * @brief HttpServer class implementation. * @author zer0 * @date 2020-03-10 */ #include <libtbag/http/HttpServer.hpp> #include <libtbag/http/CivetWebExtension.hpp> #include <libtbag/string/StringUtils.hpp> #include <cassert> // ------------------- NAMESPACE_LIBTBAG_OPEN // ------...
22.036199
105
0.648871
[ "vector" ]
36b1fe877f7853ce4a68449b25d8f116f06ef49f
82,928
cpp
C++
Samples/EmbeddedSamples/NewMicroAvServer/Win32_WML/Win32_WMLDlg.cpp
okertanov/Developer-Tools-for-UPnP-Technologies
15da0c9e67430e79473362a8fb5de0f03b4f8f6b
[ "Apache-2.0" ]
null
null
null
Samples/EmbeddedSamples/NewMicroAvServer/Win32_WML/Win32_WMLDlg.cpp
okertanov/Developer-Tools-for-UPnP-Technologies
15da0c9e67430e79473362a8fb5de0f03b4f8f6b
[ "Apache-2.0" ]
null
null
null
Samples/EmbeddedSamples/NewMicroAvServer/Win32_WML/Win32_WMLDlg.cpp
okertanov/Developer-Tools-for-UPnP-Technologies
15da0c9e67430e79473362a8fb5de0f03b4f8f6b
[ "Apache-2.0" ]
1
2019-02-22T19:57:30.000Z
2019-02-22T19:57:30.000Z
/* Copyright 2006 - 2011 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
28.2164
319
0.681857
[ "object", "model" ]
36b723d60dd67189412a875cc0e6485a3da9b589
5,290
cpp
C++
oneflow/core/functional/impl/eye_functor.cpp
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
1
2022-03-14T11:17:56.000Z
2022-03-14T11:17:56.000Z
oneflow/core/functional/impl/eye_functor.cpp
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
null
null
null
oneflow/core/functional/impl/eye_functor.cpp
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow 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 agre...
38.333333
98
0.678639
[ "vector" ]
36b8b863a8285502ba3315894514d1c38fb3c805
5,526
cc
C++
FastSimulation/CaloHitMakers/src/PreshowerHitMaker.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
FastSimulation/CaloHitMakers/src/PreshowerHitMaker.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
FastSimulation/CaloHitMakers/src/PreshowerHitMaker.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "FastSimulation/CaloHitMakers/interface/PreshowerHitMaker.h" # #include "FastSimulation/CaloGeometryTools/interface/CaloGeometryHelper.h" #include "FastSimulation/Utilities/interface/LandauFluctuationGenerator.h" #include "DataFormats/DetId/interface/DetId.h" #include "DataFormats/EcalDetId/interface/EcalSubde...
42.507692
119
0.596634
[ "geometry" ]
36bce0bc75e3556b404de142f33924e1bbe91a3b
2,379
cpp
C++
Topcoder/codeforceParty.cpp
TiwariAnil/Algorithmic_Puzzles
13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774
[ "MIT" ]
null
null
null
Topcoder/codeforceParty.cpp
TiwariAnil/Algorithmic_Puzzles
13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774
[ "MIT" ]
null
null
null
Topcoder/codeforceParty.cpp
TiwariAnil/Algorithmic_Puzzles
13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774
[ "MIT" ]
null
null
null
#include<vector> #include<stack> #include<set> #include<map> #include<queue> #include<deque> #include<string> #include<iostream> #include<algorithm> #include<cstring> #include<cassert> #include<cstdlib> #include<cstdio> #include<cmath> #include<string> #include<stdio.h> using namespace std; #define s(n) ...
18.585938
52
0.484237
[ "vector" ]
36bdde59c7120b70e60c422393894dba07a730fe
3,817
cpp
C++
others/PGBattle2020/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
others/PGBattle2020/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
others/PGBattle2020/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
#ifdef _DEBUG #include "../../../library/src/debug_template.hpp" #define DMP(...) dump(#__VA_ARGS__, __VA_ARGS__) #else #define DMP(...) ((void)0) #endif #include <cassert> #include <cstdio> #include <cmath> #include <iostream> #include <iomanip> #include <vector> #include <set> #include <map> #include <queue> #includ...
29.589147
112
0.598114
[ "vector" ]
36be1026fd4ae32074c25616d96a72f5f42119e9
5,500
hh
C++
mcg/src/external/BSR/include/math/matrices/functors/matrix_key_functors.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
392
2015-01-14T13:19:40.000Z
2022-02-12T08:47:33.000Z
mcg/src/external/BSR/include/math/matrices/functors/matrix_key_functors.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
45
2015-02-03T12:16:10.000Z
2022-03-07T00:25:09.000Z
mcg/src/external/BSR/include/math/matrices/functors/matrix_key_functors.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
168
2015-01-05T02:29:53.000Z
2022-02-22T04:32:04.000Z
/* * Functors for comparing matrices to axis-aligned half-space keys. */ #ifndef MATH__MATRICES__FUNCTORS__MATRIX_KEY_FUNCTORS_HH #define MATH__MATRICES__FUNCTORS__MATRIX_KEY_FUNCTORS_HH #include "collections/abstract/collection.hh" #include "interfaces/kd_treeable.hh" #include "functors/kd_treeable_functors.hh" #in...
31.976744
76
0.65
[ "vector" ]
36c0a5d1d861f6d2d9fc203605b7edcf321cad0d
1,890
cpp
C++
core/test/builders/terrain/TerraBuilderTest.cpp
daeilkim/utymap
72362eeca8b426ff77a3b1742125b980039c7db6
[ "Apache-2.0" ]
2
2017-05-17T14:42:31.000Z
2021-07-04T00:26:46.000Z
core/test/builders/terrain/TerraBuilderTest.cpp
daeilkim/utymap
72362eeca8b426ff77a3b1742125b980039c7db6
[ "Apache-2.0" ]
null
null
null
core/test/builders/terrain/TerraBuilderTest.cpp
daeilkim/utymap
72362eeca8b426ff77a3b1742125b980039c7db6
[ "Apache-2.0" ]
null
null
null
#include "QuadKey.hpp" #include "builders/BuilderContext.hpp" #include "builders/terrain/TerraBuilder.hpp" #include "entities/Way.hpp" #include "entities/Area.hpp" #include <boost/test/unit_test.hpp> #include "test_utils/DependencyProvider.hpp" #include "test_utils/ElementUtils.hpp" using namespace utymap; using nam...
33.75
144
0.7
[ "mesh" ]
36c39c6535684b6030535d5fb142ebcd1504b6c2
2,550
hpp
C++
src/cosma/math_utils.hpp
rohany/COSMA
c16e14f8e4251a08765c0bf83386b2aef16d566b
[ "BSD-3-Clause" ]
123
2019-05-10T07:45:16.000Z
2022-03-10T17:23:05.000Z
src/cosma/math_utils.hpp
rohany/COSMA
c16e14f8e4251a08765c0bf83386b2aef16d566b
[ "BSD-3-Clause" ]
79
2019-08-15T09:35:14.000Z
2022-03-28T09:25:51.000Z
src/cosma/math_utils.hpp
rohany/COSMA
c16e14f8e4251a08765c0bf83386b2aef16d566b
[ "BSD-3-Clause" ]
20
2019-05-08T21:48:12.000Z
2022-01-26T15:03:12.000Z
#pragma once #include <algorithm> #include <cmath> #include <iostream> #include <limits> #include <tuple> #include <vector> namespace cosma { namespace math_utils { // greates common divisor of a and b int gcd(int a, int b); // divides and rounds up long long integers long long divide_and_round_up(long long x, long ...
34.931507
84
0.693333
[ "vector" ]
36d31629e56568e1c277a79c3247503aa02272f2
3,696
cpp
C++
mexcpp_test.cpp
kuitang/mexcpp
2dc11d7932ca10eda960d69a3176651bf4b2e716
[ "MIT" ]
17
2015-01-12T08:45:41.000Z
2019-07-01T16:16:46.000Z
mexcpp_test.cpp
kuitang/mexcpp
2dc11d7932ca10eda960d69a3176651bf4b2e716
[ "MIT" ]
2
2015-01-11T11:21:39.000Z
2016-05-06T15:09:05.000Z
mexcpp_test.cpp
kuitang/mexcpp
2dc11d7932ca10eda960d69a3176651bf4b2e716
[ "MIT" ]
7
2015-01-14T14:54:40.000Z
2021-11-27T15:18:06.000Z
/* mexcpp_test.cpp -- Test mexcpp library * * Copyright (c) 2013-5 Kui Tang <kuitang@gmail.com> * License: MIT * * Inspired by Rcpp and nr3matlab.h * * Run this line in MATLAB: * [od, os, ocm, osm] = mexcpp_test(3, 'c', 'string', [1 2 3], single([1 2; 3 4]), {[1 2], [1 2; 3 4]}, struct('f0', [10 20; 30 40], 'f1...
26.589928
178
0.602273
[ "vector" ]
36d7f18ca4353b136cc27fd58ca2c793545f0b07
5,172
cpp
C++
src/dumpdot.cpp
yxonic/ycc1
01ecf01d0e069fa9e976387164c80ee171913915
[ "MIT" ]
1
2016-09-28T02:14:30.000Z
2016-09-28T02:14:30.000Z
src/dumpdot.cpp
yxonic/ycc1
01ecf01d0e069fa9e976387164c80ee171913915
[ "MIT" ]
null
null
null
src/dumpdot.cpp
yxonic/ycc1
01ecf01d0e069fa9e976387164c80ee171913915
[ "MIT" ]
null
null
null
#include <cctype> #include <cstdio> #include <cstdlib> #include <cstdarg> #include <map> #include <string> #include <vector> #include <sstream> #include "kast.h" #include "dumpdot.h" //===----------------------------------------------------------------------===// // Utilities in Dump DOT //===-------------------------...
28.108696
84
0.54041
[ "shape", "vector" ]
36d9c2c42a12fbb4a4a5f49bd43ca208320249e2
59,110
cpp
C++
C# and C++/C#,C++/WinHdfsNative/hdfs.cpp
mfyuce/WinHDFS
2a16a416620d89a9f1ac7fbc54932c647f519535
[ "Apache-2.0" ]
4
2016-06-28T19:52:08.000Z
2017-11-04T05:11:38.000Z
C# and C++/C#,C++/WinHdfsNative/hdfs.cpp
mfyuce/WinHDFS
2a16a416620d89a9f1ac7fbc54932c647f519535
[ "Apache-2.0" ]
null
null
null
C# and C++/C#,C++/WinHdfsNative/hdfs.cpp
mfyuce/WinHDFS
2a16a416620d89a9f1ac7fbc54932c647f519535
[ "Apache-2.0" ]
null
null
null
/** * 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...
28.848219
186
0.574218
[ "object" ]
36de18c3d3d477ca371974fcbf28c8e8e0176d4b
7,640
hpp
C++
geometrix/algorithm/intersection/convex_polygon_polygon_intersection.hpp
brandon-kohn/Geometrix
e107e13b469632c7d12cb236bd4fb8b17ff928e3
[ "BSL-1.0" ]
null
null
null
geometrix/algorithm/intersection/convex_polygon_polygon_intersection.hpp
brandon-kohn/Geometrix
e107e13b469632c7d12cb236bd4fb8b17ff928e3
[ "BSL-1.0" ]
null
null
null
geometrix/algorithm/intersection/convex_polygon_polygon_intersection.hpp
brandon-kohn/Geometrix
e107e13b469632c7d12cb236bd4fb8b17ff928e3
[ "BSL-1.0" ]
null
null
null
// //! Copyright © 2021 //! Brandon Kohn // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef GEOMETRIX_CONVEX_POLYGON_POLYGON_INTERSECTION_HPP #define GEOMETRIX_CONVEX_POLYGON_POLYGON_INTERSECTION_HP...
36.730769
172
0.530759
[ "geometry", "vector" ]
36df27380c2421b9a3077d88e07f7cd6c1fe79ab
136,078
cc
C++
prop-src/matchcom.cc
AaronNGray/prop-cc-new
3d9660f55c94c5bd260f6b7cc902fa19109d35a9
[ "BSD-2-Clause" ]
1
2018-03-23T20:32:09.000Z
2018-03-23T20:32:09.000Z
prop-src/matchcom.cc
AaronNGray/prop-cc-new
3d9660f55c94c5bd260f6b7cc902fa19109d35a9
[ "BSD-2-Clause" ]
null
null
null
prop-src/matchcom.cc
AaronNGray/prop-cc-new
3d9660f55c94c5bd260f6b7cc902fa19109d35a9
[ "BSD-2-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // This file is generated automatically using Prop (version 2.4.0), // last updated on Jul 1, 2011. // The original source file is "matchcom.pcc". /////////////////////////////////////////////////////////////////////////////// #define P...
32.500119
336
0.480034
[ "object" ]
36fb482b9ff322c298bab64b542f3f82ae437bf5
3,151
cc
C++
python/jittor/src/jit_key.cc
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
4
2020-01-12T13:16:16.000Z
2020-01-12T15:43:54.000Z
python/jittor/src/jit_key.cc
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
null
null
null
python/jittor/src/jit_key.cc
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
1
2020-01-12T13:17:17.000Z
2020-01-12T13:17:17.000Z
// *************************************************************** // Copyright (c) 2022 Jittor. All Rights Reserved. // Maintainers: Dun Liang <randonlang@gmail.com>. // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. // ******************...
28.133929
84
0.548715
[ "vector" ]
3c00973185a44f960083b7d7e2a4a31725a9e192
8,250
cc
C++
chromeos/network/cellular_esim_profile_handler_impl.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
chromeos/network/cellular_esim_profile_handler_impl.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
chromeos/network/cellular_esim_profile_handler_impl.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "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 "chromeos/network/cellular_esim_profile_handler_impl.h" #include <vector> #include "ash/constants/ash_pref_names.h" #include "base/callback_hel...
34.375
80
0.735394
[ "vector" ]
3c05827be86a29f841565fa10c5d42d17d06200d
1,524
cpp
C++
examples/Linalg/Linalg1/lib/DialectRegistration.cpp
lijiansong/mlir
70ee7a4dbf76ce790886d95a972ee60b87ab3e2c
[ "Apache-2.0" ]
null
null
null
examples/Linalg/Linalg1/lib/DialectRegistration.cpp
lijiansong/mlir
70ee7a4dbf76ce790886d95a972ee60b87ab3e2c
[ "Apache-2.0" ]
null
null
null
examples/Linalg/Linalg1/lib/DialectRegistration.cpp
lijiansong/mlir
70ee7a4dbf76ce790886d95a972ee60b87ab3e2c
[ "Apache-2.0" ]
null
null
null
//===- DialectRegistration.cpp - Registration of the Linalg dialect -------===// // // Copyright 2019 The MLIR Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
38.1
80
0.670604
[ "object" ]
3c09bc8476ba8ee792b625b8197dffcc1001cac3
4,593
cxx
C++
Algorithms/Implementation/bomber-man.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Implementation/bomber-man.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Implementation/bomber-man.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; struct Grid { const char Bomb = 'O', Empty = '.', None = 0, Exploding = 1, Ticking = 2; int R, C, N; vector< string > grid; void in (istream &in) { in >> R >> C >> N; grid...
29.824675
105
0.452863
[ "vector" ]
3c09f4dd9d9a3a14435e295762a9b8e345b812fd
15,854
cc
C++
src/dictionary/user_dictionary_storage.cc
sousuke0422/crIME
abc711e0c2cad19950703d59ed4d1ffe4bd76953
[ "BSD-3-Clause" ]
1
2021-02-24T07:03:26.000Z
2021-02-24T07:03:26.000Z
src/dictionary/user_dictionary_storage.cc
sousuke0422/crIME
abc711e0c2cad19950703d59ed4d1ffe4bd76953
[ "BSD-3-Clause" ]
108
2018-05-29T17:33:53.000Z
2019-07-22T00:01:54.000Z
src/dictionary/user_dictionary_storage.cc
sousuke0422/crIME
abc711e0c2cad19950703d59ed4d1ffe4bd76953
[ "BSD-3-Clause" ]
1
2021-12-29T08:15:14.000Z
2021-12-29T08:15:14.000Z
// Copyright 2010-2018, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
30.429942
80
0.695597
[ "vector" ]
3c10470552e3910e9ed2bb3239285aa5216470bf
32,188
cpp
C++
src/externals/d77/d77.cpp
Artanejp/TOWNSEMU
72ccc5588314de210cd8b77fe7f42b92ed79bed9
[ "BSD-3-Clause" ]
null
null
null
src/externals/d77/d77.cpp
Artanejp/TOWNSEMU
72ccc5588314de210cd8b77fe7f42b92ed79bed9
[ "BSD-3-Clause" ]
null
null
null
src/externals/d77/d77.cpp
Artanejp/TOWNSEMU
72ccc5588314de210cd8b77fe7f42b92ed79bed9
[ "BSD-3-Clause" ]
null
null
null
/* LICENSE>> Copyright 2020 Soji Yamakawa (CaptainYS, http://www.ysflight.com) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condition...
20.282294
755
0.654405
[ "geometry", "vector", "3d" ]
3c122ed4f0f892b20ed2a4482330b1b1d39f8a9d
614
cpp
C++
least-number-of-unique-integers-after-k-removals/least-number-of-unique-integers-after-k-removals.cpp
itzpankajpanwar/Leetcode
bf933bc8a16f4b9d7a0e8b82f01684e60b544bed
[ "MIT" ]
2
2021-08-29T12:51:09.000Z
2021-10-18T23:24:41.000Z
least-number-of-unique-integers-after-k-removals/least-number-of-unique-integers-after-k-removals.cpp
itzpankajpanwar/Leetcode
bf933bc8a16f4b9d7a0e8b82f01684e60b544bed
[ "MIT" ]
null
null
null
least-number-of-unique-integers-after-k-removals/least-number-of-unique-integers-after-k-removals.cpp
itzpankajpanwar/Leetcode
bf933bc8a16f4b9d7a0e8b82f01684e60b544bed
[ "MIT" ]
null
null
null
class Solution { public: int findLeastNumOfUniqueInts(vector<int>& arr, int k) { unordered_map<int,int> mp; for(auto &x:arr) mp[x]++; int tt = mp.size() , r = 0 , ci=1; while(k>=ci) { for(auto &x:mp) { if...
23.615385
59
0.285016
[ "vector" ]
3c1e3e90885a4e0e052feea740277771dc839b3b
9,541
cc
C++
pigasus/software/tools/snort2lua/config_states/config_one_int_option.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
pigasus/software/tools/snort2lua/config_states/config_one_int_option.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
pigasus/software/tools/snort2lua/config_states/config_one_int_option.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
//-------------------------------------------------------------------------- // Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved. // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License Version 2 as published // by the Fr...
33.128472
99
0.578661
[ "vector" ]
3c20b9efca855d2385be2b9238695ce26b006453
3,502
cpp
C++
test/instr/SimplifyStringVerify.cpp
sjndhkl/redex
f6da510e67da284b0093bf01e2e9357d8b963cfd
[ "BSD-3-Clause" ]
null
null
null
test/instr/SimplifyStringVerify.cpp
sjndhkl/redex
f6da510e67da284b0093bf01e2e9357d8b963cfd
[ "BSD-3-Clause" ]
null
null
null
test/instr/SimplifyStringVerify.cpp
sjndhkl/redex
f6da510e67da284b0093bf01e2e9357d8b963cfd
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2016-present, 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 <...
37.255319
80
0.605654
[ "transform" ]
3c2215caed05e900c43b5432df37aa9b70ad7bad
1,790
cpp
C++
src/backend/components/card/Card.cpp
OopsOverflow/Magik-The-Separation
cbbda4eee4f7ab09ec4397914f05c7b5c0e8abec
[ "MIT" ]
2
2022-03-25T20:14:26.000Z
2022-03-25T20:14:32.000Z
src/backend/components/card/Card.cpp
OopsOverflow/Magik-The-Separation
cbbda4eee4f7ab09ec4397914f05c7b5c0e8abec
[ "MIT" ]
null
null
null
src/backend/components/card/Card.cpp
OopsOverflow/Magik-The-Separation
cbbda4eee4f7ab09ec4397914f05c7b5c0e8abec
[ "MIT" ]
null
null
null
// // Created by houssem on 04/01/2022. // #include "Card.h" #include <algorithm> #include <utility> uint16_t Card::nextCardId = 0; Card::Card(uint16_t id, std::string name, std::map<Color, int> cost) : name(std::move(name)), cost(std::move(cost)), tapped(false), uuid(nextCardId), id(id) { nextCardId += 1; } C...
22.658228
158
0.53352
[ "vector" ]
3c22ce8dd76b9d8b2e714857a7e4a2e5d6a2b01f
2,495
hpp
C++
aliSystem/aliSystem_codecSerialize.hpp
hendrik-brower/ali
c9d8740fecdb486b7be00b4257ce6d79ea45aead
[ "MIT" ]
null
null
null
aliSystem/aliSystem_codecSerialize.hpp
hendrik-brower/ali
c9d8740fecdb486b7be00b4257ce6d79ea45aead
[ "MIT" ]
null
null
null
aliSystem/aliSystem_codecSerialize.hpp
hendrik-brower/ali
c9d8740fecdb486b7be00b4257ce6d79ea45aead
[ "MIT" ]
null
null
null
#ifndef INCLUDED_ALI_SYSTEM_CODEC_SERIALIZE #define INCLUDED_ALI_SYSTEM_CODEC_SERIALIZE #include <memory> #include <string> #include <iostream> namespace aliSystem { namespace Codec { /// @brief Serialize provides a set of serialization /// API's for encoding common basic types to a /// a...
31.582278
84
0.601603
[ "object" ]
3c254904e57f7819d11f6b7719dd9a8acc39641c
1,035
cpp
C++
Car.cpp
tlee753/doxygen-demo
d2513f1d0e36661d7fbb27a7819f79faf3884e42
[ "MIT" ]
null
null
null
Car.cpp
tlee753/doxygen-demo
d2513f1d0e36661d7fbb27a7819f79faf3884e42
[ "MIT" ]
null
null
null
Car.cpp
tlee753/doxygen-demo
d2513f1d0e36661d7fbb27a7819f79faf3884e42
[ "MIT" ]
null
null
null
/*! * contains function definitions for car class * * @file Car.cpp */ #include <string> #include "Car.h" using namespace std; /*! * constructor * * @param make the make of the car * @param model the model of the car * @param year the year the car was made * @param cost the cost of the car */ Car::Car...
14.785714
57
0.606763
[ "model" ]
3c2ea54475bea669babb7da2919e6824ad03255b
18,609
cpp
C++
library/uapki/src/crl-store.cpp
DJm00n/UAPKI
7ced3adc6d2990c88cc48b273d44ec99489a0282
[ "BSD-2-Clause" ]
null
null
null
library/uapki/src/crl-store.cpp
DJm00n/UAPKI
7ced3adc6d2990c88cc48b273d44ec99489a0282
[ "BSD-2-Clause" ]
null
null
null
library/uapki/src/crl-store.cpp
DJm00n/UAPKI
7ced3adc6d2990c88cc48b273d44ec99489a0282
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, The UAPKI Project Authors. * * 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 ...
31.328283
165
0.631415
[ "vector" ]
3c31567db6b6676d8b67afb881dd9b28330c427f
10,034
cpp
C++
ext/geographiclib/geographiclib.cpp
kext/ruby-geographiclib
e8d9cadde242b42efb051b6bb810b141f49a44f1
[ "MIT" ]
4
2017-02-17T15:02:35.000Z
2020-07-15T13:32:37.000Z
ext/geographiclib/geographiclib.cpp
kext/ruby-geographiclib
e8d9cadde242b42efb051b6bb810b141f49a44f1
[ "MIT" ]
null
null
null
ext/geographiclib/geographiclib.cpp
kext/ruby-geographiclib
e8d9cadde242b42efb051b6bb810b141f49a44f1
[ "MIT" ]
null
null
null
#include <ruby.h> #include <GeographicLib/Constants.hpp> #include <GeographicLib/Geodesic.hpp> #include <GeographicLib/DMS.hpp> #include <GeographicLib/Geocentric.hpp> #include <GeographicLib/LocalCartesian.hpp> #define rb_symbol(s) rb_id2sym(rb_intern_const(s)) static void decode_lat_lon(VALUE vlat, VALUE vlon, Geog...
35.58156
142
0.705003
[ "object" ]
3c3352d35a92438b4051f2393a44094d6ba287f8
5,230
cpp
C++
src/+cv/private/SVD_.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
571
2015-01-04T06:23:19.000Z
2022-03-31T07:37:19.000Z
src/+cv/private/SVD_.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
362
2015-01-06T14:20:46.000Z
2022-01-20T08:10:46.000Z
src/+cv/private/SVD_.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
300
2015-01-20T03:21:27.000Z
2022-03-31T07:36:37.000Z
/** * @file SVD_.cpp * @brief mex interface for cv::SVD * @ingroup core * @author Amro * @date 2015 */ #include "mexopencv.hpp" using namespace std; using namespace cv; namespace { // Persistent objects /// Last object id to allocate int last_id = 0; /// Object container map<int,Ptr<SVD> > obj_; } /** * Main e...
33.101266
76
0.507648
[ "object", "vector" ]
3c355c1164aadb27bd5955382239b4e52bac0887
64,470
cpp
C++
libs/hwdrivers/src/aria/src/ArSick.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
null
null
null
libs/hwdrivers/src/aria/src/ArSick.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
null
null
null
libs/hwdrivers/src/aria/src/ArSick.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
1
2021-08-16T11:50:47.000Z
2021-08-16T11:50:47.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
28.2021
198
0.667939
[ "object", "transform" ]
3c3a6d89b8fa60cc5683962c448e5c0a0f18136f
1,849
cpp
C++
container/INSIGHT/src/models/ModelFl.cpp
mcapuccini/cloud-insight
96fa1a12baa7aebd31878a969d2e43e5355714fa
[ "Apache-2.0" ]
1
2017-04-21T12:43:48.000Z
2017-04-21T12:43:48.000Z
container/INSIGHT/src/models/ModelFl.cpp
mcapuccini/cloud-insight
96fa1a12baa7aebd31878a969d2e43e5355714fa
[ "Apache-2.0" ]
12
2016-11-29T14:28:19.000Z
2017-05-10T14:14:13.000Z
container/INSIGHT/src/models/ModelFl.cpp
mcapuccini/cloud-insight
96fa1a12baa7aebd31878a969d2e43e5355714fa
[ "Apache-2.0" ]
2
2017-07-17T20:05:55.000Z
2021-07-16T08:29:07.000Z
/* * ModelFl.cpp * * Created on: Feb 5, 2014 * Author: jan * * This is a general implementation of a model that assumes that the observed data is fluorescent */ #include <cmath> #include "ModelFl.h" #include "DimensionMissmatchException.h" namespace INSIGHTv3 { ModelFl::ModelFl(const std::vector<E...
27.191176
112
0.695511
[ "vector", "model" ]
3c3c9d8c582d543dadea988e3c4d86eb314f24f6
18,585
cpp
C++
game/source/LoadingScene.cpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
3
2015-04-25T22:57:58.000Z
2019-11-05T18:36:31.000Z
game/source/LoadingScene.cpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
1
2016-06-23T15:22:41.000Z
2016-06-23T15:22:41.000Z
game/source/LoadingScene.cpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
null
null
null
#include "LoadingScene.hpp" #include <iostream> #include <Engine/ShaderProgram.hpp> #include <Engine/Texture.hpp> #include <Engine/Audio.hpp> #include <Engine/IAudioSource.hpp> #include <Engine/Event/ResourceLoadedEvent.hpp> #include <Engine/Event/WindowResizeEvent.hpp> #include <Engine/Event/PushSceneEvent.hpp> Lo...
32.605263
176
0.751036
[ "model" ]
3c40ce0b7bd8a148f1b0611b733dbcec0b775e8d
934
hpp
C++
analyses/infinite_loops_plugin.hpp
lzaoral/sbt-instrumentation
6f49415da99f42ac46b6a934d35da5a39df4eb36
[ "MIT" ]
null
null
null
analyses/infinite_loops_plugin.hpp
lzaoral/sbt-instrumentation
6f49415da99f42ac46b6a934d35da5a39df4eb36
[ "MIT" ]
null
null
null
analyses/infinite_loops_plugin.hpp
lzaoral/sbt-instrumentation
6f49415da99f42ac46b6a934d35da5a39df4eb36
[ "MIT" ]
null
null
null
#ifndef INFINITE_LOOPS_PLUGIN_H #define INFINITE_LOOPS_PLUGIN_H #include <llvm/IR/Module.h> #include <llvm/IR/Value.h> #include <llvm/IR/Constants.h> #include "llvm/IR/Instructions.h" #include "instr_plugin.hpp" class InfiniteLoopsPlugin : public InstrPlugin { private: std::string isInfinite(llvm::Value*); st...
26.685714
85
0.667024
[ "vector" ]
3c425ce96cff070140ba437e23b15dc9e07741ad
31,563
cpp
C++
IrradianceMap/Content/LightProbe.cpp
Gerigory/PRT
79008d77dc6f86c7e535c87fd0d1b1163aba3bd0
[ "MIT" ]
null
null
null
IrradianceMap/Content/LightProbe.cpp
Gerigory/PRT
79008d77dc6f86c7e535c87fd0d1b1163aba3bd0
[ "MIT" ]
null
null
null
IrradianceMap/Content/LightProbe.cpp
Gerigory/PRT
79008d77dc6f86c7e535c87fd0d1b1163aba3bd0
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // Copyright (c) XU, Tianchen. All rights reserved. //-------------------------------------------------------------------------------------- #include "SHSharedConsts.h" #include "LightProbe.h" #define _INDEPENDENT_DDS_LOADER_ #inc...
43.060027
137
0.770427
[ "vector", "transform" ]
3c43c2656fda98cf9e8f44de9b119472b5990c1f
2,725
cpp
C++
MistThread/Core/GameObjects/Components/DrawComponent.cpp
Neko81795/CBREngine
3ea100f09110d55fcbcadb23c246d47ed46c5121
[ "CC-BY-4.0", "MIT" ]
2
2015-08-30T00:26:45.000Z
2015-11-13T05:58:30.000Z
MistThread/Core/GameObjects/Components/DrawComponent.cpp
Neko81795/CBREngine
3ea100f09110d55fcbcadb23c246d47ed46c5121
[ "CC-BY-4.0", "MIT" ]
1
2015-11-25T06:28:13.000Z
2015-11-25T06:30:32.000Z
MistThread/Core/GameObjects/Components/DrawComponent.cpp
Neko81795/CBREngine
3ea100f09110d55fcbcadb23c246d47ed46c5121
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "DrawComponent.h" #include "../GameObject.h" #include "../Space.h" #include <sstream> namespace MistThread { namespace Core { namespace GameObjects { namespace Components { void DrawComponent::Draw(DrawEvent * drawEvent) { switch(Type) { ...
34.0625
155
0.591193
[ "transform" ]
3c44604605556f9aeda0bad8a02a006db8774ee0
3,667
cxx
C++
ThirdParty/QtTesting/vtkqttesting/pqWidgetEventPlayer.cxx
pierre-guillou/ttk-paraview
08f9df3c4432a01610f7d725733e9964255fee9c
[ "Apache-2.0", "BSD-3-Clause" ]
2
2021-07-07T22:53:19.000Z
2021-07-31T19:29:35.000Z
ThirdParty/QtTesting/vtkqttesting/pqWidgetEventPlayer.cxx
pierre-guillou/ttk-paraview
08f9df3c4432a01610f7d725733e9964255fee9c
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-11-18T16:50:34.000Z
2022-01-21T13:31:47.000Z
ThirdParty/QtTesting/vtkqttesting/pqWidgetEventPlayer.cxx
pierre-guillou/ttk-paraview
08f9df3c4432a01610f7d725733e9964255fee9c
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-10-02T10:14:35.000Z
2022-03-10T07:50:22.000Z
/*========================================================================= Program: ParaView Module: pqWidgetEventPlayer.cxx Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the...
30.558333
96
0.625307
[ "object" ]
3c4e3dd8cb881239fc285cabe096d01bed980a80
5,115
cpp
C++
rhea-android/rhea-atrace/src/main/cpp/third_party/profilo/fastlog/writer/PacketReassembler.cpp
cjztool/btrace
93e768d9cf86cb2aa40965dec06e31f6cb499339
[ "Apache-2.0" ]
1,466
2018-03-13T17:13:49.000Z
2022-03-31T07:08:51.000Z
rhea-android/rhea-atrace/src/main/cpp/third_party/profilo/fastlog/writer/PacketReassembler.cpp
cjztool/btrace
93e768d9cf86cb2aa40965dec06e31f6cb499339
[ "Apache-2.0" ]
101
2018-03-13T18:43:34.000Z
2022-03-15T00:44:52.000Z
rhea-android/rhea-atrace/src/main/cpp/third_party/profilo/fastlog/writer/PacketReassembler.cpp
cjztool/btrace
93e768d9cf86cb2aa40965dec06e31f6cb499339
[ "Apache-2.0" ]
160
2018-03-13T18:08:21.000Z
2022-03-14T00:46:34.000Z
/** * Copyright 2004-present, Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
30.628743
80
0.666276
[ "object" ]
3c5c8f35d9cbd72696f028b6e0fac679246094bf
7,462
cc
C++
orttraining/orttraining/training_ops/rocm/nn/batch_norm_internal.cc
almiliMSFT/onnxruntime
c002dc86a364852859ca9642698fcfc5edf22c9d
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
orttraining/orttraining/training_ops/rocm/nn/batch_norm_internal.cc
almiliMSFT/onnxruntime
c002dc86a364852859ca9642698fcfc5edf22c9d
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
orttraining/orttraining/training_ops/rocm/nn/batch_norm_internal.cc
almiliMSFT/onnxruntime
c002dc86a364852859ca9642698fcfc5edf22c9d
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "batch_norm_internal.h" #include "core/providers/common.h" #include "core/providers/rocm/miopen_common.h" #include "core/providers/cpu/nn/batch_norm_helper.h" #include "core/providers/rocm/math/unary_elementwise_op...
44.416667
116
0.686679
[ "shape", "vector" ]
3c5df15b610821b55d3d9b73795b11fa721c250f
5,558
cpp
C++
test/utils/linear_algebra_smw_inversion_test.cpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
17
2015-07-03T06:53:05.000Z
2021-05-15T20:55:12.000Z
test/utils/linear_algebra_smw_inversion_test.cpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
3
2015-02-20T12:48:17.000Z
2019-12-18T08:45:13.000Z
test/utils/linear_algebra_smw_inversion_test.cpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
15
2015-02-20T11:34:14.000Z
2021-05-15T20:55:13.000Z
/* * This is part of the fl library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2015 Max Planck Society, * Autonomous Motion Department, * Institute for Intelligent Systems * * This Source Code Form is subject to the terms of the MIT License (MIT). ...
33.281437
84
0.6353
[ "vector" ]
3c60644d707c730e41b77d3301318a6d23fd19f6
6,084
cc
C++
onnxruntime/contrib_ops/cuda/math/fft_ops.cc
ivanst0/onnxruntime
d52b9aca680829715b69e2f8cd544a34d91bb526
[ "MIT" ]
2
2021-07-24T01:13:36.000Z
2021-11-17T11:03:52.000Z
onnxruntime/contrib_ops/cuda/math/fft_ops.cc
ivanst0/onnxruntime
d52b9aca680829715b69e2f8cd544a34d91bb526
[ "MIT" ]
17
2020-07-21T11:13:27.000Z
2022-03-27T02:37:05.000Z
onnxruntime/contrib_ops/cuda/math/fft_ops.cc
Surfndez/onnxruntime
9d748afff19e9604a00632d66b97159b917dabb2
[ "MIT" ]
2
2021-01-29T09:36:51.000Z
2021-02-01T13:42:40.000Z
/*All contributions by Facebook : Copyright(c) 2016 Facebook Inc. ==============================================================================*/ /* Modifications Copyright (c) Microsoft. */ #include "fft_ops.h" #include "fft_ops_impl.h" namespace onnxruntime { namespace contrib { namespace cuda { namespace { void S...
38.751592
141
0.592702
[ "shape", "vector" ]
3c612b93eadd9536166320b8f5cbe2abda07e158
5,005
cpp
C++
src/BayesFilters/src/WhiteNoiseAcceleration.cpp
mfkiwl/bayes-filters-lib
8baabba1897bcc5634619fbc048bb5ab17a742da
[ "BSD-3-Clause" ]
50
2017-04-12T09:02:54.000Z
2022-02-15T20:01:35.000Z
src/BayesFilters/src/WhiteNoiseAcceleration.cpp
xEnVrE/bayes-filters-lib
8baabba1897bcc5634619fbc048bb5ab17a742da
[ "BSD-3-Clause" ]
79
2017-11-07T07:32:14.000Z
2021-06-20T17:12:08.000Z
src/BayesFilters/src/WhiteNoiseAcceleration.cpp
xEnVrE/bayes-filters-lib
8baabba1897bcc5634619fbc048bb5ab17a742da
[ "BSD-3-Clause" ]
23
2017-05-07T01:47:39.000Z
2022-02-28T10:15:59.000Z
/* * Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT) * * This software may be modified and distributed under the terms of the * BSD 3-Clause license. See the accompanying LICENSE file for details. */ #include <BayesFilters/WhiteNoiseAcceleration.h> #include <BayesFilters/utils.h> #include <cmath> #...
23.947368
179
0.595804
[ "model" ]
3c68b61772078a2b19430026ec6ed7c5cf53decd
969
hpp
C++
sources/modules/levelset/InitialConditions/BasicShapes/ShapeRectangleByCenter_impl.hpp
mdoshi96/beacls
860426ed1336d9539dea195987efcdd8a8276a1c
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
30
2017-12-17T22:57:50.000Z
2022-01-30T17:06:34.000Z
sources/modules/levelset/InitialConditions/BasicShapes/ShapeRectangleByCenter_impl.hpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
2
2017-03-24T06:18:16.000Z
2017-04-04T16:16:06.000Z
sources/modules/levelset/InitialConditions/BasicShapes/ShapeRectangleByCenter_impl.hpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
8
2018-07-06T01:47:21.000Z
2021-07-23T15:50:34.000Z
#ifndef __ShapeRectangleByCenter_impl_hpp__ #define __ShapeRectangleByCenter_impl_hpp__ #include <cstdint> #include <vector> #include <typedef.hpp> namespace levelset { class HJI_Grid; class ShapeRectangleByCenter_impl { private: beacls::FloatVec center; beacls::FloatVec widths; public: ShapeRectangleByCen...
23.634146
81
0.758514
[ "vector" ]
3c6b189b4a22428bd9a34f278e890e810bd9bfec
6,212
cpp
C++
external/Coin3D/src/vrml97/IndexedShape.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
7
2018-03-07T06:51:41.000Z
2020-05-22T08:32:54.000Z
external/Coin3D/src/vrml97/IndexedShape.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
1
2019-03-06T08:59:24.000Z
2019-03-06T08:59:24.000Z
external/Coin3D/src/vrml97/IndexedShape.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
8
2018-05-02T20:16:07.000Z
2021-06-10T03:06:04.000Z
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
31.532995
88
0.662106
[ "geometry" ]
3c6bf47616419d88b55c38e5ba543624adebf8b1
909
cpp
C++
0101-0200/0150.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
0101-0200/0150.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
0101-0200/0150.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
class Solution { public: int evalRPN(vector<string>& tokens) { vector<int> stk; for (auto && token : tokens) { if (token == "+") { int cur = stk.back(); stk.pop_back(); stk.back() += cur; } else if (to...
26.735294
54
0.320132
[ "vector" ]
3c6c46fee6f0f97c11f4b624624eca6fac0e3ceb
478
cpp
C++
UCF Camp/2017 Contest No. 7/recycle.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
UCF Camp/2017 Contest No. 7/recycle.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
UCF Camp/2017 Contest No. 7/recycle.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
#define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <set> #include <stack> #include <map> #include <string.h> #include <math.h> using namespace std; int main(){ int kase; cin >> kase; for(int kk = 1; kk <=...
19.12
58
0.569038
[ "vector" ]
3c6f3c524c91b97cd46ba050313d7068a5ffb2e8
3,539
cpp
C++
Source/TitanSoul/Damage/HeroDamageExcCalculation.cpp
Jiaqidesune/ActionRPG_ue4
9432ae58e957aec0b4dfc5c35af872c3676d79db
[ "MIT" ]
2
2021-09-25T19:34:12.000Z
2021-09-29T10:52:55.000Z
Source/TitanSoul/Damage/HeroDamageExcCalculation.cpp
Jiaqidesune/ActionRPG_ue4
9432ae58e957aec0b4dfc5c35af872c3676d79db
[ "MIT" ]
null
null
null
Source/TitanSoul/Damage/HeroDamageExcCalculation.cpp
Jiaqidesune/ActionRPG_ue4
9432ae58e957aec0b4dfc5c35af872c3676d79db
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "HeroDamageExcCalculation.h" #include "TitanSoul/TitanSoulCharacter.h" #include "TitanSoul/Datas/DamageDataAsset.h" #include "TitanSoul/Datas/HealthDataAsset.h" #include "TitanSoul/Component/HeroHealthComponent.h" #include "TitanS...
37.252632
165
0.810116
[ "object" ]
3c6faa53bd92d0350865bf131f09b8b3b832ad1e
29,224
cpp
C++
src/common/hsx.cpp
urbanslug/mashz
31ba59d398a2ddbb5005208d08c89cba24d03627
[ "MIT" ]
null
null
null
src/common/hsx.cpp
urbanslug/mashz
31ba59d398a2ddbb5005208d08c89cba24d03627
[ "MIT" ]
null
null
null
src/common/hsx.cpp
urbanslug/mashz
31ba59d398a2ddbb5005208d08c89cba24d03627
[ "MIT" ]
null
null
null
/* HSX Hashed Sequence Index Spec: http://www.bx.psu.edu/miller_lab/dist/README.lastz-1.02.00/hsx_format.html Lastz documentation http://www.bx.psu.edu/~rsharris/lastz/README.lastz-1.04.03.html#fmt_hsx */ #include <iostream> #include <string> #include <string.h> #include <fstream> #include <vector> #include <valarr...
34.300469
131
0.630749
[ "object", "vector", "transform" ]
3c7ad535cb187c7586924dbc920e5b3534647d03
22,956
cpp
C++
Engine/Source/Runtime/Renderer/Private/CompositionLighting/CompositionLighting.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Renderer/Private/CompositionLighting/CompositionLighting.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Renderer/Private/CompositionLighting/CompositionLighting.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*============================================================================= CompositionLighting.cpp: The center for all deferred lighting activities. =============================================================================*/ #include "CompositionL...
39.785095
212
0.776311
[ "render", "object" ]
3c825b3a4686c40fe9310775340cd5cf81e045f2
22,776
cc
C++
Hardware/verilog/cdfg.cc
COAOY/MIPSIntegrate_beta
fa217f7965eb87aa9640c8bbf57d21b0292b670c
[ "MIT" ]
null
null
null
Hardware/verilog/cdfg.cc
COAOY/MIPSIntegrate_beta
fa217f7965eb87aa9640c8bbf57d21b0292b670c
[ "MIT" ]
6
2021-03-19T00:17:27.000Z
2022-03-11T23:46:08.000Z
Hardware/verilog/cdfg.cc
COAOY/MIPSIntegrate_beta
fa217f7965eb87aa9640c8bbf57d21b0292b670c
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <map> #include <algorithm> #include <cstddef> #include "kernel/yosys.h" #include "kernel/celltypes.h" #include "kernel/sigtools.h" #include "kernel/satgen.h" USING_YOSYS_NAMESPACE using namespace std; PRIVATE_NAMESPACE_BEGIN typedef tuple<SigBit, RTLIL::Const> Const...
33.842496
153
0.556419
[ "vector", "model" ]
3c82b703910dcbd33fefc8ef4742f806b2be1c20
5,301
cpp
C++
src/main/VGMSamp.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
src/main/VGMSamp.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
src/main/VGMSamp.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
/** * VGMTrans (c) - 2002-2021 * Licensed under the zlib license * See the included LICENSE for more information */ #include "pch.h" #include "VGMSamp.h" #include "VGMSampColl.h" #include "Root.h" // ******* // VGMSamp // ******* DECLARE_MENU(VGMSamp) VGMSamp::VGMSamp(VGMSampColl *sampColl, uint32_t offset, uin...
40.465649
100
0.629127
[ "vector", "transform" ]
3c862e65bb871054eb4cd5d703421f1b820edf12
21,302
cc
C++
components/safe_browsing_db/database_manager_unittest.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
components/safe_browsing_db/database_manager_unittest.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/safe_browsing_db/database_manager_unittest.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/safe_browsing_db/database_manager.h" #include <stddef.h> #include <set> #include <string> #include <vector> #include "base/locatio...
39.375231
80
0.760445
[ "vector" ]
3c883e4ed588e8339aa278b8f0eed0a56dfb6e85
2,213
cpp
C++
src/segment.cpp
smithnote/tool
ea0b631054a9f4dfb264aa1ac443b10a08c6d073
[ "Apache-2.0" ]
2
2020-01-13T07:09:34.000Z
2020-08-10T03:13:04.000Z
src/segment.cpp
smithnote/tool
ea0b631054a9f4dfb264aa1ac443b10a08c6d073
[ "Apache-2.0" ]
null
null
null
src/segment.cpp
smithnote/tool
ea0b631054a9f4dfb264aa1ac443b10a08c6d073
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 smithemail@163.com. All rights reserved. // Author:smithemail@163.com // Time:2019-10-19 #include "segment.h" namespace tool { bool Segment::segUnigram(const std::string &sentence, std::vector<std::string> &unigram_vec) { unigram_vec.clear(); for (size_t i = 0; ...
30.315068
68
0.505197
[ "vector" ]
3c8eda2a77680a1e1a15358cc754454d060680bb
3,606
cpp
C++
osu!trainer/src/core/GameplayLayer.cpp
cody-bui/osu--aim-trainer
7525bf271cf565bf83795a9178e32319c8d06629
[ "MIT" ]
1
2019-12-29T08:14:42.000Z
2019-12-29T08:14:42.000Z
osu!trainer/src/core/GameplayLayer.cpp
cody-bui/osu-aim-trainer
7525bf271cf565bf83795a9178e32319c8d06629
[ "MIT" ]
2
2020-02-05T03:57:54.000Z
2020-02-05T11:19:52.000Z
osu!trainer/src/core/GameplayLayer.cpp
cody-bui/Echo
7525bf271cf565bf83795a9178e32319c8d06629
[ "MIT" ]
null
null
null
#include "GameplayLayer.h" #include <components/OsuScoring.h> #include <components/circle/CircleParser.h> #include <components/slider/SliderParser.h> #include <OsuSettings.h> OsuTrainer::GameplayLayer::GameplayLayer() : Layer("gameplay layer"), mouseX(0), mouseY(0) { LOG_init("gameplay layer"); // new s...
30.302521
139
0.674709
[ "render", "object" ]
3ca963dc07f3ae16d8e178fbaf8f6695d5c353bb
7,981
cpp
C++
TemplePlus/python/python_integration_d20_action.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
TemplePlus/python/python_integration_d20_action.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
TemplePlus/python/python_integration_d20_action.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "python_integration_d20_action.h" #include <gamesystems/gamesystems.h> #include <gamesystems/objects/objsystem.h> #include "python_object.h" #include "python/python_integration_spells.h" #include <pybind11/embed.h> #include <pybind11/cast.h> #include "d20.h" #include "action_sequence.h" #...
30.231061
136
0.748653
[ "object", "vector" ]
3caf9a7bf5aa9ba62591ad444a981648e5049581
3,777
cpp
C++
Engine/Component_Canvas.cpp
carlosredolar/R-Engine
4d62a6f0da518322c9f66b999bdce8369aec60fe
[ "MIT" ]
null
null
null
Engine/Component_Canvas.cpp
carlosredolar/R-Engine
4d62a6f0da518322c9f66b999bdce8369aec60fe
[ "MIT" ]
null
null
null
Engine/Component_Canvas.cpp
carlosredolar/R-Engine
4d62a6f0da518322c9f66b999bdce8369aec60fe
[ "MIT" ]
null
null
null
#include "Component_Canvas.h" #include "GameObject.h" #include "Component_Transform.h" #include "Component_Camera.h" #include "Component_Graphic.h" #include "Component_CanvasRenderer.h" #include "ModuleJson.h" #include "Libs/Glew/include/glew.h" #include "Libs/ImGui/imgui.h" #include "Application.h" #include "ModuleGui...
28.613636
120
0.739211
[ "transform" ]
3cb11af28c0eb05fdc3de8b81a05dec6a5517505
3,032
cpp
C++
lib/InlineFuncWithSingleCallSitePass.cpp
jeongjoonyoo/google_CLSPV
c0cf41c4ecb88768665a9f0e18a2236115064267
[ "Apache-2.0" ]
null
null
null
lib/InlineFuncWithSingleCallSitePass.cpp
jeongjoonyoo/google_CLSPV
c0cf41c4ecb88768665a9f0e18a2236115064267
[ "Apache-2.0" ]
null
null
null
lib/InlineFuncWithSingleCallSitePass.cpp
jeongjoonyoo/google_CLSPV
c0cf41c4ecb88768665a9f0e18a2236115064267
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Clspv 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 app...
27.315315
78
0.700198
[ "vector" ]
3cb62ac29227cf3e72f1f906795865556e808f1c
2,742
cpp
C++
src/core/techtree.cpp
awlck/stellaris-stat-viewer
454d0286b07bcdf2b1b519d6a62ca9c569abc468
[ "Apache-2.0" ]
2
2019-05-28T13:43:33.000Z
2019-06-06T22:08:55.000Z
src/core/techtree.cpp
awlck/stellaris-stat-viewer
454d0286b07bcdf2b1b519d6a62ca9c569abc468
[ "Apache-2.0" ]
8
2019-03-19T11:44:46.000Z
2019-06-03T11:43:07.000Z
src/core/techtree.cpp
awlck/stellaris-stat-viewer
454d0286b07bcdf2b1b519d6a62ca9c569abc468
[ "Apache-2.0" ]
1
2020-03-08T21:02:35.000Z
2020-03-08T21:02:35.000Z
/* techtree.cpp: Writing dot files from technologies * * Copyright 2019 Adrian "ArdiMaster" Welcker * * 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/licen...
30.131868
121
0.656455
[ "shape" ]
3cbd0d9f2ce0dab046b5aae4b4dee3908db4b972
2,104
cpp
C++
test/optimizer/operator_test.cpp
phisiart/peloton
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
1
2017-04-17T15:19:36.000Z
2017-04-17T15:19:36.000Z
test/optimizer/operator_test.cpp
phisiart/peloton
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
5
2017-04-23T17:16:14.000Z
2017-04-25T03:14:16.000Z
test/optimizer/operator_test.cpp
phisiart/peloton-p3
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include "common/harness.h" #define private public #include "optimizer/operators.h" #include "expression/comparison_expression.h" #include "expression/tuple_value_expression.h" namespace peloton { namespace test { using namespace optimizer; class OperatorTests : public PelotonTest {}; // TOD...
30.057143
89
0.654468
[ "vector" ]
3cc2775c11815db59682621649b48fa6c61adcbd
14,894
hpp
C++
user_behavior/dovetail/include/dovetail.hpp
RWails/tempest
4e13d9e56f24e46db8f3e172d0be52f335a5e906
[ "CC0-1.0" ]
2
2018-07-29T04:10:01.000Z
2019-08-15T11:09:29.000Z
user_behavior/dovetail/include/dovetail.hpp
RWails/tempest
4e13d9e56f24e46db8f3e172d0be52f335a5e906
[ "CC0-1.0" ]
null
null
null
user_behavior/dovetail/include/dovetail.hpp
RWails/tempest
4e13d9e56f24e46db8f3e172d0be52f335a5e906
[ "CC0-1.0" ]
1
2018-10-19T00:09:59.000Z
2018-10-19T00:09:59.000Z
#ifndef DOVETAIL_HPP_ #define DOVETAIL_HPP_ #include <cassert> #include <cmath> #include <cstddef> #include <algorithm> #include <complex> #include <functional> #include <iterator> #include <map> #include <set> #include <unordered_map> #include <vector> #include <syslog.h> #include <tbb/concurrent_unordered_map.h> #i...
31.961373
79
0.586746
[ "vector" ]
3cc4e7254634a5e4a2bbff2d6b5458445da3123a
6,148
cc
C++
tensorflow/lite/toco/graph_transformations/tests/unpack_quantize_test.cc
yage99/tensorflow
c7fa71b32a3635eb25596ae80d007b41007769c4
[ "Apache-2.0" ]
190,993
2015-11-09T13:17:30.000Z
2022-03-31T23:05:27.000Z
tensorflow/lite/toco/graph_transformations/tests/unpack_quantize_test.cc
sseung0703/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
[ "Apache-2.0" ]
48,461
2015-11-09T14:21:11.000Z
2022-03-31T23:17:33.000Z
tensorflow/lite/toco/graph_transformations/tests/unpack_quantize_test.cc
sseung0703/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
[ "Apache-2.0" ]
104,981
2015-11-09T13:40:17.000Z
2022-03-31T19:51:54.000Z
/* Copyright 2019 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...
42.993007
80
0.723813
[ "shape", "vector", "model" ]
3cd05845c353253fc3e829a86c2293be5a7f3edc
22,241
cc
C++
test/shared_test/test_ortops_strings.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
59
2021-04-29T07:39:42.000Z
2022-03-29T21:12:05.000Z
test/shared_test/test_ortops_strings.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
45
2021-05-12T08:32:58.000Z
2022-03-29T21:11:59.000Z
test/shared_test/test_ortops_strings.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
18
2021-05-10T10:15:46.000Z
2022-03-22T10:46:36.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <filesystem> #include "gtest/gtest.h" #include "ocos.h" #include "test_kernel.hpp" #include "text/string_lower.hpp" TEST(string_operator, test_string_lower) { auto ort_env = std::make_unique<Ort::Env>(ORT_LOGG...
36.70132
119
0.700508
[ "vector" ]
3cd0ebccf503935f5870a771f81b9a389496b877
3,218
cpp
C++
RayCast/ProjectionPlane.cpp
stefanos-86/RayGun
1e1f6b6468eb150f8ac33aa8b18d887dbc09c8c8
[ "MIT" ]
null
null
null
RayCast/ProjectionPlane.cpp
stefanos-86/RayGun
1e1f6b6468eb150f8ac33aa8b18d887dbc09c8c8
[ "MIT" ]
null
null
null
RayCast/ProjectionPlane.cpp
stefanos-86/RayGun
1e1f6b6468eb150f8ac33aa8b18d887dbc09c8c8
[ "MIT" ]
null
null
null
#include "pch.h" #include "ProjectionPlane.h" #include <cmath> #include "PI.h" #include "Sprite.h" #include <iostream> namespace rc { ProjectionPlane::ProjectionPlane(uint16_t h_resolution, uint16_t v_resolution, float FOV_degrees) : columns(h_resolution), x_center(h_resolution / 2), y_center(v_resolution /...
31.861386
148
0.727781
[ "vector" ]
c9f44a4dc66ee0ee939b7bf7a2e0d80bf6480af6
1,800
cpp
C++
src/armnn/memory/BlobMemoryPool.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/memory/BlobMemoryPool.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/memory/BlobMemoryPool.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #include "BlobMemoryPool.hpp" #include <boost/assert.hpp> namespace armnn { BlobMemoryPool::BlobMemoryPool(arm_compute::IAllocator* allocator, std::vector<size_t> blobSizes) : m_Alloc...
20.454545
97
0.651667
[ "vector" ]
c9f7a24bac32f508d7b807749f58c097dd013d21
11,359
cc
C++
RecoJets/JetProducers/plugins/MVAJetPuIdProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoJets/JetProducers/plugins/MVAJetPuIdProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoJets/JetProducers/plugins/MVAJetPuIdProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include <memory> #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/EventS...
33.408824
113
0.595387
[ "vector" ]
c9f7fef07d14d7fa69396227add9d6045db99a22
6,411
cpp
C++
lib/Remote/RemoteProxyDatagram.cpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
180
2017-09-11T00:44:36.000Z
2022-03-25T09:23:47.000Z
lib/Remote/RemoteProxyDatagram.cpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
109
2015-01-19T07:33:38.000Z
2017-08-12T00:29:13.000Z
lib/Remote/RemoteProxyDatagram.cpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
32
2017-09-20T10:47:29.000Z
2022-03-24T06:13:03.000Z
// Copyright (c) 2013-2015 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include "RemoteProxyDatagram.hpp" #include <Pothos/Exception.hpp> #include <Poco/ByteOrder.h> #include <streambuf> #include <iostream> #include <cstdint> #include <algorithm> //min/max #include <cstring> //memcpy /******************************...
31.737624
89
0.580409
[ "object", "vector" ]
c9f94eb9e0a682caa057ba2c804e22868874bd46
1,085
cc
C++
codeforces/549/a.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
codeforces/549/a.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
codeforces/549/a.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using ii = pair<int,int>; using vii = vector<ii>; using vvi = vector<vi>; using ll = long long; using llu = unsigned long long; using vb = vector<bool>; using vvb = vector<vb>; using vd = vector<double>; using vvd = vector<vd>; using vll = vector<ll>...
23.586957
79
0.478341
[ "vector" ]
c9f99c19a61c244f8388843e2d6263be73b91871
42,908
cpp
C++
Project/Dev_class11_handout/Motor2D/j1Object.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/j1Object.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/j1Object.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
#include "j1Object.h" #include "j1Map.h" #include"O_Button.h" #include "O_DoubleButton.h" #include "O_Chest.h" #include "O_ChangeHeight.h" #include "O_Jump.h" #include "O_Door.h" #include "O_Warp.h" #include "O_Diana.h" #include "O_Fall.h" #include "O_ColourBlock.h" #include "j1Collision.h" #include "Character.h" #incl...
31.070239
212
0.69346
[ "render", "object", "vector" ]
c9f9d550393ac541306b959a4993fc10c9cbbf30
61,098
cpp
C++
Source.cpp
admiswalker/Tweet-TOPIX
d7d766a4ccd410a23f2773d5163ebb2da8ab38fe
[ "MIT" ]
1
2017-07-09T03:25:31.000Z
2017-07-09T03:25:31.000Z
Source.cpp
admiswalker/Tweet-TOPIX
d7d766a4ccd410a23f2773d5163ebb2da8ab38fe
[ "MIT" ]
null
null
null
Source.cpp
admiswalker/Tweet-TOPIX
d7d766a4ccd410a23f2773d5163ebb2da8ab38fe
[ "MIT" ]
null
null
null
#define Release // デバッグ用の設定 #include "./DebagMode.h" //デバッグモードに入れるかどうかの定義。(複数ファイルにまたがるため、ヘッダを読み込む。) //[Source.cpp][PostedTweetsDataBase.h][ICHashT.h]から読み込まれている。 #define MemoryLogged_enable //この定義が有効である場合は、[class MemoryLogger* ML = new MemoryLogger();]によって、[ML->MemoryLogged();]のある箇所のメモリ使用量がファイルに書き出される。 #defin...
47.69555
341
0.674523
[ "vector" ]
c9fb09fde8e561ab2d20e74daac7555b40aa0cbf
7,355
cpp
C++
eigen_dmp/eigen_dmp.cpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
eigen_dmp/eigen_dmp.cpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
eigen_dmp/eigen_dmp.cpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
#include <iostream> #include <Eigen/Dense> #include <cgi/logger/logger.hpp> #include <cgi/mosaic/Mosaic.hpp> #include <cgi/mosaic/MosaicUtility.hpp> #include <boost/filesystem/convenience.hpp> static const int nBands = 8; namespace Eigen { typedef Eigen::Matrix<float, nBands, nBands> Matrix8f; typedef Eigen::Mat...
29.302789
122
0.541944
[ "vector" ]
a0024670175e49b47d9198538b433d2f12e0b2ab
7,564
cpp
C++
delegate/mvdelegatevote.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
22
2018-08-17T07:05:56.000Z
2019-09-16T09:22:32.000Z
delegate/mvdelegatevote.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
23
2018-08-18T11:09:42.000Z
2019-04-22T10:02:02.000Z
delegate/mvdelegatevote.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
13
2018-08-17T01:12:58.000Z
2019-09-16T09:05:31.000Z
// Copyright (c) 2017-2019 The Multiverse developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "mvdelegatevote.h" #include "crypto.h" using namespace std; using namespace walleve; using namespace multiverse::...
29.546875
120
0.625595
[ "vector" ]
a00331982ab8e9765fd04fcf3595e38e4e8b4f46
1,646
hpp
C++
src/axom/slam/examples/tinyHydro/State.hpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
src/axom/slam/examples/tinyHydro/State.hpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
src/axom/slam/examples/tinyHydro/State.hpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2020, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) // State class that holds all the material data. In the // multi-material world, this will mostly be a vector of Part ...
23.855072
79
0.640948
[ "mesh", "vector" ]
a0044d806ad8ee6a0e832bbeddcb7bd56eae8b2a
3,435
cpp
C++
src/transforms/vision/adjust_saturation.cpp
LLNL/LBANN
8bcc5d461e52de70e329d73081ca7eee3e5c580a
[ "Apache-2.0" ]
null
null
null
src/transforms/vision/adjust_saturation.cpp
LLNL/LBANN
8bcc5d461e52de70e329d73081ca7eee3e5c580a
[ "Apache-2.0" ]
null
null
null
src/transforms/vision/adjust_saturation.cpp
LLNL/LBANN
8bcc5d461e52de70e329d73081ca7eee3e5c580a
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2022, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
40.892857
91
0.68064
[ "vector", "transform" ]
a00856138f621825df4a71319675300b09311565
2,549
hpp
C++
include/azuik/io/svg.hpp
abirbasak/tisa
db281d8b9c5e91ce3297abc42e8eb700b305e678
[ "Apache-2.0" ]
null
null
null
include/azuik/io/svg.hpp
abirbasak/tisa
db281d8b9c5e91ce3297abc42e8eb700b305e678
[ "Apache-2.0" ]
null
null
null
include/azuik/io/svg.hpp
abirbasak/tisa
db281d8b9c5e91ce3297abc42e8eb700b305e678
[ "Apache-2.0" ]
null
null
null
#ifndef AZUIK_IO_SVG_HPP #define AZUIK_IO_SVG_HPP #include <iosfwd> //iostream #include <memory> //unique_ptr #include <vector> //vector namespace azuik { namespace io { struct svg { enum class linecap { round, square, butt }; friend std::ostream& operator<<(std::ostream& os, lin...
30.345238
78
0.455865
[ "vector" ]
a010352ba755dce2be69517f4e57d224d7422ac4
4,130
cc
C++
device/u2f/u2f_request.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/u2f/u2f_request.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/u2f/u2f_request.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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 "u2f_request.h" #include "base/bind.h" #include "base/memory/ptr_util.h" #include "base/threading/thread_task_runner_handle.h" #include "device/...
27.718121
79
0.688862
[ "vector" ]
a0131ea852d07cdf055c0381cb2b65f1f98fb2aa
3,327
cpp
C++
examples/range_query/rs_test.cpp
anish-krishnan/PAM
aab06beae89a35ddcbeec02e7b8121d9953f41bd
[ "MIT" ]
75
2018-10-01T23:18:14.000Z
2022-03-29T08:14:11.000Z
examples/range_query/rs_test.cpp
anish-krishnan/PAM
aab06beae89a35ddcbeec02e7b8121d9953f41bd
[ "MIT" ]
3
2019-10-28T10:27:35.000Z
2019-11-27T22:12:36.000Z
examples/range_query/rs_test.cpp
anish-krishnan/PAM
aab06beae89a35ddcbeec02e7b8121d9953f41bd
[ "MIT" ]
18
2018-10-29T21:57:32.000Z
2021-11-08T01:57:22.000Z
/* Based on papers: PAM: Parallel Augmented maps Yihan Sun, Daniel Ferizovic and Guy Blelloch PPoPP 2018 Parallel Range, Segment and Rectangle Queries with Augmented Maps Yihan Sun and Guy Blelloch arXiv:1803.08621 */ #include <algorithm> #include <iostream> #include <vector> #include <climits> #include <cstd...
28.681034
108
0.62128
[ "vector" ]
a016d0c1fc1785c469dfb8fdb707cd1b6b8eac53
347
hpp
C++
mat.hpp
Gal25/CPP-Ex1-b
e52664d269a3677d1a9bb13a89b482fd371fb5ee
[ "MIT" ]
null
null
null
mat.hpp
Gal25/CPP-Ex1-b
e52664d269a3677d1a9bb13a89b482fd371fb5ee
[ "MIT" ]
null
null
null
mat.hpp
Gal25/CPP-Ex1-b
e52664d269a3677d1a9bb13a89b482fd371fb5ee
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <iostream> #include <string> #include <vector> using namespace std; namespace ariel{ string mat(int col, int row, char x, char y); //A function that builds the matrix according to the requirements string toString(int r , int c,vector<vector<char>> newMat ); // A function that put...
26.692308
115
0.720461
[ "vector" ]
a0187453975da366a8dc162fb6d15466b28865f7
13,355
cc
C++
components/services/app_service/public/cpp/icon_coalescer.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/services/app_service/public/cpp/icon_coalescer.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/services/app_service/public/cpp/icon_coalescer.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "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 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/services/app_service/public/cpp/icon_coalescer.h" #include <iterator> #include <utility> #include <vector> #include "base/callback....
40.840979
79
0.711419
[ "vector" ]
a01dfeeaea5160501642501b089fac9ffae72697
38,994
cpp
C++
android/jni.cpp
shiqiangguo/beam
f2c36698b67cbc22614272337be6ccc6586d6355
[ "Apache-2.0" ]
null
null
null
android/jni.cpp
shiqiangguo/beam
f2c36698b67cbc22614272337be6ccc6586d6355
[ "Apache-2.0" ]
null
null
null
android/jni.cpp
shiqiangguo/beam
f2c36698b67cbc22614272337be6ccc6586d6355
[ "Apache-2.0" ]
1
2019-02-02T22:39:13.000Z
2019-02-02T22:39:13.000Z
// Copyright 2018 The Beam Team // // 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...
34.295515
161
0.564728
[ "vector" ]
a02186c79eccceb9cfee836fd6efa8eedcf79ae5
7,614
cpp
C++
src/linad99/dveigenv.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
79
2015-01-16T14:14:22.000Z
2022-01-24T06:28:15.000Z
src/linad99/dveigenv.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
172
2015-01-21T01:53:57.000Z
2022-03-29T19:57:31.000Z
src/linad99/dveigenv.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
22
2015-01-15T18:11:54.000Z
2022-01-11T21:47:51.000Z
/** * $Id: dveigenv.cpp 789 2010-10-05 01:01:09Z johnoel $ * * Author: David Fournier * Copyright (c) 2009, 2010 ADMB foundation */ /** \def EIGEN_VECTORS Causes Eigenvectors to be computed */ #define EIGEN_VECTORS #include <fvar.hpp> #ifndef OPT_LIB #include <cassert> #include <climits> #endif #ifdef ISZ...
24.018927
80
0.538876
[ "vector" ]