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
22ddd77faba1e041181fb3b59819ac1d4aba6043
1,366
cpp
C++
algorithms/kmp.cpp
NChechulin/Algorithms-and-Data-Structures
c138d814f59ca0d22f895f85a4d089dd2d4f2775
[ "MIT" ]
null
null
null
algorithms/kmp.cpp
NChechulin/Algorithms-and-Data-Structures
c138d814f59ca0d22f895f85a4d089dd2d4f2775
[ "MIT" ]
null
null
null
algorithms/kmp.cpp
NChechulin/Algorithms-and-Data-Structures
c138d814f59ca0d22f895f85a4d089dd2d4f2775
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> std::vector<int> getFailureArray(const std::string &pattern) { int pattern_length = pattern.size(); std::vector<int> failure(pattern_length + 1); failure[0] = -1; int j = -1; for (int i = 0; i < pattern_length; i++) { while (j != -1 &...
23.551724
67
0.52123
[ "vector" ]
22e3d46be88a1703460cf5566e377b22696183df
6,306
cpp
C++
example/extern/boost/asio/boostechoclient.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
example/extern/boost/asio/boostechoclient.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
example/extern/boost/asio/boostechoclient.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
#include <cstdlib> #include <iostream> #include <boost/bind.hpp> #include <boost/asio.hpp> #include <boost/concept_check.hpp> #include <queue> #include <sstream> #include "system/timespec.hpp" using namespace boost::asio; using boost::asio::ip::tcp; using namespace std; using namespace solid; typedef boost::asio::ip...
23.014599
111
0.646844
[ "vector", "solid" ]
22ea8acda51a731a2acf8bf00c92bed93b0c70e8
4,359
cc
C++
src/gmmbin/gmm-est-map.cc
shuipi100/kaldi
8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0
[ "Apache-2.0" ]
805
2018-05-28T02:32:04.000Z
2022-03-26T09:13:12.000Z
src/gmmbin/gmm-est-map.cc
shuipi100/kaldi
8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0
[ "Apache-2.0" ]
49
2015-10-24T22:06:28.000Z
2019-12-24T11:13:34.000Z
src/gmmbin/gmm-est-map.cc
shuipi100/kaldi
8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0
[ "Apache-2.0" ]
267
2018-06-07T08:33:28.000Z
2022-03-30T12:18:33.000Z
// gmmbin/gmm-est-map.cc // Copyright 2009-2012 Microsoft Corporation // Johns Hopkins University (author: Daniel Povey) // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in ...
33.790698
85
0.63822
[ "vector", "model" ]
22ecfbaff37e0effb7fc6821efe7cb35ab846797
1,089
cpp
C++
Clerk/UI/Goals/GoalsProgressRender.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
14
2016-11-01T15:48:02.000Z
2020-07-15T13:00:27.000Z
Clerk/UI/Goals/GoalsProgressRender.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
29
2017-11-16T04:15:33.000Z
2021-12-22T07:15:42.000Z
Clerk/UI/Goals/GoalsProgressRender.cpp
sergeylenkov/Clerk
b220864e89559207c5eeea113668891236fcbfb9
[ "MIT" ]
2
2018-08-15T15:25:11.000Z
2019-01-28T12:49:50.000Z
#include "GoalsProgressRender.h" GoalsProgressRender::GoalsProgressRender() : wxDataViewCustomRenderer("string", wxDATAVIEW_CELL_INERT, wxDVR_DEFAULT_ALIGNMENT) { } GoalsProgressRender::~GoalsProgressRender() { } bool GoalsProgressRender::Render(wxRect rect, wxDC *dc, int state) { int percentWidth = (rect.GetWidth(...
20.54717
127
0.707071
[ "render" ]
22f20927b886fc9e2d9a46df968dbe3a5816af12
10,762
cpp
C++
source/backend/cpu/CPUDeconvolution.cpp
loveltyoic/MNN
ff405a307819a7228e0d1fc02c00c68021745b0a
[ "Apache-2.0" ]
1
2021-02-03T07:50:59.000Z
2021-02-03T07:50:59.000Z
source/backend/cpu/CPUDeconvolution.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/CPUDeconvolution.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
1
2021-01-15T06:28:11.000Z
2021-01-15T06:28:11.000Z
// // CPUDeconvolution.cpp // MNN // // Created by MNN on 2018/07/20. // Copyright © 2018, Alibaba Group Holding Limited // #include "CPUDeconvolution.hpp" #include "CPUBackend.hpp" #include "Concurrency.h" #include "Macro.h" #include "Matrix.hpp" #include "TensorUtils.hpp" #include "compute/ConvOpt.h" #include "c...
41.392308
119
0.586601
[ "vector" ]
22f64f3f08894411f4743cc0a957a06f107a6cc9
6,263
cpp
C++
Code/Libraries/3D/src/GL2/gl2vertexbuffer.cpp
rajdakin/Eldritch
3cd6831a4eebb11babec831e2fc59361411ad57f
[ "Zlib" ]
4
2018-01-31T11:56:52.000Z
2021-06-27T18:11:23.000Z
Code/Libraries/3D/src/GL2/gl2vertexbuffer.cpp
rajdakin/Eldritch
3cd6831a4eebb11babec831e2fc59361411ad57f
[ "Zlib" ]
11
2019-01-04T19:50:48.000Z
2021-04-26T08:31:45.000Z
Code/Libraries/3D/src/GL2/gl2vertexbuffer.cpp
rajdakin/Eldritch
3cd6831a4eebb11babec831e2fc59361411ad57f
[ "Zlib" ]
4
2018-02-27T07:10:51.000Z
2021-04-22T09:38:13.000Z
#include "core.h" #include "gl2vertexbuffer.h" #include "vector.h" #include "vector2.h" #include "vector4.h" #ifdef __amigaos4__ #include "idatastream.h" #endif #ifdef NO_VBO #include <cstdlib> #include <cstring> #endif #ifdef HAVE_GLES extern "C" { //void* eglGetProcAddress(const char*); // cannot inc...
23.545113
110
0.676353
[ "vector" ]
22fd39f1680593be3fbc2e6575592d8b83c665c9
9,283
cpp
C++
3. Cooperative Autonomy/Programa/PathPlanning.cpp
diegoalejogm/Mobile-Robotics-Projects
9b3535766ab785021c693627d3b61d3fb064e1e3
[ "MIT" ]
2
2019-01-28T16:12:52.000Z
2019-04-18T03:04:58.000Z
3. Cooperative Autonomy/Programa/PathPlanning.cpp
diegoalejogm/RoboticsProject
9b3535766ab785021c693627d3b61d3fb064e1e3
[ "MIT" ]
null
null
null
3. Cooperative Autonomy/Programa/PathPlanning.cpp
diegoalejogm/RoboticsProject
9b3535766ab785021c693627d3b61d3fb064e1e3
[ "MIT" ]
1
2018-05-20T15:51:13.000Z
2018-05-20T15:51:13.000Z
#include "Configuration.h" #include "IntegerPoint2D.h" #include "PathPlanning.h" #include <cstdio> #include <iostream> #include <fstream> #include <map> #include <string> #include <queue> #define SAFETY_DISTANCE false #define FIRST_TRY_TO_SPIN true #define PATH_SHORTENER false #define CELL_SIZE 400 #define PI acos(-1....
33.756364
132
0.636109
[ "vector" ]
fe066959edc53a821771a0d81d3288658261d7f4
5,385
cpp
C++
TypesetWidget/cases.cpp
Math-Collection/YAWYSIWYGEE-Qt-Equation-Editor-Widget
c4e177bff5edff8122ec73a7ed8f325b42fc74b4
[ "MIT" ]
2
2020-03-28T15:35:08.000Z
2021-01-10T06:50:05.000Z
TypesetWidget/cases.cpp
Qt-Widgets/YAWYSIWYGEE-Qt-Equation-Editor-Widget
040383a8db795bb863c451caf4022018181afaf1
[ "MIT" ]
null
null
null
TypesetWidget/cases.cpp
Qt-Widgets/YAWYSIWYGEE-Qt-Equation-Editor-Widget
040383a8db795bb863c451caf4022018181afaf1
[ "MIT" ]
null
null
null
#include "cases.h" #include "algorithm.h" #include "cursor.h" #include "document.h" #include "globals.h" #include <QMenu> #include <QPainter> namespace Typeset{ Cases::Cases(const std::vector<SubPhrase*>& data) : NaryConstruct(data){ Q_ASSERT(data.size()%2 == 0); Q_ASSERT(data.size() > 0); updateLayo...
28.193717
93
0.614299
[ "vector" ]
fe13ee7460a3b1550916e8127c8030f02b2d7e18
10,794
cpp
C++
kdesktop-src/kdesktop/kdesktop/ble2.cpp
freeors/kDesktop
1e10e1199525ca2e3491dd10290d266544961fe3
[ "BSD-2-Clause" ]
null
null
null
kdesktop-src/kdesktop/kdesktop/ble2.cpp
freeors/kDesktop
1e10e1199525ca2e3491dd10290d266544961fe3
[ "BSD-2-Clause" ]
null
null
null
kdesktop-src/kdesktop/kdesktop/ble2.cpp
freeors/kDesktop
1e10e1199525ca2e3491dd10290d266544961fe3
[ "BSD-2-Clause" ]
3
2021-03-01T11:15:31.000Z
2021-06-27T15:17:52.000Z
/* $Id: title_screen.cpp 48740 2011-03-05 10:01:34Z mordante $ */ /* Copyright (C) 2008 - 2011 by Mark de Wever <koraq@xs4all.nl> 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 v...
27.819588
166
0.704929
[ "vector" ]
fe191f4854a5ff9df186d9291456e09e446cff81
1,144
hpp
C++
aslam_optimizer/aslam_backend/include/aslam/backend/sparse_matrix_functions.hpp
mmmspatz/kalibr
e2e881e5d25d378f0c500c67e00532ee1c1082fd
[ "BSD-4-Clause" ]
null
null
null
aslam_optimizer/aslam_backend/include/aslam/backend/sparse_matrix_functions.hpp
mmmspatz/kalibr
e2e881e5d25d378f0c500c67e00532ee1c1082fd
[ "BSD-4-Clause" ]
null
null
null
aslam_optimizer/aslam_backend/include/aslam/backend/sparse_matrix_functions.hpp
mmmspatz/kalibr
e2e881e5d25d378f0c500c67e00532ee1c1082fd
[ "BSD-4-Clause" ]
null
null
null
#ifndef ASLAM_BACKEND_SPARSE_MATRIX_FUNCTIONS_HPP #define ASLAM_BACKEND_SPARSE_MATRIX_FUNCTIONS_HPP #include <sparse_block_matrix/linear_solver.h> #include <boost/shared_ptr.hpp> #include <eigen3/Eigen/Dense> namespace aslam { namespace backend { void applySchurComplement(sparse_block_matrix::SparseBlockMatrix...
38.133333
104
0.613636
[ "vector" ]
fe1cc3414fc7299d0041a668f98a9cb99b7299e6
3,729
hpp
C++
sdk/include/xfControl.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/xfControl.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/xfControl.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
#pragma once #include "xfnode.hpp" #include "xfwinbase.hpp" namespace Hxsoft{ namespace XFrame { typedef struct tagBindControl { UINT key; LPTSTR name; UINT fireEvent; }TBindControl; class XFRAME_API xfControl : public xfWinbase { public: xfControl(void); ~xfControl(void); public: xfNode * m_pxf...
26.827338
152
0.731295
[ "vector" ]
fe29671ec1d3501f3a05274bf303de9ad93a90e7
8,724
hpp
C++
maylee/include/maylee/syntax/syntax_parser.hpp
eidolonsystems/maylee
a0a2e94bdc8543f88e428bee53b83db7a4bca0c0
[ "MIT" ]
null
null
null
maylee/include/maylee/syntax/syntax_parser.hpp
eidolonsystems/maylee
a0a2e94bdc8543f88e428bee53b83db7a4bca0c0
[ "MIT" ]
null
null
null
maylee/include/maylee/syntax/syntax_parser.hpp
eidolonsystems/maylee
a0a2e94bdc8543f88e428bee53b83db7a4bca0c0
[ "MIT" ]
null
null
null
#ifndef MAYLEE_SYNTAX_PARSER_HPP #define MAYLEE_SYNTAX_PARSER_HPP #include <deque> #include <memory> #include <optional> #include <string> #include <type_traits> #include <vector> #include "maylee/lexicon/token.hpp" #include "maylee/syntax/expression.hpp" #include "maylee/syntax/statement.hpp" #include "maylee/syntax/s...
32.796992
80
0.632279
[ "vector" ]
fe329c5e147e18480bf8c093d8118f8b3991289d
15,395
cpp
C++
src/geometry/shapes2/VoxelGrid.cpp
ShnitzelKiller/Reverse-Engineering-Carpentry
585b5ff053c7e3bf286b663a584bc83687691bd6
[ "MIT" ]
3
2021-09-08T07:28:13.000Z
2022-03-02T21:12:40.000Z
src/geometry/shapes2/VoxelGrid.cpp
ShnitzelKiller/Reverse-Engineering-Carpentry
585b5ff053c7e3bf286b663a584bc83687691bd6
[ "MIT" ]
1
2021-09-21T14:40:55.000Z
2021-09-26T01:19:38.000Z
src/geometry/shapes2/VoxelGrid.cpp
ShnitzelKiller/Reverse-Engineering-Carpentry
585b5ff053c7e3bf286b663a584bc83687691bd6
[ "MIT" ]
null
null
null
// // Created by James Noeckel on 4/2/20. // #include "VoxelGrid.hpp" #include <unordered_map> #include <utility> #include "utils/IntervalTree.h" #include "utils/sorted_data_structures.hpp" #define BISECTION_STEPS 5 using namespace Eigen; static const std::vector<std::vector<std::pair<int, int>>> database = ...
41.834239
176
0.523027
[ "vector" ]
fe3979be8eda94f5c0aef4603693a151a0dd737b
2,817
cc
C++
src/IntRank2/CDipT.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
4
2021-03-15T10:02:13.000Z
2022-01-16T11:06:28.000Z
src/IntRank2/CDipT.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
1
2022-01-27T15:35:03.000Z
2022-01-27T15:35:03.000Z
src/IntRank2/CDipT.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
null
null
null
#include <gamma.h> #include <vector> int main() { // This Is A Typical Dipolar Spatial Cartesian Tensor (KHz) matrix Dmx(3,3,h_matrix_type); Dmx.put ( 0.79,0,0); Dmx.put_h( 0.00,0,1); Dmx.put_h( 0.00,0,2); Dmx.put (-1.13,1,1); Dmx.put_h(-0.93,1,2); ...
37.56
76
0.488818
[ "vector" ]
fe4031c9ac9d832d1cb79db5350e49e64c83c5b6
1,984
cpp
C++
src/TileMap.cpp
MartinsLucas/Jogos
e72ac454d19557d3a45211a57e0695bb6c3f104a
[ "MIT" ]
null
null
null
src/TileMap.cpp
MartinsLucas/Jogos
e72ac454d19557d3a45211a57e0695bb6c3f104a
[ "MIT" ]
7
2019-06-06T17:39:10.000Z
2019-07-17T07:37:55.000Z
src/TileMap.cpp
MartinsLucas/Jogos
e72ac454d19557d3a45211a57e0695bb6c3f104a
[ "MIT" ]
null
null
null
#include "TileMap.h" #include "Camera.h" TileMap::TileMap(GameObject &associated, const char *file, TileSet *tileSet) : Component(associated) { this->Load(file); this->SetTileSet(tileSet); } void TileMap::Load(const char *file) { ifstream tileMap; tileMap.open(file); if(tileMap.good()) { char comma; ...
22.545455
102
0.581149
[ "render" ]
1cfc36143d335afea8d30ccfc498bdaeea805343
1,070
cpp
C++
HackerRank/map_int_to_string.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
HackerRank/map_int_to_string.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
HackerRank/map_int_to_string.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <map> #include <string> int main() { int n = 0; std::cin >> n; typedef std::map <int, std::string> Map; Map m; m[1] = "one"; m[2] = "two"; m[3] = "three"; m[4] = "four"; m[5] = "five"; m[6] = "six"; m[7] ...
15.970149
53
0.497196
[ "vector" ]
1cfc7473c1581b2039afa6b1039f4da730df210f
9,594
cpp
C++
libman/gmeans_coordinator.cpp
disa-mhembere/knor
5c4174b80726eb5fc8da7042d517e8c3929ec747
[ "Apache-2.0" ]
13
2017-06-30T12:48:54.000Z
2021-05-26T06:54:10.000Z
libman/gmeans_coordinator.cpp
disa-mhembere/knor
5c4174b80726eb5fc8da7042d517e8c3929ec747
[ "Apache-2.0" ]
30
2016-11-21T23:21:48.000Z
2017-03-05T06:26:52.000Z
libman/gmeans_coordinator.cpp
disa-mhembere/k-par-means
5c4174b80726eb5fc8da7042d517e8c3929ec747
[ "Apache-2.0" ]
5
2017-04-11T00:44:04.000Z
2018-11-01T10:41:06.000Z
/* * Copyright 2016 neurodata (http://neurodata.io/) * Written by Disa Mhembere (disa@jhu.edu) * * This file is part of knor * * 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 * * ...
31.663366
83
0.613508
[ "vector" ]
1cffd4da39ba3687eccd091c7d1ac4b3477f433f
5,597
cpp
C++
src/app/qgsaddattrdialog.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/app/qgsaddattrdialog.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/app/qgsaddattrdialog.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsaddattrdialog.h - description ------------------- begin : January 2005 copyright : (C) 2005 by Marco Hugentobler email : marco.huge...
41.768657
155
0.57102
[ "shape" ]
e8007011f271d2c5e380822f0d96deea000cd5d2
4,633
cpp
C++
tests/OxCalculatorT2Linear_test.cpp
MRKonrad/OxShmolli2
abe020f4aa08c1037f04fe80e68f0651d03cccd1
[ "MIT" ]
7
2018-12-10T10:11:03.000Z
2021-03-11T14:40:40.000Z
tests/OxCalculatorT2Linear_test.cpp
MRKonrad/OxShmolli2
abe020f4aa08c1037f04fe80e68f0651d03cccd1
[ "MIT" ]
10
2019-03-10T11:42:55.000Z
2021-12-10T15:39:41.000Z
tests/OxCalculatorT2Linear_test.cpp
MRKonrad/OxShmolli2
abe020f4aa08c1037f04fe80e68f0651d03cccd1
[ "MIT" ]
3
2019-12-04T14:05:54.000Z
2022-02-26T00:24:38.000Z
/*! * \file OxCalculatorT2Linear_test.cpp * \author Konrad Werys * \date 2019/11/01 */ #include "gtest/gtest.h" #include "OxTestData.h" #include "CmakeConfigForTomato.h" #ifdef USE_PRIVATE_NR2 #ifdef USE_YAML #include "OxModelT2TwoParam.h" #include "OxModelT2ThreeParam.h" #include "OxFitterAmoebaVnl.h" #include ...
29.890323
93
0.732139
[ "model" ]
e8036e5819cec8fb0fdaa0bc678fb29ea2abfd5d
2,121
cpp
C++
main.cpp
YourName0729/B4-S4
d079849e8d37191938ca18e89cfa5ec33ad9a3a6
[ "MIT" ]
1
2021-07-10T14:25:25.000Z
2021-07-10T14:25:25.000Z
main.cpp
YourName0729/B4-S4
d079849e8d37191938ca18e89cfa5ec33ad9a3a6
[ "MIT" ]
null
null
null
main.cpp
YourName0729/B4-S4
d079849e8d37191938ca18e89cfa5ec33ad9a3a6
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <filesystem> #include <sstream> #include "converter.hpp" #include "dimacs_adapter.hpp" using namespace std; void print(const State& st) { vector<vector<bool>> vec2(st.getHeight(), vector<bool>(st.getLength(), 0)); for (auto p : st) { vec2[p.x - 1][p.y - ...
24.952941
108
0.516737
[ "vector" ]
e811fd89507df36401a638ee363870f49fb95ee8
1,277
cpp
C++
src/homework/05_functions/main.cpp
acc-cosc-1337-fall-2021/acc-cosc-1337-fall-2021-ruddygarmendez
7184c4c8c312db920d8682f20a8678a62f7ea0ee
[ "MIT" ]
null
null
null
src/homework/05_functions/main.cpp
acc-cosc-1337-fall-2021/acc-cosc-1337-fall-2021-ruddygarmendez
7184c4c8c312db920d8682f20a8678a62f7ea0ee
[ "MIT" ]
null
null
null
src/homework/05_functions/main.cpp
acc-cosc-1337-fall-2021/acc-cosc-1337-fall-2021-ruddygarmendez
7184c4c8c312db920d8682f20a8678a62f7ea0ee
[ "MIT" ]
1
2021-10-09T15:49:37.000Z
2021-10-09T15:49:37.000Z
/* use a vector of int with values 8, 4, 20, 88, 66, 99 Prompt user for 1 for Get Max from vector and 2 for Get primes. Prompt user for a number and return max value or list of primes and display them to screen. Program continues until user decides to exit. */ #include"func.h" using std::cout; using std::cin; int m...
17.736111
63
0.577917
[ "vector" ]
e812f1da1387330c5eb8acdce1c526e5ac405c57
4,957
hh
C++
src/modules/LCAcc/TexSynth2.hh
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
31
2015-12-15T19:14:10.000Z
2021-12-31T17:40:21.000Z
src/modules/LCAcc/TexSynth2.hh
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
5
2015-12-04T08:06:47.000Z
2020-08-09T21:49:46.000Z
src/modules/LCAcc/TexSynth2.hh
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
21
2015-11-05T08:25:45.000Z
2021-06-19T02:24:50.000Z
#ifndef LCACC_MODE_TEXSYNTH2_H #define LCACC_MODE_TEXSYNTH2_H #include "LCAccOperatingMode.hh" #include "SPMInterface.hh" #include <vector> namespace LCAcc { class OperatingMode_TexSynth2 : public LCAccOperatingMode { uint32_t output0; uint32_t output1; uint32_t output2; uint32_t output3; int32_t offsetX0; ...
33.952055
198
0.677224
[ "vector" ]
e81c264309133228401beff79b69313a5aeb7ad2
20,977
cpp
C++
dev/Code/Framework/AtomCore/Tests/Math/FrustumTests.cpp
brianherrera/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Framework/AtomCore/Tests/Math/FrustumTests.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Framework/AtomCore/Tests/Math/FrustumTests.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
57.471233
286
0.683701
[ "vector" ]
e81e2862657f3d14d01be657ffc7b9d3da4545a1
8,546
cpp
C++
src/cache_server_main.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
388
2017-03-01T07:39:21.000Z
2022-03-30T19:38:41.000Z
src/cache_server_main.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
81
2017-03-08T20:28:00.000Z
2022-01-23T08:19:31.000Z
src/cache_server_main.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
127
2017-03-05T21:53:40.000Z
2022-02-25T02:31:01.000Z
/////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com> // ...
27.391026
100
0.638193
[ "object" ]
e8202fa41cc0e131f4e74c986f362076cb5e3b05
4,245
cpp
C++
src/EVector.cpp
hoolheart/EinkDataDriver
6fe82f3be70f276559184f87888f7a1d320a23cb
[ "Apache-2.0" ]
1
2015-12-18T20:22:25.000Z
2015-12-18T20:22:25.000Z
src/EVector.cpp
hoolheart/EinkDataDriver
6fe82f3be70f276559184f87888f7a1d320a23cb
[ "Apache-2.0" ]
null
null
null
src/EVector.cpp
hoolheart/EinkDataDriver
6fe82f3be70f276559184f87888f7a1d320a23cb
[ "Apache-2.0" ]
null
null
null
/* * EVector.cpp * * Created on: 2013-1-17 * Author: Edward Chou */ #include "EVector.h" #include <stdlib.h> #include <time.h> VEC_TEMPLATE EVectorT::EVector(unsigned int _l) { length = _l; dat = new T[_l]; } VEC_TEMPLATE EVectorT::EVector(unsigned int _l, T _ini) { length = _l; dat = new T[_l]; for ...
18.866667
71
0.634629
[ "vector" ]
e8267e4cc9fd6001107899491799d35758d019e0
11,986
cpp
C++
src/database/sqliteDbms.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
18
2016-05-26T18:11:31.000Z
2022-02-10T20:00:52.000Z
src/database/sqliteDbms.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
null
null
null
src/database/sqliteDbms.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
2
2016-06-30T15:20:01.000Z
2020-08-27T18:28:33.000Z
/// @file sqliteDbms.cpp /// @brief It's manage action to Database. /// @author Enrico Fraccaroli /// @date Aug 23 2014 /// @copyright /// Copyright (c) 2016 Enrico Fraccaroli <enrico.fraccaroli@gmail.com> /// Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software and ass...
31.376963
80
0.593359
[ "vector", "model" ]
e828c78a25503e99b0062fa9bfedb12c380103f5
4,060
cpp
C++
Graph Algorithms/tp.cpp
mishrakeshav/CSES-Problem-Set
7f7169b20af44430e9208ba22c122054cea23ca1
[ "MIT" ]
null
null
null
Graph Algorithms/tp.cpp
mishrakeshav/CSES-Problem-Set
7f7169b20af44430e9208ba22c122054cea23ca1
[ "MIT" ]
null
null
null
Graph Algorithms/tp.cpp
mishrakeshav/CSES-Problem-Set
7f7169b20af44430e9208ba22c122054cea23ca1
[ "MIT" ]
null
null
null
/* SAMPLE 5 8 ######## #M..A..# #.#.M#.# #M#..#.. #.###### */ #include <bits/stdc++.h> using namespace std; using ll = long long; using pi = pair<ll, ll>; using vi = vector<ll>; ll n, m; int main() { cin >> n >> m; vector<vector<bool>> wall(n, vector<bool>(m, 0)); set<pi> monsters; pi start; ...
27.248322
92
0.438916
[ "vector" ]
e831cd4b31a426c1bf1375ed314288f20e6e7fbb
33,111
cpp
C++
src/World.cpp
petedishman/RayTracer
b073f3f9db6838a1b1291ae7f34db20ce134c3ed
[ "MIT" ]
null
null
null
src/World.cpp
petedishman/RayTracer
b073f3f9db6838a1b1291ae7f34db20ce134c3ed
[ "MIT" ]
1
2018-11-23T04:57:30.000Z
2018-11-26T11:41:08.000Z
src/World.cpp
petedishman/RayTracer
b073f3f9db6838a1b1291ae7f34db20ce134c3ed
[ "MIT" ]
null
null
null
// World.cpp: implementation of the CWorld class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "RayTracer.h" #include <time.h> // This is just for seeding the random number generator #include "RayTracing.h" #include "RayTable.h" #include "World.h" #include "Re...
26.573836
133
0.685512
[ "render", "object", "vector" ]
e83312cb3a92f82503cf3174d9702b4eb02bbf8e
28,755
cpp
C++
src/thirdparty/taglib2/taglib/dsdiff/dsdifffile.cpp
billlin0904/xamp2
c11ada6138a5c8427523543bb7035f2ac2cff8d5
[ "MIT" ]
2
2020-02-09T04:55:36.000Z
2022-01-08T08:50:50.000Z
src/thirdparty/taglib2/taglib/dsdiff/dsdifffile.cpp
billlin0904/xamp2
c11ada6138a5c8427523543bb7035f2ac2cff8d5
[ "MIT" ]
1
2022-02-16T10:14:05.000Z
2022-02-16T10:14:05.000Z
src/thirdparty/taglib2/taglib/dsdiff/dsdifffile.cpp
billlin0904/xamp2
c11ada6138a5c8427523543bb7035f2ac2cff8d5
[ "MIT" ]
2
2019-09-23T15:21:27.000Z
2021-04-12T09:00:37.000Z
/*************************************************************************** copyright : (C) 2016 by Damien Plisson, Audirvana email : damien78@audirvana.com ***************************************************************************/ /******************************************************...
34.029586
107
0.594888
[ "render", "vector" ]
e8340d659400093a5038b55726ae4c976c2d08f8
3,676
cc
C++
daemon/error_map_manager.cc
nawazish-couchbase/kv_engine
132f1bb04c9212bcac9e401d069aeee5f63ff1cd
[ "MIT", "BSD-3-Clause" ]
104
2017-05-22T20:41:57.000Z
2022-03-24T00:18:34.000Z
daemon/error_map_manager.cc
nawazish-couchbase/kv_engine
132f1bb04c9212bcac9e401d069aeee5f63ff1cd
[ "MIT", "BSD-3-Clause" ]
3
2017-11-14T08:12:46.000Z
2022-03-03T11:14:17.000Z
daemon/error_map_manager.cc
nawazish-couchbase/kv_engine
132f1bb04c9212bcac9e401d069aeee5f63ff1cd
[ "MIT", "BSD-3-Clause" ]
71
2017-05-22T20:41:59.000Z
2022-03-29T10:34:32.000Z
/* * Copyright 2021-Present Couchbase, Inc. * * Use of this software is governed by the Business Source License included * in the file licenses/BSL-Couchbase.txt. As of the Change Date specified * in that file, in accordance with the Business Source License, use of this * software will be governed by...
38.291667
78
0.503264
[ "vector" ]
e83511ea609663c7bfd8a7b89df8924207b614a1
8,272
cpp
C++
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8/Class.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
30
2019-09-06T17:24:54.000Z
2022-01-24T02:32:52.000Z
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8/Class.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
null
null
null
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8/Class.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
19
2019-09-17T02:56:50.000Z
2022-01-24T02:32:53.000Z
/**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
33.489879
140
0.619802
[ "object", "vector" ]
e838d9815c666d98b3c39224afc983a56633dd5e
53,607
cpp
C++
proto/tests/mock_switch.cpp
MaxPolovyi/PI
ca70829e33017518cd7cc1a1f1d1d0904cd59344
[ "Apache-2.0" ]
null
null
null
proto/tests/mock_switch.cpp
MaxPolovyi/PI
ca70829e33017518cd7cc1a1f1d1d0904cd59344
[ "Apache-2.0" ]
null
null
null
proto/tests/mock_switch.cpp
MaxPolovyi/PI
ca70829e33017518cd7cc1a1f1d1d0904cd59344
[ "Apache-2.0" ]
null
null
null
/* Copyright 2013-present Barefoot Networks, 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 la...
36.691992
80
0.657134
[ "object", "vector" ]
e839cd4ef9676f25719dd13419fa3f4efefce373
3,890
cpp
C++
src/commons.cpp
MysteriousJ/GamepadKeyController
35cde4a32c24667aebc10055a420b21dbe08708c
[ "MIT" ]
1
2017-04-02T22:49:31.000Z
2017-04-02T22:49:31.000Z
src/commons.cpp
MysteriousJ/GamepadKeyController
35cde4a32c24667aebc10055a420b21dbe08708c
[ "MIT" ]
null
null
null
src/commons.cpp
MysteriousJ/GamepadKeyController
35cde4a32c24667aebc10055a420b21dbe08708c
[ "MIT" ]
null
null
null
#include "commons.h" #include <vector> #include <algorithm> #include <sstream> #include "Windowsx.h" #include "Commctrl.h" // needed for hotkey macros int commons::getUniqueInt() { static int i = 0; i++; return i; } bool commons::isNumber(const std::wstring& s){ for(unsigned int i=0; i<s.size(); i++){ if (s[i]!...
29.694656
145
0.714139
[ "object", "vector" ]
e840bca521e0d19bfe36bb3e4c74c0efe8c5c73e
1,242
cc
C++
CPP/No174.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No174.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No174.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
/** * Created by Xiaozhong on 2020/8/18. * Copyright (c) 2020/8/18 Xiaozhong. All rights reserved. */ #include "vector" using namespace std; class Solution { private: int dfs(vector<vector<int>> &dungeon, vector<vector<int>> &visited, int i, int j, int m, int n) { // 到达终点,递归终止 if (i == m - 1 &&...
34.5
120
0.536232
[ "vector" ]
e84531480782bad22fd97646843ffacd3c92e8ea
627
cpp
C++
pg_answer/28796834c9d14542bb4f57bacb4f62b6.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
pg_answer/28796834c9d14542bb4f57bacb4f62b6.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
pg_answer/28796834c9d14542bb4f57bacb4f62b6.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include <algorithm> #include <iostream> #include <string> #include <vector> int inversion(const std::string& s) { int inv{0}; for (int i{0}; i < s.size(); ++i) { for (int j{i + 1}; j < s.size(); ++j) { if (s[i] > s[j]) { ++inv; } } } return inv; ...
21.62069
96
0.435407
[ "vector" ]
e84a6e6ab62de68c3152cce2697281cb2b955073
9,286
cpp
C++
Response.cpp
SGSSGene/cndl
c31af4c47973dde79e7f83594807e59167c102bc
[ "MIT" ]
4
2020-02-20T11:37:45.000Z
2021-06-03T09:37:51.000Z
Response.cpp
SGSSGene/cndl
c31af4c47973dde79e7f83594807e59167c102bc
[ "MIT" ]
3
2020-03-31T09:42:08.000Z
2020-09-28T19:58:44.000Z
Response.cpp
SGSSGene/cndl
c31af4c47973dde79e7f83594807e59167c102bc
[ "MIT" ]
1
2020-03-31T09:02:28.000Z
2020-03-31T09:02:28.000Z
#include "Response.h" #include "DateStrHelper.h" #include <algorithm> #include <map> #include <string_view> namespace cndl { using namespace std::string_literals; using namespace std::string_view_literals; namespace { const std::unordered_map<int, std::string_view> code2reason { // 1xx switching protocols ...
31.477966
146
0.593905
[ "vector", "transform" ]
e850ca9f76dc9b8853c7d435a2882d62443f372a
434
cpp
C++
SceneServer/SSBattleMgr/SSBTreeCon_HasAbsorbMonster.cpp
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
6
2019-07-15T23:55:15.000Z
2020-09-07T15:07:54.000Z
SceneServer/SSBattleMgr/SSBTreeCon_HasAbsorbMonster.cpp
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
null
null
null
SceneServer/SSBattleMgr/SSBTreeCon_HasAbsorbMonster.cpp
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
7
2019-07-15T23:55:24.000Z
2021-08-10T07:49:05.000Z
#include "SSBTreeCon_HasAbsorbMonster.h" #include "SSAI_HeroRobot.h" #include "SSHero.h" namespace SceneServer{ BOOLEAN CSSBTreeCon_HasAbsorbMonster::Travel(CSSAI_HeroRobot* pAI,CSSBTreeNode *&pActionNode,vector<SBTreeResult> *rstVec){ CSSHero* pHero = pAI->GetHero(); for (INT32 i = 0; i < c_n32MaxAbsorbSkillNum...
25.529412
124
0.728111
[ "vector" ]
e8603d8d2cb323a86f01c04b8c5d1e7052d5ffb3
3,453
cc
C++
roofnet/txstat.cc
kohler/click-packages
cec70da7cf460548ef08f1ddad6924db29d5c0c5
[ "MIT" ]
13
2015-02-26T23:12:09.000Z
2021-04-18T04:37:12.000Z
roofnet/txstat.cc
kohoumas/click-packages
6bb5c4ba286e5dbc74efd1708921d530425691f6
[ "MIT" ]
null
null
null
roofnet/txstat.cc
kohoumas/click-packages
6bb5c4ba286e5dbc74efd1708921d530425691f6
[ "MIT" ]
7
2015-08-25T09:29:41.000Z
2021-04-18T04:37:13.000Z
/* * txstat.{cc,hh} -- extract per-packet link tx counts * John Bicket * * Copyright (c) 1999-2002 Massachusetts Institute of Technology * * 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 Softw...
25.962406
92
0.668694
[ "vector" ]
e86c86958f6bb6b3396a4132d8afbe584dfba82d
2,679
cpp
C++
src/process.cpp
tusharkulkarnieep/system_monitor_project
f770e4de03508f6118d79b837ba7d69ad01833ef
[ "MIT" ]
null
null
null
src/process.cpp
tusharkulkarnieep/system_monitor_project
f770e4de03508f6118d79b837ba7d69ad01833ef
[ "MIT" ]
null
null
null
src/process.cpp
tusharkulkarnieep/system_monitor_project
f770e4de03508f6118d79b837ba7d69ad01833ef
[ "MIT" ]
null
null
null
#include <unistd.h> #include <cctype> #include <sstream> #include <string> #include <vector> #include <iostream> #include "process.h" #include "linux_parser.h" #define STARTTIME (22) using std::string; using std::to_string; using std::vector; using std::cout; using std::stof; Process::Process(int pid) : processid(p...
31.892857
126
0.633445
[ "vector" ]
e871e55e13f9660f65133753fbc7decc169e079b
826,888
cpp
C++
GCG_Source.build/module.django.db.models.deletion.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.django.db.models.deletion.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.django.db.models.deletion.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
/* Generated code for Python source for module 'django.db.models.deletion' * created by Nuitka version 0.5.28.2 * * This code is in part copyright 2017 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
32.277617
434
0.704793
[ "object", "model" ]
e8726f4da6184f032172f69cde818835b36278ad
1,096
hpp
C++
Game/Utility.hpp
Mateusz00/Space-Invasion
a5c2b501454377f7496db91abbdebcb97ab3c814
[ "BSD-2-Clause" ]
null
null
null
Game/Utility.hpp
Mateusz00/Space-Invasion
a5c2b501454377f7496db91abbdebcb97ab3c814
[ "BSD-2-Clause" ]
1
2018-11-18T14:48:56.000Z
2018-11-26T19:21:07.000Z
Game/Utility.hpp
Mateusz00/2D-Fighter-Jet-Game
a5c2b501454377f7496db91abbdebcb97ab3c814
[ "BSD-2-Clause" ]
null
null
null
#ifndef UTILITY_HPP #define UTILITY_HPP #include <SFML/Graphics/Sprite.hpp> #include <SFML/Graphics/Text.hpp> #include <SFML/Graphics/Shape.hpp> #include <SFML/System/Vector2.hpp> #include <SFML/Window/Keyboard.hpp> #include <sstream> #include <string> #include <unordered_map> struct StringKeyMap { StringKeyMap()...
26.731707
68
0.687956
[ "shape" ]
e877d4d3d5afc93c652e1c5655c555db5f048a33
692
cc
C++
Geometry/ForwardGeometry/plugins/moduleDB.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Geometry/ForwardGeometry/plugins/moduleDB.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Geometry/ForwardGeometry/plugins/moduleDB.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "Geometry/ForwardGeometry/interface/ZdcGeometry.h" #include "Geometry/ForwardGeometry/interface/CastorGeometry.h" #include "Geometry/CaloEventSetup/interface/CaloGeometryDBEP.h" #include "Geometry/CaloEventSetup/interface/CaloGeometryDBReader.h" template class CaloGeometryDBEP< ZdcGeometry , CaloGeometryD...
40.705882
90
0.854046
[ "geometry" ]
e8784a781febdbf74c786b823af873a9dfa69a8a
1,632
hpp
C++
core/include/TXPK/Math/MathExtension.hpp
Seng3694/TXPK
76a5441dc70b4a5d5d2596525de950a2d2e65aab
[ "MIT" ]
6
2019-01-05T08:14:02.000Z
2021-12-02T18:29:35.000Z
core/include/TXPK/Math/MathExtension.hpp
lineCode/TXPK
20d4cd75611a44babf2bf41d5359141020dc6684
[ "MIT" ]
1
2018-03-28T06:33:08.000Z
2018-03-29T08:22:43.000Z
core/include/TXPK/Math/MathExtension.hpp
Seng3694/TexturePacker
76a5441dc70b4a5d5d2596525de950a2d2e65aab
[ "MIT" ]
2
2018-12-11T01:11:20.000Z
2020-10-30T08:14:04.000Z
#pragma once #include <algorithm> #include <cmath> #include <vector> namespace txpk { /** * \brief A macro which returns the larger value. * \param lhs The first value. * \param rhs The second value. * \return Returns the larger value. */ #define MAX(lhs, rhs) (lhs > rhs ? lhs : rhs) /** * \brief A macro whi...
30.792453
115
0.704044
[ "vector" ]
e87a3264f58fe61bc7e19045fa87554abc263740
31,932
cpp
C++
src/RelayComms.cpp
getbraincloud/braincloud-cpp
c7bc42e7bb2cc4d03d25348e1a6ecc77ee54db9e
[ "Apache-2.0" ]
null
null
null
src/RelayComms.cpp
getbraincloud/braincloud-cpp
c7bc42e7bb2cc4d03d25348e1a6ecc77ee54db9e
[ "Apache-2.0" ]
20
2018-01-11T22:18:50.000Z
2020-12-09T13:41:22.000Z
src/RelayComms.cpp
getbraincloud/braincloud-cpp
c7bc42e7bb2cc4d03d25348e1a6ecc77ee54db9e
[ "Apache-2.0" ]
16
2018-01-09T16:01:36.000Z
2022-03-15T00:51:59.000Z
// Copyright 2020 bitHeads, Inc. All Rights Reserved. #include "braincloud/BrainCloudClient.h" #include "braincloud/IRelayConnectCallback.h" #include "braincloud/IRelayCallback.h" #include "braincloud/IRelaySystemCallback.h" #include "braincloud/internal/IRelayTCPSocket.h" #include "braincloud/internal/IRelayUDPSocke...
32.885685
210
0.517913
[ "vector" ]
e87e6333294682e3027d11a04c943ff22d6c76a8
895
cpp
C++
RandomSamples/Beta.cpp
fcooper8472/CppRandomNumbers
91ae5132d70982619bba4424833ab6fd622106e1
[ "MIT" ]
null
null
null
RandomSamples/Beta.cpp
fcooper8472/CppRandomNumbers
91ae5132d70982619bba4424833ab6fd622106e1
[ "MIT" ]
null
null
null
RandomSamples/Beta.cpp
fcooper8472/CppRandomNumbers
91ae5132d70982619bba4424833ab6fd622106e1
[ "MIT" ]
null
null
null
#include "../Utilities.hpp" // This is just for testing and can be removed #include <random> int main() { // Seed a Mersenne twister with a 'true' random seed from random_device std::random_device rd{}; std::mt19937 gen{rd()}; // Params const std::size_t n = 100'000; const double alpha = 1.2...
30.862069
104
0.658101
[ "vector" ]
e87efe8804731bf3a43e8a36c2d75429d57ea07a
29,559
cpp
C++
winguest/winguestdll/deploy.cpp
fengjixuchui/napoca
ed26609ab9a3ea12d12882b311dcb332dc759d32
[ "Apache-2.0" ]
170
2020-07-30T15:04:59.000Z
2022-03-24T10:59:29.000Z
winguest/winguestdll/deploy.cpp
a-cristi/napoca
ed6691125bf703366581e47a1fe789167009c24a
[ "Apache-2.0" ]
3
2020-08-10T09:16:56.000Z
2022-02-18T21:40:43.000Z
winguest/winguestdll/deploy.cpp
a-cristi/napoca
ed6691125bf703366581e47a1fe789167009c24a
[ "Apache-2.0" ]
44
2020-07-30T15:06:55.000Z
2022-02-25T08:55:55.000Z
/* * Copyright (c) 2020 Bitdefender * SPDX-License-Identifier: Apache-2.0 */ /** @file deploy.cpp * @brief Hypervisor common deployment */ #include <string> #include <regex> #include <fstream> #include <ntstatus.h> #define WIN32_NO_STATUS #include <windows.h> typedef unsigned __int64 QWORD...
30.662863
198
0.602185
[ "object", "vector" ]
e881fbfb993c09f43e613ca0659a552a78c8e9eb
1,445
cpp
C++
booster.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
booster.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
booster.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
/* Copyright (c) 2012-2013 Cheese and Bacon Games, LLC */ /* See the file docs/COPYING.txt for copying permission. */ #include "booster.h" #include "world.h" #include "render.h" #include "item_sprites.h" #include "mirror.h" #include "enumerations.h" using namespace std; Booster::Booster(double get_x,double get_y,dou...
25.350877
191
0.63045
[ "render" ]
e89741d20837fa0320bf3cf873b286a3bb25f721
8,762
cpp
C++
src/super_transit.cpp
xaanimus/super_transit_calculator
2cd979e41427e47c9db4f3872919a3e589d90bb2
[ "MIT" ]
null
null
null
src/super_transit.cpp
xaanimus/super_transit_calculator
2cd979e41427e47c9db4f3872919a3e589d90bb2
[ "MIT" ]
null
null
null
src/super_transit.cpp
xaanimus/super_transit_calculator
2cd979e41427e47c9db4f3872919a3e589d90bb2
[ "MIT" ]
null
null
null
#include <memory> #include <queue> #include <map> #include <iostream> #include <json.hpp> #include "super_transit.hpp" #include "node_database.hpp" using namespace stransit; using namespace std::literals; using json = nlohmann::json; struct node_wrapper { node_wrapper(node* ptr_, std::chrono::minutes time_): pt...
31.978102
95
0.567336
[ "vector" ]
e899c351233b27c3197c1f514b2aab27572d1c14
347
hpp
C++
include/server/handlers/algorithm_handler.hpp
TheMarex/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
13
2018-03-09T14:37:31.000Z
2021-07-27T06:56:35.000Z
include/server/handlers/algorithm_handler.hpp
AlexBlazee/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
null
null
null
include/server/handlers/algorithm_handler.hpp
AlexBlazee/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
10
2018-04-14T02:27:32.000Z
2021-06-13T23:30:44.000Z
#ifndef CHARGE_SERVER_HANDLERS_ALGORITHM_HANDLER_HPP #define CHARGE_SERVER_HANDLERS_ALGORITHM_HANDLER_HPP #include "server/route_result.hpp" namespace charge::server::handlers { class AlgorithmHandler { public: virtual std::vector<RouteResult> route(std::uint32_t start, std::uint32_t target, bool search_space...
20.411765
115
0.795389
[ "vector" ]
e89b6618ab51a8ce249e8dda140a4fe6bdc67ebe
1,718
cpp
C++
Level-2/21. Graphs/Sentence Similarity.cpp
anubhvshrma18/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
22
2021-06-02T04:25:55.000Z
2022-01-30T06:25:07.000Z
Level-2/21. Graphs/Sentence Similarity.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
2
2021-10-17T19:26:10.000Z
2022-01-14T18:18:12.000Z
Level-2/21. Graphs/Sentence Similarity.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
8
2021-07-21T09:55:15.000Z
2022-01-31T10:32:51.000Z
#include<bits/stdc++.h> using namespace std; map<string,string> p; map<string,int> r; string find(string x){ if(p[x]==x){ return x; } return p[x]=find(p[x]); } bool areSentencesSimilarTwo(vector<string> &words1, vector<string> &words2, vector<vector<string>> &pairs){ // for(int i=0;i...
18.673913
107
0.406868
[ "vector" ]
e89dc64cbc2bb37a043d001f9a114eeed265e768
2,039
cpp
C++
SubtreeQueries.cpp
Azura-yuwi/Code
2226034e7c5abd228abb06e565fd3dcfd36a4692
[ "MIT" ]
null
null
null
SubtreeQueries.cpp
Azura-yuwi/Code
2226034e7c5abd228abb06e565fd3dcfd36a4692
[ "MIT" ]
null
null
null
SubtreeQueries.cpp
Azura-yuwi/Code
2226034e7c5abd228abb06e565fd3dcfd36a4692
[ "MIT" ]
null
null
null
//USACO Euler Tour Technique //CSES Tree Algorthms //DFS + segtree #include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mp make_tuple ll val[200005]; int en[200005]; // end of subtree int st[200005]; //start = pos vector<int> adj[200005]; int on; void dfs(int src, int p) { ...
16.577236
86
0.399215
[ "vector" ]
e8ac5f1eb1d3b3630f6abe8f015586a30921d20d
3,306
cpp
C++
willow/src/transforms/autodiff/safeaddfwdoutputstitcher.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/transforms/autodiff/safeaddfwdoutputstitcher.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/transforms/autodiff/safeaddfwdoutputstitcher.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #include <transforms/autodiff/safeaddfwdoutputstitcher.hpp> #include <list> #include <popart/graph.hpp> #include <popart/logging.hpp> #include <popart/op/call.hpp> #include <transforms/autodiff/backwardsgraphcreatorhelper.hpp> namespace popart { SafeAddFwdO...
31.788462
80
0.724138
[ "vector" ]
e8b434ca4570e3beb62c10ba2973eb61c9db2387
1,715
cpp
C++
algorithms/binarySearch/problems/031_array_division.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
2
2021-04-21T07:59:45.000Z
2021-05-13T05:53:00.000Z
algorithms/binarySearch/problems/031_array_division.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
null
null
null
algorithms/binarySearch/problems/031_array_division.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
1
2021-04-17T15:32:18.000Z
2021-04-17T15:32:18.000Z
/* * This problem is from CSES * Similar Binary earch problems * 1. Factory machines CSES * 2. beautiful item in each query leetcode * 3. 1201C - CF */ // Ref: https://usaco.guide/problems/cses-1620-factory-machines/solution #include "bits/stdc++.h" using namespace std; #define ENABLEFASTIO() ios_base::sync...
19.712644
84
0.54519
[ "vector" ]
e8bb397729e8cb2bb675fc44fbfab3f01266be9a
33,497
cpp
C++
qmex.cpp
huangqinjin/QMEX
ac0ddb9eed05768c0ff58d68d5a623bb710a2701
[ "BSL-1.0" ]
null
null
null
qmex.cpp
huangqinjin/QMEX
ac0ddb9eed05768c0ff58d68d5a623bb710a2701
[ "BSL-1.0" ]
null
null
null
qmex.cpp
huangqinjin/QMEX
ac0ddb9eed05768c0ff58d68d5a623bb710a2701
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2018-2020 Huang Qinjin (huangqinjin@gmail.com) // // 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 <algorithm> #include <limits> #include <vector> #include <new> #incl...
26.970209
118
0.465594
[ "vector" ]
e8bb89916d395c1ec91ff1f29d8c2416c6ba3e32
3,328
cc
C++
2017/puzzle-23-01.cc
matt-gretton-dann/advent-of-code
aae3bc7556b70286a48b6970884f00f6068f3017
[ "Apache-2.0" ]
null
null
null
2017/puzzle-23-01.cc
matt-gretton-dann/advent-of-code
aae3bc7556b70286a48b6970884f00f6068f3017
[ "Apache-2.0" ]
null
null
null
2017/puzzle-23-01.cc
matt-gretton-dann/advent-of-code
aae3bc7556b70286a48b6970884f00f6068f3017
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <map> #include <regex> #include <string> #include <variant> #include <vector> using Int = long; using Register = char; using Operand = std::variant<Register, Int, std::monostate>; enum class Opcode { set, sub, mul, jnz }; auto to_opcode(std::string const& s) -> Opcode { if (s == "set") ...
23.111111
97
0.597656
[ "vector" ]
e8bf21f482630ce89b934057a440c1bee325a382
1,709
cpp
C++
March Challenge 2021 Division 3/XOR.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
4
2021-04-13T11:04:45.000Z
2021-12-06T16:32:28.000Z
March Challenge 2021 Division 3/XOR.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
March Challenge 2021 Division 3/XOR.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; string Binary(long long int n) { string s = bitset<64> (n).to_string(); const auto loc1 = s.find('1'); if(loc1 != string::npos) return s.substr(loc1); return "0"; } int main() { long long int testCases; cin >> testCas...
23.094595
60
0.380339
[ "vector" ]
e8c2df9adbf18d4874d75927b4d0ee718e259e73
1,400
cpp
C++
CONTESTS/CODEFORCES/381 740 div2/C. Alyona and mex array stimulation .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
1
2021-11-22T02:26:43.000Z
2021-11-22T02:26:43.000Z
CONTESTS/CODEFORCES/381 740 div2/C. Alyona and mex array stimulation .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
CONTESTS/CODEFORCES/381 740 div2/C. Alyona and mex array stimulation .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector < pair<int,int> > query[100010]; int ara[100010]; int main() { // freopen("myOut.txt", "w", stdout); memset(ara, -1, sizeof(ara)); int n,m, ans=INT_MAX; int mx=1; scanf("%d %d", &n, &m); // for(int i=0; i<n; i++) // scanf(...
21.875
55
0.331429
[ "vector" ]
e8c2ef830d44075e04ad8b96678bab2564598e6f
1,924
cpp
C++
testStdStaticVector.cpp
Aditya90/BoostWorkspace
7167971d3f6ede9cdd4fd7ff8e482ba9543d71bf
[ "MIT" ]
null
null
null
testStdStaticVector.cpp
Aditya90/BoostWorkspace
7167971d3f6ede9cdd4fd7ff8e482ba9543d71bf
[ "MIT" ]
null
null
null
testStdStaticVector.cpp
Aditya90/BoostWorkspace
7167971d3f6ede9cdd4fd7ff8e482ba9543d71bf
[ "MIT" ]
null
null
null
#include "boost/container/static_vector.hpp" #include <iostream> class Circle { private: unsigned int radius_{0}; std::string nameCircle_{}; public: Circle() = delete; Circle(unsigned int radius, std::string name) : radius_(radius), nameCircle_(name) {} virtual ~Circle() = default; friend std...
28.294118
90
0.609148
[ "vector" ]
e8c6006e9f06d5a4590387889a2aa317eb574b84
283
cpp
C++
fire/Sphere_Quat.cpp
FashGek/chazelle-triangulation
3ef89edb225dbfdd09ce8fde103fe657d01bcc98
[ "MIT" ]
1
2020-10-20T04:19:49.000Z
2020-10-20T04:19:49.000Z
fire/Sphere_Quat.cpp
FashGek/chazelle-triangulation
3ef89edb225dbfdd09ce8fde103fe657d01bcc98
[ "MIT" ]
null
null
null
fire/Sphere_Quat.cpp
FashGek/chazelle-triangulation
3ef89edb225dbfdd09ce8fde103fe657d01bcc98
[ "MIT" ]
1
2020-10-20T04:20:18.000Z
2020-10-20T04:20:18.000Z
#include "stdafx.h" #include "Sphere_Quat.h" #include "Sphere.h" #include "Quat.h" Sphere transform_sphere(SphereCR s, real scale, QuatCR rot, Vec3CR W) {return Sphere(transform_vector(s.c * scale, rot) + W, s.r * scale);} // transform a sphere by an angle preserving transform
47.166667
194
0.724382
[ "transform" ]
e8c7e5013533fe0391a3b7c144c093d229e45bfb
28,506
cpp
C++
moos-ivp/ivp/src/uSimMarine/USM_MOOSApp.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/uSimMarine/USM_MOOSApp.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/uSimMarine/USM_MOOSApp.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
/*****************************************************************/ /* NAME: Michael Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: USM_MOOSApp.cpp */ /* DATE: Oct 25th 2004 ...
33.185099
88
0.613345
[ "vector" ]
e8d296c697b6ec2ff21359ca1879599297de9085
2,887
cpp
C++
leetcode/problems/hard/1847-closest-room.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/hard/1847-closest-room.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/hard/1847-closest-room.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Closest Room https://leetcode.com/problems/closest-room/ There is a hotel with n rooms. The rooms are represented by a 2D integer array rooms where rooms[i] = [roomIdi, sizei] denotes that there is a room with room number roomIdi and size equal to sizei. Each roomIdi is guaranteed to be unique. You are also given ...
42.455882
238
0.611708
[ "vector" ]
e8d36be67947b729326511d4453a89766a7e20bc
692
cpp
C++
Dynamic Programming/Coin Combinations II.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
3
2021-03-14T18:47:13.000Z
2021-03-19T09:59:56.000Z
Dynamic Programming/Coin Combinations II.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
null
null
null
Dynamic Programming/Coin Combinations II.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" #pragma GCC optimize ("O3") #pragma GCC target ("sse4") #define ll long long #define ull unsigned long long #define F first #define S second #define PB push_back #define POB pop_back using namespace std; vector<ll> coins; ll n, x; int main(){ // freopen("input.in", "r", stdin); // freopen("o...
16.093023
51
0.583815
[ "vector" ]
e8d54b0b0ec1b5a488c26c4f7ab2d1003852d720
926
cpp
C++
Geometry/EcalTestBeam/test/testEcalTBCrystalMap.cpp
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Geometry/EcalTestBeam/test/testEcalTBCrystalMap.cpp
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Geometry/EcalTestBeam/test/testEcalTBCrystalMap.cpp
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "Geometry/EcalTestBeam/interface/EcalTBCrystalMap.h" #include "FWCore/ParameterSet/interface/FileInPath.h" #include "CLHEP/Random/RandFlat.h" #include <string> int main() { edm::FileInPath dataFile("Geometry/EcalTestBeam/data/BarrelSM1CrystalCenterElectron120GeV.dat"); EcalTBCrystalMap theTestMap(dataFil...
28.060606
131
0.661987
[ "geometry" ]
e8dec0feba48efd6fc7e66f12721691a74a02b8b
6,299
cpp
C++
TextureGeneratorGUI/Unit_Testing/PerlinNoise.cpp
seb776/Tricible
fb1b7c7e027231c158a1945d3568777c4092ca6d
[ "Apache-2.0" ]
2
2017-09-08T04:52:01.000Z
2018-10-13T14:30:52.000Z
TextureGeneratorGUI/Unit_Testing/PerlinNoise.cpp
seb776/Tricible
fb1b7c7e027231c158a1945d3568777c4092ca6d
[ "Apache-2.0" ]
2
2018-10-24T12:48:00.000Z
2018-11-02T16:15:21.000Z
TextureGeneratorGUI/Unit_Testing/PerlinNoise.cpp
seb776/Tricible
fb1b7c7e027231c158a1945d3568777c4092ca6d
[ "Apache-2.0" ]
1
2018-03-17T23:45:21.000Z
2018-03-17T23:45:21.000Z
// // Author: Pierre COURTEILLE // //----------------------------------------// // include SFML //----------------------------------------// #include <SFML/Window.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Graphics/Texture.hpp> #include <SFML/Graphics/Text.hpp> #include <SFML/Graphics/Font.hpp> #inc...
31.974619
98
0.655501
[ "render" ]
e8e080e04197e5e5133d3e31593546f2c98d80f3
13,184
cpp
C++
lib/structs/events/common.cpp
vurpo/mtxclient
c9965a9720ee24ecb64fa70dc5168b1920a4a710
[ "MIT" ]
null
null
null
lib/structs/events/common.cpp
vurpo/mtxclient
c9965a9720ee24ecb64fa70dc5168b1920a4a710
[ "MIT" ]
null
null
null
lib/structs/events/common.cpp
vurpo/mtxclient
c9965a9720ee24ecb64fa70dc5168b1920a4a710
[ "MIT" ]
null
null
null
#include <nlohmann/json.hpp> #include "mtx/events/common.hpp" using json = nlohmann::json; namespace { template<class T> T safe_get(const json &obj, const std::string &name, T default_val = {}) try { return obj.value(name, default_val); } catch (const nlohmann::json::type_error &) { return default_va...
34.970822
100
0.493477
[ "vector" ]
e8e21ba8ebdfd5d52ff27a52cde6bfd73068a89c
59,478
cpp
C++
src/quickdraw/qPicstuff.cpp
probonopd/executor
0fb82c09109ec27ae8707f07690f7325ee0f98e0
[ "MIT" ]
2
2019-09-16T15:51:39.000Z
2020-03-04T08:47:42.000Z
src/quickdraw/qPicstuff.cpp
probonopd/executor
0fb82c09109ec27ae8707f07690f7325ee0f98e0
[ "MIT" ]
null
null
null
src/quickdraw/qPicstuff.cpp
probonopd/executor
0fb82c09109ec27ae8707f07690f7325ee0f98e0
[ "MIT" ]
null
null
null
/* Copyright 1986-1996 by Abacus Research and * Development, Inc. All rights reserved. */ /* Forward declarations in QuickDraw.h (DO NOT DELETE THIS LINE) */ #include <base/common.h> #include <WindowMgr.h> #include <ControlMgr.h> #include <MemoryMgr.h> #include <QuickDraw.h> #include <CQuickDraw.h> #include <OSUti...
29.027818
124
0.525976
[ "3d" ]
e8ef34d9bde54a5cb963ed9bdbd54adc0fbd35f2
757
hpp
C++
src/cigar.hpp
urbanslug/gimbricate
6a57c2d49fd43575b8d081d6fc663795b19d1cd7
[ "MIT" ]
null
null
null
src/cigar.hpp
urbanslug/gimbricate
6a57c2d49fd43575b8d081d6fc663795b19d1cd7
[ "MIT" ]
null
null
null
src/cigar.hpp
urbanslug/gimbricate
6a57c2d49fd43575b8d081d6fc663795b19d1cd7
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include <utility> #include <cctype> #include <sstream> #include <algorithm> #include "gssw.h" namespace gimbricate { std::vector<std::pair<uint64_t, char>> split_cigar(const std::string& cigar_str); uint64_t cigar_length(const std::vector<std::pair<uint64_t, char>>& cigar); std::s...
31.541667
81
0.702774
[ "vector" ]
e8f05702b0e07a8841febc9f486ec8fcb9d97edc
82,505
cpp
C++
Sources/Elastos/Frameworks/Droid/DevSamples/jpk/JSGallery2/elastos/devsamples/node/jsgallery3d/R.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/DevSamples/jpk/JSGallery2/elastos/devsamples/node/jsgallery3d/R.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/DevSamples/jpk/JSGallery2/elastos/devsamples/node/jsgallery3d/R.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
#include "R.h" namespace Elastos { namespace DevSamples { namespace Node { namespace JSGallery3D { const int R::anim::count_down_exit; const int R::anim::on_screen_hint_enter; const int R::anim::on_screen_hint_exit; const int R::anim::player_out; const int R::anim::slide_in_left; const int R::anim::slide_in_right; co...
41.190714
73
0.805406
[ "model" ]
e8f5c81ed7c2493cf8458716210203affabc5c73
10,559
cpp
C++
src/Molassembler/Stereopermutators/FeasiblePermutations.cpp
qcscine/molassembler
3b72168477b2d1dee55812517e49d9c3285c50ba
[ "BSD-3-Clause" ]
17
2020-11-27T14:59:34.000Z
2022-03-28T10:31:25.000Z
src/Molassembler/Stereopermutators/FeasiblePermutations.cpp
qcscine/molassembler
3b72168477b2d1dee55812517e49d9c3285c50ba
[ "BSD-3-Clause" ]
null
null
null
src/Molassembler/Stereopermutators/FeasiblePermutations.cpp
qcscine/molassembler
3b72168477b2d1dee55812517e49d9c3285c50ba
[ "BSD-3-Clause" ]
6
2020-12-09T09:21:53.000Z
2021-08-22T15:42:21.000Z
/*!@file * @copyright This code is licensed under the 3-clause BSD license. * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group. * See LICENSE.txt for details. */ #include "Molassembler/Stereopermutators/FeasiblePermutations.h" #include "Molassembler/Stereopermutators/AbstractPermutations.h"...
30.341954
104
0.688323
[ "shape", "vector", "transform" ]
3301b57ab908ff174d84f2beace5b7cbdcbb2434
2,484
cpp
C++
src/bvh.cpp
DestinationStellar/TrivalRayTracing
881cc654685fae27b90195fd9b917e0ed7d1b4a2
[ "MIT" ]
null
null
null
src/bvh.cpp
DestinationStellar/TrivalRayTracing
881cc654685fae27b90195fd9b917e0ed7d1b4a2
[ "MIT" ]
null
null
null
src/bvh.cpp
DestinationStellar/TrivalRayTracing
881cc654685fae27b90195fd9b917e0ed7d1b4a2
[ "MIT" ]
null
null
null
#include "bvh.hpp" inline bool box_compare(const shared_ptr<Object3D> a, const shared_ptr<Object3D> b, int axis) { AABB box_a; AABB box_b; if (!a->bounding_box(0,0, box_a) || !b->bounding_box(0,0, box_b)) std::cerr << "No bounding box in BVHnode constructor.\n"; return box_a.min()[axis] < box...
29.571429
95
0.624396
[ "vector" ]
3308f608f7f6781ead2fe2e3f6854b8380ea06b9
11,734
cpp
C++
dali/internal/input/windows/input-method-context-impl-win.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
6
2016-11-18T10:26:46.000Z
2021-11-01T12:29:05.000Z
dali/internal/input/windows/input-method-context-impl-win.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-07-15T11:30:49.000Z
2020-12-11T19:13:46.000Z
dali/internal/input/windows/input-method-context-impl-win.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
7
2019-05-17T07:14:40.000Z
2021-05-24T07:25:26.000Z
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
28.830467
126
0.743395
[ "object" ]
330ac34bb22763683a58f9326636c78cd741e8c9
7,363
hpp
C++
libs/core/render/include/bksge/core/render/vulkan/detail/inl/command_buffer_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/vulkan/detail/inl/command_buffer_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/vulkan/detail/inl/command_buffer_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file command_buffer_inl.hpp * * @brief CommandBuffer クラスの実装 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_VULKAN_DETAIL_INL_COMMAND_BUFFER_INL_HPP #define BKSGE_CORE_RENDER_VULKAN_DETAIL_INL_COMMAND_BUFFER_INL_HPP #include <bksge/core/render/config.hpp> #if BKSGE_CORE_RENDER_HAS_VULKAN_R...
24.220395
81
0.725927
[ "render", "vector" ]
3312409dd3203145d68741d232a382f36b621593
6,855
cpp
C++
Source/UI/src/Button.cpp
appcelerator/titanium_mobile_windows
ec82c011f418cbcf27795eb009deaef5e3fe4b20
[ "Apache-2.0" ]
20
2015-04-02T06:55:30.000Z
2022-03-29T04:27:30.000Z
Source/UI/src/Button.cpp
appcelerator/titanium_mobile_windows
ec82c011f418cbcf27795eb009deaef5e3fe4b20
[ "Apache-2.0" ]
692
2015-04-01T21:05:49.000Z
2020-03-10T10:11:57.000Z
Source/UI/src/Button.cpp
appcelerator/titanium_mobile_windows
ec82c011f418cbcf27795eb009deaef5e3fe4b20
[ "Apache-2.0" ]
22
2015-04-01T20:57:51.000Z
2022-01-18T17:33:15.000Z
/** * Titanium.UI.Button for Windows * * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #include "TitaniumWindows/UI/Button.hpp" #include "TitaniumWindows/Utility.hp...
38.083333
123
0.710284
[ "object", "vector" ]
06a2478d03324ec938e59d16194e996090b6c2c9
353
cpp
C++
yellow/week4/vector_part/main.cpp
vbondarevsky/c-plus-plus-white
04c468a9fbc54a94be3ec14164af08e6eb226e22
[ "MIT" ]
1
2020-10-15T20:36:34.000Z
2020-10-15T20:36:34.000Z
yellow/week4/vector_part/main.cpp
vbondarevsky/c-plus-plus-white
04c468a9fbc54a94be3ec14164af08e6eb226e22
[ "MIT" ]
null
null
null
yellow/week4/vector_part/main.cpp
vbondarevsky/c-plus-plus-white
04c468a9fbc54a94be3ec14164af08e6eb226e22
[ "MIT" ]
4
2018-12-09T22:17:40.000Z
2022-01-04T13:21:21.000Z
#include <iostream> #include <string> #include <vector> using namespace std; void PrintVectorPart(const vector<int> &numbers); int main() { PrintVectorPart({6, 1, 8, -5, 4}); cout << endl; PrintVectorPart({-6, 1, 8, -5, 4}); // ничего не выведется cout << endl; PrintVectorPart({6, 1, 8, 5, 4}); ...
20.764706
63
0.603399
[ "vector" ]
06abd6a628dc9a450f03a9ce122e0d50f040ca06
4,865
cpp
C++
dali/internal/adaptor-framework/android/file-loader-impl-android.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/internal/adaptor-framework/android/file-loader-impl-android.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-10-19T13:45:40.000Z
2020-12-10T20:21:03.000Z
dali/internal/adaptor-framework/android/file-loader-impl-android.cpp
expertisesolutions/dali-adaptor
810bf4dea833ea7dfbd2a0c82193bc0b3b155011
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
27.027778
131
0.663104
[ "vector" ]
06b07c5689858fc707eb1a3e76a1212f1008ace3
5,222
cc
C++
tiledb/sm/metadata/test/unit_metadata.cc
MullionGroup/TileDB
3fb8a60ded95f2a05ed91acca000fce5a8ab391a
[ "MIT" ]
null
null
null
tiledb/sm/metadata/test/unit_metadata.cc
MullionGroup/TileDB
3fb8a60ded95f2a05ed91acca000fce5a8ab391a
[ "MIT" ]
null
null
null
tiledb/sm/metadata/test/unit_metadata.cc
MullionGroup/TileDB
3fb8a60ded95f2a05ed91acca000fce5a8ab391a
[ "MIT" ]
null
null
null
/** * @file tiledb/sm/metadata/test/unit_metadata.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2022 TileDB, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in th...
37.84058
80
0.716392
[ "vector" ]
06b0c3b9692122e65265127ff8f606bc7498e9b2
3,115
cpp
C++
source/de/hackcraft/world/sub/camera/rCamera.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
23
2015-12-08T19:29:10.000Z
2021-09-22T04:13:31.000Z
source/de/hackcraft/world/sub/camera/rCamera.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
7
2018-04-30T13:05:57.000Z
2021-08-25T03:58:07.000Z
source/de/hackcraft/world/sub/camera/rCamera.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
4
2018-01-25T03:05:19.000Z
2021-08-25T03:30:15.000Z
#include "rCamera.h" #include "de/hackcraft/psi3d/GLS.h" #include "de/hackcraft/opengl/GL.h" std::string rCamera::cname = "CAMERA"; unsigned int rCamera::cid = 3311; rCamera::rCamera(Entity * obj) : cameraswitch(0), camerashake(0), firstperson(true), camerastate(1) { object = obj; quat_zero(ori1); vec...
30.242718
103
0.565329
[ "object" ]
06b153521c7424a990f6144777398cb4e5d77b44
4,234
hpp
C++
npy/SequenceNPY.hpp
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
npy/SequenceNPY.hpp
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
npy/SequenceNPY.hpp
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
31.132353
131
0.541568
[ "vector" ]
06b15f0c84ca63a340dce9b258cce94224af1e25
7,091
cpp
C++
Source/Cubiquity/Private/CubiquityVolume.cpp
volumesoffun/cubiquity-for-unreal-engine
23b56c300c9507770c37c27c5c9efe4f3b7b08c0
[ "MIT" ]
101
2015-03-01T23:30:49.000Z
2021-09-23T20:43:47.000Z
Source/Cubiquity/Private/CubiquityVolume.cpp
JulianoCristian/cubiquity-for-unreal-engine
23b56c300c9507770c37c27c5c9efe4f3b7b08c0
[ "MIT" ]
3
2015-08-16T22:42:24.000Z
2018-10-25T20:10:32.000Z
Source/Cubiquity/Private/CubiquityVolume.cpp
JulianoCristian/cubiquity-for-unreal-engine
23b56c300c9507770c37c27c5c9efe4f3b7b08c0
[ "MIT" ]
44
2015-03-12T14:51:30.000Z
2021-09-23T20:44:06.000Z
// Copyright 2014 Volumes of Fun. All Rights Reserved. #include "CubiquityPluginPrivatePCH.h" #include "CubiquityVolume.h" #include "CubiquityOctreeNode.h" #include "CubiquityMeshComponent.h" #include "CubiquityUpdateComponent.h" ACubiquityVolume::ACubiquityVolume(const FObjectInitializer& PCIP) : Super(PCIP) { U...
28.825203
339
0.750952
[ "mesh", "transform" ]
06c0a4f59dee13e1c416b484dabe7c1acb2ba2c5
12,796
cpp
C++
src/renderer/direct12/mxrenderer.cpp
Mewatools/mewa
a429f25ddc2fc92926c08adf81f7ead7222cb239
[ "MIT" ]
5
2021-04-21T20:38:30.000Z
2022-03-20T06:55:30.000Z
src/renderer/direct12/mxrenderer.cpp
Mewatools/mewa
a429f25ddc2fc92926c08adf81f7ead7222cb239
[ "MIT" ]
3
2021-12-27T01:20:22.000Z
2022-02-25T15:24:41.000Z
src/renderer/direct12/mxrenderer.cpp
Mewatools/mewa
a429f25ddc2fc92926c08adf81f7ead7222cb239
[ "MIT" ]
3
2021-04-22T23:27:21.000Z
2022-01-09T12:45:33.000Z
/**************************************************************************** ** Copyright (C) 2020-2021 Mewatools <hugo@mewatools.com> ** SPDX-License-Identifier: MIT License ****************************************************************************/ #include "mxrenderer.h" #include "mxgpuprogram.h" #include "mxdebu...
26.713987
137
0.763207
[ "vector" ]
06c3ef5937040a917fe21952be3f29309ad1e04f
2,946
cpp
C++
src/kad/Bucket.cpp
VictorKostyukov/kademlia
bad1189b55697715f45760687074ecdc6f50eab5
[ "MIT" ]
2
2018-04-03T06:49:57.000Z
2020-06-24T12:34:07.000Z
src/kad/Bucket.cpp
VictorKostyukov/kademlia
bad1189b55697715f45760687074ecdc6f50eab5
[ "MIT" ]
1
2020-06-26T15:34:42.000Z
2020-11-17T05:18:30.000Z
src/kad/Bucket.cpp
VictorKostyukov/kademlia
bad1189b55697715f45760687074ecdc6f50eab5
[ "MIT" ]
2
2018-04-03T06:53:04.000Z
2018-05-23T14:11:43.000Z
/** * * MIT License * * Copyright (c) 2018 drvcoin * * 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, mo...
23.758065
88
0.636456
[ "vector" ]
06c95d70c70357e4fbe0e1b3166e0216c8958e3b
6,057
cpp
C++
nar/narnode/ActiveTask/Pull.cpp
webcok/nar
fda146f62f43c0d48612716299b132483700abad
[ "MIT" ]
null
null
null
nar/narnode/ActiveTask/Pull.cpp
webcok/nar
fda146f62f43c0d48612716299b132483700abad
[ "MIT" ]
null
null
null
nar/narnode/ActiveTask/Pull.cpp
webcok/nar
fda146f62f43c0d48612716299b132483700abad
[ "MIT" ]
2
2019-01-11T20:14:39.000Z
2021-04-29T10:23:31.000Z
#include "ActiveTask.h" #include <nar/lib/Exception/Exception.h> #include <nar/lib/Messaging/MessageTypes/FilePull.h> #include <nar/lib/Socket/USocket.h> #include <nar/lib/Messaging/MessageTypes/InfoChunkPull.h> #include <iostream> #include <string> #include <algorithm> #include <boost/filesystem.hpp> #define CRYPTOP...
33.837989
138
0.57157
[ "vector" ]
06cdfc5e89a06a9ed2c116d758b1693ab722cf7e
1,053
cpp
C++
70B.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
70B.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
70B.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
15.485294
68
0.553656
[ "vector" ]
06d23fce884a9fe8eef017cca607a98ac63c1251
1,673
hpp
C++
src/tracer/observers/caustic_observer.hpp
ngc92/branchedflowsim
d38c0e7f892d07d0abd9b63d30570c41b3b83b34
[ "MIT" ]
null
null
null
src/tracer/observers/caustic_observer.hpp
ngc92/branchedflowsim
d38c0e7f892d07d0abd9b63d30570c41b3b83b34
[ "MIT" ]
null
null
null
src/tracer/observers/caustic_observer.hpp
ngc92/branchedflowsim
d38c0e7f892d07d0abd9b63d30570c41b3b83b34
[ "MIT" ]
null
null
null
#ifndef CAUSTIC_OBSERVER_HPP_INCLUDED #define CAUSTIC_OBSERVER_HPP_INCLUDED #include "observer.hpp" #include "caustic.hpp" #include <deque> class CausticObserver final: public ThreadLocalObserver { // use deque because we do not iterate over the data very often, // and deque has better push_back performance a...
30.981481
112
0.738195
[ "object" ]
06d4e8c2bb823b432899feaff98aa076b0fbde24
8,794
cpp
C++
apps/main.cpp
iclue-summer-2020/coxeter
4d8f2ab271387db6550880a6b9bb64b6b2118477
[ "MIT" ]
null
null
null
apps/main.cpp
iclue-summer-2020/coxeter
4d8f2ab271387db6550880a6b9bb64b6b2118477
[ "MIT" ]
null
null
null
apps/main.cpp
iclue-summer-2020/coxeter
4d8f2ab271387db6550880a6b9bb64b6b2118477
[ "MIT" ]
null
null
null
/* This is main.c Coxeter version 3.0 Copyright (c) 2002 Fokko du Cloux This program is made available under the terms stated in the Gnu General Public License below. Enquiries about the General Public License and the Gnu project may be adressed to : Free Software Foundation 675 Mass. Ave., Cam...
44.414141
77
0.757107
[ "object" ]
06d53278bdab3779031d183c5667292af322f9c5
12,251
cxx
C++
MUON/MUONraw/AliMUONRawStreamTrigger.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONraw/AliMUONRawStreamTrigger.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONraw/AliMUONRawStreamTrigger.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
26.574837
104
0.672435
[ "object" ]
06de785ac94b335db435ea96bc94e2eb12b0e053
5,643
cpp
C++
02 Stukturerad programmering C, C plusplus/11_Awesome_adventures/common/common.cpp
alexanderjxnsson/MMMMUH21
becb785d01017de3cc41a91be22b7c00fc559f85
[ "MIT" ]
4
2021-09-30T09:57:01.000Z
2022-01-07T09:37:35.000Z
02 Stukturerad programmering C, C plusplus/11_Awesome_adventures/common/common.cpp
alexanderjxnsson/MMMMUH21
becb785d01017de3cc41a91be22b7c00fc559f85
[ "MIT" ]
2
2021-09-30T12:44:44.000Z
2021-10-06T15:45:12.000Z
02 Stukturerad programmering C, C plusplus/11_Awesome_adventures/common/common.cpp
alexanderjxnsson/MMMMUH21
becb785d01017de3cc41a91be22b7c00fc559f85
[ "MIT" ]
11
2021-09-15T07:43:01.000Z
2021-10-06T14:16:45.000Z
// // common/common.cpp // 11_Awesome_adventures // // Created by Daniel Eftodi on 2021-10-12. // #include "common.h" //void function_one_size_of_datatype () { // unsigned int usDataSize = 128; // // printf("Data size of usDataSize (%d) is: %lu bytes\n", usDataSize, sizeof(usDataSize) ); // // printf("Da...
32.80814
136
0.533581
[ "vector" ]
06df3b6091e913d34ca373e0e4b7984310d2898d
8,366
cpp
C++
src/primitives/transaction.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
null
null
null
src/primitives/transaction.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
null
null
null
src/primitives/transaction.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
1
2022-03-15T23:32:26.000Z
2022-03-15T23:32:26.000Z
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2015-2017 The PIVX Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "primitives/block.h" #include ...
26.14375
144
0.636505
[ "vector" ]
06f886ee129f346f8f07f3efb1598fe4ccd69ea1
1,329
cpp
C++
practice/everyoneIsAwinnerCodeforces.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
practice/everyoneIsAwinnerCodeforces.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
practice/everyoneIsAwinnerCodeforces.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
//xenowitz -- Jai Shree Ram #include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (long long int i = a; i <= b ; ++i) #define ford(i,a,b) for(long long int i = a;i >= b ; --i) #define mk make_pair #define mod 998244353 #define pb push_back #define ll long long #define ld long double #define MAXN (ll)1e6...
18.458333
89
0.563582
[ "vector" ]
06f8f6b80f4800febb4ea0101ee3504657c534f4
3,254
cpp
C++
algospot/lec4/lec4_HS.cpp
cutz-j/AlgorithmStudy
de0f81220e29bd5e109d174800f507b12a3bee36
[ "MIT" ]
3
2019-11-26T14:31:01.000Z
2020-01-10T18:19:46.000Z
algospot/lec4/lec4_HS.cpp
cutz-j/AlgorithmStudy
de0f81220e29bd5e109d174800f507b12a3bee36
[ "MIT" ]
null
null
null
algospot/lec4/lec4_HS.cpp
cutz-j/AlgorithmStudy
de0f81220e29bd5e109d174800f507b12a3bee36
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; vector<double> c4_3(const vector<double>& A, int M) { vector<double> ret; int N = A.size(); for (int i = M - 1; i < N; ++i) { double partialSum = 0; for (int j = 0; j < M; ++j) partialSum += A[i - j]; ret.push_back(partialSum...
16.602041
74
0.514751
[ "vector" ]
660199f2a40db2717704bf86070676c1932685ed
4,103
cpp
C++
detectors/local2D/detection/simple_ransac_detection/Model.cpp
j-polden/opendetection
0fa2f2d7da2fd5489a5935a923a4d621723fa5f0
[ "BSD-3-Clause" ]
119
2016-02-29T20:39:28.000Z
2022-01-02T11:26:50.000Z
detectors/local2D/detection/simple_ransac_detection/Model.cpp
j-polden/opendetection
0fa2f2d7da2fd5489a5935a923a4d621723fa5f0
[ "BSD-3-Clause" ]
13
2016-02-27T02:55:42.000Z
2019-08-23T19:09:47.000Z
detectors/local2D/detection/simple_ransac_detection/Model.cpp
j-polden/opendetection
0fa2f2d7da2fd5489a5935a923a4d621723fa5f0
[ "BSD-3-Clause" ]
67
2015-10-07T02:41:18.000Z
2021-07-05T04:37:33.000Z
/* * Model.cpp * * Created on: Apr 9, 2014 * Author: edgar */ #include <fstream> #include <iostream> #include <pugixml.hpp> #include "Model.h" #include "CsvWriter.h" #include <sstream> #include <ostream> #include <boost/algorithm/string.hpp> Model::Model() : list_points2d_in_(0), list_points2d_out_(0), lis...
22.543956
98
0.647331
[ "mesh", "object", "model" ]
66099005ec393cf0b80dc825766a833fcad52f36
18,088
cpp
C++
src/bridges/variant_array_bridge.cpp
ShalokShalom/godot-jvm
7b9b195de5be4a0b88b9831c3a02f9ca06aa399c
[ "MIT" ]
null
null
null
src/bridges/variant_array_bridge.cpp
ShalokShalom/godot-jvm
7b9b195de5be4a0b88b9831c3a02f9ca06aa399c
[ "MIT" ]
null
null
null
src/bridges/variant_array_bridge.cpp
ShalokShalom/godot-jvm
7b9b195de5be4a0b88b9831c3a02f9ca06aa399c
[ "MIT" ]
null
null
null
#include <core/reference.h> #include <modules/kotlin_jvm/src/gd_kotlin.h> #include "variant_array_bridge.h" #include "constants.h" #include "bridges_utils.h" using namespace bridges; JNI_INIT_STATICS_FOR_CLASS(VariantArrayBridge) VariantArrayBridge::VariantArrayBridge(jni::JObject p_wrapped, jni::JObject p...
41.015873
109
0.705108
[ "object", "vector" ]
6609e421d5b004db75a6520f518cbe130a692a23
2,572
cpp
C++
Evantai/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
11
2015-08-29T13:41:22.000Z
2020-01-08T20:34:06.000Z
Evantai/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
null
null
null
Evantai/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
5
2016-01-20T18:17:01.000Z
2019-10-30T11:57:15.000Z
#include <fstream> #include <vector> #include <bitset> #include <algorithm> using namespace std; const char outfile[] = "evantai.out"; const int MAXN = 701; const int MOD = 30103; const int oo = 0x3f3f3f3f; typedef vector<int> Graph[MAXN]; typedef vector<int> :: iterator It; const inline int min(const int &a, cons...
26.791667
116
0.476283
[ "vector" ]
660a69dc820612ea4ca8500cc57ef37ff4082052
1,461
hpp
C++
clstatphys/clstatphys/physics/fixed_boundary_normalmode_fftw.hpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
null
null
null
clstatphys/clstatphys/physics/fixed_boundary_normalmode_fftw.hpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
2
2020-01-21T08:54:05.000Z
2020-01-21T09:29:10.000Z
clstatphys/clstatphys/physics/fixed_boundary_normalmode_fftw.hpp
FIshikawa/ClassicalStatPhys
e4010480d3c7977829c1b3fdeaf51401a2409373
[ "MIT" ]
2
2020-07-18T03:36:32.000Z
2021-07-21T22:58:27.000Z
#ifndef FIXED_BOUNDARY_NORMALMODE_FFTW_HPP #define FIXED_BOUNDARY_NORMALMODE_FFTW_HPP #include <vector> #include <fftw3.h> void FixedBoundaryNormalModeFFTW(const std::vector<double>& z, std::vector<double>& z_k){ int num_particles = z.size() / 2; const double *x = &z[0]; const double *p = &z[num_particles]; d...
29.816327
92
0.710472
[ "vector" ]
66154668c4ababa4f6ea1a0b6b8667c8e535fd6d
21,835
cc
C++
impl/media/base/tizen/media_player_bridge_capi.cc
isabella232/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
9
2015-04-09T20:22:08.000Z
2021-03-17T08:34:56.000Z
impl/media/base/tizen/media_player_bridge_capi.cc
crosswalk-project/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
2
2015-02-04T13:41:12.000Z
2015-05-25T14:00:40.000Z
impl/media/base/tizen/media_player_bridge_capi.cc
isabella232/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
14
2015-02-12T16:20:47.000Z
2022-01-20T10:36:26.000Z
// Copyright 2014 Samsung Electronics Inc. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/base/tizen/media_player_bridge_capi.h" #include "base/basictypes.h" #include "base/command_line.h" #include "base/logging.h" #include ...
30.284327
80
0.709778
[ "vector" ]
6616e2e21a4d5baa78d7c5b8bc5a2666f5b33660
205
hpp
C++
solutions/303-E-Range-Sum-Query-Immutable/num-array.hpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
solutions/303-E-Range-Sum-Query-Immutable/num-array.hpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
solutions/303-E-Range-Sum-Query-Immutable/num-array.hpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
#ifndef NUM_ARRAY_HPP #define NUM_ARRAY_HPP #include <vector> class NumArray { public: NumArray(std::vector<int>& nums); int sumRange(int left, int right); private: std::vector<int> v; }; #endif
12.8125
36
0.707317
[ "vector" ]
6627ac8915b6d9847038843591a3a76028c9fb86
6,408
cpp
C++
Examples/OffscreenRender/main.cpp
bpwiselybabu/SceneGraph
1ae7142615bb2c15883ed928a5ed69b0cd281665
[ "Apache-2.0" ]
15
2015-10-18T15:11:34.000Z
2021-06-15T02:22:13.000Z
Examples/OffscreenRender/main.cpp
bpwiselybabu/SceneGraph
1ae7142615bb2c15883ed928a5ed69b0cd281665
[ "Apache-2.0" ]
13
2015-04-24T20:37:44.000Z
2020-01-27T15:26:42.000Z
Examples/OffscreenRender/main.cpp
bpwiselybabu/SceneGraph
1ae7142615bb2c15883ed928a5ed69b0cd281665
[ "Apache-2.0" ]
9
2015-08-21T18:52:27.000Z
2020-04-08T15:15:38.000Z
#include <pangolin/pangolin.h> #include <SceneGraph/SceneGraph.h> #include <iostream> #include <iomanip> #include <thread> #include <chrono> using namespace SceneGraph; using namespace pangolin; using namespace std; void Usage() { cout << "Usage: OffscreenRender ModelFilename DestinationDirectory" << endl; } ...
33.549738
107
0.610643
[ "mesh", "render", "object", "model" ]
6628ac144a5bdd873d785b53524e330cbfc23e36
8,638
cpp
C++
tzt/tzt.cpp
Raais/tzt
a649979b61550a8d81c6a1ef56747f49cb08113c
[ "MIT" ]
null
null
null
tzt/tzt.cpp
Raais/tzt
a649979b61550a8d81c6a1ef56747f49cb08113c
[ "MIT" ]
null
null
null
tzt/tzt.cpp
Raais/tzt
a649979b61550a8d81c6a1ef56747f49cb08113c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <fstream> #include <algorithm> #include <sstream> #include <string.h> #include "tztx.h" #include "cxxopts.hpp" #include "termcolor.hpp" #include "base64_rfc4648.hpp" using namespace tzt; using rapidfuzz::fuzz::ratio; using base64 = cppcodec::base64_rfc4...
29.582192
133
0.388284
[ "vector" ]
662b09f30db9ba61d9cb67d458a113ffcb661d5c
2,305
cpp
C++
Final/Dataset/B2016_Z1_Z1/student4430.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z1_Z1/student4430.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z1_Z1/student4430.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
/*B 2016/2017, Zadaća 1, Zadatak 1 NAPOMENA: ulaz/izlaz za zadatke je specificiran javnim autotestovima. Zalbe za ne analiziranje testova se ne uvazavaju! NAPOMENA: nece svi (javni) testovi sa zamgera biti dostupni na c9. */ #include <iostream> #include <vector> #include <cmath> using names...
25.898876
159
0.583948
[ "vector" ]
66409571a4e30dfac338c5e6393929b2f5579111
13,728
cc
C++
Digit_Example/opt_two_step/gen/opt/hs_int_dx.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Digit_Example/opt_two_step/gen/opt/hs_int_dx.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Digit_Example/opt_two_step/gen/opt/hs_int_dx.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Fri 5 Nov 2021 16:28:01 GMT-04:00 */ #ifdef MATLAB_MEX_FILE #include <stdexcept> #include <cmath> #include<math.h> /** * Copied from Wolfram Mathematica C Definitions file mdefs.hpp * Changed marcos to inline functions (Eric Cousineau) */ inline double Power(doubl...
40.615385
190
0.604531
[ "vector" ]