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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba82be75655fedff2b2458cebfbe39ceec7a0a1c | 13,131 | hpp | C++ | include/libTAU/blockchain/blockchain.hpp | Tau-Coin/libTAU | 2e8cace4195faa75b6a75c0ce02496346936bc79 | [
"BSL-1.0",
"BSD-3-Clause"
] | 6 | 2021-08-16T17:27:10.000Z | 2022-01-12T09:18:02.000Z | include/libTAU/blockchain/blockchain.hpp | Tau-Coin/libTAU | 2e8cace4195faa75b6a75c0ce02496346936bc79 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | include/libTAU/blockchain/blockchain.hpp | Tau-Coin/libTAU | 2e8cace4195faa75b6a75c0ce02496346936bc79 | [
"BSL-1.0",
"BSD-3-Clause"
] | 3 | 2022-01-03T03:06:54.000Z | 2022-03-11T03:15:32.000Z | /*
Copyright (c) 2021, TaiXiang Cui
All rights reserved.
You may use, distribute and modify this code under the terms of the BSD license,
see LICENSE file.
*/
#ifndef LIBTAU_BLOCKCHAIN_HPP
#define LIBTAU_BLOCKCHAIN_HPP
#include <map>
#include <set>
#include <vector>
#include "libTAU/time.hpp"
#include "libTAU/aux_... | 36.074176 | 140 | 0.656538 | [
"vector"
] |
ba8af44e0fef14a1016dcecf4cb937ba47a46506 | 3,251 | cpp | C++ | src/common/pointcloud_conversions.cpp | myalfred03/dynamic_robot_localization | d26e4563ab98171ae724a527a2c63d1b1abb1843 | [
"BSD-3-Clause"
] | 3 | 2017-06-13T07:02:17.000Z | 2019-05-04T12:37:24.000Z | src/common/pointcloud_conversions.cpp | myalfred03/dynamic_robot_localization | d26e4563ab98171ae724a527a2c63d1b1abb1843 | [
"BSD-3-Clause"
] | null | null | null | src/common/pointcloud_conversions.cpp | myalfred03/dynamic_robot_localization | d26e4563ab98171ae724a527a2c63d1b1abb1843 | [
"BSD-3-Clause"
] | 3 | 2019-06-06T08:08:09.000Z | 2019-12-02T14:07:52.000Z | /**\file pointcloud_conversions.cpp
* \brief Description...
*
* @version 1.0
* @author Carlos Miguel Correia da Costa
*/
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <includes> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
#include <dynami... | 50.796875 | 276 | 0.639188 | [
"mesh"
] |
ba9644091f1651d73bf69c3fe5767dcc126f6cf8 | 3,026 | hpp | C++ | include/MemeCore/StandardLib.hpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | include/MemeCore/StandardLib.hpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | include/MemeCore/StandardLib.hpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | #ifndef _ML_STANDARD_LIB_HPP_
#define _ML_STANDARD_LIB_HPP_
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <MemeCore/Config.hpp>
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <algorithm>
#include <array>
#include <casse... | 27.761468 | 87 | 0.542961 | [
"vector"
] |
ba98a1f4e683c426661bb427c070b98f4c9317fe | 43,459 | cc | C++ | chaps/chaps_proxy.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | chaps/chaps_proxy.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | chaps/chaps_proxy.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2011 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 "chaps/chaps_proxy.h"
#include <utility>
#include <base/logging.h>
#include <base/macros.h>
#include <base/memory/ptr_util.h>
#include <... | 44.21058 | 80 | 0.613797 | [
"vector"
] |
ba9b238be5f331d859c4fb6457c6065d7b81b7e3 | 2,012 | cpp | C++ | codeforces/e53/D/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | null | null | null | codeforces/e53/D/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | 19 | 2016-05-04T02:46:31.000Z | 2021-11-27T06:18:33.000Z | codeforces/e53/D/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << "... | 21.178947 | 144 | 0.492048 | [
"vector"
] |
ba9e88d328eb23ca9d19a08dbb0c27769d282bc3 | 3,608 | cpp | C++ | networkit/cpp/generators/DynamicForestFireGenerator.cpp | tsapko3628/networkit | 2953c9f30b676f930e301953f00f014c47edcf69 | [
"MIT"
] | 1 | 2019-08-15T10:35:07.000Z | 2019-08-15T10:35:07.000Z | networkit/cpp/generators/DynamicForestFireGenerator.cpp | tsapko3628/networkit | 2953c9f30b676f930e301953f00f014c47edcf69 | [
"MIT"
] | null | null | null | networkit/cpp/generators/DynamicForestFireGenerator.cpp | tsapko3628/networkit | 2953c9f30b676f930e301953f00f014c47edcf69 | [
"MIT"
] | null | null | null | /*
* ForestFireGenerator.cpp
*
* Created on: 17.01.2014
* Author: cls
*/
#include <networkit/generators/DynamicForestFireGenerator.hpp>
#include <networkit/auxiliary/Random.hpp>
#include <networkit/auxiliary/Log.hpp>
#include <set>
#include <unordered_map>
#include <queue>
namespace NetworKit {
typedef st... | 25.230769 | 140 | 0.659922 | [
"vector",
"model"
] |
ba9f6cd753c6bbf6909953e2f178a5071999f296 | 1,418 | tcc | C++ | TurboCpp/proj/imgview/jpeglib/jconfig.tcc | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | 1 | 2015-03-26T02:35:13.000Z | 2015-03-26T02:35:13.000Z | TurboCpp/proj/imgview/jpeglib/jconfig.tcc | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | null | null | null | TurboCpp/proj/imgview/jpeglib/jconfig.tcc | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | null | null | null | /* jconfig.bcc --- jconfig.h for Borland C (Turbo C) on MS-DOS or OS/2. */
/* see jconfig.txt for explanations */
#define HAVE_PROTOTYPES
#define HAVE_UNSIGNED_CHAR
#define HAVE_UNSIGNED_SHORT
/* #define void char */
/* #define const */
#undef CHAR_IS_UNSIGNED
#define HAVE_STDDEF_H
#define HAVE_STDLIB_H
#undef NEED_BS... | 28.938776 | 75 | 0.75811 | [
"model"
] |
baa02501fd0852eb09315d122ce9bac6f0348127 | 8,333 | cpp | C++ | src/Solid.cpp | tomtix/display3r | 00c5d7be1b2bea685c7df053f0333bb6828d48f8 | [
"MIT"
] | null | null | null | src/Solid.cpp | tomtix/display3r | 00c5d7be1b2bea685c7df053f0333bb6828d48f8 | [
"MIT"
] | null | null | null | src/Solid.cpp | tomtix/display3r | 00c5d7be1b2bea685c7df053f0333bb6828d48f8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <locale>
#include <boost/algorithm/string.hpp>
#include "display3r/Solid.hpp"
#include "display3r/Exception.hpp"
#include "display3r/Renderer.hpp"
using namespace std;
using namespace display3r;
namespace display3r {
static inline double strtod(string const &s)
{
... | 28.152027 | 74 | 0.539662 | [
"object",
"vector",
"solid"
] |
baa539457f74c9badda9783c45ae24d2bce5075a | 3,082 | cpp | C++ | src/fvrequiregrid.cpp | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | src/fvrequiregrid.cpp | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | src/fvrequiregrid.cpp | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************
* Copyright (C) 2006 Robert Szmurlo <robert@iem.pw.edu.pl> *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* ... | 37.13253 | 117 | 0.498378 | [
"mesh"
] |
baa55cb88fdfcb0284ef5ff03678d42ab4156ad8 | 66,693 | cpp | C++ | src/qt/qtbase/src/widgets/dialogs/qfilesystemmodel.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/widgets/dialogs/qfilesystemmodel.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/widgets/dialogs/qfilesystemmodel.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Lice... | 32.390966 | 169 | 0.641252 | [
"object",
"model"
] |
baa7af166b57ac656ac8b1aba9d54ec8b3d40a69 | 19,415 | cpp | C++ | c++/server.cpp | fossabot/RelayNode | 2a9190169c226590b223fd4e60b9da02f3081417 | [
"MIT"
] | 71 | 2015-05-29T02:26:36.000Z | 2021-11-11T04:52:43.000Z | c++/server.cpp | dendisuhubdy/RelayNode | c50d81223104fcf00ca0413f87b9c0562a8a55f7 | [
"MIT"
] | 23 | 2015-06-03T10:16:19.000Z | 2021-02-19T13:36:15.000Z | c++/server.cpp | dendisuhubdy/RelayNode | c50d81223104fcf00ca0413f87b9c0562a8a55f7 | [
"MIT"
] | 41 | 2015-03-14T23:16:05.000Z | 2021-10-31T04:20:04.000Z | #include <map>
#include <vector>
#include <thread>
#include <chrono>
#include <mutex>
#include <assert.h>
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <fcntl.h>
#define BITCOIN_UA_LENGTH 23
#define BITCOIN_UA {'/', 'R', 'e', 'l', 'a', 'y', 'N', 'e'... | 37.994129 | 173 | 0.682153 | [
"vector"
] |
baa9fb87b707c5d6eff7146a1f372f2b298af42e | 1,780 | hpp | C++ | include/BoundingBox.hpp | basticirca/libpcc | 307792d24ad75bed70872f0145b121377adae93f | [
"MIT"
] | 2 | 2018-09-22T12:48:18.000Z | 2019-04-02T08:55:44.000Z | include/BoundingBox.hpp | basticirca/libpcc | 307792d24ad75bed70872f0145b121377adae93f | [
"MIT"
] | null | null | null | include/BoundingBox.hpp | basticirca/libpcc | 307792d24ad75bed70872f0145b121377adae93f | [
"MIT"
] | 3 | 2019-05-04T04:21:39.000Z | 2020-12-01T00:59:13.000Z | #ifndef LIBPCC_BOUNDING_BOX_HPP
#define LIBPCC_BOUNDING_BOX_HPP
#include "Vec.hpp"
#include "UncompressedVoxel.hpp"
/**
* Data transfer object encoding a 3D bounding box.
*/
struct BoundingBox {
explicit BoundingBox(float x_min_t=.0f, float x_max_t=.0f, float y_min_t=.0f, float y_max_t=.0f, float z_min_t=.0f, fl... | 25.797101 | 138 | 0.585393 | [
"object",
"3d"
] |
baad81884dc3efbe46dd3bf4a40381dc7d16129f | 27,085 | cc | C++ | third_party/harfbuzz/src/hb-directwrite.cc | dev-baiqiang/text | a7de699528d0609db24601d41a442e7ac00ff1a1 | [
"MIT"
] | 1 | 2021-08-12T00:29:31.000Z | 2021-08-12T00:29:31.000Z | third_party/harfbuzz/src/hb-directwrite.cc | dev-baiqiang/text | a7de699528d0609db24601d41a442e7ac00ff1a1 | [
"MIT"
] | null | null | null | third_party/harfbuzz/src/hb-directwrite.cc | dev-baiqiang/text | a7de699528d0609db24601d41a442e7ac00ff1a1 | [
"MIT"
] | null | null | null | /*
* Copyright © 2015-2018 Ebrahim Byagowi
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* ab... | 29.731065 | 97 | 0.708879 | [
"object",
"shape"
] |
baae309329c017c7ec22627d5a58fc32aa055366 | 2,071 | cpp | C++ | libhttp/source/http-server-route.cpp | makefriend8/sdk | 7bbf9f1e1403871b75bca4192639f4cecd28c475 | [
"MIT"
] | 289 | 2017-02-27T02:31:21.000Z | 2022-03-29T16:34:12.000Z | libhttp/source/http-server-route.cpp | makefriend8/sdk | 7bbf9f1e1403871b75bca4192639f4cecd28c475 | [
"MIT"
] | 23 | 2017-09-09T02:26:24.000Z | 2021-12-08T09:01:17.000Z | libhttp/source/http-server-route.cpp | makefriend8/sdk | 7bbf9f1e1403871b75bca4192639f4cecd28c475 | [
"MIT"
] | 209 | 2015-07-17T04:49:18.000Z | 2022-03-31T08:11:49.000Z | #include <string>
#include <vector>
#include <algorithm>
#include "http-route.h"
#include "http-server-internal.h"
#include "urlcodec.h"
struct http_server_route_t
{
typedef std::pair<std::string, http_server_handler> http_route_t;
std::vector<http_route_t> handlers;
};
static http_server_route_t& http_server_get_r... | 27.986486 | 114 | 0.728634 | [
"vector"
] |
baaf7c797065ba1bf955671f546454c19027ac92 | 9,691 | cc | C++ | source/common/router/header_parser.cc | rishabhkumar296/envoy | 1b040ff0e029059c7aaa6816fccb2419c02675b1 | [
"Apache-2.0"
] | 27 | 2017-10-27T03:18:58.000Z | 2019-02-07T21:22:20.000Z | source/common/router/header_parser.cc | rishabhkumar296/envoy | 1b040ff0e029059c7aaa6816fccb2419c02675b1 | [
"Apache-2.0"
] | 14 | 2018-02-16T20:47:38.000Z | 2019-01-19T23:03:01.000Z | source/common/router/header_parser.cc | rishabhkumar296/envoy | 1b040ff0e029059c7aaa6816fccb2419c02675b1 | [
"Apache-2.0"
] | 7 | 2017-11-26T06:26:49.000Z | 2019-03-26T03:09:00.000Z | #include "common/router/header_parser.h"
#include <ctype.h>
#include <memory>
#include <string>
#include "common/common/assert.h"
#include "common/http/headers.h"
#include "common/protobuf/utility.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_replace.h"
namespace Envoy {
namespace Router {
names... | 34.98556 | 100 | 0.635332 | [
"vector"
] |
bab05939b06cd87ab3de4b4eb77d0beaed87eb54 | 29,870 | cpp | C++ | modules/ti.UI/win32/win32_user_window.cpp | rlwesq/titanium | b7d072150dc14f4a2a17f92299ff663c83162454 | [
"Apache-2.0"
] | 1 | 2016-05-09T09:08:36.000Z | 2016-05-09T09:08:36.000Z | modules/ti.UI/win32/win32_user_window.cpp | rlwesq/titanium | b7d072150dc14f4a2a17f92299ff663c83162454 | [
"Apache-2.0"
] | null | null | null | modules/ti.UI/win32/win32_user_window.cpp | rlwesq/titanium | b7d072150dc14f4a2a17f92299ff663c83162454 | [
"Apache-2.0"
] | null | null | null | /**
* Appcelerator Titanium - licensed under the Apache Public License 2
* SEE LICENSE in the root folder for details on the license.
* Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.
*/
#define _WINSOCKAPI_
#include <kroll/base.h>
#include <winsock2.h>
#include "win32_user_window.h"
#include "webkit_f... | 28.366572 | 128 | 0.71838 | [
"object",
"vector"
] |
bab061a1fd98bc05c91389aea114b10c5a14180b | 15,211 | cpp | C++ | tools/tests/functional/algorithmic_tests/low_level_api/index.cpp | intel/qpl | cdc8442f7a5e7a6ff6eea39c69665e0c5034d85d | [
"MIT"
] | 11 | 2022-02-25T08:20:23.000Z | 2022-03-25T08:36:19.000Z | tools/tests/functional/algorithmic_tests/low_level_api/index.cpp | intel/qpl | cdc8442f7a5e7a6ff6eea39c69665e0c5034d85d | [
"MIT"
] | null | null | null | tools/tests/functional/algorithmic_tests/low_level_api/index.cpp | intel/qpl | cdc8442f7a5e7a6ff6eea39c69665e0c5034d85d | [
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright (C) 2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
/*
* Intel® Query Processing Library (Intel® QPL)
* Tests
*/
#include <map>
... | 38.606599 | 117 | 0.590034 | [
"vector"
] |
bab1f6b3b81fd731625073aa4bbfe5efde3fd6e8 | 1,336 | hpp | C++ | include/instance/mob.hpp | filol/Mini-Pokemon-Like | 724343c40293661e15255c656f8ec515dfc238a3 | [
"MIT"
] | null | null | null | include/instance/mob.hpp | filol/Mini-Pokemon-Like | 724343c40293661e15255c656f8ec515dfc238a3 | [
"MIT"
] | null | null | null | include/instance/mob.hpp | filol/Mini-Pokemon-Like | 724343c40293661e15255c656f8ec515dfc238a3 | [
"MIT"
] | null | null | null | /* File: mob.hpp
* Author: François Dexemple
*/
#ifndef MOB_HPP
#define MOB_HPP
#include <SFML/Graphics.hpp>
#include "Concordia_Game/components/animatedentity.hpp"
#include "Concordia_Game/components/controlableentity.hpp"
#include "Concordia_Game/components/spritedentity.hpp"
#include "Concordia_Game/concrete/ti... | 22.266667 | 115 | 0.741018 | [
"object"
] |
3bf8cc13b04ef5771cf1dc4e48ad22547519c6b9 | 6,455 | hpp | C++ | rclcpp/include/rclcpp/utilities.hpp | tj10200/rclcpp | 1be4d2d91491509a692ae46bafc6968cb9b94bb8 | [
"Apache-2.0"
] | null | null | null | rclcpp/include/rclcpp/utilities.hpp | tj10200/rclcpp | 1be4d2d91491509a692ae46bafc6968cb9b94bb8 | [
"Apache-2.0"
] | null | null | null | rclcpp/include/rclcpp/utilities.hpp | tj10200/rclcpp | 1be4d2d91491509a692ae46bafc6968cb9b94bb8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2014 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 30.738095 | 92 | 0.721766 | [
"vector"
] |
3bfb7b0eaa0049f40df677fe148a08dc94a3792b | 13,193 | cc | C++ | src/alpakatest/plugin-Test2/alpaka/alpakaAlgo2.cc | alexstrel/pixeltrack-standalone | 0b625eef0ef0b5c0f018d9b466457c5575b3442c | [
"Apache-2.0"
] | 9 | 2021-03-02T08:40:18.000Z | 2022-01-24T14:31:40.000Z | src/alpakatest/plugin-Test2/alpaka/alpakaAlgo2.cc | alexstrel/pixeltrack-standalone | 0b625eef0ef0b5c0f018d9b466457c5575b3442c | [
"Apache-2.0"
] | 158 | 2020-03-22T19:46:40.000Z | 2022-03-24T09:51:35.000Z | src/alpakatest/plugin-Test2/alpaka/alpakaAlgo2.cc | alexstrel/pixeltrack-standalone | 0b625eef0ef0b5c0f018d9b466457c5575b3442c | [
"Apache-2.0"
] | 26 | 2020-03-20T15:18:41.000Z | 2022-03-14T16:58:07.000Z | #include "alpakaAlgo2.h"
#include "AlpakaCore/alpakaWorkDivHelper.h"
namespace {
constexpr unsigned int NUM_VALUES = 1000;
struct vectorAdd {
template <typename T_Acc, typename T_Data>
ALPAKA_FN_ACC void operator()(T_Acc const& acc,
const T_Data* __restrict__ a,
... | 45.650519 | 117 | 0.544152 | [
"vector"
] |
3bfc0b89dd1351eebf7344b971e53cefaeb032b7 | 14,054 | cc | C++ | io/writer_test.cc | chronos-tachyon/mojo | 8d268932dd927a24a2b5de167d63869484e1433a | [
"MIT"
] | 3 | 2017-04-24T07:00:59.000Z | 2020-04-13T04:53:06.000Z | io/writer_test.cc | chronos-tachyon/mojo | 8d268932dd927a24a2b5de167d63869484e1433a | [
"MIT"
] | 1 | 2017-01-10T04:23:55.000Z | 2017-01-10T04:23:55.000Z | io/writer_test.cc | chronos-tachyon/mojo | 8d268932dd927a24a2b5de167d63869484e1433a | [
"MIT"
] | 1 | 2020-04-13T04:53:07.000Z | 2020-04-13T04:53:07.000Z | // Copyright © 2016 by Donald King <chronos@chronos-tachyon.net>
// Available under the MIT License. See LICENSE for details.
#include "gtest/gtest.h"
#include <fcntl.h>
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include <unistd.h>
#include <condition_variable>
#include <mutex>
#include <thread>
#inc... | 25.552727 | 79 | 0.614274 | [
"vector"
] |
3bfcc8d291c8abfb2a8319b0db622314209efd92 | 5,493 | cxx | C++ | Testing/Code/Review/itkDirectFourierReconstructionImageToImageFilterTest.cxx | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | 1 | 2018-04-15T13:32:43.000Z | 2018-04-15T13:32:43.000Z | Testing/Code/Review/itkDirectFourierReconstructionImageToImageFilterTest.cxx | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | null | null | null | Testing/Code/Review/itkDirectFourierReconstructionImageToImageFilterTest.cxx | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkDirectFourierReconstructionImageToImageFilterTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All right... | 30.348066 | 124 | 0.672492 | [
"object"
] |
3bfed936cc3b1629057d7769d6a7fe65b5fd46ff | 12,971 | cpp | C++ | tests/gtests/api/test_memory_desc_ops.cpp | JackAKirk/oneDNN | 432c3f0c1c265a0fa96aa46c256d150ea670eb5a | [
"Apache-2.0"
] | 1,327 | 2018-01-25T21:23:47.000Z | 2020-04-03T09:39:30.000Z | tests/gtests/api/test_memory_desc_ops.cpp | JackAKirk/oneDNN | 432c3f0c1c265a0fa96aa46c256d150ea670eb5a | [
"Apache-2.0"
] | 583 | 2020-04-04T02:37:25.000Z | 2022-03-31T00:12:03.000Z | tests/gtests/api/test_memory_desc_ops.cpp | JackAKirk/oneDNN | 432c3f0c1c265a0fa96aa46c256d150ea670eb5a | [
"Apache-2.0"
] | 365 | 2018-01-29T16:12:36.000Z | 2020-04-03T08:32:27.000Z | /*******************************************************************************
* Copyright 2020 Intel Corporation
*
* 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.o... | 44.573883 | 141 | 0.599877 | [
"vector"
] |
ce0473cbdd14c1fa271f390e8ca4d28aa35a32a2 | 21,622 | cpp | C++ | src/condor_contrib/aviary/src/hadoop/HadoopObject.cpp | zhangzhehust/htcondor | e07510d62161f38fa2483b299196ef9a7b9f7941 | [
"Apache-2.0"
] | 1 | 2017-02-13T01:25:34.000Z | 2017-02-13T01:25:34.000Z | src/condor_contrib/aviary/src/hadoop/HadoopObject.cpp | AmesianX/htcondor | 10aea32f1717637972af90459034d1543004cb83 | [
"Apache-2.0"
] | 1 | 2021-04-06T04:19:40.000Z | 2021-04-06T04:19:40.000Z | src/condor_contrib/aviary/src/hadoop/HadoopObject.cpp | AmesianX/htcondor | 10aea32f1717637972af90459034d1543004cb83 | [
"Apache-2.0"
] | 2 | 2016-05-24T17:12:13.000Z | 2017-02-13T01:25:35.000Z | /*
* Copyright 2009-2011 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 31.750367 | 186 | 0.58237 | [
"cad",
"object",
"vector"
] |
ce04f4f18c5197e8bfc5c96d2f2a11a9b0901444 | 1,988 | hpp | C++ | include/bootloader_util/Intel_hex_loader.hpp | suburbanembedded/bootloader_util | 32cd7d2ffee429f1726ca9f0c671f594422ecae6 | [
"BSD-3-Clause"
] | null | null | null | include/bootloader_util/Intel_hex_loader.hpp | suburbanembedded/bootloader_util | 32cd7d2ffee429f1726ca9f0c671f594422ecae6 | [
"BSD-3-Clause"
] | null | null | null | include/bootloader_util/Intel_hex_loader.hpp | suburbanembedded/bootloader_util | 32cd7d2ffee429f1726ca9f0c671f594422ecae6 | [
"BSD-3-Clause"
] | null | null | null | /**
* @brief Intel_hex_loader
* @author Jacob Schloss <jacob@schloss.io>
* @copyright Copyright (c) 2019 Jacob Schloss. All rights reserved.
* @license Licensed under the 3-Clause BSD license. See LICENSE for details
*/
#pragma once
#include <cstdint>
#include <vector>
#include <string>
class IHEX_RECORD
{
publi... | 22.088889 | 92 | 0.745473 | [
"vector"
] |
ce0653f64ebd6369e7b91020e843964e0003b11d | 7,989 | cpp | C++ | gaap/src/v20180529/model/SecurityPolicyRuleOut.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | gaap/src/v20180529/model/SecurityPolicyRuleOut.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | gaap/src/v20180529/model/SecurityPolicyRuleOut.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"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.739583 | 147 | 0.687696 | [
"model"
] |
ce066942cd58599188ab6fa3aca6eb7be7dd2392 | 6,603 | hpp | C++ | src/loop-analysis/nest-analysis.hpp | tanvisharma/timeloop | bd6985e6a4faa6d6383e5c2ae9bca4830a752ad2 | [
"BSD-3-Clause"
] | 2 | 2021-07-28T09:05:38.000Z | 2022-01-22T19:33:18.000Z | src/loop-analysis/nest-analysis.hpp | tanvisharma/timeloop | bd6985e6a4faa6d6383e5c2ae9bca4830a752ad2 | [
"BSD-3-Clause"
] | null | null | null | src/loop-analysis/nest-analysis.hpp | tanvisharma/timeloop | bd6985e6a4faa6d6383e5c2ae9bca4830a752ad2 | [
"BSD-3-Clause"
] | 1 | 2022-01-22T19:33:19.000Z | 2022-01-22T19:33:19.000Z | /* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of cond... | 37.948276 | 131 | 0.7277 | [
"vector"
] |
ce07f6ce5398c50b49c7fbbc5e07394c3e8279a6 | 18,519 | cpp | C++ | LiDAR-SLAM/02-loams/src/lidar_localization/src/aloam_scan_registration_node.cpp | lanqing30/SensorFusionCourse | 3fcf935d6a4191563afcf2d95b34718fba7f705a | [
"Apache-2.0"
] | 7 | 2021-03-19T05:51:44.000Z | 2021-09-16T06:10:16.000Z | 02-loams/src/lidar_localization/src/aloam_scan_registration_node.cpp | WeihengXia0123/LiDar-SLAM | 834060da7ee0125cefd310d6215821551bac16c3 | [
"MIT"
] | null | null | null | 02-loams/src/lidar_localization/src/aloam_scan_registration_node.cpp | WeihengXia0123/LiDar-SLAM | 834060da7ee0125cefd310d6215821551bac16c3 | [
"MIT"
] | 6 | 2021-02-17T12:31:08.000Z | 2022-01-22T17:12:44.000Z | // This is an advanced implementation of the algorithm described in the following paper:
// J. Zhang and S. Singh. LOAM: Lidar Odometry and Mapping in Real-time.
// Robotics: Science and Systems Conference (RSS). Berkeley, CA, July 2014.
// Modifier: Tong Qin qintonguav@gmail.com
// Shao... | 36.454724 | 351 | 0.562503 | [
"vector"
] |
ce08962c9e9e66b3ba70ec2f3af166c39ba910e6 | 58,764 | cpp | C++ | src/Ext/Techno/Hooks.cpp | Otamaa/Antares | 7241a5ff20f4dbf7153cc77e16edca5c9db473d4 | [
"BSD-4-Clause"
] | 4 | 2021-04-24T04:34:06.000Z | 2021-09-19T13:55:33.000Z | src/Ext/Techno/Hooks.cpp | Otamaa/Antares | 7241a5ff20f4dbf7153cc77e16edca5c9db473d4 | [
"BSD-4-Clause"
] | null | null | null | src/Ext/Techno/Hooks.cpp | Otamaa/Antares | 7241a5ff20f4dbf7153cc77e16edca5c9db473d4 | [
"BSD-4-Clause"
] | 2 | 2021-08-17T14:44:45.000Z | 2021-09-19T11:02:04.000Z | #include "Body.h"
#include "../Rules/Body.h"
#include "../TechnoType/Body.h"
#include "../Building/Body.h"
#include "../BuildingType/Body.h"
#include "../Rules/Body.h"
#include "../Tiberium/Body.h"
#include "../WarheadType/Body.h"
#include "../WeaponType/Body.h"
#include "../../Misc/Debug.h"
#include "../../Misc/Jammer... | 28.361004 | 155 | 0.712613 | [
"object",
"vector"
] |
ce09192c76ac1582fff0e6fecce9b3967d4075fc | 45,513 | cpp | C++ | wallet/core/base_tx_builder.cpp | Webonnix/beam | 0ad43c861470a7cd97758b0d59daf6b683e09977 | [
"Apache-2.0"
] | 631 | 2018-11-10T05:56:05.000Z | 2022-03-30T13:21:00.000Z | wallet/core/base_tx_builder.cpp | Webonnix/beam | 0ad43c861470a7cd97758b0d59daf6b683e09977 | [
"Apache-2.0"
] | 1,824 | 2018-11-08T11:32:58.000Z | 2022-03-28T12:33:03.000Z | wallet/core/base_tx_builder.cpp | Webonnix/beam | 0ad43c861470a7cd97758b0d59daf6b683e09977 | [
"Apache-2.0"
] | 216 | 2018-11-12T08:07:21.000Z | 2022-03-08T20:50:19.000Z | // Copyright 2018 The Beam Team
//
// 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 agre... | 32.393594 | 177 | 0.546811 | [
"object",
"vector"
] |
ce09d5cdd803f99aeac2b5622f7ade5379581fd0 | 68,943 | cpp | C++ | third_party/subzero/src/IceCfg.cpp | cmwheat/swiftshader | a36f7d145540d8b51510295db1fc595ad3b17e4a | [
"Apache-2.0"
] | 1 | 2021-11-04T21:24:16.000Z | 2021-11-04T21:24:16.000Z | third_party/subzero/src/IceCfg.cpp | cmwheat/swiftshader | a36f7d145540d8b51510295db1fc595ad3b17e4a | [
"Apache-2.0"
] | null | null | null | third_party/subzero/src/IceCfg.cpp | cmwheat/swiftshader | a36f7d145540d8b51510295db1fc595ad3b17e4a | [
"Apache-2.0"
] | null | null | null | //===- subzero/src/IceCfg.cpp - Control flow graph implementation ---------===//
//
// The Subzero Code Generator
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | 36.324025 | 80 | 0.640152 | [
"object",
"vector",
"model",
"transform"
] |
ce0c0b804d1caa70d443ba4bffce0a192822a5f7 | 35,509 | cpp | C++ | localization/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp | goktugyildirim/autoware.universe | b2f90a0952bf37969517f72ccd5a1ea86f253ce5 | [
"Apache-2.0"
] | null | null | null | localization/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp | goktugyildirim/autoware.universe | b2f90a0952bf37969517f72ccd5a1ea86f253ce5 | [
"Apache-2.0"
] | 11 | 2022-01-24T10:26:37.000Z | 2022-03-22T08:19:01.000Z | localization/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp | KeisukeShima/autoware.universe | 21d5453dfa2bf75716b8737fb7b58f3b45483e29 | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2019 Autoware Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | 43.946782 | 178 | 0.766848 | [
"geometry",
"vector",
"transform"
] |
ce132a2a7c5e906667dbf76a188c40e947465c46 | 1,877 | hpp | C++ | include/caffe/layers/mapping_by_similarity_layer.hpp | goodluckcwl/custom-caffe | aa5345b9d659622a8efbb89d00282389ef0db666 | [
"BSD-2-Clause"
] | 2 | 2019-05-27T13:03:21.000Z | 2021-09-07T03:11:21.000Z | include/caffe/layers/mapping_by_similarity_layer.hpp | goodluckcwl/custom-caffe | aa5345b9d659622a8efbb89d00282389ef0db666 | [
"BSD-2-Clause"
] | 1 | 2019-03-08T01:36:50.000Z | 2019-03-13T05:09:05.000Z | include/caffe/layers/mapping_by_similarity_layer.hpp | goodluckcwl/custom-caffe | aa5345b9d659622a8efbb89d00282389ef0db666 | [
"BSD-2-Clause"
] | 5 | 2018-07-26T15:29:24.000Z | 2020-04-02T06:27:20.000Z | #ifndef CAFFE_MAPPING_BY_SIMILARITY_LAYER_HPP_
#define CAFFE_MAPPING_BY_SIMILARITY_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
/**
* @brief MappingBySimilarity @f$ y_1 = (x_1 + (1-\alpha)*x_2)/(2-\alpha),
* y_2 = (x_2 + (1-... | 32.929825 | 87 | 0.672882 | [
"vector"
] |
ce14f6324d67a85a4e4a2f66f7cd7f0f1c9ccae6 | 12,532 | cc | C++ | wrappers/7.0.0/vtkLogoRepresentationWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 6 | 2016-02-03T12:48:36.000Z | 2020-09-16T15:07:51.000Z | wrappers/7.0.0/vtkLogoRepresentationWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 4 | 2016-02-13T01:30:43.000Z | 2020-03-30T16:59:32.000Z | wrappers/7.0.0/vtkLogoRepresentationWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | null | null | null | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include <nan.h>
#include "vtkBorderRepresentationWrap.h"
#include "vtkLogoRepresentationWrap.h"
#include "vtkObjectWrap.h"
#include "vtkImageDataWrap.h"
#include "vtkPro... | 33.597855 | 110 | 0.737632 | [
"object"
] |
ce159e307ab0ec57262a2ba52c299d2f44081b6b | 7,480 | hpp | C++ | tests/benchdnn_graph/mlp/mlp.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | tests/benchdnn_graph/mlp/mlp.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | tests/benchdnn_graph/mlp/mlp.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2022 Intel Corporation
*
* 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.o... | 36.847291 | 80 | 0.655481 | [
"vector"
] |
ce1a02ad6e7451f81703e702c89e1824b87d2e87 | 8,644 | hpp | C++ | include/nall/smtp.hpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | 21 | 2015-04-13T03:07:12.000Z | 2021-11-20T00:27:00.000Z | nall/smtp.hpp | apollolux/hello-phoenix | 71510b5f329804c525a9576fb0367fe8ab2487cd | [
"MIT"
] | 2 | 2015-10-06T14:59:48.000Z | 2022-01-27T08:57:57.000Z | nall/smtp.hpp | apollolux/hello-phoenix | 71510b5f329804c525a9576fb0367fe8ab2487cd | [
"MIT"
] | 2 | 2021-11-19T08:36:57.000Z | 2022-03-04T16:03:16.000Z | #ifndef NALL_SMTP_HPP
#define NALL_SMTP_HPP
#include <nall/base64.hpp>
#include <nall/stdint.hpp>
#include <nall/string.hpp>
#if !defined(_WIN32)
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#else
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.... | 27.097179 | 150 | 0.649699 | [
"vector"
] |
ce1c7cf65ed86050628394b19b75b40f701a1803 | 13,944 | cpp | C++ | Development/External/wxWindows_2.4.0/src/common/dynlib.cpp | addstone/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 37 | 2020-05-22T18:18:47.000Z | 2022-03-19T06:51:54.000Z | Development/External/wxWindows_2.4.0/src/common/dynlib.cpp | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | null | null | null | Development/External/wxWindows_2.4.0/src/common/dynlib.cpp | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 27 | 2020-05-17T01:03:30.000Z | 2022-03-06T19:10:14.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: dynlib.cpp
// Purpose: Dynamic library management
// Author: Guilhem Lavaux
// Modified by:
// Created: 20/07/98
// RCS-ID: $Id: dynlib.cpp,v 1.67.2.2 2002/12/19 23:43:33 VS Exp $
// Copyright: (c) Guilhem ... | 27.832335 | 96 | 0.56354 | [
"object"
] |
ce238b5b3e4342351610fe028d41f641be41019c | 6,906 | cpp | C++ | src/general/particle.cpp | alexander-rass/HiPPSO | 42334f18f8cee2dbada09a8c99c47cf1119107a5 | [
"MIT"
] | 4 | 2017-03-22T11:52:22.000Z | 2021-01-16T04:07:45.000Z | src/general/particle.cpp | alexander-rass/HiPPSO | 42334f18f8cee2dbada09a8c99c47cf1119107a5 | [
"MIT"
] | 5 | 2017-03-21T13:02:49.000Z | 2018-12-11T15:44:01.000Z | src/general/particle.cpp | alexander-rass/HiPPSO | 42334f18f8cee2dbada09a8c99c47cf1119107a5 | [
"MIT"
] | 2 | 2020-09-11T17:59:10.000Z | 2020-09-11T18:54:03.000Z | /**
* @file general/particle.cpp
* @author Alexander Raß (alexander.rass@fau.de)
* @date July, 2013
* @brief This file contains information about the particles of the swarm.
*
* @copyright
* This project is released under the MIT License (MIT).
*
* @copyright
* The MIT License (MIT)
*
* @copyright
* Copyright (c) ... | 43.1625 | 136 | 0.794671 | [
"vector"
] |
ce2b16f3e87a01c632c7373fd0ac35a583e0827c | 1,366 | cpp | C++ | Competitive Programing Problem Solutions/Other/LU/f.cpp | BIJOY-SUST/ACM---ICPC | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | 1 | 2022-02-27T12:07:59.000Z | 2022-02-27T12:07:59.000Z | Competitive Programing Problem Solutions/Other/LU/f.cpp | BIJOY-SUST/Competitive-Programming | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | null | null | null | Competitive Programing Problem Solutions/Other/LU/f.cpp | BIJOY-SUST/Competitive-Programming | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
/*class data{
public:
string name;
int rrr;
};
*/bool compare(string a,string b){
return lexicographical_compare(a.begin(),a.end(),b.begin(),b.end());
}
int main(){
int t;
cin>>t;
map<int,string>m;
vector<string>se;
for(int ... | 23.551724 | 77 | 0.360176 | [
"vector"
] |
ce2ff668e2f87302d1b7be9d3c2999a748022603 | 3,487 | cc | C++ | src/partition.cc | VoVAllen/dist_metis | 27f56c051caf97fc6d7bdb5bea77dac5b8db28b2 | [
"Apache-2.0"
] | 1 | 2020-11-25T13:44:59.000Z | 2020-11-25T13:44:59.000Z | src/partition.cc | VoVAllen/dist_metis | 27f56c051caf97fc6d7bdb5bea77dac5b8db28b2 | [
"Apache-2.0"
] | null | null | null | src/partition.cc | VoVAllen/dist_metis | 27f56c051caf97fc6d7bdb5bea77dac5b8db28b2 | [
"Apache-2.0"
] | null | null | null | #include <dmlc/io.h>
#include <mpi.h>
#include <parmetis.h>
#include <partition.h>
#include <iostream>
#include <memory>
#include <string>
void MetisAssignment(int64_t num_partition, std::string input_filename,
std::string output_filename, size_t mpi_com_handle) {
auto fs = std::unique_ptr<dmlc... | 33.854369 | 79 | 0.640379 | [
"vector"
] |
ce31cee7631a982bc2f702ac885afcd2bebfc35d | 3,373 | cpp | C++ | src/lua-format.cpp | karanankit01/LuaFormatter | edb5f13b0b6491a4c8cc596d5348f53ba387690f | [
"Apache-2.0"
] | 1 | 2021-02-04T04:46:59.000Z | 2021-02-04T04:46:59.000Z | src/lua-format.cpp | karanankit01/LuaFormatter | edb5f13b0b6491a4c8cc596d5348f53ba387690f | [
"Apache-2.0"
] | null | null | null | src/lua-format.cpp | karanankit01/LuaFormatter | edb5f13b0b6491a4c8cc596d5348f53ba387690f | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "FormatVisitor.h"
#include "LuaLexer.h"
using namespace std;
using namespace antlr4;
static string __format(ANTLRInputStream& input, const Config& config) {
LuaLexer lexer(&input);
CommonTokenStream tokenstream(&lexer);
LuaParser parser(&tokenstream);
LuaParser::ChunkCon... | 35.135417 | 108 | 0.671509 | [
"vector"
] |
ce31d349ebb64a389c76d0fa9e05fc2b06697e86 | 14,006 | hpp | C++ | src/Command.hpp | TheTasak/StringManipulator | 6fe87e0026c2ba70b74becfecc6b3336757dbbb4 | [
"MIT"
] | 2 | 2018-09-17T19:50:59.000Z | 2019-01-13T21:10:28.000Z | src/Command.hpp | TheTasak/StringManipulator | 6fe87e0026c2ba70b74becfecc6b3336757dbbb4 | [
"MIT"
] | 8 | 2018-09-20T16:41:05.000Z | 2019-08-20T14:57:45.000Z | src/Command.hpp | TheTasak/StringManipulator | 6fe87e0026c2ba70b74becfecc6b3336757dbbb4 | [
"MIT"
] | null | null | null | #pragma once
#include "Utilities.hpp"
#include "String.hpp"
#include "File.hpp"
namespace Command
{
std::string run(std::string);
std::string checkFlag(std::string input)
{
std::size_t par = input.find(")");
if(par != std::string::npos)
{
std::string s = input.substr(par+... | 49.316901 | 137 | 0.505426 | [
"vector"
] |
ce372ef1b84ccdd78c8aca068e6095acdfd08707 | 697 | hpp | C++ | VideoCaptureInfoGetter/source/DeviceEnumerator.hpp | mntone/VideoCaptureInfoGetter | 2c60dd8ba08df4fbfaaa89e9591466ba8cdae6de | [
"MIT"
] | 1 | 2016-06-04T20:17:08.000Z | 2016-06-04T20:17:08.000Z | VideoCaptureInfoGetter/source/DeviceEnumerator.hpp | mntone/VideoCaptureInfoGetter | 2c60dd8ba08df4fbfaaa89e9591466ba8cdae6de | [
"MIT"
] | null | null | null | VideoCaptureInfoGetter/source/DeviceEnumerator.hpp | mntone/VideoCaptureInfoGetter | 2c60dd8ba08df4fbfaaa89e9591466ba8cdae6de | [
"MIT"
] | null | null | null | #pragma once
namespace Mntone {
namespace DirectShowSupport {
class DeviceEnumerator final
{
public:
DeviceEnumerator();
::std::vector<::std::wstring> GetDeviceNamesFromCategory(CLSID const& category);
::std::vector<::std::wstring> GetVideoInputDeviceNames();
::std::vector<::std::wstring> GetAudioInputDeviceName... | 29.041667 | 108 | 0.776184 | [
"vector"
] |
ce38ebd37db72a312aa551b95f319ef983c10ab8 | 3,988 | hh | C++ | src/utils/dataseg_helper.hh | robertu94/cuSZ | fb94ca71172ff6cd19a95f1ea057614d8768b1d2 | [
"BSD-3-Clause"
] | null | null | null | src/utils/dataseg_helper.hh | robertu94/cuSZ | fb94ca71172ff6cd19a95f1ea057614d8768b1d2 | [
"BSD-3-Clause"
] | null | null | null | src/utils/dataseg_helper.hh | robertu94/cuSZ | fb94ca71172ff6cd19a95f1ea057614d8768b1d2 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file dataseg_helper.hh
* @author Jiannan Tian
* @brief
* @version 0.3
* @date 2021-10-05
*
* (C) 2021 by Washington State University, Argonne National Laboratory
*
*/
#ifndef CUSZ_UTILS_DATASEG_HELPER_HH
#define CUSZ_UTILS_DATASEG_HELPER_HH
// #include "../common/definition.hh"
#include "../header.hh"... | 37.622642 | 110 | 0.579488 | [
"vector"
] |
ce3c463101e96754a45040c1867ad5cde141928b | 8,923 | cpp | C++ | external/juce/JUCE/modules/juce_graphics/geometry/juce_PathIterator.cpp | ngwese/soundplane | 92ed75035694db1a8886e4791aab0a23efff4cc3 | [
"MIT"
] | 20 | 2015-01-26T05:34:53.000Z | 2022-01-31T07:09:35.000Z | external/juce/JUCE/modules/juce_graphics/geometry/juce_PathIterator.cpp | ngwese/soundplane | 92ed75035694db1a8886e4791aab0a23efff4cc3 | [
"MIT"
] | 35 | 2015-03-07T18:26:09.000Z | 2021-07-16T17:07:32.000Z | external/juce/JUCE/modules/juce_graphics/geometry/juce_PathIterator.cpp | ngwese/soundplane | 92ed75035694db1a8886e4791aab0a23efff4cc3 | [
"MIT"
] | 8 | 2015-03-10T08:44:04.000Z | 2021-01-04T00:31:12.000Z | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details... | 31.090592 | 83 | 0.408271 | [
"transform"
] |
ce41d713c7d1981135be83f06ff2b099f1225fd8 | 19,526 | cpp | C++ | 3rdparty/eigen-eigen-c58038c56923/test/sparse_basic.cpp | kassemitani/openbr | 7b453f7abc6f997839a858f4b7686bc5e21ef7b2 | [
"Apache-2.0"
] | 156 | 2018-10-09T09:01:42.000Z | 2019-12-25T09:07:47.000Z | 3rdparty/eigen-eigen-c58038c56923/test/sparse_basic.cpp | kassemitani/openbr | 7b453f7abc6f997839a858f4b7686bc5e21ef7b2 | [
"Apache-2.0"
] | 10 | 2018-10-12T11:54:58.000Z | 2019-10-11T03:29:20.000Z | 3rdparty/eigen-eigen-c58038c56923/test/sparse_basic.cpp | kassemitani/openbr | 7b453f7abc6f997839a858f4b7686bc5e21ef7b2 | [
"Apache-2.0"
] | 64 | 2016-11-04T16:03:03.000Z | 2018-07-20T18:03:00.000Z | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2011 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2008 Daniel Gomez Ferro <dgomezferro@gmail.com>
// Copyright (C) 2013 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// This Source ... | 35.437387 | 121 | 0.615385 | [
"vector"
] |
ce42d60c550ce994ed2b518d013ad4cd9205ffe8 | 127,489 | cpp | C++ | CWE-119/source_files/CVE-2013-5596/Firefox_22.0_CVE_2013_5596_image_src_RasterImage.cpp | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 185 | 2017-12-14T08:18:15.000Z | 2022-03-30T02:58:36.000Z | CWE-119/source_files/CVE-2013-5596/Firefox_22.0_CVE_2013_5596_image_src_RasterImage.cpp | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 11 | 2018-01-30T23:31:20.000Z | 2022-01-17T05:03:56.000Z | CWE-119/source_files/CVE-2013-5596/Firefox_22.0_CVE_2013_5596_image_src_RasterImage.cpp | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 87 | 2018-01-10T08:12:32.000Z | 2022-02-19T10:29:31.000Z | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "base/histogram.h"
#include ... | 31.572313 | 129 | 0.666818 | [
"object",
"transform"
] |
ce434501b59fd30e2d584c000a9c0c83eeff8ba3 | 31,976 | cpp | C++ | main_windows.cpp | cohenrotem/pipe_flv2annexb | ed4be32532d2ddd58dd4dbe96e3e43790ded3937 | [
"Unlicense"
] | 4 | 2020-07-10T10:00:31.000Z | 2021-12-10T14:34:58.000Z | main_windows.cpp | cohenrotem/pipe_flv2annexb | ed4be32532d2ddd58dd4dbe96e3e43790ded3937 | [
"Unlicense"
] | null | null | null | main_windows.cpp | cohenrotem/pipe_flv2annexb | ed4be32532d2ddd58dd4dbe96e3e43790ded3937 | [
"Unlicense"
] | null | null | null | // main_windows.cpp
// -----------------
// Stream raw video frames to FFmpeg stdin PIPE,
// FFmpeg encodes the video in H.264 codec and FLV(Flash Video) container format.
// The code reads the FLV encoded data from FFmpeg stdout PIPE,
// the AVC NAL units are extracted and converted from AVCC to Annex B format.
... | 38.852977 | 171 | 0.60805 | [
"object"
] |
ce4444f165a93fa4ede9ad74dc4ef5c1ae52e043 | 17,718 | cpp | C++ | server/src/log4cxx/apache-log4cxx-0.10.0/src/test/cpp/net/socketservertestcase.cpp | Steven0917/TT | 64f16dc11e222ca46170e571c656375b5dd95392 | [
"Apache-2.0"
] | 249 | 2015-01-15T16:50:53.000Z | 2022-03-24T13:23:34.000Z | server/src/log4cxx/apache-log4cxx-0.10.0/src/test/cpp/net/socketservertestcase.cpp | catkic/TeamChat | eeed62f2abd40b3cc0d96d887f5ab174fbe537e4 | [
"Apache-2.0"
] | 2,917 | 2015-01-12T16:17:49.000Z | 2022-03-31T11:57:47.000Z | server/src/log4cxx/apache-log4cxx-0.10.0/src/test/cpp/net/socketservertestcase.cpp | catkic/TeamChat | eeed62f2abd40b3cc0d96d887f5ab174fbe537e4 | [
"Apache-2.0"
] | 306 | 2015-01-12T09:23:20.000Z | 2022-01-28T18:06:30.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 36.759336 | 113 | 0.533074 | [
"vector",
"transform"
] |
ce46f0822c1f1f4a80b0418ca257d36bd6812f6e | 9,153 | cxx | C++ | test/itkOpenSlideTestMetaData.cxx | mseng10/ITKIOOpenSlide | c0c2cf39f764c496ddb12108c4103740664975b0 | [
"Apache-2.0"
] | 5 | 2016-04-08T03:02:21.000Z | 2022-03-04T22:53:07.000Z | test/itkOpenSlideTestMetaData.cxx | mseng10/ITKIOOpenSlide | c0c2cf39f764c496ddb12108c4103740664975b0 | [
"Apache-2.0"
] | 18 | 2016-03-27T01:17:36.000Z | 2021-01-09T02:50:32.000Z | test/itkOpenSlideTestMetaData.cxx | mseng10/ITKIOOpenSlide | c0c2cf39f764c496ddb12108c4103740664975b0 | [
"Apache-2.0"
] | 6 | 2016-03-26T23:28:20.000Z | 2019-08-21T17:02:01.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.342756 | 172 | 0.646127 | [
"vector"
] |
ce4d71bc7fc7ca396a6988f3450cad551dd4728f | 8,742 | cpp | C++ | be/src/exec/odbc_scan_node.cpp | chaegumi/incubator-doris | ca9e5c4785e932f9253722e6990c9d2128c0f48a | [
"Apache-2.0"
] | 3 | 2021-08-18T01:37:38.000Z | 2022-02-14T15:33:36.000Z | be/src/exec/odbc_scan_node.cpp | EmmyMiao87/incubator-doris | af06adb57fbaf306534971bae8cf11162d714404 | [
"Apache-2.0"
] | null | null | null | be/src/exec/odbc_scan_node.cpp | EmmyMiao87/incubator-doris | af06adb57fbaf306534971bae8cf11162d714404 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 34.417323 | 97 | 0.630977 | [
"vector"
] |
ce521d2e89548f1dc21784b3a21698c0e7f8e633 | 8,469 | cpp | C++ | common/tcp_utils.cpp | zteo-phd-software/ironstack | 649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0 | [
"BSD-3-Clause"
] | null | null | null | common/tcp_utils.cpp | zteo-phd-software/ironstack | 649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0 | [
"BSD-3-Clause"
] | null | null | null | common/tcp_utils.cpp | zteo-phd-software/ironstack | 649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0 | [
"BSD-3-Clause"
] | null | null | null | #include "tcp_utils.h"
// constructor to initialize inspector object
__transfer_data::__transfer_data()
{
filename = "";
file_hash = 0;
error = true;
completed = false;
bytes_transferred = 0;
bytes_total = 0;
percentage_complete = 0;
transfer_rate = 0;
transfer_time = 0;
estimated_time_remaining = 0;
}
// c... | 26.632075 | 129 | 0.725706 | [
"object"
] |
ce61a3c8e94a4fd40ab5ae0e26030fea9dc30ac8 | 34,161 | cpp | C++ | nntrainer/tensor/tensor.cpp | gichan-jang/nntrainer | 273ca7d6ecb3077d93539b81a9d9340e0c1dc812 | [
"Apache-2.0"
] | null | null | null | nntrainer/tensor/tensor.cpp | gichan-jang/nntrainer | 273ca7d6ecb3077d93539b81a9d9340e0c1dc812 | [
"Apache-2.0"
] | 2 | 2021-04-19T11:42:07.000Z | 2021-04-21T10:26:04.000Z | nntrainer/tensor/tensor.cpp | gichan-jang/nntrainer | 273ca7d6ecb3077d93539b81a9d9340e0c1dc812 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2019 Samsung Electronics Co., Ltd. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless requ... | 27.932134 | 80 | 0.610082 | [
"object",
"vector",
"transform"
] |
ce6854efc0cc3c49947d03ef5e18e7abf1d43b78 | 1,108 | cpp | C++ | src/nvmesh/param/BoundaryMap.cpp | akien-mga/thekla_atlas | 80a1430e16f10b9e79c153a6ac981601be2d64d4 | [
"MIT"
] | null | null | null | src/nvmesh/param/BoundaryMap.cpp | akien-mga/thekla_atlas | 80a1430e16f10b9e79c153a6ac981601be2d64d4 | [
"MIT"
] | null | null | null | src/nvmesh/param/BoundaryMap.cpp | akien-mga/thekla_atlas | 80a1430e16f10b9e79c153a6ac981601be2d64d4 | [
"MIT"
] | 1 | 2021-01-07T07:38:39.000Z | 2021-01-07T07:38:39.000Z | // This code is in the public domain -- castano@gmail.com
#include "BoundaryMap.h"
#include "Util.h"
#include <nvmath/Sparse.h>
#include <nvmath/Solver.h>
#include <nvmesh/halfedge/Edge.h>
#include <nvmesh/halfedge/Mesh.h>
#include <nvmesh/halfedge/Vertex.h>
#include <nvmesh/halfedge/Face.h>
using name... | 21.72549 | 59 | 0.595668 | [
"mesh"
] |
ce6c14e4688b0b7d01610f955c80fcb453f393a0 | 281,399 | cpp | C++ | src/md/compiler/mdvalidator.cpp | mans0954/debian-dotnet-coreclr | 5e42f510f19534800c8271bf83a9bf5e0c730b84 | [
"MIT"
] | 6 | 2017-09-22T06:55:45.000Z | 2021-07-02T07:07:08.000Z | src/md/compiler/mdvalidator.cpp | mthalman/coreclr | 102bea2e12753af9b723cf5370108b7eea3d74cb | [
"MIT"
] | 2 | 2017-09-23T08:21:05.000Z | 2017-09-27T03:31:06.000Z | src/md/compiler/mdvalidator.cpp | mthalman/coreclr | 102bea2e12753af9b723cf5370108b7eea3d74cb | [
"MIT"
] | 2 | 2017-06-04T15:47:12.000Z | 2020-03-16T07:01:47.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//*****************************************************************************
// MDValidator.cpp
//
//
// Impleme... | 37.074967 | 165 | 0.530069 | [
"object",
"vector"
] |
ce6db9c98e257994cec83ddc09dcad4a7eda0234 | 16,417 | cpp | C++ | lib/VM/GCBase.cpp | Jhingun1/hermes | fa4828779532d5bbe6122194cd15b00120d243b0 | [
"MIT"
] | null | null | null | lib/VM/GCBase.cpp | Jhingun1/hermes | fa4828779532d5bbe6122194cd15b00120d243b0 | [
"MIT"
] | null | null | null | lib/VM/GCBase.cpp | Jhingun1/hermes | fa4828779532d5bbe6122194cd15b00120d243b0 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#define DEBUG_TYPE "gc"
#include "hermes/VM/GC.h"
#include "hermes/Platform/Logging.h"
#include "hermes/Support/ErrorHandling.h"
#... | 31.330153 | 125 | 0.658829 | [
"object",
"vector"
] |
ce6fb1abe92141e3b078734d196a4afeb6a05d2a | 20,248 | cpp | C++ | src/apps/adop_viewer.cpp | bulutthecat/Testing-ADOP-inviorment | a433698b5df973e2dde323db3a698fe70f6b3198 | [
"MIT"
] | 1,319 | 2021-10-14T03:30:13.000Z | 2022-03-30T12:34:18.000Z | src/apps/adop_viewer.cpp | dingjiongfeng/ADOP | a433698b5df973e2dde323db3a698fe70f6b3198 | [
"MIT"
] | 57 | 2021-10-21T20:39:11.000Z | 2022-03-23T06:54:58.000Z | src/apps/adop_viewer.cpp | dingjiongfeng/ADOP | a433698b5df973e2dde323db3a698fe70f6b3198 | [
"MIT"
] | 153 | 2021-10-15T18:41:51.000Z | 2022-03-31T17:23:46.000Z | /**
* Copyright (c) 2021 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#include "adop_viewer.h"
#include "saiga/core/geometry/cameraAnimation.h"
#include "saiga/core/util/commandLineArguments.h"
#include "saiga/core/util/exif/TinyEXIF.h"
#include "git_sha1.h"
ADOP... | 32.658065 | 118 | 0.562031 | [
"mesh",
"geometry",
"render",
"object",
"vector",
"model"
] |
ce70755902d4765bbecb17f81e4c8ae65fb2a2b7 | 34,321 | cpp | C++ | src/gridcoin/upgrade.cpp | barton2526/Gridcoin-Research | 636935836245be3ed9a5131e31a5029e95c0567a | [
"MIT"
] | 366 | 2015-02-01T13:39:21.000Z | 2018-05-24T15:30:57.000Z | src/gridcoin/upgrade.cpp | barton2526/Gridcoin-Research | 636935836245be3ed9a5131e31a5029e95c0567a | [
"MIT"
] | 897 | 2015-01-13T19:30:36.000Z | 2018-05-26T09:59:24.000Z | src/gridcoin/upgrade.cpp | barton2526/Gridcoin-Research | 636935836245be3ed9a5131e31a5029e95c0567a | [
"MIT"
] | 226 | 2015-01-05T07:44:32.000Z | 2018-05-25T18:28:46.000Z | // Copyright (c) 2014-2021 The Gridcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or https://opensource.org/licenses/mit-license.php.
#include "gridcoin/upgrade.h"
#include "util.h"
#include "init.h"
#include <algorithm>
#include <univalue.h>
#include <vector>
... | 32.655566 | 126 | 0.56496 | [
"object",
"vector"
] |
ce7351fe891be6148b36884d803570256747069c | 1,094 | cpp | C++ | src/math.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | src/math.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | src/math.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | /** math.cpp
*
* Collection of math functions and classes,
* specifically a Vector class.
*/
// ----------------------------------------------------------------
// From Game Programming in C++ by Sanjay Madhav
// Copyright (C) 2017 Sanjay Madhav. All rights reserved.
//
// Released under the BSD Licens... | 36.466667 | 92 | 0.547532 | [
"vector",
"transform"
] |
ce73cf5bf2dc527dffca35d9c0dce9726f1494cb | 6,499 | cc | C++ | mediapipe/examples/desktop/autoflip/quality/visual_scorer.cc | xiong-jie-y/mediapipe | 024f7bf0f1e74149ea92b942cf168ccddf317073 | [
"Apache-2.0"
] | 47 | 2019-12-29T02:52:48.000Z | 2022-02-21T08:39:14.000Z | mediapipe/examples/desktop/autoflip/quality/visual_scorer.cc | xiong-jie-y/mediapipe | 024f7bf0f1e74149ea92b942cf168ccddf317073 | [
"Apache-2.0"
] | 5 | 2020-07-28T14:11:21.000Z | 2021-05-02T10:11:29.000Z | mediapipe/examples/desktop/autoflip/quality/visual_scorer.cc | xiong-jie-y/mediapipe | 024f7bf0f1e74149ea92b942cf168ccddf317073 | [
"Apache-2.0"
] | 41 | 2020-01-27T00:30:43.000Z | 2022-03-24T01:35:19.000Z | // Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 35.513661 | 80 | 0.650254 | [
"vector"
] |
ce74b9ad4e7be2b79a16bfb4b75e9ba778ee3a7b | 3,184 | cpp | C++ | src/trajopt/test/cast-cost-unit.cpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 250 | 2015-01-13T04:38:59.000Z | 2022-03-09T15:52:54.000Z | src/trajopt/test/cast-cost-unit.cpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 31 | 2015-08-19T13:14:56.000Z | 2022-03-22T08:08:26.000Z | src/trajopt/test/cast-cost-unit.cpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 118 | 2015-01-08T16:06:50.000Z | 2022-03-19T11:44:00.000Z | #include <gtest/gtest.h>
#include <openrave-core.h>
#include <openrave/openrave.h>
#include "trajopt/collision_checker.hpp"
#include "utils/stl_to_string.hpp"
#include "trajopt/common.hpp"
#include "trajopt/problem_description.hpp"
#include "sco/optimizers.hpp"
#include "trajopt/rave_utils.hpp"
#include "osgviewer/osgv... | 31.215686 | 118 | 0.721106 | [
"vector"
] |
ce74bee3028539d3c538477eb0a21a4e267bcf56 | 10,090 | cpp | C++ | src/base/util/UtcDate.cpp | rockstorm101/GMAT | 00b6b61a40560c095da3d83dab4ab1e9157f01c7 | [
"Apache-2.0"
] | 1 | 2018-09-18T07:09:36.000Z | 2018-09-18T07:09:36.000Z | src/base/util/UtcDate.cpp | rockstorm101/GMAT | 00b6b61a40560c095da3d83dab4ab1e9157f01c7 | [
"Apache-2.0"
] | null | null | null | src/base/util/UtcDate.cpp | rockstorm101/GMAT | 00b6b61a40560c095da3d83dab4ab1e9157f01c7 | [
"Apache-2.0"
] | 2 | 2020-06-18T04:45:30.000Z | 2021-07-20T02:11:54.000Z | //$Id$
//------------------------------------------------------------------------------
// UtcDate
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2015 United States Government as repr... | 37.37037 | 105 | 0.402478 | [
"object"
] |
706aec04f2169e9bde5dca0e68a88b8ff2521c6b | 6,646 | cpp | C++ | Gems/AWSGameLift/Code/AWSGameLiftClient/Tests/Activity/AWSGameLiftStartMatchmakingActivityTest.cpp | carbonated-dev/o3de | 150060441eccb98318febe17d3915f0781823b19 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/AWSGameLift/Code/AWSGameLiftClient/Tests/Activity/AWSGameLiftStartMatchmakingActivityTest.cpp | carbonated-dev/o3de | 150060441eccb98318febe17d3915f0781823b19 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/AWSGameLift/Code/AWSGameLiftClient/Tests/Activity/AWSGameLiftStartMatchmakingActivityTest.cpp | carbonated-dev/o3de | 150060441eccb98318febe17d3915f0781823b19 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <Activity/AWSGameLiftStartMatchmakingActivity.h>
#include <AWSGameLiftClientFixture.h>
u... | 43.437908 | 166 | 0.772645 | [
"3d"
] |
706cb62642c1470aef42b9f6d909daf5029d7e34 | 13,118 | cpp | C++ | tests/PhiCore/unittests/src/core/invoke.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 3 | 2020-12-21T13:47:35.000Z | 2022-03-16T23:53:21.000Z | tests/PhiCore/unittests/src/core/invoke.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 53 | 2020-08-07T07:46:57.000Z | 2022-02-12T11:07:08.000Z | tests/PhiCore/unittests/src/core/invoke.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 1 | 2020-08-19T15:50:02.000Z | 2020-08-19T15:50:02.000Z | #include <phi/test/test_macros.hpp>
#include <phi/compiler_support/warning.hpp>
#include <phi/core/declval.hpp>
#include <phi/core/forward.hpp>
#include <phi/core/invoke.hpp>
#include <phi/core/move.hpp>
#include <phi/type_traits/is_same.hpp>
#include <functional>
#include <type_traits>
PHI_GCC_SUPPRESS_WARNING_PUSH(... | 32.631841 | 96 | 0.615033 | [
"object"
] |
706f08b62770d4e900244e38b49e395768024c81 | 21,464 | cc | C++ | chrome/browser/android/data_usage/tab_data_use_entry_unittest.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/android/data_usage/tab_data_use_entry_unittest.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/android/data_usage/tab_data_use_entry_unittest.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 2015 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/android/data_usage/tab_data_use_entry.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <string>
#include ... | 38.328571 | 80 | 0.764489 | [
"vector"
] |
70716ea4208d42b37bc01d93a9642d37b12df70d | 381 | cpp | C++ | 1110.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 1110.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 1110.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <cmath>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
int num;
cin >> num;
int tem, cnt=0;
int res = num;
do {
if (num >= 10) tem = num / 10 + num % 10;
else tem = num;
if (tem >= 10) tem %= 10;
num = (num % 10) * 10 + tem;
... | 14.111111 | 44 | 0.548556 | [
"vector"
] |
707212ab0945d028a805019009e6e5862655bcd6 | 2,031 | hpp | C++ | include/mac_time_tracker/csv.hpp | yoshito-n-students/mac_time_tracker | 0532b0c71635bad343ae06b09818156024ff39f5 | [
"MIT"
] | null | null | null | include/mac_time_tracker/csv.hpp | yoshito-n-students/mac_time_tracker | 0532b0c71635bad343ae06b09818156024ff39f5 | [
"MIT"
] | null | null | null | include/mac_time_tracker/csv.hpp | yoshito-n-students/mac_time_tracker | 0532b0c71635bad343ae06b09818156024ff39f5 | [
"MIT"
] | null | null | null | #ifndef MAC_TIME_TRACKER_CSV_HPP
#define MAC_TIME_TRACKER_CSV_HPP
#include <iostream>
#include <string>
#include <vector>
#include <boost/algorithm/string/replace.hpp>
#include <boost/tokenizer.hpp>
#include <mac_time_tracker/io.hpp>
namespace mac_time_tracker {
class CSV : public std::vector<std::vector<std::stri... | 29.014286 | 97 | 0.602166 | [
"vector"
] |
7072d1fadc5609c6a615d7f74491e0205a03c652 | 27,231 | cpp | C++ | unexpected_decisions/pomcp/src/obstacleavoidance.cpp | GiuMaz/XPOMCP | ba109f390ddc3c6224f7f41b20839866d6a232d8 | [
"MIT"
] | 2 | 2021-02-01T13:53:52.000Z | 2021-12-23T12:56:48.000Z | unexpected_decisions/pomcp/src/obstacleavoidance.cpp | GiuMaz/XPOMCP | ba109f390ddc3c6224f7f41b20839866d6a232d8 | [
"MIT"
] | null | null | null | unexpected_decisions/pomcp/src/obstacleavoidance.cpp | GiuMaz/XPOMCP | ba109f390ddc3c6224f7f41b20839866d6a232d8 | [
"MIT"
] | null | null | null | #include "obstacleavoidance.h"
#include "utils.h"
using namespace std;
using namespace UTILS;
OBSTACLEAVOIDANCE::OBSTACLEAVOIDANCE(std::vector<int> nSubSegs, std::vector<std::vector<double>> subSegLengths, int nEnginePowerValues, int nDifficultyValues, int nVelocityValues)
: nSubSegs(nSubSegs),
subSegLength... | 33.04733 | 179 | 0.608718 | [
"vector",
"model"
] |
707744d05b5db6fe5762e653682bd03f665d21a1 | 28,586 | cpp | C++ | gmsv_extra/Garry's Mod/LUA/CLuaInterface.cpp | 11Lee1/gmsv_extra | 294dbc1e31eca6f086605767e0495cf64348bd85 | [
"Apache-2.0"
] | 9 | 2019-04-18T21:17:30.000Z | 2021-03-02T08:57:06.000Z | gmsv_extra/Garry's Mod/LUA/CLuaInterface.cpp | 11Lee1/gmsv_extra | 294dbc1e31eca6f086605767e0495cf64348bd85 | [
"Apache-2.0"
] | 2 | 2019-04-21T18:16:47.000Z | 2019-11-15T12:34:02.000Z | gmsv_extra/Garry's Mod/LUA/CLuaInterface.cpp | 11Lee1/gmsv_extra | 294dbc1e31eca6f086605767e0495cf64348bd85 | [
"Apache-2.0"
] | 1 | 2019-10-03T07:03:05.000Z | 2019-10-03T07:03:05.000Z | #include "Interface.h"
#include "../../interfaces.h"
#include "../../Source SDK/server/baseentity.h"
#include "../../Source SDK/eiface.h"
#include "../GLUA/CLuaGameCallback.h"
#include "../Exports/exports.h"
CBaseEntity* CLuaInterface::GetEntity(int iStackPos) {
if (!g_pInterfaces->g_Lua)
return nullptr;
GarrysM... | 29.050813 | 142 | 0.737424 | [
"vector"
] |
707cf18222d47446167a19d1fda96bf18943316a | 5,652 | cpp | C++ | player/render/RGBGLRender.cpp | lewis-v/KeepPlayer | c6c999fd9416a088277ec71ec5de73461e2e159f | [
"Apache-2.0"
] | 1 | 2020-10-17T11:54:13.000Z | 2020-10-17T11:54:13.000Z | player/render/RGBGLRender.cpp | lewis-v/KeepPlayer | c6c999fd9416a088277ec71ec5de73461e2e159f | [
"Apache-2.0"
] | null | null | null | player/render/RGBGLRender.cpp | lewis-v/KeepPlayer | c6c999fd9416a088277ec71ec5de73461e2e159f | [
"Apache-2.0"
] | null | null | null | //
// Created by lewis-v on 2020/11/1.
//
#include <map>
#include <string>
#include "RGBGLRender.h"
#include "../base/Macros.h"
#include "../base/ImageParseUtil.h"
NS_KP_BEGIN
static GLfloat _vertices[] = {-1.f, 1.f,
-1.f, -1.f,
1.f, 1.f,
... | 31.054945 | 94 | 0.584572 | [
"render"
] |
7084caa4829e78edd14aac2b2f20dd8e35bf73d1 | 3,783 | cc | C++ | chaps/token_manager_client.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | chaps/token_manager_client.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | chaps/token_manager_client.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright (c) 2012 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 "chaps/token_manager_client.h"
#include <base/logging.h>
#include <brillo/secure_blob.h>
#include "chaps/chaps_proxy.h"
#include "chaps/... | 31.008197 | 79 | 0.621993 | [
"vector"
] |
708540db38ad574befa340d43aa211118bf56f98 | 2,025 | cpp | C++ | dirname/dirname.cpp | maidis/coreutils-cpp | 835416947df7e5f7ad51c0eaca8aed2fb9e27ce5 | [
"BSL-1.0"
] | 3 | 2021-03-20T10:08:37.000Z | 2021-08-15T15:15:58.000Z | dirname/dirname.cpp | maidis/coreutils-cpp | 835416947df7e5f7ad51c0eaca8aed2fb9e27ce5 | [
"BSL-1.0"
] | 2 | 2021-03-23T21:12:07.000Z | 2022-01-06T15:37:12.000Z | dirname/dirname.cpp | maidis/coreutils-cpp | 835416947df7e5f7ad51c0eaca8aed2fb9e27ce5 | [
"BSL-1.0"
] | 1 | 2021-03-20T09:59:15.000Z | 2021-03-20T09:59:15.000Z | #include <iostream>
#include <filesystem>
#include <vector>
namespace fs = std::filesystem;
int main(int argc, char *argv[])
{
if (argc == 2 && argv[1] == std::string("--help"))
{
std::cout << R"(Usage: dirname [OPTION] NAME...
Output each NAME with its last non-slash component and trailing slashes
re... | 27 | 102 | 0.470617 | [
"vector"
] |
7087e78e97f3fb233d7db4262983d304b446247e | 3,083 | hpp | C++ | boost/boost/geometry/geometries/adapted/c_array.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 24 | 2015-08-25T05:35:37.000Z | 2020-10-24T14:21:59.000Z | boost/boost/geometry/geometries/adapted/c_array.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 97 | 2015-08-25T16:11:16.000Z | 2019-03-17T00:54:32.000Z | boost/boost/geometry/geometries/adapted/c_array.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 9 | 2015-08-26T03:11:38.000Z | 2018-03-21T07:16:29.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
// (ge... | 27.526786 | 143 | 0.767434 | [
"geometry"
] |
70880d101fdbe0cd703ea3d5456d516924bcd12c | 12,177 | cpp | C++ | libpvkernel/src/core/PVRecentItemsManager.cpp | inendi-inspector/inspector | 9b9a00222d8a73cb0817ca56790ee9155db61cc4 | [
"MIT"
] | null | null | null | libpvkernel/src/core/PVRecentItemsManager.cpp | inendi-inspector/inspector | 9b9a00222d8a73cb0817ca56790ee9155db61cc4 | [
"MIT"
] | null | null | null | libpvkernel/src/core/PVRecentItemsManager.cpp | inendi-inspector/inspector | 9b9a00222d8a73cb0817ca56790ee9155db61cc4 | [
"MIT"
] | null | null | null | //
// MIT License
//
// © ESI Group, 2015
//
// 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, pu... | 32.385638 | 97 | 0.746654 | [
"vector",
"transform"
] |
708cc142c7b30f28cb428b3fbfca96dbc398aa01 | 10,236 | cpp | C++ | tuw_multi_robot_router/src/segment_expander.cpp | sgermanserrano/tuw_multi_robot | 97fba5f6d896f20d95445dfa719b4512296dffc0 | [
"BSD-3-Clause"
] | 146 | 2018-07-21T09:50:13.000Z | 2022-03-31T22:49:01.000Z | tuw_multi_robot_router/src/segment_expander.cpp | sgermanserrano/tuw_multi_robot | 97fba5f6d896f20d95445dfa719b4512296dffc0 | [
"BSD-3-Clause"
] | 34 | 2018-09-28T09:54:23.000Z | 2022-03-10T08:05:01.000Z | tuw_multi_robot_router/src/segment_expander.cpp | sgermanserrano/tuw_multi_robot | 97fba5f6d896f20d95445dfa719b4512296dffc0 | [
"BSD-3-Clause"
] | 79 | 2018-01-27T23:25:26.000Z | 2022-03-31T22:51:36.000Z | /*
* Copyright (c) 2017, <copyright holder> <email>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this... | 33.671053 | 171 | 0.652208 | [
"vector"
] |
708ea3b6829e2da876bd4c5888306f89d893d020 | 27,132 | cpp | C++ | tools/dc/src/fe.cpp | nonlocalmodels/NLMech | 1f7c73438277daf215e38f57aa5bf49e0679987a | [
"BSL-1.0"
] | 7 | 2020-10-25T12:46:40.000Z | 2021-11-22T09:03:56.000Z | tools/dc/src/fe.cpp | nonlocalmodels/NLMech | 1f7c73438277daf215e38f57aa5bf49e0679987a | [
"BSL-1.0"
] | 24 | 2020-09-04T00:16:38.000Z | 2021-07-20T18:44:49.000Z | tools/dc/src/fe.cpp | PeriHPX/PeriHPX | 93b2861574cfe3bb071f27d8805fa79c295716b3 | [
"BSL-1.0"
] | 1 | 2020-10-25T12:53:52.000Z | 2020-10-25T12:53:52.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019 Prashant K. Jha
// Copyright (c) 2019 Patrick Diehl
//
// 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)
/////... | 31.008 | 80 | 0.569365 | [
"mesh",
"geometry",
"shape",
"vector"
] |
70935cb5d549ddbafa0c073cc712c605beb331b1 | 2,807 | cpp | C++ | scm_gl_core/src/scm/gl_core/constants.cpp | Nyran/schism | c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b | [
"BSD-3-Clause"
] | 10 | 2015-09-17T06:01:03.000Z | 2019-10-23T07:10:20.000Z | scm_gl_core/src/scm/gl_core/constants.cpp | Nyran/schism | c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b | [
"BSD-3-Clause"
] | 5 | 2015-01-06T14:11:32.000Z | 2016-12-12T10:26:53.000Z | scm_gl_core/src/scm/gl_core/constants.cpp | Nyran/schism | c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b | [
"BSD-3-Clause"
] | 15 | 2015-01-29T20:56:13.000Z | 2020-07-02T19:03:20.000Z |
// Copyright (c) 2012 Christopher Lux <christopherlux@gmail.com>
// Distributed under the Modified BSD License, see license.txt.
#include "constants.h"
#include <cassert>
namespace scm {
namespace gl {
// debugging //////////////////////////////////////////////////////////////////////////////////////
const char*
... | 31.188889 | 99 | 0.646242 | [
"geometry"
] |
7093ecbd805160877c7e224c54538bb614e77fbb | 8,891 | cpp | C++ | manager.cpp | lmcad-unicamp/oi-dbt | 509b8ee4ffe8c2f5c758e3308db8ab6988ee44a7 | [
"MIT"
] | 5 | 2020-08-26T17:58:15.000Z | 2021-12-25T12:10:22.000Z | manager.cpp | OpenISA/dbt-openisa | 509b8ee4ffe8c2f5c758e3308db8ab6988ee44a7 | [
"MIT"
] | null | null | null | manager.cpp | OpenISA/dbt-openisa | 509b8ee4ffe8c2f5c758e3308db8ab6988ee44a7 | [
"MIT"
] | 5 | 2017-07-25T21:57:58.000Z | 2019-04-28T22:42:50.000Z | #include <manager.hpp>
#include <OIPrinter.hpp>
#include <fstream>
#include <vector>
#include "llvm/IR/Verifier.h"
#include "llvm/Support/raw_ostream.h"
#include "timer.hpp"
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/IRReader/IRReader.h"
using namespace dbt;
bool has... | 30.138983 | 152 | 0.613204 | [
"vector"
] |
7097b170d264179cc63a3de0e8493801872bbb1f | 2,923 | cpp | C++ | src/main.cpp | laurencee9/GRGImage | 5ed00d7b43a06aede1d980df669b8e7cfe258921 | [
"MIT"
] | 4 | 2018-03-28T22:48:00.000Z | 2018-05-15T15:16:54.000Z | src/main.cpp | laurencee9/GRGImage | 5ed00d7b43a06aede1d980df669b8e7cfe258921 | [
"MIT"
] | null | null | null | src/main.cpp | laurencee9/GRGImage | 5ed00d7b43a06aede1d980df669b8e7cfe258921 | [
"MIT"
] | null | null | null | #define cimg_display 0
#include "CImg.h"
#include "main.hpp"
#include "grg.cpp"
using namespace cimg_library;
namespace po = boost::program_options;
int main(int argc, char const *argv[]) {
// Parameters
int number_nodes, degree, neigh;
double contrast;
std::string imagePath, outputPath;
bool tra... | 27.064815 | 148 | 0.671228 | [
"geometry",
"transform"
] |
70999db8eba5125aa6046a3a16b9804aa1c07eb8 | 2,913 | cpp | C++ | Doomenstein/Code/Game/MaterialSheet.cpp | yixuan-wei/Doomenstein | c1c80e5253a002d056b1990abf38e8c567c6e5ad | [
"MIT"
] | null | null | null | Doomenstein/Code/Game/MaterialSheet.cpp | yixuan-wei/Doomenstein | c1c80e5253a002d056b1990abf38e8c567c6e5ad | [
"MIT"
] | null | null | null | Doomenstein/Code/Game/MaterialSheet.cpp | yixuan-wei/Doomenstein | c1c80e5253a002d056b1990abf38e8c567c6e5ad | [
"MIT"
] | 1 | 2021-03-12T01:23:26.000Z | 2021-03-12T01:23:26.000Z | #include "Game/MaterialSheet.hpp"
#include "Game/GameCommon.hpp"
#include "Engine/Core/DevConsole.hpp"
#include "Engine/Core/ErrorWarningAssert.hpp"
#include "Engine/Renderer/RenderContext.hpp"
#include "Engine/Renderer/SpriteSheet.hpp"
#include "Engine/Math/AABB2.hpp"
std::vector<MaterialSheet*> MaterialSheet::sMater... | 36.4125 | 102 | 0.599039 | [
"vector"
] |
709b5daf86c8067296f7b08af47a673de177de05 | 16,867 | cp | C++ | pipeLines/_legacy_archived/CD34.under_construction.cp | swvanderlaan/slideToolK | a07ecaaead93d49f44e649b3446c25117700b020 | [
"MIT"
] | 2 | 2021-01-19T07:45:53.000Z | 2022-03-02T21:25:09.000Z | pipeLines/_legacy_archived/CD34.under_construction.cp | swvanderlaan/slideToolK | a07ecaaead93d49f44e649b3446c25117700b020 | [
"MIT"
] | 17 | 2021-08-31T11:42:25.000Z | 2021-11-16T21:47:45.000Z | pipeLines/_legacy_archived/CD34.under_construction.cp | swvanderlaan/slideToolK | a07ecaaead93d49f44e649b3446c25117700b020 | [
"MIT"
] | 1 | 2021-05-04T10:16:00.000Z | 2021-05-04T10:16:00.000Z | CellProfiler Pipeline: http://www.cellprofiler.org
Version:1
SVNRevision:11710
LoadImages:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:11|show_window:False|notes:\x5B\'1. Find Tissue area (green)\', \'2. Within Tissue area (green) Identify\x3A\', \' a. HE nuclei (blue)\', \' b. DAB area (yellow)\', \... | 51.112121 | 314 | 0.760657 | [
"object",
"shape"
] |
709dcc0e2ed3095da69c66c1ea1421b2a028bc94 | 12,061 | hpp | C++ | io/src/_key_value_serializer_common.hpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | 2 | 2020-11-19T03:23:35.000Z | 2021-02-25T03:34:40.000Z | io/src/_key_value_serializer_common.hpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | null | null | null | io/src/_key_value_serializer_common.hpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | null | null | null | /*******************************************************************************
MIT License
Copyright (c) 2021 Romain Vinders
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, ... | 33.689944 | 146 | 0.581875 | [
"object"
] |
709e51eb2ece92d14c3310b948f46972338e279d | 6,932 | cpp | C++ | OverlordEngine/MeshFilter.cpp | Kair0z/StikBoldt-PC | 5d978aa6b67e9f3a140136f2f0b766061e765c74 | [
"MIT"
] | null | null | null | OverlordEngine/MeshFilter.cpp | Kair0z/StikBoldt-PC | 5d978aa6b67e9f3a140136f2f0b766061e765c74 | [
"MIT"
] | null | null | null | OverlordEngine/MeshFilter.cpp | Kair0z/StikBoldt-PC | 5d978aa6b67e9f3a140136f2f0b766061e765c74 | [
"MIT"
] | 1 | 2021-09-23T06:21:53.000Z | 2021-09-23T06:21:53.000Z | #include "stdafx.h"
#include "MeshFilter.h"
#include "Material.h"
#include <algorithm>
DirectX::XMFLOAT4 MeshFilter::m_DefaultColor = DirectX::XMFLOAT4(1,0,0,1);
DirectX::XMFLOAT4 MeshFilter::m_DefaultFloat4 = DirectX::XMFLOAT4(0, 0, 0, 0);
DirectX::XMFLOAT3 MeshFilter::m_DefaultFloat3 = DirectX::XMFLOAT3(0, 0, 0);
... | 33.650485 | 187 | 0.755626 | [
"mesh",
"vector"
] |
709fad5ba62b64736e47eb8c7e69eb15984b3bf3 | 14,362 | cpp | C++ | src/core/ActiveText.cpp | tedvalson/NovelTea | f731951f25936cb7f5ff23e543e0301c1b5bfe82 | [
"MIT"
] | null | null | null | src/core/ActiveText.cpp | tedvalson/NovelTea | f731951f25936cb7f5ff23e543e0301c1b5bfe82 | [
"MIT"
] | null | null | null | src/core/ActiveText.cpp | tedvalson/NovelTea | f731951f25936cb7f5ff23e543e0301c1b5bfe82 | [
"MIT"
] | null | null | null | #include <NovelTea/ActiveText.hpp>
#include <NovelTea/AssetManager.hpp>
#include <NovelTea/Diff.hpp>
#include <NovelTea/Game.hpp>
#include <NovelTea/Object.hpp>
#include <NovelTea/Room.hpp>
#include <NovelTea/SaveData.hpp>
#include <NovelTea/TextBlock.hpp>
#include <NovelTea/TextFragment.hpp>
namespace NovelTea
{
Act... | 23.976628 | 128 | 0.693497 | [
"object",
"shape",
"vector",
"transform"
] |
70a042c5cb33947de303f20f5e992df0b3c97e22 | 3,687 | cxx | C++ | src/Cxx/PolyData/QuantizePolyDataPoints.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 81 | 2020-08-10T01:44:30.000Z | 2022-03-23T06:46:36.000Z | src/Cxx/PolyData/QuantizePolyDataPoints.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 2 | 2020-09-12T17:33:52.000Z | 2021-04-15T17:33:09.000Z | src/Cxx/PolyData/QuantizePolyDataPoints.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 27 | 2020-08-17T07:09:30.000Z | 2022-02-15T03:44:58.000Z | #include <vtkNew.h>
#include <vtkProperty.h>
#include <vtkQuantizePolyDataPoints.h>
#include <vtkSmartPointer.h>
#include <vtkCamera.h>
#include <vtkGlyph3DMapper.h>
#include <vtkPointSource.h>
#include <vtkPoints.h>
#include <vtkPolyData.h>
#include <vtkPolyDataMapper.h>
#include <vtkProperty.h>
#include <vtkRenderWin... | 30.983193 | 80 | 0.71386 | [
"render"
] |
70a58f8107a30b6c9789181dace1874b3409cb38 | 4,109 | cpp | C++ | cpp/p3_python/source/p3/python/p3ui.cpp | mfkiwl/p3ui | 639030830cf3366e722b2a251c847972ff8df11e | [
"MIT"
] | null | null | null | cpp/p3_python/source/p3/python/p3ui.cpp | mfkiwl/p3ui | 639030830cf3366e722b2a251c847972ff8df11e | [
"MIT"
] | null | null | null | cpp/p3_python/source/p3/python/p3ui.cpp | mfkiwl/p3ui | 639030830cf3366e722b2a251c847972ff8df11e | [
"MIT"
] | null | null | null | /***************************************************************************//*/
Copyright (c) 2021 Martin Rudoff
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, inclu... | 47.77907 | 80 | 0.69798 | [
"object"
] |
70b0123640913ded68b4802220301a3b7c113797 | 133,627 | cpp | C++ | src/ublox/SparkFun_Ublox_Arduino_Library.cpp | hanoba/Moonlight | e0293c9996cc4ba90e87377791e7a21a335788f4 | [
"MIT"
] | null | null | null | src/ublox/SparkFun_Ublox_Arduino_Library.cpp | hanoba/Moonlight | e0293c9996cc4ba90e87377791e7a21a335788f4 | [
"MIT"
] | null | null | null | src/ublox/SparkFun_Ublox_Arduino_Library.cpp | hanoba/Moonlight | e0293c9996cc4ba90e87377791e7a21a335788f4 | [
"MIT"
] | null | null | null | /*
This is a library written for the Ublox ZED-F9P and NEO-M8P-2
SparkFun sells these at its website: www.sparkfun.com
Do you like this library? Help support SparkFun. Buy a board!
https://www.sparkfun.com/products/15136
https://www.sparkfun.com/products/15005
https://www.sparkfun.com/products/15733
https://www.... | 37.919126 | 286 | 0.695413 | [
"model",
"3d"
] |
70b123894aa8401853c482c8314f4d88aca78868 | 140,184 | hpp | C++ | ThirdParty-mod/java2cpp/android/view/View.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | 1 | 2019-04-03T01:53:28.000Z | 2019-04-03T01:53:28.000Z | ThirdParty-mod/java2cpp/android/view/View.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | ThirdParty-mod/java2cpp/android/view/View.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.view.View
================================================================================*/
#ifndef J2CPP_INCLUDE_IMPLEMENTATION... | 35.002247 | 240 | 0.734585 | [
"object"
] |
70b14b15148a0b5a2712bc2115c70433add24716 | 38,487 | cpp | C++ | src/apps/icon-o-matic/MainWindow.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/apps/icon-o-matic/MainWindow.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/apps/icon-o-matic/MainWindow.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2006-2011, Stephan Aßmus <superstippi@gmx.de>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "MainWindow.h"
#include <new>
#include <stdio.h>
#include <Alert.h>
#include <Catalog.h>
#include <Clipboard.h>
#include <GridLayout.h>
#include <GroupLayout.h>
#include... | 26.820209 | 77 | 0.707616 | [
"object",
"shape"
] |
70bc30c1b9c099247999c1eae3417332a67b94f5 | 53,431 | cpp | C++ | copasi/sbml/unittests/test000091.cpp | bmoreau/COPASI | d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba | [
"Artistic-2.0"
] | null | null | null | copasi/sbml/unittests/test000091.cpp | bmoreau/COPASI | d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba | [
"Artistic-2.0"
] | null | null | null | copasi/sbml/unittests/test000091.cpp | bmoreau/COPASI | d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba | [
"Artistic-2.0"
] | null | null | null | // Copyright (C) 2010 - 2014 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and The University
// of Manchester.
// All rights reserved.
#include "test000091.h"
#include <sstream>
#include "utilities.hpp"
#include "copasi/CopasiDataModel/CCopasiDataModel.h"
#include "copasi... | 49.888889 | 186 | 0.696188 | [
"object",
"vector",
"model"
] |
70be83eabd46826966a1146685018a699dbf4ba5 | 8,462 | cpp | C++ | inference-engine/src/vpu/graph_transformer/src/stages/priorbox.cpp | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | 3 | 2020-02-09T23:25:37.000Z | 2021-01-19T09:44:12.000Z | inference-engine/src/vpu/graph_transformer/src/stages/priorbox.cpp | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | null | null | null | inference-engine/src/vpu/graph_transformer/src/stages/priorbox.cpp | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | 2 | 2020-04-18T16:24:39.000Z | 2021-01-19T09:42:19.000Z | // Copyright (C) 2018-2019 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vpu/frontend/frontend.hpp>
#include <cmath>
#include <algorithm>
#include <vector>
#include <memory>
#include <precision_utils.h>
#include <ie_parallel.hpp>
#include <vpu/utils/numeric.hpp>
#include <vpu/utils/profilin... | 37.114035 | 138 | 0.518672 | [
"vector",
"model"
] |
70c35be075a8f1b6fa1943ff3711058a33956cf8 | 13,712 | cc | C++ | mysql-server/unittest/gunit/innodb/lob/lob0int.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/unittest/gunit/innodb/lob/lob0int.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/unittest/gunit/innodb/lob/lob0int.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /*****************************************************************************
Copyright (c) 2016, 2020, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License, version 2.0, as published by the
Free S... | 34.979592 | 78 | 0.665257 | [
"object"
] |
70ca364f2b588b9be802f07a76ab3e2d800d7dd8 | 3,640 | cc | C++ | src/compiler/codegen/codegen.cc | enderdzz/verona | e0cf0b4f9fb13a9f8787e60edb3f816863b94427 | [
"MIT"
] | 1 | 2020-01-21T05:04:26.000Z | 2020-01-21T05:04:26.000Z | src/compiler/codegen/codegen.cc | enderdzz/verona | e0cf0b4f9fb13a9f8787e60edb3f816863b94427 | [
"MIT"
] | null | null | null | src/compiler/codegen/codegen.cc | enderdzz/verona | e0cf0b4f9fb13a9f8787e60edb3f816863b94427 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "compiler/codegen/codegen.h"
#include "compiler/ast.h"
#include "compiler/codegen/builtins.h"
#include "compiler/codegen/descriptor.h"
#include "compiler/codegen/function.h"
#include "compiler/codegen/generator.h"
... | 31.111111 | 80 | 0.693132 | [
"vector"
] |
70d105255ce33d233c30b2f0d73de0afdb1531fd | 5,422 | cpp | C++ | external/skia/gm/bitmapscroll.cpp | gordonjohnpatrick/XobotOS | 888ed3b8cc8d8e0a54b1858bfa5a3572545f4d2f | [
"Apache-2.0"
] | 263 | 2015-01-04T16:39:18.000Z | 2022-01-05T17:52:38.000Z | external/skia/gm/bitmapscroll.cpp | DooMLoRD/XobotOS | f20db6295e878a2f298c5e3896528e240785805b | [
"Apache-2.0"
] | 3 | 2015-09-06T09:06:39.000Z | 2019-10-15T00:52:49.000Z | external/skia/gm/bitmapscroll.cpp | DooMLoRD/XobotOS | f20db6295e878a2f298c5e3896528e240785805b | [
"Apache-2.0"
] | 105 | 2015-01-11T11:45:12.000Z | 2022-02-22T07:26:36.000Z |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
namespace skiagm {
/** Create a bitmap image suitable for testing SkBitmap::scrollRect().
*
* @param quarterWidth bitmap will be 4x this many pixels wide
... | 36.635135 | 80 | 0.607156 | [
"object"
] |
70d567c90575038e1b1ead97a319c26f703734ce | 2,024 | cpp | C++ | src/ir/hlir/ops/k210/fake_kpu_conv2d.cpp | kartben/nncase | d2c7aa96035d48aa06ecd0af5496e019cc7124b8 | [
"Apache-2.0"
] | 1 | 2020-02-29T08:30:39.000Z | 2020-02-29T08:30:39.000Z | src/ir/hlir/ops/k210/fake_kpu_conv2d.cpp | kartben/nncase | d2c7aa96035d48aa06ecd0af5496e019cc7124b8 | [
"Apache-2.0"
] | null | null | null | src/ir/hlir/ops/k210/fake_kpu_conv2d.cpp | kartben/nncase | d2c7aa96035d48aa06ecd0af5496e019cc7124b8 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2019 Canaan Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 47.069767 | 290 | 0.740613 | [
"shape"
] |
70d5b4e298cb638f77af58fe50e50ad7efb98995 | 6,346 | hpp | C++ | orbslam3_runner/src/system_ext.hpp | AaltoML/vio_benchmark | cb2277026f824f88f3bc131057ebc687cb19d648 | [
"Apache-2.0"
] | 32 | 2021-04-23T15:07:04.000Z | 2022-03-30T08:04:28.000Z | orbslam3_runner/src/system_ext.hpp | AaltoML/vio_benchmark | cb2277026f824f88f3bc131057ebc687cb19d648 | [
"Apache-2.0"
] | 3 | 2021-02-10T18:54:06.000Z | 2022-03-12T16:58:19.000Z | orbslam3_runner/src/system_ext.hpp | AaltoML/vio_benchmark | cb2277026f824f88f3bc131057ebc687cb19d648 | [
"Apache-2.0"
] | 4 | 2021-02-08T11:11:09.000Z | 2022-03-15T12:45:05.000Z | /**
* This file is part of ORB-SLAM3
*
* Copyright (C) 2017-2020 Carlos Campos, Richard Elvira, Juan J. Gómez Rodríguez, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
* Copyright (C) 2014-2016 Raúl Mur-Artal, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
*
* ORB-SLAM3 is free software: y... | 37.329412 | 143 | 0.566971 | [
"vector",
"transform"
] |
70d6b2d0756a0cd3b7a1b991162516adeece1a1f | 6,269 | cc | C++ | RecoTracker/TkMSParametrization/src/MSLayersAtAngle.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoTracker/TkMSParametrization/src/MSLayersAtAngle.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoTracker/TkMSParametrization/src/MSLayersAtAngle.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z |
#include "MSLayersAtAngle.h"
#include "RecoTracker/TkMSParametrization/interface/PixelRecoLineRZ.h"
#include "DataFormats/Math/interface/approx_log.h"
using namespace std;
namespace {
template <class T>
inline T sqr(T t) {
return t * t;
}
} // namespace
void MSLayersAtAngle::init() {
std::sort(theLaye... | 35.822857 | 120 | 0.529271 | [
"vector"
] |
70d88ebf4116eec65f974986d8573243df2a8659 | 5,405 | cpp | C++ | src/mongo/db/update/addtoset_node.cpp | marcelodsx/mongo | 324839c0c0c2b294a44d130105797ccdbb3b17a9 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/update/addtoset_node.cpp | marcelodsx/mongo | 324839c0c0c2b294a44d130105797ccdbb3b17a9 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/update/addtoset_node.cpp | marcelodsx/mongo | 324839c0c0c2b294a44d130105797ccdbb3b17a9 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2017 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITH... | 35.794702 | 100 | 0.638668 | [
"object",
"vector"
] |
70d9601cd0f9be78570cabab1ce23d7b6413917e | 47,303 | cc | C++ | base/tracked_objects_unittest.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 41 | 2017-04-19T19:38:10.000Z | 2021-09-07T02:40:27.000Z | base/tracked_objects_unittest.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2017-04-21T16:40:09.000Z | 2019-12-09T19:48:40.000Z | base/tracked_objects_unittest.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 19 | 2017-04-24T14:43:18.000Z | 2022-03-17T19:13:45.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Test of classes in the tracked_objects.h classes.
#include "base/tracked_objects.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#... | 39.81734 | 80 | 0.76473 | [
"object"
] |
70dafe8daaff398f009776204b29cb42f84e95af | 345 | cpp | C++ | Unidad-1/Aula04/3.cpp | luismoroco/ProgrCompetitiva | 011cdb18749a16d17fd635a7c36a8a21b2b643d9 | [
"BSD-3-Clause"
] | null | null | null | Unidad-1/Aula04/3.cpp | luismoroco/ProgrCompetitiva | 011cdb18749a16d17fd635a7c36a8a21b2b643d9 | [
"BSD-3-Clause"
] | null | null | null | Unidad-1/Aula04/3.cpp | luismoroco/ProgrCompetitiva | 011cdb18749a16d17fd635a7c36a8a21b2b643d9 | [
"BSD-3-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// Square each value in a sorted array and
// return the output in sorted order
int main()
{
vector<int> array = {-4, -3, 1, 2, 3};
for (auto &v : array)
v = v * v;
sort(array.begin(), array.end());
for (auto v : array)
cout << v << ' ';
... | 20.294118 | 42 | 0.55942 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.