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
36854349bc4140b9c13391a9bc81af1359dc0491
3,102
cpp
C++
code/steps/source/model/sg_models/sg_model_test.cpp
changgang/steps
9b8ea474581885129d1c1a1c3ad40bc8058a7e0a
[ "MIT" ]
29
2019-10-30T07:04:10.000Z
2022-02-22T06:34:32.000Z
code/steps/source/model/sg_models/sg_model_test.cpp
changgang/steps
9b8ea474581885129d1c1a1c3ad40bc8058a7e0a
[ "MIT" ]
1
2021-09-25T15:29:59.000Z
2022-01-05T14:04:18.000Z
code/steps/source/model/sg_models/sg_model_test.cpp
changgang/steps
9b8ea474581885129d1c1a1c3ad40bc8058a7e0a
[ "MIT" ]
8
2019-12-20T16:13:46.000Z
2022-03-20T14:58:23.000Z
#include "header/basic/test_macro.h" #include "header/model/sg_models/sg_model_test.h" #include "header/basic/utility.h" #include "header/steps_namespace.h" #include <cstdlib> #include <cstring> #include <istream> #include <iostream> #include <cstdio> #include <cmath> #ifdef ENABLE_STEPS_TEST using namespace std; SG_...
25.219512
86
0.731464
[ "model" ]
369edd2a64ca07e278d73c46a94be50eaaafbdf1
917
cpp
C++
#1122 Hamiltonian Cycle.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
1
2021-12-26T08:34:47.000Z
2021-12-26T08:34:47.000Z
#1122 Hamiltonian Cycle.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
null
null
null
#1122 Hamiltonian Cycle.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { size_t n, m, k; if(scanf("%zu%zu", &n, &m) != 2) return 0; vector<vector<bool>> isConnected(n+1, vector<bool>(n+1, false)); for(size_t i = 0, u, v; i < m && scanf("%zu%zu", &u, &v); ++i) { isConnected[u][v] = isConnected[v...
35.269231
98
0.535442
[ "vector" ]
36a0072d482626ee819540e0e3b4ce3a4a26e1f5
1,955
hh
C++
thirdparty/msgpack.hh
falsycat/kingtaker
e329966eedef6d53a08bd62ae592d862148f525c
[ "WTFPL" ]
3
2022-01-09T15:48:33.000Z
2022-03-07T12:01:45.000Z
thirdparty/msgpack.hh
falsycat/kingtaker
e329966eedef6d53a08bd62ae592d862148f525c
[ "WTFPL" ]
25
2022-02-13T03:12:10.000Z
2022-03-31T23:36:22.000Z
thirdparty/msgpack.hh
falsycat/kingtaker
e329966eedef6d53a08bd62ae592d862148f525c
[ "WTFPL" ]
null
null
null
#pragma once #include <string> #include <string_view> #include <type_traits> #include <imgui.h> #include <msgpack.hpp> namespace msgpack { template <typename T> inline const object& find(const object_map& map, const T& key, const object& def) noexcept { for (size_t i = 0; i < map.size; ++i) { const auto& kv =...
27.535211
92
0.668542
[ "object" ]
36a10888eafe9c58666434974fb0ff73ea2b5318
2,029
cc
C++
2021/day12/lib.cc
kfarnung/advent-of-code
74604578379c518bd7ad959e0088ca55a6986515
[ "MIT" ]
1
2017-12-11T07:08:52.000Z
2017-12-11T07:08:52.000Z
2021/day12/lib.cc
kfarnung/advent-of-code
74604578379c518bd7ad959e0088ca55a6986515
[ "MIT" ]
2
2020-12-01T08:16:42.000Z
2021-05-12T04:54:34.000Z
2021/day12/lib.cc
kfarnung/advent-of-code
74604578379c518bd7ad959e0088ca55a6986515
[ "MIT" ]
null
null
null
#include "lib.h" #include <common/input_parser.h> #include <deque> #include <map> #include <set> namespace { using Graph = std::map<std::string, std::vector<std::string>>; Graph parse_graph(const std::vector<std::string> &input) { Graph graph; for (const auto &line : input) { ...
23.321839
78
0.519961
[ "vector" ]
36a49b6f12f544a21d04f203c0fdaed8e598cdee
3,800
cpp
C++
src/search_engine/relja_retrival/external/KMCode_relja/descriptor/JetLocalDirectional.cpp
kaloyan13/vise2
833a8510c7cbac3cbb8ac4569fd51448906e62f3
[ "BSD-2-Clause" ]
43
2017-07-06T23:44:39.000Z
2022-03-25T06:53:29.000Z
src/search_engine/relja_retrival/external/KMCode_relja/descriptor/JetLocalDirectional.cpp
kaloyan13/vise2
833a8510c7cbac3cbb8ac4569fd51448906e62f3
[ "BSD-2-Clause" ]
2
2018-11-09T03:52:14.000Z
2020-03-25T14:08:33.000Z
src/search_engine/relja_retrival/external/KMCode_relja/descriptor/JetLocalDirectional.cpp
kaloyan13/vise2
833a8510c7cbac3cbb8ac4569fd51448906e62f3
[ "BSD-2-Clause" ]
9
2017-07-27T10:55:55.000Z
2020-12-15T13:42:43.000Z
#include "jetLocalDirectional.h" void JetLocalDirectional::computeComponents(DARY *img_in){ ((JetLocal*)this)->computeComponents(img_in); if (!isOK())return; double a_tmp; double sina=0,cosa=0; double *val = new double[size]; int inv=0; val[inv++]=vec[0]; /*1st derivative*/ ...
39.175258
98
0.582632
[ "vector", "3d" ]
36a605ab9e182c1f398161415ec79f40acd37ee7
3,486
hpp
C++
include/boost/hana/record/mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
include/boost/hana/record/mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
include/boost/hana/record/mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/*! @file Defines `boost::hana::Record::mcd`. @copyright Louis Dionne 2014 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_RECORD_MCD_HPP #define BOOST_HANA_RECORD_MCD_HPP #include <boost/hana/record/reco...
33.84466
79
0.587206
[ "object" ]
36ad50a31d1c34f8b94ed7c9e8fa87a316fe9923
1,065
cpp
C++
Challenge-2021-06/26_count_of_smaller_numbers_after_self.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-06/26_count_of_smaller_numbers_after_self.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-06/26_count_of_smaller_numbers_after_self.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "../header.h" class FenwickTree { private: vector<int> _sums; int lowbit(int x) { return x & (-x); } public: FenwickTree(int n): _sums(n + 1, 0) {} void update(int i, int delta) { while (i < _sums.size()) { _sums[i] += delta; i += lowbit(i); ...
22.659574
58
0.462911
[ "vector" ]
a5e314e3af018e5fdc48a5895c0e9677ebceab4f
21,929
hpp
C++
phylanx/plugins/matrixops/argminmax_impl.hpp
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
1
2019-08-17T21:19:57.000Z
2019-08-17T21:19:57.000Z
phylanx/plugins/matrixops/argminmax_impl.hpp
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
null
null
null
phylanx/plugins/matrixops/argminmax_impl.hpp
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2018 Parsa Amini // Copyright (c) 2018-2019 Hartmut Kaiser // // 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) #if !defined(PHYLANX_PRIMITIVES_ARGMINMAX_IMPL_2019_01_19_1130AM) #define PHYLANX_PRIMI...
35.030351
83
0.552146
[ "vector", "3d" ]
a5e72375d343d7b8022220f50054c4e0f000dc49
8,947
cc
C++
cvmfs/manifest_fetch.cc
wtsi-hgi/cvmfs
ac781efef859f2f6ec4e12b06f63e3206e52c291
[ "BSD-3-Clause" ]
null
null
null
cvmfs/manifest_fetch.cc
wtsi-hgi/cvmfs
ac781efef859f2f6ec4e12b06f63e3206e52c291
[ "BSD-3-Clause" ]
null
null
null
cvmfs/manifest_fetch.cc
wtsi-hgi/cvmfs
ac781efef859f2f6ec4e12b06f63e3206e52c291
[ "BSD-3-Clause" ]
null
null
null
/** * This file is part of the CernVM File System. */ #include "manifest_fetch.h" #include <string> #include <vector> #include <cassert> #include "manifest.h" #include "download.h" #include "signature.h" #include "util.h" using namespace std; // NOLINT namespace manifest { /** * Checks whether the fingerprin...
34.148855
83
0.673857
[ "vector" ]
a5e9e6ec91582c84bf781419f20efd80ab58d07a
1,679
cc
C++
cc/nn/NNObserver.cc
kiri11/alpha-zero-cpp
00f19e65deaa274e7c547d6f5ad5470904fe347c
[ "MIT" ]
1
2020-07-23T16:49:03.000Z
2020-07-23T16:49:03.000Z
cc/nn/NNObserver.cc
kiri11/alpha-zero-cpp
00f19e65deaa274e7c547d6f5ad5470904fe347c
[ "MIT" ]
null
null
null
cc/nn/NNObserver.cc
kiri11/alpha-zero-cpp
00f19e65deaa274e7c547d6f5ad5470904fe347c
[ "MIT" ]
1
2021-04-18T14:39:12.000Z
2021-04-18T14:39:12.000Z
#include "NNObserver.h" using namespace Eigen; void setScheduling(std::thread &th, int policy, int priority) { sched_param sch_params; sch_params.sched_priority = priority; if(pthread_setschedparam(th.native_handle(), policy, &sch_params)) { std::cerr << "Failed to set Thread scheduling : "...
29.982143
99
0.65277
[ "model" ]
a5eabc78639ef13924556b31aa7afc22d98043c2
4,171
cc
C++
src/documents.cc
PaoJiao/slide
fccdcac94e951de113b8f0116084c41974e956da
[ "MIT" ]
null
null
null
src/documents.cc
PaoJiao/slide
fccdcac94e951de113b8f0116084c41974e956da
[ "MIT" ]
null
null
null
src/documents.cc
PaoJiao/slide
fccdcac94e951de113b8f0116084c41974e956da
[ "MIT" ]
null
null
null
#include "documents.h" #include "base64.h" #include <iostream> #include <vector> #include "debug_print.h" namespace slide { Page::Page(const int w, const int h, const std::string &name) : size_(w, h), name_(name), surface_(nullptr), cr_(nullptr) {} Page::~Page(void) { debug_print("Page_b::dtor destroying _surfa...
28.568493
78
0.660753
[ "vector" ]
a5eeec3299c8da5f8cff6745b816224683a27792
3,042
cpp
C++
libs/base/file_system.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
15
2017-10-18T05:08:16.000Z
2022-02-02T11:01:46.000Z
libs/base/file_system.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
null
null
null
libs/base/file_system.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
1
2018-11-10T03:12:57.000Z
2018-11-10T03:12:57.000Z
// SPDX-License-Identifier: MIT // Copyright contributors to the gecko project. #include "file_system.h" #include <map> #include <mutex> #include <system_error> #ifdef _WIN32 # include "win32_file_system.h" #else # include "posix_file_system.h" #endif namespace { std::mutex theMutex; std::map<std::string, st...
23.952756
77
0.50263
[ "vector" ]
a5f0dff361315a8775b2deafb39b1fa0c3ac1b2c
727
hpp
C++
src/frame.hpp
ohowland/waygate
926100c101b30827b52ba9262f3b7dfdbb6f50ad
[ "MIT" ]
null
null
null
src/frame.hpp
ohowland/waygate
926100c101b30827b52ba9262f3b7dfdbb6f50ad
[ "MIT" ]
null
null
null
src/frame.hpp
ohowland/waygate
926100c101b30827b52ba9262f3b7dfdbb6f50ad
[ "MIT" ]
null
null
null
#ifndef CAN_FRAME_H_ #define CAN_FRAME_H_ #include <ctime> namespace can { class Frame { public: Frame() : m_timestamp(std::time(0)), m_id(0), m_len(0), m_data() { } Frame(const uint32_t t_id, const uint8_t t_len, const unsigned char t_data[]) : m_timestamp(std::time(0)), ...
20.771429
81
0.620358
[ "vector" ]
a5f9cd268369c4731b601b9685ff1f512e7e1fe4
4,966
cpp
C++
src/PregameScreen.cpp
thamstras/GamesProgramming
b576760cd12c1a13347bc488a2eb3d5a141abac1
[ "MIT" ]
null
null
null
src/PregameScreen.cpp
thamstras/GamesProgramming
b576760cd12c1a13347bc488a2eb3d5a141abac1
[ "MIT" ]
null
null
null
src/PregameScreen.cpp
thamstras/GamesProgramming
b576760cd12c1a13347bc488a2eb3d5a141abac1
[ "MIT" ]
null
null
null
#include "PregameScreen.h" void transitToGame() { // TODO: Finish transition to Game //Scene::getScene().turn = 1; //Scene::getScene().loadScene(SCENE_GAME_OURTURN); Scene::getScene().startGame(); } PregameScreen::PregameScreen(SDL_Renderer * ren, std::string id) : RenderObject(id) { Scene& scene = Scene::getSc...
21.313305
94
0.640959
[ "render" ]
a5fd5c4ccd00458832af1dcdd9203f3db4aabe42
10,688
cpp
C++
modules/VideoImporter/src/VideoDataOutputPin.cpp
ConnectedVision/ConnectedVision
210e49205ca50f73584178b6cedb298a74cea798
[ "MIT" ]
3
2017-08-12T18:14:00.000Z
2018-11-19T09:15:35.000Z
modules/VideoImporter/src/VideoDataOutputPin.cpp
ConnectedVision/ConnectedVision
210e49205ca50f73584178b6cedb298a74cea798
[ "MIT" ]
null
null
null
modules/VideoImporter/src/VideoDataOutputPin.cpp
ConnectedVision/ConnectedVision
210e49205ca50f73584178b6cedb298a74cea798
[ "MIT" ]
1
2018-11-09T15:57:13.000Z
2018-11-09T15:57:13.000Z
/** * Connected Vision - https://github.com/ConnectedVision * MIT License */ // template include guard #ifndef VideoDataOutputPin_def #define VideoDataOutputPin_def #include <sstream> #include <vector> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <boost/lexical_cast.hpp> #incl...
29.688889
134
0.731287
[ "vector" ]
57065c35f5ce838bf80896ec52474a8ec7c548d3
6,800
cpp
C++
3rdparty/diy/examples/simple/simple.cpp
wgq-iapcm/Parvoro-
9459e1081ff948628358c59207d5fcd8ce60ef8f
[ "BSD-3-Clause" ]
43
2016-10-23T14:52:59.000Z
2022-03-18T20:47:06.000Z
3rdparty/diy/examples/simple/simple.cpp
wgq-iapcm/Parvoro-
9459e1081ff948628358c59207d5fcd8ce60ef8f
[ "BSD-3-Clause" ]
39
2016-11-25T22:14:09.000Z
2022-01-13T21:44:51.000Z
3rdparty/diy/examples/simple/simple.cpp
wgq-iapcm/Parvoro-
9459e1081ff948628358c59207d5fcd8ce60ef8f
[ "BSD-3-Clause" ]
21
2016-11-28T22:08:36.000Z
2022-03-16T10:31:32.000Z
// // Simple neighbor communication by creating a linear chain of blocks, each // block connected to two neighbors (predecessor and successor), except for the // first and the last blocks, which have only one or the other. Each block // computes an average of its values and those of its neighbors. The average is // sto...
38.202247
99
0.562647
[ "object", "vector" ]
570e6134d550a5476471c8ce803f2ae1ea750a26
17,648
cpp
C++
src/caffe/mpi.cpp
matex-org/caffe-intel
8435dc0803542d2b0a5524c3a3c7d2ea9f99da1c
[ "Intel", "BSD-2-Clause" ]
1
2019-08-16T13:09:38.000Z
2019-08-16T13:09:38.000Z
src/caffe/mpi.cpp
matex-org/caffe-intel
8435dc0803542d2b0a5524c3a3c7d2ea9f99da1c
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/mpi.cpp
matex-org/caffe-intel
8435dc0803542d2b0a5524c3a3c7d2ea9f99da1c
[ "Intel", "BSD-2-Clause" ]
null
null
null
#ifdef USE_MPI #include <mpi.h> #endif #include <glog/logging.h> #include <stdlib.h> #include <stdexcept> #include <string> #include <unistd.h> // for gethostid() #include <vector> #include "caffe/mpi.hpp" namespace caffe { namespace mpi { #ifdef USE_MPI MPI_Comm default_comm_ = MPI_COMM_WORLD; MPI_Comm get_comm_de...
25.763504
106
0.665798
[ "vector" ]
57101b158025061f205169039f25b8cc0c34aea8
8,154
cpp
C++
module/MJplayer.cpp
haochunchang/Mahjong
3385022d85ba765da47965694d163cfc5ab8e56a
[ "MIT" ]
null
null
null
module/MJplayer.cpp
haochunchang/Mahjong
3385022d85ba765da47965694d163cfc5ab8e56a
[ "MIT" ]
null
null
null
module/MJplayer.cpp
haochunchang/Mahjong
3385022d85ba765da47965694d163cfc5ab8e56a
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <vector> #include "MJplayer.h" #include "MJhand.h" #include "MJcollection.h" using namespace std; MJplayer::MJplayer() { // cout << "Call MJplayer constructor." << endl; _position = 0; _money = 0; _hand = MJhand(); count_angone = 0; out = vector<vect...
23.033898
97
0.524037
[ "vector" ]
571537a0542e1c0bb5804da0442282ebaf081ae9
5,685
cc
C++
Examples/pingpong/client.cc
rolandqi/SoL
30b36fa4446c5c96f2e1ddc43aa951593ac9f5bf
[ "Apache-2.0" ]
2
2020-05-25T10:23:51.000Z
2020-06-02T14:51:17.000Z
Examples/pingpong/client.cc
rolandqi/SoL
30b36fa4446c5c96f2e1ddc43aa951593ac9f5bf
[ "Apache-2.0" ]
null
null
null
Examples/pingpong/client.cc
rolandqi/SoL
30b36fa4446c5c96f2e1ddc43aa951593ac9f5bf
[ "Apache-2.0" ]
null
null
null
#include <net/Client.h> #include <base/logging.h> #include <base/Thread.h> #include <net/EventLoop.h> #include <net/EventLoopThreadPool.h> #include <base/Atomic.h> // #include <boost/bind.hpp> // #include <boost/ptr_container/ptr_vector.hpp> #include <functional> #include <memory> #include <utility> #include <stdio.h...
22.74
103
0.618821
[ "vector" ]
571fe383a182eb6a9d9931b93a3f37a6de29ee06
2,786
cpp
C++
cpp/mappingdensity/mappingdensity.cpp
KazuCocoa/profilo
29831cd73e7933a72914d96a20814a285608c539
[ "Apache-2.0" ]
1
2019-01-14T13:37:12.000Z
2019-01-14T13:37:12.000Z
cpp/mappingdensity/mappingdensity.cpp
KazuCocoa/profilo
29831cd73e7933a72914d96a20814a285608c539
[ "Apache-2.0" ]
null
null
null
cpp/mappingdensity/mappingdensity.cpp
KazuCocoa/profilo
29831cd73e7933a72914d96a20814a285608c539
[ "Apache-2.0" ]
null
null
null
// Copyright 2004-present Facebook. All Rights Reserved. #include <sys/mman.h> #include <sys/types.h> #include <unistd.h> #include <cstring> #include <fstream> #include <regex> #include <sstream> #include <string> #include <system_error> #include <vector> #include <fb/log.h> #include <mappingdensity/mappingdensity.h>...
27.584158
79
0.641062
[ "vector" ]
5722e9585459e4c62b2616b9f6a9f8f6d0e4810f
5,593
cpp
C++
src/engine_helper.cpp
tomalbrc/rawket-engine
2b7da4f33c874154120fc2d1529081f4f4ae33c7
[ "MIT" ]
null
null
null
src/engine_helper.cpp
tomalbrc/rawket-engine
2b7da4f33c874154120fc2d1529081f4f4ae33c7
[ "MIT" ]
1
2016-03-18T13:54:22.000Z
2016-08-11T22:02:28.000Z
src/engine_helper.cpp
tomalbrc/FayEngine
2b7da4f33c874154120fc2d1529081f4f4ae33c7
[ "MIT" ]
null
null
null
// // engine_helper.cpp // rawket // // Created by Tom Albrecht on 12.12.15. // // #include "engine_helper.hpp" #include "SDL_ttf.h" #include "texture.hpp" #include "types.hpp" #include <fstream> RKT_NAMESPACE_BEGIN engine_helper::engine_helper() { debug_log("engine_helper::engine_helper()"); } engine_hel...
27.150485
150
0.670839
[ "object", "vector" ]
572811e9cbcce031815dea86eda296258634b056
2,324
hxx
C++
opencascade/gp_EulerSequence.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/gp_EulerSequence.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/gp_EulerSequence.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1993-04-13 // Created by: JCV // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser Gen...
30.181818
81
0.767642
[ "object", "3d" ]
572b55506335e11410ccdacdd8521e5e2c89eee7
9,843
cxx
C++
smtk/mesh/moab/ModelEntityPointLocator.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
40
2015-02-21T19:55:54.000Z
2022-01-06T13:13:05.000Z
smtk/mesh/moab/ModelEntityPointLocator.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
127
2015-01-15T20:55:45.000Z
2021-08-19T17:34:15.000Z
smtk/mesh/moab/ModelEntityPointLocator.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
27
2015-03-04T14:17:51.000Z
2021-12-23T01:05:42.000Z
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
35.663043
98
0.64076
[ "mesh", "geometry", "vector", "model" ]
5739143fadbf009a4add3a6f3aab2478938b01ed
3,770
hpp
C++
include/Org/BouncyCastle/Crypto/Signers/PlainDsaEncoding.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Crypto/Signers/PlainDsaEncoding.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Crypto/Signers/PlainDsaEncoding.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: Org.BouncyCastle.Crypto.Signers.IDsaEncoding #include "Org/BouncyCastl...
59.84127
168
0.727851
[ "object" ]
57448663141ebeea09fbc214612d140a14145722
11,440
cc
C++
src/pgesv/HPLAI_patrsv.cc
ATestGroup233/HPL-AI
2eb76d856d9ed2bd565014e1004d735755e061c9
[ "MIT" ]
11
2021-03-16T11:21:42.000Z
2022-01-25T20:42:16.000Z
src/pgesv/HPLAI_patrsv.cc
ATestGroup233/HPL-AI
2eb76d856d9ed2bd565014e1004d735755e061c9
[ "MIT" ]
1
2021-03-13T18:19:54.000Z
2021-03-20T14:07:31.000Z
src/pgesv/HPLAI_patrsv.cc
ATestGroup233/HPL-AI
2eb76d856d9ed2bd565014e1004d735755e061c9
[ "MIT" ]
5
2021-03-16T11:21:44.000Z
2022-02-13T05:09:24.000Z
/* * MIT License * * Copyright (c) 2021 WuK * * 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, me...
34.666667
144
0.503409
[ "vector" ]
57557fdb2afccb761d1fcef850dbdccd1c7dbb7f
11,585
cpp
C++
src/main.cpp
joshshadik/vandalizer-vr
d827980878457908f25cb585481c792d50012efa
[ "MIT" ]
null
null
null
src/main.cpp
joshshadik/vandalizer-vr
d827980878457908f25cb585481c792d50012efa
[ "MIT" ]
null
null
null
src/main.cpp
joshshadik/vandalizer-vr
d827980878457908f25cb585481c792d50012efa
[ "MIT" ]
null
null
null
#ifdef USE_WASM #include <GLES3/gl3.h> #include <GLES3/gl3platform.h> #define GLFW_INCLUDE_ES3 #include <emscripten.h> #include <emscripten/html5.h> #include <emscripten/vr.h> #else #include <GL/glew.h> #include <GL/GL.h> #endif #include <GLFW/glfw3.h> #include "app.h" #include "controls.h" #include "resourceManage...
26.092342
125
0.601813
[ "render" ]
57597ee333f639c62d83c94c6397f786829d6174
8,069
cpp
C++
copygc/gc.cpp
knizhnik/cppgc
43569f51f84281fb2cbef3a8f21d84eaf529195c
[ "Apache-2.0" ]
16
2015-02-11T13:15:01.000Z
2021-12-21T09:38:35.000Z
copygc/gc.cpp
knizhnik/cppgc
43569f51f84281fb2cbef3a8f21d84eaf529195c
[ "Apache-2.0" ]
2
2017-08-08T13:02:39.000Z
2017-11-27T09:50:32.000Z
copygc/gc.cpp
knizhnik/cppgc
43569f51f84281fb2cbef3a8f21d84eaf529195c
[ "Apache-2.0" ]
1
2015-11-20T16:00:27.000Z
2015-11-20T16:00:27.000Z
#include <new> #include "gc.h" namespace GC { ThreadContext<MemoryAllocator> MemoryAllocator::ctx; Object* MemoryAllocator::_allocate(size_t size) { if (allocated > autoStartThreshold) { gc(); } size = (size + sizeof(ObjectHeader) + 7) & ~7; // align on 8 ...
30.680608
110
0.519891
[ "object" ]
575b1975ff2f4216c00e465d47509c14150a5cbd
2,319
hpp
C++
redfish-core/include/utils/name_utils.hpp
raviteja-b/bmcweb
267e39ad24ac55bf965fa8b12c592ce98f7f95ab
[ "Apache-2.0" ]
null
null
null
redfish-core/include/utils/name_utils.hpp
raviteja-b/bmcweb
267e39ad24ac55bf965fa8b12c592ce98f7f95ab
[ "Apache-2.0" ]
null
null
null
redfish-core/include/utils/name_utils.hpp
raviteja-b/bmcweb
267e39ad24ac55bf965fa8b12c592ce98f7f95ab
[ "Apache-2.0" ]
null
null
null
#pragma once #include <async_resp.hpp> #include <algorithm> #include <string> #include <variant> #include <vector> namespace redfish { namespace name_util { /** * @brief Populate the collection "Members" from a GetSubTreePaths search of * inventory * * @param[i,o] asyncResp Async response object * @par...
27.282353
77
0.573954
[ "object", "vector" ]
575b73a03bbecf0e7c9c437bd48c742303d80a25
1,638
cpp
C++
modules/gate_ops/bit_group/test_bit_group.cpp
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
29
2020-04-13T04:40:35.000Z
2021-12-17T11:21:35.000Z
modules/gate_ops/bit_group/test_bit_group.cpp
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
6
2020-03-12T17:40:00.000Z
2021-01-20T12:15:08.000Z
modules/gate_ops/bit_group/test_bit_group.cpp
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
9
2020-09-28T05:00:30.000Z
2022-03-04T02:11:49.000Z
/** * @file test_arithmetic.cpp * @author Lee J. O'Riordan (lee.oriordan@ichec.ie) * @brief Tests for quantum arithmetic using the (QFT) implementation. * @version 0.1 * @date 2019-09-10 * * @copyright Copyright (c) 2019 * */ //#define CATCH_CONFIG_RUNNER //#define CATCH_CONFIG_MAIN #include "catch2/catch....
26
89
0.586691
[ "vector" ]
575d2b1dac6af98086dff99c0001611aeee25bae
1,010
cpp
C++
Algorithms/0199.BinaryTreeRightSideView/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0199.BinaryTreeRightSideView/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0199.BinaryTreeRightSideView/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <vector> #include "TreeNode.h" #include "TreeNodeUtils.h" #include "gtest/gtest.h" using CommonLib::TreeNode; namespace { class Solution { public: std::vector<int> rightSideView(TreeNode* root) const { if (root == nullptr) return {}; std::vector<int> result; tra...
20.2
117
0.619802
[ "vector" ]
575e66d2a53ebcd72e093a69fbd3f0a183463d0b
2,447
cpp
C++
vkoo/src/core/Buffer.cpp
KaiSut0/interactive-hex-meshing
187c926610ca5617f569405c23ab5a62b189e100
[ "MIT" ]
129
2021-09-07T17:15:18.000Z
2022-02-28T08:59:02.000Z
vkoo/src/core/Buffer.cpp
KaiSut0/interactive-hex-meshing
187c926610ca5617f569405c23ab5a62b189e100
[ "MIT" ]
2
2021-10-03T07:30:20.000Z
2022-01-06T16:05:41.000Z
vkoo/src/core/Buffer.cpp
KaiSut0/interactive-hex-meshing
187c926610ca5617f569405c23ab5a62b189e100
[ "MIT" ]
11
2021-09-08T11:29:09.000Z
2022-03-17T08:39:50.000Z
#include "vkoo/core/Buffer.h" #include "vkoo/core/Device.h" #include "vkoo/utils.h" namespace vkoo { namespace core { Buffer::Buffer(Device& device, VkDeviceSize size, VkBufferUsageFlags usage, VkMemoryPropertyFlags properties) : device_(device), size_(size), mapped_data_{nullptr}, mapped_(false) {...
28.126437
77
0.702902
[ "vector" ]
57650c87d1b8f9fe62c4b79ae6d2ef0f1b3965ac
8,092
cpp
C++
mainwindow.cpp
pbek/QCompilerExplorer
eb5bd0a35715e81af61a43eff3f83921be2b0520
[ "MIT" ]
1
2021-11-18T05:48:30.000Z
2021-11-18T05:48:30.000Z
mainwindow.cpp
pbek/QCompilerExplorer
eb5bd0a35715e81af61a43eff3f83921be2b0520
[ "MIT" ]
null
null
null
mainwindow.cpp
pbek/QCompilerExplorer
eb5bd0a35715e81af61a43eff3f83921be2b0520
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include "compilerservice.h" #include "settingsdialog.h" #include "asmparser.h" #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QMessageBox> #include <QProcess> #include <QSettings> #include <QSplitter> #include <QTemporaryFile> #incl...
31.609375
124
0.657192
[ "geometry", "object" ]
577d623cbb983faa1ace8c6b934da7457c6ff5d8
332
cpp
C++
Dataset/Leetcode/valid/136/339.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/136/339.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/136/339.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int singleNumber(vector<int>& nums) { sort(nums.begin(), nums.end()); int i = 0; for(; i < nums.size() - 1; i+=2) { if(nums[i] != nums[i + 1]) { break; } } return i == nums.size() - 2 ? nums[nums.size() - 1] : nums[i]...
20.75
69
0.418675
[ "vector" ]
578203933e08c7b06bae95ec0ee6abe029dbeac4
4,512
cpp
C++
tests/src/OptionalTests.cpp
TemporalResearch/trlang
3bfb98e074cfcfd7f3f3dfe49afc7931f2366405
[ "MIT" ]
null
null
null
tests/src/OptionalTests.cpp
TemporalResearch/trlang
3bfb98e074cfcfd7f3f3dfe49afc7931f2366405
[ "MIT" ]
null
null
null
tests/src/OptionalTests.cpp
TemporalResearch/trlang
3bfb98e074cfcfd7f3f3dfe49afc7931f2366405
[ "MIT" ]
null
null
null
// // Created by Michael Lynch on 08/05/2021. // #include <trlang/functional/optional.hpp> #include <auto_test.hpp> #include <catch2/catch.hpp> TEST_CASE("shouldImplicitlyConvertValueToOptional", "[3]") { int value = 3; trl::optional<int> opt = value; REQUIRE(opt.value() == value); } TEST_CASE("shouldN...
21.485714
76
0.638741
[ "object" ]
5783c866d6960a98100d163f94657cc88fde45f7
1,323
cpp
C++
dynamic programming/474. Ones and Zeroes.cpp
Constantine-L01/leetcode
1f1e3a8226fcec036370e75c1d69e823d1323392
[ "MIT" ]
1
2021-04-08T10:33:48.000Z
2021-04-08T10:33:48.000Z
dynamic programming/474. Ones and Zeroes.cpp
Constantine-L01/leetcode
1f1e3a8226fcec036370e75c1d69e823d1323392
[ "MIT" ]
null
null
null
dynamic programming/474. Ones and Zeroes.cpp
Constantine-L01/leetcode
1f1e3a8226fcec036370e75c1d69e823d1323392
[ "MIT" ]
1
2021-02-23T05:58:58.000Z
2021-02-23T05:58:58.000Z
You are given an array of binary strings strs and two integers m and n. Return the size of the largest subset of strs such that there are at most m 0's and n 1's in the subset. A set x is a subset of a set y if all elements of x are also elements of y. Example 1: Input: strs = ["10","0001","111001","1","0"], m = 5...
31.5
109
0.484505
[ "vector" ]
c232743f415e17ce85a05a7a518b552c03f530f2
5,380
cpp
C++
source/engine/systems/debug_ui_system/panels/performance_panel.cpp
DatBeQuiet/GLRenderer
1a2d272e7f7d4e9b5283354fd2fb209621f384ab
[ "MIT" ]
7
2020-07-12T09:38:26.000Z
2020-11-22T14:04:26.000Z
source/engine/systems/debug_ui_system/panels/performance_panel.cpp
DatBeQuiet/GLRenderer
1a2d272e7f7d4e9b5283354fd2fb209621f384ab
[ "MIT" ]
null
null
null
source/engine/systems/debug_ui_system/panels/performance_panel.cpp
DatBeQuiet/GLRenderer
1a2d272e7f7d4e9b5283354fd2fb209621f384ab
[ "MIT" ]
null
null
null
// Copyright (c) 2019 Guillem Costa Miquel, kayter72@gmail.com // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files(the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, cop...
43.387097
145
0.72119
[ "geometry" ]
c23e0545aef052cf8d4ea1d64ae9878bc28959ff
2,055
hxx
C++
resources/home/dnanexus/root/include/ROOT/RRootDS.hxx
edawson/parliament2
2632aa3484ef64c9539c4885026b705b737f6d1e
[ "Apache-2.0" ]
null
null
null
resources/home/dnanexus/root/include/ROOT/RRootDS.hxx
edawson/parliament2
2632aa3484ef64c9539c4885026b705b737f6d1e
[ "Apache-2.0" ]
null
null
null
resources/home/dnanexus/root/include/ROOT/RRootDS.hxx
edawson/parliament2
2632aa3484ef64c9539c4885026b705b737f6d1e
[ "Apache-2.0" ]
1
2020-05-28T23:01:44.000Z
2020-05-28T23:01:44.000Z
// Author: Enrico Guiraud, Danilo Piparo CERN 9/2017 /************************************************************************* * Copyright (C) 1995-2016, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
34.830508
98
0.617032
[ "vector" ]
c24c6974351bbefed4d070da6f922f840007018f
5,621
cpp
C++
src/psac.cpp
patflick/psac
fe93e3644270d0b77131d4fcc72297c948f3d22b
[ "Apache-2.0" ]
43
2015-11-12T01:11:11.000Z
2022-03-07T13:07:46.000Z
src/psac.cpp
patflick/psac
fe93e3644270d0b77131d4fcc72297c948f3d22b
[ "Apache-2.0" ]
3
2018-09-07T01:33:19.000Z
2021-11-14T13:09:00.000Z
src/psac.cpp
patflick/psac
fe93e3644270d0b77131d4fcc72297c948f3d22b
[ "Apache-2.0" ]
11
2016-01-29T20:10:56.000Z
2021-11-01T10:43:32.000Z
/* * Copyright 2015 Georgia Institute of Technology * * 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 applicab...
35.802548
113
0.613058
[ "vector" ]
c24d4f35ac2d589f883019b69f433d9b8fe2e0cb
1,943
cpp
C++
Clerk/UI/TagsPopup.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
14
2016-11-01T15:48:02.000Z
2020-07-15T13:00:27.000Z
Clerk/UI/TagsPopup.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
29
2017-11-16T04:15:33.000Z
2021-12-22T07:15:42.000Z
Clerk/UI/TagsPopup.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
2
2018-08-15T15:25:11.000Z
2019-01-28T12:49:50.000Z
#include "TagsPopup.h" TagsPopup::TagsPopup(wxWindow *parent) : wxPopupWindow(parent) { panel = new wxScrolledWindow(this, wxID_ANY); panel->SetBackgroundColour(*wxLIGHT_GREY); list = new wxListCtrl(panel, wxID_ANY, wxPoint(0, 0), wxSize(200, 200), wxLC_REPORT | wxLC_NO_HEADER | wxLC_SINGLE_SEL); list->Bind(wxEV...
22.593023
121
0.710757
[ "vector" ]
c24dfdc79fa215300691a7e1f70a440a53dc9081
5,468
cpp
C++
wallet/trezor_key_keeper.cpp
coincash/kitap-kabile-hakk-nda
26616a7d0e8bedc561d031f49190f896faa88233
[ "Apache-2.0" ]
null
null
null
wallet/trezor_key_keeper.cpp
coincash/kitap-kabile-hakk-nda
26616a7d0e8bedc561d031f49190f896faa88233
[ "Apache-2.0" ]
1
2021-07-24T13:50:37.000Z
2021-07-24T13:50:37.000Z
wallet/trezor_key_keeper.cpp
coincash/kitap-kabile-hakk-nda
26616a7d0e8bedc561d031f49190f896faa88233
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The Beam Team // // 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...
31.976608
251
0.62564
[ "vector" ]
c2543c87b73840b5e6929458f853df7af8ca4b94
1,301
cpp
C++
src/unsignedzone.cpp
sischkg/nxnsattack
c20896e40187bbcacb5c0255ff8f3cc7d0592126
[ "MIT" ]
5
2020-05-22T10:01:51.000Z
2022-01-01T04:45:14.000Z
src/unsignedzone.cpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
1
2020-06-07T14:09:44.000Z
2020-06-07T14:09:44.000Z
src/unsignedzone.cpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
2
2020-03-10T03:06:20.000Z
2021-07-25T15:07:45.000Z
#include "unsignedzone.hpp" #include "unsignedzoneimp.hpp" namespace dns { UnsignedZone::UnsignedZone( const Domainname &zone_name ) : mImp( new UnsignedZoneImp( zone_name ) ) {} void UnsignedZone::add( std::shared_ptr<RRSet> rrset ) { mImp->add( rrset ); } MessageInfo UnsignedZone::getAnsw...
21.683333
99
0.648732
[ "vector" ]
c25e70762b57ab044b8a0539c451d73aaa82fe77
7,276
cpp
C++
20.cpp
gabrielivascu/AoC2019
59bc479d23da240e74038fc4e866df98188a9b79
[ "MIT" ]
null
null
null
20.cpp
gabrielivascu/AoC2019
59bc479d23da240e74038fc4e866df98188a9b79
[ "MIT" ]
null
null
null
20.cpp
gabrielivascu/AoC2019
59bc479d23da240e74038fc4e866df98188a9b79
[ "MIT" ]
null
null
null
#include "aoc.h" struct portal_t { std::string name; aoc::point_2d_t pos[2]; portal_t() { pos[0] = pos[1] = {-1, -1}; } portal_t(std::string name, aoc::point_2d_t p) : name(std::move(name)) { pos[0] = std::move(p); pos[1] = {-1, -1}; } auto walk(const aoc::point_2d_t& p) const...
32.482143
110
0.489417
[ "vector" ]
c25eab139141135233c50c22a3629aa343336b25
5,906
cpp
C++
image.cpp
mxportocarrero/RGB-D_3DReconstruction
959c833cd1854d2d7781ae049e6dbb957d1fba72
[ "MIT" ]
null
null
null
image.cpp
mxportocarrero/RGB-D_3DReconstruction
959c833cd1854d2d7781ae049e6dbb957d1fba72
[ "MIT" ]
null
null
null
image.cpp
mxportocarrero/RGB-D_3DReconstruction
959c833cd1854d2d7781ae049e6dbb957d1fba72
[ "MIT" ]
null
null
null
#include "image.h" //Aca lo unico que tenemos que hacer es leer el archivo depth.txt and rgb.txt //Segun el numero de frame que necesitemos //Constructor Image::Image(DataSet * _dataset, int frame_number, int intrinsics){ dataset = _dataset; noframe = frame_number; Intrinsics = new Camera(intrinsics); /...
30.921466
116
0.605317
[ "vector" ]
c262f9323a7fced0e8802e55164484b78bc6caf7
3,952
cpp
C++
Source/StomtPlugin/Private/StomtPluginWidget.cpp
SaraKausch/stomt-unreal-plugin
ccf928f70df6cca8e93536ae820d187b3cf93948
[ "MIT" ]
null
null
null
Source/StomtPlugin/Private/StomtPluginWidget.cpp
SaraKausch/stomt-unreal-plugin
ccf928f70df6cca8e93536ae820d187b3cf93948
[ "MIT" ]
null
null
null
Source/StomtPlugin/Private/StomtPluginWidget.cpp
SaraKausch/stomt-unreal-plugin
ccf928f70df6cca8e93536ae820d187b3cf93948
[ "MIT" ]
null
null
null
// Copyright 2018 STOMT GmbH. All Rights Reserved. #pragma once #include "StomtPluginWidget.h" #include "StomtPluginPrivatePCH.h" #include "StomtRestRequest.h" #include "StomtLabel.h" #include "Runtime/Engine/Classes/Components/SceneCaptureComponent2D.h" UStomtPluginWidget::~UStomtPluginWidget() { this->LoginErrorC...
22.712644
114
0.708755
[ "object" ]
c266f8283a30e4931b6ebd63efaca8f9ed1da852
6,395
cpp
C++
Plugins/Engine/Passes.cpp
xycsoscyx/gekengine
cb9c933c6646169c0af9c7e49be444ff6f97835d
[ "MIT" ]
1
2019-04-22T00:10:49.000Z
2019-04-22T00:10:49.000Z
Plugins/Engine/Passes.cpp
xycsoscyx/gekengine
cb9c933c6646169c0af9c7e49be444ff6f97835d
[ "MIT" ]
null
null
null
Plugins/Engine/Passes.cpp
xycsoscyx/gekengine
cb9c933c6646169c0af9c7e49be444ff6f97835d
[ "MIT" ]
2
2017-10-16T15:40:55.000Z
2019-04-22T00:10:50.000Z
#include "GEK/API/Renderer.hpp" #include "Passes.hpp" namespace Gek { ClearData::ClearData(ClearType type, std::string const &data) : type(type) { switch (type) { case ClearType::Float: case ClearType::Target: floats.set(String::Convert(data, 0.0f)); break...
29.606481
93
0.541673
[ "object", "vector" ]
c270ddb2ac035df4577ee1167e8b09962b442952
2,870
hpp
C++
cmdstan/stan/lib/stan_math/stan/math/torsten/dsolve/pmx_integrate_ode_group_rk45.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/stan/math/torsten/dsolve/pmx_integrate_ode_group_rk45.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/stan/math/torsten/dsolve/pmx_integrate_ode_group_rk45.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_TORSTEN_DSOLVE_INTEGRATE_ODE_GROUP_RK45_HPP #define STAN_MATH_TORSTEN_DSOLVE_INTEGRATE_ODE_GROUP_RK45_HPP #include <stan/math/torsten/mpi/pmx_population_integrator.hpp> #include <stan/math/torsten/dsolve/pmx_integrate_ode_rk45.hpp> #include <stan/math/torsten/dsolve/ode_check.hpp> namespace torsten ...
46.290323
122
0.635889
[ "vector", "model" ]
c27486280f438b01753a587645164e97387d74d6
3,927
cpp
C++
book/CH09/S18_Preparing_a_single_frame_of_animation.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
5
2019-03-02T16:29:15.000Z
2021-11-07T11:07:53.000Z
book/CH09/S18_Preparing_a_single_frame_of_animation.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
null
null
null
book/CH09/S18_Preparing_a_single_frame_of_animation.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
2
2018-07-10T18:15:40.000Z
2020-01-03T04:02:32.000Z
// // Created by yangyanjun on 2017/6/23. // // // Chapter: 09 Command Recording and Drawing // Recipe: 18 Preparing a single frame of animation #include "../CH02/S15_Acquiring_a_swapchain_image.h" #include "../CH02/S16_Presenting_an_image.h" #include "../CH06/S05_Creating_a_framebuffer.h" #include "S18_Preparing_a_...
58.61194
160
0.447925
[ "vector" ]
c275dc7f9901e7d2abda59efc081b551d15ab734
38,474
cpp
C++
main/src/Main/MainSystem.cpp
eapcivil/EXUDYN
52bddc8c258cda07e51373f68e1198b66c701d03
[ "BSD-3-Clause-Open-MPI" ]
1
2020-10-06T08:06:25.000Z
2020-10-06T08:06:25.000Z
main/src/Main/MainSystem.cpp
eapcivil/EXUDYN
52bddc8c258cda07e51373f68e1198b66c701d03
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
main/src/Main/MainSystem.cpp
eapcivil/EXUDYN
52bddc8c258cda07e51373f68e1198b66c701d03
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
/** *********************************************************************************************** * @class MainSystem * @brief MainSystem and ObjectFactory * @details Details: - handling of CSystem - initialization - pybind11 interface - object factory * * @author Gerstmayr Johannes * @date ...
35.008189
185
0.681837
[ "mesh", "render", "object", "vector" ]
c2782741e29db52b87a48107bbd8ac857db8aa2c
2,354
hpp
C++
miniFE-sycl/basic/LockingMatrix.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
692
2015-11-12T13:56:43.000Z
2022-03-30T03:45:59.000Z
miniFE-sycl/basic/LockingMatrix.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
1,096
2015-11-12T09:08:22.000Z
2022-03-31T21:48:41.000Z
miniFE-sycl/basic/LockingMatrix.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
224
2015-11-12T21:17:03.000Z
2022-03-30T00:57:48.000Z
#ifndef _LockingMatrix_hpp_ #define _LockingMatrix_hpp_ //@HEADER // ************************************************************************ // // miniFE: simple finite-element assembly and linear-solve // Copyright (2006) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85...
31.386667
104
0.667375
[ "vector" ]
c27dd10be4be9441d33a4c1cd4654dd0d6fa509a
4,278
cpp
C++
ED2/MatrixList.cpp
FabianaFerreira/topicos-matematica-aplicada
71e0aef768b2d87511f698ab811faa49c172fa42
[ "MIT" ]
null
null
null
ED2/MatrixList.cpp
FabianaFerreira/topicos-matematica-aplicada
71e0aef768b2d87511f698ab811faa49c172fa42
[ "MIT" ]
null
null
null
ED2/MatrixList.cpp
FabianaFerreira/topicos-matematica-aplicada
71e0aef768b2d87511f698ab811faa49c172fa42
[ "MIT" ]
null
null
null
/* --------------------------------------- Fabiana Ferreira Fonseca Universidade Federal do Rio de Janeiro DRE: 115037241 ----------------------------------------*/ #include "MatrixList.h" #include "functions.h" MatrixList::MatrixList(){}; MatrixList::MatrixList(std::string filename) { char index; uns...
23.377049
86
0.514493
[ "vector" ]
c28fcd276e5f79138f438cb9cd7cdfa5648e451f
8,229
cc
C++
centreon-engine/src/retention/downtime.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
8
2020-07-26T09:12:02.000Z
2022-03-30T17:24:29.000Z
centreon-engine/src/retention/downtime.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
47
2020-06-18T12:11:37.000Z
2022-03-16T10:28:56.000Z
centreon-engine/src/retention/downtime.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
5
2020-06-29T14:22:02.000Z
2022-03-17T10:34:10.000Z
/* ** Copyright 2011-2013 Merethis ** ** This file is part of Centreon Engine. ** ** Centreon Engine is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Engine is distributed in the hope...
22.669421
80
0.668246
[ "object" ]
c28fd589252c83d9f6969090a81d8188a9bdc198
7,660
cpp
C++
src/Xtb/Xtb/Wrapper/GFNFFWrapper.cpp
qcscine/xtb_wrapper
5295244771ed5efe3d9e1582e07ed9d26545d387
[ "BSD-3-Clause" ]
null
null
null
src/Xtb/Xtb/Wrapper/GFNFFWrapper.cpp
qcscine/xtb_wrapper
5295244771ed5efe3d9e1582e07ed9d26545d387
[ "BSD-3-Clause" ]
null
null
null
src/Xtb/Xtb/Wrapper/GFNFFWrapper.cpp
qcscine/xtb_wrapper
5295244771ed5efe3d9e1582e07ed9d26545d387
[ "BSD-3-Clause" ]
1
2022-02-04T13:40:00.000Z
2022-02-04T13:40:00.000Z
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ /* Internal Includes */ #include "Xtb/Wrapper/GFNFFWrapper.h" #include "Xtb/Wrapper/XtbSettings.h" /* ...
43.771429
120
0.701567
[ "vector", "model" ]
c2958493529754bc893d10657ea5cb9a5e613964
4,819
cpp
C++
Clustering/k-means Clustering.cpp
PetarV-/Machine-Learning
9f5da3bc49f81895e04e3c6d7677f4c0dc8760b9
[ "MIT" ]
9
2018-07-22T11:03:22.000Z
2022-01-02T11:45:33.000Z
Clustering/k-means Clustering.cpp
PetarV-/Machine-Learning
9f5da3bc49f81895e04e3c6d7677f4c0dc8760b9
[ "MIT" ]
null
null
null
Clustering/k-means Clustering.cpp
PetarV-/Machine-Learning
9f5da3bc49f81895e04e3c6d7677f4c0dc8760b9
[ "MIT" ]
6
2017-04-18T16:53:27.000Z
2020-02-18T04:48:32.000Z
/* Petar 'PetarV' Velickovic Algorithm: k-means Clustering (Lloyd's Algorithm) */ #include <stdio.h> #include <math.h> #include <string.h> #include <assert.h> #include <iostream> #include <vector> #include <list> #include <string> #include <algorithm> #include <queue> #include <stack> #include <set> #include <map> #...
25.497354
93
0.512139
[ "vector" ]
c2a6042597119184bd5f029ed85005ce8c298ccf
3,483
cpp
C++
src/Lynx/Components/CameraComponent.cpp
ichi-raven/LynxEngine
c3541498e15d526f78f80ece1ce8a725457ae1c1
[ "MIT" ]
null
null
null
src/Lynx/Components/CameraComponent.cpp
ichi-raven/LynxEngine
c3541498e15d526f78f80ece1ce8a725457ae1c1
[ "MIT" ]
null
null
null
src/Lynx/Components/CameraComponent.cpp
ichi-raven/LynxEngine
c3541498e15d526f78f80ece1ce8a725457ae1c1
[ "MIT" ]
null
null
null
#include <Lynx/Components/CameraComponent.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/quaternion.hpp> #include <iostream>//debug namespace Lynx { CameraComponent::CameraComponent() { mEnable = true; mLookPos = glm::vec3(0, 0, 10.f); mUp = glm::vec3(0, 1.f, 0); ...
21.76875
116
0.549526
[ "transform" ]
c2a7763ff000f8d6f7452b9d39cda087339f5dc0
7,424
cpp
C++
src/core/mesh/qgsmeshlayerutils.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/core/mesh/qgsmeshlayerutils.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/core/mesh/qgsmeshlayerutils.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsmeshlayerutils.cpp -------------------------- begin : August 2018 copyright : (C) 2018 by Martin Dobias email : wonder dot sk at gmail do...
31.193277
126
0.525189
[ "transform" ]
c2a7e99c27e014d348138e45319c166b80e0613c
3,216
cc
C++
img_analysis/src/img_vent.cc
CodeMasterBond/isaac
b21a533cf30eed012fe12ece047b6d87418d7c6f
[ "Apache-2.0" ]
19
2021-11-18T19:29:16.000Z
2022-02-23T01:55:51.000Z
img_analysis/src/img_vent.cc
CodeMasterBond/isaac
b21a533cf30eed012fe12ece047b6d87418d7c6f
[ "Apache-2.0" ]
13
2021-11-30T17:14:46.000Z
2022-03-22T21:38:33.000Z
img_analysis/src/img_vent.cc
CodeMasterBond/isaac
b21a533cf30eed012fe12ece047b6d87418d7c6f
[ "Apache-2.0" ]
6
2021-12-03T02:38:21.000Z
2022-02-23T01:52:03.000Z
/* Copyright (c) 2021, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The "ISAAC - Integrated System for Autonomous and Adaptive Caretaking * platform" software is licensed under the Apache License, Version 2.0 * ...
36.134831
80
0.675995
[ "vector", "model", "transform" ]
c2b9a667b54350ee547b23b036a36c716c7cf542
4,145
hpp
C++
libcore/src/util/BoundingInfo.hpp
danielrh/sirikata
063740f96f24f6f60b047453f7254297d1a33f29
[ "BSD-3-Clause" ]
3
2015-12-23T14:26:05.000Z
2016-05-09T04:05:51.000Z
libcore/src/util/BoundingInfo.hpp
danielrh/sirikata
063740f96f24f6f60b047453f7254297d1a33f29
[ "BSD-3-Clause" ]
null
null
null
libcore/src/util/BoundingInfo.hpp
danielrh/sirikata
063740f96f24f6f60b047453f7254297d1a33f29
[ "BSD-3-Clause" ]
null
null
null
/* Meru * BoundingInfo.hpp * * Copyright (c) 2009, Stanford University * 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 c...
43.631579
161
0.727141
[ "mesh", "vector", "3d" ]
c2bc37d95cef0358000bc58549cbf46bdcd280ce
2,088
hh
C++
src/lib/MeshFEM/GlobalBenchmark.hh
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
null
null
null
src/lib/MeshFEM/GlobalBenchmark.hh
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
null
null
null
src/lib/MeshFEM/GlobalBenchmark.hh
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
null
null
null
#ifndef GLOBALBENCHMARK_HH #define GLOBALBENCHMARK_HH #include <vector> #include <string> #include <iostream> #include <MeshFEM_export.h> #ifdef BENCHMARK #include <MeshFEM/Timer.hh> MESHFEM_EXPORT extern Timer g_timer; MESHFEM_EXPORT extern std::vector<std::string> g_benchmarkMessages; inline void BENCHMARK_START_T...
33.677419
98
0.71887
[ "vector" ]
c2c55bcec1ec44649ac96c1204d4aa44379398e5
10,355
cpp
C++
source/hw2.cpp
bluemner/image_processing
e5e6a611b4a4a011ea14d6eaac921c8f54300d97
[ "MIT" ]
null
null
null
source/hw2.cpp
bluemner/image_processing
e5e6a611b4a4a011ea14d6eaac921c8f54300d97
[ "MIT" ]
null
null
null
source/hw2.cpp
bluemner/image_processing
e5e6a611b4a4a011ea14d6eaac921c8f54300d97
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <thread> #define _USE_MATH_DEFINES #include <cmath> #include "../headers/PGM.hpp" #define T double #define B 256 #define __SIGMA__ 5 void apply_mask(const int segment_start, // start of segment const int segment_size, // segment size const int mask_size, // size...
32.873016
128
0.526026
[ "vector" ]
c2c98d6777310abf38ec4f3289e3fa4fd6dc0766
3,285
hpp
C++
src/operator/denominator.hpp
susilehtola/aquarius
9160e73bd7e3e0d8d97b10d00d9a4860aee709d2
[ "BSD-3-Clause" ]
18
2015-02-11T15:02:39.000Z
2021-09-24T13:10:12.000Z
src/operator/denominator.hpp
susilehtola/aquarius
9160e73bd7e3e0d8d97b10d00d9a4860aee709d2
[ "BSD-3-Clause" ]
21
2015-06-23T13:32:29.000Z
2022-02-15T20:14:42.000Z
src/operator/denominator.hpp
susilehtola/aquarius
9160e73bd7e3e0d8d97b10d00d9a4860aee709d2
[ "BSD-3-Clause" ]
8
2016-01-09T23:36:21.000Z
2019-11-19T14:22:34.000Z
#ifndef _AQUARIUS_OPERATOR_DENOMINATOR_HPP_ #define _AQUARIUS_OPERATOR_DENOMINATOR_HPP_ #include "util/global.hpp" #include "1eoperator.hpp" #include "mooperator.hpp" namespace aquarius { namespace op { template <typename T> class Denominator : public op::MOOperator { protected: vector<vector<T>> dA, da...
32.524752
86
0.408524
[ "vector" ]
c2dbbd3969b5760536dbcb3721f5d7571264b843
494
cpp
C++
Courses/Synapse-Beginner-Regular-Season-2/Class-05-Recursion/Long-Contest-Code/B_Reverse_Root.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
3
2021-06-15T01:19:23.000Z
2022-03-16T18:23:53.000Z
Courses/Synapse-Beginner-Regular-Season-2/Class-05-Recursion/Long-Contest-Code/B_Reverse_Root.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
Courses/Synapse-Beginner-Regular-Season-2/Class-05-Recursion/Long-Contest-Code/B_Reverse_Root.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int llint; #define endn '\n' #define pb push_back int main(void) { ios_base::sync_with_stdio(false); cin.tie(NULL); llint n; vector<double> sq_n; while (cin >> n) { sq_n.pb(sqrt(n)); } int len = sq_n.size(); f...
20.583333
60
0.564777
[ "vector" ]
c2dca9a6a13db2518825c74a2a8d4e282e13a055
2,909
hpp
C++
parser/spirit/syntax/Properties.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
1
2019-09-23T08:27:31.000Z
2019-09-23T08:27:31.000Z
parser/spirit/syntax/Properties.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
null
null
null
parser/spirit/syntax/Properties.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
null
null
null
#pragma once #include "Types.hpp" #include "Methods.hpp" #include <optional> namespace pdl::spirit::syntax::properties { struct RootProperty : Annotation<RootProperty> { [[maybe_unused]] bool discovered = false; }; struct NextProtocolProperty : Annotation<NextProtocolProperty> { std::vector<Identifier>...
27.971154
96
0.747336
[ "vector" ]
12403b36123511dd3202bf283e8eeea4d160e1aa
4,905
cpp
C++
lab 1/Table_Lab_1/GeneratedFiles/Debug/moc_table_main_window.cpp
AlexandrPuryshev/Computer-graphics
b99c560fbbcadb2ff96c8d5fcaa60d4f718337de
[ "MIT" ]
2
2015-10-07T07:55:46.000Z
2015-10-07T08:28:28.000Z
lab 1/Table_Lab_1/GeneratedFiles/Debug/moc_table_main_window.cpp
AlexandrPuryshev/Computer-graphics
b99c560fbbcadb2ff96c8d5fcaa60d4f718337de
[ "MIT" ]
1
2015-10-07T07:43:00.000Z
2015-10-07T07:43:00.000Z
lab 1/Table_Lab_1/GeneratedFiles/Debug/moc_table_main_window.cpp
AlexandrPuryshev/Computer-graphics
b99c560fbbcadb2ff96c8d5fcaa60d4f718337de
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'table_main_window.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
33.141892
97
0.606932
[ "object" ]
124915eb189227dea15ad355eea19662ba3b371e
3,792
cpp
C++
core/src/engine.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
61
2018-02-20T06:01:50.000Z
2021-09-08T05:55:44.000Z
core/src/engine.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
2
2018-04-21T06:59:30.000Z
2019-01-12T17:08:54.000Z
core/src/engine.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
19
2018-02-19T17:18:04.000Z
2021-02-25T02:00:53.000Z
// Copyright (c) 2017-2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
28.511278
105
0.629219
[ "vector" ]
124a498f5bddec61e736e317e0d881f8c454d41a
5,773
cc
C++
ui/base/accelerators/accelerator_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ui/base/accelerators/accelerator_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ui/base/accelerators/accelerator_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/accelerators/accelerator_manager.h" #include <ostream> #include "base/check.h" #include "base/containers/contains.h" namespace ui...
33.369942
79
0.741036
[ "vector" ]
12556f47208705e87576ea8f8d946c6969cd78e2
965
hpp
C++
Source/Shared/engine/cfc/stl/stl_pimpl.hpp
JJoosten/IndirectOcclusionCulling
0376da0f9bdb14e67238a5b54e928e50ee33aef6
[ "MIT" ]
19
2016-08-16T10:19:07.000Z
2018-12-04T01:00:00.000Z
Source/Shared/engine/cfc/stl/stl_pimpl.hpp
JJoosten/IndirectOcclusionCulling
0376da0f9bdb14e67238a5b54e928e50ee33aef6
[ "MIT" ]
1
2016-08-18T04:23:19.000Z
2017-01-26T22:46:44.000Z
Source/Shared/engine/cfc/stl/stl_pimpl.hpp
JJoosten/IndirectOcclusionCulling
0376da0f9bdb14e67238a5b54e928e50ee33aef6
[ "MIT" ]
1
2019-09-23T10:49:36.000Z
2019-09-23T10:49:36.000Z
#pragma once #include "stl_common.hpp" template <class T, int size> class stl_pimpl { public: stl_pimpl() : m_impl(nullptr) {} ~stl_pimpl() { stl_assert(m_impl == nullptr); // object needs to be destroyed } inline T* operator ->() const { stl_assert(m_impl != nullptr); // need to have a valid object ...
21.444444
149
0.656995
[ "object" ]
1258a9439239a48aa5bccf0d47338a89977c3abd
1,776
hpp
C++
src/tests/test_scheduler.hpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
1
2022-03-19T20:15:50.000Z
2022-03-19T20:15:50.000Z
src/tests/test_scheduler.hpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
12
2022-03-22T21:18:14.000Z
2022-03-30T05:37:58.000Z
src/tests/test_scheduler.hpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
null
null
null
// ReactivePlusPlus library // // Copyright Aleksey Loginov 2022 - present. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.com/vi...
32.290909
107
0.630631
[ "vector" ]
125a2790a9665c2cda688f4edbd42fa06031da9d
7,619
cpp
C++
Source/SystemQOR/MSWindows/WinQL/COM/Server/OLE/WinQLOLEContainer.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQL/COM/Server/OLE/WinQLOLEContainer.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQL/COM/Server/OLE/WinQLOLEContainer.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//WinQLOLEContainer.cpp // Copyright Querysoft Limited 2013, 2015, 2017 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, an...
37.165854
238
0.63801
[ "object" ]
125c6f094dbab25afb4fdc2f5a02a7fd5d50aa7f
28,840
cc
C++
alljoyn_core/unit_test/SecurityTestHelper.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
33
2018-01-12T00:37:43.000Z
2022-03-24T02:31:36.000Z
alljoyn_core/unit_test/SecurityTestHelper.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
1
2020-01-05T05:51:27.000Z
2020-01-05T05:51:27.000Z
alljoyn_core/unit_test/SecurityTestHelper.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
30
2017-12-13T23:24:00.000Z
2022-01-25T02:11:19.000Z
/****************************************************************************** * Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source * Project (AJOSP) Contributors and others. * * SPDX-License-Identifier: Apache-2.0 * * All rights reserved. This program and the accompanying material...
40.67701
133
0.597122
[ "vector" ]
1262265df8d8a18b6150c4248450717afd2c6225
619
hpp
C++
lumino/LuminoEngine/src/Physics/PhysicsDebugRenderer.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoEngine/src/Physics/PhysicsDebugRenderer.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/src/Physics/PhysicsDebugRenderer.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
#pragma once namespace ln { namespace detail { // 3D/ 2D 共通の描画キャッシュ。 class PhysicsDebugRenderer { public: static const size_t MaxVertexCount = 8192; void init(); void render(RenderingContext* context); void addLineVertex(const Vector3& v, const Color& c); void addTriangleVertex(const Vector3& v, const Color& c...
21.344828
95
0.743134
[ "render", "3d" ]
1265df286545538f6d64a49ef93df1436d0b5f27
4,134
hpp
C++
cpp/nameq.hpp
ninchat/nameq
6769f0dbd4c920dd38c2c93b5042d242fcc910bb
[ "MIT" ]
null
null
null
cpp/nameq.hpp
ninchat/nameq
6769f0dbd4c920dd38c2c93b5042d242fcc910bb
[ "MIT" ]
null
null
null
cpp/nameq.hpp
ninchat/nameq
6769f0dbd4c920dd38c2c93b5042d242fcc910bb
[ "MIT" ]
null
null
null
#ifndef NAMEQ_HPP #define NAMEQ_HPP #include <map> #include <string> #include <vector> #ifndef NAMEQ_NOEXCEPT # include <boost/config.hpp> # define NAMEQ_NOEXCEPT BOOST_NOEXCEPT #endif #ifndef NAMEQ_EXPORT # ifdef __GNUC__ # define NAMEQ_EXPORT __attribute__ ((visibility ("default"))) # else # define NAMEQ_EXPORT ...
18.876712
148
0.694001
[ "vector" ]
126799e7f4d41b3a05376f4d21228caf60b743ae
450
hpp
C++
project/3D_Scenegraph/Light.hpp
mhooITU/GameProgramming2021
96225cfdb9282b5b36b8815d3d166142b9e9fc10
[ "MIT" ]
47
2017-07-27T11:12:05.000Z
2021-07-02T19:45:23.000Z
project/3D_Scenegraph/Light.hpp
mhooITU/GameProgramming2021
96225cfdb9282b5b36b8815d3d166142b9e9fc10
[ "MIT" ]
7
2018-06-07T13:59:46.000Z
2020-10-08T12:14:58.000Z
project/3D_Scenegraph/Light.hpp
mhooITU/GameProgramming2021
96225cfdb9282b5b36b8815d3d166142b9e9fc10
[ "MIT" ]
19
2017-09-04T10:54:24.000Z
2020-11-03T17:55:10.000Z
// // Created by Morten Nobel Jørgensen on 2018-11-08. // #pragma once #include <sre/Mesh.hpp> #include <sre/Camera.hpp> #include <sre/Light.hpp> #include "GameObject.hpp" #include <sre/Material.hpp> #include "Transform.hpp" #include "Updatable.hpp" class Light : public Component { public: Light(GameObject* game...
17.307692
51
0.693333
[ "mesh", "transform" ]
12689440ab07a5d824d0da720aceaec23b48411e
15,171
cpp
C++
source/render.cpp
GabrielRavier/CaveStoryRecoded
dc7205398a1e81cdd1baf671edb706e010133046
[ "MIT" ]
4
2019-02-09T19:01:19.000Z
2021-04-21T03:14:27.000Z
source/render.cpp
GabrielRavier/CaveStoryRecoded
dc7205398a1e81cdd1baf671edb706e010133046
[ "MIT" ]
7
2018-10-11T19:29:01.000Z
2019-01-14T17:23:39.000Z
source/render.cpp
GabrielRavier/CaveStoryRecoded
dc7205398a1e81cdd1baf671edb706e010133046
[ "MIT" ]
2
2018-10-07T16:45:08.000Z
2019-01-04T03:40:08.000Z
#include "render.h" #include <string> #include "SDL.h" #include "lodepng/lodepng.h" #include "game.h" #include "main.h" #include "common.h" #include "input.h" #include "log.h" #include "filesystem.h" #include "shiftJISToUTF8.h" #ifdef USE_ICONS_SDL2 #include "icon_mini.h" #endif using namespace std::string_literals; ...
25.933333
156
0.693824
[ "render" ]
12831be9a3bc6b8dbefa43a4f22f7faaaccdca4a
12,166
cpp
C++
apps/opencs/view/render/textoverlay.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/view/render/textoverlay.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/view/render/textoverlay.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#include "textoverlay.hpp" #include <OgreCamera.h> #include <OgreMaterialManager.h> #include <OgreTechnique.h> #include <OgreOverlayManager.h> #include <OgreOverlayContainer.h> #include <OgreFontManager.h> #include <OgreTextAreaOverlayElement.h> #include <OgreEntity.h> #include <OgreViewport.h> #include <OgreRoot.h> ...
33.794444
114
0.624692
[ "vector" ]
128736f923ec842aead8abf212bc9f3167444ede
717
cpp
C++
AtCoder/abc100/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc100/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc100/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int D, N, ans = 0; cin >> D >> N; int i = 0, j = 1; if (D == 0) { if (N == 100) ans = 101; else { while(i < N) { if (j % 100 != 0) i++, ans = j, j++; ...
21.727273
57
0.359833
[ "vector" ]
12875b7353ad025d2ef71ec6132f5203779a4523
1,235
hpp
C++
src/engine/scene.hpp
dfintha/gldemo
e4ff3bce6a6e25a1081208937405ca3202eac60e
[ "WTFPL" ]
null
null
null
src/engine/scene.hpp
dfintha/gldemo
e4ff3bce6a6e25a1081208937405ca3202eac60e
[ "WTFPL" ]
null
null
null
src/engine/scene.hpp
dfintha/gldemo
e4ff3bce6a6e25a1081208937405ca3202eac60e
[ "WTFPL" ]
null
null
null
#if !defined(GENGINE_ENGINE_SCENE) #define GENGINE_ENGINE_SCENE #include "engine/camera.hpp" #include "engine/shader_program.hpp" #include "geometry/vector.hpp" #include "gl.hpp" namespace obj { class object_base; } #include <memory> #include <vector> namespace eng { struct scene { int width, height; bool gra...
19.603175
57
0.655061
[ "geometry", "vector" ]
12991fe895bd5207f7bc85b6b00386c6a7417b37
4,780
hpp
C++
src/moonlight/moonlight/protocol.hpp
games-on-whales/wolf
cd5aa47e0547d1bc7b093fb6cdd0582eae78b391
[ "MIT" ]
1
2021-12-30T13:15:05.000Z
2021-12-30T13:15:05.000Z
src/moonlight/moonlight/protocol.hpp
games-on-whales/wolf
cd5aa47e0547d1bc7b093fb6cdd0582eae78b391
[ "MIT" ]
null
null
null
src/moonlight/moonlight/protocol.hpp
games-on-whales/wolf
cd5aa47e0547d1bc7b093fb6cdd0582eae78b391
[ "MIT" ]
null
null
null
#pragma once #include "config.hpp" #include "data-structures.hpp" #include <boost/property_tree/ptree.hpp> namespace pt = boost::property_tree; namespace moonlight { constexpr auto M_VERSION = "7.1.431.0"; constexpr auto M_GFE_VERSION = "3.23.0.74"; /** * @brief Step 1: GET server status * * @param config: local...
38.861789
113
0.673222
[ "vector" ]
129eab7c78311985560ced7b304d97e80e4e0da0
13,224
cc
C++
src/world.cc
obs145628/2048-ai
cdcd27106e390718188c9f4d753d30f6af8f8208
[ "MIT" ]
null
null
null
src/world.cc
obs145628/2048-ai
cdcd27106e390718188c9f4d753d30f6af8f8208
[ "MIT" ]
null
null
null
src/world.cc
obs145628/2048-ai
cdcd27106e390718188c9f4d753d30f6af8f8208
[ "MIT" ]
null
null
null
#include "world.hh" #include <algorithm> #include <cassert> #include <ai/shell/date.hh> #include <ai/sfml/sf-app.hh> #include <ai/shell/grid.hh> #include <ai/shell/shell-sprite.hh> #include <ai/shell/shell.hh> namespace { constexpr int GRID_SIZE = 600; constexpr int MARGIN = 20; constexpr int FONT_SIZE = ...
20.990476
85
0.547111
[ "render", "vector" ]
12a18cb0ae23278d0d5a3eb595ba2a2b3f5daad2
2,632
cpp
C++
17-database-xml/17-7/sqlmodel/mainwindow.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
17-database-xml/17-7/sqlmodel/mainwindow.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
17-database-xml/17-7/sqlmodel/mainwindow.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QSqlQueryModel> #include <QSqlTableModel> #include <QSqlRelationalTableModel> #include <QTableView> #include <QDebug> #include <QMessageBox> #include <QSqlError> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::Ma...
21.933333
88
0.580547
[ "model" ]
12a48d6dbccbaebea282750c571afcb5f537b246
29,827
cpp
C++
NSWNGAME/cocos2d/cocos/editor-support/cocostudio/WidgetReader/LayoutReader/LayoutReader.cpp
nomagame/NSWE-GAME
d3be61ef2211dae92ced07b1eaf24fd51db36d87
[ "MIT" ]
22
2015-04-09T06:45:38.000Z
2017-10-16T15:45:30.000Z
NSWNGAME/cocos2d/cocos/editor-support/cocostudio/WidgetReader/LayoutReader/LayoutReader.cpp
nomagame/NSWE-GAME
d3be61ef2211dae92ced07b1eaf24fd51db36d87
[ "MIT" ]
1
2016-09-20T10:54:53.000Z
2016-09-20T10:54:53.000Z
NSWNGAME/cocos2d/cocos/editor-support/cocostudio/WidgetReader/LayoutReader/LayoutReader.cpp
nomagame/NSWE-GAME
d3be61ef2211dae92ced07b1eaf24fd51db36d87
[ "MIT" ]
32
2015-01-20T07:58:44.000Z
2018-08-03T15:12:47.000Z
#include "LayoutReader.h" #include "ui/UILayout.h" #include "cocostudio/CocoLoader.h" #include "ui/UIScrollView.h" #include "ui/UIPageView.h" #include "ui/UIListView.h" #include "cocostudio/CSParseBinary.pb.h" #include "tinyxml2/tinyxml2.h" USING_NS_CC; using namespace ui; namespace cocostudio { static const ch...
38.887875
127
0.523117
[ "solid" ]
12a6fb2fdef3b8b1890a973d30f158c14ca54638
7,118
cpp
C++
mpcplus/src/lyrics_fetcher.cpp
doctorfree/mpcplus
405b62179871cdb8a708b592fdda7c0af378953a
[ "MIT" ]
1
2022-03-30T22:00:36.000Z
2022-03-30T22:00:36.000Z
mpcplus/src/lyrics_fetcher.cpp
doctorfree/mpcplus
405b62179871cdb8a708b592fdda7c0af378953a
[ "MIT" ]
null
null
null
mpcplus/src/lyrics_fetcher.cpp
doctorfree/mpcplus
405b62179871cdb8a708b592fdda7c0af378953a
[ "MIT" ]
null
null
null
/*************************************************************************** * Copyright (C) 2008-2021 by Andrzej Rybczak * * andrzej@rybczak.net * * * * This pr...
31.082969
90
0.577409
[ "vector" ]
12a9e30aa16f375d947b1e1ea19da8dd80362dc4
1,959
hpp
C++
src/graphics/image_loader.hpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
src/graphics/image_loader.hpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
src/graphics/image_loader.hpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * IziEditor * Copyright (c) 2015 Martin Newhouse * * 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 * ...
31.095238
86
0.722818
[ "vector" ]
12aaf0a8fd6359e38298b8622a88b38d9649452f
6,575
cpp
C++
NumberWithUnits.cpp
oz105/Number_with_units-b
b9ca2ea6ef74b7c586b097b0950ee085b5905243
[ "MIT" ]
null
null
null
NumberWithUnits.cpp
oz105/Number_with_units-b
b9ca2ea6ef74b7c586b097b0950ee085b5905243
[ "MIT" ]
null
null
null
NumberWithUnits.cpp
oz105/Number_with_units-b
b9ca2ea6ef74b7c586b097b0950ee085b5905243
[ "MIT" ]
null
null
null
#include <fstream> #include <sstream> #include <math.h> #include "NumberWithUnits.hpp" using namespace std; namespace ariel{ static map<string,map <string, double>> unit_map ; static vector<pair<string,string>> types ; const float TOLERANCE = 0.001; const int ZERO = 0 ; const int ONE = 1 ; ...
41.352201
119
0.505703
[ "vector" ]
12ac1403f5ffc22933fcc50beeb1a4ac2e436681
17,894
cpp
C++
B2G/gecko/uriloader/exthandler/os2/nsMIMEInfoOS2.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/uriloader/exthandler/os2/nsMIMEInfoOS2.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/uriloader/exthandler/os2/nsMIMEInfoOS2.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set sw=2 sts=2 et cin: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
30.798623
109
0.639656
[ "object" ]
12b4c34500ca4f2f84298620f0be3c49d2b82600
1,217
cpp
C++
cpp-src/src/algorithms/hacker-rank/implementation/the_birthday_bar_test.cpp
josnelihurt/algorithms
0c130d37b1dac225a62a36d6ec126a4f98a9faae
[ "Unlicense" ]
null
null
null
cpp-src/src/algorithms/hacker-rank/implementation/the_birthday_bar_test.cpp
josnelihurt/algorithms
0c130d37b1dac225a62a36d6ec126a4f98a9faae
[ "Unlicense" ]
null
null
null
cpp-src/src/algorithms/hacker-rank/implementation/the_birthday_bar_test.cpp
josnelihurt/algorithms
0c130d37b1dac225a62a36d6ec126a4f98a9faae
[ "Unlicense" ]
null
null
null
#include "the_birthday_bar.h" #include "gtest/gtest.h" using namespace the_birthday_bar; using namespace std; TEST(TBB, sampleTestCase10){ vector<int> s{ 3, 5, 4, 1, 2, 5, 3, 4, 3, 2, 1, 1, 2, 4, 2, 3, 4, 5, 3, 1, 2, 5, 4, 5, 4, 1, 1, 5, 3, 1, 4, 5, 2, 3, 2, 5, 2, 5, 2, 2, 1, 5, 3, 2, 5, 1, 2, 4, 3, 1, 5,...
24.34
173
0.541495
[ "vector" ]
52125bfe251542d163f8cdd173df2230f33104c8
1,935
cc
C++
codelab/neon_minimum.cc
pkufool/cpp_neon_play
5e59ead0f17e79dc2210cfd4c22a3631bf4886c0
[ "MIT" ]
null
null
null
codelab/neon_minimum.cc
pkufool/cpp_neon_play
5e59ead0f17e79dc2210cfd4c22a3631bf4886c0
[ "MIT" ]
null
null
null
codelab/neon_minimum.cc
pkufool/cpp_neon_play
5e59ead0f17e79dc2210cfd4c22a3631bf4886c0
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <random> #include <ctime> #include <arm_neon.h> float NeonMinimum(const float* in, const size_t size) { const float* in_data = in; const float* const in_data_end = in + size; float32x4_t min = vdupq_n_f32(std::numeric_limits<float>::max()); for (; in_data + 4 <= i...
30.234375
80
0.62584
[ "vector" ]
5225c9c626d5c85971528fa7a1426832ebaf2b75
1,425
cpp
C++
src/Encryption.cpp
teunvw14/keylogger
541b464fc9241bfd6a17bd12776f55eabb64cc12
[ "MIT" ]
null
null
null
src/Encryption.cpp
teunvw14/keylogger
541b464fc9241bfd6a17bd12776f55eabb64cc12
[ "MIT" ]
null
null
null
src/Encryption.cpp
teunvw14/keylogger
541b464fc9241bfd6a17bd12776f55eabb64cc12
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include "encryption.h" namespace Base64 { const std::string &BASE64_CODES = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; std::string base64_encode(const std::string &stringToEncode) { std::string ret; int val = 0; int b...
22.983871
105
0.503158
[ "vector" ]
52348470b9b542d1d93cf3e34b948efd8a23fff3
15,365
cpp
C++
co_scan/src/geodesic/BaseModel.cpp
LXYYY/CoScan
abd87b9e004cdf683b458d76cb93e62485aeba3c
[ "MIT" ]
15
2020-03-31T01:54:43.000Z
2022-03-31T16:27:29.000Z
co_scan/src/geodesic/BaseModel.cpp
LXYYY/CoScan
abd87b9e004cdf683b458d76cb93e62485aeba3c
[ "MIT" ]
1
2022-03-18T10:27:55.000Z
2022-03-31T16:18:47.000Z
co_scan/src/geodesic/BaseModel.cpp
LXYYY/CoScan
abd87b9e004cdf683b458d76cb93e62485aeba3c
[ "MIT" ]
7
2020-04-01T13:05:28.000Z
2021-03-08T04:58:01.000Z
#include "BaseModel.h" #include "Parameters.h" //#include <windows.h> // dsy: comment out. //#include "gl\gl.h" // dsy: comment out. //#include "gl\glu.h" // dsy: comment out. #include <float.h> #include <iostream> //#include "gl\glut.h" //#pragma comment(lib, "OPENGL32.LIB") // dsy: comment out. //#pragma com...
24.943182
122
0.546957
[ "render", "vector", "model" ]
523759651358dbb04b745b889e5c7e7ab5ece524
5,252
cpp
C++
fkie_iop_manipulator_joint_position_sensor/src/urn_jaus_jss_manipulator_ManipulatorJointPositionSensor/ManipulatorJointPositionSensor_ReceiveFSM.cpp
fkie/iop_jaus_manipulator
d147d14a212fa57f52349c5ec937817591ef7d9c
[ "BSD-3-Clause" ]
null
null
null
fkie_iop_manipulator_joint_position_sensor/src/urn_jaus_jss_manipulator_ManipulatorJointPositionSensor/ManipulatorJointPositionSensor_ReceiveFSM.cpp
fkie/iop_jaus_manipulator
d147d14a212fa57f52349c5ec937817591ef7d9c
[ "BSD-3-Clause" ]
null
null
null
fkie_iop_manipulator_joint_position_sensor/src/urn_jaus_jss_manipulator_ManipulatorJointPositionSensor/ManipulatorJointPositionSensor_ReceiveFSM.cpp
fkie/iop_jaus_manipulator
d147d14a212fa57f52349c5ec937817591ef7d9c
[ "BSD-3-Clause" ]
null
null
null
#include "urn_jaus_jss_manipulator_ManipulatorJointPositionSensor/ManipulatorJointPositionSensor_ReceiveFSM.h" #include <moveit/robot_model_loader/robot_model_loader.h> #include <fkie_iop_component/iop_component.h> #include <fkie_iop_component/iop_config.h> #include "urn_jaus_jss_manipulator_ManipulatorSpecification...
44.508475
223
0.796268
[ "vector" ]
52530d918320d3af9012c39c609e090db70d2ccc
2,653
cpp
C++
Game/SceneInGame/BackgroundBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Game/SceneInGame/BackgroundBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Game/SceneInGame/BackgroundBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
// MIT License // // This file is part of SpaceGame. // Copyright (c) 2014-2018 Miika Pelkonen // // 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 lim...
32.353659
81
0.713532
[ "object" ]
525b951b787e2678a26e601d80be6f5eb45dea1a
2,891
cpp
C++
LinaGraphics/src/Rendering/Shader.cpp
zeta1999/LinaEngine
554a2dda68edb3dd121da67a00064ba741a7864f
[ "MIT" ]
261
2018-10-14T19:14:47.000Z
2022-03-31T23:38:29.000Z
LinaGraphics/src/Rendering/Shader.cpp
zeta1999/LinaEngine
554a2dda68edb3dd121da67a00064ba741a7864f
[ "MIT" ]
38
2018-10-14T18:39:53.000Z
2021-12-06T17:36:17.000Z
LinaGraphics/src/Rendering/Shader.cpp
inanevin/LinaEngine
554a2dda68edb3dd121da67a00064ba741a7864f
[ "MIT" ]
26
2018-10-31T16:13:35.000Z
2022-03-25T08:43:34.000Z
/* This file is a part of: Lina Engine https://github.com/inanevin/LinaEngine Author: Inan Evin http://www.inanevin.com Copyright (c) [2018-2020] [Inan Evin] 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 t...
32.122222
104
0.733656
[ "mesh" ]
52632d7ce5cc87a4ec8d00c392b0f694478ba8a7
14,344
cpp
C++
apps/changedet/src/main.cpp
ln1equals0/litiv-a
4a82fbc570b7abecb40a03d9e08cf42920f07fce
[ "Apache-2.0" ]
null
null
null
apps/changedet/src/main.cpp
ln1equals0/litiv-a
4a82fbc570b7abecb40a03d9e08cf42920f07fce
[ "Apache-2.0" ]
null
null
null
apps/changedet/src/main.cpp
ln1equals0/litiv-a
4a82fbc570b7abecb40a03d9e08cf42920f07fce
[ "Apache-2.0" ]
null
null
null
// This file is part of the LITIV framework; visit the original repository at // https://github.com/plstcharles/litiv for more information. // // Copyright 2015 Pierre-Luc St-Charles; pierre-luc.st-charles<at>polymtl.ca // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ...
57.376
221
0.612521
[ "vector" ]
52647a8d720c58a99baf7267be6ae650939b4ed0
10,242
cpp
C++
tests/cpp/core/TextureSwitcherTests.cpp
BlueBrain/Tide
01e0518117509eaa0ccd9d79f067f385b641247c
[ "BSD-2-Clause" ]
47
2016-07-12T02:00:11.000Z
2021-07-06T17:50:53.000Z
tests/cpp/core/TextureSwitcherTests.cpp
BlueBrain/Tide
01e0518117509eaa0ccd9d79f067f385b641247c
[ "BSD-2-Clause" ]
135
2016-03-24T14:02:26.000Z
2019-10-25T09:43:59.000Z
tests/cpp/core/TextureSwitcherTests.cpp
BlueBrain/Tide
01e0518117509eaa0ccd9d79f067f385b641247c
[ "BSD-2-Clause" ]
17
2016-03-23T13:34:48.000Z
2022-03-21T03:21:54.000Z
/*********************************************************************/ /* Copyright (c) 2017, EPFL/Blue Brain Project */ /* Raphael Dumusc <raphael.dumusc@epfl.ch> */ /* All rights reserved. */ /* ...
33.913907
80
0.611502
[ "vector" ]
52691958965593ee1f0ada7f01086b025c4108d3
190
hpp
C++
src/afk/physics/shape/Box.hpp
christocs/ICT398
9fd7c17a72985ac2eb59a13c1d3761598e544771
[ "ISC" ]
null
null
null
src/afk/physics/shape/Box.hpp
christocs/ICT398
9fd7c17a72985ac2eb59a13c1d3761598e544771
[ "ISC" ]
null
null
null
src/afk/physics/shape/Box.hpp
christocs/ICT398
9fd7c17a72985ac2eb59a13c1d3761598e544771
[ "ISC" ]
null
null
null
#pragma once #include "glm/vec3.hpp" namespace afk { namespace physics { namespace shape { /** * Box, as half extents */ using Box = glm::vec3; } } }
12.666667
29
0.526316
[ "shape" ]
526c7a498e72a2b52e3eb70014116f7cd66fa74f
8,889
cc
C++
cc/layers/picture_layer.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
cc/layers/picture_layer.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
cc/layers/picture_layer.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/layers/picture_layer.h" #include "base/auto_reset.h" #include "base/trace_event/trace_event.h" #include "cc/layers/content_layer_client.h" #...
36.281633
80
0.759928
[ "geometry" ]
527754d8ad7d03b6040b6f4b1d3bf70e90aeab39
696
cpp
C++
Leetcode/Merge_Sorted_Array_in_the_first_Array.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
1
2019-03-24T12:35:43.000Z
2019-03-24T12:35:43.000Z
Leetcode/Merge_Sorted_Array_in_the_first_Array.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
null
null
null
Leetcode/Merge_Sorted_Array_in_the_first_Array.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
null
null
null
class Solution { public: void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { int k=m+n-1; int i=m-1; int j=n-1; while(i>=0 && j>=0) { if(nums1[i]>=nums2[j]) { nums1[k]=nums1[i]; ...
22.451613
69
0.248563
[ "vector" ]
52799a2d5345366beeaa18c419de55d47f6070b1
6,356
cpp
C++
Base/SkGraphicsPipeline.cpp
unrealflow/LearnVulkan
998ff2fcb99dcb4bb29b601187b21b2c16a4c6f3
[ "MIT" ]
null
null
null
Base/SkGraphicsPipeline.cpp
unrealflow/LearnVulkan
998ff2fcb99dcb4bb29b601187b21b2c16a4c6f3
[ "MIT" ]
null
null
null
Base/SkGraphicsPipeline.cpp
unrealflow/LearnVulkan
998ff2fcb99dcb4bb29b601187b21b2c16a4c6f3
[ "MIT" ]
null
null
null
#include "SkGraphicsPipeline.h" void SkGraphicsPipeline::CreateGraphicsPipeline(uint32_t subpass, uint32_t attachCount, const std::vector<VkVertexInputBindingDescription> *inputBindings, const std::vector<VkVertexInputAttri...
46.394161
152
0.757395
[ "vector" ]
52819955ac5dc61c6423449c90bb7372fcfb2970
14,376
cpp
C++
Sources/Graph.cpp
Petititi/imGraph
068890ffe2f8fa1fb51bc95b8d9296cc79737fac
[ "BSD-3-Clause" ]
2
2015-01-12T11:27:45.000Z
2015-03-25T18:24:38.000Z
Sources/Graph.cpp
Petititi/imGraph
068890ffe2f8fa1fb51bc95b8d9296cc79737fac
[ "BSD-3-Clause" ]
30
2015-01-07T11:59:07.000Z
2015-04-24T13:02:01.000Z
Sources/Graph.cpp
Petititi/imGraph
068890ffe2f8fa1fb51bc95b8d9296cc79737fac
[ "BSD-3-Clause" ]
1
2018-12-20T12:18:18.000Z
2018-12-20T12:18:18.000Z
 #include "Graph.h" #ifdef _WIN32 #pragma warning(disable:4503) #pragma warning(push) #pragma warning(disable:4996 4251 4275 4800) #endif #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/xml_parser.hpp> #include <boost/lexical_cast.hpp> #include <boost/filesystem.hpp> // includes all needed Bo...
31.252174
126
0.601976
[ "render", "vector" ]
528aa31daae5e32c27a56dc4280c8a60e1f6ba9a
5,614
cpp
C++
src/PlannerUI.cpp
njw1204/IIKH
48be7f34262ab6217ebe7eede45a1dee5d22cc2c
[ "MIT" ]
null
null
null
src/PlannerUI.cpp
njw1204/IIKH
48be7f34262ab6217ebe7eede45a1dee5d22cc2c
[ "MIT" ]
null
null
null
src/PlannerUI.cpp
njw1204/IIKH
48be7f34262ab6217ebe7eede45a1dee5d22cc2c
[ "MIT" ]
1
2020-10-24T07:20:02.000Z
2020-10-24T07:20:02.000Z
#include "PlannerUI.h" #include "RecipeUI.h" #include "RecipeDatabase.h" #include "Date.h" #include "Plan.h" #include "util.h" #include <climits> #include <cstdlib> using namespace std; void PlannerUI::showPlannerForm() { if (rdb.getRecipesList().empty()) { cout << endl; cout << " You don't ha...
27.519608
88
0.405415
[ "vector" ]
52985af8e88310bc5ead0a54c1109b72727debb1
7,789
cpp
C++
calc.cpp
K-JW/JetAnalysor
7fc98a8782e2e3624335bb01e44b635857cd0974
[ "MIT" ]
1
2020-05-24T07:56:51.000Z
2020-05-24T07:56:51.000Z
calc.cpp
K-JW/JetAnalysor
7fc98a8782e2e3624335bb01e44b635857cd0974
[ "MIT" ]
null
null
null
calc.cpp
K-JW/JetAnalysor
7fc98a8782e2e3624335bb01e44b635857cd0974
[ "MIT" ]
null
null
null
//example hepmc reader #include "utils.h" #include "jetSelector.h" #include "calcDeltaPhiDist.h" #include "distCalculator.h" #include <HepMC/IO_GenEvent.h> #include <HepMC/GenEvent.h> #include <HepMC/GenVertex.h> #include <fastjet/PseudoJet.hh> #include <fastjet/ClusterSequence.hh> #include <fastjet/Selector.hh> #i...
39.94359
96
0.540634
[ "vector" ]