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
ad999b291d9d5fa0170eb4d551423cd4e29ffe86
7,609
cpp
C++
tests/wifi_standard/wifi_hal/unittest/mock_wpa_ctrl.cpp
openharmony-gitee-mirror/communication_wifi
de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37
[ "Apache-2.0" ]
1
2021-12-03T14:28:10.000Z
2021-12-03T14:28:10.000Z
tests/wifi_standard/wifi_hal/unittest/mock_wpa_ctrl.cpp
openharmony-gitee-mirror/communication_wifi
de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37
[ "Apache-2.0" ]
null
null
null
tests/wifi_standard/wifi_hal/unittest/mock_wpa_ctrl.cpp
openharmony-gitee-mirror/communication_wifi
de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37
[ "Apache-2.0" ]
1
2021-09-13T11:18:00.000Z
2021-09-13T11:18:00.000Z
/* * Copyright (C) 2021 Huawei Device 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 ...
26.512195
108
0.613221
[ "vector" ]
ada0e54bff3611b5d0a4fe080db95ad46cb46db2
30,462
cpp
C++
src/cpp/RoaringBitmap32/RoaringBitmap32_operations.cpp
cigolpl/roaring-node
5ff7381d2ab6ea6883897ff4691e693bcd4fe484
[ "Apache-2.0" ]
1
2021-08-02T10:37:32.000Z
2021-08-02T10:37:32.000Z
src/cpp/RoaringBitmap32/RoaringBitmap32_operations.cpp
cigolpl/roaring-node
5ff7381d2ab6ea6883897ff4691e693bcd4fe484
[ "Apache-2.0" ]
null
null
null
src/cpp/RoaringBitmap32/RoaringBitmap32_operations.cpp
cigolpl/roaring-node
5ff7381d2ab6ea6883897ff4691e693bcd4fe484
[ "Apache-2.0" ]
null
null
null
#include "RoaringBitmap32.h" void RoaringBitmap32::isSubset(const v8::FunctionCallbackInfo<v8::Value> & info) { RoaringBitmap32 * self = v8utils::ObjectWrap::Unwrap<RoaringBitmap32>(info.Holder()); RoaringBitmap32 * other = v8utils::ObjectWrap::TryUnwrap<RoaringBitmap32>(info, 0, RoaringBitmap32::constructorTempla...
39.003841
151
0.695621
[ "object" ]
adcf9de7cd5a2f87b86fc5b1ffa15e97d739fa8c
2,329
cpp
C++
src/LBFGS/test_lbfgs.cpp
microsoft/pSDCA
0933d4dc27c21aafa204ee28b3dd21236a4e8b7a
[ "MIT" ]
null
null
null
src/LBFGS/test_lbfgs.cpp
microsoft/pSDCA
0933d4dc27c21aafa204ee28b3dd21236a4e8b7a
[ "MIT" ]
null
null
null
src/LBFGS/test_lbfgs.cpp
microsoft/pSDCA
0933d4dc27c21aafa204ee28b3dd21236a4e8b7a
[ "MIT" ]
2
2020-09-04T04:31:36.000Z
2021-11-10T11:28:01.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include<iostream> //#include<functional> #include "utils.h" #include "randalgms.h" #include "lbfgs_omp.h" using namespace std; using namespace distropt; int main_test_lbfgs(int argc, char* argv[]) //int main(int argc, char* ar...
31.472973
112
0.590812
[ "vector" ]
add84b3d2b6b29fa950b6e3d85d215123467124a
45,081
cxx
C++
main/sw/source/core/objectpositioning/anchoredobjectposition.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/core/objectpositioning/anchoredobjectposition.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/core/objectpositioning/anchoredobjectposition.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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...
39.3034
137
0.51982
[ "object" ]
addce405815b1bdc090b364c34c80d0eab03987b
3,696
hh
C++
include/sot/torque_control/torque-offset-estimator.hh
nim65s/sot-torque-control
0277baa065e6addf16df804676d47597cf1b4b06
[ "BSD-2-Clause" ]
6
2017-11-01T20:14:53.000Z
2020-04-03T04:51:07.000Z
include/sot/torque_control/torque-offset-estimator.hh
nim65s/sot-torque-control
0277baa065e6addf16df804676d47597cf1b4b06
[ "BSD-2-Clause" ]
52
2017-03-31T21:24:38.000Z
2021-11-03T08:27:46.000Z
include/sot/torque_control/torque-offset-estimator.hh
nim65s/sot-torque-control
0277baa065e6addf16df804676d47597cf1b4b06
[ "BSD-2-Clause" ]
14
2017-04-06T20:03:27.000Z
2020-07-28T14:20:42.000Z
/* * Copyright 2014-2017, Andrea Del Prete, Rohan Budhiraja LAAS-CNRS * */ #ifndef __sot_torque_control_TorqueOffsetEstimator_H__ #define __sot_torque_control_TorqueOffsetEstimator_H__ /* --------------------------------------------------------------------- */ /* --- API --------------------------------------------...
33.908257
107
0.669372
[ "geometry", "vector", "model" ]
ade0712e700331d15d7d980091caf5944b8f0dee
1,871
cpp
C++
TialVFS/src/Driver.cpp
mplucinski/TialVFS
79c7e62ea211cadeb2859f900e1383f14c5a37c5
[ "BSD-2-Clause" ]
null
null
null
TialVFS/src/Driver.cpp
mplucinski/TialVFS
79c7e62ea211cadeb2859f900e1383f14c5a37c5
[ "BSD-2-Clause" ]
null
null
null
TialVFS/src/Driver.cpp
mplucinski/TialVFS
79c7e62ea211cadeb2859f900e1383f14c5a37c5
[ "BSD-2-Clause" ]
null
null
null
#include "Driver.hpp" #include "Directory.hpp" #include "Exception.hpp" #include <TialUtility/TialUtility.hpp> #define TIAL_MODULE "Tial::VFS::Driver" void Tial::VFS::Driver::mark(const Path &path, std::function<void(const std::shared_ptr<Object> &)> function) { assert(!path.empty()); assert(path[0] == "/"); for(...
28.784615
120
0.692143
[ "object" ]
ade424c941c993bce9d4ea8e5943eb55817fe97f
1,305
cpp
C++
2. Рекуррентные соотношения/0.3. Порядок перемножения матриц #3537/[OK]217069.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
19
2018-05-19T16:37:14.000Z
2022-03-23T20:13:43.000Z
2. Рекуррентные соотношения/0.3. Порядок перемножения матриц #3537/[OK]217069.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
6
2020-05-07T21:06:48.000Z
2020-06-05T17:52:57.000Z
2. Рекуррентные соотношения/0.3. Порядок перемножения матриц #3537/[OK]217069.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
31
2019-03-01T21:41:38.000Z
2022-03-27T17:56:39.000Z
#include <iostream> #include <fstream> #include <vector> int main() { std::ifstream in("input.txt"); size_t size; in >> size; std::vector<std::pair<size_t, size_t>> matrices; matrices.reserve(size); for (size_t i = 0; i < size; ++i) { size_t first, second; in >> first >> second;...
34.342105
91
0.56092
[ "vector" ]
ade9402114ba4b1ea460f9d0709868566c806cce
936
cc
C++
CSE-1305/lab-exam/program_1.cc
imrande/university-courses
e10af95d1e6bfc2f0a0e467e732f9b39bf8d99c1
[ "MIT" ]
null
null
null
CSE-1305/lab-exam/program_1.cc
imrande/university-courses
e10af95d1e6bfc2f0a0e467e732f9b39bf8d99c1
[ "MIT" ]
null
null
null
CSE-1305/lab-exam/program_1.cc
imrande/university-courses
e10af95d1e6bfc2f0a0e467e732f9b39bf8d99c1
[ "MIT" ]
null
null
null
/* Multilevel Inheritance => when the process of single inheritance is extended up to minimum 2 levels, the concept is known as Multilevel Inheritance... */ // write a c++ program to add 2 integers multilevel inheritance #include <iostream> using namespace std; class A{ // Base class protected: // access...
24
125
0.63141
[ "object" ]
bc01b3247a555568821e19cfcceba21af39aafcd
1,410
cpp
C++
simulated/seven/pc.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
simulated/seven/pc.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
simulated/seven/pc.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; void kmp_table(string &w, vector<int> &t) { int pos = 1; int cnd = 0; t[0] = -1; while (pos < w.size()) { if (w[pos] == w[cnd]) t[pos] = t[cnd]; else { t[pos] = cnd; cnd = t[cnd]; while (cnd >= 0 && w[pos] != w[cnd])...
12.26087
52
0.474468
[ "vector" ]
bc098280eeb9181f9a5934b387568cc588785352
25,714
cpp
C++
source/Ragdoll.cpp
Slin/Project-Sacrifice
805b895b819dd980cf2e73c88c9c8dd1c1f42068
[ "MIT" ]
1
2018-01-01T15:17:21.000Z
2018-01-01T15:17:21.000Z
source/Ragdoll.cpp
Slin/Project-Sacrifice
805b895b819dd980cf2e73c88c9c8dd1c1f42068
[ "MIT" ]
null
null
null
source/Ragdoll.cpp
Slin/Project-Sacrifice
805b895b819dd980cf2e73c88c9c8dd1c1f42068
[ "MIT" ]
null
null
null
// // Created by gclmini-06 on 07.11.2015. // #include "Ragdoll.h" #include <iostream> namespace PS { Ragdoll::Ragdoll(sf::Vector2f vec){ float density=2.0f; float friction = 0.3f; position=vec; //position.x =600;// rand() % World::GetInstance()->GetWindow()->getSize().x/2+100; //position.y = rand() % 100...
40.304075
169
0.76612
[ "shape" ]
bc0db67330adb1af22725cb823398fdc5375196f
18,120
cpp
C++
thrift/gen-cpp/common_types.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
thrift/gen-cpp/common_types.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
thrift/gen-cpp/common_types.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
/** * Autogenerated by Thrift Compiler (0.10.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "common_types.h" #include <algorithm> #include <ostream> #include <thrift/TToString.h> int _kCommandTypeValues[] = { CommandType::Unknown, CommandType::Nothing, ...
26.686303
188
0.624779
[ "vector" ]
bc0ef24deb84c71bae3e7bbcbaae406aad5c651d
9,442
hpp
C++
inference-engine/tests_deprecated/behavior/shared_tests/plugin_tests/behavior_test_plugin_layout.hpp
anton-potapov/openvino
84119afe9a8c965e0a0cd920fff53aee67b05108
[ "Apache-2.0" ]
1
2020-06-21T09:51:42.000Z
2020-06-21T09:51:42.000Z
inference-engine/tests_deprecated/behavior/shared_tests/plugin_tests/behavior_test_plugin_layout.hpp
anton-potapov/openvino
84119afe9a8c965e0a0cd920fff53aee67b05108
[ "Apache-2.0" ]
4
2021-04-01T08:29:48.000Z
2021-08-30T16:12:52.000Z
inference-engine/tests_deprecated/behavior/shared_tests/plugin_tests/behavior_test_plugin_layout.hpp
anton-potapov/openvino
84119afe9a8c965e0a0cd920fff53aee67b05108
[ "Apache-2.0" ]
3
2021-03-09T08:27:29.000Z
2021-04-07T04:58:54.000Z
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "behavior_test_plugin.h" #include "precision_utils.h" #include "common_test_utils/xml_net_builder/xml_net_builder.hpp" using namespace std; using namespace CommonTestUtils; using namespace InferenceEngine; using namespace...
34.713235
168
0.617136
[ "vector", "model", "3d" ]
bc2095321d4569ba0ba782f90e8278e82a78a08d
450
cpp
C++
src/cpp/interviewbit/graph/some/a.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
1
2021-02-08T14:50:50.000Z
2021-02-08T14:50:50.000Z
src/cpp/interviewbit/graph/some/a.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
src/cpp/interviewbit/graph/some/a.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include <utility> #include <vector> #include <string> class Employee { public: std::string *name; const unsigned int employeeNum; unsigned int lineManagerEmployeeNum; Employee& operator =( Employee&& other) { if (&other == this) return *this; name = std::move(other.name); emp...
19.565217
66
0.735556
[ "vector" ]
bc2e69b54d2cf0fba16f05fdc497bb11da38269f
4,961
cpp
C++
Source/VoxelTerrain/Private/VoxelTerrainPaintTool.cpp
code0100fun/UE4VoxelTerrainEditor
0665ed84f38532eca7bd559c5707b021e5ef36bf
[ "MIT" ]
70
2017-09-23T16:47:54.000Z
2021-10-14T07:00:25.000Z
Source/VoxelTerrain/Private/VoxelTerrainPaintTool.cpp
code0100fun/UE4VoxelTerrainEditor
0665ed84f38532eca7bd559c5707b021e5ef36bf
[ "MIT" ]
1
2019-02-13T19:18:48.000Z
2019-02-13T20:13:21.000Z
Source/VoxelTerrain/Private/VoxelTerrainPaintTool.cpp
code0100fun/UE4VoxelTerrainEditor
0665ed84f38532eca7bd559c5707b021e5ef36bf
[ "MIT" ]
23
2017-11-28T00:05:44.000Z
2021-10-14T07:00:27.000Z
#include "VoxelTerrainPrivatePCH.h" #include "VoxelTerrainPaintTool.h" #include "VoxelTerrainUtils.h" #include "VoxelTerrainActor.h" #include "VoxelTerrainData.h" #include "VoxelTerrainChunkComponent.h" DECLARE_CYCLE_STAT(TEXT("Paint/Tick"), STAT_PaintTick, STATGROUP_VoxelTerrainPaintTool); bool FVoxelTerrainPaintToo...
33.52027
185
0.695827
[ "render" ]
bc3102949133a47e881220fa12d6098023f520e5
880
cpp
C++
Dataset/Leetcode/test/88/81.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/88/81.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/88/81.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: void XXX(vector<int>& nums1, int m, vector<int>& nums2, int n) { int num1_p = 0; int num2_p = 0; int cur_pos = 0; while(num1_p<m && num2_p < n) { if(nums2[num2_p] < nums1[cur_pos]) { vector<int>::iterator it = ...
23.783784
68
0.380682
[ "vector" ]
bc3204e2b3532519f4221e74df184989b2da4773
6,153
hpp
C++
InstructionSets/CachingExecutor.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
674
2016-05-05T18:47:48.000Z
2022-03-30T01:48:53.000Z
InstructionSets/CachingExecutor.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
223
2016-05-11T13:45:11.000Z
2022-03-27T08:20:26.000Z
InstructionSets/CachingExecutor.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
36
2017-11-24T18:07:52.000Z
2022-03-17T23:30:14.000Z
// // CachingExecutor.hpp // Clock Signal // // Created by Thomas Harte on 16/01/2021. // Copyright © 2021 Thomas Harte. All rights reserved. // #ifndef CachingExecutor_hpp #define CachingExecutor_hpp #include "../Numeric/Sizes.hpp" #include <array> #include <cstdint> #include <limits> #include <list> #include <...
30.61194
124
0.719649
[ "object", "vector" ]
bc3bcfbfd5318d88c740858d0cab78aa1fe58ff3
10,718
hxx
C++
include/nifty/graph/agglo/agglomerative_clustering.hxx
konopczynski/nifty
dc02ac60febaabfaf9b2ee5a854bb61436ebdc97
[ "MIT" ]
null
null
null
include/nifty/graph/agglo/agglomerative_clustering.hxx
konopczynski/nifty
dc02ac60febaabfaf9b2ee5a854bb61436ebdc97
[ "MIT" ]
null
null
null
include/nifty/graph/agglo/agglomerative_clustering.hxx
konopczynski/nifty
dc02ac60febaabfaf9b2ee5a854bb61436ebdc97
[ "MIT" ]
1
2018-02-07T09:29:26.000Z
2018-02-07T09:29:26.000Z
#pragma once #include <iostream> #include "nifty/graph/subgraph_mask.hxx" namespace nifty{ namespace graph{ namespace agglo{ // forward declarations template<class AGGLOMERATIVE_CLUSTERING> class AgglomerativeClustering; template<class AGGLOMERATIVE_CLUSTERING> class DendrogramAgglomerativeClusteringVisitor{ p...
33.704403
103
0.658332
[ "vector" ]
bc3d8e453c0afb36f51aaa39a87208957da4c660
99,542
cpp
C++
thirdparty/moab/itaps/imesh/MOAB_iMeshP_unit_tests.cpp
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
thirdparty/moab/itaps/imesh/MOAB_iMeshP_unit_tests.cpp
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
thirdparty/moab/itaps/imesh/MOAB_iMeshP_unit_tests.cpp
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
#include "iMeshP.h" #include "moab_mpi.h" #include <iostream> #include <algorithm> #include <vector> #include <sstream> #include <assert.h> #include <math.h> #include <map> #include <string.h> #include <stdio.h> // remove() #if !defined(_MSC_VER) && !defined(__MINGW32__) #include <unistd.h> #endif #define STRINGIFY_(...
33.617697
144
0.614936
[ "mesh", "vector" ]
a4b8f315ef14a83560be4a4a3f2c92aedd090922
5,183
cc
C++
source/lib/hardware/parsing/Samples.cc
wuan/bo-tracker
27fae661bd19f48b370084c5fa2a1deb897fdc24
[ "MIT" ]
null
null
null
source/lib/hardware/parsing/Samples.cc
wuan/bo-tracker
27fae661bd19f48b370084c5fa2a1deb897fdc24
[ "MIT" ]
1
2015-03-04T21:01:54.000Z
2015-03-04T21:02:47.000Z
source/lib/hardware/parsing/Samples.cc
wuan/bo-tracker
27fae661bd19f48b370084c5fa2a1deb897fdc24
[ "MIT" ]
null
null
null
#include "data/Format.h" #include "hardware/parsing/Samples.h" #include "exception/Base.h" namespace blitzortung { namespace hardware { namespace parsing { Samples::Samples(const std::vector<std::string>& fields, const hardware::gps::Base& gps) : Base(), waveform_(), rawData_(), bitsPerSample_(0), lo...
34.785235
191
0.616438
[ "vector" ]
a4be145b7be563f7348bef617020b42286a13940
2,125
cc
C++
tensorflow/compiler/plugin/poplar/driver/tools/popef_util.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
74
2020-07-06T17:11:39.000Z
2022-01-28T06:31:28.000Z
tensorflow/compiler/plugin/poplar/driver/tools/popef_util.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
9
2020-10-13T23:25:29.000Z
2022-02-10T06:54:48.000Z
tensorflow/compiler/plugin/poplar/driver/tools/popef_util.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
12
2020-07-08T07:27:17.000Z
2021-12-27T08:54:27.000Z
/* Copyright 2021 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...
32.19697
80
0.656941
[ "shape", "vector" ]
a4cd9fd4998f2ec2a6ad44663f10d1797a0160d3
768
cpp
C++
tamplate/readLine.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
tamplate/readLine.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
tamplate/readLine.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <algorithm> #include <string> #include <vector> #include <cstring> #include <cstdio> using namespace std; // strtok的用法: // 第一步:初始化 // strtok("this is a demo"," "); // 第二步:得到其它的子字符串 // strtok(NULL," "); // 每执行一次第二步就可以得到一个子字符串,直到返回NULL,表示查找结束。 template <class T> class Array { public: ...
16.695652
65
0.545573
[ "vector" ]
a4d5b094f290612d8687f70ad9f7a7c9c5c2490a
57,416
cpp
C++
sourceCode/various/userSettings.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
sourceCode/various/userSettings.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
sourceCode/various/userSettings.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
#include "confReaderAndWriter.h" #include "simInternal.h" #include "userSettings.h" #include "global.h" #include "threadPool_old.h" #include "tt.h" #include "easyLock.h" #include "vVarious.h" #include "app.h" #include "simFlavor.h" #ifdef SIM_WITH_GUI #include "vDialog.h" #endif #define USER_SETTINGS_FILENAME "usr...
51.540395
265
0.797356
[ "mesh", "object" ]
a4e417a34f5ca99075cee8d528de00bdcfca52f5
2,435
cpp
C++
count-and-say_test.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
16
2018-12-04T16:23:07.000Z
2021-09-21T06:32:04.000Z
count-and-say_test.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
1
2019-08-21T16:20:03.000Z
2019-08-21T16:21:41.000Z
count-and-say_test.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
23
2019-06-21T12:09:57.000Z
2021-09-22T18:03:28.000Z
#include<bits/stdc++.h> using namespace std; #define DEBUG(x) do { std::cout << #x << ": " << x << " "; } while (0) #define DEBUGL(x) do { std::cout << #x << ": " << x << "\n"; } while (0) template<typename T> void print_vector(vector<T> a) { for(auto& i: a) { cout << i << " "; } cout << "\n"; } ...
20.635593
95
0.459548
[ "vector" ]
a4efe269ab3c38fab3d6f0870228aa2c9168ad3b
7,766
hpp
C++
include/codegen/include/Zenject/FactoryArgumentsToChoiceBinder_1.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Zenject/FactoryArgumentsToChoiceBinder_1.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Zenject/FactoryArgumentsToChoiceBinder_1.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:10:42 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: Zenject.FactoryToChoiceBinder`1 #include "Zenject/FactoryToC...
83.505376
604
0.787793
[ "object" ]
a4fe3dafad7cf5470de1945cabca3351ed7bdd40
1,258
cpp
C++
src/nodes/resampler/resampler.cpp
dequis/in-formant
129b9b399c75cdbd834b68f04dabcb1d406af250
[ "Apache-2.0" ]
null
null
null
src/nodes/resampler/resampler.cpp
dequis/in-formant
129b9b399c75cdbd834b68f04dabcb1d406af250
[ "Apache-2.0" ]
null
null
null
src/nodes/resampler/resampler.cpp
dequis/in-formant
129b9b399c75cdbd834b68f04dabcb1d406af250
[ "Apache-2.0" ]
null
null
null
#include "resampler.h" #include <memory> #include <cstring> #include <iostream> using namespace Nodes; Resampler::Resampler(int initialInSampleRate, int outSampleRate) : Node(NodeDescriptor { .inputCount = 1, .inputs = &kNodeIoTypeAudioTime, .outputCount = 1, .outpu...
25.16
81
0.670906
[ "vector" ]
a4fe62be8d29f10beb8d620bcd946de7a66befe8
2,943
cxx
C++
ds/adsi/router/cprov.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/router/cprov.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/router/cprov.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1995 // // File: cprovcf.cxx // // Contents: Windows NT 3.5 Provider Object Class Factory Code // // CADsProviderCF::CreateInstance // // His...
20.296552
102
0.506286
[ "object" ]
35019d104fc24d8003bf3ece7b430d9e5eaf2b74
26,183
cpp
C++
src/mailews/src/MailEwsMsgProtocol.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
17
2016-02-24T15:13:04.000Z
2022-03-31T22:07:20.000Z
src/mailews/src/MailEwsMsgProtocol.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
3
2016-02-24T20:05:09.000Z
2017-04-18T04:23:56.000Z
src/mailews/src/MailEwsMsgProtocol.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
8
2018-06-01T08:32:35.000Z
2021-07-01T01:22:20.000Z
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifdef MOZ_LOGGING #ifndef FORCE_P...
35.287062
154
0.627927
[ "object" ]
350bc9d213ab3042ae3c7b48c4f0a6ea843332f6
2,746
cpp
C++
src/tests/manual_tests/level_set_liquid_solver3_tests.cpp
PavelBlend/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
1,355
2016-05-08T07:29:22.000Z
2022-03-30T13:59:35.000Z
src/tests/manual_tests/level_set_liquid_solver3_tests.cpp
Taiyuan-Zhang/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
208
2016-05-25T19:47:27.000Z
2022-01-17T04:18:29.000Z
src/tests/manual_tests/level_set_liquid_solver3_tests.cpp
Taiyuan-Zhang/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
218
2016-08-23T16:51:10.000Z
2022-03-31T03:55:48.000Z
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <manual_tests.h> #include <jet/array2.h> #include <jet/implicit_surface_set3.h> #include <jet/...
25.90566
74
0.632921
[ "mesh" ]
350d5ca6811d6463b977ca75ae32a2b11edfc21e
3,262
cpp
C++
src/shader.cpp
is3ny/Polycursion
62fdf6b6db13a520aefd57b66bf277975820bcfa
[ "MIT" ]
4
2019-07-06T19:10:26.000Z
2020-07-21T17:28:20.000Z
src/shader.cpp
is3ny/Polycursion
62fdf6b6db13a520aefd57b66bf277975820bcfa
[ "MIT" ]
1
2019-05-12T16:21:25.000Z
2019-05-12T16:21:25.000Z
src/shader.cpp
is3ny/Polycursion
62fdf6b6db13a520aefd57b66bf277975820bcfa
[ "MIT" ]
1
2021-05-14T10:27:44.000Z
2021-05-14T10:27:44.000Z
#include "shader.hpp" #include <iostream> ShaderProgram::ShaderProgram() { id = -1; } ShaderProgram::ShaderProgram(const GLchar *vert_path, const GLchar *frag_path) { loadFromFile(vert_path, frag_path); } int ShaderProgram::loadFromFile(const GLchar *vert_path, const GLchar *frag_path) { auto vert_src = readFile(...
22.496552
83
0.650215
[ "transform" ]
35120feb3b96a891456efbb134ac0de1b75ba5f5
1,466
hpp
C++
cufhe/include/Logic.hpp
virtualsecureplatform/Iyokan-L2
75a33562844dd3d85a111b8a61d65907174a9cdb
[ "Apache-2.0" ]
7
2019-12-22T01:21:13.000Z
2021-08-09T15:31:37.000Z
cufhe/include/Logic.hpp
virtualsecureplatform/Iyokan-L2
75a33562844dd3d85a111b8a61d65907174a9cdb
[ "Apache-2.0" ]
4
2019-12-05T10:41:36.000Z
2020-02-06T05:51:31.000Z
cufhe/include/Logic.hpp
virtualsecureplatform/Iyokan-L2
75a33562844dd3d85a111b8a61d65907174a9cdb
[ "Apache-2.0" ]
null
null
null
#ifndef LOGIC_HPP #define LOGIC_HPP #include <vector> #include <queue> #include <iostream> #include <exception> #include <stdexcept> #include <functional> #include <memory> #include "cufhe_gpu.cuh" #include "cufhe.h" class Logic; class compare_f; using pri_queue = std::priority_queue<Logic *, std::vector<Logic *>, ...
18.098765
80
0.592769
[ "vector" ]
3515cd2f885775245e6949ed884e1d52cde39309
5,884
cpp
C++
QuantLibAddin/qlo/serialization/processor.cpp
txu2014/quantlib
95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec
[ "BSD-3-Clause" ]
null
null
null
QuantLibAddin/qlo/serialization/processor.cpp
txu2014/quantlib
95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec
[ "BSD-3-Clause" ]
null
null
null
QuantLibAddin/qlo/serialization/processor.cpp
txu2014/quantlib
95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec
[ "BSD-3-Clause" ]
1
2022-02-24T04:54:18.000Z
2022-02-24T04:54:18.000Z
/* Copyright (C) 2008 Nazcatech sprl Belgium Copyright (C) 2008 Plamen Neykov This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/or modify it under the terms of th...
44.575758
115
0.67777
[ "object", "vector" ]
3519059df93715b819b2d6af8d88ade830359357
2,658
hpp
C++
include/codegen/include/GlobalNamespace/DelayedPauseTrigger.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/DelayedPauseTrigger.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/DelayedPauseTrigger.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: Zenject.ITickable #include "Zenject/ITickable.hpp" // I...
37.971429
119
0.729872
[ "object" ]
352043786f8318a944ac5d2b1d39a4c06d20548d
1,544
cpp
C++
Hashing/Maths and hashing/Fraction/fraction_to_decimal.cpp
biqar/interviewbit
c2146ccb863689a71a8a153441cecfd83637a6cd
[ "MIT" ]
2
2020-06-02T18:38:05.000Z
2020-07-20T06:29:39.000Z
Hashing/Maths and hashing/Fraction/fraction_to_decimal.cpp
biqar/interviewbit
c2146ccb863689a71a8a153441cecfd83637a6cd
[ "MIT" ]
null
null
null
Hashing/Maths and hashing/Fraction/fraction_to_decimal.cpp
biqar/interviewbit
c2146ccb863689a71a8a153441cecfd83637a6cd
[ "MIT" ]
null
null
null
// // Created by Islam, Abdullah Al Raqibul on 5/27/20. // long long int _abs(long long int a) { return a < 0 ? -a : a; } string num_to_string(long long int a) { ostringstream convert; convert << a; return convert.str(); } string Solution::fractionToDecimal(int numerator, int denominator) { // Do...
23.753846
93
0.521373
[ "vector" ]
353f80052dd151d934bff17af329b7880e85ccd8
10,774
cpp
C++
src/bin/compute_weighted_add.cpp
mehmetoguzderin/vk-zero
7308e9ad8f6cf92b5d0edfedfa693e23c9d9e996
[ "CC0-1.0" ]
1
2021-04-10T06:28:50.000Z
2021-04-10T06:28:50.000Z
src/bin/compute_weighted_add.cpp
mehmetoguzderin/vk-zero
7308e9ad8f6cf92b5d0edfedfa693e23c9d9e996
[ "CC0-1.0" ]
6
2021-04-10T19:35:10.000Z
2021-04-26T13:35:46.000Z
src/bin/compute_weighted_add.cpp
mehmetoguzderin/vk-zero
7308e9ad8f6cf92b5d0edfedfa693e23c9d9e996
[ "CC0-1.0" ]
null
null
null
#include "compute_weighted_add.h" int main(int argc, char *argv[]) { if (auto error = initialize()) { return -1; } auto create_name = "compute_weighted_add"; SDL_Window *window; vkb::Instance instance; VkSurfaceKHR surface; if (auto error = create_window_instance_surface(create_name...
44.155738
80
0.6602
[ "vector" ]
3543d6e79171311264dc1b6c88ccbf18e0db9323
8,914
cpp
C++
Game/playerclass.cpp
Buhyy/PSiO
0ccb380288c6a9f80d7c8089844a5f780f5498c2
[ "MIT" ]
null
null
null
Game/playerclass.cpp
Buhyy/PSiO
0ccb380288c6a9f80d7c8089844a5f780f5498c2
[ "MIT" ]
null
null
null
Game/playerclass.cpp
Buhyy/PSiO
0ccb380288c6a9f80d7c8089844a5f780f5498c2
[ "MIT" ]
null
null
null
#include "playerclass.h" PlayerClass::PlayerClass() { if (!Texture.loadFromFile("Patatek.png")) { std::cout << "Could not load texture" << std::endl; } if (!Texture1.loadFromFile("Patatek2.png")) { std::cout << "Could not load texture" << std::endl; } this->setTexture(Textu...
29.419142
400
0.591205
[ "vector" ]
3544d27d1555e570e3e401975719e0d0f3de8dc9
492
cpp
C++
Leetcode/118. Pascal's Triangle.cpp
Aqiry/Competitive-coding
e4a091a4f79d62319fa95d15631606404853a33e
[ "MIT" ]
null
null
null
Leetcode/118. Pascal's Triangle.cpp
Aqiry/Competitive-coding
e4a091a4f79d62319fa95d15631606404853a33e
[ "MIT" ]
1
2021-11-12T16:31:25.000Z
2021-11-12T16:31:25.000Z
Leetcode/118. Pascal's Triangle.cpp
Aqiry/Competitive-coding
e4a091a4f79d62319fa95d15631606404853a33e
[ "MIT" ]
1
2021-11-12T16:30:02.000Z
2021-11-12T16:30:02.000Z
class Solution { public: vector<vector<int>> generate(int numRows) { vector<vector<int>> res; res.push_back({1}); for(int i = 1 ; i < numRows ; i++) { vector<int> nums; nums.push_back(1); for(int j = 0 ; j < i - 1 ; j++) { ...
23.428571
60
0.414634
[ "vector" ]
354c4c0817fe72af5b7c269ee1ec583678370198
1,816
cxx
C++
source/examples/Example/D.cxx
smcolash/mitochondrion
820bcecf981b6efd934784bd76c423b7bded5ad0
[ "MIT" ]
null
null
null
source/examples/Example/D.cxx
smcolash/mitochondrion
820bcecf981b6efd934784bd76c423b7bded5ad0
[ "MIT" ]
null
null
null
source/examples/Example/D.cxx
smcolash/mitochondrion
820bcecf981b6efd934784bd76c423b7bded5ad0
[ "MIT" ]
null
null
null
// // include system headers // #include <sstream> // // include application headers // #include "D.h" #include "mito/UserEvents.h" #include "mito/Constants.h" // // initial transition code // int D::tInitial (Event *event) { // // done with the event // return (FALSE); } // // transition code fo...
18.16
56
0.564978
[ "object", "model" ]
35543569a8b7603b14ab521e88236536cbd95802
1,205
cpp
C++
Player.cpp
weldisalves/Trabalho-Final
1a2161ee05a3d2bd4fb6644d918b7730105fe490
[ "Apache-2.0" ]
null
null
null
Player.cpp
weldisalves/Trabalho-Final
1a2161ee05a3d2bd4fb6644d918b7730105fe490
[ "Apache-2.0" ]
null
null
null
Player.cpp
weldisalves/Trabalho-Final
1a2161ee05a3d2bd4fb6644d918b7730105fe490
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <math.h> #include <vector> #include "globals.h" #include "Player.h" #include "Elemento.h" #include "Retangulo.h" Player::Player(){ this->x=0; this->y=0; retangulo.setX(-10); retangulo.setY(-10); retangulo.setWidth(20); retangulo.setHeight(20); } Player::~Player(){ } void Player:...
18.828125
61
0.585892
[ "vector" ]
3556e90bf4180200c00fcd2264d1901aa01b9ed0
3,322
cpp
C++
Final/Dataset/B2016_Z3_Z6/student2526.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z3_Z6/student2526.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z3_Z6/student2526.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
/B2016/2017: Zadaća 3, Zadatak 4 #include <iostream> #include <vector> #include <string> #include <stdexcept> #include <set> #include <memory> struct Dijete{ std::string ime; std::shared_ptr<Dijete> sljedeci; }; bool slovo(char c){if(c>='A'&&c<='Z'||c>='a'&&c<='z'||c>='0'&&c<='9') return true; ret...
29.39823
96
0.440698
[ "vector" ]
3564d77d68cee5cce4dfc34362ffce53145759b5
74,863
cpp
C++
private/src/model/IasRoutingZoneWorkerThread.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
5
2018-11-05T07:37:58.000Z
2022-03-04T06:40:09.000Z
private/src/model/IasRoutingZoneWorkerThread.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
null
null
null
private/src/model/IasRoutingZoneWorkerThread.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
7
2018-12-04T07:32:19.000Z
2021-02-17T11:28:28.000Z
/* * Copyright (C) 2018 Intel Corporation.All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file IasRoutingZoneWorkerThread.cpp * @date 2015 * @brief */ #include <string> #include <cmath> #include <boost/algorithm/string/replace.hpp> #include "avbaudiomodules/internal/audio/common/h...
40.554171
224
0.72065
[ "vector", "model" ]
8316fedbf0cab3117c77c7c10274dd534d41d135
1,704
cpp
C++
codejam/09/1C/C.cpp
tuket/challenges
456979020c78dfcae2f8681245000bb64a6aaf38
[ "Unlicense" ]
null
null
null
codejam/09/1C/C.cpp
tuket/challenges
456979020c78dfcae2f8681245000bb64a6aaf38
[ "Unlicense" ]
null
null
null
codejam/09/1C/C.cpp
tuket/challenges
456979020c78dfcae2f8681245000bb64a6aaf38
[ "Unlicense" ]
null
null
null
#include <iostream> #include <set> #include <vector> #include <array> #include <algorithm> using namespace std; struct P { int i, j; bool operator<(const P& o)const { int dif = j-i; int odif = o.j-o.i; return !( dif < odif ? true : dif > odif ? false : ...
22.421053
54
0.342723
[ "vector" ]
83197255535fed084fa15c63515aed92c6eb2ffe
306
cpp
C++
leetcodeContest/216周/1662检查两个字符串数组是否相等.cpp
fireairforce/leetCode-Record
8eab0d58d44e081d908810824d601ef8f14c979f
[ "MIT" ]
74
2019-08-29T13:34:15.000Z
2022-02-17T09:39:53.000Z
leetcodeContest/216周/1662检查两个字符串数组是否相等.cpp
fireairforce/leetCode-Record
8eab0d58d44e081d908810824d601ef8f14c979f
[ "MIT" ]
43
2020-02-18T12:55:36.000Z
2020-03-10T08:41:05.000Z
leetcodeContest/216周/1662检查两个字符串数组是否相等.cpp
fireairforce/leetCode-Record
8eab0d58d44e081d908810824d601ef8f14c979f
[ "MIT" ]
15
2019-06-14T13:55:44.000Z
2021-08-20T08:26:50.000Z
class Solution { public: bool arrayStringsAreEqual(vector<string>& word1, vector<string>& word2) { string a,b; for (int i = 0;i<word1.size();i++) { a+=word1[i]; } for (int i = 0;i<word2.size();i++) { b+=word2[i]; } return a == b; } };
23.538462
77
0.473856
[ "vector" ]
8327122dd10b3853c1ced7f6e9574f730e90c857
8,483
cxx
C++
main/xmloff/source/chart/SchXMLLegendContext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/xmloff/source/chart/SchXMLLegendContext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/xmloff/source/chart/SchXMLLegendContext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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...
37.535398
142
0.642108
[ "model", "solid" ]
832738e34a105555645a3922f708403fe2ba593a
1,583
hpp
C++
inc/jLogStd.hpp
gnarrf95/libjaycpp
a835d7e61aa2de8e070fe73005a5b09a3a0df6fa
[ "MIT" ]
1
2021-02-16T14:23:50.000Z
2021-02-16T14:23:50.000Z
inc/jLogStd.hpp
gnarrf95/libjaycpp
a835d7e61aa2de8e070fe73005a5b09a3a0df6fa
[ "MIT" ]
null
null
null
inc/jLogStd.hpp
gnarrf95/libjaycpp
a835d7e61aa2de8e070fe73005a5b09a3a0df6fa
[ "MIT" ]
null
null
null
/** * @file jLogStd.hpp * @author Manuel Nadji (https://github.com/gnarrf95) * * @brief An implementation of jLog, that uses iostream for output. * * Logs directly to the terminal output. * * @date 2021-02-16 * @copyright Copyright (c) 2020 by Manuel Nadji * */ #ifndef INCLUDE_JLOGSTD_HPP #define INCLUD...
25.532258
117
0.515477
[ "object" ]
833ff1473c21acda0246dcbf4373155c9d3886c7
4,263
cpp
C++
atcoder/cf16/i/I.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
atcoder/cf16/i/I.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
atcoder/cf16/i/I.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #if defined(LOCAL) #include "prettyprint.h" #endif using namespace std; using vi = vector<int>; using vvi = vector<vi>; using ii = pair<int,int>; using vii = vector<ii>; using l = long long; using vl = vector<l>; using vvl = vector<vl>; using ll = pair<l,l>; using vll = vector<ll>; using vvll...
23.815642
73
0.483228
[ "vector" ]
83440b868cc83203cee2ce3268bae0b14964eafc
30,386
cpp
C++
hackathon/affine_transform/main_affinetransform.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/affine_transform/main_affinetransform.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2016-12-03T05:33:13.000Z
2016-12-03T05:33:13.000Z
hackathon/affine_transform/main_affinetransform.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
//main_affinetransform.cpp //affine transfer the image based on the given point sets // by Lei Qu //2010-03-17 #include <QtGui> #include <stdio.h> #include <unistd.h> extern char *optarg; extern int optind, opterr; #include <vector> using namespace std; #define WANT_STREAM #include "../../v3d_main/jba/newmat11/newmata...
35.917258
147
0.643553
[ "vector", "transform", "3d" ]
834a87170d685a9d959e06b2c498d2185585a092
18,325
hh
C++
RAVL2/Core/IO/FileFormat.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Core/IO/FileFormat.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Core/IO/FileFormat.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
38.742072
119
0.681037
[ "object" ]
834e69cd41f012086de3bff50793077dfda0d028
1,307
cpp
C++
src/cells/data.cpp
jim0607/mars
5149422b6d71576f61bb156b6682d2dfd8238543
[ "BSD-2-Clause" ]
1
2020-02-08T07:03:34.000Z
2020-02-08T07:03:34.000Z
src/cells/data.cpp
jim0607/mars
5149422b6d71576f61bb156b6682d2dfd8238543
[ "BSD-2-Clause" ]
null
null
null
src/cells/data.cpp
jim0607/mars
5149422b6d71576f61bb156b6682d2dfd8238543
[ "BSD-2-Clause" ]
null
null
null
//----------------------------------------------------------------------------- // // This source file is part of the MaRS open source package under the // BSD (2-clause) licence (see LICENCE file for details). // // (c) R F L Evans 2015. All rights reserved. // //-------------------------------------------------------...
32.675
175
0.427697
[ "vector" ]
8350786e1f81ddb46ac618caf72c408b25b9bcc1
45,315
hpp
C++
src/netxs/apps/tile.hpp
o-sdn-o/VTM
19f7dd2741c9547bb94e9c38c665f0915638332f
[ "MIT" ]
2
2020-11-24T05:32:41.000Z
2020-11-25T07:52:55.000Z
src/netxs/apps/tile.hpp
monotty/VTM
00641148fabfe27901805e9fe144c16aabb55e83
[ "MIT" ]
null
null
null
src/netxs/apps/tile.hpp
monotty/VTM
00641148fabfe27901805e9fe144c16aabb55e83
[ "MIT" ]
null
null
null
// Copyright (c) NetXS Group. // Licensed under the MIT license. #ifndef NETXS_APP_TILE_HPP #define NETXS_APP_TILE_HPP namespace netxs::events::userland { struct tile { EVENTPACK( tile, netxs::events::userland::root::custom ) { GROUP_XS( ui, input::hids ), // Window man...
52.508691
168
0.347479
[ "object" ]
8354854310a07b203148c28d457b82e8f15f376b
1,835
cpp
C++
src/shendk/files/model/mt5/mt5_node.cpp
Shenmue-Mods/ShenmueDK
feca9c937fe5cf6fb99b11336792f33d9797aca7
[ "MIT" ]
4
2019-05-27T21:15:38.000Z
2021-07-25T10:42:30.000Z
src/shendk/files/model/mt5/mt5_node.cpp
Shenmue-Mods/ShenmueDK
feca9c937fe5cf6fb99b11336792f33d9797aca7
[ "MIT" ]
null
null
null
src/shendk/files/model/mt5/mt5_node.cpp
Shenmue-Mods/ShenmueDK
feca9c937fe5cf6fb99b11336792f33d9797aca7
[ "MIT" ]
null
null
null
#include "shendk/files/model/mt5/mt5_node.h" #include "shendk/files/model/mt5/mt5_mesh.h" #include "shendk/utils/math.h" #include <iostream> namespace shendk { namespace mt5 { MT5Node::MT5Node(Model* model, MT5Node* _parent) : ModelNode(model) { parent = _parent; } MT5Node::MT5Node(Model* model, std::istre...
26.214286
108
0.659401
[ "mesh", "model" ]
8357008667d98b4e1942a39637f649d8c6b14f4e
15,227
cpp
C++
src/raftserver.cpp
hww1996/ToyRaft
6670e69634c94c952311ab550febe9553b889011
[ "MIT" ]
5
2019-10-26T01:43:40.000Z
2021-02-03T03:12:05.000Z
src/raftserver.cpp
hww1996/ToyRaft
6670e69634c94c952311ab550febe9553b889011
[ "MIT" ]
1
2019-10-06T03:34:38.000Z
2019-10-06T03:34:38.000Z
src/raftserver.cpp
hww1996/ToyRaft
6670e69634c94c952311ab550febe9553b889011
[ "MIT" ]
null
null
null
// // Created by hww1996 on 2019/10/13. // #include <grpc/grpc.h> #include <grpcpp/server.h> #include <grpcpp/server_builder.h> #include <grpcpp/server_context.h> #include <grpcpp/create_channel.h> #include <grpcpp/security/credentials.h> #include <rapidjson/document.h> #include <rapidjson/writer.h> #include <rapidjson...
44.785294
120
0.495633
[ "vector" ]
835e2e74a33b76902736f1673a30e7019bbf026b
10,617
cpp
C++
Source/Motor2D/Entity.cpp
Needlesslord/PaintWars_by_BrainDeadStudios
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
2
2020-03-06T11:32:40.000Z
2020-03-20T12:17:30.000Z
Source/Motor2D/Entity.cpp
Needlesslord/Heathen_Games
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
2
2020-03-03T09:56:57.000Z
2020-05-02T15:50:45.000Z
Source/Motor2D/Entity.cpp
Needlesslord/Heathen_Games
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
1
2020-03-17T18:50:53.000Z
2020-03-17T18:50:53.000Z
#include "p2Log.h" #include <vector> #include "Entity.h" #include "j1App.h" #include "j1Render.h" #include "j1Collision.h" #include "j1Map.h" #include "j1EntityManager.h" #include "j1Pathfinding.h" #include "j1Player.h" #include "Brofiler/Brofiler.h" Entity::Entity(iPoint tile, int damage, j1Module* listeners, Enti...
23.080435
213
0.659885
[ "render", "vector" ]
835f59cacddee9b48d820c31933f582f67dd2b20
707
cpp
C++
src/SlicerCore.cpp
louisja1/SlicerCore
29c658c606d52d0fd11f0e1c10db98c4624da1cc
[ "MIT" ]
2
2018-06-26T01:28:48.000Z
2018-06-26T08:04:10.000Z
src/SlicerCore.cpp
louisja1/SlicerCore
29c658c606d52d0fd11f0e1c10db98c4624da1cc
[ "MIT" ]
null
null
null
src/SlicerCore.cpp
louisja1/SlicerCore
29c658c606d52d0fd11f0e1c10db98c4624da1cc
[ "MIT" ]
1
2018-06-26T10:56:15.000Z
2018-06-26T10:56:15.000Z
// // Created by timemachine on 18-6-26. // #include "SlicerCore.h" #include "configManager.h" #include "FilterRender.h" #include <sys/stat.h> #include <unistd.h> #include <set> void SlicerCore::initFolder() { //clear last time //rmdir(); //mkdir //std::cerr << "init: mkdir" << std::endl; //mkdir("~/.slicer"...
16.44186
74
0.670438
[ "render" ]
8370eddc95748136dc0526cac72048e5c7bb8cec
4,171
cpp
C++
lib/seldon/lib/Compil/Seldon/Pardiso.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
7
2021-01-31T23:20:07.000Z
2021-09-09T20:54:15.000Z
lib/seldon/lib/Compil/Seldon/Pardiso.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
1
2021-06-07T07:52:38.000Z
2021-08-13T20:40:55.000Z
lib/seldon/lib/Compil/Seldon/Pardiso.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
null
null
null
#include "SeldonFlag.hxx" #include "SeldonSolverHeader.hxx" #include "SeldonSolverInline.hxx" #ifndef SELDON_WITH_COMPILED_LIBRARY #include "computation/interfaces/direct/Pardiso.cxx" #endif namespace Seldon { SELDON_EXTERN template class MatrixPardiso<double>; SELDON_EXTERN template class MatrixPardiso<complex<...
68.377049
142
0.786142
[ "vector" ]
837c31b7247411a604b3700dd038b1b93fb7e571
1,249
hpp
C++
btcnew/node/daemonconfig.hpp
thebitcoinnew/btcnew-node
59c8e3885ff269befaf3a8f82fe63a0c674cc27b
[ "BSD-2-Clause" ]
null
null
null
btcnew/node/daemonconfig.hpp
thebitcoinnew/btcnew-node
59c8e3885ff269befaf3a8f82fe63a0c674cc27b
[ "BSD-2-Clause" ]
null
null
null
btcnew/node/daemonconfig.hpp
thebitcoinnew/btcnew-node
59c8e3885ff269befaf3a8f82fe63a0c674cc27b
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <btcnew/lib/errors.hpp> #include <btcnew/node/node_pow_server_config.hpp> #include <btcnew/node/node_rpc_config.hpp> #include <btcnew/node/nodeconfig.hpp> #include <btcnew/node/openclconfig.hpp> #include <vector> namespace btcnew { class jsonconfig; class tomlconfig; class daemon_config { publi...
31.225
185
0.765412
[ "vector" ]
8384fe8e4523b35fc44c7ce3faeff0d85bf118b4
2,022
cpp
C++
aws-cpp-sdk-iotanalytics/source/model/EstimatedResourceSize.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-iotanalytics/source/model/EstimatedResourceSize.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-iotanalytics/source/model/EstimatedResourceSize.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-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.0 * * or in the "license" fil...
23.511628
78
0.75816
[ "model" ]
83904cc0521a88d1b64e2408f6c356c0583d8483
11,009
hpp
C++
gtl/box3.hpp
mojocorp/gtl
b8d5c3a50a50d13ac85243d0738e4bfcbd71b778
[ "MIT" ]
3
2017-02-05T12:12:15.000Z
2019-06-15T16:24:57.000Z
gtl/box3.hpp
mojocorp/gtl
b8d5c3a50a50d13ac85243d0738e4bfcbd71b778
[ "MIT" ]
null
null
null
gtl/box3.hpp
mojocorp/gtl
b8d5c3a50a50d13ac85243d0738e4bfcbd71b778
[ "MIT" ]
1
2016-06-25T04:29:53.000Z
2016-06-25T04:29:53.000Z
#pragma once #include <gtl/gtl.hpp> #include <gtl/matrix4.hpp> #include <gtl/plane.hpp> #include <gtl/ray.hpp> #include <gtl/vec3.hpp> namespace gtl { // forward declaration template <typename Type> class plane; template <typename Type> class ray; /*! \class box3 box3.hpp geometry/box3.hp...
33.769939
201
0.46244
[ "geometry", "transform", "3d" ]
83939549e7b8521ab040d89503ac6a351f4a2a39
4,658
cc
C++
subt_ros/src/SetRateRelay.cc
jfkeller/subt_explorer_canary1_sensor_config_1
1f0419130b79f48c66e83c084e704e521782a95a
[ "ECL-2.0", "Apache-2.0" ]
173
2020-04-09T18:39:39.000Z
2022-03-15T06:15:07.000Z
subt_ros/src/SetRateRelay.cc
jfkeller/subt_explorer_canary1_sensor_config_1
1f0419130b79f48c66e83c084e704e521782a95a
[ "ECL-2.0", "Apache-2.0" ]
538
2020-04-09T18:34:04.000Z
2022-02-20T09:53:17.000Z
subt_ros/src/SetRateRelay.cc
jfkeller/subt_explorer_canary1_sensor_config_1
1f0419130b79f48c66e83c084e704e521782a95a
[ "ECL-2.0", "Apache-2.0" ]
89
2020-04-14T20:46:48.000Z
2022-03-14T16:45:30.000Z
/* * Copyright (C) 2019 Open Source Robotics Foundation * * 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 appl...
33.035461
112
0.649206
[ "vector" ]
8b585e01f67804dc2b5f94a593e2a46d67af953a
3,204
cpp
C++
tests/test_audio_processor.cpp
CyberSinh/chromaprint
3dbc9adeec86f1bafc7a05969766562b9217deac
[ "MIT" ]
582
2016-06-14T14:49:36.000Z
2022-03-27T16:17:57.000Z
tests/test_audio_processor.cpp
CyberSinh/chromaprint
3dbc9adeec86f1bafc7a05969766562b9217deac
[ "MIT" ]
72
2016-07-28T14:27:55.000Z
2022-03-19T18:32:44.000Z
tests/test_audio_processor.cpp
CyberSinh/chromaprint
3dbc9adeec86f1bafc7a05969766562b9217deac
[ "MIT" ]
102
2016-08-21T17:36:10.000Z
2022-02-13T15:35:44.000Z
#include <gtest/gtest.h> #include <algorithm> #include <vector> #include <fstream> #include "test_utils.h" #include "audio_processor.h" #include "audio_buffer.h" #include "utils.h" using namespace chromaprint; TEST(AudioProcessor, Accessors) { std::vector<short> data = LoadAudioFile("data/test_mono_44100.raw"); Au...
28.353982
80
0.71005
[ "vector" ]
8b58e75c9c5b4fd4779e32e5a0bd9102b68f75cc
12,342
cpp
C++
src/src/map_renderer.cpp
N4G170/pathfind_ui
63ef3536a8efa407e4de04737c70034fc17c7b40
[ "MIT" ]
null
null
null
src/src/map_renderer.cpp
N4G170/pathfind_ui
63ef3536a8efa407e4de04737c70034fc17c7b40
[ "MIT" ]
null
null
null
src/src/map_renderer.cpp
N4G170/pathfind_ui
63ef3536a8efa407e4de04737c70034fc17c7b40
[ "MIT" ]
null
null
null
#include "map_renderer.hpp" #include <utility> #include <stdexcept> #include "message_writer.hpp" //<f> Constructors & operator= MapRenderer::MapRenderer(SDL_Renderer* renderer, ControlFlags* control_flags): m_renderer{renderer}, m_control_flags{control_flags} { LoadGridCells(); } MapRenderer::~MapRenderer() noex...
35.67052
153
0.684654
[ "render" ]
8b622608a7c04a34e1ec18645f5a61108e484c88
8,301
cpp
C++
api/structs/Structures/Tree.cpp
Higgcz/Gina
309c968f11cb4295b93a99860732b4c2f04df14f
[ "MIT" ]
2
2016-09-03T15:02:23.000Z
2020-02-18T16:50:47.000Z
api/structs/Structures/Tree.cpp
Higgcz/Gina
309c968f11cb4295b93a99860732b4c2f04df14f
[ "MIT" ]
null
null
null
api/structs/Structures/Tree.cpp
Higgcz/Gina
309c968f11cb4295b93a99860732b4c2f04df14f
[ "MIT" ]
null
null
null
// // Tree.cpp // Gina // // Created by Vojtech Micka on 06.01.14. // Copyright (c) 2014 Vojtech Micka. All rights reserved. // #include <iomanip> #include <math.h> #include "Tree.h" using namespace std; using namespace Gina::Structures; void Node::setLeft ( Node *left ) { if ( left != NULL ) left->parent = ...
26.951299
159
0.562703
[ "3d" ]
8b664d29baedfefc0c62cc32a21b1fb54e3b210d
1,969
cc
C++
raner/event_loop_thread_pool.cc
williammuji/raner
133565c3c5e6b637213f2bccb57b7e99a809d7d0
[ "FSFAP" ]
1
2019-01-04T01:41:56.000Z
2019-01-04T01:41:56.000Z
raner/event_loop_thread_pool.cc
williammuji/raner
133565c3c5e6b637213f2bccb57b7e99a809d7d0
[ "FSFAP" ]
null
null
null
raner/event_loop_thread_pool.cc
williammuji/raner
133565c3c5e6b637213f2bccb57b7e99a809d7d0
[ "FSFAP" ]
1
2019-01-04T02:11:14.000Z
2019-01-04T02:11:14.000Z
// Copyright (c) 2018 Williammuji Wong. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "raner/event_loop_thread_pool.h" #include "raner/event_loop.h" #include "raner/event_loop_thread.h" #include <assert.h> #include <stdio.h> nam...
24.012195
73
0.662265
[ "vector" ]
8b6c709a5c9be00059b732bd93aaebcb5cf69d20
13,078
hpp
C++
Test/TestCommon/TestPriorityQueue.hpp
SpaceGameEngine/SpaceGameEngine
cc7bbadbc3ed9577d1d6c9b4470d2c4926ed5ef8
[ "Apache-2.0" ]
3
2019-11-25T04:08:44.000Z
2020-08-13T09:53:43.000Z
Test/TestCommon/TestPriorityQueue.hpp
SpaceGameEngine/SpaceGameEngine
cc7bbadbc3ed9577d1d6c9b4470d2c4926ed5ef8
[ "Apache-2.0" ]
3
2019-07-11T09:20:43.000Z
2021-01-17T10:21:22.000Z
Test/TestCommon/TestPriorityQueue.hpp
SpaceGameEngine/SpaceGameEngine
cc7bbadbc3ed9577d1d6c9b4470d2c4926ed5ef8
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 creatorlxd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distrib...
25.542969
230
0.696054
[ "vector" ]
8b73b746ba61ab85fd56d91b7d100da00a529812
9,960
cpp
C++
src/SingleHullKinematics.cpp
jodavaho/kinship
ec3418a1d51dfe8258b1f74c222f70cbb4f1d9ee
[ "MIT" ]
null
null
null
src/SingleHullKinematics.cpp
jodavaho/kinship
ec3418a1d51dfe8258b1f74c222f70cbb4f1d9ee
[ "MIT" ]
null
null
null
src/SingleHullKinematics.cpp
jodavaho/kinship
ec3418a1d51dfe8258b1f74c222f70cbb4f1d9ee
[ "MIT" ]
null
null
null
#include <Kinematics/SingleHullKinematics.h> using namespace cv; using namespace RSN; //#define __DEBUG SingleHullKinematics::SingleHullKinematics(){ cc.Kprop=0.0; } SingleHullKinematics::SingleHullKinematics(SingleHullConstants cc){ this->cc=cc; } SingleHullKinematics::~SingleHullKinematics(){ } void SingleHullK...
24.53202
103
0.632329
[ "vector" ]
8b8b3d55d7baddf5042455dfb1f923e197258160
2,924
cpp
C++
Project/OgreTutorialFramework_2014/src/Badger/Wheel.cpp
storm20200/UniversitySecondYearBadger
197562f18f1d078289479b9f00f7bee7f7b91db0
[ "Unlicense" ]
null
null
null
Project/OgreTutorialFramework_2014/src/Badger/Wheel.cpp
storm20200/UniversitySecondYearBadger
197562f18f1d078289479b9f00f7bee7f7b91db0
[ "Unlicense" ]
null
null
null
Project/OgreTutorialFramework_2014/src/Badger/Wheel.cpp
storm20200/UniversitySecondYearBadger
197562f18f1d078289479b9f00f7bee7f7b91db0
[ "Unlicense" ]
null
null
null
#include "Wheel.h" // STL headers. #include <exception> #include <iostream> #pragma region Constructors and destructor Badger::Wheel::Wheel (Wheel&& move) { *this = std::move (move); } Badger::Wheel& Badger::Wheel::operator= (Wheel&& move) { if (this != &move) { // IActor. m_node = ...
23.206349
123
0.615253
[ "mesh" ]
8b90e36a9e1a0cb785e88deb478f8d9173cf9f27
947
cc
C++
2018/04/part_1/main.cc
maitesin/advent
a08e3f2c9b7868cba364579270efc3719692ca1b
[ "BSD-2-Clause" ]
1
2017-12-06T15:36:15.000Z
2017-12-06T15:36:15.000Z
2018/04/part_1/main.cc
maitesin/advent
a08e3f2c9b7868cba364579270efc3719692ca1b
[ "BSD-2-Clause" ]
null
null
null
2018/04/part_1/main.cc
maitesin/advent
a08e3f2c9b7868cba364579270efc3719692ca1b
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <algorithm> struct log { std::uint8_t year, month, day, hour, minute; std::string info; void print() { std::cout << year << "-" << month << "-" << day << " " << hour << ":" << minute << "->" << info << std::endl; } }; s...
21.522727
72
0.525871
[ "vector" ]
8b9b3004cdfbeab122a93fb481e6b6538701cdec
17,483
cpp
C++
unit/component/unittest_transform.cpp
tschaffter/apl-core-library
3a05342ba0fa2432c320476795c13e8cd990e8ee
[ "Apache-2.0" ]
null
null
null
unit/component/unittest_transform.cpp
tschaffter/apl-core-library
3a05342ba0fa2432c320476795c13e8cd990e8ee
[ "Apache-2.0" ]
1
2022-01-13T02:14:40.000Z
2022-01-13T03:35:16.000Z
unit/component/unittest_transform.cpp
tschaffter/apl-core-library
3a05342ba0fa2432c320476795c13e8cd990e8ee
[ "Apache-2.0" ]
null
null
null
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" ...
31.387792
121
0.567466
[ "object", "transform" ]
8ba01e47cee5cb9350dd986aeafbdd49be155cba
4,163
cpp
C++
src/profiler/leaf_node_time.cpp
J-Y2020/CARMI
17c18dc5d615fdcf2d9e3086f9cc476a721a4d9b
[ "MIT" ]
null
null
null
src/profiler/leaf_node_time.cpp
J-Y2020/CARMI
17c18dc5d615fdcf2d9e3086f9cc476a721a4d9b
[ "MIT" ]
null
null
null
src/profiler/leaf_node_time.cpp
J-Y2020/CARMI
17c18dc5d615fdcf2d9e3086f9cc476a721a4d9b
[ "MIT" ]
null
null
null
/** * @file leaf_node_time.cpp * @author Jiaoyi * @brief * @version 0.1 * @date 2021-09-18 * * @copyright Copyright (c) 2021 * */ #include <algorithm> #include <ctime> #include <iostream> #include <random> #include <utility> #include <vector> #include "../include/carmi.h" #include "../include/construct/minor_...
29.316901
79
0.606294
[ "vector" ]
8ba396f0595f26afe4fccb395f413324c112362e
3,127
cpp
C++
tools/graphite.cpp
dillonl/graphite
798b4961f8eeebc0a633ecca5b26e27453dfe487
[ "MIT" ]
27
2015-09-17T08:35:51.000Z
2021-04-07T02:37:37.000Z
tools/graphite.cpp
dillonl/gwiz
798b4961f8eeebc0a633ecca5b26e27453dfe487
[ "MIT" ]
6
2015-12-30T21:43:56.000Z
2018-12-13T22:52:29.000Z
tools/graphite.cpp
dillonl/graphite
798b4961f8eeebc0a633ecca5b26e27453dfe487
[ "MIT" ]
7
2015-12-30T21:33:49.000Z
2019-11-25T10:16:01.000Z
#include "core/util/Utility.h" #include "core/util/Params.h" #include "core/region/Region.h" #include "core/reference/FastaReference.h" #include "core/vcf/VCFReader.h" #include "core/vcf/VCFWriter.h" #include "core/alignment/AlignmentReader.h" #include "core/graph/GraphProcessor.h" #include <string> #include <iostream...
36.788235
258
0.774864
[ "vector" ]
8bb0eddbad7d6eb3c3fec20c7ad06d5bacba59c8
1,350
hpp
C++
23/coprocessor.hpp
ComicSansMS/AdventOfCode2017
238460dd82dae182d78b8460578b7f615cf99fd0
[ "Unlicense" ]
null
null
null
23/coprocessor.hpp
ComicSansMS/AdventOfCode2017
238460dd82dae182d78b8460578b7f615cf99fd0
[ "Unlicense" ]
null
null
null
23/coprocessor.hpp
ComicSansMS/AdventOfCode2017
238460dd82dae182d78b8460578b7f615cf99fd0
[ "Unlicense" ]
null
null
null
#ifndef ADVENT_OF_CODE_23_COPROCESSOR_HPP_INCLUDE_GUARD #define ADVENT_OF_CODE_23_COPROCESSOR_HPP_INCLUDE_GUARD #include <array> #include <cstdint> #include <string_view> #include <variant> #include <vector> struct Register { char r; }; struct Number { int64_t n; }; using Value = std::variant<Register, Numb...
19.852941
68
0.731111
[ "vector" ]
8bba64d976c57ea0edda4e7caf8cc1ab7222c8ca
3,036
cc
C++
source/utils/detect.cc
dayHRResearch/VideoCover
ccbf31df89563779b3fd006ee878ca8ab337a2a6
[ "Apache-2.0" ]
2
2019-07-16T08:08:23.000Z
2019-07-22T14:50:27.000Z
source/utils/detect.cc
dayHRResearch/VideoCover
ccbf31df89563779b3fd006ee878ca8ab337a2a6
[ "Apache-2.0" ]
null
null
null
source/utils/detect.cc
dayHRResearch/VideoCover
ccbf31df89563779b3fd006ee878ca8ab337a2a6
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019 DayHR 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 ...
36.142857
81
0.618577
[ "vector" ]
8bbdc57248fdf7329d2d1932fc7f3cb1533466eb
47,704
cpp
C++
src/lua/LuaFile.cpp
fmidev/smartmet-library-grid-content
303483967a1248002369893cf43b4ca03f8385d9
[ "MIT" ]
null
null
null
src/lua/LuaFile.cpp
fmidev/smartmet-library-grid-content
303483967a1248002369893cf43b4ca03f8385d9
[ "MIT" ]
null
null
null
src/lua/LuaFile.cpp
fmidev/smartmet-library-grid-content
303483967a1248002369893cf43b4ca03f8385d9
[ "MIT" ]
null
null
null
#include "LuaFile.h" #include <grid-files/common/GeneralFunctions.h> #include <macgyver/StringConversion.h> namespace SmartMet { namespace Lua { extern "C" { #include <lua.h> #include <lauxlib.h> #include <lualib.h> } LuaFile::LuaFile() { try { for (uint t=0; t<NUM_OF_LUA_HANDLES; t++) { m...
26.769921
261
0.620556
[ "vector" ]
8bc3d9df905e565e5a8c806eed761156ffb21140
1,935
cpp
C++
2020-2021/opencv/qr/cv.cpp
pantadeusz/examples-ai
7316191b592eeb95c5873ee6836ccb6ca5b776a5
[ "MIT" ]
1
2020-10-20T13:27:16.000Z
2020-10-20T13:27:16.000Z
2020-2021/opencv/qr/cv.cpp
pantadeusz/examples-ai
7316191b592eeb95c5873ee6836ccb6ca5b776a5
[ "MIT" ]
null
null
null
2020-2021/opencv/qr/cv.cpp
pantadeusz/examples-ai
7316191b592eeb95c5873ee6836ccb6ca5b776a5
[ "MIT" ]
2
2019-06-07T10:54:01.000Z
2020-12-01T12:58:44.000Z
#include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <iostream> #include <vector> #include <algorithm> #include <numeric> #include <thread> #include <future> // g++ `pkg-config --cflags opencv4` cv.cpp `pkg-config --libs opencv4` using namespace std; using namespace cv; pair<string, vector<Point2d>>...
21.988636
100
0.614987
[ "vector" ]
8bd9334dfa4a42387b1bfe8dae6b66b384d722fb
52,594
cxx
C++
RAW/dateStream/dateStream.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
RAW/dateStream/dateStream.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
RAW/dateStream/dateStream.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/* dateStream.c ============ Utility to simulate a DATE raw data stream using a given set of raw data files and a configuration file. Revision history: V01.00 4/05/2004 RD Created V01.01 25/10/2005 RD Support added for timestamp V01.02 4/04/2006 RD Support for CDH V01.03 ...
29.5638
152
0.574628
[ "3d" ]
8be2a49c94ade1e8b601cf2a192ccb4ea43e8bf5
1,324
cpp
C++
leetcode/924. Minimize Malware Spread/s3.cpp
zhuohuwu0603/leetcode_cpp_lzl124631x
6a579328810ef4651de00fde0505934d3028d9c7
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/924. Minimize Malware Spread/s3.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/924. Minimize Malware Spread/s3.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/minimize-malware-spread/ // Author: github.com/lzl124631x // Time: O(N^2) // Space: O(N) class Solution { void dfs(vector<vector<int>> &graph, int start, int c, vector<int> &color) { color[start] = c; for (int i = 0; i < graph.size(); ++i) { if (graph...
33.1
80
0.429758
[ "vector" ]
8be617e031c296a8e4e2b586c1f9b38df25d99e4
473
hpp
C++
libs/render/include/hamon/render/comparison_func.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
null
null
null
libs/render/include/hamon/render/comparison_func.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
21
2022-03-02T13:11:59.000Z
2022-03-30T15:12:41.000Z
libs/render/include/hamon/render/comparison_func.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
null
null
null
/** * @file comparison_func.hpp * * @brief ComparisonFunc */ #ifndef HAMON_RENDER_COMPARISON_FUNC_HPP #define HAMON_RENDER_COMPARISON_FUNC_HPP #include <cstdint> namespace hamon { inline namespace render { enum class ComparisonFunc : std::uint32_t { Never, Less, Equal, LessEqual, G...
13.514286
43
0.693446
[ "render" ]
8becd4ab66a59f099e59cdca66b150f41ad6fc98
2,470
cpp
C++
hackerearth/marks_time.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
26
2019-04-05T07:10:15.000Z
2022-01-08T02:35:19.000Z
hackerearth/marks_time.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
2
2019-04-25T15:47:54.000Z
2019-09-03T06:46:05.000Z
hackerearth/marks_time.cpp
abhis2007/Algorithms-1
7637209c5aa52c1afd8be1884d018673d26f5c1f
[ "MIT" ]
8
2019-04-05T08:58:50.000Z
2020-07-03T01:53:58.000Z
/* nuttela Code Arena Player */ #pragma Gpref optimize("O3") //#pragma Gpref optimize("Ofast") //#pragma Gpref target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") //#pragma Gpref optimize("unroll-loops") #include <bits/stdc++.h> #define int long long #define ld long double #define ull unsigned long long...
24.215686
123
0.578543
[ "vector" ]
bddb1e0ea0d9d526049954954b0c6af95fb2f9b9
2,165
cpp
C++
src/Particle/ParticleModule/ModuleMovement.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
src/Particle/ParticleModule/ModuleMovement.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
src/Particle/ParticleModule/ModuleMovement.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
#include "ModuleMovement.hpp" #include "Particle/PaticleEmitter/AParticleEmitter.hpp" #include <iostream> #include <Engine/ModelEngine/MainGraphicExtendModel.hpp> #include "Particle/ParticleData.hpp" #include "Particle/ParticleSystem.hpp" #include "Cl/ClProgram.hpp" #include "OpenCGL_Tools.hpp" #include "Engine/Random....
33.307692
151
0.777367
[ "vector" ]
bde59813e4345d20271b4baf667250e4bd631b7b
1,473
cpp
C++
shift/platform/private/shift/platform/linux/network.cpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
2
2018-11-28T18:14:08.000Z
2020-08-06T07:44:36.000Z
shift/platform/private/shift/platform/linux/network.cpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
4
2018-11-06T21:01:05.000Z
2019-02-19T07:52:52.000Z
shift/platform/private/shift/platform/linux/network.cpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
null
null
null
#include "shift/platform/network.hpp" #include <arpa/inet.h> #include <sys/socket.h> #include <array> #include <memory> #include <cstdio> #include <cstdlib> #include <netdb.h> #include <ifaddrs.h> #include <unistd.h> #include <linux/if_link.h> namespace shift::platform { std::vector<boost::asio::ip::address> network_i...
27.277778
78
0.5852
[ "vector" ]
bdec9b2790926197985bc96d2d450306529b10ea
244
cpp
C++
Ch03/Exercises/primer3.18.cpp
Sunrisepeak/gitskills
5f7eba38f114c011e2d1b73bb2be97ba2834c3a4
[ "Apache-2.0" ]
null
null
null
Ch03/Exercises/primer3.18.cpp
Sunrisepeak/gitskills
5f7eba38f114c011e2d1b73bb2be97ba2834c3a4
[ "Apache-2.0" ]
null
null
null
Ch03/Exercises/primer3.18.cpp
Sunrisepeak/gitskills
5f7eba38f114c011e2d1b73bb2be97ba2834c3a4
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<vector> using std::vector; using std::cout; int main() { vector<int> ivec; // ivec[0] = 42; //segmentation fault ivec.push_back(42); //use push_back function to vector element of add cout << ivec[0]; return 0; }
18.769231
70
0.692623
[ "vector" ]
bdfb130cbe0d355ae5d1ea45f30823e0842e74d4
936,525
cpp
C++
FindSecret/Classes/Native/Bulk_UnityEngine.UI_1.cpp
GodIsWord/NewFindSecret
4f98f316d29936380f9665d6a6d89962d9ee5478
[ "MIT" ]
null
null
null
FindSecret/Classes/Native/Bulk_UnityEngine.UI_1.cpp
GodIsWord/NewFindSecret
4f98f316d29936380f9665d6a6d89962d9ee5478
[ "MIT" ]
null
null
null
FindSecret/Classes/Native/Bulk_UnityEngine.UI_1.cpp
GodIsWord/NewFindSecret
4f98f316d29936380f9665d6a6d89962d9ee5478
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "mscorlib_Syst...
39.606064
499
0.775973
[ "mesh", "object", "transform" ]
da0c1d20cb9e87df70bfc9fe5b9ad91d2ac81602
2,263
cpp
C++
Project X/Project X/main.cpp
MartinFlores751/VorteX
2cf252f0d9172f91c3b45f16b5fdb670c22b6ddb
[ "MIT" ]
null
null
null
Project X/Project X/main.cpp
MartinFlores751/VorteX
2cf252f0d9172f91c3b45f16b5fdb670c22b6ddb
[ "MIT" ]
null
null
null
Project X/Project X/main.cpp
MartinFlores751/VorteX
2cf252f0d9172f91c3b45f16b5fdb670c22b6ddb
[ "MIT" ]
null
null
null
#include <SDL2/SDL.h> #include <stdio.h> #include <vector> #include "core.h" #include "LWindow.h" #include "PlayerShip.h" #include "GruntShip.h" using std::vector; using std::string; LWindow gWindow; PlayerShip pShip(3); vector<GruntShip> enemyShips; vector<Bullets> bullets; LTexture bg; LTexture title; /* Self imp...
20.387387
64
0.604949
[ "render", "vector" ]
da11a3ad7f51f28bae7bca39353decfb52a3f3bf
3,127
hpp
C++
Code/Source/Algorithms/ImageFeatures/ShapeContext.hpp
christinazavou/Thea
f68293c4a4f5ddc3abda18e2e0b679bcf5163e93
[ "BSD-3-Clause" ]
77
2016-11-06T17:25:54.000Z
2022-03-29T16:30:34.000Z
Code/Source/Algorithms/ImageFeatures/ShapeContext.hpp
christinazavou/Thea
f68293c4a4f5ddc3abda18e2e0b679bcf5163e93
[ "BSD-3-Clause" ]
1
2017-04-22T16:47:04.000Z
2017-04-22T16:47:04.000Z
Code/Source/Algorithms/ImageFeatures/ShapeContext.hpp
christinazavou/Thea
f68293c4a4f5ddc3abda18e2e0b679bcf5163e93
[ "BSD-3-Clause" ]
20
2015-10-17T20:38:50.000Z
2022-02-18T09:56:27.000Z
//============================================================================ // // This file is part of the Thea toolkit. // // This software is distributed under the BSD license, as detailed in the // accompanying LICENSE.txt file. Portions are derived from other works: // their respective licenses and copyright inf...
34.362637
125
0.680844
[ "shape" ]
da1a719109a87966b828bf3884567560151372cd
2,586
cpp
C++
ext/rubot_aria/RAGenericAction.cpp
Peeja/rubot
fd04d1444a0ddaf5b92f07e85cb3d082ad7e45a1
[ "MIT", "Unlicense" ]
2
2015-12-21T16:53:09.000Z
2016-05-08T08:02:36.000Z
ext/rubot_aria/RAGenericAction.cpp
Peeja/rubot
fd04d1444a0ddaf5b92f07e85cb3d082ad7e45a1
[ "MIT", "Unlicense" ]
null
null
null
ext/rubot_aria/RAGenericAction.cpp
Peeja/rubot
fd04d1444a0ddaf5b92f07e85cb3d082ad7e45a1
[ "MIT", "Unlicense" ]
null
null
null
#include "rice/Object.hpp" #include "rice/Data_Type.hpp" #include "rice/Symbol.hpp" #include "rice/Exception.hpp" #include "Aria.h" #include "RAGenericAction.h" using namespace Rice; RAGenericAction::RAGenericAction(const char *name) : ArAction(name) { ArLog::log(ArLog::Normal, "Created generic a...
29.386364
135
0.638824
[ "object" ]
da1e9bfa2e2190346c8b61eb32972e0999d8873d
5,808
cpp
C++
main.cpp
Akutagawa50/DP_matching
b1c0aa9e9df01b4e1f258cc3c74de46d240b6b9d
[ "MIT" ]
null
null
null
main.cpp
Akutagawa50/DP_matching
b1c0aa9e9df01b4e1f258cc3c74de46d240b6b9d
[ "MIT" ]
null
null
null
main.cpp
Akutagawa50/DP_matching
b1c0aa9e9df01b4e1f258cc3c74de46d240b6b9d
[ "MIT" ]
null
null
null
#define DEBUG 0 /*-------------*\ if (DEBUG) cout << "debug" << endl; \--------------*/ #include <fstream> #include <iostream> #include <string> #include <algorithm> #include <vector> #include <math.h> using namespace std; //読み込むファイル string temp_file_dir = "city011"; string input_file_dir = "city022"; //斜め遷移の重み...
31.912088
143
0.436811
[ "vector" ]
da2141420c32f464c632e1568f14bd233b49f989
1,259
cpp
C++
Sortings/O(nlogn)/MergeSort.cpp
afentev/Algorithms-and-Data-structures
4049c8dd21e9db90f341aefeb1669d4d3f33a519
[ "MIT" ]
1
2022-03-22T16:53:17.000Z
2022-03-22T16:53:17.000Z
Sortings/O(nlogn)/MergeSort.cpp
afentev/Algorithms-and-Data-structures
4049c8dd21e9db90f341aefeb1669d4d3f33a519
[ "MIT" ]
null
null
null
Sortings/O(nlogn)/MergeSort.cpp
afentev/Algorithms-and-Data-structures
4049c8dd21e9db90f341aefeb1669d4d3f33a519
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <chrono> template <typename T> void _mergeSort(std::vector<T>& v, size_t l, size_t r) { if (r - l == 1) { return; } size_t mid = (l + r) / 2; _mergeSort(v, l, mid); _mergeSort(v, mid, r); std::vector<T> tmp; tmp.reserve(r - l); size_t p1 = l; size_t...
20.983333
109
0.5417
[ "vector" ]
da2c53a2f26a223ca77ac35f8b54261712eccd4e
2,231
cpp
C++
src/Sensor.cpp
Fazendaaa/Redes
0fc2bb206c1eef581d743b238cd81f6d6fab43da
[ "MIT" ]
null
null
null
src/Sensor.cpp
Fazendaaa/Redes
0fc2bb206c1eef581d743b238cd81f6d6fab43da
[ "MIT" ]
null
null
null
src/Sensor.cpp
Fazendaaa/Redes
0fc2bb206c1eef581d743b238cd81f6d6fab43da
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <stdlib.h> #include <time.h> #include <vector> using namespace std; class Sensor{ private: vector <float> dataValue; //data string sensorName; //sensor name string dataType; //data type public: Sensor(string sensorName,string dataType); vector <float> getSen...
20.281818
138
0.641416
[ "vector" ]
da39bc4b36a10c40ef719cb0df3eb4dd6cd0707a
5,216
cpp
C++
Harris/prova.cpp
OttoBismark/DigitalImageProcessing
83ecbe64efe8acb6ce6aea020125b2eba2569f30
[ "MIT" ]
null
null
null
Harris/prova.cpp
OttoBismark/DigitalImageProcessing
83ecbe64efe8acb6ce6aea020125b2eba2569f30
[ "MIT" ]
null
null
null
Harris/prova.cpp
OttoBismark/DigitalImageProcessing
83ecbe64efe8acb6ce6aea020125b2eba2569f30
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <vector> #include <utility> #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" using namespace std; using namespace cv; int main(int argc, char **argv) { int dx, dy; int grad; float theta; int degree; if(argv[1] == nullptr) { ce...
22.580087
85
0.466833
[ "vector" ]
da404209bc67f27946c1539f6535002fcfd8e74c
14,874
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgshaders/GL2Scene.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgshaders/GL2Scene.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgshaders/GL2Scene.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/* OpenSceneGraph example, osgshaders. * * 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, publis...
34.351039
103
0.604141
[ "geometry", "render", "model", "3d" ]
da4373fc72a35a105a8c82b0169adfcf1549f4a9
2,745
cpp
C++
dataset/test/modification/1526_all/47/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1526_all/47/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1526_all/47/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include<bits/stdc++.h> using namespace std; #define ll long long #define ld long double #define ll long long #define bs binary_search #define ld long double typedef pair<int, int> pii; #define eb emplace #define ff first #define ss second #define pb push_back #def...
19.195804
76
0.530419
[ "vector" ]
da498b5eb54d24da154e85d6611b99e8d9d5a374
9,635
hpp
C++
bullet_cpp/src/btBoost/array_helpers.hpp
Klumhru/boost-python-bullet
d9ffae09157280f60cb469d8c9c9fa4c1920e3ce
[ "MIT" ]
2
2015-09-16T15:24:39.000Z
2015-11-18T11:53:51.000Z
bullet_cpp/src/btBoost/array_helpers.hpp
Klumhru/boost-python-bullet
d9ffae09157280f60cb469d8c9c9fa4c1920e3ce
[ "MIT" ]
1
2018-04-04T15:33:20.000Z
2018-04-04T15:33:20.000Z
bullet_cpp/src/btBoost/array_helpers.hpp
Klumhru/boost-python-bullet
d9ffae09157280f60cb469d8c9c9fa4c1920e3ce
[ "MIT" ]
null
null
null
// File: array_helper.hpp #ifndef _array_helper_hpp #define _array_helper_hpp #include <string> #include <typeinfo> #include <boost/python.hpp> #include <boost/python/suite/indexing/indexing_suite.hpp> // This is taken wholesale from http://stackoverflow.com/questions/18882089/wrapping-arrays-in-boost-python // This ...
27.140845
107
0.689465
[ "object", "vector" ]
da52526a04e9909e013fb874fad3da1f978e10a8
2,129
cpp
C++
Classes/YourThread.cpp
Tang1705/Happy-Reconstruction
2040310be4475deff0a8d251feaf32d7ba82d0ff
[ "Apache-2.0" ]
5
2021-12-13T08:48:07.000Z
2022-01-04T01:28:40.000Z
Classes/YourThread.cpp
xmtc56606/Reconstruction
7eadf91b397fa2067b983be1a31c9603043d1360
[ "Apache-2.0" ]
null
null
null
Classes/YourThread.cpp
xmtc56606/Reconstruction
7eadf91b397fa2067b983be1a31c9603043d1360
[ "Apache-2.0" ]
1
2022-03-28T06:04:34.000Z
2022-03-28T06:04:34.000Z
#include "YourThread.h" YourThread::YourThread(PointCloud<PointXYZRGB> *cloudRef) { cloud = cloudRef; } void YourThread::run() { // auto cArg = CameraArguments::getInstance(); Mat r(3, 3, CV_32F); double m0[3][3] = { {9.7004457782050868e-001, 1.3447278830863673e-002, 2.4255450466457243e-001}, {-8.708292749402...
28.386667
80
0.629873
[ "vector" ]
da580bcfb6807bf09db6aa0cf19e16a5f7744cb9
3,516
cpp
C++
pj_tensorrt_depth_stereo_coex/image_processor/image_processor.cpp
Pandinosaurus/play_with_tensorrt
250bfaef2f880ea3131d6ddfcc4870140cc9964e
[ "Apache-2.0" ]
26
2020-09-07T09:18:50.000Z
2022-03-30T02:59:05.000Z
pj_tensorrt_depth_stereo_coex/image_processor/image_processor.cpp
Pandinosaurus/play_with_tensorrt
250bfaef2f880ea3131d6ddfcc4870140cc9964e
[ "Apache-2.0" ]
9
2021-11-16T07:41:52.000Z
2022-02-19T02:59:48.000Z
pj_tensorrt_depth_stereo_coex/image_processor/image_processor.cpp
Pandinosaurus/play_with_tensorrt
250bfaef2f880ea3131d6ddfcc4870140cc9964e
[ "Apache-2.0" ]
6
2020-12-29T09:46:12.000Z
2022-01-26T09:10:30.000Z
/*** Include ***/ /* for general */ #include <cstdint> #include <cstdlib> #include <cmath> #include <cstring> #include <string> #include <vector> #include <array> #include <algorithm> #include <chrono> #include <fstream> #include <memory> /* for OpenCV */ #include <opencv2/opencv.hpp> /* for My modules */ #include "c...
28.128
185
0.6624
[ "vector" ]
da5f3e852dc490966688043b3940f1a88f85ac26
2,844
cpp
C++
vowel-spellchecker.cpp
ensky/leetcode
c90e6f3819f90ce0806b5a9945eef695d48c6b88
[ "MIT" ]
null
null
null
vowel-spellchecker.cpp
ensky/leetcode
c90e6f3819f90ce0806b5a9945eef695d48c6b88
[ "MIT" ]
null
null
null
vowel-spellchecker.cpp
ensky/leetcode
c90e6f3819f90ce0806b5a9945eef695d48c6b88
[ "MIT" ]
null
null
null
/** * problem: https://leetcode.com/problems/vowel-spellchecker/ * result: * Runtime: 252 ms, faster than 28.99% of C++ online submissions for Vowel Spellchecker. * Memory Usage: 35.1 MB, less than 34.45% of C++ online submissions for Vowel Spellchecker. * used_time: 20min */ class Solution { public: v...
30.913043
94
0.548875
[ "vector", "transform" ]
da774c883f4d852a075bf1cf8553ad0c76074947
3,419
cpp
C++
main.cpp
denizkenankilic/computerVision-basic-hough
f6c854d58c5293df370d7e98c4a9d80e832d5145
[ "MIT" ]
null
null
null
main.cpp
denizkenankilic/computerVision-basic-hough
f6c854d58c5293df370d7e98c4a9d80e832d5145
[ "MIT" ]
null
null
null
main.cpp
denizkenankilic/computerVision-basic-hough
f6c854d58c5293df370d7e98c4a9d80e832d5145
[ "MIT" ]
null
null
null
#include <stdio.h> #include "dirent.h" #include "unistd.h" #include <string> #include <map> #include <iostream> #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/core/core.hpp" #include "hough.h" //extern FILE *stdin; //extern FILE *stdout; //extern FILE *...
22.642384
145
0.598421
[ "vector", "transform" ]
da785e1281b9a311f746708aed5801c7916ec1d0
340
cpp
C++
src/Hello/Hello.cpp
NielsH12/cmake_template_project
cf7e28e44f9bdeaa6ac1ac5a6a38512b95795190
[ "MIT" ]
null
null
null
src/Hello/Hello.cpp
NielsH12/cmake_template_project
cf7e28e44f9bdeaa6ac1ac5a6a38512b95795190
[ "MIT" ]
null
null
null
src/Hello/Hello.cpp
NielsH12/cmake_template_project
cf7e28e44f9bdeaa6ac1ac5a6a38512b95795190
[ "MIT" ]
null
null
null
#include <iostream> #include <Math/Addition.hpp> #include <Math/Subtraction.hpp> #include <Transform/Transform.hpp> int main() { Transform t(2.0, 4.0, 5.0); std::cout << "Hello world 2" << std::endl; t.print(); std::cout << add(5,4) << std::endl; std::cout << subtract(5,4) << std::endl; ...
18.888889
46
0.570588
[ "transform" ]
da79278ba44c5f8832d0f6412edabb3729332a9a
37,113
cxx
C++
com/ole32/stg/simp/simpstm.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/ole32/stg/simp/simpstm.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/ole32/stg/simp/simpstm.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1994. // // File: simpstm.cxx // // Contents: CStdStream implementation // // Classes: // // Functions: // // History: 04-Aug-94 PhilipLa Created /...
29.039906
81
0.47897
[ "object" ]
da7a52481e3bb1ce0678337cc9e739b4ac32ef52
1,697
cxx
C++
Testing/Code/Review/itkQuadEdgem_NoPointTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Testing/Code/Review/itkQuadEdgem_NoPointTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/Review/itkQuadEdgem_NoPointTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkQuadEdgem_NoPointTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCopyrig...
34.632653
76
0.634649
[ "mesh" ]
da7d736df491ad34c290fb3488c082ddd5354710
3,301
cpp
C++
darkOsRsfs/darkOsRsfs/main.cpp
JeremyWildsmith/DCPUOS
6a2b893aebf0b38317fc4e2a403ff8020c99d202
[ "MIT" ]
3
2016-04-09T10:44:26.000Z
2018-09-29T08:34:52.000Z
darkOsRsfs/darkOsRsfs/main.cpp
ProjectStation13/DCPUOS
6a2b893aebf0b38317fc4e2a403ff8020c99d202
[ "MIT" ]
2
2017-06-24T06:37:21.000Z
2017-06-28T03:02:25.000Z
darkOsRsfs/darkOsRsfs/main.cpp
JeremyWildsmith/DCPUOS
6a2b893aebf0b38317fc4e2a403ff8020c99d202
[ "MIT" ]
1
2021-06-25T17:21:00.000Z
2021-06-25T17:21:00.000Z
// darkOsRsfs.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "DirectoryEntry.h" #include "FormattingException.h" #include "RsfsFormatter.h" #include "LafsFormatter.h" #include <vector> #include <string> #include <iostream> #include <fstream> #include <sstream> #include <mem...
27.739496
134
0.717358
[ "vector" ]
da89eb09e7c0afc2229719d81ad8ac552d6a5f70
17,099
cpp
C++
src/parsing/httpLexer.cpp
DataDriven-CAM/sylvan-pod-server
4e3d56d18d81e890782a39b04c38cc9788c2dfb8
[ "MIT" ]
null
null
null
src/parsing/httpLexer.cpp
DataDriven-CAM/sylvan-pod-server
4e3d56d18d81e890782a39b04c38cc9788c2dfb8
[ "MIT" ]
null
null
null
src/parsing/httpLexer.cpp
DataDriven-CAM/sylvan-pod-server
4e3d56d18d81e890782a39b04c38cc9788c2dfb8
[ "MIT" ]
null
null
null
// Generated from HTTP.g4 by ANTLR 4.8 #include "httpLexer.h" using namespace antlr4; using namespace sylvanmats; httpLexer::httpLexer(CharStream *input) : Lexer(input) { _interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA, _sharedContextCache); } httpLexer::~httpLexer() { delete _interpret...
55.516234
120
0.601965
[ "vector" ]