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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db2d75caad5d7ff4f98cf7cc8fa521b6d4a697fc | 3,409 | hpp | C++ | 3party/boost/boost/geometry/extensions/algorithms/parse.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 2 | 2015-01-02T14:24:56.000Z | 2015-01-02T14:25:17.000Z | 3party/boost/boost/geometry/extensions/algorithms/parse.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 2 | 2019-01-13T23:45:51.000Z | 2019-02-03T08:13:26.000Z | 3party/boost/boost/geometry/extensions/algorithms/parse.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 2 | 2018-04-04T10:55:01.000Z | 2020-04-23T18:52:06.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
// (ge... | 27.491935 | 107 | 0.692872 | [
"geometry"
] |
db2e98e4bb68f89ac30f30e89bf376f1a06b253d | 47,449 | cpp | C++ | ext/emsdk_portable/clang/tag-e1.34.1/src/unittests/Bitcode/NaClObjDumpTypesTest.cpp | slightperturbation/Cobalt | 7b398d155d28f7ddf4068a6c25c8aa6aaae486d4 | [
"Apache-2.0"
] | null | null | null | ext/emsdk_portable/clang/tag-e1.34.1/src/unittests/Bitcode/NaClObjDumpTypesTest.cpp | slightperturbation/Cobalt | 7b398d155d28f7ddf4068a6c25c8aa6aaae486d4 | [
"Apache-2.0"
] | null | null | null | ext/emsdk_portable/clang/tag-e1.34.1/src/unittests/Bitcode/NaClObjDumpTypesTest.cpp | slightperturbation/Cobalt | 7b398d155d28f7ddf4068a6c25c8aa6aaae486d4 | [
"Apache-2.0"
] | null | null | null | //===- llvm/unittest/Bitcode/NaClObjDumpTypesTest.cpp ---------------------===//
// Tests objdump stream for PNaCl bitcode.
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------... | 33.604108 | 80 | 0.635145 | [
"vector"
] |
db32ac3aeb96ffeedfc4fbfaff1996e26229f813 | 21,739 | cpp | C++ | modcc/symdiff.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 53 | 2018-10-18T12:08:21.000Z | 2022-03-26T22:03:51.000Z | modcc/symdiff.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 864 | 2018-10-01T08:06:00.000Z | 2022-03-31T08:06:48.000Z | modcc/symdiff.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 37 | 2019-03-03T16:18:49.000Z | 2022-03-24T10:39:51.000Z | #include <cmath>
#include <map>
#include <set>
#include <stdexcept>
#include <string>
#include <utility>
#include "error.hpp"
#include "expression.hpp"
#include "symdiff.hpp"
#include "util.hpp"
#include "visitor.hpp"
class FindIdentifierVisitor: public Visitor {
public:
explicit FindIdentifierVisitor(const ident... | 30.835461 | 141 | 0.559363 | [
"vector"
] |
db3a1506e22c75ba30da7136615cc0e14664a8c3 | 10,200 | cpp | C++ | imperative/src/impl/ops/broadcast.cpp | kagome1007/MegEngine | 6814cf1cd7bfae05f1ca22a5b79a09244028c7fd | [
"Apache-2.0"
] | null | null | null | imperative/src/impl/ops/broadcast.cpp | kagome1007/MegEngine | 6814cf1cd7bfae05f1ca22a5b79a09244028c7fd | [
"Apache-2.0"
] | null | null | null | imperative/src/impl/ops/broadcast.cpp | kagome1007/MegEngine | 6814cf1cd7bfae05f1ca22a5b79a09244028c7fd | [
"Apache-2.0"
] | null | null | null | /**
* \file imperative/src/impl/ops/broadcast.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an... | 36.823105 | 89 | 0.609118 | [
"shape",
"vector"
] |
db3b1e5f8e79a3d3b8f061184e0a88061e10c267 | 14,113 | cpp | C++ | src/Offline/FHE_Factory.cpp | fabianbruckschen/SCALE-MAMBA | fc27f46df02fb2cc79308a9dadfd6876ec78d5a3 | [
"BSD-2-Clause"
] | null | null | null | src/Offline/FHE_Factory.cpp | fabianbruckschen/SCALE-MAMBA | fc27f46df02fb2cc79308a9dadfd6876ec78d5a3 | [
"BSD-2-Clause"
] | null | null | null | src/Offline/FHE_Factory.cpp | fabianbruckschen/SCALE-MAMBA | fc27f46df02fb2cc79308a9dadfd6876ec78d5a3 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2017, The University of Bristol, Senate House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom.
Copyright (c) 2018, COSIC-KU Leuven, Kasteelpark Arenberg 10, bus 2452, B-3001 Leuven-Heverlee, Belgium.
All rights reserved
*/
#include "FHE_Factory.h"
#include "FHE/ZKPoK.h"
#include "LSSS/PRSS.h"
#incl... | 29.159091 | 110 | 0.548431 | [
"vector"
] |
db3f2e6123d38f6795db3c49dce38ee1e86939b1 | 11,394 | cpp | C++ | UnitTests/Axis.BLAS.TestProject/RowVectorTest.cpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | UnitTests/Axis.BLAS.TestProject/RowVectorTest.cpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | UnitTests/Axis.BLAS.TestProject/RowVectorTest.cpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include <math.h>
#include "foundation/blas/RowVector.hpp"
#include "foundation/blas/ColumnVector.hpp"
#include "foundation/DimensionMismatchException.hpp"
#include "foundation/OutOfBoundsException.hpp"
#include "AxisString.hpp"
#include "System.hpp"
#include "foundation/memory/HeapBlockArena.hpp"
... | 26.436195 | 104 | 0.629805 | [
"vector"
] |
db3f7e5757820370d85f5ec24ca629a0edfce53a | 4,112 | cxx | C++ | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctnTrueQ.cxx | eciesla/AliPhysics | a9a6dc33c8793ea999348c57cebbce445797e8e4 | [
"BSD-3-Clause"
] | null | null | null | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctnTrueQ.cxx | eciesla/AliPhysics | a9a6dc33c8793ea999348c57cebbce445797e8e4 | [
"BSD-3-Clause"
] | null | null | null | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctnTrueQ.cxx | eciesla/AliPhysics | a9a6dc33c8793ea999348c57cebbce445797e8e4 | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// ///
/// AliFemtoModelCorrFctnTrueQ - the class for correlation function which ///
/// uses the model framework and weight generation and saves the generated /... | 30.014599 | 124 | 0.682636 | [
"model"
] |
db40741836e81c24db1a5d6b9b27f9f3624a3663 | 13,183 | cpp | C++ | DerivedSources/WebCore/JSMessagePort.cpp | VincentWei/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | DerivedSources/WebCore/JSMessagePort.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | null | null | null | DerivedSources/WebCore/JSMessagePort.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-17T06:02:42.000Z | 2018-09-19T10:08:38.000Z | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | 43.943333 | 211 | 0.772434 | [
"object"
] |
b9cc16832303c356311f69ad205cc8ca913be589 | 1,812 | cpp | C++ | bs_bos_core_data_storage/src/rocktab_table_serialize.cpp | bs-eagle/bs-eagle | b1017a4f6ac2dcafba2deafec84052ddde792671 | [
"BSD-3-Clause"
] | 7 | 2015-07-16T22:30:36.000Z | 2020-02-06T10:16:42.000Z | bs_bos_core_data_storage/src/rocktab_table_serialize.cpp | bs-eagle/bs-eagle | b1017a4f6ac2dcafba2deafec84052ddde792671 | [
"BSD-3-Clause"
] | null | null | null | bs_bos_core_data_storage/src/rocktab_table_serialize.cpp | bs-eagle/bs-eagle | b1017a4f6ac2dcafba2deafec84052ddde792671 | [
"BSD-3-Clause"
] | 3 | 2017-01-05T20:06:28.000Z | 2021-12-20T16:19:10.000Z | /// @file rocktab_table_serialize.cpp
/// @brief bs_table & rocktab_table serialization implementation
/// @author uentity
/// @version
/// @date 26.01.2012
/// @copyright This source code is released under the terms of
/// the BSD License. See LICENSE for more details.
#include "rocktab_table_serialize.h"... | 29.225806 | 68 | 0.63521 | [
"vector"
] |
b9d847c86f8e383f53679c6cb09ec8ce63130112 | 1,355 | hpp | C++ | libs/plugin/impl/include/sge/plugin/impl/object_impl.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/plugin/impl/include/sge/plugin/impl/object_impl.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/plugin/impl/include/sge/plugin/impl/object_impl.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_PLUGIN_IMPL_OBJECT_IMPL_HPP_INCLUDED
#define SGE_PLUGIN_IMPL_OBJECT_IMPL_HPP_INCLUDED
... | 30.111111 | 94 | 0.737269 | [
"object"
] |
b9da21029d06f257530c9c1843ddf5a8ecb331bd | 11,343 | cpp | C++ | src/core/lua_script.cpp | BackupTheBerlios/rubyk | a885b079633073da259941c6dc05ad0c419d3f72 | [
"MIT"
] | 1 | 2020-11-14T20:36:21.000Z | 2020-11-14T20:36:21.000Z | src/core/lua_script.cpp | BackupTheBerlios/rubyk | a885b079633073da259941c6dc05ad0c419d3f72 | [
"MIT"
] | null | null | null | src/core/lua_script.cpp | BackupTheBerlios/rubyk | a885b079633073da259941c6dc05ad0c419d3f72 | [
"MIT"
] | null | null | null | /*
==============================================================================
This file is part of the RUBYK project (http://rubyk.org)
Copyright (c) 2007-2009 by Gaspard Bucher - Buma (http://teti.ch).
------------------------------------------------------------------------------
Permission is here... | 28.5 | 184 | 0.609451 | [
"object"
] |
b9dbe74ab893337c4f0cd867c1b5fac4ccbb21d9 | 2,399 | cpp | C++ | test/seatalk/Test_seatalk_message_59.cpp | ShadowTeolog/marnav | 094dd06a2b9e52591bc9c3879ea4b5cf34a92192 | [
"BSD-4-Clause"
] | null | null | null | test/seatalk/Test_seatalk_message_59.cpp | ShadowTeolog/marnav | 094dd06a2b9e52591bc9c3879ea4b5cf34a92192 | [
"BSD-4-Clause"
] | 1 | 2021-11-10T14:40:21.000Z | 2021-11-10T14:40:21.000Z | test/seatalk/Test_seatalk_message_59.cpp | ShadowTeolog/marnav | 094dd06a2b9e52591bc9c3879ea4b5cf34a92192 | [
"BSD-4-Clause"
] | 1 | 2020-08-14T08:10:05.000Z | 2020-08-14T08:10:05.000Z | #include <gtest/gtest.h>
#include <marnav/seatalk/message_59.hpp>
namespace
{
using namespace marnav::seatalk;
using mode = marnav::seatalk::message_59::mode;
class Test_seatalk_message_59 : public ::testing::Test
{
public:
struct test_case {
raw data;
uint8_t hours;
uint8_t minutes;
uint8_t seconds;
mode... | 23.291262 | 69 | 0.691121 | [
"vector"
] |
b9dc9ab0856e5f5ab23b6bdcaae9484d71f25af1 | 1,079 | hpp | C++ | src/Common/GameConfig.hpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | src/Common/GameConfig.hpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | src/Common/GameConfig.hpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | #pragma once
#include <SFML/System/Vector2.hpp>
#include <SFML/System/Time.hpp>
#include <string>
#include <vector>
typedef std::vector<std::string> extensions;
struct GameConfig
{
GameConfig();
const bool keyRepeatEnabled;
const bool verticalSyncEnabled;
const sf::V... | 33.71875 | 53 | 0.582947 | [
"vector"
] |
b9dcb73ee6642496849db9a3450f75978d57bf01 | 13,803 | cpp | C++ | src/graphlab/zookeeper/key_value.cpp | coreyp1/graphlab | 637be90021c5f83ab7833ca15c48e76039057969 | [
"ECL-2.0",
"Apache-2.0"
] | 333 | 2016-07-29T19:22:07.000Z | 2022-03-30T02:40:34.000Z | src/graphlab/zookeeper/key_value.cpp | HybridGraph/GraphLab-PowerGraph | ba333c1cd82325ab2bfc6dd7ebb871b3fff64a94 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-09-15T00:31:59.000Z | 2022-02-08T07:51:07.000Z | src/graphlab/zookeeper/key_value.cpp | HybridGraph/GraphLab-PowerGraph | ba333c1cd82325ab2bfc6dd7ebb871b3fff64a94 | [
"ECL-2.0",
"Apache-2.0"
] | 163 | 2016-07-29T19:22:11.000Z | 2022-03-07T07:15:24.000Z | /*
* Copyright (c) 2009 Carnegie Mellon University.
* 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.... | 34.165842 | 109 | 0.620445 | [
"vector"
] |
b9e265c1018f118867374981d20f617662bd9286 | 9,258 | cpp | C++ | test/src/misc/dbn.cpp | ongbe/dll | 1f451eae2c020dbd8ac17e76e7befc5079210051 | [
"MIT"
] | 1 | 2019-05-31T05:25:27.000Z | 2019-05-31T05:25:27.000Z | test/src/misc/dbn.cpp | ongbe/dll | 1f451eae2c020dbd8ac17e76e7befc5079210051 | [
"MIT"
] | null | null | null | test/src/misc/dbn.cpp | ongbe/dll | 1f451eae2c020dbd8ac17e76e7befc5079210051 | [
"MIT"
] | 1 | 2020-02-27T03:42:24.000Z | 2020-02-27T03:42:24.000Z | //=======================================================================
// Copyright (c) 2014-2017 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | 39.905172 | 139 | 0.656081 | [
"vector"
] |
b9e5580429e509c95fda11ca47a86d02e1ca3d71 | 24,706 | cxx | C++ | cint/src/cast.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 10 | 2018-03-26T07:41:44.000Z | 2021-11-06T08:33:24.000Z | cint/src/cast.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | null | null | null | cint/src/cast.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 1 | 2020-11-17T03:17:00.000Z | 2020-11-17T03:17:00.000Z | /* /% C %/ */
/***********************************************************************
* cint (C/C++ interpreter)
************************************************************************
* Source file cast.c
************************************************************************
* Description:
* Type casting
*... | 32.550725 | 95 | 0.523112 | [
"object"
] |
b9e86e35b297b1ef6c996706cd06c405c0c8df61 | 9,022 | cpp | C++ | hphp/runtime/vm/jit/vasm-print.cpp | radford/hhvm | a7cd6754d14742b40528c847b607a1608cfcfe98 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2016-09-14T15:47:16.000Z | 2016-09-14T15:47:16.000Z | hphp/runtime/vm/jit/vasm-print.cpp | radford/hhvm | a7cd6754d14742b40528c847b607a1608cfcfe98 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/jit/vasm-print.cpp | radford/hhvm | a7cd6754d14742b40528c847b607a1608cfcfe98 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+---------... | 29.677632 | 78 | 0.532365 | [
"vector"
] |
b9e99d9554b1100bb835c0afda076a48b3184d0c | 879 | cpp | C++ | samples/02_oop/2019_kn/vcomp/main.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 32 | 2016-11-24T01:40:21.000Z | 2021-11-01T19:24:22.000Z | samples/02_oop/2019_kn/vcomp/main.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 6 | 2016-10-15T05:57:00.000Z | 2021-08-13T12:29:24.000Z | samples/02_oop/2019_kn/vcomp/main.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 49 | 2016-01-26T13:36:02.000Z | 2022-03-16T10:24:41.000Z | #include <iostream>
#include "sdlwrapper.h"
using namespace std;
#include "rectangle.h"
#include "circle.h"
#include "group.h"
#include <iostream>
#include <fstream>
#include "drawvisitor.h"
#include "serializevisitor.h"
int main ()
{
Rect r1 (10,10,30,100,"Test Rectangle");
Rect r2(50, 50, 30, 50, "Test Rectang... | 16.277778 | 45 | 0.618885 | [
"shape"
] |
b9ed8bd73adfba4b05ad027df6c80fc6ad1bf2ea | 6,529 | cpp | C++ | src/libv/gl/glsl_compiler.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 2 | 2018-04-11T03:07:03.000Z | 2019-03-29T15:24:12.000Z | src/libv/gl/glsl_compiler.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | null | null | null | src/libv/gl/glsl_compiler.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 1 | 2021-06-13T06:39:06.000Z | 2021-06-13T06:39:06.000Z | // Project: libv.gl, File: src/libv/gl/glsl_compiler.cpp, Author: Császár Mátyás [Vader]
// hpp
#include <libv/gl/glsl_compiler.hpp>
// ext
#include <ctre.hpp>
#include <range/v3/view/map.hpp>
#include <range/v3/view/reverse.hpp>
// libv
#include <libv/algo/linear_contains.hpp>
#include <libv/range/view_lines_string_v... | 31.389423 | 180 | 0.61694 | [
"vector"
] |
b9edab6000f5c40a9948b5bbd0abc3d342c140c6 | 5,119 | cpp | C++ | rmf_demo_plugins/rmf_plugins_common/src/dispenser_common.cpp | tianenchong/rmf_demos | dae242b9d7c7183ad7a868fe30863848fbb40f2c | [
"Apache-2.0"
] | null | null | null | rmf_demo_plugins/rmf_plugins_common/src/dispenser_common.cpp | tianenchong/rmf_demos | dae242b9d7c7183ad7a868fe30863848fbb40f2c | [
"Apache-2.0"
] | null | null | null | rmf_demo_plugins/rmf_plugins_common/src/dispenser_common.cpp | tianenchong/rmf_demos | dae242b9d7c7183ad7a868fe30863848fbb40f2c | [
"Apache-2.0"
] | null | null | null | #include <rmf_plugins_common/dispenser_common.hpp>
using namespace rmf_plugins_utils;
namespace rmf_dispenser_common {
void TeleportDispenserCommon::send_dispenser_response(uint8_t status) const
{
auto response = make_response<DispenserResult>(
status, sim_time, latest.request_guid, guid);
_result_pub->publi... | 28.920904 | 98 | 0.709123 | [
"object",
"vector"
] |
b9f43b00913946e1fc287262423d23a16e4bb766 | 6,337 | cc | C++ | chrome/browser/chromeos/account_manager/account_manager_policy_controller.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/account_manager/account_manager_policy_controller.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/account_manager/account_manager_policy_controller.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2019 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/chromeos/account_manager/account_manager_policy_controller.h"
#include <string>
#include "base/callback.h"
#include "base/seque... | 36.630058 | 86 | 0.752722 | [
"vector"
] |
b9f5eb47c82548dd1117173bb30272494f365b84 | 3,369 | cpp | C++ | Challenges/Arrays/Minimum_Swaps_2.cpp | Alexander-Scott/LearnTDD | 6570ad6dd271595f1747763debfd3b78139ccbeb | [
"MIT"
] | 1 | 2019-06-23T16:54:16.000Z | 2019-06-23T16:54:16.000Z | Challenges/Arrays/Minimum_Swaps_2.cpp | Alexander-Scott/HackerRank-Challenges | 6570ad6dd271595f1747763debfd3b78139ccbeb | [
"MIT"
] | 1 | 2019-06-23T08:56:21.000Z | 2019-06-23T11:30:29.000Z | Challenges/Arrays/Minimum_Swaps_2.cpp | Alexander-Scott/HackerRank-Challenges | 6570ad6dd271595f1747763debfd3b78139ccbeb | [
"MIT"
] | null | null | null | //
// Created by Alexander Scott on 2019-06-23.
//
#include "gtest/gtest.h"
#include "Arrays/Minimum_Swaps_2.cpp"
#include <fstream>
using namespace std;
/// \brief Arrays: Left Rotation
/// https://www.hackerrank.com/challenges/minimum-swaps-2/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&pl... | 29.552632 | 181 | 0.598991 | [
"vector"
] |
b9f8047183e1ce255971914078b5c21ced962fd6 | 5,229 | cpp | C++ | Parallel-Cpp-MPI-OpenMP/chapter2Cpp/src/main.cpp | pranjal-s/cpp17 | 04b5278ff4d754d6e62f955d49bddf6509f86e73 | [
"MIT"
] | null | null | null | Parallel-Cpp-MPI-OpenMP/chapter2Cpp/src/main.cpp | pranjal-s/cpp17 | 04b5278ff4d754d6e62f955d49bddf6509f86e73 | [
"MIT"
] | null | null | null | Parallel-Cpp-MPI-OpenMP/chapter2Cpp/src/main.cpp | pranjal-s/cpp17 | 04b5278ff4d754d6e62f955d49bddf6509f86e73 | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
Parallel Scientific Computing in C++ and MPI
by George Karniadakis and Robert M. Kirby
Section 2.2.2: Binary Numbers and Round-off
This section covers floating point arithmatic and machine precision
Section 2.2.7: Basic Linear ... | 34.86 | 139 | 0.545611 | [
"vector"
] |
b9fc43dda37db0ead9d271dc7819f0cc411c5a74 | 3,475 | cc | C++ | bam/src/dimension_ba_bv_relation_event.cc | sdelafond/centreon-broker | 21178d98ed8a061ca71317d23c2026dbc4edaca2 | [
"Apache-2.0"
] | null | null | null | bam/src/dimension_ba_bv_relation_event.cc | sdelafond/centreon-broker | 21178d98ed8a061ca71317d23c2026dbc4edaca2 | [
"Apache-2.0"
] | null | null | null | bam/src/dimension_ba_bv_relation_event.cc | sdelafond/centreon-broker | 21178d98ed8a061ca71317d23c2026dbc4edaca2 | [
"Apache-2.0"
] | null | null | null | /*
** Copyright 2014-2015 Centreon
**
** 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 t... | 25.551471 | 80 | 0.675396 | [
"object"
] |
b9ffc755f01022816b50eaa2add8c142eeaa7973 | 1,934 | hpp | C++ | source/autogen/Object.hpp | Smertig/among-us-replay-mod | e47cabeea466fee1f47a06600eefcde9e4a48a8a | [
"MIT"
] | 54 | 2020-10-08T22:43:19.000Z | 2022-02-28T13:28:12.000Z | source/autogen/Object.hpp | Smertig/among-us-replay-mod | e47cabeea466fee1f47a06600eefcde9e4a48a8a | [
"MIT"
] | 14 | 2020-10-09T15:55:05.000Z | 2021-05-14T17:36:54.000Z | source/autogen/Object.hpp | Smertig/among-us-replay-mod | e47cabeea466fee1f47a06600eefcde9e4a48a8a | [
"MIT"
] | 5 | 2020-10-14T23:26:35.000Z | 2021-09-16T12:08:54.000Z | #pragma once
#include <utils/il2cpp.hpp>
#include <utils/mod_info.hpp>
#include <cstddef>
#include <cstdint>
#include <type_traits>
#include <rcmp/low_level.hpp>
#define CHECK_TYPE(Type, Size) static_assert(sizeof(Type) == Size + sizeof(il2cpp::Il2CppObject)); static_assert(std::is_base_of_v<il2cpp::Il2CppObject, Ty... | 26.493151 | 159 | 0.676836 | [
"object"
] |
6a050c5419a705ffd5c6ace45594026a48a740e2 | 23,986 | cc | C++ | DataFormats/BTauReco/src/TaggingVariable.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | DataFormats/BTauReco/src/TaggingVariable.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | DataFormats/BTauReco/src/TaggingVariable.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include <algorithm>
#include <functional>
using namespace std;
#include "FWCore/Utilities/interface/EDMException.h"
#include "DataFormats/BTauReco/interface/TaggingVariable.h"
namespace reco {
const char* const TaggingVariableDescription[] = {
/* [jetEnergy] = */ "jet energy",
/* ... | 68.336182 | 171 | 0.53748 | [
"vector",
"transform",
"3d"
] |
6a0b86f722dada999db3ccc8b150d2b9b849b0fc | 153,357 | cc | C++ | src/CCA/Components/Schedulers/OnDemandDataWarehouse.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | null | null | null | src/CCA/Components/Schedulers/OnDemandDataWarehouse.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | null | null | null | src/CCA/Components/Schedulers/OnDemandDataWarehouse.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | null | null | null | /*
* The MIT License
*
* Copyright (c) 1997-2020 The University of Utah
*
* 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
* right... | 38.396845 | 217 | 0.594013 | [
"geometry",
"vector",
"3d"
] |
6a111e9b0aadf5fe0840b9160fb83496fbf8a243 | 3,769 | cpp | C++ | subversion/bindings/javahl/native/JNIStackElement.cpp | timgates42/subversion | 0f088f530747140c6783c2eeb77ceff8e8613c42 | [
"Apache-2.0"
] | 1 | 2020-12-19T23:01:45.000Z | 2020-12-19T23:01:45.000Z | subversion/bindings/javahl/native/JNIStackElement.cpp | timgates42/subversion | 0f088f530747140c6783c2eeb77ceff8e8613c42 | [
"Apache-2.0"
] | 2 | 2020-12-19T22:02:34.000Z | 2020-12-19T22:10:58.000Z | subversion/bindings/javahl/native/JNIStackElement.cpp | timgates42/subversion | 0f088f530747140c6783c2eeb77ceff8e8613c42 | [
"Apache-2.0"
] | null | null | null | /**
* @copyright
* ====================================================================
* 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. ... | 31.672269 | 75 | 0.597506 | [
"object"
] |
6a11a1b98f721f89a4bb1506b909a574a866e185 | 52,914 | cpp | C++ | v1/bindings/dotnetcore/tests/dotnetcore_ut/dotnetcore_ut.cpp | outotec/iot-edge | 999e2586b597b2ff17544daf63722edfe143b52e | [
"MIT"
] | 138 | 2018-06-28T18:02:55.000Z | 2022-03-18T04:38:15.000Z | v1/bindings/dotnetcore/tests/dotnetcore_ut/dotnetcore_ut.cpp | outotec/iot-edge | 999e2586b597b2ff17544daf63722edfe143b52e | [
"MIT"
] | 215 | 2016-05-02T11:38:35.000Z | 2017-05-09T11:32:44.000Z | v1/bindings/dotnetcore/tests/dotnetcore_ut/dotnetcore_ut.cpp | outotec/iot-edge | 999e2586b597b2ff17544daf63722edfe143b52e | [
"MIT"
] | 132 | 2016-04-29T17:23:03.000Z | 2017-05-08T22:09:24.000Z | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <cstdlib>
#include <cstdbool>
#include <cstddef>
#include "testrunnerswitcher.h"
#include "micromock.h"
#include "micromockcharstararenullterminatedstrings.h"
... | 37.395053 | 225 | 0.719507 | [
"object"
] |
6a153ff5976e00ae2a188ed31f3335cf982cc7ca | 29,190 | cpp | C++ | B2G/gecko/xpcom/base/MemoryInfoDumper.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/xpcom/base/MemoryInfoDumper.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/xpcom/base/MemoryInfoDumper.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 50; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=50 et cin tw=80 : */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.... | 29.846626 | 96 | 0.678931 | [
"object"
] |
6a1d873ab28fe6be03428fffab8e3266ad0b1269 | 1,231 | cpp | C++ | main.cpp | sawcce/vizier | b19ef5cf395dd1dce56bfe71554510efb4e9884b | [
"MIT"
] | null | null | null | main.cpp | sawcce/vizier | b19ef5cf395dd1dce56bfe71554510efb4e9884b | [
"MIT"
] | null | null | null | main.cpp | sawcce/vizier | b19ef5cf395dd1dce56bfe71554510efb4e9884b | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <regex>
#include <fstream>
#include <fmt/printf.h>
#include <fmt/color.h>
#include "lexer/lexer.h"
#define VERSION "0.0.1"
std::string readFile(const char* path)
{
std::ifstream inputFile (path);
std::string inputString;
if(inputFile.is_open())
{
... | 24.137255 | 106 | 0.593014 | [
"vector"
] |
6a1d9adce7ea5699db33f8b7d211e0b38e8f4d94 | 14,099 | cpp | C++ | emulator/src/mame/video/uv201.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/video/uv201.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/video/uv201.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
VideoBrain UV201/UV202 video chip emulation
**********************************************************************/
#include "emu.h"
#include "uv201.h"
//****************************... | 23.856176 | 132 | 0.531456 | [
"object"
] |
6a1d9f1fad3b4c735dbeed6b210e776cfe9ad000 | 2,320 | cc | C++ | epi/random_subset.cc | Vasniktel/interview-problems | ab901397194c81debe8c964fca097287466c9c27 | [
"MIT"
] | null | null | null | epi/random_subset.cc | Vasniktel/interview-problems | ab901397194c81debe8c964fca097287466c9c27 | [
"MIT"
] | null | null | null | epi/random_subset.cc | Vasniktel/interview-problems | ab901397194c81debe8c964fca097287466c9c27 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <functional>
#include <iterator>
#include <numeric>
#include <vector>
#include <random>
#include "test_framework/generic_test.h"
#include "test_framework/random_sequence_checker.h"
#include "test_framework/timed_executor.h"
using std::bind;
using std::iota;
using std::vector;
// Returns a ... | 32.676056 | 74 | 0.61681 | [
"vector"
] |
6a216ca92f244ce756cccfb0f4c0eaffb5c12aa8 | 4,163 | hpp | C++ | move/inv_relocate.hpp | zmdsn/MANSP | 180b985ed4abc255f5ccce5ee9e4da4e473433e2 | [
"MIT"
] | null | null | null | move/inv_relocate.hpp | zmdsn/MANSP | 180b985ed4abc255f5ccce5ee9e4da4e473433e2 | [
"MIT"
] | null | null | null | move/inv_relocate.hpp | zmdsn/MANSP | 180b985ed4abc255f5ccce5ee9e4da4e473433e2 | [
"MIT"
] | null | null | null | /*************************************************************************
* Name : move.hpp
* Author: zmdsn
* Mail : zmdsn@126.com
* Created Time: 2020年11月18日 星期三 13时47分27秒
*
************************************************************************/
#ifndef __InvRelocate__HPP__
#define __InvRelocate__HPP... | 28.128378 | 77 | 0.60221 | [
"vector"
] |
6a23c04dd3dae6fcc66145d1c582445ca14cc1a2 | 5,545 | cpp | C++ | Utility/BigInteger.cpp | sqrtnull/cp-library | fb9b913d6d8072b5a518e3f0c2ce33d315d465bd | [
"Unlicense"
] | null | null | null | Utility/BigInteger.cpp | sqrtnull/cp-library | fb9b913d6d8072b5a518e3f0c2ce33d315d465bd | [
"Unlicense"
] | null | null | null | Utility/BigInteger.cpp | sqrtnull/cp-library | fb9b913d6d8072b5a518e3f0c2ce33d315d465bd | [
"Unlicense"
] | null | null | null | /* <Int> */
struct uInt
{
using uint64 = unsigned long long;
static constexpr int N=2000;
static constexpr uint64 mask=~(1ll<<63);
int size=0;
std::vector<uint64> data; // each unit is 63 bits
uInt() : data(N,0) {}
uInt(const uInt& a) {
data = a.data;
size = a.size;
}
uInt(std::string s) : data(N,0) {
c... | 21.409266 | 55 | 0.553291 | [
"vector"
] |
6a283733e64a1d8a35379e39c0612d485a33c37a | 4,090 | cpp | C++ | compiler/luci/pass/src/RemoveUnnecessaryStridedSlicePass.test.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"Apache-2.0"
] | null | null | null | compiler/luci/pass/src/RemoveUnnecessaryStridedSlicePass.test.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"Apache-2.0"
] | 1 | 2022-02-10T04:18:26.000Z | 2022-02-10T04:18:26.000Z | compiler/luci/pass/src/RemoveUnnecessaryStridedSlicePass.test.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 28.601399 | 84 | 0.687042 | [
"shape",
"vector"
] |
6a2b05fb6bc2c6423f0d2f607550585c66f8185d | 1,738 | cpp | C++ | c++/combination_sum_ii.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | c++/combination_sum_ii.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | c++/combination_sum_ii.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | /*
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
Each number in C may only be used once in the combination.
Note:
All numbers (including target) will be positive integers.
The solution set must not contain duplicate combin... | 25.558824 | 141 | 0.552359 | [
"vector"
] |
6a2d1cd0a8343dbf2b81ba1205e333eeca17025d | 2,192 | hpp | C++ | include/indri/WeightedSumNode.hpp | whuang022nccu/IndriLab | 24d13dca14c7c447a4acedb45d7d1ef83551f6ac | [
"Apache-2.0"
] | 2 | 2020-02-16T07:46:47.000Z | 2020-11-23T06:50:19.000Z | include/indri/WeightedSumNode.hpp | whuang022nccu/IndriLab | 24d13dca14c7c447a4acedb45d7d1ef83551f6ac | [
"Apache-2.0"
] | null | null | null | include/indri/WeightedSumNode.hpp | whuang022nccu/IndriLab | 24d13dca14c7c447a4acedb45d7d1ef83551f6ac | [
"Apache-2.0"
] | null | null | null | /*==========================================================================
* Copyright (c) 2004 University of Massachusetts. All Rights Reserved.
*
* Use of the Lemur Toolkit for Language Modeling and Information Retrieval
* is subject to the terms of the software license set forth in the LICENSE
* file include... | 32.716418 | 165 | 0.665602 | [
"vector"
] |
6a2ea79822d06a59f168bda9cbf30152c3b1c2fd | 2,316 | cpp | C++ | nucleus/library/tests_basis/test_boilerplate.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | 2 | 2019-01-22T23:34:37.000Z | 2021-10-31T15:44:15.000Z | nucleus/library/tests_basis/test_boilerplate.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | 2 | 2020-06-01T16:35:46.000Z | 2021-10-05T21:02:09.000Z | nucleus/library/tests_basis/test_boilerplate.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************\
* *
* Name : test_boilerplate *
* Author : Chris Koeritz *
... | 38.6 | 83 | 0.475389 | [
"object"
] |
6a3317908f5140fb868e15d86e43dd913984c0f4 | 1,109 | cpp | C++ | codeforces/A - GCD Table/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/A - GCD Table/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/A - GCD Table/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Mar/19/2019 17:30
* solution_verdict: Accepted language: GNU C++14
* run... | 29.972973 | 111 | 0.408476 | [
"vector"
] |
6a42328738e26e6794f62f16d60d5f3eed453f47 | 11,387 | cc | C++ | zircon/tools/blobfs/main.cc | lalrochhara/fuchsia | f56c62fa108cfd72b8034eeddb4e403f1f69fdbd | [
"BSD-2-Clause"
] | null | null | null | zircon/tools/blobfs/main.cc | lalrochhara/fuchsia | f56c62fa108cfd72b8034eeddb4e403f1f69fdbd | [
"BSD-2-Clause"
] | null | null | null | zircon/tools/blobfs/main.cc | lalrochhara/fuchsia | f56c62fa108cfd72b8034eeddb4e403f1f69fdbd | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2017 The Fuchsia 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 <inttypes.h>
#include <string.h>
#include <sys/stat.h>
#include <zircon/errors.h>
#include <algorithm>
#include <filesystem>
#include <memory>
#i... | 29.197436 | 100 | 0.644946 | [
"vector"
] |
6a449defc771e9992ecba88d2bcaa7319187a618 | 829 | cpp | C++ | aws-cpp-sdk-quicksight/source/model/CreateThemeAliasRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-quicksight/source/model/CreateThemeAliasRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-quicksight/source/model/CreateThemeAliasRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/quicksight/model/CreateThemeAliasRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::QuickSight::Model;
using namespace Aws::Utils::Json;... | 20.725 | 69 | 0.758745 | [
"model"
] |
c6a22891ecef39afeb604bf13fd4b9e805c49cc7 | 53,851 | cpp | C++ | primitives.cpp | ichristen/pGDS | c6959ea7db0cc01549eb170b7fdc273801735dbc | [
"MIT"
] | null | null | null | primitives.cpp | ichristen/pGDS | c6959ea7db0cc01549eb170b7fdc273801735dbc | [
"MIT"
] | null | null | null | primitives.cpp | ichristen/pGDS | c6959ea7db0cc01549eb170b7fdc273801735dbc | [
"MIT"
] | null | null | null | #include "primitives.hpp"
// CLOSED PRIMITIVES ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
POLYLINE rect(VECTOR u, VECTOR v) {
POLYLINE toReturn = POLYLINE(4);
toReturn.isClosed = true;
// u.printNL();
// v.printNL();
... | 33.911209 | 235 | 0.488607 | [
"vector"
] |
c6a55f1e5e4a131ab2a35e3bd650de7520033f57 | 1,218 | cpp | C++ | src/pycpp_examples/src/main.cpp | RAIL-group/RAIL-software-infrastructure-demos | 98efc7d5d93957e85e9a10cb3881bf824b3f6187 | [
"MIT"
] | 2 | 2021-12-27T11:46:01.000Z | 2022-03-24T01:19:18.000Z | src/pycpp_examples/src/main.cpp | RAIL-group/RAIL-software-infrastructure-demos | 98efc7d5d93957e85e9a10cb3881bf824b3f6187 | [
"MIT"
] | null | null | null | src/pycpp_examples/src/main.cpp | RAIL-group/RAIL-software-infrastructure-demos | 98efc7d5d93957e85e9a10cb3881bf824b3f6187 | [
"MIT"
] | 1 | 2022-03-11T18:21:35.000Z | 2022-03-11T18:21:35.000Z | #include <pybind11/pybind11.h>
#include <pybind11/eigen.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include <pose.hpp>
#include <examples.hpp>
#include <vector>
#include <array>
#include <map>
namespace py = pybind11;
PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>);
PYBIND11_MODULE(pycpp_example... | 25.914894 | 60 | 0.584565 | [
"vector"
] |
c6a9d683d7260d75af9999f7350f199462337d60 | 7,850 | hpp | C++ | src/open_viii/graphics/background/Deswizzle.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | 2 | 2020-04-30T22:12:06.000Z | 2020-05-01T07:06:26.000Z | src/open_viii/graphics/background/Deswizzle.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | 9 | 2020-04-26T01:52:21.000Z | 2020-05-20T21:10:28.000Z | src/open_viii/graphics/background/Deswizzle.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | null | null | null | // This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be usefu... | 35.044643 | 79 | 0.553248 | [
"vector",
"transform"
] |
c6aa94a02cfadcfa55f1a67dd7052ab09e66ef97 | 4,606 | cpp | C++ | unit_test/service_node.cpp | loki-project/loki-storage-server | c992071152d9c271aa0ca6e00ad6f383a6899aa0 | [
"MIT"
] | 13 | 2018-10-30T05:53:56.000Z | 2020-08-12T07:24:15.000Z | unit_test/service_node.cpp | loki-project/loki-storage-server | c992071152d9c271aa0ca6e00ad6f383a6899aa0 | [
"MIT"
] | 104 | 2018-11-05T02:03:57.000Z | 2021-01-13T19:49:03.000Z | unit_test/service_node.cpp | loki-project/loki-storage-server | c992071152d9c271aa0ca6e00ad6f383a6899aa0 | [
"MIT"
] | 28 | 2018-11-12T04:28:54.000Z | 2021-01-08T10:15:23.000Z | #include <catch2/catch.hpp>
#include <iostream>
#include "oxend_key.h"
#include "request_handler.h"
#include "swarm.h"
#include "time.hpp"
#include <oxenmq/base64.h>
using namespace std::literals;
static auto create_dummy_sn_record() -> oxen::sn_record {
const auto pk = oxen::legacy_pubkey::from_hex(
"... | 39.033898 | 99 | 0.708207 | [
"vector"
] |
c6c0fc08ad464b6de504a3f324b4dca395c37c21 | 16,099 | cpp | C++ | examples/timestampquery/timestampquery.cpp | jekstrand/SaschaWillems-Vulkan | 2f792035aa21bac760b3e8c83f868e0407964bde | [
"MIT"
] | null | null | null | examples/timestampquery/timestampquery.cpp | jekstrand/SaschaWillems-Vulkan | 2f792035aa21bac760b3e8c83f868e0407964bde | [
"MIT"
] | null | null | null | examples/timestampquery/timestampquery.cpp | jekstrand/SaschaWillems-Vulkan | 2f792035aa21bac760b3e8c83f868e0407964bde | [
"MIT"
] | 1 | 2018-07-14T12:49:18.000Z | 2018-07-14T12:49:18.000Z | /*
* Vulkan Example - Using device timestamps for performance measurements
*
* Copyright (C) 2017 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#includ... | 35.460352 | 146 | 0.767004 | [
"mesh",
"render",
"object",
"vector",
"model"
] |
c6c4e14d991ba3a9fb26640677097ce86b74c411 | 44,530 | cpp | C++ | src/toGLSL.cpp | knah/HLSLcc | f57aece878ea5b2a0f0ed0ee1ea26c1c34ba54c8 | [
"MIT"
] | 691 | 2016-11-16T12:01:24.000Z | 2022-03-27T18:21:00.000Z | src/toGLSL.cpp | knah/HLSLcc | f57aece878ea5b2a0f0ed0ee1ea26c1c34ba54c8 | [
"MIT"
] | 44 | 2016-11-17T06:09:21.000Z | 2022-02-11T03:31:45.000Z | src/toGLSL.cpp | knah/HLSLcc | f57aece878ea5b2a0f0ed0ee1ea26c1c34ba54c8 | [
"MIT"
] | 102 | 2016-11-16T22:35:11.000Z | 2022-02-23T06:23:34.000Z | #include <memory>
#include "internal_includes/tokens.h"
#include "internal_includes/decode.h"
#include "stdlib.h"
#include "stdio.h"
#include "bstrlib.h"
#include "internal_includes/toGLSL.h"
#include "internal_includes/toGLSLOperand.h"
#include "internal_includes/Declaration.h"
#include "internal_includes/languages.h... | 37.388749 | 281 | 0.60009 | [
"vector",
"model",
"transform",
"3d"
] |
c6cf7a91fa5e17c1961027c1da7bb5056b71860e | 16,325 | cpp | C++ | Zombie_Game/src/MainGame.cpp | Alejandro-Casanova/Advanced-C-and-Graphics | e7876b23e1cde3368c73fb7e34ebcbc3cb141704 | [
"MIT"
] | null | null | null | Zombie_Game/src/MainGame.cpp | Alejandro-Casanova/Advanced-C-and-Graphics | e7876b23e1cde3368c73fb7e34ebcbc3cb141704 | [
"MIT"
] | null | null | null | Zombie_Game/src/MainGame.cpp | Alejandro-Casanova/Advanced-C-and-Graphics | e7876b23e1cde3368c73fb7e34ebcbc3cb141704 | [
"MIT"
] | null | null | null | #include "MainGame.h"
#include "Zombie.h"
#include "Gun.h"
#include <Bengine/include/BengineErrors.h>
#include <Bengine/include/Bengine.h>
#include <Bengine/include/Timing.h>
#include <Bengine/include/ResourceManager.h>
#include <glm/gtx/rotate_vector.hpp>
#include <iostream>
#include <string>
#include <random>
#inc... | 30.801887 | 169 | 0.591853 | [
"render",
"object",
"vector"
] |
c6d796bc9d9344cf7eb79910d572fb9cd2928324 | 3,385 | cpp | C++ | test/unit/meta/as_integer.cpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | test/unit/meta/as_integer.cpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | test/unit/meta/as_integer.cpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 35.260417 | 103 | 0.627179 | [
"vector"
] |
c6d966bb67efb5a53fd3d14d8ae58feceafca67f | 15,436 | cc | C++ | src/cuba/ecuba.cc | lpzun/cuba | 5fff346cf860e54e1c71a107ca4b0348a6a6d8a3 | [
"MIT"
] | null | null | null | src/cuba/ecuba.cc | lpzun/cuba | 5fff346cf860e54e1c71a107ca4b0348a6a6d8a3 | [
"MIT"
] | null | null | null | src/cuba/ecuba.cc | lpzun/cuba | 5fff346cf860e54e1c71a107ca4b0348a6a6d8a3 | [
"MIT"
] | null | null | null | /**
* Explicit CUBA
*
* @date : Sep 28, 2016
* @author: Peizun Liu
*/
#include "cuba.hh"
namespace cuba {
/**
* Constructor for explicit version of CUBA; calling base_cuba
* Set up the initial global state, target state, concurrent pushdown
* system and the overapproximation of reachable top states.
*
... | 29.972816 | 80 | 0.649974 | [
"vector"
] |
c6da2716a81f40f45d8fa1622794e950c381a08b | 359 | cc | C++ | Toki/src/Language.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2019-07-29T04:07:29.000Z | 2019-07-29T04:07:29.000Z | Toki/src/Language.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | null | null | null | Toki/src/Language.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2020-03-04T17:13:04.000Z | 2020-03-04T17:13:04.000Z | /*
* Copyright (C) 2007-2022 Frank Mertens.
*
* Distribution and use is allowed under the terms of the zlib license
* (see cc/LICENSE-zlib).
*
*/
#include <cc/toki/Language>
#include <cc/toki/Registry>
namespace cc::toki {
Language::Language(State *newState):
Object{newState}
{
Registry{}.registerLangu... | 17.095238 | 70 | 0.682451 | [
"object"
] |
c6dc4270b3810681e4d26ccc7e02273c18a9fe9e | 1,848 | cpp | C++ | Questions Level-Wise/Medium/design-add-and-search-words-data-structure.cpp | PrakharPipersania/LeetCode-Solutions | ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7 | [
"MIT"
] | 2 | 2021-03-05T22:32:23.000Z | 2021-03-05T22:32:29.000Z | Trie/design-add-and-search-words-data-structure.cpp | PrakharPipersania/LeetCode-Solutions | ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7 | [
"MIT"
] | null | null | null | Trie/design-add-and-search-words-data-structure.cpp | PrakharPipersania/LeetCode-Solutions | ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7 | [
"MIT"
] | null | null | null | class WordDictionary {
public:
/** Initialize your data structure here. */
class Trie
{
public:
vector<Trie*> x;
Trie():x(26){}
string word;
};
Trie *root;
WordDictionary() {root=new Trie;}
/** Adds a word into the data structure. */
void addWord(string wo... | 26.4 | 70 | 0.409091 | [
"object",
"vector"
] |
c6dd250938d8f262273c5b1650effcb1e2d3cdf7 | 9,596 | cpp | C++ | src/jyut-dict/components/settings/advancedtab.cpp | aaronhktan/jyut-dict | d1a3f22af224f35cde312b7e664d3e392c8af3db | [
"MIT"
] | 52 | 2019-01-20T20:40:15.000Z | 2022-03-11T01:29:34.000Z | src/jyut-dict/components/settings/advancedtab.cpp | aaronhktan/jyut-dict | d1a3f22af224f35cde312b7e664d3e392c8af3db | [
"MIT"
] | 58 | 2019-01-30T06:35:53.000Z | 2022-02-20T03:33:18.000Z | src/jyut-dict/components/settings/advancedtab.cpp | aaronhktan/jyut-dict | d1a3f22af224f35cde312b7e664d3e392c8af3db | [
"MIT"
] | 1 | 2021-08-03T03:46:36.000Z | 2021-08-03T03:46:36.000Z | #include "advancedtab.h"
#include "logic/database/sqldatabasemanager.h"
#include "logic/settings/settingsutils.h"
#ifdef Q_OS_MAC
#include "logic/utils/utils_mac.h"
#elif defined (Q_OS_LINUX)
#include "logic/utils/utils_linux.h"
#elif defined(Q_OS_WIN)
#include "logic/utils/utils_windows.h"
#endif
#include <QApplicat... | 35.279412 | 90 | 0.637557 | [
"solid"
] |
c6e033cf35e61925e1d6e234dc04c35e379412d3 | 575 | cpp | C++ | 1038.cpp | CN-GuoZiyang/PAT | e075fb96b90ac5445c901416a4b15b7c325dab8e | [
"MIT"
] | null | null | null | 1038.cpp | CN-GuoZiyang/PAT | e075fb96b90ac5445c901416a4b15b7c325dab8e | [
"MIT"
] | null | null | null | 1038.cpp | CN-GuoZiyang/PAT | e075fb96b90ac5445c901416a4b15b7c325dab8e | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <sstream>
using namespace std;
bool cmp(string a, string b)
{
return a+b < b+a;
}
int main()
{
int n;
cin >> n;
vector<string> ss(n);
for (int i = 0; i < n; i++)
{
cin >> ss[i];
}
sort(ss.beg... | 15.972222 | 41 | 0.462609 | [
"vector"
] |
c6e0f2ccbe50118da5404b1566424ae907ad3b38 | 4,537 | cxx | C++ | Modules/Core/LabelMap/test/otbKMeansAttributesLabelMapFilter.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 2 | 2019-02-13T14:48:19.000Z | 2019-12-03T02:54:28.000Z | Modules/Core/LabelMap/test/otbKMeansAttributesLabelMapFilter.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 3 | 2015-10-14T10:11:38.000Z | 2015-10-15T08:26:23.000Z | Modules/Core/LabelMap/test/otbKMeansAttributesLabelMapFilter.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 2 | 2019-01-17T10:36:14.000Z | 2019-12-03T02:54:36.000Z | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 37.808333 | 119 | 0.688781 | [
"vector"
] |
c6eca2780b2704774038ae09b0f8c69751e95f77 | 3,035 | cpp | C++ | gtsam/geometry/StereoCamera.cpp | sdmiller/gtsam_pcl | 1e607bd75090d35e325a8fb37a6c5afe630f1207 | [
"BSD-3-Clause"
] | 11 | 2015-02-04T16:41:47.000Z | 2021-12-10T07:02:44.000Z | gtsam/geometry/StereoCamera.cpp | sdmiller/gtsam_pcl | 1e607bd75090d35e325a8fb37a6c5afe630f1207 | [
"BSD-3-Clause"
] | null | null | null | gtsam/geometry/StereoCamera.cpp | sdmiller/gtsam_pcl | 1e607bd75090d35e325a8fb37a6c5afe630f1207 | [
"BSD-3-Clause"
] | 6 | 2015-09-10T12:06:08.000Z | 2021-12-10T07:02:48.000Z | /* ----------------------------------------------------------------------------
*GTSAM Copyright 2010, Georgia Tech Research Corporation,
*Atlanta, Georgia 30332-0415
*All Rights Reserved
*Authors: Frank Dellaert, et al. (see THANKS for the full author list)
*See LICENSE for the license information
*----------------... | 30.656566 | 81 | 0.523888 | [
"geometry"
] |
c6eeadf0b0fb17244408fc4deb4a0198f068b880 | 289 | cpp | C++ | luogu/p1046.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | luogu/p1046.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | luogu/p1046.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
vector<int> apple(10);
for(int i = 0; i < 10; i++) cin>>apple[i];
int ans = 0, height;
cin >> height;
for(int i = 0; i < 10; i++)
if(apple[i] <= height+30) ans++;
cout<<ans<<endl;
return 0;
}
| 18.0625 | 46 | 0.512111 | [
"vector"
] |
c6f4532a96b69db169f0f892dc5c17c6667435ac | 11,185 | cpp | C++ | ca_gazebo/src/create_imu_plugin.cpp | kanpapa/create_autonomy | 617844c69b769f8a7a7535cb223323272035e131 | [
"BSD-3-Clause"
] | 20 | 2019-07-31T08:55:41.000Z | 2022-02-12T04:11:23.000Z | ca_gazebo/src/create_imu_plugin.cpp | kanpapa/create_autonomy | 617844c69b769f8a7a7535cb223323272035e131 | [
"BSD-3-Clause"
] | 121 | 2019-01-24T03:38:07.000Z | 2021-03-22T18:24:43.000Z | ca_gazebo/src/create_imu_plugin.cpp | serraramiro1/create_autonomy | 156983a0db1a23ad23ad17e23fe1856fd7167a5b | [
"BSD-3-Clause"
] | 39 | 2018-12-17T23:55:12.000Z | 2022-02-20T23:46:17.000Z | /*
* Copyright 2013 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 35.39557 | 100 | 0.65114 | [
"transform",
"3d"
] |
c6f51bfd2a7d623dd9a7954656f072e6fcfb56f9 | 4,703 | hh | C++ | src/impl/scaling.hh | Wei-N-Ning/autotimer | 4f12a1af73676171b038032a398e28d610b60b6a | [
"BSD-2-Clause"
] | 3 | 2020-12-28T03:05:29.000Z | 2021-01-05T13:27:30.000Z | src/impl/scaling.hh | Wei-N-Ning/autotimer | 4f12a1af73676171b038032a398e28d610b60b6a | [
"BSD-2-Clause"
] | null | null | null | src/impl/scaling.hh | Wei-N-Ning/autotimer | 4f12a1af73676171b038032a398e28d610b60b6a | [
"BSD-2-Clause"
] | null | null | null | //
// Created by weining on 2/1/21.
//
#ifndef AUTOTIMER_SCALING_HH
#define AUTOTIMER_SCALING_HH
#include "measurable.hh"
#include "time_record.hh"
#include "utilities.hh"
#include <iostream>
#include <tuple>
#include <chrono>
#include <vector>
#include <type_traits>
#include <memory>
namespace AutoTimer::Scaling
{... | 22.941463 | 98 | 0.563045 | [
"vector"
] |
c6fc79028e0ebd1242e894b88da2b37f1dec996c | 1,470 | cpp | C++ | Samples/Tests/Shapes/SphereShapeTest.cpp | All8Up/JoltPhysics | 751d13891f5bd8850863ad236eaa3c340e90de9a | [
"MIT"
] | 1,311 | 2021-08-16T07:37:05.000Z | 2022-03-31T21:13:39.000Z | Samples/Tests/Shapes/SphereShapeTest.cpp | All8Up/JoltPhysics | 751d13891f5bd8850863ad236eaa3c340e90de9a | [
"MIT"
] | 102 | 2021-08-28T14:41:32.000Z | 2022-03-31T20:25:55.000Z | Samples/Tests/Shapes/SphereShapeTest.cpp | All8Up/JoltPhysics | 751d13891f5bd8850863ad236eaa3c340e90de9a | [
"MIT"
] | 65 | 2021-08-16T07:59:04.000Z | 2022-03-28T06:18:49.000Z | // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
// SPDX-License-Identifier: MIT
#include <TestFramework.h>
#include <Tests/Shapes/SphereShapeTest.h>
#include <Physics/Collision/Shape/SphereShape.h>
#include <Physics/Body/BodyCreationSettings.h>
#include <Layers.h>
JPH_IMPLEMENT_RTTI_VIRTUAL(SphereShapeTest)
{
JPH_AD... | 39.72973 | 203 | 0.743537 | [
"shape"
] |
c6fd7b60edf5c0690733fb8660bbefe4f855e9ca | 2,662 | cpp | C++ | src/components.cpp | arashbm/dag-python | a62761d516daf3a129f6a75359e1b09047ede6f2 | [
"MIT"
] | null | null | null | src/components.cpp | arashbm/dag-python | a62761d516daf3a129f6a75359e1b09047ede6f2 | [
"MIT"
] | null | null | null | src/components.cpp | arashbm/dag-python | a62761d516daf3a129f6a75359e1b09047ede6f2 | [
"MIT"
] | null | null | null | #include <vector>
#include <pybind11/pybind11.h>
#include <pybind11/operators.h>
#include <fmt/format.h>
#include <reticula/components.hpp>
#include "type_str/components.hpp"
#include "type_utils.hpp"
#include "type_handles.hpp"
namespace py = pybind11;
using namespace pybind11::literals;
template <typename VertT>... | 31.317647 | 79 | 0.596544 | [
"vector",
"transform"
] |
05005023f8917bc9aeaf49317e2ca15a8973bf17 | 624 | cpp | C++ | deps/src/boost_1_65_1/libs/fusion/test/sequence/test_deduce_sequence.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | deps/src/boost_1_65_1/libs/fusion/test/sequence/test_deduce_sequence.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | deps/src/boost_1_65_1/libs/fusion/test/sequence/test_deduce_sequence.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /*=============================================================================
Copyright (c) 2009 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================... | 27.130435 | 80 | 0.543269 | [
"vector"
] |
050662276e15c78184b7b4ff29c3886aa373e317 | 12,182 | hpp | C++ | include/apollo/class.hpp | Oberon00/apollo | 831f4e505afaa04ea827e99f4ced247bb0f0e476 | [
"BSD-2-Clause"
] | 25 | 2016-01-04T23:07:06.000Z | 2022-03-03T11:24:55.000Z | include/apollo/class.hpp | Oberon00/apollo | 831f4e505afaa04ea827e99f4ced247bb0f0e476 | [
"BSD-2-Clause"
] | 2 | 2018-05-21T18:15:49.000Z | 2018-05-21T18:47:05.000Z | include/apollo/class.hpp | Oberon00/apollo | 831f4e505afaa04ea827e99f4ced247bb0f0e476 | [
"BSD-2-Clause"
] | 6 | 2019-12-05T04:05:06.000Z | 2022-03-03T11:24:38.000Z | // Part of the apollo library -- Copyright (c) Christian Neumüller 2015
// This file is subject to the terms of the BSD 2-Clause License.
// See LICENSE.txt or http://opensource.org/licenses/BSD-2-Clause
#ifndef APOLLO_CLASS_HPP_INCLUDED
#define APOLLO_CLASS_HPP_INCLUDED APOLLO_CLASS_HPP_INCLUDED
#include <apollo/con... | 30.303483 | 80 | 0.626991 | [
"object"
] |
05067dd83a655c21e753a2508b7ea7f97d3ca75a | 1,281 | cpp | C++ | simpleBFS/main.cpp | zlum/simple | b5eaf45ad814ec6a2236828ce2ae78b16193bfc1 | [
"MIT"
] | null | null | null | simpleBFS/main.cpp | zlum/simple | b5eaf45ad814ec6a2236828ce2ae78b16193bfc1 | [
"MIT"
] | null | null | null | simpleBFS/main.cpp | zlum/simple | b5eaf45ad814ec6a2236828ce2ae78b16193bfc1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <cstdint>
#include <unordered_map>
#include <vector>
#include <queue>
#include <algorithm>
using namespace std;
int bsd(const unordered_map<string, vector<string>>& graph)
{
vector<string> checked;
queue<string> checking;
checking.push("Alice");
while(!... | 18.838235 | 72 | 0.529274 | [
"vector"
] |
051275978a5dc7552957c96afb79e7539b52ade0 | 23,299 | cxx | C++ | source/OOSQL/MinMaxHeap/OOSQL_MinMaxHeap.cxx | odysseus-oosql/ODYSSEUS-OOSQL | 49a5e32b6f73cea611dafdcc0e6767f80d4450ae | [
"BSD-3-Clause"
] | 6 | 2016-08-29T08:03:21.000Z | 2022-03-25T09:56:23.000Z | source/OOSQL/MinMaxHeap/OOSQL_MinMaxHeap.cxx | odysseus-oosql/ODYSSEUS-OOSQL | 49a5e32b6f73cea611dafdcc0e6767f80d4450ae | [
"BSD-3-Clause"
] | null | null | null | source/OOSQL/MinMaxHeap/OOSQL_MinMaxHeap.cxx | odysseus-oosql/ODYSSEUS-OOSQL | 49a5e32b6f73cea611dafdcc0e6767f80d4450ae | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************/
/* */
/* Copyright (c) 1990-2016, KAIST */
/* All rights reserved. ... | 28.241212 | 114 | 0.56981 | [
"object"
] |
05145eebbc81765ed8c3e0fe5012c511272092fd | 9,370 | cpp | C++ | src/lib/server/ObjectControllerBasis.cpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | 1 | 2021-05-21T21:10:09.000Z | 2021-05-21T21:10:09.000Z | src/lib/server/ObjectControllerBasis.cpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | 12 | 2021-06-12T16:42:30.000Z | 2022-02-01T18:44:42.000Z | src/lib/server/ObjectControllerBasis.cpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020-2021 Grant Erickson
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | 31.762712 | 153 | 0.627748 | [
"object"
] |
0516440fb7e04597956eee53f1e8aade1e9c11a8 | 28,780 | cpp | C++ | sdk/src/cameras/3d-smart-camera/camera_3d_smart.cpp | AkshayKurhade/aditof_sdk | dd6146e7cb65b56d4ce61e4fd771e94ea4976a89 | [
"BSD-3-Clause"
] | 1 | 2022-01-26T00:21:07.000Z | 2022-01-26T00:21:07.000Z | sdk/src/cameras/3d-smart-camera/camera_3d_smart.cpp | AkshayKurhade/aditof_sdk | dd6146e7cb65b56d4ce61e4fd771e94ea4976a89 | [
"BSD-3-Clause"
] | null | null | null | sdk/src/cameras/3d-smart-camera/camera_3d_smart.cpp | AkshayKurhade/aditof_sdk | dd6146e7cb65b56d4ce61e4fd771e94ea4976a89 | [
"BSD-3-Clause"
] | null | null | null | /*
* BSD 3-Clause License
*
* Copyright (c) 2019, Analog Devices, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyrigh... | 34.716526 | 81 | 0.593259 | [
"vector",
"3d"
] |
051c551beaba335240524115c902130c01d1a0a5 | 3,190 | cpp | C++ | test/misc/misc-unit-str.cpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 121 | 2018-05-23T19:51:00.000Z | 2022-03-12T13:05:34.000Z | test/misc/misc-unit-str.cpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 36 | 2019-11-11T03:25:10.000Z | 2022-03-28T21:54:07.000Z | test/misc/misc-unit-str.cpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 17 | 2018-05-24T04:01:28.000Z | 2022-01-16T13:22:26.000Z | // -*- C++ -*-
// Copyright (C) Dmitry Igrishin
// For conditions of distribution and use, see files LICENSE.txt
#include <dmitigr/misc/str.hpp>
#include <dmitigr/misc/testo.hpp>
int main(int, char* argv[])
{
namespace str = dmitigr::str;
using namespace dmitigr::testo;
try {
// ---------------------------... | 22.307692 | 80 | 0.436364 | [
"vector"
] |
051cac6594ae71c1a55c729e5144a7433230b2f2 | 5,291 | hpp | C++ | include/static_json.hpp | avplayer/static_json | 2e70f188b4342a3bc691ad1506740e04696c8c3a | [
"BSL-1.0"
] | 44 | 2019-02-15T15:24:55.000Z | 2021-12-16T13:10:33.000Z | include/static_json.hpp | avplayer/static_json | 2e70f188b4342a3bc691ad1506740e04696c8c3a | [
"BSL-1.0"
] | 1 | 2019-05-09T02:08:21.000Z | 2019-05-27T10:18:05.000Z | include/static_json.hpp | avplayer/static_json | 2e70f188b4342a3bc691ad1506740e04696c8c3a | [
"BSL-1.0"
] | 13 | 2019-02-16T13:42:23.000Z | 2021-12-16T13:10:31.000Z | //
// Copyright (C) 2019 Jack.
//
// Author: jack
// Email: jack.wgm at gmail dot com
//
#pragma once
#include <cassert>
#include <string>
#include <memory>
#include <vector>
#include <map>
#include <unordered_map>
#include <optional>
#include <type_traits>
#ifndef BACKEND_RAPIDJSON
# define BA... | 25.809756 | 118 | 0.685504 | [
"vector"
] |
0520324368b0c58366eb12af2d45353f114045c0 | 10,723 | hpp | C++ | include/SPIMat.hpp | srharris91/PETSC_LIB | 1f824ef42253a056f550c9c69c9d16f34956f336 | [
"MIT"
] | 1 | 2021-02-17T21:27:11.000Z | 2021-02-17T21:27:11.000Z | include/SPIMat.hpp | srharris91/PETSC_LIB | 1f824ef42253a056f550c9c69c9d16f34956f336 | [
"MIT"
] | null | null | null | include/SPIMat.hpp | srharris91/PETSC_LIB | 1f824ef42253a056f550c9c69c9d16f34956f336 | [
"MIT"
] | null | null | null | #ifndef SPIMAT_H
#define SPIMAT_H
#include <iostream>
#include <vector>
#include <petscksp.h>
#include <petscmath.h>
#include <slepceps.h>
#include <slepcpep.h>
#include <string>
#include <tuple>
#include "SPIVec.hpp"
namespace SPI{
template <class T>
using Block2D = std::vector<std::vector<T>>;
struc... | 81.234848 | 371 | 0.687401 | [
"vector"
] |
052172eac3abbe77de7d7eab735bd85d5928071b | 666 | cpp | C++ | Codeforces/Gravity Flip/file.cpp | s1nisteR/CPSolutions | b840f1f1c7283b4bb581d1d5d54c27a828f5601d | [
"MIT"
] | 1 | 2022-02-05T10:54:11.000Z | 2022-02-05T10:54:11.000Z | Codeforces/Gravity Flip/file.cpp | s1nisteR/CPSolutions | b840f1f1c7283b4bb581d1d5d54c27a828f5601d | [
"MIT"
] | null | null | null | Codeforces/Gravity Flip/file.cpp | s1nisteR/CPSolutions | b840f1f1c7283b4bb581d1d5d54c27a828f5601d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
void solve()
{
int n, a;
cin >> n;
vector<int> ai;
for(int i = 0; i < n; ++i)
{
cin >> a;
ai.push_back(a);
}
sort(ai.begin(), ai.end());
for(auto& x : ai)
{
cout << x << " ";
}
cout << "\n";
}
int main()... | 13.875 | 37 | 0.459459 | [
"vector"
] |
0522b1fa6206956a24054eb6b062e821f6ae07b3 | 12,105 | cpp | C++ | Analysis/src/AstQuery.cpp | Sharksie/luau | 14bbf3e8b8b7e5b85addec5315629852831d0f2f | [
"MIT"
] | 1 | 2021-12-05T21:53:03.000Z | 2021-12-05T21:53:03.000Z | Analysis/src/AstQuery.cpp | Sharksie/luau | 14bbf3e8b8b7e5b85addec5315629852831d0f2f | [
"MIT"
] | null | null | null | Analysis/src/AstQuery.cpp | Sharksie/luau | 14bbf3e8b8b7e5b85addec5315629852831d0f2f | [
"MIT"
] | null | null | null | // This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#include "Luau/AstQuery.h"
#include "Luau/Module.h"
#include "Luau/Scope.h"
#include "Luau/TypeInfer.h"
#include "Luau/TypeVar.h"
#include "Luau/ToString.h"
#include "Luau/Common.h"
#include <algorith... | 28.216783 | 147 | 0.559108 | [
"vector"
] |
0524ac7abfd20d2bd4230de7482223a65d3d099c | 1,847 | hpp | C++ | packages/motionPlanning/include/int/cMotionPlanner.hpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | 2 | 2021-01-15T13:27:19.000Z | 2021-08-04T08:40:52.000Z | packages/motionPlanning/include/int/cMotionPlanner.hpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | null | null | null | packages/motionPlanning/include/int/cMotionPlanner.hpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | 5 | 2018-05-01T10:39:31.000Z | 2022-03-25T03:02:35.000Z | // Copyright 2017-2020 Jan Feitsma (Falcons)
// SPDX-License-Identifier: Apache-2.0
/*
* cMotionPlanner.hpp
*
* Created on: Nov 17, 2017
* Author: Jan Feitsma
*/
#ifndef CMOTIONPLANNER_HPP_
#define CMOTIONPLANNER_HPP_
#include "falconsCommon.hpp"
#include "PathPlanningClient.hpp"
#include "int/cAllActions.... | 26.385714 | 105 | 0.660531 | [
"vector"
] |
0525bd1659684303aa299139af48a097c8cc32ce | 10,307 | hpp | C++ | include/mydolphin/mydolphin.hpp | ortfero/mydolphin | 86f0bead65524eb94a69d8eb0eb60674c6b217e4 | [
"MIT"
] | null | null | null | include/mydolphin/mydolphin.hpp | ortfero/mydolphin | 86f0bead65524eb94a69d8eb0eb60674c6b217e4 | [
"MIT"
] | null | null | null | include/mydolphin/mydolphin.hpp | ortfero/mydolphin | 86f0bead65524eb94a69d8eb0eb60674c6b217e4 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <cstdlib>
#include <string>
#include <ostream>
#include <thread>
#include <unordered_map>
#include <system_error>
#include <optional>
#ifdef _WIN32
#include <winsock.h>
#else
#include <sys/socket.h>
#endif
#include <mysql/mysql.h>
namespace mydolphin {
struct creden... | 22.553611 | 104 | 0.618027 | [
"vector"
] |
052c1ab808049e5fbbc4f74020e09787a56a5aec | 3,343 | hpp | C++ | include/LIEF/MachO/ExportInfo.hpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | include/LIEF/MachO/ExportInfo.hpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | include/LIEF/MachO/ExportInfo.hpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 29.324561 | 78 | 0.7242 | [
"object",
"vector"
] |
0532827210b58bdf1812a89df4ef6e55c0d78927 | 377 | cpp | C++ | components/xtl/tests/stl/foreach1.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/xtl/tests/stl/foreach1.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/xtl/tests/stl/foreach1.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include <stl/vector>
#include <stl/algorithm>
#include <stdio.h>
using namespace stl;
inline void print_sqr (int x)
{
printf ("%d ",x*x);
}
int main ()
{
printf ("Results of foreach1_test:\n");
vector <int> v1(10);
for (size_t i=0; i<v1.size();i++)
v1 [i] = (int)i;
for_each (v1.begin (),v1.end ()... | 14.5 | 55 | 0.588859 | [
"vector"
] |
053980329ef2070fb087c0cc7dbe8cea35628ddb | 7,062 | cpp | C++ | Projects/StoreAppLauncher/List.cpp | dmix90/StoreAppLauncher | 03d439a35bd1433f24f9d0e7cb834f5e82a3aca5 | [
"MIT"
] | 37 | 2016-04-12T23:52:57.000Z | 2021-01-06T16:17:23.000Z | Projects/StoreAppLauncher/List.cpp | dmix90/StoreAppLauncher | 03d439a35bd1433f24f9d0e7cb834f5e82a3aca5 | [
"MIT"
] | 6 | 2016-05-07T18:31:05.000Z | 2021-02-03T16:21:44.000Z | Projects/StoreAppLauncher/List.cpp | dmix90/StoreAppLauncher | 03d439a35bd1433f24f9d0e7cb834f5e82a3aca5 | [
"MIT"
] | 5 | 2016-04-02T04:05:30.000Z | 2017-11-28T23:03:48.000Z | #include "List.h"
List::List( )
{
m_hsActivateClassId.Set( RuntimeClass_Windows_Management_Deployment_PackageManager );
}
void List::InitializePackageManager( )
{
ComPtr<IActivationFactory> activationFactory;
RoGetActivationFactory( m_hsActivateClassId.Get( ), __uuidof( IActivationFactory ), (void**)&activationFact... | 23.54 | 115 | 0.636505 | [
"vector"
] |
053e19559892555b0377947f4358eb2531d35c37 | 6,633 | cpp | C++ | src/StyleSet.cpp | jmarquisbq/aqt-stylesheets | 119f3f94c4ac0f45864e8ef1ecb72bb6cb854eb7 | [
"BSL-1.0"
] | 141 | 2015-10-07T11:18:29.000Z | 2022-03-08T07:54:57.000Z | src/StyleSet.cpp | sirvelo/aqt-stylesheets | 4975488fcc34c52833d73e956eef90cc76ffc0f1 | [
"BSL-1.0"
] | 33 | 2015-11-18T16:35:43.000Z | 2022-01-25T17:01:34.000Z | src/StyleSet.cpp | sirvelo/aqt-stylesheets | 4975488fcc34c52833d73e956eef90cc76ffc0f1 | [
"BSL-1.0"
] | 38 | 2015-10-07T11:18:36.000Z | 2022-01-06T03:31:55.000Z | /*
Copyright (c) 2014-15 Ableton AG, Berlin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | 23.438163 | 87 | 0.694859 | [
"vector"
] |
054084a519ed57cd150fa3ce5efb14931ebdc0a5 | 8,532 | cc | C++ | src/statistics/ConditionalKDContextTree.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | src/statistics/ConditionalKDContextTree.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | src/statistics/ConditionalKDContextTree.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | /* -*- Mode: c++; -*- */
// copyright (c) 2010 by Christos Dimitrakakis <christos.dimitrakakis@gmail.com>
/***************************************************************************
* *
* This program is free software; you can redistribute it... | 32.196226 | 80 | 0.600563 | [
"vector",
"model"
] |
0548af05c98631d387ed872d56c0792e6d940f4a | 955 | cpp | C++ | Easy/1030-matrix-cells-in-distance-order.cpp | sandychn/LeetCode-Solutions | d0dd55d62b099c5b7db947822ab2111a4ecdc941 | [
"MIT"
] | null | null | null | Easy/1030-matrix-cells-in-distance-order.cpp | sandychn/LeetCode-Solutions | d0dd55d62b099c5b7db947822ab2111a4ecdc941 | [
"MIT"
] | null | null | null | Easy/1030-matrix-cells-in-distance-order.cpp | sandychn/LeetCode-Solutions | d0dd55d62b099c5b7db947822ab2111a4ecdc941 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<int>> allCellsDistOrder(int R, int C, int r0, int c0) {
static const int dx[] = {0, 0, -1, 1};
static const int dy[] = {-1, 1, 0, 0};
bool visit[105][105];
memset(visit, 0, sizeof(visit));
vector<vector<int>> res;
res... | 28.939394 | 92 | 0.398953 | [
"vector"
] |
d72a99ed90c362fc5eeb72a7ffe45a4f2030dedb | 1,015 | cpp | C++ | 2021/Round 1C/closest_pick.cpp | giuseppedandrea/Google-Code-Jam | 6f00ef24078cf45a3fe1bc183be96a36ed975f95 | [
"MIT"
] | null | null | null | 2021/Round 1C/closest_pick.cpp | giuseppedandrea/Google-Code-Jam | 6f00ef24078cf45a3fe1bc183be96a36ed975f95 | [
"MIT"
] | null | null | null | 2021/Round 1C/closest_pick.cpp | giuseppedandrea/Google-Code-Jam | 6f00ef24078cf45a3fe1bc183be96a36ed975f95 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
void rsolve() {
int n, k;
vector<int> v;
cin >> n;
cin >> k;
for (int i = 0; i < n; i++) {
int input;
cin >> input;
v.push_back(input);
}
sort(v.begin(), v.end());
v.resize(distance(v.begin(), unique(v.begin(), v.e... | 19.150943 | 70 | 0.452217 | [
"vector"
] |
d72e4d06c71cf4076b2618ebf4565f7c57523e00 | 2,239 | cpp | C++ | Telefon/main.cpp | rusucosmin/Cplusplus | 0e95cd01d20b22404aa4166c71d5a9e834a5a21b | [
"MIT"
] | 11 | 2015-08-29T13:41:22.000Z | 2020-01-08T20:34:06.000Z | Telefon/main.cpp | rusucosmin/Cplusplus | 0e95cd01d20b22404aa4166c71d5a9e834a5a21b | [
"MIT"
] | null | null | null | Telefon/main.cpp | rusucosmin/Cplusplus | 0e95cd01d20b22404aa4166c71d5a9e834a5a21b | [
"MIT"
] | 5 | 2016-01-20T18:17:01.000Z | 2019-10-30T11:57:15.000Z | #include <fstream>
#include <vector>
#include <bitset>
#include <stdio.h>
#include <queue>
using namespace std;
const char infile[] = "telefon2.in";
const char outfile[] = "telefon2.out";
const int MAXN = 100005;
const int oo = 0x3f3f3f3f;
typedef vector<int> Graph[MAXN];
typedef vector<int> :: iterator It;
const ... | 27.641975 | 86 | 0.485038 | [
"vector"
] |
d731ace03c1fe98dc3536b787981f4fb844a25d2 | 19,473 | cc | C++ | 3rdparty/pytorch/caffe2/operators/stylizer_ops.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/caffe2/operators/stylizer_ops.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/caffe2/operators/stylizer_ops.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | #include "caffe2/core/operator.h"
#include "caffe2/utils/cpu_neon.h"
#include "caffe2/utils/math.h"
#ifdef CAFFE2_USE_MKLDNN
#include <caffe2/ideep/operators/operator_fallback_ideep.h>
#include <caffe2/ideep/utils/ideep_operator.h>
#endif
namespace caffe2 {
#if defined(__ARM_NEON__) || defined(__ARM_NEON)
namespace ... | 32.509182 | 82 | 0.636163 | [
"vector"
] |
d732fcc9bbdcd04bc8fde4de5067f3a13affe67d | 61,645 | cpp | C++ | libraries/chain/wasm_interface.cpp | liuzijue/eos | fe106832bfccdb74a3e5ce09c114e5229150ffd9 | [
"MIT"
] | 2 | 2021-08-19T03:03:45.000Z | 2021-08-19T03:04:46.000Z | libraries/chain/wasm_interface.cpp | liuzijue/eos | fe106832bfccdb74a3e5ce09c114e5229150ffd9 | [
"MIT"
] | null | null | null | libraries/chain/wasm_interface.cpp | liuzijue/eos | fe106832bfccdb74a3e5ce09c114e5229150ffd9 | [
"MIT"
] | null | null | null | #include <eosio/chain/wasm_interface.hpp>
#include <eosio/chain/apply_context.hpp>
#include <eosio/chain/chain_controller.hpp>
#include <eosio/chain/producer_schedule.hpp>
#include <eosio/chain/asset.hpp>
#include <eosio/chain/exceptions.hpp>
#include <boost/core/ignore_unused.hpp>
#include <boost/multiprecision/cpp_bi... | 41.014637 | 176 | 0.634342 | [
"object",
"vector"
] |
d7355e108cb979da7e41d322a258b2a85a7de980 | 996 | cpp | C++ | Codeforces/236B - Easy Number Challenge.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/236B - Easy Number Challenge.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/236B - Easy Number Challenge.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
bool marks[1000100];
const int mod = 1073741824;
vector<pair<int, int>> pf[1000100];
void sieve( int n ) {
for (int i = 2; i <= n; ++i) {
if (marks[i]) continue;
for (int j = i + i; j <= n; j += i) {
marks[j] = 1;
int k = j, cnt... | 24.292683 | 100 | 0.400602 | [
"vector"
] |
d736ccca328d5f1738dcf12b4da21790ba5acbf1 | 9,923 | hpp | C++ | api/nblib/util/traits.hpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 384 | 2015-01-02T19:44:15.000Z | 2022-03-27T15:13:15.000Z | api/nblib/util/traits.hpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 9 | 2015-04-07T20:48:00.000Z | 2022-01-24T21:29:26.000Z | api/nblib/util/traits.hpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 258 | 2015-01-19T11:19:57.000Z | 2022-03-18T08:59:52.000Z | /*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gro... | 32.009677 | 117 | 0.714199 | [
"vector"
] |
d736f32bd265337cb243c4c66a4c0294ae2a3970 | 4,310 | cpp | C++ | Hardware/SIAM/BitShifter.cpp | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | 4 | 2021-02-02T06:50:43.000Z | 2022-01-29T12:25:32.000Z | Hardware/SIAM/BitShifter.cpp | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | null | null | null | Hardware/SIAM/BitShifter.cpp | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | 2 | 2021-07-07T19:58:40.000Z | 2022-01-27T22:51:20.000Z | /*******************************************************************************
* Copyright (c) 2017-2020
* School of Electrical, Computer and Energy Engineering, Arizona State University
* PI: Prof. Yu Cao
* All rights reserved.
*
* This source code is part of NeuroSim - a device-circuit-algorithm framework to ... | 34.206349 | 222 | 0.688167 | [
"model"
] |
d737e37f32943ba14cc89d1bcb5fd9df9cb53058 | 2,746 | cpp | C++ | src/Core/System/MountablePath.cpp | Tzupy/ObEngine | fa5c36aa41be1586088b76319c648d39c7f57cdf | [
"MIT"
] | null | null | null | src/Core/System/MountablePath.cpp | Tzupy/ObEngine | fa5c36aa41be1586088b76319c648d39c7f57cdf | [
"MIT"
] | null | null | null | src/Core/System/MountablePath.cpp | Tzupy/ObEngine | fa5c36aa41be1586088b76319c648d39c7f57cdf | [
"MIT"
] | null | null | null | #include <string>
#include <vector>
#include <vili/Vili.hpp>
#include <System/MountablePath.hpp>
#include <System/Package.hpp>
#include <System/Path.hpp>
#include <System/Workspace.hpp>
namespace obe::System
{
MountablePath::MountablePath(MountablePathType pathType,
const std::st... | 36.131579 | 80 | 0.502913 | [
"vector"
] |
d73fcf071299180af9ea90f1943a1f03e8b557bf | 27,627 | cpp | C++ | tests/SkVMDebugTracePlayerTest.cpp | cgrinker/skia | 5bde07651b26094835867ef7e24757095eedaa0c | [
"BSD-3-Clause"
] | 1 | 2022-01-01T07:16:38.000Z | 2022-01-01T07:16:38.000Z | tests/SkVMDebugTracePlayerTest.cpp | cgrinker/skia | 5bde07651b26094835867ef7e24757095eedaa0c | [
"BSD-3-Clause"
] | null | null | null | tests/SkVMDebugTracePlayerTest.cpp | cgrinker/skia | 5bde07651b26094835867ef7e24757095eedaa0c | [
"BSD-3-Clause"
] | 1 | 2022-01-01T07:16:41.000Z | 2022-01-01T07:16:41.000Z | /*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkM44.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/codegen/SkSLVMCodeGenerator.h"
#include "src/sksl/tracing/SkVMDebugTrace.h"
#include "src/... | 39.29872 | 100 | 0.559091 | [
"vector"
] |
d7401d07d40467ac4627a2f6f0591774db27ea97 | 2,721 | cpp | C++ | graph/1668.cpp | NavneelSinghal/cses | 05e4fb76817bc5366b15c36a05a2fa260454b352 | [
"MIT"
] | null | null | null | graph/1668.cpp | NavneelSinghal/cses | 05e4fb76817bc5366b15c36a05a2fa260454b352 | [
"MIT"
] | null | null | null | graph/1668.cpp | NavneelSinghal/cses | 05e4fb76817bc5366b15c36a05a2fa260454b352 | [
"MIT"
] | null | null | null | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
// smaller names
#define int long long
#define double long double
#define Int signed
#define vi vector<int>
#define vvi vector<vi>
#de... | 21.257813 | 77 | 0.54355 | [
"vector"
] |
d745394917020529e44189b3601ff0f8270983da | 10,668 | cpp | C++ | materialsystem/shaderapidx9/ctlfont.cpp | DannyParker0001/Kisak-Strike | 99ed85927336fe3aff2efd9b9382b2b32eb1d05d | [
"Unlicense"
] | 252 | 2020-12-16T15:34:43.000Z | 2022-03-31T23:21:37.000Z | cstrike15_src/materialsystem/shaderapidx9/ctlfont.cpp | bahadiraraz/Counter-Strike-Global-Offensive | 9a0534100cb98ffa1cf0c32e138f0e7971e910d3 | [
"MIT"
] | 23 | 2020-12-20T18:02:54.000Z | 2022-03-28T16:58:32.000Z | cstrike15_src/materialsystem/shaderapidx9/ctlfont.cpp | bahadiraraz/Counter-Strike-Global-Offensive | 9a0534100cb98ffa1cf0c32e138f0e7971e910d3 | [
"MIT"
] | 42 | 2020-12-19T04:32:33.000Z | 2022-03-30T06:00:28.000Z | // Copyright Electonic Arts(C) 2006 - All Rights Reserved
#include "filesystem.h"
#include "CTLFont.h"
#include "t2k.h"
#include "tlfont/fusionrasterizer.h"
#include <FontAux/AllocatorAdapters.h>
#include "MemMgr/inc/MemMgr.h"
// CTLFontManager and CTLFont act as a wrapper for Font Fusion. It uses the TLFont
// w... | 26.147059 | 151 | 0.653543 | [
"render"
] |
d74cd7dd20cf6ff89d368e1765bf51fa79110898 | 56,733 | cpp | C++ | third_party/skia_m63/third_party/externals/angle2/src/libANGLE/queryutils.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | 2 | 2021-11-18T20:12:08.000Z | 2022-03-13T06:56:10.000Z | third_party/skia_m63/third_party/externals/angle2/src/libANGLE/queryutils.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | third_party/skia_m63/third_party/externals/angle2/src/libANGLE/queryutils.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | 2 | 2019-12-11T04:13:15.000Z | 2020-02-15T14:42:13.000Z | //
// Copyright (c) 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// queryutils.cpp: Utilities for querying values from GL objects
#include "libANGLE/queryutils.h"
#include "common/utilities.h"
#include... | 32.6803 | 100 | 0.594345 | [
"vector"
] |
d74ce3814143c041eb8144108cad9911ffae1e8f | 2,263 | cpp | C++ | Source/ScillSDK/Private/ScillApiWrapper/ScillApiLeaderboardUpdatePayload.cpp | Iron-City-Games/scill-unreal | aab925a6acf0faf5e36ec39e568ac4ee920bfaae | [
"MIT"
] | null | null | null | Source/ScillSDK/Private/ScillApiWrapper/ScillApiLeaderboardUpdatePayload.cpp | Iron-City-Games/scill-unreal | aab925a6acf0faf5e36ec39e568ac4ee920bfaae | [
"MIT"
] | null | null | null | Source/ScillSDK/Private/ScillApiWrapper/ScillApiLeaderboardUpdatePayload.cpp | Iron-City-Games/scill-unreal | aab925a6acf0faf5e36ec39e568ac4ee920bfaae | [
"MIT"
] | null | null | null | /**
* SCILL API
* SCILL gives you the tools to activate, retain and grow your user base in your app or game by bringing you features well known in the gaming industry: Gamification. We take care of the services and technology involved so you can focus on your game and content.
*
* OpenAPI spec version: 1.0.0
* Con... | 33.776119 | 262 | 0.775077 | [
"object"
] |
d755bc5d5dcbb6b6855d6be4995abe597fe50e08 | 9,095 | cpp | C++ | Projects/Sandbox/Layer2D.cpp | Matthew-Krueger/GEOGL | aae6adbd3d9cfadb4fe65b961d018636e42ddecc | [
"Zlib"
] | null | null | null | Projects/Sandbox/Layer2D.cpp | Matthew-Krueger/GEOGL | aae6adbd3d9cfadb4fe65b961d018636e42ddecc | [
"Zlib"
] | null | null | null | Projects/Sandbox/Layer2D.cpp | Matthew-Krueger/GEOGL | aae6adbd3d9cfadb4fe65b961d018636e42ddecc | [
"Zlib"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2020 Matthew Krueger *
* *
* This software is provided 'as-is', without any express or implied ... | 41.912442 | 171 | 0.5558 | [
"render",
"shape",
"transform"
] |
d759bbfa66a2f6b20843a516618b7856765c0be1 | 8,160 | cpp | C++ | CacheHandler/BaseCacheHandler.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | 1 | 2020-07-31T07:10:11.000Z | 2020-07-31T07:10:11.000Z | CacheHandler/BaseCacheHandler.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | null | null | null | CacheHandler/BaseCacheHandler.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | 1 | 2021-03-04T06:44:38.000Z | 2021-03-04T06:44:38.000Z | /* Copyright (c) 2020, Dyssol Development Team. All rights reserved. This file is part of Dyssol. See LICENSE file for license information. */
#include "StringFunctions.h"
#include "BaseCacheHandler.h"
#include "FileSystem.h"
#include <fstream>
CBaseCacheHandler::CBaseCacheHandler() :
m_dirPath(L"cache"),
... | 31.384615 | 145 | 0.664338 | [
"vector"
] |
d75f513c40ff7939c613997fa2403fdbc75451d8 | 14,736 | cpp | C++ | VoidEngine/AudioEngine.cpp | VoidRune/VoidEngine | 5bb2e89fada8138d6110e11a9165b68a122a4fba | [
"MIT"
] | null | null | null | VoidEngine/AudioEngine.cpp | VoidRune/VoidEngine | 5bb2e89fada8138d6110e11a9165b68a122a4fba | [
"MIT"
] | null | null | null | VoidEngine/AudioEngine.cpp | VoidRune/VoidEngine | 5bb2e89fada8138d6110e11a9165b68a122a4fba | [
"MIT"
] | null | null | null | #include "AudioEngine.h"
#define MINIMP3_IMPLEMENTATION
#include "minimp3.h"
#include "minimp3_ex.h"
#include "minivorbis.h"
#define fourccRIFF 'FFIR'
#define fourccDATA 'atad'
#define fourccFMT ' tmf'
#define fourccWAVE 'EVAW'
#define fourccXWMA 'AMWX'
#define fourccDPDS 'sdpd'
static mp3dec_t s_Mp3d;
std::vector... | 29.413174 | 154 | 0.732017 | [
"vector"
] |
d7631ebff29290f377d4c1c5471e6d30cad3842f | 19,665 | cpp | C++ | src/graphmedi/render/CLookupTable.cpp | SindenDev/3dimviewer | e23a3147edc35034ef4b75eae9ccdcbc7192b1a1 | [
"Apache-2.0"
] | 6 | 2020-04-14T16:10:55.000Z | 2021-05-21T07:13:55.000Z | src/graphmedi/render/CLookupTable.cpp | SindenDev/3dimviewer | e23a3147edc35034ef4b75eae9ccdcbc7192b1a1 | [
"Apache-2.0"
] | null | null | null | src/graphmedi/render/CLookupTable.cpp | SindenDev/3dimviewer | e23a3147edc35034ef4b75eae9ccdcbc7192b1a1 | [
"Apache-2.0"
] | 2 | 2020-07-24T16:25:38.000Z | 2021-01-19T09:23:18.000Z | ///////////////////////////////////////////////////////////////////////////////
// $Id$
//
// 3DimViewer
// Lightweight 3D DICOM viewer.
//
// Copyright 2008-2016 3Dim Laboratory s.r.o.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licen... | 25.114943 | 186 | 0.625273 | [
"render",
"vector",
"3d"
] |
d763847f87480b1af1ccacb20854338e53a4a775 | 388 | cpp | C++ | GeeksForGeeks/Minimum Number in a sorted rotated array.cpp | willingtonortiz/CPSolutions | 66c48995ba0f8658e000a1ef828ab5759549975e | [
"MIT"
] | null | null | null | GeeksForGeeks/Minimum Number in a sorted rotated array.cpp | willingtonortiz/CPSolutions | 66c48995ba0f8658e000a1ef828ab5759549975e | [
"MIT"
] | null | null | null | GeeksForGeeks/Minimum Number in a sorted rotated array.cpp | willingtonortiz/CPSolutions | 66c48995ba0f8658e000a1ef828ab5759549975e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
int tests, n;
cin >> tests;
for(int i = 0; i < tests; ++i){
cin >> n;
vector<int> vec(n);
for(int j = 0; j < n; ++j){
cin >> vec[j];
}
sort(vec.begin(), vec.e... | 15.52 | 37 | 0.371134 | [
"vector"
] |
d76b547cb1ea304a363be1440eb0421417d33e99 | 3,878 | cpp | C++ | test/ref_loop_test.cpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | 72 | 2018-12-06T18:31:17.000Z | 2022-03-30T15:01:02.000Z | test/ref_loop_test.cpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | 1,006 | 2018-11-30T16:32:33.000Z | 2022-03-31T22:43:39.000Z | test/ref_loop_test.cpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | 36 | 2019-05-07T10:41:46.000Z | 2022-03-28T15:59:56.000Z | #include <iostream>
#include <vector>
#include <cmath>
#include <migraphx/literal.hpp>
#include <migraphx/instruction.hpp>
#include <migraphx/quantization.hpp>
#include <migraphx/ref/target.hpp>
#include <migraphx/verify.hpp>
#include <migraphx/make_op.hpp>
#include "test.hpp"
static auto run_prog(int64_t iter_num, b... | 36.242991 | 95 | 0.575554 | [
"shape",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.