sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
debf9c247fd9ad2a780e684b5260219cb2f321925c0a1dc9f386b5a06cb16fe7
C/C++
6,070
240
#pragma once #include "hnswlib.h" namespace hnswlib { static float InnerProduct(const void *pVect1, const void *pVect2, const void *qty_ptr) { size_t qty = *((size_t *)qty_ptr); float res = 0; for (unsigned i = 0; i < qty; i++) { res += ((float *)pVect1)[i] * ((float *)pVect2)[i]; ...
7f98d36b8e5f0575c7868d2247ee55ed6d42eb49d48abc0d424c43c860c6e971
C/C++
6,071
173
#ifndef UPDATE_H #define UPDATE_H #include "model.h" //' Update Cholesky factor //' //' Updates the Cholesky factor of the covariance matrix of the random effects //' based on the current values of \code{theta}. Template is typically one of //' \code{double}, \code{autodiff:dual1st}, or \code{autodiff::dual2nd}. //' ...
67c440378a2e9a1164a3dfaad981fff81fcd1cdd092486cca861e0bbb6a95982
C/C++
6,087
160
/* -*- mode: C++ -*- */ /* IGraph library. Copyright (C) 2011-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 Sof...
d92e36ef8be1dff7fd1b1cb1d25dee505771808642598e17e02e267d64116411
C/C++
6,124
178
// 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...
a1f93f35709cda77fdecee5c3f9b7dc5cd2ea3b133534abe1f4bda7aca8e18f8
C/C++
6,130
167
/* -*- mode: C++ -*- */ /* IGraph library. Copyright (C) 2011-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 Sof...
ea3414b02afeb7e768d7ff215d0bf1672a5e223976755280d6eb8cabe25ce56f
C/C++
6,134
152
#ifndef MUTABLEVERTEXPARTITION_H #define MUTABLEVERTEXPARTITION_H #include <string> #include "GraphHelper.h" #include <map> #include <set> #include <utility> #include <algorithm> using std::string; using std::map; using std::set; using std::make_pair; using std::pair; using std::sort; using std::reverse; /**********...
a75cd478809fa847f47c544247fa5fd451272c8f45a2f407f1c4c57ce4ccdb4f
C/C++
6,145
224
#include <cuda.h> #include <cuda_runtime.h> static const unsigned WARP_SIZE = 32; // The maximum number of threads in a block static const unsigned MAX_BLOCK_SIZE = 512U; template<typename In, typename Out> struct ScalarConvert { static __host__ __device__ __forceinline__ Out to(const In v) { return (Out) v; } }; ...
70a8339f8c954bc2290af0a24ebc11315a79ab92a76eda8b5d9c63251a02ff27
C/C++
6,150
177
// BSD 2-Clause License // // Copyright 2020 James Melville // // 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...
902b37225a9833e4c5131028cfb1df55721b288f473a88086f75faa543c696e7
C/C++
6,152
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>. #pragma once // Pure keyexpr/wire-format helpers with no zenoh-c dependency; also compiled // under ...
2c846234a4d4633b6038203d5776b2f64b14d6079fd23a99ac73db2967cba6e7
C/C++
6,153
186
// 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 "MapGen/CityMapMeshHolder.h" #include "MapGen/DoublyConnectedEdgeList.h"...
b14dafea5aee08cfc4dd613b07da7b5da779316977881be4c451976c14fd8d02
C/C++
6,153
215
/*************************************************************************************************** * 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...
88e97cd942811186131b8ce648d0194d935981a68ec8893ff1a4239cd944757e
C/C++
6,167
218
/*************************************************************************************************** * 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) / ...
d14803f73732544b4af9bd29ed359a291cd3619a5f065b9311422388da3808b1
C/C++
6,169
237
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * Juan Jose Garcia Cantero < juanjose....
69e9d729accb796d4b03a6ad8a30db8b6584e4e9eaea5fbdbbf082dffba045b0
C/C++
6,170
177
// Copyright (c) 2018-2020 CVC. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/Memory.h" #include "carla/agents/navigation/LocalPlanner.h" #include "carla/agents/navigation/Types.h" #include "carla/geom/Location.h"...
9913f8557975da0944be4cacc3a562c943c71adde24b9e87efebad1f626e8ece
C/C++
6,171
246
/****************************************************************************** * Copyright (c) 2017 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /****************************************************************...
f7bfb4e194fedcd1e6d499320826ecca7f14add5170c8fb7d4832b8e831bc2ac
C/C++
6,186
200
/* * chap-new.c - New CHAP implementation. * * Copyright (c) 2003 Paul Mackerras. 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...
1ddd054f74cea2c6c595b22228461578114d381fe82f86c96c9cf85cf5dc8dee
C/C++
6,193
185
/** * @file * SNMP Agent message handling structures (internal API, do not use in client code). */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * Copyright (c) 2016 Elias Oenal. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * ...
c7c09c6aa269caf58c7f6df028fdf2ad0776d0d7e4bc6d255c58682c0203f882
C/C++
6,195
177
/* sampling.h * * Copyright (C) 2012 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 pr...
971311c144186bd99d8a533af9c7ffe861d88cfd625eab97dc70c9719d6e8e75
C/C++
6,205
183
#ifndef GENESIS_UTILS_TEXT_STRING_H_ #define GENESIS_UTILS_TEXT_STRING_H_ /* Genesis - A toolkit for working with phylogenetic data. Copyright (C) 2014-2016 Lucas Czech This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publishe...
2aadc7b70d2998f82e5f94c0ab862f17443d5f31a14fbed54f2f831876ce1ebb
C/C++
6,213
181
// 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/Time.h" #include "carla/rpc/Metada...
398e114931d962f2bf0584747503fdd387896da93858822ea6b082d13204ea6b
C/C++
6,239
101
/*************************************************************************************************** * 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...
313a6e0d6a783ceb427ddcf4ac18b254efef63ece12de166c1f247edb8c39dba
C/C++
6,256
204
// Copyright 2017 Mike Fricker. All Rights Reserved. #pragma once #include "StreetMap.h" #include "Components/MeshComponent.h" #include "Interfaces/Interface_CollisionDataProvider.h" #include "MaterialDomain.h" #include "StreetMapSceneProxy.h" #include "StreetMapComponent.generated.h" DECLARE_LOG_CATEGORY_EXTERN(LogN...
8dd28c994f67ca45b11586ecc195fabedd5d51efa0bd99872336d82886477c9f
C/C++
6,258
181
/* * mppe.h - Definitions for MPPE * * Copyright (c) 2008 Paul Mackerras. 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 copyr...
154762f3b69ba1cd364e95e31e3a6b4c6d679ed02f894f6b538a2dd72f48f519
C/C++
6,268
146
/** * @file * Application layered TCP connection API (to be used from TCPIP thread)\n * This interface mimics the tcp callback API to the application while preventing * direct linking (much like virtual functions). * This way, an application can make use of other application layer protocols * on top of TCP withou...
9dd2e4ed67e791bc871bc0cd68d18513cc7dd9e0f0c337b1f1a4c58b90e1ba45
C/C++
6,279
157
/********************************************************************* ** This library uses the netcdf - version 3.4 which is ** Copyright 1993-1997 University Corporation for Atmospheric Research/Unidata ** The netcdf library is provided as per the terms of the ** UCAR/Unidata license. ** See netcdf-3.4/cop...
68012480a4938aae64460e48c7f116991dab57070642dac59b9fbad5cbbb9641
C/C++
6,296
281
/*************************************************************************************************** * 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) / ...
738f462ec3a9d7305445d45550411ba0c607c0ff2189066adaf6b4f2b47d87c2
C/C++
6,303
245
// 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/Traffic/TrafficLightState.h" #include "Carla/Vehicle/VehicleContr...
47f70553c839adea7c7232d0f9c4438c36baa855ad8fc71c40d6eb18f3ec7b7c
C/C++
6,331
190
/* petpvcSTCPVCImageFilter.h Author: Benjamin A. Thomas Copyright 2017 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...
adeae5ca13e2f0d65f2364f840bde51cdc8a2351f0de13305e13abfd95d47346
C/C++
6,343
233
/*************************************************************************************************** * 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...
ae7f295d1eebb0d19312934de91659b1e852fc8bb433402d4b3146037cb32f0a
C/C++
6,352
203
/*Copyright (c) 2003-2004, Mark Borgerding Lots of modifications by Jean-Marc Valin Copyright (c) 2005-2007, Xiph.Org Foundation Copyright (c) 2008, Xiph.Org Foundation, CSIRO All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided...
b02512c5d3c07dfdbd5aa491c2042af4f7f036eff72ac1b0f00aa57f354fafb0
C/C++
6,355
309
/*************************************************************************************************** * 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...
d6c9da89224974d8486dfa0082ecca0d487715df65a37088db55e7e51c745a14
C/C++
6,358
169
/* * Definitions for tcp compression routines. * * $Id: vj.h,v 1.7 2010/02/22 17:52:09 goldsimon Exp $ * * Copyright (c) 1989 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this p...
bc74edb6abff7b5182e04e2e588292401ecba3875bb6673156b026a5c391dbc4
C/C++
6,383
178
/** * @file * DHCP protocol definitions */ /* * Copyright (c) 2001-2004 Leon Woestenberg <leon.woestenberg@gmx.net> * Copyright (c) 2001-2004 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted p...
8751104f5cdeb3ace720744016431ee2d704983e8a94de7add0830e63dfdef0e
C/C++
6,385
182
/* * fsm.h - {Link, IP} Control Protocol Finite State Machine definitions. * * Copyright (c) 1984-2000 Carnegie Mellon University. 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. R...
0fa6d7f37f0afa1a8f9ec2c2ae8c4347ab77e8f762e2b1b154df0b5ee5fbe428
C/C++
6,414
231
/* $Id: newconn_struct.h,v 1.3 2006/01/09 16:29:34 svitak Exp $ ** $Log: newconn_struct.h,v $ ** Revision 1.3 2006/01/09 16:29:34 svitak ** Added leech channels. ** ** Revision 1.2 2005/06/27 19:00:44 svitak ** Added explicit types to untyped functions and fixed return values as ** appropriate. Initialized v...
f3ec241d815771c389fdd609371b33517a8eeb2017a08b05cdc8b52bd7f6cac5
C/C++
6,420
219
#ifndef GRAPHHELPER_INCLUDED #define GRAPHHELPER_INCLUDED #include <igraph/igraph.h> #include <vector> #include <set> #include <exception> #include <queue> //#ifdef DEBUG #include <iostream> using std::cerr; using std::endl; //#endif class MutableVertexPartition; using std::vector; using std::pair; using std::s...
053e501fe48ed472bb31be00a1c160ab625af691cf88e95dbf34d555fadb07f0
C/C++
6,457
256
// Copyright 2017 Mike Fricker. All Rights Reserved. #pragma once #include "FastXml.h" /** OpenStreetMap file loader */ class FOSMFile : public IFastXmlCallback { public: /** Default constructor for FOSMFile */ FOSMFile(); /** Destructor for FOSMFile */ virtual ~FOSMFile(); /** Loads the map from an OpenS...
d51ad22c84b203a4aeb6020f109b40fd61982d9563b5fc9c3fa4fdd3266448d0
C/C++
6,459
208
// 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/OpenDrive/OpenDriveActor.h" #include <util/ue-header-guard-begin...
9ea630b8ee99e0b9e380ab513892634c3ab6ee26b5fa5a0ccdc4fc5935bb805a
C/C++
6,480
198
// BSD 2-Clause License // // Copyright 2020 James Melville // // 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...
37dc1dd6b0868e8cfac3f8749f4e7d439a8f0000cb01c28c07178d0df401a3ed
C/C++
6,488
199
// 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/Buffer.h> #include <carla/Lo...
0308daee0503b2f6fe6b9ccbc99e4f6a49d28f4a1411ffdc2525801e7ee1e394
C/C++
6,508
146
/* -*- 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...
1a3e06257ee80f4112bb0b5797d5b372da1db14a5c2966b4f4af93b9e1dcc848
C/C++
6,518
214
// 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 <cmath> #include <limits> namespace carla {...
4e728e552fcabc1e0d01db0eb8edd1493c9267205dbe267a4974ded9e8499906
C/C++
6,526
193
/* -*- 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...
5fe53cac801f1353742a7f37945d2ae6dddb9fae70afce4e42dae0d44188b156
C/C++
6,526
180
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/client/Actor.h" #include "carla/rpc/AckermannControllerSettings.h...
837ac25c6727c2b9b193ee9825300a95ecbe5a8fb421fcfc959d34149b1d1c1d
C/C++
6,542
150
#ifndef SLOW5_EXTRA_H #define SLOW5_EXTRA_H #include <dirent.h> #include <slow5/slow5.h> #ifdef __cplusplus extern "C" { #endif /************************************************************************************************** *** Ultra-Low-level API ***************************************************************...
c43123acc4f11b67d43b76d2249d6e1919f7211cc2c2ae0c3abcbba8e29925e4
C/C++
6,554
119
// 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 "CityMapMeshTag.generated.h" /// Tag to ident...
6cd6ed0967259be1dc56925251068c6f54bc1e8f7374f43928068ce0d420618f
C/C++
6,579
176
/* -*- mode: C -*- */ /* vim:set ts=4 sw=4 sts=4 et: */ /* 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...
3e6fad8c8ed17bf11d250d0f3530a5ad6371e13bbe8b60132e213e8e322f5cfd
C/C++
6,580
174
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/ros2/types/CdrSerialization.h" #include "carla/ros2/types/CdrTopicInfo....
e459170256c59dfda61a2a40485c50b7940f74f1adb119e1e8da44f2dc3efc90
C/C++
6,586
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>. #pragma once #include "carla/MsgPack.h" #include "carla/MsgPackAdaptors.h" #ifdef LIBCARLA_IN...
8427713937ab393632dc3734c4ab1cf4c305afd345704adc143e7b7264d3d9ce
C/C++
6,604
152
/** * @file slow5_press.h * @brief SLOW5 compression and decompression functions * @author Sasha Jenner (jenner.sasha@gmail.com) * @date 27/02/2021 */ /************************************************************************************************** *** Low-level API *******************************************...
4ce3c3d7c64d6fe0ec39cdea3c111d588d844b5377183b2ecde5e573d63d059d
C/C++
6,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>. #pragma once #include <memory> #include <vector> #include <carla/geom/Mesh.h> #include <carla...
dd3a8899243883b2c0517a30cf9c3b7f56bc014b5179af2743a65144f195fed4
C/C++
6,638
224
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "Carla/Actor/CarlaActorFactory.h" #include "Carla/Game/CarlaEpisode.h" #...
97ae92c04323718f36bc771add98de6ce8ebfd2d2867e12fa07c98bafa2b9206
C/C++
6,644
222
// 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" #include "carla/Iterator.h" #include "carla/ListView...
74118dcf273324e112b5e761eb467369000bff5ec658ce31ea1d81319fc88c88
C/C++
6,654
169
/** * @file * This file (together with sockets.h) aims to provide structs and functions from * - arpa/inet.h * - netinet/in.h * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, *...
0c33a12f8df5075fc23472539e220e7202c0c131319e556365a7afee1aa2c4a9
C/C++
6,659
149
// 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 "Carla/Weather/WeatherParameters.h" #include "K...
e669aeb40db51a3df13a3b79b60f45bdf1720381b3afab315a9b6d759aa221d5
C/C++
6,660
191
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/ros2/middleware/ISubscriberMiddleware.h" #include "carla/ros2/middlewar...
20ef6371f15579253c7d91ffabc8c47ecf25eaba96a0be2e3dc42a445e9164b5
C/C++
6,708
175
/* @file f5cmisc.h ** ** miscellaneous definitions and function prototypes to f5c framework ** @author: Hasindu Gamaarachchi (hasindu@unsw.edu.au) ** @@ ******************************************************************************/ #ifndef F5CMISC_H #define F5CMISC_H #include "error.h" #include "f5c.h" #include <sys...
15b8d7d425e0db8eff9234006938ca75d5207d266dc4a8d35be184962f2d607c
C/C++
6,713
186
/* 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...
be2728f3482a29ba7489ec37849b54583975c364a7d23c14e99c3b235eef781d
C/C++
6,738
160
/* * FitFunction.h - Part of QUantitative Imaging Tools * * 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/. * */ #pragma...
9c6f578b507ec9778d175a3095502fad24e88d1ef75b8342314846fb2d60a5b0
C/C++
6,769
249
// 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/Actor.h" #include <fstream> #include "Carla/Actor/Act...
86cdf1d80f2716a07011dc763e5fa614cd2b555382cb7d6750176116def67a0f
C/C++
6,772
153
/** * @file * lwIP internal memory pools (do not use in application code) * This file is deliberately included multiple times: once with empty * definition of LWIP_MEMPOOL() to handle all includes and multiple times * to build up various lists of mem pools. */ /* * SETUP: Make sure we define everything we will ...
0b92d789bfaf6d84727237a445c9d26229bbf7f30daa420cc2ac4f58e3e9c575
C/C++
6,796
417
/*************************************************************************************************** * 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...
6e34b6e9787eed624cda045a6e8afd0ff51fa54f4dc56d0ab09bb1a1ccbedd6b
C/C++
6,805
191
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/ros2/middleware/IPublisherMiddleware.h" #include "carla/ros2/middleware...
5aba785f11d7ae224ec9d2e14859efb909bf35c58a604a341ecb6df15478c341
C/C++
6,808
233
/* chem_struct.h */ #include "struct_defs.h" /* ************************************* ** CHEMICAL REACTIONS ** ** Avrama Blackwell, GMU, 1997 ** ** modified December, 1999 ** ************************************* */ struct conserve_type { SEGMENT_TYPE double previous_stat...
0278457347c50aeaa4636124d0265fb8064511f461de2b3ff7fa51e3dacb0345
C/C++
6,810
179
/* * lcp.h - Link Control Protocol definitions. * * Copyright (c) 1984-2000 Carnegie Mellon University. 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 co...
008740f287828d8621962192a7fdcf96dff83861d185c9a6b84afd1a59079b5c
C/C++
6,846
213
/****************************************************************************** * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /***************************************************************...
8651fc19dbde41f1f8a1066455d3659e39c0ef9ef517258beffdaf31bc8f4e2a
C/C++
6,879
281
/*************************************************************************************************** * Copyright (c) 2016 - 2021 * Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL) * * Author(s) * Marwan Abdellah < marwan.abdellah@epfl.ch > * Juan Jose Garcia Cantero < juanjose....
970f9a8c136b12fedd2dbe9ca7b8893d3917c4b17b7dff88c37497bb64e58a8d
C/C++
6,887
188
/* A C-program for MT19937, with initialization improved 2002/1/26. Coded by Takuji Nishimura and Makoto Matsumoto. Before using, initialize the state by using init_genrand(seed) or init_by_array(init_key, key_length). Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights reserved. ...
61b93b2ebc72f8c91395fa4da846a8b8f7aaa9264a157447c8b3e11b777ef3fa
C/C++
6,890
183
/* -*- 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...
4c75ac418c18a423266f52241ffffb9b2ecc8529b4ad5cb7ca3dc871c3cdf507
C/C++
6,901
179
#ifndef MODEL_H #define MODEL_H #include <RcppEigen.h> #include <autodiff/forward/dual.hpp> #include <autodiff/forward/dual/eigen.hpp> #include <unsupported/Eigen/SpecialFunctions> template <typename T> using Vdual = Eigen::Matrix<T, Eigen::Dynamic, 1>; template <typename T> using Ddual = Eigen::DiagonalMatrix<T, Eig...
531c08a534525f26081309deddbed6e1db120f9badfc9c4c3c8cbf09bcc34d98
C/C++
6,953
183
/* -*- mode: C++ -*- */ /* IGraph library. Copyright (C) 2011-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 Sof...
434d33541b8236861ac68d5af111906c5cac45c9edf90f73ec1868b6a271cb79
C/C++
6,954
169
// 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/Actor.h" #include "TrafficSignBase.generated.h" class U...
5ab2f7b7039cc049e10a61cfac87ae733664a20cc6bb9b82a95a14476989f4e9
C/C++
7,000
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>. #ifndef LIBCARLA_SENSOR_REGISTRY_INCLUDE_H #define LIBCARLA_SENSOR_REGISTRY_INCLUDE_H #include...
c452b9e3ed3780e97300b5d9358d86478bdacd77950841e1288da204fb711f88
C/C++
7,029
241
/* #define DBGMSG(arg) Dbgmsg(arg) */ #define DBGMSG(arg) void ELog(char *s); #ifndef LOOKAHEAD_DEBUG #define LOOKAHEAD_DEBUG 0 #endif /* In the following list the BLKS constants determine how many new block pointers we should add at a time; the BLK_SIZ constants determine the size of each block */ #...
5881705ce6f0915a897ff4c4da402ef60478d4473cb2b60cd733737e151de661
C/C++
7,048
175
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard st, Cambridge, MA, 02138 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 Software...
c509775c293b8111387aa238c4e0f256dce435a9359f20a69c2878ca7b8dfa5f
C/C++
7,063
241
// 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/rpc/ActorAttribute.h" #include "carla/sensor/data/Color.h" #incl...
e48e6c7834b7d8fc511bb276a584f98750825f178035122a5eb47bb0b12b8fb1
C/C++
7,108
183
// 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/Recorder/CarlaRecorderTraficLightTime.h" #include "Carla/Recorder...
177e335168c4ffe180c52b33db37dd62e4426cf8e396293ea0a73103a2b044ae
C/C++
7,127
233
/** * @file * IPv6 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 ...
c4f69e485b8be4b869f7335db90bffc20d4388bc4f0996c15cfb999e3269da66
C/C++
7,135
245
/* Copyright (c) 2003-2008 Jean-Marc Valin Copyright (c) 2007-2008 CSIRO Copyright (c) 2007-2009 Xiph.Org Foundation Written by Jean-Marc Valin */ /** @file arch.h @brief Various architecture definitions for CELT */ /* Redistribution and use in source and binary forms, with or without modification,...
926074bb41be831ff35dda9d331860e027957a591ba841fc87ee4b53350d5f85
C/C++
7,137
193
#ifndef SPECTRUM_FIT_3D_COST_H #define SPECTRUM_FIT_3D_COST_H #include <tuple> #include <vector> #include "lmminimizer.h" // ============================================================================ // Helper structures and functions for 3D peak fitting // =========================================================...
4a5acc0ac881e4786d08f6013a72e7c3d12fe726d3fe745a7b1ae2f6fe567a8d
C/C++
7,155
202
/* ========================================================================== */ /* === SuiteSparse_config =================================================== */ /* ========================================================================== */ /* Configuration file for SuiteSparse: a Suite of Sparse matrix packages * ...
caaf01ac7b3b023d9a1f256cd61a5ac848154eb274e23266504964942d921ada
C/C++
7,155
201
/** * @file * Application layered TCP connection API (to be used from TCPIP thread)\n * * This file contains the generic API. * For more details see @ref altcp_api. */ /* * Copyright (c) 2017 Simon Goldschmidt * All rights reserved. * * Redistribution and use in source and binary forms, with or without modif...
3b4331e1f992668b2de96360b50fe2cfd546a99470d88545e8b55875521c3983
C/C++
7,217
177
/* Copyright (c) 2018 Mozilla */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer...
519d14a630c9df6b00b1964a0035e95f3a81473ccb669198061656444668acb4
C/C++
7,263
399
#include "fwrap.h" /************************************************************************/ /************************************************************************/ /* */ /* This package of C wrappers is intended to be called from a */ /* FORTRAN program. The main purpose of the package is to mediate ...
593b5b42dcf1854d148028a0e793d11348b76420a8d0869b7765d443f8159bed
C/C++
7,281
167
/* -*- 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...
88dd4f6f2f4652a32d4e35d1477dbe0fbc876785d2deb39bac296de2394a3d39
C/C++
7,305
206
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/ros2/middleware/ISubscriberMiddleware.h" #include "carla/ros2/middlewar...
2fa1c2440833a82f07a5a362616833372f09a9006c7b099e813a48f12631599c
C/C++
7,315
205
/** * @file * MQTT client */ /* * Copyright (c) 2016 Erik Andersson * 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...
78307c8a15e52d362c7e8048caff243b822708144e71d7657aa7450156738f51
C/C++
7,334
201
// 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 <condition_variable> #include <mutex> #include <vector> #include "carla...
901c452a072a032cc5db46b1a8e83a702a48c2f5ba0bc1743f429a13ed0614df
C/C++
7,346
217
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include <string> #include <limits> #include <unordered_map> #include <boost/optio...
bbd8cbf556b65d3e6151de297868d30a686023612a6c42b444b042c4f4412f30
C/C++
7,346
160
/** * @file slow5_defs.h * @brief SLOW5 macro definitions * @author Sasha Jenner (jenner.sasha@gmail.com) * @date 27/02/2021 */ /* MIT License Copyright (c) 2020 Sasha Jenner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "So...
5ff4e18a9373ec53c68825f8f6c17a3278bd2d6b298cf7879df88a15ae0e9f0f
C/C++
7,359
212
/*========================================================================= itkRigid2DCorrelationGradientDescentRegistration.h Copyright (c) Allen Institute for Brain Science. All rights reserved. =========================================================================*/ #ifndef __itkRigid2DCorrelationGradientD...
20f80079131b5d0bfcd2721796b5275f7bf0bb5fc14f1af4e7d5002c8b5990b4
C/C++
7,364
183
// 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 "carla/client/Actor.h" #include "carla/trafficmanager/...
c5ce0225cd4f876384cb62119cf7457368f9916657b1f1818a82e97ce00e2e36
C/C++
7,366
267
/*************************************************************************************************** * 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...
cc95a24834d7af35f73fbbdba710246a5ffa173268ce4461ba18baf33167cd95
C/C++
7,380
211
/*========================================================================= itkAffineCorrelationGradientDescentRegistration.h Copyright (c) Allen Institute for Brain Science. All rights reserved. =========================================================================*/ #ifndef __itkAffineCorrelationGradientD...
c05ff231f10ac04e960ebd6b54a85c978e99209aa538f3156c7f5388195c62ad
C/C++
7,396
187
/***************************************************************************** * pppoe.h - PPP Over Ethernet implementation for lwIP. * * Copyright (c) 2006 by Marc Boucher, Services Informatiques (MBSI) inc. * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its d...
7e8a71cb9ad8e78e09e6ed0d3ea923703032ba8290a5b626d8459f13b538882f
C/C++
7,415
205
// 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/Memory.h" #include "carla/client/detail/...
c50b04160af87b0253a9f64b51091250f2717f5e0eb86e4eebb8d18c8d14c5f3
C/C++
7,416
199
/* * Copyright (c) 2001, 2002 Swedish Institute of Computer Science. * Copyright (C) 2007 - 2019 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 sour...
020c14555a44adab62fe86b53b3beaf883d257db12cdbb96fc7662851f444634
C/C++
7,417
264
/* * FILE: xplot_struct.h * */ #ifndef XPLOT_STRUCT_H #define XPLOT_STRUCT_H #include "xplot_defs.h" /* * basic window stuctures */ #define WINDOW_STRUCT \ char *windowname; \ char *display_name; \ Display *display; \ GC ...
ea43ed3454ad3ccd1b868083a6e4da936f7b339924b65499dc3e42f4d398c5c9
C/C++
7,419
151
/* -*- 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...
9c967eb5bcc9ec476d916718b31fcee49ed14497597f8301961364785c2e8fe8
C/C++
7,457
178
/*************************************************************************************************** * 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...