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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cfc63ea2d5bd5db41678cdf5ab4fb14eff58aee4 | 9,617 | cpp | C++ | src/Stitcher.cpp | rhiestan/RegardRGBD | 04a6135c537828ef7b35d5b1ac4f1e1a3b4e0b34 | [
"MIT"
] | 2 | 2021-06-03T20:32:02.000Z | 2021-08-12T09:38:09.000Z | src/Stitcher.cpp | rhiestan/RegardRGBD | 04a6135c537828ef7b35d5b1ac4f1e1a3b4e0b34 | [
"MIT"
] | null | null | null | src/Stitcher.cpp | rhiestan/RegardRGBD | 04a6135c537828ef7b35d5b1ac4f1e1a3b4e0b34 | [
"MIT"
] | null | null | null |
#include "Stitcher.h"
#include <iostream>
#include <sstream>
#include <limits>
#include <Eigen/LU>
#include <Eigen/Geometry>
#include <open3d/pipelines/registration/GlobalOptimization.h>
#include <open3d/pipelines/color_map/ColorMapOptimization.h>
Stitcher::Stitcher()
{
}
Stitcher::~Stitcher()
{... | 33.862676 | 166 | 0.668192 | [
"mesh",
"geometry"
] |
cfc8e844443b2924d7b3650d6d8a61e736e7e1f7 | 1,610 | cpp | C++ | lib/libCFG/src/BlockQueueUniq.cpp | cyber-itl/citl-static-analysis | 32ef8e519dac1c6a49ff41d902a62df8f5a8e948 | [
"MIT"
] | 14 | 2021-05-03T16:03:22.000Z | 2022-02-14T23:42:39.000Z | lib/libCFG/src/BlockQueueUniq.cpp | cyber-itl/citl-static-analysis | 32ef8e519dac1c6a49ff41d902a62df8f5a8e948 | [
"MIT"
] | 1 | 2021-09-27T12:01:33.000Z | 2021-09-27T12:01:33.000Z | lib/libCFG/src/BlockQueueUniq.cpp | cyber-itl/citl-static-analysis | 32ef8e519dac1c6a49ff41d902a62df8f5a8e948 | [
"MIT"
] | null | null | null | #include <cstdint>
#include <vector>
#include <utility>
#include "glog/logging.h"
#include "Block.hpp"
#include "BlockQueueUniq.hpp"
bool BlockQueueUniq::push(Block block) {
if (m_set.insert(block.start).second) {
m_queue.emplace(block);
return true;
}
return false;
}
Block BlockQueueUni... | 21.466667 | 76 | 0.604348 | [
"vector"
] |
cfc921f34f5d74d2f81a29e813127c9cef7914fb | 11,207 | cpp | C++ | source/utopian/core/renderer/jobs/AtmosphereJob.cpp | simplerr/Papageno | 7ec1da40dc0459e26f5b9a8a3f72d8962237040d | [
"MIT"
] | null | null | null | source/utopian/core/renderer/jobs/AtmosphereJob.cpp | simplerr/Papageno | 7ec1da40dc0459e26f5b9a8a3f72d8962237040d | [
"MIT"
] | null | null | null | source/utopian/core/renderer/jobs/AtmosphereJob.cpp | simplerr/Papageno | 7ec1da40dc0459e26f5b9a8a3f72d8962237040d | [
"MIT"
] | null | null | null | #include "core/renderer/jobs/AtmosphereJob.h"
#include "core/renderer/jobs/GBufferJob.h"
#include "core/renderer/CommonJobIncludes.h"
#include "core/renderer/Light.h"
#include "core/renderer/Primitive.h"
#include "core/renderer/Model.h"
#include "core/Camera.h"
#include "core/Input.h"
#include <vulkan/vulkan_core.h>
n... | 46.695833 | 161 | 0.681271 | [
"render",
"vector",
"model"
] |
cfd49ac327751d735fc0c63611692e13ea9c0d5e | 1,802 | cpp | C++ | lib/modules/CommLink.cpp | CollinAvidano/robocup-firmware | 847900af9a4a4b3aef4b9aab494b75723b3e10a4 | [
"Apache-2.0"
] | null | null | null | lib/modules/CommLink.cpp | CollinAvidano/robocup-firmware | 847900af9a4a4b3aef4b9aab494b75723b3e10a4 | [
"Apache-2.0"
] | null | null | null | lib/modules/CommLink.cpp | CollinAvidano/robocup-firmware | 847900af9a4a4b3aef4b9aab494b75723b3e10a4 | [
"Apache-2.0"
] | null | null | null | #include "CommLink.hpp"
#include "Assert.hpp"
#include "Logger.hpp"
namespace {
// DEFAULT_STACK_SIZE defined in rtos library
constexpr auto STACK_SIZE = DEFAULT_STACK_SIZE / 2;
constexpr auto RX_PRIORITY = osPriorityHigh;
}
std::unique_ptr<CommLink> globalRadio = nullptr;
CommLink::CommLink(SpiPtrT sharedSPI, PinN... | 31.068966 | 76 | 0.679245 | [
"object"
] |
cfd66b84d2e61b51c666f7f7f3cf26f85aae455d | 2,488 | cpp | C++ | Furiosity/Gameplay/3D/DynamicEntity3D.cpp | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 7 | 2015-05-14T18:36:18.000Z | 2020-08-30T19:09:33.000Z | Furiosity/Gameplay/3D/DynamicEntity3D.cpp | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 1 | 2015-10-23T14:24:08.000Z | 2015-10-23T14:24:08.000Z | Furiosity/Gameplay/3D/DynamicEntity3D.cpp | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 1 | 2020-07-31T23:34:49.000Z | 2020-07-31T23:34:49.000Z | ////////////////////////////////////////////////////////////////////////////////
// DynamicEntity3D.cpp
// Furiosity
//
// Created by Bojan Endrovski on 9/17/13.
// Copyright (c) 2013 Furious Pixels. All rights reserved.
////////////////////////////////////////////////////////////////////////////////
#include "Dyn... | 27.340659 | 82 | 0.561093 | [
"transform"
] |
cfe6d7bf3b5c71fe5e302a6697bc0e346a6eb7a0 | 111 | cpp | C++ | Framework/01_pjsua/src/Global.cpp | zhenkunhe/Developer-Tutorial | 6e4e4e36364fd8081a68ebf43bf6ab433add613e | [
"MIT"
] | null | null | null | Framework/01_pjsua/src/Global.cpp | zhenkunhe/Developer-Tutorial | 6e4e4e36364fd8081a68ebf43bf6ab433add613e | [
"MIT"
] | null | null | null | Framework/01_pjsua/src/Global.cpp | zhenkunhe/Developer-Tutorial | 6e4e4e36364fd8081a68ebf43bf6ab433add613e | [
"MIT"
] | null | null | null | #include <pjsua/Global.hpp>
ThreadPool Global::pool( THREAD_POOL_SIZE );
vector<future<int>> Global::results;
| 22.2 | 44 | 0.765766 | [
"vector"
] |
cfe8bce432387eeaaadd64a8b9b3422ab3cd6237 | 8,355 | cpp | C++ | src/lib/VideoReader.subsref.cpp | Joe136/octave-forge-video | eb31e64ae5933b09c3c05033404c89b9fe88c8b9 | [
"BSD-2-Clause"
] | null | null | null | src/lib/VideoReader.subsref.cpp | Joe136/octave-forge-video | eb31e64ae5933b09c3c05033404c89b9fe88c8b9 | [
"BSD-2-Clause"
] | null | null | null | src/lib/VideoReader.subsref.cpp | Joe136/octave-forge-video | eb31e64ae5933b09c3c05033404c89b9fe88c8b9 | [
"BSD-2-Clause"
] | null | null | null | /* Copyright (C) 2015 Joe136 <Joe136@users.noreply.github.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditi... | 37.977273 | 166 | 0.553561 | [
"vector",
"transform"
] |
cff6bd8c7e1c167b78592cf03c8a9ce2a2f037b0 | 9,476 | cpp | C++ | test/test_linear_model.cpp | accosmin/libnan | a47c28f22df2c0943697dccb007de946090c7705 | [
"MIT"
] | null | null | null | test/test_linear_model.cpp | accosmin/libnan | a47c28f22df2c0943697dccb007de946090c7705 | [
"MIT"
] | null | null | null | test/test_linear_model.cpp | accosmin/libnan | a47c28f22df2c0943697dccb007de946090c7705 | [
"MIT"
] | null | null | null | #include "fixture/loss.h"
#include "fixture/linear.h"
#include <nano/linear/regularization.h>
using namespace nano;
static void check_outputs(const dataset_generator_t& generator,
const indices_t& samples, const tensor4d_t& outputs, scalar_t epsilon)
{
auto iterator = flatten_iterator_t{generator, samples};
... | 35.62406 | 115 | 0.663149 | [
"model"
] |
cff7613b7626248e1d3ccaf2bebeb907742cbff4 | 3,771 | hpp | C++ | ext/src/java/lang/Long.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/lang/Long.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/lang/Long.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/math/fwd-POI.hpp>
#include <java/lang/Number.hpp>
#include <java/lang/Comparable.hpp>
struct default_init_tag;
class java::lang::Long ... | 33.078947 | 117 | 0.718907 | [
"object"
] |
320219c7e5af97fd329c0e728a2987747dba62c5 | 7,449 | cpp | C++ | Code/Framework/AzCore/AzCore/Settings/ConfigurableStack.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-28T08:06:58.000Z | 2022-03-28T08:06:58.000Z | Code/Framework/AzCore/AzCore/Settings/ConfigurableStack.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzCore/AzCore/Settings/ConfigurableStack.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/Memory/SystemAllocator.h>
#include <AzCore/Settings/ConfigurableStack.h>
#include... | 43.057803 | 137 | 0.618204 | [
"3d"
] |
320392735062c5f05d8a0c00e3f770b5c1788afa | 15,026 | cpp | C++ | base/cluster/wmiprovider/clusterwmiprovider.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/cluster/wmiprovider/clusterwmiprovider.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/cluster/wmiprovider/clusterwmiprovider.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /////////////////////////////////////////////////////////////////////
//
// CopyRight (c) 1999-2002 Microsoft Corporation
//
// Module Name:
// ClusterWMIProvider.cpp
//
// Description:
// Implementation of the provider registration and entry point.
//
// Author:
// Henry Wang (HenryWa) 24... | 27.621324 | 585 | 0.449621 | [
"object"
] |
3205e75112c846bad8257abe52020eb1e594e092 | 11,828 | cpp | C++ | src/load_obj.cpp | madmann91/hagrid | fa3eb62eba14d073dfeddd3b9ca8fbfb2d6848af | [
"MIT"
] | 24 | 2017-03-13T05:40:11.000Z | 2018-11-05T16:10:04.000Z | src/load_obj.cpp | madmann91/hagrid | fa3eb62eba14d073dfeddd3b9ca8fbfb2d6848af | [
"MIT"
] | 1 | 2020-07-15T12:55:46.000Z | 2020-07-15T14:30:14.000Z | src/load_obj.cpp | madmann91/hagrid | fa3eb62eba14d073dfeddd3b9ca8fbfb2d6848af | [
"MIT"
] | 5 | 2017-03-13T09:56:11.000Z | 2018-03-05T16:53:45.000Z | #include <fstream>
#include <iostream>
#include <cstring>
#include <cstdlib>
#include "load_obj.h"
namespace hagrid {
inline void error() {
std::cerr << std::endl;
}
template <typename T, typename... Args>
inline void error(T t, Args... args) {
#ifndef NDEBUG
std::cerr << t;
error(args...);
#endif
}
i... | 32.674033 | 116 | 0.453247 | [
"object"
] |
320eca4a39357ec0f538d414d3e90b45f65f50cc | 1,001 | hpp | C++ | include/plane_detector/plane.hpp | robotics-upo/plane_detector | c3ca7d25b5be9c7d7063489523bed9388d4a5ee0 | [
"MIT"
] | 42 | 2018-08-02T01:08:15.000Z | 2022-03-18T05:11:27.000Z | include/plane_detector/plane.hpp | robotics-upo/plane_detector | c3ca7d25b5be9c7d7063489523bed9388d4a5ee0 | [
"MIT"
] | 3 | 2019-07-17T04:03:03.000Z | 2022-01-27T11:02:45.000Z | include/plane_detector/plane.hpp | robotics-upo/plane_detector | c3ca7d25b5be9c7d7063489523bed9388d4a5ee0 | [
"MIT"
] | 8 | 2018-08-03T07:15:20.000Z | 2020-09-03T06:33:38.000Z | #ifndef PLANE_HPP__
#define PLANE_HPP__
#include <eigen3/Eigen/Geometry>
#include <sstream>
// Describes the plane as all the points (p) that fulfills v*p = d
class Plane {
public:
// Basic data
Eigen::Vector3d v;
double d;
//! @brief Default constructor
Plane() {
v(0) = v(1) = v(2) = d = 0.0;
}
... | 16.683333 | 66 | 0.605395 | [
"geometry"
] |
321469cc7762a12ab12daddd5b2a3d8b586cfc9e | 4,135 | cpp | C++ | src/PDFArrayDriver.cpp | shutterstock/HummusJS | e6e4b0e4887129bf45d7950c6008d00c9d6cb3fd | [
"Apache-2.0"
] | null | null | null | src/PDFArrayDriver.cpp | shutterstock/HummusJS | e6e4b0e4887129bf45d7950c6008d00c9d6cb3fd | [
"Apache-2.0"
] | null | null | null | src/PDFArrayDriver.cpp | shutterstock/HummusJS | e6e4b0e4887129bf45d7950c6008d00c9d6cb3fd | [
"Apache-2.0"
] | 2 | 2016-05-13T08:16:22.000Z | 2021-03-25T20:58:53.000Z | /*
Source File : PDFArrayDriver.h
Copyright 2013 Gal Kahana HummusJS
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 req... | 29.535714 | 111 | 0.727207 | [
"object"
] |
3214d828cdaebdb397991fd93abb2e814865b63c | 1,178 | cpp | C++ | DSA_Implementation/Z01/Sorting/4. Merge Sort Recursive.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | 5 | 2021-02-14T17:48:21.000Z | 2022-01-24T14:29:44.000Z | DSA_Implementation/Z01/Sorting/4. Merge Sort Recursive.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | DSA_Implementation/Z01/Sorting/4. Merge Sort Recursive.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// Time: O(nlogn)
// Auxiliary Space: O(n)
// In-Place: No
// Stable: Yes
// Class: Comparison based
// Divide and Conquer algorithm
//Drawbacks:
/// Takes extra memory
/// It goes through the whole process even if the array is sorted
void merge(vector<int> &nums, in... | 15.298701 | 67 | 0.55348 | [
"vector"
] |
321987cb6acccbdfe5805cfb0baf407a16808428 | 2,581 | cpp | C++ | src/SpawnLoader.cpp | SentientCoffee/Primordial | d9bd9161851507f2ef51c3548b710944207e8d10 | [
"MIT"
] | 2 | 2019-11-08T17:22:50.000Z | 2020-01-09T00:56:35.000Z | src/SpawnLoader.cpp | SentientCoffee/Primordial | d9bd9161851507f2ef51c3548b710944207e8d10 | [
"MIT"
] | null | null | null | src/SpawnLoader.cpp | SentientCoffee/Primordial | d9bd9161851507f2ef51c3548b710944207e8d10 | [
"MIT"
] | null | null | null | #include "SpawnLoader.h"
#include <string>
#include <iostream>
void SpawnPoint::rotate(float rotation)
{
if (rotation / 90.0f == 1.0f) {
_position = glm::vec3(_position.z, _position.y, -_position.x);
}
else if (rotation / 90.0f == 2.0f) {
_position.x *= -1;
_position.z *= -1;
}
else if (rotation / 90.0f == 3... | 25.81 | 143 | 0.615653 | [
"object"
] |
3224200cac7188e1b9d7e3c7d50788ccd47d54f0 | 1,124 | cpp | C++ | 804_uniqueMorseCodeWords.cpp | xyp8023/LeetCode_Solutions | de330cfb99b71538f96a70205fecf34f3d19093a | [
"MIT"
] | null | null | null | 804_uniqueMorseCodeWords.cpp | xyp8023/LeetCode_Solutions | de330cfb99b71538f96a70205fecf34f3d19093a | [
"MIT"
] | null | null | null | 804_uniqueMorseCodeWords.cpp | xyp8023/LeetCode_Solutions | de330cfb99b71538f96a70205fecf34f3d19093a | [
"MIT"
] | null | null | null | #include <vector>
#include <string>
#include <set>
#include <algorithm>
#include <iostream>
using namespace std;
class Solution {
public:
int uniqueMorseRepresentations(vector<string>& words) {
string alphabet = "abcdefghijklmnopqrstuvwxyz";
vector<string> morse = {".-","-...","-.-.","-..",".","..... | 28.1 | 193 | 0.435053 | [
"vector"
] |
3228f11a89137c5ecfa3f9f2583aa28710040f2b | 2,425 | hpp | C++ | Tefnout/src/Tefnout/ECS/WarehouseManager.hpp | JeremyBois/Tefnout | 3e0d79c96857a395d2f00a61bb25a49ce39c8c89 | [
"Apache-2.0",
"MIT"
] | null | null | null | Tefnout/src/Tefnout/ECS/WarehouseManager.hpp | JeremyBois/Tefnout | 3e0d79c96857a395d2f00a61bb25a49ce39c8c89 | [
"Apache-2.0",
"MIT"
] | null | null | null | Tefnout/src/Tefnout/ECS/WarehouseManager.hpp | JeremyBois/Tefnout | 3e0d79c96857a395d2f00a61bb25a49ce39c8c89 | [
"Apache-2.0",
"MIT"
] | null | null | null | #ifndef __TEFNOUT_WAREHOUSEMANAGER__HPP
#define __TEFNOUT_WAREHOUSEMANAGER__HPP
#include "Tefnout/Core/Debug.hpp"
#include "Tefnout/ECS/Entity.hpp"
#include "Tefnout/ECS/FamilyGenerator.hpp"
#include "Tefnout/ECS/SparseSet.hpp"
#include "Tefnout/ECS/Warehouse.hpp"
#include <memory>
#include <utility>
namespace Tefnou... | 25 | 96 | 0.625155 | [
"vector"
] |
322b8d9b736e1388eaa3981727267ae8de1e8e35 | 6,606 | cpp | C++ | PAT_A/PAT_A1026new.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | 3 | 2019-07-08T05:20:28.000Z | 2021-09-22T10:53:26.000Z | PAT_A/PAT_A1026new.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | null | null | null | PAT_A/PAT_A1026new.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int inf = 1000000000;
int n, hour, minute, second, lasttime, tag, k, m;
bool isviproom[110];
int counts[110];
struct player
{
int arrivetime, lasttime;
player(int _arrivetime, int _lasttime){arrivetime = _arrivetime;lasttime = _lasttime;}
};
struct room
{
... | 40.527607 | 291 | 0.551922 | [
"vector"
] |
7a9254e8170e414dcfbb000f286d8242a1bd7d09 | 13,806 | cc | C++ | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcrgeo/geo_griddedpoints.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcrgeo/geo_griddedpoints.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcrgeo/geo_griddedpoints.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | #ifndef INCLUDED_STDDEFX
#include "stddefx.h"
#define INCLUDED_STDDEFX
#endif
#ifndef INCLUDED_GEO_GRIDDEDPOINTS
#include "geo_griddedpoints.h"
#define INCLUDED_GEO_GRIDDEDPOINTS
#endif
// Library headers.
#ifndef INCLUDED_ALGORITHM
#include <algorithm>
#define INCLUDED_ALGORITHM
#endif
#ifndef INCLUDED_FUNCTIONAL
#... | 20.243402 | 131 | 0.648921 | [
"vector"
] |
7aac660d19198592467393489ff0768de90afe60 | 1,507 | cpp | C++ | solutions/LeetCode/C++/1110.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/1110.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/1110.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
... | 32.06383 | 116 | 0.638354 | [
"vector"
] |
7aadabeb103675dc712ace30435769ab75b786dc | 43,429 | hpp | C++ | include/htool/solvers/proto_ddm.hpp | htool-ddm/htool | e4dbec7c08c5008e62344fd0d5ebfdf95ef8863f | [
"MIT"
] | 15 | 2020-05-06T15:20:42.000Z | 2022-03-15T10:27:56.000Z | include/htool/solvers/proto_ddm.hpp | htool-ddm/htool | e4dbec7c08c5008e62344fd0d5ebfdf95ef8863f | [
"MIT"
] | 14 | 2020-05-25T13:59:11.000Z | 2022-03-02T16:40:45.000Z | include/htool/solvers/proto_ddm.hpp | PierreMarchand20/htool | b6e91690f8d7c20d67dfb3b8db2e7ea674405a37 | [
"MIT"
] | 2 | 2018-04-25T07:44:35.000Z | 2019-11-05T16:57:00.000Z | #ifndef HTOOL_PROTO_DDM_HPP
#define HTOOL_PROTO_DDM_HPP
#include "../types/hmatrix.hpp"
#include "../types/matrix.hpp"
#include "../wrappers/wrapper_hpddm.hpp"
#include "../wrappers/wrapper_mpi.hpp"
#include <HPDDM.hpp>
namespace htool {
template <typename T, template <typename, typename> class LowRankMatrix, class ... | 43.299103 | 593 | 0.523521 | [
"vector",
"transform"
] |
7aae4faf7d06808703d984cc45b84bb439ae6e56 | 3,252 | cpp | C++ | i2p1/src/function/lab12_3_107021128.cpp | richard21708/i2p-nthu-math | 2cd2aedd31fcfe29fd59f21db72e012b4e113421 | [
"MIT"
] | null | null | null | i2p1/src/function/lab12_3_107021128.cpp | richard21708/i2p-nthu-math | 2cd2aedd31fcfe29fd59f21db72e012b4e113421 | [
"MIT"
] | 7 | 2021-12-30T08:51:25.000Z | 2022-01-19T02:26:49.000Z | i2p1/src/function/lab12_3_107021128.cpp | richard21708/i2p-nthu-math | 2cd2aedd31fcfe29fd59f21db72e012b4e113421 | [
"MIT"
] | 17 | 2021-09-23T07:54:26.000Z | 2022-01-11T11:58:48.000Z | #include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
using namespace std;
void parse_expression(const string &expression, vector<string> &tokens);
bool check_expression(const vector<string> &tokens);
string calculate_postfix_expression(vector<string> &tokens, int &last_pos);
/... | 20.45283 | 75 | 0.612854 | [
"vector"
] |
7aaf3e866632d8ddfd8df45fb811c501e6b5dd98 | 4,408 | cxx | C++ | Examples/DataManipulation/Cxx/RGrid.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | 3 | 2015-07-28T18:07:50.000Z | 2018-02-28T20:59:58.000Z | Examples/DataManipulation/Cxx/RGrid.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | null | null | null | Examples/DataManipulation/Cxx/RGrid.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | 4 | 2016-09-08T02:11:00.000Z | 2019-08-15T02:38:39.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: RGrid.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distrib... | 35.837398 | 79 | 0.619328 | [
"render"
] |
7aca74cfa8c8cde3806f54dc2b57e2b11fdfa373 | 14,029 | cc | C++ | onnxruntime/core/providers/cpu/math/einsum_auxiliary_ops.cc | hwangdeyu/onnxruntime | 989fe2498f4dd0beaf1b4324bf74a39abaf86a29 | [
"MIT"
] | 1 | 2020-06-01T11:48:12.000Z | 2020-06-01T11:48:12.000Z | onnxruntime/core/providers/cpu/math/einsum_auxiliary_ops.cc | harish-kamath/onnxruntime_vw | 2c731cbf5aceb42182f1b40183a4e18d12a832c7 | [
"MIT"
] | 17 | 2020-07-21T11:13:27.000Z | 2022-03-27T02:37:05.000Z | onnxruntime/core/providers/cpu/math/einsum_auxiliary_ops.cc | Surfndez/onnxruntime | 9d748afff19e9604a00632d66b97159b917dabb2 | [
"MIT"
] | 1 | 2020-11-09T07:51:33.000Z | 2020-11-09T07:51:33.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "einsum_auxiliary_ops.h"
namespace onnxruntime {
namespace EinsumOp {
std::unique_ptr<Tensor> Transpose(const Tensor& input, const std::vector<int64_t>& input_shape_override,
co... | 45.846405 | 146 | 0.683299 | [
"shape",
"vector"
] |
7ad58f03e195f92a0d5a6da532ef2c24fcb30019 | 18,553 | cpp | C++ | shore/shore-mt/src/sm/tests/htab.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 4 | 2019-01-24T02:00:23.000Z | 2021-03-17T11:56:59.000Z | shore/shore-mt/src/sm/tests/htab.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 1 | 2020-06-23T08:29:09.000Z | 2020-06-24T12:11:47.000Z | shore/shore-mt/src/sm/tests/htab.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 4 | 2019-01-22T10:35:55.000Z | 2021-03-17T11:57:23.000Z | /*<std-header orig-src='shore'>
$Id: htab.cpp,v 1.3 2010/06/08 22:28:15 nhall Exp $
SHORE -- Scalable Heterogeneous Object REpository
Copyright (c) 1994-99 Computer Sciences Department, University of
Wisconsin -- Madison
All Rights Reserved.
Permission to use, copy, modify and distribute this... | 28.282012 | 82 | 0.514688 | [
"object"
] |
7ad85db5f5ab9108f2166ee08ae0d7822b1b68e0 | 3,325 | cpp | C++ | samples/hello_ar_c/app/src/main/gef_abertay/platform/win32/system/platform_win32_null_renderer.cpp | JD1305/arcore-android-sdk | ac3661d9dc65a608235d775cf6a916df2329b399 | [
"Apache-2.0"
] | null | null | null | samples/hello_ar_c/app/src/main/gef_abertay/platform/win32/system/platform_win32_null_renderer.cpp | JD1305/arcore-android-sdk | ac3661d9dc65a608235d775cf6a916df2329b399 | [
"Apache-2.0"
] | null | null | null | samples/hello_ar_c/app/src/main/gef_abertay/platform/win32/system/platform_win32_null_renderer.cpp | JD1305/arcore-android-sdk | ac3661d9dc65a608235d775cf6a916df2329b399 | [
"Apache-2.0"
] | null | null | null | #define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <platform/win32/system/platform_win32_null_renderer.h>
#include <platform/win32/system/file_win32.h>
#include <maths/matrix44.h>
namespace gef
{
PlatformWin32NullRenderer::PlatformWin32NullRenderer()
{
}
PlatformWin32NullRenderer::~PlatformWin32NullRender... | 20.524691 | 198 | 0.774135 | [
"mesh"
] |
7ad8fee5dc6174dceb4b5371ddac32079602414d | 1,858 | cpp | C++ | DP/NQueens/NQueens.cpp | yijingbai/LeetCode | 6ae6dbdf3a720b4206323401a0ed16ac2066031e | [
"MIT"
] | 2 | 2015-08-28T03:52:05.000Z | 2015-09-03T09:54:40.000Z | DP/NQueens/NQueens.cpp | yijingbai/LeetCode | 6ae6dbdf3a720b4206323401a0ed16ac2066031e | [
"MIT"
] | null | null | null | DP/NQueens/NQueens.cpp | yijingbai/LeetCode | 6ae6dbdf3a720b4206323401a0ed16ac2066031e | [
"MIT"
] | null | null | null | // Source : https://leetcode.com/problems/n-queens/
// Author : Yijing Bai
// Date : 2016-03-30
/**********************************************************************************
*
* The n-queens puzzle is the problem of placing n queens on an n×n chessboard such
* that no two queens attack each other.
*
* Giv... | 27.731343 | 113 | 0.466631 | [
"vector"
] |
7ade102d98f7302a21595b2f6633fe6ae40cf1d8 | 4,305 | cpp | C++ | src/stubgenerator/stubgenerator.cpp | asphaltpanthers/libjson-rpc-cpp | cff57ced952e5ff6f86da02fe59c1e2d02f1493f | [
"MIT"
] | 1 | 2019-05-06T06:58:00.000Z | 2019-05-06T06:58:00.000Z | src/bitcoin/stubgenerator/stubgenerator.cpp | mmgrant73/bitcoinapi | a7886ea4315852a457efed6e6f44d0b65a8993d6 | [
"MIT"
] | null | null | null | src/bitcoin/stubgenerator/stubgenerator.cpp | mmgrant73/bitcoinapi | a7886ea4315852a457efed6e6f44d0b65a8993d6 | [
"MIT"
] | 1 | 2021-07-14T14:18:22.000Z | 2021-07-14T14:18:22.000Z | /*************************************************************************
* libjson-rpc-cpp
*************************************************************************
* @file stubgenerator.cpp
* @date 01.05.2013
* @author Peter Spiess-Knafl <peter.knafl@gmail.com>
* @license See attached LICENSE.txt
*****... | 24.322034 | 88 | 0.527062 | [
"transform"
] |
7ae80d1dfa4bc3005bef235673553efb15ba2335 | 2,264 | cpp | C++ | aws-cpp-sdk-iotwireless/source/IoTWirelessErrors.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-iotwireless/source/IoTWirelessErrors.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-iotwireless/source/IoTWirelessErrors.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/core/client/AWSError.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/iotwireless/IoTWirelessErrors.h>
#include <aws/iotwireless/model/ConflictException.h>
#include <aws/iotwire... | 32.342857 | 100 | 0.785777 | [
"model"
] |
7aeea888089bb14c57aebd69f975bd6a47290703 | 2,853 | cpp | C++ | Samples/ContactCards/cpp/Scenario1_Mini.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,504 | 2019-05-07T06:56:42.000Z | 2022-03-31T19:37:59.000Z | Samples/ContactCards/cpp/Scenario1_Mini.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 314 | 2019-05-08T16:56:30.000Z | 2022-03-21T07:13:45.000Z | Samples/ContactCards/cpp/Scenario1_Mini.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,219 | 2019-05-07T00:47:26.000Z | 2022-03-30T21:12:31.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | 35.6625 | 102 | 0.67578 | [
"object"
] |
7af30174ba31f91bf49aecb8f3817e4946b2520f | 1,717 | hpp | C++ | include/scran/differential_analysis/delta_detected.hpp | LTLA/libscran | 12faf62c42c388f26db3b03d322c5f430e2c5080 | [
"MIT"
] | 4 | 2021-06-16T10:08:04.000Z | 2022-02-23T14:03:41.000Z | include/scran/differential_analysis/delta_detected.hpp | LTLA/libscran | 12faf62c42c388f26db3b03d322c5f430e2c5080 | [
"MIT"
] | 3 | 2021-10-16T23:14:47.000Z | 2021-12-23T07:51:54.000Z | include/scran/differential_analysis/delta_detected.hpp | LTLA/libscran | 12faf62c42c388f26db3b03d322c5f430e2c5080 | [
"MIT"
] | null | null | null | #ifndef SCRAN_DELTA_DETECTED_HPP
#define SCRAN_DELTA_DETECTED_HPP
#include <vector>
#include <limits>
namespace scran {
namespace differential_analysis {
template<typename Count, typename Stat, typename Ls>
void compute_pairwise_delta_detected (const Count* detected, const Ls& level_size, int ngroups, int nblocks, ... | 30.660714 | 133 | 0.532324 | [
"vector"
] |
7af4026178cd5c65a74eeda9bd45741a5d75a1f2 | 120 | cpp | C++ | src/handlers/ObjectHandler.cpp | GoldenbergDaniel/SFMLTemplate | d92806f406a13e02fc4de468921ac8adb2cc4da6 | [
"MIT"
] | null | null | null | src/handlers/ObjectHandler.cpp | GoldenbergDaniel/SFMLTemplate | d92806f406a13e02fc4de468921ac8adb2cc4da6 | [
"MIT"
] | null | null | null | src/handlers/ObjectHandler.cpp | GoldenbergDaniel/SFMLTemplate | d92806f406a13e02fc4de468921ac8adb2cc4da6 | [
"MIT"
] | null | null | null |
#include "../Globals.h"
#include "../content/Object.h"
#include "ObjectHandler.h"
// vector<Object> ObjectHandler::;
| 15 | 34 | 0.683333 | [
"object",
"vector"
] |
bb04c54f14099e0cd74a7933a62f8c7f8b2a2436 | 6,109 | cpp | C++ | 3rdparty/webkit/Source/JavaScriptCore/heap/CompleteSubspace.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/JavaScriptCore/heap/CompleteSubspace.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/JavaScriptCore/heap/CompleteSubspace.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | 1 | 2019-01-25T13:55:25.000Z | 2019-01-25T13:55:25.000Z | /*
* Copyright (C) 2017-2018 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 39.412903 | 136 | 0.732689 | [
"object"
] |
bb051078ad3023053a6c89e020bf6a71fadf40c6 | 3,918 | cpp | C++ | src/graphics/Sprite.cpp | simiaosimis/I_See_Fit_SDL2 | 29015ee729ad409fe5c5ff5a2dc74e01b8470c8e | [
"MIT"
] | null | null | null | src/graphics/Sprite.cpp | simiaosimis/I_See_Fit_SDL2 | 29015ee729ad409fe5c5ff5a2dc74e01b8470c8e | [
"MIT"
] | null | null | null | src/graphics/Sprite.cpp | simiaosimis/I_See_Fit_SDL2 | 29015ee729ad409fe5c5ff5a2dc74e01b8470c8e | [
"MIT"
] | null | null | null | #include "graphics/Sprite.h"
#include "engine/Game.h"
#include "util/Logger.h"
#include "util/Assert.h"
namespace sdl2engine {
Sprite::Sprite(const std::string& path) :
m_sdl_texture{nullptr},
m_width{0},
m_height{0},
m_path{path}
{
LoadFrom(m_path);
SetBlendMode(SDL_BLENDMODE_BLEND);
SetAlpha(255);
ASSERT(... | 23.745455 | 105 | 0.67611 | [
"render"
] |
bb0f6efff66364e9215bbd855fd35178b0f3d617 | 85,867 | cpp | C++ | src/MapLoopsBackToMeshLevelSetAndArc.cpp | anapupa/ReebHanTun | 679ba774b75f4f53c502cb79f69bc9061c009eb8 | [
"Unlicense"
] | null | null | null | src/MapLoopsBackToMeshLevelSetAndArc.cpp | anapupa/ReebHanTun | 679ba774b75f4f53c502cb79f69bc9061c009eb8 | [
"Unlicense"
] | null | null | null | src/MapLoopsBackToMeshLevelSetAndArc.cpp | anapupa/ReebHanTun | 679ba774b75f4f53c502cb79f69bc9061c009eb8 | [
"Unlicense"
] | null | null | null | /*
(c) 2012 Fengtao Fan
*/
#include "MapLoopsBackToMeshLevelSetAndArc.h"
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
void MapLoopsBackToMeshLevelSetAndArc::FindEdgeConnectingTwoVertices(const int src_x, const int dist_y, const int eid_y,
... | 44.375711 | 186 | 0.580526 | [
"mesh",
"vector"
] |
bb1f93652cded3e2418553995fb1cee7d8efc050 | 3,509 | cc | C++ | oos/src/model/ListPatchBaselinesResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | oos/src/model/ListPatchBaselinesResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | oos/src/model/ListPatchBaselinesResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 38.988889 | 105 | 0.787689 | [
"vector",
"model"
] |
bb22d6c0915af2c689cc5ada7a1411d9e979cd6a | 16,080 | cpp | C++ | src/mongo/s/catalog_cache_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/s/catalog_cache_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/s/catalog_cache_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 42.204724 | 100 | 0.711007 | [
"vector"
] |
bb25899c84f90bdbe991af556e5903d1074ca936 | 387 | inl | C++ | libiqxmlrpc/value_type.inl | kborkows/libiqxmlrpc | 046ac8a55b1b674f7406442dee533e1ecbfbb88d | [
"BSD-2-Clause"
] | 12 | 2016-01-20T15:25:30.000Z | 2022-03-02T20:21:01.000Z | libiqxmlrpc/value_type.inl | kborkows/libiqxmlrpc | 046ac8a55b1b674f7406442dee533e1ecbfbb88d | [
"BSD-2-Clause"
] | 11 | 2016-06-07T11:48:47.000Z | 2021-01-24T14:20:15.000Z | libiqxmlrpc/value_type.inl | kborkows/libiqxmlrpc | 046ac8a55b1b674f7406442dee533e1ecbfbb88d | [
"BSD-2-Clause"
] | 9 | 2016-05-02T16:05:27.000Z | 2020-10-09T07:43:03.000Z | // Libiqxmlrpc - an object-oriented XML-RPC solution.
// Copyright (C) 2013 Anton Dedov
#ifndef _iqxmlrpc_value_type_inl_
#define _iqxmlrpc_value_type_inl_
#include "value.h"
namespace iqxmlrpc {
template <class In>
void Array::assign( In first, In last )
{
clear();
for( ; first != last; ++first )
values.... | 17.590909 | 54 | 0.702842 | [
"object"
] |
bb262dc1df8a1a437e4cd8082108cb5bc9150d4b | 3,156 | cpp | C++ | src/apps/icon-o-matic/transformable/TransformPointsBox.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/apps/icon-o-matic/transformable/TransformPointsBox.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/apps/icon-o-matic/transformable/TransformPointsBox.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2006, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus <superstippi@gmx.de>
*/
#include "TransformPointsBox.h"
#include <new>
#include <stdio.h>
#include <string.h>
#include "StateView.h"
#include "TransformPointsCommand.h"
#include "Vec... | 21.324324 | 67 | 0.636882 | [
"object",
"transform"
] |
bb26c2aee0b92d0c35147b054d0ee62b9fbde2db | 22,610 | cpp | C++ | src/ri/Texture.cpp | tuxalin/vulkanri | a64897a31fba30c74b18308c59f70ea16767f578 | [
"WTFPL"
] | 5 | 2019-10-04T09:50:33.000Z | 2022-02-05T15:52:22.000Z | src/ri/Texture.cpp | RobertBeckebans/vulkanri | a64897a31fba30c74b18308c59f70ea16767f578 | [
"WTFPL"
] | 20 | 2017-11-22T22:58:06.000Z | 2019-02-19T22:18:48.000Z | src/ri/Texture.cpp | RobertBeckebans/vulkanri | a64897a31fba30c74b18308c59f70ea16767f578 | [
"WTFPL"
] | 1 | 2019-10-04T09:50:36.000Z | 2019-10-04T09:50:36.000Z |
#include <ri/Texture.h>
#include <ri/Buffer.h>
#include <ri/CommandBuffer.h>
#include <ri/DeviceContext.h>
namespace ri
{
namespace detail
{
const ri::Texture* createReferenceTexture(VkImage handle, int type, int format, const Sizei& size)
{
return new ri::Texture(handle, TextureType::from(type), Col... | 45.676768 | 120 | 0.663025 | [
"vector"
] |
bb296237de395704eaf571c85f6effb6b6e839ec | 374 | cpp | C++ | lonestar/patternmining/debug.cpp | bowu/Galois | 81f619a2bb1bdc95899729f2d96a7da38dd0c0a3 | [
"BSD-3-Clause"
] | null | null | null | lonestar/patternmining/debug.cpp | bowu/Galois | 81f619a2bb1bdc95899729f2d96a7da38dd0c0a3 | [
"BSD-3-Clause"
] | null | null | null | lonestar/patternmining/debug.cpp | bowu/Galois | 81f619a2bb1bdc95899729f2d96a7da38dd0c0a3 | [
"BSD-3-Clause"
] | null | null | null | #include "AutoMiner.h"
// template<class T>
// void print_vector(const std::vector<T> &v)
// {
// std::copy(v.begin(), v.end(), std::ostream_iterator<T>(std::cout, " "));
// //std::cout << std::endl;
// }
//
// void print_vector(std::vector<T> &v)
// {
// std::copy(v.begin(), v.end(), std::ostream_iterator<T>(s... | 23.375 | 77 | 0.550802 | [
"vector"
] |
bb2cf60b76460e25cf6d91900d9e4862abae4316 | 46,373 | cc | C++ | Network.cc | karlredgate/redx | c9fe9b43fe8bd36c90cab516470799d417b580ba | [
"MIT"
] | 1 | 2016-03-23T22:04:07.000Z | 2016-03-23T22:04:07.000Z | Network.cc | karlredgate/redx | c9fe9b43fe8bd36c90cab516470799d417b580ba | [
"MIT"
] | null | null | null | Network.cc | karlredgate/redx | c9fe9b43fe8bd36c90cab516470799d417b580ba | [
"MIT"
] | null | null | null |
/*
* Copyright (c) 2012-2021 Karl N. Redgate
*
* 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, mer... | 30.751326 | 134 | 0.580079 | [
"object"
] |
7d6bf66b7a29cb8e2a1b261cc57fe5003206c3a1 | 13,348 | cc | C++ | A4/Main/DatabaseTable/source/MyDB_BPlusTreeReaderWriter.cc | Hanyi-Wang-DarkStardust/Database-Implementation | fcbf529691482fcece44fa24adc16c86fc012822 | [
"Apache-2.0"
] | null | null | null | A4/Main/DatabaseTable/source/MyDB_BPlusTreeReaderWriter.cc | Hanyi-Wang-DarkStardust/Database-Implementation | fcbf529691482fcece44fa24adc16c86fc012822 | [
"Apache-2.0"
] | null | null | null | A4/Main/DatabaseTable/source/MyDB_BPlusTreeReaderWriter.cc | Hanyi-Wang-DarkStardust/Database-Implementation | fcbf529691482fcece44fa24adc16c86fc012822 | [
"Apache-2.0"
] | null | null | null |
#ifndef BPLUS_C
#define BPLUS_C
#include <MyDB_PageListIteratorAlt.h>
#include "MyDB_INRecord.h"
#include "MyDB_BPlusTreeReaderWriter.h"
#include "MyDB_PageReaderWriter.h"
#include "MyDB_PageListIteratorSelfSortingAlt.h"
#include "RecordComparator.h"
#include "algorithm"
//TO DO
MyDB_BPlusTreeReaderWriter :: MyDB_BP... | 36.469945 | 169 | 0.610054 | [
"vector"
] |
7d777574145b7e48f297ac720a4e4ee5eef75d50 | 10,152 | cpp | C++ | test/getting_started.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-06-14T23:49:18.000Z | 2018-06-14T23:49:18.000Z | test/getting_started.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2015-07-02T15:53:02.000Z | 2015-07-02T15:53:02.000Z | test/getting_started.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-02-26T17:11:03.000Z | 2018-02-26T17:11:03.000Z | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 33.84 | 98 | 0.627955 | [
"object",
"vector"
] |
7d7a2c1cfc1a732a4f8ba710bdede88d12106948 | 12,294 | cpp | C++ | src/tests/document/document.cpp | suma/hex | d45026bfde6277e03c37d7f4411589c200051387 | [
"BSD-3-Clause"
] | 3 | 2015-03-17T14:34:44.000Z | 2021-12-22T12:43:38.000Z | src/tests/document/document.cpp | suma/hex | d45026bfde6277e03c37d7f4411589c200051387 | [
"BSD-3-Clause"
] | null | null | null | src/tests/document/document.cpp | suma/hex | d45026bfde6277e03c37d7f4411589c200051387 | [
"BSD-3-Clause"
] | null | null | null | #include <QtTest/QtTest>
#include <QTemporaryFile>
#include <QDataStream>
#include <vector>
#include "control/document.h"
#include "control/commands.h"
#include "control/filemapreader.h"
class TestDocument: public QObject
{
Q_OBJECT
public:
TestDocument();
private slots:
void initTestCase();
void cleanupTestC... | 22.766667 | 105 | 0.624614 | [
"vector"
] |
7d8048b1e96bd0ebe0a89c4095517d77e46419b6 | 2,596 | hpp | C++ | include/emulator/access.hpp | shift-crops/x86emu | fa65d448d71145fd611559a8a037dba211bb31a5 | [
"MIT"
] | 85 | 2017-03-24T13:02:38.000Z | 2022-02-17T23:22:55.000Z | include/emulator/access.hpp | shift-crops/x86emu | fa65d448d71145fd611559a8a037dba211bb31a5 | [
"MIT"
] | null | null | null | include/emulator/access.hpp | shift-crops/x86emu | fa65d448d71145fd611559a8a037dba211bb31a5 | [
"MIT"
] | 14 | 2017-05-06T18:34:31.000Z | 2021-05-12T10:24:43.000Z | #ifndef _DATA_ACCESS_H
#define _DATA_ACCESS_H
#include "common.hpp"
#include <vector>
#include "hardware/hardware.hpp"
struct PDE {
uint32_t P : 1;
uint32_t RW : 1;
uint32_t US : 1;
uint32_t PWT : 1;
uint32_t PCD : 1;
uint32_t A : 1;
uint32_t : 1;
uint32_t PS : 1;
uint32_t G : 1;
uint32_t : 3;
uint32_t ptb... | 31.658537 | 110 | 0.727273 | [
"vector"
] |
7d837dd48787ddb013adeb20b4706c054e248336 | 569 | cpp | C++ | DSA/Week16/heap.cpp | lixk28/Assignment | 1128d041a111063be0dba1699ebcf4aa8a74e49c | [
"MIT"
] | null | null | null | DSA/Week16/heap.cpp | lixk28/Assignment | 1128d041a111063be0dba1699ebcf4aa8a74e49c | [
"MIT"
] | null | null | null | DSA/Week16/heap.cpp | lixk28/Assignment | 1128d041a111063be0dba1699ebcf4aa8a74e49c | [
"MIT"
] | null | null | null | /*
* @Author: Xuekun Li
* @Date: 2020-12-16 17:10:46
* @LastEditor: Xuekun Li
* @LastEditTime: 2020-12-16 17:16:24
* @Description: Try to code your bug.
*/
#include <iostream>
#include <vector>
using namespace std;
typedef int T;
void push_heap(vector<T> &v, size_t i) {
//Pre: v[0...i-1] is a ... | 19.62069 | 81 | 0.56942 | [
"vector"
] |
7d87b2dc14b54b0357cf151d845b09e340d98de0 | 849 | cpp | C++ | kickstart/2020/round e/longest_arithmetic.cpp | Surya-06/My-Solutions | 58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806 | [
"MIT"
] | null | null | null | kickstart/2020/round e/longest_arithmetic.cpp | Surya-06/My-Solutions | 58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806 | [
"MIT"
] | null | null | null | kickstart/2020/round e/longest_arithmetic.cpp | Surya-06/My-Solutions | 58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806 | [
"MIT"
] | null | null | null | #include <iostream>
#include <limits>
#include <vector>
using namespace std;
typedef long long int llint;
llint __calc__() {
llint n;
cin >> n;
llint first_value, previous_value, current_value;
cin >> first_value >> previous_value;
llint diff = previous_value - first_value;
llint answer = 1, current_cou... | 19.744186 | 51 | 0.592462 | [
"vector"
] |
7d92114596cac624f4e6dac3c9e802169bba94e9 | 12,269 | cpp | C++ | External/Quiver/Source/Quiver/Quiver/Application/WorldEditor/WorldEditor.cpp | rachelnertia/Quarrel | 69616179fc71305757549c7fcaccc22707a91ba4 | [
"MIT"
] | 39 | 2017-10-22T15:47:39.000Z | 2020-03-31T22:19:55.000Z | External/Quiver/Source/Quiver/Quiver/Application/WorldEditor/WorldEditor.cpp | rachelnertia/Quarrel | 69616179fc71305757549c7fcaccc22707a91ba4 | [
"MIT"
] | 46 | 2017-10-26T21:21:51.000Z | 2018-10-13T14:46:17.000Z | Source/Quiver/Quiver/Application/WorldEditor/WorldEditor.cpp | rachelnertia/Quiver | c8ef9591117bdfc8d6fa509ae53451e0807f5686 | [
"MIT"
] | 8 | 2017-10-22T14:47:57.000Z | 2020-03-19T10:08:45.000Z | #include "WorldEditor.h"
#include <iostream>
#include <string>
#include <fstream>
#include <Box2D/Collision/Shapes/b2CircleShape.h>
#include <Box2D/Collision/Shapes/b2PolygonShape.h>
#include <Box2D/Dynamics/b2Fixture.h>
#include <Box2D/Dynamics/b2World.h>
#include <Box2D/Dynamics/b2WorldCallbacks.h>
#include <ImGui/... | 25.883966 | 125 | 0.697938 | [
"render",
"vector",
"3d"
] |
7d9add1f08b6b2361c35e18c23f0e89367c2909a | 16,377 | cpp | C++ | Sandbox/Eudora/TridentPreviewView.cpp | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-05-23T10:43:48.000Z | 2021-12-02T17:59:48.000Z | Windows/Sandbox/Eudora/TridentPreviewView.cpp | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | 1 | 2019-03-19T03:56:36.000Z | 2021-05-26T18:36:03.000Z | Windows/Sandbox/Eudora/TridentPreviewView.cpp | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | 11 | 2018-05-23T10:43:53.000Z | 2021-12-27T15:42:58.000Z | // TridentPreviewView.cpp: implementation of the CTridentPreviewView class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "eudora.h"
#ifdef IDM_PROPERTIES
#undef IDM_PROPERTIES
#endif
#include "TridentReadMessageView.h"
#include "TridentPreviewView.h"
#include... | 22.161028 | 120 | 0.634487 | [
"object"
] |
7d9b4d12037382363497d048291b7651d3662e6b | 1,180 | cc | C++ | solutions/codeforces/contest/702/c.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 4 | 2020-11-07T14:38:02.000Z | 2022-01-03T19:02:36.000Z | solutions/codeforces/contest/702/c.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 1 | 2019-04-17T06:55:14.000Z | 2019-04-17T06:55:14.000Z | solutions/codeforces/contest/702/c.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <bitset>
#include <chrono>
#include <climits>
#include <cmath>
#include <deque>
#include <ext/pb_ds/assoc_container.hpp>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <s... | 19.344262 | 73 | 0.581356 | [
"vector"
] |
7da640c79403850ac5bcddcf1217097537ba2153 | 16,579 | cpp | C++ | labs/lab1/src/lightir/Instruction.cpp | ltzheng/compiler-ustc | 4856701207876e73480a5c431c03d19b7dcce7a3 | [
"MIT"
] | 2 | 2021-06-19T23:58:00.000Z | 2021-12-07T10:49:13.000Z | labs/lab1/src/lightir/Instruction.cpp | ltzheng/compiler-ustc | 4856701207876e73480a5c431c03d19b7dcce7a3 | [
"MIT"
] | null | null | null | labs/lab1/src/lightir/Instruction.cpp | ltzheng/compiler-ustc | 4856701207876e73480a5c431c03d19b7dcce7a3 | [
"MIT"
] | null | null | null | #include "Type.h"
#include "Module.h"
#include "Function.h"
#include "BasicBlock.h"
#include "Instruction.h"
#include "IRprinter.h"
#include <cassert>
Instruction::Instruction(Type *ty, OpID id, unsigned num_ops,
BasicBlock *parent)
: User(ty, "", num_ops), op_id_(id), num_ops_(num_ops), pa... | 28.1 | 103 | 0.626214 | [
"vector"
] |
7dab7462f5add32354ba182028a9832b62338666 | 2,281 | cpp | C++ | examples/wandbox_example/wandbox_example.cpp | gracicot/DICL | 47c89c18a599382bd39cfb80ad6e2496e4c9ce42 | [
"MIT"
] | 362 | 2015-10-07T09:24:46.000Z | 2022-03-16T07:31:05.000Z | examples/wandbox_example/wandbox_example.cpp | gracicot/DICL | 47c89c18a599382bd39cfb80ad6e2496e4c9ce42 | [
"MIT"
] | 91 | 2015-04-13T19:19:25.000Z | 2022-03-07T13:23:26.000Z | examples/wandbox_example/wandbox_example.cpp | gracicot/DICL | 47c89c18a599382bd39cfb80ad6e2496e4c9ce42 | [
"MIT"
] | 40 | 2015-04-13T11:46:33.000Z | 2022-02-13T18:43:27.000Z | #include <kangaru/kangaru.hpp>
#include <iostream>
// This macro is used as a shortcut to use kgr::Method. Won't be needed in C++17
#define METHOD(...) ::kgr::method<decltype(__VA_ARGS__), __VA_ARGS__>
// The following classes are user classes.
// As you can see, this library is not intrusive and don't require modifi... | 30.013158 | 94 | 0.734327 | [
"object"
] |
7dada59be2ee5a2df875c24deb025bcbdf8f65bd | 2,511 | hpp | C++ | lib/lib/propcov-cpp/RectangularSensor.hpp | ryanketzner/sphericalpolygon | de7ab321382d192b86e7ad9527f025a143f3f3f7 | [
"Apache-2.0"
] | 4 | 2021-12-23T16:49:06.000Z | 2022-02-09T21:36:31.000Z | lib/lib/propcov-cpp/RectangularSensor.hpp | ryanketzner/sphericalpolygon | de7ab321382d192b86e7ad9527f025a143f3f3f7 | [
"Apache-2.0"
] | 15 | 2022-01-14T17:28:14.000Z | 2022-02-11T02:39:25.000Z | lib/lib/propcov-cpp/RectangularSensor.hpp | ryanketzner/sphericalpolygon | de7ab321382d192b86e7ad9527f025a143f3f3f7 | [
"Apache-2.0"
] | 1 | 2022-02-03T15:44:16.000Z | 2022-02-03T15:44:16.000Z | //------------------------------------------------------------------------------
// RectangularSensor
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool.
//
// Copyright (c) 2002 - 2017 United States Government as represented... | 34.875 | 80 | 0.642772 | [
"vector"
] |
7dae65c1db40507fc42c08d22ccd95e90f461807 | 16,862 | cpp | C++ | cplus/libcfint/CFIntURLProtocolEditObj.cpp | msobkow/cfint_2_13 | 63ff9dfc85647066d0c8d61469ada572362e2b48 | [
"Apache-2.0"
] | null | null | null | cplus/libcfint/CFIntURLProtocolEditObj.cpp | msobkow/cfint_2_13 | 63ff9dfc85647066d0c8d61469ada572362e2b48 | [
"Apache-2.0"
] | null | null | null | cplus/libcfint/CFIntURLProtocolEditObj.cpp | msobkow/cfint_2_13 | 63ff9dfc85647066d0c8d61469ada572362e2b48 | [
"Apache-2.0"
] | null | null | null | // Description: C++18 edit object instance implementation for CFInt URLProtocol.
/*
* org.msscf.msscf.CFInt
*
* Copyright (c) 2020 Mark Stephen Sobkow
*
* MSS Code Factory CFInt 2.13 Internet Essentials
*
* Copyright 2020-2021 Mark Stephen Sobkow
*
* This file is part of MSS Code Factory.
*
* MSS Code... | 33.724 | 170 | 0.726308 | [
"object"
] |
7db96f120a2e94e9b3767585fb2748eca5aba2a6 | 12,052 | cpp | C++ | manta_positioning/src/manta_positioning.cpp | lgkimjy/manta_pozyx | 2f9cac8d9df99538e5f9c51498eaaa25907ea8b0 | [
"MIT"
] | 1 | 2021-09-24T07:17:21.000Z | 2021-09-24T07:17:21.000Z | manta_positioning/src/manta_positioning.cpp | lgkimjy/manta_pozyx | 2f9cac8d9df99538e5f9c51498eaaa25907ea8b0 | [
"MIT"
] | null | null | null | manta_positioning/src/manta_positioning.cpp | lgkimjy/manta_pozyx | 2f9cac8d9df99538e5f9c51498eaaa25907ea8b0 | [
"MIT"
] | null | null | null | /*
* manta_positioning.cpp
* Author: junyoung kim / lgkimjy
*/
#include "manta_positioning/manta_positioning.h"
void readConfigData()
{
try{
lpf_doc = YAML::LoadFile(path_lpf.c_str());
offset_doc = YAML::LoadFile(path_offset.c_str());
ROS_INFO("[Positioning Node] Read Config Data")... | 38.504792 | 195 | 0.537753 | [
"vector",
"transform"
] |
7dba30ecfc578d2d0f6a3f35c5cf7adeec2012fe | 3,996 | cpp | C++ | src/logging/logger.cpp | CraftSpider/AlphaUtils | 70ff9cd4ec4184f67d7e8b779538ef88f1e88682 | [
"MIT"
] | 1 | 2019-06-23T14:03:16.000Z | 2019-06-23T14:03:16.000Z | src/logging/logger.cpp | CraftSpider/AlphaUtils | 70ff9cd4ec4184f67d7e8b779538ef88f1e88682 | [
"MIT"
] | null | null | null | src/logging/logger.cpp | CraftSpider/AlphaUtils | 70ff9cd4ec4184f67d7e8b779538ef88f1e88682 | [
"MIT"
] | 2 | 2019-06-23T14:03:17.000Z | 2020-11-19T02:16:51.000Z |
#include <stdexcept>
#include <sstream>
#include <cctype>
#include "logging/logger.h"
namespace logging {
Logger::Logger(const std::string& name) {
this->name = name;
this->level = NO_LEVEL;
this->stream_level = AT_DEFAULT_LOGGER_LEVEL;
this->handlers = std::vector<Handler*>();
}
Logger& Logger::ope... | 22.965517 | 107 | 0.574825 | [
"vector"
] |
7dbef915f8fbe8f5728b0a9d643ac74eaef5ad07 | 5,118 | cc | C++ | mace/ops/nonlocal_reshape.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | 1 | 2021-08-02T12:17:58.000Z | 2021-08-02T12:17:58.000Z | mace/ops/nonlocal_reshape.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | null | null | null | mace/ops/nonlocal_reshape.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | 1 | 2021-08-02T12:18:00.000Z | 2021-08-02T12:18:00.000Z | // Copyright 2020 The MACE Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 36.297872 | 80 | 0.601798 | [
"shape",
"vector",
"model"
] |
7dc54a75cb2afdd7dc69216420a11c83c4320f2a | 5,231 | cpp | C++ | ace/tao/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/tao/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/tao/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | // Shutdown.cpp,v 1.2 2000/02/15 16:25:09 coryan Exp
#include "Counting_Consumer.h"
#include "Counting_Supplier.h"
#include "orbsvcs/CosEvent/CEC_EventChannel.h"
#include "orbsvcs/CosEvent/CEC_Default_Factory.h"
ACE_RCSID(CEC_Tests_Basic, Shutdown, "Shutdown.cpp,v 1.2 2000/02/15 16:25:09 coryan Exp")
static... | 28.123656 | 90 | 0.558402 | [
"object"
] |
7dcb375612f465abc2554258e9dae1be36fc7908 | 16,584 | cpp | C++ | src/engine/qos.cpp | tisuama/BaikalDB | 22e414eaac9dd6150f61976df6c735d6e51ea3f3 | [
"Apache-2.0"
] | 2 | 2020-04-09T02:09:19.000Z | 2021-12-23T06:56:22.000Z | src/engine/qos.cpp | tisuama/BaikalDB | 22e414eaac9dd6150f61976df6c735d6e51ea3f3 | [
"Apache-2.0"
] | null | null | null | src/engine/qos.cpp | tisuama/BaikalDB | 22e414eaac9dd6150f61976df6c735d6e51ea3f3 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018-present Baidu, 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 b... | 36.052174 | 135 | 0.637783 | [
"vector"
] |
7dd1704f1a966c6071635ec2594b81c424f6fa13 | 12,447 | cpp | C++ | src/shelly_rpc_service.cpp | louis49/shelly-homekit | 33bb58feca9dc51b85c59d98284adf0bd95cf885 | [
"Apache-2.0"
] | 1 | 2021-03-30T03:56:09.000Z | 2021-03-30T03:56:09.000Z | src/shelly_rpc_service.cpp | Mouttet/shelly-homekit | c2b899b60a6059bad495238ee6b34c33bf746e3b | [
"Apache-2.0"
] | null | null | null | src/shelly_rpc_service.cpp | Mouttet/shelly-homekit | c2b899b60a6059bad495238ee6b34c33bf746e3b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Shelly-HomeKit Contributors
* 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 re... | 33.731707 | 80 | 0.630594 | [
"model"
] |
7ddb59a83843e8f308754955783b0f44db59d729 | 3,832 | cpp | C++ | android-31/java/nio/charset/Charset.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/nio/charset/Charset.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/nio/charset/Charset.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../../JObjectArray.hpp"
#include "../../../JArray.hpp"
#include "../../../JObject.hpp"
#include "../../../JString.hpp"
#include "../../lang/ThreadLocal.hpp"
#include "../ByteBuffer.hpp"
#include "../CharBuffer.hpp"
#include "./CharsetDecoder.hpp"
#include "./CharsetEncoder.hpp"
#include "./spi/CharsetProvi... | 20.491979 | 72 | 0.659186 | [
"object"
] |
7de83af4558b2159c2a60f6c9792361ed51aecb1 | 1,392 | hpp | C++ | src/KawaiiEngine/include/Engine.hpp | Mathieu-Lala/Cute_Solar_System_-3 | 0bfe496991344709481995af348da2be37a19cac | [
"MIT"
] | 4 | 2021-06-03T11:20:09.000Z | 2022-02-11T06:52:54.000Z | src/KawaiiEngine/include/Engine.hpp | Mathieu-Lala/Cute_Solar_System_-3 | 0bfe496991344709481995af348da2be37a19cac | [
"MIT"
] | 35 | 2021-05-29T09:25:57.000Z | 2021-06-28T04:49:22.000Z | src/KawaiiEngine/include/Engine.hpp | Mathieu-Lala/Kawaii_Engine | 0bfe496991344709481995af348da2be37a19cac | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <thread>
#include <spdlog/spdlog.h>
#include <glm/vec4.hpp>
#include <entt/entt.hpp>
#include "helpers/overloaded.hpp"
#include "graphics/Window.hpp"
#include "EventProvider.hpp"
#include "Event.hpp"
#include "graphics/Shader.hpp"
#include "component.hpp"
#include "Context.hp... | 21.090909 | 80 | 0.722701 | [
"render"
] |
8fbde99a1d6c48197406845514d0568123e57bb2 | 6,652 | hpp | C++ | include/mp/tools/strided_array_view.hpp | mbeckem/mp | 872325079269143386f71195ec14019eb7ff59a2 | [
"MIT"
] | null | null | null | include/mp/tools/strided_array_view.hpp | mbeckem/mp | 872325079269143386f71195ec14019eb7ff59a2 | [
"MIT"
] | null | null | null | include/mp/tools/strided_array_view.hpp | mbeckem/mp | 872325079269143386f71195ec14019eb7ff59a2 | [
"MIT"
] | null | null | null | #ifndef MP_TOOLS_STRIDED_ARRAY_VIEW_HPP
#define MP_TOOLS_STRIDED_ARRAY_VIEW_HPP
#include <boost/iterator/iterator_facade.hpp>
#include "../defs.hpp"
#include "array_view.hpp"
namespace mp {
/*
* A template class similar to "array_view" but with a non-zero
* gap (the "stride") between each of its elements.
*
* F... | 25.292776 | 96 | 0.67739 | [
"vector"
] |
8fc1bb437971315d07705bbfb98db43e4da2a450 | 4,060 | cpp | C++ | Interpretator/src/Function.cpp | dimitarkyurtov/Interpretator | 61bbe21a6475dd81a5187a41c0bf7039eb80803d | [
"MIT"
] | null | null | null | Interpretator/src/Function.cpp | dimitarkyurtov/Interpretator | 61bbe21a6475dd81a5187a41c0bf7039eb80803d | [
"MIT"
] | null | null | null | Interpretator/src/Function.cpp | dimitarkyurtov/Interpretator | 61bbe21a6475dd81a5187a41c0bf7039eb80803d | [
"MIT"
] | null | null | null | #include "Function.h"
Function::Function(const std::string& expr, const std::vector<std::string>& varrs){
this->expr = expr;
paramsCount = varrs.size();
paramsPtr = Variables::getInstance();
for(auto x : varrs){
if(paramsPtr->isVariable(x) && !paramsPtr->isPresent(x)){
this->vars[x]... | 24.907975 | 132 | 0.398522 | [
"vector"
] |
8fc4f9b0eb4c31dd68a850d54b6e98a72105b923 | 2,429 | cpp | C++ | src/animatedtransform.cpp | arpit15/dpt | 5a9eec75b506d2c1867e3d5cfc1746d7f01c4639 | [
"MIT"
] | 73 | 2020-05-07T04:23:33.000Z | 2022-01-21T05:57:18.000Z | src/animatedtransform.cpp | arpit15/Langevin-MCMC | e6c5f1b03e20f991c791000ba09a6e9c02f31a1a | [
"MIT"
] | 2 | 2020-05-15T15:21:36.000Z | 2021-06-23T18:48:05.000Z | src/animatedtransform.cpp | arpit15/Langevin-MCMC | e6c5f1b03e20f991c791000ba09a6e9c02f31a1a | [
"MIT"
] | 11 | 2020-05-13T12:18:16.000Z | 2022-01-10T23:30:55.000Z | #include "animatedtransform.h"
#include "transform.h"
int GetAnimatedTransformSerializedSize() {
return 1 + // isMoving
3 * 2 + // translate[2]
4 * 2; // rotate[2]
}
void Decompose(const Matrix4x4 &m, Vector3 *t, Quaternion *r) {
Matrix3x3 A = m.topLeftCorner<3, 3>();
Eigen::... | 35.720588 | 95 | 0.622067 | [
"vector",
"transform"
] |
8feb9289ffdefd19db4a128bacd1bb6cf694b477 | 11,394 | hpp | C++ | databases.hpp | technicolor-research/quick-adc | aff7dfd371bfb2742e9cfdc6d9fd542d1cfb40a7 | [
"BSD-3-Clause-Clear"
] | 19 | 2017-09-19T15:11:44.000Z | 2022-03-08T17:27:17.000Z | databases.hpp | technicolor-research/quick-adc | aff7dfd371bfb2742e9cfdc6d9fd542d1cfb40a7 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-02-10T16:20:28.000Z | 2021-02-10T20:20:06.000Z | databases.hpp | technicolor-research/quick-adc | aff7dfd371bfb2742e9cfdc6d9fd542d1cfb40a7 | [
"BSD-3-Clause-Clear"
] | null | null | null | //
// Copyright (c) 2017 – Technicolor R&D France
//
// The source code form of this open source project is subject to the terms of the
// Clear BSD license.
//
// You can redistribute it and/or modify it under the terms of the Clear BSD
// License (See LICENSE file).
//
#ifndef DATABASES_HPP_
#define DATABASES_HPP_
... | 32.835735 | 83 | 0.609531 | [
"vector"
] |
8fef95bfc1d05e7f6631254e322605cce4d320d3 | 142 | cpp | C++ | src/Shapes/Shape.cpp | Shunseii/cpp-arcade-app | e7bad1b8401d9886243f3a6af3bedf40d939e9c1 | [
"MIT"
] | null | null | null | src/Shapes/Shape.cpp | Shunseii/cpp-arcade-app | e7bad1b8401d9886243f3a6af3bedf40d939e9c1 | [
"MIT"
] | null | null | null | src/Shapes/Shape.cpp | Shunseii/cpp-arcade-app | e7bad1b8401d9886243f3a6af3bedf40d939e9c1 | [
"MIT"
] | null | null | null | #include "Shapes/Shape.h"
void Shape::MoveBy(const Vec2D& deltaOffset) {
for (Vec2D& point : mPoints) {
point = point + deltaOffset;
}
}
| 17.75 | 46 | 0.676056 | [
"shape"
] |
8ff38021c0ff786a278ed25164f3e66d71aae3c6 | 512 | cpp | C++ | leetcode/416.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 22 | 2017-08-12T11:56:19.000Z | 2022-03-27T10:04:31.000Z | leetcode/416.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 2 | 2017-12-17T02:52:59.000Z | 2018-02-09T02:10:43.000Z | leetcode/416.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 4 | 2017-12-22T15:24:38.000Z | 2020-05-18T14:51:16.000Z | class Solution {
public:
bool canPartition(vector<int>& nums) {
int n = nums.size(), sum = accumulate(nums.begin(), nums.end(), 0);
int f[sum + 1]; memset(f, 0, sizeof(f));
int cur_max = nums[0];
f[cur_max] = 1;
for (int i = 1; i < n; ++i) {
cur_max += nums[i];
... | 30.117647 | 75 | 0.441406 | [
"vector"
] |
8ff505e7806e23cb9463a4bfb36076f788e777f0 | 8,708 | cc | C++ | cppnetlib/net/timer_container.cc | tfzhang006/netlib | 1e3c2fb5f2cbb3a4786b4991a2fb3b0c973e5de5 | [
"MIT"
] | null | null | null | cppnetlib/net/timer_container.cc | tfzhang006/netlib | 1e3c2fb5f2cbb3a4786b4991a2fb3b0c973e5de5 | [
"MIT"
] | null | null | null | cppnetlib/net/timer_container.cc | tfzhang006/netlib | 1e3c2fb5f2cbb3a4786b4991a2fb3b0c973e5de5 | [
"MIT"
] | null | null | null | #include "cppnetlib/net/timer_container.h"
#include <sys/timerfd.h>
#include <unistd.h>
#include "cppnetlib/core/logger.h"
#include "cppnetlib/net/timer.h"
#include "cppnetlib/net/event_loop.h"
#include "cppnetlib/net/timer_id.h"
// int timerfd_create(int clockid, int flags);
// int timerfd_settime(int fd, int flag... | 28.090323 | 80 | 0.687529 | [
"vector"
] |
8ff643ae4a9a85c7daae66023eb9dd1f0805f138 | 3,672 | cpp | C++ | src/CwshWord.cpp | colinw7/Cwsh | f39e93ca48e92b14a55c1dce8c85b37843cff81e | [
"MIT"
] | 1 | 2021-12-23T02:22:56.000Z | 2021-12-23T02:22:56.000Z | src/CwshWord.cpp | colinw7/Cwsh | f39e93ca48e92b14a55c1dce8c85b37843cff81e | [
"MIT"
] | null | null | null | src/CwshWord.cpp | colinw7/Cwsh | f39e93ca48e92b14a55c1dce8c85b37843cff81e | [
"MIT"
] | null | null | null | #include <CwshI.h>
void
CwshWord::
toWords(const std::string &line, CwshWordArray &words)
{
std::vector<std::string> words1;
CwshString::addWords(line, words1);
int num_words1 = words1.size();
for (int i = 0; i < num_words1; i++) {
const std::string &word = words1[i];
words.push_back(CwshWord(word)... | 17.320755 | 78 | 0.589325 | [
"vector"
] |
8ffd5762dbb59fb51cde4920a365b854da6b65fa | 3,122 | cpp | C++ | camera/opencv-util.cpp | qwantix/qxeye | 7d777768947f74cc3b35535254ae498380b56dca | [
"Apache-2.0"
] | 2 | 2017-12-17T16:07:18.000Z | 2018-01-19T08:11:44.000Z | camera/opencv-util.cpp | qwantix/qxeye | 7d777768947f74cc3b35535254ae498380b56dca | [
"Apache-2.0"
] | null | null | null | camera/opencv-util.cpp | qwantix/qxeye | 7d777768947f74cc3b35535254ae498380b56dca | [
"Apache-2.0"
] | null | null | null |
#include <iostream>
#include <opencv2/opencv.hpp>
#include "opencv-util.hpp"
#include "util.hpp"
using namespace std;
using namespace cv;
Rect adjustRectToSize(Rect rect, Size size)
{
Rect out(rect);
if (size.width > rect.width)
{
out.x -= (int)((size.width - rect.width) / 2);
out.width = size.width;
... | 24.20155 | 170 | 0.546124 | [
"vector"
] |
890776604dadf969c37aba2441e63567e4028dee | 8,940 | cpp | C++ | Samples/Audio/SimpleWASAPICapture/SimpleWASAPICapture.cpp | acidburn0zzz/Xbox-GDK-Samples | 0a998ca467f923aa04bd124a5e5ca40fe16c386c | [
"MIT"
] | 1 | 2021-12-30T09:49:18.000Z | 2021-12-30T09:49:18.000Z | Samples/Audio/SimpleWASAPICapture/SimpleWASAPICapture.cpp | acidburn0zzz/Xbox-GDK-Samples | 0a998ca467f923aa04bd124a5e5ca40fe16c386c | [
"MIT"
] | null | null | null | Samples/Audio/SimpleWASAPICapture/SimpleWASAPICapture.cpp | acidburn0zzz/Xbox-GDK-Samples | 0a998ca467f923aa04bd124a5e5ca40fe16c386c | [
"MIT"
] | null | null | null | //--------------------------------------------------------------------------------------
// SimpleWASAPICapture.cpp
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#include... | 27.173252 | 158 | 0.661409 | [
"render"
] |
89080b4b0d814f232f780ec8f4a63a31a40ae13b | 39,822 | hpp | C++ | Source/Lib/Public/PyHelpers.hpp | ankarako/SMPLTools | 52f9e809484217e4249910120532fa1facb796a3 | [
"MIT"
] | 1 | 2020-10-22T03:12:43.000Z | 2020-10-22T03:12:43.000Z | Source/Lib/Public/PyHelpers.hpp | ankarako/SMPLTools | 52f9e809484217e4249910120532fa1facb796a3 | [
"MIT"
] | null | null | null | Source/Lib/Public/PyHelpers.hpp | ankarako/SMPLTools | 52f9e809484217e4249910120532fa1facb796a3 | [
"MIT"
] | null | null | null | #ifndef __LIB_PUBLIC_PYHELPERS_HPP__
#define __LIB_PUBLIC_PYHELPERS_HPP__
#include <Vector.hpp>
#include <Python.h>
#include <vector>
#include <map>
#include <string>
#include <exception>
namespace util {
/// \class CPyInstance
/// \brief An Python interpreter instance
/// \see https://www.codeproject.com/Articles/82... | 33.49201 | 99 | 0.667671 | [
"object",
"vector"
] |
8915745747e0cd0bf77ed2d9d860475738ff7592 | 26,514 | cpp | C++ | tests/mytests.cpp | kubaszpak/ieee754_implementation | f75e54e4f7e027b8fe31386d4eda88de9523ac58 | [
"MIT"
] | null | null | null | tests/mytests.cpp | kubaszpak/ieee754_implementation | f75e54e4f7e027b8fe31386d4eda88de9523ac58 | [
"MIT"
] | null | null | null | tests/mytests.cpp | kubaszpak/ieee754_implementation | f75e54e4f7e027b8fe31386d4eda88de9523ac58 | [
"MIT"
] | 1 | 2021-06-15T17:47:51.000Z | 2021-06-15T17:47:51.000Z | #include <gtest/gtest.h>
#include "../lib/ieee754.h"
#include <vector>
#include <chrono>
#include <math.h> //isnan
IEEE_754 zero(std::bitset<32>(0b00000000000000000000000000000000));
IEEE_754 infinity(std::bitset<32>(0b01111111100000000000000000000000));
IEEE_754 negative_infinity(std::bitset<32>(0b111111111000000000... | 37.502122 | 130 | 0.680659 | [
"vector"
] |
8919162b90c8ea70d3ef08c6c0ca6ff032661df7 | 6,427 | cpp | C++ | emulator/src/devices/bus/abcbus/cadmouse.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/devices/bus/abcbus/cadmouse.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/devices/bus/abcbus/cadmouse.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Peter Bortas
/*
ABC CAD Mouse/Hi-res video card
The ABC CAD was an innovative electronics CAD accessory invented by
Marek Gorczyca, Betronex Elektronik AB 1983 to overcome the limitations
in the ABC80 microcomputer graphics which was very popular in Sweden at the time.
The... | 35.705556 | 121 | 0.535086 | [
"cad"
] |
89266154389c6e044f2f61759ee2b3c8a0e18b65 | 6,303 | hpp | C++ | src/org/apache/poi/ss/usermodel/DataFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/usermodel/DataFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/usermodel/DataFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/usermodel/DataFormatter.java
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/math/fwd-POI.hpp>
#include <java/text/fwd-POI.hpp>
#include <java/util/fwd-POI.hpp>
#include <java/util/regex/fwd-POI.hpp>
#include <org/apache/poi/ss/formula/... | 45.673913 | 156 | 0.71934 | [
"object"
] |
8926dd42fcb2b0aa8dad9893afdd0776741c7dfd | 4,424 | cpp | C++ | Examples/CPP/WorkingWithCalendars/CreatingUpdatingAndRemoving/WriteUpdatedCalendarDataToMPP.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2022-03-16T14:31:36.000Z | 2022-03-16T14:31:36.000Z | Examples/CPP/WorkingWithCalendars/CreatingUpdatingAndRemoving/WriteUpdatedCalendarDataToMPP.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | null | null | null | Examples/CPP/WorkingWithCalendars/CreatingUpdatingAndRemoving/WriteUpdatedCalendarDataToMPP.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2020-07-01T01:26:17.000Z | 2020-07-01T01:26:17.000Z | /*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference
when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more information.
If you do not wish to use NuGet, you can manually download Aspose.Tasks for .NET API from https://www.n... | 39.5 | 239 | 0.702758 | [
"object"
] |
89334f5e9158c33a3f4349d0e2d29eaa765c42f4 | 8,447 | cpp | C++ | legacy/btmux-mux20/mux/src/player_c.cpp | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-07-09T17:37:42.000Z | 2020-07-09T17:37:42.000Z | legacy/btmux-mux20/mux/src/player_c.cpp | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | legacy/btmux-mux20/mux/src/player_c.cpp | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-11-07T00:02:47.000Z | 2020-11-07T00:02:47.000Z | /*! \file player_c.cpp
* Player cache routines.
*
* $Id: player_c.cpp,v 1.16 2005/10/30 11:27:05 sdennis Exp $
*
* Frequenty-used items which appear on every object generally find a home in
* the db[] structure managed in db.cpp. However, there are a few items
* related only to players which are still accessed f... | 24.844118 | 78 | 0.601634 | [
"object"
] |
89349cdd6de529a21121c8ce9a299517d54f4344 | 1,172 | hpp | C++ | libs/besiq/method/peer_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 1 | 2015-10-21T14:22:12.000Z | 2015-10-21T14:22:12.000Z | libs/besiq/method/peer_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2019-05-26T20:52:31.000Z | 2019-05-28T16:19:49.000Z | libs/besiq/method/peer_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2016-11-06T14:58:37.000Z | 2019-05-26T14:03:13.000Z | #ifndef __PEER_METHOD_H__
#define __PEER_METHOD_H__
#include <string>
#include <vector>
#include <armadillo>
#include <besiq/method/method.hpp>
#include <besiq/method/wald_method.hpp>
#include <besiq/stats/log_scale.hpp>
/**
* This class is responsible for intializing and repeatedly
* executing the case-only test... | 23.44 | 97 | 0.665529 | [
"vector"
] |
893ad351d195dbab00baab81a0551fa3343da5c9 | 2,226 | cpp | C++ | Graph/MAY TARGET/Cycle Detection in Undirected Graph using BFS.cpp | scortier/DSA-Complete-Sheet | 925a5cb148d9addcb32192fe676be76bfb2915c7 | [
"MIT"
] | 1 | 2021-07-20T06:08:26.000Z | 2021-07-20T06:08:26.000Z | Graph/MAY TARGET/Cycle Detection in Undirected Graph using BFS.cpp | scortier/DSA-Complete-Sheet | 925a5cb148d9addcb32192fe676be76bfb2915c7 | [
"MIT"
] | null | null | null | Graph/MAY TARGET/Cycle Detection in Undirected Graph using BFS.cpp | scortier/DSA-Complete-Sheet | 925a5cb148d9addcb32192fe676be76bfb2915c7 | [
"MIT"
] | null | null | null | /*
Approach :
1.bfs traversal m root node(start node) se dist=1 wale simultaneously ssaare visit honge fir dist=2 then so on
2. ab agr traversal karte karte pata chale ki koi adj node pehle se visted bas baat khtm mtlb cycle hai.
*/
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution {
... | 20.803738 | 110 | 0.611411 | [
"vector"
] |
9f1e9d9c7640768ab2556df107492e5f4f1694b9 | 1,558 | cpp | C++ | Source/USlicingLogic/Private/SlicingTipComponent.cpp | joserochh/USlicing | 17c2cd0f1bd4b09c132818219997a695537e6d99 | [
"BSD-3-Clause"
] | null | null | null | Source/USlicingLogic/Private/SlicingTipComponent.cpp | joserochh/USlicing | 17c2cd0f1bd4b09c132818219997a695537e6d99 | [
"BSD-3-Clause"
] | 1 | 2020-08-05T17:22:52.000Z | 2020-08-05T18:25:00.000Z | Source/USlicingLogic/Private/SlicingTipComponent.cpp | joserochh/USlicing | 17c2cd0f1bd4b09c132818219997a695537e6d99 | [
"BSD-3-Clause"
] | 1 | 2020-07-01T07:26:22.000Z | 2020-07-01T07:26:22.000Z | // Copyright 2018, Institute for Artificial Intelligence - University of Bremen
#include "SlicingTipComponent.h"
#include "SlicingBladeComponent.h"
#include "SlicingHelper.h"
// Called when the game starts
void USlicingTipComponent::BeginPlay()
{
Super::BeginPlay();
// Check for the blade component to know which o... | 32.458333 | 102 | 0.790757 | [
"object"
] |
9f240b9714334ebaec7285d4bf818ca02605f61c | 2,053 | hpp | C++ | include/dish2/load/reconstitute_population.hpp | schregardusc/dishtiny | b0b1841a457a955fa4c22f36a050d91f12484f9e | [
"MIT"
] | 1 | 2021-02-12T23:53:55.000Z | 2021-02-12T23:53:55.000Z | include/dish2/load/reconstitute_population.hpp | schregardusc/dishtiny | b0b1841a457a955fa4c22f36a050d91f12484f9e | [
"MIT"
] | null | null | null | include/dish2/load/reconstitute_population.hpp | schregardusc/dishtiny | b0b1841a457a955fa4c22f36a050d91f12484f9e | [
"MIT"
] | null | null | null | #pragma once
#ifndef DISH2_LOAD_RECONSTITUTE_POPULATION_HPP_INCLUDE
#define DISH2_LOAD_RECONSTITUTE_POPULATION_HPP_INCLUDE
#include <fstream>
#include "../../../third-party/bxzstr/include/bxzstr.hpp"
#include "../../../third-party/cereal/include/cereal/archives/binary.hpp"
#include "../../../third-party/conduit/inclu... | 28.915493 | 90 | 0.701413 | [
"vector"
] |
9f2b5b08db6b9bc3c120872f44aa84646a639dc1 | 1,831 | cc | C++ | src/PPMReader.cc | dlcrush/crush-engine | 880ec89af4f34156af388fe6fe48da57850d4d6e | [
"MIT"
] | null | null | null | src/PPMReader.cc | dlcrush/crush-engine | 880ec89af4f34156af388fe6fe48da57850d4d6e | [
"MIT"
] | null | null | null | src/PPMReader.cc | dlcrush/crush-engine | 880ec89af4f34156af388fe6fe48da57850d4d6e | [
"MIT"
] | null | null | null | #include "headers/PPMReader.h"
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
using namespace std;
// WARNING: This expects a PPM file with no header. To use correctly,
// you will need to delete the header information from the PPM file.
PPMReader::PPMReader(string file2) {
file = file2;
... | 28.609375 | 99 | 0.690879 | [
"vector"
] |
9f2b94def70a70f748ad33d3c546ccd36edd3859 | 2,493 | hpp | C++ | include/etl/crtp/value_testable.hpp | wichtounet/etl | 8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94 | [
"MIT"
] | 210 | 2015-02-13T11:40:45.000Z | 2022-01-21T21:46:42.000Z | include/etl/crtp/value_testable.hpp | wichtounet/etl | 8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94 | [
"MIT"
] | 5 | 2017-01-31T18:12:48.000Z | 2020-07-16T15:18:00.000Z | include/etl/crtp/value_testable.hpp | wichtounet/etl | 8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94 | [
"MIT"
] | 25 | 2016-11-26T16:32:56.000Z | 2021-07-20T02:08:51.000Z | //=======================================================================
// Copyright (c) 2014-2020 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | 32.802632 | 134 | 0.622543 | [
"object"
] |
9f468e8e458e7484b66a9b7268b95ca82bd22eb7 | 4,748 | cpp | C++ | Solutions/ExerciseA/Cpp/pi_vocl.cpp | Lucksong/Exercises-Solutions | 614c3ad9945d83de21ef2bfdd38e0c67cedc4c8b | [
"CC-BY-3.0"
] | 436 | 2015-01-09T23:29:34.000Z | 2022-03-31T11:25:38.000Z | Solutions/ExerciseA/Cpp/pi_vocl.cpp | Lucksong/Exercises-Solutions | 614c3ad9945d83de21ef2bfdd38e0c67cedc4c8b | [
"CC-BY-3.0"
] | 13 | 2015-04-12T12:54:32.000Z | 2020-03-07T06:52:09.000Z | Solutions/ExerciseA/Cpp/pi_vocl.cpp | Lucksong/Exercises-Solutions | 614c3ad9945d83de21ef2bfdd38e0c67cedc4c8b | [
"CC-BY-3.0"
] | 195 | 2015-01-14T05:08:28.000Z | 2022-02-21T21:01:55.000Z | //
// Pi reduction - vectorized
//
// Numeric integration to estimate pi
// Asks the user to select a device at runtime
// Vector size must be present as a CLI argument
//
// History: C version written by Tim Mattson, May 2010
// Ported to the C++ Wrapper API by Benedict R. Gaster, September 2011
// C... | 27.445087 | 92 | 0.64385 | [
"vector"
] |
9f492b78f8c55fc8c8a844e29bffb8b6864da59d | 11,222 | cc | C++ | ncrystal_core/src/NCFastConvolve.cc | mctools/ncrystal | 33ec51187a3bef418046c30e591ff7d8f239d54f | [
"Apache-2.0"
] | 22 | 2017-08-31T08:44:10.000Z | 2022-03-21T08:18:26.000Z | ncrystal_core/src/NCFastConvolve.cc | XuShuqi7/ncrystal | acf26db3dfd5f0a95355c7c3bbfcbfee55040175 | [
"Apache-2.0"
] | 77 | 2018-01-23T10:19:45.000Z | 2022-03-21T07:57:32.000Z | ncrystal_core/src/NCFastConvolve.cc | XuShuqi7/ncrystal | acf26db3dfd5f0a95355c7c3bbfcbfee55040175 | [
"Apache-2.0"
] | 11 | 2017-09-14T19:49:50.000Z | 2022-02-28T11:07:00.000Z | ////////////////////////////////////////////////////////////////////////////////
// //
// This file is part of NCrystal (see https://mctools.github.io/ncrystal/) //
// ... | 43.66537 | 114 | 0.50205 | [
"vector"
] |
9f4d811a94be87583476a5e08679ff968d9a2efe | 53,714 | cpp | C++ | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/NetworkProcess/NetworkResourceLoader.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | 1 | 2021-05-27T07:29:31.000Z | 2021-05-27T07:29:31.000Z | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/NetworkProcess/NetworkResourceLoader.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/NetworkProcess/NetworkResourceLoader.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2012-2018 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 47.40865 | 412 | 0.725491 | [
"vector"
] |
9f5bc29f32d26256bfe6c3aee7d78e39dd57029e | 3,511 | hpp | C++ | irobot_create_common/irobot_create_nodes/include/irobot_create_nodes/mock_publisher.hpp | roni-kreinin/create3_sim | 637f02b9f7ddcc28de35e5e003c998290a51fccd | [
"BSD-3-Clause"
] | null | null | null | irobot_create_common/irobot_create_nodes/include/irobot_create_nodes/mock_publisher.hpp | roni-kreinin/create3_sim | 637f02b9f7ddcc28de35e5e003c998290a51fccd | [
"BSD-3-Clause"
] | null | null | null | irobot_create_common/irobot_create_nodes/include/irobot_create_nodes/mock_publisher.hpp | roni-kreinin/create3_sim | 637f02b9f7ddcc28de35e5e003c998290a51fccd | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 iRobot Corporation. All Rights Reserved.
// @author Lola Segura (lsegura@irobot.com)
#ifndef IROBOT_CREATE_NODES__MOCK_PUBLISHER_HPP_
#define IROBOT_CREATE_NODES__MOCK_PUBLISHER_HPP_
#include <limits>
#include <memory>
#include <string>
#include <vector>
#include "irobot_create_msgs/action/led_anim... | 36.957895 | 100 | 0.799772 | [
"vector"
] |
9f5cbf9660a94f6d1dc4f5d71a9d4f8adb018799 | 25,370 | cpp | C++ | shell/services/hdsrv/shhwdtct/dispatch.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | shell/services/hdsrv/shhwdtct/dispatch.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | shell/services/hdsrv/shhwdtct/dispatch.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#undef ASSERT
#include "dtct.h"
#include "hwdev.h"
#include "dtctreg.h"
#include "users.h"
#include "cmmn.h"
#include "sfstr.h"
#include "reg.h"
#include "misc.h"
#include "dbg.h"
#include "tfids.h"
#include <shpriv.h>
#define ARRAY... | 29.261822 | 121 | 0.479227 | [
"object"
] |
9f5f7650c10ea113d2c681d975779ce5bc925787 | 1,742 | cpp | C++ | src/SMLMat2x2.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | 1 | 2020-10-08T09:31:54.000Z | 2020-10-08T09:31:54.000Z | src/SMLMat2x2.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | null | null | null | src/SMLMat2x2.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | null | null | null | #include "SMLMat2x2.h"
SML::Mat2x2::Mat2x2(const float& a, const float& b, const float& c, const float& d)
{
m[0][0] = a; m[0][1] = b;
m[1][0] = c; m[1][1] = d;
}
SML::Mat2x2::Mat2x2(const Vector& r1, const Vector& r2)
{
m[0][0] = r1.x; m[0][1] = r1.y;
m[1][0] = r2.x; m[1][1] = r2.y;
}
SML::Mat2x2::Mat2x2(co... | 26.393939 | 187 | 0.52124 | [
"vector"
] |
9f62dfe03c6875e3f7c2306b3972ca7eba5a8538 | 358 | cpp | C++ | Warmup/Jumping on the Clouds/solution.cpp | xqphd/q_hackerrank_solutions | 102bbdc03af6958133c4597bde27175e18b06c47 | [
"MIT"
] | null | null | null | Warmup/Jumping on the Clouds/solution.cpp | xqphd/q_hackerrank_solutions | 102bbdc03af6958133c4597bde27175e18b06c47 | [
"MIT"
] | null | null | null | Warmup/Jumping on the Clouds/solution.cpp | xqphd/q_hackerrank_solutions | 102bbdc03af6958133c4597bde27175e18b06c47 | [
"MIT"
] | null | null | null | // Complete the jumpingOnClouds function below.
int jumpingOnClouds(vector<int> c) {
c.push_back(1);
int result = 0;
int num_zeros = 0;
for(int i=0;i<c.size();i++){
if(c[i]==0){
num_zeros++;
}
if(c[i]==1){
result += num_zeros/2+1;
num_zeros=0;
... | 22.375 | 47 | 0.488827 | [
"vector"
] |
9f75c62cfc9a687085ab29fb06d67db095f0bceb | 705 | cpp | C++ | ComputerGraphics/Transform.cpp | ylzf0000/TinyGameEngine | d15c3eb80189d91ed430eca1089475213ef0cad3 | [
"MIT"
] | null | null | null | ComputerGraphics/Transform.cpp | ylzf0000/TinyGameEngine | d15c3eb80189d91ed430eca1089475213ef0cad3 | [
"MIT"
] | null | null | null | ComputerGraphics/Transform.cpp | ylzf0000/TinyGameEngine | d15c3eb80189d91ed430eca1089475213ef0cad3 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Transform.h"
#include "Matrix4x4.h"
#include "Vector4.h"
void cg::Transform::Rotate(float x, float y, float z)
{
eulerRotation.x += x;
eulerRotation.y += y;
eulerRotation.z += z;
}
void cg::Transform::Rotate(const Vector3 &rotation)
{
Rotate(rotation.x, rotation.y, rotation.z);
}
voi... | 22.741935 | 88 | 0.695035 | [
"transform"
] |
9f7fcf61e992a2a411402a3c04958e7d04049663 | 2,265 | hpp | C++ | 1.48/tuning/sys/cthmutex.hpp | spirick/tuninglib | c390d7abc74847be0ebd9d08905151d72347ab82 | [
"MIT"
] | 3 | 2021-12-01T18:31:31.000Z | 2021-12-06T02:15:00.000Z | 1.48/tuning/sys/cthmutex.hpp | spirick/tuninglib | c390d7abc74847be0ebd9d08905151d72347ab82 | [
"MIT"
] | null | null | null | 1.48/tuning/sys/cthmutex.hpp | spirick/tuninglib | c390d7abc74847be0ebd9d08905151d72347ab82 | [
"MIT"
] | null | null | null |
// Spirick Tuning
//
// A C++ class and template library
// for performance critical applications.
// Copyright (C) 1996-2021 Dietmar Deimling.
// All rights reserved.
// Internet www.spirick.com
// E-Mail info@spirick.com
//
// Version 1.48
// File tuning/sys/cthmutex.hpp
#ifndef TUNING_SYS_CTHMUTEX_HPP
#define ... | 28.670886 | 78 | 0.586755 | [
"object"
] |
9f8f7c2724b210492ff81a671b22c955c005df2b | 70,852 | cpp | C++ | AStyleTest/src/AStyleTest_ObjC.cpp | a-w/astyle | 8225c7fc9b65162bdd958cabb87eedd9749f1ecd | [
"MIT"
] | null | null | null | AStyleTest/src/AStyleTest_ObjC.cpp | a-w/astyle | 8225c7fc9b65162bdd958cabb87eedd9749f1ecd | [
"MIT"
] | null | null | null | AStyleTest/src/AStyleTest_ObjC.cpp | a-w/astyle | 8225c7fc9b65162bdd958cabb87eedd9749f1ecd | [
"MIT"
] | null | null | null | // AStyleTest_ObjC.cpp
// Copyright (c) 2016 by Jim Pattee <jimp03@email.com>.
// Licensed under the MIT license.
// License.txt describes the conditions under which this software may be distributed.
//----------------------------------------------------------------------------
// headers
//--------------------... | 27.828751 | 109 | 0.522836 | [
"object"
] |
9f917c7034faddb65e384f8b5847b3b30b1cfbb2 | 3,645 | cpp | C++ | oneflow/core/kernel/collective_boxing_kernels.cpp | Oneflow-Inc/oneflow | b105cacd1e3b0b21bdec1a824a2c125390a2a665 | [
"Apache-2.0"
] | 3,285 | 2020-07-31T05:51:22.000Z | 2022-03-31T15:20:16.000Z | oneflow/core/kernel/collective_boxing_kernels.cpp | Oneflow-Inc/oneflow | b105cacd1e3b0b21bdec1a824a2c125390a2a665 | [
"Apache-2.0"
] | 2,417 | 2020-07-31T06:28:58.000Z | 2022-03-31T23:04:14.000Z | oneflow/core/kernel/collective_boxing_kernels.cpp | Oneflow-Inc/oneflow | b105cacd1e3b0b21bdec1a824a2c125390a2a665 | [
"Apache-2.0"
] | 520 | 2020-07-31T05:52:42.000Z | 2022-03-29T02:38:11.000Z | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | 39.193548 | 96 | 0.767627 | [
"shape"
] |
9f95b1d5b9af2e38d2bc1e380cc5d2396e5341d2 | 43,375 | cc | C++ | distbench_engine.cc | isabella232/distbench | 831bf89c052233e7b070d392b19fdc3ba15d104e | [
"Apache-2.0"
] | null | null | null | distbench_engine.cc | isabella232/distbench | 831bf89c052233e7b070d392b19fdc3ba15d104e | [
"Apache-2.0"
] | null | null | null | distbench_engine.cc | isabella232/distbench | 831bf89c052233e7b070d392b19fdc3ba15d104e | [
"Apache-2.0"
] | null | null | null | // 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 37.199828 | 80 | 0.677233 | [
"vector"
] |
7a052bc27dfab2a1cdf9205eb33809ac0c44289f | 8,527 | cpp | C++ | libsrc/leddevice/LedDevicePhilipsHueEntertainment.cpp | Sneezoo/hyperion | ece0fda7c572cb435c9c853c29630a7bf188a665 | [
"MIT"
] | null | null | null | libsrc/leddevice/LedDevicePhilipsHueEntertainment.cpp | Sneezoo/hyperion | ece0fda7c572cb435c9c853c29630a7bf188a665 | [
"MIT"
] | null | null | null | libsrc/leddevice/LedDevicePhilipsHueEntertainment.cpp | Sneezoo/hyperion | ece0fda7c572cb435c9c853c29630a7bf188a665 | [
"MIT"
] | null | null | null | #include "LedDevicePhilipsHueEntertainment.h"
// jsoncpp includes
#include <json/json.h>
// Qt includes
#include <QDebug>
#include <QDebug>
// Mbedtls
#include "mbedtls/net_sockets.h"
#include "mbedtls/debug.h"
#include "mbedtls/ssl.h"
#include "mbedtls/entropy.h"
#include "mbedtls/ctr_drbg.h"
#include "mbedtls/erro... | 32.056391 | 126 | 0.570072 | [
"vector"
] |
7a08a9ed66d543dfcb88560871fcbe8c91c98b7d | 1,921 | hpp | C++ | tests/assertions.hpp | tinyplasticgreyknight/fieldmapgen | 0fda12b71f5f6ce9fdb3f576d1cbc85b459b5ef8 | [
"MIT"
] | null | null | null | tests/assertions.hpp | tinyplasticgreyknight/fieldmapgen | 0fda12b71f5f6ce9fdb3f576d1cbc85b459b5ef8 | [
"MIT"
] | 4 | 2016-08-13T23:16:14.000Z | 2016-08-13T23:33:45.000Z | tests/assertions.hpp | tinyplasticgreyknight/fieldmapgen | 0fda12b71f5f6ce9fdb3f576d1cbc85b459b5ef8 | [
"MIT"
] | null | null | null | #ifndef H_ASSERTIONS
#define H_ASSERTIONS
#include <string>
#include <sstream>
#include <vector>
namespace test_support {
int assert_failed(std::string message, std::string filename, int line_number);
template <typename T>
std::string assert_value_to_string(const T& value);
std::string assert_format_internal(s... | 40.87234 | 150 | 0.745966 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.