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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70db1e5fb99009a442ee7a87d4919eb90b8efd5e | 8,309 | cpp | C++ | cpp/yarn/detail/AttachmentStrategy.cpp | dstmath/profilo | 85c4e4cbf954e8ea4d6227d863f2980ab2c53b55 | [
"Apache-2.0"
] | 1 | 2019-01-14T13:37:12.000Z | 2019-01-14T13:37:12.000Z | cpp/yarn/detail/AttachmentStrategy.cpp | KazuCocoa/profilo | 29831cd73e7933a72914d96a20814a285608c539 | [
"Apache-2.0"
] | null | null | null | cpp/yarn/detail/AttachmentStrategy.cpp | KazuCocoa/profilo | 29831cd73e7933a72914d96a20814a285608c539 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2004-present, Facebook, 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 ... | 31.473485 | 78 | 0.654952 | [
"vector"
] |
70de4d828a3a8f702f0f3ed690318f3c36a85409 | 6,415 | hpp | C++ | include/mphf/recsplit/src/RiceBitVector.hpp | DominikHorn/exotic-hashing | 77ae8a696a6b18f1b6e600143666a1e90eed6b85 | [
"MIT"
] | null | null | null | include/mphf/recsplit/src/RiceBitVector.hpp | DominikHorn/exotic-hashing | 77ae8a696a6b18f1b6e600143666a1e90eed6b85 | [
"MIT"
] | null | null | null | include/mphf/recsplit/src/RiceBitVector.hpp | DominikHorn/exotic-hashing | 77ae8a696a6b18f1b6e600143666a1e90eed6b85 | [
"MIT"
] | null | null | null | /*
* Sux: Succinct data structures
*
* Copyright (C) 2019-2020 Emmanuel Esposito and Sebastiano Vigna
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the L... | 32.563452 | 91 | 0.577864 | [
"vector"
] |
70e043d5e97c29ffbd9f41e362bd2ff37c6d5088 | 12,996 | hh | C++ | docs/tufte/tufte.hh | notsue/HaHa | c7969bb3b54121f117f96ffacb96661f7d11eecc | [
"MIT"
] | null | null | null | docs/tufte/tufte.hh | notsue/HaHa | c7969bb3b54121f117f96ffacb96661f7d11eecc | [
"MIT"
] | null | null | null | docs/tufte/tufte.hh | notsue/HaHa | c7969bb3b54121f117f96ffacb96661f7d11eecc | [
"MIT"
] | null | null | null | <NT:=span,class=newthought >
<INPUT:=input,type=checkbox,class=margin-toggle >
<SLABEL:=label,class=margin-toggle_sidenote-number >
<SN:=span,class=sidenote >
<MLABEL:=label,c=margin-toggle >
<MN:=span,marginnote >
<PY:=code,language-python >
<article
< <a,index.html Home > >
<h1,dc.title,i=Tufte-CSS HaH... | 50.177606 | 182 | 0.663435 | [
"render",
"shape",
"transform"
] |
70e3da677d81ede97e01b9dd19328d1b8352e7ac | 6,324 | hpp | C++ | hpx/util/ochunk_manager.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | hpx/util/ochunk_manager.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | hpx/util/ochunk_manager.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2013 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(HPX_UTIL_OCHUNK_MANAGER_JUL_31_2013_1158AM)
#define HPX_UTIL_OCHUNK_MANAGER_JUL_31_2013_1158AM
#include ... | 32.9375 | 92 | 0.517236 | [
"vector"
] |
70e631cfeaae7d02e0ed92672008466a03520fee | 14,980 | cpp | C++ | src/eepp/graphics/renderer/renderergl3cp.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | src/eepp/graphics/renderer/renderergl3cp.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | null | null | null | src/eepp/graphics/renderer/renderergl3cp.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #include <eepp/graphics/renderer/openglext.hpp>
#include <eepp/graphics/renderer/renderergl3cp.hpp>
#ifdef EE_GL3_ENABLED
#include <eepp/graphics/renderer/rendererstackhelper.hpp>
#include <eepp/system/filesystem.hpp>
#include <eepp/system/log.hpp>
namespace EE { namespace Graphics {
const char* EEGL3CP_STATES_NAME... | 25.050167 | 98 | 0.697063 | [
"model"
] |
70e84a400327772a513380fa2a309c3e94ec88b2 | 12,770 | cpp | C++ | src/core_apps.cpp | matadini/TechDemo-SFML-Box2D | fff2d0850c7cfb68926114857abfaf2a8b00e257 | [
"Zlib"
] | null | null | null | src/core_apps.cpp | matadini/TechDemo-SFML-Box2D | fff2d0850c7cfb68926114857abfaf2a8b00e257 | [
"Zlib"
] | null | null | null | src/core_apps.cpp | matadini/TechDemo-SFML-Box2D | fff2d0850c7cfb68926114857abfaf2a8b00e257 | [
"Zlib"
] | null | null | null | /* TechDemo SFML/Box2D
Copyright (C) 2016 Matadini (matadini@hotmail.com)
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 software
for any ... | 29.906323 | 80 | 0.566014 | [
"render",
"vector"
] |
70e8c913caa19955681f02a30eeafe7b123440c1 | 11,837 | cpp | C++ | src/raster04_rasterization.cpp | ysh86/raster | 565568fd95e68a5e0886fc8d6754c8720aebe3bb | [
"MIT"
] | null | null | null | src/raster04_rasterization.cpp | ysh86/raster | 565568fd95e68a5e0886fc8d6754c8720aebe3bb | [
"MIT"
] | null | null | null | src/raster04_rasterization.cpp | ysh86/raster | 565568fd95e68a5e0886fc8d6754c8720aebe3bb | [
"MIT"
] | null | null | null | #include "vis.hpp"
#define UNREACHABLE() assert(0)
constexpr float Inf = 1e+8f;
constexpr float Eps = 1e-4f;
struct Framebuffer {
int w = 0;
int h = 0;
unsigned char *buf; // Color buffer
float *zbuf; // Depth buffer
void clear(int w_, int h_) {
if (w != w_ || h != h_) {
... | 32.972145 | 116 | 0.464814 | [
"vector",
"transform"
] |
70f39c0ef815c1639c48ae6f946dff0dbfc78cc4 | 1,108 | cpp | C++ | src/Buffer.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 71 | 2016-11-17T19:22:21.000Z | 2022-01-10T10:03:58.000Z | src/Buffer.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 30 | 2017-02-02T21:03:33.000Z | 2018-06-27T20:49:31.000Z | src/Buffer.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 22 | 2017-04-16T11:44:34.000Z | 2022-03-26T13:27:10.000Z | #include "Buffer.h"
#include "Var.h"
#include "IREquality.h"
#include "IROperator.h"
namespace Halide {
namespace Internal {
template<>
EXPORT RefCount &ref_count<BufferContents>(const BufferContents *c) {
return c->ref_count;
}
template<>
EXPORT void destroy<BufferContents>(const BufferContents *c) {
delete... | 27.02439 | 88 | 0.600181 | [
"vector"
] |
70ff680132b42fa677f4072980d91af6beb123c1 | 7,185 | cpp | C++ | PolhemusG4.ManagedLib/NativeTrackingDevice.cpp | chr33z/PolhemusG4.ManagedLib | 5257b61f553b5f3e86cd468aff8ae5436fbc6ddf | [
"MIT"
] | 2 | 2019-03-24T06:58:28.000Z | 2019-05-27T09:53:47.000Z | PolhemusG4.ManagedLib/NativeTrackingDevice.cpp | chr33z/PolhemusG4.ManagedLib | 5257b61f553b5f3e86cd468aff8ae5436fbc6ddf | [
"MIT"
] | null | null | null | PolhemusG4.ManagedLib/NativeTrackingDevice.cpp | chr33z/PolhemusG4.ManagedLib | 5257b61f553b5f3e86cd468aff8ae5436fbc6ddf | [
"MIT"
] | null | null | null | #include "NativeTrackingDevice.h"
NativeTrackingDevice::NativeTrackingDevice()
{
}
NativeTrackingDevice::~NativeTrackingDevice()
{
}
bool NativeTrackingDevice::Initialize(string calibrationFilePath)
{
tracker.Trace(TRUE, 9);
tracker.SetPnoBuffer(g_pMotionBuf, BUFFER_SIZE);
memset(&m_nHubIDs[0], 0, sizeof(INT)*G4... | 20.29661 | 143 | 0.718441 | [
"vector"
] |
70ffb1542ed123260153fba9d23d966e6b122443 | 6,606 | cpp | C++ | PA1/src/RayTracer.cpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | PA1/src/RayTracer.cpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | PA1/src/RayTracer.cpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | #include "RayTracer.h"
RayTracer::RayTracer(Scene const & scene, int sWidth, int sHeight) :
ScreenWidth(sWidth),
ScreenHeight(sHeight),
mScene(scene),
fov(30.0f),
AspectRatio((float)(ScreenWidth/ScreenHeight)),
MainCamera(),
SampleRate(1),
MaxTraceDepth(3)
{
angle = std::tan(M_PI * 0.5f * fov / 180.... | 27.991525 | 111 | 0.619285 | [
"render",
"object",
"vector"
] |
cb01e36f4bff571ac711029254c80e598c684951 | 918 | cpp | C++ | WinProj/CItchy.cpp | godekd3133/MyAquarium | 1162522b11f6ff222b138dff9e9dd0fe9e36353f | [
"Apache-2.0"
] | null | null | null | WinProj/CItchy.cpp | godekd3133/MyAquarium | 1162522b11f6ff222b138dff9e9dd0fe9e36353f | [
"Apache-2.0"
] | null | null | null | WinProj/CItchy.cpp | godekd3133/MyAquarium | 1162522b11f6ff222b138dff9e9dd0fe9e36353f | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "CItchy.h"
CItchy::CItchy()
{
}
CItchy::~CItchy()
{
}
void CItchy::Init()
{
m_pAnimation = new CAnimation(IMAGE["ITCHY"], 0.1f, 10, 4, 1);
m_pReverse = new CAnimation(IMAGE["ITCHY_REVERSE"], 0.1f, 10, 4, 1);
m_vPos = { 100,200 };
m_fMovespeed = 200.f;
}
void CItchy::Update()
{
m... | 17 | 71 | 0.652505 | [
"render"
] |
cb0ac94fe9636f3881e053f9f79eb74e91cc70c7 | 21,581 | cxx | C++ | Plugins/StreamingView/VTK/vtkImageNetCDFPOPReader.cxx | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | Plugins/StreamingView/VTK/vtkImageNetCDFPOPReader.cxx | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | Plugins/StreamingView/VTK/vtkImageNetCDFPOPReader.cxx | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: vtkImageNetCDFPOPReader.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is dist... | 34.147152 | 82 | 0.597609 | [
"object",
"vector"
] |
cb0bb5840a8496dcae9c9a37a685cbc34bbda052 | 1,724 | cpp | C++ | lio/io/httpclient.cpp | liuyuan185442111/misc | 26920202198658c21784d25ab33e1b245d28ca12 | [
"Apache-2.0"
] | 1 | 2021-01-23T09:24:35.000Z | 2021-01-23T09:24:35.000Z | lio/io/httpclient.cpp | liuyuan185442111/misc | 26920202198658c21784d25ab33e1b245d28ca12 | [
"Apache-2.0"
] | null | null | null | lio/io/httpclient.cpp | liuyuan185442111/misc | 26920202198658c21784d25ab33e1b245d28ca12 | [
"Apache-2.0"
] | null | null | null | #include "httpclient.h"
#include <stdarg.h>
#include <stdio.h>
#include <sys/ioctl.h>
#include <net/if.h>
namespace GNET {
void LOG_TRACE(const char *format, ...)
{
va_list args;
va_start(args, format);
vfprintf(stdout,format,args);
va_end(args);
puts("");
}
bool get_local_ip(std::vector<std::string> &ips)
{
... | 27.806452 | 104 | 0.655452 | [
"vector"
] |
cb17b9b78b2f08cda71539ab5b0d6031eb171120 | 2,341 | hpp | C++ | src/vbk/pop_service.hpp | VeriBlock/b | 1c2dccb1f87251b72049b75cc4db630c4da1b5c9 | [
"MIT"
] | null | null | null | src/vbk/pop_service.hpp | VeriBlock/b | 1c2dccb1f87251b72049b75cc4db630c4da1b5c9 | [
"MIT"
] | 14 | 2020-11-09T11:25:12.000Z | 2022-03-30T04:02:05.000Z | src/vbk/pop_service.hpp | VeriBlock/b | 1c2dccb1f87251b72049b75cc4db630c4da1b5c9 | [
"MIT"
] | null | null | null | // Copyright (c) 2019-2021 Xenios SEZC
// https://www.veriblock.org
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SRC_VBK_POP_SERVICE_HPP
#define BITCOIN_SRC_VBK_POP_SERVICE_HPP
#include "pop_common.hpp"
#incl... | 33.927536 | 165 | 0.818454 | [
"vector"
] |
0e12fa02c6db39cb80dc1a54a363974fc9b49429 | 3,788 | cpp | C++ | csrc/apis/c/restorer.cpp | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 1 | 2022-02-17T06:12:31.000Z | 2022-02-17T06:12:31.000Z | csrc/apis/c/restorer.cpp | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | null | null | null | csrc/apis/c/restorer.cpp | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | null | null | null | // Copyright (c) OpenMMLab. All rights reserved.
#include "restorer.h"
#include "codebase/mmedit/mmedit.h"
#include "core/device.h"
#include "core/graph.h"
#include "core/mat.h"
#include "core/utils/formatter.h"
#include "handle.h"
using namespace mmdeploy;
namespace {
const Value &config_template() {
// clang-f... | 30.796748 | 100 | 0.601373 | [
"vector",
"model"
] |
0e1906d2666d842a7f2cede13b03bfacfaba5c96 | 490 | hpp | C++ | SRCS/ENTITIES/OBJECTS/Wall.hpp | Dreinale/Bomberman_project | ed98d44f54906b1e3f7941b58d8e1493711f355b | [
"MIT"
] | 1 | 2021-07-12T21:59:28.000Z | 2021-07-12T21:59:28.000Z | SRCS/ENTITIES/OBJECTS/Wall.hpp | Dreinale/Bomberman_project | ed98d44f54906b1e3f7941b58d8e1493711f355b | [
"MIT"
] | null | null | null | SRCS/ENTITIES/OBJECTS/Wall.hpp | Dreinale/Bomberman_project | ed98d44f54906b1e3f7941b58d8e1493711f355b | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2021
** Wall
** File description:
** Wall
*/
#ifndef BOMBERMAN_WALL_HPP
#define BOMBERMAN_WALL_HPP
#include "ENTITIES/Object.hpp"
#include "Collide.hpp"
#include "Serialize.hpp"
class Wall : public Object, public Serialize, public Collide {
public:
Wall(std::string path_texture, Vector3 po... | 19.6 | 81 | 0.710204 | [
"object",
"vector",
"model"
] |
0e1bd20b8fe9a9637fb29fca63e5936b8b3292d2 | 10,234 | hpp | C++ | applications/PoromechanicsApplication/custom_elements/small_strain_U_Pw_diff_order_element.hpp | SADPR/Kratos | 82d1e335d2e7e674f77022a3d91c958168805d59 | [
"BSD-4-Clause"
] | null | null | null | applications/PoromechanicsApplication/custom_elements/small_strain_U_Pw_diff_order_element.hpp | SADPR/Kratos | 82d1e335d2e7e674f77022a3d91c958168805d59 | [
"BSD-4-Clause"
] | null | null | null | applications/PoromechanicsApplication/custom_elements/small_strain_U_Pw_diff_order_element.hpp | SADPR/Kratos | 82d1e335d2e7e674f77022a3d91c958168805d59 | [
"BSD-4-Clause"
] | null | null | null | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Ignasi de Pouplana
//
#if !d... | 43.548936 | 188 | 0.645789 | [
"geometry",
"shape",
"vector"
] |
0e1ca439d26440daa81e6f4d185f89aa3494e473 | 536 | cpp | C++ | Data Structures/static rmq/max_value.cpp | Cephian/Competitive-Programming | 6f14ba02245577b858db45f5f1368985aaa9fbfb | [
"MIT"
] | 2 | 2020-02-16T20:28:08.000Z | 2020-02-17T23:29:01.000Z | Data Structures/static rmq/max_value.cpp | Cephian/Competitive-Programming | 6f14ba02245577b858db45f5f1368985aaa9fbfb | [
"MIT"
] | null | null | null | Data Structures/static rmq/max_value.cpp | Cephian/Competitive-Programming | 6f14ba02245577b858db45f5f1368985aaa9fbfb | [
"MIT"
] | null | null | null | // O(n log n) space, O(1) query R(max)Q
struct rMq {
vector<vector<int> > t;
rMq(){}
void init(int* a, int n) {
t.resize(32-__builtin_clz(n),vector<int>(n));
for(int i = 0; i < n; ++i)
t[0][i] = a[i];
for(int k = 1, p = 1; k < (int)t.size(); ++k, p<<=1)
for(int i = 0; i < n; ++i)
t[k][i] = (i+p<n)?ma... | 26.8 | 59 | 0.507463 | [
"vector"
] |
0e2b5af41186c7cd7d4dbf4dea88b21b9f5a4c27 | 866 | cpp | C++ | 08/Driver.cpp | sanskarkatiyar/CSCI2270 | aee0261e35d16ca8e17f8f950b080053bd6afe0f | [
"MIT"
] | 2 | 2020-03-18T22:56:41.000Z | 2020-04-16T22:33:23.000Z | 08/Driver.cpp | sanskarkatiyar/CSCI2270 | aee0261e35d16ca8e17f8f950b080053bd6afe0f | [
"MIT"
] | null | null | null | 08/Driver.cpp | sanskarkatiyar/CSCI2270 | aee0261e35d16ca8e17f8f950b080053bd6afe0f | [
"MIT"
] | 2 | 2020-04-24T17:00:57.000Z | 2021-04-05T03:55:43.000Z | #include <iostream>
#include <vector>
#include "Graph.hpp"
using namespace std;
int main()
{
// edges are undirected
Graph g;
g.addVertex("B");
g.addVertex("D");
// g.addVertex("C"); // to demonstrate edge feature
g.addVertex("F");
// g.addVertex("M"); // to demonstrate edge feature
... | 21.121951 | 56 | 0.576212 | [
"vector"
] |
0e2c174e298d3306026add8f3cce289bdf822a85 | 2,321 | cpp | C++ | leetcode/1947/solution.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | leetcode/1947/solution.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | leetcode/1947/solution.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | /*
author: mark@mkmark.net
time: O(P_m^m)
space: O(2^m)
Runtime: 0 ms, faster than 100.00% of C++ online submissions for Maximum Compatibility Score Sum.
Memory Usage: 10.2 MB, less than 28.86% of C++ online submissions for Maximum Compatibility Score Sum.
*/
#include <vector> // std::vector
#include <iostream>... | 24.431579 | 102 | 0.467471 | [
"vector"
] |
0e2c8ccab5d4821b795782f6d09a30e4d116bbb8 | 1,458 | cxx | C++ | test/sframe_query_engine/operators/sarray_source.cxx | Bpowers4/turicreate | 73dad213cc1c4f74337b905baea2b3a1e5a0266c | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | test/sframe_query_engine/operators/sarray_source.cxx | Bpowers4/turicreate | 73dad213cc1c4f74337b905baea2b3a1e5a0266c | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | test/sframe_query_engine/operators/sarray_source.cxx | Bpowers4/turicreate | 73dad213cc1c4f74337b905baea2b3a1e5a0266c | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | #define BOOST_TEST_MODULE
#include <boost/test/unit_test.hpp>
#include <core/util/test_macros.hpp>
#include <core/storage/query_engine/execution/execution_node.hpp>
#include <core/storage/query_engine/operators/sarray_source.hpp>
#include <core/storage/sframe_data/sarray.hpp>
#include <core/storage/sframe_data/algorith... | 29.755102 | 93 | 0.745542 | [
"vector"
] |
0e304885d8a7670204c41d2b4cd3b2798dbfed71 | 1,172 | hpp | C++ | stan/math/prim/arr/fun/array_builder.hpp | peterwicksstringfield/math | 5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e | [
"BSD-3-Clause"
] | 1 | 2019-07-23T14:57:41.000Z | 2019-07-23T14:57:41.000Z | stan/math/prim/arr/fun/array_builder.hpp | Capri2014/math | d4042bdf8623bba5a1633b557227325a324e32e9 | [
"BSD-3-Clause"
] | 1 | 2019-09-23T19:58:36.000Z | 2019-09-24T12:03:41.000Z | stan/math/prim/arr/fun/array_builder.hpp | riddell-stan/math | d84ee0d991400d6cf4b08a07a4e8d86e0651baea | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_ARR_FUN_ARRAY_BUILDER_HPP
#define STAN_MATH_PRIM_ARR_FUN_ARRAY_BUILDER_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/scal/fun/promote_elements.hpp>
#include <vector>
namespace stan {
namespace math {
/**
* Structure for building up arrays in an expression (rather than
* in ... | 22.113208 | 65 | 0.6843 | [
"object",
"vector"
] |
0e307ceb7c43ca38ef4ac398dcfc2c3545ac3ea4 | 44,658 | cpp | C++ | src/tree/node.cpp | sagpant/cascadb | cc2a118f2548fd7221e8dba42774edea8af080f7 | [
"BSD-3-Clause"
] | 166 | 2015-01-26T15:21:26.000Z | 2022-03-25T03:22:27.000Z | src/tree/node.cpp | sagpant/cascadb | cc2a118f2548fd7221e8dba42774edea8af080f7 | [
"BSD-3-Clause"
] | 1 | 2015-05-01T23:52:46.000Z | 2015-05-01T23:52:46.000Z | src/tree/node.cpp | weicao/cascadb | cc2a118f2548fd7221e8dba42774edea8af080f7 | [
"BSD-3-Clause"
] | 44 | 2015-01-26T15:21:28.000Z | 2021-05-29T14:18:35.000Z | // Copyright (c) 2013 The CascaDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include <assert.h>
#include <algorithm>
#include <set>
#include <stdexcept>
#include "node.h"
#includ... | 27.313761 | 91 | 0.563169 | [
"vector"
] |
0e313e30162ea262f59605c2907edd3ab77548ef | 3,908 | hpp | C++ | sfq/src/crates/lzt/src/ffi/lzt_core/vizualization/NodeArrayToDot.hpp | lisp-rbi/sfq | 93855f63e15561ea36644fa6bcf7d72266974f4d | [
"Apache-2.0"
] | null | null | null | sfq/src/crates/lzt/src/ffi/lzt_core/vizualization/NodeArrayToDot.hpp | lisp-rbi/sfq | 93855f63e15561ea36644fa6bcf7d72266974f4d | [
"Apache-2.0"
] | null | null | null | sfq/src/crates/lzt/src/ffi/lzt_core/vizualization/NodeArrayToDot.hpp | lisp-rbi/sfq | 93855f63e15561ea36644fa6bcf7d72266974f4d | [
"Apache-2.0"
] | null | null | null | #ifndef NODEARRAYTODOT_HPP
#define NODEARRAYTODOT_HPP
#include <string>
#include <fstream>
#include <cstdio>
#include <cctype>
#include <map>
using namespace std;
/** Class for writing a node array to GraphViz's dot file, for visualization. */
template <typename TNodeArray>
class NodeArrayToDot {
private:
type... | 26.053333 | 96 | 0.581372 | [
"shape"
] |
0e34ee3e4ea82feae13e483a4a7d407ae44fbba3 | 12,453 | cc | C++ | onnxruntime/core/optimizer/qdq_transformer/qdq_propagation.cc | kota-row/onnxruntime | eb116595d4c4b28eedc009eae98e2bba777e0a1b | [
"MIT"
] | null | null | null | onnxruntime/core/optimizer/qdq_transformer/qdq_propagation.cc | kota-row/onnxruntime | eb116595d4c4b28eedc009eae98e2bba777e0a1b | [
"MIT"
] | null | null | null | onnxruntime/core/optimizer/qdq_transformer/qdq_propagation.cc | kota-row/onnxruntime | eb116595d4c4b28eedc009eae98e2bba777e0a1b | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "core/optimizer/qdq_transformer/qdq_propagation.h"
#include <optional>
#include "core/graph/extended_graph_edge.h"
#include "core/graph/graph_utils.h"
#include "core/optimizer/initializer.h"
#include "core/optimi... | 39.283912 | 118 | 0.635831 | [
"vector"
] |
0e3b7ad316391d9a5f5dfa493269f7fe2e84062e | 924 | cpp | C++ | Vector4.cpp | SungJJinKang/JINMATH | 0c96719d061de63eac4421b0b8d91d316e2d20c1 | [
"MIT"
] | null | null | null | Vector4.cpp | SungJJinKang/JINMATH | 0c96719d061de63eac4421b0b8d91d316e2d20c1 | [
"MIT"
] | null | null | null | Vector4.cpp | SungJJinKang/JINMATH | 0c96719d061de63eac4421b0b8d91d316e2d20c1 | [
"MIT"
] | null | null | null | #include "Vector4.h"
#include "Vector2.h"
#include "Vector3.h"
const math::Vector4 math::Vector4::forward{0.0f, 0.0f, -1.0f, 0.0f};
const math::Vector4 math::Vector4::right{ 1.0f, 0.0f, 0.0f, 0.0f };
const math::Vector4 math::Vector4::up{ 0.0f, 1.0f, 0.0f, 0.0f };
const math::Vector4 math::Vector4::zero{ 0.0f, 0.0f, ... | 24.315789 | 116 | 0.635281 | [
"vector"
] |
0e3bdccf20ea4f987ba1f578bfc1cfaebecf6d58 | 372 | cpp | C++ | c++/hw-thread/main.cpp | OGLinuk/ptp | bf498759d9958e4fbf4bda30e2b069efa6b7ff5c | [
"Apache-2.0"
] | 1 | 2022-01-31T04:55:59.000Z | 2022-01-31T04:55:59.000Z | c++/hw-thread/main.cpp | oglinuk/labs | 619f25238cd1631ee3446cb91e46e2376bea6dba | [
"Apache-2.0"
] | null | null | null | c++/hw-thread/main.cpp | oglinuk/labs | 619f25238cd1631ee3446cb91e46e2376bea6dba | [
"Apache-2.0"
] | 1 | 2018-10-05T01:54:12.000Z | 2018-10-05T01:54:12.000Z | #include <iostream>
#include <thread>
#include <vector>
void printSomething(int i)
{
printf("Hello world from C++ concurrency number %d\n\n", i);
}
int main()
{
std::vector<std::thread> t;
for (int i = 0; i < 7; i++) {
t.push_back(std::thread(printSomething, i));
}
for (int i = 0; i < 7... | 16.173913 | 65 | 0.537634 | [
"vector"
] |
0e412e0a724cb1a55c7aeabd1e5d4f7753cd3a74 | 3,524 | cpp | C++ | camps/winter_school_Kremenchuk_2016/DAY_4_SQRT_DECOMPOSITION/D_right.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | camps/winter_school_Kremenchuk_2016/DAY_4_SQRT_DECOMPOSITION/D_right.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | camps/winter_school_Kremenchuk_2016/DAY_4_SQRT_DECOMPOSITION/D_right.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
const int SQRT = 316;
struct Orbit
{
vector<int> answers;
vector<int> whatWant;
vector<pair<pair<int,int>, long long> > queries;
vector<vector<int> > owners;
vector<int> sectors;
vector<long long> curr... | 27.748031 | 114 | 0.450341 | [
"vector"
] |
0e4afead70ebf54ab1a80c285d4e96aacf6d86d7 | 18,121 | hpp | C++ | lib/decorators/EventPropertiesDecorator.hpp | sulahane/cpp_client_telemetry | 759412c158d88ae8de8a64cf7b756ca24fd0a3e6 | [
"Apache-2.0"
] | null | null | null | lib/decorators/EventPropertiesDecorator.hpp | sulahane/cpp_client_telemetry | 759412c158d88ae8de8a64cf7b756ca24fd0a3e6 | [
"Apache-2.0"
] | null | null | null | lib/decorators/EventPropertiesDecorator.hpp | sulahane/cpp_client_telemetry | 759412c158d88ae8de8a64cf7b756ca24fd0a3e6 | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//
#ifndef EVENTPROPERTIESDECORATOR_HPP
#define EVENTPROPERTIESDECORATOR_HPP
#include "IDecorator.hpp"
#include "EventProperties.hpp"
#include "CorrelationVector.hpp"
#include "utils/Utils.hpp"
#include <algorithm>
... | 39.138229 | 125 | 0.429612 | [
"vector"
] |
0e5025a17a453c4ec53297008323aad93ea74cdb | 6,910 | cc | C++ | src/filesystem_testing.cc | kwiberg/frz | 8661247c70e89a671b2b412c8c4f4c3f329ef98d | [
"Apache-2.0"
] | null | null | null | src/filesystem_testing.cc | kwiberg/frz | 8661247c70e89a671b2b412c8c4f4c3f329ef98d | [
"Apache-2.0"
] | 12 | 2021-02-24T22:48:56.000Z | 2021-03-21T12:33:05.000Z | src/filesystem_testing.cc | kwiberg/frz | 8661247c70e89a671b2b412c8c4f4c3f329ef98d | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2021 Karl Wiberg
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | 32.28972 | 80 | 0.610709 | [
"object",
"vector"
] |
0e517f4c898d0c82d9c51cdd773386f22d1dffc5 | 5,590 | cpp | C++ | modules/assimp/ext/assimp/code/BlenderBMesh.cpp | victorca25/inviwo | 34b6675f6b791a08e358d24aea4f75d5baadc6da | [
"BSD-2-Clause"
] | 13 | 2015-10-27T22:43:19.000Z | 2022-01-07T14:44:56.000Z | modules/assimp/ext/assimp/code/BlenderBMesh.cpp | liu3xing3long/inviwo | 69cca9b6ecd58037bda0ed9e6f53d02f189f19a7 | [
"BSD-2-Clause"
] | 1 | 2019-05-20T23:10:19.000Z | 2019-05-20T23:13:49.000Z | modules/assimp/ext/assimp/code/BlenderBMesh.cpp | liu3xing3long/inviwo | 69cca9b6ecd58037bda0ed9e6f53d02f189f19a7 | [
"BSD-2-Clause"
] | 1 | 2021-08-16T11:50:47.000Z | 2021-08-16T11:50:47.000Z | /*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2013, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following condition... | 31.581921 | 150 | 0.589267 | [
"mesh"
] |
0e5589a658301fa245e32cb94b1b4ca454ba4429 | 16,447 | cpp | C++ | examples/volcano/window-vulkan.cpp | djohansson/slang | 69227ad7d46b8741274c93a42a891d70458f2d45 | [
"MIT"
] | 2 | 2019-08-16T13:33:28.000Z | 2020-08-12T21:48:24.000Z | examples/volcano/window-vulkan.cpp | djohansson/slang | 69227ad7d46b8741274c93a42a891d70458f2d45 | [
"MIT"
] | null | null | null | examples/volcano/window-vulkan.cpp | djohansson/slang | 69227ad7d46b8741274c93a42a891d70458f2d45 | [
"MIT"
] | null | null | null | #include "window.h"
#include "resources/shaders/shadertypes.h"
#include "typeinfo.h"
#include "vk-utils.h"
#include "volcano.h"
#include <stb_sprintf.h>
#if defined(__WINDOWS__)
#include <execution>
#endif
#include <filesystem>
#include <future>
#include <numeric>
#include <string>
#include <string_view>
#define GLF... | 36.467849 | 160 | 0.588436 | [
"model"
] |
0e568d17a2e4c581a88f797d39931ef02aebb91a | 3,946 | hpp | C++ | ThirdParty-mod/java2cpp/android/webkit/HttpAuthHandler.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | 1 | 2019-04-03T01:53:28.000Z | 2019-04-03T01:53:28.000Z | ThirdParty-mod/java2cpp/android/webkit/HttpAuthHandler.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | ThirdParty-mod/java2cpp/android/webkit/HttpAuthHandler.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.webkit.HttpAuthHandler
================================================================================*/
#ifndef J2CPP_INCLUDE_I... | 30.122137 | 133 | 0.717689 | [
"object"
] |
0e580b51325f44fb2542d3419b3c096cf3f2f0b7 | 2,667 | cpp | C++ | rtdoom/MapStore.cpp | rohatsu/rtdoom | 0edcaa628a1470731f9af04d50453cf9e1736ecf | [
"MIT"
] | 15 | 2020-02-03T13:12:21.000Z | 2021-09-08T12:46:09.000Z | rtdoom/MapStore.cpp | mausimus/rtdoom | 0edcaa628a1470731f9af04d50453cf9e1736ecf | [
"MIT"
] | 1 | 2021-03-10T23:04:18.000Z | 2021-03-22T23:02:36.000Z | rtdoom/MapStore.cpp | mausimus/rtdoom | 0edcaa628a1470731f9af04d50453cf9e1736ecf | [
"MIT"
] | 3 | 2021-02-20T23:16:15.000Z | 2021-05-31T19:18:35.000Z | #include "pch.h"
#include "MapStore.h"
#include "Helpers.h"
using namespace std::literals::string_literals;
namespace rtdoom
{
MapStore::MapStore() { }
void MapStore::Load(const std::string& mapFolder)
{
m_vertexes = Helpers::LoadEntities<Vertex>(mapFolder + "\\vertexes.lmp"s);
m_lineDefs = Helpers::Load... | 42.333333 | 111 | 0.665167 | [
"vector"
] |
0e5bbc1c31a0728196b2e7874d9fb3a2f7e0bddd | 7,792 | cpp | C++ | tests/core/RssSituationIdProviderTests.cpp | tier4/ad-rss-lib | 7634fd6f040e33e176d5be83638a74b29f5a012b | [
"BSD-3-Clause"
] | 1 | 2019-07-20T02:10:53.000Z | 2019-07-20T02:10:53.000Z | tests/core/RssSituationIdProviderTests.cpp | ANTi7kZ/ad-rss-lib | 7634fd6f040e33e176d5be83638a74b29f5a012b | [
"BSD-3-Clause"
] | null | null | null | tests/core/RssSituationIdProviderTests.cpp | ANTi7kZ/ad-rss-lib | 7634fd6f040e33e176d5be83638a74b29f5a012b | [
"BSD-3-Clause"
] | 1 | 2021-02-25T01:02:15.000Z | 2021-02-25T01:02:15.000Z | // ----------------- BEGIN LICENSE BLOCK ---------------------------------
//
// Copyright (c) 2019 Intel Corporation
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retai... | 46.380952 | 112 | 0.799795 | [
"object"
] |
0e5cf21e662265519e9b0e06e86d06483dcb2959 | 96,761 | cpp | C++ | dev/Code/CryEngine/RenderDll/XRenderD3D9/D3DRenderRE.cpp | santosh90n/lumberyard-1 | 9608bcf905bb60e9f326bd3fe8297381c22d83a6 | [
"AML"
] | 1 | 2019-02-12T06:44:50.000Z | 2019-02-12T06:44:50.000Z | dev/Code/CryEngine/RenderDll/XRenderD3D9/D3DRenderRE.cpp | santosh90n/lumberyard-1 | 9608bcf905bb60e9f326bd3fe8297381c22d83a6 | [
"AML"
] | null | null | null | dev/Code/CryEngine/RenderDll/XRenderD3D9/D3DRenderRE.cpp | santosh90n/lumberyard-1 | 9608bcf905bb60e9f326bd3fe8297381c22d83a6 | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 36.582609 | 246 | 0.604975 | [
"mesh",
"geometry",
"render",
"object"
] |
0e67daeffdaa857243a548d70e40dbbc9c30597c | 2,257 | cpp | C++ | engine/src/common/pixelboost/animation/timeline/tween.cpp | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | 6 | 2015-04-21T11:30:52.000Z | 2020-04-29T00:10:04.000Z | engine/src/common/pixelboost/animation/timeline/tween.cpp | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | null | null | null | engine/src/common/pixelboost/animation/timeline/tween.cpp | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | null | null | null | #include "pixelboost/animation/timeline/tween.h"
#include "pixelboost/debug/log.h"
#include "pixelboost/graphics/message/color.h"
#include "pixelboost/logic/message/transform.h"
#include "pixelboost/logic/scene.h"
using namespace pb;
TimelineTweenPosition::TimelineTweenPosition(Entity* entity, float length, glm::vec3... | 29.697368 | 131 | 0.743022 | [
"transform"
] |
0e76fe2572abb4302d58f5bfb0788e8c5e468ee7 | 1,982 | hpp | C++ | cpp_jatko/2020_04_08/2020_04_08_assignment_1/henkilo.hpp | Diapolo10/TAMK-Exercises | 904958cc41b253201eef182f17e43d95cf4f7c89 | [
"MIT"
] | null | null | null | cpp_jatko/2020_04_08/2020_04_08_assignment_1/henkilo.hpp | Diapolo10/TAMK-Exercises | 904958cc41b253201eef182f17e43d95cf4f7c89 | [
"MIT"
] | null | null | null | cpp_jatko/2020_04_08/2020_04_08_assignment_1/henkilo.hpp | Diapolo10/TAMK-Exercises | 904958cc41b253201eef182f17e43d95cf4f7c89 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <vector>
class Address {
private:
std::string street_address{};
std::string postal_code{};
std::string city{};
public:
Address();
Address(const std::string&, const std::string&, const std::string&);
~Address();
const std::string getStreetAddress();
void setStreetAddr... | 20.22449 | 73 | 0.711403 | [
"vector"
] |
0e77e50b468e82625c9b76291fcb0a0b8caf8529 | 1,513 | hpp | C++ | indexer/altitude_loader.hpp | dbf256/organicmaps | 1b20d277200dd5444443cf10c6b43cbabf59f3d8 | [
"Apache-2.0"
] | 1 | 2022-02-18T17:26:50.000Z | 2022-02-18T17:26:50.000Z | indexer/altitude_loader.hpp | dbf256/organicmaps | 1b20d277200dd5444443cf10c6b43cbabf59f3d8 | [
"Apache-2.0"
] | null | null | null | indexer/altitude_loader.hpp | dbf256/organicmaps | 1b20d277200dd5444443cf10c6b43cbabf59f3d8 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "indexer/feature_altitude.hpp"
#include "coding/memory_region.hpp"
#include "geometry/point_with_altitude.hpp"
#include <memory>
#include <string>
#include <vector>
#include "3party/succinct/elias_fano.hpp"
#include "3party/succinct/rs_bit_vector.hpp"
class MwmValue;
namespace feature
{
clas... | 25.216667 | 95 | 0.773298 | [
"geometry",
"vector"
] |
0e7adfd5512c53dd7135d88a82281863bb8926dd | 11,241 | cc | C++ | chrome/browser/ui/webui/md_downloads/downloads_list_tracker_unittest.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chrome/browser/ui/webui/md_downloads/downloads_list_tracker_unittest.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/webui/md_downloads/downloads_list_tracker_unittest.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/md_downloads/downloads_list_tracker.h"
#include <limits.h>
#include <stdint.h>
#include <memory>
#include <vector>
#i... | 31.311978 | 80 | 0.722089 | [
"vector",
"model"
] |
0e7e6d56ec3f3ab166bdd2691f831781fcc23266 | 3,039 | cc | C++ | src/tools/fs_tool_main.cc | ishine/deepx_core | a71fa4b5fec5cf5d83da04cbb9ee437d0c8b6e05 | [
"BSD-2-Clause"
] | 309 | 2021-03-24T03:00:19.000Z | 2022-03-31T16:17:46.000Z | src/tools/fs_tool_main.cc | kiminh/deepx_core | 928d248ef26c9a5b48e34ff6a66761f94cd4be72 | [
"BSD-2-Clause"
] | 4 | 2021-03-30T01:46:32.000Z | 2021-04-06T12:22:18.000Z | src/tools/fs_tool_main.cc | kiminh/deepx_core | 928d248ef26c9a5b48e34ff6a66761f94cd4be72 | [
"BSD-2-Clause"
] | 45 | 2021-03-29T06:12:17.000Z | 2022-03-04T05:19:46.000Z | // Copyright 2019 the deepx authors.
// Author: Yafei Zhang (kimmyzhang@tencent.com)
//
#include <deepx_core/common/stream.h>
#include <deepx_core/dx_log.h>
#include <gflags/gflags.h>
#include <iostream>
#include <string>
namespace deepx_core {
namespace {
void ShowHelp() {
std::cout << "Usage:" << std::endl;
st... | 23.742188 | 72 | 0.537019 | [
"vector"
] |
0e841dfa00c301f332c1067377c05aba683af997 | 4,349 | cpp | C++ | src/libs/icon/Icon.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/libs/icon/Icon.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/libs/icon/Icon.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus <superstippi@gmx.de>
*/
#include "Icon.h"
#include <new>
#include <stdio.h>
#include "PathContainer.h"
#include "Shape.h"
#include "Style.h"
#include "StyleContainer.h"
using std::nothrow;
#ifdef ICON_... | 19.949541 | 60 | 0.680846 | [
"object",
"shape"
] |
0e847361147281f1a52afdd92d6498a419667ef1 | 568 | hpp | C++ | c++/libcryptopals/include/cryptopals/xor.hpp | porkfactor/matasano | 9e583ab0f040d7163dec2820b95e251123b2fab2 | [
"BSD-2-Clause"
] | null | null | null | c++/libcryptopals/include/cryptopals/xor.hpp | porkfactor/matasano | 9e583ab0f040d7163dec2820b95e251123b2fab2 | [
"BSD-2-Clause"
] | null | null | null | c++/libcryptopals/include/cryptopals/xor.hpp | porkfactor/matasano | 9e583ab0f040d7163dec2820b95e251123b2fab2 | [
"BSD-2-Clause"
] | null | null | null | #ifndef INCLUDE_CRYPTOPALS_XOR_HPP_
#define INCLUDE_CRYPTOPALS_XOR_HPP_
#include <vector>
namespace porkfactor
{
namespace matasano
{
template<typename T>
std::vector<T> buffer_xor(std::vector<T> const &m, std::vector<T> const &key)
{
typename std::vector<T>::size_type sz =... | 21.037037 | 85 | 0.526408 | [
"vector"
] |
0e8798e35ed8f1b1a44e459513c1f1e8ec39464e | 27,946 | cpp | C++ | DemoApps/Vulkan/TexturingArrays/source/TexturingArrays.cpp | alejandrolozano2/OpenGL_DemoFramework | 5fd85f05c98cc3d0c0a68bac438035df8cabaee7 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2019-01-19T20:21:24.000Z | 2021-08-10T02:11:32.000Z | DemoApps/Vulkan/TexturingArrays/source/TexturingArrays.cpp | alejandrolozano2/OpenGL_DemoFramework | 5fd85f05c98cc3d0c0a68bac438035df8cabaee7 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | DemoApps/Vulkan/TexturingArrays/source/TexturingArrays.cpp | alejandrolozano2/OpenGL_DemoFramework | 5fd85f05c98cc3d0c0a68bac438035df8cabaee7 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-08-10T02:11:33.000Z | 2021-08-10T02:11:33.000Z | /*
* Vulkan Example - Texture arrays and instanced rendering
*
* Copyright (C) 2016 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
// Based on a example called 'Texture Arrays' by Sascha Willems from https://github.com/SaschaWillem... | 41.218289 | 164 | 0.744471 | [
"object",
"vector",
"model",
"solid"
] |
0e8c94e59f260102fc767b0555520e61d8b0e78e | 2,170 | cc | C++ | cinn/frontend/decomposer/activation_test.cc | SunNy820828449/CINN | 6384f730867132508c2c60f5ff2aae12959143d7 | [
"Apache-2.0"
] | null | null | null | cinn/frontend/decomposer/activation_test.cc | SunNy820828449/CINN | 6384f730867132508c2c60f5ff2aae12959143d7 | [
"Apache-2.0"
] | null | null | null | cinn/frontend/decomposer/activation_test.cc | SunNy820828449/CINN | 6384f730867132508c2c60f5ff2aae12959143d7 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021 CINN Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 35.57377 | 95 | 0.654378 | [
"vector"
] |
0e9371f640d94682cfda47af7fbf3fc4fbe62823 | 5,600 | cc | C++ | chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h"
#include <memory>
#include <utility>
#include "base/values.h"
#in... | 37.086093 | 82 | 0.735893 | [
"vector"
] |
0e943133ad1040333914fb2ac88dbef5f319ebba | 52,388 | cc | C++ | src/gui/dictionary_tool/dictionary_tool.cc | janasle/mozc | 1ddec765e033d22079627dc14a06a204134e1b28 | [
"BSD-3-Clause"
] | 1 | 2022-03-08T07:35:49.000Z | 2022-03-08T07:35:49.000Z | src/gui/dictionary_tool/dictionary_tool.cc | kirameister/mozc | 18b2b32b4d3fe585d38134606773239781b6be82 | [
"BSD-3-Clause"
] | null | null | null | src/gui/dictionary_tool/dictionary_tool.cc | kirameister/mozc | 18b2b32b4d3fe585d38134606773239781b6be82 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2010-2021, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | 32.722049 | 80 | 0.670822 | [
"object",
"vector",
"model"
] |
0e995539fa41ad1d87df7ba4bd8d801346f96251 | 3,676 | hpp | C++ | libs/glm/irls.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 1 | 2015-10-21T14:22:12.000Z | 2015-10-21T14:22:12.000Z | libs/glm/irls.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2019-05-26T20:52:31.000Z | 2019-05-28T16:19:49.000Z | libs/glm/irls.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2016-11-06T14:58:37.000Z | 2019-05-26T14:03:13.000Z | #ifndef __IRLS_H__
#define __IRLS_H__
#include <armadillo>
#include <glm/glm_info.hpp>
#include <glm/models/glm_model.hpp>
/**
* Maximum number of iterations in the IRLS algorithm.
*/
static const int IRLS_MAX_ITERS = 25;
/**
* Smallest change in likelihood before terminating the IRLS algorithm.
*/
static doubl... | 31.418803 | 153 | 0.718172 | [
"vector",
"model"
] |
0e9a9f53d31bccb928c96caff66152028e05ca7c | 14,227 | cpp | C++ | source/screens/activity.cpp | ELY3M/NX-Activity-Log | daf8133c24acebfacaf31c8e87f48d8eb981d78c | [
"MIT"
] | null | null | null | source/screens/activity.cpp | ELY3M/NX-Activity-Log | daf8133c24acebfacaf31c8e87f48d8eb981d78c | [
"MIT"
] | null | null | null | source/screens/activity.cpp | ELY3M/NX-Activity-Log | daf8133c24acebfacaf31c8e87f48d8eb981d78c | [
"MIT"
] | null | null | null | #include "activity.hpp"
#include "ui/list.hpp"
#include "ui/listitem.hpp"
#include "SDLHelper.hpp"
#include <switch.h>
#include "theme.hpp"
#include "utils.hpp"
namespace Screen {
Activity::Activity(bool * b, User * u, std::vector<Title *> tls) : Screen::Screen(b) {
u32 total_mins = 0;
this->list =... | 48.391156 | 200 | 0.458846 | [
"object",
"vector"
] |
0e9cbf7654a93a0972aade479889f575a31dfdb6 | 12,837 | cc | C++ | ash/system/bluetooth/bluetooth_detailed_view.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/system/bluetooth/bluetooth_detailed_view.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/system/bluetooth/bluetooth_detailed_view.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/system/bluetooth/bluetooth_detailed_view.h"
#include <map>
#include <memory>
#include <utility>
#include "ash/public/cpp/system_tray_clien... | 34.978202 | 80 | 0.733115 | [
"model"
] |
0ea03351337c9187a9143b8770be05ba6f997009 | 4,155 | cc | C++ | passes/techmap/dff2dffs.cc | jakobwenzel/yosys | 984596c6bdac40fc2de4584a26ba5e1948f60a26 | [
"0BSD"
] | null | null | null | passes/techmap/dff2dffs.cc | jakobwenzel/yosys | 984596c6bdac40fc2de4584a26ba5e1948f60a26 | [
"0BSD"
] | null | null | null | passes/techmap/dff2dffs.cc | jakobwenzel/yosys | 984596c6bdac40fc2de4584a26ba5e1948f60a26 | [
"0BSD"
] | null | null | null | /*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
* Copyright (C) 2018 David Shah <dave@ds0.me>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyr... | 29.055944 | 101 | 0.638267 | [
"vector"
] |
0ea0405c3ca98f297c1a2b29ab9a650822008eb3 | 4,266 | cpp | C++ | benchmarks/BunnymarkV2/cpp/BunnymarkV2.cpp | ColinKinloch/godot3-bunnymark | 31b5ca7862018adfad68a095afbfe693ef9925ca | [
"MIT"
] | 1 | 2019-11-27T01:35:26.000Z | 2019-11-27T01:35:26.000Z | benchmarks/BunnymarkV2/cpp/BunnymarkV2.cpp | ColinKinloch/godot3-bunnymark | 31b5ca7862018adfad68a095afbfe693ef9925ca | [
"MIT"
] | null | null | null | benchmarks/BunnymarkV2/cpp/BunnymarkV2.cpp | ColinKinloch/godot3-bunnymark | 31b5ca7862018adfad68a095afbfe693ef9925ca | [
"MIT"
] | 1 | 2022-01-24T11:08:25.000Z | 2022-01-24T11:08:25.000Z | #include <stdlib.h>
#include <vector>
#include <string>
#include <core/Godot.hpp>
#include <core/GodotGlobal.hpp>
#include <Node2D.hpp>
#include <Texture.hpp>
#include <Sprite.hpp>
#include <Label.hpp>
#include <ResourceLoader.hpp>
#include <String.hpp>
#include <Array.hpp>
using namespace godot;
class BunnymarkV2 :... | 34.967213 | 91 | 0.438115 | [
"object",
"vector"
] |
0ea87a3eca515eaef364a92df05d3d673a1153e4 | 10,063 | hpp | C++ | atomics/PeopleInLocation.hpp | SimulationEverywhere/NEP_DAM | bc8cdf661c4a4e050abae12fb756f41ec6240e6b | [
"BSD-2-Clause"
] | null | null | null | atomics/PeopleInLocation.hpp | SimulationEverywhere/NEP_DAM | bc8cdf661c4a4e050abae12fb756f41ec6240e6b | [
"BSD-2-Clause"
] | null | null | null | atomics/PeopleInLocation.hpp | SimulationEverywhere/NEP_DAM | bc8cdf661c4a4e050abae12fb756f41ec6240e6b | [
"BSD-2-Clause"
] | null | null | null | /**
* Copyright (c) 2017, Cristina Ruiz Martin
* Carleton University, Universidad de Valladolid
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must reta... | 46.804651 | 133 | 0.617311 | [
"vector",
"model"
] |
0ea973543f3e3c97124ab7ab5f9fdcda0433b095 | 3,799 | cpp | C++ | DeviceCode/Targets/Native/STM32F2/DeviceCode/STM32F2_IntC/STM32F2_intc_functions.cpp | yangjunjiao/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | 4 | 2019-01-21T11:47:53.000Z | 2020-06-09T02:14:15.000Z | DeviceCode/Targets/Native/STM32F2/DeviceCode/STM32F2_IntC/STM32F2_intc_functions.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/Native/STM32F2/DeviceCode/STM32F2_IntC/STM32F2_intc_functions.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | 4 | 2019-01-21T11:48:00.000Z | 2021-05-04T12:37:55.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complian... | 36.883495 | 200 | 0.591471 | [
"vector"
] |
0eac39e7d1397480427889901a6a808f713f844e | 8,879 | cpp | C++ | core/script_language.cpp | includeLuka/godot | 9010a25c0130cfa1fa407922cfb034c4f25b6bae | [
"CC-BY-3.0",
"MIT"
] | null | null | null | core/script_language.cpp | includeLuka/godot | 9010a25c0130cfa1fa407922cfb034c4f25b6bae | [
"CC-BY-3.0",
"MIT"
] | null | null | null | core/script_language.cpp | includeLuka/godot | 9010a25c0130cfa1fa407922cfb034c4f25b6bae | [
"CC-BY-3.0",
"MIT"
] | null | null | null | /*************************************************************************/
/* script_language.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 25.296296 | 120 | 0.670458 | [
"object"
] |
0eacde00d6294c289d0ed37f6baa75389da4a40c | 19,979 | cpp | C++ | Engine/Samples/LWForward+/Source/C++11/Camera.cpp | slicer4ever/Lightwaver | 1f444e42eab9988632f541ab3c8f491d557c7de7 | [
"MIT"
] | 3 | 2017-10-24T08:04:49.000Z | 2018-08-28T10:08:08.000Z | Engine/Samples/LWForward+/Source/C++11/Camera.cpp | slicer4ever/Lightwave | 1f444e42eab9988632f541ab3c8f491d557c7de7 | [
"MIT"
] | null | null | null | Engine/Samples/LWForward+/Source/C++11/Camera.cpp | slicer4ever/Lightwave | 1f444e42eab9988632f541ab3c8f491d557c7de7 | [
"MIT"
] | null | null | null | #include "Camera.h"
#include "Model.h"
#include "Renderer.h"
#include <LWCore/LWMath.h>
#include <iostream>
#include <cstdarg>
LWMatrix4f CameraPoint::MakeMatrix(void) const {
float iRadi = 1.0f / m_Radius;
return LWMatrix4f(iRadi, iRadi, iRadi, 1.0f);
}
CameraPoint &CameraPoint::BuildFrustrum(const... | 37.839015 | 395 | 0.687021 | [
"model"
] |
0eaea3169b935de4fef0afbe8c558e7f1235b23c | 54,035 | cpp | C++ | test/source/tests/executor_tests/manual_executor_tests.cpp | chausner/concurrencpp | cbfc4a16f11a2f540a4fa15d6b56dc16966ecfe6 | [
"MIT"
] | 898 | 2017-08-21T21:54:45.000Z | 2022-03-29T07:39:27.000Z | test/source/tests/executor_tests/manual_executor_tests.cpp | chausner/concurrencpp | cbfc4a16f11a2f540a4fa15d6b56dc16966ecfe6 | [
"MIT"
] | 32 | 2019-05-26T03:01:13.000Z | 2022-03-23T11:03:43.000Z | test/source/tests/executor_tests/manual_executor_tests.cpp | chausner/concurrencpp | cbfc4a16f11a2f540a4fa15d6b56dc16966ecfe6 | [
"MIT"
] | 94 | 2017-08-03T22:09:53.000Z | 2022-03-31T09:31:00.000Z | #include "concurrencpp/concurrencpp.h"
#include "infra/tester.h"
#include "infra/assertions.h"
#include "utils/object_observer.h"
#include "utils/test_generators.h"
#include "utils/executor_shutdowner.h"
namespace concurrencpp::tests {
void test_manual_executor_name();
void test_manual_executor_shutdown_meth... | 36.411725 | 134 | 0.670417 | [
"vector"
] |
0eb152aea3a5d2bfde3ff24f0d1fc75aebae7e36 | 5,460 | cc | C++ | source/use_case/asr/src/Wav2LetterMfcc.cc | alifsemi/ensembleML | 223ae0e8e765d118b982ffbcb280b5acdc799a75 | [
"Apache-2.0"
] | null | null | null | source/use_case/asr/src/Wav2LetterMfcc.cc | alifsemi/ensembleML | 223ae0e8e765d118b982ffbcb280b5acdc799a75 | [
"Apache-2.0"
] | null | null | null | source/use_case/asr/src/Wav2LetterMfcc.cc | alifsemi/ensembleML | 223ae0e8e765d118b982ffbcb280b5acdc799a75 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Arm Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*
* 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/... | 38.723404 | 104 | 0.564652 | [
"vector",
"model"
] |
0eb40e88bd0ee7fc3e391dc62d2eaf0099d8d4c0 | 12,064 | cpp | C++ | app/src/main/cpp/basicSFMLmain.cpp | Is-Daouda/is-Engine-Pong | a806fed49c6dfbaea7b3910f94c5c78e76da05b5 | [
"Zlib"
] | 1 | 2020-12-07T17:44:10.000Z | 2020-12-07T17:44:10.000Z | app/src/main/cpp/basicSFMLmain.cpp | Is-Daouda/is-Engine-Pong | a806fed49c6dfbaea7b3910f94c5c78e76da05b5 | [
"Zlib"
] | null | null | null | app/src/main/cpp/basicSFMLmain.cpp | Is-Daouda/is-Engine-Pong | a806fed49c6dfbaea7b3910f94c5c78e76da05b5 | [
"Zlib"
] | null | null | null | #include "isEngine/core/GameEngine.h"
namespace is
{
bool GameEngine::basicSFMLmain()
{
////////////////////////////////////////////////////////////
// WINDOW CREATION
////////////////////////////////////////////////////////////
#if defined(__ANDROID__)
m_window.create(sf::VideoMode::getDesktopM... | 40.756757 | 174 | 0.490302 | [
"render"
] |
0eb4a2870ef0f19ad325708da2b02dabcc8bfb1d | 5,828 | cpp | C++ | Graph/Tree/Binary Tree/Flatten BT to a Singly Linked List.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 8 | 2021-02-13T17:07:27.000Z | 2021-08-20T08:20:40.000Z | Graph/Tree/Binary Tree/Flatten BT to a Singly Linked List.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | null | null | null | Graph/Tree/Binary Tree/Flatten BT to a Singly Linked List.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 5 | 2021-02-17T18:12:20.000Z | 2021-10-10T17:49:34.000Z | // Problem: https://www.geeksforgeeks.org/flatten-a-binary-tree-into-linked-list/
// Ref: http://www.crazyforcode.com/flatten-binary-tree-linked-list-in-place/
/***************************************************************************************************/
// METHOD - 1
/* A brute approach to solve this problem ... | 24.8 | 106 | 0.59849 | [
"vector"
] |
0eb64a958898b2b81ced714507e25428b547da77 | 57,845 | cpp | C++ | src/core/gpuMemory.cpp | inequation/pal | 1f6c2382823451d232dfb86dd54e7c63673d73e8 | [
"MIT"
] | 1 | 2021-11-27T15:15:29.000Z | 2021-11-27T15:15:29.000Z | src/core/gpuMemory.cpp | inequation/pal | 1f6c2382823451d232dfb86dd54e7c63673d73e8 | [
"MIT"
] | null | null | null | src/core/gpuMemory.cpp | inequation/pal | 1f6c2382823451d232dfb86dd54e7c63673d73e8 | [
"MIT"
] | null | null | null | /*
***********************************************************************************************************************
*
* Copyright (c) 2014-2021 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | 42.911721 | 120 | 0.596854 | [
"object"
] |
0eb6d14e56c58101042e7142dd77b94873f7a818 | 7,922 | cpp | C++ | Simbody/tests/adhoc/JunkMain2.cpp | e-schumann/simbody | 4d8842270d5c400ef64cfd5723e0e0399161e51f | [
"Apache-2.0"
] | 1,916 | 2015-01-01T09:35:21.000Z | 2022-03-30T11:38:43.000Z | Simbody/tests/adhoc/JunkMain2.cpp | e-schumann/simbody | 4d8842270d5c400ef64cfd5723e0e0399161e51f | [
"Apache-2.0"
] | 389 | 2015-01-01T01:13:51.000Z | 2022-03-16T15:30:58.000Z | Simbody/tests/adhoc/JunkMain2.cpp | e-schumann/simbody | 4d8842270d5c400ef64cfd5723e0e0399161e51f | [
"Apache-2.0"
] | 486 | 2015-01-02T10:25:49.000Z | 2022-03-16T15:31:40.000Z | /* -------------------------------------------------------------------------- *
* Simbody(tm) Example: Cable Path *
* -------------------------------------------------------------------------- *
* This is part of the SimTK biosimulation toolkit originating from *
... | 41.260417 | 93 | 0.580914 | [
"transform"
] |
0ebb644548b468626c41ddb2a0b63c40ca6c86a5 | 4,776 | cc | C++ | content/renderer/media/webrtc/webrtc_set_remote_description_observer.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | content/renderer/media/webrtc/webrtc_set_remote_description_observer.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | content/renderer/media/webrtc/webrtc_set_remote_description_observer.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/media/webrtc/webrtc_set_remote_description_observer.h"
#include "base/logging.h"
namespace content {
WebRtcReceiverState... | 39.471074 | 81 | 0.754397 | [
"vector"
] |
0ebc7406b147a0f2aff2411e707fc0f7d8aaaec7 | 3,719 | cpp | C++ | SRCS/Core.cpp | Dreinale/Bomberman_project | ed98d44f54906b1e3f7941b58d8e1493711f355b | [
"MIT"
] | 1 | 2021-07-12T21:59:28.000Z | 2021-07-12T21:59:28.000Z | SRCS/Core.cpp | Dreinale/Bomberman_project | ed98d44f54906b1e3f7941b58d8e1493711f355b | [
"MIT"
] | null | null | null | SRCS/Core.cpp | Dreinale/Bomberman_project | ed98d44f54906b1e3f7941b58d8e1493711f355b | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2021
** Core
** File description:
** Core
*/
#include <iostream>
#include "Core.hpp"
Core::Core()
{
InitAudioDevice();
_volume = 0.4;
_music = new Zic(&_volume, 0, "ASSETS/SOUND/music.mp3");
_music->play_music();
_running = true;
_i_graphic = new Graphic();
_occupa... | 33.205357 | 158 | 0.605808 | [
"vector"
] |
b1beb7585cec553817ce463ed95077e82490b6af | 12,050 | cpp | C++ | src/kernel/cpuid.cpp | Mattlk13/include-OS | d1668b94a007615db458fc394c94127631a55309 | [
"Apache-2.0"
] | null | null | null | src/kernel/cpuid.cpp | Mattlk13/include-OS | d1668b94a007615db458fc394c94127631a55309 | [
"Apache-2.0"
] | null | null | null | src/kernel/cpuid.cpp | Mattlk13/include-OS | d1668b94a007615db458fc394c94127631a55309 | [
"Apache-2.0"
] | null | null | null | // This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2015 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may... | 51.495726 | 136 | 0.603734 | [
"model"
] |
b1c1effaee4e0e00caa695cf36f8af99413a4899 | 2,959 | cpp | C++ | src/RawComponentWidget.cpp | sempr-tk/sempr-gui | ba96dca6945122a157f61fec9e41f4aa6060e3b2 | [
"BSD-3-Clause"
] | null | null | null | src/RawComponentWidget.cpp | sempr-tk/sempr-gui | ba96dca6945122a157f61fec9e41f4aa6060e3b2 | [
"BSD-3-Clause"
] | null | null | null | src/RawComponentWidget.cpp | sempr-tk/sempr-gui | ba96dca6945122a157f61fec9e41f4aa6060e3b2 | [
"BSD-3-Clause"
] | null | null | null | #include "RawComponentWidget.hpp"
#include "CustomDataRoles.hpp"
#include "../ui/ui_raw_component.h"
namespace sempr { namespace gui {
RawComponentWidget::RawComponentWidget(QWidget* parent)
: UsefulWidget(parent), form_(new Ui::RawComponent)
{
form_->setupUi(this);
connect(form_->btnSave, &QPushButton:... | 31.817204 | 84 | 0.62048 | [
"model"
] |
b1c5b7348b51ce06671bbbddcd9eaf60ad44f26b | 20,063 | cpp | C++ | demos/demo.cpp | NikolasGialitsis/NGramGraphParallel | 26427e7ff39ba591a8c7eedd0ace458f1821a876 | [
"Apache-2.0"
] | 1 | 2021-09-17T08:51:55.000Z | 2021-09-17T08:51:55.000Z | demos/demo.cpp | NikolasGialitsis/NGramGraphParallel | 26427e7ff39ba591a8c7eedd0ace458f1821a876 | [
"Apache-2.0"
] | 1 | 2021-05-24T10:36:50.000Z | 2021-05-24T10:36:50.000Z | demos/demo.cpp | NikolasGialitsis/NGramGraphParallel | 26427e7ff39ba591a8c7eedd0ace458f1821a876 | [
"Apache-2.0"
] | 1 | 2021-05-09T16:00:52.000Z | 2021-05-09T16:00:52.000Z | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <algorithm>
#include <tuple>
#include <openclParams.hpp>
#include "InputParser.hpp"
#include "Atom.hpp"
#include "NGramGraph.hpp"
#include "DocumentClass.hpp"
#include "OclUpdatableClass.hpp"
#include "StringSplitter.... | 43.426407 | 134 | 0.686836 | [
"object",
"vector"
] |
b1c7c1e088b7d83e2acdd78ac3028119045ff838 | 9,697 | hpp | C++ | include/eos/fitting/nonlinear_camera_estimation.hpp | ckLibra/FaceReconstruction | 03b4e83a8287b97e320ccabb4645fc7d09dfabca | [
"Apache-2.0"
] | 369 | 2016-07-19T17:24:44.000Z | 2022-03-25T11:51:13.000Z | include/eos/fitting/nonlinear_camera_estimation.hpp | KeeganRen/dlib_eos | 03b4e83a8287b97e320ccabb4645fc7d09dfabca | [
"Apache-2.0"
] | 2 | 2018-08-13T12:50:30.000Z | 2018-10-23T00:29:53.000Z | include/eos/fitting/nonlinear_camera_estimation.hpp | KeeganRen/FaceReconstruction | 03b4e83a8287b97e320ccabb4645fc7d09dfabca | [
"Apache-2.0"
] | 124 | 2016-07-18T06:39:02.000Z | 2022-03-02T18:33:00.000Z | /*
* Eos - A 3D Morphable Model fitting library written in modern C++11/14.
*
* File: include/eos/fitting/nonlinear_camera_estimation.hpp
*
* Copyright 2015 Patrik Huber
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ... | 44.278539 | 233 | 0.736826 | [
"mesh",
"geometry",
"render",
"shape",
"vector",
"model",
"transform",
"3d"
] |
b1c7e125f080eed82b3b5c9d226f1da03f20d91e | 1,720 | cpp | C++ | Verilog/P4/test/gen.cpp | JJLeo/BUAA-CO-2020 | 1d1a3797f7188530464a1dfbe8a017dd01bb817a | [
"MIT"
] | 9 | 2021-03-04T07:22:24.000Z | 2021-11-30T02:56:08.000Z | Verilog/P4/test/gen.cpp | johnnyamazing/BUAA-CO-2020 | 1d1a3797f7188530464a1dfbe8a017dd01bb817a | [
"MIT"
] | null | null | null | Verilog/P4/test/gen.cpp | johnnyamazing/BUAA-CO-2020 | 1d1a3797f7188530464a1dfbe8a017dd01bb817a | [
"MIT"
] | 3 | 2021-09-28T07:41:35.000Z | 2021-12-14T08:55:28.000Z | #include <bits/stdc++.h>
using namespace std;
vector<int> r;
mt19937 mt(time(0));
uniform_int_distribution<int>
imm16(0, (1 << 16) - 1),
siz(0, 1023),
reg(0, 2),
grf(1, 30),
I(1, 6),
J(7, 8),
IJ(1, 8);
int cnt;
void solve(int);
int getR(){
return r[reg(mt)];
}
void addu(){
printf("addu $%d, $%d, $%d... | 14.700855 | 66 | 0.496512 | [
"vector"
] |
b1cc2ba9749f18bb85e9d8661ddc416dce7d4740 | 2,495 | hxx | C++ | src/include/sk/check.hxx | sikol/sk-async | fc8fb2dbfa119b8b8d68c203459b8ca676576076 | [
"BSL-1.0"
] | 3 | 2021-04-08T12:47:39.000Z | 2021-09-25T11:43:41.000Z | src/include/sk/check.hxx | sikol/sk-cio | fc8fb2dbfa119b8b8d68c203459b8ca676576076 | [
"BSL-1.0"
] | null | null | null | src/include/sk/check.hxx | sikol/sk-cio | fc8fb2dbfa119b8b8d68c203459b8ca676576076 | [
"BSL-1.0"
] | null | null | null | /*
* Copyright (c) 2019, 2020, 2021 SiKol Ltd.
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization
* obtaining a copy of the software and accompanying documentation covered by
* this license (the "Software") to use, reproduc... | 38.384615 | 80 | 0.591583 | [
"object"
] |
b1d0797ff16b7a4a2e108860419538fdd5e99df7 | 5,564 | cpp | C++ | hphp/runtime/ext/asio/ext_async-generator.cpp | aingram/hhvm | a0c84e34fa96f680660d9a90e8e7637eaa35943b | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/ext/asio/ext_async-generator.cpp | aingram/hhvm | a0c84e34fa96f680660d9a90e8e7637eaa35943b | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/ext/asio/ext_async-generator.cpp | aingram/hhvm | a0c84e34fa96f680660d9a90e8e7637eaa35943b | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | 33.926829 | 79 | 0.613408 | [
"object"
] |
b1d1fb55acdcdd88a186dc37e787eff29b06549e | 19,654 | hh | C++ | ads-df/AsyncRecordParser.hh | lairofthegoldinblair/trecul | 41953c22f18f76e5add7a35a13775f70459fcd96 | [
"BSD-3-Clause"
] | 7 | 2015-04-24T13:24:22.000Z | 2020-01-17T05:47:43.000Z | ads-df/AsyncRecordParser.hh | lairofthegoldinblair/trecul | 41953c22f18f76e5add7a35a13775f70459fcd96 | [
"BSD-3-Clause"
] | null | null | null | ads-df/AsyncRecordParser.hh | lairofthegoldinblair/trecul | 41953c22f18f76e5add7a35a13775f70459fcd96 | [
"BSD-3-Clause"
] | 4 | 2015-12-24T16:29:58.000Z | 2022-02-04T19:30:18.000Z | #ifndef __ASYNCRECORDPARSER_H__
#define __ASYNCRECORDPARSER_H__
#include <stdint.h>
#include <stdexcept>
#include <iostream>
#include <boost/serialization/serialization.hpp>
#include "RecordBuffer.hh"
#include "RecordType.hh"
#include "RuntimeOperator.hh"
#include "FileSystem.hh"
#include "FileService.hh"
#include ... | 24.722013 | 114 | 0.704284 | [
"vector"
] |
b1d24c065cf5f0205e50077e012dd25bcdce9ed5 | 9,402 | cc | C++ | src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_client_ssl.cc | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 3 | 2019-01-11T06:16:40.000Z | 2021-02-24T23:48:21.000Z | src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_client_ssl.cc | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 2 | 2018-12-04T02:20:52.000Z | 2018-12-22T06:16:30.000Z | src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_client_ssl.cc | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 18 | 2017-01-12T09:28:44.000Z | 2019-04-18T20:47:42.000Z | /*
* Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
*/
#include <boost/bind.hpp>
#include <base/logging.h>
#include <oper/agent_sandesh.h>
#include <ovsdb_types.h>
#include <ovsdb_client_ssl.h>
#include <ovsdb_client_connection_state.h>
#include <ovs_tor_agent/tor_agent_param.h>
using OVSDB::Ovsdb... | 32.088737 | 89 | 0.653478 | [
"vector"
] |
b1d5bf0655647e580094836c4ad80409c3fec9bb | 2,067 | cc | C++ | src/parser_perftest.cc | mathstuf/ninja | abd33d5e3b11ae5470f62cbce49723a4cf62870d | [
"Apache-2.0"
] | 1 | 2016-10-12T23:11:30.000Z | 2016-10-12T23:11:30.000Z | src/parser_perftest.cc | luvit/ninja | 62d3b116bb93360bc13600e2ab972504a958d476 | [
"Apache-2.0"
] | null | null | null | src/parser_perftest.cc | luvit/ninja | 62d3b116bb93360bc13600e2ab972504a958d476 | [
"Apache-2.0"
] | null | null | null | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 26.844156 | 75 | 0.563135 | [
"vector"
] |
b1d9452433078a4d0a3a89f62360aa4c3f6803a8 | 3,784 | cpp | C++ | cxx/osrmjl.cpp | mattwigway/TransitRouter.jl | 2ca102a7a33a9c47269bd80a56f5537c4d891d85 | [
"Apache-2.0"
] | null | null | null | cxx/osrmjl.cpp | mattwigway/TransitRouter.jl | 2ca102a7a33a9c47269bd80a56f5537c4d891d85 | [
"Apache-2.0"
] | 9 | 2021-03-11T05:24:41.000Z | 2021-03-20T04:17:33.000Z | cxx/osrmjl.cpp | mattwigway/TransitRouter.jl | 2ca102a7a33a9c47269bd80a56f5537c4d891d85 | [
"Apache-2.0"
] | null | null | null | #include <osrm/table_parameters.hpp>
#include <osrm/engine_config.hpp>
#include <osrm/coordinate.hpp>
#include <osrm/status.hpp>
#include <osrm/json_container.hpp>
#include <osrm/osrm.hpp>
#include <math.h>
#include <cstdlib>
// set up wrapper functions so we can use ccall in julia to call out to cpp osrm
// see http... | 40.688172 | 124 | 0.684989 | [
"object",
"vector"
] |
b1db7368d30f44039c2adc21160e6fe43b18ce9f | 11,626 | cc | C++ | ui/wm/core/window_animations_unittest.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | 5 | 2019-05-24T01:25:34.000Z | 2020-04-06T05:07:01.000Z | ui/wm/core/window_animations_unittest.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | null | null | null | ui/wm/core/window_animations_unittest.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | 5 | 2016-12-23T04:21:10.000Z | 2020-06-18T13:52:33.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/window_animations.h"
#include "base/time/time.h"
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/test_windows.h"... | 37.624595 | 80 | 0.733786 | [
"vector",
"transform"
] |
b1dc70abbf785110653556dbdd097f6b5f70a569 | 8,379 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle Overview/CPP/timecolumn.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle Overview/CPP/timecolumn.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle Overview/CPP/timecolumn.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | //<snippet1>
#using <System.dll>
#using <System.Data.dll>
#using <System.Drawing.dll>
#using <System.Windows.Forms.dll>
#using <System.Xml.dll>
using namespace System;
using namespace System::Data;
using namespace System::Windows::Forms;
using namespace System::Drawing;
using namespace System::Security::Per... | 28.59727 | 94 | 0.613438 | [
"object"
] |
b1e46aa0af1fac8d6b5c0d2fcb44d67ab8b51064 | 36,210 | cc | C++ | content/browser/gpu/gpu_blacklist_unittest.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | 2 | 2020-06-10T07:15:26.000Z | 2020-12-13T19:44:12.000Z | content/browser/gpu/gpu_blacklist_unittest.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | null | null | null | content/browser/gpu/gpu_blacklist_unittest.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#include "base/base_paths.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/memory/scoped_ptr.h"
#include "... | 31.652098 | 77 | 0.567385 | [
"vector",
"model"
] |
b1e603447faff7146de7f945032fd4d4c3fa4b7f | 4,227 | cpp | C++ | tools/cpp/testModel.cpp | shiyuan0806/MNN | 0726ce33cc9f6c843c38c3e76f7e4621fcbf1303 | [
"Apache-2.0"
] | null | null | null | tools/cpp/testModel.cpp | shiyuan0806/MNN | 0726ce33cc9f6c843c38c3e76f7e4621fcbf1303 | [
"Apache-2.0"
] | null | null | null | tools/cpp/testModel.cpp | shiyuan0806/MNN | 0726ce33cc9f6c843c38c3e76f7e4621fcbf1303 | [
"Apache-2.0"
] | null | null | null | //
// testModel.cpp
// MNN
//
// Created by MNN on 2019/01/22.
// Copyright © 2018, Alibaba Group Holding Limited
//
#define MNN_OPEN_TIME_TRACE
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fstream>
#include <map>
#include <sstream>
#include <MNN/AutoTime.hpp>
#include "c... | 29.978723 | 114 | 0.594275 | [
"shape",
"model"
] |
b1ebb0200b30cc9bddbe1c19fa26bd156a050d2d | 1,911 | cpp | C++ | chapter_3_generic_programming/ex_3_generic_stack.cpp | joshlk/discovering_modern_cpp_peter_gottschling_exercises | ebd6a0f48d36ee85b7fac30a123038728ad9ffc2 | [
"MIT"
] | null | null | null | chapter_3_generic_programming/ex_3_generic_stack.cpp | joshlk/discovering_modern_cpp_peter_gottschling_exercises | ebd6a0f48d36ee85b7fac30a123038728ad9ffc2 | [
"MIT"
] | null | null | null | chapter_3_generic_programming/ex_3_generic_stack.cpp | joshlk/discovering_modern_cpp_peter_gottschling_exercises | ebd6a0f48d36ee85b7fac30a123038728ad9ffc2 | [
"MIT"
] | null | null | null | //
// Created by Josh Levy-Kramer on 25/03/2020.
//
#include <memory>
#include <vector>
#include <exception>
// Exercises 3 and 8
class EmptyStack: public std::exception {
virtual const char* what() const throw() {
return "The stack is empty.";
}
} emptystack;
class FullStack: public std::exception ... | 20.771739 | 103 | 0.508634 | [
"vector"
] |
b1ec1dc37f85307c83adbb1eb2d603238b4a8747 | 37,031 | cpp | C++ | llvm/lib/Transforms/Tapir/OpenCilkABI.cpp | JacobMarksLANL/kitsune | 8f00e5c73f3bcb8984dfdc97a3173c0896579805 | [
"MIT"
] | null | null | null | llvm/lib/Transforms/Tapir/OpenCilkABI.cpp | JacobMarksLANL/kitsune | 8f00e5c73f3bcb8984dfdc97a3173c0896579805 | [
"MIT"
] | null | null | null | llvm/lib/Transforms/Tapir/OpenCilkABI.cpp | JacobMarksLANL/kitsune | 8f00e5c73f3bcb8984dfdc97a3173c0896579805 | [
"MIT"
] | null | null | null | //===- OpenCilkABI.cpp - Interface to the OpenCilk runtime system------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===-------------------------... | 39.227754 | 82 | 0.688153 | [
"object"
] |
b1ef91eeaf0c4f5aed1230cbfb0f0c7a84c466f6 | 1,399 | cpp | C++ | PC_TercerExamen_23-dic-21/P12_Button_Bashing/P12_Button_Bashing.cpp | MisaelVM/ProgComp2021B | 6134ae425a4c1a4f087bc1e14615d1f06979beff | [
"BSD-3-Clause"
] | null | null | null | PC_TercerExamen_23-dic-21/P12_Button_Bashing/P12_Button_Bashing.cpp | MisaelVM/ProgComp2021B | 6134ae425a4c1a4f087bc1e14615d1f06979beff | [
"BSD-3-Clause"
] | null | null | null | PC_TercerExamen_23-dic-21/P12_Button_Bashing/P12_Button_Bashing.cpp | MisaelVM/ProgComp2021B | 6134ae425a4c1a4f087bc1e14615d1f06979beff | [
"BSD-3-Clause"
] | null | null | null | #include <bits/stdc++.h>
#include <unordered_map>
std::pair<int, int> bash_buttons(const std::vector<int>& buttons, int goal) {
std::unordered_map<int, bool> visited;
visited[0] = true;
visited[goal] = false;
std::queue<int> search;
search.push(0);
int moves = 0;
int min_extra = INT_MAX;
int min_moves = INT... | 21.19697 | 78 | 0.611866 | [
"vector"
] |
b1f0a0f04cb6cf85e20435f3dff05c1ded4eeb5d | 1,899 | cc | C++ | components/assist_ranker/quantized_nn_classifier.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/assist_ranker/quantized_nn_classifier.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | components/assist_ranker/quantized_nn_classifier.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright (c) 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/assist_ranker/quantized_nn_classifier.h"
#include "components/assist_ranker/nn_classifier.h"
namespace assist_ranker {
namespace... | 32.186441 | 76 | 0.716166 | [
"model"
] |
b1f196682f4efc23df2c5a5c8a12810e1cd46312 | 18,175 | cc | C++ | RecoJets/FFTJetProducers/plugins/FFTJetPatRecoProducer.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoJets/FFTJetProducers/plugins/FFTJetPatRecoProducer.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | RecoJets/FFTJetProducers/plugins/FFTJetPatRecoProducer.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | // -*- C++ -*-
//
// Package: FFTJetProducers
// Class: FFTJetPatRecoProducer
//
/**\class FFTJetPatRecoProducer FFTJetPatRecoProducer.cc RecoJets/FFTJetProducer/plugins/FFTJetPatRecoProducer.cc
Description: Runs FFTJet pattern recognition stage and saves the results
Implementation:
[Notes on implemen... | 35.567515 | 113 | 0.677304 | [
"object",
"vector"
] |
b1f27a8c9c5700f807e13bc958538b1fe5c0de23 | 8,342 | cpp | C++ | example/mysql_c++/mysqlclient_press.cpp | yanglimingchn/brpc | 0f9ff69d0519b567d4ca603894a694b4ba253c84 | [
"Apache-2.0"
] | null | null | null | example/mysql_c++/mysqlclient_press.cpp | yanglimingchn/brpc | 0f9ff69d0519b567d4ca603894a694b4ba253c84 | [
"Apache-2.0"
] | null | null | null | example/mysql_c++/mysqlclient_press.cpp | yanglimingchn/brpc | 0f9ff69d0519b567d4ca603894a694b4ba253c84 | [
"Apache-2.0"
] | 1 | 2020-05-13T03:44:24.000Z | 2020-05-13T03:44:24.000Z | // Copyright (c) 2014 Baidu, 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... | 34.758333 | 99 | 0.552865 | [
"vector"
] |
b1f2f38e7970ba22bbefb39a6c9540ff28598a3d | 29,626 | cpp | C++ | src/unpackertool/plugins/mpress/mpress.cpp | LaudateCorpus1/retdec | 4a5d9ef75cc050b27f926fab49881cc771688109 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 4,816 | 2017-12-12T18:07:09.000Z | 2019-04-17T02:01:04.000Z | src/unpackertool/plugins/mpress/mpress.cpp | LaudateCorpus1/retdec | 4a5d9ef75cc050b27f926fab49881cc771688109 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 514 | 2017-12-12T18:22:52.000Z | 2019-04-16T16:07:11.000Z | src/unpackertool/plugins/mpress/mpress.cpp | LaudateCorpus1/retdec | 4a5d9ef75cc050b27f926fab49881cc771688109 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 579 | 2017-12-12T18:38:02.000Z | 2019-04-11T13:32:53.000Z | /**
* @file src/unpackertool/plugins/mpress/mpress.cpp
* @brief Unpacker plugin for MPRESS packer.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include <algorithm>
#include <cstdint>
#include <memory>
#include "retdec/loader/loader.h"
#include "retdec/unpacker/plugin.h"
#include "retde... | 41.377095 | 179 | 0.7567 | [
"vector"
] |
b1f360c845f842613b8c3577ae43c55484898252 | 24,231 | cpp | C++ | MiniEngine/Tools/SDFFontCreator/SDFFontCreator.cpp | Xeio/DirectX-Graphics-Samples | 870e283ad4ba262e2505a9c52eaab812991f1652 | [
"MIT"
] | 1 | 2019-12-11T14:22:40.000Z | 2019-12-11T14:22:40.000Z | MiniEngine/Tools/SDFFontCreator/SDFFontCreator.cpp | 5ai8ot/DirectX-Graphics-Samples | aee9b669fc23ac5cb0b998fcbf79705a0e89b0a7 | [
"MIT"
] | null | null | null | MiniEngine/Tools/SDFFontCreator/SDFFontCreator.cpp | 5ai8ot/DirectX-Graphics-Samples | aee9b669fc23ac5cb0b998fcbf79705a0e89b0a7 | [
"MIT"
] | 3 | 2018-11-18T05:36:49.000Z | 2019-12-11T14:22:42.000Z | #include <fstream>
#include <set>
#include <cmath>
#include <ft2build.h>
#include <cstdint>
#include <thread>
#include <vector>
#include <algorithm>
#include <intrin.h>
#include FT_FREETYPE_H
#define kMajorVersion 1
#define kMinorVersion 0
#define kMaxTextureDimension 4096
using namespace std... | 34.370213 | 125 | 0.582766 | [
"render",
"vector"
] |
b1f4951c1b752aea0140fa84e2fa20dda26edd61 | 697 | cpp | C++ | lib/ShieldControl/ShieldControl.cpp | pbeeken/VernierLabProj | 786c89729e0725a0278c62475221218c95fe846c | [
"MIT"
] | null | null | null | lib/ShieldControl/ShieldControl.cpp | pbeeken/VernierLabProj | 786c89729e0725a0278c62475221218c95fe846c | [
"MIT"
] | null | null | null | lib/ShieldControl/ShieldControl.cpp | pbeeken/VernierLabProj | 786c89729e0725a0278c62475221218c95fe846c | [
"MIT"
] | null | null | null | /****************************************************************
* ShieldControl
* This encapsulates the control and state engine for the Arduino
* management of the Vernier Shield. There should be only one
* instance of this object which is the data acquisition tool
* Tested and developed in Platformio 3.1.0
* ... | 26.807692 | 68 | 0.598278 | [
"object"
] |
b1f539b90444112eb450a38bbe825782142b54c2 | 14,469 | cpp | C++ | src/shell/commands/recovery.cpp | empiredan/pegasus | a095172ad1559cc0e65c7807a2baedc607cde50c | [
"Apache-2.0"
] | 1,352 | 2017-10-16T03:24:54.000Z | 2020-08-18T04:44:23.000Z | src/shell/commands/recovery.cpp | empiredan/pegasus | a095172ad1559cc0e65c7807a2baedc607cde50c | [
"Apache-2.0"
] | 299 | 2017-10-19T05:33:32.000Z | 2020-08-17T09:03:39.000Z | src/shell/commands/recovery.cpp | empiredan/pegasus | a095172ad1559cc0e65c7807a2baedc607cde50c | [
"Apache-2.0"
] | 240 | 2017-10-16T05:57:04.000Z | 2020-08-18T10:02:36.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 you under the Apache License, Version 2.0 (the
* "License"); you ... | 38.687166 | 100 | 0.503214 | [
"vector"
] |
b1f9af47f6cf3cb2e764d809a2c6a8e8f48fb37d | 1,073 | cpp | C++ | src/Street.cpp | TheusStremens/mark-simulator | a4a2c993669f669f7004e2588d4b6ba7953b9c89 | [
"MIT"
] | null | null | null | src/Street.cpp | TheusStremens/mark-simulator | a4a2c993669f669f7004e2588d4b6ba7953b9c89 | [
"MIT"
] | null | null | null | src/Street.cpp | TheusStremens/mark-simulator | a4a2c993669f669f7004e2588d4b6ba7953b9c89 | [
"MIT"
] | null | null | null | #include <iostream>
#include "Vehicle.hpp"
#include "Intersection.hpp"
#include "Street.hpp"
Street::Street()
{
_type = ObjectType::objectStreet;
}
Street::Street(StreetOrientation orientation, bool is_loop_image_street)
: _orientation(orientation),
_is_loop_image_street(is_loop_image_street)
{
_type = Obje... | 24.953488 | 73 | 0.754893 | [
"vector"
] |
b1fbc68f0cc9f65096361ae4e5eac9abb6336fca | 8,518 | hpp | C++ | src/lib/helper/parallel_sort.hpp | EvilMcJerkface/hyrise-v1 | d97fa0df5b9e2b9aaa78865c010e93173404086d | [
"MIT"
] | 7 | 2017-11-13T11:02:59.000Z | 2022-02-05T11:49:35.000Z | src/lib/helper/parallel_sort.hpp | EvilMcJerkface/hyrise-v1 | d97fa0df5b9e2b9aaa78865c010e93173404086d | [
"MIT"
] | null | null | null | src/lib/helper/parallel_sort.hpp | EvilMcJerkface/hyrise-v1 | d97fa0df5b9e2b9aaa78865c010e93173404086d | [
"MIT"
] | 6 | 2017-10-19T13:34:08.000Z | 2020-11-30T13:14:47.000Z | // Copyright (c) 2012 Hasso-Plattner-Institut fuer Softwaresystemtechnik GmbH. All rights reserved.
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <vector>
#include <pthread.h>
#include <sys/time.h>
#include <queue>
#include <assert.h>
template <class T, void (T::*mem_fn)(void*)>
vo... | 28.205298 | 116 | 0.540268 | [
"vector"
] |
b1fe7921cfb3d1200dbeb485741a98acea28e4a7 | 3,416 | cc | C++ | core/optimizer.cc | tintor/mono | 396edd39e45f536cac91b1fa6524f019244e4549 | [
"Apache-2.0"
] | 1 | 2020-09-27T05:07:20.000Z | 2020-09-27T05:07:20.000Z | core/optimizer.cc | tintor/mono | 396edd39e45f536cac91b1fa6524f019244e4549 | [
"Apache-2.0"
] | null | null | null | core/optimizer.cc | tintor/mono | 396edd39e45f536cac91b1fa6524f019244e4549 | [
"Apache-2.0"
] | null | null | null | #include "core/optimizer.h"
#include "core/numeric.h"
#include "core/timestamp.h"
void Optimizer::Optimize(span<ParamT *> params) {
for (auto p : params) {
Timestamp ts;
EACH(p->v) p->v[i] -= alpha * p->g[i];
p->backward_ticks += ts.elapsed();
}
}
void Momentum::Optimize(span<ParamT *>... | 32.846154 | 118 | 0.567916 | [
"shape"
] |
5904ba5ff409d5978114b3cc5780fd92db6933f7 | 21,277 | cpp | C++ | Source/VRTemplate/Interactables/GrabbableSkelMesh.cpp | Lewisscrivens/VRTemplate | c4ec89097fef3a6691b28771c514122b36df312a | [
"MIT"
] | null | null | null | Source/VRTemplate/Interactables/GrabbableSkelMesh.cpp | Lewisscrivens/VRTemplate | c4ec89097fef3a6691b28771c514122b36df312a | [
"MIT"
] | null | null | null | Source/VRTemplate/Interactables/GrabbableSkelMesh.cpp | Lewisscrivens/VRTemplate | c4ec89097fef3a6691b28771c514122b36df312a | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Interactables/GrabbableSkelMesh.h"
#include "Components/StaticMeshComponent.h"
#include "Components/SkeletalMeshComponent.h"
#include "Components/ShapeComponent.h"
#include "Components/BoxComponent.h"
#include "Player/VRPhysicsHan... | 37.459507 | 218 | 0.772336 | [
"mesh",
"object",
"transform"
] |
5908d985a3173fad1fa8ba485fe5161a4976a247 | 16,441 | cpp | C++ | thrift/lib/cpp2/async/HeaderServerChannel.cpp | sakibguy/fbthrift | 8123a9192519072e119ac9817c6b59a35b98b81c | [
"Apache-2.0"
] | 2,112 | 2015-01-02T11:34:27.000Z | 2022-03-31T16:30:42.000Z | thrift/lib/cpp2/async/HeaderServerChannel.cpp | sakibguy/fbthrift | 8123a9192519072e119ac9817c6b59a35b98b81c | [
"Apache-2.0"
] | 372 | 2015-01-05T10:40:09.000Z | 2022-03-31T20:45:11.000Z | thrift/lib/cpp2/async/HeaderServerChannel.cpp | sakibguy/fbthrift | 8123a9192519072e119ac9817c6b59a35b98b81c | [
"Apache-2.0"
] | 582 | 2015-01-03T01:51:56.000Z | 2022-03-31T02:01:09.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 34.758985 | 80 | 0.674351 | [
"transform"
] |
590b3641d0a34f83465949b8846da871786c59ad | 2,829 | cpp | C++ | lte/gateway/c/session_manager/SessionRules.cpp | KenG98/magma | dac860761778371f305901e54d81fb09eff102e7 | [
"BSD-3-Clause"
] | null | null | null | lte/gateway/c/session_manager/SessionRules.cpp | KenG98/magma | dac860761778371f305901e54d81fb09eff102e7 | [
"BSD-3-Clause"
] | null | null | null | lte/gateway/c/session_manager/SessionRules.cpp | KenG98/magma | dac860761778371f305901e54d81fb09eff102e7 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "S... | 26.194444 | 79 | 0.763521 | [
"vector"
] |
590dce2b12da788c6c7bbbf8cbd69dd091517360 | 41,641 | cpp | C++ | kernel/src/simulationTools/OSNSMultipleImpact.cpp | siconos/siconos-deb | 2739a23f23d797dbfecec79d409e914e13c45c67 | [
"Apache-2.0"
] | null | null | null | kernel/src/simulationTools/OSNSMultipleImpact.cpp | siconos/siconos-deb | 2739a23f23d797dbfecec79d409e914e13c45c67 | [
"Apache-2.0"
] | null | null | null | kernel/src/simulationTools/OSNSMultipleImpact.cpp | siconos/siconos-deb | 2739a23f23d797dbfecec79d409e914e13c45c67 | [
"Apache-2.0"
] | null | null | null | /* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2016 INRIA.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*... | 38.735814 | 256 | 0.621623 | [
"vector",
"model"
] |
59121623594c1e10b67b99310a19be3ae6a0fa15 | 1,181 | hpp | C++ | Includes/renderer.hpp | abaire/NevolutionX | 54b04d009a4a6d9186f88082e52ad278f80d3839 | [
"MIT"
] | 72 | 2019-03-28T19:23:52.000Z | 2022-03-12T05:58:19.000Z | Includes/renderer.hpp | abaire/NevolutionX | 54b04d009a4a6d9186f88082e52ad278f80d3839 | [
"MIT"
] | 94 | 2019-04-30T06:59:43.000Z | 2022-02-20T23:06:25.000Z | Includes/renderer.hpp | abaire/NevolutionX | 54b04d009a4a6d9186f88082e52ad278f80d3839 | [
"MIT"
] | 26 | 2019-04-27T14:11:11.000Z | 2022-03-27T03:18:47.000Z | #ifndef RENDERER_H
#define RENDERER_H
#include <SDL.h>
#include <vector>
int min(int lhs, int rhs);
int max(int lhs, int rhs);
class Renderer {
public:
Renderer();
~Renderer();
int init();
int init(const char* bg);
int clear();
void flip();
SDL_Renderer* getRenderer() { return renderer; }
int getWi... | 21.87037 | 91 | 0.692633 | [
"vector"
] |
59156541fa48813df310de526bbb7857202c7e03 | 15,616 | cpp | C++ | Tests/UnitTests/Sources/FunctionTest/Conv2DTest.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 6 | 2021-07-06T10:52:33.000Z | 2021-12-30T11:30:04.000Z | Tests/UnitTests/Sources/FunctionTest/Conv2DTest.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 1 | 2022-01-07T12:18:03.000Z | 2022-01-08T12:23:13.000Z | Tests/UnitTests/Sources/FunctionTest/Conv2DTest.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 3 | 2021-12-05T06:21:50.000Z | 2022-01-09T12:44:23.000Z | // Copyright (c) 2021, Justin Kim
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#include <FunctionTest/Conv2DTest.hpp>
#include <TestUtil.hpp>
#include <Sapphire/compute/Convolutio... | 31.739837 | 80 | 0.577036 | [
"shape",
"vector"
] |
59156666a862088831512d39a7c7049335608ad1 | 636 | cpp | C++ | Easy/Minimum Value to Get Positive Step by Step Sum.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | Easy/Minimum Value to Get Positive Step by Step Sum.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | Easy/Minimum Value to Get Positive Step by Step Sum.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | class Solution { //Runtime: 0 ms, faster than 100.00% of C++ online submissions for Minimum Value to Get Positive Step by Step Sum.
public:
int minStartValue(vector<int>& nums)
{
int minimum = min(0,nums[0]); //minimum can either be 0 or a negative value
for(in... | 45.428571 | 155 | 0.539308 | [
"vector"
] |
59159b49ec5685bcfde475fbf44e8d5ef4ecc6b8 | 410 | cc | C++ | RecoHGCal/TICL/plugins/PatternRecognitionbyMultiClusters.cc | akssikdar/cmssw | 060bed0f27c94e9803b26f2f595fab5db394a6d8 | [
"Apache-2.0"
] | 2 | 2020-05-09T16:03:43.000Z | 2020-05-09T16:03:50.000Z | RecoHGCal/TICL/plugins/PatternRecognitionbyMultiClusters.cc | akssikdar/cmssw | 060bed0f27c94e9803b26f2f595fab5db394a6d8 | [
"Apache-2.0"
] | null | null | null | RecoHGCal/TICL/plugins/PatternRecognitionbyMultiClusters.cc | akssikdar/cmssw | 060bed0f27c94e9803b26f2f595fab5db394a6d8 | [
"Apache-2.0"
] | 3 | 2019-03-09T13:06:43.000Z | 2020-07-03T00:47:30.000Z | #include "PatternRecognitionbyMultiClusters.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
void ticl::PatternRecognitionbyMultiClusters::makeTracksters(
const PatternRecognitionAlgoBase::Inputs& input,
std::vector<Trackster>& result,
std::unordered_map<int, std::vector<int>>& seedToTracksterA... | 41 | 76 | 0.782927 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.