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
01d27102bfa6e032fdf184a2f54d22e580f06ec2
5,824
cc
C++
trabalhos/atividadePratica2/talvez_correto/lib/Task.cc
paladini/UFSC-so1-2015-01
891696fd555fa0f31270d87b31ffe00f724da748
[ "MIT" ]
null
null
null
trabalhos/atividadePratica2/talvez_correto/lib/Task.cc
paladini/UFSC-so1-2015-01
891696fd555fa0f31270d87b31ffe00f724da748
[ "MIT" ]
null
null
null
trabalhos/atividadePratica2/talvez_correto/lib/Task.cc
paladini/UFSC-so1-2015-01
891696fd555fa0f31270d87b31ffe00f724da748
[ "MIT" ]
null
null
null
/* * Task.cc * * Created on: Feb 27, 2014 * Author: arliones */ #include "Task.h" #include "Scheduler.h" #include "BOOOS.h" #include <stdio.h> #include <ucontext.h> #include <stdlib.h> #include <iostream> #include <time.h> #define STACKSIZE 32768 /* tamanho de pilha das threads */ using namespace std; nam...
28
199
0.5091
[ "vector" ]
01d461371f68340ea8d1be08571a473274153a84
4,966
cc
C++
chrome/browser/bookmark_bar_context_menu_controller_test.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
1
2016-05-08T15:35:17.000Z
2016-05-08T15:35:17.000Z
chrome/browser/bookmark_bar_context_menu_controller_test.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/bookmark_bar_context_menu_controller_test.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/bookmark_bar_context_menu_controller.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/pr...
34.971831
80
0.747684
[ "vector", "model" ]
01d7eeb05f5e435729336562e075bb2cb1eaf69c
4,174
cpp
C++
C++/CensusBureau/CensusBureau/CensusBureau.cpp
MuscleNrd/Student-Self-Completed
87c20c4cbd561554eb112047660b698d58711cdc
[ "MIT" ]
null
null
null
C++/CensusBureau/CensusBureau/CensusBureau.cpp
MuscleNrd/Student-Self-Completed
87c20c4cbd561554eb112047660b698d58711cdc
[ "MIT" ]
null
null
null
C++/CensusBureau/CensusBureau/CensusBureau.cpp
MuscleNrd/Student-Self-Completed
87c20c4cbd561554eb112047660b698d58711cdc
[ "MIT" ]
null
null
null
// CensusBureau.cpp : Defines the entry point for the console application. // #include "stdafx.h" using namespace std; const int INFANT = 18; const int YOUNG = 29; const int MIDDLEAGED = 50; const int OLD = 69; const int REALLYOLD = 70; map<int, int> organizeValues(int ages[], int size); map<string, int> organizeSta...
21.626943
160
0.600383
[ "vector" ]
01d8f00b20a2a647b0f288e07e66be86b3255ea2
2,288
hpp
C++
libs/OGLPlus/include/oglplus/config/object.hpp
Clairezsh/PCISPH
9f0974c9c0bd73f52509445f976e4c4634dfd740
[ "WTFPL" ]
24
2015-01-31T15:30:49.000Z
2022-01-29T08:36:42.000Z
libs/OGLPlus/include/oglplus/config/object.hpp
Clairezsh/PCISPH
9f0974c9c0bd73f52509445f976e4c4634dfd740
[ "WTFPL" ]
4
2015-08-21T02:29:15.000Z
2020-05-02T13:50:36.000Z
libs/OGLPlus/include/oglplus/config/object.hpp
Clairezsh/PCISPH
9f0974c9c0bd73f52509445f976e4c4634dfd740
[ "WTFPL" ]
9
2015-06-08T22:04:15.000Z
2021-08-16T03:52:11.000Z
/** * @file oglplus/config/object.hpp * @brief Object-related compile-time configuration options * * @author Matus Chochlik * * Copyright 2010-2014 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_...
33.647059
78
0.772727
[ "object" ]
01dae0f9426b4395b257fd12ac5eb659d8f8f6bf
1,152
cpp
C++
lintcode2/reversepairs.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
lintcode2/reversepairs.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
lintcode2/reversepairs.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class Solution { public: /** * @param A an array * @return total of reverse pairs */ long long res=0; long long reversePairs(vector<int>& A) { // Write your code here int n=A.size(); vector<int> t(n,0); helper(A,0,n,t); return ...
25.043478
77
0.342014
[ "vector" ]
01e057d6519ba00ea42acbca22e9c2a0fb3c09ee
14,932
cpp
C++
project/ms3d/src/ms3dWriter.cpp
floitsch/gpexport
8b348f3dfe9f155e092fd9f456b6e9d0f138ec52
[ "MIT" ]
2
2017-05-26T07:15:46.000Z
2021-03-11T08:10:12.000Z
project/ms3d/src/ms3dWriter.cpp
floitsch/gpexport
8b348f3dfe9f155e092fd9f456b6e9d0f138ec52
[ "MIT" ]
null
null
null
project/ms3d/src/ms3dWriter.cpp
floitsch/gpexport
8b348f3dfe9f155e092fd9f456b6e9d0f138ec52
[ "MIT" ]
1
2016-03-31T04:52:24.000Z
2016-03-31T04:52:24.000Z
/* * Exports to MS3D-format. * * I never needed the ms3d-format, and this file is only * here as an example. I tested the exported file using * the IrrLicht-engine: http://irrlicht.sourceforge.net * and it worked fine. * My examples were pretty small though, and I'm not * guaranteeing anything. * * The MS3D-f...
31.770213
115
0.682025
[ "mesh", "vector", "transform" ]
01e2a7f4710ff8e4cb997dcefbeaadd5a4f3eb68
6,635
cpp
C++
source/modules/problem/optimization/optimization.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
43
2018-07-26T07:20:42.000Z
2022-03-02T10:23:12.000Z
source/modules/problem/optimization/optimization.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
212
2018-09-21T10:44:07.000Z
2022-03-22T14:33:05.000Z
source/modules/problem/optimization/optimization.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
16
2018-07-25T15:00:36.000Z
2022-03-22T14:19:46.000Z
#include "modules/problem/optimization/optimization.hpp" #include "sample/sample.hpp" namespace korali { namespace problem { ; void Optimization::initialize() { if (_k->_variables.size() == 0) KORALI_LOG_ERROR("Optimization Evaluation problems require at least one variable.\n"); } void Optimization::evaluateConstr...
33.680203
186
0.694951
[ "object", "vector" ]
01e658aa0254d7e550d5eb96e259ea74a6c445b7
811
hpp
C++
3SST/Libraries/graph.hpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
1
2021-07-31T06:55:08.000Z
2021-07-31T06:55:08.000Z
3SST/Libraries/graph.hpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
null
null
null
3SST/Libraries/graph.hpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
null
null
null
#ifndef GRAPH_LIB #define GRAPH_LIB #include <vector> #include "list.hpp" #include "tree.hpp" using matrix_t = std::vector<std::vector<int>>; class Graph { private: uint size = 0; List1D<List1D<int>> adjacencyList = nullptr; public: enum Method { BY_DEPTH, BY_WIDTH }; Graph(); Graph(const ...
20.794872
72
0.679408
[ "vector" ]
5438476c69c1ac107b2723ba3b1573f1095026fd
3,187
cpp
C++
src/protocolreader_sougou.cpp
hejianglin/QNetworkTranslator
82a36ca0528f1a9082005374f72e64a799c349d7
[ "MIT" ]
null
null
null
src/protocolreader_sougou.cpp
hejianglin/QNetworkTranslator
82a36ca0528f1a9082005374f72e64a799c349d7
[ "MIT" ]
null
null
null
src/protocolreader_sougou.cpp
hejianglin/QNetworkTranslator
82a36ca0528f1a9082005374f72e64a799c349d7
[ "MIT" ]
null
null
null
//Qt #include <QtCore/QMap> #include <QtCore/QObject> #include <QtCore/QJsonDocument> #include <QtCore/QJsonObject> #include <QtCore/QJsonArray> //QNetworkTranslator #include "protocolreader_sougou.h" NETWORKTRANSLATOR_NAMESPACE_BEGIN class ProtocolReaderPrivate_Sougou : public QSharedData { public: ProtocolRead...
23.962406
71
0.682146
[ "object" ]
5445459040adcc59b5229490bb4e571a4a7b728f
2,395
cc
C++
third_party_builtin/slivr/slivr/Ray.cc
ahota/visit_ospray
d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9
[ "BSD-3-Clause" ]
null
null
null
third_party_builtin/slivr/slivr/Ray.cc
ahota/visit_ospray
d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9
[ "BSD-3-Clause" ]
null
null
null
third_party_builtin/slivr/slivr/Ray.cc
ahota/visit_ospray
d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9
[ "BSD-3-Clause" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
21.772727
78
0.664718
[ "vector" ]
54454f518c813883e9ccb82ea9c51090fee2b439
4,200
hpp
C++
state.hpp
5cript/automata
28750528c528dcb297906e73e52a5b21d2f53d9e
[ "MIT" ]
null
null
null
state.hpp
5cript/automata
28750528c528dcb297906e73e52a5b21d2f53d9e
[ "MIT" ]
null
null
null
state.hpp
5cript/automata
28750528c528dcb297906e73e52a5b21d2f53d9e
[ "MIT" ]
null
null
null
#pragma once #include "automata_fwd.hpp" #include "trigger.hpp" #include <functional> #include <string> #include <vector> #include <boost/optional.hpp> namespace MiniAutomata { //##################################################################################################################### /...
28.767123
120
0.440476
[ "vector" ]
5446f9a7c62f58b735d1499edb7599d8eb233ca2
20,817
cpp
C++
Sankore-3.1/src/gui/UBKeyboardPalette.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/gui/UBKeyboardPalette.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/gui/UBKeyboardPalette.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA) * * This file is part of Open-Sankoré. * * Open-Sankoré 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 Found...
26.895349
258
0.620695
[ "geometry" ]
544ab5a185603336cb3fb678833d12c335eb5fc1
17,610
cpp
C++
npplugin_demo_frmwk/npfdemo/npfrmwk_entry.cpp
bluedump/BHO
4ffead78823c4d655f05b0bc84cdb3c71ff4a1b2
[ "Apache-2.0" ]
1
2020-11-10T04:01:03.000Z
2020-11-10T04:01:03.000Z
npplugin_demo_frmwk/npfdemo/npfrmwk_entry.cpp
bluedump/BHO
4ffead78823c4d655f05b0bc84cdb3c71ff4a1b2
[ "Apache-2.0" ]
null
null
null
npplugin_demo_frmwk/npfdemo/npfrmwk_entry.cpp
bluedump/BHO
4ffead78823c4d655f05b0bc84cdb3c71ff4a1b2
[ "Apache-2.0" ]
null
null
null
#include "npfrmwkbase.h" // // npapi plugin functions // NPNetscapeFuncs* nsPluginInstanceBase::NPNFuncs = NULL; #ifdef XP_UNIX NP_EXPORT(char*) NP_GetPluginVersion() { return nsPluginInstanceBase::GetPluginVersion(); } #endif #if defined(XP_UNIX) NP_EXPORT(const char*) NP_GetMIMEDescription() #elif defined(XP_WI...
28.868852
160
0.757297
[ "object" ]
5451f6f13788cf313cafbf8493f49491b212a57c
851
hpp
C++
src/json.hpp
DavidPfander-UniStuttgart/jsoncpp
cc4d04328f47c4f89898eda03e6460e01106252e
[ "BSD-3-Clause" ]
null
null
null
src/json.hpp
DavidPfander-UniStuttgart/jsoncpp
cc4d04328f47c4f89898eda03e6460e01106252e
[ "BSD-3-Clause" ]
1
2017-07-26T16:39:10.000Z
2018-07-26T19:31:23.000Z
src/json.hpp
DavidPfander-UniStuttgart/jsoncpp
cc4d04328f47c4f89898eda03e6460e01106252e
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2008-today The SG++ project // This file is part of the SG++ project. For conditions of distribution and // use, please see the copyright notice provided with SG++ or at // sgpp.sparsegrids.org #pragma once #include "dict_node.hpp" #include "token.hpp" #include <iostream> #include <map> #include <me...
18.5
76
0.712103
[ "vector" ]
54563a924c24d34bfa3ca4797b31f99271ecac89
2,553
cpp
C++
libcxx/test/libcxx/algorithms/sort_stability.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
libcxx/test/libcxx/algorithms/sort_stability.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
libcxx/test/libcxx/algorithms/sort_stability.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
25.787879
88
0.578535
[ "vector" ]
545b76fdd418d62ac2a59e7908d18b077d471d84
3,430
cpp
C++
ConvNN/OpenCL.cpp
SergiosKar/Convolutional-Neural-Network
b206c03daf5287778a4b7aa769f870f8c592cd09
[ "Apache-2.0" ]
16
2019-04-22T14:02:44.000Z
2022-03-15T13:07:47.000Z
ConvNN/OpenCL.cpp
SergiosKar/Convolutional-Neural-Network
b206c03daf5287778a4b7aa769f870f8c592cd09
[ "Apache-2.0" ]
null
null
null
ConvNN/OpenCL.cpp
SergiosKar/Convolutional-Neural-Network
b206c03daf5287778a4b7aa769f870f8c592cd09
[ "Apache-2.0" ]
3
2019-02-18T13:15:03.000Z
2019-12-30T20:08:50.000Z
#include "OpenCL.h" #include "util.h" cl::Program OpenCL::clprogram; cl::Context OpenCL::clcontext; cl::CommandQueue OpenCL::clqueue; void OpenCL::initialize_OpenCL() { // get all platforms (drivers), e.g. NVIDIA std::vector<cl::Platform> all_platforms; cl::Platform::get(&all_platforms); if (...
30.087719
90
0.61312
[ "vector" ]
545f7b63b0659b23f9972df9e765a39ece977d67
1,335
cpp
C++
Dataset/Leetcode/valid/48/340.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/48/340.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/48/340.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: void XXX(vector<vector<int>>& matrix) { int rows = matrix.size(); int cols = rows; if(rows == 1) return; int convert_row1, convert_row2, convert_row3, convert_row4; int convert_col1, convert_col2, convert_col3, convert_col4; int temp1, temp2,...
41.71875
84
0.564794
[ "vector" ]
546da392707e2d5514f4a3cab09a355a44a9d800
7,111
cpp
C++
fp_core/src/main/src/PythonBindings/Graphics.cpp
submain/fruitpunch
31773128238830d3d335c1915877dc0db56836cd
[ "MIT" ]
null
null
null
fp_core/src/main/src/PythonBindings/Graphics.cpp
submain/fruitpunch
31773128238830d3d335c1915877dc0db56836cd
[ "MIT" ]
null
null
null
fp_core/src/main/src/PythonBindings/Graphics.cpp
submain/fruitpunch
31773128238830d3d335c1915877dc0db56836cd
[ "MIT" ]
1
2020-08-14T02:51:47.000Z
2020-08-14T02:51:47.000Z
/* * Common.cpp * * Created on: Oct 26, 2012 * Author: leo */ #include <boost/python/detail/prefix.hpp> #include <boost/python.hpp> #include <fruitpunch/PythonBindings/Graphics.h> #include <string> // --------------------------------------------------------------------------- // Fp core includes // -------...
39.287293
160
0.635213
[ "object" ]
546f38d97a010c74f07ee180c10494de499956a3
1,695
cc
C++
Calibration/EcalCalibAlgos/src/L3CalibBlock.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Calibration/EcalCalibAlgos/src/L3CalibBlock.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Calibration/EcalCalibAlgos/src/L3CalibBlock.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/** */ #include "Calibration/EcalCalibAlgos/interface/L3CalibBlock.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "TH1F.h" #include "TFile.h" // ----------------------------------------------------- L3CalibBlock::L3CalibBlock(const int numberOfElements, const int keventweight) : VEcalCalib...
30.818182
102
0.560472
[ "vector" ]
5476d352d5c165f5526f6f0e9e42165d7d859b1f
14,813
cpp
C++
CppCollection/EXITJWV1.15.cpp
huoyongkai/Wireless360
20b458809b16aa05316cbbe98d2aebc10b4ba19f
[ "MIT" ]
1
2020-06-25T05:36:23.000Z
2020-06-25T05:36:23.000Z
CppCollection/EXITJWV1.15.cpp
huoyongkai/Wireless360
20b458809b16aa05316cbbe98d2aebc10b4ba19f
[ "MIT" ]
null
null
null
CppCollection/EXITJWV1.15.cpp
huoyongkai/Wireless360
20b458809b16aa05316cbbe98d2aebc10b4ba19f
[ "MIT" ]
null
null
null
/*! * \file * exit.cpp * \brief * Exit chart generation utilities * \note * Refer to exit.h for usage advice. * * Rob Maunder * rm02r@ecs.soton.ac.uk * October 2004 * * Revised by: $Author: jw02r $ (Jin Wang) * $Revision: 1.1.1.1 $ * $Date: 2006/11/17 18:04:56 $ * $Id: ...
30.668737
110
0.552218
[ "vector" ]
5488400048adec95fc9978676005b0e21405f101
1,148
hpp
C++
tests/unit_tests/framework/node_types_are.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
4
2021-04-02T02:52:05.000Z
2021-12-11T00:42:35.000Z
tests/unit_tests/framework/node_types_are.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
tests/unit_tests/framework/node_types_are.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
#pragma once #include "node/node.hpp" #include <vector> namespace mfl { namespace detail { template <typename NodeTuple, size_t Index, typename N> bool node_type_is(const NodeTuple&, const std::vector<N>& nodes) { using type = std::tuple_element_t<Index, NodeTuple>; ...
32.8
121
0.641115
[ "vector" ]
548b79278fdfcddc2abd2f2c23182310956ee5a0
5,857
cc
C++
asylo/util/status_helpers_test.cc
qinkunbao/asylo
6c6c4a185a1ee927996b43a060d924a49548d999
[ "Apache-2.0" ]
null
null
null
asylo/util/status_helpers_test.cc
qinkunbao/asylo
6c6c4a185a1ee927996b43a060d924a49548d999
[ "Apache-2.0" ]
null
null
null
asylo/util/status_helpers_test.cc
qinkunbao/asylo
6c6c4a185a1ee927996b43a060d924a49548d999
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Asylo authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
32.005464
80
0.711969
[ "vector" ]
548cb7651f855595c95829a6e7e94da41cf70559
1,682
cpp
C++
ThunderSurge-core/game/MenuState.cpp
carsonclarke570/ThunderSurgeEngine
4214b39044f9c434f3769aec945fea9a7d63c8ae
[ "Apache-2.0" ]
null
null
null
ThunderSurge-core/game/MenuState.cpp
carsonclarke570/ThunderSurgeEngine
4214b39044f9c434f3769aec945fea9a7d63c8ae
[ "Apache-2.0" ]
null
null
null
ThunderSurge-core/game/MenuState.cpp
carsonclarke570/ThunderSurgeEngine
4214b39044f9c434f3769aec945fea9a7d63c8ae
[ "Apache-2.0" ]
null
null
null
#include "MenuState.h" #include "../daybreak/components/MeshRenderer.h" #include "../daybreak/components/Camera.h" #include "../daybreak/components/FreeLook.h" #include "../daybreak/components/FreeMove.h" using namespace daybreak; using namespace core; using namespace components; Scene* m_scene; GameObject* m_cube; ...
25.484848
262
0.712842
[ "mesh", "render" ]
5492e3e9936950194eff17d5f9295924c7349104
416
cpp
C++
src/start/main.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
3
2021-09-04T20:36:23.000Z
2022-01-20T14:16:43.000Z
src/start/main.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
1
2021-11-02T23:26:26.000Z
2021-11-02T23:26:26.000Z
src/start/main.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
null
null
null
#include <iostream> #include <vector> #include "core/Core.h" auto main(int argc, char* argv[]) -> int { Core::Alloc::Mallocator mallocator; Core::Alloc::BuddyAllocator alloc{ &mallocator, 256, 4 }; /*for (usize i = 256; i < 1024; i += 256) { auto mem = alloc.Allocate<u8>(i); alloc.Deallocate(StdMo...
21.894737
59
0.629808
[ "vector" ]
5494fd6c8622dd5512396b8be84ba524929f0309
2,758
cpp
C++
src/CwshBlock.cpp
colinw7/Cwsh
f39e93ca48e92b14a55c1dce8c85b37843cff81e
[ "MIT" ]
1
2021-12-23T02:22:56.000Z
2021-12-23T02:22:56.000Z
src/CwshBlock.cpp
colinw7/Cwsh
f39e93ca48e92b14a55c1dce8c85b37843cff81e
[ "MIT" ]
null
null
null
src/CwshBlock.cpp
colinw7/Cwsh
f39e93ca48e92b14a55c1dce8c85b37843cff81e
[ "MIT" ]
null
null
null
#include <CwshI.h> CwshBlockMgr:: CwshBlockMgr(Cwsh *cwsh) : cwsh_(cwsh) { } CwshBlockMgr:: ~CwshBlockMgr() { for (auto &block : block_stack_) delete block; } CwshBlock * CwshBlockMgr:: startBlock(CwshBlockType type, const CwshLineArray &lines) { if (inBlock()) { block_stack_.push_back(current_block_); ...
14.827957
66
0.630892
[ "vector" ]
5496841fe84de6b203a5d176a16e9adea94a9d3e
6,116
cpp
C++
PersonModel.cpp
jeisonsantiago/Person-Model-Qt
c02251090ef1276c38c7aaf5236335b1e6bf740f
[ "MIT" ]
1
2022-02-14T08:57:46.000Z
2022-02-14T08:57:46.000Z
PersonModel.cpp
jeisonsantiago/Person-Model-Qt
c02251090ef1276c38c7aaf5236335b1e6bf740f
[ "MIT" ]
null
null
null
PersonModel.cpp
jeisonsantiago/Person-Model-Qt
c02251090ef1276c38c7aaf5236335b1e6bf740f
[ "MIT" ]
null
null
null
/******************************************************************************* * Project: Person Model Qt * Purpose: QAbstractListModel example * Author: Jeison Santiago, jeison.santiago@gmail.com * Language: C++ ******************************************************************************* * The MIT Lice...
27.674208
124
0.63947
[ "model" ]
5496f59fbee5dd13a2fb6c01857fd1b294551d51
6,866
cc
C++
vm_tools/garcon/mime_types_parser.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
vm_tools/garcon/mime_types_parser.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
vm_tools/garcon/mime_types_parser.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium OS 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 <utility> #include <arpa/inet.h> #include <base/check.h> #include <base/files/file_path.h> #include <base/files/file_util.h> #include <base/l...
32.540284
115
0.614477
[ "vector" ]
54a8b866ded41899d4025dc852298a7dc2c01d19
7,111
cpp
C++
src/msix/pack/ZipObjectWriter.cpp
bfourie/msix-packaging
c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a
[ "MIT" ]
486
2018-03-07T17:15:03.000Z
2019-05-06T20:05:44.000Z
src/msix/pack/ZipObjectWriter.cpp
bfourie/msix-packaging
c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a
[ "MIT" ]
172
2019-05-14T18:56:36.000Z
2022-03-30T16:35:24.000Z
src/msix/pack/ZipObjectWriter.cpp
bfourie/msix-packaging
c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a
[ "MIT" ]
83
2019-05-29T18:38:36.000Z
2022-03-17T07:34:16.000Z
// // Copyright (C) 2019 Microsoft. All rights reserved. // See LICENSE file in the project root for full license information. // #include "ZipObjectWriter.hpp" #include "ZipObject.hpp" #include "MsixErrors.hpp" #include "Exceptions.hpp" #include "ZipFileStream.hpp" #include "DeflateStream.hpp" #include...
42.837349
171
0.648713
[ "object", "vector" ]
54ae11d6d1435c5c1a4c93fdbe5c2709e544c760
3,034
cpp
C++
PRIMER/RSA.cpp
sonaspy/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
1
2018-11-28T09:38:23.000Z
2018-11-28T09:38:23.000Z
PRIMER/RSA.cpp
NewGuonx/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
null
null
null
PRIMER/RSA.cpp
NewGuonx/PAT-PTA
dc7d7c64e66a844cc199bfe845bc2873d4435732
[ "Unlicense" ]
null
null
null
// author -sonaspy@outlook.com // coding - utf_8 #include <bits/stdc++.h> #define test() freopen("in", "r", stdin) using namespace std; class Primes { public: vector<uint64_t> prime_numbers; Primes() { prime_generate(); } private: inline bool __isprime(uint64_t num) { if (num...
22.308824
121
0.457482
[ "vector" ]
54b2444d702c44db8d229bccbeb3b189717146f5
2,875
cpp
C++
CPU_Renderer/Source/Mesh/Mesh.cpp
Thundersoft-Tech/GarajEngine
633de17ad79577f4306ea432f56f052c168e7a18
[ "MIT" ]
3
2021-08-18T12:13:32.000Z
2022-02-16T22:17:59.000Z
CPU_Renderer/Source/Mesh/Mesh.cpp
Thundersoft-Tech/GarajEngine
633de17ad79577f4306ea432f56f052c168e7a18
[ "MIT" ]
null
null
null
CPU_Renderer/Source/Mesh/Mesh.cpp
Thundersoft-Tech/GarajEngine
633de17ad79577f4306ea432f56f052c168e7a18
[ "MIT" ]
null
null
null
#include "Mesh.h" vec3_t cube_vertices[N_CUBE_VERTICES] = { { -1, -1, -1 }, // 1 { -1, 1, -1 }, // 2 { 1, 1, -1 }, // 3 { 1, -1, -1 }, // 4 { 1, 1, 1 }, // 5 { 1, -1, 1 }, // 6 { -1, 1, 1 }, // 7 { -1, -1, 1 }, // 8 }; face_t cube_faces[N_CUBE_FACES] = { // front { 1, 2, 3, { 0, 1 }, { 0, 0 }, {...
27.644231
65
0.522783
[ "mesh", "vector" ]
2a67323c23dacea0667ba75576852770acefe048
1,153
cpp
C++
statistics/tests/cache.cpp
5r1gsOi1/other
16da2846da4f80cdbccf0232696301c50c10c005
[ "MIT" ]
null
null
null
statistics/tests/cache.cpp
5r1gsOi1/other
16da2846da4f80cdbccf0232696301c50c10c005
[ "MIT" ]
null
null
null
statistics/tests/cache.cpp
5r1gsOi1/other
16da2846da4f80cdbccf0232696301c50c10c005
[ "MIT" ]
null
null
null
#include "statistics/cache.h" #include <vector> #include "common/simple_date.h" #include "common/tests.h" /* bool Test_CacheIndex_Simple() { const std::string file_name = "fake file name"; { volatile std::ofstream vvv(file_name); } CacheIndex<WikiPageDateTimestamp> index(file_name); index.Add(WikiPageDateTimes...
28.825
67
0.690373
[ "vector" ]
2a67c3bcb7a070d81208f4f90ab1e6dc267d6728
9,838
hpp
C++
include/geometry/polygon.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
include/geometry/polygon.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
include/geometry/polygon.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, insta...
37.984556
111
0.534458
[ "object", "shape", "vector" ]
2a69f1c10398ae715c481eb5267832b2943b678b
27,363
cpp
C++
src/virtual_db_rocks.cpp
keenbo/wwsearch
5c5f5c5deac1820c6bc6ef96e8163c583cf57641
[ "CC-BY-3.0" ]
465
2019-11-18T07:00:58.000Z
2022-03-30T07:13:36.000Z
src/virtual_db_rocks.cpp
Jie-Yuan/wwsearch
5c5f5c5deac1820c6bc6ef96e8163c583cf57641
[ "CC-BY-3.0" ]
7
2019-11-20T03:53:00.000Z
2021-01-01T02:35:46.000Z
src/virtual_db_rocks.cpp
Jie-Yuan/wwsearch
5c5f5c5deac1820c6bc6ef96e8163c583cf57641
[ "CC-BY-3.0" ]
77
2019-11-18T07:05:52.000Z
2022-02-11T08:01:24.000Z
/* * Tencent is pleased to support the open source community by making wwsearch * available. * * Copyright (C) 2018-present Tencent. 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...
33.991304
80
0.649563
[ "vector" ]
2a6ee201d2c4777a4bdbce8dc91e42e7054b925a
4,685
cpp
C++
ofSketchApp/src/AddonManager.cpp
brannondorsey/ofSketch
304f4a6eec010a1f479d64c8bf7f78e7ee5f4769
[ "MIT" ]
1
2015-06-09T12:10:44.000Z
2015-06-09T12:10:44.000Z
ofSketchApp/src/AddonManager.cpp
brannondorsey/ofSketch
304f4a6eec010a1f479d64c8bf7f78e7ee5f4769
[ "MIT" ]
null
null
null
ofSketchApp/src/AddonManager.cpp
brannondorsey/ofSketch
304f4a6eec010a1f479d64c8bf7f78e7ee5f4769
[ "MIT" ]
null
null
null
// ============================================================================= // // Copyright (c) 2013 Christopher Baker <http://christopherbaker.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
29.840764
104
0.662967
[ "vector" ]
2a6fd3ec35cb7892c1fd2cd83f7f65276356c97f
589
cpp
C++
c++/leetcode/0049-Group_Anagrams-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0049-Group_Anagrams-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0049-Group_Anagrams-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 49 Group Anagrams // https://leetcode.com/problems/group-anagrams // version: 1; create time: 2020-01-04 17:05:56; class Solution { public: vector<vector<string>> groupAnagrams(vector<string>& strs) { unordered_map<string, vector<string>> groups; for (const auto& str : strs) { auto t...
28.047619
64
0.565365
[ "vector" ]
2a7128b56a26f95ab60471d575c1e4477eff7845
8,183
cc
C++
test/ParserNargs.cc
m-mizutani/argparse-cpp
585c0d89e8448c09f290048f80e442d512015d57
[ "BSD-2-Clause" ]
3
2017-07-09T20:23:29.000Z
2020-06-09T08:57:04.000Z
test/ParserNargs.cc
m-mizutani/argparse-cpp
585c0d89e8448c09f290048f80e442d512015d57
[ "BSD-2-Clause" ]
2
2016-05-07T03:16:04.000Z
2018-04-10T20:52:36.000Z
test/ParserNargs.cc
m-mizutani/argparse-cpp
585c0d89e8448c09f290048f80e442d512015d57
[ "BSD-2-Clause" ]
2
2018-04-10T20:49:05.000Z
2020-02-08T04:14:39.000Z
/* * Copyright 2016, Masayoshi Mizutani, mizutani@sfc.wide.ad.jp * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * n...
28.915194
73
0.640596
[ "vector" ]
2a73d98f8aea1efc05baf2e21eecc39bacda8b8c
14,051
cpp
C++
DSP/extensions-inactive/AudioUnit/TTAudioUnit.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
31
2015-02-28T23:51:10.000Z
2021-12-25T04:16:01.000Z
DSP/extensions-inactive/AudioUnit/TTAudioUnit.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
126
2015-01-01T13:42:05.000Z
2021-07-13T14:11:42.000Z
DSP/extensions-inactive/AudioUnit/TTAudioUnit.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
14
2015-02-10T15:08:32.000Z
2019-09-17T01:21:25.000Z
/* * TTAudioUnit -- AudioUnit plug-in host * Extension Class for Jamoma DSP * Copyright © 2008, Timothy Place * * License: This code is licensed under the terms of the "New BSD License" * http://creativecommons.org/licenses/BSD/ */ #include "TTDSP.h" #ifdef uint #undef uint #endif #include <CoreServices/Co...
31.504484
174
0.740446
[ "render" ]
2a7a225352f385aa87446cb4bc14f3d02c3ddf68
855
cpp
C++
src/listeners/RequestSet.cpp
valmat/RocksServer
e00436ec9147641731c60da7d4643ecfb61217ac
[ "BSD-3-Clause" ]
24
2015-02-03T08:48:52.000Z
2021-10-03T23:57:13.000Z
src/listeners/RequestSet.cpp
valmat/RocksServer
e00436ec9147641731c60da7d4643ecfb61217ac
[ "BSD-3-Clause" ]
null
null
null
src/listeners/RequestSet.cpp
valmat/RocksServer
e00436ec9147641731c60da7d4643ecfb61217ac
[ "BSD-3-Clause" ]
5
2015-07-10T15:40:53.000Z
2019-12-06T11:57:35.000Z
/** * RequestSet.cpp * * Request listener for command "set" * * @author valmat <ufabiz@gmail.com> * @github https://github.com/valmat/rocksserver */ #include "RocksServer.h" namespace RocksServer { /** * Runs request listener * @param protocol in object * @param protocol ...
21.923077
83
0.539181
[ "object" ]
2a850c99e5078a9230099602a5ed2ad1dff79779
442
cpp
C++
10610.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
10610.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
10610.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> #include <vector> using namespace std; int main() { string s; cin >> s; vector<int> v; int sum = 0; for (int i = 0; i < s.length(); i++) { v.push_back(s[i]); sum += s[i] - 48; } sort(v.begin(), v.end(), greater<int>()); if (v.back()-48 != 0 || s...
18.416667
55
0.527149
[ "vector" ]
2a8710a4857c71b74965b9cc64e97b2a58049730
15,854
cpp
C++
rdkPlugins/Networking/source/NetworkingPlugin.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
null
null
null
rdkPlugins/Networking/source/NetworkingPlugin.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
null
null
null
rdkPlugins/Networking/source/NetworkingPlugin.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2020 Sky UK * * 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...
30.488462
138
0.637379
[ "vector" ]
2a88f795879ef922b95f89222441ecce7bbc4d60
969
cpp
C++
problems/066.Plus_One/AC_simulation_n.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/066.Plus_One/AC_simulation_n.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/066.Plus_One/AC_simulation_n.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
/* * Author: illuz <iilluzen[at]gmail.com> * File: AC_simulation_n.cpp * Create Date: 2014-12-20 10:07:27 * Descripton: */ #include <bits/stdc++.h> using namespace std; const int N = 0; class Solution { public: vector<int> plusOne(vector<int> &digits) { int len = digits.size(); ...
19.77551
48
0.432405
[ "vector" ]
2a8b483c7a010290a2ea8dde6c96caf89cb5732d
1,792
cpp
C++
Leet Code/Sliding Window Maximum.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
51
2020-02-24T11:14:00.000Z
2022-03-24T09:32:18.000Z
Leet Code/Sliding Window Maximum.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
3
2020-10-02T08:16:09.000Z
2021-04-17T16:32:38.000Z
Leet Code/Sliding Window Maximum.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
18
2020-04-24T15:33:36.000Z
2022-03-24T09:32:20.000Z
/* Leet Code */ /* Title - Sliding Window Maximum */ /* Created By - Akash Modak */ /* Date - 23/09/2020 */ // You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the window. Each time the...
26.352941
251
0.457031
[ "vector" ]
2a8bc018088398c056c7f4f6ea0cc21a21f63a4c
3,126
hpp
C++
headers/GameWorld.hpp
eubrunomiguel/garuna
e18d54213b561fbc7075eaf2acb131b2084a6434
[ "MIT" ]
57
2018-05-16T17:04:01.000Z
2022-03-22T00:18:42.000Z
headers/GameWorld.hpp
eubrunomiguel/garuna
e18d54213b561fbc7075eaf2acb131b2084a6434
[ "MIT" ]
null
null
null
headers/GameWorld.hpp
eubrunomiguel/garuna
e18d54213b561fbc7075eaf2acb131b2084a6434
[ "MIT" ]
17
2019-01-25T04:04:59.000Z
2022-03-13T11:54:08.000Z
// // GameWorld.hpp // server // // Created by Bruno Macedo Miguel on 12/11/16. // Copyright © 2016 d2server. All rights reserved. // #ifndef GameWorld_hpp #define GameWorld_hpp #include <cstdlib> #include <cassert> #include <map> #include <queue> #include <iostream> #include "DynamicPool.hpp" #include "GameLeve...
30.950495
124
0.665707
[ "vector" ]
2a8c459d1a24ab285eeb885556be6a27bec34aae
11,760
cpp
C++
Homework 2 The Fruit Rage!/homework11.cpp
dweeptrivedi/CSCI561-Artificial-Intelligence-Assignments
15840d0a6fff02db6563ada0be10d4b45d44216d
[ "MIT" ]
null
null
null
Homework 2 The Fruit Rage!/homework11.cpp
dweeptrivedi/CSCI561-Artificial-Intelligence-Assignments
15840d0a6fff02db6563ada0be10d4b45d44216d
[ "MIT" ]
null
null
null
Homework 2 The Fruit Rage!/homework11.cpp
dweeptrivedi/CSCI561-Artificial-Intelligence-Assignments
15840d0a6fff02db6563ada0be10d4b45d44216d
[ "MIT" ]
1
2019-11-25T11:21:40.000Z
2019-11-25T11:21:40.000Z
#include <iostream> #include <functional> #include <fstream> #include <string> #include <stdlib.h> #include <sys/types.h> #include <stdint.h> #include <stdbool.h> #include <string> #include <string.h> #include <map> #include <vector> #include <array> #include <algorithm> #include <assert.h> #include <unistd.h> #include...
25.733042
118
0.519303
[ "vector" ]
2a90371429cfb613f7a13414665d7256d2c47fc9
13,784
cpp
C++
source/ConeTraceState.cpp
RobertBeckebans/CVCT_Vulkan
edd8e9865f126ffbdf474a6e419d46efc4c7f267
[ "MIT" ]
null
null
null
source/ConeTraceState.cpp
RobertBeckebans/CVCT_Vulkan
edd8e9865f126ffbdf474a6e419d46efc4c7f267
[ "MIT" ]
null
null
null
source/ConeTraceState.cpp
RobertBeckebans/CVCT_Vulkan
edd8e9865f126ffbdf474a6e419d46efc4c7f267
[ "MIT" ]
1
2021-04-09T09:20:20.000Z
2021-04-09T09:20:20.000Z
#include "PipelineStates.h" #include "VCTPipelineDefines.h" #include "SwapChain.h" #include "VulkanCore.h" #include "Shader.h" #include "DataTypes.h" #include "AnisotropicVoxelTexture.h" struct Parameter { SwapChain* swapchain; }; void BuildCommandBufferConeTracerState( RenderState* renderstate, VkCommandPool com...
44.753247
177
0.653439
[ "3d" ]
2a91d610eba66aac81dedc767e4e0400eba4dc34
40,616
cpp
C++
amd_tressfx_vulkan/src/TressFXShortCutVulkan.cpp
vlj/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
1
2018-08-06T22:31:28.000Z
2018-08-06T22:31:28.000Z
amd_tressfx_vulkan/src/TressFXShortCutVulkan.cpp
0x6E745C/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
null
null
null
amd_tressfx_vulkan/src/TressFXShortCutVulkan.cpp
0x6E745C/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
1
2019-03-16T11:40:23.000Z
2019-03-16T11:40:23.000Z
//-------------------------------------------------------------------------------------- // File: TressFXShortCut.cpp // // TressFX ShortCut method. // // // Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy /...
47.504094
122
0.673897
[ "vector" ]
2a99534629ed4aafab308b1f6ea6ac742e38ecd0
3,912
cpp
C++
thirdparty/liblsdj/lsdsng_import/main.cpp
fossabot/RetroPlug
5a39379bd10d2e2c0b13a0850380db4d5a58cdd3
[ "MIT" ]
186
2019-05-14T15:15:33.000Z
2022-03-21T22:27:10.000Z
thirdparty/liblsdj/lsdsng_import/main.cpp
fossabot/RetroPlug
5a39379bd10d2e2c0b13a0850380db4d5a58cdd3
[ "MIT" ]
70
2018-05-14T15:44:17.000Z
2020-04-18T14:34:02.000Z
thirdparty/liblsdj/lsdsng_import/main.cpp
fossabot/RetroPlug
5a39379bd10d2e2c0b13a0850380db4d5a58cdd3
[ "MIT" ]
9
2019-05-17T08:24:42.000Z
2021-11-14T12:00:11.000Z
/* This file is a part of liblsdj, a C library for managing everything that has to do with LSDJ, software for writing music (chiptune) with your gameboy. For more information, see: * https://github.com/stijnfrishert/liblsdj * http://www.littlesounddj.com -----------------------------------------------------...
35.889908
256
0.632157
[ "vector" ]
2a9f769ff98ba6ab8f2a6281927f0927eaf93a08
2,481
cpp
C++
windows/pw6e.official/CPlusPlus/Chapter18/OrientationAndOrientation/OrientationAndOrientation/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:18:08.000Z
2016-11-23T08:18:08.000Z
windows/pw6e.official/CPlusPlus/Chapter18/OrientationAndOrientation/OrientationAndOrientation/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
null
null
null
windows/pw6e.official/CPlusPlus/Chapter18/OrientationAndOrientation/OrientationAndOrientation/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:17:34.000Z
2016-11-23T08:17:34.000Z
// // MainPage.xaml.cpp // Implementation of the MainPage class. // #include "pch.h" #include "MainPage.xaml.h" using namespace OrientationAndOrientation; using namespace Platform; using namespace Windows::Devices::Sensors; using namespace Windows::Foundation; using namespace Windows::Foundation::Collec...
34.943662
137
0.739218
[ "object" ]
2ab2e8d20188c4dd64f8665cf0e00e1188c0b3b0
21,944
cpp
C++
src/scenes/SelectionScene.cpp
rodri042/piugba
bb3aae80c3a74d87531a825eba35a032f45c42a3
[ "TU-Berlin-1.0", "MIT" ]
37
2020-03-29T03:55:17.000Z
2022-01-12T02:12:14.000Z
src/scenes/SelectionScene.cpp
rodri042/piugba
bb3aae80c3a74d87531a825eba35a032f45c42a3
[ "TU-Berlin-1.0", "MIT" ]
2
2020-06-27T16:49:33.000Z
2020-07-20T04:55:07.000Z
src/scenes/SelectionScene.cpp
rodri042/piugba
bb3aae80c3a74d87531a825eba35a032f45c42a3
[ "TU-Berlin-1.0", "MIT" ]
2
2021-05-31T00:39:38.000Z
2021-07-12T21:01:23.000Z
#include "SelectionScene.h" #include <libgba-sprite-engine/background/text_stream.h> #include <libgba-sprite-engine/effects/fade_out_scene.h> #include <libgba-sprite-engine/gba/tonc_bios.h> #include <tonc_input.h> #include "ModsScene.h" #include "MultiplayerLobbyScene.h" #include "SettingsScene.h" #include "assets.h"...
29.336898
80
0.675355
[ "render", "vector" ]
2ab2eb03c84cf8cf771bd487483a209e6cfd2e62
3,258
cpp
C++
object_detection/viola_jones.cpp
dustsigns/lecture-demos
50d5abb252e7e467e9648b61310ce93b85c6c5f0
[ "BSD-3-Clause" ]
14
2018-03-26T13:43:58.000Z
2022-03-03T13:04:36.000Z
object_detection/viola_jones.cpp
dustsigns/lecture-demos
50d5abb252e7e467e9648b61310ce93b85c6c5f0
[ "BSD-3-Clause" ]
null
null
null
object_detection/viola_jones.cpp
dustsigns/lecture-demos
50d5abb252e7e467e9648b61310ce93b85c6c5f0
[ "BSD-3-Clause" ]
1
2019-08-03T23:12:08.000Z
2019-08-03T23:12:08.000Z
//Illustration of Viola-Jones object detection // Andreas Unterweger, 2017-2022 //This code is licensed under the 3-Clause BSD License. See LICENSE file for details. #include <iostream> #include <vector> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/objdetect.hpp> #include <opencv2/imgp...
31.941176
122
0.706262
[ "object", "vector" ]
2ab7b04f3e0e69d7c213cf60ee6c28ef1fffb17c
7,864
cpp
C++
src/commands/Rdf.cpp
jjzhang166/chemfiles_cfiles
621f74661fed3b3f37363f063f5558ff6b1612f3
[ "BSD-3-Clause" ]
null
null
null
src/commands/Rdf.cpp
jjzhang166/chemfiles_cfiles
621f74661fed3b3f37363f063f5558ff6b1612f3
[ "BSD-3-Clause" ]
null
null
null
src/commands/Rdf.cpp
jjzhang166/chemfiles_cfiles
621f74661fed3b3f37363f063f5558ff6b1612f3
[ "BSD-3-Clause" ]
null
null
null
// cfiles, an analysis frontend for the Chemfiles library // Copyright (C) Guillaume Fraux and contributors -- BSD license #include <docopt/docopt.h> #include <unordered_set> #include <fstream> #include "Rdf.hpp" #include "Errors.hpp" #include "geometry.hpp" #include "utils.hpp" #include "warnings.hpp" using namespa...
36.239631
112
0.594608
[ "geometry" ]
2ab8b92b5cc203c9af875ce6870df259261a7c0d
1,776
hpp
C++
src/file2passwd_interface.hpp
ThorsHamster/file2passwd
39a3f115a7b21d1a2e18c00557ab487f7d68bcb7
[ "MIT" ]
null
null
null
src/file2passwd_interface.hpp
ThorsHamster/file2passwd
39a3f115a7b21d1a2e18c00557ab487f7d68bcb7
[ "MIT" ]
20
2019-12-15T15:32:23.000Z
2022-03-01T19:13:49.000Z
src/file2passwd_interface.hpp
ThorsHamster/file2passwd
39a3f115a7b21d1a2e18c00557ab487f7d68bcb7
[ "MIT" ]
null
null
null
#ifndef SRC_FILE2PASSWD_INTERFACE_HPP_ #define SRC_FILE2PASSWD_INTERFACE_HPP_ #include "file2passwd.hpp" namespace file2passwd { /*! \mainpage * * \section intro_sec Introduction * * This program is a Fun project, to play around with modern c++, swig, python and CMake. \n * It doesn't make too much sense, but i...
30.101695
177
0.600225
[ "object" ]
2ac4bb555eea2ac3054c85377526ff80e866fac7
14,052
cpp
C++
CsPlugin/Source/CsCore/Public/Managers/Input/GameEvent/CsGameEventDefinition.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsPlugin/Source/CsCore/Public/Managers/Input/GameEvent/CsGameEventDefinition.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsPlugin/Source/CsCore/Public/Managers/Input/GameEvent/CsGameEventDefinition.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #include "Managers/Input/GameEvent/CsGameEventDefinition.h" #include "CsCore.h" // FCsGameEventDefinition #pragma region FString FCsGameEventDefinition::PrintSummary() const { // GameEvent // Phrase [%d] // Word [%d] // AndInputs [%d] // Or...
30.547826
207
0.698619
[ "vector" ]
2acb6ce867cc6a000389b4262397c80d96f92898
9,652
cpp
C++
sys/os/linker/LDLibkernModule.cpp
JustSid/Firedrake
65c6fbecf63ebbcd7d8798d9bfe35fa225cd5c41
[ "MIT" ]
8
2015-07-06T09:03:35.000Z
2019-07-15T22:53:16.000Z
sys/os/linker/LDLibkernModule.cpp
JustSid/Firedrake
65c6fbecf63ebbcd7d8798d9bfe35fa225cd5c41
[ "MIT" ]
null
null
null
sys/os/linker/LDLibkernModule.cpp
JustSid/Firedrake
65c6fbecf63ebbcd7d8798d9bfe35fa225cd5c41
[ "MIT" ]
6
2015-12-10T17:52:49.000Z
2019-07-15T22:53:23.000Z
// // LDLibkernModule.cpp // Firedrake // // Created by Sidney Just // Copyright (c) 2015 by Sidney Just // 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 w...
28.72619
130
0.71809
[ "object", "vector" ]
2acbe6b77ca1e32b9e7cc8cee7e9bab296f7cab0
2,041
hh
C++
src/Zynga/Framework/Database/V2/Config/BaseTest.hh
ssintzz/zynga-hacklang-framework
9e165068f16f224edf2ee5bf5e25855714792d54
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/Database/V2/Config/BaseTest.hh
ssintzz/zynga-hacklang-framework
9e165068f16f224edf2ee5bf5e25855714792d54
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/Database/V2/Config/BaseTest.hh
ssintzz/zynga-hacklang-framework
9e165068f16f224edf2ee5bf5e25855714792d54
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh //strict namespace Zynga\Framework\Database\V2\Config; use Zynga\Framework\Testing\TestCase\V2\Base as TestCase; use Zynga\Framework\Database\V2\Test\Config\Mock\Base\Valid as MockValid; use Zynga\Framework\Database\V2\Test\Config\Mock\Base\NoUserName as MockNoUserName ; use Zynga\Framework\Database\V2\Test...
23.45977
82
0.701127
[ "object" ]
2acde052230ada18a362dd38e77f8bf7a6ea7616
14,602
hpp
C++
c++/include/objtools/readers/fasta.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/objtools/readers/fasta.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/objtools/readers/fasta.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef OBJTOOLS_READERS___FASTA__HPP #define OBJTOOLS_READERS___FASTA__HPP /* $Id: fasta.hpp 368052 2012-07-02 14:37:28Z ucko $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Informati...
36.780856
115
0.642241
[ "vector" ]
2ad7b545324f58e0b02bb285a623c5b25ae8262b
1,125
cpp
C++
computer_graphics/junkyard/glengine/gerenderer.cpp
asgeir/old-school-projects
96a502589c627e4556f9ee14fc1dc21ed53ce28a
[ "MIT" ]
null
null
null
computer_graphics/junkyard/glengine/gerenderer.cpp
asgeir/old-school-projects
96a502589c627e4556f9ee14fc1dc21ed53ce28a
[ "MIT" ]
null
null
null
computer_graphics/junkyard/glengine/gerenderer.cpp
asgeir/old-school-projects
96a502589c627e4556f9ee14fc1dc21ed53ce28a
[ "MIT" ]
null
null
null
#include "gerenderer.h" #include "gecamera.h" #include "gerenderstate.h" #include "geshaderprogram.h" #include "gl_core_3_2.h" void Renderable::render() { switch (primitiveType()) { case kPrimitiveTypeTriangles: glDrawArrays(GL_TRIANGLES, 0, numVertices()); break; default: break; } } void Renderer::rende...
22.5
107
0.753778
[ "render", "transform" ]
2ae98e83f406185c87bc9fc8f836a6521e6c278e
7,226
cpp
C++
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.0 Samples/[C++]-Windows Driver Kit (WDK) 8.0 Samples/C++/WDK 8.0 Samples/XPSDrv Driver and Filter Sample/Solution/src/ui/wmppg.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.0 Samples/[C++]-Windows Driver Kit (WDK) 8.0 Samples/C++/WDK 8.0 Samples/XPSDrv Driver and Filter Sample/Solution/src/ui/wmppg.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.0 Samples/[C++]-Windows Driver Kit (WDK) 8.0 Samples/C++/WDK 8.0 Samples/XPSDrv Driver and Filter Sample/Solution/src/ui/wmppg.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2020-10-19T23:36:26.000Z
2020-10-22T12:59:37.000Z
/*++ Copyright (c) 2005 Microsoft Corporation All rights reserved. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. File Name: wmppg.cpp Abstra...
26.862454
110
0.583033
[ "object" ]
2afd32e67687bf340c62da5af688197d4f626b1b
1,909
cpp
C++
aws-cpp-sdk-nimble/source/model/StreamConfigurationSessionStorage.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-nimble/source/model/StreamConfigurationSessionStorage.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-nimble/source/model/StreamConfigurationSessionStorage.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/nimble/model/StreamConfigurationSessionStorage.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; name...
23
133
0.743845
[ "model" ]
6304bcbddc235e1439b66678a8e19e41028e20b9
1,325
cc
C++
src/3d/interp.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
9
2018-03-07T19:15:27.000Z
2019-02-22T20:10:23.000Z
src/3d/interp.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
5
2018-11-13T19:59:46.000Z
2020-04-09T19:31:25.000Z
src/3d/interp.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
2
2018-07-20T01:06:48.000Z
2019-11-25T12:15:16.000Z
#include <cedar/2d/ftn/BMG_parameters_c.h> #include <cedar/3d/interp.h> extern "C" { using namespace cedar; void BMG3_SymStd_interp_add(real_t *q, real_t *qc, real_t *so, real_t *res, real_t *ci, len_t iic, len_t jjc, len_t kkc, ...
27.604167
86
0.556226
[ "3d" ]
63079916526013a73e74e376348a44c760a6781c
10,733
cpp
C++
QHTML_Static/qhtm/HtmlList.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/HtmlList.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/HtmlList.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
1
2020-06-28T19:21:22.000Z
2020-06-28T19:21:22.000Z
/*---------------------------------------------------------------------- Copyright (c) 1998 Gipsysoft. All Rights Reserved. Please see the file "licence.txt" for licencing details. File: HTMLList.cpp Owner: rich@woodbridgeinternalmed.com Purpose: A List, and List Entries ------------------------------------------------...
26.306373
253
0.651821
[ "object" ]
deb993450336140ee499b21f85f61193befddd90
402
cpp
C++
C++/KY/shenxinfu1.cpp
WhitePhosphorus4/xh-learning-code
025e31500d9f46d97ea634d7fd311c65052fd78e
[ "Apache-2.0" ]
null
null
null
C++/KY/shenxinfu1.cpp
WhitePhosphorus4/xh-learning-code
025e31500d9f46d97ea634d7fd311c65052fd78e
[ "Apache-2.0" ]
null
null
null
C++/KY/shenxinfu1.cpp
WhitePhosphorus4/xh-learning-code
025e31500d9f46d97ea634d7fd311c65052fd78e
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<vector> #include<unordered_map> using namespace std; int main() { int n; vector<int> number; vector<char> opera; cin>>n; for(int i=0;i<n;i++){ int x; cin>>x; number.push_back(x); } for(int i=0;i<n-1;i++){ char x; cin>>x; ...
16.08
33
0.527363
[ "vector" ]
debd4b72d2f39278d4109b1d719b7409ab498419
820
hpp
C++
src/volume.hpp
makeclean/camconvert
32e2af42ee8b9f56bf194bd3837d0249f43cac3e
[ "MIT" ]
null
null
null
src/volume.hpp
makeclean/camconvert
32e2af42ee8b9f56bf194bd3837d0249f43cac3e
[ "MIT" ]
null
null
null
src/volume.hpp
makeclean/camconvert
32e2af42ee8b9f56bf194bd3837d0249f43cac3e
[ "MIT" ]
null
null
null
#include "surface.hpp" #include <vector> #include <string> #include <fstream> #ifndef VOLUME_HPP #define VOLUME_HPP 1 class Volume { public: Volume(); ~Volume(); // instanciate new volume Volume(int vol_id, double density, int material_number, std::vector<Surface*> bounding_surfaces, double x, double y, d...
20.5
57
0.709756
[ "vector" ]
decb95f16a323fe26855dc0c337e49509ab72a36
2,058
cpp
C++
source/managers/meshPreviewHandler.cpp
AlexAUT/awEditor
c9e4e0dee36c1956b92a47f07a2309be4985e2a6
[ "MIT" ]
null
null
null
source/managers/meshPreviewHandler.cpp
AlexAUT/awEditor
c9e4e0dee36c1956b92a47f07a2309be4985e2a6
[ "MIT" ]
null
null
null
source/managers/meshPreviewHandler.cpp
AlexAUT/awEditor
c9e4e0dee36c1956b92a47f07a2309be4985e2a6
[ "MIT" ]
null
null
null
#include "meshPreviewHandler.hpp" #include <aw/runtime/components/meshProvider.hpp> #include <aw/runtime/components/meshRenderer.hpp> #include <aw/runtime/components/transform.hpp> #include <aw/runtime/loaders/assimpLoader.hpp> #include <aw/runtime/resourceManager/factories/meshFactory.hpp> #include <aw/runtime/scene/...
28.985915
111
0.698251
[ "mesh", "transform" ]
ded157c3153ce0625287da820d99953a5db711c8
830
cpp
C++
ABC_208_C.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
ABC_208_C.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
ABC_208_C.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
//Nice Problem //Was Medium for me as well. //Used a lot of STL-->many functions for the first time. #include <bits/stdc++.h> #define int long long #define mod 1000000007 #define rep(i,n,s) for(int i=0;i<n;i+=s) #define mxsize 100000 #define a first #define b second using namespace std; //Solved 5 mins after the conte...
14.067797
56
0.543373
[ "vector" ]
ded3b5a07a88a9b4198f81ff3b33de557a1e60c6
5,763
cpp
C++
src/HADoorService.cpp
mark1-umd/homebot
578c424b15331de32cc6b32a4cbf7ad27dbb5ffe
[ "BSD-3-Clause" ]
null
null
null
src/HADoorService.cpp
mark1-umd/homebot
578c424b15331de32cc6b32a4cbf7ad27dbb5ffe
[ "BSD-3-Clause" ]
null
null
null
src/HADoorService.cpp
mark1-umd/homebot
578c424b15331de32cc6b32a4cbf7ad27dbb5ffe
[ "BSD-3-Clause" ]
null
null
null
/** * @copyright (c) 2017 Mark R. Jenkins. All rights reserved. * @file HADoorService.cpp * * @author MJenkins, ENPM 808X Spring 2017 * @date Apr 27, 2017 - Creation * * @brief Provides a Home Automation "door" service (sends HA door commands) * * A home may be equipped with one or more doors operable by a Ho...
46.104
174
0.720632
[ "object", "vector" ]
ded9bbbfb348da9a1760b3c5df9c0401ec751a8d
32,986
cpp
C++
LWSkaExporter/AnimExport.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
LWSkaExporter/AnimExport.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
LWSkaExporter/AnimExport.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
/* Copyright (C) 2001-2002 Croteam, Ltd. See COPYING (GNU Library General Public License 2) for license */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <assert.h> #include <lwsurf.h> #include <lwhost.h> #include <lwserver.h> #include <lwgeneric.h> #include <crtdbg.h> #include <...
26.179365
118
0.592403
[ "mesh", "object", "3d" ]
deda22fba25f6991a7c632c9079db52b44b4c9bf
4,431
cpp
C++
test/lowlevel_perf.cpp
janmarthedal/kanooth-numbers
2c6ce4f588bdd26826c20a84154881d84a70191c
[ "BSL-1.0" ]
2
2017-10-02T13:29:54.000Z
2018-04-24T18:17:18.000Z
test/lowlevel_perf.cpp
janmarthedal/kanooth-numbers
2c6ce4f588bdd26826c20a84154881d84a70191c
[ "BSL-1.0" ]
null
null
null
test/lowlevel_perf.cpp
janmarthedal/kanooth-numbers
2c6ce4f588bdd26826c20a84154881d84a70191c
[ "BSL-1.0" ]
null
null
null
#include <vector> #include <boost/random/mersenne_twister.hpp> #include <boost/random/uniform_int_distribution.hpp> #include <kanooth/numbers/lowlevel/generic_has_double.hpp> #include <kanooth/numbers/lowlevel/generic_sim_double.hpp> #include <kanooth/numbers/lowlevel/low_double_int.hpp> #include <kanooth/number_bits....
36.02439
157
0.606635
[ "vector" ]
deda367d4efe4a696751cfa7ea0726b24b55c554
2,631
cpp
C++
zone3InterfaceCompatibilityRecordTests.cpp
mark0n/generateFRUStorage
0642937b8c4349aae4790d4bd5301b989960bee4
[ "MIT" ]
null
null
null
zone3InterfaceCompatibilityRecordTests.cpp
mark0n/generateFRUStorage
0642937b8c4349aae4790d4bd5301b989960bee4
[ "MIT" ]
null
null
null
zone3InterfaceCompatibilityRecordTests.cpp
mark0n/generateFRUStorage
0642937b8c4349aae4790d4bd5301b989960bee4
[ "MIT" ]
null
null
null
#include "zone3InterfaceCompatibilityRecord.hpp" #include "testUtils.hpp" #include <boost/test/unit_test.hpp> #include <boost/assign/list_of.hpp> #include <iostream> BOOST_AUTO_TEST_SUITE( zone3InterfaceCompatibilityTests ) BOOST_AUTO_TEST_CASE( constructorEmpty ) { zone3InterfaceCompatibilityRecord zone(ui...
35.08
148
0.735462
[ "vector" ]
dedb235e1cb2bbe97ad618fd8b67b53b4b01e599
6,747
cpp
C++
src/particle_filter.cpp
Sakshi-Rai/CarND-Kidnapped-Vehicle
535df4a9e7e3470ceec86185941087c577bc171d
[ "MIT" ]
null
null
null
src/particle_filter.cpp
Sakshi-Rai/CarND-Kidnapped-Vehicle
535df4a9e7e3470ceec86185941087c577bc171d
[ "MIT" ]
null
null
null
src/particle_filter.cpp
Sakshi-Rai/CarND-Kidnapped-Vehicle
535df4a9e7e3470ceec86185941087c577bc171d
[ "MIT" ]
null
null
null
/* * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: Tiffany Huang */ #include <random> #include <algorithm> #include <iostream> #include <numeric> #include <math.h> #include <iostream> #include <sstream> #include <string> #include <iterator> #include <cstdlib> #include <cfloat> #include "partic...
35.510526
116
0.693345
[ "vector" ]
dede7dddeecf5b8e8f8e2a7ec974e99f8d3bd5b9
10,419
cpp
C++
src/AdditinalOutputPoint.cpp
yoshiya-usui/FEMTIC
0c529e9cfd4e2acc80412b84c758bd6a70bc03f0
[ "MIT" ]
13
2021-11-08T16:20:48.000Z
2021-12-16T12:30:35.000Z
src/AdditinalOutputPoint.cpp
yoshiya-usui/FEMTIC
0c529e9cfd4e2acc80412b84c758bd6a70bc03f0
[ "MIT" ]
3
2021-11-11T05:59:01.000Z
2021-11-11T06:05:05.000Z
src/AdditinalOutputPoint.cpp
yoshiya-usui/FEMTIC
0c529e9cfd4e2acc80412b84c758bd6a70bc03f0
[ "MIT" ]
1
2021-11-24T11:30:31.000Z
2021-11-24T11:30:31.000Z
//------------------------------------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2021 Yoshiya Usui // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Softwar...
44.909483
207
0.74153
[ "mesh" ]
dee85875681b439f1b6e022235957ffd8b9d64d3
6,063
cpp
C++
control/json/triggers/init.cpp
mikecgithub/phosphor-fan-presence
a66d154ed073fda465616a40670c98979c47ee91
[ "Apache-2.0" ]
null
null
null
control/json/triggers/init.cpp
mikecgithub/phosphor-fan-presence
a66d154ed073fda465616a40670c98979c47ee91
[ "Apache-2.0" ]
null
null
null
control/json/triggers/init.cpp
mikecgithub/phosphor-fan-presence
a66d154ed073fda465616a40670c98979c47ee91
[ "Apache-2.0" ]
null
null
null
/** * Copyright © 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
34.844828
80
0.541646
[ "object", "vector", "transform" ]
def2e4a2da64f2349a5e1dfed487ebca1b749e89
2,962
hpp
C++
include/codegen/include/System/CultureAwareComparer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/CultureAwareComparer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/CultureAwareComparer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.StringComparer #include "System/StringComparer.h...
42.927536
104
0.726199
[ "object" ]
def888e09cb2fa44ece267942c9964a9433a5dd3
3,415
cpp
C++
frameworks/bridge/declarative_frontend/engine/jsi/modules/jsi_app_module.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/bridge/declarative_frontend/engine/jsi/modules/jsi_app_module.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/bridge/declarative_frontend/engine/jsi/modules/jsi_app_module.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
1
2021-09-13T11:17:50.000Z
2021-09-13T11:17:50.000Z
/* * Copyright (c) 2021 Huawei Device 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 ...
40.176471
106
0.715081
[ "vector" ]
7207d10bc55f9dd727776eda54f555c5f7af58bf
1,220
cpp
C++
Leetcode/Dynamic Programming/Combination Sum IV (iterative).cpp
UVE-R/CP-CPP
67819f4115917f663c22ada899b27ace7b2e9b9e
[ "Unlicense" ]
1
2021-08-24T21:05:28.000Z
2021-08-24T21:05:28.000Z
Leetcode/Dynamic Programming/Combination Sum IV (iterative).cpp
UVE-R/CP-CPP
67819f4115917f663c22ada899b27ace7b2e9b9e
[ "Unlicense" ]
null
null
null
Leetcode/Dynamic Programming/Combination Sum IV (iterative).cpp
UVE-R/CP-CPP
67819f4115917f663c22ada899b27ace7b2e9b9e
[ "Unlicense" ]
null
null
null
//ITERATIVE SOLUTION class Solution { public: int combinationSum4(vector<int>& nums, int target) { unsigned long long dp[target + 1]; //Stores the number of ways to get ith sum memset(dp,0,sizeof(dp)); //Fill with zeros dp[0] = 1; //Only 1 way of getting a sum of...
32.972973
102
0.463934
[ "vector" ]
720c584ece1cba70a351abe1716d9ef983eea668
1,410
cpp
C++
ReframeLibrary/Code_samples/ReframeSampleCpp/reframe.cpp
adal02/swissREFRAME
7e6e53e4a5ec470d70566fb3d4355f9cf1ad6b6a
[ "MIT" ]
1
2021-10-20T23:19:27.000Z
2021-10-20T23:19:27.000Z
ReframeLibrary/Code_samples/ReframeSampleCpp/reframe.cpp
adal02/swissREFRAME
7e6e53e4a5ec470d70566fb3d4355f9cf1ad6b6a
[ "MIT" ]
1
2020-11-19T00:04:22.000Z
2020-11-19T13:54:51.000Z
ReframeLibrary/Code_samples/ReframeSampleCpp/reframe.cpp
adal02/swissREFRAME
7e6e53e4a5ec470d70566fb3d4355f9cf1ad6b6a
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <Windows.h> #include "reframe.h" int main() { // Input coordinates to transform double east = 640000.0, north = 184000.0, height = 530.0; try { // ReframeWrapper object ReframeWrapper reframeLibObj; // Process coordinate transformation LV03->LV95, LN02->Besse...
26.603774
176
0.66383
[ "object", "transform" ]
7211656807db507ba04ee9f51cf966324e2385e3
8,418
cpp
C++
libvast/src/system/partition.cpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
libvast/src/system/partition.cpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
1
2019-11-29T12:43:41.000Z
2019-11-29T12:43:41.000Z
libvast/src/system/partition.cpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
34.5
80
0.604419
[ "vector", "transform" ]
722575cebb09494cc98dd9c2f17eb8b43ff2168c
2,447
cpp
C++
lib/popsparse/BalancedPartitioner.cpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
95
2020-07-06T17:11:23.000Z
2022-03-12T14:42:28.000Z
lib/popsparse/BalancedPartitioner.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
null
null
null
lib/popsparse/BalancedPartitioner.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
14
2020-07-15T12:32:57.000Z
2022-01-26T14:58:45.000Z
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #include "BalancedPartitioner.hpp" #include <algorithm> #include <float.h> #include <poplibs_support/logging.hpp> #include <poputil/exceptions.hpp> namespace logging = poplibs_support::logging; namespace popsparse { namespace experimental { void BalancedPart...
33.067568
79
0.622395
[ "vector" ]
722665110a20b2398616d2a73b62110fe8422d98
3,266
cpp
C++
PandoraDLL/cwPandoraUIApp.cpp
pegasusTrader/PandoraTraderUI
e79761390b60a54c195b6b50e34943e79576f917
[ "Apache-2.0" ]
7
2020-07-26T13:52:30.000Z
2021-11-29T11:39:13.000Z
PandoraDLL/cwPandoraUIApp.cpp
zhuzhenping/PandoraTraderUI
e79761390b60a54c195b6b50e34943e79576f917
[ "Apache-2.0" ]
null
null
null
PandoraDLL/cwPandoraUIApp.cpp
zhuzhenping/PandoraTraderUI
e79761390b60a54c195b6b50e34943e79576f917
[ "Apache-2.0" ]
13
2020-09-11T00:45:56.000Z
2022-03-26T15:02:24.000Z
#include "stdafx.h" #include "cwPandoraUIApp.h" cwPandoraUIApp::cwPandoraUIApp() : m_ppOrder(NULL) , m_ipOrderCount(0) , m_ppPosition(NULL) , m_ipPositionCount(0) , m_ppTrade(NULL) , m_ipTradeCount(0) { } cwPandoraUIApp::~cwPandoraUIApp() { if (m_ppOrder != NULL) { delete[]m_ppOrder; m_ppOrder = NULL; } ...
21.486842
107
0.690447
[ "vector" ]
72272a96cf5b53907588f6410a7c3fe6bdeb4b66
2,859
cpp
C++
Co-Simulation/Sumo/sumo-1.7.0/src/guinetload/GUIEdgeControlBuilder.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/guinetload/GUIEdgeControlBuilder.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/guinetload/GUIEdgeControlBuilder.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
40.267606
148
0.575026
[ "shape", "vector" ]
72374d1749c26fca163483dff244290b93fc1fa6
11,967
cpp
C++
Projects/Chess with mouse handling/main.cpp
umerfarooqpucit/Object-Oriented-Programming
4b8ef68d7f92c7768f72d0534787e8ac11727a55
[ "MIT" ]
null
null
null
Projects/Chess with mouse handling/main.cpp
umerfarooqpucit/Object-Oriented-Programming
4b8ef68d7f92c7768f72d0534787e8ac11727a55
[ "MIT" ]
null
null
null
Projects/Chess with mouse handling/main.cpp
umerfarooqpucit/Object-Oriented-Programming
4b8ef68d7f92c7768f72d0534787e8ac11727a55
[ "MIT" ]
null
null
null
#include<Windows.h> #include<iostream> #include<conio.h> #include<fstream> #include<string> #include "Chess.h" using namespace std; /* PLEASE OPEN IN 100x30 CONSOLE*/ void playGame(); HANDLE hStdin; DWORD fdwSaveOldMode; void GetMousePosWin(MOUSE_EVENT_RECORD); COORD CursorPosition; void setCursor(bool visible, DW...
29.116788
136
0.562296
[ "shape" ]
cf0365672b8f50f7475db89fc7fa222b489e98e1
7,870
cpp
C++
Medusa/Medusa/Application/View/win/WinGLView.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
143
2015-11-18T01:06:03.000Z
2022-03-30T03:08:54.000Z
Medusa/Medusa/Application/View/win/WinGLView.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
1
2019-10-23T13:00:40.000Z
2019-10-23T13:00:40.000Z
Medusa/Medusa/Application/View/win/WinGLView.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
45
2015-11-18T01:17:59.000Z
2022-03-05T12:29:45.000Z
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaPreCompiled.h" #include "WinGLView.h" #include "Application/Window/win/WinWindow.h" #include "Graphics/ResolutionAdapter.h" #include "Core/Chrono/Prof...
35.133929
151
0.751715
[ "render" ]
cf05e77a0f12b7826b9cc443961fa5c1b2b86502
2,811
cpp
C++
expdist/mex_expdist.cpp
Jonathanzhao02/smlm_datafusion2d
0aff4e6025840bb0d9828e7e5dc9c13c3d241433
[ "Apache-2.0" ]
6
2018-08-28T11:40:00.000Z
2019-09-11T14:34:48.000Z
expdist/mex_expdist.cpp
Jonathanzhao02/smlm_datafusion2d
0aff4e6025840bb0d9828e7e5dc9c13c3d241433
[ "Apache-2.0" ]
7
2018-11-16T18:31:20.000Z
2022-03-29T19:54:44.000Z
expdist/mex_expdist.cpp
Jonathanzhao02/smlm_datafusion2d
0aff4e6025840bb0d9828e7e5dc9c13c3d241433
[ "Apache-2.0" ]
4
2018-10-19T08:58:48.000Z
2022-03-26T20:08:49.000Z
#include <stdio.h> /*%%===================================================================== * %% Project: Pointset Registration using Gaussian Mixture Model * %% Module: $RCSfile: mex_GaussTransform.c,v $ * %% Language: C * %% Author: $Author: bing.jian $ * %% Date: $Date: 2008-11-13 16:34:29 -0500...
28.683673
84
0.559232
[ "model" ]
cf077a79189127e74f8b4d7460e787cd60ceea69
1,537
cpp
C++
Conteneurs/main.cpp
guillaumew16/PI_INF442_distrJoin
3600dda77075bfa1bbd9f48e37c609b28ea2c602
[ "ISC" ]
null
null
null
Conteneurs/main.cpp
guillaumew16/PI_INF442_distrJoin
3600dda77075bfa1bbd9f48e37c609b28ea2c602
[ "ISC" ]
null
null
null
Conteneurs/main.cpp
guillaumew16/PI_INF442_distrJoin
3600dda77075bfa1bbd9f48e37c609b28ea2c602
[ "ISC" ]
null
null
null
#include <iostream> #include <ctime> #include "Conteneurs.hpp" #define SAMPLE_SIZE 10000 using namespace std; int main(int argc, char** argv) { clock_t t; vector<vector<int> > sample(SAMPLE_SIZE); for (int x = 0; x < SAMPLE_SIZE; ++x) { for (int y = 0; y < 4; ++y) { sample[x].push_back(y*x); ...
21.957143
90
0.501627
[ "vector" ]
cf12125e7948ea922036129cf68036c7fe55bcd7
3,678
hpp
C++
include/engine/api/matrix_api.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
null
null
null
include/engine/api/matrix_api.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
null
null
null
include/engine/api/matrix_api.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
1
2021-11-24T14:24:44.000Z
2021-11-24T14:24:44.000Z
#ifndef ENGINE_API_MATRIX_HPP #define ENGINE_API_MATRIX_HPP #include "engine/api/base_api.hpp" #include "engine/api/json_factory.hpp" #include "engine/api/matrix_parameters.hpp" #include "engine/datafacade/datafacade_base.hpp" #include "engine/guidance/assemble_geometry.hpp" #include "engine/guidance/assemble_leg.hp...
33.743119
98
0.610658
[ "object", "vector", "transform" ]
cf1f12e8f9021e2561549015afb2f55fe50c6048
3,367
cpp
C++
test/pubsub_test.cpp
sudo-panda/shadesmar
f181e2b7c4bd3ea5b84d797449285e316402fdd3
[ "MIT" ]
null
null
null
test/pubsub_test.cpp
sudo-panda/shadesmar
f181e2b7c4bd3ea5b84d797449285e316402fdd3
[ "MIT" ]
null
null
null
test/pubsub_test.cpp
sudo-panda/shadesmar
f181e2b7c4bd3ea5b84d797449285e316402fdd3
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2020 Dheeraj R Reddy 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...
29.79646
80
0.686962
[ "vector" ]
cf2dbcc433b4aa69651ea1d652f1776c06b82c78
7,228
cxx
C++
src/Cxx/Visualization/KochSnowflake.cxx
cvandijck/VTKExamples
b6bb89414522afc1467be8a1f0089a37d0c16883
[ "Apache-2.0" ]
309
2017-05-21T09:07:19.000Z
2022-03-15T09:18:55.000Z
src/Cxx/Visualization/KochSnowflake.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
379
2017-05-21T09:06:43.000Z
2021-03-29T20:30:50.000Z
src/Cxx/Visualization/KochSnowflake.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
170
2017-05-17T14:47:41.000Z
2022-03-31T13:16:26.000Z
#include <vtkSmartPointer.h> #include <vtkPoints.h> #include <vtkMath.h> #include <vtkCellArray.h> #include <vtkPolyData.h> #include <vtkIntArray.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkLookupTable....
33.934272
90
0.614416
[ "render" ]
cf2df0c32d542ecb47e6bd6875c7b407959148fb
1,094
cpp
C++
src/triangulate.cpp
zhearing/basic_Structure_from_Motion
110f4bca4a78c7a9357b6c2a6475ba922431677f
[ "MIT" ]
null
null
null
src/triangulate.cpp
zhearing/basic_Structure_from_Motion
110f4bca4a78c7a9357b6c2a6475ba922431677f
[ "MIT" ]
null
null
null
src/triangulate.cpp
zhearing/basic_Structure_from_Motion
110f4bca4a78c7a9357b6c2a6475ba922431677f
[ "MIT" ]
null
null
null
// Copyright 2018 Zeyu Zhong // Lincese(MIT) // Author: Zeyu Zhong // Date: 2018.5.7 #include "../src/triangulate.h" Mat triangulate::triangulate_points(vector <cv::Point2f> f1, vector <cv::Point2f> f2, float scale, Mat P2, Mat P1) { // cout<<"P1 = "<<P1<<endl; // cout<<"P2 = "<<P2<<endl; Mat J(4, 4, CV_3...
26.682927
116
0.493601
[ "vector" ]
cf31f95a4f19fdc2d74983da5042991cd7572d45
3,654
cpp
C++
src/make_groundtruth_in_texmex.cpp
kampersanda/consistent_weighted_sampling
6fbcf372a23d778b4f346e1c181004d7a9e555c0
[ "MIT" ]
6
2019-07-22T08:53:14.000Z
2021-12-21T22:03:37.000Z
src/make_groundtruth_in_texmex.cpp
tonellotto/consistent_weighted_sampling
7d006b484ee4f3dfa048036210028fd239d2500a
[ "MIT" ]
null
null
null
src/make_groundtruth_in_texmex.cpp
tonellotto/consistent_weighted_sampling
7d006b484ee4f3dfa048036210028fd239d2500a
[ "MIT" ]
2
2021-02-17T17:09:58.000Z
2021-03-01T11:09:33.000Z
#include "cmdline.h" #include "misc.hpp" using namespace texmex_format; template <class InType> int run(const cmdline::parser& p) { auto base_fn = p.get<string>("base_fn"); auto query_fn = p.get<string>("query_fn"); auto groundtruth_fn = p.get<string>("groundtruth_fn"); auto dim = p.get<uint32_t>("dim...
32.625
104
0.559661
[ "vector" ]
cf3dc9ea693220f09be5c153dffb9d36f1a02a3c
2,920
cpp
C++
ScrapEngine/ScrapEngine/Engine/Rendering/RenderPass/GuiRenderPass/GuiRenderPass.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
118
2019-10-12T01:29:07.000Z
2022-02-22T08:08:18.000Z
ScrapEngine/ScrapEngine/Engine/Rendering/RenderPass/GuiRenderPass/GuiRenderPass.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
15
2019-09-02T16:51:39.000Z
2021-02-21T20:03:58.000Z
ScrapEngine/ScrapEngine/Engine/Rendering/RenderPass/GuiRenderPass/GuiRenderPass.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
11
2019-10-21T15:53:23.000Z
2022-02-20T20:56:39.000Z
#include <Engine/Rendering/RenderPass/GuiRenderPass/GuiRenderPass.h> #include <array> #include <Engine/Rendering/DepthResources/VulkanDepthResources.h> #include <Engine/Rendering/Device/VulkanDevice.h> #include <Engine/Debug/DebugLog.h> //Class ScrapEngine::Render::GuiRenderPass::GuiRenderPass(const vk::Format& swap_...
28.627451
139
0.768836
[ "render" ]
cf3e8f7617611cd57b857c6fe2f3050cf9f0d175
2,445
cpp
C++
Sources/x10/xla_tensor/ops/adaptive_avg_pool2d.cpp
Shashi456/swift-apis
a89e74542e450a00aefcbcdea44ddb235a2d9c6f
[ "Apache-2.0" ]
null
null
null
Sources/x10/xla_tensor/ops/adaptive_avg_pool2d.cpp
Shashi456/swift-apis
a89e74542e450a00aefcbcdea44ddb235a2d9c6f
[ "Apache-2.0" ]
null
null
null
Sources/x10/xla_tensor/ops/adaptive_avg_pool2d.cpp
Shashi456/swift-apis
a89e74542e450a00aefcbcdea44ddb235a2d9c6f
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 TensorFlow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
36.492537
75
0.714928
[ "shape", "vector" ]
cf460aac2f89401795c86b6aa3521486c9585bff
8,297
cpp
C++
toynet/examples/diff2/diff2.t.cpp
pbrunelle/w2v
2ae0d95283c67ae5e27823a81edf05821280dae0
[ "MIT" ]
null
null
null
toynet/examples/diff2/diff2.t.cpp
pbrunelle/w2v
2ae0d95283c67ae5e27823a81edf05821280dae0
[ "MIT" ]
2
2020-11-28T18:42:15.000Z
2020-11-29T23:02:51.000Z
toynet/examples/diff2/diff2.t.cpp
pbrunelle/toynet
2ae0d95283c67ae5e27823a81edf05821280dae0
[ "MIT" ]
null
null
null
#include <toynet/examples/diff2/diff2.h> #include <toynet/stlio.h> #include <toynet/ublas/io.h> #include <toynet/ublas/convert.h> #include <iostream> #include <boost/test/unit_test.hpp> using namespace toynet; template<class T> std::string print(const T& v) { std::ostringstream oss; oss << v; return oss.s...
40.871921
116
0.650356
[ "vector" ]
cf48004798ff9eace4400d1f8250b8ccbee9f7fb
1,452
hh
C++
src/misc/gradient.hh
jhidding/nerve
91426397f1767c0981386244508faccc7bc5836e
[ "Apache-2.0" ]
null
null
null
src/misc/gradient.hh
jhidding/nerve
91426397f1767c0981386244508faccc7bc5836e
[ "Apache-2.0" ]
null
null
null
src/misc/gradient.hh
jhidding/nerve
91426397f1767c0981386244508faccc7bc5836e
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../base/mvector.hh" #include "../base/boxconfig.hh" namespace Misc { template <unsigned R> class Gradient { typedef System::mVector<double, R> Vector; System::Array<double> data; System::ptr<System::cVector<R>> b; public: typedef Vector value_type; Gradient(System::ptr<System...
19.890411
85
0.550275
[ "vector" ]
cf48f57b0a84c1c5ce7702bdc37867226981126f
1,900
cc
C++
caffe2/operators/rowmul_op.cc
brooks-anderson/pytorch
dd928097938b6368fc7e2dc67721550d50ab08ea
[ "Intel" ]
7
2021-05-29T16:31:51.000Z
2022-02-21T18:52:25.000Z
caffe2/operators/rowmul_op.cc
stas00/pytorch
6a085648d81ce88ff59d6d1438fdb3707a0d6fb7
[ "Intel" ]
1
2021-03-25T13:42:15.000Z
2021-03-25T13:42:15.000Z
caffe2/operators/rowmul_op.cc
stas00/pytorch
6a085648d81ce88ff59d6d1438fdb3707a0d6fb7
[ "Intel" ]
1
2021-12-26T23:20:06.000Z
2021-12-26T23:20:06.000Z
#include "caffe2/operators/rowmul_op.h" namespace caffe2 { namespace { // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) REGISTER_CPU_OPERATOR(ReduceTailSum, ReduceTailSumOp<float, CPUContext>); // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) REGISTER_CPU_OPERATOR(RowMul, Row...
32.758621
79
0.678947
[ "vector" ]
cf4d885f8c5221e2517fe0d5d6c1c87609ad3c82
2,194
cpp
C++
Gfg/C++/Find the number of islands.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
289
2021-05-15T22:56:03.000Z
2022-03-28T23:13:25.000Z
Gfg/C++/Find the number of islands.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
1,812
2021-05-09T13:49:58.000Z
2022-01-15T19:27:17.000Z
Gfg/C++/Find the number of islands.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
663
2021-05-09T16:57:58.000Z
2022-03-27T14:15:07.000Z
//Link to solution: //https://practice.geeksforgeeks.org/problems/find-the-number-of-islands/1 /*Algorithm: We will use DFS and check all 8 adjacent grid block. Number of times DFS will be called is equal to number of islands. */ #include<bits/stdc++.h> using namespace std; class Solution { public: ...
21.722772
119
0.43938
[ "vector" ]
cf4ea1711b8a68ef5c0db4fe01626dc409ca5aae
25,701
cpp
C++
designer/lib/shared/qdesigner_utils.cpp
liyuzhao/QWidgetDemo
a056894da7b7385e37a523ea4825cea48c82d297
[ "MulanPSL-1.0" ]
3,095
2019-10-11T03:00:33.000Z
2022-03-31T08:15:13.000Z
designer/lib/shared/qdesigner_utils.cpp
liyuzhao/QWidgetDemo
a056894da7b7385e37a523ea4825cea48c82d297
[ "MulanPSL-1.0" ]
28
2019-11-12T07:24:06.000Z
2022-02-28T02:04:48.000Z
designer/lib/shared/qdesigner_utils.cpp
liyuzhao/QWidgetDemo
a056894da7b7385e37a523ea4825cea48c82d297
[ "MulanPSL-1.0" ]
1,023
2019-10-09T12:54:07.000Z
2022-03-30T04:02:07.000Z
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** C...
34.967347
182
0.621688
[ "object" ]
cf510de5b6be48987bf905b0493ec3e0a1b325b9
608
cpp
C++
Arrays/missing_n_repeat.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
Arrays/missing_n_repeat.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
Arrays/missing_n_repeat.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> repeatedNumber(const vector<int> &A) { long a = 0, b = 0, a2 = 0, b2 = 0; for(int i = 1; i <= A.size(); ++i) { a += i; a2 += i * i; b += A[i - 1]; b2 += (long)A[i - 1] * (long)A[i - 1]; } long ypx = (a2 - b2)...
20.965517
50
0.419408
[ "vector" ]
cf5184bbbc9ad4f50b41e219336c69b656620653
8,075
cpp
C++
source/code/utilities/filesystem/paths/lib.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/utilities/filesystem/paths/lib.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/utilities/filesystem/paths/lib.cpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#include "code/utilities/filesystem/paths/lib.hpp" #include "code/utilities/filesystem/files/observers/lstat_wrap/lib.hpp" #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> #include <string> #include <unistd.h> #include <sys/types.h> #include <pwd.h> #include "boost/range/adaptor/reversed.hpp" // bazel ...
24.469697
127
0.670341
[ "vector" ]
cf5430ba03118002acaefce4b9722c61e185a598
3,695
cpp
C++
materials/subsurface.cpp
cathook/rendering_final_proj
d0c147b563d6949839983bf38317c81367e2ed4c
[ "BSD-2-Clause" ]
3
2020-12-09T00:03:29.000Z
2021-07-03T13:31:41.000Z
materials/subsurface.cpp
piwell/CS348B-pbrt
147a9a3ef55cfcb0a1ad0132c63d1ac2f928418f
[ "BSD-2-Clause" ]
null
null
null
materials/subsurface.cpp
piwell/CS348B-pbrt
147a9a3ef55cfcb0a1ad0132c63d1ac2f928418f
[ "BSD-2-Clause" ]
1
2020-11-28T12:33:24.000Z
2020-11-28T12:33:24.000Z
/* pbrt source code Copyright(c) 1998-2012 Matt Pharr and Greg Humphreys. This file is part of pbrt. 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...
41.055556
86
0.717727
[ "transform" ]
cf582744e0d5c46ec91634e38aabfca769be5d8a
2,649
hpp
C++
VdfParser.hpp
cursey/vdf-parser
8d43593e9cda0d3bc2602e4bb4dfcbbf541f3b9e
[ "MIT" ]
null
null
null
VdfParser.hpp
cursey/vdf-parser
8d43593e9cda0d3bc2602e4bb4dfcbbf541f3b9e
[ "MIT" ]
null
null
null
VdfParser.hpp
cursey/vdf-parser
8d43593e9cda0d3bc2602e4bb4dfcbbf541f3b9e
[ "MIT" ]
null
null
null
#include <iostream> #include <stack> #include <unordered_map> #include <tao/pegtl.hpp> // https://developer.valvesoftware.com/wiki/KeyValues namespace vdf { struct Object { std::string name{}; std::string value{}; std::unordered_map<std::string, Object> kvs{}; Object& operator[](const std::string& ke...
28.483871
107
0.616459
[ "object" ]