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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90ffbbb13d7fdc5c2ca060e950b9a327df18f015 | 8,853 | cxx | C++ | Source/Common/itkManagedProcessObject.cxx | amirsalah/manageditk | 1ca3a8ea7db221a3b6a578d3c75e3ed941ef8761 | [
"MIT"
] | null | null | null | Source/Common/itkManagedProcessObject.cxx | amirsalah/manageditk | 1ca3a8ea7db221a3b6a578d3c75e3ed941ef8761 | [
"MIT"
] | null | null | null | Source/Common/itkManagedProcessObject.cxx | amirsalah/manageditk | 1ca3a8ea7db221a3b6a578d3c75e3ed941ef8761 | [
"MIT"
] | null | null | null | /*=============================================================================
NOTE: THIS FILE IS A HANDMADE WRAPPER FOR THE ManagedITK PROJECT.
Project: ManagedITK
Program: Insight Segmentation & Registration Toolkit
Module: itkManagedProcessObject.cxx
Language: C++/CLI
Author: Dan Mueller
Date:... | 38.324675 | 120 | 0.672427 | [
"object",
"transform"
] |
2900c59a65d58885697faeee8eb24329f1bf477b | 126,420 | cpp | C++ | llvm/unittests/CodeGen/InstrRefLDVTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 6 | 2022-01-20T02:15:30.000Z | 2022-02-23T13:55:31.000Z | llvm/unittests/CodeGen/InstrRefLDVTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | null | null | null | llvm/unittests/CodeGen/InstrRefLDVTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | null | null | null | //===------------- llvm/unittest/CodeGen/InstrRefLDVTest.cpp --------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 39.006479 | 202 | 0.681704 | [
"object"
] |
2902d2750054fa81b49153707ef3c98393638ff3 | 2,210 | cpp | C++ | src/CountTriangles.cpp | liu2z2/codility | c73c40ada9a7cb13c6f415e70fef3e89f0fa85d5 | [
"Unlicense"
] | 37 | 2019-06-18T08:26:40.000Z | 2022-03-29T19:51:48.000Z | src/CountTriangles.cpp | liu2z2/codility | c73c40ada9a7cb13c6f415e70fef3e89f0fa85d5 | [
"Unlicense"
] | 6 | 2019-06-27T06:26:37.000Z | 2022-02-09T04:54:18.000Z | src/CountTriangles.cpp | liu2z2/codility | c73c40ada9a7cb13c6f415e70fef3e89f0fa85d5 | [
"Unlicense"
] | 30 | 2019-05-24T02:11:32.000Z | 2021-10-16T00:12:27.000Z | // https://app.codility.com/programmers/lessons/15-caterpillar_method/count_triangles/
//
// Task Score: 100%
// Correctness: 100%
// Performance: 100%
// Detected time complexity: O(N^2)
//
#include <algorithm>
#include <vector>
#include <map>
using namespace std;
// This is the simple brute force method, but it O... | 27.974684 | 86 | 0.464253 | [
"vector"
] |
2902eb284401751093cdaa81f5d352edd59f761b | 2,192 | cpp | C++ | algorithms/sorting_and_searching/non_comparison_sorting/example.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 24 | 2017-12-21T13:57:34.000Z | 2021-12-08T01:12:32.000Z | algorithms/sorting_and_searching/non_comparison_sorting/example.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 28 | 2018-11-01T23:34:08.000Z | 2019-10-07T17:42:54.000Z | algorithms/sorting_and_searching/non_comparison_sorting/example.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 4 | 2018-04-24T19:28:51.000Z | 2020-07-19T14:06:23.000Z | /*******************************************************************************
* This file is part of the "Data structures and algorithms" course. FMI 2018/19
*******************************************************************************/
/**
* @file example.cpp
* @author Ivan Filipov
* @author Nikolay Babu... | 25.488372 | 86 | 0.577099 | [
"vector"
] |
291061150d61230d9efe595bfd0de4447dc6b160 | 9,885 | cpp | C++ | CirculationModel.cpp | alexkaiser/heart_valves | 53f30ec3680503542890a84949b7fb51d1734272 | [
"BSD-3-Clause"
] | null | null | null | CirculationModel.cpp | alexkaiser/heart_valves | 53f30ec3680503542890a84949b7fb51d1734272 | [
"BSD-3-Clause"
] | null | null | null | CirculationModel.cpp | alexkaiser/heart_valves | 53f30ec3680503542890a84949b7fb51d1734272 | [
"BSD-3-Clause"
] | null | null | null | // Filename: CirculationModel.cpp
// Created on 20 Aug 2007 by Boyce Griffith
// Modified by Alex Kaiser, 7/2016
#include "CirculationModel.h"
/////////////////////////////// INCLUDES /////////////////////////////////////
#ifndef included_IBAMR_config
#include <IBAMR_config.h>
#define included_IBAMR_config
#endif
... | 33.060201 | 136 | 0.546788 | [
"object",
"model"
] |
291364b73d800881aae7f82b8a00115918b12950 | 1,394 | hpp | C++ | demo/Vitis-AI-Library/samples/ultrafast/process_result.hpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 1 | 2022-02-17T22:13:23.000Z | 2022-02-17T22:13:23.000Z | demo/Vitis-AI-Library/samples/ultrafast/process_result.hpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null | demo/Vitis-AI-Library/samples/ultrafast/process_result.hpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Xilinx 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 ... | 27.88 | 99 | 0.647059 | [
"vector"
] |
29159f0185f5df1f53d045be9ea622b4c13bc756 | 962 | cc | C++ | RAVL2/Math/Geometry/Projective/2D/PPerspective2d.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Math/Geometry/Projective/2D/PPerspective2d.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Math/Geometry/Projective/2D/PPerspective2d.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2003, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 30.0625 | 74 | 0.5842 | [
"geometry"
] |
2915beda367fa56aa2ef58fbe3fa63608ebf333d | 6,994 | cpp | C++ | source/test.cpp | ict-project/libict-utf8 | 88460cff256b7d85c93aedad15158d53230b228c | [
"BSD-3-Clause"
] | null | null | null | source/test.cpp | ict-project/libict-utf8 | 88460cff256b7d85c93aedad15158d53230b228c | [
"BSD-3-Clause"
] | null | null | null | source/test.cpp | ict-project/libict-utf8 | 88460cff256b7d85c93aedad15158d53230b228c | [
"BSD-3-Clause"
] | 1 | 2022-03-28T20:22:59.000Z | 2022-03-28T20:22:59.000Z | //! @file
//! @brief Test module - Source file.
//! @author Mariusz Ornowski (mariusz.ornowski@ict-project.pl)
//! @version 1.0
//! @date 2016-2017
//! @copyright ICT-Project Mariusz Ornowski (ict-project.pl)
/* **************************************************************
Copyright (c) 2016-2017, ICT-Project Mariusz ... | 39.738636 | 140 | 0.637403 | [
"vector"
] |
2919ed98e2a36c18bb1987522064a58f271ea316 | 9,090 | cc | C++ | chrome/test/chromedriver/server/http_server.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | chrome/test/chromedriver/server/http_server.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | chrome/test/chromedriver/server/http_server.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/test/chromedriver/server/http_server.h"
#include "net/base/network_interfaces.h"
namespace {
// Maximum message size between app an... | 36.653226 | 80 | 0.652035 | [
"vector"
] |
291e4e801747014cb0b3adce53b9fe14b4cdfcd9 | 15,172 | cpp | C++ | Server/Modules/SearchModule/src/SearchProcessor.cpp | wayfinder/Wayfinder-Server | a688546589f246ee12a8a167a568a9c4c4ef8151 | [
"BSD-3-Clause"
] | 4 | 2015-08-17T20:12:22.000Z | 2020-05-30T19:53:26.000Z | Server/Modules/SearchModule/src/SearchProcessor.cpp | wayfinder/Wayfinder-Server | a688546589f246ee12a8a167a568a9c4c4ef8151 | [
"BSD-3-Clause"
] | null | null | null | Server/Modules/SearchModule/src/SearchProcessor.cpp | wayfinder/Wayfinder-Server | a688546589f246ee12a8a167a568a9c4c4ef8151 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... | 33.054466 | 755 | 0.595439 | [
"vector"
] |
2920f1143fe070e2cfc2f4c0951adf728c658c48 | 2,621 | cpp | C++ | sw4534.cpp | sjnov11/SW-expert-academy | b7040017f2f8ff037aee40a5024284aaad1e50f9 | [
"MIT"
] | 1 | 2022-02-21T09:11:15.000Z | 2022-02-21T09:11:15.000Z | sw4534.cpp | sjnov11/SW-expert-academy | b7040017f2f8ff037aee40a5024284aaad1e50f9 | [
"MIT"
] | null | null | null | sw4534.cpp | sjnov11/SW-expert-academy | b7040017f2f8ff037aee40a5024284aaad1e50f9 | [
"MIT"
] | 1 | 2019-07-03T10:12:55.000Z | 2019-07-03T10:12:55.000Z | #include <iostream>
#include <vector>
#include <stdlib.h>
using namespace std;
#define MOD 1000000007
long long cache[100000][2];
bool visited[100000] = {false, };
class Node {
public:
int val;
int root;
vector<Node*> children;
Node(int v) {
val = v;
root = 1;
}
};
// white 0 bla... | 27.302083 | 120 | 0.446776 | [
"vector"
] |
2923bbc3e23d4b3f6b8e0323fc12e0f89e422ef8 | 19,985 | cpp | C++ | src/rest.cpp | moorecoin/MooreCoinMiningAlgorithm | fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d | [
"MIT"
] | null | null | null | src/rest.cpp | moorecoin/MooreCoinMiningAlgorithm | fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d | [
"MIT"
] | null | null | null | src/rest.cpp | moorecoin/MooreCoinMiningAlgorithm | fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d | [
"MIT"
] | null | null | null | // copyright (c) 2009-2010 satoshi nakamoto
// copyright (c) 2009-2014 the moorecoin core developers
// distributed under the mit software license, see the accompanying
// file copying or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/block.h"
#include "primitives/transaction.h"
#include "mai... | 34.817073 | 158 | 0.607105 | [
"vector"
] |
29243147f7c6032cc8b76e80f29975791f2ec4f7 | 4,835 | cpp | C++ | src/visualization/rviz_frame.cpp | mfkiwl/FLVIS | 7472fef6fbc6cfc1e2c0de5dd1d0a7ae5462f689 | [
"BSD-2-Clause"
] | 113 | 2020-10-18T12:35:16.000Z | 2022-03-29T06:08:49.000Z | src/visualization/rviz_frame.cpp | JazzyFeng/FLVIS-gpu | 74dd8a136d1923592d2ca74d2408cc2c3bbb8c7b | [
"BSD-2-Clause"
] | 9 | 2020-07-04T07:54:57.000Z | 2022-02-17T06:37:33.000Z | src/visualization/rviz_frame.cpp | JazzyFeng/FLVIS-gpu | 74dd8a136d1923592d2ca74d2408cc2c3bbb8c7b | [
"BSD-2-Clause"
] | 29 | 2021-01-11T13:04:53.000Z | 2022-03-29T06:08:50.000Z | #include "include/rviz_frame.h"
RVIZFrame::RVIZFrame(ros::NodeHandle& nh,
string poseTopicName, string frameIDPose,
string ptsTopicName, string frameIDPts,
int bufferPose,
int bufferPts)
{
pose_pub = nh.advertise<geometry_msgs::P... | 33.344828 | 102 | 0.685832 | [
"vector"
] |
292af3f51b0d1f5472134a46e69314ee638038f9 | 12,948 | cc | C++ | kernel/cellaigs.cc | gudeh/yosys | 9711e96c595224a0c0b539e09baf11a801ba20b2 | [
"ISC"
] | 1,718 | 2018-01-06T15:16:30.000Z | 2022-03-30T17:44:22.000Z | kernel/cellaigs.cc | gudeh/yosys | 9711e96c595224a0c0b539e09baf11a801ba20b2 | [
"ISC"
] | 1,669 | 2018-01-06T22:57:24.000Z | 2022-03-31T06:51:49.000Z | kernel/cellaigs.cc | gudeh/yosys | 9711e96c595224a0c0b539e09baf11a801ba20b2 | [
"ISC"
] | 569 | 2018-01-19T01:51:14.000Z | 2022-03-31T23:03:09.000Z | /*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Claire Xenia Wolf <claire@yosyshq.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear i... | 26.104839 | 161 | 0.615462 | [
"vector"
] |
292d48755f59e0b2b432a6b3d29e32db63914ff7 | 5,209 | cc | C++ | test/timetable/departure_table.cc | mapbox/nepomuk | 8771482edb9b16bb0f5a152c15681c57eb3bb6b6 | [
"MIT"
] | 22 | 2017-05-12T11:52:26.000Z | 2021-12-06T06:05:08.000Z | test/timetable/departure_table.cc | mapbox/nepomuk | 8771482edb9b16bb0f5a152c15681c57eb3bb6b6 | [
"MIT"
] | 49 | 2017-05-11T16:13:58.000Z | 2017-12-13T11:19:17.000Z | test/timetable/departure_table.cc | mapbox/nepomuk | 8771482edb9b16bb0f5a152c15681c57eb3bb6b6 | [
"MIT"
] | 7 | 2017-11-19T12:04:26.000Z | 2021-12-06T06:14:25.000Z | #include "timetable/departure_table.hpp"
#include "timetable/departure_table_factory.hpp"
#include "timetable/exceptions.hpp"
#include "date/time.hpp"
#include "gtfs/frequency.hpp"
#include "gtfs/stop.hpp"
#include "id/sequence.hpp"
#include "id/stop.hpp"
#include "id/trip.hpp"
#include <algorithm>
#include <boost/o... | 39.763359 | 99 | 0.588405 | [
"vector"
] |
292e3600fe1c52d13055a196660282a62449712a | 7,684 | hpp | C++ | library/include/rocwmma/internal/mapping_util.hpp | dlangbe/rocWMMA | 8dd5c1cd4de202e556e338223e17071daac65987 | [
"MIT"
] | null | null | null | library/include/rocwmma/internal/mapping_util.hpp | dlangbe/rocWMMA | 8dd5c1cd4de202e556e338223e17071daac65987 | [
"MIT"
] | null | null | null | library/include/rocwmma/internal/mapping_util.hpp | dlangbe/rocWMMA | 8dd5c1cd4de202e556e338223e17071daac65987 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* MIT License
*
* Copyright 2021-2022 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | 37.666667 | 101 | 0.671265 | [
"transform"
] |
292f079e3314ed9de9226f0a3bb72d685ba6f6ab | 993 | cpp | C++ | permutation_in_a_string.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | permutation_in_a_string.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | permutation_in_a_string.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | // https://leetcode.com/problems/permutation-in-string/
class Solution {
public:
bool checkInclusion(string s1, string s2) {
size_t len1 = s1.length();
size_t len2 = s2.length();
if (len1 > len2) return false;
int window_size = len1;
int total_stride = len2 ... | 27.583333 | 65 | 0.441088 | [
"vector"
] |
2934a33c786bae3ea78b0af617e830b49015079a | 2,300 | cc | C++ | poj/1/1472.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | 1 | 2015-04-17T09:54:23.000Z | 2015-04-17T09:54:23.000Z | poj/1/1472.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | null | null | null | poj/1/1472.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
using namespace std;
struct poly
{
int cs[15];
poly() { fill_n(cs, 15, 0); }
poly& operator+=(const poly& p)
{
for (int i = 0; i <= 10; i++) {
cs[i] += p.cs[i];
}
return *this;
}
poly operator*(const poly& p) co... | 16.911765 | 49 | 0.452609 | [
"vector"
] |
a097baa00aab91e7993dc1183945bd4fd4857d50 | 1,317 | hpp | C++ | fawnds/cindex/twolevel_absoff_bucketing.hpp | ByteHamster/silt | 9970432b27db7b9ef3f23f56cdd0609183e9fd83 | [
"Apache-2.0"
] | 134 | 2015-02-02T21:32:16.000Z | 2022-01-27T06:03:22.000Z | fawnds/cindex/twolevel_absoff_bucketing.hpp | theopengroup/silt | 9970432b27db7b9ef3f23f56cdd0609183e9fd83 | [
"Apache-2.0"
] | null | null | null | fawnds/cindex/twolevel_absoff_bucketing.hpp | theopengroup/silt | 9970432b27db7b9ef3f23f56cdd0609183e9fd83 | [
"Apache-2.0"
] | 43 | 2015-01-02T03:12:34.000Z | 2021-12-17T09:19:28.000Z | #pragma once
#include "common.hpp"
#include <vector>
#include <boost/array.hpp>
namespace cindex
{
template<typename ValueType = uint16_t, typename UpperValueType = uint32_t>
class twolevel_absoff_bucketing
{
public:
typedef ValueType value_type;
typedef UpperValueType upper_value_type;
public:
twolevel_a... | 27.4375 | 115 | 0.769932 | [
"vector"
] |
a09a22521a67603d5d893b93a649a7a18ca35820 | 5,418 | cpp | C++ | logdevice/server/RecordCachePersistence.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | 1,831 | 2018-09-12T15:41:52.000Z | 2022-01-05T02:38:03.000Z | logdevice/server/RecordCachePersistence.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | 183 | 2018-09-12T16:14:59.000Z | 2021-12-07T15:49:43.000Z | logdevice/server/RecordCachePersistence.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | 228 | 2018-09-12T15:41:51.000Z | 2022-01-05T08:12:09.000Z | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/server/RecordCachePersistence.h"
#include "logdevice/common/Worker... | 37.109589 | 80 | 0.689553 | [
"vector"
] |
a0a09c9a50aa8e0e79b28a34db66950ec4e10c66 | 17,400 | cpp | C++ | toonz/sources/common/trop/traylit.cpp | wofogen/tahoma2d | ce5a89a7b1027b2c1769accb91184a2ee6442b4d | [
"BSD-3-Clause"
] | 3,710 | 2016-03-26T00:40:48.000Z | 2022-03-31T21:35:12.000Z | toonz/sources/common/trop/traylit.cpp | wofogen/tahoma2d | ce5a89a7b1027b2c1769accb91184a2ee6442b4d | [
"BSD-3-Clause"
] | 4,246 | 2016-03-26T01:21:45.000Z | 2022-03-31T23:10:47.000Z | toonz/sources/common/trop/traylit.cpp | wofogen/tahoma2d | ce5a89a7b1027b2c1769accb91184a2ee6442b4d | [
"BSD-3-Clause"
] | 633 | 2016-03-26T00:42:25.000Z | 2022-03-17T02:55:13.000Z |
#include "traster.h"
#include "tpixelutils.h"
#include "trop.h"
//***********************************************************************************************
// Local namespace stuff
//***********************************************************************************************
namespace {
template <type... | 36.325678 | 97 | 0.535402 | [
"geometry"
] |
a0a5e8099e3aad416c0bf12a0869b127349bfcf6 | 7,733 | cpp | C++ | servant/libservant/AuthLogic.cpp | SuckShit/TarsCpp | 3f42f4e7a7bf43026a782c5d4b033155c27ed0c4 | [
"BSD-3-Clause"
] | null | null | null | servant/libservant/AuthLogic.cpp | SuckShit/TarsCpp | 3f42f4e7a7bf43026a782c5d4b033155c27ed0c4 | [
"BSD-3-Clause"
] | null | null | null | servant/libservant/AuthLogic.cpp | SuckShit/TarsCpp | 3f42f4e7a7bf43026a782c5d4b033155c27ed0c4 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T09:59:06.000Z | 2021-05-21T09:59:06.000Z | ๏ปฟ/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
* in compliance with the License. You may obtain a ... | 28.640741 | 123 | 0.639597 | [
"vector"
] |
a0a70440a291bccff511a60ec89a6f11ef4a525e | 419 | cpp | C++ | examples/polar_plots/polarscatter/polarscatter_3.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | 2 | 2020-09-02T14:02:26.000Z | 2020-10-28T07:00:44.000Z | examples/polar_plots/polarscatter/polarscatter_3.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | null | null | null | examples/polar_plots/polarscatter/polarscatter_3.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | 2 | 2020-09-01T16:22:07.000Z | 2020-09-02T14:02:27.000Z | #include <cmath>
#include <matplot/matplot.h>
int main() {
using namespace matplot;
std::vector<double> theta = iota(pi/4, pi/4, 2*pi);
std::vector<double> rho = {19,6,12,18,16,11,15,15};
std::vector<double> sizes = {6*2,15*2,20*2,3*2,15*2,3*2,6*2,40*2,};
std::vector<double> colors = {1,2,2,2,1,1,... | 27.933333 | 71 | 0.596659 | [
"vector"
] |
a0a8a5710a017e6be50a0e8e482dc2d0c12bfcf6 | 1,529 | cpp | C++ | src/_leetcode/leet_26.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | src/_leetcode/leet_26.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | src/_leetcode/leet_26.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | /*
* ====================== leet_26.cpp ==========================
* -- tpr --
* CREATE -- 2020.04.14
* MODIFY --
* ----------------------------------------------------------
* 26. ๅ ้คๆๅบๆฐ็ปไธญ็้ๅค้กน
*/
#include "i... | 18.646341 | 64 | 0.359058 | [
"vector"
] |
a0a8c8945e7f77b31a43871edd41cf3d8b0d6b32 | 11,436 | cpp | C++ | plugins/ipmidirect/ipmi_mc_vendor_intel.cpp | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 5 | 2018-12-18T01:32:53.000Z | 2021-11-15T10:41:48.000Z | plugins/ipmidirect/ipmi_mc_vendor_intel.cpp | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 34 | 2018-05-11T21:31:33.000Z | 2021-01-12T07:13:46.000Z | plugins/ipmidirect/ipmi_mc_vendor_intel.cpp | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 8 | 2018-08-27T22:48:44.000Z | 2022-03-15T03:49:55.000Z | /*
* Intel specific code
*
* Copyright (c) 2004-2006 by Intel Corp.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This
* file and program are licensed under a BSD style ... | 29.859008 | 109 | 0.605981 | [
"object"
] |
a0aaca9f13a91d6f753cf69c52120a5b63addb77 | 675 | cpp | C++ | snippets/cpp/VS_Snippets_WebNet/ControlAdapter_Browser/CPP/controladapter_browser.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-03-12T19:26:36.000Z | 2022-01-10T21:45:33.000Z | snippets/cpp/VS_Snippets_WebNet/ControlAdapter_Browser/CPP/controladapter_browser.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_WebNet/ControlAdapter_Browser/CPP/controladapter_browser.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z | // <snippet1>
#using <System.Web.dll>
#using <System.dll>
using namespace System;
using namespace System::Web::UI;
using namespace System::Web::UI::Adapters;
public ref class CustomControlAdapter: public ControlAdapter
{
protected:
virtual void Render( HtmlTextWriter^ writer ) override
{
// Access Browser... | 21.774194 | 61 | 0.648889 | [
"render"
] |
a0ab1f63666ac32bd6801f7f7b58fcbd31ae39f5 | 5,612 | hpp | C++ | rank.hpp | herumi/opti | 65b84ef788faef5511e9943542804ea3508b7ac0 | [
"BSD-3-Clause"
] | 15 | 2015-02-24T12:37:56.000Z | 2021-03-23T11:49:57.000Z | rank.hpp | herumi/opti | 65b84ef788faef5511e9943542804ea3508b7ac0 | [
"BSD-3-Clause"
] | null | null | null | rank.hpp | herumi/opti | 65b84ef788faef5511e9943542804ea3508b7ac0 | [
"BSD-3-Clause"
] | 6 | 2015-02-15T16:26:46.000Z | 2020-11-18T12:54:42.000Z | #pragma once
#include <vector>
#include <assert.h>
#include <stddef.h>
#include "v128.h"
#define XBYAK_NO_OP_NAMES
#include <xbyak/xbyak.h>
namespace mie {
class BitVector {
size_t bitSize_;
std::vector<uint64_t> v_;
public:
BitVector()
: bitSize_(0)
{
}
void resize(size_t bitSize)
{
bitSize_ = bitSize;
... | 20.114695 | 119 | 0.583393 | [
"vector"
] |
a0abe0b70c039cb994a04fc6f20b4862c5cb780d | 23,953 | cpp | C++ | test/src/tc/ca/gtest/src/btc/CATest.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 301 | 2015-01-20T16:11:32.000Z | 2021-11-25T04:29:36.000Z | test/src/tc/ca/gtest/src/btc/CATest.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 13 | 2015-06-04T09:55:15.000Z | 2020-09-23T00:38:07.000Z | test/src/tc/ca/gtest/src/btc/CATest.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 233 | 2015-01-26T03:41:59.000Z | 2022-03-18T23:54:04.000Z | /******************************************************************
*
* Copyright 2016 Samsung Electronics 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://... | 33.268056 | 167 | 0.725963 | [
"object"
] |
a0aee7fabe4c2bb92ff760b43612bd688e1bb86a | 4,026 | hpp | C++ | hecl/include/hecl/Console.hpp | BoofOof32/metaforce | b4b0083aedb90cc5ad2b40ca06bd204235684b73 | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | hecl/include/hecl/Console.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | hecl/include/hecl/Console.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #pragma once
#include <functional>
#include <string>
#include <unordered_map>
#include <vector>
#include <boo/System.hpp>
#include <logvisor/logvisor.hpp>
namespace boo {
class IWindow;
enum class EModifierKey;
enum class ESpecialKey;
struct IGraphicsCommandQueue;
} // namespace boo
namespace hecl {
class CVarMan... | 35.946429 | 120 | 0.706408 | [
"vector"
] |
a0af0af278d1a3c65f649e791f59fd71d39ea58d | 9,374 | cpp | C++ | drishti/clipgrabber.cpp | shouhengli/drishti | 46558d12adcc1d365b7e2125d28190e3be2181c3 | [
"MIT"
] | null | null | null | drishti/clipgrabber.cpp | shouhengli/drishti | 46558d12adcc1d365b7e2125d28190e3be2181c3 | [
"MIT"
] | null | null | null | drishti/clipgrabber.cpp | shouhengli/drishti | 46558d12adcc1d365b7e2125d28190e3be2181c3 | [
"MIT"
] | null | null | null | #include "global.h"
#include "clipgrabber.h"
#include "staticfunctions.h"
#include "matrix.h"
ClipGrabber::ClipGrabber()
{
m_lastX = m_lastY = -1;
m_pressed = false;
m_pointPressed = -1;
}
ClipGrabber::~ClipGrabber() { removeFromMouseGrabberPool(); }
int ClipGrabber::pointPressed() { return m_pointPressed; }
... | 23.852417 | 78 | 0.594197 | [
"transform"
] |
a0b7a24f120358f276de191bf63b78a40b00e13a | 307 | cpp | C++ | noncopyable.cpp | ishansheth/ModernCpp-Exercises | c33d63ea9e6fe3115fbac51304a75292f32998cd | [
"MIT"
] | null | null | null | noncopyable.cpp | ishansheth/ModernCpp-Exercises | c33d63ea9e6fe3115fbac51304a75292f32998cd | [
"MIT"
] | null | null | null | noncopyable.cpp | ishansheth/ModernCpp-Exercises | c33d63ea9e6fe3115fbac51304a75292f32998cd | [
"MIT"
] | null | null | null | #include <iostream>
class Noncopy{
protected:
Noncopy(){}
private:
Noncopy(const Noncopy&);
Noncopy& operator=(const Noncopy&);
};
class File: public Noncopy{
public:
File(){
std::cout<<"Creating file object"<<std::endl;
}
};
int main(){
File f;
// not allowed
File f2(f);
}
| 9.59375 | 49 | 0.615635 | [
"object"
] |
a0b87237a167018a3774457bc664a38ae788fa7c | 1,262 | hpp | C++ | src/points/Bezier/BezierPath.hpp | KasumiL5x/hadan | 6d0a9f2243bfa1120988487343463f8163f0b149 | [
"MIT"
] | 1 | 2017-06-28T13:57:33.000Z | 2017-06-28T13:57:33.000Z | src/points/Bezier/BezierPath.hpp | KasumiL5x/hadan | 6d0a9f2243bfa1120988487343463f8163f0b149 | [
"MIT"
] | null | null | null | src/points/Bezier/BezierPath.hpp | KasumiL5x/hadan | 6d0a9f2243bfa1120988487343463f8163f0b149 | [
"MIT"
] | null | null | null | // http://devmag.org.za/2011/04/05/bzier-curves-a-tutorial/
#ifndef __bezier_path__
#define __bezier_path__
#include <vector>
#include <cc/Vec3.hpp>
class BezierPath {
public:
BezierPath();
~BezierPath();
void setControlPoints( const std::vector<cc::Vec3f>& newControlPoints );
const std::vector<cc::Vec3f> getCon... | 39.4375 | 134 | 0.752773 | [
"vector"
] |
a0bcc78295a0c55336c04e12eaad42d678049447 | 1,360 | cpp | C++ | foundation/cpp/3_dynamic_programming/1_time_and_space_complexity/8.cpp | vikaskbm/pepcoding | fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1 | [
"MIT"
] | 2 | 2021-03-16T08:56:46.000Z | 2021-03-17T05:37:21.000Z | foundation/cpp/3_dynamic_programming/1_time_and_space_complexity/8.cpp | vikaskbm/pepcoding | fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1 | [
"MIT"
] | null | null | null | foundation/cpp/3_dynamic_programming/1_time_and_space_complexity/8.cpp | vikaskbm/pepcoding | fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1 | [
"MIT"
] | null | null | null | // Quick Select
// 1. You are given an array(arr) of integers.
// 2. You have to find the k-th smallest element in the given array using the quick-select algorithm.
// n=5
// 7
// -2
// 4
// 1
// 3
// k=3
// pivot -> 3
// Swapping -2 and 7
// Swapping 1 and 7
// Swapping 3 and 4
// pivot index -> 2
// 3
#inclu... | 18.888889 | 101 | 0.478676 | [
"vector"
] |
a0c0e576491cb119e61c92e92e7b67f4007bd2eb | 5,020 | cpp | C++ | FSMEngineProject/FSMAudioTest.cpp | millerf1234/FSMRenderEngine | 44291023c2df01d04c9fc05bb45240e9145b4b37 | [
"MIT"
] | null | null | null | FSMEngineProject/FSMAudioTest.cpp | millerf1234/FSMRenderEngine | 44291023c2df01d04c9fc05bb45240e9145b4b37 | [
"MIT"
] | null | null | null | FSMEngineProject/FSMAudioTest.cpp | millerf1234/FSMRenderEngine | 44291023c2df01d04c9fc05bb45240e9145b4b37 | [
"MIT"
] | null | null | null |
#include "FSMAudioTest.h"
#if 0
#include <vector>
namespace FSMEngineInternal {
namespace FSMAudio {
static constexpr const size_t ENUMERATED_AUDIO_DEVICE_NAME_LENGTH_LIMIT = 2048u;
typedef struct EnumeratedAudioDevice {
ALchar nameBuffer[ENUMERATED_AUDIO_DEVICE... | 34.62069 | 104 | 0.578088 | [
"vector"
] |
a0c66aa0b26a93f9cd18d4ab066cc8d0d2bd5322 | 6,479 | cc | C++ | chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 7 | 2015-05-20T22:41:35.000Z | 2021-11-18T19:07:59.000Z | chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 1 | 2015-02-02T06:55:08.000Z | 2016-01-20T06:11:59.000Z | chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 2 | 2015-12-08T00:37:41.000Z | 2017-04-06T05:34:05.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.
#include "chrome/browser/media_gallery/media_device_notifications_window_win.h"
#include <dbt.h>
#include <string>
#include <vector>
#include "base... | 31.299517 | 79 | 0.729434 | [
"vector"
] |
a0c7948e99ad4f0082151f405865057c3bc70a79 | 1,961 | cpp | C++ | Math/matrix.cpp | rsk0315/codefolio | 1de990978489f466e1fd47884d4a19de9cc30e02 | [
"MIT"
] | 1 | 2020-03-20T13:24:30.000Z | 2020-03-20T13:24:30.000Z | Math/matrix.cpp | rsk0315/codefolio | 1de990978489f466e1fd47884d4a19de9cc30e02 | [
"MIT"
] | null | null | null | Math/matrix.cpp | rsk0315/codefolio | 1de990978489f466e1fd47884d4a19de9cc30e02 | [
"MIT"
] | null | null | null | template <typename Tp>
class matrix {
public:
using value_type = Tp;
private:
class M_container: private std::vector<Tp> {
friend matrix<Tp>;
public:
M_container() = default;
M_container(size_t n, Tp const& x = Tp{}): std::vector<Tp>(n, x) {}
M_container(const std::initializer_list<Tp>& init): st... | 28.42029 | 85 | 0.585416 | [
"vector"
] |
a0d00c0cdeebca28e9dd264e29d5106b0b31c05d | 60,072 | cpp | C++ | casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/mx_function.cpp | pymBRT/TROPIC | 77ec31d34dbd8d038674e966d13915f8032cf4ab | [
"BSD-3-Clause"
] | 29 | 2020-05-11T16:59:10.000Z | 2022-02-24T11:30:16.000Z | casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/mx_function.cpp | pymBRT/TROPIC | 77ec31d34dbd8d038674e966d13915f8032cf4ab | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:20:55.000Z | 2021-02-28T20:47:02.000Z | casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/mx_function.cpp | pymBRT/TROPIC | 77ec31d34dbd8d038674e966d13915f8032cf4ab | [
"BSD-3-Clause"
] | 10 | 2020-06-22T22:41:32.000Z | 2021-12-15T12:26:13.000Z | /*
* This file is part of CasADi.
*
* CasADi -- A symbolic framework for dynamic optimization.
* Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl,
* K.U. Leuven. All rights reserved.
* Copyright (C) 2011-2014 Greg Horn
*
* CasADi is free software; you ... | 34.70364 | 100 | 0.507275 | [
"vector"
] |
a0d1b5ae67a0789d9fe0d14e5db7b1e9cfb063fa | 24,933 | cpp | C++ | src/tiddlerstore_qt/tiddlerstore_handler_qt.cpp | edersasch/cpp_experiments | adf57eed97e9095de673489a5cff9b56263cef29 | [
"MIT"
] | null | null | null | src/tiddlerstore_qt/tiddlerstore_handler_qt.cpp | edersasch/cpp_experiments | adf57eed97e9095de673489a5cff9b56263cef29 | [
"MIT"
] | null | null | null | src/tiddlerstore_qt/tiddlerstore_handler_qt.cpp | edersasch/cpp_experiments | adf57eed97e9095de673489a5cff9b56263cef29 | [
"MIT"
] | null | null | null | #include "tiddlerstore_handler_qt.h"
#include "tiddlerstore/tiddlerstore.h"
#include <QMenu>
#include <QLineEdit>
#include <QStyle>
#include <QToolButton>
#include <QListView>
#include <QStandardPaths>
#include <QFileDialog>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QFormLayout>
#include <QGroupBox>
#inc... | 40.410049 | 182 | 0.670838 | [
"model"
] |
a0d2da391fcd03c53b6072f8626c87f37c1c8cc4 | 6,072 | cpp | C++ | tests/unittests/testctiglcurvestosurface.cpp | cfsengineering/tigl | abfbb57b82dc6beac7cde212a4cd5e0aed866db8 | [
"Apache-2.0"
] | 171 | 2015-04-13T11:24:34.000Z | 2022-03-26T00:56:38.000Z | tests/unittests/testctiglcurvestosurface.cpp | cfsengineering/tigl | abfbb57b82dc6beac7cde212a4cd5e0aed866db8 | [
"Apache-2.0"
] | 620 | 2015-01-20T08:34:36.000Z | 2022-03-30T11:05:33.000Z | tests/unittests/testctiglcurvestosurface.cpp | cfsengineering/tigl | abfbb57b82dc6beac7cde212a4cd5e0aed866db8 | [
"Apache-2.0"
] | 56 | 2015-02-09T13:33:56.000Z | 2022-03-19T04:52:51.000Z | #include "test.h"
#include "CTiglCurvesToSurface.h"
#include <TColgp_Array1OfPnt.hxx>
#include <TColStd_Array1OfReal.hxx>
#include <TColStd_Array1OfInteger.hxx>
#include <Geom_BSplineCurve.hxx>
#include <Geom_BSplineSurface.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Edge.hxx>
#include <BRep_Builder.hxx>
#include <BR... | 35.302326 | 220 | 0.662879 | [
"vector"
] |
a0d5e6e488c7ad29687cd4d563fc5aeb1d98d0d9 | 887 | hpp | C++ | expert/abstract_expert.hpp | BowenforGit/Grasper | 268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7 | [
"Apache-2.0"
] | 29 | 2019-11-18T14:25:05.000Z | 2022-02-10T07:21:48.000Z | expert/abstract_expert.hpp | BowenforGit/Grasper | 268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7 | [
"Apache-2.0"
] | 2 | 2021-03-17T03:17:38.000Z | 2021-04-11T04:06:23.000Z | expert/abstract_expert.hpp | BowenforGit/Grasper | 268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7 | [
"Apache-2.0"
] | 6 | 2019-11-21T18:04:15.000Z | 2022-03-01T02:48:50.000Z | /* Copyright 2019 Husky Data Lab, CUHK
Authors: Hongzhi Chen (hzchen@cse.cuhk.edu.hk)
*/
#ifndef ABSTRACT_EXPERT_HPP_
#define ABSTRACT_EXPERT_HPP_
#include <string>
#include <vector>
#include <thread>
#include <chrono>
#include "base/core_affinity.hpp"
#include "core/message.hpp"
#include "storage/data_store.hpp"
... | 20.627907 | 145 | 0.722661 | [
"vector"
] |
a0d846c96f214f3762cd4472f8eb44520c48b77a | 1,349 | hpp | C++ | include/VROSC/IEnablable.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/VROSC/IEnablable.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/VROSC/IEnablable.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/byref.hpp"
// Completed includes
// Type namespace: VROSC
namespace VROSC {
// Forward declaring type: IEnablable... | 34.589744 | 147 | 0.692365 | [
"vector"
] |
a0d9dc33a824761c962800ba20d5e4b5e0a5c677 | 2,559 | cpp | C++ | scripts/training/MGIZA/src/Dictionary.cpp | noisychannel/joshua | cabf0a30b717ade61a3b8e2d2d65b0cb61f7cf36 | [
"BSD-2-Clause"
] | null | null | null | scripts/training/MGIZA/src/Dictionary.cpp | noisychannel/joshua | cabf0a30b717ade61a3b8e2d2d65b0cb61f7cf36 | [
"BSD-2-Clause"
] | null | null | null | scripts/training/MGIZA/src/Dictionary.cpp | noisychannel/joshua | cabf0a30b717ade61a3b8e2d2d65b0cb61f7cf36 | [
"BSD-2-Clause"
] | null | null | null | /*
EGYPT Toolkit for Statistical Machine Translation
Written by Yaser Al-Onaizan, Jan Curin, Michael Jahr, Kevin Knight, John Lafferty, Dan Melamed, David Purdy, Franz Och, Noah Smith, and David Yarowsky.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public... | 27.223404 | 151 | 0.633451 | [
"object",
"model"
] |
a0dcde9486518adf36d8e8adf3c4a2d96d078b81 | 2,433 | cc | C++ | cinn/frontend/decomposer/conv2d_grad.cc | winter-wang/CINN | 55cbed5a051bf3d0695de775dbe7492d4926f9be | [
"Apache-2.0"
] | null | null | null | cinn/frontend/decomposer/conv2d_grad.cc | winter-wang/CINN | 55cbed5a051bf3d0695de775dbe7492d4926f9be | [
"Apache-2.0"
] | null | null | null | cinn/frontend/decomposer/conv2d_grad.cc | winter-wang/CINN | 55cbed5a051bf3d0695de775dbe7492d4926f9be | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021 CINN Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 38.619048 | 81 | 0.59926 | [
"shape",
"vector"
] |
a0ed19d2bb4d0fca8536eef22e548037a941cffd | 14,424 | cc | C++ | caffe2/utils/math_test.cc | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 60,067 | 2017-01-18T17:21:31.000Z | 2022-03-31T21:37:45.000Z | caffe2/utils/math_test.cc | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 66,955 | 2017-01-18T17:21:38.000Z | 2022-03-31T23:56:11.000Z | caffe2/utils/math_test.cc | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 19,210 | 2017-01-18T17:45:04.000Z | 2022-03-31T23:51:56.000Z | #include <array>
#include <memory>
#include <vector>
#include <gtest/gtest.h>
#include "caffe2/core/blob.h"
#include "caffe2/core/context.h"
#include "caffe2/core/tensor.h"
#include "caffe2/proto/caffe2_pb.h"
#include "caffe2/utils/conversions.h"
#include "caffe2/utils/math.h"
#include <c10/util/irange.h>
namespace... | 27.422053 | 78 | 0.596436 | [
"vector"
] |
a0f0e2aa688301020e58f201550fe765bd80cff5 | 8,118 | cpp | C++ | tools/intel_multisample.cpp | AIS-Bonn/stillleben | f3673d1ef48c50debe52cf9c634ae000556259c8 | [
"MIT"
] | 46 | 2020-05-16T08:21:05.000Z | 2022-02-14T03:02:42.000Z | tools/intel_multisample.cpp | AIS-Bonn/stillleben | f3673d1ef48c50debe52cf9c634ae000556259c8 | [
"MIT"
] | 4 | 2020-06-26T07:40:30.000Z | 2020-10-23T08:43:13.000Z | tools/intel_multisample.cpp | AIS-Bonn/stillleben | f3673d1ef48c50debe52cf9c634ae000556259c8 | [
"MIT"
] | 2 | 2021-02-19T03:10:34.000Z | 2022-02-17T10:42:53.000Z | // This is a two-stage test: First, we render to a multisample texture
// of the specified format. The contents are then read in a second shader run
// using texelFetch() and written into an GL_R8UI texture.
// Compilation:
// g++ -std=c++11 -o intel_multisample intel_multisample.cpp -lglfw -lGL -lGLEW
#include <GL/g... | 27.333333 | 109 | 0.623553 | [
"render",
"vector"
] |
a0f110b24ebcf99b5d8272ff31f1658710de75b8 | 2,483 | cxx | C++ | Filters/ParallelFlowPaths/vtkPStreaklineFilter.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | 3 | 2015-07-28T18:07:50.000Z | 2018-02-28T20:59:58.000Z | Filters/ParallelFlowPaths/vtkPStreaklineFilter.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | 14 | 2015-04-25T17:54:13.000Z | 2017-01-13T15:30:39.000Z | Filters/ParallelFlowPaths/vtkPStreaklineFilter.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | 4 | 2016-09-08T02:11:00.000Z | 2019-08-15T02:38:39.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPStreaklineFilter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distrib... | 27.285714 | 84 | 0.674184 | [
"vector"
] |
9d0ba690198ba84e2be351f9a7db142a29ee4185 | 1,071 | cpp | C++ | src/main/algorithms/cpp/array/find_the_duplicate_number_287/solution.cpp | algorithmlover2016/leet_code | 2eecc7971194c8a755e67719d8f66c636694e7e9 | [
"Apache-2.0"
] | null | null | null | src/main/algorithms/cpp/array/find_the_duplicate_number_287/solution.cpp | algorithmlover2016/leet_code | 2eecc7971194c8a755e67719d8f66c636694e7e9 | [
"Apache-2.0"
] | null | null | null | src/main/algorithms/cpp/array/find_the_duplicate_number_287/solution.cpp | algorithmlover2016/leet_code | 2eecc7971194c8a755e67719d8f66c636694e7e9 | [
"Apache-2.0"
] | null | null | null | #include "../../head.h"
// the solution, n + 1 elements, and except the duplicate one, the other(1-n) must exist
class Solution {
public:
int findDuplicate(std::vector<int> const & nums) {
if (nums.empty()) {
return -1;
}
int res = 0;
for (int index = 1; index < nums.si... | 25.5 | 88 | 0.451914 | [
"vector"
] |
9d0e312254d5c00939154826b5265d1ad0574780 | 1,193 | cpp | C++ | rules/constrictor_ruleset.cpp | TheApX/battlesnake-engine-cpp | 05053f06ecc631f037417bd0d897b28f48dfe07d | [
"MIT"
] | 3 | 2021-07-05T22:42:26.000Z | 2021-07-29T12:14:43.000Z | rules/constrictor_ruleset.cpp | TheApX/battlesnake-engine-cpp | 05053f06ecc631f037417bd0d897b28f48dfe07d | [
"MIT"
] | 2 | 2021-07-12T00:11:57.000Z | 2021-09-04T19:11:38.000Z | rules/constrictor_ruleset.cpp | TheApX/battlesnake-engine-cpp | 05053f06ecc631f037417bd0d897b28f48dfe07d | [
"MIT"
] | null | null | null | #include "battlesnake/rules/constrictor_ruleset.h"
namespace battlesnake {
namespace rules {
BoardState ConstrictorRuleset::CreateInitialBoardState(
Coordinate width, Coordinate height, std::vector<SnakeId> snake_ids) {
BoardState next_state =
StandardRuleset::CreateInitialBoardState(width, height, snake_... | 27.113636 | 77 | 0.65549 | [
"vector"
] |
9d0e3a3494e87f0f6f2554c7c160cfe91f159a27 | 2,996 | hpp | C++ | wbc/ahl_robot_controller/include/ahl_robot_controller/robot_controller.hpp | daichi-yoshikawa/ahl_wbc | ea241562e521c7509d3b0405393996998f7cdc6e | [
"BSD-3-Clause"
] | 33 | 2015-12-16T15:32:22.000Z | 2022-03-21T05:09:40.000Z | wbc/ahl_robot_controller/include/ahl_robot_controller/robot_controller.hpp | daichi-yoshikawa/ahl_wbc | ea241562e521c7509d3b0405393996998f7cdc6e | [
"BSD-3-Clause"
] | 3 | 2016-06-08T09:53:44.000Z | 2020-10-26T11:27:23.000Z | wbc/ahl_robot_controller/include/ahl_robot_controller/robot_controller.hpp | daichi-yoshikawa/ahl_wbc | ea241562e521c7509d3b0405393996998f7cdc6e | [
"BSD-3-Clause"
] | 10 | 2016-01-27T10:30:01.000Z | 2022-03-21T05:08:27.000Z | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, Daichi Yoshikawa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | 37.924051 | 127 | 0.716956 | [
"vector"
] |
9d116425c9fa1cdff1dbf265396827c0f918c5d4 | 4,362 | cpp | C++ | Scheduler.cpp | FlySkyPie/arduino-software-pwm | 1822a1b01c4edaf45a3ddbe96b4e53c2e2f6fbc3 | [
"MIT"
] | null | null | null | Scheduler.cpp | FlySkyPie/arduino-software-pwm | 1822a1b01c4edaf45a3ddbe96b4e53c2e2f6fbc3 | [
"MIT"
] | null | null | null | Scheduler.cpp | FlySkyPie/arduino-software-pwm | 1822a1b01c4edaf45a3ddbe96b4e53c2e2f6fbc3 | [
"MIT"
] | null | null | null | /*
* This class is used for software PWM.
*/
#include "Scheduler.h"
Scheduler::Scheduler(uint8_t size) {
this->initialize(size);
}
Scheduler::~Scheduler() {
delete [] this->exception;
delete [] this->power;
delete [] this->pinSchedule;
delete [] this->powerSchedule;
}
/*
* Set new mission.
*/
void Sch... | 20.478873 | 78 | 0.605456 | [
"object"
] |
1dd92f13669ae86a959cb2694a65828f41e2d8eb | 7,310 | cpp | C++ | src/GafferSceneUI/CameraVisualiser.cpp | danieldresser-ie/gaffer | 78c22487156a5800fcca49a24f52451a8ac0c559 | [
"BSD-3-Clause"
] | 1 | 2016-07-31T09:55:09.000Z | 2016-07-31T09:55:09.000Z | src/GafferSceneUI/CameraVisualiser.cpp | Kthulhu/gaffer | 8995d579d07231988abc92c3ac2788c15c8bc75c | [
"BSD-3-Clause"
] | null | null | null | src/GafferSceneUI/CameraVisualiser.cpp | Kthulhu/gaffer | 8995d579d07231988abc92c3ac2788c15c8bc75c | [
"BSD-3-Clause"
] | 1 | 2020-02-15T16:15:54.000Z | 2020-02-15T16:15:54.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributio... | 38.072917 | 130 | 0.663748 | [
"object",
"vector"
] |
1ddd0ca870d9558d3e5e9ad9748904f71f8d7ff4 | 10,249 | cpp | C++ | src/qt/qtbase/tests/auto/other/macgui/guitest.cpp | zwollerob/PhantomJS_AMR6VL | 71c126e98a8c32950158d04d0bd75823cd008b99 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/tests/auto/other/macgui/guitest.cpp | zwollerob/PhantomJS_AMR6VL | 71c126e98a8c32950158d04d0bd75823cd008b99 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/tests/auto/other/macgui/guitest.cpp | zwollerob/PhantomJS_AMR6VL | 71c126e98a8c32950158d04d0bd75823cd008b99 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercia... | 31.246951 | 123 | 0.625524 | [
"object"
] |
1dde435d0b29db386e90bc83a150cd911117dffc | 27,394 | cc | C++ | server/engine/test/rocksdb_test.cc | ibyte2011/LaserDB | 326fa477c4cbee36f46706ecb3b4a48d3bdab057 | [
"Apache-2.0"
] | null | null | null | server/engine/test/rocksdb_test.cc | ibyte2011/LaserDB | 326fa477c4cbee36f46706ecb3b4a48d3bdab057 | [
"Apache-2.0"
] | null | null | null | server/engine/test/rocksdb_test.cc | ibyte2011/LaserDB | 326fa477c4cbee36f46706ecb3b4a48d3bdab057 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020-present, Weibo, Inc. 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 requi... | 31.200456 | 101 | 0.670439 | [
"vector"
] |
1de079882feaba92aecb2d96aa22fb93ba90a4fa | 4,445 | cpp | C++ | Chapter_4_Graph/SSSP/kattis_fire2.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | 2 | 2021-12-29T04:12:59.000Z | 2022-03-30T09:32:19.000Z | Chapter_4_Graph/SSSP/kattis_fire2.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | null | null | null | Chapter_4_Graph/SSSP/kattis_fire2.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | 1 | 2022-03-01T06:12:46.000Z | 2022-03-01T06:12:46.000Z | /* kattis - fire2
This a non-standard floodfill / BFS question.
Observation 1:
We can model the situation as a simulation where fire and the "person's possible
position" are both spreading. Fire can spread into the person's position but not the
other way around. Both fire and person's position cannot sprea... | 37.669492 | 107 | 0.538133 | [
"vector",
"model"
] |
1de9597f7a60d3e0a1f05ad9ac3e866ae1822734 | 3,051 | cc | C++ | src/graph/op/kernel/where_op.cc | ishine/deepx_core | a71fa4b5fec5cf5d83da04cbb9ee437d0c8b6e05 | [
"BSD-2-Clause"
] | 309 | 2021-03-24T03:00:19.000Z | 2022-03-31T16:17:46.000Z | src/graph/op/kernel/where_op.cc | kiminh/deepx_core | 928d248ef26c9a5b48e34ff6a66761f94cd4be72 | [
"BSD-2-Clause"
] | 4 | 2021-03-30T01:46:32.000Z | 2021-04-06T12:22:18.000Z | src/graph/op/kernel/where_op.cc | kiminh/deepx_core | 928d248ef26c9a5b48e34ff6a66761f94cd4be72 | [
"BSD-2-Clause"
] | 45 | 2021-03-29T06:12:17.000Z | 2022-03-04T05:19:46.000Z | // Copyright 2019 the deepx authors.
// Author: Yafei Zhang (kimmyzhang@tencent.com)
//
#include <deepx_core/graph/op_impl.h>
namespace deepx_core {
namespace {
bool WhereInferShape(const Shape& C, const Shape& X, const Shape& Y,
Shape* Z) noexcept {
if (C != X) {
DXERROR("Invalid C and X:... | 25.425 | 80 | 0.58571 | [
"shape"
] |
1deb3cbf89444666a7f3a8b63a61ea783f9406f3 | 5,164 | cpp | C++ | src/utils.cpp | cisco-open-source/oic | a6795f31fc639b181a10a5da753ecb97c011ca3d | [
"Apache-2.0"
] | 1 | 2017-05-06T14:26:37.000Z | 2017-05-06T14:26:37.000Z | src/utils.cpp | cisco-open-source/oic | a6795f31fc639b181a10a5da753ecb97c011ca3d | [
"Apache-2.0"
] | null | null | null | src/utils.cpp | cisco-open-source/oic | a6795f31fc639b181a10a5da753ecb97c011ca3d | [
"Apache-2.0"
] | 2 | 2018-03-10T02:43:19.000Z | 2020-10-02T18:50:20.000Z | #include "utils.h"
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
std::string getUserHome()
{
char *p = getenv("HOME");
std::string ret;
if (p == NULL)
ret = "";
else
ret = std::string(p);
return ret;
}
bool file_exist(const char *filename) {
... | 32.275 | 156 | 0.572812 | [
"vector"
] |
1df2fb808a434bcf0481d4984a16332e5cc4bdd7 | 489 | cpp | C++ | CondFormats/Luminosity/test/testSerializationLuminosity.cpp | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CondFormats/Luminosity/test/testSerializationLuminosity.cpp | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CondFormats/Luminosity/test/testSerializationLuminosity.cpp | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "CondFormats/Serialization/interface/Test.h"
#include "CondFormats/Luminosity/src/headers.h"
int main()
{
testSerialization<lumi::BunchCrossingInfo>();
testSerialization<lumi::HLTInfo>();
testSerialization<lumi::LumiSectionData>();
testSerialization<lumi::TriggerInfo>();
testSerialization... | 28.764706 | 62 | 0.730061 | [
"vector"
] |
38071d83a1452b9eb89bd0fbc6435d892f23c49e | 23,112 | cpp | C++ | admin/src/manage-entries.cpp | protein-bioinformatics/STAMPS | af5a4943d67ae3ce1cee51ab0d23f98d6269dd81 | [
"MIT"
] | 1 | 2022-03-24T15:26:58.000Z | 2022-03-24T15:26:58.000Z | admin/src/manage-entries.cpp | protein-bioinformatics/STAMPS | af5a4943d67ae3ce1cee51ab0d23f98d6269dd81 | [
"MIT"
] | null | null | null | admin/src/manage-entries.cpp | protein-bioinformatics/STAMPS | af5a4943d67ae3ce1cee51ab0d23f98d6269dd81 | [
"MIT"
] | null | null | null | #include "bio-classes.h"
char data_sepatator = '~';
void print_out(string response, bool compress){
replaceAll(response, "\n", "");
replaceAll(response, "\t", "");
if (compress){
cout << compress_string(response);
}
else {
cout << response;
}
}
static int sqlite_sele... | 43.443609 | 495 | 0.529552 | [
"vector"
] |
3815ca5af4794e2c5efd1d6a9f7b413903dfd479 | 11,142 | hpp | C++ | __drivers/gv_renderer_bgfx/gv_bgfx_app.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | 2 | 2018-12-03T13:17:31.000Z | 2020-04-08T07:00:02.000Z | __drivers/gv_renderer_bgfx/gv_bgfx_app.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null | __drivers/gv_renderer_bgfx/gv_bgfx_app.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null |
//#include <bx/uint32_t.h>
//this is a fork from bgfx sample ;
#define BGFX_MAX_GPU_SKIN_BONE_NUMBER 64
namespace bgfx_debug_cube
{
struct PosColorVertex
{
float m_x;
float m_y;
float m_z;
uint32_t m_abgr;
static void init()
{
ms_decl
.begin()
.add(bgfx::Attrib::Position, 3, bgfx::AttribType... | 24.926174 | 148 | 0.678244 | [
"mesh",
"render",
"model",
"transform"
] |
381aec5007763d3f86ae4a8d8ec345c700517214 | 4,966 | hpp | C++ | libs/mockturtle/io/pla_reader.hpp | wjyoumans/staq | d5227bd4651ce64ba277aab5061e3a132be853bb | [
"MIT"
] | 96 | 2019-12-11T10:18:10.000Z | 2022-03-27T20:16:33.000Z | libs/mockturtle/io/pla_reader.hpp | wjyoumans/staq | d5227bd4651ce64ba277aab5061e3a132be853bb | [
"MIT"
] | 43 | 2020-01-08T00:59:07.000Z | 2022-03-28T21:35:59.000Z | libs/mockturtle/io/pla_reader.hpp | wjyoumans/staq | d5227bd4651ce64ba277aab5061e3a132be853bb | [
"MIT"
] | 21 | 2019-12-15T01:40:48.000Z | 2021-12-31T05:27:34.000Z | /* mockturtle: C++ logic network library
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights... | 32.671053 | 78 | 0.586186 | [
"vector"
] |
3823c0b75836838d64bdc89743c48b0a0c92dfa5 | 2,483 | cpp | C++ | code/components/citizen-scripting-core/src/NativeResourceLogging.cpp | thorium-cfx/fivem | 587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c | [
"MIT"
] | 5,411 | 2017-04-14T08:57:56.000Z | 2022-03-30T19:35:15.000Z | code/components/citizen-scripting-core/src/NativeResourceLogging.cpp | thorium-cfx/fivem | 587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c | [
"MIT"
] | 802 | 2017-04-21T14:18:36.000Z | 2022-03-31T21:20:48.000Z | code/components/citizen-scripting-core/src/NativeResourceLogging.cpp | thorium-cfx/fivem | 587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c | [
"MIT"
] | 2,011 | 2017-04-14T09:44:15.000Z | 2022-03-31T15:40:39.000Z | #include <StdInc.h>
#if __has_include("NativeHandlerLogging.h") && defined(ENABLE_NATIVE_HANDLER_LOGGING)
#include <HttpClient.h>
#include <NativeHandlerLogging.h>
#include <Resource.h>
#include <ResourceManager.h>
#include <unordered_map>
#include <unordered_set>
#include <json.hpp>
static std::unordered_map<std:... | 20.691667 | 179 | 0.678212 | [
"object",
"vector"
] |
3824dcb3e02e44a7b16b585984fa9818cd7ebdae | 20,407 | hpp | C++ | src/fields/tuple_fwd.hpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | null | null | null | src/fields/tuple_fwd.hpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | 2 | 2022-02-18T22:43:06.000Z | 2022-02-18T22:43:19.000Z | src/fields/tuple_fwd.hpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "types.hpp"
#include <range/v3/range/concepts.hpp>
#include <range/v3/view/common.hpp>
#include <range/v3/view/view.hpp>
#include <boost/mp11.hpp>
#include <boost/type_traits/copy_cv_ref.hpp>
namespace ccs //::field::tuple
{
using std::get;
using namespace boost::mp11;
// Concept for being a... | 28.22545 | 90 | 0.705444 | [
"shape",
"transform"
] |
382d9bd9b2f66fa5949d105f5c60c2968efa4717 | 682 | cpp | C++ | 001_two_sum.cpp | koallen/leetcode-cpp | a2b6dbb9d543f1402773ff259224a1d4e316ce01 | [
"MIT"
] | null | null | null | 001_two_sum.cpp | koallen/leetcode-cpp | a2b6dbb9d543f1402773ff259224a1d4e316ce01 | [
"MIT"
] | null | null | null | 001_two_sum.cpp | koallen/leetcode-cpp | a2b6dbb9d543f1402773ff259224a1d4e316ce01 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> twoSum(vector<int>& nums, int target) {
vector<int> returnVal(2, 0);
unordered_map<int, int> numToIndex(nums.size());
for (int i = 0; i < nums.size(); ++i) {
numToIndex[nums[i]] = i;
}
int numNeeded;
f... | 28.416667 | 60 | 0.456012 | [
"vector"
] |
3832bb6cc66e2521aea61960e9b25907abd00105 | 21,409 | cpp | C++ | 10-algorithmic-analysis/readerEx.10.04/main.cpp | heavy3/programming-abstractions | e10eab5fe7d9ca7d7d4cc96551524707214e43a8 | [
"MIT"
] | 81 | 2018-11-15T21:23:19.000Z | 2022-03-06T09:46:36.000Z | 10-algorithmic-analysis/readerEx.10.04/main.cpp | heavy3/programming-abstractions | e10eab5fe7d9ca7d7d4cc96551524707214e43a8 | [
"MIT"
] | null | null | null | 10-algorithmic-analysis/readerEx.10.04/main.cpp | heavy3/programming-abstractions | e10eab5fe7d9ca7d7d4cc96551524707214e43a8 | [
"MIT"
] | 41 | 2018-11-15T21:23:24.000Z | 2022-02-24T03:02:26.000Z | //
// main.cpp
//
// This program implements an O(N) algorithm for sorting an integer array
// where all the values fall within the range 0 to 9999.
//
// Suppose you know that all the values in an integer array fall into the
// range 0 to 9999. Show that it is possible to write a O(N) algorithm to sort
// arrays with ... | 34.036566 | 95 | 0.599608 | [
"vector"
] |
3833e728aef3f7058715c909c352e99f62aa976a | 10,745 | hh | C++ | gazebo/physics/Population.hh | hyunoklee/Gazebo | 619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497 | [
"ECL-2.0",
"Apache-2.0"
] | 45 | 2015-07-17T10:14:22.000Z | 2022-03-30T19:25:36.000Z | gazebo/physics/Population.hh | hyunoklee/Gazebo | 619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-04-15T07:14:26.000Z | 2021-04-15T07:14:26.000Z | gazebo/physics/Population.hh | hyunoklee/Gazebo | 619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497 | [
"ECL-2.0",
"Apache-2.0"
] | 64 | 2015-04-18T07:10:14.000Z | 2022-02-21T13:15:41.000Z | /*
* Copyright (C) 2014 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 43.502024 | 80 | 0.668683 | [
"object",
"shape",
"vector",
"model"
] |
383869be586762977926680f8801d3e28c1f07f7 | 7,033 | cc | C++ | src/theia/image/image_canvas.cc | nuernber/Theia | 4bac771b09458a46c44619afa89498a13cd39999 | [
"BSD-3-Clause"
] | 1 | 2021-02-02T13:30:52.000Z | 2021-02-02T13:30:52.000Z | src/theia/image/image_canvas.cc | nuernber/Theia | 4bac771b09458a46c44619afa89498a13cd39999 | [
"BSD-3-Clause"
] | null | null | null | src/theia/image/image_canvas.cc | nuernber/Theia | 4bac771b09458a46c44619afa89498a13cd39999 | [
"BSD-3-Clause"
] | 1 | 2020-09-28T08:43:13.000Z | 2020-09-28T08:43:13.000Z | // Copyright (C) 2013 The Regents of the University of California (Regents).
// 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... | 40.653179 | 79 | 0.66842 | [
"vector"
] |
383b08124c768f72bc8ccf760180c1e337de5941 | 14,333 | cpp | C++ | build/moc/moc_ESP8266ComponentController.cpp | UNIST-ESCL/UNIST_GCS | f61f0c12bbb028869e4494f507ea8ab52c8c79c2 | [
"Apache-2.0"
] | 1 | 2018-11-07T06:10:53.000Z | 2018-11-07T06:10:53.000Z | build/moc/moc_ESP8266ComponentController.cpp | UNIST-ESCL/UNIST_GCS | f61f0c12bbb028869e4494f507ea8ab52c8c79c2 | [
"Apache-2.0"
] | null | null | null | build/moc/moc_ESP8266ComponentController.cpp | UNIST-ESCL/UNIST_GCS | f61f0c12bbb028869e4494f507ea8ab52c8c79c2 | [
"Apache-2.0"
] | 1 | 2018-11-07T06:10:47.000Z | 2018-11-07T06:10:47.000Z | /****************************************************************************
** Meta object code from reading C++ file 'ESP8266ComponentController.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.3)
**
** WARNING! All changes made in this file will be lost!
******************************************... | 37.228571 | 227 | 0.620526 | [
"object"
] |
383b36ee61b8a3eba31b19984183b724d190ee81 | 22,295 | cpp | C++ | src/mickey/mickey.cpp | jung1981/linux-track | 92db912deb9dafe40aa30b00223ed065c9e334aa | [
"MIT"
] | null | null | null | src/mickey/mickey.cpp | jung1981/linux-track | 92db912deb9dafe40aa30b00223ed065c9e334aa | [
"MIT"
] | 1 | 2019-09-03T23:51:31.000Z | 2019-09-03T23:51:31.000Z | src/mickey/mickey.cpp | jung1981/linux-track | 92db912deb9dafe40aa30b00223ed065c9e334aa | [
"MIT"
] | null | null | null | #define NEWS_SERIAL 1
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include <QMessageBox>
#include <QTimer>
#include <QMutex>
#include <QMessageBox>
#include <QApplication>
#include <QDesktopWidget>
#include <QCursor>
#include "mickey.h"
#include "mouse.h"
#include "linuxtrack.h"
#include "piper.h"
#includ... | 26.19859 | 116 | 0.653151 | [
"transform"
] |
383bc2f12317c7038e05545d0617d886d075dd08 | 2,047 | cpp | C++ | Samples/Printing/cpp/Scenario1Basic.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,504 | 2019-05-07T06:56:42.000Z | 2022-03-31T19:37:59.000Z | Samples/Printing/cpp/Scenario1Basic.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 314 | 2019-05-08T16:56:30.000Z | 2022-03-21T07:13:45.000Z | Samples/Printing/cpp/Scenario1Basic.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,219 | 2019-05-07T00:47:26.000Z | 2022-03-30T21:12:31.000Z | // Copyright (c) Microsoft. All rights reserved.
#include "pch.h"
#include "Scenario1Basic.xaml.h"
#include "PageToPrint.xaml.h"
using namespace SDKTemplate;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::Graphics::... | 31.492308 | 146 | 0.705911 | [
"object"
] |
383d80b042de66247e6a02a4132ebdcf2c1348f3 | 33,115 | hpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_macsec_mka_oper.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_macsec_mka_oper.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_macsec_mka_oper.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _CISCO_IOS_XR_CRYPTO_MACSEC_MKA_OPER_
#define _CISCO_IOS_XR_CRYPTO_MACSEC_MKA_OPER_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_crypto_macsec_mka_oper {
class Macsec : public ydk::Entity
{
public:... | 49.796992 | 182 | 0.683678 | [
"vector"
] |
3840e67bcff4db1a8c6fb19ccc81df78408be185 | 7,998 | cpp | C++ | testApp/misc/testByteBuffer.cpp | hir12111/pvDataCPP | d12571b4cdaaf8010b2e11e04905fde85b287299 | [
"MIT"
] | null | null | null | testApp/misc/testByteBuffer.cpp | hir12111/pvDataCPP | d12571b4cdaaf8010b2e11e04905fde85b287299 | [
"MIT"
] | null | null | null | testApp/misc/testByteBuffer.cpp | hir12111/pvDataCPP | d12571b4cdaaf8010b2e11e04905fde85b287299 | [
"MIT"
] | null | null | null | /*
* Copyright information and license terms for this software can be
* found in the file LICENSE that is included with the distribution
*/
/*
* testByteBuffer.cpp
*
* Created on: Oct 20, 2010
* Author: Miha Vitorovic
*/
#include <iostream>
#include <fstream>
#include <cstring>
#include <memory>
#includ... | 25.0721 | 95 | 0.61978 | [
"vector"
] |
3840f01e227265284caf1f408b44de754248a2cd | 3,692 | hpp | C++ | tests/benchdnn/parser.hpp | heagoo/mkl-dnn | c7d30404d31d8873310dd4de45f16edbf5deb228 | [
"Apache-2.0"
] | null | null | null | tests/benchdnn/parser.hpp | heagoo/mkl-dnn | c7d30404d31d8873310dd4de45f16edbf5deb228 | [
"Apache-2.0"
] | null | null | null | tests/benchdnn/parser.hpp | heagoo/mkl-dnn | c7d30404d31d8873310dd4de45f16edbf5deb228 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2019 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... | 34.185185 | 80 | 0.651408 | [
"vector"
] |
384243ce01fba1d878828109f6af5c4917e23a0f | 4,947 | hpp | C++ | src/app.hpp | icetingyu/invokeEscreen | d5d215f6e8d5ab47f70556d0bf7c133d76c708cc | [
"Apache-2.0"
] | 1 | 2021-04-05T19:11:13.000Z | 2021-04-05T19:11:13.000Z | src/app.hpp | icetingyu/invokeEscreen | d5d215f6e8d5ab47f70556d0bf7c133d76c708cc | [
"Apache-2.0"
] | null | null | null | src/app.hpp | icetingyu/invokeEscreen | d5d215f6e8d5ab47f70556d0bf7c133d76c708cc | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 32.98 | 131 | 0.732161 | [
"object",
"model"
] |
3845d64aa31a595fe54b8f64b69077d5854144f7 | 5,444 | cpp | C++ | Modules/ThirdParty/OssimPlugins/src/ossim/AlosPalsar/AlosPalsarData.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | 2 | 2018-03-30T18:05:55.000Z | 2020-08-28T01:03:49.000Z | Modules/ThirdParty/OssimPlugins/src/ossim/AlosPalsar/AlosPalsarData.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | 3 | 2015-10-14T10:11:38.000Z | 2015-10-15T08:26:23.000Z | Modules/ThirdParty/OssimPlugins/src/ossim/AlosPalsar/AlosPalsarData.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | 2 | 2015-10-08T12:04:06.000Z | 2018-06-19T08:00:47.000Z | /*
* Copyright (C) 2005-2017 by Centre National d'Etudes Spatiales (CNES)
* Copyright (C) 2008-2010 by Centre for Remote Imaging, Sensing and Processing (CRISP)
*
* This file is licensed under MIT license:
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and ass... | 27.084577 | 114 | 0.715467 | [
"model"
] |
38466fb950db304deb66c599b7b16e396496f883 | 8,836 | hpp | C++ | include/System/IO/UnexceptionalStreamReader.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 23 | 2020-08-07T04:09:00.000Z | 2022-03-31T22:10:29.000Z | include/System/IO/UnexceptionalStreamReader.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 6 | 2021-09-29T23:47:31.000Z | 2022-03-30T20:49:23.000Z | include/System/IO/UnexceptionalStreamReader.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 17 | 2020-08-20T19:36:52.000Z | 2022-03-30T18:28:24.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.IO.Stre... | 54.208589 | 207 | 0.723857 | [
"vector"
] |
384678b15d26bf5f59e1c29682ac8de43fcf3237 | 4,063 | cpp | C++ | tests/vocabulary_map_test.cpp | Bungarch/meta | c0c4fc7fe78e8e910cecd31bf85f7f9da829cce5 | [
"MIT"
] | null | null | null | tests/vocabulary_map_test.cpp | Bungarch/meta | c0c4fc7fe78e8e910cecd31bf85f7f9da829cce5 | [
"MIT"
] | null | null | null | tests/vocabulary_map_test.cpp | Bungarch/meta | c0c4fc7fe78e8e910cecd31bf85f7f9da829cce5 | [
"MIT"
] | null | null | null | /**
* @file vocabulary_map_test.cpp
* @author Sean Massung
* @author Chase Geigle
*/
#include <iostream>
#include "bandit/bandit.h"
#include "meta/io/binary.h"
#include "meta/io/filesystem.h"
#include "meta/index/vocabulary_map_writer.h"
#include "meta/index/vocabulary_map.h"
#include "meta/util/disk_vector.h"
#i... | 30.320896 | 77 | 0.532857 | [
"vector"
] |
38470b9c42d962ed8c9c0e92126b139a9473a539 | 4,549 | cpp | C++ | amr-wind/utilities/sampling/KineticEnergy.cpp | jrood-nrel/amr-wind | c1531ecc7ccccef0956cb72e3461535375dbe4f6 | [
"BSD-3-Clause"
] | null | null | null | amr-wind/utilities/sampling/KineticEnergy.cpp | jrood-nrel/amr-wind | c1531ecc7ccccef0956cb72e3461535375dbe4f6 | [
"BSD-3-Clause"
] | null | null | null | amr-wind/utilities/sampling/KineticEnergy.cpp | jrood-nrel/amr-wind | c1531ecc7ccccef0956cb72e3461535375dbe4f6 | [
"BSD-3-Clause"
] | 1 | 2022-02-16T04:14:50.000Z | 2022-02-16T04:14:50.000Z | #include "amr-wind/utilities/sampling/KineticEnergy.H"
#include "amr-wind/utilities/io_utils.H"
#include "amr-wind/utilities/ncutils/nc_interface.H"
#include <AMReX_MultiFabUtil.H>
#include <utility>
#include "AMReX_ParmParse.H"
#include "amr-wind/utilities/IOManager.H"
namespace amr_wind {
namespace kinetic_energy {
... | 32.726619 | 80 | 0.595296 | [
"mesh"
] |
384a93a69d5eaca9445a821d3c55baba11c35767 | 1,587 | cpp | C++ | C++/706.cpp | TianChenjiang/LeetCode | a680c90bc968eba5aa76c3674af1f2d927986ec7 | [
"MIT"
] | 1 | 2021-08-31T08:53:47.000Z | 2021-08-31T08:53:47.000Z | C++/706.cpp | TianChenjiang/LeetCode | a680c90bc968eba5aa76c3674af1f2d927986ec7 | [
"MIT"
] | null | null | null | C++/706.cpp | TianChenjiang/LeetCode | a680c90bc968eba5aa76c3674af1f2d927986ec7 | [
"MIT"
] | null | null | null | class MyHashMap {
public:
/** Initialize your data structure here. */
const static int base = 769;
vector<list<pair<int,int>>> data;
static int hash (int key) {
return key % base;
}
MyHashMap() : data(base) {
}
/** value will always be non-negative. */
void put(int key,... | 29.388889 | 116 | 0.514178 | [
"object",
"vector"
] |
384d1c9f64624680f5dd5dede6635912ec311a5d | 30,901 | cpp | C++ | explorer/adapter.cpp | anatolse/beam | 43c4ce0011598641d9cdeffbfdee66fde0a49730 | [
"Apache-2.0"
] | null | null | null | explorer/adapter.cpp | anatolse/beam | 43c4ce0011598641d9cdeffbfdee66fde0a49730 | [
"Apache-2.0"
] | null | null | null | explorer/adapter.cpp | anatolse/beam | 43c4ce0011598641d9cdeffbfdee66fde0a49730 | [
"Apache-2.0"
] | null | null | null | // 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 agreed to in... | 32.323222 | 127 | 0.528462 | [
"vector"
] |
384de19755a4ed14c65c882f92603d0bb6b043cc | 10,716 | cpp | C++ | src/omexmeta/OmexMetaXmlAssistant.cpp | nickerso/libOmexMeta | 5088f04726c474e5be49166778aee84af4d08ea5 | [
"Apache-2.0"
] | null | null | null | src/omexmeta/OmexMetaXmlAssistant.cpp | nickerso/libOmexMeta | 5088f04726c474e5be49166778aee84af4d08ea5 | [
"Apache-2.0"
] | null | null | null | src/omexmeta/OmexMetaXmlAssistant.cpp | nickerso/libOmexMeta | 5088f04726c474e5be49166778aee84af4d08ea5 | [
"Apache-2.0"
] | null | null | null | //
// Created by Ciaran on 4/14/2020.
//
#include "omexmeta/OmexMetaXmlAssistant.h"
namespace omexmeta {
OmexMetaXmlAssistant::OmexMetaXmlAssistant(std::string xml, std::string metaid_base, int metaid_num_digits,
bool generate_new_metaids) :
xml_... | 48.488688 | 150 | 0.515864 | [
"vector",
"model"
] |
384ef36c68e2a70b25cd46894362e54068a8954f | 25,391 | cpp | C++ | s2e/qemu/s2e/S2E.cpp | wyz7155/SymDrive | 055f3ab1601d6350b397eddc9f3982271d9186d2 | [
"MIT"
] | null | null | null | s2e/qemu/s2e/S2E.cpp | wyz7155/SymDrive | 055f3ab1601d6350b397eddc9f3982271d9186d2 | [
"MIT"
] | null | null | null | s2e/qemu/s2e/S2E.cpp | wyz7155/SymDrive | 055f3ab1601d6350b397eddc9f3982271d9186d2 | [
"MIT"
] | null | null | null | /*
* S2E Selective Symbolic Execution Framework
*
* Copyright (c) 2010, Dependable Systems Laboratory, EPFL
* 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 sourc... | 29.801643 | 108 | 0.614785 | [
"vector"
] |
ee2d5084cce71d145f0114090dd62e386b206b85 | 1,328 | cc | C++ | Question/ๅญ็ฌฆไธฒไธญๆพๅบ่ฟ็ปญๆ้ฟ็ๆฐๅญไธฒ.cc | lkimprove/Study_C | ee1153536f28e160d5daad4ddebaa547c3941ee7 | [
"MIT"
] | null | null | null | Question/ๅญ็ฌฆไธฒไธญๆพๅบ่ฟ็ปญๆ้ฟ็ๆฐๅญไธฒ.cc | lkimprove/Study_C | ee1153536f28e160d5daad4ddebaa547c3941ee7 | [
"MIT"
] | null | null | null | Question/ๅญ็ฌฆไธฒไธญๆพๅบ่ฟ็ปญๆ้ฟ็ๆฐๅญไธฒ.cc | lkimprove/Study_C | ee1153536f28e160d5daad4ddebaa547c3941ee7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main(){
string s;
//่พๅ
ฅ
while(getline(cin, s)){
string ret;
//้ๅๅญ็ฌฆไธฒ
for(int i = 0; i < s.size(); i++){
string tmp;
//่ทๅ่ฟ็ปญ็ๆฐๅญๅญ็ฌฆไธฒ
while(s[i] >= '0' && s[i] <... | 19.246377 | 62 | 0.355422 | [
"vector"
] |
ee2f3179a7e5301ba97bdcb8baa66d3c6a163368 | 9,096 | cc | C++ | src/gcpuinfo.cc | ioan2/gpuinfo | 520b734f6d64d45cff5dec8b860c5f17635f3887 | [
"BSD-3-Clause"
] | null | null | null | src/gcpuinfo.cc | ioan2/gpuinfo | 520b734f6d64d45cff5dec8b860c5f17635f3887 | [
"BSD-3-Clause"
] | null | null | null | src/gcpuinfo.cc | ioan2/gpuinfo | 520b734f6d64d45cff5dec8b860c5f17635f3887 | [
"BSD-3-Clause"
] | null | null | null | /** This library is under the 3-Clause BSD License
Copyright (c) 2017, Johannes Heinecke
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this... | 30.019802 | 114 | 0.623021 | [
"vector"
] |
ee2fdc5d865aa34aeb6689bf0b28e48e11b48334 | 7,704 | cpp | C++ | io/MonitoringStagedFRROTreeGeneratorLogger.cpp | Rodrigo-Schmidt/VItA | 38d36843d299e59dee82913ab629c2873cbc57a6 | [
"Apache-2.0"
] | null | null | null | io/MonitoringStagedFRROTreeGeneratorLogger.cpp | Rodrigo-Schmidt/VItA | 38d36843d299e59dee82913ab629c2873cbc57a6 | [
"Apache-2.0"
] | null | null | null | io/MonitoringStagedFRROTreeGeneratorLogger.cpp | Rodrigo-Schmidt/VItA | 38d36843d299e59dee82913ab629c2873cbc57a6 | [
"Apache-2.0"
] | null | null | null | // Standard library dependencies
#include<cstdio>
#include<typeinfo>
// This class interface
#include"MonitoringStagedFRROTreeGeneratorLogger.h"
void MonitoringStagedFRROTreeGeneratorLogger::logDomainFiles(FILE *fp, AbstractDomain *domain)
{
domain->logDomainFiles(fp);
}
void MonitoringStagedFRROTreeGenerator... | 44.022857 | 158 | 0.664071 | [
"vector"
] |
ee3e831e240a31e7543c6371a600160a97b01de4 | 2,082 | cc | C++ | examples/save_load.cc | Knase23/Starcraft2AiTesting | bdbf4c7103352c78b41942271c413de9cc8ad5b6 | [
"MIT"
] | 1,734 | 2017-08-09T17:12:26.000Z | 2022-03-30T22:20:30.000Z | examples/save_load.cc | Knase23/Starcraft2AiTesting | bdbf4c7103352c78b41942271c413de9cc8ad5b6 | [
"MIT"
] | 231 | 2017-08-09T18:36:40.000Z | 2022-02-07T04:41:49.000Z | examples/save_load.cc | Knase23/Starcraft2AiTesting | bdbf4c7103352c78b41942271c413de9cc8ad5b6 | [
"MIT"
] | 383 | 2017-08-09T18:07:40.000Z | 2022-03-11T15:09:40.000Z | #include "sc2api/sc2_api.h"
#include "sc2lib/sc2_lib.h"
#include "sc2utils/sc2_manage_process.h"
#include <iostream>
using namespace sc2;
class WorkerRushBot : public Agent {
public:
void CenterCamera(std::vector<const Unit*> units) {
if (units.size() == 0)
return;
Point2D center;
... | 26.35443 | 99 | 0.545149 | [
"vector"
] |
ee4838c8d3de6b2f1bf8c8a0d1592eb718cb5b0b | 1,123 | cpp | C++ | examples/angourimath/angourimath.cpp | Cooble/monobind | ef015b7c65a6b1ecbea0dcf72d2b0952abc80034 | [
"MIT"
] | 12 | 2020-09-20T14:09:25.000Z | 2022-02-07T21:58:04.000Z | examples/angourimath/angourimath.cpp | Cooble/monobind | ef015b7c65a6b1ecbea0dcf72d2b0952abc80034 | [
"MIT"
] | 3 | 2020-10-31T14:05:33.000Z | 2021-11-21T00:50:49.000Z | examples/angourimath/angourimath.cpp | Cooble/monobind | ef015b7c65a6b1ecbea0dcf72d2b0952abc80034 | [
"MIT"
] | 3 | 2020-10-28T15:24:40.000Z | 2021-11-14T16:04:58.000Z | #include <monobind/monobind.h>
#include <iostream>
#include <string>
#include <vector>
int main()
{
monobind::mono mono(MONOBIND_MONO_ROOT);
mono.init_jit("AngouriMathExample");
// load AngouriMath assembly
monobind::assembly assembly(mono.get_domain(), "AngouriMath.dll");
monobind::class_type re... | 41.592593 | 153 | 0.69724 | [
"object",
"vector"
] |
ee48dd5655a9160c05e3e3aff4678c210f18315b | 3,141 | hpp | C++ | externals/numeric_bindings/boost/numeric/bindings/detail/array.hpp | fperignon/sandbox | 649f09d6db7bbd84c2418de74eb9453c0131f070 | [
"Apache-2.0"
] | 137 | 2015-06-16T15:55:28.000Z | 2022-03-26T06:01:59.000Z | externals/numeric_bindings/boost/numeric/bindings/detail/array.hpp | fperignon/sandbox | 649f09d6db7bbd84c2418de74eb9453c0131f070 | [
"Apache-2.0"
] | 381 | 2015-09-22T15:31:08.000Z | 2022-02-14T09:05:23.000Z | externals/numeric_bindings/boost/numeric/bindings/detail/array.hpp | fperignon/sandbox | 649f09d6db7bbd84c2418de74eb9453c0131f070 | [
"Apache-2.0"
] | 30 | 2015-08-06T22:57:51.000Z | 2022-03-02T20:30:20.000Z | //
// Copyright (c) 2003 Kresimir Fresl
// Copyright (c) 2009 Rutger ter Borg
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_NUMERIC_BINDINGS_DETAIL_ARRAY_HPP
#define BOOST_NUMERIC_BINDINGS_... | 24.539063 | 73 | 0.629736 | [
"vector"
] |
ee4ba1d0ecc8f1f313cf2db1d9d3aa6f7618694f | 16,639 | cpp | C++ | src/HF/hfphfdevicestatus.cpp | webosose/com.webos.service.hfp | bf4e38643ffe55a8b66557b2a8b6a536c098c9c2 | [
"Apache-2.0"
] | null | null | null | src/HF/hfphfdevicestatus.cpp | webosose/com.webos.service.hfp | bf4e38643ffe55a8b66557b2a8b6a536c098c9c2 | [
"Apache-2.0"
] | null | null | null | src/HF/hfphfdevicestatus.cpp | webosose/com.webos.service.hfp | bf4e38643ffe55a8b66557b2a8b6a536c098c9c2 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2020 LG Electronics, 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 agre... | 27.548013 | 135 | 0.715187 | [
"vector",
"transform"
] |
ee4babd2a0c8672fcb45218371f3f2fabe6d7d04 | 2,178 | cpp | C++ | src/raft/snapshot.cpp | CheranMahalingam/Distributed-Video-Processor | 2940b1d92f6f6d940304de24d79680f01c888c47 | [
"MIT"
] | null | null | null | src/raft/snapshot.cpp | CheranMahalingam/Distributed-Video-Processor | 2940b1d92f6f6d940304de24d79680f01c888c47 | [
"MIT"
] | null | null | null | src/raft/snapshot.cpp | CheranMahalingam/Distributed-Video-Processor | 2940b1d92f6f6d940304de24d79680f01c888c47 | [
"MIT"
] | 1 | 2022-01-09T22:43:46.000Z | 2022-01-09T22:43:46.000Z | #include "snapshot.h"
namespace raft {
Snapshot::Snapshot(const std::string dir) {
std::filesystem::create_directories(dir);
log_file_ = dir + "log";
state_file_ = dir + "state";
}
void Snapshot::PersistState(const int term, const std::string vote_id) {
std::fstream out(state_file_, std::ios::out | s... | 28.657895 | 115 | 0.647842 | [
"vector"
] |
ee4efdab93b4aae42d06dfa38a0b166fb7108712 | 55,868 | cpp | C++ | src/hotspot/share/jvmci/jvmciCodeInstaller.cpp | desiyonan/OpenJDK8 | 74d4f56b6312c303642e053e5d428b44cc8326c5 | [
"MIT"
] | 2 | 2018-06-19T05:43:32.000Z | 2018-06-23T10:04:56.000Z | src/hotspot/share/jvmci/jvmciCodeInstaller.cpp | desiyonan/OpenJDK8 | 74d4f56b6312c303642e053e5d428b44cc8326c5 | [
"MIT"
] | null | null | null | src/hotspot/share/jvmci/jvmciCodeInstaller.cpp | desiyonan/OpenJDK8 | 74d4f56b6312c303642e053e5d428b44cc8326c5 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 41.754858 | 183 | 0.70484 | [
"object"
] |
ee56be18cd11c4a6e2a3e4b4b39d85bda06f481a | 1,179 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/geometry/doc/src/examples/algorithms/is_empty.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/geometry/doc/src/examples/algorithms/is_empty.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2019-04-04T18:00:00.000Z | 2019-04-04T18:00:00.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/geometry/doc/src/examples/algorithms/is_empty.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// QuickBook Example
// Copyright (c) 2015, Oracle and/or its affiliates
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Licensed under the Boost Software License version 1.0.
// http://www.boost.org/users/license.html
//[i... | 24.5625 | 112 | 0.59542 | [
"geometry",
"model"
] |
ee59637a012ceeae7d925014eec8b7a68e656f89 | 3,142 | cpp | C++ | src/ms/spec/baseline_util.cpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 8 | 2018-05-23T14:37:31.000Z | 2022-02-04T23:48:38.000Z | src/ms/spec/baseline_util.cpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 9 | 2019-08-31T08:17:45.000Z | 2022-02-11T20:58:06.000Z | src/ms/spec/baseline_util.cpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 4 | 2018-04-25T01:39:38.000Z | 2020-05-20T19:25:07.000Z | //Copyright (c) 2014 - 2020, The Trustees of Indiana University.
//
//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 a... | 25.544715 | 85 | 0.6324 | [
"vector"
] |
ee5a0141fc64e96f9f9fc56809686837538c69fe | 7,167 | cpp | C++ | src-2007/game/client/facesdk/face_api.cpp | KyleGospo/City-17-Episode-One-Source | 2bc0bb56a2e0a63d963755e2831c15f2970c38e7 | [
"Unlicense"
] | 30 | 2016-04-23T04:55:52.000Z | 2021-05-19T10:26:27.000Z | src/game/client/facesdk/face_api.cpp | KyleGospo/City-17-Episode-One-Source-2013 | 0cc2bb3c19dd411f0eb3e86665cec2eec8952d5e | [
"Unlicense"
] | 2 | 2017-01-10T11:45:03.000Z | 2018-05-23T16:42:56.000Z | src-2007/game/client/facesdk/face_api.cpp | KyleGospo/City-17-Episode-One-Source | 2bc0bb56a2e0a63d963755e2831c15f2970c38e7 | [
"Unlicense"
] | 15 | 2016-04-26T13:16:38.000Z | 2022-03-08T06:13:14.000Z | #include "cbase.h"
#include "face_api.h"
using namespace std;
FaceAPI::FaceAPI()
{
m_bFaceAPIHasCamera = true;
m_bFaceAPIInitialized = false;
}
void FaceAPI::init() //smCoord3f *head_pos, smCoord3f *head_rot)
{
//this.head_pos = head_pos;
//this.head_rot = head_rot;
/*try
{
// Initialize the API
THROW_ON_... | 29.372951 | 129 | 0.638342 | [
"model"
] |
ee5af4f9f3edc69973acec5a76c9d62f3a1bc008 | 2,642 | cpp | C++ | system_metrics_collector/test/system_metrics_collector/test_composition.cpp | ahcorde/system_metrics_collector | 9f942f08d411c702ab4fd816cc1a8bbb1700baa1 | [
"Apache-2.0"
] | null | null | null | system_metrics_collector/test/system_metrics_collector/test_composition.cpp | ahcorde/system_metrics_collector | 9f942f08d411c702ab4fd816cc1a8bbb1700baa1 | [
"Apache-2.0"
] | null | null | null | system_metrics_collector/test/system_metrics_collector/test_composition.cpp | ahcorde/system_metrics_collector | 9f942f08d411c702ab4fd816cc1a8bbb1700baa1 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Amazon.com, Inc. or its affiliates. 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
//
// Unles... | 36.191781 | 98 | 0.766086 | [
"vector"
] |
ee65932dbe213ddc34150feebbd61336a7dc4551 | 1,096 | cpp | C++ | problemsets/UVA/10505.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/10505.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/10505.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <algorithm>
#include <vector>
#include <set>
using namespace std;
int N;
vector<int> adj[210];
char vis[210];
int A, B;
bool dfs(int u, int c) {
vis[u] = c;
c ? A++ : B++;
bool ok = 1;
f... | 19.571429 | 65 | 0.395985 | [
"vector"
] |
ee6a03aab21d4770477b5fd775c555e4feb13434 | 2,972 | cpp | C++ | Ko-Fi Engine/Source/PanelResources.cpp | Chamfer-Studios/Ko-Fi-Engine | cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e | [
"MIT"
] | 2 | 2022-02-26T23:35:53.000Z | 2022-03-04T16:25:18.000Z | Ko-Fi Engine/Source/PanelResources.cpp | Chamfer-Studios/Ko-Fi-Engine | cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e | [
"MIT"
] | 2 | 2022-02-23T09:41:09.000Z | 2022-03-08T08:46:21.000Z | Ko-Fi Engine/Source/PanelResources.cpp | Chamfer-Studios/Ko-Fi-Engine | cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e | [
"MIT"
] | 1 | 2022-03-03T18:41:32.000Z | 2022-03-03T18:41:32.000Z | #include "PanelResources.h"
#include "M_Editor.h"
#include "M_ResourceManager.h"
#include "Resource.h"
#include "M_ResourceManager.h"
#include "optick.h"
PanelResources::PanelResources(M_Editor* editor)
{
panelName = "Resources";
this->editor = editor;
this->resourceManager = nullptr;
}
PanelResources::~PanelReso... | 20.081081 | 115 | 0.6679 | [
"mesh",
"model"
] |
ee79dd09f4222f35add19d047f23eb5eee23a591 | 6,803 | cpp | C++ | src/axom/inlet/examples/documentation_generation.cpp | raineyeh/axom | 57a6ef7ab50e113e4cf4b639657eb84ff10789c0 | [
"BSD-3-Clause"
] | null | null | null | src/axom/inlet/examples/documentation_generation.cpp | raineyeh/axom | 57a6ef7ab50e113e4cf4b639657eb84ff10789c0 | [
"BSD-3-Clause"
] | null | null | null | src/axom/inlet/examples/documentation_generation.cpp | raineyeh/axom | 57a6ef7ab50e113e4cf4b639657eb84ff10789c0 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and
// other Axom Project Developers. See the top-level LICENSE file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
// usage : ./inlet_documentation_generation_example --enableDocs --fil lua_file.lua
#include "axom/inlet.hpp"
#i... | 31.206422 | 84 | 0.689843 | [
"mesh"
] |
ee7d6059ee031924d426f724f6f12d2c9f4a6e26 | 1,441 | cc | C++ | 3rdparty/pytorch/caffe2/operators/quantized/int8_fc_op.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/caffe2/operators/quantized/int8_fc_op.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/caffe2/operators/quantized/int8_fc_op.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | #include "caffe2/operators/quantized/int8_fc_op.h"
namespace caffe2 {
REGISTER_CPU_OPERATOR(Int8FC, int8::Int8FCOp);
OPERATOR_SCHEMA(Int8FC)
.NumInputs(3)
.NumOutputs(1)
.SetDoc(R"DOC(
Computes the result of passing an input vector X into a fully
connected layer with 2D weight matrix W and 1D bias vector... | 34.309524 | 72 | 0.673144 | [
"vector"
] |
ee807b2842fd4ffa01d529c671742e93b791d9ef | 3,199 | cpp | C++ | resources/Solution Code/Ch6/e6-6.cpp | viniciusjavs/Programming | ef1eed5c0a2782dd3ef1c0453460c93384dab41b | [
"MIT"
] | 2 | 2021-08-19T18:27:58.000Z | 2021-12-17T17:53:08.000Z | resources/Solution Code/Ch6/e6-6.cpp | vjavs/Programming | ef1eed5c0a2782dd3ef1c0453460c93384dab41b | [
"MIT"
] | null | null | null | resources/Solution Code/Ch6/e6-6.cpp | vjavs/Programming | ef1eed5c0a2782dd3ef1c0453460c93384dab41b | [
"MIT"
] | null | null | null | // Bjarne Stroustrup 4/11/2009
// Chapter 6 Exercise 6
/*
English grammar
*/
#include "std_lib_facilities.h"
// note that different compilers/SDEs keep header files in different places
// so that you may have to use "../std_lib_facilities.h" or "../../std_lib_facilities.h"
// the ../ notation means "look ... | 28.061404 | 108 | 0.665833 | [
"vector"
] |
ee863fd5354869b614b27ae9ea54550ff00165c3 | 2,869 | cpp | C++ | Algorithm/Sources/Algorithms/SJTAlgorithm.cpp | Minusi/AlgorithmArchive | f579f91024a582cdf7e36591308123f8c920e204 | [
"Unlicense"
] | null | null | null | Algorithm/Sources/Algorithms/SJTAlgorithm.cpp | Minusi/AlgorithmArchive | f579f91024a582cdf7e36591308123f8c920e204 | [
"Unlicense"
] | null | null | null | Algorithm/Sources/Algorithms/SJTAlgorithm.cpp | Minusi/AlgorithmArchive | f579f91024a582cdf7e36591308123f8c920e204 | [
"Unlicense"
] | null | null | null | ๏ปฟ//#include <iostream>
//#include <vector>
//#include <algorithm>
//
//using namespace std;
//
//
//
//bool IsMobile(int, vector<int>&, const vector<int>&);
//
//// ๊ฐ ์์๋ค์ด ์์ง์ผ ์ ์๋ ์ง ๊ฒ์ฌํฉ๋๋ค.
//bool CheckMobiles(vector<int>& Array, const vector<int>& Directions)
//{
// for (int i = 0; i < Array.size(); ++i)
// {
// if (... | 17.93125 | 73 | 0.504357 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.