sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
e08eb2a813f6164d958c4358ccf6c43d6e53b29e6a199e176fa27f618e0b21fb
C/C++
560
20
// 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>. #pragma once #if defined(__clang__) # pragma clang diagnostic push # pragma clang diagnostic...
fbc22e1d786e30a1b126523d42d2b221e757328e307340d8038eac7ed4bcf531
C/C++
566
25
class cmaxclique { private: int counter; std::vector<int> neighbor; std::vector<int> nneighbor; std::vector< std::vector<int> > clique; int npeak; int pivot(std::vector<int>); void bk1(int c,std::vector<int> r, std::vector<int> p, std::vector<int> x); void bk2(int c,std::vector<in...
7abd41ba0c08f476ecfa03aa60b7ade8a4b2c2ff2d0b25d1374dccb246437117
C/C++
568
25
// Copyright (c) 2019 Intel Labs. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "Carla/Sensor/ShaderBasedSensor.h" #include "Carla/Actor/ActorDefinition.h" #include "RssSensor.generated.h" /// RSS sensor representation ...
b1e5620bd37e16a6a7339d7560ed483546a359c27f263dffe2a485ba0d8f40ea
C/C++
570
29
// 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>. #pragma once #include <sstream> #include <chrono> #pragma pack(push, 1) struct CarlaRecorderP...
48c31e00aa6edb3b341b6a932e773acfa164e466ca6c3199a17db850a1913ddb
C/C++
575
22
/******************************* * FileName: erosion_accel.h * Designer: Zhe * Modified: 10/26/2018 * Describe: Header file of the erosion_accel.c ************************************************/ #ifndef _CONV_FILTER_H_ #define _CONV_FILTER_H_ #include <stdio.h> #include "ap_cint.h" void erosion_accel( uint...
8545e5d819e5c23d0fe672ca6a1c11982eb5897bc0cf3ed7b131b29ba45c27df
C/C++
577
21
/******************************* * FileName: dilation_accel.h * Designer: Zhe * Modified: 10/29/2018 * Describe: Header file of the dilation_accel.c ************************************************/ #ifndef _CONV_FILTER_H_ #define _CONV_FILTER_H_ #include <stdio.h> #include "ap_cint.h" void dilation_accel( ui...
a31b91393d27c0432ad18030ff373a93a2c2f26ec747c909053efaf931802d27
C/C++
579
31
#ifndef FMT1_H #define FMT1_H #define MAX_FMT1_NAME 128 typedef int fmt1_type; #define FMT1_INT 1 #define FMT1_CHAR 2 #define FMT1_SHORT 3 #define FMT1_LONG 4 #define FMT1_FLOAT 5 #define FMT1_DOUBLE 6 extern int FMT1_GetHeaderSize(); extern int FMT1_GetDataType(); extern int FMT1_inquire(); exte...
fe9507e01f54375ff681e2206355b97f73c47cabc97bf9beee9242b1e762d0ed
C/C++
581
18
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "Components/StaticMeshComponent.h" #include "Materials/MaterialInstanceD...
8f057ba92f20d118e5490fd68a81865b060dd1287562925f6d4fdaacfc8e186d
C/C++
585
25
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include <cstdint> #include "carla/ros2/types/msg/Time.h" namespace carla { namespace ...
c1635175c546c33af3aaf26b1bec5e4a73a6315d869f52dcf3be91da48966bf4
C/C++
585
29
#ifndef EVENT_DETECTION_H # define EVENT_DETECTION_H # include "scrappie_structures.h" typedef struct { size_t window_length1; size_t window_length2; float threshold1; float threshold2; float peak_height; } detector_param; #if 0 static detector_param const event_detection_defaults = { ...
135ec20b8b63b5cad272a6513117b47f7f8fc8b6570d012527b2de31754aecc5
C/C++
586
11
COMMON/BLK9C/HVST(05,366,JY,JX),GROUPI(JP,JY,JX),PPI(JP,JY,JX) 2,GROUPX(JP,JY,JX),RTFQ(JP,JY,JX) 3,SDPTH(JP,JY,JX),SDVL(JP,JY,JX),SDLG(JP,JY,JX) 4,SDAR(JP,JY,JX),ANGBR(JP,JY,JX),ANGSH(JP,JY,JX),CNWS(JP,JY,JX) 5,CPWS(JP,JY,JX),CWSRT(JP,JY,JX),WTSTDI(JP,JY,JX),PPX(JP,JY,JX) 6,THIN(05,3...
27cf5a64f66578133a5bf4ccb0af32884ba81e909ee0b06887683e7c0707c94a
C/C++
586
14
/** * \file ComputeGaussKronrodNodesWeights.h * The functions contained in this file calculate the Gauss-Kronrod nodes and weights * using the Laurie/Gautschi method. */ #ifndef EIGEN_COMPUTE_GAUSS_KRONROD_NODES_WEIGHTS_H #define EIGEN_COMPUTE_GAUSS_KRONROD_NODES_WEIGHTS_H #include "LaurieGautschi.h" // Stable, slow ...
53b9541da5b148b34dda031110f65f75acb2cf3605f5ec29966018581df792c7
C/C++
586
21
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "HAL/Platform.h" #include "UObject/ObjectMacros.h" #include "TLStyle.ge...
50d9be53c4521a3728deb4e72e11706d42169e1bd125febf50374c2c44641538
C/C++
587
23
/* ** $Id: sim.h,v 1.1.1.1 2005/06/14 04:38:28 svitak Exp $ ** $Log: sim.h,v $ ** Revision 1.1.1.1 2005/06/14 04:38:28 svitak ** Import from snapshot of CalTech CVS tree of June 8, 2005 ** ** Revision 1.2 2000/09/07 05:16:57 mhucka ** Removed variable declarations and moved them to .c files, where ** they b...
7e1d832229ca6bc80d3dfa65c3d0969601537a2caa6f80bd78f52debc7f64c99
C/C++
587
10
COMMON/BLK21B/TRXH0(0:JZ,JY,JX),TRXH1(0:JZ,JY,JX) 2,TRXH2(0:JZ,JY,JX),TRX1P(0:JZ,JY,JX),TRX2P(0:JZ,JY,JX) 3,TRBH0(JZ,JY,JX),TRBH1(JZ,JY,JX),TRBH2(JZ,JY,JX),TRB1P(JZ,JY,JX) 4,TRB2P(JZ,JY,JX),TRALOH(JZ,JY,JX),TRFEOH(JZ,JY,JX) 5,TRCACO(JZ,JY,JX),TRCASO(JZ,JY,JX),TRALPO(0:JZ,JY,JX) 6,TRFEPO(0...
0a27278d547e7f518139a59e1bae9a9571192620b49f444c82b857b6de7d87f3
C/C++
589
29
// 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>. #pragma once #include "carla/MsgPack.h" #include "carla/geom/Transform.h" #include <string> #...
e37a9f764c32116d5aa0393244ef4c71dadb7697992d54c276f9c84febfb0d9e
C/C++
592
30
/* * RFPulse.h * * 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/. * * SPGR / FLASH / FFE Sequences * */ #ifndef QI_R...
eb4741faba24bbc35d83d99edc598858222a4d40b7b0d329c40dbda6c6c15f9d
C/C++
592
25
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include <cstdint> #include "carla/ros2/types/msg/Time.h" namespace carla { namespace ...
bcdb1f84f2b8b609835b46a7756543578dba94c966444d4b9bf8353e861ebe14
C/C++
593
21
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "HAL/Platform.h" #include "UObject/ObjectMacros.h" #include "TLHeadAtta...
2f677f95be56f4a9621e75e9febb608b5a93462f75059838d7a8efd7a8164020
C/C++
594
16
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. #pragma once #include <torch/extension.h> at::Tensor ROIAlign_forward_cpu(const at::Tensor& input, const at::Tensor& rois, const float spatial_scale, ...
bd1512ed0402b28e3c5d88bd01167f43223e78efc54eda39ff1bed1b03369211
C/C++
595
29
// 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> #pragma once #include "carla/MsgPack.h" #include "carla/MsgPackAdaptors.h" namespace carla { n...
93307c967f12240cca780656dbc1b64bc37f0d0242a58cbdd905496ef3890f0c
C/C++
597
34
// 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>. #pragma once #include <cstdint> #include <string> namespace carla { namespace road { using...
c0818a9111dea466d083016bdca6bc4581d0662fcb6df09417bdbc847a7c7bc4
C/C++
601
30
// 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>. #pragma once #include "carla/NonCopyable.h" #include <string> #include <vector> #include "carl...
c160ab8c123d0012d5017e8c9378f60ec1e8ccd4ed772d34c335936b116b7864
C/C++
602
25
// // Created by wenhan on 2022/5/16. // #ifndef HRESTIMATOR_TRANSFORMS_H #define HRESTIMATOR_TRANSFORMS_H class Transforms { public: static void diff(const float *inputs, float *outputs, int inputSize); static void rect(const float *inputs, float *outputs, int inputSize); static void inte(const float ...
9378a2f39028be4ab2caf5e4ced8916b1be3f3526683a1c4b778d57b6e789779
C/C++
607
29
// 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>. #pragma once #include "carla/MsgPack.h" #include <cstdint> namespace carla { namespace rpc {...
ad533f567771f225cb9354f3ef5662b793cac6f093149ec4c9a2476a1aba0228
C/C++
608
20
#ifndef OUTPUT_H #define OUTPUT_H #ifdef __STDC__ void InsertItemInArgList ( char* argv[], int loc, char* item, int max ); void AddItemToArgList ( char* argv[], char* item, int max ); void Output ( ); /* FIXME. Should use varargs. */ void OutputIndentation ( void ); void SetOutputIndentation(...
8f8b4f024372fbadfd649144d399d5bb6df80fa661b4741e74fe7de80503bcce
C/C++
609
24
/*!For converting an vtk polydata in a tetgen format and a tetgen mesh in an vtk unstrucerd grid.*/ // // convertTetgenio.h // RESILIENT // // Created by Andreas Wachter on 01.09.15. // Copyright (c) 2015 IBT. All rights reserved. // #ifndef _RESILIENT_ConvertTetgenio_ #define _RESILIENT_ConvertTetgenio_ #includ...
f9284a6be5b1543bb9fbba48c7a35e41e9b195417ada3c33b0ff5f182478ff95
C/C++
611
30
// 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>. #pragma once #include <cstdint> namespace carla { namespace rpc { enum class ActorAttribut...
7bad5ddbc37454c92b158718405561044df298174c26cdd7759eaea7eccc545b
C/C++
612
24
// Copyright (c) 2019 Intel Labs. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "Carla/Sensor/ShaderBasedSensor.h" #include "Carla/Actor/ActorDefinition.h" #include "LaneInvasionSensor.generated.h" /// LaneInvasion sens...
c7ea634299d2231b51ebf8af6acf10dea556e565abb66a5770e1ab1a560b0004
C/C++
612
26
/* $Id: DrawUtil.h,v 1.1.1.1 2005/06/14 04:38:33 svitak Exp $ */ /* ** $Log: DrawUtil.h,v $ ** Revision 1.1.1.1 2005/06/14 04:38:33 svitak ** Import from snapshot of CalTech CVS tree of June 8, 2005 ** ** Revision 1.1 1995/07/17 20:40:09 dhb ** Initial revision ** */ #ifndef _DrawUtil_h #define _DrawUt...
e3c173e14676e307f49aa88fe9565d7f6233f54d1aa3a65dcd6e295a626f3d0e
C/C++
613
23
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/ros2/types/msg/Time.h" namespace carla { namespace ros2 { namespace msg...
94ac42abb7423eacb5c9d5d29900ad0c9611451c8b1016fe26a633a6b1ed6b69
C/C++
615
24
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/ros2/types/msg/Lateral.h" #include "carla/ros2/types/msg/Longitudinal.h"...
a7e0b044f8fe822a6c24b385c55e34c6403324ac48aea190aa0b94e10f1e7ffa
C/C++
621
23
// 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>. #pragma once #include "GameFramework/Pawn.h" #include "EmptyActor.generated.h" UCLASS() class...
21199b2deecd024fdab476f01ab107dad44c28c03baaa9cd8a80f5ed8edeef0f
C/C++
624
18
/********************************************************************* * Copyright 1993, UCAR/Unidata * See netcdf/COPYRIGHT file for copying and redistribution conditions. * $Header: /cvsroot/genesis-sim/genesis2/genesis/src/diskio/interface/netcdf/netcdf-3.4/src/ncgen/generic.h,v 1.1.1.1 2005/06/14 04:38:...
6d110be981896e7ce13a7735c968630aefc8555b7a6fd409b5482fa8be70f895
C/C++
624
23
/* ** $Id: conc_ext.h,v 1.1.1.1 2005/06/14 04:38:29 svitak Exp $ ** $Log: conc_ext.h,v $ ** Revision 1.1.1.1 2005/06/14 04:38:29 svitak ** Import from snapshot of CalTech CVS tree of June 8, 2005 ** ** Revision 1.3 2001/04/25 17:16:58 mhucka ** Misc. small changes to improve portability and address compiler ...
f1d6f96c4e5d41438d529fa807c665d24695fdc7a1780363579b9375adc47aa6
C/C++
624
27
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include <cstdint> #include <string> #include <vector> #include "carla/ros2/types/msg/He...
2979160870999b944a04f9314f5e6a4d490834427c60ebab21676bcde05d80b9
C/C++
625
28
// 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>. #pragma once #include "carla/Buffer.h" #include <cstdint> #include <type_traits> namespace c...
8adba837ea4b8db95b8e2829698addf5723eb68240a92e9366544e100203501c
C/C++
625
20
#pragma once #include "Model.h" #include "transient_sequence.h" struct MUPAModel : QI::Model<double, double, 3, 0> { static int const NS = 1; RUFISSequence & sequence; VaryingArray const start{30., 1., 0.1}; VaryingArray const lo{1, 0.01, 0.01}; VaryingArray const hi{150, 5.0, 5.0}; std:...
d29968c7b1ce4ef873702907a3d649684f0e0b19d0775d38ba8c5533019be309
C/C++
628
25
#pragma once #include "Engine/Scene.h" class CARLA_API FPostProcessConfig { void EnablePostProcessingEffects(); void DisablePostProcessingEffects(); public: FPostProcessConfig( FPostProcessSettings& InPostProcessSettings, FEngineShowFlags& InEngineShowFlags); ~FPostProcessConfig() = default; vo...
51f7df9cc7bffc7273adccb82fdcce142aa39dc97746c0c9196745b9a6346b54
C/C++
629
17
/** * 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...
cfd5e0af555003ad80ce2fcaed808a304561a26cbee8fbb0840819d9c1629e1a
C/C++
629
34
#ifndef SQ_FORMAT_H #define SQ_FORMAT_H #include <stdint.h> #include <stdio.h> #include "ref.h" typedef struct { char *read_id; int64_t len_raw_signal; int64_t sig_start; int64_t sig_end; char strand; char *tid; int64_t tlen; int64_t t_st; int64_t t_end; int64_t si_st_ref; //f...
747c40aa4ba41de0629633220ae0e3801f17b5ef14c33d745df73b09579dad67
C/C++
631
17
#pragma once #include "SequenceBase.h" #include "rf_pulse.h" #include <unordered_map> struct RUFISSequence : QI::SequenceBase { double TR, Tramp; Eigen::ArrayXd FA, Trf; Eigen::ArrayXi groups_per_seg; int ...
4c6d4aac3c70b81b4d9c619602a1fb4d0708161a05b47582f15d9ccdbb0db8ca
C/C++
632
26
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include <cstdint> #include "carla/ros2/types/msg/Header.h" namespace carla { namespace...
0e28f972b793f46ab534d4de036f095b889e59f65a8a828f2755a065d950134d
C/C++
633
29
// 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>. #pragma once #include "carla/geom/Mesh.h" namespace carla { namespace geom { class Simplif...
62a31cae925624c67c0446783eac49fb2ca61e062b874c87744ea236c1fd7ef0
C/C++
633
32
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
7fbd7ce2a91ff79a5b87d5fec1be82e6f1a2eadc89218d75ac8a1850f5ccdc91
C/C++
633
26
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include <cstdint> #include "carla/ros2/types/msg/Time.h" namespace carla { namespace ...
a2a9149c2bbc3b66ca2f0035994616ab1ef1697538d027b8bedac7adad68766b
C/C++
633
32
// 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>. #pragma once #include "carla/MsgPack.h" #include "carla/streaming/Token.h" #include <cstdint>...
3735312452186274d9dd2383778bf6ffbcc11408a6b1efdc2c6f82fcacb5530c
C/C++
635
32
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
8f5ca36498ce6803fea34b181406589f38b2d424e93ad507cd2797d11ba5024b
C/C++
635
25
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/ros2/types/msg/Time.h" namespace carla { namespace ros2 { namespace msg...
9da604d69aa75b540a6d9beb65b0d5bd249d40b8b10108cef2d100439af20fa7
C/C++
635
32
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
3bb5f36f51eddbd6a651b2b6768c440ea06682e293dcbc426ec97b55ec20b894
C/C++
636
24
// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include <string> #include "carla/ros2/types/msg/Header.h" #include "carla/ros2/types/ms...
0215ec2805b7f6bcb5e444d7c5baa1c3e3c571347e61cd3f522c51f73aa0a0fa
C/C++
638
33
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
1b99d15ff0ef4b364d34da5c0c35ae71c6f35a434d743e11896d978e91fdfb07
C/C++
638
33
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
d22cad1a3decf88b952f81c2bf3ec867b9cfc5a763e132660d54c0acafaa8d05
C/C++
638
33
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
e472a44273796779f051359f765497c1e9f7bf902a1b0ce0c9ce4117c0a1ded0
C/C++
638
11
COMMON/BLK10/PARR(JY,JX),PARG(60,JY,JX),FLWM(60,3,JD,JV,JH) 2,FLWHM(60,3,JD,JV,JH),QRMN(60,2,2,JV,JH),QSM(60,2,JV,JH) 3,VOLWM(60,0:JZ,JY,JX),VOLWHM(60,JZ,JY,JX),VOLPM(60,0:JZ,JY,JX) 4,FILM(60,0:JZ,JY,JX),ENGYPM(60,JY,JX),XVOLTM(60,JY,JX) 5,XVOLWM(60,JY,JX),XVOLIM(60,JY,JX),ROXSK(60,0:JZ,J...
5e89d5d50e6789b96e62fb38bd6cb2db1744888586395fbe5644e8f1a5b7942a
C/C++
639
28
/* ** $Id: nrutil.h,v 1.1.1.1 2005/06/14 04:38:34 svitak Exp $ ** $Log: nrutil.h,v $ ** Revision 1.1.1.1 2005/06/14 04:38:34 svitak ** Import from snapshot of CalTech CVS tree of June 8, 2005 ** ** Revision 1.1 1992/12/11 19:06:15 dhb ** Initial revision ** */ float *vector(); float **matrix(); float ...
2a7661b7fb7d71d2b5fa4c100bc5fc1de5386fdba5e9637988fcecdd451f28cf
C/C++
640
33
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
1c696284d9fcc4a39f69666f18c5604679d240af9905a04bee1d5539b321a1ff
C/C++
641
32
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
babf6d9ef339315f0f97f04a7ea5e3ccbc0b2d6ce910c46075b75eec820162bb
C/C++
641
32
// 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>. #pragma once #include "carla/MsgPack.h" #include "carla/rpc/Location.h" #include "carla/rpc/Ob...
4f6829022974b93f2fe6b065063663c1c09a1b0d603b1260f58879fc7b7bfd26
C/C++
642
33
// 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>. #pragma once namespace pugi { class xml_document; } // namespace pugi namespace carla { na...
9ea0418b51218d2b883a396d61dde5202da01c263ca6e71a1b6f02d2dc236ba7
C/C++
642
26
#include <torch/torch.h> #include <vector> at::Tensor BatchNorm_Forward_CPU( const at::Tensor input_, const at::Tensor mean_, const at::Tensor std_, const at::Tensor gamma_, const at::Tensor beta_); std::vector<at::Tensor> BatchNorm_Backward_CPU( const at::Tensor gradoutput_, const at::Tensor input_, ...
3db4a1090fe817489f769126b2cf6ccf42c6fbcf33240c18fadd880189dbf8d0
C/C++
648
27
#include <torch/torch.h> #include <vector> at::Tensor BatchNorm_Forward_CUDA( const at::Tensor input_, const at::Tensor mean_, const at::Tensor std_, const at::Tensor gamma_, const at::Tensor beta_); std::vector<at::Tensor> BatchNorm_Backward_CUDA( const at::Tensor gradoutput_, const at::Tensor input_...
542ea47cb7b2311ba58ff2c0469c016254639d9432db0564f4f4bf4a2c4ab7b3
C/C++
650
20
#pragma once #include "Model.h" #include "transient_sequence.h" struct MUPAB1Model : QI::Model<double, double, 4, 0> { static int const NS = 1; RUFISSequence & sequence; VaryingArray const start{30., 1., 0.1, 1.0}; VaryingArray const lo{1, 0.01, 0.01, 0.5}; VaryingArray const hi{150, 5.0, 5.0...
bd14d831ad35646eff5cc02c202ddc69e76c37b25d5d5f2dadd8656b652902c8
C/C++
653
29
/* * AFI.h * * 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/. * */ #ifndef SEQUENCES_AFI_H #define SEQUENCES_AFI_H #in...
d0f8b1f91f22e4a5e3560dc4bd21573b8ecc2629fa393b20a0cd407b70fd4a2e
C/C++
658
29
#ifndef cfg_H #define cfg_H #include <iostream> #include <cstring> #include <fstream> #include <set> #include <map> typedef float Dtype; struct cfg { static bool msg_average; static void LoadParams(const int argc, const char** argv) { for (int i = 1; i < argc; i += 2) { if (s...
cfdc9f91be346288b95084f3cb0aebfdd67d768ea002dec0461c9b42f9acdf84
C/C++
659
11
int BilinearSamplerBHWD_updateOutput(THFloatTensor *inputImages, THFloatTensor *grids, THFloatTensor *output); int BilinearSamplerBHWD_updateGradInput(THFloatTensor *inputImages, THFloatTensor *grids, THFloatTensor *gradInputImages, THFloatTensor *gradGrids, THFloatTensor *gradO...
62524a837a43f3d3ae23faa9b1e40614d90d54750b2312dc7547396329f0b5a1
C/C++
661
30
/* ** $Id: hash.h,v 1.1.1.1 2005/06/14 04:38:34 svitak Exp $ ** $Log: hash.h,v $ ** Revision 1.1.1.1 2005/06/14 04:38:34 svitak ** Import from snapshot of CalTech CVS tree of June 8, 2005 ** ** Revision 1.2 2001/04/25 17:17:04 mhucka ** Misc. small changes to improve portability and address compiler warnings...
0a3a3751e983075496a6d9c185874289c9e8e7ff28c02e8e85b2b9a2409b4df2
C/C++
668
26
/* * Fit.h * * 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/. * */ #ifndef QI_FIT_H #define QI_FIT_H #include <Eigen/C...
547f910066fc43672a2a705792b5a1d4867fa50c786ec62d1d16c0394a791430
C/C++
668
28
// 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>. #pragma once #include <util/ue-header-guard-begin.h> #include "Animation/AnimInstance.h" #incl...
663ea70a3dbe3bf1aed80224155074b7321407084e056faef4ebbbfbe4fba7f9
C/C++
669
24
// 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>. #pragma once #include "WalkerControl.generated.h" USTRUCT(BlueprintType) struct CARLA_API FWa...
855e5bba6482876a4740e7b26b3d1160966a7cf53f348daf6c9aa2d10ac4c58e
C/C++
669
28
// 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>. #pragma once #include "WalkerBoneControlOut.generated.h" USTRUCT(BlueprintType) struct CARLA_...
a1ef1dd39af101a66d13a5676cf13df23634048aca02ed0c54b88a7fb69b2789
C/C++
669
23
// 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>. #pragma once #include <util/ue-header-guard-begin.h> #include "Components/SceneComponent.h" #i...
d7bf4efe815781fcb30237a56fba8a58c85e7b09f3f11aa6b5c7418cfc02792b
C/C++
670
35
// 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>. #pragma once #include <vector> #include <string> namespace pugi { class xml_document; } // ...
255a5c79f5c05e105ed5ba3fc15635ca8e3cbbd524ec0f61177ad13980fe5d7c
C/C++
671
21
// 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>. #pragma once #include <fastdds/dds/domain/DomainParticipant.hpp> #include <fastrtps/types/Type...
17860b779886574639fd5fb2bfd0005ac5cbedab604913981cb54531bd8bc5d9
C/C++
673
31
#ifndef _Xodumputils_h #define _Xodumputils_h typedef unsigned short pixval; typedef struct _XgPixel{ pixval r; pixval g; pixval b; }XgPixel; /** Genesis external routines and definitions **/ #define FILEFMTS 3 #define GIF 0 #define JPEG 1 #define MPEG 2 extern void XoDumpGIF(/*Window,...
5eb3ab8f0a01cfd4ec62ec06359bd74ba5cd7cd37ef454fdee8eea51e695246f
C/C++
674
26
/* * Copyright 1995, University Corporation for Atmospheric Research * See top level COPYRIGHT file for copying and redistribution conditions. */ /* $Id: fbits.h,v 1.1.1.1 2005/06/14 04:38:32 svitak Exp $ */ #ifndef _FBITS_H_ #define _FBITS_H_ /* * Macros for dealing with flag bits. */ #define fS...
64ea6c870aa504e2ce8ecbecede7f1a59d3a6e701fb1081846e07e25b7e79c51
C/C++
674
26
// 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>. #pragma once #include <type_traits> namespace carla { template <typename... Ts> struct a...
84486e7133520aa70b13ea8d577e9c5e1819d2c2bd45aca43e463a56cfe35e63
C/C++
675
17
#include <deque> #include <cmath> #ifndef LDW_MATH #define LDW_MATH namespace ldw_math { void sortArr(std::vector<double> &arr, std::vector<int> &ndx); double calcualte_median(std::vector<double> scores); int calcualte_median_int(std::vector<int> scores); std::vector<std::deque<int> > bread_first(int ...
813b884d26c6259ac63b6840f6a92c18317928212f07914e028d1102dcbf7c0f
C/C++
677
24
// 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>. #pragma once #include "CoreMinimal.h" #include "EditorUtilityWidget.h" #include "StreetMapImpor...
bc20add2ca6974292969f992e673c4b81efe27df36d6fbf451a52926310123bb
C/C++
677
32
// 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>. #pragma once #include "carla/road/element/LaneMarking.h" #include <vector> namespace carla {...
7254a18608e873ce382834e5e00ce011698fd5050d71ae499203aaa77d8caaac
C/C++
679
23
// 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>. #pragma once #include "DoublyConnectedEdgeList.h" namespace MapGen { /// Random DoublyConn...
a1341795a98d08aeee6ccdb95c3560b85b69626bc3ca222f76c7c36cddcb5073
C/C++
679
26
#undef __BEGIN_DECLS #undef __END_DECLS #ifdef __cplusplus #define __BEGIN_DECLS extern "C" { #define __END_DECLS } #else #define __BEGIN_DECLS /* empty */ #define __END_DECLS /* empty */ #endif #undef DECLDIR #if defined (_WIN32) || defined (WIN32) || defined (_WIN64) || defined (WIN64) #if define...
97e13ce8834226b1bb991915183f2cff181bc2f79213044d441054fcb995504f
C/C++
680
19
/* $Id: draw_defs.h,v 1.1 2005/06/17 21:23:51 svitak Exp $ */ /* * $Log: draw_defs.h,v $ * Revision 1.1 2005/06/17 21:23:51 svitak * This file was relocated from a directory with the same name minus the * leading underscore. This was done to allow comiling on case-insensitive * file systems. Makefile was c...
3515c053690f559fc6225633372b236957738b0598dd0a7f96100874993af8e4
C/C++
681
23
class CCommandline { private: int narg; std::vector<std::string> arguments; std::vector<std::string> parameters; std::vector<std::string> informations; int error_flag; bool pharse_core(int argc, char ** argv); bool is_key(std::string); // check if the input is a key such as "-in". pro...
0f61ffd2a5dd0470e70baa2fb75f992a6396aa88177414076ff97ba5a847b134
C/C++
687
19
// 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>. #pragma once #include "OpenDriveFileGenerationParameters.generated.h" USTRUCT(BlueprintType) struct FOpenD...
0baf28e37238df0d84b57bc85f72b86dcd5737ed63ef91a1af3f56925825461e
C/C++
691
22
// 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>. #pragma once #if defined(_MSC_VER) # define LIBCARLA_FORCEINLINE __forceinline # define LIBC...
ac24a9282de42a4525c6c4c9f182236b4d1e72a8da7b4c0393658d7937bcb9dc
C/C++
691
28
// 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>. #pragma once #include <memory> #include <utility> namespace carla { template <typename T> ...
23337e94eb6898802e34ed56b597f590838c668297f6eb1eb7c480e93e1a3820
C/C++
692
28
/* $Id: gifstd.h,v 1.1.1.1 2005/06/14 04:38:33 svitak Exp $ */ /* * $Log: gifstd.h,v $ * Revision 1.1.1.1 2005/06/14 04:38:33 svitak * Import from snapshot of CalTech CVS tree of June 8, 2005 * * Revision 1.2 2000/06/12 04:28:20 mhucka * Removed nested comments within header, to make compilers happy. ...
9f82a8e0daae432fcea33002a497b5ce20ca9b6ae9f8027df0f190c58182b982
C/C++
694
27
// 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>. #pragma once #include "CoreMinimal.h" #include "UObject/Object.h" #include "TrafficLightState....
756938385fcd5fd2c639673e26e3976c85384f303c5d2ef014a06a5b94a9e883
C/C++
706
25
// 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>. #pragma once #include "Carla/Actor/ActorSpawnResult.h" #include "Carla/Actor/CarlaActorFactory...
f6249d31fc567d65219de691f078a6ced5e1b85cf21ab0bc9ab33d16a3ab60ad
C/C++
706
27
/* ** $Id: olf_ext.h,v 1.1.1.1 2005/06/14 04:38:34 svitak Exp $ ** ** $Log: olf_ext.h,v $ ** Revision 1.1.1.1 2005/06/14 04:38:34 svitak ** Import from snapshot of CalTech CVS tree of June 8, 2005 ** ** Revision 1.3 2001/04/25 17:16:59 mhucka ** Misc. small changes to improve portability and address compile...
705f3196ddb43256edc74845000536526a79299aa6c3f02b2440675b1107ddb2
C/C++
708
23
#ifndef GNN_LIB_H #define GNN_LIB_H #include "config.h" extern "C" int Init(const int argc, const char **argv); extern "C" void *GetGraphStruct(); extern "C" int PrepareBatchGraph(void *_batch_graph, const int num_graphs, const int *num_nodes, ...
ecbc4e248003d5adf6019cba57f96bb7a43f376d8c2bfd1b750bc791a65bad70
C/C++
708
33
// 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>. #pragma once #include <util/ue-header-guard-begin.h> #include "CoreMinimal.h" #include <util/u...
6aac7755ddab7acdaeaa8e3b76631cbd8c0f67e7225407551c6677d1037de0e0
C/C++
709
27
// // avergingOrientation.h // RESILIENT // // Created by Andreas Wachter on 04.11.14. // Copyright (c) 2014 IBT. All rights reserved. // #ifndef _RESILIENT_avergingOrientation_ #define _RESILIENT_avergingOrientation_ #include <iostream> #include <vector> #include <list> #include <tuple> #include "Headers.h" cl...
54c9828d5dc6377e22e53de8df6c2f413815c1a49989a030ee0eab90ba92d2ba
C/C++
711
28
// 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>. #pragma once #include "Carla/Sensor/ShaderBasedSensor.h" #include "Carla/Actor/ActorDefinition...
7bab3e1d3b36b85051689471a4ba7ce944cc27d0079b34a44e353463213cb5dc
C/C++
712
25
/********************************************************************* * Copyright 1993, University Corporation for Atmospheric Research * See netcdf/COPYRIGHT file for copying and redistribution conditions. * $Header $ *********************************************************************/ #ifdef __cpl...
d10282fae6fbfee641d917d8d7ce41c9e0221116fa1da36b580b3619dd5c926b
C/C++
712
30
/* * MultiEchoSequence.h * * 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/. * */ #ifndef SEQUENCES_SPINECHO_H #define S...
2bbcf19c7e86b347a734e4bf1c19ce24450f0be95b488bdea31b4e2d9f564f48
C/C++
716
29
#pragma once #include "carla/rpc/ActorId.h" namespace carla { namespace traffic_manager { using ActorId = carla::rpc::ActorId; /// Stage type interface. class Stage { public: Stage() {}; Stage(const Stage&) {}; virtual ~Stage() {}; // This method should be called every update cycle // and rep...
b3fd1b3fa50b2f6cc1c386dfd1d218387993d2c3b63b9350d873d8c1f4390b4a
C/C++
716
28
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. #pragma once #include "cpu/vision.h" #ifdef WITH_CUDA #include "cuda/vision.h" #endif at::Tensor nms(const at::Tensor& dets, const at::Tensor& scores, const float threshold) { if (dets.type().is_cuda()) { #ifdef...
ec81b59fb6789608f1db27cd9ff48ab3b66c2f8120a2bda74e1e65225e18b26b
C/C++
717
31
/* * CASLSequence.h * * 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/. * */ #ifndef SEQUENCES_CASL_H #define SEQUENCES_...