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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1497bf3ba8d686001b0c5f00cd96fb73e8ce45dd | 1,532 | hpp | C++ | source/problem/Green-Naghdi/discretization_EHDG/kernels_preprocessor/ehdg_gn_pre_serial.hpp | kazbekkm/dgswemv2 | 69f12ec10372646052928bf1c94e6de5b0269300 | [
"MIT"
] | 5 | 2018-05-30T08:43:10.000Z | 2021-12-14T18:33:10.000Z | source/problem/Green-Naghdi/discretization_EHDG/kernels_preprocessor/ehdg_gn_pre_serial.hpp | kazbekkm/dgswemv2 | 69f12ec10372646052928bf1c94e6de5b0269300 | [
"MIT"
] | 57 | 2018-05-08T21:44:14.000Z | 2019-11-07T17:13:30.000Z | source/problem/Green-Naghdi/discretization_EHDG/kernels_preprocessor/ehdg_gn_pre_serial.hpp | kazbekkm/dgswemv2 | 69f12ec10372646052928bf1c94e6de5b0269300 | [
"MIT"
] | 7 | 2018-05-07T21:50:49.000Z | 2021-04-30T14:02:02.000Z | #ifndef EHDG_GN_PRE_SERIAL_HPP
#define EHDG_GN_PRE_SERIAL_HPP
#include "problem/Green-Naghdi/problem_preprocessor/gn_pre_init_data.hpp"
#include "ehdg_gn_pre_dbath_serial.hpp"
namespace GN {
namespace EHDG {
void Problem::preprocessor_serial(ProblemDiscretizationType& discretization,
... | 42.555556 | 113 | 0.72389 | [
"mesh"
] |
149931e2c4ede82a86005b12b1436cc57bf5e227 | 1,041 | cc | C++ | src/comm/segment/bmm_segment.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | 3 | 2021-08-18T09:59:42.000Z | 2021-09-07T03:11:28.000Z | src/comm/segment/bmm_segment.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | null | null | null | src/comm/segment/bmm_segment.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | null | null | null | #include "bmm_segment.h"
BmmSegment::BmmSegment()
{
}
BmmSegment::~BmmSegment()
{
}
void BmmSegment::ConcreteSplit(const string& str, uint32_t appid, vector<string>& bmm_list){
iutf8string phrase(str);
int maxlen = MAX_WORD_LEN;
int len_phrase = phrase.length();
int i = len_phrase, j = 0;
while (i ... | 27.394737 | 92 | 0.528338 | [
"vector"
] |
149aa77b4e08641ce1ac07a153126b80559ee035 | 6,057 | cpp | C++ | src/learn/reinforcement_learn.cpp | SakodaShintaro/Miacis | af3508076660cc6e19186f17fa436499e32164f5 | [
"BSD-3-Clause"
] | 10 | 2019-05-14T12:54:49.000Z | 2022-02-28T12:02:52.000Z | src/learn/reinforcement_learn.cpp | SakodaShintaro/Miacis | af3508076660cc6e19186f17fa436499e32164f5 | [
"BSD-3-Clause"
] | null | null | null | src/learn/reinforcement_learn.cpp | SakodaShintaro/Miacis | af3508076660cc6e19186f17fa436499e32164f5 | [
"BSD-3-Clause"
] | null | null | null | #include "../model/infer_model.hpp"
#include "game_generator.hpp"
#include "hyperparameter_loader.hpp"
#include "learn.hpp"
#include <torch/torch.h>
void reinforcementLearn() {
// clang-format off
SearchOptions search_options;
HyperparameterLoader settings("reinforcement_learn_settings.txt");
float la... | 44.211679 | 122 | 0.643223 | [
"vector",
"model"
] |
149d9f1198e2a721b2048a731dea3fc885c496e8 | 1,521 | cc | C++ | code/tests/mathtest/vectortest.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/tests/mathtest/vectortest.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/tests/mathtest/vectortest.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// vectortest.cc
// (C) 2009 Radon Labs GmbH
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "vectortest.h"
#include "math/vector.h"
#include "mathtestutil.h"
#include "stack... | 25.779661 | 96 | 0.510191 | [
"vector"
] |
14a165a1ca3ffcf26aa152ff15ad9113ebf88bdd | 566 | hpp | C++ | xgcp/xgcp_gyro_scatter.hpp | dhyan1272/pumi-pic | 52fe63537720a7c767b789ddf124873f7517de96 | [
"BSD-3-Clause"
] | null | null | null | xgcp/xgcp_gyro_scatter.hpp | dhyan1272/pumi-pic | 52fe63537720a7c767b789ddf124873f7517de96 | [
"BSD-3-Clause"
] | null | null | null | xgcp/xgcp_gyro_scatter.hpp | dhyan1272/pumi-pic | 52fe63537720a7c767b789ddf124873f7517de96 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "xgcp_mesh.hpp"
namespace xgcp {
void setGyroConfig(Input& input);
void printGyroConfig();
void createIonGyroRingMappings(o::Mesh* mesh, o::LOs& forward_map,
o::LOs& backward_map);
void gyroScatter(Mesh& mesh, PS_I* ptcls);
void gyroScatter(Mesh& mesh... | 26.952381 | 84 | 0.666078 | [
"mesh"
] |
14a2666b55f89289cb7594172421cc6bfafaef73 | 7,045 | hpp | C++ | expressions/scalar/ScalarCaseExpression.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 82 | 2016-04-18T03:59:06.000Z | 2019-02-04T11:46:08.000Z | expressions/scalar/ScalarCaseExpression.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 265 | 2016-04-19T17:52:43.000Z | 2018-10-11T17:55:08.000Z | expressions/scalar/ScalarCaseExpression.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 68 | 2016-04-18T05:00:34.000Z | 2018-10-30T12:41:02.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.288043 | 90 | 0.729312 | [
"vector"
] |
14a3a339ad3319f1067495e0c0332b45362b2608 | 828 | hpp | C++ | NWNXLib/Encoding.hpp | GideonCrawle/unified | 2a310e0012badfcc9675bd8c8554613b5354e21a | [
"MIT"
] | null | null | null | NWNXLib/Encoding.hpp | GideonCrawle/unified | 2a310e0012badfcc9675bd8c8554613b5354e21a | [
"MIT"
] | null | null | null | NWNXLib/Encoding.hpp | GideonCrawle/unified | 2a310e0012badfcc9675bd8c8554613b5354e21a | [
"MIT"
] | null | null | null | //
// Helper library to encode/decode various streams
//
#include <string>
#include <vector>
namespace NWNXLib::Encoding {
enum Locale
{
Default,
Western,
Russian,
};
Locale GetDefaultLocale();
void SetDefaultLocale(Locale locale);
void SetDefaultLocale(const std::string& locale);
std::string ToUTF8(co... | 19.714286 | 83 | 0.716184 | [
"vector"
] |
14a541e6bb74565b7e20231bc05dfc4b175b6851 | 4,134 | cpp | C++ | Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | 2 | 2022-02-16T02:12:38.000Z | 2022-02-20T18:40:41.000Z | Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/WindowObject.h>
#include <LibWeb/DOM/Document.h>
#include <LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.h>
namespace Web::HTML {
WindowEnvironmentSettingsObject::WindowEnviro... | 47.517241 | 221 | 0.764635 | [
"object"
] |
14a545ca056d1ee0990707f51ff586e98f91ff63 | 33,842 | cc | C++ | src/yajlpp/yajlpp.cc | rzadp/lnav | 853ef11435e04717249ad2f643afffa510cddfc7 | [
"BSD-2-Clause"
] | null | null | null | src/yajlpp/yajlpp.cc | rzadp/lnav | 853ef11435e04717249ad2f643afffa510cddfc7 | [
"BSD-2-Clause"
] | null | null | null | src/yajlpp/yajlpp.cc | rzadp/lnav | 853ef11435e04717249ad2f643afffa510cddfc7 | [
"BSD-2-Clause"
] | null | null | null | /**
* Copyright (c) 2015, Timothy Stack
*
* 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 condi... | 32.952288 | 128 | 0.574316 | [
"object",
"vector"
] |
14a936198e0c1c89c15b0d2eb81cf0aa909ff848 | 1,532 | cpp | C++ | tests/test.cpp | Beenv12/BSTTree | b91dfb9563c75449d3143d31edb6209305bef1b8 | [
"MIT"
] | null | null | null | tests/test.cpp | Beenv12/BSTTree | b91dfb9563c75449d3143d31edb6209305bef1b8 | [
"MIT"
] | null | null | null | tests/test.cpp | Beenv12/BSTTree | b91dfb9563c75449d3143d31edb6209305bef1b8 | [
"MIT"
] | null | null | null | #include "catch.hpp"
#include <tree.hpp>
using namespace AVLTree;
TEST_CASE("output values should match input values", "[file]")
{
TUI obj;
std::vector<int> a = {3, 4, 4, 2, 6, 8, 7};
a = obj.CorrectFunction(a);
REQUIRE(a[2] == 2);
Tree *tree = new Tree(a);
Tree tree1 = {3, 4, 4, 2, 6, 8, 7};
... | 24.709677 | 62 | 0.585509 | [
"vector"
] |
14afa80c40bac6f70949f0d46d89940bb43e9e6e | 19,715 | hh | C++ | perception_oru-port-kinetic/ndt_visualisation/include/ndt_visualisation/NDTVizGlut.hh | lllray/ndt-loam | 331867941e0764b40e1a980dd85d2174f861e9c8 | [
"BSD-3-Clause"
] | 1 | 2020-11-14T08:21:13.000Z | 2020-11-14T08:21:13.000Z | perception_oru-port-kinetic/ndt_visualisation/include/ndt_visualisation/NDTVizGlut.hh | lllray/ndt-loam | 331867941e0764b40e1a980dd85d2174f861e9c8 | [
"BSD-3-Clause"
] | 1 | 2021-07-28T04:47:56.000Z | 2021-07-28T04:47:56.000Z | perception_oru-port-kinetic/ndt_visualisation/include/ndt_visualisation/NDTVizGlut.hh | lllray/ndt-loam | 331867941e0764b40e1a980dd85d2174f861e9c8 | [
"BSD-3-Clause"
] | 2 | 2020-12-18T11:25:53.000Z | 2022-02-19T12:59:59.000Z | #ifndef NDTVIZGLUT_HH
#define NDTVIZGLUT_HH
#include <GL/freeglut.h>
#include <vector>
#include <string>
#include <math.h>
#include <iostream>
#include <deque>
#include <Eigen/Core>
#include <Eigen/Eigenvalues>
#include <boost/thread.hpp>
#include <assert.h>
#include <unistd.h>
#include <math.h>
#include <iostrea... | 25.771242 | 111 | 0.61892 | [
"render",
"object",
"vector",
"3d"
] |
14b1dca273ab33f402648caa816882b3df44e2c8 | 13,843 | cpp | C++ | cpp/src/binaryop/binaryop.cpp | williamBlazing/cudf | 072785e24fd59b6f4eeaad3b54592a8c803ee96b | [
"Apache-2.0"
] | 2 | 2019-12-25T14:20:17.000Z | 2019-12-25T14:33:02.000Z | cpp/src/binaryop/binaryop.cpp | williamBlazing/cudf | 072785e24fd59b6f4eeaad3b54592a8c803ee96b | [
"Apache-2.0"
] | null | null | null | cpp/src/binaryop/binaryop.cpp | williamBlazing/cudf | 072785e24fd59b6f4eeaad3b54592a8c803ee96b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019, NVIDIA CORPORATION.
*
* Copyright 2018-2019 BlazingDB, Inc.
* Copyright 2018 Christian Noboa Mardini <christian@blazingdb.com>
*
* 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 co... | 40.241279 | 83 | 0.57921 | [
"vector"
] |
14b96dd01acce1fc53e60196fdfdba15cd924542 | 167,990 | cc | C++ | src/ifmap/test/ifmap_xmpp_test.cc | Mirantis/contrail-controller | 6a8ce71bde9f30e14241027dc89fcd9ca6ac0673 | [
"Apache-2.0"
] | 3 | 2019-01-11T06:16:40.000Z | 2021-02-24T23:48:21.000Z | src/ifmap/test/ifmap_xmpp_test.cc | Mirantis/contrail-controller | 6a8ce71bde9f30e14241027dc89fcd9ca6ac0673 | [
"Apache-2.0"
] | null | null | null | src/ifmap/test/ifmap_xmpp_test.cc | Mirantis/contrail-controller | 6a8ce71bde9f30e14241027dc89fcd9ca6ac0673 | [
"Apache-2.0"
] | 2 | 2019-02-06T12:52:00.000Z | 2019-04-11T23:19:28.000Z | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "base/logging.h"
#include "base/timer_impl.h"
#include "base/test/task_test_util.h"
#include "control-node/control_node.h"
#include "db/db.h"
#include "db/db_graph.h"
#include "ifmap/ifmap_client.h"
#include "ifmap/ifmap_exporter.h"
#inc... | 41.778165 | 80 | 0.702417 | [
"object"
] |
14b99a300ebcb089518e766ede7a8112e4d321e1 | 2,594 | cc | C++ | src/copy/tasks/compact_gpu.cc | marcinz/legate.pandas | 94c21c436f59c06cfba454c6569e9f5d7109d839 | [
"Apache-2.0"
] | 67 | 2021-04-12T18:06:55.000Z | 2022-03-28T06:51:05.000Z | src/copy/tasks/compact_gpu.cc | marcinz/legate.pandas | 94c21c436f59c06cfba454c6569e9f5d7109d839 | [
"Apache-2.0"
] | 2 | 2021-06-22T00:30:36.000Z | 2021-07-01T22:12:43.000Z | src/copy/tasks/compact_gpu.cc | marcinz/legate.pandas | 94c21c436f59c06cfba454c6569e9f5d7109d839 | [
"Apache-2.0"
] | 6 | 2021-04-14T21:28:00.000Z | 2022-03-22T09:45:25.000Z | /* Copyright 2021 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 30.880952 | 93 | 0.692367 | [
"shape",
"vector"
] |
14c9c5ac4ab5330b02bd2c638c4e05fd299802f7 | 106,221 | cc | C++ | tests/wintrospection/test_modlist_i386.cc | MarkMankins/libosi | 2d67ed8066098bc798a53c06dffb5ba257d89bde | [
"BSD-3-Clause"
] | 3 | 2021-02-23T09:13:07.000Z | 2021-08-13T14:15:06.000Z | tests/wintrospection/test_modlist_i386.cc | MarkMankins/libosi | 2d67ed8066098bc798a53c06dffb5ba257d89bde | [
"BSD-3-Clause"
] | 3 | 2021-12-02T17:51:48.000Z | 2022-03-04T20:02:32.000Z | tests/wintrospection/test_modlist_i386.cc | MarkMankins/libosi | 2d67ed8066098bc798a53c06dffb5ba257d89bde | [
"BSD-3-Clause"
] | 2 | 2021-12-07T00:42:31.000Z | 2022-03-04T15:42:12.000Z | #include "iohal/memory/virtual_memory.h"
#include "offset/offset.h"
#include "osi/windows/manager.h"
#include "osi/windows/wintrospection.h"
#include "gtest/gtest.h"
#include <set>
#include <unistd.h>
#include <iostream>
#include <map>
#include <vector>
char* testfile = nullptr;
struct ModuleInfo {
uint64_t base... | 67.786216 | 89 | 0.637285 | [
"vector"
] |
14d2cd76cffe16b565b5f4ec0b6103aa816a4da6 | 3,518 | cpp | C++ | Hazel/src/Hazel/Renderer/Renderer.cpp | diplodocus33/Hazel | 609d105946ae04a747cb0f2813d796a1ad3d03f4 | [
"Apache-2.0"
] | null | null | null | Hazel/src/Hazel/Renderer/Renderer.cpp | diplodocus33/Hazel | 609d105946ae04a747cb0f2813d796a1ad3d03f4 | [
"Apache-2.0"
] | null | null | null | Hazel/src/Hazel/Renderer/Renderer.cpp | diplodocus33/Hazel | 609d105946ae04a747cb0f2813d796a1ad3d03f4 | [
"Apache-2.0"
] | null | null | null | #include "hzpch.h"
#include "Renderer.h"
#include "Platform/OpenGL/OpenGLShader.h"
#include "Renderer2D.h"
#include "glm/gtc/matrix_transform.hpp"
namespace Hazel {
Ref<VertexArray> Renderer::s_VertexArray;
ShaderLibrary Renderer::s_ShaderLibrary;
Renderer::SceneData* Renderer::s_SceneData = new Renderer::SceneDa... | 30.068376 | 118 | 0.687891 | [
"transform"
] |
14d3343b616e1f821dfed81aa00d0fed7c52fedb | 10,101 | cpp | C++ | src/world.cpp | tcosmo/cqca | 47dcbf439a9e6658d8e055f584372d096683a196 | [
"MIT"
] | 3 | 2020-06-26T21:34:20.000Z | 2021-08-03T08:11:24.000Z | src/world.cpp | tcosmo/cqca | 47dcbf439a9e6658d8e055f584372d096683a196 | [
"MIT"
] | null | null | null | src/world.cpp | tcosmo/cqca | 47dcbf439a9e6658d8e055f584372d096683a196 | [
"MIT"
] | null | null | null | #include "world.h"
std::vector<CellPosAndCell> World::findCarryPropUpdates() {
std::vector<CellPosAndCell> toRet;
for (const sf::Vector2i &cellPos : cellsOnEdge) {
assert(doesCellExists(cellPos));
if (cells[cellPos].getStatus() != HALF_DEFINED)
continue;
if (doesCellExists(cellPos + EAST) &&
... | 29.025862 | 80 | 0.626968 | [
"vector"
] |
14d98dd5ad0068709ba85945fff4ad32b593d09d | 6,750 | ipp | C++ | code/contrafold/src/LBFGS.ipp | jialiasus2/RNA-Contest-2021 | d8cd340061ac7a70e1c2bba67d36c89cbde2555c | [
"Apache-2.0"
] | null | null | null | code/contrafold/src/LBFGS.ipp | jialiasus2/RNA-Contest-2021 | d8cd340061ac7a70e1c2bba67d36c89cbde2555c | [
"Apache-2.0"
] | null | null | null | code/contrafold/src/LBFGS.ipp | jialiasus2/RNA-Contest-2021 | d8cd340061ac7a70e1c2bba67d36c89cbde2555c | [
"Apache-2.0"
] | null | null | null | //////////////////////////////////////////////////////////////////////
// LBFGS.ipp
//
// This file contains an implementation of the standard
// limited-memory BFGS optimization algorithm.
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////... | 32.451923 | 129 | 0.473185 | [
"vector"
] |
14d9fc18ed19e421932ab204633f0a790ed3e065 | 14,378 | cpp | C++ | 3rdparty/wxWidgets/src/msw/calctrl.cpp | mikiec84/winsparkle | e73db4ddb3be830b36b58e2f90f4bee6a0c684b7 | [
"MIT"
] | 2 | 2015-01-10T09:15:16.000Z | 2018-01-03T21:21:46.000Z | 3rdparty/wxWidgets/src/msw/calctrl.cpp | mikiec84/winsparkle | e73db4ddb3be830b36b58e2f90f4bee6a0c684b7 | [
"MIT"
] | null | null | null | 3rdparty/wxWidgets/src/msw/calctrl.cpp | mikiec84/winsparkle | e73db4ddb3be830b36b58e2f90f4bee6a0c684b7 | [
"MIT"
] | 1 | 2019-01-20T12:55:33.000Z | 2019-01-20T12:55:33.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: src/msw/calctrl.cpp
// Purpose: wxCalendarCtrl implementation
// Author: Vadim Zeitlin
// Created: 2008-04-04
// RCS-ID: $Id: calctrl.cpp 61724 2009-08-21 10:41:26Z VZ $
// Copyright: (C) 2008 Vadim Zeitlin... | 28.987903 | 81 | 0.536445 | [
"geometry",
"transform"
] |
14db3fb86265604ef235eb025d466a369f00ffdf | 872 | cpp | C++ | leetcode/friend_circle.cpp | sandeepjindal/algos | e649c82bfb6b986c8462b09d28e07c2069e48792 | [
"MIT"
] | 1 | 2019-09-10T17:45:58.000Z | 2019-09-10T17:45:58.000Z | leetcode/friend_circle.cpp | sandeepjindal/algos | e649c82bfb6b986c8462b09d28e07c2069e48792 | [
"MIT"
] | null | null | null | leetcode/friend_circle.cpp | sandeepjindal/algos | e649c82bfb6b986c8462b09d28e07c2069e48792 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
void doDfs(vector<string>&related, int ind, vector<bool>&vis) {
if(vis[ind]){
return;
}
vis[ind] = true;
string relation = related[ind];
for(int i = 0;i<relation.size();i++) {
if(relation[i] == '1' and vis[i]== false) {
doD... | 18.553191 | 72 | 0.5 | [
"vector"
] |
14e0f0f4cd3c3a0aada2674a0dd5f56504493f5e | 12,105 | cpp | C++ | src/cfg.cpp | giag3/peng-utils | f0883ffbf3b422de2e0ea326861114b1f5809037 | [
"MIT"
] | 1 | 2022-03-28T11:20:50.000Z | 2022-03-28T11:20:50.000Z | src/cfg.cpp | giag3/peng-utils | f0883ffbf3b422de2e0ea326861114b1f5809037 | [
"MIT"
] | null | null | null | src/cfg.cpp | giag3/peng-utils | f0883ffbf3b422de2e0ea326861114b1f5809037 | [
"MIT"
] | null | null | null | #include "error_handler/error_handler.hpp"
#include "vars.hpp"
// Retuns an ANSI escape sequence for background with color
extern std::string bkg(color_code ccode, graphic_rendition);
// Retuns an ANSI escape sequence for foreground with color
extern std::string frg(color_code ccode, graphic_rendition gr);
// Reset ... | 35.086957 | 170 | 0.530938 | [
"vector"
] |
14e167bd2c74b543559cc90c32170eb84fbd6c62 | 13,595 | cpp | C++ | docker/cytnx/src/RegularNetwork.cpp | j9263178/Cytnx | cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b | [
"Apache-2.0"
] | 11 | 2020-04-14T15:45:42.000Z | 2022-03-31T14:37:03.000Z | docker/cytnx/src/RegularNetwork.cpp | j9263178/Cytnx | cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b | [
"Apache-2.0"
] | 38 | 2019-08-02T15:15:51.000Z | 2022-03-04T19:07:02.000Z | docker/cytnx/src/RegularNetwork.cpp | j9263178/Cytnx | cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b | [
"Apache-2.0"
] | 7 | 2019-07-17T07:50:55.000Z | 2021-07-03T06:44:52.000Z | #include <typeinfo>
#include "Network.hpp"
#include "utils/utils_internal_interface.hpp"
#include <stack>
#include <algorithm>
#include <iostream>
using namespace std;
namespace cytnx{
// these two are internal functions:
void _parse_ORDER_line_(vector<string> &tokens, const string &line){
cytnx_err... | 42.484375 | 237 | 0.556381 | [
"shape",
"vector"
] |
14e70570c68143e84e2d392ec53ceb0291e5f190 | 2,390 | hpp | C++ | source/common/Camera.hpp | Zainrax/COSC342-OpenGL | 223c45c763a82e543c62e3bc3b22e1220e20fe7d | [
"MIT"
] | null | null | null | source/common/Camera.hpp | Zainrax/COSC342-OpenGL | 223c45c763a82e543c62e3bc3b22e1220e20fe7d | [
"MIT"
] | null | null | null | source/common/Camera.hpp | Zainrax/COSC342-OpenGL | 223c45c763a82e543c62e3bc3b22e1220e20fe7d | [
"MIT"
] | null | null | null | /*
* Camera.hpp
*
* by Stefanie Zollmann
*
* Camera class.
*
*/
#ifndef CAMERA_HPP
#define CAMERA_HPP
// Include GLM
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
//! Camera.
/*!
Contains decriptions for a setting up a render camera.
*/
class Camera{
public:
... | 27.471264 | 87 | 0.596653 | [
"render",
"vector"
] |
14e796be9ef05a712bfaa9565ee263a004310a09 | 4,003 | cpp | C++ | TAO/orbsvcs/tests/FT_Naming/Load_Balancing/server.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/orbsvcs/tests/FT_Naming/Load_Balancing/server.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/orbsvcs/tests/FT_Naming/Load_Balancing/server.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: server.cpp 96320 2012-11-21 16:37:03Z mesnier_p $
#include "LB_server.h"
#include "Basic.h"
int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
try
{
const char *location1 = "MyLocation 1";
const char *location2 = "MyLocation 2";
const char *location3 = "MyLocation 3";
const char *locat... | 33.358333 | 83 | 0.531102 | [
"object"
] |
14e7d2aed3d953bb2287612b06e4aec359a1d71a | 5,033 | cpp | C++ | P0267_RefImpl/Samples/svg/external/svgpp/third_party/agg/examples/alpha_mask.cpp | zmm-Embedded/io2d | 2e53612d60692d70700b4f7d0f9e4e34dbe11388 | [
"BSL-1.0"
] | 17 | 2017-05-13T03:49:06.000Z | 2020-04-18T17:11:27.000Z | examples/alpha_mask.cpp | Sineaggi/Anti-Grain-Geometry | 37290a1526268898f7314eaca6369c907e2bc7b5 | [
"BSD-3-Clause"
] | 23 | 2017-03-17T03:20:46.000Z | 2020-08-28T09:49:42.000Z | examples/alpha_mask.cpp | Sineaggi/Anti-Grain-Geometry | 37290a1526268898f7314eaca6369c907e2bc7b5 | [
"BSD-3-Clause"
] | 3 | 2016-10-09T16:36:03.000Z | 2022-02-22T08:39:16.000Z | #include <stdlib.h>
#include <ctype.h>
#include <stdio.h>
#include "agg_basics.h"
#include "agg_rendering_buffer.h"
#include "agg_rasterizer_scanline_aa.h"
#include "agg_path_storage.h"
#include "agg_conv_transform.h"
#include "agg_bounding_rect.h"
#include "agg_renderer_scanline.h"
#include "agg_pixfmt_rgb.h"
#include... | 25.291457 | 90 | 0.598848 | [
"transform"
] |
14e80bc8d7c6748286e76a6c537eabc037168bc6 | 4,044 | cpp | C++ | examples/future_reduce/rnd_future_reduce.cpp | biddisco/pika | 6900b19b5bd0feea491c21f7557a863c0cf2b904 | [
"BSL-1.0"
] | 13 | 2022-01-17T12:01:48.000Z | 2022-03-16T10:03:14.000Z | examples/future_reduce/rnd_future_reduce.cpp | biddisco/pika | 6900b19b5bd0feea491c21f7557a863c0cf2b904 | [
"BSL-1.0"
] | 163 | 2022-01-17T17:36:45.000Z | 2022-03-31T17:42:57.000Z | examples/future_reduce/rnd_future_reduce.cpp | biddisco/pika | 6900b19b5bd0feea491c21f7557a863c0cf2b904 | [
"BSL-1.0"
] | 4 | 2022-01-19T08:44:22.000Z | 2022-01-31T23:16:21.000Z | // Copyright (c) 2014 John Biddiscombe
//
// SPDX-License-Identifier: BSL-1.0
// 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)
#include <pika/chrono.hpp>
#include <pika/future.hpp>
#include <pika/init.hpp>
#incl... | 31.107692 | 83 | 0.560336 | [
"vector"
] |
14edbc8986ec2cc534b0d34584aabe2703c9004a | 13,751 | cpp | C++ | pxr/base/lib/tf/testenv/notice.cpp | unity3d-jp/USD | 0f146383613e1efe872ea7c85aa3536f170fcda2 | [
"BSD-3-Clause"
] | 7 | 2016-12-13T00:53:38.000Z | 2020-04-02T13:25:50.000Z | pxr/base/lib/tf/testenv/notice.cpp | unity3d-jp/USD | 0f146383613e1efe872ea7c85aa3536f170fcda2 | [
"BSD-3-Clause"
] | null | null | null | pxr/base/lib/tf/testenv/notice.cpp | unity3d-jp/USD | 0f146383613e1efe872ea7c85aa3536f170fcda2 | [
"BSD-3-Clause"
] | 2 | 2016-12-13T00:53:40.000Z | 2020-05-04T07:32:53.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 27.175889 | 92 | 0.640463 | [
"vector"
] |
14efd5f1f16b95964007e6902690dd6899cd5ea4 | 4,266 | cc | C++ | packager/media/formats/webm/webm_crypto_helpers.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,288 | 2016-05-25T01:20:31.000Z | 2022-03-02T23:56:56.000Z | packager/media/formats/webm/webm_crypto_helpers.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 894 | 2016-05-17T00:39:30.000Z | 2022-03-02T18:46:21.000Z | packager/media/formats/webm/webm_crypto_helpers.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 400 | 2016-05-25T01:20:35.000Z | 2022-03-03T02:12:00.000Z | // Copyright 2014 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 "packager/media/formats/webm/webm_crypto_helpers.h"
#include "packager/base/logging.h"
#include "packager/base/sys_byteorder.h"
#include "packag... | 37.095652 | 85 | 0.650258 | [
"vector"
] |
14f777d20ec0eb3dcd9da0edde0458529859b54f | 9,304 | cpp | C++ | tests/Unit/Helpers/ApparentHorizons/StrahlkorperGrTestHelpers.cpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 1 | 2021-04-02T16:49:35.000Z | 2021-04-02T16:49:35.000Z | tests/Unit/Helpers/ApparentHorizons/StrahlkorperGrTestHelpers.cpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 19 | 2019-02-27T22:13:47.000Z | 2020-09-03T16:21:08.000Z | tests/Unit/Helpers/ApparentHorizons/StrahlkorperGrTestHelpers.cpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Helpers/ApparentHorizons/StrahlkorperGrTestHelpers.hpp"
#include <cmath>
#include <cstddef>
#include <vector>
#include "ApparentHorizons/YlmSpherepack.hpp"
#include "DataStructures/DataVector.hpp" // IWYU pragma: keep
#i... | 40.986784 | 80 | 0.691638 | [
"vector"
] |
14fa598fd38104066243ea29964d94ac83181449 | 5,966 | cpp | C++ | src/hawck-inputd.cpp | aidanharris/Hawck | aab56e85fb7408d9020f6e387b93d9f18d902415 | [
"BSD-2-Clause"
] | null | null | null | src/hawck-inputd.cpp | aidanharris/Hawck | aab56e85fb7408d9020f6e387b93d9f18d902415 | [
"BSD-2-Clause"
] | null | null | null | src/hawck-inputd.cpp | aidanharris/Hawck | aab56e85fb7408d9020f6e387b93d9f18d902415 | [
"BSD-2-Clause"
] | null | null | null | #include <string>
#include <fstream>
#include "KBDDaemon.hpp"
#include "Daemon.hpp"
#include "utils.hpp"
#if MESON_COMPILE
#include <hawck_config.h>
#else
#define INPUTD_VERSION "unknown"
#endif
extern "C" {
#include <signal.h>
#include <getopt.h>
#include <syslog.h>
}
using namespace std;
static void ... | 31.235602 | 103 | 0.519779 | [
"vector"
] |
14fb4b552fb120ed42d36c570a3bb24ad14c7adc | 1,101 | cpp | C++ | algorithms/cpp/522.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | 3 | 2016-10-01T10:15:09.000Z | 2017-07-09T02:53:36.000Z | algorithms/cpp/522.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | null | null | null | algorithms/cpp/522.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
#include <algorithm>
using namespace std;
class Solution {
private:
bool isSubSeq(const string &s, const string &q) {
if (s.size() < q.size())
return false;
int idx = 0;
for (int i = 0; i < s.size() && idx < q.size(); i++) {
... | 25.604651 | 64 | 0.476839 | [
"vector"
] |
14fef47334a00933e62b79ea8cdb7ba528e3284c | 7,209 | cc | C++ | ocr-pfst/ocrofst-io.cc | michaelyin/ocropus-git | b2673354bbcfba38f7a807708f64cd33aaeb0f6d | [
"Apache-2.0"
] | 3 | 2016-06-24T10:48:36.000Z | 2020-07-04T16:00:41.000Z | ocr-pfst/ocrofst-io.cc | michaelyin/ocropus-git | b2673354bbcfba38f7a807708f64cd33aaeb0f6d | [
"Apache-2.0"
] | null | null | null | ocr-pfst/ocrofst-io.cc | michaelyin/ocropus-git | b2673354bbcfba38f7a807708f64cd33aaeb0f6d | [
"Apache-2.0"
] | 11 | 2016-06-24T09:35:57.000Z | 2020-12-01T21:26:43.000Z | // Copyright 2008 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz
// or its licensors, as applicable.
//
// You may not use this file except under the terms of the accompanying license.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with ... | 29.545082 | 80 | 0.652102 | [
"vector"
] |
0901109925042ae3d4bb6525fafc542bdc22cd7d | 10,569 | cpp | C++ | src/gl/renderer/gl_renderstate.cpp | atsb/ReGLOOME | 2770853677513f204e9282c71d3fd38e4cd6c472 | [
"Unlicense"
] | 79 | 2015-07-07T00:54:33.000Z | 2022-01-31T05:26:12.000Z | src/gl/renderer/gl_renderstate.cpp | atsb/ReGLOOME | 2770853677513f204e9282c71d3fd38e4cd6c472 | [
"Unlicense"
] | 16 | 2015-07-02T20:10:02.000Z | 2016-04-15T14:58:45.000Z | src/gl/renderer/gl_renderstate.cpp | atsb/ReGLOOME | 2770853677513f204e9282c71d3fd38e4cd6c472 | [
"Unlicense"
] | 30 | 2015-07-02T08:13:14.000Z | 2021-11-22T08:32:51.000Z | /*
** gl_renderstate.cpp
** Render state maintenance
**
**---------------------------------------------------------------------------
** Copyright 2009 Christoph Oelckers
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the fol... | 28.642276 | 111 | 0.656637 | [
"render",
"3d"
] |
090da8c932a9b73b4430264376112079b775722c | 4,540 | hpp | C++ | include/codegen/include/System/Collections/Queue.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Collections/Queue.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Collections/Queue.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:52 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 38.803419 | 148 | 0.705727 | [
"object"
] |
0915597c276ef2f8e88baa557f1637216d54e1ed | 625 | cpp | C++ | crazyflie_cpp/test/sendPacket.cpp | diasdm/crazyf_ros | 93b8d4670df9f0766058e5d22e91f2f988f9676d | [
"MIT"
] | null | null | null | crazyflie_cpp/test/sendPacket.cpp | diasdm/crazyf_ros | 93b8d4670df9f0766058e5d22e91f2f988f9676d | [
"MIT"
] | null | null | null | crazyflie_cpp/test/sendPacket.cpp | diasdm/crazyf_ros | 93b8d4670df9f0766058e5d22e91f2f988f9676d | [
"MIT"
] | null | null | null | #include <iostream>
#include <crazyflie_cpp/Crazyradio.h>
int main()
{
Crazyradio radio(0); // Instantiate an object bound to the first Crazyflie found
radio.setChannel(100); // Update the base frequency to 2500 MHz
radio.setAddress(0xE7E7E7E701); // Set the address to send to
radio.setDatarate(Crazyradio::Da... | 27.173913 | 82 | 0.664 | [
"object"
] |
091955a0fd74e546f293e7f63ff865105134d467 | 1,876 | cpp | C++ | eigen/test/product_small.cpp | tamasdzs/APPRSDK | 7a1f1c2a2f6994791bab760d01270eca62a5a946 | [
"MIT"
] | 36 | 2015-03-09T16:47:14.000Z | 2021-02-04T08:32:04.000Z | ScalableLSH/DiskE2LSH/Eigen/test/product_small.cpp | USCDataScience/cmu-fg-bg-similarity | d8fc9a53937551f7a052bc2c6f442bcc29ea2615 | [
"Apache-2.0"
] | 42 | 2017-02-11T11:15:51.000Z | 2019-12-28T16:00:44.000Z | ScalableLSH/DiskE2LSH/Eigen/test/product_small.cpp | USCDataScience/cmu-fg-bg-similarity | d8fc9a53937551f7a052bc2c6f442bcc29ea2615 | [
"Apache-2.0"
] | 5 | 2015-10-15T05:46:48.000Z | 2020-05-11T17:40:36.000Z | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can ... | 30.754098 | 79 | 0.658849 | [
"vector"
] |
091a5db8803f8c0d085485f471af5817a4ca667f | 4,623 | cpp | C++ | examples/car/carDBA.cpp | yinanl/rocs | bf2483903e39f4c0ea254a9ef56720a1259955ad | [
"BSD-3-Clause"
] | null | null | null | examples/car/carDBA.cpp | yinanl/rocs | bf2483903e39f4c0ea254a9ef56720a1259955ad | [
"BSD-3-Clause"
] | null | null | null | examples/car/carDBA.cpp | yinanl/rocs | bf2483903e39f4c0ea254a9ef56720a1259955ad | [
"BSD-3-Clause"
] | null | null | null | /**
* carDBA.cpp
*
* A general main program performing DBA control synthesis.
* Based on the T operator: U_{j} pre(W_i | O_ij)
*
* The input spec files are: dba1,2,3.txt,
* in which the propositions are not simplified.
*
* Created by Yinan Li on Jan. 30, 2020.
*
* Hybrid Systems Group, University of... | 27.682635 | 73 | 0.533204 | [
"vector"
] |
091e3d2825e276fd1ea06bca82f3767eb3933212 | 6,703 | cc | C++ | sssp/sssp.cc | rohany/Lux | 626371133ca088fc234d031cc5a4bc3ed713d479 | [
"Apache-2.0"
] | 56 | 2018-06-04T22:17:26.000Z | 2022-01-25T08:12:06.000Z | sssp/sssp.cc | rohany/Lux | 626371133ca088fc234d031cc5a4bc3ed713d479 | [
"Apache-2.0"
] | 13 | 2019-01-08T16:15:37.000Z | 2022-02-22T00:11:12.000Z | sssp/sssp.cc | rohany/Lux | 626371133ca088fc234d031cc5a4bc3ed713d479 | [
"Apache-2.0"
] | 9 | 2018-09-25T07:03:47.000Z | 2021-11-17T16:02:30.000Z | /* Copyright 2018 Stanford, UT Austin, LANL
*
* 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... | 36.628415 | 78 | 0.63852 | [
"vector"
] |
091e7ac18425145046d9be78e7ff125f05c1b6af | 23,862 | cpp | C++ | Kobold2D/__Kobold2D__/libs/cocos3d/cocos3d/cc3PVR/PVRT 2.09/PVRTVertex.cpp | LiamInJapan/Kobold2D | 8347f38b3d7fc39bbc265a9a414c27f3be280a45 | [
"Unlicense"
] | 1 | 2015-04-17T16:35:08.000Z | 2015-04-17T16:35:08.000Z | Kobold2D/__Kobold2D__/libs/cocos3d/cocos3d/cc3PVR/PVRT 2.09/PVRTVertex.cpp | LiamInJapan/Kobold2D | 8347f38b3d7fc39bbc265a9a414c27f3be280a45 | [
"Unlicense"
] | null | null | null | Kobold2D/__Kobold2D__/libs/cocos3d/cocos3d/cc3PVR/PVRT 2.09/PVRTVertex.cpp | LiamInJapan/Kobold2D | 8347f38b3d7fc39bbc265a9a414c27f3be280a45 | [
"Unlicense"
] | null | null | null | /******************************************************************************
@File PVRTVertex.cpp
@Title PVRTVertex
@Version
@Copyright Copyright (c) Imagination Technologies Limited.
@Platform ANSI compatible
@Description Utility functions which process vertices.... | 29.864831 | 120 | 0.554857 | [
"vector",
"3d"
] |
0920736ec3689f2366ed93473e572b6598ebde0f | 7,152 | cc | C++ | test/base/Range.test.cc | shefmarkh/celeritas | 01a16333a44c6fea4d374959f6c1bed4c18a34fa | [
"Apache-2.0",
"MIT"
] | null | null | null | test/base/Range.test.cc | shefmarkh/celeritas | 01a16333a44c6fea4d374959f6c1bed4c18a34fa | [
"Apache-2.0",
"MIT"
] | null | null | null | test/base/Range.test.cc | shefmarkh/celeritas | 01a16333a44c6fea4d374959f6c1bed4c18a34fa | [
"Apache-2.0",
"MIT"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
// Copyright 2020 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... | 22.704762 | 104 | 0.533277 | [
"vector"
] |
0936337983b5776b533fb1d64ab195c944bfa742 | 7,640 | cpp | C++ | CPP/Shared/GuiProt/SearchPrintingPolicySwedish.cpp | wayfinder/Wayfinder-S60-Navigator | 14d1b729b2cea52f726874687e78f17492949585 | [
"BSD-3-Clause"
] | 6 | 2015-12-01T01:12:33.000Z | 2021-07-24T09:02:34.000Z | CPP/Shared/GuiProt/SearchPrintingPolicySwedish.cpp | wayfinder/Wayfinder-S60-Navigator | 14d1b729b2cea52f726874687e78f17492949585 | [
"BSD-3-Clause"
] | null | null | null | CPP/Shared/GuiProt/SearchPrintingPolicySwedish.cpp | wayfinder/Wayfinder-S60-Navigator | 14d1b729b2cea52f726874687e78f17492949585 | [
"BSD-3-Clause"
] | 2 | 2017-02-02T19:31:29.000Z | 2018-12-17T21:00:45.000Z | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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... | 35.37037 | 759 | 0.57788 | [
"vector"
] |
09394c0f37fe386d73934042c111c54394ef0392 | 4,459 | cc | C++ | RecoVertex/KinematicFit/src/KinematicParticleVertexFitter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoVertex/KinematicFit/src/KinematicParticleVertexFitter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoVertex/KinematicFit/src/KinematicParticleVertexFitter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "RecoVertex/KinematicFit/interface/KinematicParticleVertexFitter.h"
// #include "Vertex/LinearizationPointFinders/interface/LMSLinearizationPointFinder.h"
#include "RecoVertex/KinematicFit/interface/FinalTreeBuilder.h"
#include "RecoVertex/VertexTools/interface/SequentialVertexSmoother.h"
#include "RecoVertex/... | 45.969072 | 120 | 0.767437 | [
"vector"
] |
093a72b0020cef486c61ac648e0be84ec18c07f1 | 392 | cpp | C++ | C++/1. Introduction/8. Arrays Introduction/arrays-introduction.cpp | princeofpython/HakerRank-Practice | 510bc4230c5f704eb61721d9f420f76cdabf0bd2 | [
"MIT"
] | null | null | null | C++/1. Introduction/8. Arrays Introduction/arrays-introduction.cpp | princeofpython/HakerRank-Practice | 510bc4230c5f704eb61721d9f420f76cdabf0bd2 | [
"MIT"
] | null | null | null | C++/1. Introduction/8. Arrays Introduction/arrays-introduction.cpp | princeofpython/HakerRank-Practice | 510bc4230c5f704eb61721d9f420f76cdabf0bd2 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int n;
cin >> n;
int arr[n];
for(int j=0; j<n ; j++)
cin >> arr[j];
for(int i = n... | 18.666667 | 80 | 0.528061 | [
"vector"
] |
093a95093f0ea25afc4a9358b32a754a1d231aa3 | 7,333 | cpp | C++ | core/src/db/snapshot/Snapshots.cpp | openhisilicon/milvus | 1b4e49a3f4b05fe684ebb2aa804de3d341eb289c | [
"Apache-2.0"
] | 4 | 2020-07-29T02:59:53.000Z | 2021-11-16T11:07:51.000Z | core/src/db/snapshot/Snapshots.cpp | openhisilicon/milvus | 1b4e49a3f4b05fe684ebb2aa804de3d341eb289c | [
"Apache-2.0"
] | null | null | null | core/src/db/snapshot/Snapshots.cpp | openhisilicon/milvus | 1b4e49a3f4b05fe684ebb2aa804de3d341eb289c | [
"Apache-2.0"
] | 2 | 2021-06-09T23:50:48.000Z | 2021-06-17T06:24:29.000Z | // Copyright (C) 2019-2020 Zilliz. 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 l... | 30.176955 | 118 | 0.668349 | [
"vector"
] |
093cb01ad13c7eefbbfc2d9b7f59fa20fe087c72 | 101,389 | cc | C++ | client/clang_features.cc | xswz8015/goma_client | b0064de5f02694595792f4f38b5ec2ae81cf589d | [
"BSD-3-Clause"
] | null | null | null | client/clang_features.cc | xswz8015/goma_client | b0064de5f02694595792f4f38b5ec2ae81cf589d | [
"BSD-3-Clause"
] | null | null | null | client/clang_features.cc | xswz8015/goma_client | b0064de5f02694595792f4f38b5ec2ae81cf589d | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 The Goma Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This is auto-generated file by
// go run generate_feature_lists.go -r
// aee49255074fd4ef38d97e6e70cbfbf2f9fd0fa7 -o client/clang_features.cc.
//
// ... | 27.417253 | 79 | 0.645681 | [
"object",
"vector"
] |
093cf364c575972ebbcd5328b673a8c699b08027 | 387 | cpp | C++ | IcarusDetector/Modules/CPUAffinityTool.cpp | RoboPioneers/ProjectIcarus | 85328c0206d77617fe7fbb81b2ca0cda805de849 | [
"MIT"
] | 1 | 2021-10-05T03:43:57.000Z | 2021-10-05T03:43:57.000Z | IcarusDetector/Modules/CPUAffinityTool.cpp | RoboPioneers/ProjectIcarus | 85328c0206d77617fe7fbb81b2ca0cda805de849 | [
"MIT"
] | null | null | null | IcarusDetector/Modules/CPUAffinityTool.cpp | RoboPioneers/ProjectIcarus | 85328c0206d77617fe7fbb81b2ca0cda805de849 | [
"MIT"
] | null | null | null | #include "CPUAffinityTool.hpp"
#include <pthread.h>
namespace Gaia::Modules
{
int CPUAffinityTool::SetCurrentThreadCPUAffinity(const std::vector<unsigned int>& cpus)
{
cpu_set_t mask;
CPU_ZERO(&mask);
for (const auto index : cpus)
{
CPU_SET(index, &mask);
... | 20.368421 | 91 | 0.604651 | [
"vector"
] |
093eccccf46c240276b0e5984e10a3cc4862a862 | 1,477 | cpp | C++ | BinaryGenerator/Main.cpp | NEtuee/AnimationEngine | feb7d974edf9cb19725578cae1bcda35a0edc683 | [
"MIT"
] | null | null | null | BinaryGenerator/Main.cpp | NEtuee/AnimationEngine | feb7d974edf9cb19725578cae1bcda35a0edc683 | [
"MIT"
] | null | null | null | BinaryGenerator/Main.cpp | NEtuee/AnimationEngine | feb7d974edf9cb19725578cae1bcda35a0edc683 | [
"MIT"
] | null | null | null | #include "../VulkanSetup/AnimationLoader.h"
#include "../VulkanSetup/AnimationDataRow.h"
#include "../VulkanSetup/FrameData.h"
#include "../VulkanSetup/XMLLoader.h"
#include "../VulkanSetup/XMLData.h"
#include "../VulkanSetup/StringEx.h"
#include "../VulkanSetup/Serialize.h"
#include "../VulkanSetup/HalfFloat.h"
#inc... | 22.378788 | 68 | 0.666215 | [
"vector"
] |
09413f1b4fc3640729eb4c78f9e7fcca7ef34811 | 3,708 | cpp | C++ | libgpopt/src/xforms/CXformIntersectAll2LeftSemiJoin.cpp | khannaekta/gporca | 94e509d0a2456851a2cabf02e933c3523946b87b | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-03-05T10:08:56.000Z | 2019-03-05T10:08:56.000Z | libgpopt/src/xforms/CXformIntersectAll2LeftSemiJoin.cpp | khannaekta/gporca | 94e509d0a2456851a2cabf02e933c3523946b87b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/xforms/CXformIntersectAll2LeftSemiJoin.cpp | khannaekta/gporca | 94e509d0a2456851a2cabf02e933c3523946b87b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CXformIntersectAll2LeftSemiJoin.cpp
//
// @doc:
// Implement the transformation of CLogicalIntersectAll into a left semi join
//--------------------------------------... | 30.644628 | 117 | 0.650485 | [
"transform"
] |
09451c1afca4963e8e2ac12edfeb23f327dbcf51 | 1,112 | cpp | C++ | algorithms/greedy_algorithm/activity_selection.cpp | wuyongfa-genius/Algorithms_in_C- | 0973fc1e2c01a818056a0f0b3bfac7a62449bc73 | [
"MIT"
] | 1 | 2021-08-17T05:22:09.000Z | 2021-08-17T05:22:09.000Z | algorithms/greedy_algorithm/activity_selection.cpp | wuyongfa-genius/Algorithms_in_C- | 0973fc1e2c01a818056a0f0b3bfac7a62449bc73 | [
"MIT"
] | null | null | null | algorithms/greedy_algorithm/activity_selection.cpp | wuyongfa-genius/Algorithms_in_C- | 0973fc1e2c01a818056a0f0b3bfac7a62449bc73 | [
"MIT"
] | null | null | null | //You are given n activities with their start and finish times. Select the maximum number of
//activities that can be performed by a single person, assuming that a person can only work
//on a single activity at a time.
#include<bits/stdc++.h>
using namespace std;
typedef pair<int, int> Pair;
void activity_selection... | 28.512821 | 95 | 0.586331 | [
"vector"
] |
09475a3240f89043dcd0d9a83b37a58b1c28b78f | 820 | hpp | C++ | include/mtao/geometry/mesh/write_obj.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | include/mtao/geometry/mesh/write_obj.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | 4 | 2020-04-18T16:16:05.000Z | 2020-04-18T16:17:36.000Z | include/mtao/geometry/mesh/write_obj.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | #ifndef WRITE_OBJ_H
#define WRITE_OBJ_H
#include "mtao/types.hpp"
#include <tuple>
namespace mtao::geometry::mesh {
template <typename T>
void write_obj(const mtao::ColVectors<T,3>& V,const mtao::ColVectors<int,3>& F, const std::string& filename);
/*
template <>
extern void write_obj(const mtao:... | 32.8 | 125 | 0.70122 | [
"mesh",
"geometry"
] |
094d9864aabbfa24bc8f642e99a35c3b47839fd9 | 3,998 | cpp | C++ | tc 160+/BusinessPlan.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc 160+/BusinessPlan.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc 160+/BusinessPlan.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstring>
using namespace std;
int best[1000001];
class BusinessPlan {
public:
int howLong(vector <int> expense, vector <int> revenue, vector <int> ptime, int C... | 54.027027 | 503 | 0.582791 | [
"vector"
] |
095394b5c12a47a74011c927dd45538961c71f18 | 2,260 | cpp | C++ | mak3do/mak3do/scenegraph/src/Node.cpp | moimart/mak3do | e78369de2e5925be3bc4108cb31002a1ec29ef52 | [
"MIT"
] | 4 | 2020-02-22T16:34:27.000Z | 2020-06-02T10:58:16.000Z | mak3do/mak3do/scenegraph/src/Node.cpp | moimart/mak3do | e78369de2e5925be3bc4108cb31002a1ec29ef52 | [
"MIT"
] | null | null | null | mak3do/mak3do/scenegraph/src/Node.cpp | moimart/mak3do | e78369de2e5925be3bc4108cb31002a1ec29ef52 | [
"MIT"
] | null | null | null | #include <mak3do/scenegraph/Node.h>
#include <mak3do/scenegraph/Director.h>
#include <mak3do/scenegraph/ActionRunner.h>
#ifdef M3D_PLAT_APPLE
#include <mak3do/scenegraph/apple/NodeImpl.h>
#elif M3D_PLAT_ANDROID
#include <mak3do/scenegraph/android/NodeImpl.h>
#endif
namespace mak3do {
Node::Node()
{
m_pimpl = std:... | 15.694444 | 111 | 0.669469 | [
"geometry",
"vector"
] |
0959476158ff7f6df57e3ea26f960260633b22d2 | 8,174 | cpp | C++ | searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2021-01-11T18:37:46.000Z | 2021-01-11T18:37:46.000Z | searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2021-03-31T22:24:20.000Z | 2021-03-31T22:24:20.000Z | searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2020-09-03T11:39:52.000Z | 2020-09-03T11:39:52.000Z | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "attribute_weighted_set_blueprint.h"
#include <vespa/searchcommon/attribute/i_search_context.h>
#include <vespa/searchlib/common/bitvector.h>
#include <vespa/searchlib/fef/matchdatalayout.h>
... | 34.489451 | 138 | 0.630169 | [
"vector"
] |
8232c65023a789e7bb1320aa8b9145a10f7f55f6 | 6,556 | cc | C++ | util/util_mkldnn.cc | AINoobs/jitinfer | 00b7081a45b8be99376d7aad1b52e28ed97d649c | [
"Apache-2.0"
] | null | null | null | util/util_mkldnn.cc | AINoobs/jitinfer | 00b7081a45b8be99376d7aad1b52e28ed97d649c | [
"Apache-2.0"
] | null | null | null | util/util_mkldnn.cc | AINoobs/jitinfer | 00b7081a45b8be99376d7aad1b52e28ed97d649c | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2018 Tensor Tang. 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
*
* ... | 35.825137 | 80 | 0.548505 | [
"vector"
] |
8235cb649798edce956a8d5352ebd56dfcf57d9f | 5,854 | hpp | C++ | idl_compiler/include/morbid/idl_compiler/generator/struct_generator_generator.hpp | felipealmeida/mORBid | 3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b | [
"BSL-1.0"
] | 2 | 2018-01-31T07:06:23.000Z | 2021-02-18T00:49:05.000Z | idl_compiler/include/morbid/idl_compiler/generator/struct_generator_generator.hpp | felipealmeida/mORBid | 3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b | [
"BSL-1.0"
] | null | null | null | idl_compiler/include/morbid/idl_compiler/generator/struct_generator_generator.hpp | felipealmeida/mORBid | 3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b | [
"BSL-1.0"
] | null | null | null | /* (c) Copyright 2012 Felipe Magno de Almeida
*
* 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)
*/
#ifndef MORBID_IDL_COMPILER_STRUCT_GENERATOR_GENERATOR_HPP
#define MORBID_IDL_COMPILER_STRUCT_GENERATOR_GENERA... | 38.012987 | 115 | 0.640246 | [
"object",
"vector"
] |
8239ab2f8e41563e7b3647c2dc27f776f9e18e0e | 7,276 | hpp | C++ | src/details/hashmap.hpp | lcTls/levin | 7c3768ba96c752fe30b721fcc3af0f7202d5b6b3 | [
"Apache-2.0"
] | 113 | 2019-07-11T08:31:33.000Z | 2022-01-28T03:31:58.000Z | src/details/hashmap.hpp | msdgwzhy6/levin | 082a21d29ac19acbd16c5874367e77a424b7d255 | [
"Apache-2.0"
] | 1 | 2019-07-25T03:21:13.000Z | 2019-07-25T03:21:13.000Z | src/details/hashmap.hpp | msdgwzhy6/levin | 082a21d29ac19acbd16c5874367e77a424b7d255 | [
"Apache-2.0"
] | 27 | 2019-07-11T09:16:36.000Z | 2021-05-28T03:05:07.000Z | #ifndef LEVIN_DETAILS_HASHMAP_H
#define LEVIN_DETAILS_HASHMAP_H
#include <sstream>
#include <unordered_map>
#include "shared_utils.h"
#include "vector.hpp"
namespace levin {
template<class Key, class Value>
class HashIterator;
// @brief customized hashmap which MUST be inplacement new at allocated address
template ... | 34.483412 | 116 | 0.648296 | [
"object",
"vector"
] |
823f251abb82a0a5c8edcec5d8e7a4ea62a4004b | 33,051 | hpp | C++ | include/dpMM/dirMultiNaiveBayes.hpp | jstraub/dpMM | 538c432d5f98c040d5c1adb072e545e38f97fc69 | [
"MIT-feh"
] | 11 | 2015-04-27T15:14:01.000Z | 2021-11-18T00:19:18.000Z | include/dpMM/dirMultiNaiveBayes.hpp | jstraub/dpMM | 538c432d5f98c040d5c1adb072e545e38f97fc69 | [
"MIT-feh"
] | null | null | null | include/dpMM/dirMultiNaiveBayes.hpp | jstraub/dpMM | 538c432d5f98c040d5c1adb072e545e38f97fc69 | [
"MIT-feh"
] | 6 | 2015-07-02T12:46:20.000Z | 2022-03-30T04:39:30.000Z | /* Copyright (c) 2015, Julian Straub <jstraub@csail.mit.edu>, Randi Cabezas <rcabezas@csail.mit.edu>
* Licensed under the MIT license. See the license file LICENSE.
*/
#pragma once
#include <iostream>
#include <stdint.h>
#include <vector>
#include <Eigen/Dense>
#include <boost/shared_ptr.hpp>
#include ... | 29.457219 | 119 | 0.589725 | [
"vector",
"model"
] |
8249779c091983b98392fdf5dc0e9c1f7398452c | 190,592 | cpp | C++ | src/Scheme.cpp | yanndepps/Extempore | d13723dc8dd49ebac01a7883810d5fed871ee0b0 | [
"Unlicense"
] | 994 | 2015-01-02T17:44:22.000Z | 2022-03-26T17:07:43.000Z | src/Scheme.cpp | yanndepps/Extempore | d13723dc8dd49ebac01a7883810d5fed871ee0b0 | [
"Unlicense"
] | 226 | 2015-01-01T17:44:41.000Z | 2022-03-25T10:23:11.000Z | src/Scheme.cpp | yanndepps/Extempore | d13723dc8dd49ebac01a7883810d5fed871ee0b0 | [
"Unlicense"
] | 134 | 2015-01-06T07:37:08.000Z | 2022-02-13T05:34:04.000Z | /*
* Copyright (c) 2011, Andrew Sorensen
* Original credits + licence for TinyScheme and Mini-Scheme below
*
* 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 s... | 30.446006 | 251 | 0.52945 | [
"object",
"vector"
] |
824ae4f8b03be47dcfe17ea0b16a198ca41aafff | 975 | cxx | C++ | demo/download_file.cxx | amarps/amaynet | 58d3c3fddfaf410eaf86da5df22773b5cab9c004 | [
"MIT"
] | null | null | null | demo/download_file.cxx | amarps/amaynet | 58d3c3fddfaf410eaf86da5df22773b5cab9c004 | [
"MIT"
] | null | null | null | demo/download_file.cxx | amarps/amaynet | 58d3c3fddfaf410eaf86da5df22773b5cab9c004 | [
"MIT"
] | null | null | null | #include "TCP/TCPClient.hxx"
#include "common.hxx"
#include <iostream>
#include <sstream>
#include <unistd.h>
int main(int argc, char *argv[])
{
if (argc < 2) {
std::cout << "Usage: download_file https://www.google.com" << std::endl;
return 1;
}
AMAYNET::URL_T url(argv[1]);
AMAYNET::TCPClient connecto... | 21.666667 | 76 | 0.555897 | [
"vector"
] |
824de93d44b21d0281b918badc137989798b1433 | 1,355 | cpp | C++ | renderer/examples/gcbTemplate.cpp | chunmingchen/OSUFlow | 6a5bbb15a43b7f66b58e51705b946f728e98961b | [
"mpich2"
] | 7 | 2019-03-03T18:27:13.000Z | 2021-12-12T07:39:07.000Z | renderer/examples/gcbTemplate.cpp | chunmingchen/OSUFlow | 6a5bbb15a43b7f66b58e51705b946f728e98961b | [
"mpich2"
] | null | null | null | renderer/examples/gcbTemplate.cpp | chunmingchen/OSUFlow | 6a5bbb15a43b7f66b58e51705b946f728e98961b | [
"mpich2"
] | 7 | 2015-01-27T04:26:42.000Z | 2020-06-18T21:29:14.000Z | /*
gcbTemplate:
The is a demo to show how to use GCB to quick create an OpenGL program with GLUT.
Creted by
Abon Chaudhuri and Teng-Yok Lee (The Ohio State University)
May, 2010
*/
#include "gcb.h"
void
_DisplayFunc()
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
// render the scene
glutWireCube(1.0);... | 17.597403 | 110 | 0.712915 | [
"render"
] |
82504655f759e641ae763b22eaa3a02c22aebfb2 | 64,136 | cc | C++ | content/browser/renderer_host/navigator_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/renderer_host/navigator_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-03-13T10:32:53.000Z | 2019-03-13T11:05:30.000Z | content/browser/renderer_host/navigator_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 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/browser/renderer_host/navigator.h"
#include <stdint.h>
#include "base/cxx17_backports.h"
#include "base/feature_list.h"
#include "base... | 41.351386 | 80 | 0.759714 | [
"model"
] |
8252a158c6437ce92738518338059c21fdff469c | 2,463 | cpp | C++ | jni/src/core/ImageProc.cpp | yajun0601/DetectionOpenCV | e697b6b8cf16480fd08d3e68c513ece628bd77fc | [
"Apache-2.0"
] | null | null | null | jni/src/core/ImageProc.cpp | yajun0601/DetectionOpenCV | e697b6b8cf16480fd08d3e68c513ece628bd77fc | [
"Apache-2.0"
] | null | null | null | jni/src/core/ImageProc.cpp | yajun0601/DetectionOpenCV | e697b6b8cf16480fd08d3e68c513ece628bd77fc | [
"Apache-2.0"
] | null | null | null | #include <com_example_carplate_CarPlateDetection.h>
#include "plate_locate.h"
#include "plate_judge.h"
#include "chars_segment.h"
#include "chars_identify.h"
#include "plate_detect.h"
#include "chars_recognise.h"
#include "plate_recognize.h"
using namespace easypr;
#include <android/log.h>
#include <string>
#include <j... | 31.576923 | 112 | 0.729598 | [
"vector"
] |
8256abd1eac13b94951c0c195f6e0a013c8458f8 | 1,541 | cpp | C++ | C3D/C3D-v1.1/src/caffe/layers/black_hole_layer.cpp | Blssel/ClassicalAlgorZoo | b3cd08961d971658cfc9ebd98760c7207f7b322e | [
"MIT"
] | null | null | null | C3D/C3D-v1.1/src/caffe/layers/black_hole_layer.cpp | Blssel/ClassicalAlgorZoo | b3cd08961d971658cfc9ebd98760c7207f7b322e | [
"MIT"
] | null | null | null | C3D/C3D-v1.1/src/caffe/layers/black_hole_layer.cpp | Blssel/ClassicalAlgorZoo | b3cd08961d971658cfc9ebd98760c7207f7b322e | [
"MIT"
] | null | null | null | /*
*
* Copyright (c) 2015, Facebook, Inc. All rights reserved.
*
* Licensed under the Creative Commons Attribution-NonCommercial 3.0
* License (the "License"). You may obtain a copy of the License at
* https://creativecommons.org/licenses/by-nc/3.0/.
* Unless required by applicable law or agreed to in writi... | 27.035088 | 79 | 0.731992 | [
"vector"
] |
8257da6348756249ef57c47a4593c94a3886f529 | 8,934 | hpp | C++ | src/maluuba/vptree.hpp | skoomasteve/PhoneticMatching | 441b2cc85e60829029c0af401a10db85fced872e | [
"MIT"
] | 89 | 2019-05-08T04:03:44.000Z | 2022-03-18T18:05:24.000Z | src/maluuba/vptree.hpp | BigHam/PhoneticMatching | e675a516aa557759a6656f6642f518cdce862840 | [
"MIT"
] | 22 | 2019-08-22T13:11:35.000Z | 2021-11-18T15:13:04.000Z | src/maluuba/vptree.hpp | BigHam/PhoneticMatching | e675a516aa557759a6656f6642f518cdce862840 | [
"MIT"
] | 21 | 2019-09-10T01:48:10.000Z | 2021-12-06T09:27:43.000Z | /**
* @file
* Vantage point trees.
*
* @author Tavian Barnes (tavian.barnes@microsoft.com)
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#ifndef MALUUBA_VPTREE_HPP
#define MALUUBA_VPTREE_HPP
#include "maluuba/metric.hpp"
#include "maluuba/xtd/optional.hpp"
... | 24.61157 | 92 | 0.566935 | [
"vector"
] |
8267674abddbff631b575c9bac80ddbd5b937f08 | 3,597 | cpp | C++ | src/racer/iobbpln.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | null | null | null | src/racer/iobbpln.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | null | null | null | src/racer/iobbpln.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | 1 | 2021-01-03T16:16:47.000Z | 2021-01-03T16:16:47.000Z | /*
* D3 - intersection of plane and OBB
* 23-11-01: Created!
* NOTES:
* - Pseudocode from the book Real-Time Rendering (Moller/Haines), pp. 311-312.
* (C) MarketGraph/RvG
*/
#include <d3/d3.h>
#include <qlib/debug.h>
#pragma hdrstop
#include <d3/intersect.h>
DEBUG_ENABLE
// Method #1 is to transform the plane's... | 30.74359 | 79 | 0.666945 | [
"transform"
] |
82686c76fbe40f5c7961e04f653f41dfe069b5c9 | 1,987 | cpp | C++ | oneflow/core/operator/tick_op.cpp | L-Net-1992/oneflow | 4dc08d65caea36fdd137841ac95551218897e730 | [
"Apache-2.0"
] | 1 | 2022-03-14T11:17:56.000Z | 2022-03-14T11:17:56.000Z | oneflow/core/operator/tick_op.cpp | L-Net-1992/oneflow | 4dc08d65caea36fdd137841ac95551218897e730 | [
"Apache-2.0"
] | null | null | null | oneflow/core/operator/tick_op.cpp | L-Net-1992/oneflow | 4dc08d65caea36fdd137841ac95551218897e730 | [
"Apache-2.0"
] | 1 | 2021-12-15T02:14:49.000Z | 2021-12-15T02:14:49.000Z | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | 32.048387 | 97 | 0.761449 | [
"shape"
] |
826d10c55c189b7e164d772b06ce82b58c6524ed | 8,520 | cpp | C++ | applications/blas/l1_fused_dot.cpp | ExternalRepositories/universal | 3635a092d3cedd05a965f8154f147f450193be6b | [
"MIT"
] | 254 | 2017-05-24T16:51:57.000Z | 2022-03-22T13:07:29.000Z | applications/blas/l1_fused_dot.cpp | jamesquinlan/universal | 3b7e6bf37cbb9123425b634d18af18a409c2eccc | [
"MIT"
] | 101 | 2017-11-09T22:57:24.000Z | 2022-03-17T12:44:59.000Z | applications/blas/l1_fused_dot.cpp | jamesquinlan/universal | 3b7e6bf37cbb9123425b634d18af18a409c2eccc | [
"MIT"
] | 55 | 2017-06-09T10:04:38.000Z | 2022-02-01T16:54:56.000Z | // l1_fused_dot.cpp: example program showing a fused-dot product for error free linear algebra
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#ifdef _MSC_VER
#pragma warning(disable : 4514) // wa... | 39.813084 | 164 | 0.646948 | [
"vector"
] |
82736c11588916b6f48b854846d396f9dcfb6f94 | 11,146 | hpp | C++ | VulkanAPI/Project1/VulkanModel.hpp | moothyknight/Vulkan-Compute-Example | 1c8ccba1abd893212148a9f848496dddde90e1ab | [
"MIT"
] | 4 | 2019-06-21T18:46:55.000Z | 2021-12-17T08:26:30.000Z | VulkanAPI/Project1/VulkanModel.hpp | moothyknight/Vulkan-Compute-Example | 1c8ccba1abd893212148a9f848496dddde90e1ab | [
"MIT"
] | null | null | null | VulkanAPI/Project1/VulkanModel.hpp | moothyknight/Vulkan-Compute-Example | 1c8ccba1abd893212148a9f848496dddde90e1ab | [
"MIT"
] | null | null | null | /*
* Vulkan Model loader using ASSIMP
*
* Copyright(C) 2016-2017 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license(MIT) (http://opensource.org/licenses/MIT)
*/
#pragma once
#include <stdlib.h>
#include <string>
#include <fstream>
#include <vector>
#include "vulkan/vulkan.h"
#i... | 30.453552 | 186 | 0.684102 | [
"vector",
"model",
"3d"
] |
8279d8710489db0f40d2563d227bf9c2081396e9 | 8,411 | cpp | C++ | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/action/task.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 5 | 2019-11-11T07:57:26.000Z | 2022-03-28T08:26:53.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/action/task.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 3 | 2019-09-05T21:47:07.000Z | 2019-09-17T18:10:45.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/action/task.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 11 | 2019-07-20T00:16:32.000Z | 2022-01-11T14:17:48.000Z | /*!
* @copyright
* Copyright (c) 2016-2019 Intel Corporation
*
* @copyright
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* @copyright
* http://www.apache.org/licenses/LICENSE-... | 28.036667 | 125 | 0.707169 | [
"model"
] |
827e2b2152ef7cf71cd0be3c047fb9ab4097d9b2 | 2,236 | cpp | C++ | src/objects/primitive3d.cpp | KSaunders98/simpleEngine | d2bb6f77606dba04c4289125ca3799cc725cb60f | [
"MIT"
] | 1 | 2022-02-17T03:25:14.000Z | 2022-02-17T03:25:14.000Z | src/objects/primitive3d.cpp | KSaunders98/simpleEngine | d2bb6f77606dba04c4289125ca3799cc725cb60f | [
"MIT"
] | null | null | null | src/objects/primitive3d.cpp | KSaunders98/simpleEngine | d2bb6f77606dba04c4289125ca3799cc725cb60f | [
"MIT"
] | null | null | null | #include "objects/primitive3d.hpp"
#include "render_base/exception.hpp"
#include "render_base/shader.hpp"
#include "render_base/window.hpp"
using namespace Render3D;
using namespace Math3D;
void Primitive3D::setSize(const Vector4& value) {
size = value;
}
Vector4 Primitive3D::getSize() const {
return size;
... | 25.123596 | 81 | 0.674419 | [
"object"
] |
828b0351595bd24a23981186c912c0608955e7bc | 1,708 | cpp | C++ | LockBox.cpp | bfridkis/Plane-Crash-Survival-Game-CPP | 417efd13cb01a5a5e64799fa9f00217fbb7c3a3a | [
"MIT"
] | null | null | null | LockBox.cpp | bfridkis/Plane-Crash-Survival-Game-CPP | 417efd13cb01a5a5e64799fa9f00217fbb7c3a3a | [
"MIT"
] | null | null | null | LockBox.cpp | bfridkis/Plane-Crash-Survival-Game-CPP | 417efd13cb01a5a5e64799fa9f00217fbb7c3a3a | [
"MIT"
] | null | null | null | /*************************************************************
** Program name: LockBox.cpp
** Author: Ben Fridkis
** Date: 6/1/2017
** Description: Defintion of LockBox class member functions.
LockBox is a derived class of the parent class
Item.
********************************************************... | 28.949153 | 64 | 0.5363 | [
"object"
] |
828ea0cbacd6ee7fa4959beb991ca15bd169fd76 | 6,449 | hpp | C++ | PlanetaEngine/src/planeta/core/MetaprogrammingUtility.hpp | CdecPGL/PlanetaEngine | b15d5b13c3b2aee886d3f92d13777f1b12860260 | [
"MIT"
] | null | null | null | PlanetaEngine/src/planeta/core/MetaprogrammingUtility.hpp | CdecPGL/PlanetaEngine | b15d5b13c3b2aee886d3f92d13777f1b12860260 | [
"MIT"
] | 15 | 2018-01-14T14:14:47.000Z | 2018-01-14T15:00:15.000Z | PlanetaEngine/src/planeta/core/MetaprogrammingUtility.hpp | CdecPGL/PlanetaEngine | b15d5b13c3b2aee886d3f92d13777f1b12860260 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <functional>
#include <typeinfo>
#include <iostream>
#include <type_traits>
#include "boost/any.hpp"
#include "boost/call_traits.hpp"
namespace plnt {
namespace mp_util{
struct nil {};
/*ペアを作成*/
template<typename First, typename Rest>
struct Cons {
using first = F... | 40.559748 | 168 | 0.710033 | [
"vector"
] |
829250f3935fb0df95dd791bcd0d54507d41b8d2 | 4,226 | cpp | C++ | 3rdParty/boost/1.61.0/libs/math/reporting/performance/test_gcd.cpp | mikestaub/arangodb | 1bdf414de29b31bcaf80769a095933f66f8256ce | [
"ICU",
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 5 | 2017-01-19T09:35:40.000Z | 2021-02-26T07:31:38.000Z | libs/math/reporting/performance/test_gcd.cpp | crystax/android-vendor-boost-1-61-0 | a1f467d25d815dc7613fbee06c632cae423f52ca | [
"BSL-1.0"
] | 1 | 2015-11-09T15:38:28.000Z | 2015-11-12T11:14:58.000Z | libs/math/reporting/performance/test_gcd.cpp | crystax/android-vendor-boost-1-61-0 | a1f467d25d815dc7613fbee06c632cae423f52ca | [
"BSL-1.0"
] | 3 | 2015-11-02T09:37:09.000Z | 2017-05-05T06:38:49.000Z | // Copyright Jeremy Murphy 2016.
// Use, modification and distribution are subject to 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)
#ifdef _MSC_VER
# pragma warning (disable : 4224)
#endif
#include "../../test/table_type.hpp... | 31.774436 | 204 | 0.658779 | [
"vector"
] |
82987041e11f05f9889743e982671b8c78a0e266 | 826 | cpp | C++ | Codeforces/211/C.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | 2 | 2018-12-11T14:37:24.000Z | 2022-01-23T18:11:54.000Z | Codeforces/211/C.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | Codeforces/211/C.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define mt make_tuple
#define mp make_pair
#define pu push_back
#define INF 1000000001
#define MOD 1000000007
#define ll long long int
#define ld long double
#define vi vector<int>
#define vll vector<long long int>
#define sc(n) scanf("%d",&n);
#define scll(n) scanf("%lld",&n);
#define scld(n) s... | 18.355556 | 62 | 0.57385 | [
"vector"
] |
82a0b7d6b70aaf889b285a9df0228dc4c571f438 | 1,062 | cc | C++ | leetcode/lru-cache.cc | Waywrong/leetcode-solution | 55115aeab4040f5ff84bdce6ffcfe4a98f879616 | [
"MIT"
] | null | null | null | leetcode/lru-cache.cc | Waywrong/leetcode-solution | 55115aeab4040f5ff84bdce6ffcfe4a98f879616 | [
"MIT"
] | null | null | null | leetcode/lru-cache.cc | Waywrong/leetcode-solution | 55115aeab4040f5ff84bdce6ffcfe4a98f879616 | [
"MIT"
] | null | null | null | // LRU Cache
class LRUCache {
public:
LRUCache(int capacity) {
this->capacity = capacity;
}
int get(int key) {
if (map.find(key) == map.end()) return -1;
int val = map[key]->second;
queue.erase(map[key]);
queue.push_front(make_pair(key, val));
map[key] ... | 24.136364 | 64 | 0.52354 | [
"object"
] |
82a1a0380e79eeb226932c3a5b7dcd713c4d2261 | 2,527 | hpp | C++ | MerdogRT/interpreter/include/namespace.hpp | HttoHu/MerdogUWP | 4d823f1c95b655151f8d972018d6caed33e187ee | [
"MIT"
] | 9 | 2018-03-05T15:07:44.000Z | 2019-12-07T10:15:00.000Z | MerdogRT/interpreter/include/namespace.hpp | HttoHu/MerdogUWP | 4d823f1c95b655151f8d972018d6caed33e187ee | [
"MIT"
] | null | null | null | MerdogRT/interpreter/include/namespace.hpp | HttoHu/MerdogUWP | 4d823f1c95b655151f8d972018d6caed33e187ee | [
"MIT"
] | 1 | 2019-11-14T08:09:19.000Z | 2019-11-14T08:09:19.000Z | /*
MIT License
Copyright (c) 2019 HttoHu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publ... | 37.161765 | 104 | 0.749901 | [
"object",
"vector"
] |
82a39e55d70fedc9cf5c817900fb29817aa8bb8c | 1,508 | cpp | C++ | src/renderer/sphere.cpp | danbrakeley/stantz | 58b7ff24fab94accd710092893e7b0c4a0d6897f | [
"MIT"
] | null | null | null | src/renderer/sphere.cpp | danbrakeley/stantz | 58b7ff24fab94accd710092893e7b0c4a0d6897f | [
"MIT"
] | null | null | null | src/renderer/sphere.cpp | danbrakeley/stantz | 58b7ff24fab94accd710092893e7b0c4a0d6897f | [
"MIT"
] | null | null | null | #include "pch.h"
#include "sphere.h"
bool Sphere::hit(const Ray& r, float t_min, float t_max, hit_record* p_rec) const {
assert(p_rec != nullptr);
assert(p_mat_ != nullptr);
Vec3 oc = r.origin() - center_;
float a = dot(r.direction(), r.direction());
// the 2 from b was removed because it doesn't impact how we u... | 35.069767 | 118 | 0.645889 | [
"vector"
] |
82a6a574cb971b8dc0364bcff56a1a60d6130f10 | 8,382 | cpp | C++ | EmojicodeCompiler/CodeGenerator.cpp | jdiss/emojicode | f39fa328763b9f48a5c18cada709da964371c2a4 | [
"Artistic-2.0"
] | 1 | 2019-06-27T13:58:43.000Z | 2019-06-27T13:58:43.000Z | EmojicodeCompiler/CodeGenerator.cpp | icodeing/emojicode | f39fa328763b9f48a5c18cada709da964371c2a4 | [
"Artistic-2.0"
] | null | null | null | EmojicodeCompiler/CodeGenerator.cpp | icodeing/emojicode | f39fa328763b9f48a5c18cada709da964371c2a4 | [
"Artistic-2.0"
] | null | null | null | //
// CodeGenerator.cpp
// Emojicode
//
// Created by Theo Weidmann on 19/09/16.
// Copyright © 2016 Theo Weidmann. All rights reserved.
//
#include "CodeGenerator.hpp"
#include <cstring>
#include <vector>
#include "FunctionPAG.hpp"
#include "Protocol.hpp"
#include "CallableScoper.hpp"
#include "Class.hpp"
#includ... | 34.780083 | 120 | 0.653663 | [
"vector"
] |
82a7f5014b66b4485b4772ec2031c14ec78e8ada | 3,309 | cc | C++ | src/0332_reconstruct_itinerary/reconstruct_itinerary.cc | youngqqcn/LeetCodeNodes | 62bbd30fbdf1640526d7fc4437cde1b05d67fc8f | [
"MIT"
] | 1 | 2021-05-23T02:15:03.000Z | 2021-05-23T02:15:03.000Z | src/0332_reconstruct_itinerary/reconstruct_itinerary.cc | youngqqcn/LeetCodeNotes | 62bbd30fbdf1640526d7fc4437cde1b05d67fc8f | [
"MIT"
] | null | null | null | src/0332_reconstruct_itinerary/reconstruct_itinerary.cc | youngqqcn/LeetCodeNotes | 62bbd30fbdf1640526d7fc4437cde1b05d67fc8f | [
"MIT"
] | null | null | null | // author: yqq
// date: 2021-07-28 18:35:23
// descriptions: https://leetcode-cn.com/problems/reconstruct-itinerary
#include <bits/stdc++.h>
#include <iostream>
#include <numeric>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <algorithm>
#include <memory>
#include <queue>
#include <stack>
#... | 25.068182 | 122 | 0.460864 | [
"vector"
] |
82a987ecd82c6720023fc984088afebcc8725e93 | 1,121 | cpp | C++ | ProblemsSolved/Graphs/ShortestPaths/WormHoles.cpp | searleser97/Algorithms | af791541d416c29867213d705375cbb3361f486c | [
"Apache-2.0"
] | 7 | 2019-06-06T17:54:20.000Z | 2021-03-24T02:31:55.000Z | ProblemsSolved/Graphs/ShortestPaths/WormHoles.cpp | searleser97/Algorithms | af791541d416c29867213d705375cbb3361f486c | [
"Apache-2.0"
] | null | null | null | ProblemsSolved/Graphs/ShortestPaths/WormHoles.cpp | searleser97/Algorithms | af791541d416c29867213d705375cbb3361f486c | [
"Apache-2.0"
] | 1 | 2021-03-24T02:31:57.000Z | 2021-03-24T02:31:57.000Z | #include <bits/stdc++.h>
using namespace std;
typedef int Weight;
int MAXN = 20001, N, INF = 1 << 30, isDirected = true;
vector<vector<int>> ady, weight;
void initVars() {
ady = vector<vector<int>>(MAXN, vector<int>());
weight = vector<vector<int>>(MAXN, vector<int>(MAXN, INF));
}
vector<Weight> bellmanFord(int ... | 21.150943 | 61 | 0.504014 | [
"vector"
] |
82a9a0d2ea3eb36fadfeb1404e3e431911911aec | 3,921 | cc | C++ | cdn/src/model/DescribeLiveStreamRecordIndexFilesResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | cdn/src/model/DescribeLiveStreamRecordIndexFilesResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | cdn/src/model/DescribeLiveStreamRecordIndexFilesResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 49.0125 | 142 | 0.816118 | [
"vector",
"model"
] |
82abb329d74afb9adae058cbe0236666ce0c9121 | 2,513 | cc | C++ | gazebo/common/CommonIface_TEST.cc | siconos/gazebo-siconos | 612f6a78184cb95d5e7a6898c42003c4109ae3c6 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2017-07-14T19:36:51.000Z | 2020-04-01T06:47:59.000Z | gazebo/common/CommonIface_TEST.cc | siconos/gazebo-siconos | 612f6a78184cb95d5e7a6898c42003c4109ae3c6 | [
"ECL-2.0",
"Apache-2.0"
] | 20 | 2017-07-20T21:04:49.000Z | 2017-10-19T19:32:38.000Z | gazebo/common/CommonIface_TEST.cc | siconos/gazebo-siconos | 612f6a78184cb95d5e7a6898c42003c4109ae3c6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2012-2016 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 31.810127 | 76 | 0.679268 | [
"vector"
] |
82acaa55ac591f1af436e42a9f5a329b55b41039 | 5,224 | cpp | C++ | typer.cpp | flyyee/typer | 01c83136afe423c60c71f29105f3ec41cbb8d60b | [
"MIT"
] | null | null | null | typer.cpp | flyyee/typer | 01c83136afe423c60c71f29105f3ec41cbb8d60b | [
"MIT"
] | null | null | null | typer.cpp | flyyee/typer | 01c83136afe423c60c71f29105f3ec41cbb8d60b | [
"MIT"
] | null | null | null | #include "typer.h"
#include <windows.h>
#include <iostream>
using namespace std;
typer::typer() : word("void"),
s_Sleep(10), sver(1), sverinfo("typers version 2: a-z, 0-9, :-./(spacekey)_\nsyntax: typers(' ');\n"),
fctrl(0), fenter(0), falt(0), ftab(0),
f_Sleep(10), fver(2), fverinfo("typerf version 3: ctr... | 23.013216 | 178 | 0.516462 | [
"object"
] |
82acd3a06c27e81908b424487c70cc794cf47bd0 | 4,587 | cpp | C++ | src/navigator.cpp | ryuichiueda/raspimouse_cartographer_teach_and_replay | 7092584331b73251b78e9b7237107e51d42808c1 | [
"MIT"
] | null | null | null | src/navigator.cpp | ryuichiueda/raspimouse_cartographer_teach_and_replay | 7092584331b73251b78e9b7237107e51d42808c1 | [
"MIT"
] | null | null | null | src/navigator.cpp | ryuichiueda/raspimouse_cartographer_teach_and_replay | 7092584331b73251b78e9b7237107e51d42808c1 | [
"MIT"
] | null | null | null | #include <ros/ros.h>
#include <tf/transform_listener.h>
#include <ros/package.h>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <vector>
#include <string>
#include <visualization_msgs/Marker.h>
#include "raspimouse_ros_2/ButtonValues.h"
#include "raspimouse_ros_2/LedValues.h"
#include <geomet... | 22.485294 | 90 | 0.685851 | [
"vector"
] |
82b0890112f949756b1e2fc4abdb70f36264cba1 | 2,395 | cpp | C++ | models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/cudnn_batch_norm_fixed_layer.cpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/cudnn_batch_norm_fixed_layer.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/cudnn_batch_norm_fixed_layer.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | /*
* Copyright 2019 Xilinx Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 31.103896 | 92 | 0.754489 | [
"vector"
] |
a118eee7421c7cc6c4aaa3fbdee4a41950426469 | 828 | cpp | C++ | sources/Reader.cpp | FORTYSS0/lab-kv-storage-10 | 4d2e7eff44dc54237ad0e6deaa5911d8a00b0c75 | [
"MIT"
] | null | null | null | sources/Reader.cpp | FORTYSS0/lab-kv-storage-10 | 4d2e7eff44dc54237ad0e6deaa5911d8a00b0c75 | [
"MIT"
] | null | null | null | sources/Reader.cpp | FORTYSS0/lab-kv-storage-10 | 4d2e7eff44dc54237ad0e6deaa5911d8a00b0c75 | [
"MIT"
] | null | null | null | // Copyright 2021 by FORTYSS
#include "Reader.hpp"
Reader::Reader(const int& num_workers) : readers(num_workers) {}
void Reader::read(const Field& field_) {
readers.enqueue([&](const Field& field){
++temp_nums_in_column;
db_out->Put(rocksdb::WriteOptions(),
handles_cf_out.front(),
... | 31.846154 | 69 | 0.68599 | [
"vector"
] |
a11cee579f244ce7f695206098038d0d24c43e53 | 1,052 | cpp | C++ | BOJ/1260.cpp | ReinforceIII/Algorithm | 355f6e19f8deb6a76f82f5283d7c1987acd699a6 | [
"MIT"
] | null | null | null | BOJ/1260.cpp | ReinforceIII/Algorithm | 355f6e19f8deb6a76f82f5283d7c1987acd699a6 | [
"MIT"
] | null | null | null | BOJ/1260.cpp | ReinforceIII/Algorithm | 355f6e19f8deb6a76f82f5283d7c1987acd699a6 | [
"MIT"
] | null | null | null | /* 1260 DFS와 BFS*/
#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <queue>
#include <cstring>
using namespace std;
vector<int> v[1001];
bool visited[1001];
void dfs(int node) {
visited[node] = true;
cout<<node<<" ";
for(int i=0; i<v[node].size(); i++) {
int next = v[node... | 19.127273 | 41 | 0.538023 | [
"vector"
] |
a12ae53f2d2d1281d0d156306d5c654a401203b7 | 12,319 | cpp | C++ | RogueEngine/Source/EditorViewport.cpp | silferysky/RogueArcher | 3c77696260f773a0b7adb88b991e09bb35069901 | [
"FSFAP"
] | 1 | 2019-06-18T20:07:47.000Z | 2019-06-18T20:07:47.000Z | RogueEngine/Source/EditorViewport.cpp | silferysky/RogueArcher | 3c77696260f773a0b7adb88b991e09bb35069901 | [
"FSFAP"
] | null | null | null | RogueEngine/Source/EditorViewport.cpp | silferysky/RogueArcher | 3c77696260f773a0b7adb88b991e09bb35069901 | [
"FSFAP"
] | null | null | null | /* Start Header ************************************************************************/
/*!
\file EditorViewport.cpp
\project Exale
\author Loh Kai Yi,kaiyi.loh,390002918 (100%)
\par kaiyi.loh\@digipen.edu
\date 1 December,2019
\brief This file contains the funct... | 33.750685 | 211 | 0.68577 | [
"transform"
] |
a13b0546a1f3eb9cc11f47d4081917964d159907 | 1,747 | hpp | C++ | include/rpc/msgpack/v3/object_fwd.hpp | agrawalamit2005/rpclib | cb84e2c64b6fe1a1ba8c399dad6479ec43382300 | [
"MIT"
] | null | null | null | include/rpc/msgpack/v3/object_fwd.hpp | agrawalamit2005/rpclib | cb84e2c64b6fe1a1ba8c399dad6479ec43382300 | [
"MIT"
] | null | null | null | include/rpc/msgpack/v3/object_fwd.hpp | agrawalamit2005/rpclib | cb84e2c64b6fe1a1ba8c399dad6479ec43382300 | [
"MIT"
] | null | null | null | //
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2008-2018 FURUHASHI Sadayuki and KONDO Takatoshi
//
// 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)
//
#ifndef MSGPACK_V3_OBJECT_F... | 24.605634 | 88 | 0.646251 | [
"object"
] |
a13cd223d2f57dd47404a4b3157136672f2e5f9b | 3,369 | cpp | C++ | src/ivium.cpp | ahpohl/convpot | f626cdf1a27e416ca2d8c67d63d6456285ce1839 | [
"MIT"
] | 2 | 2017-09-13T12:55:25.000Z | 2021-02-23T15:10:44.000Z | src/ivium.cpp | ahpohl/convpot | f626cdf1a27e416ca2d8c67d63d6456285ce1839 | [
"MIT"
] | 2 | 2017-09-14T01:23:43.000Z | 2017-10-06T18:46:35.000Z | src/ivium.cpp | ahpohl/convpot | f626cdf1a27e416ca2d8c67d63d6456285ce1839 | [
"MIT"
] | null | null | null | #include "util.h"
#include "device.h"
#include <iostream>
#include <fstream>
using namespace std;
// get file type, ivcure, eis, etc.
void Device::iviumParseFileType()
{
string line;
vector<string> tokens;
// check if ivium file, skip first line with binary data
getline( *reader, line );
getline( *reader, line ... | 24.955556 | 103 | 0.61591 | [
"vector"
] |
a13f8ab4deae92b85465507a15c67a7f3f173867 | 26,270 | cpp | C++ | OpenGLFramework/SpaceShooter_LevelsEditor/MyPanel.cpp | PlayeRom/SpaceShooter | c284ca6503800ed1e45fc8ceeaf9d98d38917f30 | [
"MIT"
] | null | null | null | OpenGLFramework/SpaceShooter_LevelsEditor/MyPanel.cpp | PlayeRom/SpaceShooter | c284ca6503800ed1e45fc8ceeaf9d98d38917f30 | [
"MIT"
] | null | null | null | OpenGLFramework/SpaceShooter_LevelsEditor/MyPanel.cpp | PlayeRom/SpaceShooter | c284ca6503800ed1e45fc8ceeaf9d98d38917f30 | [
"MIT"
] | null | null | null | #include "StdAfx.h"
#include "MyFrame.h"
#include "LevelsManager.h"
#include "SelectObjectDlg.h"
#include "MyPanel.h"
//#include <vld.h>
BEGIN_EVENT_TABLE( CMyPanel, wxPanel )
EVT_LISTBOX( ID_EVENT_LISTBOX_LEVELS, CMyPanel::OnListBoxLevels )
EVT_LISTBOX( ID_EVENT_LISTBOX_GROUPS, CMyPanel::OnListBoxGroup... | 40.045732 | 187 | 0.712828 | [
"object"
] |
a142aeb8b8984ff6e1563c4621c972f00b4027de | 4,931 | hxx | C++ | main/drawinglayer/inc/drawinglayer/primitive2d/controlprimitive2d.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/drawinglayer/inc/drawinglayer/primitive2d/controlprimitive2d.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/drawinglayer/inc/drawinglayer/primitive2d/controlprimitive2d.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 41.788136 | 129 | 0.681201 | [
"geometry",
"object"
] |
a14514071f93c144c4fea8a1550f1a3bf981d221 | 6,328 | cpp | C++ | src/GameState/GHud.cpp | isabella232/modite-adventure | 66c7779271706ec35e0a2f808afe92d7e15e0f85 | [
"MIT"
] | 5 | 2020-12-02T12:28:14.000Z | 2021-02-16T18:02:09.000Z | src/GameState/GHud.cpp | pedrohyvo/modite-adventure | 8c273803bd60747a169be3ba3f06b3419cc0ebff | [
"MIT"
] | 2 | 2021-01-22T18:51:48.000Z | 2021-01-28T18:43:43.000Z | src/GameState/GHud.cpp | pedrohyvo/modite-adventure | 8c273803bd60747a169be3ba3f06b3419cc0ebff | [
"MIT"
] | 2 | 2021-01-26T23:22:36.000Z | 2021-02-03T10:07:03.000Z | #include <Display.h>
#include <BViewPort.h>
#include "GResources.h"
#include "BResourceManager.h"
#include "GPlayer.h"
#include "GHud.h"
#include "Items.h"
#include "Game.h"
#include "GBossProcess.h"
static const TRect heart(0, 384, 15, 399);
static const TRect magic(16, 384, 31, 399);
static const TRect sword(0, 400,... | 36.367816 | 122 | 0.663085 | [
"render"
] |
a154ef7808bfebf861e9ebf27a639c56d838b195 | 5,754 | cpp | C++ | src/GafferScene/OpenGLAttributes.cpp | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 561 | 2016-10-18T04:30:48.000Z | 2022-03-30T06:52:04.000Z | src/GafferScene/OpenGLAttributes.cpp | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 1,828 | 2016-10-14T19:01:46.000Z | 2022-03-30T16:07:19.000Z | src/GafferScene/OpenGLAttributes.cpp | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 120 | 2016-10-18T15:19:13.000Z | 2021-12-20T16:28:23.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012, Image Engine Design 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:
//
// * R... | 61.870968 | 199 | 0.719326 | [
"solid"
] |
a157424d9ec033abb4527d215352275fb58ff898 | 7,286 | cpp | C++ | Core/GDCore/IDE/Events/EventsContextAnalyzer.cpp | Oneoeigh/GDevelop | dddad3ff4b305b161ab6d7938e437fdbf9f0fed6 | [
"MIT"
] | 1 | 2018-11-23T11:56:08.000Z | 2018-11-23T11:56:08.000Z | Core/GDCore/IDE/Events/EventsContextAnalyzer.cpp | Oneoeigh/GDevelop | dddad3ff4b305b161ab6d7938e437fdbf9f0fed6 | [
"MIT"
] | null | null | null | Core/GDCore/IDE/Events/EventsContextAnalyzer.cpp | Oneoeigh/GDevelop | dddad3ff4b305b161ab6d7938e437fdbf9f0fed6 | [
"MIT"
] | 1 | 2018-11-23T15:58:40.000Z | 2018-11-23T15:58:40.000Z | /*
* GDevelop Core
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
* reserved. This project is released under the MIT License.
*/
#include "GDCore/IDE/Events/EventsContextAnalyzer.h"
#include <map>
#include <memory>
#include <vector>
#include "GDCore/Events/Event.h"
#include "GDCore/Events... | 38.550265 | 80 | 0.594702 | [
"vector"
] |
a15da6e6ccc0e20a14e599924f13d1d567dfd1d8 | 952 | cpp | C++ | src/gui/font.cpp | GabrielMajeri/gomoku | 5c56b6ed3bab38d85758c51e962435b3da6ef61f | [
"MIT"
] | 2 | 2019-05-09T05:27:02.000Z | 2019-05-09T12:21:08.000Z | src/gui/font.cpp | GabrielMajeri/gomoku | 5c56b6ed3bab38d85758c51e962435b3da6ef61f | [
"MIT"
] | null | null | null | src/gui/font.cpp | GabrielMajeri/gomoku | 5c56b6ed3bab38d85758c51e962435b3da6ef61f | [
"MIT"
] | null | null | null | #include "font.hpp"
#include "core/error.hpp"
Font::Font(const std::string& path, int pointSize) {
auto* font = TTF_OpenFont(path.c_str(), pointSize);
if (!font) {
throw SDLFontError("Failed to load font");
}
handle.reset(font);
}
template <> void Wrapper<TTF_Font>::Deleter::operator()(TTF_Fo... | 25.052632 | 80 | 0.639706 | [
"render"
] |
a15dfafc7ee60d8ced004f358b9a695ef0430ba6 | 3,133 | hpp | C++ | src/share/grabber_client.hpp | jgosmann/Karabiner-Elements | 5db7b8f7d4b5136d6dac0e8876d105eda4708f10 | [
"Unlicense"
] | 39 | 2017-01-13T13:53:45.000Z | 2021-01-29T16:00:05.000Z | src/share/grabber_client.hpp | jgosmann/Karabiner-Elements | 5db7b8f7d4b5136d6dac0e8876d105eda4708f10 | [
"Unlicense"
] | 25 | 2017-01-27T15:52:36.000Z | 2019-04-06T09:09:17.000Z | src/share/grabber_client.hpp | jgosmann/Karabiner-Elements | 5db7b8f7d4b5136d6dac0e8876d105eda4708f10 | [
"Unlicense"
] | 5 | 2017-01-15T19:48:51.000Z | 2017-07-18T13:49:55.000Z | #pragma once
#include "constants.hpp"
#include "filesystem.hpp"
#include "local_datagram_client.hpp"
#include "session.hpp"
#include "types.hpp"
#include <unistd.h>
#include <vector>
class grabber_client final {
public:
grabber_client(const grabber_client&) = delete;
grabber_client(void) {
// Check socket fi... | 34.428571 | 103 | 0.743058 | [
"vector"
] |
a161cfec37c8aabbe37890849901ed62545fc262 | 45,476 | cpp | C++ | xenuser/winagent/XService.cpp | pearsonk/xc-windows | 0ddce48bf8f3bd75048e8249c91e82bb8b064e6d | [
"MIT"
] | 21 | 2015-02-10T13:44:10.000Z | 2021-12-31T20:24:43.000Z | xenuser/winagent/XService.cpp | pearsonk/xc-windows | 0ddce48bf8f3bd75048e8249c91e82bb8b064e6d | [
"MIT"
] | 24 | 2015-01-02T15:56:57.000Z | 2020-09-10T19:37:22.000Z | xenuser/winagent/XService.cpp | pearsonk/xc-windows | 0ddce48bf8f3bd75048e8249c91e82bb8b064e6d | [
"MIT"
] | 21 | 2015-02-03T20:34:19.000Z | 2021-09-19T16:35:42.000Z | /*
* Copyright (c) 2006 XenSource, Inc. All use and distribution of this
* copyrighted material is governed by and subject to terms and
* conditions as licensed by XenSource, Inc. All other rights reserved.
*/
/*
* Copyright (c) 2014 Citrix Systems, Inc.
*
* Permission is hereby granted, free of charge, to ... | 29.339355 | 112 | 0.566057 | [
"object"
] |
a168a2539cf6099ee1a2df82960974d9f5246e75 | 1,520 | cpp | C++ | eip/src/v2/model/ListBandwidthsResponse.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | 5 | 2021-03-03T08:23:43.000Z | 2022-02-16T02:16:39.000Z | eip/src/v2/model/ListBandwidthsResponse.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | null | null | null | eip/src/v2/model/ListBandwidthsResponse.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | 7 | 2021-02-26T13:53:35.000Z | 2022-03-18T02:36:43.000Z |
#include "huaweicloud/eip/v2/model/ListBandwidthsResponse.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Eip {
namespace V2 {
namespace Model {
ListBandwidthsResponse::ListBandwidthsResponse()
{
bandwidthsIsSet_ = false;
}
ListBandwidthsResponse::~ListBandwidthsResponse() = default;
void ListBandwidt... | 18.765432 | 101 | 0.691447 | [
"object",
"vector",
"model"
] |
a16cb52b2326590a784bfd9286fd4372a178725a | 23,672 | cpp | C++ | ddbp-sycl/main.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 58 | 2020-08-06T18:53:44.000Z | 2021-10-01T07:59:46.000Z | ddbp-sycl/main.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 2 | 2020-12-04T12:35:02.000Z | 2021-03-04T22:49:25.000Z | ddbp-sycl/main.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 13 | 2020-08-19T13:44:18.000Z | 2021-09-08T04:25:34.000Z | /*
This function reconstruct the 3D volume from projections, based on
the Distance-Driven principle. It works by calculating the overlap
in X and Y axis of the volume and the detector boundaries.
The geometry is for DBT with half cone-beam. All parameters are set
in "ParameterSettings" code.
Reference:
- Branchless Di... | 30.117048 | 100 | 0.611651 | [
"geometry",
"object",
"3d"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.