sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
3b214af478a0e37288878737db88b4195aec0eacf78d8d50635d1eee705f3034
C/C++
2,352
76
// 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/ros2/publishers/BasePublisher.h" #include <cstdint> #include <me...
bff82c2294f708476f8f060ed1a7e09bb8735a86a84f7bf6acfbf9c3b8f6474f
C/C++
2,354
98
//--------------------------------------------------------- // Copyright 2015 Ontario Institute for Cancer Research // Written by Jared Simpson (jared.simpson@oicr.on.ca) //--------------------------------------------------------- // // nanopolish_matrix -- matrix manipulation functions // #ifndef MATRIX_H #define MATR...
409c10639103fe15b772662536a9342fd35e135390eeaf936fe4b61a213b644b
C/C++
2,360
62
/* * Copyright 2021. Huawei Technologies Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
3aeb7a459a51285718ca82e760eacb81acda3cac20be540b6db91632d0c9d717
C/C++
2,361
137
#ifndef Model_h #define Model_h 1 #include <stdlib.h> #include <math.h> #include "Sequence.h" #include "BRNN.h" class Model { private: int NU; int NY; int NH; int context; int Moore; int NF; int NB; int NH2; int CoF; int CoB; int Cseg; int Cwin; int shortcut...
70d00381257cd58bb8a522c63a0d604d516b47173623c11bc64a00d96aea2f7d
C/C++
2,362
105
// 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/Debug.h" #include "carla/road/element/RoadInfoVisitor.h" #includ...
8e057b35ed1f4b315d3bda71a8de7ceb5ea718faec713653c78be9fdb69975c2
C/C++
2,362
82
// 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/AsyncDataStream.h" #include <util/disable-ue4-macros.h> #...
22e68092ec5883cb0194dc29132d2099bb6d4aabdf1377729c5eb2f6c28da75b
C/C++
2,374
108
// 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/BoundingBox.h" #include "carla/NonCopyable.h" #include "carl...
ef469089305f815907211256ad2f7a946457300c21061e68cc0b587d7a9965ea
C/C++
2,376
61
/* * 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...
e1680b8177894807194c91aad4fa66a98d7478fac28f082d5c085303cd093419
C/C++
2,383
77
/* 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...
b580f34be58f690025cfef77ab2c2ea8d2c7f2cb388b363553d29da6ee3cd553
C/C++
2,386
56
#ifndef NC_NCGEN_H #define NC_NCGEN_H /********************************************************************* * 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/ncg...
2abb89899526c6085dd800b27f56e9618ad526942ad90afb2e95f0d78fce542b
C/C++
2,390
80
/*************************************************************************************************** * 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...
9081a2d3375176b7dc5927d1d9ef6d71e65e6f06d51977d1875aa9812547c16a
C/C++
2,391
74
// 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/disable-ue4-macros.h> #include <carla/rpc/ActorAttributeType.h> #i...
daba47d35cfaebfe76a34ee056dbc99e0b9f6818c385379db6c696d447c25814
C/C++
2,391
82
// 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/Logging.h" #include "carla/streaming/detail/tcp/Message.h" #in...
7a0f92d55f21acde1700e2acfdd02f1ed97f4abc40d7cee80f718734e00ba729
C/C++
2,397
75
/* * * gengraph - generation of random simple connected graphs with prescribed * degree sequence * * Copyright (C) 2006 Fabien Viger * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fo...
d6e8550ab8b4e565a23ea298da7cad1bbb7dbefba22a0bb6aa84af748032720d
C/C++
2,399
119
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Juan Jose Garcia Cantero <juanjose.garcia@epfl.ch> * Marwan Abdellah <marwan.abdel...
b58a648e7af4a919e8f60f1ed38647d29f99c7faf82871e761993a9a88143aaf
C/C++
2,404
54
// 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 ...
805fd0518b0f299fb28f5465198d6bfdf90071b1f45422d310f2134a75ea9b6f
C/C++
2,405
80
// 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 <boost/algorithm/string.hpp> namespace carla { class StringUtil { ...
8afbde3d0c0089118e76f26d40b3b26a037d4d872e7020cf99feac38d4495fc1
C/C++
2,407
56
// 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 <array> #include <cmath> namespace carla { namespace ros2 { // Returns...
9601cee67b48c4b7cadb75caf3d83c05f5409d367341af70af7e7e4f46f173f8
C/C++
2,407
71
/** * @file * MLD6 protocol definitions */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of ...
218d6f955a4e7d0199bfa86389a1d8928333cb9fe9b79c34556f20e712b3bd64
C/C++
2,410
51
// 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 <boost/iterator/transform_iterator.hpp> namespace carla { namespace ite...
07dc62eb84b10d2bfbb9756342946cf0971b41eabd4ac107b12ab2bf1ea8e431
C/C++
2,412
94
/* $Id: Draw.h,v 1.1.1.1 2005/06/14 04:38:33 svitak Exp $ */ /* * $Log: Draw.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.5 2000/06/12 04:28:16 mhucka * Removed nested comments within header, to make compilers happy. * ...
1232337ea723af04bdafe10453b09636995eaafa3cdf0d1fcad09f03cde1fe5c
C/C++
2,412
76
// 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/ActorAttribute.h" #include <util/ue-header-guard-begin.h> ...
9a6b555b9180f12d12da3fd30ac844fac098a5abf9e0dc6d5923fdd65752473e
C/C++
2,415
89
// 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 "HAL/Runnable...
67e9aa623f8f5c1d3e29c174c24636a3c4c90d1ee8f9833164ecde6eb4ac5bb6
C/C++
2,417
64
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2009-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
8ea48640f37bff6dd9fb74d32d200d0ba290a69b7018bfbf9550da3be7eb1ea7
C/C++
2,417
58
#ifndef SLOW5_INCLUDE_STREAMVBYTE_H_ #define SLOW5_INCLUDE_STREAMVBYTE_H_ #define __STDC_FORMAT_MACROS #include <inttypes.h> #include <stdint.h>// please use a C99-compatible compiler #include <stddef.h> #if defined(__cplusplus) extern "C" { #endif //NOTE: append __slow5_ to streamvbyte_encode, streamvbyte_max_compr...
b354b5e230b6ddaa1cdfbf8c1b4581fca8d9055527b8e0c37496e088b0ce7d8e
C/C++
2,418
79
/* Version EDS22c 97/12/02 Erik De Schutter, BBF-UIA 1/95-12/97 */ /* ** $Id: hines_ext.h,v 1.3 2005/07/20 20:02:00 svitak Exp $ ** $Log: hines_ext.h,v $ ** Revision 1.3 2005/07/20 20:02:00 svitak ** Added standard header files needed by some architectures. ** ** Revision 1.2 2005/06/27 19:00:40 svitak *...
daba55451042e4326ac95025378d5e7f92fde1184198370f56289eb6d525ce5b
C/C++
2,420
61
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2009-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
fc9360e1e96bee5b32b7cc766f26b313dec7abce630b3192d739ddeba1aaf949
C/C++
2,429
75
/*************************************************************************** coul_diel.h ------------------- Class for acceleration of the coul/diel pair style. __________________________________________________________________________ This file is ...
bd81fd7fe03b0cf2d3a4e68028ab5c5cc6962396fd987955e56077018bfd2d76
C/C++
2,431
79
/********************************************************************* * 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/ncdump/ncdump.h,v 1.1.1.1 2005/06/14 04:38:...
7e2d3d7ae517b0b79d7748790cd718f8f3496290812a4939182362226cac0a6f
C/C++
2,432
40
#ifndef INVERSE_H #define INVERSE_H // GLOBAL VARIABLES extern void (*computeS0andJ0_ptr)(const Vector &, int, double, Vector &, double &); extern void (*computeSandJ_ptr)(const Vector &, int, double, double, double, Vector &, double &); extern void (*regularizeS_ptr)(const Vector &, double &, Vector &, Vector &, co...
08cc7865816c6a3116abbc25e014a6a693255e4239007a21e3b76d4e07fe291c
C/C++
2,434
99
// 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 <vector> // get the final path + filename std::strin...
9d1aec88c1c99a303fa11c1799f72be5ca9ef850930bc4746fe01392531ef553
C/C++
2,434
107
#include <vector> #include <iostream> #include <fstream> #include "json/json.h" #ifndef CONTOUR_H #define CONTOUR_H struct line { double x1,y1,x2,y2; }; struct long_line { std::vector<double> x,y; }; class contour_line_unit { private: public: int xbase,ybase; /** * vector of lines, ...
416f961f338a0cba460494ebfe2527b7cc1fc5c18f489711e66af7dd76b7a223
C/C++
2,436
82
/** * @file * Heap API */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must ...
2919d6fe486444e192570c39b6269820f89b3ad7ebed66a391c81b82921a8b70
C/C++
2,439
65
// 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 "CoreMinimal.h" #include "TrafficLights/TLHeadAttachment.h" #include "Tr...
00dccc32d285d44bf7fe0399164b9cb9e377369b78dabcefda0695dbcff41a64
C/C++
2,441
77
/****************************************************************************** * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT *****************************************************************************/ /****************************************************************...
45fbd7b0d2dc58d2588e12aa3337fef416c0dcc7a6757e0d7f5d854713cef5cc
C/C++
2,443
73
// 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/ros2/publishers/BasePublisher.h" #include <array> #include <cstd...
dd75c1926a74a42a9dc5b277f6e5ec0948b5c7d365654d95e5894a5c2a257a6c
C/C++
2,445
70
/* * OnePoolSignals.h - Part of QUantitative Imaging Tools * * Copyright (c) 2021 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/. * */ #pra...
6d83f549e1ce36325382c0a776bddb1b66fc1d3cb1cd573aa92eb2cc719ac313
C/C++
2,446
66
/** * @file * NETBIOS name service responder options */ /* * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of condition...
93e777ebf47ba82e1b90484ef932a8fbf928efeca5d196969a85aad8927f21e8
C/C++
2,448
86
// 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 "carla/NonCopyable.h" #include "carla/TypeTrai...
f8c0f9b38a574c189641815f366dd272c66b9bdd6b6afca84ace8cb7b22544d4
C/C++
2,449
93
/* 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...
5d8a8d44d1f25ed13da093c1fcaeee53802063b74ec994f984f8adb9afd5b1fe
C/C++
2,450
94
// 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/Sensor.h" #include "Carla/Actor/ActorDefinition.h" #inclu...
67b5b9da8bb2a2d37d24c54c73213c4e4517d89029cc006ed39293f95d605fd9
C/C++
2,452
76
/* 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...
a3ac104cad9175b2415df78de00bf7b221accb7474d88ed94a5c9539eff624e9
C/C++
2,453
122
/* Copyright 1990, 1994, 1995, 1996, 2000, 2001 Gerald Z. Hertz * May be copied for noncommercial purposes. * * Author: * Gerald Z. Hertz * hertz@colorado.edu */ #ifdef VMS #include stdio #include math #include ctype #include string #include stdlib #else #include <stdio.h> #include <math.h> #include <ctype....
ba7161d334bea95c70b0fbb5a14694df449286f666eee90b608b86a85ce826bd
C/C++
2,455
66
/* * Copyright (c) 2021. Huawei Technologies Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
fb9fe4417d5b1096d8d15fccaa27177486ca3a59cfd999a47b8286c151a255d8
C/C++
2,455
89
// 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/streaming/EndPoint.h" #include "carla/streaming/Stream.h" #includ...
f0ae99e1fd64661db856015b52b76d5b797fef2e8a93dbf09d877eba471da3d7
C/C++
2,458
80
/*************************************************************************** coul_slater_cut.h ------------------- Class for acceleration of the coul/slater/cut pair style. __________________________________________________________________________ T...
d04ec22ed93acfd8b04bdf2caded4d85ff2e09489f7fc56467ee3c55ee82b5dc
C/C++
2,459
145
#pragma once #include "carla/Memory.h" #include "carla/NonCopyable.h" #include "carla/road/RoadTypes.h" #include "carla/geom/Transform.h" #include <string> #include <vector> namespace carla { namespace road { enum class StencilOrientation { Positive, Negative, Both }; class Stencil : private Mova...
e96e05d123f82c9aaa5be53889dfc40acdbd02a24be700748755ca6752252f55
C/C++
2,460
88
// 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/streaming/detail/Token.h" #include "carla/streaming/detail/tcp/Cl...
f405372339cc9cd32595dd4a7c0aa80796c142f6df324aa748d5fdb480c1d6e6
C/C++
2,461
100
// 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 "carla/sensor/s11n/SensorHeaderSerializer.h" #...
65631beb92a7ac8b76ec5e4ffb2aa3040f453552d3acaee87b005ba4d179b119
C/C++
2,465
79
/* $Id: CoreDrawP.h,v 1.1.1.1 2005/06/14 04:38:33 svitak Exp $ */ /* * $Log: CoreDrawP.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.5 2000/06/12 04:28:16 mhucka * Removed nested comments within header, to make compilers ha...
ce286c1bc917e2ec184d7d9bbe423a98d16377994fa01a585979a7f92f8de861
C/C++
2,467
68
/** * @file * Interface Identification APIs from: * RFC 3493: Basic Socket Interface Extensions for IPv6 * Section 4: Interface Identification */ /* * Copyright (c) 2017 Joel Cunningham, Garmin International, Inc. <joel.cunningham@garmin.com> * All rights reserved. * * Redistribu...
11be1d25ddafce967c76db443ee43e8c8bb673ecf3549d22c7b68c4215d7a1ed
C/C++
2,475
80
/* * * FILE: fac_ext.h * * Externally-required definitions for the fac library. * * * AUTHOR: Mike Vanier * */ /* * * Copyright (c) 1999 Michael Christopher Vanier * All rights reserved. * * Permission is hereby granted, without written agreement and without license * or royalty fe...
cf540fe3f19c38eab7658f38264ebb9f13091e6c6959241bd7f0e529cbf7ea9c
C/C++
2,477
73
// // logsum -- a port of Sean Eddy's fast table-driven log sum // This code was originally part of HMMER. This version is used with // Sean Eddy's permission as public domain code. // #ifndef LOGSUM_H #define LOGSUM_H /* p7_LOGSUM_SCALE defines the precision of the calculation; the * default of 1000.0 means roundin...
6fc4c644fe55f5dc881b4d58e6625c8e27a22e90e4c0c776ff0159b7ea615c3c
C/C++
2,478
101
/* * * gengraph - generation of random simple connected graphs with prescribed * degree sequence * * Copyright (C) 2006 Fabien Viger * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fo...
9c494dd35df0a0415ec73d42afbbd1de9b454375e0804cfc05c37f17019930b9
C/C++
2,478
84
// 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/ActorDefinition.h" #include "Carla/Actor/ActorDescription.h...
e18c3c78a959e6b41a6b3c2dca0be8b8791026637d767f1e1008e20d6997e0e5
C/C++
2,484
80
/*************************************************************************** coul_cut_soft.h ------------------- Class for acceleration of the coul/cut/soft pair style. __________________________________________________________________________ This ...
42051400598c8463b2b5634f8aee526d918bc713bae376f17d337167ab526cf8
C/C++
2,491
77
/****************************************************************************** * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /***************************************************************...
1af53a4706d0a5988041aba8d795b6b79275ed2cc90acfd4e6c3de43e523be12
C/C++
2,494
65
/*************************************************************************************************** * 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...
0b2b019a55fab8eed89d668f13402778835117fe472464046472cd04b93c2bb2
C/C++
2,495
69
/** * @file * raw API internal implementations (do not use in application code) */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditio...
707c9da35a18bd6a72772fada3c126c9ac7bd7225fd18d724644df56d94be28e
C/C++
2,496
104
/* petpvcGTMImageFilter.h Author: Benjamin A. Thomas Copyright 2013 Institute of Nuclear Medicine, University College London. 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...
769c8404e412a09eab81f0e8de69425fe9f860016b74b04c81c0e26d644867c0
C/C++
2,500
70
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2010-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
d87ed5abb5038c249e08259f087815aeca6173755a9365941c9b1034cdc03783
C/C++
2,500
92
// 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 <string> namespace carla { namespace ros2 { /// Enumeration of available mid...
1d6795f8a58065130ab00bb45672d89c8697ae14de9ffc7047f5caea2e410d73
C/C++
2,501
66
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2009-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
68ba6ba988e4693cb85a5e0d0416d9976a843ec8991300e495b8b13890c09052
C/C++
2,501
92
// 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/MapGen/LargeMapManager.h" #include <util/ue-header-guard-begin.h> #include "...
bb3e78fe7baf124becb68667f08bbbff0d655268b8e5a4ca7a930e6eab7b2dcf
C/C++
2,502
70
// 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 <array> #include <cmath> namespace carla { namespace ros2 { // Output ...
cfbef1d46625cceb8c8713b5c63f87143d16f950b3c015bc6914cf9ab98bc3b1
C/C++
2,503
66
/* * Copyright (c) 2021. Huawei Technologies Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
21fd82f59fa703f6fdd34fdcff858730ca635f1a1d64ae9db2d3f9d6ee751ecf
C/C++
2,515
92
/* $Id: VarP.h,v 1.1.1.1 2005/06/14 04:38:33 svitak Exp $ */ /* * $Log: VarP.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.5 2000/06/12 04:28:18 mhucka * Removed nested comments within header, to make compilers happy. * ...
3350f9c132e2f9cd158d6eb75918947b568cf0e62bbf801a4648d6140b2f2e6b
C/C++
2,518
86
/* error.h * * Copyright (C) 2010-2011 Tamas Nepusz * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This ...
6cd645f532b0204b1efba407a5cace4489da3d5299e7de6ee811b941858c2f6a
C/C++
2,523
86
/* $Id: Shape.h,v 1.1.1.1 2005/06/14 04:38:33 svitak Exp $ */ /* * $Log: Shape.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.4 2000/06/12 04:28:17 mhucka * Removed nested comments within header, to make compilers happy. *...
425d99124ae1a5350ca959da655a0a2e43c90efc191f2906e19a42dfaf9d2018
C/C++
2,524
61
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2006-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
5b0defd0f522ef1dd9916dec9d022ce4c352610236ddce6798a1ce5bdc4eebed
C/C++
2,528
100
// 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" #ifdef LIBCARLA_INCLUDED_FROM_UE4 #include <util/enab...
454f3df3adcff4f2cb657894caa3f12fa1412d11c13a9f3cf6b4410102230a6a
C/C++
2,534
70
/* * Copyright (c) 2021. Huawei Technologies Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
866c3c230ceb59430b75013fa0b01923c28945b7dc5f50a60e88e3261bf57521
C/C++
2,534
61
// 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...
95952ddd00606ca7b4c65114eb520b4d8b3a421b21431363947707bded70edb1
C/C++
2,534
98
/*************************************************************************************************** * 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...
3cb1b314974728a29c7a4cf5c7131614fab55f13485f57d03b440f64d7fde93f
C/C++
2,537
79
/*************************************************************************** coul_long_soft.h ------------------- Class for acceleration of the coul/long/soft pair style. __________________________________________________________________________ Thi...
7324c7ad99a503d841b2a91c301ff4dddfd16a9806aeef7323a5ece25b886f7d
C/C++
2,537
64
// 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/ros2/types/CdrTopicInfo.h" #include <cstdint> #include <cstring> #incl...
e2ae7499564161d8944f96d88d721e71ea080067cb4de05cb042d00b151e8d57
C/C++
2,544
96
/* petpvcFuzzyCorrectionFilter.h Author: Benjamin A. Thomas Copyright 2013-2015 Institute of Nuclear Medicine, University College London. Copyright 2014-2015 Clinical Imaging Research Centre, A*STAR-NUS. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file ...
15927e15bbe886cfed56e2ba7c2c673cfddef8c9290143080450d20e3590894c
C/C++
2,549
71
// 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/ActorDefinition.h" #include "Carla/Sensor/LidarDescription...
8ce107109c7af6f2c9a3a00dc487a65bf429d2829f20f534702a6b5ced1b1b87
C/C++
2,550
78
/* 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...
5748facdf77283fd4a37c7887e5e17c7689e61b2ba78ce5c13da0d30fcd43ff4
C/C++
2,554
72
extern "C" { double voigt(double x, double sigma, double gamma); void re_im_w_of_z( double x, double y ,double *r, double *i); //re_im_w_of_z }; #define SMALL 1e-10 #define PI 3.14159265358979323846 #define M_SQRT_PI 1.772453850905516 #define M_SQRT_2PI 2.506628274631000 #define M_1_SQRT_PI 0.56418958354775...
c9ac41504d0db5b83697792b725eb7280cab11f8e0b36f215b9ae26b1da18951
C/C++
2,555
60
// 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/client/Actor.h" #include "carla/client/ActorList.h" #include "car...
c0afb5ebcd8a99f62dadac2fd9cc1eba782d2e66ed906b8526c5da862a028f89
C/C++
2,558
110
#include <ATen/ATen.h> template<typename DType, int Dim> struct DeviceTensor { public: inline __device__ __host__ DeviceTensor(DType *p, const int *size) : dptr_(p) { for (int i = 0; i < Dim; ++i) { size_[i] = size ? size[i] : 0; } } inline __device__ __host__ unsigned getSize(const int i) co...
5e003ce01863696ef188e7ed248d1802e74a473ae80ba66be09cd3d305346e7b
C/C++
2,561
74
/* * Copyright (C) 2017 - 2020 Xilinx, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of ...
c42766b8014442e742d332fb7814e794e407b7c0bb7f819249e33c473d035917
C/C++
2,571
65
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
4b96bd0eee4e445503182d9b2907c14ecfdb7b87dece14737b54fb6674f06adc
C/C++
2,575
97
/****************************************************************************** * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /***************************************************************...
143d98fba5ffc08d6ae5a13d7009738810d7b37fb050b3d096b9373950b87c85
C/C++
2,577
93
/* $Id: CellP.h,v 1.1.1.1 2005/06/14 04:38:32 svitak Exp $ */ /* * $Log: CellP.h,v $ * Revision 1.1.1.1 2005/06/14 04:38:32 svitak * Import from snapshot of CalTech CVS tree of June 8, 2005 * * Revision 1.7 2000/06/12 04:28:16 mhucka * Removed nested comments within header, to make compilers happy. *...
51d4cd54ccd623ba9f1b03607545d20f956da8785d2a0e31eb8286412d6c5a51
C/C++
2,578
82
/*************************************************************************************************** * 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...
a4d6b8466c71b54d41a6da10d8eede9b350ada9067c9b31a998a6b1531a4099d
C/C++
2,578
91
/* $Id: Label.h,v 1.1.1.1 2005/06/14 04:38:33 svitak Exp $ */ /* * $Log: Label.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.4 2000/07/03 18:15:27 mhucka * Removed extra comma to eliminate compiler warnings. * * Revisio...
7ca643b2b1e44590acbfc1d6754f72f9076b0b6ccd3cccaf054c18c238e8a7f3
C/C++
2,579
67
// 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/ros2/publishers/CarlaPointCloudPublisher.h" #include <cstdint> #...
3f683cd6a83dc2a64faa7c5335362a8541c43a3f0134619de9e4ca77f151e725
C/C++
2,581
88
/* 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...
6319b7dcf789ee6eadb10ecd0bb0e395fdcd6b2dcd002e77e5c107d80b78a031
C/C++
2,583
77
/*************************************************************************** coul_cut_soft_gapsys.h ------------------- Class for acceleration of the coul/cut/soft/gapsys pair style. ______________________________________________________________________...
f4bb8cc957b4f54b7ac2b5dadf73f46a32052ac6ac0ecd7b0df99f22115f19a8
C/C++
2,586
94
// 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/MoveHandler.h" #include "carla/NonCopyable.h" #include "carla/Thr...
57f3e8cbca3d403e47121621d74f6933ad8e9778d9df7d0a9ea1ee95bddf67fb
C/C++
2,589
74
/** * @file * MDNS responder private definitions */ /* * Copyright (c) 2015 Verisure Innovation AB * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code...
ca1754119b9e13f1f2c2df6ad35706ae0d1204ac1b6f35be10014bd5ed6be469
C/C++
2,590
105
/* petpvcLabbeImageFilter.h Author: Benjamin A. Thomas Copyright 2015 Institute of Nuclear Medicine, University College London. Copyright 2015 Clinical Imaging Research Centre, A*STAR-NUS. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compl...
450b1f4489ecdb5114aa6a69adf0ae53387984b8844097885dfefe4936674acf
C/C++
2,594
74
/* * Copyright (c) 2021. Huawei Technologies Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
2120d701861f5753bdf7c53ca41b67d28f013545d2371c7346d11f21bb8947bc
C/C++
2,596
74
#pragma once int diff_main(args::Subparser &parser); int hdr_main(args::Subparser &parser); int newimage_main(args::Subparser &parser); #ifdef BUILD_B1 int afi_main(args::Subparser &parser); int dream_main(args::Subparser &parser); int b1_papp_main(args::Subparser &parser); #endif #ifdef BUILD_MT int lineshape_main(a...
f790cd444ecbe2e605b2f1a1deab3e6e9662ba6e87fd47b401912c5a118ee836
C/C++
2,596
72
/** * @file * * IPv6 version of ICMP, as per RFC 4443. */ /* * Copyright (c) 2010 Inico Technologies Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of sour...
33d878a0cebe9dac3fc3cde1d4875c9d7531219a5b50d886f95eabf3f455e435
C/C++
2,606
64
#pragma once #include "carla/trafficmanager/DataStructures.h" #include "carla/trafficmanager/Parameters.h" #include "carla/trafficmanager/RandomGenerator.h" #include "carla/trafficmanager/SimulationState.h" #include "carla/trafficmanager/Stage.h" namespace carla { namespace traffic_manager { /// This class has func...
a140437b05c3eb91d979a6dff742fca347ff71e8e7e718b53d81e846f45f612c
C/C++
2,606
80
/** * @file * MDNS responder */ /* * Copyright (c) 2015 Verisure Innovation AB * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the abo...
fd2490f515fabe280ac869caca8608faf9aa90597838410cd7ae3df3ffd70daf
C/C++
2,606
100
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2008-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...