sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
d25dc4939fa13fe0831c48d70483f198662f7cbe19230e0510661069405c2826 | C++ | 28,175 | 789 | #include "MutableVertexPartition.h"
#ifdef DEBUG
using std::cerr;
using std::endl;
#endif
/****************************************************************************
Create a new vertex partition.
Parameters:
graph -- The igraph.Graph on which this partition is defined.
membership=None ... |
3ef2c4173da270dc55537360dd345d9f28a9232421bdfdd82e8c8ac544e24443 | C++ | 28,325 | 741 | // 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 "VehicleImporter.h"
#include "USDImporterWidget.h"
#include "CarlaTools.h"
#include <util/u... |
7c373ba8befebdd9a35baa2b91010a037169e650a6aacd92358ad9c1467984d3 | C++ | 28,439 | 591 | /*
* 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
*
* Unless requi... |
26938d3b30cae3ea998e1e6435dd7f225b482bb836251da83e15d579197b7acd | C++ | 28,638 | 895 | // 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/ContentPacks/ContentPackManager.h"
#include "Carla.h"
#include "Carla/Actor/Act... |
51d87cf4a24ad30ee7fcbf216be8d2576b54891f3518696dfa7ac2e20bde53a1 | C++ | 28,752 | 820 | #include <fstream>
#include <string>
#include <string.h>
#include <iostream>
#include <math.h>
#include <algorithm>
#include <limits.h>
#include "io.hh"
#include "str.hh"
#include "conf.hh"
#include "HmmSet.hh"
#include "FeatureGenerator.hh"
#include "Recipe.hh"
#include "SpeakerConfig.hh"
#include "util.hh"
#include ... |
1ece9244bb3c7c97e72c50a1a7510d0d9d719bfbf571af3e58aabab8c2c95438 | C++ | 29,040 | 854 | /***************************************************************************
neighbor.cpp
-------------------
Nitin Dhamankar (Intel)
W. Michael Brown (ORNL)
Peng Wang (Nvi... |
38c3182700f5ed21f979995ed8497cd7308b233c12c36d9aeb38229978475927 | C++ | 29,614 | 1,035 | #include "grab_detector_plugin.hpp"
#include "image_label.hpp"
#include <QtDebug>
#include <QTimer>
#include <QMessageBox>
#include <QThread>
#include <cv.h>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
//#include <opencv2/core.hpp>
//#include <opencv2/imgproc.hpp>
#include <sstream>
#include... |
6ef743c0a0e9fe36f57bd702f5c747eb540cad7c3e4bc52a7980bbe3c3e73314 | C++ | 29,722 | 1,013 | #include <colorspace.h>
#include <ctype.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
/** @brief Min of A and B */
#define MIN(A, B) (((A) <= (B)) ? (A) : (B))
/** @brief Max of A and B */
#define MAX(A, B) (((A) >= (B)) ? (A) : (B))
/** @brief Min of A, B, and C */
#define MIN3(A, B, C) (((A) <= (B)) ... |
a9e1ad6ab6f0a4ec7161acf230e3053f6cc89d594d76229a94604f531b0e5948 | C++ | 29,849 | 965 | #include <vector>
#include <valarray>
#include <fstream>
#include <iostream>
#include <iostream>
#include <limits>
#include <algorithm>
#include <cmath>
/**
* Below two lines are required to check whether folder or file exists
*/
#include <sys/types.h>
#include <sys/stat.h>
#ifdef WEBASSEMBLY
/**
* Bind to emscript... |
36fef02b1a0c274431a14b2757ebd5f142f47756296e2856a2d53298f8e696bd | C++ | 29,895 | 815 | // 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/rpc/CustomV2XBytes.h>
#include <carla/sensor/data/LibIT... |
9c5e87e3adea6ca59af96e27dff54f48db6fc26a2f421d102f09d5735803ecbb | C++ | 30,320 | 787 | // 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/geom/Acceleration.h>
#include <carla/geom/AngularVelocity.h>... |
4746ee5b9efedb5d332779b45b7bd67dd57a59f44bc8472d11eb891195f6433e | C++ | 30,444 | 742 | #include "spectrum_fit_3d_cost.h"
#include <algorithm>
#include <cmath>
#include <iostream>
#include <limits>
#include <tuple>
#include <vector>
// ============================================================================
// Constants for 3D peak fitting (cost helpers)
// ==========================================... |
5bcff8b3b78152767240fe4cf8e2c239c32f0173684b8eaa563c17be745cf28c | C++ | 30,657 | 876 | // 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 "SceneCaptureSensor_WideAngleLens.h"
#include "Carla/Game/CarlaStatics.h"
#include "Ca... |
3894fbd909e061bf58bb208289cc23179637b52c7fb75042276c3131f907f967 | C++ | 31,153 | 801 | // 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 "CaService.h"
#include "Carla.h"
#include "Carla/Game/CarlaStatics.h"
#include "Carla... |
d7d4853f673a06da9abe7fe9d5adab606df808219076b620b0d08997b1cbb28b | C++ | 31,184 | 994 | #include <stdio.h>
#include <stdlib.h>
#include <string>
#include <math.h>
#include <vector>
#include <map>
#include <set>
#include "algorithm.h" // Algorithm declarations
#include "io.h" // Data input and output
#include "tools.h" // Numerical tools
#include "inverse.h" // Computation... |
a2ab6183906955417ffdf9b284faa49095831acc9094e667a8d7e235a72dc9a9 | C++ | 31,730 | 1,024 | /*
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... |
3b30160bd7ab1444ba75dc37a6de2745e6c9eff61fdcb4b4e5055d61549423b7 | C++ | 32,146 | 1,041 | #include <fstream>
#include <string>
#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include "io.hh"
#include "str.hh"
#include "conf.hh"
#include "HmmSet.hh"
using namespace aku;
std::string statistics_file;
std::string state_file;
int info;
conf::Config config;
HmmSet model;
HmmSet train_stats;
do... |
b8030e5146a53f6c1be92e831ed38428ea41acec42cee577b8394e677cda7b30 | C++ | 33,311 | 1,214 | /***************************************************************************************************
* 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... |
e03c3ce8148a0af5bae2b0c47f5ee8fc6b58171dc329d093755a5ac4013016d4 | C++ | 33,577 | 643 | #ifdef WITH_SPIN
#include "utils_spin.hpp"
#include "exception.hpp"
#include <opencv2/core/core.hpp>
#include <map>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <bitset>
namespace bias
{
const size_t MAX_BUF_LEN = 256;
spinPixelFormatEnums getImagePixelFormat_spin(spin... |
d44ca87384fa3e270267959ab80b28b875b52fb9d8355d259eb47a395a4597a4 | C++ | 33,598 | 1,042 | /*
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... |
b9745984c2f2d2e79fadf57550351a7970816df96033dd4e10149e8b1fb384f7 | C++ | 33,637 | 1,149 | /***************************************************************************************************
* 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... |
7131a7daf05c988d8a9c7ad7fffc88ea0ca1ebf44a25ba2a88799692f2f2f833 | C++ | 33,726 | 894 | // 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 "LaneGraph.h"
#include <algorithm>
#include <limits>
#include <map>
#include <set>
#i... |
6c41ddfdb3da73a563d740391ef5e8f71b7131b0fc989edf222938bad0b65d81 | C++ | 33,839 | 827 | /***************************************************************************************************
* 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... |
f818f214b23196edb454b6d020546c1720528efcd8d33bcab85447a58f0ff11e | C++ | 33,852 | 1,025 | // 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/CarlaGameModeBase.h"
#include "Carla.h"
#include "Carla/Game/Tagger.h"
#in... |
8be3529907f41f8ababc9882828770970b65df24e6112624f0b501f09e927298 | C++ | 34,037 | 951 | /***************************************************************************
base_amoeba.cpp
-------------------
Trung Dac Nguyen (Northwestern)
Base class for pair styles needing per-particle data for position,
charge, and typ... |
ef7d1c6597295e676924b6119541afe446261cc019c6425f48be38fcae3864d8 | C++ | 34,219 | 930 | // 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/Client.h"
#include "carla/Exception.h"
#include "carla/Version.h... |
02a09639fb04fbdafdcd1717fddbfb08572e416708205092c99f0d8817eb4e8f | C++ | 34,755 | 1,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 "FrameData.h"
#include "Carla/Game/CarlaEpisode.h"
#include "Carla/Actor/CarlaActor.h... |
ce7df819931200484eb0d65602dc013a7c88ed4484bbf37d09ca48ebbef7043d | C++ | 34,976 | 1,080 | //
// simulation.cpp
// ==============
// Simulation of 2D model of motor cortex
// consisting of local E-I modules that are
// coupled with distance-dependent connection
// strengths, and subject to fluctuating external
// inputs. Individual modules are described by
// an adaptive rate model. For details, plea... |
f07a0d3be50c1e366d9726454eb441d3b752a8b7b2d1aef08463cc8308181b3e | C++ | 35,001 | 924 | #include <algorithm>
#include <chrono>
#include <fstream>
#include <vector>
#include <map>
#include <set>
#include <tuple>
#include <utils.cpp>
#include <io.cpp>
auto log_file_name(std::string file, int id, std::string ext="csv") {
if(id < 0)
return file + ".global.log." + ext;
return file + ".run_" +... |
cb94f6a35ff729f8446d49126b3d246664c01fa04db60e71780110bb9840220d | C++ | 35,346 | 1,222 | /***************************************************************************************************
* 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) / ... |
ab2a0dd03fda5873fb36db5915db864445252e4b5d40b4caf3471f5f6d881646 | C++ | 35,390 | 1,128 | #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 <time.h>
#include "tools.h" // Numerical tools
#include "monteCarlo.h" // MC declarations
#include "m... |
7ad5056dabe7265cd0423f72a6c9602e976d120ca9018df478c8a9b78daca5a2 | C++ | 35,893 | 1,154 | #include <algorithm>
#include "PhonePool.hh"
#include "LinearAlgebra.hh"
#include "str.hh"
#include "util.hh"
namespace aku {
int safe_tolower(int c)
{
if (c == 'Å')
return 'å';
else if (c == 'Ä')
return 'ä';
else if (c == 'Ö')
return 'ö';
return tolower(c);
}
PhonePool::ContextPhone::ContextP... |
5197fe5a543994ab0adc254a84810e64a5af7d2c7a52829a9621056ed2263878 | C++ | 36,271 | 991 | #ifdef __BORLANDC__
#pragma argsused
#endif
#include <stdio.h>
#include "speedyclust.h"
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <algorithm>
using namespace std;
int window = 100;
int min_support = 0;
int min_seq_no = 0;
int min_length = 2;
double max_f... |
9c72020d95f31989e2edc89289e98335104efcab6822c4d3c17427656e700ba8 | C++ | 36,439 | 1,249 | // 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>.
#define _USE_MATH_DEFINES // to avoid undefined error of M_PI (bug in Visual
... |
9421ad37ef1ad5c2cbd86aec5949fc585240e6f1181e1f71e6e0195e378c1fce | C++ | 36,454 | 1,140 | // 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... |
3b60e7ad7d2e21692fd6f664b9a136cb2b5dc9e2749214936cdb0d6e484cd454 | C++ | 36,480 | 801 |
#include "carla/trafficmanager/Constants.h"
#include "carla/trafficmanager/TrafficManagerGeometry.h"
#include "carla/trafficmanager/LocalizationStage.h"
namespace carla {
namespace traffic_manager {
using namespace constants::PathBufferUpdate;
using namespace constants::LaneChange;
using namespace constants::Waypoi... |
fae1c5b072e85bc1b43220258e17215c6600f7e6d75dad7d639dfcd3462455e9 | C++ | 36,538 | 934 | // 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 <algorithm>
#include <cmath>
#include <limits>
#include <utility>
#... |
5f2aa92b19d64209a484b5345e94841fb82c2efb64e1e8dcfd6da1c96239b05b | C++ | 36,932 | 783 | // 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 <cmath>
#include <limits>
#include "carla/client/TrafficSign.h"
... |
b17193fe0867e0bebb98296e1f67c4a2924de776ea477a082e89905c9c2a3574 | C++ | 37,048 | 1,384 | #include <assert.h>
#include <iostream>
#include <fstream>
#include <math.h>
#include <algorithm>
#include "HmmSet.hh"
#include "FeatureModules.hh"
#include "util.hh"
#include "str.hh"
namespace aku {
void
Hmm::resize(int states)
{
m_states.resize(states);
}
std::string
Hmm::get_center_phone()
{
int pos1 = lab... |
2348ce8f70b0743febea2ce53b1c29e98898a0b97af0314adedab3674a2f535c | C++ | 37,329 | 992 | #include "Optimiser.h"
/****************************************************************************
Create a new Optimiser object
Be sure to call
igraph_i_set_attribute_table(&igraph_cattribute_table);
before using this package, otherwise the attribute handling
will not be dealt with correctly.
Parame... |
f98be27893516445d5a90d2f7b3b1c7e358cb7a8c28af6bc40a7971031dccad1 | C++ | 37,391 | 806 | /*
* 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
*
* Unless requi... |
645f0b53cfcfb327f6c644019251128bfbde23d631142a702d0f56a25712315e | C++ | 37,484 | 1,195 | // 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 "CarlaRecorderQuery.h"
#include "CarlaRecorderHelpers.h"
#include "CarlaRecorder.h"
#i... |
29497443bcabca4446e1ccb594e96ffe1a08f87f064f9b064daba1df773734a3 | C++ | 37,522 | 1,183 | // 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 "LargeMapManager.h"
#include "Game/CarlaStatics.h"
#include "Actor/ActorRegistry.h"
#includ... |
57e1aab96723cc9f7499014e4aaed7beed0a0b5c45fb9bcad0625602ef01843e | C++ | 37,715 | 815 | #include <chrono>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <random>
#include <tclap/CmdLine.h>
#include <json.hpp>
#include <casebase.cpp>
#include <io.cpp>
#include <utils.cpp>
#include <experimental/filesystem>
template<class T, class U>
T get_param(const U& p, T def) {
... |
42675f7630e3def0396b279f0383c65c081038c9b1b1aa492736af31f2930e26 | C++ | 37,794 | 1,181 | #include <fstream>
#include <string>
#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include "io.hh"
#include "str.hh"
#include "conf.hh"
#include "HmmSet.hh"
#include "LmbfgsOptimize.hh"
using namespace aku;
std::string statistics_file;
std::string out_model_name;
std::string state_file;
int info;
c... |
8c66b904f1aa73f85f6b6a03392f500c5a7b3e3badf027f26350b6c6726fa966 | C++ | 38,793 | 1,022 | // 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/ros2/ROS2.h"
#include "carla/geom/GeoLocation.h"
#in... |
aa3aaf36bf44f86a8cf066c52d66f39abe4273f7a4476d7dcf45a56a2f5bb35e | C++ | 39,245 | 410 | #include <cmath>
#include "fwhh_dnn.h"
float fwhh_dnn_data[]={
0.218095, 0.187591, 0.250633, 0.00719209, 0.120462, 0.0609056, -0.00995895, 0.0906545, -0.19689, -0.307539,
0.143852, 0.0358605, 0.298299, 0.12439, 0.0615591, -0.152648, -0.201191, -0.2523, 0.104246, -0.0261853,
0.265134, 0.108232, -0.0408655, -0.0231543,... |
d9242795bdd90bef2eff14a3a4728bb8459e8805384b5236119540712cbe1a70 | C++ | 39,504 | 943 | // 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 "LightDefaultsEditorPanel.h"
#if WITH_EDITOR
#include <util/ue-header-guard-begin.h>... |
43c04796cfabd97ca1712329ec39d6e254909ae0265f590c169d221469e93b4e | C++ | 39,564 | 1,072 | #ifdef __BORLANDC__
#pragma argsused
#endif
#include <stdio.h>
#include "speedyclust.h"
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <algorithm>
using namespace std;
int window = 100;
int min_support = 0;
int min_seq_no = 0;
int min_length = 2;
double max_f... |
990209ba34ddc46e254441645a7510b324493ce0d634c6634df2337226a42158 | C++ | 40,708 | 1,178 | // 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 "TrafficLightManager.h"
#include "GeoTrafficSign.h"
#include "Game/CarlaStatics.h"
#in... |
9a625b5fcebd29094498bdebed844ea2f68a4e9448be10080cd067b0a1a66e4e | C++ | 41,112 | 1,233 | /*
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... |
911b023d32538b7a241a64ae1ce7c1cf9d39643f1b9adcb23bb9c91b2b60eaa7 | C++ | 42,335 | 1,247 | // 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/StringUtil.h"
#include "carla/road/MapBuilder.h"
#include "carla/road/element/R... |
d41db57dddd2b5a7d25e83b671e250759812cc189a22c4a9507fcb508b84cde0 | C++ | 42,527 | 1,264 | /***************************************************************************
device.cpp
-------------------
W. Michael Brown (ORNL)
Class for management of the device where the computations are performed
____________________... |
ca681ecf5c4914c29a03d71c61521c8c8be398bcddee503df3ecec06508066b6 | C++ | 42,728 | 983 | #include <chrono>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <random>
#include <tclap/CmdLine.h>
#include <json.hpp>
#include <casebase.cpp>
#include <io.cpp>
#include <utils.cpp>
#include <experimental/filesystem>
template<class T, class U>
T get_param(const U& p, T def) {
... |
917d5bbe914e004345859473bb8f374225c4e34d8bf38229d5247fa9d0bc5f00 | C++ | 42,745 | 1,304 | #include <vector>
#include "tools.h" // Numerical tools
#include "inverse.h" // Computations of cluster entropies
//#define EPSG 1.0e-10
//#define MAXANGLE 0.998
//#define MAXSTEPSIZE 5.0
//#define MINSTEPSIZE 1.0e-10
//#define NEWTONGRADSIZE 3.0e-3
//#define NEWTONGRADRATIO 1.0e-8
//#de... |
0e270a357ce00186126070647599a96821d070784474ef154d28ff1ade8fe053 | C++ | 43,388 | 1,154 | #include <fstream>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <array>
#include <vector>
#include <limits>
#include <time.h>
#include <sys/time.h>
#include "kiss_fft.h"
#include "json/json.h"
#include "ldw_math.h"
#include "spectrum_phasi... |
d63b7a2bf089dafc756df7a3358942a87c53457c1a616bfc5f28e6044d8c8e30 | C++ | 43,714 | 1,399 | #include <cstddef> // NULL
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <stdexcept>
#include <iostream>
#include "TPLexPrefixTree.hh"
using namespace std;
int safe_tolower(int c)
{
if (c == 0xC5) // ISO-8895-15 'Å'
return 0xE5; // ISO-8895-15 'å'
else if (c == 0xC4) // ISO-8... |
d550323bad41639882e08d85b0ccbb8b6ae521caf77f1a7e6eb28e4aa12b905d | C++ | 44,266 | 1,090 | /* ----------------------------------------------------------------------
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 the terms of Contract... |
46faf5e65c4db5cb0552a9b57b556b78d7bbf805acb3e424d0711d97baa22432 | C++ | 44,620 | 1,656 | #include "Subspaces.hh"
void
PrecisionSubspace::copy(const PrecisionSubspace &orig)
{
assert(orig.m_mspace.size()==orig.m_vspace.size());
m_mspace.resize(orig.m_mspace.size());
m_vspace.resize(orig.m_vspace.size());
m_quadratic_features.resize(orig.m_quadratic_features.size(),1);
for (unsigned int i=0; i... |
2480cd313fa632d1a85c282a018e6e95a7ff6ee82d74fe0af6a3703d79463d82 | C++ | 45,514 | 1,615 | /***************************************************************************************************
* 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) / ... |
376a88d4af979084a29f36b2b555ff5f12ca70a2b5aaf4cdf497c6d3b320114b | C++ | 46,628 | 1,010 | #include <chrono>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <random>
#include <tclap/CmdLine.h>
#include <json.hpp>
#include <casebase.cpp>
#include <io.cpp>
#include <utils.cpp>
#include <experimental/filesystem>
template<class T, class U>
T get_param(const U& p, T def) {
... |
16c38bbd8e0293fd1d9e7f3b89785f233063fcae6e5b84aed292252ece5f0cba | C++ | 46,937 | 1,848 | // 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 "CarlaActor.h"
#include "Carla/OpenDrive/OpenDrive.h"
#include "Carla/Util/Navigation... |
362e6e228261b28225d1468accea753035c716e26b0b194c7fdd41b950f1b740 | C++ | 47,582 | 1,206 | // 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 "CameraModelUtil.h"
#include <util/ue-header-guard-begin.h>
#include "Engine/TextureR... |
cfa73200090eb369fd72d353faf9e1ce79a77a89c1661ecc5aabece9c4851150 | C++ | 47,847 | 1,170 | // 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/SpringBasedVegetationComponent.h"
#include "Carla/Walker/WalkerAnim.... |
125458a255b8286985d63bebcc17fdb7867ab07837b7bf721a9dcc814a47bd89 | C++ | 48,921 | 1,063 | #include "runtime/runtime.h"
// Standard C++ includes
#include <fstream>
#include <unordered_set>
// PLOG includes
#include <plog/Log.h>
// Filesystem includes
#include "path.h"
// GeNN includes
#include "varAccess.h"
// GeNN code generator includes
#include "code_generator/backendBase.h"
#include "code_generator/... |
5ed673bf07b2b9063fdb2c3cb32dcf52c6b7cdc54e5a78ff9931274d0f78137b | C++ | 49,858 | 2,143 | #include "FeatureModules.hh"
#include "AudioFileModule.hh"
#include "FeatureGenerator.hh"
#include <climits>
// This needs to be defined for VS and M_LN10 constant varjokal 24.3.2010
#ifdef _MSC_VER
#define _USE_MATH_DEFINES
#endif
#include <cmath>
#include <cstring>
#include <sstream>
#include "util.hh"
using names... |
4dc81d27c4220eca6da071ca89190b89606ce6fa00585f1c34ae34c7993b4ca9 | C++ | 50,104 | 1,218 | // 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/MeshFactory.h>
#include <vector>
#include <carla/geom/Vector3D.h>
#inclu... |
86deae8de867c7b3f3bd27b5ee852e5bf13ddde7845c3958bb6609d39a4249b8 | C++ | 50,812 | 1,017 | // Copyright (c) 2019-2020 Intel Corporation
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/rss/RssCheck.h"
#include <spdlog/sinks/stdout_color_sinks.h>
#ifdef RSS_USE_TBB
#include <tbb/tbb.h>
#endif
#include <ad/map/access/Log... |
4d04e00dfb8a459e97be74055da1b59557ab557e50e09fc4ecaaf24e9fb35e71 | C++ | 51,506 | 1,383 | #include <vector>
#include <set>
#include "tools.h" // Numerical tools
#include "sparseInverse.h" // Computations of cluster entropies
//#define EPSG 1.0e-10
//#define MAXANGLE 0.998
//#define MAXSTEPSIZE 5.0
//#define MINSTEPSIZE 1.0e-10
//#define NEWTONGRADSIZE 3.0e-3
//#define NEWTO... |
37bbb0efdd1b18f62f57948f9450a2b1d35d6ef4c8ba70b45f311cf4c1fd81dc | C++ | 52,470 | 1,643 | #include "TrafficLights/TrafficLightActor.h"
#include "BlueprintUtilFunctions.h"
#include "CarlaTools.h"
#include "Components/SceneComponent.h"
#include "Components/StaticMeshComponent.h"
#include "Containers/UnrealString.h"
#include "Dom/JsonObject.h"
#include "Editor.h"
#include "Engine/StaticMesh.h"
#include "Engin... |
25bd48539b795fbdd55ba4ee2a51fb690af3fda9797371134335593fb31fb1ce | C++ | 52,968 | 1,801 | #include <vector>
#include <math.h>
#include "tools.h" // Numerical tools
// Calculates gamma from the data for the L0 norm regularization
double computeGamma_L0(const Vector &p, double B) { return 1/B; }
// Calculates gamma from the data for the L2 norm regularization
double computeGamma_L2(const ... |
f87d4c8ea07377e3ed891d9d54cb1eafdde4ed3e78d488dd3601f84d00970577 | C++ | 53,727 | 1,446 | // 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/SceneCaptureSensor.h"
#include "Carla/Sensor/PostProcessConfig.h"
#inclu... |
f919af556f96331d2dd7771926f55c98df010a81b17969231eb8ced53436b887 | C++ | 54,545 | 1,542 | // 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 "MapGeneratorWidget.h"
#include "Carla/MapGen/LargeMapManager.h"
#include "Carla/MapGe... |
ad786543840438c2d56c4719a06204369d196d4360dffb57c33b31e405830bcf | C++ | 55,637 | 1,450 | /*
The MIT License (MIT)
Copyright (c) 2011-2016 Broad Institute, Aiden Lab
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... |
8311e058fb896628b194684354a3ca1329a22f29ad7d3256860a2b178ef54f2a | C++ | 56,611 | 1,501 | #include <fstream>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <array>
#include <vector>
#include <limits>
#include "kiss_fft.h"
#include "json/json.h"
#include "ldw_math.h"
#include "spectrum_baseline_1d.h"
#include "spectrum_phasing_1d.h... |
bdc5c85ac0839bc49564e2714bef62e7186c655e201ce3f994f45183ded0246d | C++ | 57,875 | 1,887 | // 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... |
48774160a962b3b9b097dddd3e0451a605fac414b9c5bc7aa96b8f107f863c06 | C++ | 61,682 | 1,699 | // Copyright (c) 2025 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>.
// Must be defined before any includes to suppress real DDS auto-includes
// (the vendor pub/sub midd... |
614049d5ee76c0fdac8ac85b2ac31d5c76d16b0688d1a1d07d7cabea028a984a | C++ | 62,595 | 1,504 | // 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/LightDefaultsJsonUtils.h"
#include "Carla/Lights/CarlaLightSubsystem... |
56de6dda95377a471fef68a275bc7e5a788b39511d3072d369d0ffcda93a359b | C++ | 63,451 | 1,230 | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include "../inst/include/ACTIONet.h"
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// set_seed
void set_seed(double seed);
RcppExport SEXP _ACTIONet_set_seed(SEXP seed... |
9a25402bab6775e9d254cf1dd907ede0b32e1ecb4d34a56056748f8ab527701e | C++ | 63,990 | 1,697 | /*
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... |
7619899fcbcdb1313d897478f2526e6203eb916e4212d95b3b781012442dd80f | C++ | 64,032 | 1,682 | /*
The MIT License (MIT)
Copyright (c) 2017-2021 Aiden Lab, Rice University, Baylor College of Medicine
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 witho... |
8fe0d46285f98bf8e41bdcc66c438aa8bb21d9ce499525d63b65f03da82b1984 | C++ | 64,607 | 2,109 | #include <ACTIONet.h>
#include <RcppArmadillo.h>
#ifdef _OPENMP
#include <omp.h>
#endif
// [[Rcpp::plugins(openmp)]]
// [[Rcpp::depends(RcppArmadillo)]]
using namespace Rcpp;
using namespace arma;
#define ARMA_USE_CXX11_RNG
#define DYNSCHED
// set seed
// [[Rcpp::export]]
void set_seed(double seed) {
Rcpp::Envir... |
85e349dd9490cdbb154459fc719ba87f06382a7f7191694777d5dea749a2d041 | C++ | 69,585 | 2,386 | #include <vector>
#include <valarray>
#include <fstream>
#include <iostream>
#include <iostream>
#include <limits>
#include <algorithm>
#include <cmath>
/**
* Below two lines are required to check whether folder or file exists
*/
#include <sys/types.h>
#include <sys/stat.h>
#ifdef WEBASSEMBLY
/**
* Bind to emscript... |
595aad13f6a7a3ce1307fa35de919f6c17158fc2e281360cbc46c91a01af8640 | C++ | 70,560 | 1,878 | /*
The MIT License (MIT)
Copyright (c) 2017-2021 Aiden Lab, Rice University, Baylor College of Medicine
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 witho... |
5865f152429174066b86f9e525f19e951e452e061a7b1a2e67f67c953898d6a4 | C++ | 72,522 | 2,001 | #ifdef WITH_SPIN
#include "camera_device_spin.hpp"
#include "utils_spin.hpp"
#include "exception.hpp"
#include <sstream>
#include <iostream>
#include <algorithm>
#include <bitset>
#include <fstream>
#include "base_node_spin.hpp"
#include "string_node_spin.hpp"
#include "enum_node_spin.hpp"
#include "entry... |
94499d7e1277bd0d6427346031b3575f7dd75b3ef2ddbfaa18a62bb04703e9bf | C++ | 72,937 | 1,814 | // 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 "Carla/Vehicle/CarlaWheeledVehicle.h"
#includ... |
620e37e80f51b55992c535a56cc44ffe069016d9173efbd292c5f9f71dc131ef | C++ | 74,715 | 2,507 | #include "TrafficLights/Widgets/TLWTrafficLightToolWidget.h"
#include "CarlaTools.h"
#include "Components/ActorComponent.h"
#include "Components/StaticMeshComponent.h"
#include "Containers/Array.h"
#include "Containers/UnrealString.h"
#include "CoreGlobals.h"
#include "Delegates/Delegate.h"
#include "DesktopPlatformMo... |
bace873a6cee2b0f3576f35e3ab0a5d9d8dadd6c61768f389d8debd37c86fa67 | C++ | 78,229 | 2,382 | // Copyright (c) 2023 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 "OpenDriveToMap.h"
#include <util/disable-ue4-macros.h>
#include <carla/geom/BoundingBox.h>
#i... |
0bd0e78cbfceadca1460b2a4ef25124ce0915fd188905b9440534cce21c76c00 | C++ | 78,344 | 2,350 | #include "HmmNetBaumWelch.hh"
#include "str.hh"
#include <list>
#include <set>
#include <stack>
#include <algorithm>
#include <limits.h>
#include <string.h>
using namespace std;
namespace aku {
HmmNetBaumWelch::LLType HmmNetBaumWelch::loglikelihoods;
HmmNetBaumWelch::HmmNetBaumWelch(FeatureGenerator &fea_gen, H... |
7c5a4ba7d06227e147c0b1e1ce28eba8417c08df22ce959b77af590b5fec7fac | C++ | 80,064 | 3,201 | #include <cassert>
#include <iostream>
#include <fstream>
#include <sstream>
#include <math.h>
#include "Distributions.hh"
#include "str.hh"
#include "blaspp.h"
#include "blas1pp.h"
#include "blas2pp.h"
#include "blas3pp.h"
using namespace std;
namespace aku {
void
GaussianAccumulator::get_accumulated_mean(Vector... |
a886a1fab7376eaa01191a712ca241b854c73b11bb9e28ab3cb70d219cf11822 | C++ | 85,036 | 2,221 | // 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 "OpenDriveGenerator.h"
#include "Carla/Game/CarlaStatics.h"
#include "Carla/Game/Tagge... |
ac17c6567f68e68e17d8cd904ab09bdb2d6f2c2b8b00e968b2f925be77cb7fa9 | C++ | 85,809 | 2,687 | #include <algorithm>
#include <cstddef> // NULL
#include <sstream>
#include <stdexcept>
#include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cctype>
#include "TokenPassSearch.hh"
#define NUM_HISTOGRAM_BINS 100
#define TOKEN_RESERVE_BLOCK 1024
#define DEFAULT_MAX_LOOKAHEAD_SCORE_LIST_SI... |
b3030bebf0893c4cce60c435f08630d5d4b362600e36ce29230051e3d3a188b3 | C++ | 89,153 | 2,967 | /***************************************************************************************************
* Copyright (c) 2010
* Department of Mathematics, UC San Diego
*
* Copyright (c) 2018 - 2021
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Zeyun Yu < zeyu@math... |
2670252d6c58c1e6e120d8d0aebdabc640457cd06d5ffbc79d3b5b9fa2be215b | C++ | 89,162 | 2,869 | /***************************************************************************************************
* 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... |
3136e7958eef4ab788796c6e374747e53ca898929efc3bcdd90222d594e04424 | C++ | 102,492 | 3,112 |
#include <utility>
#include <vector>
#include <valarray>
#include <deque>
#include <fstream>
#include <iostream>
#include <algorithm>
#include <Eigen/Dense>
#include <Eigen/Cholesky>
/**
* cubic spline interpolation
*/
#include "cubic_spline.h"
#include "clique.h"
#include "dnn_base.h"
#include "dnn_picker.h"
... |
cfaf82a5fcc76157c7760185ed2b60c5960a8f1a3a50f934b143e990151fdb04 | C++ | 103,272 | 2,806 | // 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 "CustomTerrainPhysicsComponent.h"
#include "Carla/MapGen/LargeMapManager.h"
#include "... |
22ec352970a7cd92d28140c554ee950a4dd96ff7e326b8291e1dc7bb7c1e5830 | C++ | 103,772 | 2,526 | // 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/Map.h"
#include "carla/Exception.h"
#include "carla/geom/Math.h"
#include ... |
a9518eb2ccc8decc8d1c90ea80a11b66505b11c84b24239db6d5cdfb40266b07 | C++ | 105,756 | 3,358 | #include <fstream>
#include <string>
#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include "io.hh"
#include "str.hh"
#include "conf.hh"
#include "HmmSet.hh"
using namespace aku;
using namespace std;
string statistics_file;
string out_model_name;
string state_file;
int info;
conf::Config config;
Hmm... |
dedb8398aca326b63ba202fa5f7672ee133f3691d4c702eddba9da355bc1cea7 | C++ | 108,608 | 2,323 | #include "spectrum_fit_3d.h"
#ifdef WEBASSEMBLY
#include <emscripten/bind.h>
#endif
#include <algorithm>
#include <chrono>
#include <cmath>
#include <climits>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <tuple>... |
32bd4a87d42c985c8bb5815638cfadd1738d05577de1fe7bf7bafeeb4f0af64c | C++ | 113,564 | 3,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>.
#include "Carla/Actor/ActorBlueprintFunctionLibrary.h"
#include "Engine/Engine.h"
#include "Car... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.