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
24932dd2e0c69eea57a3e33e574645b2e0a6504d
349
cpp
C++
src/CScheduleAlgorithm.cpp
aw32/sched
b6ef35c5b517875a5954c70e2dc366fab3721a60
[ "BSD-2-Clause" ]
null
null
null
src/CScheduleAlgorithm.cpp
aw32/sched
b6ef35c5b517875a5954c70e2dc366fab3721a60
[ "BSD-2-Clause" ]
null
null
null
src/CScheduleAlgorithm.cpp
aw32/sched
b6ef35c5b517875a5954c70e2dc366fab3721a60
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2019, Alex Wiens <awiens@mail.upb.de>, Achim Lösch <achim.loesch@upb.de> // SPDX-License-Identifier: BSD-2-Clause #include "CScheduleAlgorithm.h" using namespace sched::algorithm; CScheduleAlgorithm::CScheduleAlgorithm(std::vector<CResource*>& rResources): mrResources(rResources) { } CScheduleAlgorit...
21.8125
85
0.770774
[ "vector" ]
2493de7448e23933487ac46ba86fa5317bfeccb4
1,446
cc
C++
test/model.cc
fengwang/ceras
15d10e8909ded656f45201aecc45b8eefe961b2d
[ "BSD-3-Clause" ]
65
2020-12-07T01:15:41.000Z
2022-03-28T01:17:33.000Z
test/model.cc
fengwang/ceras
15d10e8909ded656f45201aecc45b8eefe961b2d
[ "BSD-3-Clause" ]
1
2021-04-08T13:20:39.000Z
2021-04-09T00:37:02.000Z
test/model.cc
fengwang/ceras
15d10e8909ded656f45201aecc45b8eefe961b2d
[ "BSD-3-Clause" ]
7
2021-01-07T08:52:39.000Z
2022-03-08T13:04:37.000Z
#include "../include/ceras.hpp" #include <iostream> int main() { using namespace ceras; auto a = Input(); // (4,) auto b = Dense( 11, 4 )( a ); auto m1 = model{ a, b }; // 4->11 auto x = Input(); // ( 7, ) auto y = Dense( 4, 7 )( x ); auto m2 = model{ x, y }; // 7->4 auto input = Inp...
32.133333
183
0.609267
[ "model" ]
24941b1d1db1fcfe0f4f3b8e614c95923ed3fe74
2,443
cc
C++
bethe-xxz/frontend-testprecision.cc
robhagemans/bethe-solver
77b217c6cc23842b284ecd2d7b01fe28310cc32e
[ "MIT" ]
null
null
null
bethe-xxz/frontend-testprecision.cc
robhagemans/bethe-solver
77b217c6cc23842b284ecd2d7b01fe28310cc32e
[ "MIT" ]
null
null
null
bethe-xxz/frontend-testprecision.cc
robhagemans/bethe-solver
77b217c6cc23842b284ecd2d7b01fe28310cc32e
[ "MIT" ]
null
null
null
/* * properties of XXZ chains * * Rob Hagemans, instituut voor theoretische fysica, universiteit van Amsterdam * */ #include <math.h> #include <complex> #include <vector> #include <iostream> using namespace std; #include "bethe.h" #include "square.h" #include "det.h" #include "strip.h" #include "exception.h" #...
25.185567
129
0.672534
[ "vector" ]
24950efe2749fa54d2864017ed43ac5b852c51d3
849
hpp
C++
alignment/datastructures/alignment/CmpFile.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
alignment/datastructures/alignment/CmpFile.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
alignment/datastructures/alignment/CmpFile.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#ifndef _BLASR_CMP_FILE_HPP_ #define _BLASR_CMP_FILE_HPP_ #include <vector> #include <alignment/datastructures/alignment/CmpIndexedStringTable.h> #include <pbdata/Enumerations.h> #include <pbdata/reads/ReadType.hpp> #include <pbdata/saf/AlnGroup.hpp> #include <pbdata/saf/AlnInfo.hpp> #include <pbdata/saf/MovieInfo.hp...
24.257143
70
0.762073
[ "vector" ]
2498cc2effa5e353ee29a13c25e5c4aee93b1eb8
1,744
cpp
C++
test/cpp/threadlocal.cpp
reqshark/nan
cd36a057ca7ed6e118ebec59e0e7935b114f38ba
[ "MIT" ]
null
null
null
test/cpp/threadlocal.cpp
reqshark/nan
cd36a057ca7ed6e118ebec59e0e7935b114f38ba
[ "MIT" ]
null
null
null
test/cpp/threadlocal.cpp
reqshark/nan
cd36a057ca7ed6e118ebec59e0e7935b114f38ba
[ "MIT" ]
null
null
null
/********************************************************************* * NAN - Native Abstractions for Node.js * * Copyright (c) 2015 NAN contributors * * MIT License <https://github.com/rvagg/nan/blob/master/LICENSE.md> ********************************************************************/ #include <nan.h> #def...
25.275362
71
0.577408
[ "object" ]
2498d7aee7003200cb48f608a09654e9d757e2a2
23,155
cpp
C++
lib/WalletLegacy/WalletTransactionSender.cpp
exploshot/qwertycoin
1f0bb2fdfadfa46788094454711db5c4796be84a
[ "MIT" ]
55
2018-02-19T20:37:11.000Z
2021-12-30T03:47:12.000Z
lib/WalletLegacy/WalletTransactionSender.cpp
exploshot/qwertycoin
1f0bb2fdfadfa46788094454711db5c4796be84a
[ "MIT" ]
112
2018-02-28T21:44:47.000Z
2021-12-05T15:11:16.000Z
lib/WalletLegacy/WalletTransactionSender.cpp
exploshot/qwertycoin
1f0bb2fdfadfa46788094454711db5c4796be84a
[ "MIT" ]
74
2018-02-28T21:05:29.000Z
2022-02-20T02:31:21.000Z
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // Copyright (c) 2018, Karbo developers // Copyright (c) 2018-2021, The Qwertycoin Group. // // This file is part of Qwertycoin. // // Qwertycoin is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser...
31.248313
100
0.657094
[ "vector" ]
24a5199e24d4a90fa1f7bd78b11a1d105c2da1b6
3,312
cpp
C++
CF/div2.E/726.1.cpp
klxu03/CompetitiveProgramming
fd83200b5c8af3542fb639d504e3948427f69efc
[ "MIT" ]
null
null
null
CF/div2.E/726.1.cpp
klxu03/CompetitiveProgramming
fd83200b5c8af3542fb639d504e3948427f69efc
[ "MIT" ]
null
null
null
CF/div2.E/726.1.cpp
klxu03/CompetitiveProgramming
fd83200b5c8af3542fb639d504e3948427f69efc
[ "MIT" ]
null
null
null
// Problem: https://codeforces.com/contest/1537/problem/E1 #include <bits/stdc++.h> using namespace std; #define f0r(a, b) for (long long a = 0; a < b; a++) #define f1r(a, b, c) for (long long a = b; a < c; a++) #define io ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define max3(a, b, c) max(a, max(b, c)) ...
36.395604
282
0.548007
[ "vector" ]
24ac9f3a954a867614727627d3857e85d2a934f5
47,129
cc
C++
src/reader/wgsl/parser_impl_error_msg_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
src/reader/wgsl/parser_impl_error_msg_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
src/reader/wgsl/parser_impl_error_msg_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 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 ...
36.449343
80
0.534321
[ "vector" ]
24adcc510756d52765d48904a12918aa31e60d3a
1,274
cc
C++
cc/hmap/TwoOutOfThree.cc
zihengCat/leetcode-collections
e94d6ee7d17cc72c8f34162d60e8d869164cbd53
[ "MIT" ]
4
2021-12-08T15:36:36.000Z
2022-03-23T12:21:06.000Z
cc/hmap/TwoOutOfThree.cc
zihengCat/leetcode-collections
e94d6ee7d17cc72c8f34162d60e8d869164cbd53
[ "MIT" ]
null
null
null
cc/hmap/TwoOutOfThree.cc
zihengCat/leetcode-collections
e94d6ee7d17cc72c8f34162d60e8d869164cbd53
[ "MIT" ]
null
null
null
#include <vector> #include <unordered_map> #include <unordered_set> using namespace std; /** * LeetCode 2032. Two Out of Three * https://leetcode.com/problems/two-out-of-three/ */ class TwoOutOfThree { public: vector<int> twoOutOfThree(vector<int>& nums1, vector<int>& nums2, vector<int>& nums3) { unord...
23.592593
91
0.522763
[ "vector" ]
24ae960409141e360720b2ee66e92a6d760a0b2d
7,249
cpp
C++
src/Compucolor.Impl.Keyboard/KeyboardEmulator.cpp
nathanmentley/cc2emulator
2eccca0ab7a8f306d21a2516106ef687d2b8e065
[ "MIT" ]
null
null
null
src/Compucolor.Impl.Keyboard/KeyboardEmulator.cpp
nathanmentley/cc2emulator
2eccca0ab7a8f306d21a2516106ef687d2b8e065
[ "MIT" ]
null
null
null
src/Compucolor.Impl.Keyboard/KeyboardEmulator.cpp
nathanmentley/cc2emulator
2eccca0ab7a8f306d21a2516106ef687d2b8e065
[ "MIT" ]
null
null
null
#include "KeyboardEmulator.h" Compucolor::Impl::Keyboard::KeyboardEmulator::KeyboardEmulator( std::shared_ptr<Logger::ILogger> logger ): _logger(logger), _kbMatrix(std::vector<uint8_t>(17)) { } void Compucolor::Impl::Keyboard::KeyboardEmulator::Start() { _logger->LogTrace( "Starting %s", ...
39.183784
115
0.666299
[ "vector" ]
24bad4645de5ae882621377c0587a11434da47b6
6,839
cc
C++
src/DetElement.cc
felicepantaleo/helix-fitting
d1540156430f0e4ea85a9fd0e0f08e3447f0ec3f
[ "Apache-2.0" ]
1
2018-06-04T03:44:24.000Z
2018-06-04T03:44:24.000Z
src/DetElement.cc
felicepantaleo/helix-fitting
d1540156430f0e4ea85a9fd0e0f08e3447f0ec3f
[ "Apache-2.0" ]
null
null
null
src/DetElement.cc
felicepantaleo/helix-fitting
d1540156430f0e4ea85a9fd0e0f08e3447f0ec3f
[ "Apache-2.0" ]
null
null
null
// // Detector Elements: // DetElements and Slices // #include <CLHEP/config/iostream.h> #include <CLHEP/config/CLHEP.h> #include <stdio.h> #include "DetElement.h" #include "defines.h" #include "any2str.h" #include <assert.h> #include <string> #include <vector> #ifdef GL #ifdef TEXTURE #include <Inventor/nodes/SoTex...
22.949664
90
0.62553
[ "vector", "model" ]
24bb55909e3803083893f476cf53bfc251753ff3
4,066
cc
C++
pytorch/caffe2/operators/experimental/c10/cpu/fc_cpu.cc
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
pytorch/caffe2/operators/experimental/c10/cpu/fc_cpu.cc
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
1
2019-07-22T09:48:46.000Z
2019-07-22T09:48:46.000Z
pytorch/caffe2/operators/experimental/c10/cpu/fc_cpu.cc
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
#include <ATen/core/op_registration/op_registration.h> #include "caffe2/core/context.h" #include "caffe2/core/operator.h" #include "caffe2/core/export_c10_op_to_caffe2.h" #include "caffe2/core/tensor.h" #include "caffe2/utils/conversions.h" #include "caffe2/utils/math.h" using caffe2::BaseContext; using caffe2::Tensor...
28.433566
70
0.611904
[ "vector" ]
24bf6776aa57ef53760955de7fbba9f309e58535
14,101
cpp
C++
reconstruction/hexclient/communicator.cpp
Brow71189/low-dose-reconstruction
927d1393f351eba45778e03d12acdde316907ecf
[ "MIT" ]
null
null
null
reconstruction/hexclient/communicator.cpp
Brow71189/low-dose-reconstruction
927d1393f351eba45778e03d12acdde316907ecf
[ "MIT" ]
null
null
null
reconstruction/hexclient/communicator.cpp
Brow71189/low-dose-reconstruction
927d1393f351eba45778e03d12acdde316907ecf
[ "MIT" ]
null
null
null
#include <stdio.h> #include <assert.h> #include <math.h> #include "string.h" #include "stdlib.h" #include "globals.h" #include "fast_cache.h" #include "communicator.hpp" #include "zippedimg.hpp" /* //BigEndian Encoding short getshortBE() { short one = (short)getchar(); short two = (short)getchar(); return ( (one <<...
23.940577
112
0.61563
[ "model" ]
24c476f11f6804edd1a9a13a233a03628ee1cf80
5,479
cpp
C++
test/_opengl/ShaderPreprocessorTest/src/ShaderPreprocessorTestApp.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
3,494
2015-01-02T08:42:09.000Z
2022-03-31T14:16:23.000Z
test/_opengl/ShaderPreprocessorTest/src/ShaderPreprocessorTestApp.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
1,284
2015-01-02T07:31:47.000Z
2022-03-30T02:06:43.000Z
test/_opengl/ShaderPreprocessorTest/src/ShaderPreprocessorTestApp.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
780
2015-01-02T22:14:29.000Z
2022-03-30T00:16:56.000Z
/* * [X] check all cases: * * [X] version, no defines * [X] no version, no defines case * [X] version, with defines case * [X] no version, with defines case * [X] version with a comment before it, no defines * [X] version with comment before it, defines * [X] no version, with defines and comment before it * [X] no v...
26.341346
128
0.693557
[ "solid" ]
24c7cedc8321335e5dd0c67eb653d45369a349eb
15,073
cpp
C++
libraries/fc/src/thread/thread.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
8
2018-07-25T20:42:43.000Z
2019-03-11T03:14:09.000Z
libraries/fc/src/thread/thread.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
13
2018-07-25T17:41:28.000Z
2019-01-25T13:38:11.000Z
libraries/fc/src/thread/thread.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
11
2018-07-25T14:34:13.000Z
2019-05-03T13:29:37.000Z
#include <fc/thread/thread.hpp> #include <fc/io/sstream.hpp> #include <fc/log/logger.hpp> #include "thread_d.hpp" #if defined(_MSC_VER) && !defined(NDEBUG) # include <windows.h> const DWORD MS_VC_EXCEPTION=0x406D1388; #pragma pack(push,8) typedef struct tagTHREADNAME_INFO { DWORD dwType; // Must be 0x1000. LPCS...
29.324903
200
0.574803
[ "vector" ]
24c80aab68dcd59e3e1a79e0d764fc02b5859b29
3,118
cpp
C++
dataset/test/modification/1499_rename/32/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1499_rename/32/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1499_rename/32/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #pragma GCC optimize("Ofast,unroll-loops") #pragma GCC target("arch=skylake") #define all(x) x.begin(), x.end() #define len(x) (int)x.size() #define rep(x, r) for(int (x) = 0; (x) < (r); (x)++) #define rrep(x, l, r) for(int (x) = l; (x) < (r); x++) using namespace std; using ll = long l...
29.140187
127
0.514432
[ "vector" ]
24c80e3a443bb0f6e0ede343e40a10bab73bb077
2,333
cpp
C++
src/core/ConvKernel.cpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
src/core/ConvKernel.cpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
3
2022-03-23T19:16:08.000Z
2022-03-28T00:40:19.000Z
src/core/ConvKernel.cpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
#include "morphotree/core/convKernel.hpp" #include <exception> #include <cmath> #include <iostream> namespace morphotree { ConvKernel::ConvKernel(uint32 width, uint32 height, const std::vector<float> &weight) :weight_{weight} { if (width % 2 == 0) throw std::runtime_error("ConvKernel with ev...
21.209091
82
0.540934
[ "vector" ]
24cc67e34bc3cde1189e5f6d4664d491ccb86e96
31,381
cpp
C++
exchange/KLineWidget.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
null
null
null
exchange/KLineWidget.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
3
2020-03-16T05:23:24.000Z
2020-03-31T03:29:39.000Z
exchange/KLineWidget.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
1
2020-02-16T00:28:39.000Z
2020-02-16T00:28:39.000Z
#include "KLineWidget.h" #include "ui_KLineWidget.h" #include "ExchangePairSelectDialog.h" #include "AddMyExchangePairsDialog.h" // 1分钟 5分钟 15分钟 30分钟 1小时 2小时 6小时 12小时 1天 1周 1月 static const QMap<int,int> kLineTypeMap = { {0,60}, {1,300}, {2,900}, {3,1800}, {4,3600}, {5,7200}, {6,21600}, {7,43200}, {8,86400}, ...
44.638691
265
0.663554
[ "object" ]
24ccc43a572d9eca100df2b9b1ce4494219a3bfc
346
cpp
C++
leetcode/contest-223/5649. Decode XORed Array.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
107
2019-10-25T07:46:59.000Z
2022-03-29T11:10:56.000Z
leetcode/contest-223/5649. Decode XORed Array.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
1
2021-08-13T05:42:27.000Z
2021-08-13T05:42:27.000Z
leetcode/contest-223/5649. Decode XORed Array.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
18
2020-12-09T14:24:22.000Z
2022-03-30T06:56:01.000Z
#include <bits/stdc++.h> using namespace std; class Solution { public: vector<int> decode(vector<int>& encoded, int first) { int n = encoded.size() + 1; vector<int> ans(n); ans[0] = first; for (int i = 1; i < n; i++) { ans[i] = ans[i - 1] ^ encoded[i - 1]; } ...
24.714286
57
0.482659
[ "vector" ]
24cd41b05b126a119f066ad7cacf927efa86979d
1,519
cpp
C++
testsuite/probes/max.cpp
sehe/cpp-sort
ddcadeb2d8a3dec220f5e23cc17e0b05e555d665
[ "MIT" ]
null
null
null
testsuite/probes/max.cpp
sehe/cpp-sort
ddcadeb2d8a3dec220f5e23cc17e0b05e555d665
[ "MIT" ]
null
null
null
testsuite/probes/max.cpp
sehe/cpp-sort
ddcadeb2d8a3dec220f5e23cc17e0b05e555d665
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016-2021 Morwenn * SPDX-License-Identifier: MIT */ #include <algorithm> #include <forward_list> #include <iterator> #include <vector> #include <catch2/catch.hpp> #include <cpp-sort/probes/max.h> #include <cpp-sort/utility/size.h> #include <testing-tools/distributions.h> #include <testing-tools/in...
29.211538
79
0.587887
[ "vector" ]
24ce30adc8eb46e071e78989a0b6067cce8f2758
15,268
hpp
C++
lung/test/ventilation/TestDynamicVentilation.hpp
stu-l/Chaste
8efa8b440660553af66804067639f237c855f557
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
lung/test/ventilation/TestDynamicVentilation.hpp
stu-l/Chaste
8efa8b440660553af66804067639f237c855f557
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
lung/test/ventilation/TestDynamicVentilation.hpp
stu-l/Chaste
8efa8b440660553af66804067639f237c855f557
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2022, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
42.176796
136
0.68804
[ "mesh", "object" ]
24d5948aae4745d5a2e025cdab471eb4c1fd59fa
7,595
cpp
C++
samples_framework/src/SampleData.cpp
rubric4b/cegui-0.8.4-tizen
13456d7a07d697dc276fdc8663e4ca365829aa3a
[ "MIT" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
samples_framework/src/SampleData.cpp
rubric4b/cegui-0.8.4-tizen
13456d7a07d697dc276fdc8663e4ca365829aa3a
[ "MIT" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
samples_framework/src/SampleData.cpp
rubric4b/cegui-0.8.4-tizen
13456d7a07d697dc276fdc8663e4ca365829aa3a
[ "MIT" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/*********************************************************************** created: 4/6/2012 author: Lukas E Meindl *************************************************************************/ /*************************************************************************** * Copyright (C) 2004 - 2012 Paul D Turner & T...
27.820513
148
0.661883
[ "vector" ]
24e01470f7dc433d6d87e5be1a0ff5ecbafc7534
17,009
cpp
C++
patch/Torus/dsp/string_synth_part.cpp
maasijam/DaisyExamples
d982852292c16ccd6884f5f1313223c4bd66daeb
[ "MIT" ]
180
2020-05-28T01:34:57.000Z
2022-03-29T17:50:27.000Z
patch/Torus/dsp/string_synth_part.cpp
maasijam/DaisyExamples
d982852292c16ccd6884f5f1313223c4bd66daeb
[ "MIT" ]
132
2020-05-28T02:49:28.000Z
2022-03-04T16:30:46.000Z
patch/Torus/dsp/string_synth_part.cpp
maasijam/DaisyExamples
d982852292c16ccd6884f5f1313223c4bd66daeb
[ "MIT" ]
107
2020-06-03T03:22:49.000Z
2022-02-28T15:46:47.000Z
// Copyright 2015 Emilie Gillet. // // Author: Emilie Gillet (emilie.o.gillet@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitatio...
36.816017
80
0.502264
[ "render", "shape", "model" ]
24e074d50adf21fe5b0800485afc3133872520b8
5,093
cc
C++
src/io.cc
cb-geo/mpm-point-generator
5ee7fc1655a405c20960ce2fc28551ee7d66e5a0
[ "MIT" ]
null
null
null
src/io.cc
cb-geo/mpm-point-generator
5ee7fc1655a405c20960ce2fc28551ee7d66e5a0
[ "MIT" ]
71
2017-05-24T18:53:39.000Z
2020-03-19T04:06:04.000Z
src/io.cc
cb-geo/mpm-point-generator
5ee7fc1655a405c20960ce2fc28551ee7d66e5a0
[ "MIT" ]
4
2017-05-24T18:37:55.000Z
2020-02-26T18:08:10.000Z
#include "io.h" //! Constructor with argc and argv //! \param[in] argc Number of input arguments //! \param[in] argv Array of input arguments IO::IO(int argc, char** argv) { // Set title TCLAP::CmdLine cmd("Material Point Generator (CB-Geo)", ' ', "0.0.1"); // Define dimension // TCLAP::ValueArg<unsigned in...
30.680723
80
0.660122
[ "mesh", "object", "vector" ]
24e0883296f3deb0a11e6daab154779dd1b0b1d9
7,443
hpp
C++
thrill/core/fold_by_hash_post_phase.hpp
SDEagle/thrill
f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa
[ "BSD-2-Clause" ]
1
2020-08-04T19:16:16.000Z
2020-08-04T19:16:16.000Z
thrill/core/fold_by_hash_post_phase.hpp
tim3z/thrill
f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa
[ "BSD-2-Clause" ]
null
null
null
thrill/core/fold_by_hash_post_phase.hpp
tim3z/thrill
f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * thrill/core/reduce_by_hash_post_phase.hpp * * Hash table with support for reduce. * * Part of Project Thrill - http://project-thrill.org * * Copyright (C) 2015 Matthias Stumpp <mstumpp@gmail.com> * Copyright (C) 2015 Alexander No...
32.644737
80
0.592369
[ "vector" ]
24e0e2e4e543f24864f29e4985a65732fec88893
4,480
hpp
C++
src/tbs_game.hpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/tbs_game.hpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/tbs_game.hpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
/* Copyright (C) 2003-2013 by David White <davewx7@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version....
24.347826
90
0.740625
[ "vector" ]
24e2349d8046e8e8a5e3f7135a920329877864b8
1,698
cc
C++
lib/sk/rt/logger/StableHeadCycler.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
4
2019-02-19T16:48:41.000Z
2022-01-31T07:57:54.000Z
lib/sk/rt/logger/StableHeadCycler.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
1
2019-01-30T04:48:35.000Z
2019-01-30T04:48:35.000Z
lib/sk/rt/logger/StableHeadCycler.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
null
null
null
/* vim: set sw=2: * Copyright (c) 2008, Gennady Bystritsky <bystr@mac.com> * * Distributed under the MIT Licence. * This is free software. See 'LICENSE' for details. * You must read and accept the license prior to use. * * Author: Gennady Bystritsky */ #include <sk/util/Class.h> #include <sk/util/String.h...
18.866667
79
0.684923
[ "object" ]
008d7a550011fff68328ca55340a29eb915c9a93
2,768
cc
C++
test/fuzzers/congestion_controller_feedback_fuzzer.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "BSD-3-Clause" ]
null
null
null
test/fuzzers/congestion_controller_feedback_fuzzer.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "BSD-3-Clause" ]
null
null
null
test/fuzzers/congestion_controller_feedback_fuzzer.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "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.115942
85
0.708454
[ "vector" ]
00949df1a7e2af90b9b5f3edb8ccb1f7a7ef619f
11,322
cpp
C++
Solution/PhoenixTests/Source/Tests/ECS/ECSTest.cpp
rohunb/PhoenixEngine
4d21f9000c2e0c553c398785e8cebff1bc190a8c
[ "MIT" ]
2
2017-11-09T20:05:36.000Z
2018-07-05T00:55:01.000Z
Solution/PhoenixTests/Source/Tests/ECS/ECSTest.cpp
rohunb/PhoenixEngine
4d21f9000c2e0c553c398785e8cebff1bc190a8c
[ "MIT" ]
null
null
null
Solution/PhoenixTests/Source/Tests/ECS/ECSTest.cpp
rohunb/PhoenixEngine
4d21f9000c2e0c553c398785e8cebff1bc190a8c
[ "MIT" ]
null
null
null
#include "Tests/ECS/ECSTest.h" #include "ECS/ComponentManager.h" #include "ECS/ComponentManagerConfig.h" #include "ECS/RequirementBitArrayStorage.h" #include "Math/Vector3D.h" #include "Utility/Debug/Assert.h" #include "Utility/MetaProgramming/TypeList.h" #include <iostream> using namespace Phoenix; namespace ECSTe...
34.309091
104
0.772125
[ "transform" ]
00a1584384eb17ec19e0b96e8dd1cdfe831593d6
5,970
cpp
C++
test/forward_dnn/forward_dnn/ocl_device.cpp
mintaka33/fast-dnn
eba7bfa926d1840a0f528d18766b9a7f8dee463b
[ "Apache-2.0" ]
1
2019-03-15T05:31:53.000Z
2019-03-15T05:31:53.000Z
test/forward_dnn/forward_dnn/ocl_device.cpp
neptune46/fast-dnn
409cafa97d658625b8a7b6453cacd6387546d955
[ "Apache-2.0" ]
null
null
null
test/forward_dnn/forward_dnn/ocl_device.cpp
neptune46/fast-dnn
409cafa97d658625b8a7b6453cacd6387546d955
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "ocl_device.h" #include <vector> #include <stdio.h> #define OPENCL_VERSION_1_2 1.2f #define OPENCL_VERSION_2_0 2.0f OclEngine::OclEngine() { } OclEngine::~OclEngine() { } bool OclEngine::checkPlatform(cl_platform_id platform, const char* preferredPlatform) { size_t stringLength = 0;...
27.511521
109
0.636181
[ "vector" ]
00a294b8d18e80d783b61f5692d329971cbd09ac
5,132
cpp
C++
Algorithms/Implementation/two-kings/two-kings.cpp
CodeLogist/hackerrank-solutions
faecc4c9563a017eb61e83f0025aa9eb78fd33a1
[ "MIT" ]
73
2016-09-14T18:20:41.000Z
2022-02-05T14:58:04.000Z
Algorithms/Implementation/two-kings/two-kings.cpp
A-STAR0/hackerrank-solutions-1
518cdd9049477d70c499ba4f51f06ac99178f0ab
[ "MIT" ]
3
2017-03-03T01:12:31.000Z
2020-04-18T16:51:59.000Z
Algorithms/Implementation/two-kings/two-kings.cpp
A-STAR0/hackerrank-solutions-1
518cdd9049477d70c499ba4f51f06ac99178f0ab
[ "MIT" ]
69
2017-03-02T19:03:54.000Z
2022-03-29T12:35:38.000Z
#include <bits/stdc++.h> typedef std::pair<int,int> ipair; const int BOARD_LEN = 8; std::vector<ipair> best; std::vector<ipair> curr; // for `go` std::vector<std::vector<char>> board(BOARD_LEN); std::vector<ipair> pos; // all possible positions. static inline bool valid_point(const ipair& p) { return p.first ...
27.297872
132
0.517927
[ "vector" ]
00a53e1ee138f86c29beeb3a25d7afd57b886868
2,651
hpp
C++
Library/Private/Galleon/Galleon/CargoDeck.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
3
2021-06-02T05:06:48.000Z
2022-01-26T09:39:44.000Z
Library/Private/Galleon/Galleon/CargoDeck.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
Library/Private/Galleon/Galleon/CargoDeck.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
#pragma once #include <string> #include <vector> #include <Galleon/LongTermContainer.hpp> #include <Galleon/ShortTermContainer.hpp> #include <Galleon/SingletonContainer.hpp> #include <Handling/Handle.hpp> #include <StandardLayout/Mapping.hpp> namespace Emergence::Galleon { class CargoDeck final { public: Cargo...
33.987179
114
0.746888
[ "vector" ]
00a749a00eff1f86001bbd2996a9ab2a1de8cce1
2,721
cxx
C++
src/mod/pub/tst/storage-dir-tst/mod-storage-dir-tst.cxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
1
2017-12-26T14:29:37.000Z
2017-12-26T14:29:37.000Z
src/mod/pub/tst/storage-dir-tst/mod-storage-dir-tst.cxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
src/mod/pub/tst/storage-dir-tst/mod-storage-dir-tst.cxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
#include "stdafx.hxx" #include "mod-storage-dir-tst.hxx" #include "pfm.hxx" mod_storage_dir_tst::mod_storage_dir_tst() : mws_mod(mws_stringify(MOD_STORAGE_DIR_TST)) {} mws_sp<mod_storage_dir_tst> mod_storage_dir_tst::nwi() { return mws_sp<mod_storage_dir_tst>(new mod_storage_dir_tst()); } void mod_storage_dir_t...
41.227273
92
0.709666
[ "vector" ]
00b95ac96d3799d4f7541c5fd7da332e48de4c91
296
hpp
C++
include/ecalc/types.hpp
strikles/libecalc
afa0e240ffd88d568903acd80bd7429cc5273064
[ "MIT" ]
null
null
null
include/ecalc/types.hpp
strikles/libecalc
afa0e240ffd88d568903acd80bd7429cc5273064
[ "MIT" ]
null
null
null
include/ecalc/types.hpp
strikles/libecalc
afa0e240ffd88d568903acd80bd7429cc5273064
[ "MIT" ]
null
null
null
#ifndef ECALC_TYPES_H #define ECALC_TYPES_H #include <vector> #include <stdint.h> #include "result.hpp" namespace ecalc { typedef unsigned int card; typedef uint64_t bitset; typedef uint64_t combination; typedef std::vector<card> cards; typedef std::vector<Result> result_collection; } #endif
17.411765
46
0.787162
[ "vector" ]
00be058d4226ab51c793b81962d699e112cd28b9
23,507
cc
C++
tkrzw_dbm_async_test.cc
Passw/estraier-tkrzw-btree
e149ffc0229f91014fb5de6f25fc1dbe4c35142a
[ "Apache-2.0" ]
null
null
null
tkrzw_dbm_async_test.cc
Passw/estraier-tkrzw-btree
e149ffc0229f91014fb5de6f25fc1dbe4c35142a
[ "Apache-2.0" ]
null
null
null
tkrzw_dbm_async_test.cc
Passw/estraier-tkrzw-btree
e149ffc0229f91014fb5de6f25fc1dbe4c35142a
[ "Apache-2.0" ]
null
null
null
/************************************************************************************************* * Tests for tkrzw_dbm_async.h * * Copyright 2020 Google LLC * 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 ...
45.822612
99
0.61454
[ "vector" ]
00c5a19d9d449673bbeab57b50d5ffe97a89c93e
85,729
hpp
C++
modules/calib/include/opencv2/calib.hpp
Gabrielreisribeiro/opencv
39df6d2f035ca6822494fe4234e163895828b23b
[ "Apache-2.0" ]
null
null
null
modules/calib/include/opencv2/calib.hpp
Gabrielreisribeiro/opencv
39df6d2f035ca6822494fe4234e163895828b23b
[ "Apache-2.0" ]
null
null
null
modules/calib/include/opencv2/calib.hpp
Gabrielreisribeiro/opencv
39df6d2f035ca6822494fe4234e163895828b23b
[ "Apache-2.0" ]
1
2021-04-30T18:00:41.000Z
2021-04-30T18:00:41.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 #ifndef OPENCV_CALIB_HPP #define OPENCV_CALIB_HPP #include "opencv2/core.hpp" #include "opencv2/features2d.hpp" #include "ope...
51.76872
167
0.738152
[ "geometry", "object", "shape", "vector", "model", "transform", "3d" ]
00c5c9e3160637c2c0114a13ada160036811cef6
2,005
cpp
C++
wms/Png.cpp
fmidev/smartmet-plugin-wms
908027c3dbe604c2e220718fd4926aa03673a8d6
[ "MIT" ]
null
null
null
wms/Png.cpp
fmidev/smartmet-plugin-wms
908027c3dbe604c2e220718fd4926aa03673a8d6
[ "MIT" ]
6
2017-01-05T07:19:43.000Z
2019-10-23T06:21:48.000Z
wms/Png.cpp
fmidev/smartmet-plugin-wms
908027c3dbe604c2e220718fd4926aa03673a8d6
[ "MIT" ]
1
2016-12-30T11:10:58.000Z
2016-12-30T11:10:58.000Z
#include "Png.h" #include "Hash.h" #include <boost/numeric/conversion/cast.hpp> #include <macgyver/Exception.h> #include <stdexcept> namespace SmartMet { namespace Plugin { namespace Dali { // ---------------------------------------------------------------------- /*! * \brief Initialize from JSON */ // ------------...
25.705128
86
0.539651
[ "object" ]
00c5e13f64ea36fe5c9abd25c0e4222800ba460a
2,394
cpp
C++
src/Image.cpp
Jomiri/raytracer
27c42254c72737d64a8487fb62fb842c7c423259
[ "BSL-1.0", "MIT" ]
4
2019-10-22T19:27:13.000Z
2020-12-14T22:04:06.000Z
src/Image.cpp
Jomiri/raytracer
27c42254c72737d64a8487fb62fb842c7c423259
[ "BSL-1.0", "MIT" ]
null
null
null
src/Image.cpp
Jomiri/raytracer
27c42254c72737d64a8487fb62fb842c7c423259
[ "BSL-1.0", "MIT" ]
3
2020-03-19T07:14:16.000Z
2022-02-20T00:40:49.000Z
// // Created by Joona on 13/10/2018. // #include <fstream> #include "Common.h" #include "Image.h" #define STB_IMAGE_WRITE_IMPLEMENTATION #define STBI_MSC_SECURE_CRT #include "stb_image/stb_image_write.h" Image::Image(int width, int height) { this->width = width; this->height = height; pixels = std::vec...
27.517241
78
0.588137
[ "vector" ]
00c8c67ebc94dfa74903fae47ab6b29c816e42aa
3,263
cc
C++
test/refine2x.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
1
2021-12-02T09:25:32.000Z
2021-12-02T09:25:32.000Z
test/refine2x.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
null
null
null
test/refine2x.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
null
null
null
#include <ma.h> #include <apf.h> #include <gmi_mesh.h> #include <apfMDS.h> #include <PCU.h> #include <apfNumbering.h> #include <apfShape.h> #ifdef HAVE_SIMMETRIX #include <gmi_sim.h> #include <SimUtil.h> #include <MeshSim.h> #include <SimModel.h> #endif #include <pcu_util.h> #include <cstdlib> #include <iostream> clas...
25.1
75
0.581673
[ "mesh", "vector", "model" ]
00dc0456d051d9655138a9d33676100db9d6ab19
803
cpp
C++
112A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
112A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
112A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
18.674419
64
0.595268
[ "vector" ]
00ecdacb7c326d8996110ed94b39d2e8470332e6
5,034
cpp
C++
KMatrix/KMatrixHelpers.cpp
Mos-Fett/KMatrix
8146ca84ab6be8d6d974613940ae689084c247c2
[ "MIT" ]
null
null
null
KMatrix/KMatrixHelpers.cpp
Mos-Fett/KMatrix
8146ca84ab6be8d6d974613940ae689084c247c2
[ "MIT" ]
null
null
null
KMatrix/KMatrixHelpers.cpp
Mos-Fett/KMatrix
8146ca84ab6be8d6d974613940ae689084c247c2
[ "MIT" ]
null
null
null
// // KMatrixHelpers.cpp // KMatrix // // Created by Grant Giesbrecht on 4/14/18. // Copyright © 2018 IEGA. All rights reserved. // #include "KMatrixHelpers.hpp" #include <vector> #include <IEGA/stdutil.hpp> #include <IEGA/string_manip.hpp> const char* matrix_bounds_excep::what() const throw(){ return "Attemp...
28.122905
181
0.545491
[ "vector" ]
00f55d7e8fb3be8970741c7cf05f92d09d709aa8
13,899
cc
C++
src/shrpx_log.cc
max-weller/nghttpd-mptcp
3788e09726c949d8b2d91358b448167d4a5d46d7
[ "MIT" ]
7
2018-08-29T00:47:21.000Z
2019-05-28T16:52:00.000Z
src/shrpx_log.cc
max-weller/nghttpd-mptcp
3788e09726c949d8b2d91358b448167d4a5d46d7
[ "MIT" ]
null
null
null
src/shrpx_log.cc
max-weller/nghttpd-mptcp
3788e09726c949d8b2d91358b448167d4a5d46d7
[ "MIT" ]
1
2018-09-21T06:34:05.000Z
2018-09-21T06:34:05.000Z
/* * nghttp2 - HTTP/2 C Library * * Copyright (c) 2012 Tatsuhiro Tsujikawa * * 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 ri...
28.365306
80
0.598029
[ "vector" ]
00fbb876696b2d588ccc68a4ce3eeb96c702bf72
13,323
cc
C++
3rdparty/pytorch/caffe2/quantization/server/fully_connected_rowwise_dnnlowp_op.cc
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
3rdparty/pytorch/caffe2/quantization/server/fully_connected_rowwise_dnnlowp_op.cc
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
3rdparty/pytorch/caffe2/quantization/server/fully_connected_rowwise_dnnlowp_op.cc
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
#include "fully_connected_rowwise_dnnlowp_op.h" #include <fbgemm/src/RefImplementations.h> #include <chrono> #include "fbgemm_pack_op.h" namespace caffe2 { using namespace std; template <typename T> FullyConnectedRowWiseDNNLowPOp<T>::FullyConnectedRowWiseDNNLowPOp( const OperatorDef& operator_def, Workspac...
33.059553
80
0.591158
[ "shape", "vector" ]
00fc566df0ef76ab6293018f4c9f20783ec78ca6
7,778
cc
C++
device/u2f/u2f_message_unittest.cc
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
device/u2f/u2f_message_unittest.cc
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
device/u2f/u2f_message_unittest.cc
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 "device/u2f/u2f_message.h" #include "net/base/io_buffer.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/g...
38.127451
79
0.694009
[ "vector" ]
2e0164d9469faeeee9ba26b85deea9805fa73e5f
43,266
cpp
C++
src/grid/grid.cpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
1
2021-12-01T22:12:56.000Z
2021-12-01T22:12:56.000Z
src/grid/grid.cpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
null
null
null
src/grid/grid.cpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
null
null
null
#include "grid.hpp" #include <omp.h> #include <p8est_extended.h> #include "partitioner.hpp" #include "wavelet/interpolating_wavelet.hpp" using std::list; using std::string; /** * @brief Construct a new Grid which is empty, only the Wavelets have been associated * */ Grid::Grid() : ForestGrid(), prof_(nullptr), ...
45.447479
286
0.577151
[ "mesh", "object" ]
2e03fca985592c746630c84b55d0e23f28a45def
581
cpp
C++
Todolister/ArgTranslator.cpp
vabalcar/Todolister
7b9c06956239a7f06b0fdba478773894aa250cff
[ "MIT" ]
null
null
null
Todolister/ArgTranslator.cpp
vabalcar/Todolister
7b9c06956239a7f06b0fdba478773894aa250cff
[ "MIT" ]
null
null
null
Todolister/ArgTranslator.cpp
vabalcar/Todolister
7b9c06956239a7f06b0fdba478773894aa250cff
[ "MIT" ]
null
null
null
#include "ArgTranslator.h" void ArgTranslator::translate(vector<string>& args) const { for (size_t i = 0; i < args.size(); i++) { translate(args[i]); if (followedByArg_.count(args[i]) != 0) ++i; } } void ArgTranslator::translate(string& arg) const { toLower(arg); if (dictionary_.count(arg) == 1) { arg = dic...
26.409091
69
0.657487
[ "vector" ]
2e0d9202f0176544ecd3d2f88195f97913288dcf
943
cpp
C++
src/0892.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0892.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0892.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <cmath> #include <hash_map> #include <map> #include <sstream> #include <type_traits> #include <algorithm> #include <stack> #include <queue> #include <bitset> #include <set> using namespace std; class Solution { public: int surfaceArea(vector<vector<in...
22.452381
54
0.494168
[ "vector" ]
2e0dc026db19ab437f275bd9e3696c86f70f5307
5,063
cc
C++
dsp_util_test.cc
Siddhant-K-code/lyra
9721651ababfc95e7ebd4547a5cc30460d56d491
[ "Apache-2.0" ]
1
2021-04-26T01:05:53.000Z
2021-04-26T01:05:53.000Z
dsp_util_test.cc
Siddhant-K-code/lyra
9721651ababfc95e7ebd4547a5cc30460d56d491
[ "Apache-2.0" ]
null
null
null
dsp_util_test.cc
Siddhant-K-code/lyra
9721651ababfc95e7ebd4547a5cc30460d56d491
[ "Apache-2.0" ]
2
2021-04-13T08:24:11.000Z
2022-02-08T08:36:52.000Z
// Copyright 2021 Google LLC // // 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 ...
36.956204
80
0.707486
[ "vector" ]
2e14a9a2a90e0bfa0c389cfd2fecdfd9b1558b73
5,267
hpp
C++
include/operations/CompoundOperation.hpp
Tonanguyxiro/qfr
0c5a75c1ee68157de082a05650bc72aef41998c4
[ "MIT" ]
1
2021-03-05T09:17:36.000Z
2021-03-05T09:17:36.000Z
include/operations/CompoundOperation.hpp
Tonanguyxiro/qfr
0c5a75c1ee68157de082a05650bc72aef41998c4
[ "MIT" ]
null
null
null
include/operations/CompoundOperation.hpp
Tonanguyxiro/qfr
0c5a75c1ee68157de082a05650bc72aef41998c4
[ "MIT" ]
null
null
null
/* * This file is part of IIC-JKU QFR library which is released under the MIT license. * See file README.md or go to http://iic.jku.at/eda/research/quantum/ for more information. */ #ifndef INTERMEDIATEREPRESENTATION_COMPOUNDOPERATION_H #define INTERMEDIATEREPRESENTATION_COMPOUNDOPERATION_H #include "Operation.hpp...
32.512346
219
0.636415
[ "vector" ]
2e1ba6b67ee9a15b8cb6e554786653c0a9f5f2f7
557,496
cpp
C++
hphp/parser/hphp.tab.cpp
arnononline/hhvm
f80bfae3394cc48a0a99a49e003c7c3cd92e444f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/parser/hphp.tab.cpp
arnononline/hhvm
f80bfae3394cc48a0a99a49e003c7c3cd92e444f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/parser/hphp.tab.cpp
arnononline/hhvm
f80bfae3394cc48a0a99a49e003c7c3cd92e444f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
// @generated /* A Bison parser, made by GNU Bison 2.4.1. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify ...
39.898089
174
0.377857
[ "shape", "vector" ]
2e1c3bbfe0e82ca88359dbce29689ce0ddf148d5
5,015
cpp
C++
libs/opengl/src/CSetOfTriangles.cpp
swt2c/mrpt
9b4fd246530ff94bb93f5703e61844c6f67aa0b9
[ "BSD-3-Clause" ]
null
null
null
libs/opengl/src/CSetOfTriangles.cpp
swt2c/mrpt
9b4fd246530ff94bb93f5703e61844c6f67aa0b9
[ "BSD-3-Clause" ]
null
null
null
libs/opengl/src/CSetOfTriangles.cpp
swt2c/mrpt
9b4fd246530ff94bb93f5703e61844c6f67aa0b9
[ "BSD-3-Clause" ]
1
2020-12-30T14:06:37.000Z
2020-12-30T14:06:37.000Z
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
27.707182
80
0.648654
[ "vector" ]
2e1d836c3fdd8e55783271a634c9576e71d6747a
553
cpp
C++
Day2/zadanie6.cpp
majkel84/kurs_cpp_podstawowy
eddaffb310c6132304aa26dc87ec04ddfc09c541
[ "MIT" ]
8
2020-05-17T18:04:40.000Z
2021-04-15T07:52:33.000Z
Day2/zadanie6.cpp
majkel84/kurs_cpp_podstawowy
eddaffb310c6132304aa26dc87ec04ddfc09c541
[ "MIT" ]
292
2020-03-10T18:03:14.000Z
2022-03-26T17:00:51.000Z
Day2/zadanie6.cpp
majkel84/kurs_cpp_podstawowy
eddaffb310c6132304aa26dc87ec04ddfc09c541
[ "MIT" ]
126
2020-05-11T16:25:40.000Z
2022-02-21T00:41:03.000Z
#include <algorithm> #include <iostream> #include <vector> void foo(const std::vector<int>& vec, int number) { int equal {0}; int greater {0}; int lower {0}; for (size_t i = 0 ; i < vec.size() ; ++i) { if (vec[i] > number) ++greater; else if (vec[i] < number) ++lower; else ++equal...
19.75
51
0.511754
[ "vector" ]
2e1dfc186401f4773b4d721f618cd729b90ff4f8
771
hh
C++
inc/Przeszkoda.hh
bsierp/ZadanieDronPrzeszkody
1eab1d3a994c5023aec4ae0f6d7d605a9ac3b240
[ "MIT" ]
null
null
null
inc/Przeszkoda.hh
bsierp/ZadanieDronPrzeszkody
1eab1d3a994c5023aec4ae0f6d7d605a9ac3b240
[ "MIT" ]
null
null
null
inc/Przeszkoda.hh
bsierp/ZadanieDronPrzeszkody
1eab1d3a994c5023aec4ae0f6d7d605a9ac3b240
[ "MIT" ]
null
null
null
#ifndef PRZESZKODA_HH #define PRZESZKODA_HH /*! * \brief Definicja klasy abstrakcyjnej Przeszkoda * * Plik zawiera definicje klasy abstrakcyjnej Przeszkoda, * oraz deklaracje wirtualnych metod tej klasy.*/ #include <memory> #include "Interfejs.hh" /*! * \brief Model pojęcia przeszkody * * Klasa abstrakcyjna modeluje...
26.586207
90
0.726329
[ "model" ]
2e231baac6e69e1bece2e514dcd2f3b7474f9434
911
cpp
C++
LeetCode/Problems/Algorithms/#421_MaximumXOROfTwoNumbersInAnArray_sol4_prefixes_and_set_356ms_40.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#421_MaximumXOROfTwoNumbersInAnArray_sol4_prefixes_and_set_356ms_40.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#421_MaximumXOROfTwoNumbersInAnArray_sol4_prefixes_and_set_356ms_40.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: int findMaximumXOR(vector<int>& nums) { int maxXOR = 0; // build the answer (i.e., maxXOR) step-by-step moving from left (msb) to right (lsb) int mask = 0; for(int bit = 30; bit >= 0; --bit){ mask |= (1 << bit); ...
32.535714
94
0.432492
[ "vector" ]
2e234c89f1fadb6bbbcdde2a0c579de1a8c97b54
6,083
cpp
C++
examples/COUPLE/lammps_spparks/lmpspk.cpp
neoshanarayanan/lammps_simulations
04e55e3b74da588e70a08b6b9f1d79fc4dc0b7d4
[ "MIT" ]
null
null
null
examples/COUPLE/lammps_spparks/lmpspk.cpp
neoshanarayanan/lammps_simulations
04e55e3b74da588e70a08b6b9f1d79fc4dc0b7d4
[ "MIT" ]
null
null
null
examples/COUPLE/lammps_spparks/lmpspk.cpp
neoshanarayanan/lammps_simulations
04e55e3b74da588e70a08b6b9f1d79fc4dc0b7d4
[ "MIT" ]
null
null
null
// lmpspk = umbrella driver to couple LAMMPS + SPPARKS // for a strain-induced grain growth model // Syntax: lmpspk Niter Ndelta Sfactor in.spparks // Niter = # of outer iterations // Ndelta = time to run MC in each iteration // Sfactor = multiplier on strain effect // in.sppar...
27.15625
76
0.653625
[ "model" ]
2e23539490bd56621c0e4957ab14f18909fbe7e4
887
cpp
C++
Level-1/13. Stack and Queues/7. Celebrity-Problem.cpp
anubhvshrma18/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
22
2021-06-02T04:25:55.000Z
2022-01-30T06:25:07.000Z
Level-1/13. Stack and Queues/7. Celebrity-Problem.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
2
2021-10-17T19:26:10.000Z
2022-01-14T18:18:12.000Z
Level-1/13. Stack and Queues/7. Celebrity-Problem.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
8
2021-07-21T09:55:15.000Z
2022-01-31T10:32:51.000Z
#include<bits/stdc++.h> using namespace std; void celebPrblm(vector<string> &v,int n,stack<int> &st){ while(st.size()>1){ int v1=st.top(); st.pop(); int v2=st.top(); st.pop(); if(v[v1][v2]=='1'){ st.push(v2); } else{ st.push(v...
18.102041
56
0.382187
[ "vector" ]
2e29cf162c88df111b3015ca0c1972f2bdc8ecd5
4,972
cpp
C++
examples/mex_simpleprocessor.cpp
mgeier/apf
62354db0f476dc8ffde146a765b420116782bfee
[ "MIT" ]
28
2015-04-14T20:09:07.000Z
2021-10-22T04:29:10.000Z
examples/mex_simpleprocessor.cpp
mgeier/apf
62354db0f476dc8ffde146a765b420116782bfee
[ "MIT" ]
3
2015-07-30T11:13:46.000Z
2020-10-16T10:25:23.000Z
examples/mex_simpleprocessor.cpp
mgeier/apf
62354db0f476dc8ffde146a765b420116782bfee
[ "MIT" ]
9
2015-08-23T08:02:42.000Z
2021-11-23T16:16:56.000Z
// Example for the MimoProcessor running as a Matlab (or GNU octave) MEX file. // // Compile for GNU Octave: mkoctfile --mex mex_simpleengine.cpp // Compile for Matlab: not tested yet! // // Usage example: // // mex_simpleprocessor('init', 2, 3, 2, 4, 44100) // x = mex_simpleprocessor('process', single(ones(4,2))) // m...
25.111111
79
0.650442
[ "vector" ]
2e2c6c00dc3823d69e9526727aed2bef7cf3b2e9
398
hh
C++
utils/include/color_utils.hh
ozaslan/basics
509223ef116f307d443e9a058923ad42f0c507e9
[ "MIT" ]
null
null
null
utils/include/color_utils.hh
ozaslan/basics
509223ef116f307d443e9a058923ad42f0c507e9
[ "MIT" ]
null
null
null
utils/include/color_utils.hh
ozaslan/basics
509223ef116f307d443e9a058923ad42f0c507e9
[ "MIT" ]
null
null
null
#ifndef __COLOR_UTILS_HH__ #define __COLOR_UTILS_HH__ #include <Eigen/Dense> #include <vector> #include <iostream> using namespace std; namespace utils{ namespace colors{ class Colors{ private: vector<Eigen::Vector3d> _colors; int _init_colors(); public: Colors(); ...
15.307692
42
0.620603
[ "vector" ]
2e2d306a5ae7324b7efa6366dc7ffdb1a1f3bc17
2,248
cpp
C++
lane_detection/test_lane_identifier.cpp
Bill-Bi/ADAS
80f305e23c1bcc3f2464255a641c81011033b0c3
[ "Apache-2.0" ]
null
null
null
lane_detection/test_lane_identifier.cpp
Bill-Bi/ADAS
80f305e23c1bcc3f2464255a641c81011033b0c3
[ "Apache-2.0" ]
null
null
null
lane_detection/test_lane_identifier.cpp
Bill-Bi/ADAS
80f305e23c1bcc3f2464255a641c81011033b0c3
[ "Apache-2.0" ]
2
2021-03-23T02:25:26.000Z
2021-08-13T06:49:22.000Z
#include <fstream> #include <opencv2/opencv.hpp> #include "filesystem_include.h" #include "lane_detector.h" using namespace std; using namespace cv; int main(int argc, char** argv) { std::string input_folder = "../input_folder"; std::string output_folder = "output_folder"; fs::create_directory(output_fo...
38.101695
162
0.627224
[ "vector" ]
2e2dc98ab864711150edf0eb7c3005df63e4fae0
6,166
cpp
C++
testing/data/text/encoding/utf8.cpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
3
2020-03-28T01:36:44.000Z
2020-06-19T23:55:08.000Z
testing/data/text/encoding/utf8.cpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
testing/data/text/encoding/utf8.cpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (C) 2020 Tristan. All Rights Reserved. * This file is licensed under the BSD 2-Clause license. * See the COPYING file for licensing information. */ #include "data/text/encoding/utf8.hpp" #include <climits> #include <gtest/gtest.h> #include "logger.hpp" namespace TextEncoding { class UTF8Test ...
37.369697
142
0.613039
[ "vector" ]
2e3275b8d454b48fbea47aa0d230ba9564bdb8f1
6,205
cpp
C++
src/modules/fancyzones/lib/ZoneWindowDrawing.cpp
gordonwatts/PowerToys
3d0254bdebacee7a4dfc180cf0721cb5e9c22ef3
[ "MIT" ]
1
2021-01-24T07:13:32.000Z
2021-01-24T07:13:32.000Z
src/modules/fancyzones/lib/ZoneWindowDrawing.cpp
gordonwatts/PowerToys
3d0254bdebacee7a4dfc180cf0721cb5e9c22ef3
[ "MIT" ]
null
null
null
src/modules/fancyzones/lib/ZoneWindowDrawing.cpp
gordonwatts/PowerToys
3d0254bdebacee7a4dfc180cf0721cb5e9c22ef3
[ "MIT" ]
null
null
null
#include "pch.h" #include "ZoneWindowDrawing.h" #include <string> namespace NonLocalizable { const wchar_t SegoeUiFont[] = L"Segoe ui"; } namespace { void InitRGB(_Out_ RGBQUAD* quad, BYTE alpha, COLORREF color) { ZeroMemory(quad, sizeof(*quad)); quad->rgbReserved = alpha; quad->r...
35.66092
194
0.570185
[ "vector" ]
aa302fa2d510d25bd2706f4158dae2e77c4ac778
3,911
cpp
C++
RcsPySim/src/cpp/core/initState/ISSBallInTube.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
52
2020-05-02T13:55:09.000Z
2022-03-09T14:49:36.000Z
RcsPySim/src/cpp/core/initState/ISSBallInTube.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
40
2020-09-01T15:19:22.000Z
2021-11-02T14:51:41.000Z
RcsPySim/src/cpp/core/initState/ISSBallInTube.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
13
2020-07-03T11:39:21.000Z
2022-02-20T01:12:42.000Z
/******************************************************************************* Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and Technical University of Darmstadt. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted prov...
38.343137
123
0.683201
[ "vector" ]
aa3316c0a1f05b3905a505d24e56b4ebead6c24b
482
hpp
C++
path.hpp
EgemenGuray/Traveling-Salesman-Playground
f79639a3aafbd8cfda3eb1744606f8df0cf55d19
[ "MIT" ]
null
null
null
path.hpp
EgemenGuray/Traveling-Salesman-Playground
f79639a3aafbd8cfda3eb1744606f8df0cf55d19
[ "MIT" ]
null
null
null
path.hpp
EgemenGuray/Traveling-Salesman-Playground
f79639a3aafbd8cfda3eb1744606f8df0cf55d19
[ "MIT" ]
null
null
null
// // path.hpp // tsp // // Created by Egemen Ihsan Guray on 12/17/18. // Copyright © 2018 Egemen Ihsan Guray. All rights reserved. // #ifndef path_hpp #define path_hpp #include "city.hpp" class Path{ std::vector <City *> all_cities; public: Path(); void add(City *); void add(double x_pos, d...
15.0625
61
0.595436
[ "vector" ]
aa3b9a862639137e12d0d2dbf75e1a4581941a9f
7,789
cpp
C++
GD4GameWorld/Source/Structural/Utility.cpp
Alex-Jay/2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
1
2018-12-18T12:00:57.000Z
2018-12-18T12:00:57.000Z
GD4GameWorld/Source/Structural/Utility.cpp
Alex-Jay/k-arnage_2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
null
null
null
GD4GameWorld/Source/Structural/Utility.cpp
Alex-Jay/k-arnage_2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
null
null
null
#include "Constant/Constants.hpp" #include "Structural/Utility.hpp" #include "Animation/Animation.hpp" #include <SFML/Graphics/Sprite.hpp> #include <SFML/Graphics/Text.hpp> #include <SFML/Graphics/RectangleShape.hpp> #include <SFML/System/Clock.hpp> #include <SFML/Graphics/Rect.hpp> #include <cmath> #include <random>...
24.884984
113
0.741559
[ "shape", "vector" ]
aa54597dc0f5f0be50dd1f00bddffae9721e6ec7
5,012
cpp
C++
src/costa/grid2grid/utils.cpp
eth-cscs/COSTA
1c292edc1891bd2af779d623538ea4701e0adb29
[ "BSD-3-Clause" ]
7
2021-04-01T12:44:43.000Z
2022-02-04T14:04:06.000Z
src/costa/grid2grid/utils.cpp
eth-cscs/COSTA
1c292edc1891bd2af779d623538ea4701e0adb29
[ "BSD-3-Clause" ]
3
2021-01-11T20:23:03.000Z
2022-02-17T13:09:59.000Z
src/costa/grid2grid/utils.cpp
eth-cscs/COSTA
1c292edc1891bd2af779d623538ea4701e0adb29
[ "BSD-3-Clause" ]
1
2022-02-21T03:48:13.000Z
2022-02-21T03:48:13.000Z
#include <costa/grid2grid/utils.hpp> bool costa::utils::if_should_transpose(const char src_ordering, const char dest_ordering, const char trans) { assert(src_ordering == 'R' || src_ordering == 'C'); assert(dest_ordering == 'R' || de...
35.8
87
0.596967
[ "vector" ]
aa64eaf64fed8c0ba8d3146126e3f1222d6a8cbc
8,967
cc
C++
src/fuzzers/rw/t5t.cc
stnfc/android-system-nfc
ee659f69beed15b31bc08a7283fb9a403430c1a9
[ "Apache-2.0" ]
null
null
null
src/fuzzers/rw/t5t.cc
stnfc/android-system-nfc
ee659f69beed15b31bc08a7283fb9a403430c1a9
[ "Apache-2.0" ]
null
null
null
src/fuzzers/rw/t5t.cc
stnfc/android-system-nfc
ee659f69beed15b31bc08a7283fb9a403430c1a9
[ "Apache-2.0" ]
null
null
null
#include "fuzz.h" #define MODULE_NAME "Type5 Read/Write" enum { SUB_TYPE_INVENTORY, SUB_TYPE_STAY_QUIET, SUB_TYPE_READ_SINGLEBLOCK, SUB_TYPE_WRITE_SINGLEBLOCK, SUB_TYPE_LOCK_BLOCK, SUB_TYPE_READ_MULTIPLEBLOCKS, SUB_TYPE_WRITE_MULTIPLEBLOCKS, SUB_TYPE_SELECT, SUB_TYPE_RESET_TO_READY, ...
27.422018
78
0.64637
[ "vector" ]
aa68ed6cbd3b98a7e86d118c5152434f470438b9
19,655
hpp
C++
Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_ColHeader.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_ColHeader.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_ColHeader.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDCtrls_ColHeader.hpp // // AUTHOR: Dean Roddey // // CREATED: 11/28/2017 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://openso...
35.414414
95
0.440804
[ "object" ]
aa6a70d58fd73901315b2a85d1505081f823b067
6,613
cpp
C++
pxr/base/lib/tf/wrapPyDateTime.cpp
marsupial/USD
98d49911893d59be5a9904a29e15959affd530ec
[ "BSD-3-Clause" ]
9
2021-03-31T21:23:48.000Z
2022-03-05T09:29:27.000Z
pxr/base/lib/tf/wrapPyDateTime.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
null
null
null
pxr/base/lib/tf/wrapPyDateTime.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
2
2016-12-13T00:53:40.000Z
2020-05-04T07:32:53.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
38.225434
89
0.640708
[ "object" ]
aa6a7c0f6c2bf5762c8df91112ade460336f3708
46,830
cc
C++
tools/src/vcfdiff.cc
WordLess-ChuanJun/GenomisDB
d91ef2b701cf64be8c9911ee935863527ed94e9a
[ "MIT" ]
null
null
null
tools/src/vcfdiff.cc
WordLess-ChuanJun/GenomisDB
d91ef2b701cf64be8c9911ee935863527ed94e9a
[ "MIT" ]
null
null
null
tools/src/vcfdiff.cc
WordLess-ChuanJun/GenomisDB
d91ef2b701cf64be8c9911ee935863527ed94e9a
[ "MIT" ]
null
null
null
/** * The MIT License (MIT) * Copyright (c) 2016 Intel Corporation * * 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 ...
40.37069
158
0.675251
[ "vector" ]
aa6ca2136f3a091de7f832f5aeccb37341d37c45
2,383
cc
C++
library/common/event/provisional_dispatcher.cc
ryanrhee/envoy-mobile
34649625e979638dc51f2fa08336055d0cc1909d
[ "Apache-2.0" ]
86
2020-11-16T23:40:04.000Z
2022-03-15T20:36:21.000Z
library/common/event/provisional_dispatcher.cc
ryanrhee/envoy-mobile
34649625e979638dc51f2fa08336055d0cc1909d
[ "Apache-2.0" ]
497
2020-11-14T02:53:19.000Z
2022-03-31T20:26:11.000Z
library/common/event/provisional_dispatcher.cc
ryanrhee/envoy-mobile
34649625e979638dc51f2fa08336055d0cc1909d
[ "Apache-2.0" ]
36
2020-11-14T00:06:50.000Z
2022-03-03T19:27:50.000Z
#include "library/common/event/provisional_dispatcher.h" #include "source/common/common/lock_guard.h" #include "library/common/thread/lock_guard.h" namespace Envoy { namespace Event { void ProvisionalDispatcher::drain(Event::Dispatcher& event_dispatcher) { // TODO(goaway): Must be called from the Event::Dispatche...
33.56338
99
0.768359
[ "object" ]
aa77b6a2e1f21c16139638682bfdbd594665bcd1
3,950
cpp
C++
src/libcore/src/ccm/core/StackTrace.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
6
2018-05-08T10:08:21.000Z
2021-11-13T13:22:58.000Z
src/libcore/src/ccm/core/StackTrace.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
1
2018-05-08T10:20:17.000Z
2018-07-23T05:19:19.000Z
src/libcore/src/ccm/core/StackTrace.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
4
2018-03-13T06:21:11.000Z
2021-06-19T02:48:07.000Z
//========================================================================= // Copyright (C) 2018 The C++ Component Model(CCM) Open Source Project // // 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 Lic...
28.832117
100
0.646329
[ "model" ]
aa7935326ee1cd4b68376dfd11622b4fbdf97b45
16,029
cpp
C++
Homework/boilerplate/main.cpp
DaixuanLi/Router-Lab
4d677d38ae02c24af2fef1a0528612c6b86d2758
[ "Linux-OpenIB" ]
null
null
null
Homework/boilerplate/main.cpp
DaixuanLi/Router-Lab
4d677d38ae02c24af2fef1a0528612c6b86d2758
[ "Linux-OpenIB" ]
null
null
null
Homework/boilerplate/main.cpp
DaixuanLi/Router-Lab
4d677d38ae02c24af2fef1a0528612c6b86d2758
[ "Linux-OpenIB" ]
null
null
null
#include "rip.h" #include "router.h" #include "router_hal.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <arpa/inet.h> #include <string.h> #include <list> #include <vector> #define BROADCAST_ADDR 0x090000e0 typedef uint32_t in_addr_t; typedef std::vector<RoutingTableEntry> ROUTINGLIST; extern RO...
32.645621
201
0.537401
[ "vector" ]
aa8491fd703ab347d253b45eb6d0df65c3a5c27c
3,649
cpp
C++
Vic2ToHoI4/Source/Mappers/Provinces/ProvinceMapperFactory.cpp
ParadoxGameConverters/Vic2ToHoI4
ac5d77f2bcf8b9b7cb9dfe78a0bc85875600fc1c
[ "MIT" ]
25
2018-12-10T03:41:49.000Z
2021-10-04T10:42:36.000Z
Vic2ToHoI4/Source/Mappers/Provinces/ProvinceMapperFactory.cpp
Elfangor567/Vic2ToHoI4
55df397bbb65ecb690fe6bb5fcaf757d17bcc885
[ "MIT" ]
739
2018-12-13T02:01:20.000Z
2022-03-28T02:57:13.000Z
Vic2ToHoI4/Source/Mappers/Provinces/ProvinceMapperFactory.cpp
IhateTrains/Vic2ToHoI4
5ad7f7c259f7495a10e043ade052d3b18a8951dc
[ "MIT" ]
43
2018-12-10T03:41:58.000Z
2022-03-22T23:55:41.000Z
#include "ProvinceMapperFactory.h" #include "CommonRegexes.h" #include "Configuration.h" #include "GameVersion.h" #include "Log.h" #include "OSCompatibilityLayer.h" #include "ParserHelpers.h" #include "ProvinceMapper.h" #include "VersionedMappings.h" #include <fstream> namespace { std::optional<int> getNextProvince...
24.993151
113
0.734448
[ "vector" ]
aa8bb468cabe5867e01a466a32cc33d466b97387
2,877
cpp
C++
src/Tests/Neighbourhood.cpp
dsiuta/Comps
2071279280d33946e975de25deedc60f1881eda0
[ "BSD-3-Clause" ]
null
null
null
src/Tests/Neighbourhood.cpp
dsiuta/Comps
2071279280d33946e975de25deedc60f1881eda0
[ "BSD-3-Clause" ]
null
null
null
src/Tests/Neighbourhood.cpp
dsiuta/Comps
2071279280d33946e975de25deedc60f1881eda0
[ "BSD-3-Clause" ]
null
null
null
#include "../Data.h" #include "../Loggers/Default.h" #include "../Loggers/Logger.h" #include "../Global.h" #include "../Member.h" #include "../Ensemble.h" #include "../Inputs/Input.h" #include "../Location.h" #include "../Neighbourhoods/Neighbourhood.h" #include "../Parameters.h" #include <gtest/gtest.h> namespace { ...
35.085366
135
0.590198
[ "vector" ]
aa8fef4dcd85f7a0d33853fe01c8481bebde4569
17,844
cpp
C++
platform_bionic-android-vts-12.0_r2/tests/system_properties_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
1
2019-05-04T02:30:08.000Z
2019-05-04T02:30:08.000Z
platform_bionic-android-vts-12.0_r2/tests/system_properties_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
platform_bionic-android-vts-12.0_r2/tests/system_properties_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2013 The Android Open Source Project * * 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...
33.731569
98
0.657868
[ "vector" ]
aa908a73b280d12bbc4844fdc23f487615ab6c60
6,299
cpp
C++
lrcdecoder.cpp
mengps/LrcDecoder
ac7ca979bb29386712ca148d9615c919f06cb213
[ "MIT" ]
4
2020-07-25T10:53:44.000Z
2021-04-08T14:39:44.000Z
lrcdecoder.cpp
mengps/LrcDecoder
ac7ca979bb29386712ca148d9615c919f06cb213
[ "MIT" ]
1
2020-07-28T10:04:09.000Z
2020-08-01T16:27:18.000Z
lrcdecoder.cpp
mengps/LrcDecoder
ac7ca979bb29386712ca148d9615c919f06cb213
[ "MIT" ]
null
null
null
#include "lrcdecoder.h" #include <fstream> #include <iostream> #include <map> #include <sstream> #include <vector> static const string MetaData[7][2] = { {"ti", "title"}, {"al", "album"}, {"ar", "artist"}, {"au", "author"}, {"by", "creator"}, {"re", "encoder"}, {"ve", "encoder_version"} };...
22.41637
85
0.531037
[ "vector" ]
aa979f395b15a0e23b177c7e48a33e49989434a6
3,849
hpp
C++
include/ros_entities/ros_tf_listener.hpp
andreadelprete/dynamic_graph_manager
59a29462ea173d3a3456642799d965f8f1e2854e
[ "BSD-3-Clause" ]
null
null
null
include/ros_entities/ros_tf_listener.hpp
andreadelprete/dynamic_graph_manager
59a29462ea173d3a3456642799d965f8f1e2854e
[ "BSD-3-Clause" ]
null
null
null
include/ros_entities/ros_tf_listener.hpp
andreadelprete/dynamic_graph_manager
59a29462ea173d3a3456642799d965f8f1e2854e
[ "BSD-3-Clause" ]
null
null
null
/** * @file ros_tf_listener.hpp * @author Maximilien Naveau (maximilien.naveau@gmail.com) * @license License BSD-3-Clause * @copyright Copyright (c) 2019, New York University and Max Planck * Gesellschaft. * @date 2019-05-22 */ #ifndef DYNAMIC_GRAPH_ROS_TF_LISTENER_HH #define DYNAMIC_GRAPH_ROS_TF_LISTENER_HH #...
29.607692
80
0.593401
[ "transform" ]
aa97d23ec5caa9ea698fc482ba436f274827bf2e
3,902
cpp
C++
src/logger.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
null
null
null
src/logger.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
null
null
null
src/logger.cpp
pvavercak/randomness-testing-toolkit
8a29349edee0dc44bc8e765708555dda57b9e339
[ "MIT" ]
null
null
null
#include "logger.h" #include "bugexception.h" #include "utils.h" #include "version.h" namespace rtt { Logger::Logger(const std::string &logId, const std::string &logFile, bool toCout) { /* Empty to make header, will be set later */ rawLoggerConf.set(el::Level::Global, el::ConfigurationType::Format, "%msg"); ...
34.22807
85
0.616607
[ "vector" ]
aa9d7d3a7fe99c9f6e1686ae8cd158622d6a74d2
38,438
cc
C++
riscv/llvm/3.5/binutils-2.21.1/gold/incremental.cc
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
3
2017-03-06T14:12:57.000Z
2019-11-23T09:35:10.000Z
riscv/llvm/3.5/binutils-2.21.1/gold/incremental.cc
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
null
null
null
riscv/llvm/3.5/binutils-2.21.1/gold/incremental.cc
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
1
2021-03-24T06:40:32.000Z
2021-03-24T06:40:32.000Z
// inremental.cc -- incremental linking support for gold // Copyright 2009, 2010 Free Software Foundation, Inc. // Written by Mikolaj Zalewski <mikolajz@google.com>. // This file is part of gold. // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public L...
32.16569
83
0.702482
[ "object" ]
82b3744e75dc8e6c5eadfa3e44b35666a3869996
23,492
cc
C++
electron/electron-tf/tensorflow_plugin/src/kernels/cpu/conv_ops_using_gemm.cc
VerticalResearchGroup/eagle
3b76771e2177290e604086a710d35455cba8db5e
[ "Apache-2.0" ]
1
2022-03-04T06:33:33.000Z
2022-03-04T06:33:33.000Z
tensorflow_plugin/src/kernels/cpu/conv_ops_using_gemm.cc
hillwang0411/dl_plugin
f1e9b1d696477224bad87e98b9ff49b53435edf8
[ "Apache-2.0" ]
2
2022-03-22T02:21:00.000Z
2022-03-26T21:32:19.000Z
tensorflow_plugin/src/kernels/cpu/conv_ops_using_gemm.cc
hillwang0411/dl_plugin
f1e9b1d696477224bad87e98b9ff49b53435edf8
[ "Apache-2.0" ]
2
2022-01-31T08:54:14.000Z
2022-02-17T06:07:29.000Z
//#define EIGEN_USE_THREADS #include <map> #include <string.h> #include <vector> #include "gemm_functors.h" #include "tensorflow/c/kernels.h" #include "tensorflow/c/ops.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_tensor.h" namespace demo_plugin { struct Sta...
38.574713
80
0.607739
[ "vector" ]
82c0c487209cc0c0ce8d4d9b12b6ed8821bf2ba7
7,577
cpp
C++
src/other/ext/openscenegraph/src/osg/ShaderComposer.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/ext/openscenegraph/src/osg/ShaderComposer.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/ext/openscenegraph/src/osg/ShaderComposer.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * Copyright (C) 2010-10-21 VIRES Simulationstechnologie GmbH * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later versi...
30.676113
134
0.622542
[ "geometry", "object" ]
82c1489d3e55e2e1e6164d867fa9662febde29ae
6,035
inl
C++
MathL/src/Vector4Type.inl
LeoMaden/MathL
4345855535e21ead186c3449c360cba5a7326036
[ "MIT" ]
null
null
null
MathL/src/Vector4Type.inl
LeoMaden/MathL
4345855535e21ead186c3449c360cba5a7326036
[ "MIT" ]
null
null
null
MathL/src/Vector4Type.inl
LeoMaden/MathL
4345855535e21ead186c3449c360cba5a7326036
[ "MIT" ]
null
null
null
#pragma once #include "Vector4Type.h" namespace MathL { template<typename T, bool UseSimd> struct VectorAdd<4, T, UseSimd> { static Vector<4, T> Compute(const Vector<4, T>& left, const Vector<4, T>& right) { return Vector<4, T>( left.x + right.x, left.y + right.y, left.z + right.z, left.w +...
21.25
92
0.606959
[ "vector" ]
82c793503de1cfde6912723ed08af2594e7adf21
8,505
cpp
C++
Jyamithika/MonotonePartition.cpp
kasunindikaliyanage/Jyamithika
ae558f2ea1f784fd54f82f507969ad46b62defd5
[ "MIT" ]
7
2021-11-11T14:57:36.000Z
2022-03-22T21:53:32.000Z
Jyamithika/MonotonePartition.cpp
kasunindikaliyanage/Jyamithika
ae558f2ea1f784fd54f82f507969ad46b62defd5
[ "MIT" ]
null
null
null
Jyamithika/MonotonePartition.cpp
kasunindikaliyanage/Jyamithika
ae558f2ea1f784fd54f82f507969ad46b62defd5
[ "MIT" ]
6
2021-11-24T05:20:04.000Z
2022-02-27T15:12:34.000Z
#include "MonotonePartition.h" #include <set> #include <map> #include <algorithm> using namespace jmk; enum class VERTEX_CATEGORY { START, END, REGULAR, SPLIT, MERGE, INVALID }; VERTEX_CATEGORY categorize_vertex(Vertex2dDCEL* vertex) { Vertex2dDCEL* v_prev = vertex->incident_edge->prev->origin; Vertex2dDCEL...
28.636364
98
0.71652
[ "vector" ]
82c8fc02019472d3748d3f683dd63c9e3c8828d1
5,049
cc
C++
src/clique/omp_iterative.cc
chenxuhao/GraphMiner
493a16990238648ed4f8af263b2bf06aabb0758a
[ "MIT" ]
25
2021-07-31T15:29:30.000Z
2022-03-30T02:50:33.000Z
src/clique/omp_iterative.cc
chenxuhao/GraphMiner
493a16990238648ed4f8af263b2bf06aabb0758a
[ "MIT" ]
1
2022-03-27T20:43:23.000Z
2022-03-27T20:43:23.000Z
src/clique/omp_iterative.cc
chenxuhao/GraphMiner
493a16990238648ed4f8af263b2bf06aabb0758a
[ "MIT" ]
2
2021-12-06T17:59:48.000Z
2022-01-26T22:58:16.000Z
// Copyright 2020 Massachusetts Institute of Technology // Contact: Xuhao Chen <cxh@mit.edu> #include "clique.h" #include "cmap.h" void kclique(Graph &g, int k, uint64_t &total); void kclique_cmap(Graph &g, int k, uint64_t &total); void CliqueSolver(Graph &g, int k, uint64_t &total, int, int) { int num_threads = 1;...
28.851429
85
0.495742
[ "vector" ]
82cbfda9ed0f3c7cf2cc077bf943cfb9a6f38712
3,492
cpp
C++
Ajani_Stewart_Assignment3/h3.cpp
AjaniStewart/cv
e92227b9794c7faaa1b5d9e81e3ce9e08675ce37
[ "MIT" ]
null
null
null
Ajani_Stewart_Assignment3/h3.cpp
AjaniStewart/cv
e92227b9794c7faaa1b5d9e81e3ce9e08675ce37
[ "MIT" ]
null
null
null
Ajani_Stewart_Assignment3/h3.cpp
AjaniStewart/cv
e92227b9794c7faaa1b5d9e81e3ce9e08675ce37
[ "MIT" ]
null
null
null
/* Author: Ajani Stewart File: h3.cpp Purpose: uses the hough transform for lines to create and save a voting array to disk from an edge image */ #include <cmath> #include <vector> #include <iostream> #include <string> #include <fstream> #include "image.h" using namespace std; using namespace C...
24.082759
87
0.597365
[ "vector", "transform" ]
82cdbf89f71d76d7f140af92521e9a9c83be632f
86,116
cpp
C++
src/ide/PolycodeEntityEditor.cpp
my-digital-decay/Polycode
5dd1836bc4710aea175a77433c17696f8330f596
[ "MIT" ]
null
null
null
src/ide/PolycodeEntityEditor.cpp
my-digital-decay/Polycode
5dd1836bc4710aea175a77433c17696f8330f596
[ "MIT" ]
null
null
null
src/ide/PolycodeEntityEditor.cpp
my-digital-decay/Polycode
5dd1836bc4710aea175a77433c17696f8330f596
[ "MIT" ]
null
null
null
/* Copyright (C) 2012 by Ivan Safrin 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, distri...
33.365362
221
0.726009
[ "mesh", "geometry", "render", "object", "vector", "transform" ]
82d05c05842e596d681514b73d8bf93803cb0d8d
1,831
cpp
C++
cpp/test/jsoncpp_test.cpp
walterfan/snippets
62f87720c411093fcff888f25b338afd1d99a6f9
[ "Apache-2.0" ]
1
2021-06-18T09:31:59.000Z
2021-06-18T09:31:59.000Z
cpp/test/jsoncpp_test.cpp
walterfan/snippets
62f87720c411093fcff888f25b338afd1d99a6f9
[ "Apache-2.0" ]
10
2020-12-12T08:12:06.000Z
2022-03-02T06:54:10.000Z
cpp/test/jsoncpp_test.cpp
walterfan/snippets
62f87720c411093fcff888f25b338afd1d99a6f9
[ "Apache-2.0" ]
null
null
null
#include <fstream> #include <iostream> #include <vector> #include "gtest/gtest.h" #include "json/json.h" #include "TestCase.h" using namespace std; using namespace testing; struct User { User(string strName, string strEmail, int nAge): name(strName), email(strEmail), age(nAge) {} string name; string ...
23.779221
120
0.601311
[ "vector" ]
82dc8ebbad9776d89ed9965743f9678226bb6762
4,661
cpp
C++
src/onnx/mnist.cpp
turneram/AMDMIGraphX
48fa934d180cda7b6764b21465e203e39ca1cab3
[ "MIT" ]
null
null
null
src/onnx/mnist.cpp
turneram/AMDMIGraphX
48fa934d180cda7b6764b21465e203e39ca1cab3
[ "MIT" ]
null
null
null
src/onnx/mnist.cpp
turneram/AMDMIGraphX
48fa934d180cda7b6764b21465e203e39ca1cab3
[ "MIT" ]
null
null
null
#include <cstdio> #include <string> #include <fstream> #include <numeric> #include <stdexcept> #include <migraphx/onnx.hpp> #include <migraphx/gpu/target.hpp> #include <migraphx/gpu/hip.hpp> #include <migraphx/generate.hpp> #include "softmax.hpp" auto reverse_int(unsigned int i) { unsigned char c1; unsigned...
31.924658
99
0.564257
[ "shape", "vector" ]
82defc74f69bcd2f6822bdb5416b8de591658a84
6,503
cpp
C++
src/libraries/turbulenceModels/compressible/RAS/RASModel/compressibleRASModel.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/turbulenceModels/compressible/RAS/RASModel/compressibleRASModel.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/turbulenceModels/compressible/RAS/RASModel/compressibleRASModel.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2015 OpenFOAM Foundation Copyright (C) 2014 Applied CCM ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redist...
25.602362
79
0.549439
[ "mesh", "model" ]
82dfea23fc59fb81b6e225382ab7c00f6a656851
77,671
cxx
C++
main/unotools/source/config/moduleoptions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/unotools/source/config/moduleoptions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/unotools/source/config/moduleoptions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
48.727102
176
0.537897
[ "object" ]
82ea40d995f29805bb010b23ab50e5ae0e6be5a9
1,635
cpp
C++
test/cpp/tensorexpr/test_cpp_codegen.cpp
FloCF/pytorch
383a33a0eb28ae454c0c8965650aea8ce1608943
[ "Intel" ]
1
2021-08-18T08:59:49.000Z
2021-08-18T08:59:49.000Z
test/cpp/tensorexpr/test_cpp_codegen.cpp
FloCF/pytorch
383a33a0eb28ae454c0c8965650aea8ce1608943
[ "Intel" ]
1
2021-09-03T09:35:27.000Z
2021-09-03T09:35:27.000Z
test/cpp/tensorexpr/test_cpp_codegen.cpp
FloCF/pytorch
383a33a0eb28ae454c0c8965650aea8ce1608943
[ "Intel" ]
null
null
null
#include <gtest/gtest.h> #include <test/cpp/tensorexpr/test_base.h> #include <torch/csrc/jit/tensorexpr/cpp_codegen.h> #include <torch/csrc/jit/tensorexpr/mem_arena.h> #include <torch/csrc/jit/tensorexpr/stmt.h> #include <torch/csrc/jit/testing/file_check.h> namespace torch { namespace jit { using namespace torch::...
27.711864
67
0.666055
[ "vector" ]
82eaf0fbda4d16275564732839f9168cb450854f
4,796
cpp
C++
src/generated/lsd_saveinventory.cpp
TestGabu/liblcf
c4b58844ef10179910b92a7cfbf23ab593cc2ade
[ "MIT" ]
null
null
null
src/generated/lsd_saveinventory.cpp
TestGabu/liblcf
c4b58844ef10179910b92a7cfbf23ab593cc2ade
[ "MIT" ]
null
null
null
src/generated/lsd_saveinventory.cpp
TestGabu/liblcf
c4b58844ef10179910b92a7cfbf23ab593cc2ade
[ "MIT" ]
null
null
null
/* !!!! GENERATED FILE - DO NOT EDIT !!!! * -------------------------------------- * * This file is part of liblcf. Copyright (c) 2020 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright ...
24.100503
79
0.760842
[ "vector" ]
82eb23e10a277e1b8f7774756403b4ed13127f5a
6,315
cpp
C++
main.cpp
padeler/rmpe_dataset_server
b7c815c6f29eb7872424e354e5ee7710ba0da2f6
[ "BSD-3-Clause" ]
17
2017-11-10T06:50:02.000Z
2020-10-30T20:50:57.000Z
main.cpp
padeler/rmpe_dataset_server
b7c815c6f29eb7872424e354e5ee7710ba0da2f6
[ "BSD-3-Clause" ]
5
2017-11-09T06:34:43.000Z
2020-05-28T09:50:22.000Z
main.cpp
padeler/rmpe_dataset_server
b7c815c6f29eb7872424e354e5ee7710ba0da2f6
[ "BSD-3-Clause" ]
6
2017-11-02T04:52:42.000Z
2019-02-10T18:26:17.000Z
#include <iostream> #include <vector> #include "DataTransformer.h" #include "H5Cpp.h" #include "Eigen/Dense" #include <zmq.hpp> using Eigen::MatrixXd; using Eigen::VectorXd; using Eigen::Map; struct DatumMetadata { uchar* datum; hsize_t shape[3]; }; int getKeys(std::vector<string> *keys, const H5::Group *group) ...
28.191964
111
0.651306
[ "shape", "vector", "transform" ]
82eb377fefc86a82f83ce1da6b89c189ea8b0a00
1,340
cc
C++
src/geometry/Mesh2D.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/geometry/Mesh2D.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/geometry/Mesh2D.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*----------------------------------// /** * @file Mesh2D.hh * @author Jeremy Roberts * @brief Mesh2D member definitions. */ //---------------------------------------------------------------------------// #include "Mesh2D.hh" namespace detran_geometry { //----------...
24.814815
79
0.370149
[ "mesh" ]
82f09efba0516ebd4a217134fbf16cf9d6b46c88
4,036
hh
C++
RecoDataProducts/inc/TrkToCaloExtrapol.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
null
null
null
RecoDataProducts/inc/TrkToCaloExtrapol.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
RecoDataProducts/inc/TrkToCaloExtrapol.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // container for the info of the extrapolated trajectory on the calorimeter // // $Id: TrkToCaloExtrapol.hh,v 1.9 2014/08/20 14:23:09 murat Exp $ // $Author: murat $ // $Date: 2014/08/20 14:23:09 $ // // Original author G. Pezzullo // #ifndef TrackCaloMatching_TrkToCaloExtrapol_hh #define TrackCaloMatching_TrkToCa...
34.20339
89
0.552527
[ "vector" ]
82f5381c709b514abc14dabbae7ab84a5e805b55
4,377
hpp
C++
ThirdParty-mod/java2cpp/org/apache/http/client/protocol/RequestTargetAuthentication.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/org/apache/http/client/protocol/RequestTargetAuthentication.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/org/apache/http/client/protocol/RequestTargetAuthentication.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: org.apache.http.client.protocol.RequestTargetAuthentication ================================================================================*/...
37.732759
199
0.745259
[ "object" ]
82fbc70d9893cf25f78db027a50c90b5682147f4
4,317
cpp
C++
samples/Ch14_common_parallel_patterns/fig_14_24_local_unpack.cpp
kgeorgen/data-parallel-CPP
c1fc8f5f9e3029be0c97f680649f07ab3f86d295
[ "MIT" ]
null
null
null
samples/Ch14_common_parallel_patterns/fig_14_24_local_unpack.cpp
kgeorgen/data-parallel-CPP
c1fc8f5f9e3029be0c97f680649f07ab3f86d295
[ "MIT" ]
null
null
null
samples/Ch14_common_parallel_patterns/fig_14_24_local_unpack.cpp
kgeorgen/data-parallel-CPP
c1fc8f5f9e3029be0c97f680649f07ab3f86d295
[ "MIT" ]
null
null
null
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: MIT #include <CL/sycl.hpp> #include <algorithm> #include <complex> #include <cstdio> #include <cstdlib> #include <fstream> #include <iostream> #include <numeric> #include <random> using namespace sycl; using namespace sycl::intel; const uint32_t ma...
25.850299
79
0.58675
[ "vector" ]
82ff791db203344bcf577eab184039ed697d24f7
3,469
cpp
C++
test/alucell_import.cpp
thomasfoetisch/tfel
c67acabaf4acf4a93edb55a9f415c87fe6b56e89
[ "BSD-3-Clause" ]
1
2019-07-09T09:31:09.000Z
2019-07-09T09:31:09.000Z
test/alucell_import.cpp
thomashilke/tfel
c67acabaf4acf4a93edb55a9f415c87fe6b56e89
[ "BSD-3-Clause" ]
null
null
null
test/alucell_import.cpp
thomashilke/tfel
c67acabaf4acf4a93edb55a9f415c87fe6b56e89
[ "BSD-3-Clause" ]
null
null
null
#include "../src/core/projector.hpp" #include "../src/utility/importer.hpp" #include "../src/core/export.hpp" #include "../src/core/composite_fe.hpp" #include "../src/core/composite_fes.hpp" #include "../src/core/fes.hpp" double f(const double* x) { return std::sin(x[0] * M_PI); } void test_restriction_extension...
35.762887
124
0.71548
[ "mesh" ]
d201d5a71e74b6198173d98b7069a24a1677c38c
2,686
cpp
C++
src/graphics/d3d12/d3d12_mesh.cpp
irisengine/iris
0deb12f5d00c67bf0dde1a702344a2cf73925db6
[ "BSL-1.0" ]
85
2021-10-16T14:58:23.000Z
2022-03-26T11:05:37.000Z
src/graphics/d3d12/d3d12_mesh.cpp
MaximumProgrammer/iris
cbc2f571bd8d485cdd04f903dcb867e699314682
[ "BSL-1.0" ]
null
null
null
src/graphics/d3d12/d3d12_mesh.cpp
MaximumProgrammer/iris
cbc2f571bd8d485cdd04f903dcb867e699314682
[ "BSL-1.0" ]
2
2021-10-17T16:57:13.000Z
2021-11-14T19:11:30.000Z
//////////////////////////////////////////////////////////////////////////////// // Distributed under the Boost Software License, Version 1.0. // // (See accompanying file LICENSE or copy at // // https://www.boost.org/LICENSE_1_0.txt) ...
25.826923
96
0.624721
[ "vector" ]
d201f38de9ceb32f46576c9f9d657fc347f1eea6
11,649
cpp
C++
src/RemotePhotoTool/CameraInfoDlg.cpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
16
2015-03-26T02:32:43.000Z
2021-10-18T16:34:31.000Z
src/RemotePhotoTool/CameraInfoDlg.cpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
7
2019-02-21T06:07:09.000Z
2022-01-01T10:00:50.000Z
src/RemotePhotoTool/CameraInfoDlg.cpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
6
2019-05-07T09:21:15.000Z
2021-09-01T06:36:24.000Z
// // RemotePhotoTool - remote camera control software // Copyright (C) 2008-2014 Michael Fink // /// \file CameraInfoDlg.cpp Camera info dialog // // includes #include "StdAfx.h" #include "resource.h" #include "CameraInfoDlg.hpp" #include "Instance.hpp" #include "CameraException.hpp" #include "SourceDevice.hpp" #incl...
33.378223
134
0.638166
[ "vector", "model" ]