sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
1d98a479efd17a93b9fa81e5741867efd8e60ce508bbbd8fae4b3433057e26aa | C++ | 11,495 | 344 | // 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 "StopSignComponent.h"
#include "TrafficLightState.h"
#include "Carla/Vehicle/CarlaWhee... |
e44f7b99eafef6a3fd6fa0994072de98b24b4f4221ff9cada0e32f1891282858 | C++ | 11,501 | 234 | // 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>
#define TM_DEFAULT_PORT 8000
namespace command_impl {
template ... |
13336abaaa7742f3ca9599953ae6d32728ad46278327c45c239cc388c591b23b | C++ | 11,512 | 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 "test.h"
#include <carla/ThreadGroup.h>
#include <carla/streaming/Client.h>
#include ... |
89a2111df0c5cd490b8f960635f5bda7163eb1e9dc0bf8b2d8e05d967ac0add7 | C++ | 11,593 | 315 | /**
* 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... |
69f2e5b2016676999196b9c3571d0730c84a56d1e4984e50a54b98283f62c5d8 | C++ | 11,594 | 364 | /***************************************************************************************************
* 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... |
58ba249f2788ccc11092ab89010a9b18ad76f0ddb165cc8e83ec065b3c7865f8 | C++ | 11,674 | 417 | // 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... |
f394e2070750777018123be08b72a5cc7ea3346cd5aad1f8544989bdfc800823 | C++ | 11,694 | 354 | // 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/GeoReferenceParser.h"
#include "carla/Logging.h"
#include "ca... |
17ed8352ac43f5688d2a50147183f5bc430084a5b6f36bdcf27c98e54659bb76 | C++ | 11,702 | 441 | //=============================================================
//Copyright (c) 2011 G. Gogoshin
//Distributed under MIT-style license.
//(see LICENSE.txt or visit http://opensource.org/licenses/MIT)
//=============================================================
#include <math.h>
#include <numeric>
#include <cstdio... |
68fcf06a839d032acc8d2152e329d0071eef4dc3ab569278f011f886db3d1c8a | C++ | 11,721 | 255 | // Modified from
// https://github.com/hszhao/semseg/blob/master/lib/psa/src
#include "pytorch_cpp_helper.hpp"
#ifndef min
#define min(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef max
#define max(a, b) (((a) > (b)) ? (a) : (b))
#endif
void psamask_collect_forward(const int num_, const int h_feature,
... |
34474e869b175c87f0c114e2a7e7749aa242f004205a6bb62d7ccb82527a0da9 | C++ | 11,727 | 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... |
e459ebcd613d682cac300910b00b27724e0bc4e659a1551554262ab77fa23b58 | C++ | 11,760 | 348 | // 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 "YieldSignComponent.h"
#include "TrafficLightState.h"
#include <queue>
#include "Carl... |
8509023c60a4fdaed8b20b62701c99c88ecccfc987287be73acb2ed942af61cd | C++ | 11,792 | 362 | /***************************************************************************
base_atomic.cpp
-------------------
W. Michael Brown (ORNL)
Base class for pair styles with per-particle data for position and type
__________________... |
49c4a8194e5bf5ff75b7d0919d54a99c1625f9067fd7e36da52dc1a6f32e6a5d | C++ | 11,815 | 384 | // 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/Exception.h"
#include "carla/geom/CubicPolynomial.h"
#include "carla/geom/Locat... |
6dfd146314f96fd7d6a5ff7e1b38e59a4bab74bed144b5a21eb071cb291acc01 | C++ | 11,823 | 350 | #include "HmmSet.hh"
#include "conf.hh"
#include "io.hh"
#include "str.hh"
#include "FeatureGenerator.hh"
#include "FeatureModules.hh"
#include "Recipe.hh"
#include "SpeakerConfig.hh"
#include "MllrTrainer.hh"
#include "RegClassTree.hh"
#include <iostream>
#include <fstream>
using namespace aku;
int info;
conf::Conf... |
d1f147d4fd52ce9a1e01c88d41b13f0cde292bd503a3c737762aa0dc10379196 | C++ | 11,870 | 415 | #include "VolumeWriter.h"
#include <utilities/Timer.h>
#include <data/volumes/grids/Grids.h>
namespace Ultraliser
{
void writeNRRD(const std::string &prefix, const BitVolumeGrid* grid)
{
// Starts the timer
TIMER_SET;
// Open the file in write mode
std::string fileName = prefix + std::string(NRRD_EXT... |
e3201b02c31803a7a46262a49b076d16541bfba8fbe8494e296b01717c827760 | C++ | 11,875 | 270 | // 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>.
//
// Server-free unit tests for the C++ port of agents.navigation.* (issue
// carla-simulator/carla#9554). The tests exercise the parts that don't need
// a live CAR... |
e3648346bab089d820f5a186ea864523d54cb255afed416da6fb65a7846fadaf | C++ | 11,891 | 342 | /***************************************************************************************************
* 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) / ... |
448e70c79adf3c1ae061f4933a725e981a66c4e8d254341b47716011760a5640 | C++ | 11,900 | 315 | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "Carla.h"
#include "Settings/CarlaSettings.h"
#include "Lights/LightDefaultsEditorPanel.h"
#include "BlueprintLibary/LightDefaultsJsonUtils.h"
#include <util/ue-header-guard-begin.h>
#include "Developer/Settings/Public/ISettingsModule.h"
#include "... |
23c776bcdf246e2f53ae61c7717c151b8426d4010e62acedec4893edab5cc548 | C++ | 11,921 | 291 | /*
* 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 ... |
0cc7760c4c1b30c42c0190b88a318637f7aa15fcfbf2eb72e950727c27412cc3 | C++ | 11,946 | 399 | #include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <vector>
#include <set>
#include "json/json.h"
#include "commandline.h"
#include "spectrum_simulation.h"
#include "DeepConfig.h"
int main(int argc, char ** argv)
{
CCommandline cmdline;
s... |
ab7da79fdfa0f9c7d9ae72b4e2cceb0c885a66349bfbe44bcc18043281f253f1 | C++ | 11,946 | 347 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla/Actor/Factory/WalkerActorFactory.h"
#include "Carla/Actor/ActorBlueprintFuncti... |
43c7dfb602d8fe645aa5f814bd8a821a4da734aa01779c9152c725f3e5bcf652 | C++ | 11,950 | 363 | // Copyright (c) 2020 Robotics and Perception Group (GPR)
// University of Zurich and ETH Zurich
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla/Sensor/DVSCamera.h"
#include "Carla.h"
#include "Carla/Util/RandomEngine.h"
#includ... |
bb0f9dcc51b9e7a61b683432678a934c851c3666d6801d92fddf9064ae464045 | C++ | 11,978 | 310 | // Copyright Epic Games, Inc. All Rights Reserved.
#include "CarlaTools.h"
#include "VehicleImporter.h"
#include <util/ue-header-guard-begin.h>
#include "LevelEditor.h"
#include "Widgets/Docking/SDockTab.h"
#include "Framework/MultiBox/MultiBoxBuilder.h"
#include "Components/DecalComponent.h"
#include "Components/Mes... |
6c1057e9f2e35798d570337526da2cd004a6ccbb4b8ae5f4ec06aa054d7383a1 | C++ | 12,241 | 285 | /*
* qi_roivolumes.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 <fstream>
#include <iomanip>
#i... |
db3c4a8c77904223ab1338d1689b9569becd674679d5e4164e0f8bdcec2e3960 | C++ | 12,241 | 304 | #include "parrots_cpp_helper.hpp"
#ifndef min
#define min(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef max
#define max(a, b) (((a) > (b)) ? (a) : (b))
#endif
void psamask_collect_forward(const int num_, const int h_feature,
const int w_feature, const int h_mask,
... |
4db3ad8c0a3d545cdb30ecd5b351aa8d62d5f0b64525d2446e483612cda67d35 | C++ | 12,317 | 395 | #include <climits>
#include <math.h>
#include <vector>
#include <string>
#include "io.hh"
#include "conf.hh"
#include "Recipe.hh"
#include "FeatureGenerator.hh"
#include "FeatureModules.hh"
#include "SpeakerConfig.hh"
using namespace aku;
const char *recipe_file;
const char *out_file;
conf::Config config;
FeatureGe... |
04ffbf7ec1555bf76fb5f77382d97c8faddc73c8072db62135af1ef0bd121a92 | C++ | 12,362 | 388 | // 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 "ChronoMovementComponent.h"
#include "Carla/Ve... |
28028ece90e073b615657f0119ff117cfe7fa71296a3330dd6aa60838fb162f2 | C++ | 12,400 | 280 | /*
* qicomplex.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 "itkComplexToImaginaryImageFilter.h... |
3681f11d754dd703258d6e7d76cec9144cc26f2b0624b16a25cc817bd99c8d74 | C++ | 12,418 | 436 | #include <stdio.h>
#include <stdlib.h>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <cmath>
#include <vector>
#include <ctime>
using namespace std;
struct point{
double x,y,z;
point operator + (const point &p) const {
return (point) {x+p.x, y+p.y, z+p.z};
}
point operator... |
28828d68900c9477a5cbdea8e60daebc77c39d41fa43b7c955076ccd59e80645 | C++ | 12,432 | 359 | // 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/ActorDispatcher.h"
#include "Carla.h"
#include "Carla/Actor/ActorBlueprin... |
cedc153fba07586399a7819ba78e30a7a2caed34f8f4277d8841814fa7b02839 | C++ | 12,450 | 368 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla/Actor/Factory/PropActorFactory.h"
#include "Carla/Actor/ActorBlueprintFunction... |
02ceae36fdfb227c060487d50a194da82819e84cfca6792e6552ab815a4a560a | C++ | 12,461 | 380 | /***************************************************************************
base_charge.cpp
-------------------
W. Michael Brown (ORNL)
Base class for pair styles needing per-particle data for position,
charge, and type.
___... |
3d519bb4595a226b0e6d61d08f6c17265ccb74c61eadff16cc492bf3ecb15557 | C++ | 12,520 | 451 | /************************************************************************
** 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 ... |
ca9beafaddbd162045aa5574636b79018c0109217dbce8e42781615419f8b537 | C++ | 12,570 | 546 | /***************************************************************************************************
* 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... |
9a869b7ba601c8eeddebf2d530be3f080a756161d958a7dd0ac229f1b521606d | C++ | 12,579 | 287 | /*
* qidespot2.cpp
*
* Created by Tobias Wood on 23/01/2012.
* Copyright (c) 2012-2013 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/.
*
*... |
ff7c7520ef4d04aa4635b26f92262c107d6da1c31187dc5e3ca63f543f287e63 | C++ | 12,602 | 333 | // 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/ActorData.h"
#include "Carla/Game/CarlaEpisode.h"
#include "Carla/Traffic... |
5269436435427ca3f8c5f66528364ad7bf3340181963a8f69c4134d891a226e9 | C++ | 12,611 | 416 | /* ----------------------------------------------------------------------
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... |
b78df3d2f59d0d39edffef56da5f513280a5950b1b7497234c7e6c909432b1bd | C++ | 12,644 | 313 | /*
* qicomposer.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 <array>
#include <Eigen/Core>
#i... |
f799cea82f270f31a131ad1c8e0071751c3760a65d9796e2c789be6d4fd3c082 | C++ | 12,648 | 309 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla/Actor/Factory/VehicleActorFactory.h"
#include "Carla/Actor/ActorBlueprintFuncti... |
3014d6a87679caa4c460384e92c3d5de009b5030199ea7036397ba1ec66d6524 | C++ | 12,682 | 416 | // Copyright 2017 Mike Fricker. All Rights Reserved.
#include "StreetMapComponentDetails.h"
#include "StreetMapImporting.h"
#include "AssetToolsModule.h"
#include "SlateBasics.h"
#include "RawMesh.h"
#include "PropertyEditorModule.h"
#include "DetailLayoutBuilder.h"
#include "DetailCategoryBuilder.h"
#include "Detail... |
aa79eace1606aba22741f35829847779558e50ba66ca386c2bf4261c18d7a47f | C++ | 12,718 | 496 | /***************************************************************************************************
* 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... |
f594ece481f4752255377f749bb03e23694cc876b1556206714b7925d77bb937 | C++ | 12,723 | 296 | // 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 <thread>
#include <boost/python/stl_iterator.hpp>
namespace ... |
be942a6778a384c395d2153bd726011c2948dcdd6e1f80040a5ecbdc4d854ce8 | C++ | 12,734 | 400 | #include "ext_ctl_http_server.hpp"
#include "camera_window.hpp"
#include <QtDebug>
namespace bias
{
ExtCtlHttpServer::ExtCtlHttpServer(CameraWindow *cameraWindow, QObject *parent)
: BasicHttpServer(parent)
{
closeFlag_ = false;
cameraWindowPtr_ = QPointer<CameraWindow>(camera... |
6f71de67b520dbdbe24c41ced2350f874e36451bd6b79dfba0233f0477c8bab7 | C++ | 12,924 | 393 | #include "guid.hpp"
#include "camera_finder.hpp"
#include "exception.hpp"
#include "camera.hpp"
#include <iostream>
#include <sstream>
namespace bias {
CameraFinder::CameraFinder()
{
createQueryContext_fc2();
createQueryContext_dc1394();
createQueryContext_spin();
... |
3a97a681e7f129262d09295588c6847ed67c54ec212aeb12cc631f9c118d2d09 | C++ | 12,934 | 492 | #include "ACTIONet.h"
namespace ACTIONet {
field<mat> run_AA(mat &A, mat &W0, int max_it, double min_delta);
template <class Function>
inline void ParallelFor(size_t start, size_t end, size_t numThreads,
Function fn) {
if (numThreads <= 0) {
numThreads = SYS_THREADS_DEF;
}
if (numTh... |
750ea971bb9a94f1851076f984d595efc5dbdf21735a4f58560c04115cb51f80 | C++ | 12,981 | 291 | /*
* 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 ... |
8d6d4e9ba7fe5f426d5bd60ce06db17c31873666b68b17e209e5fba934e12a8e | C++ | 13,099 | 470 | // Copyright 2017 Mike Fricker. All Rights Reserved.
#include "OSMFile.h"
#include "StreetMapImporting.h"
FOSMFile::FOSMFile()
: ParsingState( ParsingState::Root )
{
}
FOSMFile::~FOSMFile()
{
// Clean up time
{
for( auto* Way : Ways )
{
delete Way;
}
Ways.Empty();
for( auto HashPair : NodeM... |
062793abd1b4f8ee34c0b3a467c277ddf9f9f115c4d637f7ba1c556a254c3268 | C++ | 13,163 | 516 | /***************************************************************************************************
* 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) / ... |
332bf218979749e83b5bb55135ed5843da7da6d8da692334feb1310a50c5fb59 | C++ | 13,177 | 423 | /* ----------------------------------------------------------------------
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... |
fabb3922ee4169db5e2fffd549578ae9299c567d7667e90615079efc5c93053b | C++ | 13,350 | 322 | /*
* qi_jsr.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 <type_traits>
/... |
d2cfef2610e66b430bfc0b55b1695b583d146eaa6661397981693268365b3818 | C++ | 13,460 | 329 | // 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 "Tagger.h"
#include "Carla.h"
#include "Vehicle/CarlaWheeledVehicle.h"
#include <util... |
50542bba6db52a3a725bc73c3bf42fdd3570abc1b896a84327c6c0aedeb61ffb | C++ | 13,495 | 444 | // 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/geom/Mesh.h>
#include <string>
#include <sstream>
#include <ios>
#include <ios... |
1d83271717aae0bf749743a83a52de9cbe9d1b0c7aba25066a78bcf6c26800fd | C++ | 13,519 | 463 | /*
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... |
f0bab958d7ea6a3807514acca928ffe729d358adc3284c1a2b21c99d725448a7 | C++ | 13,570 | 475 | #include <iostream>
#include <map>
#include <string>
#include <list>
#include <math.h>
#include <string.h>
#include "str.hh"
#include "io.hh"
#include "conf.hh"
#include "Recipe.hh"
#include "FeatureGenerator.hh"
#include "SpeakerConfig.hh"
using namespace aku;
#define MAXLINE 4000
typedef struct {
char *label;
... |
a8c6bae73bd1b25c8244f7301534b210bb9d614e76d5069709d1a9a8ba3fdd33 | C++ | 13,609 | 454 | #include <cmath>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <stdexcept>
#include <vector>
// for debug and test
#include <iostream>
#include "layout.hpp"
#include "randomkit.h"
using std::vector;
void sgd(double* X, vector<term>& terms, const vector<double>& etas,
const int s... |
047ad25695c48860db6bb24e2fb9e86889e32d11976fb8c6c0044d6cad2ae64b | C++ | 13,617 | 348 | /*
* 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 appl... |
5d612687a1cb3dc7f044e3b31b204fe0a6501f10568fffcc06a02914b615a0d1 | C++ | 13,652 | 471 | /*
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... |
9fc072c1d1664a62d6a695ad27665b4d1361076f61861dbee4a2437c08a19508 | C++ | 13,711 | 455 | #include <ACTIONet.h>
#include <hnswlib.h>
#include <atomic>
#include <thread>
template <class Function>
inline void ParallelFor(size_t start, size_t end, size_t thread_no,
Function fn) {
if (thread_no <= 0) {
thread_no = SYS_THREADS_DEF;
}
if (thread_no == 1) {
for (size_t id =... |
8466c26a28035fb90000d8b193f2fe8703ea6991dbbbd94310dcd96f0699da7e | C++ | 13,757 | 331 | /*
* qikfilter.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 <memory>
#include "Eigen/Core"
#in... |
a95355e3ea68216a4c2b55c253ca320fc619c857f54e4ce6488c355364e87091 | C++ | 13,872 | 692 | #include <cmath>
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <Eigen/SparseCholesky>
#include "lmminimizer.h"
levmarq::levmarq()
{
verbose = 0;
max_it = 250;
lambda = 0.0001;
up = 4.0;
down = 1 / 4.0;
target_derr = 1e-12;
TOL = 1e-12;
has_bounds = false;
};
levmarq::~levmarq(){};
void levmarq::s... |
6a6282972515ab94ca1ca262f34b92566f6ebae0f092eda25ffe0f2655e9f265 | C++ | 13,916 | 351 | /*
* 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 ... |
1d502e5f18a4ed95eec4ed87c47973e38b9e1aa274067de99ffd44cb9763f7c9 | C++ | 13,934 | 378 | // 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/RssSensor.h"
#include <ad/map/access/Operation.hpp>
#include <ad/rss/state/ProperResponse.hpp>
#include <ad/rss/world/Velocity.hpp>... |
588964f2bce999e3c90c0c427ffa15f9055acb276b3b72ec3513b44a7f6d413d | C++ | 14,069 | 428 | // 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/ObjectRegister.h"
#include "Carla.h"
#include "Carla/Game/Tagger.h"
#inclu... |
aa2241a17c218bbbf7c278912e76d9269ea95a778b4dbb355d270328238b4e7f | C++ | 14,177 | 585 | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void normal_01_cdf_values(int *n_data, double *x, double *fx);
float r4_huge();
float r4_normal_01_cdf_inverse(float p);
float r4poly_value(int n, float a[], float x);
double r8_huge();
double r8_normal_01_cdf_inverse(double p);
double r8poly_v... |
2324cad23373a72bd89409ac5261a26c49b119a0d86cf4552eab2046f6a11206 | C++ | 14,245 | 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 "carla/trafficmanager/Parameters.h"
#include "carla/trafficmanager/Constants.h"
names... |
daf97596f35346f345216c8090cbc41bac32acdd4c5c6c21f988298a7c855ad6 | C++ | 14,293 | 519 | #include "BlueprintLibrary/MeshToSplineActor.h"
#include "Components/SplineComponent.h"
#include "Components/StaticMeshComponent.h"
#include "KismetProceduralMeshLibrary.h"
#include "ProceduralMeshComponent.h"
// ========================= Actor boilerplate =========================
AMeshToSplineActor::AMeshToSplineA... |
e1bdc6392197b2d2fd7143d3bbb4a743125ef830bf05a31e2ec20498be6a9642 | C++ | 14,329 | 381 | // 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/BehaviorAgent.h"
#include "carla/agents/navigation/LocalPlanner.h"
#include "carla/agents/navigation/Misc.h"
#include "carla/clien... |
746522012e251549941e168a623bd8b3119b3673f190fd95072ef550ba853205 | C++ | 14,354 | 349 | /*
* 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... |
d16b02ba72596641b86375f120f81de25ecef7ba2af237be5a284fc1fd3ffdd3 | C++ | 14,420 | 490 | #include <climits>
#include <iostream>
#include <stdio.h>
#include <math.h>
#include "Viterbi.hh"
#include "util.hh"
namespace aku {
Viterbi::Viterbi(HmmSet &model, FeatureGenerator &fea_gen,
PhnReader *phn_reader)
: m_model(model),
m_fea_gen(fea_gen),
m_phn_reader(phn_reader),
m_lattice(),
m_... |
0e3f651e163d034035937aed8f528de11c4f87c53561f6f462a123d39b9189e9 | C++ | 14,430 | 357 | #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 "qGenTest.h" // Generative Test declarations
#include "monteCarlo.h"... |
ac548f22dfa05bc7d128beac20f962fbd8664c3048b737661ae86d3ff61ce9dc | C++ | 14,445 | 453 | /***************************************************************************************************
* 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... |
8a020a50eeadeea418efcedd9d6e290adc11af6229475fa939e8364b9d031e01 | C++ | 14,483 | 392 | // 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 "CarlaExporter.h"
#include "CarlaExporterCommands.h"
#include "Misc/MessageDialog.h"
... |
c5cb57fe6e40d0984cc05c159710112ac87ca7b3046a6aa20d352819d6a49629 | C++ | 14,508 | 476 | /***************************************************************************************************
* 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.... |
d96d9e35cc425be16063c8f78d56fa69a2dbce2b90863e917a3e7e33c40b7e46 | C++ | 14,613 | 413 | /*
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... |
79f4ac4125d1cb32794fde6a4394a1652b41e1a413ebc5c69c2d5c79035de4a5 | C++ | 14,640 | 534 | /*
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
... |
dc655247554964b2967d31d722f31eb50e9edd290612b10a48c8ff6859653d5c | C++ | 14,795 | 506 | /*
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... |
c6c22db52cca909355324733ca79f4e39defa6f214ff127028c4a33836f163ee | C++ | 14,825 | 560 | #include "ACTIONet.h"
#include "cholmod.h"
namespace ACTIONet {
// Solves the standard Archetypal Analysis (AA) problem
field<mat> run_AA(mat &A, mat &W0, int max_it = 100, double min_delta = 1e-6) {
int sample_no = A.n_cols;
int d = A.n_rows; // input dimension
int k = W0.n_cols; // AA components
mat C =... |
fb19ebef318445fa88a3a67631de5a9475949a92bbdf274f0ec4adf62f05e34d | C++ | 14,873 | 289 | // 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... |
94f436886abd00999acf64c46440fe03628d3f71a33c8ff30b93981158e59632 | C++ | 14,906 | 590 | // 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 "MeshToLandscape.h"
#include <util/ue-header-guard-begin.h>
#include "Landscape.h"
#include "Core... |
a514cd9a2fec88b46d2a6535d061222947230248d674e45ea795a6e8c2d6bfe5 | C++ | 15,079 | 413 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... |
76bafcdc01edfbd318bdc47d009b4a9b1c9bef783700aa7bc1a069d0816293c4 | C++ | 15,139 | 571 |
#include "peak_manipulation.h"
namespace peak_tools
{
bool peak_reading_sparky(std::string fname, std::vector<std::array<double, 2>> &peak_pos, std::vector<std::string> &peak_info)
{
std::string line, p;
std::vector<std::string> ps;
std::stringstream iss;
int xpos = -1;
... |
ccd534d6db75ee7418886adb98f15925dd9296d04e9e4d605d9a231d1f8f5a86 | C++ | 15,171 | 321 | #include <chrono>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <random>
#include <tclap/CmdLine.h>
#include <casebase.cpp>
#include <io.cpp>
#include <utils.cpp>
int main(int argc, char** argv)
{
using std::cerr;
using std::cout;
using std::endl;
using std::siz... |
cf2e34bff2b3463690bbdae47cd3799897c8718d7fa9181cf41d3a59234149b0 | C++ | 15,181 | 465 | #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 "qLearnSparse.h" // MC learning declarations
#include "monteCarlo.h" ... |
3041de2cbf59602a3b0b7c9e88f9deecf29a5a1ab8c94f115cc9054824fe7a30 | C++ | 15,210 | 441 | // 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/World.h"
#include "carla/Logging.h"
#include "carla/client/Actor.h"
#in... |
6af4099b673f38b31d1e86b28cf8b02e8a3b8d7c9f7dd8947603cf21b23c4705 | C++ | 15,329 | 465 | /***************************************************************************
base_three.cpp
-------------------
W. Michael Brown (ORNL)
Base class for pair styles with per-particle data for position and type
___________________... |
c744551f016526fb6cd2fb47e0210dcc943c3dd1857632b4d325023494776420 | C++ | 15,347 | 531 | #include <iostream>
#include <fstream>
#include "Distributions.hh"
#include "conf.hh"
#include "LinearAlgebra.hh"
#include "HmmSet.hh"
#include "RegClassTree.hh"
using namespace aku;
typedef std::pair< double, std::pair<int, std::pair<int, int> > > queue_item_type;
typedef std::pair<std::pair<int,int>, double> merge_... |
c4cbe0ea1440f1e03c6291b335e96d042400e9670cb00f2ebf642d39e421e1da | C++ | 15,369 | 379 | /*
* 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 appl... |
1e590d1a017e2d797897ba96e8741dc258aa255b719fb91b668882ae13697bef | C++ | 15,452 | 437 | #include <fstream>
#include <string>
#include <string.h>
#include <iostream>
#include "io.hh"
#include "str.hh"
#include "conf.hh"
#include "HmmSet.hh"
#include "FeatureGenerator.hh"
#include "Recipe.hh"
using namespace aku;
std::string stat_file;
std::string out_file;
int info;
bool transtat;
conf::Config confi... |
c00301275c0e98f5b7aa9aa32378cb675c607371b4ad5d4aecaca65c6e129e2e | C++ | 15,657 | 393 | /*
* qi_unwrap_laplace.cpp
*
* Copyright (c) 2015, 2018 Tobias Wood.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*/
#include "itkBinaryBallStructu... |
dab00b57c2430c9a8345d8e83ef5419db1bad992476e94d177cac4cc1c682c59 | C++ | 15,665 | 617 | #include "ACTIONet.h"
#include "dagConstruct.h"
vector<double> Corrector::vals;
template <class Function>
inline void ParallelFor(size_t start, size_t end, size_t thread_no,
Function fn) {
if (thread_no <= 0) {
thread_no = std::thread::hardware_concurrency();
}
if (thread_no == 1) {... |
1bd38377097f3e81330f373619b413c402eb31e1ad18140aa8843ce515e8be0e | C++ | 15,668 | 404 | /*
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... |
c5ee900c249fb5a9fddfd2691c669b1e3c34fb465e860887a11989921ccde76c | C++ | 15,694 | 518 | /***************************************************************************************************
* 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.... |
2b6360784a0e93d25ba71a462a4646ad47f44553c76007b772c0107ec682e893 | C++ | 15,712 | 488 | #include "grab_detector_config.hpp"
#include "json.hpp"
#include <iostream>
#include <QMessageBox>
#include <QtDebug>
namespace bias
{
// Device parameters
const QString GrabDetectorConfig::DEFAULT_DEVICE_PORT_NAME("ttyUSB0");
const bool GrabDetectorConfig::DEFAULT_DEVICE_AUTO_CONNECT = false;
const ... |
4b98964571822075c067962823ddd716f476fccb8ab208031025729cf033dfb9 | C++ | 15,819 | 339 | /*
* kcGMLM_mex_computeLL.cu
* Mex function to call the log likelihood function in a GMLM object.
* Takes 4-5 arguments: ptr (in long int form) to GMLM object
* boolean (is double) for if the object is double precision (or single)
* params struct (from GMLM class)
* ... |
6705a921e226bdd45eeeabb49aa3a2c87f334e5e6ca3019eff3d77dcc29d8d93 | C++ | 15,860 | 557 | #include <vector>
#include <valarray>
#include <fstream>
#include <iostream>
#include "json/json.h"
#include "commandline.h"
#include "spectrum_pick_1d.h"
#ifdef WEBASSEMBLY
/**
* Bind to emscripten with exposed class methods.
*/
#include <emscripten/bind.h>
using namespace emscripten;
#endif
// help function
// we h... |
cd96687fcf6f50cee7e5c6679c7c09dbd513415a220747d129b098a92a876253 | C++ | 16,124 | 441 | #include <vector>
#include <valarray>
#include <fstream>
#include <iostream>
#include <algorithm>
#include <cctype>
#include "commandline.h"
#include "fid_2d.h"
#include "DeepConfig.h"
int main(int argc, char **argv)
{
std::cout<<"DEEP Picker package Version "<<deep_picker_VERSION_MAJOR<<"."<<deep_picker_VERSI... |
d669dacd7eeadb4f5d81632c0dff1d4e9fd6624ed123dbe430447f8b57ce43cc | C++ | 16,351 | 566 | /***************************************************************************************************
* Copyright (c) 2013
* Consiglio Nazionale delle Ricerche, Istituto di Matematica Applicata e Tecnologie Informatiche
* Sezione di Genova, IMATI-GE / CNR
*
* Copyright (c) 2016 - 2021
* Blue Brain Project (B... |
ba4e912ce06b365f0b5aecd29d23a40d4f2b367b162a8d09a77a131059ac873a | C++ | 16,448 | 527 | #include <cmath>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <stdexcept>
#include <vector>
// for debug and test
#include <iostream>
#include "layout.hpp"
#include "randomkit.h"
using std::vector;
void sgd(double* X, vector<term_sparse>& terms, const vector<double>& etas,
cons... |
55f2f3116028854766196ba38241124f0ef345bd22a75402ef3ffcbadab339e8 | C++ | 16,522 | 515 | /***************************************************************************************************
* 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... |
1d5696f7e27ffe011d05dc3e1098b25649e19cdd2e96f5e6e7e3d9252fc374da | C++ | 16,672 | 668 | #include "RegClassTree.hh"
#include "LinearAlgebra.hh"
#include "blas1pp.h"
#include "blas2pp.h"
#include "blas3pp.h"
#include "str.hh"
#include <set>
namespace aku {
void
RegClassTree::initialize_root_node(HmmSet *model)
{
m_dim = model->dim();
m_root = new Node(1, m_dim);
switch (m_unit_mode) {
case UNIT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.