sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
619331c24ced6bc8ff15cc2c0695c41a788dda916591b0aed2ecdd335a1c3c9c
C++
4,606
164
/*************************************************************************************************** * Copyright (c) 2015 - 2022 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * All rights reserved. Do not distribute without permission. * Author(s): * Nadir Roman Guerrero <nad...
cd4fcf96f8c6526a720b4400a458641b98ae584a1f221c940a31bdad9738a83e
C++
4,606
124
#include "Utils/GoogleStreetViewFetcher.h" #include "HttpModule.h" #include "ImageUtils.h" #include "Misc/Base64.h" #include "Kismet/KismetMathLibrary.h" #include "Engine/StaticMeshActor.h" #include "Materials/MaterialInstanceDynamic.h" #include "Camera/CameraActor.h" #include "Camera/CameraComponent.h" #include "Carla...
cecb606a3a00f3a70a4d7af18e3a2144f42a15540ceb64be216f468aea645cf5
C++
4,607
129
// 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 "osm2odr/OSM2ODR.h" #include "carla/Logging.h" #include "osm2odr/Frame.h" #include "...
06732dac2062b74a2224276d1cbe25864dc82fef14b058397f6a74e1c8367a99
C++
4,608
111
/* * ImageWrite.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 <string> #include "itkComplexToMo...
14c5911b0906a3ccfbfb11dc53ead9c49b6509864d2235d61cf92d7f8cf13ad7
C++
4,611
106
// 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 "Frame.h" #include <cmath> #include <sstream> namespace twinmodel { namespace { ...
181029099eb3e7e5758fa4445ae0dcfb3f63519cce2a4c5fcff182473df99975
C++
4,616
164
// 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/GnssSensor.h" #include "Carla.h" #include "Carla/Actor/ActorBlueprintFun...
e87ada0f1ca5d53b8ea1c61cbced9e76581b1ca418724b5594d5c8211a12e185
C++
4,619
213
// 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 "TrafficLightController.h" UTrafficLightController::UTrafficLightController() { } v...
36a12e91e2ad6acf9e4fb615cdcaf534a0099333f98005fa6b8817b07c194827
C++
4,635
151
/* 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...
1f54e1769a982ed69d8b0fc2e3242fd5fb2d87956d814fee4f4a474b29d6b605
C++
4,644
124
// 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 "WheeledVehicleMovementComponentNW.h" #include <util/ue-header-guard-begin.h> #includ...
d9249dccc0de2b2b53cf77e37a7d9a7d661a30c37ab7a2c5cb33b1689354c485
C++
4,657
126
/** * 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...
fca1e6b0758c83a9c6a421d755ad3f84801933ae4dc59891f0b68eac8f97e5e0
C++
4,674
166
/*************************************************************************************************** * 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...
077a54c3c7d603355b359d5b171a1b4611bcd307c918a476cfdf03d6b473dc52
C++
4,693
147
/** * 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 ...
10811b4df1c967772b23145b9883202c43023978bd328e34cd6c3908632b6be5
C++
4,702
163
/* 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...
7698021a92eca96195960f5de4de59578bb873fe91399c66eed94469fa06815a
C++
4,704
144
/* * 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 ...
3db907ab88a37fae6454c8cdfea5ca4fd8adfcf1222f5061da246c2ea26292d6
C++
4,713
128
/** * 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...
7598275719feff6d1e3f917146b522f660653bd7629af62c41f9e2ae35ce89f2
C++
4,724
142
/*************************************************************************** coul_wolf.cpp ------------------- Class for acceleration of the coul/wolf pair style. __________________________________________________________________________ This file i...
48c83284627624576508f01bd3ecfd3841dee0d844495049023a7cf94ff3d6de
C++
4,746
113
// 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 ...
f2c9ba141841cc2dcdc3c71308ee989dd761aef77833118dbabe2c2d99ac6842
C++
4,749
154
/*************************************************************************************************** * 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...
75f06a9baa26e3e4f75bad929b597775e6a7408ba377083c4d16b6ad6ee3d6d4
C++
4,751
109
#include "Args.h" #include "Commands.h" #include "Util.h" #include <iostream> int main(int argc, char **argv) { args::ArgumentParser parser("http://github.com/spinicist/QUIT"); args::GlobalOptions globals(parser, global_group); #define ADD(CMD, GROUP, HELP) args::Command CMD(GROUP, #CMD, HELP, &CMD##_main); ...
40dcb759c05a2e56d8c85a276cad4aa2563258e641481485e05292e68fdb5401
C++
4,759
122
/*************************************************************************** coul_diel_ext.cpp ------------------- Functions for LAMMPS access to coul/diel acceleration routines. __________________________________________________________________________...
08fe23dbde3f0ed0a5eef067feba829d9814bd102886823866d949e8d524bb71
C++
4,767
151
#include <assert.h> #include "Rescore.hh" Rescore::Rescore() : m_tree_gram(NULL), m_src_lattice(NULL), m_sentence_start_label("<s>"), m_sentence_end_label("</s>"), m_null_label("!NULL") { } Lattice::Node& // private Rescore::find_or_create_node(int node_id, Context &context) { // Check if the cont...
37c8b1846342efe56971f1c0413fac8069e27d0910b6735d438600e6a5992f74
C++
4,771
131
/*************************************************************************** sph_lj_ext.cpp ------------------- Trung Dac Nguyen (U Chicago) Functions for LAMMPS access to sph/lj acceleration routines. _______________________...
546a62300d6e30cc621417bdefc35179f6095941fd1d53202b6eb456d0b1237a
C++
4,773
109
#include "pytorch_cpp_helper.hpp" #ifdef MMCV_WITH_CUDA void ModulatedDeformConvForwardCUDAKernelLauncher( Tensor input, Tensor weight, Tensor bias, Tensor ones, Tensor offset, Tensor mask, Tensor output, Tensor columns, int kernel_h, int kernel_w, const int stride_h, const int stride_w, const int pad_h, c...
c46eb4d85810c0fbf5af28744fe50df27cb2c4188640cd3d3fc9807df8018cd0
C++
4,774
142
/*************************************************************************** coul_wolf_cs.cpp ------------------- Class for acceleration of the coul/wolf/cs pair style. __________________________________________________________________________ This ...
9517b874634d38006269c49849a33520890408bcc5db5d341c231d51b946f33e
C++
4,816
120
// 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/ros2/publishers/PointCloudFieldsLayout.h> namespace { cons...
53f4a500981b521faa3faa840252843a5c58f44ecf1cd0e0eede686d4f87d8ac
C++
4,822
149
#include "data_consumer.hpp" #include <iostream> #include <QThread> namespace bias { // Public methods // ---------------------------------------------------------------------------------- DataConsumer::DataConsumer(QObject *parent) : QObject(parent) { stopped_ = true; } void DataCon...
d06b838a70f82c7eb7b8e0118538c9397d9165d5abf30b707918721b7574d132
C++
4,828
147
// 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/WalkerAIController.h" #include "carla/Exception.h" #include "carla/Logg...
f964e67abfb70d459a505d4c70ed86ac427f934346dda63d428c26e9acdb220c
C++
4,829
138
/*************************************************************************** coul_diel.cpp ------------------- Class for acceleration of the coul/diel pair style. __________________________________________________________________________ This file i...
598e59b9dfe6d477213ebf5157148ba9109ce20e438dda5a017305972c7190a0
C++
4,834
144
#include <vector> #include <valarray> #include <fstream> #include <iostream> #include "json/json.h" #include "commandline.h" #include "spectrum_pick_1d.h" #include "DeepConfig.h" int main(int argc, char **argv) { std::cout<<"DEEP Picker package Version "<<deep_picker_VERSION_MAJOR<<"."<<deep_picker_VERSION...
c2c8366ad7799b24012575bf5a1a974b23460043ec1af2ddd042a13abe13b8e5
C++
4,842
127
/*************************************************************************** dipole_lj_ext.cpp ------------------- Trung Dac Nguyen (ORNL) Functions for LAMMPS access to dipole/cut acceleration routines. _______________________...
584073b4f58e6cab1ec725c0bc7ed818549f57d9ba90465a3f57b637cfda772b
C++
4,844
113
// 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/ros2/subscribers/AutowareControlSubscriber.h" #include "carla/Logging.h" #incl...
20607ed8eb52eac0138eb07c58ff3b43721485861d83d641854e6112c3c9a0ab
C++
4,846
56
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <RcppEigen.h> #include <Rcpp.h> using namespace Rcpp; #ifdef RCPP_USE_GLOBAL_ROSTREAM Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get(); Rcpp::Rostream<false>& Rcpp::Rcerr...
e0e0c07bdf6156ef0d9b25403593a3463e01d7d7cf276c2ffecff1c7e8677e5e
C++
4,865
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 "StaticMeshFactory.h" #include "Carla/Actor/ActorBlueprintFunctionLibrary.h" #include ...
208fb652f8886084310b7d3bbf80b61979280affc12e65b2c56c2846b4943a50
C++
4,885
134
// Copyright (c) 2019, SenseTime. #include "parrots_cpp_helper.hpp" void ModulatedDeformConvForwardCUDAKernelLauncher( const DArrayLite input, const DArrayLite weight, const DArrayLite bias, const DArrayLite ones, const DArrayLite offset, const DArrayLite mask, DArrayLite output, DArrayLite columns, int ke...
8c01205f948da29020c77e030ab369164b9aca9888b92081cb0a72eae2e00ac3
C++
4,885
125
/*************************************************************************** lj_class2_coul_cut_ext.cpp ------------------- Functions for LAMMPS access to lj/class2/coul/cut acceleration routines. ________________________________________________________...
95929a85ea8d6fc9936280f09d440b3365baf66e75a52e7cc8a9f2f79ac33a12
C++
4,888
149
/*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 or agreed to in writing, ...
f493dd33fa16f89b1df78140dd50f41e77cb40419db92273be5ba7f6a2a9fc0e
C++
4,896
170
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "MoveAssetsCommandlet.h" #include "SSTags.h" UMoveAssetsCommandlet::UMoveAssetsComma...
dff60234ef88509fff623a614a8087d25a63520e286915f8f6f9f97568d4c024
C++
4,912
127
/*************************************************************************** dipole_lj_sf_ext.cpp ------------------- Trung Dac Nguyen (ORNL) Functions for LAMMPS access to dipole/sf acceleration routines. _____________________...
5eaff2b11ad6f6014decb03de7a320afbbe6c2636cb2af1ee0884d9880cd6c72
C++
4,918
151
#include <iostream> #include <random> #include <sstream> #include <stdexcept> #include <string> #include <thread> #include <tuple> #include <carla/client/ActorBlueprint.h> #include <carla/client/BlueprintLibrary.h> #include <carla/client/Client.h> #include <carla/client/Map.h> #include <carla/client/Sensor.h> #include...
873023aa11a417385f9f3403bbcc4a02b305d0869e8f2de875c9cef2ac6309b8
C++
4,922
128
/** * 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...
cc5776a09e1355042deabd9a0fe69c5bff676e1be2392ddca9fea6f79eaa9206
C++
4,950
155
#include <string> #include <vector> #include <algorithm> #include <iostream> #include <fstream> #include "json/json.h" #include "commandline.h" #include "spectrum_phasing.h" #include "DeepConfig.h" namespace phasing_helper { size_t split(const std::string &txt, std::vector<std::string> &strs, char ch) { ...
8629beef429be40909c8a4970184f135e1102f731e080b41ef3ee81ad07a1fad
C++
4,953
209
#include <cstddef> // NULL #include <stdlib.h> #include <errno.h> #include <string.h> #include <cassert> #include "LnaReaderCircular.hh" LnaReaderCircular::LnaReaderCircular() : m_file(NULL), m_header_size(5), m_buffer_size(0), m_first_index(0), m_frames_read(0), m_log_prob_buffer(0), m_fram...
99cce96a720f6dcba28ac1f3fab037899987fdecb308c92caa7cb47363079f6a
C++
4,954
169
/*************************************************************************************************** * Copyright (c) 2015 - 2022 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * All rights reserved. Do not distribute without permission. * Author(s): * Nadir Roman Guerrero <nad...
09aec38d08b4cec9fa77238872501794090bec98c77983280189f4b6d0c0b2a8
C++
4,963
173
// 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/BufferView.h> #include <carla/stre...
a753a6c5d3f4da4203096f3557753d36fc0ff770cb9fb8b948459a869ceb1156
C++
4,967
155
// 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/streaming/detail/tcp/ServerSession.h" #include "carla/streaming/detail/tcp/Serv...
e66f78ec4bec17749a16b43750d28589271033ef207491d4c68956bf35eae76f
C++
4,979
130
/*************************************************************************** buck_coul_ext.cpp ------------------- Trung Dac Nguyen (ORNL) Functions for LAMMPS access to buck/coul/cut acceleration routines. ______________________...
a643f0dc3c649ebd5d74adfc8d8bdc9e6718ff6a59b59c81d0ef9b52e7156eb4
C++
4,991
195
#include <vector> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <cmath> #include "json/json.h" //will link to the C function in libcerf extern "C" { double voigt(double x, double sigma, double gamma); }; #ifndef WEBASSEMBLY /** * This program will read in one peak fr...
c547d069960f58f560ed9f7dac83ea1fad1919d029475c85203fefb3a05e5f55
C++
4,992
213
#include "Lattice.hh" namespace aku { Lattice::Lattice() { resize(0, 0, 0); } void Lattice::reset() { for (int f = 0; f < m_frames; f++) { if (m_ranges[f].unused()) break; reset_frame(f); } } void Lattice::resize(int frames, int positions, int block_size) { m_cells.resize(frames); m_ranges.r...
c21e43b58b4427845f1aab3efebfa8f413357ff4f14f7d765c4ad82632e46f0e
C++
5,006
136
// Standard C++ includes #include <fstream> #include <thread> // PLOG includes #include <plog/Appenders/ConsoleAppender.h> // Filesystem includes #include "path.h" // GeNN includes #include "logging.h" #include "modelSpecInternal.h" // GeNN code generator includes #include "code_generator/generateMakefile.h" #inclu...
1894a679cb5adca87921433395bdeed34e0a128f8c1f2a811363a3f28e0ce40d
C++
5,015
109
// 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 "BaseVegetationActor.h" #include "Carla/Carla.h" void ABaseVegetationActor::BeginPl...
1b8367dad133f75d727b0f8e8a1b19e7d6ccc0bb4490a9f41a10aa493fd89649
C++
5,019
159
// 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/Lane.h" #include "carla/client/LaneSection.h" #include "carla/client/Ma...
325125af43fdb13d0299bf5e1801b74fed5262f6d77303f3dec5c521ab9805b9
C++
5,022
126
/*************************************************************************** lj_class2_coul_long_cs_ext.cpp ------------------- Functions for LAMMPS access to lj/class2/coul/long/cs acceleration routines. ________________________________________________...
144efb6b781fe1de9130f97e7b554d4d7cd74dbeb4d0979c6d6e28ce844e22d0
C++
5,046
129
/*************************************************************************** lj_cut_coul_wolf_ext.cpp ------------------- Functions for LAMMPS access to lj/cut/coul/wolf acceleration routines. ____________________________________________________________...
acab1661bf801aea5a6a2320124ead02987771165a7db9dfb3205a51b09b1951
C++
5,048
139
#include "parrots_cpp_helper.hpp" void SyncBNForwardMeanCUDAKernelLauncher(const DArrayLite input, DArrayLite mean, cudaStream_t stream); void SyncBNForwardVarCUDAKernelLauncher(const DArrayLite input, const DArrayLite mean, DArrayLite v...
117d3dfafd7c3eb6449933157edd798cd860f6dca4a3a992b11a8bc3a785ed87
C++
5,052
95
// 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> namespace carla { namespace rpc { std::ostream &operator<<(std::ostr...
b4104adc6d06b1f2b1d7869a8bc287abe657fc32e3b321f7f2057fe78e7aa79d
C++
5,052
190
// Copyright (C) 2007 Vesa Siivola. // See licence.txt for the terms of distribution. // Routines for reading and writing arpa format files from and to the // internal prefix tree format. #include <cstdlib> #include <stdexcept> #include "ArpaReader.hh" #include "misc/str.hh" using namespace std; void ArpaReader::...
6dddbfdbe4e646ce8c4879193242e2a4d9ea4ab37514407c85597359d2b7b38a
C++
5,064
141
/* * 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 ...
933a66a790628ca242fef28bca688eeba5d8c11b6b085f7a02999c09f1feeccc
C++
5,076
141
/*************************************************************************** coul_slater_cut_ext.cpp ------------------- Functions for LAMMPS access to coul/slater/cut acceleration routines. ______________________________________________________________...
3616823a934ca82ac54bc2ed0243354e643b5ee2ee54ed1c85c86dd41c7596da
C++
5,080
140
/*************************************************************************** coul_cut_soft_ext.cpp ------------------- Functions for LAMMPS access to coul/cut/soft acceleration routines. __________________________________________________________________...
1be751e9545dfa9a81cad37dd964f9de3292564bd60dad57a246b94d963cc852
C++
5,091
101
// PyBind11 includes #include <pybind11/functional.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> // GeNN runtime includes #include "runtime/runtime.h" // DVS includes #include "dvs.h" // Doc strings #include "dvsDocStrings.h" using namespace GeNN::Sensors; //------------------------------------------...
2ac8450b88b7e2b5d8dd1d0c5436f8a948e75320637acb53708e9182864c0ac4
C++
5,103
253
// Program for Floyd Warshall Algorithm #include <cstdio> #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <deque> #include <string> #include <cmath> #include <algorithm> #include "clique.h" //#define MY_DEBUG cmaxclique::cmaxclique(){} cmaxclique::~cmaxclique(){} int cmaxcliqu...
dbbd9e06c1ba38b765f3b1abcb8239b1ecd3f81237782bd5fcacd2cc77f6317d
C++
5,104
128
/*************************************************************************** buck_coul_long_cs_ext.cpp ------------------- Functions for LAMMPS access to buck/coul/long/cs acceleration routines. __________________________________________________________...
f14673ec429b715e5a62fcaf8555431ecfbbcf430ec43a2940194437f93daf1a
C++
5,108
201
/*************************************************************************************************** * 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...
c371ba0a4010d9ff413878432cd5686fdfb28fddd57c0193d9c60836f2658afb
C++
5,110
148
// 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/DecalSpawnLibrary.h" #include "Carla/Traffic/RoutePlanner.h" #inclu...
1a0d0737099110e008fbeda5c265d52772b0c9bc41d5980c162073ca76b70327
C++
5,112
122
/*************************************************************************************************** * 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) / ...
90578e2241dc48e40a5e4a4f7dee5fa6a69bb054d1cdf3579c5936545c949220
C++
5,112
216
/*! \file Reader.cpp \brief For reading in the vtk-, vtu- and vtp- files. \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 Reader */ #include "Reader.h" using namespace std; Re...
8aae1971280aa744afc012c592e23c3eb1d8263881bddfd7a226a6574f125814
C++
5,125
132
/*************************************************************************** vashishta_ext.cpp ------------------- Anders Hafreager (UiO) Class for acceleration of the vashishta pair style. ______________________________________...
dc766c0630c35e8b595f5bfe25ed4347a51e7217224ae5430931270edbc5fed7
C++
5,139
142
// 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/streaming/detail/Dispatcher.h" #include "carla/Exception.h" #include "carla/Lo...
4c14ef577e4dfa2373e7d38853555e52468fddda9bcfe415fc425d8c06e2f323
C++
5,148
145
#include "CPMVertexPartition.h" CPMVertexPartition::CPMVertexPartition(Graph* graph, vector<size_t> membership, double resolution_parameter) : LinearResolutionParameterVertexPartition(graph, membership, resolution_parameter) { } CPMVertexPartition::CPMVertexPartition(Graph* graph, vector<s...
f820fe2576d83fa2ef4efaee133e59861379ac46ed4b08b62d71342c6f81929b
C++
5,170
133
/*************************************************************************** tersoff_mod_ext.cpp ------------------- Trung Dac Nguyen Functions for LAMMPS access to tersoff acceleration routines. _______________________________...
12200d5832439fda884773b5107bafba2eb2c88ea640000751b25555834805f5
C++
5,179
115
/* * qi_zshim.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" #inc...
d97dc71e05d22a0a3eba9df13ea3df25d1647415eb02f38def208008fc339032
C++
5,199
155
/* * 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 ...
63d122e37dc6d65376f093463887b0bf6f3576895d9d85bcddb63491960dac2c
C++
5,204
133
/*************************************************************************** tersoff_ext.cpp ------------------- Trung Dac Nguyen Functions for LAMMPS access to tersoff acceleration routines. _________________________________...
7bfa2ad79e10fe61e8abd7803f375b4840bf0aff21f472b322c610b1a7223775
C++
5,207
132
/*************************************************************************** sph_heatconduction_ext.cpp -------------------------- Trung Dac Nguyen (U Chicago) Functions for LAMMPS access to sph/heatconduction acceleration routines...
1fe209762352a597fb31299dec308f4e2bfaaf2f01900faa39195c890e126cad
C++
5,208
143
#include "RBERVertexPartition.h" RBERVertexPartition::RBERVertexPartition(Graph* graph, vector<size_t> const& membership, double resolution_parameter) : LinearResolutionParameterVertexPartition(graph, membership, resolution_parameter) { } RBERVertexPartition::RBERVertexPartition(Graph* graph, ...
0b94d366c35ea291342fc609398f8e86ba2819483894a38472397f5bc7c15e1a
C++
5,209
130
#include "pytorch_cpp_helper.hpp" #ifdef MMCV_WITH_CUDA void SigmoidFocalLossForwardCUDAKernelLauncher(Tensor input, Tensor target, Tensor weight, Tensor output, const float gamma, ...
d6e2685ce7f3bac66feece68217b9e706c6087c1aa02253b102ccb345e6259c2
C++
5,226
135
/** * 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...
ccb0bbb50c6a181303bb87eee2ad2ab280a41cf5d620f87c83cad7f3031a41ca
C++
5,232
148
/*************************************************************************** coul_long_soft.cpp ------------------- Class for acceleration of the coul/long/soft pair style. __________________________________________________________________________ T...
f83fcf1311a289a964702d302113ce74a676dd6a433a61bf8c907d4355cf2d50
C++
5,232
143
/*************************************************************************************************** * 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...
6edf36db8208f0b7654ee0d98611c105b1c90b5f474fc83229c761689c2d1cfb
C++
5,247
134
/** * 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...
a0d929987a0b3739a1506925f76d5566b51f1cb0aee50ca862552aa7d4fc00ef
C++
5,262
154
/** * 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...
98ce4e84fa167a88b9ddca7b229db9d07941b8c860628e801ebb87ba965b08a1
C++
5,268
135
/*************************************************************************** sph_taitwater_ext.cpp ------------------- Trung Dac Nguyen (U Chicago) Functions for LAMMPS access to sph taitwater acceleration routines. _____________...
815a64a1a30bad3f317e362624a0eea677b006a1a585deaff463022ad30d73d8
C++
5,272
216
#include "bias_plugin.hpp" #include <iostream> #include <QtDebug> #include <opencv2/core/core.hpp> #include "camera_window.hpp" namespace bias { const QString BiasPlugin::PLUGIN_NAME = QString("basePlugin"); const QString BiasPlugin::PLUGIN_DISPLAY_NAME = QString("Base Plugin"); const QString BiasPlugin...
afebed1151b5e507f1e9aaaf4e8254044a2966dc1280bb21ac3209bbbfddf479
C++
5,273
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/Sensor/ShowOnlyFilter.h" #include "Carla.h" #include "Carla/Game/CarlaEpisode.h...
10d96009853c4a919c57d96cc53783be252a4f6513bf932a724d7534dec6d357
C++
5,282
160
/** * 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 ...
b27f232927b2894d0471e8ac4a55852891616ffda8dba527388dc881a37be6bb
C++
5,295
138
/* * PathUnwrapFilter.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/. * * This is part of an implementation of t...
929876cfd8a3799d701b3aec31bec6c3bd73dde3e0d3e603b27a28e37a8dad91
C++
5,297
135
/** * 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 ...
a8aceeaf23f42c7a19abcb572668c360fa091883814d54bc9e8119c8e501290c
C++
5,302
194
#include <ACTIONet.h> #include <hnswlib.h> #include <atomic> #include <thread> 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 (numThreads == 1) { for (size_t ...
48b7968459f86ad352025467f9dd0ee69343b0e7e1a139db4ca0e4ebcebc4a69
C++
5,310
139
#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 "qLearnSparse.h" // MC learning declarations #include "monteCarlo.h" // Monte Carlo #i...
ecc870c8f48a3feeaac1fa098e1f7b6df3105c1419e569ed93ea580337ff109e
C++
5,318
139
/*************************************************************************** lj_cut_soft_ext.cpp ------------------- Functions for LAMMPS access to lj/cut/soft acceleration routines. ______________________________________________________________________...
60f81aa7e1cd3cf934ffb6728c4f052471e0b3f2d48217c550a123bc9d3bb609
C++
5,320
251
/*************************************************************************************************** * 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...
c2f61b3f2f9fc72eeb74a1b0ecd81a5bef44b69e0a02d48aa0c8b4219e79ad57
C++
5,322
137
/** * 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...
ef9ba45d2af203c2c0cbc050bf9a08f08a821b68ce178b9151314fc2ea3d4a67
C++
5,322
137
/** * 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...
52069eff13ec2c863cf2cf0c528ccb53dcb056dba05fd624925751d1a2003cca
C++
5,323
153
/** * 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...
5315b4f292d7a573711cb0ccd4f5d173a2871c369f0d7a47b16e5509c71451b7
C++
5,332
166
// 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/GeometryParser.h" #include "carla/road/MapBuilder.h" #includ...
b9a2f2571ba2c184c5e8c2d7ae4f774373403c99569bedf24737412f70637723
C++
5,334
155
/*************************************************************************** coul_cut_soft.cpp ------------------- Class for acceleration of the coul/cut/soft pair style. __________________________________________________________________________ Thi...
826c45742bdb79926b19d89eb28be0da598504d7075f922e5aa29f422ef591ba
C++
5,339
140
/** * 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...
deb961044859be227a865cdf4c945e8bba353fdc938110694c047ddbc3eab6e2
C++
5,339
131
/*************************************************************************** charmmfsw_long_ext.cpp ------------------- Functions for LAMMPS access to lj/charmmfsw/coul/long acceleration routines. ________________________________________________________...
4024c5bd680645eeb492182c59a06b20b29a253059a6d7734e03f17edb63d61f
C++
5,340
170
// 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 "DynamicMeshGeneration.h" // Engine headers #include "AssetRegistry/AssetRegistryModu...
230f99fb5c27008e264f26484574301207f4183bdbea0b2c5f34b6b562a8bc5a
C++
5,343
144
/*************************************************************************** coul_long_soft_ext.cpp ------------------- Functions for LAMMPS access to coul/long/soft acceleration routines. ________________________________________________________________...