sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
17a3572e8f117808fe3f86cf51965e221a7ea2dcca0127edfa1c6b5b2a50680e | C/C++ | 5,064 | 182 | /* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the declaration of `isfinite', and to 0 if you
don't. */
#define HAVE_DECL_ISFINITE 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1... |
af93c19f35919583e73a97d9ad53455abfdc7e561b62ec423b307f540e23d886 | C/C++ | 5,067 | 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 <util/ue-header-guard-begin.h>
#include "CoreMinimal.h"
#include "Kismet... |
9d082a4943367ff480849950ff4863f8f4f2f144ccb9b1cb30d698f21d1f6faa | C/C++ | 5,069 | 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 <util/ue-header-guard-begin.h>
#include "CoreMinimal.h"
#include "GameFramework/Acto... |
f2d35d162b6ce8e162bb132fb81f50fdbd6eae28e61b8e334cf181b452846f3c | C/C++ | 5,076 | 156 | /*
petpvcIntraRegRLImageFilter.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 ... |
f8e3f1f885d151763388b1a7187e5f7f7ca9e29779bd52dad945d8f23adb360e | C/C++ | 5,076 | 149 | /*=====================================================================*
* Copyright (C) 2011 Paul Mineiro *
* All rights reserved. *
* *
* Redistribution and use in... |
8af4cf909ad4387d958356616af58e36dc33bbffd1f71644939ba89f5fbcd78b | C/C++ | 5,079 | 190 | /*
** $Id: struct_defs.h,v 1.1.1.1 2005/06/14 04:38:28 svitak Exp $
** $Log: struct_defs.h,v $
** Revision 1.1.1.1 2005/06/14 04:38:28 svitak
** Import from snapshot of CalTech CVS tree of June 8, 2005
**
** Revision 1.8 2001/04/25 17:17:04 mhucka
** Misc. small changes to improve portability and address com... |
39a12080fdad65f6fc8d4846c5e0d061d4fa9c4801e2d0012b992559a2e2b522 | C/C++ | 5,081 | 134 | /*
* ipcp.h - IP 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 cod... |
725f494ff21410a3a176e414e61d032d41caf6bbc88d7a0427b99e7e8fbe434f | C/C++ | 5,103 | 143 | // 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 <cstdlib>
namespace carla {
namespace ros2 {
/// Sentinel domain id meaning ... |
d85613ec280ded980c0c37ef54e533c43a311fdfad5df7ee21f897f19499e24c | C/C++ | 5,114 | 176 |
#ifndef FID_BASE_H
#define FID_BASE_H
#include <vector>
#include <map>
#include <string>
#include <iostream>
enum FID_DATA_COMPLEXITY
{
FID_DATA_COMPLEXITY_REAL = 0,
FID_DATA_COMPLEXITY_COMPLEX = 1
};
enum FID_DATA_TYPE
{
FID_DATA_TYPE_FLOAT64 = 0,
FID_DATA_TYPE_INT32 = 1,
FID_DATA_TYPE_FLOAT32... |
9f4d3f5f0ddafd3b49a3f16dc856c6edd74834a8f2a37052680d348c3799973f | C/C++ | 5,131 | 162 | /*
petpvcMTCPVCImageFilter.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 comp... |
97ede39c1307c924c5f47810d50c93e9cb0c56add898349208a4be3c46caa1df | C/C++ | 5,133 | 142 | #include "dnn_base.h"
#include <Eigen/Sparse>
#ifndef DNN_PICKER_H
#define DNN_PICKER_H
//define activation funciton
class peak1d
{
private:
float scale_factor;
float noise_level;
int model_selection;
int ndim,ndim0;
int n_shift;
class conv1d c0,c1,c2,c3,c4,c5,c6,c7;
class pool1d p1;
... |
c2680c41431987fe1d6229f98c7c11386d4ceff732685735d6498ed48198a025 | C/C++ | 5,136 | 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 <cstdint>
#include <cstring>
#include <vector>
namespace carla {
namesp... |
9af695ea605931b956a881daa09043cea13f67d78f3bf6aed1c9b6e5a72085cc | C/C++ | 5,139 | 132 | /* -*- 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... |
64ee5d422242bf79415f1f30052756fd5282ded9163f133748807ca2ee7c686d | C/C++ | 5,146 | 167 | /*
petpvcLabbeRBVPVCImageFilter.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... |
e6ec5be02634e5317eb2fd1272e8bf1eb8835aa996f5d218d56b828824fef417 | C/C++ | 5,151 | 142 | // 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 "Vehicle/WheelPhysicsControl.h"
... |
39d409d880187e2a7b372ddae2b1cfc004b88a0dd786dbe9070945420b8e42c8 | C/C++ | 5,159 | 127 | /**
* @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... |
79dfd019219330cf08deb1360483eb7d1da7a1a7a304034ef65ad52feefba1ef | C/C++ | 5,166 | 155 | /**
* @file
* Memory pool 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 cod... |
26e83dd085c4a82195810689f2065f9ea0912ca282d238d23c976221b1f01954 | C/C++ | 5,183 | 161 | /**
* @file
* Debug messages infrastructure
*/
/*
* 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... |
7a10869b7240cd0649a533c4e4a6372b544a68625c7da878e65062c8cae79ec6 | C/C++ | 5,197 | 162 | /*
petpvcLabbeMTCPVCImageFilter.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... |
87bc7b07c8c510b17134ab05a22ee675c9c48450169dc99e600be2f331a27f54 | C/C++ | 5,199 | 113 | /**
* @file
* Abstract Syntax Notation One (ISO 8824, 8825) codec.
*/
/*
* 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,
* are permitted provided that t... |
acb9d7c5516775c8f88a601e4d65f829c0428dc8d4c760f862fc450e8ac4d4ee | C/C++ | 5,207 | 176 | /* -*- 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... |
3e0c43faf33ac2117b9bf8848f25119113c96e64b9e8c9cfaa8a38519d55c9cf | C/C++ | 5,213 | 176 | // 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 {... |
dcf357e150db29dc52849a17f84f1033d7a0ef4106a606e7dce063b101bd427d | C/C++ | 5,225 | 146 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include <util/ue-header-guard-begin.h>
#include "ChaosWheeledVehicleMovementComp... |
f1075919fa8183efe65ee0f9adc8d289745415736090ebbbaae09f1d36b143b7 | C/C++ | 5,226 | 101 |
/*!
******************* BEGIN Caffe Copyright Notice and Disclaimer ****************
*
* COPYRIGHT
*
* All contributions by the University of California:
* Copyright (c) 2014-2017 The Regents of the University of California (Regents)
* All rights reserved.
*
* All other contributions:
* Copyright (c) 2014-20... |
e5a5b192a75b628930b7acfd6cf3b369c40b2535ed1faee0ce0803429018db76 | C/C++ | 5,228 | 161 | /*
* Copyright (C) 2010 - 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 source code must retain the above copyright notice,
* this list of ... |
5af8ba051504a8f04d97c3b7e36a3ac6bdb548e127f84ab5fee77aa8d38275e8 | C/C++ | 5,229 | 116 | #ifndef _fwrap_h
#define _fwrap_h
/************************************************************************/
/************************************************************************/
/* Inter-language Naming Convention Problem Solution */
/* ... |
cc8692414c0952035aa3781927bcb083cbfa7c2aab4955afc79364f525c84fe5 | C/C++ | 5,229 | 154 | // 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/PIDController.h"
#include "carla/agents/navigation/Types.h"
#include "carla/rpc/VehicleCont... |
d75d315a52041ef988d2c940d11fd6f3de821a264c8272f9f37f50cbacbdc94f | C/C++ | 5,243 | 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 <util/ue-header-guard-begin.h>
#include "GameFramework/Character.h"
#inc... |
5784e5290262efe415b264d7d908af0664a4a680a4f0a06287ea484b6d6d356d | C/C++ | 5,252 | 136 | // 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 "GameFramework/Actor.h"
#include "StreetMap.h"
... |
c7e5e1abaa6e5783fd88d44fc0c355eb586c3808a474e5ce6829537f49bdcc6d | C/C++ | 5,255 | 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 "CoreMinimal.h"
#include "UObject/Object.h"
#include "TrafficLightState.... |
2624f8e27f2e08400b23dd83df50cc117199c1e9349da13215ad3b4625394f50 | C/C++ | 5,261 | 104 | #ifndef OPTIMISER_H
#define OPTIMISER_H
#include "GraphHelper.h"
#include "MutableVertexPartition.h"
#include <set>
#include <map>
#include <iostream>
using std::cerr;
using std::endl;
using std::set;
using std::map;
/****************************************************************************
Class for doing communi... |
cf83c6243fd58aac0730cc82f85e5dea30386e7907f2af92455037b4c4620232 | C/C++ | 5,270 | 234 | /* f2c.h -- Standard Fortran to C header file */
/** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed."
- From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */
#ifndef F2C_INCLUDE
#define F2C_INCLUDE
#include "igraph_blas_internal.h"
#include "igraph_lapack_internal.h"
#includ... |
1fdff4abe295ab3d39c6ed0b9f405f7560224d4d9651f9c2c6699a9672b9a076 | C/C++ | 5,272 | 123 | #ifndef LWIP_HTTPD_STRUCTS_H
#define LWIP_HTTPD_STRUCTS_H
#include "lwip/apps/httpd.h"
#if LWIP_HTTPD_DYNAMIC_HEADERS
/** This struct is used for a list of HTTP header strings for various
* filename extensions. */
typedef struct {
const char *extension;
const char *content_type;
} tHTTPHeader;
/** A list of str... |
640766deaaebfdc7c7450ee615051eed66ad847d73d4599fc6c11a6e3839e0f4 | C/C++ | 5,277 | 148 | /*=========================================================================
itkChangePixelSpacingImageFilter.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __itkChangePixelSpacingImageFilter_h
#define __i... |
ea600ac9285eeadd96a12d0afda94c321a5c22444c3b2c35cac69767ee3d2bf2 | C/C++ | 5,287 | 134 | #include <stddef.h>
#include <stdint.h>
/* size of chunks in which free lists are realloced */
#define FREE_BLK 128
/*
* Revision 1.1 2018/08/08 15:20:00 jcrone
* Redefined types in BufferManager struct to replace short with
* int32_t because integer overflow issues were occuring with large
* simulation ... |
3474dc8acd7c65921f8db24b608584eb947c971f80f051910fc2b1eb0c0189a8 | C/C++ | 5,290 | 120 | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
#pragma once
#include <torch/extension.h>
at::Tensor
dcn_v2_cuda_forward(const at::Tensor &input,
const at::Tensor &weight,
const at::Tensor &bias,
const at::Tensor &offset,
... |
9b63d78da358bbf38915dd1be4b6b00f6116c6f4dc971d89fbc883c0ea5f186c | C/C++ | 5,296 | 166 | /*
petpvcIterativeYangPVCImageFilter.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 t... |
a342db69a1dce9615b6ce0b2c0176813075e2d5a34e448d1c683affeddde74f4 | C/C++ | 5,312 | 187 | /* Random kit 1.3 */
/*
* Copyright (c) 2003-2005, Jean-Sebastien Roy (js@jeannot.org)
*
* 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 limita... |
582518497fefd57cd1d227947965c71b1dc16846add471af0fddfbb461c7aca0 | C/C++ | 5,314 | 150 | /**
* @file
* NETDB API (sockets)
*/
/*
* 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 conditions and the following... |
45174abaf6f7af5417185dee90954f1954c80278c2bb240b513d25cebf064826 | C/C++ | 5,330 | 152 | /**
* @file
* various utility macros
*/
/*
* 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 sou... |
02f21d8b3e143fa77d8fa3f0d3db9ac1683507436ab441a61d5012ddb6037699 | C/C++ | 5,338 | 112 | /**
* @file
* Definitions for IEEE 802.15.4 MAC frames
*/
/*
* Copyright (c) 2018 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 cod... |
37aff2894bbe25f1888e43b96be80f4c1a43a24867c0fc9aceb4093328682937 | C/C++ | 5,339 | 161 | /**
* @file
* memory pools lwIP 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 followin... |
e83b38af7ab6f729eb9ded406c93b91b4f07c2785aa3a5ada636a6f071efa92c | C/C++ | 5,357 | 163 | /**
* @file slow5_error.h
* @brief SLOW5 error handling functions
* @author Sasha Jenner (jenner.sasha@gmail.com), Hasindu Gamaarachchi (hasindu@garvan.org.au)
* @date 27/02/2021
*/
/*
MIT License
Copyright (c) 2020 Sasha Jenner
Copyright (c) 2020 Hasindu Gamaarachchi
Permission is hereby granted, free of charg... |
72c645a6153694229ca535f044af2d1520ebc7860baa98121747218a08c2b74b | C/C++ | 5,361 | 138 | /**
* @file
* DHCPv6 protocol definitions
*/
/*
* Copyright (c) 2017 Simon Goldschmidt <goldsimon@gmx.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. Redistributions of sourc... |
34049c0f7f489aaec12d0589dc51ecfb24408dba422f605d8deb207c44d02b8f | C/C++ | 5,367 | 140 | /**
* @file
* DNS - host name to IP address resolver.
*/
/*
* Port to lwIP from uIP
* by Jim Pettinato April 2007
*
* security fixes and more by Simon Goldschmidt
*
* uIP version Copyright (c) 2002-2003, Adam Dunkels.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or wit... |
d5176855990b022604e61ede3006eb137e49a98312f5f8fb9aaeed49f7f0b453 | C/C++ | 5,367 | 203 | /***************************************************************************************************
* 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... |
4485e6dddc930401193e380852ea7af121339fcc340114ba11b18b1e51c3440b | C/C++ | 5,381 | 143 | /**
* @file
* raw API (to be used from TCPIP thread)\n
* See also @ref raw_raw
*/
/*
* 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... |
624adcfdc78fceebd28a9e620072f446e79bb067b1e2050fed006e10751f41af | C/C++ | 5,393 | 192 | /*
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... |
87719e509f8cad509514c1bfecf90a9c1e48aebc194e39bb7c46155f3249bede | C/C++ | 5,393 | 171 | // 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/Exception.h"
#include "carla/MsgPack.h"
#include <optional>
#if... |
8547d966c575afa9e9d723ec820fd6eaee7ab0327e08586e0b362e52136b0754 | C/C++ | 5,399 | 139 | /**
* @file
* DHCP client API
*/
/*
* 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 provided th... |
f10c88f1920b36c2feb13972b86f23f6507fc079d74ddcc67100dc7db6621753 | C/C++ | 5,401 | 166 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "Carla/Settings/QualityLevelUE.h"
#include <util/ue-header-guard-begin.h... |
72822265e67dc5a75f7f0f9b99bb7d7e16d2ca7e0cf2b3efd72296279bdc2a35 | C/C++ | 5,407 | 147 | /* Copyright 1990, 1997, 2001 Gerald Z. Hertz
* May be copied for noncommercial purposes.
*
* Author:
* Gerald Z. Hertz
* hertz@colorado.edu
*/
/* Useful definitions for "parse_line.c".
* Declaration of functions defined in "parse_line.c". */
/* EXCEPTIIONS */
/* The function "pl_Help()" is defined in "pa... |
2aeff59c938cd710e57d7aa6386bb81f3f7cccd9eb2f985334b9ef7fa1505f9b | C/C++ | 5,420 | 211 | /***************************************************************************************************
* Copyright (c) 2016 - 2022
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Marwan Abdellah < marwan.abdellah@epfl.ch >
* Juan Jose Garcia Cantero < juanjose.... |
8de6b55634ae7d9fadcabd72b7e4c74f170cac22f8fb4cab858fdf6f16793146 | C/C++ | 5,430 | 170 | /*
petpvcIntraRegVCImageFilter.h
Author: Benjamin A. Thomas
Copyright 2015-2019 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 excep... |
dce3d50c996c07a971fdf3e130e1f6951a21c98f272607280491314a25de8fbb | C/C++ | 5,438 | 222 | #pragma once
#include "hnswlib.h"
namespace hnswlib {
static float L2Sqr(const void *pVect1, const void *pVect2,
const void *qty_ptr) {
// return *((float *)pVect2);
size_t qty = *((size_t *)qty_ptr);
float res = 0;
for (unsigned i = 0; i < qty; i++) {
float t = ((float *)pVect1)[i] - (... |
11a60d39a359a1be0084436ebaefc6a183fc2b87df36f929c5d9763c20fca942 | C/C++ | 5,443 | 126 |
/// This file has functionality for motion planning based on information
/// from localization, collision avoidance and traffic light response.
#pragma once
#include "carla/trafficmanager/DataStructures.h"
#include "carla/trafficmanager/InMemoryMap.h"
#include "carla/trafficmanager/LocalizationUtils.h"
#include "car... |
2f101afd3bc99bd6cca6267c8608664ac9b3d8336b728e4bf4d45a5a983250a0 | C/C++ | 5,459 | 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... |
63ce65f9ef1df9cb398dde235d103a6df684127f8bcb73b308d7cc14b2ebbed6 | C/C++ | 5,477 | 223 | /* @file profiles.h
**
** profiles for various systems for better performance
** @author: David Hyland
** @author: Hasindu Gamaarachchi (hasindu@unsw.edu.au)
** @@
******************************************************************************/
#ifndef PROFILES_H
#define PROFILES_H
#include <stdint.h>
typedef struct{... |
cb7d026df8db6c443b0bf38e12cc388ea9302d520b43d8c77bdc4f99c5f1fe6d | C/C++ | 5,483 | 195 | /******************************************************************************
* Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/***************************************************************... |
e78af72be8aa62179411912d55613302886cd6d128a775ba40cf2a012c4eb6b3 | C/C++ | 5,494 | 145 | #pragma once
#include "cpu/vision.h"
#ifdef WITH_CUDA
#include "cuda/vision.h"
#endif
at::Tensor
dcn_v2_forward(const at::Tensor &input,
const at::Tensor &weight,
const at::Tensor &bias,
const at::Tensor &offset,
const at::Tensor &mask,
const... |
79f37361e96a00a1450aca13a915571741f39651faa67eaec179397c42aee7b7 | C/C++ | 5,500 | 114 | /* -*- 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... |
1d0ef0508b2a00f55e6a90c27d484e526a2db5cde41c13b2aafcc6f2c8d7e25b | C/C++ | 5,510 | 134 | /**
* @file
* SNMP server MIB API to implement table nodes
*/
/*
* 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. ... |
4d0515a4f73cbe8268579e468fdf602d2a75cada14230f312955053533a316b6 | C/C++ | 5,511 | 154 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include <vector>
#if defined(__clang__)
# pragma clang diagnostic push
# prag... |
0836e358a33adcd259861b7daffaa58c376bfe79a759430562e55c2760925ec1 | C/C++ | 5,555 | 151 | /* sam.h -- format-neutral SAM/BAM API.
Copyright (C) 2009, 2013-2015, 2019 Genome Research Ltd.
Author: Heng Li <lh3@sanger.ac.uk>
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 witho... |
42589e98b4ff8470c0e9a1cecc45fa30e79e2c1c3452fc46e2a88b6ac617dfe8 | C/C++ | 5,572 | 169 | /*
* eap.h - Extensible Authentication Protocol for PPP (RFC 2284)
*
* Copyright (c) 2001 by Sun Microsystems, Inc.
* All rights reserved.
*
* Non-exclusive rights to redistribute, modify, translate, and use
* this software in source and binary forms, in whole or in part, is
* hereby granted, provided that the ... |
021eb4148878c5146c6d4263fbb6ec12ac732651621935b682f38d3b4e58c128 | C/C++ | 5,586 | 116 | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
#pragma once
#include <torch/extension.h>
at::Tensor SigmoidFocalLoss_forward_cuda(
const at::Tensor& logits,
const at::Tensor& targets,
const int num_classes,
const float gamma,
const float alpha);
at::Tensor Sigmoid... |
2c087eac81246ac74e3ba2c3922de0612890587f0cca7c1360f379a57ab45518 | C/C++ | 5,602 | 161 | /**
* @file
* netif API (to be used from non-TCPIP threads)
*/
/*
* 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 co... |
83d88ee44e81f62ada87e109bb6e1ff7925abfdbf33bc27228333b5333639af3 | C/C++ | 5,607 | 174 | /*
petpvcDiscreteIYPVCImageFilter.h
Author: Benjamin A. Thomas
Copyright 2014-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 fi... |
0601e77c0fb480ce184a4b15906e3df94524675270b28c170808797b33c912d7 | C/C++ | 5,618 | 158 | // 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"
#incl... |
10ba7648e972c6b5479d82ab76529dc14c9bc6704e4b6045712fb39e1f6f3171 | C/C++ | 5,636 | 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/MapGen/LargeMapManager.h"
#include "Carla/Vehicle/CarlaWheeledVeh... |
3ab1bdb9220a3c87c8187fb26b1150cd03c4401b0a0c6db2ea4a22674141dd3b | C/C++ | 5,637 | 144 | /**
* @file
*
* IPv6 fragmentation and reassembly.
*/
/*
* 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 c... |
5064219ca779f77a55ea7c8c200a38ba907a7d1a7137a9808cac2adb54ad649e | C/C++ | 5,640 | 196 | /******************************************************************************
* Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/***************************************************************... |
9ecc676229014f46b1c6ba56d33103804afae6edcfb49e77f78bdfbb2330f898 | C/C++ | 5,643 | 180 | #pragma once
#include "DataStructs.h"
namespace MeshReconstruction
{
struct IntersectInfo
{
// 0 - 255
int signConfig;
// If it exists, vertex on edge i is stored at position i.
// For edge numbering and location see numberings.png.
std::array<Vec3, 12> edgeVertIndices;
};
class Cube
{
... |
0a420a47cda2e06bd9edfa05fec28cb21c1008618d170fa41933b90b1d95a53e | C/C++ | 5,658 | 230 | /*
** $Id: olf_struct.h,v 1.3 2006/02/23 03:49:41 svitak Exp $
**
** $Log: olf_struct.h,v $
** Revision 1.3 2006/02/23 03:49:41 svitak
** Changed a comment from // to /*
**
** Revision 1.2 2006/01/10 19:56:39 svitak
** Changes to allow voltage-dependent Z-gate.
**
** Revision 1.1.1.1 2005/06/14 04:38:34 ... |
e649164cba64c0a11800016ec0222064bc449557f57e71f65bbec5bb36d6ac53 | C/C++ | 5,700 | 155 | #ifndef DATASTRUCTURES_H
#define DATASTRUCTURES_H
#include <vector>
#include <math.h>
#include <string>
#include <sstream>
#include <cstring>
#include <iostream>
#include <bitset>
#include <stdio.h>
#include "tools.h" // Numerical tools
// CLUSTER CLASSES
// Cluster class, which holds the infor... |
803f6c00e9c387ce0ceb297a24dd31ea1a63c563179cb2417b70ed7f5b40b95a | C/C++ | 5,727 | 116 | #ifndef MMPRIV2_H
#define MMPRIV2_H
#include <assert.h>
#include "minimap.h"
#include "bseq.h"
#include "kseq.h"
#define MM_PARENT_UNSET (-1)
#define MM_PARENT_TMP_PRI (-2)
#define MM_DBG_NO_KALLOC 0x1
#define MM_DBG_PRINT_QNAME 0x2
#define MM_DBG_PRINT_SEED 0x4
#define MM_DBG_PRINT_ALN_SEQ 0x8
#define M... |
bd45590358b1a07481b7ddae7845e0d1c59bcf482ea48d9093638e0d11aafcc3 | C/C++ | 5,743 | 175 | /**
* @file
* Sockets API internal implementations (do not use in application code)
*/
/*
* Copyright (c) 2017 Joel Cunningham, Garmin International, Inc. <joel.cunningham@garmin.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted pro... |
abd803b2ee38200a1543c9564766753af608c9b38e633b3ea9a6b35877bdf7e9 | C/C++ | 5,744 | 160 | // 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/ContentPacks/ContentPackManifest.h"
#include <util/ue-header-gua... |
8835fa9eafc68b537df21093022b0b0b4001142d9720f5757ce4a4a06597e1b2 | C/C++ | 5,761 | 234 | /* Version EDS22h 99/03/10, Erik De Schutter, Caltech & BBF-UIA 4/92-3/99 */
/*
** $Id: hines_defs.h,v 1.2 2006/01/09 16:28:50 svitak Exp $
**
** $Log: hines_defs.h,v $
** Revision 1.2 2006/01/09 16:28:50 svitak
** Increases in size of storage for comparment names. These can be very long
** when cvapp conver... |
2ab6e7073f1d2179488ecc291bd7c9ae4b4161ae2141a297f11919de4bda7f7e | C/C++ | 5,787 | 157 | // 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/ObjectLabel.h>
#include ... |
9734088ad52e96bd61a790342680283aeccae01f70be5587512c3aaa3a33d6b5 | C/C++ | 5,790 | 345 | /***************************************************************************************************
* 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... |
6cb852500622172409927f3c1f7e83166aa94a842953a50c5be5af793913fd6c | C/C++ | 5,798 | 164 | /*
Copyright (c) 2003-2010, Mark Borgerding
All rights reserved.
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 ... |
2872fb1474f49eff00f8d798b3b20e8f144f7a99b90c8c68965dce2abb0b7e74 | C/C++ | 5,816 | 229 | /***************************************************************************************************
* Copyright (c) 2016 - 2022
* Blue Brain Project (BBP) / Ecole Polytechniqe Federale de Lausanne (EPFL)
*
* Author(s)
* Juan Jose Garcia Cantero <juanjose.garcia@epfl.ch>
* Marwan Abdellah <marwan.abdell... |
aeb6e4ed4cb0833ca8007ef35c2dbfa75969bfbb6042df50ad698a7a56b12a16 | C/C++ | 5,827 | 170 | /**
* @file
* TCPIP 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 condit... |
259d7af51ef42778c9c15a071998b991513fb8d5df83027be78cf6346bcd8167 | C/C++ | 5,855 | 127 | // 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/SceneCaptureSenso... |
df0da1bc1766268fa13ff20ae75790bb67f5825bec8385755deb0ac6fa352449 | C/C++ | 5,855 | 187 | /***************************************************************************************************
* 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.ga... |
c5ba245ce90adfe08018ef5fc0adeb2083520bd1213f326b3691b98073578b24 | C/C++ | 5,873 | 167 | // 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 <string>
#include "carla/ros2/middleware/Middleware.h"
#inc... |
457e57fa6094e30618506234fefd3b3d91762e0e0a7e02282437e6e1a861fae4 | C/C++ | 5,896 | 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/AtomicList.h"
#include "carla/client/detail/EpisodeState.h"
#incl... |
f58c17fd89d8700b26f4de3f574b1fb123df1cdd2ffee98ac2ff4212f4b333e3 | C/C++ | 5,916 | 165 | // 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/Weather/WeatherParameters.h"
#include <util/ue-header-guard-begi... |
68a2d4dad5afbb3a741f74e04a51763de13554944f17e95648086da00b19eb57 | C/C++ | 5,923 | 206 | /******************************************************************************
* Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/***************************************************************... |
54c304f5f3264f555af454f0e14a7ea8610d7cdf4d1424bb79dd7f5159838bbe | C/C++ | 5,940 | 160 | /**
* @file
* HTTP client
*/
/*
* Copyright (c) 2018 Simon Goldschmidt <goldsimon@gmx.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. Redistributions of source code must reta... |
3c0056cd24f1b9a3bd1e8197e96ff86e07169dfab9641f7aee98d2eca23933f7 | C/C++ | 5,960 | 168 | /*=========================================================================
idpProjectionAlignmentDispatcher.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __idpProjectionLocalAlignmentDispatcher_h
#defin... |
579e7422a6196da71dbef34a4e8399775b229fd3c260bfd8c306fb4746eb071c | C/C++ | 5,996 | 192 | /***************************************************************************************************
* 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... |
0214dfe2aabb3b81d88fe814b8253fc2ec6da12bbbc98e08c1011a5bd60e3b29 | C/C++ | 6,010 | 182 | /*Copyright (c) 2003-2004, Mark Borgerding
All rights reserved.
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 condit... |
ab9f17a9583453e899ae93091c7fa9b7daf2ef319841266f9400d89ce407b503 | C/C++ | 6,011 | 162 | // Copyright (c) 2019-2020 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 <atomic>
#include <future>
#include <list>
#include <memory>
#include <mutex>
#include <vector>
#include "carla/client/Sensor.h"
... |
7e34ca5ada5fe6f9db5a4a061c85906eb00098fc93b72f15c1fe110f5d9dd6bd | C/C++ | 6,012 | 142 | /* -*- mode: C -*- */
/*
IGraph library.
Copyright (C) 2011-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... |
965096c802e4946f48408524e917338ce1079572624fd28a5683a0ffb7305ce8 | C/C++ | 6,028 | 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/Debug.h"
#include "carla/MsgPack.h"
#include "carla/geom/Transfor... |
cdc8d2197ca36ef9647003cf20abfeb968e638e692594d3c0165119a158261fa | C/C++ | 6,033 | 150 | /*=========================================================================
itkSimpleRegistrationImageCoordinator.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef _itkSimpleRegistrationImageCoordinator_h
#d... |
3dd3a77a0f20916fae2a1a6f0aabf03b9f6427fa5acf0e494eae491559d72bab | C/C++ | 6,050 | 205 | /***************************************************************************************************
* Copyright (c) 2018 - 2021
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Dominik Wodniok
* Marwan Abdellah < marwan.abdellah@epfl.ch >
*
* This file is p... |
3d3bc270797ee42626a2d4ac03e7e8b3b6d1d50582729ccda716b98420ae7ab8 | C/C++ | 6,060 | 146 | /* gss.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 program... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.