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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25984db9a2f434f3b34a1f915af022d828ec05c9 | 15,997 | cc | C++ | masstree/libs/cicada-engine/src/mica/test/test_atomics.cc | YSL-1997/DBx1000 | 1e2ecfd21316a09967a5420e31bd9d2a5f98fe2b | [
"0BSD"
] | 52 | 2017-06-17T01:54:46.000Z | 2022-03-22T10:45:37.000Z | masstree/libs/cicada-engine/src/mica/test/test_atomics.cc | YSL-1997/DBx1000 | 1e2ecfd21316a09967a5420e31bd9d2a5f98fe2b | [
"0BSD"
] | null | null | null | masstree/libs/cicada-engine/src/mica/test/test_atomics.cc | YSL-1997/DBx1000 | 1e2ecfd21316a09967a5420e31bd9d2a5f98fe2b | [
"0BSD"
] | 20 | 2017-07-12T13:25:30.000Z | 2021-08-25T01:54:51.000Z | #include <cstdio>
#include <thread>
#include "mica/util/lcore.h"
#include "mica/util/zipf.h"
#include "mica/util/stopwatch.h"
#include "mica/util/barrier.h"
#include "mica/util/memcpy.h"
enum class OpsType {
kRAW = 0,
kRAWF,
kFAA,
kAAF,
kCAS,
kTAS,
kRFAA,
kRCAS,
kHFAA,
kCCAS,
kMax,
};
static con... | 32.713701 | 80 | 0.569732 | [
"vector"
] |
2598b702f64c8fe529d0a484bcadca60cabde535 | 1,079 | hpp | C++ | include/Nazara/Utility/SoftwareBuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 11 | 2019-11-27T00:40:43.000Z | 2020-01-29T14:31:52.000Z | include/Nazara/Utility/SoftwareBuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 7 | 2019-11-27T00:29:08.000Z | 2020-01-08T18:53:39.000Z | include/Nazara/Utility/SoftwareBuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 7 | 2019-11-27T10:27:40.000Z | 2020-01-15T17:43:33.000Z | // Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_UTILITY_SOFTWAREBUFFER_HPP
#define NAZARA_UTILITY_SOFTWAREBUFFER_HPP
#include <Naza... | 28.394737 | 155 | 0.761816 | [
"vector"
] |
2598df03732a47addaa161e1bb0144f7684d2ba4 | 4,978 | cpp | C++ | graph_theory_advanced/edmonds_karp.cpp | helthazar/drawtex | b262060916782dd912660dac417f509a6d7a8c61 | [
"MIT"
] | null | null | null | graph_theory_advanced/edmonds_karp.cpp | helthazar/drawtex | b262060916782dd912660dac417f509a6d7a8c61 | [
"MIT"
] | null | null | null | graph_theory_advanced/edmonds_karp.cpp | helthazar/drawtex | b262060916782dd912660dac417f509a6d7a8c61 | [
"MIT"
] | null | null | null | #include "graph_theory_advanced.h"
void draw_edge_residual(int from, int to, string color, string dirr[MAXN][MAXN], int add) {
if (f[from][to] == c[from][to]) {
drawQ.removeEdgeWeighted(add + from, add + to);
return;
}
if (c[from][to] > 0) {
drawQ.addEdgeWeighted(add + from, add + t... | 34.331034 | 158 | 0.449377 | [
"vector"
] |
259f4465d1b6feb34be9220a66fc64bab6f4a2db | 1,727 | cpp | C++ | codeforces/D - Rescue Nibel!/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/D - Rescue Nibel!/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/D - Rescue Nibel!/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729# created: Sep/25/2020 14:22
* solution_verdict: Accepted language: GNU C++17
* run... | 23.986111 | 111 | 0.489867 | [
"vector"
] |
25a881dd3d48c1db66c4e82e9da8e1654f2d8706 | 4,874 | cpp | C++ | RobWork/src/rw/geometry/PointCloud.cpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | 1 | 2021-12-29T14:16:27.000Z | 2021-12-29T14:16:27.000Z | RobWork/src/rw/geometry/PointCloud.cpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | RobWork/src/rw/geometry/PointCloud.cpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | /********************************************************************************
* Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... | 36.373134 | 93 | 0.521543 | [
"mesh",
"geometry"
] |
25b28c27ab1d6f81647ade61ae90e27cd6d0ee69 | 2,388 | cpp | C++ | src/pattern_library/pattern_flicker.cpp | carlyrobison/Hell-Lighting | c7944e27d383bf5f5b5c1b6cd906ae7104314cd5 | [
"MIT"
] | 3 | 2017-09-25T00:21:28.000Z | 2019-02-25T16:36:13.000Z | src/pattern_library/pattern_flicker.cpp | carlyrobison/Hell-Lighting | c7944e27d383bf5f5b5c1b6cd906ae7104314cd5 | [
"MIT"
] | 26 | 2017-05-06T08:16:44.000Z | 2019-10-27T04:45:32.000Z | src/pattern_library/pattern_flicker.cpp | maxwells-daemons/Hell-Lighting | adae245d4858dfe36046625bba71ab4a685dabcc | [
"MIT"
] | 9 | 2017-05-06T08:09:21.000Z | 2019-10-25T03:50:47.000Z | #include "pattern_flicker.h"
void Pattern_Flicker::init() {
clearLEDs();
FastLED.setBrightness(BRIGHTNESS_MAX / 3);
for (int i = 0; i < lights_per_side; i++) {
countdowns_left[i] = random(0, map(analogRead(PIN_POT), 0, POT_MAX, 10, maxframes_wait));
countdowns_right[i] = random(0, map(analo... | 36.181818 | 106 | 0.501256 | [
"transform"
] |
25b9f729db300778a9c7918ca6d93e65b106a370 | 279,447 | cpp | C++ | GrenadePrediction.cpp | TurkOglu1655/ezglobal | 8a3187fba3bd7dd327d99f46c6e249ae4306614e | [
"Unlicense"
] | 3 | 2021-01-27T16:23:41.000Z | 2022-03-02T19:31:35.000Z | GrenadePrediction.cpp | 6959-5623-5969-5981-5556-5559-4122/ezglobal | 8a3187fba3bd7dd327d99f46c6e249ae4306614e | [
"Unlicense"
] | 1 | 2020-06-27T14:56:16.000Z | 2020-06-27T14:56:16.000Z | GrenadePrediction.cpp | 6959-5623-5969-5981-5556-5559-4122/ezglobal | 8a3187fba3bd7dd327d99f46c6e249ae4306614e | [
"Unlicense"
] | 2 | 2021-01-27T16:23:42.000Z | 2022-03-01T15:45:00.000Z | #include "GrenadePrediction.h"
#include "Render.h"
void grenade_prediction::Tick(int buttons)
{
if (!g_Options.Visuals.GrenadePrediction)
return;
bool in_attack = buttons & IN_ATTACK;
bool in_attack2 = buttons & IN_ATTACK2;
act = (in_attack && in_attack2) ? ACT_LOB :
(in_attack2) ? ACT_DROP :
(in_attack) ? A... | 215.622685 | 12,607 | 0.836023 | [
"render",
"object",
"vector"
] |
25c3b27f34cb879c49bfc579ab1ccbab36436af7 | 3,031 | cpp | C++ | src/LinkedList.cpp | peter2707/qwirkleM3-M4 | a1a6a0cd82faef18a93edbeff50e7283712e42d4 | [
"MIT"
] | null | null | null | src/LinkedList.cpp | peter2707/qwirkleM3-M4 | a1a6a0cd82faef18a93edbeff50e7283712e42d4 | [
"MIT"
] | null | null | null | src/LinkedList.cpp | peter2707/qwirkleM3-M4 | a1a6a0cd82faef18a93edbeff50e7283712e42d4 | [
"MIT"
] | null | null | null |
#include "LinkedList.h"
#include <stdexcept>
#include <iostream>
LinkedList::LinkedList() {
head = nullptr;
}
LinkedList::~LinkedList() {
clear();
}
LinkedList::LinkedList(LinkedList& other){
head = nullptr;
for(int i = 0; i < other.size(); ++i){
std::shared_ptr<Tile> tile = std::make_shared<Tile>(*... | 18.709877 | 84 | 0.576707 | [
"shape"
] |
25c4b076349dceaf525e5d0a44f0a8183964c5f3 | 6,552 | cc | C++ | test/low_example/low_example.cc | lightsighter/LegionOrigins | 0180bb3a8ee6efd0d2efdb743f75d3fba86f18f7 | [
"Apache-2.0"
] | 2 | 2021-11-10T06:29:39.000Z | 2021-11-14T20:56:13.000Z | test/low_example/low_example.cc | lightsighter/LegionOrigins | 0180bb3a8ee6efd0d2efdb743f75d3fba86f18f7 | [
"Apache-2.0"
] | null | null | null | test/low_example/low_example.cc | lightsighter/LegionOrigins | 0180bb3a8ee6efd0d2efdb743f75d3fba86f18f7 | [
"Apache-2.0"
] | null | null | null |
#include <cstdio>
#include <cstdlib>
#include <cassert>
#include <cstring>
#include <time.h>
#include "lowlevel.h"
#define NUM_ELEMENTS 128
using namespace RegionRuntime::LowLevel;
// Task IDs, some IDs are reserved so start at first available number
enum {
TOP_LEVEL_TASK = Processor::TASK_ID_FIRST_AVAILABLE+0,... | 37.227273 | 97 | 0.719933 | [
"object",
"vector"
] |
25c4cf137e29be833acb830d88243a0c193ebd8e | 14,148 | cpp | C++ | eosio.amend/src/eosio.amend.cpp | CALEOS/eosio.contracts | 07b7401f9518794deaff74d6f9547667575f3fcc | [
"MIT"
] | null | null | null | eosio.amend/src/eosio.amend.cpp | CALEOS/eosio.contracts | 07b7401f9518794deaff74d6f9547667575f3fcc | [
"MIT"
] | null | null | null | eosio.amend/src/eosio.amend.cpp | CALEOS/eosio.contracts | 07b7401f9518794deaff74d6f9547667575f3fcc | [
"MIT"
] | null | null | null | #include <eosio.amend.hpp>
#include <eosiolib/symbol.hpp>
#include <eosiolib/print.hpp>
ratifyamend::ratifyamend(name self, name code, datastream<const char*> ds) : contract(self, code, ds), configs(self, self.value) {
if (!configs.exists()) {
configs_struct = config{
_self, //publisher
... | 38.550409 | 157 | 0.676703 | [
"vector"
] |
5adc571748a3276b1b0d32dcd21e1ac8d17a8feb | 2,451 | cpp | C++ | patbasic/test1058.cpp | neild47/PATBasic | 6215232750aa62cf406eb2a9f9c9a6d7c3850339 | [
"MIT"
] | null | null | null | patbasic/test1058.cpp | neild47/PATBasic | 6215232750aa62cf406eb2a9f9c9a6d7c3850339 | [
"MIT"
] | null | null | null | patbasic/test1058.cpp | neild47/PATBasic | 6215232750aa62cf406eb2a9f9c9a6d7c3850339 | [
"MIT"
] | null | null | null | //
// Created by neild47 on 18-4-29.
//
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class Question {
public:
int id;
int count;
int mark;
vector<char> ans;
Question(int id, int mark) : id(id), count(0), mark(mark) {
}
bool operator<(Question &other) {... | 24.757576 | 94 | 0.394941 | [
"vector"
] |
5aeab387ce5185239985937780f73f509424d823 | 1,457 | hpp | C++ | dsrg/caffe/include/caffe/layers/sp_agg_layer.hpp | yaoqi-zd/SGAN | 43d8a859b03967e2423a73ef1ba332ee71714ba4 | [
"MIT"
] | 48 | 2020-02-19T02:31:30.000Z | 2021-12-24T23:58:13.000Z | dsrg/caffe/include/caffe/layers/sp_agg_layer.hpp | yaoqi-zd/SGAN | 43d8a859b03967e2423a73ef1ba332ee71714ba4 | [
"MIT"
] | 16 | 2020-02-28T14:56:58.000Z | 2021-07-05T09:35:10.000Z | dsrg/caffe/include/caffe/layers/sp_agg_layer.hpp | yaoqi-zd/SGAN | 43d8a859b03967e2423a73ef1ba332ee71714ba4 | [
"MIT"
] | 12 | 2020-01-14T15:46:11.000Z | 2021-12-17T08:57:07.000Z | #ifndef CAFFE_SP_AGG_LAYER
#define CAFFE_SP_AGG_LAYER
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
/* Superpixel aggregation layer, compute mean feature in a superpixel
bottom[0]: fc8 (N, 21, 41, 41)
bottom[1]: sp (N, 1, 41, 41)
... | 30.354167 | 78 | 0.701441 | [
"vector"
] |
5aeab5739c286e26369e42dd17db75397e8de4ed | 520 | cpp | C++ | graph/k_shortest_walk/gen/loop.cpp | tko919/library-checker-problems | 007a3ef79d1a1824e68545ab326d1523d9c05262 | [
"Apache-2.0"
] | 290 | 2019-06-06T22:20:36.000Z | 2022-03-27T12:45:04.000Z | graph/k_shortest_walk/gen/loop.cpp | tko919/library-checker-problems | 007a3ef79d1a1824e68545ab326d1523d9c05262 | [
"Apache-2.0"
] | 536 | 2019-06-06T18:25:36.000Z | 2022-03-29T11:46:36.000Z | graph/k_shortest_walk/gen/loop.cpp | tko919/library-checker-problems | 007a3ef79d1a1824e68545ab326d1523d9c05262 | [
"Apache-2.0"
] | 82 | 2019-06-06T18:17:55.000Z | 2022-03-21T07:40:31.000Z | #include <iostream>
#include <vector>
#include "random.h"
#include "../params.h"
using namespace std;
int main(int, char* argv[]) {
long long seed = atoll(argv[1]);
auto gen = Random(seed);
int n = N_AND_M_MAX;
int m = n;
int k = K_MAX;
vector<int> v(n);
for (int i = 0; i < n; i++)v[i]=i;
gen.shuffle(v.b... | 21.666667 | 47 | 0.538462 | [
"vector"
] |
5aec994706c13e9d65a6ad4f2780a8cb5ebaef11 | 15,157 | cpp | C++ | Source/RuntimeEditor/CLightMap.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 3 | 2019-04-12T15:22:53.000Z | 2022-01-05T02:59:56.000Z | Source/RuntimeEditor/CLightMap.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | null | null | null | Source/RuntimeEditor/CLightMap.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 2 | 2019-04-10T22:46:21.000Z | 2020-05-27T16:21:37.000Z | #if 0
#include "CLightMap.h"
#include "IPhysicsStrategy.h"
#include "CPhysicsManager.h"
#include "PhysicsStructures.h"
#include "OgrePass.h"
#include "OgreMaterial.h"
#include "OgreTechnique.h"
#include "OgreSubMesh.h"
#include "OgreSubEntity.h"
#include "OgreStringConverter.h"
#include "OgreTextureManager.h"
#include... | 33.166302 | 128 | 0.619978 | [
"vector"
] |
5aeeb1231917bcffb7a5e742ab24cabddcb11ae4 | 1,788 | hpp | C++ | libs/scenic/include/sge/scenic/render_context/light/object.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/scenic/include/sge/scenic/render_context/light/object.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/scenic/include/sge/scenic/render_context/light/object.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_SCENIC_RENDER_CONTEXT_LIGHT_OBJECT_HPP_INCLUDED
#define SGE_SCENIC_RENDER_CONTEXT_LIGHT... | 35.058824 | 92 | 0.776846 | [
"object"
] |
5afcea06117dfec96a57ca86e2b6f2c3c615677a | 4,953 | cpp | C++ | Libraries/RobsJuceModules/rapt/Generators/VariousOscillators.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/rapt/Generators/VariousOscillators.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/rapt/Generators/VariousOscillators.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z |
template<class T>
void rsTriSawOscillator<T>::updateTriSawCoeffs()
{
//// range variables - make settable members later:
//T min = -1;
//T max = +1;
//// hmm...but actually we need them to be -1 and 1 because the waveshaping expects its input in
//// this range - if the range should really be different we m... | 33.241611 | 100 | 0.59782 | [
"shape"
] |
5afeb30bd545e715484904a8d4ca55af6ee6188c | 4,357 | cpp | C++ | VkCommandBufferBeginInfo.cpp | blockchainhelppro/Segwit-Development- | e4dfe990a69a2a1fcdd902b82121c2ecb1aa332d | [
"MIT"
] | null | null | null | VkCommandBufferBeginInfo.cpp | blockchainhelppro/Segwit-Development- | e4dfe990a69a2a1fcdd902b82121c2ecb1aa332d | [
"MIT"
] | null | null | null | VkCommandBufferBeginInfo.cpp | blockchainhelppro/Segwit-Development- | e4dfe990a69a2a1fcdd902b82121c2ecb1aa332d | [
"MIT"
] | null | null | null | /*
* MACHINE GENERATED, DO NOT EDIT
* GENERATED BY node-vulkan v0.0.1
*/
#include "utils.h"
#include "index.h"
#include "VkCommandBufferBeginInfo.h"
Nan::Persistent<v8::FunctionTemplate> _VkCommandBufferBeginInfo::constructor;
_VkCommandBufferBeginInfo::_VkCommandBufferBeginInfo() {
instance.sType = VK_STRUCTURE... | 44.459184 | 125 | 0.735368 | [
"object"
] |
5aff2a1dd1f5bdd0e2206cac11d51c3476367076 | 956 | cpp | C++ | LeetCode/1476_Subrectangle_Queries/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 1 | 2020-07-08T23:16:19.000Z | 2020-07-08T23:16:19.000Z | LeetCode/1476_Subrectangle_Queries/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 1 | 2020-05-16T03:12:24.000Z | 2020-05-16T03:14:42.000Z | LeetCode/1476_Subrectangle_Queries/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 2 | 2020-05-16T03:25:16.000Z | 2021-02-10T16:51:25.000Z | /**
* Runtime: 44 ms, faster than 77.36% of C++ online submissions for Subrectangle Queries.
* Memory Usage: 18.6 MB, less than 60.12% of C++ online submissions for Subrectangle Queries.
*/
class SubrectangleQueries {
public:
vector<vector<int>> rectangle;
SubrectangleQueries(vector<vector<int>>& rectangle) {
... | 30.83871 | 93 | 0.628661 | [
"object",
"vector"
] |
5affcef8a053543b0f0eb273ddfc8c388797e40c | 76,350 | cpp | C++ | HoloLens/MyBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs8.cpp | gianluca-m/SeeingTemperature | 743e10e75ce0aeaea580c022f24cbe3605c029c2 | [
"Apache-2.0"
] | 1 | 2022-01-17T10:26:15.000Z | 2022-01-17T10:26:15.000Z | HoloLens/MyBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs8.cpp | gianluca-m/SeeingTemperature | 743e10e75ce0aeaea580c022f24cbe3605c029c2 | [
"Apache-2.0"
] | null | null | null | HoloLens/MyBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs8.cpp | gianluca-m/SeeingTemperature | 743e10e75ce0aeaea580c022f24cbe3605c029c2 | [
"Apache-2.0"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
// System.Collections.Generic.IEqualityComparer`1<System.Xml.IDtdEntityInfo>
struct IEqualityComparer_1_t7F8A06A807BFE349DA2C13... | 48.754789 | 266 | 0.823484 | [
"object"
] |
850568c3344ccedae76ce76486aabb229898c088 | 1,068 | cpp | C++ | src/process.cpp | ibrahimsalem87/CppND-System-Monitor-Project-Updated | 90c120f746d7d9f4159273168b37f3b1f88faefc | [
"MIT"
] | null | null | null | src/process.cpp | ibrahimsalem87/CppND-System-Monitor-Project-Updated | 90c120f746d7d9f4159273168b37f3b1f88faefc | [
"MIT"
] | null | null | null | src/process.cpp | ibrahimsalem87/CppND-System-Monitor-Project-Updated | 90c120f746d7d9f4159273168b37f3b1f88faefc | [
"MIT"
] | null | null | null | #include "process.h"
#include <unistd.h>
#include <cctype>
#include <sstream>
#include <string>
#include <vector>
using std::string;
using std::to_string;
using std::vector;
Process::Process(int pid_) : pid(pid_) {}
// DONE: Return this process's ID
int Process::Pid() { return this->pid; }
// DONE: Return this pr... | 28.864865 | 95 | 0.722846 | [
"vector"
] |
85097a22969728d97a86b0a7f6efc714a5734757 | 9,904 | cpp | C++ | Samples/Win7Samples/multimedia/mediafoundation/MFPlayer2/AudioSessionVolume.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/multimedia/mediafoundation/MFPlayer2/AudioSessionVolume.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/multimedia/mediafoundation/MFPlayer2/AudioSessionVolume.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | //------------------------------------------------------------------------------
//
// Manages the audio session.
//
// The CAudioSessionVolume class performs two functions:
//
// - Enables the application to set the volume on the audio session that
// MFPlay uses for audio playback.
//
// - Notifies the app... | 25.525773 | 84 | 0.505856 | [
"object"
] |
851dde7b0b64d4aaa889a0dcfe67a1f1cc4d5fdf | 8,128 | hpp | C++ | src/simple_graph/graph.hpp | sfod/simple-graph | b07ac266296f44238ee02f7cc1042f079f4eac9d | [
"MIT"
] | 1 | 2016-01-25T09:54:38.000Z | 2016-01-25T09:54:38.000Z | src/simple_graph/graph.hpp | sfod/simple-graph | b07ac266296f44238ee02f7cc1042f079f4eac9d | [
"MIT"
] | 1 | 2019-04-08T10:40:00.000Z | 2019-04-08T10:40:00.000Z | src/simple_graph/graph.hpp | sfod/simple-graph | b07ac266296f44238ee02f7cc1042f079f4eac9d | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <set>
#include <vector>
#include <gsl/gsl>
// TODO use move semantics
namespace simple_graph {
typedef gsl::index vertex_index_t;
/**
* Graph vertex.
*
* @tparam T Typename for vertex data.
*/
template<typename T>
class Vertex {
public:
Vertex() : idx_(-1), data_() ... | 26.135048 | 148 | 0.606791 | [
"vector"
] |
851e9f0c5bff0c8edcbee6e09103ca647b26869f | 13,450 | cpp | C++ | src/Loaders/ObjMesh.cpp | flashpoint493/AyaRay | 96a7c90ad908468084cb339d4adf3638b750ee82 | [
"MIT"
] | 1 | 2020-08-03T05:58:27.000Z | 2020-08-03T05:58:27.000Z | src/Loaders/ObjMesh.cpp | flashpoint493/AyaRay | 96a7c90ad908468084cb339d4adf3638b750ee82 | [
"MIT"
] | null | null | null | src/Loaders/ObjMesh.cpp | flashpoint493/AyaRay | 96a7c90ad908468084cb339d4adf3638b750ee82 | [
"MIT"
] | null | null | null | #include "ObjMesh.h"
namespace Aya {
void ObjMesh::parserFramework(const char *filename, std::function<void(char*, char*)> callback) {
int cmd_len, header_len;
char command[AYA_MAX_PATH], cmd_header[AYA_MAX_PATH];
FILE *fp;
fopen_s(&fp, filename, "rt");
assert(fp);
#define FREAD_BUF_SIZE 131072
char buf... | 28.435518 | 105 | 0.593457 | [
"vector"
] |
851fd53fad047c632040cd4ce87639deaf5e485b | 6,209 | hpp | C++ | src/locking_concurrent_streambuf.hpp | liquidum-network/chiapos | 899be669838fbe59307e37be52fdb94ecb1f121f | [
"Apache-2.0"
] | 2 | 2021-07-15T02:32:07.000Z | 2021-07-19T19:43:40.000Z | src/locking_concurrent_streambuf.hpp | liquidum-network/chiapos | 899be669838fbe59307e37be52fdb94ecb1f121f | [
"Apache-2.0"
] | null | null | null | src/locking_concurrent_streambuf.hpp | liquidum-network/chiapos | 899be669838fbe59307e37be52fdb94ecb1f121f | [
"Apache-2.0"
] | 1 | 2021-07-14T20:29:32.000Z | 2021-07-14T20:29:32.000Z | #pragma once
#include <cassert>
#include <chrono>
#include <condition_variable>
#include <ios>
#include <mutex>
#include <streambuf>
#include <utility>
#include <vector>
#include "aws_async.hpp"
#include "logging.hpp"
#ifndef LogBufState
#define LogBufState(where) SPDLOG_TRACE(StateString(std::move(where)))
#endif ... | 32.170984 | 97 | 0.62039 | [
"vector"
] |
8522a45b041a07a622ea08a39db20b281310edea | 7,909 | hpp | C++ | include/seqan3/alignment/matrix/alignment_trace_matrix.hpp | Clemapfel/seqan3 | 7114024ccaa883364d47f9335d6b19525a1fa7a9 | [
"BSD-3-Clause"
] | null | null | null | include/seqan3/alignment/matrix/alignment_trace_matrix.hpp | Clemapfel/seqan3 | 7114024ccaa883364d47f9335d6b19525a1fa7a9 | [
"BSD-3-Clause"
] | null | null | null | include/seqan3/alignment/matrix/alignment_trace_matrix.hpp | Clemapfel/seqan3 | 7114024ccaa883364d47f9335d6b19525a1fa7a9 | [
"BSD-3-Clause"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 38.207729 | 141 | 0.673663 | [
"vector"
] |
85446090e652d60ed6e1fd21390011b3ca1b0dc6 | 40,894 | cc | C++ | src/sglib/processors/LinkageUntangler.cc | BenJWard/sg | 397924c8346981a6d4726c9cac7bc9c1b623c6fb | [
"MIT"
] | null | null | null | src/sglib/processors/LinkageUntangler.cc | BenJWard/sg | 397924c8346981a6d4726c9cac7bc9c1b623c6fb | [
"MIT"
] | null | null | null | src/sglib/processors/LinkageUntangler.cc | BenJWard/sg | 397924c8346981a6d4726c9cac7bc9c1b623c6fb | [
"MIT"
] | null | null | null | //
// Created by Bernardo Clavijo (EI) on 28/05/2018.
//
#include "LinkageUntangler.hpp"
#include "GraphEditor.hpp"
class KmerMapCreator : public KMerFactory {
public:
explicit KmerMapCreator(uint8_t k) : KMerFactory(k){}
inline void create_all_kmers(const char * seq, std::unordered_map<uint64_t,uint32_t> &m... | 43.877682 | 233 | 0.541351 | [
"vector"
] |
855385c98cbae7f9d772a3ac9068e350b7e4e35c | 3,636 | hpp | C++ | src/cmd/kits/util/RandomBase.hpp | lslersch/zero | ab779235f3c3bf58d6a3aa9d2a0a5296578ee498 | [
"Spencer-94"
] | 27 | 2015-04-21T08:52:37.000Z | 2022-03-18T03:38:58.000Z | src/cmd/kits/util/RandomBase.hpp | lslersch/zero | ab779235f3c3bf58d6a3aa9d2a0a5296578ee498 | [
"Spencer-94"
] | 24 | 2015-07-04T10:45:41.000Z | 2018-05-03T08:52:36.000Z | include/Lintel/RandomBase.hpp | sbu-fsl/Lintel | b9e603aaec630c8d3fae2f21fc156582d11d84c9 | [
"BSD-3-Clause"
] | 15 | 2015-03-31T09:57:10.000Z | 2021-06-09T13:44:58.000Z | #ifndef LINTEL_RANDOM_BASE_HPP
#define LINTEL_RANDOM_BASE_HPP
#include <stdint.h>
#include <vector>
#ifndef UINT32_MAX
#define UINT32_MAX (0xFFFFFFF)
#endif
namespace lintel {
template <class R>
class RandomTempl : public R{
public:
RandomTempl(uint32_t seed = 0) : R(seed), boolShift(0), boolS... | 30.813559 | 99 | 0.531903 | [
"vector"
] |
8558e36c22143799f009fbf0406f354632ee5f85 | 2,471 | cpp | C++ | Source/Core/RenderAPI/VulkanAPI/Interface/ShaderVk.cpp | Cube219/CubeEngine_old2 | d251d540a4fdbc993ec5c9183eb30ac4dc81d5be | [
"MIT"
] | null | null | null | Source/Core/RenderAPI/VulkanAPI/Interface/ShaderVk.cpp | Cube219/CubeEngine_old2 | d251d540a4fdbc993ec5c9183eb30ac4dc81d5be | [
"MIT"
] | null | null | null | Source/Core/RenderAPI/VulkanAPI/Interface/ShaderVk.cpp | Cube219/CubeEngine_old2 | d251d540a4fdbc993ec5c9183eb30ac4dc81d5be | [
"MIT"
] | null | null | null | #include "ShaderVk.h"
#include "DeviceVk.h"
#include "../VulkanTypeConversion.h"
#include "../Tools/GLSLTool.h"
#include "EngineCore/Assertion.h"
namespace cube
{
namespace render
{
ShaderVk::ShaderVk(DeviceVk& device, const ShaderAttribute& attr) :
Shader(attr),
mEntryPoint(attr.entryPoint)
{
switch(... | 33.849315 | 107 | 0.74221 | [
"geometry",
"render"
] |
856377248592cb23351bbbb6801ee947d6031d4f | 1,505 | cpp | C++ | acmicpc.net/BurritoKing.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 6 | 2016-09-10T03:16:34.000Z | 2020-04-07T14:45:32.000Z | acmicpc.net/BurritoKing.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | null | null | null | acmicpc.net/BurritoKing.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 2 | 2018-08-11T20:55:35.000Z | 2020-01-15T23:23:11.000Z | /*
By: facug91
From: https://www.acmicpc.net/problem/10590
Name: Burrito King
Date: 27/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 1000000000
//#define MOD 1... | 25.948276 | 132 | 0.542193 | [
"vector"
] |
8564786515fc39337b58e9ebdefed7b4bc1a8932 | 8,421 | cpp | C++ | src/meta/test/copy_replica_operation_test.cpp | acelyc111/rdsn | 298769147750167949af800b96d5b9dcdfab0aeb | [
"MIT"
] | 149 | 2017-10-16T03:24:58.000Z | 2022-03-25T02:29:13.000Z | src/meta/test/copy_replica_operation_test.cpp | acelyc111/rdsn | 298769147750167949af800b96d5b9dcdfab0aeb | [
"MIT"
] | 297 | 2017-10-19T03:23:34.000Z | 2022-03-17T08:00:12.000Z | src/meta/test/copy_replica_operation_test.cpp | acelyc111/rdsn | 298769147750167949af800b96d5b9dcdfab0aeb | [
"MIT"
] | 63 | 2017-10-19T01:55:27.000Z | 2022-03-09T11:09:00.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 may... | 30.733577 | 91 | 0.684479 | [
"vector"
] |
8573892c9ef23e590a887097e229850d4c384d95 | 8,261 | cpp | C++ | Samples/Win7Samples/winui/WindowsRibbon/Gallery/CPP/ShapeHandler.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/winui/WindowsRibbon/Gallery/CPP/ShapeHandler.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/winui/WindowsRibbon/Gallery/CPP/ShapeHandler.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
#include "ShapeHand... | 29.503571 | 117 | 0.587096 | [
"shape"
] |
8578ad6c2bdfc1fcfaf43afcae4f5af28d209cc9 | 7,459 | hxx | C++ | planners/lapkt-public/include/aptk/gbfs_f_local/src/brfs.hxx | miquelramirez/aamas18-planning-for-transparency | dff3e635102bf351906807c5181113fbf4b67083 | [
"MIT"
] | null | null | null | planners/lapkt-public/include/aptk/gbfs_f_local/src/brfs.hxx | miquelramirez/aamas18-planning-for-transparency | dff3e635102bf351906807c5181113fbf4b67083 | [
"MIT"
] | null | null | null | planners/lapkt-public/include/aptk/gbfs_f_local/src/brfs.hxx | miquelramirez/aamas18-planning-for-transparency | dff3e635102bf351906807c5181113fbf4b67083 | [
"MIT"
] | null | null | null | /*
Lightweight Automated Planning Toolkit
Copyright (C) 2012
Miquel Ramirez <miquel.ramirez@rmit.edu.au>
Nir Lipovetzky <nirlipo@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either vers... | 24.139159 | 172 | 0.626357 | [
"vector"
] |
857ab2e82e544014348c48c2f4341df42d841b49 | 726 | hpp | C++ | include/RED4ext/Types/generated/quest/SetTier_NodeType.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/quest/SetTier_NodeType.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/quest/SetTier_NodeType.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Types/generated/GameplayTier.hpp>
#include <RED4ext/Types/generated/quest/ISceneManagerNodeType.hpp>
namespace RED4ext
{
namespace quest {
struct S... | 25.928571 | 66 | 0.746556 | [
"3d"
] |
857cd438f11343f5b16c6041abbed6337f1c9c50 | 3,492 | cc | C++ | aegis/src/model/DescribeVulLevelStatisticsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | aegis/src/model/DescribeVulLevelStatisticsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | aegis/src/model/DescribeVulLevelStatisticsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 37.956522 | 121 | 0.752291 | [
"vector",
"model"
] |
857e8f82f8599963b9776259cb1fef168bc0e771 | 2,279 | hpp | C++ | lib/RayTracer/Rendering/Primitives/Shape.hpp | ei06125/ray-tracer-challenge | 54475def8c6f82c3559871f7fce00248128bb5ba | [
"MIT"
] | null | null | null | lib/RayTracer/Rendering/Primitives/Shape.hpp | ei06125/ray-tracer-challenge | 54475def8c6f82c3559871f7fce00248128bb5ba | [
"MIT"
] | null | null | null | lib/RayTracer/Rendering/Primitives/Shape.hpp | ei06125/ray-tracer-challenge | 54475def8c6f82c3559871f7fce00248128bb5ba | [
"MIT"
] | null | null | null | #pragma once
#include "RayTracerPCH.hpp"
#include "RayTracer/Math/Matrix.hpp"
#include "RayTracer/Math/Tuple.hpp"
#include "RayTracer/Rendering/Lighting/Intersection.hpp"
#include "RayTracer/Rendering/Materials/Material.hpp"
namespace RayTracer {
namespace Rendering {
namespace Primitives {
using namespace Materials... | 25.897727 | 80 | 0.727951 | [
"shape"
] |
3fedd277cfc6939c5c3e279bb8546dc71bdb3675 | 1,994 | cpp | C++ | problemsets/Codejam/2009/ROUND 1B 2009/PB/PB.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Codejam/2009/ROUND 1B 2009/PB/PB.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Codejam/2009/ROUND 1B 2009/PB/PB.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>... | 23.738095 | 87 | 0.592277 | [
"vector"
] |
3fee38cd884646e9d41cc05e4f5c8904caca6c52 | 5,849 | hh | C++ | src/libws_diff/stringCompare.hh | isabella232/mod_dup | 531382c8baeaa6781ddd1cfe4748b2dd0dbf328c | [
"Apache-2.0"
] | 16 | 2015-07-17T15:50:38.000Z | 2022-02-14T23:01:07.000Z | src/libws_diff/stringCompare.hh | Orange-OpenSource/mod_dup | 531382c8baeaa6781ddd1cfe4748b2dd0dbf328c | [
"Apache-2.0"
] | 4 | 2016-04-19T20:27:04.000Z | 2018-02-21T11:48:05.000Z | src/libws_diff/stringCompare.hh | isabella232/mod_dup | 531382c8baeaa6781ddd1cfe4748b2dd0dbf328c | [
"Apache-2.0"
] | 5 | 2015-01-26T14:49:47.000Z | 2021-06-22T09:59:11.000Z | /*
* StringCompare.h
*
* Created on: 23 janv. 2014
* Author: cvallee
*/
#pragma once
#include <vector>
#include <boost/regex.hpp>
#include "DiffPrinter/diffPrinter.hh"
typedef std::vector<boost::regex> tRegexes;
typedef std::vector<std::string> tStrings;
namespace LibWsDiff {
/**
* BasicCompare class
... | 29.841837 | 119 | 0.71773 | [
"vector"
] |
3ff1e545d35397d5a999b80847ffec02f4c4cf48 | 20,308 | cpp | C++ | apps/loader_utils/scene_mgr.cpp | Ray-Tracing-Systems/kernel_slicer | 3a7a5350fcacc98c1d797f55a0d13e34d06e7e96 | [
"MIT"
] | 5 | 2020-10-29T18:00:14.000Z | 2021-07-08T14:20:41.000Z | apps/loader_utils/scene_mgr.cpp | Ray-Tracing-Systems/kernel_slicer | 3a7a5350fcacc98c1d797f55a0d13e34d06e7e96 | [
"MIT"
] | 1 | 2021-08-11T16:14:43.000Z | 2021-08-25T16:45:36.000Z | apps/loader_utils/scene_mgr.cpp | Ray-Tracing-Systems/kernel_slicer | 3a7a5350fcacc98c1d797f55a0d13e34d06e7e96 | [
"MIT"
] | 1 | 2021-11-17T19:10:34.000Z | 2021-11-17T19:10:34.000Z | #include <map>
#include <array>
#include "scene_mgr.h"
#include "vk_utils.h"
#include "vk_buffers.h"
#include "../loader_utils/hydraxml.h"
#include <ray_tracing/vk_rt_funcs.h>
VkTransformMatrixKHR transformMatrixFromFloat4x4(const LiteMath::float4x4 &m)
{
VkTransformMatrixKHR transformMatrix;
for (int i = 0; i < 3... | 38.681905 | 149 | 0.734243 | [
"mesh",
"geometry",
"vector",
"transform"
] |
3ff50d9151c79aa32cc989e331f0d8cafb6da59b | 638 | cpp | C++ | character-state-manager/utils.cpp | neetjn/character-state-manager | b14df0d1ff9b84ad25289072a0f8f8604d100287 | [
"MIT"
] | 1 | 2017-09-01T02:18:08.000Z | 2017-09-01T02:18:08.000Z | character-state-manager/utils.cpp | neetVeritas/character-state-manager | b14df0d1ff9b84ad25289072a0f8f8604d100287 | [
"MIT"
] | null | null | null | character-state-manager/utils.cpp | neetVeritas/character-state-manager | b14df0d1ff9b84ad25289072a0f8f8604d100287 | [
"MIT"
] | 2 | 2018-02-03T22:34:14.000Z | 2019-01-10T21:44:31.000Z | #include "utils.h"
void utils::replace_string(std::string &subject, const std::string &search, const std::string &replace)
{
size_t pos = 0;
while ((pos = subject.find(search, pos)) != std::string::npos)
{
subject.replace(pos, search.length(), replace);
pos += replace.length();
}
}
std::vector<unsig... | 21.266667 | 103 | 0.644201 | [
"vector"
] |
3ff54a9b01684aa5c6adf0b680f9a6d1d9dbd7af | 1,016 | hpp | C++ | csv_lib/include/cl/read_csv_file.hpp | CppPhil/fix_mogasens_csv | eedfe3037c1bd626f81a40073bd616b58d6ba677 | [
"Unlicense"
] | null | null | null | csv_lib/include/cl/read_csv_file.hpp | CppPhil/fix_mogasens_csv | eedfe3037c1bd626f81a40073bd616b58d6ba677 | [
"Unlicense"
] | null | null | null | csv_lib/include/cl/read_csv_file.hpp | CppPhil/fix_mogasens_csv | eedfe3037c1bd626f81a40073bd616b58d6ba677 | [
"Unlicense"
] | null | null | null | #ifndef INCG_CL_READ_CSV_FILE_HPP
#define INCG_CL_READ_CSV_FILE_HPP
#include <string>
#include <vector>
#include <pl/string_view.hpp>
#include "cl/error.hpp"
namespace cl {
/*!
* \brief Scoped enum for the CSV file kinds.
**/
enum class CsvFileKind {
Raw, /*!< A raw CSV file */
Fixed /*!< A CSV file that's be... | 29.882353 | 76 | 0.676181 | [
"vector"
] |
b2075e0afda3cfc73e6bc8f407e54a6727b18851 | 1,530 | cpp | C++ | Study Material/ArabicCompetitiveProgramming-master/04 Math/Combinatorial_Game_Theory_02_Game_of_Nim.cpp | mohamedGamalAbuGalala/Practice | 2a5fa3bdaf995d0c304f04231e1a69e6960f72c8 | [
"MIT"
] | 1 | 2019-12-19T06:51:20.000Z | 2019-12-19T06:51:20.000Z | Study Material/ArabicCompetitiveProgramming-master/04 Math/Combinatorial_Game_Theory_02_Game_of_Nim.cpp | mohamedGamalAbuGalala/Practice | 2a5fa3bdaf995d0c304f04231e1a69e6960f72c8 | [
"MIT"
] | null | null | null | Study Material/ArabicCompetitiveProgramming-master/04 Math/Combinatorial_Game_Theory_02_Game_of_Nim.cpp | mohamedGamalAbuGalala/Practice | 2a5fa3bdaf995d0c304f04231e1a69e6960f72c8 | [
"MIT"
] | null | null | null | /*
*
* Created on: Oct 29, 2016
* Author: mostafa saad
*
*/
#include <iostream>
#include <cmath>
#include <complex>
#include <cassert>
#include <bits/stdc++.h>
using namespace std;
#define all(v) ((v).begin()), ((v).end())
#define sz(v) ((int)((v).size()))
#define clr(v, d) memset(v, d, si... | 22.835821 | 101 | 0.513072 | [
"vector"
] |
b209644e74b5336f37fd167a470b01d2af6e2148 | 11,657 | cxx | C++ | EVE/EveDet/AliEveITSScaledModule.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | EVE/EveDet/AliEveITSScaledModule.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | EVE/EveDet/AliEveITSScaledModule.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | // $Id$
// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
/**************************************************************************
* Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
* See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
* full copyright notic... | 26.020089 | 109 | 0.557948 | [
"3d"
] |
b209d92685f465d042b4c289d29ee006e8dde0af | 4,224 | cpp | C++ | Framework/PVRApi/Vulkan/BufferVk.cpp | kusharami/PowerVR_Native_SDK | 41557a911316126417ce4c92f1b89396f24f39d6 | [
"MIT"
] | 13 | 2017-07-24T05:12:53.000Z | 2021-06-12T15:35:40.000Z | Framework/PVRApi/Vulkan/BufferVk.cpp | kusharami/PowerVR_Native_SDK | 41557a911316126417ce4c92f1b89396f24f39d6 | [
"MIT"
] | null | null | null | Framework/PVRApi/Vulkan/BufferVk.cpp | kusharami/PowerVR_Native_SDK | 41557a911316126417ce4c92f1b89396f24f39d6 | [
"MIT"
] | 5 | 2017-11-03T19:23:02.000Z | 2021-12-24T04:12:34.000Z | /*!
\brief OpenGL ES Implementation of the Buffer class. See BufferVulkan.h.
\file PVRApi/Vulkan/BufferVk.cpp
\author PowerVR by Imagination, Developer Technology Team
\copyright Copyright (c) Imagination Technologies Limited.
*/
#include "PVRApi/Vulkan/BufferVk.h"
#include <PVRApi/ApiIncludes.h>
#include "PVRApi/ApiOb... | 28.348993 | 112 | 0.73035 | [
"object"
] |
b213b0ce288097de0f9acf3073571221e1b1dc3b | 43,845 | cpp | C++ | evorole/src/evorole.cpp | marmgroup/evosexrole | 27d4a2f250bfa9ee7621061abfac298200184954 | [
"MIT"
] | null | null | null | evorole/src/evorole.cpp | marmgroup/evosexrole | 27d4a2f250bfa9ee7621061abfac298200184954 | [
"MIT"
] | null | null | null | evorole/src/evorole.cpp | marmgroup/evosexrole | 27d4a2f250bfa9ee7621061abfac298200184954 | [
"MIT"
] | null | null | null | /*========================================================================================================
Individual variation in parental care drives divergence of female roles.cpp
==========================================================================================================
Written by:
Xiaoyan Long
Gron... | 36.446384 | 181 | 0.545946 | [
"vector",
"model"
] |
b21543fda327a2a4b3deecc0aab5f37f1a5a8142 | 2,476 | cpp | C++ | MMVII/src/Geom3D/cCloudClip.cpp | rumenmitrev/micmac | 065de918bb963a1c0f472504862c3060e180d48b | [
"CECILL-B"
] | null | null | null | MMVII/src/Geom3D/cCloudClip.cpp | rumenmitrev/micmac | 065de918bb963a1c0f472504862c3060e180d48b | [
"CECILL-B"
] | null | null | null | MMVII/src/Geom3D/cCloudClip.cpp | rumenmitrev/micmac | 065de918bb963a1c0f472504862c3060e180d48b | [
"CECILL-B"
] | null | null | null | #include "include/MMVII_all.h"
namespace MMVII
{
/** A basic application for clipping 3d data , almost all the job is done in
* libraries so it essentially interface to command line */
class cAppliCloudClip : public cMMVII_Appli
{
public :
cAppliCloudClip(const std::vector<std::string> & aVArgs,con... | 26.063158 | 106 | 0.6042 | [
"mesh",
"vector",
"3d"
] |
b218216d185f6f5b6dde8306bcf44bd1a3cffa39 | 1,261 | cpp | C++ | src/entities/Enemy.cpp | CEDV-2016/spaceinvaders | eaa7f971526dc401ef14d87660c0b9a2c44153fa | [
"MIT"
] | null | null | null | src/entities/Enemy.cpp | CEDV-2016/spaceinvaders | eaa7f971526dc401ef14d87660c0b9a2c44153fa | [
"MIT"
] | null | null | null | src/entities/Enemy.cpp | CEDV-2016/spaceinvaders | eaa7f971526dc401ef14d87660c0b9a2c44153fa | [
"MIT"
] | null | null | null | #include "Enemy.h"
#include "SoundFXManager.h"
Enemy::Enemy(Ogre::SceneManager* sceneMgr)
{
_sceneMgr = sceneMgr;
_position = Ogre::Vector3 ( getRandomXPosition(), 0.5, -20 );
Ogre::Entity * entity = _sceneMgr->createEntity("Enemy.mesh");
entity->setCastShadows(true);
_node = _sceneMgr->createSceneNode();
... | 19.703125 | 67 | 0.662173 | [
"mesh"
] |
b219ce36201d0c86e744138902fb9f44b728827c | 2,793 | cpp | C++ | helpers/FontRenderer/RenderFont.cpp | 42Bastian/Felix | 3c0b31a245a7c73bae97ad39a378edcdde1e386d | [
"MIT"
] | 19 | 2021-10-31T20:57:14.000Z | 2022-03-22T11:48:56.000Z | helpers/FontRenderer/RenderFont.cpp | 42Bastian/Felix | 3c0b31a245a7c73bae97ad39a378edcdde1e386d | [
"MIT"
] | 99 | 2021-10-29T20:31:09.000Z | 2022-02-09T12:24:03.000Z | helpers/FontRenderer/RenderFont.cpp | 42Bastian/Felix | 3c0b31a245a7c73bae97ad39a378edcdde1e386d | [
"MIT"
] | 3 | 2021-11-05T15:14:41.000Z | 2021-12-11T14:16:11.000Z | #include <cstdint>
#include <fstream>
#include <vector>
#include <filesystem>
#define STB_TRUETYPE_IMPLEMENTATION
#include "stb_truetype.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
std::vector<uint8_t> readFont( std::filesystem::path fontPath )
{
size_t size = std::filesystem::f... | 29.09375 | 153 | 0.597565 | [
"vector"
] |
b223c26882fd8bef3353649b1eb61f12b89aff37 | 12,609 | cpp | C++ | lib/analysis.cpp | caixiuhong/Stable-MCCE | 186bdafdf1d631994b2cdd6ec6a548383f559929 | [
"MIT"
] | 4 | 2020-03-03T03:02:51.000Z | 2022-02-13T09:54:14.000Z | lib/analysis.cpp | caixiuhong/Stable-MCCE | 186bdafdf1d631994b2cdd6ec6a548383f559929 | [
"MIT"
] | 89 | 2019-07-28T13:22:30.000Z | 2022-02-15T18:06:25.000Z | lib/analysis.cpp | caixiuhong/Stable-MCCE | 186bdafdf1d631994b2cdd6ec6a548383f559929 | [
"MIT"
] | 11 | 2019-07-28T14:01:54.000Z | 2021-11-02T00:16:48.000Z | //#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
//#include "mcce.h"
extern "C" {
#include "mcce.h"
}
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <set>... | 29.808511 | 138 | 0.597034 | [
"vector"
] |
b22651caa74caf0079ce0a2268f58770d7a04dc2 | 9,875 | cpp | C++ | src/brew/math/Quaternion.cpp | grrrrunz/brew | 13e17e2f6c9fb0f612c3a0bcabd233085ca15867 | [
"MIT"
] | 1 | 2018-02-09T16:20:50.000Z | 2018-02-09T16:20:50.000Z | src/brew/math/Quaternion.cpp | grrrrunz/brew | 13e17e2f6c9fb0f612c3a0bcabd233085ca15867 | [
"MIT"
] | null | null | null | src/brew/math/Quaternion.cpp | grrrrunz/brew | 13e17e2f6c9fb0f612c3a0bcabd233085ca15867 | [
"MIT"
] | null | null | null | /**
*
* |_ _ _
* |_)| (/_VV
*
* Copyright 2015-2018 Marcus v. Keil
*
* Created on: Feb 11, 2016
*
*/
#include <brew/math/Quaternion.h>
#include <brew/math/Math.h>
#include <brew/math/Matrix4.h>
namespace brew {
#define QUATERNION_EQUAL_EPSILON 0.1f
Quaternion::Quaternion(Real x, Real y, Real z, Real w... | 25.063452 | 115 | 0.576 | [
"geometry",
"vector"
] |
b230c09904315faac327571f5bb290be28caeb28 | 5,823 | cpp | C++ | Source/Spatializer/ProjectAcoustics/TritonWrapper.cpp | keveleigh/spatialaudio-unity | 06d2f3855c22b16c3b7dc22de59c1cf57d2d1ce3 | [
"MIT"
] | 70 | 2019-12-13T09:36:19.000Z | 2022-03-18T02:33:17.000Z | Source/Spatializer/ProjectAcoustics/TritonWrapper.cpp | keveleigh/spatialaudio-unity | 06d2f3855c22b16c3b7dc22de59c1cf57d2d1ce3 | [
"MIT"
] | 15 | 2020-02-18T16:48:56.000Z | 2022-03-30T23:03:04.000Z | Source/Spatializer/ProjectAcoustics/TritonWrapper.cpp | keveleigh/spatialaudio-unity | 06d2f3855c22b16c3b7dc22de59c1cf57d2d1ce3 | [
"MIT"
] | 16 | 2019-12-12T19:35:38.000Z | 2022-01-31T22:31:36.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "TritonWrapper.h"
#include <vector>
#include <cstring>
// Static init
OBJECT_HANDLE TritonWrapper::s_TritonHandle = nullptr;
bool TritonWrapper::s_IsTritonAceLoaded = false;
ATKMatrix4x4 TritonWrapper::s_w... | 30.015464 | 105 | 0.662373 | [
"vector"
] |
b23c82d6ad3270396dd9712025ca42d8e85bb2c6 | 1,114 | hpp | C++ | src/Compass.hpp | palainp/esp8266_maze | 74eb2253cc6405a8feb8716de0593fd221c90631 | [
"MIT"
] | null | null | null | src/Compass.hpp | palainp/esp8266_maze | 74eb2253cc6405a8feb8716de0593fd221c90631 | [
"MIT"
] | null | null | null | src/Compass.hpp | palainp/esp8266_maze | 74eb2253cc6405a8feb8716de0593fd221c90631 | [
"MIT"
] | null | null | null | #ifndef COMPASS_H
#define COMPASS_H
#include "Item.hpp"
class Compass:public Item
{
public:
Compass(int32_t x, int32_t y):Item(x,y){
cell_text = {
"You just found the compass !",
"You can see something shinning in the direction ",
"A small noise came from the directi... | 23.702128 | 74 | 0.539497 | [
"object"
] |
b24904a5b713219940817abbc91f00f332d4ab22 | 18,529 | cc | C++ | dcf/fss_gates/multiple_interval_containment_test.cc | RahulRachuri/distributed_point_functions | 9cfbfdc0928377bec506242fe51a76fb18c53c8b | [
"Apache-2.0"
] | 29 | 2021-03-19T14:19:41.000Z | 2022-03-30T17:34:03.000Z | dcf/fss_gates/multiple_interval_containment_test.cc | RahulRachuri/distributed_point_functions | 9cfbfdc0928377bec506242fe51a76fb18c53c8b | [
"Apache-2.0"
] | 3 | 2021-03-24T15:37:17.000Z | 2021-04-24T17:57:39.000Z | dcf/fss_gates/multiple_interval_containment_test.cc | RahulRachuri/distributed_point_functions | 9cfbfdc0928377bec506242fe51a76fb18c53c8b | [
"Apache-2.0"
] | 4 | 2021-04-01T23:28:25.000Z | 2021-12-07T08:14:12.000Z | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 34.060662 | 80 | 0.691349 | [
"vector"
] |
b249c285b1435e2345d7b9c94b40a5ef61a1780c | 8,992 | cpp | C++ | record.cpp | maxime-tournier/cpp | 303def38a523f0e5699ef389182974f4f50d10fb | [
"MIT"
] | null | null | null | record.cpp | maxime-tournier/cpp | 303def38a523f0e5699ef389182974f4f50d10fb | [
"MIT"
] | null | null | null | record.cpp | maxime-tournier/cpp | 303def38a523f0e5699ef389182974f4f50d10fb | [
"MIT"
] | null | null | null |
#include <cassert>
#include <chrono>
#include <deque>
#include <map>
#include <vector>
#include <stdexcept>
#include <thread>
#include <cmath>
#include <iomanip>
#include <ostream>
// basic event
struct event {
using clock_type = std::chrono::high_resolution_clock;
using time_type = clock_type::time_point;
... | 23.477807 | 84 | 0.571953 | [
"vector"
] |
b255fcb6d8002f2ed9d2981455af9f2cbc4e69c1 | 2,531 | cpp | C++ | interface/src/SearchResultElement.cpp | aschuman/CoBaB | 59700463859b267f6e37d5694667e3e4110aa70b | [
"MIT"
] | null | null | null | interface/src/SearchResultElement.cpp | aschuman/CoBaB | 59700463859b267f6e37d5694667e3e4110aa70b | [
"MIT"
] | 3 | 2015-11-15T13:24:23.000Z | 2016-03-11T12:27:15.000Z | interface/src/SearchResultElement.cpp | aschuman/CoBaB | 59700463859b267f6e37d5694667e3e4110aa70b | [
"MIT"
] | 3 | 2015-11-10T07:54:45.000Z | 2021-05-11T12:33:12.000Z | /**
* Project \
*/
#include "SearchResultElement.h"
/**
* @brief SearchResultElement::SearchResultElement Constructs a default SearchResultElement.
*/
SearchResultElement::SearchResultElement() {
mScore = 0;
}
/**
* @brief SearchResultElement::getScore Gets the score of the element.
* @return the score
... | 24.572816 | 110 | 0.72659 | [
"object"
] |
b25b70d6950c329b67bc0250a687cd6504c1d483 | 157 | cpp | C++ | programmers/stringtoint.cpp | rjs1197/iceamericano | d2830473ad911fe6beded2ef7d7b627b71a8a2b1 | [
"MIT"
] | null | null | null | programmers/stringtoint.cpp | rjs1197/iceamericano | d2830473ad911fe6beded2ef7d7b627b71a8a2b1 | [
"MIT"
] | null | null | null | programmers/stringtoint.cpp | rjs1197/iceamericano | d2830473ad911fe6beded2ef7d7b627b71a8a2b1 | [
"MIT"
] | null | null | null | #include <string>
#include <vector>
using namespace std;
int solution(string s) {
int answer = 0;
answer = stoi(s);
return answer;
}
| 12.076923 | 24 | 0.598726 | [
"vector"
] |
b25dac1220ccc619fbdaf90191014ccdd24a57ba | 1,956 | cpp | C++ | src/sound/al_Dbap.cpp | AlloSphere-Research-Group/al_lib | 94d23fe71b79d3464a658f16ca34c2040e6d7334 | [
"BSD-3-Clause"
] | 26 | 2018-11-05T23:29:43.000Z | 2022-03-17T18:16:49.000Z | src/sound/al_Dbap.cpp | yangevelyn/allolib | 1654be795b6515c058eb8243751b903a2aa6efdc | [
"BSD-3-Clause"
] | 41 | 2018-01-19T18:34:41.000Z | 2022-01-27T23:52:01.000Z | src/sound/al_Dbap.cpp | yangevelyn/allolib | 1654be795b6515c058eb8243751b903a2aa6efdc | [
"BSD-3-Clause"
] | 11 | 2018-01-05T16:42:19.000Z | 2022-01-27T22:08:01.000Z | #include "al/sound/al_Dbap.hpp"
namespace al {
Dbap::Dbap(const Speakers &sl, float focus)
: Spatializer(sl), mNumSpeakers(0), mFocus(focus) {
mNumSpeakers = mSpeakers.size();
std::cout << "DBAP Compiled with " << mNumSpeakers << " speakers"
<< std::endl;
for (unsigned int i = 0; i < mNumSpeake... | 29.636364 | 78 | 0.627301 | [
"vector"
] |
b260a4358ad02cc29ee2ebf11928153482a8ef43 | 6,004 | cpp | C++ | apps/web/postprocess/postprocess_ssd.cpp | YJessicaGao/CNStream | 6d9a07bc608f41a868a085d52b6a4588a12bb059 | [
"Apache-2.0"
] | 1 | 2019-12-13T07:46:58.000Z | 2019-12-13T07:46:58.000Z | apps/web/postprocess/postprocess_ssd.cpp | cbw1985/CNStream | 287b78cd1beba8228f7f54e342f2ec0daf2bc60c | [
"Apache-2.0"
] | null | null | null | apps/web/postprocess/postprocess_ssd.cpp | cbw1985/CNStream | 287b78cd1beba8228f7f54e342f2ec0daf2bc60c | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
* Copyright (C) [2019] by Cambricon, Inc. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... | 32.989011 | 112 | 0.642072 | [
"object",
"shape",
"vector",
"model"
] |
b26aeeca847df30a525f8e70fbe77cd4bdd87a12 | 3,258 | cpp | C++ | framework/operators/output.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 533 | 2018-05-18T06:14:04.000Z | 2022-03-23T11:46:30.000Z | framework/operators/output.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 100 | 2018-05-26T08:32:48.000Z | 2022-03-17T03:26:25.000Z | framework/operators/output.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 167 | 2018-05-18T06:14:35.000Z | 2022-02-14T01:44:20.000Z | /* Copyright (c) 2018 Anakin Authors, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | 31.631068 | 90 | 0.725292 | [
"vector"
] |
b26ba4c9281e21e150cce8129f5bc4943b109d06 | 3,606 | cpp | C++ | glengine/gl_material_pbr.cpp | dbacchet/visualizer | a0531a0c92350bf494290505317784e134e63c9c | [
"MIT"
] | 5 | 2020-12-18T19:41:02.000Z | 2021-05-04T02:27:20.000Z | glengine/gl_material_pbr.cpp | dbacchet/visualizer | a0531a0c92350bf494290505317784e134e63c9c | [
"MIT"
] | 2 | 2021-01-20T21:40:16.000Z | 2021-01-26T20:54:13.000Z | glengine/gl_material_pbr.cpp | dbacchet/visualizer | a0531a0c92350bf494290505317784e134e63c9c | [
"MIT"
] | 3 | 2021-02-23T11:40:03.000Z | 2021-08-05T07:39:48.000Z | #include "gl_material_pbr.h"
#include "gl_engine.h"
#include "generated/shaders/pbr.glsl.h"
#include "sokol_gfx.h"
namespace glengine {
bool MaterialPBR::init(GLEngine &eng, sg_primitive_type primitive, sg_index_type idx_type) {
ResourceManager &rm = eng.resource_manager();
sg_shader offscreen_vertexcolor ... | 44.518519 | 129 | 0.738769 | [
"model"
] |
05cdac513b1e087433e0ae6d7c563ba94b2ab3b1 | 2,229 | cpp | C++ | 81.SearchInRotatedSortedArrayII.cpp | mrdrivingduck/leet-code | fee008f3a62849a21ca703e05f755378996a1ff5 | [
"MIT"
] | null | null | null | 81.SearchInRotatedSortedArrayII.cpp | mrdrivingduck/leet-code | fee008f3a62849a21ca703e05f755378996a1ff5 | [
"MIT"
] | null | null | null | 81.SearchInRotatedSortedArrayII.cpp | mrdrivingduck/leet-code | fee008f3a62849a21ca703e05f755378996a1ff5 | [
"MIT"
] | null | null | null | /**
* @author Mr Dk.
* @version 2021/04/07
*/
/*
There is an integer array nums sorted in non-decreasing order (not
necessarily with distinct values).
Before being passed to your function, nums is rotated at an unknown
pivot index k (0 <= k < nums.length) such that the resulting array
is [nums[... | 24.766667 | 77 | 0.5738 | [
"vector"
] |
05d3f2fd92095d3804b36dc1eb0069cb83d3b9f6 | 140,047 | cpp | C++ | com/netfx/src/clr/vm/comclass.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/netfx/src/clr/vm/comclass.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/netfx/src/clr/vm/comclass.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
////////////////////////////////////////////////////////////////////////////////
// Author: Simon Hall (t-shall)
// Author: Daryl Olander (darylo)
// Date: March 27, 1998
////////////////////////////////////////////////... | 34.93315 | 167 | 0.576442 | [
"object"
] |
05daceb5936b8df91405aebef402e33834d6b69e | 791 | cc | C++ | lib/utility/libgclgrid/flatten.cc | jreyes1108/antelope_contrib | be2354605d8463d6067029eb16464a0bf432a41b | [
"BSD-2-Clause",
"MIT"
] | 30 | 2015-02-20T21:44:29.000Z | 2021-09-27T02:53:14.000Z | lib/utility/libgclgrid/flatten.cc | jreyes1108/antelope_contrib | be2354605d8463d6067029eb16464a0bf432a41b | [
"BSD-2-Clause",
"MIT"
] | 14 | 2015-07-07T19:17:24.000Z | 2020-12-19T19:18:53.000Z | lib/utility/libgclgrid/flatten.cc | jreyes1108/antelope_contrib | be2354605d8463d6067029eb16464a0bf432a41b | [
"BSD-2-Clause",
"MIT"
] | 46 | 2015-02-06T16:22:41.000Z | 2022-03-30T11:46:37.000Z | #include "gclgrid.h"
/* forward and backward flattening transformation routines
are in this file.
It is common practice in regional scale studies to use the
flattening transform as an approximation for converting from
spherical to cartesian coordinates. flatz converts from
depth to an equivalent flattened depth. ... | 24.71875 | 60 | 0.756005 | [
"transform"
] |
05e0b1d88cbca185b2130c439f15d82b721e2496 | 1,578 | cc | C++ | shell/browser/font/electron_font_access_delegate.cc | TarunavBA/electron | a41898bb9b889486fb93c11b7107b9412818133a | [
"MIT"
] | 88,283 | 2016-04-04T19:29:13.000Z | 2022-03-31T23:33:33.000Z | shell/browser/font/electron_font_access_delegate.cc | TarunavBA/electron | a41898bb9b889486fb93c11b7107b9412818133a | [
"MIT"
] | 27,327 | 2016-04-04T19:38:58.000Z | 2022-03-31T22:34:10.000Z | shell/browser/font/electron_font_access_delegate.cc | TarunavBA/electron | a41898bb9b889486fb93c11b7107b9412818133a | [
"MIT"
] | 15,972 | 2016-04-04T19:32:06.000Z | 2022-03-31T08:54:00.000Z | // Copyright (c) 2021 Microsoft, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include <utility>
#include "shell/browser/font/electron_font_access_delegate.h"
#include "base/task/post_task.h"
#include "chrome/browser/browser_process.h"
#include "content/pub... | 36.697674 | 72 | 0.737643 | [
"vector",
"model"
] |
05e6ec8641b9f68822df4991b3ab8c4784bacf5b | 5,331 | cpp | C++ | src/analysis/formant/deepformants/features.cpp | alargepileofash/in-formant | 3fc77925b68e349b96d7cf20c00223a4b343d04d | [
"Apache-2.0"
] | 55 | 2020-10-07T20:22:22.000Z | 2021-08-28T10:58:36.000Z | src/analysis/formant/deepformants/features.cpp | alargepileofash/in-formant | 3fc77925b68e349b96d7cf20c00223a4b343d04d | [
"Apache-2.0"
] | 16 | 2020-12-06T22:02:38.000Z | 2021-08-19T09:37:56.000Z | src/analysis/formant/deepformants/features.cpp | alargepileofash/in-formant | 3fc77925b68e349b96d7cf20c00223a4b343d04d | [
"Apache-2.0"
] | 11 | 2019-12-16T16:06:19.000Z | 2020-04-15T15:28:31.000Z | #include "df.h"
#include "../../fft/fft.h"
#include "../../linpred/linpred.h"
#include <memory>
using namespace Eigen;
template<typename Derived>
static ArrayXd dct(const ArrayBase<Derived>& x, int trunc)
{
const int N = x.size();
auto dct = DFModelHolder::instance()->dct(N);
for (int i = 0; i < N; ... | 24.795349 | 79 | 0.522228 | [
"vector"
] |
05ebb59edcc4c98bc60a399d904d1cc2c7358b87 | 9,107 | cpp | C++ | src/CLSmith/StatementEMI.cpp | jiezzhang/CLSmith | a39a31c43c88352fc65e61dce270d8e1660cbcf0 | [
"BSD-2-Clause"
] | null | null | null | src/CLSmith/StatementEMI.cpp | jiezzhang/CLSmith | a39a31c43c88352fc65e61dce270d8e1660cbcf0 | [
"BSD-2-Clause"
] | null | null | null | src/CLSmith/StatementEMI.cpp | jiezzhang/CLSmith | a39a31c43c88352fc65e61dce270d8e1660cbcf0 | [
"BSD-2-Clause"
] | null | null | null | #include "CLSmith/StatementEMI.h"
#include <algorithm>
#include <memory>
#include <vector>
#include "Block.h"
#include "CGContext.h"
#include "CLSmith/CLOptions.h"
#include "CLSmith/MemoryBuffer.h"
#include "CLSmith/Walker.h"
#include "ExpressionFuncall.h"
#include "ExpressionVariable.h"
#include "FunctionInvocationB... | 38.588983 | 81 | 0.690128 | [
"vector"
] |
05ec369ae258dbb6d3ae772ed4fbe79697e8c5ff | 68,597 | cpp | C++ | Source/ToolCore/NETTools/NETProjectGen.cpp | elix22/AtomicGameEngine | 83bc2c12f1451aea0b5de691b512810f00d5ee06 | [
"Apache-2.0",
"MIT"
] | 3,170 | 2015-02-13T12:35:00.000Z | 2022-03-31T15:32:42.000Z | Source/ToolCore/NETTools/NETProjectGen.cpp | elix22/AtomicGameEngine | 83bc2c12f1451aea0b5de691b512810f00d5ee06 | [
"Apache-2.0",
"MIT"
] | 1,314 | 2015-02-13T12:30:08.000Z | 2021-11-22T14:10:02.000Z | Source/ToolCore/NETTools/NETProjectGen.cpp | elix22/AtomicGameEngine | 83bc2c12f1451aea0b5de691b512810f00d5ee06 | [
"Apache-2.0",
"MIT"
] | 683 | 2015-02-13T12:35:06.000Z | 2022-03-31T16:13:54.000Z | //
// Copyright (c) 2014-2016 THUNDERBEAST GAMES LLC
//
// 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... | 34.401705 | 176 | 0.583218 | [
"object",
"vector"
] |
05f021873bcbc0d1174b169a5638c2ce5686b96f | 18,577 | cpp | C++ | telegram/TMessagesProj/jni/voip/tg_voip_jni.cpp | SAFE-anwang/SafeWallet-android | ac1ddfc262b34e398b4504c65ac74911b7ca4381 | [
"MIT"
] | 25 | 2021-06-09T15:27:39.000Z | 2022-03-30T04:04:23.000Z | telegram/TMessagesProj/jni/voip/tg_voip_jni.cpp | SAFE-anwang/SafeWallet-android | ac1ddfc262b34e398b4504c65ac74911b7ca4381 | [
"MIT"
] | 4 | 2021-09-19T08:59:07.000Z | 2022-03-27T19:33:50.000Z | TMessagesProj/jni/voip/tg_voip_jni.cpp | CharlotteFallices/Nekogram | feade65dcc152474b87c0f2307bffd23c4208959 | [
"Artistic-2.0"
] | 2 | 2022-03-26T11:06:16.000Z | 2022-03-26T11:13:21.000Z | //
// libtgvoip is free and unencumbered public domain software.
// For more information, see http://unlicense.org or the UNLICENSE file
// you should have received with this source code distribution.
//
#include <jni.h>
#include <string.h>
#include <map>
#include <string>
#include <vector>
#include "libtgvoip/VoIPSer... | 48.251948 | 268 | 0.660171 | [
"vector"
] |
af054455fbf7337ccbaa6ae8e9844b37f643aed7 | 2,693 | cxx | C++ | smtk/session/polygon/json/jsonModel.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 40 | 2015-02-21T19:55:54.000Z | 2022-01-06T13:13:05.000Z | smtk/session/polygon/json/jsonModel.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 127 | 2015-01-15T20:55:45.000Z | 2021-08-19T17:34:15.000Z | smtk/session/polygon/json/jsonModel.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 27 | 2015-03-04T14:17:51.000Z | 2021-12-23T01:05:42.000Z | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 34.088608 | 93 | 0.617156 | [
"vector",
"model"
] |
af07a5850871d0483f6b2be47543631253d8168c | 1,899 | cpp | C++ | tests/tokenizer_unittest.cpp | tongzhipeng/KBase | c6a4ce7592dfcf8e000045f3ef03a9badf023ccf | [
"MIT"
] | 20 | 2016-05-16T07:02:09.000Z | 2021-06-07T10:21:24.000Z | tests/tokenizer_unittest.cpp | tongzhipeng/KBase | c6a4ce7592dfcf8e000045f3ef03a9badf023ccf | [
"MIT"
] | 1 | 2020-07-09T02:00:36.000Z | 2020-07-11T03:46:52.000Z | tests/tokenizer_unittest.cpp | tongzhipeng/KBase | c6a4ce7592dfcf8e000045f3ef03a9badf023ccf | [
"MIT"
] | 13 | 2016-03-09T09:52:17.000Z | 2021-09-09T14:50:13.000Z | /*
@ 0xCCCCCCCC
*/
#include "catch2/catch.hpp"
#include "kbase/basic_macros.h"
#include "kbase/tokenizer.h"
namespace kbase {
TEST_CASE("Constructing tokenizer or token-iterator", "[Tokenizer]")
{
SECTION("constructing an empty TokenIterator")
{
std::string str = "hello, world";
TokenIterat... | 26.746479 | 99 | 0.577146 | [
"vector"
] |
af0cdab0a2a5ff82d13dce31261af438ae6766e1 | 2,629 | cpp | C++ | Zephyr_App/src/App.cpp | Naimin/Zephyr | ab33eeef9bbf73e61aca50894f77cef0c2a7a4af | [
"MIT"
] | 2 | 2019-11-29T08:01:00.000Z | 2021-05-07T03:33:16.000Z | Zephyr_App/src/App.cpp | Naimin/Zephyr | ab33eeef9bbf73e61aca50894f77cef0c2a7a4af | [
"MIT"
] | null | null | null | Zephyr_App/src/App.cpp | Naimin/Zephyr | ab33eeef9bbf73e61aca50894f77cef0c2a7a4af | [
"MIT"
] | 2 | 2019-11-29T08:01:13.000Z | 2021-11-21T04:54:23.000Z | #include "App.h"
#include "UI.h"
#include "AppEvents.h"
#include <windows.h>
#include <Zephyr_Graphics.h>
#include <BasicRenderPass.h>
#include <nana/gui/timer.hpp>
using namespace Zephyr;
Zephyr::App::App(const std::string& windowTitle, unsigned int width, unsigned int height, bool bFullScreen) : mWidth(width), mHe... | 19.619403 | 180 | 0.680867 | [
"render"
] |
af0fa9e98abe6a8bc0b4d2eb5ed6d1dac39b2828 | 4,795 | cpp | C++ | src/shared/StrUtils.cpp | SageAxcess/pcap-ndis6 | 77c9f02f5a774a5976e7fb96f667b5abb335d299 | [
"MIT"
] | 15 | 2017-12-22T09:46:29.000Z | 2020-04-28T02:21:08.000Z | src/shared/StrUtils.cpp | SageAxcess/pcap-ndis6 | 77c9f02f5a774a5976e7fb96f667b5abb335d299 | [
"MIT"
] | null | null | null | src/shared/StrUtils.cpp | SageAxcess/pcap-ndis6 | 77c9f02f5a774a5976e7fb96f667b5abb335d299 | [
"MIT"
] | 6 | 2017-06-26T02:25:38.000Z | 2021-08-12T07:30:43.000Z | //////////////////////////////////////////////////////////////////////
// Project: pcap-ndis6
// Description: WinPCAP fork with NDIS6.x support
// License: MIT License, read LICENSE file in project root for details
//
// Copyright (c) 2019 Change Dynamix, Inc.
// All Rights Reserved.
//
// https://changedynamix.io/
/... | 22.833333 | 82 | 0.499896 | [
"vector"
] |
af135e6963257a3fa9b3ce480c8f3772e83bdf48 | 4,682 | cpp | C++ | Tutorials/t64heapProblems.cpp | Aaryan-R-S/DSA-Tutorials | 5e5b52b7d206a207a6d8032940037b050969cae5 | [
"MIT"
] | null | null | null | Tutorials/t64heapProblems.cpp | Aaryan-R-S/DSA-Tutorials | 5e5b52b7d206a207a6d8032940037b050969cae5 | [
"MIT"
] | null | null | null | Tutorials/t64heapProblems.cpp | Aaryan-R-S/DSA-Tutorials | 5e5b52b7d206a207a6d8032940037b050969cae5 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define pii pair<int, int>
using namespace std;
// --REFER ADITYA VERMA PLAYLIST ALSO--
// Identification: Find kth smallest/closest or largest/frequent
// Make heaap of size k (smallest=maxheap and largest=minheap) pop elems if size of heaps get larger than k then at the last you have desired ... | 24.642105 | 162 | 0.507689 | [
"vector"
] |
af1375510603d29a6681bbd0342beaf63d9d8eda | 3,897 | hpp | C++ | include/UnityEngine/AnimatorControllerParameter.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/UnityEngine/AnimatorControllerParameter.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/UnityEngine/AnimatorControllerParameter.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: UnityEngine.AnimatorControllerParameterType
#include "UnityEngine/AnimatorCon... | 44.793103 | 338 | 0.721067 | [
"object"
] |
af24fecec24273057bb3feb5f33ece68b600356d | 17,195 | cpp | C++ | alica_capnzero_proxy/src/ContainerUtils.cpp | dasys-lab/alica-capnzero-proxy | 440016e93fa4f5b872895d3653f3c7e75ce21d2d | [
"MIT"
] | null | null | null | alica_capnzero_proxy/src/ContainerUtils.cpp | dasys-lab/alica-capnzero-proxy | 440016e93fa4f5b872895d3653f3c7e75ce21d2d | [
"MIT"
] | null | null | null | alica_capnzero_proxy/src/ContainerUtils.cpp | dasys-lab/alica-capnzero-proxy | 440016e93fa4f5b872895d3653f3c7e75ce21d2d | [
"MIT"
] | null | null | null | #include "alica_capnzero_proxy/ContainerUtils.h"
// Generated CapnProto Messages:
#include "alica_msg/AgentAnnouncement.capnp.h"
#include "alica_msg/AgentQuery.capnp.h"
#include "alica_msg/AlicaEngineInfo.capnp.h"
#include "alica_msg/AllocationAuthorityInfo.capnp.h"
#include "alica_msg/PlanTreeInfo.capnp.h"
#include "... | 49.84058 | 166 | 0.702879 | [
"vector"
] |
af26b4ad2a4897647737d88b635fc506664b3102 | 25,778 | cpp | C++ | src/ofxPixelUtils.cpp | Spacechild1/ofxPixelUtils | cff2d52f1b20d8d43f2d0f0e2b244a9898eccd6c | [
"MIT"
] | null | null | null | src/ofxPixelUtils.cpp | Spacechild1/ofxPixelUtils | cff2d52f1b20d8d43f2d0f0e2b244a9898eccd6c | [
"MIT"
] | null | null | null | src/ofxPixelUtils.cpp | Spacechild1/ofxPixelUtils | cff2d52f1b20d8d43f2d0f0e2b244a9898eccd6c | [
"MIT"
] | null | null | null | #include "ofxPixelUtils.h"
// begin namespace
namespace ofxPixelUtils {
/// color functions:
//-------------------------------------------------------------
vector<float> getMeanColor(const ofPixels& pixels){
if (!pixels.isAllocated()){
cout << "pixels not allocated!\n";
}
const int numChannels... | 29.629885 | 118 | 0.508884 | [
"vector"
] |
af2f4920722d3e2025caa6d626f4dd26fddae8d2 | 1,930 | cpp | C++ | 3rdparty/glsl-optimizer/src/node/compiler.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 11,557 | 2015-01-03T22:48:11.000Z | 2022-03-31T18:20:41.000Z | 3rdparty/glsl-optimizer/src/node/compiler.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 1,731 | 2015-01-02T08:06:00.000Z | 2022-03-31T18:44:01.000Z | 3rdparty/glsl-optimizer/src/node/compiler.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 2,112 | 2015-01-05T13:03:36.000Z | 2022-03-31T19:18:02.000Z | #include "compiler.h"
using namespace v8;
using namespace node;
Persistent<Function> Compiler::constructor;
//----------------------------------------------------------------------
Compiler::Compiler(glslopt_target target)
{
_binding = glslopt_initialize(target);
}
//---------------------------------------------... | 21.931818 | 76 | 0.546114 | [
"object"
] |
af32db4163db42cc3d122df5eebb1ee1b866aaf0 | 44,477 | cpp | C++ | hphp/runtime/vm/hackc-translator.cpp | leikahing/hhvm | 26617c88ca35c5e078c3aef12c061d7996925375 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/hackc-translator.cpp | leikahing/hhvm | 26617c88ca35c5e078c3aef12c061d7996925375 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/hackc-translator.cpp | leikahing/hhvm | 26617c88ca35c5e078c3aef12c061d7996925375 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 32.323401 | 110 | 0.629561 | [
"vector"
] |
af344e8ef7589d9c1555f6b6edfdcb55b8f20d0c | 1,663 | cc | C++ | src/array/cpu/array_repeat.cc | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 9,516 | 2018-12-08T22:11:31.000Z | 2022-03-31T13:04:33.000Z | src/array/cpu/array_repeat.cc | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 2,494 | 2018-12-08T22:43:00.000Z | 2022-03-31T21:16:27.000Z | src/array/cpu/array_repeat.cc | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 2,529 | 2018-12-08T22:56:14.000Z | 2022-03-31T13:07:41.000Z | /*!
* Copyright (c) 2020 by Contributors
* \file array/cpu/array_repeat.cc
* \brief Array repeat CPU implementation
*/
#include <dgl/array.h>
#include <algorithm>
namespace dgl {
using runtime::NDArray;
namespace aten {
namespace impl {
template <DLDeviceType XPU, typename DType, typename IdType>
NDArray Repeat(... | 33.938776 | 87 | 0.71798 | [
"shape"
] |
af491ccd86267555aaa6335ed0fe09cba6217160 | 9,891 | cpp | C++ | src/game_web.cpp | Niki4tap/asciicker | 1fd314f940d166217deb2dfcedc5a6ccead40243 | [
"MIT"
] | 78 | 2021-06-10T12:02:07.000Z | 2021-09-07T16:22:28.000Z | src/game_web.cpp | Niki4tap/asciicker | 1fd314f940d166217deb2dfcedc5a6ccead40243 | [
"MIT"
] | 3 | 2021-06-10T14:19:40.000Z | 2021-09-09T20:00:02.000Z | src/game_web.cpp | Niki4tap/asciicker | 1fd314f940d166217deb2dfcedc5a6ccead40243 | [
"MIT"
] | 15 | 2021-06-10T13:29:00.000Z | 2021-09-07T16:22:21.000Z |
#include <emscripten.h>
#include <stdint.h>
#include "terrain.h"
#include "game.h"
#include "enemygen.h"
#include "sprite.h"
#include "world.h"
#include "render.h"
#include <time.h>
char base_path[1024] = "./"; // (const)
void Buzz()
{
EM_ASM(
{
if (gamepad>=0 && "getGamePads" in navigator)
... | 22.226966 | 111 | 0.459711 | [
"mesh",
"render"
] |
af49ca2778566f6f5b4331739a02e34618d8e92d | 6,170 | cpp | C++ | Win32EnumWbemClassObject.cpp | smalltong02/Bruce-Ma | 2ee9455635af9f0300f53781382de88d3ef99003 | [
"MIT"
] | 1 | 2021-06-22T04:41:41.000Z | 2021-06-22T04:41:41.000Z | Win32EnumWbemClassObject.cpp | smalltong02/Bruce-Ma | 2ee9455635af9f0300f53781382de88d3ef99003 | [
"MIT"
] | 1 | 2021-02-23T17:45:30.000Z | 2021-02-23T17:45:30.000Z | Win32EnumWbemClassObject.cpp | smalltong02/Bruce-Ma | 2ee9455635af9f0300f53781382de88d3ef99003 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "utils.h"
#include "Win32EnumWbemClassObject.h"
#include "HookImplementObject.h"
using namespace cchips;
extern bool process_duplicate_for_wmiobject(CHookImplementObject::detour_node* node, const std::shared_ptr<CWmiObject>& wmi_object, IWbemClassObject **apObjects, ULONG *puReturned, std:... | 38.805031 | 222 | 0.701135 | [
"object"
] |
af4b8cb6ba282626a17781ff084ba488f352c682 | 2,288 | cpp | C++ | learning/MakeHash/main.cpp | HAL90000/tirt | 60eea9bde89b579eabfd11e5ee0ba3910d24f4a0 | [
"BSD-2-Clause"
] | null | null | null | learning/MakeHash/main.cpp | HAL90000/tirt | 60eea9bde89b579eabfd11e5ee0ba3910d24f4a0 | [
"BSD-2-Clause"
] | null | null | null | learning/MakeHash/main.cpp | HAL90000/tirt | 60eea9bde89b579eabfd11e5ee0ba3910d24f4a0 | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
#include <vector>
#include <fstream>
#include <Eigen\Dense>
#include <Image.h>
double mult(const Image &img, const Hasher &hasher)
{
size_t size = std::min(img.v.size(), hasher.v.size());
double result = hasher.bias;
for (int i = 0; i < size; ++i)
result += img.v[i] / 255.0 * hasher.v[i];
re... | 20.070175 | 104 | 0.562063 | [
"vector"
] |
af56263e34d5911942c6bcebcaa3386794f6f8a4 | 19,201 | hpp | C++ | test/performance-regression/full-apps/qmcpack/src/spline/einspline_impl.hpp | FeiyangJin/hclib | d23c850dce914e2d80cae733670820812a1edeee | [
"BSD-3-Clause"
] | 55 | 2015-07-28T01:32:58.000Z | 2022-02-27T16:27:46.000Z | test/performance-regression/full-apps/qmcpack/src/spline/einspline_impl.hpp | FeiyangJin/hclib | d23c850dce914e2d80cae733670820812a1edeee | [
"BSD-3-Clause"
] | 66 | 2015-06-15T20:38:19.000Z | 2020-08-26T00:11:43.000Z | test/performance-regression/full-apps/qmcpack/src/spline/einspline_impl.hpp | FeiyangJin/hclib | d23c850dce914e2d80cae733670820812a1edeee | [
"BSD-3-Clause"
] | 26 | 2015-10-26T22:11:51.000Z | 2021-03-02T22:09:15.000Z | //////////////////////////////////////////////////////////////////
// (c) Copyright 2006- by Jeongnim Kim and Ken Esler //
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
// National Center for Supercomputing Applications... | 45.178824 | 130 | 0.635175 | [
"vector"
] |
af577f1e45600bd18d8f64fea3cae4819e9dcec8 | 3,852 | hpp | C++ | FeatureGenerator/src/extractor/ContourHistogramExtractor.hpp | langenhagen/Master-Thesis | 72885bcfa2f7b76b85dabf70f060f60d53e20e51 | [
"BSD-3-Clause"
] | 1 | 2019-02-22T01:17:49.000Z | 2019-02-22T01:17:49.000Z | FeatureGenerator/src/extractor/ContourHistogramExtractor.hpp | langenhagen/Master-Thesis | 72885bcfa2f7b76b85dabf70f060f60d53e20e51 | [
"BSD-3-Clause"
] | null | null | null | FeatureGenerator/src/extractor/ContourHistogramExtractor.hpp | langenhagen/Master-Thesis | 72885bcfa2f7b76b85dabf70f060f60d53e20e51 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
/* @file Contour & histogram salient region feature extractor.
/*
/* @author langenhagen
/* @version 150611
/******************************************************************************/
#pragma once
/////////////////////////////////////... | 38.909091 | 208 | 0.602285 | [
"object",
"shape",
"vector"
] |
af59b75b6df3f44337d7bb7983fb0058ec31ab66 | 1,381 | hpp | C++ | src/plugins/UCD_OSI_Data/MainWidget.hpp | bradosia/ucdavis-3D-analyzer | 6fefc5b86771b671a0ccac8ad2c6c523c23085f8 | [
"SGI-B-2.0",
"CECILL-B"
] | 1 | 2020-02-10T05:46:23.000Z | 2020-02-10T05:46:23.000Z | src/plugins/UCD_OSI_Data/MainWidget.hpp | bradosia/ucdavis-3D-electricity-map | 6fefc5b86771b671a0ccac8ad2c6c523c23085f8 | [
"SGI-B-2.0",
"CECILL-B"
] | null | null | null | src/plugins/UCD_OSI_Data/MainWidget.hpp | bradosia/ucdavis-3D-electricity-map | 6fefc5b86771b671a0ccac8ad2c6c523c23085f8 | [
"SGI-B-2.0",
"CECILL-B"
] | null | null | null | /*
* @name UC Davis 3D Analyzer
* @author Brad Lee & SiYi Meng
* @version 1.01
* @license GNU LGPL v3
* @brief 3D map of UC Davis electricity usage
*
* QT and OCC integration:
* Copyright (c) 2018 Shing Liu (eryar@163.com)
* License: MIT
* Source: https://github.com/eryar/occQt
*
* Data from OSIsoft and UC ... | 25.109091 | 71 | 0.704562 | [
"3d"
] |
af5f86e2a5c94d4478e54420b25674c0dac83f05 | 2,353 | cpp | C++ | test/old_tests/UnitTests/VariadicDelegate.cpp | sylveon/cppwinrt | 4d5c5ae3de386ce1f18c3410a27b9ceb40aa524d | [
"MIT"
] | 859 | 2016-10-13T00:11:52.000Z | 2019-05-06T15:45:46.000Z | test/old_tests/UnitTests/VariadicDelegate.cpp | shinsetsu/cppwinrt | ae0378373d2318d91448b8697a91d5b65a1fb2e5 | [
"MIT"
] | 655 | 2019-10-08T12:15:16.000Z | 2022-03-31T18:26:40.000Z | test/old_tests/UnitTests/VariadicDelegate.cpp | shinsetsu/cppwinrt | ae0378373d2318d91448b8697a91d5b65a1fb2e5 | [
"MIT"
] | 137 | 2016-10-13T04:19:59.000Z | 2018-11-09T05:08:03.000Z | #include "pch.h"
#include "catch.hpp"
using namespace winrt;
namespace
{
Windows::Foundation::IAsyncAction Object()
{
co_return;
}
int callback_state{};
void callback(int state)
{
callback_state = state;
}
struct callback_object
{
int m_state{};
... | 19.130081 | 114 | 0.512962 | [
"object"
] |
af7020de3d51255cbb9a17b562953adba0a7a53a | 213 | cpp | C++ | Class/class2.cpp | miguelsrrobo/C-C- | 9126c613309e83d13000e665440fd46e72b109a9 | [
"MIT"
] | null | null | null | Class/class2.cpp | miguelsrrobo/C-C- | 9126c613309e83d13000e665440fd46e72b109a9 | [
"MIT"
] | null | null | null | Class/class2.cpp | miguelsrrobo/C-C- | 9126c613309e83d13000e665440fd46e72b109a9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
class Carro
{
private:
int velMax;
const char nome;
public:
int potencia;
int getVelMax()
{
return this->velMax;
}
}
int main()
{
return 0;
}
| 9.26087 | 22 | 0.671362 | [
"vector"
] |
af76d68f49606efcd9b91c1fed29e1e67ada1de9 | 8,040 | cpp | C++ | TeapotGL/TeapotGL/main.cpp | kirbasin/TeapotGL | f8c4c8f5f6bdcda23a2dac48d625dccdc6858de5 | [
"MIT"
] | null | null | null | TeapotGL/TeapotGL/main.cpp | kirbasin/TeapotGL | f8c4c8f5f6bdcda23a2dac48d625dccdc6858de5 | [
"MIT"
] | null | null | null | TeapotGL/TeapotGL/main.cpp | kirbasin/TeapotGL | f8c4c8f5f6bdcda23a2dac48d625dccdc6858de5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <GL/glew.h>
#include <GL/glut.h>
#include "shaders.h"
#include "transform.h"
#include <string>
#include <sstream>
#include <FreeImage.h>
#include "grader.h"
int amount; // The amount of rotation for each arrow press
vec3 eye; // The (regularly updated) vector coordinates of the eye locati... | 26.27451 | 108 | 0.676119 | [
"vector",
"transform"
] |
50309fb76ece7d44017ab7316eadcab21d0e897f | 5,011 | hpp | C++ | example/simple_chat_screen.hpp | Abhisheknishant/chops-net-ip | 0bd09e06cbef586391b2fca1f6f62daba16a4298 | [
"BSL-1.0"
] | 5 | 2019-04-30T02:42:18.000Z | 2021-04-16T08:32:47.000Z | example/simple_chat_screen.hpp | Abhisheknishant/chops-net-ip | 0bd09e06cbef586391b2fca1f6f62daba16a4298 | [
"BSL-1.0"
] | 28 | 2019-03-12T07:34:16.000Z | 2020-06-04T01:46:47.000Z | example/simple_chat_screen.hpp | Abhisheknishant/chops-net-ip | 0bd09e06cbef586391b2fca1f6f62daba16a4298 | [
"BSL-1.0"
] | 3 | 2019-04-01T02:25:31.000Z | 2020-06-02T11:11:53.000Z | /** @file
*
* @brief class to handle printing output to stdout for simple_chat_demo.cpp program.
*
* @author Thurman Gillespy
*
* Copyright (c) 2019 Thurman Gillespy
* 4/15/19
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE.txt or copy at http://www.... | 36.05036 | 95 | 0.577529 | [
"vector"
] |
50316156745ad7ca08dd04ae32dec805f7dc1c22 | 2,078 | cpp | C++ | VehFuncs/Shake.cpp | JuniorDjjr/VehFuncs | 123c9228f99efe2a14030473542e2c0fff54c82f | [
"MIT"
] | 32 | 2018-01-23T21:38:06.000Z | 2022-02-06T21:02:42.000Z | VehFuncs/Shake.cpp | JuniorDjjr/VehFuncs | 123c9228f99efe2a14030473542e2c0fff54c82f | [
"MIT"
] | 41 | 2018-03-20T00:21:50.000Z | 2021-12-05T10:01:49.000Z | VehFuncs/Shake.cpp | JuniorDjjr/VehFuncs | 123c9228f99efe2a14030473542e2c0fff54c82f | [
"MIT"
] | 3 | 2019-06-17T16:46:48.000Z | 2020-05-12T01:40:33.000Z | #include "VehFuncsCommon.h"
#include "NodeName.h"
#include "CTimer.h"
#include "PerlinNoise\SimplexNoise.h"
#include "MatrixBackup.h"
void ProcessShake(CVehicle *vehicle, list<RwFrame*> frames)
{
ExtendedData &xdata = xData.Get(vehicle);
// Process dot
xdata.dotLife += CTimer::ms_fTimeStep * (0.2f * ((x... | 25.036145 | 153 | 0.589509 | [
"object"
] |
503234f5cf60b9483d70801d0d2e1a9af9dc7312 | 78,320 | cpp | C++ | src/app/qgsrasterlayerproperties.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/app/qgsrasterlayerproperties.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/app/qgsrasterlayerproperties.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | /***************************************************************************
qgsrasterlayerproperties.cpp - description
-------------------
begin : 1/1/2004
copyright : (C) 2004 Tim Sutton
email : tim@linfiniti.com
***************************************... | 37.945736 | 221 | 0.694165 | [
"geometry"
] |
50325e2f210547ac3301dea5c53faba9a6fea368 | 14,773 | cpp | C++ | Utility/Streams/WinAPI/FileSystemMonitor_WinAPI.cpp | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | 3 | 2018-05-17T08:39:39.000Z | 2020-12-09T13:20:26.000Z | Utility/Streams/WinAPI/FileSystemMonitor_WinAPI.cpp | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | null | null | null | Utility/Streams/WinAPI/FileSystemMonitor_WinAPI.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 "../PathUtils.h"
#include "../../../Core/Prefix.h"
#include "../FileSystemMonitor.h"
#include "../../../Core/Types.h"
#include "../..... | 39.5 | 176 | 0.637514 | [
"vector"
] |
50398c77b4987a0213e48b9a5212827f59763998 | 1,459 | cpp | C++ | src/LightBulb/Learning/Supervised/GradientCalculation/AbstractGradientCalculation.cpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 5 | 2016-02-04T06:14:42.000Z | 2017-02-06T02:21:43.000Z | src/LightBulb/Learning/Supervised/GradientCalculation/AbstractGradientCalculation.cpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 41 | 2015-04-15T21:05:45.000Z | 2015-07-09T12:59:02.000Z | src/LightBulb/Learning/Supervised/GradientCalculation/AbstractGradientCalculation.cpp | domin1101/LightBulb | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | null | null | null | // Includes
#include "LightBulb/Learning/Supervised/GradientCalculation/AbstractGradientCalculation.hpp"
#include "LightBulb/NetworkTopology/AbstractNetworkTopology.hpp"
namespace LightBulb
{
void AbstractGradientCalculation::calcGradient(const AbstractNetworkTopology& networkTopology, const Vector<>& errorVector, co... | 33.930233 | 196 | 0.781357 | [
"vector"
] |
503bc139ec265b7f3988bd59048096727b659326 | 2,758 | hpp | C++ | include/train.hpp | kamakshijain/HUMAN-DETECTION | ac129520df2a4df6490b771dca3a76e0489b8ade | [
"MIT"
] | null | null | null | include/train.hpp | kamakshijain/HUMAN-DETECTION | ac129520df2a4df6490b771dca3a76e0489b8ade | [
"MIT"
] | 1 | 2019-10-21T08:06:00.000Z | 2019-10-21T08:06:17.000Z | include/train.hpp | sbrahma0/HUMAN-DETECTION | ac129520df2a4df6490b771dca3a76e0489b8ade | [
"MIT"
] | 2 | 2019-10-21T17:58:36.000Z | 2019-12-09T18:09:10.000Z | /**
* MIT License
*
* Copyright (c) 2019 Sayan Brahma, Kamakshi Jain
*
* 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
*... | 31.701149 | 81 | 0.696882 | [
"vector"
] |
50448a720a2b90259d6867a8249c2efbe86c0cfa | 74,338 | cpp | C++ | mu/llvmc/parser.cpp | clemahieu/mu | c02eec77d1c72c86b8acbea0f3b6e85fe32d4687 | [
"BSD-2-Clause"
] | 9 | 2017-07-31T03:10:54.000Z | 2022-01-31T18:03:10.000Z | mu/llvmc/parser.cpp | clemahieu/mu | c02eec77d1c72c86b8acbea0f3b6e85fe32d4687 | [
"BSD-2-Clause"
] | null | null | null | mu/llvmc/parser.cpp | clemahieu/mu | c02eec77d1c72c86b8acbea0f3b6e85fe32d4687 | [
"BSD-2-Clause"
] | 3 | 2016-07-08T15:24:22.000Z | 2021-05-15T09:12:17.000Z | #include <mu/llvmc/parser.hpp>
#include <mu/core/error_string.hpp>
#include <mu/core/stream.hpp>
#include <mu/core/tokens.hpp>
#include <mu/llvmc/ast.hpp>
#include <mu/core/stream_token.hpp>
#include <mu/llvmc/skeleton.hpp>
#include <mu/llvmc/parser_t.hpp>
#include <llvm/IR/Type.h>
#include <sstream>
mu::llvmc::glo... | 36.583661 | 207 | 0.577659 | [
"vector"
] |
5049ce78895332a0703d8881a74ad080ec864139 | 25,371 | cpp | C++ | applications/mne_scan/libs/scDisp/release/moc_quickcontrolwidget.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | applications/mne_scan/libs/scDisp/release/moc_quickcontrolwidget.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | applications/mne_scan/libs/scDisp/release/moc_quickcontrolwidget.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
** Meta object code from reading C++ file 'quickcontrolwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.0)
**
** WARNING! All changes made in this file will be lost!
*************************************************... | 43.074703 | 253 | 0.624611 | [
"object"
] |
504df86257f3a1b75449a0724ab4446c0f912c7e | 573 | cpp | C++ | code/exploration_13-COMPOUND_STATEMENTS/02-local_variable_definitions_in_a_nested_block/main.cpp | ordinary-developer/exploring_cpp_11_2_ed_r_lischner | 468de9c64ae54db45c4de748436947d5849c4582 | [
"MIT"
] | 1 | 2017-05-04T08:23:46.000Z | 2017-05-04T08:23:46.000Z | code/exploration_13-COMPOUND_STATEMENTS/02-local_variable_definitions_in_a_nested_block/main.cpp | ordinary-developer/exploring_cpp_11_2_ed_r_lischner | 468de9c64ae54db45c4de748436947d5849c4582 | [
"MIT"
] | null | null | null | code/exploration_13-COMPOUND_STATEMENTS/02-local_variable_definitions_in_a_nested_block/main.cpp | ordinary-developer/exploring_cpp_11_2_ed_r_lischner | 468de9c64ae54db45c4de748436947d5849c4582 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cassert>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
int main() {
std::vector<int> data{};
data.insert(data.begin(), std::istream_iterator<int>(std::cin),
std::istream_iterator<int>());
std::sort(data.begin(), dat... | 21.222222 | 67 | 0.506108 | [
"vector"
] |
504ee22f72e457812d09f09928d1168d6e08e30c | 24,873 | cpp | C++ | cmds/statsd/tests/LogEvent_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 164 | 2015-01-05T16:49:11.000Z | 2022-03-29T20:40:27.000Z | cmds/statsd/tests/LogEvent_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 127 | 2015-01-12T12:02:32.000Z | 2021-11-28T08:46:25.000Z | cmds/statsd/tests/LogEvent_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 1,141 | 2015-01-01T22:54:40.000Z | 2022-02-09T22:08:26.000Z | // Copyright (C) 2017 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 applic... | 37.123881 | 85 | 0.695654 | [
"vector"
] |
5068027d40751c18aec93d039e028ea5d2b6a5c4 | 4,730 | cpp | C++ | test_results/scripts/plot_cov_along_path.cpp | ethz-asl/crowdbot_active_slam | 007f1a730e06cea0aaf653dc2f024da1169b9c9e | [
"MIT"
] | 21 | 2019-10-03T10:05:53.000Z | 2022-01-30T06:27:05.000Z | test_results/scripts/plot_cov_along_path.cpp | ethz-asl/crowdbot_active_slam | 007f1a730e06cea0aaf653dc2f024da1169b9c9e | [
"MIT"
] | 1 | 2020-06-07T08:12:40.000Z | 2020-06-08T14:40:13.000Z | test_results/scripts/plot_cov_along_path.cpp | ethz-asl/crowdbot_active_slam | 007f1a730e06cea0aaf653dc2f024da1169b9c9e | [
"MIT"
] | 5 | 2019-11-24T15:15:32.000Z | 2022-01-20T07:53:01.000Z | #include <iostream>
#include <fstream>
#include <plotty/matplotlibcpp.hpp>
#include <ros/ros.h>
#include <ros/package.h>
void getUncertainty(std::string file_path, std::vector<double>& uncertainty_vec,
std::vector<double>& path_length_vec){
std::ifstream cov_file(file_... | 31.118421 | 100 | 0.578858 | [
"vector"
] |
506b531156a16942195379bcf7261ed6b612c46b | 997 | cpp | C++ | main.cpp | dubzzz/gtest-using-cmake-example | 8c49876c7251d36f296c30a095aed4ed19e93160 | [
"MIT"
] | 3 | 2018-12-13T22:42:20.000Z | 2019-09-19T05:42:51.000Z | main.cpp | dubzzz/gtest-using-cmake-example | 8c49876c7251d36f296c30a095aed4ed19e93160 | [
"MIT"
] | null | null | null | main.cpp | dubzzz/gtest-using-cmake-example | 8c49876c7251d36f296c30a095aed4ed19e93160 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <functional>
#include <numeric>
#include <vector>
#include "gtest/gtest.h" // gtest must be build using /MTd or /MT -DCMAKE_CXX_FLAGS_DEBUG="/MTd"
std::vector<unsigned long long> build_factorials(unsigned num)
{
if (num == 0)
{
return {};
}
std::vector<unsigned long long> vs(... | 23.738095 | 96 | 0.651956 | [
"vector",
"transform"
] |
50704b69528fdad45ead1c8534446959d45ccec2 | 6,077 | cpp | C++ | OpenSees/SRC/reliability/analysis/stepSize/ArmijoStepSizeRule.cpp | kuanshi/ductile-fracture | ccb350564df54f5c5ec3a079100effe261b46650 | [
"MIT"
] | 8 | 2019-03-05T16:25:10.000Z | 2020-04-17T14:12:03.000Z | SRC/reliability/analysis/stepSize/ArmijoStepSizeRule.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | null | null | null | SRC/reliability/analysis/stepSize/ArmijoStepSizeRule.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 3 | 2019-09-21T03:11:11.000Z | 2020-01-19T07:29:37.000Z | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | 30.233831 | 103 | 0.549778 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.