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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b6da25115e8d06f7f7a19cba441ac79b2c914308 | 126,976 | cpp | C++ | src/js/wasm/WasmIonCompile.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | 149 | 2018-12-23T09:08:00.000Z | 2022-02-02T09:18:38.000Z | src/js/wasm/WasmIonCompile.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | null | null | null | src/js/wasm/WasmIonCompile.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | 56 | 2018-12-23T18:11:40.000Z | 2021-11-30T13:18:17.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
*
* Copyright 2015 Mozilla 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... | 31.839519 | 117 | 0.580149 | [
"object",
"vector"
] |
b6dd202fa715038faea0f4e4c367d5e359adad39 | 3,225 | cpp | C++ | solutions/1806/20111111T164028Z-3967114.cpp | Mistereo/timus-solutions | 062540304c33312b75e0e8713c4b36c80fb220ab | [
"MIT"
] | 11 | 2019-10-29T15:34:53.000Z | 2022-03-14T14:45:09.000Z | solutions/1806/20111111T164028Z-3967114.cpp | Mistereo/timus-solutions | 062540304c33312b75e0e8713c4b36c80fb220ab | [
"MIT"
] | null | null | null | solutions/1806/20111111T164028Z-3967114.cpp | Mistereo/timus-solutions | 062540304c33312b75e0e8713c4b36c80fb220ab | [
"MIT"
] | 6 | 2018-06-30T12:06:55.000Z | 2021-03-20T08:46:33.000Z | #include <iostream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <set>
using namespace std;
const int INF = 1000000000;
int n;
vector<pair<int, int> > *G;
pair<string, int> *T;
void addToG(string s, int index, int xxx);
int binarySearch(int left, int right, string s);... | 26.652893 | 74 | 0.40031 | [
"vector"
] |
b6e2e5c7e6c65d718b1bc4fb4be33f5b47d4c53b | 3,579 | cpp | C++ | yolox/ops/onnxruntime/rotated_nms/cpu/rotated_nms.cpp | DDGRCF/YOLOX_OBB | 27b80953306492b8bc83b86b1353d8cee01ef9b6 | [
"Apache-2.0"
] | 39 | 2021-11-09T12:12:06.000Z | 2022-03-28T13:45:20.000Z | yolox/ops/onnxruntime/rotated_nms/cpu/rotated_nms.cpp | DDGRCF/YOLOX_OBB | 27b80953306492b8bc83b86b1353d8cee01ef9b6 | [
"Apache-2.0"
] | 12 | 2021-11-09T11:33:29.000Z | 2022-03-25T17:00:14.000Z | yolox/ops/onnxruntime/rotated_nms/cpu/rotated_nms.cpp | DDGRCF/YOLOX_OBB | 27b80953306492b8bc83b86b1353d8cee01ef9b6 | [
"Apache-2.0"
] | 1 | 2022-03-24T06:53:39.000Z | 2022-03-24T06:53:39.000Z | #include <algorithm>
#include <cmath>
#include <iostream>
#include <iterator>
#include <numeric> // std::iota
#include <vector>
#include "ort_utils.h"
#include "rotated_nms.h"
#include "rotated_utils.hpp"
RotatedNmsKernel::RotatedNmsKernel(OrtApi api, const OrtKernelInfo *info)
: api_(api), ort_(api_), info_(inf... | 35.79 | 83 | 0.628667 | [
"vector"
] |
b6ea959e0018e53f5e29937b9f79c844f1e1bab9 | 4,310 | hpp | C++ | src/Common/SharedLibrary.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | 1 | 2017-02-17T13:01:13.000Z | 2017-02-17T13:01:13.000Z | src/Common/SharedLibrary.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | null | null | null | src/Common/SharedLibrary.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | 1 | 2018-07-23T00:05:58.000Z | 2018-07-23T00:05:58.000Z | /*!
* \file SharedLibrary.hpp
* \brief
*
* \author mstefanc
* \date 2010-05-02
*/
#ifndef SHAREDLIBRARY_HPP_
#define SHAREDLIBRARY_HPP_
#include <string>
#include <dlfcn.h>
#include "SharedLibraryCommon.hpp"
namespace Common {
/*!
* \class SharedLibrary
* \brief Class representing share... | 25.808383 | 113 | 0.665893 | [
"object"
] |
b6eaaf0939bb83f5bb3f3f7720eefbb2617b6d23 | 2,644 | cpp | C++ | tests/functional_tests/exec_test.cpp | wiryls/uncat | 3df67408c1887b15ceccca8bf1301bdb7a065aa4 | [
"MIT"
] | null | null | null | tests/functional_tests/exec_test.cpp | wiryls/uncat | 3df67408c1887b15ceccca8bf1301bdb7a065aa4 | [
"MIT"
] | null | null | null | tests/functional_tests/exec_test.cpp | wiryls/uncat | 3df67408c1887b15ceccca8bf1301bdb7a065aa4 | [
"MIT"
] | 1 | 2021-06-17T23:23:40.000Z | 2021-06-17T23:23:40.000Z | #include <algorithm>
#include <vector>
#include <mutex>
#include <catch2/catch_test_macros.hpp>
#include <uncat/exec/executor.hpp>
TEST_CASE("executor(0) is dead silence", "[exec]")
{
SECTION("push back experiment")
{
auto v = std::vector<int>();
{
auto ex = uncat::exec::executor(0... | 27.257732 | 73 | 0.39826 | [
"vector"
] |
b6ebf21c8557b24f779c73a49b0eb8892fb06e08 | 2,456 | cc | C++ | RAVL2/3D/Mesh/HEMeshVertex.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/3D/Mesh/HEMeshVertex.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/3D/Mesh/HEMeshVertex.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2002, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 27.909091 | 81 | 0.664495 | [
"mesh",
"3d"
] |
b6ecbe54fe7b2b64bbccfe5532f293da4d16c062 | 1,816 | cpp | C++ | sunfish_joypad/src/JoypadMain.cpp | Gallard88/sunfish_control | 8d0ebdab6360a2244cd80dc81f135deaeeab4c6b | [
"MIT"
] | null | null | null | sunfish_joypad/src/JoypadMain.cpp | Gallard88/sunfish_control | 8d0ebdab6360a2244cd80dc81f135deaeeab4c6b | [
"MIT"
] | null | null | null | sunfish_joypad/src/JoypadMain.cpp | Gallard88/sunfish_control | 8d0ebdab6360a2244cd80dc81f135deaeeab4c6b | [
"MIT"
] | null | null | null | #include "ros/ros.h"
#include "sensor_msgs/Joy.h"
#include "geometry_msgs/Twist.h" // Twist
/* ------------------------------------------------------- */
static ros::Subscriber joySub_;
static ros::Publisher vecPub_;
static ros::Timer updateTimer;
static geometry_msgs::Twist cmdVector_;
static bool diveInc_, d... | 25.222222 | 73 | 0.577643 | [
"vector"
] |
b6ee3dbe6dc8070d2d07eb3f3af869fc5fc63559 | 4,808 | hpp | C++ | include/dcps/C++/isocpp2/dds/core/cond/detail/TStatusConditionImpl.hpp | lsst-ts/ts_opensplice_community | 28032928681f015c4233effcc9c68b2655901d61 | [
"Apache-2.0"
] | null | null | null | include/dcps/C++/isocpp2/dds/core/cond/detail/TStatusConditionImpl.hpp | lsst-ts/ts_opensplice_community | 28032928681f015c4233effcc9c68b2655901d61 | [
"Apache-2.0"
] | null | null | null | include/dcps/C++/isocpp2/dds/core/cond/detail/TStatusConditionImpl.hpp | lsst-ts/ts_opensplice_community | 28032928681f015c4233effcc9c68b2655901d61 | [
"Apache-2.0"
] | null | null | null | /*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except i... | 32.707483 | 143 | 0.686564 | [
"object"
] |
8e00290ffc3fc0c20786f9d38f7245b00395ed96 | 2,620 | cpp | C++ | gst/elements/gvafpscounter/fpscounter_c.cpp | maksimvlasov/dlstreamer_gst | 747878fe2de3380fab7f4a5a4932623aaf1622a8 | [
"MIT"
] | 125 | 2020-09-18T10:50:27.000Z | 2022-02-10T06:20:59.000Z | gst/elements/gvafpscounter/fpscounter_c.cpp | maksimvlasov/dlstreamer_gst | 747878fe2de3380fab7f4a5a4932623aaf1622a8 | [
"MIT"
] | 155 | 2020-09-10T23:32:29.000Z | 2022-02-05T07:10:26.000Z | gst/elements/gvafpscounter/fpscounter_c.cpp | maksimvlasov/dlstreamer_gst | 747878fe2de3380fab7f4a5a4932623aaf1622a8 | [
"MIT"
] | 41 | 2020-09-15T08:49:17.000Z | 2022-01-24T10:39:36.000Z | /*******************************************************************************
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
#include "fpscounter_c.h"
#include "config.h"
#include "fpscounter.h"
#include "in... | 35.890411 | 113 | 0.583588 | [
"vector"
] |
8e0b5ed0d1b1b27e0a474d00cb59b0fc7615105a | 41,423 | cpp | C++ | src/game/server/portal/npc_rocket_turret.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/server/portal/npc_rocket_turret.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/server/portal/npc_rocket_turret.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#include "cbase.h"
#include "ai_basenpc.h"
#include "ai_senses.h"
#include "ai_memory.h"
#include "engine/IEngineSound.h"
... | 29.378014 | 173 | 0.654274 | [
"vector",
"model"
] |
8e0d6ad049f7092e111381e280c540d39cdd26cb | 7,784 | cc | C++ | shear_energy.cc | katiana22/GrassmannianEGO | 6cd2c7225cf46aac1b08380d6c362f17b3a69a83 | [
"MIT"
] | 3 | 2021-09-09T13:05:06.000Z | 2022-02-18T20:54:17.000Z | shear_energy.cc | katiana22/GrassmannianEGO | 6cd2c7225cf46aac1b08380d6c362f17b3a69a83 | [
"MIT"
] | null | null | null | shear_energy.cc | katiana22/GrassmannianEGO | 6cd2c7225cf46aac1b08380d6c362f17b3a69a83 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <sys/types.h>
#include <sys/stat.h>
#include "common.hh"
#include "extra.hh"
#include "shear_sim.hh"
// Temperature scale that is used to non-dimensionalize temperatures
const double TZ=21000; // STZ formation energy, ... | 40.541667 | 103 | 0.603546 | [
"model"
] |
8e0e2e1f1c2003766c21a4de391b50b6a74d313d | 38,798 | cpp | C++ | util/cpu-dir/ChiaSigScaled/CCCsig/CCCStatistics.cpp | ultimateabhi719/ChIA-PIPE | 9bf89dd399eeef3e039f5bd1319f90e00ff763b7 | [
"MIT"
] | 14 | 2020-04-27T06:40:25.000Z | 2022-02-17T04:57:07.000Z | util/cpu-dir/ChiaSigScaled/CCCsig/CCCStatistics.cpp | ultimateabhi719/ChIA-PIPE | 9bf89dd399eeef3e039f5bd1319f90e00ff763b7 | [
"MIT"
] | 2 | 2020-09-03T16:52:41.000Z | 2020-11-23T17:04:53.000Z | util/cpu-dir/ChiaSigScaled/CCCsig/CCCStatistics.cpp | ultimateabhi719/ChIA-PIPE | 9bf89dd399eeef3e039f5bd1319f90e00ff763b7 | [
"MIT"
] | 7 | 2020-09-02T08:50:58.000Z | 2021-12-03T16:21:48.000Z | // ChiaSig: detection of significant interactions in ChIA-PET data using Non-central hypergeometric distribution (NCHG)
// This file is subject to the terms and conditions defined in file 'LICENSE', which is part of this source code package.
// Copyright (2014) Jonas Paulsen
#include "CCCStatistics.h"
#include <ioman... | 42.309706 | 407 | 0.691221 | [
"object",
"vector"
] |
8e1cf88919a1bc09fed321a924645e68a550178e | 3,213 | cpp | C++ | clang-tools-extra/clangd/DraftStore.cpp | nickbabcock/EECS381StyleCheck | 271a15140229e5dbc1798328edfe6ca8c632a7be | [
"MIT"
] | 171 | 2018-09-17T13:15:12.000Z | 2022-03-18T03:47:04.000Z | clang-tools-extra/clangd/DraftStore.cpp | nickbabcock/EECS381StyleCheck | 271a15140229e5dbc1798328edfe6ca8c632a7be | [
"MIT"
] | 7 | 2018-10-05T04:54:18.000Z | 2020-10-02T07:58:13.000Z | clang-tools-extra/clangd/DraftStore.cpp | nickbabcock/EECS381StyleCheck | 271a15140229e5dbc1798328edfe6ca8c632a7be | [
"MIT"
] | 35 | 2018-09-18T07:46:53.000Z | 2022-03-27T07:59:48.000Z | //===--- DraftStore.cpp - File contents container ---------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 29.75 | 80 | 0.631497 | [
"vector"
] |
8e21458032a5fad9d30e0217eef212a38c62527a | 1,288 | cpp | C++ | leet_code_training/src/pb_011.cpp | Piggyknight/leetcode_training | 2d7563fc6083ae1238f4b60e3339363db07346e2 | [
"MIT"
] | null | null | null | leet_code_training/src/pb_011.cpp | Piggyknight/leetcode_training | 2d7563fc6083ae1238f4b60e3339363db07346e2 | [
"MIT"
] | null | null | null | leet_code_training/src/pb_011.cpp | Piggyknight/leetcode_training | 2d7563fc6083ae1238f4b60e3339363db07346e2 | [
"MIT"
] | null | null | null | /*
给定 n 个非负整数 a1,a2,...,an,每个数代表坐标中的一个点 (i, ai) 。
在坐标内画 n 条垂直线,垂直线 i 的两个端点分别为 (i, ai) 和 (i, 0)。找出其中的两条线,
使得它们与 x 轴共同构成的容器可以容纳最多的水。
说明:你不能倾斜容器,且 n 的值至少为 2。
输入: [1,8,6,2,5,4,8,3,7]
输出: 49
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/container-with-most-water
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
*/
#include "pb_... | 19.223881 | 87 | 0.645963 | [
"vector"
] |
8e23ac46986cb4215fdcca245c3c56a683251a19 | 37,480 | cpp | C++ | orchagent/fdborch.cpp | anilkpandey/sonic-swss | 47bcce99654296032bbfa1bc581d0470b1f85195 | [
"Apache-2.0"
] | null | null | null | orchagent/fdborch.cpp | anilkpandey/sonic-swss | 47bcce99654296032bbfa1bc581d0470b1f85195 | [
"Apache-2.0"
] | null | null | null | orchagent/fdborch.cpp | anilkpandey/sonic-swss | 47bcce99654296032bbfa1bc581d0470b1f85195 | [
"Apache-2.0"
] | null | null | null | #include <assert.h>
#include <iostream>
#include <vector>
#include <unordered_map>
#include <utility>
#include <inttypes.h>
#include "logger.h"
#include "tokenize.h"
#include "fdborch.h"
#include "crmorch.h"
#include "notifier.h"
#include "sai_serialize.h"
extern sai_fdb_api_t *sai_fdb_api;
extern sai_object_id_t... | 32.648084 | 246 | 0.59928 | [
"object",
"vector"
] |
8e32461edf4fbbb38461da3b88c9d98eac98c3b5 | 3,019 | cpp | C++ | Flight Simulator/Flight Simulator/Skybox.cpp | mihaitudor17/Flight-Simulator | 05cd6368f2c75eefac51731a4d81bf71664f6bb5 | [
"MIT"
] | null | null | null | Flight Simulator/Flight Simulator/Skybox.cpp | mihaitudor17/Flight-Simulator | 05cd6368f2c75eefac51731a4d81bf71664f6bb5 | [
"MIT"
] | null | null | null | Flight Simulator/Flight Simulator/Skybox.cpp | mihaitudor17/Flight-Simulator | 05cd6368f2c75eefac51731a4d81bf71664f6bb5 | [
"MIT"
] | null | null | null | #include "Skybox.h"
#include "Shader.h"
#include "Camera.h"
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include <glfw3.h>
static Shader* skyboxShader = nullptr;
static float skyboxVertices[] =
{
-1.0f, -1.0f, 1.0f,
1.0f, -1.0f, 1.0f,
1.0f, -1.0f, -1.0f,
-1.0f, -1.0f, -1.0f,
-1.0f, 1.0f, 1.0f,... | 26.025862 | 113 | 0.7158 | [
"vector"
] |
8e3579782d3bd45fc3ad6255c58374c28ac538cb | 7,626 | cpp | C++ | flexcore/extended/visualization/visualization.cpp | vacing/flexcore | 08c08e98556f92d1993e2738cbcb975b3764fa2d | [
"Apache-2.0"
] | 47 | 2016-09-23T10:27:17.000Z | 2021-12-14T07:31:40.000Z | flexcore/extended/visualization/visualization.cpp | vacing/flexcore | 08c08e98556f92d1993e2738cbcb975b3764fa2d | [
"Apache-2.0"
] | 10 | 2016-12-04T16:40:29.000Z | 2020-04-28T08:46:50.000Z | flexcore/extended/visualization/visualization.cpp | vacing/flexcore | 08c08e98556f92d1993e2738cbcb975b3764fa2d | [
"Apache-2.0"
] | 20 | 2016-09-23T17:14:41.000Z | 2021-10-09T18:24:47.000Z | #include "visualization.hpp"
#include <flexcore/scheduler/parallelregion.hpp>
#include <flexcore/extended/graph/graph.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <cassert>
#include <map>
#include <ostream>
#include <string>
#include <vector>
namespace fc
{
struct visualization::impl
{
impl(const ... | 30.75 | 98 | 0.688565 | [
"shape",
"vector"
] |
8e35e34539a347d6d6a1a8a4a051dfb87b4c5277 | 11,828 | cpp | C++ | src/thunderbots/software/network_input/backend.cpp | qgolsteyn/Software | 08beaa44059519b1ed2954079e436790393da6db | [
"MIT"
] | null | null | null | src/thunderbots/software/network_input/backend.cpp | qgolsteyn/Software | 08beaa44059519b1ed2954079e436790393da6db | [
"MIT"
] | null | null | null | src/thunderbots/software/network_input/backend.cpp | qgolsteyn/Software | 08beaa44059519b1ed2954079e436790393da6db | [
"MIT"
] | null | null | null | #include "network_input/backend.h"
#include "network_input/util/ros_messages.h"
#include "proto/messages_robocup_ssl_detection.pb.h"
#include "proto/messages_robocup_ssl_geometry.pb.h"
#include "shared/constants.h"
#include "util/constants.h"
Backend::Backend() : ball_filter(), friendly_team_filter(), enemy_team_filt... | 38.780328 | 90 | 0.695722 | [
"geometry",
"vector"
] |
8e3f1ec722922da02e403006581927e6dd693f98 | 298,112 | cpp | C++ | src/kuka_kr6_r900/ikfast0x1000004a.Transform6D.0_1_2_3_4_5.cpp | Simon-Steinmann/ikfast_pybind | e7606df267e1e37beaa88b58e691d4975abca2e6 | [
"MIT"
] | 18 | 2019-08-21T03:06:03.000Z | 2022-02-16T03:42:34.000Z | src/kuka_kr6_r900/ikfast0x1000004a.Transform6D.0_1_2_3_4_5.cpp | Simon-Steinmann/ikfast_pybind | e7606df267e1e37beaa88b58e691d4975abca2e6 | [
"MIT"
] | 6 | 2020-09-17T10:41:06.000Z | 2021-04-21T15:48:58.000Z | src/kuka_kr6_r900/ikfast0x1000004a.Transform6D.0_1_2_3_4_5.cpp | Simon-Steinmann/ikfast_pybind | e7606df267e1e37beaa88b58e691d4975abca2e6 | [
"MIT"
] | 5 | 2020-11-29T17:59:05.000Z | 2022-03-25T08:17:20.000Z | /// autogenerated analytical inverse kinematics code from ikfast program part of OpenRAVE
/// \author Rosen Diankov
///
/// 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.... | 30.0395 | 874 | 0.651621 | [
"object",
"vector"
] |
8e4a1910ac4fbe81661b9c74ca3e2fa96643455c | 1,289 | cpp | C++ | Competitive Programming/CF_1370.cpp | Brabec/Hacktoberfest2020 | d3a85850a462ab24abf59d68b5142e0b61b5ce37 | [
"MIT"
] | null | null | null | Competitive Programming/CF_1370.cpp | Brabec/Hacktoberfest2020 | d3a85850a462ab24abf59d68b5142e0b61b5ce37 | [
"MIT"
] | null | null | null | Competitive Programming/CF_1370.cpp | Brabec/Hacktoberfest2020 | d3a85850a462ab24abf59d68b5142e0b61b5ce37 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define int long long
#define quickie ios_base::sync_with_stdio(false); cin.tie(NULL);
#define rep(i, a, b) for(int i=a; i<b; i++)
#define rep1(i, a, b) for(int i=a; i<=b; i++)
#define repp(i, a, b) for(int i=b-1; i>=a; i--)
#define pb push_back
#define mp make_pair
#define fi first
#define se ... | 21.847458 | 64 | 0.511249 | [
"vector"
] |
8e4e8da593463372382942416ca6e763a759c919 | 942 | cc | C++ | leetcode/binary-tree-postorder-traversal.cc | Waywrong/leetcode-solution | 55115aeab4040f5ff84bdce6ffcfe4a98f879616 | [
"MIT"
] | null | null | null | leetcode/binary-tree-postorder-traversal.cc | Waywrong/leetcode-solution | 55115aeab4040f5ff84bdce6ffcfe4a98f879616 | [
"MIT"
] | null | null | null | leetcode/binary-tree-postorder-traversal.cc | Waywrong/leetcode-solution | 55115aeab4040f5ff84bdce6ffcfe4a98f879616 | [
"MIT"
] | null | null | null | // Binary Tree Postorder Traversal
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> postorderTraversal(TreeNode* root) {
v... | 23.55 | 59 | 0.401274 | [
"vector"
] |
8e51f611b90faa883979da5fbad80aa61704a502 | 21,451 | cxx | C++ | main/sc/source/filter/rtf/eeimpars.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sc/source/filter/rtf/eeimpars.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sc/source/filter/rtf/eeimpars.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 33.887836 | 133 | 0.603422 | [
"object"
] |
8e5686991e2490e71f68972467aa7660af1d5959 | 2,862 | cpp | C++ | Source/cpp/question3.cpp | FWdarling/DS_homework | 26f43a25aba400c214855a57b4e87fa53ae51d97 | [
"MIT"
] | null | null | null | Source/cpp/question3.cpp | FWdarling/DS_homework | 26f43a25aba400c214855a57b4e87fa53ae51d97 | [
"MIT"
] | null | null | null | Source/cpp/question3.cpp | FWdarling/DS_homework | 26f43a25aba400c214855a57b4e87fa53ae51d97 | [
"MIT"
] | null | null | null | #include"../../Lab/vector.h"
using std::cin;
using std::cout;
using std::endl;
using std::pair;
typedef pair<int32_t, int32_t> Point;
void input(Vector<Vector<char> >& maze, Vector<Vector<Point> >& next,
const int32_t row_size, const int32_t col_size,Point& start, Point& end){
char static_maze[10][11] =... | 28.62 | 99 | 0.530748 | [
"vector"
] |
8e60418d1a80ea770b3b61329a170ab23c3cb5f7 | 3,175 | cpp | C++ | Sources/Materials/DefaultMaterial.cpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 977 | 2019-05-23T01:53:42.000Z | 2022-03-30T04:22:41.000Z | Sources/Materials/DefaultMaterial.cpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 44 | 2019-06-02T17:30:32.000Z | 2022-03-27T14:22:40.000Z | Sources/Materials/DefaultMaterial.cpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 121 | 2019-05-23T05:18:01.000Z | 2022-03-27T21:59:23.000Z | #include "DefaultMaterial.hpp"
#include "Animations/AnimatedMesh.hpp"
#include "Maths/Transform.hpp"
namespace acid {
DefaultMaterial::DefaultMaterial(const Colour &baseDiffuse, std::shared_ptr<Image2d> imageDiffuse, float metallic, float roughness,
std::shared_ptr<Image2d> imageMaterial, std::shared_ptr<Image2d> im... | 38.719512 | 136 | 0.766929 | [
"vector",
"transform"
] |
8e6144cf68d9b0eea03d8d5af7efd9e5fa63602a | 216 | cpp | C++ | G_LongestPath.cpp | singhal-har/atcoderdptasks | aec1aa4f53cb026eec98cde7f30209df544a3986 | [
"MIT"
] | 1 | 2021-07-05T11:09:33.000Z | 2021-07-05T11:09:33.000Z | G_LongestPath.cpp | singhal-har/atcoderdptasks | aec1aa4f53cb026eec98cde7f30209df544a3986 | [
"MIT"
] | null | null | null | G_LongestPath.cpp | singhal-har/atcoderdptasks | aec1aa4f53cb026eec98cde7f30209df544a3986 | [
"MIT"
] | 2 | 2020-10-20T05:14:16.000Z | 2020-10-20T16:46:16.000Z | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n, m;
cin>>n>>m;
vector<vector<int>> adj[m];
for(int i=0;i<m;i++)
{
int a, b;
cin>>a>>b;
adj[a].push_back(b);
}
return 0;
} | 12.705882 | 29 | 0.513889 | [
"vector"
] |
769d25e2c1e17a60779591d3bd50cd987d879e3f | 2,526 | cpp | C++ | Jetson/hbs2/src/nodes/hardware/SRF02.cpp | ROBOTICSENGINEER/social_humanoid_robots | 318c4726ab8b713f588678f6a222d0c386b87aea | [
"BSD-4-Clause"
] | null | null | null | Jetson/hbs2/src/nodes/hardware/SRF02.cpp | ROBOTICSENGINEER/social_humanoid_robots | 318c4726ab8b713f588678f6a222d0c386b87aea | [
"BSD-4-Clause"
] | null | null | null | Jetson/hbs2/src/nodes/hardware/SRF02.cpp | ROBOTICSENGINEER/social_humanoid_robots | 318c4726ab8b713f588678f6a222d0c386b87aea | [
"BSD-4-Clause"
] | null | null | null | /* SRF02 sonar client node that calls upon i2c_mgr.cpp */
// System
#include <unistd.h>
#include <stdlib.h>
#include <vector>
// ROS
#include "ros/ros.h"
#include "hbs2/i2c_bus.h"
#include "hbs2/sonar.h"
// declare global NodeHandle
ros::NodeHandlePtr n = NULL;
bool status_req(ros::ServiceClient &client, hbs2::i2c... | 27.16129 | 79 | 0.644101 | [
"vector"
] |
76a4ae6db751a57a5ac1433e50f9f0667ea6b2a1 | 12,659 | cpp | C++ | lib/analyzer/types/struct.cpp | reaver-project/vapor | 17ddb5c60b483bd17a288319bfd3e8a43656859e | [
"Zlib"
] | 4 | 2017-07-22T23:12:36.000Z | 2022-01-13T23:57:06.000Z | lib/analyzer/types/struct.cpp | reaver-project/vapor | 17ddb5c60b483bd17a288319bfd3e8a43656859e | [
"Zlib"
] | 36 | 2016-11-26T17:46:16.000Z | 2019-05-21T16:27:13.000Z | lib/analyzer/types/struct.cpp | reaver-project/vapor | 17ddb5c60b483bd17a288319bfd3e8a43656859e | [
"Zlib"
] | 3 | 2016-10-01T21:04:32.000Z | 2021-03-20T06:57:53.000Z | /**
* Vapor Compiler Licence
*
* Copyright © 2016-2019 Michał "Griwes" Dominiak
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this ... | 39.19195 | 110 | 0.573268 | [
"vector"
] |
76ab5add82bed8424a8a7e6adebd82d40eff6031 | 558 | cpp | C++ | HackerEarth/Basics/IO/Cost_Of_Balloons.cpp | GSri30/Competetive_programming | 0dc1681500a80b6f0979d0dc9f749357ee07bcb8 | [
"MIT"
] | 22 | 2020-01-03T17:32:00.000Z | 2021-11-07T09:31:44.000Z | HackerEarth/Basics/IO/Cost_Of_Balloons.cpp | GSri30/Competetive_programming | 0dc1681500a80b6f0979d0dc9f749357ee07bcb8 | [
"MIT"
] | 10 | 2020-09-30T09:41:18.000Z | 2020-10-11T11:25:09.000Z | HackerEarth/Basics/IO/Cost_Of_Balloons.cpp | GSri30/Competetive_programming | 0dc1681500a80b6f0979d0dc9f749357ee07bcb8 | [
"MIT"
] | 25 | 2019-10-14T19:25:01.000Z | 2021-05-26T08:12:20.000Z | // Sample code to perform I/O:
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
// Write your code here
int main()
{
int test;
cin >> test;
while(test > 0)
{
int green,purple;
int prob1 = 0;
int prob2 = 0;
cin >> green >> purple ;
int peeps;
cin >> peeps;
while(peeps)
... | 16.411765 | 94 | 0.59319 | [
"vector"
] |
76ac4519209f4c7d6840068db9921d9a29e2bf93 | 449 | hpp | C++ | ares/msx/psg/psg.hpp | moon-chilled/Ares | 909fb098c292f8336d0502dc677050312d8b5c81 | [
"0BSD"
] | 7 | 2020-07-25T11:44:39.000Z | 2021-01-29T13:21:31.000Z | ares/msx/psg/psg.hpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | null | null | null | ares/msx/psg/psg.hpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | 1 | 2021-03-22T16:15:30.000Z | 2021-03-22T16:15:30.000Z | struct PSG : AY38910, Thread {
Node::Component node;
Node::Stream stream;
//psg.cpp
auto load(Node::Object) -> void;
auto unload() -> void;
auto main() -> void;
auto step(uint clocks) -> void;
auto power() -> void;
auto readIO(uint1 port) -> uint8 override;
auto writeIO(uint1 port, uint8 data) ->... | 18.708333 | 56 | 0.652561 | [
"object"
] |
76b12bd30153754e4b3d80b1811719b5007fbd13 | 36,942 | cc | C++ | modules/ris/src/ris.cc | SashkaHavr/motis | 1e5633943d8441c720cfba53cc1bff5151c76e99 | [
"MIT"
] | null | null | null | modules/ris/src/ris.cc | SashkaHavr/motis | 1e5633943d8441c720cfba53cc1bff5151c76e99 | [
"MIT"
] | 58 | 2021-11-22T13:43:39.000Z | 2022-03-18T21:49:04.000Z | modules/ris/src/ris.cc | SashkaHavr/motis | 1e5633943d8441c720cfba53cc1bff5151c76e99 | [
"MIT"
] | null | null | null | #include "motis/ris/ris.h"
#include <cstdint>
#include <atomic>
#include <fstream>
#include <limits>
#include <optional>
#include "boost/algorithm/string/predicate.hpp"
#include "boost/filesystem.hpp"
#include "utl/concat.h"
#include "utl/parser/file.h"
#include "utl/read_file.h"
#include "net/http/client/url.h"
#... | 33.221223 | 80 | 0.593498 | [
"vector"
] |
76b22349a849a09c6e09651771b72d0cc45180a3 | 118 | cpp | C++ | src/calc/cache.cpp | mwthinker/Calculator | c6437b6d9a73b4f6afac80f35302d33bc8f76bfd | [
"MIT"
] | 1 | 2015-10-28T20:14:39.000Z | 2015-10-28T20:14:39.000Z | src/calc/cache.cpp | mwthinker/Calculator | c6437b6d9a73b4f6afac80f35302d33bc8f76bfd | [
"MIT"
] | null | null | null | src/calc/cache.cpp | mwthinker/Calculator | c6437b6d9a73b4f6afac80f35302d33bc8f76bfd | [
"MIT"
] | null | null | null | #include "cache.h"
namespace calc {
Cache::Cache(const std::vector<Symbol>& symbols)
: symbols_{symbols} {
}
}
| 11.8 | 49 | 0.661017 | [
"vector"
] |
76b246c72308065391e1fe1383d2f8acc14237ae | 1,513 | hpp | C++ | oanda_v20/include/oanda/v20/order/UnitsAvailableDetails.hpp | CodeRancher/offcenter_oanda | c7817299b2c7199508307b2379179923e3f60fdc | [
"Apache-2.0"
] | null | null | null | oanda_v20/include/oanda/v20/order/UnitsAvailableDetails.hpp | CodeRancher/offcenter_oanda | c7817299b2c7199508307b2379179923e3f60fdc | [
"Apache-2.0"
] | null | null | null | oanda_v20/include/oanda/v20/order/UnitsAvailableDetails.hpp | CodeRancher/offcenter_oanda | c7817299b2c7199508307b2379179923e3f60fdc | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 Scott Brauer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 26.086207 | 107 | 0.738268 | [
"object",
"vector"
] |
76be4bdfaa9a549bd9d3e4d551ef72a9e148d9bc | 5,940 | cpp | C++ | src/cito/numdiff.cpp | aykutonol/cito | d8ee64a220929e1ffe7d5c91d934f8ff580bbd86 | [
"BSD-3-Clause"
] | 25 | 2019-03-07T18:10:21.000Z | 2022-03-26T19:36:55.000Z | src/cito/numdiff.cpp | aykutonol/cito | d8ee64a220929e1ffe7d5c91d934f8ff580bbd86 | [
"BSD-3-Clause"
] | 1 | 2021-12-31T00:33:38.000Z | 2022-01-29T23:31:38.000Z | src/cito/numdiff.cpp | aykutonol/cito | d8ee64a220929e1ffe7d5c91d934f8ff580bbd86 | [
"BSD-3-Clause"
] | 5 | 2019-03-12T20:53:24.000Z | 2021-12-31T02:13:22.000Z | // ***** DESCRIPTION ***********************************************************
// NumDiff defines methods for numerical differentiation of MuJoCo
// dynamics including the forces imposed by the contact model.
#include "cito/numdiff.h"
// ***** CONSTRUCTOR ***********************************************************
... | 37.358491 | 110 | 0.561279 | [
"model"
] |
76c0acfea8a7ac2296f46f58f737e244dfff4af6 | 25,141 | cpp | C++ | cpp/gen/Speaker.cpp | ekke/c2gQtWS_x | 665772f1ba8d2d175f343f250927a05cce1deafa | [
"Unlicense"
] | 43 | 2016-10-16T08:16:42.000Z | 2021-07-12T08:31:48.000Z | cpp/gen/Speaker.cpp | denis554/c2gQtWS_x | 2a602efedd43a5942afb442d4e4862b3fe6af93e | [
"Unlicense"
] | 7 | 2016-12-24T11:08:31.000Z | 2022-03-02T08:19:04.000Z | cpp/gen/Speaker.cpp | denis554/c2gQtWS_x | 2a602efedd43a5942afb442d4e4862b3fe6af93e | [
"Unlicense"
] | 22 | 2016-10-18T05:39:36.000Z | 2022-03-13T02:50:33.000Z | #include "Speaker.hpp"
#include <QDebug>
#include <quuid.h>
// target also references to this
#include "Session.hpp"
// keys of QVariantMap used in this APP
static const QString speakerIdKey = "speakerId";
static const QString isDeprecatedKey = "isDeprecated";
static const QString sortKeyKey = "sortKey";
static const ... | 29.85867 | 141 | 0.719343 | [
"object",
"model"
] |
76c6a59b29a0779e28c7be08061f2842db9d179f | 3,778 | hpp | C++ | include/STP/Core/Image.hpp | mustafmst/lost-dungeon | 78eab777dc4ffeacca48e647cf5945628992ce7c | [
"MIT"
] | 33 | 2015-06-26T19:39:40.000Z | 2022-01-03T23:34:12.000Z | include/STP/Core/Image.hpp | arnavr23/STP | 7c027a84d61137f092f4fac7d847a0085b156dbc | [
"MIT"
] | 25 | 2015-02-17T17:02:51.000Z | 2020-08-23T22:57:55.000Z | include/STP/Core/Image.hpp | arnavr23/STP | 7c027a84d61137f092f4fac7d847a0085b156dbc | [
"MIT"
] | 26 | 2015-02-14T18:21:14.000Z | 2020-07-27T04:39:30.000Z | ////////////////////////////////////////////////////////////
//
// The MIT License (MIT)
//
// STP - SFML TMX Parser
// Copyright (c) 2013-2014 Manuel Sabogal
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to de... | 36.326923 | 115 | 0.507676 | [
"vector"
] |
76ca0199bc94ccfafbc62f5d2de538c7466eca87 | 3,005 | cpp | C++ | android-28/java/util/zip/Inflater.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/util/zip/Inflater.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/util/zip/Inflater.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../../JByteArray.hpp"
#include "../../nio/ByteBuffer.hpp"
#include "./Inflater.hpp"
namespace java::util::zip
{
// Fields
// QJniObject forward
Inflater::Inflater(QJniObject obj) : JObject(obj) {}
// Constructors
Inflater::Inflater()
: JObject(
"java.util.zip.Inflater",
"()V"
) {}
Infl... | 16.420765 | 74 | 0.614309 | [
"object"
] |
76cab5198f18265690f9e968a22a96faf602feaf | 1,595 | cpp | C++ | Geeks For Geeks Solutions/Stack/Maximum Rectangular Area in a Histogram.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 169 | 2021-05-30T10:02:19.000Z | 2022-03-27T18:09:32.000Z | Geeks For Geeks Solutions/Stack/Maximum Rectangular Area in a Histogram.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 1 | 2021-10-02T14:46:26.000Z | 2021-10-02T14:46:26.000Z | Geeks For Geeks Solutions/Stack/Maximum Rectangular Area in a Histogram.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 44 | 2021-05-30T19:56:29.000Z | 2022-03-17T14:49:00.000Z |
#define ll long long int
#define pb push_back
#define M 1000000007
#define fs for(int i=0;i<s.size();i++)
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll t;
cin>>t;
while(t--)
{
ll n;
cin>>n;
ll a[n];
ll sum=0;
ll count=0;
for(int i=0;i<n;i++)
{
cin>>a[i];
}
vector<ll> right;... | 17.336957 | 54 | 0.485893 | [
"vector"
] |
76d309b51d6cbc3b9ef3e684dec6f259b3288ae4 | 4,445 | cpp | C++ | gpu.cpp | finkandreas/affinity | 39107bf89826c675a03aa1e4d8d2af5767487fcd | [
"BSD-3-Clause"
] | 3 | 2019-04-27T18:38:17.000Z | 2020-05-19T08:35:03.000Z | gpu.cpp | finkandreas/affinity | 39107bf89826c675a03aa1e4d8d2af5767487fcd | [
"BSD-3-Clause"
] | null | null | null | gpu.cpp | finkandreas/affinity | 39107bf89826c675a03aa1e4d8d2af5767487fcd | [
"BSD-3-Clause"
] | 3 | 2017-09-06T09:11:38.000Z | 2021-06-09T15:42:45.000Z | #include <algorithm>
#include <array>
#include <cstring>
#include <iomanip>
#include <numeric>
#include <ostream>
#include <vector>
#include <cuda_runtime.h>
#include "gpu.hpp"
#include <iostream>
// Test GPU uids for equality
bool operator==(const uuid& lhs, const uuid& rhs) {
for (auto i=0u; i<lhs.bytes.size(... | 29.437086 | 77 | 0.591001 | [
"vector"
] |
76d3a95c46b20bb1ff85d40c56897b73c6fea1a5 | 14,630 | cpp | C++ | vr/vr_common/src/vr/data/attributes_test.cpp | vladium/vrt | 57394a630c306b7529dbe4574036ea71420d00cf | [
"MIT"
] | 4 | 2019-09-09T22:08:40.000Z | 2021-05-17T13:43:31.000Z | vr/vr_common/src/vr/data/attributes_test.cpp | vladium/vrt | 57394a630c306b7529dbe4574036ea71420d00cf | [
"MIT"
] | null | null | null | vr/vr_common/src/vr/data/attributes_test.cpp | vladium/vrt | 57394a630c306b7529dbe4574036ea71420d00cf | [
"MIT"
] | 1 | 2019-09-09T15:46:20.000Z | 2019-09-09T15:46:20.000Z |
#include "vr/data/attributes.h"
#include <boost/algorithm/string.hpp>
#include "vr/test/utility.h"
//----------------------------------------------------------------------------
namespace vr
{
namespace data
{
//............................................................................
TEST (attr_type, construct... | 30.4158 | 151 | 0.505537 | [
"vector"
] |
76db36880a0b2b5f6e483dffe39f428aaaebc14f | 1,852 | cpp | C++ | src/plugins/main/sampler/UniformSampler.cpp | PearCoding/PearRay | 8654a7dcd55cc67859c7c057c7af64901bf97c35 | [
"MIT"
] | 19 | 2016-11-07T00:01:19.000Z | 2021-12-29T05:35:14.000Z | src/plugins/main/sampler/UniformSampler.cpp | PearCoding/PearRay | 8654a7dcd55cc67859c7c057c7af64901bf97c35 | [
"MIT"
] | 33 | 2016-07-06T21:58:05.000Z | 2020-08-01T18:18:24.000Z | src/plugins/main/sampler/UniformSampler.cpp | PearCoding/PearRay | 8654a7dcd55cc67859c7c057c7af64901bf97c35 | [
"MIT"
] | null | null | null | #include "SceneLoadContext.h"
#include "sampler/ISampler.h"
#include "sampler/ISamplerFactory.h"
#include "sampler/ISamplerPlugin.h"
#include <vector>
namespace PR {
constexpr uint32 DEF_SAMPLE_COUNT = 128;
/// A very bad sampler for test purposes
class UniformSampler : public ISampler {
public:
explicit UniformSam... | 23.15 | 137 | 0.74946 | [
"vector"
] |
76dc03e874097541bf02ed8f6fb9873d22f247b9 | 1,687 | cpp | C++ | Olympiad Solutions/DMOJ/coci13c1p3.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | Olympiad Solutions/DMOJ/coci13c1p3.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | Olympiad Solutions/DMOJ/coci13c1p3.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | // Ivan Carvalho
// Solution to https://dmoj.ca/problem/coci13c1p3
#include <bits/stdc++.h>
using namespace std;
const int MAXN = 51;
int soma[MAXN][MAXN],n,resp,matriz[MAXN][MAXN],copia[MAXN][MAXN];
vector<int> mapa[MAXN][MAXN];
int calcula(int x1,int y1,int x2,int y2){
return soma[x2][y2] - soma[x1-1][y2] - soma[x2]... | 24.808824 | 125 | 0.506224 | [
"vector"
] |
76e83a3ef7834299f3699ba2d62ff7ba1fbd5d77 | 6,576 | cpp | C++ | EncDecrypt/EncDecryptor.cpp | aliyavuzkahveci/encdecrypt | 55336a55c9e0c28d036e8bd2da0f3ebe5cd7cf1f | [
"MIT"
] | null | null | null | EncDecrypt/EncDecryptor.cpp | aliyavuzkahveci/encdecrypt | 55336a55c9e0c28d036e8bd2da0f3ebe5cd7cf1f | [
"MIT"
] | null | null | null | EncDecrypt/EncDecryptor.cpp | aliyavuzkahveci/encdecrypt | 55336a55c9e0c28d036e8bd2da0f3ebe5cd7cf1f | [
"MIT"
] | null | null | null | #include "EncDecryptor.h"
#include <aescommon.h>
#include <windows.h>
#include <process.h>
#include <iostream>
namespace EncDec
{
constexpr auto ASCII_NULL = 0x00;
static char aeskey[17];
static HMODULE m_ModuleHandle;
static bool m_IsLoaded = false;
/*
#define tgcry_cipher_open fgcry_... | 27.061728 | 121 | 0.654197 | [
"vector"
] |
76f68827ba1fbcb3174e6990d6cecf382ba6373a | 1,266 | cpp | C++ | 02-Sorting/selection-sort.cpp | ashleymays/Algorithms | c8a55f45bc3f1d0ab850546baedbfc3d98f148d7 | [
"MIT"
] | 1 | 2022-02-18T01:51:15.000Z | 2022-02-18T01:51:15.000Z | 02-Sorting/selection-sort.cpp | ashleymays/Algorithms | c8a55f45bc3f1d0ab850546baedbfc3d98f148d7 | [
"MIT"
] | null | null | null | 02-Sorting/selection-sort.cpp | ashleymays/Algorithms | c8a55f45bc3f1d0ab850546baedbfc3d98f148d7 | [
"MIT"
] | null | null | null | /*
Selection Sort
Time Complexity: O(n^2)
Space Complexity: O(1)
*/
#include <iostream>
#include <vector>
#include <cstdlib>
using namespace std;
void selectionSort(vector<int>& arr)
{
int min, tmp;
for (int i = 0; i < arr.size() - 1; ++i)
{
min = i; // Assume that the minimum is at index i
for (... | 16.88 | 92 | 0.575039 | [
"vector"
] |
76f8c85063bae859b262de1ad5f95fb9e729398e | 10,396 | cpp | C++ | dali-toolkit/internal/text/rendering/vector-based/vector-based-renderer.cpp | dalihub/dali-toolk | 980728a7e35b8ddd28f70c090243e8076e21536e | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2016-11-18T10:26:51.000Z | 2021-01-28T13:51:59.000Z | dali-toolkit/internal/text/rendering/vector-based/vector-based-renderer.cpp | dalihub/dali-toolk | 980728a7e35b8ddd28f70c090243e8076e21536e | [
"Apache-2.0",
"BSD-3-Clause"
] | 13 | 2020-07-15T11:33:03.000Z | 2021-04-09T21:29:23.000Z | dali-toolkit/internal/text/rendering/vector-based/vector-based-renderer.cpp | dalihub/dali-toolk | 980728a7e35b8ddd28f70c090243e8076e21536e | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2019-05-17T07:15:09.000Z | 2021-05-24T07:28:08.000Z | /*
* Copyright (c) 2021 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... | 33.753247 | 137 | 0.59696 | [
"geometry",
"render",
"vector"
] |
76fbc3b153c7605eadb2276fb8f3e89a4ff69793 | 2,335 | cpp | C++ | aws-cpp-sdk-resiliencehub/source/model/RenderRecommendationType.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-resiliencehub/source/model/RenderRecommendationType.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-resiliencehub/source/model/RenderRecommendationType.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/resiliencehub/model/RenderRecommendationType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using names... | 29.935897 | 92 | 0.625696 | [
"model"
] |
76fc2e863fc52106500e7435890c6e74314b522f | 437 | cpp | C++ | lecture11/exercise11-B/template.cpp | nd-cse-30872-fa21/cse-30872-fa21-examples | c3287ac8b49a0de3c9770aadfb77be9080b19277 | [
"MIT"
] | 1 | 2021-09-07T19:02:43.000Z | 2021-09-07T19:02:43.000Z | lecture11/exercise11-B/template.cpp | nd-cse-30872-fa21/cse-30872-fa21-examples | c3287ac8b49a0de3c9770aadfb77be9080b19277 | [
"MIT"
] | null | null | null | lecture11/exercise11-B/template.cpp | nd-cse-30872-fa21/cse-30872-fa21-examples | c3287ac8b49a0de3c9770aadfb77be9080b19277 | [
"MIT"
] | 6 | 2021-08-25T15:59:08.000Z | 2021-11-12T16:32:11.000Z | // Exercise 11-B: Phone Combinations
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
// Globals
// Functions
void phone_combinations(string numbers, string letters) {
// TODO: Recursively display combinations
}
// Main execution
int main(int argc, char *argv[]) {
... | 15.068966 | 57 | 0.677346 | [
"vector"
] |
0a00eacc04053c68d81594c88311b15e79dfed3c | 8,209 | cpp | C++ | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/cpp/src/extract_bounded_neuron.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/cpp/src/extract_bounded_neuron.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/cpp/src/extract_bounded_neuron.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <fstream>
#include <string.h>
#include <stdlib.h>
#include "tz_utilities.h"
#include "zsegmentmaparray.h"
#include "zsuperpixelmaparray.h"
#include "tz_stack_lib.h"
#include "tz_image_io.h"
#include "tz_stack_attribute.h"
#include "tz_stack_document.h"
#include "tz_xml_... | 29.109929 | 78 | 0.600804 | [
"vector"
] |
0a02ef1ec681c96b69e237e18ded65cb0213a819 | 3,461 | cpp | C++ | Cpp/DesignPatterns/MVC-MVP/01_MVP.cpp | Lecrapouille/BacASable | e7de7a7b6f21ee3180dc968a47cbd1515cb82de5 | [
"Unlicense"
] | 1 | 2019-09-16T11:09:25.000Z | 2019-09-16T11:09:25.000Z | Cpp/DesignPatterns/MVC-MVP/01_MVP.cpp | Lecrapouille/BacASable | e7de7a7b6f21ee3180dc968a47cbd1515cb82de5 | [
"Unlicense"
] | 1 | 2019-09-08T19:10:54.000Z | 2019-09-08T20:26:30.000Z | Cpp/DesignPatterns/MVC-MVP/01_MVP.cpp | Lecrapouille/BacASable | e7de7a7b6f21ee3180dc968a47cbd1515cb82de5 | [
"Unlicense"
] | null | null | null | #include <iostream>
//--------------------------------------------------------------
//! \file My personal implementation of the Model-View-Presenter.
//! Contrary to Java, here, the Presenter and View do not interact
//! together throw an Contract interface class.
//---------------------------------------------------... | 24.034722 | 78 | 0.505056 | [
"model"
] |
0a0f8c6df1a0878ca161b7296e31cd144dffe8b1 | 1,869 | cpp | C++ | multiview/multiview_cpp/src/testcases/utils/intseq_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/testcases/utils/intseq_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/testcases/utils/intseq_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#define CATCH_CONFIG_PREFIX_ALL
#include <algorithm>
#include <deque>
#include <iterator>
#include "perceive/contrib/catch.hpp"
#include "perceive/scene/scene-description.hpp"
#include "perceive/utils/base64.hpp"
namespace perceive
{
vector<unsigned>
target_frame_to_video_frame_mapping(const real video_fps,
... | 25.958333 | 76 | 0.559658 | [
"vector"
] |
0a1035b5f9f512fcb49e3d27c9c8b186e4a00780 | 3,587 | hpp | C++ | environment/half_cheetah/include/HalfCheetahEnv.hpp | matthieu637/ddrl | a454d09a3ac9be5db960ff180b3d075c2f9e4a70 | [
"MIT"
] | 27 | 2017-11-27T09:32:41.000Z | 2021-03-02T13:50:23.000Z | environment/half_cheetah/include/HalfCheetahEnv.hpp | matthieu637/ddrl | a454d09a3ac9be5db960ff180b3d075c2f9e4a70 | [
"MIT"
] | 10 | 2018-10-09T14:39:14.000Z | 2020-11-10T15:01:00.000Z | environment/half_cheetah/include/HalfCheetahEnv.hpp | matthieu637/ddrl | a454d09a3ac9be5db960ff180b3d075c2f9e4a70 | [
"MIT"
] | 3 | 2019-05-16T09:14:15.000Z | 2019-08-15T14:35:40.000Z | #ifndef HALTCHEETAHENV_H
#define HALTCHEETAHENV_H
#include <string>
#include <vector>
#include "bib/IniParser.hpp"
#include "arch/AEnvironment.hpp"
#include "HalfCheetahWorld.hpp"
#include "HalfCheetahWorldView.hpp"
class HalfCheetahEnv : public arch::AEnvironment<> {
public:
HalfCheetahEnv() {
ODEFactory::ge... | 29.401639 | 108 | 0.67438 | [
"vector"
] |
0a18eb6bcb5e4ba41962a8461887a1e802401544 | 1,780 | cpp | C++ | aws-cpp-sdk-ssm/source/model/ComplianceExecutionSummary.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-ssm/source/model/ComplianceExecutionSummary.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-ssm/source/model/ComplianceExecutionSummary.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/ssm/model/ComplianceExecutionSummary.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
... | 20 | 86 | 0.747191 | [
"model"
] |
0a1eb61756ecd4366000fe2bc307614d239d85f9 | 4,649 | hpp | C++ | SLAMWrapper/include/SLAMGUI/GUI_SLAM.hpp | Bovey0809/SCFusion | 1d4a8f4eb0f330f5a69efd89fbf28686c1405471 | [
"BSD-2-Clause"
] | 30 | 2020-11-06T09:11:55.000Z | 2022-03-11T06:56:57.000Z | SLAMWrapper/include/SLAMGUI/GUI_SLAM.hpp | ShunChengWu/SCFusion | 1d4a8f4eb0f330f5a69efd89fbf28686c1405471 | [
"BSD-2-Clause"
] | 1 | 2021-12-17T07:03:01.000Z | 2021-12-17T07:03:01.000Z | SLAMWrapper/include/SLAMGUI/GUI_SLAM.hpp | Bovey0809/SCFusion | 1d4a8f4eb0f330f5a69efd89fbf28686c1405471 | [
"BSD-2-Clause"
] | 1 | 2021-12-17T07:02:47.000Z | 2021-12-17T07:02:47.000Z | #pragma once
#undef __AVX2__
#include "../../../libGUI3D/libGUI3D/GUI3D.h"
#include <ImageLoader/ImageLoader.hpp>
#include "../../../MainLib/Core/BasicSLAM/MainEngine.h"
#include "../../../MainLib/Objects/Meshing/ITMMesh.h"
#include <Utils/CUDAStreamHandler.hpp>
#include <utility>
#include "gui_kernel.hpp"
#include "..... | 36.03876 | 100 | 0.665089 | [
"vector"
] |
0a1f16d7beb622b3d62c6caa1ab772fb63191290 | 468 | cpp | C++ | VehiclePhysicsSim/src/ICarModel.cpp | lbowes/A-Level-Computer-Science-NEA | 0dd3f15a0b22a6622a962381089e8353c330680f | [
"MIT"
] | 3 | 2019-09-07T02:05:47.000Z | 2019-12-11T08:53:44.000Z | VehiclePhysicsSim/src/ICarModel.cpp | lbowes/vehicle-dynamics-simulation | 0dd3f15a0b22a6622a962381089e8353c330680f | [
"MIT"
] | null | null | null | VehiclePhysicsSim/src/ICarModel.cpp | lbowes/vehicle-dynamics-simulation | 0dd3f15a0b22a6622a962381089e8353c330680f | [
"MIT"
] | null | null | null | #include "ICarModel.h"
#include "Car.h"
namespace Visual {
ICarModel::ICarModel(Internal::Car& carData, Framework::ResourceSet& resourceBucket) :
/* Called by
* - GameCarModel::GameCarModel
* - DebugCarModel::DebugCarModel
*/
mResourceBucket(resourceBucket),
mCarData(carData)
{ }
void ICarModel::ren... | 20.347826 | 87 | 0.711538 | [
"render"
] |
0a284e99dfdd11d5fcd6654fde8fc42ec29c93f2 | 2,681 | cpp | C++ | SPOJ/SERVICE/dp.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2018-02-14T01:59:31.000Z | 2018-03-28T03:30:45.000Z | SPOJ/SERVICE/dp.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | null | null | null | SPOJ/SERVICE/dp.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2017-12-30T02:46:35.000Z | 2018-03-28T03:30:49.000Z | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <string>
#include <climits>
#include <iomanip>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <stack>
#include <functional>
#include <iterator>
#define SIZE 210
#define QSIZE 1010
using nam... | 26.81 | 143 | 0.34241 | [
"vector"
] |
0a306e0fa02a1429c80f26431bd33fe6d840d82a | 2,039 | cpp | C++ | graph-source-code/141-D/12549808.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/141-D/12549808.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/141-D/12549808.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: GNU C++11
//be name khoda
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define all(v) v.begin(),v.end()
#define F first
#define S second
#define sz(x) (int)x.size()
#define pii pair<int,int>
typedef long long ll;
const int MAXN=3*1000*100+100;
struct edge{
... | 16.85124 | 55 | 0.533104 | [
"vector"
] |
0a3db83468569cf6cdfd9eb11432e12dc8efc283 | 13,476 | cpp | C++ | tools/sctk-2.4.10/src/asclite/core/sgml_reportgenerator.cpp | lonelybeansprouts/espnet | 05ce03c00fb5cce98f2e0b0dfd177f4697f1b611 | [
"Apache-2.0"
] | 19 | 2015-03-19T10:53:38.000Z | 2020-12-17T06:12:32.000Z | tools/sctk-2.4.10/src/asclite/core/sgml_reportgenerator.cpp | hongyuntw/ESPnet | 44f78734034991fed4f42359f4d15f15504680bd | [
"Apache-2.0"
] | 1 | 2018-12-18T17:43:44.000Z | 2018-12-18T17:43:44.000Z | tools/sctk-2.4.10/src/asclite/core/sgml_reportgenerator.cpp | hongyuntw/ESPnet | 44f78734034991fed4f42359f4d15f15504680bd | [
"Apache-2.0"
] | 47 | 2015-01-27T06:22:57.000Z | 2021-11-11T20:59:04.000Z | /*
* ASCLITE
* Author: Jerome Ajot, Jon Fiscus, Nicolas Radde, Chris Laprun
*
* This software was developed at the National Institute of Standards and Technology by
* employees of the Federal Government in the course of their official duties. Pursuant
* to title 17 Section 105 of the United States Code this soft... | 26.579882 | 145 | 0.640472 | [
"vector"
] |
0a47f7275fc5accf2e69445ca5195ef257126839 | 3,229 | cpp | C++ | Prototype/src/GameObject/Component/gameplay/movement.cpp | ArneStenkrona/Prototype | 2d53a0daf35ca7de676c90c7f193b38dc16d5230 | [
"MIT"
] | null | null | null | Prototype/src/GameObject/Component/gameplay/movement.cpp | ArneStenkrona/Prototype | 2d53a0daf35ca7de676c90c7f193b38dc16d5230 | [
"MIT"
] | null | null | null | Prototype/src/GameObject/Component/gameplay/movement.cpp | ArneStenkrona/Prototype | 2d53a0daf35ca7de676c90c7f193b38dc16d5230 | [
"MIT"
] | null | null | null | #include "movement.h"
#include "GameObject/gameObject.h"
#include <iostream>
#include "SDL.h"
#include "System/IO/inputManager.h"
#include <algorithm>
#include "System\Physics\physicsEngine.h"
#include "System\graphics\graphicsEngine.h"
#include "System\sound\soundManager.h"
Movement::Movement(GameObject *_object) : C... | 27.836207 | 149 | 0.622793 | [
"object",
"vector"
] |
0a4cd34535fcff840a847576965e9bd12ee59938 | 12,785 | cpp | C++ | model/PublicVolume.cpp | lighthouse-os/system_vold | a6410826bfb872d3b2a52cff063b271fef133e54 | [
"Apache-2.0"
] | null | null | null | model/PublicVolume.cpp | lighthouse-os/system_vold | a6410826bfb872d3b2a52cff063b271fef133e54 | [
"Apache-2.0"
] | null | null | null | model/PublicVolume.cpp | lighthouse-os/system_vold | a6410826bfb872d3b2a52cff063b271fef133e54 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 32.285354 | 114 | 0.582088 | [
"model"
] |
aea6efec3ff84c61d2d65cb76eaed66b7109921e | 3,261 | hpp | C++ | include/codegen/include/GlobalNamespace/GameScenesManager_--c__DisplayClass33_0.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/GameScenesManager_--c__DisplayClass33_0.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/GameScenesManager_--c__DisplayClass33_0.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: GameScenesManager
#include "GlobalNamespace/GameScenesM... | 38.364706 | 130 | 0.729837 | [
"object"
] |
aeb461502ac3acab687329d656d9116fc8e383ca | 1,756 | cpp | C++ | structural/composite.cpp | idfumg/PatternsSynopsis | bc200596a95c464443bba8ed525d4c0ef2fa3c94 | [
"MIT"
] | null | null | null | structural/composite.cpp | idfumg/PatternsSynopsis | bc200596a95c464443bba8ed525d4c0ef2fa3c94 | [
"MIT"
] | null | null | null | structural/composite.cpp | idfumg/PatternsSynopsis | bc200596a95c464443bba8ed525d4c0ef2fa3c94 | [
"MIT"
] | null | null | null | /*
Паттерн Composite позволяет объединять группы схожих
объектов и управлять ими. Объекты могут быть как
примитивными, так и составными. (директория файловой
системы).
Код клиента работает с примитивными и составными
объектами единообразно.
*/
#include <iostream>
#include <vector>
#include <assert.h>
usi... | 18.680851 | 54 | 0.594533 | [
"vector"
] |
aec39321a794a43eba9dc15b1a283993bc56f81a | 3,341 | cpp | C++ | Greedy/646. Maximum Length of Pair Chain.cpp | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | 138 | 2020-02-08T05:25:26.000Z | 2021-11-04T11:59:28.000Z | Greedy/646. Maximum Length of Pair Chain.cpp | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | null | null | null | Greedy/646. Maximum Length of Pair Chain.cpp | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | 24 | 2021-01-02T07:18:43.000Z | 2022-03-20T08:17:54.000Z | ps://leetcode.com/problems/maximum-length-of-pair-chain/description/
/*
根据end sort:
因为chain是要 下一个点的start > 上一个点的end,所以end由小到大sort,end逐渐增大,有利于一开始减小end, 可以放进更小的start,增加count
不用管start的position,因为不管start,只要start > end就可以加起来,否则免谈
比如 当前end = 3, 后面有点[2,6], [4,6], 如果[2,6]在前面,2 < 3; start < end, 不能加; 碰见[4,6] start ... | 29.307018 | 107 | 0.451063 | [
"vector"
] |
aec3bc971293f5497ab36b71a6122ef694b2fafa | 8,332 | cpp | C++ | src/codegen_utils.cpp | Prashant446/GFCC | 6feb2e95d2a8e2f2499b2cb4a66921e4b769c822 | [
"MIT"
] | 1 | 2021-06-11T03:51:00.000Z | 2021-06-11T03:51:00.000Z | src/codegen_utils.cpp | Debarsho/GFCC | 0b51d14d8010bc06952984f3554a56d60d3886cb | [
"MIT"
] | null | null | null | src/codegen_utils.cpp | Debarsho/GFCC | 0b51d14d8010bc06952984f3554a56d60d3886cb | [
"MIT"
] | 1 | 2021-06-11T03:50:07.000Z | 2021-06-11T03:50:07.000Z | #include <vector>
#include <ircodes.h>
#include <codegen.h>
#include <symtab.h>
using namespace std;
string loadArrAddr(ofstream & f, deltaOpd & Opd, string pos) {
/*
* pos: 0 for dst (use $a0, $a3)
* 1 for src1 (use $a1, $a3)
* 2 for src2 (use $a2, $a3)
*/
if(!Opd.Sym || Opd.Type == 0 )... | 28.930556 | 95 | 0.489438 | [
"vector"
] |
aec6b557e90a645286202135b00ed94c232fc834 | 986 | cpp | C++ | smacc/src/smacc/common.cpp | NEU-ZJX/SMACC | cac82a606a5456194e2ca1e404cf9fef66e78e6e | [
"BSD-3-Clause"
] | null | null | null | smacc/src/smacc/common.cpp | NEU-ZJX/SMACC | cac82a606a5456194e2ca1e404cf9fef66e78e6e | [
"BSD-3-Clause"
] | null | null | null | smacc/src/smacc/common.cpp | NEU-ZJX/SMACC | cac82a606a5456194e2ca1e404cf9fef66e78e6e | [
"BSD-3-Clause"
] | 1 | 2020-04-30T00:10:52.000Z | 2020-04-30T00:10:52.000Z | /*****************************************************************************************************************
* ReelRobotix Inc. - Software License Agreement Copyright (c) 2018
* Authors: Pablo Inigo Blasco, Brett Aldrich
*
********************************************************************************... | 35.214286 | 116 | 0.546653 | [
"vector"
] |
aed2f466cc9742aa3607ce505e226be68e5d95c2 | 3,300 | cpp | C++ | tools/Vitis-AI-Runtime/VART/vart/dpu-controller/src/dpu_controller_qnx.cpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tools/Vitis-AI-Runtime/VART/vart/dpu-controller/src/dpu_controller_qnx.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tools/Vitis-AI-Runtime/VART/vart/dpu-controller/src/dpu_controller_qnx.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 ... | 33 | 77 | 0.642727 | [
"vector"
] |
aed3f31c929b39f13ebc5eec0db93af959f63f9f | 1,010 | hpp | C++ | Sandbox/src/ParticleSystem.hpp | wexaris/pyre | 9f4c1e64a2eeffd11f09ba9396d44c8b7e70f2b4 | [
"Apache-2.0"
] | null | null | null | Sandbox/src/ParticleSystem.hpp | wexaris/pyre | 9f4c1e64a2eeffd11f09ba9396d44c8b7e70f2b4 | [
"Apache-2.0"
] | null | null | null | Sandbox/src/ParticleSystem.hpp | wexaris/pyre | 9f4c1e64a2eeffd11f09ba9396d44c8b7e70f2b4 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <Pyre/Pyre.hpp>
#include <glm/glm.hpp>
struct ParticleProps {
glm::vec2 Position;
glm::vec2 Velocity, VelocityVariation;
glm::vec4 ColorBegin, ColorEnd;
float SizeBegin, SizeEnd, SizeVariation;
float LifeTime = 1.0f;
};
class ParticleSystem {
public:
ParticleSystem(uint32... | 24.634146 | 83 | 0.680198 | [
"vector"
] |
aed54674093b158e2b35f7f112452cd0aa205d92 | 11,033 | cc | C++ | src/visualisers/SimplePolylineVisualiser.cc | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-12-07T23:10:50.000Z | 2022-02-19T03:01:49.000Z | src/visualisers/SimplePolylineVisualiser.cc | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2019-01-04T15:43:30.000Z | 2022-03-31T09:48:15.000Z | src/visualisers/SimplePolylineVisualiser.cc | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2019-01-07T14:36:33.000Z | 2021-09-06T14:48:36.000Z | /*
* (C) Copyright 1996-2016 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an in... | 33.032934 | 111 | 0.607632 | [
"vector",
"solid"
] |
aed6371deede16cb82e4a2b42e3f61799226a4b1 | 614 | cpp | C++ | Hard/Weekly Contest 20/526. Beautiful Arrangement/backtrack.cpp | yzhang37/LeetCode_Weekly_Contest | d46f8498f749ee7d53b5703bd1e3e2bbc5d44bf6 | [
"MIT"
] | 1 | 2017-02-19T07:46:23.000Z | 2017-02-19T07:46:23.000Z | Hard/Weekly Contest 20/526. Beautiful Arrangement/backtrack.cpp | yzhang37/LeetCode_Weekly_Contest | d46f8498f749ee7d53b5703bd1e3e2bbc5d44bf6 | [
"MIT"
] | null | null | null | Hard/Weekly Contest 20/526. Beautiful Arrangement/backtrack.cpp | yzhang37/LeetCode_Weekly_Contest | d46f8498f749ee7d53b5703bd1e3e2bbc5d44bf6 | [
"MIT"
] | null | null | null | class Solution {
public:
int countArrangement(int N)
{
vector <int> vs;
for (int i = 1; i <= N; ++i)
vs.push_back(i);
return counts(N, vs);
}
private:
int counts(int n, vector<int> &vs)
{
if (n <= 0)
return 1;
int ans = 0;
for (... | 21.928571 | 49 | 0.350163 | [
"vector"
] |
aedd1310a5b4e701e857e7dc3594a469df13c782 | 574 | cpp | C++ | solutions/12XX/1278/1278B.cpp | AlexanderFadeev/codeforces | 9e70a58e69fafe96604045e1e9ce1d3dab07e1e5 | [
"MIT"
] | null | null | null | solutions/12XX/1278/1278B.cpp | AlexanderFadeev/codeforces | 9e70a58e69fafe96604045e1e9ce1d3dab07e1e5 | [
"MIT"
] | null | null | null | solutions/12XX/1278/1278B.cpp | AlexanderFadeev/codeforces | 9e70a58e69fafe96604045e1e9ce1d3dab07e1e5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
void run() {
int a, b;
cin >> a >> b;
int ans = 0;
while (a != b) {
if (a > b) {
int c = a;
a = b;
b = c;
}
int d = b - a;
if (d >= 2... | 14.35 | 27 | 0.325784 | [
"vector"
] |
aee50131a448d27495bba5379be20328403376f0 | 8,875 | cpp | C++ | LambdaEngine/Source/Debug/CPUProfiler.cpp | IbexOmega/CrazyCanvas | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 18 | 2020-09-04T08:00:54.000Z | 2021-08-29T23:04:45.000Z | LambdaEngine/Source/Debug/CPUProfiler.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 32 | 2020-09-12T19:24:50.000Z | 2020-12-11T14:29:44.000Z | LambdaEngine/Source/Debug/CPUProfiler.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 2 | 2020-12-15T15:36:13.000Z | 2021-03-27T14:27:02.000Z | #include "PreCompiled.h"
#include "Debug/CPUProfiler.h"
#include "Input/API/Input.h"
#include "Application/API/CommonApplication.h"
#include "Engine/EngineLoop.h"
#include <imgui.h>
// Code modifed from: https://github.com/TheCherno/Hazel
/*
InstrumentationTimer class
*/
namespace LambdaEngine
{
Instrumentation... | 31.58363 | 167 | 0.717859 | [
"render"
] |
aee5e2dadffa192fc88b3e63f1283cbd0a47cf9e | 46,005 | cpp | C++ | source/compute_engine/cuda/cuda_engine.cpp | Knutakir/KTT | 502a8588710e20adeff0a1c27b196aee2c206697 | [
"MIT"
] | null | null | null | source/compute_engine/cuda/cuda_engine.cpp | Knutakir/KTT | 502a8588710e20adeff0a1c27b196aee2c206697 | [
"MIT"
] | null | null | null | source/compute_engine/cuda/cuda_engine.cpp | Knutakir/KTT | 502a8588710e20adeff0a1c27b196aee2c206697 | [
"MIT"
] | null | null | null | #ifdef KTT_PLATFORM_CUDA
#include <stdexcept>
#include <compute_engine/cuda/cuda_engine.h>
#include <utility/ktt_utility.h>
#include <utility/logger.h>
#include <utility/timer.h>
#ifdef KTT_PROFILING_CUPTI_LEGACY
#include <compute_engine/cuda/cupti_legacy/cupti_profiling_subscription.h>
#elif KTT_PROFILING_CUPTI
#inc... | 35.662791 | 149 | 0.696381 | [
"vector"
] |
aee85111ed4770dc5d2d71f205d5a072798e9e5e | 6,496 | cpp | C++ | Osiris/Hooks.cpp | Ivankvetoslav/Osiris | efbc96886f9d7e12444e156093075715764e8515 | [
"MIT"
] | 2 | 2019-01-27T14:46:50.000Z | 2019-04-07T11:39:40.000Z | Osiris/Hooks.cpp | Ivankvetoslav/Osiris | efbc96886f9d7e12444e156093075715764e8515 | [
"MIT"
] | null | null | null | Osiris/Hooks.cpp | Ivankvetoslav/Osiris | efbc96886f9d7e12444e156093075715764e8515 | [
"MIT"
] | null | null | null | #include <Windows.h>
#include <Psapi.h>
#include "imgui/imgui.h"
#include "imgui/imgui_impl_dx9.h"
#include "imgui/imgui_impl_win32.h"
#include "Config.h"
#include "GUI.h"
#include "Hacks/Misc.h"
#include "Hooks.h"
#include "Interfaces.h"
#include "Memory.h"
#include "SDK/UserCmd.h"
#include "Hacks/Glow.h"
#include "... | 35.692308 | 157 | 0.69335 | [
"render"
] |
aee88bb92ff6a850bb3c06e14e665061ee757d66 | 3,243 | cpp | C++ | Source/ArchQOR/Z/HLAssembler/Emittables/Z_EJmp.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 9 | 2016-05-27T01:00:39.000Z | 2021-04-01T08:54:46.000Z | Source/ArchQOR/Z/HLAssembler/Emittables/Z_EJmp.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 1 | 2016-03-03T22:54:08.000Z | 2016-03-03T22:54:08.000Z | Source/ArchQOR/Z/HLAssembler/Emittables/Z_EJmp.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 4 | 2016-05-27T01:00:43.000Z | 2018-08-19T08:47:49.000Z | //Z_EJmp.cpp
// Copyright (c) 2008-2010, Petr Kobalicek <kobalicek.petr@gmail.com>
// Copyright (c) Querysoft Limited 2012
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to ... | 36.852273 | 195 | 0.574468 | [
"object"
] |
aef19ee65fede4fa6a870a97c2df54383cae9796 | 2,427 | hpp | C++ | include/types/type.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | 2 | 2021-01-14T11:19:02.000Z | 2021-03-07T03:08:08.000Z | include/types/type.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | null | null | null | include/types/type.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | null | null | null | #ifndef __MODULUS_TYPE_TYPE_HPP
#define __MODULUS_TYPE_TYPE_HPP
#include <list>
#include <string>
#include <vector>
#include "expressions/object.hpp"
#include "expressions/operation.hpp"
namespace type {
struct Type : public virtual expr::Object {
public:
virtual expr::Object *check_type(expr::Object *obj) = 0;
... | 25.28125 | 74 | 0.693449 | [
"object",
"vector"
] |
4e132c96e29f57fb9cc9e8cf1b269a18498534ad | 2,413 | cpp | C++ | tests/opencl_engine_tests.cpp | Knutakir/KTT | 502a8588710e20adeff0a1c27b196aee2c206697 | [
"MIT"
] | null | null | null | tests/opencl_engine_tests.cpp | Knutakir/KTT | 502a8588710e20adeff0a1c27b196aee2c206697 | [
"MIT"
] | null | null | null | tests/opencl_engine_tests.cpp | Knutakir/KTT | 502a8588710e20adeff0a1c27b196aee2c206697 | [
"MIT"
] | null | null | null | #include <catch.hpp>
#include <compute_engine/opencl/opencl_engine.h>
#include <kernel_argument/kernel_argument.h>
std::string programSource(std::string("")
+ "__kernel void testKernel(float number, __global float* a, __global float* b, __global float* result)\n"
+ "{\n"
+ " int index = get_global_id(0)... | 37.123077 | 119 | 0.664733 | [
"vector"
] |
4e17ed9528b4f1993f636871d30302c93113aa7b | 2,710 | cpp | C++ | ApplicationDemo/ballDetect&FeedbackSystem/main.cpp | studyHooligen/Driver-For-Jetson | 812971ef002fbcd8dc274e723eb5ac86410a0172 | [
"Apache-2.0"
] | null | null | null | ApplicationDemo/ballDetect&FeedbackSystem/main.cpp | studyHooligen/Driver-For-Jetson | 812971ef002fbcd8dc274e723eb5ac86410a0172 | [
"Apache-2.0"
] | null | null | null | ApplicationDemo/ballDetect&FeedbackSystem/main.cpp | studyHooligen/Driver-For-Jetson | 812971ef002fbcd8dc274e723eb5ac86410a0172 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <time.h>
#include "opencv.hpp" //OpenCV(主)头文件
#include <Dense>
#include "IMX219.hpp"
using namespace std; //引入命名空间
using namespace cv;
// #define __USER__DEBUG__
#define WIDTH 1280
#define HEIGHT 720
#define FPS 30
int main()
{
Mat capImg; //像素矩阵变量
s... | 25.327103 | 86 | 0.557934 | [
"vector"
] |
4e1aafe851b1594b9541ea065d35f66093ce4ff1 | 3,572 | cpp | C++ | redemption/tests/capture/test_redis_writer.cpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | redemption/tests/capture/test_redis_writer.cpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | redemption/tests/capture/test_redis_writer.cpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | /*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ... | 31.610619 | 98 | 0.592105 | [
"vector"
] |
4e1bbccf498cca356915b973cb4e13743e64e90c | 6,785 | cpp | C++ | src/VoronoiDiagramMosaics.cpp | lemmingapex/VoronoiDiagramMosaics | dfb9af8abe3765804c114be12f6da53221af47b6 | [
"MIT"
] | 1 | 2019-01-10T06:44:22.000Z | 2019-01-10T06:44:22.000Z | src/VoronoiDiagramMosaics.cpp | lemmingapex/VoronoiDiagramMosaics | dfb9af8abe3765804c114be12f6da53221af47b6 | [
"MIT"
] | null | null | null | src/VoronoiDiagramMosaics.cpp | lemmingapex/VoronoiDiagramMosaics | dfb9af8abe3765804c114be12f6da53221af47b6 | [
"MIT"
] | null | null | null | // Scott Wiedemann
// CSCI 441
// 11/11/2009
#include <math.h>
#include <stdlib.h>
#include <cmath>
#include <fstream>
#include <iostream>
#include <assert.h>
#include <string>
#include <vector>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
using... | 20.314371 | 74 | 0.672218 | [
"vector"
] |
4e1db2ceabd2d48d8e506f4b178b8de683c382eb | 3,651 | cpp | C++ | src/bt-luaengine/app-src/render/ScreenControlRenderer.cpp | puretekniq/batterytech | cc831b2835b7bf4826948831f0274e3d80921339 | [
"MIT",
"BSD-3-Clause-Clear",
"Zlib",
"BSD-3-Clause"
] | 10 | 2015-04-07T22:23:31.000Z | 2016-03-06T11:48:32.000Z | src/bt-luaengine/app-src/render/ScreenControlRenderer.cpp | robdoesstuff/batterytech | cc831b2835b7bf4826948831f0274e3d80921339 | [
"MIT",
"BSD-3-Clause-Clear",
"Zlib",
"BSD-3-Clause"
] | 3 | 2015-05-17T10:45:48.000Z | 2016-07-29T18:34:53.000Z | src/bt-luaengine/app-src/render/ScreenControlRenderer.cpp | puretekniq/batterytech | cc831b2835b7bf4826948831f0274e3d80921339 | [
"MIT",
"BSD-3-Clause-Clear",
"Zlib",
"BSD-3-Clause"
] | 4 | 2015-05-03T03:00:48.000Z | 2016-03-03T12:49:01.000Z | /*
* BatteryTech
* Copyright (c) 2010 Battery Powered Games LLC.
*
* This code is a component of BatteryTech and is subject to the 'BatteryTech
* End User License Agreement'. Among other important provisions, this
* license prohibits the distribution of source code to anyone other than
* authorized parti... | 33.805556 | 180 | 0.667762 | [
"render"
] |
4e1e4d9197e30e3b3bd696ffb298922d8ee5d944 | 253 | cpp | C++ | DLLBody.cpp | cdinfosys/JITZ80 | 8b3e231ad0f78e97f9c5033ec6485e9d96ad521f | [
"MIT"
] | null | null | null | DLLBody.cpp | cdinfosys/JITZ80 | 8b3e231ad0f78e97f9c5033ec6485e9d96ad521f | [
"MIT"
] | null | null | null | DLLBody.cpp | cdinfosys/JITZ80 | 8b3e231ad0f78e97f9c5033ec6485e9d96ad521f | [
"MIT"
] | null | null | null | #include <Windows.h>
#include <memory.h>
#include "DLLBody.hpp"
//JITZ80Lib::Emulator::CompiledBuffer gCompiledBuffer;
//std::vector<uint8_t> gZ80CodeBuffer((size_t)(64u * 1024u), 0u);
bool StartInstance()
{
return true;
}
void EndInstance()
{
}
| 15.8125 | 65 | 0.711462 | [
"vector"
] |
4e21a43236354c566ac18674e796a8242b8c2791 | 628 | cpp | C++ | C++/2016/S2.cpp | CallMeTwitch/CCC | 94a57d7e68243e1cc6ca258b46d4e477934c301e | [
"MIT"
] | null | null | null | C++/2016/S2.cpp | CallMeTwitch/CCC | 94a57d7e68243e1cc6ca258b46d4e477934c301e | [
"MIT"
] | null | null | null | C++/2016/S2.cpp | CallMeTwitch/CCC | 94a57d7e68243e1cc6ca258b46d4e477934c301e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <algorithm>
using namespace std;
int main() {
int q, n, t;cin >> q >> n;
vector<int> one, two;
for (int w=0;w<n;w++) {
cin >> t;
one.push_back(t);
}
for (int w=0;w<n;w++) {
cin >> t;
two.push_back(t);
}
... | 19.625 | 55 | 0.455414 | [
"vector"
] |
4e23526ed08f253eea997bd2a61add06073ba378 | 2,186 | cpp | C++ | PROX/FOUNDATION/MESH_ARRAY/MESH_ARRAY/src/mesh_array_triangle_circulator.cpp | diku-dk/PROX | c6be72cc253ff75589a1cac28e4e91e788376900 | [
"MIT"
] | 2 | 2019-11-27T09:44:45.000Z | 2020-01-13T00:24:21.000Z | PROX/FOUNDATION/MESH_ARRAY/MESH_ARRAY/src/mesh_array_triangle_circulator.cpp | erleben/matchstick | 1cfdc32b95437bbb0063ded391c34c9ee9b9583b | [
"MIT"
] | null | null | null | PROX/FOUNDATION/MESH_ARRAY/MESH_ARRAY/src/mesh_array_triangle_circulator.cpp | erleben/matchstick | 1cfdc32b95437bbb0063ded391c34c9ee9b9583b | [
"MIT"
] | null | null | null | #include <mesh_array_triangle_circulator.h>
namespace mesh_array
{
TriangleCirculator<T3Mesh>::TriangleCirculator()
{
}
TriangleCirculator<T3Mesh>::~TriangleCirculator()
{
}
TriangleCirculator<T3Mesh>::TriangleCirculator(TriangleCirculator const & o)
{
(*this) = o;
}
TriangleCircul... | 23.010526 | 112 | 0.596066 | [
"mesh"
] |
89efa778421c3943240dc5f745f35737303b4c86 | 10,180 | cc | C++ | alljoyn_core/test/aservice.cc | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 33 | 2018-01-12T00:37:43.000Z | 2022-03-24T02:31:36.000Z | alljoyn_core/test/aservice.cc | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 1 | 2020-01-05T05:51:27.000Z | 2020-01-05T05:51:27.000Z | alljoyn_core/test/aservice.cc | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 30 | 2017-12-13T23:24:00.000Z | 2022-01-25T02:11:19.000Z | /******************************************************************************
* Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source
* Project (AJOSP) Contributors and others.
*
* SPDX-License-Identifier: Apache-2.0
*
* All rights reserved. This program and the accompanying material... | 37.564576 | 131 | 0.611591 | [
"object"
] |
89f55b284a6378dc2721a04b447742ed0e8819ca | 1,106 | cpp | C++ | cpp/godot-cpp/src/gen/ConvexPolygonShape.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | 1 | 2021-03-16T09:51:00.000Z | 2021-03-16T09:51:00.000Z | cpp/godot-cpp/src/gen/ConvexPolygonShape.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/ConvexPolygonShape.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "ConvexPolygonShape.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
namespace godot {
ConvexPolygonShape::___method_bindings ConvexPolygonShape::___mb = {};
void ConvexPolygonShape::___init_method_bindings() ... | 30.722222 | 217 | 0.802893 | [
"object"
] |
89f7ce8ff2dbcc42cfe3363563e29418ea0c629e | 505 | cpp | C++ | test/test_cs.cpp | nspo/compression-cpp | f5cf95830bfbba0a605001e0fea549fefdd94456 | [
"BSD-3-Clause"
] | 1 | 2021-11-08T03:17:36.000Z | 2021-11-08T03:17:36.000Z | test/test_cs.cpp | nspo/compression-cpp | f5cf95830bfbba0a605001e0fea549fefdd94456 | [
"BSD-3-Clause"
] | null | null | null | test/test_cs.cpp | nspo/compression-cpp | f5cf95830bfbba0a605001e0fea549fefdd94456 | [
"BSD-3-Clause"
] | null | null | null | #include <gtest/gtest.h>
#include <sstream>
#include "CircularSuffix.h"
TEST(cs, basic) { // NOLINT
EXPECT_EQ(circular_suffix::sort<char>("ABRACADABRA!"), (std::vector<size_t>{11, 10, 7, 0, 3, 5, 8, 1, 4, 6, 9, 2}));
EXPECT_EQ(circular_suffix::sort<char>("Z"), (std::vector<size_t>{0}));
EXPECT_EQ(circula... | 38.846154 | 120 | 0.631683 | [
"vector"
] |
89f9c594e2719393ae89560e14964c9f1c87b603 | 26,683 | cpp | C++ | src/Storages/RedisStreams/StorageRedisStreams.cpp | tchepavel/ClickHouse | 5b9470992e9a45c4c7f669516db02c7e2aab982a | [
"Apache-2.0"
] | null | null | null | src/Storages/RedisStreams/StorageRedisStreams.cpp | tchepavel/ClickHouse | 5b9470992e9a45c4c7f669516db02c7e2aab982a | [
"Apache-2.0"
] | null | null | null | src/Storages/RedisStreams/StorageRedisStreams.cpp | tchepavel/ClickHouse | 5b9470992e9a45c4c7f669516db02c7e2aab982a | [
"Apache-2.0"
] | null | null | null | #include <Storages/RedisStreams/StorageRedisStreams.h>
#include <DataTypes/DataTypeString.h>
#include <DataTypes/DataTypesNumber.h>
#include <Interpreters/Context.h>
#include <Interpreters/InterpreterInsertQuery.h>
#include <Interpreters/evaluateConstantExpression.h>
#include <Parsers/ASTCreateQuery.h>
#include <Parse... | 38.78343 | 158 | 0.618746 | [
"vector"
] |
89fcee8f806ac9fc29430806f521233890a6d8a2 | 1,784 | cpp | C++ | SimpleTests/SolverTests/ConjugateGradientUnpreconditioned.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | 1 | 2021-11-21T17:29:38.000Z | 2021-11-21T17:29:38.000Z | SimpleTests/SolverTests/ConjugateGradientUnpreconditioned.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | null | null | null | SimpleTests/SolverTests/ConjugateGradientUnpreconditioned.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | null | null | null | #include <fstream>
#include <iostream>
#include "LinAlg/Solvers/CG.h"
#include "LinAlg/Sparse/CRSMatrix.h"
#include "sparse.h"
#include "vector_io.h"
//#include "timeMeasurement.h"
#ifdef _OPENMP
#include <omp.h>
#endif
int main(int argc, char *argv[])
{
(void) argc;
(void) argv;
// *** reading matrix in crs form... | 24.438356 | 164 | 0.602018 | [
"vector"
] |
89ffaf9264d7f3ad868d2b08e9270e425c70dfb5 | 487 | cpp | C++ | atcoder-dp/frog2.cpp | rranjan14/cp-solutions | 9614508efbed1e4ee8b970b5eed535d782a5783f | [
"MIT"
] | null | null | null | atcoder-dp/frog2.cpp | rranjan14/cp-solutions | 9614508efbed1e4ee8b970b5eed535d782a5783f | [
"MIT"
] | null | null | null | atcoder-dp/frog2.cpp | rranjan14/cp-solutions | 9614508efbed1e4ee8b970b5eed535d782a5783f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int N, K;
cin >> N >> K;
vector<int> heights(N);
vector<int> dp(N, INT_MAX);
for (int &height : heights)
{
cin >> height;
}
dp[0] = 0;
for (int i = 0; i < N; i++)
{
for (int j = i + 1; j <= i + K; j++)
... | 19.48 | 73 | 0.396304 | [
"vector"
] |
d60020e72e4c7c8960666ccd7d71a8605509d24b | 1,046 | cpp | C++ | problemsets/UVA/UVA514.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/UVA514.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/UVA514.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include <string>
#include <algorithm>
#include <sstream>
#include <map>
#include <set>
#include <queue>
using namespace std;
vector<int> A... | 20.92 | 69 | 0.426386 | [
"vector"
] |
d601923b6ec179522d3514dc1abc0da5b55a76dc | 5,912 | cc | C++ | engines/ep/tests/module_tests/collections/manifest_test.cc | trondn/kv_engine | c0d4366e2feb8e7e64be7e3c6c9fc3cfd68a97c6 | [
"BSD-3-Clause"
] | 24 | 2015-03-17T02:41:27.000Z | 2022-03-19T20:28:08.000Z | engines/ep/tests/module_tests/collections/manifest_test.cc | trondn/kv_engine | c0d4366e2feb8e7e64be7e3c6c9fc3cfd68a97c6 | [
"BSD-3-Clause"
] | 2 | 2016-06-14T23:17:06.000Z | 2016-07-25T11:55:13.000Z | engines/ep/tests/module_tests/collections/manifest_test.cc | trondn/kv_engine | c0d4366e2feb8e7e64be7e3c6c9fc3cfd68a97c6 | [
"BSD-3-Clause"
] | 20 | 2015-01-27T09:36:16.000Z | 2017-03-22T20:06:56.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, 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
*
* h... | 36.04878 | 80 | 0.463972 | [
"vector"
] |
d602bc82651f3caf59f3894f7ea8c34adbcd94b0 | 1,241 | cpp | C++ | cpp/leetcode95.cpp | A666AHL/WeChat_SmallApp | 90138471d2e2020a80d4a51fc7e26f5359d445a9 | [
"MIT"
] | 1 | 2019-04-07T16:05:14.000Z | 2019-04-07T16:05:14.000Z | cpp/leetcode95.cpp | A666AHL/writeLeetcode | 90138471d2e2020a80d4a51fc7e26f5359d445a9 | [
"MIT"
] | null | null | null | cpp/leetcode95.cpp | A666AHL/writeLeetcode | 90138471d2e2020a80d4a51fc7e26f5359d445a9 | [
"MIT"
] | null | null | null | // leetcode95.Unique Binary Search Trees II
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<TreeNode*> generate(int start, int end)
... | 27.577778 | 66 | 0.460113 | [
"vector"
] |
d602c65b208fa1d36398b62bd7d6738c0d96ed32 | 3,390 | cpp | C++ | WitchEngine3/src/WE3/geometry/WEGeometryTriBuffer.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 3 | 2018-12-02T14:09:22.000Z | 2021-11-22T07:14:05.000Z | WitchEngine3/src/WE3/geometry/WEGeometryTriBuffer.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 1 | 2018-12-03T22:54:38.000Z | 2018-12-03T22:54:38.000Z | WitchEngine3/src/WE3/geometry/WEGeometryTriBuffer.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 2 | 2020-09-22T21:04:14.000Z | 2021-05-24T09:43:28.000Z | #include "WEGeometryTriBuffer.h"
#include "WEGeometryTriBufferContainer.h"
namespace WE {
GeometryTriBuffer::Simplification::Simplification() {
stepLimit = -1;
mode = M_Planar;
loopMode = LM_Iterate;
considerAesthetics = true;
useIslands = true;
planarAngle = degToRad(2.5f);
}
void ... | 19.371429 | 115 | 0.626254 | [
"render",
"transform"
] |
d619a4702d50188b9d731c397eb0f4f74641672e | 683 | cpp | C++ | AtCoder/ABC106/b.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | AtCoder/ABC106/b.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | AtCoder/ABC106/b.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
vector<ll> enum_divisors(ll n) {
vector<ll> res;
for (ll i = 1; i * i <= n; ++i) {
if (n % i == 0) {
res.push_back(i);
// ... | 19.514286 | 47 | 0.508053 | [
"vector"
] |
d62123a6a09c8263d68c4eec912cf6e76aa50de7 | 677 | cpp | C++ | 49 group-anagrams/c/main.v2.cpp | o-jules/LeetCode-Problems | e8b31d0dd93f6e49e385ef35689e51f6935cd7cb | [
"MIT"
] | null | null | null | 49 group-anagrams/c/main.v2.cpp | o-jules/LeetCode-Problems | e8b31d0dd93f6e49e385ef35689e51f6935cd7cb | [
"MIT"
] | null | null | null | 49 group-anagrams/c/main.v2.cpp | o-jules/LeetCode-Problems | e8b31d0dd93f6e49e385ef35689e51f6935cd7cb | [
"MIT"
] | null | null | null |
vector<vector<string>> groupAnagrams(vector<string>& strs) {
vector<vector<string>> result;
if (!strs.empty())
{
unordered_map<string, size_t> hashMap;
for (string str : strs)
{
string s(str);
sort(s.begin(), s.end());
unordered_map<string, size_t>::iterator got = ... | 25.074074 | 72 | 0.496307 | [
"vector"
] |
d6244928752dddd2297195d2ccf01bbf45a170c9 | 7,495 | hpp | C++ | libraries/clchain/include/clchain/subchain.hpp | abitmore/Eden | 90bf6c5c7297b1dc79745b0ea001e1c48e7ba170 | [
"MIT"
] | 35 | 2021-04-02T02:17:39.000Z | 2021-11-23T17:46:50.000Z | libraries/clchain/include/clchain/subchain.hpp | abitmore/Eden | 90bf6c5c7297b1dc79745b0ea001e1c48e7ba170 | [
"MIT"
] | 323 | 2021-04-07T15:07:39.000Z | 2022-01-25T01:11:38.000Z | libraries/clchain/include/clchain/subchain.hpp | abitmore/Eden | 90bf6c5c7297b1dc79745b0ea001e1c48e7ba170 | [
"MIT"
] | 8 | 2021-05-10T01:19:47.000Z | 2022-01-24T23:05:00.000Z | #pragma once
#include <clchain/graphql_connection.hpp>
#include <eosio/bytes.hpp>
#include <eosio/fixed_bytes.hpp>
#include <eosio/name.hpp>
#include <eosio/time.hpp>
namespace subchain
{
struct creator_action
{
uint64_t seq;
eosio::name receiver;
};
EOSIO_REFLECT(creator_action, seq, receiver... | 32.445887 | 100 | 0.566778 | [
"vector"
] |
d627f6eaf535bec1c447f6cd524ae48df13970cb | 2,906 | cpp | C++ | View/WorldDragWidget.cpp | bbgw/Klampt | 3c022da372c81646ec9f7492fad499740431d38b | [
"BSD-3-Clause"
] | null | null | null | View/WorldDragWidget.cpp | bbgw/Klampt | 3c022da372c81646ec9f7492fad499740431d38b | [
"BSD-3-Clause"
] | null | null | null | View/WorldDragWidget.cpp | bbgw/Klampt | 3c022da372c81646ec9f7492fad499740431d38b | [
"BSD-3-Clause"
] | null | null | null | #include "WorldDragWidget.h"
#include <GLdraw/drawextra.h>
using namespace GLDraw;
WorldDragWidget::WorldDragWidget(RobotWorld* _world)
:world(_world),active(true),robotsActive(true),objectsActive(true),terrainsActive(false),
highlightColor(1,1,1,0.3),lineColor(1,0.5,0),lineWidth(5.0),dragging(false),hoverID(-1),... | 26.18018 | 107 | 0.697178 | [
"geometry",
"object"
] |
d63408636524f17b9e16d386f034a508ca72d545 | 3,508 | hpp | C++ | agency/cuda/execution/execution_policy/parallel_execution_policy.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 129 | 2016-08-18T23:24:15.000Z | 2022-03-25T12:06:05.000Z | agency/cuda/execution/execution_policy/parallel_execution_policy.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 86 | 2016-08-19T03:43:33.000Z | 2020-07-20T14:27:41.000Z | agency/cuda/execution/execution_policy/parallel_execution_policy.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 23 | 2016-08-18T23:52:13.000Z | 2022-02-28T16:28:20.000Z | #pragma once
#include <agency/detail/config.hpp>
#include <agency/execution/execution_policy/basic_execution_policy.hpp>
#include <agency/cuda/execution/executor/parallel_executor.hpp>
#include <agency/cuda/execution/executor/grid_executor.hpp>
#include <agency/cuda/execution/executor/multidevice_executor.hpp>
#includ... | 29.728814 | 140 | 0.777366 | [
"shape",
"vector"
] |
d63414f5f3077388cc3b6f51d79bf391ceef03e3 | 4,248 | hpp | C++ | tm_kit/basic/transaction/v2/TransactionDataStore.hpp | cd606/tm_basic | ea2d13b561dd640161823a5e377f35fcb7fe5d48 | [
"Apache-2.0"
] | 1 | 2020-05-22T08:47:02.000Z | 2020-05-22T08:47:02.000Z | tm_kit/basic/transaction/v2/TransactionDataStore.hpp | cd606/tm_basic | ea2d13b561dd640161823a5e377f35fcb7fe5d48 | [
"Apache-2.0"
] | null | null | null | tm_kit/basic/transaction/v2/TransactionDataStore.hpp | cd606/tm_basic | ea2d13b561dd640161823a5e377f35fcb7fe5d48 | [
"Apache-2.0"
] | null | null | null | #ifndef TM_KIT_BASIC_TRANSACTION_V2_TRANSACTION_DATA_STORE_HPP_
#define TM_KIT_BASIC_TRANSACTION_V2_TRANSACTION_DATA_STORE_HPP_
#include <unordered_map>
#include <type_traits>
#include <mutex>
#include <thread>
#include <chrono>
namespace dev { namespace cd606 { namespace tm { namespace basic {
namespace transa... | 42.059406 | 184 | 0.576271 | [
"vector"
] |
d634b6ec79b5c47364ae6c3ac705e23d03354ae3 | 9,007 | cpp | C++ | examples/factory/src/main.cpp | Sciroccogti/my_project_with_aff3ct | 9f1986f36324bbf1bef5fd08166958b11d32e96a | [
"MIT"
] | 11 | 2017-06-06T13:59:34.000Z | 2020-10-20T21:19:41.000Z | examples/factory/src/main.cpp | bonben/my_project_with_aff3ct | b866bbd4352a3baa89fdb673137383408038a206 | [
"MIT"
] | 17 | 2019-10-24T12:55:33.000Z | 2022-03-24T08:41:09.000Z | examples/factory/src/main.cpp | bonben/my_project_with_aff3ct | b866bbd4352a3baa89fdb673137383408038a206 | [
"MIT"
] | 18 | 2019-01-28T20:40:41.000Z | 2022-02-10T13:50:42.000Z | #include <functional>
#include <exception>
#include <iostream>
#include <cstdlib>
#include <memory>
#include <vector>
#include <string>
#include <aff3ct.hpp>
using namespace aff3ct;
struct params
{
float ebn0_min = 0.00f; // minimum SNR value
float ebn0_max = 10.01f; // maximum SNR value
float ebn0_step = 1.00... | 43.302885 | 117 | 0.636172 | [
"vector"
] |
d640a6a43e7825d3cbf66974167a5447d3bb673e | 3,386 | hpp | C++ | RobWork/src/rwlibs/simulation/SimulatedSensor.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | 1 | 2021-12-29T14:16:27.000Z | 2021-12-29T14:16:27.000Z | RobWork/src/rwlibs/simulation/SimulatedSensor.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | RobWork/src/rwlibs/simulation/SimulatedSensor.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | /********************************************************************************
* Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... | 33.86 | 98 | 0.609864 | [
"model"
] |
d647a91850e0a7faad5a097a2cff56fbd5de50a9 | 2,499 | cpp | C++ | source/frontend/models/proxy_models/resource_details_proxy_model.cpp | GPUOpen-Tools/radeon_memory_visualizer | 309ac5b04b870aef408603eaac4bd727d5d3e698 | [
"MIT"
] | 86 | 2020-05-14T17:20:22.000Z | 2022-01-21T22:53:24.000Z | source/frontend/models/proxy_models/resource_details_proxy_model.cpp | GPUOpen-Tools/radeon_memory_visualizer | 309ac5b04b870aef408603eaac4bd727d5d3e698 | [
"MIT"
] | 6 | 2020-05-16T18:50:00.000Z | 2022-01-21T15:30:16.000Z | source/frontend/models/proxy_models/resource_details_proxy_model.cpp | GPUOpen-Tools/radeon_memory_visualizer | 309ac5b04b870aef408603eaac4bd727d5d3e698 | [
"MIT"
] | 11 | 2020-10-15T15:55:56.000Z | 2022-03-16T20:38:29.000Z | //=============================================================================
// Copyright (c) 2019-2021 Advanced Micro Devices, Inc. All rights reserved.
/// @author AMD Developer Tools Team
/// @file
/// @brief Implementation of a proxy filter that processes the resource details
/// table in the resource details p... | 36.217391 | 136 | 0.64906 | [
"model"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.