sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
e355b359420b121f24f96a28cc87a05f4a3da2bbf1cccae304129f34950e5825 | C++ | 16,678 | 430 | // Modified from
// https://github.com/facebookresearch/detectron2/tree/master/detectron2/layers/csrc/ROIAlign
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#include <ATen/ATen.h>
#include <ATen/TensorUtils.h>
#include "../pytorch_cpp_helper.hpp"
// implementation taken from Caffe2
template ... |
a6ad4b7aa6f685dd5b201abf788b1fa69c3ffbba71780e58f5935789d148d5b4 | C++ | 16,783 | 533 | #include <ACTIONet.h>
//#include <mini_cblas.h>
#include <cassert>
// Re-implemented from: Fast and Robust Archetypal Analysis for Representation
// Learning
namespace ACTIONet {
/* **************************
* Active-Set Method with direct inversion, with update(matrix inversion lemma)
* **************************... |
49f4ed4094b049fa354d7c65dcf6614b21e8ae768f096640f00a8f06ee1cf20b | C++ | 16,791 | 565 | /***************************************************************************************************
* 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) / ... |
4951a63f0b28943cd0d6d4a79ee5b09334bd6ab2249fc7edf82c0b4b326013f8 | C++ | 16,813 | 491 | // 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 "ProceduralBuildingUtilities.h"
#include "AssetRegistry/AssetRegistryModule.h"
#include <util/ue... |
495fc37e5d07665a2030a6891d0b0015fb3dd291af871d3328b3b32e12772c9d | C++ | 16,849 | 574 | /***************************************************************************************************
* 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) / ... |
39067aeeed308591af8e36b03f41d668e96a1cb62725424092496ec24c525e99 | C++ | 16,860 | 669 | #include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <array>
#include <vector>
#include <time.h>
#include <sys/time.h>
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <Eigen/Cholesky>
#include <Eigen/SparseCholesky>
#include <Eigen/SparseQR... |
fca138502412e5fd913901f5b519e13b251286b6aa560e6046ea9ac13e10469c | C++ | 16,996 | 549 | #include <iostream>
#include <string>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "camera_facade.hpp"
#include "camera_device_spin.hpp"
int main(int argc, char *argv[])
{
bias::CameraFinder camFinder;
bias::GuidLi... |
be59b6deee0d306e566547747ec23cd10ffb827f234d8690163aa1f32f7b70b9 | C++ | 17,105 | 417 | // 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 "WalkerBase.h"
#include "Carla.h"
#include "Carla/Game/CarlaStatics.h"
#include "Carla... |
e299af0635df4ddfbeda2f76e73a8101886f94aa336ce43d4b4bb74e10830b75 | C++ | 17,140 | 472 | #include "video_writer_jpg.hpp"
#include "basic_types.hpp"
#include "exception.hpp"
#include <iostream>
#include <sstream>
#include <iomanip>
#include <limits>
#include <QFileInfo>
#include <QThreadPool>
#include <stdexcept>
#include <opencv2/highgui/highgui.hpp>
#include <vector>
#include <QtDebug>
name... |
dbe1e8c5cafa10d33c45c361b2f048feaab9e6e5a6f9f6014d46a473c03b0942 | C++ | 17,180 | 322 | #include "ProceduralVegetationTool.h"
#include "Components/InstancedStaticMeshComponent.h"
#include "Components/BoxComponent.h"
#include "Misc/PackageName.h"
#include "Data/PCGPointData.h"
#include "Engine/StaticMesh.h"
#include "EngineUtils.h"
#include "Game/Tagger.h"
#include "Metadata/PCGMetadata.h"
#include "Metad... |
2b6557b45a536e9fe5d14c2190915889cc7908779eacf14d428ed1f703432261 | C++ | 17,187 | 448 |
#include <algorithm>
#include <cctype>
#include <string>
#include "boost/pointer_cast.hpp"
#include "carla/client/Actor.h"
#include "carla/client/Vehicle.h"
#include "carla/client/Walker.h"
#include "carla/trafficmanager/Constants.h"
#include "carla/trafficmanager/LocalizationUtils.h"
#include "carla/trafficmanager... |
323907d5b03d517ed50b045c1510423b983bcf67a9ae50204673ff29c23cc0a8 | C++ | 17,215 | 482 | #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 "FeatureModules.hh"
#include "Recipe.hh"
#include "SpeakerConfig.hh"
#include "util.hh"
#include "Distributions.hh"
using name... |
752109157050bb2c40026063fef7c135ce81530ae4cee004e1f0af10fc86ff17 | C++ | 17,272 | 440 | // 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/WorldObserver.h"
#include "Carla.h"
#include "Carla/Actor/ActorData.h"
#... |
75a72bf940d2c93d32336014a05061a2ec4269bb7c1b70e60a934893c7f5a4af | C++ | 17,273 | 473 | #include <fstream>
#include <iostream>
#include <sstream>
#include <random>
#include <chrono>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <array>
#include <vector>
#include <set>
#include "json/json.h"
#include "commandline.h"
#include "hungary.h"
#include "db_match_2d.h"
#include "DeepConfig.h"
... |
c37314102902932e94b4bae55e239a1b24bd84506b658257be9a3fa23ec60b86 | C++ | 17,385 | 454 | // 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 "Generation/SignGenerationController.h"
#include "AssetRegistry/AssetRegistryModule.h"... |
a8216da5c17cd7226b0af5af9d50f0cc200a84f62ab734e3c3cb7a29ebaf4c01 | C++ | 17,720 | 428 | /***************************************************************************************************
* 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... |
ad91ad9c10de892717271ec9856408b95a0fafe012e40062dabab32563c4ff08 | C++ | 17,776 | 430 | // 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 "XodrExport.h"
#include "PlanView.h"
#include <algorithm>
#include <cmath>
#include ... |
41dc34a4925eeb0fef10890f2df8ab539ed979af4cc3ad1dbef3a0ffaf89a3e4 | C++ | 17,857 | 403 | // 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 <cmath>
#include <cassert>
#include "GeoProjection.h"
#include "carla/geom/GeoLocati... |
5e8e2c3f80de4f45f782f0348be11f2e9455c826d6c851795fc05a1f7b2f05b3 | C++ | 17,990 | 584 | /***************************************************************************************************
* 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... |
7bd991a9d3947ad0419ca6b8f39f28fb3b7bb54720a1c89cf650bab26be1522d | C++ | 18,022 | 592 | #include <fstream>
#include "json/json.h"
#include "peak_manipulation.h"
#include "dosy.h"
/**
* Cost function for fitting a dosy model
*/
exp_cost_functor::exp_cost_functor(std::vector<double> peak_heights_, std::vector<double> gradients_)
{
peak_heights = peak_heights_;
gradients = gradients_;
};
bool ... |
b54bd702e41abf9b1a8ec37d32f61ff0b667be7ea892355bc8603e6c008c17ea | C++ | 18,040 | 543 |
#include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <valarray>
#include <string>
#include <cstring>
#include <vector>
#include "spectrum_prediction.h"
//will link to the C function in libcerf
extern "C"
{
double voigt(double x, double sigm... |
e9776a225fd468e57192ec8865a29c541a4f0edffc563dd0ff7c45a2823b0604 | C++ | 18,073 | 732 | #include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <array>
#include <vector>
#include <time.h>
#include <sys/time.h>
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <Eigen/Cholesky>
#include <Eigen/SparseCholesky>
#include <Eigen/SparseQR... |
c5b27c636825aaad51e64475dd10974730d13ad606bb38a8bdff32a4eaa57af6 | C++ | 18,240 | 624 | // 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 "ProceduralBuilding.h"
// Sets default values
AProceduralBuilding::AProceduralBuilding()
{
/... |
60a0dc09ba9a8a5bef5fab0acdf322e996fc091c71dbf5f6f9a81942320ac1ff | C++ | 18,256 | 549 | // 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/ImageUtil.h>
#include <Carla/Sensor/ShaderBasedSensor.h>
#include <Carla... |
a872e273700054125a0e3921c82bad46a1661882202532c1d184571e69c77f95 | C++ | 18,262 | 540 | // 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 "MapGenFunctionLibrary.h"
#include "Carla/Actor/LevelActor/InstancedStaticMeshActor.h... |
eabf46e8b1154570d7792200a5b1b71b0566cc92e8b645de90878822c1759ba8 | C++ | 18,378 | 790 | /***************************************************************************************************
* 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) / ... |
4d96ca3affc8e11b353dd99ba453f9a45bf9d7cf00a6c0161638d5355cc7683d | C++ | 18,523 | 815 | /*
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... |
73f0b7747ba061d6f133aa706a71db9acb213b6969164e2e237f866ee5b1b87e | C++ | 18,584 | 418 | // 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 <PythonAPI.h>
#include <carla/geom/Acceleration.h>
#include <carla/geom/AngularVeloci... |
dd6504a38a143b46cb17391d360da5ef26abc663b5eaaddd6213821d1aad7348 | C++ | 18,631 | 352 | #include "ProceduralFurnitureTool.h"
#include "Components/InstancedStaticMeshComponent.h"
#include "Components/BoxComponent.h"
#include "Misc/PackageName.h"
#include "Data/PCGPointData.h"
#include "Engine/StaticMesh.h"
#include "EngineUtils.h"
#include "Game/Tagger.h"
#include "Metadata/PCGMetadata.h"
#include "Metada... |
14acac1a405c773611c3993608b1777d8f23d8c09d3f2ad22aa5f8fdcfd02130 | C++ | 18,814 | 556 | /***************************************************************************************************
* 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.... |
2031a5369ca6b4cf147897e68d6b7ca2dad62654dacd094bc790d2d06a0cfd36 | C++ | 19,038 | 725 | /***************************************************************************************************
* 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... |
f015caa26474ccb7369cf83d5ea4ed0eb02f1b1f47d30b1bb22d83863305591d | C++ | 19,068 | 499 | /*
* 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 ... |
a094198422436c290f75b78bfe1a98518d807b6658a9478610269ed72e77609a | C++ | 19,070 | 581 | // 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/BasicAgent.h"
#include "carla/agents/navigation/GlobalRoutePlanner.h"
#include "carla/agents/navigation/LocalPlanner.h"
#include "... |
f526d2ee62d35a8124329d7f9276150a126ae9253867b1a82d4f7e70bb866f83 | C++ | 19,149 | 795 | #include <errno.h>
#include <assert.h>
#include <math.h>
#include <string.h>
#include "Endian.hh"
#include "TreeGram.hh"
#ifdef USE_CL
#include <memory>
#include "ClusterMap.hh"
#endif
#include "str.hh"
const double MINLOGPROB=-60;
const double MINPROB=1e-60;
inline double safelogprob(double x) {
if (x> MINPROB) ... |
549c12805211c3b7b1ae905d90e6ec645f630bb52b632161a0711a431ceb20b3 | C++ | 19,154 | 630 | /*
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... |
622280447bf64a06798474467efa4af6eef879d466d4c8191f79084604116422 | C++ | 19,266 | 492 | // 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 "OpenDrive.h"
#include "Random.h"
#include <carla/StopWatch.h>
#inc... |
4e9fbeb70bf3a5bec539e81135d8b84783bdfa44f3c27125f002f61f1f540833 | C++ | 19,267 | 562 | // 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 "PathLossModel.h"
#include "Carla.h"
#include "Carla/Game/CarlaEpisode.h"
#include "C... |
77ea987c891a5111784767bfc51bb4f043634737f1e88b8d85b883841e2b7be3 | C++ | 19,269 | 608 | #include "spectrum_simulation.h"
namespace spectrum_simulation_helper
{
size_t split(const std::string &txt, std::vector<std::string> &strs, char ch)
{
/**
* find consecutive ch and replace them with a single ch in txt
*/
std::string txt2 = txt;
for (int i = 0; i < t... |
ed2be602f9a3d08d8802b42c00c8bc14b1a1d9c7caed37c0015ced07d3fa64ab | C++ | 19,336 | 369 | /*
* kcGMLM_mex_create.cu
* Mex function to put GMLM data on GPUs and setup computation space.
* Takes 3 arguments: GMLMstructure struct (from GMLM class)
* trials struct (from GMLM class)
* boolean (is double) for if the object is double precision (or single)
*
* ... |
3784966906900c131c52d4e57a3709a60ebc67838cafa0a5fccce677a9c6f4b8 | C++ | 19,430 | 694 | #include <vector>
#include "io.h" // Data input and output
#include "tools.h" // Numerical tools
#include "algorithm.h" // Algorithm declarations
// Read correlations and number of sites in from a file
void getCorrelations(FILE *input, Vector &p) {
double c;
char o;
whi... |
c59f74e2df77cf397dd2ad001d1ef72e641e2003a1d56181a87968a8d1e218a3 | C++ | 19,504 | 510 | // 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/client/detail/Simulator.h"
#include "carla/Debug.h"
#include "carla/Exception.... |
e04b817f2de1ea1ba56af708a70c9870eab5d694857dc4526d4b625a3ea115e6 | C++ | 19,534 | 560 | /***************************************************************************
base_ellipsoid.cpp
-------------------
W. Michael Brown (ORNL)
Base class for acceleration of ellipsoid potentials
____________________________________... |
11db11e586cad1e7e855a3d92b827add3e396305d2ed81cd1bf602a400b98e8b | C++ | 19,577 | 534 | // Copyright 2017 Mike Fricker. All Rights Reserved.
#include "StreetMapFactory.h"
#include "StreetMapImporting.h"
#include "OSMFile.h"
#include "StreetMap.h"
// Latitude/longitude scale factor
// - https://en.wikipedia.org/wiki/Equator#Exact_length
static const double EarthCircumference = 40075036.0;
const doubl... |
497d1251f35952bd4eda10bb3fa8042926b93cb1729fbd4cad81fee38c024721 | C++ | 19,694 | 615 | #include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <valarray>
#include <string>
#include <vector>
#include <Eigen/Dense>
#include <Eigen/Cholesky>
#include "commandline.h"
#include "spectrum_simple_picking.h"
namespace ldw_math_simple_pick{
... |
a129c5c9cdaa5593f798b3579b453a2702e9f7f0b9d70e54457ae449e8416477 | C++ | 19,932 | 648 | #include <fstream>
#include <string>
#include <iostream>
#include "LmbfgsOptimize.hh"
LmbfgsOptimize::LmbfgsOptimize()
{
// Set default settings
m_min_step = 1e-10;
m_max_step = 1e10;
m_func_dec_tol = 1e-4;
m_grad_tol = 1e-2;
m_slope_dec_tol = 0.9;
m_max_line_search_iter = 6;
m_max_bfgs_updates = 4;
... |
715cf1a052cff7dc96c2cdede105f8d1d49522f854b222dee5d871f4c1d5b0ff | C++ | 20,055 | 563 | #include <ACTIONet.h>
#include <atomic>
#include <cfloat>
#include <thread>
// Visualization associated parameter settings
#define TUMAP_LAYOUT 0
#define UMAP_LAYOUT 1
#define GRAPHVIS_LAYOUT 2
const double UMAP_A[101] = {
1.93280839781719, 1.89560586588002, 1.85873666431227, 1.82221007490834,
1.786036120... |
11ea4c0ab5054183cc593f80aa6edcfe9efabfce434ab302f97e6536dc64db61 | C++ | 20,100 | 352 | #include "pytorch_cpp_helper.hpp"
std::string get_compiler_version();
std::string get_compiling_cuda_version();
int carafe_naive_forward(Tensor features, Tensor masks, Tensor output,
int kernel_size, int group_size, int scale_factor);
int carafe_naive_backward(Tensor top_grad, Tensor feature... |
0db45209e9ef68f63531f03adaf49a475a982c8a90fcdc49b5cb6b2ef96d6afe | C++ | 20,215 | 495 | /*
* qissfpbands.cpp
*
* Created by Tobias Wood on 14/03/2014.
* Copyright (c) 2014 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/.
*
*/
... |
a131fe1de61103b877f0bd37b27b0ce332ef685dc3432f08199c3e35eec0c557 | C++ | 20,286 | 809 | #include "camera.hpp"
#include "property.hpp"
#include "exception.hpp"
#include "utils.hpp"
#include "guid.hpp"
#include "format7.hpp"
#include <sstream>
#include <opencv2/core/core.hpp>
#ifdef WITH_FC2
#include "camera_device_fc2.hpp"
#endif
#ifdef WITH_DC1394
#include "camera_device_dc1394.hpp"
#endif
#... |
387c83bac7ace241452447baeb0fa7b271aba6ba842d53f834e41568d8f36aea | C++ | 20,554 | 552 | #include <algorithm>
#include <vector>
#include <map>
#include <set>
#include <tuple>
////////////////////////////////////////////////////////////
/// \brief Count the unique features in a vector of cases
///
/// \param cases Vector of cases
///
/// \return std::map (feature, occurrences)
/////////////////////////////... |
e7e748086608dfb301813c49961c26da66a0098bda41d3d2a28c2074656917e8 | C++ | 20,702 | 483 | #include "Sky.h"
#include "Carla.h"
#include <util/ue-header-guard-begin.h>
#include "Components/PostProcessComponent.h"
#include "Components/ExponentialHeightFogComponent.h"
#include "Components/DirectionalLightComponent.h"
#include "Components/DirectionalLightComponent.h"
#include "Components/SkyLightComponent.h"
#i... |
fcb006f77e69a727dc00502ec700857a99ae9812d55dd7ebfa126914c1519384 | C++ | 20,955 | 757 | /***************************************************************************************************
* 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... |
e639c628badb043248c1bf12b3954778b51a869b1322c061cc4bdad61978c140 | C++ | 20,971 | 657 | // 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/Recorder/CarlaReplayerHelper.h"
#include "Carla.h"
#include "Carla/Actor/Actor... |
de98448678a83f84df3e972e83f9b91db02a493a9adf28ba7651e60eaf833b5f | C++ | 21,001 | 619 | // 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/Game/CarlaEpisode.h"
#include "Carla/OpenDrive/OpenDrive.h"
#include "Carla.h"
... |
0fc4e82470c92a8163932c59f7290cce6722011f913a4106e34014bbbb983c8b | C++ | 21,011 | 504 | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
// This file was copied from project facebookresearch/detectron2
// The file link is https://github.com/facebookresearch/detectron2/blob/main/detectron2/layers/csrc/cocoeval/cocoeval.cpp
#include "cocoeval.h"
#include <time.h>
#include <algorithm>
... |
908007fe6e62d82a360fe47eb340898f98a91d2a2d2aa319573ea6b2565532e5 | C++ | 21,221 | 466 | #include <memory>
#include "data.h"
#include "parameters.h"
#include "model.h"
#include "misc.h"
#include "update_funs.h"
#include <unsupported/Eigen/SpecialFunctions>
using namespace autodiff;
// [[Rcpp::depends(RcppEigen)]]
//' Evaluate the deviance at given values of random effects
//'
//'
//' @param parlist An ob... |
7c6571e122dee9668ec76cdc6d509df1b91eaa188a08ce9cc8eaed8e9e442d80 | C++ | 21,253 | 581 | // 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 <algorithm>
#include "carla/Logging.h"
#include "carla/client/detail/Simulator.h"
#... |
dbface98b6f4c2993e58177e9a31d8c67b5c3d4692b24dbd6d741cf1e993fbe9 | C++ | 21,488 | 428 |
#include "carla/geom/Math.h"
#include "carla/trafficmanager/Constants.h"
#include "carla/trafficmanager/LocalizationUtils.h"
#include "carla/trafficmanager/CollisionStage.h"
namespace carla {
namespace traffic_manager {
using Point2D = bg::model::point<double, 2, bg::cs::cartesian>;
using TLS = carla::rpc::Traffic... |
8a2639cfe161ea347270b0e2aaffb0f0421dc39d459a5628a9c411d4b48cc136 | C++ | 21,548 | 594 | /***************************************************************************************************
* Copyright (c) 2018 - 2022
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Dominik Wodniok
* Marwan Abdellah < marwan.abdellah@epfl.ch >
*
* This file is p... |
70ec835251899fe2134b5966eab942e7ad64c2517136729184cc833800c2373d | C++ | 21,581 | 860 | // 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 "CarlaRecorder.h"
#include "Carla.h"
#include "Carla/Actor/ActorDescription.h"
#includ... |
d6e3b9f2f5740a7fece0482a20e725f4006d0b7df917adabe4be5ec2a038268f | C++ | 21,700 | 622 | // Copyright (c) 2024 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 "MapLogicParser.h"
#include "Traffic/TrafficLightController.h"
#include "Traffic/Traff... |
0b0b9852541e6708cd4ae8fa8e1ea019f8f9bb89d1aab9265f8b368681fed8a2 | C++ | 21,728 | 537 | #include <stdio.h>
#include <stdlib.h>
#include <string>
#include <math.h>
#include <cstring>
#include <iostream>
#include <sstream>
#include <cmath>
#include <vector>
#include <map>
#include <algorithm>
#include <assert.h>
#include "../src/tools.h" // Numerical tools
#include "../src/inverse.h... |
a740dfce7a411294a2b41c37a89e8dc4018a8e1c642c05e9746c65aca76013c5 | C++ | 21,769 | 464 | // 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 "LoadAssetMaterialsCommandlet.h"
#include "Carla/OpenDrive/OpenDrive.h"
#include <uti... |
ac79009b9b23f0c1866ab715881e912e31986423550fb0d8baf853b78b6da4fa | C++ | 21,899 | 733 | /************************************************************************
** This file is part of NLM Denoiser, a program for applying NLM filters
** on 2D/3D images.
**
** Copyright (C) 2022 Jesse Smith
**
** NLM Denoiser comes with ABSOLUTELY NO WARRANTY.
** This is free software, and you are welcome to redistribute ... |
799d800636db09782ec45e8a33d4609a786f888d0efcf55eafbac1c0c5154f22 | C++ | 21,956 | 913 | // 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 "CarlaReplayer.h"
#include "CarlaRecorder.h"
#include "Carla/Game/CarlaEpisode.h"
#in... |
ac7a3209710c63f9a7157947baf624a9c83313f2de922f6f1943a1c87a6e4827 | C++ | 22,206 | 727 | #include <cmath>
#include "kiss_fft.h"
#include "cost_functors.h"
/**
* IMPORTANT:
* In our Voigt definition, total peak volume is 1.0 (constant). Fittted a is the peak volume.
* In our Lorentz definition, total peak volume gamma. (not constant). Fitted a is the peak height.
* In our Gaussian definition, total ... |
a2a32ca4c46cfe906fa538a804add98fa66c2607b0ba5a68333bccb4638e0694 | C++ | 22,228 | 652 | #include <algorithm>
#include <cctype>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "DeepConfig.h"
#include "commandline.h"
#include "fid_3d.h"
namespace
{
bool parse_indexed_filename(const std::string &in,
... |
25bdfc100efb564bca384e29817f46db24115b8cfb50460d2c56b1f21e23c776 | C++ | 22,505 | 892 | // Fairly compact prefix tree represantation for n-gram language model
#include <stdexcept>
#include <cerrno>
#include <cassert>
#include <cmath>
#include <cstring>
// Use io.h in Visual Studio varjokal 17.3.2010
#ifdef _MSC_VER
#include <stdio.h>
#include <io.h>
typedef int ssize_t;
#else
#include <unistd.h>
#endif
... |
74bb42a36fbcb1349f9ae0c5aef39541685d72e5ec962746b759fcee0d043b85 | C++ | 22,505 | 627 | /***************************************************************************************************
* 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.... |
46ee3f3d93e1259ba8716b8ba0c0615a2437f05967ab4fc5e4d2032c1fbf7e59 | C++ | 22,612 | 549 | // 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 <PythonAPI.h>
#include <boost/python/suite/in... |
6d28b204b47d9ebc625435d3821017e2cde1cfe6458deb85cf9f93ac662289bb | C++ | 22,783 | 605 | // 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/Game/CarlaEngine.h"
#include "Carla.h"
#include "Carla/ContentPacks/ContentPack... |
5b03cccdf557c2137ba25c6334374340c783d2e8e1798f8968a83bfb7ada06bc | C++ | 22,848 | 635 | /***************************************************************************************************
* 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... |
7f9c56c9bb5dfbc8669d9882a5df2db61fad99e570cc5deaeef11da1a84cdd53 | C++ | 23,430 | 768 | #include <algorithm>
#include <cstddef>
#include <cmath>
#include <cstring>
#include <deque>
#include <functional>
#include <string>
#include <iostream>
#include "LM.hh"
#include "ArpaReader.hh"
using namespace std;
namespace fsalm {
static MaxPlusSemiring maxplus_semiring;
float log10_to_ln(float f)
{
return... |
2293c116b46daf34ce1a8a65c0b7a3f725643acefd710b67aa5c01fd4242454a | C++ | 23,534 | 586 | // 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 <PythonAPI.h>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
namesp... |
f5496a968f146ba9d332d94c3d50367cd759bc389da3e2bd38b0f86da84db52f | C++ | 23,626 | 492 | // 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 <PythonAPI.h>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
names... |
1651f66d22acbb60acc70f673b723d73831973ac97a59c9f28698dd6242062ab | C++ | 23,661 | 770 | /*
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... |
09a3692745af3d6d07c46b4113081227f992856346ad97bbfb334c1ae74fa971 | C++ | 23,693 | 619 | // 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 "CarlaLight.h"
#include "CarlaLightSubsystem.h"
#include "Carla/Game/CarlaStatics.h"
#... |
b89c581f1e979459ee496d73d101a124ba68a341f60862effd7bf3455b3fe5cd | C++ | 23,825 | 720 | // clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
LAMMPS development team: developers@lammps.org
Copyright (2003) Sandia Corporation. Under t... |
7c93546a223da86ce7e496aa359488354d3fc75124970c368e5e39137873f6df | C++ | 23,830 | 790 | #include "GraphHelper.h"
#ifdef DEBUG
using std::cerr;
using std::endl;
#endif
vector<size_t> range(size_t n)
{
vector<size_t> range_vec(n);
for(size_t i = 0; i<n; i++)
range_vec[i] = i;
return range_vec;
}
queue<size_t> queue_range(size_t n)
{
queue<size_t> range_vec;
for(size_t i = 0; i<n; i++)
... |
189e34939519a40da0d26ca2047410ed363237a24580804a83c941cd777c5ed0 | C++ | 23,882 | 511 | // 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_RayTracedLens.h"
#include "Carla.h"
#include "Carla/G... |
33a4644424bac2eb8dcea2148880c3d6d63eb63ed380b4b1f918c39632a5b8a9 | C++ | 23,986 | 828 | /***************************************************************************************************
* 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) / ... |
acdbe9b3d24ff46501e6a6f8ee2db90c2989ded95363d0653c4d0df8b2a2ae88 | C++ | 23,986 | 601 | #include "hdbscanAlgorithm.hpp"
#include <algorithm>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <set>
#include <vector>
#include "bitSet.hpp"
#include "cluster.hpp"
#include "hdbscanConstraint.hpp"
#include "outlierScore.hpp"
#include "undirectedGraph.hpp"
std::vector<double> hdbscan... |
65c349e62d34f1a2fe34c65f6c34467bf264dc9c998cfa5b61b9daa692444ad9 | C++ | 24,015 | 719 | // 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/Util/BoundingBoxCalculator.h"
#include "Carla.h"
#include "Carla/Actor/CarlaAct... |
b09dab5447db1e3b0621d2b7cdc5f54a8968b24ea05028bef189447085ed71dc | C++ | 24,159 | 674 | #include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <valarray>
#include <string>
#include <vector>
#include <Eigen/Dense>
#include <Eigen/Cholesky>
#ifndef M_PI
#define M_PI 3.14159265358979324
#endif
#include "commandline.h"
#include "dnn_picke... |
7510e38821fdea2df8e905b65441094af0cba8b2896af75a5b8e7a7fd6d1b31f | C++ | 24,199 | 475 | // 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 <PythonAPI.h>
#include <carla/geom/GeoProjectionsParams.h>
#include <carla/client/Lan... |
91308736db8ecc136fff47b59f9fd2b6586d8c213048a84aaf7f02f74c4b7287 | C++ | 24,323 | 697 | // Copyright 2017 Mike Fricker. All Rights Reserved.
#include "StreetMapComponent.h"
#include "StreetMapRuntime.h"
#include "StreetMapSceneProxy.h"
#include "Engine/StaticMesh.h"
#include "StaticMeshResources.h"
#include "Engine/StaticMeshActor.h"
#include "PolygonTools.h"
#include "DynamicMeshGeneration.h"
#include... |
8ab1f7ada3e9db773d5cf73b853f737aa0a53a97c95de8ca1a698eccddcd3cd1 | C++ | 24,473 | 992 | #include "ACTIONet.h"
#define StdNorm(v, n, engine) randN_Marsaglia(v, n, engine)
namespace ACTIONet {
field<mat> IRLB_SVD(sp_mat &A, int dim, int iters = 1000, int seed = 0, int verbose = 1) {
int m = A.n_rows;
int n = A.n_cols;
if(verbose) {
stdout_printf("IRLB_ (sparse) -- A: %d x %d\n", A.n_rows, A.n_c... |
5169d2709fbe90247318488faa1386cdd52de6d351d9ed24d9e167de868d9f9f | C++ | 24,583 | 723 |
#include <vector>
#include <iostream>
#include <fstream>
#include <algorithm>
#include "json/json.h"
#include "contour.h"
#define xsect(p1, p2) (h[p2] * xh[p1] - h[p1] * xh[p2]) / (h[p2] - h[p1])
#define ysect(p1, p2) (h[p2] * yh[p1] - h[p1] * yh[p2]) / (h[p2] - h[p1])
//class contour_line_unit
std::ostream& opera... |
f85bbe04d87463ca9d0080d83fedb69279a968fa56aef8dfe4db44b26c3b4301 | C++ | 24,940 | 674 | // 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 "USDImporterWidget.h"
#include "Carla/Vehicle/CarlaWheeledVehicle.h"
#include "CarlaTools.h"
#ifd... |
166824001617a1523646a0ba78f9acc1314270fd2e36dd5754f5f058c8319044 | C++ | 25,230 | 751 | /***************************************************************************************************
* 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... |
25305f84052cbebe3a6a185709382ddfa29848d9c01a639428477ee957ea389f | C++ | 25,591 | 710 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://lammps.sandia.gov/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC... |
981d26d27c232f1cd8a329caa77202008c10331038817d4bdc909965b9a52b6b | C++ | 25,687 | 793 | /***************************************************************************************************
* 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.... |
1dd39f4d8f6a7e1f11df5fecc944ab94a21fc51857417573ac64e69a144e00ba | C++ | 25,776 | 657 | // 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/Logging.h"
#include "carla/trafficmanager/Constants.h"
#include "carla/traffic... |
3ccd5901ea890caa71cdf4213cd8d2ca093f0eb7143512c39d5ea31bbfc67572 | C++ | 25,874 | 750 | /***************************************************************************************************
* 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... |
76020e7496ad8ec1eb3f0b815ae77819baf3168311efb3d6bf96a7a2431c023a | C++ | 26,304 | 984 | /*
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... |
e0423049a419d795393f895c567678613f781e8ffa7874c3bdda301986802e35 | C++ | 26,543 | 684 | // 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/GlobalRoutePlanner.h"
#include "carla/client/Map.h"
#include "carla/client/Waypoint.h"
#include "carla/geom/Transform.h"
#include ... |
b6d485f81247947cc07df8948051602c153ce3ddd11968a1ed94bc2fa45d6b05 | C++ | 26,601 | 797 | // clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
LAMMPS development team: developers@lammps.org
Copyright (2003) Sandia Corporation. Under t... |
185bce56509f66db6f008c9933ea1e72767ee8aaf7041858e92f620b409c57f7 | C++ | 26,617 | 903 | /***************************************************************************************************
* 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... |
cf83080d45f94762907d93a0e7552fe284df6965d8e64b077914093d7f65f623 | C++ | 26,873 | 767 | // 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 "PrepareAssetsForCookingCommandlet.h"
#include "Carla/MapGen/LargeMapManager.h"
#incl... |
44f2fe669596a0439099bafc871baed9e57eb96c16778aebf139381d65a57933 | C++ | 27,686 | 813 | // 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/Vegetation/VegetationManager.h"
#include "Carla/Vegetation/SpringBasedVegetatio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.