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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8323f883b17865a60856aa732d5400f81d3ac8f5 | 7,031 | cpp | C++ | TabGraph/src/Surface/SphereMesh.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-08-28T09:35:18.000Z | 2020-08-28T09:35:18.000Z | TabGraph/src/Surface/SphereMesh.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | null | null | null | TabGraph/src/Surface/SphereMesh.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-10-08T11:21:13.000Z | 2020-10-08T11:21:13.000Z | /*
* @Author: gpinchon
* @Date: 2020-07-28 00:01:40
* @Last Modified by: gpinchon
* @Last Modified time: 2020-08-09 11:38:44
*/
#include "Surface/SphereMesh.hpp"
#include "Material/Material.hpp"
#include "Surface/Geometry.hpp"
#include "Surface/Mesh.hpp"
#include <map>
#ifndef M_PI
#define M_PI 3.14... | 35.510101 | 120 | 0.584127 | [
"mesh",
"geometry",
"vector"
] |
832e7166261c910589cd159f7b3d664584f50933 | 42,179 | cpp | C++ | Nailang/NailangParser.cpp | mfkiwl/RayRenderer-dp4a | b57696b23c795f0ca1199e8f009b7a12b88da13a | [
"MIT"
] | 18 | 2018-10-22T10:30:20.000Z | 2021-12-10T06:29:39.000Z | Nailang/NailangParser.cpp | mfkiwl/RayRenderer-dp4a | b57696b23c795f0ca1199e8f009b7a12b88da13a | [
"MIT"
] | null | null | null | Nailang/NailangParser.cpp | mfkiwl/RayRenderer-dp4a | b57696b23c795f0ca1199e8f009b7a12b88da13a | [
"MIT"
] | 4 | 2019-06-04T14:04:43.000Z | 2021-07-16T01:41:48.000Z | #include "NailangPch.h"
#include "NailangParser.h"
#include "NailangParserRely.h"
#include "SystemCommon/StringFormat.h"
#include <boost/container/small_vector.hpp>
namespace xziar::nailang
{
using tokenizer::NailangToken;
void DoThrow()
{
throw NailangPartedNameException(u"a", U"b", U"c");
}
std::u16string Nai... | 35.958227 | 161 | 0.564855 | [
"vector"
] |
832e8046bc7d5b2b5781e115c15a2b0320250f9d | 1,589 | cpp | C++ | Numerical methods/Linear algebra methods/src/test/MatrixTests.cpp | ShkalikovOleh/Labs | 04161ee96c729d1a8b84906b453c5f0e386aaa8b | [
"MIT"
] | null | null | null | Numerical methods/Linear algebra methods/src/test/MatrixTests.cpp | ShkalikovOleh/Labs | 04161ee96c729d1a8b84906b453c5f0e386aaa8b | [
"MIT"
] | null | null | null | Numerical methods/Linear algebra methods/src/test/MatrixTests.cpp | ShkalikovOleh/Labs | 04161ee96c729d1a8b84906b453c5f0e386aaa8b | [
"MIT"
] | 1 | 2020-11-22T16:21:14.000Z | 2020-11-22T16:21:14.000Z | #include <gtest/gtest.h>
#include "Matrix.h"
#include "Vector.h"
using namespace LinAlg;
class MatrixTests : public ::testing::Test
{
protected:
void SetUp() override
{
matrix = new Matrix<int>(2, 2);
(*matrix)(0, 0) = 1;
(*matrix)(0, 1) = 2;
(*matrix)(1, 0) = 3;
(*mat... | 17.086022 | 47 | 0.538074 | [
"shape",
"vector"
] |
8338941173ced9590185ee61c57217c74ba10503 | 2,527 | cpp | C++ | gym/102163/B.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | 1 | 2021-07-16T19:59:39.000Z | 2021-07-16T19:59:39.000Z | gym/102163/B.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | gym/102163/B.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define endl '\n'
typedef pair<int, int> pii;
struct graph
{
int n;
vector<vector<int>> adj;
graph(int n) : n(n), adj(n) {}
void add_edge(int u, int v)
{
adj[u].push_back(v);
adj[v].push_back(u);
}
vector<int>& operator[](int u) { return adj[u]; }
};
graph... | 16.735099 | 63 | 0.470914 | [
"vector"
] |
833e30ef9c22d8a3c30dc80394de07c1706861f0 | 638 | cpp | C++ | Estruturas de Dados para Competições de Programação (em C++)/fila.cpp | Garotos-de-Programa/NEPS-Academy | a321fab09909587533697268c907816ecc8522fe | [
"MIT"
] | 1 | 2021-09-17T19:03:41.000Z | 2021-09-17T19:03:41.000Z | Estruturas de Dados para Competições de Programação (em C++)/fila.cpp | Garotos-de-Programa/NEPS-Academy | a321fab09909587533697268c907816ecc8522fe | [
"MIT"
] | null | null | null | Estruturas de Dados para Competições de Programação (em C++)/fila.cpp | Garotos-de-Programa/NEPS-Academy | a321fab09909587533697268c907816ecc8522fe | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define fastio ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL)
using namespace std;
int N,M;
int main(){
fastio;
int aux;
vector<int> entrada,saida;
cin>>N;
for(int i=0; i<N; i++){
cin>>aux;
entrada.push_back(aux);
}
cin>>M;
for(int i=0; i<M; i++){
cin>>aux;
... | 15.560976 | 78 | 0.579937 | [
"vector"
] |
8340e30a3be5abc4a3db671a2d1eed78241bc6ab | 7,181 | cpp | C++ | test/unit/iterator/legacy_iterator.cpp | cjdb/clang-concepts-ranges | 7019754e97c8f3863035db74de62004ae3814954 | [
"Apache-2.0"
] | 4 | 2019-03-02T01:09:07.000Z | 2019-10-16T15:46:21.000Z | test/unit/iterator/legacy_iterator.cpp | cjdb/clang-concepts-ranges | 7019754e97c8f3863035db74de62004ae3814954 | [
"Apache-2.0"
] | 5 | 2018-12-16T13:47:32.000Z | 2019-10-13T01:27:11.000Z | test/unit/iterator/legacy_iterator.cpp | cjdb/clang-concepts-ranges | 7019754e97c8f3863035db74de62004ae3814954 | [
"Apache-2.0"
] | 3 | 2020-06-08T18:27:28.000Z | 2021-03-27T17:49:46.000Z | // Copyright (c) Christopher Di Bella.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
#include "cjdb/detail/iterator/legacy_iterator.hpp"
#include "cjdb/detail/iterator/incrementable_traits.hpp"
#include "cjdb/detail/iterator/indirectly_readable_traits.hpp"
#include <array>
#include <deque>
#include <f... | 45.163522 | 101 | 0.824119 | [
"vector"
] |
8341777f6a4433e85b971d3ad4492c3d08549697 | 1,544 | cpp | C++ | third_party/mlir/test/lib/Transforms/TestLowerVectorTransfers.cpp | scentini/tensorflow | 204ed332c0886a0e0ab10b22ba8d67b97e1c83c4 | [
"Apache-2.0"
] | 2 | 2018-12-28T15:11:25.000Z | 2020-12-08T08:11:02.000Z | third_party/mlir/test/lib/Transforms/TestLowerVectorTransfers.cpp | scentini/tensorflow | 204ed332c0886a0e0ab10b22ba8d67b97e1c83c4 | [
"Apache-2.0"
] | 1 | 2018-04-02T23:42:30.000Z | 2018-05-03T23:12:23.000Z | third_party/mlir/test/lib/Transforms/TestLowerVectorTransfers.cpp | scentini/tensorflow | 204ed332c0886a0e0ab10b22ba8d67b97e1c83c4 | [
"Apache-2.0"
] | 3 | 2017-09-20T22:52:39.000Z | 2018-10-14T11:10:21.000Z | //===- TestLowerVectorTransfers.cpp - Test VectorTransfers lowering -------===//
//
// Copyright 2019 The MLIR Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | 34.311111 | 80 | 0.71114 | [
"vector"
] |
836431e8268491c77442ffa5e8bfe522a67ca51d | 376 | cpp | C++ | util/rand.cpp | tlming16/Projec_Euler | 797824c5159fae67493de9eba24c22cc7512d95d | [
"MIT"
] | 4 | 2018-11-14T12:03:05.000Z | 2019-09-03T14:33:28.000Z | util/rand.cpp | tlming16/Projec_Euler | 797824c5159fae67493de9eba24c22cc7512d95d | [
"MIT"
] | null | null | null | util/rand.cpp | tlming16/Projec_Euler | 797824c5159fae67493de9eba24c22cc7512d95d | [
"MIT"
] | 1 | 2018-11-17T14:39:22.000Z | 2018-11-17T14:39:22.000Z | # include <random>
# include <iostream>
# include <vector>
# include <iterator>
int main(){
std::random_device rd;
std::mt19937 g(rd());
std::uniform_real_distribution<double> u(0,10);
std::vector<double> v;
int n;
std::cin>>n;
while(n--){
v.push_back( u(g));
}
std::copy( v.begin(),v.end(),std::... | 19.789474 | 77 | 0.619681 | [
"vector"
] |
83678f7a755eccebefeb2cb059f0deca1a510c40 | 2,837 | cpp | C++ | Kick Start 2021/Round B/C.cpp | Mandrenkov/Contests | 077e3177965280d39903288a713c951fc1a199c8 | [
"MIT"
] | null | null | null | Kick Start 2021/Round B/C.cpp | Mandrenkov/Contests | 077e3177965280d39903288a713c951fc1a199c8 | [
"MIT"
] | null | null | null | Kick Start 2021/Round B/C.cpp | Mandrenkov/Contests | 077e3177965280d39903288a713c951fc1a199c8 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// Macros
#ifdef D3BUG
#define cerrd if (D3BUG) cerr
#else
#define cerrd if (false) cerr
#endif
// Types
template <typename T> using vector1D = vector<T>;
template <typename T> using vector2D = vector<vector1D<T>>;
template <typename T> using vector3D = vector<ve... | 26.268519 | 80 | 0.513571 | [
"vector"
] |
8370a1ee889dba3db9f58659b6bdca82b2b1e6eb | 2,349 | hpp | C++ | bryllite-core/base58.hpp | bryllite/bcp-concept-prototype | 3ded79a85ee4c876fbbd0c1ee51680346874494e | [
"MIT"
] | null | null | null | bryllite-core/base58.hpp | bryllite/bcp-concept-prototype | 3ded79a85ee4c876fbbd0c1ee51680346874494e | [
"MIT"
] | null | null | null | bryllite-core/base58.hpp | bryllite/bcp-concept-prototype | 3ded79a85ee4c876fbbd0c1ee51680346874494e | [
"MIT"
] | null | null | null | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/**
* Why base-58 instead of standard base-64 encoding?
* - Don't want 0OIl cha... | 35.590909 | 83 | 0.738612 | [
"vector"
] |
83817bdb5578eebc8194d57f635a26af86ef4974 | 16,230 | cpp | C++ | src/NetworkBinding.cpp | Fastcode/NUClearNet.js | 4ec3a307021bdc262194ba508e366a084f5e4447 | [
"MIT"
] | null | null | null | src/NetworkBinding.cpp | Fastcode/NUClearNet.js | 4ec3a307021bdc262194ba508e366a084f5e4447 | [
"MIT"
] | 2 | 2019-06-21T12:28:42.000Z | 2021-09-20T13:10:29.000Z | src/NetworkBinding.cpp | Fastcode/NUClearNet.js | 4ec3a307021bdc262194ba508e366a084f5e4447 | [
"MIT"
] | 4 | 2015-11-22T05:05:43.000Z | 2021-05-23T05:32:02.000Z | /*
* Copyright (C) 2013-2016 Trent Houliston <trent@houliston.me>, Jake Woods <jake.f.woods@gmail.com>
*
* 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 witho... | 43.050398 | 171 | 0.608564 | [
"object",
"vector"
] |
83830716c833c86c6af647138afd2206f1b34e95 | 1,128 | cc | C++ | src/ray_cast.cc | dmraji/Probabalistic_TSO | a4c9ebf1ae6baa6aebfd59b02320aad8790841a5 | [
"MIT"
] | null | null | null | src/ray_cast.cc | dmraji/Probabalistic_TSO | a4c9ebf1ae6baa6aebfd59b02320aad8790841a5 | [
"MIT"
] | null | null | null | src/ray_cast.cc | dmraji/Probabalistic_TSO | a4c9ebf1ae6baa6aebfd59b02320aad8790841a5 | [
"MIT"
] | 1 | 2018-08-27T22:26:55.000Z | 2018-08-27T22:26:55.000Z | // Ray-casting non-member (source)
#include "ray_cast.hh"
//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//_//
void cast_ray(pt &origin,
pt &end,
float resolution,
std::vector<pt> & ray
)
{
// Calculate Euclidean distance between o... | 26.857143 | 88 | 0.579787 | [
"vector"
] |
83853b3e4bc0f8a1682fd0269f09ceab753b9e95 | 7,852 | cpp | C++ | ext/annotations/reader.cpp | unisys12/phalcon-hhvm | ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf | [
"BSD-2-Clause"
] | 13 | 2015-01-10T23:34:25.000Z | 2017-08-25T15:16:29.000Z | ext/annotations/reader.cpp | unisys12/phalcon-hhvm | ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf | [
"BSD-2-Clause"
] | 1 | 2015-04-14T06:47:20.000Z | 2015-10-02T04:07:34.000Z | ext/annotations/reader.cpp | unisys12/phalcon-hhvm | ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf | [
"BSD-2-Clause"
] | null | null | null |
/*
+------------------------------------------------------------------------+
| Phalcon Framework |
+------------------------------------------------------------------------+
| Copyright (c) 2011-2014 Phalcon Team (http://www.phalconphp.com) |
+-----... | 32.312757 | 156 | 0.681737 | [
"object"
] |
8b5182698ec31a834a1b7e22ecb6c3f437dc49ad | 1,055 | cpp | C++ | src/Tetris/GameObjects/GameOver.cpp | emersonmx/tetris-sfml | badb834cd59f30cd3dd75115f1e7a67865c1703e | [
"MIT"
] | null | null | null | src/Tetris/GameObjects/GameOver.cpp | emersonmx/tetris-sfml | badb834cd59f30cd3dd75115f1e7a67865c1703e | [
"MIT"
] | 7 | 2016-06-23T00:50:17.000Z | 2016-07-05T01:55:12.000Z | src/Tetris/GameObjects/GameOver.cpp | emersonmx/tetris-sfml | badb834cd59f30cd3dd75115f1e7a67865c1703e | [
"MIT"
] | null | null | null | #include "Tetris/GameObjects/GameOver.hpp"
#include <SFML/Graphics/RenderTarget.hpp>
#include <SFML/Graphics/RenderStates.hpp>
#include "Tetris/Utils.hpp"
namespace tetris {
namespace gameobjects {
void GameOver::create() {
sf::Text text("GAME OVER", *font_, characterSize_);
text.setFillColor(foregroundColo... | 26.375 | 80 | 0.703318 | [
"transform"
] |
8b6b3d68e5c71969b5379aca6db3f3f5e07613df | 2,399 | cc | C++ | chrome/browser/ui/views/harmony/bulleted_label_list_view.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/ui/views/harmony/bulleted_label_list_view.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/ui/views/harmony/bulleted_label_list_view.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/harmony/bulleted_label_list_view.h"
#include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
#include "ui/gf... | 28.903614 | 73 | 0.73489 | [
"vector"
] |
8b70009ba669b538fceed5fc3aa2c3ef7abe5073 | 2,268 | hpp | C++ | include/codegen/include/System/Collections/IList.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/IList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Collections/IList.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.Collections.ICollection
#include "System/Collections/... | 42.792453 | 98 | 0.723104 | [
"object"
] |
8b7313c8f837b0aa94c4cf8fd9c474122de6018b | 1,489 | cpp | C++ | tests/use_case/object_detection/ExpectedObjectDetectionResults.cpp | emza-vs/face_detection_example_arm_u55 | 21636e52de887deac8cde4c791527bb466387f2a | [
"Apache-2.0"
] | 2 | 2022-01-13T17:30:55.000Z | 2022-02-26T02:08:15.000Z | tests/use_case/object_detection/ExpectedObjectDetectionResults.cpp | emza-vs/face_detection_example_arm_u55 | 21636e52de887deac8cde4c791527bb466387f2a | [
"Apache-2.0"
] | null | null | null | tests/use_case/object_detection/ExpectedObjectDetectionResults.cpp | emza-vs/face_detection_example_arm_u55 | 21636e52de887deac8cde4c791527bb466387f2a | [
"Apache-2.0"
] | 1 | 2022-01-13T17:31:02.000Z | 2022-01-13T17:31:02.000Z | #include "ExpectedObjectDetectionResults.hpp"
/*
//Reference results
Got 2 boxes
0) (0.999246) -> Detection box: {x=89,y=17,w=41,h=56}
1) (0.995367) -> Detection box: {x=27,y=81,w=48,h=53}
Entering TestInference
Got 1 boxes
0) (0.998107) -> Detection box: {x=87,y=35,w=53,h=64}
Entering TestInference
Got 2 boxes
0)... | 29.196078 | 99 | 0.660846 | [
"vector"
] |
8b753c415d929c97031f910e8ae01f2588bbdf99 | 4,551 | cpp | C++ | rest/src/core/tests/TestOcrLine.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 10 | 2018-04-09T20:46:49.000Z | 2021-08-07T17:29:02.000Z | rest/src/core/tests/TestOcrLine.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 61 | 2018-01-03T09:49:16.000Z | 2022-02-18T12:26:11.000Z | rest/src/core/tests/TestOcrLine.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 3 | 2020-01-10T15:44:18.000Z | 2021-05-19T13:39:53.000Z | #define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE OcrLineTest
#include "core/Line.hpp"
#include <boost/test/unit_test.hpp>
#include <functional>
#include <iostream>
#include <vector>
using namespace pcw;
struct Fixture
{
static const char* ocr;
static const Box box;
Fixture()
: line(std::make_shared<L... | 32.978261 | 80 | 0.617886 | [
"vector"
] |
8b757498ad63ea806fd750de28ba233d15c03a1d | 3,371 | cpp | C++ | src/geo_bsd/hpgl/sequential_gaussian_simulation.cpp | hpgl/hpgl | 72d8c4113c242295de740513093f5779c94ba84a | [
"BSD-3-Clause"
] | 70 | 2015-01-21T12:24:50.000Z | 2022-03-16T02:10:45.000Z | src/geo_bsd/hpgl/sequential_gaussian_simulation.cpp | hpgl/hpgl | 72d8c4113c242295de740513093f5779c94ba84a | [
"BSD-3-Clause"
] | 8 | 2015-04-22T13:14:30.000Z | 2021-11-23T12:16:32.000Z | src/geo_bsd/hpgl/sequential_gaussian_simulation.cpp | hpgl/hpgl | 72d8c4113c242295de740513093f5779c94ba84a | [
"BSD-3-Clause"
] | 18 | 2015-02-15T18:04:31.000Z | 2021-01-16T08:54:32.000Z | #include "stdafx.h"
#include "api.h"
#include "property_array.h"
#include "sugarbox_grid.h"
#include "sgs_params.h"
#include "pretty_printer.h"
#include "sequential_simulation.h"
#include "calc_mean.h"
#include "mean_provider.h"
#include "my_kriging_weights.h"
#include "sugarbox_indexed_neighbour_lookup.h"
#... | 25.930769 | 112 | 0.677247 | [
"vector"
] |
8b85be30fc5c662c764643a2c05844b1564a5140 | 1,003 | hpp | C++ | include/lol/def/LolChampSelectLegacyLobbyStatus.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T11:14:55.000Z | 2020-07-22T11:14:55.000Z | include/lol/def/LolChampSelectLegacyLobbyStatus.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | null | null | null | include/lol/def/LolChampSelectLegacyLobbyStatus.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 4 | 2018-12-01T22:48:21.000Z | 2020-07-22T11:14:56.000Z | #pragma once
#include "../base_def.hpp"
namespace lol {
struct LolChampSelectLegacyLobbyStatus {
int32_t queueId;
bool isCustom;
bool isLeader;
bool isSpectator;
bool allowedPlayAgain;
std::vector<uint64_t> memberSummonerIds;
};
inline void to_json(json& j, const LolChampSelectLegacyLob... | 35.821429 | 82 | 0.664008 | [
"vector"
] |
8b8f4d8ac115e0797a65960d19114ef7bb62aad5 | 1,627 | cpp | C++ | LeetCode/Problems/Algorithms/#332_ReconstructItinerary_sol1_euler_path_40ms_13.6MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | LeetCode/Problems/Algorithms/#332_ReconstructItinerary_sol1_euler_path_40ms_13.6MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | LeetCode/Problems/Algorithms/#332_ReconstructItinerary_sol1_euler_path_40ms_13.6MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | class Solution {
private:
void euler(vector<vector<int>>& g, int node, stack<int>& st){
while(!g[node].empty()){
int next_node = g[node].back();
g[node].pop_back();
euler(g, next_node, st);
}
st.push(node);
}
public:
vector<string>... | 30.12963 | 73 | 0.477566 | [
"vector"
] |
8b91ae912119836e36a92b8fdd03f787d353a8af | 1,419 | hpp | C++ | player/playerlib/AudioRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/AudioRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/AudioRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | /*
* This file is part of FFL project.
*
* The MIT License (MIT)
* Copyright (C) 2017-2018 zhufeifei All rights reserved.
*
* AudioRender.hpp
* Created by zhufeifei(34008081@qq.com) on 2018/04/07
* https://github.com/zhenfei2016/FFL-v2.git
*
* 声音的渲染类
*
*/
#ifndef _AUDIO_RENDER_HPP_
#define _AUDIO_RENDER_HPP_
#... | 19.985915 | 91 | 0.714588 | [
"render"
] |
8b9606b9c3288a334290f7e9cf616ca7442266ef | 10,666 | cpp | C++ | intersectionsplitter/tests/intersectionsplittertest.cpp | csteuer/LineSegmentsIntersectionSplitter | 22222e66dabd62fe0d9ea000d2be84e3aec18a46 | [
"MIT"
] | 3 | 2020-12-29T20:23:40.000Z | 2021-11-02T16:48:18.000Z | intersectionsplitter/tests/intersectionsplittertest.cpp | ClausSteuer/LineSegmentsIntersectionSplitter | 22222e66dabd62fe0d9ea000d2be84e3aec18a46 | [
"MIT"
] | null | null | null | intersectionsplitter/tests/intersectionsplittertest.cpp | ClausSteuer/LineSegmentsIntersectionSplitter | 22222e66dabd62fe0d9ea000d2be84e3aec18a46 | [
"MIT"
] | 1 | 2021-08-11T02:22:09.000Z | 2021-08-11T02:22:09.000Z | #include <gmock/gmock.h>
#include <intersectionsplitter/intersectionsplitter.h>
#include "testutils.hpp"
using namespace intersectionsplitter;
TEST(WallFragmentIntersectionSplitterTest, singleFragment) {
std::vector<LineSegmentPtr> input = {Segment(0, 0, 1, 0)};
std::vector<LineSegmentPtr> result = splitLi... | 49.841121 | 159 | 0.641196 | [
"vector"
] |
8ba29d5fc3adb9a3263a4f987ca48308fef2bdf3 | 2,522 | cpp | C++ | laboratory/1065/Seminar_4/Source.cpp | catalinboja/catalinboja-cpp_2020 | ff1d2dc8620ff722aef151c9c823ec20f766d5b2 | [
"MIT"
] | 4 | 2020-10-13T13:37:15.000Z | 2021-07-10T15:40:40.000Z | laboratory/1065/Seminar_4/Source.cpp | catalinboja/catalinboja-cpp_2020 | ff1d2dc8620ff722aef151c9c823ec20f766d5b2 | [
"MIT"
] | null | null | null | laboratory/1065/Seminar_4/Source.cpp | catalinboja/catalinboja-cpp_2020 | ff1d2dc8620ff722aef151c9c823ec20f766d5b2 | [
"MIT"
] | 7 | 2020-10-16T08:32:42.000Z | 2021-03-02T14:38:28.000Z | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <string.h>
using namespace std;
class Product {
// private: - added by default
unsigned int id = 0; //4B
float price = 0; //4B
public:
bool isFragile = false; //1B
char name[50] = "Nothing"; //50B
private:
int* salesVolume = nullptr; //sales re... | 25.474747 | 130 | 0.605472 | [
"object"
] |
8ba81a5fe0942f2933725c4f3093b1abc9c5dc00 | 1,308 | cpp | C++ | modules/dnn/src/data_augmentor.cpp | anotherhelloworld/opencv | e46f5e25f911a5fe24d2d09c2310ae4287588762 | [
"BSD-3-Clause"
] | null | null | null | modules/dnn/src/data_augmentor.cpp | anotherhelloworld/opencv | e46f5e25f911a5fe24d2d09c2310ae4287588762 | [
"BSD-3-Clause"
] | null | null | null | modules/dnn/src/data_augmentor.cpp | anotherhelloworld/opencv | e46f5e25f911a5fe24d2d09c2310ae4287588762 | [
"BSD-3-Clause"
] | null | null | null | #include "opencv2/dnn/data_augmentor.hpp"
namespace cv { namespace dnn {
DataAugment::DataAugment(const std::vector<cv::Mat>& images)
: images(images)
{
std::function<cv::Mat(const cv::Mat&)> flipFunc = DataAugment::flipAugmentor;
methods.push_back(Method(flipFunc));
}
void DataAugment::createSample(std:... | 21.8 | 81 | 0.66055 | [
"vector"
] |
8baf7c5435445127758de3ceca980335abe15a54 | 3,180 | cpp | C++ | src/execution/aggregation_executor.cpp | yshihao/my-bustub | 2b67400587e936cd08ea9095936894c5469b49be | [
"MIT"
] | null | null | null | src/execution/aggregation_executor.cpp | yshihao/my-bustub | 2b67400587e936cd08ea9095936894c5469b49be | [
"MIT"
] | null | null | null | src/execution/aggregation_executor.cpp | yshihao/my-bustub | 2b67400587e936cd08ea9095936894c5469b49be | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// BusTub
//
// aggregation_executor.cpp
//
// Identification: src/execution/aggregation_executor.cpp
//
// Copyright (c) 2015-19, Carnegie Mellon University Database Group
//
//===---------------------... | 34.565217 | 101 | 0.593711 | [
"vector"
] |
8bb1e592f11687181314b0f3ffc9a14123384844 | 7,074 | cpp | C++ | src/type3_AndroidCloud/anbox-master/src/anbox/graphics/emugl/TextureDraw.cpp | akraino-edge-stack/iec | b01bce6165ef8368a607e17e1f3d4697b79db31b | [
"Apache-2.0"
] | null | null | null | src/type3_AndroidCloud/anbox-master/src/anbox/graphics/emugl/TextureDraw.cpp | akraino-edge-stack/iec | b01bce6165ef8368a607e17e1f3d4697b79db31b | [
"Apache-2.0"
] | null | null | null | src/type3_AndroidCloud/anbox-master/src/anbox/graphics/emugl/TextureDraw.cpp | akraino-edge-stack/iec | b01bce6165ef8368a607e17e1f3d4697b79db31b | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2015 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | 30.756522 | 77 | 0.705966 | [
"vector"
] |
8bb91416d78a07f96109bd4459cfa257c8bd6637 | 780 | cpp | C++ | notebook/graphs/bipartite-checking.cpp | brnpapa/icpc | 8149397daddc630e0fe2395f3f48e017154d223d | [
"MIT"
] | 19 | 2020-10-05T08:02:40.000Z | 2021-08-17T08:13:16.000Z | notebook/graphs/bipartite-checking.cpp | brnpapa/judge-resolutions | 8149397daddc630e0fe2395f3f48e017154d223d | [
"MIT"
] | null | null | null | notebook/graphs/bipartite-checking.cpp | brnpapa/judge-resolutions | 8149397daddc630e0fe2395f3f48e017154d223d | [
"MIT"
] | 10 | 2020-10-05T08:03:43.000Z | 2021-08-19T17:19:25.000Z | /*
Bipartite checking
Motivação: dado um connected and undirected graph G(V, E), determine se ele é bipartido.
*/
#include <bits/stdc++.h>
using namespace std;
/* input */
vector<vector<int>> adj_list; int V;
/* O(V+E) - returns true if the connected component is bipartite */
bool bfs(int s) {
enum { WHITE,... | 21.081081 | 91 | 0.598718 | [
"vector"
] |
8bc3d46e57c248186231214216c398a28b878008 | 1,294 | hpp | C++ | include/darwin/generation.hpp | nathiss/Darwin | 5248376e6179ed1ba461e4d01aa92c51ecc1632d | [
"MIT"
] | null | null | null | include/darwin/generation.hpp | nathiss/Darwin | 5248376e6179ed1ba461e4d01aa92c51ecc1632d | [
"MIT"
] | null | null | null | include/darwin/generation.hpp | nathiss/Darwin | 5248376e6179ed1ba461e4d01aa92c51ecc1632d | [
"MIT"
] | null | null | null | //
// Created by nathiss on 12/11/2019.
//
#ifndef DARWIN_GENERATION_HPP
#define DARWIN_GENERATION_HPP
#include <cstdlib>
#include <memory>
#include <utility>
#include <vector>
#include <darwin/image.hpp>
namespace darwin {
class Generation {
public:
Generation(std::size_t generation_size, std::size_t best_si... | 22.310345 | 97 | 0.694745 | [
"vector"
] |
8bc4d3a94b5ff16056189879fe64fe86460d3b0b | 1,175 | cpp | C++ | Math/Math/math/Vector2D.cpp | sunshineheader/Math | 58578625465abfb91fc97ce7110328b41762c23f | [
"Apache-2.0"
] | null | null | null | Math/Math/math/Vector2D.cpp | sunshineheader/Math | 58578625465abfb91fc97ce7110328b41762c23f | [
"Apache-2.0"
] | null | null | null | Math/Math/math/Vector2D.cpp | sunshineheader/Math | 58578625465abfb91fc97ce7110328b41762c23f | [
"Apache-2.0"
] | null | null | null | #include "Vector2D.h"
namespace Math{
void Vector2D::normalize()
{
float normalize = x * x + y * y;
// Already normalizeormalized.
if (normalize == 1.0f)
return;
normalize = sqrt(normalize);
// Too close to zero.
if (normalize < 0.000001f)
return;
normalize = 1.0f / normalize;
x *= normaliz... | 18.951613 | 76 | 0.624681 | [
"vector"
] |
8bcc359f0b21875fc469bf51223be413ce4ef146 | 2,797 | hpp | C++ | src/scene/md2/header.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | null | null | null | src/scene/md2/header.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | null | null | null | src/scene/md2/header.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | 2 | 2021-03-15T18:51:32.000Z | 2021-07-19T23:45:49.000Z | #ifndef CPP_ENGINE_HEADER_HPP
#define CPP_ENGINE_HEADER_HPP
#include <array>
#include <cstdint>
#include <string>
#include <glm/gtx/rotate_vector.hpp>
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
namespace engine::md2 {
constexpr auto IDP2 = std::uint32_t(('2' << 24) + ('P' << 16) + ('D' << 8) + 'I');
co... | 22.198413 | 82 | 0.581337 | [
"mesh",
"vector",
"transform"
] |
8bda65235c22269e66e99afd48cc308f6c35664f | 2,553 | cpp | C++ | D&D Wrath of Silumgar/Motor2D/j1Language.cpp | Wilhelman/DD-Shadow-over-Mystara | d4303ad87cc442414c0facb71ce9cd5564b51039 | [
"MIT"
] | 3 | 2019-06-21T04:40:16.000Z | 2020-07-07T13:09:53.000Z | D&D Wrath of Silumgar/Motor2D/j1Language.cpp | Wilhelman/DD-Shadow-over-Mystara | d4303ad87cc442414c0facb71ce9cd5564b51039 | [
"MIT"
] | 56 | 2018-05-07T10:30:08.000Z | 2018-05-15T08:27:06.000Z | D&D Wrath of Silumgar/Motor2D/j1Language.cpp | Wilhelman/DD-Shadow-over-Mystara | d4303ad87cc442414c0facb71ce9cd5564b51039 | [
"MIT"
] | 3 | 2019-01-03T17:24:57.000Z | 2019-05-04T08:49:12.000Z | #include "ctDefs.h"
#include "ctLog.h"
#include "j1Language.h"
#include "ctApp.h"
j1Language::j1Language() : ctModule()
{
name = "language";
}
// Destructor
j1Language::~j1Language()
{}
bool j1Language::Load(pugi::xml_node& save) {
bool ret = true;
return ret;
}
bool j1Language::Save(pugi::xml_node& save)const... | 25.787879 | 110 | 0.73208 | [
"render"
] |
8bdc55c98e2a2664e7148ad135c16eaebe745d83 | 11,121 | cpp | C++ | src/full_connected_layer.cpp | ashen7/LeNet-5 | 2902223688ca6127d5fbccd3a3fae824f38a3158 | [
"Apache-2.0"
] | 2 | 2020-01-15T08:40:40.000Z | 2021-03-24T12:55:27.000Z | src/full_connected_layer.cpp | bitph/LeNet-6 | 2902223688ca6127d5fbccd3a3fae824f38a3158 | [
"Apache-2.0"
] | null | null | null | src/full_connected_layer.cpp | bitph/LeNet-6 | 2902223688ca6127d5fbccd3a3fae824f38a3158 | [
"Apache-2.0"
] | 1 | 2021-04-15T02:10:48.000Z | 2021-04-15T02:10:48.000Z | /*
* =====================================================================================
*
* Filename: full_connected_layer.cpp
*
* Description:
*
* Version: 1.0
* Created: 2020年01月04日 10时44分21秒
* Revision: none
* Compiler: gcc
*
* Author: yipeng
* Or... | 37.318792 | 103 | 0.598417 | [
"vector"
] |
8bde6c2dd61f375791a43a1f8be96cd8936c2081 | 1,579 | cc | C++ | 17summer/hdu5869_ac.cc | xsthunder/a | 3c30f31c59030d70462b71ef28c5eee19c6eddd6 | [
"MIT"
] | 1 | 2018-07-22T04:52:10.000Z | 2018-07-22T04:52:10.000Z | 17summer/hdu5869_ac.cc | xsthunder/a | 3c30f31c59030d70462b71ef28c5eee19c6eddd6 | [
"MIT"
] | 1 | 2018-08-11T13:29:59.000Z | 2018-08-11T13:31:28.000Z | 17summer/hdu5869_ac.cc | xsthunder/a | 3c30f31c59030d70462b71ef28c5eee19c6eddd6 | [
"MIT"
] | null | null | null | #include<cstdio>
#include<algorithm>
#include<vector>
#include<cstdlib>
#include<cstring>
#include<utility>
using namespace std;
#define MS(m,z) memset(m,z,sizeof(m))
typedef unsigned U; typedef pair<int,int > P; typedef long long ll;
void inp();
int gcd(int a,int b){return a?gcd(b%a,a):b;}
int main(){
#ifdef XS
freop... | 19.987342 | 67 | 0.555415 | [
"vector"
] |
8beb463d56a2ef565a6e4b5041ca21edc44199e5 | 9,405 | cpp | C++ | src/sys_render.cpp | nkga/vp9-player | fb2fb56ac448f1d0770afa43de08cc71092b5467 | [
"MIT"
] | 1 | 2018-12-12T15:42:46.000Z | 2018-12-12T15:42:46.000Z | src/sys_render.cpp | nkga/vp9-player | fb2fb56ac448f1d0770afa43de08cc71092b5467 | [
"MIT"
] | null | null | null | src/sys_render.cpp | nkga/vp9-player | fb2fb56ac448f1d0770afa43de08cc71092b5467 | [
"MIT"
] | 1 | 2022-03-18T09:52:56.000Z | 2022-03-18T09:52:56.000Z | #include "sys_render.h"
#include "sys_com.h"
#include "sys_window.h"
#include "core_util.h"
namespace sys {
#include "shd_yuv_ps.h"
#include "shd_yuv_vs.h"
render_t::render_t(sys::window_t* window) {
core::util::zero(this);
this->window = window;
if (window->hwnd == 0) {
return;
}
if (FAILED(CreateDXGIFact... | 26.871429 | 150 | 0.733546 | [
"render"
] |
8bee0fc33bf45844dd149fbfce6b5b7d7ebed0c5 | 7,258 | cpp | C++ | code/src/boids2D/StateRenderable.cpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | 4 | 2016-06-24T09:22:18.000Z | 2019-06-13T13:50:53.000Z | code/src/boids2D/StateRenderable.cpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | null | null | null | code/src/boids2D/StateRenderable.cpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | 2 | 2016-06-10T12:46:17.000Z | 2018-10-14T06:37:21.000Z | #include "./../../include/boids2D/StateRenderable.hpp"
#include "./../../include/gl_helper.hpp"
#include "./../../include/log.hpp"
#include "./../../include/Utils.hpp"
#include <glm/gtc/type_ptr.hpp>
#include <GL/glew.h>
StateRenderable::StateRenderable(ShaderProgramPtr shaderProgram, MovableBoidPtr boid) :
Hiera... | 30.624473 | 117 | 0.605952 | [
"model"
] |
8bf0d3181241a9763c027dede7aff7fc32f85de3 | 2,346 | cpp | C++ | DerydocaEngine/src/Resources/Resource.cpp | Derydoca/derydocaengine | a9cdb71082fbb879d9448dc0c1a95581681d61f1 | [
"BSD-3-Clause"
] | 37 | 2018-05-21T15:21:26.000Z | 2020-11-16T17:50:44.000Z | DerydocaEngine/src/Resources/Resource.cpp | Derydoca/derydocaengine | a9cdb71082fbb879d9448dc0c1a95581681d61f1 | [
"BSD-3-Clause"
] | 38 | 2018-03-09T23:57:07.000Z | 2020-07-10T20:52:42.000Z | DerydocaEngine/src/Resources/Resource.cpp | Derydoca/derydocaengine | a9cdb71082fbb879d9448dc0c1a95581681d61f1 | [
"BSD-3-Clause"
] | 5 | 2018-08-28T11:12:18.000Z | 2019-09-05T09:30:41.000Z | #include "EnginePch.h"
#include "Resources\Resource.h"
#include "Files\Serializers\FileSerializerLibrary.h"
#include "Resources\Serializers\ResourceSerializerLibrary.h"
namespace DerydocaEngine::Resources
{
Resource::Resource() :
Resource("", ResourceType::UnknownResourceType, "", "")
{
}
Resource::Resource(R... | 26.359551 | 183 | 0.725064 | [
"object"
] |
8bf87b9d83a165709e4bdbf9d9e12220f9272f7f | 12,114 | hpp | C++ | dev/l0_tools/zexx.hpp | cmsxbc/oneDAL | eeb8523285907dc359c84ca4894579d5d1d9f57e | [
"Apache-2.0"
] | 188 | 2016-04-16T12:11:48.000Z | 2018-01-12T12:42:55.000Z | dev/l0_tools/zexx.hpp | cmsxbc/oneDAL | eeb8523285907dc359c84ca4894579d5d1d9f57e | [
"Apache-2.0"
] | 1,198 | 2020-03-24T17:26:18.000Z | 2022-03-31T08:06:15.000Z | dev/l0_tools/zexx.hpp | cmsxbc/oneDAL | eeb8523285907dc359c84ca4894579d5d1d9f57e | [
"Apache-2.0"
] | 93 | 2018-01-23T01:59:23.000Z | 2020-03-16T11:04:19.000Z | /*******************************************************************************
* Copyright 2021 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 35.317784 | 105 | 0.665263 | [
"object",
"vector"
] |
e30103d5af86265aa6b63be3602f482b29550c60 | 749 | cpp | C++ | lab_03/libs/driver/src/scene/scene.cpp | migregal/bmstu_iu7_oop | a17b2b5b5eaa175ae3ad4fa5a217b2664d4aa331 | [
"MIT"
] | 5 | 2021-05-24T20:03:38.000Z | 2021-06-22T23:32:52.000Z | lab_03/libs/driver/src/scene/scene.cpp | migregal/bmstu_iu7_oop | a17b2b5b5eaa175ae3ad4fa5a217b2664d4aa331 | [
"MIT"
] | null | null | null | lab_03/libs/driver/src/scene/scene.cpp | migregal/bmstu_iu7_oop | a17b2b5b5eaa175ae3ad4fa5a217b2664d4aa331 | [
"MIT"
] | 1 | 2021-06-17T19:32:26.000Z | 2021-06-17T19:32:26.000Z | #include <scene/scene.h>
#include <iterator>
void Scene::add_model(const std::shared_ptr<Object> &model) {
models->add(model);
}
void Scene::remove_model(const std::size_t index) {
auto it = models->begin();
std::advance(it, index);
models->remove(it);
}
void Scene::add_camera(const std::shared_ptr<... | 20.805556 | 63 | 0.671562 | [
"object",
"vector",
"model"
] |
bde1f37eba5f1c4687b7bff98b94f83760189a24 | 2,025 | cpp | C++ | code/source/Scene.cpp | MajiKau/MoosEngine | 3fca25f52129a33f438d0b3477a810d1f6c83a3f | [
"MIT"
] | null | null | null | code/source/Scene.cpp | MajiKau/MoosEngine | 3fca25f52129a33f438d0b3477a810d1f6c83a3f | [
"MIT"
] | null | null | null | code/source/Scene.cpp | MajiKau/MoosEngine | 3fca25f52129a33f438d0b3477a810d1f6c83a3f | [
"MIT"
] | null | null | null | #include "code/headers/Scene.h"
Scene::Scene()
{
m_root = new Entity("Root");
m_root->AddRenderLayer(0);
}
void Scene::Update(float deltaTime)
{
m_root->Update(deltaTime);
/*for each (auto entity in m_entities)
{
entity->Update(deltaTime);
}*/
}
void Scene::Render(BatchRenderer * renderer)
{
m_root->Render(... | 16.330645 | 52 | 0.66716 | [
"render",
"vector"
] |
bde6ef4e1c01159eca0d8d4dcd2bab71bd0c895e | 1,261 | hpp | C++ | tests/framework/types.hpp | tacticalmelonfarmer/callable | 36a7a75ffb104d0f2be6c1e52bd6c1844996bc39 | [
"MIT"
] | 1 | 2019-09-29T01:21:31.000Z | 2019-09-29T01:21:31.000Z | tests/framework/types.hpp | tacticalmelonfarmer/callable | 36a7a75ffb104d0f2be6c1e52bd6c1844996bc39 | [
"MIT"
] | null | null | null | tests/framework/types.hpp | tacticalmelonfarmer/callable | 36a7a75ffb104d0f2be6c1e52bd6c1844996bc39 | [
"MIT"
] | null | null | null | #pragma once
#include <callable.hpp>
#include <type_traits>
using testing_type = tmf::callable<int(int, int&, int const&, int&&, int*)>;
inline int
parameter_test_function(int val, int& ref, int const& cref, int&& rval, int* ptr)
{
int result = (val + ref + cref + rval + *ptr);
ref = 0;
*ptr = 0;
return resu... | 22.517857 | 84 | 0.657415 | [
"object"
] |
bde7ed9c3bf57b61fe83aebaf5fabe7b25813b3c | 24,805 | cpp | C++ | src/json_sqlbuilder.cpp | lymslive/jsonkit | 1f119a4fb2bb5ea4e7799deb48a48c11e80f7d68 | [
"MIT"
] | null | null | null | src/json_sqlbuilder.cpp | lymslive/jsonkit | 1f119a4fb2bb5ea4e7799deb48a48c11e80f7d68 | [
"MIT"
] | null | null | null | src/json_sqlbuilder.cpp | lymslive/jsonkit | 1f119a4fb2bb5ea4e7799deb48a48c11e80f7d68 | [
"MIT"
] | null | null | null | #include "json_sqlbuilder.h"
#include "json_operator.h"
#include "jsonkit_internal.h"
#define SQL_ASSERT(expr) do { \
if (!expr) { \
LOGF("build sql failed: %s", #expr); \
return false; \
} \
} while(0)
namespace jsonkit
{
/* ************************************************************ */
// ... | 23.668893 | 110 | 0.520218 | [
"object",
"vector"
] |
bdf4866a8b76786974a8583214c9a0350504fb3b | 7,449 | cpp | C++ | src/collapse_edges.cpp | sgsellan/opening-and-closing-surfaces | 57127178c2e8d50396c02a853c4456a90e9220c5 | [
"MIT"
] | 16 | 2020-10-27T00:03:03.000Z | 2022-02-01T19:44:35.000Z | src/collapse_edges.cpp | sgsellan/opening-and-closing-surfaces | 57127178c2e8d50396c02a853c4456a90e9220c5 | [
"MIT"
] | null | null | null | src/collapse_edges.cpp | sgsellan/opening-and-closing-surfaces | 57127178c2e8d50396c02a853c4456a90e9220c5 | [
"MIT"
] | 3 | 2020-10-27T01:40:44.000Z | 2021-02-23T13:42:16.000Z | #include <igl/per_vertex_normals.h>
#include <igl/principal_curvature.h>
#include <igl/avg_edge_length.h>
#include <igl/massmatrix.h>
#include <igl/adjacency_list.h>
#include <igl/per_face_normals.h>
#include <igl/barycenter.h>
#include <igl/pinv.h>
#include <igl/edges.h>
#include <Eigen/SparseCore>
#include <igl/adjac... | 36.514706 | 137 | 0.458585 | [
"vector"
] |
bdf893ccca840aa2a27387097f712e4677f3ebc1 | 28,478 | cc | C++ | src/sdg-untangler.cc | KatOfCats/sdg | 1916e5c86dd88e601ab7476f38daef2bd3b3b6fc | [
"MIT"
] | null | null | null | src/sdg-untangler.cc | KatOfCats/sdg | 1916e5c86dd88e601ab7476f38daef2bd3b3b6fc | [
"MIT"
] | null | null | null | src/sdg-untangler.cc | KatOfCats/sdg | 1916e5c86dd88e601ab7476f38daef2bd3b3b6fc | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sdglib/workspace/WorkSpace.hpp>
#include <sdglib/processors/LinkageUntangler.hpp>
#include <sdglib/processors/LocalHaplotypeAssembler.hpp>
#include <sdglib/processors/GraphEditor.hpp>
#include "sdglib/utilities/OutputLog.hpp"
#include "cxxopts.hpp"
int main(int argc, c... | 51.219424 | 189 | 0.595793 | [
"vector"
] |
da0d8ac7057b904325d23bcbd98d29c4f81aa053 | 3,350 | hpp | C++ | include/mbgl/actor/established_actor.hpp | mueschm/mapbox-gl-native | b07db0f8d01f855dcd336aa1baabde94c5c1740d | [
"BSL-1.0",
"Apache-2.0"
] | 4,234 | 2015-01-09T08:10:16.000Z | 2022-03-30T14:13:55.000Z | include/mbgl/actor/established_actor.hpp | mueschm/mapbox-gl-native | b07db0f8d01f855dcd336aa1baabde94c5c1740d | [
"BSL-1.0",
"Apache-2.0"
] | 12,771 | 2015-01-01T20:27:42.000Z | 2022-03-24T18:14:44.000Z | include/mbgl/actor/established_actor.hpp | mueschm/mapbox-gl-native | b07db0f8d01f855dcd336aa1baabde94c5c1740d | [
"BSL-1.0",
"Apache-2.0"
] | 1,571 | 2015-01-08T08:24:53.000Z | 2022-03-28T06:30:53.000Z | #pragma once
#include <mbgl/actor/aspiring_actor.hpp>
#include <mbgl/actor/mailbox.hpp>
#include <mbgl/actor/message.hpp>
#include <mbgl/actor/actor_ref.hpp>
#include <memory>
#include <future>
#include <type_traits>
#include <cassert>
namespace mbgl {
/*
An `EstablishedActor<O>` is one half of the pair of type... | 41.358025 | 147 | 0.676716 | [
"object"
] |
da129ff32aa31544052c72ba37e7da8d1ff31b70 | 1,991 | cpp | C++ | spot_micro_motion_cmd/src/utils.cpp | bwees/spotMicro | 48a505e6b66de135f7ef196736049132f8111d6c | [
"MIT"
] | 1,563 | 2020-06-09T09:49:32.000Z | 2022-03-31T04:39:45.000Z | spot_micro_motion_cmd/src/utils.cpp | bwees/spotMicro | 48a505e6b66de135f7ef196736049132f8111d6c | [
"MIT"
] | 71 | 2020-07-02T16:30:39.000Z | 2022-03-24T07:46:06.000Z | spot_micro_motion_cmd/src/utils.cpp | bwees/spotMicro | 48a505e6b66de135f7ef196736049132f8111d6c | [
"MIT"
] | 390 | 2020-06-10T00:18:57.000Z | 2022-03-30T12:42:52.000Z | #include "utils.h"
#include <ros/ros.h>
#include <eigen3/Eigen/Geometry>
#include "tf2/LinearMath/Quaternion.h"
#include "tf2_eigen/tf2_eigen.h"
#include "tf2_geometry_msgs/tf2_geometry_msgs.h"
using namespace Eigen;
using namespace geometry_msgs;
Affine3d matrix4fToAffine3d(const Matrix4f& in) {
// Convert a Eig... | 30.630769 | 79 | 0.750879 | [
"geometry",
"transform"
] |
da1994f2e74f1c51d50559b9dcbd44d2e750e000 | 14,243 | cc | C++ | src/module/builtins.cc | ArgonLang/Argon | 462d3d8721acd5131894bcbfa0214b0cbcffdf66 | [
"Apache-2.0"
] | 13 | 2021-06-24T17:50:20.000Z | 2022-03-13T23:00:16.000Z | src/module/builtins.cc | ArgonLang/Argon | 462d3d8721acd5131894bcbfa0214b0cbcffdf66 | [
"Apache-2.0"
] | null | null | null | src/module/builtins.cc | ArgonLang/Argon | 462d3d8721acd5131894bcbfa0214b0cbcffdf66 | [
"Apache-2.0"
] | 1 | 2022-03-31T22:58:42.000Z | 2022-03-31T22:58:42.000Z | // This source file is part of the Argon project.
//
// Licensed under the Apache License v2.0
#include <vm/context.h>
#include <vm/runtime.h>
#include <object/datatype/bool.h>
#include <object/datatype/bounds.h>
#include <object/datatype/bytes.h>
#include <object/datatype/code.h>
#include <object/datatype/decimal.h>... | 33.671395 | 110 | 0.567928 | [
"object"
] |
da1a7b743775ab447e7991c44475925dc66c1107 | 1,076 | cc | C++ | matI.cc | v0idx/matrixes | 9c016c32ae39e90a4bbbf7fe4f2798712a190a1e | [
"BSD-2-Clause"
] | null | null | null | matI.cc | v0idx/matrixes | 9c016c32ae39e90a4bbbf7fe4f2798712a190a1e | [
"BSD-2-Clause"
] | null | null | null | matI.cc | v0idx/matrixes | 9c016c32ae39e90a4bbbf7fe4f2798712a190a1e | [
"BSD-2-Clause"
] | null | null | null | #include "mat.hh"
using std::pair;
using std::vector;
namespace matrix
{
void swap(vector<vector<int>> &m, pair<int, int> i, pair<int, int> j)
{
int temp = m.at(i.first).at(i.second);
m.at(i.first).at(i.second) = m.at(j.first).at(j.second);
m.at(j.first).at(j.second) = temp;... | 23.391304 | 81 | 0.3671 | [
"vector"
] |
da1a927ee8315e574c5f1a4d137850589eff62cc | 16,646 | hpp | C++ | src/LinkedBuffer.hpp | frantic0/BitalinoRapidMix | b59862ceaf33994abd22fedfb6d88b85103c7764 | [
"BSD-2-Clause"
] | 2 | 2018-08-08T01:10:34.000Z | 2021-03-04T14:49:40.000Z | src/LinkedBuffer.hpp | frantic0/BitalinoRapidMix | b59862ceaf33994abd22fedfb6d88b85103c7764 | [
"BSD-2-Clause"
] | null | null | null | src/LinkedBuffer.hpp | frantic0/BitalinoRapidMix | b59862ceaf33994abd22fedfb6d88b85103c7764 | [
"BSD-2-Clause"
] | null | null | null | //
// LinkedBuffer.hpp
// Lock-free (except when linking atm) buffer which propagates its changes to linked buffers
// All linked buffers can be in different threads (read: should be)
// Requires an update function to be called in the thread which it resides in
// Concurrent sets must be ordered to have synchroniz... | 35.118143 | 124 | 0.578337 | [
"vector"
] |
da23cf54f1e752f2e37b43526543328878403c58 | 7,951 | cpp | C++ | rh-/rh-/RenderableSystem.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | rh-/rh-/RenderableSystem.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | rh-/rh-/RenderableSystem.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "RenderableSystem.h"
#include "RenderableComponent.h"
#include "PostProcess.h"
#include <codecvt>
#include <locale>
RenderableSystem::RenderableSystem(ID3D11Device1* device, ID3D11DeviceContext1* context, shared_ptr<PhysicsSystem> physicsSystem)
{
_device = device;
_context = context;
_s... | 30.003774 | 205 | 0.745315 | [
"vector",
"model"
] |
da28f3f5951692dd7eb8ad34441d2c7a62017438 | 1,417 | cpp | C++ | src/native/devicecontrol.cpp | nonomal/node-tap | f8e5fa21b6f53bebbf948e52982d631be638a2c4 | [
"Apache-2.0"
] | 780 | 2018-02-25T13:32:44.000Z | 2022-03-20T17:48:22.000Z | src/native/devicecontrol.cpp | nonomal/node-tap | f8e5fa21b6f53bebbf948e52982d631be638a2c4 | [
"Apache-2.0"
] | 59 | 2018-02-26T21:00:01.000Z | 2020-06-16T02:59:21.000Z | src/native/devicecontrol.cpp | nonomal/node-tap | f8e5fa21b6f53bebbf948e52982d631be638a2c4 | [
"Apache-2.0"
] | 161 | 2018-04-01T04:21:18.000Z | 2021-10-17T07:56:32.000Z |
#include <nan.h>
#include "./error.hpp"
using namespace std;
NAN_METHOD(N_DeviceControl)
{
if (info.Length() != 4)
{
Nan::ThrowError("Wrong number of arguments.");
return;
}
if (!info[0]->IsNumber())
{
Nan::ThrowError("Wrong type of handle.");
return;
}
lo... | 27.25 | 130 | 0.628088 | [
"object"
] |
da2cecc1cde0fd58a7e3a21fd4df27e62ce4c066 | 4,716 | hpp | C++ | src/core/TChem_IgnitionZeroD_SacadoJacobianInternal.hpp | sandialabs/TChem | c9d00d7d283c8687a5aa4549161e29a08d3d39d6 | [
"BSD-2-Clause"
] | 30 | 2020-10-28T08:07:36.000Z | 2022-03-29T15:22:30.000Z | src/core/TChem_IgnitionZeroD_SacadoJacobianInternal.hpp | sandialabs/TChem | c9d00d7d283c8687a5aa4549161e29a08d3d39d6 | [
"BSD-2-Clause"
] | 2 | 2021-02-22T21:47:47.000Z | 2022-03-16T16:38:07.000Z | src/core/TChem_IgnitionZeroD_SacadoJacobianInternal.hpp | sandialabs/TChem | c9d00d7d283c8687a5aa4549161e29a08d3d39d6 | [
"BSD-2-Clause"
] | 10 | 2020-10-28T01:11:41.000Z | 2021-06-16T08:15:28.000Z | #include "TChem_IgnitionZeroD_SacadoJacobian.hpp"
namespace TChem {
template<typename PolicyType,
typename ValueType,
typename DeviceType>
void
IgnitionZeroD_SacadoJacobian_TemplateRun( /// input
const std::string& profile_name,
const ValueType& dummyValueType,
/// t... | 40.655172 | 123 | 0.612595 | [
"vector"
] |
da3249113f1361a3f78a793ca8c9388c3cec6a86 | 34,345 | cpp | C++ | Src/Layouts/MXNewStringSearchLayout.cpp | L-Spiro/MhsX | 9cc71fbbac93ba54a01839db129cd9b47a68f29e | [
"BSD-2-Clause"
] | 19 | 2016-09-07T18:22:09.000Z | 2022-03-25T23:05:39.000Z | Src/Layouts/MXNewStringSearchLayout.cpp | L-Spiro/MhsX | 9cc71fbbac93ba54a01839db129cd9b47a68f29e | [
"BSD-2-Clause"
] | 1 | 2021-09-30T14:24:54.000Z | 2021-11-13T14:58:02.000Z | Src/Layouts/MXNewStringSearchLayout.cpp | L-Spiro/MhsX | 9cc71fbbac93ba54a01839db129cd9b47a68f29e | [
"BSD-2-Clause"
] | 5 | 2018-04-10T16:52:25.000Z | 2021-05-11T02:40:17.000Z | #include "MXNewStringSearchLayout.h"
#include "../Layouts/MXLayoutMacros.h"
#include "../Strings/MXStringDecoder.h"
#include "../System/MXSystem.h"
#include "MXLayoutManager.h"
#include <Base/LSWBase.h>
namespace mx {
#define MX_SEARCH_W 280
//#define MX_SEARCH_H (200)
#define MX_SEARCH_GROUP_TOP ... | 37.412854 | 151 | 0.605794 | [
"vector"
] |
da374d46dfe1cab2ef8ec0ebcde1db6a7c3c1461 | 1,987 | cpp | C++ | src/interfaces/matlab/opengm/mex-src/model/loadModel.cpp | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 318 | 2015-01-07T15:22:02.000Z | 2022-01-22T10:10:29.000Z | src/interfaces/matlab/opengm/mex-src/model/loadModel.cpp | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 89 | 2015-03-24T14:33:01.000Z | 2020-07-10T13:59:13.000Z | src/interfaces/matlab/opengm/mex-src/model/loadModel.cpp | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 119 | 2015-01-13T08:35:03.000Z | 2022-03-01T01:49:08.000Z | //include matlab headers
#include "mex.h"
// matlab handle
#include "../helper/handle/handle.hxx"
#include "matlabModelType.hxx"
/**
* @brief This file implements an interface to load an opengm model in MatLab.
*
* This routine accepts a string containing the filename of an opengm model
* stored in hd5 format. T... | 36.127273 | 80 | 0.703573 | [
"model"
] |
da376fdde90fa91ee01076321ace961c5a368924 | 2,965 | cc | C++ | src/tir/schedule/transform.cc | mozga-intel/tvm | 544724439efb9a795c92bd7ec9f7929e41c843c6 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | 1 | 2021-09-30T01:31:50.000Z | 2021-09-30T01:31:50.000Z | src/tir/schedule/transform.cc | mozga-intel/tvm | 544724439efb9a795c92bd7ec9f7929e41c843c6 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | null | null | null | src/tir/schedule/transform.cc | mozga-intel/tvm | 544724439efb9a795c92bd7ec9f7929e41c843c6 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | 2 | 2021-09-30T21:06:03.000Z | 2022-02-25T00:52:12.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 ... | 39.013158 | 100 | 0.702867 | [
"transform"
] |
da3a8687101538c407cc31f9bcc7aac8205177f3 | 10,200 | hpp | C++ | src/sqlite/sqlite_statement.hpp | gsalomao/cppdbc | 2f481dfa2b938eff819e711222c31539d34cb54a | [
"MIT"
] | null | null | null | src/sqlite/sqlite_statement.hpp | gsalomao/cppdbc | 2f481dfa2b938eff819e711222c31539d34cb54a | [
"MIT"
] | null | null | null | src/sqlite/sqlite_statement.hpp | gsalomao/cppdbc | 2f481dfa2b938eff819e711222c31539d34cb54a | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2020 Gustavo Salomao
*
* 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, pub... | 30.267062 | 96 | 0.641569 | [
"object"
] |
da58b0d1ff62b208caa1e9c3f669193cded02091 | 16,725 | cpp | C++ | products/sgen/sgen_utils/src/SourceGen.cpp | cbtek/SourceGen | 6593300c658529acb06b83982bbc9e698c270aeb | [
"MIT"
] | null | null | null | products/sgen/sgen_utils/src/SourceGen.cpp | cbtek/SourceGen | 6593300c658529acb06b83982bbc9e698c270aeb | [
"MIT"
] | null | null | null | products/sgen/sgen_utils/src/SourceGen.cpp | cbtek/SourceGen | 6593300c658529acb06b83982bbc9e698c270aeb | [
"MIT"
] | null | null | null | /**
MIT License
Copyright (c) 2016 cbtek
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, publish, distrib... | 41.398515 | 226 | 0.585411 | [
"vector"
] |
da6033e6ebbb530cf2569e919deb9f4eb559405f | 2,250 | hpp | C++ | projects/pde1d/solver.hpp | MargotLdm/cpp_dauphine | e2b1f0a0619c99dd5b8080d780c3fe28217f04b0 | [
"BSD-3-Clause"
] | null | null | null | projects/pde1d/solver.hpp | MargotLdm/cpp_dauphine | e2b1f0a0619c99dd5b8080d780c3fe28217f04b0 | [
"BSD-3-Clause"
] | null | null | null | projects/pde1d/solver.hpp | MargotLdm/cpp_dauphine | e2b1f0a0619c99dd5b8080d780c3fe28217f04b0 | [
"BSD-3-Clause"
] | null | null | null | //
// solver.hpp
//
//
// Created by Margot on 01/01/2019.
// Copyright © 2019 Margot. All rights reserved.
//
#ifndef tridiagonal_solver_system_hpp
#define tridiagonal_solver_system_hpp
#include <string>
#include "matrix.hpp"
class Pde_solver
{
public:
Pde_solver();
Pde_solver(double S0, doub... | 40.178571 | 202 | 0.684 | [
"vector"
] |
da623b01e30cb2c44b134299ac463c67bce9e752 | 3,993 | cpp | C++ | examples/nbody_vec4/nbody_vec4.cpp | rcalland/hemi | 2128055060160e1961c92a5192f4cb0141bb294e | [
"BSD-3-Clause"
] | 286 | 2015-01-15T11:26:33.000Z | 2022-03-31T00:48:25.000Z | examples/nbody_vec4/nbody_vec4.cpp | rcalland/hemi | 2128055060160e1961c92a5192f4cb0141bb294e | [
"BSD-3-Clause"
] | 17 | 2015-10-04T17:57:56.000Z | 2022-03-29T03:04:16.000Z | examples/nbody_vec4/nbody_vec4.cpp | rcalland/hemi | 2128055060160e1961c92a5192f4cb0141bb294e | [
"BSD-3-Clause"
] | 52 | 2015-02-02T07:55:54.000Z | 2022-02-20T19:00:34.000Z | ///////////////////////////////////////////////////////////////////////////////
// This example implements a simple all-pairs n-body gravitational force
// calculation using a 4D vector class called Vec4f. Vec4f uses the HEMI
// Portable CUDA C/C++ Macros to enable all of the code for the class to be
// shared betwee... | 34.721739 | 96 | 0.653644 | [
"vector"
] |
da62b1ef751ce6aca93bf2ee93566548707d09ef | 31,714 | cpp | C++ | src/routines.cpp | qalshidi/comfi | 59835f0ab4f54dea0ecb44405f583c9c06ad21bb | [
"MIT"
] | 1 | 2021-06-17T22:10:35.000Z | 2021-06-17T22:10:35.000Z | src/routines.cpp | qalshidi/comfi | 59835f0ab4f54dea0ecb44405f583c9c06ad21bb | [
"MIT"
] | null | null | null | src/routines.cpp | qalshidi/comfi | 59835f0ab4f54dea0ecb44405f583c9c06ad21bb | [
"MIT"
] | null | null | null | #include <armadillo>
#include "viennacl/vector.hpp"
#include "viennacl/matrix.hpp"
#include "viennacl/matrix_proxy.hpp"
#include "viennacl/vector_proxy.hpp"
#include "viennacl/compressed_matrix.hpp"
#include "viennacl/linalg/prod.hpp"
#include "viennacl/tools/timer.hpp"
#include "viennacl/forwards.h"
#include "comfi.h... | 44.667606 | 118 | 0.611087 | [
"vector"
] |
da6a21804e0efabb782be0acc786e722b714c133 | 1,850 | cpp | C++ | baxter_bridge/src/topic_poller.cpp | CentraleNantesRobotics/baxter_common_ros2 | 29079623574c383efa47b0e7e16793c44dd266b6 | [
"BSD-3-Clause"
] | 6 | 2020-06-02T17:16:29.000Z | 2021-11-30T20:23:26.000Z | baxter_bridge/src/topic_poller.cpp | CentraleNantesRobotics/baxter_common_ros2 | 29079623574c383efa47b0e7e16793c44dd266b6 | [
"BSD-3-Clause"
] | null | null | null | baxter_bridge/src/topic_poller.cpp | CentraleNantesRobotics/baxter_common_ros2 | 29079623574c383efa47b0e7e16793c44dd266b6 | [
"BSD-3-Clause"
] | null | null | null | #include <baxter_bridge/topic_poller.h>
#include <baxter_bridge/factory.h>
namespace baxter_bridge
{
TopicPoller::TopicPoller(rclcpp::Node* node2) : node2{node2}
{
poller = node2->create_wall_timer(std::chrono::seconds(1), [&](){poll();});
}
void TopicPoller::poll()
{
const auto info1{[]()
{... | 29.365079 | 77 | 0.671351 | [
"vector"
] |
da6b8597d43dfe9c2a19f52c47c87b522fad7ea6 | 12,957 | cpp | C++ | darkness-engine/include/shaders/core/tools/cleartexture/ClearTexture1du4.cs.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 6 | 2019-10-17T11:31:55.000Z | 2022-02-11T08:51:20.000Z | darkness-engine/include/shaders/core/tools/cleartexture/ClearTexture1du4.cs.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 1 | 2020-08-11T09:01:29.000Z | 2020-08-11T09:01:29.000Z | darkness-engine/include/shaders/core/tools/cleartexture/ClearTexture1du4.cs.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 1 | 2020-06-02T15:48:20.000Z | 2020-06-02T15:48:20.000Z | #include "ClearTexture1du4.cs.h"
#include "engine/graphics/ShaderStorage.h"
#include "engine/graphics/Sampler.h"
#include "tools/ByteRange.h"
#include "tools/Debug.h"
#include <memory>
namespace engine
{
namespace shaders
{
#pragma warning( push )
#pragma warning( disable : 4702 )
std::shared_ptr<const... | 25.159223 | 266 | 0.498881 | [
"vector"
] |
da79ad085a7e2082a4e9e818eef91252b1e0c80b | 14,523 | cpp | C++ | Testing/BlockValueComparisonTests.cpp | ncorgan/PothosArrayFire | b2ce286827cefdc45507dbae65879a943e977479 | [
"BSD-3-Clause"
] | 2 | 2021-01-19T02:21:48.000Z | 2022-03-26T23:05:49.000Z | Testing/BlockValueComparisonTests.cpp | ncorgan/PothosArrayFire | b2ce286827cefdc45507dbae65879a943e977479 | [
"BSD-3-Clause"
] | 3 | 2020-07-26T18:48:21.000Z | 2020-10-28T00:45:42.000Z | Testing/BlockValueComparisonTests.cpp | pothosware/PothosArrayFire | b2ce286827cefdc45507dbae65879a943e977479 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T06:22:20.000Z | 2022-03-24T06:22:20.000Z | // Copyright (c) 2020 Nicholas Corgan
// SPDX-License-Identifier: BSD-3-Clause
#include "TestUtility.hpp"
#include <Pothos/Testing.hpp>
#include <Pothos/Framework.hpp>
#include <Pothos/Proxy.hpp>
#include <Poco/Format.h>
#include <complex>
#include <iostream>
#include <vector>
struct TestBlockNames
{
std::stri... | 31.032051 | 108 | 0.502513 | [
"vector"
] |
da85f1080c813f9f5f0590d66def851451d8b8ed | 6,430 | cpp | C++ | shape.cpp | txxiaobp/tiny-adams | c3cd12b350e7045f14cc42c1f43feebbe9c959a7 | [
"MulanPSL-1.0"
] | null | null | null | shape.cpp | txxiaobp/tiny-adams | c3cd12b350e7045f14cc42c1f43feebbe9c959a7 | [
"MulanPSL-1.0"
] | null | null | null | shape.cpp | txxiaobp/tiny-adams | c3cd12b350e7045f14cc42c1f43feebbe9c959a7 | [
"MulanPSL-1.0"
] | null | null | null | #include "shape.h"
#include "solid.h"
#include "pub_include.h"
#include <cassert>
#include <QDebug>
#include <map>
#include <QPainter>
std::unordered_map<int, Shape*> Shape::shapeMap;
std::unordered_set<Shape*> Shape::chosenShapeSet;
int Shape::globalShapeCount = 0;
Shape* Shape::currentCapturedShape = nullptr;
Shap... | 21.505017 | 107 | 0.62846 | [
"shape",
"vector",
"solid"
] |
da92b3d5eca71552e05b383295a92be5e6014cd0 | 45,817 | cpp | C++ | inetcore/setup/ieak5/ieakeng/seczones.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/setup/ieak5/ieakeng/seczones.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/setup/ieak5/ieakeng/seczones.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //
// SECZONES.CPP
//
#include "precomp.h"
#include <urlmon.h>
#include <wininet.h>
#ifdef WINNT
#include <winineti.h>
#endif // WINNT
#include "SComPtr.h"
#define REGSTR_PATH_SECURITY_LOCKOUT TEXT("Software\\Policies\\Microsoft\\Windows\\CurrentVersion\\Internet Settings")
#define REGSTR_VAL_HKLM_O... | 45.408325 | 169 | 0.446996 | [
"object"
] |
dab8f7bbcb7f0651b4a7e0b3bf94371071193701 | 4,485 | cpp | C++ | src/bindings/bnd_polycurve.cpp | lukegehron/rhino3dm | 0e124084f7397f72aa82e499124a9232497573f0 | [
"MIT"
] | 343 | 2018-10-17T07:36:55.000Z | 2022-03-31T08:18:36.000Z | src/bindings/bnd_polycurve.cpp | iintrigued/rhino3dm | aa3cffaf66a22883de64b4bc096d554341c1ce39 | [
"MIT"
] | 187 | 2018-10-18T23:07:44.000Z | 2022-03-24T02:05:00.000Z | src/bindings/bnd_polycurve.cpp | iintrigued/rhino3dm | aa3cffaf66a22883de64b4bc096d554341c1ce39 | [
"MIT"
] | 115 | 2018-10-18T01:17:20.000Z | 2022-03-31T16:43:58.000Z | #include "bindings.h"
BND_PolyCurve::BND_PolyCurve()
{
SetTrackedPointer(new ON_PolyCurve(), nullptr);
}
BND_PolyCurve::BND_PolyCurve(ON_PolyCurve* polycurve, const ON_ModelComponentReference* compref)
{
SetTrackedPointer(polycurve, compref);
}
void BND_PolyCurve::SetTrackedPointer(ON_PolyCurve* polycurve, const... | 32.737226 | 125 | 0.733556 | [
"vector"
] |
dabba4f2e58a814fa69c030cbd1f66feb2ce4048 | 2,197 | cpp | C++ | UVA/10258.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | UVA/10258.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | UVA/10258.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define f first
#define s second
#define vi vector<int>
#define pii pair<int, int>
#define ll long long
using namespace std;
struct Problem{
int team;
int problem;
int time;
string status;
};
struct Team{
int team;
int problems;
int time;
bool hasSubmissions=false... | 28.532468 | 98 | 0.474738 | [
"vector"
] |
dabba6716f6a59fec43ef7d31b2492a32ff2f85c | 868 | hpp | C++ | src/core/lib/core_python27/type_converters/default_converter.hpp | wgsyd/wgtf | d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed | [
"BSD-3-Clause"
] | 28 | 2016-06-03T05:28:25.000Z | 2019-02-14T12:04:31.000Z | src/core/lib/core_python27/type_converters/default_converter.hpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | null | null | null | src/core/lib/core_python27/type_converters/default_converter.hpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | 14 | 2016-06-03T05:52:27.000Z | 2019-03-21T09:56:03.000Z | #pragma once
#include "core_dependency_system/depends.hpp"
#include "../interfaces/i_python_obj_manager.hpp"
#include "i_parent_type_converter.hpp"
namespace wgt
{
namespace PyScript
{
class ScriptObject;
} // namespace PyScript
class Variant;
namespace PythonType
{
/**
* Attempts to convert ScriptObject<->Variant... | 25.529412 | 97 | 0.736175 | [
"object"
] |
dabcd2ab11349b461f863e959c61efeacb40e120 | 2,554 | hpp | C++ | Donut Maker/Source Files/D-NSpace/my_nspace.hpp | RoDoRiTos/Archives | 1addb6fba9b941818c5e24e26cb0475e9cbec2db | [
"BSD-Source-Code"
] | null | null | null | Donut Maker/Source Files/D-NSpace/my_nspace.hpp | RoDoRiTos/Archives | 1addb6fba9b941818c5e24e26cb0475e9cbec2db | [
"BSD-Source-Code"
] | null | null | null | Donut Maker/Source Files/D-NSpace/my_nspace.hpp | RoDoRiTos/Archives | 1addb6fba9b941818c5e24e26cb0475e9cbec2db | [
"BSD-Source-Code"
] | null | null | null | #pragma once
#include "cinder/app/AppNative.h"
#include "cinder/gl/Texture.h"
#include "cinder/TriMesh.h"
#include "cinder/CinderMath.h"
namespace doritos{
enum Window{
WIDTH = 640,
HEIGHT = 640
};
struct Object{
ci::Vec3f pos;
ci::Vec3f rotation;
};
class Plane{
private:
ci::TriMesh... | 24.32381 | 120 | 0.53054 | [
"object",
"vector"
] |
dace25b3cc871cb043dda9dc054edc85bdd7f6f0 | 2,061 | cpp | C++ | Threads Synchronization/Philosophers/main.cpp | Maxikq/Algorithms | cd76ca2f02ccd1d4e5b014373f6da5deb054ee93 | [
"MIT"
] | 2 | 2015-02-21T13:31:05.000Z | 2016-04-05T07:54:04.000Z | Threads Synchronization/Philosophers/main.cpp | wojciech-kulik/Algorithms | cd76ca2f02ccd1d4e5b014373f6da5deb054ee93 | [
"MIT"
] | null | null | null | Threads Synchronization/Philosophers/main.cpp | wojciech-kulik/Algorithms | cd76ca2f02ccd1d4e5b014373f6da5deb054ee93 | [
"MIT"
] | 1 | 2018-05-19T12:33:37.000Z | 2018-05-19T12:33:37.000Z | #include <string>
#include <iostream>
#include <thread>
#include <Windows.h>
#include <random>
#include <functional>
#include <atomic>
#include <mutex>
#include <chrono>
#include <array>
using namespace std;
mutex m;
array<mutex, 5> forks;
int random()
{
std::array<int, std::mt19937::state_size> seed_data;
std::ra... | 22.9 | 128 | 0.649685 | [
"vector"
] |
dad42a4a0f7ace1ecb995391d1c623aa5529a833 | 1,364 | cpp | C++ | leetcode/problems/medium/1833-maximum-ice-cream-bars.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/medium/1833-maximum-ice-cream-bars.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/medium/1833-maximum-ice-cream-bars.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Maximum Ice Cream Bars
https://leetcode.com/problems/maximum-ice-cream-bars/
It is a sweltering summer day, and a boy wants to buy some ice cream bars.
At the store, there are n ice cream bars. You are given an array costs of length n, where costs[i] is the price of the ith ice cream bar in coins. The boy initiall... | 26.745098 | 247 | 0.645894 | [
"vector"
] |
dad93a499678d6efb14107028edfaad338f986e9 | 10,095 | cpp | C++ | src/ImageTextureImpl.cpp | fuchsteufelswild/Ray-Tracer | d83553db691543b7925a31ca57139490547279c0 | [
"MIT"
] | null | null | null | src/ImageTextureImpl.cpp | fuchsteufelswild/Ray-Tracer | d83553db691543b7925a31ca57139490547279c0 | [
"MIT"
] | null | null | null | src/ImageTextureImpl.cpp | fuchsteufelswild/Ray-Tracer | d83553db691543b7925a31ca57139490547279c0 | [
"MIT"
] | null | null | null | #include "ImageTextureImpl.h"
#include "TextureReader.h"
#include "Triangle.h"
#include "Sphere.h"
namespace actracer
{
static float GetAverageValue(const Vector3f& color);
static void AssignRowsFromMatrix(const glm::mat3x2& matrix, glm::vec2& row1, glm::vec2& row2, glm::vec2& row3);
ImageTextureImpl::~ImageTextur... | 41.204082 | 182 | 0.741753 | [
"transform"
] |
daed278a94cca8bd3a9927b8883d988e04a4da36 | 1,394 | cpp | C++ | aws-cpp-sdk-databrew/source/model/CreateScheduleRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-databrew/source/model/CreateScheduleRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-databrew/source/model/CreateScheduleRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/databrew/model/CreateScheduleRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::GlueDataBrew::Model;
using namespace Aws::Utils::Json;
u... | 20.80597 | 97 | 0.726686 | [
"model"
] |
8ccbb38e1d34e63417d6aa77a904a33c39c440ff | 55,265 | cpp | C++ | sp/src/game/server/Human_Error/vehicle_drivable_apc.cpp | atp-tha/source-sdk-2013 | 8adf94f37107ce9e7a2678d75b91deb51243c8cb | [
"Unlicense"
] | 12 | 2019-03-26T21:15:57.000Z | 2022-03-16T14:53:14.000Z | sp/src/game/server/Human_Error/vehicle_drivable_apc.cpp | atp-tha/source-sdk-2013 | 8adf94f37107ce9e7a2678d75b91deb51243c8cb | [
"Unlicense"
] | 8 | 2019-10-07T01:21:13.000Z | 2022-03-26T16:53:42.000Z | sp/src/game/server/Human_Error/vehicle_drivable_apc.cpp | atp-tha/source-sdk-2013 | 8adf94f37107ce9e7a2678d75b91deb51243c8cb | [
"Unlicense"
] | 4 | 2019-10-03T14:09:14.000Z | 2020-12-30T12:03:38.000Z | //=================== Half-Life 2: Short Stories Mod 2007 =====================//
//
// Purpose: Drivable APC
//
//=============================================================================//
#include "cbase.h"
#include "engine/IEngineSound.h"
#include "in_buttons.h"
#include "ammodef.h"
#include "IEffects.h"
#incl... | 31.012907 | 204 | 0.64093 | [
"object",
"vector",
"transform"
] |
8cd1b47e4271ec0c1e1943e603ce15f2f6e00df3 | 14,418 | cpp | C++ | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/listview.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/listview.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/listview.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | //
// listview.cpp
// MDStudio
//
// Created by Daniel Cliche on 2014-06-26.
// Copyright (c) 2014-2021 Daniel Cliche. All rights reserved.
//
#include "listview.h"
#include <algorithm>
#include "draw.h"
#include "responderchain.h"
using namespace MDStudio;
// --------------------------------------------------... | 38.758065 | 120 | 0.456721 | [
"vector"
] |
8cd2337c8870fd55565ef3288e0684a0d9d30676 | 3,819 | hpp | C++ | src/kernels/rotationkernel/FSpherical.hpp | berenger-eu/tbfmm | 6a86a0cb28615d8e7d11afc3e4428da6fc398f43 | [
"MIT"
] | 4 | 2020-12-04T09:24:52.000Z | 2021-06-14T13:56:35.000Z | src/kernels/rotationkernel/FSpherical.hpp | berenger-eu/tbfmm | 6a86a0cb28615d8e7d11afc3e4428da6fc398f43 | [
"MIT"
] | 2 | 2020-08-24T08:46:08.000Z | 2021-06-15T08:57:55.000Z | src/kernels/rotationkernel/FSpherical.hpp | berenger-eu/tbfmm | 6a86a0cb28615d8e7d11afc3e4428da6fc398f43 | [
"MIT"
] | 2 | 2020-11-21T01:22:13.000Z | 2020-12-23T02:08:45.000Z | // See LICENCE file at project root
#ifndef FSPHERICAL_HPP
#define FSPHERICAL_HPP
#include <cmath>
/**
* This class is a Spherical position
*
* @brief Spherical coordinate system
*
* We consider the spherical coordinate system \f$(r, \theta, \varphi)\f$ commonly used in physics. r is the radial distance, \f$\theta\f$... | 38.969388 | 208 | 0.645981 | [
"3d"
] |
8ce5db4f4b65e70ad57503d3fea98c142942e8cc | 1,855 | cpp | C++ | InsertionSortGeneric.cpp | rlama7/InsertionSort | 745d48b1b7855f55fef9854da15bdc3103e55d46 | [
"MIT"
] | null | null | null | InsertionSortGeneric.cpp | rlama7/InsertionSort | 745d48b1b7855f55fef9854da15bdc3103e55d46 | [
"MIT"
] | null | null | null | InsertionSortGeneric.cpp | rlama7/InsertionSort | 745d48b1b7855f55fef9854da15bdc3103e55d46 | [
"MIT"
] | null | null | null | /**
* @file InsertionSortGeneric.cpp
* @brief A program to implement Insert Sort for generic data
* @param Array Array to be sorted
* @param size size of the Array to be sorted
*
* @algorithm:
* KeyWord: Sorted Sublist
* Steps:
* 1) Consider the first element in the array to be a sorted sublist of len... | 29.919355 | 131 | 0.591914 | [
"vector"
] |
8ce63f8a2923e3466f8be08fdfc554c0f62c8f7d | 7,791 | hpp | C++ | src/SyncLoop.hpp | afalchetti/slidesync | a3764f42cc8f95ec3a788c0b7ed81563e48924d9 | [
"Apache-2.0"
] | null | null | null | src/SyncLoop.hpp | afalchetti/slidesync | a3764f42cc8f95ec3a788c0b7ed81563e48924d9 | [
"Apache-2.0"
] | null | null | null | src/SyncLoop.hpp | afalchetti/slidesync | a3764f42cc8f95ec3a788c0b7ed81563e48924d9 | [
"Apache-2.0"
] | null | null | null | /// @file SyncLoop.hpp
/// @brief Synchronization processing loop header file
//
// Part of SlideSync
//
// Copyright 2017 Angelo Falchetti Pareja
//
// 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 ... | 35.413636 | 111 | 0.736748 | [
"vector"
] |
8ced3a87ca69111b1103754a90bafba9147d991b | 7,314 | hpp | C++ | include/Node.hpp | pasqenr/modern-cpp-course-project | 9d0e8ea1106db2e157e30061a83fb8aab3fd43c6 | [
"MIT"
] | null | null | null | include/Node.hpp | pasqenr/modern-cpp-course-project | 9d0e8ea1106db2e157e30061a83fb8aab3fd43c6 | [
"MIT"
] | null | null | null | include/Node.hpp | pasqenr/modern-cpp-course-project | 9d0e8ea1106db2e157e30061a83fb8aab3fd43c6 | [
"MIT"
] | null | null | null | /**
* @copyright Copyright 2018 SimpleList
*
* <blockquote>
* 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,... | 31.525862 | 84 | 0.564397 | [
"object"
] |
8cedfe32ceba5ea3ac88df8a05ad8fddfbec9ef3 | 1,779 | hh | C++ | src/memo/cli/Object.hh | infinit/memo | 3a8394d0f647efe03ccb8bfe885a7279cb8be8a6 | [
"Apache-2.0"
] | 124 | 2017-06-22T19:20:54.000Z | 2021-12-23T21:36:37.000Z | src/memo/cli/Object.hh | infinit/memo | 3a8394d0f647efe03ccb8bfe885a7279cb8be8a6 | [
"Apache-2.0"
] | 4 | 2017-08-21T15:57:29.000Z | 2019-01-10T02:52:35.000Z | src/memo/cli/Object.hh | infinit/memo | 3a8394d0f647efe03ccb8bfe885a7279cb8be8a6 | [
"Apache-2.0"
] | 12 | 2017-06-29T09:15:35.000Z | 2020-12-31T12:39:52.000Z | #pragma once
#include <elle/attribute.hh>
#include <elle/das/bound-method.hh>
#include <elle/das/cli.hh>
#include <memo/cli/fwd.hh>
#include <memo/cli/symbols.hh>
namespace memo
{
namespace cli
{
template <typename Self, typename Owner = Memo, typename Cli = Memo>
class Object;
template <typename S... | 25.782609 | 84 | 0.559303 | [
"object",
"vector"
] |
ea0233d3a478495615f6707389ba1ade6d3c2ada | 1,230 | hpp | C++ | include/wex/presets/GameObject.hpp | cpp-gamedev/wex | 247b470e8ea33293aab9b323f57ec23c6af6b779 | [
"MIT"
] | 1 | 2021-06-16T14:20:05.000Z | 2021-06-16T14:20:05.000Z | include/wex/presets/GameObject.hpp | cpp-gamedev/wex | 247b470e8ea33293aab9b323f57ec23c6af6b779 | [
"MIT"
] | null | null | null | include/wex/presets/GameObject.hpp | cpp-gamedev/wex | 247b470e8ea33293aab9b323f57ec23c6af6b779 | [
"MIT"
] | null | null | null | #include "../Common.hpp"
#include "../Engine.hpp"
#include "../util.hpp"
#include "Component.hpp"
#include <cstddef>
#include <vector>
namespace wex {
/// \brief The game game object class. A game object is a bag of components with an
/// `onUpdate` method that is called once per iteration of the game loop.
class Gam... | 27.954545 | 90 | 0.688618 | [
"object",
"vector"
] |
ea056af5e750cfd591842f65bf44dd0788e595ad | 3,277 | cpp | C++ | src/things/mesh.cpp | jkrueger/phosphorus | e36d3c4b81b4327a983469116f066fdeefc9104e | [
"MIT"
] | null | null | null | src/things/mesh.cpp | jkrueger/phosphorus | e36d3c4b81b4327a983469116f066fdeefc9104e | [
"MIT"
] | null | null | null | src/things/mesh.cpp | jkrueger/phosphorus | e36d3c4b81b4327a983469116f066fdeefc9104e | [
"MIT"
] | null | null | null | #include "mesh.hpp"
#include "shading.hpp"
std::vector<vector_t> mesh_t::vertices;
std::vector<vector_t> mesh_t::normals;
std::vector<float_t> mesh_t::u;
std::vector<float_t> mesh_t::v;
std::vector<uint32_t> mesh_t::faces;
mesh_t::mesh_t(const material_t::p& m)
: index_vertices(vertices.size())
, index_faces(f... | 26.216 | 107 | 0.617638 | [
"mesh",
"vector",
"transform"
] |
ea06978c243c9074b7fffed5c067b6eea27cc54f | 4,227 | cpp | C++ | src/shogun/structure/MulticlassModel.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | 2,753 | 2015-01-02T11:34:13.000Z | 2022-03-25T07:04:27.000Z | src/shogun/structure/MulticlassModel.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | 2,404 | 2015-01-02T19:31:41.000Z | 2022-03-09T10:58:22.000Z | src/shogun/structure/MulticlassModel.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | 1,156 | 2015-01-03T01:57:21.000Z | 2022-03-26T01:06:28.000Z | /*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Fernando Iglesias, Abinash Panda, Viktor Gal, Soeren Sonnenburg,
* Shell Hu, Thoralf Klein, Michal Uricar, Sanuj Sharma
*/
#include <shogun/features/DotFeatures.h>
#include <shogun/mathematics/Math.h>
#include <... | 24.433526 | 116 | 0.707357 | [
"object",
"model"
] |
ea0a97f1cf3e8c9d9518586f74936d50c1dd92f2 | 4,419 | cpp | C++ | dali-extension/vector-image-renderer/tizen-vector-image-renderer.cpp | dalihub/dali-extension | 9bd20cbbf588828621acc1467c61c5168d7e1772 | [
"Apache-2.0"
] | null | null | null | dali-extension/vector-image-renderer/tizen-vector-image-renderer.cpp | dalihub/dali-extension | 9bd20cbbf588828621acc1467c61c5168d7e1772 | [
"Apache-2.0"
] | null | null | null | dali-extension/vector-image-renderer/tizen-vector-image-renderer.cpp | dalihub/dali-extension | 9bd20cbbf588828621acc1467c61c5168d7e1772 | [
"Apache-2.0"
] | 2 | 2020-08-29T01:26:29.000Z | 2021-05-24T07:35:51.000Z | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 26.303571 | 143 | 0.683413 | [
"object",
"vector"
] |
ea0bb8178841314138a7fbb0b01df8f61c8996cb | 1,925 | cpp | C++ | binary-search/easy/349.IntersectionOfTwoArrays.cpp | XiaotaoGuo/Leetcode-Solution-In-Cpp | 8e01e35c742a7afb0c8cdd228a6a5e564375434e | [
"Apache-2.0"
] | null | null | null | binary-search/easy/349.IntersectionOfTwoArrays.cpp | XiaotaoGuo/Leetcode-Solution-In-Cpp | 8e01e35c742a7afb0c8cdd228a6a5e564375434e | [
"Apache-2.0"
] | null | null | null | binary-search/easy/349.IntersectionOfTwoArrays.cpp | XiaotaoGuo/Leetcode-Solution-In-Cpp | 8e01e35c742a7afb0c8cdd228a6a5e564375434e | [
"Apache-2.0"
] | null | null | null | /*
* @lc app=leetcode id=349 lang=cpp
*
* [349] Intersection of Two Arrays
*
* https://leetcode.com/problems/intersection-of-two-arrays/description/
*
* algorithms
* Easy (64.69%)
* Likes: 1296
* Dislikes: 1496
* Total Accepted: 458.3K
* Total Submissions: 705K
* Testcase Example: '[1,2,2,1]\n[2,2]'... | 22.126437 | 77 | 0.520519 | [
"vector"
] |
ea0f2fba64a730ac41bed5f42fb1b307fdee8fa1 | 937 | cpp | C++ | 443.string-compression.156829728.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | 443.string-compression.156829728.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | 443.string-compression.156829728.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
int compress(vector<char>& chars) {
int pos =0;
int start = 0;
char ch = chars[start];
int count =0;
if(chars.size()==1)return 1;
while(start<chars.size())
{
if(chars[start]==ch)
{
start++;
... | 26.027778 | 77 | 0.372465 | [
"vector"
] |
ea2c8577a68663dae57c9aa8636a5e2cdff3a147 | 4,914 | cc | C++ | samples/dpc_gemm/main.cc | ivorobts/pti-gpu | d846e1b428a5280ab0fd065d5ae68e0a2308fa9b | [
"MIT"
] | 1 | 2021-11-23T19:00:27.000Z | 2021-11-23T19:00:27.000Z | samples/dpc_gemm/main.cc | inteI-cloud/pti-gpu | df968c95687f15f871c9323d9325211669487bd2 | [
"MIT"
] | null | null | null | samples/dpc_gemm/main.cc | inteI-cloud/pti-gpu | df968c95687f15f871c9323d9325211669487bd2 | [
"MIT"
] | null | null | null | //==============================================================
// Copyright (C) Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
#include <string.h>
#include <memory>
#include "utils.h"
#include <CL/sycl.hpp>
#define A_VALUE 0.128f
#define B_VA... | 32.543046 | 79 | 0.55637 | [
"vector"
] |
ea2dd1167abc8d95833332642a377b28d0b295bf | 515 | cpp | C++ | Array/80_RemoveDuplicatesFromSortedArrayII.cpp | trierbo/OJCode | 327f78b12d3461f64c42375d611b6b65e71f4f78 | [
"MIT"
] | null | null | null | Array/80_RemoveDuplicatesFromSortedArrayII.cpp | trierbo/OJCode | 327f78b12d3461f64c42375d611b6b65e71f4f78 | [
"MIT"
] | null | null | null | Array/80_RemoveDuplicatesFromSortedArrayII.cpp | trierbo/OJCode | 327f78b12d3461f64c42375d611b6b65e71f4f78 | [
"MIT"
] | null | null | null | #include <vector>
using namespace std;
class Solution {
public:
int removeDuplicates(vector<int>& nums) {
if (nums.size() == 0)
return 0;
int res = 1, count = 1, tmp=nums[0];
for (int i = 1; i < nums.size(); ++i) {
if (nums[i] != tmp) {
tmp = nums[res... | 24.52381 | 47 | 0.401942 | [
"vector"
] |
ea3b970a029318555d8541d1030cf5ec0befb598 | 3,133 | cpp | C++ | restore-ip-addresses.cpp | cfriedt/leetcode | ad15031b407b895f12704897eb81042d7d56d07d | [
"MIT"
] | 1 | 2021-01-20T16:04:54.000Z | 2021-01-20T16:04:54.000Z | restore-ip-addresses.cpp | cfriedt/leetcode | ad15031b407b895f12704897eb81042d7d56d07d | [
"MIT"
] | 293 | 2018-11-29T14:54:29.000Z | 2021-01-29T16:07:26.000Z | restore-ip-addresses.cpp | cfriedt/leetcode | ad15031b407b895f12704897eb81042d7d56d07d | [
"MIT"
] | 1 | 2020-11-10T10:49:12.000Z | 2020-11-10T10:49:12.000Z | /*
* Copyright (c) 2018 Christopher Friedt
*
* SPDX-License-Identifier: MIT
*/
#include <array>
#include <numeric>
#include <regex>
#include <vector>
using namespace std;
class Solution {
public:
// https://leetcode.com/problems/restore-ip-addresses/
vector<string> restoreIpAddresses(string s) {
// Ass... | 28.743119 | 79 | 0.571976 | [
"vector"
] |
ea3d9a00ff6223ed17299cea0880bfe2970751c1 | 5,216 | cpp | C++ | mobot/traj_builder/src/traj_builder_example_main.cpp | xpharry/mobot_driving_in_gazebo | b3d25a242a177f6d466d7a00a6f91b882820b6ed | [
"MIT"
] | null | null | null | mobot/traj_builder/src/traj_builder_example_main.cpp | xpharry/mobot_driving_in_gazebo | b3d25a242a177f6d466d7a00a6f91b882820b6ed | [
"MIT"
] | null | null | null | mobot/traj_builder/src/traj_builder_example_main.cpp | xpharry/mobot_driving_in_gazebo | b3d25a242a177f6d466d7a00a6f91b882820b6ed | [
"MIT"
] | null | null | null | #include <traj_builder/traj_builder.h> //has almost all the headers we need
#include <std_msgs/Float64.h>
#include <nav_msgs/Odometry.h>
//global vars, equivalent to member vars of class
geometry_msgs::Twist g_halt_twist;
nav_msgs::Odometry g_end_state;
nav_msgs::Odometry g_start_state;
geometry_msgs::PoseStamped g_st... | 45.356522 | 93 | 0.700537 | [
"vector"
] |
ea3ef636f54441d8114b074bcfbb54eca1b4d33b | 14,864 | cxx | C++ | painty/sbr/src/PictureTargetSbrPainter.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 15 | 2020-04-22T15:18:28.000Z | 2022-03-24T07:48:28.000Z | painty/sbr/src/PictureTargetSbrPainter.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 25 | 2020-04-18T18:55:50.000Z | 2021-05-30T21:26:39.000Z | painty/sbr/src/PictureTargetSbrPainter.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 2 | 2020-09-16T05:55:54.000Z | 2021-01-09T12:09:43.000Z | /**
* @file PictureTargetSbrPainter.cxx
* @author Thomas Lindemeier
* @brief
* @date 2020-09-11
*
*/
#include "painty/sbr/PictureTargetSbrPainter.hxx"
#include <future>
#include <random>
#include "painty/core/Color.hxx"
#include "painty/image/Convolution.hxx"
#include "painty/image/EdgeTangentFlow.hxx"
#include... | 36.975124 | 90 | 0.639195 | [
"render",
"vector"
] |
ea3f56556ac61a2096843c67bcce4106762ddfa8 | 640 | cpp | C++ | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/December Challenge 16/KIRLAB-naive.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | 5 | 2018-05-09T04:02:04.000Z | 2021-02-21T19:27:56.000Z | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/December Challenge 16/KIRLAB-naive.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | null | null | null | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/December Challenge 16/KIRLAB-naive.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | 5 | 2018-02-23T22:08:28.000Z | 2020-08-19T08:31:47.000Z | #include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) {
return (b == 0)?a:gcd(b,a%b);
}
int main(){
int t;
cin>>t;
while(t--) {
long n;
cin>>n;
vector<long long > arr(n);
for(long i=0;i<n;i++)
cin>>arr[i];
vector<vector<long long> > mat(n);
long mv = 0;
for(long i=0;... | 17.777778 | 41 | 0.509375 | [
"vector"
] |
ea41648dbd0d115952e837e5102e0f20f2261471 | 958 | cc | C++ | Code/0111-minimum-depth-of-binary-tree.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 2 | 2019-12-06T14:08:57.000Z | 2020-01-15T15:25:32.000Z | Code/0111-minimum-depth-of-binary-tree.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 1 | 2020-01-15T16:29:16.000Z | 2020-01-26T12:40:13.000Z | Code/0111-minimum-depth-of-binary-tree.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int minDepth(TreeNode* root) {
if (!root) {
return 0;
}
vec... | 25.891892 | 60 | 0.417537 | [
"vector"
] |
ea478e91fbe87b4e73f6d72011d3ebe54db8a0cb | 7,216 | cpp | C++ | Redline_CLI/RenderApplication.cpp | 64-bit/Redline | c3f5ebd24da8ac437aee5429b2eeea7a14cc93b0 | [
"MIT"
] | 1 | 2019-02-03T04:47:21.000Z | 2019-02-03T04:47:21.000Z | Redline_CLI/RenderApplication.cpp | 64-bit/Redline | c3f5ebd24da8ac437aee5429b2eeea7a14cc93b0 | [
"MIT"
] | null | null | null | Redline_CLI/RenderApplication.cpp | 64-bit/Redline | c3f5ebd24da8ac437aee5429b2eeea7a14cc93b0 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "RenderApplication.h"
#include "CLIErrorCodes.h"
#include "CommandLineArguments.h"
#include "CameraFlightController.h"
#include "Renderer/BRDF/CookTorrence/Functions/GGX_Distribution.h"
#include "Renderer/BRDF/CookTorrence/Functions/GGX_Geometry.h"
#include "Renderer/BRDF/CookTorrence/Funct... | 25.956835 | 133 | 0.738498 | [
"render"
] |
35689dcbec3b0ff800e384c863d286626ecee4fa | 1,168 | cpp | C++ | examples/example-05-vacant-surface/vacant.cpp | edisonslightbulbs/dbscan-cpp | 48b2e38726761cda1533aff68de6882e0fb441a7 | [
"MIT"
] | 1 | 2021-06-27T21:46:33.000Z | 2021-06-27T21:46:33.000Z | examples/example-05-vacant-surface/vacant.cpp | researchers-anonymous/test | 3a802254d53aca8635131b5b35f7f07d6eee0737 | [
"MIT"
] | null | null | null | examples/example-05-vacant-surface/vacant.cpp | researchers-anonymous/test | 3a802254d53aca8635131b5b35f7f07d6eee0737 | [
"MIT"
] | 1 | 2022-01-27T19:36:58.000Z | 2022-01-27T19:36:58.000Z | #include <thread>
#include "i3d.h"
#include "i3dpcl.h"
#include "i3dscene.h"
#include "kinect.h"
#include "usage.h"
int main(int argc, char* argv[])
{
// init logger, kinect, and i3d
logger(argc, argv);
usage::prompt(ABOUT);
std::shared_ptr<kinect> sptr_kinect(new kinect);
std::shared_ptr<i3d> spt... | 28.487805 | 70 | 0.663527 | [
"vector"
] |
3568d3b9a28107e11740bf621bc8ae97ea01815b | 9,513 | cpp | C++ | modules/io/src/png_image.cpp | ChristopheEcabert/OGLKit | 909e25d833ed5338dd627f71f89064b8cb4ed36f | [
"Apache-2.0"
] | null | null | null | modules/io/src/png_image.cpp | ChristopheEcabert/OGLKit | 909e25d833ed5338dd627f71f89064b8cb4ed36f | [
"Apache-2.0"
] | null | null | null | modules/io/src/png_image.cpp | ChristopheEcabert/OGLKit | 909e25d833ed5338dd627f71f89064b8cb4ed36f | [
"Apache-2.0"
] | null | null | null | /**
* @file png_image.cpp
* @brief PNG Image object
*
* @author Christophe Ecabert
* @date 06.03.17
* Copyright © 2017 Christophe Ecabert. All rights reserved.
*/
#include <fstream>
#include <setjmp.h>
#include <vector>
#include <iostream>
#include "png.h"
#include "oglkit/core/string_util.hpp"
#incl... | 28.653614 | 82 | 0.591296 | [
"object",
"vector"
] |
357135aa2737d3bba0d19f5ef25971a5356826cc | 884 | cpp | C++ | solutions/Easy/257. Binary Tree Paths/solution.cpp | BASARANOMO/leetcode-cpp | f779ec46e672f01cec69077e854d6ba15e451d27 | [
"MIT"
] | null | null | null | solutions/Easy/257. Binary Tree Paths/solution.cpp | BASARANOMO/leetcode-cpp | f779ec46e672f01cec69077e854d6ba15e451d27 | [
"MIT"
] | null | null | null | solutions/Easy/257. Binary Tree Paths/solution.cpp | BASARANOMO/leetcode-cpp | f779ec46e672f01cec69077e854d6ba15e451d27 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 26.787879 | 93 | 0.486425 | [
"vector"
] |
3579c6dfc015ee9616fb6195d1d659e64bd7751b | 3,448 | cpp | C++ | vegastrike/src/gfx/radar/track.cpp | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | vegastrike/src/gfx/radar/track.cpp | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | vegastrike/src/gfx/radar/track.cpp | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | // -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include <algorithm>
#include "gfxlib.h"
#include "cmd/unit_generic.h"
#include "cmd/planet_generic.h"
#include "cmd/unit_util.h"
#include "track.h"
namespace Radar
{
Track::Track(Unit *player, Unit *target)
: player(player),
target(target),
... | 18.340426 | 80 | 0.601508 | [
"vector"
] |
358c017b2468a0250222877d448a1c1fdb2b23ea | 36,492 | cpp | C++ | LuaDecompiler/decompiler.cpp | sebyval93/LuaDecompiler | 13349f2595a88227d0526301997d0ed7122b7fb4 | [
"MIT",
"BSD-3-Clause"
] | 2 | 2018-05-16T12:46:33.000Z | 2018-08-30T15:31:30.000Z | LuaDecompiler/decompiler.cpp | sebyval93/LuaDecompiler | 13349f2595a88227d0526301997d0ed7122b7fb4 | [
"MIT",
"BSD-3-Clause"
] | 5 | 2017-10-10T20:29:29.000Z | 2017-10-19T18:58:48.000Z | LuaDecompiler/decompiler.cpp | sebyval93/LuaDecompiler | 13349f2595a88227d0526301997d0ed7122b7fb4 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | #include "decompiler.h"
#include <filesystem>
#include <iostream>
#include <fstream>
#include <stack>
#include "lex.yy.h"
#include "luac\luac.h"
// function that loads binary lua scripts
extern "C" Proto* loadproto(const char* filename);
// TODO: test settable and getindexed extensively
Decompiler::Decompiler()
: m... | 22.183587 | 126 | 0.665434 | [
"vector"
] |
35917f7b77e04f194a5069aa86ae794f6cf0c4a4 | 1,687 | cpp | C++ | src/cpp/media-stream-audio-source-node.cpp | node-3d/waa-raub | e458d76f290b1e12ef2a0adc063b521816337f04 | [
"MIT"
] | 17 | 2018-10-03T00:44:33.000Z | 2022-03-17T06:40:15.000Z | src/cpp/media-stream-audio-source-node.cpp | raub/node-waa | e458d76f290b1e12ef2a0adc063b521816337f04 | [
"MIT"
] | 7 | 2019-07-16T08:22:31.000Z | 2021-11-29T21:45:06.000Z | src/cpp/media-stream-audio-source-node.cpp | raub/node-waa | e458d76f290b1e12ef2a0adc063b521816337f04 | [
"MIT"
] | 2 | 2019-08-05T20:00:42.000Z | 2020-03-15T13:25:41.000Z |
#include "media-stream-audio-source-node.hpp"
MediaStreamAudioSourceNode::MediaStreamAudioSourceNode() :
AudioNode() {
_isDestroyed = false;
}
MediaStreamAudioSourceNode::~MediaStreamAudioSourceNode() {
_destroy();
}
void MediaStreamAudioSourceNode::_destroy() { DES_CHECK;
_isDestroyed = true;
Au... | 18.139785 | 91 | 0.750445 | [
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.