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
c09099fd177d51559c83295140b92428345add6f
1,504
cc
C++
pthread/mutex/mutex.cc
uslsteen/parallel_prog
893d73869e851b59c5503d3bbd9a668230c56ada
[ "MIT" ]
null
null
null
pthread/mutex/mutex.cc
uslsteen/parallel_prog
893d73869e851b59c5503d3bbd9a668230c56ada
[ "MIT" ]
null
null
null
pthread/mutex/mutex.cc
uslsteen/parallel_prog
893d73869e851b59c5503d3bbd9a668230c56ada
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <string> #include <pthread.h> #include <vector> void *thr_mut(void *arg); inline void usage(char* exec_path) { std::cout << "USAGE: " << exec_path << " <nthreads>" << std::endl; } inline void check_err(int err_code) { if (!err_code) return; ...
25.066667
93
0.599734
[ "vector" ]
6a4fa8706d25f25816d69c2a0b7f1afe60848ef8
4,603
cpp
C++
automated-tests/src/dali-adaptor/utc-Dali-GifLoading.cpp
vcebollada/dali-adaptor
5f12750f484173a344eb23a569d398e4532ffcad
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
automated-tests/src/dali-adaptor/utc-Dali-GifLoading.cpp
vcebollada/dali-adaptor
5f12750f484173a344eb23a569d398e4532ffcad
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
automated-tests/src/dali-adaptor/utc-Dali-GifLoading.cpp
vcebollada/dali-adaptor
5f12750f484173a344eb23a569d398e4532ffcad
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
34.350746
130
0.747339
[ "vector" ]
6a51639f21059189431acc2983d4d18df008eea7
10,025
cpp
C++
ANode/test/TestRepeatWithTimeDependencies.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
ANode/test/TestRepeatWithTimeDependencies.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
ANode/test/TestRepeatWithTimeDependencies.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // Name : // Author : Avi // Revision : $Revision: #14 $ // // Copyright 2009- ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/...
43.969298
210
0.599002
[ "vector" ]
6a51692448f86c080c8d5dd4564c8b9bc0378de7
9,669
hpp
C++
libraries/wallet/include/bts/wallet/wallet_impl.hpp
larkx/LarkX
8e803d16f31431e8389e772d0e6aab0d474bc9ca
[ "Zlib", "Unlicense", "BSD-2-Clause", "MIT", "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libraries/wallet/include/bts/wallet/wallet_impl.hpp
larkx/LarkX
8e803d16f31431e8389e772d0e6aab0d474bc9ca
[ "Zlib", "Unlicense", "BSD-2-Clause", "MIT", "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libraries/wallet/include/bts/wallet/wallet_impl.hpp
larkx/LarkX
8e803d16f31431e8389e772d0e6aab0d474bc9ca
[ "Zlib", "Unlicense", "BSD-2-Clause", "MIT", "BSD-3-Clause-Clear", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
#pragma once #include <bts/wallet/wallet_db.hpp> #include <bts/blockchain/account_operations.hpp> #include <bts/blockchain/asset_operations.hpp> #include <bts/blockchain/balance_operations.hpp> #include <bts/blockchain/market_operations.hpp> namespace bts { namespace wallet { namespace detail { class wallet_impl : ...
50.623037
165
0.596959
[ "vector" ]
6a55958efa0884513e6803e93d26aaf03d8ca9fd
507
cpp
C++
topics/graphs/graph/graph.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
topics/graphs/graph/graph.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
topics/graphs/graph/graph.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
// // Created by Siddhant on 2019-11-22. // #include "graph.h" #include "iostream" #include "vector" #include "string" #include "list" using namespace std; int main() { graph<int> g(2, 1); g.addEdge(0, 1); // g.addEdge(0,1); // g.addEdge(2,2); // g.addEdge(4,0); // g.addEdge(0,1); // g.is...
14.485714
40
0.497041
[ "vector" ]
6a55ebd5c550de9c8bb08cb0d0914f7d3e531cf9
2,039
cpp
C++
src/core/Utils.cpp
k3a/glfk
4646be393248092522619bc5ab98eb7f28616ac5
[ "BSD-3-Clause" ]
null
null
null
src/core/Utils.cpp
k3a/glfk
4646be393248092522619bc5ab98eb7f28616ac5
[ "BSD-3-Clause" ]
null
null
null
src/core/Utils.cpp
k3a/glfk
4646be393248092522619bc5ab98eb7f28616ac5
[ "BSD-3-Clause" ]
null
null
null
/*- Minimalistic and Modular OpenGL C++ Framework GLFK LICENSE (BSD-based) - please see LICENSE.md -*/ #include "Utils.h" #include "Renderer.h" #include <stdio.h> #include <sys/stat.h> #include <stdlib.h> std::string ReadFile(const char* path) { struct stat st; FILE* fp; char* buf; std::string outBuff...
26.141026
100
0.635115
[ "object" ]
6a59c263d5e3f12260f9e74b7ea6f08d8bfb15a0
24,121
cpp
C++
nvcommon/nvModel/src/nvModel.cpp
soundsilence/Tracer
3a71b2afcbd3debc34d601962a80967d8aa1cae0
[ "MIT" ]
null
null
null
nvcommon/nvModel/src/nvModel.cpp
soundsilence/Tracer
3a71b2afcbd3debc34d601962a80967d8aa1cae0
[ "MIT" ]
null
null
null
nvcommon/nvModel/src/nvModel.cpp
soundsilence/Tracer
3a71b2afcbd3debc34d601962a80967d8aa1cae0
[ "MIT" ]
null
null
null
// // nvModel.cpp - Model support class // // The nvModel class implements an interface for a multipurpose model // object. This class is useful for loading and formatting meshes // for use by OpenGL. It can compute face normals, tangents, and // adjacency information. The class supports the obj file format. // // This...
32.640054
155
0.475105
[ "object", "vector", "model" ]
6a5a957c09260e6c64a1aaaa483aa15e1a3f29c1
2,721
cpp
C++
src/scenes/ScenePoseEstimation.cpp
tes2840/DepthProjectionMapping
79288535c975a3f33544d9f444ebd9d8038dec04
[ "Apache-2.0" ]
2
2022-01-08T19:17:32.000Z
2022-03-19T12:38:51.000Z
src/scenes/ScenePoseEstimation.cpp
tes2840/DepthProjectionMapping
79288535c975a3f33544d9f444ebd9d8038dec04
[ "Apache-2.0" ]
null
null
null
src/scenes/ScenePoseEstimation.cpp
tes2840/DepthProjectionMapping
79288535c975a3f33544d9f444ebd9d8038dec04
[ "Apache-2.0" ]
null
null
null
#include "ScenePoseEstimation.h" /** * @brief initialize variables * @return void */ void ScenePoseEstimation::setup() { m_pDepth = getSharedData().pDepth; m_marker.setCameraParams(getSharedData().camMatrix, getSharedData().distCoeffs); } /** * @brief update scene's parameters * @detail estimate pose of t...
28.642105
102
0.6957
[ "vector", "transform" ]
6a5f91fbfb808137b339fefda1e0a5203a89e6b2
10,659
cpp
C++
src/AstProgram.cpp
dwuid/souffle
44413880c8928bb714aaba62792934b10eb20719
[ "UPL-1.0" ]
2
2021-04-29T16:34:06.000Z
2021-12-04T08:31:30.000Z
src/AstProgram.cpp
dwuid/souffle
44413880c8928bb714aaba62792934b10eb20719
[ "UPL-1.0" ]
1
2019-11-20T22:48:09.000Z
2019-11-20T22:48:09.000Z
src/AstProgram.cpp
dwuid/souffle
44413880c8928bb714aaba62792934b10eb20719
[ "UPL-1.0" ]
1
2021-07-27T07:49:45.000Z
2021-07-27T07:49:45.000Z
/* * Souffle - A Datalog Compiler * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /********************************************...
29.282967
108
0.591237
[ "vector" ]
6a5fd68967546f8d52007146a0db7b63cfa61e1c
965
cc
C++
SimG4Core/PhysicsLists/src/EmParticleList.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-08-09T08:42:11.000Z
2019-08-09T08:42:11.000Z
SimG4Core/PhysicsLists/src/EmParticleList.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
SimG4Core/PhysicsLists/src/EmParticleList.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-03-19T13:44:54.000Z
2019-03-19T13:44:54.000Z
#include "SimG4Core/PhysicsLists/interface/EmParticleList.h" EmParticleList::EmParticleList() { pNames = { "gamma", "e-", "e+", "mu+", "mu-", "pi+", "pi-", "kaon+", "kaon-", "proton", "anti_proton", "alpha", ...
35.740741
80
0.445596
[ "vector" ]
6a60c016c6082076b06fc326e1b6b0c3b30c29b9
47,410
cpp
C++
RPNcalc.cpp
frymonkey237/RPNcalc
cf1c50d87e3cc3331fc4de9aa310679ed0c1cb54
[ "MIT" ]
1
2018-12-22T07:47:46.000Z
2018-12-22T07:47:46.000Z
RPNcalc.cpp
frymonkey237/RPNcalc
cf1c50d87e3cc3331fc4de9aa310679ed0c1cb54
[ "MIT" ]
null
null
null
RPNcalc.cpp
frymonkey237/RPNcalc
cf1c50d87e3cc3331fc4de9aa310679ed0c1cb54
[ "MIT" ]
null
null
null
/* TO DO * > TO DO: * > remove the extra indent on the to do list. * > switch over to the "> Subject:" format which seems like it would more * easily translate into program documentation. In addition, try to write * notes in such a way that they will easily translate into * docum...
44.810964
91
0.548492
[ "vector" ]
6a698321820d4e8a72477dd919282799175f08e6
32,493
cpp
C++
src/wallet/rpcdump.cpp
ComputerCraftr/devault
546b54df85e3392f85e7ea5fcd4ea9b395ba8f4c
[ "MIT" ]
null
null
null
src/wallet/rpcdump.cpp
ComputerCraftr/devault
546b54df85e3392f85e7ea5fcd4ea9b395ba8f4c
[ "MIT" ]
null
null
null
src/wallet/rpcdump.cpp
ComputerCraftr/devault
546b54df85e3392f85e7ea5fcd4ea9b395ba8f4c
[ "MIT" ]
null
null
null
// Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2019 DeVault developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <cashaddrenc.h> #include <chain.h> #include <chainparams.h> #include <confi...
39.673993
120
0.579017
[ "object", "vector" ]
6a6b2d57cf41403f8b55556619a2188bc247ee08
1,419
cpp
C++
LeetCode/LeetCode/main.cpp
yulingtianxia/leetcode
aee9af7e49bcba2cb473216fc564987612165d39
[ "MIT" ]
null
null
null
LeetCode/LeetCode/main.cpp
yulingtianxia/leetcode
aee9af7e49bcba2cb473216fc564987612165d39
[ "MIT" ]
null
null
null
LeetCode/LeetCode/main.cpp
yulingtianxia/leetcode
aee9af7e49bcba2cb473216fc564987612165d39
[ "MIT" ]
null
null
null
// // main.cpp // LeetCode // // Created by 杨萧玉 on 14/11/27. // Copyright (c) 2014年 杨萧玉. All rights reserved. // #include <iostream> #include <vector> #include <algorithm> #include <map> #include <array> #include <stack> #include <queue> #include <set> #include <math.h> #include <stdlib.h> #include <sstream> #incl...
18.92
69
0.596899
[ "vector" ]
6a6e3c894a4740dc07cf81c85074cdb9cc1fd36e
2,597
cpp
C++
2_DesignPattern/DesignPatterns/codes/2_BehavioralPatterns/State/demo.cpp
XingxinHE/SoftwareDevelopment
64ef9ede17999231bb50fe41980102db382addef
[ "MIT" ]
null
null
null
2_DesignPattern/DesignPatterns/codes/2_BehavioralPatterns/State/demo.cpp
XingxinHE/SoftwareDevelopment
64ef9ede17999231bb50fe41980102db382addef
[ "MIT" ]
null
null
null
2_DesignPattern/DesignPatterns/codes/2_BehavioralPatterns/State/demo.cpp
XingxinHE/SoftwareDevelopment
64ef9ede17999231bb50fe41980102db382addef
[ "MIT" ]
null
null
null
#include <iostream> #include <typeinfo> /** * The base State class declares methods that all Concrete State should * implement and also provides a backreference to the Context object, associated * with the State. This backreference can be used by States to transition the * Context to another State. */ class Conte...
21.823529
80
0.661533
[ "object" ]
6a750cd1709c3fd2ef7cfb402b78b86e4afd87b6
787
cpp
C++
Game/Event/EventMessage/WorldObjectRemoveEvent.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
Game/Event/EventMessage/WorldObjectRemoveEvent.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
Game/Event/EventMessage/WorldObjectRemoveEvent.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // WorldObjectRemoveEvent.cpp // Implementation of the Class WorldObjectRemoveEvent // Created on: 16-Apr-2008 23:56:24 // Original author: Lukas Kalinski /////////////////////////////////////////////////////////// #include "WorldObjectRemoveE...
23.848485
79
0.593393
[ "object" ]
6a793c49f5bcd77a6976fad9270f343d8b07a887
4,046
cc
C++
src/theia/sfm/find_common_tracks_in_views_test.cc
maxchernet/TheiaSfM
603f3ad8bfea1e54fe23fa553f268760a9c9276c
[ "BSD-3-Clause" ]
770
2015-02-12T14:32:01.000Z
2022-03-16T00:54:33.000Z
src/theia/sfm/find_common_tracks_in_views_test.cc
maxchernet/TheiaSfM
603f3ad8bfea1e54fe23fa553f268760a9c9276c
[ "BSD-3-Clause" ]
237
2015-02-20T18:50:16.000Z
2022-01-18T05:21:48.000Z
src/theia/sfm/find_common_tracks_in_views_test.cc
maxchernet/TheiaSfM
603f3ad8bfea1e54fe23fa553f268760a9c9276c
[ "BSD-3-Clause" ]
278
2015-02-12T06:20:26.000Z
2022-03-23T17:25:21.000Z
// Copyright (C) 2015 The Regents of the University of California (Regents). // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above...
42.145833
78
0.681167
[ "vector" ]
6a847f670bb6807be48729f8827680337909f76d
2,783
hpp
C++
src/stan/lang/grammars/indexes_grammar.hpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
1
2019-07-05T01:40:40.000Z
2019-07-05T01:40:40.000Z
src/stan/lang/grammars/indexes_grammar.hpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
null
null
null
src/stan/lang/grammars/indexes_grammar.hpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
1
2018-08-28T12:09:08.000Z
2018-08-28T12:09:08.000Z
#ifndef STAN_LANG_GRAMMARS_INDEXES_GRAMMAR_HPP #define STAN_LANG_GRAMMARS_INDEXES_GRAMMAR_HPP #include <stan/lang/ast.hpp> #include <stan/lang/grammars/expression_grammar.hpp> #include <stan/lang/grammars/semantic_actions.hpp> #include <stan/lang/grammars/whitespace_grammar.hpp> #include <boost/spirit/include/qi.hpp> ...
30.922222
74
0.53719
[ "vector" ]
6a8636dfaac43802fa5ed9c2ea0de74ad43e8a26
10,139
cc
C++
onnxruntime/contrib_ops/cpu/quantization/dynamic_quantize_lstm.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
5
2021-02-20T04:53:48.000Z
2021-03-09T19:29:27.000Z
onnxruntime/contrib_ops/cpu/quantization/dynamic_quantize_lstm.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
5
2021-03-01T21:35:50.000Z
2022-03-09T05:38:38.000Z
onnxruntime/contrib_ops/cpu/quantization/dynamic_quantize_lstm.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
2
2021-01-29T09:36:51.000Z
2021-02-01T13:42:40.000Z
#include "core/providers/cpu/rnn/lstm_base.h" #include "core/providers/cpu/rnn/rnn_helpers.h" #include "core/providers/cpu/rnn/uni_directional_lstm.h" namespace onnxruntime { namespace contrib { using namespace rnn::detail; class DynamicQuantizeLSTM : public OpKernel, public LSTMBase { public: DynamicQuantizeLSTM...
49.945813
141
0.551336
[ "shape" ]
6a89617981348484498dd42f898e5911e3369933
1,839
cpp
C++
source/plc/src/document/STATEMENT.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/src/document/STATEMENT.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/src/document/STATEMENT.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
// This file was generated using Parlex's cpp_generator #include "STATEMENT.hpp" #include "plange_grammar.hpp" #include "parlex/detail/document.hpp" #include "ASSIGNMENT_CHAIN.hpp" #include "BREAK.hpp" #include "CONTINUE.hpp" #include "DEFINITION.hpp" #include "DO.hpp" #include "EXPRESSION.hpp" #include "FOR.hpp" #...
28.734375
154
0.717781
[ "vector" ]
6a8a854044a7df077f13df0bd0d380120d4d0647
7,926
cpp
C++
sources/enduro2d/high/world.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
null
null
null
sources/enduro2d/high/world.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
null
null
null
sources/enduro2d/high/world.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
null
null
null
/******************************************************************************* * This file is part of the "Enduro2D" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2018-2020, by Matvey Cherevko (blackmatov@gmail.com) ***************************************************...
30.367816
101
0.551981
[ "transform" ]
6a8acc0770a1bca051d598ba8f478aa8b7994202
2,506
hpp
C++
inference-engine/thirdparty/clDNN/api/mutable_data.hpp
JOCh1958/openvino
070201feeec5550b7cf8ec5a0ffd72dc879750be
[ "Apache-2.0" ]
1
2022-02-10T08:05:09.000Z
2022-02-10T08:05:09.000Z
inference-engine/thirdparty/clDNN/api/mutable_data.hpp
JOCh1958/openvino
070201feeec5550b7cf8ec5a0ffd72dc879750be
[ "Apache-2.0" ]
40
2020-12-04T07:46:57.000Z
2022-02-21T13:04:40.000Z
inference-engine/thirdparty/clDNN/api/mutable_data.hpp
JOCh1958/openvino
070201feeec5550b7cf8ec5a0ffd72dc879750be
[ "Apache-2.0" ]
1
2021-08-18T14:29:37.000Z
2021-08-18T14:29:37.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #pragma once #include "primitive.hpp" #include "memory.hpp" #include <vector> namespace cldnn { /// @addtogroup cpp_api C++ API ///...
41.766667
156
0.666002
[ "object", "vector" ]
6a8cb6fc641a3f8d52bf8b1a4782327ccbf4d3f8
11,909
cpp
C++
src/gct/generate_blas.cpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
1
2022-03-03T09:27:09.000Z
2022-03-03T09:27:09.000Z
src/gct/generate_blas.cpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
1
2021-12-02T03:45:45.000Z
2021-12-03T23:44:37.000Z
src/gct/generate_blas.cpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_set> #include <nlohmann/json.hpp> #include <glm/ext/matrix_transform.hpp> #include <glm/ext/matrix_clip_space.hpp> #include <glm/gtx/string_cast.hpp> #include <gct/get_extensions.hpp> #include <gct/instance.hpp> #include <gct/queue.hpp> #include <gct/device.hpp> #include <gct/all...
34.518841
136
0.601058
[ "mesh", "vector" ]
6a8e87fb81c74bfe72135be6ce3c31834214bfa5
496
cpp
C++
IO/FILE_READERS/test_punreader.cpp
gitter-badger/QC_Tools
5ce3ec665d5a11c93257309b016f5a5458709005
[ "MIT" ]
null
null
null
IO/FILE_READERS/test_punreader.cpp
gitter-badger/QC_Tools
5ce3ec665d5a11c93257309b016f5a5458709005
[ "MIT" ]
null
null
null
IO/FILE_READERS/test_punreader.cpp
gitter-badger/QC_Tools
5ce3ec665d5a11c93257309b016f5a5458709005
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <cassert> #include "punreader.hpp" using namespace std; int main(void){ cerr << "Testing: PunReader Constructor" << endl; { PunReader pr("file.pun"); } cerr << "Testing: PunReader read" << endl; { PunReader pr("../../GAUSSIANFILES...
17.714286
65
0.620968
[ "vector" ]
6a93a140a472724b2682e220bf65f8db9107b635
16,198
cpp
C++
src/engine/core/menu/ControlSettings.cpp
gerstrong/Commander-Genius
7afb8701aba1c370d54af8c93372e9849fd6efe1
[ "X11" ]
137
2015-01-01T21:04:51.000Z
2022-03-30T01:41:10.000Z
src/engine/core/menu/ControlSettings.cpp
gerstrong/Commander-Genius
7afb8701aba1c370d54af8c93372e9849fd6efe1
[ "X11" ]
154
2015-01-01T16:34:39.000Z
2022-01-28T14:14:45.000Z
src/engine/core/menu/ControlSettings.cpp
gerstrong/Commander-Genius
7afb8701aba1c370d54af8c93372e9849fd6efe1
[ "X11" ]
35
2015-03-24T02:20:54.000Z
2021-05-13T11:44:22.000Z
/* * CControlsettings.cpp * * Created on: 28.11.2009 * Author: gerstrong */ #include "fileio/CConfiguration.h" #include <base/utils/StringUtils.h> #include "SelectionMenu.h" #include "ControlSettings.h" #include "engine/core/CBehaviorEngine.h" #include <base/CInput.h> #include "widgets/InputText.h" #in...
29.397459
88
0.498086
[ "vector" ]
6a967ad5fc68c0ea4c8705c82fb5a24b526e5077
13,133
cpp
C++
src/mongo/db/storage/heap1/heap1_database_catalog_entry.cpp
baiyanghese/mongo
89fcbab94c7103105e8c72f654a5774a066bdb90
[ "Apache-2.0" ]
1
2015-11-06T05:42:37.000Z
2015-11-06T05:42:37.000Z
src/mongo/db/storage/heap1/heap1_database_catalog_entry.cpp
baiyanghese/mongo
89fcbab94c7103105e8c72f654a5774a066bdb90
[ "Apache-2.0" ]
null
null
null
src/mongo/db/storage/heap1/heap1_database_catalog_entry.cpp
baiyanghese/mongo
89fcbab94c7103105e8c72f654a5774a066bdb90
[ "Apache-2.0" ]
null
null
null
// heap1_database_catalog_entry.cpp /** * Copyright (C) 2014 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in...
42.228296
106
0.572603
[ "vector" ]
6a987624bdb612f02981bb1ae6e7c068c5be1e37
11,111
cc
C++
tensorflow/core/tfrt/eager/function_cache_test.cc
mcx/tensorflow
d7e521a1ad21681855b439b9c2a05837c804e488
[ "Apache-2.0" ]
1
2022-03-18T17:36:11.000Z
2022-03-18T17:36:11.000Z
tensorflow/core/tfrt/eager/function_cache_test.cc
mcx/tensorflow
d7e521a1ad21681855b439b9c2a05837c804e488
[ "Apache-2.0" ]
null
null
null
tensorflow/core/tfrt/eager/function_cache_test.cc
mcx/tensorflow
d7e521a1ad21681855b439b9c2a05837c804e488
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
38.446367
80
0.717937
[ "shape", "vector", "model" ]
6aa4c65ac6d4e0b12b756677e939d88e3d6e4034
425
cpp
C++
BOJ_problem/10804.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
BOJ_problem/10804.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
BOJ_problem/10804.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<vector> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); vector<int> a(21); for (int i = 0; i < 21; i++) a[i] = i; int num1, num2; for (int i = 0; i < 10; i++) { cin >> num1 >> num2; reverse(a.begin() + num1...
17.708333
50
0.56
[ "vector" ]
6aaf134087010d457d9af0035a6b8cb51184dc5e
31,473
cc
C++
lib/lang/ast.cc
daadaada/triton
e5248b655b237f26b8134b9cad08de41fb885fb1
[ "MIT" ]
null
null
null
lib/lang/ast.cc
daadaada/triton
e5248b655b237f26b8134b9cad08de41fb885fb1
[ "MIT" ]
null
null
null
lib/lang/ast.cc
daadaada/triton
e5248b655b237f26b8134b9cad08de41fb885fb1
[ "MIT" ]
null
null
null
#include "triton/lang/ast.h" #include "triton/lang/error.h" #include "triton/lang/evaluator.h" #include "triton/lang/mem_pool.h" #include "triton/lang/parser.h" #include "triton/lang/token.h" static MemPoolImp<BinaryOp> binaryOpPool; static MemPoolImp<TransOp> transOpPool; static MemPoolImp<Condition...
28.252244
90
0.645982
[ "object", "shape", "vector" ]
6ab520d8b5c07c3f3c0eddcc807b8386f068b1be
1,383
hpp
C++
libautom8/include/autom8/device/x10/cm15a/cm15a_device_system.hpp
clangen/autom8
69db4176fecd133fc352a95176dbc812d43e128f
[ "Artistic-2.0", "Apache-2.0", "BSD-3-Clause" ]
3
2019-03-02T03:48:28.000Z
2022-03-28T10:54:54.000Z
libautom8/include/autom8/device/x10/cm15a/cm15a_device_system.hpp
clangen/autom8
69db4176fecd133fc352a95176dbc812d43e128f
[ "Artistic-2.0", "Apache-2.0", "BSD-3-Clause" ]
1
2020-07-15T21:42:11.000Z
2020-07-15T21:42:11.000Z
libautom8/include/autom8/device/x10/cm15a/cm15a_device_system.hpp
clangen/autom8
69db4176fecd133fc352a95176dbc812d43e128f
[ "Artistic-2.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#ifndef __C_AUTOM8_CM15A_DEVICE_SYSTEM_HPP__ #define __C_AUTOM8_CM15A_DEVICE_SYSTEM_HPP__ #include <windows.h> #include <boost/shared_ptr.hpp> #include <autom8/util/signal_handler.hpp> #include <autom8/device/device_model.hpp> #include <autom8/device/x10/x10_device_system.hpp> #include <autom8/device/x10/x10_d...
35.461538
97
0.711497
[ "model" ]
6ab830fa280aa0eceacb48d417d762ba8e7eef17
12,744
cpp
C++
modules/aruco/perf/perf_aruco.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
modules/aruco/perf/perf_aruco.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
modules/aruco/perf/perf_aruco.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
// 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 #include "perf_precomp.hpp" namespace opencv_test { using namespace perf; typedef tuple<bool, int> UseArucoParams; typedef Te...
42.765101
126
0.645559
[ "vector" ]
6ac0fd844f1e0b5cd78b02f3ea6a4a869267eb7c
20,469
cc
C++
src/nbt/chunk.cc
kofuk/pixel-terrain
f39e2a0120aab5a11311f57cfd1ab46efa65fddd
[ "MIT" ]
2
2020-10-16T08:46:45.000Z
2020-11-04T02:19:19.000Z
src/nbt/chunk.cc
kofuk/pixel-terrain
f39e2a0120aab5a11311f57cfd1ab46efa65fddd
[ "MIT" ]
null
null
null
src/nbt/chunk.cc
kofuk/pixel-terrain
f39e2a0120aab5a11311f57cfd1ab46efa65fddd
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT /* Class to access chunk data structure. This implementation based on matcool/anvil-parser with performance tuning and biome support. */ #include <cmath> #include <cstdint> #include <exception> #include <memory> #include <stdexcept> #include <string> #include <vector> #include "...
35.536458
80
0.47462
[ "vector" ]
6ac332eec69ab1f45a6b2a5f54fc12a35ff165f6
7,528
cpp
C++
assets/objects/robots/Sumobot.cpp
artfulbytes/sumobot_simulator
f2784d2ff506759019d7d5e840bd7aed591a0add
[ "MIT" ]
null
null
null
assets/objects/robots/Sumobot.cpp
artfulbytes/sumobot_simulator
f2784d2ff506759019d7d5e840bd7aed591a0add
[ "MIT" ]
null
null
null
assets/objects/robots/Sumobot.cpp
artfulbytes/sumobot_simulator
f2784d2ff506759019d7d5e840bd7aed591a0add
[ "MIT" ]
null
null
null
#include "robots/Sumobot.h" #include <iostream> namespace { const std::unordered_map<Sumobot::Blueprint, Sumobot::Specification> sumobotBlueprints ({ { Sumobot::Blueprint::FourWheel, { 0.07f, 0.1f, /* Body width, length */ 0.42f, /* Body mass */ 0.015f, 0.03f,...
47.345912
98
0.488177
[ "shape" ]
6ac56e48138e2b0323be8018247893172885b484
2,934
hpp
C++
src/NumericalAlgorithms/Interpolation/AddTemporalIdsToInterpolationTarget.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/NumericalAlgorithms/Interpolation/AddTemporalIdsToInterpolationTarget.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/NumericalAlgorithms/Interpolation/AddTemporalIdsToInterpolationTarget.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <algorithm> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/DataBox/DataBoxTag.hpp" #include "DataStructures/Variables.hpp" #include "Domain/Tags.hpp" #include "NumericalAlgorithms/Interpolation/Tags.hp...
38.103896
80
0.630539
[ "vector" ]
6ac5ba176208bdf6ec8573bbc4946adcf184ebb7
4,775
hpp
C++
ClassData.hpp
KawakamiYuta/cpp2uml
8e8a5cda18095cbb1d5c36e340f873c8579f87f0
[ "MIT" ]
3
2019-04-05T18:40:05.000Z
2021-03-08T10:51:18.000Z
ClassData.hpp
KawakamiYuta/cpp2uml
8e8a5cda18095cbb1d5c36e340f873c8579f87f0
[ "MIT" ]
1
2020-08-26T02:21:25.000Z
2020-08-26T02:21:25.000Z
ClassData.hpp
KawakamiYuta/cpp2uml
8e8a5cda18095cbb1d5c36e340f873c8579f87f0
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2017 Yuta Kawakami. * * 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 us...
31.20915
106
0.662827
[ "vector" ]
6ad3e9d5844abdd357db855a93a5a12c38e9a085
2,591
cpp
C++
logdevice/server/RealTimeRecordBuffer.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
1,831
2018-09-12T15:41:52.000Z
2022-01-05T02:38:03.000Z
logdevice/server/RealTimeRecordBuffer.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
183
2018-09-12T16:14:59.000Z
2021-12-07T15:49:43.000Z
logdevice/server/RealTimeRecordBuffer.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
228
2018-09-12T15:41:51.000Z
2022-01-05T08:12:09.000Z
/** * Copyright (c) 2018-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "logdevice/server/RealTimeRecordBuffer.h" #include <folly/Format.h> #include...
30.845238
79
0.701274
[ "object" ]
6ad8bc2e2cb4bd11bdcf804e4c13d85e033083c5
1,456
hh
C++
src/pks/shallow_water/ShallowWaterBoundaryFunction.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/shallow_water/ShallowWaterBoundaryFunction.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/shallow_water/ShallowWaterBoundaryFunction.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Shallow water PK Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Svetlana Tokareva (tokareva@lanl.gov) */ #ifndef AMANZI_SHAL...
25.54386
68
0.736951
[ "mesh", "vector" ]
6ae506ebb5a039dacba89950a8640f56b90f23d7
2,361
cpp
C++
tools/Vitis-AI-Runtime/VART/vart/util/test/test_thread_pool.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
1
2022-02-17T22:13:23.000Z
2022-02-17T22:13:23.000Z
tools/Vitis-AI-Runtime/VART/vart/util/test/test_thread_pool.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
tools/Vitis-AI-Runtime/VART/vart/util/test/test_thread_pool.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
28.445783
75
0.59424
[ "vector" ]
6ae5bff43cffd0e60bfa2b85d75ca723b89bdd6a
5,811
cpp
C++
qt-creator-4.14/src/libs/utils/settingsselector.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
1
2021-12-28T23:27:04.000Z
2021-12-28T23:27:04.000Z
qt-creator-4.14/src/libs/utils/settingsselector.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
null
null
null
qt-creator-4.14/src/libs/utils/settingsselector.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
1
2021-12-29T11:25:37.000Z
2021-12-29T11:25:37.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
32.283333
102
0.673894
[ "model" ]
6aecfb9a8e6198e121bddc2272fba0193e5de901
5,314
hpp
C++
src/applicationui.hpp
spinclick/ViBrowserBB10
32a86d442d9482baed052ce900e5cdd6aa51cafa
[ "Unlicense" ]
1
2020-03-15T08:20:40.000Z
2020-03-15T08:20:40.000Z
src/applicationui.hpp
spinclick/ViBrowserBB10
32a86d442d9482baed052ce900e5cdd6aa51cafa
[ "Unlicense" ]
1
2021-08-03T12:11:57.000Z
2021-08-03T12:11:57.000Z
src/applicationui.hpp
BerryTrucks/ViBrowserBB10
8d7270d05475109bf82e00e07f6cb8a466fe9be4
[ "Unlicense" ]
2
2019-02-15T19:39:57.000Z
2021-08-03T12:05:02.000Z
/* * Copyright (c) 2011-2015 BlackBerry Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
28.265957
108
0.722808
[ "object" ]
6af42c52476f5adbbda371816108b2ea7893586b
1,028
cpp
C++
vox.geometry/point_generators/grid_point_generator2.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
28
2021-11-23T11:52:55.000Z
2022-03-04T01:48:52.000Z
vox.geometry/point_generators/grid_point_generator2.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
null
null
null
vox.geometry/point_generators/grid_point_generator2.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
3
2022-01-02T12:23:04.000Z
2022-01-07T04:21:26.000Z
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "grid_point_generator2.h" #include "../common.h" namespace vox { namespace geometry { void Gr...
29.371429
101
0.654669
[ "geometry" ]
6af6198ed350d516df37751ee2a0e0ee87412333
764
cpp
C++
leetcode/1429. First Unique Number/s1.cpp
joycse06/LeetCode-1
ad105bd8c5de4a659c2bbe6b19f400b926c82d93
[ "Fair" ]
1
2021-02-11T01:23:10.000Z
2021-02-11T01:23:10.000Z
leetcode/1429. First Unique Number/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
1
2021-08-08T18:44:24.000Z
2021-08-08T18:44:24.000Z
leetcode/1429. First Unique Number/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
1
2021-03-25T17:11:14.000Z
2021-03-25T17:11:14.000Z
// OJ: https://leetcode.com/problems/first-unique-number/ // Author: github.com/lzl124631x // Time: // FirstUnique: O(N) // showFirstUnique: O(1) // add: O(1) // Space: O(N) class FirstUnique { list<int> data; typedef list<int>::iterator iter; unordered_map<int, iter> m; unordered_set<int> s; p...
23.151515
57
0.530105
[ "vector" ]
6afe038efceafd0d5650ebf462de866554fa0353
15,470
cc
C++
addons/geometry/tests/numericalTestFunctions.cc
Dangzilla/rbdl-casadi
3f4e8c4eae8a1053a1c123980746022e46770811
[ "Zlib" ]
258
2019-09-17T02:24:30.000Z
2022-03-29T07:38:47.000Z
addons/geometry/tests/numericalTestFunctions.cc
Dangzilla/rbdl-casadi
3f4e8c4eae8a1053a1c123980746022e46770811
[ "Zlib" ]
43
2019-11-11T14:04:39.000Z
2022-03-25T09:22:40.000Z
addons/geometry/tests/numericalTestFunctions.cc
Dangzilla/rbdl-casadi
3f4e8c4eae8a1053a1c123980746022e46770811
[ "Zlib" ]
101
2019-09-30T00:44:53.000Z
2022-03-26T11:19:36.000Z
/* -------------------------------------------------------------------------- * * OpenSim: testSmoothSegmentedFunctionFactory.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. ...
28.915888
81
0.529282
[ "geometry", "model" ]
139360c5bcdff09c387927b4338946cfbb039bb8
46,944
cpp
C++
level_zero/core/test/unit_tests/sources/cmdqueue/test_cmdqueue_2.cpp
WeixiZhu94/intel-opencl-runtime
9ff1307b4b665a52d59c3d37c9c29e6952d32c93
[ "Intel", "MIT" ]
null
null
null
level_zero/core/test/unit_tests/sources/cmdqueue/test_cmdqueue_2.cpp
WeixiZhu94/intel-opencl-runtime
9ff1307b4b665a52d59c3d37c9c29e6952d32c93
[ "Intel", "MIT" ]
null
null
null
level_zero/core/test/unit_tests/sources/cmdqueue/test_cmdqueue_2.cpp
WeixiZhu94/intel-opencl-runtime
9ff1307b4b665a52d59c3d37c9c29e6952d32c93
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2021-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/command_stream/scratch_space_controller_xehp_and_later.h" #include "shared/test/common/cmd_parse/gen_cmd_parse.h" #include "shared/test/common/libult/ult_command_stream_receiver.h" #include "shared/test/co...
50.153846
188
0.67998
[ "vector" ]
1395b676332e3860b9545720afeddd7e73c375c6
493
hpp
C++
cpp/src/samchon/templates/external/base/ExternalSystemBase.hpp
wydingez/truck-packer
c59d2ec322b08ac9ba773616a886a575d2af6461
[ "BSD-3-Clause" ]
111
2016-04-08T14:10:15.000Z
2020-12-21T12:25:10.000Z
cpp/src/samchon/templates/external/base/ExternalSystemBase.hpp
wydingez/truck-packer
c59d2ec322b08ac9ba773616a886a575d2af6461
[ "BSD-3-Clause" ]
16
2016-05-27T05:41:56.000Z
2020-06-23T14:55:00.000Z
cpp/src/samchon/templates/external/base/ExternalSystemBase.hpp
wydingez/truck-packer
c59d2ec322b08ac9ba773616a886a575d2af6461
[ "BSD-3-Clause" ]
49
2016-10-27T09:45:35.000Z
2020-12-21T12:25:13.000Z
#pragma once #include <samchon/API.hpp> #include <samchon/templates/external/base/ExternalSystemArrayBase.hpp> namespace samchon { namespace templates { namespace external { namespace base { class ExternalSystemBase { protected: ExternalSystemArrayBase *system_array_; public: /** * Get parent {@link Exter...
15.40625
70
0.726166
[ "object" ]
13989c352eff6e9fcea40e5116cab66c45e2af51
15,302
cpp
C++
third_party/skia_m63/third_party/externals/angle2/src/tests/gl_tests/ClearTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
third_party/skia_m63/third_party/externals/angle2/src/tests/gl_tests/ClearTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
third_party/skia_m63/third_party/externals/angle2/src/tests/gl_tests/ClearTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
// // Copyright 2015 The ANGLE 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 "test_utils/ANGLETest.h" #include "random_utils.h" using namespace angle; namespace { Vector4 RandomVec4(int seed, float minValue,...
31.94572
125
0.663639
[ "render", "vector", "solid" ]
13a0c130030cae2dd3a6a4eed2c95757d7ebf053
27,138
cc
C++
src/vnsw/agent/services/dhcp_handler_base.cc
zhongyangni/controller
439032d46767dd033ba55c1e5c34e7f2213da8b3
[ "Apache-2.0" ]
1
2019-01-11T06:16:10.000Z
2019-01-11T06:16:10.000Z
src/vnsw/agent/services/dhcp_handler_base.cc
zhongyangni/controller
439032d46767dd033ba55c1e5c34e7f2213da8b3
[ "Apache-2.0" ]
null
null
null
src/vnsw/agent/services/dhcp_handler_base.cc
zhongyangni/controller
439032d46767dd033ba55c1e5c34e7f2213da8b3
[ "Apache-2.0" ]
1
2020-06-08T11:50:36.000Z
2020-06-08T11:50:36.000Z
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <stdint.h> #include "vr_defs.h" #include "cmn/agent_cmn.h" #include "pkt/pkt_init.h" #include "oper/vn.h" #include "services/dhcp_proto.h" #include "services/dhcpv6_proto.h" #include "services/services_types.h" #include "services/service...
37.07377
83
0.543445
[ "vector" ]
13a1ac41806a41161c236f521025f75ec17f11fd
6,419
cxx
C++
applications/rtkscatterglarecorrection/rtkscatterglarecorrection.cxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
applications/rtkscatterglarecorrection/rtkscatterglarecorrection.cxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
applications/rtkscatterglarecorrection/rtkscatterglarecorrection.cxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= * * Copyright RTK Consortium * * 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.apa...
36.890805
112
0.722698
[ "vector" ]
13a417e2867c2ec3d596a50ae027606f48ae4d59
804
hpp
C++
src/commands/command_dispatcher.hpp
MateuszMyalski/socket-terminal
1eb06ee93b5063334690fbdd73ee21ec4552666e
[ "MIT" ]
null
null
null
src/commands/command_dispatcher.hpp
MateuszMyalski/socket-terminal
1eb06ee93b5063334690fbdd73ee21ec4552666e
[ "MIT" ]
null
null
null
src/commands/command_dispatcher.hpp
MateuszMyalski/socket-terminal
1eb06ee93b5063334690fbdd73ee21ec4552666e
[ "MIT" ]
null
null
null
#ifndef COMMANDS_COMMAND_DISPATCHER_HPP #define COMMANDS_COMMAND_DISPATCHER_HPP #include <map> #include <string> #include <vector> #include "command.hpp" namespace Commands { constexpr char escape_char = '\\'; class CommandDispatcher { private: CommandsMap registered_cmds; void* ctx; ...
26.8
68
0.664179
[ "vector" ]
13ad158ffded54702cb434a2d2aac3d2844541ef
273
hpp
C++
PlatformerGame/Bullet.hpp
Yoon-SeokJin/PlatformerGame
3ef407df54cfb7419b27971a5738fd571df51073
[ "MIT" ]
null
null
null
PlatformerGame/Bullet.hpp
Yoon-SeokJin/PlatformerGame
3ef407df54cfb7419b27971a5738fd571df51073
[ "MIT" ]
null
null
null
PlatformerGame/Bullet.hpp
Yoon-SeokJin/PlatformerGame
3ef407df54cfb7419b27971a5738fd571df51073
[ "MIT" ]
null
null
null
#pragma once #include "Room.hpp" #include "Vec2.hpp" #include "Block.hpp" class Bullet : public Object { public: Bullet(const Vec2<double>& pos, int rotate); void step() override; private: int bullet_rotate; int life = 10800; Vec2<double> velocity; };
18.2
48
0.673993
[ "object" ]
13ada223dbd53977961f728fc6be2e180ba2c5e6
4,931
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/IfcTextureMap.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
1
2018-10-23T09:43:07.000Z
2018-10-23T09:43:07.000Z
IfcPlusPlus/src/ifcpp/IFC4/IfcTextureMap.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/IfcTextureMap.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
/* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold * * 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 version. The full license is in LICENSE file * in...
42.145299
221
0.726425
[ "vector", "model" ]
13adf961c03b76c38f8c6f28c8f77cdfdc8cd0b3
1,699
cpp
C++
jixun/shuxiangguan/D.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
jixun/shuxiangguan/D.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
jixun/shuxiangguan/D.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define ll long long #define N 200020 #define fs first #define sc second #define mod 1000000007 using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<1)+(x<<3)+ch-'0',ch=getchar(); return f?x:...
23.273973
61
0.528546
[ "vector" ]
13ae017692cc7e892c25661c46f8d525ff895d29
3,520
cpp
C++
camera/gst-camera/gst-camera.cpp
zhangyldanny/gstCamera
13d62d3e7304bb9bd2d70bbe80f6a31a997507b3
[ "MIT" ]
null
null
null
camera/gst-camera/gst-camera.cpp
zhangyldanny/gstCamera
13d62d3e7304bb9bd2d70bbe80f6a31a997507b3
[ "MIT" ]
1
2019-12-23T14:31:45.000Z
2019-12-23T14:31:45.000Z
camera/gst-camera/gst-camera.cpp
zhangyldanny/gstCamera
13d62d3e7304bb9bd2d70bbe80f6a31a997507b3
[ "MIT" ]
null
null
null
/* * inference-101 */ #include "gstCamera.h" #include "glDisplay.h" #include "glTexture.h" #include <stdio.h> #include <signal.h> #include <unistd.h> #include "cudaNormalize.h" bool signal_recieved = false; void sig_handler(int signo) { if( signo == SIGINT ) { printf("received SIGINT\n"); signal_recieved...
21.204819
116
0.63125
[ "render" ]
13b7cc25d57e1870a4d3756e68fd4647854586e1
1,637
cpp
C++
ext/opencollada/fw_meshvertexdata.cpp
Kerilk/opencollada-ruby
539d136dbd456b337822c9ad5173c52c79806071
[ "BSD-2-Clause" ]
1
2020-03-08T11:11:25.000Z
2020-03-08T11:11:25.000Z
ext/opencollada/fw_meshvertexdata.cpp
Kerilk/opencollada-ruby
539d136dbd456b337822c9ad5173c52c79806071
[ "BSD-2-Clause" ]
null
null
null
ext/opencollada/fw_meshvertexdata.cpp
Kerilk/opencollada-ruby
539d136dbd456b337822c9ad5173c52c79806071
[ "BSD-2-Clause" ]
null
null
null
#include "rice/Data_Type.hpp" #include "rice/Constructor.hpp" #include <COLLADAFWMeshVertexData.h> #include "fw_meshvertexdata.hpp" #include "fw_floatordouble.hpp" #include "fw_arrayprimitivetype.hpp" #include "fw.hpp" using namespace Rice; Data_Type<COLLADAFW::MeshVertexData> rb_cCFWMeshVertexData; template<> Objec...
49.606061
201
0.83201
[ "object" ]
13bd6ee2472f9317df95f7cdacf0eb5c5678275b
1,245
cpp
C++
src/fieldplotter/window.test.cpp
jkotrc/Field-Plotter
df38a791cb7d783efa055f24585b387f75cabea6
[ "MIT" ]
3
2020-10-02T10:49:12.000Z
2020-10-12T23:18:08.000Z
src/fieldplotter/window.test.cpp
jkotrc/Field-Plotter
df38a791cb7d783efa055f24585b387f75cabea6
[ "MIT" ]
null
null
null
src/fieldplotter/window.test.cpp
jkotrc/Field-Plotter
df38a791cb7d783efa055f24585b387f75cabea6
[ "MIT" ]
1
2020-10-12T05:32:51.000Z
2020-10-12T05:32:51.000Z
#include "window.h" #include "graphics/renderer.h" #include <gtest/gtest.h> #include <iostream> using namespace fieldplotter; TEST(WindowTest, CreatesSuccessfully) { Window win; ASSERT_NO_THROW(win.show()); } TEST(WindowTest, DimensionsAreCorrect) { Window win(800, 600); ASSERT_EQ(win.getWidth(), 80...
23.942308
51
0.668273
[ "render" ]
13c2b1bbdf1c98c196dd1b9c184106273200ef44
4,194
cpp
C++
Utility/RazorEditArea.cpp
jeremybernstein/sws
7d311a839e0b845ca0edb3b9220af4896b35ff6f
[ "MIT" ]
285
2016-10-16T00:35:58.000Z
2022-03-25T04:46:58.000Z
Utility/RazorEditArea.cpp
jeremybernstein/sws
7d311a839e0b845ca0edb3b9220af4896b35ff6f
[ "MIT" ]
754
2016-09-23T20:32:01.000Z
2022-03-31T10:30:07.000Z
Utility/RazorEditArea.cpp
jeremybernstein/sws
7d311a839e0b845ca0edb3b9220af4896b35ff6f
[ "MIT" ]
77
2017-01-16T16:55:03.000Z
2022-03-10T08:58:21.000Z
/****************************************************************************** / RazorEditArea.cpp / / Copyright (c) 2021 ReaTeam / / 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 re...
33.285714
124
0.686695
[ "vector" ]
13c505e34e821c4d706021e8a6f0b6b1c84b5c87
8,152
cpp
C++
source/Utility/DataEncoder.cpp
xiaobai/swift-lldb
9238527ce430e6837108a16d2a91b147551fb83c
[ "Apache-2.0" ]
765
2015-12-03T16:44:59.000Z
2022-03-07T12:41:10.000Z
source/Utility/DataEncoder.cpp
xiaobai/swift-lldb
9238527ce430e6837108a16d2a91b147551fb83c
[ "Apache-2.0" ]
1,815
2015-12-11T23:56:05.000Z
2020-01-10T19:28:43.000Z
source/Utility/DataEncoder.cpp
xiaobai/swift-lldb
9238527ce430e6837108a16d2a91b147551fb83c
[ "Apache-2.0" ]
284
2015-12-03T16:47:25.000Z
2022-03-12T05:39:48.000Z
//===-- DataEncoder.cpp -----------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
34.542373
80
0.681428
[ "object" ]
13cc87fbb900b28dc718cc944fc4393712d4fd36
6,406
cpp
C++
backtracking/subset_sum.cpp
imprettyboiimstunnin/C-Plus-Plus
e9d052cdf1a3f1b12568276d9fc1b21c05f3283d
[ "MIT" ]
null
null
null
backtracking/subset_sum.cpp
imprettyboiimstunnin/C-Plus-Plus
e9d052cdf1a3f1b12568276d9fc1b21c05f3283d
[ "MIT" ]
null
null
null
backtracking/subset_sum.cpp
imprettyboiimstunnin/C-Plus-Plus
e9d052cdf1a3f1b12568276d9fc1b21c05f3283d
[ "MIT" ]
null
null
null
/** * @file * @brief Implementation of the [Subset * Sum](https://en.wikipedia.org/wiki/Subset_sum_problem) problem. * @details * We are given an array and a sum value. The algorithm finds all * the subsets of that array with sum equal to the given sum and return such * subsets count. This approach will have exp...
31.712871
109
0.577896
[ "vector" ]
13ddf5c69902bb7db36132aa0ed409297f4e2b20
19,556
cpp
C++
src/main.cpp
sgholap/CarND-Path-Planning-Project
bc4a58d92d441611357ff7a2a388d5082b472b84
[ "MIT" ]
null
null
null
src/main.cpp
sgholap/CarND-Path-Planning-Project
bc4a58d92d441611357ff7a2a388d5082b472b84
[ "MIT" ]
null
null
null
src/main.cpp
sgholap/CarND-Path-Planning-Project
bc4a58d92d441611357ff7a2a388d5082b472b84
[ "MIT" ]
null
null
null
#include <uWS/uWS.h> #include <fstream> #include <iostream> #include <string> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" #include "json.hpp" #include "Spline.h" // for convenience using nlohmann::json; using std::string; using std::vector; // Enu...
32.006547
196
0.644815
[ "object", "vector" ]
13dfc975d673ff621abd0d39ed3767367ff3d570
14,830
cpp
C++
src/ConstraintSolver/AngleLine2D.cpp
peizhan/psketcher
d84be7c64b101e3ec5fdec416a21c4a4674f535d
[ "BSD-2-Clause" ]
1
2022-03-01T09:03:40.000Z
2022-03-01T09:03:40.000Z
src/ConstraintSolver/AngleLine2D.cpp
peizhan/psketcher
d84be7c64b101e3ec5fdec416a21c4a4674f535d
[ "BSD-2-Clause" ]
null
null
null
src/ConstraintSolver/AngleLine2D.cpp
peizhan/psketcher
d84be7c64b101e3ec5fdec416a21c4a4674f535d
[ "BSD-2-Clause" ]
1
2022-03-01T09:03:42.000Z
2022-03-01T09:03:42.000Z
/* Copyright (c) 2006-2014, Michael Greminger All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fo...
36.982544
200
0.715509
[ "object" ]
13e7a9024d0e949ba407c64331541161072cb5a4
406
cpp
C++
Tests/Vector_tests.cpp
Scapior/KompotEngine
9de8c7c6a1158198a18aa237e6a2dbe41ffb44cc
[ "MIT" ]
null
null
null
Tests/Vector_tests.cpp
Scapior/KompotEngine
9de8c7c6a1158198a18aa237e6a2dbe41ffb44cc
[ "MIT" ]
36
2020-10-14T15:17:46.000Z
2022-02-07T22:10:54.000Z
Tests/Vector_tests.cpp
Scapior/KompotEngine
9de8c7c6a1158198a18aa237e6a2dbe41ffb44cc
[ "MIT" ]
1
2019-05-12T16:59:50.000Z
2019-05-12T16:59:50.000Z
/* * Vector_tests.cpp * Copyright (C) 2021 by Maxim Stoianov * Licensed under the MIT license. */ #include <iostream> #include <Math/Vector.hpp> #include <gtest/gtest.h> TEST(Vector2D, foo) { Math::Vector2D v; v.x = 5; v.y = 3; EXPECT_FLOAT_EQ(v.foo(), 8.0f); } TEST(Vector, foo) { Math::V...
14.5
40
0.576355
[ "vector" ]
13f1ba782dea1de0967b2b032b7ca26a22e7b245
1,746
cc
C++
polardbx/src/model/RetryPolarxOrderRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
polardbx/src/model/RetryPolarxOrderRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
polardbx/src/model/RetryPolarxOrderRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
27.714286
83
0.764032
[ "model" ]
13fe9cf9af394e045340b20e1d88a902a0fcae44
2,723
cpp
C++
GRIT/unit_tests/grit_test_data/grit_test_data.cpp
H2020-MSCA-ITN-rainbow/GRIT
1bdfb0735515e9d462214f66b88a71aabf836d76
[ "MIT" ]
4
2018-05-28T19:59:05.000Z
2021-04-23T19:57:26.000Z
GRIT/unit_tests/grit_test_data/grit_test_data.cpp
H2020-MSCA-ITN-rainbow/GRIT
1bdfb0735515e9d462214f66b88a71aabf836d76
[ "MIT" ]
18
2018-05-06T21:08:19.000Z
2018-06-11T17:59:00.000Z
GRIT/unit_tests/grit_test_data/grit_test_data.cpp
misztal/GRIT
6850fec967c9de7c6c501f5067d021ef5288b88e
[ "MIT" ]
null
null
null
#include <grit.h> #include <glue.h> // needed for svg_draw #include <util.h> // needed for util::get_data_file_path #define BOOST_AUTO_TEST_MAIN #include <boost/test/auto_unit_test.hpp> #include <boost/test/unit_test_suite.hpp> #include <boost/test/floating_point_comparison.hpp> #include <boost/test/test_tools.hpp> ...
40.044118
104
0.597503
[ "mesh", "vector" ]
13ff5a414ae2d7b25211998be59dda8b5f8d0198
838
cpp
C++
Unidad-1/Aula04/8.cpp
luismoroco/ProgrCompetitiva
011cdb18749a16d17fd635a7c36a8a21b2b643d9
[ "BSD-3-Clause" ]
null
null
null
Unidad-1/Aula04/8.cpp
luismoroco/ProgrCompetitiva
011cdb18749a16d17fd635a7c36a8a21b2b643d9
[ "BSD-3-Clause" ]
null
null
null
Unidad-1/Aula04/8.cpp
luismoroco/ProgrCompetitiva
011cdb18749a16d17fd635a7c36a8a21b2b643d9
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n, x, target, i, left, rigth, tmp; bool flag = false; vector<int> array; cin >> n >> target; while (n--){ cin >> x; array.push_back(x); } for ( i = 1; i <= array.size(); ++i) { left = i; rig...
19.952381
60
0.390215
[ "vector" ]
cd0410c26f4112b83c7d654b599986317757b447
12,089
cpp
C++
Test/UnitTests/UnitTests.cpp
kernyan/KalmanFilterController
c04c48b29c826a2c942ba09132b5b764399196c7
[ "MIT" ]
null
null
null
Test/UnitTests/UnitTests.cpp
kernyan/KalmanFilterController
c04c48b29c826a2c942ba09132b5b764399196c7
[ "MIT" ]
null
null
null
Test/UnitTests/UnitTests.cpp
kernyan/KalmanFilterController
c04c48b29c826a2c942ba09132b5b764399196c7
[ "MIT" ]
1
2021-10-03T12:48:28.000Z
2021-10-03T12:48:28.000Z
#include "fusion_kf.h" #include "gtest/gtest.h" #include "gmock/gmock.h" #include "measurement_package.h" #include <iostream> #include <vector> using namespace std; int main(int argc, char *argv[]) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } class LKFTest : public :: testing::Test { pr...
27.727064
94
0.58119
[ "vector" ]
cd063cf61c938beb29c7c418f437d003e1eff0fc
4,557
cpp
C++
Testing/VisualPipes/albaPipeIsosurfaceTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Testing/VisualPipes/albaPipeIsosurfaceTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Testing/VisualPipes/albaPipeIsosurfaceTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaPipeIsosurfaceTest Authors: Matteo Giacomoni Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; without...
30.790541
85
0.582401
[ "render" ]
997fab2343c8d69ea3de42129b052b3def717ded
9,998
cpp
C++
Source.cpp
jordanbarber/zombieGame
42e4c65ada02bc4af0f9d3ae719b728b24e5982a
[ "Artistic-2.0" ]
null
null
null
Source.cpp
jordanbarber/zombieGame
42e4c65ada02bc4af0f9d3ae719b728b24e5982a
[ "Artistic-2.0" ]
null
null
null
Source.cpp
jordanbarber/zombieGame
42e4c65ada02bc4af0f9d3ae719b728b24e5982a
[ "Artistic-2.0" ]
null
null
null
//SKELETON PROGRAM //--------------------------------- //include libraries //include standard libraries #include <iostream > //for output and input: cin >> and cout << #include <iomanip> //for formatted output in 'cout' #include <conio.h> //for getch() #include <string> //for stri...
33.10596
86
0.572715
[ "render" ]
9980a1722b685f39e5600b95ae3a83e96ac9edd6
7,426
cpp
C++
src/game/shared/hl2mp/weapons/weapon_hl2mpbase_machinegun.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/shared/hl2mp/weapons/weapon_hl2mpbase_machinegun.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/shared/hl2mp/weapons/weapon_hl2mpbase_machinegun.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #if defined( CLIENT_DLL ) #include "c_hl2mp_player.h" #else #include "hl2mp_player.h" #endif #include "weapon_hl2mpba...
32.713656
120
0.559117
[ "vector" ]
998c958c3f03d05c04b150c1ec7dd7d047175b49
1,259
cpp
C++
Dev/unitTest_Engine_cpp_gtest/ObjectSystem/UpdateFrequency.cpp
GCLemon/Altseed
b525740d64001aaed673552eb4ba3e98a321fcdf
[ "FTL" ]
37
2015-07-12T14:21:03.000Z
2020-10-17T03:08:17.000Z
Dev/unitTest_Engine_cpp_gtest/ObjectSystem/UpdateFrequency.cpp
GCLemon/Altseed
b525740d64001aaed673552eb4ba3e98a321fcdf
[ "FTL" ]
91
2015-06-14T10:47:22.000Z
2020-06-29T18:05:21.000Z
Dev/unitTest_Engine_cpp_gtest/ObjectSystem/UpdateFrequency.cpp
GCLemon/Altseed
b525740d64001aaed673552eb4ba3e98a321fcdf
[ "FTL" ]
14
2015-07-13T04:15:20.000Z
2021-09-30T01:34:51.000Z
#include <gtest/gtest.h> #include <Altseed.h> #include "../EngineTest.h" using namespace std; using namespace asd; class ObjectSystem_UpdateFrequency : public EngineTest { class MovingObject : public TextureObject2D { protected: void OnUpdate() { SetPosition(GetPosition() + Vector2DF(3, 0)); } }; publi...
23.754717
112
0.728356
[ "object" ]
999022e780a0e11d21eb9ab4b4be370609b2c03b
30,515
cpp
C++
libs/gui/src/CDisplayWindow3D.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
2
2017-03-25T18:09:17.000Z
2017-05-22T08:14:48.000Z
libs/gui/src/CDisplayWindow3D.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
null
null
null
libs/gui/src/CDisplayWindow3D.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
1
2018-07-29T09:40:46.000Z
2018-07-29T09:40:46.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
29.145177
168
0.620449
[ "object", "3d" ]
99952e9e3d99c667bc4f92c5d92ca39976ddadb7
4,465
cpp
C++
Strategy/clsWeekMa.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
Strategy/clsWeekMa.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
Strategy/clsWeekMa.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
#include "clsWeekMa.h" #include <QDateTime> #include <QDebug> #include <QApplication> #include "clsSingleStockData.h" #include "clsGetLastWorkDay.h" #include <QJsonDocument> #include <QJsonObject> #include <QJsonParseError> clsWeekMa::clsWeekMa(QObject *parent) { this->hsl =0; average = 20; db = new clsDBC...
25.08427
118
0.578052
[ "object" ]
999b8c0775f302fae8ced0f85cd34771c37576c3
8,231
hpp
C++
src/libv/lma/lm/ba/create_hessian.hpp
bezout/LMA
9555e41eed5f44690c5f6e3ea2d22d520ff1a9d2
[ "BSL-1.0" ]
29
2015-12-08T12:07:30.000Z
2022-01-08T21:23:01.000Z
src/libv/lma/lm/ba/create_hessian.hpp
ayumizll/LMA
e945452e12a8b05bd17400b46a20a5322aeda01d
[ "BSL-1.0" ]
3
2016-07-11T16:23:48.000Z
2017-04-05T13:33:00.000Z
src/libv/lma/lm/ba/create_hessian.hpp
bezout/LMA
9555e41eed5f44690c5f6e3ea2d22d520ff1a9d2
[ "BSL-1.0" ]
8
2015-12-21T01:52:27.000Z
2017-12-26T02:26:55.000Z
/** \file \author Datta Ramadasan //============================================================================== // Copyright 2015 INSTITUT PASCAL UMR 6602 CNRS/Univ. Clermont II // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE.txt or ...
40.348039
184
0.625926
[ "transform" ]
999d724465a807fbff1fcb1f64796f835b40498f
3,839
cpp
C++
AnimalCooking/GpadKeySwitcher.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
null
null
null
AnimalCooking/GpadKeySwitcher.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
23
2020-03-02T16:43:28.000Z
2020-04-16T09:58:08.000Z
AnimalCooking/GpadKeySwitcher.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
null
null
null
#include "GpadKeySwitcher.h" #include "Entity.h" #include "Transform.h" #include "GPadController.h" #include "ConfigState.h" void GpadKeySwitcher::init() { config::Options::GPadButtons& keys = SDLGame::instance()->getOptions().players_gPadButtons[player_]; Transform* t = GETCMP1_(Transform); switchers_.reserve(7); ...
44.639535
248
0.728575
[ "transform" ]
99a49cd4ada2ec7a1547bd894d748464b9dc6e85
498
hpp
C++
src/DeJong.hpp
limzykenneth/DeJong-lasercut
31eea76f341706c4fa8f19796ea7c54f50e83861
[ "BSD-3-Clause" ]
null
null
null
src/DeJong.hpp
limzykenneth/DeJong-lasercut
31eea76f341706c4fa8f19796ea7c54f50e83861
[ "BSD-3-Clause" ]
null
null
null
src/DeJong.hpp
limzykenneth/DeJong-lasercut
31eea76f341706c4fa8f19796ea7c54f50e83861
[ "BSD-3-Clause" ]
null
null
null
// // DeJong.hpp // DeJong // // Created by Kenneth Lim on 24/10/2015. // // #ifndef DeJong_hpp #define DeJong_hpp #include <stdio.h> #include <vector> #include "ofMain.h" class DeJong{ public: int intensity; int iterations; double maxDensity; int N; double xSeed; double ySeed; double ...
13.833333
41
0.606426
[ "vector" ]
99a88b943854fd359396c73252573103cba183c9
3,002
cpp
C++
nau/src/nau/geometry/square.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/geometry/square.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/geometry/square.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/geometry/square.h" #include "nau/math/vec3.h" #include "nau/geometry/vertexData.h" #include "nau/material/materialGroup.h" using namespace nau::geometry; using namespace nau::render; using namespace nau::material; using namespace nau::math; Square::Square(void) : Primitive() { float n = 1.0f; std:...
32.630435
94
0.688541
[ "geometry", "render", "vector" ]
99ab736f3c0828f17c0399b81f6f824ab94cf41f
672
cpp
C++
leetcode.com/0682 Baseball Game/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0682 Baseball Game/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0682 Baseball Game/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; class Solution { public: int calPoints(vector<string>& ops) { vector<int> scores; int n = 0, sum = 0; for (const string& op : ops) { if (op == "C") { sum -= scores.back(); scores.pop_back(); --n; } else if (o...
21
50
0.471726
[ "vector" ]
99add7b340459c78e5f354e3aa74c1d51c6458e2
13,499
hpp
C++
include/libsharedmemory/libsharedmemory.hpp
kyr0/libsharedmemory
083315bb64f6abeeac4acbbc2545627ae7dd6f4f
[ "MIT" ]
5
2021-12-15T06:54:55.000Z
2022-03-27T15:59:28.000Z
include/libsharedmemory/libsharedmemory.hpp
kyr0/libsharedmemory
083315bb64f6abeeac4acbbc2545627ae7dd6f4f
[ "MIT" ]
null
null
null
include/libsharedmemory/libsharedmemory.hpp
kyr0/libsharedmemory
083315bb64f6abeeac4acbbc2545627ae7dd6f4f
[ "MIT" ]
null
null
null
#ifndef INCLUDE_LIBSHAREDMEMORY_HPP_ #define INCLUDE_LIBSHAREDMEMORY_HPP_ #include <ostream> #define LIBSHAREDMEMORY_VERSION_MAJOR 0 #define LIBSHAREDMEMORY_VERSION_MINOR 0 #define LIBSHAREDMEMORY_VERSION_PATCH 9 #include <cstdint> #include <cstring> #include <string> #include <unistd.h> #include <iostream> #include...
29.218615
132
0.610786
[ "object" ]
99b06c1e9c015f9a6b6a5d1d9b84553d995795a1
2,857
cpp
C++
Sid's Levels/DPP/Graphs/Number Of Islands.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Levels/DPP/Graphs/Number Of Islands.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Levels/DPP/Graphs/Number Of Islands.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
//My soln -> 47/48 cases -> TLE class Solution { public: //OM GAN GANAPATHAYE NAMO NAMAH //JAI SHRI RAM //JAI BAJRANGBALI //AMME NARAYANA, DEVI NARAYANA, LASKHMI NARAYANA, BHADRE NARAYANA int dirx[4] = {0, 1, 0, -1}; int diry[4] = {1, 0, -1, 0}; bool isValid(int r, int c, vector<vector<in...
31.054348
100
0.418971
[ "vector" ]
99b1700f09587d2ef91f67d7cf5e13f932d0505c
2,955
cpp
C++
202118/dec202118_1.cpp
jibsen/aocpp2021
d3a26e7207de51bf6eeb0d6bcc8eddb2174f6a44
[ "MIT" ]
null
null
null
202118/dec202118_1.cpp
jibsen/aocpp2021
d3a26e7207de51bf6eeb0d6bcc8eddb2174f6a44
[ "MIT" ]
null
null
null
202118/dec202118_1.cpp
jibsen/aocpp2021
d3a26e7207de51bf6eeb0d6bcc8eddb2174f6a44
[ "MIT" ]
null
null
null
// // Advent of Code 2021, day 18, part one // // I feel like there should be some elegant solution using std::variant // here, but since all the numbers are non-negative and the input does not // grow exponentially, we opt for the simple representation as a vector of // int using negative numbers for opening and clos...
16.789773
78
0.587817
[ "vector" ]
99b1dddb62552fb95d244d88515c915e2eb72cd1
15,027
hpp
C++
Middlewares/ST/touchgfx_backup/framework/include/touchgfx/widgets/TextArea.hpp
koson/car-dash
7be8f02a243d43b4fd9fd33b0a160faa5901f747
[ "MIT" ]
12
2020-06-25T13:10:17.000Z
2022-01-27T01:48:26.000Z
Middlewares/ST/touchgfx_backup/framework/include/touchgfx/widgets/TextArea.hpp
koson/car-dash
7be8f02a243d43b4fd9fd33b0a160faa5901f747
[ "MIT" ]
2
2021-05-23T05:02:48.000Z
2021-05-24T11:15:56.000Z
Middlewares/ST/touchgfx_backup/framework/include/touchgfx/widgets/TextArea.hpp
koson/car-dash
7be8f02a243d43b4fd9fd33b0a160faa5901f747
[ "MIT" ]
7
2020-08-27T08:23:49.000Z
2021-09-19T12:54:30.000Z
/** ****************************************************************************** * This file is part of the TouchGFX 4.13.0 distribution. * * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
32.953947
158
0.6113
[ "solid" ]
99b901072a6388b997ed98552a94726e5bb83256
10,930
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/dll/import.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
ReactNativeFrontend/ios/Pods/boost/boost/dll/import.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
ReactNativeFrontend/ios/Pods/boost/boost/dll/import.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
48
2015-08-21T00:16:15.000Z
2022-03-15T03:11:17.000Z
// Copyright 2014 Renato Tegon Forti, Antony Polukhin. // Copyright 2015-2021 Antony Polukhin. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_DLL_IMPORT_HPP #define BOOST_DLL_IMPORT_HPP #inclu...
39.316547
176
0.715645
[ "object" ]
99b9e44221e780874b4b6b9146a830989c1586ec
12,786
cpp
C++
src/psvrservice/VirtualHMD/VirtualHMD.cpp
opendata26/PSVRTracker
dfd13e9ed0daa312ae71ce2a077209c4994659ab
[ "MIT" ]
null
null
null
src/psvrservice/VirtualHMD/VirtualHMD.cpp
opendata26/PSVRTracker
dfd13e9ed0daa312ae71ce2a077209c4994659ab
[ "MIT" ]
null
null
null
src/psvrservice/VirtualHMD/VirtualHMD.cpp
opendata26/PSVRTracker
dfd13e9ed0daa312ae71ce2a077209c4994659ab
[ "MIT" ]
null
null
null
//-- includes ----- #include "VirtualHMD.h" #include "DeviceInterface.h" #include "DeviceManager.h" #include "HMDDeviceEnumerator.h" #include "VirtualHMDDeviceEnumerator.h" #include "MathUtility.h" #include "Logger.h" #include "Utility.h" #include <vector> #include <cstdlib> #ifdef _WIN32 #define _USE_MATH_DEFINES #end...
36.741379
134
0.657438
[ "shape", "vector" ]
99c71f0f2da9c644f1df6a35e461643339c7f749
1,805
cpp
C++
archive/3/rosnace_zdjecie.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
archive/3/rosnace_zdjecie.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
archive/3/rosnace_zdjecie.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef intmax_t I; const I inf = 1e18; struct Fragment { I n; bool cut_after; Fragment(I n, bool c = false) : n(n), cut_after(c) {}; }; bool operator<(Fragment a, Fragment b) { return (a.n != b.n ? a.n < b.n : (I)a.cut_after < (I)b.cut_after); } ostream...
20.055556
70
0.400554
[ "vector" ]
99c73e555c2df87a5f548bf37c2ffbb6faad9712
2,992
cpp
C++
src/fieldlimits.cpp
vieiramanoel/PVC_Final
acad658f6fcdb530a457046ea505fc9f88f498e6
[ "MIT" ]
null
null
null
src/fieldlimits.cpp
vieiramanoel/PVC_Final
acad658f6fcdb530a457046ea505fc9f88f498e6
[ "MIT" ]
1
2016-06-12T16:56:51.000Z
2016-06-12T16:56:51.000Z
src/fieldlimits.cpp
vieiramanoel/PVC_Final
acad658f6fcdb530a457046ea505fc9f88f498e6
[ "MIT" ]
null
null
null
#include "fieldlimits.hpp" FieldLimits::FieldLimits(){ cv::FileStorage paramReader("data.yml", cv::FileStorage::READ); auto cannyParam = paramReader["canny_parameters"]; calibrating = cannyParam["Calibrating"]; _cannythresh1 = cannyParam["Thresh1"]; _cannythresh2 = cannyParam["Thresh2"]; coun...
29.92
100
0.623997
[ "vector" ]
99cbd5a1a9e8eeb207bc57d9b161d9dc514971d5
8,332
hpp
C++
components/rgbd-sources/include/ftl/rgbd/frame.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
4
2020-12-28T15:29:15.000Z
2021-06-27T12:37:15.000Z
components/rgbd-sources/include/ftl/rgbd/frame.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
null
null
null
components/rgbd-sources/include/ftl/rgbd/frame.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
2
2021-01-13T05:28:39.000Z
2021-05-04T03:37:11.000Z
#pragma once #ifndef _FTL_RGBD_FRAME_HPP_ #define _FTL_RGBD_FRAME_HPP_ #include <ftl/configuration.hpp> #include <ftl/exception.hpp> #include <opencv2/core.hpp> #include <opencv2/core/cuda.hpp> #include <opencv2/core/cuda_stream_accessor.hpp> #include <ftl/data/new_frame.hpp> #include <ftl/codecs/channels.hpp> #incl...
34.861925
201
0.698632
[ "object", "vector" ]
99cfd49481fee5ea2442b2730e44b726c8d0aeb1
160,186
hpp
C++
Shared/rice.hpp
mdejong/MetalRice
bac112c4d6d151920cb24a7bb062ab6dde172e8c
[ "MIT" ]
1
2022-01-08T06:01:59.000Z
2022-01-08T06:01:59.000Z
Shared/rice.hpp
mdejong/MetalRice
bac112c4d6d151920cb24a7bb062ab6dde172e8c
[ "MIT" ]
null
null
null
Shared/rice.hpp
mdejong/MetalRice
bac112c4d6d151920cb24a7bb062ab6dde172e8c
[ "MIT" ]
null
null
null
// // rice.hpp // // Created by Mo DeJong on 6/3/18. // Copyright © 2018 helpurock. All rights reserved. // // The rice coder provides a fast and simple method of encoding // prediction residuals as variable length binary codes. #ifndef rice_hpp #define rice_hpp #if defined(DEBUG) #include <unordered_map> #endif...
31.323035
165
0.536426
[ "object", "vector", "3d" ]
99d1a91b88ed5d5810cb5892259a14888fe2fec8
546
cpp
C++
algo/cpp/107. Binary Tree Level Order Traversal II/107. Binary Tree Level Order Traversal II/Binary Tree Level Order Traversal II.cpp
fenglin9102/ARTS
47cd09a7c414171c4495a15e0e1367a76330271c
[ "MIT" ]
1
2019-08-22T08:13:46.000Z
2019-08-22T08:13:46.000Z
algo/cpp/107. Binary Tree Level Order Traversal II/107. Binary Tree Level Order Traversal II/Binary Tree Level Order Traversal II.cpp
fenglin9102/ARTS
47cd09a7c414171c4495a15e0e1367a76330271c
[ "MIT" ]
1
2019-08-21T07:18:23.000Z
2019-08-21T07:18:23.000Z
algo/cpp/107. Binary Tree Level Order Traversal II/107. Binary Tree Level Order Traversal II/Binary Tree Level Order Traversal II.cpp
fenglin9102/ARTS
47cd09a7c414171c4495a15e0e1367a76330271c
[ "MIT" ]
1
2019-08-21T05:04:09.000Z
2019-08-21T05:04:09.000Z
// // Binary Tree Level Order Traversal II.cpp // 107. Binary Tree Level Order Traversal II // // Created by 张枫林 on 2019/8/18. // Copyright © 2019 张枫林. All rights reserved. // #include "Binary Tree Level Order Traversal II.hpp" void Solution::test(){ TreeNode *root = new TreeNode(3); root->left = new Tree...
24.818182
54
0.642857
[ "vector" ]
99d26af7ef2e546b683929b412d15876bb10bc45
413
cpp
C++
arrays/containsDuplicate.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
20
2022-01-04T19:36:14.000Z
2022-03-21T15:35:09.000Z
arrays/containsDuplicate.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
null
null
null
arrays/containsDuplicate.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
null
null
null
// Contains Duplicate - Leetcode bool containsDuplicate(vector<int>& nums) { unordered_map<int, int> _map; for (int i =0; i < nums.size(); i++) { int num = nums[i]; int duplicate = num; auto it = _map.find(duplicate); if(it != _map.end()) { ...
27.533333
46
0.457627
[ "vector" ]
99dc059cc839d38930bb9aa739229691b2ca4f61
3,403
cpp
C++
srcs/common/moviebox.cpp
brooklet/heif
87d0427d750d882acba5f31bae697fe9a433ab50
[ "BSD-3-Clause" ]
1
2019-12-27T00:55:05.000Z
2019-12-27T00:55:05.000Z
srcs/common/moviebox.cpp
brooklet/heif
87d0427d750d882acba5f31bae697fe9a433ab50
[ "BSD-3-Clause" ]
null
null
null
srcs/common/moviebox.cpp
brooklet/heif
87d0427d750d882acba5f31bae697fe9a433ab50
[ "BSD-3-Clause" ]
null
null
null
/* This file is part of Nokia HEIF library * * Copyright (c) 2015-2018 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * * Contact: heif@nokia.com * * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its * subsidiaries. All rights are r...
25.780303
121
0.598589
[ "vector" ]
99df4613ba87a8990ad0f88756691aac555a5fd4
1,566
cpp
C++
Lab5/src/lab5.cpp
DavidePistilli173/Computer-Vision
4066a99f6f6fdc941829d3cd3015565ec0046a2f
[ "Apache-2.0" ]
null
null
null
Lab5/src/lab5.cpp
DavidePistilli173/Computer-Vision
4066a99f6f6fdc941829d3cd3015565ec0046a2f
[ "Apache-2.0" ]
null
null
null
Lab5/src/lab5.cpp
DavidePistilli173/Computer-Vision
4066a99f6f6fdc941829d3cd3015565ec0046a2f
[ "Apache-2.0" ]
null
null
null
#include "lab5.hpp" #include <opencv2/imgproc.hpp> using namespace lab5; std::mutex Log::mtx_; Window::Window(std::string_view name) : name_{ name.data() } { cv::namedWindow(name.data(), cv::WINDOW_NORMAL | cv::WINDOW_KEEPRATIO | cv::WINDOW_GUI_EXPANDED); trckBarVals_.reserve(max_trckbar_num); // Reserv...
21.162162
101
0.650702
[ "vector" ]
99e3152a1524efb278bb9986303a185b84fb06ff
1,961
cpp
C++
AusEngine/ModuleImGui.cpp
auusi9/AusEngine
d9eafd9f8ffb1d13e1ca3f3af85c95b7f3e6ed0d
[ "MIT" ]
null
null
null
AusEngine/ModuleImGui.cpp
auusi9/AusEngine
d9eafd9f8ffb1d13e1ca3f3af85c95b7f3e6ed0d
[ "MIT" ]
1
2016-10-16T13:22:46.000Z
2016-10-16T16:55:32.000Z
AusEngine/ModuleImGui.cpp
auusi9/AusEngine
d9eafd9f8ffb1d13e1ca3f3af85c95b7f3e6ed0d
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleImGui.h" #include "Imgui\imgui.h" #include "Imgui\imgui_impl_sdl_gl3.h" #include "Glew\include\glew.h" #pragma comment (lib, "Glew/libx86/glew32.lib") ModuleImGui::ModuleImGui(Application* app, bool start_enabled) : Module(app, start_enabled) { } ModuleImG...
18.67619
91
0.696583
[ "render" ]
99ea792675725bf3caf1f3ef42958e49972b7126
1,068
cpp
C++
Qt/15_qsqlquerymodel/mainwindow.cpp
de-souza/embedded-cpp-training
370225ea95e5b61f52203761c01a8daaa0909fc0
[ "Apache-2.0" ]
null
null
null
Qt/15_qsqlquerymodel/mainwindow.cpp
de-souza/embedded-cpp-training
370225ea95e5b61f52203761c01a8daaa0909fc0
[ "Apache-2.0" ]
null
null
null
Qt/15_qsqlquerymodel/mainwindow.cpp
de-souza/embedded-cpp-training
370225ea95e5b61f52203761c01a8daaa0909fc0
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QSqlQuery> #include <QSqlQueryModel> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); connect(ui->comboBox, &QComboBox::currentTextChanged, this, &MainWindow::mOnChange); QSqlDat...
28.864865
94
0.696629
[ "model" ]
99f5f56ed4b02dcf18f1d297b2281f7896e7c55b
4,601
cxx
C++
applications/rtkosem/rtkosem.cxx
vlibertiaux/RTK
0965dfe680e7993141898af13425ae2afb98d319
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
applications/rtkosem/rtkosem.cxx
vlibertiaux/RTK
0965dfe680e7993141898af13425ae2afb98d319
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
applications/rtkosem/rtkosem.cxx
vlibertiaux/RTK
0965dfe680e7993141898af13425ae2afb98d319
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= * * Copyright RTK Consortium * * 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.apa...
38.024793
115
0.747229
[ "geometry" ]
99f6af1c182cc353ad0faf1fa9e46c6b3203515a
4,295
cc
C++
src/serializer/merger.cc
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
src/serializer/merger.cc
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
src/serializer/merger.cc
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
// Copyright 2010-2014 RethinkDB, all rights reserved. #include "serializer/merger.hpp" #include <functional> #include "errors.hpp" #include "arch/runtime/coroutines.hpp" #include "concurrency/new_mutex.hpp" #include "config/args.hpp" #include "serializer/types.hpp" merger_serializer_t::merger_serializer_t(scoped_...
35.791667
88
0.678929
[ "vector" ]
99f7ca2f19dbfd2f8834c59be657c80cf04008c1
6,148
cpp
C++
3dEngine/src/scene/ui/widget/window/Window.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
24
2015-10-05T00:13:57.000Z
2020-05-06T20:14:06.000Z
3dEngine/src/scene/ui/widget/window/Window.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
1
2019-11-01T08:00:55.000Z
2019-11-01T08:00:55.000Z
3dEngine/src/scene/ui/widget/window/Window.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
10
2015-11-25T07:33:13.000Z
2020-03-02T08:21:10.000Z
#include <memory> #include <utility> #include <UrchinCommon.h> #include <scene/ui/widget/window/Window.h> #include <scene/InputDeviceKey.h> #include <api/render/GenericRendererBuilder.h> namespace urchin { Window::Window(Position position, Size size, std::string skinName, std::string titleKey) : Widg...
46.931298
179
0.626057
[ "render", "vector" ]
99f8a48e7236e13b127dbfd667768a205b94036e
20,660
cpp
C++
src/monitor.cpp
Flowdalic/herbstluftwm
a4705f3247eef3ba388daaae04191d805fcb8f91
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/monitor.cpp
Flowdalic/herbstluftwm
a4705f3247eef3ba388daaae04191d805fcb8f91
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/monitor.cpp
Flowdalic/herbstluftwm
a4705f3247eef3ba388daaae04191d805fcb8f91
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "monitor.h" #include <X11/Xlib.h> #include <algorithm> #include <cassert> #include <cstring> #include <sstream> #include <vector> #include "client.h" #include "clientmanager.h" #include "completion.h" #include "ewmh.h" #include "floating.h" #include "frametree.h" #include "globals.h" #include "hook.h" #inclu...
33.215434
92
0.586641
[ "geometry", "render", "vector" ]
99f93d34a3392ec562b87f78b5f70d15f24c7a9a
6,585
hpp
C++
kernel/src/simulationTools/GlobalFrictionContact.hpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
kernel/src/simulationTools/GlobalFrictionContact.hpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
kernel/src/simulationTools/GlobalFrictionContact.hpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
31.208531
120
0.702354
[ "vector", "3d" ]
99f98a8aca3939c4f3db3b452c3ae18e2815ebe4
14,992
cpp
C++
library/ctypes_pathintegral_emission.cpp
ucl-exoplanets/TauREx_public
28d47f829a2873cf15e3bfb0419b8bc4e5bc03dd
[ "CC-BY-4.0" ]
18
2019-07-22T01:35:24.000Z
2022-02-10T11:25:42.000Z
library/ctypes_pathintegral_emission.cpp
ucl-exoplanets/TauREx_public
28d47f829a2873cf15e3bfb0419b8bc4e5bc03dd
[ "CC-BY-4.0" ]
null
null
null
library/ctypes_pathintegral_emission.cpp
ucl-exoplanets/TauREx_public
28d47f829a2873cf15e3bfb0419b8bc4e5bc03dd
[ "CC-BY-4.0" ]
1
2017-10-19T15:14:06.000Z
2017-10-19T15:14:06.000Z
/* TauREx v2 - Development version - DO NOT DISTRIBUTE Forward model for emission Developers: Ingo Waldmann, Marco Rocchetto (University College London) For both openmp and single core versions compile with g++: g++ -fPIC -shared -o ctypes_pathintegral_emission.so ctypes_pathintegral...
43.32948
178
0.471385
[ "vector", "model" ]
99fbfb29e2c6f5fdb611f37bcc192cf49faf8cc5
3,691
cpp
C++
sources/bbd/bbd_filter.cpp
jjYBdx4IL/string-machine
0bb2ac9092d31402c8ecfd5f681a3a4f2d575024
[ "BSL-1.0" ]
34
2019-07-08T15:02:10.000Z
2022-02-20T01:44:02.000Z
sources/bbd/bbd_filter.cpp
jjYBdx4IL/string-machine
0bb2ac9092d31402c8ecfd5f681a3a4f2d575024
[ "BSL-1.0" ]
27
2019-07-08T21:46:19.000Z
2022-03-24T16:01:02.000Z
sources/bbd/bbd_filter.cpp
jjYBdx4IL/string-machine
0bb2ac9092d31402c8ecfd5f681a3a4f2d575024
[ "BSL-1.0" ]
3
2019-08-03T22:35:08.000Z
2022-02-20T01:19:52.000Z
#include "bbd_filter.h" #include <vector> #include <mutex> #include <algorithm> #include <cassert> template <class T> static void interpolate_row(double d, unsigned rows, unsigned cols, const T *src, T *dst) { assert(d >= 0); double row = d * (rows - 1); unsigned row1 = std::min((unsigned)row, rows - 1); ...
32.095652
125
0.581685
[ "vector" ]
99feaf08de17e30a86e67bcdcbf8a1437041d9bd
4,489
cpp
C++
src/flame/tcp/server.cpp
terrywh/php-mill
b8d6c82dcac230248f9bdcd8300e5f2de417f21f
[ "MIT" ]
45
2017-10-13T02:26:30.000Z
2021-03-28T10:07:32.000Z
src/flame/tcp/server.cpp
terrywh/php-mill
b8d6c82dcac230248f9bdcd8300e5f2de417f21f
[ "MIT" ]
1
2021-03-12T15:01:07.000Z
2021-03-16T02:42:17.000Z
src/flame/tcp/server.cpp
terrywh/php-mill
b8d6c82dcac230248f9bdcd8300e5f2de417f21f
[ "MIT" ]
17
2017-05-04T18:48:39.000Z
2021-09-11T07:04:55.000Z
#include "../coroutine.h" #include "../udp/udp.h" #include "../time/time.h" #include "server.h" #include "tcp.h" #include "socket.h" #include "../log/logger.h" namespace flame::tcp { void server::declare(php::extension_entry &ext) { php::class_entry<server> class_server("flame\\tcp\\server"); ...
39.377193
159
0.52172
[ "object" ]
8202f93c3ca231cecbbaca552f295b601c98b97a
3,148
cpp
C++
testgames/run/game.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
12
2017-02-09T21:03:41.000Z
2021-04-26T14:50:20.000Z
testgames/run/game.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
null
null
null
testgames/run/game.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
null
null
null
#include "game.h" Game::Game() { e.debugMode(true); e.init("RUN!", WIDTH, HEIGHT, 0); e.setColor(194, 177, 128); car.setImage("res/car.png", e.getRenderer()); car.setFrame(0, 0, 57, 35); car.setSpeed(3); car.setDestSize(57*SCALE,35*SCALE); car.center(WIDTH, HEIGHT); u=d=l=r=0; vel=0; inCar=true;...
22.169014
116
0.623888
[ "object" ]