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
0922437bc3347633bc351167a197d2e806a690c4
2,117
cpp
C++
source/Scaffold/Status.cpp
taozhijiang/tzmonitor
8ed45bff1c4e437867fac36e2b7d642b49c06c1b
[ "BSD-3-Clause" ]
1
2018-06-27T13:28:36.000Z
2018-06-27T13:28:36.000Z
source/Scaffold/Status.cpp
taozhijiang/tzmonitor
8ed45bff1c4e437867fac36e2b7d642b49c06c1b
[ "BSD-3-Clause" ]
null
null
null
source/Scaffold/Status.cpp
taozhijiang/tzmonitor
8ed45bff1c4e437867fac36e2b7d642b49c06c1b
[ "BSD-3-Clause" ]
null
null
null
/*- * Copyright (c) 2019 TAO Zhijiang<taozhijiang@gmail.com> * * Licensed under the BSD-3-Clause license, see LICENSE for full information. * */ #include <Scaffold/Status.h> namespace tzrpc { Status& Status::instance() { static Status helper; return helper; } int Status::register_status_callback(const...
24.616279
97
0.553141
[ "vector" ]
092f86bcebb892bc61faf0cf4bfc48c2a553d910
882
cpp
C++
13.Roman_to_Integer/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
13.Roman_to_Integer/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
13.Roman_to_Integer/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
/* 针对所有逆序的情况,额外多做了一次减法 */ #include <cstdlib> #include <vector> #include <string> #include <cassert> #include <algorithm> #include <sstream> #include <map> using namespace std; class Solution { public: int romanToInt(string s) { map<char, int> roman = {{'I', 1}, {'V', 5}, {'X', 10}, {'L', 50}, {'C', 10...
24.5
111
0.35941
[ "vector" ]
09398c817aca3983edee7c472de861b5bc73bc09
76,491
inl
C++
src/cryptonote_protocol/cryptonote_protocol_handler.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
src/cryptonote_protocol/cryptonote_protocol_handler.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
src/cryptonote_protocol/cryptonote_protocol_handler.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
/// @file /// @author rfree (current maintainer/user in monero.cc project - most of code is from CryptoNote) /// @brief This is the original cryptonote protocol network-events handler, modified by us // Copyright (c) 2014-2020, The Monero Project // // All rights reserved. // // Redistribution and use in source and bi...
44.523283
404
0.630074
[ "vector" ]
093da4cb9f98c004876f1c52d5ca80a7b774069b
8,195
cpp
C++
codes/misc/LOJ_2092.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
codes/misc/LOJ_2092.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
codes/misc/LOJ_2092.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
//misaka will carry me to master #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <functional> #include <numeric> #include <set> #include <map> #include <array> #define ll long long #define lb long double #d...
19.987805
121
0.506284
[ "vector" ]
09461dc999e60af2ec031278241413283128f8d4
1,184
cc
C++
misc_cxx/vector2transform.cc
chenchr/PoseNet
d8c0d1071db21652a7cb4b2715747ef346c8f706
[ "MIT" ]
2
2018-05-09T03:35:42.000Z
2018-05-10T00:13:56.000Z
misc_cxx/vector2transform.cc
chenchr/PoseNet
d8c0d1071db21652a7cb4b2715747ef346c8f706
[ "MIT" ]
null
null
null
misc_cxx/vector2transform.cc
chenchr/PoseNet
d8c0d1071db21652a7cb4b2715747ef346c8f706
[ "MIT" ]
null
null
null
#include <Eigen/Dense> #include <Eigen/Geometry> #include <iostream> #include <fstream> #include <vector> using namespace std; void vector2transform(vector<double> &vec, Eigen::Matrix4d &t){ t(0,3) = vec[0]; t(1,3) = vec[1]; t(2,3) = vec[2]; Eigen::Quaterniond temp; temp.w() = vec[3]; temp.x()...
26.909091
103
0.51098
[ "geometry", "vector" ]
094a699f67d131bace59b0fee33994115b7cfa07
14,255
hh
C++
src/OpenMesh/Core/Mesh/SmartHandles.hh
marksisson/OpenMesh.OpenMesh
a936d398fbb840db6ec6abd504ac4dc775da6b3c
[ "BSD-3-Clause" ]
null
null
null
src/OpenMesh/Core/Mesh/SmartHandles.hh
marksisson/OpenMesh.OpenMesh
a936d398fbb840db6ec6abd504ac4dc775da6b3c
[ "BSD-3-Clause" ]
null
null
null
src/OpenMesh/Core/Mesh/SmartHandles.hh
marksisson/OpenMesh.OpenMesh
a936d398fbb840db6ec6abd504ac4dc775da6b3c
[ "BSD-3-Clause" ]
null
null
null
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2019, RWTH-Aachen University * * ...
39.818436
139
0.642231
[ "mesh" ]
0952c57ae9873ae8b8ef9c4e0ff51bf7ff470fbe
3,078
cpp
C++
tc 160+/GeneralChess.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/GeneralChess.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/GeneralChess.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <map> #include <utility> using namespace std; const int di[] = { -2, -2, -1, 1, 2, 2, 1, -1 }; const int dj[] = { -1, 1, 2, 2, 1, -1, -2, -2 };...
44.608696
339
0.57245
[ "vector" ]
0958dee6a96ed1bb304e20fd2ad8cf70a1ce99b3
9,329
cpp
C++
src/proteus/core/manager.cpp
Xilinx/inference-server
7477b7dc420ce4cd0d7e1d9914b71898e97d6814
[ "Apache-2.0" ]
4
2021-11-03T21:32:55.000Z
2022-02-17T17:13:16.000Z
src/proteus/core/manager.cpp
Xilinx/inference-server
7477b7dc420ce4cd0d7e1d9914b71898e97d6814
[ "Apache-2.0" ]
null
null
null
src/proteus/core/manager.cpp
Xilinx/inference-server
7477b7dc420ce4cd0d7e1d9914b71898e97d6814
[ "Apache-2.0" ]
2
2022-03-05T20:01:33.000Z
2022-03-25T06:00:35.000Z
// Copyright 2021 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 in...
32.168966
80
0.666309
[ "object", "vector" ]
095fcd6ccaebe74ecb04cf0634c971a4b1fa3048
1,739
cpp
C++
llvm/tools/clang/lib/Basic/SanitizerBlacklist.cpp
zard49/kokkos-clang
c519a032853e6507075de1807c5730b8239ab936
[ "Unlicense" ]
5
2015-07-23T09:47:12.000Z
2019-11-28T01:34:01.000Z
llvm/tools/clang/lib/Basic/SanitizerBlacklist.cpp
losalamos/kokkos-clang
d68d9c63cea3dbaad33454e4ebc9df829bca24fe
[ "Unlicense" ]
1
2016-02-10T15:40:03.000Z
2016-02-10T15:40:03.000Z
3.7.0/cfe-3.7.0.src/lib/Basic/SanitizerBlacklist.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
3
2015-10-28T18:21:02.000Z
2019-05-06T18:35:41.000Z
//===--- SanitizerBlacklist.cpp - Blacklist for sanitizers ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
37
80
0.60322
[ "vector" ]
8230c0397100fbecfcdc529fe5e7f02a864773db
1,246
cpp
C++
src/graphics/resources/texture.cpp
rationalis-petra/mecs
461eacff6b9449eb1a6bdf2f9faf45c6d2265d65
[ "MIT" ]
null
null
null
src/graphics/resources/texture.cpp
rationalis-petra/mecs
461eacff6b9449eb1a6bdf2f9faf45c6d2265d65
[ "MIT" ]
null
null
null
src/graphics/resources/texture.cpp
rationalis-petra/mecs
461eacff6b9449eb1a6bdf2f9faf45c6d2265d65
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <glad/glad.h> #include <GLFW/glfw3.h> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #include "engine.hpp" #ifndef NDEBUG #include <stdio.h> #endif using std::string; const string texture_path = "resources/textures/"; Texture::Texture(string path) { strin...
25.958333
98
0.745586
[ "object" ]
8235a0587eefa1e40f4dfecb01505bee309924e4
653
cpp
C++
node-SUSI-function-define.cpp
ADVANTECH-Corp/node-susi
77ff35d5f2c530dfda701eb4ad00afee9a25e7ff
[ "Apache-2.0" ]
null
null
null
node-SUSI-function-define.cpp
ADVANTECH-Corp/node-susi
77ff35d5f2c530dfda701eb4ad00afee9a25e7ff
[ "Apache-2.0" ]
null
null
null
node-SUSI-function-define.cpp
ADVANTECH-Corp/node-susi
77ff35d5f2c530dfda701eb4ad00afee9a25e7ff
[ "Apache-2.0" ]
null
null
null
//#include <node.h> #include <nan.h> #include "node-SUSI.h" using v8::FunctionTemplate; using v8::Handle; using v8::Object; using v8::String; // NativeExtension.cc represents the top level of the module. // C++ constructs that are exposed to javascript are exported here NAN_MODULE_INIT(Init) { NAN_EXPORT(target, g...
25.115385
66
0.771822
[ "object" ]
8235b118f05c0c0652cb1ce425162c58bfbd49f1
33,984
cc
C++
packager/mpd/base/dash_iop_mpd_notifier_unittest.cc
nevil/shaka-packager
a217cdce294b5162ae305a310b2e53e73c4d0481
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
packager/mpd/base/dash_iop_mpd_notifier_unittest.cc
nevil/shaka-packager
a217cdce294b5162ae305a310b2e53e73c4d0481
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
packager/mpd/base/dash_iop_mpd_notifier_unittest.cc
nevil/shaka-packager
a217cdce294b5162ae305a310b2e53e73c4d0481
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2015 Google Inc. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include <gmock/gmock.h> #include <gtest/gtest.h> #include "packager/base/files/file_path.h" #inc...
38.574347
80
0.702125
[ "vector" ]
823854262c43f23064932a0c86093f9b1f108ca9
8,822
cpp
C++
Contrib-Intel/RSD-PSME-RMM/application/src/rest/endpoints/ethernet/vlan_network_interface.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/application/src/rest/endpoints/ethernet/vlan_network_interface.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/application/src/rest/endpoints/ethernet/vlan_network_interface.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @copyright * Copyright (c) 2015-2019 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
43.245098
168
0.708343
[ "object", "model" ]
82434ef2b4cd8e51ed187be454d7b054ce118998
16,766
cpp
C++
src/C/Security-57031.40.6/Security/libsecurity_utilities/lib/machserver.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/C/Security-57031.40.6/Security/libsecurity_utilities/lib/machserver.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/C/Security-57031.40.6/Security/libsecurity_utilities/lib/machserver.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
/* * Copyright (c) 2000-2007,2011-2013 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file exc...
27.621087
98
0.685614
[ "object" ]
8246e6d920e76a15b26344723eedd979583fe68d
9,437
cpp
C++
src/renderer/vt/tracing.cpp
utgwkk/terminal
4608fd0b94af2f4cf6ceec7b324ba36462e9c06b
[ "MIT" ]
2
2020-06-03T13:07:23.000Z
2020-06-04T16:39:36.000Z
src/renderer/vt/tracing.cpp
utgwkk/terminal
4608fd0b94af2f4cf6ceec7b324ba36462e9c06b
[ "MIT" ]
null
null
null
src/renderer/vt/tracing.cpp
utgwkk/terminal
4608fd0b94af2f4cf6ceec7b324ba36462e9c06b
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "precomp.h" #include "tracing.hpp" #include <sstream> TRACELOGGING_DEFINE_PROVIDER(g_hConsoleVtRendererTraceProvider, "Microsoft.Windows.Console.Render.VtEngine", // t...
34.567766
107
0.624563
[ "render" ]
8248610a9a02f04aa70d507a7806d1fb252cc7ab
45,327
cc
C++
wrappers/8.1.1/vtkMultiBlockPLOT3DReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkMultiBlockPLOT3DReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkMultiBlockPLOT3DReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkMultiBlockDataSetAlgorithmWrap.h" #include "vtkMultiBlockPLOT3DReaderWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkMultiProcessControl...
34.893764
118
0.761334
[ "object" ]
824b020295fba2d058778acb45c302920e56ddd3
23,138
cpp
C++
pytorch-frontend/test/cpp/api/nn_utils.cpp
AndreasKaratzas/stonne
2915fcc46cc94196303d81abbd1d79a56d6dd4a9
[ "MIT" ]
206
2020-11-28T22:56:38.000Z
2022-03-27T02:33:04.000Z
pytorch-frontend/test/cpp/api/nn_utils.cpp
AndreasKaratzas/stonne
2915fcc46cc94196303d81abbd1d79a56d6dd4a9
[ "MIT" ]
19
2020-12-09T23:13:14.000Z
2022-01-24T23:24:08.000Z
pytorch-frontend/test/cpp/api/nn_utils.cpp
AndreasKaratzas/stonne
2915fcc46cc94196303d81abbd1d79a56d6dd4a9
[ "MIT" ]
28
2020-11-29T15:25:12.000Z
2022-01-20T02:16:27.000Z
#include <gtest/gtest.h> #include <torch/torch.h> #include <test/cpp/api/support.h> #include <algorithm> #include <random> using namespace torch::nn; namespace rnn_utils = torch::nn::utils::rnn; struct NNUtilsTest : torch::test::SeedingFixture {}; struct PackedSequenceTest : torch::test::SeedingFixture {}; TEST_...
37.440129
113
0.649883
[ "vector", "model" ]
824dd956a7b790e25eb3b184187f5dba014b2c99
1,048
hpp
C++
src/percept/mesh/geometry/kernel/GeometryFactory.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
3
2017-08-08T21:06:02.000Z
2020-01-08T13:23:36.000Z
src/percept/mesh/geometry/kernel/GeometryFactory.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2016-12-17T00:18:56.000Z
2019-08-09T15:29:25.000Z
src/percept/mesh/geometry/kernel/GeometryFactory.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2017-11-30T07:02:41.000Z
2019-08-05T17:07:04.000Z
// Copyright 2002 - 2008, 2010, 2011 National Technology Engineering // Solutions of Sandia, LLC (NTESS). Under the terms of Contract // DE-NA0003525 with NTESS, the U.S. Government retains certain rights // in this software. // // Use of this source code is governed by a BSD-style // license that can be found in the L...
28.324324
80
0.751908
[ "mesh", "geometry" ]
824e5af30d604da872cf52996942353c422b6363
5,583
cpp
C++
MMVII/src/TestLibsExtern/TestEigen.cpp
rumenmitrev/micmac
065de918bb963a1c0f472504862c3060e180d48b
[ "CECILL-B" ]
null
null
null
MMVII/src/TestLibsExtern/TestEigen.cpp
rumenmitrev/micmac
065de918bb963a1c0f472504862c3060e180d48b
[ "CECILL-B" ]
null
null
null
MMVII/src/TestLibsExtern/TestEigen.cpp
rumenmitrev/micmac
065de918bb963a1c0f472504862c3060e180d48b
[ "CECILL-B" ]
null
null
null
#include "include/MMVII_all.h" #define GPP11 (__GNUC__>=11) // G++11 /** \file TestEigen.cpp \brief File to test eigen library class Eigen::SimplicialLDLT< _MatrixType, _UpLo, _Ordering > A direct sparse LDLT Cholesky factorizations without square root. More... class Eigen::SimplicialLLT< _Matri */ #inc...
24.064655
128
0.592871
[ "vector" ]
825697827bc79287664204ce5c9b0f1e642c620f
4,142
cpp
C++
plugins/microservices/src/atomic_apply_acl_operations.cpp
aghsmith/irods
31d48a47a4942df688da94b30aa8a5b5210261bb
[ "BSD-3-Clause" ]
1
2022-03-08T13:00:56.000Z
2022-03-08T13:00:56.000Z
plugins/microservices/src/atomic_apply_acl_operations.cpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
plugins/microservices/src/atomic_apply_acl_operations.cpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
/// \file #include "irods/irods_ms_plugin.hpp" #include "irods/irods_re_structs.hpp" #include "irods/msParam.h" #include "irods/rodsErrorTable.h" #include "irods/rs_atomic_apply_acl_operations.hpp" #include "irods/irods_error.hpp" #include "irods/irods_logger.hpp" #include <functional> #include <string> #include <exc...
31.142857
115
0.631338
[ "object" ]
8257ca85bfd29cb10429996740c1fcb06e21937f
9,429
cpp
C++
tem/src/v20210701/model/CreateApplicationRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
tem/src/v20210701/model/CreateApplicationRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
tem/src/v20210701/model/CreateApplicationRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
26.94
104
0.732103
[ "vector", "model" ]
8267ab44494cd158a1654855a28f71217e5452c1
24,589
cpp
C++
dbms/src/Dictionaries/CacheDictionary.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
1
2017-01-17T17:29:05.000Z
2017-01-17T17:29:05.000Z
dbms/src/Dictionaries/CacheDictionary.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
1
2017-01-13T21:29:36.000Z
2017-01-16T18:29:08.000Z
dbms/src/Dictionaries/CacheDictionary.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
null
null
null
#include <DB/Columns/ColumnsNumber.h> #include <DB/Dictionaries/CacheDictionary.h> #include <DB/Common/BitHelpers.h> #include <DB/Common/randomSeed.h> #include <DB/Common/HashTable/Hash.h> namespace DB { namespace ErrorCodes { extern const int TYPE_MISMATCH; extern const int BAD_ARGUMENTS; extern const int UNSUPP...
35.379856
150
0.722437
[ "vector", "transform" ]
826b4f7622e817bdda88a39b0a6c06aa4213d44c
7,992
cpp
C++
GVRf/Extensions/gvrf-physics/src/main/jni/engine/bullet/bullet_world.cpp
sidia-dev-team/GearVRf
d93d62d49e5fc5b55dc00a485db92ec8fe004db1
[ "Apache-2.0" ]
474
2015-03-27T17:14:43.000Z
2022-03-30T23:10:38.000Z
GVRf/Extensions/gvrf-physics/src/main/jni/engine/bullet/bullet_world.cpp
sidia-dev-team/GearVRf
d93d62d49e5fc5b55dc00a485db92ec8fe004db1
[ "Apache-2.0" ]
1,677
2015-03-28T02:00:21.000Z
2019-10-21T13:28:44.000Z
GVRf/Extensions/gvrf-physics/src/main/jni/engine/bullet/bullet_world.cpp
sidia-dev-team/GearVRf
d93d62d49e5fc5b55dc00a485db92ec8fe004db1
[ "Apache-2.0" ]
260
2015-03-27T23:55:12.000Z
2022-03-18T03:46:41.000Z
/* Copyright 2015 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 law...
34.153846
125
0.706456
[ "transform" ]
826f469dd8dbe039e64af0cc41650f3a87350cf0
12,421
cc
C++
test/test_script.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
test/test_script.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
test/test_script.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
#include <iostream> #include "test.hh" #include "script.hh" #include "script_run.hh" /** * ShellCtx user for testing. */ class ShellCtxTest : public plux::ShellCtx { public: ShellCtxTest() : _name("my-shell"), _timeout_ms(-1) { } virtual ~ShellCtxTest() { } virtual const std:...
31.686224
79
0.565091
[ "vector" ]
82785dc608e38be2d1116f68792218199f460734
7,581
cc
C++
gpu-simulator/gpgpu-sim/src/gpgpu-sim/icnt_wrapper.cc
tgrogers/accel-sim-framework
ea3d64183bc5d9ff41963ba89a051e0871f243ca
[ "BSD-2-Clause" ]
null
null
null
gpu-simulator/gpgpu-sim/src/gpgpu-sim/icnt_wrapper.cc
tgrogers/accel-sim-framework
ea3d64183bc5d9ff41963ba89a051e0871f243ca
[ "BSD-2-Clause" ]
null
null
null
gpu-simulator/gpgpu-sim/src/gpgpu-sim/icnt_wrapper.cc
tgrogers/accel-sim-framework
ea3d64183bc5d9ff41963ba89a051e0871f243ca
[ "BSD-2-Clause" ]
4
2021-04-24T00:08:23.000Z
2021-05-13T06:30:21.000Z
// Copyright (c) 2009-2011, Tor M. Aamodt, Wilson W.L. Fung, Ali Bakhoda // The University of British Columbia // 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 c...
38.095477
79
0.736314
[ "mesh", "object" ]
827887499a595853c7d85253697c5ccc17d3c0a7
3,371
cc
C++
src/Core/Datatypes/Tests/ScalarTests.cc
kimjohn1/SCIRun
62ae6cb632100371831530c755ef0b133fb5c978
[ "MIT" ]
92
2015-02-09T22:42:11.000Z
2022-03-25T09:14:50.000Z
src/Core/Datatypes/Tests/ScalarTests.cc
kimjohn1/SCIRun
62ae6cb632100371831530c755ef0b133fb5c978
[ "MIT" ]
1,618
2015-01-05T19:39:13.000Z
2022-03-27T20:28:45.000Z
src/Core/Datatypes/Tests/ScalarTests.cc
kimjohn1/SCIRun
62ae6cb632100371831530c755ef0b133fb5c978
[ "MIT" ]
64
2015-02-20T17:51:23.000Z
2021-11-19T07:08:08.000Z
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
32.104762
79
0.716701
[ "geometry", "vector" ]
827b3853580f2dbe2c1d445e5bb2f3f53a017204
1,785
cpp
C++
Src/Source/ColourView.cpp
HaikuArchives/BeTeX
6df0643ff8f16be083c11abb7ce20a7b06ee43eb
[ "MIT" ]
5
2016-11-09T21:27:22.000Z
2021-09-17T09:58:42.000Z
Src/Source/ColourView.cpp
HaikuArchives/BeTeX
6df0643ff8f16be083c11abb7ce20a7b06ee43eb
[ "MIT" ]
17
2018-10-30T15:01:55.000Z
2021-11-05T19:16:59.000Z
Src/Source/ColourView.cpp
HaikuArchives/BeTeX
6df0643ff8f16be083c11abb7ce20a7b06ee43eb
[ "MIT" ]
3
2016-11-09T21:27:37.000Z
2020-10-25T17:33:07.000Z
/***************************************************************** * Copyright (c) 2005 Tim de Jong, Brent Miszalski * * * * All rights reserved. * * Distributed under the terms of the MIT License. * ****************************************************************...
29.75
121
0.684594
[ "render" ]
827caa5442d367c1904bbcc7f8d217927c2b8c4d
6,120
cpp
C++
src/EndpointUser.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/EndpointUser.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/EndpointUser.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 - 2022, Intel Corporation * SPDX-License-Identifier: BSD-3-Clause */ #include "EndpointUser.hpp" #include <unistd.h> #include <fstream> #include "EndpointImp.hpp" // for shmem region structs and constants #include "geopm/Helper.hpp" #include "Agent.hpp" #include "Environment.hpp" #includ...
44.671533
132
0.586438
[ "vector" ]
82815363fab84eb76cb80f5386ee18516a932ab7
31,861
cpp
C++
src/ripples/main.cpp
dtorvi/usher
4725931517655db990fc576815607665ab87c1b0
[ "MIT" ]
null
null
null
src/ripples/main.cpp
dtorvi/usher
4725931517655db990fc576815607665ab87c1b0
[ "MIT" ]
null
null
null
src/ripples/main.cpp
dtorvi/usher
4725931517655db990fc576815607665ab87c1b0
[ "MIT" ]
null
null
null
#include <time.h> #include <array> #include <fstream> #include <iostream> #include <memory> #include <vector> #include <boost/program_options.hpp> #include <boost/filesystem.hpp> #include "tbb/concurrent_unordered_set.h" #include "../usher_graph.hpp" namespace po = boost::program_options; Timer timer; po::variables...
44.685835
263
0.473431
[ "vector" ]
8289a2397819e0889f8a7385b055acfdb8949458
1,522
cpp
C++
src/Core/Subsystems/Renderer/world/World.cpp
tmarrec/vulkan-testings
954421ca5365c9b509b0bd3765c9b804201d0df5
[ "MIT" ]
null
null
null
src/Core/Subsystems/Renderer/world/World.cpp
tmarrec/vulkan-testings
954421ca5365c9b509b0bd3765c9b804201d0df5
[ "MIT" ]
null
null
null
src/Core/Subsystems/Renderer/world/World.cpp
tmarrec/vulkan-testings
954421ca5365c9b509b0bd3765c9b804201d0df5
[ "MIT" ]
null
null
null
#include "World.h" #define TINYGLTF_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION #define STB_IMAGE_WRITE_IMPLEMENTATION #define TINYGLTF_NOEXCEPTION #include <tiny_gltf.h> World::World() { tinygltf::Model model; tinygltf::TinyGLTF loader; std::string err; std::string warn; //bool ret = loader....
21.43662
89
0.665572
[ "vector", "model" ]
8293316dd520df9ba187816c74e01f274885e5ad
3,785
cpp
C++
compiler/Java/JavaBuilder.cpp
patrickf2000/espresso
a83217ef206347516326780c617a9f2b9b6c379b
[ "BSD-3-Clause" ]
null
null
null
compiler/Java/JavaBuilder.cpp
patrickf2000/espresso
a83217ef206347516326780c617a9f2b9b6c379b
[ "BSD-3-Clause" ]
null
null
null
compiler/Java/JavaBuilder.cpp
patrickf2000/espresso
a83217ef206347516326780c617a9f2b9b6c379b
[ "BSD-3-Clause" ]
null
null
null
// // Copyright 2021 Patrick Flynn // This file is part of the Espresso compiler. // Espresso is licensed under the BSD-3 license. See the COPYING file for more information. // #include <Java/JavaIR.hpp> #include <Java/JavaBuilder.hpp> // Sets initial things up JavaClassBuilder::JavaClassBuilder(std::string className)...
28.246269
101
0.643857
[ "object" ]
8297813c569d59de1e568f360adcb3a52758a27d
3,969
cpp
C++
test/unit/n_threaded_priority_task_queue_tests.cpp
Ravirael/concurrentpp
c018509074eee0abbcbc028fb53fed1ec8699666
[ "MIT" ]
2
2018-02-09T20:22:34.000Z
2020-11-28T09:14:19.000Z
test/unit/n_threaded_priority_task_queue_tests.cpp
Ravirael/concurrentpp
c018509074eee0abbcbc028fb53fed1ec8699666
[ "MIT" ]
null
null
null
test/unit/n_threaded_priority_task_queue_tests.cpp
Ravirael/concurrentpp
c018509074eee0abbcbc028fb53fed1ec8699666
[ "MIT" ]
1
2019-07-12T08:05:04.000Z
2019-07-12T08:05:04.000Z
#include <catch.hpp> #include <n_threaded_task_queue.hpp> #include <mutex> #include <functional> #include <unsafe_priority_queue.hpp> #include <barrier.hpp> #include <priority_task_queue_extension.hpp> #include "spy_thread.h" #include "test_configuration.h" SCENARIO("creating priority task queue, adding and executing ...
38.911765
118
0.46586
[ "vector" ]
82995ccfe9a8faff6852113ce0a405ba5530bb92
4,294
cpp
C++
regress/fuzz/fuzz_ged.cpp
dservin/brlcad
34b72d3efd24ac2c84abbccf9452323231751cd1
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
regress/fuzz/fuzz_ged.cpp
dservin/brlcad
34b72d3efd24ac2c84abbccf9452323231751cd1
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
regress/fuzz/fuzz_ged.cpp
dservin/brlcad
34b72d3efd24ac2c84abbccf9452323231751cd1
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* F U Z Z _ G E D . C P P * BRL-CAD * * Copyright (c) 2020-2022 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1...
15.962825
109
0.561481
[ "cad", "vector" ]
829a0f8f6c053613209f4b0a4d3106c6c6914e6d
4,929
cpp
C++
external/eba/src/modularity/community.cpp
Mickey253/hyperbolic-space-graphs
f23b071cf07e2a85a8a23a0af3aa99455f26b3e3
[ "MIT" ]
16
2015-07-14T02:17:35.000Z
2021-06-29T10:00:58.000Z
external/eba/src/modularity/community.cpp
Mickey253/hyperbolic-space-graphs
f23b071cf07e2a85a8a23a0af3aa99455f26b3e3
[ "MIT" ]
10
2016-06-30T08:49:45.000Z
2021-07-27T10:24:49.000Z
external/eba/src/modularity/community.cpp
Mickey253/hyperbolic-space-graphs
f23b071cf07e2a85a8a23a0af3aa99455f26b3e3
[ "MIT" ]
8
2015-01-09T01:10:41.000Z
2020-11-30T07:07:21.000Z
#include "community.h" #include <set> namespace modularity { double Community::modularity() const { double q = 0.; double m2 = g->totalWeight; for (int i = 0; i < g->n; i++) { if (tot[i] > 0) q += in[i] / m2 - (tot[i] / m2) * (tot[i] / m2); } return q; } // computation of all neighb...
23.140845
111
0.601339
[ "vector" ]
829fcb8877be979e46f68e6c878ad98236421d01
4,063
cpp
C++
Hero.cpp
White-Hare/SDL_Dungeon_Crawl
277fcd02c795ca4227b254dfd5b0f5807a9a9ee1
[ "MIT" ]
1
2019-08-18T08:58:15.000Z
2019-08-18T08:58:15.000Z
Hero.cpp
White-Hare/SDL_Dungeon_Crawl
277fcd02c795ca4227b254dfd5b0f5807a9a9ee1
[ "MIT" ]
null
null
null
Hero.cpp
White-Hare/SDL_Dungeon_Crawl
277fcd02c795ca4227b254dfd5b0f5807a9a9ee1
[ "MIT" ]
null
null
null
#include "Hero.h" #include <iostream> Hero::Hero(const char* ID, SDL_Rect map_rect, const int velocity):Character(ID, map_rect) { this->velocity = velocity; this->direction_ = UP; this->current_frame_pair = new int[2]{0,0}; this->firing_time = 0; } void Hero::controller(const Uint8* keystates, float ...
24.77439
199
0.64952
[ "render", "object", "vector" ]
82a131492a0b4595cfc7dc09767adf73e492bc0a
17,335
cpp
C++
wifi_hal/cpp_bindings.cpp
lineage-woods/device_motorola_mt6737-common
886472335033ca811ffd58204228d6bfc506a5bf
[ "FTL" ]
9
2018-07-20T01:54:33.000Z
2021-03-29T08:38:55.000Z
wifi_hal/cpp_bindings.cpp
lineage-woods/device_motorola_mt6737-common
886472335033ca811ffd58204228d6bfc506a5bf
[ "FTL" ]
1
2022-03-06T06:19:47.000Z
2022-03-06T06:19:47.000Z
wifi_hal/cpp_bindings.cpp
lineage-woods/device_motorola_mt6737-common
886472335033ca811ffd58204228d6bfc506a5bf
[ "FTL" ]
6
2019-01-12T16:10:38.000Z
2021-10-05T01:16:22.000Z
#include <stdint.h> #include <fcntl.h> #include <sys/socket.h> #include <netlink/genl/genl.h> #include <netlink/genl/family.h> #include <netlink/genl/ctrl.h> #include <linux/rtnetlink.h> #include <netpacket/packet.h> #include <linux/filter.h> #include <linux/errqueue.h> #include <linux/pkt_sched.h> #include <netlink/...
23.585034
102
0.74664
[ "object" ]
82a1fe9608c936e2357ffe9e2447d2b3ee256e4a
2,531
cpp
C++
src/metaspades/src/common/adt/concurrent_dsu.cpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/common/adt/concurrent_dsu.cpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/common/adt/concurrent_dsu.cpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
2
2021-06-05T07:40:20.000Z
2021-06-05T08:02:58.000Z
//*************************************************************************** //* Copyright (c) 2019 Saint Petersburg State University //* All Rights Reserved //* See file LICENSE for details. //*************************************************************************** #include "concurrent_dsu.hpp" #include "io/kmer...
28.438202
80
0.525879
[ "vector" ]
82a3cb935e07a2529510da3b555f4c202d8ee2ea
4,425
cc
C++
3rdparty/rpcz/src/rpcz/zmq_utils.cc
marinadudarenko/bigartm
c7072663581c59e970ef165a577dc4969810a19d
[ "Apache-2.0" ]
1
2016-05-10T16:06:42.000Z
2016-05-10T16:06:42.000Z
3rdparty/rpcz/src/rpcz/zmq_utils.cc
marinadudarenko/bigartm
c7072663581c59e970ef165a577dc4969810a19d
[ "Apache-2.0" ]
null
null
null
3rdparty/rpcz/src/rpcz/zmq_utils.cc
marinadudarenko/bigartm
c7072663581c59e970ef165a577dc4969810a19d
[ "Apache-2.0" ]
null
null
null
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
29.5
86
0.614011
[ "vector" ]
82a3f3aa03f4b21ff677ddeacdadfbbeb6ff3624
1,730
cpp
C++
aws-cpp-sdk-route53-recovery-control-config/source/model/GatingRuleUpdate.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-route53-recovery-control-config/source/model/GatingRuleUpdate.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-route53-recovery-control-config/source/model/GatingRuleUpdate.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/route53-recovery-control-config/model/GatingRuleUpdate.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Util...
18.804348
71
0.730058
[ "model" ]
82aaaf7bb9a56032bb998680376f671a8e899a1d
11,200
cpp
C++
intern/iksolver/intern/IK_QJacobian.cpp
noorbeast/blender
9dc69b3848b46f4fbf3daa3360a3b975f4e1565f
[ "Naumen", "Condor-1.1", "MS-PL" ]
365
2015-02-10T15:10:55.000Z
2022-03-03T15:50:51.000Z
intern/iksolver/intern/IK_QJacobian.cpp
noorbeast/blender
9dc69b3848b46f4fbf3daa3360a3b975f4e1565f
[ "Naumen", "Condor-1.1", "MS-PL" ]
45
2015-01-09T15:34:20.000Z
2021-10-05T14:44:23.000Z
intern/iksolver/intern/IK_QJacobian.cpp
noorbeast/blender
9dc69b3848b46f4fbf3daa3360a3b975f4e1565f
[ "Naumen", "Condor-1.1", "MS-PL" ]
172
2015-01-25T15:16:53.000Z
2022-01-31T08:25:36.000Z
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
26.29108
92
0.632143
[ "vector" ]
82adb334209edc54b403d9cbdec0032fd35fee27
1,606
cpp
C++
Codeforces/Rounds/Codeforces Round #222 (Div. 1)/A(dfs).cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
Codeforces/Rounds/Codeforces Round #222 (Div. 1)/A(dfs).cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
Codeforces/Rounds/Codeforces Round #222 (Div. 1)/A(dfs).cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
/** * author: MaGnsi0 * created: 05/06/2021 20:14:32 **/ #include <bits/stdc++.h> using namespace std; void dfs(int n, int m, int k, int s, vector<vector<char>>& g, vector<vector<bool>>& v, int x, int y) { static int cc = 0; static int dx[] = {-1, 0, 0, 1}; static int dy[] = {0, -1, 1, 0}; if ...
25.09375
102
0.339352
[ "vector" ]
82b111a8660d1aedd26aafb280043c6d659a32ab
7,784
cpp
C++
source/fonts/character.cpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
source/fonts/character.cpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
source/fonts/character.cpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
/** * \file character.cpp * \author Graham Riches (graham.riches@live.com) * \brief method declarations for character objects * \version 0.1 * \date 2021-02-06 * * @copyright Copyright (c) 2021 * */ /********************************** Includes *******************************************/ #include "font.hpp...
43.977401
186
0.628854
[ "object", "vector", "transform" ]
a118ba4346c4c98fae20b1916e026024ff656292
2,245
cpp
C++
hdu-winter-2020/problems/分块,莫队/1002.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
hdu-winter-2020/problems/分块,莫队/1002.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
hdu-winter-2020/problems/分块,莫队/1002.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #include<queue> #include<cmath> #include<map> #include<set> #define ll long long #define F(i,a,b) for(int i=(a);i<=(b);i++) #define mst(a,b) memset((a),(b),sizeof(a)) #define PII pair<int,int> #define rep(i,x,y) for(auto i=(x);i<...
20.59633
67
0.423608
[ "vector" ]
a1273b0f7e1083a1dbc09fe66259c7fbcc60ef25
10,575
cpp
C++
legacy/libopensharding/src/logger/Logger.cpp
AgilData/open-sharding
7dcf5fe11d0184518fc63c1591e67fa0ffccf011
[ "Apache-2.0" ]
null
null
null
legacy/libopensharding/src/logger/Logger.cpp
AgilData/open-sharding
7dcf5fe11d0184518fc63c1591e67fa0ffccf011
[ "Apache-2.0" ]
null
null
null
legacy/libopensharding/src/logger/Logger.cpp
AgilData/open-sharding
7dcf5fe11d0184518fc63c1591e67fa0ffccf011
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2011, CodeFutures Corporation * 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 copyright notice, this list of con...
28.581081
150
0.559716
[ "object" ]
a12fd70256932f772abe5eb08404626f4ba73faf
974
cc
C++
src/events/types/quotaExceeded.cc
indigo-dc/oneclient
f0f4d502e8a38ed0bc526b99bddd19cb8d9f7f38
[ "MIT" ]
4
2016-02-15T15:52:28.000Z
2021-03-31T11:04:22.000Z
src/events/types/quotaExceeded.cc
onedata/oneclient
46b2ca465bd4785f1b9a63aa7ce7fc5b2faaf130
[ "MIT" ]
11
2016-04-01T15:30:19.000Z
2021-12-13T13:18:18.000Z
src/events/types/quotaExceeded.cc
indigo-dc/oneclient
f0f4d502e8a38ed0bc526b99bddd19cb8d9f7f38
[ "MIT" ]
3
2016-08-26T17:38:06.000Z
2021-12-12T20:10:59.000Z
/** * @file quotaExceeded.cc * @author Krzysztof Trzepla * @copyright (C) 2016 ACK CYFRONET AGH * @copyright This software is released under the MIT license cited in * 'LICENSE.txt' */ #include "quotaExceeded.h" #include "messages.pb.h" #include <sstream> namespace one { namespace client { namespace events { ...
20.723404
80
0.665298
[ "vector" ]
a1407803118c58ac414c2f4a4f4a84e08b26557e
13,949
cpp
C++
Applications/SpGEMM3D.cpp
neuralvis/CombBLAS
79d143496bf9d2a2d8f5359251b3c30f48ec2eff
[ "BSD-3-Clause-LBNL" ]
22
2020-08-14T19:14:13.000Z
2022-02-05T20:14:59.000Z
Applications/SpGEMM3D.cpp
neuralvis/CombBLAS
79d143496bf9d2a2d8f5359251b3c30f48ec2eff
[ "BSD-3-Clause-LBNL" ]
8
2020-10-09T23:23:36.000Z
2021-08-05T20:35:18.000Z
Applications/SpGEMM3D.cpp
neuralvis/CombBLAS
79d143496bf9d2a2d8f5359251b3c30f48ec2eff
[ "BSD-3-Clause-LBNL" ]
8
2020-12-04T09:10:06.000Z
2022-01-04T15:37:59.000Z
/****************************************************************/ /* Parallel Combinatorial BLAS Library (for Graph Computations) */ /* version 1.6 -------------------------------------------------*/ /* date: 6/15/2017 ---------------------------------------------*/ /* authors: Ariful Azad, Aydin Buluc --------------...
42.398176
167
0.627644
[ "vector", "3d" ]
a147a40ecfbdcf0951f508f0bc2d334efe383d02
1,038
cpp
C++
JS/expressions/call_expression.cpp
dorin131/dorin-browser
0bf362482955185c590a9d82ffaeb64f0f106547
[ "MIT" ]
1
2020-08-14T09:27:27.000Z
2020-08-14T09:27:27.000Z
JS/expressions/call_expression.cpp
dorin131/dorin-browser
0bf362482955185c590a9d82ffaeb64f0f106547
[ "MIT" ]
null
null
null
JS/expressions/call_expression.cpp
dorin131/dorin-browser
0bf362482955185c590a9d82ffaeb64f0f106547
[ "MIT" ]
null
null
null
#include "call_expression.h" #include "../interpreter.h" namespace js { CallExpression::CallExpression(std::shared_ptr<Node> exp, std::vector<std::shared_ptr<Node>> args) : expression(exp), arguments(args) { } Value CallExpression::execute(Interpreter& i) { std::shared_ptr<Node> callee = expression; if...
25.95
98
0.67052
[ "vector" ]
a1537727955132b03dcbb4b0801e9a118f5e0b3b
10,951
cpp
C++
plugins/plants.cpp
dlmarquis/dfhack
bd216dbc117bdb197fe12febaf1285f5a67c57d7
[ "CC-BY-3.0" ]
5
2016-03-06T15:54:20.000Z
2020-04-20T03:57:15.000Z
plugins/plants.cpp
dlmarquis/dfhack
bd216dbc117bdb197fe12febaf1285f5a67c57d7
[ "CC-BY-3.0" ]
3
2016-10-11T18:01:09.000Z
2019-02-18T11:45:54.000Z
plugins/plants.cpp
dlmarquis/dfhack
bd216dbc117bdb197fe12febaf1285f5a67c57d7
[ "CC-BY-3.0" ]
1
2020-05-17T21:27:09.000Z
2020-05-17T21:27:09.000Z
#include <iostream> #include <iomanip> #include <map> #include <algorithm> #include <vector> #include <string> #include "Core.h" #include "Console.h" #include "Export.h" #include "PluginManager.h" #include "modules/Maps.h" #include "modules/Gui.h" #include "TileTypes.h" #include "modules/MapCache.h" #include "df/plan...
30.589385
191
0.56214
[ "vector" ]
a15403872966269bf4017ee4245f1556b98cc1cc
2,735
cc
C++
mediapipe/framework/profiler/reporter/print_profile.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
2
2021-12-02T02:14:31.000Z
2021-12-02T02:16:24.000Z
mediapipe/framework/profiler/reporter/print_profile.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
null
null
null
mediapipe/framework/profiler/reporter/print_profile.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
3
2021-01-19T14:40:59.000Z
2021-06-09T13:43:49.000Z
// Copyright 2019 The MediaPipe Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
39.071429
80
0.719561
[ "vector" ]
a15cc7be9fdfc32c64ab7aadb3beba261e28631a
1,783
cpp
C++
source/core/FsdkObj/ObjPath.cpp
fengsheng66/FsdkObjSys
33827a4cde6a89b3113fbd2b9f0b0943529c6c8a
[ "Apache-2.0" ]
null
null
null
source/core/FsdkObj/ObjPath.cpp
fengsheng66/FsdkObjSys
33827a4cde6a89b3113fbd2b9f0b0943529c6c8a
[ "Apache-2.0" ]
null
null
null
source/core/FsdkObj/ObjPath.cpp
fengsheng66/FsdkObjSys
33827a4cde6a89b3113fbd2b9f0b0943529c6c8a
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2020 FengSheng. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
19.593407
75
0.689849
[ "vector" ]
a15f04e7c641de49bc69f6ecb1740c40438e568d
1,355
cc
C++
RecoMTD/TransientTrackingRecHit/src/MTDTransientTrackingRecHit.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoMTD/TransientTrackingRecHit/src/MTDTransientTrackingRecHit.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoMTD/TransientTrackingRecHit/src/MTDTransientTrackingRecHit.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
/** \file * */ #include "RecoMTD/TransientTrackingRecHit/interface/MTDTransientTrackingRecHit.h" #include "Geometry/CommonDetUnit/interface/GeomDet.h" #include "DataFormats/GeometryCommonDetAlgo/interface/ErrorFrameTransformer.h" #include "DataFormats/ForwardDetId/interface/MTDDetId.h" #include "DataFormats/Trackin...
33.04878
103
0.80369
[ "geometry" ]
a15fdd503bcd53efbd8a200ed3d85cbcbf803c5d
2,872
hpp
C++
core/consensus/grandpa/vote_weight.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
core/consensus/grandpa/vote_weight.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
core/consensus/grandpa/vote_weight.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_CORE_CONSENSUS_GRANDPA_VOTE_WEIGHT_HPP #define KAGOME_CORE_CONSENSUS_GRANDPA_VOTE_WEIGHT_HPP #include <numeric> #include <boost/dynamic_bitset.hpp> #include <boost/operators.hpp> #include "consensus/gr...
33.395349
80
0.693245
[ "vector" ]
a163e59d3f19df7ed2e50dea14c30574ac83a45e
7,281
cc
C++
core/metrics.cc
sbilly/seastar
4d4a58d15ac20c9037bd52222c9046be8fadc0dc
[ "Apache-2.0" ]
1
2021-04-30T04:44:45.000Z
2021-04-30T04:44:45.000Z
core/metrics.cc
sbilly/seastar
4d4a58d15ac20c9037bd52222c9046be8fadc0dc
[ "Apache-2.0" ]
null
null
null
core/metrics.cc
sbilly/seastar
4d4a58d15ac20c9037bd52222c9046be8fadc0dc
[ "Apache-2.0" ]
null
null
null
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
28.441406
148
0.667491
[ "vector" ]
a16829bd799d7d81291ee33e0a3e1d0937b010d5
662
cpp
C++
C++/802.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
1
2021-08-31T08:53:47.000Z
2021-08-31T08:53:47.000Z
C++/802.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
null
null
null
C++/802.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
null
null
null
class Solution { public: vector<int> eventualSafeNodes(vector<vector<int>>& graph) { int n = graph.size(); vector<int> res, color(n); // 0 - while 1 - gray 2 - black for (int i = 0; i < n; i++) { if (helper(graph, i, color)) res.push_back(i); } return res...
27.583333
72
0.490937
[ "vector" ]
a16874d0ab7303649d6fb03bf94993639909e7b5
839
cpp
C++
216.combination-sum-iii.161158372.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
216.combination-sum-iii.161158372.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
216.combination-sum-iii.161158372.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
class Solution { public: void util(vector<vector<int>> &ans,vector<int> temp,int sum,int target,int k,int index,vector<int> nums) { if(temp.size()==k) { if(sum==target) { cout<<"h"; ans.push_back(temp); } return; ...
27.064516
108
0.475566
[ "vector" ]
a16892f49db858b53558a4b62b80c240063b21ed
17,810
cpp
C++
Source/Runtime/VariantContainer.cpp
huangfeidian/CPP-Reflection
e55882bb8da0728f6a993f3e5c0b18838564e438
[ "MIT" ]
1
2020-06-18T10:42:33.000Z
2020-06-18T10:42:33.000Z
Source/Runtime/VariantContainer.cpp
huangfeidian/CPP-Reflection
e55882bb8da0728f6a993f3e5c0b18838564e438
[ "MIT" ]
null
null
null
Source/Runtime/VariantContainer.cpp
huangfeidian/CPP-Reflection
e55882bb8da0728f6a993f3e5c0b18838564e438
[ "MIT" ]
1
2021-09-30T02:05:41.000Z
2021-09-30T02:05:41.000Z
/* ---------------------------------------------------------------------------- ** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved. ** ** VariantContainer.cpp ** --------------------------------------------------------------------------*/ #include "Precompiled.h" #include "VariantContainer.h" #include "Typ...
30.866551
80
0.304323
[ "transform" ]
a16b8dc95a7d8f73034de8c7d8335e57cb9b146e
2,150
cpp
C++
Project II Game/Motor2D/Lines.cpp
Sanmopre/Sea_Conquest
52c46c218b38eeaa8f7f224e7bff74ef2cc5d934
[ "Zlib" ]
null
null
null
Project II Game/Motor2D/Lines.cpp
Sanmopre/Sea_Conquest
52c46c218b38eeaa8f7f224e7bff74ef2cc5d934
[ "Zlib" ]
1
2020-03-03T09:56:15.000Z
2020-05-24T22:29:01.000Z
Project II Game/Motor2D/Lines.cpp
Sanmopre/Sea_Conquest
52c46c218b38eeaa8f7f224e7bff74ef2cc5d934
[ "Zlib" ]
null
null
null
#include "j1Render.h" #include "Lines.h" #include "j1Scene.h" #include "j1Scene2.h" #include "j1SceneManager.h" #include "j1App.h" #include "j1Window.h" Lines::Lines(j1Color color, float time, int scene) : j1Transitions(time) { this->color = color; this->scene = scene; App->win->GetWindowSize(w, h); screen = { -...
22.164948
79
0.633023
[ "render" ]
a16fbb299772c0b550e38afb47723f57310a427f
1,808
hpp
C++
cpp_sim/Node.hpp
Damien-Ginesy/Projet_S8
475e348c23110459495a9ccfb3cd0a374dd5f601
[ "MIT" ]
3
2022-03-12T14:11:56.000Z
2022-03-21T00:48:06.000Z
cpp_sim/Node.hpp
Damien-Ginesy/Projet_S8
475e348c23110459495a9ccfb3cd0a374dd5f601
[ "MIT" ]
2
2022-03-22T21:28:05.000Z
2022-03-22T21:28:06.000Z
cpp_sim/Node.hpp
Damien-Ginesy/Projet_S8
475e348c23110459495a9ccfb3cd0a374dd5f601
[ "MIT" ]
null
null
null
#pragma once #include <inttypes.h> #include "Array.hpp" #include <vector> #include <random> #include "Hash.hpp" #define SEED_MAX UINT32_MAX #define ID_INVALID (uint32_t)-1 namespace rps { class Node final { private: /* data */ uint32_t _r=0; uint3...
29.16129
85
0.58573
[ "vector" ]
a170f4e7dbb98526df300557c0bab378a67c64d6
8,281
cpp
C++
gearoenix/glc3/texture/gx-glc3-txt-cube.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/glc3/texture/gx-glc3-txt-cube.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/glc3/texture/gx-glc3-txt-cube.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#include "gx-glc3-txt-cube.hpp" #ifdef GX_USE_OPENGL_CLASS_3 #include "../../core/gx-cr-function-loader.hpp" #include "../../gl/gx-gl-constants.hpp" #include "../../gl/gx-gl-loader.hpp" #include "../../render/texture/gx-rnd-txt-image.hpp" #include "../../system/stream/gx-sys-stm-local.hpp" #include "../engine/gx-glc3-e...
44.047872
177
0.639295
[ "render", "vector" ]
a170f868e4c14c1a637dbe10e369ef7067422e9e
11,400
cpp
C++
MindlessEngine/src/window.cpp
morswin22/mindless
293070c90d47a675c39ca9dae629a81407bbdaa7
[ "MIT" ]
null
null
null
MindlessEngine/src/window.cpp
morswin22/mindless
293070c90d47a675c39ca9dae629a81407bbdaa7
[ "MIT" ]
null
null
null
MindlessEngine/src/window.cpp
morswin22/mindless
293070c90d47a675c39ca9dae629a81407bbdaa7
[ "MIT" ]
null
null
null
#include <MindlessEngine/window.hpp> #include <MindlessEngine/input.hpp> #include <MindlessEngine/math.hpp> #include <glm/gtc/matrix_transform.hpp> #include <sstream> #include <iostream> namespace MindlessEngine { Constraints::Constraints(float left, float right, float top, float bottom) : left(left), right(ri...
27.669903
148
0.644211
[ "render", "vector", "transform" ]
a173340db7229d778c23f96d103964c6d285aa37
9,524
cpp
C++
addons/ofxOculusRift/libs/LibOVR/Src/OVR_OSX_DeviceManager.cpp
colejd/OculusEye
3fb408721a47640ce841904e5474d5bf51329475
[ "MIT" ]
1
2018-08-30T05:28:15.000Z
2018-08-30T05:28:15.000Z
addons/ofxOculusRift/libs/LibOVR/Src/OVR_OSX_DeviceManager.cpp
colejd/OculusEye
3fb408721a47640ce841904e5474d5bf51329475
[ "MIT" ]
null
null
null
addons/ofxOculusRift/libs/LibOVR/Src/OVR_OSX_DeviceManager.cpp
colejd/OculusEye
3fb408721a47640ce841904e5474d5bf51329475
[ "MIT" ]
null
null
null
/************************************************************************************ Filename : OVR_OSX_DeviceManager.cpp Content : OSX specific DeviceManager implementation. Created : March 14, 2013 Authors : Lee Cooper Copyright : Copyright 2013 Oculus VR, Inc. All Rights reserved...
31.22623
104
0.567934
[ "object" ]
a17601eac230ec8f50e06a8cb2f7bb52a8fe948e
1,700
cpp
C++
Model Algorithms/Dynamic Programming/Knapsack/0-1 KnapSack.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
Model Algorithms/Dynamic Programming/Knapsack/0-1 KnapSack.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
Model Algorithms/Dynamic Programming/Knapsack/0-1 KnapSack.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
/* Author: Utkarsh Ashok Pathrabe * Algorithm: Getting the 0-1 Knapsack value using Tabulation (Bottom Up) */ /* Problem Statement: Given weights and values of n items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack. In other words, given two integer * arrays val[0...n-1] ...
34
184
0.614118
[ "vector" ]
a17655800687fb52e869b0ddbf5cc2025ef177c3
1,274
hpp
C++
TileMap.hpp
Sparkolo/Codename-LightOfTheMoon
03579d0c47c05df16e6dd0cf946947688dbe2273
[ "MIT" ]
null
null
null
TileMap.hpp
Sparkolo/Codename-LightOfTheMoon
03579d0c47c05df16e6dd0cf946947688dbe2273
[ "MIT" ]
null
null
null
TileMap.hpp
Sparkolo/Codename-LightOfTheMoon
03579d0c47c05df16e6dd0cf946947688dbe2273
[ "MIT" ]
null
null
null
/* * Created by Jeppe Faber on 05/12/2019. * LIST OF EDITS (reverse chronological order - add last on top): * + * + Jeppe Faber [05/12/19] - Basic implementation - Tilemap reads json file for structure. */ #pragma once #include <vector> #include <string> #include "sre/Sprite.hpp" #include "sre/SpriteBatch.hpp" ...
26
110
0.734694
[ "vector" ]
a1793312614abc4e0339a36cf4dec27d03b78f0f
11,327
cc
C++
test/t_util.cc
LeeOHzzZ/ILAng
24225294ac133e5d08af5037350ede8f78610c45
[ "MIT" ]
21
2019-03-18T18:35:35.000Z
2022-01-27T06:57:47.000Z
test/t_util.cc
LeeOHzzZ/ILAng
24225294ac133e5d08af5037350ede8f78610c45
[ "MIT" ]
105
2019-01-19T07:09:25.000Z
2021-01-11T20:06:24.000Z
test/t_util.cc
LeeOHzzZ/ILAng
24225294ac133e5d08af5037350ede8f78610c45
[ "MIT" ]
7
2019-01-28T19:48:09.000Z
2020-11-05T14:42:05.000Z
/// \file /// Unit test for utility functions #include <vector> #include <ilang/util/fs.h> #include <ilang/util/str_util.h> #include "unit-include/config.h" #include "unit-include/util.h" namespace ilang { void RecordLog() { // precondition for log test SetLogLevel(0); // log all SetLogPath(""); // log to /t...
31.817416
80
0.612342
[ "vector" ]
a179b70685504846c7574c93d8c7f57e99da3eae
35,050
cpp
C++
src/swcomponents/one_shot_learning/src/ObjectModeller.cpp
tlund80/MARVIN
9fddfd4c8e298850fc8ce49c02ff437f139309d0
[ "Apache-2.0" ]
null
null
null
src/swcomponents/one_shot_learning/src/ObjectModeller.cpp
tlund80/MARVIN
9fddfd4c8e298850fc8ce49c02ff437f139309d0
[ "Apache-2.0" ]
null
null
null
src/swcomponents/one_shot_learning/src/ObjectModeller.cpp
tlund80/MARVIN
9fddfd4c8e298850fc8ce49c02ff437f139309d0
[ "Apache-2.0" ]
1
2021-11-03T09:10:44.000Z
2021-11-03T09:10:44.000Z
#include <one_shot_learning/ObjectModeller.hpp> //--------------PCL Includes------------------- //#include <pcl_ros/transforms.h> #include <pcl/io/pcd_io.h> #include <pcl/segmentation/sac_segmentation.h> #include <pcl/filters/extract_indices.h> #include <pcl/filters/crop_box.h> #include <pcl/filters/voxel_grid.h> #inc...
36.321244
177
0.677261
[ "mesh", "object", "vector", "model", "transform", "solid" ]
a17ae1cc39a5071fa94fed52bd28894a585215e1
15,040
cpp
C++
filterwindow.cpp
LucaAngioloni/Organizer
7d853166bcf4913645e3b14543004f7a9b9d105d
[ "Apache-2.0" ]
6
2016-09-02T14:39:43.000Z
2020-09-29T23:54:30.000Z
filterwindow.cpp
LucaAngioloni/Organizer
7d853166bcf4913645e3b14543004f7a9b9d105d
[ "Apache-2.0" ]
null
null
null
filterwindow.cpp
LucaAngioloni/Organizer
7d853166bcf4913645e3b14543004f7a9b9d105d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 Luca Angioloni 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 writin...
26.619469
143
0.560971
[ "model" ]
a17b17d350ce54e185220ff8785ceb1a46c6d972
10,754
cpp
C++
tst/OpcUaStackCore/EventType/BaseEventType_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
tst/OpcUaStackCore/EventType/BaseEventType_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
tst/OpcUaStackCore/EventType/BaseEventType_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
#include "unittest.h" #include "OpcUaStackCore/StandardEventType/BaseEventType.h" using namespace OpcUaStackCore; BOOST_AUTO_TEST_SUITE(BaseEventType_) BOOST_AUTO_TEST_CASE(BaseEventType_) { std::cout << "BaseEventType_t" << std::endl; } BOOST_AUTO_TEST_CASE(BaseEventType_construct_destruct) { BaseE...
31.722714
109
0.74642
[ "vector" ]
a17d35ff663904cb4402d7ae738231297f66c965
11,770
hpp
C++
include/UnityEngine/Rendering/ScriptableRenderContext.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/UnityEngine/Rendering/ScriptableRenderContext.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/UnityEngine/Rendering/ScriptableRenderContext.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: System.IE...
60.984456
242
0.754885
[ "object", "vector" ]
a17eea42352d6c59dbf9c1e29c52694c2e81c003
1,050
hpp
C++
examples/lookat/dinheiro.hpp
juniormaniusis/dino_wants_money-cg3
3c7807f762a159d5440c67c051f9033fffb922d1
[ "MIT" ]
null
null
null
examples/lookat/dinheiro.hpp
juniormaniusis/dino_wants_money-cg3
3c7807f762a159d5440c67c051f9033fffb922d1
[ "MIT" ]
null
null
null
examples/lookat/dinheiro.hpp
juniormaniusis/dino_wants_money-cg3
3c7807f762a159d5440c67c051f9033fffb922d1
[ "MIT" ]
null
null
null
#ifndef Dinheiro_HPP_ #define Dinheiro_HPP_ #include <random> #include <vector> #include "abcg.hpp" #include "camera.hpp" #include "gamedata.hpp" #include "model.hpp" typedef struct DinheiroUnidade { bool ativo{0}; float valor{100.0}; glm::vec3 posicao{0}; } DinheiroUnidade; class OpenGLWindow; class Dinheiro...
25
75
0.749524
[ "vector", "model" ]
a180f5fed2a9372ba1aec310e0ec4d2c6f97efb8
11,622
cpp
C++
src/Game.cpp
TmCrafz/ArenaSFML
a112330816b1e76564194ead9aff99e28ff9b454
[ "MIT" ]
2
2017-05-16T22:39:14.000Z
2021-03-16T13:56:55.000Z
src/Game.cpp
TmCrafz/ArenaSFML
a112330816b1e76564194ead9aff99e28ff9b454
[ "MIT" ]
null
null
null
src/Game.cpp
TmCrafz/ArenaSFML
a112330816b1e76564194ead9aff99e28ff9b454
[ "MIT" ]
1
2017-12-05T05:34:20.000Z
2017-12-05T05:34:20.000Z
#include "Game.hpp" #include "Screens/CreditsScreen.hpp" #include "Screens/Screen.hpp" #include "Screens/MainGameScreen.hpp" #include "Screens/MainMenuScreen.hpp" #include "Screens/PauseScreen.hpp" #include "Screens/SettingsScreen.hpp" #include "Screens/TwoPlayerSelectionScreen.hpp" #include "Level/Level.hpp" #include ...
30.344648
165
0.633196
[ "render", "vector" ]
a188c36a8b00fe35f5f79e01591f05f69b7dfe90
8,005
hpp
C++
include/fastdds/rtps/common/LocatorList.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
548
2020-06-02T11:59:31.000Z
2022-03-30T00:59:33.000Z
include/fastdds/rtps/common/LocatorList.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
1,068
2020-06-01T12:36:33.000Z
2022-03-31T09:57:34.000Z
include/fastdds/rtps/common/LocatorList.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
230
2020-06-04T02:46:23.000Z
2022-03-30T01:35:58.000Z
// Copyright 2021 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
21.871585
101
0.535415
[ "vector" ]
a18ac346ddea34c4fed371e025c86a8869db921d
11,190
hpp
C++
core/src/Morpheus_DiaMatrix.hpp
morpheus-org/morpheus
8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6
[ "Apache-2.0" ]
1
2021-12-18T01:18:49.000Z
2021-12-18T01:18:49.000Z
core/src/Morpheus_DiaMatrix.hpp
morpheus-org/morpheus
8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6
[ "Apache-2.0" ]
5
2021-10-05T15:12:02.000Z
2022-01-21T23:26:41.000Z
core/src/Morpheus_DiaMatrix.hpp
morpheus-org/morpheus
8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6
[ "Apache-2.0" ]
null
null
null
/** * Morpheus_DiaMatrix.hpp * * EPCC, The University of Edinburgh * * (c) 2021 - 2022 The University of Edinburgh * * Contributing Authors: * Christodoulos Stylianou (c.stylianou@ed.ac.uk) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wi...
36.449511
80
0.687846
[ "shape" ]
a18b569472836c339d4c70c7b92d6ad8734ff546
3,811
cpp
C++
TAO/tests/Bug_1670_Regression/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tests/Bug_1670_Regression/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tests/Bug_1670_Regression/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
/** * @file server.cpp * * $Id: server.cpp 95464 2012-01-20 19:01:49Z johnnyw $ * * @author Carlos O'Ryan <coryan@atdesk.com> */ #include "TestS.h" #include "tao/corba.h" #include "tao/ORB_Core.h" #include "ace/Get_Opt.h" #include "ace/Reactor.h" /** * @class Simple_C * * @brief A simple implementation of th...
22.028902
73
0.574128
[ "object" ]
a19030dba9e098763d17fd7f6e9dedd2531808ea
15,112
cpp
C++
ANode/parser/test/TestSingleDefsFile.cpp
ecmwf/ecflow
2498d0401d3d1133613d600d5c0e0a8a30b7b8eb
[ "Apache-2.0" ]
11
2020-08-07T14:42:45.000Z
2021-10-21T01:59:59.000Z
ANode/parser/test/TestSingleDefsFile.cpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
10
2020-08-07T14:36:27.000Z
2022-02-22T06:51:24.000Z
ANode/parser/test/TestSingleDefsFile.cpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
6
2020-08-07T14:34:38.000Z
2022-01-10T12:06:27.000Z
#define BOOST_TEST_MODULE TestParser //============================================================================ // Name : // Author : Avi // Revision : $Revision$ // // Copyright 2009-2020 ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtaine...
50.711409
275
0.670461
[ "vector" ]
a19069aeae054e418101be383e74d495fc434824
2,150
cpp
C++
atcoder/abc029/D/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
atcoder/abc029/D/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
19
2016-05-04T02:46:31.000Z
2021-11-27T06:18:33.000Z
atcoder/abc029/D/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
// atcoder/abc029/D/main.cpp // author: @___Johniel // github: https://github.com/johniel/ #include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; template<typename...
29.054054
144
0.471628
[ "vector" ]
08489c1143f025cbe293d835cd66eb327fff5e8e
10,852
cpp
C++
src/rs-camProcess.cpp
TebogoNakampe/OpenGesture-HandTracking
870c93ec0bb4d7fa873f2c30c520dc64ffe38f36
[ "BSD-3-Clause" ]
4
2019-07-05T15:56:11.000Z
2021-01-24T07:13:39.000Z
src/rs-camProcess.cpp
TebogoNakampe/OpenGesture
870c93ec0bb4d7fa873f2c30c520dc64ffe38f36
[ "BSD-3-Clause" ]
null
null
null
src/rs-camProcess.cpp
TebogoNakampe/OpenGesture
870c93ec0bb4d7fa873f2c30c520dc64ffe38f36
[ "BSD-3-Clause" ]
1
2019-06-27T16:32:06.000Z
2019-06-27T16:32:06.000Z
#include "global.h" #include "kernels.h" #include "rs-camProcess.h" #include <math.h> cvCamCapture::cvCamCapture(QObject* parent) : QObject(parent) { m_videoCapture = new cv::VideoCapture(3); m_videoCapture->open(3); m_videoCapture->set(CV_CAP_PROP_FRAME_WIDTH, CAM_WIDTH); m_videoCapture->set(CV_CAP_PROP_F...
35.233766
149
0.705308
[ "shape", "vector", "transform" ]
084abba7a985fae6258190dcb32b27aaf0383741
3,645
cpp
C++
src/external_plugins/term_input_handler/input_handler_key.cpp
stonewell/wxglterm
27480ed01e2832e98785b517ac17037a71cefe7c
[ "MIT" ]
12
2017-11-23T16:02:41.000Z
2019-12-29T08:36:36.000Z
src/external_plugins/term_input_handler/input_handler_key.cpp
stonewell/wxglterm
27480ed01e2832e98785b517ac17037a71cefe7c
[ "MIT" ]
9
2017-12-04T15:55:51.000Z
2019-11-01T13:08:21.000Z
src/external_plugins/term_input_handler/input_handler_key.cpp
stonewell/wxglterm
27480ed01e2832e98785b517ac17037a71cefe7c
[ "MIT" ]
5
2018-09-02T07:35:13.000Z
2019-12-29T08:36:37.000Z
#include <iostream> #ifndef _WIN32 #include <unistd.h> #endif #include <vector> #include <string.h> #include "key_code_map.h" #include "plugin_manager.h" #include "plugin.h" #include "term_network.h" #include "term_data_handler.h" #include "term_context.h" #include "term_window.h" #include "input.h" #include "plugin...
27
113
0.571742
[ "vector" ]
084fb8b65d97a17fd73a0f1f21857c1cd23fa283
4,029
cc
C++
code/render/renderutil/drawfullscreenquad.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
377
2018-10-24T08:34:21.000Z
2022-03-31T23:37:49.000Z
code/render/renderutil/drawfullscreenquad.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
11
2020-01-22T13:34:46.000Z
2022-03-07T10:07:34.000Z
code/render/renderutil/drawfullscreenquad.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
23
2019-07-13T16:28:32.000Z
2022-03-20T09:00:59.000Z
//------------------------------------------------------------------------------ // drawfullscreenquad.cc // (C) 2009 Radon Labs GmbH // (C) 2013-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "render/stdneb.h" #include "render...
35.654867
105
0.586001
[ "render", "object" ]
085068c241ab496f912eafd385071686044430f0
3,548
cpp
C++
engine/src/engine/opengl/mesh.cpp
Turtwiggy/Cplusplus_game_engine
71f66c047b0802232a32ec113eb83b310aaec0ab
[ "Apache-2.0" ]
null
null
null
engine/src/engine/opengl/mesh.cpp
Turtwiggy/Cplusplus_game_engine
71f66c047b0802232a32ec113eb83b310aaec0ab
[ "Apache-2.0" ]
null
null
null
engine/src/engine/opengl/mesh.cpp
Turtwiggy/Cplusplus_game_engine
71f66c047b0802232a32ec113eb83b310aaec0ab
[ "Apache-2.0" ]
null
null
null
// header #include "engine/opengl/mesh.hpp" // other library headers #include <gl/glew.h> #include <glm/glm.hpp> // c++ libs #include <iostream> namespace engine { // clang-format off static float vertexPlane[40] = { -1.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 1.0f,-1.0f, 0.0f, 1.0f, 0.0f, 0.0...
31.678571
108
0.585682
[ "mesh", "object", "vector" ]
08598a8a13fc6a5e5f85828ed1ed529f95afd9fb
5,199
cpp
C++
src/converters/jsonconverter.cpp
Amf1k/CognitiveMapCreator
8e812d664a0a5b508b58bb00ef323a0c5f31a4ad
[ "MIT" ]
null
null
null
src/converters/jsonconverter.cpp
Amf1k/CognitiveMapCreator
8e812d664a0a5b508b58bb00ef323a0c5f31a4ad
[ "MIT" ]
null
null
null
src/converters/jsonconverter.cpp
Amf1k/CognitiveMapCreator
8e812d664a0a5b508b58bb00ef323a0c5f31a4ad
[ "MIT" ]
null
null
null
#include "jsonconverter.hpp" #include <QDebug> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QUuid> #include "domain/node.hpp" #include "domain/relationship.hpp" cognitive::converters::JsonConverter::JsonConverter(QObject* parent) : IConverter(parent) {} QByteArray cognitive::c...
40.302326
80
0.639738
[ "object" ]
086391b65b49ae0f0c1774efe536d09320cfde36
6,149
cpp
C++
src/Result.cpp
shift-left-test/sentinel
64f401ead35ad564badedfd0956414a6d148077e
[ "MIT-0", "MIT" ]
null
null
null
src/Result.cpp
shift-left-test/sentinel
64f401ead35ad564badedfd0956414a6d148077e
[ "MIT-0", "MIT" ]
null
null
null
src/Result.cpp
shift-left-test/sentinel
64f401ead35ad564badedfd0956414a6d148077e
[ "MIT-0", "MIT" ]
null
null
null
/* * Copyright (c) 2020 LG Electronics Inc. * SPDX-License-Identifier: MIT */ #include <fmt/core.h> #include <tinyxml2/tinyxml2.h> #include <experimental/filesystem> #include <algorithm> #include <vector> #include <string> #include "sentinel/Logger.hpp" #include "sentinel/Result.hpp" namespace fs = std::experimen...
31.372449
80
0.585786
[ "vector", "transform" ]
0864fc6d2702731b33804cab836518f421113ef2
16,638
cc
C++
caffe2/opt/bound_shape_inferencer.cc
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
1
2019-07-23T11:20:58.000Z
2019-07-23T11:20:58.000Z
caffe2/opt/bound_shape_inferencer.cc
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
null
null
null
caffe2/opt/bound_shape_inferencer.cc
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
null
null
null
#include "bound_shape_inferencer.h" #include "caffe2/core/operator_schema.h" #include "caffe2/core/tensor_impl.h" #include "caffe2/utils/proto_utils.h" #include "caffe2/utils/string_utils.h" namespace caffe2 { namespace { std::vector<int64_t> ConvertToVec( const ::google::protobuf::RepeatedField<::google::protobu...
32.496094
82
0.633009
[ "shape", "vector" ]
0867648b6aef67c2cb47e6196bfb55483b782466
14,828
cpp
C++
Base/PLScene/src/Scene/SNSpotLight.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
1
2019-11-09T16:54:04.000Z
2019-11-09T16:54:04.000Z
Base/PLScene/src/Scene/SNSpotLight.cpp
naetherm/pixelligh
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLScene/src/Scene/SNSpotLight.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
null
null
null
/*********************************************************\ * File: SNSpotLight.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
33.098214
137
0.650998
[ "render", "transform" ]
0867967f5cd4f1131ec92b8f3a14aeb05ad3dd9e
7,273
cpp
C++
MiscFunctions.cpp
aljawary/PZ_CSGO_CHEAT-master
f27ffdec8514df89d6d72b4b319d63933b114695
[ "MIT" ]
null
null
null
MiscFunctions.cpp
aljawary/PZ_CSGO_CHEAT-master
f27ffdec8514df89d6d72b4b319d63933b114695
[ "MIT" ]
null
null
null
MiscFunctions.cpp
aljawary/PZ_CSGO_CHEAT-master
f27ffdec8514df89d6d72b4b319d63933b114695
[ "MIT" ]
null
null
null
#include "MiscFunctions.h" #include "Autowall.h" #include "Render.h" char shit[16]; trace_t Trace; char shit2[16]; C_BaseEntity* entCopy; bool MiscFunctions::IsVisible(C_BaseEntity* pLocal, C_BaseEntity* pEntity) { entCopy = pEntity; if (!pLocal->IsValid()) return false; Vector vSrcOrigin = pLocal->GetEyePo...
19.291777
459
0.712086
[ "render", "vector" ]
086d5bf31758618921bcf52fe10ac1d0dcf9bfb0
8,684
cc
C++
daemon/protocol/mcbp/sasl_auth_command_context.cc
nawazish-couchbase/kv_engine
132f1bb04c9212bcac9e401d069aeee5f63ff1cd
[ "MIT", "BSD-3-Clause" ]
104
2017-05-22T20:41:57.000Z
2022-03-24T00:18:34.000Z
daemon/protocol/mcbp/sasl_auth_command_context.cc
nawazish-couchbase/kv_engine
132f1bb04c9212bcac9e401d069aeee5f63ff1cd
[ "MIT", "BSD-3-Clause" ]
3
2017-11-14T08:12:46.000Z
2022-03-03T11:14:17.000Z
daemon/protocol/mcbp/sasl_auth_command_context.cc
nawazish-couchbase/kv_engine
132f1bb04c9212bcac9e401d069aeee5f63ff1cd
[ "MIT", "BSD-3-Clause" ]
71
2017-05-22T20:41:59.000Z
2022-03-29T10:34:32.000Z
/* * Copyright 2017-Present Couchbase, Inc. * * Use of this software is governed by the Business Source License included * in the file licenses/BSL-Couchbase.txt. As of the Change Date specified * in that file, in accordance with the Business Source License, use of this * software will be governed by...
35.736626
80
0.590281
[ "transform" ]
086f8750514a8c8ef8819b17d5121be5d5b865ea
1,852
cpp
C++
sw5653_3.cpp
sjnov11/SW-expert-academy
b7040017f2f8ff037aee40a5024284aaad1e50f9
[ "MIT" ]
1
2022-02-21T09:11:15.000Z
2022-02-21T09:11:15.000Z
sw5653_3.cpp
sjnov11/SW-expert-academy
b7040017f2f8ff037aee40a5024284aaad1e50f9
[ "MIT" ]
null
null
null
sw5653_3.cpp
sjnov11/SW-expert-academy
b7040017f2f8ff037aee40a5024284aaad1e50f9
[ "MIT" ]
1
2019-07-03T10:12:55.000Z
2019-07-03T10:12:55.000Z
#include <iostream> #include <vector> #include <queue> #include <algorithm> using namespace std; int board[400][400]; int dir[4][2] = { {-1, 0}, {1, 0}, {0, -1}, {0, 1} }; struct Cell { int x, y; int life; int time; }; bool operator <(const Cell &a, const Cell &b) { return a.life > b.life; } bool cmp(const Cell ...
22.047619
70
0.510799
[ "vector" ]
087306a2c74d9bf62971ea3d0f0047d1ff41cdb4
1,347
cpp
C++
cpp/fractional_knapsack.cpp
maojh/Hacktoberfest
12562a109677664def6d5cee3ab7cb119c85f1d9
[ "MIT" ]
1
2020-10-06T01:20:07.000Z
2020-10-06T01:20:07.000Z
cpp/fractional_knapsack.cpp
devnarayanp02/Hacktoberfest
ff1c1db99ed9a408d84c326126ff07d946d3987b
[ "MIT" ]
null
null
null
cpp/fractional_knapsack.cpp
devnarayanp02/Hacktoberfest
ff1c1db99ed9a408d84c326126ff07d946d3987b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <iterator> using namespace std; double get_optimal_value(int c, vector<int>& weights, vector<int>& values) { map<double,int> knap; for(int i=0;i<values.size();i++) { double val=values[i]/(double)weights[i]; knap.insert({val,weights[i]}); } map<d...
19.521739
76
0.445434
[ "vector" ]
087447a8b83f7460a3825fe8c7efe53ebc56ee93
12,282
cxx
C++
Rendering/Core/vtkTransformInterpolator.cxx
inviCRO/VTK
a2dc2e79d4ecb8f6da900535b32e1a2a702c7f48
[ "BSD-3-Clause" ]
1
2021-12-02T07:23:36.000Z
2021-12-02T07:23:36.000Z
Rendering/Core/vtkTransformInterpolator.cxx
inviCRO/VTK
a2dc2e79d4ecb8f6da900535b32e1a2a702c7f48
[ "BSD-3-Clause" ]
null
null
null
Rendering/Core/vtkTransformInterpolator.cxx
inviCRO/VTK
a2dc2e79d4ecb8f6da900535b32e1a2a702c7f48
[ "BSD-3-Clause" ]
1
2021-12-02T07:29:15.000Z
2021-12-02T07:29:15.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkTransformInterpolator.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This ...
27.172566
85
0.581746
[ "vector" ]
08765e8ad3eec56ae85247ba437a42bd47fd1b86
1,696
hpp
C++
bench/tests/qdb/ts/col_double_aggregate.hpp
bureau14/qdb-benchmark
1839d7ac04417de56b7a7fb2b7deff50756b3048
[ "BSD-2-Clause" ]
5
2017-01-19T09:35:40.000Z
2021-02-26T07:31:38.000Z
bench/tests/qdb/ts/col_double_aggregate.hpp
bureau14/qdb-benchmark
1839d7ac04417de56b7a7fb2b7deff50756b3048
[ "BSD-2-Clause" ]
1
2015-11-09T15:38:28.000Z
2015-11-12T11:14:58.000Z
bench/tests/qdb/ts/col_double_aggregate.hpp
bureau14/qdb-benchmark
1839d7ac04417de56b7a7fb2b7deff50756b3048
[ "BSD-2-Clause" ]
3
2015-11-02T09:37:09.000Z
2017-05-05T06:38:49.000Z
#pragma once #include <bench/tests/qdb/qdb_test_template.hpp> #include <time.h> namespace bench { namespace tests { namespace qdb { namespace ts { class col_double_average : public qdb_test_template<col_double_average> { public: explicit col_double_average(bench::test_config config) : qdb_test_template(config), ...
21.74359
117
0.654481
[ "vector" ]
08795b8f0b1cbe3e46aec2e928ff26b8a1035d1b
3,789
hpp
C++
include/Nazara/Core/ObjectHandle.hpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
376
2015-01-09T03:14:48.000Z
2022-03-26T17:59:18.000Z
include/Nazara/Core/ObjectHandle.hpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
252
2015-01-21T17:34:39.000Z
2022-03-20T16:15:50.000Z
include/Nazara/Core/ObjectHandle.hpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
104
2015-01-18T11:03:41.000Z
2022-03-11T05:40:47.000Z
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_OBJECTHANDLE_HPP #define NAZARA_OBJECTHANDLE_HPP #include <Nazara/Core/Algorithm.hpp> #include <Nazara/Core/Handled...
37.147059
97
0.737398
[ "object" ]
087caade63a7405045348d767aa1879a1cce289e
3,979
cc
C++
lib/kahypar/tests/partition/refinement/quotient_graph_block_scheduler_test.cc
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
lib/kahypar/tests/partition/refinement/quotient_graph_block_scheduler_test.cc
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
lib/kahypar/tests/partition/refinement/quotient_graph_block_scheduler_test.cc
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
/******************************************************************************* * This file is part of KaHyPar. * * Copyright (C) 2018 Sebastian Schlag <sebastian.schlag@kit.edu> * Copyright (C) 2018 Tobias Heuer <tobias.heuer@live.com> * * KaHyPar is free software: you can redistribute it and/or modify * it un...
32.349593
94
0.613219
[ "vector" ]
087d4dcae8b4eb17b029db22ad5edd43d444a7f9
20,707
hpp
C++
include/UnityEngine/StateMachineBehaviour.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/StateMachineBehaviour.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/StateMachineBehaviour.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.ScriptableObject #inclu...
79.642308
289
0.779253
[ "vector" ]
0885468db49dcd8269d31f989e030c3b1b40e972
1,168
cpp
C++
Clerk/UI/Transactions/TransactionsTagsRender.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
14
2016-11-01T15:48:02.000Z
2020-07-15T13:00:27.000Z
Clerk/UI/Transactions/TransactionsTagsRender.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
29
2017-11-16T04:15:33.000Z
2021-12-22T07:15:42.000Z
Clerk/UI/Transactions/TransactionsTagsRender.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
2
2018-08-15T15:25:11.000Z
2019-01-28T12:49:50.000Z
#include "TransactionsTagsRender.h" TransactionsTagsRender::TransactionsTagsRender() : wxDataViewCustomRenderer("arrstring", wxDATAVIEW_CELL_INERT, wxDVR_DEFAULT_ALIGNMENT) { } TransactionsTagsRender::~TransactionsTagsRender() { } bool TransactionsTagsRender::Render(wxRect rect, wxDC *dc, int state) { int x = rect....
21.236364
136
0.706336
[ "render" ]
088c96039a052220a25880abfc8b67c3cf9e5fc0
5,410
cpp
C++
lib/node_types/esp/src/distance-hcsr04.cpp
WhereIsTheExit/iotempower
9079ff9bc42b6a456bc016d638de0713feb49c62
[ "MIT" ]
null
null
null
lib/node_types/esp/src/distance-hcsr04.cpp
WhereIsTheExit/iotempower
9079ff9bc42b6a456bc016d638de0713feb49c62
[ "MIT" ]
null
null
null
lib/node_types/esp/src/distance-hcsr04.cpp
WhereIsTheExit/iotempower
9079ff9bc42b6a456bc016d638de0713feb49c62
[ "MIT" ]
null
null
null
// hcsr04.cpp // Important to include Functional Interrupt as else it does not allow to // define a class-based (object specific) interrupt #include <FunctionalInterrupt.h> #include "distance-hcsr04.h" void Hcsr04::echo_changed(void) { unsigned long current = micros(); // directly read time to be as precise as ...
41.615385
138
0.556007
[ "object" ]
08927ecd5922487697eae9a575134543dc703c6d
254,120
cpp
C++
src/legup_io_patch/GenerateRTL.cpp
nefrock/LeFlow
6ac21fcfc2108fb163d3e41c41bbbd197a721e8e
[ "MIT" ]
497
2018-07-22T06:51:16.000Z
2022-03-06T17:53:27.000Z
src/legup_io_patch/GenerateRTL.cpp
nefrock/LeFlow
6ac21fcfc2108fb163d3e41c41bbbd197a721e8e
[ "MIT" ]
38
2018-08-14T08:49:29.000Z
2022-02-16T23:52:31.000Z
src/legup_io_patch/GenerateRTL.cpp
nefrock/LeFlow
6ac21fcfc2108fb163d3e41c41bbbd197a721e8e
[ "MIT" ]
92
2018-07-23T02:53:59.000Z
2022-03-17T14:44:53.000Z
//===-- GenerateRTL.cpp -----------------------------------------*- C++ -*-===// // // This file is distributed under the LegUp license. See LICENSE for details. // //===----------------------------------------------------------------------===// // // This file implements the GenerateRTL object // //===----------------...
35.235718
118
0.645329
[ "object", "vector" ]
0892b2a16673567877a2c568196288fc854e43ba
27,526
cpp
C++
examples/IBFE/explicit/ex0/main.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
2
2017-12-06T06:16:36.000Z
2021-03-13T12:28:08.000Z
examples/IBFE/explicit/ex0/main.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
null
null
null
examples/IBFE/explicit/ex0/main.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2002-2013, Boyce Griffith // 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 copyright notice, // this list o...
48.038394
172
0.625954
[ "mesh", "vector", "model" ]
089516ce2736caa09083abf715b8af06316f4d08
6,449
hh
C++
src/gpu-compute/register_file.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
765
2015-01-14T16:17:04.000Z
2022-03-28T07:46:28.000Z
src/gpu-compute/register_file.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
30
2015-01-01T21:49:38.000Z
2021-04-20T19:01:54.000Z
src/gpu-compute/register_file.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
807
2015-01-06T09:55:38.000Z
2022-03-30T10:23:36.000Z
/* * Copyright (c) 2015-2017 Advanced Micro Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * th...
36.642045
79
0.71608
[ "vector", "model" ]
089c783c1ac9f69c79be14d28fc9f3a16ac01390
4,269
cc
C++
newnnfw/runtimes/pure_arm_compute/src/internal/layers/SimpleEmbeddingLookup.cc
kosslab-kr/Tizen-NN-Framework
132fc98ed57e4b19ad1f4cb258ad79fa9df1db7a
[ "Apache-2.0" ]
8
2018-09-10T01:32:26.000Z
2020-05-13T06:05:40.000Z
newnnfw/runtimes/pure_arm_compute/src/internal/layers/SimpleEmbeddingLookup.cc
kosslab-kr/Tizen-NN-Framework
132fc98ed57e4b19ad1f4cb258ad79fa9df1db7a
[ "Apache-2.0" ]
28
2018-09-10T05:01:09.000Z
2021-03-04T10:07:12.000Z
newnnfw/runtimes/pure_arm_compute/src/internal/layers/SimpleEmbeddingLookup.cc
kosslab-kr/Tizen-NN-Framework
132fc98ed57e4b19ad1f4cb258ad79fa9df1db7a
[ "Apache-2.0" ]
4
2018-09-13T04:16:08.000Z
2018-12-03T07:34:44.000Z
#include "internal/layers/SimpleEmbeddingLookup.h" #include <arm_compute/runtime/CL/CLScheduler.h> void SimpleEmbeddingLookup::configure(::arm_compute::ITensor *lookups, ::arm_compute::ITensor *values, ::arm_compute::ITensor *output) { // A...
36.801724
98
0.625908
[ "shape" ]
089e343ae53f1ee8be86ad866db2f1bdd0fcb3c1
6,340
hpp
C++
xr3/h/xr/AABB.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
7
2018-11-13T09:44:56.000Z
2022-01-12T02:22:41.000Z
xr3/h/xr/AABB.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
2
2018-10-30T08:19:02.000Z
2018-12-31T18:48:13.000Z
xr3/h/xr/AABB.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
null
null
null
#ifndef XR_AABB_HPP #define XR_AABB_HPP //============================================================================== // // XRhodes // // copyright (c) Gyorgy Straub. All rights reserved. // // License: https://github.com/zyndor/xrhodes#License-bsd-2-clause // //======================================================...
33.723404
84
0.567035
[ "object" ]
08a77e4f65b140ccb8eb0be538101ac4b2251d51
7,085
cpp
C++
copasi/UI/CQLayoutsDM.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
copasi/UI/CQLayoutsDM.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
copasi/UI/CQLayoutsDM.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
// Copyright (C) 2019 - 2020 by Pedro Mendes, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelbe...
25.035336
126
0.632604
[ "vector" ]