sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
fc310a98ff6e5c449b5375e01141ae981e42deffe4db2564155260b7b49d95e3
C++
6,140
244
/* ---------------------------------------------------------------------- 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...
4d19601f21123e89bd488bf5a5f14f5c3e50a5c1d377756d7723ec93f0ed44ea
C++
6,144
146
// 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/ObjectParser.h" #include "carla/road/MapBuilder.h" #include "...
00f69deb2717d2f1ca470f86b873f1cc60081aa39d944e7ac7ca00d26a06e039
C++
6,150
169
/*************************************************************************** charmmfsw_long.cpp ------------------- Class for acceleration of the lj/charmmfsw/coul/long pair style. ________________________________________________________________________...
be8a6570d7512076ce1f3cdcec388a13f6f410dc65bc1efbaff6e37397d3fde5
C++
6,152
158
#include "pytorch_cpp_helper.hpp" #ifdef MMCV_WITH_CUDA void SyncBNForwardMeanCUDAKernelLauncher(const Tensor input, Tensor mean); void SyncBNForwardVarCUDAKernelLauncher(const Tensor input, const Tensor mean, Tensor var); void SyncBNForwardOutputCUDAKernelLauncher( const ...
7ba9428eefb0f5e336f9e96a845d60edb9e2baaa48636f3440a6e0d2bfa7cc90
C++
6,155
169
/*************************************************************************** charmmfsw_fsh.cpp ------------------- Class for acceleration of the lj/charmmfsw/coul/charmmfsh pair style. ____________________________________________________________________...
f5cf908bf7c6a5c3cd5c73b29b0d8a1177b4e97a57059a08c1c9fbfbb9c983b9
C++
6,161
174
// 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/Math.h" #include "carla/geom/Rotation.h" namespace carla { namespace geo...
1a33cd2650ea1d3b524d82e108d3f29ebca6f3d285744112cff8dfbe6234fbca
C++
6,168
160
/*************************************************************************** charmm_implicit.cpp ------------------- Class for acceleration of the lj/charmm/coul/charmm/implicit pair style. _______________________________________________________________...
5f1bb5b075c28e1a420cf11d06b8d0a358f043e70099741d2b3620a90d3a8f81
C++
6,170
189
// 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/Autoware/Sensors/VehicleStatusSensor.h" #include "Carla.h" #include "Carla/Act...
b59da599d4aa853be6fa5faf13e46117fe521ad50eb628725162c74dbeedc7ad
C++
6,180
152
/*************************************************************************** charmm_coul_long_soft_ext.cpp ------------------- Functions for LAMMPS access to lj/charmm/coul/long/soft acceleration routines. _______________________________________________...
3f51a2fffd872c585618ea99cd2f2d95ad97e440dd0e6ee4bc15a93afd19a61e
C++
6,195
240
#include <assert.h> #include <vector> #include "str.hh" #include "ModuleConfig.hh" namespace aku { bool ModuleConfig::exists(const std::string &name) const { return m_value_map.find(name) != m_value_map.end(); } void ModuleConfig::set(const std::string &name, int value) { assert(name.find_first_of(" \t\n") == s...
1a648dd97bda1fe06b2458cf0fe7249840000759cc2a68c73b5c1e4b66f1d356
C++
6,205
180
// 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/RayCastLidar.h" #include "Carla.h" #include "Carla/Actor/ActorBlueprintF...
e41deb2f1b7a184c9930a8ede78362c40fb487ab1eb79278cf36c80ba02b6956
C++
6,211
155
/*! \file AveragingOrientation.cpp \brief For calculating the interpolated the fiber orientation. \version 1.0.0 \date Andreas Wachter 01.09.15 \author Andreas Wachter\n Institute of Biomedical Engineering\n Kit\n http://www.ibt.kit.de\n \sa Synopsis \ref AveragingOrientation */ #include "AveragingOrienta...
acbf93a747610d2e9acdcec6609a8dc80bd390275eeee14ab352a443444915d5
C++
6,216
147
/*************************************************************************** lj_cut_soft_gapsys_ext.cpp ------------------- Functions for LAMMPS access to lj/cut/soft/gapsys acceleration routines. ________________________________________________________...
4eeb712450a14d6028966fdf79d22722dbf7ce5e7457548656fbbf958961bded
C++
6,241
162
#include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_kernel.h" #include <cstdio> #include <iostream> #include <typeinfo> using namespace tensorflow; using namespace std; REGISTER_OP("RoiPooling") .Input("input: float32") .Input("rois: int32") .Attr("pool_height: int") .Attr("pool_width: in...
71c4b1dc2a293b097425903913cffe158e1b085e857486347daf5b285429bda1
C++
6,248
218
#include <string> #include <numeric> #include "io.hh" #include "str.hh" #include "conf.hh" #include "HmmSet.hh" #include "Recipe.hh" using namespace aku; conf::Config config; Recipe recipe; HmmSet model; int info; int max_dur; std::vector<std::vector<int> > dur_table; void add_duration(std::string &label, int stat...
bc26b6b74111efde07eb754d43efbe36fe1e0ff94b7e0982e1388fccf6b05bbb
C++
6,256
159
/*************************************************************************** lj_cut_soft_gapsys.cpp ------------------- Class for acceleration of the lj/cut/soft/gapsys pair style. ________________________________________________________________________...
2055146c14f7a68cf0996862da248db0c893cd9dcf5a6c647e662333ff0c601f
C++
6,264
188
// 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/Episode.h" #include "carla/Logging.h" #include "carla/client/det...
ece3f00342897ff4f76a80f125f6c9e384b9063badf5c2a642ad927c83c3cf0e
C++
6,282
194
// 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/Vehicle/WheeledVehicleAIController.h" #include "Carla.h" #include "Carla/MapGen...
8222ff4caa40144fe77fd1acc0ec426021ffc9b7bc1529e6c40281eb0e6cf836
C++
6,297
219
#include "signal_slot_demo_plugin.hpp" #include "image_label.hpp" #include "camera_window.hpp" #include <QtDebug> #include <QTimer> #include <QMessageBox> #include <QThread> #include <cv.h> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> //#include <opencv2/imgproc.hpp> #include <sstream> #inclu...
7fe000a0af22ce10b5013126f69cb67a4d327457f76fd0b436f57c5387b609d0
C++
6,299
149
/*************************************************************************** nm_cut_coul_cut_ext.cpp ------------------- Functions for LAMMPS access to nm/cut/coul/cut acceleration routines. ______________________________________________________________...
912b0b77ab5da4e4b2efdc46f1fa51015a4ef267659104f7cd80d92b13273dd7
C++
6,303
191
// 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/Actor.h" #include "carla/Logging.h" #include "carla/client/detail/Simul...
a08bbb66f68b5dd73856fdc131c133c90f9a6355857a1e47749c3efd8c727c4b
C++
6,315
139
/* * qi_cestasym.cpp * * Copyright (c) 2017 Tobias Wood. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * */ #include <Eigen/Core> #include "itkImageR...
c16d097ac4573639ee9e9d2607f4230498d24f670dd7fe40d24c84b8c6c376a7
C++
6,315
172
/*************************************************************************** lj_coul_long_cs.cpp ------------------- Class for acceleration of the lj/cut/coul/long/cs pair style. __________________________________________________________________________...
72fce3b57167c78e779b5a118dbfa7e7f9f4e7d9edaed7c12a135e87f55852e5
C++
6,320
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 "Carla/Autoware/Sensors/AutowareGnssSensor.h" #include "Carla.h" #include "Carla/Acto...
eb1383b9acbb6a3d5bb64c493407c4933546d85e79f101770e932f05c78d685a
C++
6,320
167
/* * qipolyfit.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 <Eigen/Core> #include "Args.h" #in...
04c88e9bdc448d049c3ee3c80b16e6d876ad8299cabe04967379f50e05ebb468
C++
6,334
138
#include "pytorch_cpp_helper.hpp" #ifdef MMCV_WITH_CUDA void DeformConvForwardCUDAKernelLauncher(Tensor input, Tensor weight, Tensor offset, Tensor output, Tensor columns, Tensor ones, int kW, int...
3df524c8c6b1423578230b7e4332b9d3b2e9786d0a142dac2dc9ca59964b50a5
C++
6,337
164
/*************************************************************************** nm_cut_coul_cut.cpp ------------------- Class for acceleration of the nm/cut/coul/cut pair style. __________________________________________________________________________ ...
6ac76360c59c12a950bd553e4268e302b89b3c7c3aaa7b7e1e6c90ad9dcda57f
C++
6,343
230
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sstream> #include <iostream> #include <fstream> #include "HmmSet.hh" #include "str.hh" #include "conf.hh" #define MAXLINE 4096 void read_segmodels(HmmSet &model, const std::string &filename); void read_kernels(HmmSet &model, const std::string &cb_b...
35171016ee44c22c5df23e716150d14de054ea24974ea70d7a76e9d7e74bcd21
C++
6,357
150
/*************************************************************************** nm_cut_coul_long_ext.cpp ------------------- Functions for LAMMPS access to nm/cut/coul/long acceleration routines. ____________________________________________________________...
a5b2b71d8f20b64e550a3aaaaf03c2885992747f849b679024bab6e21a0e8dee
C++
6,358
198
/*! \file TestTetrahedralize.cpp \brief Test if an bridge surface is been tetralizied with tetgen for include it in SetFiberorientation. \version 1.0.0 \date Andreas Wachter 01.09.15 \author Andreas Wachter\n Institute of Biomedical Engineering\n Kit\n http://www.ibt.kit.de\n \sa Synopsis \...
66adf2b115b671a9b24edf51dfc5fdb63228d152428cb9b8b0d3fd50a5cdfe39
C++
6,366
148
/*************************************************************************** lj_class2_soft_gapsys_ext.cpp ------------------- Functions for LAMMPS access to lj/class2/soft/gapsys acceleration routines. __________________________________________________...
f66cb45ff41e6fb89915a636b175f934880e60a9b5e7b45d0ce1250b078d2545
C++
6,376
160
/*************************************************************************** lj_class2_soft_gapsys.cpp ------------------- Class for acceleration of the lj/class2/soft/gapsys pair style. __________________________________________________________________...
4de5b807e090a6611fcbfd191aa2405d29a27d4cec626fa337a3eb89d7b53e19
C++
6,385
261
#include <vector> #include <valarray> #include <iostream> #include "cost_functors.h" int test_voigt_lorentz() { int return_code = 0; // 0 means success /** * Test mycostfunction_voigt_lorentz * zdata is NOT used in the test of Jacobian implementation */ double zdata[25]; for(int i = ...
d4a458da6ec275bab9173e839db719c11e2fcff1d4f098ea1a33b240621f0c08
C++
6,386
190
// 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/Buffer.h> #include <carla/MsgPack.h> #include <carla/rpc/Cus...
05e7440a8f8e144c24414f47c5e9352c151a624eadb17c343e9400b5098f58e4
C++
6,396
207
/** * 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...
c2e73bdde3468f44c81fefa552277163a654980a5d3688ef93aec78ca32d896c
C++
6,445
166
/*************************************************************************** nm_cut_coul_long.cpp ------------------- Class for acceleration of the nm/cut/coul/long pair style. __________________________________________________________________________ ...
3332a0311e6e0d41974f9e29701a933aaa2fc96f151d97aa84d5d0f1cc535339
C++
6,446
196
#include "SSBluetooth.h" #include <Arduino.h> #include <BLE2902.h> #include <BLEDevice.h> #include <BLEServer.h> #include <BLEUtils.h> #include "SSPeripheral.h" #include "SSSystem.h" #define DEVICE_NAME "SSTK-Labkit-V1" #define SERVICE_UUID "90effff0-ea02-11e9-81b4-2a2ae2dbcce4" #define SENSOR_DATA_CHAR_UUID "90eff...
5aff8b01bd6e63831ab3b8371ee9f38d515cc2c2962dd26bb69c3cdb95d39fce
C++
6,446
163
/*************************************************************************** lj_class2_coul_long_soft.cpp ------------------- Class for acceleration of the lj/class2/coul/long/soft pair style. ____________________________________________________________...
ba30ccc6bcd57a28ecbab412b5cd12d1c941746ae282f1c5350c5c6877331d96
C++
6,450
153
#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 "qGenTest.h" // Model validation declarations #include "monteCarlo.h" // Monte Carlo #incl...
8cf2f544e30429b08757743b155ec463db64f4cd97bf9dc30e7ae730c44e00d8
C++
6,471
182
// 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 "BlueprintParentClassFixer.h" #include <util/ue-header-guard-begin.h> #include "HAL/FileManagerGe...
9c7ffdb086b6db0f25d425377d1d3c1669391d4a452c2ebef5af058208469a0c
C++
6,472
154
// 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/SignalParser.h" #include "carla/road/MapBuilder.h" #include ...
0143a2da9a6309fe741e3e579b376f1e2d59ae31200f0814adddf40e27078412
C++
6,485
195
#include <iostream> #include <fstream> #include <vector> #include <string> #include <sstream> #include <algorithm> #include "commandline.h" #include "spectrum_fit_3d.h" #include "DeepConfig.h" // Assuming this exists and is needed for version info int main(int argc, char **argv) { std::cout << "DEEP Picker 3D pac...
86d2412a3a1851119328fa01a782e3867279b8c379814be340d1a5e5b2548bbb
C++
6,518
176
/*************************************************************************************************** * 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...
2b8067971dbd3094cff125843aad3e66acbb574041314ab4a3e7f385d838f9fe
C++
6,545
192
// 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 "CarlaDeviceProfileSelectorModule.h" #include "HAL/IConsoleManager.h" #include "Misc/...
eb80a99900af461a8640a28a68d2485e6f53c10e04b754697ba7956e86e08f84
C++
6,553
165
/*************************************************************************** lj_class2_coul_cut_soft.cpp ------------------- Class for acceleration of the lj/class2/coul/cut/soft pair style. ______________________________________________________________...
ac6ba48ab1ae80a48aab35ea41bef513a359cf0360f429b2d8c8f008ca752101
C++
6,564
160
// 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/GeoProjection.h> #include <carla/geom/GeoProjectionsPar...
e220186b3847123421cd4f0f00532e9e6d9a461ec8e0e009dc0ed23d40820262
C++
6,576
241
#include "ceres/ceres.h" #include "glog/logging.h" using ceres::CostFunction; using ceres::Problem; using ceres::Solver; using ceres::Solve; #include "voigt_cost.h" //Gaussian mycostfunction_gaussian::~mycostfunction_gaussian(){}; mycostfunction_gaussian::mycostfunction_gaussian(int n, double *x_, double *y_, do...
87c0e62b3ce12d5464e18a00adda5f6c5dc67e0a9ec6a1e3d18fc6a3e79c1797
C++
6,577
192
// 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 "HoudiniImporterWidget.h" #include "CarlaTools.h" #include <util/ue-header-guard-begi...
5f30bfe7181080160c32412dcc3e8cc24ee57554de63d7dc4d829865130b3f47
C++
6,618
157
/* 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...
e00f98536c55cf3fc4bd1c8435a4db9f95d261618a921aad8f919b9837b07fa0
C++
6,627
202
// 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 "PlanView.h" #include <algorithm> #include <cmath> namespace twinmodel { namespac...
9a35a8d60bdeeb14f1ae0c295da0d357dfd3f98df6d64bb37a8d8e623583af2a
C++
6,638
209
// 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 "BlueprintUtilFunctions.h" #include "GeneralProjectSettings.h" #include "Misc/Paths.h...
72c81fead5a2b1a27e22fcd1051cfa84dc71cf265a1fd11418cb0234551aa9a3
C++
6,641
160
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla/Sensor/SceneCaptureCamera_RayTracedLensInstance.h" #include "Carla.h" #include ...
c8d41b32d4518dc6156600ee2252b3efd3cac95db37ed0dcdbff602fe22b157d
C++
6,669
194
#include "carla/trafficmanager/Constants.h" #include "carla/trafficmanager/TrackTraffic.h" namespace carla { namespace traffic_manager { using constants::TrackTraffic::BUFFER_STEP_THROUGH; using constants::TrackTraffic::INV_BUFFER_STEP_THROUGH; TrackTraffic::TrackTraffic() {} void TrackTraffic::UpdateUnregistered...
a98fefc6953f29d439e811edcfc8467d8eb00142384b93bd9d589c72417e21b7
C++
6,695
233
#include <errno.h> #include <cstring> #include <string.h> #include "Recipe.hh" #include "str.hh" namespace aku { Recipe::Info::Info() : start_time(0), end_time(0), start_line(0), end_line(0), speaker_id(""), utterance_id("") { } void Recipe::clear() { infos.clear(); } void Recipe::read(FILE *f, int num_ba...
1a882749ee64362db391681f342a74fe7cc96a26ed2432e2c7af03643f9345fb
C++
6,713
178
/*************************************************************************** charmm_coul_long_soft.cpp ------------------- Class for acceleration of the lj/charmm/coul/long/soft pair style. _______________________________________________________________...
70ca70ddd826d4a83a60166b5f47fc94e3f2ecdf8d3cc853bf3f66704fdcdf64
C++
6,721
152
/*************************************************************************** lj_class2_coul_cut_soft_ext.cpp ------------------- Functions for LAMMPS access to lj/class2/coul/cut/soft acceleration routines. ______________________________________________...
4487616de5e4c3a307a9353be2196cfa132ea4b84e935f97f28990ae8beeaa81
C++
6,723
175
/* * qi_mtsat.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" #inc...
0edd5fe4749bcb8cf20931e9c3b2cd6a363f0f5503544d74e4754c5fc1a7185d
C++
6,724
193
/*************************************************************************************************** * 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...
b83af7dcab6ef0cf6a4e967e34811acff7592ec42ab5d8abf5a2c97ba8f92a41
C++
6,753
224
// 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 "TrafficLightComponent.h" #include "Kismet/GameplayStatics.h" #include "TrafficLightC...
5ce4a0c8ce008939fb351f6841ddc81a4b72431158b34173d87344b098c08065
C++
6,779
263
#include "MllrTrainer.hh" #include "float.h" namespace aku { void MllrTrainer::MllTrainerComponent::merge(PDFGroupModule *pgm) { MllTrainerComponent *mtr = dynamic_cast<MllTrainerComponent*> (pgm); for (unsigned int i = 0; i < m_k.size(); ++i) { Blas_Add_Mult(m_k[i], 1.0, mtr->m_k[i]); #ifdef ORIGINAL_LAPACK...
062a9b3991e3db859b6bde2edc6c14e3da6adf52e86c635bfe62df6fce006031
C++
6,790
153
/*************************************************************************** lj_class2_coul_long_soft_ext.cpp ------------------- Functions for LAMMPS access to lj/class2/coul/long/soft acceleration routines. ____________________________________________...
6e22923116a7cf58ba486993c37852a09fcaacf692774e0bf5a126a8a4ed0f37
C++
6,795
236
// 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/Client.h" #include "carla/Sockets.h" #include "carla/client/detail/S...
f631d9f11b82e29eb086f2be40861de1c4c00fb952d4a6994115dfd20346a4e7
C++
6,796
117
// 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" using ...
9c337e858fedc6e895a815e17f7392587e2eee4d2dc213154579d99f83508c70
C++
6,838
279
// 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 "TrafficLightBase.h" #include "Carla.h" #include "Carla/Game/CarlaStatics.h" #include ...
45da3ba67573bb9253517023b5a9eaaed79c6a084b97a29bff63682256a8d4a5
C++
6,851
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 "Carla/Sensor/Radar.h" #include "Carla.h" #include "Carla/Actor/ActorBlueprintFunction...
80295bc8f3f378be5b99670834b40be370fcc2ac006e8112e49228a8675ca85b
C++
6,872
207
/*! \file DataFormat \brief It stores and contains all mesh informations (the actually mesh, the input tpye, the centerpoint of the cells, double layer, the surface of the mesh and the centrepoints of the surface cells). \version 1.0.0 \date Andreas Wachter 01.09.15 \author Andreas Wachter\n Insti...
2e8395d1be107c73f3b8c9dcaa84053c3573ea9addd5c89a4594806ac96da6bf
C++
6,888
184
/* * qimask.cpp * * Created by Tobias Wood on 2015/09/22. * 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/. * */ #incl...
c1dc30793edad61427c3ccc5d9eed79db20bf3eae9188ade2a1fb4707eb91936
C++
6,903
183
/** * 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...
a87c88927bbc4067efbbe08f717f3de36e017051ee30f722b98d8436ad2e3386
C++
6,907
207
#include <complex> #include <vector> #include <valarray> #include <fstream> #include <deque> #include "ceres/ceres.h" #include "glog/logging.h" #ifdef USE_OPENMP #include "omp.h" #endif #include "commandline.h" #include "spectrum_fit.h" #include "DeepConfig.h" int main(int argc, char **argv) { std::cout<<"D...
674e0c41067e475afad944baa62b6b61e3b831be92b87a709e6dd48a8624c6f7
C++
6,909
217
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/multigpu/primary.h" #include "carla/Debug.h" #include "carla/Logging.h" #inclu...
f7b68e81f9630a0c74ea79b596ebd86caaf33ef51ed563f0ea577a97c175cb5e
C++
6,938
197
/********************************************************************************************** * Arduino PID Library - Version 1.0.1 * by Brett Beauregard <br3ttb@gmail.com> brettbeauregard.com * * This Library is licensed under a GPLv3 License *********************************************************************...
a03b5735e8a1661f3b6e2f39d6b1fada443f565442e4f36bbea996ae740f4dd7
C++
6,952
155
/*************************************************************************** charmm_implicit_ext.cpp ------------------- Functions for LAMMPS access to lj/charmm/coul/charmm/implicit acceleration routines. _______________________________________________...
9d652441603a045d5c5343270b614aec90585cf7ac659ae49ef84641e6f1718c
C++
6,972
230
/*************************************************************************************************** * 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...
ede7d2cc6e1053dd498897a002c9a38fd3f3b905185bd5192f7dbf7e8b369312
C++
6,974
218
#include "TrafficLights/Widgets/TLWTrafficLightPreviewViewport.h" #include "Components/DirectionalLightComponent.h" #include "Components/SkyLightComponent.h" #include "Components/StaticMeshComponent.h" #include "CoreGlobals.h" #include "Editor.h" #include "EditorViewportClient.h" #include "Engine/DirectionalLight.h" #...
eef6f310778730bdb1d8142cbb294593b264cc1fb6e16cbb94fbccb0b9dc0524
C++
7,040
175
/* * qi_pca.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 <Eigen/Eigenval...
0331fa8371fecca8fb4e12fa3a0c273d57a67a27e2eb1c7b0b9e1ba3dbcbb2ab
C++
7,067
169
/*************************************************************************************************** * 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) / ...
7f015630dcd73e73fcf60b1c8d2a2173e15a233b130d553b4b5d735ab6095543
C++
7,073
235
#include <vector> #include <deque> #include <algorithm> #include <random> #include "ldw_math.h" namespace ldw_math { void sortArr(std::vector<double> &arr, std::vector<int> &ndx) { std::vector<std::pair<double, int> > vp; for (int i = 0; i < arr.size(); ++i) { vp.push_back...
3b27eed7fa832e36b375a0a516aa0e0db4f20204885dc7ce8a09f9e66ba72637
C++
7,074
202
/** * 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...
faddffe50d7ac17f1ad93f361ca4ec37603fc67109a57f2c9ae8e1652423f1ee
C++
7,090
219
// 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 "AckermannController.h" #include "CarlaWheeledVehicle.h" // =========================...
b21132dfc9aa283bf329435195c170cf2f793e55aec31cac5b8c38177b0aedab
C++
7,093
200
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
e5b0676fbae6f577d9ac71224ddbf8185730f097e6d2760aa487c5bf738e25ab
C++
7,105
148
// 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/rpc/VehicleControl.h" #include "carla/rpc/VehiclePhysicsControl.h" #include "carla/rss/RssCheck.h" ...
f272d39ffdf748362ab862edd0f1c22c1fbb24205843ee5f364fbb8c845d45db
C++
7,106
238
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "CarlaLightSubsystem.h" #include "Carla/Weather/Weather.h" #include <util/ue-header-g...
7bad26d1c22f8a4e7cca40055d7be702ee764322eb0d27fea4922da9f6c0bd45
C++
7,131
205
/* File Name: MRDWT.c Last Modification Date: 09/21/95 15:42:59 Current Version: MRDWT.c 2.4 File Creation Date: Wed Oct 12 08:44:43 1994 Author: Markus Lang <lang@jazz.rice.edu> Copyright (c) 2000 RICE UNIVERSITY. All rights reserved. Created by Markus Lang, Department of ECE, Rice University. This softw...
630f734d18904f7e1f8db2d690206b971c205ae114e84aeea2bf50678a970260
C++
7,133
325
#include "parallel_context.h" #include "../plldefs.h" #include <string.h> using namespace std; // This is just a default size; the buffer will be resized later according to #part and #threads #define PARALLEL_BUF_SIZE (128 * 1024) size_t ParallelContext::_num_threads = 1; size_t ParallelContext::_num_ranks = 1; siz...
ca8a9e6fcb3d8a9397beeb9a43587168f9123a9029d7dee26f77b8142622a2d3
C++
7,136
164
/* * qi_asl.cpp * * Copyright (c) 2018 Tobias Wood. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * */ #include <Eigen/Core> #include "Args.h" #inclu...
ceefa221736080f1a57da8154595af8e3966dd89f13131062917ebdfc8a61c27
C++
7,136
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 "Commandlet/CarlaLargeMapConvertCommandlet.h" #include "Carla/MapGen/LargeMapManager....
2ff3168de90d54893e8c30987bd1ea3b463d034105c766405b835589bf70a97b
C++
7,159
199
/** * 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...
8366bca5b0be7189584f8f914e9ca4038539bfa73a0a8cb57958724e2427270a
C++
7,160
255
#include <ACTIONet.h> namespace ACTIONet { field<mat> compute_feature_specificity_bin(sp_mat &Sb, mat &H) { stdout_printf("Computing feature specificity ... "); field<mat> res(3); mat Ht = trans(H); Ht.each_col([](vec &h) { double mu = mean(h); h /= (mu == 0) ? 1 : mu; }); // For numerical stabilit...
c7b6f108fdd3bda796a29b2bd565f49a358955380a06d3deb6f4d47b517a40a2
C++
7,167
194
/*************************************************************************************************** * 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...
36bca33fdf716a1586b8b839ef54271ce6b33083e8c344f47500f1fcdce2d37e
C++
7,184
196
#include <vector> #include <valarray> #include <fstream> #include <iostream> #include "commandline.h" #include "fid_1d.h" #include "DeepConfig.h" int main(int argc, char **argv) { std::cout<<"DEEP Picker package Version "<<deep_picker_VERSION_MAJOR<<"."<<deep_picker_VERSION_MINOR<<std::endl; CCommandline...
0c7db2e491a980042357698410a4dfb2f49ecabb0da94d61ae92c09e94bd18a2
C++
7,192
184
/* * Copyright (c) 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 appli...
d469e8ec97f877f203c1a8e1fc97750dbd742b523f3c0fbf29057dafe5e4ca9a
C++
7,208
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 "carla/client/detail/WalkerNavigation.h" #include "carla/client/detail/Client.h" #inc...
46b695a57dfa332dc803b13858ed090a2b3aeb8d0e7ebe9e4437b9883143e9a7
C++
7,215
212
/* * Kernels.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 "Kernels.h" namespace QI { TukeyKern...
bcded76d5dce67ef6c87e588884c593864cac355830aa7466cd6c4c0f976e171
C++
7,237
187
/** * 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 appli...
4e941630f4fe7eb721f942cd0121274fb478ab951ac346cdbed0b0b1d7c3d0cf
C++
7,239
231
#include <limits.h> #include <float.h> #include <math.h> #include <string> #include <algorithm> #include "io.hh" #include "str.hh" #include "conf.hh" #include "FeatureGenerator.hh" #include "FeatureModules.hh" #include "Recipe.hh" #include "SpeakerConfig.hh" using namespace aku; #define TINY 1e-10 int info; // Gri...
15a127a47651e45957451dd4de8ab773463eaa8e98eac79e013951e1d795e625
C++
7,275
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/Util/DebugShapeDrawer.h" #include "Carla.h" #include "Carla/Game/CarlaHUD.h" #i...
690e6d518778608d97f2f6698d8b20b11ec0b90524fd681a2fa48658498d3431
C++
7,282
299
#include <string> #include <cstring> #include <vector> #include <cstdio> #include <iostream> #include <fstream> #include "commandline.h" /** * @brief pharse_file: pharse the commandline arguments (in argc and argv) * Once we match with arguments ("-f" only) * we will store the parameters in the parameters vector. ...
dffbecbd97c84082216ca5479b5fa1f7dc2f65d36c4282554601429ea4044936
C++
7,290
178
/*************************************************************************** lj_coul_soft_gapsys.cpp ------------------- Class for acceleration of the lj/cut/coul/cut/soft/gapsys pair style. ______________________________________________________________...
bdce69cbd71a8d372d93e29bfa4946fc6bc7fe60f913aadca465f4a40380203c
C++
7,309
279
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://lammps.sandia.gov/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC...
8397a3442af49431e6eb3ee4854546111f2e42fc65187c91cdf45ebba975405c
C++
7,310
194
#include "carla/trafficmanager/Constants.h" #include "carla/trafficmanager/LocalizationUtils.h" #include "carla/trafficmanager/TrafficLightStage.h" namespace carla { namespace traffic_manager { using constants::TrafficLight::EXIT_JUNCTION_THRESHOLD; using constants::TrafficLight::MINIMUM_STOP_TIME; using constants:...