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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
92846baa5a0b3e529bdcbf01caf8c96f0eebc2f8 | 3,012 | cpp | C++ | android-ndk-r10b/tests/device/test-stlport/unit/config_test.cpp | perezite/Boost4Android | 9ed03a45815aead156c129da1927cc04b8caa6a3 | [
"BSL-1.0"
] | 4 | 2017-12-04T08:22:48.000Z | 2019-10-26T21:44:59.000Z | master/core/third/stlport/test/unit/config_test.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | null | null | null | master/core/third/stlport/test/unit/config_test.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:49.000Z | 2018-12-27T03:20:31.000Z | #include <new>
#include <vector>
#include "cppunit/cppunit_proxy.h"
#if defined (_STLP_USE_NAMESPACES)
using namespace std;
#endif
//
// TestCase class
//
class ConfigTest : public CPPUNIT_NS::TestCase
{
CPPUNIT_TEST_SUITE(ConfigTest);
#if !defined (STLPORT)
CPPUNIT_IGNORE;
#endif
CPPUNIT_TEST(placement_new_bu... | 24.688525 | 96 | 0.706175 | [
"vector"
] |
928db55740b47fa6e7ba070ef0e240087b6a1e3a | 2,818 | hpp | C++ | NumberTheory/CRC.hpp | reidrac/CLK | a38974ef2e706d87f8ce7320b91c76c13dcede09 | [
"MIT"
] | 1 | 2019-07-05T18:09:34.000Z | 2019-07-05T18:09:34.000Z | NumberTheory/CRC.hpp | reidrac/CLK | a38974ef2e706d87f8ce7320b91c76c13dcede09 | [
"MIT"
] | null | null | null | NumberTheory/CRC.hpp | reidrac/CLK | a38974ef2e706d87f8ce7320b91c76c13dcede09 | [
"MIT"
] | null | null | null | //
// CRC.hpp
// Clock Signal
//
// Created by Thomas Harte on 18/09/2016.
// Copyright 2016 Thomas Harte. All rights reserved.
//
#ifndef CRC_hpp
#define CRC_hpp
#include <cstdint>
#include <vector>
namespace CRC {
/*! Provides a class capable of generating a CRC from source data. */
template <typename T, T re... | 25.387387 | 109 | 0.631654 | [
"vector"
] |
929123871ea29c526bc2620c2a9aa1a52716aa3c | 162,793 | cc | C++ | gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2014 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.
// This file is auto-generated from
// gpu/command_buffer/build_gles2_cmd_buffer.py
// It's formatted by clang-format using chromium coding style:
// c... | 35.305357 | 80 | 0.721026 | [
"vector",
"transform"
] |
92950e3ad8701f9eff54afe39db32dec9537b922 | 10,344 | cc | C++ | be/src/statestore/simple-scheduler.cc | wangxnhit/impala | d7a37f00a515d6942ca28bd8cd84380bc8c93c5a | [
"Apache-2.0"
] | 1 | 2016-06-08T06:22:28.000Z | 2016-06-08T06:22:28.000Z | be/src/statestore/simple-scheduler.cc | boorad/impala | 108c5d8d39c45d49edfca98cd2d858352cd44d51 | [
"Apache-2.0"
] | null | null | null | be/src/statestore/simple-scheduler.cc | boorad/impala | 108c5d8d39c45d49edfca98cd2d858352cd44d51 | [
"Apache-2.0"
] | null | null | null | // Copyright 2012 Cloudera Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | 35.424658 | 90 | 0.691705 | [
"vector"
] |
92a19b2e699a3531c5bec8bee7b1431fdecf23d7 | 12,909 | cpp | C++ | NextEngineEditor/src/assets/inspect.cpp | CompilerLuke/NextEngine | aa1a8e9d9370bce004dba00854701597cab74989 | [
"MIT"
] | 1 | 2021-09-10T18:19:16.000Z | 2021-09-10T18:19:16.000Z | NextEngineEditor/src/assets/inspect.cpp | CompilerLuke/NextEngine | aa1a8e9d9370bce004dba00854701597cab74989 | [
"MIT"
] | null | null | null | NextEngineEditor/src/assets/inspect.cpp | CompilerLuke/NextEngine | aa1a8e9d9370bce004dba00854701597cab74989 | [
"MIT"
] | 2 | 2020-04-02T06:46:56.000Z | 2021-06-17T16:47:57.000Z | #include "graphics/assets/assets.h"
#include "graphics/assets/shader.h"
#include "graphics/rhi/pipeline.h"
#include <imgui/imgui.h>
#include "assets/node.h"
#include "assets/explorer.h"
#include "assets/inspect.h"
#include "custom_inspect.h"
#include "diffUtil.h"
#include "shaderGraph.h"
#include "../src/generated.h"
... | 31.408759 | 172 | 0.679371 | [
"model",
"transform"
] |
92a5f638ba72068c05a1df816bec31822c08a141 | 1,025 | cpp | C++ | Osiris/SDK/Utils.cpp | GetRektLOL/OsirisAndExtra | 022e68a7d4fbc40f535ea165fa85232c31bc6a10 | [
"MIT"
] | 2 | 2021-12-25T16:53:12.000Z | 2022-03-05T17:15:54.000Z | Osiris/SDK/Utils.cpp | Metaphysical1/OsirisAndExtra | 007491a5515712f6f76745e4cf4a82cf60473fcb | [
"MIT"
] | null | null | null | Osiris/SDK/Utils.cpp | Metaphysical1/OsirisAndExtra | 007491a5515712f6f76745e4cf4a82cf60473fcb | [
"MIT"
] | 1 | 2021-12-27T09:40:11.000Z | 2021-12-27T09:40:11.000Z | #include <cmath>
#include "../Memory.h"
#include "GlobalVars.h"
#include "Entity.h"
#include "matrix3x4.h"
#include "ModelInfo.h"
#include "Utils.h"
#include "Vector.h"
std::tuple<float, float, float> rainbowColor(float speed) noexcept
{
constexpr float pi = std::numbers::pi_v<float>;
return std::make_tuple(s... | 41 | 137 | 0.66439 | [
"vector"
] |
92a775e090d2e87401947b9a456d4f5a9b87e94a | 7,139 | cc | C++ | dcmtk-master2/dcmsign/libsrc/sicertvf.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | dcmtk-master2/dcmsign/libsrc/sicertvf.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | dcmtk-master2/dcmsign/libsrc/sicertvf.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | /*
*
* Copyright (C) 1998-2020, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmsign
*
* Author: Marco Eich... | 27.563707 | 99 | 0.70402 | [
"object"
] |
92a8125769358694ebd3788025a7b8d45b2b394b | 3,564 | cc | C++ | chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 2 | 2017-09-02T19:08:28.000Z | 2021-11-15T15:15:14.000Z | chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 1 | 2020-04-13T05:45:10.000Z | 2020-04-13T05:45:10.000Z | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/toolbar/wrench_menu_model.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/test/browser_with_test_window_te... | 33.622642 | 79 | 0.727834 | [
"model"
] |
92abf84437ade8dcf8d0de3e1a0bcae1a1cd84e3 | 2,237 | cpp | C++ | plugins/OSPRay_plugin/src/OSPRayQuadLight.cpp | bkmgit/megamol | 1b70b47fa35691625f1aab2e0fe03d000077811c | [
"BSD-3-Clause"
] | null | null | null | plugins/OSPRay_plugin/src/OSPRayQuadLight.cpp | bkmgit/megamol | 1b70b47fa35691625f1aab2e0fe03d000077811c | [
"BSD-3-Clause"
] | null | null | null | plugins/OSPRay_plugin/src/OSPRayQuadLight.cpp | bkmgit/megamol | 1b70b47fa35691625f1aab2e0fe03d000077811c | [
"BSD-3-Clause"
] | null | null | null | /*
* OSPRayQuadLight.cpp
* Copyright (C) 2009-2017 by MegaMol Team
* Alle Rechte vorbehalten.
*/
#include "stdafx.h"
#include "OSPRayQuadLight.h"
#include "mmcore/param/FloatParam.h"
#include "mmcore/param/BoolParam.h"
#include "mmcore/param/Vector3fParam.h"
using namespace megamol::ospray;
OSPRayQuadLight::OSPRayQ... | 34.415385 | 106 | 0.682164 | [
"vector"
] |
92acf525dfbf56eb221c965df7fa34ba20a90af8 | 3,597 | cc | C++ | src/mesh/mesh_moab/test/test_hex_3x3x3_4P.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | 1 | 2021-02-23T18:34:47.000Z | 2021-02-23T18:34:47.000Z | src/mesh/mesh_moab/test/test_hex_3x3x3_4P.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | null | null | null | src/mesh/mesh_moab/test/test_hex_3x3x3_4P.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | null | null | null | #include <iostream>
#include "Epetra_Map.h"
#include "mpi.h"
#include "UnitTest++.h"
#include "AmanziComm.hh"
#include "../Mesh_MOAB.hh"
TEST(MOAB_HEX_3x3x3_4P)
{
using namespace Amanzi;
int j, nc, nf, nv;
int NVowned[4] = {16,16,16,16};
int NFowned[4] = {16,26,26,40};
int NCowned[4] = {3,6,6,12};
int... | 29.483607 | 79 | 0.627189 | [
"mesh",
"vector"
] |
92afff1ccbcccfb3679986acc692af70912325fe | 8,367 | cpp | C++ | symbolics/printer/ModelicaPrinter.cpp | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | symbolics/printer/ModelicaPrinter.cpp | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | symbolics/printer/ModelicaPrinter.cpp | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | /*
This file is part of PyMbs.
PyMbs is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
PyMbs is distributed in the hope that it will ... | 43.578125 | 150 | 0.347556 | [
"vector"
] |
92b9bc9760e6640db115d0a2b389037abcfdd690 | 4,285 | cc | C++ | ompi/contrib/vt/vt/tools/vtfilter/vt_filter_gen.cc | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2019-02-25T19:56:36.000Z | 2019-02-25T19:56:36.000Z | ompi/contrib/vt/vt/tools/vtfilter/vt_filter_gen.cc | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | ompi/contrib/vt/vt/tools/vtfilter/vt_filter_gen.cc | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | 3 | 2015-11-29T06:00:56.000Z | 2021-03-29T07:03:29.000Z | /**
* VampirTrace
* http://www.tu-dresden.de/zih/vampirtrace
*
* Copyright (c) 2005-2013, ZIH, TU Dresden, Federal Republic of Germany
*
* Copyright (c) 1998-2005, Forschungszentrum Juelich, Juelich Supercomputing
* Centre, Federal Republic of Germany
*
* See the file COPYING in the pa... | 19.477273 | 79 | 0.576663 | [
"vector"
] |
92bbb3b5acdaead73c1caa6d35274e0587f7037c | 968 | cpp | C++ | src/BabylonCpp/src/meshes/mesh_lod_level.cpp | samdauwe/BabylonCpp | eea9f761a49bb460ff1324c20e4674ef120e94f1 | [
"Apache-2.0"
] | 277 | 2017-05-18T08:27:10.000Z | 2022-03-26T01:31:37.000Z | src/BabylonCpp/src/meshes/mesh_lod_level.cpp | samdauwe/BabylonCpp | eea9f761a49bb460ff1324c20e4674ef120e94f1 | [
"Apache-2.0"
] | 77 | 2017-09-03T15:35:02.000Z | 2022-03-28T18:47:20.000Z | src/BabylonCpp/src/meshes/mesh_lod_level.cpp | samdauwe/BabylonCpp | eea9f761a49bb460ff1324c20e4674ef120e94f1 | [
"Apache-2.0"
] | 37 | 2017-03-30T03:36:24.000Z | 2022-01-28T08:28:36.000Z | #include <babylon/meshes/mesh_lod_level.h>
#include <babylon/babylon_stl_util.h>
#include <babylon/meshes/mesh.h>
namespace BABYLON {
MeshLODLevel::MeshLODLevel(float iDistanceOrScreenCoverage, const MeshPtr& iMesh)
: distanceOrScreenCoverage{iDistanceOrScreenCoverage}, mesh{iMesh}
{
}
MeshLODLevel:... | 27.657143 | 90 | 0.742769 | [
"mesh"
] |
92c12bafdd9a35439e97a3a6c3e8c805820aac7a | 4,925 | cc | C++ | tests/cpp/texture_copy_test.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 4,640 | 2017-08-17T19:22:15.000Z | 2019-11-04T15:29:46.000Z | tests/cpp/texture_copy_test.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 3,022 | 2020-11-24T14:02:31.000Z | 2022-03-31T23:55:31.000Z | tests/cpp/texture_copy_test.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 1,352 | 2017-08-17T19:30:38.000Z | 2019-11-04T16:09:29.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 35.948905 | 100 | 0.641218 | [
"shape",
"vector"
] |
92c6a0d98d5cb597ebb010bd5ee8c9689b2f0549 | 7,377 | cpp | C++ | torrentsqltablemodel.cpp | silverqx/qMedia | 33447c3dba32c430f4afac797ee6438b60809dda | [
"MIT"
] | null | null | null | torrentsqltablemodel.cpp | silverqx/qMedia | 33447c3dba32c430f4afac797ee6438b60809dda | [
"MIT"
] | null | null | null | torrentsqltablemodel.cpp | silverqx/qMedia | 33447c3dba32c430f4afac797ee6438b60809dda | [
"MIT"
] | null | null | null | #include "torrentsqltablemodel.h"
#include <QDateTime>
#include <QDebug>
#include <QHeaderView>
#include <QLocale>
#include <QSqlField>
#include <QSqlRecord>
#include <QTableView>
#include "common.h"
#include "torrentstatus.h"
#include "torrenttransfertableview.h"
#include "utils/misc.h"
TorrentSqlTableModel::Torren... | 29.390438 | 185 | 0.620849 | [
"model"
] |
92c9aae9bbc8a7307528d49ce4e2116edb210365 | 8,249 | cpp | C++ | vod/src/v20180717/model/MediaTrackItem.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | vod/src/v20180717/model/MediaTrackItem.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | vod/src/v20180717/model/MediaTrackItem.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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.25 | 133 | 0.676809 | [
"object",
"model"
] |
92cdd58214caa068e7042ce9086ec118f42d943f | 5,553 | cxx | C++ | panda/src/particlesystem/discEmitter.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | panda/src/particlesystem/discEmitter.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/particlesystem/discEmitter.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: discEmitter.cxx
// Created by: charles (22Jun00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You sho... | 34.277778 | 91 | 0.535026 | [
"3d"
] |
92cee1bb397e9f1751f724deb8a89b09bcf34913 | 1,374 | cc | C++ | src/Eval/RuleProcessing.cc | mnowotnik/fovris | 82f692743fa6c96fef05041e686d716b03c22f07 | [
"BSD-3-Clause"
] | 4 | 2017-01-04T17:22:55.000Z | 2018-12-08T02:10:18.000Z | src/Eval/RuleProcessing.cc | Mike-Now/fovris | 82f692743fa6c96fef05041e686d716b03c22f07 | [
"BSD-3-Clause"
] | null | null | null | src/Eval/RuleProcessing.cc | Mike-Now/fovris | 82f692743fa6c96fef05041e686d716b03c22f07 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T05:26:13.000Z | 2022-03-24T05:26:13.000Z | #include "Eval/RuleProcessing.h"
namespace fovris {
std::vector<KBRuleLiteral>
SortRuleLiterals(std::vector<KBRuleLiteral> evalOrder) {
auto it =
std::find_if(evalOrder.begin(), evalOrder.end(),
[](const KBRuleLiteral &rl) { return rl.isUnsafe(); });
// no unsafe return as is
... | 25.924528 | 76 | 0.521106 | [
"vector"
] |
92d2c83658c1809595ac3df202361e43678cc8a2 | 3,326 | cpp | C++ | LaserBombon/Menu.cpp | Calvin-Ruiz/LaserBombon | 404bea5b95393b3d011902a0d1458bd86efdc5a5 | [
"MIT"
] | null | null | null | LaserBombon/Menu.cpp | Calvin-Ruiz/LaserBombon | 404bea5b95393b3d011902a0d1458bd86efdc5a5 | [
"MIT"
] | null | null | null | LaserBombon/Menu.cpp | Calvin-Ruiz/LaserBombon | 404bea5b95393b3d011902a0d1458bd86efdc5a5 | [
"MIT"
] | null | null | null | #include "Menu.hpp"
#include "Game.hpp"
#include "EntityLib/Core/EntityLib.hpp"
#include "EntityLib/Core/MenuMgr.hpp"
#include "EntityLib/Core/MenuButton.hpp"
#include "EntityLib/Core/MenuImage.hpp"
#include "EntityLib/Core/MenuText.hpp"
Menu::Menu(Game *master, std::shared_ptr<EntityLib> &core, Player &player1, Playe... | 46.194444 | 439 | 0.645219 | [
"vector"
] |
92d2fff0bfde7ec52b13d4c1db9740333c221f00 | 19,927 | cpp | C++ | samples/driver_easimer/hmd_lua.cpp | Easimer/openvr | 11d9d23f0237ce801ff30a911bdffea0713529b3 | [
"BSD-3-Clause"
] | null | null | null | samples/driver_easimer/hmd_lua.cpp | Easimer/openvr | 11d9d23f0237ce801ff30a911bdffea0713529b3 | [
"BSD-3-Clause"
] | null | null | null | samples/driver_easimer/hmd_lua.cpp | Easimer/openvr | 11d9d23f0237ce801ff30a911bdffea0713529b3 | [
"BSD-3-Clause"
] | null | null | null | // === Copyright (c) 2017-2020 easimer.net. All rights reserved. ===
#include "hmd_lua.h"
#include "driverlog.h"
extern "C" {
#include "lauxlib.h"
#include "lua.h"
#include "lualib.h"
}
#include "CSteamController.h"
using namespace vr;
#define TABLE_VRDISP "VRDisplayComponent"
#define TABLE_TRACKDEV "TrackedDevice... | 31.480253 | 128 | 0.621017 | [
"object"
] |
92de9a79155a65b75638daa6597ac268553616db | 4,269 | hpp | C++ | Source/cserialization/csystem/CPropertyBase.hpp | zao/CyberpunkSaveEditor | 5ba3f2301936c2e695cefdb9e778f14d29dc23fc | [
"MIT"
] | null | null | null | Source/cserialization/csystem/CPropertyBase.hpp | zao/CyberpunkSaveEditor | 5ba3f2301936c2e695cefdb9e778f14d29dc23fc | [
"MIT"
] | null | null | null | Source/cserialization/csystem/CPropertyBase.hpp | zao/CyberpunkSaveEditor | 5ba3f2301936c2e695cefdb9e778f14d29dc23fc | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <string>
#include <memory>
#include <list>
#include <vector>
#include <array>
#include <exception>
#include <utils.hpp>
#include <cpinternals/cpnames.hpp>
#include <cserialization/serializers.hpp>
#include <cserialization/csystem/CStringPool.hpp>
#ifndef DISABLE... | 24.255682 | 84 | 0.642071 | [
"object",
"vector"
] |
92e01f1d1ea2fd55c38d718cf8ffc70ab75a9963 | 1,184 | cpp | C++ | src/routingAlgorithms/Routing_DELTA.cpp | vsskarthik/noxim-new | c5fcb547f172390cfa06988f66c3e89a2ba008af | [
"BSD-4-Clause-UC"
] | 127 | 2015-07-08T14:39:34.000Z | 2022-03-25T08:00:38.000Z | src/routingAlgorithms/Routing_DELTA.cpp | pakeunji/noxim | dbe0b8991b28a44df7c47d940bd59a11cfcc4dd2 | [
"BSD-4-Clause-UC"
] | 124 | 2015-08-03T11:32:05.000Z | 2022-03-24T16:03:02.000Z | src/routingAlgorithms/Routing_DELTA.cpp | pakeunji/noxim | dbe0b8991b28a44df7c47d940bd59a11cfcc4dd2 | [
"BSD-4-Clause-UC"
] | 100 | 2015-07-29T15:08:12.000Z | 2022-03-25T08:00:42.000Z | #include "Routing_DELTA.h"
RoutingAlgorithmsRegister Routing_DELTA::routingAlgorithmsRegister("DELTA", getInstance());
Routing_DELTA * Routing_DELTA::routing_DELTA = 0;
Routing_DELTA * Routing_DELTA::getInstance() {
if ( routing_DELTA == 0 )
routing_DELTA = new Routing_DELTA();
return routing_DELTA;
}
vec... | 31.157895 | 141 | 0.714527 | [
"vector"
] |
2bc1087c86156710526e4b485cefbf32862af46d | 11,016 | cpp | C++ | drlvm/vm/vmcore/src/jvmti/jvmti_pop_frame.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 8 | 2015-11-04T06:06:35.000Z | 2021-07-04T13:47:36.000Z | drlvm/vm/vmcore/src/jvmti/jvmti_pop_frame.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 1 | 2021-10-17T13:07:28.000Z | 2021-10-17T13:07:28.000Z | drlvm/vm/vmcore/src/jvmti/jvmti_pop_frame.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 13 | 2015-11-27T03:14:50.000Z | 2022-02-26T15:12:20.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 31.83815 | 98 | 0.689361 | [
"object"
] |
2bc5b9d3eaaf6be52ece05138fb007fddb7447a1 | 13,640 | cpp | C++ | src/rendering/renderers/TextSelectorRenderer.cpp | skylerpfli/libpag | 41adf2754a428569d3513a85908bcc6c1bf3d906 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | 1,546 | 2022-01-14T02:09:47.000Z | 2022-03-31T10:38:42.000Z | src/rendering/renderers/TextSelectorRenderer.cpp | skylerpfli/libpag | 41adf2754a428569d3513a85908bcc6c1bf3d906 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | 86 | 2022-01-14T04:50:28.000Z | 2022-03-31T01:54:31.000Z | src/rendering/renderers/TextSelectorRenderer.cpp | skylerpfli/libpag | 41adf2754a428569d3513a85908bcc6c1bf3d906 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | 207 | 2022-01-14T02:09:52.000Z | 2022-03-31T08:34:49.000Z | /////////////////////////////////////////////////////////////////////////////////////////////////
//
// Tencent is pleased to support the open source community by making libpag available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the Apache License, Versio... | 33.349633 | 100 | 0.576173 | [
"shape",
"vector"
] |
2bc704598b2abc96d40689eed813d9cd43f7d1eb | 2,668 | cc | C++ | talk/base/filelock.cc | chromium-googlesource-mirror/libjingle | 7246b07650052c150a237c99284fc689388f321c | [
"BSD-3-Clause"
] | 2 | 2017-09-05T03:49:39.000Z | 2017-09-09T03:53:10.000Z | talk/base/filelock.cc | chromium-googlesource-mirror/libjingle | 7246b07650052c150a237c99284fc689388f321c | [
"BSD-3-Clause"
] | null | null | null | talk/base/filelock.cc | chromium-googlesource-mirror/libjingle | 7246b07650052c150a237c99284fc689388f321c | [
"BSD-3-Clause"
] | 2 | 2016-08-17T07:21:08.000Z | 2020-03-04T06:21:25.000Z | /*
* libjingle
* Copyright 2009, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 33.35 | 80 | 0.715142 | [
"object"
] |
2bc70b5c652f49eda0b14a053f95fd8e1cc5ed5a | 605 | hpp | C++ | twitterlib/include/twitterlib/objects/sizes.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | twitterlib/include/twitterlib/objects/sizes.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | twitterlib/include/twitterlib/objects/sizes.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | #ifndef TWITTERLIB_OBJECTS_SIZES_HPP
#define TWITTERLIB_OBJECTS_SIZES_HPP
#include <string>
#include <boost/property_tree/ptree_fwd.hpp>
#include <twitterlib/objects/size.hpp>
namespace twitter {
struct Sizes {
Size thumb;
Size large;
Size medium;
Size small;
};
/// Generates a string display of al... | 22.407407 | 71 | 0.733884 | [
"object"
] |
2bcfb842ca6948fc2a595e7fd32d1b873a9fc5ba | 13,348 | cpp | C++ | src/caffe/layers/dyn_conv_layer.cpp | Sandbox3aster/caffe-charles | eb372728992d53f29bc035ea93cb099715a92dda | [
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/dyn_conv_layer.cpp | Sandbox3aster/caffe-charles | eb372728992d53f29bc035ea93cb099715a92dda | [
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/dyn_conv_layer.cpp | Sandbox3aster/caffe-charles | eb372728992d53f29bc035ea93cb099715a92dda | [
"BSD-2-Clause"
] | null | null | null | #include <vector>
#include "caffe/layers/dyn_conv_layer.hpp"
namespace caffe {
template <typename Dtype>
void DynamicConvolutionLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
CHECK_GE(bottom.size(), 2) << "bottom[0] as input, bottom[1] as kernel banks, bottom[2] as ... | 42.919614 | 108 | 0.7046 | [
"shape",
"vector"
] |
2bd0cd454f540fd3de0a478cfd441a745766742d | 34,150 | hpp | C++ | numerics/polynomial_body.hpp | net-lisias-ksp/Principia | 9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a | [
"MIT"
] | 565 | 2015-01-04T21:47:18.000Z | 2022-03-22T12:04:58.000Z | numerics/polynomial_body.hpp | net-lisias-ksp/Principia | 9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a | [
"MIT"
] | 1,019 | 2015-01-03T11:42:27.000Z | 2022-03-29T21:02:15.000Z | numerics/polynomial_body.hpp | pleroy/Principia | 64c4c6c124f4744381b6489e39e6b53e2a440ce9 | [
"MIT"
] | 92 | 2015-02-11T23:08:58.000Z | 2022-03-21T03:35:37.000Z | #pragma once
#include "numerics/polynomial.hpp"
#include <algorithm>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "absl/strings/str_join.h"
#include "absl/strings/str_cat.h"
#include "base/macros.hpp"
#include "base/not_constructible.hpp"
#include "base/traits.hpp"
#include "geom... | 41.393939 | 80 | 0.7 | [
"geometry",
"vector"
] |
2bd5439ad52bf13012db8db09e35393d5dda8acf | 15,200 | cpp | C++ | FEBioSource2.9/FECore/FEDomain2D.cpp | wzaylor/FEBio_MCLS | f1052733c31196544fb0921aa55ffa5167a25f98 | [
"Intel"
] | 1 | 2021-08-24T08:37:21.000Z | 2021-08-24T08:37:21.000Z | FEBioSource2.9/FECore/FEDomain2D.cpp | wzaylor/FEBio_MCLS | f1052733c31196544fb0921aa55ffa5167a25f98 | [
"Intel"
] | null | null | null | FEBioSource2.9/FECore/FEDomain2D.cpp | wzaylor/FEBio_MCLS | f1052733c31196544fb0921aa55ffa5167a25f98 | [
"Intel"
] | 1 | 2021-03-15T08:22:06.000Z | 2021-03-15T08:22:06.000Z | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2019 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining ... | 30.339321 | 106 | 0.521776 | [
"shape",
"vector",
"solid"
] |
2bdddcac4fc4e4a5cae18d43deff53227d83b5a0 | 1,242 | hpp | C++ | dev/Basic/long/database/dao/HHCoordinatesDao.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 50 | 2018-12-21T08:21:38.000Z | 2022-01-24T09:47:59.000Z | dev/Basic/long/database/dao/HHCoordinatesDao.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 2 | 2018-12-19T13:42:47.000Z | 2019-05-13T04:11:45.000Z | dev/Basic/long/database/dao/HHCoordinatesDao.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 27 | 2018-11-28T07:30:34.000Z | 2022-02-05T02:22:26.000Z | /*
* HHCoordinatesDao.hpp
*
* Created on: 11 Mar 2016
* Author: gishara
*/
#pragma once
#include "database/dao/SqlAbstractDao.hpp"
#include "database/entity/HHCoordinates.hpp"
using namespace boost;
namespace sim_mob {
namespace long_term {
/**
* Data Access Object to household coordi... | 28.883721 | 84 | 0.588567 | [
"object"
] |
2bde47001564322c806553345252625ddd494653 | 47,877 | cpp | C++ | Mojo.2.0/Mojo/Mojo.Native/TileManager.cpp | Rhoana/Mojo | b0d79bc4792b06fb508e30b23566ab3a3369879e | [
"MIT"
] | 4 | 2015-01-15T02:19:43.000Z | 2015-04-19T04:08:37.000Z | Mojo.2.0/Mojo/Mojo.Native/TileManager.cpp | Rhoana/Mojo | b0d79bc4792b06fb508e30b23566ab3a3369879e | [
"MIT"
] | null | null | null | Mojo.2.0/Mojo/Mojo.Native/TileManager.cpp | Rhoana/Mojo | b0d79bc4792b06fb508e30b23566ab3a3369879e | [
"MIT"
] | 7 | 2015-01-23T23:31:19.000Z | 2019-06-20T08:45:50.000Z | #include "TileManager.hpp"
#include "Mojo.Core/Stl.hpp"
//#include "Mojo.Core/OpenCV.hpp"
#include "Mojo.Core/ForEach.hpp"
#include "Mojo.Core/D3D11CudaTexture.hpp"
#include "Mojo.Core/Index.hpp"
#include "TileCacheEntry.hpp"
using namespace Mojo::Core;
namespace Mojo
{
namespace Native
{
TileManager::TileManager... | 34.076157 | 179 | 0.670635 | [
"shape",
"vector"
] |
2be00bb7eaaa932166f93edde751eb94a3db7d3a | 1,512 | hpp | C++ | Silent Killer/silentkiller.hpp | AlishaMomin/OOP-Project-Fall-2021 | 94d2d85de81fa40d8f8ea0ae126478ea146146cb | [
"MIT"
] | null | null | null | Silent Killer/silentkiller.hpp | AlishaMomin/OOP-Project-Fall-2021 | 94d2d85de81fa40d8f8ea0ae126478ea146146cb | [
"MIT"
] | null | null | null | Silent Killer/silentkiller.hpp | AlishaMomin/OOP-Project-Fall-2021 | 94d2d85de81fa40d8f8ea0ae126478ea146146cb | [
"MIT"
] | null | null | null | #include <SDL.h>
#include "Zombie.hpp"
#include <iostream>
#include <vector>
#include <list>
#include <string>
#include "spider.hpp"
#include "Skull.hpp"
#include "fart.hpp"
#include "Bat.hpp"
#include "Wolf.hpp"
#include "Brain.hpp"
#include "SeveredHand.hpp"
#include "Axe.hpp"
#include "Heart.hpp"
#inc... | 28.528302 | 117 | 0.615079 | [
"vector"
] |
2be1df52a9c0cfa6efe335ce2330c4bd1f445a9b | 7,695 | hpp | C++ | ThirdParty-mod/java2cpp/java/io/FileOutputStream.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | 1 | 2019-04-03T01:53:28.000Z | 2019-04-03T01:53:28.000Z | ThirdParty-mod/java2cpp/java/io/FileOutputStream.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | ThirdParty-mod/java2cpp/java/io/FileOutputStream.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.io.FileOutputStream
================================================================================*/
#ifndef J2CPP_INCLUDE_IMPLEME... | 30.903614 | 101 | 0.711111 | [
"object"
] |
2be34d7efff88c873e2a9206805979dfe975e4c5 | 20,680 | cpp | C++ | xyz2mesh/xyz2mesh.cpp | tangrams/LIDar-tools | 23d1dfdeb543a730d370df6f02b44daa6c441a14 | [
"MIT"
] | 29 | 2015-01-28T01:29:07.000Z | 2022-02-20T13:22:36.000Z | xyz2mesh/xyz2mesh.cpp | tangrams/LIDar-tools | 23d1dfdeb543a730d370df6f02b44daa6c441a14 | [
"MIT"
] | null | null | null | xyz2mesh/xyz2mesh.cpp | tangrams/LIDar-tools | 23d1dfdeb543a730d370df6f02b44daa6c441a14 | [
"MIT"
] | 6 | 2017-05-24T08:04:38.000Z | 2022-01-10T02:34:53.000Z | // xyz2mesh.cpp
#define CGAL_EIGEN3_ENABLED
#include <CGAL/Timer.h>
#include <CGAL/boost/graph/graph_traits_Polyhedron_3.h>
#include <CGAL/trace.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/Surface_mesh_default_triangulation_3.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include... | 40.869565 | 136 | 0.575048 | [
"mesh",
"vector",
"3d"
] |
2be9ab0c5ef2818b50e6bd8e613a312b92a49b20 | 908 | cpp | C++ | inference-engine/tests_deprecated/functional/shared_tests/transformations/fq_as_output.cpp | shre2398/openvino | f84a6d97ace26b75ae9d852525a997cbaba32e6a | [
"Apache-2.0"
] | 2 | 2021-02-26T15:46:19.000Z | 2021-05-16T20:48:13.000Z | inference-engine/tests_deprecated/functional/shared_tests/transformations/fq_as_output.cpp | shre2398/openvino | f84a6d97ace26b75ae9d852525a997cbaba32e6a | [
"Apache-2.0"
] | 1 | 2020-12-22T05:01:12.000Z | 2020-12-23T09:49:43.000Z | inference-engine/tests_deprecated/functional/shared_tests/transformations/fq_as_output.cpp | shre2398/openvino | f84a6d97ace26b75ae9d852525a997cbaba32e6a | [
"Apache-2.0"
] | 1 | 2020-08-13T08:33:55.000Z | 2020-08-13T08:33:55.000Z | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "low_precision_transformer_single_layer_tests.hpp"
#include "common_test_utils/common_utils.hpp"
std::string FakeQuantizeAsOutputTest::getName() const {
return "FakeQuantizeAsOutputTest";
}
bool FakeQuantizeAsOutputTe... | 32.428571 | 106 | 0.769824 | [
"transform"
] |
2bec608b2d239e3012f083f8e9b06aa7f2a44887 | 14,638 | cpp | C++ | mtTorrent/Core/Torrent.cpp | RazielXT/mtTorrent | 01faaea8e46886668d52e5c38ee3367ecb19f6ab | [
"MIT"
] | 11 | 2016-03-08T11:49:43.000Z | 2020-05-14T03:12:59.000Z | mtTorrent/Core/Torrent.cpp | RazielXT/mtTorrent | 01faaea8e46886668d52e5c38ee3367ecb19f6ab | [
"MIT"
] | 8 | 2020-05-13T13:16:17.000Z | 2021-01-02T19:59:03.000Z | mtTorrent/Core/Torrent.cpp | RazielXT/mtTorrent | 01faaea8e46886668d52e5c38ee3367ecb19f6ab | [
"MIT"
] | 5 | 2019-04-04T02:08:10.000Z | 2022-03-17T09:02:34.000Z | #include "Torrent.h"
#include "utils/TorrentFileParser.h"
#include "MetadataDownload.h"
#include "Peers.h"
#include "Configuration.h"
#include "FileTransfer.h"
#include "State.h"
#include "utils/HexEncoding.h"
#include "utils/Filesystem.h"
#include "AlertsManager.h"
#include <filesystem>
mtt::Torrent::Torrent() : serv... | 22.078431 | 155 | 0.705493 | [
"vector"
] |
2bf0fd382fc47ba2aeafc7bfc97794e914112194 | 200 | hpp | C++ | Demos/ODFAEG-CLIENT/pnj.hpp | Ornito/ODFAEG-1 | f563975ae4bdd2e178d1ed7267e1920425aa2c4d | [
"Zlib"
] | null | null | null | Demos/ODFAEG-CLIENT/pnj.hpp | Ornito/ODFAEG-1 | f563975ae4bdd2e178d1ed7267e1920425aa2c4d | [
"Zlib"
] | null | null | null | Demos/ODFAEG-CLIENT/pnj.hpp | Ornito/ODFAEG-1 | f563975ae4bdd2e178d1ed7267e1920425aa2c4d | [
"Zlib"
] | null | null | null | #ifndef SORROK_PNJ
#define SORROK_PNJ
namespace sorrok {
class Pnj : public Caracter {
public :
Pnj();
private :
std::vector<Quest> quests;
};
}
#endif
| 16.666667 | 38 | 0.55 | [
"vector"
] |
2bf294bcde850dec6022309cb2e98125dc365747 | 818 | cpp | C++ | Acwing/AC2.cpp | yanjinbin/Foxconn | d8340d228deb35bd8ec244f6156374da8a1f0aa0 | [
"CC0-1.0"
] | 8 | 2021-02-14T01:48:09.000Z | 2022-01-29T09:12:55.000Z | Acwing/AC2.cpp | yanjinbin/Foxconn | d8340d228deb35bd8ec244f6156374da8a1f0aa0 | [
"CC0-1.0"
] | null | null | null | Acwing/AC2.cpp | yanjinbin/Foxconn | d8340d228deb35bd8ec244f6156374da8a1f0aa0 | [
"CC0-1.0"
] | null | null | null | #include <iostream>
#include <iostream>
#include <map>
#include <queue>
#include <vector>
#include <algorithm>
using namespace std;
const int INF = 0x3F3F3F3F;
#define debug puts("bling bling ⚡️⚡️");
#define FOR(i, a, b) for (int i = a; i < b; i++)
#define ll long long
#define pii pair<int, int>
int maxN = 1001;
int ... | 22.108108 | 84 | 0.471883 | [
"vector"
] |
2bf3fbeead6237c43d0bd71d9ed494d23f890f35 | 7,057 | cc | C++ | third_party/txt/src/skia/paragraph_skia.cc | luoyibu/engine | e535969dbae360446faad3517e5f90ec9164d345 | [
"BSD-3-Clause"
] | 1 | 2022-03-14T18:29:14.000Z | 2022-03-14T18:29:14.000Z | third_party/txt/src/skia/paragraph_skia.cc | luoyibu/engine | e535969dbae360446faad3517e5f90ec9164d345 | [
"BSD-3-Clause"
] | 2 | 2019-05-09T12:15:03.000Z | 2020-03-09T09:24:39.000Z | third_party/txt/src/skia/paragraph_skia.cc | luoyibu/engine | e535969dbae360446faad3517e5f90ec9164d345 | [
"BSD-3-Clause"
] | 1 | 2022-02-08T00:14:53.000Z | 2022-02-08T00:14:53.000Z | /*
* Copyright 2019 Google Inc.
*
* 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... | 32.223744 | 80 | 0.714468 | [
"vector"
] |
2bf43b471141af370b4b3410ed4a35b9d28d8727 | 11,981 | cpp | C++ | tests/api_tests/zendnn_conv_test.cpp | amd/ZenDNN | 2d8e025a05126b7c378d88a990a20e21a4182b20 | [
"Apache-2.0"
] | 28 | 2021-08-12T10:38:06.000Z | 2022-03-25T08:37:31.000Z | tests/api_tests/zendnn_conv_test.cpp | amd/ZenDNN | 2d8e025a05126b7c378d88a990a20e21a4182b20 | [
"Apache-2.0"
] | 2 | 2021-08-17T03:20:10.000Z | 2021-09-23T04:15:32.000Z | tests/api_tests/zendnn_conv_test.cpp | amd/ZenDNN | 2d8e025a05126b7c378d88a990a20e21a4182b20 | [
"Apache-2.0"
] | 5 | 2021-08-20T05:05:59.000Z | 2022-02-25T19:13:07.000Z | /*******************************************************************************
* Modifications Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
* Notified per clause 4(b) of the license.
*******************************************************************************/
/****************************... | 34.036932 | 112 | 0.63175 | [
"vector"
] |
2bfc105f07ceeae138ec1c434a015982c65f551a | 12,780 | cpp | C++ | hamming_dec.cpp | eduardolucioac/cpphamming | d035593d804b13a014180eec5cc93e301e44d331 | [
"Apache-2.0"
] | 5 | 2016-11-04T20:01:09.000Z | 2021-12-21T23:42:01.000Z | hamming_dec.cpp | eduardolucioac/cpphamming | d035593d804b13a014180eec5cc93e301e44d331 | [
"Apache-2.0"
] | null | null | null | hamming_dec.cpp | eduardolucioac/cpphamming | d035593d804b13a014180eec5cc93e301e44d331 | [
"Apache-2.0"
] | null | null | null | /**
@file hamming_dec.cpp
@author Eduardo Lúcio Amorim Costa (Questor)
@date 11/02/2016
@version 1.0
@brief Applies the hamming method to modify and retrieve files.
@section DESCRIPTION
The Hamming code is a linear block code, was developed by Richard Hamming,
is used in signa... | 34.447439 | 130 | 0.591393 | [
"vector",
"transform"
] |
2bfe885f18110ea1e45eb43e8d24c04a2977cc5a | 2,915 | cpp | C++ | 2020/day14/B.cpp | mpeyrotc/adventofcode | 7eed772462af5c960010eaf9f54b3b586e12581b | [
"MIT"
] | null | null | null | 2020/day14/B.cpp | mpeyrotc/adventofcode | 7eed772462af5c960010eaf9f54b3b586e12581b | [
"MIT"
] | null | null | null | 2020/day14/B.cpp | mpeyrotc/adventofcode | 7eed772462af5c960010eaf9f54b3b586e12581b | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <regex>
#include <map>
#include <numeric>
using namespace std;
typedef long long ll;
string parseMaskString(ll mask)
{
string result{ "000000000000000000000000000000000000" };
ll m{ 1 };
size_t shiftValue{ result.size() - 1 };
while (mask != 0)
{
... | 23.893443 | 79 | 0.439108 | [
"vector"
] |
92052f52dafe6a3f9351505f406fd64c2b7fc13a | 703 | cpp | C++ | code/tsp.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | 8 | 2020-02-21T22:21:01.000Z | 2022-02-16T05:30:54.000Z | code/tsp.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | null | null | null | code/tsp.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | 3 | 2020-08-05T05:42:35.000Z | 2021-08-30T05:39:51.000Z | #define _USE_MATH_DEFINES
#include <iostream>
#include <cmath>
#include <iomanip>
#include <vector>
#include <string>
#include <algorithm>
#include <unordered_set>
#include <ctype.h>
#include <queue>
#include <map>
typedef long long ll;
using namespace std;
int main()
{
ll i, j, k;
ll cases;
double garb;... | 16.348837 | 40 | 0.55761 | [
"vector"
] |
92064fd0f12af0f0d5796912cc6283e4bffeafb1 | 3,524 | cpp | C++ | test/utils_utils/interleave.cpp | h6ah4i/cxxdasp | 44bf437ad688760265ea10d2dc7cb3c57e0e7008 | [
"Apache-2.0"
] | 35 | 2015-01-28T07:49:02.000Z | 2020-10-04T17:38:46.000Z | test/utils_utils/interleave.cpp | h6ah4i/cxxdasp | 44bf437ad688760265ea10d2dc7cb3c57e0e7008 | [
"Apache-2.0"
] | 1 | 2018-02-16T10:45:19.000Z | 2018-02-21T19:04:57.000Z | test/utils_utils/interleave.cpp | h6ah4i/cxxdasp | 44bf437ad688760265ea10d2dc7cb3c57e0e7008 | [
"Apache-2.0"
] | 10 | 2015-01-28T07:49:02.000Z | 2022-03-08T00:51:51.000Z | //
// Copyright (C) 2014 Haruki Hasegawa
//
// 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 ap... | 29.123967 | 83 | 0.679058 | [
"vector"
] |
920ae3f66461c20facab064cf75d10f2000fd811 | 2,145 | cpp | C++ | sis/src/v1/model/PhonemePronunciation.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | 1 | 2021-11-30T09:31:16.000Z | 2021-11-30T09:31:16.000Z | sis/src/v1/model/PhonemePronunciation.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | null | null | null | sis/src/v1/model/PhonemePronunciation.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | null | null | null |
#include "huaweicloud/sis/v1/model/PhonemePronunciation.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Sis {
namespace V1 {
namespace Model {
PhonemePronunciation::PhonemePronunciation()
{
score_ = 0.0f;
scoreIsSet_ = false;
gop_ = 0.0f;
gopIsSet_ = false;
}
PhonemePronunciation::~PhonemeP... | 18.333333 | 96 | 0.645221 | [
"object",
"model"
] |
920e24cb7856933551868441dafbbbb4b8d6aa3d | 2,825 | cc | C++ | leetcode/leet-45.cc | yanrong/acm | a3bbc3b07eb3eeb2535f4a732228b7e27746bfb2 | [
"Apache-2.0"
] | 4 | 2020-03-20T10:39:08.000Z | 2020-12-04T00:36:54.000Z | leetcode/leet-45.cc | yanrong/acm | a3bbc3b07eb3eeb2535f4a732228b7e27746bfb2 | [
"Apache-2.0"
] | null | null | null | leetcode/leet-45.cc | yanrong/acm | a3bbc3b07eb3eeb2535f4a732228b7e27746bfb2 | [
"Apache-2.0"
] | null | null | null | #include <vector>
#include <iostream>
#include <algorithm>
using std::max;
using std::vector;
using std::cout;
using std::endl;
class Solution {
public:
//original soultion
int jump(vector<int>& nums) {
int len = nums.size(), jump ,counter = 0, temp = 0, step, i = 0;
if(nums.size() <= 1) return... | 31.388889 | 106 | 0.463009 | [
"vector"
] |
920fae739001247bee7fa8680d638256d11b599f | 7,967 | hpp | C++ | include/StringUtilities.hpp | Dinahmoe/dm-utils | 76115b485a4812df9aad44fac645fe4b40e7cc7b | [
"BSD-3-Clause"
] | null | null | null | include/StringUtilities.hpp | Dinahmoe/dm-utils | 76115b485a4812df9aad44fac645fe4b40e7cc7b | [
"BSD-3-Clause"
] | null | null | null | include/StringUtilities.hpp | Dinahmoe/dm-utils | 76115b485a4812df9aad44fac645fe4b40e7cc7b | [
"BSD-3-Clause"
] | 1 | 2015-10-06T07:21:32.000Z | 2015-10-06T07:21:32.000Z | /*
* Copyright (c) 2015, Dinahmoe. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and... | 29.6171 | 128 | 0.671143 | [
"vector",
"transform"
] |
9218c07c2185def40c905fac1caeee038469962d | 3,716 | hpp | C++ | toolboxes/fft/gpu/cuFFTCachedPlan.hpp | roopchansinghv/gadgetron | fb6c56b643911152c27834a754a7b6ee2dd912da | [
"MIT"
] | 1 | 2022-02-22T21:06:36.000Z | 2022-02-22T21:06:36.000Z | toolboxes/fft/gpu/cuFFTCachedPlan.hpp | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | toolboxes/fft/gpu/cuFFTCachedPlan.hpp | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | #pragma once
#include "cuFFTCachedPlan.h"
#include "cuFFTPlan.h"
#include "cuNDArray_math.h"
namespace {
namespace cufft_detail{
auto compact_dims(int rank, const std::vector<size_t>& dimensions){
assert(rank <= dimensions.size());
auto dims = std::vector<size_t>(dimensions.begin(),dimensions.begin... | 48.894737 | 127 | 0.749731 | [
"vector"
] |
9218eb55344b48a126d43720e4b502c603cc4c10 | 18,162 | cpp | C++ | IUI/Control/ControlCore/RichTextBox/RichEditSrc/propchg.cpp | jiaojian8063868/portsip-softphone-windows | df1b6391ff5d074cbc98cb559e52b181ef8e1b17 | [
"BSD-2-Clause"
] | null | null | null | IUI/Control/ControlCore/RichTextBox/RichEditSrc/propchg.cpp | jiaojian8063868/portsip-softphone-windows | df1b6391ff5d074cbc98cb559e52b181ef8e1b17 | [
"BSD-2-Clause"
] | null | null | null | IUI/Control/ControlCore/RichTextBox/RichEditSrc/propchg.cpp | jiaojian8063868/portsip-softphone-windows | df1b6391ff5d074cbc98cb559e52b181ef8e1b17 | [
"BSD-2-Clause"
] | 2 | 2021-12-31T03:42:48.000Z | 2022-02-20T08:37:41.000Z | /*
* @doc INTERNAL
*
* @module PROPCHG.CPP -- Property Change Notification Routines |
*
* Original Author: <nl>
* Rick Sailor
*
* History: <nl>
* 9/5/95 ricksa Created and documented
*
* Documentation is generated straight from the code. The following
* date/time stamp indicates the version... | 24.02381 | 85 | 0.685332 | [
"object"
] |
921b0bbf7cd8e00e742e93be72fb688f2c506eb9 | 5,651 | cpp | C++ | src/Test_Replicate.cpp | pememoni/HElib | 96838a91b4d248573f9be7e3428d060bc4813da3 | [
"Apache-2.0"
] | 1 | 2019-11-04T04:55:29.000Z | 2019-11-04T04:55:29.000Z | src/Test_Replicate.cpp | PNIDEMOOO/HElib | 7427ed3709bb9872835324dd0007a97b3ca3baca | [
"Apache-2.0"
] | null | null | null | src/Test_Replicate.cpp | PNIDEMOOO/HElib | 7427ed3709bb9872835324dd0007a97b3ca3baca | [
"Apache-2.0"
] | null | null | null | /* Copyright (C) 2012-2017 IBM Corp.
* This program is 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 a... | 25.922018 | 78 | 0.634401 | [
"vector"
] |
921be81a052abac32f573dbcfeea7e1250aaece5 | 3,346 | cpp | C++ | tests/cefclient/extension_test.cpp | svn2github/cef1 | 61d1537c697bec6265e02c9e9bb4c416b7b22db5 | [
"BSD-3-Clause"
] | 18 | 2015-07-11T03:16:54.000Z | 2019-01-19T12:10:38.000Z | tests/cefclient/extension_test.cpp | svn2github/cef | 61d1537c697bec6265e02c9e9bb4c416b7b22db5 | [
"BSD-3-Clause"
] | 2 | 2019-01-14T00:10:11.000Z | 2019-02-03T08:19:11.000Z | tests/cefclient/extension_test.cpp | svn2github/cef1 | 61d1537c697bec6265e02c9e9bb4c416b7b22db5 | [
"BSD-3-Clause"
] | 9 | 2015-01-08T01:07:25.000Z | 2018-03-05T03:52:04.000Z | // Copyright (c) 2013 The Chromium Embedded Framework 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 "cefclient/extension_test.h"
#include <string>
#include "include/cef_browser.h"
#include "include/cef_frame.h"
#include "i... | 34.142857 | 79 | 0.648536 | [
"object"
] |
921db9866373d23b413bf65802c888a94023886a | 13,217 | cpp | C++ | groups/csa/csaxform/csaxform_refactor_config.cpp | hyrosen/bde_verify | c2db13c9f1649806bfd9155e2bffcbbcf9d54918 | [
"Apache-2.0"
] | null | null | null | groups/csa/csaxform/csaxform_refactor_config.cpp | hyrosen/bde_verify | c2db13c9f1649806bfd9155e2bffcbbcf9d54918 | [
"Apache-2.0"
] | null | null | null | groups/csa/csaxform/csaxform_refactor_config.cpp | hyrosen/bde_verify | c2db13c9f1649806bfd9155e2bffcbbcf9d54918 | [
"Apache-2.0"
] | null | null | null | // csaxform_dump_defs.cpp -*-C++-*-
#include "csabase_analyser.h"
#include "csabase_debug.h"
#include "csabase_ppobserver.h"
#include "csabase_registercheck.h"
#include "csabase_report.h"
#include "csabase_util.h"
#include "csabase_visitor.h"
#include <llvm/ADT/StringExtras... | 34.599476 | 79 | 0.500492 | [
"object"
] |
9221024306e70a0c73710495acd8aba03a86bd24 | 4,457 | cpp | C++ | automated-tests/src/dali-platform-abstraction/utc-image-loading-common.cpp | Coquinho/dali-adaptor | a8006aea66b316a5eb710e634db30f566acda144 | [
"Apache-2.0",
"BSD-3-Clause"
] | 6 | 2016-11-18T10:26:46.000Z | 2021-11-01T12:29:05.000Z | automated-tests/src/dali-platform-abstraction/utc-image-loading-common.cpp | Coquinho/dali-adaptor | a8006aea66b316a5eb710e634db30f566acda144 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-07-15T11:30:49.000Z | 2020-12-11T19:13:46.000Z | automated-tests/src/dali-platform-abstraction/utc-image-loading-common.cpp | expertisesolutions/dali-adaptor | 810bf4dea833ea7dfbd2a0c82193bc0b3b155011 | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2019-05-17T07:14:40.000Z | 2021-05-24T07:25:26.000Z | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* 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... | 41.268519 | 86 | 0.786403 | [
"vector"
] |
922db149ffc572b0ce42bbea64585c9606cb7dbd | 12,306 | cpp | C++ | src/IECore/ObjectInterpolator.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | src/IECore/ObjectInterpolator.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | src/IECore/ObjectInterpolator.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | 1 | 2020-09-26T01:15:37.000Z | 2020-09-26T01:15:37.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2009, Image Engine Design Inc. All rights reserved.
// Copyright (c) 2012, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted pro... | 34.86119 | 151 | 0.647327 | [
"object"
] |
9232dc651894b7241de0c7c7be8c6095553b7004 | 1,512 | hpp | C++ | test/bound/read/raw_json_reader_tests.hpp | ChadHartman/rapidjson-binder | 5da9484e9737d74fe9403df37a8df8872d472af6 | [
"BSD-3-Clause"
] | null | null | null | test/bound/read/raw_json_reader_tests.hpp | ChadHartman/rapidjson-binder | 5da9484e9737d74fe9403df37a8df8872d472af6 | [
"BSD-3-Clause"
] | null | null | null | test/bound/read/raw_json_reader_tests.hpp | ChadHartman/rapidjson-binder | 5da9484e9737d74fe9403df37a8df8872d472af6 | [
"BSD-3-Clause"
] | null | null | null | #ifndef BOUND_READ_RAW_JSON_READER_TESTS_HPP_
#define BOUND_READ_RAW_JSON_READER_TESTS_HPP_
#include "tests.h"
namespace bound_read_raw_json_reader_tests_hpp_
{
void TestReadRawJson(std::string &&json)
{
bound::JsonRaw raw_json;
bound::read::Parser<rapidjson::StringStream> parser{rapidjson::StringStream(json... | 19.139241 | 95 | 0.570106 | [
"object"
] |
9234ca148cf01f88147ad552d113afdc1b906a72 | 9,575 | cpp | C++ | lonestar/experimental/meshsingularities/DAGSolver3D/Node.cpp | rohankadekodi/compilers_project | 2f9455a5d0c516b9f1766afd1cdac1b86c930ec0 | [
"BSD-3-Clause"
] | null | null | null | lonestar/experimental/meshsingularities/DAGSolver3D/Node.cpp | rohankadekodi/compilers_project | 2f9455a5d0c516b9f1766afd1cdac1b86c930ec0 | [
"BSD-3-Clause"
] | 7 | 2020-02-27T19:24:51.000Z | 2020-04-10T21:04:28.000Z | lonestar/experimental/meshsingularities/DAGSolver3D/Node.cpp | rohankadekodi/compilers_project | 2f9455a5d0c516b9f1766afd1cdac1b86c930ec0 | [
"BSD-3-Clause"
] | 2 | 2020-02-17T22:00:40.000Z | 2020-03-24T10:18:02.000Z | /*
* This file belongs to the Galois project, a C++ library for exploiting parallelism.
* The code is being released under the terms of the 3-Clause BSD License (a
* copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... | 30.787781 | 85 | 0.577023 | [
"vector"
] |
92350022986d731a1dca3b7d0ea9ed9ec69d72a8 | 3,301 | cc | C++ | hpyplm/dhpyplm_train.cc | redpony/cpyp | 7ecb1801af3636f9d5ae008799ae412d476153e2 | [
"Apache-2.0"
] | 29 | 2015-01-21T07:18:16.000Z | 2021-06-10T00:57:54.000Z | hpyplm/dhpyplm_train.cc | redpony/cpyp | 7ecb1801af3636f9d5ae008799ae412d476153e2 | [
"Apache-2.0"
] | null | null | null | hpyplm/dhpyplm_train.cc | redpony/cpyp | 7ecb1801af3636f9d5ae008799ae412d476153e2 | [
"Apache-2.0"
] | 8 | 2015-02-25T06:02:46.000Z | 2021-06-10T00:57:38.000Z | #include <iostream>
#include <unordered_map>
#include <cstdlib>
#include "corpus/corpus.h"
#include "cpyp/m.h"
#include "cpyp/random.h"
#include "cpyp/crp.h"
#include "cpyp/mf_crp.h"
#include "cpyp/tied_parameter_resampler.h"
#include "uvector.h"
#include "dhpyplm.h"
#include "cpyp/boost_serializers.h"
#include <boos... | 31.141509 | 201 | 0.607392 | [
"vector",
"model"
] |
9235e7b2b7f212b2af57ada848c8215e42b35ae8 | 88,355 | cc | C++ | src/runtime/instr.cc | mizuki-nana/coreVM | 1ff863b890329265a86ff46b0fdf7bac8e362f0e | [
"MIT"
] | 2 | 2017-02-12T21:59:54.000Z | 2017-02-13T14:57:48.000Z | src/runtime/instr.cc | mizuki-nana/coreVM | 1ff863b890329265a86ff46b0fdf7bac8e362f0e | [
"MIT"
] | null | null | null | src/runtime/instr.cc | mizuki-nana/coreVM | 1ff863b890329265a86ff46b0fdf7bac8e362f0e | [
"MIT"
] | null | null | null | /*******************************************************************************
The MIT License (MIT)
Copyright (c) 2016 Yanzheng Li
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 restr... | 29.879946 | 97 | 0.576651 | [
"object",
"vector"
] |
9235f8de2dfd3fb25d897c0e964eb0cf20873a62 | 6,733 | hpp | C++ | include/raptor/search/run_program_multiple.hpp | KarolinaD/raptor | 2952646261ae82bdbe55d4e53373d5c3d96f1f8c | [
"BSD-3-Clause"
] | null | null | null | include/raptor/search/run_program_multiple.hpp | KarolinaD/raptor | 2952646261ae82bdbe55d4e53373d5c3d96f1f8c | [
"BSD-3-Clause"
] | null | null | null | include/raptor/search/run_program_multiple.hpp | KarolinaD/raptor | 2952646261ae82bdbe55d4e53373d5c3d96f1f8c | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <seqan3/search/dream_index/interleaved_bloom_filter.hpp>
#include <seqan3/search/views/minimiser_hash.hpp>
#include <raptor/search/compute_simple_model.hpp>
#include <raptor/search/do_parallel.hpp>
#include <raptor/search/load_ibf.hpp>
#include <raptor/search/sync_out.hpp>
namespace raptor
{
t... | 44.589404 | 126 | 0.54775 | [
"vector"
] |
9239572d6c12e367f663e7687c8cafa436474c6d | 13,443 | cpp | C++ | Source/Motor2D/Application.cpp | BarcinoLechiguino/Project_F | 9e40c771f5ce6b821e3d380edd5d92fb129cdf53 | [
"MIT"
] | 1 | 2020-04-28T16:09:51.000Z | 2020-04-28T16:09:51.000Z | Source/Motor2D/Application.cpp | Aitorlb7/Project_F | 9e40c771f5ce6b821e3d380edd5d92fb129cdf53 | [
"MIT"
] | 3 | 2020-03-03T09:57:49.000Z | 2020-04-25T16:02:36.000Z | Source/Motor2D/Application.cpp | BarcinoLechiguino/Project-RTS | 9e40c771f5ce6b821e3d380edd5d92fb129cdf53 | [
"MIT"
] | 1 | 2020-11-06T22:31:26.000Z | 2020-11-06T22:31:26.000Z | #include <iostream>
#include <list>
#include <vector>
#include "Definitions.h"
#include "Log.h"
#include "Application.h"
#include "Window.h"
#include "Input.h"
#include "Render.h"
#include "Textures.h"
#include "Audio.h"
#include "Map.h"
#include "Fonts.h"
#include "EntityManager.h"
#include "Pathfinding.h"
#include "... | 20.874224 | 223 | 0.648442 | [
"render",
"object",
"vector"
] |
9239b4b187e3f96601e6e56965726724052cec24 | 8,417 | cc | C++ | src/ivectorbin/ivector-extract-check-condition-final.cc | Shuang777/kaldi | 3df67141b55cfd5e2ba7305a72e795e7706d8d30 | [
"Apache-2.0"
] | 1 | 2019-02-06T09:31:59.000Z | 2019-02-06T09:31:59.000Z | src/ivectorbin/ivector-extract-check-condition-final.cc | Shuang777/kaldi | 3df67141b55cfd5e2ba7305a72e795e7706d8d30 | [
"Apache-2.0"
] | null | null | null | src/ivectorbin/ivector-extract-check-condition-final.cc | Shuang777/kaldi | 3df67141b55cfd5e2ba7305a72e795e7706d8d30 | [
"Apache-2.0"
] | null | null | null | // ivectorbin/ivector-extract.cc
// Copyright 2013 Daniel Povey
// See ../../COPYING for clarification regarding multiple 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
//
// ... | 34.495902 | 150 | 0.61554 | [
"vector",
"model"
] |
923db284b050b116906ab1df98089c704ba3b4bb | 2,978 | cpp | C++ | source/sw/src/interp.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | 2 | 2020-03-26T10:11:17.000Z | 2021-01-19T08:16:48.000Z | source/sw/src/interp.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | null | null | null | source/sw/src/interp.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by ... | 25.895652 | 95 | 0.619543 | [
"3d"
] |
923e63f85b42fda1dd5b0f45d679fe2c90e0625b | 6,482 | cpp | C++ | trace-generators/traces/implementation/ParallelismTraceAnalyzer.cpp | florianjacob/gpuocelot | fa63920ee7c5f9a86e264cd8acd4264657cbd190 | [
"BSD-3-Clause"
] | 221 | 2015-03-29T02:05:49.000Z | 2022-03-25T01:45:36.000Z | trace-generators/traces/implementation/ParallelismTraceAnalyzer.cpp | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 106 | 2015-03-29T01:28:42.000Z | 2022-02-15T19:38:23.000Z | trace-generators/traces/implementation/ParallelismTraceAnalyzer.cpp | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 83 | 2015-07-10T23:09:57.000Z | 2022-03-25T03:01:00.000Z | /*!
\file ParallelismTraceAnalyzer.cpp
\author Gregory Diamos
\date Monday April 13, 2009
\brief The source file for the ParallelismTraceAnalayzer class
*/
#ifndef PARALLELISM_TRACE_ANALYZER_CPP_INCLUDED
#define PARALLELISM_TRACE_ANALYZER_CPP_INCLUDED
#include <traces/interface/ParallelismTraceAnalyzer.h>
#in... | 25.519685 | 76 | 0.624807 | [
"vector"
] |
9242ba18b1048b900ff7397a1c0264b7b17f0336 | 3,929 | cc | C++ | src/core/execution_context/copy_execution_context.cc | willhemsley/biodynamo | c36830de621f8e105bf5eac913b96405b5c9d75c | [
"Apache-2.0"
] | null | null | null | src/core/execution_context/copy_execution_context.cc | willhemsley/biodynamo | c36830de621f8e105bf5eac913b96405b5c9d75c | [
"Apache-2.0"
] | null | null | null | src/core/execution_context/copy_execution_context.cc | willhemsley/biodynamo | c36830de621f8e105bf5eac913b96405b5c9d75c | [
"Apache-2.0"
] | null | null | null | // -----------------------------------------------------------------------------
//
// Copyright (C) 2021 CERN & Newcastle University for the benefit of the
// BioDynaMo collaboration. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... | 40.091837 | 80 | 0.591499 | [
"vector"
] |
9244065adfcd2160a1f7fca4ba3bb0ca8d69d7aa | 13,646 | cpp | C++ | source/Genesis/Bitmap/Compression/palettize.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | 3 | 2020-04-29T03:17:50.000Z | 2021-05-26T19:53:46.000Z | source/Genesis/Bitmap/Compression/palettize.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | 1 | 2020-04-29T03:12:47.000Z | 2020-04-29T03:12:47.000Z | source/Genesis/Bitmap/Compression/palettize.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | null | null | null | /****************************************************************************************/
/* Palettize */
/* */
/* Author: Charles Bloom ... | 24.195035 | 171 | 0.5842 | [
"transform"
] |
92461e17304ac13a27d86c2fd73f61233d8267cf | 3,844 | h++ | C++ | include/rexio/keyboard.h++ | maciek-27/Rgp | d28b5522e640e4c7b951f6861d97cbe52b0a35c9 | [
"MIT"
] | null | null | null | include/rexio/keyboard.h++ | maciek-27/Rgp | d28b5522e640e4c7b951f6861d97cbe52b0a35c9 | [
"MIT"
] | null | null | null | include/rexio/keyboard.h++ | maciek-27/Rgp | d28b5522e640e4c7b951f6861d97cbe52b0a35c9 | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2008 Damian Kaczmarek, Maciej Kaminski
//
// 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 wi... | 19.124378 | 73 | 0.604318 | [
"object"
] |
9247f52c22e70acef08a860c2268ab5d051fb35b | 3,887 | cpp | C++ | src/main/_2018/day17.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | null | null | null | src/main/_2018/day17.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | 6 | 2018-12-03T04:43:00.000Z | 2020-12-12T12:42:02.000Z | src/main/_2018/day17.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include "../util/helpers.cpp"
using namespace std;
// http://adventofcode.com/2018/day/17
int spring_x = 500;
int spring_y = 0;
pii x_bounds = make_pair(500, 500);
pii y_bounds = make_pair(numeric_limits<int>::max(), numeric_limits<int>::min());
// setters and getters offsetting by min bo... | 21.594444 | 110 | 0.580911 | [
"vector"
] |
92584cc57e14aac9396814013c532cb80d8e320a | 154,836 | cpp | C++ | asteria/src/runtime/air_node.cpp | usama-makhzoum/asteria | ea4c893a038e0c5bef14d4d9f6723124a0cbb30f | [
"BSD-3-Clause"
] | null | null | null | asteria/src/runtime/air_node.cpp | usama-makhzoum/asteria | ea4c893a038e0c5bef14d4d9f6723124a0cbb30f | [
"BSD-3-Clause"
] | null | null | null | asteria/src/runtime/air_node.cpp | usama-makhzoum/asteria | ea4c893a038e0c5bef14d4d9f6723124a0cbb30f | [
"BSD-3-Clause"
] | null | null | null | // This file is part of Asteria.
// Copyleft 2018 - 2021, LH_Mouse. All wrongs reserved.
#include "../precompiled.hpp"
#include "air_node.hpp"
#include "enums.hpp"
#include "executive_context.hpp"
#include "global_context.hpp"
#include "abstract_hooks.hpp"
#include "analytic_context.hpp"
#include "genius_collector.hpp... | 29.044457 | 97 | 0.583443 | [
"object"
] |
925bb7d2ae5c98e980eee3120021be3cc6cb5f4b | 2,874 | cpp | C++ | DeviceController/main.cpp | ktonchev/HOLOTWIN | 6918be4649c94ac720a771bc3fc8c9aafc0f471b | [
"Apache-2.0"
] | null | null | null | DeviceController/main.cpp | ktonchev/HOLOTWIN | 6918be4649c94ac720a771bc3fc8c9aafc0f471b | [
"Apache-2.0"
] | null | null | null | DeviceController/main.cpp | ktonchev/HOLOTWIN | 6918be4649c94ac720a771bc3fc8c9aafc0f471b | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <cstring>
#include <iostream>
#include <vector>
#include "MQTTAsync.h"
#include "msgReader.h"
#include "msgWriter.h"
#include "processRequest.h"
#include "databank.hpp"
#include "StreamClient.hpp"
#include "connection.hpp"
#include <thread>
#if !defined(_WI... | 19.55102 | 113 | 0.630828 | [
"vector"
] |
925c45faef3856666bd595d5df002d7035844108 | 10,804 | cpp | C++ | src/tests/v8test.cpp | Barenboim/nativejson-benchmark | 5c13c515443ac885b1b315a452345bbd1937052e | [
"MIT"
] | 1,721 | 2015-03-25T02:21:25.000Z | 2022-03-30T18:01:01.000Z | src/tests/v8test.cpp | Barenboim/nativejson-benchmark | 5c13c515443ac885b1b315a452345bbd1937052e | [
"MIT"
] | 72 | 2015-04-16T03:35:22.000Z | 2021-11-27T19:25:52.000Z | src/tests/v8test.cpp | Barenboim/nativejson-benchmark | 5c13c515443ac885b1b315a452345bbd1937052e | [
"MIT"
] | 305 | 2015-01-30T16:16:54.000Z | 2022-02-21T10:54:22.000Z | #include "../test.h"
#if HAS_V8
#include "libplatform/libplatform.h"
#include "v8.h"
using namespace v8;
// Note: V8 does not support custom allocator for all allocation.
// Use Isolate::GetHeapStatistics() for memory statistics.
class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
public:
virtual v... | 35.893688 | 134 | 0.622177 | [
"object"
] |
177f5cbd3d67851366baf81ad993b03ab1179508 | 8,189 | cpp | C++ | src/main/renderer/Curve2D.cpp | SamuelGauthier/iphito | 83cbcc9037965f5722aa39e7a7c13f0677264ff3 | [
"Unlicense"
] | null | null | null | src/main/renderer/Curve2D.cpp | SamuelGauthier/iphito | 83cbcc9037965f5722aa39e7a7c13f0677264ff3 | [
"Unlicense"
] | null | null | null | src/main/renderer/Curve2D.cpp | SamuelGauthier/iphito | 83cbcc9037965f5722aa39e7a7c13f0677264ff3 | [
"Unlicense"
] | null | null | null | /**
* @file Curve2D.cpp
* @brief Implements a 2D parametric curve
* @author Samuel Gauthier
* @version 0.1.0
* @date 2018-12-10
*/
#include <iostream>
#include <sstream>
#include "Curve2D.h"
#include "utils/Logger.h"
#include "utils/Utils.h"
namespace iphito::renderer {
using namespace iphito::math;
using name... | 29.456835 | 80 | 0.594944 | [
"vector",
"model",
"transform"
] |
17806fcd8701885be199842d1dcc8e7725957e26 | 5,403 | cxx | C++ | dune/gdt/test/hyperbolic/eocexpectations-fv-burgers-1dyaspgrid.cxx | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/test/hyperbolic/eocexpectations-fv-burgers-1dyaspgrid.cxx | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/test/hyperbolic/eocexpectations-fv-burgers-1dyaspgrid.cxx | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | // This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... | 48.241071 | 116 | 0.513789 | [
"vector"
] |
1785dd7752bac2ce52b21a3ea2b49d20628d5f3a | 8,204 | cxx | C++ | StRoot/StFmsHitMaker/StFmsHitMaker.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StFmsHitMaker/StFmsHitMaker.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StFmsHitMaker/StFmsHitMaker.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | // ROOT
#include "TFile.h"
#include "TH1.h"
#include "TH2.h"
#include "TTree.h"
#include "StMessMgr.h"
#include "StEventTypes.h"
#include "StMuDSTMaker/COMMON/StMuTypes.hh"
#include "StMuDSTMaker/COMMON/StMuFmsUtil.h"
#include "StFmsDbMaker/StFmsDbMaker.h"
#include "StFmsCollection.h"
#include "StFmsHit.h"
#include "... | 32.426877 | 130 | 0.646148 | [
"3d"
] |
178fa5aedb6a630b6fb97554fe4591635848d988 | 7,188 | hh | C++ | src/Zynga/Framework/Cache/V2/Driver/Memcache.hh | ifuyivara/zynga-hacklang-framework | f06b4b8e5929c0884c9b52b0c677a8935df68f9b | [
"MIT"
] | 19 | 2018-04-23T09:30:48.000Z | 2022-03-06T21:35:18.000Z | src/Zynga/Framework/Cache/V2/Driver/Memcache.hh | ifuyivara/zynga-hacklang-framework | f06b4b8e5929c0884c9b52b0c677a8935df68f9b | [
"MIT"
] | 22 | 2017-11-27T23:39:25.000Z | 2019-08-09T08:56:57.000Z | src/Zynga/Framework/Cache/V2/Driver/Memcache.hh | ifuyivara/zynga-hacklang-framework | f06b4b8e5929c0884c9b52b0c677a8935df68f9b | [
"MIT"
] | 28 | 2017-11-16T20:53:56.000Z | 2021-01-04T11:13:17.000Z | <?hh // strict
namespace Zynga\Framework\Cache\V2\Driver;
use Zynga\Framework\Cache\V2\Driver\Base as DriverBase;
use Zynga\Framework\Cache\V2\Exceptions\InvalidIncrementStepException;
use Zynga\Framework\Cache\V2\Exceptions\NoServerPairsProvidedException;
use Zynga\Framework\Cache\V2\Exceptions\NoConnectionException... | 22.25387 | 88 | 0.601697 | [
"object"
] |
17979cc3771c3a27809af6aa86500db1b108753e | 19,543 | cpp | C++ | MeshmoonCommon/common/layers/MeshmoonLayerProcessor.cpp | Adminotech/meshmoon-plugins | 32043ef783bdf137860d7d01eb22de564628e572 | [
"Apache-2.0"
] | 4 | 2018-05-09T01:55:14.000Z | 2021-12-19T17:46:29.000Z | MeshmoonCommon/common/layers/MeshmoonLayerProcessor.cpp | Adminotech/meshmoon-plugins | 32043ef783bdf137860d7d01eb22de564628e572 | [
"Apache-2.0"
] | null | null | null | MeshmoonCommon/common/layers/MeshmoonLayerProcessor.cpp | Adminotech/meshmoon-plugins | 32043ef783bdf137860d7d01eb22de564628e572 | [
"Apache-2.0"
] | 2 | 2016-03-15T06:12:05.000Z | 2021-06-06T00:18:38.000Z | /**
@author Admino Technologies Ltd.
Copyright 2013 Admino Technologies Ltd.
All rights reserved.
@file
@brief */
#include "StableHeaders.h"
#include "MeshmoonLayerProcessor.h"
#include "common/json/MeshmoonJson.h"
#include "Framework.h"
#include "LoggingFunctions.h"
#include "IRenderer.h"... | 45.238426 | 264 | 0.485187 | [
"vector",
"transform"
] |
1799cae8d9eba86d0ef40aa888483a93b9d3f763 | 85,619 | cpp | C++ | dlls/sas.cpp | edgarbarney/halflife-planckepoch | 630e7066d8bf260783eaea7341f3c84fb87d69dd | [
"Unlicense"
] | 3 | 2021-08-08T14:22:11.000Z | 2022-02-02T03:08:17.000Z | dlls/sas.cpp | edgarbarney/halflife-planckepoch | 630e7066d8bf260783eaea7341f3c84fb87d69dd | [
"Unlicense"
] | 7 | 2021-02-27T01:55:27.000Z | 2021-09-06T17:32:43.000Z | dlls/sas.cpp | edgarbarney/halflife-planckepoch | 630e7066d8bf260783eaea7341f3c84fb87d69dd | [
"Unlicense"
] | 6 | 2021-03-14T15:35:17.000Z | 2022-01-10T22:53:15.000Z | // Thanks to Solokiller's OP4 for ally dudes
//
// Why didn't I do it myself?
// Lazyness.
//=========================================================
// Hit groups!
//=========================================================
/*
1 - Head
2 - Stomach
3 - Gun
*/
#include "extdll.h"
#include "plane.h"
#include... | 26.031925 | 162 | 0.644857 | [
"vector",
"solid"
] |
179bd8b82a288687399c935dcc9e244adc2f2fb5 | 3,277 | cpp | C++ | Array/Subarray or Subsequence Related Problems/Min Len Unsorted Subarr, Sorting Which Makes The Complete Array Sorted.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 8 | 2021-02-13T17:07:27.000Z | 2021-08-20T08:20:40.000Z | Array/Subarray or Subsequence Related Problems/Min Len Unsorted Subarr, Sorting Which Makes The Complete Array Sorted.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | null | null | null | Array/Subarray or Subsequence Related Problems/Min Len Unsorted Subarr, Sorting Which Makes The Complete Array Sorted.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/maximum-unsorted-subarray/
// Ref: https://www.geeksforgeeks.org/minimum-length-unsorted-subarray-sorting-which-makes-the-complete-array-sorted/
// https://www.youtube.com/watch?v=Hg03KTli9co
/************************************************************************... | 24.274074 | 118 | 0.566372 | [
"vector"
] |
17a018899ea692e36e142e3f196badc97dd1df7d | 5,230 | cpp | C++ | 11/day11-cpp/src/fuel.cpp | gagbo/advent-of-code_2018 | ca2bb5282468a5ddba40bafddd85878cea253499 | [
"MIT"
] | null | null | null | 11/day11-cpp/src/fuel.cpp | gagbo/advent-of-code_2018 | ca2bb5282468a5ddba40bafddd85878cea253499 | [
"MIT"
] | 1 | 2018-12-06T20:41:23.000Z | 2018-12-06T20:41:23.000Z | 11/day11-cpp/src/fuel.cpp | gagbo/advent-of-code_2018 | ca2bb5282468a5ddba40bafddd85878cea253499 | [
"MIT"
] | null | null | null | #include "fuel.hpp"
#include <algorithm>
#include <cmath>
#include <iostream>
#include <limits>
const size_t FuelGrid::GRID_SIZE = 300;
FuelGrid::FuelGrid(int grid_serial) : serial(grid_serial) {
for (size_t x = 0; x < GRID_SIZE; ++x) {
std::vector<std::unique_ptr<FuelCell>> line_x;
for (size_t y ... | 36.068966 | 85 | 0.56501 | [
"vector"
] |
17a4e1758c383c22534fef7271af4125644b1043 | 22,153 | cpp | C++ | src/framework/shared/core/fxrequestbase.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 994 | 2015-03-18T21:37:07.000Z | 2019-04-26T04:04:14.000Z | src/framework/shared/core/fxrequestbase.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 13 | 2019-06-13T15:58:03.000Z | 2022-02-18T22:53:35.000Z | src/framework/shared/core/fxrequestbase.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 350 | 2015-03-19T04:29:46.000Z | 2019-05-05T23:26:50.000Z | /*++
Copyright (c) Microsoft Corporation
Module Name:
FxRequestBase.cpp
Abstract:
This module implements FxRequestBase object
Author:
Environment:
Both kernel and user mode
Revision History:
--*/
#include "coreprivshared.hpp"
// Tracing support
extern "C" {
#include "FxRequestBase.tmh"
}
FxRe... | 26.594238 | 84 | 0.619781 | [
"object"
] |
17acbdf11ed7794e236c26d2eec3c090d639b005 | 5,035 | cpp | C++ | src/mscapi/crypto_encrypt.cpp | PeculiarVentures/pvpkcs11 | 474cf3b2a958c83ccfebf3165e45e7f46d649c81 | [
"MIT"
] | 30 | 2017-05-25T08:54:25.000Z | 2021-12-21T13:42:35.000Z | src/mscapi/crypto_encrypt.cpp | PeculiarVentures/pvpkcs11 | 474cf3b2a958c83ccfebf3165e45e7f46d649c81 | [
"MIT"
] | 37 | 2017-05-24T21:47:36.000Z | 2021-06-02T09:23:54.000Z | src/mscapi/crypto_encrypt.cpp | PeculiarVentures/pvpkcs11 | 474cf3b2a958c83ccfebf3165e45e7f46d649c81 | [
"MIT"
] | 7 | 2017-07-22T09:50:13.000Z | 2019-08-18T23:42:52.000Z | #include "crypto.h"
#include "rsa.h"
using namespace mscapi;
typedef
_Check_return_
SECURITY_STATUS
WINAPI
ncryptFn(
_In_ NCRYPT_KEY_HANDLE hKey,
_In_reads_bytes_opt_(cbInput) PBYTE pbInput,
_In_ DWORD cbInput,
_In_opt_ VOID *pPaddingInfo,
_Out_writes_bytes_to_opt_(cbOutput, *pcbResult... | 25.953608 | 135 | 0.558888 | [
"object"
] |
17b975464ef9683c107485bd89b46e76e6400f62 | 8,054 | cpp | C++ | source/detail/posix/theme.cpp | StillGreen-san/nana | 87ffd31013f031ef2a36331a7f776b3a00cd54b8 | [
"BSL-1.0"
] | null | null | null | source/detail/posix/theme.cpp | StillGreen-san/nana | 87ffd31013f031ef2a36331a7f776b3a00cd54b8 | [
"BSL-1.0"
] | null | null | null | source/detail/posix/theme.cpp | StillGreen-san/nana | 87ffd31013f031ef2a36331a7f776b3a00cd54b8 | [
"BSL-1.0"
] | null | null | null | #include <nana/c++defines.hpp>
#if defined(NANA_POSIX) && defined(NANA_X11)
#include "theme.hpp"
#include <filesystem>
#include <algorithm>
#include <vector>
namespace nana
{
namespace detail
{
static int gschema_override_priority(const std::string& filename)
{
if(filename.size() < 3)
return -1;
auto ... | 24.705521 | 115 | 0.603799 | [
"vector"
] |
17c30f6841d86a3d16831d938efa25862cd14adc | 3,449 | hpp | C++ | native/jni/init/init.hpp | Joyoe/Magisk-23001-jojo-t2 | 28f7bffe248c380c55335ad438f7d2a6392fd0be | [
"MIT"
] | 2 | 2022-01-16T00:59:54.000Z | 2022-02-09T12:00:48.000Z | native/jni/init/init.hpp | Joyoe/Magisk-23001-jojo-t2 | 28f7bffe248c380c55335ad438f7d2a6392fd0be | [
"MIT"
] | 1 | 2022-02-09T11:55:40.000Z | 2022-02-09T11:55:40.000Z | native/jni/init/init.hpp | Joyoe/Magisk-23001-jojo-t2 | 28f7bffe248c380c55335ad438f7d2a6392fd0be | [
"MIT"
] | 2 | 2022-02-09T12:00:39.000Z | 2022-02-21T18:34:46.000Z | #include <utils.hpp>
#include "raw_data.hpp"
struct cmdline {
bool skip_initramfs;
bool force_normal_boot;
bool rootwait;
char slot[3];
char dt_dir[64];
char fstab_suffix[32];
char hardware[32];
char hardware_plat[32];
};
struct fstab_entry {
std::string dev;
std::string mnt_p... | 21.290123 | 83 | 0.610322 | [
"vector"
] |
17c63d2088f7d0d3a9d68f8a53983e2153cf7967 | 7,038 | cc | C++ | MagneticField/ParametrizedEngine/src/BFit.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | MagneticField/ParametrizedEngine/src/BFit.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | MagneticField/ParametrizedEngine/src/BFit.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "BFit.h"
#include <cstring>
using namespace std;
using namespace magfieldparam;
//_______________________________________________________________________________
#ifdef BFit_PW
const double BFit::Z_nom[4] = { -2.37615687260664e-2,
-1.86400109250045e-2,
... | 46.302632 | 82 | 0.47272 | [
"3d"
] |
17cb5491497db7296c0b72a741de0978438b1d0e | 1,491 | cc | C++ | ghpi/webscripts/modules/shm_togglelamp.cc | Sc0rpe/GreenHousePi | a193cee9acbe61f5c682b3d48132b315a6a97af8 | [
"Unlicense"
] | null | null | null | ghpi/webscripts/modules/shm_togglelamp.cc | Sc0rpe/GreenHousePi | a193cee9acbe61f5c682b3d48132b315a6a97af8 | [
"Unlicense"
] | 3 | 2018-04-26T14:16:54.000Z | 2018-10-09T14:37:35.000Z | ghpi/webscripts/modules/shm_togglelamp.cc | Sc0rpe/GreenHousePi | a193cee9acbe61f5c682b3d48132b315a6a97af8 | [
"Unlicense"
] | null | null | null | //
// 2018 Rico Schulz
//
#pragma once
#include <vector>
#include <iostream>
#include <boost/interprocess/shared_memory_object.hpp>
#include <boost/interprocess/mapped_region.hpp>
#include <boost/interprocess/sync/interprocess_mutex.hpp>
#include <boost/interprocess/sync/scoped_lock.hpp>
#include "operator.h"
#include ... | 33.886364 | 95 | 0.731053 | [
"object",
"vector"
] |
17ccc7fa55bd6b4829009be4e0ad81f1b9a1cf73 | 3,489 | cpp | C++ | NetMePiet/src/main.cpp | Assertores/NetMePiet | b2054d9c41f214f6c4a285c4798fd281d5c2d12d | [
"MIT"
] | null | null | null | NetMePiet/src/main.cpp | Assertores/NetMePiet | b2054d9c41f214f6c4a285c4798fd281d5c2d12d | [
"MIT"
] | null | null | null | NetMePiet/src/main.cpp | Assertores/NetMePiet | b2054d9c41f214f6c4a285c4798fd281d5c2d12d | [
"MIT"
] | null | null | null | #include "network/netcode_api.hpp"
#include <chrono>
#include <ratio>
#include <SDL.h>
#include <glad/glad.h>
#include <imgui/imgui.h>
#include <imgui/examples/imgui_impl_opengl3.h>
#include <imgui/examples/imgui_impl_sdl.h>
#include <screens/screen.hpp>
#include <screens/startup_screen.hpp>
//#include <screens/imgui... | 24.398601 | 127 | 0.729722 | [
"render"
] |
17ce04c5e4cdb00f1eca5d6bc95efe191874ce9a | 94,307 | cpp | C++ | VkLayer_profiler_layer/profiler_overlay/profiler_overlay.cpp | lstalmir/VulkanProfiler | da06f27d71bf753bdef575ba1ed35e0acb8e84e7 | [
"MIT"
] | 1 | 2021-03-11T12:10:20.000Z | 2021-03-11T12:10:20.000Z | VkLayer_profiler_layer/profiler_overlay/profiler_overlay.cpp | lstalmir/VulkanProfiler | da06f27d71bf753bdef575ba1ed35e0acb8e84e7 | [
"MIT"
] | 10 | 2020-12-09T15:14:11.000Z | 2021-01-23T18:52:26.000Z | VkLayer_profiler_layer/profiler_overlay/profiler_overlay.cpp | lstalmir/VulkanProfiler | da06f27d71bf753bdef575ba1ed35e0acb8e84e7 | [
"MIT"
] | null | null | null | // Copyright (c) 2019-2021 Lukasz Stalmirski
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... | 36.72391 | 141 | 0.535559 | [
"render",
"object",
"vector"
] |
17d6fd92333f500f878ff6d0d18c81bfe06fa7c6 | 5,880 | cpp | C++ | RaiderEngine/GameObject.cpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | 4 | 2019-07-20T08:41:04.000Z | 2022-03-04T01:53:38.000Z | RaiderEngine/GameObject.cpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | null | null | null | RaiderEngine/GameObject.cpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "GameObject.hpp"
#include "mesh.hpp"
#include "model.hpp"
#include "settings.hpp"
#include "physics.hpp"
#include "constants.hpp"
GameObject::GameObject(glm::vec3 position, glm::vec3 rotationEA, glm::vec3 scale, std::string modelName, int makeStatic, bool grabbable, bool usePhysics, bool c... | 34.792899 | 192 | 0.721259 | [
"mesh",
"object",
"shape",
"model",
"solid"
] |
17d88174ec7cea188ab10c0cbd4abeadae8e067f | 12,604 | cpp | C++ | src/modules/block/task.cpp | ronanjs/openperf | 55b759e399254547f8a6590b2e19cb47232265b7 | [
"Apache-2.0"
] | null | null | null | src/modules/block/task.cpp | ronanjs/openperf | 55b759e399254547f8a6590b2e19cb47232265b7 | [
"Apache-2.0"
] | null | null | null | src/modules/block/task.cpp | ronanjs/openperf | 55b759e399254547f8a6590b2e19cb47232265b7 | [
"Apache-2.0"
] | null | null | null | #include <thread>
#include <limits>
#include "task.hpp"
#include "framework/core/op_log.h"
#include "framework/utils/random.hpp"
namespace openperf::block::worker {
using namespace std::chrono_literals;
constexpr duration TASK_SPIN_THRESHOLD = 100ms;
struct operation_config
{
int fd;
size_t f_size;
siz... | 32.153061 | 80 | 0.572041 | [
"vector"
] |
17dad732a255e14c750dc6ff11408d6238890f8a | 2,350 | cpp | C++ | android-31/android/telephony/TelephonyManager_CallComposerException.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/telephony/TelephonyManager_CallComposerException.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-31/android/telephony/TelephonyManager_CallComposerException.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../java/io/IOException.hpp"
#include "./TelephonyManager_CallComposerException.hpp"
namespace android::telephony
{
// Fields
jint TelephonyManager_CallComposerException::ERROR_AUTHENTICATION_FAILED()
{
return getStaticField<jint>(
"android.telephony.TelephonyManager$CallComposerException",
"ERR... | 27.325581 | 127 | 0.777021 | [
"object"
] |
17e3242e2b33c6fe8a9e195f4c8a4d2c82192bc6 | 951 | cpp | C++ | STL/generate_n.cpp | Sinchiguano/Algorithmic-Toolbox | 7e9dda588a72356fc43fa276016fc3486be47556 | [
"BSD-2-Clause"
] | null | null | null | STL/generate_n.cpp | Sinchiguano/Algorithmic-Toolbox | 7e9dda588a72356fc43fa276016fc3486be47556 | [
"BSD-2-Clause"
] | null | null | null | STL/generate_n.cpp | Sinchiguano/Algorithmic-Toolbox | 7e9dda588a72356fc43fa276016fc3486be47556 | [
"BSD-2-Clause"
] | null | null | null | /*
* generate_n.cpp
* Copyright (C) 2018 CESAR SINCHIGUANO <cesarsinchiguano@hotmail.es>
*
* Distributed under terms of the BSD license.
*/
#include <iostream>
#include <algorithm>
#include <vector>
#include <time.h>
#include <cstdlib>
using namespace std;
//g++ -std=c++14 -o temp sort.cpp
int generate_random()... | 18.288462 | 69 | 0.598318 | [
"vector"
] |
17e770e9d5c16969bd1e7ee7383bc65014da40d9 | 2,381 | cpp | C++ | time_perf_tests/parallel_tests.cpp | yangfengzzz/DigitalVox3 | c3277007d7cae90cf3f55930bf86119c93662493 | [
"MIT"
] | 28 | 2021-11-23T11:52:55.000Z | 2022-03-04T01:48:52.000Z | time_perf_tests/parallel_tests.cpp | yangfengzzz/DigitalVox3 | c3277007d7cae90cf3f55930bf86119c93662493 | [
"MIT"
] | null | null | null | time_perf_tests/parallel_tests.cpp | yangfengzzz/DigitalVox3 | c3277007d7cae90cf3f55930bf86119c93662493 | [
"MIT"
] | 3 | 2022-01-02T12:23:04.000Z | 2022-01-07T04:21:26.000Z | // Copyright (c) 2018 Doyub Kim
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#include "../vox.geometry/parallel.h"
#include <benchmark/benchmark.h>
#include <random>
class Parall... | 27.367816 | 125 | 0.594288 | [
"geometry",
"vector"
] |
17ea5551b173b3f3ab8ed2bb539075ef47313812 | 19,467 | cxx | C++ | main/extensions/test/sax/testwriter.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/extensions/test/sax/testwriter.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/extensions/test/sax/testwriter.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 25.314694 | 104 | 0.671239 | [
"vector"
] |
17ec1b0b5248802d29dde5b4219145b866726e9b | 4,361 | cc | C++ | src/backjump-solver.cc | ThuriyaThwin/ACE-CSP-Solver | 528b4c494fe77495888bb3f9155ec7c3ce9b0fbe | [
"MIT"
] | 2 | 2015-01-10T12:25:14.000Z | 2016-01-01T13:37:50.000Z | src/backjump-solver.cc | ThuriyaThwin/ACE-CSP-Solver | 528b4c494fe77495888bb3f9155ec7c3ce9b0fbe | [
"MIT"
] | null | null | null | src/backjump-solver.cc | ThuriyaThwin/ACE-CSP-Solver | 528b4c494fe77495888bb3f9155ec7c3ce9b0fbe | [
"MIT"
] | 1 | 2021-06-24T12:34:31.000Z | 2021-06-24T12:34:31.000Z | // Copyright 2012 Eugen Sawin <esawin@me73.com>
#include "./backjump-solver.h"
#include <cassert>
#include <vector>
#include <set>
#include <limits>
#include <iostream>
#include "./clock.h"
#include "./network.h"
#include "./variable-ordering.h"
using std::vector;
using std::set;
using base::Clock;
using std::numeric_... | 26.430303 | 78 | 0.672781 | [
"vector"
] |
17ef902fda2023427679c389c56842547dcf1c54 | 22,595 | cpp | C++ | src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/writeengine/shared/we_dbrootextenttracker.cpp | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/writeengine/shared/we_dbrootextenttracker.cpp | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/writeengine/shared/we_dbrootextenttracker.cpp | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | 2 | 2022-02-27T14:00:01.000Z | 2022-03-31T06:24:22.000Z | /* Copyright (C) 2014 InfiniDB, Inc.
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 the hope that it will be useful,
but W... | 39.02418 | 85 | 0.576234 | [
"vector"
] |
17efae6a1723b2ce6442e085bcba6f60b6d27336 | 3,420 | hpp | C++ | src/libv/gl/matrix_stack.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 2 | 2018-04-11T03:07:03.000Z | 2019-03-29T15:24:12.000Z | src/libv/gl/matrix_stack.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | null | null | null | src/libv/gl/matrix_stack.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 1 | 2021-06-13T06:39:06.000Z | 2021-06-13T06:39:06.000Z | // Project: libv.gl, File: src/libv/gl/matrix_stack.hpp, Author: Császár Mátyás [Vader]
#pragma once
// std
#include <vector>
// libv
#include <libv/math/angle.hpp>
#include <libv/math/vec.hpp>
#include <libv/utility/guard.hpp>
// pro
#include <libv/gl/assert.hpp>
namespace libv {
namespace gl {
// ---------------... | 23.265306 | 101 | 0.57076 | [
"vector"
] |
aa0a94749ec99c83a4f35fcb9c60443489214c14 | 3,020 | hpp | C++ | libraries/chain/include/eosio/chain/txfee_manager.hpp | xuyp1991/eosforce | de3655c35062616a6b52726b298124e27cf19cb5 | [
"MIT"
] | 1 | 2019-05-29T14:03:07.000Z | 2019-05-29T14:03:07.000Z | libraries/chain/include/eosio/chain/txfee_manager.hpp | xuyp1991/eosforce | de3655c35062616a6b52726b298124e27cf19cb5 | [
"MIT"
] | null | null | null | libraries/chain/include/eosio/chain/txfee_manager.hpp | xuyp1991/eosforce | de3655c35062616a6b52726b298124e27cf19cb5 | [
"MIT"
] | null | null | null | /**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <eosio/chain/types.hpp>
#include <eosio/chain/asset.hpp>
#include <eosio/chain/multi_index_includes.hpp>
namespace eosio { namespace chain {
class controller;
struct transaction;
struct action;
class txfee_manager {
... | 31.789474 | 119 | 0.628808 | [
"object"
] |
aa12fe34938d976f0d9dcb576bdfc23255c676ea | 2,887 | cpp | C++ | mercury/tests/blocking_queue_test.cpp | ZachAnders/OPLabs | 085030e60c23292c7860817233373ab6e1b19165 | [
"BSD-2-Clause"
] | 1 | 2018-02-06T17:43:51.000Z | 2018-02-06T17:43:51.000Z | mercury/tests/blocking_queue_test.cpp | ZachAnders/OPLabs | 085030e60c23292c7860817233373ab6e1b19165 | [
"BSD-2-Clause"
] | null | null | null | mercury/tests/blocking_queue_test.cpp | ZachAnders/OPLabs | 085030e60c23292c7860817233373ab6e1b19165 | [
"BSD-2-Clause"
] | null | null | null | #include <cstdio>
#include <test.h>
#include <vector>
#include <algorithm>
#include <containers/BlockingQueue.hpp>
using namespace containers;
using namespace os;
using namespace std;
#define TEST_SHORT 0xdead
#define TEST_INT 32
#define TEST_LONG 0xdeadbeefdeadbeefll
#define TEST_STRING "Hello, World!\n"
void ... | 25.104348 | 70 | 0.537929 | [
"vector"
] |
aa146dc44094d94bebf4458033bdf0789e2ba8d6 | 3,845 | cpp | C++ | cctbx/sgtbx/lattice_symmetry.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | cctbx/sgtbx/lattice_symmetry.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | cctbx/sgtbx/lattice_symmetry.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | #include <cctbx/sgtbx/lattice_symmetry.h>
#include <cctbx/sgtbx/rot_mx_info.h>
#include <scitbx/array_family/sort.h>
#include <limits>
namespace cctbx { namespace sgtbx { namespace lattice_symmetry {
double
find_max_delta(
uctbx::unit_cell const& reduced_cell,
sgtbx::space_group const& space_group)
{
... | 38.069307 | 79 | 0.673342 | [
"vector"
] |
aa1be61b355da71d3c8b354eabf811fcfd61e052 | 566 | cpp | C++ | #knowabc.cpp | LucasProcopio/code-forces-challanges | bdbe563dbdc4da7f5080314984079b6bfc3f93f5 | [
"MIT"
] | null | null | null | #knowabc.cpp | LucasProcopio/code-forces-challanges | bdbe563dbdc4da7f5080314984079b6bfc3f93f5 | [
"MIT"
] | null | null | null | #knowabc.cpp | LucasProcopio/code-forces-challanges | bdbe563dbdc4da7f5080314984079b6bfc3f93f5 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; i++)
#define repe(i, a, n) for (int i = a; i <= n; i++)
#define pb push_back
typedef vector<int> VI;
//header
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
int a;
VI n;
rep(i, 0, 7)
{
cin >> a... | 16.647059 | 55 | 0.413428 | [
"vector"
] |
aa1c87fa8f471b10ac3590ccbe18880d477d1be8 | 499 | cpp | C++ | solutions/0416.partition-equal-subset-sum/0416.partition-equal-subset-sum.1552036382.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 1 | 2021-01-14T06:01:02.000Z | 2021-01-14T06:01:02.000Z | solutions/0416.partition-equal-subset-sum/0416.partition-equal-subset-sum.1552036382.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 8 | 2018-03-27T11:47:19.000Z | 2018-11-12T06:02:12.000Z | solutions/0416.partition-equal-subset-sum/0416.partition-equal-subset-sum.1552036382.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 2 | 2020-04-30T09:47:01.000Z | 2020-12-03T09:34:08.000Z | class Solution {
public:
bool canPartition(vector<int>& nums) {
int sum = accumulate(nums.begin(), nums.end(), 0);
if (sum % 2 == 1) {
return false;
}
int N = nums.size();
int S = sum / 2;
vector<bool> dp(S+1, false);
dp[0] = true;
for (int... | 24.95 | 58 | 0.392786 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.