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
67b82c97c60d1ec0e39cd0e476587fce31936f0c
1,817
cpp
C++
Algorithms/greedy/Kruskal.cpp
Divide-et-impera-11/AlgorithmWord
a78bb9272b59df5d16fdc0af565391ef2ac20117
[ "MIT" ]
null
null
null
Algorithms/greedy/Kruskal.cpp
Divide-et-impera-11/AlgorithmWord
a78bb9272b59df5d16fdc0af565391ef2ac20117
[ "MIT" ]
null
null
null
Algorithms/greedy/Kruskal.cpp
Divide-et-impera-11/AlgorithmWord
a78bb9272b59df5d16fdc0af565391ef2ac20117
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> //---------------------Kruskal--------------------- #define SIZ 4 template<class Type> void Kruskal(Type graph[SIZ][SIZ]) { int set[SIZ]; vector<pair<int, int>> edges; for (uint32_t line(0); line < SIZ; ++line) { ...
33.648148
160
0.443588
[ "vector" ]
67b8efb053564afb1cfe0fd50c76a461f01bf3d0
37,975
cpp
C++
src/game/server/tf/tf_weapon_builder.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/server/tf/tf_weapon_builder.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/server/tf/tf_weapon_builder.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: The "weapon" used to build objects // // // $Workfile: $ // $Date: $ // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "tf_player....
28.812595
140
0.59763
[ "object", "model" ]
67bd094b6c56229753518f66ed5489ec4e7f46a0
2,724
cpp
C++
src/cpp/toolkit/engine/models/mesh.cpp
ismacaulay/code-adventures
05296f5bb873d7b0d2bda0303510bc90d7c467f4
[ "MIT" ]
1
2021-02-25T22:37:08.000Z
2021-02-25T22:37:08.000Z
src/cpp/toolkit/engine/models/mesh.cpp
ismacaulay/code-adventures
05296f5bb873d7b0d2bda0303510bc90d7c467f4
[ "MIT" ]
11
2020-01-12T22:47:12.000Z
2021-02-01T01:23:44.000Z
src/cpp/toolkit/engine/models/mesh.cpp
ismacaulay/code-adventures
05296f5bb873d7b0d2bda0303510bc90d7c467f4
[ "MIT" ]
null
null
null
#include "mesh.h" #include "defines.h" #include "engine/rendering/buffer_layout.h" #include "engine/rendering/index_buffer.h" #include "engine/rendering/renderer.h" #include "engine/rendering/shader.h" #include "engine/rendering/texture2d.h" #include "engine/rendering/vertex_array.h" #include "engine/rendering/vertex_...
29.290323
74
0.514684
[ "mesh", "render", "vector", "transform" ]
67be773588dd2b4fdd999bc66d553e64fa0c8fcd
5,956
cc
C++
code/Homa/src/DebugTest.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
66
2018-08-07T12:04:24.000Z
2022-03-20T15:20:55.000Z
code/Homa/src/DebugTest.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
10
2018-04-25T19:10:01.000Z
2021-01-24T20:41:48.000Z
code/Homa/src/DebugTest.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
14
2018-10-19T00:47:41.000Z
2022-03-01T01:54:17.000Z
/* Copyright (c) 2012-2018 Stanford University * Copyright (c) 2014-2015 Diego Ongaro * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFT...
33.088889
80
0.691907
[ "vector" ]
67c1a53d87c669000472c0d4f32b043c5c71d4b1
1,113
cpp
C++
src/coherence/util/aggregator/AbstractInteger64Aggregator.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
src/coherence/util/aggregator/AbstractInteger64Aggregator.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
src/coherence/util/aggregator/AbstractInteger64Aggregator.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "coherence/util/aggregator/AbstractInteger64Aggregator.hpp" COH_OPEN_NAMESPACE3(coherence,util,aggregator) // ----- constructors --...
24.195652
77
0.628032
[ "object" ]
67c7829db7feb643737a975977210308386087f5
4,184
cpp
C++
app/model/CTableModel.cpp
katecpp/sheep_sweeper
aa2fa8262f09460fc4b5ceb45174fec315fd6460
[ "MIT" ]
4
2016-01-23T13:35:25.000Z
2018-10-25T08:15:08.000Z
app/model/CTableModel.cpp
katecpp/sheep_sweeper
aa2fa8262f09460fc4b5ceb45174fec315fd6460
[ "MIT" ]
null
null
null
app/model/CTableModel.cpp
katecpp/sheep_sweeper
aa2fa8262f09460fc4b5ceb45174fec315fd6460
[ "MIT" ]
2
2017-04-13T06:23:41.000Z
2021-01-11T16:45:23.000Z
#include <model/CTableModel.h> #include <QPixmap> #include <QSize> namespace SSw { CTableModel::CTableModel(QObject *parent) : QAbstractTableModel(parent), m_model(), m_sheepDisplay(0), m_initialized(false) { } void CTableModel::init(const QModelIndex &index) { m_model.popu...
28.462585
91
0.58413
[ "model" ]
67c9fd2f7dde72f94309d3a684c921bc981d46b1
122,477
cc
C++
src/xenia/gpu/d3d12/texture_cache.cc
bomabomaboma/xenia-canary
e67b3327307d78290b290338871b95010f76a3a2
[ "BSD-3-Clause" ]
null
null
null
src/xenia/gpu/d3d12/texture_cache.cc
bomabomaboma/xenia-canary
e67b3327307d78290b290338871b95010f76a3a2
[ "BSD-3-Clause" ]
null
null
null
src/xenia/gpu/d3d12/texture_cache.cc
bomabomaboma/xenia-canary
e67b3327307d78290b290338871b95010f76a3a2
[ "BSD-3-Clause" ]
null
null
null
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2018 Ben Vanik. All rights reserved. ...
39.791098
87
0.697715
[ "render", "object", "3d" ]
67cb28dbcfa27ff547e3497a3162809d32215b84
5,636
cpp
C++
VoronoiVariant/src/ofApp.cpp
AmnonOwed/OF_GenerativeTypography
48d93403664d50688e5b0d6d452149240eb1ca30
[ "MIT" ]
103
2015-01-23T11:27:15.000Z
2022-02-10T02:16:38.000Z
VoronoiVariant/src/ofApp.cpp
sandblasted7/OF_GenerativeTypography
48d93403664d50688e5b0d6d452149240eb1ca30
[ "MIT" ]
null
null
null
VoronoiVariant/src/ofApp.cpp
sandblasted7/OF_GenerativeTypography
48d93403664d50688e5b0d6d452149240eb1ca30
[ "MIT" ]
15
2015-01-25T00:06:28.000Z
2017-08-14T02:48:49.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ saveOneFrame = false; // variable used to save a single frame as a PDF page reset = true; // variable used to reset/regenerate the voronoi shape ofBackground(255); ofEnableAntiAliasing(); ofEnableSmoothing();...
30.139037
98
0.630767
[ "shape", "vector" ]
67d72f5b1538d8351ce41aab8d693fa048af79d9
1,592
cpp
C++
Dev02_Handout/Motor2D/j1Scene.cpp
AlbertCayuela/DevGame
643dbf249b33549cd243e76e549645bc2083f3d8
[ "MIT" ]
null
null
null
Dev02_Handout/Motor2D/j1Scene.cpp
AlbertCayuela/DevGame
643dbf249b33549cd243e76e549645bc2083f3d8
[ "MIT" ]
null
null
null
Dev02_Handout/Motor2D/j1Scene.cpp
AlbertCayuela/DevGame
643dbf249b33549cd243e76e549645bc2083f3d8
[ "MIT" ]
null
null
null
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1Scene.h" j1Scene::j1Scene() : j1Module() { name.create("scene"); } // Destructor j1Scene::~j1Scene() {} // Called before render is avail...
18.298851
57
0.680905
[ "render" ]
67da89ae276d9ba27245d769b0ca941a4589b671
4,266
cpp
C++
SPOJ/SPOJ/PRESIDEN.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
SPOJ/SPOJ/PRESIDEN.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
SPOJ/SPOJ/PRESIDEN.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
/******************************* // Name : Abdul Qadir Faridi // IPG-3rd yr // Institute : ABV-IIITM,Gwalior *********************************/ //header files #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <climits> #include <cassert> #include <iomanip> #include ...
24.802326
80
0.401547
[ "vector" ]
67dfc5f297903d315ce22e45f96fecfc9887d579
19,971
cpp
C++
softSelectionQueryCmd/src/softSelectionQueryCmd.cpp
WebberHuang/SoftClusterEX
05a76a290260a90625f44b73c55d5b71d4b06b65
[ "BSD-3-Clause" ]
26
2015-05-23T09:01:59.000Z
2021-09-02T06:24:50.000Z
softSelectionQueryCmd/src/softSelectionQueryCmd.cpp
WebberHuang/SoftClusterEX
05a76a290260a90625f44b73c55d5b71d4b06b65
[ "BSD-3-Clause" ]
null
null
null
softSelectionQueryCmd/src/softSelectionQueryCmd.cpp
WebberHuang/SoftClusterEX
05a76a290260a90625f44b73c55d5b71d4b06b65
[ "BSD-3-Clause" ]
21
2015-03-18T14:54:02.000Z
2021-04-15T08:52:22.000Z
/* #---------------------------------------------------------------------- # This file is part of "Soft Cluster EX" # and covered by a BSD-style license, check # LICENSE for detail. # # Author: Webber Huang # Contact: xracz.fx@gmail.com # Homepage: http://riggingtd.com #-------------------...
31.450394
147
0.584548
[ "mesh", "transform" ]
67e125ad0dbda5d8883fd5e773a2242699e33037
6,425
cpp
C++
3DRacer/openglwindow.cpp
Isaquelc/abcg
cc92c5efd1fcfad78239edf9c16b92ea252b25c9
[ "MIT" ]
null
null
null
3DRacer/openglwindow.cpp
Isaquelc/abcg
cc92c5efd1fcfad78239edf9c16b92ea252b25c9
[ "MIT" ]
null
null
null
3DRacer/openglwindow.cpp
Isaquelc/abcg
cc92c5efd1fcfad78239edf9c16b92ea252b25c9
[ "MIT" ]
null
null
null
#include "openglwindow.hpp" #include "gamedata.hpp" #include <fmt/core.h> #include <imgui.h> #include <tiny_obj_loader.h> #include <cppitertools/itertools.hpp> #include <glm/gtx/fast_trigonometry.hpp> #include <glm/gtx/hash.hpp> #include <unordered_map> // Explicit specialization of std::hash for Vertex ...
33.994709
106
0.636732
[ "object", "model" ]
67e53295823375677211ee5c1d05bbd06fc38c0e
3,142
cc
C++
src/Features2d.cc
ATLCTO/node-opencv
028f3a336fe20729ffb3d084e22b8f331edd163a
[ "MIT" ]
null
null
null
src/Features2d.cc
ATLCTO/node-opencv
028f3a336fe20729ffb3d084e22b8f331edd163a
[ "MIT" ]
null
null
null
src/Features2d.cc
ATLCTO/node-opencv
028f3a336fe20729ffb3d084e22b8f331edd163a
[ "MIT" ]
null
null
null
#include "OpenCV.h" #if ((CV_MAJOR_VERSION == 2) && (CV_MINOR_VERSION >=4)) #include "Features2d.h" #include "Matrix.h" #include <nan.h> #include <stdio.h> #ifdef HAVE_OPENCV_FEATURES2D void Features::Init(Local<Object> target) { Nan::HandleScope scope; Nan::SetMethod(target, "ImageSimilarity", Similarity); } ...
25.544715
82
0.650541
[ "object", "vector" ]
67ea375e1b1af1bb3ede1a6a538132239c577e0e
14,667
cpp
C++
src/backends/odbc/vector-use-type.cpp
ChainSQL/soci
d4d50d65002ec2fb1486622634c31234b5f05686
[ "BSL-1.0" ]
3
2020-05-29T04:57:59.000Z
2021-04-07T02:11:12.000Z
src/backends/odbc/vector-use-type.cpp
ChainSQL/soci
d4d50d65002ec2fb1486622634c31234b5f05686
[ "BSL-1.0" ]
null
null
null
src/backends/odbc/vector-use-type.cpp
ChainSQL/soci
d4d50d65002ec2fb1486622634c31234b5f05686
[ "BSL-1.0" ]
1
2020-08-21T03:16:29.000Z
2020-08-21T03:16:29.000Z
// // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton, David Courtney // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #define SOCI_ODBC_SOURCE #include "soci/soci-platform.h" #include "soci/odbc/soci-o...
29.159046
93
0.505557
[ "vector" ]
67ec70d8970370acb8df0048e8db758597c2d3fa
9,909
cpp
C++
src/test.cpp
crockeo/optisearch
6e58e60c8ef58252fc62ec84758b66ea5d25aa42
[ "MIT" ]
null
null
null
src/test.cpp
crockeo/optisearch
6e58e60c8ef58252fc62ec84758b66ea5d25aa42
[ "MIT" ]
null
null
null
src/test.cpp
crockeo/optisearch
6e58e60c8ef58252fc62ec84758b66ea5d25aa42
[ "MIT" ]
null
null
null
// Note to random developer, // // Hi Randev, // This is really cluttered. I understand. The whole testing suite for a // whole project ought not be in a single file. That being said, to my // understanding, Catch (the library I'm using for my testing framework) // assigns IDs to tests based on line number in thei...
25.670984
98
0.575941
[ "vector" ]
67f184481df4c46717a49745ef76cdd53d6506a8
6,107
cpp
C++
framework/core/pipeline_layout.cpp
AlejandroCosin/Vulkan-Samples
8029ffb6b22d32c5e8572288aaa133af3954350f
[ "Apache-2.0" ]
1
2020-05-24T23:43:06.000Z
2020-05-24T23:43:06.000Z
framework/core/pipeline_layout.cpp
AlejandroCosin/Vulkan-Samples
8029ffb6b22d32c5e8572288aaa133af3954350f
[ "Apache-2.0" ]
null
null
null
framework/core/pipeline_layout.cpp
AlejandroCosin/Vulkan-Samples
8029ffb6b22d32c5e8572288aaa133af3954350f
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2019-2020, Arm Limited and Contributors * * SPDX-License-Identifier: Apache-2.0 * * 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/L...
31.479381
136
0.754053
[ "vector", "transform" ]
67f1b354bb376b67b530fc6f4c42c70e7ca6f97f
725
cc
C++
solutions/Leetcode_304/leetcode_304.cc
YuhanShi53/Leetcode_solutions
cdcad34656d25d6af09b226e17250c6070305ab0
[ "MIT" ]
null
null
null
solutions/Leetcode_304/leetcode_304.cc
YuhanShi53/Leetcode_solutions
cdcad34656d25d6af09b226e17250c6070305ab0
[ "MIT" ]
null
null
null
solutions/Leetcode_304/leetcode_304.cc
YuhanShi53/Leetcode_solutions
cdcad34656d25d6af09b226e17250c6070305ab0
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class NumMatrix { public: NumMatrix(vector<vector<int>> &matrix) { int num_row = matrix.size(); int num_col = matrix[0].size(); sums = vector<vector<int>>(num_row + 1, vector<int>(num_col + 1, 0)); for (int row = 1; row <= num_row; row++) ...
27.884615
125
0.543448
[ "vector" ]
67fa05d6db0d94ac410c06e5b9b83e26b24dc092
881
cpp
C++
src/problems/101-150/119/problem119.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/101-150/119/problem119.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/101-150/119/problem119.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 17/01/2019. // #include "problem119.hpp" #include <numeric> #include <generics.hpp> using std::vector; using std::numeric_limits; using std::accumulate; using std::sort; using generics::digits; namespace problems { uint64_t problem119::solve(uint32_t n) { // empirical...
20.022727
70
0.523269
[ "vector" ]
67fe6cb00f27b4a59ed7930540785670aa196d77
12,638
cpp
C++
incremental_calibration_examples/incremental_calibration_examples_2dlrf/src/2dlrf/simulate-offline.cpp
ethz-asl/aslam_incremental_calibration
16a44b86b6e7eb5ae4ee247f10c429494697ae0b
[ "BSD-3-Clause" ]
16
2017-08-23T06:29:15.000Z
2021-07-17T16:56:29.000Z
incremental_calibration_examples/incremental_calibration_examples_2dlrf/src/2dlrf/simulate-offline.cpp
ethz-asl/aslam_incremental_calibration
16a44b86b6e7eb5ae4ee247f10c429494697ae0b
[ "BSD-3-Clause" ]
1
2017-02-14T16:02:18.000Z
2017-02-14T16:02:18.000Z
incremental_calibration_examples/incremental_calibration_examples_2dlrf/src/2dlrf/simulate-offline.cpp
ethz-asl/aslam_incremental_calibration
16a44b86b6e7eb5ae4ee247f10c429494697ae0b
[ "BSD-3-Clause" ]
11
2017-01-23T09:01:30.000Z
2021-04-10T05:13:23.000Z
/****************************************************************************** * Copyright (C) 2013 by Jerome Maye * * jerome.maye@gmail.com * ******************************************************************************/...
38.181269
80
0.649153
[ "geometry", "vector", "model", "transform" ]
67ff4b08caca947fe627a7ce3f2a50b0fa5b543a
44,119
cpp
C++
src/condor_dagman/condor_submit_dag.cpp
zzxuanyuan/htcondor
b6b150095d2984970d9440a26ae714da337a1224
[ "Apache-2.0" ]
1
2015-05-22T16:26:34.000Z
2015-05-22T16:26:34.000Z
src/condor_dagman/condor_submit_dag.cpp
bbockelm/htcondor
92b73bb15fd7187b1362ae0d43dbcfde3df3e354
[ "Apache-2.0" ]
null
null
null
src/condor_dagman/condor_submit_dag.cpp
bbockelm/htcondor
92b73bb15fd7187b1362ae0d43dbcfde3df3e354
[ "Apache-2.0" ]
2
2017-11-09T01:42:58.000Z
2020-07-14T20:20:05.000Z
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
32.608278
108
0.641356
[ "object", "vector" ]
db015250bb1d394eef33503979b200139ae15332
1,658
cc
C++
onnx/optimizer/optimize.cc
HeliWang/onnx-fixed
266ec0a6a302d99710921f9bc8047d5fe3558328
[ "MIT" ]
2
2021-07-31T20:42:42.000Z
2021-11-17T11:01:14.000Z
onnx/optimizer/optimize.cc
HeliWang/onnx-fixed
266ec0a6a302d99710921f9bc8047d5fe3558328
[ "MIT" ]
null
null
null
onnx/optimizer/optimize.cc
HeliWang/onnx-fixed
266ec0a6a302d99710921f9bc8047d5fe3558328
[ "MIT" ]
null
null
null
// ATTENTION: The code in this file is highly EXPERIMENTAL. // Adventurous users should note that the APIs will probably change. #include "onnx/optimizer/optimize.h" namespace ONNX_NAMESPACE { namespace optimization { void PrepareOutput(const ONNX_NAMESPACE::ModelProto& mp_in, ONNX_NAMESPACE::ModelProto& mp_out) { ...
28.101695
97
0.679131
[ "vector" ]
db121a0c51df14c3bba175a169554645c462c786
1,070
cpp
C++
Competitive Programming/String/LongestDistinctCharacter.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
Competitive Programming/String/LongestDistinctCharacter.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
Competitive Programming/String/LongestDistinctCharacter.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
#include<bits/stdc++.h> using namespace std; int main(){ //code int t; cin >> t; while(t--){ string s; cin >> s; int n = s.size(); if(s.size()==0){ return 0; } int i=0, j=0; vector<int> cnt(326, 0); cnt[s[0]]++; int ans=1;...
18.77193
70
0.365421
[ "vector" ]
db14c4de6eda0bc93f902aed2f4b5763e95956b7
17,323
cpp
C++
src/behavior_planner.cpp
Zhanghq8/Udacity_Path_planning
3ec261dda15641370d660142c4909a718611d2cc
[ "MIT" ]
null
null
null
src/behavior_planner.cpp
Zhanghq8/Udacity_Path_planning
3ec261dda15641370d660142c4909a718611d2cc
[ "MIT" ]
null
null
null
src/behavior_planner.cpp
Zhanghq8/Udacity_Path_planning
3ec261dda15641370d660142c4909a718611d2cc
[ "MIT" ]
null
null
null
#include "../include/behavior_planner.h" Behavior_planner::Behavior_planner() { gap = std::vector<std::vector<double>> (2, std::vector<double> (3, 0)); init_gap(); vel = std::vector<std::vector<double>> (2, std::vector<double> (3, 0)); diff_vel = std::vector<std::vector<double>> (2, std::vector<double> (3, 0)); c...
36.164927
132
0.589043
[ "vector" ]
db1903ff5ef2005d4cf8ea61b3f7bf95749f0e82
12,394
cpp
C++
src/08_RecurrentNeuralNetworks/rnn_scratch.cpp
jiamny/D2L_pytorch_cpp
5bd89bb5531b9fca4fbe0dc3bfe5beaa7c45cb09
[ "MIT" ]
null
null
null
src/08_RecurrentNeuralNetworks/rnn_scratch.cpp
jiamny/D2L_pytorch_cpp
5bd89bb5531b9fca4fbe0dc3bfe5beaa7c45cb09
[ "MIT" ]
null
null
null
src/08_RecurrentNeuralNetworks/rnn_scratch.cpp
jiamny/D2L_pytorch_cpp
5bd89bb5531b9fca4fbe0dc3bfe5beaa7c45cb09
[ "MIT" ]
1
2022-03-11T00:12:20.000Z
2022-03-11T00:12:20.000Z
#include <torch/torch.h> #include <torch/script.h> #include <torch/autograd.h> #include <torch/utils.h> #include <iostream> #include <unistd.h> #include <iomanip> #include "../utils/ch_8_9_util.h" #include "../utils.h" #include "../matplotlibcpp.h" namespace plt = matplotlibcpp; torch::Tensor normal(int d1, int d2,...
35.011299
136
0.597467
[ "shape", "vector", "model" ]
db1bc99e006611f7ba05cd0f4b8529dfaac0124e
1,394
cpp
C++
ExtraFiles/NZArchive_AddDLL/NZArchive_AddDLL/Global.cpp
alwendya/NZArchive
57a3ce6104598d33001d2dab8677ccf49c740950
[ "MIT" ]
1
2022-02-27T14:48:34.000Z
2022-02-27T14:48:34.000Z
ExtraFiles/NZArchive_AddDLL/NZArchive_AddDLL/Global.cpp
alwendya/NZArchive
57a3ce6104598d33001d2dab8677ccf49c740950
[ "MIT" ]
null
null
null
ExtraFiles/NZArchive_AddDLL/NZArchive_AddDLL/Global.cpp
alwendya/NZArchive
57a3ce6104598d33001d2dab8677ccf49c740950
[ "MIT" ]
null
null
null
#include "Global.h" #include "OverlayIconExt.h" #include "MenuExt.h" // {C0552A55-A874-4ACC-9C64-F43A86D73F4E} const CLSID CLSID_MenuExt = { 0xc0552a55, 0xa874, 0x4acc, { 0x9c, 0x64, 0xf4, 0x3a, 0x86, 0xd7, 0x3f, 0x4e } }; // {E4FCBC8E-C70D-4B28-AF68-B98C99015730} const CLSID CLSID_OverlayIconExt = { 0xe4fcbc8e, ...
18.103896
83
0.684362
[ "vector" ]
db1bf7c3d8df6f5c9f78ab5cb61c6891b6cb7545
8,916
cpp
C++
isis/src/control/objs/BundleUtilities/BundleObservationVector.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2019-10-13T15:31:33.000Z
2019-10-13T15:31:33.000Z
isis/src/control/objs/BundleUtilities/BundleObservationVector.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
null
null
null
isis/src/control/objs/BundleUtilities/BundleObservationVector.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2021-07-12T06:05:03.000Z
2021-07-12T06:05:03.000Z
#include "BundleObservationVector.h" #include <QDebug> #include "BundleObservation.h" #include "IException.h" namespace Isis { /** * Constructs an empty BundleObservationVector. */ BundleObservationVector::BundleObservationVector() { } /** * Copy constructor. * * Constructs a BundleObserva...
35.241107
100
0.698632
[ "vector" ]
db1fcf1157d3ca71f20146d60d52b158a46a2353
2,782
cpp
C++
src/test/test_required_tile_selector.cpp
Muratam/mahjong-cpp
28a76a8e25a0084cb582e5c1e64c16f479da268f
[ "MIT" ]
null
null
null
src/test/test_required_tile_selector.cpp
Muratam/mahjong-cpp
28a76a8e25a0084cb582e5c1e64c16f479da268f
[ "MIT" ]
null
null
null
src/test/test_required_tile_selector.cpp
Muratam/mahjong-cpp
28a76a8e25a0084cb582e5c1e64c16f479da268f
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/split.hpp> #include <boost/dll.hpp> #define CATCH_CONFIG_MAIN #define CATCH_CONFIG_ENABLE_BENCHMARKING #include <catch2/catch.hpp> #include "mahjong/mahjong.hpp" using namespace mahjong; /** ...
22.803279
81
0.564342
[ "vector" ]
db219deb6ea2a6e20dd91756251032ed619052ba
16,195
cpp
C++
src/test/cpp/Balau/Util/StringsTest.cpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
6
2018-12-30T15:09:26.000Z
2020-04-20T09:27:59.000Z
src/test/cpp/Balau/Util/StringsTest.cpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
null
null
null
src/test/cpp/Balau/Util/StringsTest.cpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
2
2019-11-12T08:07:16.000Z
2019-11-29T11:19:47.000Z
// @formatter:off // // Balau core C++ library // // Copyright (C) 2008 Bora Software (contact@borasoftware.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.apach...
43.186667
168
0.700587
[ "vector" ]
db2ca44d7f4d188d6e37f6ea99f1e791bc538886
7,511
cpp
C++
Viewer/ecflowUI/src/TriggerTableModel.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
Viewer/ecflowUI/src/TriggerTableModel.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
Viewer/ecflowUI/src/TriggerTableModel.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Copyright 2009- ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. // In applying this licence, ECMWF does not waive the privileges...
25.120401
112
0.538543
[ "vector" ]
db2f04dfe086833af6bb8af491ed1d4b9c3a92a4
4,410
cpp
C++
willow/src/op/instancenorm.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/op/instancenorm.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/op/instancenorm.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #include <algorithm> #include <memory> #include <vector> #include <popart/op/instancenorm.hpp> #include <popart/opmanager.hpp> #include <popart/opserialiser.hpp> #include <popart/tensor.hpp> #include <popart/tensorindex.hpp> namespace popart { InstanceNormOp::...
34.453125
80
0.632653
[ "shape", "vector" ]
db3a1ff9316fa8d071249085f16791c748ccf3d0
15,936
cc
C++
src/hash.cc
wanabe/xyzzy
a43581d9a2033d5c43d99cccfecc8e90aa3915e1
[ "RSA-MD" ]
1
2015-10-25T05:58:20.000Z
2015-10-25T05:58:20.000Z
src/hash.cc
wanabe/xyzzy
a43581d9a2033d5c43d99cccfecc8e90aa3915e1
[ "RSA-MD" ]
null
null
null
src/hash.cc
wanabe/xyzzy
a43581d9a2033d5c43d99cccfecc8e90aa3915e1
[ "RSA-MD" ]
null
null
null
#include "stdafx.h" #include "ed.h" #define SXHASH_DEPTH 3 #define MIN_REHASH_THRESHOLD 0.0625 lhash_table * make_hash_table () { lhash_table *p = ldata <lhash_table, Thash_table>::lalloc (); p->test = 0; p->size = 0; p->used = 0; p->count = 0; p->entry = 0; return p; } static inline u_int sxhashval (l...
25.74475
113
0.606049
[ "object" ]
db3edb209ae7360d8c4dc10448402ecd386332cc
700
cpp
C++
2015-04-Training-for-NOI/Problem - QrCode/qrcode.cpp
jsdelivrbot/AlgoAcademy
afcee2e76999346b936c70e00683b518692e97e9
[ "MIT" ]
10
2015-10-30T20:22:19.000Z
2019-03-28T22:37:30.000Z
2015-04-Training-for-NOI/Problem - QrCode/qrcode.cpp
jsdelivrbot/AlgoAcademy
afcee2e76999346b936c70e00683b518692e97e9
[ "MIT" ]
null
null
null
2015-04-Training-for-NOI/Problem - QrCode/qrcode.cpp
jsdelivrbot/AlgoAcademy
afcee2e76999346b936c70e00683b518692e97e9
[ "MIT" ]
12
2015-04-17T20:04:09.000Z
2021-07-03T15:24:24.000Z
#include<iostream> #include<vector> const int MOD = 1000000007; int n, A[16][1<<16]; std::vector<int> v[1<<16]; inline bool check(int i, int j) { for(int k=1; k<n; ++k) { int a = i&3, b = j&3; if((a==0 && b==0) || (a==3 && b==3)) return false; i >>= 1; j >>= 1; } return true; } int main() { std::cin >...
17.073171
44
0.462857
[ "vector" ]
b9cbfa0b82f947a13b91c70e03ce69753a07bb3d
4,940
cpp
C++
exercicios/Tp4/Tp4.cpp
xXHachimanXx/LPA
cbd7269b29fe80cb73b915acad79dad28f042f65
[ "MIT" ]
null
null
null
exercicios/Tp4/Tp4.cpp
xXHachimanXx/LPA
cbd7269b29fe80cb73b915acad79dad28f042f65
[ "MIT" ]
3
2020-03-05T12:28:46.000Z
2020-06-14T21:17:22.000Z
exercicios/Tp4/Tp4.cpp
xXHachimanXx/LPA
cbd7269b29fe80cb73b915acad79dad28f042f65
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <string.h> #include <vector> #include <limits.h> #include <algorithm> #define infinity INT_MAX using namespace std; class Aresta { public: int v1, v2; int peso; Aresta(int v1, int v2, int peso); }; Aresta::Aresta(int v1, int v2, int peso) { this->v1 =...
20
66
0.519636
[ "vector" ]
b9cc130d0964cce3249e5d186df29cd92d5d3578
34,175
cpp
C++
external/Carve/src/lib/polyhedron.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
426
2015-04-12T10:00:46.000Z
2022-03-29T11:03:02.000Z
external/Carve/src/lib/polyhedron.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
124
2015-05-15T05:51:00.000Z
2022-02-09T15:25:12.000Z
external/Carve/src/lib/polyhedron.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
214
2015-05-06T07:30:37.000Z
2022-03-26T16:14:04.000Z
// Copyright 2006-2015 Tobias Sargeant (tobias.sargeant@gmail.com). // // This file is part of the Carve CSG Library (http://carve-csg.com/) // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Softw...
30.270151
83
0.58695
[ "mesh", "vector", "transform" ]
b9d457fbcb20ade041c2ac14245253f61a6e8e48
3,842
cpp
C++
src_v2/main.cpp
define-private-public/sqlite_orm_todo_sample
d42c41c6b641d663724137090569778106d1c5b0
[ "Unlicense" ]
1
2021-11-18T15:51:15.000Z
2021-11-18T15:51:15.000Z
src_v2/main.cpp
define-private-public/sqlite_orm_todo_sample
d42c41c6b641d663724137090569778106d1c5b0
[ "Unlicense" ]
null
null
null
src_v2/main.cpp
define-private-public/sqlite_orm_todo_sample
d42c41c6b641d663724137090569778106d1c5b0
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> #include "../tabulate.hpp" #include "Data/Storage.h" using namespace std; using namespace Data; // Commands to use const string quit_cmd("quit"); const string list_cmd("list"); const string add_cmd("add"); const string doing_cmd("doing"); const string done_cmd("done"); const str...
31.235772
120
0.619469
[ "vector" ]
b9da234e0df1e225a98bb69ec56d514d0263f733
2,752
cpp
C++
src/server.cpp
nathan-osman/ldclient
7a85fed0d3f539e73b2671df5802d941099824eb
[ "MIT" ]
1
2018-01-23T07:31:58.000Z
2018-01-23T07:31:58.000Z
src/server.cpp
nathan-osman/ldclient
7a85fed0d3f539e73b2671df5802d941099824eb
[ "MIT" ]
null
null
null
src/server.cpp
nathan-osman/ldclient
7a85fed0d3f539e73b2671df5802d941099824eb
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2017 Nathan Osman * * 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,...
28.081633
92
0.694041
[ "object" ]
b9dca5d37a62a6de0bd0424127fce3f05b393d80
18,296
cpp
C++
gbplanner/src/map_manager_voxblox_impl.cpp
HalfManHalfWookey/gbplanner_ros
26aecaf01202fbbf1dc122a4d8bc965406b5e9a9
[ "BSD-3-Clause" ]
2
2022-02-15T11:19:33.000Z
2022-03-30T12:10:58.000Z
gbplanner/src/map_manager_voxblox_impl.cpp
HalfManHalfWookey/gbplanner_ros
26aecaf01202fbbf1dc122a4d8bc965406b5e9a9
[ "BSD-3-Clause" ]
null
null
null
gbplanner/src/map_manager_voxblox_impl.cpp
HalfManHalfWookey/gbplanner_ros
26aecaf01202fbbf1dc122a4d8bc965406b5e9a9
[ "BSD-3-Clause" ]
1
2021-07-16T17:50:51.000Z
2021-07-16T17:50:51.000Z
#include "gbplanner/map_manager_voxblox_impl.h" namespace explorer { namespace gbplanner { // TSDF template <typename SDFServerType, typename SDFVoxelType> voxblox::Layer<SDFVoxelType>* MapManagerVoxblox<SDFServerType, SDFVoxelType>::getSDFLayer() { return sdf_server_.getTsdfMapPtr()->getTsdfLayerPtr(); } // ESDF ...
39.094017
80
0.690807
[ "object", "vector" ]
b9dcff5906dd22133ad30fe73591eebb98ce753e
1,220
cpp
C++
framework/gef_common_message/gef_common_message_processor.cpp
paladin-t/game-editor-framework
99520db6502bc632a8dbb19fa86aa38e494f7bc7
[ "MIT" ]
4
2017-05-30T15:33:15.000Z
2020-06-02T15:38:57.000Z
framework/gef_common_message/gef_common_message_processor.cpp
paladin-t/game-editor-framework
99520db6502bc632a8dbb19fa86aa38e494f7bc7
[ "MIT" ]
null
null
null
framework/gef_common_message/gef_common_message_processor.cpp
paladin-t/game-editor-framework
99520db6502bc632a8dbb19fa86aa38e494f7bc7
[ "MIT" ]
1
2020-05-02T06:13:19.000Z
2020-05-02T06:13:19.000Z
/** * @version: 1.0 * @author: Wang Renxin, * https://github.com/paladin-t/game_editor_framework * mailto:hellotony521@qq.com * @file: This file is a part of GEF, for copyright detail * information, see the LICENSE file. */ #define GEF_MSG_DOTNET_COMPILE #include "gef_common_message_proc...
23.921569
84
0.67377
[ "object" ]
b9e6a1c2c08b7ebaf0a1603f1d52e734bc669b2a
3,208
hpp
C++
src/main/resources/Type.hpp
HarvardPL/formulog
508c7688bbe826a6951cc8c3e70026e57548e044
[ "Apache-2.0" ]
109
2019-05-10T16:51:36.000Z
2022-03-13T02:39:31.000Z
src/main/resources/Type.hpp
HarvardPL/formulog
508c7688bbe826a6951cc8c3e70026e57548e044
[ "Apache-2.0" ]
11
2020-12-03T18:37:29.000Z
2022-02-14T17:11:34.000Z
src/main/resources/Type.hpp
HarvardPL/formulog
508c7688bbe826a6951cc8c3e70026e57548e044
[ "Apache-2.0" ]
5
2019-10-08T10:00:27.000Z
2021-02-22T17:06:05.000Z
#pragma once #include <atomic> #include <cassert> #include <cstdlib> #include <map> #include <utility> #include <vector> #include "Symbol.hpp" namespace flg { using namespace std; struct Type; struct TypeSubst; typedef pair<vector<Type>, Type> functor_type; struct Type { string name; bool is_var; vector<Ty...
21.972603
95
0.65586
[ "vector" ]
b9e82e5c9b9a56b81083f2b05e746c9665dfef20
1,128
hpp
C++
server/src/grid/grid.hpp
p-mercury/gridlock
d3c458fa0c74fe776df489ed82a860eaf5dc1abe
[ "MIT" ]
1
2020-06-11T13:28:32.000Z
2020-06-11T13:28:32.000Z
server/src/grid/grid.hpp
JustinZal/gridlock
d3c458fa0c74fe776df489ed82a860eaf5dc1abe
[ "MIT" ]
1
2020-06-14T07:54:53.000Z
2020-06-14T07:54:53.000Z
server/src/grid/grid.hpp
JustinZal/gridlock
d3c458fa0c74fe776df489ed82a860eaf5dc1abe
[ "MIT" ]
1
2021-08-24T09:22:18.000Z
2021-08-24T09:22:18.000Z
#ifndef GRIDLOCK_GRID_HPP #define GRIDLOCK_GRID_HPP #include <stdexcept> #include <iostream> #include <fstream> #include <memory> #include <mutex> #include <vector> #include <json.hpp> #include <sys/types.h> #include <pwd.h> #include <unistd.h> #include <nlohmann/json.hpp> #include "constants.hpp" #include "player.h...
17.904762
60
0.718085
[ "vector" ]
b9ed532c215a3ebf166c7e55d671d40f62393e9d
14,884
cpp
C++
third_party/SimpleDBus/src/base/Holder.cpp
BrainAlive/brainflow
1b939c342f4052d6de99623a67385a86dd66bd56
[ "MIT" ]
1
2022-01-08T15:25:46.000Z
2022-01-08T15:25:46.000Z
third_party/SimpleDBus/src/base/Holder.cpp
HDPNC/brainflow
ede79fbd5fcc823c1c64bcc3af3e88b4d12177bf
[ "MIT" ]
null
null
null
third_party/SimpleDBus/src/base/Holder.cpp
HDPNC/brainflow
ede79fbd5fcc823c1c64bcc3af3e88b4d12177bf
[ "MIT" ]
null
null
null
#include <simpledbus/base/Holder.h> #include <iomanip> #include <iostream> #include <sstream> #include "dbus/dbus-protocol.h" using namespace SimpleDBus; Holder::Holder() {} Holder::~Holder() {} Holder::Type Holder::type() { return _type; } std::string Holder::_represent_simple() { std::ostringstream output; ...
29.947686
113
0.560736
[ "vector" ]
b9ee9ed2aac97c37d48bb63955f62a1f47f1b2fe
23,160
cpp
C++
arangod/Aql/OutputAqlItemRow.cpp
Mu-L/arangodb
a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
arangod/Aql/OutputAqlItemRow.cpp
Mu-L/arangodb
a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
arangod/Aql/OutputAqlItemRow.cpp
Mu-L/arangodb
a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
37.415186
80
0.714249
[ "vector" ]
b9f3db21cb99b69c31f2c112b000180ff056b52b
1,650
hpp
C++
libs/MPILib/include/MiindTvbModelAbstract.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
13
2015-09-15T17:28:25.000Z
2022-03-22T20:26:47.000Z
libs/MPILib/include/MiindTvbModelAbstract.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
41
2015-08-25T07:50:55.000Z
2022-03-21T16:20:37.000Z
libs/MPILib/include/MiindTvbModelAbstract.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
9
2015-09-14T20:52:07.000Z
2022-03-08T12:18:18.000Z
#include <vector> #include <boost/timer/timer.hpp> #include <GeomLib/GeomLib.hpp> #include <TwoDLib/TwoDLib.hpp> #include <MPILib/include/MPINetworkCode.hpp> #include <MPILib/include/RateAlgorithmCode.hpp> #include <MPILib/include/SimulationRunParameter.hpp> #include <MPILib/include/DelayAlgorithmCode.hpp> #include <MP...
23.239437
77
0.774545
[ "vector" ]
b9f43089dd7e4a1aa2cb3aa944881de89485bfdb
1,930
cpp
C++
ablateLibrary/monitors/hdf5Monitor.cpp
pakserep/ablate
8c8443de8a252b03b3535f7c48b7a50aac1e56e4
[ "BSD-3-Clause" ]
null
null
null
ablateLibrary/monitors/hdf5Monitor.cpp
pakserep/ablate
8c8443de8a252b03b3535f7c48b7a50aac1e56e4
[ "BSD-3-Clause" ]
null
null
null
ablateLibrary/monitors/hdf5Monitor.cpp
pakserep/ablate
8c8443de8a252b03b3535f7c48b7a50aac1e56e4
[ "BSD-3-Clause" ]
null
null
null
#include "hdf5Monitor.hpp" #include <petscviewerhdf5.h> #include <environment/runEnvironment.hpp> #include "generators.hpp" #include "utilities/petscError.hpp" ablate::monitors::Hdf5Monitor::~Hdf5Monitor() { if (petscViewer) { PetscViewerDestroy(&petscViewer) >> checkError; } // If this is the roo...
42.888889
194
0.70829
[ "object" ]
b9f52f1a7069c456c3f30824702ec9a14a15a2ae
1,967
cpp
C++
src/tools.cpp
aliasaswad/CarND-Extended-Kalman-Filter-P5
fd61964c8afea8c7d7823cc562b45bcfd7654c8a
[ "MIT" ]
null
null
null
src/tools.cpp
aliasaswad/CarND-Extended-Kalman-Filter-P5
fd61964c8afea8c7d7823cc562b45bcfd7654c8a
[ "MIT" ]
null
null
null
src/tools.cpp
aliasaswad/CarND-Extended-Kalman-Filter-P5
fd61964c8afea8c7d7823cc562b45bcfd7654c8a
[ "MIT" ]
null
null
null
#include "tools.h" #include <iostream> using Eigen::VectorXd; using Eigen::MatrixXd; using std::vector; using std::cout; using std::endl; Tools::Tools() {} Tools::~Tools() {} VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations, const vector<VectorXd> &ground_truth) { /...
24.283951
85
0.591764
[ "vector" ]
b9f726d352fa646a0a054cea22c22d3099395b26
15,265
cxx
C++
Base/QTGUI/qSlicerIOManager.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Base/QTGUI/qSlicerIOManager.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Base/QTGUI/qSlicerIOManager.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
/// Qt includes #include <QDebug> #include <QDragEnterEvent> #include <QDropEvent> #include <QFileDialog> #include <QInputDialog> #include <QMetaProperty> #include <QProgressDialog> #include <QSettings> // CTK includes #include "ctkScreenshotDialog.h" /// SlicerQt includes #include "qSlicerIOManager.h" #include "qSli...
28.965844
142
0.572355
[ "object" ]
b9fa2742e7256f77fe0f8500997830cfdbb391cf
5,847
cpp
C++
src_code/AdvancedQt/pagedesigner1/boxitem.cpp
yanrong/book_demo
20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f
[ "Apache-2.0" ]
null
null
null
src_code/AdvancedQt/pagedesigner1/boxitem.cpp
yanrong/book_demo
20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f
[ "Apache-2.0" ]
null
null
null
src_code/AdvancedQt/pagedesigner1/boxitem.cpp
yanrong/book_demo
20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2009-10 Qtrac Ltd. All rights reserved. This program or module 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 3 of the License, or (at your option) any later v...
26.457014
72
0.596374
[ "transform" ]
b9fb03fbb243bead03600b5aa07b7daa208a799f
112,931
cpp
C++
ToolSrc/cximage600_full_3/demo/demoDoc.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
ToolSrc/cximage600_full_3/demo/demoDoc.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
ToolSrc/cximage600_full_3/demo/demoDoc.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
// demoDoc.cpp : implementation of the CDemoDoc class // #include "stdafx.h" #include "demo.h" #include "MainFrm.h" #include "demoDoc.h" #include "demoView.h" #include "DlgRotate.h" #include "DlgResample.h" #include "DlgDecBpp.h" #include "DlgIncBpp.h" #include "DlgOptions.h" #include "DlgDither.h" #include "DlgThres...
33.069107
214
0.657517
[ "object" ]
6a001923900f609a0049c88af77ccf8c45271f5c
5,635
cpp
C++
solutions/LeetCode/C++/1032.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/1032.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/1032.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 160 ms submission class TrieNode { public: bool is_word; TrieNode * children[26]; TrieNode(): is_word(false) { memset(children, 0, sizeof children); } }; class StreamChecker { TrieNode ...
25.497738
98
0.480568
[ "object", "vector" ]
6a04879a529e9f957e3dfc835d1e8fb711b37366
16,349
cc
C++
caffe2/core/workspace.cc
Mathpix/caffe2
6687f8447545250cdeb63a4a9baaa6e25c32ad0d
[ "MIT" ]
1
2021-04-22T00:07:58.000Z
2021-04-22T00:07:58.000Z
caffe2/core/workspace.cc
ZhaoJ9014/caffe2
40a1ae36afd2d1b6126f171209c83a4a5b95737c
[ "MIT" ]
null
null
null
caffe2/core/workspace.cc
ZhaoJ9014/caffe2
40a1ae36afd2d1b6126f171209c83a4a5b95737c
[ "MIT" ]
null
null
null
#include "caffe2/core/workspace.h" #include <algorithm> #include <ctime> #include <mutex> #include "caffe2/core/logging.h" #include "caffe2/core/operator.h" #include "caffe2/core/net.h" #include "caffe2/core/timer.h" #include "caffe2/proto/caffe2.pb.h" CAFFE2_DEFINE_bool( caffe2_handle_executor_threads_exception...
31.931641
80
0.614778
[ "vector" ]
6a050e7a5216b068824902c3e168b82d6f32efc8
1,005
cpp
C++
source/112.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/112.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/112.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 112.cpp // LeetCode // // Created by Narikbi on 01.04.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cma...
17.946429
99
0.60199
[ "vector" ]
6a0cb2a718584cc7f64d655bd14c7794a3ee2928
1,537
cc
C++
mindspore/ccsrc/plugin/device/cpu/kernel/environ/environ_cpu_destroy_all.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
1
2022-03-05T02:59:21.000Z
2022-03-05T02:59:21.000Z
mindspore/ccsrc/plugin/device/cpu/kernel/environ/environ_cpu_destroy_all.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/plugin/device/cpu/kernel/environ/environ_cpu_destroy_all.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2022 Huawei Technologies 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 law...
35.744186
108
0.722837
[ "vector" ]
6a0d4884093463fc5a3aa6b3298ead344d193b4d
1,894
cc
C++
src/procedure_geometry.cc
tunneln/Virtual_Mannequin
5b0994631a56f55fcc80d5662081f2db5961d95d
[ "BSL-1.0" ]
2
2019-01-28T16:22:31.000Z
2020-03-23T19:09:52.000Z
src/procedure_geometry.cc
tunneln/virtual-mannequin
5b0994631a56f55fcc80d5662081f2db5961d95d
[ "BSL-1.0" ]
null
null
null
src/procedure_geometry.cc
tunneln/virtual-mannequin
5b0994631a56f55fcc80d5662081f2db5961d95d
[ "BSL-1.0" ]
null
null
null
#include "procedure_geometry.h" #include "bone_geometry.h" #include "config.h" void create_floor(std::vector<glm::vec4>& floor_vertices, std::vector<glm::uvec3>& floor_faces) { floor_faces.push_back(glm::uvec3(0, 1, 2)); floor_faces.push_back(glm::uvec3(2, 3, 0)); floor_vertices.push_back(glm::vec4(kFloorXMin, kFlo...
31.566667
95
0.627772
[ "vector" ]
6a0f037212adda6e0d977e94997e71bce5574e68
3,509
hpp
C++
timer/Texture/Texture.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/Texture/Texture.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/Texture/Texture.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 MaticVrtacnik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
22.49359
84
0.737532
[ "vector" ]
6a13bd428694e5c83398473073880f8674ebb848
1,357
hpp
C++
include/networkit/io/NetworkitBinaryWriter.hpp
angriman/network
3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894
[ "MIT" ]
366
2019-06-27T18:48:18.000Z
2022-03-29T08:36:49.000Z
include/networkit/io/NetworkitBinaryWriter.hpp
angriman/network
3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894
[ "MIT" ]
387
2019-06-24T11:30:39.000Z
2022-03-31T10:37:28.000Z
include/networkit/io/NetworkitBinaryWriter.hpp
angriman/network
3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894
[ "MIT" ]
131
2019-07-04T15:40:13.000Z
2022-03-29T12:34:23.000Z
/* * NetworkitBinaryWriter.hpp * * Author: Charmaine Ndolo <charmaine.ndolo@hu-berlin.de> */ #ifndef NETWORKIT_IO_NETWORKIT_BINARY_WRITER_HPP_ #define NETWORKIT_IO_NETWORKIT_BINARY_WRITER_HPP_ #include <networkit/graph/Graph.hpp> #include <networkit/io/GraphWriter.hpp> namespace NetworKit { enum class Netw...
25.12963
98
0.734709
[ "vector" ]
6a1899e841fe91830b5c38218e7fefaf6ced7030
17,597
cc
C++
src/bin/d2/d2_process.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
2
2021-06-29T09:56:34.000Z
2021-06-29T09:56:39.000Z
src/bin/d2/d2_process.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
null
null
null
src/bin/d2/d2_process.cc
telekom/dt-kea-netconf
f347df353d58827d6deb09f281d3680ab089e7af
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <asiolink/asio_w...
39.632883
82
0.621242
[ "model" ]
6a1c28119f6796346944bf543befcc356f80cb09
2,057
cpp
C++
pxr/usd/lib/usdRi/typeUtils.cpp
YuqiaoZhang/USD
bf3a21e6e049486441440ebf8c0387db2538d096
[ "BSD-2-Clause" ]
88
2018-07-13T01:22:00.000Z
2022-01-16T22:15:27.000Z
pxr/usd/lib/usdRi/typeUtils.cpp
YuqiaoZhang/USD
bf3a21e6e049486441440ebf8c0387db2538d096
[ "BSD-2-Clause" ]
1
2021-08-14T23:57:51.000Z
2021-08-14T23:57:51.000Z
pxr/usd/lib/usdRi/typeUtils.cpp
YuqiaoZhang/USD
bf3a21e6e049486441440ebf8c0387db2538d096
[ "BSD-2-Clause" ]
26
2018-06-06T03:39:22.000Z
2021-08-28T23:02:42.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
32.140625
75
0.699076
[ "vector" ]
6a206e7e57b67eeb32acff4e8035d21476c25906
4,626
cpp
C++
SDK2013/Template/client/template/clientmode_sdk.cpp
reepblue/SourceSDKContent
32c4340f598ff0c1f129f014a1c5defb5fca756d
[ "Artistic-2.0" ]
15
2016-06-24T11:36:27.000Z
2021-09-04T03:29:42.000Z
SDK2013/Template/client/template/clientmode_sdk.cpp
reepblue/SourceSDKContent
32c4340f598ff0c1f129f014a1c5defb5fca756d
[ "Artistic-2.0" ]
null
null
null
SDK2013/Template/client/template/clientmode_sdk.cpp
reepblue/SourceSDKContent
32c4340f598ff0c1f129f014a1c5defb5fca756d
[ "Artistic-2.0" ]
3
2017-02-02T23:19:54.000Z
2018-04-26T13:36:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Draws the normal TF2 or HL2 HUD. // //============================================================================= #include "cbase.h" #include "clientmode_sdk.h" #include "clientmode_shared.h" #include "ivmodemanager.h" #includ...
28.555556
130
0.590575
[ "render" ]
6a20fa6442a81ee95ab2a0a4e0c7e4a2f3e9e696
3,852
cpp
C++
Systems/Physics/ConstraintRanges.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
52
2018-09-11T17:18:35.000Z
2022-03-13T15:28:21.000Z
Systems/Physics/ConstraintRanges.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
1,409
2018-09-19T18:03:43.000Z
2021-06-09T08:33:33.000Z
Systems/Physics/ConstraintRanges.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
26
2018-09-11T17:16:32.000Z
2021-11-22T06:21:19.000Z
/////////////////////////////////////////////////////////////////////////////// /// /// Authors: Joshua Davis /// Copyright 2011-2017, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #include "Precompiled.hpp" namespace Zero { //----------...
25.342105
93
0.622015
[ "object" ]
6a2414b0205600f359d1ee1832283b0935c8ad98
2,761
cc
C++
third_party/blink/renderer/core/css/resolver/cascade_interpolations_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/core/css/resolver/cascade_interpolations_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/core/css/resolver/cascade_interpolations_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/resolver/cascade_interpolations.h" #include <gtest/gtest.h> namespace blink { TEST(CascadeInterpolationsT...
33.670732
80
0.737776
[ "vector" ]
6a260a7397c88340218a3af99687e4a9a29d05ef
7,276
cpp
C++
sandbox/SVM/softmargin/svm.cpp
convexbrain/studynote
a2b1b53474eee1a5a1de58fc682c100ae19f2633
[ "MIT" ]
3
2018-04-23T14:38:41.000Z
2021-09-09T16:57:35.000Z
sandbox/SVM/softmargin/svm.cpp
convexbrain/studynote
a2b1b53474eee1a5a1de58fc682c100ae19f2633
[ "MIT" ]
3
2019-11-04T15:19:31.000Z
2021-02-13T12:27:15.000Z
sandbox/SVM/softmargin/svm.cpp
convexbrain/studynotes
b562c8ce3c21cda389ae4973452e1b7c0f46a67d
[ "MIT" ]
null
null
null
#include "svm.h" #include <algorithm> #include <vector> #include <math.h> static SCALAR product(SCALAR *x0, SCALAR *x1, int dim) { SCALAR r = 0.0; for(int i = 0; i < dim; i++) { r += *x0++ * *x1++; } return r; } static SCALAR polynomial(SCALAR *x0, SCALAR *x1, int dim, SCALAR c, int d) { SCALAR r = 0.0; ...
21.4
85
0.491754
[ "vector" ]
6a2aa195ca6ac7768187ffff4a96dd3d4e966387
1,139
cpp
C++
Easy/645_findErrorNums/645_findErrorNums/main.cpp
yangbingjie/Leetcode
2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916
[ "MIT" ]
1
2020-10-08T06:15:37.000Z
2020-10-08T06:15:37.000Z
Easy/645_findErrorNums/645_findErrorNums/main.cpp
yangbingjie/Leetcode
2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916
[ "MIT" ]
null
null
null
Easy/645_findErrorNums/645_findErrorNums/main.cpp
yangbingjie/Leetcode
2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916
[ "MIT" ]
null
null
null
// // main.cpp // 645_findErrorNums // // Created by bella on 2020/8/11. // Copyright © 2020 bella. All rights reserved. // #include <iostream> #include <vector> using namespace std; class Solution { public: vector<int> findErrorNums(vector<int>& nums) { vector<int>result; int i = 0; wh...
23.244898
51
0.460931
[ "vector" ]
6a353613f5953f110f4a1349f24793469a591ffe
1,633
cpp
C++
android-29/android/telephony/CellInfoCdma.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-29/android/telephony/CellInfoCdma.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/telephony/CellInfoCdma.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../os/Parcel.hpp" #include "./CellIdentityCdma.hpp" #include "./CellSignalStrengthCdma.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./CellInfoCdma.hpp" namespace android::telephony { // Fields JObject CellInfoCdma::CREATOR() { return getStaticObjectField( "android.telephon...
20.4125
87
0.690753
[ "object" ]
6a3794d647cc94cfbc5ee9bb92742db15971bd42
2,718
cpp
C++
AdventOfCode/2020/j.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
AdventOfCode/2020/j.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
AdventOfCode/2020/j.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair # define M_PI 3.14159265358979323846 /* pi */ #define FIO ios_base::sync_with_stdio(...
24.267857
106
0.513245
[ "vector" ]
6a3c829b583c2f65d1d230889451fe3c5ef0073a
13,249
cpp
C++
Tracing/MDL2/new_mst_try.cpp
tostathaina/farsight
7e9d6d15688735f34f7ca272e4e715acd11473ff
[ "Apache-2.0" ]
8
2016-07-22T11:24:19.000Z
2021-04-10T04:22:31.000Z
Tracing/MDL2/new_mst_try.cpp
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
null
null
null
Tracing/MDL2/new_mst_try.cpp
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
7
2016-07-21T07:39:17.000Z
2020-01-29T02:03:27.000Z
#include <stdio.h> #include <time.h> #include <vector> #include <algorithm> #include <itkImageFileReader.h> #include <itkImageFileWriter.h> #include <itkImageRegionIterator.h> #include <itkImageRegionConstIterator.h> #include <itkImageSliceConstIteratorWithIndex.h> #include <itkImageLinearIteratorWithIndex.h> #includ...
30.598152
319
0.724809
[ "vector" ]
6a45f93d0c587bdf0b476e08c33e92020e0e5ecd
3,944
cc
C++
examples/EchoClient.cc
sroycode/zqrpc
aa2eee8b794f71998e0861f40f0a4e9895d2c527
[ "MIT" ]
6
2015-01-08T17:09:43.000Z
2022-01-28T01:45:57.000Z
examples/EchoClient.cc
sroycode/zqrpc
aa2eee8b794f71998e0861f40f0a4e9895d2c527
[ "MIT" ]
null
null
null
examples/EchoClient.cc
sroycode/zqrpc
aa2eee8b794f71998e0861f40f0a4e9895d2c527
[ "MIT" ]
3
2016-03-04T10:54:42.000Z
2022-01-28T01:45:59.000Z
/** * @project zqrpc * @file examples/EchoClient.cc * @author S Roychowdhury <sroycode @ gmail DOT com> * @version 0.1 * * @section LICENSE * * Copyright (c) 2014 S Roychowdhury * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation f...
31.806452
87
0.671146
[ "vector" ]
6a484f8153a9d4592e2dbee7bdc8539c080990f8
1,921
hpp
C++
include/ResourceManager.hpp
bitDaft/Project-TE
f0e0ec184d42b46799d48d69eb4eb9d369cbfcc3
[ "MIT" ]
1
2020-06-24T16:16:49.000Z
2020-06-24T16:16:49.000Z
include/ResourceManager.hpp
bitDaft/Project-TE
f0e0ec184d42b46799d48d69eb4eb9d369cbfcc3
[ "MIT" ]
null
null
null
include/ResourceManager.hpp
bitDaft/Project-TE
f0e0ec184d42b46799d48d69eb4eb9d369cbfcc3
[ "MIT" ]
null
null
null
/* * File: ResourceManager.hpp * Project: Project-TE * Created Date: Wednesday June 12th 2019 * Author: bitDaft * ----- * Last Modified: Thursday September 5th 2019 2:01:39 pm * Modified By: bitDaft at <ajaxhis@tutanota.com> * ----- * Copyright (c) 2019 bitDaft coorp. */ #ifndef RESOURCEMANAGER_HPP #define R...
30.983871
89
0.714732
[ "vector" ]
6a4b26004d7b15a70b315b6db1827c77e2ea1780
2,520
cpp
C++
aws-cpp-sdk-elasticmapreduce/source/model/InstanceFleetModifyConfig.cpp
capeanalytics/aws-sdk-cpp
e88f75add5a9433601b6d46fe738e493da56ac3b
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-elasticmapreduce/source/model/InstanceFleetModifyConfig.cpp
capeanalytics/aws-sdk-cpp
e88f75add5a9433601b6d46fe738e493da56ac3b
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-elasticmapreduce/source/model/InstanceFleetModifyConfig.cpp
capeanalytics/aws-sdk-cpp
e88f75add5a9433601b6d46fe738e493da56ac3b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
24.466019
92
0.765873
[ "model" ]
6a4cea39fbf698d5270edff12f93b92bd2216197
4,352
cc
C++
sandbox/linux/seccomp-bpf/bpf_tests_unittest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-08-13T21:04:58.000Z
2015-08-13T21:04:58.000Z
sandbox/linux/seccomp-bpf/bpf_tests_unittest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
sandbox/linux/seccomp-bpf/bpf_tests_unittest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T06:34:36.000Z
2020-11-04T06:34:36.000Z
// Copyright 2014 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 "sandbox/linux/seccomp-bpf/bpf_tests.h" #include <errno.h> #include <sys/ptrace.h> #include <sys/syscall.h> #include <sys/types.h> #include <uni...
28.631579
78
0.714384
[ "object" ]
6a4d0368727ba8e68257c312966fe7f21b6eb222
8,885
hpp
C++
include/internal/catch_commandline.hpp
pugby/Catch
b10825bc45a21090af56c687c70d0c42f489fba7
[ "BSL-1.0" ]
1
2020-01-04T01:46:06.000Z
2020-01-04T01:46:06.000Z
include/internal/catch_commandline.hpp
pugby/Catch
b10825bc45a21090af56c687c70d0c42f489fba7
[ "BSL-1.0" ]
null
null
null
include/internal/catch_commandline.hpp
pugby/Catch
b10825bc45a21090af56c687c70d0c42f489fba7
[ "BSL-1.0" ]
null
null
null
/* * catch_commandline.hpp * Catch * * Created by Phil on 02/11/2010. * Copyright 2010 Two Blue Cubes Ltd. All rights reserved. * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ #ifndef TWOBLUECU...
39.140969
160
0.407991
[ "vector" ]
c69fdf695919f4f5a086953a829e882443127c57
7,242
cpp
C++
Code/BasicFilters/btkGroundReactionWrenchFilter.cpp
opensim-org/BTKCore
6d787d0be223851a8f454f2ee8c7d9e47b84cbbe
[ "Barr", "Unlicense" ]
1
2017-12-27T20:19:17.000Z
2017-12-27T20:19:17.000Z
Code/BasicFilters/btkGroundReactionWrenchFilter.cpp
opensim-org/BTKCore
6d787d0be223851a8f454f2ee8c7d9e47b84cbbe
[ "Barr", "Unlicense" ]
2
2018-02-22T22:49:11.000Z
2018-05-07T20:50:06.000Z
Code/BasicFilters/btkGroundReactionWrenchFilter.cpp
opensim-org/BTKCore
6d787d0be223851a8f454f2ee8c7d9e47b84cbbe
[ "Barr", "Unlicense" ]
4
2019-04-05T07:40:42.000Z
2020-01-24T23:59:58.000Z
/* * The Biomechanical ToolKit * Copyright (c) 2009-2014, Arnaud Barré * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above ...
38.727273
253
0.704916
[ "object", "transform" ]
c6a3e075ffcd12e6872c77aa2f9c470e5d6b6737
2,117
hh
C++
TFM/click-2.0.1/elements/grid/lookuplocalgridroute2.hh
wangyang2013/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
3
2018-04-14T14:43:31.000Z
2019-12-06T13:09:58.000Z
TFM/click-2.0.1/elements/grid/lookuplocalgridroute2.hh
nfvproject/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
null
null
null
TFM/click-2.0.1/elements/grid/lookuplocalgridroute2.hh
nfvproject/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
null
null
null
#ifndef LOCALROUTE2_HH #define LOCALROUTE2_HH /* * =c * LookupLocalGridRoute2(ETH, IP, GenericGridRouteTable, I<KEYWORDS>) * * =s Grid * * =d * * Forward packets according to the tables accumulated by the * GenericGridRouteTable element. * * ETH and IP are this node's ethernet and IP addresses, respectively...
24.616279
72
0.741615
[ "object", "vector" ]
c6a501daf1025a475ff38f56e8d6db64c617df8b
2,738
cpp
C++
leetcode/weekly/170.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
leetcode/weekly/170.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
leetcode/weekly/170.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/**************************************************** Date: Jan 5, 2020 Successful submissions : 1 Time expiration : 1 Not Solved : 1 Wrong Answer/ Partial result : 1 link: https://leetcode.com/contest/biweekly-contest-170 ****************************************************/ #include <iostream> #include <vector> #in...
19.146853
129
0.440467
[ "vector" ]
c6b214bf1bb8edb97fd2e8b9116c400a002bb561
18,766
cpp
C++
Ligne_transitique_MONTRAC/V-Rep/programming/mtbServer/robotLanguageInterpreter.cpp
keke02/Fast-reconfiguration-of-robotic-production-systems
44ffe14b8a4a4798b559eede9b3766acb55f294e
[ "CC0-1.0" ]
null
null
null
Ligne_transitique_MONTRAC/V-Rep/programming/mtbServer/robotLanguageInterpreter.cpp
keke02/Fast-reconfiguration-of-robotic-production-systems
44ffe14b8a4a4798b559eede9b3766acb55f294e
[ "CC0-1.0" ]
null
null
null
Ligne_transitique_MONTRAC/V-Rep/programming/mtbServer/robotLanguageInterpreter.cpp
keke02/Fast-reconfiguration-of-robotic-production-systems
44ffe14b8a4a4798b559eede9b3766acb55f294e
[ "CC0-1.0" ]
null
null
null
// Copyright 2006-2015 Coppelia Robotics GmbH. All rights reserved. // marc@coppeliarobotics.com // www.coppeliarobotics.com // // ------------------------------------------------------------------- // THIS FILE IS DISTRIBUTED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED // WARRANTY. THE USER WILL USE IT AT HIS/HER ...
30.31664
155
0.615688
[ "vector" ]
c6b8d9388ccd0a4cf1067890f645646ab232318c
3,325
hpp
C++
include/armadillo_bits/op_roots_meat.hpp
getfiit/armadillo-code
3a896deca12a0f596b52d84185ebfad65df650b7
[ "Apache-2.0" ]
3
2020-03-23T04:31:14.000Z
2021-01-17T09:03:09.000Z
include/armadillo_bits/op_roots_meat.hpp
getfiit/armadillo-code
3a896deca12a0f596b52d84185ebfad65df650b7
[ "Apache-2.0" ]
null
null
null
include/armadillo_bits/op_roots_meat.hpp
getfiit/armadillo-code
3a896deca12a0f596b52d84185ebfad65df650b7
[ "Apache-2.0" ]
3
2018-03-28T20:53:27.000Z
2020-04-27T07:03:02.000Z
// SPDX-License-Identifier: Apache-2.0 // // Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
23.58156
133
0.614436
[ "object", "vector" ]
c6ba72a8efbd3212b81ca7bc9e0eb524a6e1e6b1
10,689
cpp
C++
src/main.cpp
kt10aan/gazetool
87232dcb8baa38e4498ce03ded9fd4f88692741f
[ "MIT" ]
18
2016-03-09T00:19:16.000Z
2021-01-15T23:38:58.000Z
src/main.cpp
kt10aan/gazetool
87232dcb8baa38e4498ce03ded9fd4f88692741f
[ "MIT" ]
8
2015-09-29T10:13:01.000Z
2018-01-15T14:04:33.000Z
src/main.cpp
kt10aan/gazetool
87232dcb8baa38e4498ce03ded9fd4f88692741f
[ "MIT" ]
13
2015-09-29T09:48:54.000Z
2021-01-19T10:24:31.000Z
#include <iostream> #include <stdexcept> #include <boost/program_options.hpp> #include <boost/algorithm/string.hpp> #include <QApplication> #include <QThread> #include "workerthread.h" #include "gazergui.h" using namespace std; namespace po = boost::program_options; class OptionParser : public QThread { public: ...
49.486111
132
0.582936
[ "vector", "model", "transform" ]
c6baa19a4b78306d644057c25430caff0a9c03bd
895
cpp
C++
RUEngine/Demos/main.cpp
rutgerklamer/Rugine
39b7c60cfc54629ac76da33bc0e61ca9b82f7483
[ "Unlicense" ]
4
2017-11-10T07:57:36.000Z
2021-04-04T15:34:23.000Z
RUEngine/Demos/main.cpp
rutgerklamer/Rugine
39b7c60cfc54629ac76da33bc0e61ca9b82f7483
[ "Unlicense" ]
null
null
null
RUEngine/Demos/main.cpp
rutgerklamer/Rugine
39b7c60cfc54629ac76da33bc0e61ca9b82f7483
[ "Unlicense" ]
null
null
null
#include <iostream> #include <GL/glew.h> #include "glfw3.h" #include <vector> #include "Engine/Display.h" #include "Demos/Scene.h" #include "Demos/Scene0.h" #include "Demos/Scene1.h" #include "Demos/Scene2.h" #include "Demos/Scene3.h" Display* display; Scene* scene; Scene0* scene0; Scene1* scene1; Scene2* scene2; Sce...
20.813953
44
0.696089
[ "vector" ]
c6bb09184904694fc6fed509714d7e2dcbbe1813
2,701
hpp
C++
Trab2/include/util.hpp
nogenem/Compiladores-2016-1
32ae2840c562a32a4b11902818eec8b0c0e4df54
[ "MIT" ]
1
2018-03-23T00:05:48.000Z
2018-03-23T00:05:48.000Z
Trab2/include/util.hpp
nogenem/UFSC_Compiladores-2016-1
32ae2840c562a32a4b11902818eec8b0c0e4df54
[ "MIT" ]
1
2016-05-08T14:53:27.000Z
2016-05-08T15:35:14.000Z
Trab2/include/util.hpp
nogenem/UFSC_Compiladores-2016-1
32ae2840c562a32a4b11902818eec8b0c0e4df54
[ "MIT" ]
null
null
null
/* * util.hpp * * Created on: 10 de jun de 2016 * Author: Gilne */ #pragma once #include <vector> namespace Ops { enum Operation {plus, b_minus, times, division, assign, eq, neq, grt, grteq, lst, lsteq, b_and, b_or, u_not, u_minus, u_paren}; const std::vector<bool> masculineOp = { false, //som...
31.045977
113
0.676416
[ "vector" ]
c6be630ab04f97ed87f2d0d21f9fa573af20c269
418
cpp
C++
practice/maxSumWithoutAdjEle.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
practice/maxSumWithoutAdjEle.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
null
null
null
practice/maxSumWithoutAdjEle.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
//INterview Bit int Solution::adjacent(vector<vector<int> > &A) { int n=A[0].size();//size of arr for(int i=0;i<n;i++) //store max for each coloum A[0][i]=max(A[0][i],A[1][i]); A[0][1]=max(A[0][0],A[0][1]); //for 2nd element choose max among first end second for(int i=2;i<n;...
26.125
85
0.497608
[ "vector" ]
c6c6ce0da845c0ff5f22e6987dd1ba45c0885f33
13,137
cc
C++
src/AST/ASTVerificationVisitor.cc
dburkart/check-sieve
667f0e9670e8820e37a8162ec09e794e6e4f1cb4
[ "MIT" ]
20
2015-09-06T04:16:04.000Z
2022-03-24T16:34:56.000Z
src/AST/ASTVerificationVisitor.cc
dburkart/check-sieve
667f0e9670e8820e37a8162ec09e794e6e4f1cb4
[ "MIT" ]
23
2015-09-06T00:48:52.000Z
2021-05-23T04:14:49.000Z
src/AST/ASTVerificationVisitor.cc
dburkart/check-sieve
667f0e9670e8820e37a8162ec09e794e6e4f1cb4
[ "MIT" ]
3
2015-09-08T05:24:08.000Z
2019-04-01T00:15:29.000Z
#include <algorithm> #include <iostream> #include <vector> #include "ASTVerificationVisitor.hh" namespace sieve { ASTVerificationVisitor::ASTVerificationVisitor(struct parse_options options) : _verification_result() , _command() , _test() , _tag() , _options( options ) , _required_capabilitie...
27.656842
203
0.566339
[ "vector", "transform" ]
c6ccc2adc659fda60115f26f6a2e797a19fe3471
22,433
cc
C++
paddle/fluid/framework/executor_thread_worker.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
11
2016-08-29T07:43:26.000Z
2016-08-29T07:51:24.000Z
paddle/fluid/framework/executor_thread_worker.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/executor_thread_worker.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
1
2021-09-24T11:23:36.000Z
2021-09-24T11:23:36.000Z
/* Copyright (c) 2016 PaddlePaddle 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 applicable law or...
31.729844
79
0.649534
[ "vector" ]
c6d06ad1d95ad91494e99b4db1d13713f6c99d3f
3,467
cpp
C++
framework/egl/egluConfigFilter.cpp
AdvantechRISC/apq8016_external_deqp
cb5a98dbe818223be8786a1792954da8aeb72225
[ "Apache-2.0" ]
2
2016-07-19T13:05:30.000Z
2016-07-19T13:05:32.000Z
framework/egl/egluConfigFilter.cpp
AdvantechRISC/apq8016_external_deqp
cb5a98dbe818223be8786a1792954da8aeb72225
[ "Apache-2.0" ]
null
null
null
framework/egl/egluConfigFilter.cpp
AdvantechRISC/apq8016_external_deqp
cb5a98dbe818223be8786a1792954da8aeb72225
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------- * drawElements Quality Program Tester Core * ---------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
31.234234
115
0.696568
[ "object", "vector" ]
c6d16c9de35afb60b900f30a30952e8d37e8e817
7,124
cpp
C++
src/pairwise/0_GEN/Cmdline.cpp
JaneliaSciComp/TileAlignment
64f6732445f0c965122c143c8ca285428a371dc8
[ "Unlicense" ]
2
2018-07-02T17:20:40.000Z
2019-04-10T15:03:26.000Z
src/pairwise/0_GEN/Cmdline.cpp
JaneliaSciComp/TileAlignment
64f6732445f0c965122c143c8ca285428a371dc8
[ "Unlicense" ]
null
null
null
src/pairwise/0_GEN/Cmdline.cpp
JaneliaSciComp/TileAlignment
64f6732445f0c965122c143c8ca285428a371dc8
[ "Unlicense" ]
null
null
null
#include "Cmdline.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <curl/curl.h> #include <sstream> #include <iostream> /* --------------------------------------------------------------- */ /* IsArg --------------------------------------------------------- */ /* -------...
25.905455
83
0.459714
[ "vector" ]
c6d33fe6ce5b01bca5372bba3c7c683094165a0e
3,691
cpp
C++
Samples/SkinnedMesh/main.cpp
maz-1/Ogre_glTF
71dd9e67ecdd6704634e08ba14d35f5335c4d8b4
[ "MIT" ]
null
null
null
Samples/SkinnedMesh/main.cpp
maz-1/Ogre_glTF
71dd9e67ecdd6704634e08ba14d35f5335c4d8b4
[ "MIT" ]
null
null
null
Samples/SkinnedMesh/main.cpp
maz-1/Ogre_glTF
71dd9e67ecdd6704634e08ba14d35f5335c4d8b4
[ "MIT" ]
null
null
null
#include "SamplesCommon.h" Ogre::CompositorWorkspace* SetupCompositor(Ogre::Root* root, Ogre::Window* const window, Ogre::SceneManager* smgr, Ogre::Camera* camera) { //Setup rendering pipeline auto compositor = root->getCompositorManager2(); const char workspaceName[] = "workspace0"; compositor->createBasicWo...
27.962121
136
0.712273
[ "render" ]
c6d532aac5f41cf14a00c4423fe0fb6be6c9bfe6
4,016
cc
C++
src/kk-block.cc
hailongz/kk-surface
d87cd8f26682f7c96dc4becc6e6f705d60e8941a
[ "MIT" ]
null
null
null
src/kk-block.cc
hailongz/kk-surface
d87cd8f26682f7c96dc4becc6e6f705d60e8941a
[ "MIT" ]
null
null
null
src/kk-block.cc
hailongz/kk-surface
d87cd8f26682f7c96dc4becc6e6f705d60e8941a
[ "MIT" ]
null
null
null
// // kk-block.cpp // app // // Created by hailong11 on 2018/7/30. // Copyright © 2018年 kkmofang.cn. All rights reserved. // #include "kk-config.h" #include "kk-block.h" namespace kk { Block::Block(BlockType type,kk::Object * object):_type(type),_object(object),_data(nullptr),_size(0),_dealloc(nullptr) {...
26.077922
133
0.486056
[ "object" ]
c6e0e0fc3267d3c39898ff0c217ac4677f5b8c83
10,608
cpp
C++
Sources/MouCaLab/source/MouCaLab.cpp
Rominitch/MouCaLab
d8c24de479b1bc11509df8456e0071d394fbeab9
[ "Unlicense" ]
null
null
null
Sources/MouCaLab/source/MouCaLab.cpp
Rominitch/MouCaLab
d8c24de479b1bc11509df8456e0071d394fbeab9
[ "Unlicense" ]
null
null
null
Sources/MouCaLab/source/MouCaLab.cpp
Rominitch/MouCaLab
d8c24de479b1bc11509df8456e0071d394fbeab9
[ "Unlicense" ]
null
null
null
/// https://github.com/Rominitch/MouCaLab /// \author Rominitch /// \license No license #include "Dependencies.h" #include "include/MouCaLab.h" #include <LibGLFW/include/GLFWWindow.h> #include <LibVulkan/include/VKCommandBuffer.h> #include <LibVulkan/include/VKContextWindow.h> #include <LibRT/include/RTImage.h> #i...
38.857143
183
0.686652
[ "mesh" ]
c6e4f49311c268421ed44c09de010bc83880d684
1,159
cpp
C++
src/PlantArchitect/Curve.cpp
edisonlee0212/PlantArchitect
f01e48fb67291947407a45494178db982b9be0e3
[ "BSD-3-Clause" ]
1
2021-08-25T06:25:00.000Z
2021-08-25T06:25:00.000Z
src/PlantArchitect/Curve.cpp
edisonlee0212/PlantArchitect-dev
f01e48fb67291947407a45494178db982b9be0e3
[ "BSD-3-Clause" ]
null
null
null
src/PlantArchitect/Curve.cpp
edisonlee0212/PlantArchitect-dev
f01e48fb67291947407a45494178db982b9be0e3
[ "BSD-3-Clause" ]
1
2022-02-07T02:54:05.000Z
2022-02-07T02:54:05.000Z
#include <Curve.hpp> using namespace PlantArchitect; void PlantArchitect::Curve::GetUniformCurve(size_t pointAmount, std::vector<glm::vec3> &points) const { float step = 1.0f / (pointAmount - 1); for (size_t i = 0; i <= pointAmount; i++) { points.push_back(GetPoint(step * i)); } } BezierCurve::B...
28.268293
105
0.547023
[ "vector" ]
c6e5e50c76f5576ece3d9cb78595dcab3b7b55ff
5,787
hxx
C++
src/include/sk/win32/error.hxx
sikol/sk-async
fc8fb2dbfa119b8b8d68c203459b8ca676576076
[ "BSL-1.0" ]
3
2021-04-08T12:47:39.000Z
2021-09-25T11:43:41.000Z
src/include/sk/win32/error.hxx
sikol/sk-cio
fc8fb2dbfa119b8b8d68c203459b8ca676576076
[ "BSL-1.0" ]
null
null
null
src/include/sk/win32/error.hxx
sikol/sk-cio
fc8fb2dbfa119b8b8d68c203459b8ca676576076
[ "BSL-1.0" ]
null
null
null
/* * Copyright (c) 2019, 2020, 2021 SiKol Ltd. * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organization * obtaining a copy of the software and accompanying documentation covered by * this license (the "Software") to use, reproduc...
32.15
78
0.607223
[ "object" ]
c6eac994730c1f9a1ae2a1f7b56d6c86aff019bd
128
cpp
C++
Ge/Model/Implementation/ModelLoader.cpp
DexterDreeeam/DxtSdk2021
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
1
2021-11-18T03:57:54.000Z
2021-11-18T03:57:54.000Z
Ge/Model/Implementation/ModelLoader.cpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
Ge/Model/Implementation/ModelLoader.cpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
#include "../Interface.hpp" namespace ge { ref<model> model_loader::load(const string& path) { return ref<model>(); } }
9.846154
49
0.648438
[ "model" ]
c6ef714da82cea291d8b1d2f2367f7cbcd1df69b
34,315
cpp
C++
src/client_one.cpp
gautam1858/Parallel-Sharing-C-
2eec18c2cbc40019e6d4cdd15c3928650d1302a4
[ "MIT" ]
11
2020-07-05T05:52:50.000Z
2021-09-07T17:26:53.000Z
src/client_one.cpp
gautam1858/Parallel-Sharing-C-
2eec18c2cbc40019e6d4cdd15c3928650d1302a4
[ "MIT" ]
1
2020-07-06T04:14:18.000Z
2020-07-06T04:14:18.000Z
src/client_one.cpp
gautam1858/Parallel-Sharing-C-
2eec18c2cbc40019e6d4cdd15c3928650d1302a4
[ "MIT" ]
2
2020-07-05T18:41:56.000Z
2020-07-05T19:13:02.000Z
/* client_one.cpp file client Functions */ #include <cstdlib> #include <iostream> #include <cstdio> #include <unistd.h> #include <errno.h> #include <cstring> #include <climits> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <sys/stat.h> #include <arpa/in...
30.858813
166
0.615766
[ "vector" ]
c6f4ee589166e1fdeed412cca4d780c158d28770
2,163
hpp
C++
src/ackward/datetime/TZInfo.hpp
abingham/ackward
f1a45293de570f4b4429d9eaeb3f6c4da7d245bf
[ "MIT" ]
null
null
null
src/ackward/datetime/TZInfo.hpp
abingham/ackward
f1a45293de570f4b4429d9eaeb3f6c4da7d245bf
[ "MIT" ]
null
null
null
src/ackward/datetime/TZInfo.hpp
abingham/ackward
f1a45293de570f4b4429d9eaeb3f6c4da7d245bf
[ "MIT" ]
null
null
null
#ifndef INCLUDE_ACKWARD_DATETIME_TZINFO_HPP #define INCLUDE_ACKWARD_DATETIME_TZINFO_HPP #include <Python.h> #include <boost/shared_ptr.hpp> #include <boost/python/extract.hpp> #include <boost/python/make_function.hpp> #include <ackward/core/Object.hpp> #include <ackward/core/Util.hpp> #include <ackward/datetime/Dat...
22.298969
72
0.59362
[ "object" ]
0501f3050f009cba5bd0340c7113712c97a6853f
8,308
cpp
C++
src/energyplus/ReverseTranslator/ReverseTranslateShadowCalculation.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/ReverseTranslator/ReverseTranslateShadowCalculation.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/ReverseTranslator/ReverseTranslateShadowCalculation.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
45.648352
149
0.708955
[ "vector", "model" ]
050484915f7734c91abf910f068c17b22ae25e84
2,294
cpp
C++
CSE331/2020_Fall/HW2/hw2.cpp
abdcelik/GTU
bba79ea7e48fa38753f08391bdc4ddc10931ccf6
[ "MIT" ]
2
2020-01-04T15:17:48.000Z
2020-10-21T12:50:22.000Z
CSE331/2020_Fall/HW2/hw2.cpp
abdcelik/GTU
bba79ea7e48fa38753f08391bdc4ddc10931ccf6
[ "MIT" ]
null
null
null
CSE331/2020_Fall/HW2/hw2.cpp
abdcelik/GTU
bba79ea7e48fa38753f08391bdc4ddc10931ccf6
[ "MIT" ]
3
2021-05-03T10:12:52.000Z
2021-12-06T13:43:37.000Z
#include <iostream> using namespace std; typedef struct { int *arr; int size; int capacity; }Vector; Vector in; Vector out; int CheckSumPossibility(int num, int arr[], int size); int getNonNegIntWithText(const char*,const char*); void printArray(int*,int); void initializeVector(Vector*,int); void...
19.116667
130
0.612031
[ "vector" ]
050a7e775bc6e15608b1d72c8c5d94ff6ec0dccf
7,096
cpp
C++
twoThree.cpp
wordnall/415project3
b611f1ddd4de8814ce605c28fb779511514fa392
[ "MIT" ]
null
null
null
twoThree.cpp
wordnall/415project3
b611f1ddd4de8814ce605c28fb779511514fa392
[ "MIT" ]
null
null
null
twoThree.cpp
wordnall/415project3
b611f1ddd4de8814ce605c28fb779511514fa392
[ "MIT" ]
null
null
null
#include "twoThree.h" #include "time.h" #include <iomanip> #include <sstream> TTT::TTT() { root = NULL; } bool TTT::isEmpty() { return root == NULL; } void TTT::contains() const { string input; node* foundNode = NULL; cout << "Search word: "; cin >> input; vector<int> lines; if (findhel...
29.201646
114
0.58991
[ "vector" ]
050c6e0b64b5cdd742f1e8587dcb77adaed0ff37
9,233
cc
C++
src/meshexp/main.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
null
null
null
src/meshexp/main.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
null
null
null
src/meshexp/main.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
3
2017-07-17T22:24:17.000Z
2019-10-15T18:37:15.000Z
#include <iostream> #include <boost/program_options.hpp> #include <boost/algorithm/string.hpp> #include <framework/bitmap.h> #include <framework/settings.h> #include <framework/framework.h> #include <framework/logging.h> #include <framework/exception.h> #include <framework/model.h> #include <framework/model_node.h> #...
37.685714
136
0.62764
[ "mesh", "vector", "model", "transform" ]
052015dbb80b78cf3a82f176bd7ec811e900b6ec
5,150
cpp
C++
CO2_Tracker/receipt_info.cpp
cgneo/CarbonTracker
40603fbde05a65db900756d7077c65b46a3a4a8e
[ "Apache-2.0" ]
null
null
null
CO2_Tracker/receipt_info.cpp
cgneo/CarbonTracker
40603fbde05a65db900756d7077c65b46a3a4a8e
[ "Apache-2.0" ]
null
null
null
CO2_Tracker/receipt_info.cpp
cgneo/CarbonTracker
40603fbde05a65db900756d7077c65b46a3a4a8e
[ "Apache-2.0" ]
null
null
null
#include <QGraphicsWidget> #include <QApplication> #include "food_api.h" #include <string> #include <iostream> #include <fstream> #include <vector> #include <tesseract/baseapi.h> #include <leptonica/allheaders.h> bool check_digit(char c) { vector<char> digit_vec = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}...
31.987578
143
0.620971
[ "object", "vector" ]
05239184ee1f7145542ff982030c1f8d8972eb28
4,759
cpp
C++
private/shell/ext/settings/folder.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/settings/folder.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/settings/folder.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
// // This module was originally designed to provide category and topic extensibility // through the registry and COM objects. You could add new categories by adding // the CLSID of a COM object to the registry. The standard 3 categories were // in fact implemented as the "standard" extension. // This code wou...
21.436937
83
0.580794
[ "object" ]
05248776a20f974c90591ee2299cd82e6a2f9586
1,711
cpp
C++
trainingregional2018/contest1/P4.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
trainingregional2018/contest1/P4.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
trainingregional2018/contest1/P4.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define REP(i, n) for(int i = 0; i < n; i++) #define REPR(i, a, b) for (int i = a; i < b; i++) #define clr(t, val) memset(t, val, sizeof(t)) #define all(v) v.begin(), v.end() #define SZ(v) ((int)(v).size()) #define TEST(x) cerr << "test " << #x << " " << x << endl; using namespace std; clock...
26.734375
77
0.385739
[ "vector" ]
0528ad377b606d88daaa9f650f43efe91c03a89c
8,664
cc
C++
protocol/Greenstack/libgreenstack/Message.cc
daverigby/memcached
197cca992d5f1f8d7382a936969c8db999478c19
[ "BSD-3-Clause" ]
null
null
null
protocol/Greenstack/libgreenstack/Message.cc
daverigby/memcached
197cca992d5f1f8d7382a936969c8db999478c19
[ "BSD-3-Clause" ]
null
null
null
protocol/Greenstack/libgreenstack/Message.cc
daverigby/memcached
197cca992d5f1f8d7382a936969c8db999478c19
[ "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 Couchbase, 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 * * ...
27.504762
92
0.591413
[ "vector" ]
0529cb8a137a14b4baf1f36d5a2d7ddc67de8206
1,589
cpp
C++
TAO/DevGuideExamples/SmartProxies/Smart_Messenger_Proxy.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/DevGuideExamples/SmartProxies/Smart_Messenger_Proxy.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/DevGuideExamples/SmartProxies/Smart_Messenger_Proxy.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: Smart_Messenger_Proxy.cpp 91816 2010-09-17 08:35:56Z johnnyw $ // Smart_Messenger_Proxy.cpp #include "Smart_Messenger_Proxy.h" #include <iostream> Smart_Messenger_Proxy_Factory::Smart_Messenger_Proxy_Factory( CORBA::ORB_ptr orb) { std::cout << "Creating smart proxy factory" << std::endl; // Convert the...
26.483333
78
0.714915
[ "object" ]