sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
1a15c5827a1f79ea1f9cd4460eddb454bc63847d4cc5059bbd35d81d2c0c9949 | C++ | 8,837 | 356 | #include <deque>
#include <assert.h>
#include <string.h>
#include <stdlib.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, "... |
bc487a0169e91f726b1adb9b929b3b4b8a10b16e70d71d4320cb3a6ef66b189e | C++ | 8,839 | 325 | /*
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... |
e21089375eb70202bbd7fc77d8d06eb7a8bf4e0804c0b7355ca2f37c104d575c | C++ | 8,892 | 326 | /***************************************************************************
atom.cpp
-------------------
W. Michael Brown (ORNL)
Class for particle data management
___________________________________________________________... |
e9b7baa4392a728b81f4ffe8e46f34b5120854825524ae3a7c9fcac9183bf925 | C++ | 8,897 | 230 | /*
* 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 applicabl... |
55146e674821d7870b5574ef15065a592f43e738ae598195a7fa6fbdb7a3a513 | C++ | 8,899 | 401 | #include <ctype.h>
#include <vector>
#include <string>
#include <errno.h>
#include <string.h>
#include <sstream>
#include <cstdlib>
#include <assert.h>
#include "PhnReader.hh"
#include "str.hh"
namespace aku {
PhnReader::Phn::Phn()
: start(0), end(0)
{
}
PhnReader::PhnReader(HmmSet *model)
: m_file(NULL), m_mo... |
1a78617dafab58b5cc9a7dd559470604f927e51bf699a41b9ef5bc4f7ab9691c | C++ | 8,949 | 230 | /*
* 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 applicabl... |
dae5e6c6f4b1c103708e23fb18c84a8062e442dc9e5e6bab417aca79f812caca | C++ | 8,972 | 303 | /***************************************************************************************************
* 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) / ... |
790c74b06ab0434965b094690d03e5912a0b8a571eb8632dbed027a4fc25de2d | C++ | 8,979 | 254 | // Copyright 2022 Huawei Technologies Co., Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... |
60768dbd5b074545440ed145f4b24f83447bcde6e7dcc06d049150da80ba9fb6 | C++ | 9,024 | 246 | /***************************************************************************************************
* Copyright (c) 2016 - 2021
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Juan Jose Garcia Cantero < juanjose.garcia@epfl.ch>
* Marwan Abdellah < marwan.abd... |
9958a9e4ce7248c8caf065769d5391244e683838f18c401e3671d4ffe8bb3963 | C++ | 9,058 | 273 | #ifdef WITH_SPIN
#include "node_map_utils.hpp"
#include "exception.hpp"
#include "basic_types.hpp"
#include <sstream>
#include <iostream>
namespace bias
{
const size_t MAX_BUF_LEN = 256;
std::map<spinNodeType, std::string> NodeTypeToStringMap = {
{ValueNode, "ValueNode"},
{Ba... |
2d995544062bd4623f53c6bec3fcf2ee3e7b44a8ab3a8b7fc1d955365032b6f2 | C++ | 9,072 | 249 | #include "dvs.h"
// GeNN code generator includes
// **YUCK**
#include "code_generator/codeGenUtils.h"
// GeNN runtime includes
#include "runtime/runtime.h"
// LibCAER includes
#include <libcaercpp/devices/device.hpp>
using namespace GeNN::Sensors;
//-----------------------------------------------------------------... |
4949f8584b38bf2202049d979ff7310052fdf5ec7185d6acfdd65b3abc921714 | C++ | 9,098 | 226 | // 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/parser/LaneParser.h"
#include "carla/road/MapBuilder.h"
#include <t... |
cebc1c7f792867d650f4e46a72eb0a8367e3e4099bda1bbf1bdd86016016a112 | C++ | 9,109 | 232 | /*
* Copyright (c) 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 appli... |
b135e11a1738014990776a1a1d52fe835304f37cfb955b4eec34668ba5e72977 | C++ | 9,121 | 400 | /***************************************************************************************************
* 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... |
e8703f8897f14379e4f4f5b3a9f56bff5b34bb4fecf7f3303e0af45f68c5000b | C++ | 9,153 | 253 | // 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/trafficmanager/TrafficManagerGeometry.h"
#include <algorithm>
#include <array>... |
f19b21f090745fa0307f089a094252572e2682f4b6ea2f3f45c3da08037969fa | C++ | 9,183 | 235 | // 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/V2XSensor.h"
#include "Carla.h"
#include "Carla/Actor/ActorBlueprintFun... |
99a197194f695d7a8c1b7b1981cc38bb283fddfcd8d14624ff222c0cdf39ad63 | C++ | 9,212 | 380 | #include <deque>
#include <assert.h>
#include <stdio.h>
#include "conf.hh"
#include "str.hh"
#include "io.hh"
namespace aku {
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) {
fpri... |
224205f38dcce2f244bf79260cf54b7ee85144a1c303eac67a1eeb175f49d534 | C++ | 9,257 | 299 | // 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/LocalPlanner.h"
#include "carla/agents/navigation/Misc.h"
#include "carla/client/Map.h"
#include "carla/client/Vehicle.h"
#include... |
fdb8bb4d5181a4aab2644929ad22f772849618d5f59bcb48258577590de247c3 | C++ | 9,279 | 246 | /*
* qi_glmsetup.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... |
008a2d52584975469f0fc4fb0cc2e327c6f47613e1dfadc61c0a1faea63fb55f | C++ | 9,295 | 322 | #include "base_node_spin.hpp"
#include "basic_types.hpp"
#include "exception.hpp"
#include <iostream>
#include <sstream>
#include <map>
namespace bias
{
const size_t BaseNode_spin::MAX_BUF_LEN = 512;
std::map<spinNodeType, std::string> NodeTypeToStringMap = {
{ValueNode, "ValueNod... |
beda2b5a89c2f2e950caead6d53d175f904b44efe82ff200b986fe7f012199e0 | C++ | 9,298 | 301 | /***************************************************************************************************
* 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... |
9a450c931a209ec3a919bd17fddebad9b835607301f3cf9923aae79781060c70 | C++ | 9,299 | 273 | // 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/Map.h"
#include "carla/geom/GeoProjection.h"
#include "carla/client/Jun... |
21f30dc9da6f3631f6b887033c223fd6f6e0d7af3f39d7e2629c972a7a3bcf92 | C++ | 9,358 | 320 | // 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 "DoublyConnectedEdgeList.h"
#include "Carla.h"
#include <cmath>
#include <map>
#ifde... |
a3b54abcaf8bf4148541df533b0cceb327c080ee90aaee9ccccca776e58afe77 | C++ | 9,361 | 412 | /***************************************************************************************************
* 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... |
a1c510fc97e8fe0b87e8bffa327a411df4084449644e70d81cfe8c04399641df | C++ | 9,363 | 311 | // 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 <thread>
#include "carla/client/detail/Simulator.h"
#include "carla/trafficmanager/T... |
b22e7caf835be1ba329366e21a250a9a93a5acb22f6662cc1e74675884d11013 | C++ | 9,388 | 270 | // 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>.
//
// Lidar implemented by Csonthó Mihály based on RayCastLidar code.
#include "Carla/Sensor/HS... |
d67b094aeba69a1a0c2073dad93442f5e6d8575bf20899cbfb60462e0c379c15 | C++ | 9,390 | 290 |
#include <vector>
#include <valarray>
#include <fstream>
#include <iostream>
#include <time.h>
#include <sys/time.h>
#include "ceres/ceres.h"
#include "glog/logging.h"
using ceres::CostFunction;
using ceres::AutoDiffCostFunction;
using ceres::Problem;
using ceres::Solver;
using ceres::Solve;
#include "json/json.h"... |
5b0bc5b0aa813ee55ad4ca91f30bbbeaa9a892be2bc58c7686896c186375afde | C++ | 9,391 | 220 | /*
* qi_ellipse.cpp
*
* Copyright (c) 2016, 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 "Args... |
5e73c31f5a42a2b9a89861bfdecb1b671073d86140cea2be2b1cf0eff8ff8f71 | C++ | 9,395 | 280 | // 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/InertialMeasurementUnit.h"
#include "Carla.h"
#include "Carla/Actor/Acto... |
3dffe5cc8957c914b5c659d4cf7be01812635abfb89731d48c6060b0821f7802 | C++ | 9,398 | 270 | // 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/CarlaStatics.h"
#include "Carla.h"
#include "Carla/ContentPacks/ContentPac... |
db8468c13e805b67edfe3ab58a4a7f981d4a1833726fed5a68853a405201eb39 | C++ | 9,488 | 248 | /*
* 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... |
969773b2171abf4dfe66a8bc6449f56149e96b72304764ac25a42514463538a6 | C++ | 9,496 | 323 | /*
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... |
e94cdd3eb3a2810be897ca9efb65d97384edcca02d883236830e4bfc898b64fb | C++ | 9,605 | 246 | // 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>.
// Regression tests for carla-simulator/carla#9565
// Digital Twin Tool: crash on metropolitan ... |
eed1fc36b786eb76e8b979669dd301aff3b36f897fba23c5bbc91e9175bd959e | C++ | 9,612 | 211 | /*
* kcGLM_mex_computeLL.cu
* Mex function to call the log likelihood function in a GLM object.
* Takes 4-5 arguments: ptr (in long int form) to GLM object
* boolean (is double) for if the object is double precision (or single)
* params struct (from kcGLM class)
* ... |
b7d8b624cf114425efc74616dfbc577783d56a9f56c12b73ab9521915193f2ef | C++ | 9,625 | 310 | // 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>.
// Only meaningful when building the CycloneDDS middleware target.
#ifndef CARLA_ROS2_MIDDLEWARE_TEST... |
e9ef602a8cf83642792a6f02a9a355429b9460fdc87e712e3aba9e95583fb1d9 | C++ | 9,630 | 403 | #include <cstddef> // NULL
#include <algorithm>
#include <iostream>
#include <assert.h>
#include <errno.h>
#include "InterTreeGram.hh"
#include "Toolbox.hh"
#include "TreeGramArpaReader.hh"
#include "io.hh"
#include "misc/str.hh"
#include "HTKLatticeGrammar.hh"
using namespace std;
Toolbox::Toolbox(const char * hmm... |
aaaa47257619cf0bf1201ba69b3bf9736f7a02af365b6fc5aa7ec5c54e7efaee | C++ | 9,643 | 289 | #include <fstream>
#include <string>
#include <iostream>
#include <string.h>
#include "io.hh"
#include "str.hh"
#include "conf.hh"
#include "FeatureGenerator.hh"
#include "Recipe.hh"
#include "PhonePool.hh"
#include "PhnReader.hh"
#include "SpeakerConfig.hh"
#include "HmmNetBaumWelch.hh"
using namespace aku;
int max... |
2b42bcf9c3e22d7c5ca638ce4fd86a749c585fc099a438b5951d1dff69f39201 | C++ | 9,646 | 225 | /*
* multiecho.cpp
*
* Created by Tobias Wood on 27/01/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/.
*
*/
#i... |
651cdabd184e571c56495dc615df499c6a65a5ea1bd14c1eff12931b3b43df0b | C++ | 9,648 | 258 | /***************************************************************************************************
* 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... |
a00b3253a504c16618b5035478e22854223b7a249e5dff770ea42132e16af71a | C++ | 9,672 | 253 | /***************************************************************************************************
* Copyright (c) 2016 - 2021
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Juan Jose Garcia Cantero <juanjose.garcia@epfl.ch>
* Marwan Abdellah <marwan.abdel... |
fac77f2c27060fa66057306cc3b92cae04d0cbb771dc87bdcbe9de0b728d19bd | C++ | 9,694 | 300 | /***************************************************************************************************
* 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.... |
d0c4b12e00248ce5b8f7275a48a5451167b9b721016208d2ecdd85b4d9ddbd5a | C++ | 9,764 | 268 | // 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/JsonFileManagerLibrary.h"
#include <util/ue-header-guard-begin.h>
#includ... |
4546277fc337b9827bed311205d7a25d361f0d39a8999e6e6eb6377151debbaa | C++ | 9,772 | 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/Sensor/CustomV2XSensor.h"
#include "Carla.h"
#include "Carla/Actor/ActorBluepr... |
bc4d04ea171afae8143b5317f0df055195071094092cc5f490ed4399837b2b49 | C++ | 9,776 | 264 | /*
* Copyright 2022 Huawei Technologies Co., Ltd
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
116935d493524afd177c046240c6f0c5c1c72f118ccbebca77483a7fe3addc6d | C++ | 9,810 | 262 | /***************************************************************************************************
* Copyright (c) 2016 - 2022
* Blue Brain Project (BBP) / Ecole Polytechniqe Federale de Lausanne (EPFL)
*
* Author(s)
* Juan Jose Garcia Cantero <juanjose.garcia@epfl.ch>
* Marwan Abdellah <marwan.abdell... |
fbf8d9576ebf5f1c6e04ecab7fa8cb3419646a0e9aa56869d036b974b4819089 | C++ | 9,826 | 300 | #include <math.h>
#include <string>
#include "io.hh"
#include "str.hh"
#include "conf.hh"
#include "HmmSet.hh"
#include "FeatureGenerator.hh"
#include "FeatureModules.hh"
#include "PhnReader.hh"
#include "Recipe.hh"
#include "SpeakerConfig.hh"
using namespace aku;
#define TINY 1e-10
std::string save_summary_file;
... |
25bb0ec440ac2276e277b7e6f4670bf09d3af1596bc56ceed7311d1407e61726 | C++ | 9,860 | 265 | /*
* qi_mpm_r2s.cpp
*
* Copyright (c) 2019 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 "Args.h"
#i... |
7ee6dd1ad862a9a84991d6b281ecd75b5a532f9ab4a297382cc2b1747c58af51 | C++ | 9,944 | 225 | #include <stdio.h>
#include <stdlib.h>
#include <string>
#include "algorithm.h" // Algorithm declarations
/*********************************************************************
COMMAND LINE INPUT FORMAT
Command line instructions tell the program where to look for input
files and where to s... |
0ab8a480a73e8be315baedeb7c542699a70e370d2712d730d27fea4393d73a68 | C++ | 9,953 | 280 | // 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/Waypoint.h"
#include "carla/client/Map.h"
#include "carla/client/Juncti... |
98a67264e35dff5da1529d555f86d64abf3023ce13ddf8e29e0733758d9dd9cd | C++ | 9,972 | 389 | /***************************************************************************************************
* 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... |
b28936b3aade281a33b5ab7855a129a332c09c2ffb1de81bb1a0388e77e7bf76 | C++ | 9,982 | 345 | // 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/CarlaSettingsDelegate.h"
#include "Carla.h"
#include "Carla/Game/Carla... |
5b7b430447cfd6854d06a12a3fc66623882069514ab460f5bc018ed44145790b | C++ | 10,052 | 374 | #include "ACTIONet.h"
namespace ACTIONet {
field<mat> perturbedSVD(field<mat> SVD_results, mat &A, mat &B) {
// printf("\tComputing perturbed SVD ... "); fflush(stdout);
stdout_printf("\tComputing perturbed SVD ... "); // fflush(stdout);
int n = A.n_rows;
mat U = SVD_results(0);
vec s = SVD_results(1);
m... |
1ce9567f1c38abd0e8e0d91ba9e5234dffc42ef76bfe0a96b2437a8b011f20cb | C++ | 10,070 | 339 | // 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/LightManager.h"
#include "carla/client/detail/Simulator.h"
namespace ... |
5b4d5d56d5f466dc1d64fe2de1dd0e5385f1cf3d6c55683ea750bc145bf2262e | C++ | 10,077 | 230 | /*
* qidespot1.cpp - Part of QUantitative Imaging Tools
*
* 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/.
*
*/
#includ... |
7df6b1bdc6c6f5ef87aa55497101e17b58535ee04e6a16fd9452ff92651a3be0 | C++ | 10,222 | 413 | /***************************************************************************************************
* 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... |
a4a54a624982ad90c6fc25ebc06c65858530b5e63b44940aaab65f2bf6a0fb6a | C++ | 10,287 | 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/Walker/WalkerController.h"
#include "Carla.h"
#include "Carla/Navigation/CarlaW... |
abbee0f8612dcc72b9b5f00c058577da22fe0717ecc3cc946ca4cb54e5babc23 | C++ | 10,289 | 274 | // 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 "Signals.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <map>
#i... |
068488bf863d491912c2b028a3fd0ff8201bc42a9a2fb037051d31ccb09af6a5 | C++ | 10,298 | 256 | /*
* qiaffine.cpp
*
* 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/.
*
*/
#include "itkCenteredAffineTransform.h"
#incl... |
fa979b192deccc81c08159f8e5fa34d8b39941e0d9f90b1517937ef5f078cc03 | C++ | 10,316 | 282 | /***************************************************************************************************
* 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.... |
3a1a5dde22e8b66830a78883cd39629003e3b7fd7d1afcaa65a9550336f3c8fb | C++ | 10,353 | 310 | // 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 "Geometry.h"
#include <algorithm>
#include <map>
#include <set>
#include <boost/geom... |
27dc105dd81ddef5f55f113abaa7ebe5c605d8fd31baa85ea63b55adb3ec17c8 | C++ | 10,391 | 278 | // Copyright 2022 Huawei Technologies Co., Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... |
1a955f77e1a5e925fb40e7c8337966bac2e32f5c34cb4d5db718a5d562049316 | C++ | 10,392 | 392 | /*
Genesis - A toolkit for working with phylogenetic data.
Copyright (C) 2014-2016 Lucas Czech
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
... |
2728ae4f5945991635ec28e6189ee7b4571572b8c7789d734d0c03bd6569e39c | C++ | 10,502 | 445 | #include "ACTIONet.h"
#include <cmath>
#include <cstdlib>
#include <limits>
#define A1 (-3.969683028665376e+01)
#define A2 2.209460984245205e+02
#define A3 (-2.759285104469687e+02)
#define A4 1.383577518672690e+02
#define A5 (-3.066479806614716e+01)
#define A6 2.506628277459239e+00
#define B1 (-5.447609879822406e+01... |
6150d50f461328bdcfa3fed783365d39c0b3dd7fcba5c31b7fe934d89e1c3fda | C++ | 10,503 | 270 | #include "Distributions.hh"
#include "conf.hh"
#include "LinearAlgebra.hh"
#include "HmmSet.hh"
#include "str.hh"
std::string stat_file;
conf::Config config;
HmmSet model;
int
main(int argc, char *argv[])
{
PDF::EstimationMode mode;
try {
config("usage: optimize [OPTION...]\n")
('h', "help", "", ""... |
10776117193af34068855850c7f1ab809af6b808de19b3e6a054dc82e2cdf4f7 | C++ | 10,577 | 377 | #include "TrafficLights/TLMeshFactory.h"
#include "CarlaTools.h"
#include "Components/StaticMeshComponent.h"
#include "CoreGlobals.h"
#include "Logging/LogVerbosity.h"
#include "Math/MathFwd.h"
#include "Misc/AssertionMacros.h"
#include "TrafficLights/TLBackplateDataTable.h"
#include "TrafficLights/TLLightTypeDataTabl... |
75334b61061e5786a1ed79a33d847ef79e5406713758fccf259d6df56acbe505 | C++ | 10,589 | 256 | /*
* qi_esmt.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 <Eigen/Core>... |
df5234e1fb00153e16f3399fc1b6ab5469dec306d639f6b308ef982109856ec1 | C++ | 10,611 | 376 | /*
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... |
b3daa895a6fe7bd6da45c65eb8bb1ab31a62e8f788c83ac497ab3baa013b7031 | C++ | 10,631 | 211 | // 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/RssRestrictor.h>
#include <carla/rss/RssSensor.h>
#include <carla/sensor/data/RssResponse.h>
#include <ad/physics/python/AdPhysicsP... |
957b71f393b6aa0b9b70669d184776a09b8c927a51d3f4b7fa9e6f221b1b32fd | C++ | 10,698 | 355 | /***************************************************************************************************
* 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... |
e6cd4eca402d2a4fbc68e0f87ac8ba8d0c1a594fbe2e0f983080db4adc3dbff4 | C++ | 10,699 | 380 | // 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 "BlueprintLibrary/PoissonDiscSampling.h"
#include "PCGContext.h"
#include "PCGCompone... |
b186396a64aed9e47aeffc954cf74b436f3b7938906b474103b14f3fa7a119b0 | C++ | 10,743 | 355 | #include <string>
#include <string.h>
#include <algorithm>
#include <list>
#include "SegErrorEvaluator.hh"
namespace aku {
SegErrorEvaluator::RefIterator::RefIterator(SegErrorEvaluator &parent,
std::vector<int> &arcs_in_frame,
s... |
dc8f878daa0f72562416d1a25e87ecbb64e14ac9b5bc092e40a8fd6bf78236af | C++ | 10,763 | 303 | // 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/Lane.h"
#include <limits>
#include "carla/Debug.h"
#include "carla/geom/... |
041d3a46081df52960ce753b29497e02ddc7ed657b653e5d7946773669b39a28 | C++ | 10,801 | 360 | /*
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... |
19c71a7c3c9750bbe9e6a4c51c816ccc2c585057dcc845f5c38f0f4ffa0f629f | C++ | 10,816 | 347 | #include <fstream>
#include <string>
#include <string.h>
#include <iostream>
#include "io.hh"
#include "str.hh"
#include "conf.hh"
#include "Viterbi.hh"
#include "HmmSet.hh"
#include "FeatureGenerator.hh"
#include "Recipe.hh"
#include "SpeakerConfig.hh"
using namespace aku;
int win_size;
int info;
float overlap;
boo... |
98acb1ab1310a62b8301038db9682d766d5347fc311203d2560005bc8a8ce53a | C++ | 10,851 | 334 | // 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/parser/RoadParser.h"
#include "carla/Logging.h"
#include "carla/Stri... |
8067377fc08d23a29df6214698ec7b2fe0c2f683ecaa3b361c48558b0b6ec992 | C++ | 10,880 | 410 | #include <fcntl.h>
#include <stdio.h>
#include <set>
#include <errno.h>
#include <string.h>
#include "ModuleConfig.hh"
#include "str.hh"
#include "FeatureGenerator.hh"
#include "FeatureModules.hh"
namespace aku {
FeatureGenerator::FeatureGenerator(void) :
m_base_module(NULL),
m_last_module(NULL),
m_file(NULL)... |
8693e66f6e34c09868bbeb22b8a79cc3cb90bff1ecf2bc3e2f5c7b5bdccc70c7 | C++ | 10,922 | 343 | /***************************************************************************
base_sph.cpp
-------------------
Trung Nguyen (U Chicago)
Base class for SPH pair styles needing per-particle data for position,
velocity, and type.
... |
e6e1eacd8de4cf32f22c1e3867d06bab4b4e876856b4fad4d188a267a9ceaf71 | C++ | 10,931 | 388 | /* Random kit 1.3 */
/*
* Copyright (c) 2003-2005, Jean-Sebastien Roy (js@jeannot.org)
*
* The rk_random and rk_seed functions algorithms and the original design of
* the Mersenne Twister RNG:
*
* Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
* All rights reserved.
*
* Redistribution... |
8cbbc342681fd692e2072a1b94357482edecab153035993642468627ea63b272 | C++ | 10,981 | 338 | // 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/nav/WalkerManager.h"
#include "carla/Logging.h"
#include "carla/client/ActorLi... |
6448b4ca0e511baa602fa2db740a37cc21491a2f0300d096db04771d78335d56 | C++ | 11,042 | 311 | // 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/RayCastSemanticLidar.h"
#include "Carla.h"
#include "Carla/Actor/ActorBl... |
b5c2bcfd9966d4a9a6a325ac78f6b0a3ee7f54eb8977eb93b4c471109f952e1b | C++ | 11,076 | 285 | /*
* 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 ... |
ed71b07d41f9688cfa7ffb88c95bb2dff7fab2ed64982e28cd583f822d827c73 | C++ | 11,088 | 328 | #include "image_grabber.hpp"
#include "exception.hpp"
#include "camera.hpp"
#include "stamped_image.hpp"
#include "affinity.hpp"
#include <iostream>
#include <QTime>
#include <QThread>
#include <QFileInfo>
#include <opencv2/core/core.hpp>
// TEMPOERARY
// ----------------------------------------
#include ... |
4fb30bc3f579da545866d152acf3955bf4052d0ada927b2058b4f91a066c5a3b | C++ | 11,103 | 293 | // 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 _GLIBCXX_USE_CXX11_ABI 0
#include "pytorch.h"
#include <torch/torch.h>
#include <torch/scri... |
32c2aa7af384c584b5d57e15c9649cee93f62d35d201cae898de05a87aef9188 | C++ | 11,125 | 353 | // 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... |
76671d4a3f5173ed0e8ebc6217890cc404cfc581d3f00e79eae973337ebd0e0b | C++ | 11,147 | 315 | // 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 "DigitalTwinsTrafficLight.h"
#include "Carla.h"
#include "Components/StaticMeshCompone... |
1a993cc4673e8373d3ae28957c3cc55e303a93ace3bde6457b1d20764a4cd3eb | C++ | 11,149 | 325 | /* ----------------------------------------------------------------------
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... |
a69d99e077e3e8deec722ed16da48eb018f6c54d2ad06459489882126b19afd4 | C++ | 11,167 | 327 | #include "Carla/Util/GeometryImporter.h"
#include "Misc/FileHelper.h"
#include "Misc/Paths.h"
#include "Engine/Engine.h"
#include "Engine/StaticMeshActor.h"
#include "Modules/ModuleManager.h"
#include "BlueprintLibary/MapGenFunctionLibrary.h"
#if WITH_EDITOR
#include "AssetToolsModule.h"
#include "AutomatedAssetImportD... |
93914c01f1fa9a3ec5662f06fd60e3a3588375666232d408dd4cddc20a20a609 | C++ | 11,174 | 381 | #include "SpeakerConfig.hh"
#include "FeatureModules.hh"
#include "str.hh"
namespace aku {
SpeakerConfig::SpeakerConfig(FeatureGenerator &fea_gen, HmmSet *model) :
m_fea_gen(fea_gen), m_model(model)
{
m_cur_speaker = "";
m_cur_utterance = "";
m_default_speaker_set = false;
m_default_utterance_set = false;
... |
c826cf95744d416912db9231a4bfbf20b6a9f973f11018944278e5468d3d632f | C++ | 11,196 | 241 | /*
* kcGMLM_mex_computeLL_async.cu
* Mex function to call the log likelihood function in a GMLM object. Does not copy results back (use the gather function to get results), but returns to CPU for asynchronous operations.
* Takes 4-5 arguments: ptr (in long int form) to GMLM object
* boolean (... |
0b055057c2d269e6e64aeeb30513266ccd4961044bd902cb2000c308b9bc8b17 | C++ | 11,219 | 316 | // 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 "BlueprintLibrary/CarlaToolsFunctionLibrary.h"
#include <util/ue-header-guard-begin.h... |
82c8473058ef8dda2c38addbd23aee310e64ec1939c10bfbad6c3f85f368db58 | C++ | 11,267 | 536 | #include <cfloat>
#include "LinearAlgebra.hh"
#include "util.hh"
namespace LinearAlgebra {
double
spd_log_determinant(const Matrix &A)
{
assert(A.rows()==A.cols());
//assert(is_spd(A));
LaGenMatDouble chol;
cholesky_factor(A, chol);
double log_det=0;
for (int i=0; i<chol.rows(); i++)
... |
1968fbe59e7444cd31b1e33e1a8f4f2d4b5dd751d15c7b8090e284c953502e3d | C++ | 11,283 | 323 | // 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 "CityMapGenerator.h"
#include "Carla.h"
#include "MapGen/GraphGenerator.h"
#include "M... |
e380805509fe7df893d50749d947c2a25e8d92d55a1cb5a24e005959742b8be2 | C++ | 11,315 | 365 | /*
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... |
c4f799be1b99083885c709c70dab295692db3f70212331cfa5f71d0cf92ecc88 | C++ | 11,317 | 324 | // 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 "Util/SensorSpawnerActor.h"
#include "Carla/Game/CarlaEpisode.h"
#include "Carla/Game/CarlaGameMo... |
e37edcd05c165ab6ee922cef7cc5e746c03c580da302a045923d51da29d2733f | C++ | 11,355 | 355 | /***************************************************************************
base_dipole.cpp
-------------------
Trung Dac Nguyen (ORNL)
Base class for pair styles needing per-particle data for position,
dipole, and type.
___... |
bdbc6ec7dcfc8b9274b7bf11d2a1d7bf9c3cf76da6628c763d7a84f0d6f23de9 | C++ | 11,390 | 369 | /***************************************************************************************************
* 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... |
3e855931d93e2148ac72cdea8028ddcbcfda1eb95d6099441dc7544944e48306 | C++ | 11,413 | 338 | // 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/MapGen/RoadMap.h"
#include "Carla.h"
#include "Carla/Sensor/PixelReader.h"
#in... |
3ab81235da320af5eb33b6ad006f435039d8fc5810787631653b1f745187b12a | C++ | 11,446 | 405 | #include "node_map_spin.hpp"
#include "basic_types.hpp"
#include "string_node_spin.hpp"
#include <iostream>
#include <sstream>
namespace bias
{
const size_t MAX_BUF_LEN = 512;
// NodeMap_spin - public methods
// --------------------------------------------------------------------------------... |
e9b8bebf94eb7f37f8b3fa952dd5740e83902a0a6426a8dda34039ae10ca7b18 | C++ | 11,455 | 358 | /***************************************************************************
base_dpd.cpp
-------------------
Trung Dac Nguyen (ORNL)
Base class for pair styles needing per-particle data for position,
dipole, and type.
______... |
9cac23013ea0a9a49edf140be72c8c8f79e05b53f49b4368a0b3323bc58c3019 | C++ | 11,474 | 229 | /***************************************************************************
hippo_ext.cpp
-------------------
Trung Dac Nguyen (Northwestern)
Functions for LAMMPS access to hippo acceleration routines.
_______________________... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.