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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4b508b4616dd10fa91825d125d5db6632cfa6cee | 520 | cpp | C++ | code/container-with-most-water.cpp | tqgy/interview | 1f51a70fd6b86ba15a900aed072a138524e84609 | [
"CC0-1.0"
] | 4 | 2018-04-09T12:57:46.000Z | 2019-07-30T00:25:40.000Z | java/code/container-with-most-water.cpp | sunchenglong/algorithm-essentials | 1b6d360e4993b14db221b0d97b238df49c792446 | [
"CC0-1.0"
] | null | null | null | java/code/container-with-most-water.cpp | sunchenglong/algorithm-essentials | 1b6d360e4993b14db221b0d97b238df49c792446 | [
"CC0-1.0"
] | 3 | 2018-11-19T03:11:15.000Z | 2021-07-28T11:48:30.000Z | // Container With Most Water
// 时间复杂度O(n),空间复杂度O(1)
class Solution {
public:
int maxArea(vector<int> &height) {
int start = 0;
int end = height.size() - 1;
int result = INT_MIN;
while (start < end) {
int area = min(height[end], height[start]) * (end - start);
... | 26 | 71 | 0.457692 | [
"vector"
] |
4b50f5302a342a33dc6b3425089b16b68b40b560 | 10,073 | cpp | C++ | core/fpdfapi/page/cpdf_textobject.cpp | yanxijian/pdfium | aba53245bf116a1d908f851a93236b500988a1ee | [
"Apache-2.0"
] | null | null | null | core/fpdfapi/page/cpdf_textobject.cpp | yanxijian/pdfium | aba53245bf116a1d908f851a93236b500988a1ee | [
"Apache-2.0"
] | null | null | null | core/fpdfapi/page/cpdf_textobject.cpp | yanxijian/pdfium | aba53245bf116a1d908f851a93236b500988a1ee | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/page/cpdf_textobject.h"
#include <algorithm>
#include ... | 29.890208 | 80 | 0.675171 | [
"vector",
"transform"
] |
4b517079e2b08ca82aa57ff0e26787593ef13653 | 27,585 | cc | C++ | tensorflow/core/data/hash_utils.cc | ashutom/tensorflow-upstream | c16069c19de9e286dd664abb78d0ea421e9f32d4 | [
"Apache-2.0"
] | 10 | 2021-05-25T17:43:04.000Z | 2022-03-08T10:46:09.000Z | tensorflow/core/data/hash_utils.cc | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 1,056 | 2019-12-15T01:20:31.000Z | 2022-02-10T02:06:28.000Z | tensorflow/core/data/hash_utils.cc | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 6 | 2016-09-07T04:00:15.000Z | 2022-01-12T01:47:38.000Z | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 38.526536 | 126 | 0.636179 | [
"shape",
"vector"
] |
4b52dc15f594d48c4679c7c1f4794aa2f75535ef | 28,937 | cpp | C++ | native_addon/wj_image/bitmap.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2019-11-27T07:24:54.000Z | 2020-01-03T10:12:36.000Z | native_addon/wj_image/bitmap.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2020-02-17T08:12:52.000Z | 2020-09-21T14:33:29.000Z | native_addon/wj_image/bitmap.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2019-11-26T11:38:39.000Z | 2019-12-17T17:12:01.000Z | /**
* Copyright (c) 2018, SOW (https://www.safeonline.world). (https://github.com/RKTUXYN) All rights reserved.
* @author {SOW}
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/
# include "bitmap.h"
# include <web_jsx/web_jsx.h>
# include <web_jsx/v8_util.h>
# i... | 35.418605 | 144 | 0.660919 | [
"object",
"vector"
] |
4b562e715fbe4d0d35eb9b23a7527e6d2edd7c0f | 1,368 | cpp | C++ | source/code/programs/games/word_build/gui/main.cpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/code/programs/games/word_build/gui/main.cpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/code/programs/games/word_build/gui/main.cpp | UniLang/compiler | c338ee92994600af801033a37dfb2f1a0c9ca897 | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | #include <string>
#include <iostream>
#include <vector>
#include <memory>
#include <SFML/Window/Joystick.hpp>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/Graphics/Transformable.hpp>
#include "code/utilities/peripheral/keyboard/joycons/joycon_state_getter.hpp"
#include "code/utilities/formats/... | 33.365854 | 77 | 0.738304 | [
"vector"
] |
4b5e8cfc65f20b6d690391dfde5dda8b297755c9 | 55,611 | cc | C++ | vm_tools/concierge/service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | 5 | 2019-01-19T15:38:48.000Z | 2021-10-06T03:59:46.000Z | vm_tools/concierge/service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | null | null | null | vm_tools/concierge/service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | 1 | 2019-02-15T23:05:30.000Z | 2019-02-15T23:05:30.000Z | // Copyright 2017 The Chromium OS 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 "vm_tools/concierge/service.h"
#include <arpa/inet.h>
#include <fcntl.h>
#include <net/route.h>
#include <signal.h>
#include <stdint.h>
#incl... | 34.45539 | 80 | 0.685458 | [
"object",
"vector"
] |
4b5f72ac57fd6ec36d16182acb6b7ed96d03b9c6 | 5,755 | cc | C++ | alidns/src/model/DescribeDnsProductInstancesResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | alidns/src/model/DescribeDnsProductInstancesResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | alidns/src/model/DescribeDnsProductInstancesResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 41.107143 | 115 | 0.742137 | [
"vector",
"model"
] |
4b64da5547e3a1aa8aa15042a330d49b485db9ea | 4,365 | cpp | C++ | Sources/Apps/Source/TodoList/TodoListDBHelper.cpp | ierturk/qt-qml-ai-collection | ccabe3bee3e3659ef88ea1195cc7a7836118672b | [
"MIT"
] | null | null | null | Sources/Apps/Source/TodoList/TodoListDBHelper.cpp | ierturk/qt-qml-ai-collection | ccabe3bee3e3659ef88ea1195cc7a7836118672b | [
"MIT"
] | 1 | 2021-12-30T17:15:28.000Z | 2021-12-30T17:15:28.000Z | Sources/Apps/Source/TodoList/TodoListDBHelper.cpp | ierturk/qt-qml-ai-collection | ccabe3bee3e3659ef88ea1195cc7a7836118672b | [
"MIT"
] | null | null | null | #include <QSqlQuery>
#include <QSqlError>
#include <QSqlQueryModel>
#include <QtDebug>
#include "TodoListDBHelper.h"
TodoListDBHelper::TodoListDBHelper() {
ConnectToDb();
}
void TodoListDBHelper::ConnectToDb()
{
if (QSqlDatabase::contains(connectionName))
{
db = QSqlDatabase::database(connection... | 25.676471 | 145 | 0.576861 | [
"model"
] |
4b64f64f35290738b445ce2dc93048c33476eaf1 | 50,292 | cpp | C++ | exiv2-0.24/src/crwimage.cpp | sdrpa/Exiv2Framework | 76b2dd9a906ab08d39bf97c8f3d97037eb39c69d | [
"MIT"
] | 6 | 2016-10-04T10:12:11.000Z | 2021-09-18T22:37:29.000Z | exiv2-0.24/src/crwimage.cpp | sdrpa/Exiv2Framework | 76b2dd9a906ab08d39bf97c8f3d97037eb39c69d | [
"MIT"
] | null | null | null | exiv2-0.24/src/crwimage.cpp | sdrpa/Exiv2Framework | 76b2dd9a906ab08d39bf97c8f3d97037eb39c69d | [
"MIT"
] | 2 | 2018-05-20T08:32:40.000Z | 2019-07-06T18:27:19.000Z | // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2013 Andreas Huggel <ahuggel@gmx.net>
*
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public... | 35.120112 | 117 | 0.518253 | [
"model"
] |
4b670622d63677f5f2a0b923dd08a09193b4e623 | 1,820 | hpp | C++ | projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/State.hpp | yjf18340/webots | 60d441c362031ab8fde120cc0cd97bdb1a31a3d5 | [
"Apache-2.0"
] | 1 | 2019-11-13T08:12:02.000Z | 2019-11-13T08:12:02.000Z | projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/State.hpp | chinakwy/webots | 7c35a359848bafe81fe0229ac2ed587528f4c73e | [
"Apache-2.0"
] | null | null | null | projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/State.hpp | chinakwy/webots | 7c35a359848bafe81fe0229ac2ed587528f4c73e | [
"Apache-2.0"
] | 1 | 2020-09-25T02:01:45.000Z | 2020-09-25T02:01:45.000Z | // Copyright 1996-2019 Cyberbotics 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 law or agr... | 26 | 81 | 0.755495 | [
"model"
] |
b49c56f8ada0b0e77c36347b7835503f2e006551 | 4,884 | hpp | C++ | src/UI/Dlg/DlgSongProperties.hpp | madmaxoft/SkauTan | 941ea86e35d101cc3694b478689cd269ea371eac | [
"Unlicense"
] | 1 | 2018-05-02T11:51:35.000Z | 2018-05-02T11:51:35.000Z | src/UI/Dlg/DlgSongProperties.hpp | madmaxoft/SkauTan | 941ea86e35d101cc3694b478689cd269ea371eac | [
"Unlicense"
] | 181 | 2018-01-06T08:39:30.000Z | 2019-12-02T09:25:24.000Z | src/UI/Dlg/DlgSongProperties.hpp | madmaxoft/SkauTan | 941ea86e35d101cc3694b478689cd269ea371eac | [
"Unlicense"
] | 1 | 2022-03-10T05:25:04.000Z | 2022-03-10T05:25:04.000Z | #pragma once
#include <memory>
#include <QDialog>
#include "../../Song.hpp"
#include "../../MetadataScanner.hpp"
// fwd:
class ComponentCollection;
namespace Ui
{
class DlgSongProperties;
}
class DlgSongProperties:
public QDialog
{
Q_OBJECT
using Super = QDialog;
public:
/** Creates a new instance o... | 31.10828 | 112 | 0.736691 | [
"vector"
] |
b49c73dc552a98ab17764aa2fb337c005ff69cca | 12,369 | cpp | C++ | src/tests/functional/inference_engine/lp_transformations/mvn_transformation.cpp | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | null | null | null | src/tests/functional/inference_engine/lp_transformations/mvn_transformation.cpp | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | 18 | 2022-01-21T08:42:58.000Z | 2022-03-28T13:21:31.000Z | src/tests/functional/inference_engine/lp_transformations/mvn_transformation.cpp | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "layer_transformation.hpp"
#include <string>
#include <sstream>
#include <memory>
#include <gtest/gtest.h>
#include <transformations/utils/utils.hpp>
#include <transformations/init_node_info.hpp>
#include "low_precision/... | 29.590909 | 120 | 0.557927 | [
"shape",
"vector",
"transform"
] |
b49c840305f7c597c9a8aba79ef10878f64d05a5 | 3,290 | cpp | C++ | src/tests/functional/shared_test_classes/src/single_layer/low_precision.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | src/tests/functional/shared_test_classes/src/single_layer/low_precision.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | src/tests/functional/shared_test_classes/src/single_layer/low_precision.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | // Copyright (C) 2019-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "shared_test_classes/single_layer/low_precision.hpp"
#include "ngraph_functions/builders.hpp"
namespace LowPrecisionTestDefinitions {
std::string LowPrecisionTest::getTestCaseName(const testing::TestParamInfo<lowPrecision... | 41.125 | 119 | 0.676596 | [
"shape",
"vector"
] |
b49e5ca3e600f9751eb3abfc4a31063f7443b2eb | 19,602 | cpp | C++ | openstudiocore/src/analysis/SequentialSearch.cpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | openstudiocore/src/analysis/SequentialSearch.cpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | openstudiocore/src/analysis/SequentialSearch.cpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 39.125749 | 121 | 0.592133 | [
"vector"
] |
b49ff394679f1b64f6921add28f86bbc13f65bf6 | 6,485 | hpp | C++ | libvast_test/vast/test/fixtures/table_slices.hpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | 63 | 2016-04-22T01:50:03.000Z | 2019-07-31T15:50:36.000Z | libvast_test/vast/test/fixtures/table_slices.hpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | 216 | 2017-01-24T16:25:43.000Z | 2019-08-01T19:37:00.000Z | libvast_test/vast/test/fixtures/table_slices.hpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | 28 | 2016-05-19T13:09:19.000Z | 2019-04-12T15:11:42.000Z | // _ _____ __________
// | | / / _ | / __/_ __/ Visibility
// | |/ / __ |_\ \ / / Across
// |___/_/ |_/___/ /_/ Space and Time
//
// SPDX-FileCopyrightText: (c) 2019 The VAST Contributors
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include "vast/fwd.hpp"
#include "vast/al... | 34.865591 | 80 | 0.632537 | [
"vector"
] |
b4a28eb7f2aedc060b545d494105019152a3d55f | 2,500 | cpp | C++ | Chapter4-TreesAndGraphs/Chapter4-TreesAndGraphs.cpp | thlvu/CrackingTheCodeInterview | 991c523215406f74c9f8e02c0a91a7fb7c1f04de | [
"MIT"
] | null | null | null | Chapter4-TreesAndGraphs/Chapter4-TreesAndGraphs.cpp | thlvu/CrackingTheCodeInterview | 991c523215406f74c9f8e02c0a91a7fb7c1f04de | [
"MIT"
] | null | null | null | Chapter4-TreesAndGraphs/Chapter4-TreesAndGraphs.cpp | thlvu/CrackingTheCodeInterview | 991c523215406f74c9f8e02c0a91a7fb7c1f04de | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
struct GraphNode {
int data;
int visited;
vector<GraphNode> adjacents;
};
struct Graph {
vector<GraphNode> nodes;
};
bool routeBetweenNodes(GraphNode node1, GraphNode node2)
{
queue<GraphNode> q1;
queue<GraphNode> q... | 22.522523 | 101 | 0.5932 | [
"vector"
] |
b4a29731f732871ed83a9d3ff6f5be9ef95006ac | 14,639 | cpp | C++ | src/gallium/drivers/r600/sfn/sfn_nir_lower_fs_out_to_vector.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/gallium/drivers/r600/sfn/sfn_nir_lower_fs_out_to_vector.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/gallium/drivers/r600/sfn/sfn_nir_lower_fs_out_to_vector.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | /* -*- mesa-c++ -*-
*
* Copyright (c) 2019 Collabora LTD
*
* Author: Gert Wollny <gert.wollny@collabora.com>
*
* 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, in... | 31.48172 | 100 | 0.675251 | [
"vector"
] |
b4a2c2eb8c56e0882864a9aadf40866f9ada743a | 14,586 | cpp | C++ | src/tests/test_modes.cpp | clayne/botan | 1f16adea08c4c9bf3fb0fbf699d284cb48150898 | [
"BSD-2-Clause"
] | 1,988 | 2015-01-04T02:58:16.000Z | 2022-03-31T18:03:37.000Z | src/tests/test_modes.cpp | clayne/botan | 1f16adea08c4c9bf3fb0fbf699d284cb48150898 | [
"BSD-2-Clause"
] | 2,455 | 2015-01-04T17:53:39.000Z | 2022-03-30T18:15:31.000Z | src/tests/test_modes.cpp | clayne/botan | 1f16adea08c4c9bf3fb0fbf699d284cb48150898 | [
"BSD-2-Clause"
] | 590 | 2015-01-07T04:05:12.000Z | 2022-03-30T20:42:05.000Z | /*
* (C) 2014,2015,2017 Jack Lloyd
* (C) 2016 Daniel Neus, Rohde & Schwarz Cybersecurity
* (C) 2018 Ribose Inc
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include "tests.h"
#if defined(BOTAN_HAS_CIPHER_MODES)
#include <botan/cipher_mode.h>
#endif
namespace Botan_Tests {
#if defin... | 33.30137 | 117 | 0.552379 | [
"object",
"vector"
] |
b4a5cf7217670144805f306bb276721e61c884e1 | 12,188 | cpp | C++ | src/ParserRVM.cpp | liweimax/rvmparser | 3cb5311ca3d76dc02811510bacf2d0fb261edc1f | [
"MIT"
] | 1 | 2019-09-19T08:40:16.000Z | 2019-09-19T08:40:16.000Z | src/ParserRVM.cpp | cyanxwh/rvmparser | 3f188025eb407a416ed11303751eb0ab0dd43f7f | [
"MIT"
] | null | null | null | src/ParserRVM.cpp | cyanxwh/rvmparser | 3f188025eb407a416ed11303751eb0ab0dd43f7f | [
"MIT"
] | null | null | null | #include "Parser.h"
#include "StoreVisitor.h"
#include "Store.h"
#include <iostream>
#include <string>
#include <cstdio>
#include <cctype>
#include <vector>
#include <cassert>
#include "LinAlgOps.h"
namespace {
struct Context
{
Store* store;
char* buf;
size_t buf_size;
std::vector<Group*> group... | 27.826484 | 108 | 0.574828 | [
"geometry",
"vector",
"model",
"transform"
] |
b4aadcbbaf4dc25c68e3c4bb7ee19b1193e5dccd | 6,944 | hpp | C++ | thirdparty/fluid/modules/gapi/src/executor/gstreamingexecutor.hpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 56,632 | 2016-07-04T16:36:08.000Z | 2022-03-31T18:38:14.000Z | modules/gapi/src/executor/gstreamingexecutor.hpp | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 13,593 | 2016-07-04T13:59:03.000Z | 2022-03-31T21:04:51.000Z | modules/gapi/src/executor/gstreamingexecutor.hpp | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 54,986 | 2016-07-04T14:24:38.000Z | 2022-03-31T22:51:18.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2019-2020 Intel Corporation
#ifndef OPENCV_GAPI_GSTREAMING_EXECUTOR_HPP
#define OPENCV_GAPI_GSTREAMING_EX... | 31.853211 | 90 | 0.630904 | [
"vector"
] |
b4ac242a0e8b97fe9864b3086d79dc3cf1dc8173 | 9,801 | cpp | C++ | Code/Engine/RendererCore/Pipeline/Implementation/RenderPipelineResourceLoader.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | null | null | null | Code/Engine/RendererCore/Pipeline/Implementation/RenderPipelineResourceLoader.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | null | null | null | Code/Engine/RendererCore/Pipeline/Implementation/RenderPipelineResourceLoader.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | 1 | 2022-03-28T15:57:46.000Z | 2022-03-28T15:57:46.000Z | #include <RendererCorePCH.h>
#include <Foundation/Serialization/BinarySerializer.h>
#include <RendererCore/Pipeline/Extractor.h>
#include <RendererCore/Pipeline/Implementation/RenderPipelineResourceLoader.h>
#include <RendererCore/Pipeline/RenderPipeline.h>
#include <RendererCore/Pipeline/RenderPipelinePass.h>
#includ... | 34.03125 | 196 | 0.738394 | [
"object"
] |
b4ac5368b6448e56084c2a91fa9d20374bb7fc2a | 8,456 | cpp | C++ | sycl/test/abi/layout_buffer.cpp | keryell/llvm-2 | 4dc23a26d1bd6ced23969c0525dedbddf8c6fddc | [
"Apache-2.0"
] | 653 | 2018-12-27T15:00:01.000Z | 2022-03-30T11:52:23.000Z | sycl/test/abi/layout_buffer.cpp | keryell/llvm-2 | 4dc23a26d1bd6ced23969c0525dedbddf8c6fddc | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | sycl/test/abi/layout_buffer.cpp | keryell/llvm-2 | 4dc23a26d1bd6ced23969c0525dedbddf8c6fddc | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | // RUN: %clangxx -fsycl -c -fno-color-diagnostics -Xclang -fdump-record-layouts %s | FileCheck %s
// REQUIRES: linux
// UNSUPPORTED: libcxx
// clang-format off
#include <CL/sycl/buffer.hpp>
void foo(sycl::buffer<int, 2>) {}
// CHECK: 0 | class sycl::detail::buffer_impl
// CHECK-NEXT: 0 | class sycl::detail::SYCLMe... | 88.083333 | 235 | 0.680582 | [
"vector"
] |
b4ad6399bdced508b2e1812f2950b0cdea536cb2 | 34,950 | cpp | C++ | NetDb.cpp | sviceman/i2pd | 29cc1cf3904833b2d84824e8f6aacb87e5d479d9 | [
"BSD-3-Clause"
] | 1 | 2017-03-13T11:28:03.000Z | 2017-03-13T11:28:03.000Z | NetDb.cpp | sviceman/i2pd | 29cc1cf3904833b2d84824e8f6aacb87e5d479d9 | [
"BSD-3-Clause"
] | null | null | null | NetDb.cpp | sviceman/i2pd | 29cc1cf3904833b2d84824e8f6aacb87e5d479d9 | [
"BSD-3-Clause"
] | null | null | null | #include <string.h>
#include <fstream>
#include <vector>
#include <boost/asio.hpp>
#include "I2PEndian.h"
#include "Base.h"
#include "Crypto.h"
#include "Log.h"
#include "Timestamp.h"
#include "I2NPProtocol.h"
#include "Tunnel.h"
#include "Transports.h"
#include "RouterContext.h"
#include "Garlic.h"
#include "NetDb.h"... | 29.744681 | 178 | 0.649413 | [
"vector"
] |
b4af17aebe1e8a58902892436d8b581f789b7992 | 1,856 | hpp | C++ | rest_rpc/iguana/iguana/detail/traits.hpp | emogua/CGAssistant | f3ded85a8336bcc03fd1a3d370880cdeedaa570f | [
"MIT"
] | 39 | 2019-03-26T08:03:44.000Z | 2022-02-13T09:06:48.000Z | rest_rpc/iguana/iguana/detail/traits.hpp | emogua/CGAssistant | f3ded85a8336bcc03fd1a3d370880cdeedaa570f | [
"MIT"
] | 10 | 2019-04-08T22:18:10.000Z | 2021-10-04T04:11:00.000Z | rest_rpc/iguana/iguana/detail/traits.hpp | emogua/CGAssistant | f3ded85a8336bcc03fd1a3d370880cdeedaa570f | [
"MIT"
] | 26 | 2019-03-26T08:13:42.000Z | 2022-03-15T04:51:39.000Z | //
// Created by QY on 2017-01-05.
//
#ifndef SERIALIZE_TRAITS_HPP
#define SERIALIZE_TRAITS_HPP
#include <type_traits>
#include <vector>
#include <map>
#include <unordered_map>
#include <deque>
#include <queue>
#include <list>
namespace iguana
{
template< class T >
struct is_signed_intergral_like : std::integ... | 30.42623 | 73 | 0.641164 | [
"vector"
] |
b4b0f0f77087b6cf3ce915258d0d6908ec4af166 | 15,082 | cpp | C++ | tests/testwrite.cpp | Perchik71/mINI | f53feb4c36b1f49570aa8f6761b0ca14da0eeaa8 | [
"MIT"
] | 169 | 2018-05-21T20:55:13.000Z | 2022-03-16T21:40:42.000Z | tests/testwrite.cpp | Perchik71/mINI | f53feb4c36b1f49570aa8f6761b0ca14da0eeaa8 | [
"MIT"
] | 33 | 2021-07-03T18:55:29.000Z | 2022-03-28T17:25:53.000Z | tests/testwrite.cpp | Perchik71/mINI | f53feb4c36b1f49570aa8f6761b0ca14da0eeaa8 | [
"MIT"
] | 72 | 2018-05-21T06:34:31.000Z | 2022-03-25T02:44:17.000Z | #include <iostream>
#include <string>
#include <vector>
#include <tuple>
#include <fstream>
#include "lest.hpp"
#include "mini/ini.h"
using T_LineData = std::vector<std::string>;
using T_INIFileData = std::tuple<std::string, T_LineData, T_LineData>;
//
// helper functions
//
bool writeTestFile(T_INIFileData const& te... | 20.163102 | 82 | 0.586859 | [
"vector"
] |
b4b496758cf06805e443c3173a7b50afe0fc8c7d | 18,374 | cpp | C++ | apps/exampleViewer/widgets/transferFunction.cpp | burlen/ospray | e041b985dc53a2339a90a5735a22d0489b730df0 | [
"Apache-2.0"
] | null | null | null | apps/exampleViewer/widgets/transferFunction.cpp | burlen/ospray | e041b985dc53a2339a90a5735a22d0489b730df0 | [
"Apache-2.0"
] | null | null | null | apps/exampleViewer/widgets/transferFunction.cpp | burlen/ospray | e041b985dc53a2339a90a5735a22d0489b730df0 | [
"Apache-2.0"
] | null | null | null | // ======================================================================== //
// Copyright 2009-2019 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 35.402697 | 107 | 0.620605 | [
"render",
"vector",
"transform"
] |
b4b51333c23d8715d32465fe967ef41446d3396a | 29,635 | cxx | C++ | vigranumpy/src/core/segmentation.cxx | ilastik/vigra-ilastik-05 | bc3daec5a71016363baebc27ad3a45fb6056579f | [
"MIT"
] | 1 | 2017-01-23T11:27:56.000Z | 2017-01-23T11:27:56.000Z | vigranumpy/src/core/segmentation.cxx | ilastik/vigra-ilastik-05 | bc3daec5a71016363baebc27ad3a45fb6056579f | [
"MIT"
] | null | null | null | vigranumpy/src/core/segmentation.cxx | ilastik/vigra-ilastik-05 | bc3daec5a71016363baebc27ad3a45fb6056579f | [
"MIT"
] | 3 | 2015-12-09T13:47:13.000Z | 2019-04-06T21:28:59.000Z | /************************************************************************/
/* */
/* Copyright 2009 by Ullrich Koethe */
/* */
/* This file is p... | 38.140283 | 117 | 0.555154 | [
"object",
"shape"
] |
b4bc77de7c79ddf9cc09bd417a8d7d1b93798bf5 | 528 | hpp | C++ | console/State.hpp | piotrek-szczygiel/rpi-tetris | 1120b0ac024ef36f48a4fe67087e3e2c78cf83f8 | [
"MIT"
] | 4 | 2019-10-17T20:26:09.000Z | 2019-11-14T12:01:57.000Z | console/State.hpp | piotrek-szczygiel/rpi-tetris | 1120b0ac024ef36f48a4fe67087e3e2c78cf83f8 | [
"MIT"
] | null | null | null | console/State.hpp | piotrek-szczygiel/rpi-tetris | 1120b0ac024ef36f48a4fe67087e3e2c78cf83f8 | [
"MIT"
] | null | null | null | #pragma once
#include "controller/Controllers.hpp"
#include <raylib.h>
enum class StateChange {
None,
Menu,
Starship,
Tetris,
Pong,
};
class State {
public:
State() = default;
State(const State&) = delete;
State& operator=(const State&) = delete;
State(State&&) = delete;
Stat... | 18.206897 | 65 | 0.628788 | [
"vector"
] |
b4bd657850e559df05d0d43eb1cd7b8f51290dcf | 2,197 | cpp | C++ | seg_tree/abc185_f.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | seg_tree/abc185_f.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | seg_tree/abc185_f.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
// xorに関する区間更新・区間取得
/*
参考リンク
ABC 185 F - Range Xor Query
https://atcoder.jp/contests/abc185/tasks/abc185_f
*/
template <class Monoid>
class SegTree {
int n; ... | 25.252874 | 80 | 0.496586 | [
"vector"
] |
b4be725371fc7ba7b5ffbc692e6c5f2f4a70a2ae | 13,454 | cpp | C++ | src/compiler.cpp | LSaldyt/CTF | cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01 | [
"Apache-2.0"
] | 2 | 2018-03-19T20:19:01.000Z | 2018-10-22T23:41:12.000Z | src/compiler.cpp | LSaldyt/CTF | cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01 | [
"Apache-2.0"
] | 1 | 2017-01-18T20:45:33.000Z | 2017-01-21T20:57:37.000Z | src/compiler.cpp | LSaldyt/CTF | cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01 | [
"Apache-2.0"
] | null | null | null | /// Copyright 2017 Lucas Saldyt
#include "compiler.hpp"
/**
* Demonstration of very high-level compiler usage
*/
int main(int argc, char* argv[])
{
using namespace compiler;
vector<string> args;
for (int i = 1; i < argc; i++)
{
args.push_back(argv[i]);
}
assert(args.size() > 3);
... | 37.476323 | 150 | 0.559908 | [
"object",
"vector"
] |
b4c155ed0e6345d7be1c437f026553010ecb1919 | 24,549 | cc | C++ | Modules/Image/src/ImageAttributes.cc | SVRTK/MIRTK | 6bbe1a76881ac2aaa1baed132be89cf5bdcbb92b | [
"Apache-2.0"
] | null | null | null | Modules/Image/src/ImageAttributes.cc | SVRTK/MIRTK | 6bbe1a76881ac2aaa1baed132be89cf5bdcbb92b | [
"Apache-2.0"
] | null | null | null | Modules/Image/src/ImageAttributes.cc | SVRTK/MIRTK | 6bbe1a76881ac2aaa1baed132be89cf5bdcbb92b | [
"Apache-2.0"
] | null | null | null | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... | 28.779601 | 146 | 0.494888 | [
"vector",
"transform"
] |
b4c1773d3f2f24530a20e432e7137771b7f8bd2a | 23,775 | cc | C++ | gearbox/job/JobManager.cc | coryb/gearbox | 88027f2f101c2d1fab16093928963052b9d3294d | [
"Artistic-1.0-Perl",
"BSD-3-Clause"
] | 3 | 2015-06-26T15:37:40.000Z | 2016-05-22T07:42:39.000Z | gearbox/job/JobManager.cc | coryb/gearbox | 88027f2f101c2d1fab16093928963052b9d3294d | [
"Artistic-1.0-Perl",
"BSD-3-Clause"
] | null | null | null | gearbox/job/JobManager.cc | coryb/gearbox | 88027f2f101c2d1fab16093928963052b9d3294d | [
"Artistic-1.0-Perl",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
#include "config.h"
#include <gearbox/job/JobManager.h>
#include <gearbox/core/logger.h>
#include <gearbox/core/Errors.h>
#include <gearbox/job/GearmanJobImpl.h>
#in... | 38.97541 | 113 | 0.48408 | [
"object",
"vector"
] |
b4c4fa06371cd2810b51190d3c0cd7d020d3fef3 | 10,332 | hpp | C++ | src/database/database.hpp | Natureshadow/biboumi | b70136b96e579e8d38a30a298f885899cb80514c | [
"Zlib"
] | null | null | null | src/database/database.hpp | Natureshadow/biboumi | b70136b96e579e8d38a30a298f885899cb80514c | [
"Zlib"
] | null | null | null | src/database/database.hpp | Natureshadow/biboumi | b70136b96e579e8d38a30a298f885899cb80514c | [
"Zlib"
] | null | null | null | #pragma once
#include <biboumi.h>
#ifdef USE_DATABASE
#include <database/table.hpp>
#include <database/column.hpp>
#include <database/count_query.hpp>
#include <database/engine.hpp>
#include <utils/optional_bool.hpp>
#include <utils/datetime.hpp>
#include <chrono>
#include <string>
#include <memory>
#include <map... | 42.171429 | 196 | 0.680798 | [
"vector"
] |
b4c51ba13630a7b15443943f65b25243ff49d07e | 6,400 | cpp | C++ | console/src/boost_1_78_0/libs/histogram/test/axis_variable_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 106 | 2015-08-07T04:23:50.000Z | 2020-12-27T18:25:15.000Z | console/src/boost_1_78_0/libs/histogram/test/axis_variable_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 130 | 2016-06-22T22:11:25.000Z | 2020-11-29T20:24:09.000Z | Libs/boost_1_76_0/libs/histogram/test/axis_variable_test.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 41 | 2015-07-08T19:18:35.000Z | 2021-01-14T16:39:56.000Z | // Copyright 2015-2017 Hans Dembinski
//
// 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)
#include <boost/core/lightweight_test.hpp>
#include <boost/histogram/axis/ostream.hpp>
#include <boost/histogram/axis/vari... | 33.507853 | 90 | 0.624375 | [
"vector"
] |
b4c5596b8f4417ab4ae924ff2da874090e027adc | 13,195 | cpp | C++ | PROCY/System/Map/Map.cpp | mflottDesign/DAT220 | fcff0e599fba0216d2107a7c28e21783a8c87e9c | [
"MIT"
] | null | null | null | PROCY/System/Map/Map.cpp | mflottDesign/DAT220 | fcff0e599fba0216d2107a7c28e21783a8c87e9c | [
"MIT"
] | null | null | null | PROCY/System/Map/Map.cpp | mflottDesign/DAT220 | fcff0e599fba0216d2107a7c28e21783a8c87e9c | [
"MIT"
] | null | null | null | //
// Created by Chrim14 on 10.10.2017.
//
#include "Map.h"
#include "MapStaticFunctions.h"
///From: Game::Game
///Function: create map and update map changes in views
void Map::mapHandler(sf::Shader &shader, Player &player,Timer &gameTimer,std::vector<Tower> &towersPlaced,std::string &towerSelected, sf::VertexArray... | 38.581871 | 351 | 0.570292 | [
"vector"
] |
b4c5c5b28c9ad710a7849307f3d11f18abca7c99 | 2,521 | hpp | C++ | src/usher_graph.hpp | lgozasht/usher | 4afe8e59a5d60ee9516a52111c1852b2d6fb53df | [
"MIT"
] | null | null | null | src/usher_graph.hpp | lgozasht/usher | 4afe8e59a5d60ee9516a52111c1852b2d6fb53df | [
"MIT"
] | null | null | null | src/usher_graph.hpp | lgozasht/usher | 4afe8e59a5d60ee9516a52111c1852b2d6fb53df | [
"MIT"
] | null | null | null | //#include "tree.hpp"
#include "mutation_annotated_tree.hpp"
#include <set>
#include <cassert>
#include <unordered_set>
#include <mutex>
#include <sys/time.h>
#include <tbb/mutex.h>
#pragma once
//extern std::mutex data_lock;
namespace MAT = Mutation_Annotated_Tree;
class Timer {
private:
struct timeval ... | 24.475728 | 72 | 0.637842 | [
"vector"
] |
b4c7c181f2746868d07bedaa7488a28e6c2f9fdd | 2,651 | cpp | C++ | rapidlib_old_version/src/seriesClassification.cpp | carlotes247/Rapidlib-dll | e498477a3a3b3e198c9f9de5c7a8cf43aaa9ba92 | [
"MIT"
] | null | null | null | rapidlib_old_version/src/seriesClassification.cpp | carlotes247/Rapidlib-dll | e498477a3a3b3e198c9f9de5c7a8cf43aaa9ba92 | [
"MIT"
] | null | null | null | rapidlib_old_version/src/seriesClassification.cpp | carlotes247/Rapidlib-dll | e498477a3a3b3e198c9f9de5c7a8cf43aaa9ba92 | [
"MIT"
] | null | null | null | //
// seriesClassification.cpp
// RapidAPI
//
// Created by mzed on 08/06/2017.
// Copyright © 2017 Goldsmiths. All rights reserved.
//
#include <vector>
#include "seriesClassification.h"
#ifdef EMSCRIPTEN
#include "emscripten/seriesClassificationEmbindings.h"
#endif
seriesClassification::seriesClassification() {... | 28.815217 | 106 | 0.669181 | [
"vector"
] |
b4c9e623811087cbaa545591112a4ca35867fa4a | 2,492 | cpp | C++ | internal/oboe/oboe_opensles_OutputMixerOpenSLES_android.cpp | CxZMoE/oto | 0466d3057c853eae27a3d73306f25ec8741a7dc3 | [
"Apache-2.0"
] | 1,022 | 2017-05-04T12:18:25.000Z | 2022-03-29T06:57:02.000Z | internal/oboe/oboe_opensles_OutputMixerOpenSLES_android.cpp | CxZMoE/oto | 0466d3057c853eae27a3d73306f25ec8741a7dc3 | [
"Apache-2.0"
] | 146 | 2017-05-04T19:02:03.000Z | 2022-03-24T17:37:10.000Z | internal/oboe/oboe_opensles_OutputMixerOpenSLES_android.cpp | CxZMoE/oto | 0466d3057c853eae27a3d73306f25ec8741a7dc3 | [
"Apache-2.0"
] | 120 | 2017-05-04T22:59:35.000Z | 2022-03-23T11:04:20.000Z | /*
* Copyright 2017 The Android Open Source Project
*
* 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 applica... | 33.226667 | 100 | 0.689005 | [
"object"
] |
b4cfe0400398dbde63b307020cd05f8a069be93e | 731 | hpp | C++ | lib/libcppy/Tools/armatopy.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | lib/libcppy/Tools/armatopy.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | 1 | 2019-01-31T10:59:11.000Z | 2019-01-31T10:59:11.000Z | lib/libcppy/Tools/armatopy.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | #include "Solvers/solver.hpp"
#include <boost/python.hpp>
#include <boost/python/numpy.hpp>
#include "Alat/armadillo.hpp"
namespace bp = boost::python;
namespace np = boost::python::numpy;
/*---------------------------------------------------------------------------*/
namespace simfem
{
struct ArmavecToNumpyCo... | 29.24 | 79 | 0.653899 | [
"object"
] |
b4d2c2ff8ec5ebaec9d811afbe3d548f9847fb00 | 3,285 | cpp | C++ | src/CalibrationSolver.cpp | syntheticmagus/webpiled-opencv-calibration | 329f0090d548e053490cc8050e776b718dea2980 | [
"MIT"
] | 1 | 2021-01-26T13:27:14.000Z | 2021-01-26T13:27:14.000Z | src/CalibrationSolver.cpp | syntheticmagus/webpiled-opencv-calibration | 329f0090d548e053490cc8050e776b718dea2980 | [
"MIT"
] | null | null | null | src/CalibrationSolver.cpp | syntheticmagus/webpiled-opencv-calibration | 329f0090d548e053490cc8050e776b718dea2980 | [
"MIT"
] | null | null | null | #include "CalibrationSolver.h"
#include <opencv2/opencv.hpp>
#include <vector>
namespace
{
struct ChessboardMeasurements
{
float SquareWidthMeters{ 0.005f };
cv::Size BoardDimensionsSquares{ 6, 9 };
};
std::vector<cv::Point3f> getCornerPositions(const ChessboardMeasurements& measureme... | 30.700935 | 173 | 0.696195 | [
"vector"
] |
b4d5051fe092d8e104ddc2bddf618d890dbf37de | 1,661 | cpp | C++ | implementations/LCA_EulerTour.cpp | LeoRiether/Competicao-Programativa | ad5bd4eba58792ad1ce7057fdf9fa6ef8970b17e | [
"MIT"
] | 1 | 2019-12-15T22:23:20.000Z | 2019-12-15T22:23:20.000Z | implementations/LCA_EulerTour.cpp | LeoRiether/Competicao-Programativa | ad5bd4eba58792ad1ce7057fdf9fa6ef8970b17e | [
"MIT"
] | null | null | null | implementations/LCA_EulerTour.cpp | LeoRiether/Competicao-Programativa | ad5bd4eba58792ad1ce7057fdf9fa6ef8970b17e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int MaxN = 100005; // MaxN = 100005 runs out of stack space :(
const int MaxLog = 18;
vector<vector<int>> adj;
vector<pair<int, int>> et; // Euler tour array
int F[2*MaxN]; // first ocurrence of node i
void eulerDfs(int n, int p, int depth) {
if (!F[n]... | 23.728571 | 69 | 0.482842 | [
"vector"
] |
b4de34c1fd3953f6699f334912fc34254a6f9357 | 6,942 | cpp | C++ | src/compositor/qt/qtwaylandsurfacenode.cpp | thegreatpissant/motorcar | bb12319d37420d4bd2daffddfba68282293af114 | [
"BSD-2-Clause"
] | 1 | 2015-08-25T19:01:17.000Z | 2015-08-25T19:01:17.000Z | src/compositor/qt/qtwaylandsurfacenode.cpp | thegreatpissant/motorcar | bb12319d37420d4bd2daffddfba68282293af114 | [
"BSD-2-Clause"
] | null | null | null | src/compositor/qt/qtwaylandsurfacenode.cpp | thegreatpissant/motorcar | bb12319d37420d4bd2daffddfba68282293af114 | [
"BSD-2-Clause"
] | null | null | null | /****************************************************************************
**This file is part of the MotorCar QtWayland Compositor
**
**
**Copyright (C) 2013 Forrest Reiling
**
**
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with o... | 36.15625 | 178 | 0.68064 | [
"geometry",
"transform"
] |
b4e1c0a814508f317091b4999c34ebba7dba116e | 26,137 | cc | C++ | src/ui/scenic/lib/input/input_command_dispatcher.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/ui/scenic/lib/input/input_command_dispatcher.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/ui/scenic/lib/input/input_command_dispatcher.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 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 "src/ui/scenic/lib/input/input_command_dispatcher.h"
#include <fuchsia/ui/scenic/cpp/fidl.h>
#include <lib/fidl/cpp/clone.h>
#include <lib/fostr/... | 43.78057 | 100 | 0.709798 | [
"geometry",
"vector",
"transform"
] |
b4e326619c3f86b642b9285d313972b9a84a2262 | 4,767 | cpp | C++ | elfreader.cpp | NMSU-PLEASE-Lab/ELFReader | f4fbb76ad7269451e75e21a5c1212a6b440d3ba5 | [
"MIT"
] | null | null | null | elfreader.cpp | NMSU-PLEASE-Lab/ELFReader | f4fbb76ad7269451e75e21a5c1212a6b440d3ba5 | [
"MIT"
] | null | null | null | elfreader.cpp | NMSU-PLEASE-Lab/ELFReader | f4fbb76ad7269451e75e21a5c1212a6b440d3ba5 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <elf.h>
#include <dlfcn.h>
#include <ElfProgram.h>
//
// Get all definitions and uses of a program symbol, and
// print their information. A symbol can have multiple
// definitions, as long as one is regular and others are
// weak (or if some libs ha... | 31.569536 | 75 | 0.552129 | [
"object"
] |
b4e8c77e5e36e16d8fc10951c4a816c669e3c226 | 4,035 | cpp | C++ | tests/core_tests/ta_apply_delta_record_8u.cpp | hhb584520/DML | 014eb9894e85334f03ec74435933c972f3d05b50 | [
"MIT"
] | null | null | null | tests/core_tests/ta_apply_delta_record_8u.cpp | hhb584520/DML | 014eb9894e85334f03ec74435933c972f3d05b50 | [
"MIT"
] | null | null | null | tests/core_tests/ta_apply_delta_record_8u.cpp | hhb584520/DML | 014eb9894e85334f03ec74435933c972f3d05b50 | [
"MIT"
] | 1 | 2022-03-28T07:52:21.000Z | 2022-03-28T07:52:21.000Z | /*******************************************************************************
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
/**
* @brief Contain test to check @ref dmlc_apply_delta_record_8u
* @details Te... | 33.907563 | 110 | 0.624535 | [
"vector"
] |
b4e922c3e622f95a7114ab87e9787aa17b0a233d | 1,420 | cc | C++ | vos/gui/sub/gui/histspike/KeyInSpikeInterface.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 16 | 2020-10-21T05:56:26.000Z | 2022-03-31T10:02:01.000Z | vos/gui/sub/gui/histspike/KeyInSpikeInterface.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | null | null | null | vos/gui/sub/gui/histspike/KeyInSpikeInterface.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 2 | 2021-03-09T01:51:08.000Z | 2021-03-23T00:23:24.000Z | //////////////////////////////////////////////////////////////
// KeyInSpikeInterface.C: An KeyIn interface to a Cmd object
///////////////////////////////////////////////////////////////
#include "KeyInSpikeInterface.h"
#include "Cmd.h"
#include "KeyinView.h"
#include "stdlib.h"
#include "stdio.h"
#include <iostream>
... | 23.666667 | 79 | 0.660563 | [
"object"
] |
b4ec332658dc0254e3aaed83de7d9da540546711 | 4,777 | cxx | C++ | src/ttbarReco.cxx | demarley/goldilocks | 97e790a1263fe7952d25c3a7a41bc0ca16f2d558 | [
"MIT"
] | null | null | null | src/ttbarReco.cxx | demarley/goldilocks | 97e790a1263fe7952d25c3a7a41bc0ca16f2d558 | [
"MIT"
] | 5 | 2018-05-28T20:37:34.000Z | 2018-09-21T20:20:12.000Z | src/ttbarReco.cxx | demarley/goldilocks | 97e790a1263fe7952d25c3a7a41bc0ca16f2d558 | [
"MIT"
] | null | null | null | /*
Created: 19 February 2018
Last Updated: 19 May 2018
Dan Marley
daniel.edison.marley@cernSPAMNOT.ch
Texas A&M University
-----
Tool for performing deep learning tasks
*/
#include "Analysis/goldilocks/interface/ttbarReco.h"
ttbarReco::ttbarReco( configuration& cmaConfig ) :
m_config(&cmaConfig){
... | 33.405594 | 142 | 0.572326 | [
"vector"
] |
b4f8ad03940aace14ed0a2836a5c3999866222bc | 331 | hxx | C++ | src/Tools/Algo/Draw_generator/Event_generator/Event_generator.hxx | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 315 | 2016-06-21T13:32:14.000Z | 2022-03-28T09:33:59.000Z | src/Tools/Algo/Draw_generator/Event_generator/Event_generator.hxx | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 153 | 2017-01-17T03:51:06.000Z | 2022-03-24T15:39:26.000Z | src/Tools/Algo/Draw_generator/Event_generator/Event_generator.hxx | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 119 | 2017-01-04T14:31:58.000Z | 2022-03-21T08:34:16.000Z | #include "Tools/Algo/Draw_generator/Event_generator/Event_generator.hpp"
namespace aff3ct
{
namespace tools
{
template <typename R, typename E>
template <class A>
void Event_generator<R,E>::generate(std::vector<E,A> &draw, const R event_probability)
{
this->generate(draw.data(), (unsigned)draw.size(), event_probabili... | 22.066667 | 86 | 0.761329 | [
"vector"
] |
b4fc0f5d8d82490ce60b167999229556b37d3fe5 | 9,587 | cpp | C++ | rmidevice/rmidevice.cpp | synasnoguchi/rmi4utils | 5932feea90ff953f589a67b31a71e46bb1df42a6 | [
"Apache-2.0"
] | 1 | 2015-04-24T12:56:21.000Z | 2015-04-24T12:56:21.000Z | rmidevice/rmidevice.cpp | synasnoguchi/rmi4utils | 5932feea90ff953f589a67b31a71e46bb1df42a6 | [
"Apache-2.0"
] | null | null | null | rmidevice/rmidevice.cpp | synasnoguchi/rmi4utils | 5932feea90ff953f589a67b31a71e46bb1df42a6 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2014 Andrew Duggan
* Copyright (C) 2014 Synaptics 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
*
* Unle... | 26.483425 | 95 | 0.694586 | [
"vector"
] |
b4fe7844707a4025109b4a2f8c9b337e49d701c1 | 2,492 | cpp | C++ | SPQSP_IO/NSCLC/SP_QSP_NSCLC/pde/DiffuseGrid.cpp | popellab/SPQSP_IO | eca3ea55ec2f75b0db5d58da09500ddffabc001d | [
"MIT"
] | null | null | null | SPQSP_IO/NSCLC/SP_QSP_NSCLC/pde/DiffuseGrid.cpp | popellab/SPQSP_IO | eca3ea55ec2f75b0db5d58da09500ddffabc001d | [
"MIT"
] | null | null | null | SPQSP_IO/NSCLC/SP_QSP_NSCLC/pde/DiffuseGrid.cpp | popellab/SPQSP_IO | eca3ea55ec2f75b0db5d58da09500ddffabc001d | [
"MIT"
] | null | null | null | #include "DiffuseGrid.h"
#include "../core/GlobalUtilities.h"
namespace SP_QSP_IO{
namespace SP_QSP_NSCLC{
DiffuseGrid::DiffuseGrid()
:_min_substrate({1E-5})
{
setup_biofvm_grid();
}
DiffuseGrid::~DiffuseGrid()
{
}
/*! initializae tumor microenvironment grid.
This is called during model setup.
No need to s... | 27.086957 | 104 | 0.729133 | [
"mesh",
"model"
] |
b4fee8a3695e5589cd31c63a1546056b0275a297 | 25,007 | hpp | C++ | Pods/Realm/include/sync/remote_mongo_collection.hpp | taptalk-io/meettalk-ios | 9300303a7ecc8280af6b84ece32a3defe68f841d | [
"MIT"
] | 3 | 2021-08-09T09:30:44.000Z | 2022-01-17T00:35:49.000Z | Pods/Realm/include/sync/remote_mongo_collection.hpp | taptalk-io/meettalk-ios | 9300303a7ecc8280af6b84ece32a3defe68f841d | [
"MIT"
] | 1 | 2020-11-30T08:44:14.000Z | 2020-11-30T08:44:14.000Z | Pods/Realm/include/sync/remote_mongo_collection.hpp | taptalk-io/meettalk-ios | 9300303a7ecc8280af6b84ece32a3defe68f841d | [
"MIT"
] | 6 | 2021-08-29T01:57:47.000Z | 2022-03-25T10:07:59.000Z | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2020 Realm 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/li... | 49.814741 | 136 | 0.682689 | [
"object",
"shape",
"vector"
] |
37022f5b4c8f92cb58ef57e4b2e88d77d3e0af65 | 9,510 | cpp | C++ | src/PerlServer.cpp | BenBanerjeeRichards/perl-ide-server | 9a4a2d6342219241ef56da8b968688626d3102f3 | [
"MIT"
] | 1 | 2020-02-15T21:33:35.000Z | 2020-02-15T21:33:35.000Z | src/PerlServer.cpp | BenBanerjeeRichards/perl-ide-server | 9a4a2d6342219241ef56da8b968688626d3102f3 | [
"MIT"
] | null | null | null | src/PerlServer.cpp | BenBanerjeeRichards/perl-ide-server | 9a4a2d6342219241ef56da8b968688626d3102f3 | [
"MIT"
] | null | null | null | //
// Created by Ben Banerjee-Richards on 2019-11-24.
//
#include "PerlServer.h"
void sendJson(httplib::Response &res, json &jsonObject, std::string error = "", std::string errorMessage = "") {
json response;
response["body"] = jsonObject;
if (error.empty()) {
response["success"] = true;
} el... | 34.835165 | 120 | 0.584543 | [
"vector"
] |
37079abc008bc2df4daa57dcf3e3a78633f0b29e | 9,692 | cpp | C++ | src/third_party/harfbuzz/test/shaping/data/aots/hb-aots-tester.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 2 | 2021-02-24T07:36:40.000Z | 2021-05-15T12:42:21.000Z | src/third_party/harfbuzz/test/shaping/data/aots/hb-aots-tester.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | null | null | null | src/third_party/harfbuzz/test/shaping/data/aots/hb-aots-tester.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | null | null | null | /*____________________________________________________________________________
Copyright 2000-2016 Adobe Systems Incorporated. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use these files except in compliance with the License.
You may obtain a copy o... | 28.092754 | 104 | 0.53343 | [
"shape"
] |
37093b946609ce1b547c44d4e2a4f44fbd5b27bd | 21,253 | cc | C++ | chrome/browser/profiles/profile_window.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/browser/profiles/profile_window.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/browser/profiles/profile_window.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2013 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/profiles/profile_window.h"
#include <stddef.h>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "ba... | 39.284658 | 80 | 0.731144 | [
"vector"
] |
370c2e0d9b7784700e04e4a5be03f18dbe3682a2 | 3,377 | cpp | C++ | Source/Model/Reader/NMR_ModelReader.cpp | qmuntal/lib3mf | ad82d2f17bd37b942635c9cc7a33e4ea060b7adf | [
"BSD-2-Clause"
] | 1 | 2021-11-26T13:23:39.000Z | 2021-11-26T13:23:39.000Z | Source/Model/Reader/NMR_ModelReader.cpp | qmuntal/lib3mf | ad82d2f17bd37b942635c9cc7a33e4ea060b7adf | [
"BSD-2-Clause"
] | null | null | null | Source/Model/Reader/NMR_ModelReader.cpp | qmuntal/lib3mf | ad82d2f17bd37b942635c9cc7a33e4ea060b7adf | [
"BSD-2-Clause"
] | null | null | null | /*++
Copyright (C) 2018 3MF Consortium
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 the followi... | 32.786408 | 123 | 0.787385 | [
"mesh",
"model"
] |
37152a7e8609cd527a26d4933d5ea57ef2bc7257 | 6,582 | cc | C++ | JetMETCorrections/Type1MET/plugins/MultShiftMETcorrDBInputProducer.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 2 | 2020-01-21T11:23:39.000Z | 2020-01-21T11:23:42.000Z | JetMETCorrections/Type1MET/plugins/MultShiftMETcorrDBInputProducer.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 8 | 2020-03-20T23:18:36.000Z | 2020-05-27T11:00:06.000Z | JetMETCorrections/Type1MET/plugins/MultShiftMETcorrDBInputProducer.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2019-03-09T13:06:43.000Z | 2020-07-03T00:47:30.000Z | #include "JetMETCorrections/Type1MET/plugins/MultShiftMETcorrDBInputProducer.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "CondFormats/JetMETObjects/interface/MEtXYcorrectParameters.h"
#include "CondFormats/JetMETObjects/interface/Utilities.h"
#include ... | 36.77095 | 119 | 0.671376 | [
"vector"
] |
3719c5a15f09bf53dbd9864a5c6d15ee6060e38e | 2,109 | cpp | C++ | src/CommandLineParser.cpp | grahambrooks/jak | 14e6c195807b797471b11499f2ffe6cde898321c | [
"MIT"
] | null | null | null | src/CommandLineParser.cpp | grahambrooks/jak | 14e6c195807b797471b11499f2ffe6cde898321c | [
"MIT"
] | null | null | null | src/CommandLineParser.cpp | grahambrooks/jak | 14e6c195807b797471b11499f2ffe6cde898321c | [
"MIT"
] | null | null | null | #include <iostream>
#include "CommandLineParser.h"
#include <boost/program_options.hpp>
#include <boost/filesystem.hpp>
CommandLineParser::RuntimeConfiguration CommandLineParser::parse(int argc, char *argv[]) {
const char* commands_key = "commands";
try {
std::string appName = boost::filesystem::basen... | 36.362069 | 90 | 0.59412 | [
"vector"
] |
371b0cac4165027061348b3ed819c4250f0f6347 | 8,441 | cpp | C++ | src/llvm/analysis/PointsTo/Structure.cpp | tum-i4/dg | 287f5fe9a0e7fd01ab57a3480bf2f51d0b6e0f9a | [
"MIT"
] | 1 | 2019-12-16T01:48:08.000Z | 2019-12-16T01:48:08.000Z | src/llvm/analysis/PointsTo/Structure.cpp | tum-i4/dg | 287f5fe9a0e7fd01ab57a3480bf2f51d0b6e0f9a | [
"MIT"
] | 1 | 2018-07-02T19:42:04.000Z | 2018-07-02T19:42:04.000Z | src/llvm/analysis/PointsTo/Structure.cpp | ManSoSec/dg | 4bd115f8cf26d3584f009c92c0f7c21b1fb57307 | [
"MIT"
] | 1 | 2021-02-10T02:14:31.000Z | 2021-02-10T02:14:31.000Z | #include <cassert>
#include <set>
// ignore unused parameters in LLVM libraries
#if (__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-parameter"
#else
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
#include <llvm/Config/llvm-config.h>
#if ((L... | 31.733083 | 89 | 0.594598 | [
"vector"
] |
7deb5d3a5e32e083d978320504f14aa3f67f4bd2 | 5,094 | cpp | C++ | cpp/src/render/utils/vega/vega_choropleth_map/vega_choropleth_map.cpp | xiaocai2333/arctern_test | 852b5d14f3669b16a76b3f7a93f62c51b7a707b9 | [
"Apache-2.0"
] | null | null | null | cpp/src/render/utils/vega/vega_choropleth_map/vega_choropleth_map.cpp | xiaocai2333/arctern_test | 852b5d14f3669b16a76b3f7a93f62c51b7a707b9 | [
"Apache-2.0"
] | null | null | null | cpp/src/render/utils/vega/vega_choropleth_map/vega_choropleth_map.cpp | xiaocai2333/arctern_test | 852b5d14f3669b16a76b3f7a93f62c51b7a707b9 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2019-2020 Zilliz. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 38.590909 | 89 | 0.677856 | [
"render"
] |
7deba866e2a8d2de079bfef0a0b3f2e295cbba79 | 1,565 | cpp | C++ | Sort-I/shell_sort.cpp | shunjilin/AOJ-algo-data-structures | 89ab47af6d836998db5a236bc2f1377d19317e49 | [
"MIT"
] | 2 | 2016-12-17T09:08:39.000Z | 2017-08-22T19:11:19.000Z | Sort-I/shell_sort.cpp | shunjilin/AOJ-algo-data-structures | 89ab47af6d836998db5a236bc2f1377d19317e49 | [
"MIT"
] | null | null | null | Sort-I/shell_sort.cpp | shunjilin/AOJ-algo-data-structures | 89ab47af6d836998db5a236bc2f1377d19317e49 | [
"MIT"
] | null | null | null | /**
Selection Sort
<Print # of swap operations>
Shunji Lin
10/12/2015
**/
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int swap_count = 0; // number of swaps
void insertion_sort(vector<int> &sort_vec, int n, int interval) {
for (int i = interval; i < n; ++i) {
int pivo... | 20.324675 | 71 | 0.573802 | [
"vector"
] |
7decf6261662672b605c9668004ec1f721ec1db7 | 958 | cc | C++ | codeforces/266/b.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | 1 | 2019-05-12T23:41:00.000Z | 2019-05-12T23:41:00.000Z | codeforces/266/b.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | codeforces/266/b.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <c... | 15.966667 | 39 | 0.487474 | [
"vector"
] |
7df535c9d26b9e8ff89e63a388f6e4585a9b8bfe | 30,012 | cpp | C++ | source/matplot/axes_objects/surface.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | null | null | null | source/matplot/axes_objects/surface.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | null | null | null | source/matplot/axes_objects/surface.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | null | null | null | //
// Created by Alan Freitas on 2020-07-07.
//
#include <cmath>
#include <sstream>
#include <regex>
#include <matplot/axes_objects/surface.h>
#include <matplot/core/axes.h>
#include <matplot/util/common.h>
namespace matplot {
surface::surface(class axes* parent) : axes_object(parent) {}
surface::surface(cla... | 33.272727 | 174 | 0.504398 | [
"vector",
"solid"
] |
7df60ec400138748898388bb146c25dfcdeabc51 | 3,506 | cpp | C++ | src/Vector3D.cpp | zellfaze/orbitalmechanicslibrary | d3c962133c326e768112ff6b907abbf88265bb16 | [
"CC0-1.0"
] | null | null | null | src/Vector3D.cpp | zellfaze/orbitalmechanicslibrary | d3c962133c326e768112ff6b907abbf88265bb16 | [
"CC0-1.0"
] | null | null | null | src/Vector3D.cpp | zellfaze/orbitalmechanicslibrary | d3c962133c326e768112ff6b907abbf88265bb16 | [
"CC0-1.0"
] | null | null | null | #include "Vector3D.h"
Vector3D::Vector3D() {
x(0);
y(0);
z(0);
}
Vector3D::Vector3D(double newx, double newy, double newz) {
x(newx);
y(newy);
z(newz);
}
Angle Vector3D::alpha() const {
double coa;
coa = x()/magnitude();
Angle result = Angle(acos(coa));
return result;
}
void Vector3D::alpha(Angl... | 19.370166 | 71 | 0.608386 | [
"vector"
] |
7df9e7af758d217d8bb52adf23b91dd45600644b | 11,952 | cpp | C++ | applications/ContactStructuralMechanicsApplication/custom_processes/mpc_contact_search_process.cpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | applications/ContactStructuralMechanicsApplication/custom_processes/mpc_contact_search_process.cpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | applications/ContactStructuralMechanicsApplication/custom_processes/mpc_contact_search_process.cpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | // KRATOS ___| | | |
// \___ \ __| __| | | __| __| | | __| _` | |
// | | | | | ( | | | | ( | |
// _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS
//
// License: BSD License
// license: StructuralMechanicsApplicat... | 45.272727 | 209 | 0.632112 | [
"vector",
"model"
] |
7dfbfd818a20977781a35b7f83322a5610d0bbad | 22,649 | cpp | C++ | Sankore-3.1/src/pdf-merger/Page.cpp | eaglezzb/rsdc | cce881f6542ff206bf286cf798c8ec8da3b51d50 | [
"MIT"
] | null | null | null | Sankore-3.1/src/pdf-merger/Page.cpp | eaglezzb/rsdc | cce881f6542ff206bf286cf798c8ec8da3b51d50 | [
"MIT"
] | null | null | null | Sankore-3.1/src/pdf-merger/Page.cpp | eaglezzb/rsdc | cce881f6542ff206bf286cf798c8ec8da3b51d50 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA)
*
* This file is part of Open-Sankoré.
*
* Open-Sankoré 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 Found... | 39.458188 | 122 | 0.675129 | [
"object",
"vector"
] |
7dfc3a573c84e1bfc3c0a6d21de050c293b07404 | 847 | cpp | C++ | Day 12 - Passage Pathing/Part 1/src/main.cpp | diff-arch/AdventOfCode2021- | a3e48eafed847af8c787dbf6e70e93975c3dc5fa | [
"MIT"
] | 1 | 2021-12-02T19:07:17.000Z | 2021-12-02T19:07:17.000Z | Day 12 - Passage Pathing/Part 1/src/main.cpp | diff-arch/AdventOfCode2021- | a3e48eafed847af8c787dbf6e70e93975c3dc5fa | [
"MIT"
] | null | null | null | Day 12 - Passage Pathing/Part 1/src/main.cpp | diff-arch/AdventOfCode2021- | a3e48eafed847af8c787dbf6e70e93975c3dc5fa | [
"MIT"
] | null | null | null | //
// main.cpp
// ADVENT OF CODE 2021: Day 12 - Passage Pathing (Part 1)
//
// Created by diff-arch on 12/12/2021.
//
// Goal: How many paths through this cave system are there that visit small caves at most once?
//
// Compile: g++ -std=c++11 -o bin/a.out src/*.cpp
// Run: ./bin/a.out
//
#include <iostre... | 21.717949 | 99 | 0.619835 | [
"vector"
] |
7dfe3688af8b722f1a6ba1475311c5f670a85431 | 10,882 | cpp | C++ | cdb/src/v20170320/model/TaskDetail.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | cdb/src/v20170320/model/TaskDetail.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | cdb/src/v20170320/model/TaskDetail.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
... | 27.205 | 137 | 0.667616 | [
"vector",
"model"
] |
7dfe8bb5323144306da0790c8e897a2cc60b8ef8 | 7,760 | cxx | C++ | Qt/Core/pqStandardServerManagerModelInterface.cxx | psavery/ParaView | 00074fbc7de29c2ab2f1b90624e07d1af53484ee | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2021-07-21T07:15:44.000Z | 2021-07-21T07:15:44.000Z | Qt/Core/pqStandardServerManagerModelInterface.cxx | psavery/ParaView | 00074fbc7de29c2ab2f1b90624e07d1af53484ee | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Qt/Core/pqStandardServerManagerModelInterface.cxx | psavery/ParaView | 00074fbc7de29c2ab2f1b90624e07d1af53484ee | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2021-03-13T03:35:01.000Z | 2021-03-13T03:35:01.000Z | /*=========================================================================
Program: ParaView
Module: pqStandardServerManagerModelInterface.cxx
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
unde... | 34.035088 | 100 | 0.675773 | [
"render",
"object"
] |
b400c99a8b1ff4d57ee93da1db5b944e2bd5cc76 | 5,869 | cc | C++ | modules/ofabmap/apps/live_fabmap.cc | grace-/opencv-3.0.0-cvpr | 6d854e002d60ed853732a051343ab48d5b8a30dd | [
"BSD-3-Clause"
] | 4 | 2015-03-30T14:02:41.000Z | 2016-12-10T05:42:59.000Z | modules/ofabmap/apps/live_fabmap.cc | grace-/opencv-3.0.0-cvpr | 6d854e002d60ed853732a051343ab48d5b8a30dd | [
"BSD-3-Clause"
] | null | null | null | modules/ofabmap/apps/live_fabmap.cc | grace-/opencv-3.0.0-cvpr | 6d854e002d60ed853732a051343ab48d5b8a30dd | [
"BSD-3-Clause"
] | 2 | 2017-12-15T08:26:45.000Z | 2019-02-10T19:50:16.000Z | /* this file is to demonstrate live FAB-MAP matching
* fabmap approach is based on the openfabmap implementation
* @author - Prasanna Krishnasamy (pras.bits@gmail.com)
*/
#include "opencv2/opencv.hpp"
#include "opencv2/nonfree/nonfree.hpp"
#include <boost/filesystem.hpp>
#include <boost/lexical_cast.hpp>
#include ... | 26.556561 | 78 | 0.608962 | [
"vector"
] |
b402b5c4a54c264bfa251de0743762b01aac56ce | 425,255 | cpp | C++ | src/llvm-4.0.0.src/tools/clang/unittests/Format/FormatTest.cpp | wwkenwong/piecewise | 2cecb3f67fd2e1cd5b67102d49f9e16cf9a2e52f | [
"BSD-3-Clause-Clear"
] | 12 | 2018-09-18T19:51:27.000Z | 2022-01-18T15:31:41.000Z | src/llvm-4.0.0.src/tools/clang/unittests/Format/FormatTest.cpp | wwkenwong/piecewise | 2cecb3f67fd2e1cd5b67102d49f9e16cf9a2e52f | [
"BSD-3-Clause-Clear"
] | 4 | 2021-01-08T07:55:34.000Z | 2021-08-06T12:06:02.000Z | src/llvm-4.0.0.src/tools/clang/unittests/Format/FormatTest.cpp | wwkenwong/piecewise | 2cecb3f67fd2e1cd5b67102d49f9e16cf9a2e52f | [
"BSD-3-Clause-Clear"
] | 3 | 2019-06-12T19:38:54.000Z | 2020-03-05T19:17:23.000Z | //===- unittest/Format/FormatTest.cpp - Formatting unit tests -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 38.453296 | 83 | 0.48921 | [
"object",
"vector"
] |
b403105cb121d57d64e2bdbbdadb5520094ac14f | 2,849 | cpp | C++ | libcxx/test/std/utilities/format/format.functions/format_to.locale.pass.cpp | rastogishubham/llvm-project | 1785d49d77a82222d33122ab6e2a115c91d007a1 | [
"Apache-2.0"
] | null | null | null | libcxx/test/std/utilities/format/format.functions/format_to.locale.pass.cpp | rastogishubham/llvm-project | 1785d49d77a82222d33122ab6e2a115c91d007a1 | [
"Apache-2.0"
] | null | null | null | libcxx/test/std/utilities/format/format.functions/format_to.locale.pass.cpp | rastogishubham/llvm-project | 1785d49d77a82222d33122ab6e2a115c91d007a1 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------------------------... | 31.655556 | 110 | 0.604072 | [
"vector"
] |
b404294ef39380ac268fef4614e33b27fc7fa002 | 4,522 | hpp | C++ | src/radiance/WindowGroup.hpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 354 | 2015-01-10T17:46:11.000Z | 2022-03-29T10:00:00.000Z | src/radiance/WindowGroup.hpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 3,243 | 2015-01-02T04:54:45.000Z | 2022-03-31T17:22:22.000Z | src/radiance/WindowGroup.hpp | jmarrec/OpenStudio | 5276feff0d8dbd6c8ef4e87eed626bc270a19b14 | [
"blessing"
] | 157 | 2015-01-07T15:59:55.000Z | 2022-03-30T07:46:09.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 42.261682 | 130 | 0.721141 | [
"geometry",
"vector",
"model"
] |
b4058ecf219336f07e6762f4d576adf461d7f5ae | 596 | cpp | C++ | hiro/core/sizable.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 10 | 2019-12-19T01:19:41.000Z | 2021-02-18T16:30:29.000Z | hiro/core/sizable.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | null | null | null | hiro/core/sizable.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | null | null | null | #if defined(Hiro_Sizable)
auto mSizable::allocate() -> pObject* {
return new pSizable(*this);
}
auto mSizable::doSize() const -> void {
if(state.onSize) return state.onSize();
}
auto mSizable::geometry() const -> Geometry {
return state.geometry;
}
auto mSizable::minimumSize() const -> Size {
return signal(... | 19.225806 | 67 | 0.692953 | [
"geometry"
] |
b4072441286a44cac3fde97ada5614434dd3a326 | 4,872 | cpp | C++ | cpp/src/cylon/arrow/arrow_partition_kernels.cpp | nirandaperera/cylon | bc9e4dc1285a4a1313577e696ae858437235ace9 | [
"Apache-2.0"
] | null | null | null | cpp/src/cylon/arrow/arrow_partition_kernels.cpp | nirandaperera/cylon | bc9e4dc1285a4a1313577e696ae858437235ace9 | [
"Apache-2.0"
] | null | null | null | cpp/src/cylon/arrow/arrow_partition_kernels.cpp | nirandaperera/cylon | bc9e4dc1285a4a1313577e696ae858437235ace9 | [
"Apache-2.0"
] | null | null | null | /*
* 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 writing, software
* distributed u... | 42 | 99 | 0.651683 | [
"vector"
] |
b40726784d384099cf5a4f248572445bc4b37efb | 585 | cpp | C++ | files/IO/proto_main.cpp | mipt-npm-study/sciprog-python | 09a0d99254fcd559ec8d13bedd5521e98e86b3ce | [
"MIT"
] | 3 | 2021-09-12T20:54:08.000Z | 2021-09-21T14:49:15.000Z | files/IO/proto_main.cpp | mipt-npm-study/sciprog-python | 09a0d99254fcd559ec8d13bedd5521e98e86b3ce | [
"MIT"
] | null | null | null | files/IO/proto_main.cpp | mipt-npm-study/sciprog-python | 09a0d99254fcd559ec8d13bedd5521e98e86b3ce | [
"MIT"
] | 2 | 2021-09-14T13:15:41.000Z | 2021-09-14T15:18:01.000Z |
#include "example.pb.h"
#include <fstream>
using namespace std;
int main(){
auto list = new sciprog::ParticleList();
for (int i = 0; i < 10000; ++i){
auto data = list->add_particle();
data->set_id(i);
data->set_energy(i*3.14);
auto vector = new sciprog::Vector();
vect... | 22.5 | 55 | 0.582906 | [
"vector"
] |
b4089d9e162c3719dde9a9f5a636cf533bfc52b2 | 10,592 | cpp | C++ | miniapps/mtop/seqheat.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | miniapps/mtop/seqheat.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | miniapps/mtop/seqheat.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 34.501629 | 86 | 0.631798 | [
"mesh",
"vector"
] |
b41b38c6047c336887cc9ac02043209f6e51cd3f | 8,727 | cpp | C++ | lib/src/processMonitor/processMonitor.cpp | xan105/node-processMonitor | 3623bd1f72e1f9ba3e68c9d97480c300e9706ce5 | [
"MIT"
] | null | null | null | lib/src/processMonitor/processMonitor.cpp | xan105/node-processMonitor | 3623bd1f72e1f9ba3e68c9d97480c300e9706ce5 | [
"MIT"
] | 5 | 2020-11-22T15:10:12.000Z | 2022-03-21T10:32:04.000Z | lib/src/processMonitor/processMonitor.cpp | xan105/node-processMonitor | 3623bd1f72e1f9ba3e68c9d97480c300e9706ce5 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2020-2021 Anthony Beaumont
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, p... | 26.525836 | 167 | 0.661739 | [
"object",
"vector",
"model"
] |
b41bbda00926d4299e4db46224165619d606bd97 | 29,531 | cc | C++ | proxy/logging/LogUtils.cc | mingzym/zym4T | 2e5d46250d79def96e0979ebb2a13efc53993e47 | [
"Apache-2.0"
] | 2 | 2019-01-19T02:49:35.000Z | 2019-06-12T09:21:10.000Z | proxy/logging/LogUtils.cc | mingzym/zym4T | 2e5d46250d79def96e0979ebb2a13efc53993e47 | [
"Apache-2.0"
] | null | null | null | proxy/logging/LogUtils.cc | mingzym/zym4T | 2e5d46250d79def96e0979ebb2a13efc53993e47 | [
"Apache-2.0"
] | null | null | null | /** @file
A brief file description
@section license License
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 und... | 30.602073 | 107 | 0.567641 | [
"object"
] |
b42872da59988ca4900479d0b1a75155ff1f1c1d | 2,377 | cxx | C++ | Modules/Core/Common/test/itkMetaDataObjectTest.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/Core/Common/test/itkMetaDataObjectTest.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/Core/Common/test/itkMetaDataObjectTest.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 32.121622 | 107 | 0.663021 | [
"object"
] |
b42a23e67499ac7e0806f40b77223457496240fb | 14,843 | cpp | C++ | src/bmp24.cpp | ChristianVisintin/libBMPP | b66ffec5cc1c26520ae535d0e88e29e0853afcdb | [
"MIT"
] | 4 | 2021-01-19T06:54:59.000Z | 2022-03-26T10:41:53.000Z | src/bmp24.cpp | ChristianVisintin/libBMPP | b66ffec5cc1c26520ae535d0e88e29e0853afcdb | [
"MIT"
] | 2 | 2020-05-09T05:23:51.000Z | 2020-05-09T14:37:13.000Z | src/bmp24.cpp | ChristianVisintin/libBMPP | b66ffec5cc1c26520ae535d0e88e29e0853afcdb | [
"MIT"
] | 1 | 2022-03-21T03:26:01.000Z | 2022-03-21T03:26:01.000Z | /**
* libBMpp - bmp24.hpp
* Developed by Christian Visintin
*
* MIT License
* Copyright (c) 2019 Christian Visintin
* 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 restri... | 30.794606 | 186 | 0.664488 | [
"object",
"vector"
] |
b42ccd9863924d5c150fe64163446b27d0903972 | 2,323 | hpp | C++ | include/dish2/algorithm/battleship_nop_out_phenotypically_neutral_instructions.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 29 | 2019-02-04T02:39:52.000Z | 2022-01-28T10:06:26.000Z | include/dish2/algorithm/battleship_nop_out_phenotypically_neutral_instructions.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 95 | 2020-02-22T19:48:14.000Z | 2021-09-14T19:17:53.000Z | include/dish2/algorithm/battleship_nop_out_phenotypically_neutral_instructions.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 6 | 2019-11-19T10:13:09.000Z | 2021-03-25T17:35:32.000Z | #pragma once
#ifndef DISH2_ALGORITHM_BATTLESHIP_NOP_OUT_PHENOTYPICALLY_NEUTRAL_INSTRUCTIONS_HPP_INCLUDE
#define DISH2_ALGORITHM_BATTLESHIP_NOP_OUT_PHENOTYPICALLY_NEUTRAL_INSTRUCTIONS_HPP_INCLUDE
#include <algorithm>
#include <iostream>
#include <tuple>
#include "../../../third-party/Empirical/include/emp/base/vector.... | 30.565789 | 100 | 0.708997 | [
"vector"
] |
b42e00e2fbd7d0101775eddf99e9387f25130f46 | 5,081 | cc | C++ | mindspore/lite/src/runtime/kernel/arm/base/carry_data.cc | xu-weizhen/mindspore | e55642e40b8ce9abafa8e50865b490f0317b4703 | [
"Apache-2.0"
] | 4 | 2021-01-26T09:14:01.000Z | 2021-01-26T09:17:24.000Z | mindspore/lite/src/runtime/kernel/arm/base/carry_data.cc | xu-weizhen/mindspore | e55642e40b8ce9abafa8e50865b490f0317b4703 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/runtime/kernel/arm/base/carry_data.cc | xu-weizhen/mindspore | e55642e40b8ce9abafa8e50865b490f0317b4703 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 Huawei Technologies 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 law... | 40.975806 | 118 | 0.671718 | [
"shape",
"vector"
] |
b430ba67ec1517ffca4917b0326962eb38984c1e | 39,137 | cc | C++ | horovod/common/controller.cc | Infi-zc/horovod | 94cd8561a21d449fc8c80c8fef422025b84dfc22 | [
"Apache-2.0"
] | 5,089 | 2017-08-10T20:44:50.000Z | 2019-02-12T00:45:34.000Z | horovod/common/controller.cc | Infi-zc/horovod | 94cd8561a21d449fc8c80c8fef422025b84dfc22 | [
"Apache-2.0"
] | 669 | 2017-08-11T21:33:41.000Z | 2019-02-12T01:02:17.000Z | horovod/common/controller.cc | Infi-zc/horovod | 94cd8561a21d449fc8c80c8fef422025b84dfc22 | [
"Apache-2.0"
] | 706 | 2017-08-11T00:30:43.000Z | 2019-02-11T12:00:34.000Z | // Copyright 2019 Uber Technologies, Inc. All Rights Reserved.
// Modifications copyright Microsoft
// Modifications copyright (C) 2020, NVIDIA CORPORATION. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Y... | 38.145224 | 118 | 0.650254 | [
"shape",
"vector"
] |
b43372e88bc5a7d49e55fe5300d9ed33b8ab3ad6 | 3,009 | cpp | C++ | DearPyGui/src/core/AppItems/containers/mvMenu.cpp | czhmisaka/DearPyGui | a10b6cb8446aa17d3b3255214ca6b535111ec835 | [
"MIT"
] | 1 | 2021-02-09T07:03:52.000Z | 2021-02-09T07:03:52.000Z | DearPyGui/src/core/AppItems/containers/mvMenu.cpp | czhmisaka/DearPyGui | a10b6cb8446aa17d3b3255214ca6b535111ec835 | [
"MIT"
] | null | null | null | DearPyGui/src/core/AppItems/containers/mvMenu.cpp | czhmisaka/DearPyGui | a10b6cb8446aa17d3b3255214ca6b535111ec835 | [
"MIT"
] | null | null | null | #pragma once
#include "mvMenu.h"
#include "mvApp.h"
namespace Marvel {
void mvMenu::InsertParser(std::map<std::string, mvPythonParser>* parsers)
{
parsers->insert({ "add_menu", mvPythonParser({
{mvPythonDataType::String, "name"},
{mvPythonDataType::KeywordOnly},
{mvPythonDataType::String, "label", "", "... | 24.266129 | 135 | 0.661682 | [
"render"
] |
b433bc18acc9dadb06b82d89ad8088f78825c2dc | 8,433 | hpp | C++ | cuarma/traits/size.hpp | yangxianpku/cuarma | 404f20b5b3fa74e5e27338e89343450f8853024c | [
"X11",
"MIT"
] | null | null | null | cuarma/traits/size.hpp | yangxianpku/cuarma | 404f20b5b3fa74e5e27338e89343450f8853024c | [
"X11",
"MIT"
] | null | null | null | cuarma/traits/size.hpp | yangxianpku/cuarma | 404f20b5b3fa74e5e27338e89343450f8853024c | [
"X11",
"MIT"
] | null | null | null | #pragma once
/* =========================================================================
Copyright (c) 2015-2017, COE of Peking University, Shaoqiang Tang.
-----------------
cuarma - COE of Peking University, Shaoqiang Tang.
-----------------
... | 30.665455 | 154 | 0.675323 | [
"vector"
] |
b434b15e912fc4aee0aedb9770144fedb7628e61 | 1,779 | cc | C++ | DetectorDescription/DDCMS/src/DDCompactView.cc | jeongsumin/cmssw | 54acaec3dc59abda01c018920077db98db976746 | [
"Apache-2.0"
] | null | null | null | DetectorDescription/DDCMS/src/DDCompactView.cc | jeongsumin/cmssw | 54acaec3dc59abda01c018920077db98db976746 | [
"Apache-2.0"
] | null | null | null | DetectorDescription/DDCMS/src/DDCompactView.cc | jeongsumin/cmssw | 54acaec3dc59abda01c018920077db98db976746 | [
"Apache-2.0"
] | null | null | null | #include "DetectorDescription/DDCMS/interface/DDCompactView.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <DD4hep/Filter.h>
#include <cmath>
#include "tbb/concurrent_vector.h"
template <>
std::vector<int> cms::DDCompactView::getVector<int>(const std::string& key) const {
std::vector<int> result;
c... | 31.767857 | 111 | 0.645306 | [
"vector",
"transform"
] |
b434bf13438e43d3bacef4cc8c5065536f3e6e7c | 2,536 | cpp | C++ | libraries/ArduinoJson/test/JsonArray/set.cpp | tarontop/IRmqtt | 5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8 | [
"MIT"
] | null | null | null | libraries/ArduinoJson/test/JsonArray/set.cpp | tarontop/IRmqtt | 5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8 | [
"MIT"
] | 1 | 2020-01-09T07:07:44.000Z | 2020-01-09T07:07:44.000Z | libraries/ArduinoJson/test/JsonArray/set.cpp | tarontop/IRmqtt | 5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8 | [
"MIT"
] | null | null | null | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#include <ArduinoJson.h>
#include <catch.hpp>
using namespace Catch::Matchers;
TEST_CASE("JsonArray::set()") {
DynamicJsonDocument doc;
JsonArray _array = doc.to<JsonArray>();
_array.add(0);
SECTION("int") {
_array.se... | 24.621359 | 63 | 0.623817 | [
"object"
] |
b43ab6cb95dbc1be6f46d865127477ce9a371879 | 6,209 | cpp | C++ | src/editor-graph.cpp | adct-the-experimenter/timeline-track-editor | f8282da358384b6349272bb242f0bdba8cee1e7e | [
"BSD-3-Clause"
] | 6 | 2019-05-28T03:04:02.000Z | 2021-07-02T18:38:39.000Z | src/editor-graph.cpp | adct-the-experimenter/timeline-track-editor | f8282da358384b6349272bb242f0bdba8cee1e7e | [
"BSD-3-Clause"
] | 5 | 2019-06-24T18:08:28.000Z | 2019-08-26T02:25:34.000Z | src/editor-graph.cpp | adct-the-experimenter/timeline-track-editor | f8282da358384b6349272bb242f0bdba8cee1e7e | [
"BSD-3-Clause"
] | null | null | null | #include "editor-graph.h"
EditorGraph::EditorGraph(wxWindow* parent) : wxPanel(parent)
{
}
void EditorGraph::SetReferenceToTimeTickVector(std::vector <int> *thisVector){timeTickVectorPtr = thisVector;}
int EditorGraph::GetVerticalGraphValueAtThisTime(double& thisTime, bool& legitValue)
{
//check if there is alr... | 31.358586 | 155 | 0.698824 | [
"render",
"vector"
] |
b43b4f55d8454a387c6518b099c6d3c48ca00570 | 2,909 | cpp | C++ | src/ClingInterpreterModule.cpp | dendisuhubdy/CXTPL | 586b146c6a68b79a310ba20d133a0ca6211f22cc | [
"MIT"
] | 13 | 2019-09-24T06:45:54.000Z | 2020-10-22T10:04:33.000Z | src/ClingInterpreterModule.cpp | dendisuhubdy/CXTPL | 586b146c6a68b79a310ba20d133a0ca6211f22cc | [
"MIT"
] | 65 | 2019-09-20T07:25:22.000Z | 2020-10-14T14:31:52.000Z | src/ClingInterpreterModule.cpp | dendisuhubdy/CXTPL | 586b146c6a68b79a310ba20d133a0ca6211f22cc | [
"MIT"
] | 22 | 2019-09-25T10:11:57.000Z | 2020-10-12T10:40:14.000Z | #include "ClingInterpreterModule.hpp"
/// \todo use boost outcome for error reporting
#include <iostream>
#include <exception>
#if defined(CLING_IS_ON)
// __has_include is currently supported by GCC and Clang. However GCC 4.9 may have issues and
// returns 1 for 'defined( __has_include )', while '__has_include' is ... | 31.619565 | 93 | 0.687865 | [
"vector"
] |
b43c05345b5ec2f69e34cabb7a40ad431a5c1a11 | 6,666 | hpp | C++ | src/core/thread/address_resolver.hpp | jjzhang166/openthread | e68e38b8e85fe4eeb3810727cd3583b5f87a4e70 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T05:03:00.000Z | 2021-05-21T05:03:00.000Z | src/core/thread/address_resolver.hpp | leslieguyo/openthread | 6e7f8534e038a131173b57f9cf899351e8242413 | [
"BSD-3-Clause"
] | null | null | null | src/core/thread/address_resolver.hpp | leslieguyo/openthread | 6e7f8534e038a131173b57f9cf899351e8242413 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T05:03:01.000Z | 2021-05-21T05:03:01.000Z | /*
* Copyright (c) 2016, Nest Labs, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of ... | 35.269841 | 119 | 0.681818 | [
"object"
] |
b43cc7509532b8f4ec578f88ee192eae18f0ce3a | 15,395 | cc | C++ | Rpi/Nav/NavSimple.cc | Kronos3/vo-cmpe460 | 0de7ace458a58cb580b3a79462b515d6313440a2 | [
"MIT"
] | null | null | null | Rpi/Nav/NavSimple.cc | Kronos3/vo-cmpe460 | 0de7ace458a58cb580b3a79462b515d6313440a2 | [
"MIT"
] | null | null | null | Rpi/Nav/NavSimple.cc | Kronos3/vo-cmpe460 | 0de7ace458a58cb580b3a79462b515d6313440a2 | [
"MIT"
] | null | null | null | #include "NavAlgorithm.h"
#include "Assert.hpp"
#include "opencv2/imgproc.hpp"
namespace Rpi
{
NavSimple::NavSimple(CarController* car)
: NavAlgorithm(car)
{
}
bool NavSimple::process(CamFrame* frame, cv::Mat &image)
{
F32 left, right;
EdgesFound edges;
// Edges... | 30.606362 | 87 | 0.43683 | [
"vector"
] |
b43e5cb85a43e3b7168ecbb0e0295b0daa067476 | 32,194 | cpp | C++ | reference/aga_bayrate/db.cpp | flovo/goratings | 50b5443b73daae64306e256205eabee8f4815c65 | [
"MIT"
] | 13 | 2020-07-02T16:43:12.000Z | 2021-12-12T00:12:48.000Z | reference/aga_bayrate/db.cpp | flovo/goratings | 50b5443b73daae64306e256205eabee8f4815c65 | [
"MIT"
] | 13 | 2020-07-05T10:06:42.000Z | 2022-02-27T10:03:24.000Z | reference/aga_bayrate/db.cpp | flovo/goratings | 50b5443b73daae64306e256205eabee8f4815c65 | [
"MIT"
] | 2 | 2020-07-04T11:19:37.000Z | 2021-01-15T16:46:32.000Z | /*************************************************************************************
Copyright 2010 Philip Waldron
This file is part of BayRate.
BayRate 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 F... | 38.975787 | 424 | 0.654283 | [
"vector"
] |
b440958427e23b8e68e38d7f94f58a831cd373db | 418 | hpp | C++ | src/parser/cpp/headers/formatter.hpp | cgabriel5/nodecliac | 221e0dc88f7a3174f7426037d0d08b4f98a7af0e | [
"MIT"
] | 5 | 2020-01-22T23:15:46.000Z | 2020-05-22T04:33:00.000Z | src/parser/cpp/headers/formatter.hpp | cgabriel5/nodecliac | 221e0dc88f7a3174f7426037d0d08b4f98a7af0e | [
"MIT"
] | 4 | 2020-04-13T00:00:21.000Z | 2022-02-14T04:42:25.000Z | src/parser/cpp/headers/formatter.hpp | cgabriel5/nodecliac | 221e0dc88f7a3174f7426037d0d08b4f98a7af0e | [
"MIT"
] | null | null | null | #ifndef FORMATTER_HPP
#define FORMATTER_HPP
#include "./structs.hpp"
#include <tuple>
#include <string>
#include <vector>
#include <map>
using namespace std;
tuple <string, string, string, string, string, string, map<string, string>, string>
formatter(StateParse &S,
vector<vector<Token>> &BRANCHES,
vector<vector... | 19.904762 | 83 | 0.727273 | [
"vector"
] |
b44413a69fe34df06ac10219c705f7b00acd6e0a | 5,685 | hxx | C++ | Modules/IO/TransformBase/include/itkTransformFileWriter.hxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 3 | 2019-11-19T09:47:25.000Z | 2022-02-24T00:32:31.000Z | Modules/IO/TransformBase/include/itkTransformFileWriter.hxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2019-03-18T14:19:49.000Z | 2020-01-11T13:54:33.000Z | Modules/IO/TransformBase/include/itkTransformFileWriter.hxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2022-02-24T00:32:36.000Z | 2022-02-24T00:32:36.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 30.079365 | 122 | 0.704134 | [
"object",
"transform"
] |
b4470ea0faf739626f7e17eb66942a4a569377e8 | 1,427 | hpp | C++ | src/lib/scheduler/operator_task.hpp | mrks-test/hyrise | 71480199f504cf9cffc86582cdac68dbb2ea4952 | [
"MIT"
] | null | null | null | src/lib/scheduler/operator_task.hpp | mrks-test/hyrise | 71480199f504cf9cffc86582cdac68dbb2ea4952 | [
"MIT"
] | null | null | null | src/lib/scheduler/operator_task.hpp | mrks-test/hyrise | 71480199f504cf9cffc86582cdac68dbb2ea4952 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <unordered_map>
#include <vector>
#include "scheduler/abstract_task.hpp"
namespace opossum {
class AbstractOperator;
/**
* Makes an AbstractOperator scheduleable
*/
class OperatorTask : public AbstractTask {
public:
// We don't like abbreviations, but "operator" is a ke... | 30.361702 | 116 | 0.746321 | [
"vector"
] |
b4477a4bb88eced29abe5c0393f4c09f9da2cb8f | 10,175 | cc | C++ | src/developer/forensics/feedback_data/tests/inspect_data_budget_unittest.cc | dahliaOS/fuchsia-pi4 | 5b534fccefd918b5f03205393c1fe5fddf8031d0 | [
"BSD-2-Clause"
] | 3 | 2021-09-02T07:21:06.000Z | 2022-03-12T03:20:10.000Z | src/developer/forensics/feedback_data/tests/inspect_data_budget_unittest.cc | dahliaOS/fuchsia-pi4 | 5b534fccefd918b5f03205393c1fe5fddf8031d0 | [
"BSD-2-Clause"
] | null | null | null | src/developer/forensics/feedback_data/tests/inspect_data_budget_unittest.cc | dahliaOS/fuchsia-pi4 | 5b534fccefd918b5f03205393c1fe5fddf8031d0 | [
"BSD-2-Clause"
] | 2 | 2022-02-25T12:22:49.000Z | 2022-03-12T03:20:10.000Z | // Copyright 2020 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 "src/developer/forensics/feedback_data/inspect_data_budget.h"
#include <algorithm>
#include <optional>
#include <gmock/gmock.h>
#include <gtest/... | 38.396226 | 100 | 0.661032 | [
"vector"
] |
b44dabb4bce96eed6d19c9b61339fb1b24ea4d4c | 7,560 | cpp | C++ | library/src/blas1/rocblas_dot.cpp | ntrost57/rocBLAS | a03ecf96be5bfdd11945bc409c92bab593eef899 | [
"MIT"
] | null | null | null | library/src/blas1/rocblas_dot.cpp | ntrost57/rocBLAS | a03ecf96be5bfdd11945bc409c92bab593eef899 | [
"MIT"
] | null | null | null | library/src/blas1/rocblas_dot.cpp | ntrost57/rocBLAS | a03ecf96be5bfdd11945bc409c92bab593eef899 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright 2016 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include <hip/hip_runtime.h>
#include "rocblas.h"
#include "status.h"
#include "definitions.h"
#include "reduction.h... | 30.983607 | 100 | 0.514418 | [
"vector"
] |
b44dd31131c7c4e516a84366f222c74d1638d57d | 2,168 | cpp | C++ | 3rdParty/boost/1.71.0/libs/intrusive/example/doc_auto_unlink.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | 3rdParty/boost/1.71.0/libs/intrusive/example/doc_auto_unlink.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | 3rdParty/boost/1.71.0/libs/intrusive/example/doc_auto_unlink.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2006-2013
//
// 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)
//
// See http://www.boost... | 25.809524 | 77 | 0.589022 | [
"object"
] |
b44efe20087af195893f2fad0308554b97b0d748 | 3,896 | cpp | C++ | src/qt/generatecodedialog.cpp | RIC-DeKon/riecoin | 7986f9f69264ed64ca19b273bd0e0b87fc71c8f4 | [
"MIT"
] | null | null | null | src/qt/generatecodedialog.cpp | RIC-DeKon/riecoin | 7986f9f69264ed64ca19b273bd0e0b87fc71c8f4 | [
"MIT"
] | null | null | null | src/qt/generatecodedialog.cpp | RIC-DeKon/riecoin | 7986f9f69264ed64ca19b273bd0e0b87fc71c8f4 | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2021 The Riecoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/generatecodedialog.h>
#include <qt/forms/ui_generatecodedialog.h>
#include <qt/addressbookpage.h>
#include <qt/guico... | 33.586207 | 189 | 0.683522 | [
"vector",
"model"
] |
b453c2dfcedb318dab46061ef2a5179244765fa7 | 17,636 | cpp | C++ | src/day19.cpp | michaeladler/aoc-2021 | 4321d2b1ded7f93ac6c90d80f8d4f6d2b23eb45b | [
"Apache-2.0"
] | null | null | null | src/day19.cpp | michaeladler/aoc-2021 | 4321d2b1ded7f93ac6c90d80f8d4f6d2b23eb45b | [
"Apache-2.0"
] | null | null | null | src/day19.cpp | michaeladler/aoc-2021 | 4321d2b1ded7f93ac6c90d80f8d4f6d2b23eb45b | [
"Apache-2.0"
] | null | null | null | // Took some inspiration from:
// * https://github.com/Praful/advent_of_code/blob/main/2021/src/day19.jl
// * https://github.com/taddeus/advent-of-code/blob/master/2021/19_beacon.py
// * https://github.com/Jellycious/aoc-2021/blob/main/src/days/day19.rs
#include "day19.h"
#define MAX_SCANNERS 32
#define MAX_POINTS 32... | 33.338374 | 125 | 0.496428 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.