sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
8da3d5928db7f159a86f52422dfba85a08b5034632b04e4a8be2275213963442 | C/C++ | 7,460 | 214 | /*
*
* gengraph - generation of random simple connected graphs with prescribed
* degree sequence
*
* Copyright (C) 2006 Fabien Viger
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... |
3fe9f4510bf6ad9ea53dced43f3a12a70708c6c044e9734e2bf7c8b224fe1797 | C/C++ | 7,472 | 531 |
#ifndef Layer_h
#define Layer_h 1
#include <math.h>
#include <iostream>
#include <string.h>
using namespace std;
// Layer ver 3.03
// 12/12/2003
// Copyright (C) Gianluca Pollastri 2003
//
// ANN Layers
// Linear, tanh and softmax outputs
// Categorical (one-hot), real-valued and mixed inputs.
//
//
// In version ... |
31951ec1ca01856dc5e9cadefc60944e2e2013d07543c5b8e649ea9c3d8fe0ba | C/C++ | 7,496 | 165 | #ifndef ACTIONETCORE_H
#define ACTIONETCORE_H
#include <errno.h>
#include <getopt.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <algorithm>
#include <cmath>
#include <ctime>
#include <list>
#in... |
96728b4061430d6a697ce1301c7b04b96f55692390b4ddee7697d97a5e4d88ca | C/C++ | 7,545 | 189 | /*
* 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 applicable ... |
60e816a61572172bd7ceccc258332e617d5f521c09250f65d28ffc5d4123cf0c | C/C++ | 7,550 | 220 | // 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 "RHIDef... |
f3321b8355268e27ef3dc8e888d95c0143b7ad7c06044c394a25e623b67dbac0 | C/C++ | 7,559 | 267 | /*=========================================================================
itkSliceImageConstIterator.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef _itkSliceImageConstIterator_h
#define _itkSliceImageCo... |
1f90da65829c29545e9562ce5355d1799ea36cd901ed8ea9faa8e1ef3d7c2ece | C/C++ | 7,579 | 213 | /**
* @file
* SNMP support API for implementing netifs and statitics for MIB2
*/
/*
* 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... |
8109943823a422e9691b33850ea2a197d9d7de2c404ac537641e9693e37ec760 | C/C++ | 7,630 | 213 | /*=========================================================================
itkIterativeImageRegistrationMethod.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __itkIterativeImageRegistrationMethod_h
#de... |
9956379dca1b9d214877b572f898c0687a13b0c03a3e34ac97619f76dd571650 | C/C++ | 7,647 | 148 | /* Copyright 1999, 2001 Gerald Z. Hertz
* May be copied for noncommercial purposes.
*
* Author:
* Gerald Z. Hertz
* hertz@colorado.edu
*/
#include <stddef.h>
/* Functions for manipulating priority queues with a heap.
* HEAP CONTAINS THE ITEMS WITH THE GREATEST VALUES;
* THEREFORE, THE ELEMENT[1] CONTAINS... |
b3db666c1904b25dbc81d3f041fc08f027af688114733285893197550c98d3a1 | C/C++ | 7,648 | 191 | /*
* ipv6cp.h - PPP IPV6 Control Protocol.
*
* Copyright (c) 1999 Tommi Komulainen. 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 ... |
5addc300deab4229b6fcc4e418f0d58adb40e8324ad43e01d116dc770036187c | C/C++ | 7,703 | 169 | /* -*- mode: C -*- */
/*
IGraph library.
Copyright (C) 2003-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... |
a4f1f2b1d1afa79849d245165d17e5038709f9957c475d71b660f6269adcecf1 | C/C++ | 7,730 | 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 <util/ue-header-guard-begin.h>
#include "ChaosVehicleWheel.h"
#include <... |
1f42ed83b7e7ca6fb736540dca481afd47f16b762c3b55b78e5d339c0058aca2 | C/C++ | 7,774 | 273 | #ifndef TOOLS_H
#define TOOLS_H
#include <string>
#include <cstring>
#include <iostream>
#include <sstream>
#include <math.h>
#include <stdio.h>
// Typedefs
typedef std::vector<unsigned long> Key;
typedef std::vector<std::vector<double> > Vector;
typedef std::vector<std::vector<int> > IntVector;
double computeGam... |
2a1f61baacaecb0e4d6f0ff370562c6a0f925194bf843a5de3405f9ee137ac2a | C/C++ | 7,823 | 202 | // 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... |
470518c4a7c651d1e10f67d9540bb55a377011849e8bf4c34119d3a1332e3f1c | C/C++ | 7,829 | 218 | // 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... |
b9db1d9b272ff79ecb7b5bfb8ed2bcab71ce52a273e780e473759cf69841d54d | C/C++ | 7,835 | 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/client/detail/Simulator.h"
#include "carla/client/World.h"
#inclu... |
577bd3ddffbc172be0aaa8df454d87677fa74e9b898ea32599d86625affa9775 | C/C++ | 7,852 | 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 <util/ue-header-guard-begin.h>
#include "CoreMinimal.h"
#include "Blueprint/UserWidg... |
843a5f8a6c1831396400f71d34089f3a85e8d9791a7fb7b52ac63f070f465c82 | C/C++ | 7,859 | 195 | /**
* @file
* UDP API (to be used from TCPIP thread)\n
* See also @ref udp_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... |
d685ab01fc4c2d1f783eaf352a37edf4c32a2c37c81ad8f77de1b7864dddd66f | C/C++ | 7,860 | 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
#if WITH_EDITOR
#include "CoreMinimal.h"
#include "BlueprintLibary/LightDefaults... |
d0a797a39f5bc1c861b5741878bacc6c67ec0818c042c99bad7949e59bf78f65 | C/C++ | 7,877 | 207 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "carla/MsgPack.h"
#include "carla/geom/Location.h"
#include "carla/geom/... |
cda0aa913fdd39a599e9ecf04cf2970ca5e29c456b99938c9318cbaf55b06433 | C/C++ | 7,893 | 457 | /***************************************************************************************************
* 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... |
dc78676140f7671d7e1d23f7d1d2c10547873cf27852f6d25bb9206ce9df8812 | C/C++ | 7,914 | 216 | /*=========================================================================
itkJP2ImageIO.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __itkJP2ImageIO_h
#define __itkJP2ImageIO_h
#ifdef _MSC_VER
#prag... |
13305c12b94e5975f9145c0a1cb3d7dcd3b7f30a108fa77cf4e688e42755a339 | C/C++ | 7,919 | 289 | /***************************************************************************************************
* 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... |
801fcf80c44a2036e9ddd7a439dc4b6efce074ac7f84f29cce9a4184ff58eba5 | C/C++ | 7,936 | 282 | /***************************************************************************************************
* 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... |
ba1f15f515dc6ec726750ab674816e6bd9431e876d568d4ec265c1a905f4010e | C/C++ | 7,948 | 229 | /**
* @file slow5_byte.h
* @brief SLOW5 byte handling functions
* @author Hasindu Gamaarachchi (hasindu@garvan.org.au)
* @date 05/05/2024
*/
/*
MIT License
Copyright (c) 2020 Hasindu Gamaarachchi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documen... |
50cff239fdb433defe12f7e35c4f2964e42ad7bfeab15d3b274a59142c4d558e | C/C++ | 8,034 | 274 | /**
* @file
* ND6 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... |
2c318617bff3f9442421064ad387496a2704331d75c0452b73f68282919a1069 | C/C++ | 8,061 | 207 | /******************************************************************************
* Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/***************************************************************... |
fff0a9532a1197b18dd859bb316398462eeda91757b22971fc0d7a990199ec80 | C/C++ | 8,067 | 398 | /***************************************************************************************************
* 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... |
ec37daf42b9ba64feeae91875ac7db1ef7a5b7a5b6a187a0c9c0867ea196ade1 | C/C++ | 8,082 | 345 | // 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/Location.h"
#include "carla/geom/Math.h"
#include "carla/geo... |
f22fc3987317807e19c5351eb372c8a3931be94645669fcfc1eb7a06adb655c6 | C/C++ | 8,088 | 254 | #ifdef LMMIN
#include "lmminimizer.h"
#else
#include "ceres/ceres.h"
#include "glog/logging.h"
#endif
// fucntions from libcerf
extern "C"
{
double voigt(double x, double sigma, double gamma);
void re_im_w_of_z(double x, double y, double *r, double *i); // re_im_w_of_z
};
#ifndef LDW_PARAS
#define LDW... |
c923bce684987e99775d122b513f0f7755f034ace14c66240d7afc599fcd2e07 | C/C++ | 8,103 | 209 | /**
* @file
* SNTP client options list
*/
/*
* Copyright (c) 2007-2009 Frédéric Bernon, 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 sourc... |
f056eea967d64e7567a5fff82b46b536e787334ed91ba0b0f609448d8ca420b2 | C/C++ | 8,110 | 219 | /*
*
* gengraph - generation of random simple connected graphs with prescribed
* degree sequence
*
* Copyright (C) 2006 Fabien Viger
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... |
329554748c70817cc3c570f105b4c6ab5b911605710342fa1920fb944b7a5bcc | C/C++ | 8,122 | 209 | // 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 "TrafficLightComponent.h"
#include "TrafficLightGroup.h"
#include "Traff... |
113ff854811e7524daad424481f6f72bb3507f984837bae096e425d7563b833a | C/C++ | 8,258 | 215 | /* -*- mode: C -*- */
/*
IGraph library.
Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softw... |
ae995ecbd669e521f11c27c92be3c4d12e90bda4d4810904b1373b2ee91928f7 | C/C++ | 8,273 | 212 | /*=========================================================================
idpMutualInfoVersorRigidVolumeRegistration.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __idpMutualInfoVersorRigidVolumeRegist... |
0a9a631d2e655aec8dc7728ba0a560fb0a11c084d218ead408a001ee62dac5da | C/C++ | 8,290 | 198 | #ifndef MISC_H
#define MISC_H
#include "model.h"
#include "parameters.h"
#include "data.h"
//' Compute linear predictor
//'
//' Templated function evaluating the linear predictor, including random
//' effects. Template \code{T} is typically one of \code{double},
//' \code{autodiff:dual1st}, or \code{autodiff::dual2nd... |
60e705305f1e569733534d5148d8157dd4bdb552ac7af4144caed8b82bda2ebf | C/C++ | 8,296 | 308 | /*
** $Id: sim_defs.h,v 1.1.1.1 2005/06/14 04:38:28 svitak Exp $
** $Log: sim_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.21 1997/07/22 17:30:08 venkat
** Added #define for the QUIT action
**
* Revision 1.20 1996/1... |
c0a0f705837894b248fee029436347b8261f557f788fa47195a04272c48d96f2 | C/C++ | 8,340 | 330 | // 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/SoilTypeManager.h"
#include <util/ue-header-guard-begin.h>
#include "... |
3985415e50aaebce72303cbfb9ebe3fdacf5c5cbae389cbd732b92284a5462df | C/C++ | 8,517 | 255 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include <vector>
#include <carla/geom/Vector3D.h>
#include <carla/geom/Vector2D... |
2d51bf7fb4bd1e486d743e7ef38516d90181de2de4b07c93955032e1d3100aa9 | C/C++ | 8,555 | 248 | /* The MIT License
Copyright (c) 2008, 2009, 2011 Attractive Chaos <attractor@live.co.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 without restriction, including
without lim... |
70b53699b1afa344a5190c1b518b51283dfd4fde938f6e2a11754749346eb16f | C/C++ | 8,616 | 250 | #ifndef FID_1D_H
#define FID_1D_H
#include "fid_base.h"
class fid_1d : public fid_base, public shared_data_1d
{
protected:
bool b_read_from_ft1; // true if the spectrum data is read from ft1 file, false if processed from fid data
/**
* Note: Bruker may save FID as int32 or float32
*/
FID_DATA_T... |
a835022e877a89fe3c63375d0caf2356b96bafd37b6e9ee2eba80bd738a82205 | C/C++ | 8,689 | 216 | // 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/RHIGPUReadbackPool.h"
#include <util/ue-header-guard-begi... |
5c5c773a97ec667770a227e028fdd3ff284268497c75dd5e05ece008d94c3c13 | C/C++ | 8,714 | 315 | // 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/Game/CarlaEpisode.h"
#include "Carla/Sensor/DataStream.h"
#includ... |
3e6b6778e7a29fb18f981275c2d8e3a8cfaea3980c5241f16712fec3e7991d2c | C/C++ | 8,752 | 216 | /*=========================================================================
itkMutualInfoCenteredAffineRegularGradientDescentRegistration.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __idpMutualInfoCen... |
0d73871b0d70b6af133f62c8917882e05681727b7a1343227c0c4c30bb3a003d | C/C++ | 8,798 | 294 | /*
* SSE2 implementation of vector oprations (64bit double).
*
* 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 w... |
14f3ca8f0cfe9fcdc9580adea39503101c43f9102cfc57518fe1da82e98d9e91 | C/C++ | 8,801 | 226 | /************************************************************************
** This file is part of NLM Denoiser, a program for applying NLM filters
** on 2D/3D images.
**
** Copyright (C) 2022 Jesse Smith
**
** NLM Denoiser comes with ABSOLUTELY NO WARRANTY.
** This is free software, and you are welcome to redistribute ... |
313ad7d341915c1234f06810f42c3404434686d37784b4df0b2f68491f5b3d2f | C/C++ | 8,801 | 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/ros2/middleware/IPublisherMiddleware.h"
#include "carla/ros2/middleware... |
a3b3051f59b511f875c0b4d8a3be341224a1ce6ce02b83bc9374263f6d63b5bd | C/C++ | 8,853 | 291 | /*
* SSE/SSE3 implementation of vector oprations (32bit float).
*
* 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 Softwar... |
ae9a819aaf816ae4ff25c35bddaf7c10654a54b95451b247fd5d2824229d3cf7 | C/C++ | 8,864 | 209 | /**
* @file
* Network Point to Point Protocol over Layer 2 Tunneling Protocol header file.
*
*/
/*
* 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... |
f5c65b55064a309337c873d8033ddce7c2aeb8258fe54f7c49b20d5666f83b03 | C/C++ | 8,865 | 383 | /*
* Copyright 1996, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/
/* $Id: nc.h,v 1.1.1.1 2005/06/14 04:38:32 svitak Exp $ */
#ifndef _NC_H_
#define _NC_H_
/*
* netcdf library 'private' data structures, objects and interfaces... |
07d6fd957bf860f20017bbeb3a83a16dfaec4a87063c53e643fc7138a7058d90 | C/C++ | 8,873 | 188 | // 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 <cmath>
#include "carla/trafficmanager/Constants.h... |
187f3217aff986bda233148d2535dc942c5108c93bfe6f133d42a0f3e53b93b6 | C/C++ | 8,880 | 308 | /*
*
* gengraph - generation of random simple connected graphs with prescribed
* degree sequence
*
* Copyright (C) 2006 Fabien Viger
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... |
182642529ceeff5a0448ce73c29465de0a80b32e906909078ad24230e5af5868 | C/C++ | 8,887 | 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
// Pure fragment-gather logic with no CycloneDDS dependency; also compiled
// under CAR... |
55dc2f5e6631f00a1f7572d7a33ad9163968ca9f219704004830ba49bcb3c275 | C/C++ | 8,888 | 269 | /*
** $Id: shell_func_ext.h,v 1.7 2005/07/07 19:03:54 svitak Exp $
** $Log: shell_func_ext.h,v $
** Revision 1.8 2018/08/08 15:40:00 jcrone
** Added explict function declaration for FieldHashFind() and
** FieldHashFindAndCopy(). Rare segmentation fault was encountered
** when an incorrect return type was assumed... |
e2458063868f0813bc26f41709bbf78d994760e72667b646b88f15e16e235f48 | C/C++ | 8,950 | 272 | /**
* @file
* netconn API 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 following... |
a3e65f2960c3fcbc8b2679bb679c8c0699dde700de8a5b05600146a078277983 | C/C++ | 9,028 | 212 | /* -*- 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... |
63cf1c72f740355cfa34d55285a45d6af89240ac21bb1aed588986555e592f9b | C/C++ | 9,066 | 255 | /*
petpvcMullerGartnerImageFilter.h
Author: Benjamin A. Thomas
Copyright 2013 Institute of Nuclear Medicine, University College London.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the ... |
e5ab140c1786d591f34be45af923d3f734c855b4a796cff35ab6cf2ee4f56741 | C/C++ | 9,137 | 266 | /* -----------------------------------------------------------------------
Copyright (2010) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
certain rights in this software. This software is distributed under
the Simplified BSD License.... |
46507f9f9971f8946165cceae57be932c8e3259194a52cc2262ad72cdd64f23f | C/C++ | 9,179 | 232 | /* -*- 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... |
2eddc1b49e3467db3d502dee12705a74f62a1a3065c45364b63561c164da4991 | C/C++ | 9,289 | 254 | #ifndef speedyclust
#define speedyclust
//#define HMA 1
#include <fstream>
#include <vector>
#if HMA
# include <hash_map>
# define MAP hash_map
#else
# include <map>
# define MAP map
#endif
#include <set>
#include <iostream>
using namespace std;
extern string jaspar_motifs[];
extern bool jaspar;
extern bool... |
136d7535eb16ffd507b2b13113d719c2026bca3befbe6d209deb6c3798360c90 | C/C++ | 9,301 | 245 | /*=========================================================================
idpImageSeriesUtilities.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __idpImageSeriesUtilities_h
#define __idpImageSeriesUtili... |
96cdcb1532dcee67f5d0d0324382ae3f192b1529ff3992309d0b58d895720287 | C/C++ | 9,331 | 314 | // 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"
#include "carla/geo... |
535235346f0ebd879aa2f3acd404c1f426cb979f4600d43313aa455208fd4766 | C/C++ | 9,406 | 389 |
/*
* This file contains the set handling routines.
*
* Copyright (C) 2002 Sampo Niskanen, Patric Östergård.
* Licensed under the GNU GPL, read the file LICENSE for details.
*/
#ifndef CLIQUER_SET_H
#define CLIQUER_SET_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include "mis... |
373faa87a644cedd25874acfbaeea0349b34448fc2dafa5d0853d945e46a6fe8 | C/C++ | 9,419 | 216 | /**
* @file
* IPv4 address 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 co... |
6c6bab4ce148199600966ffe487b689b7145a9fcb1109ed4539cbc010a1fec93 | C/C++ | 9,473 | 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/MsgPack.h"
#include "carla/geom/Math.h"
#include "carla/geom/Righ... |
e253d570f06c46b6a996a7d2cc34f377626a42fabb9e6acc389386861a798299 | C/C++ | 9,497 | 336 | // 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 "GraphTypes.h"
#include "Position.h"
#include "Util/ListView.h"
#includ... |
79dc6e03887ccf301e01a5129d1a732e21fb05308a8e38f04ada44e0928c075a | C/C++ | 9,515 | 198 | /**
* @file
* Posix Errno defines
*/
/*
* 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... |
f23b0cf49c1ef9e8eea1e33ae78c334cbd82fdb722bc01d84632057ad9912c38 | C/C++ | 9,573 | 295 | /*
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... |
fcd7d37a9418f6b25fc367ad1252c193a62915099b5bbc9f6693f0526d915bd4 | C/C++ | 9,613 | 297 | /**
* @file
* SNMP server options list
*/
/*
* Copyright (c) 2015 Dirk Ziegelmeier
* 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 ... |
73525b23c55df87327cad3e59c869d1cc8e408099d583644d7e2962f2d6681ec | C/C++ | 9,659 | 211 | extern "C"
{
double voigt(double x, double sigma, double gamma);
void re_im_w_of_z(double x, double y, double *r, double *i); // re_im_w_of_z
};
#include "fid_1d.h"
#ifndef LDW_PARA
#define LDW_PARA
#define SMALL 1e-10
#define PI 3.14159265358979323846
#define M_SQRT_PI 1.772453850905516
#define M_SQRT_2PI 2.5066... |
579d3e71c8268a5fa3cbbbbbc31ee46b8652ae83f85a03bdd9b85c7130254dae | C/C++ | 9,736 | 311 | /*
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... |
ac875e87e1b35d58238eb13624854d9982b5d8086f63ef3ff1174de04f5fa379 | C/C++ | 9,814 | 250 | // 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 "carla/MsgPack.h"
#include "carl... |
154e44b53b0b0d85cd7e22909ed74727f956066835e95c9320797fe6cb435480 | C/C++ | 9,897 | 331 | // 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/FileSystem.h"
#include "carla/Logging.h"
#include "carla/StringUt... |
1a5ef0af13e607b46096b9c44c3a8583386d98cda64284467b3e83a5cb2a224c | C/C++ | 9,932 | 220 | /*
* FILE: xplot_ext.h
*
*/
#ifndef XPLOT_EXT_H
#define XPLOT_EXT_H
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/*
* This is a totally bogus hack; there are incompatibilities between
* glibc and Xlib wrt wide char types tha... |
5daef382e0c1380e0f050c9c7f6326eb49da2308135583d639a409ae0e1f44a5 | C/C++ | 9,950 | 355 | /*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 or agreed to in writing, ... |
edf768b85f779b58cf49be2830f8d5c840ea336c5e26e643d1edbb7716f52804 | C/C++ | 9,955 | 365 | /*
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... |
a44fb552131f8393df67870ee900c44f4e97e5cdf95aab45f10491340ef7e5f3 | C/C++ | 10,029 | 282 | // 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 "carla/MsgPack.h"
#include "carla/geom/Math.h"
#includ... |
08ed9603d11ee4e406dffac246bf49f90f3e1be79866df7039af2387a443d5d3 | C/C++ | 10,058 | 263 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include <util/ue-header-guard-begin.h>
#include "Components/ActorComponent.h"
#i... |
4691fc7c19e91208bd7a2f69003c72dd578b0d15e4eeac0fc291e94d963dfd61 | C/C++ | 10,102 | 287 | /* The MIT License
Copyright (c) 2008, 2011 Attractive Chaos <attractor@live.co.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 without restriction, including
without limitatio... |
e67947c247e324f40ec627d6aeec3f366c5b2bf9893047b0b2b55b1516e8356a | C/C++ | 10,106 | 287 | /* The MIT License
Copyright (c) 2008, 2011 Attractive Chaos <attractor@live.co.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 without restriction, including
without limitatio... |
725a482d2ccbb6fa9d39cdbc53c76bab95038e305a44ce14f6e467882e46ad5d | C/C++ | 10,203 | 283 | // 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/Time.h"
#include "carla/client/DebugHel... |
89223ffa299d206112db34bd162092c154728f52f083f10792bc33cbb291593d | C/C++ | 10,241 | 257 | // 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/Game/CarlaEngine.h"
#include "Carla/Sensor/RHIGPUReadbackPool.h"
... |
958a0033d27110003015b56e10d2063c6f3708369583fb3949d330b06927097b | C/C++ | 10,309 | 424 | /*=========================================================================
idpRegistrationUtilities.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __idpRegistrationUtilities_h
#define __idpRegistrationUt... |
1bf00b88b2c8b2816efa586a84582db321c74092c96d2832700bcd5fc65ecff9 | C/C++ | 10,392 | 411 | /***************************************************************************************************
* 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) / ... |
0fac86c7f0cdc9f12c136b11efcfd59bc8ffd8c869df9cc843021475c5a84a2b | C/C++ | 10,490 | 454 | /***************************************************************************************************
* 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... |
9e6ea3257b8f77690f1fbb3aaba5b39186d218862761c60eb3b1d13d14ea514b | C/C++ | 10,490 | 445 | /***************************************************************************************************
* 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... |
43f6125e1dc8094811b9308b5f34eae500f13f76dccad1348203d2c377812531 | C/C++ | 10,518 | 259 | // 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/Vector2D.h"
#include "carla/geom/Vector3D.h"
#include "carla... |
8fa7055e2f73139e8c5eecd42af2352ebd8171083d5a750b9247319a3d45db7b | C/C++ | 10,522 | 439 | /*
** $Id: sim_struct.h,v 1.1.1.1 2005/06/14 04:38:28 svitak Exp $
** $Log: sim_struct.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.12 2001/04/25 17:17:03 mhucka
** Misc. small changes to improve portability and address comp... |
5666f2fdab10421042ab8e892397cf144ef2bf7906c5fa378d571897cc3d5d4c | C/C++ | 10,544 | 375 | // 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/Logging.h"
... |
4a5c1213fe0fd2082a8aed3084f4d282b8c51c3c464d140306cdce0f21c30b9e | C/C++ | 10,631 | 255 | /**
* @file
* HTTP server
*/
/*
* Copyright (c) 2001-2003 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 mu... |
bbec57e569c3b9635b5011857a368c73fd031451565af7a9bee524f5e56dcbe3 | C/C++ | 10,649 | 243 | /* -*- mode: C -*- */
/*
IGraph library.
Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softw... |
0fc6b9452946408f5cd135a51746f1d253360738bdde7ec68ca25ba06bf594e0 | C/C++ | 10,741 | 305 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "Carla/Actor/ActorDefinition.h"
#include "Carla/Actor/PedestrianParamete... |
c1a7272d4c83aa0343fbe53c79aee17f8cfdc06b54b20ec674730b0e1118853c | C/C++ | 10,771 | 324 | /***************************************************************************************************
* 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.... |
b8d41df95b10d13b6e23a52d63a4aabc5cc296cd3b67fc77c9b865a55a4c9960 | C/C++ | 10,826 | 327 | // **************************************************************************
// pre_cuda_hip.h
// -------------------
// W. Michael Brown (ORNL)
// Nitin Dhamankar (Intel)
//
// Device-side preprocessor defin... |
b83ea30c046bbfc6e5cbf3c37008c3b69350308acbaa0a6058f1f800a50b8c28 | C/C++ | 10,945 | 247 | /* -*- 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... |
b5d0f0fc1c40ea37ce1513812dbfd35a11e030196c7755a7cd2c3a7a408fae81 | C/C++ | 10,964 | 357 | // 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 "Actor/CarlaActor.h"
#include "Math/DVector.h"
#include <util/ue-header-guard... |
131a7d4098952ed86525967ace996e2d2fa7ed9337304e847b8a71176490b947 | C/C++ | 10,966 | 384 | // 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/Game/CarlaEngine.h"
#inc... |
5bc591ff587323bfcda308dff95140a633d23f67e2210c100a3f9ba9c9e581c6 | C/C++ | 11,034 | 308 | /*
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... |
4f7ef444f0f4fc4a13a57e251374465f0509a733082b987b536ee4be6343a70b | C/C++ | 11,145 | 284 | #pragma once
/*
* ModelSimFilter.h
*
* Copyright (c) 2018 Tobias Wood.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*/
#include "itkImageRegionCon... |
a30ccbf568e6286c70636f4ef3822285fac7f6afa1b83e9283c695462d5b5d44 | C/C++ | 11,411 | 227 | /* -*- 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.