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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d3a0654a5f35000ac6d8442d450bc8d4bb75d4c | 2,238 | hpp | C++ | GraphTheory/EdmondsKarp.hpp | tkmst201/library | 3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d | [
"CC0-1.0"
] | null | null | null | GraphTheory/EdmondsKarp.hpp | tkmst201/library | 3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d | [
"CC0-1.0"
] | 3 | 2021-01-23T05:37:43.000Z | 2021-06-05T06:34:20.000Z | GraphTheory/EdmondsKarp.hpp | tkmst201/Library | c6925742e9f1deeb98aa2103ef3921203d49207f | [
"CC0-1.0"
] | null | null | null | #ifndef INCLUDE_GUARD_EDMONDS_KARP_HPP
#define INCLUDE_GUARD_EDMONDS_KARP_HPP
#include <vector>
#include <cassert>
#include <queue>
#include <utility>
#include <type_traits>
#include <algorithm>
/**
* @brief https://tkmst201.github.io/Library/GraphTheory/EdmondsKarp.hpp
*/
template<typename T>
struct ... | 26.642857 | 80 | 0.557194 | [
"vector"
] |
0d3eb98b94b53cbf2d3944cefb288e7c74d0a72f | 1,141 | cpp | C++ | CodeForces/Gym/100712F.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | CodeForces/Gym/100712F.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | CodeForces/Gym/100712F.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
vector <ll> graph[100009], cost[100009];
ll dist[100009];
void dfs(ll nd, ll p, ll mx)
{
for(ll i = 0; i < graph[nd].size(); i++) {
if(graph[nd][i] == p)
continue;
ll u = graph[nd][i];
ll c... | 18.111111 | 48 | 0.38475 | [
"vector"
] |
0d4dbb9a63441fb3506032403999de52d24e50a8 | 10,581 | cpp | C++ | src/unittest.cpp | ntoskrnl7/ucxxrt | cfb00b2ad3595fa1f89a3b3a665fa742cf5aa1aa | [
"MIT"
] | null | null | null | src/unittest.cpp | ntoskrnl7/ucxxrt | cfb00b2ad3595fa1f89a3b3a665fa742cf5aa1aa | [
"MIT"
] | null | null | null | src/unittest.cpp | ntoskrnl7/ucxxrt | cfb00b2ad3595fa1f89a3b3a665fa742cf5aa1aa | [
"MIT"
] | null | null | null | #ifdef __KERNEL_MODE
#include <ntddk.h>
#include <wdm.h>
#else
#include <windows.h>
#include <assert.h>
#endif
#include <ucxxrt.h>
#include <string>
#include <random>
#include <vector>
#include <functional>
#include <unordered_map>
#include <stdexcept>
#ifdef _KERNEL_MODE
#define LOG(_0, _1, ...) DbgPrintEx(DPFLTR_I... | 22.560768 | 117 | 0.595218 | [
"object",
"vector"
] |
0d5010c8a630a9fea85253b5f7992b0fc9f3dac9 | 1,172 | cpp | C++ | cpp/BestTimetoBuyandSellStockIV.cpp | thinksource/code_interview | 08be992240508b73894eaf6b8c025168fd19df19 | [
"Apache-2.0"
] | 12 | 2015-03-12T03:27:26.000Z | 2021-03-11T09:26:16.000Z | cpp/BestTimetoBuyandSellStockIV.cpp | thinksource/code_interview | 08be992240508b73894eaf6b8c025168fd19df19 | [
"Apache-2.0"
] | null | null | null | cpp/BestTimetoBuyandSellStockIV.cpp | thinksource/code_interview | 08be992240508b73894eaf6b8c025168fd19df19 | [
"Apache-2.0"
] | 11 | 2015-01-28T16:45:40.000Z | 2017-03-28T20:01:38.000Z | class Solution {
public:
int maxProfit(int k, vector<int> &prices) {
// lMaxP(k,n) = max(g(k-1,n-1) + diff, l(k, n-1) + diff)
// gMaxP(k,n) = max(l(k,n) , g(k,n-1))
int n = prices.size();
if (k>n) {
return maxProfitWithAnyTran(prices);
}
vector<int> l((k+1... | 29.3 | 87 | 0.360068 | [
"vector"
] |
0d5a0f2e59515e921ae8d72d01bf943465344331 | 1,679 | cc | C++ | core/resp/findpeaks.cc | qixiuai/BCGHeart | b1127fa4420b658308acd883bc11945b7fcac4df | [
"MIT"
] | null | null | null | core/resp/findpeaks.cc | qixiuai/BCGHeart | b1127fa4420b658308acd883bc11945b7fcac4df | [
"MIT"
] | null | null | null | core/resp/findpeaks.cc | qixiuai/BCGHeart | b1127fa4420b658308acd883bc11945b7fcac4df | [
"MIT"
] | null | null | null |
#include "findpeaks.h"
namespace bcg {
namespace autopeaks {
std::vector<Peak> findpeaks_offline(const Buffer<float>& signal, float threshold, int min_dist) {
int num_samples = signal.size();
float signal_max = *std::max_element(signal.begin(), signal.end());
float signal_min = *std::min_... | 29.45614 | 101 | 0.624777 | [
"vector"
] |
0d5b4dc1abd439dfbee1e845681949df3e23e5c0 | 2,426 | hpp | C++ | Acid/include/acid/Physics/CollisionObject.hpp | Equilibrium-Games/Acid-Sharp | 7b079a052e3e03f90fd4a4190184f1fbe765ca58 | [
"MIT"
] | 3 | 2018-10-19T23:33:37.000Z | 2019-04-07T11:46:44.000Z | Sources/Physics/CollisionObject.hpp | sum01/Acid | d921472e062fc26b87c0163918aab553ac20739a | [
"MIT"
] | null | null | null | Sources/Physics/CollisionObject.hpp | sum01/Acid | d921472e062fc26b87c0163918aab553ac20739a | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include "Events/Observer.hpp"
#include "Maths/Vector3.hpp"
#include "Objects/GameObject.hpp"
#include "Objects/IComponent.hpp"
#include "Force.hpp"
class btTransform;
class btCollisionShape;
class btCollisionObject;
namespace acid
{
/// <summary>
/// Represents a object in a scene... | 26.659341 | 91 | 0.726711 | [
"object",
"shape",
"vector",
"transform"
] |
0d5c93fdfbbaa13684992e04f9dfdde8aa623eed | 680,798 | cpp | C++ | src/main_2900.cpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | src/main_2900.cpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | src/main_2900.cpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppSourceCreator
// Created by Sc2ad
// =========================================================================
// Begin includes
// Including type: MirroredBombNoteController
#include "GlobalNamespace/MirroredBombNoteController.hpp"
// Including type: MirroredBombNoteController/Pool
#include "G... | 75.652628 | 638 | 0.801405 | [
"mesh",
"object",
"vector",
"transform"
] |
0d70bccc1648c7ea63fc42301453ea18308e6161 | 10,148 | cpp | C++ | app/src/main/cpp/AndroidEvents/ServiceCmd.cpp | ArnisLielturks/Urho3D-Project-Template | 998d12e2470ec8a43ec552a1c2182eecfed63ca1 | [
"MIT"
] | 48 | 2019-01-06T02:17:44.000Z | 2021-09-28T15:10:30.000Z | app/src/main/cpp/AndroidEvents/ServiceCmd.cpp | urnenfeld/Urho3D-Project-Template | efd45e4edcffb232753010a3ee623d6cf9bc1c26 | [
"MIT"
] | 17 | 2019-01-22T17:48:58.000Z | 2021-04-04T17:52:56.000Z | app/src/main/cpp/AndroidEvents/ServiceCmd.cpp | ArnisLielturks/Urho3D-Project-Template | 998d12e2470ec8a43ec552a1c2182eecfed63ca1 | [
"MIT"
] | 18 | 2019-02-18T13:55:41.000Z | 2021-04-02T14:28:00.000Z | #ifdef __IOS__
//#import <UIKit/UIKit.h>
#endif
#include <Urho3D/Core/CoreEvents.h>
#include <Urho3D/Input/Input.h>
#include <Urho3D/IO/Log.h>
#include "ServiceCmd.h"
#include "ServiceEvents.h"
//#include "firebase/admob.h"
//#include "firebase/admob/interstitial_ad.h"
//#include "firebase/admob/rewarded_video.h"
/... | 33.381579 | 139 | 0.698463 | [
"object"
] |
0d753a8e58683fc55318d8e4b7ad55c47b245114 | 618 | hpp | C++ | compiler/dialect/parser/parser.hpp | robbie-vanderzee/p-computation | 0e849c0857226c0233a80d36bdaacedf60185abf | [
"MIT"
] | null | null | null | compiler/dialect/parser/parser.hpp | robbie-vanderzee/p-computation | 0e849c0857226c0233a80d36bdaacedf60185abf | [
"MIT"
] | 5 | 2020-10-18T03:52:04.000Z | 2021-03-11T15:56:13.000Z | compiler/dialect/parser/parser.hpp | robbie-vanderzee/p-computation | 0e849c0857226c0233a80d36bdaacedf60185abf | [
"MIT"
] | null | null | null | #pragma once
#include <filesystem>
#include <map>
#include <string>
#include <vector>
#include "compiler/dialect/grammar/elements.inl"
#include "compiler/utilities/interface/error.hpp"
#include "compiler/logging/log.hpp"
namespace P {
class Parser {
class Manager;
public:
Parser(std::filesy... | 24.72 | 112 | 0.632686 | [
"vector"
] |
0d7a5ad388a3a8e624389ac7919b4398243ff863 | 16,257 | cpp | C++ | Breakthrough/BreakthroughApp.cpp | PancakesMan/PhysErix | 11c93a454c8cec40997fd5c8563b2c89accd585f | [
"MIT"
] | null | null | null | Breakthrough/BreakthroughApp.cpp | PancakesMan/PhysErix | 11c93a454c8cec40997fd5c8563b2c89accd585f | [
"MIT"
] | null | null | null | Breakthrough/BreakthroughApp.cpp | PancakesMan/PhysErix | 11c93a454c8cec40997fd5c8563b2c89accd585f | [
"MIT"
] | null | null | null | #include <glm\ext.hpp>
#include <time.h>
#include <iostream>
#include "BreakthroughApp.h"
#include "Texture.h"
#include "Font.h"
#include "Input.h"
#include "Sphere.h"
#include "Plane.h"
#include "Box.h"
#include "Spring.h"
#define PI 3.141592654f
BreakthroughApp::BreakthroughApp() {
// Setup RNG
srand((unsigned)... | 29.291892 | 168 | 0.629821 | [
"object",
"vector"
] |
0d7ac6fa787b90d83e012b2b986534a4105076cf | 528 | hpp | C++ | source/configuration/DatabaseConfiguration.hpp | RobertDamerius/GroundControlStation | 7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f | [
"MIT"
] | 1 | 2021-12-26T12:48:18.000Z | 2021-12-26T12:48:18.000Z | source/configuration/DatabaseConfiguration.hpp | RobertDamerius/GroundControlStation | 7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f | [
"MIT"
] | null | null | null | source/configuration/DatabaseConfiguration.hpp | RobertDamerius/GroundControlStation | 7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f | [
"MIT"
] | 1 | 2021-12-26T12:48:25.000Z | 2021-12-26T12:48:25.000Z | #pragma once
class DatabaseConfiguration {
public:
struct database_entry_configuration {
uint8_t ipAddress[4];
uint16_t port;
uint8_t ipInterface[4];
std::array<float,3> dimension;
std::array<float,3> offset;
std::string name;
... | 22.956522 | 56 | 0.549242 | [
"vector"
] |
0d7b7976c93f1ccc48bc74150c546f306db0e391 | 2,116 | hpp | C++ | Server/include/Response.hpp | aet37/Ski-Patrol-App | 55d7b6494f06af11d4764dd9378c413e48a56cd9 | [
"MIT"
] | null | null | null | Server/include/Response.hpp | aet37/Ski-Patrol-App | 55d7b6494f06af11d4764dd9378c413e48a56cd9 | [
"MIT"
] | null | null | null | Server/include/Response.hpp | aet37/Ski-Patrol-App | 55d7b6494f06af11d4764dd9378c413e48a56cd9 | [
"MIT"
] | 1 | 2021-03-01T19:10:47.000Z | 2021-03-01T19:10:47.000Z | /**
* @file Response.hpp
*
* @brief Data structure to be used to respond to a request
*/
#ifndef RESPONSE_HPP
#define RESPONSE_HPP
// SYSTEM INCLUDES
#include <stdint.h>
#include <string>
namespace Common
{
/**
* @enum ResponseCode
*
* @brief Codes that will be used when the server
* response back from a requ... | 18.725664 | 83 | 0.584121 | [
"object"
] |
0d7d81c99e2055153f4e798c2dcc8a6d733dd952 | 1,891 | cpp | C++ | src/base/CBaseObject.cpp | JackCarlson/Avara | 2d79f6a21855759e427e13ee2d791257bc8c8c71 | [
"MIT"
] | 77 | 2016-10-30T18:37:14.000Z | 2022-02-13T05:02:55.000Z | src/base/CBaseObject.cpp | tra/Avara | 5a6b5a4f2cf29e8b2ddf7dd3f422579f37a14dab | [
"MIT"
] | 135 | 2018-09-09T06:46:04.000Z | 2022-01-29T19:33:12.000Z | src/base/CBaseObject.cpp | tra/Avara | 5a6b5a4f2cf29e8b2ddf7dd3f422579f37a14dab | [
"MIT"
] | 19 | 2018-09-09T02:02:46.000Z | 2022-03-16T08:21:08.000Z | /*
Copyright ©1993-1994, Juri Munkki
All rights reserved.
File: CBaseObject.c
Created: Sunday, July 25, 1993, 07:48
Modified: Friday, October 14, 1994, 14:29
*/
#include "CBaseObject.h"
void CBaseObject::IBaseObject() {
lockCounter = 0;
}
void CBaseObject::Lock() {
if (!lockCounter)
... | 18.539216 | 51 | 0.633527 | [
"object"
] |
0d7f55f30d5ce02e6f75e12f616fdbdbd9bdf732 | 4,567 | cpp | C++ | CalTest/Compiler.cpp | Leelddd/Calculater | 39a0d4ce1520a19776c10c0543523ae878365915 | [
"MIT"
] | null | null | null | CalTest/Compiler.cpp | Leelddd/Calculater | 39a0d4ce1520a19776c10c0543523ae878365915 | [
"MIT"
] | null | null | null | CalTest/Compiler.cpp | Leelddd/Calculater | 39a0d4ce1520a19776c10c0543523ae878365915 | [
"MIT"
] | null | null | null | #include"Compiler.h"
#include<assert.h>
Compiler::Compiler(const string &filename)
{
setBasicOper();
assert(!basic_oper.empty());//test
getCode(filename);
assert(!code.empty());//test
codeAnalysis();
}
void Compiler::setBasicOper()
{
vector<char> basic{ '+', '-', '*', '/', '^', '%' };
for (auto c : basic)
bas... | 22.949749 | 106 | 0.636742 | [
"vector"
] |
0d81f8e54998576e63d930723c0af5b92f02eb3c | 12,610 | cc | C++ | src/bm.cc | xflagstudio/bres | c9de5a100a0f3bbccc12d7f88998be9474461040 | [
"Apache-2.0"
] | 8 | 2021-12-15T09:39:16.000Z | 2021-12-15T12:00:18.000Z | src/bm.cc | xflagstudio/bres | c9de5a100a0f3bbccc12d7f88998be9474461040 | [
"Apache-2.0"
] | null | null | null | src/bm.cc | xflagstudio/bres | c9de5a100a0f3bbccc12d7f88998be9474461040 | [
"Apache-2.0"
] | null | null | null | #include "bres+bm.hh"
#include "bres+client_ext.h"
#ifdef __BLACKMAGIC_OUTPUT__
namespace bres {
static std::deque<char*> _pipelineIngress;
static std::deque<char*> _pipelineEgress;
static std::mutex _mtx;
};
// =============================
// Device Implemented
// =============================
bres::... | 27.653509 | 100 | 0.554401 | [
"vector"
] |
0d8b052722a7dda44bbc1b3c3b36e876bffd1480 | 2,056 | cpp | C++ | src/qged/plugins/view/erase/erase.cpp | redcarrera/brlcad | 6e5641da9f7d53c62a4dcde9cdc56fcd58e74bdd | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/qged/plugins/view/erase/erase.cpp | redcarrera/brlcad | 6e5641da9f7d53c62a4dcde9cdc56fcd58e74bdd | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/qged/plugins/view/erase/erase.cpp | redcarrera/brlcad | 6e5641da9f7d53c62a4dcde9cdc56fcd58e74bdd | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | /* V I E W _ E R A S E R . C P P
* BRL-CAD
*
* Copyright (c) 2014-2022 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version ... | 27.783784 | 98 | 0.706226 | [
"cad"
] |
0d8cdcc4d8478833a8523e84a91d144a1d579737 | 1,943 | cpp | C++ | LeetCode/Problems/Algorithms/#966_VowelSpellchecker_sol1_unordered_map_O((N+Q)L)_time_O((N+Q)L)_extra_space_68ms_34MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | LeetCode/Problems/Algorithms/#966_VowelSpellchecker_sol1_unordered_map_O((N+Q)L)_time_O((N+Q)L)_extra_space_68ms_34MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | LeetCode/Problems/Algorithms/#966_VowelSpellchecker_sol1_unordered_map_O((N+Q)L)_time_O((N+Q)L)_extra_space_68ms_34MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | class Solution {
private:
string getLowerForm(const string& WORD){
string lowerWord = WORD;
transform(WORD.begin(), WORD.end(), lowerWord.begin(), ::tolower);
return lowerWord;
}
string getVowelForm(const string& WORD){
string vowelWord;
for(int i = 0; ... | 34.696429 | 85 | 0.512609 | [
"vector",
"transform"
] |
0d98a41dbf31d202e15044f6f2153d8421c11f8d | 10,872 | cpp | C++ | marstd2/src/CIsosurface.cpp | marcel303/marstd2004 | 8494eae253bea7c740f68458b0084c82c7ce2e0e | [
"MIT"
] | 1 | 2020-05-20T12:31:35.000Z | 2020-05-20T12:31:35.000Z | marstd2/src/CIsosurface.cpp | marcel303/marstd2004 | 8494eae253bea7c740f68458b0084c82c7ce2e0e | [
"MIT"
] | null | null | null | marstd2/src/CIsosurface.cpp | marcel303/marstd2004 | 8494eae253bea7c740f68458b0084c82c7ce2e0e | [
"MIT"
] | 1 | 2020-05-20T12:31:40.000Z | 2020-05-20T12:31:40.000Z | //////////////////////////////////////////////////////////////////////
// CIsosurface implementation.
//////////////////////////////////////////////////////////////////////
CIsosurface::CIsosurface()
{
v = 0;
cube = 0;
vLinear = 0;
cubeLinear = 0;
sx = sy = sz = 0;
tr... | 24 | 112 | 0.488043 | [
"mesh"
] |
0d994e0314c1dbcd8e7d826e19b6969c266a91ec | 4,926 | cc | C++ | aoc_04/aoc_04.cc | HalfInner/AoC2020 | aaa30e69d0e719b3c72c44df200e1af6eac3be92 | [
"MIT"
] | 1 | 2020-12-01T16:20:47.000Z | 2020-12-01T16:20:47.000Z | aoc_04/aoc_04.cc | HalfInner/AoC2020 | aaa30e69d0e719b3c72c44df200e1af6eac3be92 | [
"MIT"
] | null | null | null | aoc_04/aoc_04.cc | HalfInner/AoC2020 | aaa30e69d0e719b3c72c44df200e1af6eac3be92 | [
"MIT"
] | 1 | 2022-03-29T07:52:13.000Z | 2022-03-29T07:52:13.000Z | // Copyright 2020 HalfsInner
#include <algorithm>
#include <fstream>
#include <iostream>
#include <numeric>
#include <regex>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "HolidayBag.hh"
template <typename Passport>
bool hasValidFieldNumber(Passport &&passport) {
ret... | 30.981132 | 98 | 0.612058 | [
"vector"
] |
3105adbc08bd034f0837666377d07033d20a582e | 1,621 | cpp | C++ | Dolmen/src/Dolmen/Maths/Vector2.cpp | DavidConsidine/Dolmen | f0b24ef32945a6a828f280bbfcdcb0396fe82df0 | [
"Apache-2.0"
] | null | null | null | Dolmen/src/Dolmen/Maths/Vector2.cpp | DavidConsidine/Dolmen | f0b24ef32945a6a828f280bbfcdcb0396fe82df0 | [
"Apache-2.0"
] | null | null | null | Dolmen/src/Dolmen/Maths/Vector2.cpp | DavidConsidine/Dolmen | f0b24ef32945a6a828f280bbfcdcb0396fe82df0 | [
"Apache-2.0"
] | null | null | null | #include "Vector2.h"
namespace Dolmen
{
Vector2::Vector2()
{
x = 0.0f;
y = 0.0f;
}
Vector2::Vector2(const float& x, const float& y)
{
this->x = x;
this->y = y;
}
Vector2& Vector2::Add(const Vector2& other)
{
x += other.x;
y += other.y;
return *this;
}
Vector2& Vector2::Subtract(const Vecto... | 16.049505 | 70 | 0.628007 | [
"vector"
] |
311369d8c338743845ee21b5bf1a2f0c0cf32607 | 2,343 | hpp | C++ | test/unit/module/real/core/if_else/zero/if_else.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | test/unit/module/real/core/if_else/zero/if_else.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | test/unit/module/real/core/if_else/zero/if_else.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 46.86 | 100 | 0.483995 | [
"vector"
] |
3115b7fac8a1a30e09c42a432e5461db8c8b90e7 | 4,175 | cc | C++ | sdk/src/logs/logger_provider.cc | rticommunity/opentelemetry-cpp | 49648bd8f741a28a2b111c8d8ecad75a070ea649 | [
"Apache-2.0"
] | null | null | null | sdk/src/logs/logger_provider.cc | rticommunity/opentelemetry-cpp | 49648bd8f741a28a2b111c8d8ecad75a070ea649 | [
"Apache-2.0"
] | 2 | 2022-03-30T16:33:56.000Z | 2022-03-30T16:33:58.000Z | sdk/src/logs/logger_provider.cc | deejgregor/opentelemetry-cpp | c96a3e32f0b5bf17e58b1300383f9f205f33558f | [
"Apache-2.0"
] | null | null | null | // Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
#ifdef ENABLE_LOGS_PREVIEW
# include "opentelemetry/sdk/logs/logger_provider.h"
# include <memory>
# include <mutex>
# include <string>
# include <unordered_map>
# include <vector>
OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
names... | 31.390977 | 100 | 0.718563 | [
"vector"
] |
311ccb6266f5f10683f59153a5a2bf5c6d590770 | 4,636 | cpp | C++ | sp/src/game/client/c_te_worlddecal.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 15 | 2016-04-07T21:29:55.000Z | 2022-03-18T08:03:31.000Z | sp/src/game/client/c_te_worlddecal.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 31 | 2016-11-27T14:38:02.000Z | 2020-06-03T11:11:29.000Z | sp/src/game/client/c_te_worlddecal.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 6 | 2015-02-20T06:11:13.000Z | 2018-11-15T08:22:01.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//===========================================================================//
#include "cbase.h"
#include "c_basetempentity.h"
#include "iefx.h"
#include "tier1/KeyValues.h"
#include "toolframework_client.h"
#i... | 29.157233 | 118 | 0.486626 | [
"vector"
] |
31248aa6e5494fa765f843885331a7936880454b | 3,008 | hpp | C++ | src/dray/simple_tensor.hpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 14 | 2019-12-17T17:40:32.000Z | 2021-12-13T20:32:32.000Z | src/dray/simple_tensor.hpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 72 | 2019-12-21T16:55:38.000Z | 2022-03-22T20:40:13.000Z | src/dray/simple_tensor.hpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 3 | 2020-02-21T18:06:57.000Z | 2021-12-03T18:39:48.000Z | // Copyright 2019 Lawrence Livermore National Security, LLC and other
// Devil Ray Developers. See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#ifndef DRAY_SIMPLE_TENSOR_HPP
#define DRAY_SIMPLE_TENSOR_HPP
namespace dray
{
namespace detail
{
template <typename T> struct Mu... | 31.010309 | 107 | 0.65758 | [
"vector"
] |
313c7daa732c48fd5e454888d302106436a8f19e | 3,583 | cpp | C++ | Problems/IOI/2010/Partial.Maze.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/IOI/2010/Partial.Maze.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/IOI/2010/Partial.Maze.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define maxn 203
#define fi first
#define se second
#define pb push_back
using namespace std;
typedef pair<int,int> pi;
const int TC = 10;
const int LIM = 20;
const int TIMES = 100;
int N[TC] = {6,100,100,100,100,11,20,20,11,200};
int M[TC] = {10,100,100,100,100,11,20,20,21,200};
int n,m,best... | 20.474286 | 56 | 0.495116 | [
"vector"
] |
3144c1d43fcd9bf27622eec017ce9d02a133e1e2 | 750 | hpp | C++ | ad_map_access/include/ad/map/point/Types.hpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 61 | 2019-12-19T20:57:24.000Z | 2022-03-29T15:20:51.000Z | ad_map_access/include/ad/map/point/Types.hpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 54 | 2020-04-05T05:32:47.000Z | 2022-03-15T18:42:33.000Z | ad_map_access/include/ad/map/point/Types.hpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 31 | 2019-12-20T07:37:39.000Z | 2022-03-16T13:06:16.000Z | // ----------------- BEGIN LICENSE BLOCK ---------------------------------
//
// Copyright (C) 2018-2021 Intel Corporation
//
// SPDX-License-Identifier: MIT
//
// ----------------- END LICENSE BLOCK -----------------------------------
#pragma once
#include <ad/physics/Distance.hpp>
#include <ad/physics/Duration.hpp>... | 30 | 74 | 0.646667 | [
"geometry"
] |
314503c9853beb60a0bcfe9ec8d14259d78fdba4 | 475 | cc | C++ | proglangs-learning/c++11_14/vector_by_value.cc | helq/old_code | a432faf1b340cb379190a2f2b11b997b02d1cd8d | [
"CC0-1.0"
] | null | null | null | proglangs-learning/c++11_14/vector_by_value.cc | helq/old_code | a432faf1b340cb379190a2f2b11b997b02d1cd8d | [
"CC0-1.0"
] | 4 | 2020-03-10T19:20:21.000Z | 2021-06-07T15:39:48.000Z | proglangs-learning/c++11_14/vector_by_value.cc | helq/old_code | a432faf1b340cb379190a2f2b11b997b02d1cd8d | [
"CC0-1.0"
] | null | null | null | // NOLINT(legal/copyright)
#include <iostream>
#include <iterator>
#include <vector>
#include "util.h"
using std::vector;
void modify_vector_by_value(vector<double> v) {
v[1] = 10.3;
}
void modify_vector_by_reference(vector<double>& v) {
v[1] = 10.3;
}
int main(int argc, char const* argv[])
{
vector<double> ... | 15.833333 | 52 | 0.677895 | [
"vector"
] |
314fbe5c0a0ed259659c8b3e689dd7640e816610 | 5,151 | cpp | C++ | Source/ResourceScene.cpp | ponspack9/GameEngine | f2f932daf7588db11707db16649d52864198a150 | [
"MIT"
] | 1 | 2019-11-11T10:08:34.000Z | 2019-11-11T10:08:34.000Z | Source/ResourceScene.cpp | ponspack9/GameEngine | f2f932daf7588db11707db16649d52864198a150 | [
"MIT"
] | null | null | null | Source/ResourceScene.cpp | ponspack9/GameEngine | f2f932daf7588db11707db16649d52864198a150 | [
"MIT"
] | 1 | 2021-02-13T00:53:19.000Z | 2021-02-13T00:53:19.000Z | #include "Application.h"
#include "ModuleScene.h"
#include "ModuleFileSystem.h"
#include "ResourceScene.h"
#include "ComponentMesh.h"
#include "ComponentMaterial.h"
#include "ComponentRenderer.h"
#include "ComponentCamera.h"
#include "SimpleBinStream.h"
ResourceScene::ResourceScene(UID id) : Resource(id, Resource::Ty... | 28.616667 | 121 | 0.684721 | [
"mesh",
"vector"
] |
315609812527a2b102f0fb08edf525fe719ea795 | 9,076 | cpp | C++ | AgoraHQ-Broadcaster-Windows/AgoraHQ/ChromaFilterDlg.cpp | jayliu1989/HQ | 470d9919742412795447c81c3f160278b4418ba7 | [
"MIT"
] | 45 | 2019-01-09T01:50:12.000Z | 2021-08-09T20:51:22.000Z | AgoraHQ-Broadcaster-Windows/AgoraHQ/ChromaFilterDlg.cpp | jayliu1989/HQ | 470d9919742412795447c81c3f160278b4418ba7 | [
"MIT"
] | 8 | 2019-01-14T10:30:55.000Z | 2021-06-16T11:38:39.000Z | Agora-Live-Shop-Windows/AgoraHQ/ChromaFilterDlg.cpp | AgoraIO/Live-Shop-Use-Case | 75b27587d282ad99f3d072e2ec7a2569705083a8 | [
"MIT"
] | 24 | 2019-02-15T17:24:23.000Z | 2021-09-09T23:45:19.000Z | // ChromaFilterDlg.cpp : implementation file
//
#include "stdafx.h"
#include "AgoraHQ.h"
#include "ChromaFilterDlg.h"
#include "afxdialogex.h"
#include "obs-filter-def.h"
// CChromaFilterDlg dialog
IMPLEMENT_DYNAMIC(CChromaFilterDlg, CDialogEx)
CChromaFilterDlg::CChromaFilterDlg(OBSSource source, CWnd* pParent /*=NU... | 30.766102 | 106 | 0.760357 | [
"transform"
] |
31585fd55845666882ca23fb4bbc4a9a9a4a85ba | 805 | cpp | C++ | GeneticDot/DrawableWorld.cpp | NeuroWhAI/GeneticDot | 5ce260d5a22000d12c25005f43090b2f7004f79a | [
"MIT"
] | null | null | null | GeneticDot/DrawableWorld.cpp | NeuroWhAI/GeneticDot | 5ce260d5a22000d12c25005f43090b2f7004f79a | [
"MIT"
] | null | null | null | GeneticDot/DrawableWorld.cpp | NeuroWhAI/GeneticDot | 5ce260d5a22000d12c25005f43090b2f7004f79a | [
"MIT"
] | null | null | null | #include "DrawableWorld.h"
#include <CodeAdapter\EasyCA.h>
#include "Cell.h"
#include "Gene.h"
DrawableWorld::DrawableWorld()
: m_cellSize(16)
{
}
//###########################################################################
void DrawableWorld::onDraw(Graphics& g, const Transform& parentTransform)
{
auto& re... | 17.888889 | 77 | 0.576398 | [
"transform"
] |
315e4c49fd202a2c406cb59170956420878a0f7d | 2,916 | hpp | C++ | src/gen/GenShare.hpp | pkalbers/geva | edeafb75c1aeccba784a4ba678607fa2ab62a5da | [
"MIT"
] | 12 | 2018-09-14T16:19:28.000Z | 2022-01-17T15:21:34.000Z | src/gen/GenShare.hpp | pkalbers/geva | edeafb75c1aeccba784a4ba678607fa2ab62a5da | [
"MIT"
] | 5 | 2018-09-15T19:41:45.000Z | 2022-03-08T20:14:06.000Z | src/gen/GenShare.hpp | pkalbers/geva | edeafb75c1aeccba784a4ba678607fa2ab62a5da | [
"MIT"
] | null | null | null | //
// Copyright (c) 2018 Patrick K. Albers. All rights reserved.
//
#ifndef GenShare_hpp
#define GenShare_hpp
#include <algorithm>
#include <iterator>
#include <map>
#include <memory>
#include <set>
#include <utility>
#include <vector>
#include "Random.h"
#include "GenSample.hpp"
#include "GenMarker.hpp"
#include ... | 22.090909 | 77 | 0.679355 | [
"vector"
] |
31696331d0e6686f5f85b6825d1c63fefa14ce09 | 2,651 | hpp | C++ | include/fea/rendering/repeatedquad.hpp | CptAsgard/featherkit | 84e7a119fcb84cd3a4d8ad9ba9b288abe5c56aa5 | [
"Zlib"
] | null | null | null | include/fea/rendering/repeatedquad.hpp | CptAsgard/featherkit | 84e7a119fcb84cd3a4d8ad9ba9b288abe5c56aa5 | [
"Zlib"
] | null | null | null | include/fea/rendering/repeatedquad.hpp | CptAsgard/featherkit | 84e7a119fcb84cd3a4d8ad9ba9b288abe5c56aa5 | [
"Zlib"
] | null | null | null | #pragma once
#include <fea/config.hpp>
#include <fea/rendering/animatedquad.hpp>
namespace fea
{
class FEA_API RepeatedQuad : public AnimatedQuad
{
public:
RepeatedQuad();
RepeatedQuad(const glm::vec2& size);
virtual void setSize(const glm::vec2& size) override;
... | 41.421875 | 330 | 0.648435 | [
"vector"
] |
316a2f7b25f25a44ad16c132504068f850c43efc | 5,583 | cpp | C++ | src/agile_grasp2/importance_sampling.cpp | pyni/agile_grasp2 | bbe64572f08f5f8b78f9f361da3fd5d3032cdbdf | [
"BSD-2-Clause"
] | null | null | null | src/agile_grasp2/importance_sampling.cpp | pyni/agile_grasp2 | bbe64572f08f5f8b78f9f361da3fd5d3032cdbdf | [
"BSD-2-Clause"
] | null | null | null | src/agile_grasp2/importance_sampling.cpp | pyni/agile_grasp2 | bbe64572f08f5f8b78f9f361da3fd5d3032cdbdf | [
"BSD-2-Clause"
] | 1 | 2021-06-24T01:33:05.000Z | 2021-06-24T01:33:05.000Z | #include <agile_grasp2/importance_sampling.h>
// sampling methods
const int SUM = 1; // sum of Gaussians
const int MAX = 2; // max of Gaussians
// standard parameters
const int ImportanceSampling::NUM_ITERATIONS = 5;
const int ImportanceSampling::NUM_SAMPLES = 50;
const int ImportanceSampling::NUM_INIT_SAMPLES = 100... | 35.335443 | 113 | 0.672398 | [
"vector"
] |
3174eb716dbaa50e29fd15f9827065369e78ceb2 | 10,863 | cpp | C++ | src/sound-bass.cpp | LibreGames/monster-rpg-2 | 456acd1e5ba13c5544c1d9b48f245143746244f9 | [
"Zlib"
] | 3 | 2016-03-24T09:02:53.000Z | 2018-10-24T00:42:40.000Z | src/sound-bass.cpp | LibreGames/monster-rpg-2 | 456acd1e5ba13c5544c1d9b48f245143746244f9 | [
"Zlib"
] | 1 | 2019-06-22T19:39:34.000Z | 2019-06-22T19:39:34.000Z | src/sound-bass.cpp | LibreGames/monster-rpg-2 | 456acd1e5ba13c5544c1d9b48f245143746244f9 | [
"Zlib"
] | 3 | 2019-04-11T07:10:49.000Z | 2020-09-09T08:19:30.000Z | #include "monster2.hpp"
#ifdef ALLEGRO_ANDROID
#include "java.h"
#endif
static void destroyMusic(void);
static std::string shutdownMusicName = "";
static std::string shutdownAmbienceName = "";
bool sound_inited = false;
static int total_samples = 0;
static int curr_sample = 0;
static std::map<std::string, MSAMPLE>... | 18.19598 | 112 | 0.69281 | [
"vector"
] |
317cbae2c8e3cfb3344c35f0cfaeb96e65a1b5cf | 13,158 | hpp | C++ | libraries/rodeos/include/eosio/datastream.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 13,162 | 2017-05-29T22:08:27.000Z | 2022-03-29T19:25:05.000Z | libraries/rodeos/include/eosio/datastream.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 6,450 | 2017-05-30T14:41:50.000Z | 2022-03-30T11:30:04.000Z | libraries/rodeos/include/eosio/datastream.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 4,491 | 2017-05-29T22:08:32.000Z | 2022-03-29T07:09:52.000Z | // TODO: this file duplicates a CDT file
// clang-format off
/**
* @file datastream.hpp
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosio/check.hpp>
#include <eosio/varint.hpp>
#include <eosio/to_bin.hpp>
#include <eosio/from_bin.hpp>
#include <list>
#include <queue>
#include <vector>
#include ... | 28.792123 | 162 | 0.610047 | [
"object",
"vector"
] |
318a2bcdfbb5f4d8191f28260d4e8abd20ace405 | 5,200 | cpp | C++ | Source/blendMap.cpp | L0mion/Makes-a-Click | c7f53a53ea3a58da027ea5f00176352edb914718 | [
"MIT"
] | 1 | 2016-04-28T06:24:15.000Z | 2016-04-28T06:24:15.000Z | Source/blendMap.cpp | L0mion/Makes-a-Click | c7f53a53ea3a58da027ea5f00176352edb914718 | [
"MIT"
] | null | null | null | Source/blendMap.cpp | L0mion/Makes-a-Click | c7f53a53ea3a58da027ea5f00176352edb914718 | [
"MIT"
] | null | null | null | #include "blendMap.h"
#include "HeightMap.h"
#include "PivotPoint.h"
#include "utility.h"
BlendMap::BlendMap( std::vector<Util::Texel> p_texels )
{
m_texBlendMap = NULL;
m_srvBlendMap = NULL;
m_texels = p_texels;
}
BlendMap::~BlendMap()
{
SAFE_RELEASE(m_texBlendMap);
SAFE_RELEASE(m_srvBlendMap);
}
void BlendMap... | 28.108108 | 138 | 0.716346 | [
"vector"
] |
318bd48f79f7cf22ec1a0ea86f2ad0cde170c4df | 4,295 | cpp | C++ | ainstein_radar_rviz_plugins/src/bounding_box_array/bounding_box_array_visual.cpp | siiengineering/ainstein_radar | f8df51004801e5a7d4aa8f49bc7d65ae098f27f8 | [
"BSD-3-Clause"
] | 24 | 2019-08-22T09:10:32.000Z | 2022-03-14T13:22:01.000Z | ainstein_radar_rviz_plugins/src/bounding_box_array/bounding_box_array_visual.cpp | siiengineering/ainstein_radar | f8df51004801e5a7d4aa8f49bc7d65ae098f27f8 | [
"BSD-3-Clause"
] | 11 | 2019-10-04T16:05:02.000Z | 2022-03-09T10:18:41.000Z | ainstein_radar_rviz_plugins/src/bounding_box_array/bounding_box_array_visual.cpp | siiengineering/ainstein_radar | f8df51004801e5a7d4aa8f49bc7d65ae098f27f8 | [
"BSD-3-Clause"
] | 24 | 2019-07-20T02:45:37.000Z | 2022-01-24T07:02:06.000Z | /*
Copyright <2020> <Ainstein, Inc.>
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer... | 36.092437 | 113 | 0.749476 | [
"object",
"shape",
"vector"
] |
31970b3d27b175a6706a1a3ac030fdb34fb462a0 | 3,775 | cpp | C++ | Tutorials/Basic/main_C/main.cpp | ylunalin/amrex | 5715b2fc8a77e0db17bfe7907982e29ec44811ca | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-05-20T13:04:05.000Z | 2021-05-20T13:04:05.000Z | Tutorials/Basic/main_C/main.cpp | ylunalin/amrex | 5715b2fc8a77e0db17bfe7907982e29ec44811ca | [
"BSD-3-Clause-LBNL"
] | null | null | null | Tutorials/Basic/main_C/main.cpp | ylunalin/amrex | 5715b2fc8a77e0db17bfe7907982e29ec44811ca | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-01-17T05:00:26.000Z | 2020-01-17T05:00:26.000Z | //
// This example demonstrates:
//
// (1) By default, AMReX initializes MPI and uses MPI_COMM_WORLD as its communicator.
// However, applications could choose to initialize MPI themselves and pass in an
// existing communicator.
//
// (2) By default, AMReX treats command line arguments as inputs parameters. T... | 34.009009 | 97 | 0.583311 | [
"vector"
] |
3197648774396298005ba206a015b4e14c0e87aa | 400 | cpp | C++ | BMMBusinessLogic/src/Show.cpp | melaniaoncea/BookMyMovie | 8f5bfab845bf86777f750d71d88bb34e7f5b665e | [
"MIT"
] | null | null | null | BMMBusinessLogic/src/Show.cpp | melaniaoncea/BookMyMovie | 8f5bfab845bf86777f750d71d88bb34e7f5b665e | [
"MIT"
] | null | null | null | BMMBusinessLogic/src/Show.cpp | melaniaoncea/BookMyMovie | 8f5bfab845bf86777f750d71d88bb34e7f5b665e | [
"MIT"
] | null | null | null | #include "Show.h"
void BMMBusinessLogic::Show::addBooking(const BMMBusinessLogic::Booking & booking)
{
}
vector<BMMBusinessLogic::Booking> BMMBusinessLogic::Show::getBookings() const
{
return m_bookings;
}
BMMBusinessLogic::Theater BMMBusinessLogic:: Show::getTheater() const
{
return m_theater;
}
BMMBusine... | 18.181818 | 82 | 0.755 | [
"vector"
] |
31a0f9e3941697c37093562ad23b8d9510a0add1 | 12,343 | hpp | C++ | runtime/include/cloe/handler.hpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 20 | 2020-07-07T18:28:35.000Z | 2022-03-21T04:35:28.000Z | runtime/include/cloe/handler.hpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 46 | 2021-01-20T10:13:09.000Z | 2022-03-29T12:27:19.000Z | runtime/include/cloe/handler.hpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 12 | 2021-01-25T08:01:24.000Z | 2021-07-27T10:09:53.000Z | /*
* Copyright 2020 Robert Bosch GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 28.374713 | 90 | 0.677631 | [
"object"
] |
31a2e7b99ab967ed6ea1b267a2097bd9f0741424 | 5,402 | cpp | C++ | sis/src/v1/model/TtsConfig.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | 1 | 2021-11-30T09:31:16.000Z | 2021-11-30T09:31:16.000Z | sis/src/v1/model/TtsConfig.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | null | null | null | sis/src/v1/model/TtsConfig.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | null | null | null |
#include "huaweicloud/sis/v1/model/TtsConfig.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Sis {
namespace V1 {
namespace Model {
TtsConfig::TtsConfig()
{
audioFormat_ = "";
audioFormatIsSet_ = false;
sampleRate_ = "";
sampleRateIsSet_ = false;
property_ = "";
propertyIsSet_ = fals... | 21.019455 | 103 | 0.635505 | [
"object",
"model"
] |
31a7409a212ae137000b63e07ebaa2c112e0fba1 | 13,705 | cpp | C++ | csvstream_test.cpp | RealAbhishek/csvstream | 1205ed37bddb5b1e6f1f04753b06c9b82fbaf22a | [
"MIT"
] | 44 | 2016-12-04T23:08:14.000Z | 2021-09-11T17:48:50.000Z | csvstream_test.cpp | RealAbhishek/csvstream | 1205ed37bddb5b1e6f1f04753b06c9b82fbaf22a | [
"MIT"
] | 27 | 2016-06-17T21:25:59.000Z | 2021-09-10T19:34:41.000Z | csvstream_test.cpp | RealAbhishek/csvstream | 1205ed37bddb5b1e6f1f04753b06c9b82fbaf22a | [
"MIT"
] | 13 | 2016-12-21T16:00:15.000Z | 2021-03-08T09:37:33.000Z | /* csvstream_test.cpp
*
* Andrew DeOrio <awdeorio@umich.edu>
*
* An easy-to-use CSV file parser for C++
* https://github.com/awdeorio/csvstream
*/
#include "csvstream.h"
#include <iostream>
#include <fstream>
#include <string>
#include <map>
#include <vector>
using namespace std;
void test_filename_ctor();
voi... | 21.823248 | 79 | 0.627362 | [
"object",
"vector"
] |
b3b5a184748c34009bb9f245d650692f20a8e6b4 | 9,734 | cxx | C++ | Testing/igstkTransformTest.cxx | ipa/IGSTK | d31f77b04aa72469e18e8a989ed8316bad39ed7a | [
"BSD-3-Clause"
] | 5 | 2016-02-12T18:55:20.000Z | 2022-02-05T09:23:07.000Z | Testing/igstkTransformTest.cxx | ipa/IGSTK | d31f77b04aa72469e18e8a989ed8316bad39ed7a | [
"BSD-3-Clause"
] | 1 | 2018-01-26T10:39:31.000Z | 2018-01-26T10:39:31.000Z | Testing/igstkTransformTest.cxx | ipa/IGSTK | d31f77b04aa72469e18e8a989ed8316bad39ed7a | [
"BSD-3-Clause"
] | 4 | 2017-02-22T07:25:38.000Z | 2021-10-08T22:45:00.000Z | /*=========================================================================
Program: Image Guided Surgery Software Toolkit
Module: igstkTransformTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) ISC Insight Software Consortium. All rights reserved.
See IGSTKCopyright.t... | 30.610063 | 80 | 0.581056 | [
"transform"
] |
b3c58ee824a0cdce6c0974e9bd5bc0b1d3b76eb5 | 95,646 | cpp | C++ | GameServer/ChaosCastleFinal.cpp | lvtx/IGC.GameServer.SX | 44d77f47598b15c6adb297edba9035561c4fec74 | [
"MIT"
] | 2 | 2017-10-18T01:51:39.000Z | 2021-08-31T15:02:50.000Z | GameServer/ChaosCastleFinal.cpp | neyma2379294/IGC.GameServer.SX | 44d77f47598b15c6adb297edba9035561c4fec74 | [
"MIT"
] | null | null | null | GameServer/ChaosCastleFinal.cpp | neyma2379294/IGC.GameServer.SX | 44d77f47598b15c6adb297edba9035561c4fec74 | [
"MIT"
] | 3 | 2017-03-10T17:35:31.000Z | 2020-03-26T13:46:05.000Z | #include "stdafx.h"
#include "ChaosCastleFinal.h"
#include "configread.h"
#include "GameMain.h"
#include "TLog.h"
#include "TNotice.h"
#include "DSProtocol.h"
#include "user.h"
#include "BloodCastle.h"
#include "LargeRand.h"
#include "BuffEffectSlot.h"
#include "CrywolfSync.h"
#include "MasterLevelSkillTreeSystem.h"
#i... | 28.440678 | 453 | 0.693829 | [
"vector"
] |
b3c777c2957388f6c41ab207d3019b84f34ba2d5 | 15,256 | hpp | C++ | INCLUDE/CFile64.hpp | SammyB428/WFC | 64aee7c7953e38c8a418ba9530339e8f4faac046 | [
"BSD-2-Clause"
] | 1 | 2021-03-29T06:09:19.000Z | 2021-03-29T06:09:19.000Z | INCLUDE/CFile64.hpp | SammyB428/WFC | 64aee7c7953e38c8a418ba9530339e8f4faac046 | [
"BSD-2-Clause"
] | null | null | null | INCLUDE/CFile64.hpp | SammyB428/WFC | 64aee7c7953e38c8a418ba9530339e8f4faac046 | [
"BSD-2-Clause"
] | null | null | null | /*
** Author: Samuel R. Blackburn
** "You can get credit for something or get it done, but not both."
** Dr. Richard Garwin
**
** BSD License follows.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions
** are met:
**
** Redistri... | 46.797546 | 323 | 0.700118 | [
"vector"
] |
b3c9910df1d2c3e3c9abb760110152550aa8328c | 6,507 | cpp | C++ | AOIManager.cpp | majianfei/aoi | 0456fbbe1177953f4aad96d0858149e9e82c9dcc | [
"MIT"
] | 2 | 2019-05-08T10:46:46.000Z | 2020-05-14T13:05:29.000Z | AOIManager.cpp | majianfei/aoi | 0456fbbe1177953f4aad96d0858149e9e82c9dcc | [
"MIT"
] | null | null | null | AOIManager.cpp | majianfei/aoi | 0456fbbe1177953f4aad96d0858149e9e82c9dcc | [
"MIT"
] | null | null | null | #include <math.h>
#include "define.h"
#include "AOIManager.h"
namespace AOI{
void AOIManager::Enter(const Entity& entity){
int gid = GetGid(entity.x(), entity.y());
Enter(entity.id(), gid);
EnterBroadcast(entity, entity.x(), entity.y());
}
void AOIManager::Enter(uint64_t id, int gid){
/*... | 27.689362 | 114 | 0.577993 | [
"vector"
] |
b3cc13cb761259af83366af5ca17e9f775bb9e52 | 42,894 | cpp | C++ | src/mopsc/source/cvodes_utils.cpp | sm453/MOpS | f1a706c6552bbdf3ceab504121a02391a1b51ede | [
"MIT"
] | 3 | 2020-09-08T14:06:33.000Z | 2020-12-04T07:52:19.000Z | src/mopsc/source/cvodes_utils.cpp | sm453/MOpS | f1a706c6552bbdf3ceab504121a02391a1b51ede | [
"MIT"
] | null | null | null | src/mopsc/source/cvodes_utils.cpp | sm453/MOpS | f1a706c6552bbdf3ceab504121a02391a1b51ede | [
"MIT"
] | 3 | 2021-11-15T05:18:26.000Z | 2022-03-01T13:51:20.000Z | /*
Author(s): Weerapong Phadungsukanan (wp214)
Project: mopsc (gas-phase chemistry solver).
Sourceforge: http://sourceforge.net/projects/mopssuite
Copyright (C) 2009 Weerapong Phadungsukanan.
File purpose:
Implementation of the extension of CVODES package.
Future work:
Copy const... | 50.76213 | 137 | 0.529515 | [
"vector"
] |
b3d3740391df3adbda17b4e6c80fabc0968b7684 | 515 | hh | C++ | MCDataProducts/inc/VisibleGenElTrackCollection.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:00:12.000Z | 2021-06-25T00:00:12.000Z | MCDataProducts/inc/VisibleGenElTrackCollection.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2019-11-22T14:45:51.000Z | 2019-11-22T14:50:03.000Z | MCDataProducts/inc/VisibleGenElTrackCollection.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 2 | 2019-10-14T17:46:58.000Z | 2020-03-30T21:05:15.000Z | #ifndef MCDataProducts_VisibleGenElTrackCollection_hh
#define MCDataProducts_VisibleGenElTrackCollection_hh
//
//
// $Id: VisibleGenElTrackCollection.hh,v 1.1 2011/10/11 17:27:52 tassiell Exp $
// $Author: tassiell $
// $Date: 2011/10/11 17:27:52 $
//
// Original author G. Tassielli
//
#include <vector>
#include "MCD... | 24.52381 | 79 | 0.776699 | [
"vector"
] |
b3d74702fcfb81a84d2f3e2d63df0a01d8d19656 | 4,769 | cpp | C++ | export/windows/obj/src/lime/_internal/backend/native/ClipboardEventInfo.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/lime/_internal/backend/native/ClipboardEventInfo.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/lime/_internal/backend/native/ClipboardEventInfo.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.4.7
#include <hxcpp.h>
#ifndef INCLUDED_lime__internal_backend_native_ClipboardEventInfo
#include <lime/_internal/backend/native/ClipboardEventInfo.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_45f117d879fd522d_759_new,"lime._internal.backend.native.ClipboardEventInfo","new",0x8e61fe76,"lime._interna... | 36.128788 | 251 | 0.773747 | [
"object"
] |
b3de24708c3512d9859338a80dfc4aad65f6bba2 | 48,251 | cpp | C++ | src/ZigBeePacketBuilder.cpp | alexforencich/zigbee-terminal | 02fc1a9a915cf20ea0d38e27b210781e66e14387 | [
"MIT"
] | 3 | 2015-03-08T13:42:45.000Z | 2021-07-17T18:24:11.000Z | src/ZigBeePacketBuilder.cpp | alexforencich/zigbee-terminal | 02fc1a9a915cf20ea0d38e27b210781e66e14387 | [
"MIT"
] | null | null | null | src/ZigBeePacketBuilder.cpp | alexforencich/zigbee-terminal | 02fc1a9a915cf20ea0d38e27b210781e66e14387 | [
"MIT"
] | 2 | 2018-03-14T09:54:11.000Z | 2021-06-10T03:46:30.000Z | /************************************************************************/
/* ZigBeePacketBuilder */
/* */
/* ZigBee Terminal - ZigBee Packet Builder */
/* ... | 44.430018 | 165 | 0.364863 | [
"vector"
] |
b3ded6d20fb25bcd22aea2930b621d53d0636e4c | 1,731 | cpp | C++ | Test/model_test.cpp | ZipoChan/casbin-cpp-cparse | c2f841be9667a3bb80ab5b6f2cd3b925acb50055 | [
"Apache-2.0"
] | null | null | null | Test/model_test.cpp | ZipoChan/casbin-cpp-cparse | c2f841be9667a3bb80ab5b6f2cd3b925acb50055 | [
"Apache-2.0"
] | null | null | null | Test/model_test.cpp | ZipoChan/casbin-cpp-cparse | c2f841be9667a3bb80ab5b6f2cd3b925acb50055 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "../casbin/model/model.h"
#include <fstream>
map<string, string> data = {
{"request_definition::r","sub, obj, act"},
{"policy_definition::p" , "sub, obj, act"},
{"policy_effect::e" , "some(where (p.eft == allow))"},
{"matchers::m" , "r.sub == p.sub && r.obj == p.obj && r.act == p.act"}
}... | 25.086957 | 98 | 0.633738 | [
"model"
] |
b3e37bc33ab2d1d5444695baf8f3aec838a99b0d | 33,135 | cpp | C++ | src/bindings/py_vhacd/py_vhacd.cpp | yijiangh/v-hacd | 77ee60f8ac56255f5e675c5fc2947422baa61ded | [
"BSD-3-Clause"
] | 4 | 2019-07-19T08:46:17.000Z | 2019-07-23T03:31:38.000Z | src/bindings/py_vhacd/py_vhacd.cpp | yijiangh/v-hacd | 77ee60f8ac56255f5e675c5fc2947422baa61ded | [
"BSD-3-Clause"
] | 2 | 2019-07-18T14:02:28.000Z | 2019-07-19T08:15:27.000Z | src/bindings/py_vhacd/py_vhacd.cpp | yijiangh/v-hacd | 77ee60f8ac56255f5e675c5fc2947422baa61ded | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2011 Khaled Mamou (kmamou at gmail dot com)
Modified by Yijiang Huang (yijiangh@mit.edu) July 2019
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code ... | 43.656126 | 756 | 0.517942 | [
"mesh",
"geometry",
"shape",
"vector",
"transform",
"solid"
] |
b3e4301dd61b98e8103dd14ae42268f356b945d2 | 18,364 | cpp | C++ | src/utility/json_parser.cpp | Wolkabout/WolkConnect-Arduino | ed60f169249e2f70359ddf828c2f8b74b1eb5788 | [
"Apache-2.0"
] | 5 | 2018-12-05T10:08:17.000Z | 2021-11-10T02:51:35.000Z | src/utility/json_parser.cpp | Wolkabout/WolkConnect-Arduino | ed60f169249e2f70359ddf828c2f8b74b1eb5788 | [
"Apache-2.0"
] | 4 | 2018-05-09T13:04:43.000Z | 2019-04-03T06:33:56.000Z | src/utility/json_parser.cpp | Wolkabout/WolkConnect-Arduino | ed60f169249e2f70359ddf828c2f8b74b1eb5788 | [
"Apache-2.0"
] | 5 | 2017-12-06T14:27:46.000Z | 2019-10-07T01:56:05.000Z | /*
* Copyright 2018 WolkAbout Technology s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 33.819521 | 132 | 0.626606 | [
"object"
] |
b3e5a7581adca50dc3038fcc1135ded8dd3ece6a | 5,920 | cpp | C++ | unit-test/rpc/test_communicator.cpp | julianyang/TarsCpp | 5973e2c58ebff7926f055c94b37d71281783f828 | [
"BSD-3-Clause"
] | null | null | null | unit-test/rpc/test_communicator.cpp | julianyang/TarsCpp | 5973e2c58ebff7926f055c94b37d71281783f828 | [
"BSD-3-Clause"
] | null | null | null | unit-test/rpc/test_communicator.cpp | julianyang/TarsCpp | 5973e2c58ebff7926f055c94b37d71281783f828 | [
"BSD-3-Clause"
] | null | null | null |
#include "hello_test.h"
#include "servant/CommunicatorEpoll.h"
TEST_F(HelloTest, testNotifyCommunicatorEpoll)
{
shared_ptr<Communicator> c = getCommunicator();
int netThread = TC_Common::strto<int>(c->getProperty("netthread"));
HelloServer server;
startServer(server, (TC_EpollServer::SERVER_OPEN_CO... | 19.096774 | 81 | 0.604561 | [
"vector"
] |
b3e74f33567dd43904c426b51e4990d0deabe8e3 | 2,170 | hpp | C++ | source/header/GeneticCore.hpp | vitorecomp/cpp-ai-libs | 7db3c624f814430a825414f0041266f9998843d6 | [
"MIT"
] | null | null | null | source/header/GeneticCore.hpp | vitorecomp/cpp-ai-libs | 7db3c624f814430a825414f0041266f9998843d6 | [
"MIT"
] | null | null | null | source/header/GeneticCore.hpp | vitorecomp/cpp-ai-libs | 7db3c624f814430a825414f0041266f9998843d6 | [
"MIT"
] | null | null | null | #ifndef GeneticCore_H
#define GeneticCore_H
//includes
#include <thread>
#include <mutex>
#include <iostream>
#include <unistd.h>
#include <sstream>
#include <cmath>
#include <vector>
#include <sys/time.h>
#include <algorithm>
//files
#include "./IOMananger.hpp"
#include "./Specimen.hpp"
//define
typedef struct tim... | 17.36 | 45 | 0.690783 | [
"vector"
] |
b3ecb2db56700635ad14fc928a79d848ce3c1282 | 1,010 | cpp | C++ | QT Interface/QTInterface/dataparser.cpp | EmilRyberg/SSP-Greenhouse | 7bc7f1197245983f67e90cd10ad3a981077c39b6 | [
"MIT"
] | null | null | null | QT Interface/QTInterface/dataparser.cpp | EmilRyberg/SSP-Greenhouse | 7bc7f1197245983f67e90cd10ad3a981077c39b6 | [
"MIT"
] | null | null | null | QT Interface/QTInterface/dataparser.cpp | EmilRyberg/SSP-Greenhouse | 7bc7f1197245983f67e90cd10ad3a981077c39b6 | [
"MIT"
] | null | null | null | #include "dataparser.h"
#include <QCoreApplication>
#include <QTextStream>
#include <iostream>
#include <vector>
std::vector<double> DataParser::parseData(QByteArray *readData)
{
std::vector<double> parsedData;
bool isReadingValue = false;
QString currentValue = "";
for (int i = 0; i < readData->size()... | 23.488372 | 63 | 0.486139 | [
"vector"
] |
b3f2df19a75bf4219838f2b780f15531e1c29ae9 | 4,928 | cpp | C++ | src/tests/dray/t_dray_face_render.cpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 14 | 2019-12-17T17:40:32.000Z | 2021-12-13T20:32:32.000Z | src/tests/dray/t_dray_face_render.cpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 72 | 2019-12-21T16:55:38.000Z | 2022-03-22T20:40:13.000Z | src/tests/dray/t_dray_face_render.cpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 3 | 2020-02-21T18:06:57.000Z | 2021-12-03T18:39:48.000Z | // Copyright 2019 Lawrence Livermore National Security, LLC and other
// Devil Ray Developers. See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#include "test_config.h"
#include "gtest/gtest.h"
#include "t_utils.hpp"
#include <dray/io/blueprint_reader.hpp>
#include <dray/fi... | 28.988235 | 89 | 0.711039 | [
"render"
] |
b3f33e9b9548f0c32c9bbd41790438f75d3e7182 | 5,173 | cpp | C++ | src/csaltTester/src/TestOptCtrl/src/drivers/HohmannTransferDriver.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/csaltTester/src/TestOptCtrl/src/drivers/HohmannTransferDriver.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/csaltTester/src/TestOptCtrl/src/drivers/HohmannTransferDriver.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
// HohmannTransferDriver
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2020 United States Government as represen... | 35.431507 | 87 | 0.641021 | [
"mesh"
] |
b3f4674efe1d7bc74cbc338c80b34070875b8d52 | 3,446 | hpp | C++ | src/transition.hpp | yinanl/rocs | bf2483903e39f4c0ea254a9ef56720a1259955ad | [
"BSD-3-Clause"
] | null | null | null | src/transition.hpp | yinanl/rocs | bf2483903e39f4c0ea254a9ef56720a1259955ad | [
"BSD-3-Clause"
] | null | null | null | src/transition.hpp | yinanl/rocs | bf2483903e39f4c0ea254a9ef56720a1259955ad | [
"BSD-3-Clause"
] | null | null | null | /**
* The definition of a transition system class.
*
* Created by Yinan Li on Sept. 05, 2017.
*
* Hybrid Systems Group, University of Waterloo.
*/
#ifndef _transition_h_
#define _transition_h_
#include <vector>
namespace rocs {
/**
* \brief A finite transition system class.
*
* This clas... | 26.713178 | 94 | 0.612304 | [
"vector"
] |
b3ff1b3cbc9b1e9cae3f0a1f4c5b4aed683b7d09 | 5,329 | cpp | C++ | interface.cpp | luiseduardomendes/Eletromagnetic-Field-Simulator | 2a799aceab71b1427cac45815386c52deb917413 | [
"MIT"
] | null | null | null | interface.cpp | luiseduardomendes/Eletromagnetic-Field-Simulator | 2a799aceab71b1427cac45815386c52deb917413 | [
"MIT"
] | null | null | null | interface.cpp | luiseduardomendes/Eletromagnetic-Field-Simulator | 2a799aceab71b1427cac45815386c52deb917413 | [
"MIT"
] | null | null | null | #include "headers/header.hpp"
void Interface::drawInterface(Coord mouse, ALLEGRO_DISPLAY *display){
int sizePos = 0, sizeNeg = 0, sizeMet = 0;
if (mouse.x > (width/2)-96 && mouse.x < (width/2)-32 && mouse.y > (height)-96 && mouse.y < (height)-32)
sizePos = 32;
else if (mouse.x > (width/2) && m... | 42.293651 | 209 | 0.62113 | [
"vector"
] |
b617961b6fe3d06b1b9a709e693c05c3109e0cc4 | 2,436 | cpp | C++ | moveitCpp/gazebo/subscriber.cpp | awied1404/COPING | 0fe36c1835928db15fb36f752ca83f8d2c2e33d4 | [
"MIT"
] | null | null | null | moveitCpp/gazebo/subscriber.cpp | awied1404/COPING | 0fe36c1835928db15fb36f752ca83f8d2c2e33d4 | [
"MIT"
] | null | null | null | moveitCpp/gazebo/subscriber.cpp | awied1404/COPING | 0fe36c1835928db15fb36f752ca83f8d2c2e33d4 | [
"MIT"
] | null | null | null | //
// Created by andreas on 13.10.20.
//
#include "subscriber.h"
#ifdef USE_GAZEBO_SUBS
bool GazeboSubscriber::collisionDetected = false;
bool GazeboSubscriber::bPrintedCollision = false;
ros::Subscriber collisionSubs[NUMBER_JOINTS + NUMBER_PARTS_GRIPPER];
GazeboSubscriber::GazeboSubscriber(ros::NodeHandle &nodeHandl... | 36.358209 | 151 | 0.743432 | [
"vector"
] |
b61c905d063c6b33d1decfecfe8528d7a2c7c9cd | 9,268 | hpp | C++ | src/impl/deserialize_base.hpp | delftrobotics/modbus | 58e90f71b1744c67b61c07005f11f03784a25f6e | [
"BSD-3-Clause"
] | 6 | 2018-11-08T13:47:02.000Z | 2021-06-06T07:19:14.000Z | src/impl/deserialize_base.hpp | fizyr/modbus | 58e90f71b1744c67b61c07005f11f03784a25f6e | [
"BSD-3-Clause"
] | null | null | null | src/impl/deserialize_base.hpp | fizyr/modbus | 58e90f71b1744c67b61c07005f11f03784a25f6e | [
"BSD-3-Clause"
] | 4 | 2017-12-01T02:01:08.000Z | 2021-05-14T16:00:25.000Z | // Copyright (c) 2017, Fizyr (https://fizyr.com)
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and th... | 34.842105 | 165 | 0.716659 | [
"vector"
] |
b62e4ac192a3ef0c2feb3b7e68fb43eaec1a8f49 | 14,645 | cpp | C++ | Nanoforge/gui/documents/XtblDocument.cpp | Moneyl/Nanoforge | 8fb24f6033d2c50496960ff0c00b48bf80b90b14 | [
"MIT"
] | 18 | 2020-11-15T00:30:37.000Z | 2021-12-02T23:32:58.000Z | Nanoforge/gui/documents/XtblDocument.cpp | Moneyl/Nanoforge | 8fb24f6033d2c50496960ff0c00b48bf80b90b14 | [
"MIT"
] | 15 | 2021-06-09T15:31:10.000Z | 2022-01-02T07:52:45.000Z | Nanoforge/gui/documents/XtblDocument.cpp | Moneyl/Nanoforge | 8fb24f6033d2c50496960ff0c00b48bf80b90b14 | [
"MIT"
] | null | null | null | #include "XtblDocument.h"
#include "Log.h"
#include "render/imgui/imgui_ext.h"
#include "application/project/Project.h"
#include "render/imgui/imgui_ext.h"
#include "gui/GuiState.h"
#include "rfg/xtbl/XtblNodes.h"
#include "gui/util/WinUtil.h"
#include "rfg/xtbl/XtblManager.h"
#include "rfg/xtbl/Xtbl.h"
#include "util/... | 33.133484 | 188 | 0.62902 | [
"render"
] |
ac0a5a177769d538da024ef4bbbac7ef5bc66ae4 | 4,772 | cpp | C++ | source/iked/ike.idb.peer.cpp | smthnspcl/shrewvpn | 3fe6565262594312af9904def7a897ae74b7b34b | [
"OpenSSL"
] | null | null | null | source/iked/ike.idb.peer.cpp | smthnspcl/shrewvpn | 3fe6565262594312af9904def7a897ae74b7b34b | [
"OpenSSL"
] | null | null | null | source/iked/ike.idb.peer.cpp | smthnspcl/shrewvpn | 3fe6565262594312af9904def7a897ae74b7b34b | [
"OpenSSL"
] | null | null | null |
/*
* Copyright (c) 2007
* Shrew Soft Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list ... | 25.794595 | 80 | 0.631601 | [
"object"
] |
ac0ac0c67476fe7e6889b8f75b95e99d518c10d7 | 1,907 | cpp | C++ | codeforces/contests/round/664-div2/f.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | 4 | 2020-10-05T19:24:10.000Z | 2021-07-15T00:45:43.000Z | codeforces/contests/round/664-div2/f.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | codeforces/contests/round/664-div2/f.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | #include <cpplib/stdinc.hpp>
#include <cpplib/utility/random.hpp>
ii operator+(ii i, const ii &j){
i.ff += j.ff;
i.ss += j.ss;
return i;
}
int dis(const ii &p, const ii &q){
if((p.ff-q.ff)*(p.ss-q.ss) < 0)
return abs(p.ff-q.ff) + abs(p.ss-q.ss);
return max(abs(p.ff-q.ff), abs(p.ss-q.ss));
... | 19.459184 | 53 | 0.438385 | [
"vector"
] |
ac116f6c551771822c932a56e36ea17677472ec5 | 13,074 | hpp | C++ | cgr_compressor/cgr_compressor.hpp | GraphSummary/GCGT | 0ffd6b042bd0e3153f03fe23422d6d22a013dc85 | [
"MIT"
] | 4 | 2020-06-09T03:41:23.000Z | 2021-07-22T07:31:49.000Z | cgr_compressor/cgr_compressor.hpp | GraphSummary/GCGT | 0ffd6b042bd0e3153f03fe23422d6d22a013dc85 | [
"MIT"
] | null | null | null | cgr_compressor/cgr_compressor.hpp | GraphSummary/GCGT | 0ffd6b042bd0e3153f03fe23422d6d22a013dc85 | [
"MIT"
] | 1 | 2021-03-17T05:50:52.000Z | 2021-03-17T05:50:52.000Z | #ifndef CGR_COMPRESSOR_HPP
#define CGR_COMPRESSOR_HPP
#include <string>
#include <iostream>
#include <cassert>
#include <algorithm>
#include <vector>
using size_type = int64_t;
using bits = std::vector<bool>;
class cgr_compressor {
const size_type PRE_ENCODE_NUM = 1024 * 1024 * 16;
int _zeta_k;
int _m... | 29.849315 | 119 | 0.517898 | [
"vector"
] |
ac131d8c20401e38d76a87b71237c076afb7e7a3 | 235 | cpp | C++ | pushback.cpp | 1432junaid/cpp | 8faf7ac856a50937f3a563dc8d23ee8e205a489c | [
"MIT"
] | null | null | null | pushback.cpp | 1432junaid/cpp | 8faf7ac856a50937f3a563dc8d23ee8e205a489c | [
"MIT"
] | null | null | null | pushback.cpp | 1432junaid/cpp | 8faf7ac856a50937f3a563dc8d23ee8e205a489c | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
using namespace std;
int main(){
vector<int>v;
v.push_back(10);
v.push_back(20);
v.push_back(30);
v[5]=50;
for(vector<int>::size_type i=0; i<v.size(); i++){
cout<<v[i]<<endl;
}
return 0;
}
| 15.666667 | 50 | 0.634043 | [
"vector"
] |
ac15de63b12a4bf99cfe4f0c4752e6a615af41d7 | 2,283 | cpp | C++ | LeetCode/Problems/Algorithms/#327_CountOfRangeSum_sol1_value_compression_and_binary_indexed_tree_O(NlogN)_time_O(N)_extra_space_36ms_15.2MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | LeetCode/Problems/Algorithms/#327_CountOfRangeSum_sol1_value_compression_and_binary_indexed_tree_O(NlogN)_time_O(N)_extra_space_36ms_15.2MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | LeetCode/Problems/Algorithms/#327_CountOfRangeSum_sol1_value_compression_and_binary_indexed_tree_O(NlogN)_time_O(N)_extra_space_36ms_15.2MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | class BinaryIndexedTree{
private:
const int N;
vector<int> a;
static int nonZeroLSB(int num){
return num - (num & (num - 1));
}
int query(const int& R){
int sum = 0;
for(int i = R; i >= 1; i -= nonZeroLSB(i)){
sum += a[i];
}
... | 28.5375 | 107 | 0.441962 | [
"vector"
] |
ac2088d551eca83dfdc7337f049cb3de2eaf8e1e | 10,996 | cc | C++ | app/GraphSLAM/main.cc | PNeigel/SceneGraphFusion | d2bd67083777ae57941018adcbad9f2c4c6890b2 | [
"BSD-2-Clause"
] | 67 | 2021-05-06T06:55:27.000Z | 2022-03-29T12:54:24.000Z | app/GraphSLAM/main.cc | PNeigel/SceneGraphFusion | d2bd67083777ae57941018adcbad9f2c4c6890b2 | [
"BSD-2-Clause"
] | 18 | 2021-05-24T02:55:48.000Z | 2022-03-30T08:58:17.000Z | app/GraphSLAM/main.cc | PNeigel/SceneGraphFusion | d2bd67083777ae57941018adcbad9f2c4c6890b2 | [
"BSD-2-Clause"
] | 10 | 2021-06-03T21:49:17.000Z | 2022-03-05T09:05:01.000Z | #define STB_IMAGE_IMPLEMENTATION
#ifdef __APPLE__
/* Defined before OpenGL and GLUT includes to avoid deprecation messages */
#define GL_SILENCE_DEPRECATION
#endif
#include <iostream>
#include <dataLoader/dataset_loader_facotry.h>
#include "../../Utils/parser.hpp"
#include <ORUtils/Logging.h>
#include <ORUtils/PathTool... | 39.696751 | 137 | 0.641779 | [
"mesh",
"render",
"object"
] |
ac231ec97cb58d8a232759ae861d356acecc0257 | 2,905 | hxx | C++ | bpkg/pkg-verify.hxx | build2/bpkg | bd939839b44d90d027517e447537dd52539269ff | [
"MIT"
] | 19 | 2018-05-30T12:01:25.000Z | 2022-01-29T21:37:23.000Z | bpkg/pkg-verify.hxx | build2/bpkg | bd939839b44d90d027517e447537dd52539269ff | [
"MIT"
] | 2 | 2019-03-18T22:31:45.000Z | 2020-07-28T06:44:03.000Z | bpkg/pkg-verify.hxx | build2/bpkg | bd939839b44d90d027517e447537dd52539269ff | [
"MIT"
] | 1 | 2019-02-04T02:58:14.000Z | 2019-02-04T02:58:14.000Z | // file : bpkg/pkg-verify.hxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
#ifndef BPKG_PKG_VERIFY_HXX
#define BPKG_PKG_VERIFY_HXX
#include <libbutl/manifest-forward.hxx>
#include <libbpkg/manifest.hxx>
#include <bpkg/types.hxx>
#include <bpkg/utility.hxx>
#include <bpkg/pkg-verify-options.hx... | 36.772152 | 78 | 0.700172 | [
"vector"
] |
ac31fd7886c314c58e6da9c9de90b2d92b6ae459 | 4,690 | cpp | C++ | C++/Data_Structures/sudoku.cpp | aditi-gulati/HactoberFest21 | 7640a61b123097675a72fa8c3f3a6cea231378f8 | [
"Unlicense"
] | 1 | 2021-10-03T08:02:58.000Z | 2021-10-03T08:02:58.000Z | C++/Data_Structures/sudoku.cpp | aditi-gulati/HactoberFest21 | 7640a61b123097675a72fa8c3f3a6cea231378f8 | [
"Unlicense"
] | null | null | null | C++/Data_Structures/sudoku.cpp | aditi-gulati/HactoberFest21 | 7640a61b123097675a72fa8c3f3a6cea231378f8 | [
"Unlicense"
] | null | null | null | bool isValid(int row, int col, int num, vector<vector<char> > grid) {
int N = grid.size();
for (int i = 0; i < N; i++) {
if (grid[i][col] == num + '0')
return false;
}
for (int j = 0; j < N; j++) {
if (grid[row][j] == num + '0')
return false;
}
... | 23.45 | 99 | 0.351812 | [
"vector"
] |
ac3b76fce04a2e852b61abeba63d74d749bd227a | 12,184 | cpp | C++ | examples/qt-client/proto-roc/qtest1worker.cpp | pauldotknopf/net-grpc-gen | ee5fb3b428a80c5d3c3d93d0b2ac7f1afe137e4c | [
"MIT"
] | null | null | null | examples/qt-client/proto-roc/qtest1worker.cpp | pauldotknopf/net-grpc-gen | ee5fb3b428a80c5d3c3d93d0b2ac7f1afe137e4c | [
"MIT"
] | null | null | null | examples/qt-client/proto-roc/qtest1worker.cpp | pauldotknopf/net-grpc-gen | ee5fb3b428a80c5d3c3d93d0b2ac7f1afe137e4c | [
"MIT"
] | null | null | null | #include "qtest1worker.h"
#include "gen.pb.h"
#include "gen.grpc.pb.h"
#include "roc-lib/qrocobjectadapter.h"
#include "protobuf-qjson/protobufjsonconverter.h"
#include <QThread>
using namespace Tests;
class EventThread : public QThread
{
public:
std::shared_ptr<Tests::Test1ObjectService::Stub> service;
grpc::ClientC... | 36.479042 | 136 | 0.763132 | [
"object"
] |
ac3fc2f6abf7f9eda11ae2bec12cc84fb960f516 | 1,163 | cpp | C++ | leetcode/0090_Subsets_2/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | leetcode/0090_Subsets_2/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | leetcode/0090_Subsets_2/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | /**
* Copyright (C) 2021 All rights reserved.
*
* FileName :result.cpp
* Author :C.K
* Email :theck17@163.com
* DateTime :2021-05-14 22:33:30
* Description :
*/
#include <algorithm> //STL 通用算法
#include <string> //字符串类
#include <vector> //STL 动态数组容器... | 25.844444 | 67 | 0.485813 | [
"vector"
] |
ac45ce0875195c4b7768dda463cb6e3ac4df1724 | 1,955 | hpp | C++ | Leetcode/ArrayProblems/Easy/BestTimeToBuySellStock.hpp | paulburgess1357/Leetcode | 7b8ee737b1a2a3d5ac7fcf6558c84882c0b95c36 | [
"MIT"
] | 1 | 2021-03-02T21:31:05.000Z | 2021-03-02T21:31:05.000Z | Leetcode/ArrayProblems/Easy/BestTimeToBuySellStock.hpp | paulburgess1357/Leetcode | 7b8ee737b1a2a3d5ac7fcf6558c84882c0b95c36 | [
"MIT"
] | null | null | null | Leetcode/ArrayProblems/Easy/BestTimeToBuySellStock.hpp | paulburgess1357/Leetcode | 7b8ee737b1a2a3d5ac7fcf6558c84882c0b95c36 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <limits>
// https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
// You are given an array prices where prices[i] is the price of a given stock
// on the ith day.
// You want to maximize your profit by choosing a single day to buy one stock and
// choosing a differen... | 26.780822 | 102 | 0.562148 | [
"vector"
] |
ac47c0ff9260d545e43d1ea3cac1580b682ae498 | 3,314 | cpp | C++ | ubus/ubus.cpp | oskarirauta/systembus | 9f98b593beea6da87ad15555c21e8b8708e63eaf | [
"MIT"
] | null | null | null | ubus/ubus.cpp | oskarirauta/systembus | 9f98b593beea6da87ad15555c21e8b8708e63eaf | [
"MIT"
] | null | null | null | ubus/ubus.cpp | oskarirauta/systembus | 9f98b593beea6da87ad15555c21e8b8708e63eaf | [
"MIT"
] | 1 | 2022-01-08T06:51:01.000Z | 2022-01-08T06:51:01.000Z | #include <iostream>
#include <thread>
#include <algorithm>
#include <string>
#include "constants.hpp"
#include "log.hpp"
#include "cpu.hpp"
#include "ubus_cpu.hpp"
#include "ubus_security.hpp"
#include "ubus_info.hpp"
#include "ubus.hpp"
std::string ubus_socket = "";
struct ubus_context *ctx;
#ifndef b
struct blob_b... | 29.855856 | 101 | 0.672903 | [
"object"
] |
ac525a91bcd1103c1ddde7200b48c26689cada00 | 8,587 | hpp | C++ | include/jsoncons_ext/csv/csv_reader.hpp | bergmansj/jsoncons | 11db194bd3f0e3e89f29b3447e28d131db242501 | [
"BSL-1.0"
] | null | null | null | include/jsoncons_ext/csv/csv_reader.hpp | bergmansj/jsoncons | 11db194bd3f0e3e89f29b3447e28d131db242501 | [
"BSL-1.0"
] | null | null | null | include/jsoncons_ext/csv/csv_reader.hpp | bergmansj/jsoncons | 11db194bd3f0e3e89f29b3447e28d131db242501 | [
"BSL-1.0"
] | null | null | null | // Copyright 2013 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See https://github.com/danielaparker/jsoncons for latest version
#ifndef JSONCONS_CSV_CSV_READER_HPP
#define JSONCONS_CSV_CSV_READER_HPP
#... | 28.528239 | 132 | 0.601258 | [
"object",
"vector"
] |
ac54cd7d832462c4c2baccea4d9cc4dfeb07d085 | 619 | cpp | C++ | opencv_test/future_test/main.cpp | GaussRieman/cv_neon_optimization | 2c3c67955e71131d16860c6b998d8dc2ce758371 | [
"Apache-2.0"
] | null | null | null | opencv_test/future_test/main.cpp | GaussRieman/cv_neon_optimization | 2c3c67955e71131d16860c6b998d8dc2ce758371 | [
"Apache-2.0"
] | null | null | null | opencv_test/future_test/main.cpp | GaussRieman/cv_neon_optimization | 2c3c67955e71131d16860c6b998d8dc2ce758371 | [
"Apache-2.0"
] | 1 | 2019-10-15T11:40:48.000Z | 2019-10-15T11:40:48.000Z | //
// main.cpp
// future_test
//
// Created by Frank on 2018/7/30.
// Copyright © 2018年 Frank. All rights reserved.
//
#include <iostream>
#include <future>
#include <queue>
#include <vector>
using namespace std;
int main(int argc, const char * argv[]) {
// insert code here...
queue<shared_future<void>> q... | 17.685714 | 49 | 0.515347 | [
"vector"
] |
ac5682e78785eb0d963e08328ac75ff7183981ed | 9,810 | cpp | C++ | ConsoleRig/GlobalServices.cpp | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | 3 | 2018-05-17T08:39:39.000Z | 2020-12-09T13:20:26.000Z | ConsoleRig/GlobalServices.cpp | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | null | null | null | ConsoleRig/GlobalServices.cpp | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | 1 | 2021-11-14T08:50:15.000Z | 2021-11-14T08:50:15.000Z | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#include "GlobalServices.h"
#include "AttachablePtr.h"
#include "Log.h"
#include "Console.h"
#include "ResourceBox.h"
#include "IProgress.h"
#... | 33.59589 | 113 | 0.646075 | [
"vector"
] |
ac5b4764d8b973abac3e7f6fe7494ada14243d67 | 2,348 | cpp | C++ | arangod/Cluster/ClusterEdgeCursor.cpp | mikestaub/arangodb | 1bdf414de29b31bcaf80769a095933f66f8256ce | [
"ICU",
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | arangod/Cluster/ClusterEdgeCursor.cpp | mikestaub/arangodb | 1bdf414de29b31bcaf80769a095933f66f8256ce | [
"ICU",
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | arangod/Cluster/ClusterEdgeCursor.cpp | mikestaub/arangodb | 1bdf414de29b31bcaf80769a095933f66f8256ce | [
"ICU",
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 36.6875 | 91 | 0.643952 | [
"vector"
] |
ac65fd96222c68f0f61e9ed52a3c2b13671a380e | 5,442 | cc | C++ | default/vm/port_test.cc | ChangMinPark/immix-gc-dart | aad91578d9d80f13626f95d14c6513ced1d20286 | [
"MIT"
] | null | null | null | default/vm/port_test.cc | ChangMinPark/immix-gc-dart | aad91578d9d80f13626f95d14c6513ced1d20286 | [
"MIT"
] | null | null | null | default/vm/port_test.cc | ChangMinPark/immix-gc-dart | aad91578d9d80f13626f95d14c6513ced1d20286 | [
"MIT"
] | null | null | null | // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/port.h"
#include "platform/assert.h"
#include "vm/lockers.h"
#include "vm/message_handler.... | 29.416216 | 77 | 0.735208 | [
"object"
] |
ac6ad4b04a71625311388770daeef6bbdf5b7f9b | 972 | cpp | C++ | aws-cpp-sdk-codedeploy/source/model/DeleteGitHubAccountTokenRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-codedeploy/source/model/DeleteGitHubAccountTokenRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-codedeploy/source/model/DeleteGitHubAccountTokenRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-03-23T15:17:18.000Z | 2022-03-23T15:17:18.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/codedeploy/model/DeleteGitHubAccountTokenRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::CodeDeploy::Model;
using namespace Aws::Util... | 22.090909 | 109 | 0.772634 | [
"model"
] |
ac6c39a52f576b6949e692aad9cce5feaa790a90 | 1,871 | hh | C++ | bp/bpstat.hh | kohoumas/click-packages | 6bb5c4ba286e5dbc74efd1708921d530425691f6 | [
"MIT"
] | 1 | 2021-11-26T23:38:15.000Z | 2021-11-26T23:38:15.000Z | bp/bpstat.hh | kohoumas/click-packages | 6bb5c4ba286e5dbc74efd1708921d530425691f6 | [
"MIT"
] | null | null | null | bp/bpstat.hh | kohoumas/click-packages | 6bb5c4ba286e5dbc74efd1708921d530425691f6 | [
"MIT"
] | null | null | null | #ifndef BPSTAT_HH
#define BPSTAT_HH
#include <click/element.hh>
#include <click/etheraddress.hh>
#include <click/ipaddress.hh>
#include <click/timer.hh>
#include <click/packet.hh>
#include <elements/wifi/linktable.hh>
#include <elements/wifi/availablerates.hh>
#include "bpconfig.h"
#include "bpdata.hh"
#include "data... | 22.011765 | 110 | 0.694281 | [
"vector"
] |
ac7688c5beeef60d86c9d9f601c0f1ccbd26350c | 1,208 | cc | C++ | DetectorDescription/DDCMS/plugins/DDTestVectors.cc | bkilian15/cmssw | ad9b85e79d89f4f6c393c8cc648261366d82adca | [
"Apache-2.0"
] | null | null | null | DetectorDescription/DDCMS/plugins/DDTestVectors.cc | bkilian15/cmssw | ad9b85e79d89f4f6c393c8cc648261366d82adca | [
"Apache-2.0"
] | null | null | null | DetectorDescription/DDCMS/plugins/DDTestVectors.cc | bkilian15/cmssw | ad9b85e79d89f4f6c393c8cc648261366d82adca | [
"Apache-2.0"
] | null | null | null | #include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ESTransientHandle.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "DetectorDescription/DDCMS/interface/DDVectorRegistryRcd.h"
#include "DetectorDescription/DDCMS... | 30.974359 | 79 | 0.713576 | [
"vector"
] |
ac77bfabd828927a7109263a33f3cea8f7cd531f | 1,167 | cpp | C++ | Dynamic Programming/Minimum-Path-Sum-64.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | 38 | 2021-10-14T09:36:53.000Z | 2022-01-27T02:36:19.000Z | Dynamic Programming/Minimum-Path-Sum-64.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | null | null | null | Dynamic Programming/Minimum-Path-Sum-64.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | 4 | 2021-12-06T15:47:12.000Z | 2022-02-04T04:25:00.000Z | // Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right,
// which minimizes the sum of all numbers along its path.
// Note: You can only move either down or right at any point in time.
// Example 1:
// Input: grid = [[1,3,1],[1,5,1],[4,2,1]]
// Output: 7
// Explanati... | 29.923077 | 100 | 0.482434 | [
"vector"
] |
ac77fc762106d3641a3e97824d1360976603ee7d | 1,927 | cpp | C++ | util/infoclient/test_infoclient.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 7 | 2015-02-10T17:00:49.000Z | 2021-07-27T22:09:43.000Z | util/infoclient/test_infoclient.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 11 | 2015-02-22T19:15:53.000Z | 2021-08-04T17:26:18.000Z | util/infoclient/test_infoclient.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 8 | 2015-07-06T22:31:51.000Z | 2019-04-22T21:22:07.000Z | #include"ace/SOCK_Stream.h"
#include"ace/SOCK_Connector.h"
#include"ace/SOCK_Stream.h"
#include"ace/Date_Time.h"
#include<iostream>
#include<string>
#include<sstream>
using namespace std;
int main(int argc, char **args) {
// no parms
if(argc < 3) {
cout << "usage: " << args[0] << " dataName roiName [tr localP... | 26.763889 | 101 | 0.598339 | [
"object"
] |
ac7c02f3dd947ba7a275174073809ba3b94e627e | 2,779 | cpp | C++ | kernel/system/dmzSystemThreadCommon.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | 2 | 2015-11-05T03:03:43.000Z | 2017-05-15T12:55:39.000Z | kernel/system/dmzSystemThreadCommon.cpp | ashok/dmz | 2f8d4bced646f25abf2e98bdc0d378dafb4b32ed | [
"MIT"
] | null | null | null | kernel/system/dmzSystemThreadCommon.cpp | ashok/dmz | 2f8d4bced646f25abf2e98bdc0d378dafb4b32ed | [
"MIT"
] | null | null | null | #include <dmzSystemThread.h>
/*!
\file dmzSystemThread.h
\brief Contains classes and functions related to threading.
\class dmz::ThreadFunction
\ingroup System
\brief Base class that threadable classes should be derived from.
*/
namespace {
struct cleanupStruct {
cleanupStruct *next;
cleanupStruct ... | 22.055556 | 88 | 0.645916 | [
"object"
] |
ac82349efcfcfead167d2e2c2b8c77a58d0bd37f | 9,452 | cpp | C++ | src/LuaScripting/SystemLuaBindings.cpp | vividos/RemotePhotoTool | d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00 | [
"BSD-2-Clause"
] | 16 | 2015-03-26T02:32:43.000Z | 2021-10-18T16:34:31.000Z | src/LuaScripting/SystemLuaBindings.cpp | vividos/RemotePhotoTool | d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00 | [
"BSD-2-Clause"
] | 7 | 2019-02-21T06:07:09.000Z | 2022-01-01T10:00:50.000Z | src/LuaScripting/SystemLuaBindings.cpp | vividos/RemotePhotoTool | d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00 | [
"BSD-2-Clause"
] | 6 | 2019-05-07T09:21:15.000Z | 2021-09-01T06:36:24.000Z | //
// RemotePhotoTool - remote camera control software
// Copyright (C) 2008-2015 Michael Fink
//
/// \file SystemLuaBindings.cpp Lua bindings for system functionality
//
// includes
#include "stdafx.h"
#include "SystemLuaBindings.hpp"
#include "LuaScheduler.hpp"
#pragma warning(disable: 28159) // Consider using 'Get... | 32.4811 | 286 | 0.704824 | [
"object",
"vector"
] |
ac84ad494dd226bb158ae46f300bb6edfac6fa76 | 12,746 | cpp | C++ | src/VK/base/GBuffer.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | 1 | 2021-10-13T06:15:46.000Z | 2021-10-13T06:15:46.000Z | src/VK/base/GBuffer.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | null | null | null | src/VK/base/GBuffer.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "GBuffer.h"
#include "Helper.h"
#include <assert.h>
namespace CAULDRON_VK
{
void GBufferRenderPass::OnCreate(GBuffer *pGBuffer, GBufferFlags flags, bool bClear, const std::string &name)
{
m_flags = flags;
m_pGBuffer = pGBuffer;
m_pDevice = pGBuffer->GetDevic... | 36.417143 | 275 | 0.630865 | [
"render",
"vector"
] |
12bffd9a8ed96fcbfff9173ab049d621a806effc | 3,709 | cpp | C++ | Classes/PhysicsWorld.cpp | JLouhela/jumpy-demo | 8ccb6c98b42e38284eb9d1d884460ccb3c7b1629 | [
"MIT"
] | null | null | null | Classes/PhysicsWorld.cpp | JLouhela/jumpy-demo | 8ccb6c98b42e38284eb9d1d884460ccb3c7b1629 | [
"MIT"
] | null | null | null | Classes/PhysicsWorld.cpp | JLouhela/jumpy-demo | 8ccb6c98b42e38284eb9d1d884460ccb3c7b1629 | [
"MIT"
] | null | null | null | /// Copyright (c) 2019 Joni Louhela
///
/// 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... | 35.663462 | 88 | 0.682664 | [
"transform"
] |
12d31a65b74a76b0ae69bda129aef7a4de375977 | 781 | cpp | C++ | Two Pointers/pair_with_given_difference.cpp | zerocod3r/InterviewQuestions | 347383a405c4eac63552ab18e9a9104e4703db38 | [
"MIT"
] | 1 | 2017-11-18T17:02:32.000Z | 2017-11-18T17:02:32.000Z | Two Pointers/pair_with_given_difference.cpp | zerocod3r/InterviewQuestions | 347383a405c4eac63552ab18e9a9104e4703db38 | [
"MIT"
] | null | null | null | Two Pointers/pair_with_given_difference.cpp | zerocod3r/InterviewQuestions | 347383a405c4eac63552ab18e9a9104e4703db38 | [
"MIT"
] | 2 | 2017-08-25T08:42:34.000Z | 2019-02-18T08:42:48.000Z | // Given an one-dimensional unsorted array A containing N integers.
// You are also given an integer B, find if there exists a pair of elements in the array whose difference is B.
// Return 1 if any such pair exists else return 0.
// Example Input
// Input 1:
// A = [5, 10, 3, 2, 50, 80]
// B = 78
// Input 2:
//... | 18.162791 | 111 | 0.496799 | [
"vector"
] |
12d4a4251b23fb184ac855c1020c916e1e304660 | 11,943 | cc | C++ | lib/http/qttp/qttp.cc | adielyaacov/QttpServer | c547399fcd0353b1abe92950cb1dbb062d8f8cef | [
"MIT"
] | 114 | 2015-12-08T16:30:50.000Z | 2021-12-09T21:05:09.000Z | lib/http/qttp/qttp.cc | adielyaacov/QttpServer | c547399fcd0353b1abe92950cb1dbb062d8f8cef | [
"MIT"
] | 28 | 2016-11-04T05:09:02.000Z | 2019-09-05T05:56:40.000Z | lib/http/qttp/qttp.cc | adielyaacov/QttpServer | c547399fcd0353b1abe92950cb1dbb062d8f8cef | [
"MIT"
] | 44 | 2016-02-23T00:53:51.000Z | 2021-11-27T13:45:02.000Z | #include "qttp.h"
using namespace native;
using namespace native::http;
QttpUrl::QttpUrl() :
handle_(),
buf_()
{
}
QttpUrl::QttpUrl(const QttpUrl& c) :
handle_(c.handle_),
buf_(c.buf_)
{
}
QttpUrl& QttpUrl::operator =(const QttpUrl& c)
{
handle_ = c.handle_;
buf_ = c.buf_;
return *this;
}
QttpUrl::~Q... | 28.917676 | 146 | 0.51235 | [
"object"
] |
12d65e7aeb546c478c214ab56c847e346f556f8b | 1,753 | cpp | C++ | src/dropbox/team/TeamTeamMembershipType.cpp | slashdotted/dropboxQt | 63d43fa882cec8fb980a2aab2464a2d7260b8089 | [
"MIT"
] | 17 | 2016-12-03T09:12:29.000Z | 2020-06-20T22:08:44.000Z | src/dropbox/team/TeamTeamMembershipType.cpp | slashdotted/dropboxQt | 63d43fa882cec8fb980a2aab2464a2d7260b8089 | [
"MIT"
] | 8 | 2017-01-05T17:50:16.000Z | 2021-08-06T18:56:29.000Z | src/dropbox/team/TeamTeamMembershipType.cpp | slashdotted/dropboxQt | 63d43fa882cec8fb980a2aab2464a2d7260b8089 | [
"MIT"
] | 8 | 2017-09-13T17:28:40.000Z | 2020-07-27T00:41:44.000Z | /**********************************************************
DO NOT EDIT
This file was generated from stone specification "team"
Part of "Ardi - the organizer" project.
osoft4ardi@gmail.com
www.prokarpaty.net
***********************************************************/
#include "dropbox/team/TeamTeamMembershipType... | 25.042857 | 105 | 0.625214 | [
"object"
] |
12d8d32cc5b918f75bf7c477446e4904ea55390a | 13,727 | cpp | C++ | windows/APIExample/APIExample/Advanced/ReportInCall/CAgoraReportInCallDlg.cpp | voicemod/AgoraIO-API-Examples | e35b9581daa6cc0917d4be91a9eef3c909ac5890 | [
"MIT"
] | 178 | 2020-07-03T14:51:26.000Z | 2022-03-30T08:55:03.000Z | windows/APIExample/APIExample/Advanced/ReportInCall/CAgoraReportInCallDlg.cpp | voicemod/AgoraIO-API-Examples | e35b9581daa6cc0917d4be91a9eef3c909ac5890 | [
"MIT"
] | 74 | 2020-05-09T06:19:14.000Z | 2022-03-31T01:15:13.000Z | windows/APIExample/APIExample/Advanced/ReportInCall/CAgoraReportInCallDlg.cpp | voicemod/AgoraIO-API-Examples | e35b9581daa6cc0917d4be91a9eef3c909ac5890 | [
"MIT"
] | 164 | 2020-06-19T11:03:29.000Z | 2022-03-30T03:00:48.000Z | #include "stdafx.h"
#include "APIExample.h"
#include "CAgoraReportInCallDlg.h"
IMPLEMENT_DYNAMIC(CAgoraReportInCallDlg, CDialogEx)
CAgoraReportInCallDlg::CAgoraReportInCallDlg(CWnd* pParent /*=nullptr*/)
: CDialogEx(IDD_DIALOG_PEPORT_IN_CALL, pParent)
{
}
CAgoraReportInCallDlg::~CAgoraReportInCallDlg()
{
}
void... | 33.077108 | 156 | 0.78983 | [
"render"
] |
12dacdf1ecc0d648d4bfe906145e40e57ffafc8f | 2,481 | cpp | C++ | lightoj.com/GettingaT-shirt.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 6 | 2016-09-10T03:16:34.000Z | 2020-04-07T14:45:32.000Z | lightoj.com/GettingaT-shirt.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | null | null | null | lightoj.com/GettingaT-shirt.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 2 | 2018-08-11T20:55:35.000Z | 2020-01-15T23:23:11.000Z | /*
By: facug91
From: http://www.lightoj.com/volume_showproblem.php?problem=1176
Name: Getting a T-shirt
Date: 01/05/2015
*/
#include <bits/stdc++.h>
#define EPS 1e-9
#define DEBUG(x) cerr << "#" << (#x) << ": " << (x) << endl
const double PI = 2.0*acos(0.0);
#define INF 100... | 22.351351 | 133 | 0.504635 | [
"vector"
] |
12dc6dd33cd72ecfd1bcb95d0ff9789e40c7ff8d | 19,849 | cc | C++ | src/afw/cameraGeom/TransformMap.cc | DarkEnergySurvey/cosmicRays | 5c29bd9fc4a9f37e298e897623ec98fff4a8d539 | [
"NCSA"
] | null | null | null | src/afw/cameraGeom/TransformMap.cc | DarkEnergySurvey/cosmicRays | 5c29bd9fc4a9f37e298e897623ec98fff4a8d539 | [
"NCSA"
] | null | null | null | src/afw/cameraGeom/TransformMap.cc | DarkEnergySurvey/cosmicRays | 5c29bd9fc4a9f37e298e897623ec98fff4a8d539 | [
"NCSA"
] | null | null | null | // -*- lsst-c++ -*-
/*
* Developed for the LSST Data Management System.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
* for details of code ownership.
*
* This program is free software: you can red... | 41.010331 | 108 | 0.658572 | [
"vector",
"transform"
] |
12e29217f75aa53292c4ac29da5ed26a672ef45f | 20,243 | hpp | C++ | include/UnityEngine/TouchScreenKeyboard.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/UnityEngine/TouchScreenKeyboard.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/UnityEngine/TouchScreenKeyboard.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.IntPtr
#include "System/IntP... | 60.78979 | 289 | 0.761201 | [
"object",
"vector"
] |
12e46b4d8f896dc305fd81b9b2dcd1ab3090c6cb | 2,766 | cpp | C++ | aws-cpp-sdk-codeartifact/source/model/ResourceType.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-codeartifact/source/model/ResourceType.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-codeartifact/source/model/ResourceType.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/codeartifact/model/ResourceType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Uti... | 30.065217 | 92 | 0.600868 | [
"model"
] |
12e4a809e966044630ff9ff2a73692740349dcad | 503 | cpp | C++ | advent_of_code/2021/src/2103a.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 4 | 2018-06-05T14:15:52.000Z | 2022-02-08T05:14:23.000Z | advent_of_code/2021/src/2103a.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | null | null | null | advent_of_code/2021/src/2103a.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 1 | 2018-10-21T11:01:35.000Z | 2018-10-21T11:01:35.000Z | #include "common/stl/base.h"
#include "common/vector/read_all.h"
#include "common/vector/transform.h"
int main_2103a() {
auto vs = nvector::ReadAll<string>();
unsigned n = vs.size(), l = vs[0].size();
auto v = nvector::TransformV(vs, [](auto& s) { return stoi(s, nullptr, 2); });
unsigned x = 0;
for (unsigned... | 27.944444 | 80 | 0.534791 | [
"vector",
"transform"
] |
12e6f2e27ecb473a3ac5a67b649f364fba4ee6a0 | 2,364 | cpp | C++ | Juez/FAL36/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | Juez/FAL36/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | Juez/FAL36/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | // E81
// Yule Zhang
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
struct edificio {
string nombre;//nombre del dificio
int altura;//altura del edificio
int pisoAlto;//el piso mas alto que se alquila del edificio
};
bool... | 24.371134 | 96 | 0.553723 | [
"vector"
] |
12e79133c192b8a20d51b2fec8e9ffc958cbca46 | 361 | hpp | C++ | Lesson6/Activity01/Persons.hpp | mkkekkonen/AdvancedCpp | f29598fed3c30d090f9c6c93bb0409135ca1c32e | [
"MIT"
] | 30 | 2019-09-02T11:55:44.000Z | 2022-03-09T14:43:27.000Z | Lesson6/Activity01/Persons.hpp | animewasmistake/Advanced-CPlusPlus | b2ba3fc955b1dc0c617b0b2543fc82ad36573ff2 | [
"MIT"
] | null | null | null | Lesson6/Activity01/Persons.hpp | animewasmistake/Advanced-CPlusPlus | b2ba3fc955b1dc0c617b0b2543fc82ad36573ff2 | [
"MIT"
] | 24 | 2019-08-05T07:08:08.000Z | 2022-03-08T07:48:35.000Z | #ifndef PERSONS_HPP
#define PERSONS_HPP
#include "Person.hpp"
#include <mutex>
#include <vector>
class Persons
{
public:
Persons();
~Persons() = default;
void add(Person&& person);
Person get();
size_t size() const;
void removePerson();
private:
std::mutex m_Mutex;
std::vector<Person> ... | 13.884615 | 32 | 0.65097 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.