sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
2c7f8aba920e0907fc1cda52fa839ce42e4d5c2202e039ba2abd29454d8efe9a | C/C++ | 3,218 | 74 | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
#pragma once
#include <torch/extension.h>
at::Tensor
dcn_v2_cpu_forward(const at::Tensor &input,
const at::Tensor &weight,
const at::Tensor &bias,
const at::Tensor &offset,
... |
92c389477b5d655a13e54871d3d3289ebc6ac19bf4c90758ff74e9bb552abd5b | C/C++ | 3,227 | 88 | /*****************************************************************************
* pppdebug.h - System debugging utilities.
*
* Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
* portions Copyright (c) 1998 Global Election Systems Inc.
* portions Copyright (c) 2001 by Cognizant Pty Ltd.
*
* The auth... |
659d6d49a7eeb574c284edf1ed494d02f0cb0917316560ae0d80320dba457fe6 | C/C++ | 3,233 | 69 | #pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "PCGSettings.h"
#include "ProceduralFurnitureTool.generated.h"
class UBoxComponent;
class UPCGComponent;
class UPCGGraphInterface;
class UInstancedStaticMeshComponent;
USTRUCT(BlueprintType)
struct FCarlaFurniturePoint
{
GENERATED_BODY... |
e4903b34c12c941650045977e2629d41b1ca8407e48dc28d9ba36382825bb2d9 | C/C++ | 3,233 | 104 | /**
* @file
* MQTT client (private interface)
*/
/*
* 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... |
f2dc9ad9fc012387ce137fc83938024c9a75d9d6206f4597d189dd9123ca1177 | C/C++ | 3,236 | 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 "carla/NonCopyable.h"
#include "carla/Time.h"
#include "carla/TypeTraits... |
638c7452bd92b3d8a3d663d82936f8079e76642b8454d9dd625d0a3248d4646c | C/C++ | 3,241 | 163 |
#ifndef BRNNr_h
#define BRNNr_h 1
#include <stdlib.h>
#include <math.h>
#include "NNr.h"
#include "NNt.h"
#define MAX 2500
// BRNNr ver. 3.01 (5/11/2003)
// Copyright (C) Gianluca Pollastri 2003
//
// BRNNr with linear output
// inputs real valued or categorical
//
// Version 3.0:
// -compatible... |
bd65a28ae4b336746e1b550d87f4bf08d295723cfdf25ead2bbf4dda6d96e3c4 | C/C++ | 3,243 | 110 | // 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.h"
#include "CarlaLight.h"
#include <util/disable-ue4-macros.h>
... |
50f4ea5c1b3852d95e1f08cf73e19a7a295e95ffe406aa314b77b787b563f4da | C/C++ | 3,246 | 113 | /*
* Copyright (c) 2001-2003 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 so... |
931d46a3e775efcd6076263e23eb564b612913b7c11f7b5d009e94fefeb20f28 | C/C++ | 3,249 | 91 | /**
* @file
* ICMP 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 ... |
83fcbe64da4935081303adbd7020e2fd2e05dfaae811ea9fe53d248fac5bcb14 | C/C++ | 3,251 | 68 | /* Copyright 1990, 1992, 1997, 1998, 2001 Gerald Z. Hertz
* May be copied for noncommercial purposes.
*
* Author:
* Gerald Z. Hertz
* hertz@colorado.edu
*/
/* Declaration of functions defined in "alpha.c" and
* used to read alphabet information. */
/* Read alphabet from indicated file, if not already read... |
73364d2da459a91bca5f5bec63d7cc11b42ba75b76cedd592b465195164d9153 | C/C++ | 3,257 | 69 | #pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "PCGSettings.h"
#include "ProceduralVegetationTool.generated.h"
class UBoxComponent;
class UPCGComponent;
class UPCGGraphInterface;
class UInstancedStaticMeshComponent;
USTRUCT(BlueprintType)
struct FCarlaVegetationPoint
{
GENERATED_BO... |
91646222668dad2650a477b4fccef56a6c16281ab4e9ae408c3c9635cec4c8f2 | C/C++ | 3,261 | 133 | // 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/CarlaActor.h"
#include <util/ue-header-guard-begin.h>
#inc... |
530212feaf18c49eeefc296d6e732862a961be3e0a1225f43767ccb0a479975d | C/C++ | 3,266 | 117 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "Traffic/RoutePlanner.h"
#include "Vehicle/VehicleSpawnPoint.h"
#includ... |
93ceb1b7b873ece02618750c3ad5f73b8f94b9ea053ff0980af8650a7ea4d5f6 | C/C++ | 3,266 | 110 | /******************************************************************************
* Copyright (c) 2017 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/****************************************************************... |
6817641360c4c7d48c5a4f9b67c02f999d7bc57b581f87548dcde2885adde2bb | C/C++ | 3,270 | 81 | /*
* 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 requi... |
ee38d1dce138834d69081fa853f211413bc7d84bd267ac6645bbcb1a7073ddf5 | C/C++ | 3,275 | 150 | /***************************************************************************************************
* 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... |
c90c9b64c8ea95c05d5b8b10d706acb53b6cc124166e8dd85b397698679f7920 | C/C++ | 3,279 | 84 | /**
* @file
* lwIP internal memory implementations (do not use in application code)
*/
/*
* Copyright (c) 2018 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 condition... |
99dbefeb89dd30cb9c142a778d181f96cc488526d19a3d4a2112967fce7a4382 | C/C++ | 3,280 | 114 | /*
*
* Copyright (c) 1997, 1998, 1999 Michael Christopher Vanier
* All rights reserved.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above... |
e8d9c19aa20577da048a5afeb71da2bb180266ec7e89758ce9b77cf3925521ea | C/C++ | 3,294 | 83 | /* Copyright 1990, 1995, 1996, 2001 Gerald Z. Hertz
* May be copied for noncommercial purposes.
*
* Author:
* Gerald Z. Hertz
* hertz@colorado.edu
*/
/* This file contains the "#define" statements. */
/* #define TEST 1 When defined, the functions for determining
* exact and analytical cu... |
3c44336a2cafb41310106fe91c8436378ad9a815ff4131d313fb3983477a0ad6 | C/C++ | 3,296 | 134 | /***************************************************************************************************
* 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... |
6a6e802cac21a3d6c1516f8f33d0c26b32a7407cce60460b6f0233640dc4189a | C/C++ | 3,300 | 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 "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "Tr... |
b410869afc0c70486f37f2e7f7755ef5dbf7270ed18dfc83fb0cddb39841a292 | C/C++ | 3,300 | 121 | // Copyright (c) 2020 Robotics and Perception Group (GPR)
// University of Zurich and ETH Zurich
//
// 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/sensor/data/Array.h"
#include "carla/sensor/d... |
9cb0822143fb16b421ebcfba6f2e967d2363fc20c4dd1287b81cb8b517eea607 | C/C++ | 3,301 | 124 | #ifndef KISS_FFT_H
#define KISS_FFT_H
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
ATTENTION!
If you would like a :
-- a utility that will handle the caching of fft objects
-- real-only (no imaginary time component ) FFT
-- a multi-dimens... |
da020c1747c4d97d7bb3a42a936cc270630fd85c05d59cb28fb78e62f58a46eb | C/C++ | 3,312 | 67 | #include <array>
#include "spectrum_fwhh_1d.h" //fid_1d is included in spectrum_fwhh_1d.h
#include "phase_dnn.h"
#ifndef SPECTRUM_PHASING_1D_H
#define SPECTRUM_PHASING_1D_H
class spectrum_phasing_1d : public spectrum_fwhh_1d, public phase_dnn // spectrum_fwhh_1d is a derived class of fid_1d
{
private:
std::array... |
5cfce656da4b4afc2adc2778c435be7899fd1eba45645351e1829d2985da5f6a | C/C++ | 3,314 | 103 | // 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 <cmath>
#include <optional>
#include <vector>
#include <boost/geometry.... |
c2f2ec7a68acf03bec463c16ba8db7cf31b78c38c1b0a834ead41d1e31cb6c05 | C/C++ | 3,315 | 117 | /* $Id: ss_func_ext.h,v 1.4 2006/02/15 18:50:12 svitak Exp $
**
** Script language module interface functions
**
** $Log: ss_func_ext.h,v $
** Revision 1.4 2006/02/15 18:50:12 svitak
** Changes to make asc_file objects use float_format.
**
** Revision 1.3 2005/06/24 21:07:32 svitak
** Fixed type of Execute... |
db93cccdae59afc72a1665e5d48d59693ccc927d48e13ad1f326f61d416a4bee | C/C++ | 3,334 | 148 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "carla/geom/Mesh.h"
#include "carla/geom/Transform.h"
#include "carla/ro... |
0b9edc9c623bc83a896c79060ae61c21ca02eb326ec5dafd5c0b23bcdcce3211 | C/C++ | 3,337 | 111 | // 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... |
af26b573fc5c6a31877fdcde35e15382ac0c8b01f35af3f5a4429f9cf5dd323d | C/C++ | 3,337 | 117 | /**
* @file
* lwIP Error codes
*/
/*
* 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 cod... |
9e16ed7f02a5069fd2c72ee91582da478f7c3d226e084bcc6416e8c21d772517 | C/C++ | 3,341 | 106 | /***************************************************************************
neighbor_shared.h
-------------------
W. Michael Brown (ORNL)
Class for management of data shared by all neighbor lists
_______________________________... |
a7bc2c69497c207f866e52139d8184729ee9743e07001c9f3032806c9905dfa6 | C/C++ | 3,341 | 115 | // 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... |
585413daa49a06b09de173a7a85f478f4ad59792c07a17a977a02f158b10f1e0 | C/C++ | 3,345 | 96 | /*
*
* FILE: fac_debug.h
* Various macros to help in debugging genesis libraries.
*
* Author: Mike Vanier
*
* $Log: fac_debug.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.2 1999/12/29 10:27:32 mhucka
* Rem... |
255171db98120473ab7345b39233278b5a525460e03904faa2f14404aafb70ca | C/C++ | 3,360 | 152 | /***************************************************************************************************
* 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... |
8d3cbb9291af5c520d2bda3fc2be3037f63d72afa2ffba6f7c21cffc4e755041 | C/C++ | 3,367 | 75 | #pragma once
#include "FitFunction.h"
namespace QI {
template <typename ModelType_, typename FlagType_ = int> struct ScaledAutoDiffFit {
using ModelType = ModelType_;
using InputType = typename ModelType::DataType;
using OutputType = typename ModelType::ParameterType;
usi... |
628eea0a69b2153e6d166694591d5435b034bcb647c5be3842e936d8b0c60a90 | C/C++ | 3,368 | 132 | // 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/SceneCaptureSensor.h"
#include "ShaderBasedSensor.generat... |
10ca1093622d3d6fc605bd67b4dc1b4e75b403dd773e0f968e5fb92db2611088 | C/C++ | 3,372 | 122 | /* @file error.h
**
** error checking macros/functions and error messages
** @author: Thomas Daniell
** @author: Hasindu Gamaarachchi (hasindu@unsw.edu.au)
** @@
******************************************************************************/
#ifndef ERROR_H
#define ERROR_H
#include <errno.h>
#include <stdio.h>
#inclu... |
25ee12976442109fa61f1d399c0308c4ad05a175a297ed2e98a7dd47ed382579 | C/C++ | 3,375 | 161 | /***************************************************************************************************
* 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... |
f09b9b61562528e1141ecfef29f60978560cdf3d04f2ee0e1e503700f4266973 | C/C++ | 3,385 | 120 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "carla/ListView.h"
#include "carla/NonCopyable.h"
#include <iterator>
#... |
fb11f8f11ed5167e6b327caf2aefa7fc60e65b8e99522d637004f40a2220d938 | C/C++ | 3,385 | 139 | /* $Id: View.h,v 1.1.1.1 2005/06/14 04:38:32 svitak Exp $ */
/*
* $Log: View.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.4 2000/06/12 04:28:18 mhucka
* Removed nested comments within header, to make compilers happy.
*
... |
b5547ce2e1dc6a2adc5c22bd29558070020b89e1e77f7db539629aea9fd8fe7a | C/C++ | 3,391 | 124 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "carla/Debug.h"
#include "carla/Iterator.h"
#include "carla/client/Actor... |
0c27be85de453f8da4737820a35e0ef570931bac577bf9a6e1b01336ca7dede1 | C/C++ | 3,394 | 89 | /***************************************************************************
lj_coul_soft_gapsys.h
-------------------
Class for acceleration of the lj/cut/coul/cut/soft/gapsys pair style.
________________________________________________________________... |
bb79e34bdd66ff004921ef58e608f847cfcdc144851f822023fdda0be52f10f7 | C/C++ | 3,401 | 105 | #pragma once
#include "DataStructs.h"
#include "Cube.h"
#include "Triangulation.h"
namespace MeshReconstruction
{
/// Reconstructs a triangle mesh from a given signed distance function using <a href="https://en.wikipedia.org/wiki/Marching_cubes">Marching Cubes</a>.
/// @param sdf The <a href="http://www.iquilezles... |
1f6f2425d12855f971a42d02351f6f343210af83875ad224daece9b4550c0da9 | C/C++ | 3,407 | 163 | /* Version EDS22d 98/05/05, Erik De Schutter, BBF-UIA 8/94-5/98 */
/*
** $Id: conc_struct.h,v 1.1.1.1 2005/06/14 04:38:29 svitak Exp $
** $Log: conc_struct.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.5 2000/07/09 23:37:33 ... |
680f9905d650f317127d22395bcac6daf045183970f5727f8cf7aae8b4cd1906 | C/C++ | 3,407 | 124 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#ifndef LIBCARLA_ENABLE_PROFILER
# define CARLA_PROFILE_SCOPE(context, profiler_... |
ec2c9878be929b2b1eaf8e258f037999c442ced19cffe7b8eb3580409d0e69d3 | C/C++ | 3,414 | 80 | #pragma once
#include "ImageTypes.h"
#include "itkImageRegionConstIterator.h"
#include "itkImageRegionIterator.h"
#include "itkMultiThreaderBase.h"
namespace QI {
template <typename ModelType>
void ModelFunc(ModelType const & model,
std::array<VolumeF::Pointer, ModelType... |
8ad9b88e407f3dfc46205f2ea898a8fa630a5a7d49c7375dd2f60777b03f17c2 | C/C++ | 3,415 | 119 | /*
* Kernels.h
*
* Copyright (c) 2016 Tobias Wood.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*/
#ifndef QI_KERNELS_H
#define QI_KERNELS_H
#incl... |
3be156e39e6ff1d5a9451b92605135711f94c3e4d65e9bbd95374ba13dfce5ab | C/C++ | 3,418 | 143 | #ifndef STRINGLITE_H
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdarg.h>
#include <assert.h>
#include "error.h"
//adapted from https://github.com/lh3/minimap2/blob/master/kseq.h
#ifndef KSTRING_T
#define KSTRING_T kstring_t
typedef struct __kstring_t {
uint64_t l, m;
char *s;
} kstring_t... |
c9c79f20311ad4b265dbd73b2b082523e0f004d208f655f3db3b4c9e75e8fd89 | C/C++ | 3,419 | 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/ros2/publishers/BasePublisher.h"
#include "carla/ros2/publishers/... |
39a04f02217500fb8d28419244bdf2205fcac4712a34aac57a83f5e952f77dbb | C/C++ | 3,423 | 91 | /*
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 Software Foundation; either ... |
f38464a1dd5a37eafbc143726adc08451e8c4b0f691b3921321afd1bb7042579 | C/C++ | 3,424 | 109 | /*=========================================================================
idpAffineCorrelationVolumeRegistration.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __idpAffineCorrelationVolumeRegistration_h... |
5768e5a9c39d5230f42d77543aa734e22d49758c901b02e4f0d01d6d64ba36f9 | C/C++ | 3,428 | 123 | // 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/AtomicList.h"
#include "carla/nav/Navigation.h"
#include "carla/N... |
b0771af08da906a03afd499ad047db5e7e919995904a9e8d000c8d4524bd653f | C/C++ | 3,429 | 111 | // 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 "Traffic/TrafficSignBase.h"
#include "Traffic/TrafficLightState.h"
#inc... |
e031483ecd6cd7079634afe38d6cd4301799140259aa74800e9a781649daa667 | C/C++ | 3,431 | 133 | /*
* ANSI C implementation of vector operations.
*
* Copyright (c) 2007-2010 Naoaki Okazaki
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restr... |
7681c2948f700aa565c387ca20654f7322991ca15de7fd4e8f342a8ce44abe57 | C/C++ | 3,433 | 93 | /**
* @file
*
* IPv6 layer.
*/
/*
* 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 source code must retain the abo... |
bc6e5f0677c621a5a8adb315e1cdb06210e1391efea6d308684103fd38edfe66 | C/C++ | 3,456 | 90 | /**
* @file
* lwIP netif implementing an IEEE 802.1D MAC Bridge
*/
/*
* Copyright (c) 2017 Simon Goldschmidt.
* 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 s... |
149a00710f88c9216be921d23206ef3eb98434f5131926376401730fdadf5a32 | C/C++ | 3,457 | 141 | /*
* Copyright 1996, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/
/* $Id: ncio.h,v 1.1.1.1 2005/06/14 04:38:32 svitak Exp $ */
#ifndef _NCIO_H_
#define _NCIO_H_
#include <stddef.h> /* size_t */
#include <sys/types.h> /* off_t */... |
e2bc6d8b17929b04bdcb95647ed7e94e8e28ace21fd519f7a9e2dde386ad50cf | C/C++ | 3,457 | 89 | /***************************************************************************
lj_class2_coul_cut_soft_gapsys.h
-------------------
Class for acceleration of the lj/class2/coul/cut/soft/gapsys pair style.
__________________________________________________... |
4717af4def61753b6fe0b18e6c240810ff40fde05c37a2a17998730a59e2404d | C/C++ | 3,458 | 88 | #ifndef QLEARNSPARSE_H
#define QLEARNSPARSE_H
#include <iostream>
#include <string>
#include "tools.h" // Numerical tools
// This class holds the parameters needed for running the ising program
class RunParametersQLS {
public:
std::string directory; // Path to the directory where t... |
8131605905139bde8a5be17263c859041f9588008281898c165c971c3a3beb2c | C/C++ | 3,463 | 128 | // 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/rpc/VehicleControl.h"
#include <deque>
namespace carla {
namespace client {
class Vehicle;
class Waypo... |
9fa7367ca8f37bed72ff097e9b782555d94360e43c5868254c327dc6c9f88f17 | C/C++ | 3,470 | 94 | /* Library libcerf:
* Compute complex error functions, based on a new implementation of
* Faddeeva's w_of_z. Also provide Dawson and Voigt functions.
*
* File cerf.h:
* Declare exported functions.
*
* Copyright:
* (C) 2012 Massachusetts Institute of Technology
* (C) 2013 Forschungszentrum Jülich Gmb... |
02ed9094649b9745327da8a92c373e3007edeed7de2cce98160efe7e384a9e41 | C/C++ | 3,472 | 82 | #ifndef PID_v1_h
#define PID_v1_h
#define LIBRARY_VERSION 1.0.0
class PID
{
public:
//Constants used in some of the functions below
#define AUTOMATIC 1
#define MANUAL 0
#define DIRECT 0
#define REVERSE 1
PID(); // DS
//commonly used functions ***************************************************... |
92960cb246d41791ac2e9fee69055b406b9dae0c011614ab001ddf49466190db | C/C++ | 3,484 | 99 | /**
* @file
*
* AutoIP Automatic LinkLocal IP Configuration
*/
/*
*
* Copyright (c) 2007 Dominik Spies <kontakt@dspies.de>
* 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. Redis... |
c03de6acd006e34b164f7162b0f5e6033ffaa7a24d8608ffe7183ff2f6727e03 | C/C++ | 3,493 | 85 | /*
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
1b6b69a74c92bfb6aa5bec420925c86b6e5cf5c645698ddff0a9b4f3f488ad0c | C/C++ | 3,503 | 91 | /*
* 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... |
030a8ee567467217c1d80847bd8c8867a1136020705808576d51dfd69819a93d | C/C++ | 3,509 | 111 | /* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... |
d4f408a4161cb64ebeb7457e44c275f19b7ee1a281bcd946e80cb4e90fed352d | C/C++ | 3,541 | 97 | // 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/image/BoostGil.h"
#include "carla/image/ColorConverter.h"
#includ... |
75f9bbeed3b6bf6ff6ea5309406c00acd91f80f8e93ac68c5bd8e0f15e1e0403 | C/C++ | 3,542 | 102 | /*
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... |
026348d23012aa1c2210ae53f2a5ddf3a273cf004ef597a1861266a01d4ca86e | C/C++ | 3,546 | 99 | /**
* @file
*
* Multicast listener discovery for IPv6. Aims to be compliant with RFC 2710.
* No support for MLDv2.
*/
/*
* 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 f... |
3512b1725de9fc9682cef1e46688d81f94b804ff846ed9c399c24df55f647b77 | C/C++ | 3,547 | 121 | #ifndef UTIL
#define UTIL
#include <string>
#include <vector>
using namespace std;
class Utils {
public:
template <typename T>
static void printVector(const vector<T>& vec) {
if (vec.size() != 0) {
typename vector<T>::const_iterator it = vec.begin();
cout << *it;
++it;
for (; it != v... |
0bd7a4b2b7858370b5931f5795396279cda29e593906252029029521e9d57de3 | C/C++ | 3,558 | 156 | // 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/Transform.h"
#include "carla/geom/Vector3D.h"
#include "carl... |
acf7758b89bda4a5741a7a71f8042fc31af1f928bd21c32827c1d00ed92226db | C/C++ | 3,561 | 137 | #ifndef KISS_FFT_H
#define KISS_FFT_H
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
ATTENTION!
If you would like a :
-- a utility that will handle the caching of fft objects
-- real-only (no imaginary time component ) FFT
-- a multi-dimens... |
94b2b4f0ff1fd18689cea5d867ec6abc3e776ca19811bd1685204c60abbdd0f0 | C/C++ | 3,563 | 89 | /***************************************************************************
lj_gromacs_coul_gromacs.h
-------------------
Class for acceleration of the lj/gromacs/coul/gromacs pair style.
________________________________________________________________... |
7c9279daab7809adeab0e505edf4a4ae2d91472f422cbb38ba573600c171cc59 | C/C++ | 3,571 | 129 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "carla/rpc/Location.h"
#include "carla/sensor/data/SemanticLidarData.h"
... |
9500f02f043148ef75ed1b6c3eb971a78e938b281648989239375c31aefd4feb | C/C++ | 3,576 | 122 | // 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/Dispatcher.h"
#include "carla/streaming/detail/T... |
dc7ce905ef8213c58105fc9c4c6e7aae66fcbe9224757a7edd5e79bd32b88c75 | C/C++ | 3,581 | 123 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
// Copyright (c) 2019 Intel Corporation
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "BaseCarlaMovementComponent.h"
#... |
47b11f8bc7485e5af4da8bae3a8cc5322ab58fff87c9f5325081aa984a52c764 | C/C++ | 3,585 | 119 | /* $Id: FormP.h,v 1.1.1.1 2005/06/14 04:38:33 svitak Exp $ */
/*
* $Log: FormP.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.3 2000/06/12 04:28:19 mhucka
* Removed nested comments within header, to make compilers happy.
*... |
b35b5f3270001707bea6783b74813983c61b15aad3b520ac08e8f7c5afc2b223 | C/C++ | 3,603 | 95 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "carla/Buffer.h"
#include "carla/Memory.h"
#include "carla/sensor/Compil... |
cf2255457c7207fd29e3fdd3d6c0b627605d8fc9a75465c0a2f32ea2977b69e5 | C/C++ | 3,609 | 105 | /* -*- 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... |
ac226c40464e4ffdbcaec5ff9ceac8ce949d97a58f4659cf86cfb21b44e22b55 | C/C++ | 3,616 | 124 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include <algorithm>
#include <array>
#include <cmath>
#include <cstdint>
#includ... |
c7dcf7b7edc04c5b16d51f8ba7294ff6d7b113c2c0d0212ffeb5a2d84e74d037 | C/C++ | 3,619 | 156 | // 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 "Vehicle/AckermannControllerSettings.h"
#include "Vehicle/VehicleAckerma... |
dcb0581d275be8e84a9d4a0462e88c5de06599974bb0f6d30d63abcc5a8fb663 | C/C++ | 3,630 | 113 | #include <vector>
#include <string>
#include "contour.h"
struct compound
{
/**
* Compound name and database origin.
* origin will be used as a key to find the compound in the database.
*/
std::string namne,origin,origin_1d;
/**
* Peak paramters will be saved in individual vectors.
... |
e486ddc80307a3399c3547855adc05c9ff9040b0b9be237c0af232db6bd00abb | C/C++ | 3,630 | 83 | /*
* 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 retain the above copyright not... |
db67bb5ea0517a8cd9e30ebf655743f69ce05e77ca6e4a113e8c60e69bd7c48a | C/C++ | 3,639 | 100 | /**
* @file
* TCP 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 s... |
0b3efc470952bb37d84442d4f8d2653be349ab8fa19a3bea4a73e0c9bd696a55 | C/C++ | 3,640 | 134 | // 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/Memory.h"
#include "carla/NonCopyable.h"
#include "carla/geom/Tra... |
1f92c9267b68d8c421bd8559777fa9e1649515507c64bbf8e78f3f5e109c11fd | C/C++ | 3,642 | 100 | /**
* @file
* lwIP initialization 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 so... |
9d1d918eac485d84d36b57da0d4ecf434d5da379ba8b5d05d6b166f14336d119 | C/C++ | 3,642 | 141 | /*
Copyright (c) 2012 Jakob Progsch, Václav Zeman
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including c... |
d657e935869983dc3de92e188206292e9ee5d4bad9a77d2cb25b34a13acf0cf3 | C/C++ | 3,650 | 164 | /*
** $Id: out_struct.h,v 1.3 2006/03/08 05:03:39 svitak Exp $
** $Log: out_struct.h,v $
** Revision 1.3 2006/03/08 05:03:39 svitak
** Changed output values to double precision.
**
** Revision 1.2 2006/02/17 07:42:01 svitak
** Added float_format field and CREATE action to initialize it.
**
** Revision 1.1.... |
3599ddcf16de13e724f6c1a645a10c409a992643a431e799e28f7da28c435e2d | C/C++ | 3,653 | 51 | #ifndef MONTECARLO_H
#define MONTECARLO_H
#include <string>
#include "tools.h" // Numerical tools
#include "mtrnd.h" // Random number generator
// GLOBAL VARIABLES
extern double (*epsilonP2_ptr)(const Vector &, const Vector &, int, double, const Vector &, double);
extern double (*epsilonC_ptr)(cons... |
bffa02b992cb0a60cf1e876a81c937c3877b58ad264f60141441e8a4e722744d | C/C++ | 3,653 | 104 | /*
The MIT License (MIT)
Copyright (c) 2011-2016 Broad Institute, Aiden Lab
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to... |
651e86045c8f970ca1ff8c7285f739301097c6c30a2220899989194a4ec7b02f | C/C++ | 3,658 | 107 | /* -*- 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... |
aa2a14691b94fe54fe61856a23728e21693daa46cd10094f5e48af027f3e113f | C/C++ | 3,670 | 122 | /*
* 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 ... |
55685c9264f1ef0235962920c06f651ae4fec8397194fea3bd442c6da4ef1834 | C/C++ | 3,672 | 152 | // 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/Exception.h"
#include "carla/sensor/Sens... |
f5b63056897fb06b8df351707ace758d6fda6fcbab4c3276d8d080726fc487dd | C/C++ | 3,672 | 101 | /*
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... |
90ad296d90f21f748dbdebe5c02974b29d62543ec0dda97c8fc122ebce3c02d8 | C/C++ | 3,673 | 116 | // 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/Memory.h"
#include "carla/MsgPack.h"
#i... |
ac35572131e102c96feffba4bf2788b841f0d162cde1af3d9b7914e11540b9b9 | C/C++ | 3,687 | 100 | /**
* @file
* lwIP iPerf server implementation
*/
/*
* Copyright (c) 2014 Simon Goldschmidt
* 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 re... |
db8104731b0394b4aeac5059552543100c0c8f2eee281de8e480a5b1afa9343b | C/C++ | 3,698 | 109 | /*
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... |
e2724f53514a311f0e7f7039c574b55504231660d60a8b5fb72283fc7264749e | C/C++ | 3,700 | 141 | // 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/AtomicSharedPtr.h"
#include "carla/NonCopyable.h"
#include "carla... |
2fe5221958efae8e93d9f0aa280cbd64d507273c7f7a8ed9268ee094ff84b683 | C/C++ | 3,726 | 152 | #ifndef CMAPPY_H
#define CMAPPY_H
#include <stdlib.h>
#include <string.h>
#include <zlib.h>
#include "minimap.h"
#include "kseq.h"
KSEQ_DECLARE(gzFile)
typedef struct {
const char *ctg;
int32_t ctg_start, ctg_end;
int32_t qry_start, qry_end;
int32_t blen, mlen, NM, ctg_len;
uint8_t mapq, is_primary;
int8_t stra... |
c41702729755e5a605931547e00a146e1242f95e6b29448bb0ab9a07fdf8269b | C/C++ | 3,733 | 101 |
#pragma once
#include <memory>
#include "carla/trafficmanager/DataStructures.h"
#include "carla/trafficmanager/InMemoryMap.h"
#include "carla/trafficmanager/LocalizationUtils.h"
#include "carla/trafficmanager/Parameters.h"
#include "carla/trafficmanager/RandomGenerator.h"
#include "carla/trafficmanager/TrackTraffic.... |
320d4c6aca3703df8daef73a361a0d26a599197f764b2b175829889b3bbcd471 | C/C++ | 3,743 | 163 | /***************************************************************************************************
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.