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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
09267d6088e8fc215f82f9a623dee98ddb467dd2 | 12,793 | cpp | C++ | src/dataServer/implementation/VirtualContentFactory_type1.cpp | fmidev/smartmet-library-grid-content | 303483967a1248002369893cf43b4ca03f8385d9 | [
"MIT"
] | null | null | null | src/dataServer/implementation/VirtualContentFactory_type1.cpp | fmidev/smartmet-library-grid-content | 303483967a1248002369893cf43b4ca03f8385d9 | [
"MIT"
] | null | null | null | src/dataServer/implementation/VirtualContentFactory_type1.cpp | fmidev/smartmet-library-grid-content | 303483967a1248002369893cf43b4ca03f8385d9 | [
"MIT"
] | null | null | null | #include "VirtualContentFactory_type1.h"
#include "VirtualMessage.h"
#include <grid-files/common/ShowFunction.h>
#include <macgyver/Exception.h>
#include <grid-files/common/GeneralFunctions.h>
#include <grid-files/identification/GridDef.h>
#define FUNCTION_TRACE FUNCTION_TRACE_OFF
namespace SmartMet
{
namespace Da... | 36.973988 | 305 | 0.612288 | [
"vector"
] |
092bdd559a5196fd2db608937fccacc3570696f8 | 3,278 | hpp | C++ | src/frovedis/ml/clustering/linkage.hpp | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 63 | 2018-06-21T14:11:59.000Z | 2022-03-30T11:24:36.000Z | src/frovedis/ml/clustering/linkage.hpp | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 5 | 2018-09-22T14:01:53.000Z | 2021-12-27T16:11:05.000Z | src/frovedis/ml/clustering/linkage.hpp | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 12 | 2018-08-23T15:59:44.000Z | 2022-02-20T06:47:22.000Z | #ifndef _LINKAGE_HPP_
#define _LINKAGE_HPP_
namespace frovedis {
// Average linkage
template <class T>
struct average_linkage {
average_linkage() {}
average_linkage(size_t n_): n(n_) {}
void update_distance(std::vector<T>& D,
std::vector<size_t>& size,
size_t x... | 32.78 | 76 | 0.471019 | [
"vector"
] |
092f75aba8bd2648a6a3e2274fa974dfc8f364fe | 16,520 | cpp | C++ | widgets/slider/slider_impl.cpp | alecmus/lecui | 080d06533878394c20c65e333dc892afafdbf910 | [
"MIT"
] | 5 | 2021-05-02T12:13:45.000Z | 2022-01-31T19:51:32.000Z | widgets/slider/slider_impl.cpp | alecmus/lecui | 080d06533878394c20c65e333dc892afafdbf910 | [
"MIT"
] | 11 | 2021-05-16T14:56:01.000Z | 2021-08-01T17:47:04.000Z | widgets/slider/slider_impl.cpp | alecmus/lecui | 080d06533878394c20c65e333dc892afafdbf910 | [
"MIT"
] | 2 | 2021-05-15T20:16:46.000Z | 2021-06-20T12:58:51.000Z | //
// slider_impl.cpp - slider_impl implementation
//
// lecui user interface library, part of the liblec library
// Copyright (c) 2019 Alec Musasa (alecmus at live dot com)
//
// Released under the MIT license. For full details see the
// file LICENSE.txt
//
#include "slider_impl.h"
#include "../label/label_impl.h"
... | 34.633124 | 135 | 0.672881 | [
"render",
"object",
"vector"
] |
092fd465bfe90ef4daf858c5894daf86a7a15f02 | 839,367 | cpp | C++ | test/generated/bidi_test_829.cpp | Ryan-rsm-McKenzie/text | 15aaea4297e00ec4c74295e7913ead79c90e1502 | [
"BSL-1.0"
] | 265 | 2017-07-09T23:23:48.000Z | 2022-03-24T10:14:19.000Z | test/generated/bidi_test_829.cpp | Ryan-rsm-McKenzie/text | 15aaea4297e00ec4c74295e7913ead79c90e1502 | [
"BSL-1.0"
] | 185 | 2017-08-30T16:44:51.000Z | 2021-08-13T12:02:46.000Z | test/generated/bidi_test_829.cpp | Ryan-rsm-McKenzie/text | 15aaea4297e00ec4c74295e7913ead79c90e1502 | [
"BSL-1.0"
] | 25 | 2017-08-29T23:07:23.000Z | 2021-09-03T06:31:29.000Z | // Copyright (C) 2020 T. Zachary Laine
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Warning! This file is autogenerated.
#include <boost/text/bidirectional.hpp>
#include "bidi_tests.hpp"
#include <gte... | 33.085022 | 77 | 0.404837 | [
"vector"
] |
0933389b64443fc9abdc9ea8e1d7f0608547a6aa | 14,903 | hpp | C++ | lipnet/include/lipnet/tensor.hpp | eragon10/train-neural-networks-with-lipschitz-bound | c3e51aa4c315e0e03b913712dad5a1a0e72f67e4 | [
"Apache-2.0"
] | null | null | null | lipnet/include/lipnet/tensor.hpp | eragon10/train-neural-networks-with-lipschitz-bound | c3e51aa4c315e0e03b913712dad5a1a0e72f67e4 | [
"Apache-2.0"
] | null | null | null | lipnet/include/lipnet/tensor.hpp | eragon10/train-neural-networks-with-lipschitz-bound | c3e51aa4c315e0e03b913712dad5a1a0e72f67e4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Niklas Funcke <niklas.funcke@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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | 30.919087 | 94 | 0.602295 | [
"vector"
] |
0940ccc76850f50c0181a454cdbbe553dc0a8bbb | 17,806 | cpp | C++ | src/src_pestpp/libs/pestpp_common/Jacobian_1to1.cpp | jtwhite79/worked_example | cae16f633073f82fa09c45ed37a080a902c59097 | [
"BSD-3-Clause"
] | 1 | 2021-02-23T20:47:29.000Z | 2021-02-23T20:47:29.000Z | src/src_pestpp/libs/pestpp_common/Jacobian_1to1.cpp | jtwhite79/worked_example | cae16f633073f82fa09c45ed37a080a902c59097 | [
"BSD-3-Clause"
] | null | null | null | src/src_pestpp/libs/pestpp_common/Jacobian_1to1.cpp | jtwhite79/worked_example | cae16f633073f82fa09c45ed37a080a902c59097 | [
"BSD-3-Clause"
] | 2 | 2020-01-03T17:14:39.000Z | 2020-03-04T14:21:27.000Z | /*
This file is part of PEST++.
PEST++ 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 your option) any later version.
PEST++ is distributed in the hope that it wi... | 36.562628 | 196 | 0.76171 | [
"vector",
"model"
] |
09418236779cc5f2ddfda98dbb60702de20b065f | 1,063 | cpp | C++ | aws-cpp-sdk-lakeformation/source/model/DeleteDataCellsFilterRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-lakeformation/source/model/DeleteDataCellsFilterRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-lakeformation/source/model/DeleteDataCellsFilterRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/lakeformation/model/DeleteDataCellsFilterRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::LakeFormation::Model;
using namespace Aws::U... | 18.649123 | 69 | 0.74318 | [
"model"
] |
09420b2ac78bd0752600b866b4f2daca8b85f480 | 13,008 | cpp | C++ | FSM.cpp | mohamedashraftaha/MultiFSM | 328d49f6f4507a201ba2d299eb3a08c0d46b30af | [
"MIT"
] | null | null | null | FSM.cpp | mohamedashraftaha/MultiFSM | 328d49f6f4507a201ba2d299eb3a08c0d46b30af | [
"MIT"
] | null | null | null | FSM.cpp | mohamedashraftaha/MultiFSM | 328d49f6f4507a201ba2d299eb3a08c0d46b30af | [
"MIT"
] | null | null | null | //
// Created by mohamedashraf on 10/24/21.
//
#include "FSM.h"
#include "out.h"
#include <ios>
#include <mutex>
#include <sstream>
#include<fstream>
#include <stdexcept>
#include <string>
#define debug 0 // set to 1 in case of debugging
FSM::FSM(){};
//##############################################
FSM::FSM(string na... | 34.503979 | 139 | 0.560424 | [
"object",
"vector"
] |
0942137f2f84aa19aced68b5a51c39db1f440684 | 6,807 | hpp | C++ | 3rdparty/ofdis/include/litiv/3rdparty/ofdis/oflow.hpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 97 | 2015-10-16T04:32:33.000Z | 2022-03-29T07:04:02.000Z | 3rdparty/ofdis/include/litiv/3rdparty/ofdis/oflow.hpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 19 | 2016-07-01T16:37:02.000Z | 2020-09-10T06:09:39.000Z | 3rdparty/ofdis/include/litiv/3rdparty/ofdis/oflow.hpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 41 | 2015-11-17T05:59:23.000Z | 2022-02-16T09:30:28.000Z |
#pragma once
#ifndef OFDIS_INTERNAL
#error "must only include 'ofdis.hpp' header for API"
#endif //ndef(OFDIS_INTERNAL)
#include "litiv/3rdparty/ofdis/utils.hpp"
namespace ofdis {
struct camparam {
int width; // image width, does not include '2*imgpadding', but includes original padding ... | 53.179688 | 192 | 0.599824 | [
"vector"
] |
094aed0323acc30a943df5ac6df3d0498d70cd55 | 25,915 | cc | C++ | app/oxs/ext/uniaxialanisotropy.cc | ViennaNovoFlop/ViennaNovoFlop-dev | f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00 | [
"TCL",
"SWL",
"MIT",
"X11",
"BSD-3-Clause"
] | null | null | null | app/oxs/ext/uniaxialanisotropy.cc | ViennaNovoFlop/ViennaNovoFlop-dev | f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00 | [
"TCL",
"SWL",
"MIT",
"X11",
"BSD-3-Clause"
] | null | null | null | app/oxs/ext/uniaxialanisotropy.cc | ViennaNovoFlop/ViennaNovoFlop-dev | f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00 | [
"TCL",
"SWL",
"MIT",
"X11",
"BSD-3-Clause"
] | null | null | null | /* FILE: uuanisotropy.cc -*-Mode: c++-*-
*
* Uniform Uniaxial Anisotropy, derived from Oxs_Energy class.
*
*/
#include <string>
#include "oc.h"
#include "nb.h"
#include "threevector.h"
#include "director.h"
#include "simstate.h"
#include "ext.h"
#include "key.h"
#include "mesh.h"
#include "meshvalue.h"... | 32.112763 | 86 | 0.544627 | [
"mesh",
"object",
"vector"
] |
094e37c4266a65da8af3b05d883865ec78c56878 | 4,624 | h++ | C++ | core/slot.h++ | 1094387012/SKUI | c85dd7fb9d30ff15d5d6de184670cb47e46df6de | [
"MIT"
] | 309 | 2017-05-06T02:15:43.000Z | 2022-03-23T08:27:05.000Z | core/slot.h++ | qdtroy/skui | 201707d06bd29c9ec4b05350b25b777493d5362e | [
"MIT"
] | 20 | 2018-05-11T20:56:45.000Z | 2022-03-11T06:10:12.000Z | core/slot.h++ | qdtroy/skui | 201707d06bd29c9ec4b05350b25b777493d5362e | [
"MIT"
] | 48 | 2017-06-27T06:04:15.000Z | 2022-03-01T12:56:32.000Z | /**
* The MIT License (MIT)
*
* Copyright © 2017-2020 Ruben Van Boxem
*
* 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
* ... | 32.111111 | 106 | 0.685554 | [
"object"
] |
094e37cc68ce9e6013b8ee56ce873a851b163c8b | 4,142 | cpp | C++ | zbus/Consumer.cpp | rushmore/zbus-cpp | 61a1c020b1ce03926c4fef0af3fd7e6246ecfe94 | [
"MIT"
] | 2 | 2017-06-28T07:33:25.000Z | 2021-01-07T12:32:26.000Z | zbus/Consumer.cpp | rushmore/zbus-cpp | 61a1c020b1ce03926c4fef0af3fd7e6246ecfe94 | [
"MIT"
] | null | null | null | zbus/Consumer.cpp | rushmore/zbus-cpp | 61a1c020b1ce03926c4fef0af3fd7e6246ecfe94 | [
"MIT"
] | null | null | null | #include "Consumer.h"
namespace zbus {
ConsumeThread::ConsumeThread(MqClientPool* pool, std::function<void(Message*, MqClient*)> messageHander,
int connectionCount, int timeout) :
pool(pool), messageHander(messageHander),
connectionCount(connectionCount),
consumeTimeout(timeout) {
}
ConsumeThread::~... | 24.951807 | 106 | 0.668035 | [
"vector"
] |
0954271f4ee9e24f2513203ffc49d21711efd10b | 3,170 | hpp | C++ | pynger/fingerprint/angafris_segmentation/Headers/ImageMaskSimplify.hpp | DottD/pynger | 9a24b43a2170234e5059a54ed20329e036260b0a | [
"MIT"
] | 1 | 2021-11-10T16:37:28.000Z | 2021-11-10T16:37:28.000Z | pynger/fingerprint/angafris_segmentation/Headers/ImageMaskSimplify.hpp | DottD/pynger | 9a24b43a2170234e5059a54ed20329e036260b0a | [
"MIT"
] | null | null | null | pynger/fingerprint/angafris_segmentation/Headers/ImageMaskSimplify.hpp | DottD/pynger | 9a24b43a2170234e5059a54ed20329e036260b0a | [
"MIT"
] | null | null | null | /*
In questo header file vengono definite alcune operazioni sulle maschere
*/
#ifndef ImageMaskSimplify_hpp
#define ImageMaskSimplify_hpp
#include <opencv2/opencv.hpp>
#include <vector>
#include <map>
#include "myMathFunc.hpp"
namespace fm {
enum struct holesFilling {
THICKNESS, // max distance of an i... | 43.424658 | 147 | 0.680757 | [
"vector"
] |
09543e9e31a4a835f664748495e49ae27bda3ab6 | 15,509 | hxx | C++ | Modules/Feature/Textures/include/otbSFSTexturesImageFilter.hxx | heralex/OTB | c52b504b64dc89c8fe9cac8af39b8067ca2c3a57 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/Feature/Textures/include/otbSFSTexturesImageFilter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/Feature/Textures/include/otbSFSTexturesImageFilter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 37.191847 | 157 | 0.725966 | [
"vector"
] |
095a893f1fe8c3f2950b9f4d69323ed9c8e80580 | 5,789 | cpp | C++ | test/Mesh/Test_PolyMesh.cpp | carlostapiarq/TopoLite | d6eb9125518a88ea546917df5217978f34661b2c | [
"MIT"
] | 17 | 2020-06-10T08:28:32.000Z | 2021-12-07T02:55:35.000Z | test/Mesh/Test_PolyMesh.cpp | carlostapiarq/TopoLite | d6eb9125518a88ea546917df5217978f34661b2c | [
"MIT"
] | 4 | 2020-06-08T12:21:49.000Z | 2020-06-10T07:56:42.000Z | test/Mesh/Test_PolyMesh.cpp | carlostapiarq/TopoLite | d6eb9125518a88ea546917df5217978f34661b2c | [
"MIT"
] | 3 | 2020-06-22T10:07:31.000Z | 2021-10-04T06:02:33.000Z | //
// Created by ziqwang on 2020-02-20.
//
#include <catch2/catch.hpp>
#include "Mesh/PolyMesh.h"
#if defined(GCC_VERSION_LESS_8)
#include <experimental/filesystem>
using namespace std::experimental::filesystem;
#else
#include <filesystem>
using namespace std::filesystem;
#endif
TEST_CASE("PolyMesh -... | 36.408805 | 115 | 0.516497 | [
"mesh",
"vector"
] |
095aae826c55e43dd8e1ad5a5ae9b95f8497a425 | 234 | hpp | C++ | Include/Aspen/Python/Discard.hpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 2 | 2020-10-16T19:41:19.000Z | 2021-02-01T04:55:51.000Z | Include/Aspen/Python/Discard.hpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 1 | 2020-04-24T18:17:39.000Z | 2020-04-24T18:37:01.000Z | Include/Aspen/Python/Discard.hpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 2 | 2020-04-17T13:24:29.000Z | 2020-04-24T18:12:29.000Z | #ifndef ASPEN_PYTHON_DISCARD_HPP
#define ASPEN_PYTHON_DISCARD_HPP
#include <pybind11/pybind11.h>
namespace Aspen {
/** Exports a Discard evaluating to a Python object. */
void export_discard(pybind11::module& module);
}
#endif
| 19.5 | 57 | 0.773504 | [
"object"
] |
82361670cb853210583d65a3b12481bf33738a71 | 2,543 | hpp | C++ | scripts/deploy/cpp_infer/include/ocr_rec.hpp | Davids929/gluon-ocr | 5ac697cc030058cb9ae9f4b1f4e85f901d4d1c40 | [
"Apache-2.0"
] | 2 | 2021-07-27T23:55:39.000Z | 2022-02-02T15:20:34.000Z | scripts/deploy/cpp_infer/include/ocr_rec.hpp | Davids929/gluon-ocr | 5ac697cc030058cb9ae9f4b1f4e85f901d4d1c40 | [
"Apache-2.0"
] | null | null | null | scripts/deploy/cpp_infer/include/ocr_rec.hpp | Davids929/gluon-ocr | 5ac697cc030058cb9ae9f4b1f4e85f901d4d1c40 | [
"Apache-2.0"
] | 3 | 2021-05-07T03:56:13.000Z | 2021-07-27T23:55:27.000Z | #pragma once
#include <chrono>
#include <iomanip>
#include <iostream>
#include <ostream>
#include <vector>
#include <cstring>
#include <fstream>
#include <numeric>
#include "opencv2/core.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/imgproc.hpp"
#include "mxnet-cpp/MxNetCpp.h"
#include "include/common.hpp"... | 31.012195 | 89 | 0.547385 | [
"vector"
] |
82462a8627f5f4c5320531ca2c4743d3b2d94a29 | 5,638 | cpp | C++ | pizjuce/cpuram/src/CpuRam.cpp | nonameentername/pizmidi | a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2 | [
"BSD-Source-Code"
] | null | null | null | pizjuce/cpuram/src/CpuRam.cpp | nonameentername/pizmidi | a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2 | [
"BSD-Source-Code"
] | null | null | null | pizjuce/cpuram/src/CpuRam.cpp | nonameentername/pizmidi | a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2 | [
"BSD-Source-Code"
] | 1 | 2021-01-26T12:25:01.000Z | 2021-01-26T12:25:01.000Z | //#include "CpuRam.h"
#include "CpuRamEditor.h"
//==============================================================================
/**
This function must be implemented to create the actual plugin object that
you want to use.
*/
PizAudioProcessor* JUCE_CALLTYPE createPluginFilter()
{
return new C... | 28.049751 | 89 | 0.555161 | [
"object"
] |
824a75c71c2955e08f2b878c1c77728a950c813c | 451 | hpp | C++ | Token.hpp | Sygmei/CrimsonLang | 2db500b9abbc44fe882303f33c5026e2f7eae212 | [
"MIT"
] | null | null | null | Token.hpp | Sygmei/CrimsonLang | 2db500b9abbc44fe882303f33c5026e2f7eae212 | [
"MIT"
] | null | null | null | Token.hpp | Sygmei/CrimsonLang | 2db500b9abbc44fe882303f33c5026e2f7eae212 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include "TokenValue.hpp"
#include "TokenType.hpp"
class Token
{
private:
std::vector<Token> children;
TokenType type;
TokenValue value;
public:
Token(TokenType type);
TokenValue& getValue();
void setValue(TokenVal... | 20.5 | 43 | 0.580931 | [
"vector"
] |
8252ba6ed82ba96735d87227f613d5db91bb5573 | 981 | cpp | C++ | virtual_node_miner/main.cpp | desert0616/GCGT | 1af8721362d9bbb84b9bda6be76bd9e1a041a12d | [
"MIT"
] | 4 | 2020-06-09T03:41:23.000Z | 2021-07-22T07:31:49.000Z | virtual_node_miner/main.cpp | desert0616/GCGT | 1af8721362d9bbb84b9bda6be76bd9e1a041a12d | [
"MIT"
] | null | null | null | virtual_node_miner/main.cpp | desert0616/GCGT | 1af8721362d9bbb84b9bda6be76bd9e1a041a12d | [
"MIT"
] | 1 | 2021-03-17T05:50:52.000Z | 2021-03-17T05:50:52.000Z | #include <iostream>
#include "virtual_node_miner.hpp"
#include <string>
#include <vector>
#include <cstdio>
#include <sys/resource.h>
int main(int argc,char *argv[]) {
if (argc != 3) {
printf("incorrect arguments.\n");
printf("<input_graph> <output_graph>\n");
abort();
}
std::stri... | 22.813953 | 76 | 0.572885 | [
"vector"
] |
825534d51638dcfd0baa50a634a02579a69870c6 | 4,922 | cpp | C++ | ge0/parser.cpp | kudlav/organicmaps | 390236365749e0525b9229684132c2888d11369d | [
"Apache-2.0"
] | 3,062 | 2021-04-09T16:51:55.000Z | 2022-03-31T21:02:51.000Z | ge0/parser.cpp | kudlav/organicmaps | 390236365749e0525b9229684132c2888d11369d | [
"Apache-2.0"
] | 1,396 | 2021-04-08T07:26:49.000Z | 2022-03-31T20:27:46.000Z | ge0/parser.cpp | kudlav/organicmaps | 390236365749e0525b9229684132c2888d11369d | [
"Apache-2.0"
] | 242 | 2021-04-10T17:10:46.000Z | 2022-03-31T13:41:07.000Z | #include "ge0/parser.hpp"
#include "ge0/url_generator.hpp"
#include "coding/url.hpp"
#include "geometry/mercator.hpp"
#include "base/assert.hpp"
#include "base/math.hpp"
#include "base/string_utils.hpp"
#include <algorithm>
#include <sstream>
using namespace std;
namespace ge0
{
Ge0Parser::Ge0Parser()
{
for (s... | 25.112245 | 95 | 0.59935 | [
"geometry"
] |
825673108fc99e0c334b116aabb4f517b82616f3 | 11,523 | cpp | C++ | src/ctlinterfaces/LegacyImageListWrapper.cpp | TimoKunze/ShellBrowserControls | e1699dde8821a55f43274364410c3d6a3c867526 | [
"MIT"
] | 3 | 2020-02-03T12:58:10.000Z | 2021-03-30T04:55:04.000Z | src/ctlinterfaces/LegacyImageListWrapper.cpp | TimoKunze/ShellBrowserControls | e1699dde8821a55f43274364410c3d6a3c867526 | [
"MIT"
] | null | null | null | src/ctlinterfaces/LegacyImageListWrapper.cpp | TimoKunze/ShellBrowserControls | e1699dde8821a55f43274364410c3d6a3c867526 | [
"MIT"
] | 1 | 2021-12-09T18:23:05.000Z | 2021-12-09T18:23:05.000Z | // LegacyImageListWrapper.cpp: An implementation of the IImageList interface wrapping an image list for version 5 of comctl32.dll
#include "stdafx.h"
#include "LegacyImageListWrapper.h"
#include "../ClassFactory.h"
//////////////////////////////////////////////////////////////////////
// implementation of IUnknown
U... | 32.187151 | 139 | 0.762649 | [
"object"
] |
825b2681fc80e12cebcd6f7ee64cc4696450f0d3 | 35,773 | cpp | C++ | src/campaign/atlas.cpp | ArneDJ/terranova | 533e9e5687d464153418f73a1d811f57e7c572b9 | [
"CC0-1.0"
] | null | null | null | src/campaign/atlas.cpp | ArneDJ/terranova | 533e9e5687d464153418f73a1d811f57e7c572b9 | [
"CC0-1.0"
] | null | null | null | src/campaign/atlas.cpp | ArneDJ/terranova | 533e9e5687d464153418f73a1d811f57e7c572b9 | [
"CC0-1.0"
] | null | null | null | #include <vector>
#include <random>
#include <memory>
#include <queue>
#include <list>
#include <chrono>
#include <unordered_map>
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>
#include <glm/mat4x4.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "../extern/fastnoise/FastNoise.h"
#include "../extern/poisson/PoissonGene... | 26.896992 | 104 | 0.656081 | [
"geometry",
"vector",
"transform"
] |
82677e99b03ca09cc8eb323116eb462cde22e97e | 3,491 | cc | C++ | onnxruntime/test/global_thread_pools/test_main.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 669 | 2018-12-03T22:00:31.000Z | 2019-05-06T19:42:49.000Z | onnxruntime/test/global_thread_pools/test_main.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 440 | 2018-12-03T21:09:56.000Z | 2019-05-06T20:47:23.000Z | onnxruntime/test/global_thread_pools/test_main.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 140 | 2018-12-03T21:15:28.000Z | 2019-05-06T18:02:36.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef USE_ONNXRUNTIME_DLL
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#else
#endif
#include <google/protobuf/messag... | 31.736364 | 143 | 0.74334 | [
"vector"
] |
826e7da4763788b09ebb7eb7474c00bc2cd427e3 | 36,073 | cpp | C++ | examples/Cxx/ExampleXdmfEdit.cpp | scottwedge/xdmf | f41196c966997a20f60525a3d2083490a63626a3 | [
"BSD-3-Clause"
] | 4 | 2015-12-07T08:11:06.000Z | 2020-06-15T01:39:07.000Z | examples/Cxx/ExampleXdmfEdit.cpp | scottwedge/xdmf | f41196c966997a20f60525a3d2083490a63626a3 | [
"BSD-3-Clause"
] | 1 | 2020-04-26T16:50:37.000Z | 2020-04-26T16:50:37.000Z | examples/Cxx/ExampleXdmfEdit.cpp | scottwedge/xdmf | f41196c966997a20f60525a3d2083490a63626a3 | [
"BSD-3-Clause"
] | 4 | 2016-04-04T20:54:31.000Z | 2020-06-15T01:39:08.000Z | #include "XdmfDomain.hpp"
#include "XdmfSystemUtils.hpp"
#include "XdmfWriter.hpp"
#include "XdmfReader.hpp"
#include "XdmfHDF5Writer.hpp"
#include "XdmfInformation.hpp"
#include "XdmfAttribute.hpp"
#include "XdmfUnstructuredGrid.hpp"
#include "XdmfCurvilinearGrid.hpp"
#include "XdmfRectilinearGrid.hpp"
#include "XdmfR... | 43.619105 | 123 | 0.483076 | [
"geometry",
"object",
"vector"
] |
826e8d575b731a2794bd71af897b90497468f11b | 4,617 | hxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/io/vnl_io_sparse_matrix.hxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/io/vnl_io_sparse_matrix.hxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/io/vnl_io_sparse_matrix.hxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | // This is core/vnl/io/vnl_io_sparse_matrix.hxx
#ifndef vnl_io_sparse_matrix_hxx_
#define vnl_io_sparse_matrix_hxx_
//:
// \file
#include <iostream>
#include "vnl_io_sparse_matrix.h"
#include <vnl/vnl_sparse_matrix.h>
#include <vsl/vsl_binary_io.h>
#include <cassert>
#ifdef _MSC_VER
# include <vcl_msvc_warnings.h>
#e... | 27.981818 | 94 | 0.556422 | [
"vector"
] |
82704dce78ea26779ebb5f036f59a4f66a67f978 | 190,440 | cc | C++ | protobuf/src/google/protobuf/util/json_format.pb.cc | wissunpower/WeizenbierGame | 34f027c43055dfa6b05e62ca0b6c31271af013f3 | [
"Unlicense"
] | null | null | null | protobuf/src/google/protobuf/util/json_format.pb.cc | wissunpower/WeizenbierGame | 34f027c43055dfa6b05e62ca0b6c31271af013f3 | [
"Unlicense"
] | null | null | null | protobuf/src/google/protobuf/util/json_format.pb.cc | wissunpower/WeizenbierGame | 34f027c43055dfa6b05e62ca0b6c31271af013f3 | [
"Unlicense"
] | null | null | null | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/util/json_format.proto
#include "google/protobuf/util/json_format.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#in... | 40.570942 | 232 | 0.735738 | [
"object"
] |
8278265d90d01b0eeaf81401091e56bc444e2487 | 2,604 | cpp | C++ | assignments/a1-hello/unique.cpp | msunde137/animation-toolkit | d2455d8d41108b645cb4be26060ba6d5c6c955b3 | [
"MIT"
] | 3 | 2021-12-24T04:12:53.000Z | 2021-12-24T04:14:28.000Z | assignments/a1-hello/unique.cpp | msunde137/animation-toolkit | d2455d8d41108b645cb4be26060ba6d5c6c955b3 | [
"MIT"
] | null | null | null | assignments/a1-hello/unique.cpp | msunde137/animation-toolkit | d2455d8d41108b645cb4be26060ba6d5c6c955b3 | [
"MIT"
] | null | null | null | #include "atkui/framework.h"
using namespace glm;
struct particle
{
vec3 position;
vec3 velocity;
vec3 color;
};
class Unique : public atkui::Framework {
public:
Unique() : atkui::Framework(atkui::Orthographic) {
}
virtual void setup() {
//winx = 0;
//winy = 0;
//glfwGetWindowPos(atkui::Framewor... | 23.889908 | 120 | 0.593702 | [
"vector"
] |
82788fafd9290679bbfb424a4e2db1bf3a8b7cd2 | 16,643 | cpp | C++ | flashlight/fl/experimental/memory/allocator/freelist/FreeList.cpp | codekansas/flashlight | 6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9 | [
"BSD-3-Clause"
] | 1 | 2021-05-26T11:56:41.000Z | 2021-05-26T11:56:41.000Z | flashlight/fl/experimental/memory/allocator/freelist/FreeList.cpp | codekansas/flashlight | 6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9 | [
"BSD-3-Clause"
] | null | null | null | flashlight/fl/experimental/memory/allocator/freelist/FreeList.cpp | codekansas/flashlight | 6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "flashlight/fl/experimental/memory/allocator/freelist/FreeList.h"
#include <algorithm>
#include <cmath>
#include <c... | 32.129344 | 80 | 0.653428 | [
"vector"
] |
8278968c218681e933f948843a3882ebb15d595d | 39,034 | cpp | C++ | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_Assembly-CSharp_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_Assembly-CSharp_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_Assembly-CSharp_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | 36.446312 | 202 | 0.816007 | [
"mesh",
"object"
] |
827d7d6bb2332df20e2d29a0b7cb5b8d98f3f39a | 2,604 | cpp | C++ | LifeBrush/Source/LifeBrush/Algorithm/tcods/Problem.cpp | timdecode/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 33 | 2019-04-23T23:00:09.000Z | 2021-11-09T11:44:09.000Z | LifeBrush/Source/LifeBrush/Algorithm/tcods/Problem.cpp | MyelinsheathXD/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 1 | 2019-10-09T15:57:56.000Z | 2020-03-05T20:01:01.000Z | LifeBrush/Source/LifeBrush/Algorithm/tcods/Problem.cpp | MyelinsheathXD/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 6 | 2019-04-25T00:10:55.000Z | 2021-04-12T05:16:28.000Z | #include "LifeBrush.h"
#include "Problem.h"
#include "HalfEdge.h"
#include <iostream>
#include <sstream>
#include <algorithm>
using namespace std;
namespace tcods
{
Problem :: Problem( void )
{}
Problem :: Problem( istream& in )
{
read( in );
}
void Problem :: solve( void ) const
{... | 23.25 | 140 | 0.422427 | [
"mesh",
"vector",
"transform"
] |
82865a082252f07257b5e7da7a85855d5dddff9a | 9,344 | hpp | C++ | mysql-server/storage/ndb/src/kernel/vm/TransientPool.hpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/src/kernel/vm/TransientPool.hpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/src/kernel/vm/TransientPool.hpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /*
Copyright (c) 2017, 2020, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (includ... | 35.12782 | 114 | 0.693386 | [
"object"
] |
82881e67f85b150b6569446fa757e1d8c3108c26 | 1,212 | hpp | C++ | core/Parser.hpp | arn-all/pafi | ec15ee30835eea5740953eb1fa9e52c0e5f24d8f | [
"MIT"
] | null | null | null | core/Parser.hpp | arn-all/pafi | ec15ee30835eea5740953eb1fa9e52c0e5f24d8f | [
"MIT"
] | null | null | null | core/Parser.hpp | arn-all/pafi | ec15ee30835eea5740953eb1fa9e52c0e5f24d8f | [
"MIT"
] | null | null | null | #ifndef PARSER_H
#define PARSER_H
#include <vector>
#include <map>
#include <string>
#include <sstream>
#include <fstream>
#include <iostream>
#include <random>
#include "rapidxml.hpp"
class Parser {
public:
// Loads config file, lammps scripts etc
Parser(std::string file, bool test);
// remove trailing whitespac... | 21.263158 | 85 | 0.762376 | [
"vector"
] |
8288a0388a970e0a8a5277c03a994a068a7e5499 | 16,739 | cpp | C++ | Sources/Internal/Render/Highlevel/StaticOcclusion.cpp | Serviak/dava.engine | d51a26173a3e1b36403f846ca3b2e183ac298a1a | [
"BSD-3-Clause"
] | 1 | 2020-11-14T10:18:24.000Z | 2020-11-14T10:18:24.000Z | Sources/Internal/Render/Highlevel/StaticOcclusion.cpp | Serviak/dava.engine | d51a26173a3e1b36403f846ca3b2e183ac298a1a | [
"BSD-3-Clause"
] | null | null | null | Sources/Internal/Render/Highlevel/StaticOcclusion.cpp | Serviak/dava.engine | d51a26173a3e1b36403f846ca3b2e183ac298a1a | [
"BSD-3-Clause"
] | 1 | 2020-09-05T21:16:17.000Z | 2020-09-05T21:16:17.000Z | #include "Render/RenderHelper.h"
#include "Render/Highlevel/StaticOcclusion.h"
#include "Render/Highlevel/StaticOcclusionRenderPass.h"
#include "Render/Highlevel/RenderBatchArray.h"
#include "Render/Highlevel/Camera.h"
#include "Render/Image/Image.h"
#include "Utils/StringFormat.h"
#include "Utils/Random.h"
#in... | 32.439922 | 207 | 0.59454 | [
"render"
] |
828dd94c6b6a61dd64d58fd4fc681dda3a6b25d2 | 1,961 | cpp | C++ | unranged/1568.cpp | Taowyoo/LeetCodeLog | cb05798538dd10675bf81011a419d0e33d85e4e0 | [
"MIT"
] | null | null | null | unranged/1568.cpp | Taowyoo/LeetCodeLog | cb05798538dd10675bf81011a419d0e33d85e4e0 | [
"MIT"
] | null | null | null | unranged/1568.cpp | Taowyoo/LeetCodeLog | cb05798538dd10675bf81011a419d0e33d85e4e0 | [
"MIT"
] | null | null | null | // Time: O((m*n)^2)
// Space: O(m*n)
class Solution {
public:
vector<int> dx = {1, -1, 0, 0};
vector<int> dy = {0, 0, 1, -1};
void dfs(int x, int y, vector<vector<int>> &grid, vector<vector<int>> & vis)
{
int n = grid.size();
int m = grid[0].size();
vis[x][y] = 1;
for (in... | 26.5 | 92 | 0.345742 | [
"vector"
] |
8292451f1945570b748bd2dfff36a825208f21d4 | 7,870 | cpp | C++ | main/src/Objects/CNodePoint2DSlope1.cpp | eapcivil/EXUDYN | 52bddc8c258cda07e51373f68e1198b66c701d03 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2020-10-06T08:06:25.000Z | 2020-10-06T08:06:25.000Z | main/src/Objects/CNodePoint2DSlope1.cpp | eapcivil/EXUDYN | 52bddc8c258cda07e51373f68e1198b66c701d03 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | main/src/Objects/CNodePoint2DSlope1.cpp | eapcivil/EXUDYN | 52bddc8c258cda07e51373f68e1198b66c701d03 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | /** ***********************************************************************************************
* @brief Implementation for NodePoint2DSlope1
*
* @author Gerstmayr Johannes
* @date 2019-06-15 (generated)
* @pre ...
*
* @copyright This file is part of Exudyn. Exudyn is free software: you can redistribute it... | 38.203883 | 252 | 0.715375 | [
"object",
"vector",
"3d"
] |
829333e833eaa706962b2a765617bf222a60b96e | 10,063 | cpp | C++ | GA/old_GA.cpp | donRumata03/PowerfulGA | e4e2370287a7b654caf92adac8a64a39e23468c9 | [
"MIT"
] | 3 | 2020-04-11T10:48:01.000Z | 2021-02-09T11:43:12.000Z | GA/old_GA.cpp | donRumata03/PowerfulGA | e4e2370287a7b654caf92adac8a64a39e23468c9 | [
"MIT"
] | 6 | 2020-12-03T15:37:45.000Z | 2020-12-09T11:02:37.000Z | GA/old_GA.cpp | donRumata03/PowerfulGA | e4e2370287a7b654caf92adac8a64a39e23468c9 | [
"MIT"
] | 1 | 2021-04-25T21:50:09.000Z | 2021-04-25T21:50:09.000Z | #include "old_GA.h"
namespace GA {
// TODO: add possibility to run 2 GA's at once!!!
Population p;
std::vector<double> fitnesses;
volatile bool thread_count_time = false;
std::vector<bool> threads_ready;
volatile bool threads_work_collected = false;
inline bool check_threads() { return std::all_of(threads_... | 38.408397 | 164 | 0.697506 | [
"vector"
] |
82a05c74b0ad96bfcc368ae6ee3e0979a78c4100 | 1,486 | cpp | C++ | src/CompositionEventInitImp.cpp | esrille/escudo | 1ba68f6930f1ddb97385a5b488644b6dfa132152 | [
"Apache-2.0"
] | 29 | 2015-01-25T15:12:02.000Z | 2021-12-01T17:58:17.000Z | src/CompositionEventInitImp.h | esrille/escudo | 1ba68f6930f1ddb97385a5b488644b6dfa132152 | [
"Apache-2.0"
] | null | null | null | src/CompositionEventInitImp.h | esrille/escudo | 1ba68f6930f1ddb97385a5b488644b6dfa132152 | [
"Apache-2.0"
] | 7 | 2015-04-15T02:05:21.000Z | 2020-06-16T03:53:37.000Z | // Generated by esidl 0.3.0.
// This file is expected to be modified for the Web IDL interface
// implementation. Permission to use, copy, modify and distribute
// this file in any software license is hereby granted.
#ifndef ORG_W3C_DOM_BOOTSTRAP_COMPOSITIONEVENTINITIMP_H_INCLUDED
#define ORG_W3C_DOM_BOOTSTRAP_COMPOS... | 25.62069 | 86 | 0.735532 | [
"object"
] |
82a26dffe1070cba3e5ddad5df16e861e75c65ef | 119,401 | cc | C++ | re2c/bootstrap/src/parse/lex.cc | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 8 | 2020-11-08T15:36:14.000Z | 2022-03-27T13:50:07.000Z | re2c/bootstrap/src/parse/lex.cc | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 98 | 2020-11-12T11:49:41.000Z | 2022-03-27T17:24:13.000Z | re2c/bootstrap/src/parse/lex.cc | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 10 | 2021-03-31T13:50:52.000Z | 2021-12-02T03:34:42.000Z | /* Generated by re2c 2.1.1 on Fri May 28 10:53:19 2021 */
#line 1 "../src/parse/lex.re"
#include <ctype.h>
#include "src/util/c99_stdint.h"
#include <algorithm>
#include <limits>
#include <string>
#include <utility>
#include <vector>
#include "src/codegen/code.h"
#include "src/encoding/enc.h"
#include "src/msg/locatio... | 22.062269 | 93 | 0.533706 | [
"vector"
] |
82a3aa63f0afa3c8c5971d66ac548e4f2be0bc3a | 1,438 | cpp | C++ | 0188-best-time-to-buy-and-sell-stock-iv.cpp | Jamesweng/leetcode | 1711a2a0e31d831e40137203c9abcba0bf56fcad | [
"Apache-2.0"
] | 106 | 2019-06-08T15:23:45.000Z | 2020-04-04T17:56:54.000Z | 0188-best-time-to-buy-and-sell-stock-iv.cpp | Jamesweng/leetcode | 1711a2a0e31d831e40137203c9abcba0bf56fcad | [
"Apache-2.0"
] | null | null | null | 0188-best-time-to-buy-and-sell-stock-iv.cpp | Jamesweng/leetcode | 1711a2a0e31d831e40137203c9abcba0bf56fcad | [
"Apache-2.0"
] | 3 | 2019-07-13T05:51:29.000Z | 2020-04-04T17:56:57.000Z | class Solution {
public:
int maxProfit(int k, vector<int>& prices) {
int n = prices.size();
if (n <= 1 || k <= 0) return 0;
if (k > n / 2) k = n / 2;
int f[2][n], ans = 0;
//printf("n=%d\n", n);
// 前i个,k次交易最多的profit
// f[k][i] = max(f[k - 1][... | 32.681818 | 76 | 0.295549 | [
"vector"
] |
82a89553f499c190d88ccd6884d23082c0399049 | 17,012 | cpp | C++ | src/demos/synchrono/demo_SCM/demo_SYN_scm_tracked.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 1 | 2020-01-18T02:39:17.000Z | 2020-01-18T02:39:17.000Z | src/demos/synchrono/demo_SCM/demo_SYN_scm_tracked.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | null | null | null | src/demos/synchrono/demo_SCM/demo_SYN_scm_tracked.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 1 | 2019-07-16T00:23:00.000Z | 2019-07-16T00:23:00.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2020 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 41.798526 | 117 | 0.627322 | [
"mesh",
"render",
"object",
"vector",
"model"
] |
82acba6eb7c5a4597465d6211b7c980e63fe87c0 | 53,887 | cpp | C++ | test/1.3/QLstm.cpp | ARM-software/android-nn-driver | 249c1253c6019a380ee2e283b7d3f412d5ecbfd1 | [
"MIT"
] | 130 | 2018-03-09T20:44:20.000Z | 2022-03-06T16:34:51.000Z | test/1.3/QLstm.cpp | ARM-software/android-nn-driver | 249c1253c6019a380ee2e283b7d3f412d5ecbfd1 | [
"MIT"
] | 18 | 2018-05-02T09:43:59.000Z | 2021-11-08T10:41:55.000Z | test/1.3/QLstm.cpp | ARM-software/android-nn-driver | 249c1253c6019a380ee2e283b7d3f412d5ecbfd1 | [
"MIT"
] | 53 | 2018-03-12T18:25:48.000Z | 2022-02-01T13:52:52.000Z | //
// Copyright © 2020 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "../DriverTestHelpers.hpp"
#include "../TestTensor.hpp"
#include "../1.3/HalPolicy.hpp"
#include <armnn/utility/IgnoreUnused.hpp>
#include <doctest/doctest.h>
#include <array>
using ArmnnDriver = armnn_driver::Armnn... | 52.115087 | 118 | 0.597101 | [
"shape",
"vector",
"model"
] |
82afb288deca74b47e9cdd8665242e2f369eaf54 | 5,956 | cpp | C++ | enduser/speech/sapi/sapi/dsaudiobuffer.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | enduser/speech/sapi/sapi/dsaudiobuffer.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | enduser/speech/sapi/sapi/dsaudiobuffer.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /****************************************************************************
* dsaudiobuffer.cpp
* Implementation of the CDSoundAudioBuffer class and it's derivatives.
*
* Owner: YUNUSM
* Copyright (c) 1999 Microsoft Corporation All Rights Reserved.
***************************************************... | 32.906077 | 83 | 0.448959 | [
"object"
] |
a11609dd97d2b4ef99fe878ececeebecd6d0d8d8 | 12,861 | cpp | C++ | Firmware/Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/bed_mesh_screen.cpp | M1dn1ghtN1nj4/UnifiedFirmware | 510ef8f4145dcbae1caced5e391c3888e6022b00 | [
"Info-ZIP"
] | 6 | 2020-12-04T21:55:04.000Z | 2022-02-02T20:49:45.000Z | Firmware/Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/bed_mesh_screen.cpp | M1dn1ghtN1nj4/UnifiedFirmware | 510ef8f4145dcbae1caced5e391c3888e6022b00 | [
"Info-ZIP"
] | 24 | 2020-12-25T05:00:51.000Z | 2021-04-20T00:56:50.000Z | Firmware/Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/bed_mesh_screen.cpp | M1dn1ghtN1nj4/UnifiedFirmware | 510ef8f4145dcbae1caced5e391c3888e6022b00 | [
"Info-ZIP"
] | 3 | 2021-05-01T15:13:41.000Z | 2022-02-11T01:15:30.000Z | /***********************
* bed_mesh_screen.cpp *
***********************/
/****************************************************************************
* Written By Marcio Teixeira 2020 *
* *
* This... | 36.330508 | 133 | 0.595988 | [
"transform",
"3d"
] |
a1167fdf1ca2d8cd8aaf700d4d3106eea4b81952 | 2,905 | cpp | C++ | Graph/Tree/BST/BST Iterator.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 8 | 2021-02-13T17:07:27.000Z | 2021-08-20T08:20:40.000Z | Graph/Tree/BST/BST Iterator.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | null | null | null | Graph/Tree/BST/BST Iterator.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 5 | 2021-02-17T18:12:20.000Z | 2021-10-10T17:49:34.000Z | // Problem: https://www.interviewbit.com/problems/bst-iterator/
// REf: https://www.youtube.com/watch?v=4L5seG1d2dA&list=PL7JyMDSI2BfZugpAjdWc8ES_mYMz2F9Qo&index=6
/****************************************************************************************************/
// In this problem there is just iterative implement... | 24.208333 | 102 | 0.626506 | [
"vector"
] |
a118ba0ba75225b1b49a122ea8b833ffb119c135 | 8,339 | hpp | C++ | src/FGraph/mrob/factor_graph_solve.hpp | miloserdova-l/mrob | 48bef772ba3158d2122991069196d6efd4a39f8c | [
"Apache-2.0"
] | 12 | 2020-09-22T15:33:48.000Z | 2022-03-02T17:27:39.000Z | src/FGraph/mrob/factor_graph_solve.hpp | MobileRoboticsSkoltech/mrob | 7668a3ee35345c4878aa86fff082cc017992d205 | [
"Apache-2.0"
] | 46 | 2020-09-22T15:47:08.000Z | 2022-01-22T10:56:44.000Z | src/FGraph/mrob/factor_graph_solve.hpp | MobileRoboticsSkoltech/mrob | 7668a3ee35345c4878aa86fff082cc017992d205 | [
"Apache-2.0"
] | 9 | 2020-09-22T15:59:33.000Z | 2021-12-20T20:15:16.000Z | /* Copyright (c) 2018, Skolkovo Institute of Science and Technology (Skoltech)
*
* 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
*
* U... | 33.625 | 123 | 0.651637 | [
"vector"
] |
a11b78bb1c22e549a563df67e564a4ff0ec97316 | 3,635 | cpp | C++ | src/crypter.cpp | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 10 | 2019-06-06T04:08:38.000Z | 2022-01-07T13:02:17.000Z | src/crypter.cpp | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 21 | 2019-07-19T18:36:34.000Z | 2022-03-06T09:59:51.000Z | src/crypter.cpp | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 24 | 2019-04-19T12:24:16.000Z | 2022-01-07T13:02:20.000Z | // Copyright (c) 2009-2012 The Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "compat.h"
#include <openssl/aes.h>
#include <openssl/evp.h>
#include "util.h"
#include "ccrypter.h"
#include "cryp... | 34.951923 | 153 | 0.694911 | [
"vector"
] |
a125d1642037b0c7a6374d7cabf42248dfe56e07 | 4,989 | hh | C++ | surfaces/ConeAligned.t.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | surfaces/ConeAligned.t.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | surfaces/ConeAligned.t.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | //---------------------------------*-C++-*-----------------------------------//
/*!
* \file surfaces/ConeAligned.t.hh
* \brief ConeAligned template method definitions
* \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
//------------------------------------------------------------------... | 30.607362 | 79 | 0.491882 | [
"shape",
"vector",
"transform"
] |
a1288a8c85c5578827886773865e963d862edf69 | 1,508 | cpp | C++ | samples/cpp/tutorial_code/features2D/SURF_detector.cpp | sagarjoglekar/opencv | de4ee084b1958e859e5a2c74b6867310bb2e4940 | [
"BSD-3-Clause"
] | 3 | 2018-10-15T07:31:30.000Z | 2020-10-16T08:59:46.000Z | samples/cpp/tutorial_code/features2D/SURF_detector.cpp | ehren/opencv | abe37659ccfc2b399e7543eee1a43900c9a7099e | [
"BSD-3-Clause"
] | null | null | null | samples/cpp/tutorial_code/features2D/SURF_detector.cpp | ehren/opencv | abe37659ccfc2b399e7543eee1a43900c9a7099e | [
"BSD-3-Clause"
] | 2 | 2016-12-02T02:57:34.000Z | 2020-01-09T11:03:24.000Z | /**
* @file SURF_detector
* @brief SURF keypoint detection + keypoint drawing with OpenCV functions
* @author A. Huaman
*/
#include <stdio.h>
#include <iostream>
#include "opencv2/core/core.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/nonfree/features2d... | 23.936508 | 99 | 0.685013 | [
"vector"
] |
a12a95ef24bc63d7f1e1d1eedb88ad61f025d3c4 | 4,170 | cpp | C++ | examples_oldgl_glfw/124_4RotSymField/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | 1 | 2020-07-18T17:03:36.000Z | 2020-07-18T17:03:36.000Z | examples_oldgl_glfw/124_4RotSymField/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | null | null | null | examples_oldgl_glfw/124_4RotSymField/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019 Nobuyuki Umetani
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @brief implementation of 4 rotatoinal symetry field
* @details implementation is based on "Wenzel Jakob, Marco Tarini, Daniele Panozzo, and O... | 31.590909 | 160 | 0.598082 | [
"vector"
] |
a12cf9f923894e53d61d9f113d568a144a4c7d7d | 2,748 | hpp | C++ | src/Rendering/OpenGL/libraries/gl/include/gl/state.hpp | Megaxela/HGEngineReloaded | 62d319308c2d8a62f6854721c31afc4981aa13df | [
"MIT"
] | 2 | 2021-02-26T05:25:48.000Z | 2021-09-16T22:30:41.000Z | src/Rendering/OpenGL/libraries/gl/include/gl/state.hpp | Megaxela/HGEngineReloaded | 62d319308c2d8a62f6854721c31afc4981aa13df | [
"MIT"
] | 1 | 2019-10-19T10:36:43.000Z | 2019-10-19T10:36:43.000Z | src/Rendering/OpenGL/libraries/gl/include/gl/state.hpp | Megaxela/HGEngineReloaded | 62d319308c2d8a62f6854721c31afc4981aa13df | [
"MIT"
] | 2 | 2019-10-22T18:56:59.000Z | 2020-03-12T04:38:31.000Z | // Copyright Ali Can Demiralp 2016 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef GL_STATE_HPP_
#define GL_STATE_HPP_
#include <string>
#include <vector>
#include <gl/expo... | 46.576271 | 76 | 0.697598 | [
"vector"
] |
a13034d9c5d7a3e6f3a4dd51f9991e374e9107ee | 22,879 | cpp | C++ | plugins/radar-android-audio/src/main/jni/opensmile-2.3.0/src/core/dataSelector.cpp | RADAR-base/radar-commons-android | 60234bd449f73c1f4c91a81ffb05f46219a65f0c | [
"Apache-2.0"
] | 1 | 2020-10-08T13:18:51.000Z | 2020-10-08T13:18:51.000Z | plugins/radar-android-audio/src/main/jni/opensmile-2.3.0/src/core/dataSelector.cpp | RADAR-base/radar-commons-android | 60234bd449f73c1f4c91a81ffb05f46219a65f0c | [
"Apache-2.0"
] | 206 | 2018-02-19T15:35:57.000Z | 2022-03-25T11:27:38.000Z | plugins/radar-android-audio/src/main/jni/opensmile-2.3.0/src/core/dataSelector.cpp | RADAR-base/radar-commons-android | 60234bd449f73c1f4c91a81ffb05f46219a65f0c | [
"Apache-2.0"
] | 2 | 2018-08-22T14:47:35.000Z | 2020-04-07T08:38:34.000Z | /*F***************************************************************************
*
* openSMILE - the Munich open source Multimedia Interpretation by
* Large-scale Extraction toolkit
*
* This file is part of openSMILE.
*
* openSMILE is copyright (c) by audEERING GmbH. All rights reserved.
*
* See file "COPYI... | 35.198462 | 578 | 0.576424 | [
"vector"
] |
a132e38bc1597df0a91934c7926a7a91f78e686f | 4,812 | cc | C++ | extensions/api/savedpasswords/savedpasswords_api.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | extensions/api/savedpasswords/savedpasswords_api.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | extensions/api/savedpasswords/savedpasswords_api.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2015 Vivaldi Technologies AS. All rights reserved
#include "extensions/api/savedpasswords/savedpasswords_api.h"
#include "base/prefs/pref_service.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
#inclu... | 30.075 | 80 | 0.773483 | [
"vector"
] |
a13b6cf53f5eec4d210f83c2b0628a64edd9d2b1 | 2,484 | cpp | C++ | aws-cpp-sdk-ce/source/model/ESInstanceDetails.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-ce/source/model/ESInstanceDetails.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-ce/source/model/ESInstanceDetails.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ce/model/ESInstanceDetails.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespac... | 20.032258 | 69 | 0.73752 | [
"model"
] |
a14b6b6eec31dc81fbf5c51094e71bacbc94320b | 19,996 | cc | C++ | tensorstore/index_space/internal/iterate.cc | stuarteberg/tensorstore | 2c22a3c9f798b0fbf023031633c58cc7c644235d | [
"Apache-2.0"
] | null | null | null | tensorstore/index_space/internal/iterate.cc | stuarteberg/tensorstore | 2c22a3c9f798b0fbf023031633c58cc7c644235d | [
"Apache-2.0"
] | null | null | null | tensorstore/index_space/internal/iterate.cc | stuarteberg/tensorstore | 2c22a3c9f798b0fbf023031633c58cc7c644235d | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The TensorStore Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | 45.036036 | 80 | 0.660932 | [
"transform"
] |
a14dcbad6ae78914713404a55426e08f3848f665 | 2,001 | cpp | C++ | doc/examples/thresholding.cpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | 5 | 2018-02-20T11:21:12.000Z | 2019-11-12T13:45:09.000Z | doc/examples/thresholding.cpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | null | null | null | doc/examples/thresholding.cpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | 2 | 2017-11-17T15:30:36.000Z | 2018-03-01T02:06:25.000Z | //==================================================================================================
/*
Copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//======================================... | 31.761905 | 100 | 0.598701 | [
"vector"
] |
a1551df5af69c57c9bf02e0f70d622596c949e84 | 2,460 | cpp | C++ | C++/fileSearcherUSN/fileSearcherUSN/fileSearcherUSN.cpp | Alex-vivine/File-Engine | 46fd93a49ab432152347dba30027ba16cbbaba9f | [
"MIT"
] | 1 | 2020-09-30T09:46:19.000Z | 2020-09-30T09:46:19.000Z | C++/fileSearcherUSN/fileSearcherUSN/fileSearcherUSN.cpp | Alex-vivine/File-Engine | 46fd93a49ab432152347dba30027ba16cbbaba9f | [
"MIT"
] | null | null | null | C++/fileSearcherUSN/fileSearcherUSN/fileSearcherUSN.cpp | Alex-vivine/File-Engine | 46fd93a49ab432152347dba30027ba16cbbaba9f | [
"MIT"
] | null | null | null | #include <iostream>
#include "stdafx.h"
#include "Volume.h"
#include <fstream>
#include <thread>
typedef struct{
char disk;
vector<string> ignorePath;
} parameter;
sqlite3* db;
static volatile UINT tasksFinished = 0;
static volatile UINT totalTasks = 0;
void initUSN(parameter p);
void splitString(char* str, vecto... | 22.568807 | 87 | 0.655285 | [
"vector"
] |
a1572d85aaf2f67703c3ba3014b73986d060fe41 | 2,696 | cpp | C++ | algorithms/contiguous-data/find-substr/implem_multi.cpp | dubzzz/various-algorithms | 16af4c05acfcb23d199df0851402b0da3ebba91c | [
"MIT"
] | 1 | 2017-04-17T18:32:46.000Z | 2017-04-17T18:32:46.000Z | algorithms/contiguous-data/find-substr/implem_multi.cpp | dubzzz/various-algorithms | 16af4c05acfcb23d199df0851402b0da3ebba91c | [
"MIT"
] | 10 | 2016-12-25T04:42:56.000Z | 2017-03-30T20:42:25.000Z | algorithms/contiguous-data/find-substr/implem_multi.cpp | dubzzz/various-algorithms | 16af4c05acfcb23d199df0851402b0da3ebba91c | [
"MIT"
] | 1 | 2022-03-25T17:39:05.000Z | 2022-03-25T17:39:05.000Z | #include <algorithm>
#include <array>
#include <bitset>
#include <climits>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
#include "aim.hpp"
// Algorithm to be tested
std::size_t find_substr(std::string const& raw, std::string const& pattern)
{
if (pattern.empty())
... | 33.283951 | 141 | 0.589021 | [
"vector"
] |
a15c5d11a2d0507ac3cd16a754e7d269f079d75c | 3,666 | hpp | C++ | src/utils/rngen.hpp | rblake-llnl/wcs | ac2d49fb66d89bdcf8f815958b62d9b566a34a8f | [
"MIT-0",
"MIT"
] | null | null | null | src/utils/rngen.hpp | rblake-llnl/wcs | ac2d49fb66d89bdcf8f815958b62d9b566a34a8f | [
"MIT-0",
"MIT"
] | null | null | null | src/utils/rngen.hpp | rblake-llnl/wcs | ac2d49fb66d89bdcf8f815958b62d9b566a34a8f | [
"MIT-0",
"MIT"
] | null | null | null | /******************************************************************************
* *
* Copyright 2020 Lawrence Livermore National Security, LLC and other *
* Whole Cell Simulator Project Developers. See the top-level COPYRIGHT *
... | 33.327273 | 80 | 0.6473 | [
"object",
"vector"
] |
a15f3d92600b897c9cd59a377e5a1415fdae15f4 | 2,363 | cpp | C++ | sources/octree_change_detection/octree_change_detection.cpp | SmartKangJohn/PCL191_tutorials_x64 | ba23cfa0c612d11b00b97fba75e2f9b41633b5d1 | [
"MIT"
] | 2 | 2019-04-10T14:04:52.000Z | 2019-05-29T03:41:58.000Z | sources/octree_change_detection/octree_change_detection.cpp | SmartKangJohn/PCL191_tutorials_x64 | ba23cfa0c612d11b00b97fba75e2f9b41633b5d1 | [
"MIT"
] | null | null | null | sources/octree_change_detection/octree_change_detection.cpp | SmartKangJohn/PCL191_tutorials_x64 | ba23cfa0c612d11b00b97fba75e2f9b41633b5d1 | [
"MIT"
] | 1 | 2021-12-20T06:54:41.000Z | 2021-12-20T06:54:41.000Z | #include <pcl/point_cloud.h>
#include <pcl/octree/octree_pointcloud_changedetector.h>
#include <iostream>
#include <vector>
#include <ctime>
int
main (int argc, char** argv)
{
srand ((unsigned int) time (NULL));
// Octree resolution - side length of octree voxels
float resolution = 32.0f;
// Instantiate oct... | 32.819444 | 91 | 0.654253 | [
"vector"
] |
a1612e0cea7033830c65e41bac1d6f9cd8baec4b | 1,156 | hpp | C++ | contracts/celes.unregd/src/utils/authority.hpp | celes-dev/celesos.contracts | 698652dbc277fc1334d466cac9134338ae82b8d8 | [
"MIT"
] | null | null | null | contracts/celes.unregd/src/utils/authority.hpp | celes-dev/celesos.contracts | 698652dbc277fc1334d466cac9134338ae82b8d8 | [
"MIT"
] | null | null | null | contracts/celes.unregd/src/utils/authority.hpp | celes-dev/celesos.contracts | 698652dbc277fc1334d466cac9134338ae82b8d8 | [
"MIT"
] | null | null | null | #pragma once
#include <eosiolib/action.hpp>
namespace eosio {
typedef uint16_t weight_type;
struct permission_level_weight {
permission_level permission;
weight_type weight;
// explicit serialization macro is not necessary, used here only to improve compilation time
EOSLIB_SERIALIZE(permission_leve... | 26.883721 | 96 | 0.75 | [
"vector"
] |
a16153fdf41bbc09e465a80b962073b690725db0 | 9,370 | hh | C++ | src/c++/include/common/Debug.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 13 | 2018-02-09T22:59:39.000Z | 2021-11-29T06:33:22.000Z | src/c++/include/common/Debug.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 17 | 2018-01-26T11:36:07.000Z | 2022-02-03T18:48:43.000Z | src/c++/include/common/Debug.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 4 | 2018-10-19T20:00:00.000Z | 2020-10-29T14:44:06.000Z | /**
** Isaac Genome Alignment Software
** Copyright (c) 2010-2017 Illumina, Inc.
** All rights reserved.
**
** This software is provided under the terms and conditions of the
** GNU GENERAL PUBLIC LICENSE Version 3
**
** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3
** along with ... | 29.936102 | 406 | 0.67428 | [
"vector"
] |
a1633de4c82e3c2ca1abd45f27b3316fb40de32b | 96,752 | cc | C++ | Mysql/sql/rpl_rli.cc | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | 1 | 2015-12-24T16:44:50.000Z | 2015-12-24T16:44:50.000Z | Mysql/sql/rpl_rli.cc | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | 1 | 2015-12-24T18:23:56.000Z | 2015-12-24T18:24:26.000Z | Mysql/sql/rpl_rli.cc | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the License.
This program is distributed in t... | 33.688022 | 129 | 0.674539 | [
"object"
] |
a168ac84afa90c6caffdfce4fbfc106213fdc443 | 1,674 | cpp | C++ | graph/lowest_common_ancestor.cpp | ShinyaKato/algorithm-snipets | 53ae76cdc427dd816a7a11147d80a172fb16bcc3 | [
"Apache-2.0"
] | 1 | 2018-09-22T16:53:07.000Z | 2018-09-22T16:53:07.000Z | graph/lowest_common_ancestor.cpp | ShinyaKato/competitive-programming-utils | 53ae76cdc427dd816a7a11147d80a172fb16bcc3 | [
"Apache-2.0"
] | 2 | 2018-07-03T17:19:18.000Z | 2018-07-03T17:23:10.000Z | graph/lowest_common_ancestor.cpp | ShinyaKato/competitive-programming-utils | 53ae76cdc427dd816a7a11147d80a172fb16bcc3 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
#define REP(i, a, n) for(ll i = ((ll) a); i < ((ll) n); i++)
using namespace std;
typedef long long ll;
class LowestCommonAncestor {
ll N, D;
vector<ll> depth;
vector<vector<ll>> parent, E;
public:
LowestCommonAncestor(ll N, ll D = 24): N(N), D(D) {
depth.resize(N);
parent.res... | 19.022727 | 60 | 0.456392 | [
"vector"
] |
a17500117a08d14a34cd18db9aa498ab87f1b138 | 1,010 | cpp | C++ | graph/nearest-1-from-each-cell.cpp | Strider-7/code | e096c0d0633b53a07bf3f295cb3bd685b694d4ce | [
"MIT"
] | null | null | null | graph/nearest-1-from-each-cell.cpp | Strider-7/code | e096c0d0633b53a07bf3f295cb3bd685b694d4ce | [
"MIT"
] | null | null | null | graph/nearest-1-from-each-cell.cpp | Strider-7/code | e096c0d0633b53a07bf3f295cb3bd685b694d4ce | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int distance(vector<vector<int>> &mat, int i, int j, int N, int M, vector<vector<int>> &res)
{
if (i < 0 || i >= N || j < 0 || j >= M || mat[i][j] == 5)
return INT32_MAX;
if (mat[i][j] == 0)
return 0;
int x = mat[i][j];
mat[i][j]... | 23.488372 | 93 | 0.445545 | [
"vector"
] |
a176627e3105f1dff4f6429a7c692b5a1d098ebb | 54,236 | cc | C++ | mpid/nt2unix/src/nt2unix.cc | RWTH-OS/MP-MPICH | f2ae296477bb9d812fda587221b3419c09f85b4a | [
"mpich2"
] | null | null | null | mpid/nt2unix/src/nt2unix.cc | RWTH-OS/MP-MPICH | f2ae296477bb9d812fda587221b3419c09f85b4a | [
"mpich2"
] | null | null | null | mpid/nt2unix/src/nt2unix.cc | RWTH-OS/MP-MPICH | f2ae296477bb9d812fda587221b3419c09f85b4a | [
"mpich2"
] | 1 | 2021-01-23T11:01:01.000Z | 2021-01-23T11:01:01.000Z | /*
nt2unix is Copyright (c) 1997, 1998 by
| _ : Sven M. Paas, Lehrstuhl fuer Betriebssysteme (LfBS)
|_|_`__ : RWTH Aachen, Kopernikusstr. 16, D-52056 Aachen
| |__) : Tel. : +49-241-80-5162, Fax: +49-241-8888-339
|__) : e-mail: sven@lfbs.rwth-aachen.de [PGP-public-key]
*/
#ifdef __POS... | 25.655629 | 174 | 0.640811 | [
"object",
"vector"
] |
a17a00df5c999c28e65da37768da0f1d4cc93ae1 | 157 | hh | C++ | src/imu_offset_compensation-python.hh | nim65s/sot-torque-control | 0277baa065e6addf16df804676d47597cf1b4b06 | [
"BSD-2-Clause"
] | 6 | 2017-11-01T20:14:53.000Z | 2020-04-03T04:51:07.000Z | src/imu_offset_compensation-python.hh | nim65s/sot-torque-control | 0277baa065e6addf16df804676d47597cf1b4b06 | [
"BSD-2-Clause"
] | 52 | 2017-03-31T21:24:38.000Z | 2021-11-03T08:27:46.000Z | src/imu_offset_compensation-python.hh | nim65s/sot-torque-control | 0277baa065e6addf16df804676d47597cf1b4b06 | [
"BSD-2-Clause"
] | 14 | 2017-04-06T20:03:27.000Z | 2020-07-28T14:20:42.000Z | #include "sot/torque_control/imu_offset_compensation.hh"
typedef boost::mpl::vector< dynamicgraph::sot::torque_control::ImuOffsetCompensation > entities_t;
| 39.25 | 98 | 0.828025 | [
"vector"
] |
a18a40b24850ed614e3e8f1060076290797db891 | 2,452 | hpp | C++ | lib/cache/include/Response.hpp | astateful/dyplat | 37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44 | [
"BSD-3-Clause"
] | null | null | null | lib/cache/include/Response.hpp | astateful/dyplat | 37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44 | [
"BSD-3-Clause"
] | null | null | null | lib/cache/include/Response.hpp | astateful/dyplat | 37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44 | [
"BSD-3-Clause"
] | null | null | null | //! The MIT License (MIT)
//!
//! Copyright (c) 2014 Thomas Kovacs
//!
//! 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 t... | 33.589041 | 78 | 0.687602 | [
"object"
] |
a18c0386597bc599f3cc5f691121e5619165fea0 | 632 | hpp | C++ | forms/creator.hpp | 5cript/minide | 0964ae51512eb7ba1ee44d828d27e5b73da32245 | [
"MIT"
] | null | null | null | forms/creator.hpp | 5cript/minide | 0964ae51512eb7ba1ee44d828d27e5b73da32245 | [
"MIT"
] | 1 | 2018-01-26T00:06:19.000Z | 2018-01-26T00:06:54.000Z | forms/creator.hpp | 5cript/minide | 0964ae51512eb7ba1ee44d828d27e5b73da32245 | [
"MIT"
] | null | null | null | #pragma once
#include "creator/createable.hpp"
#include <nana/gui/widgets/form.hpp>
#include <memory>
#include <vector>
#include <optional>
namespace MinIDE
{
struct CreatorImpl;
class Creator
{
public:
Creator(nana::window owner, std::unordered_map <std::string, std::vecto... | 20.387097 | 107 | 0.607595 | [
"vector"
] |
a191039b6b875fe1e2b53f398773c30208363309 | 1,573 | cpp | C++ | languages/cxx/snip/pointer_this.cpp | amerlyq/aeternum-langs | 8424dd2ff1680cb82ea78a44a798a15fc87de103 | [
"MIT"
] | 4 | 2018-05-18T20:29:53.000Z | 2021-12-06T04:57:44.000Z | languages/cxx/snip/pointer_this.cpp | amerlyq/aeternum-langs | 8424dd2ff1680cb82ea78a44a798a15fc87de103 | [
"MIT"
] | null | null | null | languages/cxx/snip/pointer_this.cpp | amerlyq/aeternum-langs | 8424dd2ff1680cb82ea78a44a798a15fc87de103 | [
"MIT"
] | null | null | null | std::enable_shared_from_this
// Фича, которая позволяет возвращать shared_ptr на this, разделяя обязанности с уже имеющимися шарами,
// вместо создания ситуации, когда два разных шара отвечают за удаление одного объекта,
// не зная ничего друг о друге (и итого будет двойное удаление).
// A common implementation for e... | 30.843137 | 103 | 0.680865 | [
"object"
] |
0846e94d47b2fac7b4a909d217b457159657fa36 | 8,637 | cpp | C++ | dev/test/so_5/internal_stats/all_dispatchers/main.cpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 76 | 2016-03-25T15:22:03.000Z | 2022-02-03T15:11:43.000Z | test/so_5/internal_stats/all_dispatchers/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | 19 | 2017-03-09T19:21:53.000Z | 2021-02-24T13:02:18.000Z | test/so_5/internal_stats/all_dispatchers/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | 21 | 2016-09-23T10:01:09.000Z | 2020-08-31T12:01:10.000Z | /*
* Demo application to show run-time monitoring information
* from all types of standard dispatchers.
*/
#include <algorithm>
#include <iostream>
#include <map>
#include <exception>
#include <stdexcept>
#include <cstdlib>
#include <thread>
#include <chrono>
#include <random>
#include <so_5/all.hpp>
class a_work... | 23.470109 | 77 | 0.648142 | [
"vector"
] |
08478ca3516fcea6c30c79930a53ab75115e42e0 | 8,986 | cc | C++ | backend/test/MongoTest.cc | EricJeffrey/TheCheatSheet | d3a9c91be10ad9179fdcbb25832d3235ea644115 | [
"MIT"
] | 2 | 2020-10-31T14:46:13.000Z | 2020-12-08T02:07:33.000Z | backend/test/MongoTest.cc | EricJeffrey/TheCheatSheet | d3a9c91be10ad9179fdcbb25832d3235ea644115 | [
"MIT"
] | 11 | 2020-10-20T08:14:04.000Z | 2020-11-17T01:52:29.000Z | backend/test/MongoTest.cc | EricJeffrey/TheCheatSheet | d3a9c91be10ad9179fdcbb25832d3235ea644115 | [
"MIT"
] | 1 | 2020-10-20T07:57:28.000Z | 2020-10-20T07:57:28.000Z | #include <gtest/gtest.h>
#include "../mongohelper/MongoHelper.hpp"
#include <bsoncxx/exception/exception.hpp>
#include <bsoncxx/json.hpp>
TEST(MongoTest, CRUDTest) {
/*
Execute before test start:
docker stop sjf_mongo_test && docker rm sjf_mongo_test
docker run -d --name sjf_mongo_test mongo:4... | 39.412281 | 100 | 0.570443 | [
"vector"
] |
084dd85ffa808ca791a453ea4f4845163e47dec3 | 8,824 | cpp | C++ | server/neuserver.cpp | Lahirutech/neutralinojs | 9a61a2f399ac9ddb5260578ffef4c60c337faf82 | [
"WTFPL"
] | null | null | null | server/neuserver.cpp | Lahirutech/neutralinojs | 9a61a2f399ac9ddb5260578ffef4c60c337faf82 | [
"WTFPL"
] | null | null | null | server/neuserver.cpp | Lahirutech/neutralinojs | 9a61a2f399ac9ddb5260578ffef4c60c337faf82 | [
"WTFPL"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <string>
#include <regex>
#include <map>
#include <thread>
#include <chrono>
#include <set>
#include <websocketpp/config/asio_no_tls.hpp>
#include <websocketpp/server.hpp>
#include "lib/json/json.hpp"
#include "settings.h"
#include "extensions_loader.h"
#include "server... | 33.551331 | 112 | 0.600975 | [
"vector"
] |
084f328829c6b10bacd5f392bcd991181767e78c | 2,527 | hpp | C++ | rokko/eigenexa.hpp | t-sakashita/rokko | ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9 | [
"BSL-1.0"
] | 16 | 2015-01-31T18:57:48.000Z | 2022-03-18T19:04:49.000Z | rokko/eigenexa.hpp | t-sakashita/rokko | ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9 | [
"BSL-1.0"
] | 514 | 2015-02-05T14:56:54.000Z | 2021-06-25T09:29:52.000Z | rokko/eigenexa.hpp | t-sakashita/rokko | ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9 | [
"BSL-1.0"
] | 2 | 2015-06-16T04:22:23.000Z | 2019-06-01T07:10:01.000Z | /*****************************************************************************
*
* Rokko: Integrated Interface for libraries of eigenvalue decomposition
*
* Copyright (C) 2017 by Rokko Developers https://github.com/t-sakashita/rokko
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file... | 38.876923 | 98 | 0.65097 | [
"vector"
] |
0862aac7997b273e4611cf9fabd4cc50c9ab1f5e | 3,022 | cpp | C++ | SimpleTests/MeshTests/MPI/NodePartitionedMeshTester.cpp | norihiro-w/ogs | ac990b1aa06a583dba3e32efa3009ef0c6f46ae4 | [
"BSD-4-Clause"
] | null | null | null | SimpleTests/MeshTests/MPI/NodePartitionedMeshTester.cpp | norihiro-w/ogs | ac990b1aa06a583dba3e32efa3009ef0c6f46ae4 | [
"BSD-4-Clause"
] | 25 | 2015-02-04T20:34:21.000Z | 2018-12-10T20:19:57.000Z | SimpleTests/MeshTests/MPI/NodePartitionedMeshTester.cpp | norihiro-w/ogs | ac990b1aa06a583dba3e32efa3009ef0c6f46ae4 | [
"BSD-4-Clause"
] | null | null | null | /*!
\file NodePartitionedMeshTester.cpp
\author Wenqing Wang
\date 2014.11
\brief Test class readNodePartitionedMesh to read node-wise partitioned mesh with MPI functions.
\copyright
Copyright (c) 2012-2016, OpenGeoSys Community (http://www.opengeosys.org)
Distributed under a Modified BSD L... | 25.82906 | 99 | 0.635672 | [
"mesh"
] |
08653b481906907ff1c785737b720f4a11656ab3 | 588 | cpp | C++ | Codes/success/Untitled Folder 2/album.cpp | hamedsteiner/Gerdabify_web | 78af9a38668b4026692fa6f44d459b253b305107 | [
"MIT"
] | null | null | null | Codes/success/Untitled Folder 2/album.cpp | hamedsteiner/Gerdabify_web | 78af9a38668b4026692fa6f44d459b253b305107 | [
"MIT"
] | null | null | null | Codes/success/Untitled Folder 2/album.cpp | hamedsteiner/Gerdabify_web | 78af9a38668b4026692fa6f44d459b253b305107 | [
"MIT"
] | null | null | null |
#include <cstdlib>
#include <vector>
#include <cmath>
#include <string>
#include <vector>
#include <cmath>
#include <sstream>
#include <iostream>
#include <algorithm>
#include "album.h"
#include "Artist.h"
using namespace std;
/*
Album::Album(Artist* creator,string _name)
{
author=creator;
name=_name;
}*/
void... | 12.510638 | 42 | 0.695578 | [
"vector"
] |
0867ce9ca4d48d26d695315e96a3275a3e0371e2 | 21,303 | cpp | C++ | src/pp.cpp | sunilnandihalli/pprestart | fc3cdea9d52ad16a0499301b5edb8b4e3f1213f7 | [
"MIT"
] | null | null | null | src/pp.cpp | sunilnandihalli/pprestart | fc3cdea9d52ad16a0499301b5edb8b4e3f1213f7 | [
"MIT"
] | null | null | null | src/pp.cpp | sunilnandihalli/pprestart | fc3cdea9d52ad16a0499301b5edb8b4e3f1213f7 | [
"MIT"
] | null | null | null | #include <cmath>
#include <functional>
#include <utility>
#include <vector>
#include <deque>
#include <map>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <chrono>
#include "spline.h"
#include "constants.h"
#include "jmt.h"
#include <string>
std::pair<double, double> toRefFrame(double x, double y, ... | 36.353242 | 173 | 0.53861 | [
"vector",
"transform"
] |
086e7c0fbd5c50db0404af4b7618985c5d652be8 | 2,222 | cpp | C++ | test/cppsim/test_noisesimulator.cpp | kamakiri01/qulacs | 1e3e6ac26390abdfe5abe7f4d52349bcfd68e20c | [
"MIT"
] | 260 | 2018-10-13T15:58:26.000Z | 2022-03-17T11:03:58.000Z | test/cppsim/test_noisesimulator.cpp | kamakiri01/qulacs | 1e3e6ac26390abdfe5abe7f4d52349bcfd68e20c | [
"MIT"
] | 182 | 2018-10-14T02:29:27.000Z | 2022-03-06T20:23:18.000Z | test/cppsim/test_noisesimulator.cpp | kamakiri01/qulacs | 1e3e6ac26390abdfe5abe7f4d52349bcfd68e20c | [
"MIT"
] | 88 | 2018-10-10T03:46:29.000Z | 2022-02-27T21:56:05.000Z | #include <gtest/gtest.h>
#include "../util/util.h"
#include <cppsim/state.hpp>
#include <cppsim/gate_factory.hpp>
#include <cppsim/gate_merge.hpp>
#include <cppsim/circuit.hpp>
#include <cppsim/noisesimulator.hpp>
TEST(NoiseSimulatorTest, Random_with_State_Test) {
int n = 10,depth = 10;
QuantumState state(n);... | 30.861111 | 63 | 0.542754 | [
"vector"
] |
087878952fa18be008ea11a41c916c5326cc8768 | 12,906 | cc | C++ | dylocxx/src/hwinfo.cc | fuchsto/dyloc | 87a5a203406d09b0fb446a4bb3237ce34100651a | [
"BSD-3-Clause"
] | 4 | 2017-05-16T11:50:05.000Z | 2020-08-12T16:47:28.000Z | dylocxx/src/hwinfo.cc | jakubo87/dyloc | a10c7da2c0e49597aad62ddda95b6ca8840d4ea9 | [
"BSD-3-Clause"
] | null | null | null | dylocxx/src/hwinfo.cc | jakubo87/dyloc | a10c7da2c0e49597aad62ddda95b6ca8840d4ea9 | [
"BSD-3-Clause"
] | 3 | 2017-04-27T02:01:44.000Z | 2018-11-27T11:21:57.000Z |
#include <dyloc/common/config.h>
#ifdef DYLOC__PLATFORM__LINUX
/* _GNU_SOURCE required for sched_getcpu() */
# ifndef _GNU_SOURCE
# define _GNU_SOURCE
# endif
# include <sched.h>
#endif
#include <dylocxx/hwinfo.h>
#include <dylocxx/exception.h>
#include <dyloc/common/types.h>
#include <dyloc/common/internal/h... | 31.024038 | 78 | 0.605842 | [
"object",
"model"
] |
087c20341401431b5a8ce5145d139fec5ae774eb | 115,946 | cpp | C++ | Source/HeliumRain/UI/Menus/FlareHelpMenu.cpp | SirWanabe/HeliumRain | 7614c09f068dcaa065a642083c7dc78e8f3b1c97 | [
"BSD-3-Clause"
] | 6 | 2020-03-29T00:55:50.000Z | 2021-07-05T06:49:10.000Z | Source/HeliumRain/UI/Menus/FlareHelpMenu.cpp | SirWanabe/HeliumRain | 7614c09f068dcaa065a642083c7dc78e8f3b1c97 | [
"BSD-3-Clause"
] | null | null | null | Source/HeliumRain/UI/Menus/FlareHelpMenu.cpp | SirWanabe/HeliumRain | 7614c09f068dcaa065a642083c7dc78e8f3b1c97 | [
"BSD-3-Clause"
] | null | null | null |
#include "FlareHelpMenu.h"
#include "../../Flare.h"
#include "../Components/FlareButton.h"
#include "../Components/FlareTabView.h"
#include "../../Player/FlareMenuPawn.h"
#include "../../Player/FlareMenuManager.h"
#include "../../Game/FlareGame.h"
//#include "../../Player/FlarePlayerController.h"
#include "../Compo... | 41.101028 | 959 | 0.671382 | [
"mesh",
"render",
"object",
"model"
] |
08809bdb856c23b2c9bcc5315ca4affcbd26ff18 | 1,774 | cc | C++ | lib/sk/rt/unix/macosx/ProcessInfo.cc | stemkit-collection/stemkit-cpp | dfa77d831f49916ba6d134f407a4dcd0983328f6 | [
"MIT"
] | 4 | 2019-02-19T16:48:41.000Z | 2022-01-31T07:57:54.000Z | lib/sk/rt/unix/macosx/ProcessInfo.cc | stemkit-collection/stemkit-cpp | dfa77d831f49916ba6d134f407a4dcd0983328f6 | [
"MIT"
] | 1 | 2019-01-30T04:48:35.000Z | 2019-01-30T04:48:35.000Z | lib/sk/rt/unix/macosx/ProcessInfo.cc | stemkit-collection/stemkit-cpp | dfa77d831f49916ba6d134f407a4dcd0983328f6 | [
"MIT"
] | null | null | null | /* vim: set sw=2:
* Copyright (c) 2009, Gennady Bystritsky <bystr@mac.com>
*
* Distributed under the MIT Licence.
* This is free software. See 'LICENSE' for details.
* You must read and accept the license prior to use.
*
* Author: Gennady Bystritsky (gennady.bystritsky@quest.com)
*/
#include <sk/util/Hold... | 21.119048 | 76 | 0.701804 | [
"object"
] |
088634af11837552eedfc61e8722eba17aeb0308 | 27,243 | cc | C++ | src/ray/common/test/ray_syncer_test.cc | andenrx/ray | 0ad4113e22aa4ec40f87d4a16e474a452f9c8af7 | [
"Apache-2.0"
] | null | null | null | src/ray/common/test/ray_syncer_test.cc | andenrx/ray | 0ad4113e22aa4ec40f87d4a16e474a452f9c8af7 | [
"Apache-2.0"
] | null | null | null | src/ray/common/test/ray_syncer_test.cc | andenrx/ray | 0ad4113e22aa4ec40f87d4a16e474a452f9c8af7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 35.01671 | 90 | 0.6304 | [
"vector"
] |
0889d697672ff4dd4caca172bc9aaee786862ab3 | 1,131 | cpp | C++ | lib/src/info.cpp | ih8celery/liboptparse | 60d323718eae934be2da42a5dbf6a64cb2353966 | [
"MIT"
] | 3 | 2018-06-20T14:57:19.000Z | 2018-09-27T11:41:01.000Z | lib/src/info.cpp | ih8celery/libcmdparse | 60d323718eae934be2da42a5dbf6a64cb2353966 | [
"MIT"
] | null | null | null | lib/src/info.cpp | ih8celery/libcmdparse | 60d323718eae934be2da42a5dbf6a64cb2353966 | [
"MIT"
] | null | null | null | /**
* \file info.cpp
*
* \author Adam Marshall (ih8celery)
*
* \brief parse command line arguments/options
*/
#include "info.h"
namespace cli {
std::optional<std::string> Info::find(const std::string& name) const {
opt_data_t::const_iterator iter = this->data.find(name);
if (iter == this->data.cend())... | 23.5625 | 89 | 0.635721 | [
"vector"
] |
088a70da93268c3d52ecefcb5c654a17a5abe2d1 | 4,551 | cc | C++ | cartographer/cartographer/mapping/internal/constraints/constraint_builder_2d_test.cc | adayimaxiga/cartographer_migrate_to_ros2 | db5a76357a2c9412bde32bd4382757565ce5665c | [
"Apache-2.0"
] | 35 | 2018-08-02T02:38:20.000Z | 2022-03-21T07:48:06.000Z | cartographer/cartographer/mapping/internal/constraints/constraint_builder_2d_test.cc | whydaydayup/cartographer_migrate_to_ros2 | db5a76357a2c9412bde32bd4382757565ce5665c | [
"Apache-2.0"
] | null | null | null | cartographer/cartographer/mapping/internal/constraints/constraint_builder_2d_test.cc | whydaydayup/cartographer_migrate_to_ros2 | db5a76357a2c9412bde32bd4382757565ce5665c | [
"Apache-2.0"
] | 37 | 2018-07-26T00:07:40.000Z | 2021-12-31T07:57:50.000Z | /*
* Copyright 2018 The Cartographer Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 38.567797 | 79 | 0.702263 | [
"transform"
] |
08943c0ba61e62edbc963db60f7a9b61d9055f28 | 3,706 | hpp | C++ | include/pldm_fw.hpp | santoshpuranik/ibm-panel | ebd0bfdb8a32494d400e9e0182e35f18a8c83914 | [
"Apache-2.0"
] | null | null | null | include/pldm_fw.hpp | santoshpuranik/ibm-panel | ebd0bfdb8a32494d400e9e0182e35f18a8c83914 | [
"Apache-2.0"
] | null | null | null | include/pldm_fw.hpp | santoshpuranik/ibm-panel | ebd0bfdb8a32494d400e9e0182e35f18a8c83914 | [
"Apache-2.0"
] | null | null | null | #include "types.hpp"
#include <stdint.h>
#include <vector>
namespace panel
{
using PdrList = std::vector<types::PldmPacket>;
/**
* @brief A class to implement Pldm related functionalities.
*/
class PldmFramework
{
public:
/* Deleted methods */
PldmFramework(const PldmFramework&) = delete;
PldmFramew... | 33.690909 | 80 | 0.650027 | [
"vector"
] |
089a738c1a2e6d74425567df663a669c952e9c3d | 3,526 | cc | C++ | src/envoy/http/alpn/alpn_filter.cc | lijinchao/proxy | 422ba7d52af4e9e12ae75497f0d7483a565908b1 | [
"Apache-2.0"
] | 2 | 2020-06-02T03:20:51.000Z | 2020-08-31T17:10:24.000Z | src/envoy/http/alpn/alpn_filter.cc | lijinchao/proxy | 422ba7d52af4e9e12ae75497f0d7483a565908b1 | [
"Apache-2.0"
] | null | null | null | src/envoy/http/alpn/alpn_filter.cc | lijinchao/proxy | 422ba7d52af4e9e12ae75497f0d7483a565908b1 | [
"Apache-2.0"
] | 1 | 2021-02-18T02:46:09.000Z | 2021-02-18T02:46:09.000Z | /* Copyright 2019 Istio Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 37.115789 | 77 | 0.703063 | [
"vector"
] |
08ac8915e73553204fc9c04a75b6f4e2e67d07a0 | 2,794 | hpp | C++ | src/lib/server/FrontPanelControllerBasis.hpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | 1 | 2021-05-21T21:10:09.000Z | 2021-05-21T21:10:09.000Z | src/lib/server/FrontPanelControllerBasis.hpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | 12 | 2021-06-12T16:42:30.000Z | 2022-02-01T18:44:42.000Z | src/lib/server/FrontPanelControllerBasis.hpp | 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
*
... | 28.222222 | 168 | 0.74481 | [
"object",
"model"
] |
08b1c2fbe32120d7682a004c43280f154841666d | 10,514 | cpp | C++ | airplay2/lib/fdk-aac/libAACenc/src/transform.cpp | ikas-mc/airplay2-win | 8fcf66768a436ea152008848c71cd311bdcc1233 | [
"MIT"
] | 192 | 2020-03-03T02:31:29.000Z | 2022-03-13T01:37:37.000Z | airplay2/lib/fdk-aac/libAACenc/src/transform.cpp | QQ1112880/airplay2-win | a2fd01ea40ceb9274a8ca3eb784f96e64e9c3559 | [
"MIT"
] | 15 | 2020-03-03T03:24:25.000Z | 2022-02-21T03:28:14.000Z | airplay2/lib/fdk-aac/libAACenc/src/transform.cpp | QQ1112880/airplay2-win | a2fd01ea40ceb9274a8ca3eb784f96e64e9c3559 | [
"MIT"
] | 72 | 2020-03-03T05:01:30.000Z | 2022-03-31T13:34:01.000Z | /* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
The Fraunhofer FDK AAC Codec Lib... | 35.640678 | 80 | 0.640004 | [
"transform"
] |
08b1ed4baf3792737be903ed34f014e2dbf1f69a | 6,747 | cxx | C++ | private/inet/xml/xml/om/xqlnodelist.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/inet/xml/xml/om/xqlnodelist.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/inet/xml/xml/om/xqlnodelist.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | /*
* @(#)XQLNodeList.cxx 1.0 7/6/98
*
* Copyright (C) 1998,1999 Microsoft Corporation. All rights reserved. *
*/
#include "core.hxx"
#pragma hdrstop
#ifndef _XML_OM_IXMLDOMNODE
#include "domnode.hxx"
#endif
#ifndef _XML_OM_XQLNODELIST
#include "xqlnodelist.hxx"
#endif
#ifndef _XQL_PARSER_XQL... | 21.905844 | 115 | 0.528679 | [
"object",
"vector"
] |
08b40c6c690436222c6f0dfd7a8e86ea381fc3cb | 1,321 | cpp | C++ | Aiko/src/engine/utils.cpp | jotask/aiko_engine | 41ea03002fa094e728d95aa91aff267bc400b313 | [
"MIT"
] | null | null | null | Aiko/src/engine/utils.cpp | jotask/aiko_engine | 41ea03002fa094e728d95aa91aff267bc400b313 | [
"MIT"
] | null | null | null | Aiko/src/engine/utils.cpp | jotask/aiko_engine | 41ea03002fa094e728d95aa91aff267bc400b313 | [
"MIT"
] | null | null | null | #include "utils.h"
float Utils::random1D()
{
return Utils::random1D(0.0f, 1.0f);
}
float Utils::random1D(float min, float max)
{
std::random_device rd; //Will be used to obtain a seed for the random number engine
std::mt19937 gen(rd()); //Standard mersenne_twister_engine seeded with rd()
std::unifor... | 21.655738 | 88 | 0.629069 | [
"shape"
] |
08b7df2bf0e96304691485d5eb663e347e380058 | 10,501 | cpp | C++ | src/bindings/python/PyProcessor.cpp | KevinJW/OpenColorIO | 412aa7ba273616867e607de646e4975791198812 | [
"BSD-3-Clause"
] | 1 | 2021-06-09T22:50:23.000Z | 2021-06-09T22:50:23.000Z | src/bindings/python/PyProcessor.cpp | KevinJW/OpenColorIO | 412aa7ba273616867e607de646e4975791198812 | [
"BSD-3-Clause"
] | null | null | null | src/bindings/python/PyProcessor.cpp | KevinJW/OpenColorIO | 412aa7ba273616867e607de646e4975791198812 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2003-2010 Sony Pictures Imageworks Inc., et al.
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 co... | 43.213992 | 118 | 0.505476 | [
"vector"
] |
08c09b88013d696df25049357665ee67ce1e316f | 2,926 | hpp | C++ | src/armnn/LoadedNetwork.hpp | tom-gall/armnn | a21620d32a8a0a8d527c061e2a22d51009d75877 | [
"MIT"
] | null | null | null | src/armnn/LoadedNetwork.hpp | tom-gall/armnn | a21620d32a8a0a8d527c061e2a22d51009d75877 | [
"MIT"
] | null | null | null | src/armnn/LoadedNetwork.hpp | tom-gall/armnn | a21620d32a8a0a8d527c061e2a22d51009d75877 | [
"MIT"
] | null | null | null | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <armnn/Tensor.hpp>
#include <armnn/Types.hpp>
#include "Network.hpp"
#include "LayerFwd.hpp"
#include "Profiling.hpp"
#include <backendsCommon/IBackendInternal.hpp>
#include <backendsCommon/TensorHandleFact... | 30.8 | 110 | 0.741969 | [
"vector"
] |
08c12916f47e27935b7d6da3445884efe09a4ccd | 4,906 | cpp | C++ | third_party/gfootball_engine/src/base/properties.cpp | mahi97/football | 18d51cb110034ce7080b2ccce14a2539d2a04af3 | [
"Apache-2.0"
] | 3 | 2019-06-20T05:47:02.000Z | 2019-08-25T05:04:11.000Z | third_party/gfootball_engine/src/base/properties.cpp | AzharMithani/football | 0f09bcb8b3d48ac31987e13739e21a58ef0ca405 | [
"Apache-2.0"
] | 1 | 2019-06-09T10:06:36.000Z | 2019-06-09T10:06:36.000Z | third_party/gfootball_engine/src/base/properties.cpp | nczempin/gfootball | 617e9cb6d48b4ac7187b9b3de68bd4ab44ea528e | [
"Apache-2.0"
] | 1 | 2019-06-09T12:42:28.000Z | 2019-06-09T12:42:28.000Z | // Copyright 2019 Google LLC & Bastiaan Konings
// 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 o... | 30.09816 | 132 | 0.655524 | [
"vector"
] |
c09ff6eb16062ce7dba2cc7c02baa0b12fa93a52 | 687 | cpp | C++ | Dataset/Leetcode/train/62/203.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/62/203.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/62/203.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
int XXX(int m, int n)
{
vector<vector<int>> ans(m,vector<int>(n));
for(int i=0;i<m;i++)
{
for(int j=0;j<n;j++)
{
if(i==0&&j==0)
{
ans[i][j]=1;
}
else if(... | 20.818182 | 50 | 0.244541 | [
"vector"
] |
c0a1f676250879727c7111c9a71c6d7ff99813ab | 12,150 | cpp | C++ | src/label.cpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | src/label.cpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | src/label.cpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | /*
Copyright (C) 2003-2014 by David White <davewx7@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
incl... | 26.821192 | 128 | 0.67358 | [
"vector"
] |
c0a2a6a4a2805fc65066480e44a1e35814e8a08e | 513 | cc | C++ | ash/assistant/model/ui/assistant_timers_element.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/assistant/model/ui/assistant_timers_element.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/assistant/model/ui/assistant_timers_element.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "ash/assistant/model/ui/assistant_timers_element.h"
namespace ash {
AssistantTimersElement::AssistantTimersElement(
const std::vector<std::... | 30.176471 | 73 | 0.766082 | [
"vector",
"model"
] |
c0a2a7036bc7693c6ba51be39895bf6c04af5f0e | 485 | hh | C++ | elec/GridRouter.hh | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 33 | 2018-12-12T20:05:06.000Z | 2021-09-26T13:30:16.000Z | elec/GridRouter.hh | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 5 | 2019-04-25T11:34:43.000Z | 2021-11-14T04:35:37.000Z | elec/GridRouter.hh | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 15 | 2018-12-21T22:44:59.000Z | 2021-08-29T10:30:25.000Z | #ifndef GRIDROUTER_H
#define GRIDROUTER_H
#include <mpi.h>
#include <vector>
#include "Long64.hh"
class CommTable;
class GridRouter
{
private:
int selfTest();
MPI_Comm comm_;
std::vector<int> sendRank_;
std::vector<int> sendOffset_;
std::vector<int> sendMap_;
public:
GridRouter(std::v... | 16.724138 | 79 | 0.682474 | [
"vector"
] |
c0a8fdc2abc92e757c0d515290bdd6e4b88ef5df | 2,955 | cc | C++ | pop_shots/src/source/level.cc | onqtam/old-stuff | 6ee0fbb36463525977caad8b66192292a73ac4d1 | [
"MIT"
] | 4 | 2016-10-12T15:53:58.000Z | 2020-12-22T16:28:23.000Z | pop_shots/src/source/level.cc | onqtam/fun-stuff | 6ee0fbb36463525977caad8b66192292a73ac4d1 | [
"MIT"
] | 1 | 2016-01-26T13:14:40.000Z | 2016-01-26T13:14:40.000Z | pop_shots/src/source/level.cc | onqtam/fun-stuff | 6ee0fbb36463525977caad8b66192292a73ac4d1 | [
"MIT"
] | 2 | 2019-02-08T12:59:54.000Z | 2019-10-11T10:40:24.000Z | /******************************************************************************
* *
* POP SHOTS. *
* ... | 25.695652 | 104 | 0.462267 | [
"vector"
] |
c0c1cf6a7011bd31eb4b5f4abd9fc87da5d944c5 | 3,434 | cpp | C++ | src/library/ComputeModuleDefinition.cpp | charlesrwest/Caffe2ComputeModules | 7d9d67159bf84b7611211945d0d7e26f5c3614ab | [
"BSD-2-Clause"
] | 6 | 2017-08-01T07:35:07.000Z | 2018-01-02T13:25:03.000Z | src/library/ComputeModuleDefinition.cpp | charlesrwest/Caffe2ComputeModules | 7d9d67159bf84b7611211945d0d7e26f5c3614ab | [
"BSD-2-Clause"
] | 2 | 2017-10-04T02:13:50.000Z | 2017-10-04T03:11:58.000Z | src/library/ComputeModuleDefinition.cpp | charlesrwest/Caffe2ComputeModules | 7d9d67159bf84b7611211945d0d7e26f5c3614ab | [
"BSD-2-Clause"
] | null | null | null | #include "ComputeModuleDefinition.hpp"
#include "UtilityFunctions.hpp"
#include<algorithm>
#include<iostream>
using namespace GoodBot;
void ComputeModuleDefinition::SetName(const std::string& inputName)
{
name = inputName;
}
std::string ComputeModuleDefinition::Name() const
{
return name;
}
bool ComputeModuleDefini... | 25.065693 | 130 | 0.778975 | [
"vector"
] |
c0c2fe6aba9932c1b13ce87770f44125be1fa84c | 3,638 | cpp | C++ | Codeforces/ICPC Team Prep/2015 Damascus/I.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | 2 | 2018-12-11T14:37:24.000Z | 2022-01-23T18:11:54.000Z | Codeforces/ICPC Team Prep/2015 Damascus/I.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | Codeforces/ICPC Team Prep/2015 Damascus/I.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | /*
Rathin Bhargava
IIIT Bangalore
*/
#include<bits/stdc++.h>
#define mt make_tuple
#define mp make_pair
#define pu push_back
#define INF 4e9+1
#define MOD 1000000007
#define ll long long int
#define ld long double
#define fi first
#define se second
#define all(v) v.begin(),v.end()
#define pr(v) { for(int i=0;i<v.size(... | 24.416107 | 226 | 0.45602 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.