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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a7d1178ed445c78a9efa24ccb4d69370516664bc | 3,012 | cpp | C++ | EngineLib/Camera.cpp | annahayhurst/procedural-terrain-generator | fb110b4307007a8ffd34097148c495584db1c085 | [
"Zlib"
] | 1 | 2021-02-01T08:12:49.000Z | 2021-02-01T08:12:49.000Z | EngineLib/Camera.cpp | annahayhurst/procedural-terrain-generator | fb110b4307007a8ffd34097148c495584db1c085 | [
"Zlib"
] | 18 | 2020-05-22T14:15:01.000Z | 2020-07-16T17:52:26.000Z | EngineLib/Camera.cpp | annahayhurst/procedural-terrain-generator | fb110b4307007a8ffd34097148c495584db1c085 | [
"Zlib"
] | null | null | null | #include "Camera.h"
#include <iostream>
namespace Engine {
// Constructor with parameters
Camera::Camera(vec3 position, vec3 up, GLfloat yaw, GLfloat pitch, GLfloat moveSpeed, GLfloat turnSpeed) :
position(position), worldUp(up), front(vec3(0.0f, 0.0f, -1.0f)),
yaw(yaw), pitch(pitch),
moveSpeed(moveSpeed), tur... | 32.042553 | 114 | 0.677623 | [
"vector"
] |
a7d3d243b1e1945a9b378ccacc76ae0c0b65bbeb | 15,121 | cpp | C++ | LPsolver_v1.5/pgCbc/libPgCbc.cpp | aau-daisy/solvedb | 8a15559b5a08747b2217d9146e3dd122379d4de1 | [
"Apache-2.0"
] | 12 | 2017-12-06T10:39:21.000Z | 2021-02-18T13:43:35.000Z | LPsolver_v1.5/pgCbc/libPgCbc.cpp | aau-daisy/solvedb | 8a15559b5a08747b2217d9146e3dd122379d4de1 | [
"Apache-2.0"
] | 3 | 2017-05-17T13:38:36.000Z | 2020-06-27T17:50:40.000Z | LPsolver_v1.5/pgCbc/libPgCbc.cpp | aau-daisy/solvedb | 8a15559b5a08747b2217d9146e3dd122379d4de1 | [
"Apache-2.0"
] | 2 | 2020-02-16T12:47:07.000Z | 2021-02-18T13:43:36.000Z | /*
Copyright (C) 2004-2007 EPRI Corporation and others. All Rights Reserved.
This code is licensed under the terms of the Eclipse Public License (EPL).
$Id: cbc_driverC_sos.c 1902 2013-04-10 16:58:16Z stefan $
*/
/* This example shows the use of the "C" interface for CBC. */
#include "libPgCbc.h"
#include "m... | 28.801905 | 278 | 0.651147 | [
"vector",
"model"
] |
a7dfd06170b63f05e671be837a0772f8c75269bd | 4,972 | cpp | C++ | src/main.cpp | falichs/Depizelizing-Pixel-Art-on-GPUs | 1e08d156b16c0a0165ae38cabd55fc71611c7543 | [
"MIT"
] | 59 | 2017-02-27T11:59:21.000Z | 2022-02-22T08:36:26.000Z | src/main.cpp | falichs/Depizelizing-Pixel-Art-on-GPUs | 1e08d156b16c0a0165ae38cabd55fc71611c7543 | [
"MIT"
] | 2 | 2018-04-06T11:07:49.000Z | 2021-11-23T22:40:00.000Z | src/main.cpp | falichs/Depizelizing-Pixel-Art-on-GPUs | 1e08d156b16c0a0165ae38cabd55fc71611c7543 | [
"MIT"
] | 12 | 2018-04-05T13:59:19.000Z | 2021-12-13T11:55:35.000Z | // Copyright (c) 2015 Felix Kreuzer
//
// This source is subject to the MIT License.
// Please see the LICENSE.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE... | 29.247059 | 121 | 0.638375 | [
"vector"
] |
a7ece1e9cc6d9518931ba55d8ff009cfe5eb8bf5 | 22,314 | cpp | C++ | PyCommon/externalLibs/BaseLib/motion/Retarget_JH/PmQm/pmPosture.cpp | hpgit/HumanFoot | f9a1a341b7c43747bddcd5584b8c98a0d1ac2973 | [
"Apache-2.0"
] | 4 | 2018-05-14T07:27:59.000Z | 2021-12-21T04:39:21.000Z | PyCommon/externalLibs/BaseLib/motion/Retarget_JH/PmQm/pmPosture.cpp | hpgit/HumanFoot | f9a1a341b7c43747bddcd5584b8c98a0d1ac2973 | [
"Apache-2.0"
] | null | null | null | PyCommon/externalLibs/BaseLib/motion/Retarget_JH/PmQm/pmPosture.cpp | hpgit/HumanFoot | f9a1a341b7c43747bddcd5584b8c98a0d1ac2973 | [
"Apache-2.0"
] | 3 | 2018-01-03T06:09:21.000Z | 2021-07-26T15:13:14.000Z |
#include "pm.h"
using namespace jhm;
void
PmPosture::setScale( m_real s )
{
scale = s;
mask = mask | PM_MASK_SCALE;
}
m_real
PmPosture::getScale() const
{
return scale;
}
void
PmPosture::setTranslation( vector const& v )
{
trans = v;
mask = mask | MaskBit(PmHuman::PELVIS);
}
void
Pm... | 26.981862 | 113 | 0.58358 | [
"vector",
"model"
] |
a7ee354afccbd2769e6e316b55e17b7c6def71b3 | 3,632 | cc | C++ | optix/src/OptixLightManager.cc | Levi-Armstrong/ign-rendering | dfcf7c4a574b6b0e94419b7ba1ab3ebce64055f3 | [
"ECL-2.0",
"Apache-2.0"
] | 25 | 2020-04-15T16:59:45.000Z | 2022-02-09T00:07:34.000Z | optix/src/OptixLightManager.cc | Levi-Armstrong/ign-rendering | dfcf7c4a574b6b0e94419b7ba1ab3ebce64055f3 | [
"ECL-2.0",
"Apache-2.0"
] | 510 | 2020-04-20T23:26:31.000Z | 2022-03-31T14:33:36.000Z | optix/src/OptixLightManager.cc | srmainwaring/ign-rendering | 46dd20ae11fdf2dd2ce25d7ee93299545ef8b224 | [
"ECL-2.0",
"Apache-2.0"
] | 30 | 2020-05-22T17:41:38.000Z | 2022-02-28T17:07:19.000Z | /*
* Copyright (C) 2015 Open Source Robotics Foundation
*
* 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 appl... | 29.528455 | 77 | 0.619769 | [
"vector"
] |
c5068e76a12d3c91197a854e988a481dc9f5721e | 2,070 | cpp | C++ | Templates/TP_TwinStick/Source/TP_TwinStick/TP_TwinStickProjectile.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Templates/TP_TwinStick/Source/TP_TwinStick/TP_TwinStickProjectile.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Templates/TP_TwinStick/Source/TP_TwinStick/TP_TwinStickProjectile.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserve
#include "TP_TwinStickProjectile.h"
#include "GameFramework/ProjectileMovementComponent.h"
#include "UObject/ConstructorHelpers.h"
#include "Components/StaticMeshComponent.h"
#include "GameFramework/ProjectileMovementComponent.h"
#include "Engine/StaticMesh.h"... | 46 | 163 | 0.807246 | [
"mesh",
"object"
] |
c50ecd2cf03c4a943969927b06e9d2a3f05bf0e2 | 15,510 | cpp | C++ | consumer/src/consumer.cpp | Talank/pact-cplusplus | e6f50df28912648f3863ab47ec57dfcf973f9da0 | [
"MIT"
] | null | null | null | consumer/src/consumer.cpp | Talank/pact-cplusplus | e6f50df28912648f3863ab47ec57dfcf973f9da0 | [
"MIT"
] | null | null | null | consumer/src/consumer.cpp | Talank/pact-cplusplus | e6f50df28912648f3863ab47ec57dfcf973f9da0 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <stdlib.h>
#include <sstream>
#include "consumer.h"
#include <boost/exception/diagnostic_information.hpp>
#include <nlohmann/json.hpp>
using namespace pact_mock_server_ffi;
using json = nlohmann::json;
namespace pact_consumer {
void init() {
pact_mock_server_ffi::... | 42.60989 | 172 | 0.61225 | [
"vector"
] |
c5126033cdd1a27d09b64d183b6a7b7d893efde3 | 9,292 | cpp | C++ | passes/caml_alloc_inliner.cpp | nandor/genm-opt | b3347d508fff707837d1dc8232487ebfe157fe2a | [
"MIT"
] | 2 | 2019-03-02T20:48:18.000Z | 2019-05-08T21:18:00.000Z | passes/caml_alloc_inliner.cpp | nandor/genm-opt | b3347d508fff707837d1dc8232487ebfe157fe2a | [
"MIT"
] | null | null | null | passes/caml_alloc_inliner.cpp | nandor/genm-opt | b3347d508fff707837d1dc8232487ebfe157fe2a | [
"MIT"
] | 1 | 2019-11-18T20:20:34.000Z | 2019-11-18T20:20:34.000Z | // This file if part of the llir-opt project.
// Licensing information can be found in the LICENSE file.
// (C) 2018 Nandor Licker. All rights reserved.
#include "core/cast.h"
#include "core/block.h"
#include "core/prog.h"
#include "core/func.h"
#include "core/insts.h"
#include "passes/caml_alloc_inliner.h"
// ----... | 28.94704 | 80 | 0.579746 | [
"vector"
] |
78a10bcf5b65d8fb1f6dee5d903f060e8e805f9c | 38,781 | cpp | C++ | src/ETISS.cpp | Samanti-Das/etiss_new | b3f3e80e36bed0c162c6d6e6b0d47d77e21e32a2 | [
"BSD-3-Clause"
] | null | null | null | src/ETISS.cpp | Samanti-Das/etiss_new | b3f3e80e36bed0c162c6d6e6b0d47d77e21e32a2 | [
"BSD-3-Clause"
] | 14 | 2021-03-17T13:18:56.000Z | 2021-06-08T17:21:16.000Z | src/ETISS.cpp | Samanti-Das/etiss_new | b3f3e80e36bed0c162c6d6e6b0d47d77e21e32a2 | [
"BSD-3-Clause"
] | 1 | 2021-09-14T12:29:46.000Z | 2021-09-14T12:29:46.000Z | /**
@copyright
<pre>
Copyright 2018 Infineon Technologies AG
This file is part of ETISS tool, see <https://github.com/tum-ei-eda/etiss>.
The initial version of this software has been created with the funding support by the German Federal
Ministry of Education and Research... | 38.549702 | 184 | 0.512055 | [
"vector"
] |
78a6aa8326299bd805daff3e3c6253dab22d8688 | 3,277 | cpp | C++ | modules/task_2/kryukov_s_sparse_mat_omp/main.cpp | egorshul/pp_2021_spring_engineers | 833868c757648149a152ff0913c5e3905cd56176 | [
"BSD-3-Clause"
] | null | null | null | modules/task_2/kryukov_s_sparse_mat_omp/main.cpp | egorshul/pp_2021_spring_engineers | 833868c757648149a152ff0913c5e3905cd56176 | [
"BSD-3-Clause"
] | null | null | null | modules/task_2/kryukov_s_sparse_mat_omp/main.cpp | egorshul/pp_2021_spring_engineers | 833868c757648149a152ff0913c5e3905cd56176 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T17:58:16.000Z | 2022-03-22T17:58:16.000Z | // Copyright 2021 Kryukov Sergey
#include <gtest/gtest.h>
#include <vector>
#include <algorithm>
#include <iostream>
#include "./sparsemat_omp.h"
TEST(omp_version, correct_transpose_mat) {
int size = 3;
std::vector<std::complex<double>> standartMat = {
{0, 0}, {0, 2}, {0, 0},
{0, 1}, {0, 0}, {0... | 32.77 | 73 | 0.629234 | [
"vector"
] |
78adac5a3300c6a9a3e2d58dff1e7c31da3c1e2b | 3,026 | hpp | C++ | src/cmd_result.hpp | LordAro/ury-playd | dad5458bb7ae9b21e939c17c25e11b685848c081 | [
"BSL-1.0",
"MIT"
] | null | null | null | src/cmd_result.hpp | LordAro/ury-playd | dad5458bb7ae9b21e939c17c25e11b685848c081 | [
"BSL-1.0",
"MIT"
] | null | null | null | src/cmd_result.hpp | LordAro/ury-playd | dad5458bb7ae9b21e939c17c25e11b685848c081 | [
"BSL-1.0",
"MIT"
] | null | null | null | // This file is part of playd.
// playd is licensed under the MIT licence: see LICENSE.txt.
/**
* @file
* Declaration of the CommandResult class.
*/
#ifndef PLAYD_CMD_RESULT
#define PLAYD_CMD_RESULT
#include <cstdint>
#include <string>
#include <vector>
#include "response.hpp"
/**
* A result from a command (an ... | 29.960396 | 75 | 0.705552 | [
"vector"
] |
78b3d1338b4ad122883dfbba9fd89c64ac87a9c3 | 8,478 | cpp | C++ | xplat/Sonar/SonarWebSocketImpl.cpp | minikin/Sonar | f7d487dd7607226858ecb3380b889969d5e9a073 | [
"MIT"
] | null | null | null | xplat/Sonar/SonarWebSocketImpl.cpp | minikin/Sonar | f7d487dd7607226858ecb3380b889969d5e9a073 | [
"MIT"
] | null | null | null | xplat/Sonar/SonarWebSocketImpl.cpp | minikin/Sonar | f7d487dd7607226858ecb3380b889969d5e9a073 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#include "SonarWebSocketImpl.h"
#include <folly/String.h>
#include <folly/futures/Future.h>
#include <folly/io/async/SSLContext.h>
... | 29.134021 | 80 | 0.691791 | [
"object"
] |
78b4b83611dfcceb5388290893f49e04a3fb42a9 | 7,681 | hpp | C++ | sources/compute/SplaApplyMask.hpp | JetBrains-Research/spla | 9b353d68420bc69c322023d239f8bb0977308b9c | [
"MIT"
] | 10 | 2021-09-24T03:48:31.000Z | 2022-02-07T09:09:01.000Z | sources/compute/SplaApplyMask.hpp | JetBrains-Research/spla | 88308176e4555756d2ca81a5c05b60e240bd4d8e | [
"MIT"
] | 78 | 2021-09-11T09:39:04.000Z | 2022-02-11T19:50:07.000Z | sources/compute/SplaApplyMask.hpp | JetBrains-Research/spla | 88308176e4555756d2ca81a5c05b60e240bd4d8e | [
"MIT"
] | 3 | 2021-09-20T15:43:54.000Z | 2022-02-15T11:29:52.000Z | /**********************************************************************************/
/* This file is part of spla project */
/* https://github.com/JetBrains-Research/spla */
/****************************************************************... | 45.182353 | 110 | 0.529098 | [
"vector"
] |
78b5305c8a1ec5cef831f8325740fdbca96b093c | 4,898 | cpp | C++ | mlir/lib/Dialect/Linalg/Transforms/PadOpInterchange.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/Linalg/Transforms/PadOpInterchange.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/Linalg/Transforms/PadOpInterchange.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | //===- PadOpInterchange.cpp - Interchange pad operation with Generic ops --===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 38.873016 | 80 | 0.654553 | [
"shape"
] |
78b5f74fd33abe16afcc4a7080cf42fad53086d6 | 2,775 | cpp | C++ | c++/0115-distinct-subsequences.cpp | aafulei/leetcode | e3a0ef9c912abf99a1d6e56eff8802ba44b0057d | [
"MIT"
] | 2 | 2019-04-13T09:55:04.000Z | 2019-05-16T12:47:40.000Z | c++/0115-distinct-subsequences.cpp | aafulei/leetcode | e3a0ef9c912abf99a1d6e56eff8802ba44b0057d | [
"MIT"
] | null | null | null | c++/0115-distinct-subsequences.cpp | aafulei/leetcode | e3a0ef9c912abf99a1d6e56eff8802ba44b0057d | [
"MIT"
] | null | null | null | // 115. Distinct Subsequences [Hard]
// Given a string S and a string T, count the number of distinct subsequences of S which equals T.
// A subsequence of a string is a new string which is formed from the original string by deleting
// some (can be none) of the characters without disturbing the relative positions of ... | 26.941748 | 107 | 0.536937 | [
"vector"
] |
78b847d01b3049e8473bc791c46a379a907ae351 | 1,160 | cpp | C++ | ccpca/ccpca_wrap.cpp | takanori-fujiwara/ccpca | e2a2f57ca5d9ada00bf91892f7f5c4fa570d6110 | [
"BSD-3-Clause"
] | 14 | 2019-07-16T03:29:29.000Z | 2022-02-19T14:59:11.000Z | ccpca/ccpca_wrap.cpp | takanori-fujiwara/ccpca | e2a2f57ca5d9ada00bf91892f7f5c4fa570d6110 | [
"BSD-3-Clause"
] | null | null | null | ccpca/ccpca_wrap.cpp | takanori-fujiwara/ccpca | e2a2f57ca5d9ada00bf91892f7f5c4fa570d6110 | [
"BSD-3-Clause"
] | 7 | 2019-07-16T03:35:58.000Z | 2022-01-30T05:41:07.000Z | #include "ccpca.hpp"
#include <pybind11/eigen.h>
#include <pybind11/functional.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
PYBIND11_MODULE(ccpca_cpp, m) {
m.doc() = "ccPCA wrapped with pybind11";
py::class_<CCPCA>(m, "CCPCA")
.def(py::init<Eigen::Index const, bool c... | 37.419355 | 69 | 0.673276 | [
"transform"
] |
78bab7463d5ad19368967c8579cd14fa6e6b512a | 12,016 | cpp | C++ | simulator/project.cpp | MScieburakoADVA/mstp-lib | 768f9323abd3e81fb770d04b5502e6e51e8ee476 | [
"Apache-2.0"
] | 21 | 2018-10-16T18:05:32.000Z | 2022-01-11T10:57:24.000Z | simulator/project.cpp | MScieburakoADVA/mstp-lib | 768f9323abd3e81fb770d04b5502e6e51e8ee476 | [
"Apache-2.0"
] | 34 | 2018-03-06T10:04:57.000Z | 2021-05-26T13:37:03.000Z | simulator/project.cpp | MScieburakoADVA/mstp-lib | 768f9323abd3e81fb770d04b5502e6e51e8ee476 | [
"Apache-2.0"
] | 13 | 2019-04-09T07:56:48.000Z | 2022-01-11T11:00:12.000Z |
// This file is part of the mstp-lib library, available at https://github.com/adigostin/mstp-lib
// Copyright (c) 2011-2020 Adi Gostin, distributed under Apache License v2.0.
#include "pch.h"
#include "simulator.h"
#include "wire.h"
#include "bridge.h"
#include "port.h"
#include "win32/xml_serializer.h"
static const... | 34.03966 | 142 | 0.726698 | [
"object",
"vector"
] |
78c918b408c854cebe3c2dd071a02c248ded00fa | 455 | hpp | C++ | RBF/src/rbf.hpp | jesuswr/RBF | 0d11d763ccc75616f7e08ed9822ac3968f2533fe | [
"MIT"
] | null | null | null | RBF/src/rbf.hpp | jesuswr/RBF | 0d11d763ccc75616f7e08ed9822ac3968f2533fe | [
"MIT"
] | null | null | null | RBF/src/rbf.hpp | jesuswr/RBF | 0d11d763ccc75616f7e08ed9822ac3968f2533fe | [
"MIT"
] | null | null | null | #ifndef _RBF_HPP
#define _RBF_HPP
#include <armadillo>
#include <vector>
#include <math.h>
using namespace arma;
using namespace std;
class rbf {
double sigma;
vector<double> w;
vector<double> g;
public:
rbf(vector<double> &x, vector<double> &y,
double lambda);
double ... | 13.382353 | 49 | 0.632967 | [
"vector"
] |
78d1cd2e1be6bf9b1d2d93fa74e370f175d7bffa | 529 | hpp | C++ | src/syntax/symbols/sentinel.hpp | LSaldyt/CTF | cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01 | [
"Apache-2.0"
] | 2 | 2018-03-19T20:19:01.000Z | 2018-10-22T23:41:12.000Z | src/syntax/symbols/sentinel.hpp | LSaldyt/CTF | cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01 | [
"Apache-2.0"
] | 1 | 2017-01-18T20:45:33.000Z | 2017-01-21T20:57:37.000Z | src/syntax/symbols/sentinel.hpp | LSaldyt/CTF | cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01 | [
"Apache-2.0"
] | null | null | null | /// Copyright 2017 Lucas Saldyt
#pragma once
#include "symbol.hpp"
namespace syntax
{
using namespace tools;
/**
* Signal symbol for some hacky uses... (i.e. seperators, AST-transform matrix edge indicators)
*/
struct SentinelSymbol : public Symbol
{
string name() override;
s... | 23 | 100 | 0.63138 | [
"transform"
] |
78d660ae3ddf5c11428ed5f7f1c4e63bbf67bd2c | 30,944 | cpp | C++ | Granite/application/platforms/application_android.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | null | null | null | Granite/application/platforms/application_android.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | null | null | null | Granite/application/platforms/application_android.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | null | null | null | /* Copyright (c) 2017-2020 Hans-Kristian Arntzen
*
* 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... | 29.164939 | 180 | 0.721529 | [
"vector"
] |
78dd36d18786e08cbeaecc870432dbf8c0f3d50e | 2,868 | cc | C++ | Chapter13/cloud_classify/server/main.cc | bdonkey/Hands-On-Machine-Learning-with-CPP | d2b17abeb48db3d45369fdb1be806682ab9819ed | [
"MIT"
] | 201 | 2020-05-13T12:50:50.000Z | 2022-03-27T20:56:11.000Z | Chapter13/cloud_classify/server/main.cc | bdonkey/Hands-On-Machine-Learning-with-CPP | d2b17abeb48db3d45369fdb1be806682ab9819ed | [
"MIT"
] | 1 | 2021-05-12T10:01:40.000Z | 2021-05-14T19:35:05.000Z | Chapter13/cloud_classify/server/main.cc | bdonkey/Hands-On-Machine-Learning-with-CPP | d2b17abeb48db3d45369fdb1be806682ab9819ed | [
"MIT"
] | 63 | 2020-06-05T15:03:39.000Z | 2022-02-22T02:07:09.000Z | #include <torch/script.h>
#include "network.h"
#include <httplib/httplib.h>
#include "utils.h"
int main(int argc, char** argv) {
try {
std::string snapshoot_path;
std::string synset_path;
std::string www_path;
std::string host = "localhost";
int port = 8080;
if (argc >= 4) {
snapshoot_... | 32.224719 | 69 | 0.514644 | [
"model"
] |
78e02fbbb63b3e3c657fecae6379afbbcdfea4de | 17,815 | cpp | C++ | interfaces/innerkits/permission_standard/distributedpermission/main/cpp/src/distributed_permission_manager_client.cpp | openharmony-gitee-mirror/security_permission | dd482838bfe697dad1dd40531aa8fca2bd4d6883 | [
"Apache-2.0"
] | null | null | null | interfaces/innerkits/permission_standard/distributedpermission/main/cpp/src/distributed_permission_manager_client.cpp | openharmony-gitee-mirror/security_permission | dd482838bfe697dad1dd40531aa8fca2bd4d6883 | [
"Apache-2.0"
] | null | null | null | interfaces/innerkits/permission_standard/distributedpermission/main/cpp/src/distributed_permission_manager_client.cpp | openharmony-gitee-mirror/security_permission | dd482838bfe697dad1dd40531aa8fca2bd4d6883 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Huawei Device 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 ... | 38.229614 | 120 | 0.723211 | [
"vector"
] |
78e525f8b73ebe9439c28aa004f0ce0904d5071e | 7,898 | hxx | C++ | opencascade/BRepAlgoAPI_Section.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/BRepAlgoAPI_Section.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/BRepAlgoAPI_Section.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | // Created on: 1994-02-18
// Created by: Remi LEQUETTE
// Copyright (c) 1994-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 ... | 37.079812 | 169 | 0.723854 | [
"object",
"shape"
] |
78ee037ae2ea73766c2eb95bece2a384fb898c45 | 11,319 | hpp | C++ | or-tools_Ubuntu-18.04-64bit_v7.4.7247/include/coin/CbcNode.hpp | rajiff/docker-google-or-tools | b7a6c730639c5b47857925de9cf673b456cb4390 | [
"Apache-2.0"
] | 7 | 2020-07-04T01:50:12.000Z | 2021-06-03T21:54:52.000Z | PO_class/assignment_2/or-tools/include/coin/CbcNode.hpp | ItamarRocha/Operations-Research | 55c4d54959555c3b9d54641e76eb6cfb2c011a2c | [
"MIT"
] | null | null | null | PO_class/assignment_2/or-tools/include/coin/CbcNode.hpp | ItamarRocha/Operations-Research | 55c4d54959555c3b9d54641e76eb6cfb2c011a2c | [
"MIT"
] | null | null | null | /* $Id$ */
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef CbcNode_H
#define CbcNode_H
#include <string>
#include <vector>
#include "CoinWarmStartBasis.hpp"
#include "CoinSear... | 29.708661 | 82 | 0.699443 | [
"object",
"vector",
"model"
] |
78f1bfe4f2ad08363a79dce22f9a10eb847b2076 | 3,146 | cpp | C++ | NFServer/NFGameServerPlugin/NFCPropertyConfigModule.cpp | sosan/NoahGameFrame | 38c54014c5c4620b784b2c1d2cab256f42bae186 | [
"Apache-2.0"
] | null | null | null | NFServer/NFGameServerPlugin/NFCPropertyConfigModule.cpp | sosan/NoahGameFrame | 38c54014c5c4620b784b2c1d2cab256f42bae186 | [
"Apache-2.0"
] | null | null | null | NFServer/NFGameServerPlugin/NFCPropertyConfigModule.cpp | sosan/NoahGameFrame | 38c54014c5c4620b784b2c1d2cab256f42bae186 | [
"Apache-2.0"
] | 1 | 2020-04-23T21:57:32.000Z | 2020-04-23T21:57:32.000Z | // -------------------------------------------------------------------------
// @FileName : NFCPropertyConfigModule.cpp
// @Author : LvSheng.Huang
// @Date : 2013-09-30
// @Module : NFCPropertyConfigModule
//
// --------------------------------------------... | 30.843137 | 124 | 0.636364 | [
"vector"
] |
78f44efecc5df0cf516bcbdedb30507b788e9c41 | 15,012 | inl | C++ | src/common/datatypes/PathOps.inl | tom-chensf/nebula-common | a1158b9430a66d5f3a28591282d83adca11b37f4 | [
"Apache-2.0"
] | null | null | null | src/common/datatypes/PathOps.inl | tom-chensf/nebula-common | a1158b9430a66d5f3a28591282d83adca11b37f4 | [
"Apache-2.0"
] | null | null | null | src/common/datatypes/PathOps.inl | tom-chensf/nebula-common | a1158b9430a66d5f3a28591282d83adca11b37f4 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* obj source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#ifndef COMMON_DATATYPES_PATHOPS_H_
#define COMMON_DATATYPES_PATHOPS_H_
#include "common/base/Base.h"
#include <thrift/... | 30.512195 | 92 | 0.591727 | [
"vector"
] |
78f87f1a495d4da6fa5422cfc9b85a8bedc49645 | 9,076 | cpp | C++ | src/mlpack/methods/local_coordinate_coding/local_coordinate_coding_main.cpp | 17minutes/mlpack | 8f4af1ec454a662dd7c990cf2146bfeb1bd0cb3a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-09-22T18:12:40.000Z | 2021-11-17T10:39:58.000Z | src/mlpack/methods/local_coordinate_coding/local_coordinate_coding_main.cpp | kosmaz/Mlpack | 62100ddca45880a57e7abb0432df72d285e5728b | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | src/mlpack/methods/local_coordinate_coding/local_coordinate_coding_main.cpp | kosmaz/Mlpack | 62100ddca45880a57e7abb0432df72d285e5728b | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | /**
* @file lcc_main.cpp
* @author Nishant Mehta
*
* Executable for Local Coordinate Coding.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license along with mlpack. If not, see
* http... | 39.633188 | 80 | 0.63431 | [
"object",
"model"
] |
78fc06b4a66012e7d02112e32572306a3e900370 | 1,720 | cpp | C++ | coj.uci.cu/RubTask.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 6 | 2016-09-10T03:16:34.000Z | 2020-04-07T14:45:32.000Z | coj.uci.cu/RubTask.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | null | null | null | coj.uci.cu/RubTask.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 2 | 2018-08-11T20:55:35.000Z | 2020-01-15T23:23:11.000Z | /*
By: facug91
From: http://coj.uci.cu/24h/problem.xhtml?pid=2191
Name: Rub Task
Date: 12/03/2015
*/
#include <bits/stdc++.h>
#define EPS 1e-9
#define DEBUG(x) cerr << "#" << (#x) << ": " << (x) << endl
const double PI = 2.0*acos(0.0);
#define INF 1000000000
//#define MOD ... | 23.243243 | 88 | 0.486628 | [
"vector"
] |
78fecd6f115dc1793ee50047e6e1299a1b227b45 | 1,671 | hpp | C++ | include/game_states.hpp | rosskidson/nestris_x86 | ce5085436ff2c04f8f760c2d88469f77794dd6c3 | [
"MIT"
] | 5 | 2021-01-02T19:06:37.000Z | 2022-03-11T23:56:03.000Z | include/game_states.hpp | rosskidson/nestris_x86 | ce5085436ff2c04f8f760c2d88469f77794dd6c3 | [
"MIT"
] | null | null | null | include/game_states.hpp | rosskidson/nestris_x86 | ce5085436ff2c04f8f760c2d88469f77794dd6c3 | [
"MIT"
] | null | null | null | #pragma once
#include <array>
#include <map>
#include <memory>
#include <stdexcept>
#include "key_defines.hpp"
#include "tetromino.hpp"
namespace nestris_x86 {
template <int W = 10, int H = 20>
// clang-format off
struct GameState {
GameState()
: grid{},
das_counter{},
gravity_counter{},
... | 21.986842 | 84 | 0.678037 | [
"vector"
] |
60003f4cf1d83639ac002d3649f0792f9259c4a7 | 367 | cpp | C++ | find-all-duplicates-in-an-array/find-all-duplicates-in-an-array.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | 1 | 2022-02-14T07:57:07.000Z | 2022-02-14T07:57:07.000Z | find-all-duplicates-in-an-array/find-all-duplicates-in-an-array.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | null | null | null | find-all-duplicates-in-an-array/find-all-duplicates-in-an-array.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> findDuplicates(vector<int>& nums) {
unordered_map<int, int> mp;
for(int i=0; i<nums.size(); i++)
{
mp[nums[i]]++;
}
vector<int> ans;
for(auto m : mp)
{
if(m.second==2)
ans.push_back(m... | 21.588235 | 51 | 0.435967 | [
"vector"
] |
6000bc4406c5d5248fd6da9b9730521fbdb4dede | 2,679 | cc | C++ | test/3d/mpi/test_poisson.cc | cedar-framework/cedar | 9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44 | [
"BSD-3-Clause"
] | 9 | 2018-03-07T19:15:27.000Z | 2019-02-22T20:10:23.000Z | test/3d/mpi/test_poisson.cc | cedar-framework/cedar | 9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44 | [
"BSD-3-Clause"
] | 5 | 2018-11-13T19:59:46.000Z | 2020-04-09T19:31:25.000Z | test/3d/mpi/test_poisson.cc | cedar-framework/cedar | 9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44 | [
"BSD-3-Clause"
] | 2 | 2018-07-20T01:06:48.000Z | 2019-11-25T12:15:16.000Z | #include <gtest/gtest.h>
#include <mpi.h>
#include <cedar/types.h>
#include <cedar/3d/mpi/grid_func.h>
#include <cedar/3d/util/topo.h>
#include <cedar/3d/mpi/gallery.h>
#include <cedar/3d/mpi/solver.h>
static void set_problem(cedar::cdr3::mpi::grid_func & b)
{
using namespace cedar;
using namespace cedar::cdr3;
... | 19.844444 | 75 | 0.588652 | [
"3d"
] |
601451bc26ee8efd83abf5eeccecdae1e9ef2d7a | 15,395 | cpp | C++ | test/unit/module/bessel/cyl_bessel_jn.cpp | HadrienG2/eve | 3afdcfb524f88c0b88df9b54e25bbb9b33f518ec | [
"MIT"
] | null | null | null | test/unit/module/bessel/cyl_bessel_jn.cpp | HadrienG2/eve | 3afdcfb524f88c0b88df9b54e25bbb9b33f518ec | [
"MIT"
] | null | null | null | test/unit/module/bessel/cyl_bessel_jn.cpp | HadrienG2/eve | 3afdcfb524f88c0b88df9b54e25bbb9b33f518ec | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 59.211538 | 120 | 0.6228 | [
"vector"
] |
60146456889bf4e5094d5adbfa36dcd3388619bb | 13,390 | cpp | C++ | demos/terrain/terrain.cpp | ShamylZakariya/MarchingCubes | 27f375d5d25df2246095d65c11127aac82a24211 | [
"MIT"
] | 2 | 2019-12-03T05:52:57.000Z | 2021-05-21T18:17:52.000Z | demos/terrain/terrain.cpp | ShamylZakariya/MarchingCubes | 27f375d5d25df2246095d65c11127aac82a24211 | [
"MIT"
] | null | null | null | demos/terrain/terrain.cpp | ShamylZakariya/MarchingCubes | 27f375d5d25df2246095d65c11127aac82a24211 | [
"MIT"
] | null | null | null | #include "terrain.hpp"
#include <glm/ext.hpp>
#include <glm/gtc/noise.hpp>
#include "materials.hpp"
#include "terrain_samplers.hpp"
using namespace glm;
namespace {
vec4 rainbow(float dist)
{
using namespace mc::util::color;
const hsv hC { 360 * dist, 0.6F, 1.0F };
const auto rgbC = Hsv2Rgb(hC);
re... | 33.813131 | 131 | 0.571397 | [
"vector"
] |
6017233ea519a3d6e05b5cccc3ff2772fe081760 | 9,970 | hpp | C++ | libcaf_core/caf/intrusive/lifo_inbox.hpp | dosuperuser/actor-framework | bee96d84bbc95414df5084b2d65f4886ba731558 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4 | 2019-05-03T05:38:15.000Z | 2020-08-25T15:23:19.000Z | libcaf_core/caf/intrusive/lifo_inbox.hpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-11-26T13:14:47.000Z | 2021-11-26T16:29:58.000Z | libcaf_core/caf/intrusive/lifo_inbox.hpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 3 | 2020-05-21T20:54:58.000Z | 2020-06-17T13:44:13.000Z | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 35.229682 | 80 | 0.585456 | [
"object"
] |
601828a5ad0a0ad9959a735a14510a7ecbd5691d | 3,585 | cpp | C++ | openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateMeter.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateMeter.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateMeter.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2013, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publishe... | 37.736842 | 127 | 0.718271 | [
"model"
] |
60189bb761f86f6993a7f4dcc5bd96f092d95dd6 | 5,113 | hpp | C++ | util/include/throughput.hpp | cloudnoize/concord-bft | f87f424dd5b93a4d6946158bf0d476caf559db0a | [
"Apache-2.0"
] | 340 | 2018-08-27T16:30:45.000Z | 2022-03-28T14:31:44.000Z | util/include/throughput.hpp | cloudnoize/concord-bft | f87f424dd5b93a4d6946158bf0d476caf559db0a | [
"Apache-2.0"
] | 706 | 2018-09-02T17:50:32.000Z | 2022-03-31T13:03:15.000Z | util/include/throughput.hpp | glevkovich/concord-bft | a1b7b57472f5375230428d16c613a760b33233fa | [
"Apache-2.0"
] | 153 | 2018-08-29T05:37:25.000Z | 2022-03-23T14:08:45.000Z | // Concord
//
// Copyright (c) 2018-2020 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License").
// You may not use this product except in compliance with the Apache 2.0
// License.
//
// This product may include a number of subcomponents with separate copyr... | 34.315436 | 117 | 0.717191 | [
"object"
] |
e7440c5b32fccb411a9b10b6d797c70f5577812a | 53,781 | cpp | C++ | libnd4j/include/ops/declarable/generic/recurrent/sru.cpp | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | 2 | 2018-11-26T15:30:37.000Z | 2018-11-26T15:30:39.000Z | libnd4j/include/ops/declarable/generic/recurrent/sru.cpp | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | 16 | 2018-12-03T11:37:19.000Z | 2018-12-03T19:47:25.000Z | libnd4j/include/ops/declarable/generic/recurrent/sru.cpp | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | 2 | 2021-03-01T07:46:24.000Z | 2021-09-26T17:08:40.000Z | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | 53.248515 | 215 | 0.551236 | [
"shape",
"3d"
] |
e74832813946d94e6095ae9f3079a34aa3f4e967 | 52,288 | cc | C++ | third_party/blink/renderer/platform/graphics/canvas_resource.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 | third_party/blink/renderer/platform/graphics/canvas_resource.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 | third_party/blink/renderer/platform/graphics/canvas_resource.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 2017 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 "third_party/blink/renderer/platform/graphics/canvas_resource.h"
#include <utility>
#include "base/callback_helpers.h"
#include "base/memory/re... | 38.731852 | 91 | 0.731066 | [
"render"
] |
e749862b273507c0a3ebadccc8b8ea7eceb901d8 | 4,839 | hpp | C++ | tenncor/layr/layer.hpp | mingkaic/tenncor | f2fa9652e55e9ca206de5e9741fe41bde43791c1 | [
"BSL-1.0",
"MIT"
] | 1 | 2020-12-29T20:38:08.000Z | 2020-12-29T20:38:08.000Z | tenncor/layr/layer.hpp | mingkaic/tenncor | f2fa9652e55e9ca206de5e9741fe41bde43791c1 | [
"BSL-1.0",
"MIT"
] | 16 | 2018-01-28T04:20:19.000Z | 2021-01-23T09:38:52.000Z | tenncor/layr/layer.hpp | mingkaic/tenncor | f2fa9652e55e9ca206de5e9741fe41bde43791c1 | [
"BSL-1.0",
"MIT"
] | null | null | null | ///
/// api.hpp
/// layr
///
/// Purpose:
/// Utility APIs for creating layers
///
#ifndef LAYR_LAYER_HPP
#define LAYR_LAYER_HPP
#include "tenncor/layr/init.hpp"
namespace layr
{
const std::string weight_label = "weight";
const std::string bias_label = "bias";
const std::string input_label = "input";
const std::... | 21.411504 | 92 | 0.689812 | [
"shape"
] |
e74aa8e641e6a3aee8b16e04afec19fa09a2a1eb | 7,633 | cpp | C++ | Gems/ScriptCanvasTesting/Code/Tests/ScriptCanvas_NodeGenerics.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T12:39:24.000Z | 2021-07-20T12:39:24.000Z | Gems/ScriptCanvasTesting/Code/Tests/ScriptCanvas_NodeGenerics.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/ScriptCanvasTesting/Code/Tests/ScriptCanvas_NodeGenerics.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <Source/Framework/ScriptCanvasTestFixture.h>
#include <Source/Framework/ScriptCanvasTestU... | 45.434524 | 250 | 0.723176 | [
"vector",
"3d"
] |
e74cd6f720c8cc24abf5e14614a33cb65af81e1b | 814 | cpp | C++ | src/ali_longest-continuous-increasing-subsequence/solution.cpp | hustzxd/leetcode | 83828602183e4709a6f20f163951e10b66f26935 | [
"MIT"
] | null | null | null | src/ali_longest-continuous-increasing-subsequence/solution.cpp | hustzxd/leetcode | 83828602183e4709a6f20f163951e10b66f26935 | [
"MIT"
] | null | null | null | src/ali_longest-continuous-increasing-subsequence/solution.cpp | hustzxd/leetcode | 83828602183e4709a6f20f163951e10b66f26935 | [
"MIT"
] | null | null | null | #include "../../include/solution.h"
int findLengthOfLCIS(vector<int> &nums) {
int n = nums.size();
int cur = 1;
int res = 1;
for (int i = 1; i < n; i++) {
if (nums[i] > nums[i - 1]) {
cur++;
} else {
res = max(res, cur);
cur = 1;
}
}
r... | 20.35 | 41 | 0.385749 | [
"vector"
] |
e74e4dc4084e95e24e05ff9f7223b44d1d2ba01a | 10,978 | cpp | C++ | src/video_streamer.cpp | KivApple/video_streamer | f9f70a7d2f6663153cc086806e5b1403294ca559 | [
"MIT"
] | null | null | null | src/video_streamer.cpp | KivApple/video_streamer | f9f70a7d2f6663153cc086806e5b1403294ca559 | [
"MIT"
] | null | null | null | src/video_streamer.cpp | KivApple/video_streamer | f9f70a7d2f6663153cc086806e5b1403294ca559 | [
"MIT"
] | null | null | null | #include <sys/select.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <easylogging++.h>
#include <atomic>
#include "video_streamer.h"
#include "v4l2_device.h"
namespace video_streamer {
class heap_image_buffer_releaser: public image_buffer_releaser {
public:
void release(image_buffer &buffer) override {
... | 33.882716 | 120 | 0.662234 | [
"vector"
] |
e74e5681f11056de9900d09196bd027c95d484f3 | 4,362 | cpp | C++ | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/phosphor-snmp/0.1+gitAUTOINC+52b3ad2a60-r1/git/snmp_notification.cpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/phosphor-snmp/0.1+gitAUTOINC+52b3ad2a60-r1/git/snmp_notification.cpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/phosphor-snmp/0.1+gitAUTOINC+52b3ad2a60-r1/git/snmp_notification.cpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | #include "snmp_notification.hpp"
#include "snmp_util.hpp"
#include "xyz/openbmc_project/Common/error.hpp"
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
namespace phosphor
{
namespace network
{
namespace snmp
{
namespace variant_ns = sdbusplus::message::variant_ns;
using namespace p... | 29.876712 | 79 | 0.544017 | [
"object"
] |
e752a4f63c461f168255701a7cad7ce39cd63750 | 36,075 | cxx | C++ | inetsrv/iis/iisrearc/core/ap/was/dll/applicationstore.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/iisrearc/core/ap/was/dll/applicationstore.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/iisrearc/core/ap/was/dll/applicationstore.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1998-2000 Microsoft Corporation
Module Name:
applicationstore.cxx
Abstract:
Reads application configuration
Author:
Bilal Alam (balam) 27-May-2001
Revision History:
--*/
#include "precomp.h"
HRESULT
APPLICATION_DATA_OBJECT::SetFromMetabaseData(
... | 28.427896 | 106 | 0.507055 | [
"object"
] |
e7533de588160c80e1167647613cb7022267cd00 | 10,498 | cc | C++ | mindspore/ccsrc/runtime/device/ascend/ge_runtime/runtime_model.cc | peixinhou/mindspore | fcb2ec2779b753e95c762cf292b23bd81d1f561b | [
"Apache-2.0"
] | 2 | 2021-07-08T13:10:42.000Z | 2021-11-08T02:48:57.000Z | mindspore/ccsrc/runtime/device/ascend/ge_runtime/runtime_model.cc | peixinhou/mindspore | fcb2ec2779b753e95c762cf292b23bd81d1f561b | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/runtime/device/ascend/ge_runtime/runtime_model.cc | peixinhou/mindspore | fcb2ec2779b753e95c762cf292b23bd81d1f561b | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019-2020 Huawei Technologies 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 applicabl... | 35.829352 | 118 | 0.684607 | [
"vector",
"model"
] |
e754d589dd827cf7638e9203443f81aafbb10759 | 7,162 | cpp | C++ | applications/createEVENT/MultipleSimCenterEvents.cpp | fmckenna/EE-UQ | a1fe96fd000aec933430bda5829c82b5743338c3 | [
"BSD-2-Clause"
] | 1 | 2019-04-30T19:38:17.000Z | 2019-04-30T19:38:17.000Z | applications/createEVENT/MultipleSimCenterEvents.cpp | s-m-amin-ghasemi/EE-UQ | 7eb42d09b59b42fd1256c6d8693cfe46e0b8034b | [
"BSD-2-Clause"
] | 2 | 2018-09-11T01:32:27.000Z | 2018-09-11T23:08:06.000Z | applications/createEVENT/MultipleSimCenterEvents.cpp | s-m-amin-ghasemi/EE-UQ | 7eb42d09b59b42fd1256c6d8693cfe46e0b8034b | [
"BSD-2-Clause"
] | 6 | 2018-05-14T21:45:24.000Z | 2018-10-04T18:13:42.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <fstream>
#include <iostream>
#include <cmath>
using namespace std;
#include <jansson.h> // for Json
void addEvent(const char *fileNameEvent, json_t *obj, double factor);
void addEvent(const char *fileNameEvent, json_t *obj);
int... | 31.275109 | 99 | 0.672019 | [
"object"
] |
e75d15607daecb2de69c4dc8dede53f5c75fd5f6 | 36,708 | cpp | C++ | dali/internal/adaptor/common/adaptor-impl.cpp | Coquinho/dali-adaptor | a8006aea66b316a5eb710e634db30f566acda144 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali/internal/adaptor/common/adaptor-impl.cpp | Coquinho/dali-adaptor | a8006aea66b316a5eb710e634db30f566acda144 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2020-10-19T13:45:40.000Z | 2020-12-10T20:21:03.000Z | dali/internal/adaptor/common/adaptor-impl.cpp | expertisesolutions/dali-adaptor | 810bf4dea833ea7dfbd2a0c82193bc0b3b155011 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020 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... | 29.226115 | 359 | 0.72333 | [
"render",
"object"
] |
e7645f3261966a103e687f6ba99d99a18f932b2e | 3,821 | cpp | C++ | aws-cpp-sdk-ssm/source/model/StepExecutionFilterKey.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | 1 | 2020-07-16T19:03:13.000Z | 2020-07-16T19:03:13.000Z | aws-cpp-sdk-ssm/source/model/StepExecutionFilterKey.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | 18 | 2018-05-15T16:41:07.000Z | 2018-05-21T00:46:30.000Z | aws-cpp-sdk-ssm/source/model/StepExecutionFilterKey.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | 1 | 2019-10-31T11:19:50.000Z | 2019-10-31T11:19:50.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 35.055046 | 100 | 0.653756 | [
"model"
] |
e7677ba884196e0d47e4bf48b08d09cb56eeb93e | 10,865 | cpp | C++ | tools/Vitis-AI-Library/centerpoint/src/preprocess.cpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tools/Vitis-AI-Library/centerpoint/src/preprocess.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tools/Vitis-AI-Library/centerpoint/src/preprocess.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | /*
* Copyright 2019 Xilinx Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 38.392226 | 116 | 0.570179 | [
"vector"
] |
e76804867d17652bf8ca52da5a2d2c17c37a19b2 | 3,858 | cc | C++ | ext/dsent/model/optical_graph/OpticalNode.cc | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 765 | 2015-01-14T16:17:04.000Z | 2022-03-28T07:46:28.000Z | ext/dsent/model/optical_graph/OpticalNode.cc | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 148 | 2018-07-20T00:58:36.000Z | 2021-11-16T01:52:33.000Z | ext/dsent/model/optical_graph/OpticalNode.cc | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 807 | 2015-01-06T09:55:38.000Z | 2022-03-30T10:23:36.000Z | /* Copyright (c) 2012 Massachusetts Institute of Technology
*
* 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... | 32.694915 | 129 | 0.65267 | [
"vector",
"model"
] |
e76822d04fb3f381bbcb80d127fe8ac69b14a4f1 | 1,703 | cpp | C++ | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/main_menu_screen/MainMenuPresenter.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/main_menu_screen/MainMenuPresenter.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/main_menu_screen/MainMenuPresenter.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | /**
******************************************************************************
* This file is part of the TouchGFX 4.10.0 distribution.
*
* @attention
*
* Copyright (c) 2018 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
... | 21.833333 | 83 | 0.675866 | [
"model"
] |
e76dcade17edc44c58d1e19eada1a1ca18ac8709 | 1,960 | cc | C++ | net/dcsctp/packet/parameter/parameter_test.cc | c0der88/webrtc | a4da76a880d31f012038ac721ac4abc7ea3ffa2d | [
"BSD-3-Clause"
] | 2 | 2021-11-29T08:00:33.000Z | 2022-02-18T06:14:08.000Z | net/dcsctp/packet/parameter/parameter_test.cc | c0der88/webrtc | a4da76a880d31f012038ac721ac4abc7ea3ffa2d | [
"BSD-3-Clause"
] | 10 | 2020-07-13T14:49:36.000Z | 2020-10-14T15:43:13.000Z | net/dcsctp/packet/parameter/parameter_test.cc | c0der88/webrtc | a4da76a880d31f012038ac721ac4abc7ea3ffa2d | [
"BSD-3-Clause"
] | 1 | 2020-10-30T07:02:56.000Z | 2020-10-30T07:02:56.000Z | /*
* Copyright (c) 2021 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 36.296296 | 80 | 0.72449 | [
"vector"
] |
e77012f45b0fba694a8968b5ce34abf71d92f6a1 | 5,307 | hpp | C++ | include/codegen/include/OnlineServices/LevelScoreUploader.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/OnlineServices/LevelScoreUploader.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/OnlineServices/LevelScoreUploader.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:36 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 50.066038 | 197 | 0.791219 | [
"object"
] |
e772e73c4c9ff52e40cdfbf1c900b67614cc4ddd | 16,115 | cc | C++ | src/commands/GlobalCommandController.cc | D15C0DE/openMSX | 5119a9657de4b82115c745f670cdc55dc7363133 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 7 | 2019-10-11T21:47:05.000Z | 2021-10-05T19:58:18.000Z | src/commands/GlobalCommandController.cc | D15C0DE/openMSX | 5119a9657de4b82115c745f670cdc55dc7363133 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2019-05-25T21:08:47.000Z | 2019-05-25T21:10:35.000Z | src/commands/GlobalCommandController.cc | D15C0DE/openMSX | 5119a9657de4b82115c745f670cdc55dc7363133 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #include "GlobalCommandController.hh"
#include "Reactor.hh"
#include "Setting.hh"
#include "ProxyCommand.hh"
#include "ProxySetting.hh"
#include "LocalFileReference.hh"
#include "GlobalCliComm.hh"
#include "CliConnection.hh"
#include "CommandException.hh"
#include "SettingsManager.hh"
#include "TclObject.hh"
#include "... | 25.991935 | 102 | 0.698728 | [
"vector",
"transform"
] |
e77664c2fcf65b0f80a9f05e83b99f463317dc41 | 10,683 | cpp | C++ | DerivedSources/WebCore/JSNodeList.cpp | VincentWei/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | DerivedSources/WebCore/JSNodeList.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | null | null | null | DerivedSources/WebCore/JSNodeList.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-17T06:02:42.000Z | 2018-09-19T10:08:38.000Z | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | 39.713755 | 155 | 0.750257 | [
"object"
] |
e7780817ed6ebc515d236c1ac97589c378bf05be | 2,601 | cpp | C++ | src/services/hardwareFileSystem/object.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 26 | 2018-03-19T15:59:46.000Z | 2021-08-06T16:13:16.000Z | src/services/hardwareFileSystem/object.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 34 | 2018-01-21T17:43:29.000Z | 2020-06-27T02:00:53.000Z | src/services/hardwareFileSystem/object.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 3 | 2019-12-08T22:26:35.000Z | 2021-06-25T17:05:57.000Z | /*
Copyright (c) 2017, Patrick Lafferty
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 conditions and the... | 42.639344 | 113 | 0.762399 | [
"object"
] |
e77a6be124c6781c11b349f04492ceb4c9950465 | 15,780 | cpp | C++ | paso/src/SystemMatrix.cpp | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | paso/src/SystemMatrix.cpp | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | paso/src/SystemMatrix.cpp | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null |
/*****************************************************************************
*
* Copyright (c) 2003-2018 by The University of Queensland
* http://www.uq.edu.au
*
* Primary Business: Queensland, Australia
* Licensed under the Apache License, version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Development unt... | 34.082073 | 94 | 0.587389 | [
"vector"
] |
e77d2fcf4e5ba0500ac9e252d0a6bee31118e5b2 | 4,569 | cpp | C++ | source/supreme/tool_eraser.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 24 | 2019-05-12T12:03:21.000Z | 2022-03-30T01:05:46.000Z | source/supreme/tool_eraser.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 6 | 2019-05-12T11:54:54.000Z | 2022-02-26T11:47:20.000Z | source/supreme/tool_eraser.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 12 | 2019-05-12T13:48:57.000Z | 2022-02-25T15:25:24.000Z | #include "tool_eraser.h"
#include "dialogbits.h"
#include "editor.h"
#include "terrainedit.h"
EraserTool::EraserTool(void)
{
brush=0;
lastX=-1;
lastY=-1;
eraseFlag=EF_ITEM|EF_BADGUY|EF_SPECIAL;
}
EraserTool::~EraserTool(void)
{
}
void EraserTool::Update(int msx,int msy)
{
if(msx<380 || msy<400 || msx>639 || msy... | 20.488789 | 92 | 0.669731 | [
"render"
] |
e77ed9525baa3ebc344a0c8658b01dc9841586d9 | 2,169 | cpp | C++ | LeetCode/Problems/Algorithms/#315_CountOfSmallerNumbersAfterSelf_sol6_segment_tree_on_compressed_values_O(NlogN)_time_O(N)_extra_space.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | LeetCode/Problems/Algorithms/#315_CountOfSmallerNumbersAfterSelf_sol6_segment_tree_on_compressed_values_O(NlogN)_time_O(N)_extra_space.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | LeetCode/Problems/Algorithms/#315_CountOfSmallerNumbersAfterSelf_sol6_segment_tree_on_compressed_values_O(NlogN)_time_O(N)_extra_space.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | class SegmentTree{
private:
const int N;
vector<int> tree;
void add(int node, int l, int r, const int& POS, const int& VAL){
if(l == r){
tree[node] += VAL;
}else{
int mid = (l + r) / 2;
if(POS <= mid){
add(2 * node + 1, l, m... | 27.807692 | 80 | 0.437529 | [
"vector"
] |
e78326b386d88ec09c967bc7bc8c92474701f0b7 | 6,362 | cpp | C++ | other/EscripturaArbresCelula.cpp | albertsgrc/practica-pro2 | d1029c09832080bd805d36408f1dcc2c0bdfc5fd | [
"MIT"
] | null | null | null | other/EscripturaArbresCelula.cpp | albertsgrc/practica-pro2 | d1029c09832080bd805d36408f1dcc2c0bdfc5fd | [
"MIT"
] | null | null | null | other/EscripturaArbresCelula.cpp | albertsgrc/practica-pro2 | d1029c09832080bd805d36408f1dcc2c0bdfc5fd | [
"MIT"
] | null | null | null | #include <cmath>
#include <vector>
/***********INDICACIONS*************
*Canviar "***Organisme***" pel nom de la vostra classe organisme
*Canviar "***Celula***" pel nom de la vostra classe o estructura de dades que representa una cèlula (ej.: pair<int, bool> o simplement Celula)
*Canviar la resta de elements ent... | 36.774566 | 222 | 0.510531 | [
"vector"
] |
e7838424694655f1278ffdce7b8241397999d991 | 2,978 | cpp | C++ | dkk_plg_default/src/XTCReader.cpp | mjf-89/DistributedKernelKmeans | ca6daa81cd51a0f2400a111c5d10a9ef144f1574 | [
"MIT"
] | null | null | null | dkk_plg_default/src/XTCReader.cpp | mjf-89/DistributedKernelKmeans | ca6daa81cd51a0f2400a111c5d10a9ef144f1574 | [
"MIT"
] | null | null | null | dkk_plg_default/src/XTCReader.cpp | mjf-89/DistributedKernelKmeans | ca6daa81cd51a0f2400a111c5d10a9ef144f1574 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include "Exception.h"
#include "XTCReader.h"
#include "xdrfile.h"
#include "xdrfile_xtc.h"
#include "FileUtils.h"
namespace DKK{
const std::string &XTCReader::getName()
{
static std::string name = "XTCReader";
return name;
}
const std::vector<std::string> &XTCReader::getReqPrmNames()
{
//st... | 18.72956 | 87 | 0.680658 | [
"vector"
] |
e7890903d57d52359377a332ecbe11640bbb2258 | 6,217 | cc | C++ | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc | samotarnik/grpc | 3278bdceda8030d5aa130f12765e5f07263c860d | [
"Apache-2.0"
] | 36,552 | 2015-02-26T17:30:13.000Z | 2022-03-31T22:41:33.000Z | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc | SanjanaSingh897/grpc | 2d858866eb95ce5de8ccc8c35189a12733d8ca79 | [
"Apache-2.0"
] | 23,536 | 2015-02-26T17:50:56.000Z | 2022-03-31T23:39:42.000Z | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc | SanjanaSingh897/grpc | 2d858866eb95ce5de8ccc8c35189a12733d8ca79 | [
"Apache-2.0"
] | 11,050 | 2015-02-26T17:22:10.000Z | 2022-03-31T10:12:35.000Z | /*
*
* Copyright 2018 gRPC 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 agree... | 42.875862 | 100 | 0.747627 | [
"object"
] |
e78949933a22b8ffe8ed3f31977560e06403d2af | 3,974 | cc | C++ | tensorflow/compiler/xla/python/distributed/client_server_test.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 57 | 2017-09-03T07:08:31.000Z | 2022-02-28T04:33:42.000Z | tensorflow/compiler/xla/python/distributed/client_server_test.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 47 | 2020-05-15T11:30:04.000Z | 2021-08-11T16:51:08.000Z | tensorflow/compiler/xla/python/distributed/client_server_test.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 66 | 2020-05-15T10:05:12.000Z | 2022-02-14T07:28:18.000Z | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 38.582524 | 80 | 0.701309 | [
"vector"
] |
e78a88ebbc1bea5409a33f955c17ffe6470398a6 | 32,449 | cpp | C++ | src/vlGraphics/Text.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | 1 | 2017-06-29T18:25:11.000Z | 2017-06-29T18:25:11.000Z | src/vlGraphics/Text.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | null | null | null | src/vlGraphics/Text.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | 1 | 2021-01-01T10:43:33.000Z | 2021-01-01T10:43:33.000Z | /**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org ... | 31.750489 | 136 | 0.515794 | [
"render",
"object",
"vector",
"transform",
"3d"
] |
e78f76cf12cc7f4cb5c8673c7e888e608b99f96a | 1,686 | cpp | C++ | data-tool/src/render.cpp | flamesman/TK7DATATOOL | 5b3988424e5f6e2d5dd8b138d3cd3311a5d9fc14 | [
"MIT"
] | 1 | 2021-10-17T13:54:58.000Z | 2021-10-17T13:54:58.000Z | data-tool/src/render.cpp | flamesman/TK7DATATOOL | 5b3988424e5f6e2d5dd8b138d3cd3311a5d9fc14 | [
"MIT"
] | null | null | null | data-tool/src/render.cpp | flamesman/TK7DATATOOL | 5b3988424e5f6e2d5dd8b138d3cd3311a5d9fc14 | [
"MIT"
] | null | null | null | #include "render.h"
bool bMaximizeMenu = true;
bool bPlayerData = false;
bool bEnemyData = false;
bool bAdvantage = false;
bool bIsLocked = false;
unsigned int menu_x = 0;
unsigned int menu_y = 0;
#define SIZE_CONSTANT 25
#define MENU_HEIGHT 50
#define MENU_WIDTH 200
#define N_ITEMS 4
Im... | 24.085714 | 79 | 0.607948 | [
"render"
] |
e7902e136607ff0454bf5e0b62bb0c41a5dd3c32 | 9,881 | cc | C++ | module/imgproc/edge_util.cc | garyzhao/Sketch3DToolkit | 4f69320bcf2aac05849cc00fa50635ac4b335b6e | [
"MIT"
] | 27 | 2017-08-08T15:15:55.000Z | 2021-10-04T05:26:04.000Z | module/imgproc/edge_util.cc | garyzhao/Sketch3DToolkit | 4f69320bcf2aac05849cc00fa50635ac4b335b6e | [
"MIT"
] | 1 | 2019-07-08T06:20:31.000Z | 2019-07-10T01:36:05.000Z | module/imgproc/edge_util.cc | garyzhao/Sketch3DToolkit | 4f69320bcf2aac05849cc00fa50635ac4b335b6e | [
"MIT"
] | 9 | 2016-09-21T14:06:29.000Z | 2020-06-26T06:40:01.000Z | /*
* edge_util.cc
*/
#include "edge_util.h"
#include <iostream>
using namespace cv;
using namespace std;
/**
* Code for thinning a binary image using Zhang-Suen algorithm.
*
* Perform one thinning iteration.
* Normally you wouldn't call this function directly from your code.
*
* @param im Binary ... | 28.557803 | 127 | 0.509665 | [
"vector"
] |
e799cf82d911a73c9aa354a6cf0fc17c7a594c41 | 5,923 | hpp | C++ | matlab/external/src/OpenCVWrapper/sift.hpp | Childhoo/benchmark-orientation | d3a4086e8249e74da980752a7117030703e4db44 | [
"ImageMagick"
] | null | null | null | matlab/external/src/OpenCVWrapper/sift.hpp | Childhoo/benchmark-orientation | d3a4086e8249e74da980752a7117030703e4db44 | [
"ImageMagick"
] | null | null | null | matlab/external/src/OpenCVWrapper/sift.hpp | Childhoo/benchmark-orientation | d3a4086e8249e74da980752a7117030703e4db44 | [
"ImageMagick"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 49.358333 | 99 | 0.719737 | [
"vector"
] |
e7a5018b4edc13ea1af80cc3daa78fedb3b7336a | 978 | hpp | C++ | ros/src/computing/perception/detection/lib/image/dpm_ttic/include/dpm_ttic/dpm_ttic.hpp | izeki/Autoware | 21dcd18c4166331c290bd573733e0b881ca29ad7 | [
"BSD-3-Clause"
] | 64 | 2018-11-19T02:34:05.000Z | 2021-12-27T06:19:48.000Z | ros/src/computing/perception/detection/vision_detector/libs/dpm_ttic/include/libdpm_ttic/dpm_ttic.hpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 18 | 2019-04-08T16:09:37.000Z | 2019-06-05T15:24:40.000Z | ros/src/computing/perception/detection/vision_detector/libs/dpm_ttic/include/libdpm_ttic/dpm_ttic.hpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 34 | 2018-11-27T08:57:32.000Z | 2022-02-18T08:06:04.000Z | #ifndef _DPM_TTIC_H_
#define _DPM_TTIC_H_
#include <string>
#include <vector>
#include <opencv/cv.h>
extern void dpm_ttic_gpu_init_cuda(const std::string& cubin_path);
extern void dpm_ttic_gpu_cleanup_cuda();
struct DPMTTICResult {
int num;
std::vector<int> corner_points;
std::vector<int> type;
std::vector<float... | 18.45283 | 77 | 0.751534 | [
"vector",
"model"
] |
e7b0fe09dfd425ea2937cad20cb644aac89a510a | 3,638 | hpp | C++ | snark-logic/libs-source/multiprecision/include/nil/crypto3/multiprecision/inverse.hpp | idealatom/podlodkin-freeton-year-control | 6aa96e855fe065c9a75c76da976a87fe2d1668e6 | [
"MIT"
] | null | null | null | snark-logic/libs-source/multiprecision/include/nil/crypto3/multiprecision/inverse.hpp | idealatom/podlodkin-freeton-year-control | 6aa96e855fe065c9a75c76da976a87fe2d1668e6 | [
"MIT"
] | null | null | null | snark-logic/libs-source/multiprecision/include/nil/crypto3/multiprecision/inverse.hpp | idealatom/podlodkin-freeton-year-control | 6aa96e855fe065c9a75c76da976a87fe2d1668e6 | [
"MIT"
] | 1 | 2021-09-15T20:27:27.000Z | 2021-09-15T20:27:27.000Z | //---------------------------------------------------------------------------//
// Copyright (c) 2020 Mikhail Komarov <nemo@nil.foundation>
//
// 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
//----------------------... | 45.475 | 118 | 0.614623 | [
"vector"
] |
e7b3af4d6a23c7d670eed6ad23675b8048171689 | 14,138 | cpp | C++ | src/Features/Speedrun/Rules.cpp | soni801/SourceAutoRecord | 4bd9fde988eac425f86db050354db490dd3ed69b | [
"MIT"
] | null | null | null | src/Features/Speedrun/Rules.cpp | soni801/SourceAutoRecord | 4bd9fde988eac425f86db050354db490dd3ed69b | [
"MIT"
] | null | null | null | src/Features/Speedrun/Rules.cpp | soni801/SourceAutoRecord | 4bd9fde988eac425f86db050354db490dd3ed69b | [
"MIT"
] | null | null | null | #include "Rules.hpp"
#include "Categories.hpp"
#include "Features/EntityList.hpp"
#include "Features/OverlayRender.hpp"
#include "Features/Session.hpp"
#include "Modules/Client.hpp"
#include "Modules/Console.hpp"
#include "Modules/Engine.hpp"
#include "Modules/Scheme.hpp"
#include "Modules/Server.hpp"
#include "Module... | 28.794297 | 169 | 0.65667 | [
"vector"
] |
e7b505a80b506727aef7427f99cdd6e06373fc3a | 1,587 | cpp | C++ | src/cmd/loginspect/dbscan.cpp | lslersch/zero | ab779235f3c3bf58d6a3aa9d2a0a5296578ee498 | [
"Spencer-94"
] | null | null | null | src/cmd/loginspect/dbscan.cpp | lslersch/zero | ab779235f3c3bf58d6a3aa9d2a0a5296578ee498 | [
"Spencer-94"
] | null | null | null | src/cmd/loginspect/dbscan.cpp | lslersch/zero | ab779235f3c3bf58d6a3aa9d2a0a5296578ee498 | [
"Spencer-94"
] | null | null | null | #include "dbscan.h"
#include "allocator.h"
void DBScan::setupOptions()
{
boost::program_options::options_description opt("DBScan Options");
opt.add_options()
("dbfile,d", po::value<string>(&dbfile)->required(),
"Path to DB file")
;
options.add(opt);
}
void DBScan::handlePage(PageI... | 24.415385 | 75 | 0.563327 | [
"vector"
] |
e7b56e073e1ae89012942a35261f31504f827997 | 12,616 | cpp | C++ | mqtt-plugin/src/configuration/Topic.cpp | DEWETRON/OXYGEN-SDK-MQTT | 989027ab9cf636847a9984a3d5bac943b9652653 | [
"MIT"
] | null | null | null | mqtt-plugin/src/configuration/Topic.cpp | DEWETRON/OXYGEN-SDK-MQTT | 989027ab9cf636847a9984a3d5bac943b9652653 | [
"MIT"
] | null | null | null | mqtt-plugin/src/configuration/Topic.cpp | DEWETRON/OXYGEN-SDK-MQTT | 989027ab9cf636847a9984a3d5bac943b9652653 | [
"MIT"
] | null | null | null | #include "configuration/Topic.h"
#include "subscription/decoding/TextJsonDecoder.h"
#include "subscription/decoding/TextPlainDecoder.h"
#include "subscription/decoding/CborSyncDecoder.h"
#include "resampling/StreamClock.h"
//
#include "fmt/core.h"
#include "uuid.h"
using namespace plugin::mqtt;
using namespace plugin... | 35.840909 | 155 | 0.522987 | [
"object"
] |
e7b81999c7f2412e6189a6a0a1b45da9db5ed9c5 | 5,172 | cpp | C++ | src/Sources/colors.cpp | davidpypysp/gl-renderer | 0ce9b0d918775cd3fdc865cd51a51cdd3a149688 | [
"Unlicense",
"MIT"
] | null | null | null | src/Sources/colors.cpp | davidpypysp/gl-renderer | 0ce9b0d918775cd3fdc865cd51a51cdd3a149688 | [
"Unlicense",
"MIT"
] | null | null | null | src/Sources/colors.cpp | davidpypysp/gl-renderer | 0ce9b0d918775cd3fdc865cd51a51cdd3a149688 | [
"Unlicense",
"MIT"
] | null | null | null | #include "glitter.hpp"
namespace gl_examples
{
int ColorsProgram()
{
// glfw: initialize and configure
// ------------------------------
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_... | 31.730061 | 125 | 0.527649 | [
"model"
] |
e7bb72f60ce656c37b9c05ca2b6d9665eab52e17 | 10,786 | cpp | C++ | VoiceBridge/VoiceBridge/mitlm/Vocab.cpp | sanyaade-teachings/VoiceBridge | 348b0931f2bfaf33b7e0d18c68c50f448ab3de5c | [
"Apache-2.0"
] | 18 | 2018-02-15T03:14:32.000Z | 2021-07-06T08:21:13.000Z | VoiceBridge/VoiceBridge/mitlm/Vocab.cpp | sanyaade-teachings/VoiceBridge | 348b0931f2bfaf33b7e0d18c68c50f448ab3de5c | [
"Apache-2.0"
] | 3 | 2020-10-25T16:35:55.000Z | 2020-10-26T04:59:46.000Z | VoiceBridge/VoiceBridge/mitlm/Vocab.cpp | sanyaade-teachings/VoiceBridge | 348b0931f2bfaf33b7e0d18c68c50f448ab3de5c | [
"Apache-2.0"
] | 7 | 2018-09-16T20:40:17.000Z | 2021-07-06T08:21:14.000Z | /*
Copyright 2017-present Zoltan Somogyi (AI-TOOLKIT), All Rights Reserved
You may use this file only if you agree to the software license:
AI-TOOLKIT Open Source Software License - Version 2.1 - February 22, 2018:
https://ai-toolkit.blogspot.com/p/ai-toolkit-open-source-software-license.html.
Also included with th... | 38.659498 | 112 | 0.560449 | [
"vector"
] |
e7bd4dc4dfee7b5b43adc1a37756a8c252cb5ad0 | 9,647 | cpp | C++ | src/zinc/zinc.cpp | rokups/zinc | 7b0d27ee885d14b061fe94ce631552ff7295e9c3 | [
"MIT"
] | 47 | 2017-07-22T08:02:09.000Z | 2021-12-24T02:41:35.000Z | src/zinc/zinc.cpp | rokups/zinc | 7b0d27ee885d14b061fe94ce631552ff7295e9c3 | [
"MIT"
] | 1 | 2019-01-12T13:51:29.000Z | 2019-01-12T17:15:02.000Z | src/zinc/zinc.cpp | rokups/zinc | 7b0d27ee885d14b061fe94ce631552ff7295e9c3 | [
"MIT"
] | 4 | 2018-01-22T05:20:42.000Z | 2020-02-13T23:34:20.000Z | /*
* MIT License
*
* Copyright (c) 2018 Rokas Kupstys
*
* 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, mo... | 34.453571 | 115 | 0.59065 | [
"vector"
] |
e7be95848402cd663a776c8408dbffce16f569d4 | 8,284 | cpp | C++ | src/QMCDrivers/BranchIO.cpp | kryczko/qmcpack | 92f4885eac810b5aa7bece4b30a03395d74f5598 | [
"NCSA"
] | null | null | null | src/QMCDrivers/BranchIO.cpp | kryczko/qmcpack | 92f4885eac810b5aa7bece4b30a03395d74f5598 | [
"NCSA"
] | null | null | null | src/QMCDrivers/BranchIO.cpp | kryczko/qmcpack | 92f4885eac810b5aa7bece4b30a03395d74f5598 | [
"NCSA"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source License.
// See LICENSE file in top directory for details.
//
// Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
//
// File developed by: Jeremy Mc... | 31.498099 | 118 | 0.658257 | [
"vector"
] |
e7bf12f9e4f5e582a8de81b1b1e27f28bcbcb4ae | 712 | cpp | C++ | test/StatefulTest.cpp | jerryzhenleicai/Streams | e699eb1767bc96a50098a148eafe4fc09a559d51 | [
"MIT"
] | 494 | 2015-01-06T14:56:51.000Z | 2022-01-31T23:09:30.000Z | test/StatefulTest.cpp | jerryzhenleicai/Streams | e699eb1767bc96a50098a148eafe4fc09a559d51 | [
"MIT"
] | 9 | 2015-04-07T15:27:41.000Z | 2017-01-11T05:54:40.000Z | test/StatefulTest.cpp | jerryzhenleicai/Streams | e699eb1767bc96a50098a148eafe4fc09a559d51 | [
"MIT"
] | 54 | 2018-07-06T02:09:27.000Z | 2021-11-10T08:42:50.000Z | #include <Stream.h>
#include <gmock/gmock.h>
using namespace testing;
using namespace stream;
using namespace stream::op;
TEST(StatefulTest, StatePoint) {
std::vector<int> result;
MakeStream::range(0, 5)
| peek([&](int x) { result.push_back(x); })
| state_point()
| filter()
| ... | 25.428571 | 89 | 0.571629 | [
"vector"
] |
b10cb5cddc70dcffd14f3b562c22097c676231ca | 2,066 | hpp | C++ | SignalPublisher.hpp | ddribin/verilatest | f407b2f74580d7c535a1240c4ca071046c0ec67f | [
"MIT"
] | null | null | null | SignalPublisher.hpp | ddribin/verilatest | f407b2f74580d7c535a1240c4ca071046c0ec67f | [
"MIT"
] | null | null | null | SignalPublisher.hpp | ddribin/verilatest | f407b2f74580d7c535a1240c4ca071046c0ec67f | [
"MIT"
] | null | null | null | #ifndef VERILATEST_SIGNAL_PUBLISHER_H
#define VERILATEST_SIGNAL_PUBLISHER_H
#include <vector>
#include <tuple>
#include <queue>
#include <iostream>
#include <algorithm>
#include <functional>
#include "Signal.hpp"
template <typename T, class Core>
class SignalPublisher : public SignalInput<Core>
{
public:
typedef... | 23.213483 | 108 | 0.619555 | [
"vector"
] |
b11968bc6678d1c7fb0da400a4d7d542e7060129 | 6,133 | hpp | C++ | include/GlobalNamespace/MulticolorAvatarPartPropertyBlockSetter_ColorData.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/MulticolorAvatarPartPropertyBlockSetter_ColorData.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/MulticolorAvatarPartPropertyBlockSetter_ColorData.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/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: MulticolorAvatarPartProperty... | 53.798246 | 257 | 0.7564 | [
"object",
"vector"
] |
b11f0f205c4d202a92fdd4dfddd30b3c8ec27a1a | 6,569 | cpp | C++ | hphp/runtime/vm/jit/vasm-simplify-x64.cpp | simonwelsh/hhvm | d4f2f960f29fc66e0ed615b8fa7746a42aafb173 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2021-06-19T23:31:58.000Z | 2021-06-19T23:31:58.000Z | hphp/runtime/vm/jit/vasm-simplify-x64.cpp | alisha/hhvm | 523dc33b444bd5b59695eff2b64056629b0ed523 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/jit/vasm-simplify-x64.cpp | alisha/hhvm | 523dc33b444bd5b59695eff2b64056629b0ed523 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 32.519802 | 80 | 0.572842 | [
"transform"
] |
b1220e3686dea19b586e42e8a8377bda5d8be892 | 1,989 | hpp | C++ | sample/include/utility.hpp | isabella232/ros2_openvino_toolkit | 9d48916423bb1559a792c356cdf6fdcd5ba48f85 | [
"Apache-2.0"
] | null | null | null | sample/include/utility.hpp | isabella232/ros2_openvino_toolkit | 9d48916423bb1559a792c356cdf6fdcd5ba48f85 | [
"Apache-2.0"
] | 1 | 2021-02-24T10:19:46.000Z | 2021-02-24T10:19:46.000Z | sample/include/utility.hpp | isabella232/ros2_openvino_toolkit | 9d48916423bb1559a792c356cdf6fdcd5ba48f85 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 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 law or agr... | 28.414286 | 88 | 0.675214 | [
"vector"
] |
b128f3a3a4d0c72a9a19941e8808a8b490c6e3f9 | 26,171 | cpp | C++ | Source/ThirdParty/ANGLE/src/libANGLE/validationES31.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | Source/ThirdParty/ANGLE/src/libANGLE/validationES31.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | 9 | 2020-04-18T18:47:18.000Z | 2020-04-18T18:52:41.000Z | Source/ThirdParty/ANGLE/src/libANGLE/validationES31.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// validationES31.cpp: Validation functions for OpenGL ES 3.1 entry point parameters
#include "libANGLE/validationES31.h"
#include "libAN... | 31.493381 | 100 | 0.598525 | [
"object",
"transform"
] |
b12943b79b2f3a692d042899b3909f17c6328ea4 | 10,997 | cpp | C++ | Sources/UnitTests/MouCaGraphicLibraryTests/source/UT_Animation.cpp | Rominitch/MouCaLab | d8c24de479b1bc11509df8456e0071d394fbeab9 | [
"Unlicense"
] | null | null | null | Sources/UnitTests/MouCaGraphicLibraryTests/source/UT_Animation.cpp | Rominitch/MouCaLab | d8c24de479b1bc11509df8456e0071d394fbeab9 | [
"Unlicense"
] | null | null | null | Sources/UnitTests/MouCaGraphicLibraryTests/source/UT_Animation.cpp | Rominitch/MouCaLab | d8c24de479b1bc11509df8456e0071d394fbeab9 | [
"Unlicense"
] | null | null | null | #include "Dependancies.h"
#include <LibRT/include/RTAnimationBones.h>
#include <LibRT/include/RTCameraComportement.h>
#include <LibRT/include/RTGeometry.h>
#include <LibRT/include/RTImage.h>
#include <LibRT/include/RTLight.h>
#include <LibRT/include/RTScene.h>
#include <LibVulkan/interface/IRendererDeferred.h> // MEG... | 37.277966 | 178 | 0.579522 | [
"mesh",
"geometry",
"render",
"vector"
] |
b12a4098ca1914e7fc835d64604d87db7dbe3f31 | 5,246 | cpp | C++ | tc 160+/CirclesCountry.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc 160+/CirclesCountry.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc 160+/CirclesCountry.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>
using namespace std;
vector<int> X, Y, R;
inline int dist_sqr(int x, int y, int xc, int yc) {
return (x-xc)*(x-xc) + (y-yc)*(y-yc);
}
inline bool i... | 47.690909 | 560 | 0.521159 | [
"vector"
] |
b12a6b36c604c13140a092a0d0f46da87f562e3e | 20,827 | cpp | C++ | _blackscholes/src/blackscholes.cpp | huxuan0307/riscv-vectorized-benchmark-suite | 766d98b72c1900a278e9cede43df8d186f3071ba | [
"BSD-3-Clause"
] | 1 | 2021-05-26T06:38:03.000Z | 2021-05-26T06:38:03.000Z | _blackscholes/src/blackscholes.cpp | huxuan0307/riscv-vectorized-benchmark-suite | 766d98b72c1900a278e9cede43df8d186f3071ba | [
"BSD-3-Clause"
] | null | null | null | _blackscholes/src/blackscholes.cpp | huxuan0307/riscv-vectorized-benchmark-suite | 766d98b72c1900a278e9cede43df8d186f3071ba | [
"BSD-3-Clause"
] | 1 | 2021-05-26T06:38:06.000Z | 2021-05-26T06:38:06.000Z | // Copyright (c) 2007 Intel Corp.
// Black-Scholes
// Analytical method for calculating European Options
//
//
// Reference Source: Options, Futures, and Other Derivatives, 3rd Edition, Prentice
// Hall, John C. Hull,
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <time.h>
#i... | 27.658699 | 245 | 0.59759 | [
"vector"
] |
b132cc1e515ce62e35a3bf6c25f120e48b49f4dd | 12,098 | cc | C++ | google/cloud/secretmanager/internal/secret_manager_connection_impl.cc | sydney-munro/google-cloud-cpp | 374b52e5cec78962358bdd5913d4118a47af1952 | [
"Apache-2.0"
] | 80 | 2017-11-24T00:19:45.000Z | 2019-01-25T10:24:33.000Z | google/cloud/secretmanager/internal/secret_manager_connection_impl.cc | sydney-munro/google-cloud-cpp | 374b52e5cec78962358bdd5913d4118a47af1952 | [
"Apache-2.0"
] | 1,579 | 2017-11-24T01:01:21.000Z | 2019-01-28T23:41:21.000Z | google/cloud/secretmanager/internal/secret_manager_connection_impl.cc | sydney-munro/google-cloud-cpp | 374b52e5cec78962358bdd5913d4118a47af1952 | [
"Apache-2.0"
] | 51 | 2017-11-24T00:56:11.000Z | 2019-01-18T20:35:02.000Z | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 41.861592 | 80 | 0.701356 | [
"vector"
] |
b134293d546de7c5096ac68350c14a4f61893cd6 | 833 | cpp | C++ | lab07/1.3_find_max_ex/find_max_ex_test/FindMaxTest.cpp | AlexanderFadeev/oop | 62ea584b2c49dea5457b9e520866bfd7a0d883c7 | [
"MIT"
] | null | null | null | lab07/1.3_find_max_ex/find_max_ex_test/FindMaxTest.cpp | AlexanderFadeev/oop | 62ea584b2c49dea5457b9e520866bfd7a0d883c7 | [
"MIT"
] | 18 | 2018-02-07T07:10:18.000Z | 2018-05-23T08:11:28.000Z | lab07/1.3_find_max_ex/find_max_ex_test/FindMaxTest.cpp | AlexanderFadeev/oop | 62ea584b2c49dea5457b9e520866bfd7a0d883c7 | [
"MIT"
] | null | null | null | #include "FindMax.hpp"
#include "catch.hpp"
template <typename T, typename Less = std::less<T>>
void CheckFindMax(std::vector<T> vec, const T& expectedMax, const Less& less = Less())
{
auto max = T();
CHECK(FindMax(vec, max, less));
CHECK(max == expectedMax);
}
template <typename T>
void CheckFindMaxFail(std::vec... | 21.921053 | 86 | 0.62545 | [
"vector"
] |
b138fd62117fbcf33a9668ab9bd337ab3a1a31bd | 1,418 | cpp | C++ | examples/alternatives.cpp | GerHobbelt/clipp | 0b3124d010753909fbccc63e217a763cd336b906 | [
"MIT"
] | 2 | 2022-01-19T01:22:36.000Z | 2022-03-17T07:38:54.000Z | examples/alternatives.cpp | GerHobbelt/clipp | 0b3124d010753909fbccc63e217a763cd336b906 | [
"MIT"
] | null | null | null | examples/alternatives.cpp | GerHobbelt/clipp | 0b3124d010753909fbccc63e217a763cd336b906 | [
"MIT"
] | null | null | null | /*****************************************************************************
*
* demo program - part of CLIPP (command line interfaces for modern C++)
*
* released under MIT license
*
* (c) 2017-2018 André Müller; foss@andremueller-online.de
*
******************************************************************... | 26.754717 | 82 | 0.497884 | [
"vector"
] |
b13a468eae07c23b6bd5ba3c2986557bad3464ed | 4,114 | cpp | C++ | cpu_version/tools/query.cpp | takanokage/Product-Quantization-Tree | 2651ba871100ff4c0ccef42ba57e871fbc6181f8 | [
"MIT"
] | 98 | 2016-07-18T07:38:07.000Z | 2022-02-02T15:28:01.000Z | cpu_version/tools/query.cpp | takanokage/Product-Quantization-Tree | 2651ba871100ff4c0ccef42ba57e871fbc6181f8 | [
"MIT"
] | 14 | 2016-08-03T08:43:36.000Z | 2017-11-02T14:39:41.000Z | cpu_version/tools/query.cpp | takanokage/Product-Quantization-Tree | 2651ba871100ff4c0ccef42ba57e871fbc6181f8 | [
"MIT"
] | 36 | 2016-07-27T13:47:12.000Z | 2020-07-13T14:34:46.000Z | #include <iostream>
#include <string>
#include "../helper.hpp"
#include "../timer.hpp"
#include "../iterator/memiterator.hpp"
#include "../iterator/iterator.hpp"
#include "../quantizer/treequantizer.hpp"
const uint D = 128; // dimension of vector
const uint P = 2; // number of parts
const uint C1 = 16; // num... | 28.372414 | 111 | 0.529898 | [
"vector"
] |
b13e0c63974a6f45da613f376032f2ec354d91c6 | 6,712 | cc | C++ | content/services/shared_storage_worklet/unnamed_operation_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | content/services/shared_storage_worklet/unnamed_operation_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | content/services/shared_storage_worklet/unnamed_operation_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"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 2021 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 "content/services/shared_storage_worklet/unnamed_operation_handler.h"
#include "content/services/shared_storage_worklet/worklet_v8_helper.h"
#in... | 33.064039 | 80 | 0.684744 | [
"object",
"vector"
] |
b143a2fccfb087ae4d14fe9a1e1c7d967ce01137 | 1,231 | cpp | C++ | ComponentFramework/EntityBag.cpp | autious/kravall_entity_component_framework | a4380ea9135c2ad7aac444c0d52837eb1a43319d | [
"MIT"
] | 7 | 2015-06-21T20:23:12.000Z | 2020-01-04T20:20:56.000Z | ComponentFramework/EntityBag.cpp | autious/kravall_entity_component_framework | a4380ea9135c2ad7aac444c0d52837eb1a43319d | [
"MIT"
] | null | null | null | ComponentFramework/EntityBag.cpp | autious/kravall_entity_component_framework | a4380ea9135c2ad7aac444c0d52837eb1a43319d | [
"MIT"
] | null | null | null | #include "EntityBag.hpp"
#include "SystemTypes.hpp"
#include <cassert>
namespace Core
{
EntityBag::EntityBag( Aspect inclusive, Aspect exclusive )
{
m_inclusive = inclusive;
m_exclusive = exclusive;
}
void EntityBag::ChangedEntity( Entity id, Aspect old_asp, Aspect new_asp )
{
... | 23.226415 | 83 | 0.447604 | [
"vector"
] |
b1499670973845934c1974cddc17d7535394f030 | 56,375 | cpp | C++ | source/Tools/Fusion2/FUSIONView.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | 3 | 2020-04-29T03:17:50.000Z | 2021-05-26T19:53:46.000Z | source/Tools/Fusion2/FUSIONView.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | 1 | 2020-04-29T03:12:47.000Z | 2020-04-29T03:12:47.000Z | source/Tools/Fusion2/FUSIONView.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | null | null | null | /****************************************************************************************/
/* FusionView.cpp */
/* */
/* Author: Jim Mischel, Ken Baird, Jeff ... | 23.343685 | 109 | 0.664213 | [
"3d"
] |
b14b9a5b3b17a27608e36f18928b7c7e1a6395ea | 1,142 | cpp | C++ | ngraph/test/visitors/op/normalize_l2.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 1 | 2022-02-10T08:05:09.000Z | 2022-02-10T08:05:09.000Z | ngraph/test/visitors/op/normalize_l2.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 40 | 2020-12-04T07:46:57.000Z | 2022-02-21T13:04:40.000Z | ngraph/test/visitors/op/normalize_l2.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 1 | 2021-08-18T14:29:37.000Z | 2021-08-18T14:29:37.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "gtest/gtest.h"
#include "ngraph/ngraph.hpp"
#include "ngraph/op/util/attr_types.hpp"
#include "ngraph/opsets/opset1.hpp"
#include "ngraph/opsets/opset3.hpp"
#include "ngraph/opsets/opset4.hpp"
#include "ngraph/opsets/opse... | 30.864865 | 91 | 0.734676 | [
"shape",
"vector"
] |
b14bcba07bda19c9ea4301fb15bda7bc11e85d16 | 749 | cpp | C++ | aws-cpp-sdk-ivs/source/model/PutMetadataRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-ivs/source/model/PutMetadataRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-ivs/source/model/PutMetadataRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ivs/model/PutMetadataRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::IVS::Model;
using namespace Aws::Utils::Json;
using namespace Aw... | 17.418605 | 69 | 0.728972 | [
"model"
] |
b150b218164b3e7451d74fa3cf1481bd77290dbb | 33,150 | cpp | C++ | sta-src/Astro-Core/date.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 6 | 2018-09-05T12:41:59.000Z | 2021-07-01T05:34:23.000Z | sta-src/Astro-Core/date.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 2 | 2015-02-07T19:09:21.000Z | 2015-08-14T03:15:42.000Z | sta-src/Astro-Core/date.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 2 | 2015-03-25T15:50:31.000Z | 2017-12-06T12:16:47.000Z | /*
This program is free software; you can redistribute it and/or modify it under
the terms of the European Union Public Licence - EUPL v.1.1 as published by
the European Commission.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCH... | 26.95122 | 210 | 0.631161 | [
"object",
"vector",
"transform"
] |
b159caa5faf4b3fa5447da45b82c967322270a61 | 1,880 | cc | C++ | sensei/read_data.cc | rbnx/sensei | 0be283b604c7f0505850fefd880fe9bf985212b5 | [
"Apache-2.0"
] | 60 | 2015-05-29T19:33:50.000Z | 2022-03-24T04:14:13.000Z | sensei/read_data.cc | rbnx/sensei | 0be283b604c7f0505850fefd880fe9bf985212b5 | [
"Apache-2.0"
] | 1 | 2022-03-19T05:52:01.000Z | 2022-03-19T05:52:01.000Z | sensei/read_data.cc | rbnx/sensei | 0be283b604c7f0505850fefd880fe9bf985212b5 | [
"Apache-2.0"
] | 20 | 2015-07-03T09:07:31.000Z | 2022-03-19T05:51:51.000Z | /*
* Copyright 2015 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 appl... | 28.059701 | 75 | 0.695213 | [
"model"
] |
b15a00a26a2735916299aebebb0c7f5e2fa10692 | 445 | cpp | C++ | cpp/linux/new_arch/model_infer.cpp | zjykzj/onnx | d4c0557df19787d7cd16abb38755ac61412b11bf | [
"Apache-2.0"
] | null | null | null | cpp/linux/new_arch/model_infer.cpp | zjykzj/onnx | d4c0557df19787d7cd16abb38755ac61412b11bf | [
"Apache-2.0"
] | null | null | null | cpp/linux/new_arch/model_infer.cpp | zjykzj/onnx | d4c0557df19787d7cd16abb38755ac61412b11bf | [
"Apache-2.0"
] | null | null | null | //
// Created by zj on 2021/8/23.
//
#include "model_infer.h"
bool ModelInfer::create(const char *model_path) {
std::cout << "ModelInfer::create()" << std::endl;
return true;
}
bool ModelInfer::release() {
std::cout << "ModelInfer::release()" << std::endl;
return true;
}
bool ModelInfer::infer(cons... | 20.227273 | 79 | 0.624719 | [
"vector"
] |
b15b6ab47194c1b35fbde329bad9be868e954104 | 26,849 | cc | C++ | src/headers/16/node_sockaddr.cc | baptistejamin/cWS | 74d3ef58da257603ab0e56bab6f768854147bb37 | [
"MIT"
] | null | null | null | src/headers/16/node_sockaddr.cc | baptistejamin/cWS | 74d3ef58da257603ab0e56bab6f768854147bb37 | [
"MIT"
] | null | null | null | src/headers/16/node_sockaddr.cc | baptistejamin/cWS | 74d3ef58da257603ab0e56bab6f768854147bb37 | [
"MIT"
] | null | null | null | #include "node_sockaddr-inl.h" // NOLINT(build/include)
#include "env-inl.h"
#include "base64-inl.h"
#include "base_object-inl.h"
#include "memory_tracker-inl.h"
#include "node_errors.h"
#include "uv.h"
#include <memory>
#include <string>
#include <vector>
namespace node {
using v8::Array;
using v8::Context;
using ... | 30.337853 | 80 | 0.694923 | [
"object",
"vector"
] |
b15e35e23d36c4479a5d62a1cadf5fc7b2958f47 | 9,220 | cpp | C++ | src/Equations/viscoelastic2/Model/Setup.cpp | ivotron/SeisSol | 51c2935566998480f948caf2b66b27b80df4b2c4 | [
"BSD-3-Clause"
] | null | null | null | src/Equations/viscoelastic2/Model/Setup.cpp | ivotron/SeisSol | 51c2935566998480f948caf2b66b27b80df4b2c4 | [
"BSD-3-Clause"
] | null | null | null | src/Equations/viscoelastic2/Model/Setup.cpp | ivotron/SeisSol | 51c2935566998480f948caf2b66b27b80df4b2c4 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file
* This file is part of SeisSol.
*
* @author Carsten Uphoff (c.uphoff AT tum.de, http://www5.in.tum.de/wiki/index.php/Carsten_Uphoff,_M.Sc.)
*
* @section LICENSE
* Copyright (c) 2015, SeisSol Group
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* mod... | 39.234043 | 118 | 0.59577 | [
"shape",
"model"
] |
b15fd76873f4a232624f6b3f276b4b0f472ad884 | 1,603 | cpp | C++ | aws-cpp-sdk-redshift/source/model/CopyClusterSnapshotRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-redshift/source/model/CopyClusterSnapshotRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-redshift/source/model/CopyClusterSnapshotRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/redshift/model/CopyClusterSnapshotRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::Redshift::Model;
using n... | 29.145455 | 121 | 0.756082 | [
"model"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.