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
80cd9cfe6ac6d3f003dce74075c5d924f4dcfabd
4,048
cc
C++
cpp/src/arrow/pretty_print-test.cc
jimhester/arrow
ddda3039e6fb6a9d4f2c5b1189369204bfe1ea93
[ "Apache-2.0" ]
null
null
null
cpp/src/arrow/pretty_print-test.cc
jimhester/arrow
ddda3039e6fb6a9d4f2c5b1189369204bfe1ea93
[ "Apache-2.0" ]
null
null
null
cpp/src/arrow/pretty_print-test.cc
jimhester/arrow
ddda3039e6fb6a9d4f2c5b1189369204bfe1ea93
[ "Apache-2.0" ]
1
2019-06-27T22:17:43.000Z
2019-06-27T22:17:43.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
33.733333
84
0.704051
[ "vector" ]
80d367f40e7b66e2df7378bf56b9690cb58f7753
13,955
cpp
C++
first-c++-impl/src/ast.cpp
jtolds/pants-lang
33d0a4238598af12068f650edb6d72766ca180ec
[ "MIT" ]
5
2015-04-28T02:13:22.000Z
2017-11-25T07:41:21.000Z
first-c++-impl/src/ast.cpp
jtolds/pants-lang
33d0a4238598af12068f650edb6d72766ca180ec
[ "MIT" ]
null
null
null
first-c++-impl/src/ast.cpp
jtolds/pants-lang
33d0a4238598af12068f650edb6d72766ca180ec
[ "MIT" ]
null
null
null
#include "ast.h" std::string pants::ast::Application::format() const { std::ostringstream os; os << "Application("; for(unsigned int i = 0; i < terms.size(); ++i) { if(i > 0) os << ", "; os << terms[i]->format(); } os << ")"; return os.str(); } std::string pants::ast::Mutation::format() const { ...
32.154378
80
0.616267
[ "object", "vector" ]
80d468bab9cc5570db384547ce8ab32aa83bc500
6,417
cpp
C++
src/caffe/SSD/prior_rbox_layer.cpp
xyt2008/frcnn
32a559e881cceeba09a90ff45ad4aae1dabf92a1
[ "BSD-2-Clause" ]
198
2018-01-07T13:44:29.000Z
2022-03-21T12:06:16.000Z
src/caffe/SSD/prior_rbox_layer.cpp
xyt2008/frcnn
32a559e881cceeba09a90ff45ad4aae1dabf92a1
[ "BSD-2-Clause" ]
18
2018-02-01T13:24:53.000Z
2021-04-26T10:51:47.000Z
src/caffe/SSD/prior_rbox_layer.cpp
xyt2008/frcnn
32a559e881cceeba09a90ff45ad4aae1dabf92a1
[ "BSD-2-Clause" ]
82
2018-01-06T14:21:43.000Z
2022-02-16T09:39:58.000Z
#include <algorithm> #include <functional> #include <utility> #include <vector> #include "prior_rbox_layer.hpp" //#include "caffe/layers/prior_rbox_layer.hpp" namespace caffe { template <typename Dtype> void PriorRBoxLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) ...
33.773684
126
0.653265
[ "vector" ]
80d85832505c1fb32d6cf1e00b382be466ff3d5f
33,434
cpp
C++
arangosh/V8Client/arangorestore.cpp
asaaki/ArangoDB
a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82
[ "Apache-2.0" ]
15
2019-08-08T02:06:36.000Z
2019-10-15T17:52:58.000Z
arangosh/V8Client/arangorestore.cpp
asaaki/ArangoDB
a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82
[ "Apache-2.0" ]
null
null
null
arangosh/V8Client/arangorestore.cpp
asaaki/ArangoDB
a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// @brief arango restore tool /// /// @file /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "Lic...
32.972387
141
0.482862
[ "vector" ]
80dd9f0be2f15e4001947a68d9ae400d0cc9f892
19,403
cpp
C++
cvt/vision/Vision.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
11
2017-04-04T16:38:31.000Z
2021-08-04T11:31:26.000Z
cvt/vision/Vision.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
null
null
null
cvt/vision/Vision.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
8
2016-04-11T00:58:27.000Z
2022-02-22T07:35:40.000Z
/* The MIT License (MIT) Copyright (c) 2011 - 2013, Philipp Heise and Sebastian Klose 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 limitat...
34.402482
177
0.46132
[ "vector", "transform" ]
80e00602991a247f23b01c1fe695a988189240a2
73,847
cpp
C++
assignment-client/src/octree/OctreeServer.cpp
GeorgeDeac/project-athena
0fb1f374506ac0ecf51b00d1bfba2b4f224823f0
[ "Apache-2.0" ]
14
2020-02-23T12:51:54.000Z
2021-11-14T17:09:34.000Z
assignment-client/src/octree/OctreeServer.cpp
GeorgeDeac/project-athena
0fb1f374506ac0ecf51b00d1bfba2b4f224823f0
[ "Apache-2.0" ]
2
2018-11-01T02:16:43.000Z
2018-11-16T00:45:44.000Z
assignment-client/src/octree/OctreeServer.cpp
GeorgeDeac/project-athena
0fb1f374506ac0ecf51b00d1bfba2b4f224823f0
[ "Apache-2.0" ]
5
2020-04-02T09:42:00.000Z
2021-03-15T00:54:07.000Z
// // OctreeServer.cpp // assignment-client/src/octree // // Created by Brad Hefta-Gaub on 9/16/13. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "OctreeServer.h" ...
46.976463
138
0.635056
[ "object" ]
80e5f57eb39b60baf3a0ce424e3127d967dc7035
17,295
cpp
C++
Adafruit_GPS.cpp
srob1/Adafruit_GPS
e214a45ed6bd974adf71f3fb91586facb327eaf8
[ "BSD-3-Clause" ]
null
null
null
Adafruit_GPS.cpp
srob1/Adafruit_GPS
e214a45ed6bd974adf71f3fb91586facb327eaf8
[ "BSD-3-Clause" ]
null
null
null
Adafruit_GPS.cpp
srob1/Adafruit_GPS
e214a45ed6bd974adf71f3fb91586facb327eaf8
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************/ /*! @file Adafruit_GPS.cpp @mainpage Adafruit Ultimate GPS Breakout @section intro Introduction This is the Adafruit GPS library - the ultimate GPS library for the ultimate GPS module! Tested and works great with the Adafruit U...
28.167752
144
0.494131
[ "object" ]
80e8370b93512f01d5bf0015ffa1557818cab09b
30,941
cpp
C++
tests/benchmark.cpp
sharm294/shoal
db7dd08a70882585fb9740a39b57b4b7a48b3081
[ "MIT" ]
1
2021-04-12T06:41:33.000Z
2021-04-12T06:41:33.000Z
tests/benchmark.cpp
UofT-HPRC/shoal
db7dd08a70882585fb9740a39b57b4b7a48b3081
[ "MIT" ]
null
null
null
tests/benchmark.cpp
UofT-HPRC/shoal
db7dd08a70882585fb9740a39b57b4b7a48b3081
[ "MIT" ]
null
null
null
// #ifndef __HLS__ // #define __HLS__ // #endif #include <cstddef> // needed to resolve ::max_align_t errors #include <cstring> #include "benchmark.hpp" #include "ap_utils.h" #ifndef __HLS__ #include <iostream> #include <fstream> // To use ifstream #endif enum instruction_t{ load, short_latency, medium_latency, l...
32.811241
134
0.557771
[ "object", "vector" ]
80ea28d3709fc50c5675eba773f5e3498e12afc5
8,114
cxx
C++
Modules/Numerics/Optimizers/test/itkVersorTransformOptimizerTest.cxx
HongdaZ/ITK
f5d004fa3607b8e11edc30f1ba299df35af8aff8
[ "Apache-2.0" ]
1
2021-01-10T14:19:08.000Z
2021-01-10T14:19:08.000Z
Modules/Numerics/Optimizers/test/itkVersorTransformOptimizerTest.cxx
HongdaZ/ITK
f5d004fa3607b8e11edc30f1ba299df35af8aff8
[ "Apache-2.0" ]
1
2017-03-19T12:56:50.000Z
2018-10-24T10:40:21.000Z
Modules/Numerics/Optimizers/test/itkVersorTransformOptimizerTest.cxx
HongdaZ/ITK
f5d004fa3607b8e11edc30f1ba299df35af8aff8
[ "Apache-2.0" ]
1
2020-07-24T22:58:19.000Z
2020-07-24T22:58:19.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
26.956811
94
0.681292
[ "vector" ]
80edf3f10b0691f0eb471938cf968f761fc414ea
16,472
cpp
C++
src/Parser/source/expression_tree_parser.cpp
AitzazImtiaz/ubiquit
3e7602d4e01a102e6036b7b9cd076893ca242bcb
[ "MIT" ]
2
2021-06-27T07:29:09.000Z
2022-03-09T12:33:48.000Z
src/Parser/source/expression_tree_parser.cpp
AitzazImtiaz/ubiquit
3e7602d4e01a102e6036b7b9cd076893ca242bcb
[ "MIT" ]
10
2021-06-26T13:43:34.000Z
2022-03-09T12:34:55.000Z
src/Parser/source/expression_tree_parser.cpp
AitzazImtiaz/ubiquit
3e7602d4e01a102e6036b7b9cd076893ca242bcb
[ "MIT" ]
3
2021-06-26T13:34:18.000Z
2022-03-09T11:40:42.000Z
#include "expression_tree_parser.hpp" #include "expression_tree.hpp" #include "tokenizer.hpp" #include "errors.hpp" #include <stack> namespace ubiquit { namespace { enum struct operator_precedence { postfix, prefix, multiplication, addition, shift, comparison, equality, bitwise_and, bitwi...
36.767857
132
0.690687
[ "vector" ]
80ee46814f8ac2e36146934eaeb2f18d9fdd95a6
1,234
cpp
C++
leetcode-cpp/SpecialPositionsinaBinaryMatrix_1582.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
leetcode-cpp/SpecialPositionsinaBinaryMatrix_1582.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
leetcode-cpp/SpecialPositionsinaBinaryMatrix_1582.cpp
emacslisp/cpp
8230f81117d6f64adaa1696b0943cdb47505335a
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <iostream> #include <climits> #include <algorithm> #include <queue> #include <stack> #include <map> #define Max(a, b) a > b ? a : b #define Min(a, b) a < b ? a : b using namespace std; class Solution { public: int numSpecial(vector<vector<int>>& mat) { vector<int> r; v...
20.229508
62
0.424635
[ "vector" ]
80f04b34e738d73556a948368538051c9d47f46a
4,205
hpp
C++
deprecated-code/Ajisai/Math/Bounds.hpp
siyuanpan/ajisai_render
203d79235bf698c1a4a747be291c0f3050b213da
[ "MIT" ]
null
null
null
deprecated-code/Ajisai/Math/Bounds.hpp
siyuanpan/ajisai_render
203d79235bf698c1a4a747be291c0f3050b213da
[ "MIT" ]
null
null
null
deprecated-code/Ajisai/Math/Bounds.hpp
siyuanpan/ajisai_render
203d79235bf698c1a4a747be291c0f3050b213da
[ "MIT" ]
null
null
null
#ifndef AJISAI_MATH_BOUNDS_H_ #define AJISAI_MATH_BOUNDS_H_ /* Copyright 2021 Siyuan Pan <pansiyuan.cs@gmail.com> 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 wit...
32.596899
80
0.674435
[ "vector" ]
80f072dfc88c73faaf55d2439ccc36e3a9259bc9
560
cpp
C++
LeetCode/Solutions/LC0416.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
LeetCode/Solutions/LC0416.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
LeetCode/Solutions/LC0416.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://leetcode.com/problems/partition-equal-subset-sum/ Time: O(n • sum) Space: O(sum) Author: Mohammed Shoaib, github.com/Mohammed-Shoaib */ class Solution { public: bool canPartition(vector<int>& nums) { int n, sum; n = nums.size(); sum = accumulate(nums.begin(), nums.end(), 0); vect...
19.310345
76
0.596429
[ "vector" ]
80f6eda3ec9166170cfda0bc3a1f4e87ccf771b3
8,328
cpp
C++
python/bindings/PyCamera.cpp
imrisaac/jetson-utils
0f174e0ccb6cc793efc684e4eae84bbd23907cbc
[ "MIT" ]
372
2018-02-01T17:48:42.000Z
2022-03-30T08:26:10.000Z
python/bindings/PyCamera.cpp
imrisaac/jetson-utils
0f174e0ccb6cc793efc684e4eae84bbd23907cbc
[ "MIT" ]
102
2018-08-19T18:26:05.000Z
2022-03-31T18:18:03.000Z
python/bindings/PyCamera.cpp
imrisaac/jetson-utils
0f174e0ccb6cc793efc684e4eae84bbd23907cbc
[ "MIT" ]
198
2018-02-13T02:19:00.000Z
2022-03-26T00:11:59.000Z
/* * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights ...
27.852843
138
0.697406
[ "object" ]
80fbbf6dfa453ff6e331b31bce12496ddcb5966f
2,951
cc
C++
tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables_test_pass.cc
rthadur/tensorflow
c7add40440d653257973809893cde564e5e6061b
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables_test_pass.cc
rthadur/tensorflow
c7add40440d653257973809893cde564e5e6061b
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables_test_pass.cc
rthadur/tensorflow
c7add40440d653257973809893cde564e5e6061b
[ "Apache-2.0" ]
null
null
null
/* 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...
35.130952
86
0.742121
[ "model" ]
80fde191bd3c1d336772fa8b8524455c957dcbcc
33,586
cpp
C++
unittests/VMRuntime/ObjectModelTest.cpp
amiralies/hermes
f041ad442650d77f4e5efc4577c8b42039c44989
[ "MIT" ]
null
null
null
unittests/VMRuntime/ObjectModelTest.cpp
amiralies/hermes
f041ad442650d77f4e5efc4577c8b42039c44989
[ "MIT" ]
null
null
null
unittests/VMRuntime/ObjectModelTest.cpp
amiralies/hermes
f041ad442650d77f4e5efc4577c8b42039c44989
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "TestHelpers.h" #include "hermes/BCGen/HBC/BytecodeGenerator.h" #include "hermes/VM/JSDate.h" using namespace hermes::hb...
36.506522
80
0.707735
[ "object", "vector" ]
44029cb97eb3985bb07ed8e69be41fc6d4943746
2,678
cpp
C++
libs/api_common/api_common.cpp
Mu-L/ebpf-for-windows
18456999b7e8ef04357299e13c29eadf3cb9043a
[ "MIT" ]
1
2021-07-16T05:09:57.000Z
2021-07-16T05:09:57.000Z
libs/api_common/api_common.cpp
maojun1998/ebpf-for-windows
266578ee633d1d0f3fa70a08af7f7bada10b47de
[ "MIT" ]
null
null
null
libs/api_common/api_common.cpp
maojun1998/ebpf-for-windows
266578ee633d1d0f3fa70a08af7f7bada10b47de
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation // SPDX-License-Identifier: MIT #include <stdint.h> #include <string> #include <vector> #include <Windows.h> #include "api_common.hpp" #include "ebpf_protocol.h" #include "ebpf_result.h" #include "device_helper.hpp" #include "ebpf_verifier_wrapper.hpp" thread_local static cons...
26.78
119
0.722554
[ "vector" ]
440357c1477f2d23a5d12c89f5bc8af6924244fb
5,231
cpp
C++
src/Menus/GameOverMenu.cpp
MatheusBurda/Desert
42b0cdcc32bebce01ae45b249ad3ef53bfeebdbc
[ "MIT" ]
null
null
null
src/Menus/GameOverMenu.cpp
MatheusBurda/Desert
42b0cdcc32bebce01ae45b249ad3ef53bfeebdbc
[ "MIT" ]
null
null
null
src/Menus/GameOverMenu.cpp
MatheusBurda/Desert
42b0cdcc32bebce01ae45b249ad3ef53bfeebdbc
[ "MIT" ]
null
null
null
#include "Menus/GameOverMenu.h" #define BACKGROUND_PATH "./assets/Backgrounds/MenuBackground.png" #define LEADERBOARD_PATH "./saves/Leaderboard.txt" #include <fstream> #include <map> namespace Menus { GameOverMenu::GameOverMenu(States::StateMachine* pSM, States::Level* plvl) : Menu(), State(pSM, States:...
33.318471
156
0.562608
[ "render" ]
440d2de42f017961a4cfbad16617567e5663ec8d
1,739
cpp
C++
dice_rng.cpp
jsrankin-com/DiceRNG
8849c8ea5187d913cc2ac8ca84beb856d5a43b03
[ "MIT" ]
null
null
null
dice_rng.cpp
jsrankin-com/DiceRNG
8849c8ea5187d913cc2ac8ca84beb856d5a43b03
[ "MIT" ]
null
null
null
dice_rng.cpp
jsrankin-com/DiceRNG
8849c8ea5187d913cc2ac8ca84beb856d5a43b03
[ "MIT" ]
null
null
null
// ************************EIGHTY CHARACTER CODING AREA*************************// LANDSCAPE COMMENT SECTION LENGTH /* _______. dice_rng.cpp ______ | . . |\ dice_rng.h / /\ | . |.\ Creates an object that acts as a cubical / ' / \ | . . |.'| 6-sided die. The die can be rolled by either /_____/. ...
22.294872
115
0.627372
[ "object", "vector" ]
440f9966b3c60d0e08620877af980f480f9d4039
6,369
cpp
C++
engine/runtime/rendering/generator/convex_polygon_mesh.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
791
2016-11-04T14:13:41.000Z
2022-03-20T20:47:31.000Z
engine/runtime/rendering/generator/convex_polygon_mesh.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
28
2016-12-01T05:59:30.000Z
2021-03-20T09:49:26.000Z
engine/runtime/rendering/generator/convex_polygon_mesh.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
151
2016-12-21T09:44:43.000Z
2022-03-31T13:42:18.000Z
#include "convex_polygon_mesh.hpp" #include "circle_shape.hpp" #include "iterator.hpp" using namespace generator; convex_polygon_mesh_t::triangles_t::triangles_t(const convex_polygon_mesh_t& mesh) noexcept : mesh_{&mesh} , odd_{false} , segment_index_{0} , side_index_{0} , ring_index_{0} { } bool convex_polygo...
21.301003
104
0.682682
[ "mesh", "vector" ]
44100230bf8f15d9898e497a68f0dddbe9fba675
12,307
cpp
C++
clients/tests/multithread_test.cpp
alexshuang/rocFFT
48d3d7daead41463efcec80f988408be812ecaf7
[ "MIT" ]
null
null
null
clients/tests/multithread_test.cpp
alexshuang/rocFFT
48d3d7daead41463efcec80f988408be812ecaf7
[ "MIT" ]
null
null
null
clients/tests/multithread_test.cpp
alexshuang/rocFFT
48d3d7daead41463efcec80f988408be812ecaf7
[ "MIT" ]
null
null
null
// Copyright (c) 2020 - present Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the r...
35.880466
100
0.583408
[ "vector", "transform" ]
4418cc2364e3126202a1915ff4e8d7bec2aec467
2,452
cpp
C++
Marlin/src/HAL/HAL_LPC1768/watchdog.cpp
s3abrz/s3abrz_FLSUN-Kossel-Mini-skr-v1.3
dddee88d748162ed48fd9dd5351ce8953746325f
[ "MIT" ]
1
2019-07-25T16:09:15.000Z
2019-07-25T16:09:15.000Z
Marlin/src/HAL/HAL_LPC1768/watchdog.cpp
s3abrz/s3abrz_FLSUN-Kossel-Mini-skr-v1.3
dddee88d748162ed48fd9dd5351ce8953746325f
[ "MIT" ]
null
null
null
Marlin/src/HAL/HAL_LPC1768/watchdog.cpp
s3abrz/s3abrz_FLSUN-Kossel-Mini-skr-v1.3
dddee88d748162ed48fd9dd5351ce8953746325f
[ "MIT" ]
null
null
null
/** * Marlin 3D Printer Firmware * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
28.847059
93
0.730832
[ "3d" ]
4418d7eaab60a7d97a3ceea06d39d495cd8ab1b0
46,431
cpp
C++
src/pyglue/PyConfig.cpp
mjmvisser/OpenColorIO
a557a85454ee1ffa8cb66f8a96238e079c452f08
[ "BSD-3-Clause" ]
4
2015-02-25T21:54:11.000Z
2020-12-22T13:58:27.000Z
src/pyglue/PyConfig.cpp
dictoon/OpenColorIO
64adcad300adfd166280d2e7b1fb5c3ce7dca482
[ "BSD-3-Clause" ]
null
null
null
src/pyglue/PyConfig.cpp
dictoon/OpenColorIO
64adcad300adfd166280d2e7b1fb5c3ce7dca482
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2003-2010 Sony Pictures Imageworks Inc., et al. 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 co...
44.431579
121
0.588335
[ "vector", "transform" ]
441ccd98a0710cde0ac9dfd87534bfe081e74189
5,248
cpp
C++
qubus/src/object_factory.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/src/object_factory.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/src/object_factory.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
#include <qubus/object_factory.hpp> #include <qubus/util/integers.hpp> #include <utility> using server_type = hpx::components::component<qubus::object_factory_server>; HPX_REGISTER_COMPONENT(server_type, qubus_object_factory_server); using create_scalar_action = qubus::object_factory_server::create_scalar_action; H...
39.757576
100
0.711319
[ "object", "shape", "vector" ]
441cf4983be67c7673bd89afad944abc0bbd4ea4
40,176
cpp
C++
src/core/eventProvider.cpp
dkorkmazturk/pal
1e1f052a1614dae62ad98048d140a7d22e71b1a6
[ "MIT" ]
null
null
null
src/core/eventProvider.cpp
dkorkmazturk/pal
1e1f052a1614dae62ad98048d140a7d22e71b1a6
[ "MIT" ]
null
null
null
src/core/eventProvider.cpp
dkorkmazturk/pal
1e1f052a1614dae62ad98048d140a7d22e71b1a6
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2019-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
41.4613
126
0.614247
[ "mesh", "geometry", "object" ]
441ff3ba566de4f35daf766f1fe7e10efa79f19c
17,549
cc
C++
src/modules/desktop_capture/win/wgc_capturer_win_unittest.cc
ilya-fedin/tg_owt
d5c3d43b959c7e9e7d8004b9b7fdadd12ce7d589
[ "BSD-3-Clause" ]
162
2018-04-03T04:29:45.000Z
2022-03-30T19:41:27.000Z
src/modules/desktop_capture/win/wgc_capturer_win_unittest.cc
ilya-fedin/tg_owt
d5c3d43b959c7e9e7d8004b9b7fdadd12ce7d589
[ "BSD-3-Clause" ]
59
2020-08-24T09:17:42.000Z
2022-02-27T23:33:37.000Z
src/modules/desktop_capture/win/wgc_capturer_win_unittest.cc
ilya-fedin/tg_owt
d5c3d43b959c7e9e7d8004b9b7fdadd12ce7d589
[ "BSD-3-Clause" ]
62
2018-03-26T08:38:18.000Z
2022-03-14T02:29:47.000Z
/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
34.477407
80
0.721409
[ "vector" ]
4424e621760d41d309475640a87490f0ba9b3ea0
6,364
cpp
C++
src/energyplus/Test/AirConditionerVariableRefrigerantFlow_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/Test/AirConditionerVariableRefrigerantFlow_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/Test/AirConditionerVariableRefrigerantFlow_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
35.160221
143
0.710088
[ "vector", "model" ]
44292a0eced8eecd2f13caedbf34c787b5c761e0
4,889
hpp
C++
include/OggVorbisEncoder/Lookups/EnvelopeLookup_--c.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/OggVorbisEncoder/Lookups/EnvelopeLookup_--c.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/OggVorbisEncoder/Lookups/EnvelopeLookup_--c.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "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" // Including type: OggVorbisEncoder.Lookups.EnvelopeLo...
55.556818
244
0.741256
[ "object", "vector" ]
442df3a492f3a5374daa90d40b124f3dfcfa6822
13,066
cpp
C++
src/game/client/c_ai_basenpc.cpp
LillyWho/TF2HLCoop
04d572fbf7da76c7d4e8f9481bad5a27b5406203
[ "Unlicense" ]
2
2019-04-08T00:09:06.000Z
2020-11-22T23:12:30.000Z
src/game/client/c_ai_basenpc.cpp
Kenzzer/TF2HLCoop
86097fe5c7f097fbfff4b3c394280cc53c2cadf9
[ "Unlicense" ]
null
null
null
src/game/client/c_ai_basenpc.cpp
Kenzzer/TF2HLCoop
86097fe5c7f097fbfff4b3c394280cc53c2cadf9
[ "Unlicense" ]
1
2021-05-01T15:43:17.000Z
2021-05-01T15:43:17.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "c_ai_basenpc.h" #include "engine/ivdebugoverlay.h" #if defined( HL2_DLL ) || defined( HL2_EPIS...
26.342742
141
0.61174
[ "vector" ]
442e0f4af495b43ac359ac71713f509a13d06fa9
2,226
cpp
C++
c++/centroid_decomposition.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
38
2018-09-17T18:16:24.000Z
2022-02-10T10:26:23.000Z
c++/centroid_decomposition.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
1
2020-10-01T10:48:45.000Z
2020-10-04T11:27:44.000Z
c++/centroid_decomposition.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
12
2018-11-13T13:36:41.000Z
2021-05-02T10:07:44.000Z
/// Name: CentroidDecomposition /// Description: Finds the parent of all vertices in centroid decomposed tree /// Detail: Graph, Centroid, Graph decomposition /// Guarantee: CentroidDecomposition void getCentroid(int& centroid, int idx, int subtreeSize, vector< vector< int > >&tree, vector< bool >&visited, vector...
34.246154
171
0.596586
[ "vector" ]
442f7967f612f85ef3e52ae9c280c53c3692be26
5,071
cpp
C++
test/yulPhaser/Chromosome.cpp
MrChico/solidity
5b4ea1eb895d5edc9a24ee5c6f96d8580eceec08
[ "MIT" ]
null
null
null
test/yulPhaser/Chromosome.cpp
MrChico/solidity
5b4ea1eb895d5edc9a24ee5c6f96d8580eceec08
[ "MIT" ]
1
2020-06-17T14:24:49.000Z
2020-06-17T14:24:49.000Z
test/yulPhaser/Chromosome.cpp
step21/solidity
2a0d701f709673162e8417d2f388b8171a34e892
[ "MIT" ]
null
null
null
/* This file is part of solidity. solidity is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. solidity is distributed in the hope that i...
32.299363
101
0.791363
[ "vector" ]
4435691b129cb9384681595d65345fa251189b13
42,057
cc
C++
modules/mod_shell_reports.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
119
2016-04-14T14:16:22.000Z
2022-03-08T20:24:38.000Z
modules/mod_shell_reports.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
9
2017-04-26T20:48:42.000Z
2021-09-07T01:52:44.000Z
modules/mod_shell_reports.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
51
2016-07-20T05:06:48.000Z
2022-03-09T01:20:53.000Z
/* * Copyright (c) 2018, 2020, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with certain software (in...
32.301843
80
0.593718
[ "object", "vector", "transform" ]
4435ba9bf8b87a7cd350aa3306a78e77f53eaf40
983
hpp
C++
src/armnn/layers/ReshapeLayer.hpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/layers/ReshapeLayer.hpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/layers/ReshapeLayer.hpp
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. // #pragma once #include "LayerWithParameters.hpp" namespace armnn { class ReshapeLayer : public LayerWithParameters<ReshapeDescriptor> { public: virtual std::unique_ptr<IWorkload> CreateWor...
28.085714
120
0.728383
[ "vector" ]
443cc1686b64bf54fc553da784c253bf0815fd83
5,634
cpp
C++
searchcore/src/tests/proton/matching/termdataextractor_test.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,054
2017-08-11T07:58:38.000Z
2022-03-31T22:32:15.000Z
searchcore/src/tests/proton/matching/termdataextractor_test.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,854
2017-08-10T20:19:25.000Z
2022-03-31T19:04:23.000Z
searchcore/src/tests/proton/matching/termdataextractor_test.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
541
2017-08-10T18:51:18.000Z
2022-03-11T03:18:56.000Z
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. // Unit tests for TermDataExtractor. #include <vespa/log/log.h> LOG_SETUP("termdataextractor_test"); #include <vespa/searchcore/proton/matching/querynodes.h> #include <vespa/searchcore/proton/matching/resolveviewv...
37.065789
107
0.713703
[ "vector" ]
443e3c2717e2599ff22a71804c922f4ed7c601f6
16,571
cpp
C++
host/errors/src/host.cpp
mariodruiz/Vitis_Accel_Examples
1fc7747d8892c5c72d33c2063a7b8e11af3c1447
[ "Apache-2.0" ]
null
null
null
host/errors/src/host.cpp
mariodruiz/Vitis_Accel_Examples
1fc7747d8892c5c72d33c2063a7b8e11af3c1447
[ "Apache-2.0" ]
1
2020-10-23T06:50:31.000Z
2020-10-23T06:50:31.000Z
host/errors/src/host.cpp
mariodruiz/Vitis_Accel_Examples
1fc7747d8892c5c72d33c2063a7b8e11af3c1447
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2020 Xilinx, Inc * * 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
40.220874
118
0.647698
[ "object", "vector" ]
44412da126f6a3202c823c4a58e958c54b804f8d
1,865
cpp
C++
thrift/lib/cpp2/protocol/test/F14RoundTripTest.cpp
maalbash/fbthrift
9d2c799d228cb0dce931ddde9ce339db53f2d8e9
[ "Apache-2.0" ]
null
null
null
thrift/lib/cpp2/protocol/test/F14RoundTripTest.cpp
maalbash/fbthrift
9d2c799d228cb0dce931ddde9ce339db53f2d8e9
[ "Apache-2.0" ]
null
null
null
thrift/lib/cpp2/protocol/test/F14RoundTripTest.cpp
maalbash/fbthrift
9d2c799d228cb0dce931ddde9ce339db53f2d8e9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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...
30.57377
75
0.730831
[ "vector" ]
444192abed4953ea29a290c50a071ca43bd324cc
10,685
cc
C++
lib/NS3/src/core/model/object-base.cc
HauserV/madv
588f24b1bcbc66946526ea2768629c778a8d8dfb
[ "MIT" ]
null
null
null
lib/NS3/src/core/model/object-base.cc
HauserV/madv
588f24b1bcbc66946526ea2768629c778a8d8dfb
[ "MIT" ]
null
null
null
lib/NS3/src/core/model/object-base.cc
HauserV/madv
588f24b1bcbc66946526ea2768629c778a8d8dfb
[ "MIT" ]
null
null
null
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * * 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 Free Software Foundation; * * This program is distributed...
30.704023
141
0.593262
[ "object" ]
444314cbc9a0615e7ac9359815bd4ef1ec9d11c8
2,696
cpp
C++
src/Interface.cpp
Lw-Cui/Computer-Graphic
c1a6d777b40c250f2449e112255afa72c08b9249
[ "MIT" ]
null
null
null
src/Interface.cpp
Lw-Cui/Computer-Graphic
c1a6d777b40c250f2449e112255afa72c08b9249
[ "MIT" ]
null
null
null
src/Interface.cpp
Lw-Cui/Computer-Graphic
c1a6d777b40c250f2449e112255afa72c08b9249
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #include <Line.hpp> using namespace std; using namespace sf; using namespace graphics; int main() { // create the window sf::RenderWindow window(sf::VideoMode(800, 600), "Computer Graphics"); std::vector<sf::Verte...
40.848485
97
0.526706
[ "shape", "vector", "transform" ]
44466844396e4e072932e385a8aed9bbe9190fa4
629
hpp
C++
rnctools/include/StatisticsSimple.hpp
Red9/server-core
da3db0ee76d07e8731b3b67d4e7624b288ffcc67
[ "MIT" ]
null
null
null
rnctools/include/StatisticsSimple.hpp
Red9/server-core
da3db0ee76d07e8731b3b67d4e7624b288ffcc67
[ "MIT" ]
null
null
null
rnctools/include/StatisticsSimple.hpp
Red9/server-core
da3db0ee76d07e8731b3b67d4e7624b288ffcc67
[ "MIT" ]
null
null
null
#include "RNCStreamProcessor.hpp" #include "Sensor.hpp" #include "AxisStatistics.hpp" #include "rapidjson/writer.h" #include "JSONOutput.hpp" #ifndef RED9_SRLM_STATISTICSSIMPLE_HPP__ #define RED9_SRLM_STATISTICSSIMPLE_HPP__ class StatisticsSimple : public RNCStreamProcessor, public JSONOutput { private: Sensor *...
22.464286
74
0.772655
[ "vector" ]
444c633113224aa90180e7eee9e7de295deb0a1d
173
cpp
C++
src/behaviour-tree/tasks/task-idle.cpp
xterminal86/nrogue
1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f
[ "MIT" ]
7
2019-03-05T05:32:13.000Z
2022-01-10T10:06:47.000Z
src/behaviour-tree/tasks/task-idle.cpp
xterminal86/nrogue
1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f
[ "MIT" ]
2
2020-01-19T16:43:51.000Z
2021-12-16T14:54:56.000Z
src/behaviour-tree/tasks/task-idle.cpp
xterminal86/nrogue
1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f
[ "MIT" ]
null
null
null
#include "task-idle.h" #include "game-object.h" BTResult TaskIdle::Run() { //DebugLog("[TaskIdle]\n"); _objectToControl->FinishTurn(); return BTResult::Success; }
13.307692
33
0.676301
[ "object" ]
445069366e4a2795a4631bd92d0b05309d8a32a7
20,665
cc
C++
chromium/ui/gfx/color_analysis.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
chromium/ui/gfx/color_analysis.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
chromium/ui/gfx/color_analysis.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
// Copyright (c) 2012 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 "ui/gfx/color_analysis.h" #include <limits.h> #include <stdint.h> #include <algorithm> #include <limits> #include <vector> #include "base/...
35.264505
80
0.61713
[ "vector", "transform" ]
445196e43d713d0216839dfe8d3c520e29ba210e
2,626
cpp
C++
src/wamr/codegen.cpp
faasm/faasm
bc8f4cac582a159166d7368fa751ac55b670d33c
[ "Apache-2.0" ]
278
2020-10-01T16:37:06.000Z
2022-03-31T07:06:01.000Z
src/wamr/codegen.cpp
faasm/faasm
bc8f4cac582a159166d7368fa751ac55b670d33c
[ "Apache-2.0" ]
78
2020-10-01T18:46:16.000Z
2022-03-18T15:39:03.000Z
src/wamr/codegen.cpp
faasm/faasm
bc8f4cac582a159166d7368fa751ac55b670d33c
[ "Apache-2.0" ]
24
2020-10-21T18:45:48.000Z
2022-03-26T08:59:41.000Z
#include <faabric/util/files.h> #include <faabric/util/logging.h> #include <wamr/WAMRWasmModule.h> #include <boost/filesystem.hpp> #include <boost/filesystem/operations.hpp> #include <stdexcept> #include <aot_export.h> #include <wasm_export.h> namespace wasm { std::vector<uint8_t> wamrCodegen(std::vector<uint8_t>& w...
31.261905
80
0.671363
[ "object", "vector" ]
44525eb52df3c46981444448644293bdac81e4a4
23,463
cpp
C++
codec/h264_enc/src/umc_h264_tables.cpp
viticm/ipp-media
1d942e8b04ce1e4e02787e2f451b2091061e1b4d
[ "MIT" ]
1
2022-03-02T20:23:13.000Z
2022-03-02T20:23:13.000Z
codec/h264_enc/src/umc_h264_tables.cpp
viticm/ipp-media
1d942e8b04ce1e4e02787e2f451b2091061e1b4d
[ "MIT" ]
null
null
null
codec/h264_enc/src/umc_h264_tables.cpp
viticm/ipp-media
1d942e8b04ce1e4e02787e2f451b2091061e1b4d
[ "MIT" ]
null
null
null
// // INTEL CORPORATION PROPRIETARY INFORMATION // This software is supplied under the terms of a license agreement or // nondisclosure agreement with Intel Corporation and may not be copied // or disclosed except in accordance with the terms of that agreement. // Copyright (c) 2004 - 2012 Intel...
36.376744
252
0.581341
[ "vector", "transform" ]
445daa4024f2b81bb3682c90abf8bf330634a7a2
13,606
cc
C++
contrib/splitSpectrum/src/splitRangeSpectrum.cc
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
1,133
2022-01-07T21:24:57.000Z
2022-01-07T21:33:08.000Z
contrib/splitSpectrum/src/splitRangeSpectrum.cc
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
276
2019-02-10T07:18:28.000Z
2022-03-31T21:45:55.000Z
contrib/splitSpectrum/src/splitRangeSpectrum.cc
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
235
2019-02-10T05:00:53.000Z
2022-03-18T07:37:24.000Z
/**\file splitRangeSpectrum.cc * \author Heresh Fattahi. * */ #include "splitRangeSpectrum.h" #include <gdal.h> #include <gdal_priv.h> #include <iostream> #include <complex> #include <vector> #include <fftw3.h> #include <math.h> #include "common.h" using namespace std; const float PI = std::acos(-1); const std::co...
31.715618
201
0.602455
[ "vector" ]
445f0c66f24d898c3c7811ee0c0be3965e15650f
2,627
hpp
C++
STest/STest/Scenario/BoundedScenario.hpp
WaterBubbles/fprime
dfb1e72bfbe4f21c0014bf78d762fddb3b5c39a1
[ "Apache-2.0" ]
2
2021-02-23T06:56:03.000Z
2021-02-23T07:03:53.000Z
STest/STest/Scenario/BoundedScenario.hpp
WaterBubbles/fprime
dfb1e72bfbe4f21c0014bf78d762fddb3b5c39a1
[ "Apache-2.0" ]
9
2021-02-21T07:27:44.000Z
2021-02-21T07:27:58.000Z
STest/STest/Scenario/BoundedScenario.hpp
WaterBubbles/fprime
dfb1e72bfbe4f21c0014bf78d762fddb3b5c39a1
[ "Apache-2.0" ]
3
2020-09-05T18:17:21.000Z
2020-11-15T04:06:24.000Z
// ====================================================================== // \title BoundedScenario.hpp // \author bocchino // \brief Run a scenario, bounding the number of steps // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship /...
28.247312
80
0.486867
[ "object" ]
445f931802863b7e50baa65bf31225e5768de717
4,486
cpp
C++
threshsign/test/TestLagrange.cpp
sync-bft/concord-bft
423db97caf10681e38527dd9d78e668dd016a7e9
[ "Apache-2.0" ]
1
2019-07-16T14:54:58.000Z
2019-07-16T14:54:58.000Z
threshsign/test/TestLagrange.cpp
yuliasherman/concord-bft
81c5278828c4d05f4822087659decd4a926e85c9
[ "Apache-2.0" ]
null
null
null
threshsign/test/TestLagrange.cpp
yuliasherman/concord-bft
81c5278828c4d05f4822087659decd4a926e85c9
[ "Apache-2.0" ]
1
2020-12-06T21:02:03.000Z
2020-12-06T21:02:03.000Z
// Concord // // Copyright (c) 2018 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyright // ...
33.22963
102
0.642443
[ "vector" ]
44613284b52c61e8a360ac7c8328d0be3e0b96b2
3,635
cc
C++
lib/win/src/radio_watcher.cc
batmac/noble
605fa3a383d3b7a05cd8312a45c78b057a0b099a
[ "MIT" ]
396
2018-12-19T13:39:13.000Z
2022-03-29T00:55:46.000Z
lib/win/src/radio_watcher.cc
batmac/noble
605fa3a383d3b7a05cd8312a45c78b057a0b099a
[ "MIT" ]
219
2018-12-18T20:49:08.000Z
2022-03-31T08:03:41.000Z
lib/win/src/radio_watcher.cc
batmac/noble
605fa3a383d3b7a05cd8312a45c78b057a0b099a
[ "MIT" ]
153
2018-12-19T18:45:39.000Z
2022-03-31T11:33:21.000Z
// // radio_watcher.cc // noble-winrt-native // // Created by Georg Vienna on 07.09.18. // #pragma once #include "radio_watcher.h" #include "winrt_cpp.h" using winrt::Windows::Devices::Radios::RadioKind; using winrt::Windows::Foundation::AsyncStatus; template <typename O, typename M, class... Types> auto bind2(O...
28.849206
100
0.606052
[ "object" ]
4467f25279b80113d6d38bf038bc27e1fc99f766
14,177
hpp
C++
include/quiver/dot.hpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
null
null
null
include/quiver/dot.hpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
1
2018-11-28T12:55:50.000Z
2018-11-28T12:55:50.000Z
include/quiver/dot.hpp
Fytch/Quiver
572c59bbc7aaef0e61318d6d0feaf5771b38cfdb
[ "MIT" ]
1
2018-08-19T16:48:23.000Z
2018-08-19T16:48:23.000Z
/* * Quiver - A graph theory library * Copyright (C) 2018 Josua Rieder (josua.rieder1996@gmail.com) * Distributed under the MIT License. * See the enclosed file LICENSE.txt for further information. */ #ifndef QUIVER_DOT_HPP_INCLUDED #define QUIVER_DOT_HPP_INCLUDED #include <quiver/util.hpp> #include <cstdint> #i...
27.421663
203
0.633138
[ "shape" ]
4468301617f2746fd2b7151e7d10590245dbc2e4
475
cpp
C++
Problems/Codeforces/CF-931D.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
6
2019-10-12T15:14:10.000Z
2020-02-02T11:16:00.000Z
Problems/Codeforces/CF-931D.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
73
2019-10-11T15:09:40.000Z
2020-09-15T07:49:24.000Z
Problems/Codeforces/CF-931D.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
5
2019-10-14T02:57:39.000Z
2020-06-19T09:38:34.000Z
// CF931D #include <bits/stdc++.h> using namespace std; const int N = 100010; vector<int> edge[N]; int cnt[N]; void dfs(int u, int dep) { cnt[dep]++; for (int i = 0; i < edge[u].size(); ++i) { dfs(edge[u][i], dep + 1); } } int main() { int n, t, ans = 0; scanf("%d", &n); for (int i = 2; i <= n; ++i) ...
16.964286
44
0.48
[ "vector" ]
446afd34ae5c1e3aae12d0d73736eb41555d8e8c
2,484
cpp
C++
Overdrive/render/shape_sphere.cpp
png85/Overdrive
e763827546354c7c75395ab1a82949a685ecb880
[ "MIT" ]
41
2015-02-21T08:54:00.000Z
2021-05-11T16:01:29.000Z
Overdrive/render/shape_sphere.cpp
png85/Overdrive
e763827546354c7c75395ab1a82949a685ecb880
[ "MIT" ]
1
2018-05-14T10:02:09.000Z
2018-05-14T10:02:09.000Z
Overdrive/render/shape_sphere.cpp
png85/Overdrive
e763827546354c7c75395ab1a82949a685ecb880
[ "MIT" ]
10
2015-10-07T05:44:08.000Z
2020-12-01T09:00:01.000Z
#include "stdafx.h" #include "shape_sphere.h" #include <boost/math/constants/constants.hpp> namespace overdrive { namespace render { namespace shape { Sphere::Sphere( float radius, unsigned int slices, unsigned int stacks ): mVertexBuffer((slices + 1) * (stacks + 1)), mIndexBu...
24.352941
81
0.515298
[ "render", "shape" ]
446d4734e08ed1c38df4b415e7a4160bb8aa45bf
10,601
cpp
C++
hphp/runtime/ext/ext_icu.cpp
ndwhelan/hiphop-php
2638538cdedb531ccea39961d9372dbc54adc229
[ "PHP-3.01", "Zend-2.0" ]
4
2015-11-05T15:52:36.000Z
2021-12-17T09:45:07.000Z
hphp/runtime/ext/ext_icu.cpp
amit2014/hhvm
5c6896ccd1b51466233c08b7bd2c6b60bcdb4ff5
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/ext/ext_icu.cpp
amit2014/hhvm
5c6896ccd1b51466233c08b7bd2c6b60bcdb4ff5
[ "PHP-3.01", "Zend-2.0" ]
2
2019-02-02T01:57:38.000Z
2019-07-03T07:28:45.000Z
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
31.739521
80
0.638902
[ "vector" ]
446ec4fedf7686d5dc189843556bfd4e08395091
6,313
cpp
C++
oneEngine/oneGame/source/m04-editor/standalone/seqeditor/noderenderer/EnumPropertyRenderer.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/m04-editor/standalone/seqeditor/noderenderer/EnumPropertyRenderer.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/m04-editor/standalone/seqeditor/noderenderer/EnumPropertyRenderer.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "./EnumPropertyRenderer.h" #include "./NodeBoardRenderer.h" #include "../NodeBoardState.h" #include "../SequenceEditor.h" #include "core-ext/containers/arStringEnum.h" m04::editor::sequence::EnumPropertyRenderer::EnumPropertyRenderer ( const CreationParameters& params ) : IPropertyRenderer(params) { // Fi...
36.281609
172
0.728972
[ "render" ]
4471a1748596063928585cf9e1160ca3a25d683c
6,913
hpp
C++
relational_operators/UpdateOperator.hpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
relational_operators/UpdateOperator.hpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
relational_operators/UpdateOperator.hpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
1
2021-12-04T18:48:44.000Z
2021-12-04T18:48:44.000Z
/** * Copyright 2011-2015 Quickstep Technologies LLC. * Copyright 2015-2016 Pivotal Software, 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.apach...
34.738693
86
0.733545
[ "vector" ]
447674ac759407b28d2666b67e292374514e1824
3,417
cc
C++
Codeforces/362 Division 1/Problem D/D.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/362 Division 1/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/362 Division 1/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(__typeof((v).begin()) it=(v).begin(); it != (v).end(); ++it) #define meta __FUN...
19.982456
97
0.522095
[ "vector" ]
447bbdea64c25c7c8eb7b28228537ffb4935e82f
1,554
hpp
C++
include/internal/csv_utility.hpp
andiwand/csv-parser
d911abcd564642424d4b01bee270fe70501f51b9
[ "MIT" ]
null
null
null
include/internal/csv_utility.hpp
andiwand/csv-parser
d911abcd564642424d4b01bee270fe70501f51b9
[ "MIT" ]
1
2020-08-04T16:38:30.000Z
2020-08-05T06:34:52.000Z
include/internal/csv_utility.hpp
andiwand/csv-parser
d911abcd564642424d4b01bee270fe70501f51b9
[ "MIT" ]
null
null
null
#pragma once #include "compatibility.hpp" #include "constants.hpp" #include "data_type.h" #include <string> #include <type_traits> #include <unordered_map> namespace csv { /** Returned by get_file_info() */ struct CSVFileInfo { std::string filename; /**< Filename */ std::vector<s...
35.318182
96
0.593951
[ "vector" ]
447cc2b6a80c51ec6bce851871ab9b77a72cc3eb
34,952
cpp
C++
src/chrono/timestepper/ChTimestepper.cpp
chfeller/chrono
652d5a6ed433611f2d335cf33b7da5658bf6f620
[ "BSD-3-Clause" ]
1
2015-03-19T16:48:13.000Z
2015-03-19T16:48:13.000Z
src/chrono/timestepper/ChTimestepper.cpp
chfeller/chrono
652d5a6ed433611f2d335cf33b7da5658bf6f620
[ "BSD-3-Clause" ]
null
null
null
src/chrono/timestepper/ChTimestepper.cpp
chfeller/chrono
652d5a6ed433611f2d335cf33b7da5658bf6f620
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
37.991304
128
0.589523
[ "object", "vector" ]
447df841c808b5a332facaa34b456bf92d24bd06
2,709
cpp
C++
Tests/LibCompress/TestBrotli.cpp
Anon1428/serenity
0daf5cc434e7a998da15330bd8b4d46ae1759485
[ "BSD-2-Clause" ]
2
2022-02-16T02:12:38.000Z
2022-02-20T18:40:41.000Z
Tests/LibCompress/TestBrotli.cpp
Anon1428/serenity
0daf5cc434e7a998da15330bd8b4d46ae1759485
[ "BSD-2-Clause" ]
null
null
null
Tests/LibCompress/TestBrotli.cpp
Anon1428/serenity
0daf5cc434e7a998da15330bd8b4d46ae1759485
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2022, Michiel Visser <opensource@webmichiel.nl> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibTest/TestCase.h> #include <LibCompress/Brotli.h> #include <LibCore/Stream.h> static void run_test(StringView const file_name) { // This makes sure that the tests will run both on targe...
23.973451
94
0.677372
[ "transform" ]
448012303e95ac19bbb45d28536c86a6e018d40d
1,805
cpp
C++
homework/BT07/BT07.cpp
Jo3yVX/Homework-INT2215-22
aa24a9f16ec5b959f3eb0868477d3e8b7ee14913
[ "MIT" ]
null
null
null
homework/BT07/BT07.cpp
Jo3yVX/Homework-INT2215-22
aa24a9f16ec5b959f3eb0868477d3e8b7ee14913
[ "MIT" ]
null
null
null
homework/BT07/BT07.cpp
Jo3yVX/Homework-INT2215-22
aa24a9f16ec5b959f3eb0868477d3e8b7ee14913
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string.h> using namespace std; //7.1 nothing to implement //7.2 void test(int arr[]) { cout << sizeof(arr) << endl; cout << arr << " " << &arr[0]; } //7.3 int count_even(int* arr, int n) { int c = 0; for (int i = 0; i < n; i++) { if (*(arr + i) % 2 == 0) c++; ...
22.5625
113
0.566205
[ "vector" ]
44840870484f941f45eaecff2e56899bd4e29a87
8,232
cc
C++
components/translate/core/browser/translate_language_list_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/translate/core/browser/translate_language_list_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/translate/core/browser/translate_language_list_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/translate/core/browser/translate_language_list.h" #include <string> #include <vector> #include "base/run_loop.h" #include "base/stl...
42
80
0.753401
[ "vector" ]
4484c57902853bb844c1ed92afa3a321b7c8d402
9,925
cpp
C++
hard_lecture/src/hard_gy955.cpp
yasutomo57jp/ros_lecture
811afaded5a5780fa1291bd41196d80446da1e53
[ "MIT" ]
110
2018-11-13T15:04:35.000Z
2022-03-27T20:48:03.000Z
hard_lecture/src/hard_gy955.cpp
yasutomo57jp/ros_lecture
811afaded5a5780fa1291bd41196d80446da1e53
[ "MIT" ]
4
2020-07-16T13:32:22.000Z
2022-01-11T01:08:12.000Z
hard_lecture/src/hard_gy955.cpp
yasutomo57jp/ros_lecture
811afaded5a5780fa1291bd41196d80446da1e53
[ "MIT" ]
57
2019-07-02T23:43:17.000Z
2022-03-27T20:47:28.000Z
#include "ros/ros.h" #include "sensor_msgs/Imu.h" #include "diagnostic_updater/diagnostic_updater.h" #include <string> #include <unistd.h> #include <fcntl.h> #include <termios.h> #include <deque> #include <sys/ioctl.h> class serial_stream { private: int fd_; std::string device_name_; int baud_rate_; bool conn...
24.32598
120
0.57199
[ "vector" ]
4485c46a88302b34a2903c7d137c39586cf75520
5,554
cpp
C++
Modules/SurfaceInterpolation/mitkPointCloudScoringFilter.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/SurfaceInterpolation/mitkPointCloudScoringFilter.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/SurfaceInterpolation/mitkPointCloudScoringFilter.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
29.700535
111
0.688513
[ "vector" ]
44861d942ea13f486f092cbf3db8e66cb98e6e34
11,968
cxx
C++
src/Plugins/Plugin_imageFileWriter/Plugin_imageFileWriter.cxx
gomezalberto/pretus
63b05419f70ecf8b28ccbb6191eab79637c051ac
[ "MIT" ]
18
2021-11-05T13:04:00.000Z
2022-01-31T14:14:08.000Z
src/Plugins/Plugin_imageFileWriter/Plugin_imageFileWriter.cxx
gomezalberto/pretus
63b05419f70ecf8b28ccbb6191eab79637c051ac
[ "MIT" ]
27
2021-09-14T14:04:28.000Z
2022-02-15T09:58:30.000Z
src/Plugins/Plugin_imageFileWriter/Plugin_imageFileWriter.cxx
gomezalberto/pretus
63b05419f70ecf8b28ccbb6191eab79637c051ac
[ "MIT" ]
1
2021-12-16T12:51:32.000Z
2021-12-16T12:51:32.000Z
#include "Plugin_imageFileWriter.h" #include <ifindImagePeriodicTimer.h> #include <thread> #include <QDir> #include <QDebug> #include <QObject> #include <QCheckBox> #include <QPushButton> #include <QLineEdit> static const std::string sDefaultStreamTypeToWrite("Input"); Q_DECLARE_METATYPE(ifind::Image::Pointer) Plugin...
36.824615
153
0.621324
[ "object" ]
448b53a0a6f560d44ffcb48158382bcc5fc6327e
9,846
hpp
C++
includes/runners/simulator.hpp
xetqL/ljmpi
9b8bfee106fc2cefb49c32eed9b714b7bfecad94
[ "MIT" ]
1
2020-06-03T14:44:08.000Z
2020-06-03T14:44:08.000Z
includes/runners/simulator.hpp
xetqL/ljmpi
9b8bfee106fc2cefb49c32eed9b714b7bfecad94
[ "MIT" ]
null
null
null
includes/runners/simulator.hpp
xetqL/ljmpi
9b8bfee106fc2cefb49c32eed9b714b7bfecad94
[ "MIT" ]
null
null
null
// // Created by xetql on 27.06.18. // #ifndef NBMPI_SIMULATE_HPP #define NBMPI_SIMULATE_HPP #include <sstream> #include <fstream> #include <iomanip> #include <mpi.h> #include <map> #include <unordered_map> #include <cstdlib> #include "../decision_makers/strategy.hpp" #include "../ljpotential.hpp" #include "../nbod...
43.374449
192
0.647471
[ "vector" ]
448e7dbe5a6e58b8b6ef89d7c879fbb304bcb9f1
14,175
cpp
C++
Samples/BackgroundSensors/cpp/Scenario1_DeviceUse.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/BackgroundSensors/cpp/Scenario1_DeviceUse.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/BackgroundSensors/cpp/Scenario1_DeviceUse.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
// Copyright (c) Microsoft. All rights reserved. #include "pch.h" #include "Scenario1_DeviceUse.xaml.h" using namespace SDKTemplate; using namespace Concurrency; using namespace Platform; using namespace Windows::ApplicationModel::Background; using namespace Windows::Devices::Sensors; using namespace Wind...
37.010444
139
0.612205
[ "object" ]
449a2f84354eda1f6cc3536fadd289ac4bc17c2d
2,162
cpp
C++
OJ/acm.hdu.edu.cn/2018multiUniversity02/1010.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
14
2018-06-21T14:41:26.000Z
2021-12-19T14:43:51.000Z
OJ/acm.hdu.edu.cn/2018multiUniversity02/1010.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
null
null
null
OJ/acm.hdu.edu.cn/2018multiUniversity02/1010.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
2
2020-04-20T11:16:53.000Z
2021-01-02T15:58:35.000Z
#include <iostream> #include <stdio.h> #include <math.h> #include <string.h> #include <time.h> #include <stdlib.h> #include <string> #include <bitset> #include <vector> #include <set> #include <map> #include <queue> #include <algorithm> #include <sstream> #include <stack> #include <iomanip> using namespace std; #defin...
28.826667
181
0.533302
[ "vector" ]
44a342da8ac9f88cc8daf29b931cef32c80db540
1,045,004
cpp
C++
Temp/il2cppOutput/il2cppOutput/Bulk_mscorlib_3.cpp
408794550/871AR
3f903d01ae05522413f7be7abb286d1944d00bbb
[ "Apache-2.0" ]
1
2018-08-16T10:43:30.000Z
2018-08-16T10:43:30.000Z
Temp/il2cppOutput/il2cppOutput/Bulk_mscorlib_3.cpp
408794550/871AR
3f903d01ae05522413f7be7abb286d1944d00bbb
[ "Apache-2.0" ]
null
null
null
Temp/il2cppOutput/il2cppOutput/Bulk_mscorlib_3.cpp
408794550/871AR
3f903d01ae05522413f7be7abb286d1944d00bbb
[ "Apache-2.0" ]
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_System_Array38294689...
39.648063
525
0.779764
[ "object" ]
44a98b746aae77e2fb22427c875b3e1d6ed16700
2,368
cpp
C++
examples/console/main.cpp
allenu/animata
9743cbd1aa5de876267ae6f82eacfe4c0c442a83
[ "MIT" ]
1
2017-02-09T00:44:07.000Z
2017-02-09T00:44:07.000Z
examples/console/main.cpp
allenu/animata
9743cbd1aa5de876267ae6f82eacfe4c0c442a83
[ "MIT" ]
null
null
null
examples/console/main.cpp
allenu/animata
9743cbd1aa5de876267ae6f82eacfe4c0c442a83
[ "MIT" ]
null
null
null
#include <string> #include <stdio.h> #include <animata.h> #include <ActorDescriptionFromJsonDocument.h> int main(int argc, char *argv[]) { const std::string jsonDocument = "{\"states\":{\"standing\":{\"frames\":[{\"sprite\":\"standing1\"},{\"sprite\":\"standing2\"},{\"sprite\":\"standing3\"}],\"default_state\":tr...
64
824
0.666385
[ "vector" ]
44aadecf3544199e864dc0a0d87b66472d3981af
1,777
cpp
C++
library/file/filesystem.cpp
andinsbing/Qt-Online-Judge
9526984a8abbfbc43e27b743e27c5d7125790933
[ "MIT" ]
null
null
null
library/file/filesystem.cpp
andinsbing/Qt-Online-Judge
9526984a8abbfbc43e27b743e27c5d7125790933
[ "MIT" ]
null
null
null
library/file/filesystem.cpp
andinsbing/Qt-Online-Judge
9526984a8abbfbc43e27b743e27c5d7125790933
[ "MIT" ]
null
null
null
#include "filesystem.h" #include <QDebug> #include <QDir> #include <QFile> #include <QFileInfo> #include <QJsonDocument> FileSystem::FileSystem(QObject* parent) : QObject(parent) {} void FileSystem::makeFile(const QString& path, const QByteArray& data) { QFileInfo fileInfo(path); QDir dir = fileInfo.abso...
23.077922
72
0.660664
[ "object" ]
44ad75e0d9f098fade9a99266e2d9dd9e58d4794
1,698
cpp
C++
src/libdict/DictStringUtils.cpp
twd2/WDict
35bcf332343735865dfea908459c2114d2d256bf
[ "MIT" ]
8
2016-04-15T15:59:43.000Z
2020-11-18T22:08:59.000Z
src/libdict/DictStringUtils.cpp
twd2/WDict
35bcf332343735865dfea908459c2114d2d256bf
[ "MIT" ]
null
null
null
src/libdict/DictStringUtils.cpp
twd2/WDict
35bcf332343735865dfea908459c2114d2d256bf
[ "MIT" ]
5
2016-05-02T13:59:38.000Z
2019-06-09T16:28:26.000Z
#include "DictStringUtils.h" std::vector<std::string> DictStringUtils::GetWords(std::string text, bool unique) { for (size_t i = 0; i < text.length(); ++i) { if (text[i] >= 'A' && text[i] <= 'Z') { text[i] = text[i] - 'A' + 'a'; } if (!(text[i] >= 'a' && text[i] <= ...
21.769231
81
0.429329
[ "vector" ]
44ad9e9cf120bcf6f2a87589ae189c6376ecb193
1,846
cpp
C++
4. Алгоритмы на графах/72. Алгоритм Дейкстры #3831/[OK]221883.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
19
2018-05-19T16:37:14.000Z
2022-03-23T20:13:43.000Z
4. Алгоритмы на графах/72. Алгоритм Дейкстры #3831/[OK]221883.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
6
2020-05-07T21:06:48.000Z
2020-06-05T17:52:57.000Z
4. Алгоритмы на графах/72. Алгоритм Дейкстры #3831/[OK]221883.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
31
2019-03-01T21:41:38.000Z
2022-03-27T17:56:39.000Z
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <fstream> #include <queue> #include <vector> auto compare = [](const std::pair<long long, long long> &p1, const std::pair<long long, long long> &p2) { return p1.second > p2.second; }; int main() { std::ios_base::sync_with_stdio(false); freope...
30.766667
137
0.634345
[ "vector" ]
44b3d3ed75e69827b1a3c8f060793df04394d9d0
11,494
cc
C++
table/block.cc
soarpenguin/vidardb
cec2191ea881388b14c3f15ff62d8b473cd255f7
[ "BSD-3-Clause" ]
1
2021-02-02T09:38:15.000Z
2021-02-02T09:38:15.000Z
table/block.cc
soarpenguin/vidardb
cec2191ea881388b14c3f15ff62d8b473cd255f7
[ "BSD-3-Clause" ]
null
null
null
table/block.cc
soarpenguin/vidardb
cec2191ea881388b14c3f15ff62d8b473cd255f7
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2011-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. // // Copyright (c) ...
29.321429
80
0.637028
[ "vector" ]
44bd0dd02bbd1f64b1f64f6deb5acb5eae0f6dfd
4,255
cpp
C++
src/core/tests/float16.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/core/tests/float16.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/core/tests/float16.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph/type/float16.hpp" #include <climits> #include <random> #include "gtest/gtest.h" #include "ngraph/runtime/aligned_buffer.hpp" #include "util/float_util.hpp" using namespace std; using namespace ngraph; TEST(float...
41.31068
118
0.662045
[ "vector" ]
44bd23461691b44be017d0dda3418f9d3d6ad925
4,411
cpp
C++
Final/Dataset/B2016_Z3_Z2/student5899.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z3_Z2/student5899.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z3_Z2/student5899.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
/B2016/2017: Zadaća 3, Zadatak 2 #include <iostream> #include <string> #include <map> #include <vector> #include <set> #include <stdexcept> #include <iterator> //provjeravamo da li je znak slovo ili broj bool slovo(char s) { if ((s >= 'A' && s <= 'Z') || (s >= 'a' && s <= 'z') || (s>='0' && s<='9')) ...
27.228395
151
0.432782
[ "vector" ]
44c117d5753a413c1234e988740d9314b576bbb4
1,042
cpp
C++
ACM/leetcode/10_DP.cpp
chaohu/Daily-Learning
0e8d14a3497ad319eda20bc4682cec08d5d6fb08
[ "MIT" ]
12
2016-04-09T15:43:02.000Z
2022-03-22T01:58:25.000Z
ACM/leetcode/10_DP.cpp
chaohu/Daily-Learning
0e8d14a3497ad319eda20bc4682cec08d5d6fb08
[ "MIT" ]
null
null
null
ACM/leetcode/10_DP.cpp
chaohu/Daily-Learning
0e8d14a3497ad319eda20bc4682cec08d5d6fb08
[ "MIT" ]
2
2018-08-23T07:34:59.000Z
2019-06-20T10:17:31.000Z
/************************************************************************* > File Name: 10_DP.cpp > Author: huchao > Mail: hnhuchao1@163.com > Created Time: 2017年12月20日 星期三 21时39分31秒 ************************************************************************/ #include <iostream> #include <string> #include <vector> ...
26.05
88
0.389635
[ "vector" ]
44c228d90b4efa1bd53897033fc1348281a4f2d7
2,353
cpp
C++
LeetCode/ThousandTwo/1494-parallel_courses_2.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1494-parallel_courses_2.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1494-parallel_courses_2.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 1494. 并行课程 II 给你一个整数 n 表示某所大学里课程的数目,编号为 1 到 n ,数组 dependencies 中, dependencies[i] = [xi, yi] 表示一个先修课的关系,也就是课程 xi 必须在课程 yi 之前上。 同时你还有一个整数 k 。 在一个学期中,你 最多 可以同时上 k 门课,前提是这些课的先修课在之前的学期里已经上过了。 请你返回上完所有课最少需要多少个学期。 题目保证一定存在一种上完所有课的方式。 示例 1: https://assets.leetcode-cn.com/aliyun-lc-upload/uplo...
22.84466
141
0.592435
[ "vector" ]
44caeecd8c4787066ba09a0cb1f662db42ee605a
4,086
cpp
C++
sources/Entity/Wizard.cpp
MA-School/IndieStudio
8069c992ccea3ee1dec0a9e8c3929333697ffe46
[ "MIT" ]
1
2018-02-06T16:07:17.000Z
2018-02-06T16:07:17.000Z
sources/Entity/Wizard.cpp
MaximeAubanel/IndieStudio
8069c992ccea3ee1dec0a9e8c3929333697ffe46
[ "MIT" ]
null
null
null
sources/Entity/Wizard.cpp
MaximeAubanel/IndieStudio
8069c992ccea3ee1dec0a9e8c3929333697ffe46
[ "MIT" ]
3
2018-02-06T16:07:22.000Z
2018-07-12T15:02:03.000Z
/* ** Wizard.cpp for cpp_indie_studio in /home/sshsupreme/tek2/cpp_indie_studio/sources/newEntity ** ** Made by sshSupreme ** Login <sshsupreme@epitech.net> ** ** Started on Sat Jun 03 00:03:40 2017 sshSupreme ** Last update Sat Jun 17 20:12:50 2017 Florent Sebag */ #include "PlayableEntity.hpp" #include "../Core/R...
34.627119
205
0.637788
[ "vector", "model" ]
44cb0eb1c5dc816453b7209a52b7bcf57f086786
5,797
cpp
C++
lib/Transforms/Scalar/DxilEraseDeadRegion.cpp
ashleysmithgpu/DirectXShaderCompiler
dffbf4de98efcbaa78529e1c5a77dd6b6a692804
[ "NCSA" ]
null
null
null
lib/Transforms/Scalar/DxilEraseDeadRegion.cpp
ashleysmithgpu/DirectXShaderCompiler
dffbf4de98efcbaa78529e1c5a77dd6b6a692804
[ "NCSA" ]
null
null
null
lib/Transforms/Scalar/DxilEraseDeadRegion.cpp
ashleysmithgpu/DirectXShaderCompiler
dffbf4de98efcbaa78529e1c5a77dd6b6a692804
[ "NCSA" ]
null
null
null
//===- DxilEraseDeadRegion.cpp - Heuristically Remove Dead Region ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
30.036269
115
0.644299
[ "vector" ]
44ce0d0e9987e7c25a3f259ecbd8e52f5dce46a0
4,840
cpp
C++
edk/ViewGUTexture.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
edk/ViewGUTexture.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
edk/ViewGUTexture.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
#include "ViewGUTexture.h" /* Library C++ ViewGUTexture - View to write the scene in a texture. Copyright 2013 Eduardo Moura Sales Martins (edimartin@gmail.com) 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...
31.428571
84
0.656612
[ "render" ]
44ce54cf1e0f854f4aa4e6540105e0acf2803b0b
6,972
hh
C++
thirdparty/eigen3.2.10/bench/btl/generic_bench/btl.hh
rgijsen/opengl_tmp_poc
93e3a08e30ed100475034281208200ed724db5d9
[ "Apache-2.0" ]
null
null
null
thirdparty/eigen3.2.10/bench/btl/generic_bench/btl.hh
rgijsen/opengl_tmp_poc
93e3a08e30ed100475034281208200ed724db5d9
[ "Apache-2.0" ]
null
null
null
thirdparty/eigen3.2.10/bench/btl/generic_bench/btl.hh
rgijsen/opengl_tmp_poc
93e3a08e30ed100475034281208200ed724db5d9
[ "Apache-2.0" ]
null
null
null
//===================================================== // File : btl.hh // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> //===================================================== // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General P...
28.691358
102
0.546041
[ "vector", "transform" ]
44d3c7fafff710aca1eecf154f186b1d8594fdd2
310
hpp
C++
pbdata/saf/AlnInfo.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
pbdata/saf/AlnInfo.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
pbdata/saf/AlnInfo.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#ifndef DATASTRUCTURES_SAF_ALN_INFO_H_ #define DATASTRUCTURES_SAF_ALN_INFO_H_ #include <cstdint> #include <vector> #include <pbdata/Types.h> #include <pbdata/alignment/CmpAlignment.hpp> class AlnInfo { public: std::vector<CmpAlignment> alignments; UInt nAlignments; uint64_t lastRow; }; #endif
16.315789
44
0.770968
[ "vector" ]
44d4d9d72646fc7b31f57b388ac7849ccc2d3b16
2,193
hpp
C++
darkroom/include/darkroom/gazebo/DarkRoomVisualPlugin.hpp
mattgil23/test01
9464e40caf483eae60fa9c0b490ce8f09e552a53
[ "BSD-3-Clause" ]
11
2018-03-10T04:32:11.000Z
2022-02-10T10:55:44.000Z
darkroom/include/darkroom/gazebo/DarkRoomVisualPlugin.hpp
mattgil23/test01
9464e40caf483eae60fa9c0b490ce8f09e552a53
[ "BSD-3-Clause" ]
null
null
null
darkroom/include/darkroom/gazebo/DarkRoomVisualPlugin.hpp
mattgil23/test01
9464e40caf483eae60fa9c0b490ce8f09e552a53
[ "BSD-3-Clause" ]
1
2019-05-04T09:51:01.000Z
2019-05-04T09:51:01.000Z
#pragma once #include "gazebo/physics/physics.hh" #include "gazebo/transport/TransportTypes.hh" #include "gazebo/msgs/MessageTypes.hh" #include "gazebo/common/Time.hh" #include "gazebo/common/Plugin.hh" #include "gazebo/common/Events.hh" #include "gazebo/rendering/DynamicLines.hh" #include "gazebo/rendering/RenderTy...
26.421687
84
0.615595
[ "model" ]
44d8c62f766d8bd862de21ed4aa57bb0993dd38c
6,030
hpp
C++
include/lbann/callbacks/callback_variable_minibatch.hpp
forsyth2/lbann
64fc0346f65353c2f7526a019da964914e539fb0
[ "Apache-2.0" ]
null
null
null
include/lbann/callbacks/callback_variable_minibatch.hpp
forsyth2/lbann
64fc0346f65353c2f7526a019da964914e539fb0
[ "Apache-2.0" ]
null
null
null
include/lbann/callbacks/callback_variable_minibatch.hpp
forsyth2/lbann
64fc0346f65353c2f7526a019da964914e539fb0
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2019, 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...
41.30137
84
0.724544
[ "vector", "model" ]
44d9347b8a32d1307861100febe906e62399eb99
2,305
cpp
C++
Trees/HuffmanDecoding.cpp
WinterSoldier13/interview-preparation-kit
64e56725c1a8af17c209bb3191227935b05f6227
[ "MIT" ]
175
2019-12-08T19:48:20.000Z
2022-03-24T07:38:08.000Z
Trees/HuffmanDecoding.cpp
WinterSoldier13/interview-preparation-kit
64e56725c1a8af17c209bb3191227935b05f6227
[ "MIT" ]
40
2019-12-07T08:11:41.000Z
2020-10-09T08:11:22.000Z
Trees/HuffmanDecoding.cpp
WinterSoldier13/interview-preparation-kit
64e56725c1a8af17c209bb3191227935b05f6227
[ "MIT" ]
95
2019-12-07T06:25:31.000Z
2022-03-03T20:12:45.000Z
// // main.cpp // Huffman // // Created by Vatsal Chanana #include<bits/stdc++.h> using namespace std; typedef struct node { int freq; char data; node * left; node * right; } node; struct deref:public binary_function<node*, node*, bool> { bool operator()(const node * a, const node * b)const { ...
17.201493
73
0.484599
[ "vector" ]
44de07d3fb5eb09b8b9fe6402cf61ee2002c4f60
1,315
cpp
C++
benchmarks/msteinbeck-tinyspline/examples/cpp/quickstart.cpp
pointhi/benchmarks
68899480c0fc8d361079a81edc6d816d5f17d58e
[ "UPL-1.0" ]
7
2018-12-10T02:41:43.000Z
2020-06-18T06:13:59.000Z
benchmarks/msteinbeck-tinyspline/examples/cpp/quickstart.cpp
pointhi/benchmarks
68899480c0fc8d361079a81edc6d816d5f17d58e
[ "UPL-1.0" ]
23
2018-06-07T07:46:27.000Z
2018-08-06T17:57:39.000Z
benchmarks/msteinbeck-tinyspline/examples/cpp/quickstart.cpp
pointhi/benchmarks
68899480c0fc8d361079a81edc6d816d5f17d58e
[ "UPL-1.0" ]
2
2018-11-27T20:37:34.000Z
2019-04-23T15:38:35.000Z
#include <iostream> #include "tinysplinecpp.h" int main(int argc, char **argv) { // Create a cubic spline with 7 control points in 2D using // a clamped knot vector. This call is equivalent to: // tinyspline::BSpline spline(7, 2, 3, TS_CLAMPED); tinyspline::BSpline spline(7); // Setup control points. std::vecto...
29.222222
72
0.585551
[ "vector" ]
44deb4a7017f4c070f51c8f3643632cfe78a6c14
1,509
cc
C++
CPP/No368.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No368.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No368.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
/** * Created by Xiaozhong on 2020/8/31. * Copyright (c) 2020/8/31 Xiaozhong. All rights reserved. */ #include "vector" #include "unordered_map" #include "algorithm" #include "iostream" using namespace std; class Solution { private: unordered_map<int, vector<int>> _eds; vector<int> _nums; // 查找以 i 为结尾...
26.017241
75
0.542744
[ "vector" ]
44dffecc1c27dbb0f1f4b85534f1d44898a87d61
54,121
cpp
C++
cmp_compressonatorlib/bc7/3dquant_vpc.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
622
2016-05-12T17:39:27.000Z
2020-03-09T08:51:41.000Z
cmp_compressonatorlib/bc7/3dquant_vpc.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
110
2020-03-14T15:30:42.000Z
2022-03-31T07:59:29.000Z
cmp_compressonatorlib/bc7/3dquant_vpc.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
105
2016-05-12T18:55:39.000Z
2020-03-04T15:02:01.000Z
//=============================================================================== // Copyright (c) 2007-2016 Advanced Micro Devices, Inc. All rights reserved. // Copyright (c) 2004-2006 ATI Technologies Inc. //=============================================================================== // // Permission is hereby gr...
25.432801
158
0.496221
[ "vector" ]
44e67bfddc60de5664c21a3a2578607f40113477
9,733
cpp
C++
opengl/morphing/main.cpp
proydakov/cppzone
2cee5523df8fadbd087746c16bbf386360c8114a
[ "MIT" ]
4
2015-02-16T12:34:13.000Z
2016-12-14T20:12:17.000Z
opengl/morphing/main.cpp
proydakov/cpplabs
8f958e00a3bd3f9594a57b39c02fbf964749f2a3
[ "MIT" ]
null
null
null
opengl/morphing/main.cpp
proydakov/cpplabs
8f958e00a3bd3f9594a57b39c02fbf964749f2a3
[ "MIT" ]
3
2015-07-17T09:25:07.000Z
2018-08-08T13:56:33.000Z
/* * Copyright (c) 2020 Evgeny Proydakov <lord.tiran@gmail.com> * * 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 ...
29.316265
123
0.613891
[ "object", "vector", "transform" ]
44e6a0ce60ca6b2f494f8ea7ca2d3c1ebbb42b2c
708
cpp
C++
leetcode.com/0811 Subdomain Visit Count/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0811 Subdomain Visit Count/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0811 Subdomain Visit Count/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <sstream> #include <unordered_map> #include <vector> using namespace std; class Solution { private: unordered_map<string, int> mp; public: vector<string> subdomainVisits(vector<string>& cpdomains) { mp.clear(); for (string d : cpdomains) { istringstream ISS(d); ...
19.666667
61
0.521186
[ "vector" ]
44eb4a1947df2de2a6c97d244ccac39da06c99fc
2,156
cpp
C++
src/services/trace/TraceBufferChunk.cpp
scalability-llnl/Caliper
3fd9a8c1d2b46db6850cc495060c9f2f6c5e59f0
[ "BSD-3-Clause" ]
4
2015-11-11T17:39:03.000Z
2015-12-08T18:13:14.000Z
src/services/trace/TraceBufferChunk.cpp
scalability-llnl/Caliper
3fd9a8c1d2b46db6850cc495060c9f2f6c5e59f0
[ "BSD-3-Clause" ]
null
null
null
src/services/trace/TraceBufferChunk.cpp
scalability-llnl/Caliper
3fd9a8c1d2b46db6850cc495060c9f2f6c5e59f0
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015-2022, Lawrence Livermore National Security, LLC. // See top-level LICENSE file for details. #include "TraceBufferChunk.h" #include "caliper/Caliper.h" #include "caliper/common/Log.h" #include "caliper/common/Node.h" #include "caliper/common/RuntimeConfig.h" #include "caliper/common/c-util/vlen...
17.387097
70
0.605288
[ "vector" ]
44ecb01cd8838606d50faa6d88941df4872542d5
4,349
hpp
C++
libraries/fc/include/fc/container/flat.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
8
2018-07-25T20:42:43.000Z
2019-03-11T03:14:09.000Z
libraries/fc/include/fc/container/flat.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
13
2018-07-25T17:41:28.000Z
2019-01-25T13:38:11.000Z
libraries/fc/include/fc/container/flat.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
11
2018-07-25T14:34:13.000Z
2019-05-03T13:29:37.000Z
#pragma once #include <fc/variant.hpp> #include <fc/container/flat_fwd.hpp> #include <boost/container/flat_map.hpp> #include <boost/container/flat_set.hpp> #include <fc/io/raw_fwd.hpp> namespace fc { namespace raw { template<typename Stream, typename T> inline void pack( Stream& s, const flat_set<T>& ...
32.94697
82
0.516211
[ "vector" ]
44eee99f3c967358b3a00fc7c53f0ee2c880e2ef
38,238
cpp
C++
shore-sm-6.0.2/src/sm/btree.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
3
2016-07-15T08:22:56.000Z
2019-10-10T02:26:08.000Z
shore-sm-6.0.2/src/sm/btree.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
null
null
null
shore-sm-6.0.2/src/sm/btree.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
2
2020-12-23T06:49:23.000Z
2021-03-05T07:00:28.000Z
/* -*- mode:C++; c-basic-offset:4 -*- Shore-MT -- Multi-threaded port of the SHORE storage manager Copyright (c) 2007-2009 Data Intensive Applications and Systems Labaratory (DIAS) Ecole Polytechnique Federale de Lausanne All Rights Reser...
31.087805
102
0.476123
[ "object" ]
602178a6324c2ae6c9cb205218080a7da943fb5a
10,833
cpp
C++
3DEngine/Source/RbCollider.cpp
PatatesIDracs/3DGameEngine
9bf1fbbea6c9d6f02174657ae41e01ea3a984858
[ "MIT" ]
4
2017-10-23T18:05:48.000Z
2017-11-29T06:57:26.000Z
3DEngine/Source/RbCollider.cpp
PatatesIDracs/3DGameEngine
9bf1fbbea6c9d6f02174657ae41e01ea3a984858
[ "MIT" ]
null
null
null
3DEngine/Source/RbCollider.cpp
PatatesIDracs/3DGameEngine
9bf1fbbea6c9d6f02174657ae41e01ea3a984858
[ "MIT" ]
null
null
null
#include "RbCollider.h" #include "RigidBody.h" #include "GameObject.h" #include "Application.h" #include "ModulePhysics.h" #include "Transform.h" #include "jpPhysicsRigidBody.h" #include "Glew\include\glew.h" RbCollider::RbCollider(GameObject * parent, bool isactive) : Component(parent, COMP_RBSHAPE, true) { if (p...
27.776923
145
0.728145
[ "transform" ]
6022d4ab7e06988f5c102724f8fdbdfd79ae0813
4,248
cpp
C++
VisualSudokuCpp/main.cpp
holgus103/VisualSudokuSolver
4403b5fea4af580128638ccc0e17eee08dcb85e9
[ "MIT" ]
null
null
null
VisualSudokuCpp/main.cpp
holgus103/VisualSudokuSolver
4403b5fea4af580128638ccc0e17eee08dcb85e9
[ "MIT" ]
null
null
null
VisualSudokuCpp/main.cpp
holgus103/VisualSudokuSolver
4403b5fea4af580128638ccc0e17eee08dcb85e9
[ "MIT" ]
null
null
null
// reference: http://aishack.in/tutorials/sudoku-grabber-opencv-detection/ /* * File: main.cpp * Author: holgus103 * * Created on 30 mars 2018, 02:23 */ //#include <cv.h> //#include <highgui.h> #include <opencv2/highgui/highgui.hpp> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #inclu...
27.230769
155
0.578861
[ "vector" ]
602382f72a185819e40df99e64fa9e7850ed609f
471
cpp
C++
example_gamepad/src/main.cpp
dasoe/ofxPiMapper
f750a04151f15cbce3765021e9ba6eac5b310113
[ "MIT" ]
410
2015-02-04T22:26:32.000Z
2022-03-29T00:00:13.000Z
example_gamepad/src/main.cpp
victorscaff/ofxPiMapper
e79e88e21891abded8388520d4e7f5e6868bfbb7
[ "MIT" ]
162
2015-01-11T16:09:39.000Z
2022-03-14T11:24:48.000Z
example_gamepad/src/main.cpp
victorscaff/ofxPiMapper
e79e88e21891abded8388520d4e7f5e6868bfbb7
[ "MIT" ]
100
2015-02-09T06:42:31.000Z
2022-01-01T01:40:36.000Z
#include "ofMain.h" #include "ofApp.h" #include <string> #include <vector> int main(int argc, char * argv[]){ bool fullscreen = false; std::vector<std::string> arguments = std::vector<std::string>(argv, argv + argc); for(int i = 0; i < arguments.size(); ++i){ if(arguments.at(i) == "-f"){ fullscreen = true; ...
18.84
82
0.636943
[ "vector" ]
6025471734405abfa864426c0f04b3ba24cefe31
11,858
cpp
C++
src/mlpack/methods/range_search/rs_model.cpp
pratik4/mlpack
a27725526b5b0168175b3dd50b92b7121fb49c91
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-08-17T11:59:16.000Z
2021-08-17T11:59:16.000Z
src/mlpack/methods/range_search/rs_model.cpp
Shekharrajak/mlpack
066c67040a600a4600eebc6b5e0d63dc090acb8d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/range_search/rs_model.cpp
Shekharrajak/mlpack
066c67040a600a4600eebc6b5e0d63dc090acb8d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file rs_model.cpp * @author Ryan Curtin * * Implementation of the range search model class. */ #include "rs_model.hpp" using namespace std; using namespace mlpack; using namespace mlpack::range; /** * Initialize the RSModel with the given tree type and whether or not a random * basis should be used. */...
25.947484
80
0.611908
[ "vector", "model" ]
60266426cdf00a7259226ec6c9fd9174b5d0c3f4
14,984
cpp
C++
UltraDV/Source/Editors/Source/TAudioEditorView.cpp
ModeenF/UltraDV
30474c60880de541b33687c96293766fe0dc4aef
[ "Unlicense" ]
null
null
null
UltraDV/Source/Editors/Source/TAudioEditorView.cpp
ModeenF/UltraDV
30474c60880de541b33687c96293766fe0dc4aef
[ "Unlicense" ]
null
null
null
UltraDV/Source/Editors/Source/TAudioEditorView.cpp
ModeenF/UltraDV
30474c60880de541b33687c96293766fe0dc4aef
[ "Unlicense" ]
null
null
null
//--------------------------------------------------------------------- // // File: TAudioEditorView.cpp // // Author: Gene Z. Ragan // // Date: 02.19.98 // // Desc: Audio editor view. Handle display of waveform // // Copyright ©1998 mediapede Software // //-------------------------------------------------------------...
24.090032
165
0.526895
[ "render" ]
602ebd5fe147de758a87c0bf4d16e2e57c7f2379
12,762
cc
C++
RecoTauTag/RecoTau/plugins/PFRecoTauChargedHadronFromPFCandidatePlugin.cc
ahmad3213/cmssw
750b64a3cb184f702939fdafa241214c77e7f4fd
[ "Apache-2.0" ]
null
null
null
RecoTauTag/RecoTau/plugins/PFRecoTauChargedHadronFromPFCandidatePlugin.cc
ahmad3213/cmssw
750b64a3cb184f702939fdafa241214c77e7f4fd
[ "Apache-2.0" ]
null
null
null
RecoTauTag/RecoTau/plugins/PFRecoTauChargedHadronFromPFCandidatePlugin.cc
ahmad3213/cmssw
750b64a3cb184f702939fdafa241214c77e7f4fd
[ "Apache-2.0" ]
1
2019-04-03T19:23:27.000Z
2019-04-03T19:23:27.000Z
/* * PFRecoTauChargedHadronFromPFCandidatePlugin * * Build PFRecoTauChargedHadron objects * using charged PFCandidates and/or PFNeutralHadrons as input * * Author: Christian Veelken, LLR * */ #include "RecoTauTag/RecoTau/interface/PFRecoTauChargedHadronPlugins.h" #include "DataFormats/ParticleFlowCandidate/in...
49.274131
181
0.753644
[ "vector" ]
6031b226b88b1035893a0cc87dff2f04cf41748f
10,789
cpp
C++
grasp_planning_graspit/src/GraspItSimpleDBManager.cpp
hashb/graspit-pkgs
8a75ca53956bb2e0cb780752dc9e0fc013d7ea5a
[ "BSD-3-Clause" ]
48
2016-02-29T15:39:26.000Z
2022-02-11T15:56:42.000Z
grasp_planning_graspit/src/GraspItSimpleDBManager.cpp
hashb/graspit-pkgs
8a75ca53956bb2e0cb780752dc9e0fc013d7ea5a
[ "BSD-3-Clause" ]
64
2016-02-22T16:03:47.000Z
2021-01-19T22:16:22.000Z
grasp_planning_graspit/src/GraspItSimpleDBManager.cpp
hashb/graspit-pkgs
8a75ca53956bb2e0cb780752dc9e0fc013d7ea5a
[ "BSD-3-Clause" ]
23
2016-05-14T11:24:33.000Z
2022-03-22T15:41:11.000Z
/** Simple implementation of a GraspItDatabaseManager. Copyright (C) 2016 Jennifer Buehler This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at y...
29.39782
112
0.640004
[ "object", "vector", "model" ]
6032119a7bd3e9baa29dfad9a2ae4c8396b43119
44,249
cpp
C++
emulator/src/mame/video/midzeus.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/video/midzeus.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/video/midzeus.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Aaron Giles /************************************************************************* Driver for Midway Zeus games **************************************************************************/ #include "emu.h" #include "includes/midzeus.h" #include "video/poly.h" #incl...
28.274121
187
0.590838
[ "render", "object", "vector", "model" ]
60321f49b84a0916ac9cad76cdb533b7b7b75deb
11,112
cpp
C++
src/lp_data/HighsModelBuilder.cpp
anassmeskini/HiGHS
154f86ff087f2060a1439f2b68ade5c3a570b05e
[ "MIT" ]
null
null
null
src/lp_data/HighsModelBuilder.cpp
anassmeskini/HiGHS
154f86ff087f2060a1439f2b68ade5c3a570b05e
[ "MIT" ]
null
null
null
src/lp_data/HighsModelBuilder.cpp
anassmeskini/HiGHS
154f86ff087f2060a1439f2b68ade5c3a570b05e
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the HiGHS linear optimization suite */ /* */ /* Written an...
31.039106
80
0.62275
[ "model" ]