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
169d114b7698c727df7232e5c53f0f361cdb2488
11,361
cc
C++
chrome/browser/ui/webui/discards/discards_ui.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
chrome/browser/ui/webui/discards/discards_ui.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
chrome/browser/ui/webui/discards/discards_ui.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/discards/discards_ui.h" #include <utility> #include <vector> #include "base/bind.h" #include "base/check.h" #include "...
40.72043
80
0.739988
[ "vector" ]
169d2d79d74ddc0cc2594a97652486cb4286d59d
1,922
hpp
C++
src/game/world/level_model.hpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/game/world/level_model.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/game/world/level_model.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#pragma once #include "math/vector.hpp" #include "math/color.hpp" #include "libold/content/assets/level.hpp" #include "ecs/entity_component_system.hpp" #include "components/thing.hpp" #include "surface.hpp" #include "jk/cog/vm/executor.hpp" #include "game/world/sounds/sound_model.hpp" #include "game/world/camera/camer...
29.569231
85
0.676379
[ "vector" ]
169fdbafc93729e53eedb7bd383465eb11da0b8a
6,635
cpp
C++
src/xray/editor/world/sources/property_vec3f_base.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/world/sources/property_vec3f_base.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/world/sources/property_vec3f_base.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 29.12.2007 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "property_vec3f_base.h" #include "pro...
22.722603
77
0.666767
[ "object" ]
16a5b468076f7fb4dfb67bdd05a410b4b71c0bd5
1,890
cc
C++
src/cuts/Trainingcut.cc
vbertone/NangaParbat
49529d0a2e810dfe0ec676c8e96081be39a8800d
[ "MIT" ]
3
2020-01-16T17:15:54.000Z
2020-01-17T10:59:39.000Z
src/cuts/Trainingcut.cc
vbertone/NangaParbat
49529d0a2e810dfe0ec676c8e96081be39a8800d
[ "MIT" ]
null
null
null
src/cuts/Trainingcut.cc
vbertone/NangaParbat
49529d0a2e810dfe0ec676c8e96081be39a8800d
[ "MIT" ]
3
2020-01-18T22:10:02.000Z
2020-08-01T18:42:36.000Z
// // Authors: Valerio Bertone: valerio.bertone@cern.ch // #include "NangaParbat/Trainingcut.h" namespace NangaParbat { //_________________________________________________________________________________ TrainingCut::TrainingCut(DataHandler const& dataset, ...
35.660377
145
0.593122
[ "vector" ]
16aaf66ea9fd5d0e7e5969cd7b9b20cbb79f66df
2,016
cpp
C++
modules/demos/painlessmesh-start.cpp
ipepe-oss/esp32-elm327-cruise-control
cf7c35d64e3bdaf639f447505cf2a0a3c967c471
[ "MIT" ]
2
2021-08-04T13:41:09.000Z
2022-01-06T00:26:34.000Z
modules/demos/painlessmesh-start.cpp
ipepe-oss/esp32-elm327-cruise-control
cf7c35d64e3bdaf639f447505cf2a0a3c967c471
[ "MIT" ]
null
null
null
modules/demos/painlessmesh-start.cpp
ipepe-oss/esp32-elm327-cruise-control
cf7c35d64e3bdaf639f447505cf2a0a3c967c471
[ "MIT" ]
null
null
null
/* Rui Santos Complete project details at https://RandomNerdTutorials.com/esp-mesh-esp32-esp8266-painlessmesh/ This is a simple example that uses the painlessMesh library: https://github.com/gmag11/painlessMesh/blob/master/examples/basic/basic.ino */ #include "painlessMesh.h" #define MESH_PREFIX "whateve...
31.015385
138
0.738095
[ "mesh" ]
16ab92f23fb30cc767f266c1cce563f6cf309b09
2,426
cpp
C++
sources/window_functions.cpp
indjev99/Pong
bb5eb346c025172f21bf537ba47501ad55fe3f3f
[ "MIT" ]
null
null
null
sources/window_functions.cpp
indjev99/Pong
bb5eb346c025172f21bf537ba47501ad55fe3f3f
[ "MIT" ]
null
null
null
sources/window_functions.cpp
indjev99/Pong
bb5eb346c025172f21bf537ba47501ad55fe3f3f
[ "MIT" ]
null
null
null
#include "../headers/window_functions.h" #include "../headers/window_size.h" #include<iostream> #include<queue> std::queue<int> presses; int pressed; double mxpos=0,mypos=0; bool paused=0; int p1M=0; int p2M=0; void errorCallback(int error, const char* description) { std::cout<<error<<": "<<description<<std::endl...
27.568182
89
0.674773
[ "vector" ]
16abc08c338332bf9298cee01eb064eaf777c592
14,513
cpp
C++
pacman.cpp
jatinverma12/PacMan
6168c79b708b1091c78e6b6fdfb7ef041699e2f3
[ "MIT" ]
null
null
null
pacman.cpp
jatinverma12/PacMan
6168c79b708b1091c78e6b6fdfb7ef041699e2f3
[ "MIT" ]
null
null
null
pacman.cpp
jatinverma12/PacMan
6168c79b708b1091c78e6b6fdfb7ef041699e2f3
[ "MIT" ]
2
2021-01-13T07:33:41.000Z
2021-01-13T10:37:05.000Z
#ifdef __APPLE__ #include <GLUT/glut.h> // if we are on a Mac #else #include <GL/glut.h> // on linux #endif #include <math.h> #include <iostream> #include <string.h> #include <sstream> #include <png.h> #include <stdlib.h> #include <vector> #include <fstream> // User- Defined header files #include "png_load.h" #includ...
32.037528
155
0.502308
[ "vector" ]
16ae45d11a7270bf329612a33b8f881585e1c8e5
1,526
cpp
C++
Algorithms/1260.Shift2DGrid/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1260.Shift2DGrid/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1260.Shift2DGrid/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <vector> #include "gtest/gtest.h" namespace { class Solution { public: std::vector<std::vector<int>> shiftGrid(std::vector<std::vector<int>> const &grid, int k) const { const size_t rowCount = grid.size(); const size_t columnCount = grid.front().size(); std::vector<int> data;...
32.468085
196
0.544561
[ "vector" ]
16aee438603f93eeee970e67933c3a555d1918b8
1,017
cpp
C++
GameSystem/ostream.cpp
Popcron-s/BaseFramework
c2746748531c4912ea2b400cc0d77131ca2934d8
[ "Unlicense" ]
null
null
null
GameSystem/ostream.cpp
Popcron-s/BaseFramework
c2746748531c4912ea2b400cc0d77131ca2934d8
[ "Unlicense" ]
null
null
null
GameSystem/ostream.cpp
Popcron-s/BaseFramework
c2746748531c4912ea2b400cc0d77131ca2934d8
[ "Unlicense" ]
null
null
null
#include "ostream.h" _oStream* _oStream::m_pSingleton = 0x00; CREATE_LIST_FUNTION(_oStream,_CCamera,Camera); _oStream::_oStream() : m_Size_x(0), m_Size_y(0), m_Camera_List(0x00), m_Camera_num(0) {} _oStream::~_oStream(){ ReleaseAllCamera(); } UINT _oStream::GetSizeX() const{return m_Size_x;} UINT _oStream::Get...
23.113636
67
0.680433
[ "render" ]
16b59eebd50bf213219f3a70d4ff36f525a91988
7,246
cpp
C++
src/DispRefine/CProcBlock.cpp
mssl-imaging/CASP-GO
809eabbaf3eee2d690f16f5b784c04acfae87191
[ "Apache-2.0" ]
3
2019-12-17T13:46:19.000Z
2021-07-02T13:35:33.000Z
src/DispRefine/CProcBlock.cpp
mssl-imaging/CASP-GO
809eabbaf3eee2d690f16f5b784c04acfae87191
[ "Apache-2.0" ]
null
null
null
src/DispRefine/CProcBlock.cpp
mssl-imaging/CASP-GO
809eabbaf3eee2d690f16f5b784c04acfae87191
[ "Apache-2.0" ]
2
2021-04-19T10:28:48.000Z
2021-07-02T13:35:37.000Z
#include "CProcBlock.h" CProcBlock::CProcBlock() { } void CProcBlock::setImages(string strImgL, string strImgR, bool bGrey){ // read image as a grey -> vital for alsc and gotcha if (bGrey){ m_imgL = imread(strImgL, CV_LOAD_IMAGE_ANYDEPTH); //IMARS m_imgR = imread(strImgR, CV_LOAD_IMAGE_ANYDEPT...
26.738007
93
0.514905
[ "vector" ]
16bf409e601cf1c09c76d3d99496affde0485f53
1,281
cpp
C++
Mathematical Challenges/Largest Num Divisible By 3.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Mathematical Challenges/Largest Num Divisible By 3.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Mathematical Challenges/Largest Num Divisible By 3.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// ## Problem Description // Given a non-negative number up to 10 digits long, find the largest number that can be // formed with the digits and is divisible by 3. If no number can be formed that is divisible by 3, return 0. // Input: int // Output int // Examples: // - largest_div_by_three(0) -> 0 // - largest_div...
21.35
109
0.589383
[ "vector" ]
16c173c277f781f8525fa5535cfb5bba02b17b10
2,898
cpp
C++
marsyas-vamp/marsyas/src/marsyas/sched/TmTimerManager.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/marsyas/sched/TmTimerManager.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/marsyas/sched/TmTimerManager.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
/* ** Copyright (C) 1998-2005 George Tzanetakis <gtzan@cs.uvic.ca> ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version...
28.693069
97
0.733609
[ "object", "vector" ]
16cc1896e2d9a467bc4e6e63c3c2a467bbd0a0e6
6,013
hpp
C++
alpaka/include/alpaka/kernel/TaskKernelCpuTbbBlocks.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
25
2015-01-30T12:19:48.000Z
2020-10-30T07:52:45.000Z
alpaka/include/alpaka/kernel/TaskKernelCpuTbbBlocks.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
101
2015-01-06T11:31:26.000Z
2020-11-09T13:51:19.000Z
alpaka/include/alpaka/kernel/TaskKernelCpuTbbBlocks.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
10
2015-06-10T07:54:30.000Z
2020-05-06T10:07:39.000Z
/* Copyright 2022 Benjamin Worpitz, Erik Zenker, René Widera, Felice Pantaleo, Bernhard Manfred Gruber * * This file is part of alpaka. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http:/...
37.347826
116
0.592217
[ "object" ]
16d0be846b9fe6cbd1f65d9ad72aa86fefc92f25
33,887
cpp
C++
src/dos/drive_cache.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
3
2022-02-20T11:06:29.000Z
2022-03-11T08:16:55.000Z
src/dos/drive_cache.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
src/dos/drive_cache.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2002-2021 The DOSBox Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This p...
33.853147
166
0.586183
[ "vector" ]
16d343acf9d621afbb5ecb3141e1dfd19e09ae8a
3,674
cxx
C++
lib/seldon/vector/TinyVector.cxx
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
7
2021-01-31T23:20:07.000Z
2021-09-09T20:54:15.000Z
lib/seldon/vector/TinyVector.cxx
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
1
2021-06-07T07:52:38.000Z
2021-08-13T20:40:55.000Z
lib/seldon/vector/TinyVector.cxx
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
null
null
null
#ifndef SELDON_FILE_TINY_VECTOR_CXX #include "TinyVector.hxx" namespace Seldon { //! intersection of edges [pointA,pointB] and [pt1,pt2] /*! \param[in] pointA first extremity of the first edge \param[in] pointB second extremity of the first edge \param[in] pt1 first extremity of the second edge ...
27.41791
87
0.58601
[ "vector" ]
16d3ad70fae33831c4cc8ee779355166de2a80b5
4,863
cpp
C++
src/caffe/util/OpenCL/OpenCLManager.cpp
lunochod/caffe
209fac06cb7893da4fcae0295f5cc882c6569ce9
[ "BSD-2-Clause" ]
20
2015-06-20T18:08:42.000Z
2018-05-27T09:28:34.000Z
src/caffe/util/OpenCL/OpenCLManager.cpp
rickyHong/CaffeForOpenCL
209fac06cb7893da4fcae0295f5cc882c6569ce9
[ "BSD-2-Clause" ]
3
2015-03-30T16:40:42.000Z
2015-06-03T10:31:51.000Z
src/caffe/util/OpenCL/OpenCLManager.cpp
rickyHong/CaffeForOpenCL
209fac06cb7893da4fcae0295f5cc882c6569ce9
[ "BSD-2-Clause" ]
6
2015-05-09T02:06:20.000Z
2015-10-19T07:13:47.000Z
#ifdef USE_OPENCL #include <CL/cl.h> #include <glog/logging.h> #include <caffe/util/OpenCL/OpenCLManager.hpp> #include <caffe/util/OpenCL/OpenCLSupport.hpp> #include <memory> #include <string> #include <vector> namespace caffe { OpenCLManager OpenCLManager::instance_; OpenCLManager::OpenCLManager() : initialized_...
25.867021
78
0.659881
[ "vector" ]
16dddffd0bef3ec5b7142e765d96653e66e59ff6
2,791
cpp
C++
src/external/boost/boost_1_68_0/libs/geometry/example/with_external_libs/x01_qt_example.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/external/boost/boost_1_68_0/libs/geometry/example/with_external_libs/x01_qt_example.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/external/boost/boost_1_68_0/libs/geometry/example/with_external_libs/x01_qt_example.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to 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) // Q...
34.45679
90
0.671444
[ "geometry" ]
16e788879284045818c6aa7f1753dbff06741a05
39,823
cpp
C++
CrazyCanvas/Source/RenderStages/PlayerRenderer.cpp
IbexOmega/CrazyCanvas
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
18
2020-09-04T08:00:54.000Z
2021-08-29T23:04:45.000Z
CrazyCanvas/Source/RenderStages/PlayerRenderer.cpp
IbexOmega/LambdaEngine
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
32
2020-09-12T19:24:50.000Z
2020-12-11T14:29:44.000Z
CrazyCanvas/Source/RenderStages/PlayerRenderer.cpp
IbexOmega/LambdaEngine
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
2
2020-12-15T15:36:13.000Z
2021-03-27T14:27:02.000Z
#include "RenderStages/PlayerRenderer.h" #include "RenderStages/PlayerRenderer.h" #include "Rendering/Core/API/CommandAllocator.h" #include "Rendering/Core/API/DescriptorHeap.h" #include "Rendering/Core/API/DescriptorSet.h" #include "Rendering/Core/API/PipelineState.h" #include "Rendering/Core/API/TextureView.h" #inclu...
39.311945
228
0.775858
[ "mesh", "render" ]
16f11747d059a04b98709f179e0e6b902afffbbb
5,046
cpp
C++
poprithms/tests/testutil/src/testutil/schedule/base/randomdag.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
24
2020-07-06T17:11:30.000Z
2022-01-01T07:39:12.000Z
poprithms/tests/testutil/src/testutil/schedule/base/randomdag.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
null
null
null
poprithms/tests/testutil/src/testutil/schedule/base/randomdag.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
2
2020-07-15T12:33:22.000Z
2021-07-27T06:07:16.000Z
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #include <algorithm> #include <random> #include <sstream> #include <unordered_set> #include <vector> #include <testutil/schedule/base/randomdag.hpp> #include <poprithms/schedule/transitiveclosure/transitiveclosure.hpp> namespace poprithms { namespace schedule...
28.670455
78
0.584423
[ "vector" ]
16f189c64a67cff15d4152dee0fd056006694e07
483
cpp
C++
Code-Chef/contests/COOK102/3.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
1
2019-05-20T14:38:05.000Z
2019-05-20T14:38:05.000Z
Code-Chef/contests/COOK102/3.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
null
null
null
Code-Chef/contests/COOK102/3.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long int ll; void perform() { string s; cin>>s; vector<int> v; int val=0; for(int i=0;i<s.size();i++) { if(s[i]=='.') val++; else { v.push_back(val); val=0; } } int ans=0;...
13.416667
38
0.434783
[ "vector" ]
a84dd30f1e5075d0937e0326238afbb6892d9bc1
1,798
cpp
C++
snippets/cpp/VS_Snippets_WebNet/HtmlTextWriter_Methods1/CPP/htw2.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_WebNet/HtmlTextWriter_Methods1/CPP/htw2.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_WebNet/HtmlTextWriter_Methods1/CPP/htw2.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <snippet1> // Create a custom HtmlTextWriter class that overrides // the RenderBeforeContent and RenderAfterContent methods. #using <System.dll> #using <System.Web.dll> using namespace System; using namespace System::IO; using namespace System::Web::UI; using namespace System::Security::Permissions; using namespace...
24.297297
69
0.646274
[ "render" ]
a84fc3f00fa904d0d3e6c23f41262f87ae7432c9
7,726
cpp
C++
src/Rounding.cpp
oanda/libfixed
9b7b4ebe28784704276226df42349aa63dfd8acd
[ "MIT" ]
11
2015-03-27T15:41:18.000Z
2021-04-18T09:56:37.000Z
src/Rounding.cpp
oanda/libfixed
9b7b4ebe28784704276226df42349aa63dfd8acd
[ "MIT" ]
null
null
null
src/Rounding.cpp
oanda/libfixed
9b7b4ebe28784704276226df42349aa63dfd8acd
[ "MIT" ]
6
2015-06-24T11:20:36.000Z
2021-06-16T00:42:15.000Z
// // The MIT License (MIT) // // // Copyright (c) 2013 OANDA 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...
21.167123
79
0.594227
[ "vector" ]
a850b2c6493b0de8f37c726d359e306d500364eb
3,558
cpp
C++
Engine/Src/SFEngineDLL/Interfaces/SFNetRelayInterface.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
1
2020-06-20T07:35:25.000Z
2020-06-20T07:35:25.000Z
Engine/Src/SFEngineDLL/Interfaces/SFNetRelayInterface.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
Engine/Src/SFEngineDLL/Interfaces/SFNetRelayInterface.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // CopyRight (c) 2019 Kyungkun Ko // // Author : KyungKun Ko // // Description : Public Interfaces // // //////////////////////////////////////////////////////////////////////////////// #include "SFEngineDLLPCH.h" #inc...
23.72
126
0.639966
[ "object" ]
a8542e298bd196f17b32eb5fa4fc546247bac58a
1,449
cpp
C++
DSA/Cpp/test/dsa/lib/algo/sort/radix_sort_test.cpp
JackieMa000/problems
c521558830a0bbf67f94109af92d7be4397d0a43
[ "BSD-3-Clause" ]
null
null
null
DSA/Cpp/test/dsa/lib/algo/sort/radix_sort_test.cpp
JackieMa000/problems
c521558830a0bbf67f94109af92d7be4397d0a43
[ "BSD-3-Clause" ]
1
2020-10-23T04:06:56.000Z
2020-10-23T04:06:56.000Z
DSA/Cpp/test/dsa/lib/algo/sort/radix_sort_test.cpp
JackieMa000/problems
c521558830a0bbf67f94109af92d7be4397d0a43
[ "BSD-3-Clause" ]
null
null
null
#include <vector> #include <list> #include <forward_list> #include <dsa/lib/algo/sort/radix_sort.hpp> namespace dsa::lib::algo::sort::rs { namespace { void expectRadixSort(std::vector<int> &&expected, std::vector<int> &&nums) { rs::sort(nums); EXPECT_EQ(expected, nums); } TEST(RadixSortTest, emptyArray) { ...
27.865385
97
0.623879
[ "vector" ]
a855b727ced01dc807fca2d57ad00145b678a72f
926
cpp
C++
atcoder/abc124/D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc124/D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc124/D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; int solve(int N, int K, string const& S) { vector<pair<int,int>> W; W.reserve(N); if (S[0] == '0') { W.push_back({ 0, 0 }); } int i = 0; while (i < N) { if (S[i] == '0') { ++i; continue; } i...
17.471698
51
0.393089
[ "vector" ]
a862fe13f59af645077676227ceac8ee0a8f2bae
7,335
cpp
C++
generator/raw_generator.cpp
mapsme/geocore
346fceb020cd909b37706ab6ad454aec1a11f52e
[ "Apache-2.0" ]
13
2019-09-16T17:45:31.000Z
2022-01-29T15:51:52.000Z
generator/raw_generator.cpp
mapsme/geocore
346fceb020cd909b37706ab6ad454aec1a11f52e
[ "Apache-2.0" ]
37
2019-10-04T00:55:46.000Z
2019-12-27T15:13:19.000Z
generator/raw_generator.cpp
mapsme/geocore
346fceb020cd909b37706ab6ad454aec1a11f52e
[ "Apache-2.0" ]
13
2019-10-02T15:03:58.000Z
2020-12-28T13:06:22.000Z
#include "generator/raw_generator.hpp" #include "generator/osm_source.hpp" #include "generator/processor_factory.hpp" #include "generator/raw_generator_writer.hpp" #include "generator/translator_factory.hpp" #include "base/thread_pool_computational.hpp" #include <future> #include <string> #include <vector> #include...
31.080508
113
0.715746
[ "vector" ]
a8631c1585576519cfc548ad71b04cb7fc11f96f
6,708
cpp
C++
test/KOMO/komo/main.cpp
v4hn/rai
0638426c2c4a240863de4f39778d48e48fd8f5d7
[ "MIT" ]
null
null
null
test/KOMO/komo/main.cpp
v4hn/rai
0638426c2c4a240863de4f39778d48e48fd8f5d7
[ "MIT" ]
null
null
null
test/KOMO/komo/main.cpp
v4hn/rai
0638426c2c4a240863de4f39778d48e48fd8f5d7
[ "MIT" ]
null
null
null
#include <KOMO/komo.h> #include <Kin/TM_default.h> #include <Kin/F_PairCollision.h> #include <Kin/viewer.h> //=========================================================================== void TEST(Easy){ rai::Configuration C("arm.g"); cout <<"configuration space dim=" <<C.getJointStateDimension() <<endl; KOMO...
28.913793
98
0.571855
[ "model" ]
a86cddb79eae1883de679775591ccf16c5704abd
912
cpp
C++
pg_answer/79958e08b44c415b83a1bf5fe1a37ec8.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
pg_answer/79958e08b44c415b83a1bf5fe1a37ec8.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
pg_answer/79958e08b44c415b83a1bf5fe1a37ec8.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> int main() { int n; std::cin >> n; std::vector<int> mentioned[101]{}; for (int i{0}; i < n; i++) { int x; std::cin >> x; std::cin.ignore(); int delim{std::cin.get()}; while ((delim = std::cin.get()) != '...
29.419355
87
0.496711
[ "vector" ]
a86ce16182aa1f30dd3a019425e244321c029d27
595
cpp
C++
leetcode/uncrossed_lines.cpp
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
null
null
null
leetcode/uncrossed_lines.cpp
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
6
2021-10-12T09:14:30.000Z
2021-10-16T19:29:08.000Z
leetcode/uncrossed_lines.cpp
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/uncrossed-lines class Solution { public: int maxUncrossedLines(vector<int> &A, vector<int> &B) { const int na = A.size(); const int nb = B.size(); vector<vector<int>> dp(na + 1, vector<int>(nb + 1, 0)); for (int i = 0; i < na; ++i) { ...
24.791667
71
0.396639
[ "vector" ]
a87111d47da9a4b787ab46bae971b53e3c9b4a59
9,232
cpp
C++
Compiler/src/Lexer.cpp
Vyraax/BirdLang
d7cd193531965e35e55fa26b2d3d27ec642d81a5
[ "MIT" ]
3
2020-06-21T15:21:34.000Z
2020-09-02T07:56:48.000Z
Compiler/src/Lexer.cpp
Vyraax/BirdLang
d7cd193531965e35e55fa26b2d3d27ec642d81a5
[ "MIT" ]
7
2020-06-28T12:56:16.000Z
2020-07-15T11:17:53.000Z
Compiler/src/Lexer.cpp
Vyraax/BirdLang
d7cd193531965e35e55fa26b2d3d27ec642d81a5
[ "MIT" ]
null
null
null
#include "pch.h" #include <sstream> #include "Lexer.h" #include "Profiler.h" #include "ConsoleTable.h" #include "Utils.h" using ConsoleTable = samilton::ConsoleTable; const std::string digits = "0123456789"; const std::string letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; const std::string letters_...
22.086124
83
0.619801
[ "vector" ]
a87e3e84796258c955fb0462fec6f1155da30c7a
3,044
cpp
C++
PairCopulaAIC.cpp
MalteKurz/VineCopulaCPP
742e8762ef7a61666b97fd8a381cf7c759d96cfe
[ "MIT" ]
7
2015-04-07T12:55:42.000Z
2021-11-17T14:41:43.000Z
PairCopulaAIC.cpp
MalteKurz/VineCopulaCPP
742e8762ef7a61666b97fd8a381cf7c759d96cfe
[ "MIT" ]
2
2015-01-31T13:59:05.000Z
2015-02-07T11:58:49.000Z
PairCopulaAIC.cpp
MalteKurz/VineCopulaCPP
742e8762ef7a61666b97fd8a381cf7c759d96cfe
[ "MIT" ]
7
2015-01-22T13:16:52.000Z
2021-11-17T14:41:44.000Z
#include "VineCopulaCPP_header.hpp" void PairCopulaAIC_Rotated_Obs(double *AIC, double *theta,int family, int rotation, double *U,double *V,unsigned int n) { std::vector<double> bounds(120); LoadDefaultBounds(&bounds[0]); PairCopulaAIC_Rotated_Obs(&bounds[0],AIC,theta,family,rotation,U,V,n); retur...
25.579832
134
0.522011
[ "vector" ]
a885a2844b1879e299b89fe05a621aa20b197d02
8,600
hpp
C++
modules/reg/include/opencv2/reg/map.hpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
7,158
2016-07-04T22:19:27.000Z
2022-03-31T07:54:32.000Z
modules/reg/include/opencv2/reg/map.hpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
2,184
2016-07-05T12:04:14.000Z
2022-03-30T19:10:12.000Z
modules/reg/include/opencv2/reg/map.hpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
5,535
2016-07-06T12:01:10.000Z
2022-03-31T03:13:24.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
48.863636
100
0.755233
[ "object", "vector", "model" ]
a88c25cfec7377f6103dde4c2602ca9479377d00
21,997
cpp
C++
contracts/payout.cpp
cc32d9/eosio_payout
467bec5b7768f687d95995118dd04b9142351961
[ "Apache-2.0" ]
19
2020-12-26T19:25:14.000Z
2022-03-20T08:21:08.000Z
contracts/payout.cpp
cc32d9/eosio_payout
467bec5b7768f687d95995118dd04b9142351961
[ "Apache-2.0" ]
null
null
null
contracts/payout.cpp
cc32d9/eosio_payout
467bec5b7768f687d95995118dd04b9142351961
[ "Apache-2.0" ]
7
2021-12-15T12:07:58.000Z
2022-03-31T09:58:35.000Z
/* Copyright 2020 cc32d9@gmail.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
30.808123
108
0.559304
[ "vector" ]
a89304bbde8a4b7a290842f83e39c1e361a5ce47
36,993
cxx
C++
IO/vtkNetCDFCFReader.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
2
2015-07-11T13:30:23.000Z
2017-12-19T05:23:38.000Z
IO/vtkNetCDFCFReader.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
null
null
null
IO/vtkNetCDFCFReader.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
null
null
null
// -*- c++ -*- /*========================================================================= Program: Visualization Toolkit Module: vtkNetCDFCFReader.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
34.157895
98
0.598735
[ "vector" ]
a8981dbc6191e0ff17f1385b4a4bd17922cbbd5f
2,585
hpp
C++
src/recipe.hpp
kabicm/arbor
cfab5fd6a2e6a211c097659c96dcc098ee806e68
[ "BSD-3-Clause" ]
null
null
null
src/recipe.hpp
kabicm/arbor
cfab5fd6a2e6a211c097659c96dcc098ee806e68
[ "BSD-3-Clause" ]
null
null
null
src/recipe.hpp
kabicm/arbor
cfab5fd6a2e6a211c097659c96dcc098ee806e68
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <cstddef> #include <memory> #include <unordered_map> #include <stdexcept> #include <cell.hpp> #include <common_types.hpp> #include <event_generator.hpp> #include <util/unique_any.hpp> namespace arb { struct probe_info { cell_member_type id; probe_tag tag; // Address type will be s...
31.144578
98
0.737331
[ "vector" ]
a89e7d32cc534d420460dc924fae33f3c87c8803
9,217
cpp
C++
src/ai/final_battle/doctor.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
8
2018-04-03T23:06:33.000Z
2021-12-28T18:04:19.000Z
src/ai/final_battle/doctor.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
null
null
null
src/ai/final_battle/doctor.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
1
2020-07-31T00:23:27.000Z
2020-07-31T00:23:27.000Z
#include "doctor.h" #include "doctor_common.h" #include "../stdai.h" #include "../ai.h" #include "../../ObjManager.h" #include "../../trig.h" #include "../../game.h" #include "../../player.h" #include "../../map.h" #include "../../sound/sound.h" #include "../../common/misc.h" #include "../../graphics/sprites.h" #inclu...
17.522814
77
0.534773
[ "object", "transform", "3d" ]
a8a478d5f578453ce6e46b424b19580d80b87cc3
9,443
cpp
C++
thirdparty/physx/PhysXSDK/Source/PhysX/src/gpu/NpPhysicsGpu.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
thirdparty/physx/PhysXSDK/Source/PhysX/src/gpu/NpPhysicsGpu.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
thirdparty/physx/PhysXSDK/Source/PhysX/src/gpu/NpPhysicsGpu.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
/* * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this so...
34.338182
134
0.645028
[ "mesh" ]
a8a905542bc9e3e5e81b83c46ed73c78a43b37ab
6,772
cpp
C++
bmlb/src/v20180625/model/SetTrafficMirrorHealthSwitchRequest.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
null
null
null
bmlb/src/v20180625/model/SetTrafficMirrorHealthSwitchRequest.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
null
null
null
bmlb/src/v20180625/model/SetTrafficMirrorHealthSwitchRequest.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
26.98008
92
0.74114
[ "vector", "model" ]
a8abe4ff9439daab82101e0d577268224c0aeb13
793
cpp
C++
LeetCode/Solutions/LC0015.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
LeetCode/Solutions/LC0015.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
LeetCode/Solutions/LC0015.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://leetcode.com/problems/3sum/ Time: O(n²) Space: O(n) Author: Mohammed Shoaib, github.com/Mohammed-Shoaib */ class Solution { public: vector<vector<int>> threeSum(vector<int> nums) { int l, r, sum, n = nums.size(); vector<vector<int>> triplets; sort(nums.begin(), nums.end()); fo...
20.333333
54
0.496847
[ "vector" ]
a8b263653ed340126460d26efb8ce04ef92ff417
10,317
cpp
C++
src/API/Wallet/Owner/OwnerServer.cpp
1div0/GrinPlusPlus
44ba6474b971cd39a96b7ad9742b23d3cb5334c9
[ "MIT" ]
null
null
null
src/API/Wallet/Owner/OwnerServer.cpp
1div0/GrinPlusPlus
44ba6474b971cd39a96b7ad9742b23d3cb5334c9
[ "MIT" ]
null
null
null
src/API/Wallet/Owner/OwnerServer.cpp
1div0/GrinPlusPlus
44ba6474b971cd39a96b7ad9742b23d3cb5334c9
[ "MIT" ]
null
null
null
#include <API/Wallet/Owner/OwnerServer.h> #include <Wallet/WalletManager.h> #include <Net/Tor/TorProcess.h> // APIs #include <API/Wallet/Owner/Handlers/CreateWalletHandler.h> #include <API/Wallet/Owner/Handlers/RestoreWalletHandler.h> #include <API/Wallet/Owner/Handlers/LoginHandler.h> #include <API/Wallet/Owner/Handl...
32.140187
195
0.518659
[ "solid" ]
a8b88eb3574bf8fde6b6fdaa9c0f1dd5fa974e49
22,690
cpp
C++
Programs/Launcher/Classes/Data/Private/ConfigParser.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/Launcher/Classes/Data/Private/ConfigParser.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/Launcher/Classes/Data/Private/ConfigParser.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "Data/ConfigParser.h" #include "Core/CommonTasks/BaseTask.h" #include "Utils/ErrorMessenger.h" #include "defines.h" #include <QFile> #include <QJsonDocument> #include <QJsonArray> #include <QJsonValue> #include <QJsonObject> #include <QDebug> #include <QJsonParseError> #include <QRegularExpression> #includ...
26.947743
115
0.600044
[ "object" ]
a8bb576af07bbec24fdb3837f21b8183e8e6e803
559
cpp
C++
native/cocos/core/utils/MutableForwardIterator.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/cocos/core/utils/MutableForwardIterator.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/cocos/core/utils/MutableForwardIterator.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
#include "core/utils/MutableForwardIterator.h" namespace cc { } #if UNIT_TEST void MutableForwardIteratorTest() { using namespace cc; ccstd::vector<int> myarr{1, 2, 3, 43, 4, 5}; MutableForwardIterator<int> iter{myarr}; iter.fastRemoveAt(2); iter.fastRemove(43); iter.push(123); ...
18.633333
77
0.599284
[ "vector" ]
a8c58eec3c0e0c7703684862b9f6251dd0bf94e1
3,143
cpp
C++
src/main.cpp
Lavesson/api-mock
07f0c3d2213df7be7699258d4273c58f13958763
[ "MIT" ]
null
null
null
src/main.cpp
Lavesson/api-mock
07f0c3d2213df7be7699258d4273c58f13958763
[ "MIT" ]
null
null
null
src/main.cpp
Lavesson/api-mock
07f0c3d2213df7be7699258d4273c58f13958763
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_map> #include <algorithm> #include "api-mock.h" typedef std::unordered_map<std::string, std::string> Flags; typedef std::pair<std::string, std::string> FlagEntry; static const std::string ADDRESS = "127.0.0.1"; static const int FLAG_SIGN_LENGTH = 2; static const std::string FLA...
27.570175
97
0.670697
[ "vector" ]
a8c9c4642c80f812192d53f37a4801092dfe3908
7,444
cpp
C++
cxxp1/src/smalls/parser/SyntaxReader.cpp
tmikov/smalls
399db35e9c96a6ab29ac8545afeb59e4737aebe4
[ "Apache-2.0" ]
4
2015-03-26T19:35:07.000Z
2020-03-11T06:45:32.000Z
cxxp1/src/smalls/parser/SyntaxReader.cpp
tmikov/smalls
399db35e9c96a6ab29ac8545afeb59e4737aebe4
[ "Apache-2.0" ]
null
null
null
cxxp1/src/smalls/parser/SyntaxReader.cpp
tmikov/smalls
399db35e9c96a6ab29ac8545afeb59e4737aebe4
[ "Apache-2.0" ]
null
null
null
/* Copyright 2012 Tzvetan Mikov <tmikov@gmail.com> All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
29.192157
127
0.626411
[ "vector" ]
a8cbd49e35e43926aa1737564e44eccb326d8d83
1,401
cpp
C++
42.Trapping_Rain_Water.cpp
arpit456jain/LeetCode-Solutions-Cpp
080a5a7aa2bbc53e422d000e42c501f74ddd47e7
[ "MIT" ]
1
2021-08-01T05:08:29.000Z
2021-08-01T05:08:29.000Z
42.Trapping_Rain_Water.cpp
arpit456jain/LeetCode-Solutions
080a5a7aa2bbc53e422d000e42c501f74ddd47e7
[ "MIT" ]
null
null
null
42.Trapping_Rain_Water.cpp
arpit456jain/LeetCode-Solutions
080a5a7aa2bbc53e422d000e42c501f74ddd47e7
[ "MIT" ]
null
null
null
class Solution { public: int optimizeApproch(vector<int>& arr, int n) { // Create two arrays left and right of size n. create a variable max_ = INT_MIN. int max1 = arr[0]; int prefixMax[n]; int prefixMin[n]; // Run one loop from start to end. In each iteration update max_...
36.868421
172
0.51606
[ "vector" ]
a8cca3b960bf6ee6f791c4f8553f43a9eda12802
5,212
cpp
C++
src/tests/class_tests/openms/source/BasicProteinInferenceAlgorithm_test.cpp
Arraxx/OpenMS
ce6c8d6427ca89360523ee97f1110bb80d8b4a89
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
null
null
null
src/tests/class_tests/openms/source/BasicProteinInferenceAlgorithm_test.cpp
Arraxx/OpenMS
ce6c8d6427ca89360523ee97f1110bb80d8b4a89
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
1
2021-09-24T20:05:16.000Z
2021-09-24T20:05:16.000Z
src/tests/class_tests/openms/source/BasicProteinInferenceAlgorithm_test.cpp
Arraxx/OpenMS
ce6c8d6427ca89360523ee97f1110bb80d8b4a89
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
1
2021-09-18T07:00:02.000Z
2021-09-18T07:00:02.000Z
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
51.60396
92
0.665196
[ "vector" ]
a8cedc977a0d063a3b23c7ba001df8ce5423913b
3,233
cpp
C++
catboost/app/main.cpp
PallHaraldsson/catboost
f4b86aae0acb853f0216081518d490e52722ad88
[ "Apache-2.0" ]
null
null
null
catboost/app/main.cpp
PallHaraldsson/catboost
f4b86aae0acb853f0216081518d490e52722ad88
[ "Apache-2.0" ]
null
null
null
catboost/app/main.cpp
PallHaraldsson/catboost
f4b86aae0acb853f0216081518d490e52722ad88
[ "Apache-2.0" ]
null
null
null
#include "modes.h" #include <catboost/private/libs/app_helpers/mode_calc_helpers.h> #include <catboost/private/libs/app_helpers/mode_fstr_helpers.h> #include <catboost/libs/helpers/exception.h> #include <catboost/private/libs/init/init_reg.h> #include <catboost/libs/logging/logging.h> #include <library/getopt/small/m...
48.984848
121
0.732756
[ "object", "model" ]
a8d33ec59fb1344abb327b96f1e8b2906aa39c39
423
cpp
C++
solutions/1491. Average Salary Excluding the Minimum and Maximum Salary.cpp
MayThirtyOne/Practice-Problems
fe945742d6bc785fffcb29ce011251406ba7c695
[ "MIT" ]
1
2020-09-27T17:36:58.000Z
2020-09-27T17:36:58.000Z
solutions/1491. Average Salary Excluding the Minimum and Maximum Salary.cpp
MayThirtyOne/Practice-Problems
fe945742d6bc785fffcb29ce011251406ba7c695
[ "MIT" ]
null
null
null
solutions/1491. Average Salary Excluding the Minimum and Maximum Salary.cpp
MayThirtyOne/Practice-Problems
fe945742d6bc785fffcb29ce011251406ba7c695
[ "MIT" ]
1
2020-09-21T15:16:24.000Z
2020-09-21T15:16:24.000Z
class Solution { public:    double average(vector<int>& salary) {        int least = INT_MAX;        int most = INT_MIN;        double total = 0;                for(int i=0;i<salary.size();i++){            if(salary[i]<least) least = salary[i];            if(salary[i]>most) most = salary[i];            total+=...
23.5
54
0.475177
[ "vector" ]
a8d7ee6cb8b3ab8521a4ffbe07b64cd822959c60
18,019
cpp
C++
src/crypto/hash/sigma/shavite3_256/shavite3_256_opt.cpp
Gulden-Coin/gulden-official
fd9b07bb17a87bfbaab7b9c9a3415279fcb3c508
[ "MIT" ]
158
2016-01-08T10:38:37.000Z
2022-02-01T06:28:05.000Z
src/crypto/hash/sigma/shavite3_256/shavite3_256_opt.cpp
Gulden-Coin/gulden-official
fd9b07bb17a87bfbaab7b9c9a3415279fcb3c508
[ "MIT" ]
196
2015-11-19T10:59:24.000Z
2021-10-07T14:52:13.000Z
src/crypto/hash/sigma/shavite3_256/shavite3_256_opt.cpp
Gulden-Coin/gulden-official
fd9b07bb17a87bfbaab7b9c9a3415279fcb3c508
[ "MIT" ]
71
2016-06-25T23:29:04.000Z
2022-03-14T10:57:19.000Z
// File originates from the supercop project // Authors: Eli Biham and Orr Dunkelman // // File contains modifications by: The Gulden developers // All modifications: // Copyright (c) 2019 The Gulden developers // Authored by: Malcolm MacLeod (mmacleod@gmx.com) // Distributed under the GULDEN software license, see the ...
32.643116
200
0.633553
[ "transform" ]
a8d99b75a3cb50a5094033cf6548e9853b9a2a81
8,585
hpp
C++
dhcp6.hpp
niklata/ndhs
b63fe9456085257567a030eca32581af178e3af6
[ "MIT" ]
6
2015-02-16T15:40:28.000Z
2019-08-11T01:31:18.000Z
dhcp6.hpp
niklata/ndhs
b63fe9456085257567a030eca32581af178e3af6
[ "MIT" ]
1
2015-12-25T18:14:02.000Z
2015-12-26T03:52:54.000Z
dhcp6.hpp
niklata/ndhs
b63fe9456085257567a030eca32581af178e3af6
[ "MIT" ]
null
null
null
// Copyright 2016-2022 Nicholas J. Kain <njkain at gmail dot com> // SPDX-License-Identifier: MIT #ifndef NK_NRAD6_DHCP6_HPP_ #define NK_NRAD6_DHCP6_HPP_ #include <string> #include <stdint.h> #include <iterator> #include <nk/net/ip_address.hpp> #include <nk/netbits.hpp> #include <nk/sys/posix/handle.hpp> #include "dhc...
31.105072
104
0.622365
[ "vector" ]
5ef5ff0038c3ebb070266e2e3da762d4a7674539
13,554
cpp
C++
isis/src/control/apps/findfeatures/findfeatures.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
null
null
null
isis/src/control/apps/findfeatures/findfeatures.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
null
null
null
isis/src/control/apps/findfeatures/findfeatures.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
1
2021-04-16T03:00:44.000Z
2021-04-16T03:00:44.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0...
34.227273
92
0.608381
[ "geometry", "transform" ]
5ef62eacbf7330ed83502d53d5157c179251f9b8
6,543
hpp
C++
include/mango/core/stream.hpp
diablodale/mango
2efce1d8e7c97dd89ca1e19634fe2014bf289824
[ "Zlib" ]
null
null
null
include/mango/core/stream.hpp
diablodale/mango
2efce1d8e7c97dd89ca1e19634fe2014bf289824
[ "Zlib" ]
null
null
null
include/mango/core/stream.hpp
diablodale/mango
2efce1d8e7c97dd89ca1e19634fe2014bf289824
[ "Zlib" ]
null
null
null
/* MANGO Multimedia Development Platform Copyright (C) 2012-2020 Twilight Finland 3D Oy Ltd. All rights reserved. */ #pragma once #include "configure.hpp" #include "object.hpp" #include "endian.hpp" #include "memory.hpp" #include "half.hpp" namespace mango { class Stream : protected NonCopyable { ...
19.300885
76
0.40807
[ "object", "3d" ]
5ef72c881d91081d71922ad98f0377ec9c4c7db6
1,221
cpp
C++
geeksforgeeks/arrays/array-rotation/4c. maximum-sum-iarri-among-rotations-given-array.cpp
jatin69/Revision-cpp
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
4
2020-01-16T14:49:46.000Z
2021-08-23T12:45:19.000Z
geeksforgeeks/arrays/array-rotation/4c. maximum-sum-iarri-among-rotations-given-array.cpp
jatin69/coding-practice
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
2
2018-06-06T13:08:11.000Z
2018-10-02T19:07:32.000Z
geeksforgeeks/arrays/array-rotation/4c. maximum-sum-iarri-among-rotations-given-array.cpp
jatin69/coding-practice
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
5
2018-10-02T13:49:16.000Z
2021-08-11T07:29:50.000Z
/* * Author : Jatin Rohilla * Date : 17/06/2018 * * Editor : Dev c++ 5.11 * Compiler : g++ 5.1.0 * flags : -std=c++11 * question - https://www.geeksforgeeks.org/maximum-sum-iarri-among-rotations-given-array/ time - O(n) space - O(1) */ #include<bits/stdc++.h> using namespace std; int maxSum(vector...
19.078125
87
0.613432
[ "vector" ]
5efe1189fd4ea00535ec2a20f1f7c28458c8e63b
1,598
hpp
C++
TeaGameLib/include/ResourceManager.hpp
Perukii/TeaGameLibrary
ecf04ce3827cc125523774978a574a095d0ae5c5
[ "MIT" ]
11
2020-03-08T03:12:38.000Z
2020-10-30T14:35:39.000Z
TeaGameLib/include/ResourceManager.hpp
Perukii/TeaGameLibrary
ecf04ce3827cc125523774978a574a095d0ae5c5
[ "MIT" ]
3
2020-03-09T06:46:24.000Z
2020-03-19T11:00:12.000Z
TeaGameLib/include/ResourceManager.hpp
Perukii/TeaGameLibrary
ecf04ce3827cc125523774978a574a095d0ae5c5
[ "MIT" ]
1
2020-03-19T09:42:45.000Z
2020-03-19T09:42:45.000Z
#pragma once #include "Platform/Effect.hpp" #include "Window/App/EffectMsgQueue.hpp" #include "InternalGameLib/Resource/ResourceLoader.hpp" namespace teaGameLib { class ResourceManager { static InternalGameLibHandlersPtr internalGameLibHandlersPtr; static void Init(InternalGameLibHandlersPtr _internalGameLibHan...
31.96
99
0.733417
[ "vector" ]
5eff2ed2b2d8a2b22538fb1b11e9a8411a7434af
452
cpp
C++
Chapter06/6_3.cpp
GeertArien/c-accelerated
c0ae9f66b1733de04f3133db2e9d8af6d555fe6e
[ "MIT" ]
27
2019-03-12T02:24:43.000Z
2022-02-18T22:49:00.000Z
Chapter06/6_3.cpp
GeertArien/C-Accelerated
c0ae9f66b1733de04f3133db2e9d8af6d555fe6e
[ "MIT" ]
1
2020-06-24T18:34:45.000Z
2020-06-28T12:55:05.000Z
Chapter06/6_3.cpp
GeertArien/c-accelerated
c0ae9f66b1733de04f3133db2e9d8af6d555fe6e
[ "MIT" ]
12
2019-04-22T03:49:19.000Z
2021-08-31T17:39:35.000Z
/** Accelerated C++, Exercise 6-3, 6_3.cpp What does this program fragment do? vector<int> u(10, 100); vector<int> v; copy(u.begin(), u.end(), v.begin()); Write a program that contains this fragment, and compile and execute it. */ #include "stdafx.h" #include "6_3.h" #include <vector> using std::vecto...
15.586207
72
0.630531
[ "vector" ]
6f056e89deea269fe7172480ad79197b15bcda76
7,435
cc
C++
chrome/browser/chromeos/usb_mount_observer.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/browser/chromeos/usb_mount_observer.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/usb_mount_observer.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/usb_mount_observer.h" #include "base/command_line.h" #include "base/singleton.h" #include "chrome/browser/dom_ui/fi...
36.268293
80
0.596503
[ "vector" ]
6f1381fab9e69a9febcff9c13294f132b7b6d424
23,520
cpp
C++
source/hints.cpp
ssroffe/OoT3D_Randomizer
1371fa2d26d094c936d2664a578cfe8642558f83
[ "MIT" ]
null
null
null
source/hints.cpp
ssroffe/OoT3D_Randomizer
1371fa2d26d094c936d2664a578cfe8642558f83
[ "MIT" ]
null
null
null
source/hints.cpp
ssroffe/OoT3D_Randomizer
1371fa2d26d094c936d2664a578cfe8642558f83
[ "MIT" ]
null
null
null
#include "hints.hpp" #include "custom_messages.hpp" #include "dungeon.hpp" #include "item_location.hpp" #include "item_pool.hpp" #include "location_access.hpp" #include "logic.hpp" #include "random.hpp" #include "spoiler_log.hpp" #include "fill.hpp" #include "hint_list.hpp" #include "trial.hpp" using namespace Custom...
40.343053
212
0.669005
[ "vector" ]
6f15b419e5aa853f051ed141dec7872ed5b18448
4,634
cc
C++
asylo/identity/sgx/dcap_intel_architectural_enclave_interface.cc
kevin405/mosl_vsgx_migration
76ddd438c8caad1051ea9a7e2040bf6ccee996a2
[ "Apache-2.0" ]
null
null
null
asylo/identity/sgx/dcap_intel_architectural_enclave_interface.cc
kevin405/mosl_vsgx_migration
76ddd438c8caad1051ea9a7e2040bf6ccee996a2
[ "Apache-2.0" ]
null
null
null
asylo/identity/sgx/dcap_intel_architectural_enclave_interface.cc
kevin405/mosl_vsgx_migration
76ddd438c8caad1051ea9a7e2040bf6ccee996a2
[ "Apache-2.0" ]
1
2019-01-02T22:04:21.000Z
2019-01-02T22:04:21.000Z
/* * * Copyright 2019 Asylo authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
38.297521
80
0.732628
[ "vector" ]
6f17cdeee4f3613f867dfe94526d596d80444260
541
hpp
C++
src/targets/gpu/include/migraphx/gpu/compile_hip.hpp
sjw36/AMDMIGraphX
c310bc5cf9b3f8ea44823a386a1b8bd72014bf09
[ "MIT" ]
72
2018-12-06T18:31:17.000Z
2022-03-30T15:01:02.000Z
src/targets/gpu/include/migraphx/gpu/compile_hip.hpp
sjw36/AMDMIGraphX
c310bc5cf9b3f8ea44823a386a1b8bd72014bf09
[ "MIT" ]
1,006
2018-11-30T16:32:33.000Z
2022-03-31T22:43:39.000Z
src/targets/gpu/include/migraphx/gpu/compile_hip.hpp
sjw36/AMDMIGraphX
c310bc5cf9b3f8ea44823a386a1b8bd72014bf09
[ "MIT" ]
36
2019-05-07T10:41:46.000Z
2022-03-28T15:59:56.000Z
#ifndef MIGRAPHX_GUARD_RTGLIB_COMPILE_HIP_HPP #define MIGRAPHX_GUARD_RTGLIB_COMPILE_HIP_HPP #include <migraphx/config.hpp> #include <migraphx/filesystem.hpp> #include <migraphx/compile_src.hpp> #include <string> #include <utility> #include <vector> namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { namespace ...
23.521739
96
0.787431
[ "vector" ]
6f1e502d3e563da273e4f3372afb22fa4cf7bab6
5,412
cpp
C++
client/moc_changepassworddialog.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
1
2015-08-23T11:03:58.000Z
2015-08-23T11:03:58.000Z
client/moc_changepassworddialog.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
null
null
null
client/moc_changepassworddialog.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
3
2016-12-05T02:43:52.000Z
2021-06-30T21:35:46.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'changepassworddialog.h' ** ** Created: Wed Jun 24 21:01:08 2009 ** by: The Qt Meta Object Compiler version 61 (Qt 4.5.1) ** ** WARNING! All changes made in this file will be lost! **************...
35.142857
209
0.661678
[ "object" ]
6f24d973858f00d24035621b8836a338f088b5e3
8,092
cpp
C++
snark-logic/libs-source/multiprecision/performance/gcd_bench.cpp
podlodkin/podlodkin-freeton-year-control
e394c11f2414804d2fbde93a092ae589d4359739
[ "MIT" ]
1
2021-09-14T18:09:38.000Z
2021-09-14T18:09:38.000Z
snark-logic/libs-source/multiprecision/performance/gcd_bench.cpp
podlodkin/podlodkin-freeton-year-control
e394c11f2414804d2fbde93a092ae589d4359739
[ "MIT" ]
null
null
null
snark-logic/libs-source/multiprecision/performance/gcd_bench.cpp
podlodkin/podlodkin-freeton-year-control
e394c11f2414804d2fbde93a092ae589d4359739
[ "MIT" ]
1
2021-08-31T06:27:19.000Z
2021-08-31T06:27:19.000Z
// Copyright 2020 John Maddock. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt #include <iostream> #include <benchmark/benchmark.h> #include <nil/crypto3/multiprecision/cpp_int.hpp> #include <nil/crypto3/multip...
36.125
119
0.494686
[ "vector" ]
6f25efaa454dbb669c9f9ecd54a7bcfb65a411a7
18,716
cpp
C++
src/plugin/Synthesize/SynthVHDL.cpp
salaheddinhetalani/Master_Thesis
665c7a45f06559217b492e8c9f98bd7723c7a1dc
[ "MIT" ]
1
2021-09-23T07:12:55.000Z
2021-09-23T07:12:55.000Z
src/plugin/Synthesize/SynthVHDL.cpp
salaheddinhetalani/Master_Thesis
665c7a45f06559217b492e8c9f98bd7723c7a1dc
[ "MIT" ]
null
null
null
src/plugin/Synthesize/SynthVHDL.cpp
salaheddinhetalani/Master_Thesis
665c7a45f06559217b492e8c9f98bd7723c7a1dc
[ "MIT" ]
null
null
null
// // Created by pmorku on 01.12.17. // #include <fstream> #include <assert.h> #include "../../optimizePPA/OptimizeSlave.h" #include "../../optimizePPA/OptimizeMaster.h" #include "../../optimizePPA/OptimizeOperations.h" #include "OrganizeOpStmts.h" #include "SynthVHDL.h" #include "PrintStmt.h" #include <Synthesize/R...
37.810101
168
0.597296
[ "vector" ]
6f27cbe45c79ccff53c6a55f2104eebcbbfa8b83
8,987
hpp
C++
src/cpp/common/acsStream.hpp
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
73
2021-07-08T23:35:08.000Z
2022-03-31T15:17:58.000Z
src/cpp/common/acsStream.hpp
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
5
2021-09-27T14:27:32.000Z
2022-03-21T23:50:02.000Z
src/cpp/common/acsStream.hpp
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
39
2021-07-12T05:42:51.000Z
2022-03-31T15:15:34.000Z
#ifndef ACS_STREAM_H #define ACS_STREAM_H #include <iostream> #include <sstream> #include <utility> #include <vector> #include <string> #include <thread> #include <list> #include <map> using std::string; using std::tuple; using std::list; using std::pair; using std::map; #include <boost/date_time/posix_time/p...
19.536957
95
0.696228
[ "object", "vector" ]
6f345e01cb843935a926a6919400b99cd3bce0d2
3,866
cpp
C++
trtc/src/v20190722/model/AudioParams.cpp
TencentCloud/tencentcloud-sdk-cpp-intl-en
752c031f5ad2c96868183c5931eae3a42dd5ae6c
[ "Apache-2.0" ]
1
2022-01-27T09:27:34.000Z
2022-01-27T09:27:34.000Z
trtc/src/v20190722/model/AudioParams.cpp
TencentCloud/tencentcloud-sdk-cpp-intl-en
752c031f5ad2c96868183c5931eae3a42dd5ae6c
[ "Apache-2.0" ]
null
null
null
trtc/src/v20190722/model/AudioParams.cpp
TencentCloud/tencentcloud-sdk-cpp-intl-en
752c031f5ad2c96868183c5931eae3a42dd5ae6c
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
26.29932
140
0.686756
[ "model" ]
6f40d8e3e2b7c633ac732eb7a177d3f2b874b49f
8,336
cpp
C++
CameraCalibration/StereoCalibration/main.cpp
mikeschwendy/StereoOpenCV
fc5c9ba2c11f1dc179093fff1123b1b0fe4e0f49
[ "BSD-2-Clause" ]
1
2017-04-19T17:23:40.000Z
2017-04-19T17:23:40.000Z
CameraCalibration/StereoCalibration/main.cpp
mikeschwendy/StereoOpenCV
fc5c9ba2c11f1dc179093fff1123b1b0fe4e0f49
[ "BSD-2-Clause" ]
null
null
null
CameraCalibration/StereoCalibration/main.cpp
mikeschwendy/StereoOpenCV
fc5c9ba2c11f1dc179093fff1123b1b0fe4e0f49
[ "BSD-2-Clause" ]
null
null
null
// // main.cpp // StereoCalibration // // Created by Michael Schwendeman on 8/11/15. // Copyright (c) 2015 MSS. All rights reserved. // #include <iostream> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <boost/filesystem.hpp> #include <boost/regex.hpp> using namespace cv; using namespace st...
39.320755
196
0.634837
[ "vector" ]
6f4341dacab5e11bb6704903a332133024d16966
1,149
cpp
C++
src/types/FE_Polygon.cpp
antsouchlos/OxygenEngine
11ecc13e60f8e1e3a89dee18d07b25ac5e1b0e48
[ "MIT" ]
null
null
null
src/types/FE_Polygon.cpp
antsouchlos/OxygenEngine
11ecc13e60f8e1e3a89dee18d07b25ac5e1b0e48
[ "MIT" ]
null
null
null
src/types/FE_Polygon.cpp
antsouchlos/OxygenEngine
11ecc13e60f8e1e3a89dee18d07b25ac5e1b0e48
[ "MIT" ]
null
null
null
#include "FE_Polygon.h" FE_Polygon::FE_Polygon(int indexa, int v1, int v2, int v3) { createMutex(); n = indexa; vertexNums[0] = (v1); vertexNums[1] = (v2); vertexNums[2] = (v3); } FE_Polygon::~FE_Polygon() { //vertexNums.clear(); } FE_Polygon* FE_Polygon::setIndex(int a_name){ lockMutex(...
18.532258
63
0.631854
[ "vector" ]
6f43e060b6ebf30dd4918f5cef02d318b2fc6226
9,283
cpp
C++
test/test_value_set.cpp
friendlyanon/cpp_enum_set
248a98ee768def5b4a32d3719d6ee46863377114
[ "MIT" ]
21
2021-05-25T07:59:08.000Z
2021-06-04T01:54:23.000Z
test/test_value_set.cpp
friendlyanon/cpp_enum_set
248a98ee768def5b4a32d3719d6ee46863377114
[ "MIT" ]
11
2021-05-25T09:28:51.000Z
2021-07-01T09:59:15.000Z
test/test_value_set.cpp
friendlyanon/cpp_enum_set
248a98ee768def5b4a32d3719d6ee46863377114
[ "MIT" ]
2
2021-05-25T11:52:04.000Z
2021-06-02T16:17:24.000Z
#include "testing.hpp" #include <enum_set/standard_types.hpp> #include <enum_set/type_set.hpp> #include <enum_set/value_set.hpp> #include <type_traits> #include <utility> #include <vector> // explicitly instantiate to make sure the class is well defined template class ::enum_set::value_set<int, 0, 2, 1>; using test...
29.658147
98
0.597436
[ "vector" ]
6f46495c35fc591dc03dc1eaed4af912dcf5c51f
5,510
hpp
C++
include/monitor/monitoring_utils.hpp
stolet/anna
a2aa8cd962371d1e0ed38b636d1d4c6054eeb228
[ "Apache-2.0" ]
489
2019-08-09T18:50:19.000Z
2022-03-31T20:06:30.000Z
include/monitor/monitoring_utils.hpp
stolet/anna
a2aa8cd962371d1e0ed38b636d1d4c6054eeb228
[ "Apache-2.0" ]
46
2019-08-27T12:13:09.000Z
2021-10-06T06:05:33.000Z
include/monitor/monitoring_utils.hpp
stolet/anna
a2aa8cd962371d1e0ed38b636d1d4c6054eeb228
[ "Apache-2.0" ]
109
2019-08-16T03:07:12.000Z
2022-02-26T01:31:17.000Z
// Copyright 2019 U.C. Berkeley RISE Lab // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
37.482993
79
0.729583
[ "vector" ]
6f480982c76f76503ec7837765eb75371cb5b020
6,123
hpp
C++
stapl_release/stapl/skeletons/param_deps/alltoall_hybrid_pd.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/skeletons/param_deps/alltoall_hybrid_pd.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/skeletons/param_deps/alltoall_hybrid_pd.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
39.503226
79
0.616528
[ "vector" ]
6f49f0cc99f5b4742f84c0d9e04c146de3a0e5de
5,814
cc
C++
minidump/minidump_thread_name_list_writer.cc
venge-vimeo/crashpad
7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5
[ "Apache-2.0" ]
null
null
null
minidump/minidump_thread_name_list_writer.cc
venge-vimeo/crashpad
7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5
[ "Apache-2.0" ]
null
null
null
minidump/minidump_thread_name_list_writer.cc
venge-vimeo/crashpad
7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
30.28125
79
0.759202
[ "object", "vector" ]
6f49fbe05147b810b64bc855435582b0ec61aa95
22,286
cpp
C++
src/gtirb_pprinter/MasmPrettyPrinter.cpp
GrammaTech/gtirb-pprinter
d3c7063ea0a6a4edefa6be76bf4d56527ba63855
[ "MIT" ]
36
2018-11-09T15:57:13.000Z
2022-03-02T20:07:56.000Z
src/gtirb_pprinter/MasmPrettyPrinter.cpp
GrammaTech/gtirb-pprinter
d3c7063ea0a6a4edefa6be76bf4d56527ba63855
[ "MIT" ]
10
2020-04-14T03:55:14.000Z
2022-02-21T19:39:27.000Z
src/gtirb_pprinter/MasmPrettyPrinter.cpp
GrammaTech/gtirb-pprinter
d3c7063ea0a6a4edefa6be76bf4d56527ba63855
[ "MIT" ]
14
2019-04-17T21:11:39.000Z
2022-03-02T20:07:58.000Z
//===- MasmPrinter.cpp ------------------------------------------*- C++ -*-===// // // Copyright (C) 2019 GrammaTech, Inc. // // This code is licensed under the MIT license. See the LICENSE file in the // project root for license terms. // // This project is sponsored by the Office of Naval Research, One Liberty //...
32.251809
80
0.592794
[ "model" ]
6f4bf05f8cffc2900fdfbb9c0fa5abca8ad5fa9d
71,960
cxx
C++
SkeletalRepresentationInitializer/Logic/vtkSlicerSkeletalRepresentationInitializerLogic.cxx
lopezmt/SlicerSkeletalRepresentation
3d1deb599d4026e0931fad8721f8ce9c793a757f
[ "Apache-2.0" ]
null
null
null
SkeletalRepresentationInitializer/Logic/vtkSlicerSkeletalRepresentationInitializerLogic.cxx
lopezmt/SlicerSkeletalRepresentation
3d1deb599d4026e0931fad8721f8ce9c793a757f
[ "Apache-2.0" ]
null
null
null
SkeletalRepresentationInitializer/Logic/vtkSlicerSkeletalRepresentationInitializerLogic.cxx
lopezmt/SlicerSkeletalRepresentation
3d1deb599d4026e0931fad8721f8ce9c793a757f
[ "Apache-2.0" ]
null
null
null
/*============================================================================== Program: 3D Slicer Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to ...
39.95558
179
0.639314
[ "mesh", "object", "vector", "model", "transform", "3d" ]
6f4fb4093cf352a95ca48120b27d0edbf4cce1e0
1,269
cpp
C++
src/process.cpp
s9rA16Bf4/headache
b401e7e75c0f0ade9f8b9a4f919f5f1357484670
[ "MIT" ]
null
null
null
src/process.cpp
s9rA16Bf4/headache
b401e7e75c0f0ade9f8b9a4f919f5f1357484670
[ "MIT" ]
null
null
null
src/process.cpp
s9rA16Bf4/headache
b401e7e75c0f0ade9f8b9a4f919f5f1357484670
[ "MIT" ]
null
null
null
#include "process.hpp" std::vector<std::string> process::readGuts(std::string filePath){ std::ifstream openFile(filePath); std::vector<std::string> toReturn; if (openFile.is_open()){ std::string line = ""; while(std::getline(openFile,line)){ if (line[0] != '%'){ toReturn.push_back(line); } // Ign...
28.2
81
0.623325
[ "vector" ]
6f57ccb9cf9a9c2a32c4d0bc64c29d8800d6bbfc
4,409
hh
C++
include/cbrainx/activationLayer.hh
mansoormemon/cbrainx
1b7fa699e4470bf5fc39006cb719dcfc48a7688c
[ "Apache-2.0" ]
1
2022-03-02T20:03:49.000Z
2022-03-02T20:03:49.000Z
include/cbrainx/activationLayer.hh
mansoormemon/cbrainx
1b7fa699e4470bf5fc39006cb719dcfc48a7688c
[ "Apache-2.0" ]
null
null
null
include/cbrainx/activationLayer.hh
mansoormemon/cbrainx
1b7fa699e4470bf5fc39006cb719dcfc48a7688c
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 CBrainX // Project URL: https://github.com/mansoormemon/cbrainx // // 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 // /...
34.445313
112
0.630755
[ "shape", "model" ]
6f589c0c2abf02f1fed69cb24cacd3d68ad223af
3,658
cpp
C++
Leetcode & GFG/day01.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
5
2020-06-30T12:44:25.000Z
2021-07-14T06:35:57.000Z
Leetcode & GFG/day01.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
Leetcode & GFG/day01.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
442. Find All Duplicates in an Array class Solution { public: vector<int> findDuplicates(vector<int>& a) { int n = a.size(); vector<int> ans; for(int i=0;i<n;i++){ // u -> v // we make already visited elements negative int u = i; int v = abs(a...
18.758974
70
0.405139
[ "vector" ]
6f592efdb4edb62fd893ce349bb0af802214df3e
15,743
cpp
C++
mbvtbuilder/test/Test.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
6
2018-06-27T17:43:35.000Z
2021-06-29T18:50:49.000Z
mbvtbuilder/test/Test.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
22
2019-04-10T06:38:09.000Z
2022-01-20T08:12:02.000Z
mbvtbuilder/test/Test.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
5
2019-03-12T10:25:20.000Z
2021-12-28T10:18:56.000Z
#define BOOST_TEST_MODULE GEOJSONVT #include "Clipper.h" #include "Simplifier.h" #include "MBVTLayerEncoder.h" #include "MBVTTileBuilder.h" #include "mapnikvt/mbvtpackage/MBVTPackage.pb.h" #include <picojson/picojson.h> #include <boost/math/constants/constants.hpp> #include <boost/test/included/unit_test.hpp> usin...
52.302326
224
0.608397
[ "geometry", "object", "vector" ]
6f5e8486c67ff09a0d710826ea76af0400ddffd0
20,522
cpp
C++
src/cpp/smithy.cpp
CoolDadTx/arxnet
9d2d51d7de57a67d56881aac80bf8f1f8018432e
[ "MIT" ]
null
null
null
src/cpp/smithy.cpp
CoolDadTx/arxnet
9d2d51d7de57a67d56881aac80bf8f1f8018432e
[ "MIT" ]
null
null
null
src/cpp/smithy.cpp
CoolDadTx/arxnet
9d2d51d7de57a67d56881aac80bf8f1f8018432e
[ "MIT" ]
null
null
null
#include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <stdio.h> #include <iomanip> #include <string> #include <iostream> #include <sstream> #include <algorithm> #include "player.h" #include "font.h" #include "display.h" #include "game.h" #include "encounter.h" #include "misc.h" #include "smithy.h" #includ...
29.443329
206
0.598041
[ "object" ]
6f5fb1fb07e95ef7db7fc7d84501e7177742d59f
2,653
cpp
C++
Source/Test/Test.cpp
i-saint/USDForMetasequoia
e589d47434df913ae4d037c503a89373b5c7938c
[ "MIT" ]
8
2020-03-13T01:17:07.000Z
2021-06-27T08:42:17.000Z
Source/Test/Test.cpp
i-saint/AlembicForMetasequoia
9efa6c9a3428a88ec37482abb760990318a01434
[ "MIT" ]
1
2020-04-07T09:20:15.000Z
2020-04-07T09:20:15.000Z
Source/Test/Test.cpp
i-saint/AlembicForMetasequoia
9efa6c9a3428a88ec37482abb760990318a01434
[ "MIT" ]
1
2020-05-06T11:42:43.000Z
2020-05-06T11:42:43.000Z
#include "pch.h" #include "Test.h" static std::string g_log; void PrintImpl(const char *format, ...) { const int MaxBuf = 4096; char buf[MaxBuf]; va_list args; va_start(args, format); vsprintf(buf, format, args); g_log += buf; #ifdef _WIN32 ::OutputDebugStringA(buf); #endif printf("%s...
20.251908
97
0.588767
[ "vector" ]
6f69d8e4cb4f1c85dc4755d735ae2ae951d01734
2,499
cpp
C++
src/0037_sudoku_solver.cpp
Dephilia/leetcode_cpp
2f0d85d842fafd43cae8d5ae99817c9e243d58e4
[ "MIT" ]
null
null
null
src/0037_sudoku_solver.cpp
Dephilia/leetcode_cpp
2f0d85d842fafd43cae8d5ae99817c9e243d58e4
[ "MIT" ]
null
null
null
src/0037_sudoku_solver.cpp
Dephilia/leetcode_cpp
2f0d85d842fafd43cae8d5ae99817c9e243d58e4
[ "MIT" ]
null
null
null
/* * This is a DFS problem. * Try to use recursive function to solve. * */ #include <leetcode.hpp> class Solution { public: // Just for convenience using Board = vector<vector<char>>; bool isValid(Board& board, int& row, int& col, char& ch) { /* * Input row, column and char, determin...
24.742574
81
0.411765
[ "vector" ]
6f69de6d7abc37a7447d8200be9063c8c234b841
2,235
cc
C++
chrome/browser/sync/sessions/test_util.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-02-20T14:25:04.000Z
2019-12-13T13:58:28.000Z
chrome/browser/sync/sessions/test_util.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
chrome/browser/sync/sessions/test_util.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-08-09T09:03:23.000Z
2020-05-26T09:14:49.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 "chrome/browser/sync/sessions/test_util.h" namespace browser_sync { namespace sessions { namespace test_util { void SimulateHasMoreToSync(s...
38.534483
78
0.730201
[ "vector" ]
6f6a2fcb09cea2e1382d139afb0febcac9941eb6
3,895
cpp
C++
modules/task_2/votyakova_d_jacoby_method/main.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_2/votyakova_d_jacoby_method/main.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/votyakova_d_jacoby_method/main.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 Votyakova Daria #include <gtest/gtest.h> #include <vector> #include <gtest-mpi-listener.hpp> #include "./jacoby_method.h" TEST(JACOBI_METHOD_MPI, TEST_Equation_1) { fflush(stdout); int rank; MPI_Comm_rank(MPI_COMM_WORLD, &rank); std::vector<double> A, b; if (rank == 0) { A = {4., 1....
23.463855
76
0.61181
[ "vector" ]
6f6a42e2b32b5f0e337c0c5c46fb8bb5dd12ae90
1,699
cpp
C++
src/PersistenceManager.cpp
barulicm/cupola
90ef07ccadc31cdc5cce2ce5b142987dc4425c8d
[ "MIT" ]
null
null
null
src/PersistenceManager.cpp
barulicm/cupola
90ef07ccadc31cdc5cce2ce5b142987dc4425c8d
[ "MIT" ]
null
null
null
src/PersistenceManager.cpp
barulicm/cupola
90ef07ccadc31cdc5cce2ce5b142987dc4425c8d
[ "MIT" ]
null
null
null
#include <iostream> #include "PersistenceManager.h" PersistenceManager::PersistenceManager(QObject *parent) : QObject(parent), m_settings("barulicm","Cupola") { } void PersistenceManager::loadRepositoryListModel(RepositoryListModel &model) { model.clear(); int repoCount = m_settings.beginReadArray("repos");...
35.395833
92
0.723367
[ "model" ]
4cf6956d90202eb6f27a5acc2c63f02d94e95768
7,634
cc
C++
Algorithms/TrackMaintainer/TrackMaintainer.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/TrackMaintainer/TrackMaintainer.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/TrackMaintainer/TrackMaintainer.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
#include "boost/bind.hpp" #include "Algorithms/Controller.h" #include "Logger/Log.h" #include "Messages/RadarConfig.h" #include "Messages/TSPI.h" #include "Messages/Track.h" #include "Time/TimeStamp.h" #include "TrackMaintainer.h" #include "TrackMaintainer_defaults.h" #include "Utils/Utils.h" #include "QtCore/QStrin...
34.387387
114
0.61213
[ "vector" ]
4cff7d3a1c51b6181de8543f0d129447ce93bf03
22,519
cc
C++
microbench/rdma/rdma_micro.cc
FlyingHObb1t/drtm_forked
b86ae25f9954733df86e5a032c005f992d26af77
[ "Apache-2.0" ]
42
2015-12-17T04:42:22.000Z
2021-07-16T14:40:24.000Z
microbench/rdma/rdma_micro.cc
FlyingHObb1t/drtm_forked
b86ae25f9954733df86e5a032c005f992d26af77
[ "Apache-2.0" ]
null
null
null
microbench/rdma/rdma_micro.cc
FlyingHObb1t/drtm_forked
b86ae25f9954733df86e5a032c005f992d26af77
[ "Apache-2.0" ]
9
2015-12-19T00:45:37.000Z
2021-11-07T16:50:14.000Z
/* * The code is part of our project called DrTM, which leverages HTM and RDMA for speedy distributed * in-memory transactions. * * * Copyright (C) 2015 Institute of Parallel and Distributed Systems (IPADS), Shanghai Jiao Tong University * All rights reserved. * * Licensed under the Apache License, Versi...
32.308465
121
0.683778
[ "vector" ]
980078e2cd84e60f0993e2e6a27b052bd476368e
7,001
cc
C++
parallel_clustering/clustering/clusterers/parallel-modularity-clusterer.cc
jeshi96/google-research
b769d51bb71eefe0a732eb0286716feb62117e2d
[ "Apache-2.0" ]
null
null
null
parallel_clustering/clustering/clusterers/parallel-modularity-clusterer.cc
jeshi96/google-research
b769d51bb71eefe0a732eb0286716feb62117e2d
[ "Apache-2.0" ]
null
null
null
parallel_clustering/clustering/clusterers/parallel-modularity-clusterer.cc
jeshi96/google-research
b769d51bb71eefe0a732eb0286716feb62117e2d
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Google Research Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
37.438503
106
0.700614
[ "vector" ]
9801b2dbb68af67982093820f24885a629d75abc
1,067
hpp
C++
satellite/include/App.hpp
terra-render/Terra
fe2404b70f828ac807f776b25d4f5d702952c25b
[ "MIT" ]
10
2017-05-18T12:33:49.000Z
2019-11-05T00:21:16.000Z
satellite/include/App.hpp
sparkon/Terra
49ba88604dea35b450b0b61b3048ad1d3ef0d27b
[ "MIT" ]
1
2019-08-15T04:09:05.000Z
2019-08-15T23:55:35.000Z
satellite/include/App.hpp
sparkon/Terra
49ba88604dea35b450b0b61b3048ad1d3ef0d27b
[ "MIT" ]
1
2018-02-04T07:14:12.000Z
2018-02-04T07:14:12.000Z
#pragma once // Satellite #include <Visualization.hpp> #include <Renderer.hpp> #include <Graphics.hpp> #include <Scene.hpp> #include <Console.hpp> // stdlib #include <vector> #include <memory> #include <functional> // The App is a container for Window, Presentation layers // registers itself to the UI...
21.34
65
0.616682
[ "vector" ]
9803d586cdcf3bfc0408ac8922dc5706fd3a0d0e
758
cpp
C++
src/Core/Geometry/DCEL/HalfEdge.cpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
1
2018-04-16T13:55:45.000Z
2018-04-16T13:55:45.000Z
src/Core/Geometry/DCEL/HalfEdge.cpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
null
null
null
src/Core/Geometry/DCEL/HalfEdge.cpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
null
null
null
#include <Core/Geometry/DCEL/HalfEdge.hpp> #include <Core/Geometry/DCEL/Face.hpp> #include <Core/Geometry/DCEL/Vertex.hpp> namespace Ra { namespace Core { /// CONSTRUCTOR HalfEdge::HalfEdge( const Container::Index& index ) : IndexedObject( index ), m_v( nullptr ), m_next( nullptr ), m_prev( nullptr )...
23.6875
98
0.64248
[ "geometry" ]
98095d95bb9831da44f28b3273d0cdefae083472
26,072
hpp
C++
include/Newtonsoft/Json/Serialization/JsonTypeReflector.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/Newtonsoft/Json/Serialization/JsonTypeReflector.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/Newtonsoft/Json/Serialization/JsonTypeReflector.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Nullable`1 #include "System/...
72.623955
335
0.772821
[ "object", "vector" ]
980c09def1506254bb13b62c13181cecadc61d30
16,812
hpp
C++
include/GTGE/Scripting.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
include/GTGE/Scripting.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
include/GTGE/Scripting.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #ifndef GT_Scripting #define GT_Scripting #include <GTGE/Core/Serializer.hpp> #include <GTGE/Core/Deserializer.hpp> #include <GTGE/Core/Windowing/MouseButtons.hpp> #include <GTGE/Core/Windowing/Keys.hpp> #include <GTGE/Script.hpp> #include "Scripting/Scri...
37.030837
124
0.581906
[ "object", "model" ]
980e007f56c31bc44e46a8cb1841e412bc5d30c2
750
cpp
C++
platforms/leetcode/0065_daily_temperatures.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/leetcode/0065_daily_temperatures.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/leetcode/0065_daily_temperatures.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" using i32 = std::int32_t; using i64 = std::int64_t; //const i32 INF = 1000000000 + 7; const i32 fastio_ = ([](){std::ios_base::sync_with_stdio(0); std::cin.tie(0);return 0;})(); vector<i32> tab(vector<i32> arr) { i32 n = arr.size(); vector<i32> mq; vector<i32> ans(n); for...
27.777778
91
0.512
[ "vector" ]
980ecefb961dcc3b370ceae045ee2072022509e5
2,630
cpp
C++
codeforces/B - String/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/B - String/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/B - String/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Apr/27/2018 14:23 * solution_verdict: Accepted language: GNU C++14 * run...
22.478632
111
0.461597
[ "vector" ]
9811b233641e6225ee4b5804f933c414ab87ea0d
5,555
cpp
C++
tests/test_multiple_value.cpp
sara-nl/surfsara-cli-args-cpp
92db59808e808ae6a629cde240425c7655282ffa
[ "MIT" ]
1
2018-02-01T20:46:46.000Z
2018-02-01T20:46:46.000Z
tests/test_multiple_value.cpp
sara-nl/surfsara-cli-args-cpp
92db59808e808ae6a629cde240425c7655282ffa
[ "MIT" ]
1
2018-02-01T21:04:58.000Z
2018-02-01T21:04:58.000Z
tests/test_multiple_value.cpp
sara-nl/surfsara-cli-args-cpp
92db59808e808ae6a629cde240425c7655282ffa
[ "MIT" ]
null
null
null
/***************************************************************************** MIT License Copyright (c) 2018 stefan-wolfsheimer 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 restrictio...
34.290123
78
0.664086
[ "vector" ]
981874f5ea50032e0e63b8c7b87ef443a83deb85
1,999
cxx
C++
test/itkTrackerDirectionPickerImageBaseTest.cxx
bloyl/DiffusionImagingTK
0516d32b7b0d41ed161134812746ef02aab000de
[ "Apache-2.0" ]
4
2016-01-09T19:02:28.000Z
2017-07-31T19:41:32.000Z
test/itkTrackerDirectionPickerImageBaseTest.cxx
bloyl/DiffusionImagingTK
0516d32b7b0d41ed161134812746ef02aab000de
[ "Apache-2.0" ]
null
null
null
test/itkTrackerDirectionPickerImageBaseTest.cxx
bloyl/DiffusionImagingTK
0516d32b7b0d41ed161134812746ef02aab000de
[ "Apache-2.0" ]
2
2016-08-06T00:58:26.000Z
2019-02-18T01:03:13.000Z
/*========================================================================= * * Copyright Section of Biomedical Image Analysis * University of Pennsylvania * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
29.835821
77
0.644822
[ "vector" ]
981b4fa30cd250f6886b8f382e62c3d3f81a5b82
5,992
cpp
C++
Tutorial3/main.cpp
asm128/gpftw
984eec9a0cb6047000dda98c03696592406154a8
[ "MIT" ]
1
2017-06-19T22:19:30.000Z
2017-06-19T22:19:30.000Z
Tutorial3/main.cpp
asm128/gpftw
984eec9a0cb6047000dda98c03696592406154a8
[ "MIT" ]
4
2017-06-16T23:25:37.000Z
2017-07-01T01:33:25.000Z
Tutorial3/main.cpp
asm128/gpftw
984eec9a0cb6047000dda98c03696592406154a8
[ "MIT" ]
null
null
null
// Tip: Hold Left ALT + SHIFT while tapping or holding the arrow keys in order to select multiple columns and write on them at once. // Also useful for copy & paste operations in which you need to copy a bunch of variable or function names and you can't afford the time of copying them one by one. // #include <stdio.h...
61.142857
247
0.676736
[ "render" ]
982724fe249deb94684e864ab31cf818459bd597
16,669
cpp
C++
source/lib/PccLibMetrics/source/PCCMetrics.cpp
giterator/mpeg-pcc-tmc2
4262af3b405e69f3823eedbd6ebb70d81c5f502a
[ "BSD-3-Clause" ]
80
2019-07-02T22:05:26.000Z
2022-03-29T12:46:31.000Z
source/lib/PccLibMetrics/source/PCCMetrics.cpp
ricardjidcc/mpeg-pcc-tmc2
588abd7750d24057f2ce8b1088cc92868a39bc16
[ "BSD-3-Clause" ]
null
null
null
source/lib/PccLibMetrics/source/PCCMetrics.cpp
ricardjidcc/mpeg-pcc-tmc2
588abd7750d24057f2ce8b1088cc92868a39bc16
[ "BSD-3-Clause" ]
34
2019-07-18T11:58:14.000Z
2022-03-18T06:47:48.000Z
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2017, ISO/IEC * All rights reser...
42.414758
121
0.590857
[ "vector" ]
982e23462f2d963e5f1d4f7277ddd3579a1b6d10
29,160
cpp
C++
src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp
orangecms/lumina-desktop
603e57e5d0a473ea7f51bf4cf274bebe512ac159
[ "BSD-3-Clause" ]
null
null
null
src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp
orangecms/lumina-desktop
603e57e5d0a473ea7f51bf4cf274bebe512ac159
[ "BSD-3-Clause" ]
null
null
null
src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp
orangecms/lumina-desktop
603e57e5d0a473ea7f51bf4cf274bebe512ac159
[ "BSD-3-Clause" ]
null
null
null
//=========================================== // Lumina-Desktop source code // Copyright (c) 2017, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "mainUI.h" #include "ui_mainUI.h" #include <QDebug> #include <Lumi...
41.597718
176
0.708333
[ "object" ]
982e6a64d5e681343d279ccd28da83cdd178265f
5,241
cc
C++
HeavyFlavorAnalysis/SpecificDecay/src/BPHBdToKxMuMuBuilder.cc
AFJohan92/cmssw
c5b36f05986c35998ddd4c873dc6812646579744
[ "Apache-2.0" ]
2
2020-01-21T11:23:39.000Z
2020-01-21T11:23:42.000Z
HeavyFlavorAnalysis/SpecificDecay/src/BPHBdToKxMuMuBuilder.cc
AFJohan92/cmssw
c5b36f05986c35998ddd4c873dc6812646579744
[ "Apache-2.0" ]
null
null
null
HeavyFlavorAnalysis/SpecificDecay/src/BPHBdToKxMuMuBuilder.cc
AFJohan92/cmssw
c5b36f05986c35998ddd4c873dc6812646579744
[ "Apache-2.0" ]
3
2019-03-09T13:06:43.000Z
2020-07-03T00:47:30.000Z
/* * See header file for a description of this class. * * \author Paolo Ronchese INFN Padova * */ //----------------------- // This Class' Header -- //----------------------- #include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHBdToKxMuMuBuilder.h" //------------------------------- // Collaborating Class H...
27.87766
113
0.666094
[ "vector" ]
982eecdbb9c203bedde41d491e3c6d1a2901914f
6,958
cpp
C++
client.cpp
s25g5d4/netproghw2
05739f27eaae0a4436f753f6b03fc52d217118e4
[ "MIT" ]
null
null
null
client.cpp
s25g5d4/netproghw2
05739f27eaae0a4436f753f6b03fc52d217118e4
[ "MIT" ]
null
null
null
client.cpp
s25g5d4/netproghw2
05739f27eaae0a4436f753f6b03fc52d217118e4
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <vector> #include <cstdio> #include <cstdlib> #include <cstring> #include "commons.hpp" #include "my_huffman.hpp" extern "C" { #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <s...
23.828767
123
0.553464
[ "vector" ]
98313ae9e9e4cf024a0c04db9d758a32bf5c4e5e
325
hh
C++
include/ftk/io/mpas_stream.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
19
2018-11-01T02:15:17.000Z
2022-03-28T16:55:00.000Z
include/ftk/io/mpas_stream.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
12
2019-04-14T12:49:41.000Z
2021-10-20T03:59:21.000Z
include/ftk/io/mpas_stream.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
9
2019-02-08T19:40:46.000Z
2021-06-15T00:31:09.000Z
#ifndef _FTK_MPAS_STREAM_HH #define _FTK_MPAS_STREAM_HH #include <ftk/object.hh> #include <ftk/ndarray.hh> #include <ftk/ndarray/ndarray_group.hh> namespace ftk { using nlohmann::json; struct mpas_stream : public object { mpas_stream(const std::string& path, diy::mpi::communicator comm=MPI_COMM_WORLD); }; } #e...
16.25
83
0.76
[ "object" ]
9839f37cb06cce890ed5b35ab5b8c033811ae328
14,163
cpp
C++
pennylane_lightning/src/benchmarks/Bench_LinearAlgebra.cpp
AmintorDusko/pennylane-lightning
9554a95842de9d7759ce96bfa75857e0c9ca756b
[ "Apache-2.0" ]
null
null
null
pennylane_lightning/src/benchmarks/Bench_LinearAlgebra.cpp
AmintorDusko/pennylane-lightning
9554a95842de9d7759ce96bfa75857e0c9ca756b
[ "Apache-2.0" ]
null
null
null
pennylane_lightning/src/benchmarks/Bench_LinearAlgebra.cpp
AmintorDusko/pennylane-lightning
9554a95842de9d7759ce96bfa75857e0c9ca756b
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 Xanadu Quantum Technologies Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law o...
32.483945
80
0.583492
[ "vector" ]