sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
be05250cb67dbfa9e7f4e7c9a2b11e7ba20f29057d7f91ec15226a033416cfeb
C++
7,310
197
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/Actor/Factory/BlueprintActorFactory.h" #include "Carla/Actor/ActorBlueprintFun...
c0fced6f63d3ff1ca1c195c3191b3034705799a665eee32b27df2907b4a90b56
C++
7,315
127
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <Rcpp.h> using namespace Rcpp; #ifdef RCPP_USE_GLOBAL_ROSTREAM Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get(); Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get(...
45cb6537aeb2e01fbffd04ce639cba2eadb412603656ce721a531824b9a9a99f
C++
7,350
198
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/ros2/publishers/AutowareVehicleStatusPublisher.h" #include "carla/Logging.h" #...
6eacf704dd21ae70cb16546cbad7c19dbfe2b5d7ce19add6ba8685f2551b1186
C++
7,365
236
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * * This file is part of Ultraliser < http...
50a712cb9a140650dc1ef0fac73918e251c72877ff9c8c6a2e84941b1a4d4f92
C++
7,371
185
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. // The Traffic Manager's LocalizationStage remembers, for each vehicle at the // entrance of a ...
5adceb413fc26265654ee1e2f937073cfe064c94fb0570e9aff81610c8fbc7ff
C++
7,377
281
#include "VolumeReader.h" #include <common/Headers.hh> #include <utilities/String.h> #ifdef ULTRALISER_USE_NRRD #include <nrrdloader/NRRDLoader.h> #endif namespace Ultraliser { VolumeData* readHeaderFile(const std::string& filePath) { // Store the data in a VolumeData object auto volumeData = new VolumeData(...
15f28a67ce8f214005739c228e7f935c945f12a429de67de335272c277173c48
C++
7,390
248
// Copyright (c) 2018-2020 CVC. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/agents/navigation/PIDController.h" #include "carla/agents/navigation/Misc.h" #include "carla/client/Vehicle.h" #include "carla/client/Waypoint.h" #i...
652934a59e2c5cc34059340be6e1e54d7f4c014ee82f081923b92d9c5aa875da
C++
7,406
279
#include <ACTIONet.h> #include <atomic> #include <thread> template <class Function> inline void ParallelFor(size_t start, size_t end, size_t numThreads, Function fn) { if (numThreads <= 0) { numThreads = SYS_THREADS_DEF; } if (numThreads == 1) { for (size_t id = start; id < end;...
ae5bce8058c97a3658763a1c8fd6691464ee732e509cf494c166cbca5d71ecc4
C++
7,433
205
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "test.h" #include <carla/ros2/publishers/DvsEventEncoding.h> #include <array> #inclu...
9bd2e59215e0d6456c2a2f9a9968caf0bcfb528ba4a3e074b5898638fb9dbc98
C++
7,487
215
/* File Name: MIRDWT.c Last Modification Date: 06/14/95 16:22:45 Current Version: MIRDWT.c 2.4 File Creation Date: Wed Oct 12 08:44:43 1994 Author: Markus Lang <lang@jazz.rice.edu> Copyright (c) 2000 RICE UNIVERSITY. All rights reserved. Created by Markus Lang, Department of ECE, Rice University. This sof...
dca682f578e371a85ad85929b2e3ec258d735c2d35e2bff4e735d0f687cf0130
C++
7,487
184
/* * qi_qmt.cpp - Part of QUantitative Imaging Tools * * Copyright (c) 2018 Tobias Wood, Samuel Hurley, Erika Raven * * 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/M...
b02713dfa6664af5bb5df46014740e99ba1ff7f2d425501a602c8ea36c8bb427
C++
7,539
304
/*************************************************************************************************** * Copyright (c) 2013 * Consiglio Nazionale delle Ricerche, Istituto di Matematica Applicata e Tecnologie Informatiche * Sezione di Genova, IMATI-GE / CNR * * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / ...
e9f9ec4ae205046b26ed364004b693ff4316e4a0a9b80485160f10ff7896d520
C++
7,565
262
/* Copyright (C) 2016 Diego Darriba This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distrib...
bdb7c46c73cdebb0478d8e0c15d862953a748d8680951d1b5113230d4a6497e6
C++
7,589
198
/* * 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...
451940d817facc1773bad6e45d21963a8d6c8b86fd48e54a659c2e8bedd0eb38
C++
7,591
288
#include "ModelModules.hh" #include "RegClassTree.hh" #include "str.hh" #include "LinearAlgebra.hh" #include <iostream> #include <vector> namespace aku { ModelModule* ModelTransformer::get_new_module(const std::string &name, HmmSet *model) { ModelModule *mod = NULL; if (name == ConstrainedMllr::get_name()) mod ...
272cb234d6a9655d7e44722bf84fd4cfa87d3d3c2619ca2f3cebf8fcdaa5bd29
C++
7,623
235
/** * This program will run FID processing and phase correction to generate a .ft2 file */ #include <vector> #include <valarray> #include <fstream> #include <iostream> #include <algorithm> #include "commandline.h" #include "fid_2d.h" #include "spectrum_phasing.h" #include "DeepConfig.h" namespace phasing_helper {...
c42a6dee160ccbe02ec1c627c4f9d773a487fba5db45a1e994aac32e02310e84
C++
7,630
171
/* * qihdr.cpp * * Created by Tobias Wood on 11/06/2015. * Copyright (c) 2015 Tobias Wood. * * 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/. * */ #inclu...
59464db1e5503bff07f60745806c77f6edaaad8f846d7d5869ea6ca68dab6ac4
C++
7,642
296
/*************************************************************************************************** * Copyright (c) 2016 - 2022 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * * This file is part of Ultraliser < http...
7b3288a6ae76f5babbcd94f40e6f5696cb6b0a1d7c0d7d443fff184ac687ba55
C++
7,649
270
/*************************************************************************************************** * Copyright (c) 2015 - 2022 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * All rights reserved. Do not distribute without permission. * Author(s): * Nadir Roman Guerrero <nad...
be7476dd68516ee5416096c301a04536663359d87de48f37b08e246f8733c0d3
C++
7,670
200
/** * Copyright 2021 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...
326bbbcf31ff47f8afee37770609f4719c78ae3a6dbc6890d63fcef50303621e
C++
7,673
162
/*************************************************************************** lj_coul_soft_gapsys_ext.cpp ------------------- Functions for LAMMPS access to lj/cut/coul/cut/soft/gapsys acceleration routines. ______________________________________________...
cf18c5dbb4bdcf9587e38619e8b4b1e078512fcb8676c3d419409f518b62ee5a
C++
7,673
162
/*************************************************************************** lj_gromacs_coul_gromacs_ext.cpp ------------------- Functions for LAMMPS access to lj/gromacs/coul/gromacs acceleration routines. ______________________________________________...
c3c68865d93a19faafa52090aa4e1ff23e3271e1f4f2c548972b5303e5a8d901
C++
7,697
300
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "ProceduralWaterManager.h" #include <util/ue-header-guard-begin.h> #include "Componen...
fafce01fa2443839b3e08e42eb202eab5afaa45873d5e3d02b005dd716ebc5df
C++
7,704
180
/*************************************************************************** lj_class2_coul_cut_soft_gapsys.cpp ------------------- Class for acceleration of the lj/class2/coul/cut/soft/gapsys pair style. ________________________________________________...
4244310230917cbb2b9d88db9d57ed1932303bfbb9eef56aee50659f5863f974
C++
7,740
193
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/Sensor/SceneCaptureCamera_RayTracedLensDistance.h" #include "Carla.h" #include ...
32010f964d9633904b8de805bfc4c3b71029cdd0e3587223bd96c3dbf84f8c56
C++
7,744
322
#include <ACTIONet.h> #include <GraphHelper.h> #include <RBConfigurationVertexPartition.h> #include <CPMVertexPartition.h> #include <Optimiser.h> namespace ACTIONet { vec signed_cluster(sp_mat A, double resolution_parameter = 1.0, uvec initial_clusters = uvec(), int seed = 0) { int nV = A.n_rows; int nE = A.n_no...
82dbdae4673a56c72b4c55843fb341e6f5830384f4051a4468eeb6b271ea2014
C++
7,775
205
/* * qi_cestlorentz.cpp * * Copyright (c) 2017 Tobias Wood. * * 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 "ceres/ceres.h" #include <Eige...
692b35b2b3b169fbfd164874b72a382521c68523f4d5d3a2f48c87a10c37218e
C++
7,788
203
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/Sensor/PixelReader.h" #include "Carla.h" #include <util/ue-header-guard-begin....
bba13c8cb45862607db04c84f33a49727767b4eb45efc28e2029ca07c2fbcb4b
C++
7,810
212
/** * Copyright 2021 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...
c472dcc21faef9aea7d58a683e8919529134fec6f506310dc290a47b337ddf8f
C++
7,812
296
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * * This file is part of Ultraliser < http...
a2f973fa5baec7f2c724a3fccd8d0fbccb732a054bdbcc7d0cb6bf2443163822
C++
7,833
240
/*************************************************************************************************** * Copyright (c) 2013 * Consiglio Nazionale delle Ricerche, Istituto di Matematica Applicata e Tecnologie Informatiche * Sezione di Genova, IMATI-GE / CNR * * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / ...
9bb9a69e0414ca486b2e6a570d218743d2ca56f0059dcf30595080934ad13745
C++
7,843
197
/*! \file FindAndMarkSeedPoints.cpp \brief Find and mark the seedpoint in the mesh by using the material class. \version 1.0.0 \date Andreas Wachter 01.09.15 \author Andreas Wachter\n Institute of Biomedical Engineering\n Kit\n http://www.ibt.kit.de\n \sa Synopsis \ref FindAndMarkSeedPoints ...
48a6eb77cd62c81ef494cee6a72c71a923af81e4587694ab66df1e17112d6bda
C++
7,848
197
/*! \file FindAndMarkSeedPoints.cpp \brief Find and mark the seedpoint in the mesh by using the material class. \version 1.0.0 \date Andreas Wachter 01.09.15 \author Andreas Wachter\n Institute of Biomedical Engineering\n Kit\n http://www.ibt.kit.de\n \sa Synopsis \ref FindAndMarkSeedPoints ...
1a23393b96f84cdf6c4ab792d1f496e884d3102925551ff1654798ef034fb34b
C++
7,869
249
// Copyright 2017 Mike Fricker. All Rights Reserved. #include "StreetMapSceneProxy.h" #include "StreetMapRuntime.h" #include "StreetMapSceneProxy.h" #include "StreetMapComponent.h" #include "Runtime/Engine/Public/SceneManagement.h" #include "Runtime/Renderer/Public/MeshPassProcessor.h" #include "Runtime/Renderer/Publi...
9e0bed2e5220b876d1a571b1fe8166a2f84c4f17dd8a8684a24a11b0aae25598
C++
7,874
224
// Copyright (c) 2018-2020 CVC. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. // // AgentDemo — end-to-end driveability test for the C++ port of // agents.navigation.* (issue carla-simulator/carla#9554). // // Spawns a random vehicle at a rando...
75e51b961ff0da2f1e11e1ba9a1afe0adabbb2692a709fc419d90356265a97db
C++
7,877
215
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <RcppArmadillo.h> #include <Rcpp.h> using namespace Rcpp; #ifdef RCPP_USE_GLOBAL_ROSTREAM Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get(); Rcpp::Rostream<false>& Rcpp::R...
71026a0d4c5299194c459937659055a69fa4a0d52621bb96ed0e9ce45e230ea3
C++
7,881
187
/*************************************************************************** lj_gromacs_coul_gromacs.cpp ------------------- Class for acceleration of the lj/gromacs/coul/gromacs pair style. ______________________________________________________________...
26e9a14236dd36abf1f966f9a366b11e8849896e4c95bfd06ceb9859d9827962
C++
7,886
274
// // ---------------- // decode-stream.cc // ---------------- // // A sample C++ program that demonstrates decoding using AaltoASR library. Reads // raw audio from the standard input and writes the recognition result and a // confidence score to the standard output. The input audio has to be in the // format specified...
5e32f78f11ba96d2e8fe80f0d71f0c400d16f8aad73e099fa5334da42fad50d9
C++
7,901
338
#include <cmath> #include <algorithm> #include "dnn_base.h" pool1d::pool1d(){}; pool1d::~pool1d(){}; /** * @brief set the size of the max pooling layer * * @param m number of datapoint of each input, output * @param n size of the pooling window */ void pool1d::set_size(int m, int n) { nfilter = m; npool...
0a07c21b8dbe9f10c1f5f6a11a3bfdb0d9acb715a6432eada90c4d438fd1c12f
C++
7,914
212
/** * Copyright 2021 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...
c6671a76543062fde8288fddf6740b6cada096073a549493a98c226e88452f57
C++
7,935
163
/*************************************************************************** lj_class2_coul_cut_soft_gapsys_ext.cpp ------------------- Functions for LAMMPS access to lj/class2/coul/cut/soft/gapsys acceleration routines. ________________________________...
83aac6eb2edf1e9f9bf1312fdd3f6b8cd675b39dc7344f014fab346e6bf201d9
C++
7,939
257
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. #include "cpu/vision.h" // implementation taken from Caffe2 template <typename T> struct PreCalc { int pos1; int pos2; int pos3; int pos4; T w1; T w2; T w3; T w4; }; template <typename T> void pre_calc_for_bilinear_interpolate( ...
2fb47c70f0739d61c84fdce6d67606a10d3983b9c0c3606e8a91646e278cdad6
C++
7,941
257
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. #include "cpu/vision.h" // implementation taken from Caffe2 template <typename T> struct PreCalc { int pos1; int pos2; int pos3; int pos4; T w1; T w2; T w3; T w4; }; template <typename T> void pre_calc_for_bilinear_interpolate( ...
d20fafb7f8b4b12a6a416a1207e3c0b6186672b1bc33d1fcf21d39e049b25b31
C++
7,942
250
/**************************************************************************************** Copyright (C) 2015 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accompanies ...
5fb316525fa07f43dbd315b2457805aaf19d4589323732111b525a70e925bc27
C++
7,956
259
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * Juan Jose Garcia Cantero < juanjose....
219b087d2c5d6827e7f8e0b1326a94f90c9d38cbef72293667a6ac9635f5103c
C++
7,986
288
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * * This file is part of Ultraliser < http...
d7d94cd9a69380b57d7920dfaf3d6f2586505d57e57b4ee08e60bf25921f7349
C++
8,001
241
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/Actor/CarlaBlueprintRegistry.h" #include "Carla.h" #include "Carla/ContentPacks...
bc38351d34af10380d7cf6a2830f45b87a2f0f265c6db11b5b4ea989537025ff
C++
8,002
195
/* * kcGMLM_mex_computeLL_gather.cu. Gathers results of LL computation from an async call. * Mex function to call the log likelihood function in a GMLM object. * Takes 3 arguments: ptr (in long int form) to GMLM object * boolean (is double) for if the object is double precision (or single) *...
af2b325fd30ec7c6a721d0adde2b7ee5b15689913dfd667fe0c1aca2ca86fa96
C++
8,040
260
#include "pytorch_cpp_helper.hpp" #ifdef MMCV_WITH_CUDA Tensor NMSCUDAKernelLauncher(Tensor boxes, Tensor scores, float iou_threshold, int offset); Tensor nms_cuda(Tensor boxes, Tensor scores, float iou_threshold, int offset) { return NMSCUDAKernelLauncher(boxes, scores, iou_threshold, ...
0343664213826d5a95650fdb571ba7a40473ffd93cdf5d8db42806b931d10b44
C++
8,045
200
/* * Copyright 2021 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 or a...
5e1818aefa1553d4f561858f3b0c9cbaae5ce9905a8099c4374b2545d7298a54
C++
8,058
261
#include <fstream> #include <string> #include <iostream> #include <math.h> #include <algorithm> #include "io.hh" #include "str.hh" #include "conf.hh" #include "HmmSet.hh" #include "util.hh" using namespace aku; conf::Config config; HmmSet model1; HmmSet model2; int main(int argc, char *argv[]) { std::string m1...
a6541af46d8c40993ddff7d7def480139a39bd09a2d38551bba75983b0a2acb0
C++
8,065
268
#include "HTKLatticeGrammar.hh" #include "misc/str.hh" void HTKLatticeGrammar::read_error(std::string &s) { fprintf(stderr,"HTKDialogLattice read(), error in line %d: '%s'\n", m_lineno, s.c_str()); exit(-1); } bool HTKLatticeGrammar::read_clean_line(std::string &str, FILE *file, bool b) { bool ok = str::read_...
2e7b589d5ea15af93e12a0bcbb3c7b075b5f307e3ff9fdfa5b36a697dd53489a
C++
8,073
239
// Modified from // https://github.com/princeton-vl/CornerNet-Lite/tree/master/core/models/py_utils/_cpools/src #include "pytorch_cpp_helper.hpp" Tensor bottom_pool_forward(Tensor input) { // Initialize output Tensor output = at::zeros_like(input); // Get height int64_t height = input.size(2); output.copy_(i...
dcd97cb5637c8f51c4b5ae19620a27ea20ef7af7ae10f4458bcebe262796abe2
C++
8,089
238
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/streaming/detail/tcp/Client.h" #include "carla/BufferPool.h" #include "carla/D...
ce7c09a4069bf7e104d686a55ca911ad03bb2f9abcfa9a60a84a93200054984d
C++
8,119
218
/* * qi_rfprofile.cpp * * Copyright (c) 2017 Tobias Wood. * * 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 "Eigen/Core" #include <unsuppor...
896f08f49be880e59b5e8505cdfc322a05b7deb788b34cc10d3de7b7c0a35550
C++
8,130
203
/* * Copyright 2021 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 or a...
76b0964da1ee386eca6a9b448369e108836ab2e9fbfbd71bf7ccf9767131f80a
C++
8,156
241
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/road/element/Geometry.h" #include "carla/Debug.h" #include "carla/Exception.h"...
a01847a226a793dab38116ea39ba9bd02998e2f4c47e99b55c918175bf9dabe6
C++
8,170
232
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // Copyright (c) 2019 Intel Corporation // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "CarSimManagerComponent.h" #include "Carla/Gam...
6298cdd82fa1a7bc7b4f2a8cd33569a6c150b44e33535813a5781cc97ff06878
C++
8,186
256
#include <fstream> #include <string> #include <string.h> #include <iostream> #include "io.hh" #include "str.hh" #include "conf.hh" #include "HmmSet.hh" #include "FeatureGenerator.hh" #include "Recipe.hh" #include "SpeakerConfig.hh" #include "util.hh" using namespace aku; std::string out_file; int f; int info; int a...
db46aca18b5340345f2cb03d50b66a8a25be23e872e1f090f12af0d90c8daa3a
C++
8,212
214
/** * Copyright 2021 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...
7794421f93fc9f065ffcce3d5578a3858f3eed909188294bb18ab9144c07bfa7
C++
8,213
248
#include "parrots_cpp_helper.hpp" #define DIVUP(x, y) (((x) + (y)-1) / (y)) int const threadsPerBlock = sizeof(unsigned long long) * 8; DArrayLite NMSCUDAKernelLauncher(const DArrayLite boxes_sorted, const DArrayLite order, const DArrayLite areas, float...
16acf355a6b7f424c4c26cca0e50cc62ffc81d210dee6e165310de0b27f457a9
C++
8,234
270
#include <fstream> #include <iostream> #include <iomanip> // std::setw #include <sstream> #include <cmath> #include <algorithm> #include <cstdio> #include <array> #include <vector> #include <limits> #include "commandline.h" #include "peak_manipulation.h" #include "DeepConfig.h" int main(int argc, char **ar...
58d918edbb3e20d2b6ecc3032f769eb252c060fd0d9df208979f059de4302368
C++
8,269
256
/*! \file Writer.cpp \brief For writing the data as a vtk-, vtu- or vtp- files. \version 1.0.0 \date Andreas Wachter 01.09.15 \author Andreas Wachter\n Institute of Biomedical Engineering\n Kit\n http://www.ibt.kit.de\n \sa Synopsis \ref Writer */ #include "Writer.h" using namespace std...
0eda7e7edd65587fed01087fec2d75902cc2e9d1767b9d36027f67bef593a279
C++
8,274
308
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/OpenDrive/OpenDrive.h" #include "Carla.h" #include "Carla/ContentPacks/ContentP...
7f011b1b9b2235d028e30076af75630e865840b281d5f772c0830bffa0b3a01e
C++
8,293
232
#include <algorithm> #include "carla/trafficmanager/Constants.h" #include "carla/trafficmanager/LocalizationUtils.h" #include "carla/trafficmanager/VehicleLightStage.h" namespace carla { namespace traffic_manager { using namespace constants::VehicleLight; using namespace constants::WorldInfoRefresh; VehicleLightS...
958d074c6b397bfff665afc89ab1df1bd541ab10a3ff4b84923be3e99d0e178a
C++
8,301
248
/*Copyright 2021 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 or agreed to in writing, ...
dc694c8b7f97da853e925ce090ad0cb5490c944ca51b0d32b11323c50f5fc539
C++
8,305
287
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "RoutePlanner.h" #include "Carla.h" #include "Carla/Vehicle/CarlaWheeledVehicle.h" #in...
f3672169b63ac0358bdab086033b189dc0eee14ead21d1f801f8eacbbc8070d2
C++
8,313
199
#include "PostProcessConfig.h" #include <util/ue-header-guard-begin.h> #include "Components/SceneCaptureComponent.h" #include "Components/SceneCaptureComponent2D.h" #include <util/ue-header-guard-end.h> void FPostProcessConfig::EnablePostProcessingEffects() { // This block of code { EngineShowFlags.SetLensFlares(t...
67995f3a19bdedcfffacdd18136547245ce9fb8e5e9e6aa77735cf60004ac796
C++
8,321
211
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "BlueprintLibary/WeatherJsonUtils.h" #include "Dom/JsonObject.h" #include "HAL/FileMa...
e8734f60f9649cfabeeb275db983b482b40b476965447d5678cd35586d71d920
C++
8,356
208
/* * qmcdespot.cpp * * Created by Tobias Wood on 03/06/2015. * Copyright (c) 2015 Tobias Wood. * * 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/. * */ //...
bf19acda36d40d03414f01bbde9391e686eaf3a3f182078e266386c3a348fa8b
C++
8,362
257
#include "Distributions.hh" #include "conf.hh" #include "LinearAlgebra.hh" using namespace aku; conf::Config config; #ifdef USE_SUBSPACE_COV PrecisionSubspace *ps; ExponentialSubspace *es; #endif int main(int argc, char *argv[]) { try { config("usage: gconvert [OPTION...]\n") ('h', "help", "", "", "disp...
f961ff81ce7c19342836aae191a3a7d70ba91612b51f1f25cba4fec152d65f99
C++
8,363
219
/* * qi_ase_oef.cpp * * Copyright (c) 2018 Tobias Wood. * * 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 <Eigen/Dense> #include "Numerical...
69b715ab8623e5520e6f0e7eed545dce115ac4bace311d67ee281617b8a4a616
C++
8,366
223
/* * despot1hifi.cpp * * Created by Tobias Wood on 17/10/2011. * Copyright (c) 2011-2013 Tobias Wood. * * Based on code by Sean Deoni * * 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 ...
efeccf788a98e0c2af88fc57dbb7e22313429dd69aee7cf95ca9018a75c880ef
C++
8,370
286
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/Actor/ActorRegistry.h" #include "Carla.h" #include "Carla/Actor/ActorData.h" #i...
b7b495cb16ea3b834cd27cdd15134bdad2db646c539b6f21d9c278614db7d10b
C++
8,379
217
/** * Copyright 2021 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...
49398e9c7d8e91af76a02a90e036570a9bed7983fdeae40585f3f3cd46b6e142
C++
8,459
290
#include "enum_node_spin.hpp" #include "basic_types.hpp" #include "exception.hpp" #include <sstream> #include <iostream> namespace bias { spinNodeType EnumNode_spin::ExpectedType() { return EnumerationNode; } EnumNode_spin::EnumNode_spin() : BaseNode_spin() {} Enu...
d2c38e1348ff5c0e402fe531fc3be93476cba01a7b9273d44ea9c7b9b2af89b2
C++
8,464
230
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/Settings/CarlaSettings.h" #include "Carla.h" #include "Carla/Util/IniFile.h" #...
91381ae564a8c5bc2313134aaf29a73df62265b581f6b886d5a92ede47caff04
C++
8,468
241
#include <string> #include <vector> #include <algorithm> #include "json/json.h" #include "commandline.h" #include "spectrum_phasing_1d.h" #include "fid_1d.h" #include "DeepConfig.h" namespace phasing_1d_helper { size_t split(const std::string &txt, std::vector<std::string> &strs, char ch) { size_t po...
d93bd81bef153ca1f43ff56db8169efcff89ba06dcd12ec95504a9f227139ca4
C++
8,496
192
/* Copyright (C) 2016 Diego Darriba This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distrib...
4343b54b6002df15c113545eddf555c186b23a9ef3f47ffc8a8b4ff90eb9e77f
C++
8,502
342
#include <stdlib.h> #include <deque> #include <assert.h> #include "conf.hh" #include "str.hh" namespace conf { int Option::get_int() const { char *endptr; int return_value = strtol(value.c_str(), &endptr, 10); if (endptr == value.c_str() || *endptr != 0) { fprintf(stderr, "invalid value for op...
999f1557429ba6f9546ac5ef9f8bfeb4495a94735b1236761731fd2af2fefffa
C++
8,533
245
/** * Copyright 2021 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...
0dccd8c197101a46fe7f190b49466b695cbfff08b04ebc5698dd101b13190c2d
C++
8,536
295
/* Copyright (C) 2016 Diego Darriba This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distrib...
d67fdab5a616e6b15bd323f38f9cdb2849879b0183b41d483e86c0801fa70556
C++
8,541
198
/*! \file SetAtrialFiberOrientation.cpp \brief Tool to set automatic the fiber orientation and interatrial bridges with the 22 seed points and free bridge points. \version 1.1.0 \date Andreas Wachter 01.09.15 \author Andreas Wachter\n Institute of Biomedical Engineering\n Kit\n http://www.ibt.k...
604c08c61cb295fc57f7547423293e2f20063c00e71a2e0bc1cfd1b574dffb38
C++
8,555
254
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Commandlet/CarlaCrosswalkNavBuilder.h" #include "Carla/Navigation/CarlaNavAreas.h" #...
44a20fb541d5bf816266474605d4d6d2c1ad75d7a35c140c7d25e1f770b6b800
C++
8,568
255
/* * Copyright (c) 2021. Huawei Technologies Co., Ltd. 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 * * Unl...
aa62dcd49ae0cdd8b9e1f38c3d8609d08eeb4d32957f842a3144046611935f27
C++
8,572
275
/*************************************************************************************************** * Copyright (c) 2013 * Consiglio Nazionale delle Ricerche, Istituto di Matematica Applicata e Tecnologie Informatiche * Sezione di Genova, IMATI-GE / CNR * * Copyright (c) 2016 - 2021 * Blue Brain Project (B...
f73f7865cdf244fd0fea4f4706590e62c11879c232ebde826db394ec6f591b3d
C++
8,628
278
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * * This file is part of Ultraliser < http...
ed9e0708d02359fb87b1dc66885cefc7a815b4c6acd7d807444401ba8cba4770
C++
8,662
355
#include <deque> #include <assert.h> #include "str.hh" #include "conf.hh" namespace conf { long Option::get_int() const { char *endptr; long return_value = strtol(value.c_str(), &endptr, 10); if (endptr == value.c_str() || *endptr != 0) { fprintf(stderr, "invalid value for option %s: %s\n", na...
7508e2142cb1bde7c684dede6447eb7c1bfff5f187b60774081923c86542c054
C++
8,668
285
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/multigpu/incomingMessage.h" #include "carla/multigpu/secondary.h" #include "ca...
bbcf324efb2b15adb607ae9ccb101afe16f55fc4aa37586cacbc55b0a6137382
C++
8,694
256
#include <vector> #include <valarray> #include <fstream> #include <iostream> #include "json/json.h" #include "spectrum_fwhh.h" namespace fwhh { template <typename T> void sortArr(std::vector<T> &arr, std::vector<int> &ndx) { std::vector<std::pair<T, int>> vp; for (int i = 0; i < arr.size(...
aef4b48763ec46fc5ca1c5a2b8eae6ca78a7188b73eb53d50096b949bed76c3e
C++
8,719
314
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * * This file is part of Ultraliser < http...
f0973fe7c1a45e53b46ff8b13849356b96ab3013b07467f04532ced33166aa92
C++
8,728
279
#include <climits> #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include "str.hh" #include "io.hh" #include "conf.hh" #include "Recipe.hh" #include "FeatureGenerator.hh" #include "Hmm...
4b2a4e683836d790811d02e2d9fb55ab0f91c05866737f5b4eec0b450b591d91
C++
8,730
214
#if GOOGLE_CUDA #include <iostream> #include <stdio.h> #define EIGEN_USE_GPU #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" // CUDA: index helpers #define idx4_4(index, d1, d2, d3, d4) (index % d4) #define idx4_3(index, d1, d2, d3, d4) ((index / d4) % d3) #define idx4_2(index, d1, d2, d3, d4) ((index / ...
df101ed7a1c98c254e58d28a5e73b2778a71ae1b4687cfb9677a6f6e6b859bbb
C++
8,731
281
#include <algorithm> #include <cstddef> #include <cassert> #include <string> #include <vector> #include "ArpaReader.hh" #include "str.hh" using namespace std; namespace fsalm { ArpaReader::ArpaReader(FILE *file) { opt.throw_header_mismatch = true; opt.show_progress = true; opt.ignore_symbols.push_back(...
89543f6685756f05dc7b31044771f00082481312b00d843091412bd1603ad110
C++
8,761
227
/* * Copyright 2021 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 or a...
c54ec2766f9e0adf20424c38726c3c874eaea6b3bd6f6485f0a2051e1287f457
C++
8,793
207
/* * despot2fm.cpp * * Created by Tobias Wood on 2015/06/03. * Copyright (c) 2015 Tobias Wood. * * 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/. * */ #i...
02a9e5067429c898c773b1d0ea2fb2bab3173bc02565d176f5e196507a972dab
C++
8,797
354
#include <deque> #include <assert.h> #include "conf.hh" #include "str.hh" namespace conf { int Option::get_int() const { char *endptr; int return_value = strtol(value.c_str(), &endptr, 10); if (endptr == value.c_str() || *endptr != 0) { fprintf(stderr, "invalid value for option %s: %s\n", name...
c3f6522992f118e1236315101c5261ae5fd12346df5193d14ac6f4220bffe043
C++
8,806
254
/* * qi_glmdiffs.cpp * * Copyright (c) 2016 Tobias Wood. * * 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 <algorithm> #include <fstream> #i...
7f545ded06e5e42acfedf98d2d752c75f4aa46ef9bc036a0efb5ce0aedab7b24
C++
8,815
312
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/OpenDrive/OpenDriveActor.h" #include "Carla.h" #include "Carla/OpenDrive/OpenDr...
a9f598f1121bc53707170cd087f5de8eef987bc456ba6b037cfb6810f9fe7860
C++
8,820
199
/* * kcGLM_mex_create.cu * Mex function to put GLM data on GPUs and setup computation space. * Takes 3 arguments: GLMstructure struct (from kcGLM class) * trials struct (from kcGLM class) * boolean (is double) for if the object is double precision (or single) * * R...