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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25ec8035071bd53a8ad24bc84229c2d51d7a8e59 | 5,290 | cc | C++ | tools/align-to-dict.cc | obentham/zipporah | 08ac1483d0144d922c7a0b0a3d1b81da9490aa11 | [
"Apache-2.0"
] | 39 | 2017-09-07T09:51:14.000Z | 2022-01-05T06:39:54.000Z | tools/align-to-dict.cc | obentham/zipporah | 08ac1483d0144d922c7a0b0a3d1b81da9490aa11 | [
"Apache-2.0"
] | 4 | 2018-05-23T09:06:29.000Z | 2018-07-17T17:04:06.000Z | tools/align-to-dict.cc | obentham/zipporah | 08ac1483d0144d922c7a0b0a3d1b81da9490aa11 | [
"Apache-2.0"
] | 14 | 2017-09-07T09:51:31.000Z | 2020-07-27T06:43:12.000Z | #include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include <sstream>
#include <math.h>
#include <assert.h>
using namespace std;
int min_count = 5;
int min_total_count = 100;
vector<string> Split(string input) {
vector<string> ans;
string word;
stringstream ss(input);
while (ss >> word... | 24.37788 | 107 | 0.563327 | [
"vector"
] |
25f16a16c8f03f436b4c944a5111aef0d64642bd | 13,859 | cc | C++ | EnergyPlus/GlobalNames.cc | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | null | null | null | EnergyPlus/GlobalNames.cc | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | 1 | 2020-07-08T13:32:09.000Z | 2020-07-08T13:32:09.000Z | EnergyPlus/GlobalNames.cc | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | null | null | null | // EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois,
// The Regents of the University of California, through Lawrence Berkeley National Laboratory
// (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge
// National Laboratory, managed by UT-Batt... | 42.382263 | 149 | 0.624793 | [
"object"
] |
25f40ce43555bd7967d7e4830bf5e94a5b087b42 | 3,562 | cc | C++ | code/render/characters/characterskinnode.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/render/characters/characterskinnode.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/render/characters/characterskinnode.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// charactermaterialskinnode.cc
// (C) 2011-2013 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "characterskinnode.h"
#include "char... | 28.725806 | 110 | 0.559517 | [
"geometry",
"render"
] |
25f61529b449cee18a872a3df4b60cca382c3db8 | 19,405 | cpp | C++ | webkit/WebCore/platform/graphics/FontCache.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/platform/graphics/FontCache.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/platform/graphics/FontCache.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
* Copyright (c) 2010 ACCESS CO., LTD. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | 32.287854 | 153 | 0.68673 | [
"vector"
] |
25fb562337c4743260c828c46436c36b006e31c2 | 1,252 | cpp | C++ | Graphs/valid_path.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | Graphs/valid_path.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | Graphs/valid_path.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
vector<int> nx {-1, +1, -1, +0, +1, -1, +0, +1};
vector<int> ny {+0, +0, +1, +1, +1, -1, -1, -1};
bool touches_circle(int x, int y, int r, vector<int> &cx, vector<int> &cy) {
for(int i = 0; i < cx.size(); ++i) {
int a = x - cx[i];
int b = y - cy[i];
... | 22.357143 | 76 | 0.433706 | [
"vector"
] |
d302faf377b43792c2377fb551a5e8395f789a03 | 3,268 | cpp | C++ | src/py/wrapper/wrapper_6145f198762157b3b1094c9fc4f41e22.cpp | jpeyhardi/GLM | 6f0fd763aec2a0ccdef3901b71ed990f20119510 | [
"Apache-2.0"
] | null | null | null | src/py/wrapper/wrapper_6145f198762157b3b1094c9fc4f41e22.cpp | jpeyhardi/GLM | 6f0fd763aec2a0ccdef3901b71ed990f20119510 | [
"Apache-2.0"
] | null | null | null | src/py/wrapper/wrapper_6145f198762157b3b1094c9fc4f41e22.cpp | jpeyhardi/GLM | 6f0fd763aec2a0ccdef3901b71ed990f20119510 | [
"Apache-2.0"
] | null | null | null | #include "_glm.h"
namespace autowig
{
}
#if defined(_MSC_VER)
#if (_MSC_VER == 1900)
namespace boost
{
template <> class ::statiskit::glm::CompleteScalarPredictor const volatile * get_pointer<class ::statiskit::glm::CompleteScalarPredictor const volatile >(class ::statiskit::glm::CompleteScalarPredictor co... | 71.043478 | 308 | 0.763158 | [
"object"
] |
d304eb6dd6320340df726ce12eb5e063edd1c6bf | 4,491 | cpp | C++ | tracker/frameFactory.cpp | sneha1234/2D-Game-Engine | d184806f2bfb2ddec1f66d7ab7a6a641a72ade50 | [
"Apache-2.0"
] | null | null | null | tracker/frameFactory.cpp | sneha1234/2D-Game-Engine | d184806f2bfb2ddec1f66d7ab7a6a641a72ade50 | [
"Apache-2.0"
] | null | null | null | tracker/frameFactory.cpp | sneha1234/2D-Game-Engine | d184806f2bfb2ddec1f66d7ab7a6a641a72ade50 | [
"Apache-2.0"
] | null | null | null | #include "frameFactory.h"
#include "extractSurface.h"
#include "ioManager.h"
#include "vector2f.h"
#include "SDL/SDL_rotozoom.h"
#include <iostream>
#include <sstream>
//using namespace std;
FrameFactory::~FrameFactory() {
for(std::map<std::string, Frame*> ::const_iterator itr=frames.begin();itr!=frames.end();itr++)
... | 31.1875 | 141 | 0.65776 | [
"vector"
] |
d306e6a54437e34a6e9690fcb4e31a25eec59ad8 | 24,763 | cpp | C++ | BRAINSSuperResolution/EdgeBasedWeightedTV/FFTWUpsample.cpp | pnlbwh/BRAINSTools | a2fe63ab5b795f03da140a4081d1fef6314dab95 | [
"Apache-2.0"
] | 89 | 2015-02-09T16:47:09.000Z | 2022-02-21T07:19:27.000Z | BRAINSSuperResolution/EdgeBasedWeightedTV/FFTWUpsample.cpp | pnlbwh/BRAINSTools | a2fe63ab5b795f03da140a4081d1fef6314dab95 | [
"Apache-2.0"
] | 166 | 2015-01-07T22:14:05.000Z | 2021-12-26T06:58:00.000Z | BRAINSSuperResolution/EdgeBasedWeightedTV/FFTWUpsample.cpp | BRAINSia/BRAINSTools | f09f74bd28ad07cd2347c2528921b1a43b97fa1d | [
"Apache-2.0"
] | 80 | 2015-01-05T17:18:07.000Z | 2022-01-06T12:46:29.000Z | //
// Created by Hans Johnson on 7/12/16.
//
// \author Hans J. Johnson
// \date 2016-07-10
// Utility function for upsampling by FFT
#include <iostream>
#include <itkImageFileReader.h>
#include <itkImageFileWriter.h>
#include "FFTWUpsample.h"
#include <itkPeriodicBoundaryCondition.h>
using cmplxHHIteratorType = i... | 42.113946 | 119 | 0.69935 | [
"shape",
"transform"
] |
d30f76b3e4d2ab1057837f32a61a46df17cd5428 | 1,261 | hpp | C++ | ZEN/VertexBufferLayout.hpp | Zheoni/ZEngine | 1f566ff94ec4d70713990dc6e94806b7d0fdbb01 | [
"MIT"
] | 1 | 2020-10-23T11:11:37.000Z | 2020-10-23T11:11:37.000Z | ZEN/VertexBufferLayout.hpp | Zheoni/ZEngine | 1f566ff94ec4d70713990dc6e94806b7d0fdbb01 | [
"MIT"
] | null | null | null | ZEN/VertexBufferLayout.hpp | Zheoni/ZEngine | 1f566ff94ec4d70713990dc6e94806b7d0fdbb01 | [
"MIT"
] | null | null | null | //
// Created by Francisco José Sánchez Moreno on 29/03/2020.
//
#pragma once
#include <vector>
#include <glad/glad.h>
namespace zen {
struct VertexBufferElement {
unsigned int type;
unsigned int count;
unsigned char normalized;
inline unsigned int GetSizeOfType() const {
... | 23.351852 | 76 | 0.606661 | [
"vector"
] |
d3109de6b52b15041751a10040d28ed1af4830af | 9,465 | hpp | C++ | thrill/data/byte_block.hpp | stevenybw/thrill | a2dc05035f4e24f64af0a22b60155e80843a5ba9 | [
"BSD-2-Clause"
] | 609 | 2015-08-27T11:09:24.000Z | 2022-03-28T21:34:05.000Z | thrill/data/byte_block.hpp | stevenybw/thrill | a2dc05035f4e24f64af0a22b60155e80843a5ba9 | [
"BSD-2-Clause"
] | 109 | 2015-09-10T21:34:42.000Z | 2022-02-15T14:46:26.000Z | thrill/data/byte_block.hpp | stevenybw/thrill | a2dc05035f4e24f64af0a22b60155e80843a5ba9 | [
"BSD-2-Clause"
] | 114 | 2015-08-27T14:54:13.000Z | 2021-12-08T07:28:35.000Z | /*******************************************************************************
* thrill/data/byte_block.hpp
*
* Part of Project Thrill - http://project-thrill.org
*
* Copyright (C) 2015 Timo Bingmann <tb@panthema.net>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
************... | 32.084746 | 85 | 0.669519 | [
"vector"
] |
d31178526dd4ad8e6a162077d8010cb2c3177961 | 9,009 | cpp | C++ | gui/main_window/friendly/FriendlyContainer.cpp | Qt-Widgets/im-desktop-imported | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | 524 | 2016-03-16T10:17:28.000Z | 2019-12-29T02:58:56.000Z | gui/main_window/friendly/FriendlyContainer.cpp | Qt-Widgets/im-desktop-imported-widgets-collection | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | 68 | 2016-03-16T16:23:17.000Z | 2019-09-20T22:37:28.000Z | gui/main_window/friendly/FriendlyContainer.cpp | Qt-Widgets/im-desktop-imported-widgets-collection | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | 142 | 2016-03-16T10:25:03.000Z | 2019-12-26T14:08:47.000Z | #include "stdafx.h"
#include "FriendlyContainer.h"
#include "../contact_list/ContactListModel.h"
#include "../../core_dispatcher.h"
#include "../../utils/gui_coll_helper.h"
#include "../../utils/utils.h"
Q_LOGGING_CATEGORY(friendlyContainer, "friendlyContainer")
namespace
{
constexpr std::chrono::milliseconds L... | 34.385496 | 159 | 0.605173 | [
"vector"
] |
d318cdc226a2d268732a46c3dd35678495fe3bdf | 31,304 | cpp | C++ | src/prod/src/Federation/NodeRing.cpp | leikong/service-fabric | 6b81daab914c8cf02801073fe6b6e5bf97270e9b | [
"MIT"
] | null | null | null | src/prod/src/Federation/NodeRing.cpp | leikong/service-fabric | 6b81daab914c8cf02801073fe6b6e5bf97270e9b | [
"MIT"
] | null | null | null | src/prod/src/Federation/NodeRing.cpp | leikong/service-fabric | 6b81daab914c8cf02801073fe6b6e5bf97270e9b | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
namespace... | 29.559962 | 208 | 0.529229 | [
"vector"
] |
d31cb82e9f2cfaabb5b4eb5b6e106b23f9f87169 | 1,383 | cpp | C++ | aoapcbac2nd/example8-8_defenselines.cpp | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | aoapcbac2nd/example8-8_defenselines.cpp | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | aoapcbac2nd/example8-8_defenselines.cpp | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | // UVa 1471
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
using namespace std;
typedef pair<int,int> PII;
const int MAXN = 200000 + 10;
int A[MAXN];
int N;
set<PII> S;
int F[MAXN];
int G[MAXN];
void ... | 16.865854 | 51 | 0.464208 | [
"vector"
] |
d31dcaba124c4ea8689d1c205a3e62c43c60eb32 | 489 | cpp | C++ | competitive_programming/programming_contests/uri/height.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | competitive_programming/programming_contests/uri/height.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | competitive_programming/programming_contests/uri/height.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | // https://www.urionlinejudge.com.br/judge/en/problems/view/1566
#include <stdio.h>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int n, x, num;
scanf("%i", &n);
while (n--) {
vector<int> v;
scanf("%i", &num);
for (int i = 0; i < num; i++) {
scanf("%i", &x);
... | 16.862069 | 64 | 0.503067 | [
"vector"
] |
d322a97b97057bdb80a2fa87c105c72f6369d775 | 13,668 | cpp | C++ | Source/EMsoftWorkbench/Source/Common/XtalFileReader.cpp | imikejackson/EMsoft | d7082067d1d3acc3a9dd4aa5c02db09fd8e7c3b2 | [
"Unlicense"
] | null | null | null | Source/EMsoftWorkbench/Source/Common/XtalFileReader.cpp | imikejackson/EMsoft | d7082067d1d3acc3a9dd4aa5c02db09fd8e7c3b2 | [
"Unlicense"
] | null | null | null | Source/EMsoftWorkbench/Source/Common/XtalFileReader.cpp | imikejackson/EMsoft | d7082067d1d3acc3a9dd4aa5c02db09fd8e7c3b2 | [
"Unlicense"
] | null | null | null | /* ============================================================================
* Copyright (c) 2009-2016 BlueQuartz Software, LLC
*
* 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 ... | 33.58231 | 129 | 0.526046 | [
"vector"
] |
d323fb3c147f8c310eb6a106b7d3456f732f4e4c | 1,306 | hh | C++ | extern/acgl/include/ACGL/OpenGL/Data/TextureLoadStore.hh | Faerbit/Saxum | 3b255142337e08988f2b4f1f56d6e061e8754336 | [
"CC-BY-3.0",
"CC-BY-4.0"
] | 2 | 2015-03-12T16:19:10.000Z | 2015-11-24T20:23:26.000Z | extern/acgl/include/ACGL/OpenGL/Data/TextureLoadStore.hh | Faerbit/Saxum | 3b255142337e08988f2b4f1f56d6e061e8754336 | [
"CC-BY-3.0",
"CC-BY-4.0"
] | 15 | 2015-03-14T14:13:12.000Z | 2015-06-02T18:39:55.000Z | extern/acgl/include/ACGL/OpenGL/Data/TextureLoadStore.hh | Faerbit/Saxum | 3b255142337e08988f2b4f1f56d6e061e8754336 | [
"CC-BY-3.0",
"CC-BY-4.0"
] | null | null | null | /***********************************************************************
* Copyright 2011-2012 Computer Graphics Group RWTH Aachen University. *
* All rights reserved. *
* Distributed under the terms of the MIT License (see LICENSE.TXT). *
***************************... | 38.411765 | 127 | 0.655436 | [
"object"
] |
d32d8636aab7cff507c04e96918bbc564ebd9c38 | 668 | cpp | C++ | 9.Greedy Algorithms/Connecting_n_ropes_with_min_cost.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | 9.Greedy Algorithms/Connecting_n_ropes_with_min_cost.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | 9.Greedy Algorithms/Connecting_n_ropes_with_min_cost.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | #include<iostream>
#include<queue>
#include<vector>
using namespace std;
int findMinimumCost(int arr[], int n) {
//priority queue is set as whose value is bigger, have higher priority
priority_queue<int,vector<int>,greater<int>> queue(arr,arr+n);
int min_cost=0;
while(queue.size()>1){
... | 23.857143 | 74 | 0.58982 | [
"vector"
] |
d330bf9a8b35e1b1a629adbf5d878160082f7228 | 15,865 | hpp | C++ | include/lbann/utils/fftw_wrapper.hpp | LLNL/LBANN | 8bcc5d461e52de70e329d73081ca7eee3e5c580a | [
"Apache-2.0"
] | null | null | null | include/lbann/utils/fftw_wrapper.hpp | LLNL/LBANN | 8bcc5d461e52de70e329d73081ca7eee3e5c580a | [
"Apache-2.0"
] | null | null | null | include/lbann/utils/fftw_wrapper.hpp | LLNL/LBANN | 8bcc5d461e52de70e329d73081ca7eee3e5c580a | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2022, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | 39.563591 | 81 | 0.588591 | [
"vector",
"transform"
] |
d332bd44b54bf4af663dbc67fbd20656a15435ca | 14,465 | hpp | C++ | Samples/Win7Samples/dataaccess/oledb_conformance/include/ctree.hpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/dataaccess/oledb_conformance/include/ctree.hpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/dataaccess/oledb_conformance/include/ctree.hpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | //--------------------------------------------------------------------
// Microsoft OLE DB Test
//
// Copyright 1995-2000 Microsoft Corporation.
//
// @doc
//
// @module CTree Header Module | This module contains header information for CTree
//
// @comm
// Special Notes...: (OPTIONAL NOTES FOR SPECIAL CIRCUMSTANCES)... | 24.310924 | 99 | 0.693605 | [
"object"
] |
d3364e4fd64ab8281f1fc762ae7d4f9357fb7b6c | 961 | hpp | C++ | src/gui/tabs/tabevents.hpp | henryiii/spatial-model-editor | 2138d03ae4c7cc353b40324dfd1a3e763d7085d9 | [
"MIT"
] | 4 | 2019-07-18T15:05:09.000Z | 2020-03-14T09:50:07.000Z | src/gui/tabs/tabevents.hpp | henryiii/spatial-model-editor | 2138d03ae4c7cc353b40324dfd1a3e763d7085d9 | [
"MIT"
] | 418 | 2020-10-08T07:42:27.000Z | 2022-03-08T12:10:52.000Z | src/gui/tabs/tabevents.hpp | henryiii/spatial-model-editor | 2138d03ae4c7cc353b40324dfd1a3e763d7085d9 | [
"MIT"
] | 2 | 2021-09-02T11:20:38.000Z | 2021-10-13T14:05:32.000Z | // TabEvents
#pragma once
#include <QWidget>
#include <memory>
namespace Ui {
class TabEvents;
}
namespace sme::model {
class Model;
} // namespace sme::model
class TabEvents : public QWidget {
Q_OBJECT
public:
explicit TabEvents(sme::model::Model &m, QWidget *parent = nullptr);
~TabEvents() override;
voi... | 23.439024 | 70 | 0.727367 | [
"model"
] |
d3485d7306568ab7aba552f12e0996c64315cf0b | 2,345 | cc | C++ | aoc-2021/11.cc | akshaypundle/aoc | f98ebe72877a98addb831664b9881141d7f78b2a | [
"MIT"
] | null | null | null | aoc-2021/11.cc | akshaypundle/aoc | f98ebe72877a98addb831664b9881141d7f78b2a | [
"MIT"
] | null | null | null | aoc-2021/11.cc | akshaypundle/aoc | f98ebe72877a98addb831664b9881141d7f78b2a | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <set>
#include <cmath>
#include "library.h"
using namespace std;
using namespace library;
class Problem {
public:
vector<int> seen;
int mat[10][10];
void readInput() {
string line;
for(int i=... | 18.038462 | 70 | 0.384222 | [
"vector"
] |
d34ad54b73e818829831c803ceba510787c6f28a | 4,587 | cpp | C++ | thirdparty/MVS/Samples/64/ParametrizeCamera_LoadAndSave/ParametrizeCamera_LoadAndSave.cpp | IceyChiu/Visual-Tracking-System | d43b873a408d94a5c7191fcaeae5b94f8d6e4087 | [
"Apache-2.0"
] | 1 | 2021-07-09T02:40:57.000Z | 2021-07-09T02:40:57.000Z | thirdparty/MVS/Samples/64/ParametrizeCamera_LoadAndSave/ParametrizeCamera_LoadAndSave.cpp | IceyChiu/Visual-Tracking-System | d43b873a408d94a5c7191fcaeae5b94f8d6e4087 | [
"Apache-2.0"
] | null | null | null | thirdparty/MVS/Samples/64/ParametrizeCamera_LoadAndSave/ParametrizeCamera_LoadAndSave.cpp | IceyChiu/Visual-Tracking-System | d43b873a408d94a5c7191fcaeae5b94f8d6e4087 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <pthread.h>
#include "MvCameraControl.h"
bool PrintDeviceInfo(MV_CC_DEVICE_INFO* pstMVDevInfo)
{
if (NULL == pstMVDevInfo)
{
printf("The Pointer of pstMVDevInfo is NULL!\n");
return false;
}
if (pst... | 29.403846 | 99 | 0.545891 | [
"model"
] |
d34c8d45373eefee9b82da7b6d4f3f2039c065d9 | 2,429 | cpp | C++ | libflusspferd/security.cpp | Flusspferd/flusspferd | f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5 | [
"MIT"
] | 7 | 2015-06-08T09:59:36.000Z | 2021-02-27T18:45:17.000Z | libflusspferd/security.cpp | Flusspferd/flusspferd | f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5 | [
"MIT"
] | null | null | null | libflusspferd/security.cpp | Flusspferd/flusspferd | f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5 | [
"MIT"
] | 3 | 2016-07-06T20:47:01.000Z | 2021-06-30T19:09:47.000Z | // vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
The MIT License
Copyright (c) 2008, 2009 Flusspferd contributors (see "CONTRIBUTORS" or
http://flusspferd.org/contributors.txt)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software an... | 28.916667 | 78 | 0.7324 | [
"object"
] |
d34ce7951cdb5fd156ab81fa7743749c650ca02d | 7,827 | cc | C++ | SimMuon/MCTruth/src/MuonToSimAssociatorByHits.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 13 | 2015-11-30T15:49:45.000Z | 2022-02-08T16:11:30.000Z | SimMuon/MCTruth/src/MuonToSimAssociatorByHits.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 640 | 2015-02-11T18:55:47.000Z | 2022-03-31T14:12:23.000Z | SimMuon/MCTruth/src/MuonToSimAssociatorByHits.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 51 | 2015-08-11T21:01:40.000Z | 2022-03-30T07:31:34.000Z | #include "DataFormats/CSCRecHit/interface/CSCSegment.h"
#include "DataFormats/DTRecHit/interface/DTRecSegment4D.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/MuonDetId/interface/MuonSubdetId.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/SiStripDetId/... | 48.614907 | 118 | 0.634598 | [
"geometry",
"vector"
] |
d3539a2fb23e32bd3a1a804f1142cd37b438d842 | 908 | cpp | C++ | 128-longest-consecutive-sequence/longest-consecutive-sequence.cpp | TJUSsr/leetcodesolution | 8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee | [
"MIT"
] | null | null | null | 128-longest-consecutive-sequence/longest-consecutive-sequence.cpp | TJUSsr/leetcodesolution | 8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee | [
"MIT"
] | 2 | 2021-03-31T19:10:41.000Z | 2021-12-13T19:58:15.000Z | 128-longest-consecutive-sequence/longest-consecutive-sequence.cpp | TJUSsr/leetcodesolution | 8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee | [
"MIT"
] | null | null | null | // Given an unsorted array of integers, find the length of the longest consecutive elements sequence.
//
// Your algorithm should run in O(n) complexity.
//
// Example:
//
//
// Input: [100, 4, 200, 1, 3, 2]
// Output: 4
// Explanation: The longest consecutive elements sequence is [1, 2, 3, 4]. Therefore its lengt... | 27.515152 | 102 | 0.566079 | [
"vector"
] |
d362acd070e2c843907c94b4aca57942d50c6b60 | 1,502 | hxx | C++ | OCC/opencascade-7.2.0/x64/debug/inc/VrmlAPI.hxx | jiaguobing/FastCAE | 2348ab87e83fe5c704e4c998cf391229c25ac5d5 | [
"BSD-3-Clause"
] | 2 | 2020-02-21T01:04:35.000Z | 2020-02-21T03:35:37.000Z | OCC/opencascade-7.2.0/x64/debug/inc/VrmlAPI.hxx | Sunqia/FastCAE | cbc023fe07b6e306ceefae8b8bd7c12bc1562acb | [
"BSD-3-Clause"
] | 1 | 2020-03-06T04:49:42.000Z | 2020-03-06T04:49:42.000Z | OCC/opencascade-7.2.0/x64/debug/inc/VrmlAPI.hxx | Sunqia/FastCAE | cbc023fe07b6e306ceefae8b8bd7c12bc1562acb | [
"BSD-3-Clause"
] | 1 | 2021-11-21T13:03:26.000Z | 2021-11-21T13:03:26.000Z | // Created on: 2000-05-30
// Created by: Sergey MOZOKHIN
// Copyright (c) 2000-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 ... | 22.41791 | 136 | 0.768975 | [
"shape"
] |
d365730ed12a8d1fe8fb731b1093a0e36a5bb41f | 836 | cpp | C++ | test/TestTools.cpp | przemek83/same-game | af6b5f2eca774d3533c93d5bcb204411b66293a7 | [
"MIT"
] | null | null | null | test/TestTools.cpp | przemek83/same-game | af6b5f2eca774d3533c93d5bcb204411b66293a7 | [
"MIT"
] | null | null | null | test/TestTools.cpp | przemek83/same-game | af6b5f2eca774d3533c93d5bcb204411b66293a7 | [
"MIT"
] | null | null | null | #include "TestTools.h"
#include <fstream>
namespace TestTools
{
Board createBoard(const std::vector<std::vector<unsigned int>>& data)
{
const unsigned int columnCount{static_cast<unsigned int>(data.size())};
const unsigned int rowCount{static_cast<unsigned int>(data[0].size())};
std::istringstream string... | 30.962963 | 75 | 0.686603 | [
"vector"
] |
d366ab8e55a88e43f97a8484a4fd4a8bb48b9c77 | 7,085 | cpp | C++ | tests/AoC_utils_tests/ranges.cpp | voivoid/advent-of-code | efc02f558ad7718d02dfc205fadeba6b857ce4ae | [
"MIT"
] | 6 | 2019-03-01T14:15:38.000Z | 2021-12-10T21:39:23.000Z | tests/AoC_utils_tests/ranges.cpp | voivoid/advent-of-code | efc02f558ad7718d02dfc205fadeba6b857ce4ae | [
"MIT"
] | 3 | 2018-10-22T09:42:26.000Z | 2018-10-22T11:45:06.000Z | tests/AoC_utils_tests/ranges.cpp | voivoid/advent-of-code | efc02f558ad7718d02dfc205fadeba6b857ce4ae | [
"MIT"
] | null | null | null | #include "boost/test/unit_test.hpp"
#include "AoC/utils/ranges/2dvector.h"
#include "AoC/utils/ranges/append.h"
#include "AoC/utils/ranges/enumerate.h"
#include "AoC/utils/ranges/generate.h"
#include "AoC/utils/ranges/interleave.h"
#include "AoC/utils/ranges/prepend.h"
#include "AoC/utils/ranges/transpose.h"
#include ... | 34.0625 | 140 | 0.56669 | [
"vector",
"transform"
] |
d366ccf80a866a5af6c3912f87aa327975ef2232 | 5,950 | cc | C++ | samples/tree/predict.cc | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 63 | 2018-06-21T14:11:59.000Z | 2022-03-30T11:24:36.000Z | samples/tree/predict.cc | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 5 | 2018-09-22T14:01:53.000Z | 2021-12-27T16:11:05.000Z | samples/tree/predict.cc | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 12 | 2018-08-23T15:59:44.000Z | 2022-02-20T06:47:22.000Z | #include <cmath>
#include <exception>
#include <iostream>
#include <stdexcept>
#include <string>
#include <vector>
#include <boost/lexical_cast.hpp>
#include <boost/program_options.hpp>
#include <frovedis.hpp>
#include <frovedis/core/dvector.hpp>
#include <frovedis/core/zipped_dvectors.hpp>
#include <frovedis/matrix/... | 27.934272 | 74 | 0.637647 | [
"vector",
"model"
] |
d367c89201a57bcf765ab4d7845ccb40809a6687 | 1,055 | cc | C++ | solutions/codeforces/contest/268/a.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 4 | 2020-11-07T14:38:02.000Z | 2022-01-03T19:02:36.000Z | solutions/codeforces/contest/268/a.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 1 | 2019-04-17T06:55:14.000Z | 2019-04-17T06:55:14.000Z | solutions/codeforces/contest/268/a.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <bitset>
#include <climits>
#include <cmath>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
... | 16.484375 | 45 | 0.507109 | [
"vector"
] |
d369ca08f1218c4a787a43566a0ffe25156702f5 | 4,757 | cc | C++ | sfdb/engine/create_and_drop.cc | ipr0/sfdb | 1d4b96adf41324a399dbee30c804c35d4f1eecdd | [
"Apache-2.0"
] | 5 | 2020-03-21T19:41:00.000Z | 2022-03-09T20:24:02.000Z | sfdb/engine/create_and_drop.cc | ipr0/sfdb | 1d4b96adf41324a399dbee30c804c35d4f1eecdd | [
"Apache-2.0"
] | 9 | 2020-03-24T22:22:44.000Z | 2022-02-27T01:31:34.000Z | sfdb/engine/create_and_drop.cc | ipr0/sfdb | 1d4b96adf41324a399dbee30c804c35d4f1eecdd | [
"Apache-2.0"
] | 2 | 2020-03-25T22:55:48.000Z | 2020-04-26T14:35:41.000Z | /*
* Copyright (c) 2019 Google LLC.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License,... | 38.991803 | 79 | 0.69918 | [
"vector"
] |
d36c33ac12a158f6c1b96fb9c71515fe27424637 | 4,032 | cpp | C++ | src/main.cpp | arrufat/dlib-pytorch-benchmark | 3c62225454832886411caef1395f1ba69b2b0dba | [
"BSL-1.0"
] | 20 | 2020-01-13T20:49:04.000Z | 2022-02-02T15:16:14.000Z | src/main.cpp | arrufat/dlib-pytorch-benchmark | 3c62225454832886411caef1395f1ba69b2b0dba | [
"BSL-1.0"
] | 4 | 2020-01-14T04:37:54.000Z | 2021-07-07T12:39:25.000Z | src/main.cpp | arrufat/dlib-pytorch-benchmark | 3c62225454832886411caef1395f1ba69b2b0dba | [
"BSL-1.0"
] | 2 | 2020-01-13T19:16:36.000Z | 2020-01-15T09:31:05.000Z | #include <algorithm>
#include <chrono>
#include <cstdlib>
#include <dlib/image_processing.h>
#include <iostream>
#include <numeric>
#include <resnet.h>
namespace chrono = std::chrono;
using fms = chrono::duration<float, std::milli>;
int main(const int argc, const char** argv)try
{
setenv("CUDA_LAUNCH_BLOCKING", "... | 35.681416 | 96 | 0.564236 | [
"shape",
"vector"
] |
d36f3c44602ed689a8f1a1b3b66560c7582d1b85 | 3,112 | hpp | C++ | include/agent.hpp | stone8oy/deepRL | 1f2d4cebffd667fe9e6cc8b0519d87b7bdd48b69 | [
"MIT"
] | 100 | 2016-03-21T08:23:34.000Z | 2021-11-26T13:18:46.000Z | include/agent.hpp | stone8oy/deepRL | 1f2d4cebffd667fe9e6cc8b0519d87b7bdd48b69 | [
"MIT"
] | null | null | null | include/agent.hpp | stone8oy/deepRL | 1f2d4cebffd667fe9e6cc8b0519d87b7bdd48b69 | [
"MIT"
] | 36 | 2016-05-08T06:49:34.000Z | 2021-08-09T13:12:43.000Z | #ifndef AGENT_HPP_
#define AGENT_HPP_
#include <random>
#include "memoryreplay.hpp"
namespace deepRL {
/**
* Deep Q-Network
*/
class DeepQLearner {
public:
DeepQLearner(
const ActionVect& legal_actions,
double epsilon_start,
const double epsilon_min,
const double epsilon_decay,
const int epsil... | 26.598291 | 108 | 0.748072 | [
"model"
] |
c963da6fe088adba8b04b6387df1ff88f4967955 | 1,412 | cpp | C++ | test/src/tanh.cpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | 1 | 2020-11-17T14:25:28.000Z | 2020-11-17T14:25:28.000Z | test/src/tanh.cpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | null | null | null | test/src/tanh.cpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | null | null | null | #include <sstream>
#include "catch.hpp"
#include <cereal/types/vector.hpp>
#include "techniques/tanh.hpp"
#include "feed.hpp"
#include "util.hpp"
TEST_CASE("tanh", "[tanh]") {
float hostinput[] = { -1e+20f, -1.f, 0.f, 1.f, 1e+20f };
float hostexpected[] = { -1.f, -.7616f, 0.f, .7616f, 1.f };
af::array expected... | 31.377778 | 70 | 0.651558 | [
"vector"
] |
c9673e346d786f11f0f0bf6b29be470d77b8b8f7 | 3,563 | cpp | C++ | src/STCoverage.cpp | walaj/VariantBam | b797b787d29387400424b0a32c9bf04db094ad5a | [
"Apache-2.0"
] | 45 | 2016-10-07T19:13:39.000Z | 2021-06-30T22:49:34.000Z | src/STCoverage.cpp | walaj/VariantBam | b797b787d29387400424b0a32c9bf04db094ad5a | [
"Apache-2.0"
] | 10 | 2017-06-07T10:15:19.000Z | 2020-03-31T17:03:46.000Z | src/STCoverage.cpp | jwalabroad/VariantBam | b797b787d29387400424b0a32c9bf04db094ad5a | [
"Apache-2.0"
] | 9 | 2017-05-23T01:06:31.000Z | 2020-07-08T09:46:06.000Z | #include "STCoverage.h"
#include "SeqLib/SeqLibCommon.h"
#include <stdexcept>
#include <algorithm>
void STCoverage::clear() {
m_map.clear();
}
void STCoverage::settleCoverage() {
SeqLib::GRC tmp = m_grc;
m_grc.MergeOverlappingIntervals();
}
STCoverage::STCoverage(const SeqLib::GenomicRegion& ... | 25.633094 | 139 | 0.53831 | [
"vector"
] |
c972eb45cf4c88777a33793890c4758e0f9a554a | 9,556 | cc | C++ | src/RMGManager.cc | gipert/remage | 33fbb16786da7723e120d479cdf8ec4647b3bbbd | [
"MIT"
] | 2 | 2022-02-25T10:50:28.000Z | 2022-03-11T15:12:05.000Z | src/RMGManager.cc | gipert/remage | 33fbb16786da7723e120d479cdf8ec4647b3bbbd | [
"MIT"
] | 3 | 2020-12-03T15:17:30.000Z | 2022-03-18T09:56:22.000Z | src/RMGManager.cc | gipert/remage | 33fbb16786da7723e120d479cdf8ec4647b3bbbd | [
"MIT"
] | null | null | null | #include "RMGManager.hh"
#include <iostream>
#include <string>
#include <vector>
#include <random>
#include "G4Threading.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#endif
#include "G4RunManager.hh"
#include "G4RunManagerFactory.hh"
#include "G4VUserPhysicsList.hh"
#include "G4VisManager.hh"
#include "G4U... | 33.296167 | 96 | 0.737024 | [
"vector"
] |
c97f3fd70eb864ee01c41e0320f02d002857113f | 4,704 | cc | C++ | tests/test_safe_list.cc | apthorpe/FLPR | 9620f28ad1cde553eb8ffa7f2685683763530acb | [
"BSD-3-Clause"
] | null | null | null | tests/test_safe_list.cc | apthorpe/FLPR | 9620f28ad1cde553eb8ffa7f2685683763530acb | [
"BSD-3-Clause"
] | null | null | null | tests/test_safe_list.cc | apthorpe/FLPR | 9620f28ad1cde553eb8ffa7f2685683763530acb | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2019, Triad National Security, LLC. All rights reserved.
This is open source software; you can redistribute it and/or modify it
under the terms of the BSD-3 License. If software is modified to produce
derivative works, such modified software should be clearly marked, so as
not to confus... | 20.906667 | 80 | 0.592049 | [
"vector"
] |
c97fa39f3bfb7b2e9b97eac393d171499fc20d9f | 2,893 | cc | C++ | ycsbc_test.cc | Eagoes/YCSB-C | 6ac37227cee013e88c67fe164c50853ba419a09f | [
"Apache-2.0"
] | null | null | null | ycsbc_test.cc | Eagoes/YCSB-C | 6ac37227cee013e88c67fe164c50853ba419a09f | [
"Apache-2.0"
] | null | null | null | ycsbc_test.cc | Eagoes/YCSB-C | 6ac37227cee013e88c67fe164c50853ba419a09f | [
"Apache-2.0"
] | null | null | null | #include "ycsbc.h"
#include <iostream>
#include <mutex>
#include <string>
using std::cout;
using std::endl;
namespace ycsbc {
class BasicDB : public DB {
public:
void Init() {
std::lock_guard<std::mutex> lock(mutex_);
cout << "A new thread begins working." << endl;
}
int Read(const std::string &tabl... | 25.60177 | 79 | 0.499136 | [
"vector"
] |
c9821b1a794f59364ee78557933ad3f72fdd8490 | 11,076 | cc | C++ | components/safe_browsing_db/database_manager.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | components/safe_browsing_db/database_manager.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/safe_browsing_db/database_manager.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/safe_browsing_db/database_manager.h"
#include "components/safe_browsing_db/v4_get_hash_protocol_manager.h"
#include "content/public/... | 36.675497 | 80 | 0.689148 | [
"vector"
] |
c98237c4923c0da154f2d651701a8e0c1863dfb2 | 769 | hpp | C++ | psu-eeprom.hpp | lxwinspur/inspur-psu-manager | 1f72f7357598ce5c61857debb44203bab437fb2e | [
"Apache-2.0"
] | null | null | null | psu-eeprom.hpp | lxwinspur/inspur-psu-manager | 1f72f7357598ce5c61857debb44203bab437fb2e | [
"Apache-2.0"
] | null | null | null | psu-eeprom.hpp | lxwinspur/inspur-psu-manager | 1f72f7357598ce5c61857debb44203bab437fb2e | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "type.hpp"
#include <string>
#include <vector>
namespace inpsur::psu::eeprom
{
class PsuEEprom
{
public:
PsuEEprom() = delete;
~PsuEEprom() = default;
PsuEEprom(const PsuEEprom&) = delete;
PsuEEprom& operator=(const PsuEEprom&) = delete;
PsuEEprom(PsuEEprom&&) = delete;
... | 19.717949 | 54 | 0.671001 | [
"vector"
] |
c982ec01a90bd12cb145bbc9f846d45b228ab84b | 1,278 | cpp | C++ | Sire Code/same_address_detection.cpp | sjn4048/311MemoryResearch | 01a877eadb9299ee597befed31d7b30b6e39b2e8 | [
"Apache-2.0"
] | 110 | 2018-08-08T22:38:02.000Z | 2022-03-31T02:23:15.000Z | Sire Code/same_address_detection.cpp | wjldGh/311MemoryResearch | 01a877eadb9299ee597befed31d7b30b6e39b2e8 | [
"Apache-2.0"
] | 3 | 2019-12-20T06:29:38.000Z | 2021-11-03T01:02:00.000Z | Sire Code/same_address_detection.cpp | wjldGh/311MemoryResearch | 01a877eadb9299ee597befed31d7b30b6e39b2e8 | [
"Apache-2.0"
] | 42 | 2018-08-15T12:27:30.000Z | 2022-03-09T16:34:11.000Z | #ifdef SIRE_DEBUG // 判断是否debug模式,实际代码用其它方式实现
using std::string; // C++风格,改成C不难。
using std::cout;
using std::endl;
using std::vector;
using std::set;
struct writeInfo
{
string author; // e.g.: "RK"
string function; // e.g.: "代码功能,用于光环修改"
};
const int TOTAL_BYTE_NUM = 10000000; // 改为实际程序内存by... | 31.170732 | 123 | 0.596244 | [
"vector"
] |
c98982dafe908bdb45887a97bc88b8bc1929ef6e | 900 | cpp | C++ | bzoj/p2086.cpp | huanghongxun/ACM | b7595bbe6c0d82ceb271e81fca3e787dc4060a55 | [
"Unlicense"
] | 3 | 2018-06-05T13:57:13.000Z | 2020-08-05T14:19:02.000Z | bzoj/p2086.cpp | huanghongxun/ACM | b7595bbe6c0d82ceb271e81fca3e787dc4060a55 | [
"Unlicense"
] | null | null | null | bzoj/p2086.cpp | huanghongxun/ACM | b7595bbe6c0d82ceb271e81fca3e787dc4060a55 | [
"Unlicense"
] | null | null | null | #include<cmath>
#include<queue>
#include<vector>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<iostream>
#include<algorithm>
#define pa pair<int,int>
#define inf 1000000000
#define eps 1e-8
#define ll long long
using namespace std;
ll read()
{
ll x=0,f=1;char ch=getchar();
while(ch<'0'||ch>'9'){if(ch=... | 17.307692 | 53 | 0.582222 | [
"vector"
] |
c99459f416df6e35d63cc510af40ba55cc21e677 | 58,235 | cxx | C++ | main/svx/source/accessibility/AccessibleShape.cxx | jimjag/openoffice | 74746a22d8cc22b031b00fcd106f4496bf936c77 | [
"Apache-2.0"
] | 1 | 2019-12-27T19:25:34.000Z | 2019-12-27T19:25:34.000Z | main/svx/source/accessibility/AccessibleShape.cxx | ackza/openoffice | d49dfe9c625750e261c7ed8d6ccac8d361bf3418 | [
"Apache-2.0"
] | 1 | 2019-11-25T04:29:25.000Z | 2019-11-25T04:29:25.000Z | main/svx/source/accessibility/AccessibleShape.cxx | ackza/openoffice | d49dfe9c625750e261c7ed8d6ccac8d361bf3418 | [
"Apache-2.0"
] | 6 | 2019-11-19T00:28:25.000Z | 2019-11-22T06:48:49.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 32.460981 | 293 | 0.641916 | [
"object",
"shape",
"vector",
"model",
"transform",
"solid"
] |
c99dc3b66dc351e6b6491e82a0b58d50233028dc | 3,665 | cpp | C++ | src/drawingfunctions.cpp | Hansuzu/JEVisualizer | 576b6e3615c7ad225ddd0fbde3c9fd7ef0ad21a9 | [
"MIT"
] | 1 | 2019-05-05T21:50:00.000Z | 2019-05-05T21:50:00.000Z | src/drawingfunctions.cpp | Hansuzu/JEVisualizer | 576b6e3615c7ad225ddd0fbde3c9fd7ef0ad21a9 | [
"MIT"
] | null | null | null | src/drawingfunctions.cpp | Hansuzu/JEVisualizer | 576b6e3615c7ad225ddd0fbde3c9fd7ef0ad21a9 | [
"MIT"
] | null | null | null | #include <drawingfunctions.h>
#include <log.h>
namespace drawingFunctions{
void drawLine(cv::Point& a, cv::Point& b, cv::Scalar& color, double thickness, cv::Mat* frame){
if (globalSettings::verboseLevel>3) lout << "[4] drawingFunctions::drawLine (<" << a.x << "," << a.y << ">, <" << b.x << "," << b.y << ">, <"... | 45.8125 | 261 | 0.483492 | [
"vector"
] |
c9a229dfae1ba25a9169f46c3e82061dfcdb8120 | 728 | hpp | C++ | source/SnAIk/Renderer.hpp | mkulagowski/snAIk | 9a4d2a9cb4190b93952979a0c4e0670ac6a23869 | [
"MIT"
] | null | null | null | source/SnAIk/Renderer.hpp | mkulagowski/snAIk | 9a4d2a9cb4190b93952979a0c4e0670ac6a23869 | [
"MIT"
] | 8 | 2017-02-23T23:49:24.000Z | 2018-01-06T13:11:25.000Z | source/SnAIk/Renderer.hpp | mkulagowski/snAIk | 9a4d2a9cb4190b93952979a0c4e0670ac6a23869 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <GL/glew.h>
#include <forward_list>
#include "Objects/Primitives/Object.hpp"
class Renderer
{
public:
Renderer();
~Renderer();
bool Init();
void Draw() const;
void AddObject(const Object* obj);
void RemoveAllByTag(const uint8_t& tag);
void MoveCamera(const... | 19.675676 | 60 | 0.721154 | [
"object",
"vector"
] |
c9a9e90deb1f662a57e2748e2a449c829422b250 | 10,441 | cpp | C++ | tests/TonkTestTools.cpp | catid/tonk | e993c9b7d1bf14bd510739036e022cf24c3ecf3c | [
"BSD-3-Clause"
] | 91 | 2018-09-14T12:35:50.000Z | 2021-12-24T18:09:35.000Z | tests/TonkTestTools.cpp | catid/tonk | e993c9b7d1bf14bd510739036e022cf24c3ecf3c | [
"BSD-3-Clause"
] | 6 | 2018-09-15T00:30:37.000Z | 2018-09-18T17:58:22.000Z | tests/TonkTestTools.cpp | catid/tonk | e993c9b7d1bf14bd510739036e022cf24c3ecf3c | [
"BSD-3-Clause"
] | 9 | 2018-09-14T14:04:16.000Z | 2022-03-22T14:36:45.000Z | /** \file
\brief Tonk Test Tools
\copyright Copyright (c) 2017-2018 Christopher A. Taylor. 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 reta... | 33.041139 | 238 | 0.630495 | [
"vector"
] |
c9ab1d725279c2cfd3613df33192ee30ce208316 | 837 | cpp | C++ | examples/simple_ssi_wide.cpp | ajg/synth | 8b9bc9d33f97a40190324108e1e6697f85f19b31 | [
"BSL-1.0"
] | 36 | 2015-01-10T02:23:13.000Z | 2020-05-31T07:41:02.000Z | examples/simple_ssi_wide.cpp | ajg/synth | 8b9bc9d33f97a40190324108e1e6697f85f19b31 | [
"BSL-1.0"
] | 3 | 2015-12-29T04:19:20.000Z | 2018-03-27T04:36:34.000Z | examples/simple_ssi_wide.cpp | ajg/synth | 8b9bc9d33f97a40190324108e1e6697f85f19b31 | [
"BSL-1.0"
] | 6 | 2015-01-10T02:23:18.000Z | 2019-09-23T15:25:33.000Z |
#include <map>
#include <string>
#include <iostream>
#include <ajg/synth.hpp>
#ifndef AJG_SYNTH_CONFIG_NO_WCHAR_T
typedef ajg::synth::default_traits<wchar_t> traits_type;
typedef ajg::synth::engines::ssi::engine<traits_type> engine_type;
typedef ajg::synth::templates::string_template<engine_typ... | 26.15625 | 74 | 0.647551 | [
"render"
] |
c9af61daf1616b8caec16487a3234bbbe1306244 | 1,233 | cpp | C++ | codeforces/316406/f/f.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 3 | 2020-02-08T10:34:16.000Z | 2020-02-09T10:23:19.000Z | codeforces/316406/f/f.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | null | null | null | codeforces/316406/f/f.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 2 | 2020-10-02T19:05:32.000Z | 2021-09-08T07:01:49.000Z | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "/debug.h"
#else
#define db(...)
#endif
#define all(v) v.begin(), v.end()
#define pb push_back
using ll = long long;
const int NAX = 2e5 + 5, MOD = 1000000007;
void solveCase()
{
ll n, k, d;
cin >> n >> k >> d;
vector<ll> a(n);
for (... | 19.571429 | 59 | 0.432279 | [
"vector"
] |
c9b0e9b7961b5c3d93fe1c22cc3e3a8691994f82 | 1,958 | cpp | C++ | UFPR/Lotofacil.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | UFPR/Lotofacil.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | UFPR/Lotofacil.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <bits/stdc++.h>
template<typename T> T gcd(T a, T b) {
if(!b) return a;
return gcd(b, a % b);
}
template<typename T> T lcm(T a, T b) {
return a * b / gcd(a, b);
}
template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; }
template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ... | 24.475 | 70 | 0.358529 | [
"vector"
] |
c9b5fbb8839557364050fd0db4df4fbe2c2b2e6f | 1,009 | cpp | C++ | 05_11_2019/Source.cpp | VgTajdd/interview_problems | b9a3466f617e733414211f7b57f0e7bdef80f6c8 | [
"MIT"
] | null | null | null | 05_11_2019/Source.cpp | VgTajdd/interview_problems | b9a3466f617e733414211f7b57f0e7bdef80f6c8 | [
"MIT"
] | null | null | null | 05_11_2019/Source.cpp | VgTajdd/interview_problems | b9a3466f617e733414211f7b57f0e7bdef80f6c8 | [
"MIT"
] | 2 | 2020-10-23T16:04:48.000Z | 2021-09-18T16:19:41.000Z |
/*
This problem was asked by Stripe.
Given an array of integers, find the first missing positive integer in linear time and constant space. In other words, find the lowest positive integer that does not exist in the array. The array can contain duplicates and negative numbers as well.
For example, the input [3, 4, -... | 22.422222 | 248 | 0.591675 | [
"vector"
] |
c9c7d3bb2ff1b3b50ffe64fed6664e80dae39e87 | 1,503 | cpp | C++ | Source/BasicPlayFab/Private/BasicPlayFabServerComponent.cpp | narthur157/basic-ue4-playfab-matchmaking | 4c4dfb48d944387a74ce35f9a8faece23a8e2b01 | [
"MIT"
] | 2 | 2020-04-27T10:26:11.000Z | 2021-05-08T09:37:16.000Z | Source/BasicPlayFab/Private/BasicPlayFabServerComponent.cpp | narthur157/basic-ue4-playfab-matchmaking | 4c4dfb48d944387a74ce35f9a8faece23a8e2b01 | [
"MIT"
] | null | null | null | Source/BasicPlayFab/Private/BasicPlayFabServerComponent.cpp | narthur157/basic-ue4-playfab-matchmaking | 4c4dfb48d944387a74ce35f9a8faece23a8e2b01 | [
"MIT"
] | 1 | 2020-05-09T21:37:08.000Z | 2020-05-09T21:37:08.000Z | #include "BasicPlayFabServerComponent.h"
#include "GameFramework/GameModeBase.h"
#include "GameFramework/GameSession.h"
#include "IBasicPlayFab.h"
#include "PlayFab.h"
#include "Kismet/GameplayStatics.h"
#include "PlayFabServerDataModels.h"
#include "Core/PlayFabServerAPI.h"
#include <PlayFabEnums.h>
#include <PlayFabS... | 27.327273 | 152 | 0.794411 | [
"vector"
] |
c9c845f5486fc817874ba6fce56538349fb188a2 | 1,552 | hpp | C++ | src/utils/io_utils.hpp | ParBLiSS/read_partitioning | ba2cd23104e38a76347171644afe456b6663f7be | [
"Apache-2.0"
] | 1 | 2018-01-10T01:10:14.000Z | 2018-01-10T01:10:14.000Z | src/utils/io_utils.hpp | ParBLiSS/read_partitioning | ba2cd23104e38a76347171644afe456b6663f7be | [
"Apache-2.0"
] | null | null | null | src/utils/io_utils.hpp | ParBLiSS/read_partitioning | ba2cd23104e38a76347171644afe456b6663f7be | [
"Apache-2.0"
] | null | null | null | #ifndef _IO_UTILS_H
#define _IO_UTILS_H
#include <vector>
#include <string>
#include <cstdint>
#include <algorithm>
#include "mxx/comm.hpp"
#include "mxx/shift.hpp"
template<typename SizeType, typename T>
static inline SizeType block_low(T rank, T nproc,
SizeType n){
return (((Si... | 28.218182 | 64 | 0.579253 | [
"vector"
] |
c9ca89544f8b92ce81e72e4a3c12299c297d3843 | 6,371 | cc | C++ | agp-7.1.0-alpha01/tools/base/profiler/native/perfd/event/event_cache.cc | jomof/CppBuildCacheWorkInProgress | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | [
"Apache-2.0"
] | 1 | 2020-10-04T19:30:22.000Z | 2020-10-04T19:30:22.000Z | agp-7.1.0-alpha01/tools/base/profiler/native/perfd/event/event_cache.cc | jomof/CppBuildCacheWorkInProgress | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | [
"Apache-2.0"
] | null | null | null | agp-7.1.0-alpha01/tools/base/profiler/native/perfd/event/event_cache.cc | jomof/CppBuildCacheWorkInProgress | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | [
"Apache-2.0"
] | 2 | 2020-10-04T19:30:24.000Z | 2020-11-04T05:58:17.000Z | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 38.149701 | 80 | 0.685136 | [
"vector"
] |
c9dda6e3f5462ed11648c10ea3bd613efa230027 | 11,661 | hpp | C++ | include/ShaderWriter/Helpers.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 148 | 2018-10-11T16:51:37.000Z | 2022-03-26T13:55:08.000Z | include/ShaderWriter/Helpers.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 30 | 2019-11-30T11:43:07.000Z | 2022-01-25T21:09:47.000Z | include/ShaderWriter/Helpers.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 8 | 2020-04-17T13:18:30.000Z | 2021-11-20T06:24:44.000Z | /*
See LICENSE file in root folder
*/
#ifndef ___SDW_Helpers_H___
#define ___SDW_Helpers_H___
#include "ShaderWriterPrerequisites.hpp"
#include <ShaderAST/Expr/ExprIdentifier.hpp>
#include <ShaderAST/Expr/ExprList.hpp>
#include <ShaderAST/Expr/ExprLiteral.hpp>
#include <ShaderAST/Expr/SwizzleKind.hpp>
#include <Shade... | 37.495177 | 79 | 0.736987 | [
"vector"
] |
c9defcb6ecd297705f72766596eede3e4dfa0f6f | 1,027 | cpp | C++ | 1341B.cpp | felikjunvianto/kfile-codeforces-submissions | 1b53da27a294a12063b0912e12ad32efe24af678 | [
"MIT"
] | null | null | null | 1341B.cpp | felikjunvianto/kfile-codeforces-submissions | 1b53da27a294a12063b0912e12ad32efe24af678 | [
"MIT"
] | null | null | null | 1341B.cpp | felikjunvianto/kfile-codeforces-submissions | 1b53da27a294a12063b0912e12ad32efe24af678 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#include <map>
#include <set>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define p... | 16.564516 | 56 | 0.565725 | [
"vector"
] |
5185ea08fdfd0447e420f6955027dc5abcf03a9e | 24,624 | cpp | C++ | engine/source/Steel/UI/UIElements/UIInputField.cpp | filscorporation/Iron | 954a45bad00545ec4a02571b5c0e9976891f72ae | [
"MIT"
] | 4 | 2021-01-26T07:37:43.000Z | 2021-04-07T13:57:37.000Z | engine/source/Steel/UI/UIElements/UIInputField.cpp | filscorporation/Iron | 954a45bad00545ec4a02571b5c0e9976891f72ae | [
"MIT"
] | null | null | null | engine/source/Steel/UI/UIElements/UIInputField.cpp | filscorporation/Iron | 954a45bad00545ec4a02571b5c0e9976891f72ae | [
"MIT"
] | 1 | 2021-04-04T19:01:33.000Z | 2021-04-04T19:01:33.000Z | #include <algorithm>
#include <string>
#include <sstream>
#include "UIInputField.h"
#include "../UIQuadRenderer.h"
#include "../../Core/Input.h"
#include "../../Core/Log.h"
#include "../../Core/Time.h"
#include "../../Scene/SceneHelper.h"
#include "../../Scripting/ScriptingCore.h"
#include "../../Scripting/ScriptingSy... | 32.104302 | 138 | 0.65493 | [
"vector"
] |
518b5e0230986ae3da0da4a5db24eaac2d42fdd0 | 4,339 | cpp | C++ | compute/blas_enhance/src/mvm.cpp | ysh329/bolt | 5c70e0ab68599331492f97cca197654ae4131216 | [
"MIT"
] | 1 | 2020-12-21T07:09:07.000Z | 2020-12-21T07:09:07.000Z | compute/blas_enhance/src/mvm.cpp | ysh329/bolt | 5c70e0ab68599331492f97cca197654ae4131216 | [
"MIT"
] | null | null | null | compute/blas_enhance/src/mvm.cpp | ysh329/bolt | 5c70e0ab68599331492f97cca197654ae4131216 | [
"MIT"
] | null | null | null | // Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use,... | 34.436508 | 149 | 0.705923 | [
"vector"
] |
518c4ca58de390e856e998d1220954b882a8234e | 2,332 | cpp | C++ | src/genetic_algorithm/organism.cpp | nocoinman/GA-aided-NMPC-tuning | df000007abe2d719a068553462de8e82b0b9a38b | [
"MIT"
] | 6 | 2021-07-20T08:40:39.000Z | 2022-02-23T21:08:36.000Z | src/genetic_algorithm/organism.cpp | yangfuyuan/GA-aided-NMPC-tuning | df000007abe2d719a068553462de8e82b0b9a38b | [
"MIT"
] | null | null | null | src/genetic_algorithm/organism.cpp | yangfuyuan/GA-aided-NMPC-tuning | df000007abe2d719a068553462de8e82b0b9a38b | [
"MIT"
] | 6 | 2021-07-20T06:11:17.000Z | 2022-03-16T00:58:58.000Z | #include "genetic_algorithm/organism.h"
#include "utils/config_handler.hpp"
namespace ga
{
Organism::Organism()
{
const auto mpcConfig = config::ConfigHandler<config::GA>::getMpcConfig();
m_genome.addChoromosome(mpcConfig.weight_bounds.w_vel.first, mpcConfig.weight_bounds.w_vel.second);
... | 30.285714 | 115 | 0.656947 | [
"model"
] |
518dfd8ed4f671002144c1a311d9cfc0e07743fb | 742 | cpp | C++ | STL/partition.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 77 | 2019-10-28T05:38:51.000Z | 2022-03-15T01:53:48.000Z | STL/partition.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 3 | 2019-12-26T15:39:55.000Z | 2020-10-29T14:55:50.000Z | STL/partition.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 24 | 2020-01-08T04:12:52.000Z | 2022-03-12T22:26:07.000Z | #include<iostream>
#include<vector>
#include <bits/stdc++.h>
using namespace std;
int main(){
vector<int> myints = {1,2,3,4,5,6,7,8,9,10};
for(int x: myints){
cout<< x <<" ";
}
cout<<"\n";
//Partition will place values based upon the provided function's condition while trying to maint... | 22.484848 | 113 | 0.568733 | [
"vector"
] |
518f063335ef592293362ecc18b6efeef7d902a2 | 5,264 | cc | C++ | src/component/hyptextview.cc | thelinuxpoint/hypertext | a2f11d0e6530294a1bb6cbb3346dcea4c1db876e | [
"MIT"
] | null | null | null | src/component/hyptextview.cc | thelinuxpoint/hypertext | a2f11d0e6530294a1bb6cbb3346dcea4c1db876e | [
"MIT"
] | null | null | null | src/component/hyptextview.cc | thelinuxpoint/hypertext | a2f11d0e6530294a1bb6cbb3346dcea4c1db876e | [
"MIT"
] | null | null | null | #include "../header/hyptextview.h"
hyp::HypTextView::HypTextView(std::string name,std::string path,Gtk::Label *label,int id){
Gsv::init();
Gsv::View();
this->file_name = name;
this->path = path;
this->id = id;
Gdk::RGBA grey;
grey.set("#272822");
Glib::RefPtr<Gsv::StyleSchemeManager> style = Gsv::Style... | 34.181818 | 134 | 0.669643 | [
"vector"
] |
5191dbf29ec12f96ac1bdbc66445b053224e955c | 1,855 | cpp | C++ | src/visualize.cpp | Damowerko/octomap-navigation | 3ab99db3adcb5ba83449523585a819f9d34d2b38 | [
"MIT"
] | null | null | null | src/visualize.cpp | Damowerko/octomap-navigation | 3ab99db3adcb5ba83449523585a819f9d34d2b38 | [
"MIT"
] | null | null | null | src/visualize.cpp | Damowerko/octomap-navigation | 3ab99db3adcb5ba83449523585a819f9d34d2b38 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <tuple>
#include "MatlabEngine.hpp"
#include "MatlabDataArray.hpp"
#include "octonav/visualize.hpp"
using namespace std;
using namespace octomap;
using matlab::data::Array;
std::unique_ptr<matlab::engine::MATLABEngine> mlp = matlab::engine::startMATLAB();
tuple<Array, A... | 33.125 | 100 | 0.62965 | [
"vector"
] |
51954ce059ff9923f48fc3298f4897895da0a5cf | 11,154 | cc | C++ | webkit/fileapi/sandbox_mount_point_provider.cc | meego-tablet-ux/meego-app-browser | 0f4ef17bd4b399c9c990a2f6ca939099495c2b9c | [
"BSD-3-Clause"
] | 1 | 2015-10-12T09:14:22.000Z | 2015-10-12T09:14:22.000Z | webkit/fileapi/sandbox_mount_point_provider.cc | meego-tablet-ux/meego-app-browser | 0f4ef17bd4b399c9c990a2f6ca939099495c2b9c | [
"BSD-3-Clause"
] | null | null | null | webkit/fileapi/sandbox_mount_point_provider.cc | meego-tablet-ux/meego-app-browser | 0f4ef17bd4b399c9c990a2f6ca939099495c2b9c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T07:22:28.000Z | 2020-11-04T07:22:28.000Z | // Copyright (c) 2011 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 "webkit/fileapi/sandbox_mount_point_provider.h"
#include "base/logging.h"
#include "base/memory/scoped_callback_factory.h"
#include "base/me... | 34.110092 | 80 | 0.719025 | [
"vector"
] |
519c47b65ffaa01de45da4a5e74495d340040629 | 22,560 | hpp | C++ | named-pipe-server.hpp | NewYaroslav/simple-named-pipe-server | 9dd703aba53ee37f0988d70badb4178c7155b380 | [
"MIT"
] | null | null | null | named-pipe-server.hpp | NewYaroslav/simple-named-pipe-server | 9dd703aba53ee37f0988d70badb4178c7155b380 | [
"MIT"
] | null | null | null | named-pipe-server.hpp | NewYaroslav/simple-named-pipe-server | 9dd703aba53ee37f0988d70badb4178c7155b380 | [
"MIT"
] | 2 | 2021-05-13T21:25:07.000Z | 2021-09-28T18:37:23.000Z | /*
* simple-named-pipe-server - C++ server and client library Named Pipe
*
* Copyright (c) 2020 Elektro Yar. Email: git.electroyar@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software ... | 38.762887 | 128 | 0.476817 | [
"vector"
] |
51a4219c6ffc3f510ddd1c17da326534fce8c095 | 690 | hpp | C++ | include/data.hpp | siarheidubouski/mnist_ml | e06d91ef37f5cd8e40e0279d9ac932426758de00 | [
"MIT"
] | null | null | null | include/data.hpp | siarheidubouski/mnist_ml | e06d91ef37f5cd8e40e0279d9ac932426758de00 | [
"MIT"
] | null | null | null | include/data.hpp | siarheidubouski/mnist_ml | e06d91ef37f5cd8e40e0279d9ac932426758de00 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <cstdint>
#include <cstdio>
#include <memory>
class data {
private:
using vec_of_uint8 = std::vector<uint8_t>;
std::shared_ptr<vec_of_uint8> feature_vector; // No class at end
std::uint8_t label;
int enum_label; // A -> 1, B -> 2
public:
data();
... | 25.555556 | 68 | 0.692754 | [
"vector"
] |
51aa0cb5e362a74b06cb6f38f80eb6b052218afe | 878 | hpp | C++ | include/triangle_energies.hpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | 1 | 2021-01-23T05:20:09.000Z | 2021-01-23T05:20:09.000Z | include/triangle_energies.hpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | null | null | null | include/triangle_energies.hpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | null | null | null | // Copyright (C) 2019 David Harmon and Artificial Necessity
// This code distributed under zlib, see LICENSE.txt for terms.
#pragma once
#include "energy.hpp"
class TriangleOrthoStrain : public Energy {
using Matrix3x2 = Eigen::Matrix<double,3,2>;
using Vector6d = Eigen::Matrix<double,6,1>;
public:
... | 23.105263 | 76 | 0.670843 | [
"vector"
] |
51ac4af164e78a860ac5ced921dea90e805dcaec | 1,638 | cc | C++ | codebook/graph/Max_Flow.cc | jeffrey-xiao/acm-notebook | b8588429f2cb727f35e346e649e544bb1e67badd | [
"Apache-2.0",
"MIT"
] | 1 | 2020-02-19T14:02:54.000Z | 2020-02-19T14:02:54.000Z | codebook/graph/Max_Flow.cc | jeffrey-xiao/acm-notebook | b8588429f2cb727f35e346e649e544bb1e67badd | [
"Apache-2.0",
"MIT"
] | null | null | null | codebook/graph/Max_Flow.cc | jeffrey-xiao/acm-notebook | b8588429f2cb727f35e346e649e544bb1e67badd | [
"Apache-2.0",
"MIT"
] | 3 | 2017-11-28T07:23:27.000Z | 2020-03-01T07:46:23.000Z | /* Time: O(EV^2); O(min(V^(2/3), E^(1/2))E) for unit capacities
* Memory: O(V + E)
*/
#include <bits/stdc++.h>
using namespace std;
struct Edge {
int dest, cost, next;
Edge(int dest, int cost, int next) : dest(dest), cost(cost), next(next) {}
};
struct Network {
int N, src, sink;
vector<int> last, dist;
... | 21.84 | 84 | 0.47619 | [
"vector"
] |
51ad71cc735fafab71722b0ed80ab10de56e0517 | 4,865 | cpp | C++ | debugger/src/disassembly_view.cpp | emrsmsrli/gameboi | 6448722529bc64184e30a945f0e5ec4203265e10 | [
"MIT"
] | 23 | 2019-08-27T13:54:27.000Z | 2022-01-21T08:38:14.000Z | debugger/src/disassembly_view.cpp | emrsmsrli/gameboi | 6448722529bc64184e30a945f0e5ec4203265e10 | [
"MIT"
] | 21 | 2020-02-22T20:37:16.000Z | 2020-08-30T14:52:48.000Z | debugger/src/disassembly_view.cpp | emrsmsrli/gameboi | 6448722529bc64184e30a945f0e5ec4203265e10 | [
"MIT"
] | null | null | null | #include "debugger/disassembly_view.h"
#include <vector>
#include "debugger/cpu_debugger.h"
#include "gameboy/bus.h"
#include "gameboy/cartridge.h"
#include "gameboy/memory/memory_constants.h"
#include "gameboy/memory/mmu.h"
#include "imgui.h"
namespace gameboy {
disassembly_view::disassembly_view(const observer<bu... | 35.772059 | 120 | 0.571223 | [
"vector"
] |
51b03a77aceddbbd2bb30295c0827958a0524cc2 | 7,010 | cc | C++ | ftr/pre-render.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 86 | 2017-11-21T01:05:30.000Z | 2020-05-21T12:30:31.000Z | ftr/pre-render.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 14 | 2020-10-16T11:30:57.000Z | 2021-04-16T06:10:06.000Z | ftr/pre-render.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 13 | 2017-11-21T10:18:53.000Z | 2019-10-18T09:15:55.000Z | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2015, xuewen.chu
* 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... | 24.858156 | 82 | 0.623538 | [
"render"
] |
51b6e9893255533bdea7c15c0c66fe849fec118b | 1,910 | cpp | C++ | src/Utils.cpp | dtegl/the_string_phone | ef9b98608c927102cd0e88bff3255693bc9154ef | [
"MIT"
] | null | null | null | src/Utils.cpp | dtegl/the_string_phone | ef9b98608c927102cd0e88bff3255693bc9154ef | [
"MIT"
] | null | null | null | src/Utils.cpp | dtegl/the_string_phone | ef9b98608c927102cd0e88bff3255693bc9154ef | [
"MIT"
] | null | null | null | //
// Utils.cpp
// karplusInstrument
//
// Created by djst on 12/20/14.
//
//
#include "Utils.h"
void Utils::setSampleRate(float fs) {
this->fs = fs;
}
void Utils::bilinearTransformOrder1(float acoefs[], float dcoefs[]) {
float a1,b0,b1,norm,b0z,b1z,a1z;
// Pre-warp center frequency
float T =... | 23.580247 | 84 | 0.486387 | [
"transform"
] |
51b9882c47fbd92e6031d0aedf7b5f1e074537ac | 8,377 | cc | C++ | exporters/ostream/test/ostream_metric_test.cc | timmyreilly/opentelemetry-cpp | 84394fda87e80697ee0534311021926b529c8342 | [
"Apache-2.0"
] | null | null | null | exporters/ostream/test/ostream_metric_test.cc | timmyreilly/opentelemetry-cpp | 84394fda87e80697ee0534311021926b529c8342 | [
"Apache-2.0"
] | 2 | 2022-03-21T12:18:03.000Z | 2022-03-30T11:36:38.000Z | exporters/ostream/test/ostream_metric_test.cc | timmyreilly/opentelemetry-cpp | 84394fda87e80697ee0534311021926b529c8342 | [
"Apache-2.0"
] | 1 | 2022-02-28T05:02:36.000Z | 2022-02-28T05:02:36.000Z | // Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
#include <gtest/gtest.h>
#ifndef ENABLE_METRICS_PREVIEW
# include "opentelemetry/exporters/ostream/metric_exporter.h"
# include "opentelemetry/sdk/metrics/aggregation/default_aggregation.h"
# include "opentelemetry/sdk/metrics/aggregatio... | 39.701422 | 97 | 0.611317 | [
"vector"
] |
51bd40f04cf7bb338c395d528fc6e967825b93e4 | 664 | cpp | C++ | clic/src/tier1/cleCopyKernel.cpp | StRigaud/CLIc_prototype | 83fe15b3f8406c4e5a1f415fcba29dc30b12cad3 | [
"BSD-3-Clause"
] | 1 | 2021-01-04T14:34:45.000Z | 2021-01-04T14:34:45.000Z | clic/src/tier1/cleCopyKernel.cpp | StRigaud/CLIc_prototype | 83fe15b3f8406c4e5a1f415fcba29dc30b12cad3 | [
"BSD-3-Clause"
] | null | null | null | clic/src/tier1/cleCopyKernel.cpp | StRigaud/CLIc_prototype | 83fe15b3f8406c4e5a1f415fcba29dc30b12cad3 | [
"BSD-3-Clause"
] | 1 | 2021-01-02T17:27:35.000Z | 2021-01-02T17:27:35.000Z |
#include "cleCopyKernel.hpp"
namespace cle
{
CopyKernel::CopyKernel(std::shared_ptr<GPU> t_gpu) :
Kernel( t_gpu,
"copy",
{"dst" , "src"}
)
{
this->m_Sources.insert({this->m_KernelName + "_2d", this->m_OclHeader2d});
this->m_Sources.insert({this->m_KernelName + "_3d", this->m... | 18.971429 | 78 | 0.631024 | [
"object"
] |
51bef7d452220b39ac4fc69b8a4b9cd2c640189c | 8,796 | cpp | C++ | core/src/collections/DynamicValue.cpp | kodxana/lib-ledger-core | 96f04d378b7747e1b80b49da7ae637eb33b23678 | [
"MIT"
] | null | null | null | core/src/collections/DynamicValue.cpp | kodxana/lib-ledger-core | 96f04d378b7747e1b80b49da7ae637eb33b23678 | [
"MIT"
] | null | null | null | core/src/collections/DynamicValue.cpp | kodxana/lib-ledger-core | 96f04d378b7747e1b80b49da7ae637eb33b23678 | [
"MIT"
] | null | null | null | /*
*
* DynamicValue
* ledger-core
*
* Created by Pierre Pollastri on 08/03/2017.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* 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 ... | 39.800905 | 129 | 0.465894 | [
"object"
] |
51c20a134f895a62732fe351bad68caf0e16b1e0 | 4,652 | hpp | C++ | src/libraries/core/cfdTools/general/SRF/derivedFvPatchFields/SRFFreestreamVelocityFvPatchVectorField/SRFFreestreamVelocityFvPatchVectorField.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/cfdTools/general/SRF/derivedFvPatchFields/SRFFreestreamVelocityFvPatchVectorField/SRFFreestreamVelocityFvPatchVectorField.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/cfdTools/general/SRF/derivedFvPatchFields/SRFFreestreamVelocityFvPatchVectorField/SRFFreestreamVelocityFvPatchVectorField.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 28.89441 | 80 | 0.540198 | [
"vector",
"model"
] |
51c2b88291a236c638cad71505696f180c17b0df | 9,468 | cpp | C++ | src/driver_vasiliy.cpp | okawo80085/cpp_y2_steamvr_driver | 2ab256ea39ac1c75a3886e39e1f39501ad1a8185 | [
"MIT"
] | 1 | 2020-12-13T15:43:25.000Z | 2020-12-13T15:43:25.000Z | src/driver_vasiliy.cpp | okawo80085/cpp_y2_steamvr_driver | 2ab256ea39ac1c75a3886e39e1f39501ad1a8185 | [
"MIT"
] | 1 | 2020-11-29T16:45:43.000Z | 2020-12-13T15:51:45.000Z | src/driver_vasiliy.cpp | okawo80085/cpp_y2_steamvr_driver | 2ab256ea39ac1c75a3886e39e1f39501ad1a8185 | [
"MIT"
] | 1 | 2020-12-13T15:43:29.000Z | 2020-12-13T15:43:29.000Z | #include "openvr_driver.h"
#include "driverlog.h"
#include <chrono>
#include <thread>
#include <vector>
#if defined(_WIN32)
#include "ref/receiver_win.h"
#elif defined(__linux__)
#include "ref/receiver_linux.h"
#define _stricmp strcasecmp
#endif
#if defined(_WINDOWS)
#include <windows.h>
#endif
#include <cmath>... | 30.057143 | 131 | 0.622201 | [
"vector",
"3d"
] |
51c4ba6fe0b1f61cc7bcf50da4d6c08e3a649db6 | 6,141 | cxx | C++ | src/Cxx/Modelling/FinanceFieldData.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 81 | 2020-08-10T01:44:30.000Z | 2022-03-23T06:46:36.000Z | src/Cxx/Modelling/FinanceFieldData.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 2 | 2020-09-12T17:33:52.000Z | 2021-04-15T17:33:09.000Z | src/Cxx/Modelling/FinanceFieldData.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 27 | 2020-08-17T07:09:30.000Z | 2022-02-15T03:44:58.000Z | #include <vtkActor.h>
#include <vtkAxes.h>
#include <vtkCamera.h>
#include <vtkDataObjectReader.h>
#include <vtkDataObjectToDataSetFilter.h>
#include <vtkFieldDataToAttributeDataFilter.h>
#include <vtkFollower.h>
#include <vtkGaussianSplatter.h>
#include <vtkImageData.h>
#include <vtkMarchingContourFilter.h>
#include <... | 34.5 | 79 | 0.742062 | [
"render"
] |
51c7488f982a7e87fc2e9e9175f359006261dd27 | 5,772 | cpp | C++ | main.cpp | BenningtonCS/Sashank_Aryal_Raytracer_C | 7c95b4a76c600ed0a0939a4a01bdba8531f8c8ab | [
"MIT"
] | null | null | null | main.cpp | BenningtonCS/Sashank_Aryal_Raytracer_C | 7c95b4a76c600ed0a0939a4a01bdba8531f8c8ab | [
"MIT"
] | null | null | null | main.cpp | BenningtonCS/Sashank_Aryal_Raytracer_C | 7c95b4a76c600ed0a0939a4a01bdba8531f8c8ab | [
"MIT"
] | null | null | null | #include <iostream>
#include "Scene/Scene.h"
#include "Shapes/Plane/Plane.h"
#include "Shapes/Box/Box.h"
using namespace std;
const Vector3D getRandomPositionBetween(const Vector3D & initial, const Vector3D & final);
const ColorRGB getRandomColor();
const Material getRandomMaterial();
/*
* TO DO
* Replace all strin... | 36.531646 | 149 | 0.693867 | [
"render"
] |
51d5ff7bbf26f2a61423907da79f5875794a0291 | 680 | cpp | C++ | baekjoon/4716/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | 4 | 2020-02-02T08:34:46.000Z | 2021-10-01T11:21:17.000Z | baekjoon/4716/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | 1 | 2021-09-04T14:03:50.000Z | 2021-09-04T14:03:50.000Z | baekjoon/4716/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(void){
while(1){
int n, a[2];
scanf("%d %d %d", &n, &a[0], &a[1]);
if(n==0) break;
int ans = 0;
vector<pair<pair<int ,int>, pair<int, int>>> v;
for(int i=0;i<n;i++){
int k, q, p;
scanf("%d %d %d", &k, &q, &p);
v.push_b... | 20 | 76 | 0.460294 | [
"vector"
] |
51d7ebaa32acdd13a36002dc8867fb81f9ccd692 | 1,965 | cc | C++ | cast/receiver/channel/testing/device_auth_test_helpers.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | 1 | 2020-09-22T05:59:36.000Z | 2020-09-22T05:59:36.000Z | cast/receiver/channel/testing/device_auth_test_helpers.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | null | null | null | cast/receiver/channel/testing/device_auth_test_helpers.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | 1 | 2022-02-03T11:05:44.000Z | 2022-02-03T11:05:44.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cast/receiver/channel/testing/device_auth_test_helpers.h"
#include "gtest/gtest.h"
namespace openscreen {
namespace cast {
void InitStaticCre... | 37.788462 | 76 | 0.666158 | [
"vector"
] |
51d8125cf43492fb88bea91852a45410b6cb19be | 3,510 | cpp | C++ | component/oai-nrf/src/api-server/impl/SubscriptionIDDocumentApiImpl.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | component/oai-nrf/src/api-server/impl/SubscriptionIDDocumentApiImpl.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | component/oai-nrf/src/api-server/impl/SubscriptionIDDocumentApiImpl.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | /**
* NRF NFManagement Service
* NRF NFManagement Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.1.0.alpha-1
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tec... | 35.454545 | 79 | 0.704558 | [
"vector",
"model"
] |
51d99009e3c7a8af4b88d212ec754f707ff248ed | 9,223 | cpp | C++ | project/benchmark/main_benchmark.cpp | wilsonjefferson/DSSC_AP | 18010e3166e4477234958202edec1e3f63b418e3 | [
"MIT"
] | null | null | null | project/benchmark/main_benchmark.cpp | wilsonjefferson/DSSC_AP | 18010e3166e4477234958202edec1e3f63b418e3 | [
"MIT"
] | null | null | null | project/benchmark/main_benchmark.cpp | wilsonjefferson/DSSC_AP | 18010e3166e4477234958202edec1e3f63b418e3 | [
"MIT"
] | 1 | 2021-06-24T13:30:36.000Z | 2021-06-24T13:30:36.000Z | /**
@file main_benchmark.cpp
@brief Main file for Benchmark
@authors Thomas Deponte, Pietro Morichetti, Victor Plesco
@date 01/01/1970
*/
/** < BinarySearchTree Class containing Iterator and Node and Benchmark Class containing Timer. */
#include "../binary_search_tree/BinarySearchTree.h"
#inclu... | 29.944805 | 184 | 0.540605 | [
"vector"
] |
51da2ba2498734f054b3df6b9966373c98854ab6 | 946 | cpp | C++ | menus/form_menu/form_menu.cpp | alecmus/lecui | 080d06533878394c20c65e333dc892afafdbf910 | [
"MIT"
] | 5 | 2021-05-02T12:13:45.000Z | 2022-01-31T19:51:32.000Z | menus/form_menu/form_menu.cpp | alecmus/lecui | 080d06533878394c20c65e333dc892afafdbf910 | [
"MIT"
] | 11 | 2021-05-16T14:56:01.000Z | 2021-08-01T17:47:04.000Z | menus/form_menu/form_menu.cpp | alecmus/lecui | 080d06533878394c20c65e333dc892afafdbf910 | [
"MIT"
] | 2 | 2021-05-15T20:16:46.000Z | 2021-06-20T12:58:51.000Z | //
// form_menu.cpp - form menu implementation
//
// lecui user interface library, part of the liblec library
// Copyright (c) 2019 Alec Musasa (alecmus at live dot com)
//
// Released under the MIT license. For full details see the
// file LICENSE.txt
//
#include "../form_menu.h"
#include "../../form_impl/form_impl.h... | 22.52381 | 60 | 0.640592 | [
"vector"
] |
51dd0e1b2db0ee07cff238c7c91ea4002d6b9ee6 | 10,653 | cpp | C++ | common/src/usb-mouse.cpp | DigitalMediaProfessionals/application | 63d5f90a152d62cca2a8daa33158950de463d2c2 | [
"Apache-2.0"
] | null | null | null | common/src/usb-mouse.cpp | DigitalMediaProfessionals/application | 63d5f90a152d62cca2a8daa33158950de463d2c2 | [
"Apache-2.0"
] | 16 | 2018-12-13T12:10:13.000Z | 2019-07-29T08:24:13.000Z | common/src/usb-mouse.cpp | DigitalMediaProfessionals/application | 63d5f90a152d62cca2a8daa33158950de463d2c2 | [
"Apache-2.0"
] | 2 | 2019-02-08T13:02:24.000Z | 2019-04-02T08:15:30.000Z | /*
* Copyright 2018 Digital Media Professionals 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 a... | 28.791892 | 121 | 0.624237 | [
"object",
"vector"
] |
51e0daef637ff07cfcf4a484c00fb5a76535f58b | 779 | cpp | C++ | hardware_applications/color_binning/color_binning.cpp | aggarwalva/software-training | 921e89e459f7d92b118a10a8e78fa543818a1e87 | [
"MIT"
] | null | null | null | hardware_applications/color_binning/color_binning.cpp | aggarwalva/software-training | 921e89e459f7d92b118a10a8e78fa543818a1e87 | [
"MIT"
] | null | null | null | hardware_applications/color_binning/color_binning.cpp | aggarwalva/software-training | 921e89e459f7d92b118a10a8e78fa543818a1e87 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
#include <STSL/RJRobot.h>
using namespace std;
const int black_thresh = 2000;
int main() {
RJRobot robot(RobotType::REAL);
robot.SetDriveMotors(100, 100);
vector<int> values;
int value;
do {
value = robot.GetLineValue(LineSensor::CENTER);
... | 22.911765 | 106 | 0.703466 | [
"vector"
] |
51e55307652915b582bc4059680f796701299c48 | 16,276 | cpp | C++ | source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/dike/Fpl_Mech_Piping_Schmertmann_Dike.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/dike/Fpl_Mech_Piping_Schmertmann_Dike.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/dike/Fpl_Mech_Piping_Schmertmann_Dike.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | #include "source_code\Fpl_Headers_Precompiled.h"
//#include "Fpl_Mech_Piping_Schmertmann_Dike.h"
//Default constructor
Fpl_Mech_Piping_Schmertmann_Dike::Fpl_Mech_Piping_Schmertmann_Dike(void){
this->failure=0;
this->buff_res=0.0;
this->permeable_zone=NULL;
this->sellmeijer_mechanism=NULL;
this->d_10.set_unit(l... | 36.168889 | 206 | 0.74404 | [
"geometry"
] |
51e79d56688ef5be698427b136a5ab2dcfd1f772 | 10,771 | cxx | C++ | src/mesh.cxx | synchro--/Flappy-Ship | be301cedbe947e3ebea124958e3cc502ac2cb745 | [
"MIT"
] | 1 | 2019-11-23T22:56:56.000Z | 2019-11-23T22:56:56.000Z | src/mesh.cxx | synchro--/flappy-ship | be301cedbe947e3ebea124958e3cc502ac2cb745 | [
"MIT"
] | null | null | null | src/mesh.cxx | synchro--/flappy-ship | be301cedbe947e3ebea124958e3cc502ac2cb745 | [
"MIT"
] | null | null | null | #include "agl.h"
#include <algorithm>
#include <fstream>
#include <sstream>
#include <string>
#include <cstdio>
#include <cstring>
/*
* Class implementing a Mesh. See agl.h
*/
namespace agl {
// Face constructor, compute the normal of the face too
Face::Face(Vertex *v1, Vertex *v2, Vertex *v3) : verts{v1, v2, v3}... | 26.143204 | 77 | 0.499025 | [
"mesh",
"render",
"vector"
] |
51fd38466c9d58e4824888d691bd161ba5add8ec | 1,762 | cpp | C++ | dataset/test/modification/1466_rename/8/transformation_1.cpp | Karina5005/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | 3 | 2022-02-15T00:29:39.000Z | 2022-03-15T08:36:44.000Z | dataset/test/modification/1466_rename/8/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | dataset/test/modification/1466_rename/8/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | //Adarsh Priyadarshi
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define min(a,b) ((a<b)?a:b)
#define max(a,b) ((a>b)?a:b)
#define nl "\n"
#define pb push_back
#define mp make_pair
#define vll vector<ll>
#define pii vector<pair<int,int>>
#define mod 1000000007
#define rep(i,a,b) ... | 21.228916 | 78 | 0.475028 | [
"vector"
] |
a4036aa02c86bb85efd6b385675c3e32e038b5cc | 3,843 | cc | C++ | calibrate.cc | yamaguchi-am/opencv_calibration | 9b9ddeaccdebfe19817cfcbdc62fc69fe7608bde | [
"MIT"
] | null | null | null | calibrate.cc | yamaguchi-am/opencv_calibration | 9b9ddeaccdebfe19817cfcbdc62fc69fe7608bde | [
"MIT"
] | null | null | null | calibrate.cc | yamaguchi-am/opencv_calibration | 9b9ddeaccdebfe19817cfcbdc62fc69fe7608bde | [
"MIT"
] | null | null | null | #include <gflags/gflags.h>
#include <stdio.h>
#include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/opencv.hpp>
const char* WINDOW_NAME = "Calibration";
DEFINE_int32(rows, 7, "number of rows in calibration chart");
DEFINE_int32(cols, 10, "number of c... | 31.5 | 79 | 0.634921 | [
"geometry",
"object",
"vector"
] |
a4042670d68739b9b5a8b66ef1d83e87c379782a | 933 | cpp | C++ | Graph(SCC,TopoSort)_Vjudge Contest/Uva_Beverages.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | 5 | 2021-02-14T17:48:21.000Z | 2022-01-24T14:29:44.000Z | Graph(SCC,TopoSort)_Vjudge Contest/Uva_Beverages.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | Graph(SCC,TopoSort)_Vjudge Contest/Uva_Beverages.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
map<string,int> mp;
vector<int> v1[250];
priority_queue<int, vector<int>, greater<int> >mq;
int indegree[250];
int main()
{
int n,m;
string s1,s2;
char str[250][250];
int c=1;
while((cin>>n ) && EOF)
{
mp.clear();
for(int i=0;i<=n;i++) v1[i].clear();
for(in... | 14.578125 | 71 | 0.513398 | [
"vector"
] |
a40506ee0ce14da6aba7d9b8ba7db4dcfe4fab1d | 8,771 | cpp | C++ | gui/main_window/smiles_menu/StickerPreview.cpp | SammyEnigma/im-desktop | d93c1c335c8290b21b69c578c399edf61cb899e8 | [
"Apache-2.0"
] | 2 | 2020-10-23T06:27:27.000Z | 2021-11-12T12:06:12.000Z | gui/main_window/smiles_menu/StickerPreview.cpp | john-preston/im-desktop | 271e42db657bdaa8e261f318c627ca5414e0dd87 | [
"Apache-2.0"
] | null | null | null | gui/main_window/smiles_menu/StickerPreview.cpp | john-preston/im-desktop | 271e42db657bdaa8e261f318c627ca5414e0dd87 | [
"Apache-2.0"
] | 1 | 2022-03-25T16:10:33.000Z | 2022-03-25T16:10:33.000Z | #include "stdafx.h"
#include "StickerPreview.h"
#include "core_dispatcher.h"
#include "utils/InterConnector.h"
#include "utils/medialoader.h"
#include "styles/ThemeParameters.h"
#include "main_window/mplayer/VideoPlayer.h"
#include "cache/stickers/stickers.h"
#include "cache/emoji/EmojiDb.h"
namespace
{
int getC... | 30.454861 | 177 | 0.604948 | [
"object"
] |
a40773abb2eb485584799ab9a67b0a2de9adb477 | 12,474 | cpp | C++ | test/v13/oxm_match/eth_dst_test.cpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | null | null | null | test/v13/oxm_match/eth_dst_test.cpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | 8 | 2016-07-21T11:29:13.000Z | 2016-12-03T05:16:42.000Z | test/v13/oxm_match/eth_dst_test.cpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | null | null | null | #define BOOST_TEST_DYN_LINK
#include <canard/net/ofp/v13/common/oxm_match_field.hpp>
#include <boost/test/unit_test.hpp>
#include <stdexcept>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional_io.hpp>
#include <canard/mac_address.hpp>
#include "../../test_utility.hpp"
#include "../oxm_headers.hp... | 35.74212 | 88 | 0.62963 | [
"vector"
] |
a407e389339fa04eb8fdc25dde802d0e0ba94f06 | 2,736 | cpp | C++ | Source/Tortuga/Systems/Rendering/CameraView.cpp | zeeshan595/Tortuga | a4a96c73b9c7e1fffb2cea6661d2579709b0a7e1 | [
"X11"
] | 7 | 2019-03-06T11:25:27.000Z | 2019-05-27T13:27:07.000Z | Source/Tortuga/Systems/Rendering/CameraView.cpp | zeeshan595/tortuga-library | a4a96c73b9c7e1fffb2cea6661d2579709b0a7e1 | [
"X11"
] | 3 | 2019-07-03T10:09:15.000Z | 2019-10-12T23:23:31.000Z | Source/Tortuga/Systems/Rendering/CameraView.cpp | zeeshan595/Tortuga | a4a96c73b9c7e1fffb2cea6661d2579709b0a7e1 | [
"X11"
] | null | null | null | #include "./Rendering.hpp"
namespace Tortuga
{
namespace Systems
{
void Rendering::CameraView::Setup(Graphics::Vulkan::Device::Device device, Graphics::Vulkan::RenderPass::RenderPass renderPass, std::vector<Graphics::Vulkan::DescriptorLayout::DescriptorLayout> descriptorLayouts)
{
const auto camera = Core::Engine::G... | 65.142857 | 212 | 0.773392 | [
"render",
"vector",
"transform"
] |
a40b71456b22de29c812878f4abeb8f589f2194e | 3,051 | cpp | C++ | Source/Dreemchest/Scene/Rendering/RenderSystem/RenderSystem.cpp | dmsovetov/Dreemchest | 39255c88943abc69c7fa0710b7ca8486c08260e0 | [
"MIT"
] | 11 | 2016-02-18T15:24:49.000Z | 2021-01-30T18:26:04.000Z | Source/Dreemchest/Scene/Rendering/RenderSystem/RenderSystem.cpp | dmsovetov/dreemchest | 39255c88943abc69c7fa0710b7ca8486c08260e0 | [
"MIT"
] | 2 | 2016-05-23T22:48:35.000Z | 2017-02-13T16:43:32.000Z | Source/Dreemchest/Scene/Rendering/RenderSystem/RenderSystem.cpp | dmsovetov/dreemchest | 39255c88943abc69c7fa0710b7ca8486c08260e0 | [
"MIT"
] | 3 | 2016-08-19T13:26:59.000Z | 2018-08-03T04:28:14.000Z | /**************************************************************************
The MIT License (MIT)
Copyright (c) 2015 Dmitry Sovetov
https://github.com/dmsovetov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to ... | 38.1375 | 112 | 0.690265 | [
"render",
"transform"
] |
a40e07fa097b31f795708e42f141ddfe18ce2984 | 2,523 | cpp | C++ | mp3/mp3stream.cpp | firngrod/firnlibs | a8fbdd22ec3b0a9497b809e8b86092e0affea995 | [
"MIT"
] | null | null | null | mp3/mp3stream.cpp | firngrod/firnlibs | a8fbdd22ec3b0a9497b809e8b86092e0affea995 | [
"MIT"
] | null | null | null | mp3/mp3stream.cpp | firngrod/firnlibs | a8fbdd22ec3b0a9497b809e8b86092e0affea995 | [
"MIT"
] | null | null | null | #include "mp3stream.hpp"
#include <iostream>
#include "../files/files.hpp"
#include <vector>
namespace FirnLibs{ namespace Mp3{
Mp3Stream::Mp3Stream() : sf::SoundStream()
{
pendingRate = 0;
err = mpg123_init();
if(err != MPG123_OK || (mh = mpg123_new(NULL, &err)) == NULL)
{
fprintf(stderr, "Basic setup w... | 18.688889 | 103 | 0.617122 | [
"vector"
] |
a4283281680a996eead64dd3dba5128c5587c8f6 | 3,784 | cpp | C++ | test/graph/min_st_cut_test.cpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 25 | 2016-05-03T02:08:58.000Z | 2022-01-11T03:49:28.000Z | test/graph/min_st_cut_test.cpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 22 | 2016-04-26T04:46:17.000Z | 2016-12-06T03:53:32.000Z | test/graph/min_st_cut_test.cpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 5 | 2017-04-04T16:10:42.000Z | 2019-12-05T08:22:30.000Z | // Copyright Diego Ramirez 2015
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <cpl/graph/min_st_cut.hpp>
#include <gtest/gtest.h>
#include <cpl/graph/directed_graph.hpp> // direc... | 29.5625 | 77 | 0.640856 | [
"vector",
"transform"
] |
bfa08f5b72578472f4f5bd6f0c0be58b04b18539 | 40,197 | cpp | C++ | src/amd/compiler/aco_scheduler.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/amd/compiler/aco_scheduler.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/amd/compiler/aco_scheduler.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | /*
* Copyright © 2018 Valve Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | 35.698934 | 101 | 0.676095 | [
"vector",
"model"
] |
bfa7f4b6283d08ff5d75b58e3c0d454d5d37a237 | 2,445 | cpp | C++ | src/lib/LinearRegressionOptim.cpp | yannrichet/libKriging | 25475d1de02d518401183e93f6a0fa5c12b3c96b | [
"Apache-2.0"
] | null | null | null | src/lib/LinearRegressionOptim.cpp | yannrichet/libKriging | 25475d1de02d518401183e93f6a0fa5c12b3c96b | [
"Apache-2.0"
] | null | null | null | src/lib/LinearRegressionOptim.cpp | yannrichet/libKriging | 25475d1de02d518401183e93f6a0fa5c12b3c96b | [
"Apache-2.0"
] | null | null | null | #include "libKriging/LinearRegressionOptim.hpp"
// @ref: https://www.kthohr.com/optimlib.html
#include <optim.hpp>
LIBKRIGING_EXPORT
LinearRegressionOptim::LinearRegressionOptim() : m_sig2{} {};
struct err_fn_data {
arma::vec y;
arma::mat X;
};
double err_fn(const arma::vec& coef, arma::vec* grad_out, err_fn_da... | 29.817073 | 101 | 0.61636 | [
"object",
"vector"
] |
bfaa370183a10d20293aebd15b00f6dd7e7d801d | 6,022 | cc | C++ | src/driver.cc | zeek/spicy-plugin | 787007f85ee176d24cb792cd7de9d845f30bdf11 | [
"BSD-3-Clause"
] | 3 | 2021-06-22T08:48:24.000Z | 2021-11-15T09:45:11.000Z | src/driver.cc | zeek/spicy-plugin | 787007f85ee176d24cb792cd7de9d845f30bdf11 | [
"BSD-3-Clause"
] | 47 | 2021-03-10T10:01:43.000Z | 2022-03-30T09:27:54.000Z | src/driver.cc | zeek/spicy-plugin | 787007f85ee176d24cb792cd7de9d845f30bdf11 | [
"BSD-3-Clause"
] | 2 | 2021-06-08T09:26:43.000Z | 2021-07-25T01:30:41.000Z | // Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details.
#include <hilti/ast/types/enum.h>
#include <zeek-spicy/driver.h>
#include <zeek-spicy/zeek-reporter.h>
namespace spicy::zeek::debug {
const hilti::logging::DebugStream ZeekPlugin("zeek");
}
using namespace spicy::zeek;
void plugin::Zeek_Spicy... | 39.880795 | 117 | 0.64447 | [
"vector",
"transform"
] |
bfac79b3f782192fab85506bd5b0955e3097d97a | 24,350 | cpp | C++ | src/game.cpp | angelosps/Role-Playing-Game | 307da5a0616f7565c25119261bfd67236a8f2801 | [
"BSD-2-Clause"
] | 2 | 2021-03-12T11:58:37.000Z | 2022-03-15T19:18:04.000Z | src/game.cpp | angelosps/Role-Playing-Game | 307da5a0616f7565c25119261bfd67236a8f2801 | [
"BSD-2-Clause"
] | null | null | null | src/game.cpp | angelosps/Role-Playing-Game | 307da5a0616f7565c25119261bfd67236a8f2801 | [
"BSD-2-Clause"
] | 1 | 2021-03-14T07:21:52.000Z | 2021-03-14T07:21:52.000Z | /* file: game.cpp */
#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <map>
#include "../include/game.hpp"
#include "../include/rndGen.hpp"
enum buyType { item, spell };
enum spellType { ice, fire, lightning };
RndGen rnd3(0,2);
RndGen rnd5(0,4);
RndGen rnd10(0,9);
RndGen rndMAX(0... | 35.703812 | 252 | 0.50193 | [
"vector"
] |
bfad5657144c4a93beb4c52bf08b0aa024c6916b | 1,481 | cpp | C++ | Fractal/Fractal/VectorSampler.cpp | pauldoo/scratch | 1c8703d8b8e5cc5a026bfd5f0b036b9632faf161 | [
"0BSD"
] | null | null | null | Fractal/Fractal/VectorSampler.cpp | pauldoo/scratch | 1c8703d8b8e5cc5a026bfd5f0b036b9632faf161 | [
"0BSD"
] | 4 | 2021-08-31T22:03:39.000Z | 2022-02-19T07:12:05.000Z | Fractal/Fractal/VectorSampler.cpp | pauldoo/scratch | 1c8703d8b8e5cc5a026bfd5f0b036b9632faf161 | [
"0BSD"
] | 1 | 2022-02-23T13:46:49.000Z | 2022-02-23T13:46:49.000Z | #include "External.h"
#include "VectorSampler.h"
#include "Geometry.h"
#include "Utilities.h"
namespace Fractal
{
template<typename T>
VectorSampler<T>::VectorSampler(
const Vector& top_left,
const Vector& top_edge_vector,
const Vector& left_edge_vector,
GravityIterator<T>* ite... | 27.943396 | 79 | 0.555706 | [
"geometry",
"render",
"vector"
] |
bfaf7a9c47e2b589fa5a3be47b8f214cdf5e6bc0 | 578 | cpp | C++ | Interview Preparation Kit - CPP/01. Warm-up Challenges/003. Jumping on the Clouds.cpp | atul070/interview | 505444570bba6e9d5672272eea5f3784834d2d9e | [
"Apache-2.0"
] | 1 | 2020-10-18T22:06:12.000Z | 2020-10-18T22:06:12.000Z | Interview Preparation Kit - CPP/01. Warm-up Challenges/003. Jumping on the Clouds.cpp | atul070/interview | 505444570bba6e9d5672272eea5f3784834d2d9e | [
"Apache-2.0"
] | null | null | null | Interview Preparation Kit - CPP/01. Warm-up Challenges/003. Jumping on the Clouds.cpp | atul070/interview | 505444570bba6e9d5672272eea5f3784834d2d9e | [
"Apache-2.0"
] | null | null | null | // Problem: https://www.hackerrank.com/challenges/jumping-on-the-clouds/problem
// Score: 20
#include <iostream>
#include <vector>
using namespace std;
int main(){
int n;
cin >> n;
int element;
vector<int> arr;
while (cin >> element){
arr.push_back(element);
}
... | 16.514286 | 80 | 0.482699 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.