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
ad38a3c966d568fce285bcde8089e87e71232f1c
3,578
cpp
C++
data.cpp
aditya-srikanth/DAA_Assignment_2
2750f548a73bb10fea62470ecea4a6b64b74e0ed
[ "MIT" ]
null
null
null
data.cpp
aditya-srikanth/DAA_Assignment_2
2750f548a73bb10fea62470ecea4a6b64b74e0ed
[ "MIT" ]
null
null
null
data.cpp
aditya-srikanth/DAA_Assignment_2
2750f548a73bb10fea62470ecea4a6b64b74e0ed
[ "MIT" ]
null
null
null
#include "data.h" /** * @brief * The default file path for the dataset */ const std::string Data::DEFAULT_PATH = "./data/DataPoints.txt"; /** * @brief * The default delimiter used within the dataset */ const std::string Data::DEFAULT_DELIM = ","; /** * @brief * The default location of the attempts used to fi...
26.701493
105
0.66322
[ "object", "vector" ]
ad3ad9e22d0302764afd6cfb02970e72f5328ccf
3,450
cpp
C++
tests/core/Object.test.cpp
ASxa86/azule
9bf89dfc5a80f296b02edd3ac608d9a90e4ea26b
[ "MIT" ]
1
2018-10-19T18:00:19.000Z
2018-10-19T18:00:19.000Z
tests/core/Object.test.cpp
ASxa86/azule
9bf89dfc5a80f296b02edd3ac608d9a90e4ea26b
[ "MIT" ]
7
2019-06-13T00:48:55.000Z
2020-05-05T00:18:42.000Z
tests/core/Object.test.cpp
ASxa86/AGE
9bf89dfc5a80f296b02edd3ac608d9a90e4ea26b
[ "MIT" ]
null
null
null
#include <azule/core/ChildEvent.h> #include <azule/core/Object.h> #include <gtest/gtest.h> using namespace azule; class ObjectOne : public Object { public: ObjectOne() : ChildAdded{0}, ChildRemoved{0} { // this->addChildAddedHandler([this](ChildEvent* x) { // ASSERT_TRUE(x != nullptr); // EXPECT_EQ(this->getC...
25
79
0.694783
[ "object" ]
ad3cc5134dae5d340f9fc099222a344e2630e364
9,689
cc
C++
content/browser/accessibility/hit_testing_browsertest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-05-24T13:52:28.000Z
2021-05-24T13:53:10.000Z
content/browser/accessibility/hit_testing_browsertest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/accessibility/hit_testing_browsertest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-03-12T07:58:10.000Z
2019-08-31T04:53:58.000Z
// Copyright 2014 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 "base/logging.h" #include "content/browser/accessibility/browser_accessibility.h" #include "content/browser/accessibility/browser_accessibility_m...
41.762931
80
0.716379
[ "object" ]
ad3d762845cbfd3665724e13b6fb67b4abfdce62
38,510
hh
C++
include/click/multithread.hh
regufo/fastclick
d56d31c722266ea5d0cfd31435e81ca10dda5e69
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
include/click/multithread.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
include/click/multithread.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
// -*- c-basic-offset: 4 -*- #ifndef CLICK_MULTITHREAD_HH #define CLICK_MULTITHREAD_HH #include <click/config.h> #include <click/glue.hh> #include <click/vector.hh> #include <click/bitvector.hh> #include <click/machine.hh> #include <click/sync.hh> #if CLICK_LINUXMODULE # error This file is not meant for Kernel mode #...
25.302234
152
0.573799
[ "object", "vector" ]
ad470283ce63c2ab298f265dd302783d3fdf13c0
4,209
cpp
C++
ImpGears/PipelineES3/CubeMap.cpp
Lut1n/IGBarkAndLeafEditor
bbda30f6f4510da4184dc6f6d9db698f81dea519
[ "MIT" ]
1
2021-02-09T18:42:02.000Z
2021-02-09T18:42:02.000Z
ImpGears/PipelineES3/CubeMap.cpp
Lut1n/IGBarkAndLeafEditor
bbda30f6f4510da4184dc6f6d9db698f81dea519
[ "MIT" ]
null
null
null
ImpGears/PipelineES3/CubeMap.cpp
Lut1n/IGBarkAndLeafEditor
bbda30f6f4510da4184dc6f6d9db698f81dea519
[ "MIT" ]
null
null
null
#include <PipelineES3/CubeMap.h> #include <PipelineES3/GlError.h> #include <iostream> IMPGEARS_BEGIN std::uint32_t CubeMap::_s_count = 0; //-------------------------------------------------------------- CubeMap::CubeMap(const std::string& name) : _videoID(0) , _name(name) { glGenTextures(1, &_videoID); ...
27.154839
125
0.560228
[ "vector" ]
ad48ef82b46aa333092be3d2c573de32e9b6724f
3,320
cpp
C++
src/song_map.cpp
Gypsophino-dev/Gypsophino
484325bd5db36d99cdc13048646695b94f656111
[ "WTFPL" ]
null
null
null
src/song_map.cpp
Gypsophino-dev/Gypsophino
484325bd5db36d99cdc13048646695b94f656111
[ "WTFPL" ]
null
null
null
src/song_map.cpp
Gypsophino-dev/Gypsophino
484325bd5db36d99cdc13048646695b94f656111
[ "WTFPL" ]
null
null
null
#include "song_map.hpp" namespace pt = boost::property_tree; namespace gyp { // class song_map void song_map::load(const std::string& filename) { pt::ptree tree; pt::read_json(filename, tree); track_number = tree.get<int>("track_number"); bpm = tree.get<int>("bpm"); base_fraction = tree.get<int>("base_frac...
32.54902
74
0.686446
[ "vector" ]
ad49470a482e5cf6fd7c604ec04a151d6e6203c5
3,195
tpp
C++
include/mgcpp/expressions/dmat_dmat_mult.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
48
2018-01-02T03:47:18.000Z
2021-09-09T05:55:45.000Z
include/mgcpp/expressions/dmat_dmat_mult.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
24
2017-12-27T18:03:13.000Z
2018-07-02T09:00:30.000Z
include/mgcpp/expressions/dmat_dmat_mult.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
6
2018-01-14T14:06:10.000Z
2018-10-16T08:43:01.000Z
// Copyright RedPortal, mujjingun 2017 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <mgcpp/expressions/dmat_dmat_mult.hpp> namespace mgcpp { /* namespace internal { template <...
33.631579
79
0.714241
[ "shape" ]
ad4d58ca7230ee432f2e3f7f4272943c53bd8167
1,576
cpp
C++
example/naughtyfication.cpp
LAGonauta/YoloRT
7f8259bdb9060593d868a246cbc796118c829acf
[ "MIT" ]
5
2021-02-06T01:43:35.000Z
2022-02-14T10:27:25.000Z
example/naughtyfication.cpp
LAGonauta/YoloRT
7f8259bdb9060593d868a246cbc796118c829acf
[ "MIT" ]
null
null
null
example/naughtyfication.cpp
LAGonauta/YoloRT
7f8259bdb9060593d868a246cbc796118c829acf
[ "MIT" ]
null
null
null
#include <winrt/Windows.UI.Notifications.h> #include <winrt/Windows.Data.Xml.Dom.h> #include <iostream> #include <locale> #include <codecvt> using std::cerr; static std::wbuffer_convert<std::codecvt_utf8_utf16<wchar_t>> converting_stderr_buf{ cerr.rdbuf() }; std::wostream wcerr{ &converting_stderr_buf }; template...
29.185185
80
0.709391
[ "model" ]
ad4dd53cbe4a19deb1e15f29ceff0808c15ada21
2,238
cpp
C++
Graph/Second Shortest Path.cpp
ArniRahman/Algorithms
081b3eae5564685fd0acc3261c946d89e9dc75ba
[ "MIT" ]
null
null
null
Graph/Second Shortest Path.cpp
ArniRahman/Algorithms
081b3eae5564685fd0acc3261c946d89e9dc75ba
[ "MIT" ]
null
null
null
Graph/Second Shortest Path.cpp
ArniRahman/Algorithms
081b3eae5564685fd0acc3261c946d89e9dc75ba
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int N = 5001; struct node{ int degree; int x; int y; }; bool operator<(node a, node b) { return a.y > b.y; } priority_queue< node> q; void dijkstra(int s, int n, int popped[][N], int value[][N], vector <node> V[]) { for(int i=0;i<2;i++) {...
15.87234
79
0.344057
[ "vector" ]
ad5191536f92817d132066970aa0a85b07aadd31
5,195
cc
C++
src/lib/yang/tests/adaptor_config_unittests.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
2
2021-06-29T09:56:34.000Z
2021-06-29T09:56:39.000Z
src/lib/yang/tests/adaptor_config_unittests.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
null
null
null
src/lib/yang/tests/adaptor_config_unittests.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <yang/adaptor_c...
36.328671
73
0.505871
[ "vector" ]
ad5311e8a8276ca4b8dd68c38549a92f91f2f59f
3,939
cpp
C++
src/yslam/src/lidar_v1.cpp
yanghq13/slam
8b05da546b5a8616141ad46e4ae743b9165e3b6f
[ "Apache-2.0" ]
null
null
null
src/yslam/src/lidar_v1.cpp
yanghq13/slam
8b05da546b5a8616141ad46e4ae743b9165e3b6f
[ "Apache-2.0" ]
null
null
null
src/yslam/src/lidar_v1.cpp
yanghq13/slam
8b05da546b5a8616141ad46e4ae743b9165e3b6f
[ "Apache-2.0" ]
null
null
null
// 添加头文件后需要在CMakelists添加相应的包 // ros用 #include <ros/ros.h> #include <sensor_msgs/PointCloud2.h> #include <std_msgs/String.h> // 数学 #include <cmath> // 世界统一坐标系 #include <tf/transform_datatypes.h> #include <tf/transform_broadcaster.h> // pcl #include <pcl_conversions/pcl_conversions.h> #include <pcl/point_cloud.h> #includ...
28.135714
95
0.626809
[ "vector", "transform" ]
ad548f3d4ef2148d0f7fa8fa6a20340483341fc6
58,799
cc
C++
src/main/resources/com/nec/arrow/functions/cpp/frovedis/text/words.cc
sapt1/SparkCyclone
78864ec627577c84cda0c66abf7fc97d862f8831
[ "Apache-2.0" ]
null
null
null
src/main/resources/com/nec/arrow/functions/cpp/frovedis/text/words.cc
sapt1/SparkCyclone
78864ec627577c84cda0c66abf7fc97d862f8831
[ "Apache-2.0" ]
null
null
null
src/main/resources/com/nec/arrow/functions/cpp/frovedis/text/words.cc
sapt1/SparkCyclone
78864ec627577c84cda0c66abf7fc97d862f8831
[ "Apache-2.0" ]
null
null
null
#pragma once #include "words.hpp" #include "find.hpp" #include "find.cc" #include "../core/radix_sort.hpp" #include "../core/set_operations.hpp" #include "../core/lower_bound.hpp" #include "../core/upper_bound.hpp" #include "../core/prefix_sum.hpp" #include "../core/find_condition.hpp" #include "char_int_conv.hpp" #in...
33.773119
82
0.605861
[ "vector" ]
ad5b8747883597b7f4d398a0f8765dff0360c99f
3,172
cpp
C++
clang/test/CXX/class.derived/class.abstract/p3.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/CXX/class.derived/class.abstract/p3.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/CXX/class.derived/class.abstract/p3.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: %clang_cc1 -std=c++1z -verify %s struct A { A() {} A(int) : A() {} // ok virtual void f() = 0; // expected-note 1+{{unimplemented}} }; template<typename> struct SecretlyAbstract { SecretlyAbstract(); SecretlyAbstract(int); virtual void f() = 0; // expected-note 1+{{unimplemented}} }; using B = Se...
32.367347
81
0.648487
[ "object" ]
ad5c128b6ebd67a81a9abf139bbee7e71454103c
6,343
cpp
C++
src/main_Pitcher.cpp
ybdarrenwang/ProFeXor
5ea6e8d40e07807c0f7db2b6b479bba6c14528fd
[ "BSD-3-Clause" ]
1
2019-05-21T06:48:28.000Z
2019-05-21T06:48:28.000Z
src/main_Pitcher.cpp
ybdarrenwang/ProFeXor
5ea6e8d40e07807c0f7db2b6b479bba6c14528fd
[ "BSD-3-Clause" ]
null
null
null
src/main_Pitcher.cpp
ybdarrenwang/ProFeXor
5ea6e8d40e07807c0f7db2b6b479bba6c14528fd
[ "BSD-3-Clause" ]
null
null
null
#include "Normalizer.h" #include "MeanSubtraction.h" #include "MovingWindowMeanSub.h" #include "MaxSubtraction.h" #include "ContourSmoother.h" #include "MovingWindowSmoother.h" #include "ContourInterpolater.h" #include "CubicSplineInterpolater.h" #include "LinearInterpolater.h" #include "Config.h" #include "util.h" #in...
29.09633
126
0.652215
[ "vector" ]
ad5d50aaf6174ac78e02cf03e0bfd10acb5bba5e
2,280
hpp
C++
src/engine/scene/Sky.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
399
2019-05-25T16:05:59.000Z
2022-03-31T23:38:04.000Z
src/engine/scene/Sky.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
3
2019-07-23T21:03:33.000Z
2020-12-14T12:47:51.000Z
src/engine/scene/Sky.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
20
2019-06-08T17:15:01.000Z
2022-03-21T11:20:14.000Z
#pragma once #include "scene/Object.hpp" #include "resources/ResourcesManager.hpp" #include "system/Codable.hpp" #include "Common.hpp" /** \brief Represent a background environment with atmospheric scattering. The sun direction can be animated. \ingroup Scene \see AtmosphericScattering */ class Sky final : publi...
33.043478
117
0.716667
[ "object" ]
ad5e7679c84aedfffa8c6ee5911949589bc06039
2,219
cpp
C++
src/gvt/render/data/scene/Image.cpp
TACC/GravIT
0a79dc74036c11669075198e01b30a92a8150693
[ "BSD-3-Clause" ]
24
2015-08-13T20:16:11.000Z
2020-03-02T17:03:17.000Z
src/gvt/render/data/scene/Image.cpp
TACC/GravIT
0a79dc74036c11669075198e01b30a92a8150693
[ "BSD-3-Clause" ]
16
2015-10-16T03:42:37.000Z
2019-08-07T21:54:47.000Z
src/gvt/render/data/scene/Image.cpp
TACC/GravIT
0a79dc74036c11669075198e01b30a92a8150693
[ "BSD-3-Clause" ]
8
2015-08-25T15:07:35.000Z
2019-03-10T11:00:32.000Z
/* ======================================================================================= This file is released as part of GraviT - scalable, platform independent ray tracing tacc.github.io/GraviT Copyright 2013-2015 Texas Advanced Computing Center, The University of Texas at Austin All rights reserved. ...
30.39726
102
0.615593
[ "render" ]
ad602e360baa246aee7292e00fcbcd9b09ec7faa
15,005
cpp
C++
src/settingsgen/settingsgen.cpp
trademarks/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
8
2016-10-21T09:01:43.000Z
2021-05-31T06:32:14.000Z
src/settingsgen/settingsgen.cpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
null
null
null
src/settingsgen/settingsgen.cpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
4
2017-05-16T00:15:58.000Z
2020-08-06T01:46:31.000Z
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD 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, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
28.967181
185
0.659447
[ "vector" ]
ad66ec0f83a5b8b0c73b5727c63aa081ce63bac9
791
cpp
C++
atcoder/abc154D_dice_in_line.cpp
uninhm/kyopro
bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3
[ "BSD-3-Clause" ]
31
2020-05-13T01:07:55.000Z
2021-07-13T07:53:26.000Z
atcoder/abc154D_dice_in_line.cpp
uninhm/kyopro
bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3
[ "BSD-3-Clause" ]
10
2020-05-20T07:22:09.000Z
2021-07-19T03:52:13.000Z
atcoder/abc154D_dice_in_line.cpp
uninhm/kyopro
bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3
[ "BSD-3-Clause" ]
14
2020-05-11T05:58:36.000Z
2021-12-07T03:20:43.000Z
// https://atcoder.jp/contests/abc154/tasks/abc154_d #include<iostream> #include<numeric> #include<iomanip> #include<vector> using namespace std; int main() { int n, k; cin >> n >> k; vector<int> max_values(n); for (auto &it : max_values) cin >> it; vector<int> legit(k); long long max = 0; ...
23.264706
64
0.533502
[ "vector" ]
ad6b5f6362dd17a0e81ac1a3a92a540c49996027
5,010
hpp
C++
framework/include/minko/input/Touch.hpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
null
null
null
framework/include/minko/input/Touch.hpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
null
null
null
framework/include/minko/input/Touch.hpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2014 Aerys Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicens...
26.230366
97
0.467465
[ "vector" ]
ad6e57bfaee373016c9adb4e4f5b654df60eb820
8,670
cpp
C++
src/linux_parser.cpp
ohasanliUW/CppND-System-Monitor
91f6508ba59704fae4c0c859fa1540263587693b
[ "MIT" ]
null
null
null
src/linux_parser.cpp
ohasanliUW/CppND-System-Monitor
91f6508ba59704fae4c0c859fa1540263587693b
[ "MIT" ]
null
null
null
src/linux_parser.cpp
ohasanliUW/CppND-System-Monitor
91f6508ba59704fae4c0c859fa1540263587693b
[ "MIT" ]
null
null
null
#include <dirent.h> #include <unistd.h> #include <string> #include <vector> #include <numeric> #include <iostream> #include "linux_parser.h" using std::stof; using std::string; using std::to_string; using std::vector; // DONE: An example of how to read data from the filesystem string LinuxParser::OperatingSystem() {...
24.560907
99
0.597924
[ "vector" ]
ad76d23b2fa3e2f2fed4e953cc60844380423f06
3,272
cpp
C++
tests/unittests/op/conv.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
tests/unittests/op/conv.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
tests/unittests/op/conv.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #define BOOST_TEST_MODULE Test_Op_Conv #include <boost/test/unit_test.hpp> #include <popart/ir.hpp> #include <popart/op/conv.hpp> using namespace popart; BOOST_AUTO_TEST_CASE(TestRestoreParams) { Ir ir; Graph &g = ir.getMainGraph(); auto convAttr = Att...
34.083333
76
0.682152
[ "shape", "vector" ]
ad78b55f3067dcccece039e33f6de254fe9c6b7a
47,809
cpp
C++
src/imaging/ossimGeneralRasterTileSource.cpp
DigitalGlobe/ossim
a03729866f15bcf3bf210e14d395c683321b12bc
[ "MIT" ]
1
2018-03-04T10:45:56.000Z
2018-03-04T10:45:56.000Z
src/imaging/ossimGeneralRasterTileSource.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
null
null
null
src/imaging/ossimGeneralRasterTileSource.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
null
null
null
//******************************************************************* // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // // Author: David Burken // // Description: // // Contains class definition for ossimGeneralRasterTileSource. //*****************************************...
29.584777
122
0.554226
[ "geometry", "object", "vector" ]
ad872cbc96afb7a99ae6c20efc8a0149363fd3e6
631
hh
C++
Exos/Serie04/poisson/grid.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
1
2021-05-19T13:31:49.000Z
2021-05-19T13:31:49.000Z
Exos/Serie05/poisson/grid.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
null
null
null
Exos/Serie05/poisson/grid.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
null
null
null
#ifndef GRID_HH #define GRID_HH /* -------------------------------------------------------------------------- */ #include <vector> /* -------------------------------------------------------------------------- */ class Grid { public: Grid(int m, int n); /// access the value [i][j] of the grid inline float & ope...
21.033333
80
0.453249
[ "vector" ]
ad8c050f775927e0cbc98be0350ca3244a1c1449
25,613
cpp
C++
projects/gui/plugins/opencv/drwnOpenCVNodes.cpp
exoad/drwn
3cc9faaa99602cb7ab69af795ec6e4194ff1919f
[ "BSD-3-Clause" ]
40
2015-01-26T21:58:25.000Z
2021-11-03T13:52:40.000Z
projects/gui/plugins/opencv/drwnOpenCVNodes.cpp
exoad/drwn
3cc9faaa99602cb7ab69af795ec6e4194ff1919f
[ "BSD-3-Clause" ]
7
2015-04-08T23:44:17.000Z
2016-05-09T11:29:38.000Z
projects/gui/plugins/opencv/drwnOpenCVNodes.cpp
exoad/drwn
3cc9faaa99602cb7ab69af795ec6e4194ff1919f
[ "BSD-3-Clause" ]
32
2015-01-12T01:47:58.000Z
2022-01-12T10:08:59.000Z
/***************************************************************************** ** DARWIN: A FRAMEWORK FOR MACHINE LEARNING RESEARCH AND DEVELOPMENT ** Distributed under the terms of the BSD license (see the LICENSE file) ** Copyright (c) 2007-2017, Stephen Gould ** All rights reserved. ** ******************************...
36.074648
120
0.606059
[ "vector" ]
ad8cb4cd7b4edae2ac2afff00037d39f3e57bbf6
19,797
cpp
C++
irobot_create_common/irobot_create_nodes/src/motion_control/drive_goal_behaviors.cpp
roni-kreinin/create3_sim
637f02b9f7ddcc28de35e5e003c998290a51fccd
[ "BSD-3-Clause" ]
14
2021-10-21T10:43:09.000Z
2022-03-22T13:30:44.000Z
irobot_create_common/irobot_create_nodes/src/motion_control/drive_goal_behaviors.cpp
roni-kreinin/create3_sim
637f02b9f7ddcc28de35e5e003c998290a51fccd
[ "BSD-3-Clause" ]
49
2021-10-20T19:00:08.000Z
2022-03-28T11:12:51.000Z
irobot_create_common/irobot_create_nodes/src/motion_control/drive_goal_behaviors.cpp
roni-kreinin/create3_sim
637f02b9f7ddcc28de35e5e003c998290a51fccd
[ "BSD-3-Clause" ]
10
2021-10-20T16:26:15.000Z
2022-03-21T00:35:24.000Z
// Copyright 2021 iRobot Corporation. All Rights Reserved. // @author Justin Kearns (jkearns@irobot.com) #include <angles/angles.h> #include <irobot_create_nodes/motion_control/drive_goal_behaviors.hpp> #include <geometry_msgs/msg/pose_stamped.hpp> #include <tf2/LinearMath/Quaternion.h> #include <tf2/utils.h> #includ...
39.832998
100
0.754811
[ "transform" ]
ad8e4f54388eb4731fceb761c956dd9650844fc2
319
cpp
C++
NOIP/oj.noi.cn/100003.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
14
2018-06-21T14:41:26.000Z
2021-12-19T14:43:51.000Z
NOIP/oj.noi.cn/100003.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
null
null
null
NOIP/oj.noi.cn/100003.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
2
2020-04-20T11:16:53.000Z
2021-01-02T15:58:35.000Z
#include <bits/stdc++.h> using namespace std; typedef unsigned long long LL; int main() { std::ios::sync_with_stdio(false); std::cin.tie(0); vector<LL> f(31, 1); for (int i = 2; i < f.size(); i++) f[i] = f[i - 1] + f[i - 2]; int n; cin >> n; cout << f[n] << endl; return 0; }
17.722222
38
0.504702
[ "vector" ]
ad91c32fac6f5cf0a6aa908f5acec0db56722c00
1,600
cpp
C++
something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/July long Challenge 17/PSHTTR.cpp
gopala-kr/CR-101
dd27b767cdc0c667655ab8e32e020ed4248bd112
[ "MIT" ]
5
2018-05-09T04:02:04.000Z
2021-02-21T19:27:56.000Z
something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/July long Challenge 17/PSHTTR.cpp
gopala-kr/CR-101
dd27b767cdc0c667655ab8e32e020ed4248bd112
[ "MIT" ]
null
null
null
something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/July long Challenge 17/PSHTTR.cpp
gopala-kr/CR-101
dd27b767cdc0c667655ab8e32e020ed4248bd112
[ "MIT" ]
5
2018-02-23T22:08:28.000Z
2020-08-19T08:31:47.000Z
// dfs template - everything is 0 indexed #include<bits/stdc++.h> using namespace std; vector<bool> vis; struct gnode{ vector<pair<long, long long> > children; }; class graph{ public: long nodes; vector<gnode> gnodes; graph(long k){ nodes = k; gnodes.resize(k); vis.resize(k); ...
24.615385
78
0.506875
[ "vector" ]
74e866c1a9fea0aac5ae49c209fdde91110ad556
6,492
cpp
C++
src/llvm/lib/Target/JSBackend/NaCl/GlobalizeConstantVectors.cpp
ryoon/rustc-1.19.0
4ca47e69f710b93580101782576ebad2bef64749
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
src/llvm/lib/Target/JSBackend/NaCl/GlobalizeConstantVectors.cpp
ryoon/rustc-1.19.0
4ca47e69f710b93580101782576ebad2bef64749
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
src/llvm/lib/Target/JSBackend/NaCl/GlobalizeConstantVectors.cpp
ryoon/rustc-1.19.0
4ca47e69f710b93580101782576ebad2bef64749
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
//===- GlobalizeConstantVectors.cpp - Globalize constant vector -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
36.677966
107
0.635243
[ "vector" ]
74eb4b1660241dca5dd7378a2ab213523666ac51
15,495
cc
C++
CCA/Components/Arches/SourceTerms/HTConvection.cc
QuocAnh90/Uintah_Aalto
802c236c331b7eb705d408c352969037e4c5b153
[ "MIT" ]
3
2020-06-10T08:21:31.000Z
2020-06-23T18:33:16.000Z
CCA/Components/Arches/SourceTerms/HTConvection.cc
QuocAnh90/Uintah_Aalto
802c236c331b7eb705d408c352969037e4c5b153
[ "MIT" ]
null
null
null
CCA/Components/Arches/SourceTerms/HTConvection.cc
QuocAnh90/Uintah_Aalto
802c236c331b7eb705d408c352969037e4c5b153
[ "MIT" ]
2
2019-12-30T05:48:30.000Z
2020-02-12T16:24:16.000Z
#include <Core/ProblemSpec/ProblemSpec.h> #include <CCA/Ports/Scheduler.h> #include <Core/Grid/MaterialManager.h> #include <Core/Grid/Variables/VarLabel.h> #include <Core/Grid/Variables/VarTypes.h> #include <Core/Grid/Variables/CCVariable.h> #include <CCA/Components/Arches/SourceTerms/HTConvection.h> #include <CCA/Comp...
37.427536
154
0.566699
[ "vector" ]
74f0777c23378d40c690566e94d65ee53f6c8af3
6,444
cc
C++
test/multiscale/recip_comm/test.cc
SCOREC/amsi
a9d33804e951b397b3a0ca5f07efe854536c8e0a
[ "BSD-3-Clause" ]
null
null
null
test/multiscale/recip_comm/test.cc
SCOREC/amsi
a9d33804e951b397b3a0ca5f07efe854536c8e0a
[ "BSD-3-Clause" ]
null
null
null
test/multiscale/recip_comm/test.cc
SCOREC/amsi
a9d33804e951b397b3a0ca5f07efe854536c8e0a
[ "BSD-3-Clause" ]
null
null
null
#include "test.h" #include "amsiMultiscale.h" #include "amsiControlService.h" #include <mpi.h> #include <iostream> #include <utility> using namespace amsi; const int vsize = 6; // Test data types for communication MPI_Datatype sigma_type; struct Sigma { double v[vsize]; bool operator==(Sigma & other) { bo...
39.533742
125
0.637958
[ "object", "vector" ]
74f150792b32376ded05a79f318d398501272b37
248
cc
C++
tests/t00009/t00009.cc
dgoffredo/clang-uml
3b0a454e4e85aee06168439660f0fd71dc4b7a75
[ "Apache-2.0" ]
10
2021-11-16T01:08:05.000Z
2022-03-15T23:51:11.000Z
tests/t00009/t00009.cc
dgoffredo/clang-uml
3b0a454e4e85aee06168439660f0fd71dc4b7a75
[ "Apache-2.0" ]
8
2021-11-16T21:29:41.000Z
2022-03-21T21:22:00.000Z
tests/t00009/t00009.cc
dgoffredo/clang-uml
3b0a454e4e85aee06168439660f0fd71dc4b7a75
[ "Apache-2.0" ]
2
2021-12-04T20:20:06.000Z
2022-02-08T06:33:27.000Z
#include <string> #include <vector> namespace clanguml { namespace t00009 { template <typename T> class A { public: T value; }; class B { public: A<int> aint; A<std::string> *astring; A<std::vector<std::string>> &avector; }; } }
12.4
41
0.629032
[ "vector" ]
74f198d6a9dd1de51a3a0ee153783f820b61f249
7,573
cc
C++
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/optimizer/fix_quantized_ops.cc
chiaitian/Paddle-Lite
07bfd0705b8351f0e6c9d95bcee71e4ac011fa62
[ "Apache-2.0" ]
3
2021-06-17T11:00:13.000Z
2021-08-10T10:28:59.000Z
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/optimizer/fix_quantized_ops.cc
chiaitian/Paddle-Lite
07bfd0705b8351f0e6c9d95bcee71e4ac011fa62
[ "Apache-2.0" ]
1
2021-01-06T10:21:22.000Z
2021-01-06T10:21:22.000Z
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/optimizer/fix_quantized_ops.cc
yingshengBD/Paddle-Lite
eea59b66f61bb2acad471010c9526eeec43a15ca
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
38.247475
79
0.71372
[ "vector", "model" ]
74f252fb7c50e2305f084d1be3e12e3a11a4d613
4,941
cpp
C++
framework/box.cpp
MaximilianMargraf/programmiersprachen-raytracer
76436308bb3b149a7d54ac1d8ae1ab800e594103
[ "MIT" ]
null
null
null
framework/box.cpp
MaximilianMargraf/programmiersprachen-raytracer
76436308bb3b149a7d54ac1d8ae1ab800e594103
[ "MIT" ]
null
null
null
framework/box.cpp
MaximilianMargraf/programmiersprachen-raytracer
76436308bb3b149a7d54ac1d8ae1ab800e594103
[ "MIT" ]
null
null
null
#include "box.hpp" Box::Box(): Shape(), min{glm::vec3(0.0, 0.0, 0.0)}, max{glm::vec3(1.0, 1.0, 1.0)} { world_transformation_[0] = glm::vec4{1.0f, 0.0f, 0.0f, 0.0f}; world_transformation_[1] = glm::vec4{0.0f, 1.0f, 0.0f, 0.0f}; world_transformation_[2] = glm::vec4{0.0f, 0.0f, 1.0f, 0.0f}; world_transformati...
25.338462
84
0.626189
[ "shape" ]
74f45ba8e6efbb0249ab93c850a9ea49ed96e7d7
606
hpp
C++
libs/options/include/fcppt/options/optional_short_name_fwd.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/options/include/fcppt/options/optional_short_name_fwd.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/options/include/fcppt/options/optional_short_name_fwd.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_OPTIONS_OPTIONAL_SHORT_NAME_FWD_HPP_INCLUDED #define FCPPT_OPTIONS_OPTIONAL_SHORT_NAM...
25.25
80
0.765677
[ "object" ]
74f517ea97fd71909179c1f297340189c035f316
2,993
hpp
C++
include/codegen/include/System/Runtime/Remoting/Messaging/ObjRefSurrogate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Runtime/Remoting/Messaging/ObjRefSurrogate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Runtime/Remoting/Messaging/ObjRefSurrogate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:50 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
61.081633
250
0.777147
[ "object" ]
74f569687be00eee9709b48c691ffcca5a2d5130
669
cc
C++
src/codeforces/accepted/567a.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
src/codeforces/accepted/567a.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
src/codeforces/accepted/567a.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
// Problem # : 567a // Created on : 2018-10-29 14:09:19 #include <bits/stdc++.h> #define FR(i, n) for (int i = 0; i < (int)(n); ++i) using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; int main() { ios_base::sync_with_stdio(false); cin.tie(0); int n; cin >> n; ...
21.580645
76
0.45142
[ "vector" ]
74fcd70902c3ed71eb02e494fe9a7c515fd61c63
5,466
cpp
C++
tests/src/containers/actions_test.cpp
BlurringShadow/stdsharp-utility
320ed15d660b4e23dfa42ed2ed5857e97a0513de
[ "Unlicense" ]
null
null
null
tests/src/containers/actions_test.cpp
BlurringShadow/stdsharp-utility
320ed15d660b4e23dfa42ed2ed5857e97a0513de
[ "Unlicense" ]
null
null
null
tests/src/containers/actions_test.cpp
BlurringShadow/stdsharp-utility
320ed15d660b4e23dfa42ed2ed5857e97a0513de
[ "Unlicense" ]
null
null
null
#include "containers/actions_test.h" #include "containers/actions.h" #include "type_traits/object.h" namespace stdsharp::test::containers::actions { using namespace std; using namespace std::ranges; using namespace boost::ut; using namespace bdd; using namespace stdsharp::functional; using name...
34.594937
99
0.536956
[ "object", "vector" ]
2d041ba2e18c14c3838a79a11fcda8a7e56456b8
157,626
cpp
C++
lpg2/src/CSharpAction.cpp
kuafuwang/LPG2
5cda43c109633d951facbeac361e060dd6d59dcd
[ "MIT" ]
2
2021-08-05T12:16:59.000Z
2021-08-05T13:09:19.000Z
lpg2/src/CSharpAction.cpp
kuafuwang/LPG2
5cda43c109633d951facbeac361e060dd6d59dcd
[ "MIT" ]
null
null
null
lpg2/src/CSharpAction.cpp
kuafuwang/LPG2
5cda43c109633d951facbeac361e060dd6d59dcd
[ "MIT" ]
null
null
null
#include "CTC.h" #include "NTC.h" #include "CSharpAction.h" #include <map> #include <string> #include "LCA.h" #include "TTC.h" // // // void CSharpAction::ExpandExportMacro(TextBuffer *buffer, SimpleMacroSymbol *simple_macro) { buffer -> Put(option -> exp_type); buffer -> Put("."); buffer -> Put(option ...
46.511065
174
0.525599
[ "object" ]
2d054f932a2addb7499ce08da081e90c78be02fc
2,790
cpp
C++
chap18/drill.cpp
ksvbka/pppuc
840962dd612ab4f2b2c638409089cd889c417c8f
[ "MIT" ]
2
2016-05-06T02:08:38.000Z
2016-05-10T02:19:05.000Z
chap18/drill.cpp
ksvbka/pppuc
840962dd612ab4f2b2c638409089cd889c417c8f
[ "MIT" ]
null
null
null
chap18/drill.cpp
ksvbka/pppuc
840962dd612ab4f2b2c638409089cd889c417c8f
[ "MIT" ]
1
2020-11-01T13:06:15.000Z
2020-11-01T13:06:15.000Z
#include <iostream> #include <vector> #include <stdexcept> using namespace std; /* Array drill: 1. Define a global int array ga of ten ints initialized to 1, 2, 4, 8, 16, etc. */ int ga[10] = {1,2,4,8,16}; /* 2. Define a function f() taking an int array argument and an int argument indicating the number of elements...
26.320755
79
0.605376
[ "vector" ]
2d0819b3f021763ca3c867954f901f66e5c762e8
8,314
cxx
C++
Remoting/ServerManager/Testing/Cxx/TestMultiplexerSourceProxy.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
815
2015-01-03T02:14:04.000Z
2022-03-26T07:48:07.000Z
Remoting/ServerManager/Testing/Cxx/TestMultiplexerSourceProxy.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
9
2015-04-28T20:10:37.000Z
2021-08-20T18:19:01.000Z
Remoting/ServerManager/Testing/Cxx/TestMultiplexerSourceProxy.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
328
2015-01-22T23:11:46.000Z
2022-03-14T06:07:52.000Z
/*========================================================================= Program: ParaView Module: TestMultiplexerSourceProxy.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; w...
32.603922
99
0.631706
[ "3d" ]
2d0882443b51fc0639e19811f311e785a8cc9ea1
6,252
cpp
C++
core/src/cpic/data/easy.cpp
emanuelmch/cpic
d31b977710865d28b87e66a419964200de197067
[ "MIT" ]
null
null
null
core/src/cpic/data/easy.cpp
emanuelmch/cpic
d31b977710865d28b87e66a419964200de197067
[ "MIT" ]
2
2021-05-06T15:08:44.000Z
2022-02-09T00:51:11.000Z
core/src/cpic/data/easy.cpp
emanuelmch/cpic
d31b977710865d28b87e66a419964200de197067
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019 Emanuel Machado da Silva * * 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, m...
40.335484
97
0.40771
[ "vector", "model" ]
2d11c9633e2e54c97590c18dc8413163e7efc121
1,233
hpp
C++
render-test/manifest_parser.hpp
kair8m/mapbox-gl-native
68516e1c6964c41a2c7fe9305cabf5a058012568
[ "BSD-2-Clause", "BSD-3-Clause" ]
4,234
2015-01-09T08:10:16.000Z
2022-03-30T14:13:55.000Z
render-test/manifest_parser.hpp
kair8m/mapbox-gl-native
68516e1c6964c41a2c7fe9305cabf5a058012568
[ "BSD-2-Clause", "BSD-3-Clause" ]
12,771
2015-01-01T20:27:42.000Z
2022-03-24T18:14:44.000Z
render-test/manifest_parser.hpp
kair8m/mapbox-gl-native
68516e1c6964c41a2c7fe9305cabf5a058012568
[ "BSD-2-Clause", "BSD-3-Clause" ]
1,571
2015-01-08T08:24:53.000Z
2022-03-28T06:30:53.000Z
#pragma once #include "metadata.hpp" #include <mbgl/util/optional.hpp> #include <mbgl/util/rapidjson.hpp> #include <cstdlib> #include <regex> #include <string> #include <utility> #include <vector> class Manifest { public: Manifest(); ~Manifest(); const std::vector<std::pair<std::string, std::string>>& g...
27.4
82
0.671533
[ "vector" ]
2d1d21e5ebbc41db70c60df9746673428d3f946a
1,723
cpp
C++
comments.cpp
tanveerbadar/CppCodeProvider
e1279c59dd5199e4447d00124d6a4358e27b4315
[ "MIT" ]
null
null
null
comments.cpp
tanveerbadar/CppCodeProvider
e1279c59dd5199e4447d00124d6a4358e27b4315
[ "MIT" ]
null
null
null
comments.cpp
tanveerbadar/CppCodeProvider
e1279c59dd5199e4447d00124d6a4358e27b4315
[ "MIT" ]
null
null
null
#include "cppcodeprovider.h" #include <sstream> namespace CPlusPlusCodeProvider { using std::wstring; using std::wostream; Comment& Comment::Assign( const CodeObject& object ) { const Comment& ref = cast< Comment >( object ); text = ref.text; return *this; } Comment& Comment::Duplicate( ) ...
21.5375
135
0.59141
[ "object" ]
2d21f371f35705a1b45ec06858b89ed2530ebcfe
6,721
hh
C++
include/aleph/topology/io/TikZ.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
56
2019-04-24T22:11:15.000Z
2022-03-22T11:37:47.000Z
include/aleph/topology/io/TikZ.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
48
2016-11-30T09:37:13.000Z
2019-01-30T21:43:39.000Z
include/aleph/topology/io/TikZ.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
11
2019-05-02T11:54:31.000Z
2020-12-10T14:05:40.000Z
#ifndef ALEPH_TOPOLOGY_IO_TIKZ_HH__ #define ALEPH_TOPOLOGY_IO_TIKZ_HH__ #include <fstream> #include <ostream> #include <stdexcept> #include <string> namespace aleph { namespace topology { namespace io { /** @class TikZ @brief Writes files as a TikZ picture This writer class uses coordinate information of a ...
23.918149
103
0.543372
[ "render" ]
2d288bf69b095afa157f54e706388e72c67c3d1a
529
cpp
C++
challenge/leet.gcc/q658/q658/main.cpp
odys-z/hello
39ca67cae34eb4bc4cbd848a06b3c0d65a995954
[ "MIT" ]
null
null
null
challenge/leet.gcc/q658/q658/main.cpp
odys-z/hello
39ca67cae34eb4bc4cbd848a06b3c0d65a995954
[ "MIT" ]
3
2021-04-17T18:36:24.000Z
2022-03-04T20:30:09.000Z
challenge/leet.gcc/q658/q658/main.cpp
odys-z/hello
39ca67cae34eb4bc4cbd848a06b3c0d65a995954
[ "MIT" ]
null
null
null
#include <QCoreApplication> #include <iostream> #include "coutvectors.h" #include "q658.h" using namespace std; int main(int argc, char *argv[]) { // QCoreApplication a(argc, argv); Q658* q = new Q658(); vector<int> arr {1, 2, 3}; vector<int> reslt = q->findClosestElements(arr, 3, 2); CoutVector...
21.16
58
0.604915
[ "vector" ]
2d297311cd31a2cca6cf661df07b5fbec82033c8
1,667
cpp
C++
src/mlpack/bindings/tests/clean_memory.cpp
oblanchet/mlpack
e02ab3be544694294d2f73bd12a98d0d162ef3af
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4,216
2015-01-01T02:06:12.000Z
2022-03-31T19:12:06.000Z
src/mlpack/bindings/tests/clean_memory.cpp
oblanchet/mlpack
e02ab3be544694294d2f73bd12a98d0d162ef3af
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,621
2015-01-01T01:41:47.000Z
2022-03-31T19:01:26.000Z
src/mlpack/bindings/tests/clean_memory.cpp
oblanchet/mlpack
e02ab3be544694294d2f73bd12a98d0d162ef3af
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1,972
2015-01-01T23:37:13.000Z
2022-03-28T06:03:41.000Z
/** * @file bindings/tests/clean_memory.cpp * @author Ryan Curtin * * Delete any pointers held by the IO object. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. ...
27.783333
78
0.683863
[ "object" ]
2d2a4a65645e413659611c87b90dc81709b5d4cb
2,721
hpp
C++
log4cxx/string_utility.hpp
wangzhicheng2013/log_system
69787cb10d30f36b2ff532b2db96106c272eafd4
[ "MIT" ]
null
null
null
log4cxx/string_utility.hpp
wangzhicheng2013/log_system
69787cb10d30f36b2ff532b2db96106c272eafd4
[ "MIT" ]
null
null
null
log4cxx/string_utility.hpp
wangzhicheng2013/log_system
69787cb10d30f36b2ff532b2db96106c272eafd4
[ "MIT" ]
null
null
null
#pragma once #include <stdio.h> #include <string.h> #include <stdarg.h> #include <string> #include <vector> #include <unordered_map> #include "single_instance.hpp" class string_utility { public: void replace_all(std::string &origin_str, const char *pattern, const char *val) { size_t size = strlen...
29.576087
95
0.408306
[ "vector" ]
2d2b21b7ed1304df0fa1256c0361f7dd294061e7
1,081
cpp
C++
Graph/detect_cycle.cpp
Nilesh-Das/dsalgo
2454f272a5de47e7b9cfbde73bf7c01d0d1492a2
[ "MIT" ]
null
null
null
Graph/detect_cycle.cpp
Nilesh-Das/dsalgo
2454f272a5de47e7b9cfbde73bf7c01d0d1492a2
[ "MIT" ]
null
null
null
Graph/detect_cycle.cpp
Nilesh-Das/dsalgo
2454f272a5de47e7b9cfbde73bf7c01d0d1492a2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // https://codeforces.com/contest/510/problem/B vector<vector<int>> grid, vis; vector<vector<int>> dir = {{1,0},{-1,0},{0,1},{0,-1}}; int n, m; void fuckingyes() { cout << "Yes\n"; exit(0); } void dfs(int x, int y, int px, int py, int c) { if(vis[x][y]) fuck...
21.196078
57
0.440333
[ "vector" ]
2d3480fd11461e8f3f968a6a16d7e2373aa55c85
1,557
cc
C++
src/goesproc/lrit_processor.cc
codient/goestools
862600960681a1a1f3942f18f40b1f17dcdffc40
[ "BSD-2-Clause" ]
244
2017-11-07T12:12:23.000Z
2022-03-24T07:24:53.000Z
src/goesproc/lrit_processor.cc
codient/goestools
862600960681a1a1f3942f18f40b1f17dcdffc40
[ "BSD-2-Clause" ]
116
2018-03-07T04:02:26.000Z
2022-03-27T12:08:01.000Z
src/goesproc/lrit_processor.cc
codient/goestools
862600960681a1a1f3942f18f40b1f17dcdffc40
[ "BSD-2-Clause" ]
65
2018-05-28T02:44:21.000Z
2022-03-18T12:27:58.000Z
#include "lrit_processor.h" #include <sys/stat.h> #include <algorithm> #include "lib/dir.h" #include "lrit/file.h" LRITProcessor::LRITProcessor(std::vector<std::unique_ptr<Handler> > handlers) : handlers_(std::move(handlers)) { } void LRITProcessor::run(int argc, char** argv) { std::vector<std::shared_ptr<lr...
25.112903
77
0.594091
[ "vector" ]
2d3646e1cfb3d220a746892d3a5390548c9a3d75
3,819
cpp
C++
app/src/viewmanager.cpp
DaveeFTW/infinity
6a4f269f8abcf65696064cad94ba9ac8b845bd74
[ "MIT" ]
137
2019-11-10T16:12:16.000Z
2022-03-27T23:32:15.000Z
app/src/viewmanager.cpp
DaveeFTW/infinity
6a4f269f8abcf65696064cad94ba9ac8b845bd74
[ "MIT" ]
12
2019-11-11T20:37:05.000Z
2021-11-14T17:18:56.000Z
app/src/viewmanager.cpp
DaveeFTW/infinity
6a4f269f8abcf65696064cad94ba9ac8b845bd74
[ "MIT" ]
49
2019-11-15T02:37:05.000Z
2022-03-28T20:04:49.000Z
/* Copyright (C) 2015, David "Davee" Morgan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
25.125
94
0.653836
[ "render", "model" ]
2d37d8b6e31edfdf73cebc6ea12ce0c85fb6c0d2
5,366
cc
C++
src/tint/resolver/is_storeable_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/resolver/is_storeable_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/resolver/is_storeable_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Tint Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
38.884058
100
0.600261
[ "vector" ]
2d407f7d1e599cc865669ff9bcf814efadbf91ac
10,067
cpp
C++
tests/std/tests/P0608R3_improved_variant_converting_constructor/test.cpp
isra-fel/STL
6ae9a578b4f52193dc523922c943a2214a873577
[ "Apache-2.0" ]
1
2021-02-22T00:19:50.000Z
2021-02-22T00:19:50.000Z
tests/std/tests/P0608R3_improved_variant_converting_constructor/test.cpp
isra-fel/STL
6ae9a578b4f52193dc523922c943a2214a873577
[ "Apache-2.0" ]
null
null
null
tests/std/tests/P0608R3_improved_variant_converting_constructor/test.cpp
isra-fel/STL
6ae9a578b4f52193dc523922c943a2214a873577
[ "Apache-2.0" ]
null
null
null
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Also tests for P1957R2: Converting from T* to bool should be considered narrowing #include <assert.h> #include <bitset> #include <functional> #include <optional> #include <string> #include <type_traits> #i...
38.132576
97
0.659481
[ "vector" ]
2d413ce481a73a15e2c5cd34c3cf87d3201bacc7
2,468
cpp
C++
src/field.cpp
ihtiandr9/AMQP-CPP
7b671fa637863ec65948d7dc7585ff802b4f0407
[ "Apache-2.0" ]
713
2015-01-16T07:53:09.000Z
2022-03-26T07:13:25.000Z
src/field.cpp
ihtiandr9/AMQP-CPP
7b671fa637863ec65948d7dc7585ff802b4f0407
[ "Apache-2.0" ]
335
2015-01-07T10:14:41.000Z
2022-03-28T19:39:33.000Z
src/field.cpp
ihtiandr9/AMQP-CPP
7b671fa637863ec65948d7dc7585ff802b4f0407
[ "Apache-2.0" ]
345
2015-01-25T12:24:29.000Z
2022-03-15T12:53:13.000Z
/** * Field.cpp * * @copyright 2014 - 2020 Copernica BV */ #include "includes.h" /** * Set up namespace */ namespace AMQP { /** * Decode a field by fetching a type and full field from a frame * The returned field is allocated on the heap! * @param frame * @return std::unique_ptr<Field> */ std::uniq...
26.255319
75
0.606969
[ "object" ]
2d4635935e710fb04ff1ded027340ee109754cee
2,830
cpp
C++
C++Server/Test_Tools/main.cpp
IncompleteWorlds/01_gs4cubesat
4386a3a8b984e96cab364bab83fc2fb49aa5cc3d
[ "RSA-MD" ]
null
null
null
C++Server/Test_Tools/main.cpp
IncompleteWorlds/01_gs4cubesat
4386a3a8b984e96cab364bab83fc2fb49aa5cc3d
[ "RSA-MD" ]
null
null
null
C++Server/Test_Tools/main.cpp
IncompleteWorlds/01_gs4cubesat
4386a3a8b984e96cab364bab83fc2fb49aa5cc3d
[ "RSA-MD" ]
null
null
null
/** * CubeGS * An online Ground Segment for Cubesats and Small Sats * (c) 2017 Incomplete Worlds * */ /* * THIS TOOL IS INCOMPLETE * A GENERIC JSON CANNOT BE CREATED WITHOUT CREATING A MESSAGE * STRUCTURE BEFOREHAND. THUS, IT DOES NOT WORK * */ #include <iostream> #include <string> #include <v...
23.38843
81
0.584099
[ "vector" ]
2d46b755df449b6b3dec9777065c4e4d8a346186
26,168
cpp
C++
lib/src/test/metadataToneCurveTest.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
lib/src/test/metadataToneCurveTest.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
lib/src/test/metadataToneCurveTest.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #include "gpu/testing.hpp" #include "libvideostitch/parse.hpp" #include "libvideostitch/panoDef.hpp" #include "exposure/metadataProcessor.hpp" namespace VideoStitch { namespace Testing { static const int NUM_INPUTS{4}; std::unique_ptr<Core:...
52.023857
117
0.61258
[ "vector" ]
2d4d3a23c9dde0d23c17a1ea67bce17167def6c7
1,390
cpp
C++
LeetCode/01315.cpp
vdshk/algos
8896c9edd30225acbdb51fa2e9760c0cc4adf307
[ "MIT" ]
null
null
null
LeetCode/01315.cpp
vdshk/algos
8896c9edd30225acbdb51fa2e9760c0cc4adf307
[ "MIT" ]
null
null
null
LeetCode/01315.cpp
vdshk/algos
8896c9edd30225acbdb51fa2e9760c0cc4adf307
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fi first #define se second #define pb push_back #define all(a) a.begin(), a.end() #define rall(a) a.rbegin(), a.rend() #define len(a) (int)a.size() using namespace std; typedef vector<int> vint; typedef long double ld; typedef long long ll; typedef string str; /** * Definition for ...
26.226415
93
0.535971
[ "vector" ]
2d50e665fd269f04f57f2422cda15ea06c0f9221
2,163
cpp
C++
common/gl/threadedSwapchainRenderer.cpp
kwahoo2/sdl2oxr
a3e765fddffe66e67fd3c64e1339f2ad752e20f8
[ "Apache-2.0" ]
32
2019-10-01T04:08:22.000Z
2022-03-05T14:11:38.000Z
common/gl/threadedSwapchainRenderer.cpp
kwahoo2/sdl2oxr
a3e765fddffe66e67fd3c64e1339f2ad752e20f8
[ "Apache-2.0" ]
7
2019-09-30T21:07:49.000Z
2021-01-14T23:24:58.000Z
common/gl/threadedSwapchainRenderer.cpp
kwahoo2/sdl2oxr
a3e765fddffe66e67fd3c64e1339f2ad752e20f8
[ "Apache-2.0" ]
7
2019-10-15T01:26:32.000Z
2022-03-05T14:11:54.000Z
#include "threadedSwapchainRenderer.hpp" #include <gl/debug.hpp> #include <glad/glad.h> using namespace xr_examples; using namespace xr_examples::gl; void ThreadedSwapchainRenderer::create(const xr::Extent2Di& size, const xr::Session& session, Window& window) { auto swapchain = session.createSwapchain(xr::Swapc...
32.772727
134
0.680999
[ "render" ]
2d591d30118193bfd0c59a47f973b6bf78ff91b1
9,195
hpp
C++
modules/mcc/include/opencv2/mcc/distance.hpp
riskiest/opencv_contrib
47c716db455c1b9aaff0fe4cafba2c283132fb39
[ "Apache-2.0" ]
null
null
null
modules/mcc/include/opencv2/mcc/distance.hpp
riskiest/opencv_contrib
47c716db455c1b9aaff0fe4cafba2c283132fb39
[ "Apache-2.0" ]
null
null
null
modules/mcc/include/opencv2/mcc/distance.hpp
riskiest/opencv_contrib
47c716db455c1b9aaff0fe4cafba2c283132fb39
[ "Apache-2.0" ]
2
2020-08-07T07:12:11.000Z
2020-08-07T08:35:45.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // // License Agreement // For Open Source Computer Vision Library // // Copyright(C) 20...
30.855705
90
0.59826
[ "vector", "3d" ]
062bb371e5cd91e0dd089a4e40ba1db07da9e805
2,403
cpp
C++
c++/CMakeProject1/query/TextQuery.cpp
Minyi1750/test
08409df49fb576114c8b70677face827023d9cb5
[ "Apache-2.0" ]
1
2018-03-03T21:04:45.000Z
2018-03-03T21:04:45.000Z
c++/CMakeProject1/query/TextQuery.cpp
Minyi1750/test
08409df49fb576114c8b70677face827023d9cb5
[ "Apache-2.0" ]
null
null
null
c++/CMakeProject1/query/TextQuery.cpp
Minyi1750/test
08409df49fb576114c8b70677face827023d9cb5
[ "Apache-2.0" ]
null
null
null
#include<iostream> using std::cout; using std::endl; using std::cin; #include<fstream> using std::ifstream; using std::ostream; #include<sstream> using std::istringstream; #include<vector> using std::vector; #include<string> using std::string; using std::getline; #include<memory> using std::shared_ptr; #include<ma...
19.224
74
0.661257
[ "vector" ]
062ca448927926f3bd69bd8b2b32a6f2a3e007f2
7,127
hpp
C++
http.hpp
sjk7/xpsockets
28388c5a88a612b7bae8199bfe4dd43062ee2826
[ "MIT" ]
null
null
null
http.hpp
sjk7/xpsockets
28388c5a88a612b7bae8199bfe4dd43062ee2826
[ "MIT" ]
null
null
null
http.hpp
sjk7/xpsockets
28388c5a88a612b7bae8199bfe4dd43062ee2826
[ "MIT" ]
null
null
null
#pragma once // HTTP_HPP #include <vector> #include "strings.hpp" #include <string_view> #include <cassert> namespace http { struct header; struct name_value_pair_type { std::string name; std::string value; }; struct request_line_type { friend struct header; private: std::string m_method; // GE...
31.258772
80
0.541462
[ "vector" ]
063090f3cb07aee029f08184e81acbefd3820617
2,145
cpp
C++
gui/mouse.cpp
n3on/revisy
f69f778563776ae463505baf9835820704e72bd4
[ "MIT" ]
1
2020-02-18T22:59:20.000Z
2020-02-18T22:59:20.000Z
gui/mouse.cpp
n3on/revisy
f69f778563776ae463505baf9835820704e72bd4
[ "MIT" ]
null
null
null
gui/mouse.cpp
n3on/revisy
f69f778563776ae463505baf9835820704e72bd4
[ "MIT" ]
null
null
null
/*************************************************************************** * This file is part of the ReViSy project * Copyright (C) 2007 by Neon ***************************************************************************/ #include "mouse.h" POINT Mouse::position = {0,0}; bool Mouse::lpressed = false; Mo...
22.113402
92
0.591608
[ "render" ]
0634328701a932def82619510ead97cd39c00d2a
5,850
hpp
C++
redfish-core/include/event_service_manager.hpp
ztai-goog/bmcweb
881e50b775fcccbc447fc39f40671574e0fa4157
[ "Apache-2.0" ]
null
null
null
redfish-core/include/event_service_manager.hpp
ztai-goog/bmcweb
881e50b775fcccbc447fc39f40671574e0fa4157
[ "Apache-2.0" ]
null
null
null
redfish-core/include/event_service_manager.hpp
ztai-goog/bmcweb
881e50b775fcccbc447fc39f40671574e0fa4157
[ "Apache-2.0" ]
null
null
null
/* // Copyright (c) 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
27.336449
78
0.605299
[ "vector" ]
063fd6b2254039fefa2cd908b0706421eb104332
963
cpp
C++
Greedy Algorithms/Activity Selection Problem/solutionBySravani.cpp
harsh9999aggarwal/Programmers-Community
511d207cb15d823012c79794fc49a77f336f670d
[ "MIT" ]
8
2020-11-07T10:29:21.000Z
2020-12-26T16:54:13.000Z
Greedy Algorithms/Activity Selection Problem/solutionBySravani.cpp
harsh9999aggarwal/Programmers-Community
511d207cb15d823012c79794fc49a77f336f670d
[ "MIT" ]
null
null
null
Greedy Algorithms/Activity Selection Problem/solutionBySravani.cpp
harsh9999aggarwal/Programmers-Community
511d207cb15d823012c79794fc49a77f336f670d
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; bool sortbysec(const pair<int,int> &a, const pair<int,int> &b) { return (a.second < b.second); } int main() { int n; cin>>n; int start[n]; int end[n]; for(int i=0;i<n;i++){ cin>>start[i]; } for(int...
20.934783
69
0.509865
[ "vector" ]
0642f36b0f4db874fafe99918fd84aa52edb2411
3,251
cpp
C++
etpServerExample/MyOwnCoreProtocolHandlers.cpp
Fabien-Bosquet/fesapi
73cec4d1665dba7a11864d90cb16f0205204946e
[ "Apache-2.0" ]
null
null
null
etpServerExample/MyOwnCoreProtocolHandlers.cpp
Fabien-Bosquet/fesapi
73cec4d1665dba7a11864d90cb16f0205204946e
[ "Apache-2.0" ]
null
null
null
etpServerExample/MyOwnCoreProtocolHandlers.cpp
Fabien-Bosquet/fesapi
73cec4d1665dba7a11864d90cb16f0205204946e
[ "Apache-2.0" ]
null
null
null
/*----------------------------------------------------------------------- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under ...
45.152778
139
0.752384
[ "vector" ]
06459956edf75e01b6c47a0dd5143862628efc7a
1,546
cpp
C++
tenets/west/default/allocation/variable_allocation.cpp
michaelneale/codelingo
ff5f93bb24d4d3424a83739a34bfce64e1dfa80a
[ "Apache-2.0" ]
2
2019-02-14T06:03:14.000Z
2021-12-07T02:33:00.000Z
tenets/west/default/allocation/variable_allocation.cpp
michaelneale/codelingo
ff5f93bb24d4d3424a83739a34bfce64e1dfa80a
[ "Apache-2.0" ]
null
null
null
tenets/west/default/allocation/variable_allocation.cpp
michaelneale/codelingo
ff5f93bb24d4d3424a83739a34bfce64e1dfa80a
[ "Apache-2.0" ]
2
2018-11-29T22:49:06.000Z
2019-08-28T15:50:02.000Z
#include <stdlib.h> // What is obtained using new must be disposed of using delete. // Also what is obtained using malloc must be disposed using free. class Obj { int x; public: Obj(); }; Obj::Obj() { x=1; } // The first function is correct: void ProperlyDeleted() { Obj * a = new Obj(); // ...
23.784615
192
0.6837
[ "object" ]
064ba7d9a30a801593f226bc4d001203a85ba24a
4,776
cpp
C++
apps/common/ospray_testing/builders/UnstructuredVolume.cpp
tribal-tec/ospray
31ea9d16f8551c06551a11d54fe908d9d004a767
[ "Apache-2.0" ]
1
2020-05-30T02:39:22.000Z
2020-05-30T02:39:22.000Z
apps/common/ospray_testing/builders/UnstructuredVolume.cpp
tribal-tec/ospray
31ea9d16f8551c06551a11d54fe908d9d004a767
[ "Apache-2.0" ]
null
null
null
apps/common/ospray_testing/builders/UnstructuredVolume.cpp
tribal-tec/ospray
31ea9d16f8551c06551a11d54fe908d9d004a767
[ "Apache-2.0" ]
null
null
null
// Copyright 2009-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "Builder.h" #include "ospray_testing.h" using namespace ospcommon::math; namespace ospray { namespace testing { struct UnstructuredVolume : public detail::Builder { UnstructuredVolume() = default; ~UnstructuredVolume() over...
21.321429
75
0.545854
[ "object", "vector", "model" ]
064c786b0a3e98d3ca7496b0d1aa5e5b01439b9d
8,466
cpp
C++
Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/EndianConversion.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/EndianConversion.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/EndianConversion.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include "Exporter.h" #include <AzCore/Math/Vector2.h> #include <AzCore/Math/Quaternion.h> namesp...
40.507177
133
0.699268
[ "3d" ]
064d31fffe566ebe1f2921b6b3446dca1de96500
1,936
hpp
C++
include/ugly/edge_directed_weighted.hpp
JoshuaSBrown/GraphCluster
d9c28204b276165cf59137c9668c4dfcfa397089
[ "MIT" ]
null
null
null
include/ugly/edge_directed_weighted.hpp
JoshuaSBrown/GraphCluster
d9c28204b276165cf59137c9668c4dfcfa397089
[ "MIT" ]
null
null
null
include/ugly/edge_directed_weighted.hpp
JoshuaSBrown/GraphCluster
d9c28204b276165cf59137c9668c4dfcfa397089
[ "MIT" ]
null
null
null
#ifndef UGLY_EDGEDIRECTEDWEIGHTED_HPP #define UGLY_EDGEDIRECTEDWEIGHTED_HPP #include <cassert> #include <iostream> #include <list> #include <utility> #include <vector> #include "../../src/libugly/edge/edge.hpp" namespace ugly { // Composed of two integers describing a link // between two vertices class EdgeDirectedW...
26.162162
75
0.713326
[ "vector" ]
064e73aab2c4ef0a4a78db25b0d8ec45b3ee797a
4,090
cpp
C++
src/hotspot/share/opto/intrinsicnode.cpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
2
2018-06-19T05:43:32.000Z
2018-06-23T10:04:56.000Z
src/hotspot/share/opto/intrinsicnode.cpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
null
null
null
src/hotspot/share/opto/intrinsicnode.cpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
40.49505
79
0.571394
[ "transform" ]
06524dfc88149d38921c48702d7648a3de6de51e
6,294
cpp
C++
.MeshSync/Plugin/MeshSyncClientBlender/MeshSyncClientBlender.cpp
RopyTan/MeshSync
69c0aa3e953d5f9a99d8c0aaafe3f89bfb8c63cf
[ "MIT" ]
null
null
null
.MeshSync/Plugin/MeshSyncClientBlender/MeshSyncClientBlender.cpp
RopyTan/MeshSync
69c0aa3e953d5f9a99d8c0aaafe3f89bfb8c63cf
[ "MIT" ]
null
null
null
.MeshSync/Plugin/MeshSyncClientBlender/MeshSyncClientBlender.cpp
RopyTan/MeshSync
69c0aa3e953d5f9a99d8c0aaafe3f89bfb8c63cf
[ "MIT" ]
null
null
null
#include "pch.h" #include "MeshSyncClientBlender.h" using namespace mu; PYBIND11_PLUGIN(MeshSyncClientBlender) { py::module mod("MeshSyncClientBlender", "Python bindings for MeshSync"); #define BindMethod(Name) .def(#Name, &self_t::Name) #define BindMethod2(Name, ...) .def(#Name, __VA_ARGS__) #define BindPropert...
65.5625
134
0.611376
[ "object" ]
065286f97cd9ea8e0280da2e5b42d71250e87d7f
2,185
cpp
C++
plugins/G3D/VRG3D/src/VRG3DGraphicsToolkit.cpp
kmilo9999/MinVR
fc1a01b82610961c277b890a86cd6ecaabf41146
[ "BSD-3-Clause" ]
18
2016-08-04T16:09:52.000Z
2022-01-17T15:43:37.000Z
plugins/G3D/VRG3D/src/VRG3DGraphicsToolkit.cpp
kmilo9999/MinVR
fc1a01b82610961c277b890a86cd6ecaabf41146
[ "BSD-3-Clause" ]
123
2015-01-08T17:32:39.000Z
2021-12-22T00:55:00.000Z
plugins/G3D/VRG3D/src/VRG3DGraphicsToolkit.cpp
kmilo9999/MinVR
fc1a01b82610961c277b890a86cd6ecaabf41146
[ "BSD-3-Clause" ]
21
2016-11-04T18:36:29.000Z
2022-03-01T19:44:11.000Z
#include "../include/VRG3DGraphicsToolkit.h" namespace MinVR { PLUGIN_API VRG3DGraphicsToolkit::VRG3DGraphicsToolkit(VRMainInterface *vrMain) :_renderDevice(NULL), _vrMain(vrMain), isInitialized(false), _frameCounter(0) { _renderDevice = new G3D::RenderDevice(); } PLUGIN_API VRG3DGraphicsToolki...
24.550562
136
0.685584
[ "render" ]
0652bd11225ca08222c9f4b184677f92b865eed1
22,617
cpp
C++
src/test/prediction_service_test.cpp
lsdace30095/model_server
43862a61935d0798ed6908ac84b20192287933f1
[ "Apache-2.0" ]
null
null
null
src/test/prediction_service_test.cpp
lsdace30095/model_server
43862a61935d0798ed6908ac84b20192287933f1
[ "Apache-2.0" ]
null
null
null
src/test/prediction_service_test.cpp
lsdace30095/model_server
43862a61935d0798ed6908ac84b20192287933f1
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
47.02079
201
0.694964
[ "shape", "vector", "model" ]
066619224d287b8a887241661bc715a7fa380fcd
6,735
cpp
C++
Src/SimRobotCore2/Simulation/Sensors/ApproxDistanceSensor.cpp
bhuman/SimRobot
f7b2039e7b8c801cdbd74ea25346cf86b298ab06
[ "MIT" ]
3
2021-11-05T21:09:09.000Z
2021-11-15T22:48:10.000Z
Src/SimRobotCore2/Simulation/Sensors/ApproxDistanceSensor.cpp
bhuman/SimRobot
f7b2039e7b8c801cdbd74ea25346cf86b298ab06
[ "MIT" ]
null
null
null
Src/SimRobotCore2/Simulation/Sensors/ApproxDistanceSensor.cpp
bhuman/SimRobot
f7b2039e7b8c801cdbd74ea25346cf86b298ab06
[ "MIT" ]
null
null
null
/** * @file Simulation/Sensors/ApproxDistanceSensor.cpp * Implementation of class ApproxDistanceSensor * @author Colin Graf */ #include "Platform/OpenGL.h" #include <cmath> #include "Simulation/Sensors/ApproxDistanceSensor.h" #include "Simulation/Geometries/Geometry.h" #include "Platform/Assert.h" #include "Tools...
37.416667
180
0.708092
[ "geometry" ]
0668dc7d83b2b6a491e361f10ebe972c7cf30c0e
1,800
hpp
C++
src/core/lib/core_qt_common/models/wg_transpose_proxy.hpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/lib/core_qt_common/models/wg_transpose_proxy.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/lib/core_qt_common/models/wg_transpose_proxy.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#ifndef WG_TRANSPOSE_PROXY_HPP #define WG_TRANSPOSE_PROXY_HPP #include <QAbstractProxyModel> #include "qt_connection_holder.hpp" #include "core_qt_common/qt_new_handler.hpp" namespace wgt { /** * Proxy layer which transposes the source model, i.e. swaps rows and columns. * * Used by the MultiEdit control to transpos...
37.5
126
0.779444
[ "model" ]
067c44123b925fae0d6085217d62ba98e853d3b3
19,307
cc
C++
third_party/webrtc/call/rtc_event_log_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
third_party/webrtc/call/rtc_event_log_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/webrtc/call/rtc_event_log_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 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...
40.056017
80
0.659191
[ "vector" ]
068ba0270693fd56d88a78e011437b9e20456750
1,576
cpp
C++
src/Enzo/enzo_EnzoRiemann.cpp
pgrete/enzo-e
43b1e33db50dbf00ea115ef35b7a4b17aa735342
[ "BSD-3-Clause" ]
null
null
null
src/Enzo/enzo_EnzoRiemann.cpp
pgrete/enzo-e
43b1e33db50dbf00ea115ef35b7a4b17aa735342
[ "BSD-3-Clause" ]
1
2019-04-18T15:39:23.000Z
2019-04-18T15:39:23.000Z
src/Enzo/enzo_EnzoRiemann.cpp
aemerick/enzo-e
5282aa38593c298a894b52f3ab38ae616aaee43c
[ "MIT", "BSD-3-Clause" ]
null
null
null
// See LICENSE_CELLO file for license and copyright information /// @file enzo_EnzoRiemann.cpp /// @author Matthew Abruzzo (matthewabruzzo@gmail.com) /// @date Thurs May 2 2019 /// @brief [\ref Enzo] Implementation of EnzoRiemann #include <string> #include <algorithm> #include "cello.hpp" #include "enzo....
35.818182
72
0.672589
[ "vector", "transform" ]
06912035a8d61203153db757230e12f65cab5c9c
1,690
cpp
C++
_investigacion/contests/UTP-Regional/barking_machines_2.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
1
2016-02-11T21:28:22.000Z
2016-02-11T21:28:22.000Z
_investigacion/contests/UTP-Regional/barking_machines_2.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
_investigacion/contests/UTP-Regional/barking_machines_2.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const double EPS = 1e-9; inline int compareTo(double x, double y, double tol=EPS) { return (x <= y + tol) ? (x + tol < y) ? -1 : 0 : 1; } struct edge { int u; double p; edge(int u = 0, double p = 0) : u(u), p(p) { } }; typedef priority_queue< pair<double,in...
17.604167
103
0.487574
[ "vector" ]
06917d36cef94edfb900ac66997114f41514ec3b
6,065
cpp
C++
MSCServer/MSCServer.cpp
faburaya/MacStatsCollection
18ab6fafc2f85c6d7130c7287b813e7d61317b15
[ "MS-PL" ]
null
null
null
MSCServer/MSCServer.cpp
faburaya/MacStatsCollection
18ab6fafc2f85c6d7130c7287b813e7d61317b15
[ "MS-PL" ]
null
null
null
MSCServer/MSCServer.cpp
faburaya/MacStatsCollection
18ab6fafc2f85c6d7130c7287b813e7d61317b15
[ "MS-PL" ]
null
null
null
// MSCServer.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <3FD\runtime.h> #include <3FD\configuration.h> #include <3FD\callstacktracer.h> #include <3FD\exceptions.h> #include <3FD\logger.h> #include "WebService.h" #include "TasksQueue.h" #include "Authenticator.h" #include...
32.433155
154
0.611212
[ "vector" ]
069e1396a9659271d81bce4bc2e930847cae6cdc
8,856
cxx
C++
code/plugins/xray_re/xr_level.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/plugins/xray_re/xr_level.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/plugins/xray_re/xr_level.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
#include "xr_level_version.h" #include "xr_level.h" #include "xr_level_ltx.h" #include "xr_level_geom.h" #include "xr_level_visuals.h" #include "xr_level_shaders.h" #include "xr_level_sectors.h" #include "xr_level_portals.h" #include "xr_level_lights.h" #include "xr_level_glows.h" #include "xr_level_cform.h" #include "...
31.741935
108
0.712737
[ "vector" ]
06a139c05f97332245352d7f266916d1050905cf
2,596
cpp
C++
C++/645. Set Mismatch.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
3
2018-07-28T15:36:18.000Z
2020-03-17T01:26:22.000Z
C++/645. Set Mismatch.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
null
null
null
C++/645. Set Mismatch.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
null
null
null
// // Created by 王阳 on 2018/3/29. // /* * The set S originally contains numbers from 1 to n. * But unfortunately, due to the data error, one of the numbers in the set got * duplicated to another number in the set, which results in repetition of one * number and loss of another number. * Given an array nums repres...
25.70297
80
0.484592
[ "vector" ]
a635e1811f739d040c66f46ebd3058f7c305bb88
6,679
cc
C++
src/kde/kde.cc
Seeenman/Draco
8540aeb8bbbf467c3aa1caa9521d0910e0ca7917
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/kde/kde.cc
Seeenman/Draco
8540aeb8bbbf467c3aa1caa9521d0910e0ca7917
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/kde/kde.cc
Seeenman/Draco
8540aeb8bbbf467c3aa1caa9521d0910e0ca7917
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//--------------------------------------------*-C++-*---------------------------------------------// /*! * \file kde/kde.cc * \author Mathew Cleveland * \date November 10th 2020 * \brief Explicitly defined KDE functions for various dimensions and coordinate * KDE or Kernel Density Estimators are unbia...
42.272152
100
0.63258
[ "geometry", "shape", "vector" ]
a63636da77518d14c269be35a43326bcc63e3e11
2,923
cc
C++
content/shell/renderer/web_test/pixel_dump.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/shell/renderer/web_test/pixel_dump.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/shell/renderer/web_test/pixel_dump.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/shell/renderer/web_test/pixel_dump.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/bind_helpers.h" #incl...
40.041096
96
0.770783
[ "geometry" ]
a637c5dfbf952eab8c20f583c96449dde6315f8f
7,317
hpp
C++
src/uml/src_gen/uml/impl/ExtensionImpl.hpp
MDE4CPP/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/uml/src_gen/uml/impl/ExtensionImpl.hpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/uml/src_gen/uml/impl/ExtensionImpl.hpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef UML_EXTENSIONEXTENSIONIMPL_HPP #define UML_EXTENSIONEXTENSIONIMPL_HPP //************************...
34.842857
422
0.64808
[ "model" ]
a6451232c8ec5b287fd87cd0232729feccd62750
1,767
cpp
C++
benchmark/nearestNeighbor/benchmark.cpp
Tradias/contiguous
91d0e3cd150cb3515723a5b70ef030158d37e63f
[ "MIT" ]
3
2021-05-20T16:42:37.000Z
2022-03-15T22:23:23.000Z
benchmark/nearestNeighbor/benchmark.cpp
Tradias/contiguous
91d0e3cd150cb3515723a5b70ef030158d37e63f
[ "MIT" ]
1
2021-05-22T16:00:46.000Z
2021-05-22T17:50:25.000Z
benchmark/nearestNeighbor/benchmark.cpp
Tradias/contiguous
91d0e3cd150cb3515723a5b70ef030158d37e63f
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Dennis Hezel // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "nearestNeighbor/graph.hpp" #include "nearestNeighbor/load.hpp" #include "nearestNeighbor/repository.hpp" #include "nearestNeighbor/search.hpp" #include <benchmark/benchmark.h> na...
36.061224
118
0.730051
[ "vector" ]
a645d5cab04aa9da089755fa2bb21c799f4dd732
166,746
hpp
C++
nmd_memory.hpp
RibShark/nmd
b2c8567138d8c4e09dfe0876723fc713757daa33
[ "Unlicense" ]
null
null
null
nmd_memory.hpp
RibShark/nmd
b2c8567138d8c4e09dfe0876723fc713757daa33
[ "Unlicense" ]
null
null
null
nmd_memory.hpp
RibShark/nmd
b2c8567138d8c4e09dfe0876723fc713757daa33
[ "Unlicense" ]
null
null
null
// This is a C++ memory library for Windows and hopefully Linux in the future. // // define the 'NMD_MEMORY_IMPLEMENTATION' macro in one and only one source file. // Example: // #include <...> // #include <...> // #define NMD_MEMORY_IMPLEMENTATION // #include "nmd_memory.hpp" // // TODO: // - Finish ValueScan(), impl...
38.447314
1,816
0.69333
[ "object", "vector", "transform" ]
a649b31dc9181b2231047ffdcf72a68348007d09
6,457
cpp
C++
src/index_GIDSNE.cpp
skfzyy/NSG
808ccdf695a94fa16d742ee0723af511125cfe49
[ "MIT" ]
null
null
null
src/index_GIDSNE.cpp
skfzyy/NSG
808ccdf695a94fa16d742ee0723af511125cfe49
[ "MIT" ]
null
null
null
src/index_GIDSNE.cpp
skfzyy/NSG
808ccdf695a94fa16d742ee0723af511125cfe49
[ "MIT" ]
1
2021-12-05T01:58:06.000Z
2021-12-05T01:58:06.000Z
/** * @file index_GIDSNE.cpp * @author shenhangke * @brief * @version 0.1 * @date 2021-11-25 * * @copyright Copyright (c) 2021 * */ #include <efanna2e/index_GIDSNE.h> #include <fstream> #include <queue> void QI::IndexGidsne::loadOriginGraph(std::string filePath, std::str...
25.027132
70
0.492179
[ "vector" ]
a64e5d882df0c15722faad0a80515de4b697938e
9,893
cc
C++
L1Trigger/VertexFinder/src/InputData.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/VertexFinder/src/InputData.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/VertexFinder/src/InputData.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
#include "L1Trigger/VertexFinder/interface/InputData.h" #include <map> #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Utilities/interface/InputTag.h" #include "SimDataFormats/EncodedEventId/interface...
38.05
168
0.664409
[ "geometry", "vector" ]
a650468c7c7e0515a4f1ca30aaec7453b40e8dc2
41,795
cpp
C++
Voxel/Configuration.cpp
thpe/voxelsdk
f308e4ce5d72e4fca88debc415d894d053193391
[ "BSD-3-Clause" ]
112
2016-01-04T09:25:56.000Z
2022-03-18T17:28:05.000Z
Voxel/Configuration.cpp
thpe/voxelsdk
f308e4ce5d72e4fca88debc415d894d053193391
[ "BSD-3-Clause" ]
149
2015-10-09T08:28:07.000Z
2021-07-09T20:48:09.000Z
Voxel/Configuration.cpp
thpe/voxelsdk
f308e4ce5d72e4fca88debc415d894d053193391
[ "BSD-3-Clause" ]
77
2015-10-21T22:14:59.000Z
2022-03-18T17:26:18.000Z
/* * TI Voxel Lib component. * * Copyright (c) 2014 Texas Instruments Inc. */ #include "Configuration.h" #include "Logger.h" #include "Data2DCodec.h" #include "Timer.h" #include <stdlib.h> #include <fstream> #include <string.h> #include <stdio.h> #ifdef LINUX #define DIR_SEP "/" #define PATH_SEP ':' #elif defi...
23.965023
218
0.628209
[ "object", "vector" ]
a65585cd2bae57faaaceecbab007238745e17429
14,923
cpp
C++
src/schedule/function_schedule_context.cpp
ChanSiYuan/nncase
6f95be62d1686f5ea2a9806ac97e5817bf1eda3c
[ "Apache-2.0" ]
510
2018-12-29T06:49:36.000Z
2022-03-30T08:36:29.000Z
src/schedule/function_schedule_context.cpp
ChanSiYuan/nncase
6f95be62d1686f5ea2a9806ac97e5817bf1eda3c
[ "Apache-2.0" ]
459
2019-02-17T13:31:29.000Z
2022-03-31T05:55:38.000Z
src/schedule/function_schedule_context.cpp
ChanSiYuan/nncase
6f95be62d1686f5ea2a9806ac97e5817bf1eda3c
[ "Apache-2.0" ]
155
2019-04-16T08:43:24.000Z
2022-03-21T07:27:26.000Z
/* Copyright 2019-2021 Canaan Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
29.550495
162
0.556456
[ "shape", "vector" ]
a6577d9c7a9b37374377935ee8b64a49597f0fab
4,462
hpp
C++
include/iterpp.hpp
green7ea/iterpp
6a37966666fad27051765694f7cf9a1a84f45281
[ "MIT" ]
1
2019-12-16T14:27:45.000Z
2019-12-16T14:27:45.000Z
include/iterpp.hpp
green7ea/iterpp
6a37966666fad27051765694f7cf9a1a84f45281
[ "MIT" ]
null
null
null
include/iterpp.hpp
green7ea/iterpp
6a37966666fad27051765694f7cf9a1a84f45281
[ "MIT" ]
null
null
null
/* * Copyright 2019 Emmanuel Boudreault * * 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, ...
21.349282
71
0.655536
[ "vector" ]
a659415520062e8bbd09d7e042a6491f90cb9baa
37,269
cpp
C++
src/qt/qtwebkit/Source/WebCore/rendering/RenderGrid.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2021-02-09T10:24:31.000Z
2021-02-09T10:24:31.000Z
src/qt/qtwebkit/Source/WebCore/rendering/RenderGrid.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebCore/rendering/RenderGrid.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2017-03-19T13:03:23.000Z
2017-03-19T13:03:23.000Z
/* * Copyright (C) 2011 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
45.45
318
0.725643
[ "render", "vector" ]
a65b2ab53a7306245185fa2ff89372b4306019c9
31,339
hpp
C++
src/gpu/nvidia/cudnn_conv_inner_product_impl.hpp
Gxllii/oneDNN
419c2c39da0ea83ec56318c0c24bf07b7e69281c
[ "Apache-2.0" ]
1
2020-12-24T02:32:43.000Z
2020-12-24T02:32:43.000Z
src/gpu/nvidia/cudnn_conv_inner_product_impl.hpp
Gxllii/oneDNN
419c2c39da0ea83ec56318c0c24bf07b7e69281c
[ "Apache-2.0" ]
null
null
null
src/gpu/nvidia/cudnn_conv_inner_product_impl.hpp
Gxllii/oneDNN
419c2c39da0ea83ec56318c0c24bf07b7e69281c
[ "Apache-2.0" ]
1
2020-08-19T06:15:19.000Z
2020-08-19T06:15:19.000Z
/******************************************************************************* * Copyright 2020 Intel Corporation * Copyright 2020 Codeplay Software Limited * * 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...
44.64245
80
0.608316
[ "vector", "transform" ]
a65bac3a2f626bacb23c33c40a0470ca085f39c9
1,704
cpp
C++
Two-Pointers/Array3Pointers.cpp
ssokjin/Interview-Bit
8714d3d627eb5875f49d205af779b59ca33ab4a3
[ "MIT" ]
513
2016-08-16T12:52:14.000Z
2022-03-30T19:32:10.000Z
Two-Pointers/Array3Pointers.cpp
CodeOctal/Interview-Bit
88c021685d6cdef17906d077411ce34723363a08
[ "MIT" ]
25
2018-02-14T15:25:48.000Z
2022-03-23T11:52:08.000Z
Two-Pointers/Array3Pointers.cpp
CodeOctal/Interview-Bit
88c021685d6cdef17906d077411ce34723363a08
[ "MIT" ]
505
2016-09-02T15:04:20.000Z
2022-03-25T06:36:31.000Z
// https://www.interviewbit.com/problems/array-3-pointers/ int checkMax(int a, int b, int c){ int max = a; if(max < b){ max = b; } if(max < c){ max = c; } return max; } int Solution::minimize(const vector<int> &A, const vector<int> &B, const vector<int> &C) { // Do not...
25.058824
93
0.439554
[ "vector" ]
a660b3cae66b1c63347c1854f1dbc15351e17d22
1,375
cpp
C++
SPOJ/SPOJ/magic.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
SPOJ/SPOJ/magic.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
SPOJ/SPOJ/magic.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <climits> #include <cassert> #include <iomanip> #include <vector> #include <utility> #include <map> #include <set> #include <list> #include <stack> #include <queue> #include <deque> #include <bitset> #include <complex>...
19.642857
131
0.461818
[ "vector" ]
a66a11bb4356f9c28456d7df25d3c65a1a424cfe
3,287
cc
C++
onnxruntime/core/providers/cuda/tensor/tile.cc
qizhen816/onnxruntime
ec4f6c099b3d3e2ea91106809b8979753af3a3e9
[ "MIT" ]
1
2020-07-12T14:56:55.000Z
2020-07-12T14:56:55.000Z
onnxruntime/core/providers/cuda/tensor/tile.cc
Mookel/onnxruntime
a61400de01130123c1acef4bd4d646cf723cc80f
[ "MIT" ]
null
null
null
onnxruntime/core/providers/cuda/tensor/tile.cc
Mookel/onnxruntime
a61400de01130123c1acef4bd4d646cf723cc80f
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/providers/cuda/tensor/tile.h" #include "core/providers/cpu/tensor/utils.h" #include "tile_impl.h" using namespace onnxruntime::common; namespace onnxruntime { namespace cuda { #define REGISTER_KERNEL_TYPED(T...
38.670588
122
0.62519
[ "shape", "vector" ]
a66c43f77575e608fc78e628981419e4e7946e98
17,105
hpp
C++
include/depthai-shared/datatype/RawStereoDepthConfig.hpp
kamleshbhalui/depthai-shared
28da84fc8a81b8d692d801924598ce9cb34ac761
[ "MIT" ]
null
null
null
include/depthai-shared/datatype/RawStereoDepthConfig.hpp
kamleshbhalui/depthai-shared
28da84fc8a81b8d692d801924598ce9cb34ac761
[ "MIT" ]
null
null
null
include/depthai-shared/datatype/RawStereoDepthConfig.hpp
kamleshbhalui/depthai-shared
28da84fc8a81b8d692d801924598ce9cb34ac761
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <depthai-shared/common/optional.hpp> #include <vector> #include "DatatypeEnum.hpp" #include "RawBuffer.hpp" #include "depthai-shared/utility/Serialization.hpp" namespace dai { /** * Median filter config for disparity post-processing */ enum class MedianFilter : int32_t { ME...
37.347162
159
0.616603
[ "vector", "transform" ]
a66e449437dc9f1e670f37a2b29b5f7bba55ddfa
285,015
cpp
C++
AR Sound Postcard Player/Library/Il2cppBuildCache/iOS/il2cppOutput/Assembly-CSharp.cpp
laurencecliffe/AAR-Postcard-Player
7b28bc7e8c4b8f57252e4ea4094d3e425196c657
[ "MIT" ]
null
null
null
AR Sound Postcard Player/Library/Il2cppBuildCache/iOS/il2cppOutput/Assembly-CSharp.cpp
laurencecliffe/AAR-Postcard-Player
7b28bc7e8c4b8f57252e4ea4094d3e425196c657
[ "MIT" ]
null
null
null
AR Sound Postcard Player/Library/Il2cppBuildCache/iOS/il2cppOutput/Assembly-CSharp.cpp
laurencecliffe/AAR-Postcard-Player
7b28bc7e8c4b8f57252e4ea4094d3e425196c657
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <limits> #include <stdint.h> template <typename T1> struct VirtActionInvoker1 { typedef void (*Action)(void*, T1, const RuntimeMethod*); static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, ...
52.210112
410
0.84664
[ "mesh", "object", "transform" ]
a670a443aabf615d93089e80b0c166bfe41c904b
5,132
cpp
C++
main.cpp
xaddee/LFA-Homework-3
adacaea54cba3bec6ad7a6b20ce4232411d2c79e
[ "MIT" ]
null
null
null
main.cpp
xaddee/LFA-Homework-3
adacaea54cba3bec6ad7a6b20ce4232411d2c79e
[ "MIT" ]
null
null
null
main.cpp
xaddee/LFA-Homework-3
adacaea54cba3bec6ad7a6b20ce4232411d2c79e
[ "MIT" ]
null
null
null
#include <fstream> #include <vector> #include <stack> #include "State.h" #include "Edge.h" bool PDA(std::string word, State start_of_edge, Edge **edges, int current_letter_index, std::stack<std::string>& stack) { if (current_letter_index == word.length() + 1 && start_of_edge.showFinal() && stack.empty()) return ...
32.897436
132
0.570148
[ "vector" ]
a672d072a2eef73732bb13798cec7d6a5cdae332
57,054
cpp
C++
systray/qrc_systray.cpp
stephaneAG/Qt_tests_Mac
06eca49531521ac6a75e5f828b6fd97c8ef452c5
[ "MIT" ]
null
null
null
systray/qrc_systray.cpp
stephaneAG/Qt_tests_Mac
06eca49531521ac6a75e5f828b6fd97c8ef452c5
[ "MIT" ]
null
null
null
systray/qrc_systray.cpp
stephaneAG/Qt_tests_Mac
06eca49531521ac6a75e5f828b6fd97c8ef452c5
[ "MIT" ]
null
null
null
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 4.8.5 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include <QtCore/q...
75.869681
82
0.766344
[ "object" ]
a67567ff7542ed0f30d2656a9df05227720c4b91
2,259
cpp
C++
src/batteries/async/mutex.test.cpp
tonyastolfi/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
1
2022-01-04T20:28:17.000Z
2022-01-04T20:28:17.000Z
src/batteries/async/mutex.test.cpp
mihir-thakkar/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
2
2020-06-04T14:02:24.000Z
2020-06-04T14:03:18.000Z
src/batteries/async/mutex.test.cpp
mihir-thakkar/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
1
2022-01-03T20:24:31.000Z
2022-01-03T20:24:31.000Z
// Copyright 2021 Anthony Paul Astolfi // #include <batteries/async/mutex.hpp> // #include <batteries/async/mutex.hpp> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <boost/asio/io_context.hpp> #include <mutex> #include <thread> namespace { constexpr std::size_t kIterations = 10000; constexpr std::size...
23.05102
110
0.547145
[ "vector" ]