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
17612e2de02e4da5da1925f9169a645e1ca9f97e
18,272
cpp
C++
cpp/ndnrtcTOP/ndnrtcTOP_base.cpp
luckiday/ndnrtc
ea224ce8d9f01d164925448c7424cf0f0caa4b07
[ "BSD-2-Clause" ]
null
null
null
cpp/ndnrtcTOP/ndnrtcTOP_base.cpp
luckiday/ndnrtc
ea224ce8d9f01d164925448c7424cf0f0caa4b07
[ "BSD-2-Clause" ]
null
null
null
cpp/ndnrtcTOP/ndnrtcTOP_base.cpp
luckiday/ndnrtc
ea224ce8d9f01d164925448c7424cf0f0caa4b07
[ "BSD-2-Clause" ]
null
null
null
// // ndnrtcTOP_base.cpp // ndnrtcTOP // // Created by Peter Gusev on 2/16/18. // Copyright © 2018 UCLA REMAP. All rights reserved. // #include "ndnrtcTOP_base.hpp" #include <stdio.h> #include <map> #include <iostream> #include <ndn-cpp/interest.hpp> #include <ndn-cpp/face.hpp> #include <ndn-cpp/security/key-cha...
33.161525
168
0.571968
[ "vector" ]
1764961d8e52e055bc7279389897c4af6fde277b
13,813
cpp
C++
SofaKernel/modules/SofaBaseCollision/CubeModel.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
SofaKernel/modules/SofaBaseCollision/CubeModel.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
SofaKernel/modules/SofaBaseCollision/CubeModel.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
39.019774
260
0.555419
[ "vector", "model" ]
176744c11720e0b3b5c455a1b22daaceb7818865
2,214
cpp
C++
src/test_suites/cm/cm_dp/kernels/cm_dp/dp_genx.cpp
intel/cassian
8e9594f053f9b9464066c8002297346580e4aa2a
[ "MIT" ]
1
2021-10-05T14:15:34.000Z
2021-10-05T14:15:34.000Z
src/test_suites/cm/cm_dp/kernels/cm_dp/dp_genx.cpp
intel/cassian
8e9594f053f9b9464066c8002297346580e4aa2a
[ "MIT" ]
null
null
null
src/test_suites/cm/cm_dp/kernels/cm_dp/dp_genx.cpp
intel/cassian
8e9594f053f9b9464066c8002297346580e4aa2a
[ "MIT" ]
null
null
null
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include <cm/cm.h> #ifndef SAT_FLAG #define SAT_FLAG 0 #endif using out_t = OUT_TYPE; using in_t = IN_TYPE; extern "C" _GENX_MAIN_ _GENX_FLOAT_CONTROL_(CM_DENORM_ALLOW) void kernel( SurfaceIndex in0_buf [[type("buffer_t")]], #i...
30.328767
73
0.728094
[ "vector" ]
176c0c75b917247e833164dc8d50cdf137070779
2,757
cpp
C++
source/QtGui/QDialogButtonBoxSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
1
2021-03-07T10:44:03.000Z
2021-03-07T10:44:03.000Z
source/QtGui/QDialogButtonBoxSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
null
null
null
source/QtGui/QDialogButtonBoxSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
2
2020-07-19T03:28:08.000Z
2021-03-05T18:07:20.000Z
/* Qt4xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 4 Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> */ /* DO NOT EDIT THIS FILE - the content was created using a source code generator */ #include "QDialogButtonBoxSlots.h" QDialogButtonBoxSlots::Q...
24.837838
106
0.664853
[ "object" ]
6afed85949e76378e3d2cb9149e4c331c668c44f
2,602
cpp
C++
src/RE/B/BGSKeywordForm.cpp
tossaponk/CommonLibSSE
18c724dbc1128f11a581de16a9d372988ea0c8ce
[ "MIT" ]
1
2022-02-21T21:31:27.000Z
2022-02-21T21:31:27.000Z
src/RE/B/BGSKeywordForm.cpp
tossaponk/CommonLibSSE
18c724dbc1128f11a581de16a9d372988ea0c8ce
[ "MIT" ]
null
null
null
src/RE/B/BGSKeywordForm.cpp
tossaponk/CommonLibSSE
18c724dbc1128f11a581de16a9d372988ea0c8ce
[ "MIT" ]
1
2022-02-21T21:31:29.000Z
2022-02-21T21:31:29.000Z
#include "RE/B/BGSKeywordForm.h" #include "RE/B/BGSKeyword.h" #include "SKSE/Impl/Util.h" namespace RE { bool BGSKeywordForm::AddKeyword(BGSKeyword* a_keyword) { if (!GetKeywordIndex(a_keyword)) { std::vector<BGSKeyword*> copiedData{ keywords, keywords + numKeywords }; copiedData.push_back(a_keyword); a...
21.504132
91
0.67256
[ "vector" ]
6afee014a5c21bf0e97a187cdf05728bbb80c02b
13,862
cc
C++
fides/simple_settings_map_unittest.cc
cschuet/fides
c31ad020f213f859ddeb7a7be558e7769a501044
[ "FSFAP" ]
2
2018-07-27T00:29:35.000Z
2018-07-29T14:44:59.000Z
fides/simple_settings_map_unittest.cc
cschuet/fides
c31ad020f213f859ddeb7a7be558e7769a501044
[ "FSFAP" ]
null
null
null
fides/simple_settings_map_unittest.cc
cschuet/fides
c31ad020f213f859ddeb7a7be558e7769a501044
[ "FSFAP" ]
null
null
null
// Copyright 2015 The Chromium OS 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 "fides/simple_settings_map.h" #include <gtest/gtest.h> #include <memory> #include <string> #include "fides/identifier_utils.h" #include "fid...
38.72067
80
0.71678
[ "vector" ]
ed02f4f61ac445947404418f30874312cd8db2f4
2,704
cc
C++
src/timer.cc
aiqu/cpp-utils
38262037fc4c9d7c4838c41549cc086c731017ec
[ "MIT" ]
null
null
null
src/timer.cc
aiqu/cpp-utils
38262037fc4c9d7c4838c41549cc086c731017ec
[ "MIT" ]
null
null
null
src/timer.cc
aiqu/cpp-utils
38262037fc4c9d7c4838c41549cc086c731017ec
[ "MIT" ]
null
null
null
// Copyright (c) 2018 Gwangmin Lee #include <timer.h> #include <chrono> // NOLINT #include <iostream> #include <type_traits> #include <vector> template <class T> Timer<T>::Timer(const std::string& description) : begin_(std::chrono::steady_clock::now()), description_(description) { split_ = begin_; if (std::is_sa...
33.382716
107
0.661612
[ "vector" ]
ed05c6a5e46f9f8b3ce2aebbeee29ce7759058e1
221,939
cpp
C++
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/core/StyleBuilderFunctions.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/core/StyleBuilderFunctions.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/core/StyleBuilderFunctions.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
#include "config.h" #include "StyleBuilderFunctions.h" #include "CSSValueKeywords.h" #include "core/css/BasicShapeFunctions.h" #include "core/css/CSSPrimitiveValueMappings.h" #include "core/css/Pair.h" #include "core/css/resolver/StyleResolverState.h" namespace WebCore { void StyleBuilderFunctions::applyInitialCSSP...
39.281239
162
0.762755
[ "shape", "vector", "transform" ]
ed0bff2a87ffaa945f5ad04dac10c810deaecd84
1,984
cpp
C++
C++/minimum-number-of-work-sessions-to-finish-the-tasks.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/minimum-number-of-work-sessions-to-finish-the-tasks.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/minimum-number-of-work-sessions-to-finish-the-tasks.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n * 2^n) // Space: O(2^n) class Solution { public: int minSessions(vector<int>& tasks, int sessionTime) { // dp[mask]: min used time by choosing tasks in mask bitset vector<int> dp(1 << size(tasks), numeric_limits<int>::max()); dp[0] = 0; for (int mask = 0; mask < size(d...
36.072727
114
0.472782
[ "vector" ]
ed0d0886d5bd7de6130b0013d385ac80cb3796ed
874
cpp
C++
LeetCode/Largest Plus Sign/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/Largest Plus Sign/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
LeetCode/Largest Plus Sign/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
class Solution { public: int orderOfLargestPlusSign(int n, vector<vector<int>> &mines) { vector<vector<int>> dp(n, vector<int>(n, n)); for (const auto &ele : mines) { dp[ele[0]][ele[1]] = 0; } for (int i = 0; i < n; ++i) { int l = 0, r = 0, t = 0, b = 0; ...
38
93
0.363844
[ "vector" ]
ed13a3f0c5e40a72f600925877dda2e26d96d06d
2,409
cpp
C++
Topcoder/practice/PrimeAnagrams.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
Topcoder/practice/PrimeAnagrams.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
Topcoder/practice/PrimeAnagrams.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
//Optimise #include <bits/stdc++.h> using namespace std; // #define multitest 1 // #define Debug #ifdef Debug #define db(...) ZZ(#__VA_ARGS__, __VA_ARGS__); #define pc(...) PC(#__VA_ARGS__, __VA_ARGS__); template <typename T, typename U> ostream &operator<<(ostream &out, const pair<T, U> &p) { out << '[' << p.first <...
19.909091
124
0.589041
[ "vector" ]
ed1caffc3ffc902e1870ae3958eb65d972ee578b
1,264
hpp
C++
std/string/split.hpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
1
2017-08-11T19:12:24.000Z
2017-08-11T19:12:24.000Z
std/string/split.hpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
11
2018-07-07T20:09:44.000Z
2020-02-16T22:45:09.000Z
std/string/split.hpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
null
null
null
//------------------------------------------------------------ // snakeoil (c) Alexis Constantin Link // Distributed under the MIT license //------------------------------------------------------------ #ifndef _SNAKEOIL_CORE_STRING_SPLIT_HPP_ #define _SNAKEOIL_CORE_STRING_SPLIT_HPP_ #include "../typedefs.h" #include ...
26.893617
88
0.464399
[ "vector" ]
ed1d3067b265ea69dfb325b94973c2af6f72a68b
5,893
cpp
C++
torch_mlu/csrc/aten/operators/cnnl/nllloss_backward.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
20
2022-03-01T11:40:51.000Z
2022-03-30T08:17:47.000Z
torch_mlu/csrc/aten/operators/cnnl/nllloss_backward.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
torch_mlu/csrc/aten/operators/cnnl/nllloss_backward.cpp
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
/* All modification made by Cambricon Corporation: © 2022 Cambricon Corporation All rights reserved. All other contributions: Copyright (c) 2014--2022, the respective contributors All rights reserved. For the list of contributors go to https://github.com/pytorch/pytorch/graphs/contributors Redistribution and use in sou...
42.702899
96
0.647718
[ "transform" ]
ed212516d201d5f7a19d531598ec5db6f3b1b2fe
7,257
cpp
C++
src/mync1/ArrayBuff.cpp
msatyan/MyNCExtension
9793cbed1766c7c085e10bd196d6cd2a4af0828a
[ "MIT" ]
32
2019-08-01T09:03:35.000Z
2022-03-11T04:53:57.000Z
src/mync1/ArrayBuff.cpp
msatyan/MyNCExtension
9793cbed1766c7c085e10bd196d6cd2a4af0828a
[ "MIT" ]
null
null
null
src/mync1/ArrayBuff.cpp
msatyan/MyNCExtension
9793cbed1766c7c085e10bd196d6cd2a4af0828a
[ "MIT" ]
6
2019-09-26T20:35:36.000Z
2022-02-08T06:41:35.000Z
#include <assert.h> #include "addon_api.h" #include "cpp_util.h" #include "stdio.h" #include "stdlib.h" void FreeExternalArrayBufferMemory(napi_env env, void* data, void* hint) { // externally-owned data is ready to be cleaned up // the object with which it was associated with, has been garbage-collected p...
29.987603
112
0.652749
[ "object" ]
ed2472f56cae8fc3996ef1b653035851aa295a68
494
cpp
C++
202101/1/_26_RemoveDuplicatesfromSortedArray.cpp
uaniheng/leetcode-cpp
d7b4c9ef43cca8ecb703da5a910d79af61eb3394
[ "Apache-2.0" ]
null
null
null
202101/1/_26_RemoveDuplicatesfromSortedArray.cpp
uaniheng/leetcode-cpp
d7b4c9ef43cca8ecb703da5a910d79af61eb3394
[ "Apache-2.0" ]
null
null
null
202101/1/_26_RemoveDuplicatesfromSortedArray.cpp
uaniheng/leetcode-cpp
d7b4c9ef43cca8ecb703da5a910d79af61eb3394
[ "Apache-2.0" ]
null
null
null
// // Created by gyc on 2021/1/7. // #include "../../common.h" class Solution { public: int removeDuplicates(vector<int>& nums) { if (nums.size() < 2) return nums.size(); int i = 0; for(int j = 1; j < nums.size(); ++j) { if (nums[i] != nums[j]) { i ++; ...
19.76
48
0.439271
[ "vector" ]
ed26048cef7e2ad07ca44eba4f5f41650147e6cd
9,806
cc
C++
FWCore/Integration/test/TestESSource.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
FWCore/Integration/test/TestESSource.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
FWCore/Integration/test/TestESSource.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// -*- C++ -*- // // Package: FWCore/Integration // Class : TestESSource // // Implementation: // ESSource used for tests of Framework support for // ESSources and ESProducers. This is primarily focused // on the infrastructure used by CondDBESSource. // // Original Author: W. David Dagenhart // ...
41.375527
120
0.689476
[ "vector" ]
ed2a0fde47e5dbc06ba65e0f139d00cf2f238090
2,662
cpp
C++
UVa/uva_147_Dollars.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
2
2020-04-23T17:47:27.000Z
2020-04-25T19:40:50.000Z
UVa/uva_147_Dollars.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
null
null
null
UVa/uva_147_Dollars.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
1
2020-06-14T20:52:39.000Z
2020-06-14T20:52:39.000Z
#include<bits/stdc++.h> #include<iostream> #include<string> #include<vector> #include<cmath> #include<list> #include <algorithm> #include<vector> #include<set> #include <cctype> #include <cstring> #include <cstdio> #include<queue> #include<stack> #include<bitset> #include<time.h> #include<fstream> /******************...
19.014286
76
0.486852
[ "vector" ]
ed2aeb3ba88f3bf203f638fc1d4ded6bf214a74a
912
cpp
C++
provides/library/test.cpp
jaeheum/testing.cpp
4fcd9f1ca9bdd56b4a06e2a8c488d789988126a8
[ "MIT" ]
null
null
null
provides/library/test.cpp
jaeheum/testing.cpp
4fcd9f1ca9bdd56b4a06e2a8c488d789988126a8
[ "MIT" ]
null
null
null
provides/library/test.cpp
jaeheum/testing.cpp
4fcd9f1ca9bdd56b4a06e2a8c488d789988126a8
[ "MIT" ]
1
2021-06-30T20:42:23.000Z
2021-06-30T20:42:23.000Z
#include "testing_v1/test.hpp" #include <algorithm> #include <cstdio> #include <cstdlib> #include <tuple> #include <vector> void testing_v1::verify(bool ok) { if (ok) return; fprintf(stderr, "FAIL\n"); exit(1); } class testing_v1::Private::Static { friend int ::main(); friend class test_base_t; usin...
18.24
58
0.635965
[ "vector" ]
ed2fee22dd88eb3380f9c122bfabc92a6b30ed96
5,392
cpp
C++
nuclear_pedigree.cpp
Yichen-Si/cramore
18ed327c2bb9deb6c2ec4243d259b93142304719
[ "Apache-2.0" ]
2
2019-03-04T23:08:17.000Z
2021-08-24T08:10:03.000Z
nuclear_pedigree.cpp
Yichen-Si/cramore
18ed327c2bb9deb6c2ec4243d259b93142304719
[ "Apache-2.0" ]
2
2018-09-19T05:16:20.000Z
2020-10-01T18:28:36.000Z
nuclear_pedigree.cpp
Yichen-Si/cramore
18ed327c2bb9deb6c2ec4243d259b93142304719
[ "Apache-2.0" ]
3
2018-09-06T22:04:40.000Z
2019-08-19T16:55:42.000Z
#include "nuclear_pedigree.h" NuclearPedigree::NuclearPedigree(const char* pedFile) { htsFile *hts = hts_open(pedFile, "r"); kstring_t s = {0,0,0}; std::vector<std::string> v; std::vector<std::string> smIDs; while(hts_getline(hts,'\n', &s)>=0) { if ( s.s[0] == '#' ) continue; std::string line(s.s); ...
32.481928
157
0.589021
[ "vector" ]
ed3117954409db15c626fc7f5a71c6cad7ecec43
1,126
cpp
C++
src/FireFist.cpp
snow482/grawing_way_oop_3.0
3ce20640f1c943fe9929b8d39e00c6d90ed4cb32
[ "MIT" ]
null
null
null
src/FireFist.cpp
snow482/grawing_way_oop_3.0
3ce20640f1c943fe9929b8d39e00c6d90ed4cb32
[ "MIT" ]
null
null
null
src/FireFist.cpp
snow482/grawing_way_oop_3.0
3ce20640f1c943fe9929b8d39e00c6d90ed4cb32
[ "MIT" ]
null
null
null
#include "FireFist.hpp" FireFist::FireFist(int fireDamage) : m_fireDamage(fireDamage) {} std::vector<std::pair<phazeType, Involve>> FireFist::operator()(std::weak_ptr<Character> self, std::weak_ptr<Character> enemy) { noused(self); std::pai...
32.171429
98
0.589698
[ "vector" ]
ed3ba514d06c2d1ad5a9339802f37f36182411c6
5,673
cpp
C++
inference_backend/image_inference/openvino/model_loader.cpp
vtpl1/gst-video-analytics
43fb12756e39d8d92b7e45e96622ce547c8f4041
[ "MIT" ]
null
null
null
inference_backend/image_inference/openvino/model_loader.cpp
vtpl1/gst-video-analytics
43fb12756e39d8d92b7e45e96622ce547c8f4041
[ "MIT" ]
null
null
null
inference_backend/image_inference/openvino/model_loader.cpp
vtpl1/gst-video-analytics
43fb12756e39d8d92b7e45e96622ce547c8f4041
[ "MIT" ]
1
2020-05-14T15:30:03.000Z
2020-05-14T15:30:03.000Z
/******************************************************************************* * Copyright (C) 2018-2020 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #include "model_loader.h" #include "inference_backend/image_inference.h" #in...
39.395833
118
0.607262
[ "model" ]
ed3fd8e288faa41e70d41b2b09dffc3ba413666f
10,239
cpp
C++
test/sandbox/matrix.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
test/sandbox/matrix.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
test/sandbox/matrix.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/* @copyright Louis Dionne 2014 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #include <boost/hana/comparable/equal_mcd.hpp> #include <boost/hana/core/datatype.hpp> #include <boost/hana/detail/assert.hpp> #include <boost/ha...
29.17094
103
0.589608
[ "vector" ]
ed4190af469b95ef2ff30d27fff4cfb357b66306
2,580
hpp
C++
include/function_deduction.hpp
bergesenha/metamusil
9de1c7c9a7905966b3ced72fa9a2c32d804b1f00
[ "MIT" ]
1
2017-08-04T20:59:20.000Z
2017-08-04T20:59:20.000Z
include/function_deduction.hpp
bergesenha/metamusil
9de1c7c9a7905966b3ced72fa9a2c32d804b1f00
[ "MIT" ]
null
null
null
include/function_deduction.hpp
bergesenha/metamusil
9de1c7c9a7905966b3ced72fa9a2c32d804b1f00
[ "MIT" ]
null
null
null
#pragma once #include "type_list.hpp" namespace metamusil { //////////////////////////////////////////////////////////////////////////////// // returns return type of a function type of function pointer type template <class FunctionType> struct deduce_return_type; template <class RetType, class... ArgTypes> struct d...
27.157895
80
0.684496
[ "object" ]
ed4357505c5be89f36b8349a998b88f2cac2d1f4
17,560
cpp
C++
src/chainparams.cpp
chronokings/huntercore
57739078e557db181ae4ee66c16f51d8f8f18da2
[ "MIT" ]
11
2019-04-15T21:57:47.000Z
2022-01-18T22:53:22.000Z
src/chainparams.cpp
Palem1988/huntercore
149413f7b69d3ae21d10e0f69970cf4e3ad2af12
[ "MIT" ]
14
2016-04-21T17:14:12.000Z
2018-08-06T13:30:15.000Z
src/chainparams.cpp
Palem1988/huntercore
149413f7b69d3ae21d10e0f69970cf4e3ad2af12
[ "MIT" ]
13
2017-04-06T20:53:25.000Z
2021-12-05T02:59:32.000Z
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chainparams.h> #include <consensus/merkle.h> #include <names/common.h> #inc...
41.124122
191
0.694818
[ "vector" ]
ed450c45e12a13f5c8519ea52ca581785d5b4848
3,459
cxx
C++
src/Cxx/Images/ImageDivergence.cxx
cvandijck/VTKExamples
b6bb89414522afc1467be8a1f0089a37d0c16883
[ "Apache-2.0" ]
309
2017-05-21T09:07:19.000Z
2022-03-15T09:18:55.000Z
src/Cxx/Images/ImageDivergence.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
379
2017-05-21T09:06:43.000Z
2021-03-29T20:30:50.000Z
src/Cxx/Images/ImageDivergence.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
170
2017-05-17T14:47:41.000Z
2022-03-31T13:16:26.000Z
#include <vtkSmartPointer.h> #include <vtkImageCast.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageDivergence.h> #include <vtkImageGradient.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageCorrelation.h> #include <vtkInteractorStyleImage.h> #incl...
34.247525
78
0.777971
[ "render", "vector" ]
ed470d82cf4d7817afadf8f93696cf45a060ed97
5,776
cpp
C++
src/render/opengl/shaders/ribbon_shaders.cpp
DavidJourdan/polyscope
5134f225143c1713904c3bbbe3a25d910dbcfbb1
[ "MIT" ]
4
2020-04-16T08:55:33.000Z
2020-04-16T08:55:37.000Z
src/render/opengl/shaders/ribbon_shaders.cpp
DavidJourdan/polyscope
5134f225143c1713904c3bbbe3a25d910dbcfbb1
[ "MIT" ]
null
null
null
src/render/opengl/shaders/ribbon_shaders.cpp
DavidJourdan/polyscope
5134f225143c1713904c3bbbe3a25d910dbcfbb1
[ "MIT" ]
null
null
null
// Copyright 2017-2019, Nicholas Sharp and the Polyscope contributors. http://polyscope.run. #include "polyscope/render/opengl/gl_shaders.h" namespace polyscope { namespace render { // clang-format off const ShaderStageSpecification RIBBON_VERT_SHADER = { ShaderStageType::Vertex, { }, // uniforms // ...
29.319797
130
0.569598
[ "geometry", "render" ]
ed48118e808f970de21db373d45053fee85a9c7e
16,097
cc
C++
chrome/browser/nearby_sharing/client/nearby_share_api_call_flow_impl_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
chrome/browser/nearby_sharing/client/nearby_share_api_call_flow_impl_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
chrome/browser/nearby_sharing/client/nearby_share_api_call_flow_impl_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2020 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 <memory> #include <string> #include <utility> #include <vector> #include "base/bind.h" #include "base/no_destructor.h" #include "base/test/task_...
39.356968
81
0.748462
[ "vector" ]
ed4c687fd085636228689afddfe721e340894f68
10,453
cpp
C++
appgrm.cpp
njau-sri/grm
2302defcb2126770797aea55b93a45676c3dc6b8
[ "MIT" ]
null
null
null
appgrm.cpp
njau-sri/grm
2302defcb2126770797aea55b93a45676c3dc6b8
[ "MIT" ]
null
null
null
appgrm.cpp
njau-sri/grm
2302defcb2126770797aea55b93a45676c3dc6b8
[ "MIT" ]
null
null
null
#include <cmath> #include <memory> #include <limits> #include <fstream> #include <iostream> #include <algorithm> #include <utility> #include "appgrm.h" #include "cmdline.h" #include "vcfio.h" namespace { template<typename T> int count_shared_allele(T a, T b, T c, T d) { if (a == b) return static_cast<int>...
24.828979
94
0.419879
[ "vector", "transform" ]
ed508016b057ff6586eb779ec8ed73ad272744f7
490
cpp
C++
RandomQuestions/008.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
RandomQuestions/008.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
RandomQuestions/008.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
// 8. You are given an array A. A[0:k] = 0 and A[k+1:n] = 1. Find k. #include <vector> #include <iostream> using namespace std; int findK(std::vector<int> &a) { int l = 0, r = a.size() - 1; int mid = (l+r)/2; while (l < r) { cout<<l<<" : "<<r<<" : "<<mid<<endl; if (a[mid] == 0) { l = mid + 1; } else { ...
18.148148
68
0.489796
[ "vector" ]
ed51a20a28e66a99ed6020b4bec07b1c7a74ed83
1,296
hpp
C++
include/boost/simd/function/dist.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/dist.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/dist.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
23.563636
100
0.587191
[ "object" ]
ed52cb1ac3141bad4f31b69555ae41f490a9cd94
6,068
cpp
C++
HP-Socket/Demo/TestEcho/Server/ServerDlg.cpp
jjzhang166/HP-Socket
b58c2d9bb088e19f30a2ce0171886bf801ef4c00
[ "Apache-2.0" ]
1
2016-07-05T04:07:20.000Z
2016-07-05T04:07:20.000Z
HP-Socket/Demo/TestEcho/Server/ServerDlg.cpp
jjzhang166/HP-Socket
b58c2d9bb088e19f30a2ce0171886bf801ef4c00
[ "Apache-2.0" ]
null
null
null
HP-Socket/Demo/TestEcho/Server/ServerDlg.cpp
jjzhang166/HP-Socket
b58c2d9bb088e19f30a2ce0171886bf801ef4c00
[ "Apache-2.0" ]
null
null
null
// ServerDlg.cpp : implementation file // #include "stdafx.h" #include "Server.h" #include "ServerDlg.h" #include "afxdialogex.h" // CServerDlg dialog const LPCTSTR CServerDlg::ADDRESS = _T("0.0.0.0"); const USHORT CServerDlg::PORT = 5555; CServerDlg::CServerDlg(CWnd* pParent /*=NULL*/) : CDialogEx(CServerDlg::...
22.726592
98
0.733355
[ "model" ]
ed54bcdbf86b9c7c956f4b75d4c3017840ca80a8
17,207
cpp
C++
dev/Code/CryEngine/CryAnimation/cvars.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/CryEngine/CryAnimation/cvars.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/CryEngine/CryAnimation/cvars.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
67.478431
250
0.736096
[ "render", "object", "shape", "model" ]
ed577ffe8d49e4a74d03820f41212c4688cfd54c
267,851
hpp
C++
third_party/omr/compiler/z/codegen/S390Instruction.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/z/codegen/S390Instruction.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/z/codegen/S390Instruction.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
41.917214
220
0.530377
[ "object", "vector" ]
ed58a47194afd6c8594ebda412b1ef461d1440e9
6,770
hpp
C++
libraries/chain/include/graphene/chain/exchange_object.hpp
finteh/crowdwiz-core
d0d2b5e2294c74da5b7304fd76ddab9cc87c18e5
[ "MIT" ]
8
2020-11-29T20:19:52.000Z
2021-11-02T21:01:41.000Z
libraries/chain/include/graphene/chain/exchange_object.hpp
finteh/crowdwiz-core
d0d2b5e2294c74da5b7304fd76ddab9cc87c18e5
[ "MIT" ]
5
2021-03-06T10:58:34.000Z
2021-08-07T09:51:09.000Z
libraries/chain/include/graphene/chain/exchange_object.hpp
finteh/crowdwiz-core
d0d2b5e2294c74da5b7304fd76ddab9cc87c18e5
[ "MIT" ]
5
2020-10-22T17:01:27.000Z
2022-02-02T12:53:47.000Z
/* * Copyright (c) 2019 CrowdWiz., and contributors. * * The MIT License */ #pragma once #include <graphene/chain/protocol/asset.hpp> #include <graphene/chain/protocol/types.hpp> #include <graphene/chain/protocol/operations.hpp> #include <graphene/db/object.hpp> #include <graphene/db/generic_index.hpp> #include <...
31.635514
85
0.698966
[ "object" ]
ed5c3ca25e53ca9e9f9a31771b1e9d4bd8c8bbe0
1,195
cpp
C++
PAT/advanced/A1103.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
PAT/advanced/A1103.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
PAT/advanced/A1103.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstdio> #include <vector> #include <cmath> using namespace std; vector<long long> ans; vector<long long> temp; long long N,K,P; long long max_sum = -1; long long display(vector<long long> temp){ vector<long long>::iterator i; for(i=temp.begin();i!=temp.end();i++){...
14.058824
71
0.548954
[ "vector" ]
ed5c609c098329050acd75fbd183b6b2b7cad98e
4,928
cpp
C++
Lumos/Source/Lumos/Core/OS/Input.cpp
jmorton06/UntitledEngine
eabeb8b5b43c6b5039c0c3b9ab2bd7e3af03e7f4
[ "MIT" ]
null
null
null
Lumos/Source/Lumos/Core/OS/Input.cpp
jmorton06/UntitledEngine
eabeb8b5b43c6b5039c0c3b9ab2bd7e3af03e7f4
[ "MIT" ]
null
null
null
Lumos/Source/Lumos/Core/OS/Input.cpp
jmorton06/UntitledEngine
eabeb8b5b43c6b5039c0c3b9ab2bd7e3af03e7f4
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "Input.h" namespace Lumos { Input::Input() : m_MouseMode(MouseMode::Visible) { Reset(); } void Input::Reset() { memset(m_KeyHeld, 0, MAX_KEYS); memset(m_KeyPressed, 0, MAX_KEYS); memset(m_MouseClicked, 0, MAX_BUTTONS); ...
28.16
93
0.622362
[ "vector" ]
ed60d4cb3129d42b9bb14c129ffadc6412fea4e9
2,370
cpp
C++
src/DPPDiversity.cpp
veryVegetable-dev/rDppDiversity
16e0553025eaaef556c0809c50471eba8807c7a5
[ "MIT" ]
null
null
null
src/DPPDiversity.cpp
veryVegetable-dev/rDppDiversity
16e0553025eaaef556c0809c50471eba8807c7a5
[ "MIT" ]
null
null
null
src/DPPDiversity.cpp
veryVegetable-dev/rDppDiversity
16e0553025eaaef556c0809c50471eba8807c7a5
[ "MIT" ]
null
null
null
#include "DPPDiversity.h" #include <cmath> #include <unordered_set> void DPPDiversity::init( const std::vector<std::vector<float> > &item_representations, const std::vector<float> &item_ratings) { N = item_representations.size(); if (N == 0 || item_ratings.size() != N) return; d = ...
36.461538
187
0.581857
[ "vector" ]
ed677b538c0b9cfdbab5b7b199ebf4179d0890f4
4,824
cpp
C++
src/FalconEngine/Graphics/Renderer/Scene/Visual.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Scene/Visual.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Scene/Visual.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
1
2021-08-25T07:39:02.000Z
2021-08-25T07:39:02.000Z
#include <FalconEngine/Graphics/Renderer/Scene/Visual.h> #include <FalconEngine/Graphics/Renderer/Primitive.h> #include <FalconEngine/Graphics/Renderer/VisualEffectInstance.h> #include <FalconEngine/Graphics/Renderer/Resource/VertexFormat.h> #include <FalconEngine/Graphics/Renderer/Resource/VertexGroup.h> namespace F...
24.612245
87
0.547678
[ "mesh" ]
ed67b56099e1714d8004d4c258835b2ea0a3ccd9
5,408
cpp
C++
projects/Sample5/Sources/Sample5.cpp
Daniel-Mietchen/kigs
92ab6deaf3e947465781a400c5a791ee171876c8
[ "MIT" ]
null
null
null
projects/Sample5/Sources/Sample5.cpp
Daniel-Mietchen/kigs
92ab6deaf3e947465781a400c5a791ee171876c8
[ "MIT" ]
null
null
null
projects/Sample5/Sources/Sample5.cpp
Daniel-Mietchen/kigs
92ab6deaf3e947465781a400c5a791ee171876c8
[ "MIT" ]
null
null
null
#include <Sample5.h> #include <FilePathManager.h> #include <NotificationCenter.h> #include "CoreItem.h" #include "CoreVector.h" #include "JSonFileParser.h" #include <iostream> // Kigs framework Sample5 project // CoreItem features : // - import / export JSON objects // - create/evaluate mathematical expression // - a...
32
188
0.660318
[ "object", "vector", "3d" ]
ed759be7e8a5203077f1704446b88111c6cefc0c
6,923
cpp
C++
remodet_repository_wdh_part/src/caffe/tracker/example_generator.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/tracker/example_generator.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/tracker/example_generator.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#include "caffe/tracker/example_generator.hpp" #include "caffe/tracker/basic.hpp" #include "caffe/tracker/image_proc.hpp" #include "caffe/tracker/bounding_box.hpp" #include <string> namespace caffe { using std::string; // Choose whether to shift boxes using the motion model or using a uniform distribution. const bo...
40.723529
123
0.67803
[ "object", "vector", "model" ]
ed785333aa812a98da4f538875338b97e70ea677
762
cpp
C++
Online Judges/CodeForces/1015BObtainingTheString.cpp
NelsonGomesNeto/ProgramC
e743b1b869f58f7f3022d18bac00c5e0b078562e
[ "MIT" ]
3
2018-12-18T13:39:42.000Z
2021-06-23T18:05:18.000Z
Online Judges/CodeForces/1015BObtainingTheString.cpp
NelsonGomesNeto/ProgramC
e743b1b869f58f7f3022d18bac00c5e0b078562e
[ "MIT" ]
1
2018-11-02T21:32:40.000Z
2018-11-02T22:47:12.000Z
Online Judges/CodeForces/1015BObtainingTheString.cpp
NelsonGomesNeto/ProgramC
e743b1b869f58f7f3022d18bac00c5e0b078562e
[ "MIT" ]
6
2018-10-27T14:07:52.000Z
2019-11-14T13:49:29.000Z
#include <bits/stdc++.h> using namespace std; void swap(char *a, char *b) { char aux = *a; *a = *b; *b = aux; } int main() { int n; scanf("%d", &n); char s[n + 1], t[n + 1]; scanf("\n%s\n%s", s, t); vector<int> movements; for (int i = 0; i < n; i ++) { if (s[i] != t[i]) { for (int j = i...
16.212766
51
0.380577
[ "vector" ]
ed79d3d7a371dd2e2262838113bdd566528c2b48
6,123
cpp
C++
third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.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 "modules/payments/PaymentResponse.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/ScriptState.h" #include "bindings/c...
36.446429
78
0.719909
[ "object" ]
ed7dad27efcf47be12c75df9c6e27143ea582bdf
2,872
cc
C++
tree/IsFull.cc
raining888/leetcode
e9e8ac51d49e0c5f1450a6b76ba9777b89f7e25b
[ "MIT" ]
null
null
null
tree/IsFull.cc
raining888/leetcode
e9e8ac51d49e0c5f1450a6b76ba9777b89f7e25b
[ "MIT" ]
null
null
null
tree/IsFull.cc
raining888/leetcode
e9e8ac51d49e0c5f1450a6b76ba9777b89f7e25b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> #include <random> #include <stdbool.h> // 验证树是不是满二叉树 #define MAX_SEED 1024 #define HALF_SEED (MAX_SEED >> 1) using namespace std; class IsFull { public: class Node { public: int value; Node* left; Node* right; No...
19.806897
70
0.517758
[ "vector" ]
14367ec25d5c5912c949bacfe8b273b7e1b23492
2,287
cpp
C++
atcoder/abc242/g.cpp
polylogarithm/cp
426cb6f6ba389ff5f492e5bc2e957aac128781b5
[ "MIT" ]
null
null
null
atcoder/abc242/g.cpp
polylogarithm/cp
426cb6f6ba389ff5f492e5bc2e957aac128781b5
[ "MIT" ]
null
null
null
atcoder/abc242/g.cpp
polylogarithm/cp
426cb6f6ba389ff5f492e5bc2e957aac128781b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define pb push_back #define all(x) (x).begin(), (x).end() #define um unordered_map #define pq priority_queue #define sz(x) ((int)(x).size()) #define fi first #define se second #define endl '\n' typedef vector<int> vi; typedef long long ll; typedef unsigned long long ull; t...
23.10101
144
0.498032
[ "vector" ]
143f3c53bf26f5a158c0b5c79ae75c55157edbc4
73,789
cpp
C++
src/qt-console/restore/restoretree.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
src/qt-console/restore/restoretree.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
src/qt-console/restore/restoretree.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
/* Bacula(R) - The Network Backup Solution Copyright (C) 2000-2016 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. You may use this file and others of this release according to the license defined in ...
41.783126
172
0.618805
[ "object" ]
143f49d6190d8b1d963adb7c012c49900391b63d
674
hpp
C++
DemoProject/Kameleon/kPlayer.hpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
DemoProject/Kameleon/kPlayer.hpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
DemoProject/Kameleon/kPlayer.hpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
#ifndef KPLAYER_HEADER #define KPLAYER_HEADER #include <ParticlePlay/ParticlePlay.hpp> #include "PhysicsObject.hpp" #include "AnimateImage.hpp" class kPlayer : public PhysicsObject { protected: AnimateImage* idlePose; AnimateImage* runPose; AnimateImage* swimPose; AnimateImage* jumpPose; AnimateImage* fallPose; ...
20.424242
43
0.764095
[ "render" ]
1444dbf1643694cf51c3b7f55ef1d2479abea13c
893
cpp
C++
problemsets/Codeforces/C++/A948.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/C++/A948.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/C++/A948.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <bits/stdc++.h> using namespace std; int main() { int dy[] = { -1, 0, 1, 0 }; int dx[] = { 0, -1, 0, 1 }; int r, c; scanf("%d %d ", &r, &c); vector<string> F = vector<string>(r+10, string(c+10, '.')); for (int i ...
27.060606
70
0.431131
[ "vector" ]
1445a70eac3e1be70cf69f69ec9fb51b583a73b4
1,593
cpp
C++
ros2/ros_ws/src/simulation/src/Rose_DisplayPublisher.cpp
ros-e/ros-e-software
f35cf79e97f0c675c8169e0d6769cdbcf957c0ae
[ "MIT" ]
null
null
null
ros2/ros_ws/src/simulation/src/Rose_DisplayPublisher.cpp
ros-e/ros-e-software
f35cf79e97f0c675c8169e0d6769cdbcf957c0ae
[ "MIT" ]
3
2021-01-23T16:37:03.000Z
2021-01-23T16:50:38.000Z
ros2/ros_ws/src/simulation/src/Rose_DisplayPublisher.cpp
ros-e/ros-e-software
f35cf79e97f0c675c8169e0d6769cdbcf957c0ae
[ "MIT" ]
null
null
null
#include <sstream> #include "Rose_DisplayPublisher.h" Rose_DisplayPublisher::Rose_DisplayPublisher(uint8_t w, uint8_t h) : GFX_Buffer(h, w) { } /*! @brief Destructor for Rose_DisplayPublisher object. */ Rose_DisplayPublisher::~Rose_DisplayPublisher(void) { delete(this); } uint8_t *Rose_DisplayPublisher:...
21.24
110
0.574388
[ "object" ]
14482dc3de1d26fd52c5bb1f6150495f3ff6c964
8,123
cpp
C++
src/path_planner.cpp
bsirang/CarND-Path-Planning-Project
7e1cdbc346a8387e0852ecd0b222e6abc0d35e30
[ "MIT" ]
null
null
null
src/path_planner.cpp
bsirang/CarND-Path-Planning-Project
7e1cdbc346a8387e0852ecd0b222e6abc0d35e30
[ "MIT" ]
null
null
null
src/path_planner.cpp
bsirang/CarND-Path-Planning-Project
7e1cdbc346a8387e0852ecd0b222e6abc0d35e30
[ "MIT" ]
null
null
null
#include "path_planner.hpp" #include "utilities.hpp" #include "helpers.h" #include <string> #include <sstream> #include <stdexcept> #include <iostream> using namespace Common::Utilities; using namespace Common; PathPlanner::PathPlanner(const points_2d_t & map_xy, const points_2d_t & map_dxdy, const points_1d_t & map...
40.412935
201
0.724117
[ "object", "vector", "transform" ]
145311dcc71e2e068a8c49a684c6dfc88144a1b8
1,766
hpp
C++
driver/filesystem/devfs/devfs.hpp
Edgaru089/helos1
8dd27c421bdf1d55e3a62b61927d2f0db6f94d01
[ "Apache-2.0" ]
null
null
null
driver/filesystem/devfs/devfs.hpp
Edgaru089/helos1
8dd27c421bdf1d55e3a62b61927d2f0db6f94d01
[ "Apache-2.0" ]
null
null
null
driver/filesystem/devfs/devfs.hpp
Edgaru089/helos1
8dd27c421bdf1d55e3a62b61927d2f0db6f94d01
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../filesystem.hpp" #include "../../block/blockdevice.hpp" #include "../../../cppruntime/string.hpp" #include "../../../cppruntime/vector.hpp" namespace helos { namespace filesystem { // DeviceFilesystem is a folder for mounting block and character devices. // It is usually mounted to /dev. cl...
29.932203
109
0.729332
[ "vector" ]
145320eb8adb28a0987c9d8846ea540a7e226816
12,704
cpp
C++
src/net/Net.cpp
mtilgner/another-sidescroller
5cabeb250a1dd6772a51d29ecd0b3f5ec432ac08
[ "MIT" ]
null
null
null
src/net/Net.cpp
mtilgner/another-sidescroller
5cabeb250a1dd6772a51d29ecd0b3f5ec432ac08
[ "MIT" ]
null
null
null
src/net/Net.cpp
mtilgner/another-sidescroller
5cabeb250a1dd6772a51d29ecd0b3f5ec432ac08
[ "MIT" ]
null
null
null
#include <memory> #include <list> #include <map> #include <string.h> #include <assert.h> #include <SDL2/SDL_net.h> //#include <SDL2/SDL.h> #ifndef MATE_COMPILE #include "Net.h" #endif namespace net { static bool was_init = false; int netinit(); void netquit(); class SocketHolder { static SDLNet_SocketSet sock...
18.932936
105
0.476464
[ "vector" ]
145907a5655449920571932bf5f482e4fef23282
8,559
cpp
C++
samples/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
#using <System.Data.dll> #using <System.dll> #using <System.Drawing.dll> #using <System.Windows.Forms.dll> using namespace System; using namespace System::Drawing; using namespace System::Drawing::Drawing2D; using namespace System::Collections; using namespace System::ComponentModel; using namespace System::...
33.303502
152
0.647038
[ "transform" ]
1465bc9ed7de54a90e4cadf15beb3b43c212064f
43,239
cc
C++
media/video/ffmpeg_video_decode_engine.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
media/video/ffmpeg_video_decode_engine.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
media/video/ffmpeg_video_decode_engine.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/video/ffmpeg_video_decode_engine.h" #include "base/command_line.h" #include "base/string_number_conversions.h" #include "base/task.h"...
31.446545
148
0.647309
[ "render", "object", "vector" ]
14693065eaa79aab4b6a7b7065d4a34d62685047
2,709
hpp
C++
src/kvalue.hpp
Tebaks/Korlang-yacc
599c86acee9e5cc04f94b37ba196743f96f876b5
[ "MIT" ]
2
2021-02-21T12:15:22.000Z
2021-02-21T12:32:31.000Z
src/kvalue.hpp
Tebaks/Korlang
599c86acee9e5cc04f94b37ba196743f96f876b5
[ "MIT" ]
null
null
null
src/kvalue.hpp
Tebaks/Korlang
599c86acee9e5cc04f94b37ba196743f96f876b5
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <map> #include <vector> #include <string> using namespace std; enum ValueTypes { NUMBER, STRING, NIL, }; class KValue { public: ValueTypes type; float number; string str; KValue() : str(""), number(0.0), type(ValueTypes(NIL)) {} /*...
19.919118
77
0.520118
[ "vector" ]
1477095b36410406ac43335b94e49d6cd4c2a98f
4,250
cc
C++
chrome/browser/hid/hid_chooser_context_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/hid/hid_chooser_context_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/hid/hid_chooser_context_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/hid/hid_chooser_context.h" #include "base/run_loop.h" #include "chrome/browser/content_settings/host_content_settings_map_factor...
40.09434
86
0.737412
[ "object", "vector" ]
1477ab01ee4951dc4830b0e32d210eab00bd7993
199,911
cpp
C++
src/CDocScriptProcess.cpp
colinw7/CDoc
56aa99315c27fdc47c92bcc7e28cd51618ae493f
[ "MIT" ]
1
2021-12-23T02:21:45.000Z
2021-12-23T02:21:45.000Z
src/CDocScriptProcess.cpp
colinw7/CDoc
56aa99315c27fdc47c92bcc7e28cd51618ae493f
[ "MIT" ]
null
null
null
src/CDocScriptProcess.cpp
colinw7/CDoc
56aa99315c27fdc47c92bcc7e28cd51618ae493f
[ "MIT" ]
1
2019-04-01T13:21:34.000Z
2019-04-01T13:21:34.000Z
#include <CDocI.h> #include <COSTime.h> /*---------------------------------------------------------------------------*/ #define MAX_LISTS 50 /*---------------------------------------------------------------------------*/ /* Define Header Parameter Definition */ #define DH_OFFSET(a) CDocOffset(CDHeaderControl*,a) ...
29.154295
100
0.568913
[ "vector" ]
147a399fcf793286714eac010cf28e5856193b54
4,006
hpp
C++
vm/gc/root.hpp
larrytheliquid/rubinius
5af42280ab95626f33517ca5f6330e17be04ec64
[ "BSD-3-Clause" ]
null
null
null
vm/gc/root.hpp
larrytheliquid/rubinius
5af42280ab95626f33517ca5f6330e17be04ec64
[ "BSD-3-Clause" ]
1
2022-03-12T14:09:00.000Z
2022-03-12T14:09:00.000Z
vm/gc/root.hpp
isabella232/rubinius
5af42280ab95626f33517ca5f6330e17be04ec64
[ "BSD-3-Clause" ]
1
2022-03-12T12:08:44.000Z
2022-03-12T12:08:44.000Z
#ifndef RBX_GC_ROOT_HPP #define RBX_GC_ROOT_HPP #include <stdexcept> #include "linkedlist.hpp" #include "oop.hpp" #include "prelude.hpp" #include "util/thread.hpp" namespace rubinius { class Root; /** * Roots is a structure comprising of Root objects. * * @todo Add more information about class. --r...
23.564706
83
0.585871
[ "object" ]
147b49ef8ed51b0b3126d6a481d9136d090fa884
43,893
cpp
C++
Engine/Source/FishEditor/FBXImporter.cpp
ValtoGameEngines/Fish-Engine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
240
2017-02-17T10:08:19.000Z
2022-03-25T14:45:29.000Z
Engine/Source/FishEditor/FBXImporter.cpp
ValtoGameEngines/Fish-Engine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
2
2016-10-12T07:08:38.000Z
2017-04-05T01:56:30.000Z
Engine/Source/FishEditor/FBXImporter.cpp
yushroom/FishEngine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
39
2017-03-02T09:40:07.000Z
2021-12-04T07:28:53.000Z
#include "FBXImporter.hpp" #include <unordered_set> #include <fbxsdk.h> #include <fbxsdk/utils/fbxgeometryconverter.h> #include <boost/algorithm/string/case_conv.hpp> #include <FishEngine/Debug.hpp> #include <FishEngine/GameObject.hpp> #include <FishEngine/MeshFilter.hpp> #include <FishEngine/MeshRenderer.hpp> #incl...
29.087475
130
0.698927
[ "mesh", "object", "vector", "model", "transform" ]
147c81635c8adb92b40f45c4a64e606166cd2bb5
7,617
hpp
C++
src/jsoncons/parse_error_handler.hpp
avacore/jsoncons
0fa3104b6237b3323a749c38ebeaaaebf55e9e48
[ "BSL-1.0" ]
null
null
null
src/jsoncons/parse_error_handler.hpp
avacore/jsoncons
0fa3104b6237b3323a749c38ebeaaaebf55e9e48
[ "BSL-1.0" ]
null
null
null
src/jsoncons/parse_error_handler.hpp
avacore/jsoncons
0fa3104b6237b3323a749c38ebeaaaebf55e9e48
[ "BSL-1.0" ]
null
null
null
/// Copyright 2013 Daniel Parker // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://sourceforge.net/projects/jsoncons/files/ for latest version // See https://sourceforge.net/p/jsoncons/wiki/Home/ for documentat...
30.22619
123
0.684128
[ "object" ]
14851650625cde4d6b2435f6d5bf627983f36ca7
5,806
hpp
C++
libcore/include/sirikata/core/transfer/TransferPool.hpp
sirikata/sirikata
3a0d54a8c4778ad6e25ef031d461b2bc3e264860
[ "BSD-3-Clause" ]
31
2015-01-28T17:01:10.000Z
2021-11-04T08:30:37.000Z
libcore/include/sirikata/core/transfer/TransferPool.hpp
sirikata/sirikata
3a0d54a8c4778ad6e25ef031d461b2bc3e264860
[ "BSD-3-Clause" ]
null
null
null
libcore/include/sirikata/core/transfer/TransferPool.hpp
sirikata/sirikata
3a0d54a8c4778ad6e25ef031d461b2bc3e264860
[ "BSD-3-Clause" ]
9
2015-08-02T18:39:49.000Z
2019-10-11T10:32:30.000Z
/* Sirikata Transfer -- Content Transfer management system * TransferPool.hpp * * Copyright (c) 2010, Jeff Terrace * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistribu...
34.559524
76
0.726662
[ "vector" ]
14926751d56ce44159ecce67a0da78f394c5426d
1,548
cpp
C++
cpp/src/meta-fetcher.cpp
jujanda/ndnrtc_arc
f152e56c5181775b0db899c33d86e19669c35b9a
[ "BSD-2-Clause" ]
null
null
null
cpp/src/meta-fetcher.cpp
jujanda/ndnrtc_arc
f152e56c5181775b0db899c33d86e19669c35b9a
[ "BSD-2-Clause" ]
null
null
null
cpp/src/meta-fetcher.cpp
jujanda/ndnrtc_arc
f152e56c5181775b0db899c33d86e19669c35b9a
[ "BSD-2-Clause" ]
null
null
null
// // meta-fetcher.cpp // // Created by Peter Gusev on 17 June 2016. // Copyright 2013-2016 Regents of the University of California // #include "meta-fetcher.hpp" #include <boost/thread.hpp> #include <ndn-cpp/face.hpp> #include <ndn-cpp/security/key-chain.hpp> #include "name-components.hpp" using namespace ndn; us...
38.7
120
0.578165
[ "vector" ]
149286a0c6f73067b529d412a4ec7bf56affe22b
100,735
cpp
C++
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.0 Samples/[C++]-Windows Driver Kit (WDK) 8.0 Samples/C++/WDK 8.0 Samples/Sensors HID sample driver/Solution/SensorManager.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.0 Samples/[C++]-Windows Driver Kit (WDK) 8.0 Samples/C++/WDK 8.0 Samples/Sensors HID sample driver/Solution/SensorManager.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.0 Samples/[C++]-Windows Driver Kit (WDK) 8.0 Samples/C++/WDK 8.0 Samples/Sensors HID sample driver/Solution/SensorManager.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2020-10-19T23:36:26.000Z
2020-10-22T12:59:37.000Z
// // Copyright (C) Microsoft. All rights reserved. // /* // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. Module Name: SensorMana...
44.791018
172
0.319829
[ "object" ]
149361938f2f3cc946b633f7b93e593d08f7845d
2,785
hpp
C++
lg/solvers/htd-master/include/htd/PathDecompositionFactory.hpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
14
2020-01-31T23:02:39.000Z
2021-12-26T06:00:13.000Z
lg/solvers/htd-master/include/htd/PathDecompositionFactory.hpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
3
2020-06-27T21:11:46.000Z
2020-06-27T21:11:47.000Z
lg/solvers/htd-master/include/htd/PathDecompositionFactory.hpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
2
2020-08-08T03:04:30.000Z
2021-05-21T04:56:02.000Z
/* * File: PathDecompositionFactory.hpp * * Author: ABSEHER Michael (abseher@dbai.tuwien.ac.at) * * Copyright 2015-2017, Michael Abseher * E-Mail: <abseher@dbai.tuwien.ac.at> * * This file is part of htd. * * htd is free software: you can redistribute it and/or modify it under * the terms of the GNU Gen...
35.705128
122
0.656373
[ "object" ]
149b1804e1999831d8ca002ae9549e2883ba633d
2,457
cpp
C++
tests/high-level-api/source/data_view.cpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
null
null
null
tests/high-level-api/source/data_view.cpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
null
null
null
tests/high-level-api/source/data_view.cpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
1
2022-03-28T07:52:21.000Z
2022-03-28T07:52:21.000Z
/******************************************************************************* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #include "gtest/gtest.h" #include <dml_test_utils/mem_move.hpp> #include <dml/dm...
26.419355
105
0.617013
[ "vector" ]
149b95a26c87265fd705d68be0def40804bb86b4
431
cpp
C++
atcoder/abc112/b.cpp
Lambda1/atcoder
a4a57ddc21cc29b8b795173630e1d07db4abb559
[ "MIT" ]
null
null
null
atcoder/abc112/b.cpp
Lambda1/atcoder
a4a57ddc21cc29b8b795173630e1d07db4abb559
[ "MIT" ]
null
null
null
atcoder/abc112/b.cpp
Lambda1/atcoder
a4a57ddc21cc29b8b795173630e1d07db4abb559
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <cmath> int main(int argc,char *argv[]) { int n,T; std::cin >> n >> T; std::vector<int> c(n),t(n); for(int i = 0;i < n;i++) std::cin >> c[i] >> t[i]; int min = 0; for(int i = 1;i < n;i++) if(c[i] < c[min] && t[i] <= T) min = ...
17.958333
65
0.526682
[ "vector" ]
149bfba7b24baa017dc684d6813a482830f9c195
5,281
cc
C++
src/util.cc
donaldmunro/PnPTrainer
f37c5048e9e33c77d8cefd8cf7030843b2389566
[ "MIT" ]
3
2019-07-23T08:20:44.000Z
2021-06-24T15:46:37.000Z
src/util.cc
donaldmunro/PnPTrainer
f37c5048e9e33c77d8cefd8cf7030843b2389566
[ "MIT" ]
null
null
null
src/util.cc
donaldmunro/PnPTrainer
f37c5048e9e33c77d8cefd8cf7030843b2389566
[ "MIT" ]
1
2020-07-03T12:33:44.000Z
2020-07-03T12:33:44.000Z
#include <regex> #ifdef USE_GLAD #if !defined(GLAD_GLAPI_EXPORT) #define GLAD_GLAPI_EXPORT #endif #include <glad/glad.h> #endif #ifdef USE_GLEW #include <GL/glew.h> #endif #include <GL/gl.h> #include <GL/glext.h> #include <opencv2/imgproc.hpp> std::string replace_ver(const char *pch, int ver) //---------------------...
32.398773
127
0.503692
[ "vector" ]
149f7d181f8e7bd2904442b4b5e557de5ae3b10a
5,788
cpp
C++
shell/lib/cobjsafe.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
shell/lib/cobjsafe.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
shell/lib/cobjsafe.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "stock.h" #pragma hdrstop #include <comcat.h> #include <hliface.h> #include <mshtml.h> #include <objsafe.h> #include <perhist.h> #include "cobjsafe.h" // a default isafetyobject that we generally would use... marks // deals with IDispatch HRESULT CObjectSafety::GetInterfaceSafetyOptions(RE...
30.624339
116
0.638908
[ "object" ]
14a19df50419c222291a86218f449658968b8434
23,943
cpp
C++
soplex/src/soplex/spxdevexpr.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
null
null
null
soplex/src/soplex/spxdevexpr.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
null
null
null
soplex/src/soplex/spxdevexpr.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
1
2022-01-19T01:15:11.000Z
2022-01-19T01:15:11.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the class library */ /* SoPlex --- the Sequential object-oriented simPlex. */ ...
25.525586
118
0.556112
[ "object", "vector" ]
14a818882cf8265c7efe5b8389d6a868ffbe7292
24,406
cc
C++
chrome/browser/views/tabs/tab_2.cc
zachlatta/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2021-09-24T22:49:10.000Z
2021-09-24T22:49:10.000Z
chrome/browser/views/tabs/tab_2.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/views/tabs/tab_2.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this // source code is governed by a BSD-style license that can be found in the // LICENSE file. #include "chrome/browser/views/tabs/tab_2.h" #include "app/gfx/canvas.h" #include "app/gfx/font.h" #include "app/gfx/path.h" #include "app/l10n_util....
35.371014
80
0.702286
[ "render", "model" ]
14a89d652ba2aeb0e949085881c618fbb09b4712
6,599
cpp
C++
CCured/program-dependence-graph/src/BoundaryAnalysis.cpp
Lightninghkm/DataGuard
4ac1370f7607cec5fc81c3b57f5a62fb1d40f463
[ "Apache-2.0" ]
9
2022-02-25T01:48:43.000Z
2022-03-20T04:48:44.000Z
CCured/program-dependence-graph/src/BoundaryAnalysis.cpp
Lightninghkm/DataGuard
4ac1370f7607cec5fc81c3b57f5a62fb1d40f463
[ "Apache-2.0" ]
1
2022-03-19T08:48:07.000Z
2022-03-21T00:51:51.000Z
CCured/program-dependence-graph/src/BoundaryAnalysis.cpp
Lightninghkm/DataGuard
4ac1370f7607cec5fc81c3b57f5a62fb1d40f463
[ "Apache-2.0" ]
null
null
null
#include "BoundaryAnalysis.hh" char pdg::BoundaryAnalysis::ID = 0; using namespace llvm; cl::opt<std::string> BlackListFileName("libfile", cl::desc("Lib file"), cl::value_desc("lib filename")); void pdg::BoundaryAnalysis::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); } bool pdg::BoundaryAnaly...
34.19171
126
0.703591
[ "vector" ]
14aaa8926a595f790e595757c7ee5677ddae4350
3,730
cpp
C++
design/medium/380.InsertDeleteGetRandomO1.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
design/medium/380.InsertDeleteGetRandomO1.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
design/medium/380.InsertDeleteGetRandomO1.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=380 lang=cpp * * [380] Insert Delete GetRandom O(1) * * https://leetcode.com/problems/insert-delete-getrandom-o1/description/ * * algorithms * Medium (49.44%) * Likes: 3724 * Dislikes: 215 * Total Accepted: 349.8K * Total Submissions: 707K * Testcase Example: '["RandomizedSe...
29.140625
91
0.635389
[ "object", "vector" ]
14b1f54c4e9a98cf5ea9da3899a49e7a9ee47fe9
6,008
cpp
C++
Source/Urho3D/Core/Timer.cpp
TrevorCash/Urho3D_old
d24b1467ab2932e9f2bf7881cf116f841a20a6a7
[ "MIT" ]
3
2018-06-26T05:53:51.000Z
2018-10-24T20:52:38.000Z
Source/Urho3D/Core/Timer.cpp
TrevorCash/Urho3D_old
d24b1467ab2932e9f2bf7881cf116f841a20a6a7
[ "MIT" ]
1
2018-02-17T17:32:37.000Z
2018-03-03T03:51:11.000Z
Source/Urho3D/Core/Timer.cpp
TrevorCash/Urho3D_old
d24b1467ab2932e9f2bf7881cf116f841a20a6a7
[ "MIT" ]
2
2018-08-04T21:12:11.000Z
2019-02-09T05:04:29.000Z
// // Copyright (c) 2008-2018 the Urho3D project. // // 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, mod...
21.53405
97
0.661784
[ "object" ]
14b25d2a06c37ace7abcf1a50258e0dc0587ef01
1,862
cpp
C++
aho-koras/main.cpp
unegare/algo
9746a41fe0080443bfa20f6094b68d3d3e720731
[ "MIT" ]
null
null
null
aho-koras/main.cpp
unegare/algo
9746a41fe0080443bfa20f6094b68d3d3e720731
[ "MIT" ]
null
null
null
aho-koras/main.cpp
unegare/algo
9746a41fe0080443bfa20f6094b68d3d3e720731
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <sstream> #include <iomanip> #include <vector> #include "Bohr.hpp" int main() { using MyBohr = Bohr<uint32_t>; using symbol_t = MyBohr::symbol_t; using pattern_t = MyBohr::pattern_t; MyBohr b; std::vector<pattern_t> patterns{{1,2,3,0}, {1,2,0}, {2,0}, {3,1}...
35.132075
113
0.567669
[ "vector" ]
14b63dd093410a63477050d6ee5cfda8d747d241
8,375
cpp
C++
src/modules/block/block_generator.cpp
cmyers-spirent/openperf
3d48c622223ae37086af6f3fcb8539db71b05c86
[ "Apache-2.0" ]
null
null
null
src/modules/block/block_generator.cpp
cmyers-spirent/openperf
3d48c622223ae37086af6f3fcb8539db71b05c86
[ "Apache-2.0" ]
null
null
null
src/modules/block/block_generator.cpp
cmyers-spirent/openperf
3d48c622223ae37086af6f3fcb8539db71b05c86
[ "Apache-2.0" ]
null
null
null
#include <cstring> #include <stdexcept> #include "block_generator.hpp" #include "device_stack.hpp" #include "file_stack.hpp" namespace openperf::block::generator { using namespace std::chrono_literals; static uint16_t serial_counter = 0; auto to_statistics_t(const task_stat_t& task_stat) { return model::block_...
30.677656
80
0.637731
[ "vector", "model" ]
14b7810514c7e734d3bd00adb0a16c382faf311e
15,547
cpp
C++
AvxBlas/Transform/transform_transpose_s.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
AvxBlas/Transform/transform_transpose_s.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
AvxBlas/Transform/transform_transpose_s.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
#include "../avxblas.h" #include "../constants.h" #include "../utils.h" #include "../Inline/inline_loadstore_xn_s.hpp" using namespace System; #pragma unmanaged int transpose_stride1_s( const uint n, const uint r, const uint s, const uint stride, infloats x_ptr, outfloats y_ptr) { #ifdef _DEBUG if (stri...
25.740066
133
0.513475
[ "transform" ]
14b8b4b04758d3e4ad110263f0ff43627f28db58
640
hpp
C++
lib/GAME_H/gamemap/obstacle.hpp
leogenot/IMACRUN
9767a6f23d03d8ef61d3aa2bd7c5a8873f3d21b4
[ "MIT" ]
null
null
null
lib/GAME_H/gamemap/obstacle.hpp
leogenot/IMACRUN
9767a6f23d03d8ef61d3aa2bd7c5a8873f3d21b4
[ "MIT" ]
null
null
null
lib/GAME_H/gamemap/obstacle.hpp
leogenot/IMACRUN
9767a6f23d03d8ef61d3aa2bd7c5a8873f3d21b4
[ "MIT" ]
1
2021-11-10T13:52:22.000Z
2021-11-10T13:52:22.000Z
#ifndef OBSTACLE_H #define OBSTACLE_H #include "../utilities/shader_m.hpp" #include "../lighting/light.hpp" #include "../lighting/sceneLight.hpp" #include <vector> class Obstacle { private: Shader m_shader; unsigned int m_texture; unsigned int m_VAO; glm::vec3 m_pos; public: Obstacle(glm::vec3 pos...
27.826087
183
0.70625
[ "vector", "model" ]
14beca86272d996219044724a0b99fc93f1565bf
1,880
cpp
C++
src/parser.cpp
Siprj/job-interview-assignment-phonexia
d0761bc480e56499831b379bfdef2a55b6e0ea2e
[ "MIT" ]
null
null
null
src/parser.cpp
Siprj/job-interview-assignment-phonexia
d0761bc480e56499831b379bfdef2a55b6e0ea2e
[ "MIT" ]
null
null
null
src/parser.cpp
Siprj/job-interview-assignment-phonexia
d0761bc480e56499831b379bfdef2a55b6e0ea2e
[ "MIT" ]
null
null
null
#include "parser.h" #include <iostream> #include "constants.h" #include "csv.h" using namespace std; using namespace io; vector<Entry> retrieveData(const char* filePath) { // Instantiate CSV reader with three active columns CSVReader < 3 , trim_chars<' ', '\t'> , no_quote_escape<';'...
23.797468
75
0.555319
[ "vector" ]
14c0e16e62de11cab98b1f41c514f0fb087a8657
10,162
cpp
C++
DroneUtil.cpp
cps-sei/cps-synth-resolultion
3834bcd566d5fc4ce3f2c107d5ee3b7d06caf31f
[ "MIT" ]
1
2020-10-01T13:56:35.000Z
2020-10-01T13:56:35.000Z
DroneUtil.cpp
cps-sei/cps-synth-resolultion
3834bcd566d5fc4ce3f2c107d5ee3b7d06caf31f
[ "MIT" ]
null
null
null
DroneUtil.cpp
cps-sei/cps-synth-resolultion
3834bcd566d5fc4ce3f2c107d5ee3b7d06caf31f
[ "MIT" ]
1
2021-06-03T00:09:30.000Z
2021-06-03T00:09:30.000Z
/* * Synthesis-based resolution of features/enforcers interactions in CPS * Copyright 2020 Carnegie Mellon University. * NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING * INSTITUTE MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON * UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER ...
37.498155
172
0.67595
[ "vector" ]
14d44ff02ac73a7d7b0a933264fc3a4f1148ba2e
9,833
cxx
C++
GUISupport/Qt/vtkQtItemView.cxx
garyc618/GitTagBug
0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864
[ "BSD-3-Clause" ]
1
2019-05-31T06:45:40.000Z
2019-05-31T06:45:40.000Z
GUISupport/Qt/vtkQtItemView.cxx
garyc618/GitTagBug
0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864
[ "BSD-3-Clause" ]
null
null
null
GUISupport/Qt/vtkQtItemView.cxx
garyc618/GitTagBug
0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkQtItemView.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is...
31.215873
116
0.620462
[ "model" ]
14d57fe6a449f43d8482dace6b72d4885cd7dc8b
2,123
cpp
C++
2019/day4/cpp/src/test.cpp
ivobatkovic/advent-of-code
e43489bcd2307f0f3ac8b0ec4e850f0a201f9944
[ "MIT" ]
3
2019-12-14T16:24:50.000Z
2020-12-06T16:40:13.000Z
2019/day4/cpp/src/test.cpp
ivobatkovic/advent-of-code
e43489bcd2307f0f3ac8b0ec4e850f0a201f9944
[ "MIT" ]
4
2019-12-03T14:18:13.000Z
2020-12-03T08:29:32.000Z
2019/day4/cpp/src/test.cpp
ivobatkovic/advent-of-code
e43489bcd2307f0f3ac8b0ec4e850f0a201f9944
[ "MIT" ]
2
2019-12-06T07:25:57.000Z
2020-12-08T12:42:37.000Z
#include <gtest/gtest.h> #include <iostream> #include <tuple> #include "2019/day4/cpp/include/digits.hpp" using std::string; using std::vector; typedef std::tuple<string, bool> testInput; class DigitsPartOne : public ::testing::TestWithParam<testInput> {}; class DigitsPartTwo : public ::testing::TestWithParam<test...
33.171875
78
0.654734
[ "vector" ]
14d70bb116fe4d98de02627148ec10a41fa7dd50
2,001
hpp
C++
openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/parameter_declarations.hpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
null
null
null
openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/parameter_declarations.hpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
null
null
null
openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/parameter_declarations.hpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
null
null
null
// Copyright 2015-2020 Tier IV, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
37.055556
114
0.714143
[ "vector" ]
14dabc7527c84766e1739393e832240f55fc34ca
413
cpp
C++
leetcode/198.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
2
2021-03-27T03:23:20.000Z
2021-08-11T12:54:17.000Z
leetcode/198.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
null
null
null
leetcode/198.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
null
null
null
#include "./leetcode.hpp" class Solution { public: int rob(vector<int> &nums) { vector<int> dp; for (int i = 0; i < nums.size(); i += 1) { if (i == 0) { dp.push_back(nums[i]); } else if (i == 1) { dp.push_back(max(dp[0], nums[i])); } else { dp.push_...
22.944444
60
0.433414
[ "vector" ]
14dc47fbf2f9962dfbb5dd57baf70a2e1931f7c6
5,341
inl
C++
Gems/EMotionFX/Code/MCore/Source/Algorithms.inl
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/EMotionFX/Code/MCore/Source/Algorithms.inl
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/EMotionFX/Code/MCore/Source/Algorithms.inl
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.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 * */ // calculate the cube root MCORE_INLINE float CubeRoot(float x) { if (x > 0.0f) { re...
23.221739
168
0.630032
[ "3d" ]
14df71fa33f317cb4b39102dffe20e8faa8869d1
417
cpp
C++
LeetCode/349_Intersection_of_Two_Arrays/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
null
null
null
LeetCode/349_Intersection_of_Two_Arrays/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
null
null
null
LeetCode/349_Intersection_of_Two_Arrays/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
null
null
null
class Solution { public: vector<int> intersection(vector<int>& nums1, vector<int>& nums2) { map<int, int> m; for (auto i : nums1) { m[i] = 1; } vector<int> ans; set<int> s; for (auto i : nums2) { s.insert(i); } for (auto i : s) ...
21.947368
70
0.42446
[ "vector" ]
14e1bf33c8987e5b38a51ae994bbb5d18c0818c8
1,159
hh
C++
y3_cluster_cpp/utils/mz_power_law.hh
marcpaterno/gpuintegration
79144c35f05ad99879d06b571291ac1700dd9026
[ "BSD-3-Clause" ]
2
2020-04-16T13:34:28.000Z
2020-05-09T17:11:25.000Z
y3_cluster_cpp/utils/mz_power_law.hh
marcpaterno/gpuintegration
79144c35f05ad99879d06b571291ac1700dd9026
[ "BSD-3-Clause" ]
null
null
null
y3_cluster_cpp/utils/mz_power_law.hh
marcpaterno/gpuintegration
79144c35f05ad99879d06b571291ac1700dd9026
[ "BSD-3-Clause" ]
1
2019-07-19T19:18:07.000Z
2019-07-19T19:18:07.000Z
#ifndef Y3_CLUSTER_MZ_POWER_LAW_HH #define Y3_CLUSTER_MZ_POWER_LAW_HH #include <cmath> namespace y3_cluster { // mz_power_law represents a commonly-used power law relationship, with the // form // A * m**B * (1+z)**C // with A, B and C being constants set in the construction of the power law // object...
27.595238
77
0.638481
[ "object" ]
14e5649318571d2601bb2a99442cb31522106a78
21,442
cpp
C++
src/modules/osg/generated_code/BufferData.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
3
2017-04-20T09:11:47.000Z
2021-04-29T19:24:03.000Z
src/modules/osg/generated_code/BufferData.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
null
null
null
src/modules/osg/generated_code/BufferData.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
null
null
null
// This file has been generated by Py++. #include "boost/python.hpp" #include "wrap_osg.h" #include "wrap_referenced.h" #include "BufferData.pypp.hpp" namespace bp = boost::python; struct BufferData_wrapper : osg::BufferData, bp::wrapper< osg::BufferData > { struct ModifiedCallback_wrapper : osg::BufferData::Mo...
43.404858
243
0.560629
[ "object" ]
14ed0c66bdae575c04e1416f2dedce09a5fda144
3,743
cpp
C++
api/c++/test/metadata_tests.cpp
AudiovisualMetadataPlatform/mico
7a4faf553859119faf1abfa15d41a7c88835136f
[ "Apache-2.0" ]
null
null
null
api/c++/test/metadata_tests.cpp
AudiovisualMetadataPlatform/mico
7a4faf553859119faf1abfa15d41a7c88835136f
[ "Apache-2.0" ]
null
null
null
api/c++/test/metadata_tests.cpp
AudiovisualMetadataPlatform/mico
7a4faf553859119faf1abfa15d41a7c88835136f
[ "Apache-2.0" ]
null
null
null
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
31.191667
170
0.697034
[ "model" ]
14ed83a39acc083508e5e09430b03a91da7fc6e9
1,512
hpp
C++
src/stan/lang/generator/generate_member_var_decls.hpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
src/stan/lang/generator/generate_member_var_decls.hpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
src/stan/lang/generator/generate_member_var_decls.hpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_GENERATOR_GENERATE_MEMBER_VAR_DECLS_HPP #define STAN_LANG_GENERATOR_GENERATE_MEMBER_VAR_DECLS_HPP #include <stan/lang/ast.hpp> #include <stan/lang/generator/constants.hpp> #include <stan/lang/generator/generate_indent.hpp> #include <stan/lang/generator/get_typedef_var_type.hpp> #include <ostream> #in...
30.24
75
0.660714
[ "vector", "model" ]
14ee15f7716195df14d9fa4dfb7b7476e30c64d9
797
cpp
C++
FootSoldier.cpp
mulugetaf/wargame-a
8851bd01942d300ae1a59ecf99d8104590191c78
[ "MIT" ]
null
null
null
FootSoldier.cpp
mulugetaf/wargame-a
8851bd01942d300ae1a59ecf99d8104590191c78
[ "MIT" ]
null
null
null
FootSoldier.cpp
mulugetaf/wargame-a
8851bd01942d300ae1a59ecf99d8104590191c78
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <stdexcept> #include <iostream> #include "FootSoldier.hpp" void WarGame::FootSoldier::Full_attack(WarGame::Soldier &other, std::vector<std::vector<WarGame::Soldier *>> board, std::pair<int, int> p) { Basic_attack(other, board, p); } void WarGame::FootSoldier::Basic_att...
29.518519
139
0.614806
[ "vector" ]
14ef6d9be58854b3edb93e276f06acfcb95e7cb2
1,672
cpp
C++
libiop/tests/algebra/test_algebra_utils.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/tests/algebra/test_algebra_utils.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/tests/algebra/test_algebra_utils.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
#include <cstdint> #include <gtest/gtest.h> #include <vector> #include <libff/algebra/curves/alt_bn128/alt_bn128_pp.hpp> #include <libff/algebra/fields/binary/gf64.hpp> #include <libff/common/utils.hpp> #include "libiop/algebra/utils.hpp" namespace libiop { TEST(BatchInverseTest, SimpleTest) { typedef libff::gf...
25.333333
67
0.627392
[ "vector" ]
14f0375ab5845eb8d2c2f1f96ae5ca1efef0d8b4
4,778
cpp
C++
r/src/dataset.cpp
LuoZijun/arrow
8219a8b878d9344fe73e07def34a18a71a8f85a8
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
null
null
null
r/src/dataset.cpp
LuoZijun/arrow
8219a8b878d9344fe73e07def34a18a71a8f85a8
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
null
null
null
r/src/dataset.cpp
LuoZijun/arrow
8219a8b878d9344fe73e07def34a18a71a8f85a8
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
1
2020-02-27T02:00:20.000Z
2020-02-27T02:00:20.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...
35.656716
90
0.728338
[ "vector" ]
14fca847d0b237b448a531e95eb4b5781a63d5b6
28,799
cpp
C++
module/mpc-be/SRC/src/ExtLib/MediaInfo/MediaInfo/Multiple/File_Ibi.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/ExtLib/MediaInfo/MediaInfo/Multiple/File_Ibi.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/ExtLib/MediaInfo/MediaInfo/Multiple/File_Ibi.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- // Pre-compilation #include "Medi...
30.507415
151
0.437793
[ "vector" ]
14fecbf32057e8201f2ccb9bd24a4cbed90acb92
902
cpp
C++
C++/problem0945_test02.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
C++/problem0945_test02.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
C++/problem0945_test02.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <vector> #include <map> #include <set> #include <algorithm> #include <cmath> #include <ctime> #include <cstdlib> #include <windows.h> #include <string> #include <numeric> using namespace std; class Solution { public: int minIncrementForUnique(vector<int>& A) { ...
19.608696
55
0.507761
[ "vector" ]
0901e643afaa60370fab38f6f21b677393aab678
8,569
cpp
C++
searchlib/src/vespa/searchlib/tensor/streamed_value_store.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,054
2017-08-11T07:58:38.000Z
2022-03-31T22:32:15.000Z
searchlib/src/vespa/searchlib/tensor/streamed_value_store.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,854
2017-08-10T20:19:25.000Z
2022-03-31T19:04:23.000Z
searchlib/src/vespa/searchlib/tensor/streamed_value_store.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. #include "streamed_value_store.h" #include <vespa/eval/eval/value.h> #include <vespa/eval/eval/value_codec.h> #include <vespa/eval/eval/fast_value.hpp> #include <vespa/eval/streamed/streamed_value_builder_factory.h...
33.342412
145
0.699031
[ "vector" ]
0904bccb44c4ce445b49a714235ab45f1c9172e8
4,781
cpp
C++
src/nuclear/tests/dsl/TransientMultiTrigger.cpp
Bidski/NUClearNet.js
cbca598a4a930de48e05653a58f69fe1652c8793
[ "MIT" ]
null
null
null
src/nuclear/tests/dsl/TransientMultiTrigger.cpp
Bidski/NUClearNet.js
cbca598a4a930de48e05653a58f69fe1652c8793
[ "MIT" ]
null
null
null
src/nuclear/tests/dsl/TransientMultiTrigger.cpp
Bidski/NUClearNet.js
cbca598a4a930de48e05653a58f69fe1652c8793
[ "MIT" ]
null
null
null
/* * Copyright (C) 2013 Trent Houliston <trent@houliston.me>, Jake Woods <jake.f.woods@gmail.com> * 2014-2017 Trent Houliston <trent@houliston.me> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software...
35.414815
120
0.654884
[ "vector" ]
0907ffe8e99626fe4b6315a0b5a83d3847964ec1
4,506
cc
C++
src/source-position.cc
isabella232/v8
30ef8e33f3a199a27ca8512bcee314c9522d03f6
[ "BSD-3-Clause" ]
22
2016-07-28T03:25:31.000Z
2022-02-19T02:51:14.000Z
src/source-position.cc
nodejs/v8
30ef8e33f3a199a27ca8512bcee314c9522d03f6
[ "BSD-3-Clause" ]
10
2016-09-30T14:57:49.000Z
2017-06-30T12:56:01.000Z
src/source-position.cc
isabella232/v8
30ef8e33f3a199a27ca8512bcee314c9522d03f6
[ "BSD-3-Clause" ]
23
2016-08-03T17:43:32.000Z
2021-03-04T17:09:00.000Z
// Copyright 2016 the V8 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. #include "src/source-position.h" #include "src/compilation-info.h" #include "src/objects-inl.h" namespace v8 { namespace internal { std::ostream& oper...
32.652174
80
0.648691
[ "object", "vector" ]
090b55846e4210e8cf2c04d55e0c5a319ca13080
13,762
cpp
C++
lib/seldon/lib/Compil/Seldon/TinyVector.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
7
2021-01-31T23:20:07.000Z
2021-09-09T20:54:15.000Z
lib/seldon/lib/Compil/Seldon/TinyVector.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
1
2021-06-07T07:52:38.000Z
2021-08-13T20:40:55.000Z
lib/seldon/lib/Compil/Seldon/TinyVector.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
null
null
null
#include "SeldonFlag.hxx" #include "SeldonHeader.hxx" #include "SeldonInline.hxx" #ifndef SELDON_WITH_COMPILED_LIBRARY #include "vector/Vector.cxx" #include "vector/TinyVector.cxx" #include "matrix/TinyMatrix.cxx" #endif namespace Seldon { /* TinyVector */ SELDON_EXTERN template ostream& operator <<(ostrea...
69.505051
167
0.760427
[ "vector" ]
090f732cbcea2a351f21b9a476e739e404947fc9
12,018
cpp
C++
Plugins/ChaosClothEditor/Source/Chaos/Private/ChaosClothEditor/ChaosSimulationEditorExtender.cpp
monguri/UEChaosSandbox
f586bdfc3c15bb56bdcba69550cd0ecaae6c1e7d
[ "MIT" ]
null
null
null
Plugins/ChaosClothEditor/Source/Chaos/Private/ChaosClothEditor/ChaosSimulationEditorExtender.cpp
monguri/UEChaosSandbox
f586bdfc3c15bb56bdcba69550cd0ecaae6c1e7d
[ "MIT" ]
null
null
null
Plugins/ChaosClothEditor/Source/Chaos/Private/ChaosClothEditor/ChaosSimulationEditorExtender.cpp
monguri/UEChaosSandbox
f586bdfc3c15bb56bdcba69550cd0ecaae6c1e7d
[ "MIT" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. #if WITH_CHAOS #include "ChaosClothEditor/ChaosSimulationEditorExtender.h" #include "ChaosClothEditorPrivate.h" #include "ChaosCloth/ChaosClothingSimulationFactory.h" #include "ChaosCloth/ChaosClothingSimulation.h" #include "Framework/Commands/UIAction.h" #include "F...
59.791045
348
0.770012
[ "mesh", "geometry" ]
09165c075ecefea9dd52f57f2a66856dc9798cdf
23,344
cpp
C++
libraries/chain/contract_nht_handle.cpp
prefix309/cocos-mainnet
17608a80ff9bf1b4ed4d70c88b450d2410891b0d
[ "MIT" ]
1
2020-08-16T06:00:27.000Z
2020-08-16T06:00:27.000Z
libraries/chain/contract_nht_handle.cpp
prefix309/cocos-mainnet
17608a80ff9bf1b4ed4d70c88b450d2410891b0d
[ "MIT" ]
null
null
null
libraries/chain/contract_nht_handle.cpp
prefix309/cocos-mainnet
17608a80ff9bf1b4ed4d70c88b450d2410891b0d
[ "MIT" ]
null
null
null
#include <graphene/chain/contract_object.hpp> #include <graphene/chain/nh_asset_object.hpp> #include <graphene/chain/nh_asset_creator_object.hpp> #include <graphene/chain/world_view_object.hpp> #include <graphene/chain/contract_function_register_scheduler.hpp> #include <boost/algorithm/string/split.hpp> #include <boost...
48.231405
209
0.656314
[ "vector" ]
0917e3ded7cbefd159987e61deb87a5f2b4b402c
36,088
cpp
C++
src/plugins/lmp/playlistwidget.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/lmp/playlistwidget.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
null
null
null
src/plugins/lmp/playlistwidget.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
28.893515
110
0.678951
[ "object", "vector", "model", "transform" ]