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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b83a230dd77a6f6f2382d4cb8e50316136738593 | 4,758 | cpp | C++ | SurfaceReconstruction/SurfaceReconstruction/Scene/CapturedScene.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | 102 | 2017-10-17T10:10:59.000Z | 2022-01-19T02:10:29.000Z | SurfaceReconstruction/SurfaceReconstruction/Scene/CapturedScene.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | 2 | 2019-12-21T11:59:15.000Z | 2020-09-08T11:38:36.000Z | SurfaceReconstruction/SurfaceReconstruction/Scene/CapturedScene.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | 27 | 2017-10-18T09:37:34.000Z | 2022-03-22T01:30:51.000Z | /*
* Copyright (C) 2018 by Author: Aroudj, Samir
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the License.txt file for details.
*/
#ifdef _DEBUG
#include <iostream>... | 30.305732 | 107 | 0.758932 | [
"vector"
] |
b83ea8e11daa14f78728275ad65e44c031c1b612 | 275 | cpp | C++ | leetcode/algorithm/338.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | leetcode/algorithm/338.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | leetcode/algorithm/338.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | class Solution {
public:
vector<int> countBits(int num) {
vector<int> dp(num+1, 0);
if (num >= 1)
dp[1] = 1;
if (num >= 2)
dp[2] = 1;
for (int i=3; i<=num; ++i) {
if (i & 1)
dp[i] = dp[i-1] + 1;
else
dp[i] = dp[i/2];
}
return dp;
}
};
| 13.095238 | 33 | 0.447273 | [
"vector"
] |
cdc8b90efe41a103475ae56dae08e6ce04aa763c | 633 | cpp | C++ | Temporary/ParallelMerge.cpp | vishalbelsare/CombBLAS | 426f6be0b29831025cdcacc1f8f69e3520bfb0ff | [
"BSD-3-Clause-LBNL"
] | 22 | 2020-08-14T19:14:13.000Z | 2022-02-05T20:14:59.000Z | Temporary/ParallelMerge.cpp | vishalbelsare/CombBLAS | 426f6be0b29831025cdcacc1f8f69e3520bfb0ff | [
"BSD-3-Clause-LBNL"
] | 8 | 2020-10-09T23:23:36.000Z | 2021-08-05T20:35:18.000Z | Temporary/ParallelMerge.cpp | vishalbelsare/CombBLAS | 426f6be0b29831025cdcacc1f8f69e3520bfb0ff | [
"BSD-3-Clause-LBNL"
] | 8 | 2020-12-04T09:10:06.000Z | 2022-01-04T15:37:59.000Z | #include <vector>
#include <utility>
#include <parallel/algorithm>
#include <algorithm>
#include <iostream>
#include <iterator>
using namespace std;
int main()
{
int sequences[10][10];
for (int i = 0; i < 10; ++i)
for (int j = 0; j < 10; ++j)
sequences[i][j] = i*j;
int out[100];
std::vector... | 22.607143 | 103 | 0.597156 | [
"vector"
] |
cdc8be84fa2dbdb037f59cfcd977122b9249a3f5 | 1,662 | hpp | C++ | lumino/LuminoEngine/include/LuminoEngine/Tilemap/TilemapModel.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 30 | 2016-01-24T05:35:45.000Z | 2020-03-03T09:54:27.000Z | lumino/LuminoEngine/include/LuminoEngine/Tilemap/TilemapModel.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 35 | 2016-04-18T06:14:08.000Z | 2020-02-09T15:51:58.000Z | lumino/LuminoEngine/include/LuminoEngine/Tilemap/TilemapModel.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 5 | 2016-04-03T02:52:05.000Z | 2018-01-02T16:53:06.000Z |
#pragma once
#include "Common.hpp"
#include "Tileset.hpp"
namespace ln {
class RenderingContext;
class TilemapLayer;
// 基本タイルは、横8タイル、縦最大 8191 タイルまで。最大 ID は 65535.
// ただし、現実的には 4096px 程度に抑えてほしいので、16x16 タイルを使ったとしても、最大は 8 * 256 = 2048 個。
// AutoTile は展開すると32, 余裕見て 64、坂道分も作ると考えると + 20。128 個をワンセットにしてみる。
// それにアニメーションを... | 24.441176 | 105 | 0.711793 | [
"render",
"object",
"transform"
] |
cdcd8501d229920e714f3bd5f73f4fbe512b313f | 12,196 | cc | C++ | components/query_tiles/internal/tile_manager.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/query_tiles/internal/tile_manager.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/query_tiles/internal/tile_manager.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <map>
#include <string>
#include <unordered_set>
#include <utility>
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/mem... | 34.451977 | 80 | 0.659397 | [
"object",
"vector"
] |
cdd00aa970cd4540ad0c5ec74025b7efbfd1c451 | 3,988 | hh | C++ | elements/tcp/tcpencap.hh | leeopop/ClickNF | 5bca7586195d1b24d3a899fa084feafa93f81790 | [
"MIT"
] | 32 | 2017-11-02T12:33:21.000Z | 2022-02-07T22:25:58.000Z | elements/tcp/tcpencap.hh | leeopop/ClickNF | 5bca7586195d1b24d3a899fa084feafa93f81790 | [
"MIT"
] | 2 | 2019-02-18T08:47:16.000Z | 2019-05-24T14:41:23.000Z | elements/tcp/tcpencap.hh | leeopop/ClickNF | 5bca7586195d1b24d3a899fa084feafa93f81790 | [
"MIT"
] | 10 | 2018-06-13T11:54:53.000Z | 2020-09-08T06:52:43.000Z | /*
* tcpencap.{cc,hh} -- encapsulates packet with a TCP header
* Rafael Laufer, Massimo Gallo
*
* Copyright (c) 2017 Nokia Bell Labs
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of sourc... | 27.315068 | 148 | 0.748495 | [
"vector"
] |
cdd915fc9f4cf7c3a0d0824bf961cb221ab01370 | 759 | hpp | C++ | src/Domain/InitialElementIds.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Domain/InitialElementIds.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | 1 | 2022-03-25T18:26:16.000Z | 2022-03-25T19:30:39.000Z | src/Domain/InitialElementIds.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <array>
#include <cstddef>
#include <vector>
/// \cond
template <size_t VolumeDim>
class ElementId;
/// \endcond
/// \ingroup ComputationalDomainGroup
/// \brief Create the `ElementId`s of the a single Block
template <size_t... | 28.111111 | 78 | 0.758893 | [
"vector"
] |
cddbbd892fdd178a125b2f280dfc336ac1a13c2b | 4,370 | hpp | C++ | Player.hpp | FocuzJS/Cyth | 8e0b1a2e24481d4344915f88b490901b9278b074 | [
"MIT"
] | 18 | 2018-06-07T10:52:00.000Z | 2021-12-13T09:09:28.000Z | Player.hpp | FocuzJS/Cyth | 8e0b1a2e24481d4344915f88b490901b9278b074 | [
"MIT"
] | 18 | 2018-04-16T03:08:47.000Z | 2019-01-22T19:05:44.000Z | Player.hpp | FocuzJS/Cyth | 8e0b1a2e24481d4344915f88b490901b9278b074 | [
"MIT"
] | 7 | 2018-04-16T14:42:24.000Z | 2021-09-21T02:47:03.000Z | #pragma once
#include "lua.hpp"
#include "Netvars.hpp"
#include <optional>
constexpr auto entity = hash::fnv1a("DT_BaseEntity");
class Player
{
public:
inline const char* get_classname()
{
void* networkable = this + 8;
using get_client_class_t = const char**(__thiscall*)(void*);
return *(method<get_client_cla... | 23.75 | 118 | 0.677803 | [
"vector"
] |
cde0b8957a92efddce23b6ddf7eee8f199366b90 | 40,050 | cpp | C++ | src/lib/client/NetworkControllerBasis.cpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | 1 | 2021-05-21T21:10:09.000Z | 2021-05-21T21:10:09.000Z | src/lib/client/NetworkControllerBasis.cpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | 12 | 2021-06-12T16:42:30.000Z | 2022-02-01T18:44:42.000Z | src/lib/client/NetworkControllerBasis.cpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Grant Erickson
* 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
*
... | 36.113616 | 180 | 0.639625 | [
"object",
"model"
] |
cde0fe0946c79a3d054169061978cb2b7a234be2 | 15,199 | cpp | C++ | MUSEN/Modules/Simulator/GPUSimulator.cpp | msolids/musen | 67d9a70d03d771ccda649c21b78d165684e31171 | [
"BSD-3-Clause"
] | 19 | 2020-09-28T07:22:50.000Z | 2022-03-07T09:52:20.000Z | MUSEN/Modules/Simulator/GPUSimulator.cpp | msolids/musen | 67d9a70d03d771ccda649c21b78d165684e31171 | [
"BSD-3-Clause"
] | 5 | 2020-12-26T18:18:27.000Z | 2022-02-23T22:56:43.000Z | MUSEN/Modules/Simulator/GPUSimulator.cpp | msolids/musen | 67d9a70d03d771ccda649c21b78d165684e31171 | [
"BSD-3-Clause"
] | 11 | 2020-11-02T11:32:03.000Z | 2022-01-27T08:22:04.000Z | /* Copyright (c) 2013-2020, MUSEN Development Team. All rights reserved.
This file is part of MUSEN framework http://msolids.net/musen.
See LICENSE file for license and warranty information. */
#include "GPUSimulator.h"
CGPUSimulator::CGPUSimulator()
{
Construct();
}
CGPUSimulator::CGPUSimulator(const CBaseSi... | 38.772959 | 203 | 0.780117 | [
"geometry",
"vector",
"model",
"solid"
] |
cde2a6f1b4c142dcf71cfe6840190329e27b428e | 203 | cpp | C++ | cmake/external/eigen/doc/snippets/Tutorial_std_sort.cpp | fushwLZU/onnxruntime_test | 7ee82dde9150dc0d3014c06a82eabdecb989f2f3 | [
"MIT"
] | 310 | 2020-04-06T17:01:21.000Z | 2022-03-27T17:52:35.000Z | cmake/external/eigen/doc/snippets/Tutorial_std_sort.cpp | fushwLZU/onnxruntime_test | 7ee82dde9150dc0d3014c06a82eabdecb989f2f3 | [
"MIT"
] | 74 | 2020-03-30T08:02:35.000Z | 2021-01-07T18:00:49.000Z | external/eigen/doc/snippets/Tutorial_std_sort.cpp | lucaparisi91/qmc3 | f76178896ecf7b79af863f8d4fc3653326bea5c3 | [
"MIT"
] | 29 | 2020-04-10T07:16:23.000Z | 2022-01-31T20:54:30.000Z | Array4i v = Array4i::Random().abs();
cout << "Here is the initial vector v:\n" << v.transpose() << "\n";
std::sort(v.begin(), v.end());
cout << "Here is the sorted vector v:\n" << v.transpose() << "\n";
| 40.6 | 67 | 0.581281 | [
"vector"
] |
cde53f504c6a2542cf3289b1efdbf5c241a76e69 | 16,775 | cpp | C++ | admin/wmi/wbem/winmgmt/adap/adapthrd.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/wmi/wbem/winmgmt/adap/adapthrd.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/wmi/wbem/winmgmt/adap/adapthrd.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (C) 1999-2001 Microsoft Corporation
Module Name:
ADAPTHRD.CPP
Abstract:
History:
--*/
#include "precomp.h"
#include <stdio.h>
#include <process.h>
#include <wbemcli.h>
#include <cominit.h>
#include "ntreg.h"
#include "adapthrd.h"
// IMPORTANT!!!!
// This code MUST b... | 30.225225 | 153 | 0.415201 | [
"object"
] |
cde74090e2bcb92f9354f359401b46e394956619 | 14,680 | cpp | C++ | dev/Code/Framework/AzToolsFramework/AzToolsFramework/Asset/AssetUtils.cpp | pawandayma/lumberyard | e178f173f9c21369efd8c60adda3914e502f006a | [
"AML"
] | 6 | 2018-01-21T14:07:01.000Z | 2020-03-13T17:57:26.000Z | dev/Code/Framework/AzToolsFramework/AzToolsFramework/Asset/AssetUtils.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/Asset/AssetUtils.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 6 | 2020-06-04T04:21:02.000Z | 2021-06-22T17:09:27.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 43.431953 | 181 | 0.581471 | [
"vector"
] |
cde976fa516a36e611b42a74900e6f07f38c7c52 | 2,815 | cc | C++ | chrome/browser/vr/elements/text.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/vr/elements/text.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/vr/elements/text.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/vr/elements/text.h"
#include "base/memory/ptr_util.h"
#include "cc/paint/skia_paint_canvas.h"
#include "chrome/browser/vr/elemen... | 31.988636 | 79 | 0.691297 | [
"geometry",
"vector"
] |
cdeb75afb4cd35819634b0cc7ec2c3059eb85c39 | 48,523 | cpp | C++ | src/cpp/filter_old.cpp | lanl/tardigrade-overlap-coupling | a79c8c31b89bc1448ce4a3d438c3f3771f860042 | [
"BSD-3-Clause"
] | null | null | null | src/cpp/filter_old.cpp | lanl/tardigrade-overlap-coupling | a79c8c31b89bc1448ce4a3d438c3f3771f860042 | [
"BSD-3-Clause"
] | null | null | null | src/cpp/filter_old.cpp | lanl/tardigrade-overlap-coupling | a79c8c31b89bc1448ce4a3d438c3f3771f860042 | [
"BSD-3-Clause"
] | null | null | null | /*!
===============================================================================
| filter.cpp |
===============================================================================
| An implementation of the micromorphic filter using the overlap coupling ... | 43.951993 | 142 | 0.56332 | [
"object",
"shape",
"vector"
] |
cdf1f45159e98fbc8b69b282a5b5d69904c8aa31 | 2,148 | cpp | C++ | 0399-Evaluate Division/0399-Evaluate Division.cpp | zhuangli1987/LeetCode-1 | e81788abf9e95e575140f32a58fe983abc97fa4a | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0301-0400/0399-Evaluate Division/0399-Evaluate Division.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0301-0400/0399-Evaluate Division/0399-Evaluate Division.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | class Solution {
public:
vector<double> calcEquation(vector<pair<string, string>> equations, vector<double>& values, vector<pair<string, string>> queries) {
int n = equations.size();
for (int i = 0; i < n; ++i) {
string eq1 = equations[i].first;
string eq2 = equations[i].seco... | 31.588235 | 153 | 0.442272 | [
"vector"
] |
cdf2dd3609e56c471a6f5c2f6617c6efa9af924a | 3,385 | hpp | C++ | src/include/functional/functional.hpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null | src/include/functional/functional.hpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null | src/include/functional/functional.hpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <iostream>
#include <cassert>
// type erasure holder that can hide the actual implementation
// and allow using different actions that exposes the same interface
// note that these actions are not related, but only need to be supported
// with the global functions "preform_acti... | 25.451128 | 87 | 0.64195 | [
"object"
] |
cdf7d11bab8c2c2a7d36352511cb80d5c71bed6d | 1,177 | cpp | C++ | IOPi/tests/set_bus_pullups.cpp | Sephiroth1402/ABElectronics_CPP_Libraries | e1b5f2c2ac691bb096aa2a2bf9af1cf2d26251b4 | [
"MIT"
] | null | null | null | IOPi/tests/set_bus_pullups.cpp | Sephiroth1402/ABElectronics_CPP_Libraries | e1b5f2c2ac691bb096aa2a2bf9af1cf2d26251b4 | [
"MIT"
] | null | null | null | IOPi/tests/set_bus_pullups.cpp | Sephiroth1402/ABElectronics_CPP_Libraries | e1b5f2c2ac691bb096aa2a2bf9af1cf2d26251b4 | [
"MIT"
] | null | null | null | /*
set_bus_pullups.cpp
Version 1.0 Created 01/07/2020
compile with "g++ set_bus_pullups.cpp ../ABE_IoPi.cpp -Wall -Wextra -Wpedantic -Woverflow -o set_bus_pullups"
run with "./set_bus_pullups"
This test validates the set_bus_pullups method in the IOPi class.
Hardware Required: Logic Analyser on I2C Pin... | 17.308824 | 115 | 0.672048 | [
"object"
] |
cdfcc56329d0c9bc23049f92a7b8a540448f66f7 | 13,231 | cpp | C++ | raideng/scsi_con.cpp | barak/raidutils | 8eed7a577ac4565da324cd742e8f1afe7ae101e0 | [
"BSD-3-Clause"
] | null | null | null | raideng/scsi_con.cpp | barak/raidutils | 8eed7a577ac4565da324cd742e8f1afe7ae101e0 | [
"BSD-3-Clause"
] | null | null | null | raideng/scsi_con.cpp | barak/raidutils | 8eed7a577ac4565da324cd742e8f1afe7ae101e0 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 1996-2004, Adaptec Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice, this
* list of... | 25.395393 | 93 | 0.592699 | [
"object"
] |
cdfdf6448e757601fa5bd74db7fd36d56b660a30 | 12,117 | cpp | C++ | darkness-engine/include/shaders/core/ibl/Irradiance.ps.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 6 | 2019-10-17T11:31:55.000Z | 2022-02-11T08:51:20.000Z | darkness-engine/include/shaders/core/ibl/Irradiance.ps.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 1 | 2020-08-11T09:01:29.000Z | 2020-08-11T09:01:29.000Z | darkness-engine/include/shaders/core/ibl/Irradiance.ps.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 1 | 2020-06-02T15:48:20.000Z | 2020-06-02T15:48:20.000Z | #include "Irradiance.ps.h"
#include "engine/graphics/ShaderStorage.h"
#include "engine/graphics/Sampler.h"
#include "tools/ByteRange.h"
#include "tools/Debug.h"
#include <memory>
namespace engine
{
namespace shaders
{
#pragma warning( push )
#pragma warning( disable : 4702 )
std::shared_ptr<const Shade... | 24.041667 | 224 | 0.494842 | [
"vector"
] |
a80497acf68e2f409a5e6a6802ef79b78d5eb4e0 | 11,297 | cc | C++ | xls/jit/proc_builder_visitor.cc | AdrianaDJ/xls | c6672aec22a13a5761a8cd29968bf317177b95b7 | [
"Apache-2.0"
] | null | null | null | xls/jit/proc_builder_visitor.cc | AdrianaDJ/xls | c6672aec22a13a5761a8cd29968bf317177b95b7 | [
"Apache-2.0"
] | null | null | null | xls/jit/proc_builder_visitor.cc | AdrianaDJ/xls | c6672aec22a13a5761a8cd29968bf317177b95b7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 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 ... | 45.552419 | 80 | 0.698947 | [
"vector"
] |
a805e77500f1894a277ecfc6e80536dc4c61820d | 401 | cpp | C++ | AtCoder/ABC177/c2.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | AtCoder/ABC177/c2.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | AtCoder/ABC177/c2.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int mod = 1000000007;
int main() {
int n;
cin >> n;
vector<int> a(n);
rep(i, n) cin >> a[i];
int ans = 0;
int x = 0;
rep(i, n) {
ans = (ans + (ll)a[i... | 16.708333 | 47 | 0.496259 | [
"vector"
] |
a80b4b2be269fae32ed28d8e0a665b199639069f | 32,600 | cc | C++ | src/core/ensemble_scheduler.cc | LittleReal/tensorrt-inference-server | f2010b1277af93a032df6979e8086bec486ed5dd | [
"BSD-3-Clause"
] | null | null | null | src/core/ensemble_scheduler.cc | LittleReal/tensorrt-inference-server | f2010b1277af93a032df6979e8086bec486ed5dd | [
"BSD-3-Clause"
] | null | null | null | src/core/ensemble_scheduler.cc | LittleReal/tensorrt-inference-server | f2010b1277af93a032df6979e8086bec486ed5dd | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of condi... | 37.342497 | 80 | 0.69181 | [
"shape",
"vector",
"model"
] |
a812bc875bba4efa8740f06ebd552ad3f0ce5ff4 | 9,299 | cpp | C++ | src/lib/storage/index/group_key/composite_group_key_index.cpp | bengelhaupt/hyrise | dc2b6d9f205b9f31f989dc8821b6167ad7202fab | [
"MIT"
] | 1 | 2021-07-02T09:51:19.000Z | 2021-07-02T09:51:19.000Z | src/lib/storage/index/group_key/composite_group_key_index.cpp | bengelhaupt/hyrise | dc2b6d9f205b9f31f989dc8821b6167ad7202fab | [
"MIT"
] | null | null | null | src/lib/storage/index/group_key/composite_group_key_index.cpp | bengelhaupt/hyrise | dc2b6d9f205b9f31f989dc8821b6167ad7202fab | [
"MIT"
] | null | null | null | #include "composite_group_key_index.hpp"
#include <algorithm>
#include <climits>
#include <cstdint>
#include <iterator>
#include <memory>
#include <numeric>
#include <string>
#include <utility>
#include <vector>
#include "storage/base_dictionary_segment.hpp"
#include "storage/vector_compression/base_compressed_vector... | 47.443878 | 120 | 0.743736 | [
"vector",
"transform"
] |
a81317d50bf9ecce3826e209ebbaaac96df6a0ca | 2,299 | cpp | C++ | Clowns' F8/GUILabel.cpp | cherry-glasses/Project-2-Game | 9fcd27c4a0b56718be5fe6bc365299286cbf947b | [
"MIT"
] | 1 | 2021-02-04T13:37:00.000Z | 2021-02-04T13:37:00.000Z | Clowns' F8/GUILabel.cpp | cherry-glasses/Project-2-Game | 9fcd27c4a0b56718be5fe6bc365299286cbf947b | [
"MIT"
] | 23 | 2019-04-03T08:49:08.000Z | 2019-05-25T14:04:44.000Z | Clowns' F8/GUILabel.cpp | cherry-glasses/Clowns-F8 | 9fcd27c4a0b56718be5fe6bc365299286cbf947b | [
"MIT"
] | 1 | 2019-02-25T22:49:46.000Z | 2019-02-25T22:49:46.000Z | #include "Application.h"
#include "ModuleGUIManager.h"
#include "GUIElement.h"
#include "GUILabel.h"
#include "ModuleRender.h"
#include "SDL_ttf/include/SDL_ttf.h"
GUILabel::GUILabel(int x, int y, std::string text, SDL_Color color, _TTF_Font* font, int curr, int def, GUIElement* son, bool centrated) : GUIElement(type... | 21.091743 | 172 | 0.643758 | [
"render"
] |
a816f3773334e209a1f1ad052dfeaa0c42161e3e | 2,171 | hpp | C++ | OREData/ored/model/marketobserver.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 335 | 2016-10-07T16:31:10.000Z | 2022-03-02T07:12:03.000Z | OREData/ored/model/marketobserver.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 59 | 2016-10-31T04:20:24.000Z | 2022-01-03T16:39:57.000Z | OREData/ored/model/marketobserver.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 180 | 2016-10-08T14:23:50.000Z | 2022-03-28T10:43:05.000Z | /*
Copyright (C) 2019 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 27.1375 | 86 | 0.731921 | [
"model"
] |
a818cecc08dd54714ffc8cf52b0d4eb087b69051 | 9,038 | cpp | C++ | Utilities/LearnLambda.cpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 39 | 2015-01-01T07:59:51.000Z | 2021-10-01T18:11:46.000Z | Utilities/LearnLambda.cpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 1 | 2019-04-24T09:56:15.000Z | 2019-04-24T14:45:46.000Z | Utilities/LearnLambda.cpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 18 | 2015-01-11T15:10:23.000Z | 2022-02-24T20:02:10.000Z | /*=========================================================================
*
* Copyright David Doria 2011 daviddoria@gmail.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*... | 38.29661 | 159 | 0.712326 | [
"vector"
] |
a8193eecf316076c1e4b1b4c255e4917c2e1ae48 | 4,670 | cpp | C++ | src/proto/http/header.cpp | jimi36/librabbit | 32a44f0ebeef6c54f248505073772895e4ebb9c9 | [
"Apache-2.0"
] | 1 | 2019-12-22T06:03:01.000Z | 2019-12-22T06:03:01.000Z | src/proto/http/header.cpp | jimi36/librabbit | 32a44f0ebeef6c54f248505073772895e4ebb9c9 | [
"Apache-2.0"
] | null | null | null | src/proto/http/header.cpp | jimi36/librabbit | 32a44f0ebeef6c54f248505073772895e4ebb9c9 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2015-2018 ZhengHaiTao <ming8ren@163.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 27.151163 | 78 | 0.583512 | [
"vector"
] |
a825619714b0330ed1f0d8f4f4f2d2293b0429c1 | 3,510 | cpp | C++ | test/source/example.cpp | TheLartians/Glue | 721cbb74771be98e78c2eaf2de4751cf9de7cc9f | [
"MIT"
] | 51 | 2019-08-07T08:34:51.000Z | 2021-10-04T08:32:32.000Z | test/source/example.cpp | TheLartians/Glue | 721cbb74771be98e78c2eaf2de4751cf9de7cc9f | [
"MIT"
] | 54 | 2019-05-03T12:17:27.000Z | 2020-05-25T15:45:26.000Z | test/source/example.cpp | TheLartians/Glue | 721cbb74771be98e78c2eaf2de4751cf9de7cc9f | [
"MIT"
] | 2 | 2020-05-20T12:51:25.000Z | 2021-02-25T19:54:15.000Z | #include <doctest/doctest.h>
#include <vector>
// clang-format off
#include <glue/value.h>
#include <iostream>
void valueExample() {
// `glue::Value`s hold an `revisited::Any` type that can store any type of value
glue::Value value = "Hello glue!";
// access the any type through the `->` or `*` operator
// ... | 34.411765 | 103 | 0.659544 | [
"vector"
] |
a839c297167a1fdf1ad56284bb7b4871ccb66496 | 9,828 | hpp | C++ | open/Inspur/code/harness/harness_dlrm/batch_maker.hpp | fenz-org/mlperf_inference_results_v0.7 | 2e38bec7f8df806283802a69db3d0038a37d026e | [
"Apache-2.0"
] | 19 | 2020-10-26T17:37:22.000Z | 2022-01-20T09:32:38.000Z | open/Inspur/code/harness/harness_dlrm/batch_maker.hpp | fenz-org/mlperf_inference_results_v0.7 | 2e38bec7f8df806283802a69db3d0038a37d026e | [
"Apache-2.0"
] | 11 | 2020-10-21T19:18:48.000Z | 2021-03-11T18:50:36.000Z | open/Inspur/code/harness/harness_dlrm/batch_maker.hpp | fenz-org/mlperf_inference_results_v0.7 | 2e38bec7f8df806283802a69db3d0038a37d026e | [
"Apache-2.0"
] | 19 | 2020-10-21T19:15:17.000Z | 2022-01-04T08:32:08.000Z | /*
* Copyright (c) 2020, NVIDIA CORPORATION. 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 requi... | 33.889655 | 140 | 0.69302 | [
"vector"
] |
a83e8f3c1b0217e0f21170282689fcdb32a258c8 | 769 | hpp | C++ | include/engge/Engine/Thread.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 127 | 2018-12-09T18:40:02.000Z | 2022-03-06T00:10:07.000Z | include/engge/Engine/Thread.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 267 | 2019-02-26T22:16:48.000Z | 2022-02-09T09:49:22.000Z | include/engge/Engine/Thread.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 17 | 2019-02-26T20:45:34.000Z | 2021-06-17T15:06:26.000Z | #pragma once
#include <string>
#include <vector>
#include "squirrel.h"
#include "ThreadBase.hpp"
namespace ng {
class Thread final : public ThreadBase {
public:
Thread(std::string name, bool isGlobal,
HSQUIRRELVM v,
HSQOBJECT thread_obj,
HSQOBJECT env_obj,
HSQOBJECT closureObj,
... | 22.617647 | 66 | 0.686606 | [
"vector"
] |
a83fe0974b0fb7ea55c53eba79efa327351fb139 | 14,637 | cpp | C++ | include/taichi/math/levelset.cpp | gonnavis/taichi | ba1898643e4548a23ecae340e963614b28b8a103 | [
"MIT"
] | 2 | 2019-06-25T02:12:37.000Z | 2019-06-25T02:12:48.000Z | include/taichi/math/levelset.cpp | gonnavis/taichi | ba1898643e4548a23ecae340e963614b28b8a103 | [
"MIT"
] | 1 | 2019-10-20T08:46:09.000Z | 2019-10-20T08:46:09.000Z | include/taichi/math/levelset.cpp | gonnavis/taichi | ba1898643e4548a23ecae340e963614b28b8a103 | [
"MIT"
] | 1 | 2021-11-29T22:47:24.000Z | 2021-11-29T22:47:24.000Z | /*******************************************************************************
Copyright (c) The Taichi Authors (2016- ). All Rights Reserved.
The use of this software is governed by the LICENSE file.
*******************************************************************************/
#include "levelset.h"
TC_N... | 37.530769 | 94 | 0.539728 | [
"vector"
] |
61b3038e2008d912ee5d6b0464998f1022d68bb1 | 5,541 | cpp | C++ | Hackerrank/3/sol_long.cpp | luchev/uni-data-structures-and-algorithms-assistant-2019 | 3dcb1efc6f65b4736d3761c0bad858cb236bc213 | [
"MIT"
] | 3 | 2019-10-24T08:38:34.000Z | 2019-12-03T10:46:10.000Z | Hackerrank/3/sol_long.cpp | luchev/uni-data-structures-and-algorithms-2019 | 3dcb1efc6f65b4736d3761c0bad858cb236bc213 | [
"MIT"
] | null | null | null | Hackerrank/3/sol_long.cpp | luchev/uni-data-structures-and-algorithms-2019 | 3dcb1efc6f65b4736d3761c0bad858cb236bc213 | [
"MIT"
] | 2 | 2019-10-22T11:51:18.000Z | 2019-11-03T21:51:33.000Z | #include <vector>
#include <random>
#include <iostream>
#include <algorithm>
#include <chrono>
#include <fstream>
using namespace std;
using namespace chrono;
size_t GenerateUnsignedInt(size_t From, size_t To) {
mt19937 rng;
rng.seed(random_device()());
uniform_int_distribution<mt19937::result_type> gener... | 33.786585 | 175 | 0.623173 | [
"vector"
] |
61b5930404b8c08b067d3453706f81084aa62310 | 8,938 | hpp | C++ | src/core/storage/fileio/s3_api.hpp | cookingcodewithme/turicreate | a89e203d60529d2d72547c03ec9753ea979ee342 | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | src/core/storage/fileio/s3_api.hpp | cookingcodewithme/turicreate | a89e203d60529d2d72547c03ec9753ea979ee342 | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | src/core/storage/fileio/s3_api.hpp | cookingcodewithme/turicreate | a89e203d60529d2d72547c03ec9753ea979ee342 | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /* Copyright © 2020 Apple Inc. All rights reserved.
*
* Use of this source code is governed by a BSD-3-clause license that can
* be found in the LICENSE.txt file or at
* https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef TURI_S3_UPLOADER_HPP
#define TURI_S3_UPLOADER_HPP
#ifndef TC_DISABLE_REMOTEFS
#include ... | 29.114007 | 80 | 0.683151 | [
"object",
"vector"
] |
61b65019796f53c0cc235a852ae652a364eb07e0 | 9,524 | hpp | C++ | src/xpcc/math/geometry/line_segment_2d_impl.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | 161 | 2015-01-13T15:52:06.000Z | 2020-02-13T01:26:04.000Z | src/xpcc/math/geometry/line_segment_2d_impl.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | 281 | 2015-01-06T12:46:40.000Z | 2019-01-06T13:06:57.000Z | src/xpcc/math/geometry/line_segment_2d_impl.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | 51 | 2015-03-03T19:56:12.000Z | 2020-03-22T02:13:36.000Z | // coding: utf-8
// ----------------------------------------------------------------------------
/* Copyright (c) 2009, Roboterclub Aachen e.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... | 31.432343 | 91 | 0.625052 | [
"vector"
] |
61bf27ead72af823851485ec673820bfc15f9d13 | 138,805 | cpp | C++ | GameBalanceData.cpp | chickenbellyfin/tamods-server | 7db99d298697f3f96bfccfd286b745e25b7ac180 | [
"MIT"
] | 1 | 2021-09-16T15:33:32.000Z | 2021-09-16T15:33:32.000Z | GameBalanceData.cpp | chickenbellyfin/tamods-server | 7db99d298697f3f96bfccfd286b745e25b7ac180 | [
"MIT"
] | 1 | 2022-02-11T09:08:13.000Z | 2022-02-11T09:08:13.000Z | GameBalanceData.cpp | chickenbellyfin/tamods-server | 7db99d298697f3f96bfccfd286b745e25b7ac180 | [
"MIT"
] | 1 | 2021-09-16T15:33:37.000Z | 2021-09-16T15:33:37.000Z | #include "GameBalance.h"
namespace GameBalance {
template <typename ProjType>
static ProjType* getWeaponDefaultProj(AWeapon* dev) {
if (dev->WeaponProjectiles.Count == 0) return NULL;
UClass* projClass = dev->WeaponProjectiles.GetStd(0);
if (!projClass) {
return NULL;
... | 46.798719 | 170 | 0.582414 | [
"object"
] |
61c23f3f5bf1613c8db1d7ba77eb971c38629106 | 9,907 | cpp | C++ | mcrouter/routes/McRouteHandleProvider.cpp | hrjaco/mcrouter | 5a7b852a1ea2f3c645e0b8366c0549bc992870af | [
"BSD-3-Clause"
] | null | null | null | mcrouter/routes/McRouteHandleProvider.cpp | hrjaco/mcrouter | 5a7b852a1ea2f3c645e0b8366c0549bc992870af | [
"BSD-3-Clause"
] | null | null | null | mcrouter/routes/McRouteHandleProvider.cpp | hrjaco/mcrouter | 5a7b852a1ea2f3c645e0b8366c0549bc992870af | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "McRo... | 35.131206 | 80 | 0.689714 | [
"object",
"vector"
] |
61c3d0e43f05efbfb03eeb465b74e644bdc20d89 | 9,631 | hpp | C++ | headers/enduro2d/high/_high.hpp | NechukhrinN/enduro2d | 774f120395885a6f0f21418c4de024e7668ee436 | [
"MIT"
] | null | null | null | headers/enduro2d/high/_high.hpp | NechukhrinN/enduro2d | 774f120395885a6f0f21418c4de024e7668ee436 | [
"MIT"
] | null | null | null | headers/enduro2d/high/_high.hpp | NechukhrinN/enduro2d | 774f120395885a6f0f21418c4de024e7668ee436 | [
"MIT"
] | null | null | null | /*******************************************************************************
* This file is part of the "Enduro2D"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2020, by Matvey Cherevko (blackmatov@gmail.com)
***************************************************... | 28.749254 | 106 | 0.574811 | [
"vector",
"model"
] |
61c666e144e91851428603a3b3cc731870688af3 | 4,750 | cpp | C++ | src/components/StoryInformation.cpp | KirmesBude/REGoth-bs | 2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a | [
"MIT"
] | 399 | 2019-01-06T17:55:18.000Z | 2022-03-21T17:41:18.000Z | src/components/StoryInformation.cpp | KirmesBude/REGoth-bs | 2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a | [
"MIT"
] | 101 | 2019-04-18T21:03:53.000Z | 2022-01-08T13:27:01.000Z | src/components/StoryInformation.cpp | KirmesBude/REGoth-bs | 2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a | [
"MIT"
] | 56 | 2019-04-10T10:18:27.000Z | 2022-02-08T01:23:31.000Z | #include "StoryInformation.hpp"
#include <RTTI/RTTI_StoryInformation.hpp>
#include <components/Character.hpp>
#include <components/GameWorld.hpp>
#include <exception/Throw.hpp>
#include <log/logging.hpp>
#include <scripting/ScriptSymbolQueries.hpp>
#include <scripting/ScriptVMForGameWorld.hpp>
// TODO: Refactor, so we... | 29.141104 | 99 | 0.670737 | [
"vector"
] |
61cee999597b336c99ed7fbb0c63119af87c814b | 6,339 | cc | C++ | dali/kernels/signal/window/extract_windows_cpu_test.cc | ancientmooner/DALI | 355e8db8130cee0d20e9ae3d698f195278544995 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2021-03-16T05:09:16.000Z | 2022-03-29T12:48:44.000Z | dali/kernels/signal/window/extract_windows_cpu_test.cc | MAKali4737/DALI | 3b114c6ebee38ff3815a9b4a234402e4d1affaa0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/kernels/signal/window/extract_windows_cpu_test.cc | MAKali4737/DALI | 3b114c6ebee38ff3815a9b4a234402e4d1affaa0 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-05-08T16:51:55.000Z | 2021-07-22T09:02:44.000Z | // Copyright (c) 2019, NVIDIA CORPORATION. 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 ... | 32.675258 | 90 | 0.667929 | [
"shape",
"vector"
] |
61d1ed41c8437fed34bcf8c785e439594e6771f5 | 77 | hpp | C++ | include/lava/sill/frame-components.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 15 | 2018-02-26T08:20:03.000Z | 2022-03-06T03:25:46.000Z | include/lava/sill/frame-components.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 32 | 2018-02-26T08:26:38.000Z | 2020-09-12T17:09:38.000Z | include/lava/sill/frame-components.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | null | null | null | #pragma once
#include <lava/sill/frame-components/mesh-frame-component.hpp>
| 19.25 | 62 | 0.792208 | [
"mesh"
] |
61d2118ff79ea065f2f95160e947c94929ae7a9e | 17,029 | cpp | C++ | examples/38-bloom/bloom.cpp | amrezzd/bgfx | 560669f6c0e19daf8f29e1f085599f0765e4ee35 | [
"BSD-2-Clause"
] | 1 | 2022-02-22T09:26:13.000Z | 2022-02-22T09:26:13.000Z | examples/38-bloom/bloom.cpp | amrezzd/bgfx | 560669f6c0e19daf8f29e1f085599f0765e4ee35 | [
"BSD-2-Clause"
] | null | null | null | examples/38-bloom/bloom.cpp | amrezzd/bgfx | 560669f6c0e19daf8f29e1f085599f0765e4ee35 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2018 Eric Arnebäck. All rights reserved.
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/
/*
* Reference(s):
* - Next Generation Post Processing in Call of Duty: Advanced Warfare
* https://web.archive.org/web/20180920045230/http://www.iryoku.com/next-generation-post-processing... | 25.762481 | 148 | 0.650244 | [
"geometry",
"render",
"transform"
] |
61d3b8f60f7ba996dc2ead40686e3ae7c44c821a | 40,237 | cpp | C++ | src/condor_dagman/job.cpp | matyasselmeci/htcondor | 743122b24ce680de5530c365e16353e96ea3456b | [
"Apache-2.0"
] | null | null | null | src/condor_dagman/job.cpp | matyasselmeci/htcondor | 743122b24ce680de5530c365e16353e96ea3456b | [
"Apache-2.0"
] | null | null | null | src/condor_dagman/job.cpp | matyasselmeci/htcondor | 743122b24ce680de5530c365e16353e96ea3456b | [
"Apache-2.0"
] | null | null | null | /***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | 24.976412 | 123 | 0.616025 | [
"vector"
] |
61d6ee667191672c05c83d3b9d4ba625db19968d | 4,899 | cpp | C++ | src/Magnum/GL/Test/AbstractQueryGLTest.cpp | glhrmfrts/magnum | c5d08156eaa03867403c32f4b0ee6a56202331e4 | [
"MIT"
] | 1 | 2019-04-23T07:31:01.000Z | 2019-04-23T07:31:01.000Z | src/Magnum/GL/Test/AbstractQueryGLTest.cpp | glhrmfrts/magnum | c5d08156eaa03867403c32f4b0ee6a56202331e4 | [
"MIT"
] | null | null | null | src/Magnum/GL/Test/AbstractQueryGLTest.cpp | glhrmfrts/magnum | c5d08156eaa03867403c32f4b0ee6a56202331e4 | [
"MIT"
] | 1 | 2022-03-31T08:48:52.000Z | 2022-03-31T08:48:52.000Z | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
... | 32.443709 | 133 | 0.703205 | [
"object"
] |
61d85a899e5bdd75b21f675db024cc61fe2878d0 | 11,941 | cpp | C++ | Chatserver/Chatserver/utils.cpp | danielbrendel/dnyCorvusChat | fc9f30245df2ec2bc5ac305c8bca93a002f6b6bd | [
"MIT"
] | null | null | null | Chatserver/Chatserver/utils.cpp | danielbrendel/dnyCorvusChat | fc9f30245df2ec2bc5ac305c8bca93a002f6b6bd | [
"MIT"
] | null | null | null | Chatserver/Chatserver/utils.cpp | danielbrendel/dnyCorvusChat | fc9f30245df2ec2bc5ac305c8bca93a002f6b6bd | [
"MIT"
] | null | null | null | #include "utils.h"
/*
CorvusChat Server (dnyCorvusChat) - Chatserver component
Developed by Daniel Brendel
Version: 0.5
Visit: https://github.com/danielbrendel
Mail dbrendel1988@gmail.com
File: utils.cpp: Utility function implementations
*/
//=================================================================... | 26.954853 | 159 | 0.521816 | [
"object"
] |
61dc678a34388b8eef41ecec6b75c130ab5d1c22 | 4,648 | hpp | C++ | read_csv.hpp | Ignacio-Moral-22/TC1031_Reto | 5a7fe2400e8235d0868bd33c80359f43dfc4b23f | [
"MIT"
] | null | null | null | read_csv.hpp | Ignacio-Moral-22/TC1031_Reto | 5a7fe2400e8235d0868bd33c80359f43dfc4b23f | [
"MIT"
] | null | null | null | read_csv.hpp | Ignacio-Moral-22/TC1031_Reto | 5a7fe2400e8235d0868bd33c80359f43dfc4b23f | [
"MIT"
] | null | null | null | #ifndef read_csv_hpp
#define read_csv_hpp
#include <fstream>
#include <vector>
#include <string>
#include <iostream>
#include "clase_archivo.hpp"
#include "busqueda.hpp"
std::vector<class Registros<std::string>> readRecords(){
std::ifstream valores("equipo10.csv");
std::string fecha, hora, ipFuente, puertoFuen... | 34.686567 | 129 | 0.611446 | [
"vector"
] |
61e8fc12003c3b1ae937706e58ead8de2a52dc0c | 1,945 | cpp | C++ | Codeforces/E1/D.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | 2 | 2018-12-11T14:37:24.000Z | 2022-01-23T18:11:54.000Z | Codeforces/E1/D.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | Codeforces/E1/D.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | #pragma comment(linker, "/STACK:2000000")
#include<bits/stdc++.h>
#define mt make_tuple
#define mp make_pair
#define pu push_back
#define INF 1000000001
#define MOD 1000000007
#define ll long long int
#define ld long double
#define vi vector<int>
#define vll vector<long long int>
#define sc(n) scanf("%d",&n);
#define s... | 25.592105 | 85 | 0.515681 | [
"vector"
] |
61ea1d7cb683d856d082605a1d6bf00c61be8b97 | 11,186 | cpp | C++ | src/engine/font.cpp | ttrounce/voxelmade | 6524d77928be6bcb6358aa7fbc3b550192fc9396 | [
"MIT"
] | 1 | 2021-03-17T11:56:42.000Z | 2021-03-17T11:56:42.000Z | src/engine/font.cpp | ttrounce/voxelmade | 6524d77928be6bcb6358aa7fbc3b550192fc9396 | [
"MIT"
] | null | null | null | src/engine/font.cpp | ttrounce/voxelmade | 6524d77928be6bcb6358aa7fbc3b550192fc9396 | [
"MIT"
] | null | null | null | #include "../utility/logging.h"
#include "../utility/basicio.h"
#include "../utility/color.h"
#include "font.h"
#include "gfx.h"
#include "engine.h"
#include <map>
#include <cglm/cglm.h>
#include <glad/glad.h>
#include <ft2build.h>
#include FT_FREETYPE_H
using namespace vhm;
FT_Library library;
void vhm::InitFreeTy... | 29.130208 | 160 | 0.608886 | [
"render",
"model"
] |
61eb749f4e40e84989415cb76df714f7ca882739 | 13,315 | cpp | C++ | src/camera.cpp | SonicMastr/librw | 5bc003d8cd51eb35ab39cdfba379671f8ddd2c78 | [
"MIT"
] | 4 | 2020-10-12T22:06:13.000Z | 2020-12-03T10:27:52.000Z | src/camera.cpp | SonicMastr/librw | 5bc003d8cd51eb35ab39cdfba379671f8ddd2c78 | [
"MIT"
] | null | null | null | src/camera.cpp | SonicMastr/librw | 5bc003d8cd51eb35ab39cdfba379671f8ddd2c78 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "rwbase.h"
#include "rwerror.h"
#include "rwplg.h"
#include "rwpipeline.h"
#include "rwobjects.h"
#include "rwengine.h"
#define PLUGIN_ID ID_CAMERA
namespace rw {
int32 Camera::numAllocated;
PluginList Camera::s_plglist(sizeof(Cam... | 25.361905 | 76 | 0.601051 | [
"object"
] |
61ecd02a0d12532fb71f7976cfd37df46086d97c | 29,529 | cpp | C++ | src/server/game/AuctionHouse/AuctionHouseMgr.cpp | Arkania/ArkCORE | 2484554a7b54be0b652f9dc3c5a8beba79df9fbf | [
"OpenSSL"
] | 42 | 2015-01-05T10:00:07.000Z | 2022-02-18T14:51:33.000Z | src/server/game/AuctionHouse/AuctionHouseMgr.cpp | superllout/WOW | 3d0eeb940cccf8ab7854259172c6d75a85ee4f7d | [
"OpenSSL"
] | null | null | null | src/server/game/AuctionHouse/AuctionHouseMgr.cpp | superllout/WOW | 3d0eeb940cccf8ab7854259172c6d75a85ee4f7d | [
"OpenSSL"
] | 31 | 2015-01-09T02:04:29.000Z | 2021-09-01T13:20:20.000Z | /*
* Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2013 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 - 2013 ArkCORE <http://www.arkania.net/>
*
* This program is free software; ... | 36.276413 | 309 | 0.636662 | [
"vector"
] |
61ee2ae284c4998af95d17392080f7107dda4cd3 | 48,605 | cc | C++ | src/mem/ruby/system/GPUCoalescer.cc | seanzw/UCLA-CS259-MachinesThatLearn-TensorCore | aece7fcdf97d2864fbb31e02940bfcdd470db7b9 | [
"BSD-3-Clause"
] | 135 | 2016-10-21T03:31:49.000Z | 2022-03-25T01:22:20.000Z | src/mem/ruby/system/GPUCoalescer.cc | seanzw/UCLA-CS259-MachinesThatLearn-TensorCore | aece7fcdf97d2864fbb31e02940bfcdd470db7b9 | [
"BSD-3-Clause"
] | 35 | 2017-03-10T17:57:46.000Z | 2022-02-18T17:34:16.000Z | src/mem/ruby/system/GPUCoalescer.cc | seanzw/UCLA-CS259-MachinesThatLearn-TensorCore | aece7fcdf97d2864fbb31e02940bfcdd470db7b9 | [
"BSD-3-Clause"
] | 48 | 2016-12-08T12:03:13.000Z | 2022-02-16T09:16:13.000Z | /*
* Copyright (c) 2013-2015 Advanced Micro Devices, Inc.
* All rights reserved.
*
* For use for simulation and test purposes only
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of sourc... | 35.400583 | 91 | 0.620204 | [
"vector"
] |
61f3698c48a6d0ae9a0f97ed8fc4b1f9364f6409 | 9,463 | cpp | C++ | VideoPlayer/VideoPlayer/Source/Shared/MediaHelpers.cpp | AMollis/UnityPluginCollection | 72bbc15e926e974c4debacd021f134a5a6bbeddb | [
"MIT"
] | null | null | null | VideoPlayer/VideoPlayer/Source/Shared/MediaHelpers.cpp | AMollis/UnityPluginCollection | 72bbc15e926e974c4debacd021f134a5a6bbeddb | [
"MIT"
] | null | null | null | VideoPlayer/VideoPlayer/Source/Shared/MediaHelpers.cpp | AMollis/UnityPluginCollection | 72bbc15e926e974c4debacd021f134a5a6bbeddb | [
"MIT"
] | 1 | 2020-05-31T20:54:09.000Z | 2020-05-31T20:54:09.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 PARTICUL... | 33.556738 | 146 | 0.67505 | [
"object"
] |
61f410000cfd444acef7451581e6031bf17a2b6d | 2,921 | hpp | C++ | src/lib/statistics/base_column_statistics.hpp | nilsthamm/hyrise | 75a701f281bb7dc1636832012c43005ec3c66384 | [
"MIT"
] | 2 | 2019-01-22T19:44:32.000Z | 2019-01-22T19:52:33.000Z | src/lib/statistics/base_column_statistics.hpp | nilsthamm/hyrise | 75a701f281bb7dc1636832012c43005ec3c66384 | [
"MIT"
] | 69 | 2019-05-24T10:01:32.000Z | 2019-12-13T19:09:05.000Z | src/lib/statistics/base_column_statistics.hpp | nilsthamm/hyrise | 75a701f281bb7dc1636832012c43005ec3c66384 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include "all_type_variant.hpp"
#include "types.hpp"
namespace opossum {
class BaseColumnStatistics;
// Result of a cardinality estimation of filtering by value
struct FilterByValueEstimate final {
float selectivity{0.0f};
std::shared_ptr<BaseColumnStatistics> column_statistics;
... | 30.427083 | 120 | 0.74495 | [
"object"
] |
61fab134bc929e70b56c01bf947c3ddf488bb2eb | 304,634 | cpp | C++ | libs/exprtk/exprtk_test.cpp | alxarsenault/axLib-1 | aff63abebff118059d5daca80f06cc8464192c6d | [
"MIT"
] | 1 | 2019-10-15T05:09:34.000Z | 2019-10-15T05:09:34.000Z | libs/exprtk/exprtk_test.cpp | EQ4/axLib | aff63abebff118059d5daca80f06cc8464192c6d | [
"MIT"
] | null | null | null | libs/exprtk/exprtk_test.cpp | EQ4/axLib | aff63abebff118059d5daca80f06cc8464192c6d | [
"MIT"
] | 1 | 2021-12-18T06:30:51.000Z | 2021-12-18T06:30:51.000Z | /*
**************************************************************
* C++ Mathematical Expression Toolkit Library *
* *
* Examples and Unit-Tests *
* Author: Arash Partow (1999-2014) ... | 48.516324 | 248 | 0.377588 | [
"vector"
] |
11045005adadbe66559741f2243a417261bb1322 | 1,309 | hpp | C++ | nacl/misc/poker.hpp | ToxicPie/NaCl | 8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c | [
"MIT"
] | 3 | 2021-08-31T17:51:01.000Z | 2021-11-13T16:22:25.000Z | nacl/misc/poker.hpp | ToxicPie/NaCl | 8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c | [
"MIT"
] | null | null | null | nacl/misc/poker.hpp | ToxicPie/NaCl | 8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
struct hand {
static constexpr auto rk = [] {
array<int, 256> x{};
auto s = "23456789TJQKACDHS";
for (int i = 0; i < 17; i++) x[s[i]] = i % 13;
return x;
}();
vector<pair<int, int>> v;... | 27.270833 | 59 | 0.496562 | [
"vector"
] |
11095c4db18458ac3426f0e9de5426c63608cb72 | 8,115 | cpp | C++ | src/legs_plugin.cpp | threeal/beine_gazebo_plugins | 787defb1238d131dde6afcb03e89de1d58e8688f | [
"MIT"
] | 1 | 2021-08-18T16:37:36.000Z | 2021-08-18T16:37:36.000Z | src/legs_plugin.cpp | threeal/beine_gazebo_plugins | 787defb1238d131dde6afcb03e89de1d58e8688f | [
"MIT"
] | 2 | 2021-04-29T09:01:37.000Z | 2021-04-30T08:06:31.000Z | src/legs_plugin.cpp | threeal/beine_gazebo_plugins | 787defb1238d131dde6afcb03e89de1d58e8688f | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Alfi Maulana
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, ... | 32.075099 | 98 | 0.688478 | [
"model"
] |
110d2841897b81862f716d154df1c29ab842eb82 | 237 | hh | C++ | src/Titon/Intl/locales/de/locale.hh | ciklon-z/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 206 | 2015-01-02T20:01:12.000Z | 2021-04-15T09:49:56.000Z | src/Titon/Intl/locales/de/locale.hh | ciklon-z/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 44 | 2015-01-02T06:03:43.000Z | 2017-11-20T18:29:06.000Z | src/Titon/Intl/locales/de/locale.hh | titon/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 27 | 2015-01-03T05:51:29.000Z | 2022-02-21T13:50:40.000Z | <?hh
// German (Standard)
return Map {
'code' => 'de',
'iso2' => 'de',
'iso3' => Vector {'ger', 'deu'},
'timezone' => 'Europe/Berlin',
'title' => 'German (Standard)',
'plural' => Titon\Intl\PluralRule::RULE_2
};
| 19.75 | 45 | 0.518987 | [
"vector"
] |
11135cf7b16d1f41f7e6d827db61b1f64edbb2fb | 6,348 | cpp | C++ | arbor/cv_policy.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 53 | 2018-10-18T12:08:21.000Z | 2022-03-26T22:03:51.000Z | arbor/cv_policy.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 864 | 2018-10-01T08:06:00.000Z | 2022-03-31T08:06:48.000Z | arbor/cv_policy.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 37 | 2019-03-03T16:18:49.000Z | 2022-03-24T10:39:51.000Z | #include <utility>
#include <ostream>
#include <vector>
#include <arbor/cable_cell.hpp>
#include <arbor/cv_policy.hpp>
#include <arbor/morph/locset.hpp>
#include <arbor/morph/region.hpp>
#include "util/rangeutil.hpp"
#include "util/span.hpp"
// Discretization policy implementations:
namespace arb {
static auto uni... | 31.425743 | 123 | 0.64666 | [
"vector"
] |
111af2cb6fa7665ad8847675cb64523a57746e05 | 5,881 | cpp | C++ | Source/ExistenceApps/ExistenceComponents/Entity.cpp | vivienneanthony/Urho3D-Mastercurrent-Existence | 2d75021489996e1abc2fd330ed967cd89a62f40d | [
"Apache-2.0"
] | 3 | 2015-05-22T23:39:03.000Z | 2016-04-13T03:52:59.000Z | Source/ExistenceApps/ExistenceComponents/Entity.cpp | vivienneanthony/Urho3D-Mastercurrent-Existence | 2d75021489996e1abc2fd330ed967cd89a62f40d | [
"Apache-2.0"
] | null | null | null | Source/ExistenceApps/ExistenceComponents/Entity.cpp | vivienneanthony/Urho3D-Mastercurrent-Existence | 2d75021489996e1abc2fd330ed967cd89a62f40d | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2008-2014 the Urho3D project.
//
// 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, m... | 27.101382 | 111 | 0.743241 | [
"geometry",
"object",
"shape"
] |
111e8b46a3dba1088b7db5e3cbfe78deb07b7316 | 4,254 | hpp | C++ | libs/tweedledum/utils/sat/solver.hpp | wjyoumans/staq | d5227bd4651ce64ba277aab5061e3a132be853bb | [
"MIT"
] | 96 | 2019-12-11T10:18:10.000Z | 2022-03-27T20:16:33.000Z | libs/tweedledum/utils/sat/solver.hpp | wjyoumans/staq | d5227bd4651ce64ba277aab5061e3a132be853bb | [
"MIT"
] | 43 | 2020-01-08T00:59:07.000Z | 2022-03-28T21:35:59.000Z | libs/tweedledum/utils/sat/solver.hpp | wjyoumans/staq | d5227bd4651ce64ba277aab5061e3a132be853bb | [
"MIT"
] | 21 | 2019-12-15T01:40:48.000Z | 2021-12-31T05:27:34.000Z | /*-------------------------------------------------------------------------------------------------
| This file is distributed under the MIT License.
| See accompanying file /LICENSE for details.
| Author(s): Bruno Schmitt
*------------------------------------------------------------------------------------------------... | 29.541667 | 99 | 0.563235 | [
"vector",
"model"
] |
11213460873a01ee17cf8b15592366f0c4a5b0ce | 10,611 | hpp | C++ | include/eos/pca/pca.hpp | faceshiftlabs/eos | 13f3add0bd570855cb3d339f659694a25d366c49 | [
"Apache-2.0"
] | 1,738 | 2015-09-09T16:18:53.000Z | 2022-03-30T04:03:01.000Z | include/eos/pca/pca.hpp | faceshiftlabs/eos | 13f3add0bd570855cb3d339f659694a25d366c49 | [
"Apache-2.0"
] | 317 | 2015-09-04T13:34:19.000Z | 2022-02-04T22:41:01.000Z | include/eos/pca/pca.hpp | faceshiftlabs/eos | 13f3add0bd570855cb3d339f659694a25d366c49 | [
"Apache-2.0"
] | 565 | 2015-08-31T10:57:04.000Z | 2022-03-09T04:08:54.000Z | /*
* eos - A 3D Morphable Model fitting library written in modern C++11/14.
*
* File: include/eos/pca/pca.hpp
*
* Copyright 2017 Patrik Huber
*
* 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 Lic... | 43.310204 | 130 | 0.693431 | [
"mesh",
"vector",
"model",
"3d"
] |
11247a860ce67a768db0bab74d08c638311d6dee | 21,779 | cpp | C++ | be/src/exec/base_scanner.cpp | kuolei/incubator-doris | b14678c0021896f11efdfdaa3e2dad15b2d4868d | [
"Apache-2.0"
] | 1 | 2022-02-22T15:03:57.000Z | 2022-02-22T15:03:57.000Z | be/src/exec/base_scanner.cpp | kuolei/incubator-doris | b14678c0021896f11efdfdaa3e2dad15b2d4868d | [
"Apache-2.0"
] | null | null | null | be/src/exec/base_scanner.cpp | kuolei/incubator-doris | b14678c0021896f11efdfdaa3e2dad15b2d4868d | [
"Apache-2.0"
] | null | null | null | // 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... | 44.905155 | 107 | 0.565912 | [
"vector"
] |
1126006f1b5f8233551cb629f9a026090a277e42 | 3,381 | cpp | C++ | CLRS/DynamicProgramming/MaximumSubarray.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/DynamicProgramming/MaximumSubarray.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/DynamicProgramming/MaximumSubarray.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | /*
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.
Example 1:
Input: nums = [-2,1,-3,4,-1,2,1,-5,4]
Output: 6
Explanation: [4,-1,2,1] has the largest sum = 6.
Example 2:
Input: nums = [1]
Output: 1
Example 3:
Input: nums = [0]
... | 23.809859 | 142 | 0.521148 | [
"vector"
] |
11278b1aa7c43183cb94e5d22f36c083b601ddf7 | 3,893 | hpp | C++ | include/codegen/include/Zenject/PrefabInstantiatorCached.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/Zenject/PrefabInstantiatorCached.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/Zenject/PrefabInstantiatorCached.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:46 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 45.267442 | 197 | 0.761367 | [
"object"
] |
112ae7450fc9632ba09553a9f233f24e77e689a5 | 8,087 | cpp | C++ | catdoor_v2/libs/m0_hf_pwm/src/m0_hf_pwm.cpp | flupes/catdoor | bf718f4ebdfb8cc60c04d42d3d88a4a875f0bc7f | [
"Apache-2.0"
] | null | null | null | catdoor_v2/libs/m0_hf_pwm/src/m0_hf_pwm.cpp | flupes/catdoor | bf718f4ebdfb8cc60c04d42d3d88a4a875f0bc7f | [
"Apache-2.0"
] | null | null | null | catdoor_v2/libs/m0_hf_pwm/src/m0_hf_pwm.cpp | flupes/catdoor | bf718f4ebdfb8cc60c04d42d3d88a4a875f0bc7f | [
"Apache-2.0"
] | null | null | null | // Configure three pins (D5, D6 and D11) on a TCC timer on the Adafruit Feather
// M0 (SAMD21) for fast PWM (higher frequency than a cat can perceive > 73KHz,
// otherwise the solenoid is singing and the catdoor assembly resonate very
// loudly;-)
// Inspired from: MartinL @ https://forum.arduino.cc/index.php?topic=34... | 37.613953 | 113 | 0.655991 | [
"vector"
] |
112f0a9a5ed47ea78951c8afae192e75d70b609b | 1,384 | hpp | C++ | Section 6/Video 10, 11, 12/account.hpp | irshadqemu/C-Standard-Template-Library-in-Practice | 05a52a03c2fc50031f065da41d89cfbf651499f9 | [
"MIT"
] | 17 | 2019-10-10T21:09:51.000Z | 2022-01-13T15:54:24.000Z | Section 6/Video 10, 11, 12/account.hpp | irshadqemu/C-Standard-Template-Library-in-Practice | 05a52a03c2fc50031f065da41d89cfbf651499f9 | [
"MIT"
] | null | null | null | Section 6/Video 10, 11, 12/account.hpp | irshadqemu/C-Standard-Template-Library-in-Practice | 05a52a03c2fc50031f065da41d89cfbf651499f9 | [
"MIT"
] | 16 | 2019-10-10T21:09:55.000Z | 2022-02-13T11:42:52.000Z | #ifndef _ACCOUNT_HPP_
#define _ACCOUNT_HPP_
#include <vector>
#include <algorithm>
#include <iterator>
#include "transaction.hpp"
#define BEGIN_ACCOUNT "BACCT"
/**
* This class defines a money account which stores financial transactions
* and maintains a balance.
*/
class Account {
std::string name;
std::ve... | 21.968254 | 82 | 0.625 | [
"vector"
] |
113268d22f8702d838910851d8e0b55f2afd7690 | 9,116 | cpp | C++ | src/particle_filter.cpp | kommander-keene/CarND-Kidnapped-Vehicle-Project | 49e371c75c7704a2f32f2f8e50b23129a867abde | [
"MIT"
] | null | null | null | src/particle_filter.cpp | kommander-keene/CarND-Kidnapped-Vehicle-Project | 49e371c75c7704a2f32f2f8e50b23129a867abde | [
"MIT"
] | null | null | null | src/particle_filter.cpp | kommander-keene/CarND-Kidnapped-Vehicle-Project | 49e371c75c7704a2f32f2f8e50b23129a867abde | [
"MIT"
] | null | null | null | /**
* particle_filter.cpp
*
* Created on: Dec 12, 2016
* Author: Tiffany Huang
*/
#include "particle_filter.h"
#include <math.h>
#include <algorithm>
#include <iostream>
#include <iterator>
#include <numeric>
#include <random>
#include <string>
#include <vector>
#include "helper_functions.h"
using std::string;... | 34.142322 | 147 | 0.632514 | [
"vector",
"transform"
] |
1132e7229f8990ca2770179e272aac6a27b32bd6 | 14,085 | hpp | C++ | src/AFQMC/Walkers/WalkerIO.hpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | src/AFQMC/Walkers/WalkerIO.hpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | src/AFQMC/Walkers/WalkerIO.hpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | //////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source
// License. See LICENSE file in top directory for details.
//
// Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
//
// File developed by:
// Miguel A. Morales, mo... | 29.652632 | 119 | 0.565779 | [
"vector"
] |
1134c40dd6b1e3775e02148e7eedca2ceebc8c54 | 11,186 | cpp | C++ | Game.cpp | NateBoi4/Artificial-Intelligence-in-Video-Games-Formations-Technique | 49112e2cef45cf0e6d382981754e77814d82b1b8 | [
"MIT"
] | null | null | null | Game.cpp | NateBoi4/Artificial-Intelligence-in-Video-Games-Formations-Technique | 49112e2cef45cf0e6d382981754e77814d82b1b8 | [
"MIT"
] | null | null | null | Game.cpp | NateBoi4/Artificial-Intelligence-in-Video-Games-Formations-Technique | 49112e2cef45cf0e6d382981754e77814d82b1b8 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <assert.h>
#include <iostream>
#include <sstream>
#include "Game.h"
#include <System.h>
#include <GraphicsSystem.h>
#include <GraphicsBuffer.h>
#include <Font.h>
#include <FontManager.h>
#include <GraphicsBufferManager.h>
#include <InputSystem.h>
#include "GameMessageManager.... | 28.318987 | 172 | 0.71956 | [
"object"
] |
11417223eeb6a0366a96d7e95b53dcf2f8892c33 | 1,154 | hpp | C++ | include/EmbGen/Parser/XmlElement.hpp | xxAtrain223/EmbGenParser | c6debf74579349c152170f1d4316525a29985960 | [
"MIT"
] | null | null | null | include/EmbGen/Parser/XmlElement.hpp | xxAtrain223/EmbGenParser | c6debf74579349c152170f1d4316525a29985960 | [
"MIT"
] | null | null | null | include/EmbGen/Parser/XmlElement.hpp | xxAtrain223/EmbGenParser | c6debf74579349c152170f1d4316525a29985960 | [
"MIT"
] | null | null | null | #ifndef EMBGEN_PARSER_XMLELEMENT_HPP
#define EMBGEN_PARSER_XMLELEMENT_HPP
#include <map>
#include <vector>
#include <string>
namespace tinyxml2
{
class XMLElement;
class XMLAttribute;
}
namespace emb
{
namespace gen
{
namespace parser
{
class XmlElement
{
... | 23.08 | 87 | 0.576256 | [
"vector"
] |
11464dabe071291c49b3633714cceec54c645f02 | 4,255 | cpp | C++ | src/lp2cpp/language/Program.cpp | WaspWithCompilation/WASP_C | b4672295ebb7aa514d7a706ca0746ca2c6831d44 | [
"Apache-2.0"
] | null | null | null | src/lp2cpp/language/Program.cpp | WaspWithCompilation/WASP_C | b4672295ebb7aa514d7a706ca0746ca2c6831d44 | [
"Apache-2.0"
] | null | null | null | src/lp2cpp/language/Program.cpp | WaspWithCompilation/WASP_C | b4672295ebb7aa514d7a706ca0746ca2c6831d44 | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright 2016 Bernardo Cuteri, Francesco Ricca.
*
* 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 r... | 26.93038 | 121 | 0.647004 | [
"vector"
] |
1146ae66093fab6603502e297edd4fbc4d68ac33 | 1,413 | cpp | C++ | 1_term/made_2019_algorithms/05/Haffman algorithm/bits_workers.cpp | Ilyabasharov/made_mail.ru | a81bfd874ab80eb8c7eaad8a4acf723f327f2f50 | [
"MIT"
] | 1 | 2020-02-15T06:20:30.000Z | 2020-02-15T06:20:30.000Z | 1_term/made_2019_algorithms/05/Haffman algorithm/bits_workers.cpp | Ilyabasharov/made_mail.ru | a81bfd874ab80eb8c7eaad8a4acf723f327f2f50 | [
"MIT"
] | null | null | null | 1_term/made_2019_algorithms/05/Haffman algorithm/bits_workers.cpp | Ilyabasharov/made_mail.ru | a81bfd874ab80eb8c7eaad8a4acf723f327f2f50 | [
"MIT"
] | 1 | 2021-08-31T08:47:24.000Z | 2021-08-31T08:47:24.000Z | //
// bits_writer.cpp
// Haffman algorithm
//
// Created by Илья Башаров on 10/12/2019.
// Copyright © 2019 MIPT. All rights reserved.
//
#include "bits_workers.hpp"
void BitsWriter::WriteBit(bool bit)
{
accumulator |= bit << bits_count++;
if (bits_count == 8)
{
bits_count = 0;
buffer.... | 19.901408 | 60 | 0.58811 | [
"vector"
] |
114b73d973455b988c66e310fdc2d95da5f50e8b | 64,191 | cxx | C++ | MUON/MUONrec/AliMUONVTrackReconstructor.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | MUON/MUONrec/AliMUONVTrackReconstructor.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | MUON/MUONrec/AliMUONVTrackReconstructor.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 42.454365 | 157 | 0.705987 | [
"geometry",
"object",
"3d"
] |
114c33ec68a82cf188fa19e779b1556a5383b860 | 5,093 | cpp | C++ | libs2eplugins/src/s2e/Plugins/Lua/LuaS2EExecutionStateMemory.cpp | sebastianpoeplau/s2e | 995cac6126e7d80337e8c4a72bfa9a87eea7eb68 | [
"MIT"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | libs2eplugins/src/s2e/Plugins/Lua/LuaS2EExecutionStateMemory.cpp | Moirai7/s2e | 5a321f76d1a862c3898b9d24de621109b0c12b7d | [
"MIT"
] | 2 | 2020-11-02T08:01:00.000Z | 2022-03-27T02:59:18.000Z | libs2eplugins/src/s2e/Plugins/Lua/LuaS2EExecutionStateMemory.cpp | Moirai7/s2e | 5a321f76d1a862c3898b9d24de621109b0c12b7d | [
"MIT"
] | 11 | 2020-08-06T03:59:45.000Z | 2022-02-25T02:31:59.000Z | ///
/// Copyright (C) 2014-2015, Cyberhaven
///
/// 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, me... | 35.124138 | 102 | 0.634007 | [
"vector"
] |
114c48514670296495b1cd7430d8d681201f8c1f | 3,698 | cpp | C++ | 731. My Calendar II.cpp | yuyangh/LeetCode | 5d81cbd975c0c1f2bbca0cb25cefe361a169e460 | [
"MIT"
] | 1 | 2020-10-11T08:10:53.000Z | 2020-10-11T08:10:53.000Z | 731. My Calendar II.cpp | yuyangh/LeetCode | 5d81cbd975c0c1f2bbca0cb25cefe361a169e460 | [
"MIT"
] | null | null | null | 731. My Calendar II.cpp | yuyangh/LeetCode | 5d81cbd975c0c1f2bbca0cb25cefe361a169e460 | [
"MIT"
] | null | null | null | //
// Created by Yuyang Huang on 6/18/20.
//
#include "LeetCodeLib.h"
/*
* @lc app=leetcode id=731 lang=cpp
*
* [731] My Calendar II
*
* https://leetcode.com/problems/my-calendar-ii/description/
*
* algorithms
* Medium (46.45%)
* Likes: 581
* Dislikes: 80
* Total Accepted: 39.9K
* Total Submissions:... | 29.822581 | 87 | 0.683072 | [
"object",
"vector"
] |
1151ff11461b3a344a4f3ea9d89acebb718c0f55 | 3,801 | hpp | C++ | benchtest/test.hpp | AE9RB/fftbench | 9eb4bbcaac24351a4878c4c71e8d652970b0c6eb | [
"MIT"
] | 2 | 2017-02-22T13:56:32.000Z | 2017-04-02T21:55:11.000Z | benchtest/test.hpp | AE9RB/fftbench | 9eb4bbcaac24351a4878c4c71e8d652970b0c6eb | [
"MIT"
] | null | null | null | benchtest/test.hpp | AE9RB/fftbench | 9eb4bbcaac24351a4878c4c71e8d652970b0c6eb | [
"MIT"
] | null | null | null | // benchtest - A benchmarking and unit testing framework.
// Copyright (C) 2014 David Turnbull
//
// 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 version 3 of the License, or
// (at yo... | 36.548077 | 106 | 0.502762 | [
"vector"
] |
115307c7612cbb8963de10864c2d53f4e5d39da7 | 5,008 | cpp | C++ | nucleusSegmentation/src/lib/mask2polygon/src/polygonedit/BoundaryFixFunction.cpp | SBU-BMI/pathomics_analysis_restore | 595df78e3c46ea6e5d43c3c2faa016b9a9395ffa | [
"BSD-3-Clause"
] | null | null | null | nucleusSegmentation/src/lib/mask2polygon/src/polygonedit/BoundaryFixFunction.cpp | SBU-BMI/pathomics_analysis_restore | 595df78e3c46ea6e5d43c3c2faa016b9a9395ffa | [
"BSD-3-Clause"
] | 8 | 2016-12-28T14:33:35.000Z | 2018-08-02T01:00:23.000Z | nucleusSegmentation/src/lib/mask2polygon/src/polygonedit/BoundaryFixFunction.cpp | SBU-BMI/pathomics_analysis_restore | 595df78e3c46ea6e5d43c3c2faa016b9a9395ffa | [
"BSD-3-Clause"
] | 4 | 2017-03-20T16:25:56.000Z | 2020-10-14T14:32:49.000Z | //============================================================================
// Name : BoundaryFix.cpp
// Author : bkatigb
// Version :
// Copyright :
// Description :
//============================================================================
#include "clipper.h"
#include <iomanip>
#include <io... | 20.694215 | 102 | 0.580272 | [
"geometry",
"vector",
"model"
] |
115a1d421fc2da0e838348797320646761bf0d57 | 13,559 | cpp | C++ | NiVek/Software/GroundStation/NiVek.D3D/D2DWrapper.cpp | bytemaster-0xff/DroneTek | 9b88b30e7d442833b8bab3302d93dc6463d67619 | [
"MIT"
] | null | null | null | NiVek/Software/GroundStation/NiVek.D3D/D2DWrapper.cpp | bytemaster-0xff/DroneTek | 9b88b30e7d442833b8bab3302d93dc6463d67619 | [
"MIT"
] | null | null | null | NiVek/Software/GroundStation/NiVek.D3D/D2DWrapper.cpp | bytemaster-0xff/DroneTek | 9b88b30e7d442833b8bab3302d93dc6463d67619 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "D2DWrapper.h"
using namespace NiVek;
using namespace Platform;
using namespace Microsoft::WRL;
using namespace Windows::UI::Core;
using namespace Windows::Foundation;
using namespace D2D1;
using namespace Windows::Storage;
using namespace Platform;
using namespace Concurrency;
using names... | 29.412148 | 175 | 0.748728 | [
"render",
"object",
"3d"
] |
115ab77dc874132d61cfd5f70fd7d19a79dccf66 | 1,161 | hpp | C++ | src/level-file-loader.hpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | src/level-file-loader.hpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | src/level-file-loader.hpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | #ifndef LEVEL_FILE_LOADER_HPP_INCLUDED
#define LEVEL_FILE_LOADER_HPP_INCLUDED
//
// level-file-loader.hpp
//
#include "json.hpp"
#include "tileset.hpp"
#include <string>
#include <vector>
#include <SFML/Graphics/Rect.hpp>
namespace halloween
{
struct Context;
struct Settings;
using Json = nlohmann::json;... | 22.764706 | 95 | 0.668389 | [
"vector"
] |
115c49d9ff86fdab11070220bb93bcee611f2b62 | 9,461 | cpp | C++ | storage/source/app/config/Config.cpp | congweitao/congfs | 54cedf484f8a2cacab567fe182cc1f6413c25cf2 | [
"BSD-3-Clause"
] | null | null | null | storage/source/app/config/Config.cpp | congweitao/congfs | 54cedf484f8a2cacab567fe182cc1f6413c25cf2 | [
"BSD-3-Clause"
] | null | null | null | storage/source/app/config/Config.cpp | congweitao/congfs | 54cedf484f8a2cacab567fe182cc1f6413c25cf2 | [
"BSD-3-Clause"
] | null | null | null | #include <common/toolkit/StringTk.h>
#include <common/toolkit/UnitTk.h>
#include "Config.h"
#define CONFIG_DEFAULT_CFGFILENAME "/etc/congfs/congfs-storage.conf"
#define CONFIG_STORAGETARGETS_DELIMITER ','
Config::Config(int argc, char** argv) :
AbstractConfig(argc, argv)
{
initConfig(argc, argv, true);
}... | 39.752101 | 97 | 0.648557 | [
"transform"
] |
115f73b5da7fbaf903dc93cca90eee84e134834e | 2,817 | cpp | C++ | ChampionshipLib/source/Championship.cpp | lucasguesserts/prisoners_dilemma | a786af699c95c99797b074b1b73a2a3f7ef68436 | [
"MIT"
] | null | null | null | ChampionshipLib/source/Championship.cpp | lucasguesserts/prisoners_dilemma | a786af699c95c99797b074b1b73a2a3f7ef68436 | [
"MIT"
] | null | null | null | ChampionshipLib/source/Championship.cpp | lucasguesserts/prisoners_dilemma | a786af699c95c99797b074b1b73a2a3f7ef68436 | [
"MIT"
] | null | null | null | #include <cstddef>
#include <string>
#include <vector>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <numeric>
#include "Strategy.hpp"
#include "Player.hpp"
#include "Match.hpp"
#include "Championship.hpp"
using namespace PrisonersDilemma;
ChampionshipDescription::ChampionshipDescription(
const... | 31.651685 | 116 | 0.649982 | [
"vector"
] |
1164247d285bab6c05e2c803cb27d9159339996a | 26,956 | cpp | C++ | src/oatpp-swagger/Generator.cpp | oben01/oatpp-swagger | 8b70945f0e9bcf09e16b5cb4be08e752097b0288 | [
"Apache-2.0"
] | null | null | null | src/oatpp-swagger/Generator.cpp | oben01/oatpp-swagger | 8b70945f0e9bcf09e16b5cb4be08e752097b0288 | [
"Apache-2.0"
] | null | null | null | src/oatpp-swagger/Generator.cpp | oben01/oatpp-swagger | 8b70945f0e9bcf09e16b5cb4be08e752097b0288 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
*
* Project _____ __ ____ _ _
* ( _ ) /__\ (_ _)_| |_ _| |_
* )(_)( /(__)\ )( (_ _)(_ _)
* (_____)(__)(__)(__) |_| |_|
*
*
* Copyright 2018-present, Leoni... | 38.674319 | 214 | 0.673134 | [
"object"
] |
1166136df1823892fd8fd8bd80d8331a235a5094 | 4,256 | hpp | C++ | Engine/Color/RGB.hpp | seb776/Tricible | fb1b7c7e027231c158a1945d3568777c4092ca6d | [
"Apache-2.0"
] | 2 | 2017-09-08T04:52:01.000Z | 2018-10-13T14:30:52.000Z | Engine/Color/RGB.hpp | seb776/Tricible | fb1b7c7e027231c158a1945d3568777c4092ca6d | [
"Apache-2.0"
] | 2 | 2018-10-24T12:48:00.000Z | 2018-11-02T16:15:21.000Z | Engine/Color/RGB.hpp | seb776/Tricible | fb1b7c7e027231c158a1945d3568777c4092ca6d | [
"Apache-2.0"
] | 1 | 2018-03-17T23:45:21.000Z | 2018-03-17T23:45:21.000Z | #pragma once
// Standard library header
#include <stdint.h>
#include "../Tools/Tools.hpp"
namespace Tricible
{
namespace Color
{
class RGB
{
private:
// TODO public + no getter ? or inline ?
uint8_t _red; // Value of the red channel.
uint8_t _green; // Value of the green channel.
uint8_t _bl... | 21.386935 | 111 | 0.526316 | [
"object"
] |
11677944d1ff10df1899d7cefe5f572844f5a63a | 8,056 | cpp | C++ | ROS/trimble/src/SX10_driver.cpp | nicholasAWwright/UWB-Thesis-MSME-UIUC | eac8c77e29d6d054125b71b0038912f630b6ec48 | [
"MIT"
] | 1 | 2021-07-26T09:33:26.000Z | 2021-07-26T09:33:26.000Z | ROS/trimble/src/SX10_driver.cpp | nicholasAWwright/UWB-Thesis-MSME-UIUC | eac8c77e29d6d054125b71b0038912f630b6ec48 | [
"MIT"
] | null | null | null | ROS/trimble/src/SX10_driver.cpp | nicholasAWwright/UWB-Thesis-MSME-UIUC | eac8c77e29d6d054125b71b0038912f630b6ec48 | [
"MIT"
] | 1 | 2022-01-03T19:32:52.000Z | 2022-01-03T19:32:52.000Z | #include "ros/ros.h"
#include "ros/package.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/PoseStamped.h"
#include "geometry_msgs/PointStamped.h"
#include "serial/serial.h"
#define SPEED 115200 //serial baud rate
#define TOF_REPORT_LEN (65) // \r and \n add 2 to length of visible 63
#define TOF_REPO... | 38.361905 | 118 | 0.516509 | [
"vector"
] |
116e8683af4eca3444b6d7eb81ed7e46d22cc628 | 2,582 | cpp | C++ | Tek2/PSU/Zappy/client/src/Vision.cpp | PhilippeDeSousa/EpitechBundle | 5981d424c7dd25a5fbae79172e6a14db27ba985d | [
"MIT"
] | 1 | 2019-03-14T19:05:58.000Z | 2019-03-14T19:05:58.000Z | Tek2/PSU/Zappy/client/src/Vision.cpp | PhilippeDeSousa/EpitechBundle | 5981d424c7dd25a5fbae79172e6a14db27ba985d | [
"MIT"
] | null | null | null | Tek2/PSU/Zappy/client/src/Vision.cpp | PhilippeDeSousa/EpitechBundle | 5981d424c7dd25a5fbae79172e6a14db27ba985d | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2018
** Project description
** File description:
** Description here
*/
#include "Vision.hpp"
zappy::Vision::Vision()
: _cells(1)
{
}
zappy::Vision::Vision(std::string str)
: _cells(1)
{
std::string delimiter = ",";
std::string strCell;
std::vector<Inventory> list;
size_t last = 0;
size... | 19.560606 | 76 | 0.646398 | [
"vector"
] |
1174d001253876b57ee21475a237c1352f2c783f | 4,801 | cxx | C++ | larcv/core/DataFormat/Voxel3D.cxx | kvtsang/larcv2 | b2804b3390ea4d9f8bdf2c3ab5c82216fa532adf | [
"MIT"
] | 14 | 2017-10-19T15:08:29.000Z | 2021-03-31T21:21:07.000Z | larcv/core/DataFormat/Voxel3D.cxx | kvtsang/larcv2 | b2804b3390ea4d9f8bdf2c3ab5c82216fa532adf | [
"MIT"
] | 32 | 2017-10-25T22:54:06.000Z | 2019-10-01T13:57:15.000Z | larcv/core/DataFormat/Voxel3D.cxx | kvtsang/larcv2 | b2804b3390ea4d9f8bdf2c3ab5c82216fa532adf | [
"MIT"
] | 16 | 2017-12-07T12:04:40.000Z | 2021-11-15T00:53:31.000Z | #ifndef __LARCV_VOXEL3D_CXX__
#define __LARCV_VOXEL3D_CXX__
#include "Voxel3D.h"
#include <iostream>
#include <algorithm>
namespace larcv {
SparseTensor3D::SparseTensor3D(VoxelSet&& vs, Voxel3DMeta meta)
: VoxelSet(std::move(vs))
{ this->meta(meta); }
void SparseTensor3D::meta(const larcv::Voxel3DMeta& meta)
{... | 32.221477 | 158 | 0.614247 | [
"vector"
] |
117699a62813517b28f1ed9846c8883ebace7cd0 | 6,705 | cpp | C++ | debug/moc_mainwindow.cpp | henrytsui000/HESPICE | 05d5285b1dbf85efab658f37287204f57f6b4824 | [
"MIT"
] | 3 | 2022-01-09T10:29:33.000Z | 2022-03-24T15:35:08.000Z | debug/moc_mainwindow.cpp | henrytsui000/HESPICE | 05d5285b1dbf85efab658f37287204f57f6b4824 | [
"MIT"
] | null | null | null | debug/moc_mainwindow.cpp | henrytsui000/HESPICE | 05d5285b1dbf85efab658f37287204f57f6b4824 | [
"MIT"
] | null | null | null | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.3)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | 37.458101 | 728 | 0.646682 | [
"object"
] |
117cb52cf249e6eec6b5082a1e47c8ccd7bec76f | 1,455 | cpp | C++ | src/mmlib/library/libpath.cpp | JonnyWideFoot/pd.arcus | a6197a5a2a18c0e3f752e15aa982d1e44d052730 | [
"BSD-4-Clause-UC"
] | null | null | null | src/mmlib/library/libpath.cpp | JonnyWideFoot/pd.arcus | a6197a5a2a18c0e3f752e15aa982d1e44d052730 | [
"BSD-4-Clause-UC"
] | null | null | null | src/mmlib/library/libpath.cpp | JonnyWideFoot/pd.arcus | a6197a5a2a18c0e3f752e15aa982d1e44d052730 | [
"BSD-4-Clause-UC"
] | null | null | null | #include "global.h"
#include "tools/io.h"
#include "library/libpath.h"
LibraryPathStore* LibraryPathStore::getSingleton()
{
static LibraryPathStore inst;
return &inst;
}
LibraryPathStore::LibraryPathStore()
{
parseEnvironmentVariable();
}
// Parses the environment variable PD_PARAM_PATH into search paths to look ... | 23.467742 | 92 | 0.714777 | [
"vector"
] |
11808130f9d610a15e3b0bff5d23a4be8aee0450 | 17,155 | cpp | C++ | src/bvals/bvals_cc.cpp | luminoctum/athena-crm | 525ad5d1c442f9f6d66f2307eed88cd6fb723810 | [
"BSD-3-Clause"
] | null | null | null | src/bvals/bvals_cc.cpp | luminoctum/athena-crm | 525ad5d1c442f9f6d66f2307eed88cd6fb723810 | [
"BSD-3-Clause"
] | null | null | null | src/bvals/bvals_cc.cpp | luminoctum/athena-crm | 525ad5d1c442f9f6d66f2307eed88cd6fb723810 | [
"BSD-3-Clause"
] | null | null | null | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 35.371134 | 90 | 0.526843 | [
"mesh"
] |
1180fca6cf3bb5d61dd582265754623f2e4b7c84 | 1,038 | cc | C++ | chrome/browser/ui/gtk/instant_overlay_controller_gtk.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | chrome/browser/ui/gtk/instant_overlay_controller_gtk.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/gtk/instant_overlay_controller_gtk.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.000Z | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/gtk/instant_overlay_controller_gtk.h"
#include "chrome/browser/ui/gtk/browser_window_gtk.h"
#include "chrome/browser/ui/gtk/t... | 32.4375 | 73 | 0.765896 | [
"model"
] |
1187b10764e42e9a1d85817841c0f71c3b157ec1 | 30,874 | cpp | C++ | src/Render/DX12/PipelineCommonUtils.cpp | Ubpa/DustEngine | 4fc32d4011ce21ab5ab2a8149e398d9baa3cbdc0 | [
"MIT"
] | 9 | 2020-08-03T02:11:07.000Z | 2020-09-29T09:12:45.000Z | src/Render/DX12/PipelineCommonUtils.cpp | Ubpa/DustEngine | 4fc32d4011ce21ab5ab2a8149e398d9baa3cbdc0 | [
"MIT"
] | null | null | null | src/Render/DX12/PipelineCommonUtils.cpp | Ubpa/DustEngine | 4fc32d4011ce21ab5ab2a8149e398d9baa3cbdc0 | [
"MIT"
] | 1 | 2020-08-10T03:34:52.000Z | 2020-08-10T03:34:52.000Z | #include <Utopia/Render/DX12/PipelineCommonUtils.h>
#include <Utopia/Render/DX12/ShaderCBMngr.h>
#include <Utopia/Render/DX12/GPURsrcMngrDX12.h>
#include <Utopia/Render/DX12/MeshLayoutMngr.h>
#include <Utopia/Render/Material.h>
#include <Utopia/Render/Shader.h>
#include <Utopia/Render/ShaderMngr.h>
#include <Utopia/R... | 37.152828 | 125 | 0.723813 | [
"mesh",
"render",
"object",
"vector"
] |
118bdb4981c01a0dd9fab9c5d268b5d519eaf4c1 | 7,379 | hpp | C++ | redfish-core/include/gzfile.hpp | HCLOpenBMC/bmcweb | 4028ff77ddebe603b009a8afaf6bc36bc5949612 | [
"Apache-2.0"
] | 7 | 2021-02-23T15:33:42.000Z | 2022-02-25T09:28:48.000Z | redfish-core/include/gzfile.hpp | HCLOpenBMC/bmcweb | 4028ff77ddebe603b009a8afaf6bc36bc5949612 | [
"Apache-2.0"
] | 221 | 2019-07-15T16:26:01.000Z | 2022-03-31T17:18:10.000Z | redfish-core/include/gzfile.hpp | HCLOpenBMC/bmcweb | 4028ff77ddebe603b009a8afaf6bc36bc5949612 | [
"Apache-2.0"
] | 82 | 2019-07-11T14:00:57.000Z | 2022-03-31T15:26:01.000Z | #pragma once
#include <zlib.h>
#include <array>
#include <filesystem>
#include <vector>
class GzFileReader
{
public:
bool gzGetLines(const std::string& filename, uint64_t& skip, uint64_t& top,
std::vector<std::string>& logEntries, size_t& logCount)
{
gzFile logStream = gzopen(fi... | 34.971564 | 80 | 0.484483 | [
"vector"
] |
118cf529ccb31c9424de662ce5c57f54e528278f | 1,852 | cpp | C++ | src/Geometry/SurfaceInteraction.cpp | Jerry-Shen0527/SimpleRayTracer | a016c33ad456dcbd2dde633e616874bf9e5ee19a | [
"Apache-2.0"
] | null | null | null | src/Geometry/SurfaceInteraction.cpp | Jerry-Shen0527/SimpleRayTracer | a016c33ad456dcbd2dde633e616874bf9e5ee19a | [
"Apache-2.0"
] | null | null | null | src/Geometry/SurfaceInteraction.cpp | Jerry-Shen0527/SimpleRayTracer | a016c33ad456dcbd2dde633e616874bf9e5ee19a | [
"Apache-2.0"
] | null | null | null | #include "Geometry/Interaction.h"
#include "Geometry/Primitive.h"
#include "Geometry/Shape.h"
Spectrum SurfaceInteraction::Le(const Vector3f& w) const
{
const AreaLight* area = primitive->GetAreaLight();
return area ? area->L(*this, w) : Spectrum(0.f);
}
Ray Interaction::SpawnRayTo(const Interaction& it) const
{
... | 28.9375 | 94 | 0.715443 | [
"geometry",
"shape"
] |
118d2485bc300dfa05c781f9e5ed3d54590790d9 | 5,344 | hpp | C++ | cisco-ios-xe/ydk/models/cisco_ios_xe/OSPF_TRAP_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/OSPF_TRAP_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/OSPF_TRAP_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _OSPF_TRAP_MIB_
#define _OSPF_TRAP_MIB_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xe {
namespace OSPF_TRAP_MIB {
class OSPFTRAPMIB : public ydk::Entity
{
public:
OSPFTRAPMIB();
~OSPFTRAPMIB();
bool... | 41.426357 | 162 | 0.65625 | [
"vector"
] |
118e26b0b8d91af4f9a63734a2a747d889b259e5 | 974 | cc | C++ | tests/clang_src2src/pragma_sst_null_vector.cc | minyee/sst-macro | fd2c52b3872b9c49af77f5f82b3177cc7bbe403c | [
"BSD-Source-Code"
] | null | null | null | tests/clang_src2src/pragma_sst_null_vector.cc | minyee/sst-macro | fd2c52b3872b9c49af77f5f82b3177cc7bbe403c | [
"BSD-Source-Code"
] | null | null | null | tests/clang_src2src/pragma_sst_null_vector.cc | minyee/sst-macro | fd2c52b3872b9c49af77f5f82b3177cc7bbe403c | [
"BSD-Source-Code"
] | 1 | 2018-02-21T11:39:08.000Z | 2018-02-21T11:39:08.000Z | /**
namespace sstmac {
class vector {
public:
void resize(size_t sz){
size_ = sz;
}
size_t size() const {
return size_;
}
template <class... Args>
void push_back(Args... args){
++size_;
}
template <class... Args>
void emplace_back(Args... args){
++size_;
}
bool empty() const {... | 12.175 | 48 | 0.574949 | [
"vector"
] |
11968be2a94c7d7d95dc2eed26b74589081ac42d | 64,757 | hpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_rsi_oper.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_rsi_oper.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_rsi_oper.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _CISCO_IOS_XR_INFRA_RSI_OPER_
#define _CISCO_IOS_XR_INFRA_RSI_OPER_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_infra_rsi_oper {
class VrfGroup : public ydk::Entity
{
public:
VrfGroup();
... | 47.82644 | 162 | 0.683864 | [
"vector"
] |
119743aa00de23c96c0fb9cc5c22e67c92f4b1fa | 11,786 | cpp | C++ | src/arch/x86/SMBIOS.cpp | arthurmco/annOS | 0e8d275c6e2869f7b96a873edaeb4857fc485b24 | [
"MIT"
] | 6 | 2018-01-26T05:44:29.000Z | 2022-02-13T21:59:20.000Z | src/arch/x86/SMBIOS.cpp | arthurmco/annOS | 0e8d275c6e2869f7b96a873edaeb4857fc485b24 | [
"MIT"
] | 9 | 2018-01-17T12:23:21.000Z | 2018-01-25T18:22:13.000Z | src/arch/x86/SMBIOS.cpp | arthurmco/annOS | 0e8d275c6e2869f7b96a873edaeb4857fc485b24 | [
"MIT"
] | null | null | null | #include <arch/x86/SMBIOS.hpp>
#include <libk/stdio.h> // TODO: move strlen it to string.h
#include <libk/stdlib.h>
#include <libk/panic.h>
#include <arch/x86/VMM.hpp>
#include <Log.hpp>
using namespace annos;
using namespace annos::x86;
bool CheckIfChecksumValid(SMBiosEntry* e)
{
char* smb_bytes = (char*)e;
... | 33.674286 | 85 | 0.644748 | [
"model"
] |
11995ce1970799a9075d0bd7fbe1ce0e4e380559 | 2,938 | cpp | C++ | src/Core/Validation/TransactionValidator.cpp | Paouky/GrinPlusPlus | b24e656547b45d39bc9dddc3e7dd7ee04f6c8798 | [
"MIT"
] | null | null | null | src/Core/Validation/TransactionValidator.cpp | Paouky/GrinPlusPlus | b24e656547b45d39bc9dddc3e7dd7ee04f6c8798 | [
"MIT"
] | null | null | null | src/Core/Validation/TransactionValidator.cpp | Paouky/GrinPlusPlus | b24e656547b45d39bc9dddc3e7dd7ee04f6c8798 | [
"MIT"
] | null | null | null | #include <Core/Validation/TransactionValidator.h>
#include <Core/Validation/TransactionBodyValidator.h>
#include <Consensus.h>
#include <Common/Util/HexUtil.h>
#include <Core/Validation/KernelSumValidator.h>
#include <Common/Logger.h>
#include <algorithm>
#include <numeric>
// See: https://github.com/mimblewimble/doc... | 34.564706 | 127 | 0.76855 | [
"vector"
] |
11aaf30aae503cda93f0d2aeb9d0135912f064ce | 515 | hpp | C++ | ReceiverModule/environment_checker.hpp | Engin-Boot/environment-case-s1b12 | c7687cf9cdd927442ba4bd43cad573ce6f01e98b | [
"MIT"
] | null | null | null | ReceiverModule/environment_checker.hpp | Engin-Boot/environment-case-s1b12 | c7687cf9cdd927442ba4bd43cad573ce6f01e98b | [
"MIT"
] | null | null | null | ReceiverModule/environment_checker.hpp | Engin-Boot/environment-case-s1b12 | c7687cf9cdd927442ba4bd43cad573ce6f01e98b | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "Logger.hpp"
using namespace std;
extern void checkwhetherhigtemp(double temp, Logger& log);
extern void checkwhetherveryhightemp(double temp, Logger& log);
extern void checkwhetherlowtemp(double temp, Logger& log);
extern void checkwhetherverylowtemp(double temp, Logger& log)... | 39.615385 | 66 | 0.803883 | [
"vector"
] |
11aee68dd321ae7214f7bcd127dce8f823d96eef | 1,153 | cpp | C++ | code/src/cpp/helpers/solution.cpp | vdm370/partii-proj | bf07f6c8682666c069e06187e2fd762d938d3070 | [
"MIT"
] | null | null | null | code/src/cpp/helpers/solution.cpp | vdm370/partii-proj | bf07f6c8682666c069e06187e2fd762d938d3070 | [
"MIT"
] | null | null | null | code/src/cpp/helpers/solution.cpp | vdm370/partii-proj | bf07f6c8682666c069e06187e2fd762d938d3070 | [
"MIT"
] | null | null | null | #include "solution.h"
#include "graph_dist.h"
#include <unordered_set>
#include <float.h>
const double EPS = 1e-8;
solution::solution() {
value = DBL_MAX;
}
solution::solution(double val, vector<int> ind) {
value = val;
order = ind;
}
bool solution::operator<(const solution &other) const {
return value < other.val... | 24.531915 | 59 | 0.597572 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.